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

Charlie Perkins <charles.perkins@earthlink.net> Mon, 21 May 2018 16:40 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 0F33F12E8A5 for <6lo@ietfa.amsl.com>; Mon, 21 May 2018 09:40:19 -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 1Lk53eMdj6GS for <6lo@ietfa.amsl.com>; Mon, 21 May 2018 09:40:15 -0700 (PDT)
Received: from elasmtp-dupuy.atl.sa.earthlink.net (elasmtp-dupuy.atl.sa.earthlink.net [209.86.89.62]) (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 97E6812E8C4 for <6lo@ietf.org>; Mon, 21 May 2018 09:40:15 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=earthlink.net; s=dk12062016; t=1526920805; bh=jDnqaqexJ0ON6jDQBFvZ0IRSP5h9oPkN7wVP 6RlKu9Y=; 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=LPzOz5Jbzshfkzxu0a6IBmY/U3psvtl+k d9p4qBh8YDkAlkLcBKSJS4SLg0iLeKyXkI1InPdCXt1kTXSFbqi2l6G1CyMhfwsdu+4 X12dfOPRDku34aosp9JSUFSxQG3J82JdayOS4r1gtS1aQEH1vwGwUo/zNWiQsUJzpCQ BAus6qQNZImyGOgDFFkBx5xIe88rj84ZVT+XO55MfypG5spHK1a9/Il0wTkvz8C61HU oYvfwAM5J5NAwXDHmK/TH5HpFDM7N3EjpO7e0ItO7Fao2HzxtJ65HyFiNi8UrQHdLIf DrhQ/kmF4QD6D1cNvDp7ncBHFaC0BmKQYjCtqyCCA==
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk12062016; d=earthlink.net; b=PhXODyqJn0omAI1UA0/klDOa6eltijILLOWqMKrHH+ha/G8iYygJbQEdzWasZZcLPUzfkPO7l3NrFvHYihHc5AUrj0qxrbvtt2bAawzgaoSzcLbTH9vfYwMMaHlOFRMalPcVb5eyUCRGcAKzhe6g0pNQ4Eyscsfm01fxu0HZROeWS688eLxLpSYuG+8/Vy3fjEzeQscvNEPVnIbqu7GcpBeuTSpl9JfkBjrMwOprIE9RdyNiPKtHX/U4KntGTKUO64AJNlIGl06zR7wAUfEto69WdW2OO4mPXzeJP+kFNCUL0aBW9Z6ZW+QpDovQA95hf83f5jewEw6ZFtQqk3P4LA==; 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-dupuy.atl.sa.earthlink.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4) (envelope-from <charles.perkins@earthlink.net>) id 1fKnqt-0008k9-GO for 6lo@ietf.org; Mon, 21 May 2018 12:40:03 -0400
To: "6lo@ietf.org" <6lo@ietf.org>
References: <54678d30cf154c4f90a5159c8eafae50@XCH-RCD-001.cisco.com> <d880c77084c547e69cd7d2beda5019b3@XCH-RCD-001.cisco.com>
From: Charlie Perkins <charles.perkins@earthlink.net>
Message-ID: <de1c35db-b467-3a13-65f4-5838d139b689@earthlink.net>
Date: Mon, 21 May 2018 09:40:11 -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: <d880c77084c547e69cd7d2beda5019b3@XCH-RCD-001.cisco.com>
Content-Type: multipart/alternative; boundary="------------F7C09BAA1512E6F32AF5C123"
Content-Language: en-US
X-ELNK-Trace: 137d7d78656ed6919973fd6a8f21c4f2d780f4a490ca6956846b590522b13c95f0a9dec5f3f888ec02ed04f1c8fd43a3350badd9bab72f9c350badd9bab72f9c
X-Originating-IP: 99.51.72.196
Archived-At: <https://mailarchive.ietf.org/arch/msg/6lo/zXU3tUYDLd3rClMJx-C6GsPXwyo>
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 16:40:19 -0000

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> *On Behalf Of * Pascal Thubert 
> (pthubert)
> *Sent:* mercredi 25 avril 2018 11:54
> *To:* 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
> https://www.ietf.org/mailman/listinfo/6lo