X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=proftpd.conf;h=cbf9f4b9e0ca0e22065e5450879905a9e3d508fc;hb=2aa9b220b1ad8aa1c14262408cb2e63dc863f925;hp=79312c32aad4fec655e80c17b6e275ab7532141d;hpb=ba02245550b1a0aad1bf3a6b40015433992a97f7;p=packages%2Fproftpd.git diff --git a/proftpd.conf b/proftpd.conf index 79312c3..cbf9f4b 100644 --- a/proftpd.conf +++ b/proftpd.conf @@ -1,32 +1,70 @@ # $Id$ -ServerName "ProFTPD" -ServerType standalone -DeferWelcome off -DefaultServer on +ServerName "ProFTPD" +ServerType standalone +DeferWelcome off +DefaultServer on +#IdentLookups off +#UseReverseDNS off # If you want .message files to work with browsers, you probably # want to uncomment the next line -#MultilineRFC2228 on +#MultilineRFC2228 on # Port 21 is the standard FTP port. -Port 21 +Port 21 # Umask 022 is a good standard umask to prevent new dirs and files # from being group and world writable. -Umask 022 +Umask 022 # Set the user and group that the server normally runs at. -User ftp -Group ftp +User ftp +Group ftp + +#RequireValidShell off # use separate auth files instead of system auth -#AuthUserFile /etc/ftpd/passwd -#AuthGroupFile /etc/ftpd/group +#AuthUserFile /etc/ftpd/passwd +#AuthGroupFile /etc/ftpd/group # Normally, we want files to be overwriteable. - AllowOverwrite on + AllowOverwrite on +# lock users to their homedir +DefaultRoot ~ + +# allow resume uploads and downloads +AllowRetrieveRestart on +AllowStoreRestart on + +# enable this to have your ftp server FXP gateway. +# only enable this if you trust your users as it allows your ftp server to connect anywhere. +# DO NOT enable this if you have anonymous logins enabled! +#AllowForeignAddress on + +# NAT support +# http://www.castaglia.org/proftpd/doc/contrib/ProFTPD-mini-HOWTO-NAT.html +#MasqueradeAddress my.domain.com +#PassivePorts 60000 65535 + +#UseIPv6 off + +# Do not announce server software at logon. for paranoids. +#ServerIdent off + +# To prevent DoS attacks, set the maximum number of child processes +# to 30. If you need to allow more than 30 concurrent connections +# at once, simply increase this value. Note that this ONLY works +# in standalone mode, in inetd mode you should use an inetd server +# that allows you to limit maximum number of processes per service +# (such as xinetd). +MaxInstances 30 + +# Idle +TimeoutLogin 300 +TimeoutNoTransfer 300 + # Load additional (modules) config Include /etc/ftpd/conf.d/*.conf