Use tcptump and wireshark to capture packets and view network packets

Source: Internet
Author: User

Tcptump and wireshark work together with packet capture to check the network package. Some time ago, they have been debugging the MMS program of the Telecom isag, causing many problems. Therefore, you need to capture packets and check the problem with your MMs package. In linux, tcptump is a built-in packet capture tool, which is quite simple to use. The fact is that the process of stopping a packet capture is always stuck, which makes people feel uncomfortable. Run the command: tcpdump-I eth0-s 0-w demo/demo. cap means to capture the network packet through the eth0 Nic, and-s 0 means no limit on the network length. In this way, the network package can be completely captured. A path can be created behind-w to save the captured network package to the specified directory. I saved it to the demo under the demo directory. under the cap file. View the Analysis Network Package. Wireshark can be used. These two steps work together to capture the Network Package and view the Network Package for convenience, simplicity, and detail!

Related Article

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.