
We’ve compiled a list of the best Wireshark filters to help you use the program more efficiently and take the guesswork out of analyzing piles of saved data. When you struggle to type the appropriate filter, you waste valuable time.īut you’re in luck. When you want to find and apply a capture filter, use the “Enter a capture” section in the middle of the welcome screen.Īlthough Wireshark boasts comprehensive filtering capabilities, remembering the correct syntax often gets tricky. To access and use an existing filter, you must type the correct name in the “Apply a display filter” section underneath the program’s toolbar. Wireshark has an impressive library of built-in filters to help users better monitor their networks. A display filter keeps data within a trace buffer, hiding the traffic you’re disinterested in and displaying only the information you wish to view. Also, you can establish it while the operation is in progress. You can set this type of filter before initiating a capture operation and later adjust or cancel it. Very powerful tools indeed.On the other hand, display filters contain parameters that apply to all captured packets. As a result, to ensure that DNS packets appear when searching for domain names, the filter frame contains “google” should be used instead of frame contains “”. Note that DNS records use various separators in place of literal dots “.”.

For example, if I wanted to find my dns query for dns and frame contains "cloudshark" Last but not least, you can of course always use the concatenation operators. You can even get more specific, using the “contains” filter to look at specific parts of a frame, such as tcp contains or eth contains. For example, if I only want to view the DNS query with transaction ID Oxb413:


The frame contains feature can also be used for Hex values. Take a look at this capture with the above filter applied: …will show you only those packets that contain the word “cloudshark” somewhere in them.ĬloudShark lets you embed these filters right in the URL that you share. The “frame contains” filter will let you pick out only those packets that contain a sequence of any ASCII or Hex value that you specify. You may know the common ones, such as searching on ip address or tcp port, or even protocol but did you know you can search for any ASCII or Hex values in any field throughout the capture? The great thing about CloudShark’s capture decode is that it supports all of the standard Wireshark display filters.
