~/netref / Wireshark Filters
##

Wireshark Display Filters

Filter the capture view by protocol field. These are display filters (post-capture), not BPF capture filters.

IPip.addr == 10.0.0.1 · ip.src · ip.dst · ip.proto · ip.ttl
TCPtcp.port == 80 · tcp.flags.syn == 1 · tcp.analysis.retransmission
UDPudp.port == 53 · udp.length
Etherneteth.addr · eth.src · eth.dst · eth.type
VLANvlan.id == 10 · vlan.priority
HTTPhttp.request.method == "GET" · http.response.code == 404 · http.host
DNSdns.qry.name · dns.flags.response == 1
ICMPicmp.type == 8 · icmp.code
ARParp.opcode == 1 · arp.src.proto_ipv4
// operators
== / != equal / not equal
> < >= <=comparisons
and / &&logical AND
or / ||logical OR
not / !logical NOT
contains / matchessubstring / regex
// handy ready-made filters
http.requestEvery outbound HTTP request
tls.handshake.type == 1TLS ClientHello (session starts)
tcp.flags.reset == 1Connections being reset
tcp.analysis.retransmissionRetransmits — loss / latency
dns.flags.response == 0DNS queries only
tcp.stream eq 0Isolate one TCP conversation
!(arp or stp or lldp)Hide L2 background noise
// capture vs display filter
Capture (BPF)Display
WhenBefore captureAfter capture
SyntaxBPF (tcpdump-style)Wireshark fields
Exampletcp port 443tcp.port == 443
EffectDrops unmatched packetsHides them, keeps the file
ReversibleNo — data is goneYes — just re-filter

// analysis workflow

  • Right-click a packet → Follow → TCP/HTTP/TLS Stream to rebuild a session
  • Statistics → Conversations / Protocol Hierarchy for a quick overview
  • Analyze → Expert Information flags retransmits, resets, warnings
  • Use a capture (BPF) filter to keep huge captures small
  • Colorize rules highlight resets, retransmits and errors automatically