Re: [6lo] draft-chairs-6lo-dispatch-iana-registry-00.txt

Robert Cragie <robert.cragie@gridmerge.com> Tue, 28 July 2015 20:06 UTC

Return-Path: <robert.cragie@gmail.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 7384B1B2F3D for <6lo@ietfa.amsl.com>; Tue, 28 Jul 2015 13:06:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.277
X-Spam-Level:
X-Spam-Status: No, score=-1.277 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, 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 Za-SCq8yu751 for <6lo@ietfa.amsl.com>; Tue, 28 Jul 2015 13:06:49 -0700 (PDT)
Received: from mail-la0-x232.google.com (mail-la0-x232.google.com [IPv6:2a00:1450:4010:c03::232]) (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 781321B2F2D for <6lo@ietf.org>; Tue, 28 Jul 2015 13:06:45 -0700 (PDT)
Received: by laah7 with SMTP id h7so75514669laa.0 for <6lo@ietf.org>; Tue, 28 Jul 2015 13:06:44 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=DOMVZQ2hZvAYb5K9dJUsI9B8ozaRIHP5Um5Cxj5LoiM=; b=NVVFmpPpiddWF4YLMzopG0GE1bEexHLWTb/DPLbwLh1lVAz6nMhRjDPsBvPGkf5Dbq 2iwg7mAQY5djUQHbAIuefV+xgr+9Df50FCjmS5l5trjvwsmBjgFFH12kW0vk7vLd+8/q Tz5zVLGaci6Qu3whGuGKBRxKYgdrCuxSU+dLE4InCGW4620ytN+QG/MN0Y39ZtgpT3EA A2IqYB67PEFZND+B/tbIM2Kep/2fYS1VMKdbiyNEtzgMZULEX8w+YKAytcPZw4ul7Ojw kABXhGQCnfg4v3I85yeMDalVEBbReC0aouW3eXBZPoVSKITS2aFqVuy8BkdXx9kqKwh8 c3Yw==
MIME-Version: 1.0
X-Received: by 10.152.29.97 with SMTP id j1mr35118110lah.104.1438114004004; Tue, 28 Jul 2015 13:06:44 -0700 (PDT)
Sender: robert.cragie@gmail.com
Received: by 10.25.31.75 with HTTP; Tue, 28 Jul 2015 13:06:43 -0700 (PDT)
In-Reply-To: <CAO6tK47JpDA8dfrw-si4Si-QWiys9goBmKp0LAd_sm_jPtySsg@mail.gmail.com>
References: <ECA43DA70480A3498E43C3471FB2E1F01C39990C@eusaamb103.ericsson.se> <CAO6tK45NVtbN4gON+fcQA=xzzV0Wd00Jqgo78i6LP5QV_j71Sg@mail.gmail.com> <ECA43DA70480A3498E43C3471FB2E1F01C39B48B@eusaamb103.ericsson.se> <CAO6tK474ga37g29Ope8XxsPB67iBpsSAsPhXqXfMcyvCm6_+xg@mail.gmail.com> <E045AECD98228444A58C61C200AE1BD849F0A949@xmb-rcd-x01.cisco.com> <ECA43DA70480A3498E43C3471FB2E1F02222FBA1@eusaamb103.ericsson.se> <E045AECD98228444A58C61C200AE1BD849F47890@xmb-rcd-x01.cisco.com> <CAO6tK45Et-A1pRJKRbPz5d4UD4zUcrWuTy=A8L+FZj78kfrVog@mail.gmail.com> <BF00A164-EE85-442C-A9AE-7FE7FA769CDD@cisco.com> <CAO6tK44p6qjze5iR-KYg=5odvRoMEa71n51mrY_pGc2ZaxSxOw@mail.gmail.com> <E045AECD98228444A58C61C200AE1BD849F48BE1@xmb-rcd-x01.cisco.com> <CAO6tK47Z7sPtpN3cRS6w=PRJ6Sdh65Bv6dV1fC+z4O36dvH_Jg@mail.gmail.com> <CADrU+dJycqpHe8X4T3_6O5dH+zh34xhRaOOZEFDscFYDLFMjuQ@mail.gmail.com> <CAO6tK47JpDA8dfrw-si4Si-QWiys9goBmKp0LAd_sm_jPtySsg@mail.gmail.com>
Date: Tue, 28 Jul 2015 21:06:43 +0100
X-Google-Sender-Auth: JZ2KhgW0MkdIiNhM4dCQcToFAH0
Message-ID: <CADrU+dKK59AyQhnWKg6QPXmn=mo9EpF9ifUxgpVaFXA==md+ew@mail.gmail.com>
From: Robert Cragie <robert.cragie@gridmerge.com>
To: Jonathan Hui <jonhui@nestlabs.com>
Content-Type: multipart/alternative; boundary="089e0160bdaa5af883051bf502eb"
Archived-At: <http://mailarchive.ietf.org/arch/msg/6lo/tO2PDJCCOpCLQyus_Ji95q-wQdo>
Cc: Samita Chakrabarti <samita.chakrabarti@ericsson.com>, "Pascal Thubert (pthubert)" <pthubert@cisco.com>, "6lo@ietf.org" <6lo@ietf.org>
Subject: Re: [6lo] draft-chairs-6lo-dispatch-iana-registry-00.txt
X-BeenThere: 6lo@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: robert.cragie@gridmerge.com
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: <https://mailarchive.ietf.org/arch/browse/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: Tue, 28 Jul 2015 20:06:55 -0000

Hi Jonathan,

Comments inline.

Robert

On 28 July 2015 at 18:08, Jonathan Hui <jonhui@nestlabs.com> wrote:

> Having the "page switch" markers effectively increases the Dispatch space
> to 2 octets or more, with a compression mechanism that allows consecutive
> headers from the same page to elide the the first octet.  In the limit, if
> I wanted to keep switching between the two spaces, then I incur one byte
> overhead for each header.  Though, I agree that is a fairly contrived case.
>

<RCC>There is also the uncompressed/stateless case where you have to
qualify every dispatch code with an associated page code, which becomes
more like an escape code (ESC). The idea of a switch and subsequently
remembering the page code is perfectly logical from a parsing perspective
as state is implied in parsing anyway, so the stateless case (whereby you
lose state at the end of processing every dispatch code) seems somewhat
wasteful.</RCC>

>
> Currently, we are going down a path where every 6LoWPAN network in
> existence needs to respect the same header identifiers (i.e. Dispatch
> values) at all times.  It's not obvious to me that this is a good idea.
>
> For example, two devices in the field could easily determine what headers
> are actually in use and the corresponding header identifiers.  In one view,
> this is not much different than establishing 6LoWPAN contexts.  A 6LoWPAN
> network already determines what prefixes are in use and binds short forms
> (4-bit Context IDs) to those.  If there is ever any confusion on how those
> 4-bit Context IDs are assigned, then things will fail.  Typically, we
> expect to use IEEE 802.15.4 security mechanisms to isolate networks.  After
> devices establish a secure link, there is no need to worry about processing
> packets that not a part of that secure link.  We could apply the same logic
> to Dispatch values and forgo the overhead of "page switch" markers.
>

<RCC>That is true, but we already discussed this and tried this to some
extent with the repurposing of the mesh header. That isn't defining a whole
new set of codes for a new technology but is tantamount to it. It didn't
seem to go down well, hence the idea of page codes/markers.</RCC>

>
> As a side note, strictly speaking, RFC 4944 was defined for IEEE
> 802.15.4-2003 and RFC 6282 defined for IEEE 802.15.4-2006.  In theory, we
> could easily define a new Dispatch mechanism for TSCH (IEEE
> 802.15.4e-2012).  The frames are distinguishable using the IEEE 802.15.4
> Frame Version field.
>

<RCC>Indeed we could. Perhaps a wholesale change might actually be more
palatable than just repurposing some of the dispatch code space?</RCC>