Linux下为iptables增加layer7补丁(Linux2.6.25内核)
|
shell> iptables -A FORWARD -p udp --dport 53 -m string --string "tencent" --algo bm -j DROP 3、state match shell> iptables -A FORWARD -m state --state NEW -p tcp ! --syn -j DROP 4、connlimit match shell> iptables -A FORWARD -p tcp --syn -m connlimit --connlimit-above 100 --connlimit-mask 24 -j DROP 5、time match shell> iptables -A FORWARD -p tcp --dport 80 -m time --timestart 8:00 --timestop 17:00 --weekdays Mon,Tue,Wed,Thu,Fri -j ACCEPT 本文出自 “无痕” 博客,请务必保留此出处http://hucwuhen.blog.51cto.com/6253667/1268652 (编辑:佛山站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |

