netdev
[Top] [All Lists]

Re: Do you know the TCP stack? (127.x.x.x routing)

To: Thomas Graf <tgraf@xxxxxxx>
Subject: Re: Do you know the TCP stack? (127.x.x.x routing)
From: Andi Kleen <ak@xxxxxx>
Date: 6 Mar 2005 22:30:47 +0100
Date: Sun, 6 Mar 2005 22:30:47 +0100
Cc: Zdenek Radouch <zdenek@xxxxxxx>, Martin Mares <mj@xxxxxx>, netdev@xxxxxxxxxxx, linux-net@xxxxxxxxxxxxxxx
In-reply-to: <20050306204516.GR31837@postel.suug.ch>
References: <E1D7zBN-0004hX-00@smtp02.mrf.mail.rcn.net> <E1D7lQN-0002gz-00@smtp06.mrf.mail.rcn.net> <E1D7lQN-0002gz-00@smtp06.mrf.mail.rcn.net> <E1D7zBN-0004hX-00@smtp02.mrf.mail.rcn.net> <20050306173145.GQ31837@postel.suug.ch> <E1D81mg-0002rz-00@smtp01.mrf.mail.rcn.net> <m1y8d0mss2.fsf@muc.de> <20050306204516.GR31837@postel.suug.ch>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mutt/1.4.1i
On Sun, Mar 06, 2005 at 09:45:16PM +0100, Thomas Graf wrote:
> * Andi Kleen <m1y8d0mss2.fsf@xxxxxx> 2005-03-06 21:19
> > Zdenek Radouch <zdenek@xxxxxxx> writes:
> > >
> > > There is no doubt that the 127.x net is treated in a special
> > > way.  If I have to believe what I just learned, then the 127
> > 
> > It is. 127.* is hardcoded in the routing engine and e.g.
> > it won't accept outside packets with a loopback address.
> > 
> > Most likely it's enough to change the "LOOPBACK" macro to allow
> > parts of the Class A to be used for other purposes.
> 
> Yes, it will work around the martian route and arp checks but
> will probably break quite a few usersapce applications.

Unlikely. glibc has an own LOOPBACK() and all modern distributions
use separate kernel/user headers anyways.

-Andi

<Prev in Thread] Current Thread [Next in Thread>