Installing Wireshark on Ubuntu
Wireshark® is a network protocol analyzer. It lets you capture and interactively browse the traffic running on a computer network Wireshark can be setup to run on multiple platforms.
How to Install
$ sudo apt-get install -y wireshark
$ sudo add addgroup -quiet -system wireshark
$ sudo chown root:wireshark /usr/bin/dumpcap
$ sudo setcap cap_net_raw,cap_net_admin=eip /usr/bin/dumpcap
$ sudo usermod -a -G wireshark
Wireshark can be started, and you can start capturing traffic on your network.
Wireshark and the "fin" logo are registered trademarks of the Wireshark Foundation