How to identify packet loss from a capture
A packet capture can show evidence consistent with loss, but one trace cannot always distinguish network loss from packets missed by the capture system.
Upload the capture and PCAPNG Analyzer flags the symptoms of loss for you: retransmissions per flow, connection attempts never answered and DNS lookups never answered, each rated good, warning or poor. You know which flows to examine before you open a single packet.
Just one capture to check? The free PCAP Toolkit gives the same TCP and DNS ratings in your browser, without uploading the file.
See network health in a sample report →What loss looks like in TCP
TCP numbers bytes and acknowledges the next byte expected. If one segment is missing but later data arrives, the receiver repeats the same acknowledgement. The sender then retransmits the missing sequence range, either after enough duplicate ACKs or after a timeout.
A useful Wireshark starting filter is:
tcp.analysis.retransmission ||
tcp.analysis.fast_retransmission ||
tcp.analysis.lost_segment ||
tcp.analysis.duplicate_ack
These are Wireshark analysis labels, inferred from the packets available to it. Inspect them within one conversation rather than treating the global count as a loss percentage.
Investigate one flow
- Select a marked packet and isolate its
tcp.stream. - Find the first sequence gap or duplicate ACK.
- Note which direction carried the missing data.
- Measure the delay until retransmission and recovery.
- Check whether application progress stopped during the event.
Fast retransmission after duplicate ACKs is strong evidence that later bytes reached the receiver before an earlier range. A timeout-based retransmission shows the sender did not receive adequate acknowledgement before its timer expired, but the missing item could be data or an ACK.
Use tshark for a compact event list
tshark -r capture.pcapng \
-Y "tcp.analysis.retransmission || tcp.analysis.fast_retransmission || tcp.analysis.duplicate_ack" \
-T fields -E header=y \
-e frame.number -e frame.time_relative -e tcp.stream \
-e ip.src -e ip.dst -e tcp.seq -e tcp.ack -e tcp.len \
-e _ws.col.info
Sort or group by tcp.stream. A handful of isolated events across hours may be unimportant; repeated bursts in the same business-critical flow deserve attention.
Rule out false conclusions
- Capture drops: if the sniffer misses a packet, Wireshark sees a sequence gap even though the network delivered it.
- Asymmetric visibility: a SPAN or routed capture point may see only one direction or one path.
- NIC offload: captures taken on an endpoint can show unusually large segments or checksum warnings that did not exist on the wire.
- Reordering: a later segment can arrive before an earlier one without either being lost.
- Duplicate capture: port mirroring or aggregation can record the same packet twice.
ACK-only packets, multiple flows, capture gaps and repeated retransmissions distort that ratio. Measure within a direction and flow, using unique TCP sequence ranges and corroborating ACK behaviour.
Locate the point of loss
Capture simultaneously near both endpoints. If a data packet appears on the sender-side trace but not the receiver-side trace, while surrounding packets appear on both, the loss lies somewhere between those observation points. If it is absent from both, it may never have left the sender. If it appears at the receiver but its ACK does not reach the sender, investigate the reverse path.
Synchronised clocks help with timing, but sequence numbers and payload lengths are the more reliable way to match the same TCP data across traces.
Manual method vs PCAPNG Analyzer
Manual method
- Filter TCP analysis events.
- Isolate an affected stream.
- Inspect sequence gaps, duplicate ACKs and retransmission timing.
- Check capture health and offload effects.
- Compare synchronized traces to locate the loss.
With PCAPNG Analyzer
- Upload the capture.
- Read Network health, and open Details for flows with retransmissions or unanswered connections.
- Follow those flows’ streams; in Pro, compare captures taken at different points to locate the loss.
The health ratings and the Pro retransmission finding find the affected flows in seconds. Whether the network, an endpoint or the capture system dropped a packet still comes down to capture placement and acknowledgement behaviour, which is what the steps above help you check.
Find the flows worth investigating first
Generate conversation summaries and retransmission findings while keeping every capture on your own infrastructure.
Compare Free and ProDownload free