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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to disable ICMP redirects?

Status
Not open for further replies.

CFord

Technical User
May 17, 2002
9
0
0
ZA
I am running Digital Unix V4.0D ALPHA2. My routing table builds up alot of dynamic routes, how would you disable accepting ICMP redirects to prevent this happening.

Thanks alot.
 
You can patch the kernel. I can't really remember if that flag is in the 4.0D, but I have used it on 4.0F alot.
If the first dbx line fails, 4.0D does not have a rejectcodemask. In the second dbx you enable the filter and in the third you modify the kernel so that it should be there after a reboot. But please check to be shure!

# dbx -k /vmunix
(dbx) p icmp_rejectcodemask
0
(dbx) assign icmp_rejectcodemask=0x20
32
(dbx) patch icmp_rejectcodemask=0x20
32
(dbx) q

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top