From: Brian Haley <haley@zk3.dec.com>
Subject: Re: How remove a route permanently.
Date: Mon, 26 Mar 2001 17:16:14 -0500 [thread overview]
Message-ID: <3ABFBFAE.48C950ED@zk3.dec.com> (raw)
In-Reply-To: 99do74$dhl$1@news2.isdnet.net
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" <sake@snafu.de> 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" <joerg.bochert@t-online.de> a �crit dans le message
> news:
> > >> 3AB7B2B3.2A0DA874@t-online.de...
> > >> > Yep Sir, you are right.
> > >> > Probably routed is running on the system.
> >
next prev parent reply other threads:[~2001-03-26 22:16 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-03-20 13:54 How remove a route permanently �yvind Skjold
2001-03-20 15:33 ` Mario Stargard
2001-03-20 16:01 ` �yvind Skjold
2001-03-20 17:52 ` Mario Stargard
2001-03-20 19:26 ` Piotri
2001-03-20 19:42 ` Jörg Bochert
2001-03-20 20:47 ` Mario Stargard
2001-03-20 20:48 ` Piotri
2001-03-21 2:25 ` Jörg Bochert
2001-03-21 13:48 ` Mario Stargard
2001-03-22 15:11 ` �yvind Skjold
2001-03-23 19:41 ` sake
2001-03-22 20:41 ` Piotri
2001-03-26 22:16 ` Brian Haley [this message]
2001-03-25 3:06 ` Steve
2001-03-26 8:17 ` Jörg Bochert
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox