the-tcpdump-group/libpcap

the LIBpcap interface to various kernel packet capture mechanism

View on GitHub ↗Jump to charts ↓Open shareable report →

Data as of . Signed-in members get hourly updates — create a free account.

Summary Information

Updated 2 hours ago
Added to GitGenius on September 21st, 2026
Created on April 14th, 2013
Open Issues & Pull Requests: 172 (+0)
GitHub issues: Enabled
Number of forks: 958
Total Stargazers: 3,174 (+0)
Total Subscribers: 123 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 3.3 hours
Mean response time: 171.1 days
90th percentile: 182.6 days
Tracked items: 192

How this project is maintained

58% of open issues come from outside the core team, a mix of external reports and the maintainers' own roadmap. Work labelled "generic support" is answered fastest, typically in about an hour, while "w/patch" waits about 5 weeks. Three people close 91% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 96
New in 7 days: 0
Closed in 7 days: 4
Avg open age: 1,807 days
Stale 30+ days: 85
Stale 90+ days: 74

Recent activity

Opened in 7 days: 0
Closed in 7 days: 1
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • BPF related (48)
  • compiling (34)
  • generic support (22)
  • linux (18)
  • w/patch (12)
  • optimizer (11)
  • Linux BPF extensions (10)
  • bug (10)

Most active issues this week

Sign in to see which issues are moving.
Sign in

Detailed Description

libpcap is a packet capture library that provides a portable interface to various kernel packet capture mechanisms across different operating systems.

The library solves the problem of accessing raw network packets from the kernel in a platform-independent way. Rather than requiring developers to write separate code for each operating system's packet capture API, libpcap abstracts these differences behind a unified C interface. It supports multiple kernel mechanisms including Berkeley Packet Filter and BSD Packet Filter, allowing applications to capture and analyze network traffic without needing to understand the underlying system-specific implementations.

Developers should choose libpcap when building network analysis tools, packet sniffers, or any application that needs direct access to network packets across multiple platforms. The library is particularly suited for projects that require portability, as it handles the complexity of different kernel interfaces transparently. It is the standard choice for network packet capture work and forms the foundation for widely-used network analysis tools.

The project maintains steady activity with regular updates addressing compatibility across platforms and kernel versions. Development includes ongoing work to support new packet capture formats and mechanisms as operating systems evolve. The maintainers actively respond to issues and incorporate improvements for cross-platform reliability. The codebase receives attention to ensure continued compatibility with modern systems while preserving support for established platforms.