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

From: Andi Kleen
Date: Sun Mar 06 2005 - 16:31:11 EST


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
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html