How to block the IP that requests excessive 404 page not found?

se flag

On my site often I see thousands of requests thats ends up 404 - page not found error.

How can I block the IP that exceeds more than certain number of requests within a span of time from Drupal?

enter image description here

de flag

What you want is called fail2ban. There is a Drupal 7 module, but you would need to update it to Drupal OOP:

But here's a recipe for integrating the Honeypot module with fail2ban:

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.