Re: Non-Last Small IPv6 Fragments

Warren Kumari <warren@kumari.net> Wed, 16 January 2019 15:12 UTC

Return-Path: <warren@kumari.net>
X-Original-To: ipv6@ietfa.amsl.com
Delivered-To: ipv6@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D91CB130DE3 for <ipv6@ietfa.amsl.com>; Wed, 16 Jan 2019 07:12:19 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.041
X-Spam-Level:
X-Spam-Status: No, score=-2.041 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.142, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=kumari-net.20150623.gappssmtp.com
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 fDD9P0sDFYh2 for <ipv6@ietfa.amsl.com>; Wed, 16 Jan 2019 07:12:17 -0800 (PST)
Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7A234130E70 for <ipv6@ietf.org>; Wed, 16 Jan 2019 07:12:17 -0800 (PST)
Received: by mail-wm1-x329.google.com with SMTP id d15so2359044wmb.3 for <ipv6@ietf.org>; Wed, 16 Jan 2019 07:12:17 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kumari-net.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=UA8YkMBUNKyff7KFq60lGKjqFHPoPAL/6wXUzEPfBDg=; b=l2DGm6qL/uf4nQEbRX8gNso5qfuE/kxzBUwk/H4I/8FQdBVVazQLcvPG+VmRkPdsyC Nzs68HPjKyPdG52FZ2uEn0rgVyDjHZd5Qu0xh7TodMwmedIigjTK0PTj4pF9z/vd+JRu CVJl4rwJaFqVYXkQOyjOiHS16W2qnl27kq73QY8MplhBDBTPUgji/ncMCk9xmUjX877W K4DOB3R61bZx4nGAmHdZ3VtxpygoCQscje1fdC2sulVKJ+LuupS9ahPr2YcRZEUaNSof uyAk/tStG3degaIagCFahOtb8oSNmYp09EpQb9xV7+RCIVcYLk24lvK5NbmpKo8I6ez2 Yj4g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=UA8YkMBUNKyff7KFq60lGKjqFHPoPAL/6wXUzEPfBDg=; b=ReGKDZoe2CgHPBB3wfBokC+zZzEX4q0GQzXAjf3iGaxscphppjy63BpwJ6M10pjiSx YTs/zyX6feETs2LccEmFjmUKoJwnkSqu85Hg5vIudw8cD0PVZvb1dU/GCwrmkOrebjo8 D6So0MoPIgZ64HgvzvRn5NVWIuNezUvDNlhg4vTwr/6iaZc87CylijnNHG3X9VB35bwn 5A9MBI//LtyK1sP6ITBl8UboPCZZ4/Rork3DahTBn3jWlqltOQ7TYcoS8rscQqVvcC5L xJ9LGUpuBhN74e/CVlUbI+iTxLKW7bqGbWsD8rmQdHCIPfwInE5xrCf/V30iedkG1IBq +fJQ==
X-Gm-Message-State: AJcUukdG4k7SVC+8iaTGImpVUz1JHhiDemipzmNgQypLxY6AAGpEgqD0 /zPRttONF82L0n+iXQt4HOlrR0GTZQqofrP7qQXSGg==
X-Google-Smtp-Source: ALg8bN5JsQzDbJn4c+lV6UW82QoLUmbt+dRWaQQOfaMiQO6i1LP+RdD3ZCDb4A166ng9Rpdmt7GfCKNTT7V5TGwhJGc=
X-Received: by 2002:a1c:4681:: with SMTP id t123mr7890215wma.24.1547651535501; Wed, 16 Jan 2019 07:12:15 -0800 (PST)
MIME-Version: 1.0
References: <CAOSSMjV0Vazum5OKztWhAhJrjLjXc5w5YGxdzHgbzi7YVSk7rg@mail.gmail.com> <CALx6S36V7vrVyoTP0G6+S5XeFNB3KWS5UaNnVi20xogRERdCfg@mail.gmail.com> <973A1649-55F6-4D97-A97F-CEF555A4D397@employees.org> <CALx6S34YbBe8xBod3VsWVO33TpZcdxh2uV1vaO8Z_NKnVXp66g@mail.gmail.com> <A3C3F9C0-0A07-41AF-9671-B9E486CB8246@employees.org> <AEA47E27-C0CB-4ABE-8ADE-51E9D599EF8F@gmail.com> <6aae7888-46a4-342d-1d76-10f8b50cebc4@gmail.com> <EC9CC5FE-5215-4105-8A34-B3F123D574B9@employees.org> <4c56f504-7cd7-6323-b14a-d34050d13f4e@foobar.org> <9E6D4A6E-8ABA-4BAB-BEC5-969078323C96@employees.org> <CAAedzxpdF+yhBXfnwUcaQb-HkgdaqXRU3L+S7v8sS1F0OkwM9A@mail.gmail.com> <78a8a0e0-8808-364c-41f7-f81f90362432@gont.com.ar> <CAAedzxpjxhP0nOZVU0CTwA1u3fsPFthrJASjDEfnLcRNvr2gBQ@mail.gmail.com> <c9be798e-5a32-7c3e-a948-9ca2fab30411@si6networks.com> <CAHw9_i+M2-420pykp99LcgMNSG=eeDqsZK8+hN20t_uUdANHfA@mail.gmail.com> <d6e52c30-bbd1-1ee7-144c-fa13a9df5f38@gmail.com> <0f4a6c88-1def-6766-235b-1bcd2cc5e33b@si6networks.com>
In-Reply-To: <0f4a6c88-1def-6766-235b-1bcd2cc5e33b@si6networks.com>
From: Warren Kumari <warren@kumari.net>
Date: Wed, 16 Jan 2019 10:11:39 -0500
Message-ID: <CAHw9_i+FB-tb8c+G22FCUxNg9BDpMfwqur8gSn5QaXteBcABZA@mail.gmail.com>
Subject: Re: Non-Last Small IPv6 Fragments
To: Fernando Gont <fgont@si6networks.com>
Cc: Brian E Carpenter <brian.e.carpenter@gmail.com>, Bob Hinden <bob.hinden@gmail.com>, IPv6 List <ipv6@ietf.org>, Fernando Gont <fernando@gont.com.ar>, ek@loon.co
Content-Type: multipart/alternative; boundary="00000000000002bcc4057f94b4da"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/cJ1r7beYkBagR-QUvr9KPGGtN68>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.29
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: <https://mailarchive.ietf.org/arch/browse/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: Wed, 16 Jan 2019 15:12:20 -0000

