Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* Enhancing IP layer in order to disable ICMP redirects on a route-basis rather than system-basis
@ 2001-09-26 12:56 Michèle Magenc
  2001-10-01 22:30 ` Brian Haley
  0 siblings, 1 reply; 3+ messages in thread
From: Michèle Magenc @ 2001-09-26 12:56 UTC (permalink / raw)


Hello !

In certain circumstances, it happens that IP hosts "loose" routes
because they've been updated upon receipt of inappropriate ICMP
Redirect messages.
In such cases, disabling ICMP Redirects on IP hosts may help.
I can detail such examples in a further reply if somebody asks for it.

Currently, TRU64 UNIX provides an undocumented kernel variable called
icmp_rejectcodemask which can be patched to the value %hex 20,
so that the IP layer will "ignore" ICMP redirects. 
Patching the system requires to patch it each time the kernel is
re-generated. This patch modifies the routes on a system-wide basis,
so for those of the routes which would benefit from ICMP redirects,
there's a loss of efficiency because the originating packets would
systematically reach the first-hop gateway, then be forwarded to the
right gateway, while the first-hop gateway would systematically send
ICMP redirects to the originating host.

So it seems to me that it would be nice to have a flag specifying
wether a static route may be overriden by an ICMP Redirect. This flag
would apply to the 'route' command and to the '/etc/routes' file.

RFC 1122 "Requirements for Internet Hosts -- Communication Layers" ,
section 3.3.1.2 states this feature may be implemented :
>>>As an extra feature, a host IP layer MAY implement a table of
>>>"static routes". Each such static route MAY include a flag
>>>specifying whether it may be overridden by ICMP Redirects.

For example , the format of a line in /etc/routes would look like:  

Dest Name1 Name2  [-p]

[-p] would be an optionnal flag :
- if omitted, the static route may be overriden by ICMP redirect
- if specified, the static route must not be overriden by ICMP
redirect.

Such an enhancement would provide a better alternative to the way
TRU64 Unix currently disables ICMP Redirect routes updates .

I'd be interested in opinions concerning this subject. I asked Compaq
to transmit this suggestion to the TRU64 UNIX engineering group, but
they refused to do so, because they say that :

1) this enhancement is only an extra-feature in the RFC 1122, 
not a requirement
2) this is not a business issue.

Thanks in advance for your inputs,
Mich�le .


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-10-05 10:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-09-26 12:56 Enhancing IP layer in order to disable ICMP redirects on a route-basis rather than system-basis Michèle Magenc
2001-10-01 22:30 ` Brian Haley
2001-10-05 10:27   ` Michèle Magenc

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox