OSDN Git Service

2013.10.24
[uclinux-h8/uClinux-dist.git] / user / hping / INSTALL
1 You can compile hping3 at least under:
2
3 Linux
4 OpenBSD
5 FreeBSD
6 NetBSD
7 Solaris
8
9 But hping3 is beta, for now it was mostly tested only in Linux,
10 this should change soon now that the first beta is out.
11
12 Note that starting from hping3 libpcap should be used
13 with all the kind of systems, including Linux.
14
15 Linux
16 -----
17
18 please, follows this steps:
19
20 $ ./configure (first try ./configure --help)
21 $ vi Makefile (optional)
22 $ make
23 $ su
24 # make install
25
26 FreeBSD, OpenBSD, NetBSD
27 ------------------------
28
29 You will need the libpcap and the gmake utility installed on your system. 
30
31 $ ./configure
32 $ gmake
33 $ su (or calife)
34 # gmake install
35
36 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
37 NOTE: You should take care about your net/bpf.h file installing on
38       BSD systems (specially with OpenBSD). If your original bpf.h was
39       overwritten with the libpcap one probably hping will not work
40       with over some interface.
41
42       For example if you use the libpcap bpf.h on OpenBSD hping will
43       not work over PPP interfaces.
44 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
45
46 Solaris
47 -------
48
49 $ export CC="gcc"
50 $ ./configure
51 $ gmake
52 $ su
53 # gmake install
54
55 ALL
56 ---
57
58 To setuid hping3 is like to open the port to script kiddies
59 for now. Don't do it in any real multiuser and otherwise
60 security-sensitive system.
61
62 antirez