![centos apache prevent slowloris attack centos apache prevent slowloris attack](https://marvel-b1-cdn.bc0a.com/f00000000205858/www.netscout.com/sites/default/files/2019-08/29/images/Mitigation_Tips_For_Slowloris_Attacks.png)
![centos apache prevent slowloris attack centos apache prevent slowloris attack](https://spyboyblog.files.wordpress.com/2020/12/ddos-attack-hero.png)
The target opens a thread for each incoming request, with the intent of closing the thread once the connection is complete.
![centos apache prevent slowloris attack centos apache prevent slowloris attack](https://resources.infosecinstitute.com/wp-content/uploads/2020/10/CGI-Support09122013.gif)
The attacker first opens multiple connections to the target server by sending multiple partial HTTP request headers.When the maximum number of possible connections to the server is exceeded, every additional connection will not be answered and a denial of service will occur. Every thread in the server will try to survive while waiting for the slow request to complete, which never happens. The target server will have too many threads available to handle simultaneous connections. They fall into the category of attacks known as “low and slow” attacks. Unlike DDoS attacks that consume bandwidth such as NTP amplification, this type of attack uses a low amount of bandwidth, and is instead intended to use server resources with requests that appear slower than normal but otherwise mimic normal traffic. Slowloris is not an attack class but instead a specific attack tool designed to allow a single machine to remove the server without using a lot of bandwidth. The attack works by opening connections to a targeted web server and then keeping those connections open as much as possible. Slowloris is an application layer attack that works through the use of partial HTTP requests. How does the Slowloris DDoS attack work? # Slowloris is a denial-of-service attack program that allows an attacker to crush the target server by opening many HTTP synchronized between attacker and target is maintained.