tcpdump
The premier command-line packet analyzer and packet capture engine for Unix.
Why consider tcpdump?
tcpdump is the quintessential command-line packet analyzer and sniffer written in C by Van Jacobson and the Tcpdump Group. Powered by libpcap, tcpdump captures raw Ethernet, IP, TCP, and UDP frames with BPF packet filtering expressions, exporting standard PCAP files.
Learn tcpdump by building
Practical setup notes, real use cases, and copy-ready examples in one focused guide.
In this guide2 sections
Overview of tcpdump
tcpdump captures raw network packets directly from network interfaces for deep protocol analysis.
Quickstart
# Capture port 80 traffic to PCAP filesudo tcpdump -i any port 80 -w capture.pcaptcpdump is licensed under the BSD-3-Clause License.
Related tools
More options with a similar category or technology profile.
boringproxy
Simple, self-hosted reverse proxy and tunnel manager for exposing private web services securely.
OWASP ModSecurity
Open-source Web Application Firewall (WAF) engine providing cross-platform HTTP security inspection.
OpenCTI
Open-source platform for managing cyber threat intelligence knowledge and STIX2 relationships.
Maltrail
Malicious traffic detection system utilizing public blacklists and heuristic traffic behavior analysis.