上QQ阅读APP看书,第一时间看更新
Filter expression preferences
In filter expressions, you configure which filter expressions will appear at the right-hand side of the display filters bar at the top of the screen.
To configure display filter expressions, follow these steps:
- Click on the Edit menu and choose Preferences and Filter Expressions. The following window will come up:
- Choose Add and configure the Button Label and the Filter Expression.
- As you can see in the following screenshot, the Button Label will appear at the right-hand side of the display filters bar:
- As you can see, the filters named TCP-Z-WIN and TCP-RETR that we have configured in the filters preferences appear in the top-right corner of Wireshark.
We can configure filter preferences per profile, as described in the Building profiles for troubleshooting recipe later in this chapter. By doing so, we can configure profiles for TCP problems, IP Telephony ( IPT) problems, and so on, where each network protocol is configured with their appropriate profile.
Filters should be configured in display filter format, as described in Chapter 4, Using Display Filters.