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

Joseph Touch <touch@strayalpha.com> Sun, 01 August 2021 21:24 UTC

Return-Path: <touch@strayalpha.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 BE7A93A11CE for <tsvwg@ietfa.amsl.com>; Sun, 1 Aug 2021 14:24:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.318
X-Spam-Level:
X-Spam-Status: No, score=-1.318 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_NEUTRAL=0.779, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=strayalpha.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 EKpJ0giKin8S for <tsvwg@ietfa.amsl.com>; Sun, 1 Aug 2021 14:24:29 -0700 (PDT)
Received: from server217-4.web-hosting.com (server217-4.web-hosting.com [198.54.116.98]) (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 29EBE3A11CC for <tsvwg@ietf.org>; Sun, 1 Aug 2021 14:24:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=strayalpha.com; s=default; h=To:References:Message-Id:Cc:Date:In-Reply-To: From:Subject:Mime-Version:Content-Type:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=c5U2Pb49B7WYr8S6tYz9pzc8wdAhufLX2pzqI0dAe54=; b=K+DxPEbEVu5KqcwKITRfpnKp4e OLOc4n0ntc/n+JnlTAzvcJO/QPyThXGq5V+mf2CJOKiW85SSaaajmZg0IoPLU+Zhz/oWFwFLEy2zW rA2Y6s0EVffv7SCt5j/9Ki0gxyww0kn2gi8meCMGpuoZqxUWyzurs2Je/OuQWLGsMK3XHoYPpFvDB qqzCY7jttkWIs8tP/VbGyv37UffAeuM0yq+LE4+WfGcE9ey7Mn2xpTyyYF2MR/0DVho6KQdBADrKv jwlF7Shsyl74sx+C2mD91sCNeRMoaDGoZgyk1ArsiG/EIgHhXujoZtIrI2IITFNdmR1fgE0ePav1K I1f+tqlA==;
Received: from cpe-172-114-237-88.socal.res.rr.com ([172.114.237.88]:49894 helo=smtpclient.apple) by server217.web-hosting.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from <touch@strayalpha.com>) id 1mAIwZ-0015iN-Ta; Sun, 01 Aug 2021 17:24:28 -0400
Content-Type: multipart/alternative; boundary="Apple-Mail=_038DEA6C-5831-46F7-8F91-CCDB2058250B"
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\))
From: Joseph Touch <touch@strayalpha.com>
In-Reply-To: <CALx6S364PPh8SKxZjC2D--EaxtUqwgV3QecdUujL+gjBt0bCcQ@mail.gmail.com>
Date: Sun, 01 Aug 2021 14:24:20 -0700
Cc: tsvwg <tsvwg@ietf.org>
Message-Id: <C09BFF71-4EFB-4CEF-923E-54C74F8F690B@strayalpha.com>
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>
To: Tom Herbert <tom@herbertland.com>
X-Mailer: Apple Mail (2.3654.120.0.1.13)
X-OutGoing-Spam-Status: No, score=-1.0
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - server217.web-hosting.com
X-AntiAbuse: Original Domain - ietf.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - strayalpha.com
X-Get-Message-Sender-Via: server217.web-hosting.com: authenticated_id: touch@strayalpha.com
X-Authenticated-Sender: server217.web-hosting.com: touch@strayalpha.com
X-Source:
X-Source-Args:
X-Source-Dir:
X-From-Rewrite: unmodified, already matched
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/LMNAdrFsBPe9TzUwg9SOQboyUHQ>
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:24:34 -0000


> 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 <mailto: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.

> 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.

Joe