Regarding to install ddosim on centos7, we will require libnet0 to be install for ddosim to working properly on your Centos Server.

We will first go through the installation process and make sure everything is working fine due to step by step:

Step1: Download DDOSIM

You can easily get ddosim from here

Step2: Install on your Centos Server.

Extract the tar.gz with below command:

tar zxvf ddosim-0.2.tar.gz

Step3: Configure and make, make install ddosim

cd ddosim

before configure you have to install Development tools on the Centos machines.

yum groupinstall 'Development Tools'

Now we can start configure ddosim with below command:


if you saw some error message like below please use according command to solve the problem.

configure: error: libpcap (dev) is required for this program

Can be solve with below command:

yum install libpcap-devel -y

once this installation done, we can try to re-configure the ddosim again with below command:


If you see another error message like below:

configure: error: libnet0 (dev) is required for this program

you have to download the libnet0 manually.

you can download the libnet0 for Centos in below button:

Download Now

and use below command to install the .rpm file on your centos machines:

rpm -ivh libnet0-dev-1.0.2a-6.x86_64.rpm

and now we try to configure again the ddosim:


once finish the configuration run below command to make and make install.

make && make install


you will able to use ddosim file to start the DDOS Layer7 Simulator now.

If you are success, you can see the message below:


# DDOSIM: Layer 7 DDoS Simulator v0.2
# Author: Adrian Furtuna

Usage: ./ddosim
-d IP Target IP address
-p PORT Target port
[-k NET] Source IP from class C network (ex.
[-i IFNAME] Output interface name
[-c COUNT] Number of connections to establish
[-w DELAY] Delay (in milliseconds) between SYN packets
[-r TYPE] Request to send after TCP 3-way handshake. TYPE can be HTTP_VALID or HTTP_INVALID or SMTP_EHLO
[-t NRTHREADS] Number of threads to use when sending packets (default 1)
[-n] Do not spoof source address (use local address)
[-v] Verbose mode (slower)
[-h] Print this help message

Share to your friends if you found out this article is useful.