Skip to content

Capture Loss, Truncation and Visibility

Dropped packets, truncated records and limited sensor visibility leave different traces. Check each before interpreting missing traffic or fields.

By Reviewed by Jeevesh Kumar

Last updated:

A saved capture can lack a packet entirely, preserve its headers while omitting part of its payload, or sit on a path that never saw the packet. Those situations affect findings differently. A baseline question is whether the record is missing, the record is present with fewer bytes, or the observation point had limited coverage.

Check the frame lengths, retained interval, interface context, capture settings and any available drop counters. Then decide which observations remain usable. A visible TCP header can support a claim about addressing or flags even when the application payload is unavailable.

Key terms

Capture loss
Failure to record a packet that reached a relevant part of the collection path. Its diagnosis depends on knowing the intended visibility and where packet loss could occur.
Truncation
Retention of fewer packet bytes than the record reports were available before clipping. Fields wholly inside the surviving bytes can still support a finding.
Snapshot length
A configured ceiling on the number of bytes saved from each packet. Different header sizes leave different amounts of application data under the same ceiling.
Drop counter
A count of loss events reported by a specific collection component. Its interval and measurement point determine what it can explain.
Checksum offload
Delegation of checksum work to a network interface or related processing layer. A host capture may show a field before outbound checksum completion.
Segmentation offload
Processing that divides a larger buffer into segments later in the transmit path. It can cause a host record and a link record to show different boundaries for the same byte range.
More key terms (2)
Receive aggregation
Combination of suitable received data during host processing. It can change how many records a host observer sees compared with a link observer.
File rotation
Switching to a new output file under a time, size or other rule. The archive inventory helps distinguish an absent segment from a quiet interval.

Check Visibility Before Interpreting a Gap

Start with the expected path and direction. A capture can faithfully describe a single monitored interface even when a reply follows another path. A rotating capture may have overwritten an earlier window. A narrow capture filter can exclude packets before the file is written. Obtain the settings or collection notes when a question depends on traffic that might fall outside the file’s effective scope.

Clear the display filter and confirm the unfiltered packet count and time range. Then apply the review filter again and compare the displayed and captured counts. A filter can hide an otherwise present frame. If the display depends on a decoded field, a frame with shortened bytes or an unsupported protocol can also fail to match. A broader filter on a visible header can help separate a parser or field issue from an empty capture interval.

Compare the unfiltered and displayed counts. An unavailable decoded field can exclude a frame that survives in the saved file.

Consider a file that begins with a server response. Its matching request may predate file rotation or come from an interface absent from the file. Search the accompanying time windows if they are available. State exactly which file range you checked so a reader can distinguish a missing event from a missing interval.

Compare Captured and Original Lengths

Open the frame details and compare captured length with the original length reported in the saved record. A smaller captured length means part of the packet is absent from that record. Compare several frames before explaining the cause. A repeated ceiling on the saved lengths of large frames is consistent with a snapshot limit. Truncation could have happened during collection or when someone created a derivative.

Identify the last field that remains available. For a simple Ethernet and IPv4 TCP packet, a short snapshot can preserve the base transport header while losing TCP options and application data. Encapsulation, tags and longer headers change the boundary, so examine the actual packet layout. In Wireshark the filter frame.cap_len < frame.len can find records whose reported captured length is shorter. Wireshark Frame Display Filter Fields

Examine the particular byte range your question depends on. The first part of a payload could survive while a later status line, parameter or field value is unavailable. A higher-layer dissection may show some decoded items and mark where it ran out of bytes. Record the values that remain available.

Interpret Drop Counters and Sequence Gaps

A counter must be tied to its sensor, interface, collection interval and documented meaning. PCAPNG can store optional counters for drops at the interface or operating system. A zero in one available counter describes the count from that component according to its reporting rules. It leaves other collection stages and unmonitored paths outside its scope. Record whether the counter was present, which kind of loss it covered and what time span it applied to. IETF PCAPNG Interface Statistics

