Defining and saving filters

You can define filters with Ethereal and give them labels for later use. This can save time in remembering and retyping some of the more complex filters you use.

To define a new filter or edit an existing filter, select the Filters... menu item from the Edit menu. Ethereal will then pop up the Filters dialog as shown in Figure 24.

Figure 24. The Ethereal Filters dialog box

You would enter a filter name in the Filter name field, and a filter string in the Filter string field. However, for most other actions, you would select a filter from the list box (which will fill in the name and sting in the fields down the bottom of the dialog box), and make what ever changes you want to. Then you should choose one of the buttons down the left hand side of the dialog box. The buttons have the following meanings:

New

This button adds the filter string entered in the Filter string field with the name supplied in the Filter name field.

NoteNote!
 

You can add multiple filters with the same name. This is not very useful.

Change

This button changes the filter named in the Filter name string by replacing its filter string with the string in the Filter string field.

Copy

This button copies the selected filter and calls it "Copy of <orig>", where <orig> is the name of the original filter.

Delete

This button deletes the selected filter.

Apply

This button applies the selected filter to the current display.

Add Expression...

This button brings up the Add Expression dialog box which assists in building filter strings. You can find more information about the Add Expression dialog in the Section called The Add Expression Dialog