CentOS 7 安装DDOSIM
1. DDOSIM源码下载
wget https://downloads.sourceforge.net/project/ddosim/ddosim-0.2.tar.gz
2. 源码包编译
顺次执行如下命令:
tar zxvf ddosim-0.2.tar.gz cd ddosim yum groupinstall 'Development Tools' //安装gcc等 ./configure
通常会遇到问题1:
configure: error: libpcap (dev) is required for this program
执行命令:
yum install libpcap-devel -y
问题2:
configure: error: libnet0 (dev) is required for this program
执行:
wget https://linuxscriptshub.com/wp-content/uploads/file/libnet0-dev-1.0.2a-6.x86_64.rpm
rpm -ivh --force libnet0-dev-1.0.2a-6.x86_64.rpm //force是必须,否则报:conflicts with file from filesystem-3.2-21.el7.x86-64
再次执行
./configure
make
make install
可以正确编译
参考链接:
https://linuxscriptshub.com/how-to-install-libnet0-on-centos-server-for-ddosim-layer7-simulators/
https://stormsecurity.wordpress.com/2009/03/03/application-layer-ddos-simulator/