mfontanini/libtins
High-level, multiplatform C++ network packet sniffing and crafting library. observed · 2026-08-28
Health v2 · maintenance only
86/100
- Activity 96
- Release rhythm 64
- Longevity 100
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: 4666
- days_rel: 28
- days_push: 28
- n_releases_24m: 1
Adoption not part of the score
1991 stars · 401 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
libtins is a high-level, multiplatform C++ library for network packet sniffing, parsing, and crafting. It provides an efficient, endianness-independent API for building tools that send, receive, and manipulate network packets, with support for protocols like TCP/IP and IEEE 802.11.
Use cases
- sniff and parse TCP packets on a network interface in C++
- craft and send custom network packets
- capture and analyze pcap packet captures
- decrypt WPA2 traffic from wireless captures
- build network security or monitoring tools
- cross-compile a packet sniffer for ARM/MIPS routers
When to choose
- you need a fast, high-level C++ API for packet capture and injection
- you need cross-platform support including Windows, macOS, Linux, and BSD
- you need wireless (802.11/RadioTap) support and WPA2 decryption
- you want endianness-independent packet parsing for embedded devices
When to avoid
- you need a scripting-language library (e.g., Python's Scapy)
- you only need passive packet analysis without crafting
- your project is not C++ or cannot link libpcap/openssl dependencies
Facets
library · maturity stable
parser networking security networking security developer-tools windows bsd cpp cross-platform packet-crafting packet-sniffing pcap libpcap network-analysis 802-11 wpa2-decryption linux macos
2 sources
- readme: https://github.com/mfontanini/libtins · fetched 2026-08-28 · a10a6d8c3a8e
- homepage: http://libtins.github.io/ · fetched 2026-08-29 · 5233ebd1019e
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| mfontanini/libtins | main | 86 |
For agents
markdown · JSON · MCP: product_card(name="mfontanini/libtins")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem