# /etc/proftpd.conf -- This is a basic ProFTPD configuration file.
# To really apply changes reload proftpd after modifications.
#
ServerName "KraetziChriZ Home-FTP"
ServerType standalone
DeferWelcome off
DefaultRoot /home/ftp/ ftpuser
MultilineRFC2228 on
DefaultServer on
ShowSymlinks on
AllowRetrieveRestart on
AllowStoreRestart on
DisplayLogin welcome.msg
DisplayFirstChdir .message
ListOptions "-l"
Port 21
# Logging
TransferLog /var/log/proftpd/ftp_transferlog
LogFormat default "%h %l %u %t \"%r\" %s %b"
LogFormat auth "%v [%P] %h %t \"%r\" %s"
LogFormat write "%h %l %u %t \"%r\" %s %b"
ExtendedLog /var/log/proftpd/ftp_auth.log AUTH auth
ExtendedLog /var/log/proftpd/ftp_access.log WRITE,READ write
# Timeouts
TimeoutNoTransfer 600
TimeoutStalled 600
TimeoutIdle 1200
<Directory /home/ftp/Festplatten_Read_Only>
<Limit WRITE>
DenyAll
</Limit>
</Directory>
DenyFilter \*.*/
# 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 20
AllowForeignAddress on
AllowRetrieveRestart on
AllowStoreRestart on
PassivePorts 49152 65534
# Set the user and group that the server normally runs at.
User nobody
Group nogroup
# Umask 022 is a good standard umask to prevent new files and dirs
# (second parm) from being group and world writable.
Umask 000 000
# Normally, we want files to be overwriteable.
AllowOverwrite on
# Delay engine reduces impact of the so-called Timing Attack described in
# http://security.lss.hr/index.php?page=details&ID=LSS-2004-10-02
# It is on by default.
#DelayEngine off
# Login nur von Mitgliedern der Gruppe ftpuser erlauben
<Limit LOGIN>
DenyGroup !ftpuser
</Limit>