]> TLD Linux GIT Repositories - packages/proftpd.git/blobdiff - proftpd.conf
- updated to 1.3.8b
[packages/proftpd.git] / proftpd.conf
index 9f00ce861b1e948f53bd2ba4a6ab34dd7164356f..5c1ebbd1b4092b0462ac09a28fb4996c9d8e989c 100644 (file)
@@ -1,73 +1,84 @@
-# $Id$
-
-ServerName             "ProFTPD"
+# Set the mode proftpd runs in
 ServerType             standalone
-DeferWelcome           off
-DefaultServer          on
-#IdentLookups          off
-#UseReverseDNS         off
 
-# Set to off if you use NSS LDAP, NIS, etc.
-#PersistentPasswd      off
+# Set the message displayed on connect
+ServerIdent            on "FTP server ready"
+
+# Sets the maximum number of child processes to be spawned
+MaxInstances           30
+
+# Make this configuration default one
+DefaultServer          on
 
-# If you want .message files to work with browsers, you probably
-# want to uncomment the next line
-#MultilineRFC2228      on
+# Bind to specified IP addresses
+SocketBindTight                off
 
-# Port 21 is the standard FTP port.
+# Set the port proftpd will listen on
 Port                   21
-# Umask 022 is a good standard umask to prevent new dirs and files
-# from being group and world writable.
-Umask                  022
 
-# Set the user and group that the server normally runs at.
-User                   ftp
-Group                  ftp
+# Apply global configuration directives
+<Global>
+       # Set the user the daemon will run as
+       User                    ftp
 
-#RequireValidShell     off
+       # Set the group the server normally runs as
+       Group                   ftp
 
-# use separate auth files instead of system auth
-#AuthUserFile          /etc/ftpd/passwd
-#AuthGroupFile         /etc/ftpd/group
+       # Set the default umask
+       Umask                   022
 
-# Normally, we want files to be overwriteable.
-<Directory />
-       AllowOverwrite  on
-</Directory>
+       # Don't show welcome message until user has authenticated
+       DeferWelcome            off
 
-# lock users to their homedir
-DefaultRoot            ~
+       # Allow connections based on /etc/shells
+       RequireValidShell       on
 
-# allow resume uploads and downloads
-AllowRetrieveRestart   on
-AllowStoreRestart      on
+       # Allow clients to resume downloads
+       AllowRetrieveRestart    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
+       # Allow clients to resume uploads
+       AllowStoreRestart       on
 
-# NAT support
-# http://www.castaglia.org/proftpd/doc/contrib/ProFTPD-mini-HOWTO-NAT.html
-#MasqueradeAddress     my.domain.com
-#PassivePorts          60000 65535
+       # Enable files to be overwritten
+       AllowOverwrite          on
 
-#UseIPv6               off
+       # Sets how many password attempts are allowed before disconnection
+       MaxLoginAttempts        3
 
-# Do not announce server software at logon. for paranoids.
-#ServerIdent           off
+       # Specify alternate passwd/group files to be used
+       #AuthUserFile           /etc/proftpd/passwd
+       #AuthGroupFile          /etc/proftpd/group
 
-# 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
+       # Set the default method of data transfer
+       DefaultTransferMode     binary
+
+       # Specify the ftp-data port range to be used
+       PassivePorts            57000 60000
+
+       # Sets the idle connection timeout
+       TimeoutIdle             300
+
+       # Sets the login timeout
+       TimeoutLogin            120
+
+       # Sets the timeout on stalled data transfers
+       TimeoutStalled          300
+
+       # Sets the connection without transfer timeout
+       TimeoutNoTransfer       300
+
+       # Configure options used when listing directories
+       ListOptions             "-a"
+
+       # Lock users in their home directory
+       DefaultRoot             ~
+
+       # Specify proftpd logfile
+       ExtendedLog             /var/log/proftpd/ftp.log
 
-# Idle
-TimeoutLogin           300
-TimeoutNoTransfer      300
+       # Specify transfer log
+       TransferLog             /var/log/proftpd/xfer.log
+</Global>
 
-# Load additional (modules) config
-Include /etc/ftpd/conf.d/*.conf
+# Load additional config files (modules etc.)
+Include /etc/proftpd/conf.d/*.conf