Re: [tsvwg] UDP options and header-data split (zero copy)

Tom Herbert <tom@herbertland.com> Sun, 01 August 2021 21:43 UTC

Return-Path: <tom@herbertland.com>
X-Original-To: tsvwg@ietfa.amsl.com
Delivered-To: tsvwg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BD1A93A1315 for <tsvwg@ietfa.amsl.com>; Sun, 1 Aug 2021 14:43:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level:
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, SPF_HELO_NONE=0.001, SPF_NONE=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=herbertland-com.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 sy_tXfILcbqT for <tsvwg@ietfa.amsl.com>; Sun, 1 Aug 2021 14:43:31 -0700 (PDT)
Received: from mail-ed1-x52e.google.com (mail-ed1-x52e.google.com [IPv6:2a00:1450:4864:20::52e]) (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 9EA753A1311 for <tsvwg@ietf.org>; Sun, 1 Aug 2021 14:43:30 -0700 (PDT)
Received: by mail-ed1-x52e.google.com with SMTP id d6so14170932edt.7 for <tsvwg@ietf.org>; Sun, 01 Aug 2021 14:43:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=herbertland-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=RS7/9tpChxmsL4kfj8Kl4fG1ytqNfV9XPW2s1OYfT0U=; b=kIqjygKO1zGB4r9QQK9eAYRWSLR5SbCcCFb+4lIIPuuhrSdwl9aPYMq5rfUJZlEeIQ oyhks8Y1djS7B+GTDKhONBqz60AhwHaRL6rgr6liWGMCtHX33A4uC3esclA0Zx7/Qja3 KzZwZnKjnI8S4bLoFU+O2EPLv2XcgmtIzLN1rvXzA/zeJ/HZFFaaj4jmJhGDXsbGvWA2 dO3gwfgZD7/QDAHrjB+FApHaT5G46LTcWmLLsh5MfJ/tTg2IHmHqfGBHEn/LdLCRLmVS lMMeGPcG2iQJShOiD4VjFHTWGmmZoQKQvPIS2jpHFIPXupbsNkpoo2//fUHlKUheuVQZ KqIQ==
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:content-transfer-encoding; bh=RS7/9tpChxmsL4kfj8Kl4fG1ytqNfV9XPW2s1OYfT0U=; b=jZHsPfrIiKlvRJsMeytJY1cUhNGVRacl1mSThwMfQZTIkWyYKfSkL6oW25dUbUjxr1 AfuciJtt415JiAbGCw+TRygkywgaIIJFL5nQctUZQmyOlmeqGLb8Q2ien/4mPkmqZwZQ 8/3Oluz4+XLyHkxbXEFgBJPPsVDawJlBkYSAhPSV52CQ/VJ6mqo958cUmLOSxILNVTPc x3adY8Id/pmcDz9LpTIuINpnmjeZhTEnnshUcqu0A6hpRsDTcDnqCsi8DB/K20+OEnfD bYt4KeHEUf2GCwedeksFuRgNvhC9FdKr5cAh8BqYGk5css6l6rljkCo3LRTgVgnm3PBE V8dw==
X-Gm-Message-State: AOAM531MKFFeAXKDnZZv2swAT04ix7XZjuMxMz8VL50XW2dA54g91hd0 HPPS6zVNWxbYseJCltnO9qnRD5ZODiBHQhUeb2UjtqWmiC7e9g==
X-Google-Smtp-Source: ABdhPJw5jsPxn7jvK/Kh12CEEtdAgX+E+1zTh6aevKOYuSG5OgaLpnfNq3ZPtJT/LM2Ah4qtyt7Ujni41YtzNGf9U+c=
X-Received: by 2002:a05:6402:152:: with SMTP id s18mr15622034edu.221.1627854207457; Sun, 01 Aug 2021 14:43:27 -0700 (PDT)
MIME-Version: 1.0
References: <CALx6S37zVVXnCH+Dv7_QXgwOoqcL4h0SThh+LnmAWn-5enprZQ@mail.gmail.com> <FA155FD9-2319-405C-B082-C023DEC2BF28@strayalpha.com> <CALx6S3435ZjAz8ECgbFbH=Hxm-cXAGRQjTbxgtGb9U-CTXMw=A@mail.gmail.com> <C8CE3912-55B2-4DC0-AB39-2D6EA6953500@strayalpha.com> <1178DE92-175A-4293-8A97-9B6FEBAF7B02@strayalpha.com> <CALx6S35tB=j5y3-xr5S22y0p+WJxKX_hqk8rm30oCruFxZp5Dw@mail.gmail.com> <87662B22-F63B-4EA4-94B3-DF4B2439A4E1@strayalpha.com> <CALx6S35h3H-mvkHKFcpp3-k-Sq48NAMVRe-LEhfHxEA=hP49qQ@mail.gmail.com> <72098C16-868E-4A9A-80E7-5FFEE1382337@strayalpha.com> <CALx6S364PPh8SKxZjC2D--EaxtUqwgV3QecdUujL+gjBt0bCcQ@mail.gmail.com> <C09BFF71-4EFB-4CEF-923E-54C74F8F690B@strayalpha.com>
In-Reply-To: <C09BFF71-4EFB-4CEF-923E-54C74F8F690B@strayalpha.com>
From: Tom Herbert <tom@herbertland.com>
Date: Sun, 01 Aug 2021 14:43:16 -0700
Message-ID: <CALx6S36hcM0OZvL8gykkqz_oXFbG3ochrvX86E1mBSnAh==ygA@mail.gmail.com>
To: Joseph Touch <touch@strayalpha.com>
Cc: tsvwg <tsvwg@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/iNmnmmhh5hAFOtxt9Q1JtWJmlv8>
Subject: Re: [tsvwg] UDP options and header-data split (zero copy)
X-BeenThere: tsvwg@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Transport Area Working Group <tsvwg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tsvwg>, <mailto:tsvwg-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tsvwg/>
List-Post: <mailto:tsvwg@ietf.org>
List-Help: <mailto:tsvwg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tsvwg>, <mailto:tsvwg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 01 Aug 2021 21:43:36 -0000

On Sun, Aug 1, 2021 at 2:24 PM Joseph Touch <touch@strayalpha.com> wrote:
>
>
>
> On Aug 1, 2021, at 2:19 PM, Tom Herbert <tom@herbertland.com> wrote:
>
>
>
> On Sun, Aug 1, 2021, 12:42 PM Joseph Touch <touch@strayalpha.com> wrote:
>>
>>
>> ...
>> Had we limited the option length as a few suggested when this work started, we would not have FRAG.
>>
>> We don’t know what others are, but we also don’t know that the first frag will have hundreds of bytes of available space either.
>
>
> Actually, we do know that. The minimum MTU in IPv6 is 1280 and the minimum MTU for IPv4 is 576.
>
>
> The min MTU for IPv4 is 68..

Per RFC791 it's 576 bytes.

>
> If someone we're so inclined they could fill up the first fragment packet with nothing but options and start the payload in the second. That means you'll have at least 520 bytes for options.
>
>
> That includes BOTH per-fragment and per-reassembled datagram options.
>
> But all this is academic since there's no use case other than DoS attack that would need anything close to that much space.
>
>
> That was true until FRAG too.
>
> Again, this is a new decision - to limit the option space.

I don't know what that means.

>
> Joe