Re: [6lo] Future extensibility for the DAR/DAC
Charlie Perkins <charles.perkins@earthlink.net> Mon, 21 May 2018 17:36 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 2791712E8C8 for <6lo@ietfa.amsl.com>; Mon, 21 May 2018 10:36:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.72
X-Spam-Level:
X-Spam-Status: No, score=-2.72 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, T_KAM_HTML_FONT_INVALID=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 vENH_Vfl8RqE for <6lo@ietfa.amsl.com>; Mon, 21 May 2018 10:36:55 -0700 (PDT)
Received: from elasmtp-kukur.atl.sa.earthlink.net (elasmtp-kukur.atl.sa.earthlink.net [209.86.89.65]) (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 B3A1D12D7EF for <6lo@ietf.org>; Mon, 21 May 2018 10:36:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=earthlink.net; s=dk12062016; t=1526924529; bh=Tyb8RSUGQS29MSgu5HUq3F9QlBNN0X2ZwFuw 8eYm4lg=; h=Received:Subject:To:References:From:Message-ID:Date: User-Agent:MIME-Version:In-Reply-To:Content-Type:Content-Language: X-ELNK-Trace:X-Originating-IP; b=HfCTAbondGVzNJA1cdQth9P11dEc+kBy9 eL6JSB+qYdIGeLx/iCsYqdMi4kfyy6OIyYs1TtL9ujjQ4b//XWxkFyJCzZmizBmZ+bW TSU1lU+CYnQds3VYpR8z5OU2CJCRFpY03E1/lF9iienrqz769Nvw6wj6gtj9YFNg/NT mO2JqjCbplI9CY/f15eYMZyBrYZ7gOlnXa04S3ZH73GY+1IqmAvqLO6inltHUHc5hSY PjOhU+Se4KLn4PtP3gRPCrTNlic7nTL8Zbic0vaDdFYte9b+jwk3pDbnV0vQ+KI35NU +6m9R+k67bSnHabV8XuI68j70j1SqZbuF0CzEzTcA==
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk12062016; d=earthlink.net; b=B0X4mL32cJQORxi9bz7Qu6Y85pYAbjGo/KxrVqZVL12BCm+PeUKEYtr8G+5Bh4bWMKgoziKGGo6vgc9GM/n8etGpcXMM+sFTfkMMcb3K3LHhVxNwqMtZSytUR+rxHJvjkjdm+geT4hOPDaOA/XwNjgZ9eqWd3jhWOXPQXFRdPsCGYp0mIaUQcqpFDn0hS5qmzm1lFD/SnsXBvk4R5UGj6rwi/f4FEDeM4Yfed757Pb66yGKx5NUin8sDdfH1ecRbFBQ8p17AFaFIlAo7bum9AfddiQRZM37Tlh2oX1/USgJcoyUqeaDTpSIM5ZQ7DAQ6jNvS/v6hlqP8tQ4KB1T20w==; h=Received:Subject:To: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-kukur.atl.sa.earthlink.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4) (envelope-from <charles.perkins@earthlink.net>) id 1fKoox-000Far-Ab; Mon, 21 May 2018 13:42:07 -0400
To: "Pascal Thubert (pthubert)" <pthubert@cisco.com>, "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>
From: Charlie Perkins <charles.perkins@earthlink.net>
Message-ID: <d3d25a11-8a1a-0dde-553a-9c01630c11fa@earthlink.net>
Date: Mon, 21 May 2018 10:36:51 -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: <ecf2b247dca24ac3a5e93de71174cadc@XCH-RCD-001.cisco.com>
Content-Type: multipart/alternative; boundary="------------81B6B3E6117149D7BCEBBC65"
Content-Language: en-US
X-ELNK-Trace: 137d7d78656ed6919973fd6a8f21c4f2d780f4a490ca6956846b590522b13c95276aac50ec32213786d303a85565270d350badd9bab72f9c350badd9bab72f9c
X-Originating-IP: 99.51.72.196
Archived-At: <https://mailarchive.ietf.org/arch/msg/6lo/edZJ5T8lYzWing5iyYhJS5mBxhU>
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 17:36:59 -0000
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? > As written a non-zero split-code is ignored, and a legacy node can > still parse the ROVR correctly when a future node uses a non-zero > split-code. > I don't see how a legacy node can process anything but CodePfx=0/CodeSfx=0. > If we do not split the code, the legacy node cannot parse the message > at all if the code is not one of the listed ones, since it cannot > fathom the size of the ROVR. > But, see above. Or, are you referring to a "future legacy" node? > Also, if all ROVR sizes are still supported in the future, the > addition of a new code will in fact cause the addition of as many > codes as there are ROVR sizes. > But this is also inherently true if the Code field would be split. > All in all I favor the proposed text that splits the ICMP code. > The split proposal already mandates ignoring all CodePfx values other than zero. Unless I am missing something, the split takes away future flexibility but returns no reward for backward compatibility. Regards, Charlie P. > What do others think? > > Pascal > > *From:*6lo <6lo-bounces@ietf.org> *On Behalf Of *Charlie Perkins > *Sent:* lundi 21 mai 2018 18:40 > *To:* 6lo@ietf.org > *Subject:* Re: [6lo] Future extensibility for the DAR/DAC > > Hello folks, > > I think it would be better to avoid subdividing the Code field as > shown below. It may seem simple, but the effect would to require 16 > subCodes for every future allocated Code, even if completely > unnecessary. Besides that, there is then the complication of > additional registries, review procedure, etc., which may not be needed > for future Codes. > > Instead, for the purposes mentioned to enable options, I think it > makes a lot more sense to just allocate a different Code for each > proposed subcase of ROVR field length. As noted below, I think this > would mean 4 codes for DAR and 4 codes for DAC. That is really pretty > straightforward, besides only taking two bits instead of four per ICMP > type. > > Regards, > Charlie P. > > On 5/4/2018 8:08 AM, Pascal Thubert (pthubert) wrote: > > Dear all : > > The problem at hand is that the way draft 19 is formulated, the > DAR/DAC messages can never have options. This is barring future > capabilities, in particular using the DAR/DAC over the backbone as > discussed at the last IETF – I still need ot propose text on that. > > To address this issue, I suggest that the initial use of the ICMP > code (at some point odd values would mean support to this spec) in > DAR/DAC message is extended so the size of the ROVR field is > clearly indicated in a subfield of the ICMP code. > > The proposed change is as follows: > > 0 1 2 3 > > 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 > > +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ > > | Type |CodePfx|CodeSfx| Checksum | > > +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ > > | Status | TID | Registration Lifetime | > > +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ > > | | > > ... Registration Ownership > Verifier ... > > | | > > +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ > > | | > > + + > > | | > > + Registered Address + > > | | > > + + > > | | > > +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ > > Figure 2: Duplicate Address Messages Format > > Modified Message Fields: > > Code: The ICMP Code as defined in [RFC4443]. With this > > specification, the ICMP Code for Duplicate Address > > Messages is split in 2 fields, the Code Prefix and > > the Code Suffix, each a 4-bits field. The Code > > Prefix MUST be set to zero by the sender and > MUST be > > ignored by the receiver. A non-null value of the > > Code Suffix indicates support for this > specification. > > It MUST be set to 1 when operating in a backward- > > compatible mode with a ROVR size of 64 bits. > It MAY > > be 2, 3 or 4, denoting a ROVR size of 128, 192, and > > 256 bits, respectively. > > Also this means a chnage in the IANA section: > > 9.2. ICMP Codes > > IANA is requested to create 2 new subregistries of the ICMPv6 > "Code" > > Fields registry, which itself is a subregistry of the Internet > > Control Message Protocol version 6 (ICMPv6) Parameters for the ICMP > > codes. The new subregistries relate to the ICMP type 157, > Duplicate > > Address Request (shown in Table 3), and 158, Duplicate Address > > Confirmation (shown in Table 4), respectively. For those ICMP > types, > > the ICMP Code field is split in 2 subfields, the "Code Prefix" and > > the "Code Suffix". The new subregistries relate to the "Code > Suffix" > > portion of the ICMP Code. The range of "Code Suffix" is 0..15 > in all > > cases. The policy is "IETF Review" or "IESG Approval" > [RFC8126] for > > both subregistries. The new subregistries are initialized as > > follows: > > New Code Suffixes for ICMP types 157 DAR message > > +--------------+---------------------------------------+------------+ > > | Code Suffix | Meaning | > Reference | > > +--------------+---------------------------------------+------------+ > > | 0 | RFC6775 DAR message | RFC > 6775 | > > | | | | > > | 1 | EDAR message with 64bits-long ROVR | This > RFC | > > | | field > | | > > | | | | > > | 2 | EDAR message with 128bits-long ROVR | This > RFC | > > | | field > | | > > | | | | > > | 3 | EDAR message with 192bits-long ROVR | This > RFC | > > | | field > | | > > | | | | > > | 4 | EDAR message with 256bits-long ROVR | This > RFC | > > | | field > | | > > | | | | > > | 5...15 | Unassigned > | | > > +--------------+---------------------------------------+------------+ > > Table 3: New Code Suffixes for the DAR message > > New Code Suffixes for ICMP types 158 DAC message > > +-------------+----------------------------------------+------------+ > > | Code Suffix | Meaning | > Reference | > > +-------------+----------------------------------------+------------+ > > | 0 | RFC6775 DAC message | RFC > 6775 | > > | | | | > > | 1 | EDAC message with 64bits-long ROVR | This > RFC | > > | | field > | | > > | | | | > > | 2 | EDAC message with 128bits-long ROVR | This > RFC | > > | | field > | | > > | | | | > > | 3 | EDAC message with 192bits-long ROVR | This > RFC | > > | | field > | | > > | | | | > > | 4 | EDAC message with 256bits-long ROVR | This > RFC | > > | | field > | | > > | | | | > > | 5...15 | Unassigned > | | > > +-------------+----------------------------------------+------------+ > > Table 4: New Code Suffixes for the DAC message > > Please let us know if there is an issue with this, cc’ing Adrian > since we discussed this unusual use of the ICMP Code during his > review. > > All the best, > > Pascal > > *From:* 6lo <6lo-bounces@ietf.org> <mailto:6lo-bounces@ietf.org> > *On Behalf Of *Pascal Thubert (pthubert) > *Sent:* mercredi 25 avril 2018 11:54 > *To:* 6lo@ietf.org <mailto:6lo@ietf.org> > *Subject:* [6lo] Future extensibility for the DAR/DAC > > Dear all : > > As it stands in RFC 6775 update, the fact that the DAR and DAC > messages are in fact extended DAR and DAC is indicated by the ICMP > code of 1. > > In that case, the size of the message determines the size of the > ROVR field that carries the ex-EUI-64 field, now ROVR field, which > can be extended up to 256 bits for use as a cryptographic proof of > ownership in AP-ND. > > Keeping it that way may be problematic if we want to add future > extensions (e.g., options at the end of the message) and stay > backward compatible. > > An alternate way is to block 2 bits of the ICMP code and use the > values 0, 1, 2, and 3 denoting a ROVR size of 64, 128, 192 and 256 > bits respectively. > > Should we / shouldn’t we do that? > > Pascal > > > > > _______________________________________________ > > 6lo mailing list > > 6lo@ietf.org <mailto:6lo@ietf.org> > > https://www.ietf..org/mailman/listinfo/6lo > <https://www.ietf.org/mailman/listinfo/6lo> > > > > _______________________________________________ > 6lo mailing list > 6lo@ietf.org > https://www.ietf.org/mailman/listinfo/6lo
- [6lo] Future extensibility for the DAR/DAC Pascal Thubert (pthubert)
- Re: [6lo] Future extensibility for the DAR/DAC Pascal Thubert (pthubert)
- Re: [6lo] Future extensibility for the DAR/DAC Charlie Perkins
- Re: [6lo] Future extensibility for the DAR/DAC Pascal Thubert (pthubert)
- Re: [6lo] Future extensibility for the DAR/DAC Charlie Perkins
- Re: [6lo] Future extensibility for the DAR/DAC Pascal Thubert (pthubert)
- Re: [6lo] Future extensibility for the DAR/DAC Charlie Perkins
- Re: [6lo] Future extensibility for the DAR/DAC Pascal Thubert (pthubert)
- Re: [6lo] Future extensibility for the DAR/DAC Charlie Perkins
- Re: [6lo] Future extensibility for the DAR/DAC Michael Richardson