Favicon of tcpdump

tcpdump

Open-source packet analyzer and network capture library for deep traffic inspection, protocol analysis, and network troubleshooting across all platforms.

tcpdump and libpcap are essential open-source tools for network professionals and developers who need to capture, analyze, and understand network traffic at the packet level.

tcpdump is a command-line packet analyzer that lets you intercept and display network packets in real-time or from saved files. libpcap is a portable C/C++ library that provides the underlying packet capture functionality, making it the foundation for numerous network analysis tools.

Key capabilities include:

  • Real-time packet capture and offline analysis from pcap files
  • Flexible filtering using Berkeley Packet Filter (BPF) syntax for targeted traffic inspection
  • Cross-platform support with consistent behavior across Linux, BSD, Windows, and macOS
  • Protocol-level visibility into network communications for debugging and security analysis
  • Lightweight and efficient performance suitable for production environments

Whether you're troubleshooting network issues, analyzing security incidents, developing network applications, or learning how protocols work, these tools provide direct access to network data without requiring specialized hardware or complex setup. The active development community continuously improves functionality and security, with recent releases addressing vulnerabilities and adding new features. Comprehensive documentation, tutorials, and a responsive mailing list support users from beginners to advanced network engineers.

Features

JSON outputScriptable

Media

Pros

4
  • Powerful command-line packet analyzer
  • Portable C/C++ library for network traffic capture
  • Provides documentation, tutorials, and papers
  • Actively developed with regular releases

Related tools

Share:

  • Stars


    3,194
  • Forks


    923
  • Last commit


    22 days ago
  • First release


    13 years
  • Language


    C

Auto-fetched .

Similar to tcpdump

Favicon

 

  
 
Favicon

 

  
 
Favicon