Re: [tsvwg] I-D Action: draft-ietf-tsvwg-udp-options-31.txt

"C. M. Heard" <heard@pobox.com> Wed, 06 March 2024 04:22 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 321DFC14F618 for <tsvwg@ietfa.amsl.com>; Tue, 5 Mar 2024 20:22:53 -0800 (PST)
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, 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_BLOCKED=0.001, 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 R3tH4etobRKk for <tsvwg@ietfa.amsl.com>; Tue, 5 Mar 2024 20:22:49 -0800 (PST)
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 25C96C14F60F for <tsvwg@ietf.org>; Tue, 5 Mar 2024 20:22:48 -0800 (PST)
Received: from pb-smtp2.pobox.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id CCA9C1D345D for <tsvwg@ietf.org>; Tue, 5 Mar 2024 23:22:47 -0500 (EST) (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:content-transfer-encoding; s=sasl; bh=BtU2ni YnmHA9s6vRxnZdlg0WDYCtvbp4gw7GM9Y2lfg=; b=RO9jxCPgNEIIzDX5TJN8Yb OEhbOCleX9xUOzltLzr2M2m0qt+Wq7es7Rqa2Lia8qDI0H6pE+ypXUvyXan2qo35 d3wAxv/SQvGO+cRn5qwj4Q/zL5DCiYXyyJkd9n+Vi5Y9AzZh5m16100IvbMH+L5P T/l8Pu6yCg7bg8RCye6MI=
Received: from pb-smtp2.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id B573A1D345C for <tsvwg@ietf.org>; Tue, 5 Mar 2024 23:22:47 -0500 (EST) (envelope-from heard@pobox.com)
Received: from mail-lj1-f173.google.com (unknown [209.85.208.173]) (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 122391D345A for <tsvwg@ietf.org>; Tue, 5 Mar 2024 23:22:47 -0500 (EST) (envelope-from heard@pobox.com)
Received: by mail-lj1-f173.google.com with SMTP id 38308e7fff4ca-2d3f4fef377so6606641fa.1 for <tsvwg@ietf.org>; Tue, 05 Mar 2024 20:22:46 -0800 (PST)
X-Gm-Message-State: AOJu0YyFqo3RAM8nBcvdqH29SDDFaE8h5FwcQB5NCAZJuS1cBELEhDaw ZzzjborcgS4xgj0Etua38YTHg6xTDV4g/pu59R1LMuODUCD/+Y9/LGYQAIC/2s+LqbQ38Ybur3p pvJE2B95H62fHWV6cKKvd/egJEfo=
X-Google-Smtp-Source: AGHT+IGZACy7mqahn85vDJf2XcDEPL/AVn4pJj9UPqP8ktY1gu1E8dTK3giJ2dmf5j7BIWn+eiQOFAVr3WgYNPkfyyg=
X-Received: by 2002:a2e:b0c5:0:b0:2d2:d9b2:b310 with SMTP id g5-20020a2eb0c5000000b002d2d9b2b310mr2422253ljl.47.1709698965640; Tue, 05 Mar 2024 20:22:45 -0800 (PST)
MIME-Version: 1.0
References: <170959656644.33419.9287184380133878464@ietfa.amsl.com> <CALx6S36KofxYq1H1iiUG-rSgEAZ+XSqB4S5A_9jaRbUMUy_wEg@mail.gmail.com>
In-Reply-To: <CALx6S36KofxYq1H1iiUG-rSgEAZ+XSqB4S5A_9jaRbUMUy_wEg@mail.gmail.com>
From: "C. M. Heard" <heard@pobox.com>
Date: Tue, 05 Mar 2024 20:22:34 -0800
X-Gmail-Original-Message-ID: <CACL_3VFnTweiisfWw=Kz+ju_O6GbxHTzVanuASjkX9N9FZuemA@mail.gmail.com>
Message-ID: <CACL_3VFnTweiisfWw=Kz+ju_O6GbxHTzVanuASjkX9N9FZuemA@mail.gmail.com>
To: Tom Herbert <tom@herbertland.com>
Cc: TSVWG <tsvwg@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Pobox-Relay-ID: 2F9177F8-DB71-11EE-AC5B-25B3960A682E-06080547!pb-smtp2.pobox.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/Luo-CdAbjk9o6gBCac5A9dUN0RA>
Subject: Re: [tsvwg] I-D Action: draft-ietf-tsvwg-udp-options-31.txt
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: Wed, 06 Mar 2024 04:22:53 -0000

On Tue, Mar 5, 2024 at 5:57 PM Tom Herbert wrote:
> I don't understand the intent of this new text:
>
> "Another reason is because APC may fail even where the user data has
> not been corrupted, such as when its contents have been overwritten.
> Such overwrites could be intentional and not widely known; defaulting
> to silent ignore ensures that option-aware endpoints do not change how
> users or applications operate unless explicitly directed to do
> otherwise."

I had a similar question and commented on that when closing Issue #25.

See https://github.com/tsvwg/draft-ietf-tsvwg-udp-options/issues/25#issuecomment-1977823570
and https://github.com/tsvwg/draft-ietf-tsvwg-udp-options/issues/25#issuecomment-1977982512

The gist is that middleboxes have been known to overwrite embedded IP
addresses and ports. In that case the middlebox could reasonably be
expected to update the UDP checksum, but an implementation that predates
the specification of APC could not be expected to update it. I see that
a clarification is forthcoming in -32, but we are now past the I-D
submission cutoff date, so it won't appear for a couple of weeks.

> I am not familiar with any IETF protocol that allows UDP payload to be
> updated in flight. In fact, RFC7605 states that UDP port numbers
> cannot be correctly interpreted in the network, so there is no way to
> implement a robust protocol that changes UDP payload inflight. Because
> of this, an intermediate node that is overwriting the UDP payload *is*
> in fact corrupting the UDP payload. So this new provision is seemingly
> accommodating this non-standard, potentially harmful behavior as the
> default.

There are middleboxes that are known to rewrite the embedded IP
addresses in FTP. That's not endorsed by any standard, but it's
a fact of life that we live with. And I see that Dan Wing has named
some UDP-based protocols that do this, too.

Mike Heard