没有合适的资源?快使用搜索试试~ 我知道了~
三种ROS_小包策略
需积分: 49 4 下载量 31 浏览量
2011-12-21
18:43:13
上传
评论 1
收藏 7KB TXT 举报
温馨提示
试读
3页
第一种 PREROUTING 第二种 FORWARD 还有一种 最简单: 详情请下载看内容 / ip firewall mangle add chain=forward protocol=tcp tcp-flags=syn action=change-mss new-mss=1440 comment="" disabled=no add chain=forward packet-size=0-32 action=mark-packet new-packet-mark=small passthrough=yes comment="" disabled=no
资源推荐
资源详情
资源评论
第一种 PREROUTING
/ ip firewall mangle
add chain=forward protocol=tcp tcp-flags=syn action=change-mss new-mss=1452 comment="改变MSS" disabled=no
add chain=prerouting src-address=192.168.0.0/24 tos=min-delay action=mark-packet new-packet-mark=LEVEL-1 passthrough=yes comment="上行数据标记" disabled=no
add chain=prerouting src-address=192.168.0.0/24 tos=max-reliability action=mark-packet new-packet-mark=LEVEL-2 passthrough=yes comment="" disabled=no
add chain=prerouting src-address=192.168.0.0/24 tos=normal action=mark-packet new-packet-mark=LEVEL-3 passthrough=yes comment="" disabled=no
add chain=prerouting src-address=192.168.0.0/24 packet-size=0-768 action=mark-packet new-packet-mark=LEVEL-2 passthrough=yes comment="上行中小包数据" disabled=no
add chain=prerouting src-address=192.168.0.0/24 protocol=tcp dst-port=3724 action=mark-packet new-packet-mark=LEVEL-1 passthrough=yes comment="魔兽世界" disabled=no
add chain=prerouting src-address=192.168.0.0/24 protocol=tcp dst-port=8086-8087 action=mark-packet new-packet-mark=LEVEL-1 passthrough=yes comment="" disabled=no
add chain=prerouting src-address=192.168.0.0/24 protocol=tcp dst-port=9090-9091 action=mark-packet new-packet-mark=LEVEL-1 passthrough=yes comment="" disabled=no
add chain=prerouting src-address=192.168.0.0/24 protocol=tcp dst-port=9100 action=mark-packet new-packet-mark=LEVEL-1 passthrough=yes comment="" disabled=no
add chain=prerouting src-address=192.168.0.0/24 protocol=udp dst-port=8000 action=mark-packet new-packet-mark=LEVEL-1 passthrough=yes comment="QQ" disabled=no
add chain=prerouting src-address=192.168.0.0/24 protocol=tcp dst-port=8000 action=mark-packet new-packet-mark=LEVEL-1 passthrough=yes comment="" disabled=no
add chain=prerouting src-address=192.168.0.0/24 protocol=tcp dst-port=39311 action=mark-packet new-packet-mark=LEVEL-1 passthrough=yes comment="跑跑卡丁车" disabled=no
add chain=prerouting src-address=192.168.0.0/24 protocol=udp dst-port=39311 action=mark-packet new-packet-mark=LEVEL-1 passthrough=yes comment="" disabled=no
add chain=prerouting src-address=192.168.0.0/24 protocol=tcp dst-port=36567 action=mark-packet new-packet-mark=LEVEL-1 passthrough=yes comment="" disabled=no
add chain=prerouting src-address=192.168.0.0/24 protocol=udp dst-port=36567 action=mark-packet new-packet-mark=LEVEL-1 passthrough=yes comment="" disabled=no
add chain=prerouting src-address=192.168.0.0/24 protocol=tcp dst-port=11527 action=mark-packet new-packet-mark=LEVEL-1 passthrough=yes comment="" disabled=no
add chain=prerouting src-address=192.168.0.0/24 protocol=udp dst-port=11527 action=mark-packet new-packet-mark=LEVEL-1 passthrough=yes comment="" disabled=no
add chain=prerouting src-address=192.168.0.0/24 protocol=tcp dst-port=11107 action=mark-packet new-packet-mark=LEVEL-1 passthrough=yes comment="" disabled=no
add chain=prerouting src-address=192.168.0.0/24 protocol=udp dst-port=11107 action=mark-packet new-packet-mark=LEVEL-1 passthrough=yes comment="" disabled=no
/ queue tree
add name="yxjup" parent=global-out packet-mark="" limit-at=0 queue=default priority=3 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s disabled=no
add name="yxsjb" parent=yxjup packet-mark="" limit-at=0 queue=default priority=3 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s disabled=no
add name="NO.1" parent=yxsjb packet-mark=LEVEL-1 limit-at=0 queue=default priority=3 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s disabled=no
/ ip firewall mangle
add chain=forward protocol=tcp tcp-flags=syn action=change-mss new-mss=1452 comment="改变MSS" disabled=no
add chain=prerouting src-address=192.168.0.0/24 tos=min-delay action=mark-packet new-packet-mark=LEVEL-1 passthrough=yes comment="上行数据标记" disabled=no
add chain=prerouting src-address=192.168.0.0/24 tos=max-reliability action=mark-packet new-packet-mark=LEVEL-2 passthrough=yes comment="" disabled=no
add chain=prerouting src-address=192.168.0.0/24 tos=normal action=mark-packet new-packet-mark=LEVEL-3 passthrough=yes comment="" disabled=no
add chain=prerouting src-address=192.168.0.0/24 packet-size=0-768 action=mark-packet new-packet-mark=LEVEL-2 passthrough=yes comment="上行中小包数据" disabled=no
add chain=prerouting src-address=192.168.0.0/24 protocol=tcp dst-port=3724 action=mark-packet new-packet-mark=LEVEL-1 passthrough=yes comment="魔兽世界" disabled=no
add chain=prerouting src-address=192.168.0.0/24 protocol=tcp dst-port=8086-8087 action=mark-packet new-packet-mark=LEVEL-1 passthrough=yes comment="" disabled=no
add chain=prerouting src-address=192.168.0.0/24 protocol=tcp dst-port=9090-9091 action=mark-packet new-packet-mark=LEVEL-1 passthrough=yes comment="" disabled=no
add chain=prerouting src-address=192.168.0.0/24 protocol=tcp dst-port=9100 action=mark-packet new-packet-mark=LEVEL-1 passthrough=yes comment="" disabled=no
add chain=prerouting src-address=192.168.0.0/24 protocol=udp dst-port=8000 action=mark-packet new-packet-mark=LEVEL-1 passthrough=yes comment="QQ" disabled=no
add chain=prerouting src-address=192.168.0.0/24 protocol=tcp dst-port=8000 action=mark-packet new-packet-mark=LEVEL-1 passthrough=yes comment="" disabled=no
add chain=prerouting src-address=192.168.0.0/24 protocol=tcp dst-port=39311 action=mark-packet new-packet-mark=LEVEL-1 passthrough=yes comment="跑跑卡丁车" disabled=no
add chain=prerouting src-address=192.168.0.0/24 protocol=udp dst-port=39311 action=mark-packet new-packet-mark=LEVEL-1 passthrough=yes comment="" disabled=no
add chain=prerouting src-address=192.168.0.0/24 protocol=tcp dst-port=36567 action=mark-packet new-packet-mark=LEVEL-1 passthrough=yes comment="" disabled=no
add chain=prerouting src-address=192.168.0.0/24 protocol=udp dst-port=36567 action=mark-packet new-packet-mark=LEVEL-1 passthrough=yes comment="" disabled=no
add chain=prerouting src-address=192.168.0.0/24 protocol=tcp dst-port=11527 action=mark-packet new-packet-mark=LEVEL-1 passthrough=yes comment="" disabled=no
add chain=prerouting src-address=192.168.0.0/24 protocol=udp dst-port=11527 action=mark-packet new-packet-mark=LEVEL-1 passthrough=yes comment="" disabled=no
add chain=prerouting src-address=192.168.0.0/24 protocol=tcp dst-port=11107 action=mark-packet new-packet-mark=LEVEL-1 passthrough=yes comment="" disabled=no
add chain=prerouting src-address=192.168.0.0/24 protocol=udp dst-port=11107 action=mark-packet new-packet-mark=LEVEL-1 passthrough=yes comment="" disabled=no
/ queue tree
add name="yxjup" parent=global-out packet-mark="" limit-at=0 queue=default priority=3 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s disabled=no
add name="yxsjb" parent=yxjup packet-mark="" limit-at=0 queue=default priority=3 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s disabled=no
add name="NO.1" parent=yxsjb packet-mark=LEVEL-1 limit-at=0 queue=default priority=3 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s disabled=no
资源评论
wangwenju1977
- 粉丝: 0
- 资源: 2
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 珍藏多年的基于matlab实现潮流计算程序源代码集合,包含多个潮流计算程序.rar
- 使用FPGA实现串-并型乘法器
- 基于matlab实现针对基于双曲线定位的DV-Hop算法中误差误差出一种基于加权双曲线定位的DV-Hop改进算法.rar
- 基于matlab实现由遗传算法开发的整数规划,车辆调度问题.rar
- 电视家7.0(对电视配置要求高).apk
- 免费计算机毕业设计-基于JavaEE的医院病历管理系统设计与实现(包含论文+源码)
- 手机端 我的世界融合植物大战僵尸版.apk
- 植物大战僵尸 · 戴夫的老年生活 手机版.apk
- Runcraft · 我的世界跑酷游戏 手机端.apk
- pta题库答案c语言.docx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功