Use of the Tcpdump command for Network Analysis in linux

Source: Internet
Author: User
Use the Tcpdump command for Network Analysis in linux-Linux Enterprise Application-Linux server application information. The following is a detailed description. Introduction to network data collection and analysis tool TcpDump

As the name suggests, TcpDump can completely intercept the "Header" of the packets transmitted in the network for analysis. It supports filtering network layer, protocol, host, network or port, and provides logical statements such as and, or, not to help you remove useless information. Tcpdump is a free network analysis tool. It provides source code and open interfaces. Therefore, tcpdump is highly scalable and useful for network maintenance and intruders. Tcpdump exists in the basic FreeBSD system. Because it needs to set the network interface to the mixed mode, normal users cannot execute normally, however, users with root permissions can directly execute the command to obtain information on the network. Therefore, the network analysis tools in the system are not a threat to the security of the local machine, but a threat to the security of other computers on the network.

Tcpdump is defined as simple as possible: dump the traffice on a network. It is a packet analysis tool that intercepts packets on the network according to the user's definition. As a necessary tool for the classic system administrator on the internet, tcpdump, with its powerful functions and flexible interception policies, becomes one of the essential tasks for every senior system administrator to analyze the network and troubleshoot problems. Tcpdump provides source code and open interfaces, so it has high scalability and is a very useful tool for network maintenance and intruders. Tcpdump exists in the basic FreeBSD system. Because it needs to set the network interface to the mixed mode, normal users cannot execute normally, however, users with root permissions can directly execute the command to obtain information on the network. Therefore, the network analysis tools in the system are not a threat to the security of the local machine, but a threat to the security of other computers on the network.

Installation of network data collection and analysis tool TcpDump

In linux, the installation of tcpdump is very simple. Generally, there are two installation methods. An rpm package is used for installation. In addition, it is installed in the form of a source program.

Rpm package installation: the simplest installation method is to compile the software and package it into a binary format. You can directly install the rpm package through the rpm command, you do not need to modify anything. Use the following command to log on as a Super User:
CODE: # rpm-ivh tcpdump-3_4a5.rpm

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.