Chinaunix首页 | 论坛 | 博客
  • 博客访问: 852834
  • 博文数量: 275
  • 博客积分: 3904
  • 博客等级: 中校
  • 技术积分: 4605
  • 用 户 组: 普通用户
  • 注册时间: 2012-04-17 21:10
文章分类

全部博文(275)

文章存档

2014年(9)

2013年(124)

2012年(142)

分类:

2012-07-13 14:29:53

当在接口使用 helper-address命令,路由器会前传接收到的UDP广播报文到指定服务器地址
 

Lab_B()#interface f0/0
Lab_B(config-if)#ip helper-address 192.168.254.251

下表列出了前传的数据包类型

Port or Protocol Meaning  On by Default
<0–65535> Port number (create your own)  
biff Biff (mail notification, comsat, 512)  
bootpc Bootstrap Protocol (BOOTP) client (68)  X
bootps Bootstrap Protocol (BOOTP) server (67) X
discard Discard (9)  
dnsix DNSIX security protocol auditing (195)  
domain Domain Name Service (DNS) (53) X
echo Echo (7)  
isakmp Internet Security Association and Key Management Protocol (ISAKMP) (500)  
mobile-ip Mobile IP registration (434)  
nameserver IEN116 name service (obsolete, 42)  
netbios-dgm NetBios datagram service (138) X
netbios-ns NetBios name service (137) X
netbios-ss NetBios session service (139)  
ntp Network Time Protocol (NTP) (123)  
pim-auto-rp PIM Auto-RP (496)  
rip Routing Information Protocol (RIP) (router, in.routed, 520)  

这些默认的前传类型,可以通过下面的命令关闭,只开启bootps UDP 67,来提高路由器的安全性

Lab_B(config)#no ip forward-protocol udp 69
Lab_B(config)#no ip forward-protocol udp 53
Lab_B(config)#no ip forward-protocol udp 37
Lab_B(config)#no ip forward-protocol udp 137
Lab_B(config)#no ip forward-protocol udp 138
Lab_B(config)#no ip forward-protocol udp 68
Lab_B(config)#no ip forward-protocol udp 49

阅读(1097) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~