Install ruby-pcaprub by entering the following commands in the terminal:
sudo apt update sudo apt install ruby-pcaprub
Description:
Ruby bindings for LBL Packet Capture library (libpcap)
libpcap (Packet CAPture) provides a portable framework for low-level network monitoring. Applications include network statistics collection, security monitoring, network debugging, etc. . pcaprub provide a consistent interface for using libcap in Ruby. . It does not provide packet processing functionality, only the interface for capturing packets, and passing yielding those packets.
Homepage: https://github.com/pcaprub/pcaprub
Version: 0.12.4-1build2
Section: universe/ruby