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

Samita Chakrabarti <samita.chakrabarti@ericsson.com> Mon, 21 March 2016 18:49 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 0B6CC12D7DF for <6lo@ietfa.amsl.com>; Mon, 21 Mar 2016 11:49:39 -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 E5EJ9lF2JDx6 for <6lo@ietfa.amsl.com>; Mon, 21 Mar 2016 11:49:36 -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 A597612D719 for <6lo@ietf.org>; Mon, 21 Mar 2016 11:49:36 -0700 (PDT)
X-AuditID: c618062d-f79216d00000767f-20-56f03ccfc8b7
Received: from EUSAAHC007.ericsson.se (Unknown_Domain [147.117.188.93]) by usplmg20.ericsson.net (Symantec Mail Security) with SMTP id 68.2F.30335.FCC30F65; Mon, 21 Mar 2016 19:26:23 +0100 (CET)
Received: from EUSAAMB103.ericsson.se ([147.117.188.120]) by EUSAAHC007.ericsson.se ([147.117.188.93]) with mapi id 14.03.0248.002; Mon, 21 Mar 2016 14:49:35 -0400
From: Samita Chakrabarti <samita.chakrabarti@ericsson.com>
To: "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/7vVCAAI4LkIADwKCw
Date: Mon, 21 Mar 2016 18:49:33 +0000
Message-ID: <ECA43DA70480A3498E43C3471FB2E1F02235B956@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>
In-Reply-To: <8b3842451b434070ba271564dc48c224@XCH-RCD-001.cisco.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+NgFupnkeLIzCtJLcpLzFFi42KZXLonVve8zYcwgyVnbCyapwhYzOz5x2jx 6aCJxYwp7xgdWDym/N7I6rFkyU8mj5nHv7B4bO2eyBbAEsVlk5Kak1mWWqRvl8CV0bNjJntB q03Fxd52tgbGK/pdjJwcEgImEv+n7WSGsMUkLtxbz9bFyMUhJHCEUeLJ1PmsEM5yRokzTeuZ QKrYBKwkOnr3sIMkRAQaGCXm7v/ECJJgFlCTaD2xjh3EFhZwl9hzbx9Yg4iAh8TX/k1QtpvE gVXHWboYOThYBFQlOg+5goR5BXwljm66ArVsEZPE5aXNYPWcAq4Sh+Y3gc1nBDrv+6k1TBC7 xCVuPZnPBHG2gMSSPeehXhCVePn4HyuErSQxaek5Voh6HYkFuz+xQdjaEssWvmaGWCwocXLm E5YJjGKzkIydhaRlFpKWWUhaFjCyrGLkKC0uyMlNNzLYxAiMpmMSbLo7GO9P9zzEKMDBqMTD a3DlfZgQa2JZcWXuIUYJDmYlEV5Wxw9hQrwpiZVVqUX58UWlOanFhxilOViUxHnXv70cJiSQ nliSmp2aWpBaBJNl4uCUamBUEe3zX5MXNkeD33fi3yWVKyYvftt9+NwHNZZZy5YlMN1xbja9 smWVUWWmx/X5Aanbe15ExD1qtdGarvBPUOm78qdDi52fnl/4VPuWS5XPcuECsztFB7YnsLjF S1yyZF3ONiPTulc0kXVL0RbtL/7nWHaeEJM782nqin+m6rcdL8Y+Xq/Ktf6lEktxRqKhFnNR cSIAG76sDKICAAA=
Archived-At: <http://mailarchive.ietf.org/arch/msg/6lo/pKA0lIKUNktBtmkrMnO_fk-NG7U>
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:49:39 -0000

Hi Pascal,

Point is taken.   So far, I don't see a pressing need for putting ESC byte behind LOWPAN-IPHC. 
I see Gabriel (w/co-author hat) also agreed to the idea you proposed.
As you also argued about keeping backward compatibility, let's change it to MUST and clean up the additional text about updating IPlen.

Thanks,
-Samita

-----Original Message-----
From: Pascal Thubert (pthubert) [mailto:pthubert@cisco.com] 
Sent: Saturday, March 19, 2016 2:40 AM
To: Samita Chakrabarti; Brian Haberman; 6lo@ietf.org
Cc: Jonathan Hui
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://www.ietf.org/mailman/listinfo/6lo