Re: [dhcwg] I-D Action: draft-fsc-softwire-dhcp4o6-saddr-opt-06.txt

Ian Farrer <ianfarrer@gmx.com> Fri, 18 November 2016 01:37 UTC

Return-Path: <ianfarrer@gmx.com>
X-Original-To: dhcwg@ietfa.amsl.com
Delivered-To: dhcwg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 83994129429; Thu, 17 Nov 2016 17:37:58 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.601
X-Spam-Level:
X-Spam-Status: No, score=-2.601 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 TLlBYIEJsvOD; Thu, 17 Nov 2016 17:37:57 -0800 (PST)
Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BDD7F126579; Thu, 17 Nov 2016 17:37:56 -0800 (PST)
Received: from dhcp-80b6.meeting.ietf.org ([31.133.128.182]) by mail.gmx.com (mrgmx103 [212.227.17.174]) with ESMTPSA (Nemesis) id 0MfVzj-1cQyVg3VGN-00P6a0; Fri, 18 Nov 2016 02:37:28 +0100
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
From: Ian Farrer <ianfarrer@gmx.com>
In-Reply-To: <CAJE_bqfb4An_172WKdh5FBDo5K7MfpAfhudZnBOMz1rKtN_jDQ@mail.gmail.com>
Date: Fri, 18 Nov 2016 10:37:21 +0900
Content-Transfer-Encoding: quoted-printable
Message-Id: <BF6C3083-9CF8-4106-A7D2-1915E28DA116@gmx.com>
References: <6BCF488C-69FC-4965-8784-1331EE62AF67@gmx.com> <CAJE_bqfb4An_172WKdh5FBDo5K7MfpAfhudZnBOMz1rKtN_jDQ@mail.gmail.com>
To: 神明達哉 <jinmei@wide.ad.jp>
X-Mailer: Apple Mail (2.3124)
X-Provags-ID: V03:K0:8IvNUu9+2LoX3CI0e7vGzD9Mg8uY6PCWZSkmIW4sW7nhPfZZ05u +t+sQk5C9SYDGW18O9C+IJHr/ftIgI+4XsLq8TBxEHWdoqSwsiEM44gWOhQUEFKGg2SiCAb jyeTsRSlGwQwpcE2AobrOb2fDNKy13PuTUJn1Ay9mzVSYlsKGz6uirY1xlMZIvd3JRRo2zJ tGuCiX/upxZl0hEf+UGsw==
X-UI-Out-Filterresults: notjunk:1;V01:K0:ZRdsz1yMvcw=:YiNIONHdXyXN+QN4fg3YHc 0l8kHT3f3mQ96AIsz2CwBpVwkdaRveF29uqYdqpm0s56Kt+Lf+taMYj7WlBtoj5vvKS+7HdHx fYJRer7ysADlptkU3UG2fTM8pmmAIYQ1Dr+lEMNpEmkfiRWLu6gfrsYxARFNM8QQi/kjsbK8J DSON+bGsVXQAvZSvTEBDbFucKZtEopMPB+9yWvic8WYqLbMjM5DwoNO/W5fAdmCu5uAi7BiwF XN/+irQiyPrLhGpLrB3ZeCjcREqn5OBT7tHaL5P4Oud39Zbj99VdBm2xMUNy4j32Oa1N1bKL6 erkqyHwZUncePLASZBha+5VYI4jahhEBICSWu+ASrH1RP4cRzNBf29D/fsuNVfEExAZic2Keo m+HgKaDoSCYZ2NwvdIwwQ1hdZwLZC7Tt87ygJBs0TMT83koOelsc0o0pKQEjmDaLIKDGS9N22 2Ir4THXa7iC4t5esnVo12H6GZJYWXAoWFyJH2HR8rSAnUSOWt7Jt045tiMIwIrO/qmeSvT/3N ngk86HJCSMPX24uzbFbRahDlTgZ0OHmVFMpJsvpIIqVE2VvVkZNjqyG6EoKvTuuvXTorOaORp JluTK4FXXUn7XlNvrN/xshaQmo/mNPp+HtmEgxTKMtuEJMtrtUQJEm2a9HtTuQ8xR2mzFS2rH 0qLj/6dnL7qBLX5JpW0Heq7Tzupnlh6bbxWDM5X0xheCohKVJSqFqbbP/sGeZHTkMTzm5Rw65 BX3CYNkCGnARVcNssvwGOhcmxx2ZpyWy5iXj+H+annKdY1UhLX9DLh2isO5SyQGjvnYzCaSe6 V+3WlES
Archived-At: <https://mailarchive.ietf.org/arch/msg/dhcwg/nK4uEsl5tDXM7c0elM1jPQkrW8Y>
Cc: softwires <softwires@ietf.org>, dhcwg <dhcwg@ietf.org>
Subject: Re: [dhcwg] I-D Action: draft-fsc-softwire-dhcp4o6-saddr-opt-06.txt
X-BeenThere: dhcwg@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: <dhcwg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dhcwg>, <mailto:dhcwg-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dhcwg/>
List-Post: <mailto:dhcwg@ietf.org>
List-Help: <mailto:dhcwg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dhcwg>, <mailto:dhcwg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 18 Nov 2016 01:37:58 -0000

