纳金网
标题:
cisco路由上封BT方法比较及分析
[打印本页]
作者:
晃晃
时间:
2011-9-15 08:10
标题:
cisco路由上封BT方法比较及分析
最近为了封BT,几乎把NBO的网络论坛找遍了,用NBAR (Network-Based Application Recognition)网络应用识别
NBAR是一种动态能在四到七层寻找协议的技术,它不但能做到普通ACL能做到那样控制静态的TCP UDP的报,也能做到控制一般ACLs不能做到动态的端口的那些协议(如BT)之类.
我就说说过程:
1到http://www.cisco.com/pcgi-bin/tablebuild.pl/pdlm 下载bittorrent.pdlm,(要CCO的)
2放到TFTP,然后用copy tftp disk2(大多数应该是flash)
拷到路由器中,
route7206#conf t
Enter configuration commands, one per line. End with CNTL/Z.
route7206(config)#ip nbar pdlm bittorrent.pdlm
route7206(config)#
!
ip nbar pdlm bittorrent.pdlm
!
1.) 创建一个 a class-map and policy map 并且把它应用到相应的端口:
得到关于BT的部分是
class-map match-all bittorrent
match protocol bittorrent
!
!
policy-map bittorrent-policy
class bittorrent
drop
!
interface GigabitEthernet0/2
description CONNECT INSIDE
ip address 192.168.168.1 255.255.255.252 secondary
ip address 192.168.21.1 255.255.255.0
ip nat inside
service-policy input bittorrent-policy
service-policy output bittorrent-policy
duplex full
speed 1000
media-type rj45
no negotiation auto
转自:领测软件测试网[http://www.ltesting.net]
原文链接:http://www.ltesting.net/ceshi***anjianceshikaifajishu/rjcshjdj/wlzs/2008/1023/159827.html
作者:
Asen
时间:
2011-9-15 09:40
作者:
tc
时间:
2012-2-4 23:22
已阵亡的 蝶 随 风 舞 说过 偶尔按一下 CTRL A 会发现 世界还有另一面
作者:
菜刀吻电线
时间:
2012-7-14 23:20
有意思!学习了!
作者:
晃晃
时间:
2012-7-25 23:28
“再次路过……”我造一个-----特别路过
作者:
tc
时间:
2012-9-21 23:31
先顶上去,偶要高亮加精鸟!
作者:
菜刀吻电线
时间:
2012-10-12 23:27
先垫一块,再说鸟
作者:
奇
时间:
2012-12-9 23:19
不会吧,太恐怖了
作者:
晃晃
时间:
2013-2-4 23:29
加精、加亮滴铁子,尤其要多丁页丁页
作者:
C.R.CAN
时间:
2013-2-24 23:21
既来之,则看之!
欢迎光临 纳金网 (http://go.narkii.com/club/)
Powered by Discuz! X2.5