Wireshark#
Wireshark is the operator’s GUI packet capture and protocol analyzer. Display filters narrow a capture down to the bytes that matter, by host, port, protocol, MAC, HTTP attribute, or 802.11 frame type. The table below catalogs the filters worth knowing on engagement.
Filters#
Filter |
Effect |
|---|---|
|
Drop ARP, ICMP, STP noise. |
|
All IPv6 multicast traffic in the local network. |
|
Filter by MAC address. |
|
Offset filter for hex values 0x01 0x80 at offset 0x47. |
|
Only traffic to or from a specific MAC. |
|
All packets containing the word |
|
Only traffic to or from a specific IP. |
|
Specific host, excluding specific ports. |
|
HTTP Basic auth. |
|
HTTP cookies. |
|
HTTP data packets. |
|
HTTP Referer headers. |
|
All HTTP GET and POST requests. |
|
HTTP Server header. |
|
HTTP User-Agent strings. |
|
HTTP authentication. |
|
Only IPv4 traffic. |
|
IPv6 over IPv4 tunneled traffic. |
|
Packets to or from any address in 10.0.0.0/24. |
|
Any packet with 10.0.0.1 as src or dst. |
|
Conversation between the two IPs. |
|
Filter IP to destination or source. |
|
Only IPv6 traffic. |
|
IPv6 native only (exclude tunneled). |
|
Traffic to or from a range of IPs. |
|
Unicast only. |
|
Only a specific src or dst port. |
|
All SIP (VoIP) traffic. |
|
PPPoE traffic. |
|
Only TCP traffic. |
|
Search TCP packets for a string. |
|
Capture traffic within a range of ports. |
|
Retransmissions, duplicate acks, zero windows. |
|
Filter port to TCP destination. |
|
All SYN/ACK packets; related to |
|
Any TCP packet with port 4000 as src or dst. |
|
Filter port to TCP source. |
|
TCP packets with delta time greater than 250 ms. |
|
Filter UDP destination or source ports. |
|
VLAN traffic. |
|
802.11 management frames. |
|
802.11 control frames. |
|
802.11 association requests. |
|
802.11 authentication requests. |
|
802.11 reassociation requests. |
|
802.11 probe requests. |
|
802.11 beacons. |