How the Internet works

Transport, chapter 23 of 36

Beyond TCP: SCTP, DCCP, and Multipath

The IETF extended DCCP to multiple paths nine months after the Linux commit that removed it.

Byte 0x17 of the frame that carries our SYN is 06, the IPv4 Protocol field, and it tells the server's kernel to hand everything after the IP header to TCP. Since 2000 the IETF has standardized two transports that asked for numbers of their own, 132 for SCTP and 33 for DCCP, and a third, Multipath TCP, that chose to hide inside the 6. By 2017 the one that hid ran on what RFC 8041 estimated as hundreds of millions of devices.

18 of 34
home gateways that let SCTP through in 2010, against none for DCCP
63 s
until SCTP gives up a dead primary path with the recommended timers
87.4 percent
of IPv4 paths impaired by a middlebox in 2024 that lost MP_CAPABLE

Which transport survives the path

Our first packet as TCP, Multipath TCP, SCTP, and DCCP through the home NAT. Add the firewall, then move the laptop to a phone hotspot, and see what the firewall cost Multipath TCP.

What does a new transport need besides a number?

It also needs a kernel or a library on both hosts, a socket API, a port registry that people use, and every box on the path that looks past the IP header to know what it is looking at. On 13 November 2026 the registry named a service on 5,959 TCP ports, 5,568 UDP ports, 88 SCTP ports, and 9 DCCP ports [IANAProtocols2026].

Multipath TCP has no protocol number at all. On the wire it is protocol 6 with TCP option kind 30. Linux selects it with IPPROTO_MPTCP, value 262, which no eight-bit field can carry.

How does SCTP open an association without a SYN-flood problem?

Its handshake has four legs instead of three. The server answers an INIT with an INIT ACK that carries a State Cookie: every value it needs to build the association, protected by a MAC under a secret key. After sending it, the server must not keep state for the association (RFC 9260, Section 5.1). It checks the returned cookie's MAC, ports, tag, and age, and only then builds its control block.

The fourth leg costs no time, because the COOKIE ECHO may carry data. Linux signs its cookies with HMAC-SHA256 by default.

What does multi-homing buy, and how fast?

An SCTP endpoint is a set of addresses with one port, and an association spans every pair of source and destination addresses. The base protocol uses the extra addresses for failover only.

A path is declared inactive when its error counter exceeds Path.Max.Retrans, recommended at 5 (RFC 9260, Section 8.2). On our 12 ms path the RTO sits at the minimum of 1 second and doubles with each expiry. The counter exceeds 5 after 63 seconds, and new data keeps going to the dead address until then. RFC 7829 adds a Potentially Failed state that moves traffic after the first timeout, on by default in Linux.

Why did DCCP never leave the lab?

It set out to fix a problem that UDP applications did not feel. RFC 4336, which argued for it, gave its Section 4 the title "Selling Congestion Control to Reluctant Applications".

DCCP's checksum is TCP's, with a pseudo-header that includes both IP addresses (RFC 4340, Section 9.1). A NAT that does not know protocol 33 rewrites the source and leaves the sum wrong. Not one of 34 home gateways passed DCCP in 2010 [Hatonen2010]. Linux dropped it in 6.16, and the removal commit records a decade of maintenance "without any real users".

What did the middleboxes force on Multipath TCP?

Between September 2010 and April 2011, Honda and colleagues tested paths from 142 access networks in 24 countries. On port 80, an unknown SYN option was removed on 20 of 142 paths, and sequence numbers were rewritten in at least one direction on 18 percent of the paths [Honda2011].

Every extra path is a complete TCP connection, a subflow, with its own SYN and its own contiguous sequence space, because firewalls and NATs drop data that no SYN announced and stall on holes [Raiciu2012]. A 64-bit Data Sequence Number orders the bytes across subflows. If options go missing, the connection falls back to plain TCP (RFC 8684, Section 3.7).

Who actually uses Multipath TCP?

Siri has used MPTCP since iOS 7 in September 2013. Apple recommends the handover mode, which keeps a connection alive while the phone moves from Wi-Fi to cellular [AppleMPTCP2026].

Linux merged version 1 in 5.6 (2020), opt-in through IPPROTO_MPTCP. In the MAWI backbone traces, MPTCP's share of TCP bytes peaked at about 0.4 percent in 2020 and 2021. On selected days of 2021 with traces that were not anonymized, all of it went to Apple servers [Shreedhar2022].

