The Mystery Behind TCP Dump
TCP dump command will go to the network level and show you the all the packets where it is going coming in or coming out.
command:- tcpdump
Ping works on ICMP protocol
command :- tcpdump icmp
It will update live if some one is ping in the real time which we see in our terminal.
If i want to capture the of TCP only on port 80 then it will capture that ip.
command :- tcpdump tcp port 80
The above command will show the DNS.
command :- tcpdump tcp port 80 - n
This time it will only show the ip addrress because of -n command . It will not show the DNS.
As you ping this IP all the packets will be able to show there on the terminal.
command:- tcpdump tcp port 80 -n -X
If we insert -X before the command tcpdump tcp port 80 -n -X then, it will clearly show the data which will be not encrypted because the http is not a secure that’s helps it to show the data with out any hide.
So, whether you’re a tech enthusiast, a professional, or just someone who wants to learn more, I invite you to follow me on this journey. Subscribe to my blog and follow me on social media to stay in the loop and never miss a post.
Together, let’s explore the exciting world of technology and all that it has to offer. I can’t wait to connect with you!”