Re: [tsvwg] Remaining issues for draft-ietf-tsvwg-udp-options-22

"C. M. Heard" <heard@pobox.com> Sat, 01 July 2023 21:40 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 BF375C151524 for <tsvwg@ietfa.amsl.com>; Sat, 1 Jul 2023 14:40:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.096
X-Spam-Level:
X-Spam-Status: No, score=-2.096 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_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-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 8C_jito0pgvS for <tsvwg@ietfa.amsl.com>; Sat, 1 Jul 2023 14:40:07 -0700 (PDT)
Received: from pb-smtp21.pobox.com (pb-smtp21.pobox.com [173.228.157.53]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 25002C151989 for <tsvwg@ietf.org>; Sat, 1 Jul 2023 14:40:06 -0700 (PDT)
Received: from pb-smtp21.pobox.com (unknown [127.0.0.1]) by pb-smtp21.pobox.com (Postfix) with ESMTP id C0D123E8D6 for <tsvwg@ietf.org>; Sat, 1 Jul 2023 17:40:00 -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=MomhW+VVMIoqAK+kuzaw+RXTOFoPUA7H xlF71S/Pxcc=; b=OgPLyIEpoN7g8Jl1YBOU9RyDYLoZUiv0iSR/fk8qL8pGOLtV sCQXdgZELRnXfyru8YkTJpgxYCn2BnM4UW/5HPXegOYXnO7LRKGDF8e39DCJ8KaO of/gbdXGSVQH4YcuMKLJdAOPgzL7WW8kWiNVDA4+sBXxV+Z14fO+/8TrncE=
Received: from pb-smtp21.sea.icgroup.com (unknown [127.0.0.1]) by pb-smtp21.pobox.com (Postfix) with ESMTP id B63833E8D5 for <tsvwg@ietf.org>; Sat, 1 Jul 2023 17:40:00 -0400 (EDT) (envelope-from heard@pobox.com)
Received: from mail-wm1-f50.google.com (unknown [209.85.128.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pb-smtp21.pobox.com (Postfix) with ESMTPSA id 7293B3E8D4 for <tsvwg@ietf.org>; Sat, 1 Jul 2023 17:39:57 -0400 (EDT) (envelope-from heard@pobox.com)
Received: by mail-wm1-f50.google.com with SMTP id 5b1f17b1804b1-3fbc5d5742bso25313705e9.2 for <tsvwg@ietf.org>; Sat, 01 Jul 2023 14:39:57 -0700 (PDT)
X-Gm-Message-State: AC+VfDzNB/HL7YZhses2bC6GEub7y05doycAjEkSUlCqAzEOnjmJPYHC WecXQzeE/mE5mVA2UD9OMJGHTJIB1RqIHnfWqFw=
X-Google-Smtp-Source: ACHHUZ5xoaa5R6kdOp2EkxKL8mjyQUuL6KmF63KF4eDsY4Dzd3msamneeJcqR172fEz2ZE2Ba5WOEE5AC/tiFUxeyVk=
X-Received: by 2002:a7b:c39a:0:b0:3fa:9e61:19ed with SMTP id s26-20020a7bc39a000000b003fa9e6119edmr4671307wmj.23.1688247595345; Sat, 01 Jul 2023 14:39:55 -0700 (PDT)
MIME-Version: 1.0
References: <79CA7F65-335D-4A93-8BBE-9E4FAFCC6D2C@gmx.de> <FA4064D9-D37D-4590-BB77-2F2C37421BDC@strayalpha.com> <6E04EE05-2E36-4B3A-ABB4-A4E22B233B50@gmx.de> <CACL_3VFNHVLc89BO_n12gKid6p0Y2tJ+-ThB0x_wGkMCMnSESA@mail.gmail.com> <14F6EC62-311B-46B3-8B80-7263345BCB80@gmx.de> <CACL_3VH4Zw_vVudO5WiFrD7AC5JhHXiSWfhW5Wu5O7W_rBYfMA@mail.gmail.com> <026B4018-4F96-49B4-B73A-E7F33FEE8A15@gmx.de> <CACL_3VEw4koyJSX3xA3UJ1Vikg+F9PPw1G030jQPHhZdoOETSA@mail.gmail.com> <d34aa821-207d-78eb-ead2-e2d918939dcf@erg.abdn.ac.uk> <20230629162807.GA8600@unix-ag.uni-kl.de> <20230701204510.GA29872@unix-ag.uni-kl.de>
In-Reply-To: <20230701204510.GA29872@unix-ag.uni-kl.de>
From: "C. M. Heard" <heard@pobox.com>
Date: Sat, 01 Jul 2023 14:39:41 -0700
X-Gmail-Original-Message-ID: <CACL_3VG_c-+zqoEhufyLvDqCV1ZkUoS9ZoknxJWwvH2RddOD=A@mail.gmail.com>
Message-ID: <CACL_3VG_c-+zqoEhufyLvDqCV1ZkUoS9ZoknxJWwvH2RddOD=A@mail.gmail.com>
To: Erik Auerswald <auerswal@unix-ag.uni-kl.de>
Cc: TSVWG <tsvwg@ietf.org>, Joe Touch <touch@strayalpha.com>, Gorry Fairhurst <gorry@erg.abdn.ac.uk>
Content-Type: multipart/alternative; boundary="00000000000036adcd05ff73c626"
X-Pobox-Relay-ID: D2E9F6A6-1857-11EE-AF73-B31D44D1D7AA-06080547!pb-smtp21.pobox.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/xp_vqkOVMAdgJf118HWX6l-cuqU>
Subject: Re: [tsvwg] Remaining issues for draft-ietf-tsvwg-udp-options-22
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: Sat, 01 Jul 2023 21:40:11 -0000

On Sat, Jul 1, 2023 at 1:45 PM Erik Auerswald wrote:
> On Thu, Jun 29, 2023 at 06:28:07PM +0200, Erik Auerswald wrote:
> > On Mon, Jun 26, 2023 at 10:03:00AM +0100, Gorry Fairhurst wrote:
> > * Section 22: The second to last paragraph on page 35 states that
> >   "no options (including ECHO) ever initiate UDP responses in the
> >   absence of user transmission."  I think "ECHO" means "REQ", but
> >   draft-ietf-tsvwg-udp-options-dplpmtud-08 allows for REQ to create
> >   responses without use data, specifically when DPLPMTUD is implemented
> >   inside the "Packetization Layer of UDP Options".  This seems to be
> >   inconsistent.
>
> The description of REQ and RES in section 9.7 does not mention that the
> RES option is only to be sent if some other data is to be sent anyway.
> To the contrary, the description
>
>   "The echo request (REQ, Kind=6) and echo response (RES, Kind=7)
>    options provide a means for UDP options to be used to provide UDP
>    packet-level acknowledgements."
>
> seems to suggest that RES is sent as an acknowledgement when there would
> be none otherwise.  Today, request-response protocols use the receipt
> of the response as acknowledgement for the receipt of the request by
> the receiver (e.g., DNS and RADIUS do this).  The additional capability
> REQ and RES options could provide would be to elicit a response when
> there would be none otherwise.  This is definitely the assumption made
> for DPLPMTUD implemented in the "UDP Options Packetization Layer" (as
> opposed to the application) in draft-ietf-tsvwg-udp-options-dplpmtud-09.

Good catch.

I did actually flag the issue with the Security Considerations in
https://mailarchive.ietf.org/arch/msg/tsvwg/ocDWz4jWZdqVP6CTuAhsBXer2Bc/:

=======================================================================
In draft-ietf-tsvwg-udp-options-22 Section 22, 3rd paragraph, we see:

   UDP options create new potential opportunities for DDOS attacks,
   notably through the use of fragmentation. Except when enabled, UDP
   options cause no additional work at the receiver. At most, the
   required options (if enabled) result in a responding option in the
   next transmitted packet, but no options (including ECHO) ever
   initiate UDP responses in the absence of user transmission.

Corrected:

   UDP options create new potential opportunities for DDOS attacks,
   notably through the use of fragmentation. When enabled, UDP options
   may cause some additional work at the receiver; however, of the
   must-support options, only REQ (when used on a DLPMTUD probe [Fa22])
   will initiate a UDP response in the absence of a user transmission.

Note that [Fa22] needs to be updated to [Fa23].

This comment was made originally against -19 on 27-Jan-2023 but was not
addressed.
=======================================================================

However, I didn't mention the need to bring this up in Section 9.7

Perhaps a reference to the last paragraph in Section 6 of
draft-ietf-tsvwg-udp-options-dplpmtud would help. See

https://datatracker.ietf.org/doc/html/draft-ietf-tsvwg-udp-options-dplpmtud#name-examples-with-different-rec

I think this applies no matter whether DLPMTUD is implemented within
the UDP transport service or by an upper layer protocol or application.

Mike Heard