A gap in a TCP byte sequence is an observation about the records seen so far. Frames might arrive out of order, or bytes might be missing from the capture itself. Inspect later packets and acknowledgments before attributing the gap to the network. An acknowledgment that advances beyond bytes missing from your capture supports receipt of those bytes by the acknowledging TCP peer. A second sensor or host evidence can help localize the gap if that distinction matters.

Relate drop evidence to the timing of the observation. A total for a long capture can alert you to possible loss while leaving the affected moments unknown. A counter sampled at narrower intervals may help determine whether its increase overlaps the event window. Document how the counter’s interval was obtained.

Treat Dissector Warnings as Leads

A host capture can be taken before its network adapter fills in an outgoing checksum. A dissector may label that packet’s saved checksum as invalid even when the packet later goes onto the link with a correct value. Check the source, direction and offload settings before interpreting the warning as a fault on the wire. A separate observation from the network path can answer questions about the transmitted packet. Wireshark Checksum Offloading Notes

Scroll horizontally if needed to see the full table.

ObservationFirst CheckBounded Interpretation
Record appears with the display filter clearedDisplay filter fields and settingsThe saved data was hidden in that view
Captured length is shorter than original lengthLength fields and source or derivative settingsSome bytes of that recorded packet were omitted
An interface drop counter reports lossesCounter definition, interface and intervalThe named component reported drops within its measurement scope
A reply is missing from a one-direction fileExpected reverse path and configured directionThe saved file lacks a reply within its observed scope

Report the positive observations that survive the missing data and state what the file leaves open. For example, a saved record may show matching TCP endpoints and an acknowledgment, while bytes beyond its captured length remain unknown. If the investigation requires an application result, identify a trace retaining the payload or a suitable service record. Keep that follow-up tied to the specific evidentiary gap.

For example, the capture may show a request to the service and an acknowledgment from the peer. If the reverse data packet is truncated before its application payload, the response status is still unresolved. The service’s request log is a possible source for the recorded outcome.

Locate a Gap with the Receiver’s Selective Acknowledgment

Where the TCP endpoints use the Selective Acknowledgment (SACK) option, a reply can identify a received block beyond a gap in the contiguous byte stream. Compare that block with the cumulative acknowledgment and with the ranges visible in the saved capture. This gives you a view of the receiver’s reported state at the moment it generated that acknowledgment. TCP Selective Acknowledgment Options, RFC 2018

In the hypothetical Out-of-Order Delivery Practice, a receiver-side trace records data starting at sequence 1,200 and ending just before 1,300. The receiver then reports cumulative acknowledgment 1,100 and a selective block from 1,200 to 1,300. Together those fields support receipt of the later hundred bytes and an unfilled range before them at that moment. The fact that the later segment appears in the trace agrees with the receiver’s selective block.

The selective block excludes its right endpoint, 1300. It shows the receiver reported later bytes while the preceding range was still unfilled.

The next recorded segment carries bytes 1,100 through 1,199 and the cumulative acknowledgment advances to 1,300. Record both acknowledgments and the half-open intervals, where the right endpoint is excluded. The sequence supports an initial gap followed by contiguous receipt. The receiver’s acknowledgments alone leave open whether the gap filled through delay, reordering or a repeated transmission.

Use Two Captures to Narrow the Location of Missing Data

Compare observations on either side of the suspected gap, using saved traces whose paths and clock uncertainty are documented. Match sequence ranges and other available packet characteristics, then examine both the data direction and the acknowledgment direction. Report the interval between observation points that the records can address. A precise fault location requires evidence from a component within that interval.

In the same practice, the sender-side trace contains the bytes starting at 1,100 twice, once before the later range and again after the selective acknowledgment. The receiver trace shows the range once, just before advancing its acknowledgment. Where timestamps and packet fields distinguish the two transmissions, the second observation can be associated with the repeat. The sender trace shows the original transmission. The receiver’s acknowledgment still shows a gap after the later range arrived.

If the capture clocks have overlapping uncertainty or the retained fields cannot distinguish the transmissions, leave the correspondence open in the exhibit. A successful byte-range reconstruction can answer what arrived without establishing which copy filled the gap or where the earlier transmission was delayed.

