Libnet
Libnet is a high-level API (toolkit) allowing the application programmer to construct and inject network packets. It provides a portable and simplified interface for low-level network packet shaping, handling and injection. Libnet hides much of the tedium of packet creation from the application programmer such as multiplexing, buffer management, arcane packet header information, byte-ordering, OS-dependent issues, and much more. Libnet features portable packet creation interfaces at both the IP-layer and link-layer, as well as a host of supplementary and complementary functionality. Using libnet, quick and simple packet assembly applications can be whipped up with little effort. With a bit more time, more complex programs can be written (Traceroute and Ping were easily rewritten using libnet and libpcap).
Install / Use
/learn @korczis/LibnetREADME
=============================================================================== $Id: README,v 1.4 2004/03/01 20:26:11 mike Exp $ LIBNET 1.1 (c) 1998 - 2004 Mike D. Schiffman mike@infonexus.com http://www.packetfactory.net/libnet
A C library for portable packet creation and injection.
Libnet is an API to help with the construction and handling of network
packets. It provides a portable framework for low-level network
packet writing and handling (use libnet in conjunction with libpcap and
you can write some really cool stuff). Libnet includes packet creation
at the IP layer and at the link layer as well as a host of supplementary
and complementary functionality. Libnet is very handy with which to
write network tools and network test code. See the manpage and sample
test code for more detailed information.
Your old code (circa libnet-1.0.x) WILL NOT WORK with libnet-1.1.x.
Read doc/MIGRATION for easy steps on porting your old code.
EOF
Related Skills
node-connect
340.5kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
84.2kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
340.5kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
84.2kCommit, push, and open a PR
Security Score
Audited on Aug 25, 2020
