Skip to contentSkip to conversation

Aditional information in ICMP reject packages ?

DISCUSSION Tudor Alexandru Dragos 2 participants 2 messages Nov 2, 2005 – Nov 3, 2005

lore
Share & tools
lore
#0 lore raw

There is any way to specify the aditional
informations in the ICMP reject package.(patch or somthing ?) For example i whant to reject a package with ICMP type 5 , Redirect message and i whant to set the Router flag (the new gateway).
BTW: Anybody know is windows is working according with the RFC and is realy " revise its routing table " ?

10x
Alex

__________________________________
Start your day with Yahoo! - Make it your home page!
http://www.yahoo.com/r/hs

#1 lore raw
Quoted 5 lines · Tudor Alexandru Dragos

There is any way to specify the aditional informations in the ICMP reject package.(patch or somthing ?) For example i whant to reject a package with ICMP type 5 , Redirect message and i whant to set the Router flag (the new gateway).

Not that I know of. Should not be very hard to add however..

On another note ICMP type 5 is not an error, merely a notification. The packet is not supposed to be dropped in these conditions.

Why do you want to generate this ICMP Redirect using iptables? What is wrong with simply letting the routing code generate the notification as usual?

Quoted 2 lines

BTW: Anybody know is windows is working according with the RFC and is realy " revise its routing table " ?

Probably, but it may require a registry setting... (same for most Linux boxes.. support is there but most often disabled by default for security reasons).

Regards
Henrik