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

Carsten Bormann <cabo@tzi.org> Thu, 28 May 2015 12:56 UTC

Return-Path: <cabo@tzi.org>
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 B15321A92F3 for <6lo@ietfa.amsl.com>; Thu, 28 May 2015 05:56:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.315
X-Spam-Level:
X-Spam-Status: No, score=0.315 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FRT_LOLITA1=1.865, HELO_EQ_DE=0.35] 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 4mQA4koTYKdU for <6lo@ietfa.amsl.com>; Thu, 28 May 2015 05:56:02 -0700 (PDT)
Received: from mailhost.informatik.uni-bremen.de (mailhost.informatik.uni-bremen.de [IPv6:2001:638:708:30c9::12]) (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 3982D1A92BC for <6lo@ietf.org>; Thu, 28 May 2015 05:56:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at informatik.uni-bremen.de
Received: from submithost.informatik.uni-bremen.de (submithost.informatik.uni-bremen.de [IPv6:2001:638:708:30c9::b]) by mailhost.informatik.uni-bremen.de (8.14.5/8.14.5) with ESMTP id t4SCtvi3016942; Thu, 28 May 2015 14:55:57 +0200 (CEST)
Received: from alma.local (reingewinn.informatik.uni-bremen.de [134.102.218.123]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by submithost.informatik.uni-bremen.de (Postfix) with ESMTPSA id 3ly8Cc53gzz8xVk; Thu, 28 May 2015 14:55:56 +0200 (CEST)
Message-ID: <5567105B.4040803@tzi.org>
Date: Thu, 28 May 2015 14:55:55 +0200
From: Carsten Bormann <cabo@tzi.org>
User-Agent: Postbox 3.0.11 (Macintosh/20140602)
MIME-Version: 1.0
To: Brian Haberman <brian@innovationslab.net>
References: <20150507190739.24460180207@rfc-editor.org> <5567044A.5080103@innovationslab.net>
In-Reply-To: <5567044A.5080103@innovationslab.net>
X-Enigmail-Version: 1.2.3
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/6lo/guD1qZpFatd3PTc4Eb4cgZc_Zw4>
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: Thu, 28 May 2015 12:56:04 -0000

Actually, the dispatch field is the first byte of the IEEE 802.15.4 payload.
There are various allocations for this first byte, see Figure 2 of RFC 4944:

           Pattern    Header Type
         +------------+-----------------------------------------------+
         | 00  xxxxxx | NALP       - Not a LoWPAN frame               |
         | 01  000001 | IPv6       - Uncompressed IPv6 Addresses      |
         | 01  000010 | LOWPAN_HC1 - LOWPAN_HC1 compressed IPv6       |
         | 01  000011 | reserved   - Reserved for future use          |
         |   ...      | reserved   - Reserved for future use          |
         | 01  001111 | reserved   - Reserved for future use          |
         | 01  010000 | LOWPAN_BC0 - LOWPAN_BC0 broadcast             |
         | 01  010001 | reserved   - Reserved for future use          |
         |   ...      | reserved   - Reserved for future use          |
         | 01  111110 | reserved   - Reserved for future use          |
         | 01  111111 | ESC        - Additional Dispatch byte follows |
         | 10  xxxxxx | MESH       - Mesh Header                      |
         | 11  000xxx | FRAG1      - Fragmentation Header (first)     |
         | 11  001000 | reserved   - Reserved for future use          |
         |   ...      | reserved   - Reserved for future use          |
         | 11  011111 | reserved   - Reserved for future use          |
         | 11  100xxx | FRAGN      - Fragmentation Header (subsequent)|
         | 11  101000 | reserved   - Reserved for future use          |
         |   ...      | reserved   - Reserved for future use          |
         | 11  111111 | reserved   - Reserved for future use          |
         +------------+-----------------------------------------------+

                   Figure 2: Dispatch Value Bit Pattern

There are a number of slightly strange phrasings in RFC 4944 where
allocations of the dispatch field are described and the term "dispatch"
is then used for the variable part of the range (as that part is the
"dispatch" value within that range).

So, for me the errata is that the text talks about extending the range
of (8-bit) dispatch values (which ESC is not about), instead of saying
that ESC together with the next byte opens up a completely new dispatch
space.

Grüße, Carsten

Brian Haberman wrote:
> All,
>      I would like feedback on this erratum.  It appears to be correct,
> in my view.  Any objections to me marking it Verified?
> 
> Regards,
> Brian
> 
> 
> -------- Forwarded Message --------
> Subject: [Technical Errata Reported] RFC4944 (4359)
> Date: Thu,  7 May 2015 12:07:39 -0700 (PDT)
> From: RFC Errata System <rfc-editor@rfc-editor.org>
> To: gabriel.montenegro@microsoft.com,
> nandakishore.kushalnagar@intel.com, jhui@archrock.com,
> dculler@archrock.com, brian@innovationslab.net,
> terry.manderson@icann.org, geoff.ietf@mulligan.com, cabo@tzi.org
> CC: gabriel.montenegro@microsoft.com, 6lowpan@lists.ietf.org,
> rfc-editor@rfc-editor.org
> 
> The following errata report has been submitted for RFC4944,
> "Transmission of IPv6 Packets over IEEE 802.15.4 Networks".
> 
> --------------------------------------
> You may review the report below and at:
> http://www.rfc-editor.org/errata_search.php?rfc=4944&eid=4359
> 
> --------------------------------------
> Type: Technical
> Reported by: Gabriel Montenegro <gabriel.montenegro@microsoft.com>
> 
> Section: 5.1
> 
> Original Text
> -------------
>    ESC:  Specifies that the following header is a single 8-bit field for
>       the Dispatch value.  It allows support for Dispatch values larger
>       than 127.
> 
> Corrected Text
> --------------
>    ESC:  Specifies that the following header is a single 8-bit field for
>       the Dispatch value.  It allows support for Dispatch values larger
>       than 63.
> 
> Notes
> -----
> The (non-ESCaped) Dispatch value is a 6-bit selector. However, it used
> to be a 7-bit selector, which has a value at most 127. When the field
> became a 6-bit selector, this maximum became 63, but the referring text
> was never updated.
> 
> For historical reference, see an early version from IETF 67 proposing
> the Dispatch value within the Dispatch header as a 7-bit field:
> 
> http://6lowpan.tzi.org/FrontPage?action=AttachFile&do=view&target=tentative-draft2-ietf-6lowpan-format-07.txt
> 
>    The dispatch type is defined by a zero-bit as the first bit.  The
>    dispatch type and header is shown here:
> 
>                         1                   2                   3
>     0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
>    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>    |0|  Dispatch   |  type-specific header
>    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
> 
> 
>    Dispatch               7-bit selector.  Identifies the type of header
>                           immediately following the Dispatch type.
> 
> The relevant slides also show this (slide 8):
> http://6lowpan.tzi.org/FrontPage?action=AttachFile&do=view&target=6lowpan-header-proposal-2.ppt
> 
> Instructions:
> -------------
> This erratum is currently posted as "Reported". If necessary, please
> use "Reply All" to discuss whether it should be verified or
> rejected. When a decision is reached, the verifying party (IESG)
> can log in to change the status and edit the report, if necessary.
> 
> --------------------------------------
> RFC4944 (draft-ietf-6lowpan-format-13)
> --------------------------------------
> Title               : Transmission of IPv6 Packets over IEEE 802.15.4
> Networks
> Publication Date    : September 2007
> Author(s)           : G. Montenegro, N. Kushalnagar, J. Hui, D. Culler
> Category            : PROPOSED STANDARD
> Source              : IPv6 over Low power WPAN
> Area                : Internet
> Stream              : IETF
> Verifying Party     : IESG
> 
> 
> 
> 
> _______________________________________________
> 6lo mailing list
> 6lo@ietf.org
> https://www.ietf.org/mailman/listinfo/6lo