Wireshark Study Chapter (2)---filter rules

Source: Internet
Author: User

Wireshark captures a complex variety of data packets, through the filtering rules can quickly capture our attention of the packet, can capture the specified IP packets, according to classification can be divided into capture filtering, display filtering.

Display filtering: Can fully reproduce the network environment when testing, but will produce large capture files and memory consumption.

Capture filtering: Set in Capture option to capture only eligible packages, you can avoid generating large capture files and memory footprint, but not fully reproducing the network environment when testing.

Wireshark filtering Specifies an example of an IP transceiver packet:

(1) Fetch all destination address is 192.168.1.2 or 192.168.1.3 port is TCP data of 80

(TCP port) and ((DST host 192.168.1.2) or (DST host 192.168.1.3)//Capture filter

tcp.port==80&& (ip.dst==192.168.1.2| | ip.dst==192.168.1.3)//Display filter

(2) Crawl all destination network is 192.168, but destination host is not 192.168.1.2 TCP data

(TCP) and (DST net 192.168) and (not DST host 192.168.1.2)

tcp&&ip.dst==192.168.0.0/16&&! (ip.dst==192.168.1.2)

(3) Capturing the Telnet packet received or issued by the host 192.168.1.1, telnet using TCP 23 port

TCP port and host 192.168.1.1

tcp.port==23&&ip.addr==192.168.1.1

Only a few examples are listed above.

In addition to see a blog to introduce this piece is also more specific, can refer to: http://www.cnblogs.com/einyboy/archive/2012/12/12/2815080.html

Wireshark Study Chapter (2)---filter rules

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.