Author: glen                         Date: Sat Apr 29 21:53:37 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- add bunch of useful options

---- Files affected:
SOURCES:
   proftpd.conf (1.16 -> 1.17) 

---- Diffs:

================================================================
Index: SOURCES/proftpd.conf
diff -u SOURCES/proftpd.conf:1.16 SOURCES/proftpd.conf:1.17
--- SOURCES/proftpd.conf:1.16   Sat Apr 29 23:46:20 2006
+++ SOURCES/proftpd.conf        Sat Apr 29 23:53:31 2006
@@ -2,12 +2,12 @@
 
 ServerName                     "ProFTPD"
 ServerType                     standalone
-DeferWelcome                   off
-DefaultServer                  on
+DeferWelcome           off
+DefaultServer          on
 
 # 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
@@ -27,6 +27,38 @@
 <Directory />
        AllowOverwrite          on
 </Directory>
+
+# 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
+
+# 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
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/proftpd.conf?r1=1.16&r2=1.17&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to