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

Gorry Fairhurst <gorry@erg.abdn.ac.uk> Sun, 02 July 2023 20:50 UTC

Return-Path: <gorry@erg.abdn.ac.uk>
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 200FDC151076 for <tsvwg@ietfa.amsl.com>; Sun, 2 Jul 2023 13:50:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, NICE_REPLY_A=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 Y7q4o1ZSYLc3 for <tsvwg@ietfa.amsl.com>; Sun, 2 Jul 2023 13:50:03 -0700 (PDT)
Received: from pegasus.erg.abdn.ac.uk (pegasus.erg.abdn.ac.uk [137.50.19.135]) by ietfa.amsl.com (Postfix) with ESMTP id 3ED84C151071 for <tsvwg@ietf.org>; Sun, 2 Jul 2023 13:50:02 -0700 (PDT)
Received: from [192.168.1.130] (fgrpf.plus.com [212.159.18.54]) by pegasus.erg.abdn.ac.uk (Postfix) with ESMTPSA id 46CFC1B00153; Sun, 2 Jul 2023 21:49:56 +0100 (BST)
Message-ID: <92638f8a-2123-6c5f-8456-c41b9b367e3f@erg.abdn.ac.uk>
Date: Sun, 02 Jul 2023 21:49:55 +0100
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.12.0
To: Christian Huitema <huitema@huitema.net>, Sebastian Moeller <moeller0@gmx.de>, Erik Auerswald <auerswal@unix-ag.uni-kl.de>
Cc: Joe Touch <touch@strayalpha.com>, TSVWG <tsvwg@ietf.org>
References: <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> <CACL_3VG_c-+zqoEhufyLvDqCV1ZkUoS9ZoknxJWwvH2RddOD=A@mail.gmail.com> <8a7a4eb6-aaf2-edb6-8684-09d11f172dd0@erg.abdn.ac.uk> <20230702122842.GA20114@unix-ag.uni-kl.de> <08136480-5692-4B97-BA61-17833DE0E8CF@gmx.de> <05954cd8-a062-9b6c-2743-d15145bc2c8e@huitema.net>
From: Gorry Fairhurst <gorry@erg.abdn.ac.uk>
Organization: UNIVERSITY OF ABERDEEN
In-Reply-To: <05954cd8-a062-9b6c-2743-d15145bc2c8e@huitema.net>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/I9I6b2LoNGiT9Dqmh2-FeU3Auuw>
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: Sun, 02 Jul 2023 20:50:05 -0000

I am unsure I understand this thread: As far as I know, the REQ/RES pair 
is designed to support DPLPMTUD, running over UDP Options.

On 02/07/2023 20:31, Christian Huitema wrote:
>
> On 7/2/2023 6:01 AM, Sebastian Moeller wrote:
>>     [SM] In which case (no immediate response required) this thing 
>> should not be called an echo, as it neither mimics how a real echo 
>> works nor how ICMP echo requests mostly* operate. I note that the REQ 
>> and RES monikers seem fine as they do not contain "echo" once 
>> expanded, but the paragraph text in the draft might be changed if 
>> "delayed/eventual response" is expected as the default mode. And I 
>> think that:
>>     "but no options (including ECHO) ever initiate UDP responses in 
>> the absence of user transmission."
>> pretty much means delayed response is the default.
>
> And I hope that it stays the default! UDP option is by default a clear 
> text protocol. It is very easy for third parties to spoof UDP options 
> requests. We would have a pretty major issue if spoofed packets could 
> generate responses!

UDP Options itself doesn't generate the response, it passes the REQ 
upwards to the protocol that does and that sends the RES option. That 
said, the DLPMTUD for UDP Options ID already has text saying that a RES 
is only generated when DPLPMTUD has been enabled, which amongst other 
things means that the pair of ports has been bound by an application, 
and the application chooses to enable DPLPMTUD, if not, there is no 
response.

>>     For security considerations I want to ask whether it could be 
>> helpful to note in the draft that the REQ option is (considerably) 
>> larger (as expected e.g. for DPLPMTUD probes) than the RES response, 
>> so this mechanism can not be used with spoofed addresses to amplify 
>> an attack but rather attenuate it (at least on the byte volume level)
>
> That too is a major issue. This is 2023, and we have decade of 
> experience with DDOS amplification. We cannot introduce a protocol 
> that facilitate DDOS amplification!

What is the major issue? A REQ is a probe packet of specified size; a 
RES is just an Option with no "probe data" - carried in a single UDP 
datagram or included in a a UDP datagram with some other data sent by 
the remote endpoint.  How is that a major issue?

>
> I think that if such facility remained in the protocol, we would see 
> firewalls programmed to systematically drop any packet carrying UDP 
> options.
>
> -- Christian Huitema
>
Why would this require firewalls to drop a UDP datagram?

Gorry