0

I would like to do a TCP DoS attack using iperf in my simulated network. (I use mininet). The only code that I could find is the following command for making UDP burst traffic in my network which is not relevant.

(host1: 10.0.0.1) iperf -s
(host2: 10.0.0.2) iperf -c 10.0.0.1 -b 30M -l 1200 

Please let me know if there is a better code to do the TCP DoS attack using iperf or even if, there is any other code or approach to make TCP traffic as an attack.

Thanks in advance.

Queen
  • 571
  • 3
  • 10
  • 28
  • There's not much code here (one command). Consider posting to the Information Security StackExchange in the future. https://security.stackexchange.com/ – ryanwebjackson Mar 15 '22 at 03:36

3 Answers3

0

The only thing I could do is that, just to add number of iperf tx form attacker using threads. In this way,it sends packet in parallel to the server. So, I used the following code:

host1: 10.0.0.1) iperf -s
(host2: 10.0.0.2) iperf -c 10.0.0.1 -b 30M -l 1200 -P 6
Queen
  • 571
  • 3
  • 10
  • 28
0

If you want to send UDP flooding, then you must use -u switch on the server command:

iperf -s -u

on the client side, using your specification, it will be:

iperf -c 10.0.0.1 -t 200 -l 1200 -P 6
David Guyon
  • 2,759
  • 1
  • 28
  • 40
wajid
  • 37
  • 2
  • 10
0

iperf is suitable for bandwidth testing. If you want to do ddos attack, please try hping3 or dperf.

ben
  • 1
  • 1