Ruby/Pcap extension library

Ruby interface to LBL Packet Capture library. This library also includes classes to access packet header fields.

It is much easier to code in Ruby/Pcap than to code in C and use libpcap directly. For example, tcpdump-like (very simple) script is written as this.

Ruby/Pcap needs libpcap. Latest libpcap distribution is here. (Original LBL version is here) Ruby/Pcap will run in any environment in which both ruby and libpcap are supported.



Related Links