Re: [tsvwg] [EXTERNAL] Re: Comment on "draft-ietf-tsvwg-udp-options-28"

"touch@strayalpha.com" <touch@strayalpha.com> Thu, 21 December 2023 18:58 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 B19A0C239604 for <tsvwg@ietfa.amsl.com>; Thu, 21 Dec 2023 10:58:52 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.327
X-Spam-Level:
X-Spam-Status: No, score=-6.327 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, 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=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 ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gUiToIploDK5 for <tsvwg@ietfa.amsl.com>; Thu, 21 Dec 2023 10:58:48 -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 639EAC14CE30 for <tsvwg@ietf.org>; Thu, 21 Dec 2023 10:58:48 -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=LcbwYYhsKa2BI4W0beLhW9q0sGb4OeKe5/F423EyNms=; b=KBYsT0PSC/dKjArL3cVTdN5GN/ ilKUft4uwaEOi2thndM9Ihrbhb6nJCBMCgl8g02nSaI/uI5loWDJ9EvvUJuO1p/xju0cS2u5GKmkO XH45tyTC1yg8yJk+VZNPa+Dn2Zcd/3MhJ7YNRPMSK2NtbL1BcN0OOp5D3Ys72xVNOVceMIlZLt13C bJ6rz2Fj+jGUR+FqRHjvYBeqqZHBGm77bIkNotkhOh7VooEvS+eg3EIH0yc0lcouB9CGc0fEbMol1 mIwEADuPt9/hVdZYLdLsl81ME0bdZQ1nD3800us0mYszpHLXSfWiWCozH2qsAvHgLTPkZQXK66Gye ghTjznEw==;
Received: from [172.58.208.211] (port=48555 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 1rGOFj-003Hn4-0y; Thu, 21 Dec 2023 13:58:45 -0500
Content-Type: multipart/alternative; boundary="Apple-Mail=_6E8BAE43-0527-4600-BB4A-F0E2A1A13EEF"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.300.61.1.2\))
From: "touch@strayalpha.com" <touch@strayalpha.com>
In-Reply-To: <BN0P110MB1420616F6D09EBA51405BE9FA395A@BN0P110MB1420.NAMP110.PROD.OUTLOOK.COM>
Date: Thu, 21 Dec 2023 10:58:25 -0800
Cc: Tom Herbert <tom@herbertland.com>, Gorry Fairhurst <gorry@erg.abdn.ac.uk>, TSVWG <tsvwg@ietf.org>
Message-Id: <77563B14-D34F-4228-97EE-EB8BDEF088FB@strayalpha.com>
References: <BN0P110MB142047355A9F4C296314246EA396A@BN0P110MB1420.NAMP110.PROD.OUTLOOK.COM> <1ecce3fa-3f54-4c7d-bdd9-3c8c0c693af7@erg.abdn.ac.uk> <CACL_3VFfReR_vt7ohZ0TYZXR++iEvxhe5mBsGpu5CgxevfgQiw@mail.gmail.com> <BN0P110MB14202370A78431FB81CA1390A396A@BN0P110MB1420.NAMP110.PROD.OUTLOOK.COM> <CACL_3VHxeF5D3J1+LnFb3yvexXLPm=gGDiiZMLbgBvh=6vnxtw@mail.gmail.com> <BN0P110MB1420738A024BE37E111C6A22A396A@BN0P110MB1420.NAMP110.PROD.OUTLOOK.COM> <CACL_3VHOHzngADogSbR8jX4k+VJ4+-peg3htauOx9ue1jS8w=w@mail.gmail.com> <BN0P110MB142044D065A7F9BE5F3DF9B7A395A@BN0P110MB1420.NAMP110.PROD.OUTLOOK.COM> <CALx6S34WktGma-urE-e+udi-iJQXq7mA_SWib2jXmcCkYie+cw@mail.gmail.com> <C73ACD59-FBC6-4B5C-94C9-0B50540DBD87@strayalpha.com> <BN0P110MB14203EF6B9B39A7C7E12B483A395A@BN0P110MB1420.NAMP110.PROD.OUTLOOK.COM> <6B97C485-03D3-431F-9431-FE67562E673C@strayalpha.com> <BN0P110MB1420616F6D09EBA51405BE9FA395A@BN0P110MB1420.NAMP110.PROD.OUTLOOK.COM>
To: "Templin (US), Fred L" <Fred.L.Templin@boeing.com>
X-Mailer: Apple Mail (2.3774.300.61.1.2)
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/trWdgDWi-Nly7zWnSWFDUPrGqZQ>
Subject: Re: [tsvwg] [EXTERNAL] Re: Comment on "draft-ietf-tsvwg-udp-options-28"
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: Thu, 21 Dec 2023 18:58:52 -0000