Which other TCP extensions did the network veto, and where did transports go instead?

When hosts began to send ECN-setup SYNs, some firewalls and load balancers answered with a reset. TCP Fast Open stalled. MPTCP survived because it falls back when an option goes missing.

The other transports moved into UDP. RFC 6951 encapsulates SCTP in UDP on port 9899, RFC 6773 does the same for DCCP, and WebRTC runs SCTP on DTLS on UDP. RFC 9170, Section 3.2 calls the IP protocol number "unreliable and therefore not suitable" for selecting a protocol.

laptop :51514server :443 INIT (tag A, addresses)INIT ACK (tag Z, State Cookie)COOKIE ECHO + DATACOOKIE ACK + SACK
From the book: SCTP association setup: the server keeps no state until the cookie comes back

The book keeps asking

This chapter has 5,744 words and 14 questions. These 7 are answered only in the book and the audiobook.

  • Why did telephone signaling need a new transport?
  • What does an SCTP packet look like?
  • What do streams fix, and what do they not?
  • Where does SCTP actually carry traffic?
  • Why can a TCP connection not move to another interface?
  • What would our SYN look like with MP_CAPABLE?
  • Can the application stop choosing a transport?

Open the sources

  • RFC 9260 Stream Control Transmission Protocol 2022, Proposed Standard
  • RFC 8831 WebRTC Data Channels 2021, Proposed Standard
  • RFC 4340 Datagram Congestion Control Protocol (DCCP) 2006, Proposed Standard
  • RFC 9897 Datagram Congestion Control Protocol (DCCP) Extensions for Multipath Operation with Multiple Addresses 2026, Proposed Standard
  • RFC 8684 TCP Extensions for Multipath Operation with Multiple Addresses 2020, Proposed Standard
  • RFC 9621 Architecture and Requirements for Transport Services 2025, Proposed Standard
  • [Honda2011] Is it Still Possible to Extend TCP? Proceedings of the 2011 ACM Internet Measurement Conference (IMC '11), pp. 181-194 2011, free
  • [Raiciu2012] How Hard Can It Be? Designing and Implementing a Deployable Multipath TCP. 9th USENIX Symposium on Networked Systems Design and Implementation (NSDI '12) 2012, free

All 59 documents this chapter cites, each with a link to its publisher and a copy kept here.

Names and Trust, chapter 24 of 36

DNS: The Namespace and the Wire Format

Names and Trust, chapter 25 of 36

Resolvers, DNSSEC, and Encrypted DNS

Names and Trust, chapter 26 of 36

TLS 1.3: The Handshake

Names and Trust, chapter 27 of 36

Certificates and the Web PKI

Applications, chapter 28 of 36

HTTP: Semantics and HTTP/1.1

Applications, chapter 29 of 36

HTTP/2: Multiplexing over One Connection

Applications, chapter 30 of 36

QUIC: A Transport in Userspace

Applications, chapter 31 of 36

HTTP/3: The Web on QUIC

Applications, chapter 32 of 36

Mail: SMTP and Forty Years of Patches

Applications, chapter 33 of 36

Time, Shells, and Files: NTP, SSH, Telnet, and FTP

The Whole Path, chapter 34 of 36

Measuring and Debugging the Path

The Whole Path, chapter 35 of 36

The Whole Journey, Byte by Byte

The Whole Path, chapter 36 of 36

Ossification and What Comes Next

You have reached the server. The book goes further.

Everything on this site is a short version. Follow the Packet is the long one: 36 chapters and about 280,000 words, with every protocol fact traced to the section of the standard that defines it, every byte dump built by a script you can run, and a directory of more than a thousand cited documents. It comes as a printable book and as an audiobook.

Hear how chapter 1 opens. 70 seconds, narrated by a synthetic voice.

Get the book or the audiobook Read the start of chapter 1 Browse every source

Cover of Follow the Packet: How the Internet Works, Layer by Layer, from ARPANET to QUIC, by Wolfgang Kerschbaumer

The signup uses double opt-in. Every message includes an unsubscribe link.

Published by Sysinit Press. The public addresses, AS numbers and names of the scenario come from ranges reserved for documentation, and the home network uses private addresses, so the site describes no real network. RFC texts are copied unchanged from the RFC Editor.