ServerName "FTP" ServerIdent off ServerType standalone DefaultServer on ScoreboardFile /var/run/proftpd.scoreboard SocketBindTight on Port 21 DefaultAddress yy.yy.yy.14 PassivePorts 30000 35000 AccessDenyMsg "Access Denied" AccessGrantMsg "Welcome to FTP server" LoadModule mod_ldap.c LoadModule mod_ban.c LoadModule mod_clamav.c TimeoutIdle 3600 TimeoutSession 3600 MaxClientsPerHost 10 "Sorry, You can't connect more than FIVE connections from ONE host" DebugLevel 10 LogFormat default "%h %l %u %t \"%r\" %s %b" LogFormat auth "%t [%L:%p] %a \"%r\" %s" LogFormat write "%t %a %u \"%f\" [chroot \"%F\"] \"%r\" \"response code %s\" \"Bytes %b\"" SystemLog /var/log/proftpd/proftpd.log TransferLog /var/log/proftpd/xfer.log ExtendedLog /var/log/proftpd/access.log WRITE,READ write ExtendedLog /var/log/proftpd/auth.log AUTH auth RequireValidShell off ClamAV on ClamServer 127.0.0.1 ClamPort 3310 UseEncoding koi8-r cp1251 MaxLoginAttempts 1 BanEngine on BanLog /var/log/proftpd/ban.log BanTable /var/log/proftpd/ban.tab BanMessage "Host %a has been banned" BanOnEvent MaxLoginAttempts 5/00:01:00 00:15:00 BanControlsACLs all allow user root LDAPServer 127.0.0.1:389 LDAPUseTLS off LDAPAuthBinds on LDAPBindDN cn=proftpd,ou=........,ou=........,ou=.......,dc=........,dc=........,dc=....... ...... LDAPUsers ou=ftp,dc=.....,dc=......,dc=....... (&(cn=%v)(objectclass=posixAccount)) LDAPSearchScope subtree LDAPDefaultUID 106 LDAPDefaultGID 65534 Umask 0133 0022 MaxInstances 30 User nobody Group nogroup DefaultRoot ~ AllowOverwrite on DenyAll