Visual RFC.
ALL RFCs / RFC 9293
Read the RFC ↗
RFC 9293 / RELIABLE TRANSFER

Initial sequence numbers

05

Initial sequence numbers help distinguish connection incarnations and make blind guessing harder.

RFC 9293 · § 3.4.1EXAMPLE
3 / 3
03
Start sequence synchronization.

The peer learns the starting sequence through the handshake.

Initial sequence numbersTuple, secret, and changing clock visibly feed the ISN calculation, then the SYN.Connection tuplelocal IP:port + remote IP:portSecret inputClock componentISN = clock + PRF(tuple, secret)Arithmetic modulo 2³²SYN carries the computed initial sequence number

Key idea: Do not use an easily predictable starting point.

Terms

Look up a term in the glossary ↗

Rules & examples
  • Generate ISNs using a clock component combined with a pseudorandom function of the connection tuple and a secret.
  • Keep the secret difficult to predict and manage its lifetime appropriately.
  • Sequence defenses reduce some attacks; they do not provide cryptographic peer authentication.

RFC 9293 incorporates RFC 6528. The consolidation records accumulated improvements rather than introducing every one for the first time in 2022.

Sources
Protocol participantThreat or exceptionProtocol controlSimplified drawings · precise section references
New to this? Start hereA quick picture + helpful background

A message needs an address.

Think of a packet as a small addressed envelope. Devices pass it onward; transport protocols decide what delivery promises an application gets.

Helpful first, if these ideas are unfamiliar

These pictures are analogies to help you learn. The linked RFC explains the actual rules.

Related RFCs and changes

“Updates” changes part of an earlier RFC. “Obsoletes” replaces it. This list shows selected related documents.

What changed
RFC 793 § 3.3RFC 9293 § 3.4.1

The base specification now incorporates the stronger RFC 6528 initial-sequence-number algorithm; RFC 9293 § 5 identifies this change.

Read the updated RFC section ↗

All chapters in RFC 9293

Drawing view

Scroll the drawing to see every part. Playback controls stay above it.

RFC 9700 / CHAPTERS

Chapters

For full details, tables, algorithms, and exceptions, read the original RFC.

RFC status and corrections ↗