block after N number of 404s in X number of seconds

Post Reply
aww+
Junior Member
Posts: 105
Joined: 27 Aug 2012, 20:53

block after N number of 404s in X number of seconds

Post by aww+ »

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.
ForumAdmin
Moderator
Posts: 1524
Joined: 01 Oct 2008, 09:24

Re: block after N number of 404s in X number of seconds

Post by ForumAdmin »

The feature already exists:
LF_APACHE_404
LF_APACHE_404_PERM
Post Reply