Denial of Service Attack

[Topology]

We will have three hosts that are connecting to a switch. H3 is a HTTP server, H2 is an attacker, and H1 is the HTTP client.

 

[Preparation]

   Download the attack code from github.

 

git clone https://github.com/firefoxbug/ddos.git

 

[Execution]

 

We start a HTTP server at h3 and we use curl to test http transmission at h1.

 

We start 100 threads to attack the HTTP server at h2. Then we use curl at h1 to connect to h3 again.

 

We can see that the curl operation fails at h1.

 

After simulation, use pkill to kill the attack processes.

 


Dr. Chih-Heng Ke

Department of Computer Science and Information Engineering, National Quemoy University, Kinmen, Taiwan

Email: smallko@gmail.com / smallko@nqu.edu.tw