Free tech learning for everyone, from basics to pro

Network FundamentalsNetworking SecurityIntermediate

Reading packet captures in Wireshark: display filters, following streams and spotting problems

In short: Wireshark shows every packet in a capture, so the key skill is filtering. Capture filters decide what is recorded; display filters decide what you see. Filters such as ip.addr, tcp.port, dns and tcp.analysis.flags quickly highlight the conversation and the problems. Following a stream and the Expert Information view turn thousands of packets into a clear story.

Where to capture

A capture only shows what passes the point where you capture. On a user's PC you see that PC's traffic. On a switch you need a SPAN (mirror) port to copy traffic from other ports. On servers and network devices you can capture with tcpdump or the built-in capture tools and open the file in Wireshark. When troubleshooting between two hosts, capturing at both ends shows whether packets left one side but never arrived at the other.

Two kinds of Wireshark filterCapture filter (BPF)Set before capturingDecides what is savedhost 10.1.1.5 and port 443Smaller filesDisplay filterApplied after capturingDecides what is shownip.addr == 10.1.1.5 && tlsCan change any time
Figure 1. The syntax is different. Most of the time, capture broadly and narrow down with display filters.

Display filters you will use every day

FilterShows
ip.addr == 10.10.20.5Traffic to or from that address
ip.src == 10.10.20.5 && tcp.dstport == 443HTTPS from that host
dns / dns.flags.rcode != 0All DNS / DNS errors only
dhcpDHCP Discover, Offer, Request, Ack
arpARP requests and replies
tcp.flags.syn == 1 && tcp.flags.ack == 0New TCP connection attempts
tcp.flags.reset == 1Connections being reset
tcp.analysis.flagsTCP problems: retransmissions, duplicate ACKs, zero windows
tls.handshake.type == 1TLS ClientHello messages (shows SNI)
icmp || icmpv6Ping, unreachables, Packet Too Big

Right-click any field in the packet details and choose "Apply as Filter" to build filters without typing.

Capture filters

Capture filters use the older BPF syntax, the same as tcpdump: host 10.10.20.5, port 53, net 10.10.0.0/16, not port 22. Use them on busy links to keep files small, but be careful: anything filtered out is gone.

Following a conversation

Right-click a packet and choose Follow > TCP Stream (or UDP, TLS, HTTP). Wireshark filters to that one conversation and shows the data in order. For unencrypted protocols you can read the exchange directly; for TLS you see the handshake, and with the browser's key log file (SSLKEYLOGFILE) you can even decrypt your own sessions.

Let Wireshark point out problems

  • Analyze > Expert Information groups warnings such as retransmissions, resets, zero windows and malformed packets.
  • Statistics > Conversations lists who talked to whom and how much.
  • Statistics > I/O Graphs shows traffic over time, useful for spotting bursts and drops.
  • Time columns: set "Seconds since previous displayed packet" to see gaps, such as a server taking 5 seconds to answer.

Reading common patterns

  • SYN with no reply, repeated: blocked by a firewall or the server is down.
  • SYN answered by RST: the host is reachable but nothing listens on that port.
  • Many retransmissions: packet loss somewhere on the path.
  • DNS query, then nothing: DNS server unreachable; "No such name" means NXDOMAIN.
  • TLS ClientHello followed by a RST or alert: TLS version, cipher or certificate problem, or a firewall blocking by SNI.

Real-world example: the slow login

Logging in to a business application took 15 seconds. A capture on a user's PC, filtered on dns, showed the PC first asking for the server's AAAA record and waiting for timeouts from a DNS server that had been decommissioned, before trying the second DNS server. Removing the old DNS server from the DHCP scope made logins instant.

Practice

Which display filter shows only DNS responses with errors?
dns.flags.rcode != 0.
What does a TCP SYN answered by a RST usually mean?
The host is reachable, but nothing is listening on that port.
What is the difference between a capture filter and a display filter?
A capture filter decides which packets are recorded; a display filter only hides or shows packets already captured.

Key takeaways

  • Capture where the problem is, and at both ends when you can.
  • Use broad captures and narrow down with display filters.
  • Follow streams, Expert Information and Conversations summarise large captures.
  • Learn the patterns: no SYN-ACK, RST, retransmissions, DNS errors.
Tracks your learning on this device only. See your progress on the learning paths.
Verified author✓ Valid
Issued to
Mohamed Fayas
Role
Founder of FM TecHub
Credentials
CCNABTEC HND Network EngineeringBEng (Hons) Computer Networking & Cloud Security
Issuer
FM TecHub · fmtechub.com

He writes practical, plain-English guides on networking, security and cloud.

More about the author →

Original content written by Mohamed Fayas for FM TecHub. © 2026 FM TecHub. You're welcome to share a link to this page; please don't copy the text elsewhere without permission.

Email updates: coming soon

New notes, tools and security news from FM TecHub by email, explained simply. Free. We're not collecting email addresses yet; see our privacy policy.

PortServiceStatus
SMTP/25Email updatesopening soon

Meanwhile, stay connected: