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

Yoshifumi Nishida <nsd.ietf@gmail.com> Sat, 08 July 2023 07:26 UTC

Return-Path: <nsd.ietf@gmail.com>
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 EF084C151084 for <tcpm@ietfa.amsl.com>; Sat, 8 Jul 2023 00:26:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.095
X-Spam-Level:
X-Spam-Status: No, score=-7.095 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, 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 (2048-bit key) header.d=gmail.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 UIOZzP9v-WK1 for <tcpm@ietfa.amsl.com>; Sat, 8 Jul 2023 00:26:08 -0700 (PDT)
Received: from mail-ot1-x331.google.com (mail-ot1-x331.google.com [IPv6:2607:f8b0:4864:20::331]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 19447C14CEF9 for <tcpm@ietf.org>; Sat, 8 Jul 2023 00:26:08 -0700 (PDT)
Received: by mail-ot1-x331.google.com with SMTP id 46e09a7af769-6b72c4038b6so2445172a34.0 for <tcpm@ietf.org>; Sat, 08 Jul 2023 00:26:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1688801167; x=1691393167; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=V20EEA6fuIac37prb++eiz8yVb4igeCIEGTu/NEiSwQ=; b=DF7ALjSK5qDCgKS1PVkXVD4BYex/Cy0xrODgdPu5XoJxp3jZX6K7BBgakE1Z3R5VUc qiStUj9uVebyW4Dbfi9DS94wbPGUGdUhhoGdBFkgrjTwGFbrBUEy0O8P0+v5TLGuOJ+t MCDpatvhTzKr3D3EGT7ATUPbXrteOCTlzKHOjI1er1JXO7ENPBxQJ1D4jn2m97aMAEb4 oj/nxeqeCR1hLCy7u5YFi833NjnhAWyRTvMFHPNYiRt4a5jCEcWuUybOtlj5oXrLpa8I 5nGSeLjoPxSSM8R9AnTkeaJOuzKaa8RetXsv++ydr9TkHG9Xgta0zI0qjrsfY74EtyjG SYSg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688801167; x=1691393167; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=V20EEA6fuIac37prb++eiz8yVb4igeCIEGTu/NEiSwQ=; b=d2KAqo3fePQp/LIVAwJfLFB525Zwh/RxahHM+99GP2Nj1CbCxwy599XbO0Keo2IF4o 0/ILHEVPrZsc14qILi/bOjJmB5PwED5IyJAtOuS8hwY9QgO2Mt825lZowFBZepM5ynAP Sb4vrXu9NRxg5bFAVp77yl0g8pl8Zqq1QyJ2MlCTWQHS6QjfL9+g1vhs/EN5CS5XiU+w yvKS4pEfVAZJqkxb1jzbithzdTpwhvsXOzx7XWaCIl/F37bZBfVlMggrHoi7zBoxr0m3 MfyrWv5Aapl+IxOwD5i8Eu1ugmLiePIpdXabrxSQLnhpXFae0ljFiUF8nBZh4UnvyQzI m+Vw==
X-Gm-Message-State: ABy/qLbBKP+7KnXJZanV6EbneciqbrMg54l7d3WcOPgVXQuzlqLkcp5K 8K/Kco4LN8fQwj5EupHeCRC0weWZdLVR2mgV/j0=
X-Google-Smtp-Source: APBJJlFesp3dfMx20PMi9Ftyba0L8cOh9cpNgThq84pVvCfi+pUDWyH0UDarwOnPHbwj6Dy85NIyQbkqd5XQr+Uauco=
X-Received: by 2002:a05:6870:4141:b0:1b3:977b:8201 with SMTP id r1-20020a056870414100b001b3977b8201mr7978130oad.7.1688801166984; Sat, 08 Jul 2023 00:26:06 -0700 (PDT)
MIME-Version: 1.0
References: <18b4eb50c5024e0a99bacecea8e0c0f3@hs-esslingen.de> <202307080419.3684JoQV021289@gndrsh.dnsmgr.net>
In-Reply-To: <202307080419.3684JoQV021289@gndrsh.dnsmgr.net>
From: Yoshifumi Nishida <nsd.ietf@gmail.com>
Date: Sat, 08 Jul 2023 00:25:56 -0700
Message-ID: <CAAK044TMden-ivymr6KNwfv+m_K3j_ySXTQ-_yMBxW1JGoQsRw@mail.gmail.com>
To: "Rodney W. Grimes" <ietf@gndrsh.dnsmgr.net>
Cc: "Scharf, Michael" <Michael.Scharf@hs-esslingen.de>, "tcpm@ietf.org Extensions" <tcpm@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000a789ca05fff4a9a3"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpm/ChN1fvWW77KoO7qieLktUCAFCTw>
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: Sat, 08 Jul 2023 07:26:09 -0000

Hi Rodney,

I agree handling MSS clamping is a bit tricky. That is one reason only one
value (1460) is used for MSS in the current draft.
If we don't have a good way, I guess the last resort would be if there's a
possibility for MSS clamping, an endpoint must avoid using aggregated
option for MSS. it must use the original option instead.
But, I'm still exploring several options..
--
Yoshi

On Fri, Jul 7, 2023 at 9:19 PM Rodney W. Grimes <ietf@gndrsh.dnsmgr.net>
wrote:

> > Hi Yoshi,
> >
> > Regarding the MSS: Isn?t the MSS for IPv6 only 1440 byte?
> >
> > Just as a thought: Instead of encoding an MSS value, 1 bit could be used
> to convey ?if set to 1, use the maximum MSS for the Ethernet MTU of 1500
> byte??
>
> "for the DEFAULT Ethernet MTU of 1500", this ignores jumbo frames, ignore
> that you might be doing pppOE, or any number of things that lead to a non
> MSS of 1460.  Please be very carefull about trying to encode any value of
> MTU.
>
> >
> > Disclaimer: I haven?t thought about the implications on IPv4/IPv6
> translation techniques. But, anyway, the bigger problem may be the
> installed base of MSS clamping?
>
> And the installed based of pppOE, VLAN tagging or anthing else that fools
> around with the MTU/MSS of a link.
> I can not recall how many times I have had to debug connectivity issues
> that had been caused by assumption of MTU=1500/MSS=1460.
>
>

> >
> > Michael
> >
> > From: tcpm <tcpm-bounces@ietf.org> On Behalf Of Yoshifumi Nishida
> > Sent: Friday, July 7, 2023 8:40 AM
> > To: tcpm@ietf.org Extensions <tcpm@ietf.org>
> > Subject: [tcpm] Catalog approach for syn option aggregation draft
> >
> > 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/
> >
> > There is also an HTML version available at:
> > 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
> >
> > 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
> > Internet-Draft directories: http://www.ietf.org/shadow.html
> > or ftp://ftp.ietf.org/ietf/1shadow-sites.txt
> >
> > _______________________________________________
> > tcpm mailing list
> > tcpm@ietf.org
> > https://www.ietf.org/mailman/listinfo/tcpm
>
> --
> Rod Grimes
> rgrimes@freebsd.org
>