libtins
« Back to VersTracker
Description:
C++ network packet sniffing and crafting library
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Networking
Tags: networking c-plus-plus packet-crafting security libpcap
Install: brew install libtins
About:
Libtins is a high-level C++ library designed for network packet sniffing, crafting, and analysis. It abstracts low-level protocols like TCP/IP and IEEE 802.11, allowing developers to easily capture, manipulate, and inject packets. Its intuitive API and cross-platform support make it ideal for building network monitoring tools and security scanners.
Key Features:
  • Support for major protocols (Ethernet, IP, TCP, UDP, ICMP, etc.)
  • High-level C++ API for easy packet manipulation
  • Cross-platform support (Linux, macOS, Windows)
  • Packet capture and injection capabilities
  • PDU (Protocol Data Unit) based structure
Use Cases:
  • Developing custom network sniffers and analyzers
  • Creating network intrusion detection systems (NIDS)
  • Automated network traffic generation and testing
  • Crafting custom packets for security research
Alternatives:
  • libpcap – Lower-level C library providing raw packet capture; Libtins offers a much easier C++ abstraction.
  • Scapy – Python-based interactive tool; Libtins provides higher performance for C++ applications.
Version History
Detected Version Rev Change Commit
Sep 16, 2025 4:35pm 0 VERSION_BUMP 3554ae8c
Sep 13, 2024 3:02pm 0 VERSION_BUMP db100ee3