Posts

Showing posts from July, 2020

How to generate a DoS/DDoS attack

Create a mininet network connected with the floodlight controller. Create two terminals in the mininet using xterm command lets say: xterm h1 h2 flooMake one host h2 as a server receiving UDP traffic using (host1: 10.0.0.1) iperf -s -u Make the host h1 as the client sending flooding traffic (host2: 10.0.0.2) iperf -c 10.0.0.1 -b 30M -l 1200 In order to parallely send packets to the server use the following command: (host2: 10.0.0.2) iperf -c 10.0.0.1 -b 30M -l 1200 -P 6 The above command add the number of iperf tx form attacker using threads. In this way,it sends packet in parallel to the server. https://stackoverflow.com/questions/46431999/dos-attack-using-iperf-in-the-network