From owner-freebsd-net@FreeBSD.ORG Thu Jul 10 22:08:32 2014 Return-Path: Delivered-To: freebsd-net@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0285E72D; Thu, 10 Jul 2014 22:08:32 +0000 (UTC) Received: from caravan.chchile.org (caravan.chchile.org [178.32.125.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Caravan", Issuer "Mail Client CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id C31DB2AB7; Thu, 10 Jul 2014 22:08:31 +0000 (UTC) Received: by caravan.chchile.org (Postfix, from userid 1000) id 29B3CB28B0; Thu, 10 Jul 2014 22:01:16 +0000 (UTC) Date: Fri, 11 Jul 2014 00:01:16 +0200 From: Jeremie Le Hen To: freebsd-net@FreeBSD.org Subject: Description change proposal for the no_prefer_iface flag Message-ID: <20140710220115.GA91832@caravan.chchile.org> Mail-Followup-To: freebsd-net@FreeBSD.org, ume@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) Cc: ume@FreeBSD.org X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jul 2014 22:08:32 -0000 Hi Hajimu-san, net@, I plan to commit the following change to the no_prefer_iface flag description in the ifconfig(8) manpage. I find it easier to understand and more explicit than the current one. Comments? Index: sbin/ifconfig/ifconfig.8 =================================================================== --- sbin/ifconfig/ifconfig.8 (revision 268508) +++ sbin/ifconfig/ifconfig.8 (working copy) @@ -679,9 +679,11 @@ Clear a flag .Cm nud . .It Cm no_prefer_iface -Set a flag to not prefer address on the interface as candidates of the -source address for outgoing packets, even when the interface is -outgoing interface. +Set a flag to not honor rule 5 of source address selection in RFC 3484. +In practice this means the address on the outgoing interface which will +be used will not be preferred, effectively yielding the decision to the +address selection policy table, configurable with +.Xr ip6addrctl 8 . .It Cm -no_prefer_iface Clear a flag .Cm no_prefer_iface . -- Jeremie Le Hen Scientists say the world is made up of Protons, Neutrons and Electrons. They forgot to mention Morons.