Install tcpdump by entering the following commands in the terminal:
sudo apt update sudo apt install tcpdump
Description:
command-line network traffic analyzer
This program allows you to dump the traffic on a network. tcpdump is able to examine IPv4, ICMPv4, IPv6, ICMPv6, UDP, TCP, SNMP, AFS BGP, RIP, PIM, DVMRP, IGMP, SMB, OSPF, NFS and many other packet types. . It can be used to print out the headers of packets on a network interface, filter packets that match a certain expression. You can use this tool to track down network problems, to detect attacks or to monitor network activities.
Homepage: http://www.tcpdump.org/
Version: 4.9.2-3
Section: net