Logo
ChatTCP

TCPDump Command Helper

Generate tcpdump packet capture commands through an intuitive interface, no need to review tcpdump commands every time you capture packets.

Configuration

Generated Command

Common Examples

Capture HTTP traffic:

tcpdump -i en0 tcp port 80

Monitor DNS queries:

tcpdump -i en0 udp port 53

Capture MySQL traffic:

tcpdump -i en0 tcp port 3306

TCPDump Parameters Reference

Interface Parameters

-i interface

Listen on the specified network interface.

tcpdump -i en0
tcpdump -i any

Protocol Filters

tcp / udp

Filter packets by protocol type.

tcpdump tcp
tcpdump udp

Host Filters

host / src host / dst host

Filter packets by host address (source, destination, or either).

tcpdump host 192.168.1.1
tcpdump src host 10.0.0.1
tcpdump dst host google.com

Port Filters

port / src port / dst port

Filter packets by port number (source, destination, or either).

tcpdump port 80
tcpdump src port 443
tcpdump dst port 22

Output Options

-w filename

Write captured packets to a file instead of displaying them.

tcpdump -w capture.pcap
tcpdump -w ~/network.pcap