metasploit-framework/external/pcaprub
amaloteaux b536d25b38 pcaprub: add a function lookupaddrs(dev) to retrieve the list of ipv4 adresses of a given interfaces
to test, recompile and in irb Pcap.lookupaddrs("eth0")


git-svn-id: file:///home/svn/framework3/trunk@12326 4d416f70-5f16-0410-b530-b9f4589650da
2011-04-15 20:31:46 +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 Fixes #352 and fixes #350. Can no longer reproduce memory corruption or packet loss with this code 2009-10-26 22:49:43 +00:00
pcaprub.c pcaprub: add a function lookupaddrs(dev) to retrieve the list of ipv4 adresses of a given interfaces 2011-04-15 20:31:46 +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/