Re: [tsvwg] I-D Action: draft-ietf-tsvwg-udp-options-21.txt
"touch@strayalpha.com" <touch@strayalpha.com> Sat, 10 June 2023 00:28 UTC
Return-Path: <touch@strayalpha.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 E4349C13AE41 for <tsvwg@ietfa.amsl.com>; Fri, 9 Jun 2023 17:28:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.315
X-Spam-Level:
X-Spam-Status: No, score=-1.315 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_NEUTRAL=0.779, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=strayalpha.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 bsinlrp1ifC9 for <tsvwg@ietfa.amsl.com>; Fri, 9 Jun 2023 17:28:41 -0700 (PDT)
Received: from server217-2.web-hosting.com (server217-2.web-hosting.com [198.54.115.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 03DECC13AE3D for <tsvwg@ietf.org>; Fri, 9 Jun 2023 17:28:40 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=strayalpha.com; s=default; h=To:References:Message-Id:Cc:Date:In-Reply-To: From:Subject:Mime-Version:Content-Type:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=79kUZRXKdhxAIy09qFEevIdZ99sA7X5p8gUC5aNS+EY=; b=RV04nahZugSH0pZB36oA4JEWbR WuLN7BPadxgjTtwfvulCV31ss+T6ZUBmRbWYt1UzAImKzUlvLzYZUnZL+XfZzKLkJ2T2+vhjaCyeZ Wuq6G8b57Ge7HJYpjzc9tX27jZSJ/+V14DE5c8nH3w7l8jmgNqEoXZ4NiExNGvXEkZc/yQVTrkRFl sVBs+mWUYNqNNy0xb5uBv4FjxVLIJ/fhewxHi7rFhwdY940Sd3deRLb6bYkTdk9GieCP4YmXNmr/q IQIY/LGqms4T/1A0gJ5a4TKYF5kHPV8dwq8k6m5iQJoU/H8rYGalG8phTJHT61TJfnWdOGjrK9guB Zhde1Y3w==;
Received: from [172.58.209.100] (port=48767 helo=smtpclient.apple) by server217.web-hosting.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from <touch@strayalpha.com>) id 1q7mT4-0039Qq-TW; Fri, 09 Jun 2023 20:28:39 -0400
Content-Type: multipart/alternative; boundary="Apple-Mail=_D86524DA-5BB4-4EA7-A20B-5CA89D3570AA"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.600.7\))
From: "touch@strayalpha.com" <touch@strayalpha.com>
In-Reply-To: <CALx6S356FvPAav4AAkbpNafD=+hJDCfj0LBXDwD45Vk4VYioeQ@mail.gmail.com>
Date: Fri, 09 Jun 2023 17:28:22 -0700
Cc: tsvwg@ietf.org
Message-Id: <527D7B09-3011-4CBB-8DEB-D4621E59A397@strayalpha.com>
References: <168628341428.60924.1127559055874638238@ietfa.amsl.com> <CALx6S34DGvkdvbmNqD2-1YK=5mXDxvy8NROCUZZgSWxiFLurfQ@mail.gmail.com> <B64DA8BB-F2BE-4847-BE19-1182172F27F6@strayalpha.com> <CALx6S35AkGmRo1u4oxn55w-7dv==AUXT3EKsbMB6a2Zxerps6g@mail.gmail.com> <2D59EEAE-E56A-4C8C-A2D5-4EDF7C534A59@strayalpha.com> <CALx6S37Cyk_SwOHm6dT_jxbtqxuA-1Kk9aN6Fs=rR5SEJMhXYg@mail.gmail.com> <A5427E6C-C773-4B67-9F57-56BF8CC2AE0D@strayalpha.com> <CALx6S356FvPAav4AAkbpNafD=+hJDCfj0LBXDwD45Vk4VYioeQ@mail.gmail.com>
To: Tom Herbert <tom@herbertland.com>
X-Mailer: Apple Mail (2.3731.600.7)
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - server217.web-hosting.com
X-AntiAbuse: Original Domain - ietf.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - strayalpha.com
X-Get-Message-Sender-Via: server217.web-hosting.com: authenticated_id: touch@strayalpha.com
X-Authenticated-Sender: server217.web-hosting.com: touch@strayalpha.com
X-Source:
X-Source-Args:
X-Source-Dir:
X-From-Rewrite: unmodified, already matched
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/6NYM7vBssMZH0kW2G8EkYihV2RQ>
Subject: Re: [tsvwg] I-D Action: draft-ietf-tsvwg-udp-options-21.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: Sat, 10 Jun 2023 00:28:45 -0000
... > On Jun 9, 2023, at 4:33 PM, Tom Herbert <tom@herbertland.com> wrote: > > On Fri, Jun 9, 2023 at 3:58 PM touch@strayalpha.com > <touch@strayalpha.com> wrote: >> >> Cutting to the chase… >> >>> On Jun 9, 2023, at 3:24 PM, Tom Herbert <tom@herbertland.com> wrote: >>>> ... >>>> >> >> * >>>> There ARE good reasons a source might send more than N (for any N) SAFE options that a receiver might not support - and to do so repeatedly. >>> >>> Really? From the draft: >>> >>>>> Each option SHOULD NOT occur more than once in a single UDP >>> datagram, the only exceptions being NOP, EXP, and UEXP. If an option >>> other than these occurs more than once, a receiver MUST interpret >>> only the first instance of that option and MUST ignore all others. >> >> The same option multiple times is NOT the same thing as many different options (the latter is what I refer to at the “*”) >> >>> So if an option is received more than once is ignored, how is that >>> possibly useful? >> >> It isn’t, but it isn’t necessarily an attack either. > > Then what is it? An implementation bug on the sender? Either way, > these cause the receiver to consume power and burn resources without > beneficial effect. Receive one of these in a packet then it's in the > noise, receive a bunch of packets with 300 of these in each packet > then by any logic that's a Denial of Service Attack. 300 in each packet, maybe. 10? 20? What’s the threshold? There isn’t one - nor should there be. And same for “a bunch of packets”. So yes, like any protocol, there are ways to abuse it. We can mention that in the security section, but should NOT proscribe specific ways or thresholds that aren’t inherently part of the protocol (e.g., 40 bytes for TCP options - which even that is being extended). > ... > Every standard track protocol requires security considerations, and > DDOS is a security issue. Yes, it can and should be discussed. > Also note, that the protocol is CREATING the > DOS vector, The default is already that UDP options are off unless a user turns them on. > so it's incumbent on the creators to provide solutions for > mitigating that. There are known solutions - but we should NOT be indicating specific thresholds because they WILL become baked into implementations. >> ... >> This is a USER protocol. Let the USER decide. > > Let the USER decide WHAT? How many unknown options inside a single packet or how many such packets are an attack. Yes, we can talk about that, but NO, we should not say 22 is bad but 21 is OK unless we have a specific reason to pick those numbers. > This is why RFC8504 style limits are useful; They’ve basically killed IPv6 options - without actually having the hurdle of being an actual update to the standard. It’s not OK to tell everyone they “MAY ignore a single header option: A host MAY disallow unknown options in destination options or hop-by-hop options. Doing that gives permission for everyone to stop supporting it: It’s not OK to say: A host MAY impose a limit on the maximum number of non-padding options allowed in the destination options and hop-by-hop extension headers. If this feature is supported, the maximum number SHOULD be configurable, and the default value SHOULD be set to 8. The problem with that statement is it ought to have updated RFC8200 to say “IPv6 packets MUST NOT use more than 8 options”, because that’s the net effect. In our case, we can add: - A host MAY impose a limit on the max number of options in a UDP packet. - A host MAY also impose a separate limit on the max number of unknown options in a UDP packet BUT: - A host MUST NOT impose these limits by default. Any such limits MUST be activated only after a threshold that combines the number of offending options AND significant repeated attempts to use those options in multiple packets. This document does not indicate a specific such limit. Joe
- [tsvwg] I-D Action: draft-ietf-tsvwg-udp-options-… internet-drafts
- Re: [tsvwg] I-D Action: draft-ietf-tsvwg-udp-opti… Tom Herbert
- Re: [tsvwg] I-D Action: draft-ietf-tsvwg-udp-opti… touch@strayalpha.com
- Re: [tsvwg] I-D Action: draft-ietf-tsvwg-udp-opti… Tom Herbert
- Re: [tsvwg] I-D Action: draft-ietf-tsvwg-udp-opti… touch@strayalpha.com
- Re: [tsvwg] I-D Action: draft-ietf-tsvwg-udp-opti… Tom Herbert
- Re: [tsvwg] I-D Action: draft-ietf-tsvwg-udp-opti… touch@strayalpha.com
- Re: [tsvwg] I-D Action: draft-ietf-tsvwg-udp-opti… Tom Herbert
- Re: [tsvwg] I-D Action: draft-ietf-tsvwg-udp-opti… touch@strayalpha.com
- Re: [tsvwg] I-D Action: draft-ietf-tsvwg-udp-opti… Tom Herbert
- Re: [tsvwg] I-D Action: draft-ietf-tsvwg-udp-opti… touch@strayalpha.com