
!(ipv6.version = 6) || !(udp) || eth.dst = ff:ff:ff:ff:ff:ff – exclude all IPv6, UDP and Broadcast packets How do we come up with these complicated looking filters in the first place? Ip.addr = 192.168.0.9 & dns – include all DNS queries sent or received by 192.168.0.9 Ip.addr = 192.168.0.1/24 – include only local LAN packets, assuming local network is 192.168.0.1/24 Now we can combine some of the above as follows:Įth.dst = ff:ff:ff:ff:ff:ff & ip.src = 192.168.0.8 – include all broadcasts sent by source address 192.168.0.8 Ip.addr = 192.168.0.8 – include only packets with source OR destination IP 192.168.0.8 – assuming you are troubleshooting IPv4 issues

!(ipv6.version = 6) – exclude all IPv6 packets This capture includes: visiting three websites and SMB (Windows file transfer over network) from one computer to another on the same network. You can download this packet capture and test the below filters yourself in Wireshark.

I will use THIS capture as an example in all filters documented. For those new to Wireshark, a filter is used to limit the number of displayed packets to help narrow down and more efficiently troubleshoot network issues by looking on only relevant packets. This will be a living document in which I will document the Wireshark filters that I use most often.
