Date: Tue, 06 Oct 2009 04:50:43 +0900 (JST) From: Hiroki Sato <hrs@FreeBSD.org> To: des@des.no Cc: freebsd-current@FreeBSD.org, freebsd-rc@FreeBSD.org Subject: Re: nd6 change and rc.d/network_ipv6 -> rc.d/netif integration Message-ID: <20091006.045043.187164797.hrs@allbsd.org> In-Reply-To: <86my45vhlj.fsf@ds4.des.no> References: <20091005055806.GB58246@zibbi.meraka.csir.co.za> <20091005.182342.167950100.hrs@allbsd.org> <86my45vhlj.fsf@ds4.des.no>
next in thread | previous in thread | raw e-mail | index | archive | help
----Security_Multipart(Tue_Oct__6_04_50_43_2009_396)-- Content-Type: Text/Plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Dag-Erling Sm=F8rgrav <des@des.no> wrote in <86my45vhlj.fsf@ds4.des.no>: de> Hiroki Sato <hrs@FreeBSD.org> writes: de> > John Hay <jhay@meraka.org.za> writes: de> > > Is there a good reason why we still ship with ipv6 off by defau= lt? de> > What do you mean by "off by default"? I think IPv6 is not disabl= ed by de> > default with the patch. de> = de> % ident /usr/src/etc/defaults/rc.conf = de> /usr/src/etc/defaults/rc.conf: de> $FreeBSD: head/etc/defaults/rc.conf 197619 2009-09-29 16:49:10= Z dougb $ de> % grep ipv6_network_interfaces /usr/src/etc/defaults/rc.conf de> ipv6_network_interfaces=3D"none" # List of IPv6 network interfaces de> #ipv6_network_interfaces=3D"ed0 ep0" # Examples for router de> % grep ipv6_prefer /usr/src/etc/defaults/rc.conf = de> ipv6_prefer=3D"NO" # Use IPv6 when both IPv4 and IPv6 can be used de> = de> Does mean that IPv6 is disabled by default? Who knows? There is n= o de> coherent explanation *anywhere* of what these variables mean, and de> rc.conf(5) does not mention them at all. In fact, the first hit fo= r de> "ipv6" in rc.conf(5) is this: de> = de> ipv6_enable de> (bool) Enable support for IPv6 networking. Note t= hat this de> requires that the kernel has been compiled with op= tions de> INET6. No, the rc.conf(5) has been updated in r197526: ipv6_enable (bool) If the variable is ``YES'', ``inet6 accept_rtad= v'' is added to all of ifconfig_<interface>_ipv6 and the ipv6= _prefer is defined as ``YES''. This variable is deprecated. Use ipv6_prefer and ifconfig_<interface>_ipv6. and UPDATING also explains the relationship between the $ipv6_enable and the other variables. IMHO "Enabling (or disabling) IPv6" is not a correct expression for $ipv6_enable and $ipv6_prefer. If you use a kernel with "options INET6" (GENERIC has it) IPv6 is enabled, and $ipv6_enable=3DNO in the old releases does not disable the functionality. It just controlled whether $ipv6_* in rc.conf are ignored or not. -- Hiroki ----Security_Multipart(Tue_Oct__6_04_50_43_2009_396)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEABECAAYFAkrKThMACgkQTyzT2CeTzy29fwCeM8VpJjt2YI1voNdec3kHVlGS AecAmgI52ETW3Q/PDEQW1h7FsZRkENfc =gvTH -----END PGP SIGNATURE----- ----Security_Multipart(Tue_Oct__6_04_50_43_2009_396)----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091006.045043.187164797.hrs>