On Wed, Jan 16, 2019 at 2:52 AM Fernando Gont <fgont@si6networks.com> wrote:

> On 15/1/19 22:02, Brian E Carpenter wrote:
> > For my comment, search for "Aaargh"
>
> :-) -- I was catching up with email, and read them in sequence. --
> thanks for the note, I *expected* it :-)
>
>
>
> >>     > [Silly Idea #2]
> >>     > Separate, even sillier idea: everyone converges on using 16 bits
> of
> >>     > the flow ID to encode the lowest MTU encountered along the path.
> Here
> >>     > again, TCP MSS clamping style behaviour would be applied to this
> >>
> >>
> >> https://media.giphy.com/media/3o6ZthnDqxfAOFIhdC/giphy.gif
> >> Because there are deployed systems already, I don't think that this can
> be deployed **and fully relied upon**, but Ido think that it might actually
> be really useful. If the first 2 bits of the flow label are '11' or '10' or
> something, then it could mean that the next N (13?) bits of the flow label
> contain the minimum MTU along the path.
> >
> > Aaargh. That's a gross violation of the standard for the flow label.
> Short form: you can't use the flow label for signaling. Long form: RFC6436,
> RFC6437, plus RFC6294 for a menagerie of other terrible ways to abuse the
> flow label.
>
> Or, put another way: if we were to use the FL for this, it would screw
> up the currently-intended use.
>

Yup, I had actually read those the above, but it was a while back...

I'm not really sure it does screw up the intended use -- the FL is 20 bits.
If we were to do something like Erik had proposed, and we wanted to be able
to signal up to a 9K MTU, we would need 13bits (LN(9K-1280)/LN(2) = 12.9).
20 - 13 gives 7 bits (128) for the hash entropy. "7 bits of entropy, evenly
distributed, should be enough for anyone", he said, hoping no-one points at
the obvious correlation to 640K of RAM...
If we only wanted to signal full granularity between 1500 and 1280, and
then require that any MTU between 1500 and 9K falls into one of 36 buckets,
we could reserve one byte to do so (1500-1280=220. 256-220=36).

This likely is still a horrible, no good idea, but it does at least make
the MTU available to things looking at the L3 header only, and doesn't
require routers to have to dig into extension headers.

Whatever the case, when we finally design IP-NG-NG, let's set aside 512bits
(at least) to be "reserved for future abuse" :-P Or, perhaps, every bit
should be fully cast in stone (with no room for extensions) so that they
don't become attractive nuisances for ugly hacks...

:-)
W

>
>
>
> --
> Fernando Gont
> SI6 Networks
> e-mail: fgont@si6networks.com
> PGP Fingerprint: 6666 31C6 D484 63B2 8FB1 E3C4 AE25 0D55 1D4E 7492
>
>
>
>
>

-- 
I don't think the execution is relevant when it was obviously a bad idea in
the first place.
This is like putting rabid weasels in your pants, and later expressing
regret at having chosen those particular rabid weasels and that pair of
pants.
   ---maf