Re: [lp-wan] C Implementation of SCHC ?

Hannes Tschofenig <Hannes.Tschofenig@arm.com> Sat, 19 October 2019 16:09 UTC

Return-Path: <Hannes.Tschofenig@arm.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 B5981120019 for <lp-wan@ietfa.amsl.com>; Sat, 19 Oct 2019 09:09:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=armh.onmicrosoft.com header.b=73jDNLQT; dkim=fail (1024-bit key) reason="fail (body has been altered)" header.d=armh.onmicrosoft.com header.b=84QZnGFg
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 oyKNqHCTAYIB for <lp-wan@ietfa.amsl.com>; Sat, 19 Oct 2019 09:09:03 -0700 (PDT)
Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-ve1eur02on062f.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe06::62f]) (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 A1EAB120013 for <lp-wan@ietf.org>; Sat, 19 Oct 2019 09:09:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=4oZBICTcIwkx7d5elB2xHTCQqvz93mXBEiKv8Kpg5D0=; b=73jDNLQTUOEncsNV0tu8xy44x/T2DHOhpIy8Ca3zNzanHC881eGeqWjoLVouPcU78xYXb0wsdo95/SU0RozBdqGOmWKQj0tN2iRkhrjo5TkO7C5NFssHsHtXtPEiVb8YfBBtxA0EK7leiKUsRuXqMkJhK/8Ym02pZp1wPEFYKrQ=
Received: from VE1PR08CA0016.eurprd08.prod.outlook.com (2603:10a6:803:104::29) by DB8PR08MB5369.eurprd08.prod.outlook.com (2603:10a6:10:11c::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2347.24; Sat, 19 Oct 2019 16:08:57 +0000
Received: from DB5EUR03FT051.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e0a::205) by VE1PR08CA0016.outlook.office365.com (2603:10a6:803:104::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.2367.21 via Frontend Transport; Sat, 19 Oct 2019 16:08:57 +0000
Authentication-Results: spf=temperror (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; ietf.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;ietf.org; dmarc=none action=none header.from=arm.com;
Received-SPF: TempError (protection.outlook.com: error in processing during lookup of arm.com: DNS Timeout)
Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DB5EUR03FT051.mail.protection.outlook.com (10.152.21.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.2305.15 via Frontend Transport; Sat, 19 Oct 2019 16:08:55 +0000
Received: ("Tessian outbound 851a1162fca7:v33"); Sat, 19 Oct 2019 16:08:54 +0000
X-CR-MTA-TID: 64aa7808
Received: from 4526d1c381ac.1 (ip-172-16-0-2.eu-west-1.compute.internal [104.47.10.54]) by 64aa7808-outbound-1.mta.getcheckrecipient.com id 6341368E-B49C-4900-ABED-C5C2E6662131.1; Sat, 19 Oct 2019 16:08:49 +0000
Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-db5eur03lp2054.outbound.protection.outlook.com [104.47.10.54]) by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 4526d1c381ac.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384); Sat, 19 Oct 2019 16:08:49 +0000
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CA4oF4uX78rAOTwSsjclv2Ozjrd0YO54bpNob/o5UoYhyi553TEGC5gU+ycEELj0X5XxAkBgwzCRnv3nQYuLqxZguz5ues72rVMSrTrn7Ua6Zspwv5kEjKgCdDYaTe3F9RhIK6nWdr1bWCd5NKNQLprhmEdlgUBziHlTTwjxjFlVTEy7bwm2+XgP/Htw5KPZrgFE5AEmgVP6ydCcOJtHqPK/GcNzR2kPfzRAz6lB8Qk1QVVvZ5JbGZf+vZLxX8yeXJR57vRmprIhfsrq/5gY8Q2VTin+mRgTxv0R6Ng5OfjBhpENeIlRY6WwkmoKaZ9vcauS+y9ZFfsXX4PIUm5dcQ==
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=CO+slshEj0ujpESch+7lPzKJM3vULYVrHQalf81Y2RE=; b=F6r8+CG/We4htaWthk7T+pq8v8clMFThN7fq65D6OJVHQ5dRZtKqSpqHlVwmvYkhJ8yCMbBaTvDrTeJNqLiH4zqH18uukuqjAcrseqxTs2t+s/f0gsGxMcn77RAxEfV4DRXLPoaQI6Mr9DtujQTgc9S7qgDQmSzl3RomnkMakyU3oUfHXpPcLsUesD8ZNnHCZoKuP5NJVQDmoL2tncjSpjVwuEv8FS3UBQXIlV/j9Hfup8BK8sfg/qRP5oQUGxtd0KzbyPP4HGPYLUojZ/uKuG8KMCloOBAP6MeTyDsZl7SQwW/ElNqo9eyqI0IHpVtJx9SC6angVcoMw4plqWnHPQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=CO+slshEj0ujpESch+7lPzKJM3vULYVrHQalf81Y2RE=; b=84QZnGFgVFUhF+cTnQDn9ezJiD+lG1Tg6DDlbb0mV/sv15gPuYRLjbSxhEkCtrf8/Le4mInL9YyUpHNNxgU7F1LfMpA5AwRaRWKs29JHtaIom05/ccajrOVnDF9+WF0rBVIfpous5nnV75L+wnwpiyVYxnc5BVXRqxS/k1Mp2KU=
Received: from VI1PR08MB5360.eurprd08.prod.outlook.com (52.133.245.74) by VI1PR08MB3821.eurprd08.prod.outlook.com (20.178.15.160) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2347.18; Sat, 19 Oct 2019 16:08:47 +0000
Received: from VI1PR08MB5360.eurprd08.prod.outlook.com ([fe80::21b9:aacd:ea36:92ee]) by VI1PR08MB5360.eurprd08.prod.outlook.com ([fe80::21b9:aacd:ea36:92ee%5]) with mapi id 15.20.2367.021; Sat, 19 Oct 2019 16:08:46 +0000
From: Hannes Tschofenig <Hannes.Tschofenig@arm.com>
To: "dominique.barthel@orange.com" <dominique.barthel@orange.com>
CC: lp-wan <lp-wan@ietf.org>
Thread-Topic: [lp-wan] C Implementation of SCHC ?
Thread-Index: AQHVhc6jDsuk1QbAoEmkWm4Jd31/QqdiEzzg
Date: Sat, 19 Oct 2019 16:08:46 +0000
Message-ID: <VI1PR08MB536084E7246BA97041CA17E6FA6F0@VI1PR08MB5360.eurprd08.prod.outlook.com>
References: <32751_1571415063_5DA9E417_32751_90_1_D9CFADCB.66893%dominique.barthel@orange.com>
In-Reply-To: <32751_1571415063_5DA9E417_32751_90_1_D9CFADCB.66893%dominique.barthel@orange.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ts-tracking-id: 35adccd8-46df-4c63-ba72-e79b2df2daf1.1
x-checkrecipientchecked: true
Authentication-Results-Original: spf=none (sender IP is ) smtp.mailfrom=Hannes.Tschofenig@arm.com;
x-originating-ip: [80.92.123.83]
x-ms-publictraffictype: Email
X-MS-Office365-Filtering-Correlation-Id: 394956cd-0469-4a15-7e3c-08d754aea4b2
X-MS-Office365-Filtering-HT: Tenant
X-MS-TrafficTypeDiagnostic: VI1PR08MB3821:|DB8PR08MB5369:
X-Microsoft-Antispam-PRVS: <DB8PR08MB5369956EE61F37725907A16BFA6F0@DB8PR08MB5369.eurprd08.prod.outlook.com>
x-checkrecipientrouted: true
x-ms-oob-tlc-oobclassifiers: OLM:10000;OLM:10000;
x-forefront-prvs: 01952C6E96
X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(136003)(366004)(346002)(39860400002)(396003)(376002)(40434004)(53754006)(199004)(189003)(4326008)(9686003)(66476007)(64756008)(66446008)(486006)(66946007)(66556008)(76116006)(99286004)(256004)(14444005)(5024004)(66066001)(6916009)(74316002)(6306002)(54896002)(229853002)(55016002)(236005)(8936002)(5660300002)(7736002)(14454004)(52536014)(6246003)(71190400001)(2351001)(71200400001)(2501003)(25786009)(6116002)(186003)(33656002)(790700001)(5640700003)(3846002)(6436002)(102836004)(53546011)(8676002)(6506007)(81156014)(81166006)(76176011)(446003)(478600001)(476003)(316002)(26005)(2906002)(86362001)(7696005)(11346002); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB3821; H:VI1PR08MB5360.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts)
X-MS-Exchange-SenderADCheck: 1
X-Microsoft-Antispam-Untrusted: BCL:0;
X-Microsoft-Antispam-Message-Info-Original: ALZvrNc9ITq0AHRR0VsnZcXrTrVRP78z52cGs5OyzNNbPx2TvgN/hNPhGLV6c6Cs+Djo1a+95aWxyToGZb2JV3A9C3aa5CONUB8kl/EtJc+0sA4RVPAdhKxJQ/Dq32SwzmeaU0B8TqvvofM5Ezw9sti26vUBk+JqsKzUSqNFYeUg+PBjMB12dSnpw9ehumALT5YZG9CjXm0JJZ3kHFYkpMoUVh+JYQ4iJQSph+wKbgGOHtDVMAUQ4+LebCWqpKDq8ub7FLPCrEglAe1zC/aXy5RIsBWTaLSV+0ARro1lXcBl3NkfqP1IzpaAFLu74N/CQ1Ii3a7EroieVaB3VzTEEtiz37foHN2QtfJh0Gwg8I4TjRhgNTrLBfGVw1G8dpPO5y9K3zNWDnNOxu40WaNB3P95qPS5IloGW0wwr7Os1Jk=
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_VI1PR08MB536084E7246BA97041CA17E6FA6F0VI1PR08MB5360eurp_"
MIME-Version: 1.0
X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB3821
Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Hannes.Tschofenig@arm.com;
X-EOPAttributedMessage: 0
X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT051.eop-EUR03.prod.protection.outlook.com
X-Forefront-Antispam-Report: CIP:63.35.35.123; IPV:CAL; SCL:-1; CTRY:IE; EFV:NLI; SFV:NSPM; SFS:(10009020)(4636009)(376002)(136003)(39860400002)(346002)(396003)(40434004)(199004)(189003)(53754006)(316002)(7696005)(76176011)(8676002)(486006)(33964004)(26005)(476003)(2351001)(236005)(478600001)(6862004)(14454004)(4326008)(26826003)(126002)(53546011)(6506007)(33656002)(6306002)(66066001)(76130400001)(5660300002)(5640700003)(446003)(336012)(11346002)(9686003)(71190400001)(22756006)(229853002)(54896002)(186003)(102836004)(63350400001)(2501003)(356004)(52536014)(5024004)(86362001)(99286004)(70586007)(7736002)(74316002)(14444005)(25786009)(55016002)(81166006)(2906002)(81156014)(6116002)(790700001)(3846002)(16586007)(8936002)(70206006)(6246003); DIR:OUT; SFP:1101; SCL:1; SRVR:DB8PR08MB5369; H:64aa7808-outbound-1.mta.getcheckrecipient.com; FPR:; SPF:TempError; LANG:en; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; A:1; MX:1;
X-MS-Office365-Filtering-Correlation-Id-Prvs: 9f850681-b716-41de-d9b8-08d754ae9f44
X-Forefront-PRVS: 01952C6E96
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: RG+U7z8W+G/0BfsnT17MaCKi1WMeQ6zrJTBmW33nvGg6R/Nltf+ch0FWXbZ0fQcgvvfIakIh3ADnC7BYP4tToVP3kj/4CttsNKBFSPBi+GNvM1eyT+HqXH3mUyARYWYmYE/isp7EzL5gPcngfXziCIl2TFAN04yqmwnOGrXwOpgXC37pNxVKcv7vOTHlzdjmNJW8J3iR40x9uGRFI4Ehjrk/zSOdCz+ER41JDq0TDCh58eIK4eiJY+ZAAen0mXPnZkkBfnrOVJGyDTIzZHKiVKjFECdjBhWq3s6ZAzlVwUJEfz6Xbc9sEb9BqT0M8tbvG1K42hPKevf5YRwRyvrBy3jKLm3U4uEX8syKOQKELI45jAoLKCWu1FtCAau58RXlZm68KZJqBZtoIf0QFnjAFC8eU0MasAYMUN6QDblECvc=
X-OriginatorOrg: arm.com
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Oct 2019 16:08:55.9777 (UTC)
X-MS-Exchange-CrossTenant-Network-Message-Id: 394956cd-0469-4a15-7e3c-08d754aea4b2
X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d
X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com]
X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR08MB5369
Archived-At: <https://mailarchive.ietf.org/arch/msg/lp-wan/Qh5umrhQr2NjfkqOgnrv8-BM-B0>
Subject: Re: [lp-wan] C Implementation of SCHC ?
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: Sat, 19 Oct 2019 16:09:08 -0000

