Lesson 5 of 9 · 27m
Loss, Retransmission, and Ordering Signatures
Distinguish real loss from capture loss, read duplicate ACKs and SACK behavior, and avoid the classic misdiagnosis of out-of-order packets.
A retransmission is evidence that a sender believed data was missing. It is not evidence of where the data disappeared. This distinction is where most packet analysis goes wrong. The wire is a sequence of directional observations; your job is to reconstruct what each endpoint knew when it acted.
Retransmission means retransmission — nothing more yet
# client capture
10.000 client -> server seq=1000 len=1460
10.250 client -> server seq=1000 len=1460 [retransmission]On the client capture, the sender retransmitted after not receiving an ACK. The original segment may never have reached the server, the ACK may have been lost, the server may have been too slow, or the capture may have missed the ACK even though the client received it.
To narrow that down, compare the server capture. If the original segment never appears server-side, forward-path loss is plausible. If it does appear and the ACK is sent, return-path loss or capture placement is more likely.
Duplicate ACKs are the receiver reporting gaps
When a receiver gets data beyond a missing segment, it keeps acknowledging the last contiguous byte. Three duplicate ACKs can trigger fast retransmission.
server -> client seq=5000 len=1460
server -> client seq=7920 len=1460
client -> server ack=6460 [dup ack #1]
client -> server ack=6460 [dup ack #2]
client -> server ack=6460 [dup ack #3]
server -> client seq=6460 len=1460 [fast retransmission]The important question is whether the missing bytes ever arrive later. If they do, you are seeing reordering or capture ordering artifacts. If they do not, loss is more plausible.
Out-of-order is not automatically damage
seq=1000 len=1460 arrives at 10.000
seq=5000 len=1460 arrives at 10.001
seq=2460 len=1460 arrives at 10.002A small amount of reordering can happen through parallel paths, NIC queues, or capture artifacts. TCP can absorb it, but heavy reordering wastes duplicate ACKs and causes unnecessary fast retransmissions. One out-of-order segment is noise; a recurring pattern synchronized with throughput spikes is signal.
Wireshark's "previous segment not captured" is ambiguous
This message means the capture did not show earlier bytes for the direction and sequence context. Common explanations include:
- the connection started before capture
- capture filtering omitted packets
- the capture device dropped packets
- traffic is asymmetric and you see only one direction
- actual network loss occurred
Treat it as a prompt to inspect capture boundaries, not as a verdict. A capture started midstream will be full of impossible-looking gaps that mean nothing.
SACK changes the story
If SACK was negotiated, receivers can report exactly which later blocks arrived: ACK=10000 SACK=12001-15000 means bytes through 10000 are contiguous, 12001-15000 arrived, and 10001-12000 is the gap. Recovery becomes more efficient, and your evidence becomes more precise.
Field notes
- Fast retransmission after duplicate ACKs suggests loss detection by the receiver's feedback; timer-driven retransmission suggests the ACK stream stopped or was badly delayed.
- Retransmissions clustered on one direction implicate that direction's path or sender behavior.
- Capture at both ends when possible; one-sided loss analysis is inference, not proof.
- Do not count Wireshark analysis labels manually across thousands of packets — use
tshark -z io,stator export fields and quantify them.
Was this lesson helpful?