metasploit-framework/external/ruby-pcapx
HD Moore 52b0f8c2aa More code from alex
git-svn-id: file:///home/svn/framework3/trunk@4392 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-15 21:14:11 +00:00
..
doc Modified version of ruby-pcap 2006-11-06 03:05:06 +00:00
doc-ja Modified version of ruby-pcap 2006-11-06 03:05:06 +00:00
examples Modified version of ruby-pcap 2006-11-06 03:05:06 +00:00
lib Fix segfault, cleanup headers 2006-11-06 04:14:18 +00:00
COPYING Modified version of ruby-pcap 2006-11-06 03:05:06 +00:00
ChangeLog Modified version of ruby-pcap 2006-11-06 03:05:06 +00:00
MANIFEST Pcap -> PcapX 2006-11-06 03:43:33 +00:00
Pcap.c Fix segfault, cleanup headers 2006-11-06 04:14:18 +00:00
README Modified version of ruby-pcap 2006-11-06 03:05:06 +00:00
extconf.rb Pcap -> PcapX 2006-11-06 03:43:33 +00:00
icmp_packet.c Modified version of ruby-pcap 2006-11-06 03:05:06 +00:00
ip_packet.c Modified version of ruby-pcap 2006-11-06 03:05:06 +00:00
packet.c Minor updates, doc chnages 2006-11-10 04:18:14 +00:00
ruby_pcap.h Fix segfault, cleanup headers 2006-11-06 04:14:18 +00:00
tcp_packet.c Modified version of ruby-pcap 2006-11-06 03:05:06 +00:00
test.rb More code from alex 2007-02-15 21:14:11 +00:00
udp_packet.c Modified version of ruby-pcap 2006-11-06 03:05:06 +00:00

README

This is a modified version of Masaki Fukushima's ruby-pcap module.



=========================
= README from ruby-pcap =
=========================

* Introduction

ruby-pcap is a ruby extension to LBL libpcap (Packet Capture library).
This library also includes classes to access TCP/IP header.

* Installation

Requirements:

  - ruby-1.4.x
  - libpcap (http://www.tcpdump.org/)

Compile:

If ruby supports dynamic link of extension module on your OS,
following commands will install ruby-pcap.

  ruby extconf.rb [options]
  make
  make install

You can specify options when you run 'ruby extconf.rb':

`--with-pcap-dir=PREFIX'
    Directory where libpcap is installed.  Default is '/usr/local'.

If dynamic link isn't available, you can link ruby-pcap statically
with ruby.  Extract ruby-pcap under the directory 'ext' in ruby source
tree, then build ruby.

* Usage

See the documentation under the directory 'doc'.
Directory 'examples' contains some simple scripts.

* Author

Masaki Fukushima <fukusima@goto.info.waseda.ac.jp>

ruby-pcap is copyrighted free software by Masaki Fukushima.

You can redistribute it and/or modify it under the terms of
the GPL (GNU GENERAL PUBLIC LICENSE).  See COPYING file about GPL.

THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  See the GPL for
more details.