Thanks, Dominique.

Regarding the implementation question I cannot really help because I don’t know what the RIoT guys are trying to accomplish.

I was actually surprised to see that the work on static header compression is actually much more than compression. It includes a protocol for fragmentation and reassembly as well as support for reliable transmission of packets.

Ciao
Hannes

From: dominique.barthel@orange.com <dominique.barthel@orange.com>
Sent: Freitag, 18. Oktober 2019 18:11
To: Hannes Tschofenig <Hannes.Tschofenig@arm.com>
Cc: lp-wan <lp-wan@ietf.org>
Subject: Re: [lp-wan] C Implementation of SCHC ?

Hello Hannes,

I don't know of a SCHC implementation at this time.
The closest I know to an implementation is the RiOT guys intention of adding SCHC to RioT. AFAIK, they were debating whether to rewrite SCHC in C or run micropython over RioT.

Regarding papers, I'm aware of a paper being submitted by S. Aguilar et al. (IMT Atlantique, Rennes and UPC, Barcelona) but I'm not sure what its status exactly is.
I'll let the authors come out of the wood.
A quick search on ieeeexplore with the keyword "SCHC" returned two relevant papers (published this summer), YMMV.
What performance are you interested in ? Compression, fragmentation, .. ?

Best regards

Dominique

De : lp-wan <lp-wan-bounces@ietf.org<mailto:lp-wan-bounces@ietf.org>> on behalf of Hannes Tschofenig <Hannes.Tschofenig@arm.com<mailto:Hannes.Tschofenig@arm.com>>
Date : Friday 18 October 2019 16:55
À : lp-wan <lp-wan@ietf.org<mailto:lp-wan@ietf.org>>
Objet : [lp-wan] C Implementation of SCHC ?

Hi all,

I was searching for a C implementation of SCHC and only found Python and JavaScript implementations. Can someone send me a pointer to a C implementation?

I also recall a paper being distributed about the performance of SCHC but I cannot find that either. A pointer would be great.

Thanks.

Ciao
Hannes
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. 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.

IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.