Samba-VirusFilter (the heir to samba-vscan) version 0.1.3 was released a few days ago [download]. Samba-VirusFilter supports ClamAV, F-Secure, and Sophos. A sample ClamAV configuration snippet for your smb.conf looks like:
vfs objects = svf-clamavIf you use a quarantine directory don't forget to make sure the Samba daemon will always have sufficient access to put files in there.
svf-clamav:scan on open = yes | no
svf-clamav:scan on close = yes | no
svf-clamav:max file size = (bytes, default 10^8)
svf-clamav:min file size = (bytes, default 10)
svf-clamav:infected file action = nothing | quarantine | delete
svf-clamav:quarantine directory = directory
svf-clamav:quarantine prefix = string
svf-clamav:infected file command = command
svf-clamav:scan error command = command
0 comments:
Post a Comment