Network Working Group N. Dixit Limaye Internet-Draft A. Vasylevskyi Intended status: Standards Track P. Dubovitsky Expires: 4 June 2027 Meta Platforms, Inc. 1 December 2026 Connection Identifier Routing for TCP (TCP-CID) draft-dubovitsky-tcpm-cid-routing-00 Abstract Changes in forwarding decisions, load balancer availability, backend membership, or local flow state can send packets of an established TCP connection to a backend that lacks its TCP state. TCP-CID defines a TCP option carrying an opaque, backend-selected Connection Identifier (CID). A client advertises support, accepts one CID selected during the handshake, and echoes it on eligible later segments. Assignment preferably uses SYN-ACK; option-space pressure can defer delivery until after establishment. A participating load balancer uses a valid CID in an unfragmented IP packet to select the original backend independently of its ordinary selection algorithm. Directly decodable profiles do not require synchronized per-connection state across load balancers. Protection depends on CID carriage and resolution, backend reachability, and retained TCP state. Packets without a usable CID use ordinary routing. TCP-CID changes neither TCP tuples nor connection acceptance, provides no migration, and does not guarantee connection survival. Its option format is identical over IPv4 and IPv6. Status of This Memo This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79. Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet- Drafts is at https://datatracker.ietf.org/drafts/current/. Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress." This Internet-Draft will expire on 4 June 2027. Dixit Limaye, et al. Expires 4 June 2027 [Page 1] Internet-Draft TCP-CID December 2026 Copyright Notice Copyright (c) 2026 IETF Trust and the persons identified as the document authors. All rights reserved. This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/ license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Revised BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Revised BSD License. Table of Contents 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 3 1.1. Requirements Language and Terms . . . . . . . . . . . . . 5 2. Wire Format . . . . . . . . . . . . . . . . . . . . . . . . . 5 2.1. Header and Option Parsing . . . . . . . . . . . . . . . . 5 2.2. CID_SUPPORTED (SubType 0x1) . . . . . . . . . . . . . . . 6 2.3. CID_ASSIGN (SubType 0x2) . . . . . . . . . . . . . . . . 7 2.4. CID_ECHO (SubType 0x3) . . . . . . . . . . . . . . . . . 7 2.5. Reserved SubType 0x4 . . . . . . . . . . . . . . . . . . 8 2.6. Option Space . . . . . . . . . . . . . . . . . . . . . . 8 3. Endpoint Behavior . . . . . . . . . . . . . . . . . . . . . . 8 3.1. States and TCP Acceptance . . . . . . . . . . . . . . . . 8 3.2. Initial Decision and SYN Retransmissions . . . . . . . . 9 3.3. Delivery and Acceptance . . . . . . . . . . . . . . . . . 10 3.4. Echoing and Option Space . . . . . . . . . . . . . . . . 11 3.5. Timeout Fallback . . . . . . . . . . . . . . . . . . . . 12 4. Load Balancer Behavior . . . . . . . . . . . . . . . . . . . 12 4.1. Eligible Packets and Destination Selection . . . . . . . 12 4.2. Cache Learning and Work Limits . . . . . . . . . . . . . 14 4.3. Conformance . . . . . . . . . . . . . . . . . . . . . . . 14 5. CID Profile and Lifetime . . . . . . . . . . . . . . . . . . 14 5.1. Shared Profile . . . . . . . . . . . . . . . . . . . . . 14 5.2. Retention . . . . . . . . . . . . . . . . . . . . . . . . 16 6. Security Considerations . . . . . . . . . . . . . . . . . . . 16 6.1. CID Replay and Authorization . . . . . . . . . . . . . . 16 6.2. Client Data . . . . . . . . . . . . . . . . . . . . . . . 17 6.3. Exposure and Records . . . . . . . . . . . . . . . . . . 17 7. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 18 7.1. TCP Option Kind . . . . . . . . . . . . . . . . . . . . . 18 7.2. TCP-CID SubType Registry . . . . . . . . . . . . . . . . 18 8. Acknowledgements . . . . . . . . . . . . . . . . . . . . . . 19 9. References . . . . . . . . . . . . . . . . . . . . . . . . . 19 9.1. Normative References . . . . . . . . . . . . . . . . . . 19 Dixit Limaye, et al. Expires 4 June 2027 [Page 2] Internet-Draft TCP-CID December 2026 9.2. Informative References . . . . . . . . . . . . . . . . . 20 Appendix A. Experimental Encoding and Option Budgets . . . . . . 21 A.1. Experimental Encoding (Normative) . . . . . . . . . . . . 21 A.2. Option Budget Examples (Informational) . . . . . . . . . 22 Appendix B. Transport Extensions and Path Limitations . . . . . 25 B.1. Option Precedence, Timestamps, SACK, and MSS . . . . . . 25 B.2. TCP Fast Open . . . . . . . . . . . . . . . . . . . . . . 26 B.3. TCP-AO and TCP MD5 . . . . . . . . . . . . . . . . . . . 26 B.4. Multipath TCP . . . . . . . . . . . . . . . . . . . . . . 26 B.5. SYN Cookies . . . . . . . . . . . . . . . . . . . . . . . 27 B.6. Stripping, Dropping, and Fallback . . . . . . . . . . . . 27 Appendix C. Deployment Guidance . . . . . . . . . . . . . . . . 28 C.1. Readiness and Ordinary TCP Paths (Normative) . . . . . . 28 C.2. Stronger Affinity Claims (Informational) . . . . . . . . 28 C.3. Required Instrumentation (Normative) . . . . . . . . . . 29 C.4. Bounded LB Work (Normative) . . . . . . . . . . . . . . . 30 C.5. Local API Considerations (Informational) . . . . . . . . 30 C.6. Collision-Budget Illustration (Informational) . . . . . . 30 C.7. Architecture Alternatives (Informational) . . . . . . . . 31 Appendix D. Conformance Examples (Informational) . . . . . . . . 32 D.1. Isolated Option Vectors . . . . . . . . . . . . . . . . . 32 D.2. Complete Option-Area Vectors . . . . . . . . . . . . . . 36 D.3. Assignment Timing . . . . . . . . . . . . . . . . . . . . 38 D.4. Additional Conformance Scenarios . . . . . . . . . . . . 38 Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 39 1. Introduction A Layer 4 load balancer ordinarily selects a backend using the connection's address/port tuple and its configured selection policy. Changes in network forwarding, load balancer availability, backend membership, or local flow state can redirect an established connection to a backend that does not hold its TCP state. Selection algorithms can reduce such changes, but do not guarantee affinity across every infrastructure change. A local flow cache provides affinity where a valid binding is available. Another ingress load balancer may lack that binding, and an existing binding may be stale. Distributing per-connection bindings adds synchronization, scalability, consistency, and operational costs. These limitations can arise with different traffic distribution algorithms and network topologies. TCP-CID carries backend-selected routing information through the client. The client offers support in SYN, accepts one CID, and echoes it on eligible client-to-server segments. Participating load balancers resolve the CID before applying their tuple cache or ordinary selection policy. Issuers and load balancers share a Dixit Limaye, et al. Expires 4 June 2027 [Page 3] Internet-Draft TCP-CID December 2026 deployment profile; the client treats the CID as opaque. Directly decodable profiles avoid synchronized per-connection bindings at the load balancers. Indirect profiles depend on distributed CID mappings. Optional Client Data supplies deployment-specific SYN metadata primarily for the passive opener's initial decision whether to issue a CID. A backend can combine that metadata with its own deployment knowledge and decline issuance for a connection even when it supports TCP-CID. Client Data can also inform an optional load balancer policy for initial selection; it establishes neither authorization nor path readiness. QUIC connection IDs [RFC9000] and QUIC-LB [QUIC-LB] provide architectural precedents for separating routing information from ordinary packet selection. TCP-CID retains TCP connection semantics and does not import QUIC connection migration. The Session Identifier Option [SIO] similarly lets endpoints publish identifiers for on-path network functions; TCP-CID differs in using a single backend-issued opaque CID with deployment-profile security requirements, deferred assignment, and explicit load balancer forwarding precedence. Appendix C.7 relates CID routing to the existing KDE direct-backend architecture and identifies the boundary for future extensions. The protocol applies to ordinary active/passive TCP opens and assigns a CID only for the client-to-server direction. It does not change TCP connection lookup, acceptance, or authentication. It defines neither migration, backend state transfer, CID rotation/retirement, simultaneous open, nor a portable socket API. CID routing protects only eligible, unfragmented packets arriving with a resolvable CID. Omission, stripping, dropping, an unsupported load balancer, or unavailable routing state can remove that protection. The original backend must remain reachable and retain TCP state. A later CID-bearing packet cannot reverse an accepted reset. Appendix C describes the additional conditions for stronger deployment claims. Sections 2 through 6 specify the protocol. Appendix A defines experimental framing and gives option-budget examples. Appendix B covers TCP extensions and path limits; Appendix C contains deployment requirements and guidance; Appendix D provides conformance examples. Normative appendix material is identified explicitly. Dixit Limaye, et al. Expires 4 June 2027 [Page 4] Internet-Draft TCP-CID December 2026 1.1. Requirements Language and Terms The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here. The CID issuer is the passive TCP endpoint (the backend). The echoer is the active endpoint (the client). A load balancer forwards segments without terminating TCP. A CID is the issuer's opaque routing hint; Client Data is a separate, optional blob in the support advertisement. Advertising support does not itself negotiate a CID: the client has negotiated a CID only after accepting its first CID_ASSIGN. 2. Wire Format 2.1. Header and Option Parsing Support advertisement, assignment, and echo share one Kind because they form one protocol. SubType identifies the message and its payload rules. Unassigned subtype values allow related future specifications to reuse this framing without necessarily allocating another TCP Option Kind; the common Kind alone does not negotiate a new capability. TCP-CID uses one TCP Option Kind. The high four bits of the control octet are SubType; the low four bits are Flags. The assigned-kind header is: +--------+--------+---------------+-------------------+ | Kind | Length | SubType:Flags | Payload ... | +--------+--------+---------------+-------------------+ 1 B 1 B 1 B Length counts the complete option. H is the header length: 3 for the assigned Kind. Until a Kind is allocated, implementations MUST use [RFC6994] experimental framing as specified in Appendix A.1, which defines the experimental header lengths. Each segment MUST contain at most one option matching the negotiation's Kind/ExID. Multiple matching options make TCP-CID absent for that segment, even if identical. An unknown SubType or a recognized message with invalid Length or payload MUST be ignored, subject to this duplicate rule. Dixit Limaye, et al. Expires 4 June 2027 [Page 5] Internet-Draft TCP-CID December 2026 An option matches when its Kind equals the negotiated Kind and, for experimental framing, its Length covers a complete ExID equal to the configured ExID (Appendix A.1). Matching is determined independently of the control octet, SubType, Flags, and payload: a matching option that lacks the control octet, carries an unknown or reserved SubType, or has a Length or payload invalid for its subtype still counts toward the duplicate rule. An experimental option whose Length does not cover a complete ExID does not match. The outer parser MUST treat NOP (Kind 1) and EOL (Kind 0) as one- octet options without Length. NOP advances one octet; EOL ends the list. Bytes after EOL are TCP padding. For every other Kind, a Length octet MUST exist, Length MUST be at least two, and the declared option MUST fit within the TCP header before the parser advances. A TCP-CID candidate must also contain its complete header and satisfy its subtype's bounds. A receiver MUST finish scanning through EOL or the TCP header boundary before exposing Client Data or applying CID-derived forwarding, cache, or metadata effects. A malformed outer list invalidates every candidate; neither a later malformed option nor a duplicate matching option may leave an effect from an earlier candidate. Ordinary TCP padding and segment-validation rules still apply. 2.2. CID_SUPPORTED (SubType 0x1) The active opener sends CID_SUPPORTED only on SYN without ACK. It is invalid on SYN-ACK and on segments without SYN. Support permits, but does not require, assignment. Client Data is optional metadata for the passive opener's initial CID issuance decision (Section 3.2). For example, a profile may describe the client's network environment, location, or firewall boundary. CID routing readiness can depend on that environment, the destination VIP, and deployment readiness known to the backend. The backend can therefore decline issuance for a particular connection while retaining support for other connections. These are deployment- specific policy inputs, not standardized field meanings or independent proof of path readiness. Flags bit 0 (mask 0x01), M, indicates a one-octet MaxCIDLen immediately after the header. With M=0, that octet is absent and the effective maximum is 20. With M=1, MaxCIDLen MUST be 8 through 20 inclusive. Implementations MUST send Flags bits 1-3 as zero and MUST ignore them on receipt. Only M changes the layout; control is 0x10 or 0x11 when the other bits are zero. Dixit Limaye, et al. Expires 4 June 2027 [Page 6] Internet-Draft TCP-CID December 2026 All remaining payload is one opaque Client Data blob. Let m be 0 or 1 according to M, and C be the blob length: Length = H + m + C C = Length - H - m Receivers MUST validate the option bounds and Length >= H + m before parsing MaxCIDLen or exposing Client Data. A missing, truncated, or out-of-range explicit maximum invalidates the advertisement. They MUST NOT guess at absent fields or read a data byte as MaxCIDLen when M=0. C=0 means no Client Data. There is no data-presence flag or separate data length. Bytes such as 0x00 and 0x01 inside the blob are data, not nested TCP options or padding. The advertised maximum MUST allow CID_ECHO to fit on the planned final ACK with its required options. M=0 is permitted only if a 20-octet CID fits that budget. Otherwise the opener MUST advertise a smaller safe maximum, or omit support if no CID of at least eight octets fits. A maximum is an upper bound, not a requested CID length; later delivery does not relax this requirement. Future support flags MUST preserve the base layout, M and effective- maximum rules, and Client Data boundaries and interpretation for receivers that ignore them. They MUST define valid fallback without flag recognition. Behavior requiring recognition MUST be explicitly negotiated. CID_ASSIGN acknowledges CID negotiation, not additional flags or Client Data processing. Client Data is SYN-only and is not returned in assignment or echo; its profile, security, and privacy rules are in Sections 5 and 6. 2.3. CID_ASSIGN (SubType 0x2) The passive opener sends CID_ASSIGN in response to valid support, in SYN-ACK or through Section 3.3's later-delivery path. Its payload is the selected CID, eight octets through the peer's effective maximum; Length is H + len(CID). All Flags are reserved, sent as zero and ignored on receipt. Selection, retransmission, and acceptance rules are in Section 3. 2.4. CID_ECHO (SubType 0x3) CID_ECHO contains the accepted CID, unchanged octet-for-octet. Length is H + len(CID). All Flags are reserved, sent as zero and ignored on receipt. Only the active opener echoes; the passive opener MUST NOT send CID_ECHO. It is eligible on every non-SYN segment of the connection, including ACK-only traffic, data, retransmissions, FIN, and RST generated from retained connection state. An RST without that state has no CID guarantee. Dixit Limaye, et al. Expires 4 June 2027 [Page 7] Internet-Draft TCP-CID December 2026 2.5. Reserved SubType 0x4 SubType 0x4 is reserved for future specification. Implementations of this revision MUST NOT send it and MUST ignore it on receipt. No CID_RETIRE message is defined. Section 7.2 lists all subtype values. 2.6. Option Space TCP has at most 40 octets of option space, including alignment and padding. TCP-CID can be carried throughout a connection, so the two or four additional octets of experimental framing recur on each assignment or echo. Those octets can prevent CID carriage beside required TCP extensions. Appendix A.2 quantifies the effect for several CID lengths and layouts. A dedicated Kind reduces this pressure but cannot guarantee carriage. Section 3.4 preserves required-option precedence. 3. Endpoint Behavior 3.1. States and TCP Acceptance Ordinary TCP validation, authentication, and tuple demultiplexing precede endpoint CID control processing. A CID MUST NOT change the tuple, segment acceptance, sequence/ACK processing, congestion or flow control, RST validation, authentication, or authorization. Segments rejected by TCP MUST NOT change CID state. Negotiation failure or a missing echo MUST NOT prevent ordinary establishment or cause a CID-specific reset. An endpoint that detects TCP simultaneous open MUST enter DISABLED for that open. From that point, it MUST disregard received CID_SUPPORTED and CID_ASSIGN and MUST NOT send CID_SUPPORTED, CID_ASSIGN, or CID_ECHO. CID_SUPPORTED sent before detection does not violate this rule. Ordinary TCP simultaneous-open processing continues unchanged. The CID states are: DISABLED No valid support, declined negotiation, expired wait, or detected simultaneous open. PENDING Issuer making its initial decision, or client waiting. ASSIGNED One CID selected or accepted, possibly not yet delivered. FALLBACK Client retains its CID but has stopped echoing it. These are separate from TCP states. DISABLED cannot be re-enabled within the open, and FALLBACK cannot re-enable echoing. The accepted CID remains fixed until TCP state is discarded. Dixit Limaye, et al. Expires 4 June 2027 [Page 8] Internet-Draft TCP-CID December 2026 3.2. Initial Decision and SYN Retransmissions The active opener snapshots M, encoding, effective maximum, and Client Data for its open. It MUST keep them unchanged on retransmitted SYNs until it withdraws support under Section 3.5; it MUST NOT update those fields within the open. The passive opener's eligibility is fixed by its first SYN accepted by TCP. No valid support means DISABLED; later duplicates MUST NOT enable it. With valid support, it snapshots the same fields and CID policy before the initial issuance decision. It selects at most one CID meeting Section 5's profile and the peer's maximum. The issuer MUST decline assignment rather than postpone the initial issuance decision if the source is absent or exhausted, the maximum is incompatible, or no compliant CID fits a permitted assignment segment. The issuer MUST NOT truncate a CID, weaken the profile, or substitute a shorter incompatible CID. An issuance or deferred-delivery decision is made before the first SYN-ACK. Success enters ASSIGNED, even when delivery is deferred; decline enters DISABLED. Equivalent SYN retransmissions retain the original decision, CID, and encoding; they MUST NOT allocate another CID or reinterpret Client Data. Ignored Flags bits are excluded from comparison: changes only to those bits MUST NOT alter eligibility, the CID, or the decision when M, encoding, maximum, and Client Data are unchanged. While the passive TCP open is pending, on an otherwise accepted duplicate SYN, absent or invalid support is withdrawal. Invalid support includes a bad or truncated maximum, duplicate matching options, or a candidate invalidated by the outer scan. Changed M, encoding, maximum, or Client Data also disables assignment. Once DISABLED, later duplicates MUST NOT enable it. Accepting the completing ACK retains DISABLED or ASSIGNED; an issuer still PENDING enters DISABLED and establishes without assignment. A SYN-cookie implementation MUST preserve the support snapshot, original selected CID, and policy/issuance decision for either delivery path, or decline assignment. Appendix B gives the cookie and other TCP-extension requirements. Dixit Limaye, et al. Expires 4 June 2027 [Page 9] Internet-Draft TCP-CID December 2026 3.3. Delivery and Acceptance The issuer SHOULD deliver its selected CID in SYN-ACK when required options leave space. If only the SYN-ACK budget is insufficient, it MAY defer delivery of that same CID, provided a planned eligible server segment can carry it. The issuer MUST preserve CID bytes and encoding on all assignment transmissions unless assignment is disabled. After TCP establishment, an eligible issuer MAY send CID_ASSIGN on an ordinary ACK-only or data-bearing segment with ACK set and SYN, FIN, and RST clear. It SHOULD use the first such segment with space. Until an ordinarily accepted matching CID_ECHO is observed, it MAY repeat the same assignment on later eligible ordinary segments, including data retransmissions and after an unconfirmed SYN-ACK assignment. Delivery attempts MUST have a documented positive, finite interval starting at TCP establishment. A PENDING client with unwithdrawn support accepts its first CID_ASSIGN only if its CID length is eight octets through the saved effective maximum, its encoding matches the saved encoding, and the carrying segment passes ordinary TCP checks. This is either a SYN- ACK acceptable to the active open, or an eligible ordinary server segment while the client's TCP state is ESTABLISHED. A supporting client MUST accept an otherwise valid first assignment on the latter. It saves the exact CID and enters ASSIGNED. Invalid or duplicate candidates do not assign a CID. If that client accepts SYN-ACK without a valid assignment, it completes TCP establishment and remains PENDING for a documented positive, finite wait starting at establishment. It MUST send the completing ACK and other traffic without CID_ECHO and MUST NOT delay establishment or application traffic while waiting. At expiry it enters DISABLED without a CID-specific TCP error. A first assignment during closing, after state disposal, or in DISABLED/FALLBACK is not accepted. Client and issuer deadlines need not match; there is no on-wire decline or deferral signal. Once the client accepts its first CID, it MUST ignore every subsequent CID_ASSIGN for CID control, including identical or conflicting values on SYN-ACK retransmissions or established traffic. They MUST NOT replace the CID, disable echoing, or restart negotiation. A duplicate SYN-ACK after establishment cannot supply a first CID; its ordinary TCP response uses the retained CID if echoing remains enabled. Assignment omission on that SYN-ACK does not request that echoing stop. Dixit Limaye, et al. Expires 4 June 2027 [Page 10] Internet-Draft TCP-CID December 2026 The backend MAY observe echoes only after tuple lookup and TCP acceptance. An exact match MAY stop assignment attempts or support diagnostics. It MUST NOT create or select a connection, authenticate or authorize it, or prove LB cache learning from an echo. A missing or different echo does not change TCP state; an ordinary data ACK does not prove option delivery. Expiry stops delivery attempts, not retention of an exposed CID. A missing echo does not prove rejection or nonreceipt. The issuer MUST retain resolution for a previously transmitted assignment that may still be accepted, including a delayed SYN-ACK; Section 5 governs lifetime and delayed-packet retention. 3.4. Echoing and Option Space If assignment was accepted in SYN-ACK, the client MUST include CID_ECHO on the completing ACK when required options leave space. After either delivery path, it SHOULD echo on its next and every later eligible ordinary segment with space. It MUST omit CID_ECHO before assignment, when it does not fit, or in FALLBACK. The complete option area, including alignment NOPs and end padding, cannot exceed 40 octets; the complete TCP header is padded to a multiple of four. Senders MUST count alignment and preserve required authentication and transport options, including negotiated Timestamps, SACK reporting, and required MPTCP control/DSS options. CID uses the remaining space. A sender MUST NOT remove higher- priority options, violate another negotiated extension, or truncate a CID to insert it. This precedence applies equally to original transmissions and retransmissions. If required SYN options leave no room for support, the sender MUST omit support. If unexpected requirements exhaust the completing ACK's space, that ACK proceeds without CID_ECHO. Advertised MSS excludes TCP/IP options [RFC9293]. Endpoints MUST NOT reduce it to reserve CID space. They account for actual IP/TCP headers when sizing data under ordinary MSS/path-MTU rules. Appendix A.2 gives worked budgets; Appendix B specifies interactions with TCP extensions and path limits. Endpoints MUST NOT generate extra ACKs, data, or timer-driven probes solely to deliver or acknowledge assignment or meet an echo quota. Pure ACKs do not become retransmittable. Option pressure or idle traffic can prevent assignment or echo delivery. Dixit Limaye, et al. Expires 4 June 2027 [Page 11] Internet-Draft TCP-CID December 2026 3.5. Timeout Fallback After the first SYN retransmission timeout, the active opener SHOULD withdraw the entire support option, including Client Data. It MUST keep support withdrawn for that open, ignore delayed assignments, and MUST NOT change M, maximum, or Client Data as a fallback update. A passive opener retransmitting a CID-bearing SYN-ACK SHOULD omit CID_ASSIGN after its first handshake timeout; once it does, assignment MUST remain disabled. Already exposed CIDs retain Section 5's lifetime requirements. For retransmittable established traffic, after two consecutive TCP retransmission timeouts without forward progress while echoing CIDs, the client SHOULD enter FALLBACK and omit CID_ECHO on all later transmissions. Another bounded detection policy MUST document its trigger and maximum CID-bearing timeout retries. Implementations MUST NOT require CID on every retransmission in a way that prevents the omission probe. TCP retransmission and congestion-control timers are unchanged. Permanent fallback avoids repeated exposure to a potentially incompatible path, repeated transitions between CID-bearing and ordinary traffic, and additional reactivation states or probes. TCP loss and progress do not reliably identify an option-related failure. Fallback can therefore remove affinity protection even when the original loss was unrelated to TCP-CID. It helps only if ordinary routing reaches the backend with TCP state. Pure ACKs have no local RTO; no bounded detection is provided for dropped ACK-only traffic or FIN/RST without retained retransmission state. Appendix B.6 describes the lost completing-ACK case and other limits; Appendix D supplies conformance examples. 4. Load Balancer Behavior 4.1. Eligible Packets and Destination Selection These LB rules apply only to unfragmented IP packets containing a complete TCP header: IPv4 requires MF clear and Fragment Offset zero; IPv6 requires no Fragment header, including no atomic fragment. For fragments, an LB MUST use its existing fragment policy and MUST NOT perform TCP-CID-derived destination selection, cache learning, or processing of Client Data extracted from the fragment, even if the first fragment contains the complete TCP header. Service and anti- spoofing policy still apply. This restriction does not change ordinary IP fragmentation or endpoint reassembly. Endpoints process an otherwise acceptable reassembled TCP segment under Section 3. Dixit Limaye, et al. Expires 4 June 2027 [Page 12] Internet-Draft TCP-CID December 2026 Before CID selection, an LB MUST apply its service, address, port, access-control, anti-spoofing, and rate-limit policy. Resolution stays within the authorized service. SYNs without ACK, including SYN data, use ordinary initial-flow selection. CID_ECHO MUST NOT select a SYN's backend; CID_ASSIGN and unknown or reserved subtypes MUST NOT select the carrying segment's destination. Valid Client Data in CID_SUPPORTED on a SYN without ACK MAY influence initial selection under the deployment's authorized service and routing policy. It neither proves tuple ownership nor has CID_ECHO semantics. Using Client Data for initial backend selection is optional and is not required for protocol conformance. An LB validates CID_ECHO against its configured Kind/ExID, the complete option list and TCP-header bounds, CID length 8 to 20 octets, and its profile's validation and resolution rules. It need not have observed support or assignment, know the negotiated maximum, or retain endpoint CID state. The negotiated maximum and endpoint state are endpoint checks. An unexpired tuple-cache entry is not necessarily authoritative: local state can be stale or inconsistent with the backend holding the connection. CID validity and resolution identify a candidate destination under the shared profile; they do not by themselves prove association with the current TCP connection. Forwarding authorization also depends on the service and routing policy applied above. Cache learning has the additional association requirement in Section 4.2. For a non-SYN segment, forwarding precedence is: 1. An unambiguous, valid CID_ECHO resolving to a reachable, authorized backend takes precedence over a conflicting tuple cache or hash. 2. Otherwise, use an applicable, unexpired tuple-cache binding. 3. Otherwise, use ordinary selection or fallback. Invalid, duplicate, malformed, revoked, or unresolvable CIDs are treated as absent, counted separately, and MUST NOT create bindings from their purported destinations. Fallback can deliver an established segment to a backend that sends an acceptable RST; the resulting failure need not be recoverable. Appendix C describes affinity conditions and limits. Dixit Limaye, et al. Expires 4 June 2027 [Page 13] Internet-Draft TCP-CID December 2026 4.2. Cache Learning and Work Limits The deployment MUST validate a CID-to-tuple binding for the current connection before cache learning. CID validity alone is insufficient. If that policy accepts the binding, the LB MUST create/update and refresh it before forwarding, subject to bounded admission, replacing a conflicting destination. If admission prevents storing that validated replacement, the LB MUST invalidate the conflicting entry known to be stale and record refusal. If a CID resolves but is untrusted for learning, the LB MUST NOT create, replace, refresh, or invalidate an established binding solely from it. The binding-validation policy governs only cache mutations; forwarding MUST follow Section 4.1, subject to the existing service and routing policy. The LB MUST count any conflict. Binding validation requires deployment evidence or observed handshake state; this option does not supply it. Initial SYN handling and tuple reuse MUST follow ordinary cache lifetime and validation rules. A backend removed from new-flow selection can remain eligible for connections whose TCP state it retains and can serve. LBs MUST check option lengths and complete-header bounds, stop on malformed lists, reject duplicate matching options for CID routing, and bound both successful and failed resolution and cache-admission work. Unresolvable CIDs MUST NOT allocate CID-derived routing state. Reaching a work limit means treating TCP-CID as absent and recording the event. If the complete outer scan has not finished, the LB MUST treat TCP-CID as absent and MUST NOT expose or act on candidate Client Data. The scan ends at EOL or the TCP-header boundary. Resolution, admission, refusals, expiry, conflicts, and fallback MUST be observable; Appendix C specifies instrumentation and deployment coverage. 4.3. Conformance Appendix D gives protocol conformance examples. Appendix C.2 describes the additional conditions for stronger affinity claims. 5. CID Profile and Lifetime 5.1. Shared Profile Clients treat CIDs as opaque. Every issuer and participating LB MUST use a compatible deployment profile, or negotiation MUST be disabled on the affected path. An issuer MUST NOT enable assignment until a shared, reviewed profile defines, for every permitted CID length: Dixit Limaye, et al. Expires 4 June 2027 [Page 14] Internet-Draft TCP-CID December 2026 * A bounded, interoperable resolver, its authorized service/backend namespace, all decoder inputs, key-epoch selection where relevant, and explicit invalid or unresolvable outcomes. * A construction and analysis providing topology confidentiality and unpredictability of unseen CIDs, plus validity checks and explicit forgery and work budgets. * A uniqueness namespace covering at least participating issuers for the service; maximum connection lifetime, delayed-packet retention, per-epoch issuance limits, collision detection or avoidance, and exhaustion behavior. * Key or mapping distribution before issuance, epoch identification, overlapping validity for old connections and delayed traffic, revocation behavior, and limits on retained epochs. * Privacy limits on cross-connection grouping and reuse, without derivation from client-identifying values. A plaintext backend index or address, or a stable per-backend prefix, MUST NOT be exposed. A random suffix does not hide a stable prefix. A reversible keyed construction requires a defined decoder and security analysis; a bare PRF output over backend identity and a hidden nonce does not provide a decoder. An indirect profile installs CID-specific mappings at every LB that may receive the flow before assignment; this adds distributed state rather than stateless resolution. No common encoding, field split, or cryptographic algorithm is specified here. A CID MUST NOT be assigned to two distinct connections in its namespace during its usage/retention interval. Random issuance needs a quantitative collision budget; the profile MUST prevent collisions by allocation or checking, or define bounded collision avoidance. Wire length 8 to 20 alone guarantees neither entropy, integrity, nor fleet capacity. If the profile's issuance/security budget cannot fit the peer's maximum and option budgets, the issuer MUST decline TCP- CID. Keys MUST be restricted to authorized construction and resolution components. The specification requires properties rather than a single construction because backend namespaces, issuance rates, lifetimes, resolver inputs, and key or mapping infrastructure vary by deployment. A wire length of 8 to 20 octets does not mean every deployment can use every length safely. Backend identification, uniqueness, epoch selection, and validity checks compete for construction capacity. For a fixed collision or forgery risk target, shorter CIDs can reduce supported issuance counts or guessing Dixit Limaye, et al. Expires 4 June 2027 [Page 15] Internet-Draft TCP-CID December 2026 attempts, and can limit the number of retained connections or epochs. A profile may need a larger CID and decline a peer whose advertised maximum is too small. Appendix C.6 illustrates capacity assumptions without proposing a construction. 5.2. Retention This revision has no CID rotation or retirement exchange. Except for explicitly authorized revocation under the shared profile, the deployment MUST retain resolution of an issued CID while the connection can use it, including closing/TIME-WAIT and a documented delayed-segment allowance. It MUST NOT remap the CID to another backend or reuse it during that usage/retention interval, even after revocation. Closing a connection does not prove that all packets have disappeared. Stopping delivery attempts or entering fallback does not release an already exposed CID from these requirements. Old resolution keys and indirect mappings MUST be retained for unrevoked CIDs throughout that interval. Stopping issuance or rotating issuance keys does not invalidate already issued CIDs. Epoch labels MUST NOT be reused ambiguously while an old CID could still be accepted. Long-lived connections need a bounded maximum lifetime or retention that accommodates them. A shared profile MAY permit explicitly authorized emergency revocation of a CID, mapping, or resolution key before retention ends. Revoked CIDs MUST NOT be used for CID-derived forwarding or cache learning; Section 4.1 fallback applies. Revocation MUST be exposed as an operational event and can lose affinity or a connection; this revision has no endpoint revocation signal. Backend drains still require the original backend's reachability and TCP state, or mechanisms outside this protocol. 6. Security Considerations 6.1. CID Replay and Authorization A visible CID can be copied and replayed even if it is encrypted and unpredictable. Topology confidentiality, unpredictability, validity, tuple ownership, and connection authentication are separate properties. A CID MUST NOT be treated as a capability, application identity, or authorization token. LBs MUST preserve service/address/ port boundaries, anti-spoofing policy, and rate limits, and MUST enforce aggregate protection for each selected backend across CIDs and tuples. Per-CID limits MAY supplement but do not replace those controls. LBs SHOULD rate-limit sources sending excessive invalid- CID traffic alongside aggregate controls. Dixit Limaye, et al. Expires 4 June 2027 [Page 16] Internet-Draft TCP-CID December 2026 A valid, copied CID can influence an individual packet's destination when it passes profile validation and forwarding policy, even if the CID-to-tuple binding is not trusted for cache learning. Protecting a persistent binding does not prevent this per-packet replay effect. Backend tuple and transport checks can reject misdelivered traffic, but that traffic can still consume forwarding work and backend capacity. Aggregate backend protection, service boundaries, and rate limits address this exposure; CID validity alone does not eliminate it. Backends retain ordinary tuple lookup, sequence/ACK and RST checks, and configured transport authentication. A CID MUST NOT override tuple-based connection lookup. CID routing grants no permission to bypass those checks. A NAT can preserve an existing mapping if the option survives; a changed backend tuple can still cause a reset or drop. TCP-CID provides no migration or general NAT-rebinding guarantee. 6.2. Client Data Client Data is untrusted, replayable, cleartext SYN metadata; opacity supplies neither encryption nor authentication. A consuming profile MUST define bounded parsing, validation, authorized service scope, any required acceptance semantics, schema/version selection, and handling of absent, unknown-version, or invalid data. Receivers MUST NOT infer a schema from arbitrary bytes without a profile rule. The wire protocol supplies no schema or profile identifier. A custom identifier MUST NOT establish authorization or TCP connection identity, and interpretation MUST NOT bypass the service and backend policy applied without Client Data. Profiles MUST treat Client Data as replayable across retransmissions, multiple receivers, and new connections. Those requiring one-shot effects or freshness MUST specify independent replay or idempotency protection. They MUST NOT infer successful or unique processing from CID_ASSIGN, which acknowledges CID negotiation only and guarantees neither Client Data processing nor delivery. Client Data MUST NOT be copied into the CID or used as a client-identifying CID construction input. 6.3. Exposure and Records A CID is visible and stable for its connection lifetime. It can correlate traffic across a changed address or port even when the connection fails. It MUST NOT contain or be derived from client- identifying information. Clients finding this exposure unacceptable SHOULD decline negotiation. Operators SHOULD avoid raw CID logs except for bounded diagnostics and apply access and retention Dixit Limaye, et al. Expires 4 June 2027 [Page 17] Internet-Draft TCP-CID December 2026 controls to those records. Client Data can disclose additional information independently of CID privacy. It is SYN-only and is not echoed later. Implementations SHOULD limit raw Client Data collection and retention to documented profile needs. Appendix B covers extension interactions, including SYN cookies; Appendix C covers deployment safeguards and required instrumentation. 7. IANA Considerations 7.1. TCP Option Kind IANA is requested to assign a variable-length TCP Option Kind for Connection Identifier (TCP-CID), with this document as its reference. A dedicated TCP Option Kind is requested because TCP-CID is intended for use throughout the lifetime of a TCP connection. The additional two or four octets required by the RFC 6994 experimental encoding can prevent CID carriage alongside existing TCP extensions. Omission of CID_ECHO can remove backend affinity protection for the affected segment and may result in connection disruption. Reducing CID length to accommodate experimental framing may also constrain the security, uniqueness, and scalability properties of the CID construction. A dedicated Kind reduces these constraints without displacing required TCP options or weakening deployment profile requirements. Section 2.6 and Appendix A.2 provide the technical rationale and quantitative examples. Until allocation, experiments MUST use the RFC 6994 encoding in Appendix A.1. This draft allocates no experimental Kind or ExID. Early allocation of the TCP Option Kind may be pursued separately under the applicable early-allocation procedures [RFC7120]. The option-space constraints described in Section 2.6 and Appendix A.2 provide the technical motivation for such an allocation. 7.2. TCP-CID SubType Registry IANA is requested to create "TCP-CID Option SubTypes", a 4-bit registry under Specification Required [RFC8126], initially: Dixit Limaye, et al. Expires 4 June 2027 [Page 18] Internet-Draft TCP-CID December 2026 Value Name Reference ------- -------------------------- ---------------------- 0x0 Reserved this document 0x1 CID_SUPPORTED Section 2.2 0x2 CID_ASSIGN Section 2.3 0x3 CID_ECHO Section 2.4 0x4 Reserved (future lifecycle) Section 2.5 0x5-0xE Unassigned this document 0xF Reserved for extension this document Values 0x5-0xE are unassigned and available for future registration under this policy. Values 0x0, 0x4, and 0xF are reserved; this revision defines no message for them. For SubType 0x1, Flags bit 0 (mask 0x01) is M (MaxCIDLen present). Implementations of this revision MUST send bits 1, 2, and 3 as zero and MUST ignore them on receipt. Future definitions follow Section 2.2. For SubTypes 0x2 and 0x3, all Flags are reserved, sent as zero and ignored on receipt. No flag negotiates CID rotation or retirement. The registry is requested within the "Transmission Control Protocol (TCP) Parameters" registry group. Assignments require review by a designated expert and a permanent, readily available public specification [RFC8126]. The expert should confirm that a request preserves the framing and duplicate rules of Section 2.1 and the compatibility requirements of Section 2.2. Future registrants need to specify recognition, negotiation, processing, and fallback behavior consistent with Section 2.2. Appendix C.7 discusses the constraints on future direct-backend extensions. 8. Acknowledgements The authors thank Bharat Parekh, Ranjeeth Dasineni, Udip Pant, and Taruna Agrawal for their contributions. 9. References 9.1. Normative References [RFC2018] Mathis, M., Mahdavi, J., Floyd, S., and A. Romanow, "TCP Selective Acknowledgment Options", RFC 2018, October 1996, . Dixit Limaye, et al. Expires 4 June 2027 [Page 19] Internet-Draft TCP-CID December 2026 [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, March 1997, . [RFC5925] Touch, J., Mankin, A., and R. Bonica, "The TCP Authentication Option", RFC 5925, June 2010, . [RFC6994] Touch, J., "Shared Use of Experimental TCP Options", RFC 6994, August 2013, . [RFC7323] Borman, D., Braden, B., Jacobson, V., and R. Scheffenegger, Ed., "TCP Extensions for High Performance", RFC 7323, September 2014, . [RFC8126] Cotton, M., Leiba, B., and T. Narten, "Guidelines for Writing an IANA Considerations Section in RFCs", BCP 26, RFC 8126, June 2017, . [RFC8174] Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words", BCP 14, RFC 8174, May 2017, . [RFC8684] Ford, A., Raiciu, C., Handley, M., Bonaventure, O., and C. Paasch, "TCP Extensions for Multipath Operation with Multiple Addresses", RFC 8684, March 2020, . [RFC9293] Eddy, W., Ed., "Transmission Control Protocol (TCP)", STD 7, RFC 9293, August 2022, . 9.2. Informative References [RFC9000] Iyengar, J., Ed. and M. Thomson, Ed., "QUIC: A UDP-Based Multiplexed and Secure Transport", RFC 9000, May 2021, . [RFC7120] Cotton, M., "Early IANA Allocation of Standards Track Code Points", BCP 100, RFC 7120, January 2014, . [RFC2385] Heffernan, A., "Protection of BGP Sessions via the TCP MD5 Signature Option", RFC 2385, August 1998, . Dixit Limaye, et al. Expires 4 June 2027 [Page 20] Internet-Draft TCP-CID December 2026 [RFC7413] Cheng, Y., Chu, J., Radhakrishnan, S., and A. Jain, "TCP Fast Open", RFC 7413, December 2014, . [QUIC-LB] Duke, M., Banks, N., and C. Huitema, "QUIC-LB: Generating Routable QUIC Connection IDs", Work in Progress, Internet- Draft, draft-ietf-quic-load-balancers-22, 23 October 2026, . [SIO] Luo, Z., Ed. and H. Yan, "The Session Identifier Option (SIO)", Work in Progress, Internet-Draft, draft-cmcc-tcp- sro-03, 21 October 2026, . [KATRAN-KDE] "Katran DirectEncap (KDE)", . Appendix A. Experimental Encoding and Option Budgets A.1. Experimental Encoding (Normative) Before an assigned Kind exists, experiments MUST use Kind 253 or 254 with an allocated 16- or 32-bit Experiment Identifier (ExID) under [RFC6994]. Merely substituting 253/254 into the assigned-kind format is not valid. This draft allocates no Kind or ExID. +--------+--------+------------+---------------+-----------+ |253/254 | Length | ExID (E B) | SubType:Flags | Payload...| +--------+--------+------------+---------------+-----------+ The ExID immediately follows Kind/Length, in network byte order. E is 2 or 4 octets; the header length H = 3 + E is therefore 5 or 7. Length includes Kind, Length, ExID, SubType/Flags, and payload. CID_SUPPORTED occupies H + m + C octets; CID_ASSIGN and CID_ECHO occupy H + len(CID). Their payloads and processing are unchanged from Section 2 and Section 3. [RFC6994] requires an ExID used on a connection to be present in its SYN segments. Under experimental framing, CID_SUPPORTED carries the ExID in the active opener's SYN; this document treats that as satisfying [RFC6994, Section 3.2], so a deferred CID_ASSIGN can follow a SYN-ACK that carries no ExID. [RFC6994] also recommends 16-bit ExIDs unless 32 bits are specifically motivated. Dixit Limaye, et al. Expires 4 June 2027 [Page 21] Internet-Draft TCP-CID December 2026 Participants MUST agree on Kind, ExID, ExID width, and wire format. An unmatched ExID is not a TCP-CID option. Assigned and experimental encodings MUST NOT be mixed within one negotiation. Incompatible experimental formats MUST use distinct ExIDs or equivalent deployment isolation. Receivers MUST NOT infer a wire revision from Length, the first payload byte, or a draft revision suffix. Complete-header, outer-list, subtype, and duplicate validation in Section 2 also applies to experimental options. A.2. Option Budget Examples (Informational) A denotes the assigned Kind; X16 and X32 use 16-bit and 32-bit ExIDs, respectively. CIDn denotes an n-octet CID. A/X16/X32 use H=3/5/7; CIDs remain 8..20 octets. Support is H+m+C, where M is Flags bit 0 and m is 0/1. Assignment/echo is H+CID length. Option Length excludes outside-option NOPs and end padding. Packed totals below are theoretical: no internal NOPs, one final rounding to four octets. Values over 40 do not fit. Raw option sizes: MSS4, SACK-Permitted2 (SP), WS3, negotiated TS10, SACK=2+8*n, TFO=2+cookie length, MD5=18, MP_CAPABLE SYN/SYN-ACK/final ACK=4/12/20. MP_CAPABLE20 applies to the data-free initial-subflow final ACK. The table does not assume SACK reporting on a handshake packet. Each CID column gives padded A/X16/X32 option-area octets. In SYN- ACK rows, base is MSS/SP/WS/TS; noTS omits TS. MP denotes MP_CAPABLE. Dixit Limaye, et al. Expires 4 June 2027 [Page 22] Internet-Draft TCP-CID December 2026 Required options / segment CID8 CID12 CID16 CID20 ----------------------------------------------------------------- No other ACK options 12/16/16 16/20/20 20/24/24 24/28/28 ACK: TS 24/24/28 28/28/32 32/32/36 36/36/40 ACK: TS + SACK1 32/36/36 36/40/40 40/44/44 44/48/48 ACK: TS + SACK2 40/44/44 44/48/48 48/52/52 52/56/56 ACK: TS + SACK3 48/52/52 52/56/56 56/60/60 60/64/64 ACK: TS + SACK4 (*) 56/60/60 60/64/64 64/68/68 68/72/72 ACK: SACK1, no TS 24/24/28 28/28/32 32/32/36 36/36/40 ACK: SACK2, no TS 32/32/36 36/36/40 40/40/44 44/44/48 ACK: SACK3, no TS 40/40/44 44/44/48 48/48/52 52/52/56 ACK: SACK4, no TS 48/48/52 52/52/56 56/56/60 60/60/64 SYN-ACK: MSS/SP/WS 20/24/24 24/28/28 28/32/32 32/36/36 SYN-ACK: MSS/SP/WS/TS 32/32/36 36/36/40 40/40/44 44/44/48 SYN-ACK: base + MP12 44/44/48 48/48/52 52/52/56 56/56/60 SYN-ACK: noTS + MP12 32/36/36 36/40/40 40/44/44 44/48/48 Final ACK: TS + MP20 44/44/48 48/48/52 52/52/56 56/56/60 Final ACK: noTS + MP20 32/36/36 36/40/40 40/44/44 44/48/48 Final ACK: TS + MD5 40/44/44 44/48/48 48/52/52 52/56/56 (*) TS+SACK4 alone needs 44 padded octets and cannot fit; reducing SACK blocks is ordinary transport budgeting, independent of TCP-CID. TS+SACK3 alone needs 36; SACK4 without TS needs 36. Neither leaves room for even CID8. Required reporting retains precedence over CID. Packed examples where the assigned Kind fits and an experimental form does not: TS+SACK2+CID8: A40 fits; X16/X32=44/44 do not. TS+SACK1+CID16: A40 fits; X16/X32=44/44 do not. Baseline SYN-ACK+CID16: A40/X16=40 fit; X32=44 does not. No-TS SACK3+CID8: A40/X16=40 fit; X32=44 does not. Packed SYN support (same baseline MSS/SP/WS/TS = 19 raw octets): M C A X16 X32 - -- --- --- --- 0 0 24 24 28 0 1 24 28 28 0 4 28 28 32 1 0 24 28 28 1 1 24 28 28 1 4 28 32 32 All eight packed MSS-present SYN/SYN-ACK base combinations: The support columns are minimal M=0,C=0; assignment columns are CID20. Dixit Limaye, et al. Expires 4 June 2027 [Page 23] Internet-Draft TCP-CID December 2026 Required options Raw Support A/X16/X32 Assign A/X16/X32 MSS 4 8/12/12 28/32/32 MSS/TS 14 20/20/24 40/40/44 MSS/WS 7 12/12/16 32/32/36 MSS/WS/TS 17 20/24/24 40/44/44 MSS/SP 6 12/12/16 32/32/36 MSS/SP/TS 16 20/24/24 40/44/44 MSS/SP/WS 9 12/16/16 32/36/36 MSS/SP/WS/TS 19 24/24/28 44/44/48 These support fits are not permission to advertise: the planned final ACK must also fit the advertised maximum with its required options. M=0 always means maximum20. With a smaller safe bound, use M=1 with a valid explicit maximum8..20, or omit support if no CID8 fits. The maximum is an upper bound, not a request for that CID length. Later assignment does not waive the planned-final-ACK requirement. Packed initial-subflow MP_CAPABLE plus TS needs 44/44/48 with CID8 on SYN-ACK and on the data-free final ACK. That planned final ACK prevents support advertisement. Without TS, MP_CAPABLE20+CID8 takes 32/36/36, but its maximum CID lengths are 17/15/13, not 20. A SYN with baseline19+TFO cookie16 (TFO18) has 37 other octets. Minimal support M=0,C=0 is 40/44/44: only A fits, contingent on a safe maximum20 in the planned final ACK. M=1,C=0 is 44/44/48; M=0,C=1 is 44/44/48 as well. The one-octet field/data cost can cross padding. TS-only CID20 assignment/echo needs 36/36/40. Baseline SYN-ACK with CID20 needs 44/44/48; its largest fitting CID lengths are 18/16/14. A compatible profile can select a shorter permitted CID or defer the same CID20 to a fitting eligible ordinary segment. Do not truncate a CID or weaken the profile. No delivery or affinity guarantee follows. TS10+MD518 leaves raw CID capacities9/7/5; only A has a valid length (8 or 9). The baseline SYN19+MD518+explicit A support4 is 41 raw octets and cannot advertise support. AO uses its configured MAC size. Illustrative NOP and alignment layouts (not observed stack behavior): NOP2: insert exactly two NOPs before each TS and each SACK report. Start4: insert 0..3 NOPs before each option to align its Kind to a four-octet boundary. This is only one legal layout choice. Both schemes pad the complete area once after the final option. Orders are MSS,SP,WS,TS,other extensions,CID for handshake examples; TS,SACK,MP_CAPABLE,MD5,CID for ACK examples. No universal ordering or requirement to align every option is asserted. Dixit Limaye, et al. Expires 4 June 2027 [Page 24] Internet-Draft TCP-CID December 2026 Layout Packed NOP2 Start4 A/X16/X32 A/X16/X32 A/X16/X32 SYN support M=0,C=0 24/24/28 24/28/28 28/32/32 SYN-ACK CID12 36/36/40 36/40/40 40/44/44 ACK TS+CID8 24/24/28 24/28/28 24/28/28 ACK TS+SACK2+CID8 40/44/44 44/48/48 44/48/48 ACK TS+CID20 36/36/40 36/40/40 36/40/40 A literal SYN layout MSS4+SP2+TS10+NOP1+WS3 uses 20 octets before CID (not packed19). A TS-only A/CID8 layout is NOP,NOP,TS10,CID11, then one zero padding octet: 12+11+1=24. X16 adds CID13 and needs three zero padding octets: 12+13+3=28. The bytes in CID or Client Data are never outer NOPs/EOL; only outside-option bytes are padding. TS+SACK2+CID8 fits A in the packed table but fails A in both declared illustrative layouts. Always budget actual internal NOPs and padding. Required authentication, negotiated TS, required SACK reporting and MPTCP control/DSS retain precedence on originals and retransmissions. Omit CID when it does not fit; never remove required options to fit it. Do not reduce advertised MSS to reserve option space; size actual data using the actual IP/TCP headers and normal MSS/path-MTU rules. Appendix B. Transport Extensions and Path Limitations This appendix contains normative extension and fallback requirements. Failure descriptions explain their limits; they do not promise progress or affinity on every path. Endpoint states and acceptance are defined in Section 3. B.1. Option Precedence, Timestamps, SACK, and MSS The complete-list limit, required-option precedence, alignment, and safe planned-final-ACK maximum are specified in Section 3. Timestamps, window scale, and SACK retain their semantics; sustained SACK reporting can prevent CID inclusion on ACK-only traffic for an arbitrary interval. Appendix A.2 gives worked budgets, not universal fitting layouts. Timestamp and Window Scale behavior remains specified by [RFC7323]; SACK option semantics remain specified by [RFC2018]. The option- space examples do not modify those extensions. Advertised MSS excludes TCP/IP options [RFC9293, Section 3.7.1]. Section 3 requires ordinary sizing for actual IP/TCP headers and forbids reserving CID space through advertised MSS. Payload cost includes complete padding and is not merely len(CID). Dixit Limaye, et al. Expires 4 June 2027 [Page 25] Internet-Draft TCP-CID December 2026 The option budget is identical over IPv4 and IPv6; IPv6 base-header overhead affects data capacity, not this limit. LB protection is limited to unfragmented traffic under Section 4, without changing endpoint reassembly or subsequent ordinary TCP/CID acceptance. A CID MUST NOT override tuple-based connection lookup. NAT rebinding may still break TCP demultiplexing and correlate otherwise changed tuples; this protocol provides no migration (see Section 6). B.2. TCP Fast Open Senders MUST preserve required TFO/other options and omit support if the actual SYN list cannot fit. M=0 remains permitted only with a safe planned-final-ACK maximum of 20. TFO SYN data has no CID routing protection, is distinct from Client Data, and keeps [RFC7413] duplicate-handling semantics. Assignment neither protects earlier data nor confirms that Client Data was honored. Cookie budgets are in Appendix A.2. B.3. TCP-AO and TCP MD5 With TCP-AO [RFC5925], deployments MUST determine whether TCP-CID is covered by the configured option-exclusion policy. Exclusion leaves CID contents without that integrity protection and subject to Section 6. Inclusion is consistent with per-segment MAC computation despite changing CID_ECHO content; implementers SHOULD verify their stack behavior. The LB is not a TCP-AO party and cannot validate that MAC; CID routing supplies no authentication. TCP MD5 [RFC2385] excludes TCP options from its digest, so it does not integrity-protect TCP-CID contents. Ordinary signature computation and verification remain unchanged. Its 18-octet option, and TCP-AO with the actual configured MAC length, consume space under Appendix B.1. B.4. Multipath TCP A client MUST budget the whole handshake, not just SYN. The sizes and incompatible timestamp-bearing example are in Appendix A.2. Later assignment does not override the planned-final-ACK maximum. This revision permits negotiation only on the initial subflow using ordinary active/passive open. Support/assignment MUST NOT be sent on MP_JOIN subflows. Section 3.1 specifies TCP-CID behavior when simultaneous open is detected. An initial-subflow CID MUST NOT be applied to another subflow. Required MPTCP control and DSS options retain precedence and can force omission [RFC8684]. Dixit Limaye, et al. Expires 4 June 2027 [Page 26] Internet-Draft TCP-CID December 2026 B.5. SYN Cookies A backend using SYN cookies SHOULD omit CID_ASSIGN unless its documented cookie/CID design can reconstruct the original selected CID and preserve M, effective maximum, and any Client Data-dependent policy or issuance decision needed for consistency. The design must satisfy length, uniqueness, retransmission, and retention requirements for SYN-ACK and later delivery. If it cannot preserve those decisions, it MUST decline assignment rather than invent a CID or reinterpret Client Data on the completing ACK. Later delivery is permitted only after ordinary cookie validation establishes TCP and the original delivery decision remains eligible. Cookies need not retain or expose arbitrary Client Data unless the documented profile requires it; CID_ECHO does not carry that data and cannot reconstruct it. A completing ACK without echo MUST still be accepted when ordinary cookie validation succeeds. Assignment cannot be required for cookie validation. Decline preserves TCP establishment without guaranteeing affinity or Client Data acceptance. B.6. Stripping, Dropping, and Fallback Stripped support supplies neither assignment eligibility nor alternate Client Data delivery. A PENDING client with unwithdrawn support that accepts SYN-ACK without assignment completes ordinary TCP and waits only for the finite interval in Section 3. It cannot distinguish stripping, decline, and deferred delivery. The issuer MUST tolerate a completing ACK without echo and MAY repeat its selected CID on eligible ordinary segments within its delivery deadline. Handshake and established timeout triggers, permanent withdrawal, and bounded alternative detection policies are specified in Section 3. Previously transmitted CIDs retain Section 5 lifetimes even after delivery stops. Withdrawn clients ignore delayed assignments. Ordinary TCP retransmission and congestion-control timers are unchanged. Fallback omission remains disabled even if progress resumes; this revision has no re-enable exchange. It probes compatibility rather than the cause of loss and can restore delivery only if ordinary routing reaches the backend with TCP state. Dixit Limaye, et al. Expires 4 June 2027 [Page 27] Internet-Draft TCP-CID December 2026 Stripping can silently remove routing protection; ordinary ACKs prove neither LB CID receipt nor assignment delivery. Matching CID_ECHO after normal TCP acceptance is only an operational delivery indication, not authentication or cache-binding proof. Finite waiting/delivery deadlines do not reset TCP; idle traffic may never carry assignment or echo. Pure ACKs have no local retransmission timeout; there is no bounded drop detection for ACK-only traffic or FIN/RST lacking retained retransmission state. In particular, a CID-bearing completing ACK may be dropped while the client is ESTABLISHED and the server remains SYN-RECEIVED. A retransmitted SYN-ACK without assignment does not withdraw the accepted CID; the ordinary response may again carry echo and be dropped. Without client retransmittable traffic, no local timeout triggers suppression. This revision defines no response- specific probe or completion guarantee; ordinary retry limits, timeout, and application recovery apply. Appendix C. Deployment Guidance C.1. Readiness and Ordinary TCP Paths (Normative) LBs and routing configuration SHOULD be ready before issuers enable assignment. Operators MUST establish that every possible LB on the intended protected path resolves the selected profile, including retained epochs and indirect mappings. Deployments MUST retain an ordinary TCP path and measure its limitations. Operators MUST distinguish ordinary TCP compatibility from topology-change resilience: partial rollout, missing keys/mappings, clients without support, and declined negotiation can remove coverage. Drain/key- rotation policies accommodate the longest supported lifetime under Section 5. C.2. Stronger Affinity Claims (Informational) Consider a fictional connection on backend A after a membership change makes the current selection policy select B and a fresh LB receives traffic: Segment with resolvable CID --> A, if reachable and state retained CID-less, cache miss --> ordinary selection --> B --> RST risk A later CID cannot undo an accepted reset. Cache refresh protects only the LB that learned a validated binding, within retention. A preservation claim for the unfragmented scope of Section 4 needs every possible ingress resolver/configuration, the original reachable stateful backend, and either a valid CID on every relevant client segment or another mechanism preventing CID-less misdelivery. Cache Dixit Limaye, et al. Expires 4 June 2027 [Page 28] Internet-Draft TCP-CID December 2026 expiry, tuple reuse, stripping/dropping, and fallback must not invalidate those conditions. Fragments have no CID routing protection here. Validated bindings at every ingress or a separately specified safe miss policy might meet the CID-less condition. Dropping unknown traffic may avoid resets but does not ensure progress. This document supplies neither such mechanisms nor recovery from lost backend state. Unknown-option forwarding can preserve ordinary TCP compatibility without proving CID routing; this illustration is not deployed evidence. C.3. Required Instrumentation (Normative) Implementations MUST expose counters with reason attribution where locally observable for: * Active opens offering or withdrawing support, accepting assignment in SYN-ACK or later, completing TCP without assignment in PENDING/ DISABLED, and expiring the wait. * Issuer assignment/decline and deferred delivery attempts/expiry, including unsupported peer, disabled configuration, incompatible length, option budget, source exhaustion, SYN-cookie policy, and handshake retry fallback. * Explicit/implicit maximum, and Client Data length or profile- processing outcome where observable. These counters MUST NOT log raw Client Data merely to measure coverage. * Echo-bearing segments, option-space omissions, and established fallback transitions; negotiation and echoing are separate measurements. * LB forwarding by CID, tuple cache, and ordinary fallback, including cache admission, refresh, conflict, and eviction. Fragment-policy handling is counted separately from CID routing coverage. * Invalid/malformed/duplicate options, unresolved CIDs, resolver- budget failures, identifiable unavailable epochs/mappings, authorized revocation events, and policy/rate-limit rejection. Dixit Limaye, et al. Expires 4 June 2027 [Page 29] Internet-Draft TCP-CID December 2026 Accepted assignments divided by offers measures client negotiation, not LB routing or stripping. LB routing coverage measures eligible ingress segments actually forwarded by valid CID, by LB/path and rollout state. Endpoint/LB correlations may identify loss, but handshake success alone cannot. Deployments SHOULD also observe topology-change and fallback resets/timeouts without treating correlation as causation. C.4. Bounded LB Work (Normative) Sections 2.1 and 4.2 require complete option validation and bounded resolution and cache-admission work. The option area is at most 40 octets, but both valid replay and failed resolution consume processing resources. Reaching a work limit makes TCP-CID absent; the resulting fallback can lose affinity and is recorded under Appendix C.3. C.5. Local API Considerations (Informational) No socket names, structures, numeric constants, or portable ABI are standardized. Local APIs can expose roles, maximum budgeting, immutable Client Data, CID-source configuration, and read-only role/direction/length and negotiation/fallback state. Supporting exact CID values, pools, and constructors is not a wire requirement; fixed plaintext backend prefixes plus random suffixes do not satisfy Section 5, and zero-filled bytes are not an implicit template. Interfaces should document pre-connect/listen configuration and concurrent snapshot inheritance; atomic ownership/allocation, retransmission reuse, exhaustion/refill and decline; no truncation or established rotation; per-operation errors/lifetimes and secret access; and when Client Data is exposed, retained, or lost under SYN cookies. Any profile confirmation is separate. An observed assignment supports "CID negotiated", not "CID routing active"; actual routing requires LB instrumentation. A portable API remains future work. C.6. Collision-Budget Illustration (Informational) For q samples from b random bits, collision probability is approximately q*(q-1)/2^(b+1) when small. A four-octet random suffix under a fixed prefix reaches about 50 percent repeat probability near 77,000 issuances; it is not unrestricted uniqueness or topology privacy. Section 5 requires a quantitative budget and collision prevention rather than silently accepting duplicate CIDs. Dixit Limaye, et al. Expires 4 June 2027 [Page 30] Internet-Draft TCP-CID December 2026 Let an illustrative service issue 10,000 identifiers per second and keep each live or retained for a total of one day, giving q = 864,000,000 identifiers in that interval. For independent uniform samples from a b-bit space, q*(q-1)/2^(b+1) is a collision union bound. At b = 64, 96, and 128, it is approximately 0.0202, 4.71e-12, and 1.10e-21. These optimistic full-space examples are not CID profiles: namespace, epoch, and validation structure can reduce the usable space, and random sampling does not satisfy the no-collision requirement by itself. An ideal independent t-bit validity check has a guess-success union bound Q/2^t for Q attempts. At Q = 1,000,000, that is about 2.33e-4 for t = 32 and 5.42e-14 for t = 64. This is a model assumption, not an achieved forgery guarantee or an approved construction. Rate, lifetime, delayed-packet allowance, epoch overlap, and retained mappings determine the relevant budgets. Issuance-key rotation does not free identifiers still usable by old connections (Section 5.2). C.7. Architecture Alternatives (Informational) TCP-CID and direct backend communication share the architectural objective of using backend-provided information to reduce dependence on load balancer state and selection decisions after initial selection. TCP-CID keeps subsequent traffic on the path through participating load balancers, which resolve an opaque CID while retaining the service address and ordinary TCP tuple semantics. Katran DirectEncap (KDE) [KATRAN-KDE] is an existing example of direct backend communication. The initial SYN uses the load-balanced path. The backend provides its IPv6 address to the client, which encapsulates subsequent packets to that address to bypass the ingress load balancer. The inner packet retains the service address and established TCP tuple. This architecture motivates future standardization of backend-address exchange and direct communication. The common option framing and SubType registry may provide a foundation for such extensions, but the current messages do not deliver a backend locator or negotiate a direct path. Unknown support flags preserve the base layout, M and effective-maximum rules, and Client Data boundaries. CID_ASSIGN acknowledges only CID negotiation; the client retains its first accepted opaque CID. A future capability requiring recognition therefore needs explicit agreement and compatible fallback. Section 2.1 permits at most one option matching the configured Kind/ ExID per segment, across all subtypes. A separate backend-address option cannot accompany CID_ASSIGN under that same Kind/ExID, nor can a new client control option accompany CID_ECHO. A future Dixit Limaye, et al. Expires 4 June 2027 [Page 31] Internet-Draft TCP-CID December 2026 specification would need to define delivery sequencing or an explicitly negotiated single-option exchange, including the consequences of omitting CID_ECHO from an extension-bearing segment. Direct communication also needs address lifetime, reachability, service authorization, direct-path failure and fallback behavior, and any encapsulation, MTU, or NAT handling required to preserve the established TCP connection. These mechanisms are outside the normative scope of this document. An opaque CID is not a backend address, and this specification provides no connection migration. Appendix D. Conformance Examples (Informational) These are proposed conformance vectors, not results of testing an implementation. Every value in a byte vector is hexadecimal. K is a one-octet placeholder for the eventual assigned TCP-CID Kind, not an allocation. X16 uses experimental Kind FD (253) and dummy ExID 1234; X32 uses Kind FE (254) and dummy ExID 12345678. The ExID values are illustrative, not allocations or recommendations. Each profile assumes prior agreement on its Kind, ExID, ExID width, and wire revision; profiles are not mixed on one connection. M is Flags bit 0, mask 01. With the other Flags bits zero, the combined support subtype/Flags octet is 10 for M=0 or 11 for M=1. Control octet 12 has M=0 and an ignored Flags bit 1; it therefore retains implicit maximum 20. H is 3/5/7 for K/X16/X32. Let m be 0 or 1 according to M. Client Data length is C=Length-H-m. M=0 means maximum 20 decimal (14 hexadecimal). Explicit maxima are 08 through 14 hexadecimal. Vectors with nonzero reserved Flags bits test receiver forward compatibility. Senders follow Section 2.2's zero-bit requirement; acceptance of these vectors does not make them conforming sends. D.1. Isolated Option Vectors The following rows describe exactly one option, excluding outside- option padding. A complete TCP option area must still be padded to a multiple of four octets. The CID_SUPPORTED rows assume an otherwise acceptable SYN without ACK in the active-to-passive direction. For those rows, "Invalid" means no support advertisement and no Client Data is exposed; ordinary TCP processing follows its own rules. Assigned Kind, H=3: Dixit Limaye, et al. Expires 4 June 2027 [Page 32] Internet-Draft TCP-CID December 2026 K 03 10 => max 20; Client Data empty K 04 11 08 => max 8; Client Data empty K 04 11 14 => max 20; Client Data empty K 04 10 08 => max 20; Client Data [08] K 05 11 08 00 => max 8; Client Data [00] K 05 10 00 01 => max 20; Client Data [00 01] K 03 11 => invalid: explicit maximum missing K 04 11 07 => invalid: maximum 7 is below 8 K 04 11 15 => invalid: maximum 21 is above 20 K 03 12 => max 20; Client Data empty; Flags bit 1 ignored X16: illustrative ExID 1234, Kind FD, H=5: FD 05 12 34 10 => max 20; Client Data empty FD 06 12 34 11 08 => max 8; Client Data empty FD 06 12 34 11 14 => max 20; Client Data empty FD 06 12 34 10 08 => max 20; Client Data [08] FD 07 12 34 11 08 00 => max 8; Client Data [00] FD 07 12 34 10 00 01 => max 20; Client Data [00 01] FD 05 12 34 11 => invalid: explicit maximum missing FD 06 12 34 11 07 => invalid: maximum 7 is below 8 FD 06 12 34 11 15 => invalid: maximum 21 is above 20 FD 05 12 34 12 => max 20; Client Data empty; Flags bit 1 ignored X32: illustrative ExID 12345678, Kind FE, H=7: Dixit Limaye, et al. Expires 4 June 2027 [Page 33] Internet-Draft TCP-CID December 2026 FE 07 12 34 56 78 10 => max 20; Client Data empty FE 08 12 34 56 78 11 08 => max 8; Client Data empty FE 08 12 34 56 78 11 14 => max 20; Client Data empty FE 08 12 34 56 78 10 08 => max 20; Client Data [08] FE 09 12 34 56 78 11 08 00 => max 8; Client Data [00] FE 09 12 34 56 78 10 00 01 => max 20; Client Data [00 01] FE 07 12 34 56 78 11 => invalid: explicit maximum missing FE 08 12 34 56 78 11 07 => invalid: maximum 7 is below 8 FE 08 12 34 56 78 11 15 => invalid: maximum 21 is above 20 FE 07 12 34 56 78 12 => max 20; Client Data empty; Flags bit 1 ignored The rows below add CID_ASSIGN and CID_ECHO syntax examples. Syntax validity alone does not establish TCP acceptance, role/direction, CID state, encoding agreement, or profile validity. First assignment acceptance also requires Section 3.3 eligibility and the saved maximum; an endpoint echoes only its exact accepted CID. CID8 below is the existing eight-octet value 00 01 02 03 04 05 06 07. Assigned Kind, H=3: K 0B 20 00 01 02 03 04 05 06 07 => valid CID_ASSIGN syntax; CID8 K 0B 30 00 01 02 03 04 05 06 07 => valid CID_ECHO syntax; CID8 X16, H=5, illustrative ExID 1234: FD 0D 12 34 20 00 01 02 03 04 05 06 07 => valid CID_ASSIGN syntax; CID8 FD 0D 12 34 30 00 01 02 03 04 05 06 07 => valid CID_ECHO syntax; CID8 X32, H=7, illustrative ExID 12345678: FE 0F 12 34 56 78 20 00 01 02 03 04 05 06 07 => valid CID_ASSIGN syntax; CID8 FE 0F 12 34 56 78 30 00 01 02 03 04 05 06 07 => valid CID_ECHO syntax; CID8 Dixit Limaye, et al. Expires 4 June 2027 [Page 34] Internet-Draft TCP-CID December 2026 CID length bounds apply to both subtypes and all three headers: K 0A 20 00 01 02 03 04 05 06 => invalid CID_ASSIGN syntax: CID length 7 is below 8 K 0A 30 00 01 02 03 04 05 06 => invalid CID_ECHO syntax: CID length 7 is below 8 K 18 20 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 => invalid CID_ASSIGN syntax: CID length 21 is above 20 K 18 30 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 => invalid CID_ECHO syntax: CID length 21 is above 20 With a saved maximum of eight and, for echo, an accepted CID8: K 0C 20 00 01 02 03 04 05 06 07 08 => CID length 9: valid syntax; first assignment is not accepted K 0C 30 00 01 02 03 04 05 06 07 08 => CID length 9: valid syntax; not the endpoint's accepted CID8 That nine-octet echo is within an LB's global length bounds. An LB need not know the saved maximum or accepted CID; forwarding still requires an eligible packet and profile validation/resolution under Section 4. CID_ASSIGN never selects its carrying packet's backend. For the configured X16/X32 profiles above: FD 05 12 35 10 => unmatched X16 ExID; not a TCP-CID candidate for this profile FE 07 12 34 56 79 10 => unmatched X32 ExID; not a TCP-CID candidate for this profile FD 03 12 => truncated X16 ExID; no complete matching ExID FE 05 12 34 56 => truncated X32 ExID; no complete matching ExID Each of these four options fits its declared Length. An unmatched or incomplete ExID does not contribute to this profile's duplicate count; receivers do not infer another ExID width. A malformed outer option list still invalidates every candidate under Section 2.1. A 16-bit prefix is not a complete 32-bit ExID: FE 04 12 34 => truncated X32 ExID; no complete matching ExID Matching options without a control octet (Section 2.1): Dixit Limaye, et al. Expires 4 June 2027 [Page 35] Internet-Draft TCP-CID December 2026 K 02 => invalid: missing control octet; still a matching option FD 04 12 34 => invalid: missing control octet; complete matching X16 ExID FE 06 12 34 56 78 => invalid: missing control octet; complete matching X32 ExID Each of these three options counts toward the duplicate rule even though it is not a valid TCP-CID message. D.2. Complete Option-Area Vectors Each line here is the entire TCP option area, with length a multiple of four. Its boundary is part of the test. These are CID-parser outcomes, not assertions that the rest of the packet passes TCP acceptance. In particular, nonzero bytes after EOL exercise the scan boundary and must not be construed as compliant zero padding. Assigned Kind: Dixit Limaye, et al. Expires 4 June 2027 [Page 36] Internet-Draft TCP-CID December 2026 K 03 10 00 => valid: max 20, empty data; final 00 is outside-option EOL 01 K 03 10 => valid: max 20, empty data; leading 01 is outer NOP K 04 10 08 02 04 05 B4 => valid: max 20, data [08]; later MSS option is scanned normally K 05 10 00 01 01 01 00 => valid: max 20, data [00 01]; two outer NOPs, then EOL K 03 10 K 03 10 01 00 => no usable TCP-CID: duplicate matching options, even though identical K 04 10 08 K 03 10 00 => no usable TCP-CID: a later duplicate prevents exposing the earlier data [08] K 04 10 08 02 01 00 00 => no usable TCP-CID: later outer Length 01 is below two K 04 10 08 02 08 00 00 => no usable TCP-CID: later option extends past this eight-octet area 00 K 03 10 => CID scan stops at EOL; no TCP-CID candidate or data; later bytes are padding K 03 10 00 K 03 10 00 => CID scan stops at first EOL; only the pre-EOL candidate is considered; normal padding validation still applies K 02 K 03 10 00 00 00 => no usable TCP-CID: duplicate matching options; the first lacks a control octet K 04 11 07 K 03 10 00 => no usable TCP-CID: duplicate matching options; the first is an invalid advertisement (maximum 7) K 03 50 K 03 10 00 00 => no usable TCP-CID: duplicate matching options; the first has unassigned SubType 5 K 0A 30 00 01 02 03 04 05 06 K 0B 30 00 01 02 03 04 05 06 07 00 00 00 => no usable TCP-CID: duplicate matching options; the first CID_ECHO has CID length 7 Repeat these outer option-list cases with both experimental ExID widths, adjusting each option Length and complete-area padding for its header. Appendix D.4 includes both encodings in the conformance scenarios. The following experimental option areas are already encoded for the configured profiles (X16 ExID 1234, X32 ExID 12345678) and are not repeated: Dixit Limaye, et al. Expires 4 June 2027 [Page 37] Internet-Draft TCP-CID December 2026 FD 03 12 FD 05 12 34 10 => valid: max 20, empty data; the truncated ExID option is not a matching option FD 04 12 34 FD 05 12 34 10 00 00 00 => no usable TCP-CID: duplicate matching options; the first has a complete X16 ExID but no control octet FE 04 12 34 FE 07 12 34 56 78 10 00 => valid: max 20, empty data; a 16-bit prefix of the X32 ExID is not a complete matching ExID FE 06 12 34 56 78 FE 07 12 34 56 78 10 00 00 00 => no usable TCP-CID: duplicate matching options; the first has a complete X32 ExID but no control octet D.3. Assignment Timing These traces use the same opaque CID c throughout one connection. Every packet remains subject to ordinary TCP checks and its actual option budget (Section 3). Preferred delivery: Client -> Server: SYN, CID_SUPPORTED Server -> Client: SYN-ACK, CID_ASSIGN(c) Client -> Server: completing ACK, CID_ECHO(c) when it fits Client -> Server: later eligible ACK/data, CID_ECHO(c) Deferred delivery when SYN-ACK option space is insufficient: Client -> Server: SYN, CID_SUPPORTED Server -> Client: SYN-ACK without CID_ASSIGN Client -> Server: completing ACK without CID_ECHO Both: TCP established; ordinary traffic may continue without CID Server -> Client: eligible ordinary ACK/data, CID_ASSIGN(c) Client -> Server: next eligible ordinary ACK/data, CID_ECHO(c) Both paths use SubType 0x2 and the same layout; there is no deferral flag. First late acceptance requires eligible PENDING state within the finite wait. After first acceptance, every subsequent CID_ASSIGN, identical or conflicting and in any segment, is ignored for CID control without changing the retained CID or echoing state. Ordinary TCP processing and eligible echoing continue. No extra ACK is generated solely for assignment, and neither trace guarantees delivery or affinity recovery. D.4. Additional Conformance Scenarios These are validation scenarios for future implementations, not test results or additional protocol rules: Dixit Limaye, et al. Expires 4 June 2027 [Page 38] Internet-Draft TCP-CID December 2026 * Exercise all header lengths, CID length bounds, maxima, empty/ nonempty opaque Client Data, reserved Flags individually/in combination, NOP/EOL/padding, duplicates, and later malformed options. Ignored bits preserve layout and negotiation; invalid scans leave no earlier effect. Repeat over IPv4/IPv6 and all encodings. * At a fresh LB without a handshake snapshot, resolve unfragmented CID_ECHO using global bounds/profile, with separate tuple-binding validation for caching. IPv4 fragments, IPv6 Fragment headers including atomic fragments, and initial fragments with complete TCP headers use ordinary fragment policy without CID-derived forwarding, caching, or metadata effects. Reassembly/endpoint acceptance is unchanged. * Exercise every passive-open transition: absent/invalid first support, equivalent/changed/invalid duplicates, ignored-bit-only changes, withdrawal, initial decline, timeout fallback, and establishment. Reuse the selected CID and original decision; disabled negotiation never restarts. * Exhaust SYN-ACK space, deliver the first assignment later on ordinary ACK-only/data packets, and test stripping, loss, option pressure, idle traffic, wait/delivery expiry, closing, and withdrawn/disabled support. After first acceptance, ignore identical/conflicting later assignments in retransmitted SYN-ACK and ordinary traffic. No extra delivery packet is generated; an exposed CID remains resolvable after attempts expire. * Drop a CID-bearing completing ACK and its duplicate-SYN-ACK response with an idle client and an assignment-free server retransmission. Verify the residual failure permitted by Appendix B.6; server withdrawal alone is not ACK recovery. * Replay Client Data across ingress LBs, backends, and fresh connections. Freshness and one-shot effects require independent profile replay/idempotency protection, not a snapshot or assignment receipt. Authors' Addresses Nikhil Dixit Limaye Meta Platforms, Inc. Email: ndixit@meta.com Andrii Vasylevskyi Meta Platforms, Inc. Dixit Limaye, et al. Expires 4 June 2027 [Page 39] Internet-Draft TCP-CID December 2026 Email: avas@meta.com Pavel Dubovitsky Meta Platforms, Inc. Email: pdubovitsky@meta.com Dixit Limaye, et al. Expires 4 June 2027 [Page 40]