Fred,

RFC2675 is operational. If there is a decouple-able update, it should be issued.

If you’re proposing IP parcels will upend RFC2675 to get to parcels, you may be asking too much IMO.

Joe

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

> On Dec 21, 2023, at 10:51 AM, Templin (US), Fred L <Fred.L.Templin@boeing.com> wrote:
> 
> Joe, the parcels draft updates RFC2675 and will come along hopefully in the
> very near future – there is no rush or emergency for a minor RFC2675 update
> in the even nearer future.
>  
> Everyone should read and understand what IPv6 Parcels and Advanced Jumbos
> is offering – it covers all parcel/jumbo sizes ranging from the very small to the
> very large. – and, the small(ish) ones should be able to use UDP options.
>  
> Fred
>  
> From: touch@strayalpha.com <mailto:touch@strayalpha.com> <touch@strayalpha.com <mailto:touch@strayalpha.com>>
> Sent: Thursday, December 21, 2023 10:45 AM
> To: Templin (US), Fred L <Fred.L.Templin@boeing.com <mailto:Fred.L.Templin@boeing.com>>
> Cc: Tom Herbert <tom@herbertland.com <mailto:tom@herbertland.com>>; Gorry Fairhurst <gorry@erg.abdn.ac.uk <mailto:gorry@erg.abdn.ac.uk>>; TSVWG <tsvwg@ietf.org <mailto:tsvwg@ietf.org>>
> Subject: Re: [tsvwg] [EXTERNAL] Re: Comment on "draft-ietf-tsvwg-udp-options-28"
>  
> Hi, Fred,
>  
> I was speaking of a more modest 1-for-1 update of RFC2675.
>  
> Parcels is a lot more than that, and whether that flies or not, it seems like it can/should be decoupled from such a 1-for-1.
>  
> Joe
>  
> —
> Dr. Joe Touch, temporal epistemologist
> www.strayalpha.com <http://www.strayalpha.com/>
> 
> 
> On Dec 21, 2023, at 10:33 AM, Templin (US), Fred L <Fred.L.Templin=40boeing.com@dmarc.ietf.org <mailto:Fred.L.Templin=40boeing.com@dmarc.ietf.org>> wrote:
>  
> > IMO, the IPv6 jumbogram RFC should be revised:
>  
> Here is the revision:
>  
> https://datatracker.ietf.org/doc/draft-templin-6man-parcels/
>  
> Folks seem keen on breaking UDP options so they won’t work properly under the new revision;
> please don’t do that.
>  
> Fred
>  
> From: touch@strayalpha.com <mailto:touch@strayalpha.com> <touch@strayalpha.com <mailto:touch@strayalpha.com>>
> Sent: Thursday, December 21, 2023 10:16 AM
> To: Tom Herbert <tom@herbertland.com <mailto:tom@herbertland.com>>
> Cc: Templin (US), Fred L <Fred.L.Templin@boeing.com <mailto:Fred.L.Templin@boeing.com>>; Gorry Fairhurst <gorry@erg.abdn.ac.uk <mailto:gorry@erg.abdn.ac.uk>>; TSVWG <tsvwg@ietf.org <mailto:tsvwg@ietf.org>>
> Subject: Re: [tsvwg] [EXTERNAL] Re: Comment on "draft-ietf-tsvwg-udp-options-28"
>  
> EXT email: be mindful of links/attachments.
> 
>  
> FWIW
>  
> YES:
> UDP options Updates 768 because it allows the UDPlength to not match the IP packet and sets bounds for that (i.e., it can’t be longer than the IP packet end).
> RFC2675 should have updated RFC768 because it defines what would otherwise be illegal values for the UDPlength **AND** because it redefines how the UDP checksum is computed (to use length derived from the IP header).
>  
> NO:
> UDP options won’t be defining length=0. That happened in RFC2675 and ONLY in the context of IPv6 
> though it DID do so regardless of whether jumbograms were used or not - in a non-backward compatible way
> RFC768 doesn’t need to define other values for UDPlength; they’re all intrinsically invalid except as overriden by RFC2675
> UDP options do NOT preclude the use of IP jumbograms
> Just the way IPv6 jumbograms “warp” UDP per RFC2675
>  
> IMO, the IPv6 jumbogram RFC should be revised:
> To update RFC768
> To confine the meaning of UDPlength==0 to only when the jumbo length IP option is present
> And, preferably (if possible), to update that mechanism to support UDP options
> I think UDP options are useful enough that this change might be important
> I have a few ideas for this, but the key IMO is to keep the changes local to UDP, e.g., to use the last 4 bytes of the IP payload to indicate the true UDP length.
>  
> Joe
>  
> —
> Dr. Joe Touch, temporal epistemologist
> www.strayalpha.com <http://www.strayalpha.com/>
> 
> 
> 
> On Dec 21, 2023, at 8:54 AM, Tom Herbert <tom=40herbertland.com@dmarc.ietf.org <mailto:tom=40herbertland.com@dmarc.ietf.org>> wrote:
>  
>  
>  
> On Thu, Dec 21, 2023 at 7:19 AM Templin (US), Fred L <Fred.L.Templin=40boeing.com@dmarc.ietf.org <mailto:40boeing.com@dmarc.ietf.org>> wrote:
> Sorry Mike, there is no reason for ‘draft-ietf-tsvwg-udp-options’ to go looking down into intarea
> space to try to capture all of the ways lower layers might represent a length greater than 65535.
> This draft needs to tell what UDP Length = 0 means from the UDP perspective, and leave intarea
> matters to intarea. RFC768 says:
>  
> “Length  is the length  in octets  of this user datagram  including  this
> header  and the data.   (This  means  the minimum value of the length is
> eight.)”
>  
> This means that RFC768 is in need of an update that tells what the values 0-7 mean if
> they appear in the UDP Length. ‘draft-ietf-tsvwg-udp-options’ should be the document
> that updates RFC768 at least as far as defining what the value 0 means, and without
> reference to any intarea documents.
>  
> Fred,
>  
> RFC2675 clearly defines alternative semantics for UDP length == 0, so RFC2675 did update RFC768 even if it didn't explicitly state that. I believe that omission could be rectified with an errata for RFC2675. draft-ietf-tsvwg-udp-options is not changing any semantics or UDP requirements so I don't believe it updates RFC768. IMO it is sufficient to just say UDP options are not sent when Jumbograms are used with a reference to RFC2675, and UDP options are not present in received packets when UDP Length is less than eight.
>  
> Tom
>  
>  
> Fred
>  
> From: C. M. Heard <heard@pobox.com <mailto:heard@pobox.com>>
> Sent: Wednesday, December 20, 2023 2:49 PM
> To: Templin (US), Fred L <Fred.L.Templin@boeing.com <mailto:Fred.L.Templin@boeing.com>>
> Cc: Gorry Fairhurst <gorry@erg.abdn.ac.uk <mailto:gorry@erg.abdn.ac.uk>>; TSVWG <tsvwg@ietf.org <mailto:tsvwg@ietf.org>>
> Subject: Re: [tsvwg] Comment on "draft-ietf-tsvwg-udp-options-28"
>  
> Fred,
>  
> I don't buy that.
>  
> No standards-track RFC other than RFC 2675 ever endorsed the notion that Length == 0 in the UDP header mean that the true UDP length is encoded in some other way.
>  
> And even if we accept that notion in general, an implementation has no recourse except to consider Length == 0 in the UDP header as invalid unless it knows what that "other way" is.
>  
> For this reason, we can give useful advice on what to do when Length == 0 in the UDP header only in the case of IPv6 Jumbograms as specified in RFC 2675.
>  
> Thad advice could take the form of the following text, or something similar, placed at the end of draft-ietf-tsvwg-udp-options-28 Section 7: 
>  
> "Note: UDP options cannot be supported when a UDP packet is transmitted inside an IPv6 Jumbogram since there is no independent UDP Length in that case. See [RFC2675] for details."
>  
> Mike Heard
>  
> P.S. RFC 2675 does not state that it updates RFC 768, not is RFC 2675 listed in the RFC 768 datatracker entry as  being updated by RFC 2675. Are these omissions worthy of errata?
>  
> On Wed, Dec 20, 2023 at 12:06 PM Templin (US), Fred L wrote:
> Mike, at the UDP layer, we know that if the length of the UDP header plus UDP data
> exceeds 65535 then it cannot be represented in the 16-bit UDP Length field and so
> 0 should be written into that field instead and UDP options cannot be used.
>  
> This presumes that the true length is *somehow* encoded at the IP layer and
> although RFC2675 specifies one way of doing that, there may be future alternative
> ways of doing it also. Therefore, this transport-area document should focus UDP
> layer considerations *only* without being overly proscriptive about the IP layer
> which is within the purview of intarea.
>  
> Fred
>  
> From: C. M. Heard <heard@pobox.com <mailto:heard@pobox.com>>
> Sent: Wednesday, December 20, 2023 11:34 AM
> To: Templin (US), Fred L <Fred.L.Templin@boeing.com <mailto:Fred.L.Templin@boeing.com>>
> Cc: Gorry Fairhurst <gorry@erg.abdn.ac.uk <mailto:gorry@erg.abdn.ac.uk>>; TSVWG <tsvwg@ietf.org <mailto:tsvwg@ietf.org>>
> Subject: Re: [tsvwg] Comment on "draft-ietf-tsvwg-udp-options-28"
> Fred,
>  
> I think that text would be confusing to many readers. You may be keenly aware of IPv6 Jumbograms and how it is possible for the the length of a UDP datagrams can exceed 65535 octets, but I would bet that many (maybe most) folks would simply scratch their heads and say "huh?" And what is the objection to citing RFC 2675? Isn't it presently the only standardized means for doing so? Is any another means of doing so documented somewhere?
>  
> Mile
>  
> On Wed, Dec 20, 2023 at 11:24 AM Templin (US), Fred L <Fred.L.Templin@boeing.com <mailto:Fred.L.Templin@boeing.com>> wrote:
> Mike, I would favor not being overly proscriptive and not even including a reference
> to RFC2675 at all. Instead, have the draft simply say something like:
>  
>       “When sending a UDP packet, if and only if the length of the UDP
>       header plus UDP data is greater than 65,535, set the Length field
>       in the UDP header to zero and do not include UDP options.”
>  
> I would not be in favor of saying anything explicit about the Jumbo Payload option
> itself. RFC2675 provides current guidance for the Jumbo Payload option, but future
> specs may update RFC2675.
>  
> Thank you - Fred
>  
> From: C. M. Heard <heard@pobox.com <mailto:heard@pobox.com>>
> Sent: Wednesday, December 20, 2023 11:05 AM
> To: Gorry Fairhurst <gorry@erg.abdn.ac.uk <mailto:gorry@erg.abdn.ac.uk>>; Templin (US), Fred L <Fred.L.Templin@boeing.com <mailto:Fred.L.Templin@boeing.com>>
> Cc: TSVWG <tsvwg@ietf.org <mailto:tsvwg@ietf.org>>
> Subject: [EXTERNAL] Re: [tsvwg] Comment on "draft-ietf-tsvwg-udp-options-28"
>  
> EXT email: be mindful of links/attachments.
> 
>  
> On Wed, Dec 20, 2023 at 10:06 AM Gorry Fairhurst wrote:
> On 20/12/2023 17:44, Templin (US), Fred L wrote:
> Hello, if I understand this draft correctly the UDP options occupy the space beyond the
> end of the payload portion indicated by the “UDP Length” field and continuing up to the
> end of the remaining payload indicated by the “IP {Total, Payload} Length” field.
> However, RFC2675 states:
>  
>       “When sending a UDP packet, if and only if the length of the UDP
>       header plus UDP data is greater than 65,535, set the Length field
>       in the UDP header to zero.”
>  
> Since RFC2675 is still considered a part of the IPv6 standard, I think the UDP options
> draft should cite it and say exactly what should be done if UDP Length is 0. For example,
> nodes should not consider all octets of a packet with IP length greater than 65,535 and
> UDP length 0 as the surplus area for UDP options.
>  
> Fred
>  
> This would apply I think if you had an Dest Ext Header carrying the option?
> 
> Personally, I'd rather the IETF make RFC2675 Historic ;-), since I don't think there is deployment at scale, but that's another story (akahttps://datatracker.ietf.org/meeting/105/materials/slides-105-6man-sessa-change-status-of-rfc-2675-to-historic-00) !
> 
> Gorry (as an individual)
> 
> According to RFC 2675, one has a jumbo UDP payload if, and only if, all of the following conditions apply:
>  
> - the IPv6 Payload Length field is zero and the link layer framing indicates octets beyond the IPv6 header;
> - there is a Hop-By-Hop Options header containing the Jumbo Payload Option;
> - the final Next Header in the chain of extension headers indicates UDP; and
> - the UDP payload length is set to zero (indicating that the UDP payload length is not present).
>  
> That last condition implies that there is no longer a redundant length field to define where the UDP payload ends and the surplus area (aka options trailer) begins.
>  
> Therefore, support for UDP options is not possible for UDP datagrams that have a jumbo payload.
>  
> Fred is correct that RFC 2675 is still a standard, and it is not within the remit of TSVWG to change that. Nor, IMO, would it be appropriate to further delay UDP options to do so.
>  
> What we could do is add a statement to the effect that UDP options are not supported in in UDP datagrams with jumbo payloads and add a reference RFC 2675.
>  
> Note that there is a corner case where the IPv6 Payload Length is non-zero and the Jumbo Payload option is present; this would indicate the presence of a normal UDP payload and a jumbo surplus area. In principle, this could be allowed, but I find it implausible that this would actually be useful, even if the Jumbo Payload option actually enjoyed real-world deployment.  I have no opposition to allowing consenting implementations to support it if they want to do so, as long as we can craft a very brief description that does not pollute the UDP options specification with lengthy and in practice irrelevant text.
>  
> Would it be appropriate to open an issue for this in the github tracker?
>  
> Mike Heard