/simple_capture

Packet capture tool made only with Ruby.

Primary LanguageRubyMIT LicenseMIT

SimpleCapture

Packet capture tool made only with Ruby

simple_capture3-3

Installation

% gem install simple_capture

Usage

Create a file for test execution

% vim test.rb

test.rb

require "simple_capture"

cap = SimpleCapture::Capture.new("eth1")
cap.run

Execute

% sudo ruby test.rb 

Related Links

https://zenn.dev/kuredev/articles/16d6e2b865fc43