Install hping2 on Centos6.0

Source: Internet
Author: User
As we can see on the Internet, hping is easier to use than the ping function provided by the system. Therefore, we need to take some time to install hping. how to use hning2 I. What is the difference between hong2 and ping: the typical ping program uses ICMP echo requests for testing, while hping can use any IP packets, including ICM...

 

As we can see on the Internet, hping is easier to use than the ping function provided by the system, so we need to take some time to install it,

How to use hning2

I. differences between hong2 and ping:

A typical ping program uses ICMP echo requests for testing, while hping can use any IP packet, including ICMP, TCP, UDP, and RAWSOCKET.

2. Download

Go to HTTP: // WWW. HPING. ORG/, and download one of the following images:

 

3. Installation

The downloaded file is. The file ending with tar.gz,

 

Decompress:

 

Enter after decompression into the hping2c-3 Directory:

 

Go to the directory and see the configure green file.

 

Then configure it in the command line:

./Configure

 

No error. Then install

During the installation process, make will see the following two prompts:

 

Follow the prompts once,

Make strip and make install are prompted during the installation of make install

 

The hping man help page cannot be installed because there is no man8 document under/usr/local/man,

Create a document under/usr/local/man,

After the creation, make install in the hping2-rc3. View the hping2 command help document:

 

In this way, the installation is complete.

If you want to learn more about the specific commands of hping 2, open the: http://cnhotfire.blog.51cto.com/2042323/698362 blog.

This article is from the "Happy first" blog

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.