Re: [Softwires] MAP draft 11 question on fragment ID space reduction

Rémi Després <despres.remi@laposte.net> Thu, 16 October 2014 09:24 UTC

Return-Path: <despres.remi@laposte.net>
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 CF2371A6FE6 for <softwires@ietfa.amsl.com>; Thu, 16 Oct 2014 02:24:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.249
X-Spam-Level:
X-Spam-Status: No, score=-1.249 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, HELO_EQ_FR=0.35, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=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 L-MkTjefy4L8 for <softwires@ietfa.amsl.com>; Thu, 16 Oct 2014 02:24:52 -0700 (PDT)
Received: from smtp21.services.sfr.fr (smtp21.services.sfr.fr [93.17.128.1]) by ietfa.amsl.com (Postfix) with ESMTP id 07B071A1AB6 for <softwires@ietf.org>; Thu, 16 Oct 2014 02:24:51 -0700 (PDT)
Received: from filter.sfr.fr (localhost [78.193.136.169]) by msfrf2102.sfr.fr (SMTP Server) with ESMTP id 13A7C70000FB; Thu, 16 Oct 2014 11:25:48 +0200 (CEST)
Authentication-Results: sfrmc.priv.atos.fr; dkim=none (no signature); dkim-adsp=none (no policy) header.from=despres.remi@laposte.net
Received: from [192.168.0.21] (unknown [78.193.136.169]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by msfrf2102.sfr.fr (SMTP Server) with ESMTP id 46E7070000F6; Thu, 16 Oct 2014 11:25:47 +0200 (CEST)
X-SFR-UUID: 20141016092547290.46E7070000F6@msfrf2102.sfr.fr
Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\))
From: Rémi Després <despres.remi@laposte.net>
In-Reply-To: <D14390B1-8628-4372-B664-A5EA82BE0327@employees.org>
Date: Thu, 16 Oct 2014 11:24:48 +0200
Message-Id: <25A95528-FA71-48C6-B238-D5D90B99386B@laposte.net>
References: <CAPi140MdbJQBLSRS+g4Jx0G1zm1dx6PLBBQ7oPeALU2z-Vp81g@mail.gmail.com> <A9F4CC49-3409-482E-8DD1-D60770719370@employees.org> <365F683D-89D6-4A42-B9F1-780453D9C1A5@nominum.com> <D14390B1-8628-4372-B664-A5EA82BE0327@employees.org>
To: Ole Troan <otroan@employees.org>
X-Mailer: Apple Mail (2.1878.6)
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Archived-At: http://mailarchive.ietf.org/arch/msg/softwires/kuloQ-xY4S9f-rQW-ALC7YdTbeA
Cc: Softwires WG <softwires@ietf.org>
Subject: Re: [Softwires] MAP draft 11 question on fragment ID space reduction
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: Thu, 16 Oct 2014 09:24:58 -0000

Hi, Ole,

FWIW, a look at https://tools.ietf.org/html/draft-ietf-softwire-4rd-09#section-4.6.3 might be helpful.

Cheers,
RD


Le 15 oct. 2014 à 15:27, Ole Troan <otroan@employees.org> a écrit :

> Ted, et al,
> 
> there are good arguments going both ways, so apologies for my changing opinion here. ;-)
> 
> we could go with the hand-wavy, there is a problem here, we don't have a good solution:
> 
>       <t>If two IPv4 host behind two different MAP CE's with the
>       same IPv4 address sends fragments to an IPv4 destination host
>       outside the domain, those hosts may use the same IPv4
>       fragmentation identifier, resulting in incorrect reassembly of
>       the fragments at the destination host. Given that the IPv4
>       fragmentation identifier is a 16 bit field, it could be used
>       similarly to port ranges. A MAP CE could rewrite the IPv4
>       fragmentation identifier to be within its allocated port-set,
>       if the resulting fragment identifier space was large enough
>       related to the rate fragments was sent. However, splitting the
>       identifier space in this fashion would increase the
>       probability of reassembly collision for all connections
>       through the CPE. See also <xref target="RFC6864"/></t>
> 
> the alternatives are that we could say, since the problem of multiple CPEs with same IP address sending fragments to same destination required coordination that if the fragment id space was say 10 bits, then rewrite. or we could go even further and say that the CPE would have to throttle traffic to ensure that the id space didn't cycle within the reassembly timeout.
> or we could drop the text altogether.
> 
> my preference would be the above proposed text. it has the problem description but it doesn't prescribe a solution.
> 
> any other opinion?
> 
> ps: whatever solution we have here should probably also apply to the other mechanisms. e.g. https://tools.ietf.org/html/draft-ietf-softwire-4rd-09#section-4.6.3
> 
> cheers,
> Ole
> 
> 
> 
>> On 14 Oct 2014, at 15:32 , Ted Lemon <Ted.Lemon@nominum.com> wrote:
>> 
>> On Oct 14, 2014, at 5:01 AM, Ole Troan <otroan@employees.org> wrote:
>>> splitting the fragment id space so that there is only a single bit per CPE sounds like a corner case that should be disallowed. I don't know if we have the knowledge to be able to specify exactly how much of the fragment id space is safe to split up though.is it 4, 6, or 8 bits?
>> 
>> There's a lot to think about here.  The fragment ID translation algorithm probably needs to maintain a cache so that it doesn't accidentally overload fragment IDs.   The set of all outstanding fragments has the potential to be larger than the set of all ports in use, so there is definitely reason to be concerned about shrinking the fragment ID space.   However, shrinking the fragment ID space _does_ serve the useful purpose of isolating fragment ID collisions to the nodes that are supposed to be receiving the fragments.
>> 
>> It may be that the right thing to do is to note that this is a problem, make a recommendation, but essentially leave it as future research, since we really haven't analyzed the problem in enough depth to make an informed recommendation.
>> 
>>> if changing back to SHOULD from the MUST would lead people to accept that we leave the exact recommendations for further study I would be happy to do that.
>> 
>> So yes, this might be a good way to go.
> 
> _______________________________________________
> Softwires mailing list
> Softwires@ietf.org
> https://www.ietf.org/mailman/listinfo/softwires