Networking

Filter a Wireshark Capture to Find One Problem

Published November 20, 2026

Reels of orange fibre-optic cable on a trailer in a dry open field.
Photo: Robert Ashworth / Wikimedia Commons, CC BY 2.0

A capture of a few minutes can hold tens of thousands of packets. Filters let you hide the noise and look only at the conversation that failed. Display filters are typed in the bar above the packet list and apply to the packets already captured.

Narrow to one server

To see only the traffic with one host, use:

ip.addr == 192.168.1.20

Add a port to narrow it further:

ip.addr == 192.168.1.20 && tcp.port == 445

Look for failed DNS

A name that does not resolve shows an error code in the response. Use:

dns.flags.rcode != 0

The value 3 means the name does not exist. Other values point to a server that is failing or refusing queries.

Look for failed connections

A connection that never opens shows a SYN with no answer. Use:

tcp.flags.syn == 1 && tcp.flags.ack == 0

If you see many of these with no SYN-ACK in reply, the server is not listening, or a firewall is dropping the traffic. A reset from the server, shown as tcp.flags.reset == 1, means the server refused the connection.

Look for slow or lossy traffic

Retransmissions show that packets were lost or delayed:

tcp.analysis.retransmission

A few are normal on a busy link. Many, between two hosts, point to a faulty cable, a duplex mismatch on a switch port, or a wireless link with interference.

Read the stream

Right-click a packet from the conversation and choose Follow, then TCP Stream. The whole exchange appears in order, which often shows the error text the application sent.

Sources