We provide ftp access to student for storing their work, song, etc in limited space. Around 100 – 150 MB for each student.
Due to report for virus that might appear in their PC in the class I have to scan and remove it in their ftp account before take action to PC level.
I use clamav from FreeBSD ports to scan virus in FTP server, here’s the steps:
*make sure to update ports to latest version*
1. Install Clamav
ftp# cd /usr/ports/security/clamav && make install
2. Edit rc.conf file and insert these lines :
3. Starting Clamav Daemon
ftp# /usr/local/etc/rc.d/clamav-clamd start
4. Update virus database