Installing a packet analyzer application Wireshark
Wireshark
Wireshark is the world’s foremost and widely-used network protocol analyzer. It lets you see what’s happening on your network at a microscopic level and is the de facto (and often de jure) standard across many commercial and non-profit enterprises, government agencies, and educational institutions.Features (as listed on the website)
Wireshark has a rich feature set which includes the following:- Deep inspection of hundreds of protocols, with more being added all the time
- Live capture and offline analysis
- Standard three-pane packet browser
- Multi-platform: Runs on Windows, Linux, macOS, Solaris, FreeBSD, NetBSD, and many others
- Captured network data can be browsed via a GUI, or via the TTY-mode TShark utility
- The most powerful display filters in the industry
- Rich VoIP analysis
- Read/write many different capture file formats: tcpdump (libpcap), Pcap NG, Catapult DCT2000, Cisco Secure IDS iplog, Microsoft Network Monitor, Network General Sniffer® (compressed and uncompressed), Sniffer® Pro, and NetXray®, Network Instruments Observer, NetScreen snoop, Novell LANalyzer, RADCOM WAN/LAN Analyzer, Shomiti/Finisar Surveyor, Tektronix K12xx, Visual Networks Visual UpTime, WildPackets EtherPeek/TokenPeek/AiroPeek, and many others
- Capture files compressed with gzip can be decompressed on the fly
- Live data can be read from Ethernet, IEEE 802.11, PPP/HDLC, ATM, Bluetooth, USB, Token Ring, Frame Relay, FDDI, and others (depending on your platform)
- Decryption support for many protocols, including IPsec, ISAKMP, Kerberos, SNMPv3, SSL/TLS, WEP, and WPA/WPA2
- Coloring rules can be applied to the packet list for quick, intuitive analysis
- Output can be exported to XML, PostScript®, CSV, or plain text
Installing Wireshark in terminal of different Linux distro's
Ubuntu and its derivatives
sudo add-apt-repository ppa:wireshark-dev/stablesudo apt update && sudo apt install wireshark
Opensuse
To install Wireshark in openSUSE Leap 42.3
zypper addrepo https://download.opensuse.org/repositories/network:utilities/openSUSE_Leap_42.3/network:utilities.repozypper refresh
zypper install wireshark
To install Wireshark in openSUSE Leap 42.2
zypper addrepo https://download.opensuse.org/repositories/network:utilities/openSUSE_Leap_42.2/network:utilities.repozypper refresh
zypper install wireshark
Note : please vist https://software.opensuse.org/download.html?project=network%3Autilities&package=wireshark For more versions
Fedora
sudo dnf install wireshark-qtor
sudo dnf install wireshark-gtk
Now you need to use a tool called alternatives to switch among them:
$ sudo alternatives --config wireshark
There are 2 programs which provide 'wireshark'.
Selection Command
-----------------------------------------------
*+ 1 /usr/sbin/wireshark-qt
2 /usr/sbin/wireshark-gtk
Enter to keep the current selection[+], or type selection number: 2
Arch Linux and its derivatives
sudo pacman -S wireshark-qtor
sudo pacman -S wireshark-gtk
Redhat
yum install wireshark wireshark-qtDownload location for Windows and Mac
https://www.wireshark.org/download.htmlVisit above link. In that page, click on Stable release and download the application for both 64 bit and 32 bit systems