Re: [Softwires] Problem in draft-ietf-softwire-multicast-prefix-option

Ian Farrer <ianfarrer@gmx.com> Thu, 09 June 2016 13:08 UTC

Return-Path: <ianfarrer@gmx.com>
X-Original-To: softwires@ietfa.amsl.com
Delivered-To: softwires@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 116F312D60A for <softwires@ietfa.amsl.com>; Thu, 9 Jun 2016 06:08:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level:
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, HTML_MESSAGE=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 x8qHvktsjF7x for <softwires@ietfa.amsl.com>; Thu, 9 Jun 2016 06:08:36 -0700 (PDT)
Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) (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 C30D112D5FF for <softwires@ietf.org>; Thu, 9 Jun 2016 06:08:35 -0700 (PDT)
Received: from ians-mbp.lan ([62.225.30.3]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0MUpI8-1awbYI3mmq-00YBxk; Thu, 09 Jun 2016 15:08:31 +0200
Content-Type: multipart/alternative; boundary="Apple-Mail=_50E33E49-D4EC-41D3-9597-F1E59862F46F"
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\))
From: Ian Farrer <ianfarrer@gmx.com>
In-Reply-To: <CAPt1N1=ZGhkG4jU1+iZGqjiCg6M2j0GOSogADNj4=pK8cxYwHg@mail.gmail.com>
Date: Thu, 9 Jun 2016 15:08:29 +0200
Message-Id: <2CDDF3C1-1F18-4621-8223-9CD5ADCBDDD1@gmx.com>
References: <787AE7BB302AE849A7480A190F8B933008DAECE0@OPEXCLILMA3.corporate.adroot.infra.ftgroup> <D5ABB288-99F9-4038-9E13-A9FC2ADAC0EF@gmx.com> <787AE7BB302AE849A7480A190F8B933008DAF3A6@OPEXCLILMA3.corporate.adroot.infra.ftgroup> <0B27AECD-13CD-4B05-A34C-70E901807D40@gmx.com> <CAPt1N1=ZGhkG4jU1+iZGqjiCg6M2j0GOSogADNj4=pK8cxYwHg@mail.gmail.com>
To: Ted Lemon <mellon@fugue.com>
X-Mailer: Apple Mail (2.2104)
X-Provags-ID: V03:K0:9fWe3SwiixYtKm7J3NOnuaPX3I8TrTWloyDXUU5v8GrzNrXFTP0 v7uyPP35mzCsGSxtk8SHSl0H79e0jTQxfGy1Pw3D0ZCSC0Qn0JnQQ7Z3BMAftOpL9oZBJWw xmhShEUuuCoBp7G+oKhZTkD3cBHnttKEyke+rLe8j4rDTUIJBKuZcYhCOhC0YW0R+tYxxRA H6mXj5Ahgs2STMDVO5LLg==
X-UI-Out-Filterresults: notjunk:1;V01:K0:yzppK9KeN7Q=:EHlPf3Hs+DSYax1+OJON2y f8h4zrwg0rIAjViweBqTATFHw5qEuleNBgp8FQryM+KVzdG8SuhFTjqUsG7OVsnBfxW+7QvwQ w/swWP8gN9iKkGTqhx+ZZDUxHEHImZXulT18gR3ahrX/p/ryGjlxce/XKPxYAJDrXQDMaX6QI eDiOuzvYS0YfugzST6LQMW74t6agVJyelzyuTuZkp/TjBR26VLsNeu4fj28sN858zcDcsib/z 4MBJxW5JuKXoTS3BLBrwrzVnTbpeguyMi4ibAjQZ954yu34kxN52nAH91SnJnMvzQzFMqb2sK 3EZwWDjzPqFR15+HUmfyUuPtMN3Sh8E7DjrotXWzvPWp3lonIAuQ/plOHWh/D7yBv0UktflM9 z+Q1Wf/jLmQspkQlC3aX3MizaaXz6Jij2EbMQZPjfeWmU/3YwqoENbuhFnxdn9baS4s/fnBPF aNZjFxC8qWWj4tuYyAMkmEl4IB4koWp18/1FfZzP2Lv0wlnj0xH/YmqWAOF3gfhSTj1RRW1iR kmLhWx3ar+ncBHzyxz56es0kp1VkJXdiyqrV+9WnsdOeaqY/sNMr9pLzrcss9mV8sprO/HLQA vYPVUdlKjSfPfA2oTUy7flIj+hgDJKOZRqBewLE3qYX3WN0XenB53WXe6cDv+8JvCgODBIimm dcIor1W/ffIgqUaPMhYr63zq5V44fRRmUsenf/V4FvXA/Lqh59KnEF4SSY5X6EkgXIitFlemb 4G2etVovGzInM+vllm5DEI6E95mKN4ONAn5g6ZAYAbeLH9yWlKLKquckzYDUIn1ISllEeHmKJ 1njcaJY
Archived-At: <https://mailarchive.ietf.org/arch/msg/softwires/P3W8ZLhxc4JAn1ZKUSsier_4bXg>
Cc: Softwires WG <softwires@ietf.org>, "dhcwg-chairs@ietf.org" <dhcwg-chairs@ietf.org>
Subject: Re: [Softwires] Problem in draft-ietf-softwire-multicast-prefix-option
X-BeenThere: softwires@ietf.org
X-Mailman-Version: 2.1.17
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: <https://mailarchive.ietf.org/arch/browse/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: Thu, 09 Jun 2016 13:08:41 -0000

