Path

ez projects / antivirus___clamav___integr...


Antivirus ( ClamAV ) integration

UNIX name Owner Status Version Compatible with
antivirus___clamav___integration Björn Dieding@xrow.de stable 1.x > 3.7

Integration of clamd/clamav virus scanner daemon for downloads files


#### Setup ####
- extract and activate extension
- patch kernel from extension/antivirus/patch/[EZVERSION]/
#### Usage ####
Any time a webuser downlods a file over content/download it gets checked
via the clamd deamon for viruses.
#### Troubleshooting ####
a.) Testing avaialablity of the Daemon
b.) Resolving permission problems / No Access
By default the daemon run under the user calmav, vscan or else.
Your permissions might not allow that this user has access to scanned
files.
In this case you need to run clamd under the root user or move the
clamd user
into the group of for example apache.
Try to avoid running this service as root.
c.) Testing with a test virus
create a text file with the following string
Upload it into eZ publish and download it. The download should be not
avialable now.
d.) Doing daily scans over crontab (optional)
# Updateing virus definitions
1 3 * * * /usr/bin/freshclam --daemon-notify
# Running antivirus scan once each day
5 3 * * * cd /path/to/ezroot/ && /usr/bin/clamdscan | mail
-s"[Virus report]"

 

Screenshot

This project has no reviews yet. Be the first one to review it!

No forum messages yet.