Re: [Lake] LoRaWAN use case; Re: WGLC for draft-ietf-lake-reqs-01

Göran Selander <goran.selander@ericsson.com> Wed, 01 April 2020 17:58 UTC

Return-Path: <goran.selander@ericsson.com>
X-Original-To: lake@ietfa.amsl.com
Delivered-To: lake@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B62523A14B4 for <lake@ietfa.amsl.com>; Wed, 1 Apr 2020 10:58:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.1
X-Spam-Level:
X-Spam-Status: No, score=-2.1 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ericsson.com
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 xDYGCWxUG1VC for <lake@ietfa.amsl.com>; Wed, 1 Apr 2020 10:58:52 -0700 (PDT)
Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2055.outbound.protection.outlook.com [40.107.20.55]) (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 ACFDC3A14B3 for <lake@ietf.org>; Wed, 1 Apr 2020 10:58:51 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MawRyOs/QkZy3EcMY5lmfH1S4+MqOkYTncgQfRIjAXaUdTx55Tav2erv3XyIJjuzwuMNAeCpNuk6tp5399XOSun03jhfkwjxGbVFXJgXre4Gq5gMmhBO4OJcfS/ADcTc8Wb8mOrMBpSFmnedQfKstyAGQAPk6Et7nmfUR/zoLpvUaE2qrFezwADQyyNiMY82wTbEtUhpXtGTpdewUAcMKmqyET3PziJHVkrtUad5+w32aqud+KGMjdPPnABbsnfAD+bD/v3N+DjisSfawPQj6h0dAxF9r3dhEEJyeuv7cZoc0ixERcmV0xbOHq0KcIKtZbr++RQCXvy0OyynWzTddQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ZSJJs6jDIwOy0de2+TBW+2IgbbzC38iS/2k+HL6DBsk=; b=RDIlz76nWmSrjBZ/bqLbIwXpsGV4joNf4QPzpyvloNardam8uponRllDBfUS1VaTRmsE6N5GD7Zr7IuTe1nTXGWfOT+pJkz82lTV+YDCZTAdyn49e7swFzI0xJeruMnCRLcse51VyA8W5FaBaKXWShvS6jazlsstXwCbCkojz1Nqdtf8UBnM7UAab6Gtdb2wzoyAEnZevA1ke709KuNCTmMExjOJrgGFQ/NVKBWQzaYfv6WliQ84Ijrf4WOBi/69JZBBTOsM3OwFJ8M/lvWErPAi/Y3CSNBLXuY/9vdGdJMf2EBMU/GpQNILZPUaC8pH8QAy9r7YQtRGvpsHOawJFw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ericsson.com; dmarc=pass action=none header.from=ericsson.com; dkim=pass header.d=ericsson.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ZSJJs6jDIwOy0de2+TBW+2IgbbzC38iS/2k+HL6DBsk=; b=gCPcCwmciFcwoQb8ZZzyPgUVeSFt0jjxhmJJQxWNR84vZmQTPTrBZ0Dhf2loNvDxBTL+33vyDofk3Jk0YTniMgSNsZMXCXNba5VaoCknjsmpcdpaNWCVwAxS1mgGwQt5PVY8NDk3a73q3lnh3wsyilF8KY4s78+iJiSBEffXRn0=
Received: from HE1PR0701MB2217.eurprd07.prod.outlook.com (10.168.35.12) by HE1PR0701MB2636.eurprd07.prod.outlook.com (10.168.187.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2878.11; Wed, 1 Apr 2020 17:58:49 +0000
Received: from HE1PR0701MB2217.eurprd07.prod.outlook.com ([fe80::a1ee:95ef:febb:548e]) by HE1PR0701MB2217.eurprd07.prod.outlook.com ([fe80::a1ee:95ef:febb:548e%12]) with mapi id 15.20.2878.014; Wed, 1 Apr 2020 17:58:49 +0000
From: Göran Selander <goran.selander@ericsson.com>
To: "dominique.barthel@orange.com" <dominique.barthel@orange.com>, Eric Rescorla <ekr@rtfm.com>
CC: "lake@ietf.org" <lake@ietf.org>
Thread-Topic: [Lake] LoRaWAN use case; Re: WGLC for draft-ietf-lake-reqs-01
Thread-Index: AQHWCCo55ekgv7JWHEuGVEPbCANb+qhkeJGA///owYCAAE5DAA==
Date: Wed, 01 Apr 2020 17:58:48 +0000
Message-ID: <25933FC0-E0B8-43D0-A9F9-55AD11D7761F@ericsson.com>
References: <29734_1585730849_5E845521_29734_128_1_DAAA1C73.72FE4%dominique.barthel@orange.com> <B77992D8-230B-4CD4-A905-8A7D7AEE0884@ericsson.com> <27784_1585747918_5E8497CE_27784_494_1_DAAA597D.73034%dominique.barthel@orange.com> <28BF92FE-B0DC-4471-A4A4-C75BD2E5F03E@ericsson.com> <32275_1585754326_5E84B0D6_32275_32_1_DAAA7842.730FF%dominique.barthel@orange.com>
In-Reply-To: <32275_1585754326_5E84B0D6_32275_32_1_DAAA7842.730FF%dominique.barthel@orange.com>
Accept-Language: en-US
Content-Language: en-GB
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/16.35.20030802
authentication-results: spf=none (sender IP is ) smtp.mailfrom=goran.selander@ericsson.com;
x-originating-ip: [213.89.246.8]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 7484433b-73ed-4dae-38e2-08d7d66654ae
x-ms-traffictypediagnostic: HE1PR0701MB2636:
x-microsoft-antispam-prvs: <HE1PR0701MB2636527D3487F33514065464F4C90@HE1PR0701MB2636.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-forefront-prvs: 03607C04F0
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:HE1PR0701MB2217.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(10009020)(6029001)(4636009)(136003)(396003)(376002)(346002)(39860400002)(366004)(81166006)(478600001)(71200400001)(5660300002)(316002)(66574012)(86362001)(33656002)(36756003)(6506007)(2906002)(110136005)(6512007)(26005)(4326008)(186003)(85202003)(85182001)(66446008)(64756008)(66476007)(66556008)(2616005)(76116006)(6486002)(66946007)(8936002)(81156014)(8676002)(91956017); DIR:OUT; SFP:1101;
received-spf: None (protection.outlook.com: ericsson.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: ndlefLrY12HB8HzMTYUD0VUgyiyzGJrvOF/IigsFOp7e47KW9G2ucA0g/PKgRdF3aHkmuPrPmc9emmOygAz+uB0YIo/PNAex9yTvBU5WDil6PmMU2oQ8lmtglWc8XeOVsQvOCEZLce0Ek+Tg1AQ7MWnYk+ta00xKRhNBWxw8ppeo/etEJu9SDSPy5CrZ8R9fxyAWmuZ7H8JCY9VYXcUMO4vhPAMkK4JR/FIb5GvtAc/1Ma3lLN8wAvWqohuBE+/0aJdBfiqDn2yTzenVO0auCYK1tME4xRPD1ZWwG8zcx7vFdwnZbdoFEmb6QUMdFXDvAGz3xkKy2c0bvA6zqj3blh5FJP6NWXDWIB3MgExF8HsRRJUFd3LSISAPG7xRVa59JOWNyB8TmHsBWNrM0TM6aC540PIXaqFgNox3S5TzI8cHbhwrSiGCc/O8hP4+ci60
x-ms-exchange-antispam-messagedata: 5phnPSJmcrzNsJcezc25PpwzhFUTQmh/EgFx+jbWTTscPHuav1YTzriLE6zEUPItPn9si4HHjZWwN2FO1KHOx3is/y1ZSqd0vpP8LpqtjCZxKuRExCs3C0AlBobLSpsVRK1Vkw2cSuzWOzi8u2j5Ng==
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_25933FC0E0B843D0A9F955AD11D7761Fericssoncom_"
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 7484433b-73ed-4dae-38e2-08d7d66654ae
X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Apr 2020 17:58:49.0917 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: BZ4otmrvvL8F0TvB9Toa+JV2gJnx+0eWSCZinZBTiC+0heVqBV7AEsQnCweylimQFP79oqTnH6JfncljnnSiZ7COfJ/cWxB6F12WF37x2gM=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0701MB2636
Archived-At: <https://mailarchive.ietf.org/arch/msg/lake/m3hIheN9oSAyi7_8102l-LZ0uRA>
Subject: Re: [Lake] LoRaWAN use case; Re: WGLC for draft-ietf-lake-reqs-01
X-BeenThere: lake@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Lightweight Authenticated Key Exchange <lake.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/lake>, <mailto:lake-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/lake/>
List-Post: <mailto:lake@ietf.org>
List-Help: <mailto:lake-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/lake>, <mailto:lake-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 01 Apr 2020 17:58:54 -0000

Hi Dominique,

(trimmed down as instructed)

I’m trying to compare your challenge against the current benchmark: 1 message per packet at SF12.

Since there is no automatic mapping between uplink/downlink and flights of the AKE we need to consider both cases. (One potential way to address collisions between multiple devices accessing at the same time is that the device triggers the other endpoint start the AKE, which can act as initiator and schedule the AKE with each device.)

For the case of message 1 and message 3 being uplink, assuming key exchange protocol messages of size 51 bytes at link layer gives an air-time equal to 5.6 seconds (assuming the spreadsheet I’m using is correct). This is in the higher end of the interval 4-6 seconds of your challenge. (For EDHOC with raw public keys based ECDH the corresponding air-time is 4.4 seconds.)

For the setting where message 2 is uplink, there is a need for an additional message to trigger the AKE. Assuming a few bytes of trigger and 51 bytes at link layer in message 2 this gives an air-time for uplink slightly above 4 seconds (assuming the spreadsheet is correct; similar for EDHOC RPK).

So, the current benchmark and available data points are all compliant with your challenge.

Now message 2 is typically the largest message in the AKE, and as you acknowledged there is an uncertainty and potential cost with downlink (and also with simultaneous access). I think a benchmark should include all messages of the AKE and I would propose that we don’t formulate it in terms of uplink/downlink.

What do you think? Does the current benchmark make sense or would you prefer more restricted message sizes?

Göran