The 2 best tools for the capture and the interpretation of network data

Rate this item
(2 votes)

I present you my favorite applications to capture packets on the network, although they are well known for their features, I decided to give a little space to discuss some of their features. In addition to data capture, these applications are useful for certain packets analysis with the obtained data, on the other hand, when the analysis that we need to do is a bit complex or very specific, it is always advisable to build our own scripts, but there is no doubt that no matter for what we use them, this applications will help us to obtain useful network information. This applicacions can also be combined with traffic generators in order to analyze some network issues.

 

TCPDUM

TCPDUMP [1] is a tool for capturing traffic flowing through the network in real time, this includes packets transmitted and received on a specific network interface. This tool has no graphical interface, this makes for one of the favorite applications when you want to use minimum resources as possible, also be suitable for unattended packet capture, because it can be managed by command line as it can seen in Figure # 1.

 

Figure # 1: View of the contents of various packets for command line using TCPDUMP.

This application is available for almost all operating systems (in Windows is called WinDump). It uses the libpcap library in the cases of UNIX systems and winpcap for Windows, which is responsible for packet captures. This tool allows debugging of the output obtained by means of filters, allowing capture specific port filtering, or filtering by protocol type, source or destination address, on a specific interface and others.

The installation of Linux operating systems tcpdump is usually not necessary, since it comes installed by default on most distributions, but if required, simply install using the package manager of your distribution, I am sure it is on the repositories, but if you want to compile it yourself you can download it here. For Windows systems you can download it here.

 

Wireshark

Wireshark [2] is an analysis program, held under GNU GPL (GNU General Public License), also uses the same packet capture libraries those used in TCPDUMP, depending on the operating system. Unlike TCPDUMP, Wireshark allows management through a friendly graphical interface (see Figure # 2), so the user has no possibility of an unattended management. Also it permits filtering and traffic analysis with statistics, graphics and other utilities. It supports the TCPDUMP file format and recognizes a lot of protocols.

 

Figure # 2View of the content of a UDP packet using Wireshark.

 

Another interesting feature for researchers is that it allows the export of capture files to different formats for use with oriented applications of mathematical analysis or databases, which can be useful for further analysis, such as calculations of delays, MOS, statistics and other quantities that can be extracted from the packet capture in the network.

For installation on Linux systems, this application is usually found in the repositories, so you use the package manager as distribution, if you can not find it or you are using Windows you can download it here.

 

References

  1. http://www.tcpdump.org/
  2. http://www.wireshark.org/
2038 Last modified on Thursday, 22 September 2016 19:56
More in this category:
Luis Sequeira

Luis Sequeira is an IT professional with experience in cloud environments, quality of service and network traffic analysis, who loves looking for solutions to engineering challenges, share knowledge. At work, the main challenge is to integrate different network and software technologies to provide solution in a wide range of areas, e.g., virtual network functions, machine learning, autonomous driving, robotics and augmented reality.

Website: https://www.luissequeira.com

Leave a comment

Make sure you enter all the required information, indicated by an asterisk (*). HTML code is not allowed.