Simulation method oriented to LDoS (Low-rate Denial of Service) and LDDoS (Low-rate Distributed Denial of Service)

The invention discloses a simulation method oriented to LDoS (Low-rate Denial of Service) and LDDoS (Low-rate Distributed Denial of Service), and mainly aims to solve the problem of high simulation computation overhead in the current research of LDoS and LDDoS based on a discrete event network simulation technology. The method comprises the following implementation steps: (1) reading a network simulation topology; (2) reading UDP (User Datagram Protocol) attack flows; (3) reading normal TCP (Transmission Control Protocol) flows; (4) constructing a network simulation topology scene based on a simplified queue and a link model; (5) reducing the pulse amplitude of the UDP attack flows to 1/P, and configuring an attack flow simulation application; (6) reducing the quantity of the TCP flows to 1/P, and configuring a TCP flow simulation application; (7) running a simulation scene based on a discrete event network simulation technology, and recording the simulation result of the LDoS/LDDoS; and (8) amplifying the recorded simulation result of the LDoS/LDDoS by P times to form a final simulation output result. By adopting the simulation method, the simulation computation overhead can be reduced greatly on the premise of ensuring the LDoS/LDDoS simulation authenticity, and simulation deduction of a large-scale LDoS/LDDoS attack-attack-defense strategy can be supported.