Jump to content
YOUR-AD-HERE
HOSTING
TOOLS
992Proxy

Locked Compile and configure mod_qos to prevent Slowloris DDOS on Apache 2


Azwan81

Recommended Posts

mod_qos is becoming a very popular module for Apache, from

the discover of Slowloris DDoS Attack. It seems, mod_qos is

the best solution for Slowloris attack on Apache 2, but you can

also check mod_evasive, mod_security or http accelerator

“Varnish”. In this post I will try to present a step by step

tutorial how to install mod_qos and configure to prevent

Slowloris DDoS attack.

 

First you should install dev packages to compile mod_qos

 

This is the hidden content, please

 

Now download the latest version of mod_qos from

This is the hidden content, please

 

This is the hidden content, please

 

Now you can build the module

 

This is the hidden content, please

 

You should see the module compiling and if is everything ok the last lines of compile output should be:

 

This is the hidden content, please

 

If you want to compile qslog just run the following commands:

 

This is the hidden content, please

 

Now you should configure mod_qos. In /etc/apache2/mods-

available/ add 2 files:

1. qos.load with the following content:

 

This is the hidden content, please

 

2. qos.conf with the following content:

 

This is the hidden content, please

 

Now you should enable the module and restart Apache.

 

This is the hidden content, please

 

Now you are ready.

 

To see the attacks from logs you can use qslogs:

 

This is the hidden content, please

 

All Credit Goes To:r0xr00t

Edited by Azwan81
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.