I'd like to tempban or permban an ip after they cause a certain number of 404s in a certain amount of time.
Since CSF/LFD already tails the error log, would this be easily possible?
Maybe it would be possible to do a selection/regex of error types.
Basically this is for bots that do "exploring" to see if the can find a registration page to start to spam.
block after N number of 404s in X number of seconds
-
- Moderator
- Posts: 1524
- Joined: 01 Oct 2008, 09:24
Re: block after N number of 404s in X number of seconds
The feature already exists:
LF_APACHE_404
LF_APACHE_404_PERM
LF_APACHE_404
LF_APACHE_404_PERM