Configuring capture filters

We recommend that before configuring a capture filter, you will carefully design what you want to capture, and prepare your filter for this. Don't forget—what doesn't pass the filter, will be lost.

There are some Wireshark predefined filters that you can use, or you can configure it yourself as described in the next recipe.

Getting ready

For configuring capture filters, open Wireshark, and follow the steps in the recipe.

How to do it...

For configuring capture filters before starting with the capture, go through the following steps:

  1. For configuring a capture filter, click on the Show the capture options… button, second from the left, as shown in the following screenshot:
  2. The Wireshark: Capture Options window will open as you ...

Get Network Analysis Using Wireshark Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.