Site icon Techplayon

tcpdump for Linux System – A Tool for IP Packet Analysis

tcpdump

In my experience as a protocols test engineer, I have often found issues related to network connectivity, throughput loss, protocol procedure failures, having a challenge to troubleshoot and needs to verify IE level details. For these situations, tcpdump is a great tool. This is a command line utility that allows to capture the live TCP/IP packets going through an network interface and can also be saved to a pcap file for offline analysis using Wireshark tool. It is a very well known tool for IP packet capture in Linux systems.

In this article, we’ll look at some of tcpdump’s most common features.

tcpdump Utility Key Pointers

Most OS have tcpdump command pre-installed, if it is not installed you can install using following commands.

tcpdump command arguments 

The command run with some arguments and selection of these argument depend on what information you want to capture using tcpdump e.g. shown in hand-on examples. Following list provide details and meaning of some of most commonly used arguments.

MAN for tcpdump

In linux system if you are not aware about the details of any application. you an do man to provide user manual for it. Following is the MAN for tcpdump.

Common Command Examples

Related Posts



Exit mobile version