Re: [6lo] Future extensibility for the DAR/DAC

"Pascal Thubert (pthubert)" <pthubert@cisco.com> Tue, 22 May 2018 05:38 UTC

Return-Path: <pthubert@cisco.com>
X-Original-To: 6lo@ietfa.amsl.com
Delivered-To: 6lo@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9EE2812DA22 for <6lo@ietfa.amsl.com>; Mon, 21 May 2018 22:38:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.51
X-Spam-Level:
X-Spam-Status: No, score=-14.51 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_DKIMWL_WL_MED=-0.01, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.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 W9oFyBopaOXh for <6lo@ietfa.amsl.com>; Mon, 21 May 2018 22:38:40 -0700 (PDT)
Received: from alln-iport-6.cisco.com (alln-iport-6.cisco.com [173.37.142.93]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4E114124B18 for <6lo@ietf.org>; Mon, 21 May 2018 22:38:40 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=14197; q=dns/txt; s=iport; t=1526967520; x=1528177120; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=1Q/QDj2q0dfocTzmBHqsdb1zZ4wYD9xlIiElU2eDaGc=; b=LO6jDGNFvBnQMB8vb71owtGvF8UucoyZhgcNiZciCcniOIlIB8UhNeuP i/4GfkQi4MjAENX3IAQD99qGd8LEgX1f6jN8YVABlbXFUEwkGhuAbswJ+ eChkuW+lr7BUCK/aSVF4ygoR4PwWRzdLz53xPZh3WjMHkZnZ850azdmLs g=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0DOAQCfqwNb/5ldJa1YAxkBAQEBAQEBAQEBAQEHAQEBAQGCTXaBX4QdlHiBWIEwjj+Ed4F4C4RsAhqCAiE1FwECAQEBAQEBAmwohSkGIwpMEAIBCA40AgICMCUCBA6DJ4EdZKhJghyEWINsgg+INYFUP4EPJAyBXn+FCgomgjkwgiQCmE4JAo5VgTeLRodOiQMCERMBgSQBHQE2gVJwFTsqAYIZgh8XjheRZgEB
X-IronPort-AV: E=Sophos;i="5.49,429,1520899200"; d="scan'208,217";a="117488719"
Received: from rcdn-core-2.cisco.com ([173.37.93.153]) by alln-iport-6.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 22 May 2018 05:38:39 +0000
Received: from XCH-RCD-001.cisco.com (xch-rcd-001.cisco.com [173.37.102.11]) by rcdn-core-2.cisco.com (8.14.5/8.14.5) with ESMTP id w4M5cdKP016139 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Tue, 22 May 2018 05:38:39 GMT
Received: from xch-rcd-001.cisco.com (173.37.102.11) by XCH-RCD-001.cisco.com (173.37.102.11) with Microsoft SMTP Server (TLS) id 15.0.1320.4; Tue, 22 May 2018 00:38:38 -0500
Received: from xch-rcd-001.cisco.com ([173.37.102.11]) by XCH-RCD-001.cisco.com ([173.37.102.11]) with mapi id 15.00.1320.000; Tue, 22 May 2018 00:38:38 -0500
From: "Pascal Thubert (pthubert)" <pthubert@cisco.com>
To: Charlie Perkins <charles.perkins@earthlink.net>
CC: "6lo@ietf.org" <6lo@ietf.org>
Thread-Topic: [6lo] Future extensibility for the DAR/DAC
Thread-Index: AdPceQQzGA/oVtUBQ/SWRKN/gEfddwHP47IQA2TuH4AACWXAwP//xKeAgAAPVoCAADeAgIAALwI5
Date: Tue, 22 May 2018 05:38:37 +0000
Message-ID: <89AE92DC-1662-4B56-BB78-D3719494FFC1@cisco.com>
References: <54678d30cf154c4f90a5159c8eafae50@XCH-RCD-001.cisco.com> <d880c77084c547e69cd7d2beda5019b3@XCH-RCD-001.cisco.com> <de1c35db-b467-3a13-65f4-5838d139b689@earthlink.net> <ecf2b247dca24ac3a5e93de71174cadc@XCH-RCD-001.cisco.com> <d3d25a11-8a1a-0dde-553a-9c01630c11fa@earthlink.net> <1DE08163-D6F7-4127-B1F4-BADD45224C3E@cisco.com>, <7e52e1be-8343-86fe-f121-a5747d27e207@earthlink.net>
In-Reply-To: <7e52e1be-8343-86fe-f121-a5747d27e207@earthlink.net>
Accept-Language: fr-FR, en-US
Content-Language: fr-FR
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-transport-fromentityheader: Hosted
Content-Type: multipart/alternative; boundary="_000_89AE92DC16624B56BB78D3719494FFC1ciscocom_"
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/6lo/vvq_Qcns1Y2hgvePI4IZgN51oqs>
Subject: Re: [6lo] Future extensibility for the DAR/DAC
X-BeenThere: 6lo@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "Mailing list for the 6lo WG for Internet Area issues in IPv6 over constrained node networks." <6lo.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/6lo>, <mailto:6lo-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/6lo/>
List-Post: <mailto:6lo@ietf.org>
List-Help: <mailto:6lo-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/6lo>, <mailto:6lo-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 22 May 2018 05:38:43 -0000

Hello Charlie:


You have to admit that the word "legacy" in previous emails was open to ambiguity.

Yes :)
So let's define "old-legacy" to mean RFC 6775, and "new-legacy" to mean rfc6775-update-only.  With that terminology, I will re-write my earlier comment.


