揮発性のメモ2

http://d.hatena.ne.jp/iww/

ftp/tcp server failing (looping), service terminated

inetdの接続制限
特定のサービスに60秒間に40回以上の接続があると、攻撃かなんかだと判断して、切断しさらに10分間接続を拒絶する。(待ち受けポートがなくなる)
inetdサービスの停止・再開をおこなうことで回復する。

/etc/inetd.conf を編集して回避する

#ftp    stream  tcp     nowait          root    /usr/sbin/tcpd  /usr/sbin/in.ftpd
ftp     stream  tcp     nowait.99999    root    /usr/sbin/tcpd  /usr/sbin/in.ftpd

nowaitの後ろに上限(なんかでっかい数値)を追記する