Hack Tool Repository Logo

Hack Tool Repository

white curve white curve

hping

Google
 

hping

hping is a command-line oriented TCP/IP packet assembler/analyzer. The interface is inspired to the ping(8) unix command, but hping isn't only able to send ICMP echo requests. It supports TCP, UDP, ICMP and RAW-IP protocols, has a traceroute mode, the ability to send files between a covered channel, and many other features.
 Related to:
libpcap


Site: http://www.hping.org/
Source URL: files/Networking Tools/hping/hping3-20051105.tar.gz
Category: Networking Tools
Hits: 7261
Rating: 10
Added: 2006-04-27 09:02:05
Updated: 2009-12-05 22:12:50
Tested on:
Fedora Core    install.sh
10
11
OpenSUSE    install.sh
10
11
Ubuntu    install.sh
7.10
8.10
9.10

Comments:

You need to install tcllib for hping to compile. If you still get the following error:

./configure: line 81: -: command not found
==> WARNING: no Tcl header files found!

And hping version info will display:

hping version info will display:
NO TCL scripting support compiled in

You need to change the configure file to include version 8.5 in the following line: for TCLVER_TRY in "8.5" "8.4" "8.3" "8.2" "8.1" "8.0"

by marc at 2009-01-07 20:03:46

When compiling hping (or any other tool that needs libpcap) you will run into a compile error:
libpcap_stuff.c:20:21: error: net/bpf.h: No such file or directory
libpcap_stuff.c: In function pcap_recv:
libpcap_stuff.c:61: warning: pointer targets in assignment differ in signedness
make: *** [libpcap_stuff.o] Error 1

This is due to the fact that the net directory does not exist. Execute the following commands to resolve this issue:
mkdir /usr/local/include/net
ln -sf /usr/include/pcap-bpf.h /usr/local/include/net/bpf.h

by marc at 2009-01-28 22:03:19

 
Olderchurch Web Site About Us | Site Map | Contact Us | ©2007 Olderchurch Security Consultancy