linux中安装hping3

1、安装libpcap-devel和tcl-devel
yum -y install libpcap-devel tcl-devel
2、从github上clone源代码
git clone https://github.com/antirez/hping.git
3、运行配置脚本
cd hping ./configure
4、创建软连接
ln -sf /usr/include/pcap-bpf.h /usr/include/net/bpf.h
5、编译
make
6、安装
make install

posted on 2021-09-01 10:51  辰Cheney  阅读(999)  评论(0编辑  收藏  举报