Pacman version 0.1 release

http://www.leetsys.com/programs/pacman/v0.1/

Here’s the first release of a small program I wanted to write for various reasons including testing of firewall ACL’s. I’m sure there are other similar programs like this out there but I wanted one that I had intimate knowledge of so that I could expand it to fit my needs and I had a lot of fun working with the libnet library.

This is release 0.1 of what will hopefully be a project that gets updated often. I tested this with version 1.1.2.1 of libnet. To compile simply run ‘gcc pacman.c -lnet -o pacman’.

If you run the program with no arguments it will give you the current usage options which looks like this.

root@ubulap2:~# ./pacman
PacMan v.01 [Packet Generation Tool]
Usage: ./pacman
-i interface
-m source mac address
-M destination mac address
-s source ip address
-d destination ip address
-p source port
-P destination port
-x tcp payload
root@ubulap2:~#

Test it out let me know what you’d like added and look for lots of updates. I plan on changing the output a little as well as adding an option to do a walk through mode to prompt for all options to construct a full TCP packet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: