Re: [tcpm] I-D Action: draft-nishida-tcpm-agg-syn-ext-01.txt

Martin Duke <martin.h.duke@gmail.com> Fri, 24 March 2023 18:56 UTC

Return-Path: <martin.h.duke@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 EC064C14F74A for <tcpm@ietfa.amsl.com>; Fri, 24 Mar 2023 11:56:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.094
X-Spam-Level:
X-Spam-Status: No, score=-2.094 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_NONE=-0.0001, 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=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 ondIRaGchQOz for <tcpm@ietfa.amsl.com>; Fri, 24 Mar 2023 11:56:49 -0700 (PDT)
Received: from mail-vs1-xe33.google.com (mail-vs1-xe33.google.com [IPv6:2607:f8b0:4864:20::e33]) (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 1FD6CC14F738 for <tcpm@ietf.org>; Fri, 24 Mar 2023 11:56:49 -0700 (PDT)
Received: by mail-vs1-xe33.google.com with SMTP id f23so2269530vsv.13 for <tcpm@ietf.org>; Fri, 24 Mar 2023 11:56:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679684208; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=2z+TOvXqipJ3Eyi/LTXbqy0hGqDj1ewTFyTkKGqs7AY=; b=iMUJsFdzoO8Lt7yNH+6adMVC6pZrV5X7kbtWTI8H3Q2zQdFSj04gbRNDjP05uNLo31 o48hpprseboxnfuRuQsy93Eqm09zrt9i+BXTzCOrDUyLhzV8qHRlogLahkptkjY4tvIL eOywOFbMV74ZSDKZtKX9JOC2EX8WW5uAXkZLbpMga7Qw1208WDmnQ/iKRsAVzz5P5EFi IJT6Twq2r0RRtYc2tCoBfJE7QuIAyMtyDI4lBevEDyzykVNQI8ZunpGZBBQ69EB2DNX8 HevTJ07iV+h2hP4RNqkfqs/juQTc3sDX0h1hjBfw1jPaI/mwJ88DlbwhgCLyTCDnE8ie IciQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679684208; 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=2z+TOvXqipJ3Eyi/LTXbqy0hGqDj1ewTFyTkKGqs7AY=; b=z4XxrGacr8bJfKyWvXAV3EZIjKdc1/lTXaML51fMFufEalCrSoLkRSDBdN+afSKC+W lBAhIhzfYXFjQlOgJiVQ0zSy+H94LuwWCehg0AIrGuH63/EyVbDv4dKkgwuHhHQnlRsI JpNfjZgKCZraUYKKizFfDsDBHYjRcKUP3EjSfBWdRj+P5gdLKTrsPb58gOaSb3bAh+DV A2OZO8o+U1BCZ6WfxtA8SteaFZzUXwLnSpkcKYhhl+/xTHLTbfYW8Aisgk2khAnRnU0I taYPplW+kyagmuAfP+ug74bpCe1fpbUZebioe48EAX97Hz+ZVNzrSfaGp+b/hVmR3YzF x+vw==
X-Gm-Message-State: AAQBX9c/BICvQLZ5bPQAFmLdQrgBJcZCUlKNtZRSixISazS98rid+Y6a bYZ+2L5Dl7zKhEtU0jNpgTzuSAHiIf/S5IIw+Jg=
X-Google-Smtp-Source: AKy350ZlETFqADzsDQpisQ+fM342ymKb3mLtZ/AlpZdVjToS01NjcXwCvxRQWGQ8vCoubWuCNLdbkZcjJ4DHSHeIwbI=
X-Received: by 2002:a67:d91a:0:b0:425:b61a:9c13 with SMTP id t26-20020a67d91a000000b00425b61a9c13mr1900882vsj.0.1679684207662; Fri, 24 Mar 2023 11:56:47 -0700 (PDT)
MIME-Version: 1.0
References: <166650933536.54626.1084834310598969945@ietfa.amsl.com> <CAAK044R=NBX1-5rdQ41UeTRrHXEymGXx9uymWeeM8ufh0wQB6g@mail.gmail.com> <CAAUO2xw_DOn0BoKEBNR8zvZ4EpWojhgTpWQaQO0b_ojavDTCCA@mail.gmail.com> <CAAK044TeBD=4evF44EKKec8V5qNmnaWFY-R6FWdYcrXv9TRW6Q@mail.gmail.com> <CAAUO2xxOFEXe7OqCsceBLZDZsZ_NxWo++WORBf3c+AVTPUW1bw@mail.gmail.com> <CAAK044TfsuXvDtXBht2Xrz82y8fVd+6Ze8SL-VRdJS6n7Lve2g@mail.gmail.com> <CAM4esxSD2aOzrJJd1HCLR1uYYpW8_xunP3H3saGmEZVTgAo_1Q@mail.gmail.com> <CAAK044SXcCT6se1AdM+PPM2wnkFZoucEAgT-hmvfPSO2CgL3Xw@mail.gmail.com>
In-Reply-To: <CAAK044SXcCT6se1AdM+PPM2wnkFZoucEAgT-hmvfPSO2CgL3Xw@mail.gmail.com>
From: Martin Duke <martin.h.duke@gmail.com>
Date: Fri, 24 Mar 2023 11:56:35 -0700
Message-ID: <CAM4esxSF2cvTEO=g0Yk2_uubtC+d=U3gQkgUMv6CLVtc1JNtWg@mail.gmail.com>
To: Yoshifumi Nishida <nsd.ietf@gmail.com>
Cc: carles.gomez@upc.edu, "tcpm@ietf.org Extensions" <tcpm@ietf.org>, Jon Crowcroft <jon.crowcroft@cl.cam.ac.uk>
Content-Type: multipart/alternative; boundary="000000000000885c9705f7a9f41a"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpm/rpM1nTZiI2dAEtVeQQl4nk5PXRU>
Subject: Re: [tcpm] I-D Action: draft-nishida-tcpm-agg-syn-ext-01.txt
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, 24 Mar 2023 18:56:53 -0000

Makes sense.

It might be worthwhile to think through some use cases that would motivate
this work, where (1) the total length of desired options is > 40, but (2)
it would be acceptable but suboptimal to have < 40B of options.

A client could then send its required options in the expanded form, and
compress the nice-to-haves in your option.

On Fri, Mar 24, 2023 at 11:39 AM Yoshifumi Nishida <nsd.ietf@gmail.com>
wrote:

> Hi Martin,
>
> Thanks for the feedback. Yes, I have thought about the issue before.
> One naive idea is to deploy the aggregated option with a newly defined
> option (probably experimental options).
> Then, we ask implementers to support the aggregated option when they
> implement the new feature.
>
> Also, when we send both the original option and the aggregated option in
> SYN and only aggregated option comes back in SYN/ACK, we can cache the info
> for future connection attempts.
> The basic idea is described in
>
> https://datatracker.ietf.org/doc/html/draft-nishida-tcpm-agg-syn-ext-00#section-5.1
>
> --
> Yoshi
>
> On Fri, Mar 24, 2023 at 11:18 AM Martin Duke <martin.h.duke@gmail.com>
> wrote:
>
>> Hi Yoshi,
>>
>> Thanks for this draft. Many years ago, I came quite close to submitting a
>> draft with similar ideas, but it was probably an inferior design to this
>> one.
>>
>> The main reason I didn't was that I didn't see a deployment path -- as
>> long as clients aren't sure if servers support the option, they have to
>> send this aggregated option and the original options, and thus make the
>> space shortage worse rather than better.
>>
>> If the space shortage is in the SYN/ACK only, that's a different matter.
>>
>> Certainly, if we could get most servers to support this, and the
>> consequences of options not getting through are not high, there could be a
>> path.
>>
>> What are your thoughts on how to address this problem?
>>
>> On Thu, Nov 10, 2022 at 2:47 AM Yoshifumi Nishida <nsd.ietf@gmail.com>
>> wrote:
>>
>>> Hi Carles,
>>>
>>> Thanks for the feedback. Yes, I agree with 2 bit GID. It's the current
>>> setting in the draft.
>>> I will add some more discussions on this point in the next version.
>>> --
>>> Yoshi
>>>
>>> On Wed, Nov 9, 2022 at 12:07 AM Carles Gomez Montenegro <
>>> carles.gomez@upc.edu> wrote:
>>>
>>>> Hi Yoshi,
>>>>
>>>> Thanks for your response.
>>>>
>>>> There are currently 22 option Kind numbers assigned by IANA (that are
>>>> not obsoleted or temporary). There are also 14 ExID values assigned.
>>>>
>>>> A conservative approach would need to consider all possible
>>>> combinations. It seems that this approach would require a 3-bit GID.
>>>>
>>>> However, probably only a (small?) subset of the possible TCP options
>>>> would be used simultaneously, and therefore a 2-bit GID would appear
>>>> to suffice.
>>>>
>>>> Would this make sense?
>>>>
>>>> Cheers,
>>>>
>>>> Carles
>>>>
>>>>
>>>>
>>>>
>>>> > Hi Carles,
>>>> > Thanks for the feedback.
>>>> > Yes, that's the point I have been wondering about.
>>>> > I agree with your assessments. Do you have any thoughts on the best
>>>> choice among them?
>>>> > --
>>>> > Yoshi
>>>> >
>>>> >
>>>> > On Mon, Nov 7, 2022 at 2:06 AM Carles Gomez Montenegro <
>>>> carles.gomez@upc.edu> wrote:
>>>> >>
>>>> >> Hi Yoshi,
>>>> >>
>>>> >> Thanks for your draft, and for taking into account the needs of a new
>>>> >> experimental proposal such as the TARR option.
>>>> >>
>>>> >> Indeed, currently, 4 bytes is the minimum format size to announce
>>>> >> support of an RFC 6994-conforming experimental TCP option. However,
>>>> as
>>>> >> you mention in your draft, the same information might be conveyed by
>>>> >> using less bits.
>>>> >>
>>>> >> I've been thinking about whether the number of GID bits (i.e., 2
>>>> bits)
>>>> >> is the best choice or not. My own conclusion is that it is, since:
>>>> >>
>>>> >> - Number of GID bits = 0 --> it does not allow to omit unused
>>>> aggregated blocks.
>>>> >> - Number of GID bits = 1 --> it would support only 14 options.
>>>> >> - Number of GID bits = 3 --> it would support 40 options, which
>>>> >> perhaps is not really necessary, and would add one bit of overhead
>>>> per
>>>> >> aggregated block.
>>>> >>
>>>> >> Thanks,
>>>> >>
>>>> >> Carles
>>>> >>
>>>> >>
>>>> >>
>>>> >>
>>>> >>
>>>> >> > Hi folks,
>>>> >> >
>>>> >> > I have submitted an updated version for aggregated option draft.
>>>> >> > The main points of this version are the following, mainly to
>>>> address Joe's comments.
>>>> >> > - The draft contains now aggregated option only.  delay
>>>> negotiation proposal has been removed and out of scope of the draft.
>>>> >> > - The main target for aggregated option is a new experimental
>>>> proposal such as TARR option while It is possible to aggregate existing
>>>> options with some conditions,
>>>> >> > It would be great if you could provide some feedback.
>>>> >> >
>>>> >> > Thanks,
>>>> >> > --
>>>> >> > Yoshi
>>>> >> >
>>>> >> >
>>>> >> > On Sun, Oct 23, 2022 at 12:15 AM <internet-drafts@ietf.org> wrote:
>>>> >> >>
>>>> >> >>
>>>> >> >> 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-01.txt
>>>> >> >>   Pages           : 9
>>>> >> >>   Date            : 2022-10-23
>>>> >> >>
>>>> >> >> Abstract:
>>>> >> >>    TCP option space is scarce resource as its max 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 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-01.html
>>>> >> >>
>>>> >> >> A diff from the previous version is available at:
>>>> >> >>
>>>> https://www.ietf.org/rfcdiff?url2=draft-nishida-tcpm-agg-syn-ext-01
>>>> >> >>
>>>> >> >>
>>>> >> >> Internet-Drafts are also available by rsync at rsync.ietf.org:
>>>> :internet-drafts
>>>> >> >>
>>>> >> >>
>>>> >> >> _______________________________________________
>>>> >> >> I-D-Announce mailing list
>>>> >> >> 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
>>>>
>>> _______________________________________________
>>> tcpm mailing list
>>> tcpm@ietf.org
>>> https://www.ietf.org/mailman/listinfo/tcpm
>>>
>>