Extended Brain Storage

Arch Linux: TCPdump Usage

Some hints to easily use the tcpdump, a powerful command-line packet analyzer...

Usage

Verbose details, selected interface, selected host:

$ tcpdump -vvv -i eth0 host 192.168.96.34

Verbose details, selected interface, complex condition with selected host and not TCP protocol:

$ tcpdump -vvv -i eth0 '(host 192.168.96.34 and not tcp)'

Writing results into file:

$ tcpdump -vvv -i eth0 host 192.168.96.34 -w mycap.pcap

Tags: #tcpdump #Arch Linux #Artix Linux #macOS #OpenBSD #FreeBSD

⏴ Previous Post Next Post ⏵