We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
The packet capture library (lpcap), and tcpdump provide users with the tools necessary to capture and analyze network traffic.
On Debian/Ubuntu, these tools can be installed using APT. For example:
$ sudo apt-get insall tcpdump
$ sudo tcpdump -i eth0 -w capture.pcap
This command will cause all traffic on the 'eth0' interface to be written to a file named 'capture.pcap'.
Sometimes it might be better to focus/limit what is being captured if you are only interested in specific host/protocol/etc.
Analyzing Network Traffic With Basic Linux Tools
A tcpdump Tutorial and Primer
There was an error while loading. Please reload this page.