2 # /etc/proftpd/proftpd.conf -- This is a basic ProFTPD configuration file.
3 # To really apply changes reload proftpd after modifications.
7 Include /etc/proftpd/modules.conf
9 # Set off to disable IPv6 support which is annoying on IPv4 only boxes.
24 DisplayLogin welcome.msg
33 # Port 21 is the standard FTP port.
36 # In some cases you have to specify passive ports range to by-pass
37 # firewall limitations. Ephemeral ports can be used for that, but
38 # feel free to use a more narrow range.
39 # PassivePorts 49152 65534
41 # To prevent DoS attacks, set the maximum number of child processes
42 # to 30. If you need to allow more than 30 concurrent connections
43 # at once, simply increase this value. Note that this ONLY works
44 # in standalone mode, in inetd mode you should use an inetd server
45 # that allows you to limit maximum number of processes per service
49 # Set the user and group that the server normally runs at.
53 # Umask 022 is a good standard umask to prevent new files and dirs
54 # (second parm) from being group and world writable.
56 # Normally, we want files to be overwriteable.
59 # Uncomment this if you are using NIS or LDAP to retrieve passwords:
60 # PersistentPasswd off
62 # Be warned: use of this directive impacts CPU average load!
64 # Uncomment this if you like to see progress and transfer rate with ftpwho
65 # in downloads. That is not needed for uploads rates.
68 TransferLog /var/log/proftpd/xferlog
69 SystemLog /var/log/proftpd/proftpd.log
71 # Example of using SQLite for backend authentication
73 #<IfModule mod_sql_sqlite.c>
75 #SQLConnectInfo /home/a/admin.sqlite
76 #SQLAuthenticate users
77 #SQLAuthTypes PlainText
80 #SQLLogFile /var/log/proftpd-sql.log
81 #SQLUserInfo passwd id pw NULL NULL wpath NULL
82 #RequireValidShell off
91 <IfModule mod_quota.c>
95 <IfModule mod_ratio.c>
100 # Delay engine reduces impact of the so-called Timing Attack described in
101 # http://security.lss.hr/index.php?page=details&ID=LSS-2004-10-02
102 # It is on by default.
103 <IfModule mod_delay.c>
107 <IfModule mod_ctrls.c>
110 ControlsLog /var/log/proftpd/controls.log
112 ControlsSocket /var/run/proftpd/proftpd.sock
115 <IfModule mod_ctrls_admin.c>
116 AdminControlsEngine on
119 # A basic anonymous configuration, no upload directories.
124 # # We want clients to be able to login with "anonymous" as well as "ftp"
125 # UserAlias anonymous ftp
126 # # Cosmetic changes, all files belongs to ftp user
128 # DirFakeGroup on ftp
130 # RequireValidShell off
132 # # Limit the maximum number of anonymous logins
135 # # We want 'welcome.msg' displayed at login, and '.message' displayed
136 # # in each newly chdired directory.
137 # DisplayLogin welcome.msg
138 # DisplayFirstChdir .message
140 # # Limit WRITE everywhere in the anonymous chroot
147 # # Uncomment this if you're brave.
148 # # <Directory incoming>
149 # # # Umask 022 is a good standard umask to prevent new files and dirs
150 # # # (second parm) from being group and world writable.
152 # # <Limit READ WRITE>