Re: [lp-wan] I-D Action: draft-ietf-lpwan-schc-over-lorawan-05.txt

Olivier Gimenez <ogimenez@semtech.com> Fri, 20 December 2019 15:03 UTC

Return-Path: <ogimenez@semtech.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 CB3DE120088 for <lp-wan@ietfa.amsl.com>; Fri, 20 Dec 2019 07:03:51 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-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 v58WLTaNoRMt for <lp-wan@ietfa.amsl.com>; Fri, 20 Dec 2019 07:03:50 -0800 (PST)
Received: from mail1.bemta24.messagelabs.com (mail1.bemta24.messagelabs.com [67.219.250.1]) (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 3744112008B for <lp-wan@ietf.org>; Fri, 20 Dec 2019 07:03:50 -0800 (PST)
Received: from [67.219.250.110] (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256 bits)) by server-1.bemta.az-a.us-west-2.aws.symcld.net id 25/96-12573-5D2ECFD5; Fri, 20 Dec 2019 15:03:49 +0000
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrFKsWRWlGSWpSXmKPExsXiofbjue7VR39 iDU6+E7R4M8vegdFjyZKfTAGMUayZeUn5FQmsGa2fv7AWvBOqeH1rP0sDYz9/FyMXh5DAI0aJ r7cPMkI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X-Originating-IP: [72.38.248.231]
X-SYMC-ESS-Client-Auth: outbound-route-from=pass
X-StarScan-Received:
X-StarScan-Version: 9.44.22; banners=semtech.com,-,-
X-VirusChecked: Checked
Received: (qmail 5548 invoked from network); 20 Dec 2019 15:03:49 -0000
Received: from s72-38-248-231.static.datacom.cgocable.net (HELO ca01exedge1.semnet.dom) (72.38.248.231) by server-9.tower-334.messagelabs.com with ECDHE-RSA-AES256-SHA384 encrypted SMTP; 20 Dec 2019 15:03:49 -0000
Received: from ca01mail2.semnet.dom (10.2.50.41) by ca01exedge1.semnet.dom (192.168.34.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1034.26; Fri, 20 Dec 2019 10:03:45 -0500
Received: from ca01mail2.semnet.dom (10.2.50.41) by ca01mail2.semnet.dom (10.2.50.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1034.26; Fri, 20 Dec 2019 10:03:46 -0500
Received: from ca01mail2.semnet.dom ([fe80::fdc8:c457:b09e:605d]) by ca01mail2.semnet.dom ([fe80::fdc8:c457:b09e:605d%22]) with mapi id 15.01.1034.026; Fri, 20 Dec 2019 10:03:46 -0500
From: Olivier Gimenez <ogimenez@semtech.com>
To: "lp-wan@ietf.org" <lp-wan@ietf.org>
Thread-Topic: [lp-wan] I-D Action: draft-ietf-lpwan-schc-over-lorawan-05.txt
Thread-Index: AQHVt0SrWMKZBLqpZ0Wzt1Ey5eTT/qfDGvJA
Date: Fri, 20 Dec 2019 15:03:45 +0000
Message-ID: <18f03903e7714d4da38f564b9917e566@semtech.com>
References: <157685332952.4863.6087162830048048288@ietfa.amsl.com>
In-Reply-To: <157685332952.4863.6087162830048048288@ietfa.amsl.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-dg-ref: PG1ldGE+PGF0IG5tPSJib2R5LnR4dCIgcD0iYzpcdXNlcnNcb2dpbWVuZXpcYXBwZGF0YVxyb2FtaW5nXDA5ZDg0OWI2LTMyZDMtNGE0MC04NWVlLTZiODRiYTI5ZTM1Ylxtc2dzXG1zZy1lOTVjN2M5MC0yMzM5LTExZWEtYjY2MC1lNGIzMTg2NjNlZTFcYW1lLXRlc3RcZTk1YzdjOTEtMjMzOS0xMWVhLWI2NjAtZTRiMzE4NjYzZWUxYm9keS50eHQiIHN6PSIyNTExIiB0PSIxMzIyMTMyNzgyMzQwMDc2ODciIGg9InVSWWh0bXluY2M3SVkzbXE4L0lveFptVzZEQT0iIGlkPSIiIGJsPSIwIiBibz0iMSIvPjwvbWV0YT4=
x-dg-rorf: true
x-originating-ip: [10.144.80.28]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/lp-wan/Cc3VRLEOHe5bFdFgmu18IW9NTlE>
Subject: Re: [lp-wan] I-D Action: draft-ietf-lpwan-schc-over-lorawan-05.txt
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: Fri, 20 Dec 2019 15:03:52 -0000

Hi,

I just pushed a new draft revision including the following changelog:

  *  Fix typos and formatting
  *  Add IID proposition
  *  Clarify lot of paragraphs following Dominique review
  *  Update acknowledgements
  *  Change ACK behaviour between each windows to optional for uplink fragmentation


We proposed an algorithm for IID which is close to the discussion we had with Dave Thaler during IETF-106, the idea is to create a hash derived from DevEUI and AppSKey. AppSkey is the only candidate we can find shared by the SCHC gateway and the device, which changes over time (RFC8065), in our case after each join/rejoin. This should also be validated by LoRaWAN security group to know if we can reuse AppSKey for such purpose

There is another proposition based on RFC7217 which the IID is "stable for each subnet": RID = F(Prefix, Net_Iface, Network_ID, DAD_Counter, secret_key), where Net_Iface can be DevEUI and Network_ID the LoRaWAN netid. 

I prefer the first proposition as it will mitigate correlation over time, the drawback is that we reuse AppSKey for something else than payload LoRaWAN protection.
The second proposition need a way to share the secret_key before communication and using LoRaWAN Netid might be an issue in passive roaming.

Any thoughts or comments ?

Thank you, and merry Christmas !
Olivier

> -----Original Message-----
> From: lp-wan <lp-wan-bounces@ietf.org> On Behalf Of internet-
> A New Internet-Draft is available from the on-line Internet-Drafts directories.
> This draft is a work item of the IPv6 over Low Power Wide-Area Networks WG
> of the IETF.
> 
>         Title           : Static Context Header Compression (SCHC) over LoRaWAN
>         Authors         : Olivier Gimenez
>                           Ivaylo Petrov
>         Filename        : draft-ietf-lpwan-schc-over-lorawan-05.txt
>         Pages           : 24
>         Date            : 2019-12-20
> 
> The IETF datatracker status page for this draft is:
> https://datatracker.ietf.org/doc/draft-ietf-lpwan-schc-over-lorawan/
> 
> There are also htmlized versions available at:
> https://tools.ietf.org/html/draft-ietf-lpwan-schc-over-lorawan-05
> https://datatracker.ietf.org/doc/html/draft-ietf-lpwan-schc-over-lorawan-05
> 
> A diff from the previous version is available at:
> https://www.ietf.org/rfcdiff?url2=draft-ietf-lpwan-schc-over-lorawan-05
> 

To view our privacy policy, including the types of personal information we collect, process and share, and the rights and options you have in this respect, see www.semtech.com/legal.