Shark SE400 User's Guide Page 131

  • Download
  • Add to my manuals
  • Print
  • Page
    / 228
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 130
Working with captured packets
122
As you might have noticed, only packets of the TCP protocol are displayed now (e.g. packets 1-10
are hidden). The packet numbering will remain as before, so the first packet shown is now packet
number 11.
Note
When using a display filter, all packets remain in the capture file. The display filter only
changes the display of the capture file but not its content!
You can filter on any protocol that Wireshark understands. You can also filter on any field that a
dissector adds to the tree view, but only if the dissector has added an abbreviation for the field. A
list of such fields is available in Wireshark in the Add Expression… dialog box. You can find more
information on the Add Expression… dialog box in Section 6.5, “The “Filter Expression” dialog box”.
For example, to narrow the packet list pane down to only those packets to or from the IP address
192.168.0.1, use ip.addr==192.168.0.1.
Note
To remove the filter, click on the Clear button to the right of the filter field.
6.4. Building display filter expressions
Wireshark provides a simple but powerful display filter language that allows you to build quite
complex filter expressions. You can compare values in packets as well as combine expressions into
more specific expressions. The following sections provide more information on doing this.
Tip
You will find a lot of Display Filter examples at the Wireshark Wiki Display Filter page
at wireshark-wiki-display-filter:[wireshark-wiki-display-filter:[]].
6.4.1. Display filter fields
Every field in the packet details pane can be used as a filter string, this will result in showing only
the packets where this field exists. For example: the filter string: tcp will show all packets containing
the tcp protocol.
There is a complete list of all filter fields available through the menu item Help Supported Protocols
in the page “Display Filter Fields” of the “Supported Protocols” dialog.
6.4.2. Comparing values
You can build display filters that compare values using a number of different comparison operators.
They are shown in Table 6.4, “Display Filter comparison operators”.
Tip
You can use English and C-like terms in the same way, they can even be mixed in a
filter string.
Table 6.4. Display Filter comparison operators
English C-like Description and example
eq == Equal. ip.src==10.0.0.5
Page view 130
1 2 ... 126 127 128 129 130 131 132 133 134 135 136 ... 227 228

Comments to this Manuals

No comments