From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII X-Google-Thread: fa528,46db19601d9cf614 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2001-03-26 14:18:03 PST Path: supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!newsfeed.stanford.edu!paloalto-snf1.gtei.net!news.gtei.net!news.compaq.com!news.cpqcorp.net!not-for-mail Message-ID: <3ABFBFAE.48C950ED@zk3.dec.com> From: Brian Haley X-Mailer: Mozilla 4.76 [en] (X11; U; OSF1 V4.0 alpha) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.unix.tru64 Subject: Re: How remove a route permanently. References: <3AB77843.91DC3D3A@hotmail.com> <3AB798F6.7D7C615B@hotmail.com> <998b3a$apq$1@news6.isdnet.net> <3AB7B2B3.2A0DA874@t-online.de> <998fsu$spv$1@news4.isdnet.net> <3AB8B120.5C9BD559@hotmail.com> <99dkle$j2f$1@unlisys.unlisys.net> <99do74$dhl$1@news2.isdnet.net> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Date: Mon, 26 Mar 2001 17:16:14 -0500 NNTP-Posting-Host: 16.140.64.151 X-Complaints-To: abuse@Compaq.com X-Trace: news.cpqcorp.net 985644975 16.140.64.151 (Mon, 26 Mar 2001 14:16:15 PST) NNTP-Posting-Date: Mon, 26 Mar 2001 14:16:15 PST Organization: Compaq Computer Corporation Xref: supernews.google.com comp.unix.tru64:1956 You need to dbx the kernel and set the ICMP rejectmask accordingly: # dbx -k /vmunix (dbx) assign icmp_rejectcodemask=0x20 32 You can do this for other ICMP types by setting the bit corresponding to the types defined in ip_icmp.h (ICMP_REDIRECT is bit 5). To make this permanent accross a reboot, you can use the "patch" command in dbx, or you can put the assignment in a startup script like /etc/inet.local that gets run at boot time. BTW, check into why you're getting the redirect, that router might be trying to tell you something. -Brian ----------------------------------------------------------------- Brian P. Haley Tru64 UNIX Networking Group Compaq Computer Corporation Piotri wrote: > Yes, I'm agree with you, it's that I would say. > I don't know that it's not possible to disable this functionality in TCP/IP > stack of the server who receive the redirect packets. > Thanks for the news !!!! > > "sake" a �crit dans le message news: > 99dkle$j2f$1@unlisys.unlisys.net... > > Hi, > > > > the dynamic routes are created through an server/router which has > > the option set to send ICMP redirect messages. This can be turned off. > > > > Your system wants to send a packet along a "wrong" route. This > > router catches the paket and sends it to the "right" adress and sends > > your system this redirect messages. > > > > you can avoid this by turning this feature off of the router. > > im not sure with TRU64 but at least with linux it is possible to discard > all > > incoming > > redirect messages because this feature can be exploited. > > > > also see "tcp/ip illustrated volume 1" chapter 9 from W. Richard Stevens > > > > have fun > > SaKe > > > > Mario Stargard schrieb in Nachricht <3AB8B120.5C9BD559@hotmail.com>... > > > Well, if there's something accepting packets, then there must be an > > >open network port. Anything look out of place in netstat -na or lsof -i > > >|grep LISTEN ? > > > > > >Piotri wrote: > > >> > > >> On my servers (4.0 D), I have dynamic routes, but I don't have routed, > > gated > > >> or ogated running. > > >> I think that it's more low level fonctionality, in the TCP/IP stack. > > >> The server receive a redirect packet and interpret it, his route table > > >> change dynamicaly. > > >> I don't found how to make that the system don't "accept" the redirect > > >> packets. > > >> Your opinion ? > > >> > > >> "J�rg Bochert" a �crit dans le message > news: > > >> 3AB7B2B3.2A0DA874@t-online.de... > > >> > Yep Sir, you are right. > > >> > Probably routed is running on the system. > >