Initial sequence numbers
05Initial sequence numbers help distinguish connection incarnations and make blind guessing harder.
The peer learns the starting sequence through the handshake.
Key idea: Do not use an easily predictable starting point.
Rules & examples
Do not use an easily predictable starting point.
- 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
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.
The base specification now incorporates the stronger RFC 6528 initial-sequence-number algorithm; RFC 9293 § 5 identifies this change.
Read the updated RFC section ↗