Posts Tagged network

install hping hping needs pcap.h

install hping
hping needs pcap.h, bpf.h, we should install libpcap-devel

there is sth need to change
ln -s /usr/include/pcap-bpf.h /usr/include/bpf.h

vi libpcap_stuff.c script.c
change the net/bpf.h into bpf.h

./configure && make && make install

but it is easy in FreeBSD
cd /usr/ports/net/hping-devel
make && make install

hping has much features to test the network!


No Comments