the-tcpdump-group/libpcap
the LIBpcap interface to various kernel packet capture mechanism observed · 2026-08-28
Health v2 · maintenance only
76/100
- Activity 98
- Release rhythm 35
- Longevity 100
Flags: no_releases no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4889
- days_rel: n/a
- days_push: 12
- n_releases_24m: 0
Adoption not part of the score
3163 stars · 948 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
libpcap is a system-independent C/C++ library providing a portable API for user-level network packet capture, with BPF-based filtering and pcap/pcapng file support. It is the foundational library behind tools like tcpdump and Wireshark.
Use cases
- capture network packets in a C program
- write a packet sniffer
- filter traffic with BPF expressions
- save captured packets to pcap files
- monitor network traffic for security analysis
- read and parse pcapng capture files
- collect network statistics
When to choose
- you need portable low-level packet capture across Linux, BSD, macOS, or Windows
- you are building network monitoring, IDS, or traffic analysis tools
- you want the de facto standard pcap API with mature BPF filtering
When to avoid
- you need high-level protocol analysis rather than raw capture
- you want eBPF-based kernel filtering on Linux, which libpcap does not support
- you need a ready-made packet analyzer GUI like Wireshark instead of a library
Facets
library · maturity stable
networking security monitoring sdk networking security developer-tools operating-systems windows bsd cross-platform c packet-capture pcap pcapng bpf packet-filtering sniffer network-monitoring traffic-analysis linux macos
5 sources
- readme: https://github.com/the-tcpdump-group/libpcap · fetched 2026-08-28 · 020ab40ebbd9
- homepage: https://www.tcpdump.org/ · fetched 2026-08-29 · 0cd4060557e1
- site_page: https://www.tcpdump.org/faq.html · fetched 2026-08-29 · 3380ae008663
- site_page: https://www.tcpdump.org/old_releases.html · fetched 2026-08-29 · 24ccb5855286
- site_page: https://www.tcpdump.org/index.html · fetched 2026-08-29 · 0cd4060557e1
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| the-tcpdump-group/libpcap | main | 76 |
For agents
markdown · JSON · MCP: product_card(name="the-tcpdump-group/libpcap")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem