Re: [tsvwg] A review of draft-ietf-tsvwg-udp-options-12

Joseph Touch <touch@strayalpha.com> Mon, 14 June 2021 18:09 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 6A14B3A2D44 for <tsvwg@ietfa.amsl.com>; Mon, 14 Jun 2021 11:09:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.319
X-Spam-Level:
X-Spam-Status: No, score=-1.319 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, 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 bl_sRaVN4TZy for <tsvwg@ietfa.amsl.com>; Mon, 14 Jun 2021 11:09:19 -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 873023A2D28 for <tsvwg@ietf.org>; Mon, 14 Jun 2021 11:09:16 -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: Content-Transfer-Encoding:Cc:Date:In-Reply-To:From:Subject:Mime-Version: 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=p4uXQ3RiqvOQ98nxA9WimjFcrJ3Y2WOQjKuVhWGFL5g=; b=ILdruyOHvo695oxS2IheCJ6YfH Ov3lYo1L/rQ/ioErAFuqyznmtakrCRiwhYBcvYeVGKFM4/CyMlY4Fhvb2yh2hkVxvovLuuUWad1ed 5e0htls4tHl1TATzdPKS4NuY+HkEI0zFGypIv2FNgYhSDmNxzCVBdWDYhqZJCXq3Xr5sP6hRtlJzm +RWjZWT32wTyA2j3Gz0jrldga89lLGZ2UUeiuT8SimFsMClALQIBDh4PUcFx6Ev1GnkG1YU7pT/ag IWI719ItDRFEDdktMFAbf6/2oxPyTQXW7Bg5H9SGEL3tonZk155lIDOUvg9694QasQ9S1/BrJke5D ZbLJmqXw==;
Received: from cpe-172-250-225-198.socal.res.rr.com ([172.250.225.198]:50052 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 1lsr1L-002V84-TD; Mon, 14 Jun 2021 14:09:16 -0400
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.100.0.2.22\))
From: Joseph Touch <touch@strayalpha.com>
In-Reply-To: <b5b6498d-b9e7-7d99-ee89-91ab94b64d16@erg.abdn.ac.uk>
Date: Mon, 14 Jun 2021 11:09:10 -0700
Cc: Tom Herbert <tom@herbertland.com>, TSVWG <tsvwg@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <69F5B57F-BB38-464F-A63F-F3B211CF91BA@strayalpha.com>
References: <CALx6S36PMx4HK-+5w=WDQCkjAmkPTsMGPYVi_=s41OvRn6t=sw@mail.gmail.com> <D9B2E315-5C7A-4BE9-97A9-AF627F6FD6FF@strayalpha.com> <b5b6498d-b9e7-7d99-ee89-91ab94b64d16@erg.abdn.ac.uk>
To: Gorry Fairhurst <gorry@erg.abdn.ac.uk>
X-Mailer: Apple Mail (2.3654.100.0.2.22)
X-OutGoing-Spam-Status: No, score=-0.5
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/plqWHeICIgGFjZKjp3_9QYRmzKc>
Subject: Re: [tsvwg] A review of draft-ietf-tsvwg-udp-options-12
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: Mon, 14 Jun 2021 18:09:50 -0000

FYI, here’s where this appears to be going for fragments:

- OCS always comes first if present (it’s still optional in the same cases where UDP checksum is optional, e.g., when the entire UDP frame is a payload that is protected by some other layer, e.g., in a tunnel)

- FRAG can always come next if present (OCS still optional, per above), with the following format (moving things around a little to keep 32-bit alignment where possible):

	Kind/8, len = 10 or 12/8
	FRAGSTART/16	= location where the options end and frag data starts
	FRAGID/32
	FRAGOFFSET/16
	(For last frag) FRAGEND/16 = location where options continue after the frag for the final fragment

Other options that apply to that fragment come after this option but before where FRAGSTART points. This effectively puts the info needed for offload in one of two fixed locations (with and without OCS).

The frag data is not scrambled or reordered; it just comes in order as intended. Frag data always goes to the end of the IP packet data area UNLESS its the terminal fragment, in which case FRAGEND points to where post-reassembly UDP options occur.

Would this work?

Joe