在网络中使用 iperf 进行 DoS 攻击

DoS attack using iperf in the network

我想在我的模拟网络中使用 iperf 进行 TCP DoS 攻击。 (我使用 mininet)。我能找到的唯一代码是以下命令,用于在我的网络中生成不相关的 UDP 突发流量。

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

请告诉我是否有更好的代码来使用 iperf 进行 TCP DoS 攻击,或者即使有任何其他代码或方法可以使 TCP 流量作为攻击。

提前致谢。

我唯一能做的就是添加使用线程的攻击者的 iperf tx 数量。这样,它将数据包并行发送到服务器。所以,我使用了以下代码:

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

如果你想发送UDP flooding,那么你必须使用-u switch on the server command:

iperf -s -u

在客户端,使用您的规范,它将是:

iperf -c 10.0.0.1 -t 200 -l 1200 -P 6

iperf 适用于带宽测试。如果你想做ddos攻击,请尝试hping3或dperf。