#///////////////////////////////////////////////////////////////////////#
# Main configuration #
#///////////////////////////////////////////////////////////////////////#
# proftpd/1.2.10 with
# - mod_quotatab
# - mod_quotatab_file
# - mod_quotatab_sql
# - mod_quotatab_mysql
# - mod_tls
ServerName "DOMAIN.DE FTP-Server"
ServerType standalone
ServerAdmin ftp-admin@domain.de
DeferWelcome off
DefaultServer on
Port 21
User nobody
Group nogroup
MaxInstances 30
TimeoutIdle 0
TimeoutLogin 0
TimeoutNoTransfer 0
TimeoutStalled 0
MultilineRFC2228 on
UseFtpUsers off
UseReverseDNS off
IdentLookups off
LoginPasswordPrompt off
RequireValidShell off
MaxLoginAttempts 3
SyslogLevel emerg
ExtendedLog /var/log/proftpd/ftp_transfer.log READ,WRITE,AUTH standard
LogFormat standard "%a %u %{%d/%b/%G:%H:%M:%S %z}t %s %b %T \"%f\""
ScoreboardPath /var/log/proftpd/scoreboard.log
SystemLog /var/log/proftpd/ftp_system.log
PidFile /var/run/proftpd.pid
# mod_quotatab
QuotaEngine on
QuotaShowQuotas on
QuotaDisplayUnits Mb
QuotaLimitTable file:/etc/proftpd/mod_quotatab/limit.tab
QuotaTallyTable file:/etc/proftpd/mod_quotatab/tally.tab
# mod_tls
TLSEngine on
TLSLog /var/log/proftpd/tls.log
TLSProtocol SSLv23 # this selects the latest crypt version
TLSOptions NoCertRequest # this is REALLY important for WinClients
TLSRequired off # Are clients required to use FTP over TLS when talking to this server?
TLSVerifyClient off # Authenticate clients that want to use FTP over TLS?
TLSTimeoutHandshake 60
# Server's certificate
TLSRSACertificateFile /etc/proftpd/mod_tls/ftpd-rsa.pem
TLSRSACertificateKeyFile /etc/proftpd/mod_tls/ftpd-rsa-key.pem
TimesGMT off
DefaultRoot ~
Umask 022
MaxClients 50 "Sorry, no more then %m users allowed. Try again later!"
MaxClientsPerHost 2 "Sorry, you may not connect more than one times."
ListOptions "-a"
AllowRetrieveRestart on
AllowStoreRestart on
AllowOverwrite on
PathDenyFilter "^(\.ftpaccess|\.quota)$"
HideNoAccess on
#
# IgnoreHidden on
#
#///////////////////////////////////////////////////////////////////////#
# ANONYMOUS FTP-SERVER DOMAIN.DE #
#///////////////////////////////////////////////////////////////////////#
User ftp
Group public
UserAlias anonymous ftp
MaxClients 20 "Sorry, no more then %m anonymous users allowed. Try again later!"
MaxClientsPerHost 1 "Sorry, you may not connect more than one times."
AnonRequirePassword off
# DisplayLogin msgs/welcome.msg
DisplayFirstChdir .message
AllowRetrieveRestart on
DenyAll
Umask 017
AllowStoreRestart off
DenyAll
AllowAll