Got it

Capturing Packets Using Tcpdump

Latest reply: Aug 31, 2020 02:34:34 2240 1 2 0 0

Hi, Community!

Good day to you!

Today I will share with you how to capture packets using Tcpdump.


Firstly, you should download the tool from the network.

The other download way:

Link

Then, let's begin to use it!


Procedure

  1. Upload the Tcpdump tool to the server path which you want to capture packets. For example: /opt/temp.

  2. Log in to the Xshell as root user.

  3. Run the following commands to change the rights.

    cd /opt/temp

    chmod 777 tcpdump

  4. Run the following command to capture packets.

    ./tcpdump -i bond1 -s 0 -w filename.cap

    You can enter Ctrl+C to stop the capture.

  5. Run the chmod 777 filename.cap command, and copy the file to the local PC, and use Wireshark to parse the file.


Can you get it?

Welcome to communicate with me.

Thanks!

Thank you for sharing the steps of capturing packets. This helps locate the fault.
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.