proftpd

xinetd経由で起動させるには、/etc/xinetd.d/proftpdとかの名前で作る。

service ftp
{
        flags           = REUSE
        socket_type     = stream        
        wait            = no
        user            = root
        server          = /usr/local/sbin/in.proftpd
        log_on_failure  += USERID
        disable         = no
}

次に、/usr/local/etc/proftpd.confも編集する

ServerName                      "FTP Server"
ServerType                      inetd
DefaultServer                   on
RequireValidShell               no
PassivePorts    10020 10030
ServerIdent on "FTP Server"
IdentLookups off
LogFormat write "%t : %u : %F (%a)"
LogFormat read "%t : %u : %F (%a)"
LogFormat allinfo "%t : %u [%a ] status code : %s [%r]
ExtendedLog /var/log/proftpd/all.log ALL allinfo
ExtendedLog /var/log/proftpd/write.log WRITE write
ExtendedLog /var/log/proftpd/read.log READ read
TimesGMT        off
Port                            21
Umask                           022
MaxInstances                    30
User                            ftp
Group                           ftp
DefaultRoot ~
AllowOverwrite          on
<Limit SITE_CHMOD>
  DenyAll
</Limit>