An open API service indexing awesome lists of open source software.

https://github.com/stemount/clamav-drupal-rest

Drupal ClamAV module with REST client wrapper.
https://github.com/stemount/clamav-drupal-rest

Last synced: 12 months ago
JSON representation

Drupal ClamAV module with REST client wrapper.

Awesome Lists containing this project

README

          

About this module
-----------------

This module integrates with the open-source anti-virus scanner ClamAV.
Upload files are forwarded to the ClamAV service and checked. Infected files
are blocked in the validation routine, so they cannot be saved.

Prerequisites
-------------

This module requires a ClamAV service.

It is beyond the scope of this module to describe how to install ClamAV (as
this will depend on a number of variables, such as the ClamAV version, the
server's operating system, the package management tools available, whether a
custom build from source is required, etc), but the process is well documented
in the ClamAV documentation.

See http://www.clamav.net/documents/installing-clamav for installation and
configuration instructions.

Setup
-----

- Install a ClamAV service.
For example: `sudo apt-get install clamav-daemon`

- Enable this module.

- Configure the module at /admin/config/media/clamav.
The unix-socket daemon mode is quickest, but the ClamAV daemon must run on
the same host as the web server. TCP/IP daemon mode may be best for a
clustered web service. Executable mode is slowest but simplest.