/* 
 * $smu-mark$ 
 * $name: INSTALL$ 
 * $author: Salvatore Sanfilippo 'antirez'$ 
 * $copyright: Copyright (C) 1999 by Salvatore Sanfilippo$ 
 * $license: This software is under GPL version 2 of license$ 
 * $date: Sun Jul 25 17:56:53 MET DST 1999$ 
 * $rev: 1$ 
 */ 

You can compile hping2 at least under:

Linux
OpenBSD
FreeBSD

With Linux you don't need any libs, nor to be root,
however you need uid 0 to run hping.

Compiling for OpenBSD or FreeBSD (or any other != linux)
you need libpcap, that's included in the official hping2 tarball.

please, follows this steps:

$ ./configure (first try ./configure --help)
$ vi Makefile (optional)
$ make
$ su
# make install

If you need to run hping2 by your normal
account (i.e. antirez) try the following commands:

# chown root:antirez /usr/sbin/hping2
# chmod 4750 /usr/sbin/hping2

	WARNING: hping2 isn't so trusted code, i didn't
	audit for hidden buffers over flow and others
	security related problems. However if (as default)
	LIMITWHENSUID is defined if euid != uid
	it's not possible to use a lot of options
	banally unsafe.

Please, if you think hping2 is usefull send me suggestions to enanche it.
Also I'm interested to know how you use hping2.

have a happy hping2 session!
antirez
