hi all,
Yesterday, i'd try a little test to attack my ISPConfig server with slowloris ddos.
I have enable apache banning rules before doing little test.
This is my jail.conf :
Code:
[apache]
enabled = true
port = http,https
filter = apache-auth
logpath = /var/log/apache*/*error.log
maxretry = 6
[apache-multiport]
enabled = true
port = http,https
filter = apache-auth
logpath = /var/log/apache*/*error.log
maxretry = 6
[apache-noscript]
enabled = true
port = http,https
filter = apache-noscript
logpath = /var/log/apache*/*error.log
maxretry = 6
[apache-overflows]
enabled = true
port = http,https
filter = apache-overflows
logpath = /var/log/apache*/*error.log
maxretry = 2
When i starting attack my server with slowloris, web server is down, and fail2ban is didnt do anything
here apache error.log (a hundred lines actually) :
Code:
[...]
[Fri Jun 25 22:07:38 2010] [error] [client 111.222.333.444] request failed: error reading the headers
[Fri Jun 25 22:07:38 2010] [error] [client 111.222.333.444] request failed: error reading the headers
[Fri Jun 25 22:07:39 2010] [error] [client 111.222.333.444] request failed: error reading the headers
[Fri Jun 25 22:07:41 2010] [error] [client 111.222.333.444] request failed: error reading the headers
[...]
My question is : is it possible to prevent ddos attack such as slowloris with fail2ban?
Or maybe any other suggestion to prevent this attack?
any help is really appreciated
Recent comments
1 day 13 hours ago
1 day 22 hours ago
2 days 1 hour ago
2 days 2 hours ago
2 days 4 hours ago
2 days 5 hours ago
2 days 7 hours ago
2 days 8 hours ago
3 days 30 min ago
3 days 1 hour ago