Re: [Softwires] Working group last call for draft-ietf-softwire-map-dhcp-07

Ian Farrer <ianfarrer@gmx.com> Wed, 23 April 2014 14:52 UTC

Return-Path: <ianfarrer@gmx.com>
X-Original-To: softwires@ietfa.amsl.com
Delivered-To: softwires@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F40B51A02A7 for <softwires@ietfa.amsl.com>; Wed, 23 Apr 2014 07:52:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham
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 YTL0K-ywlWex for <softwires@ietfa.amsl.com>; Wed, 23 Apr 2014 07:52:47 -0700 (PDT)
Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) by ietfa.amsl.com (Postfix) with ESMTP id E0B421A0268 for <softwires@ietf.org>; Wed, 23 Apr 2014 07:52:46 -0700 (PDT)
Received: from ians-mbp.lan ([62.225.30.33]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0MVsUW-1WRvvI0emu-00X30H; Wed, 23 Apr 2014 16:52:36 +0200
Content-Type: text/plain; charset="windows-1252"
Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\))
From: Ian Farrer <ianfarrer@gmx.com>
In-Reply-To: <92E51E75-2914-421F-B222-7478EC3D6A02@cisco.com>
Date: Wed, 23 Apr 2014 16:52:36 +0200
Content-Transfer-Encoding: quoted-printable
Message-Id: <5A8EDE2F-EA28-4991-B94F-A998701FD662@gmx.com>
References: <53422B8F.2020109@ericsson.com> <37A243DD-5249-4070-AB19-6DFFCFE17AA7@gmx.com> <DC98AF70-DBF1-48AD-8699-2FC4E645FF40@cisco.com> <C3B32B71-79EE-408F-A92C-D40021DC9A5A@gmx.com> <92E51E75-2914-421F-B222-7478EC3D6A02@cisco.com>
To: Ole Troan <ot@cisco.com>
X-Mailer: Apple Mail (2.1874)
X-Provags-ID: V03:K0:rxJvHjz4NRms5/i31XUISHMnVYqz3a9jkh9LVPLueo5WKHARDTL S7RyBgEsPX8WWxLRNFLz8qCoWh901/luWu+jcbtiqLEyMowFo+mfs6fmtqn9NBsvhnJXDaU yrihpZm8eLED8YlOaXRMWy90gLgw3V5gigtcJPf/HaThuIpuD4KVopx+ZYc3EAEd0BWBMrB CBfq4E927Ub0MtNhbBusQ==
Archived-At: http://mailarchive.ietf.org/arch/msg/softwires/yAiwofpgwDLGfYYz8rUKPV3Zueg
Cc: Softwires WG <softwires@ietf.org>, Yong Cui <cuiyong@tsinghua.edu.cn>
Subject: Re: [Softwires] Working group last call for draft-ietf-softwire-map-dhcp-07
X-BeenThere: softwires@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: softwires wg discussion list <softwires.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/softwires>, <mailto:softwires-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/softwires/>
List-Post: <mailto:softwires@ietf.org>
List-Help: <mailto:softwires-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/softwires>, <mailto:softwires-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 23 Apr 2014 14:52:49 -0000

Hi Ole,

>> Old:
>> When receiving the Port Parameters option with an explicit PSID, the
>>  client MUST use this explicit PSID in configuring its MAP interface.
>>  If the conveyed IPv4 address is not 32 bit-long, the option MUST be
>>  discarded.  The formula for this check is "prefix4-len + ea-len = 32"
>>  and serves to ensure that the explicit PSID is only applied to
>>  configurations with a completely formed IPv4 address.
>> New:
>> On receipt of the Port Parameters option with an explicit PSID, clients
>>  MUST configure their softwire interface with the received
>>  explicit PSID. For MAP-E and MAP-T clients, if the conveyed IPv4 address
>>  is not 32 bits-long, the option MUST be discarded.  The formula for 
>>  this check is "prefix4-len + ea-len = 32" and serves to ensure that 
>>  the explicit PSID is only applied to configurations with a completely
>>  formed IPv4 address.
> 
> what about keeping the old text with your change of s/MAP interface/softwire interface/.
> at least in theory LW46 could support IPv4 prefixes, or a new mechanism could come along that did.
> 

[ian] Actually, looking at this again, the original text isn’t particularly clear. It talks about provisioning ports sets, and then makes a leap to the length of the IPv4 address, which is not conveyed in this option. Also, the 32 bit address checking logic is MAP specific. So:

When receiving the Port Parameters option with an explicit PSID, the
 client MUST use this explicit PSID in configuring its softwire interface.
 If the client’s IPv4 address (configured via a separate sub-option) 
 is not 32 bit-long, the Port Parameters option MUST be discarded.  
For MAP-E and MAP-T clients, the formula for the address length check
is "prefix4-len + ea-len = 32” and serves to ensure that  the explicit
PSID is only applied to configurations with a completely formed IPv4 address.

Cheers,
Ian