HI Ted,

Cheers,
Ian

> On 9 Jun 2016, at 14:34, Ted Lemon <mellon@fugue.com> wrote:
> 
> Actually, this is a classic example of what we try to avoid: special server behavior for options.   Options are just payload, not protocol, unless they are intended to affect the flow of the protocol.   It should not be necessary for the server to have special code to support a different payload, any more than the TCP stack should have to be modified in order to support new extensions to HTTP.
> 
> So you could make an operational note about how servers ought to be configured, but you should not require that the server check to make sure it is configured that way.   You should not require that the server understand the semantics of the option--what it means for there to be two of them, or what order they should occur in, or what meaning that ordering has.

[if - So, for the original reason that the point was raised, do you suggest that enforcing this only in the client (i.e. if it receives an invalid option combination/content then drop all instances) in addition to the operation guidance for server config?]


> 
> If you have two different uses for an option, with different semantics, you should define two different options, each of which has only one semantics.
> 
> On Thu, Jun 9, 2016 at 3:44 AM, Ian Farrer <ianfarrer@gmx.com <mailto:ianfarrer@gmx.com>> wrote:
> Hi Med,
> 
> To be clear, both of the suggestions include the modification to the Section 5 client text? I think this is necessary. But is the error condition that all of the enclosed options are the same scope, or that two or more are?
> 
> Between the two, I would prefer (1) - a MUST NOT with an exception is a SHOULD NOT. An alternative wording that tries to get the best of both:
> 
> A server MUST NOT send more than on one instance of OPTION_V6_PREFIX64 per scope. Servers MAY send one instance of OPTION_V6_PREFIX64 for each distinct IPv6 multicast prefix with a distinct scope. 
> 
> Thanks,
> Ian
> 
>> On 9 Jun 2016, at 08:49, mohamed.boucadair@orange.com <mailto:mohamed.boucadair@orange.com> wrote:
>> 
>> Hi Ian,
>>  
>> There are two options:
>>  
>> (1)
>>  
>> Maintain the current text in the draft but add the following text to Section 4:
>>  
>>    Servers SHOULD NOT send more than one instance of OPTION_V6_PREFIX64,
>>    except if distinct IPv6 multicast prefixes with distinct scopes are
>>    configured.
>>  
>> This is the behavior defined in https://tools.ietf.org/html/rfc6334#section-5/ <https://tools.ietf.org/html/rfc6334#section-5/>.
>>  
>> (2)
>>  
>> Add this text in Section 4:
>>  
>>    Servers MUST NOT send more than one instance of OPTION_V6_PREFIX64,
>>    except if distinct IPv6 multicast prefixes with distinct scopes are
>>    configured.
>>  
>> And modify the text in Section 5 to indicate that the client must discard the options if all enclosed addresses are of the same scope.
>>  
>> I agree with you that (2) will help to identify a server error, but with a risk to induce service disruptions.
>>  
>> Which one do you prefer to be implemented in the draft?
>>  
>> Thank you.
>>  
>> Cheers,
>> Med
>>  
>> De : Ian Farrer [mailto:ianfarrer@gmx.com <mailto:ianfarrer@gmx.com>] 
>> Envoyé : mercredi 8 juin 2016 19:10
>> À : BOUCADAIR Mohamed IMT/OLN; Softwires WG
>> Cc : dhcwg-chairs@ietf.org <mailto:dhcwg-chairs@ietf.org>
>> Objet : Fwd: Problem in draft-ietf-softwire-multicast-prefix-option
>>  
>> Hi Med,
>>  
>> Forwarding this to the list (the left group mailing addresses were not working earlier).
>>  
>> Please see inline below.
>>  
>> Thanks,
>> Ian
>> 
>> 
>> Begin forwarded message:
>>  
>> From: <mohamed.boucadair@orange.com <mailto:mohamed.boucadair@orange.com>>
>> Subject: RE: Problem in draft-ietf-softwire-multicast-prefix-option
>> Date: 8 June 2016 16:50:51 CEST
>> To: ian Farrer <ianfarrer@gmx.com <mailto:ianfarrer@gmx.com>>, "softwires@ietf.org <mailto:softwires@ietf.org>" <softwires@ietf.org <mailto:softwires@ietf.org>>, Jacni Qin <jacni@jacni.com <mailto:jacni@jacni.com>>, "dxhbupt@gmail.com <mailto:dxhbupt@gmail.com>" <dxhbupt@gmail.com <mailto:dxhbupt@gmail.com>>
>> Cc: "dhcwg-chairs@ietf.org <mailto:dhcwg-chairs@ietf.org>" <dhcwg-chairs@ietf.org <mailto:dhcwg-chairs@ietf.org>>
>>  
>> Hi Ian,
>>  
>> Please see inline.
>>  
>> Cheers,
>> Med
>>  
>> De : ian Farrer [mailto:ianfarrer@gmx.com <mailto:ianfarrer@gmx.com>] 
>> Envoyé : mercredi 8 juin 2016 16:11
>> À : softwires@ietf.org <mailto:softwires@ietf.org>; BOUCADAIR Mohamed IMT/OLN; Jacni Qin; dxhbupt@gmail.com <mailto:dxhbupt@gmail.com>
>> Cc : dhcwg-chairs@ietf.org <mailto:dhcwg-chairs@ietf.org>
>> Objet : Problem in draft-ietf-softwire-multicast-prefix-option
>>  
>> Hi,
>>  
>> On reviewing this draft I would like to raise a problem with section 5 of the draft. The text is:
>>  
>> "If all the enclosed IPv4-embedded IPv6 multicast prefixes have the same scope, the first instance of the option MUST be used."
>>  
>> The problem is that this contravenes section 17 of RFC7227:
>> Option order, either the order among many DHCPv6 options or the order
>>    of multiple instances of the same option, SHOULD NOT be significant.
>>    New documents MUST NOT assume any specific option processing order.
>>  
>> [Med] That sentence does not assume any (preference) order. It does only provide one way to select one instance among that list. As a reminder, the server is supposed to return one instance (per scope).
>>  
>> [if - If the client is taking the first occurrence within the option and attempting to configure it, then it is preferring this option over other instances based on the order in which it occurs in the message.
>>  
>> The current text which describes the server behaviour (section 4) does not mention scope at all and does not specify any limitations on the number of instances or criteria for which they may be included - see RFC7227 sec 16.
>>  
>> If the server is meant to only return a single instance of the option per scope, but it is sending more than one, then this is a server configuration error. A quasi-random mechanism for the client to try and work around this just means that the configuration error may get masked.
>>  
>> As a suggestion, wouldn’t it be better to specify what the valid cases for the server including multiple option instances are and are not (with normative language). The client’s behaviour can then be defined to discard the options if they do not meet this criteria?]
>> 
>> 
>>  
>>  
>> I raised this with the DHC WG chairs, and they have a couple of suggestions:
>>  
>> 1. Define an encapsulating option - as the data inside an option can be order dependent.
>> 2. Add a “preference” (octet?) and then a client can sort them based on this preference.
>>  
>> Thanks,
>> Ian
> 
> 
> _______________________________________________
> Softwires mailing list
> Softwires@ietf.org <mailto:Softwires@ietf.org>
> https://www.ietf.org/mailman/listinfo/softwires <https://www.ietf.org/mailman/listinfo/softwires>
> 
>