-A INPUT -p tcp -m tcp –dport 80 -m state –state NEW -m recent –set –name WEB –rsource
-A INPUT -p tcp -m tcp –dport 80 -m state –state NEW -m recent –update –seconds 5 –hitcount 20 –rttl –name WEB –rsource -j DROP
这样写对了吧。5秒20个链接。。
对论坛来说。5秒20个是不是少点。
提示:
Try `iptables-restore -h' or 'iptables-restore --help' for more information. 回复 12# cnmt
http://bbs.chinaunix.net/thread-4081206-1-1.html
本帖最后由 lolizeppelin 于 2013-07-08 10:59 编辑
照着抄你都能抄错
看清楚几个“-”可以么.....
还有都搞linux了还用全角...
页:
1
[2]