{"id":80689,"library":"pcaprub","title":"PcapRub","description":"libpcap bindings for Ruby 2.x, enabling packet capture and network analysis.","status":"active","version":"0.13.3","language":"ruby","source_language":null,"source_url":"https://github.com/pcaprub/pcaprub","tags":["packet-capture","networking","libpcap","sniffing"],"install":[{"cmd":"gem install pcaprub","lang":"bash","label":"gem install"},{"cmd":"# Gemfile\ngem 'pcaprub', '~> 0.13.3'","lang":"ruby","label":"Gemfile"}],"dependencies":[],"imports":[{"symbol":"PCAPRUB","correct":"require 'pcaprub'"}],"quickstart":{"code":"require 'pcaprub'\n\ncap = PCAPRUB::Pcap.open_live('eth0', 65535, true, 1000)\ncap.each_packet do |pkt|\n  puts pkt\nend","lang":"ruby","description":"Capture network packets from an interface"},"warnings":[{"fix":"Install libpcap-dev (Linux) or WinPcap/Npcap (Windows) before installing the gem","message":"Requires libpcap development headers to be installed","severity":"gotcha","affected_versions":">= 0"}],"env_vars":null,"search_vec":"'2':6 'analysi':13 'bind':3 'captur':10,16 'enabl':8 'libpcap':2,18 'network':12,17 'packet':9,15 'packet-captur':14 'pcaprub':1 'rubi':5 'snif':19 'x':7","created_at":"2026-06-18T05:31:27.337004+00:00","updated_at":"2026-06-18T05:31:27.337004+00:00","problems":[],"ecosystem":"rubygems","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/pcaprub/pcaprub","github":"https://github.com/pcaprub/pcaprub","docs":"http://www.rubydoc.info/gems/pcaprub/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["networking"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-18","next_check":"2026-12-15","install_tag":null}}