Libnet is a C library that provides a high-level API (toolkit) allowing the application programmer to construct and inject network packets. Libnet has a poor and partial IPv6 support but it continues to be widely used. It is for that reason that I decided to review and integrate IPv6 support into libnet. At the moment I have tried to contact Mike D. Schiffman to add my changes into libnet but unfortunately I have not got any answers. So I provide on this webpage a patch against version 18.104.22.168 (lastest stable) and a working snapshot of libnet 22.214.171.124 with IPv6 support.
$ fetch http://www.packetfactory.net/libnet/dist/libnet.tar.gz
$ tar xzvf libnet.tar.gz
$ fetch http://clem1.be/libnet6/libnet6-126.96.36.199.patch
$ patch -p0 < libnet6-188.8.131.52.patch
$ ./configure && make
# make install
Here are some basic samples not included in the patch (smallest size).
Clément Lecigne <clem1@FreeBSD.org> is the patch author. Mike D. Schiffman is the author of libnet.
$Id: index.html,v 1.2 2006/08/18 20:11:29 clem1 Exp $