Hello Francesco,

sure, here is the configuration. Note that I run this configuration on
three servers - all had the problem. After downgrading and without altering
the configuration it worked again.

Regards,
Martin

---------------------------------------------------------------------

proftpd.conf
---------------------------------------------------------------------

Include /etc/proftpd/modules.conf

ServerName                      "server"
ServerType                      standalone
ServerAdmin                     m...@domain.tld
DefaultRoot ~
ServerIdent                     off     "server.domain.tld"
DeferWelcome                    on
DefaultServer                   on
MultilineRFC2228                on
ShowSymlinks                    on
AllowOverwrite                  on
AllowForeignAddress             on
TimeoutNoTransfer               1200
TimeoutStalled                  3600
TimeoutIdle                     2400
DisplayLogin                    /etc/proftpd/welcome.msg
DisplayConnect                  /etc/proftpd/connect.msg
ListOptions                     "-la"
DenyFilter                      \*.*/
Port                            2266
PassivePorts                    2267 2276
TimesGMT off
IdentLookups off
MaxInstances                    30
User                            www-data
Group                           www-data

<Directory /*>
  Umask                         022  022
  AllowOverwrite                on
  AllowRetrieveRestart          on
  AllowStoreRestart             on
</Directory>

MaxClientsPerHost       10      "Nicht mehr als %m Verbindungen."
MaxClientsPerUser       10      "Nicht mehr als %m Verbindungen."
MaxClients              30      "Leider sind schon %m Clients verbunden."
TransferLog                     /var/log/proftpd/proftpd.xferlog
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"
LogFormat            awstats "%t        %h      %u      %m      %f      %s      
%b"

# Log file/dir access
ExtendedLog                     /var/log/proftpd/proftpd.access_log    
WRITE,READ write

# Record all logins
ExtendedLog                     /var/log/proftpd/proftpd.auth_log      AUTH auth

# Paranoia logging level....
ExtendedLog                     /var/log/proftpd/proftpd.paranoid_log  ALL 
default

# AWstats
ExtendedLog                     /var/log/proftpd/proftpd.awstats read,write 
awstats

MaxLoginAttempts                3

SQLConnectInfo                  db_n...@localhost db_user db_user_pw
SQLAuthenticate                 users*
SQLAuthTypes                    backend
SQLDefaultGID                   33
SQLDefaultUID                   33
SQLMinUserGID                   20
SQLMinUserUID                   500
SQLGroupInfo                    proftpd_groups groupname gid members
SQLUserInfo                     users userid passwd uid gid homedir shell

SQLLog PASS counter
SQLNamedQuery counter UPDATE "last_used=now(), count=count+1 WHERE userid='%u'" 
users

# xfer Log in mysql
SQLLog RETR,STOR transfer1
SQLNamedQuery  transfer1 INSERT "'%f', '%b', '%...@%v', '%h', '%a', '%m', '%T', 
now(), 1" stats

SQLLOG ERR_RETR,ERR_STOR transfer2
SQLNamedQuery  transfer2 INSERT "'%f', '%b', '%...@%v', '%h', '%a', '%m', '%T', 
now(), 0" stats

<IfModule mod_tls.c>
TLSEngine                               on
TLSLog                                  /var/log/proftpd/tls.log
TLSProtocol                             SSLv23
TLSOptions                              NoCertRequest
TLSRSACertificateFile                   /etc/proftpd/proftpd-cert.pem
TLSRSACertificateKeyFile                /etc/proftpd/proftpd-key.pem
TLSVerifyClient                         off
TLSRequired                             off
</IfModule>

---------------------------------------------------------------------


modules.conf
---------------------------------------------------------------------

ModulePath /usr/lib/proftpd

ModuleControlsACLs insmod,rmmod allow user root
ModuleControlsACLs lsmod allow user *

LoadModule mod_tls.c
LoadModule mod_sql.c
LoadModule mod_sql_mysql.c
LoadModule mod_ifsession.c

---------------------------------------------------------------------




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to