Re: [v6ops] A proposal for draft-ietf-6man-rfc4291bis-07 - interpretations of the "sum"

神明達哉 <jinmei@wide.ad.jp> Tue, 07 March 2017 18:36 UTC

Return-Path: <jinmei.tatuya@gmail.com>
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 F19621294C1 for <ipv6@ietfa.amsl.com>; Tue, 7 Mar 2017 10:36:50 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.67
X-Spam-Level:
X-Spam-Status: No, score=-1.67 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.229, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, SPF_PASS=-0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 kWVbnJUDPMum for <ipv6@ietfa.amsl.com>; Tue, 7 Mar 2017 10:36:49 -0800 (PST)
Received: from mail-qk0-x229.google.com (mail-qk0-x229.google.com [IPv6:2607:f8b0:400d:c09::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9C7D012948C for <ipv6@ietf.org>; Tue, 7 Mar 2017 10:36:49 -0800 (PST)
Received: by mail-qk0-x229.google.com with SMTP id y76so18737000qkb.0 for <ipv6@ietf.org>; Tue, 07 Mar 2017 10:36:49 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=nfQLOWDyQDln22iJ8paesCYCSOp/jMAhzWbz3PRP8j4=; b=OIYr1mcmjv6axN/d6zRmjsclPhCSUy5Ay/SKR/gBZ4o06zlr6dtExtDhL4vSQAXDLB +cix3nZsSnvxu9uX4t9tDdItFkdK9/zNEx+th2oWJDv+HO07QzpiYTD/ykaymQplb59B uHBvwP3968/7hDh2n/tbpAJ5clLjEoQvxDRIrXCNYtbO+tOOmryY2WuhqaT4ZOyHlGz9 txwYizm03tQa4M5LNlQ+ilUMlnr7/AsUHL2EJGQo7Omn3LtAtLQkGLckabTe4nEcPeMk 9qu8nYwpWw9diG86NA0KOmPx70yOwF7kAnWs//PNzDx5IqcjQNQ9i/3YeEp0jm4ONBil PQiw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=nfQLOWDyQDln22iJ8paesCYCSOp/jMAhzWbz3PRP8j4=; b=eLLRkLFgCqy6dGK4Qon+uxb25U+Z0ZL8W87af7Ph3uk7VKHLucS0ODMvMyP26aEOwi W4VG3tJF6malbcMcTzDCPJfe321I/tgJ/lZXQbsbLnQpvbrxvQTweJ/Ba44luMsOo6aM BX1d0Our/BxmncwQl0N+lq6j8DRYzFYYdf8yeENOyNotPIr4pIud03Btjy3dyZJ1tTAy RQhe1QQDiiG/FGyxVsnGbq9BprmKvhxJHV6lBFPGEvOh6ZwzUpKb5LmDMEaDuzm02iBS wrDXfNpQBgs4tgv5k8TTnNkdMLpm1R+z1sIb894aGsNSqizOelZMP2GRuqv2GmD7WeJW a8EA==
X-Gm-Message-State: AMke39k/UUBtNht4SzbII+a1u8IoZuutfpESdgvORFaPRB8vgLIINo6/yX2iRCy/8Nx0oSLNt3X2r9zVsJEuBw==
X-Received: by 10.200.42.151 with SMTP id b23mr2181674qta.163.1488911808341; Tue, 07 Mar 2017 10:36:48 -0800 (PST)
MIME-Version: 1.0
Sender: jinmei.tatuya@gmail.com
Received: by 10.237.61.204 with HTTP; Tue, 7 Mar 2017 10:36:47 -0800 (PST)
In-Reply-To: <6f532a72-a142-5d84-f351-c38cba5230dd@gmail.com>
References: <CAN-Dau17q_BrUuzfvB1mLDt6p5UxYikphWaHpa8VQ2L-3kx-DA@mail.gmail.com> <ee764408573b4db4b22e58c4ea5f289c@XCH15-06-11.nw.nos.boeing.com> <2c0ab33b-abbe-caf1-6147-0c583d7f5d61@gmail.com> <CAN-Dau0bSPiubeDOFeJAg6H0wP0ZNDS514eedmJtkOqHTXWOOw@mail.gmail.com> <D6D5B476-7F21-4F49-A81D-C2A11C30ADEC@google.com> <453e5b4160514907bc1bb822770e0cac@XCH15-06-11.nw.nos.boeing.com> <ABE47051-FBFC-460F-89B0-FFD451410F7B@google.com> <m1cjviu-0000EYC@stereo.hq.phicoh.net> <5BC57F0E-50FD-4452-853F-A08291C91EB1@google.com> <m1ck5mu-0000GaC@stereo.hq.phicoh.net> <5B4AFF50-8CA9-4134-8CE2-A383DB5F8BF5@google.com> <m1ckxfo-0000IMC@stereo.hq.phicoh.net> <225F639E-27C1-4408-BC2B-26500929049B@google.com> <CAOSSMjUR203+hYFBrFBrj9Xkjux3o7fYNd4y9kNyxwpLxF11ew@mail.gmail.com> <6D825351-7F43-4540-89AB-48DC2B5E92E3@google.com> <CAOSSMjUP6m-L1iNhE=BxHW+7hvt4YsZgxxtVn+qmgEVS9HeStA@mail.gmail.com> <CAJE_bqfpE-NWwG12S4CXM+ZnHdHHH31-y+_+pYhuCuq2FtqZ4w@mail.gmail.com> <6f532a72-a142-5d84-f351-c38cba5230dd@gmail.com>
From: 神明達哉 <jinmei@wide.ad.jp>
Date: Tue, 07 Mar 2017 10:36:47 -0800
X-Google-Sender-Auth: ThIkwYXGCZfBMBqlHM9FLLQMjmQ
Message-ID: <CAJE_bqcHvq1DbS4RCKiE1N7p=hpyU-QbhMdgHjUXcngurSzTKg@mail.gmail.com>
Subject: Re: [v6ops] A proposal for draft-ietf-6man-rfc4291bis-07 - interpretations of the "sum"
To: Alexandre Petrescu <alexandre.petrescu@gmail.com>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/T3WIP3TKyq8zYQTVCX82-fhl3fc>
Cc: IPv6 IPv6 List <ipv6@ietf.org>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.17
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, 07 Mar 2017 18:36:51 -0000

At Tue, 7 Mar 2017 11:44:04 +0100,
Alexandre Petrescu <alexandre.petrescu@gmail.com> wrote:

> > But this thread and another similar discussion seem to suggest that
> > it's still not clear enough for some people.  At least two different
> >  readers interpret this text:
> >
> >> If the sum of the prefix length and interface identifier length
> >> does not equal 128 bits, the Prefix Information option MUST be
> >> ignored.
>
> Let me say that there are some interpretations of that sum from people
> struggling to make it work.  These interpretations may be surprising to
> the specifier.
>
> The specifier is tempted to think that that "sum" equation is a good way
> to tell everything in just one phrase.
>
> But some people face the problem of making that sum be 128 even though
> the plen is less than 64 and the IID is 64.

> It is the case with the fe80:://10 needing to become a fe80::/64, and it
> is also the case when PIO in RA has a P1::/63.

At least the above text from Section 5.5.3 of RFC4862 is irrelevant to
link-local addresses.  The entire Section 5.5 is about "Creation of
Global Addresses" as the title shows.  In the case of creating global
addresses, I can't think of an interpretation of this text

  If the sum of the prefix length and interface identifier length
  does not equal 128 bits, the Prefix Information option MUST be
  ignored.

as it allows the creation in the case of advertised plen=63 and IID
len=64.  RFC4862 requires not to do so with the MUST.  BSDs implement
it that way, and so does Linux (according to what I heard here).  I'm
also pretty sure that there's a conformance test tool like that for
"IPv6 ready logo" or USGv6 that confirms the intent of the RFC.  And
so I'm also pretty sure that other major OSes interpret the RFC as it
intends.  So, overall, I don't think it's just what a document editor
intends in his mind, but a widely accepted interpretation.

That said, there's always someone who understands any seemingly clear
text differently from the actual intent, not to mention the recent row
about EH insertion.  So I'm not surprised that there are such people.
If you think this point is so unclear for so many people, I'd suggest
you write a clarification draft or submit an errata.  If you think we
should actually allow the creation in such a case, that's a protocol
change, and I'd suggest you write a draft to update RFC4862.  With
luck, that will become the new standard.

I don't think continuing this topic in this thread brings us anywhere,
so I'll stop here.

--
JINMEI, Tatuya