Setono / BotDetectionBundle

Easily detect bots in your Symfony application
MIT License
7 stars 3 forks source link

add list of uris of bad bots #34

Open tacman opened 1 week ago

tacman commented 1 week ago

Although detecting bots is interesting, really what I want is a list of paths that are causing my logs to fill up with 404's that are nothing but malicious bot attacks.

I've hacked in something in my code to stop the worst of them (mostly wordpress routes), but there's gotta be a better solution.

Might this bundle be able to maintain a list of bad urls and a way to handle them?

tacman commented 1 week ago

Most bad bots don't identify themselves. Really what I want is to configure a list of uris (or patterns of uris) and if there's a match, ban that IP for some amount of time and not trigger an error (because the logs become almost useless to be cluttered with so many bad requests, like /admin.php, /wp-admin, etc.