Linux Grab Command

Source: Internet
Author: User

You can use the following command to grab a package command on a Linux system

8080 192.168. 9.45 -w ./filename.cap

Description

  1. Eth0 to monitor the name of the network card, you can use ifconfig to view;
  2. TCP represents a packet that crawls only the TCP protocol;
  3. Port 8080 is a packet that fetches only 8080 ports;
  4. Host 192.168.9.45 represents the packet that only fetches this IP;
  5. -W./filename.cap indicates that the fetch results are written to the file, and the file name is Filename.cap;

I generally only use these options, specifically to check the use of the tcpdump command.

The captured package can be viewed using Wireshark.

Linux Grab Command

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.