From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII X-Google-Thread: fa528,4bdc63abddb47378,start X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2001-09-26 05:56:52 PST Path: archiver1.google.com!newsfeed.google.com!postnews1.google.com!not-for-mail From: mmagenc@proxis-services.fr (=?ISO-8859-1?Q?Mich=E8le_Magenc?=) Newsgroups: comp.unix.tru64 Subject: Enhancing IP layer in order to disable ICMP redirects on a route-basis rather than system-basis Date: 26 Sep 2001 05:56:51 -0700 Organization: http://groups.google.com/ Message-ID: <6c0a4ed0.0109260456.49eddc3d@posting.google.com> NNTP-Posting-Host: 195.115.72.73 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1001509012 5552 127.0.0.1 (26 Sep 2001 12:56:52 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 26 Sep 2001 12:56:52 GMT Xref: archiver1.google.com comp.unix.tru64:5029 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 .