CheatSheets
Wireshark Display Filters
CheatSheet
Wireshark Display Filters Cheat Sheet
This cheat sheet is a reference for various Wireshark display filters, categorized by protocol and functionality. These filters can help you narrow down and analyze network traffic more effectively.
Ethernet Filters
eth.addr
: Ethernet address (source or destination)eth.src
: Ethernet source addresseth.dst
: Ethernet destination addresseth.len
: Ethernet frame lengtheth.type
: Ethernet type fieldeth.multicast
: Multicast Ethernet frame
IEEE 802.1Q (VLAN) Filters
vlan.id
: VLAN identifiervlan.priority
: VLAN priorityvlan.cfi
: VLAN Canonical Format Indicator (CFI)vlan.etype
: Encapsulated Ethernet typevlan.len
: VLAN frame length
IPv4 Filters
ip.addr
: Source or destination IP addressip.src
: Source IP addressip.dst
: Destination IP addressip.flags
: IP flags (e.g.,DF
,MF
, etc.)ip.id
: IP identification fieldip.len
: Total length of the IP packetip.ttl
: Time to Live (TTL) valueip.proto
: Protocol in IP headerip.fragment
: Fragmented IP packetsip.checksum
: IP header checksumip.dsfield
: Differentiated Services Field (DSCP and ECN)ip.version
: IP version (4 for IPv4)
IPv6 Filters
ipv6.addr
: Source or destination IPv6 addressipv6.src
: Source IPv6 addressipv6.dst
: Destination IPv6 addressipv6.flow
: IPv6 flow labelipv6.hlim
: Hop Limit (similar to TTL in IPv4)ipv6.nxt
: Next header (protocol)ipv6.fragment
: Fragmented IPv6 packetsipv6.version
: IP version (6 for IPv6)
ARP Filters
arp.src.hw_mac
: ARP source hardware MAC addressarp.dst.hw_mac
: ARP destination hardware MAC addressarp.src.proto_ipv4
: ARP source IPv4 addressarp.dst.proto_ipv4
: ARP destination IPv4 addressarp.opcode
: ARP operation code (request or reply)arp.hw.type
: ARP hardware type (e.g., Ethernet)arp.proto.type
: ARP protocol type (e.g., IP)
TCP Filters
tcp.port
: Source or destination TCP porttcp.srcport
: Source TCP porttcp.dstport
: Destination TCP porttcp.flags
: TCP flags (e.g., SYN, ACK, FIN, etc.)tcp.seq
: TCP sequence numbertcp.ack
: TCP acknowledgment numbertcp.window_size
: TCP window sizetcp.checksum
: TCP checksumtcp.options
: TCP options (e.g., MSS, SACK, etc.)tcp.time_delta
: Time difference between packets
UDP Filters
udp.port
: Source or destination UDP portudp.srcport
: Source UDP portudp.dstport
: Destination UDP portudp.length
: Length of the UDP packetudp.checksum
: UDP checksumudp.checksum_bad
: Bad UDP checksum
Logical Operators
and or &&
: Logical ANDor or ||
: Logical ORxor or ^^
: Logical XORnot or !
: Logical NOTeq or ==
: Equalsne or !=
: Not equalgt or >
: Greater thanlt or <
: Less thange or >=
: Greater than or equalle or <=
: Less than or equal
Frame Relay Filters
fr.dlci
: Data Link Connection Identifier (DLCI)fr.control
: Frame Relay control fieldfr.de
: Discard Eligibility (DE) bitfr.fecn
: Forward Explicit Congestion Notification (FECN)fr.becn
: Backward Explicit Congestion Notification (BECN)fr.cr
: Command/Response bit
ICMP Filters
icmp.type
: ICMP message type (e.g., echo request/reply)icmp.code
: ICMP code for a specific typeicmp.checksum
: ICMP checksumicmp.ident
: ICMP identifier (for echo requests/replies)icmp.seq
: ICMP sequence numbericmp.mtu
: MTU size for "Fragmentation Needed" messages
BGP Filters
bgp.type
: BGP message type (e.g., Open, Update)bgp.as_path
: AS path attributebgp.origin
: Origin attributebgp.next_hop
: Next-hop attributebgp.local_pref
: Local preference attributebgp.community
: Community attributebgp.aggregator
: Aggregator attribute
HTTP Filters
http.request.method
: HTTP request method (e.g., GET, POST)http.request.uri
: HTTP request URIhttp.response.code
: HTTP response status codehttp.content_type
: HTTP content typehttp.user_agent
: HTTP User-Agent stringhttp.cookie
: HTTP cookiehttp.set_cookie
: HTTP Set-Cookie headerhttp.host
: HTTP Host headerhttp.referer
: HTTP Referer header
Additional Protocol Filters
RIP Filters
rip.command
: RIP command (request, response)rip.version
: RIP versionrip.family
: Address family identifierrip.metric
: Metric value for routerip.next_hop
: Next-hop address
MPLS Filters
mpls.label
: MPLS label valuempls.exp
: MPLS experimental bitsmpls.ttl
: MPLS Time to Live (TTL)mpls.oam.function_type
: MPLS OAM function typempls.oam.defect_type
: MPLS OAM defect type
ICMPv6 Filters
icmpv6.type
: ICMPv6 message typeicmpv6.code
: ICMPv6 code for a specific typeicmpv6.checksum
: ICMPv6 checksumicmpv6.identifier
: ICMPv6 identifiericmpv6.option
: ICMPv6 option fields
PPP Filters
ppp.address
: PPP address fieldppp.protocol
: PPP protocol identifierppp.control
: PPP control fieldppp.direction
: PPP packet direction
VTP Filters
vtp.version
: VTP versionvtp.code
: VTP message typevtp.conf_rev_num
: Configuration revision numbervtp.vlan_info.vlan_name
: VLAN name in VTPvtp.vlan_info.vlan_type
: VLAN type in VTP