Registry / networking / ffi-pcap

ffi-pcap

JSON →
library0.2.1rbrubygemsunverified

Bindings to libpcap via FFI interface in Ruby.

networkingutility
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

require 'ffi-pcap'

Capture packets from an interface.

require 'ffi-pcap' cap = FFI::PCap.open_live('eth0', 65535, true, 1000) cap.each_packet { |pkt| puts pkt.body }
Debug
Known footguns
gotchaRequires libpcap development headers to be installed.
Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
14 hits · last 30 days
gptbot
3
claudebot
3
ahrefsbot
1
Resources