zhoufenglong88 发表于 2006-12-1 12:25:41

ROS2.927优化小包网吧用那位大哥有

/ ip firewall mangle
add chain=forward p2p=all-p2p action=mark-connection   new-connection-mark=p2p_conn passthrough=yes comment="" disabled=no
add chain=forward connection-mark=p2p_conn action=mark-packet   new-packet-mark=p2p passthrough=yes comment="" disabled=no
add chain=forward connection-mark=!p2p_conn action=mark-packet   new-packet-mark=general passthrough=yes comment="" disabled=no
add chain=forward packet-size=32-512 action=mark-packet new-packet-mark=small   passthrough=yes comment="" disabled=no
add chain=forward packet-size=512-1200 action=mark-packet new-packet-mark=big   passthrough=yes comment="" disabled=no

/ queue tree
add name="p2p1" parent=TEL packet-mark=p2p limit-at=2000000 queue=default   priority=8 max-limit=6000000 burst-limit=0 burst-threshold=0 burst-time=0s   disabled=no
add name="p2p2" parent=LAN packet-mark=p2p limit-at=2000000 queue=default   priority=8 max-limit=6000000 burst-limit=0 burst-threshold=0 burst-time=0s   disabled=no
add name="ClassA" parent=LAN packet-mark="" limit-at=0 queue=default priority=8   max-limit=100000000 burst-limit=0 burst-threshold=0 burst-time=0s   disabled=no
add name="ClassB" parent=ClassA packet-mark="" limit-at=0 queue=default   priority=8 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s   disabled=no
add name="Leaf1" parent=ClassA packet-mark=general limit-at=0 queue=default   priority=7 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s   disabled=no
add name="Leaf2" parent=ClassB packet-mark=small limit-at=0 queue=default   priority=5 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s   disabled=no
add name="Leaf3" parent=ClassB packet-mark=big limit-at=0 queue=default   priority=6 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s   disabled=no这些规则为什么老是导入不进去到底是怎么回事????用什么可以导入进去~~~那位大哥还有没有网吧用的优化小包规则 本人版本2.927请高手指教~~

platinum 发表于 2006-12-1 13:02:52

遇到 syn-flood、udp-flood、icmp-flood 等小包攻击就歇菜

naboo 发表于 2006-12-1 13:13:13

WAN口带宽未满情况下也不建议开启

zjs100 发表于 2006-12-1 16:42:22

检查你的网卡命名。。可能那是出错的关键
页: [1]
查看完整版本: ROS2.927优化小包网吧用那位大哥有