网络通信 频道

实战:校园网与P2P应用的封堵战役

  P2P封堵的几种通用做法

  P2P数据通信具有流量大、种类繁多、特征变化迅速、检测困难的特点。在没有专业的流量控制设备的情况下,我们也只能在网关型设备上做一些手脚,比如:
  
* Cisco NBAR过滤数据包

1、在Cisco网站上下载一个叫:bittorrent.pdlm的文件
2、上传到路由器上(可以通过TFTP,FTP 等方法)
3、定义P2P协议类型,例如BT:ip nbar pdlm bittorrent.pdlm
4、定义Class-map和policy-map
class-map mathc-all bittorent
match protocol bittorrent
policy-map bittorrent-policy
class bittorrent
drop
5、应用到接口上
interface fastethernet 0/0
service-policy input bittorrent-policy
service-policy output bittorrent-policy

0
相关文章