Holdorf.dk/Software

Software Development Blog

PacketForward

PacketForward is an IP packet capture and forward application based on libpcap and libnet. It is a command line tool that listens on one network interface for UDP and TCP packets and then injects them on the same or another network interface. It has options for packet capture filtering and changing destination address.

The project is also available at Google Code.

Todo

Support for more than one destination address.
Compiled as a Universal Binary

Version History

0.8.1: (2008-12-19)
Changed the makefile for easy configuration.
Corrected minor errors in the readme file related to getting libnet.

0.8: (2008-01-13)
New option to set PacketForward in packet capture mode only.

0.7.1: (2007-02-23)
The makefile now uses the libpcap that is preinstalled on Mac OS X.
The distributed Mac OS X (Intel) binary is now compiled to use the libpcap that is preinstalled on Mac OS X.
Corrected minor errors in the readme file related to usage of PacketForward.
Added a script to ease usage of PacketForward.

0.7: (2007-02-18)
New code for injecting packets
New options to hide headers and payload
New command line options handling
Fixed minor bugs relating to signedness warnings when compiling
Fixed minor bugs where wrong IP and TCP packet lengths were calculated

0.5.1: (2007-02-16)
Fixed a serius bug, where the payload file for nemesis was saved in a wrong directory.

0.5: (2007-02-15)
First public release.
Capture code is using libpcap.
Dependent on Nemesis to inject packets.