Wireshark display filter for substring in source (host) field
- User
Wireshark display filter for substring in source (host) field
- Assistant
In Wireshark, to filter packets based on a substring in the source (host) field, you can use the display filter syntax. The source IP address is usually represented by the
ip.srcfor IPv4 oripv6.srcfor IPv6.If you want to filter packets where the source IP address contains a specific substring, you use the following syntax:
For IPv4 Addresses:
ip.src contains "substring"For IPv6 Addresses:
ipv6.src contains "substring"Example:
If you want to filter packets with a source IP that contains the substring
192, you'd use:ip.src contains "192"Note: