Re: [v6ops] Windows 10 doesn't honour 'M' flag in RA

JINMEI Tatuya / 神明達哉 <jinmei@wide.ad.jp> Thu, 14 December 2017 02:58 UTC

Return-Path: <jinmei@wide.ad.jp>
X-Original-To: v6ops@ietfa.amsl.com
Delivered-To: v6ops@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 773DF127078; Wed, 13 Dec 2017 18:58:46 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.121
X-Spam-Level:
X-Spam-Status: No, score=-6.121 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_NEUTRAL=0.779] 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 JqnuMut3bi9i; Wed, 13 Dec 2017 18:58:44 -0800 (PST)
Received: from mx.pao1.isc.org (mx.pao1.isc.org [IPv6:2001:4f8:0:2::2b]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3289D124234; Wed, 13 Dec 2017 18:58:43 -0800 (PST)
Received: from zmx1.isc.org (zmx1.isc.org [149.20.0.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx.pao1.isc.org (Postfix) with ESMTPS id 37DDE3B549D; Thu, 14 Dec 2017 02:58:41 +0000 (UTC)
Received: from zmx1.isc.org (localhost [127.0.0.1]) by zmx1.isc.org (Postfix) with ESMTPS id CD521160041; Thu, 14 Dec 2017 02:58:40 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1]) by zmx1.isc.org (Postfix) with ESMTP id 90E59160048; Thu, 14 Dec 2017 02:58:40 +0000 (UTC)
Received: from zmx1.isc.org ([127.0.0.1]) by localhost (zmx1.isc.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id Pgwk3jNcJRV2; Thu, 14 Dec 2017 02:58:40 +0000 (UTC)
Received: from jmb.localhost (unknown [73.93.155.16]) by zmx1.isc.org (Postfix) with ESMTPSA id 4F75A160041; Thu, 14 Dec 2017 02:58:40 +0000 (UTC)
Date: Wed, 13 Dec 2017 18:58:39 -0800
Message-ID: <m2vahayq00.wl%jinmei@wide.ad.jp>
From: JINMEI Tatuya / 神明達哉 <jinmei@wide.ad.jp>
To: Naveen Kottapalli <naveen.sarma@gmail.com>
Cc: Mikael Abrahamsson <swmike@swm.pp.se>, "v6ops@ietf.org" <v6ops@ietf.org>, "ipv6@ietf.org" <ipv6@ietf.org>
In-Reply-To: <CANFmOtkKcq8fkms5op1WftLmGok003UcMt4Y+0+3BLcE_myO0Q@mail.gmail.com>
References: <CANFmOtnJiKtBH9WuOjfAAaOxmrQ8SanU1ATiEY_zSA9DbAuUAA@mail.gmail.com> <CAAedzxptEK5nZTVHwuzG0aK119Ns61cdfNT3JWPafTGcAxMeeg@mail.gmail.com> <CANFmOtm2SU13o3Wey1XqhQf0WuuTzm80XXPp7Q9UGiV6Kvh5DA@mail.gmail.com> <alpine.DEB.2.20.1712120844540.8884@uplift.swm.pp.se> <b90e4615-eee9-839a-c65b-805824122c29@gmail.com> <7c3d5bb6f4cf4df98ce53c705816242c@XCH15-06-02.nw.nos.boeing.com> <CANFmOtmdORBxjT4zHf65uKNR6-YrEYHoMCBrcCogHBWP7+ifcw@mail.gmail.com> <alpine.DEB.2.20.1712131225280.8884@uplift.swm.pp.se> <CANFmOtkKcq8fkms5op1WftLmGok003UcMt4Y+0+3BLcE_myO0Q@mail.gmail.com>
User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/24.5 Mule/6.0 (HANACHIRUSATO)
MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka")
Content-Type: text/plain; charset="US-ASCII"
Archived-At: <https://mailarchive.ietf.org/arch/msg/v6ops/uoYQ2zNHrFGphSav0ZuEhK6fbSA>
Subject: Re: [v6ops] Windows 10 doesn't honour 'M' flag in RA
X-BeenThere: v6ops@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: v6ops discussion list <v6ops.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/v6ops>, <mailto:v6ops-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/v6ops/>
List-Post: <mailto:v6ops@ietf.org>
List-Help: <mailto:v6ops-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/v6ops>, <mailto:v6ops-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 14 Dec 2017 02:58:46 -0000

At Wed, 13 Dec 2017 17:41:23 +0530,
Naveen Kottapalli <naveen.sarma@gmail.com> wrote:

> I got that.  But am not sure on what is the use when devices don't bother
> the value of that bit in RA.

Effectively nothing.  If you look at RFC2461 and RFC2462, you'll find
behavior regarding these bits were more normative.  For example,
Section 5.5.3 of RFC2462 stated:

   [...] If the value of ManagedFlag changes from FALSE to
   TRUE, and the host is not already running the stateful address
   autoconfiguration protocol, the host should invoke the stateful
   address autoconfiguration protocol, requesting both address
   information and other information.
(you should read "the stateless address autoconfiguration protocol" as
DHCPv6).

But when we tried to update these docs (the result is RFC4861 and
RFC4862) we realized that it was not widely implemented and that it
would be quite difficult to specify more sensible behavior that met
people's varied opinions and preferences.  IIRC those include:

- some people wanted to be able to run DHCPv6 without bothering RA
  (technically, RFC2461/2462 didn't prohibit it, but there was a
  desire of making it clearer)
- some people wanted to have a way to signal hosts not to use DHCPv6
  (this is probably your interpretation.  but even RFC2461/2462 didn't
  have a clear description of such a way).  on a related matter, the
  meaning of zero-M/O bits wasn't clear (RFC2462 said hosts shouldn't
  stop DHCPv6 on the bit change from 1 to 0, but it didn't say
  anything about what it means if the bit is 0 from the beginning).
- some people wanted to have a way to turn off running DHCPv6
  (the original description of changing M from 1 to 0 didn't work
  that way)

In retrospect, it was probably just a bad idea to try to control this
just from these two bits.  So there was also an idea of deprecating
those bits.  But some people didn't like the idea due to compatibility
with existing implementations that rely on those bits.

So, the current wording of RFC4861 (and the silence about these bits
in RFC4862) was a kind of procedural compromise.  I suspect no one can
give a reasonable technical explanation to "what is the use of these
bits?" or "why do we even have these bits if they are useless?".

There have been attempts to give clearer semantics to these bits, but
none of them has succeeded.

That's an unfortunate situation, given that there are actually
implementations that still refer to these bits. But, knowing the
history I'm pessimistic about any further effort on these bits.  My
humble suggestion is to just accept the reality and use our time for
something else.

--
JINMEI, Tatuya