kaitoy/pcap4j
A Java library for capturing, crafting, and sending packets. observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- 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-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5372
- days_rel: n/a
- days_push: 1458
- n_releases_24m: 0
Adoption not part of the score
1240 stars · 313 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Pcap4J is a Java library for capturing, crafting, and sending network packets. It wraps native packet capture libraries (libpcap, WinPcap, Npcap) via JNA and exposes Java-oriented APIs for building packet analysis and network tools.
Use cases
- capture packets in java
- craft and send custom network packets
- parse pcap packet headers like ethernet ipv4 tcp
- build a network sniffer or traffic analyzer in java
- list network interfaces and open live capture handles
- replay or generate packets for testing
When to choose
- you need packet capture or injection from Java on JVM platforms
- you want a pure-Java API over libpcap/WinPcap/Npcap without writing JNI bindings
- you need to parse or build protocol packets (Ethernet, IP, TCP, etc.) programmatically
When to avoid
- you need a high-performance packet processing pipeline where native tools like libpcap directly or DPDK are better
- you need a maintained project - releases stopped in 2022 and maintenance appears limited
- you need packet capture on platforms without libpcap/WinPcap/Npcap available
Facets
library · maturity maintenance
networking developer-tools parser networking security developer-tools windows cross-platform jvm packet-capture packet-crafting libpcap winpcap npcap jna packet-sniffing java-library linux macos
2 sources
- readme: https://github.com/kaitoy/pcap4j · fetched 2026-08-28 · debb7cc7a85c
- homepage: https://www.pcap4j.org/ · fetched 2026-08-29 · 84334f32cd04
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| kaitoy/pcap4j | main | 32 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem