Skip to content

Wurldtech/libnet

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Upstream on libnet was dead.

Debian and Fedora had unmerged patches.

I had patches to ip_offset handling (used for IP checksumming) to fix memory
corruption bugs, and I had the start of Lua bindings.

I forked from packetfactory.net and am maintaining and rereleasing libnet.

Contact Sam Roberts <vieuxtech@gmail.com> if you have bugs or patches to contribute.

Newest code is at:

  http://github.com/sam-github/libnet

Releases are at:

  http://sourceforge.net/projects/libnet-dev/

In progress:

- add me and up-to-date links to copyright and docs
- add contributors to docs
- make list of people who want to know about releases, or make a mailing list
- update auttools to:
> http://ftp.gnu.org/gnu/autoconf/autoconf-2.63.tar.gz
> http://ftp.gnu.org/gnu/automake/automake-1.10.tar.gz
> http://ftp.gnu.org/gnu/libtool/libtool-2.2.6a.tar.gz
>
> You may have to install m4 too:
> http://ftp.gnu.org/gnu/m4/m4-1.4.12.tar.gz
  so newer configure script goes with the release, after which
  mkinstalldirs can maybe be deleted.
- rerelease

- lua bindings, to libnet, libpcap, and libnfq: these will allow construction,
  capture, modification, injection and reinjection of packets (as well as unit
  testing libnet)


Incomplete:

- redo error handling in net binding
- icmpv6 patches: cksum is wrong
- cksum bug? generally, I don't trust the checksums are correct
- unit test framework
- Rework the internal data structures, they have so much redundancy in their
  internal linking that keeping them correct as pblocks get updated isn't
  possible. Specifically, get rid of ip_offset and h_len, and have pblocks
  find information they need from upper/lower layers when they are coalesced.

About

libnet provides a portable framework for low-level network packet construction.

Resources

Stars

Watchers

Forks

Packages

No packages published