From owner-freebsd-net@FreeBSD.ORG Mon Mar 8 22:44:01 2010 Return-Path: Delivered-To: freebsd-net@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CE76D1065700; Mon, 8 Mar 2010 22:44:01 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from mail.allbsd.org (vlsi00.si.noda.tus.ac.jp [133.31.130.32]) by mx1.freebsd.org (Postfix) with ESMTP id 519858FC08; Mon, 8 Mar 2010 22:44:01 +0000 (UTC) Received: from delta.allbsd.org (p3177-ipbf416funabasi.chiba.ocn.ne.jp [123.225.92.177]) (authenticated bits=128) by mail.allbsd.org (8.14.3/8.14.3) with ESMTP id o28MRre5021555; Tue, 9 Mar 2010 07:28:04 +0900 (JST) (envelope-from hrs@FreeBSD.org) Received: from localhost (alph.allbsd.org [192.168.0.10]) (authenticated bits=0) by delta.allbsd.org (8.13.4/8.13.4) with ESMTP id o28MRmVt084800; Tue, 9 Mar 2010 07:27:52 +0900 (JST) (envelope-from hrs@FreeBSD.org) Date: Tue, 09 Mar 2010 07:27:19 +0900 (JST) Message-Id: <20100309.072719.200228546.hrs@allbsd.org> To: freebsd-rc@FreeBSD.org, dougb@FreeBSD.org From: Hiroki Sato In-Reply-To: <4B945AA7.6070000@FreeBSD.org> References: <4B945AA7.6070000@FreeBSD.org> X-PGPkey-fingerprint: BDB3 443F A5DD B3D0 A530 FFD7 4F2C D3D8 2793 CF2D X-Mailer: Mew version 6.3 on Emacs 23.1 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Multipart/Signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="--Security_Multipart(Tue_Mar__9_07_27_19_2010_858)--" Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.95.3 at gatekeeper.allbsd.org X-Virus-Status: Clean X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.3 (mail.allbsd.org [133.31.130.32]); Tue, 09 Mar 2010 07:28:10 +0900 (JST) X-Spam-Status: No, score=0.2 required=13.0 tests=AWL,CONTENT_TYPE_PRESENT, SPF_SOFTFAIL,X_MAILER_PRESENT autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gatekeeper.allbsd.org Cc: freebsd-net@FreeBSD.org Subject: Re: Un-obsolete'ing ipv6_enable X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Mar 2010 22:44:01 -0000 ----Security_Multipart(Tue_Mar__9_07_27_19_2010_858)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Doug Barton wrote in <4B945AA7.6070000@FreeBSD.org>: do> As we've previously discussed, I would like to un-obsolete ipv6_enable, do> and return it to the status of being the knob that actually controls do> whether or not we configure IPv6. My understanding is that the consensus do> is in agreement with this change, however I'm posting my proposed patch do> (minus the rc.conf(5) change) just in case. If you have any objection, do> please speak up sooner rather than later. I do not think we reached the consensus on reverting the change. In my understanding there are people who want $ipv6_enable but the reason why is they just feel they need a way to disable the functionality. The current implementation is based on a concept of "to enable IPv6 all you need is simply adding an IPv6 GUA to the interface", which is the same as what we have for IPv4 configuration, and it has an additional seatbelt to prevent unexpected IPv6 communication when ipv6_prefer=NO (default). The $ipv6_enable does not disable the functionality actually contrary to people's expectation, and another problem is that what will be done by such per-protocol *_enable knobs are not intuitive. After changing $ipv6_enable=YES (or NO), what rc.d script should be invoked to reflect the change, for example? What to be done is nothing but configuring NICs, routes, and network options in the same way as for IPv4. Because we have IPv6-enabled kernel as the GENERIC, some basic initialization is needed even if the sysadmin do not want to use IPv6 at all. I think we do not need to have $ipv6_enable since we do not have $ipv4_enable. -- Hiroki ----Security_Multipart(Tue_Mar__9_07_27_19_2010_858)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEABECAAYFAkuVeccACgkQTyzT2CeTzy2W3QCfUOOVn/Qj11m1ohT4lafEGXyF y7cAn2bmUeCQwqiB4ulU1/vKfU/nuYf8 =bvBA -----END PGP SIGNATURE----- ----Security_Multipart(Tue_Mar__9_07_27_19_2010_858)----