updated on Mon Jan 23 00:00:36 UTC 2012
[aur-mirror.git] / proftpd-deb / proftpd.conf
blob8286dad74ad29d5bc1dc92176d71b5b5f973893e
2 # /etc/proftpd/proftpd.conf -- This is a basic ProFTPD configuration file.
3 # To really apply changes reload proftpd after modifications.
4
6 # Includes DSO modules
7 Include /etc/proftpd/modules.conf
9 # Set off to disable IPv6 support which is annoying on IPv4 only boxes.
10 UseIPv6                         off
12 ServerName                      "Debian"
13 ServerType                      standalone
14 DeferWelcome                    off
16 MultilineRFC2228                on
17 DefaultServer                   on
18 ShowSymlinks                    on
20 TimeoutNoTransfer               600
21 TimeoutStalled                  600
22 TimeoutIdle                     1200
24 DisplayLogin                    welcome.msg
25 DisplayChdir                    .message
26 ListOptions                     "-a"
27 DefaultRoot                     ~
28 UseReverseDNS                   off
29 IdentLookups                    off
31 DenyFilter                      \*.*/
33 # Port 21 is the standard FTP port.
34 Port                            21
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
46 # (such as xinetd)
47 MaxInstances                    30
49 # Set the user and group that the server normally runs at.
50 User                            nobody
51 Group                           nobody
53 # Umask 022 is a good standard umask to prevent new files and dirs
54 # (second parm) from being group and world writable.
55 Umask                           022  022
56 # Normally, we want files to be overwriteable.
57 AllowOverwrite                  on
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.
66 # UseSendFile                   off
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>
74 #SQLBackend                     sqlite3
75 #SQLConnectInfo                 /home/a/admin.sqlite
76 #SQLAuthenticate                        users
77 #SQLAuthTypes                   PlainText
78 #SQLDefaultGID                  1
79 #SQLDefaultUID                  1
80 #SQLLogFile                     /var/log/proftpd-sql.log
81 #SQLUserInfo                    passwd id pw NULL NULL wpath NULL
82 #RequireValidShell              off
83 #SQLMinUserUID                  1
84 #SQLMinUserGID                  1
85 #</IfModule>
87 <IfModule mod_tls.c>
88 TLSEngine off
89 </IfModule>
91 <IfModule mod_quota.c>
92 QuotaEngine on
93 </IfModule>
95 <IfModule mod_ratio.c>
96 Ratios on
97 </IfModule>
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>
104 DelayEngine on
105 </IfModule>
107 <IfModule mod_ctrls.c>
108 ControlsEngine        on
109 ControlsMaxClients    2
110 ControlsLog           /var/log/proftpd/controls.log
111 ControlsInterval      5
112 ControlsSocket        /var/run/proftpd/proftpd.sock
113 </IfModule>
115 <IfModule mod_ctrls_admin.c>
116 AdminControlsEngine on
117 </IfModule>
119 # A basic anonymous configuration, no upload directories.
121 # <Anonymous ~ftp>
122 #   User                                ftp
123 #   Group                               nogroup
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
127 #   DirFakeUser on ftp
128 #   DirFakeGroup on ftp
130 #   RequireValidShell           off
132 #   # Limit the maximum number of anonymous logins
133 #   MaxClients                  10
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
141 #   <Directory *>
142 #     <Limit WRITE>
143 #       DenyAll
144 #     </Limit>
145 #   </Directory>
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.
151 #   #   Umask                           022  022
152 #   #            <Limit READ WRITE>
153 #   #            DenyAll
154 #   #            </Limit>
155 #   #            <Limit STOR>
156 #   #            AllowAll
157 #   #            </Limit>
158 #   # </Directory>
160 # </Anonymous>