From owner-freebsd-bugs Fri Jan 18 1:30: 9 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 453E137B402 for ; Fri, 18 Jan 2002 01:30:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g0I9U2x31695; Fri, 18 Jan 2002 01:30:02 -0800 (PST) (envelope-from gnats) Date: Fri, 18 Jan 2002 01:30:02 -0800 (PST) Message-Id: <200201180930.g0I9U2x31695@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: "Crist J . Clark" Subject: Re: misc/33996: 127.0.0.0/8 not added to routing table by default Reply-To: "Crist J . Clark" Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR misc/33996; it has been noted by GNATS. From: "Crist J . Clark" To: Ruslan Ermilov Cc: bug-followup@FreeBSD.ORG Subject: Re: misc/33996: 127.0.0.0/8 not added to routing table by default Date: Fri, 18 Jan 2002 01:22:34 -0800 On Thu, Jan 17, 2002 at 08:30:02AM -0800, Ruslan Ermilov wrote: > The following reply was made to PR misc/33996; it has been noted by GNATS. > > From: Ruslan Ermilov > To: Aragon Gouveia > Cc: bug-followup@FreeBSD.org > Subject: Re: misc/33996: 127.0.0.0/8 not added to routing table by default > Date: Thu, 17 Jan 2002 18:20:01 +0200 > > On Thu, Jan 17, 2002 at 08:02:01AM -0800, Aragon Gouveia wrote: > > > > > > The reserved 127.0.0.0/8 range is not added to FreeBSD's routing > > table with destination interface lo0 by default. Instead, only > > 127.0.0.1/32 is being routed to the loopback interface. Pinging, > > for example, 127.2.3.4 returns no response - in my case it tries > > to route via the default route out onto the net! > > > Nah, this is something that should be controlled with a firewall. > The default ipfw(8) rules block this. Also, the kernel function > in_canforward() does not allow forwarding of IP packets with the > destination address in the 127.0.0.0/8 range. > > Can this PR be closed now? Well, there is a bug here. Have you ever actually tried, # ping 127.2.3.4 And sniffed the wire? That is a Bad Thing. No machine should ever let 127/8 on the wire. But I believe there is another PR on this. -- 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-bugs" in the body of the message