inetdの接続制限
特定のサービスに60秒間に40回以上の接続があると、攻撃かなんかだと判断して、切断しさらに10分間接続を拒絶する。(待ち受けポートがなくなる)
inetdサービスの停止・再開をおこなうことで回復する。
- Man page of INETD
- http://www.jp.freebsd.org/cgi/mroff.cgi?sect=5&subdir=man&lc=1&cmd=&dir=jpman-7.2.2/man&man=inetd.conf
/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の後ろに上限(なんかでっかい数値)を追記する