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, FreeBSD, NetBSD (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 overflow 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