Hi Jinmei,

May thanks for your comments. Please see inline.

Cheers,
Ian

> On 18 Nov 2016, at 04:06, 神明達哉 <jinmei@wide.ad.jp> wrote:
> 
> At Wed, 16 Nov 2016 10:56:16 +0900,
> Ian Farrer <ianfarrer@gmx.com> wrote:
> 
>> In advance of Friday’s presentation in (and hopefully re-homing to) DHC.
>> 
>> This version is a small update, adding some text about the creation
>> of a dedicated IPv6 address to use as a tunnel endpoint.
> 
> I've read it.  Overall I think it makes sense.  I have a few minor
> comments:
> 
> - Section 6.1
> 
>   o  cipv6-prefix-hint: The IPv6 prefix indicating the preferred prefix
>      for the client to bind the received IPv4 configuration to.
> 
>  Since the option diagram says "variable length", I assume it can be
>  truncated if the prefix length is smaller than 121.  I'd suggest
>  explicitly stating so, and I also think it's better to how much it
>  should (must) be truncated.  I guess the intent is to truncate it
>  to the number of bits specified in cipv6-hintlen, but the current
>  description doesn't clearly say so, and it can be longer than that.
>  Such "flexibility" doesn't necessarily lead to interoperability
>  problems, but unless the flexibility is needed for some reason it
>  would be better to be specific to avoid any troubles that come from
>  different interpretation of different implementations.  You may also
>  want to specify how the remaining redundant bits due to truncation
>  (if any) should be filled (e.g., when the prefix length is 124, what
>  the trailing 4 bits should be).  One common practice is to fill them
>  with 0.  You may or may not want to follow it, or you may or may not
>  want to be specific about this in the first place, but at least I'd
>  suggest you considering what to do.

[if - RFC7227 defines an IPv6 prefix option as being variable length with padding to the nearest octet, so yes it would be truncated in your example. I will improve the text to clear this point up.

This is an interesting interpretation as the intended use is to indicate a preferred prefix (/64 or shorter) for the client. in this context, if a longer prefix hint was supplied, then the longest match would only likely to be predictable for up to a /64.

The question it raises is, if a /128 was supplied that belonged to a prefix which is delegated to a client, should the client configure this prefix and build the hinted address as it’s source (assuming it wasn’t in use and DAD was successful)? I’m not convinced that this is actually useful ATM and it may complicate things for error handling (what if DAD fails), but I’d appreciate your opinion.]

> 
>  On a related matter, you may also want to describe what the
>  recipient should do for some invalid or awkward values in terms of
>  validity of cipv6-hintlen and cipv6-prefix-hint.  There are some
>  obviously invalid values:
>  - cipv6-hintlen > 128
>  - cipv6-hintlen is too large for the actual address length (e.g.
>    cipv6-hintlen == 128 but cipv6-prefix-hint has only 8 bytes).
>  And there are some cases that are not necessarily invalid but are
>  awkward:
>  - cipv6-hintlen is too short (e.g., cipv6-hintlen == 64 but
>    cipv6-prefix-hint has 16 bytes)
>  - non-0 "garbage" bits beyond the cipv6-hintlen-th bit

[if - Agree. I’ll extend the client behavior section for this error checking]

> 
> Editorial nits:
> 
> - Section 1: s/DHCPv4 over DHCPv4/DHCPv4 over DHCPv6/
>   created softwires using DHCPv4 over DHCPv4 (DHCP 4o6), including
> 
> - Section 4.1: s/when when/when/
> 
>   only be used when when encapsulated within one of the softwire

[if - Will fix in the next version]

> 
> --
> JINMEI, Tatuya