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

Tom Herbert <tom@herbertland.com> Wed, 06 March 2024 05:38 UTC

Return-Path: <tom@herbertland.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 CE635C151075 for <tsvwg@ietfa.amsl.com>; Tue, 5 Mar 2024 21:38:26 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.105
X-Spam-Level:
X-Spam-Status: No, score=-2.105 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_NONE=-0.0001, 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 (2048-bit key) header.d=herbertland.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 do4rP_J9Xz2Q for <tsvwg@ietfa.amsl.com>; Tue, 5 Mar 2024 21:38:23 -0800 (PST)
Received: from mail-ed1-x531.google.com (mail-ed1-x531.google.com [IPv6:2a00:1450:4864:20::531]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id F211BC14F736 for <tsvwg@ietf.org>; Tue, 5 Mar 2024 21:38:22 -0800 (PST)
Received: by mail-ed1-x531.google.com with SMTP id 4fb4d7f45d1cf-566adfeced4so6841072a12.1 for <tsvwg@ietf.org>; Tue, 05 Mar 2024 21:38:22 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=herbertland.com; s=google; t=1709703501; x=1710308301; darn=ietf.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=mCxtuD4EoFOMqu9xObDM+7X8X/+D/ZKb7es4CSLdIc4=; b=XXiuIsHvkKMknnbTpMUjcx8h036hogZDXdz78U/14HI65PVFKnb6VhOKgMsUVAFTQ3 35nCoRzOK1e/39YZwaYycSrAnhM+QJOj6qfii2mRdsBE0bGatX3CGqs9zNiPbZTFVf3a 7BQ9UCpl5k9lJJu67zaHQ3bS+B1IatDx0eyTgbLcGxdFJAu6MfCSWjRaToOMeQsFUV5g egcACEvxDQCTTcOeuehqJIjqPUqgcr86iVnBlAovJiaX1H8tHAw76DTMpHIIWHhzMwI/ Jv8A8pnit5jH87vg0BCqdDDinvMGxhgxhmjF3sHzymTvS0pQAnErv04S+nfyoFwrRzfr sHfQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709703501; x=1710308301; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=mCxtuD4EoFOMqu9xObDM+7X8X/+D/ZKb7es4CSLdIc4=; b=mGIr8oF+AR/T/hnLymxC7N9FtrStTmfVkQZUSz6Euc3ot4UuNRkvJoN1inS9x8f8gr BNEF/hyXN4aA+OuyyjIQCH9WX1BBt92wR7CvhT+FewbtDO8vqmr/YSUpJW7zeAyiKsP5 LQ90aXXfsbAsfQAG4ohaoU/fT/mIPwOzLOZuXhzUXkeiJZR0/Ugo4eSbNh72V1C9pD2D tUQdgpPKMib2u+Adxu8hDA65jqQclzT5el0gDNekp3klDO5vw+dEdHLOzqUH1Lr64l08 f2TvavTg16OVDkxKSTcFpRXDLAWrppMQfFNkztpwabEygRdGair7FpsFakFhEUkp1rKA Y0uQ==
X-Gm-Message-State: AOJu0YwwTORc9wJ80eEYyl/1zXJC5PClT7qIk7vqmIcYpmVYFaaMkxW7 Wg4qkf+2RcvLa7MqhnGofeTrbWXTruFWQXgEH9+K0SfkMbeACgIK7Gmu6ZCWiVWXQs4tDX5unfU UJFCASomCXtsvPAHtHJFV/P/EnjvKNqHZsWzUd0eqh4Z+r3Q=
X-Google-Smtp-Source: AGHT+IEhnSI9pZitQBqHEkHpE/3bu7+HBBVpz7iC1I9pqyJHhTfo6suU2sxMW60q4DK5g25m+S9tDWBg4Rzx6wC2OY8=
X-Received: by 2002:a05:6402:1053:b0:564:d715:1d67 with SMTP id e19-20020a056402105300b00564d7151d67mr9723375edu.17.1709703501204; Tue, 05 Mar 2024 21:38:21 -0800 (PST)
MIME-Version: 1.0
References: <170959656644.33419.9287184380133878464@ietfa.amsl.com> <CALx6S36KofxYq1H1iiUG-rSgEAZ+XSqB4S5A_9jaRbUMUy_wEg@mail.gmail.com> <CACL_3VFnTweiisfWw=Kz+ju_O6GbxHTzVanuASjkX9N9FZuemA@mail.gmail.com>
In-Reply-To: <CACL_3VFnTweiisfWw=Kz+ju_O6GbxHTzVanuASjkX9N9FZuemA@mail.gmail.com>
From: Tom Herbert <tom@herbertland.com>
Date: Tue, 05 Mar 2024 21:38:09 -0800
Message-ID: <CALx6S37S61eKrPTefdBTKfw=BoV31_C4nwadP+QxrctfduF0iw@mail.gmail.com>
To: "C. M. Heard" <heard@pobox.com>
Cc: TSVWG <tsvwg@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000dc6bf20612f75d21"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/N5DuBV1nNrjdXP1gdsO4LVQqGmU>
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 05:38:26 -0000

On Tue, Mar 5, 2024, 8:22 PM C. M. Heard <heard@pobox.com> wrote:

> 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.
>

If that's the case, wouldn't it be easier to just advise the developers of
these handful of protocols like TFTP to not send APC, instead of making it
the default for all receivers to ignore APC on the off chance that they
might hit one legitimate case in all their traffic?

Tom




> Mike Heard
>