Date: Tue, 19 Feb 2002 01:57:00 -0800 From: "Crist J. Clark" <crist.clark@attbi.com> To: Ruslan Ermilov <ru@FreeBSD.ORG> Cc: Archie Cobbs <archie@dellroad.org>, Garrett Wollman <wollman@khavrinen.lcs.mit.edu>, net@FreeBSD.ORG Subject: Re: rdr 127.0.0.1 and blocking 127/8 in ip_output() Message-ID: <20020219015700.A48401@blossom.cjclark.org> In-Reply-To: <20020219082513.GA49060@sunbay.com>; from ru@FreeBSD.ORG on Tue, Feb 19, 2002 at 10:25:13AM %2B0200 References: <20020218201311.V48401@blossom.cjclark.org> <200202190443.g1J4hji92220@arch20m.dellroad.org> <20020218233554.X48401@blossom.cjclark.org> <20020219082513.GA49060@sunbay.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Feb 19, 2002 at 10:25:13AM +0200, Ruslan Ermilov wrote:
> On Mon, Feb 18, 2002 at 11:35:54PM -0800, Crist J. Clark wrote:
[snip]
> > I'd personally prefer someone just fix lo0 so that,
> >
> > $ ifconfig lo0 inet 127.0.0.1
> >
> > Actually added the route,
> >
> > 127 127.0.0.1 UGSc 0 0 lo0
> >
> > Like,
> >
> > $ ifconfig lo0
> > lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
> > inet 127.0.0.1 netmask 0xff000000
> >
> > Would imply, but it doesn't. I started digging into the code to see
> > about fixing this, but no one seems to be sure if this brokeness is
> > intentional or not, so I never got too enthusiastic.
> >
> Nothing is broken here, we only add ARP routes by default.
OK, so that's a reason we do not get the route. If we stick with
that as proper behavior, I would then assert that this,
> > $ ifconfig lo0
> > lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
> > inet 127.0.0.1 netmask 0xff000000
^^^^^^^^^^^^^^^^^^
Information is at worst incorrect, and at best merely misleading and
useless.
--
Crist J. Clark | cjclark@alum.mit.edu
| cjclark@jhu.edu
http://people.freebsd.org/~cjc/ | cjc@freebsd.org
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020219015700.A48401>
