Offline capture interpretation
Inspect a saved trace
Wireshark presents saved captures as a packet list, decoded field details and bytes. TShark is its command-line counterpart. PCAP and PCAPNG are capture file formats. For this chapter, use only the supplied synthetic table; it is not a real capture. Do not select a live interface or collect anyone’s traffic. Real saved files may contain sensitive data and must be approved and handled in an isolated environment.
Two different filters
A capture filter restricts what is collected during capture; a display filter restricts what is shown from existing data. The languages are different. In Wireshark, tcp.port == 443 is a display-filter example; tcp port 443 is a capture-filter example using libpcap syntax. The latter is provided only for comparison, not for performing a capture. Clearing a display filter does not recover packets that were never saved.
Predict a filtered view
Suppose rows A and B have TCP source or destination port 443, row C has UDP destination port 53 and row D has TCP destination port 80. The display filter above selects A and B. All four original rows remain in the file or table. In a saved file, inspect a selected packet’s decoded fields and record what the tool reports separately from your interpretation.
A decoder is not a verdict
A protocol label may depend on the bytes available and decoder configuration. Missing or truncated data can make decoding incomplete. An expert-warning message may deserve investigation, but it does not prove malicious activity. Record the original file identifier, source, time range and applied display filter; preserve the original. Limit sharing of addresses or content and use sanitized excerpts only.
Practice: keep the original
Given three TCP rows and one UDP row, choose which rows a tcp display filter would show, then predict the result after clearing it. Explain why a filtered screenshot cannot establish that no UDP traffic existed. The lab uses a simplified table predicate, not a Wireshark or TShark engine.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
Offline capture interpretation — knowledge check
Interpret fictional offline traffic evidence and its limits.
Which filter changes the visible subset of a saved capture?
Which expression is a Wireshark display-filter example?
A response has TCP source port 443. Does tcp.port == 443 match it?
Clearing a display filter shows more packets. What changed?
A decoder warning appears in an approved file. What is the best conclusion?