
is one of the most powerful command-line packet analyzer tools for all IT Professionals. In this tutorial, we share some practical examples of tcpdump tool which should be known by every IT Professional.
A well-known network sniffer tool for network monitoring which provides plenty of options. From analyzing live network traffic to capture specific traffic in a file, you can do all with tcpdump. Easy availability for all the operating systems, makes it more popular.
There are many other tutorials available for tcpdump on the internet but the proper explanation of commands and examples are not available. So, here we decide to document some well-explained examples of tcpdump in simple and understandable language.
Above all, let’s have a look at the history of the tcpdump tool. tcpdump was written at Lawrence Berkeley Laboratory in 1988. The official website www.tcpdump.org created in 1999.
Install tcpdump
Let’s start by installing tcpdump in different operating systems. use the below commands to install it.
######### For CentOS/Fedora ############# sudo yum install tcpdump ######## For Ubuntu/Debian ############## sudo apt-get install tcpdump ######## For Arch Linux ################ sudo pacman -S tcpdump
If you have a different OS, you can download it from its Official Website.
The following are the examples of tcpdump tool.