I detected few days ago that my server was under slowloris attack (I found a lot of "-" 408 0 "-" "-" values in my access.log).
I changed my configuration like this:
In mod_reqtimeout:
RequestReadTimeout header=5-20,minrate=20
I installed mod_qos and configured it like that:
QS_SrvMaxConnPerIP 50
QS_SrvMinDataRate 120 1500
Is it enough? Most of the available tutorial just leave the default values in the configuration files.
I noticed that now the "-" 408 0 "-" values are increased a lot. I suppose that's good because it means that more connection are detected as malicious and it means that they are closed befaure they can "damage" the server. Right?
Can I do something more? Blocking the ips?...
Thanks in advance for any feedbacks!