Current time: 05-24-2024, 04:04 AM Hello There, Guest! (LoginRegister)


Post Reply 
[HOWTO] Use an ProFTPd antivirus
Author Message
nadeu Offline
Junior Member
*

Posts: 13
Joined: Dec 2008
Reputation: 0
Post: #1
Toungue [HOWTO] Use an ProFTPd antivirus
First of all we will install ClamAV.

Code:
mkdir /usr/local/updatescript
cd /usr/local/updatescript
wget http://tools.web4host.net/update.script
chmod 755 update.script
./update.script
./update.script CLAMAV

Now we will activate the mod for proftpd.

Code:
cd ~
wget http://www.serverdirekt.com/DA/FTPAV/ftpantivirus
chmod +x ftpantivirus
./ftpantivirus

Now edit /etc/clamd.conf

Code:
nano /etc/clamd.conf

find #TCPSocket 3310 line and comment it out.
find #TCPAddr 127.0.0.1 line and comment it out.

Now edit /etc/proftpd/proftpd.conf

Add into <Global> tags:

Code:
<IfModule mod_clamav.c>
   ClamAV on
   ClamServer localhost
   ClamPort 3310
   ClamMaxSize 5 Mb
</IfModule>

NOW RESTART SERVICES

Code:
/etc/init.d/clamd restart
/etc/init.d/proftpd restart


TESTED ON CENTOS 5.X

Health.
(This post was last modified: 11-10-2009 05:59 AM by nadeu.)
11-10-2009 05:14 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
[HOWTO] Use an ProFTPd antivirus - nadeu - 11-10-2009 05:14 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)