[tcpm] Re: TCP Option Length Bit Shifting
"C. M. Heard" <heard@pobox.com> Wed, 05 August 2026 18:28 UTC
Return-Path: <heard@pobox.com>
X-Original-To: tcpm@mail2.ietf.org
Delivered-To: tcpm@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id 0E6F01244997B for <tcpm@mail2.ietf.org>; Wed, 5 Aug 2026 11:28:41 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ietf.org; s=ietf1; t=1785954521; bh=i4wQxSq86tue/ss+b0VCVQN9AxjgHwTeiQlKYTb04x4=; h=References:In-Reply-To:From:Date:Subject:To:Cc; b=h/c2hMtrAVnmK3Vw/1c1/wrDqbMK6TpYyCaA45nHL3X4UpBfEMOKMY5zU0A4+gABK CBb13GjEoNOOcqj5TUSt3DE6Fyev1xyix/xo+QOqr5YF6R71NHndCA9VfJj9T58CqM 0dDHUPeZkc+EvNqy+iYYNYuk3GwCM/kNR+ktuDBY=
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -2.787
X-Spam-Level:
X-Spam-Status: No, score=-2.787 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_FONT_FACE_BAD=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=0.01] autolearn=ham autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (2048-bit key) header.d=pobox.com header.b="iy8Q/GOF"; dkim=pass (2048-bit key) header.d=messagingengine.com header.b="Tm8hkWG+"
Received: from mail2.ietf.org ([166.84.6.31]) by localhost (mail2.ietf.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Nqr9IbqNYxQz for <tcpm@mail2.ietf.org>; Wed, 5 Aug 2026 11:28:39 -0700 (PDT)
Received: from fout-b3-smtp.messagingengine.com (fout-b3-smtp.messagingengine.com [202.12.124.146]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id 89DFB12449970 for <tcpm@ietf.org>; Wed, 5 Aug 2026 11:28:39 -0700 (PDT)
Received: from phl-compute-02.internal (phl-compute-02.internal [10.202.2.42]) by mailfout.stl.internal (Postfix) with ESMTP id 2BD631D00180 for <tcpm@ietf.org>; Wed, 5 Aug 2026 14:28:32 -0400 (EDT)
Received: from phl-frontend-01 ([10.202.2.160]) by phl-compute-02.internal (MEProxy); Wed, 05 Aug 2026 14:28:32 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pobox.com; h=cc :cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm2; t=1785954512; x=1786040912; bh=Yi+Efmd6oO 0qzJlaW2OwIL0ppyx5Gc90YNAyu48CSU4=; b=iy8Q/GOF446LTl/9wnuZBw2ATq zgGpjv3a45fMHNDOw0T3V3h5q9aHR8Iq6AE7KLdse6fjhCSJYL0yR/nVDetUI1HB N7CTwaGdAzgMSTpfpmbdVbnCWfB4RdiDRhYGaa+5Z983z4We44SGWYOpF3omW/SE Yxku2KtVjT4NPwM2+QVRpKMTjiLcEnzlyyamVZgreQf+DHPiwD5IBNd+BgTBV1mI gJSBy5tfLV99iPZNETXD6gwLC6AcxQ0mbFYREO/SbFSIJfaJdEyqWVFkWufj+e8a rsUJ5sRoqadsd5vngq6FI/u04Jf6AdarT7txoMfB1j0z5qvuKjpmnhTpT+aw==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1785954512; x=1786040912; bh=Yi+Efmd6oO0qzJlaW2OwIL0ppyx5Gc90YNA yu48CSU4=; b=Tm8hkWG+gip6bODQTV6nss7qKs5hp/t4OXeOzfi5PfQgeYx/lTM g846BfuMq5w9ZZvqYg3PxXml2LBt87ZHH07zDyn+s/q4cmtdAYtIJWNr/+TywLmY wf4l1ecKPHXDqeUgBc9zAL3NH/KtUSakV01BB54l6ToKE1cJGP3T2TMSJ+XiTaBC PyUXaNRzanBTgIBQpegITzQ/tjZy6SjDJnWxFMwdlKrPLQy75wdBb/JgcnUWkt8A i/HLrmhHb6Nos1+oVUsxjlsUBGGjF91I8gg5gFfDWkLHGFEtxcIKXwTXhf8P23y5 YP4Mnr1u7vuMMYU8GX3+0Mk2LNG1l+zvZkQ==
X-ME-Sender: <xms:z4BzasCGfxkSYm-Dkg-gfCmh-Zv9O0uxcgxaXUSwSY-V9u2KaRfv3Q> <xme:z4BzakZx-pkZ6MAUPXwJ15_cZPBo9EA7cHKsjInWjtW38p0EyYNOeLsCEb_MyDrjk mFB82j9er9fqCnpJmJAXGCLka1arTwq31iYu0O4eoJQAZ8WceKHNvs>
X-ME-Received: <xmr:z4Bzaqrrn7ryVVBEQREUInGP1pL8i9gmbGl8I4wo5gbhYAFztUYlAjAob4_mITYazUv90eDgUKubbkYyZTl9LS5m82u3Ykmwabw>
X-ME-Proxy-Cause: dmFkZTEt6a7DawP9ZJOaDTm4Raocm7589hOkXswk776jw6gLbwtw4RGPDjpXY7SEqxmM4s 8k9bohj3Q4OT9p5H+Gdm8RUJD/uFC7WMznOQQi41avisGE+YvSmnVQZKvbTv2vcD4vdmBF 9pKSXsDyMmIVk1DyR26Ku29TkjpVVXxFpbffovr7b7smOjnudMmq+9CzJkQ0neb1JiTpAe 1gGYtuqiPQKwiZ8rF17Z0YbQHpSJuRcuQbu4d2xf5xnYM9Si5D0TlLMnwXh125lbht4m/T rqJ06AKehR3oXwNUA2SN11KSRUtsMxrftie95wQ27QxMnnSeFq1A4Gx7H2ebTQsTL/hjsi Vcsvf0dKWJuMPbJ306PfWt2gf5mBl5kutHf5UK9cCM+8SJbC47Lg+ooQEe885GluvH3NwE 3L+tzCl2bdiN+yMzf5sFofzJfJmG0uvRNYhN2NAY+t1FmAVW4IDRplk9k9K/rETL2pR8yW FTOOsMGcP1aK4L/HDI/mca7cTmXHC+dO+fcktcYfd/eXNWh1Tk8DXLBlpe+iiHQKWtgDwG EYslJ6zAdjcW5xpdL+PJ6sMjXdTaQhtq4OOmS+jkGYoI2aO/aKxj8QKGhheDRAG+c+CoNt hS8luXLRkZbF+3w24jlF4z9I2ESZQssxoCN1Pp9YI1XCNjQOUrJ0CaiFRfPw
X-ME-Proxy: <xmx:z4BzavknKnc4ZV1GEnZJ4HXwB4q751ehCING5qrSaHjweaJUqMSMQg> <xmx:z4Bzak0mi-BrD-AJw-FABtPBNvxHSE3gXpos3eeSgXCOZxpJzpiwOw> <xmx:z4BzavD9GR09YtMrFOBFtGnvKiSbcACk2rZ5NPzYwzEJSuP8neKFNg> <xmx:z4Bzapy0m5jkLgYau0Q84SSmpa_fzjpq11UTEaIkoj_uAFki_D6BNQ> <xmx:0IBzaiRP3Ueoua63HX-XgRYZ4EXmtHfyJ__bX14nbz4XmSgMWpIYLbGa>
Feedback-ID: i82e14979:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA for <tcpm@ietf.org>; Wed, 5 Aug 2026 14:28:31 -0400 (EDT)
Received: by mail-ej1-f46.google.com with SMTP id a640c23a62f3a-c1c24ec9525so224110066b.1 for <tcpm@ietf.org>; Wed, 05 Aug 2026 11:28:31 -0700 (PDT)
X-Gm-Message-State: AOJu0YzO79eO22nzUJEGwyl3tAyfYXbhbxdt6havxL396RZvUlZyJQZK NKrZDGXgt0G1SVOi4RNL5iEZS8JNlrXTs1JmyJMQNM2IOqtUJhfVQZvizOyzbYjyZtHjyqSswZe PrOQWrvfhyTIsfmWcw7/du4m6cwaHMic=
X-Received: by 2002:a17:907:3f86:b0:c16:7a4b:33f1 with SMTP id a640c23a62f3a-c2039c280a0mr479767966b.21.1785954510643; Wed, 05 Aug 2026 11:28:30 -0700 (PDT)
MIME-Version: 1.0
References: <178247435258.1809941.9081592875087275710@dt-datatracker-f9b87776f-8pmmg> <DM4PR84MB231000F604E508DE0EAEF63FF4EB2@DM4PR84MB2310.NAMPRD84.PROD.OUTLOOK.COM> <3c6ef75b-0594-46b4-b748-478b48013a54@gmx.at> <DM4PR84MB2310CADFC4C807797E59CE54F4D62@DM4PR84MB2310.NAMPRD84.PROD.OUTLOOK.COM> <ea2925c3-ce08-4112-8628-d0859a83ee07@gmx.at> <27D880C5-609C-4DAB-A0F5-974F2175FB5F@lurchi.franken.de> <1b5663e6-08b5-4797-abeb-4bebccdf5204@gmx.at> <BCC6E037-2680-4F33-90E6-21E2C168BDA2@lurchi.franken.de> <DM4PR84MB23100E65D202E0DC2B7CB19EF4D42@DM4PR84MB2310.NAMPRD84.PROD.OUTLOOK.COM> <B892A9C9-0D44-4914-8D8C-39F18E820EA8@lurchi.franken.de> <DM4PR84MB2310FB277064BECB24C5AAB5F4D42@DM4PR84MB2310.NAMPRD84.PROD.OUTLOOK.COM> <79D794C4-F51E-4C8F-A198-D81CEF662289@lurchi.franken.de> <d7dd34cc-ca34-4026-8d2c-1f9b0f3dd6fe@gmx.at> <DM4PR84MB23109673B250BF4689CB3B86F4D32@DM4PR84MB2310.NAMPRD84.PROD.OUTLOOK.COM>
In-Reply-To: <DM4PR84MB23109673B250BF4689CB3B86F4D32@DM4PR84MB2310.NAMPRD84.PROD.OUTLOOK.COM>
From: "C. M. Heard" <heard@pobox.com>
Date: Wed, 05 Aug 2026 11:28:15 -0700
X-Gmail-Original-Message-ID: <CACL_3VEZLcxoYQyE0hEOzZ-GjdLwbSPXty8edhFV_EPbKG-mcA@mail.gmail.com>
X-Gm-Features: AUfX_mzLlcV6GdZZmcJrbIxn6iYShFdemVjG5862coSyFf_y3NY6pbQ6p26NQNg
Message-ID: <CACL_3VEZLcxoYQyE0hEOzZ-GjdLwbSPXty8edhFV_EPbKG-mcA@mail.gmail.com>
To: "Bonica, Ron" <ronald.bonica@hpe.com>, Richard Scheffenegger <rs.ietf@gmx.at>
Content-Type: multipart/alternative; boundary="0000000000003126df065850f050"
Message-ID-Hash: EVEBCHQBEDORGALESJED2TI375QZWTJN
X-Message-ID-Hash: EVEBCHQBEDORGALESJED2TI375QZWTJN
X-MailFrom: heard@pobox.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-tcpm.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: "tcpm@ietf.org" <tcpm@ietf.org>
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [tcpm] Re: TCP Option Length Bit Shifting
List-Id: TCP Maintenance and Minor Extensions Working Group <tcpm.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpm/cbmCxaeCohKvLM-7Zk6srAaagNI>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tcpm>
List-Help: <mailto:tcpm-request@ietf.org?subject=help>
List-Owner: <mailto:tcpm-owner@ietf.org>
List-Post: <mailto:tcpm@ietf.org>
List-Subscribe: <mailto:tcpm-join@ietf.org>
List-Unsubscribe: <mailto:tcpm-leave@ietf.org>
Hello Ron, This isn't harmful, and it would enable an upgraded implementation to determine that a "helpful" middlebox has altered DO=0 to some value in the range 0x6 .. 0xF. But it can't do that if the "helpful" middlebox has altered DO=0 to DO=5. A more bulletproof solution is the one suggested by Michael Tuexen -- namely, if a given connection uses the SEG-U format for any segment on a connection, it uses them for all segments on a connection, i.e., SEG-O is disallowed That would be a change to Section 4 of the draft. Mike On Wed, Aug 5, 2026 at 7:55 AM Bonica, Ron <ronald.bonica@hpe.com> wrote: > Richard, > > I think that this answers my question. You are protecting upgraded > implementations from ever-so-helpful middleboxes that set the DO to 0 but > mangle the options field. While this might be overkill, it might also be a > good idea. How do you feel about the following: > > 0 > 1 2 3 > 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 > +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ > | Magic | Length | Reserved | > > +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ > | : > : Individual Options : > : : > +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ > > Length would continue to be measured in 4-octet units to preserve 32-bit > alignment. > > Ron > > > ------------------------------ > *From:* Richard Scheffenegger <rs.ietf=40gmx.at@dmarc.ietf.org> > *Sent:* Wednesday, August 5, 2026 7:11 AM > *To:* tcpm@ietf.org <tcpm@ietf.org> > *Subject:* [tcpm] Re: TCP Option Length Bit Shifting > > > How confident are we, that the DO==0 will not be "normalized" on-path... > (that is, filled out with 0x5..0xF by a helpful meddlebox). > > My intention was, if we are going to use up 32 bits right after the end > of the standard TCP header anyway, to use those bits in a more effective > way than just defining 8, and reserving 24 - to be filled with zero. > > > Placing something there which appears like an oversized (>40 length) > TCP option doesn't burn additional bits which were not going to be > reserved anyway, but may improve the resilience of LAO. > > But I admit, maybe I have been seeing too many odd behaviors in the > wild, to be biased towards a "belt-and-suspenders" approach when it > comes to data integrity and backwards compatibility. > > Richard > > > > Am 04.08.2026 um 23:05 schrieb Michael Tuexen: > >> On 4. Aug 2026, at 22:20, Bonica, Ron <ronald.bonica@hpe.com> wrote: > >> > >> Michael, > >> > >> Do we really want to protect buggy endpoints? Or do we want to protect > compliant endpoints from buggy peers? > > I guess this is a question for Richard, since he came up with the > > idea. > > > > Best regards > > Michael > >> > Ron > >> > >> From: Michael Tuexen <michael.tuexen@lurchi.franken.de> > >> Sent: Tuesday, August 4, 2026 3:03 PM > >> To: Bonica, Ron <ronald.bonica@hpe.com> > >> Cc: Richard Scheffenegger <rs.ietf=40gmx.at@dmarc.ietf.org>; > tcpm@ietf.org <tcpm@ietf.org> > >> Subject: Re: [tcpm] TCP Option Length Bit Shifting > >> > On 4. Aug 2026, at 20:37, Bonica, Ron <ronald.bonica@hpe.com> > wrote: > >>> Folks, > >>> > >>> What problem are we trying to solve with the magic number / > pseudo-option. I am not sure that I follow the motivation. > >> Neither me. > >> > >> I guess the goal is to protect end points which do process TCP segments > >> with data offset equals 0, but do not support the extension you are > >> proposing. I would consider them buggy endpoints... > >> Before going down that road I would like to understand which kind > >> of buggy endpoints would benefit. > >> > >> Best regards > >> Michael > >>> Ron > >>> > >>> From: Michael Tuexen <michael.tuexen@lurchi.franken.de> > >>> Sent: Tuesday, August 4, 2026 7:14 AM > >>> To: Richard Scheffenegger <rs.ietf=40gmx.at@dmarc.ietf.org> > >>> Cc: tcpm@ietf.org <tcpm@ietf.org> > >>> Subject: [tcpm] Re: TCP Option Length Bit Shifting > >>> > On 4. Aug 2026, at 11:20, Richard Scheffenegger <rs.ietf= > 40gmx.at@dmarc.ietf.org> wrote: > >>>> > >>>> My thought process was to have not "just" the TCP Data Offset == 0 > being the only indicator of the longer TCP options (LAO)... > >>> Can you say which nodes you want to help? Nodes which implement LAO? > Nodes which don't and don't look at the Data Offset? How do you expect > these nodes process TCP options at all for a segement > >>> with data offset 0? > >>>> > >>>> With a magic number, or maybe even specified as a new TCP option code > actually, followed by a length field of up to 252 for 32-bit alignment, a > TCP receiver which ignores the Data Offset but does parse the TCP options > could deal with a subset of these long options. > >>> I don't follow here. > >>> > >>> The option length can be up to 255. How do you get to 252? > >>>> This is subtly different from how EDO is defined, but I suspect will > be more compatible, as there are more points where sanity checks have an > option to discard the packet before delivering a corrupted tcp data stream > as header options may leak in... > >>>> > >>>> To summarize: > >>>> > >>>> (long authentication option) has > >>>> > >>>> Data Offset == 0 > >>>> > >>>> and a pseudo-option > >>>> > >>>> +-------+---------------+---------+------+ > >>>> | TBD | Len <= 252 | Full Length | > >>>> +-------+---------------+---------+------+ > >>>> > >>>> (Len == 0 if Full Length > 252). > >>> I could see the possibility of a new option-kind, followed by an > option-len, which is limited > >>> by 255, followed by a number of bytes which is smaller than 253. > >>> If some receiver parses the options it will (hopefully) figure out > that the option > >>> is longer than the available data and drop the segment. > >>> However, this assumes that the receiver decides that there are some > options even > >>> if data offset is not larger than 5. How would this work? > >>> > >>> I could imaging bugs where incoming TCP segments with a data offset of > less than or > >>> equal to 5 are handled as TCP segments without options. In this case > whatever you > >>> do would not work. > >>> > >>> But for the use case we have in mind, the client would send a SYN with > extended > >>> option space using TCP AO. Assume server which does not support LAO > and incorrectly > >>> accepts the TCP segment. It would look like a SYN with data. It might > reply with a > >>> SYN ACK, but without providing TCP AO. So it would be dropped. > >>> > >>> Best regards > >>> Michael > >>>> > >>>> More changes that a packet that can not be decoded properly, gets > discarded rather than corrupting delivered data... > >>>> > >>>> (If this spec uses a full 32 bit block, better make good use of all > the available bits). > >>>> > >>>> > >>>> And one comment - the problematic TCP receiver is in a > hardware-centric implementation with an incorrect TCP header parser; I too > consider that a bug and misbehavior - and we shouldn't stifle developments > because of such things but have to be aware (in a security considerations / > deployment considerations section) that those problems may exist and > operators should be aware to use LAO only over paths where the behavior of > all devices in between is benign. > >>>> > >>>> Best regards, > >>>> > >>>> Richard > >>>> > >>>> > >>>> Am 03.08.2026 um 18:03 schrieb Michael Tuexen: > >>>>>> On 2. Aug 2026, at 22:58, Richard Scheffenegger <rs.ietf= > 40gmx.at@dmarc.ietf.org> wrote: > >>>>>> > >>>>>> > >>>>>> You are also reserving a full 4-octet block, with 3 octets > reserved... > >>>>>> 0 1 2 3 > >>>>>> 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 > >>>>>> +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ > >>>>>> | Length | Reserved | > >>>>>> +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ > >>>>>> | : > >>>>>> : Individual Options : > >>>>>> : : > >>>>>> +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ > >>>>>> > >>>>>> Figure 2: SEG-U TCP Options > >>>>>> > >>>>>> > >>>>>> I was thinking more like a scheme like > >>>>>> > >>>>>> 0 1 2 3 > >>>>>> 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 > >>>>>> +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ > >>>>>> | Magic | Reserved | non-shifted length | > >>>>>> +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ > >>>>>> | : > >>>>>> : Individual Options : > >>>>>> : : > >>>>>> +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ > >>>>>> > >>>>>> Figure 2: SEG-U TCP Options > >>>>>> > >>>>>> > >>>>>> The theoretical maximum size of an IP packet is 64kB (RFC2675 can > be considered historic, as there is no support any more for that), and 16 > bits would allow that full size to be used. And indeed, alignment may lead > to the least significant bits to be zero. > >>>>> I guess we want to require 32-bit alignment. This means a receiver > has to check that > >>>>> the lowest 2 bits are zero and drop the packet otherwise. I prefer > encodings, which > >>>>> don't allow things to be encoded wrong. > >>>>> > >>>>> What is your intention with the magic number? Do you want that a > receiver not checking > >>>>> the Data Offset does find some options there? Like 0 indicating End > of Option List Option? > >>>>> Why have a reserved field? In case you need in the future some other > encoding, we have > >>>>> Data Offset 1, 2, 3, and 4, which are all invalid... > >>>>> > >>>>> What do we want to do: > >>>>> 1. Encode a length, which is always a multiple of four. > >>>>> 2. Use for the encoding a length, which is a multiple of 4 and which > is as short as possible. > >>>>> So it is 4. > >>>>> > >>>>> What else do we want? > >>>>> > >>>>> Best regards > >>>>> Michael > >>>>>> I think the leading octet should be a magic number (two, if we > consider reserved as must-be-filled-with-zero / End-of-Option-List TCP > option number) to further reduce the chance of a packet getting > misinterpreted even though that change is low. > >>>>>> Sorry I didn't include this clearly. > >>>>>> > >>>>>> > >>>>>> > >>>>>> Am 02.08.2026 um 22:46 schrieb Bonica, Ron: > >>>>>>> Richard, > >>>>>>> > >>>>>>> Thanks for your comments on the draft. Because your final point is > likely to generate some debate, I have created a new thread to address it. > >>>>>>> > >>>>>>> In version 04 of the draft, the TCP Options field contains an > 8-bit length attribute. The length attribute represents the length of TCP > Options, including the Length and Reserved fields. It is measured in > 4-octet units. > >>>>>>> > >>>>>>> You suggest that the length should be measured in single octet > units instead of 4-octet units. The following is a very superficial > analysis. > >>>>>>> > >>>>>>> • If we use 4-octet units, the TCP header can accommodate 1KB > of options. However, if we use single octet units, the TCP header can > accommodate 252 bytes of options. > >>>>>>> > >>>>>>> • If we use 4-octet units, the TCP Data field is guaranteed > to be 32-bit aligned. If we use 4-octet units, the TCP Data field is not > guaranteed to be 32-bit aligned. > >>>>>>> > >>>>>>> I think that 252 bytes of TCP options is enough. So, maximum > option length does not motivate 4-unit measurement > >>>>>>> > >>>>>>> I don't know how much we value 32-bit alignment of the Data field. > Maybe the WG can provide guidance? > >>>>>>> > >>>>>>> > Ron > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> From: Richard Scheffenegger <rs.ietf=40gmx.at@dmarc.ietf.org> > >>>>>>> Sent: Thursday, July 23, 2026 9:17 AM > >>>>>>> To: tcpm@ietf.org <tcpm@ietf.org> > >>>>>>> Subject: [tcpm] Re: Fw: New Version Notification for > draft-bonica-tcpm-extended-options-04.txt > >>>>>>> > >>>>>>> > >>>>>>> After the discussions in todays meetings, I propose the following: > >>>>>>> a) rename the draft to something with a higher hamming distance in > the TLA to EDO (extended data offset). For example Long Authentication > Offset (LAO). This will help to reduce confusion when discussing these two > different approaches. > >>>>>>> b) since this approach has a very clearly described applicability > (BGP/TCP authentication), clearly descibing that and NOT claim general > applicability for any TCP application can also help focus the work. This > also would allow avoiding intricate discussion around middlebox behavor, > when the expected use case is dominated by back-to-back connectivity (TTL 1 > or 2). > >>>>>>> > >>>>>>> From a protocol design perspective, with the 32bit field (1 octet > for option-length>>2, 3 reserved).. Is the bit-shifting really needed? > Also, a byte in the option value of 0 is "EOL" (end-of-list), putting that > in the first octet may have some merit. > >>>>>>> E.g. > >>>>>>> > +------------------+--------------+-----------------+-----------------+ > >>>>>>> | must be zero | Reserved | 16 bit length without shift| > >>>>>>> > >>>>>>> > >>>>>>> Am 26.06.2026 um 13:50 schrieb Bonica, Ron: > >>>>>>> > >>>>>>> Please review and comment > >>>>>>> > >>>>>>> > >>>>>>> From: internet-drafts@ietf.org <internet-drafts@ietf.org> > >>>>>>> Sent: Friday, June 26, 2026 7:45 AM > >>>>>>> To: Bonica, Ron <ronald.bonica@hpe.com>; Bonica, Ron < > ronald.bonica@hpe.com>; Tony Li <tony.li@tony.li> > >>>>>>> Subject: New Version Notification for > draft-bonica-tcpm-extended-options-04.txt > >>>>>>> > >>>>>>> A new version of Internet-Draft > draft-bonica-tcpm-extended-options-04.txt has > >>>>>>> been successfully submitted by Ron Bonica and posted to the > >>>>>>> IETF repository. > >>>>>>> > >>>>>>> Name: draft-bonica-tcpm-extended-options > >>>>>>> Revision: 04 > >>>>>>> Title: TCP Extended Options > >>>>>>> Date: 2026-06-26 > >>>>>>> Group: Individual Submission > >>>>>>> Pages: 13 > >>>>>>> URL: > https://urldefense.com/v3/__https://www.ietf.org/archive/id/draft-bonica-tcpm-extended-options-04.txt__;!!NpxR!nkeptgtvaaYOCsHEmJvkkOMDfl0_zjG2uD8TyCw1ceG6L6x8vyAu-Cr4RAPM9iJMetMjjdU4BUHWcydpQM2esCphWAXjqzueaV4$ > >>>>>>> Status: > https://urldefense.com/v3/__https://datatracker.ietf.org/doc/draft-bonica-tcpm-extended-options/__;!!NpxR!nkeptgtvaaYOCsHEmJvkkOMDfl0_zjG2uD8TyCw1ceG6L6x8vyAu-Cr4RAPM9iJMetMjjdU4BUHWcydpQM2esCphWAXjsWeW2Bs$ > >>>>>>> HTML: > https://urldefense.com/v3/__https://www.ietf.org/archive/id/draft-bonica-tcpm-extended-options-04.html__;!!NpxR!nkeptgtvaaYOCsHEmJvkkOMDfl0_zjG2uD8TyCw1ceG6L6x8vyAu-Cr4RAPM9iJMetMjjdU4BUHWcydpQM2esCphWAXjNihm-vA$ > >>>>>>> HTMLized: > https://urldefense.com/v3/__https://datatracker.ietf.org/doc/html/draft-bonica-tcpm-extended-options__;!!NpxR!nkeptgtvaaYOCsHEmJvkkOMDfl0_zjG2uD8TyCw1ceG6L6x8vyAu-Cr4RAPM9iJMetMjjdU4BUHWcydpQM2esCphWAXj9fdQK6o$ > >>>>>>> Diff: > https://urldefense.com/v3/__https://author-tools.ietf.org/iddiff?url2=draft-bonica-tcpm-extended-options-04__;!!NpxR!nkeptgtvaaYOCsHEmJvkkOMDfl0_zjG2uD8TyCw1ceG6L6x8vyAu-Cr4RAPM9iJMetMjjdU4BUHWcydpQM2esCphWAXj93loaQE$ > >>>>>>> > >>>>>>> Abstract: > >>>>>>> > >>>>>>> A TCP header accommodates only 40 octets of TCP options. In > the > >>>>>>> future, applications may require more than 40 octets of TCP > options. > >>>>>>> For example, an application may require a TCP Authentication > Option > >>>>>>> (TCP-AO) with a 384-bit MAC. This option requires 52 octets of > >>>>>>> option space. > >>>>>>> > >>>>>>> This document defines a TCP extension that accommodates up to > 1,016 > >>>>>>> octets of TCP options while maintaining backward compatibility > with > >>>>>>> legacy implementations. > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> The IETF Secretariat > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> _______________________________________________ > >>>>>>> tcpm mailing list -- tcpm@ietf.org > >>>>>>> To unsubscribe send an email to tcpm-leave@ietf.org > >>>>>>> > >>>>>> _______________________________________________ > >>>>>> tcpm mailing list -- tcpm@ietf.org > >>>>>> To unsubscribe send an email to tcpm-leave@ietf.org > >>>>> _______________________________________________ > >>>>> tcpm mailing list -- tcpm@ietf.org > >>>>> To unsubscribe send an email to tcpm-leave@ietf.org > >>>> _______________________________________________ > >>>> tcpm mailing list -- tcpm@ietf.org > >>>> To unsubscribe send an email to tcpm-leave@ietf.org > >>> _______________________________________________ > >>> tcpm mailing list -- tcpm@ietf.org > >>> To unsubscribe send an email to tcpm-leave@ietf.org > > > > _______________________________________________ > > tcpm mailing list -- tcpm@ietf.org > > To unsubscribe send an email to tcpm-leave@ietf.org > > _______________________________________________ > tcpm mailing list -- tcpm@ietf.org > To unsubscribe send an email to tcpm-leave@ietf.org > _______________________________________________ > tcpm mailing list -- tcpm@ietf.org > To unsubscribe send an email to tcpm-leave@ietf.org >
- [tcpm] Fw: New Version Notification for draft-bon… Bonica, Ron
- [tcpm] Re: Fw: New Version Notification for draft… C. M. Heard
- [tcpm] Re: Fw: New Version Notification for draft… Joseph Touch
- [tcpm] Re: Fw: New Version Notification for draft… Richard Scheffenegger
- [tcpm] Re: Fw: New Version Notification for draft… Tony Li
- [tcpm] Re: Fw: New Version Notification for draft… C. M. Heard
- [tcpm] Re: New Version Notification for draft-bon… Joe Touch
- [tcpm] Re: New Version Notification for draft-bon… C. M. Heard
- [tcpm] Re: New Version Notification for draft-bon… Joe Touch
- [tcpm] Re: New Version Notification for draft-bon… C. M. Heard
- [tcpm] Re: New Version Notification for draft-bon… Joseph Touch
- [tcpm] Re: New Version Notification for draft-bon… Joseph Touch
- [tcpm] Re: New Version Notification for draft-bon… Michael Tuexen
- [tcpm] Re: New Version Notification for draft-bon… Joe Touch
- [tcpm] Re: New Version Notification for draft-bon… Michael Tuexen
- [tcpm] Re: New Version Notification for draft-bon… Joe Touch
- [tcpm] Re: New Version Notification for draft-bon… Bonica, Ron
- [tcpm] Re: New Version Notification for draft-bon… C. M. Heard
- [tcpm] Re: New Version Notification for draft-bon… Michael Tuexen
- [tcpm] Re: New Version Notification for draft-bon… Joe Touch
- [tcpm] Re: New Version Notification for draft-bon… Bonica, Ron
- [tcpm] Re: New Version Notification for draft-bon… Joe Touch
- [tcpm] Re: New Version Notification for draft-bon… Bonica, Ron
- [tcpm] TCP Option Length Bit Shifting (was: New V… Bonica, Ron
- [tcpm] Re: TCP Option Length Bit Shifting Richard Scheffenegger
- [tcpm] Re: TCP Option Length Bit Shifting Bonica, Ron
- [tcpm] Re: TCP Option Length Bit Shifting Michael Tuexen
- [tcpm] Re: TCP Option Length Bit Shifting Richard Scheffenegger
- [tcpm] Re: TCP Option Length Bit Shifting Michael Tuexen
- [tcpm] Re: TCP Option Length Bit Shifting Bonica, Ron
- [tcpm] Re: TCP Option Length Bit Shifting Michael Tuexen
- [tcpm] Re: TCP Option Length Bit Shifting Bonica, Ron
- [tcpm] Re: TCP Option Length Bit Shifting Michael Tuexen
- [tcpm] Re: TCP Option Length Bit Shifting Richard Scheffenegger
- [tcpm] Re: TCP Option Length Bit Shifting Bonica, Ron
- [tcpm] Re: TCP Option Length Bit Shifting C. M. Heard
- [tcpm] Re: TCP Option Length Bit Shifting Bonica, Ron
- [tcpm] Re: TCP Option Length Bit Shifting Michael Tuexen
- [tcpm] Re: TCP Option Length Bit Shifting C. M. Heard
- [tcpm] Re: TCP Option Length Bit Shifting Michael Tuexen
- [tcpm] Re: TCP Option Length Bit Shifting Bonica, Ron
- [tcpm] Re: TCP Option Length Bit Shifting C. M. Heard
- [tcpm] Re: TCP Option Length Bit Shifting Richard Scheffenegger
- [tcpm] Re: TCP Option Length Bit Shifting (was: N… Michael Tuexen