[tsvwg] Resolving UDP Options Issue #52

"C. M. Heard" <heard@pobox.com> Mon, 05 August 2024 21:58 UTC

Return-Path: <heard@pobox.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 2857EC151545; Mon, 5 Aug 2024 14:58:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.106
X-Spam-Level:
X-Spam-Status: No, score=-7.106 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_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, 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 (1024-bit key) header.d=pobox.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 06uuXg6wkSip; Mon, 5 Aug 2024 14:58:34 -0700 (PDT)
Received: from pb-smtp2.pobox.com (pb-smtp2.pobox.com [64.147.108.71]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0A096C15106B; Mon, 5 Aug 2024 14:58:34 -0700 (PDT)
Received: from pb-smtp2.pobox.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id 7B0C626F3B; Mon, 5 Aug 2024 17:58:31 -0400 (EDT) (envelope-from heard@pobox.com)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=pobox.com; h= mime-version:references:in-reply-to:from:date:message-id:subject :to:cc:content-type; s=sasl; bh=s9+pY2FP2Tkv4/niDOehkhmh2lhnBSez RGY0sYZ/JA8=; b=LEZDhPD87Gb+5lqAfEPTa+oNuOEfDA7BOWXpQJ4vr593P+BL xQ+yNzRhWO44giP64KLmjGe9/9Wk3BxcAQ20mOxcd8daF5ulq/PU1Z1P+hXmOz6l YigpQCHJDNHtqOAw/lr3mxv6NY6CZuHPI8hcbJRe201mowTz8CGT57YYEsI=
Received: from pb-smtp2.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id 73DCD26F3A; Mon, 5 Aug 2024 17:58:31 -0400 (EDT) (envelope-from heard@pobox.com)
Received: from mail-lf1-f50.google.com (unknown [209.85.167.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pb-smtp2.pobox.com (Postfix) with ESMTPSA id CEA8F26F37; Mon, 5 Aug 2024 17:58:30 -0400 (EDT) (envelope-from heard@pobox.com)
Received: by mail-lf1-f50.google.com with SMTP id 2adb3069b0e04-52efd08e6d9so232284e87.1; Mon, 05 Aug 2024 14:58:30 -0700 (PDT)
X-Gm-Message-State: AOJu0YzaNS+fbzoi0nXlF4/IanBQMleiqXvd/BN3NopmKQobBtN7G5OR OUODzltqb2lNChPWlTq1RxBK4RJ3x5xkGi6pbeYJ31WTDufpuSi36QZ1GZXv1X9JIPf2s3lNrM+ 4voEWXdO8OgX4sDzNYzGFAn+/GfA=
X-Google-Smtp-Source: AGHT+IHhoIlSXCFz67Vq9QUViyMFU31VT+OkIxyLOLADSkIZkMiUexDSV/o1XB7OtFxUCMUojiqiCvHwtJseCpSsmlg=
X-Received: by 2002:a05:6512:6c8:b0:52c:dc6f:75a3 with SMTP id 2adb3069b0e04-530bb3d42d4mr9821892e87.40.1722895109642; Mon, 05 Aug 2024 14:58:29 -0700 (PDT)
MIME-Version: 1.0
References: <CAM4esxSpwRF5E3Xc_hotgvCSdKVe4BY_zRUKAzHvW48JEtWqTA@mail.gmail.com> <CACL_3VFieMviT7vQ=1u2gVFs4miecnQWS6ky_pFdUWRMxzp9Ww@mail.gmail.com>
In-Reply-To: <CACL_3VFieMviT7vQ=1u2gVFs4miecnQWS6ky_pFdUWRMxzp9Ww@mail.gmail.com>
From: "C. M. Heard" <heard@pobox.com>
Date: Mon, 05 Aug 2024 14:58:18 -0700
X-Gmail-Original-Message-ID: <CACL_3VF9RJuh_CBt4gN9YVBN=C2t+xWoPsXAEhsyMs3d68qT7g@mail.gmail.com>
Message-ID: <CACL_3VF9RJuh_CBt4gN9YVBN=C2t+xWoPsXAEhsyMs3d68qT7g@mail.gmail.com>
To: TSVWG <tsvwg@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000feec49061ef6c64d"
X-Pobox-Relay-ID: DA2F9E5C-5375-11EF-8345-9B0F950A682E-06080547!pb-smtp2.pobox.com
Message-ID-Hash: OTMYSH35QFJIDRVAKHGIT422AM7APQIC
X-Message-ID-Hash: OTMYSH35QFJIDRVAKHGIT422AM7APQIC
X-MailFrom: heard@pobox.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-tsvwg.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: draft-ietf-tsvwg-udp-options.all@ietf.org
X-Mailman-Version: 3.3.9rc4
Precedence: list
Subject: [tsvwg] Resolving UDP Options Issue #52
List-Id: Transport Area Working Group <tsvwg.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/YHqTpgGysV2nnxYltQQ9Gi5Nsrw>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tsvwg>
List-Help: <mailto:tsvwg-request@ietf.org?subject=help>
List-Owner: <mailto:tsvwg-owner@ietf.org>
List-Post: <mailto:tsvwg@ietf.org>
List-Subscribe: <mailto:tsvwg-join@ietf.org>
List-Unsubscribe: <mailto:tsvwg-leave@ietf.org>

Greetings,

By way of background:

On Tue, Apr 2, 2024 at 2:23 PM Martin Duke wrote:

> (11.4) 2 fragments/3000 bytes as a minimum will work, of course, but it
> seems like an odd number. This seems to be related to the canonical 1500B
> MTU, but that would imply that 2 fragments would be 2926 for IPv4 and 2886
> in IPv6, if my math is correct. (To be clear, I can live with 3000)
>

Note that Section 11.6 currently requires that endpoints MUST support a
local MRDS size of at least 3,000 bytes.

I opened Issue #52
<https://github.com/tsvwg/draft-ietf-tsvwg-udp-options/issues/52> on April
22, 2024 to address this comment, with a proposal to change the limit from
3,000 bytes to 2,926 bytes. While trying to craft suitable text, discussion
with the author revealed the following problem: if an endpoint advertises
either the proposed value (2,926 byes) or the current one (3,000 bytes) in
the MRDS option, then* more than two fragments* will be required to send a
(pre-fragmentation or post-reassembly) packet of that size, even if the MTU
is 1,500 bytes (which is likely maximum outside data centers). And none of
the three values (2,886, 2,926, or 3,000) would work if we are using IPv6
and the MTU is the statutory minimum of 1,280 bytes. Indeed, in the latter
case, I get a maximum reassembled UDP packet size of 2,446 bytes if only
two fragments are supported. That seems to me to be rather small.

I would like to propose instead that we specify that an implementation must
support a minimum of 3 fragments and a minimum reassembled size of 3,600
bytes. This fits nicely with the 1,280 byte minimum MTU over IPv6, allowing
for a total of 66 bytes of extra overhead (e.g., 22 bytes of per-fragment
UDP options in each fragment). If the MTU is larger, as is typically the
case, one of the three fragments would not be full size, which is not a
problem.

I would appreciate hearing from the WG whether this change would be
acceptable.

Feel free to comment on the list or on github
<https://github.com/tsvwg/draft-ietf-tsvwg-udp-options/issues/52>.

Thanks and regards,

Mike Heard