Account for Host Segmentation and Receive Aggregation

A host capture can record a representation before the network interface splits it for transmission, or after processing combines received data. For example, Linux documents TCP Segmentation Offload (TSO) for dividing a larger buffer into segments and Generic Receive Offload (GRO) for combining suitable incoming items. The location of the recording relative to this processing affects which boundaries the saved record contains. Linux Kernel Segmentation Offload Documentation

In a hypothetical comparison, a host trace records one outbound Transmission Control Protocol (TCP) payload covering sequence numbers 2,000 through 4,999. A link trace records three distinct segments carrying 1,000 contiguous bytes each over the same range. The observations agree about saved stream coverage. An analyst counting frames would get one from the host and three from the link. Check the host capture context and use the link source for a claim about the segmentation observed there.

Frame counts differ by observation point. In this example, both records cover the same sequence bytes.

The comparison can also run in the receive direction. If the application asks when its first byte became available, a network timestamp or host aggregate timestamp describes the named observation point. Application availability calls for evidence from the application or its host event source. Preserve the direction, range and observation point so a reviewer can reproduce the comparison without inferring extra transfers or losses from the frame counts.

Calculate the Byte Budget for the Field at Issue

A uniform capture length does not guarantee uniform visibility into the application. Header lengths determine the payload boundary. For Internet Protocol version 4 (IPv4), the Internet Header Length field gives the header size in 32-bit words. The TCP Data Offset field gives the transport header size in the same units. Start at the actual link-layer offset and use the complete recorded lengths where the required fields survive. Internet Protocol, RFC 791 TCP Specification, RFC 9293

Scroll horizontally if needed to see the full table.

Saved recordTCP payload start, zero-basedPayload bytes retained
Standard 20-byte TCP header5418
32-byte TCP header with options666

Each record in a hypothetical Ethernet pair saves 72 bytes. Both Ethernet headers take 14 bytes, and each IPv4 header takes 20 bytes. One TCP header takes 20 bytes and the other takes 32 because it includes options. The first record retains 18 payload bytes and the second retains six, assuming both packets originally carried at least that much payload.

Use the actual header lengths to find the payload boundary. The saved payload prefixes are 18 bytes and six bytes.

If a test application stores a four-byte status beginning after the first eight payload bytes, the status can be read only in the first record. An experimenter who searches only for the decoded status could underestimate the second frame’s coverage of the underlying exchange. Give the record number, component lengths and surviving payload prefix in the exhibit. If any length field itself is missing, state which offsets can still be verified.

Separate a Missing File Window From Idle Traffic

An archive of rotating captures can omit one or more intervals. File start and end packet timestamps tell you when the saved records occurred. The recorder’s rotation and archive information can tell you when each file was in use or expected. An interval with no recorded packets could reflect an idle link, a time window excluded from the transfer, or a collection interruption. Compare the archive inventory with the capture intervals supplied by the collector.

In a hypothetical review, captures rotated into new files every five minutes. The archive lists segments for 16:00, 16:05 and 16:10, while only the first and third are present. The last packet in the first file is at 16:04:48 and the first packet in the third at 16:10:03. Record the basis for expecting the 16:05 segment separately from the quiet intervals near its neighbors. In PCAPNG, optional interface statistics may record start and end times. IETF PCAPNG Interface Statistics

The inventory establishes the missing segment. The neighboring packet times mark the last and first saved observations in the supplied files.

For a request expected at 16:07, the received files leave the requested window unsupported. A producer’s export confirmation may establish that the file existed but was omitted from the package. If another authorized source observes the request, use that observation to answer what it can and preserve the original capture gap in the timeline. A later analysis of the missing segment, if supplied, can narrow or resolve the limitation.

Casework Example

Lesson Review

Check Your Understanding

Question 1 of 5· 0 answered
What does a reported captured length of 54 and original length of 533 indicate?

Test yourself on Network Forensics with free, timed mocks.

Practice Network Forensics questions

Found this useful? Pass it along.