Hello all,
Been reading mod_qos documentation and it's a lot to comprehend (which is good!).
I'm trying to set it up on my apche envrionment so when tries to access specific URL let's say 200 times in 2 minutes I block them for 2 hours. I'll be using QS_ClientEventLimitCount for this purpose so I can display an error page for them which will serve some sort of Captcha mechanism which, if passed, would reset the counter. The goal is to prevent bruteforcing.
Right, but that duration is too short for me. From what I understand, if I set
QS_ClientEventLimitCount 20 120, it will block anyone who accessess resource 20 times in 2 minutes for only 2 minutes. I would like to block someone for longer than that - let's say an hour (meaning someone whoh accesses my resource 20 times in 2 minutes, I want to block them for 2 hours)
I think i found an answer however. It is in fact in the dos.html documentation and how it works, if someone reached that 20 hints / 2 mins twice within 120 minutes, block them for 120 minutes.
Hello all,
Been reading mod_qos documentation and it's a lot to comprehend (which is good!).
I'm trying to set it up on my apche envrionment so when tries to access specific URL let's say 200 times in 2 minutes I block them for 2 hours. I'll be using QS_ClientEventLimitCount for this purpose so I can display an error page for them which will serve some sort of Captcha mechanism which, if passed, would reset the counter. The goal is to prevent bruteforcing.
At this point I'm just using example for dos.html
The way I understanding
QS_ClientEventLimitCount 20 120 SlowRequestWill limit IPs for 2 mins if they accessed URL 20 times in 2 minutes. Is there a way to limit them for a longer period?
You can define any duration (second argument).
But I don't think I understood your question.
Right, but that duration is too short for me. From what I understand, if I set
QS_ClientEventLimitCount 20 120, it will block anyone who accessess resource 20 times in 2 minutes for only 2 minutes. I would like to block someone for longer than that - let's say an hour (meaning someone whoh accesses my resource 20 times in 2 minutes, I want to block them for 2 hours)
I think i found an answer however. It is in fact in the dos.html documentation and how it works, if someone reached that 20 hints / 2 mins twice within 120 minutes, block them for 120 minutes.
Last edit: Matt R 2020-10-28