From owner-svn-src-all@FreeBSD.ORG Fri Apr 16 22:30:07 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 59E4C106564A; Fri, 16 Apr 2010 22:30:07 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from mail.cksoft.de (mail.cksoft.de [IPv6:2001:4068:10::3]) by mx1.freebsd.org (Postfix) with ESMTP id 175BC8FC17; Fri, 16 Apr 2010 22:30:07 +0000 (UTC) Received: from localhost (amavis.fra.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id 77D2241C7AE; Sat, 17 Apr 2010 00:30:06 +0200 (CEST) X-Virus-Scanned: amavisd-new at cksoft.de Received: from mail.cksoft.de ([192.168.74.103]) by localhost (amavis.fra.cksoft.de [192.168.74.71]) (amavisd-new, port 10024) with ESMTP id 5iO1t4IQeHrc; Sat, 17 Apr 2010 00:30:06 +0200 (CEST) Received: by mail.cksoft.de (Postfix, from userid 66) id 0E5F341C7AD; Sat, 17 Apr 2010 00:30:06 +0200 (CEST) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id 7EE0F4448EC; Fri, 16 Apr 2010 22:27:57 +0000 (UTC) Date: Fri, 16 Apr 2010 22:27:57 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: Doug Barton In-Reply-To: <201004090135.o391Z9q2092650@svn.freebsd.org> Message-ID: <20100416214823.Q40281@maildrop.int.zabbadoz.net> References: <201004090135.o391Z9q2092650@svn.freebsd.org> X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r206408 - in head: etc etc/defaults etc/rc.d share/man/man5 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Apr 2010 22:30:07 -0000 On Fri, 9 Apr 2010, Doug Barton wrote: Hi, first off all it would have been easier to figure a few things out, if the several different things had been individual commits or if the commit hadn't happed in the middle of a discussion that died with this. The comments below are on the first four things I could figure out easily. > Author: dougb > Date: Fri Apr 9 01:35:09 2010 > New Revision: 206408 > URL: http://svn.freebsd.org/changeset/base/206408 > > Log: ... > 6. Add support for the [NO]RTADV options in ifconfig_getargs() and > ipv6_autoconfif(). In the latter, include support for the explicit > addition of [-]accept_rtadv in ifconfig__ipv6 as is done > in the current code. So usually we seem to use the upper case pseudo arguments like DHCP, SYNCDHCP, WPA, .. in combination with an actual command to start apart from ifconfig. Now RTADV does not do that but it passes accept_rtadv or -accept_rtadv to ifconfig. So if you need a command alias for that it should probably be in ifconfig and discussed separately. Please revert this part. > Switch ipv6_prefer to YES. If ipv6_enable is not set this will have > no effect. This changed the default. I am pretty sure this is going to bite massively. Why do we need opt-out rather than the previous opt-in here? I have no idea where in the commit message it was but I must have missed it. Anyway, with this change the link-local addresses are there by default (even though luckily still disabled -- though I not entirely sure that this would hold for all possible combinations) even if there is no IPv6 configured. We didn't have this on say stable/7 unless explicitly configured (globally) and I am not sure for how many releases. This should be reverted. It should be added that I think these defaults will hell confuse people even more as things are there even though not configured and are not working because they are disabled. The learning curve to figure that out is way higher than simply "nothing there -> put and ifconfig_IF_ipv6 line into rc.conf". > 5. In rc.d/netoptions, add code for an ipv6_privacy option to use > RFC 4193 style pseudo-random addresses .. > Add a default for ipv6_privacy (NO). I think this is the only option I can say I feel ok with so far. /bz -- Bjoern A. Zeeb It will not break if you know what you are doing.