# local deste arquivo no CL8 é /etc/proftpd.conf # esta configuração permite upload por ftp anonimo # renomeie o arquivo para proftpd.conf. # use este modelo em rede interna e controlada, para disponibilizar # ftp na internet configure também o firewall e implemente regras de segurança. ServerName "FTP Server" ServerType inetd DefaultServer on ScoreboardPath /var/run TransferLog /var/spool/syslog/proftpd/xferlog.legacy LogFormat default "%h %l %u %t \"%r\" %s %b" LogFormat auth "%v [%P] %h %t \"%r\" %s" LogFormat write "%h %l %u %t \"%r\" %s %b" DeferWelcome on ServerAdmin root@eeol.org SyslogFacility AUTH TimeoutLogin 120 TimeoutIdle 600 TimeoutNoTransfer 900 TimeoutStalled 3600 Port 21 Umask 022 MaxInstances 30 DefaultRoot ~ !root User nobody Group nobody AllowOverwrite yes IdentLookups off ExtendedLog /var/spool/syslog/proftpd/access.log WRITE,READ write ExtendedLog /var/spool/syslog/proftpd/auth.log AUTH auth # MaxClients 3 "No more clients allowed at this time. Try again latter." MaxClientsPerHost 2 "Too many simultaneous connections from your host." AccessGrantMsg "Anonymous access granted for %u." User ftp Group ftp UserAlias anonymous ftp RequireValidShell off DirFakeUser on DirFakeGroup on AllowAll AllowAll AllowAll