Re: [lp-wan] Éric Vyncke's Discuss on draft-ietf-lpwan-ipv6-static-context-hc-21: (with DISCUSS and COMMENT)

<dominique.barthel@orange.com> Thu, 22 August 2019 10:08 UTC

Return-Path: <dominique.barthel@orange.com>
X-Original-To: lp-wan@ietfa.amsl.com
Delivered-To: lp-wan@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 34EFA120809; Thu, 22 Aug 2019 03:08:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.598
X-Spam-Level:
X-Spam-Status: No, score=-2.598 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001, URIBL_BLOCKED=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 t2--FzzUU8lf; Thu, 22 Aug 2019 03:08:27 -0700 (PDT)
Received: from relais-inet.orange.com (relais-inet.orange.com [80.12.70.36]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 176B51200B2; Thu, 22 Aug 2019 03:08:27 -0700 (PDT)
Received: from opfednr07.francetelecom.fr (unknown [xx.xx.xx.71]) by opfednr25.francetelecom.fr (ESMTP service) with ESMTP id 46DgGK2gH6zCsn8; Thu, 22 Aug 2019 12:08:25 +0200 (CEST)
Received: from Exchangemail-eme6.itn.ftgroup (unknown [xx.xx.13.26]) by opfednr07.francetelecom.fr (ESMTP service) with ESMTP id 46DgGJ4vcGzFpWx; Thu, 22 Aug 2019 12:08:24 +0200 (CEST)
Received: from OPEXCAUBM21.corporate.adroot.infra.ftgroup ([fe80::d42b:2e80:86c2:5905]) by OPEXCAUBM31.corporate.adroot.infra.ftgroup ([::1]) with mapi id 14.03.0468.000; Thu, 22 Aug 2019 12:08:24 +0200
From: dominique.barthel@orange.com
To: "Eric Vyncke (evyncke)" <evyncke@cisco.com>, The IESG <iesg@ietf.org>
CC: "draft-ietf-lpwan-ipv6-static-context-hc@ietf.org" <draft-ietf-lpwan-ipv6-static-context-hc@ietf.org>, "Pascal Thubert (pthubert)" <pthubert@cisco.com>, "lpwan-chairs@ietf.org" <lpwan-chairs@ietf.org>, "lp-wan@ietf.org" <lp-wan@ietf.org>
Thread-Topic: Éric Vyncke's Discuss on draft-ietf-lpwan-ipv6-static-context-hc-21: (with DISCUSS and COMMENT)
Thread-Index: AQHVWNGIm1HPD/7zQkatFTsceEv5fg==
Date: Thu, 22 Aug 2019 10:08:24 +0000
Message-ID: <25763_1566468504_5D5E6998_25763_53_4_D9842A98.64296%dominique.barthel@orange.com>
References: <156639348265.25682.11579036162367975770.idtracker@ietfa.amsl.com> <30706_1566404651_5D5D702B_30706_142_1_D983377A.64221%dominique.barthel@orange.com> <81A61CE6-A5EA-40F5-9EB3-E96EE768B1CA@cisco.com>
In-Reply-To: <81A61CE6-A5EA-40F5-9EB3-E96EE768B1CA@cisco.com>
Accept-Language: fr-FR, en-US
Content-Language: fr-FR
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/14.7.3.170325
x-originating-ip: [10.114.13.247]
Content-Type: text/plain; charset="utf-8"
Content-ID: <4F456F42D56AF3488A584722F2730CE7@adroot.infra.ftgroup>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/lp-wan/kUpSHFyavaVOAealhXYvT_mk0AY>
Subject: Re: [lp-wan] Éric Vyncke's Discuss on draft-ietf-lpwan-ipv6-static-context-hc-21: (with DISCUSS and COMMENT)
X-BeenThere: lp-wan@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Low-Power Wide Area Networking \(LP-WAN\), also known as LPWA or Low-Rate WAN \(LR-WAN\)" <lp-wan.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/lp-wan>, <mailto:lp-wan-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/lp-wan/>
List-Post: <mailto:lp-wan@ietf.org>
List-Help: <mailto:lp-wan-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/lp-wan>, <mailto:lp-wan-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 22 Aug 2019 10:08:29 -0000

Hello Eric,

Thank your for this reply.
See my comments below regarding section 10.7.2, and specifically on
alleged use of RFC7217.
Best regards

Dominique 

Le 22/08/19 08:35, « Eric Vyncke (evyncke) » <evyncke@cisco.com> a écrit :

>Dominique,
>
>Thank you for your prompt reply and fixing most of my DISCUSSes &
>COMMENTs. Two are remaining open though.
>
>About my section 10.7.2 comment about sharing the information for RFC
>7217, while the 'shared secret' can obviously be shared out-of-band, I am
>no clue how the value of 'DAD Counter'  could be shared as it can vary
>from peer to peer and over time... For info, in case the hash algorithm
>generates a IID collision for one peer, this DAD Counter is incremented
>only on this peer to try another hash, and so on... If the authors have a
>way to share this DAD counter, then please explain it.
DB: having thought about it, I want to step back a little on this topic.
This draft is about a generic header compression mechanism, a generic
fragmentation mechanism and the application of the header compression
mechanism to compress UDP and IPv6 headers.
This draft is not about allocating IPv6 addresses to IoT devices.
This draft introduces two special CDA functions (called Dev IID and App
IID) that are intended to enable eliding IIDs generated out of the L2
address. The actual implementation of these functions is
technology-specific (e.g. LoRaWAN, Sigfox, etc.)

What we want to say in 10.7.2 is that there is a range of options for
compressing the IPv6 IID fields.
- IPv6 IIDs that are generated out of the L2 address are elided using the
Dev IID or App IID functions (similar to RFC4944 in 6LoWPAN).
- other static IPv6 IIDS can be elided like any other constant header field
- IPv6 IIDs that are not constant for the lifetime of the "static context"
are to be transmitted in extenso.
At this point I suggest we remove the sentence "[RFC7217] provides some
methods to derive this static identifier" from the draft, as it is totally
out of scope.
However, you opened a very interesting discussion, which belongs to an
architecture document, I believe.
For future benefit, and venturing into that discussion, I would risk the
following opinion:
- SCHC establishes a point-to-point communication between the SCHC
compressor and the SCHC decompressor.
- LPWANs have a star topology, with extensive resources on the "network
side"
- I therefore expect the "network side" to do the RFC7217 IID computation
on behalf of the device, including any needed DAD, and install the
resulting IID into the device as part of the context provisioning.
Therefore, the DAD counter is not in the device and there is no
synchronisation issue. I don't envisage the device to do ND or DAD by
itself. We can further discuss what happens when the device moves between
LPWAN networks, if you are interested, but again we are way out of scope
for this draft.


>
>I am afraid that I am keeping my DISCUSS open on this point. Sorry.
DB: no worries. I love the good technical conversation anyway!

>
>About fragmentation & interleave in section 8, my point if that:
>- subsection 8.2.4 comes a little late and only indicate the interleaving
>of fragments
>- nothing is said about interleaving of fragments (even with DTag == 0)
>and non-fragmented packets.
>
>-éric
>PS: and indeed, I made some cut & paste error for my DISCUSS on section
>3.2, sorry about that.
>
>
>On 21/08/2019, 18:24, "dominique.barthel@orange.com"
><dominique.barthel@orange.com> wrote:
>
>    Hello Eric, all,
>    
>    Thanks for your time reading and commenting on this draft.
>    Please see my responses/questions inline.
>    Best regards
>    
>    Dominique
>    
>    Le 21/08/19 15:18, « Éric Vyncke via Datatracker » <noreply@ietf.org>
>a
>    écrit :
>    
>    >Éric Vyncke has entered the following ballot position for
>    >draft-ietf-lpwan-ipv6-static-context-hc-21: Discuss
>    >
>    >The document, along with other ballot positions, can be found here:
>    
>>https://datatracker.ietf.org/doc/draft-ietf-lpwan-ipv6-static-context-hc/
>    >
>    >
>    >
>    
>>----------------------------------------------------------------------
>    >DISCUSS:
>    
>>----------------------------------------------------------------------
>    >
>    >Thank you for the hard work put into this extensive document. I have
>a
>    >couple
>    >of DISCUSSes and COMMENTs, all easy to be fixed except perhaps the
>DISCUSS
>    >around secrion 10.7.2.
>    >
>    >Regards,
>    >
>    >-éric
>    >
>    >== DISCUSS ==
>    >
>    >
>    >-- Section 10.3 --
>    >I am not a transport expert but I wonder whether the text "ECN
>    >functionality
>    >depends on both bits of the ECN field,..." is at the right place?
>Section
>    >10.2
>    >would appear better to me but again I am not an transport/ECN expert.
>    DB: oops, totally right. I made a mistake when adding these lines
>    (contributed by David Black).
>    I'll move them to 10.2 where they belong.
>    Because 10.2 and 10.3 have very similar text, the mistake was not
>visible
>    on the diff, which I heavily rely on.
>    
>    >
>    >-- Section 10.7.2 --
>    >It is unclear to me how the gateway and the device can share the
>required
>    >'shared secret' and especially the 'DAD counter' of RFC 7217... This
>    >render the
>    >2 paragraph confusing at best and possibly impossible to implement.
>    DB: I believe that the gateway and the device (I would say the SCHC
>    Compressor and SCHC Decompressor) can share them, because they need to
>    share a lot of stuff (the "Context") anyway.
>    Installing the 'shared secret' and 'DAD counter' should be no
>different
>    than installing pre-shared network keys or the set of compression
>rules,
>    it seems to me.
>    I will read RFC7217 again with you question in mind and come back
>later. I
>    will also consult among the co-authors.
>    
>    >
>    >
>    
>>----------------------------------------------------------------------
>    >COMMENT:
>    
>>----------------------------------------------------------------------
>    >
>    >Thank you for the hard work put into this extensive document. I have
>a
>    >couple
>    >of DISCUSSes and COMMENTs, all easy to be fixed except perhaps the
>DISCUSS
>    >around secrion 10.7.2.
>    >
>    >Regards,
>    >
>    >-éric
>    >
>    >== COMMENTS ==
>    >
>    >-- Section 8 --
>    >Several F/R modes are defined but none is specified as mandatory to
>    >implement.
>    >Is it worth repeating that the 'out-of-band' initialization of
>devices
>    >include
>    >the selected mode(s) ?
>    DB: thanks for this suggestion. I'll look into it.
>    
>    >
>    >-- section 8 --
>    >It is unclear to me whether multiple fragmented packets can be sent
>in
>    >parallel
>    >with other fragmented or non-fragmented packets (such as fragment &
>    >interleave
>    >in order to deliver a small packet with priority). Some text around
>this
>    >feature (or lack of feature) would be welcome.
>    DB: It seems to me that the description of DTag in 8.2.4 provides the
>    answer to your question.
>    Maybe you're saying that it arrives late into Section 8, and that a
>short
>    mention of the feature would be useful in the intro of Section 8?
>    
>    >
>    >-- section 10.8 --
>    >If you refer to 'extension headers', then use the complete wording
>    >'extension
>    >headers' rather than 'extensions'.
>    DB: thanks, will do.
>    
>    >
>    >== NITS ==
>    >
>    >-- Section 8.4 --
>    >Multiple figures are referred to but do not appear on the same page
>as the
>    >reference. This hinders the reading.
>    DB: thanks for the comment. I'll see if/how I can coerce our
>toolchain to
>    do better (we're using Mmark https://github.com/miekg/mmark)
>    
>    >
>    >-- section 10.9 --
>    >s/port/ports/ in the title
>    DB: will do
>    >
>    
>    
>    
>__________________________________________________________________________
>_______________________________________________
>    
>    Ce message et ses pieces jointes peuvent contenir des informations
>confidentielles ou privilegiees et ne doivent donc
>    pas etre diffuses, exploites ou copies sans autorisation. Si vous
>avez recu ce message par erreur, veuillez le signaler
>    a l'expediteur et le detruire ainsi que les pieces jointes. Les
>messages electroniques etant susceptibles d'alteration,
>    Orange decline toute responsabilite si ce message a ete altere,
>deforme ou falsifie. Merci.
>    
>    This message and its attachments may contain confidential or
>privileged information that may be protected by law;
>    they should not be distributed, used or copied without authorisation.
>    If you have received this email in error, please notify the sender
>and delete this message and its attachments.
>    As emails may be altered, Orange is not liable for messages that have
>been modified, changed or falsified.
>    Thank you.
>    
>    
>


_________________________________________________________________________________________________________________________

Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.

This message and its attachments may contain confidential or privileged information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
Thank you.