I have some follow-up comments interspersed below.

On 5/21/2018 10:18 AM, Pascal Thubert (pthubert) wrote:
Hello Charlie :

This is not simple and I hope the list comes in and helps. The reason for proposing the text below is to enable future codes to be backward compatible with this spec.

My suggestion also allows future codes to be backward compatible, right?

I do not understand that; how would a node that implements this spec process a code of 10?

In other words, how should we design variable-length ROVR fields so that a new-legacy node can skip past unrecognized Codes for DAR and DAC but still process their options?

Yes; there is no room for that field and even the ROVR type is somewhat lacking


  In addition, I think we want to obey the constraint that old-legacy nodes can still interact with CodePfx=0 DAR and DAC with ROVRs of 64 bits.


Well, old legacy Ignore the ICMP code so that much is not a requirement. But then they support only ROVR size of 64 bits.
The situation of a legacy can be discovered with our spec and there is always the fallback situation of avoiding new incompatible stuff.

If you agree with this reformulation, then I think the answer is clearly to define some length bits somewhere.

Yes, and even better would have been more room for a ROVR type too.


As currently proposed, we only need two length bits.  But maybe future messages will need longer verifications.  With three length bits, we get twice as many Codes and still very sufficient length signifiers.  Maybe we could have 64, 128, 192, 256, 512, 1024, 2048, rsvd.


This is why I carved 4 bits, yes.

I also think it is better to be explicit, and call the new field "CodeSz" or something like that so that it is very clearly not a "subtype" field.

Maybe a future non compatible format will use it differently in a situation with no new legacy device. I’d prefer indicating both; it is a sub code and it indicates the ROVR size.


If it were not needed to process options for these ICMP types, then I think the ICMP length in the next header field would suffice.


Agreed but an option is already coming up for using DAR DAC on the backbone. Anyway an inextensible message would be a great waste of ICMP space.

Another possibility would be to reserve some initial bits of the ROVR field itself to indicate the length of the ROVR.   Old-legacy nodes would still discard new DAR and DAC messages with a ROVR that was too long.  New-legacy nodes would know to check the first three or four bits of the field for the length of the ROVR.  But I did not think this all the way through yet.


But old legacy will set those bits randomly. And then we have alignment problems. I proposed the subcode as a last resort...

Take care,

Pascal

Regards,
Charlie P.