Re: [6lo] Fwd: [Technical Errata Reported] RFC4944 (4359)

Jonathan Hui <jonhui@nestlabs.com> Sat, 30 May 2015 07:51 UTC

Return-Path: <jonhui@nestlabs.com>
X-Original-To: 6lo@ietfa.amsl.com
Delivered-To: 6lo@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 72F9F1A00F0 for <6lo@ietfa.amsl.com>; Sat, 30 May 2015 00:51:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 4.23
X-Spam-Level: ****
X-Spam-Status: No, score=4.23 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, MANGLED_TOOL=2.3, RAZOR2_CF_RANGE_51_100=0.5, RAZOR2_CF_RANGE_E8_51_100=1.886, RAZOR2_CHECK=0.922, SPF_PASS=-0.001] autolearn=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 m1epOQJH5cez for <6lo@ietfa.amsl.com>; Sat, 30 May 2015 00:51:56 -0700 (PDT)
Received: from mail-qk0-x233.google.com (mail-qk0-x233.google.com [IPv6:2607:f8b0:400d:c09::233]) (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 D9A781A00EE for <6lo@ietf.org>; Sat, 30 May 2015 00:51:55 -0700 (PDT)
Received: by qkhg32 with SMTP id g32so57677092qkh.0 for <6lo@ietf.org>; Sat, 30 May 2015 00:51:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nestlabs.com; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=lw+eYsSXEwlSM5C1PvL1PV839KAoxNvfGs/vQ6H0ILQ=; b=PllxXrWzFVR171ZQfvcMtLUFbky3aPD/gKbi6mABnTsj9ilPejV0obedeVfTABE4tC 0T2WSyFwDgonUpw8FOoYtTFut8ByOc5mfyDSQSZpMdSvZzUyq/kCMFZNVEwJIB7row9p ZGJhujpF8xyuXtWIJWGBYK/q8aFf6RaJkAOkw=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=lw+eYsSXEwlSM5C1PvL1PV839KAoxNvfGs/vQ6H0ILQ=; b=QcsNLkF+BKPVB/ZDat4htlWkLJZ9fsUXqj3oEo6Ncq79qjlowNh3EvNdm5OYUOhDZ2 w+5fvJZ+ZpC7cR7LbSSlVbsf/ByrOtp7CP8cofkIVZgoD5pkLUrk2q6SjTjOPzkIHLwu vb/+guM6mrn4MxjIxFdNnteMI5H+cqFHuQygLrEMH8QbkZ8015d0jqQg9GSZpOEp27ND mUIyLpEOMd6E3dT0rSpeHnizmVLvjIghj0De3qkWmjB29RxLZAZFjfh842lfCX3y7deQ ygz/ULfbiKdZPcxlk+x9LKw69ncoPWJ7NIzmb4CtD8MlujkBNjrftEcv69RGZ+Ce5hOr 9RtA==
X-Gm-Message-State: ALoCoQmK/2CbQA5c/3UhptUWuxd8OcUkrjwDRPQFzgFNNkWnRVXsGOSvLpI6p5eNediJnU9KYYGf
MIME-Version: 1.0
X-Received: by 10.140.48.129 with SMTP id o1mr13934694qga.21.1432972315081; Sat, 30 May 2015 00:51:55 -0700 (PDT)
Received: by 10.96.73.195 with HTTP; Sat, 30 May 2015 00:51:55 -0700 (PDT)
In-Reply-To: <55695CB7.3060703@tzi.org>
References: <CAO6tK45jVMp=fC_RL6jZoQ=F4fL3GKuXOcG9u036Xsc0smVMDA@mail.gmail.com> <55695CB7.3060703@tzi.org>
Date: Sat, 30 May 2015 00:51:55 -0700
Message-ID: <CAO6tK45P6oR9XrZNjjxSvH2mtOnyzZ9Du07nrPL=hgMTOteBvA@mail.gmail.com>
From: Jonathan Hui <jonhui@nestlabs.com>
To: Carsten Bormann <cabo@tzi.org>
Content-Type: multipart/alternative; boundary="001a113507f0d08440051747ddf5"
Archived-At: <http://mailarchive.ietf.org/arch/msg/6lo/FlcY7Ivd4nAoWPKUAzzDQwhqUHE>
Cc: "6lo@ietf.org" <6lo@ietf.org>
Subject: Re: [6lo] Fwd: [Technical Errata Reported] RFC4944 (4359)
X-BeenThere: 6lo@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "Mailing list for the 6lo WG for Internet Area issues in IPv6 over constrained node networks." <6lo.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/6lo>, <mailto:6lo-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/6lo/>
List-Post: <mailto:6lo@ietf.org>
List-Help: <mailto:6lo-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/6lo>, <mailto:6lo-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 30 May 2015 07:51:58 -0000

On Fri, May 29, 2015 at 11:46 PM, Carsten Bormann <cabo@tzi.org> wrote:

> It is true that the RFC is not internally consistent here -- some
> counterexamples to the ones you give here are Figure 2 and the text
>    NALP:  Specifies that the following bits are not a part of the LoWPAN
>       encapsulation, and any LoWPAN node that encounters a dispatch
>       value of 00xxxxxx shall discard the packet
>
> Nor is it consistent with the actual usage of the term "dispatch value"
> in the literature, as can be seen e.g. in
>
> http://solomon.ipv6.club.tw/Course/ProtocolEngineering/archrock-6lowpan-tutorial.pdf
> or the 6LoWPAN book.
>

Unfortunately, the RFC also does not carry forward the original intent of
the value "127".  All of the counterexamples you gave appear in the RFC (or
as a result of the RFC) and not in draft-ietf-6lowpan-format-07.

Also, there is no mandate that ESC-based dispatch values can only be
> used for things other than mesh addressing and fragmentation.  There is
> also no intention that the values 0 to 63 following ESC have the same
> meaning as the dispatch values 01 000000 to 01 111111.
>

You are correct that the intent was not to preclude things that have to do
with mesh addressing and fragmentation.  But I can say that the intent was
the "Mesh Addressing Type and Header" and "Fragmentation Type and Header"
were not included in the "Dispatch Type and Header".  As mentioned
previously, the original version of Figure 2 did not include the Mesh
Addressing and Fragmentation header bit patterns.  To Kerry's point, the
original table included 128 entries, *not* 256 entries.

Expanding the confusing use of the term "dispatch value" just for the
> six-bit field in 01 xxxxxx would be wrong.
>

If you look at draft-ietf-6lowpan-format-07, the term "dispatch value" was
only used in reference to the Dispatch Type and Header.  The update to
draft-ietf-6lowpan-format-08 is where the confusing use of "dispatch value"
started to appear.  draft-ietf-6lowpan-format-07 actually used the 7-bit
dispatch value of 0 to support NALP.  However, there was concern about
consuming too many bits for NALP.  So in draft-ietf-6lowpan-format-08, we
updated NALP to only take one additional bit.  That lead to having 00xxxxxx
for NALP and 01xxxxxx for Dispatch.  Unfortunately, the edits that were
made were quick and dirty.  In retrospect, we should have create a fourth
"Type and Header" for NALP, in addition to Dispatch, Mesh Addressing, and
Fragmentation.  Doing so would have removed any discussion of NALP from the
"Dispatch Type and Header" section as well as the "Bit Pattern" table.

But putting aside the discussion on the original intent of the value "127"
and taking a step back, the high-level intent was to support
arbitrary-length bit patterns for identifying 6LoWPAN headers.  It may be
that removing any reference to a maximum "dispatch value" offered within
the first 8 bits is the best path forward, as Kerry has suggested.

--
Jonathan Hui

Grüße, Carsten
>
>
> Jonathan Hui wrote:
> > I believe the Erratum under discussion is correct and should be marked
> > as Verified.
> >
> > The original intent of "Dispatch value" was:
> > 1) To refer to the Dispatch field in the Dispatch Header - note the
> > capitalization in "Allows support for Dispatch values larger than 127."
> > 2) To identify a namespace that *excludes* the Mesh Addressing and
> > Fragmentation headers.
> >
> > The original draft text (draft-ietf-6lowpan-format-07) was less
> > ambiguous about the original intent.  Referring to that draft:
> >
> > 1) The draft separated the concept of "Header Type" from "Dispatch
> > Value".  The draft defined Header Types: Dispatch, Mesh Delivery, and
> > Fragmentation, and Dispatch Values: NALP, IPv6, LOWPAN_HC1, LOWPAN_BC0,
> > and ESC.  The draft also includes the following text that indicates the
> > Mesh Addressing and Fragmentation headers are not included in the
> > dispatch value namespace:
> >
> >    The definition of headers, other than mesh addressing and
> >    fragmentation, in LoWPAN consists of the dispatch value, the
> >    definition of the header fields that follow
> >
> > Note that the text above still lives in RFC 4944.
> >
> > 2) The bit pattern figure was titled "Dispatch Type Bit Pattern", not
> > "Dispatch Value Bit Pattern", with the intent that the table only
> > included the initial allocations within the Dispatch Header and did
> > *not* include any mention of Mesh Delivery and Fragmentation headers.
> >
> > --
> > Jonathan Hui
> >
> > _______________________________________________
> > 6lo mailing list
> > 6lo@ietf.org
> > https://www.ietf.org/mailman/listinfo/6lo
>