Packet Forge is a library designed to simplify the job of writing network-oriented tools. Contrary to other network libraries, Packet Forge has no knowledge of particular protocols. Instead, it provides a generic framework into which modules can register various services or functionality such as new protocols, new protocol families, dump formats, and so on. It provides several APIs to perform network-related tasks such as:
Packet Forge is entirely written in ANSI C with strict conformance to the POSIX and X/Open Portability Guide standards. Packet Forge is written and maintained by Jean-François Brousseau and is distributed under a BSD license.
I have almost finished integrating the dynamic datalink abstraction code,
so the datalink APIs are now found in separate modules that will be
compiled depending on the platform.
This was the cause for much of the pain involved in getting this working
on Linux, so the next release will probably compile out-of-the-box.
I am also currently looking for a way to host one or two mailing lists for
the project as well as a small forum for discussions. Unfortunately,
all of the options I have found up to this point are much too bloated for
my needs (and I want to stay away from anything related to PHP).
Well, after much procrastination, I have finally tagged version 0.4 of the
source tree and released the first tarball. Compilation works fine on BSD
but will require tweaking for Linux builds. This should get fixed in the
next release.
Please use and misuse and report bugs (there are many)!
The first draft of the Developer Manual was posted today. It still needs
a lot of tweaking due to CSS bugs, but hopefully this will be resolved by
the end of the week.
As for the tarball, version 0.5 will be tagged as soon as I am done merging
missing functionality. Sorry for the delay.
Back from the hackfest, but still in recovery mode after much ethanol consumption. The promised source code will be available as soon as I feel in better shape (probably tonight or tomorrow morning).
Many thanks should go to Ben Lovett for providing space so Packet Forge now has its own little home on the InterNot! I now have to refresh those rusty HTML skillz to put some content on here.
Packet Forge documentation is maintained within the project source tree in the SDF (Simple Document Format) format. Other formats are automatically generated from those source files. Currently, only the HTML format is generated, but PostScript versions will soon be available.
Packet Forge Developer Manual
The developer manual is meant to provide a good overview of the source tree
and explain how to add new features, either directly as part of the library
or through the module system.
The first Packet Forge release will be available on
September 16, 2005 just in time for the
CENTINEL Hackfest in
Québec city, where I will be giving a talk on network
programming and the many funky things that you can do with
Packet Forge.
The main Packet Forge source tree is maintained in a CVS repository that
is currently unavailable to the public, although this will change in the
very near future.
Anonymous CVS access is not available yet.
Two tarballs are available: stable and development. The stable version
is meant to be used for regular users, and remains somewhat conservative,
while the development tarball is automatically generated from a copy of
the source tree every day and is meant for contributors (the code might
not even compile).
| Filename | Date | MD5 Checksum |
|---|---|---|
| pforge-0.4.tar.gz | October 5, 2005 | 9194fd505d1ff2a9561b810057eb23e9 |
| pforge-current.tar.gz | October 10, 2005 | 64acb1cbcff88692e279da6e5e452819 |
No packages currently available.
Packet Forge is primarily developed on OpenBSD using gcc 3.3, although any version should work fine. Results from other compilers would be appreciated. The codebase follows the ANSI C specification as well as the POSIX and XPG standards.
Most, if not all, of the requirements to build Packet Forge are generally incorporated in the base utilities of popular Unix derivatives, to ease portability.
Supported Platforms:
Similar projects:
Tools:
Serious Stuff:
There are many ways in which you can help contributing to Packet Forge, and
there is more than just code to write.
If you like the project and want to help in a monetary way, you are highly
encouraged to help in preserving acres of tropical rainforest by helping
these organizations:
I would appreciate it if you also reported back to me on donations so we
can have an idea of the progress.
Acres saved so far: 0