Skip to content

Latest commit

 

History

History
42 lines (36 loc) · 840 Bytes

README.md

File metadata and controls

42 lines (36 loc) · 840 Bytes

LIBPCAP RPC Muxer

Client app uses GRPC for libpcap call on remote hosts

Quick start

  1. Install wireshark on client host
  2. Build executables:
# go mod download
# mkdir -p build
# go build -o build daemon/daemon.go; go build -o build client/*
  1. Install and run daemon from build dir or releases to all remote servers and run
  2. Start client app
  3. Add remote hosts with running daemon to local config:
>>> devices add remote1 192.0.2.1
>>> devices add remote2 192.0.2.2

or do it by group

>>> devices add remote1 192.0.2.1 remote2 192.0.2.2
  1. Set interface to capture (must be same on all devices)
>>> interface any

Default: any

  1. Set pcap-filter
>>> pcap-filter tcp port 443

Default: ""

  1. Start capture
>>> start
  1. After done, press stop button in wireshark and/or close it