[icnrg] Comments on draft-irtf-icnrg-icnlowpan-04

"Mosko, Marc <mmosko@parc.com>" <mmosko@parc.com> Wed, 24 July 2019 18:51 UTC

Return-Path: <mmosko@parc.com>
X-Original-To: icnrg@ietfa.amsl.com
Delivered-To: icnrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 72D2F120141 for <icnrg@ietfa.amsl.com>; Wed, 24 Jul 2019 11:51:55 -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, RCVD_IN_DNSWL_NONE=-0.0001, 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=parc.onmicrosoft.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 UAKF8DQ2sneS for <icnrg@ietfa.amsl.com>; Wed, 24 Jul 2019 11:51:52 -0700 (PDT)
Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-eopbgr740071.outbound.protection.outlook.com [40.107.74.71]) (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 54CE5120338 for <icnrg@irtf.org>; Wed, 24 Jul 2019 11:51:52 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bMra1LgZbrew5rLqyxLryFpXjcw911lCVZKXBwl7TvMXt51bhR7SRbn66po5u4GfFn/HEKd08Ax0bCmd/96h7zZH91R4Tm7Z4jDtIMve2YNBm3H1OtCr9JrNpE8MnBgc7Jo+3WLzHUKscsqrP2Seor/pKhWFgOpMTrfheW8UpFKsTQkoqUZtXjTxZunD8U99wkJ3PXoHzkfNa8NK+Ogw1omqDmKeULqduBaJeqwPokGHzXHYiHybvpXiIZxAHruMJm3fnmIBkfl0axl9toju4Q3x+qand9agT31INp76jjbukRanUHg9iHvlzbTodsGk5fj1sNW2tDNTiRP7+W/X/A==
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=ZOCriARZyQafLpO+mbwXSxgVEHz2FEFE/W3CgX1bNzg=; b=acNYG2HZhE4sWcq/As36F2z19FOsFA+jf8V20lVoIRycprIXwO0AKDfbH3fx4Z6r/5yFX75vxgauk7kK331T0JmvY4B1RF0LDCo5+/W1RY3H/YfrTVsu0X6gfwBho5nfqm4r4EbANp5XEJIsem3nYGJGyXvqkZ8qmlXVgkqz3U5qOkOdpvWrmXRs0lga/Jw1M6PSoTHiqlBl1gbJkSk7gTlMqlkBzmiqh1f9IHzlfrz5PAAxGuXN9JfPmR11WHDfJB0NZhL66Xg4FOoI8B/zAhqnt+lXhb200LnaH/b+o5EoQT+Cy8kNpsUukSH2K8ln2rticLw8Qh9LIa5d0DzmvQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=parc.com;dmarc=pass action=none header.from=parc.com;dkim=pass header.d=parc.com;arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=parc.onmicrosoft.com; s=selector1-parc-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ZOCriARZyQafLpO+mbwXSxgVEHz2FEFE/W3CgX1bNzg=; b=mRAl2RUiVv5ASvtlBcgZKA6dgirJY3gOX0EqDleA93JX4TaGkH+H62tEKRG2LOhpKM+dvH7wjP+Z3/h1eTOxch2VVkh/6QzXo/2E2OqFnwQjY56e7PxI2T66pVo704YYhWQnfoBNda6Gp/GeUSvC1tJYB87z8PfzEHSULpxog+M=
Received: from BYAPR15MB3272.namprd15.prod.outlook.com (20.179.57.152) by BYAPR15MB3463.namprd15.prod.outlook.com (20.179.60.11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2094.16; Wed, 24 Jul 2019 18:51:49 +0000
Received: from BYAPR15MB3272.namprd15.prod.outlook.com ([fe80::fc8e:f281:bd9a:4ca2]) by BYAPR15MB3272.namprd15.prod.outlook.com ([fe80::fc8e:f281:bd9a:4ca2%5]) with mapi id 15.20.2094.017; Wed, 24 Jul 2019 18:51:49 +0000
From: "Mosko, Marc <mmosko@parc.com>" <mmosko@parc.com>
To: icnrg <icnrg@irtf.org>
Thread-Topic: Comments on draft-irtf-icnrg-icnlowpan-04
Thread-Index: AQHVQkvV6YI96s73UUap9lFYC4s57Q==
Date: Wed, 24 Jul 2019 18:51:49 +0000
Message-ID: <BYAPR15MB3272BD89BC6C098708FF8CBAADC60@BYAPR15MB3272.namprd15.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=mmosko@parc.com;
x-originating-ip: [13.1.110.60]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 19b22e7c-2e8e-4fc0-6b32-08d71067fc64
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:BYAPR15MB3463;
x-ms-traffictypediagnostic: BYAPR15MB3463:
x-ms-exchange-purlcount: 1
x-microsoft-antispam-prvs: <BYAPR15MB34638BFF70B92D166F35E8C9ADC60@BYAPR15MB3463.namprd15.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 0108A997B2
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(346002)(39840400004)(376002)(396003)(136003)(366004)(189003)(199004)(478600001)(81156014)(52536014)(966005)(36542004)(256004)(186003)(3846002)(14444005)(5660300002)(66066001)(74316002)(305945005)(66476007)(66556008)(81166006)(64756008)(76116006)(6436002)(8936002)(7736002)(6116002)(66446008)(86362001)(55016002)(3450700001)(316002)(6306002)(99286004)(8676002)(25786009)(14454004)(66946007)(33656002)(476003)(7696005)(102836004)(9686003)(53936002)(71200400001)(26005)(6916009)(486006)(2906002)(68736007)(71190400001); DIR:OUT; SFP:1101; SCL:1; SRVR:BYAPR15MB3463; H:BYAPR15MB3272.namprd15.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1;
received-spf: None (protection.outlook.com: parc.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: 8UavRHSSQFhVC/SC0c4ULrm6FN63Hkvwje89fmHfVES/eWLtEG+eorar7eZwMssrdW77nvg/hM/NHBFIKWtHdFW5/PjzcpjO/DPhBXaBFyoBJyrj1ssAeSfZVXXYCrSBAef4iVMNGCiiWtwkYtBBsNeF4HhUXJ9X72sOPzZU3eG1pXa/YuXwkMleZcIe1Ti765UOn5n/QW6PagpmXFTaBwHyb4s9XqUdntGjdg7aqhQf6ZspGrMxaDYt0p6FMMJAz3E2H9OSUT133GetvghPffLjTPRCvKjJtSX3zvn0i8Pg2QK8tYxubre3TgZGad+QGcbBU39wsvohnbB67/LCrNtcY8VrgFMz1EWKFVMS4jvVU5VqoOGzrbGRk+yAMhhhKYiotnZrEmtVM6P89hWSgmQoSsmk4cMRHdYOMhyKwjE=
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: parc.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 19b22e7c-2e8e-4fc0-6b32-08d71067fc64
X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Jul 2019 18:51:49.6830 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 733d6903-c9f1-4a0f-b05b-d75eddb52d0d
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: mmosko@parc.com
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR15MB3463
Archived-At: <https://mailarchive.ietf.org/arch/msg/icnrg/KFpoFzqawY3Hdtq-7XsYVVAqoqU>
Subject: [icnrg] Comments on draft-irtf-icnrg-icnlowpan-04
X-BeenThere: icnrg@irtf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Information-Centric Networking research group discussion list <icnrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/icnrg>, <mailto:icnrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/icnrg/>
List-Post: <mailto:icnrg@irtf.org>
List-Help: <mailto:icnrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/icnrg>, <mailto:icnrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 24 Jul 2019 18:51:55 -0000

Here is some feedback on the static compression sections.

* Because this uses an implied ordering of fields, one can only use it on packets where (1) the fields occur in the implied order or (2) not (1 and there is a (MAC or a Signature)).  That is, out of order fields are OK if not MAC'd or signed.  If MIC'd, you would need to recompute the MIC when decompressing.

* It would be good in this section to mention that the compressed LEN uses a different encoding.  From Fig 3 it looks like it is the same field. 

I made some comments about the original compression scheme we proposed at IETF 95.  I talked about the dictionary approach, but forgot to mention that we have a dictionary-based static compression.  This uses a standard dictionary that all nodes would implement, based on expected token frequency.  Here is a quick summary of that static approach.

In our original TLV compression scheme [1], we used both a static dictionary and learned dictionary.  Both approaches encode the T & L into different bit widths in 1, 2, or 3 octets.  These can be either fixed-length fields or variable length fields.  There would need to be different dictionaries for CCNx and NDN, as the occurrence of tokens are different.

I think it would worth coming up with some test vectors from actual packets and seeing how the proposed static compression compares to [1].  The advantage of [1] is that it encodes both T and L and it can compress strings of T & L, such as when there are 2 or 3 or 4 consecutive containers like in signature sections.  It also does not have any implied field ordering.  This means it works for all packets, even those that do not conform to an expected structure.  In particular, it works for typed name components.

If we can come up with a set of test vectors for NDN & CCNx, I would be happy to run those through the compressor in [1] to provide those data points.

[1] https://datatracker.ietf.org/meeting/interim-2016-icnrg-02/materials/slides-interim-2016-icnrg-2-7, in particular slides 21, 31, 32.

Marc