libpcap
« Back to VersTracker
Description:
Portable library for network traffic capture
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Networking
Tags: networking packet-capture pcap developer-tools system-utilities
Install: brew install libpcap
About:
Libpcap is a portable C/C++ library for network traffic capture. It provides a high-level interface for capturing packets across various network interfaces and filter expressions. Its main value is enabling developers to build network monitoring and analysis tools that work consistently across different operating systems.
Key Features:
  • Cross-platform support (Linux, macOS, Windows, BSD)
  • High-level packet capture and filtering API
  • Kernel-level packet filtering (BPF)
  • Supports saving captures to PCAP format
Use Cases:
  • Network troubleshooting and diagnostics
  • Building custom packet analyzers and sniffers
  • Security monitoring and intrusion detection
Alternatives:
  • libtins – C++ wrapper offering higher-level abstractions over raw packet data
  • dpdk – High-performance userspace packet processing, more complex than libpcap
Version History
Detected Version Rev Change Commit
Sep 10, 2025 8:11am 0 VERSION_BUMP cc1e4da2