Re: you have running code ... I-D Action: draft-ietf-6man-ipv6only-flag-03.txt

"Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net> Tue, 30 October 2018 21:09 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 329091276D0 for <ipv6@ietfa.amsl.com>; Tue, 30 Oct 2018 14:09:43 -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 5nNmOKi3c7Dq for <ipv6@ietfa.amsl.com>; Tue, 30 Oct 2018 14:09:41 -0700 (PDT)
Received: from mx1.sbone.de (mx1.sbone.de [IPv6:2a01:4f8:13b:39f::9f:25]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2358A124408 for <ipv6@ietf.org>; Tue, 30 Oct 2018 14:09:41 -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 6E79B8D4A15C; Tue, 30 Oct 2018 21:09:39 +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 5ECADD1F857; Tue, 30 Oct 2018 21:09:38 +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 sCOXKfovLHXy; Tue, 30 Oct 2018 21:09:35 +0000 (UTC)
Received: from [10.248.99.65] (fresh-ayiya.sbone.de [IPv6:fde9:577b:c1a9:f001::2]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id 4C109D1F856; Tue, 30 Oct 2018 21:09:35 +0000 (UTC)
From: "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
To: Job Snijders <job@instituut.net>
Cc: 6man WG <ipv6@ietf.org>
Subject: Re: you have running code ... I-D Action: draft-ietf-6man-ipv6only-flag-03.txt
Date: Tue, 30 Oct 2018 21:09:34 +0000
X-Mailer: MailMate (2.0BETAr6125)
Message-ID: <F69828EC-5E0A-42FC-91FF-574F1D279E81@lists.zabbadoz.net>
In-Reply-To: <CACWOCC-xL0PfkNHgCqhB28GE-jCWUUagQE4PukdpXK+YHgWpyg@mail.gmail.com>
References: <153973137181.9473.10666616544238076833@ietfa.amsl.com> <6264F7A1-59EB-467D-A576-E5F2F0DEE7DD@lists.zabbadoz.net> <CACWOCC-xL0PfkNHgCqhB28GE-jCWUUagQE4PukdpXK+YHgWpyg@mail.gmail.com>
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/tI7ydqQ8AxBlUTeQLvkvW0UfL5Q>
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: Tue, 30 Oct 2018 21:09:43 -0000

On 30 Oct 2018, at 20:27, Job Snijders wrote:

Hi,

> It is great to see people produce running code for experimentation -
> congratulations!
>
> Can you (or others running FreeBSD EXPERIMENTAL) share reports on how
> this pans out in practise?

Well, it would be great if I could turn the flag on on various other 
default routers on the networks I am normally on.  Hope $C and $J and $A 
at least will have this one shipping quickly once it’s an RFC.


> What gaps between reality and documentation
> are uncovered,

I’ve shared little notes with Bob and Brian and I am sure they’ll 
update things;  I’ll send some of that out there the next days (if 
they don’t beat me).  I also patched tcpdump to see the flag and I can 
share some ifconfig/ndp output if it’s desirable.


> or whether the patch was complete/not-complete?

Software is never complete ;-)   As I said “implement a minimalistic 
set of this”.  That’s what it is.
If I would add to this (and I am sure I will) it’ll be the following 
(in order):
(a) RX filter based on interface flag so packets don’t make it up the 
stack at least anymore
(b) a global (system-wide, not per-link) flag to allow an administrator 
to overrule the decision (for whatever reason)
(c) allowing the system admin to set the interface specific IPV6_ONLY 
flag in a sticky way manually without the RAs (hey I am fine with 
v6only, don’t try v4 even if you could);   also great for apps people 
to test if they can’t get a full test network to play with.
(d) deal with dhclient and do make ipv6 start before ipv4 as indicated 
in the draft.


I could go and teach gazillions of user space applications about it 
(dhclient probably one of the most nagging ones) to save local battery 
cycles as well, but then I could just compile a FreeBSD client without 
INET support (which we did in 2011) and be done with it.   I think what 
I am trying to say:  why waste time on software which is almost 
obsolete?

I’ve done an experiment years ago, running an “IPv6-only” kernel 
with EAFNOSUPPORT coming back earlier in the stack rather than later.  
Also we have a library function in FreeBSD which indicates if the 
feature “inet” or “inet6” (and others) are present or compiled 
out.  So it’s been there for apps people to test with for 7+ years..  
=this is just yet another flag to care about.


> What OS vendor will go next?

All hopefully :-)

>
> Kind regards,
>
> Job
>
> On Tue, Oct 30, 2018 at 9:13 PM Bjoern A. Zeeb
> <bzeeb-lists@lists.zabbadoz.net> wrote:
>>
>> On 16 Oct 2018, at 23:09, internet-drafts@ietf.org wrote:
>>
>>> A New Internet-Draft is available from the on-line Internet-Drafts
>>> directories.
>>> This draft is a work item of the IPv6 Maintenance WG of the IETF.
>>>
>>>         Title           : IPv6 Router Advertisement IPv6-Only Flag
>>>         Authors         : Robert M. Hinden
>>>                           Brian Carpenter
>>>       Filename        : draft-ietf-6man-ipv6only-flag-03.txt
>>>       Pages           : 12
>>>       Date            : 2018-10-16
>>>
>>> Abstract:
>>>    This document specifies a Router Advertisement Flag to indicate 
>>> to
>>>    hosts that the administrator has configured the router to 
>>> advertise
>>>    that the link is IPv6-Only.  This document updates RFC5175.
>>
>> You have running code:
>>
>> https://lists.freebsd.org/pipermail/svn-src-head/2018-October/119360.html
>>
>> I wish the discussions would be as short as the code changes that are
>> needed to implement a minimalistic set of this.
>>
>> Love and peace and no more IPv4 noise.
>>
>> /bz