0byt3m1n1
Path:
/
data
/
[
Home
]
File: proftpd.conf
ServerName "ProFTPD server" ServerIdent on "FTP Server ready." ServerAdmin root@localhost DefaultServer on DefaultRoot ~ !adm AuthPAMConfig proftpd PersistentPasswd off UseReverseDNS off IdentLookups off User nobody Group nobody TCPBacklog 128 MaxInstances none MaxClients 5000 MaxClientsPerHost 100 MaxClientsPerUser 50 MaxHostsPerUser 50 MaxCommandRate 0 MaxConnectionRate 0 UseSendfile off LogFormat default "%h %l %u %t \"%r\" %s %b" LogFormat auth "%v [%P] %h %t \"%r\" %s" LoadModule mod_ctrls_admin.c LoadModule mod_vroot.c ModuleControlsACLs insmod,rmmod allow user root ModuleControlsACLs lsmod allow user * ControlsEngine on ControlsACLs all allow user root ControlsSocketACL allow user * ControlsLog /var/log/proftpd/controls.log TransferLog /data/logs/atl4vuxftp04/xferlog ServerLog /data/logs/atl4vuxftp04/proftpd.log PassivePorts 49152 65535 AllowStoreRestart On TimeoutNoTransfer 600 TimeoutStalled 600 TimeoutIdle 1200 AllowOverride off <IfModule mod_auth_pam.c> AuthPAM off </IfModule> WtmpLog off <IfModule mod_ctrls_admin.c> AdminControlsEngine on AdminControlsACLs all allow user root </IfModule> <IfModule mod_vroot.c> VRootEngine on </IfModule> <IfDefine DYNAMIC_BAN_LISTS> LoadModule mod_ban.c BanEngine on BanLog /var/log/proftpd/ban.log BanTable /var/run/proftpd/ban.tab # If the same client reaches the MaxLoginAttempts limit 2 times # within 10 minutes, automatically add a ban for that client that # will expire after one hour. BanOnEvent MaxLoginAttempts 2/00:10:00 01:00:00 # Inform the user that it's not worth persisting BanMessage "Host %a has been banned" # Allow the FTP admin to manually add/remove bans BanControlsACLs all allow user ftpadm </IfDefine> <Global> # Umask 022 is a good standard umask to prevent new dirs and files # from being group and world writable Umask 022 # Allow users to overwrite files and change permissions AllowOverwrite on <Limit ALL SITE_CHMOD> AllowAll </Limit> </Global> LoadModule mod_ldap.c AuthOrder mod_ldap.c <Global> <IfModule mod_ldap.c> LDAPServer atl4vuxftpldap.registeredsite.com LDAPUseTLS on TLSCACertificatePath /etc/pki/tls/certs/ LDAPLog /datalogs/atl4vuxftp04/ldap.log LDAPUsers svc=ftp,ou=User,dc=inquent LDAPGroups ou=Group,dc=inquent </IfModule> </Global> LoadModule mod_sftp.c <IfModule mod_sftp.c> <VirtualHost 0.0.0.0> SFTPEngine On DefaultRoot ~ Port 2222 SFTPLog /var/log/proftpd/sftp.log SFTPHostKey /etc/ssh/proftd_ssh_host_rsa_key SFTPClientAlive 3 10 SFTPCompression delayed </VirtualHost> </IfModule>