Ask Your Question

Why ip == anything is a valid filter? and what does it mean

asked 2021-02-19 14:49:20 +0000

Dragos gravatar image

Why filters like ip == anything, ipv6 == anything, tcp == anything, http == anything, etc, any_protocol == anything are valid? What do they represent, is there any use case for these filters.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2021-02-19 17:39:24 +0000

cmaynard gravatar image

You can use such filters to match the packet bytes, if you wish. For example:

tcp == e1:90:1f:90:c0:99:3f:0f:5b:f7:83:25:50:10:04:02:e1:eb:00:00

How useful is that? I don't know. Wireshark merely provides you with the ability to filter just about anything you want, but it's up to the user to decide what's useful or not. Other filters besides equality might be more useful though, for example:

dns contains "wireshark"
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2021-02-19 14:49:20 +0000

Seen: 237 times

Last updated: Feb 19 '21