How the Internet works

The Whole Path, chapter 35 of 36

The Whole Journey, Byte by Byte

The hybrid key share alone is 42.1 percent of what the laptop sends before the first byte of the response.

Shortly after 18:42 UTC on Thursday, 12 November 2026, someone on a sofa opens https://www.example.net/, and 45 ms later the first byte of the answer is back on the laptop. In those 45 ms the laptop sends eleven frames besides its later bare acknowledgments, and seven routers in each direction lower a TTL by one.

45 ms
from the click to the first byte: 4 ms of DNS, three 12 ms round trips, 5 ms at the edge
2,891 octets
the laptop's eleven frames before the response, as a wired hop counts them
0.83 %
of those octets is the request itself: GET, https, www.example.net, and /

The life of one SYN

The SYN from the laptop to the edge machine, one machine at a time, with both checksums computed from its 60 bytes. Step through it to see what each machine changed and what the chapter says it read, then let the NAT skip the TCP checksum.

What does the laptop ask first?

Three questions about one name. At 0 ms the browser sends separate A, AAAA, and HTTPS queries for www.example.net to 198.51.100.53, because a query with more than one question gets FORMERR (RFC 9619, Section 4). Each is a 75-byte frame with only RD set.

The HTTPS query gets NODATA (RFC 2308, Section 2.2), and that absence settles two things. Without an alpn="h3" hint the browser starts with TCP, and without an ECH configuration the server name travels in the clear. The laptop set neither DO nor AD, so it receives plain records and no signatures, and from 198.51.100.53 on only the certificate vouches for the name.

How many machines read our packet?

At least twelve, counting both ends and the exchange's fabric as one, and they do not all read the same amount. Seven routers decrement the TTL, and each redoes the IPv4 header checksum, which is "recomputed and verified at each point" where the header is processed (RFC 791, Section 3.1).

Only the home router does more. As a NAT it rewrites the source to 198.51.100.77:40001 and patches the TCP checksum from 0x71B3 to 0x35EB, because that checksum covers a pseudo-header with the addresses (RFC 3022, Section 4.1). It is the one end-to-end check on the path, and it changes exactly once.

What does the second round trip carry?

The keys and the certificate. The ClientHello is one TLS record of 1,732 bytes, and a segment carries 1,448 octets, so it leaves as two. Besides SNI and ALPN it carries a 1,216-byte hybrid X25519MLKEM768 share and a 32-byte X25519 share. Without the hybrid share it would be about 510 bytes and fit into one segment.

The edge machine answers with at least 2,871 octets of TLS, among them a 1,592-octet Certificate message. At 28 ms the laptop validates the chain without a packet on the network, since the intermediate came with the chain and the SCTs are embedded.

What part of all this was the actual request?

Twenty-four bytes of text: GET, https, www.example.net, and /. They are the method and the target URI, which with the protocol version make up the control data of a request (RFC 9110, Section 6.2). HTTP/2 first writes 70 octets of connection setup.

The request rides in a 145-octet HEADERS frame on stream 1, whose HPACK block encodes 216 octets of names and values in 131. Three of the four control values cost one byte each, because they are complete entries of the static table (RFC 7541, Appendix A). The authority costs 14, and the 24 bytes travel as 17.

How many bytes did it take?

Before the first byte of the response returns, the laptop sends eleven frames, 2,891 octets on a wired hop. More than three fifths is TLS handshake, and the hybrid key share alone, insurance against a future quantum computer, is 42.1 percent. The request text is 0.83 percent, and the frame that carries it is the tenth of eleven, behind 2,553 octets.

If the stack put the three writes at 28 ms into one segment, the total would fall by 4.8 percent. Under the same model both directions exchange 6,551 octets and more to move a 24-byte question one way.

What could have gone wrong?

Something can fail at every step, and most failures cost time before they cost the page. A lost SYN is retransmitted after one second, and Linux gives up after 131 seconds [Linux2026].

The worst failures look like something else. A path MTU black hole lets the small handshake packets through and swallows the server's full-sized segments, so the connection exists and the page never comes (RFC 2923, Section 2.1). A forged DNS answer or a hijacked prefix that leads to a false server shows up as a certificate error.

laptopedge machine 4 ms: SYN, 74 bytes16 ms: SYN-ACK, 74 bytes16 ms: ACK; ClientHello, 1,514 + 35028 ms: ServerHello to Finished, 2,871+28 ms: Finished; HTTP/2 GET /45 ms: 200 with age and alt-svc
From the book: The TCP connection on the laptop's clock, with the size of each flight

The book keeps asking

This chapter has 6,991 words and 11 questions. These 5 are answered only in the book and the audiobook.

  • What was settled before the click?
  • Which way does the answer come back?
  • What does the edge machine do in its five milliseconds?
  • Where did the 45 milliseconds go?
  • What changes when the browser moves to QUIC?

Open the sources

  • RFC 791 Internet Protocol 1981, Internet Standard, STD 5
  • RFC 1035 Domain names - implementation and specification 1987, Internet Standard, STD 13
  • RFC 9293 Transmission Control Protocol (TCP) 2022, Internet Standard, STD 7
  • RFC 9846 The Transport Layer Security (TLS) Protocol Version 1.3 2026, Proposed Standard
  • RFC 9113 HTTP/2 2022, Proposed Standard
  • RFC 7838 HTTP Alternative Services 2016, Proposed Standard
  • RFC 9000 QUIC: A UDP-Based Multiplexed and Secure Transport 2021, Proposed Standard
  • RFC 9114 HTTP/3 2022, Proposed Standard

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

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.