Multiple BanOnFlood settings

8 April 2013, 07:49
AFAIK, user can set only one value for BanOnFlood setting. I am using 80/300, usually I have about 70 requests in 7 seconds (it is normal). But webserver will ban user if he will request 80 and more in 5 minutes, right?

I wanna be able to ban "fast-flooding" clients, like as 15/1, but still using 80/300 setting. I know that after 80 requsts flooder will trigger 80/300 setting, but "instant" ban is better. It would be nice if here will be possible to have multiple BanOnFlood settings, like this

BanOnFlooding = 80/300:600
BanOnFlooding = 15/1:600
8 April 2013, 08:48
Found a bug.

BanOnFlooding = a/b will cause webserver ban user every request if b grearer then a. So I am using 80/80 (80/81 will not work).
Hugo Leisink
8 April 2013, 10:21
Thanks, I will take a look at it.
Hugo Leisink
10 April 2013, 13:37
It will be fixed in release 9.1.
This topic has been closed.