Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Sep 2001 11:50:05 -0700 (PDT)
From:      "Scot W. Hetzel" <scot@genroco.com>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: misc/30792: traffic destined for 127/8 addresses should be kept off the network
Message-ID:  <200109241850.f8OIo5K34742@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR misc/30792; it has been noted by GNATS.

From: "Scot W. Hetzel" <scot@genroco.com>
To: <FreeBSD-gnats-submit@FreeBSD.ORG>, <jabley@automagic.org>
Cc:  
Subject: Re: misc/30792: traffic destined for 127/8 addresses should be kept off the network
Date: Mon, 24 Sep 2001 13:40:27 -0500

 This is a multi-part message in MIME format.
 
 ------=_NextPart_000_021D_01C144FE.78411E40
 Content-Type: text/plain;
 	charset="Windows-1252"
 Content-Transfer-Encoding: 7bit
 
 Another alternative to patching rc.network, is to define static_routes and
 add route_loopback to etc/defaults/rc.conf (see attached patch).
 
 We may also need do this for IPv6's loopback network.
 
 Scot
 
 
 
 ------=_NextPart_000_021D_01C144FE.78411E40
 Content-Type: application/octet-stream;
 	name="loopback.patch"
 Content-Transfer-Encoding: quoted-printable
 Content-Disposition: attachment;
 	filename="loopback.patch"
 
 Index: rc.conf=0A=
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A=
 RCS file: /home/ncvs/src/etc/defaults/rc.conf,v=0A=
 retrieving revision 1.53.2.40=0A=
 diff -u -r1.53.2.40 rc.conf=0A=
 --- rc.conf	2001/09/14 17:28:11	1.53.2.40=0A=
 +++ rc.conf	2001/09/24 17:47:42=0A=
 @@ -190,7 +190,7 @@=0A=
  =0A=
  ### Network routing options: ###=0A=
  defaultrouter=3D"NO"		# Set to default gateway (or NO).=0A=
 -static_routes=3D""		# Set to static route list (or leave empty).=0A=
 +static_routes=3D"loopback"	# Set to static route list (or leave empty).=0A=
  gateway_enable=3D"NO"		# Set to YES if this host will be a gateway.=0A=
  router_enable=3D"NO"		# Set to YES to enable a routing daemon.=0A=
  router=3D"routed"			# Name of routing daemon to use if enabled.=0A=
 @@ -204,6 +204,10 @@=0A=
  forward_sourceroute=3D"NO"	# do source routing (only if gateway_enable =
 is set to "YES")=0A=
  accept_sourceroute=3D"NO"		# accept source routed packets to us=0A=
  =0A=
 +# static route list.=0A=
 +route_loopback=3D"-net 127 -netmask 255.0.0.0 -iface lo0 -blackhole"=0A=
 +ipv6_route_loopback=3D"Add example IPv6 loopback route"=0A=
 +=0A=
  ### ATM interface options: ###=0A=
  atm_enable=3D"NO"			# Configure ATM interfaces (or NO).=0A=
  #atm_netif_hea0=3D"atm 1"		# Network interfaces for physical interface.=0A=
 
 ------=_NextPart_000_021D_01C144FE.78411E40--
 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200109241850.f8OIo5K34742>