My favorites | Sign in
Project Logo
                
People details
Project owners:
  planb.security

PacketFu

PacketFu is a mid-level packet manipulation library for Ruby. The current version is 0.2.0, as of June 13, 2009.

Bullets

Requirements

BinData and PcapRub are provided as part of the current PacketFu distribution -- see their accompanying documentation for more information.

Download

Click the download link to start creating and parsing packets natively in Ruby. But if I were you, I'd stick to the source instead. I hardly ever break the tree, and I'm slow on upping version numbers.

Install

  1. See the included INSTALL file. In short:
    1. tar zxvf packetfu.0.x.y.tar.gz
    2. cd pcaprub_linux
    3. ruby extconf.rb && make && sudo make install
    4. cd ..
    5. sudo ruby setup.rb
  2. Note, if you already have a version of BinData installed, this will overwrite it. There are ways around this, see ruby setup.rb --help for details.
  3. PacketFu is reported to work on OS X, assuming you can get pcaprub installed correctly.

Other Stuff

PacketFu (for Ruby) has no connection to the folks at packetfu.org.

Spelling

Sometimes it's spelled "Packet-Fu," but it's difficult to get a hyphen in a Ruby constant, so I usually spell it PacketFu now.









Hosted by Google Code