File Server Antivirus

Hi @asavinok ,

Lets have a try:

First of all create shared folder than:

  1. download http://91.209.1.54/vscan-clamav.conf and http://91.209.1.54/vscan-clamav.so
cp vscan-clamav.so /usr/lib64/samba/vfs/ 
cp vscan-clamav.conf /etc/samba/
  1. Change dir to /etc/samba

    cd /etc/samba/

Edit smb.conf file to add two lines under global section

vi smb.conf

Now copy below two lines to the file

vfs objects = vscan-clamav
vscan-clamav: config-file = /etc/samba/vscan-clamav.conf
service clamd restart
service smb restart
  1. Try to copy infected file to shared folder