Re: [tsvwg] Comment on "draft-ietf-tsvwg-udp-options-28" -> do we need to update the text oin the Length Field

Joe Touch <touch@strayalpha.com> Fri, 22 December 2023 17:56 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 A1724C14F6AE for <tsvwg@ietfa.amsl.com>; Fri, 22 Dec 2023 09:56:28 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.326
X-Spam-Level:
X-Spam-Status: No, score=-1.326 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, MIME_QP_LONG_LINE=0.001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_NEUTRAL=0.779, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=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 ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id W42i3n20ubxE for <tsvwg@ietfa.amsl.com>; Fri, 22 Dec 2023 09:56:24 -0800 (PST)
Received: from server217-3.web-hosting.com (server217-3.web-hosting.com [198.54.115.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 82EF4C14F71B for <tsvwg@ietf.org>; Fri, 22 Dec 2023 09:56:19 -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-Transfer-Encoding:Content-Type:Sender: Reply-To: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=DI5ayiPFJmqLbhbDwgppBIqnx9kt34Fnz/7CvUc8aPY=; b=MMl2iNxeOneI+LUen6Ex33Pwrs fVQmevDcX6Q31SLiJ3IeB7+NXYXFV2F3VHcnPLpFKlyTru0hKIOdq0rlz8R5VLB/U0FOzatrXOt9I R2t5PU62rDtBO2ranm95mXgpS6W4mPGC3CI4mLt17iu2jXLAfE53JhFtAQlNfte2R0zADdlHELDF+ elKNhVmgkkBoV8w+0dIFK1K2J5nAaamCV1KUu0CChKW5u1e7zE66q5CRAfNRkpQ2su8R3aDzfvHqS uBsa5dsHiRXxkQvXvlB5d73oYSL//AP0wdSyrAjtE5TxmbQw1ryYmtAIFAuuqpPWWb6ZvOvj0/W/R PtnrNESQ==;
Received: from [172.58.208.38] (port=62139 helo=smtpclient.apple) by server217.web-hosting.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from <touch@strayalpha.com>) id 1rGjkq-00FJps-2W; Fri, 22 Dec 2023 12:56:17 -0500
Content-Type: multipart/alternative; boundary="Apple-Mail-AC8CD823-2028-4F92-AE56-1F108BA45B20"
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (1.0)
From: Joe Touch <touch@strayalpha.com>
In-Reply-To: <CACL_3VG84nygq+fj1aniq7C+0qLYvJZzGehOtqLag8E3LMMa7A@mail.gmail.com>
Date: Fri, 22 Dec 2023 09:55:59 -0800
Cc: Gorry Fairhurst <gorry@erg.abdn.ac.uk>, TSVWG <tsvwg@ietf.org>
Message-Id: <33D26A10-EDE1-46F2-BFDC-2554FE1F019A@strayalpha.com>
References: <CACL_3VG84nygq+fj1aniq7C+0qLYvJZzGehOtqLag8E3LMMa7A@mail.gmail.com>
To: "C. M. Heard" <heard@pobox.com>
X-Mailer: iPad Mail (21B101)
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/3Yc4IRO5A5X9KKsMP3sP6w4U8P4>
Subject: Re: [tsvwg] Comment on "draft-ietf-tsvwg-udp-options-28" -> do we need to update the text oin the Length Field
X-BeenThere: tsvwg@ietf.org
X-Mailman-Version: 2.1.39
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: Fri, 22 Dec 2023 17:56:28 -0000

No need to- it’s actually correct.  A udp payload length of zero is a udp length of 8.

I’ll put that in as a clarification via this thread.

> On Dec 22, 2023, at 9:05 AM, C. M. Heard <heard@pobox.com> wrote:
> 
> 
>> On Fri, Dec 22, 2023 at 8:51 AM Gorry Fairhurst wrote:
> 
>>> On 22/12/2023 15:18, C. M. Heard wrote:
>>> On Fri, Dec 22, 2023 at 1:45 AM Gorry Fairhurst wrote:
>>>> ... <snip discussion on options for jumbograms> ...
>>>> 
>>>> I have two questions, intended to help focus on any needed changes:
>>>> 
>>>> 
>>>> 1) I found one instance of text in the current draft that might benefit
>>>> from a change, to avoid a potential mis-read:
>>>> 
>>>> The current draft contains: "The UDP option area can be used with any
>>>> UDP payload length (including zero)",
>>>> 
>>>> - If I understand, I think it would be helpful to clarify that this is
>>>> the case of "zero-length user data", rather than the length field of the
>>>> UDP header, e.g.:
>>>> 
>>>> "The UDP option area can be used with any length of UDP user data
>>>> (including zero).
>>>> A datagram with zero-length user data results in a UDP Length field
>>>> value of 8."
>>>> 
>>> 
>>> That sounds right to me.
>>>  
>>>> 
>>>> 2) Does this draft also need to deal with UDP Length = 0?
>>> 
>>> No.
>>> 
>>>> 
>>>> I understand, the length field is zero, as a special case for the IPv6
>>>> Jumbogram, but I suggest this could be a seperable topic. One suitable
>>>> approach could be to keep the updates to define this with the PS spec
>>>> that defines the change in the UDP processing, and for example to only
>>>> note that:
>>>> 
>>>> "If UDP options is defined for UDP datagrams with a length field less
>>>> than 8, a specification would need to to define whether and how this
>>>> format identifies the presence of UDP options."
>>> 
>>> I don't think we should do even that. The proposed text in
>>> https://github.com/tsvwg/draft-ietf-tsvwg-udp-options/issues/26
>>> adequately addresses the issue raised by IPv6 Jumbograms,
>>> which is that in that case the UDP packet has no independent
>>> UDP Length, and the fact that this arises from UDP Length == 0
>>> is incidental.
>>> 
>>> Given there are no other known or proposed uses of values
>>> of UDP Length <  8, I think we can leave it at that.
>>> 
>>> Mike Heard
>>> 
>> I'd personally be happy with both of your suggerstions!
>> 
> Perhaps, then, open a github issue for #1 above?
> 
> Mike