Free Tool
TCPDump Command Builder
Visually build tcpdump commands for network traffic analysis and DDoS forensics. Select options, see the command update in real-time, and copy with one click.
Quick Presets
Interface & Capture
Display Options
Protocol Filter
Host & Port Filter
-c to limit capture size and -w to save to file for offline analysis. PCAP files can contain sensitive data; handle them securely.
TCPDump Flag Reference
-i <iface>Specify the network interface to listen on. Use "any" for all interfaces.
-c <count>Capture only this many packets, then stop. Useful for quick samples.
-w <file>Write raw packets to a PCAP file. Open later in Wireshark for analysis.
-n / -nnSkip DNS resolution (-n) and port name resolution (-nn). Much faster output.
-v / -vv / -vvvIncreasing verbosity. Shows TTL, ID, IP options, ICMP details, etc.
-XPrint packet data in hex and ASCII. Essential for payload inspection.
-APrint packet payload in ASCII only. Great for HTTP traffic inspection.
-eShow link-layer (Ethernet) headers. Useful for VLAN/MAC analysis.
-s <len>Snap length: how many bytes per packet to capture. 0 = entire packet.
-ttttPrint timestamps with date. Makes correlation with logs much easier.
tcp[tcpflags]Filter by TCP flag bits. Detect SYN floods, RST storms, and more.
-r <file>Read packets from a PCAP file instead of live capture. For offline analysis.
Protect your infrastructure with Flowtriq
Detect DDoS attacks in under 1 second. Classify attack types automatically. Get instant alerts.
Start your free trial →