Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

why the route-may doesn't work to block the virus

Status
Not open for further replies.

ninghi

ISP
Jul 16, 2003
14
0
0
CN
the new virus nachi uses 92 byte packet to detect other node.To block the virus Iconfig the router as follows:
(config ter)
access-list 199 permit icmp any any echo
access-list 199 permit icmp any any echo-reply

route-map nachi-worm permit 10
match ip address 199
match length 92 92
set interface null0
(interface mode)
ip policy route-map nachi-worm

after I did this,I ping the configed side from other router using 92 byte length packet,it should has been blocked,but it didn't,I can still ping the configed side successfully.I am confused for I have used the route-map to the interface,while it does't work,can you give me the possable reason?thanks




 
I'm only guessing, but maybe you should be using deny instead of permit?

Andy Leates MCSE CCNA MCP+I
 
No, I should be permit since falling into acl 199 and matching 92-byte length while leaving the rest of traffic alone is the way to go.

On the other hand, I'm not quite sure why it isn't working at all.

I will do some testing myself and let you know.
 
Why apply the route-map to the Null0 interface ?

JAn
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top