Skip to main content

Using tcpdump on a MacOS - Kennisbank / Diagnostics - ESET Tech Center

Using tcpdump on a MacOS

Authors list

When troubleshooting network related issues on MacOS, tcpdump is the linux equivalent of wireshark.  Tcpdump is available by default on MacOS.

Use the following command in Terminal to capture and save the packets in a file:

sudo tcpdump  -vv -w  FILENAME.pcap -i any

Fill in the password.
Reproduce the issue, so it is captured in the tcpdump log. 

To cancel the capture press: 

Ctrl + c

To compress the output file: 

tar -cvzf FILENAME.tar.gz FILENAME.pcap

Please send the compressed output file FILENAME.tar.gz to ESET Support via Techcenter.

Add a comment

Please log in or register to submit a comment.

Need a password reminder?