Re: [tsvwg] draft-ietf-tsvwg-udp-options-13: Comments concerning Fragments

"touch@strayalpha.com" <touch@strayalpha.com> Wed, 02 March 2022 04:50 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 988B53A1066 for <tsvwg@ietfa.amsl.com>; Tue, 1 Mar 2022 20:50:52 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.328
X-Spam-Level:
X-Spam-Status: No, score=-6.328 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, RCVD_IN_DNSWL_HI=-5, SPF_HELO_NONE=0.001, SPF_NEUTRAL=0.779, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001] autolearn=ham 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 xP3OwfHCjguU for <tsvwg@ietfa.amsl.com>; Tue, 1 Mar 2022 20:50:47 -0800 (PST)
Received: from server217-1.web-hosting.com (server217-1.web-hosting.com [198.54.114.226]) (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 6AEEF3A1067 for <tsvwg@ietf.org>; Tue, 1 Mar 2022 20:50:47 -0800 (PST)
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=YLsPTVtERNvmHtMb/AW8VsjKBIuGyUMFK+jERWMAu60=; b=IG/Y5IST2rz4doerFHrOfpT9kA X5fI59PtXpy+YkVxJoFXuNyVJ9+8Lh4toftv2S6sMrdUnGSRL56vy7GZtLeN5HFbIfPh9TtrmJwAR L3Iv90gNXydp3QpesmgZi1iP5usin9iQoEQ4tmDxZs4ipJMPhcVR8ipeECi+Pxix+QMsdKDcFDfrc aLByL596TpR47q5lTZ7unM76criyrC3LFK5yRdGiDZqfLBJRRDPFSSg7Np9klIhXd4rrrGa0mjQCn Qguy8SAdPMq+JuRXDvSx+yzzkWzr14LRvHKbQLy9xCYb+TBUkOU8FYUGwyS1r1iLTJPYnPhDoKvUG LCt5XKZA==;
Received: from cpe-172-114-237-88.socal.res.rr.com ([172.114.237.88]:64223 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 1nPGwj-00F7Wo-BG; Tue, 01 Mar 2022 23:50:46 -0500
Content-Type: multipart/alternative; boundary="Apple-Mail=_ADBECB1D-B4D9-4EC1-B755-9D74514DBBE3"
Mime-Version: 1.0 (Mac OS X Mail 15.0 \(3693.60.0.1.1\))
From: "touch@strayalpha.com" <touch@strayalpha.com>
In-Reply-To: <8f653c56-592a-62f9-4b25-d382eac607e9@erg.abdn.ac.uk>
Date: Tue, 01 Mar 2022 20:50:38 -0800
Cc: "tsvwg@ietf.org" <tsvwg@ietf.org>
Message-Id: <2504CC9C-001D-4386-9B85-A7D5FD5E6F21@strayalpha.com>
References: <8f653c56-592a-62f9-4b25-d382eac607e9@erg.abdn.ac.uk>
To: Gorry Fairhurst <gorry@erg.abdn.ac.uk>
X-Mailer: Apple Mail (2.3693.60.0.1.1)
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/XvULat1vqbNgIyH3dC3Wp4EZKsY>
Subject: Re: [tsvwg] draft-ietf-tsvwg-udp-options-13: Comments concerning Fragments
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: Wed, 02 Mar 2022 04:50:53 -0000

Hi, all,

Not sure I addressed these specifically, so here goes (as there’s an update coming)…

Joe
—
Dr. Joe Touch, temporal epistemologist
www.strayalpha.com

> On Aug 31, 2021, at 3:27 AM, Gorry Fairhurst <gorry@erg.abdn.ac.uk> wrote:
> 
> I reviewed the latest revision (13) of the draft and have the following questions relating to the use of Fragments.
> 
> Best wishes,
> 
> Gorry
> 
> (as an individual)
> ===
> In section 5.5
> 
> “   Legacy receivers interpret FRAG messages as zero-length payload
>    packets (i.e., UDP Length field is 8, the length of just the UDP
>    header), which would not affect the receiver unless the presence of
>    the packet itself were a signal.”
> - can you supply a reference here? (If no other then sect 5 of RFC8085).

Done.

> ===
> “ This allows either pre-reassembly or post-reassembly
>    UDP option effects.”
> - I think I understand a use case and it would be nice to have an example of using both per-fragment and per-datagram options: could this be used with fragments req/res options to determine a suitable PMTU, and the time options used per reassembled datagram (since in many case this needs to measure the time across the reassembled end-to-end datagram path).

Done.

> ===
>    >> UDP reassembly space limits SHOULD NOT be implemented as an
>    aggregate, to avoid cross-socketpair DOS attacks.
> - Please explain “aggregate” (is this across multiple socket-pairs?)

Done:
>> UDP reassembly space limits SHOULD NOT be computed as a shared resource across multiple sockets, to avoid cross-socketpair DOS attacks.


> ===
>    Any additional UDP options, if used, follow the FRAG option in the
>    final fragment and would be included in the reassembled packet.
> - I don’t like the word “additional” here, can you find a better word (per-datagram?)

Done.

> ===
> 5.7. Maximum Reassembled Segment Size (MRSS)
> - I’m going to make a suggestion here, that was earlier brought up by Tom Jones: Why don’t we fix the DEFAULT MRSS to 2 packets when MRSS is supported. Larger values might be supported, which would be fine, but the case of 2 might have some immediate benefit:
> - A receiver can then fragment a UDP packet to tunnel of include UDP options, likely in many current cases a second fragment will be enough.
> - A receiver can greatly simplify its processing if it tries to reassemble whenever it receives a second fragment of the same datagram. The simplification here mitigates some worry about attacks that target reassembly buffers or processing costs. He previously had not implemented fragment support because it was cumbersome to include in the OS he worked with.
> - Thoughts?
> ===

We later converged on 3000 bytes or 2 fragments.