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.
- Host: GitHub
- URL: https://github.com/stemount/clamav-drupal-rest
- Owner: stemount
- License: gpl-2.0
- Created: 2017-08-24T13:08:12.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2020-07-22T22:57:59.000Z (almost 6 years ago)
- Last Synced: 2025-06-30T11:03:36.995Z (12 months ago)
- Language: PHP
- Size: 22.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
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.