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

Charlie Perkins <charles.perkins@earthlink.net> Mon, 21 May 2018 21:50 UTC

Return-Path: <charles.perkins@earthlink.net>
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 7115812D88F for <6lo@ietfa.amsl.com>; Mon, 21 May 2018 14:50:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.73
X-Spam-Level:
X-Spam-Status: No, score=-2.73 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_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, T_DKIMWL_WL_MED=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=earthlink.net; domainkeys=pass (2048-bit key) header.from=charles.perkins@earthlink.net header.d=earthlink.net
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 Yttq3PuE442Y for <6lo@ietfa.amsl.com>; Mon, 21 May 2018 14:50:28 -0700 (PDT)
Received: from elasmtp-galgo.atl.sa.earthlink.net (elasmtp-galgo.atl.sa.earthlink.net [209.86.89.61]) (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 3880312D88D for <6lo@ietf.org>; Mon, 21 May 2018 14:50:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=earthlink.net; s=dk12062016; t=1526939608; bh=XU0l4AGkHcQXSBQs/DUCk5wr7y63a4SqKj1T mf32LnE=; h=Received:Subject:To:Cc:References:From:Message-ID:Date: User-Agent:MIME-Version:In-Reply-To:Content-Type:Content-Language: X-ELNK-Trace:X-Originating-IP; b=PbJMNQwDWVPAnDpDXP6GCPyNtox2079bC NAZma+//XYOWBUJVvMs2PlJ01GsJmLQD43xIUoSiBI1/LcM6Uii7ueM2iezobRWcSKS Zowb7XusWuKgzkJ/wXV6JKF7G37Z+a8KHtemLghsAKkzvjERVk2sAhhm4MTv768mx5l hugfi+mNE79Ik6uCH/NmtlB5fl7Ff25flkqoU0fZeyKP8znkJoJSfKHETSf0Ug9XuMN Ss+iWWZZq1cUpLn3nWCnb4cjZX+JMpJSFQqzhm0UruqBvZci5GfVAnldBsc/FxY3Jxk ZhkOLOSkHB3as36hK5jjGQb961QjW2h2PXqd63osw==
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk12062016; d=earthlink.net; b=aqxLaHijU6Ei9N2DemC9Voc1b0uyiUB7arZ4lwB9qQc/OGZO9Vuve7ZbqpO/BKzLdQ9ZEC640LCH4pjjIvpYnv98ObkC8NApM4lX3Q2F8DVX0JWDTJAUYLItNwxXpLgwme7F82o1llefHMIxciUZ67Tbzr2PjCTfEWzR3fLjjuOZdoBjCqGR8t3VqaYBW/qr+AqQvflOcxWGRLpRWPsi5zVF8otrnnuZHSYh+KdISRXtULw9PVLku3oP2X5svsx7R5iufG9m/rQL/eySm5/kptO2KJT0Ym7iAsdFOJSEAhfBqf8/+IRyrKm4ftff3H3eFAkmBzDrp5tTKh4X4iDI6A==; h=Received:Subject:To:Cc:References:From:Message-ID:Date:User-Agent:MIME-Version:In-Reply-To:Content-Type:Content-Language:X-ELNK-Trace:X-Originating-IP;
Received: from [99.51.72.196] (helo=[192.168.1.82]) by elasmtp-galgo.atl.sa.earthlink.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4) (envelope-from <charles.perkins@earthlink.net>) id 1fKskA-0007V4-Bj; Mon, 21 May 2018 17:53:26 -0400
To: "Pascal Thubert (pthubert)" <pthubert@cisco.com>
Cc: "6lo@ietf.org" <6lo@ietf.org>
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>
From: Charlie Perkins <charles.perkins@earthlink.net>
Message-ID: <7e52e1be-8343-86fe-f121-a5747d27e207@earthlink.net>
Date: Mon, 21 May 2018 14:50:23 -0700
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0
MIME-Version: 1.0
In-Reply-To: <1DE08163-D6F7-4127-B1F4-BADD45224C3E@cisco.com>
Content-Type: multipart/alternative; boundary="------------EB0C9FFB6A2ED8A471178CA0"
Content-Language: en-US
X-ELNK-Trace: 137d7d78656ed6919973fd6a8f21c4f2d780f4a490ca6956846b590522b13c95ad651d63f340a8101ebf7e4270a9807c350badd9bab72f9c350badd9bab72f9c
X-Originating-IP: 99.51.72.196
Archived-At: <https://mailarchive.ietf.org/arch/msg/6lo/rAmg6iQ-3is1H8Rg7K7e3HxBpCU>
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: Mon, 21 May 2018 21:50:31 -0000

Hello Pascal,

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

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.

On 5/21/2018 11:31 AM, Pascal Thubert (pthubert) wrote:
> Hello Charlie;
>
>
> Le 21 mai 2018 à 19:36, Charlie Perkins <charles.perkins@earthlink.net 
> <mailto:charles.perkins@earthlink.net>> a écrit :
>
>> Hello Pascal,
>>
>> 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?  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.

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

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.

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.

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.

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.

Regards,
Charlie P.