Termshark is a command line user interface, inspired by Wireshark. Resources
First you need to install Go, for that use the package manager of your distribution, examples:
emerge go # Gentoo, Funtoo, ...
sudo apt install go # Debian, Ubuntu, Mint, ...
sudo pacman -S go # Arch, Manjaro, ...
sudo dnf install go # Red Hat, CentOS, Fedora, ...
Also install the dependencies:
After that just use the go
command to install:
go get github.com/gcla/termshark/v2/cmd/termshark
And include the path in your $PATH
variable, example:
echo 'export PATH="${PATH}:~/go/bin/' | tee -a ~/.bashrc
Capture ping packets on the enp1s0 interface:
termshark -i eth0 enp1s0
For more information, run the command:
termshark -h
And visit the official address of the project: https://github.com/gcla/termshark