Over the years I have written a variety of small utilities. Many of these programs were developed as helper programs for a particular research project or as part of a college assignment. I am providing them here in the hope that someone might find them useful or interesting.
Mininet Traffic Generation Utilities
As part of a class project, I developed two and three level tree topologies for mininet as well as an implementation of fat tree for mininet. In addition, I wrote a python script to take the traffic matrices produced by the DCT^2Gen tool and generate TCP flows in mininet from them.
I have released these scripts under a BSD license. You may download them from my git repository at github.
Windows XP/Vista/7 Backup Scripts
While I much prefer Linux or any *NIX systems to Windows, I still have family members that use Windows. Because I'm the techy, it falls to me to help them do backups and other similar tasks.
After considering various Windows backup utilities and being unsatisfied with all of them, I wrote my own set of scripts to handle backup and restore tasks. These scripts emulate an rsync-style backup system that backs up the entire Windows profile and are simple enough for my mother to use.
You may download these scripts from my git repository at github. They are designed for Windows XP/Vista/7. They should work on Windows 8, but I have not tested them under that operating system.
I developed a tool called dccp2tcp to help analyze DCCP packet captures. This tool takes a DCCP packet capture and converts it to a semantically similar TCP capture which can then be analyzed with Dr. Shawn Ostermann's tcptrace utility ( http://www.tcptrace.org). This provides a vast amount of information about a DCCP connection in an easy to understand graphical format.
I have released dccp2tcp under the GNU GPL. You may obtain the prgram from my git repository at github. Dccp2tcp will only compile on Linux because it requires the Linux Kernel DCCP headers. My testing has been restricted to 64bit Ubuntu/Debian, but dccp2tcp should work fine on any Linux variant with a kernel greater than 2.6.18.
I developed a tool called ltp2tcp to help analyze LTP packet captures. This tool takes an LTP packet capture and converts it to a TCP packet capture that can be analyzed with Dr. Shawn Ostermann's amazing tcptrace utility (http://www.tcptrace.org) to create a variety of charts and statistics about the original LTP capture. This provides a vast amount of information about an LTP connection in an easy to understand graphical format.
I have released ltp2tcp under the GNU GPL. You can obtain the most recent source from my git repository.
Strip6in4, version 1.0
This program de-encapsulates 6in4 or 4in6 tunneled traffic. I wrote this tool because I needed to capture tunneled traffic on a middle node and analyze it using typical tools like tcpdump and tcptrace. The program takes libpcap captures, locates 6in4 or 4in6 traffic, and de-encapsulates that traffic into a raw IP (libpcap compatible) capture.
You may download this utility from my git repository at github. It has been tested on 64bit Linux, but should compile on most UNIX-based operating systems.
Email Spoofer, version 2.0
Email is surprisingly easy to spoof. The SMTP (RFC 2821) protocol allows the sender of an email to specify an arbitrary FROM address with absolutely no verification. This program takes advantage of that flaw in order to send emails that claim to be from arbitrary email addresses. This program also demonstrates the use of PGP signatures for effective verification of sender identity.
You may download this program, designed to be compiled on UNIX-based operating systems, here.