Re: [tcpm] Catalog approach for syn option aggregation draft

rs.ietf@gmx.at Fri, 07 July 2023 17:14 UTC

Return-Path: <rs.ietf@gmx.at>
X-Original-To: tcpm@ietfa.amsl.com
Delivered-To: tcpm@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B61B4C151999 for <tcpm@ietfa.amsl.com>; Fri, 7 Jul 2023 10:14:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.097
X-Spam-Level:
X-Spam-Status: No, score=-7.097 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, FREEMAIL_FROM=0.001, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, 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=gmx.at
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 K-S5QBI9L2cy for <tcpm@ietfa.amsl.com>; Fri, 7 Jul 2023 10:14:25 -0700 (PDT)
Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4555CC151994 for <tcpm@ietf.org>; Fri, 7 Jul 2023 10:14:25 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.at; s=s31663417; t=1688750063; x=1689354863; i=rs.ietf@gmx.at; bh=Gl0AE8WxNFtL0zqrhnYlzL6TKPex1MuIl87pKg4ypeE=; h=X-UI-Sender-Class:Date:From:Reply-To:Subject:To:References:In-Reply-To; b=rptPbX2qkLEj0aOcg1P6xGuUVu00nJnm/68Obc5JC60yLmfZbHA6etdOOL4PT0H3AmNmfZU lxk+y0etFCr58YZa3/kVwclrHaDEa/1uAwmP2Kkfh0u3Y8XJ9O5PDYrHnFmmclVLFa5r9lmC8 TINz1OSvKj0Pc6H5SVZGMsu3dGeqSvYPl1UmpZAYJxFJ4/LccASuaudoCu5g4r9Pm4EqqM+Ng q38PbsI1OdDOAz2eYWdWkXG6QM3Ewx3Q1GJqbgP2m/Ni04pumcNmo0FIZ3O1LXByR/GW5zwWQ 1Vx1Nq81Nfym5LeivbE9W4rtxixzKaJ3/WQf4ruz28/dEx44ZSDA==
X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a
Received: from [192.168.233.104] ([185.236.167.136]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MGQnF-1qCeUl3hm9-00Gs2j; Fri, 07 Jul 2023 19:14:22 +0200
Message-ID: <b007af7f-8d46-af35-c3d6-91cbbb18764e@gmx.at>
Date: Fri, 07 Jul 2023 19:14:21 +0200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0
From: rs.ietf@gmx.at
Reply-To: rs.ietf@gmx.at
To: Yoshifumi Nishida <nsd.ietf@gmail.com>, "tcpm@ietf.org Extensions" <tcpm@ietf.org>
References: <168854542387.36296.13082017864116657962@ietfa.amsl.com> <CAAK044Tgsp87kf6PGOcr-MA6UKHnP4wGu20CnJEXZ+yA=7rMgg@mail.gmail.com>
In-Reply-To: <CAAK044Tgsp87kf6PGOcr-MA6UKHnP4wGu20CnJEXZ+yA=7rMgg@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:yeHdt41vlYZJhws5+/E+T8dDcCCsRvvG9Fdp2ZB2PWvzMO4OQKx vIeS3IO5IJworFfl9fAN5gV7koivcFpuzmxUxdxrlniZzL79N6aGmTd2yhpiaUlw89UsEHH qPDOjw7E7oRf9+oQYfIyOqw1A4fsGe7geWbVMqmCkWHDUFH3KoaMFiIjXevjTD2u8CjKBba YhHCCBgyWTrZfZxfGSilQ==
UI-OutboundReport: notjunk:1;M01:P0:RCScmKpmUSI=;kqxT2lFLjr0aHRN6G/Wn3vvNa18 +RNAiTcWIYxN9lc9RBpRjNfYYE6szPnCnuG/GJ/5MrieYlXy3pyU+9JyiDbp+YJ97q5+8HwL/ /2oaHWp8okCHhY9Ndh6+jP3gkyTfDgSZ3/OygLG0/2TSuAq/fwP84CqRH1qsxWDs2L49NA+uk ZexWWPhyTZLAxlb+t4G6fTOPYfG4GhGcuNFxaDEAKSf9dCUEuGtckYiOJmPbwYDDKlf34HAf+ MetaibWlxrWpdkvtTh/43Ss0+hhjR99QMYlBze6qHjvkrBk46TX5m343JIymy9+HBj6VH/0Jg 1pSFsOz68oRK7gMEKsLcLV5NNdJqRLYqCROL0keMu95MbAIGY0JInnm5oP7g+Y1nnAOzYKjb7 hNIl2HQDnwzgDROWlktvmilhQTEqI7P+r5cbz2b3Y5mguF83fk2ALlyPit7mmT0nck+g07zRC RTPsqds5OjKiwhyh/a7xrXdnY3IvkRDThRHNpz0jfUeagYs7xwJ5+F0Q7FHT8GARxESsngYcO y8Z4gbC0dFRsxSo4u2r76d/oeP09uKpV9BNcMsu/A7nv5FAKvzHhLDouOvsjS0k4/GNJ8svEB W/KyePzZb4LFaE/mnqqPNB5n9iGCZ56qsmtQVjLmUq9phVVPTAPySd7kvrwfYOsW/j/cTrd0y DgP3uvMCiW8zOUgfAYfcZ/SaQ/r8heWmuwK3EIyuX5q107WeXdvaakkfBTwTw7cz4S4g630w8 pIeID9CsERUPUELFZdIpmLO9+MONk4kwNJbFoyXP9dPDiq61rH33R4GUSLD+dO8/VcJrdu3VS 2FStenYSSnqEPr9vKn+VSRBqHaDRUdtPYzmLRlni5uFWcDemX3EE5UZotNvjyw+CN0fqKoUdd 2Og0TgtIkrd+qvs5BOLUHOw4cJ2u3caMf8YA7vaaLGHI0Ckoyrb45vYo100pRPUH/5+IslYhL osuV64SOWlEu1tOqMRsa9bge3R8=
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpm/MGRXx2T70gCJbHv2iGIWqj059Xg>
Subject: Re: [tcpm] Catalog approach for syn option aggregation draft
X-BeenThere: tcpm@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: TCP Maintenance and Minor Extensions Working Group <tcpm.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tcpm>, <mailto:tcpm-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tcpm/>
List-Post: <mailto:tcpm@ietf.org>
List-Help: <mailto:tcpm-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tcpm>, <mailto:tcpm-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 07 Jul 2023 17:14:29 -0000

Hi Yoshi,


Not sure about MSS really; If you encode only a single value, the mere presence of the aggregate option itself could convey this;

However, there are many (semi private) environments, where both much larger (MTU900 / MSS 8960) and smaller (L2 overlay topologies at many cloud hyperscalers internally fragement at around MSS 1360), as well as a plethora of VPN technologies providing a range of MSS in between 1200 and 1460...

MSS clamping is also a very widespread technology - so not sure if MSS should be made part of this aggreagte option without it also being present as separate option.

While I still believe a catalog approach would work for MSS, a more diverse sample set, also covering semi-private and private environments would certainly need to be looked at, including VPNs, hyperscalers and commercial jumbo frame scenarios, as well as both IPv4 and IPv6.

However, if you couple with this the requirment of having support for PMTUD/BD, the presence of this option by itself could be treated as "infinite" MSS, so using the sender interface MTU as initial MSS, until PMTUD finds a more suitable smaller value... (Similar to RFC6691 section 5.3)

Richard



Am 07.07.2023 um 08:40 schrieb Yoshifumi Nishida:
> Hi folks,
>
> During my presentation for syn aggregation draft in the last WG meeting, some folks suggested using a catalog approach to compress existing options such as MSS, wscale, etc.
> I am still thinking, but I've put some initial ideas about this approach in the updated version of the draft.
>
> In a nutshell, the idea is to use entire bits for 'Group 1'. As one group can carry 6 bits, we use 4 bits for window scale option, 1 bit for SACK-permit and another 1 bit for MSS.
> As window scale value ranges from 0 to 14, we can accomodate all values in 4 bits.
> SACK-permit carries 1 bit information, so using 1 bit is enough.
> MSS is a bit tricky as it can carry various values. But, as far as I've checked 24M syn packets in CAIDA and WIDE's packet captures, over 40% MSS options in SYN packets carries 1460.
> Hence, the draft uses 1 bit to indicate MSS=1460.
>
> Since I'm still wondering if this format is fine or there might be more efficient ways, your feedback is highly appreciated.
> If you're interested, please check the updated draft.
> Thank you so much!
> --
> Yoshi
>
>
>
> ---------- Forwarded message ---------
> From: <internet-drafts@ietf.org <mailto:internet-drafts@ietf.org>>
> Date: Wed, Jul 5, 2023 at 1:24 AM
> Subject: I-D Action: draft-nishida-tcpm-agg-syn-ext-04.txt
> To: <i-d-announce@ietf.org <mailto:i-d-announce@ietf.org>>
>
>
>
> A New Internet-Draft is available from the on-line Internet-Drafts
> directories.
>
>     Title           : Aggregated Option for SYN Option Space Extension
>     Author          : Yoshifumi Nishida
>     Filename        : draft-nishida-tcpm-agg-syn-ext-04.txt
>     Pages           : 11
>     Date            : 2023-07-05
>
> Abstract:
>     TCP option space is scarce resource as its maximum length is limited
>     to 40 bytes.  This limitation becomes more significant in SYN
>     segments as all options used in a connection should be exchanged
>     during SYN negotiations.  This document proposes a new SYN option
>     negotiation scheme that can aggregate multiple TCP options in SYN
>     segments into a single option so that more options can be negotiate
>     during 3-way handshake.  With its simple design, the approach does
>     not require fundamental changes in TCP.
>
> The IETF datatracker status page for this Internet-Draft is:
> https://datatracker.ietf.org/doc/draft-nishida-tcpm-agg-syn-ext/ <https://datatracker.ietf.org/doc/draft-nishida-tcpm-agg-syn-ext/>
>
> There is also an HTML version available at:
> https://www.ietf.org/archive/id/draft-nishida-tcpm-agg-syn-ext-04.html <https://www.ietf.org/archive/id/draft-nishida-tcpm-agg-syn-ext-04.html>
>
> A diff from the previous version is available at:
> https://author-tools.ietf.org/iddiff?url2=draft-nishida-tcpm-agg-syn-ext-04 <https://author-tools.ietf.org/iddiff?url2=draft-nishida-tcpm-agg-syn-ext-04>
>
> Internet-Drafts are also available by rsync at rsync.ietf.org::internet-drafts
>
>
> _______________________________________________
> I-D-Announce mailing list
> I-D-Announce@ietf.org <mailto:I-D-Announce@ietf.org>
> https://www.ietf.org/mailman/listinfo/i-d-announce <https://www.ietf.org/mailman/listinfo/i-d-announce>
> Internet-Draft directories: http://www.ietf.org/shadow.html <http://www.ietf.org/shadow.html>
> or ftp://ftp.ietf.org/ietf/1shadow-sites.txt <ftp://ftp.ietf.org/ietf/1shadow-sites.txt>
>
> _______________________________________________
> tcpm mailing list
> tcpm@ietf.org
> https://www.ietf.org/mailman/listinfo/tcpm