Re: Confirmation to advance: draft-ietf-6man-ipv6only-flag-05

"Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net> Fri, 10 May 2019 11:19 UTC

Return-Path: <bzeeb-lists@lists.zabbadoz.net>
X-Original-To: ipv6@ietfa.amsl.com
Delivered-To: ipv6@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2D09612021C for <ipv6@ietfa.amsl.com>; Fri, 10 May 2019 04:19:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FgRkSVFt5Kbl for <ipv6@ietfa.amsl.com>; Fri, 10 May 2019 04:19:50 -0700 (PDT)
Received: from mx1.sbone.de (cross.sbone.de [195.201.62.131]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6F774120228 for <ipv6@ietf.org>; Fri, 10 May 2019 04:19:49 -0700 (PDT)
Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:31::2013:587]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id 2B6C68D4A179; Fri, 10 May 2019 11:19:47 +0000 (UTC)
Received: from content-filter.sbone.de (content-filter.sbone.de [IPv6:fde9:577b:c1a9:31::2013:2742]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id 3356AE7085E; Fri, 10 May 2019 11:19:46 +0000 (UTC)
X-Virus-Scanned: amavisd-new at sbone.de
Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:31::2013:587]) by content-filter.sbone.de (content-filter.sbone.de [fde9:577b:c1a9:31::2013:2742]) (amavisd-new, port 10024) with ESMTP id YmPHbmRvLdhE; Fri, 10 May 2019 11:19:43 +0000 (UTC)
Received: from [192.168.2.110] (unknown [IPv6:fde9:577b:c1a9:31:2ef0:eeff:fe03:ee34]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id A075CE7085D; Fri, 10 May 2019 11:19:42 +0000 (UTC)
From: "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
To: Nick Hilliard <nick@foobar.org>
Cc: Philip Homburg <pch-ipv6-ietf-6@u-1.phicoh.com>, ipv6@ietf.org
Subject: Re: Confirmation to advance: draft-ietf-6man-ipv6only-flag-05
Date: Fri, 10 May 2019 11:19:41 +0000
X-Mailer: MailMate (2.0BETAr6137)
Message-ID: <F5BC870A-0853-43A3-A493-DC7DF8701B50@lists.zabbadoz.net>
In-Reply-To: <f1210218-9a51-805f-df31-d96dc9381c91@foobar.org>
References: <F8BFFCAD-E58E-4736-8A1C-56579B6F6032@employees.org> <alpine.DEB.2.20.1905091054560.1824@uplift.swm.pp.se> <m1hOfjp-0000IdC@stereo.hq.phicoh.net> <924a4e34-e5f9-9872-bd4a-c0f68fd5387f@gmail.com> <m1hP1uA-0000EhC@stereo.hq.phicoh.net> <12F17008-16C5-4E58-89DB-BC7D01341CD7@lists.zabbadoz.net> <f1210218-9a51-805f-df31-d96dc9381c91@foobar.org>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/7Fd00Q9F1eiz4Eo3L9qw5or4dBk>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ipv6/>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 10 May 2019 11:19:59 -0000

On 10 May 2019, at 10:23, Nick Hilliard wrote:

> Bjoern A. Zeeb wrote on 10/05/2019 11:06:
>> Yes there is and the last *two* versions of the draft (-04 and -05) 
>> have stated that:
>> A.1.  FreeBSD Implementation  . . . . . . . . . . . . . . . . .  
>> 13
>
> Bjoern,
>
> the freebsd implementation doesn't really implement what's specified 
> in -05, in particular the interaction with dhcpv4 and interface 
> startup discipline.

Similarly phrased twice in the draft it only says:

    Dual stack hosts that have IPv4 active configuration obtained from
    the network (e.g., via DHCP), can ignore the flag and continue to 
use
    IPv4.

If there is IPv4 configuration on the interface the FreeBSD 
implementation will ignore the RA flag.


It also says:

    A host MAY delay all IPv4 operations at start-up or reconnection
    until a reasonable time has elapsed for RA messages to arrive.  If
    all RAs received have the flag set to 1, a host SHOULD NOT attempt
    IPv4 operations.

And the implementation will do an RS, and briefly wait, before trying to 
do DHCPv4.  No DCHPv4 or ARP requests or IPv4 link-local packet will 
ever end up on the air or the wire with the current implementation 
should the flag be active saving all other devices from “being woken 
up” by receiving the broadcasts.


As to when it comes to having more local savings by not running software 
locally.. how I’ll handle and add infrastructure for any kinds of 
third party software sending any other kind of IPv4 broad-/multicast 
noise will highly depend on what the consensus here will be.  Adding the 
extra 10 lines of code for the infrastructure for this is not the issue. 
  Touching 3rd party software is, as compared to most other OSes the 
general audience here might thinking off (Windows, OSX, iOS, Android 
mostly) FreeBSD like most Linux distributions is not a “blob” 
shipping with all that under one control.  And even on these 
aforementioned OSes any third party software could possibly send raw 
packets unless you take the “socket interface” for IPv4 away (and 
even then there are ways), and that is not what this draft asks for.  
Hence the lower-layer filtering is almost implied even for software 
(unless the consensus will be that IPv4 operation should be continue to 
try acquire configuration, in which case the implementation will become 
complicated, KISS will go, and savings of all this will suffer).  I am 
currently not yet willing to impose the cost of adjusting 3rd party 
software on a lot of maintainers while people are still discussing 
acceptance here.


To re-iterate, the savings that I can see can come from two parts:
(a) the IPv4-related packets not having to be seen and processed by 
everyone else (1 packet send, 1..100s..1000s nodes “woken up”; 
it’s very much like every email re-iterating here what has been said 
before is 1 email sent, read by many)
(b) local software optimising itself to save the world (by consuming 
less resources)

and
(b) is something everyone can do all the time and should do and maybe 
there need to be other changes in the future to other protocols as well
(a) is what takes the noise away that really costs.  How you do that is 
a different story and the draft to my best memory and search skills does 
not say how to achieve it (as others have pointed out before) due to the 
different nature of the different operating systems.


/bz