metasploit-framework/external/pcaprub
HD Moore a97abcf837 Cleaning up pcaprub, interface closing will still be handled by the GC
git-svn-id: file:///home/svn/framework3/trunk@6859 4d416f70-5f16-0410-b530-b9f4589650da
2009-07-21 19:36:37 +00:00
..
LICENSE Shiny new packet capture library 2007-10-08 23:16:31 +00:00
README Added build and install instructions 2009-01-02 21:04:06 +00:00
extconf.rb This patch makes pcap.next non-blocking from a Ruby thread perspective. It does eat more CPU if there are no select() loops in the calling Ruby parent, but this isnt too common and never an issue for MSF 2008-06-22 17:14:11 +00:00
pcaprub.c Cleaning up pcaprub, interface closing will still be handled by the GC 2009-07-21 19:36:37 +00:00
test_pcaprub.rb Wait on the pcap file handle to reduce cpu consumption during sniffing 2009-07-17 02:24:21 +00:00

README

This goal of this project is to provide a consistent interface to LBL's libpcap
packet capture library. This project was created because the currently
available ruby-pcap library is poorly designed and has been unmaintained since
2000. This does not provide packet processing functionality, it simply provides
the interface for capturing packets. For packet processing capability, see the
PacketRub project (http://packetrub.rubyforge.org).

Requirements:
  libpcap - http://www.tcpdump.org

Build & Install:
  ruby extconf.rb && make && make install

The latest version can be obtained from Subversion:
  svn checkout http://pcaprub.rubyforge.org/svn/trunk/

The Metasploit Project also provides a Subversion repository:
  svn checkout http://metasploit.com/svn/framework3/trunk/external/pcaprub/