TCP SACK & Reordering Evidence
Cheat sheet · https://pcornel.dk/topic.php?topic=311
Answer
Selective acknowledgment (SACK) lets a TCP receiver report exactly which data arrived beyond a gap, so the sender resends only what is missing.
Remember
Duplicate acknowledgments with SACK blocks, then a retransmission that fills the gap: loss. The gap filling without a retransmission: reordering. A SACK block below the acknowledgment number: an unneeded retransmission. It is used only if both sides sent "SACK permitted" in the handshake.
First checks
tcpdump -ni <if> host <ip> and tcp port <port>— the option on acknowledgments, e.g.sack 1 {2921:7301}.ss -ti dst <ip>—sackamong the connection's features, plus retransmission and reordering counters.sysctl net.ipv4.tcp_sack— enabled on the host?- Wireshark:
tcp.options.sack,tcp.options.sack.dsack.
Commands
tcpdumpss -ti
Verify in this order
SACK permitted in SYN and SYN-ACK → gap at the receiver → acknowledgment repeats with SACK blocks → sender resends only the missing range → acknowledgment advances past the gap
Where it usually breaks
physical/link dependency → local object state → peer/control state → policy → forwarding/adjacency → end-to-end result
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=311