/ruby-pcap

Ruby interface to LBL Packet Capture library.

Primary LanguageCGNU General Public License v2.0GPL-2.0

* 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.8.x or ruby-1.9.2
  - libpcap (http://www.tcpdump.org/)

Compile:

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

  rake build
  sudo gem install pkg/pcap*.gem

* Usage

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

* Author

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

* Modifications by
Andrew Hobson <ahobson@gmail.com>

* OS X and Ruby 1.9.2 support by
Tim Jarratt <tjarratt@gmail.com>

* Performance Improvements and other great contributes by
Ilya Maykov

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.