Re: I-D Action: draft-gont-6man-deprecate-atomfrag-generation-00.txt

Fernando Gont <fernando@gont.com.ar> Tue, 19 August 2014 23:00 UTC

Return-Path: <fernando@gont.com.ar>
X-Original-To: ipv6@ietfa.amsl.com
Delivered-To: ipv6@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E46E11A6FA9 for <ipv6@ietfa.amsl.com>; Tue, 19 Aug 2014 16:00:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.902
X-Spam-Level:
X-Spam-Status: No, score=-3.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, GB_I_LETTER=-2, SPF_HELO_PASS=-0.001, 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 bOzzrv7g6oiL for <ipv6@ietfa.amsl.com>; Tue, 19 Aug 2014 16:00:08 -0700 (PDT)
Received: from web01.jbserver.net (web01.jbserver.net [IPv6:2a00:8240:6:a::1]) (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 7F0451A6F9B for <ipv6@ietf.org>; Tue, 19 Aug 2014 16:00:08 -0700 (PDT)
Received: from [186.134.69.71] (helo=[192.168.123.127]) by web01.jbserver.net with esmtpsa (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.83) (envelope-from <fernando@gont.com.ar>) id 1XJsNp-0007S1-Vy; Wed, 20 Aug 2014 01:00:06 +0200
Message-ID: <53F3D6E0.5010905@gont.com.ar>
Date: Tue, 19 Aug 2014 19:59:44 -0300
From: Fernando Gont <fernando@gont.com.ar>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0
MIME-Version: 1.0
To: Philip Homburg <pch-6man-1b@u-1.phicoh.com>
Subject: Re: I-D Action: draft-gont-6man-deprecate-atomfrag-generation-00.txt
References: <20140819144703.13248.27719.idtracker@ietfa.amsl.com> <53F3AEC9.9010307@gmail.com> <53F3B562.8090506@gont.com.ar> <m1XJrzr-0000R1C@stereo.hq.phicoh.net>
In-Reply-To: <m1XJrzr-0000R1C@stereo.hq.phicoh.net>
Content-Type: text/plain; charset="windows-1252"
Content-Transfer-Encoding: 7bit
Archived-At: http://mailarchive.ietf.org/arch/msg/ipv6/hNFN3CGVq-k7jXm7er-EH0-8Vsw
Cc: 6man <ipv6@ietf.org>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6/>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 19 Aug 2014 23:00:11 -0000

On 08/19/2014 07:35 PM, Philip Homburg wrote:
> In your letter dated Tue, 19 Aug 2014 17:36:50 -0300 you wrote:
>> * The translator is in a better position to generate a non-colliding
>> Fragment IDs
> 
> There are people who want to run IPv6-only datacenters and then use stateless v4-to-v6
> translation to handle v4.
> 
> Obviously, if traffic goes to a v4 host that is on path mtu less than 1300, the v4
> packets needs to be fragmented.
> 
> The translator being stateless (and probably redundant) implies that at best the IPv4 
> packet ID can be chosen at random. Giving a 1 in 64k chance that two flows with the
> same source and destination addresses will have the same ID.

FWIW, there are stateless algorithms with a lower frequency reuse rate
... e.g., check OpenBSD's Frag ID, generator, or some of the algorithms
in <http://tools.ietf.org/html/draft-ietf-6man-predictable-fragment-id>



> One big question is how many v4 hosts would be affected by this, i.e. how 
> many v4 hosts are on a path mtu less than 1300.
> 
> Another question is whether taking 16 bits out of the 32-bit fragment ID in IPv6
> actually results in something better than random.

Certainly not, particularly if the nodes use something like
per-destination counter for the frag ID -- if you were unlucky, the Frag
IDs counters of two nodes could be "synchronized".

Thanks!

Cheers,
-- 
Fernando Gont
e-mail: fernando@gont.com.ar || fgont@si6networks.com
PGP Fingerprint: 7809 84F5 322E 45C7 F1C9 3945 96EE A9EF D076 FFF1