Re: [6lo] 6lo Last Call: draft-ietf-6lo-dispatch-iana-registry

Samita Chakrabarti <samita.chakrabarti@ericsson.com> Mon, 21 March 2016 18:57 UTC

Return-Path: <samita.chakrabarti@ericsson.com>
X-Original-To: 6lo@ietfa.amsl.com
Delivered-To: 6lo@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3259112D861 for <6lo@ietfa.amsl.com>; Mon, 21 Mar 2016 11:57:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.221
X-Spam-Level:
X-Spam-Status: No, score=-4.221 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] 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 H65ACF18XTsN for <6lo@ietfa.amsl.com>; Mon, 21 Mar 2016 11:57:14 -0700 (PDT)
Received: from usplmg20.ericsson.net (usplmg20.ericsson.net [198.24.6.45]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4697612DA29 for <6lo@ietf.org>; Mon, 21 Mar 2016 11:57:12 -0700 (PDT)
X-AuditID: c618062d-f79216d00000767f-f9-56f03e97729d
Received: from EUSAAHC005.ericsson.se (Unknown_Domain [147.117.188.87]) by usplmg20.ericsson.net (Symantec Mail Security) with SMTP id 5F.8F.30335.79E30F65; Mon, 21 Mar 2016 19:33:59 +0100 (CET)
Received: from EUSAAMB103.ericsson.se ([147.117.188.120]) by EUSAAHC005.ericsson.se ([147.117.188.87]) with mapi id 14.03.0248.002; Mon, 21 Mar 2016 14:56:57 -0400
From: Samita Chakrabarti <samita.chakrabarti@ericsson.com>
To: Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>, "Pascal Thubert (pthubert)" <pthubert@cisco.com>, Brian Haberman <brian@innovationslab.net>, "6lo@ietf.org" <6lo@ietf.org>
Thread-Topic: [6lo] 6lo Last Call: draft-ietf-6lo-dispatch-iana-registry
Thread-Index: AQHRc85r8MDI6CwuxkuimVQbA5PjW59QET6AgA/7vVCAAI4LkIABOVAAgAKKrZA=
Date: Mon, 21 Mar 2016 18:56:47 +0000
Message-ID: <ECA43DA70480A3498E43C3471FB2E1F02235B96A@eusaamb103.ericsson.se>
References: <20160226024055.9448.80428.idtracker@ietfa.amsl.com> <56D5B413.6050704@innovationslab.net> <97a4cb9dcfc74473b948eeab22e86c24@XCH-RCD-001.cisco.com> <ECA43DA70480A3498E43C3471FB2E1F02234EE35@eusaamb103.ericsson.se> <8b3842451b434070ba271564dc48c224@XCH-RCD-001.cisco.com> <BN1PR03MB072F422A232063E11FBAA3B958E0@BN1PR03MB072.namprd03.prod.outlook.com>
In-Reply-To: <BN1PR03MB072F422A232063E11FBAA3B958E0@BN1PR03MB072.namprd03.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [147.117.188.10]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprJIsWRmVeSWpSXmKPExsUyuXRPuO50uw9hBufuqFg0TxGwmNnzj9Hi +MyNzBafDppYzJjyjtGB1WPK742sHkuW/GTymHn8C4tH646/7B5buyeyBbBGcdmkpOZklqUW 6dslcGW83jGHvWCxW8X0H8sZGxgfm3cxcnJICJhItJ7pZYOwxSQu3FsPZHNxCAkcYZR4uf8S lLOcUeLHk4NgVWwCVhIdvXvYQRIiAjsZJSb8nMoCkmAWUJNoPbGOHcQWFnCX2HNvHxOILSLg IfG1fxOU7SfRfGMh2CAWAVWJq2f3M4LYvAK+Epuud4DFhQQ+M0ls21cAYnMKREvM2fCHFcRm BDrv+6k1TBC7xCVuPZnPBHG2gMSSPeeZIWxRiZeP/7FC2EoSk5aeY4Wo15FYsPsTG4StLbFs 4WtmiL2CEidnPmGZwCg2C8nYWUhaZiFpmYWkZQEjyypGjtLigpzcdCODTYzACDsmwaa7g/H+ dM9DjAIcjEo8vAZX3ocJsSaWFVfmHmKU4GBWEuFd6fQhTIg3JbGyKrUoP76oNCe1+BCjNAeL kjjv+reXw4QE0hNLUrNTUwtSi2CyTBycUg2M+9aZlwgumxgRbFH1aPUd+3+3M4RLjWeK/d5Y d9Nohomcw46zdkwuETwH0i/7nXxQucPXQCr+GMP2SzI5H17Up+V2dZY84Hv333OXse8ZaQkD h/73j2WDn8401Nmoslf6k+1HD9Oq6A+mExft5z9qPm/97obMxyt3evPd36b48Z5CX/beNev3 K7EUZyQaajEXFScCAKWhHkesAgAA
Archived-At: <http://mailarchive.ietf.org/arch/msg/6lo/6zdjByGsYlLgOH09pM1H_MuOxHg>
Cc: Jonathan Hui <jonhui@nestlabs.com>
Subject: Re: [6lo] 6lo Last Call: draft-ietf-6lo-dispatch-iana-registry
X-BeenThere: 6lo@ietf.org
X-Mailman-Version: 2.1.17
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: <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: Mon, 21 Mar 2016 18:57:16 -0000

Acknowledged. Will do the change.
-Samita

-----Original Message-----
From: Gabriel Montenegro [mailto:Gabriel.Montenegro@microsoft.com] 
Sent: Saturday, March 19, 2016 5:07 PM
To: Pascal Thubert (pthubert); Samita Chakrabarti; Brian Haberman; 6lo@ietf.org
Cc: Jonathan Hui
Subject: RE: [6lo] 6lo Last Call: draft-ietf-6lo-dispatch-iana-registry

+1 on Pascal's point, I also don't see the need for the complexity.

I'd rather we change SHOULD to MUST place ESC before IP packet. 

> -----Original Message-----
> From: 6lo [mailto:6lo-bounces@ietf.org] On Behalf Of Pascal Thubert
> (pthubert)
> Sent: Saturday, March 19, 2016 02:40
> To: Samita Chakrabarti <samita.chakrabarti@ericsson.com>; Brian 
> Haberman <brian@innovationslab.net>; 6lo@ietf.org
> Cc: Jonathan Hui <jonhui@nestlabs.com>
> Subject: Re: [6lo] 6lo Last Call: 
> draft-ietf-6lo-dispatch-iana-registry
> 
> Hello Samita:
> 
> I'm perfectly happy with this, but for point 1.
> 
> RFC 6282 has "The IPv6 Payload Length field MUST always be elided and 
> inferred from lower layers using the 6LoWPAN Fragmentation header or 
> the IEEE 802.15.4 header." This denotes the assumption that the length 
> of all that is not IP is in the frame known, and that IP and its 
> payload is the rest of the frame. Current Implementations are expected 
> to consider that the rest of the frame after the IPHC is the rest of 
> the IP packet and it would be better that we stay backward compatible 
> with that. Otherwise 6LoWPAN may end up injecting data at the end of 
> the packets that the transport and security layers may or may not process correctly.
> 
> In any fashion, if we allowed esc after IPHC, then I'm unclear how an 
> implementation will figure the end of the IPv6 payload. It is valid to 
> have a byte in IP payload with the same value as esc so an 
> implementation cannot just scan the data. Should it have to look into the transport?
> 
> Now I'm wondering if there is a need for this complexity? Do we have 
> actual use cases where esc would be after the IP packet?
> 
> Take care,
> 
> Pascal
> 
> 
> > -----Original Message-----
> > From: Samita Chakrabarti [mailto:samita.chakrabarti@ericsson.com]
> > Sent: samedi 19 mars 2016 02:21
> > To: Pascal Thubert (pthubert) <pthubert@cisco.com>; Brian Haberman 
> > <brian@innovationslab.net>; 6lo@ietf.org
> > Cc: Jonathan Hui <jonhui@nestlabs.com>
> > Subject: RE: [6lo] 6lo Last Call:
> > draft-ietf-6lo-dispatch-iana-registry
> >
> > Hi Pascal,
> >
> >
> > Thanks so much for the detail review and the good catch on 
> > fragmentation and sequence after LOWPAN_IPHC.
> > Please see our response in-line and proposed updates.
> >
> > -----Original Message-----
> > From: 6lo [mailto:6lo-bounces@ietf.org] On Behalf Of Pascal Thubert
> > (pthubert)
> > Sent: Tuesday, March 08, 2016 7:52 AM
> > To: Brian Haberman; 6lo@ietf.org
> > Cc: Jonathan Hui
> > Subject: Re: [6lo] 6lo Last Call:
> > draft-ietf-6lo-dispatch-iana-registry
> >
> > Hello Brian:
> >
> > Sorry for this delay, please find some comments below:
> >
> > 1) Sections 3 and 3.2 provide an example whereby the esc sequence is 
> > used after the IPHC+IP payload. One issue with that is that the 
> > packet length is elided by RFC6282 (section 3.2) and assumes the 
> > rest of the frame. If the ESC can be placed after an IPHC then we 
> > need to signal the size of the IP payload. An alternate approach 
> > would be that the order is enforced indicating that the escaped data 
> > is always before the IP
> header.
> >
> > [SC>]
> >
> > Good catch.  Though RFC8262 is not very clear that IPHC payload 
> > means the rest of the frame. But due to not being clear we could 
> > have implementations which can assume so. In order to mitigate this 
> > problem, we propose the updated text as following:
> >
> > ====
> > 3.2.  ESC Extension Bytes Typical Sequence
> >
> > When LOWPAN_IPHC is present, the ESC bytes SHOULD  appear before 
> > LOWPAN_IPHC dispatch type. But if the implementation requires ESC 
> > byte to be placed after LOWPAN_IPHC dispatch and payload, then the 
> > elided IPHC payload length MUST include the ESC bytes. It means  
> > during de-capsulation of ESC bytes the LOWPAN_IPHC payload length  
> > need to be adjusted [RFC
> > 6282 section 3.2] ==========
> >
> >
> > 2) Section 3 says 'as long as it ... does noy induce fragmentation.'
> > I'm unsure why 6LoWPAN fragmentation would be incompatible with the 
> > use
> of escape?
> > [SC>]  That will be addressed by the above change.
> >
> > 3) Section 3.1 mandates that unknown EEDs are dropped. This is a 
> > regression from IPv6 options which can signal whether they can be 
> > skipped,
> and 6LoRH.
> > An alternate approach that is compatible with ITU-T specs could be 
> > to use the most (2? 3?) significant bits set to indicate skippable, 
> > in which case the other 7 (6?, 5?) bits could be a length in bytes, 
> > and then the next octet would be an EED. This would give us 127 
> > (191?,
> > 223?) non skippable EEDs and 254 skippable EEDs.
> > [SC>]
> > [SC>]  We don't agree that it is a regression from IPv6 options.
> > These are ESC bytes not IPv6 options.
> > The idea of separating this document vs the 6loh and 6lorh-paging 
> > document are that we want to keep the definition and usage of ESC 
> > bytes simple. If there is a need for skip-able ESC bytes sequence, 
> > then that can be introduced in some other document (ex. 6loRH ? ) 
> > where the application demands it.
> >
> > So our conclusion is to keep it simple and drop unknown ESC bytes.
> >
> >
> > 4) Section 3.4 does not update RFC4944 on NALP. Since NALP denotes a
> > non- 6LoWPAN behavior, it could be clarified that NALP is not 
> > expected inside a 6LoWPAN frame, meaning after a 6LoWPAN dispatch was found.
> > After a transition phase, this would reopen the 00xxxxxx dispatch 
> > space inside a 6LoWPAN frame.
> >
> > -
> > [SC>]  We worked on a new text to clarify difference between ESC and 
> > NALP bytes as we see today.
> >
> > ===========
> > 3.4 NALP and ESC bytes
> >
> >
> > According to RFC4944 [RFC4944] section 5.1, NALP dispatch bytes are 
> > reserved in order to identify  non-6lowpan payloads.
> > This is another approach of an escape method for a 6lowpan 
> > implementation and the handling NALP frame is clarified in [RFC4944].
> >
> > This document clarifies that NALP dispatch codes only provides an 
> > escape method for non-6LoWPAN payloads when they appear as the 
> > initial byte of a LoWPAN encapsulation, and that the potential 
> > meaning of their appearance in any other location is reserved for future use.
> >
> > Since ESC bytes are extended  6lowpan dispatch types, they are 
> > orthogonal to NALP bytes.
> >
> > ====
> >
> >
> > -Samita and co-authors
> >
> >
> > > -----Original Message-----
> > > From: 6lo [mailto:6lo-bounces@ietf.org] On Behalf Of Brian 
> > > Haberman
> > > Sent: mardi 1 mars 2016 16:24
> > > To: 6lo@ietf.org
> > > Cc: Jonathan Hui <jonhui@nestlabs.com>
> > > Subject: [6lo] 6lo Last Call:
> > >
> > > All,
> > >      This message starts a 2-week working group last call on advancing:
> > >
> > >      Title      : IANA Registry for 6lowpan ESC Dispatch Code points
> > >      Authors    : Samita Chakrabarti
> > >                   Gabriel Montenegro
> > >                   Ralph Droms
> > >                   James Woodyatt
> > >      Filename   : draft-ietf-6lo-dispatch-iana-registry-01.txt
> > >      Pages      : 8
> > >      Date       : 2016-02-25
> > >
> > > as a Proposed Standard. All substantive comments are to be posted 
> > > to the mailing list. Editorial comments should be sent to the 
> > > document
> > authors.
> > > This last call will end on 2016-03-15.
> > >
> > > Regards,
> > > Brian
> >
> > _______________________________________________
> > 6lo mailing list
> > 6lo@ietf.org
> > https://na01.safelinks.protection.outlook.com/?url=https%3a%2f%2fwww
> > .i
> >
> etf.org%2fmailman%2flistinfo%2f6lo&data=01%7c01%7cGabriel.Montenegro
> %4
> >
> 0microsoft.com%7c7710e598250247242ac808d34fdab0b8%7c72f988bf86f14
> 1af91
> >
> ab2d7cd011db47%7c1&sdata=TU%2fKAzUVEIvEyFurkHDW7hMqRK6wYl8q2x3
> cTmIsrdU
> > %3d
> 
> _______________________________________________
> 6lo mailing list
> 6lo@ietf.org
> https://na01.safelinks.protection.outlook.com/?url=https%3a%2f%2fwww.ietf.
> org%2fmailman%2flistinfo%2f6lo&data=01%7c01%7cGabriel.Montenegro%40
> microsoft.com%7c7710e598250247242ac808d34fdab0b8%7c72f988bf86f141
> af91ab2d7cd011db47%7c1&sdata=TU%2fKAzUVEIvEyFurkHDW7hMqRK6wYl8
> q2x3cTmIsrdU%3d