cnmt 发表于 2013-07-06 07:23

顶顶。顶顶。

cnmt 发表于 2013-07-06 07:48

回复 4# lolizeppelin


-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个是不是少点。


   

cnmt 发表于 2013-07-06 10:43

提示:
Try `iptables-restore -h' or 'iptables-restore --help' for more information.

井蛙夏虫 发表于 2013-07-06 13:54

回复 12# cnmt
http://bbs.chinaunix.net/thread-4081206-1-1.html

   

lolizeppelin 发表于 2013-07-08 10:54

本帖最后由 lolizeppelin 于 2013-07-08 10:59 编辑

照着抄你都能抄错

看清楚几个“-”可以么.....

还有都搞linux了还用全角...
页: 1 [2]
查看完整版本: 请教关于iptables 防CC的策略。