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

"touch@strayalpha.com" <touch@strayalpha.com> Wed, 14 June 2023 02:34 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 4F5B4C14F736; Tue, 13 Jun 2023 19:34:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.316
X-Spam-Level:
X-Spam-Status: No, score=-1.316 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_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 dhokybDEZZ4w; Tue, 13 Jun 2023 19:34:33 -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 A1902C1516EA; Tue, 13 Jun 2023 19:34:33 -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=Bde4+Mxazm8F3xa/ZlCqXYvEW7HAy74tem83MpsG76U=; b=bFjf9CKbntFweP8TmAj/okYeAq vwpDPgKj4tVYYiHnIOSDVKY3lbxRt2odv60G1prMxSoEQsrqgw5ZlFudz3tDiFwapPbFsoIBBGbpx ztihuRBKFXf/I0v/TPJY6HRlLIpLBLSV23mA8RDJlKPPrhK0T1LqXUB0gLUTHuxAJSZ/KtLVK8gEU P/LoRIgAxM9XA+RReHJKcjEairil08FmOAqoTyUWrYoNXI/uUb4Dxyf6Y9F/wotXJLRF6Fwn4H6fZ oZKDDgoqb9axeKfgEx+w9PIIrWGbG3j/oTKrEw4b5LZL2+1iRGhd83lbSfLkuBmTz8xos5p+2KmkT CKJzeVXQ==;
Received: from static-47-176-8-47.lsan.ca.frontiernet.net ([47.176.8.47]:65314 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 1q9GL4-00GFiR-GQ; Tue, 13 Jun 2023 22:34:31 -0400
Content-Type: multipart/alternative; boundary="Apple-Mail=_168BB543-CF3F-4BD8-AC99-8416A583C812"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.600.7\))
From: "touch@strayalpha.com" <touch@strayalpha.com>
In-Reply-To: <CALx6S3574S-GVuT4=W3PfXOjyKOpGTw_uKSdp1pGMa0EStKuZQ@mail.gmail.com>
Date: Tue, 13 Jun 2023 19:34:15 -0700
Cc: tsvwg IETF list <tsvwg@ietf.org>, i-d-announce@ietf.org
Message-Id: <903D0F56-EEAE-4081-8365-A514D957B6F1@strayalpha.com>
References: <168636765932.60931.17876556014123415544@ietfa.amsl.com> <CALx6S3574S-GVuT4=W3PfXOjyKOpGTw_uKSdp1pGMa0EStKuZQ@mail.gmail.com>
To: Tom Herbert <tom=40herbertland.com@dmarc.ietf.org>
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/qjqpogcPmxnwATIfbfNVgYgOUBI>
Subject: Re: [tsvwg] I-D Action: draft-ietf-tsvwg-udp-options-22.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, 14 Jun 2023 02:34:38 -0000

Hi, Tom,

Text was there so the result was unambiguous; I agree, it’d be better treating it as malformed and halting option processing (while passing the user data up, if any - same as any other malformed option set).

Do we want to add similar treatment for multiple copies of experimental options with the same ExIDs?

Joe

—
Dr. Joe Touch, temporal epistemologist
www.strayalpha.com

> On Jun 13, 2023, at 3:59 PM, Tom Herbert <tom=40herbertland.com@dmarc.ietf.org> wrote:
> 
> Form the draft:
> 
> "If an option other than these occurs more than once, a receiver MUST
> interpret other than these occurs more than once, a receiver MUST
> interpret
> only the first instance of that option and MUST ignore all others."
> 
> I don't think this is a preferred behavior. Since all options after
> the first are ignored, I don't see how any useful work can be done by
> sending the same option to more than once. Furthermore, a sender would
> KNOW that multiple instances of the same option would always be
> ignored, and I don't see any other purpose for doing that than DOS
> attack. Note that ignoring repeated options is not processing cost, in
> this case it's actually fairly involved since we need to have a
> conditional check and probably set a bitmap for every option.
> 
> I think the behavior should either be to process all the copies of the
> option (repeated occurrences of the same option might be deemed useful
> someday), or treat a repeated options as malformed UDP options
> 
> Tom
> 
> 
> On Fri, Jun 9, 2023 at 8:28 PM <internet-drafts@ietf.org> wrote:
>> 
>> 
>> A New Internet-Draft is available from the on-line Internet-Drafts
>> directories. This Internet-Draft is a work item of the Transport Area Working
>> Group (TSVWG) WG of the IETF.
>> 
>>   Title           : Transport Options for UDP
>>   Author          : Joe Touch
>>   Filename        : draft-ietf-tsvwg-udp-options-22.txt
>>   Pages           : 44
>>   Date            : 2023-06-09
>> 
>> Abstract:
>>   Transport protocols are extended through the use of transport header
>>   options. This document extends UDP by indicating the location,
>>   syntax, and semantics for UDP transport layer options.
>> 
>> The IETF datatracker status page for this Internet-Draft is:
>> https://datatracker.ietf.org/doc/draft-ietf-tsvwg-udp-options/
>> 
>> There is also an htmlized version available at:
>> https://datatracker.ietf.org/doc/html/draft-ietf-tsvwg-udp-options-22
>> 
>> A diff from the previous version is available at:
>> https://author-tools.ietf.org/iddiff?url2=draft-ietf-tsvwg-udp-options-22
>> 
>> Internet-Drafts are also available by rsync at rsync.ietf.org::internet-drafts
>> 
>> 
>