Small new feature, share or new plugin?
-
Hi,
I needed a more efficient way of banning bots and I ended up creating a small snippet/plugin to log the bots IPs straight in the error log.
WP Armour usually just stops the submission and gives an error message. The spammer’s bot is still allowed to hit your server over and over again, consuming PHP resources and memory.
By adding an error log with the offender IP, the server can process it directly with Fail2Ban (or similar) and block bots at network level.
This is not intended as substitute for the Extended version, users still need it if they want to detect/block things like WooCommerce Checkout.
So, the question here is, are you open to reviewing a PR for this, or would you prefer I maintain it as a standalone add-on?
Long-term, I’m planning to maintain a community-shared, anonymized list of recurring bot patterns that could eventually complement WP Armour’s threat intelligence.
You must be logged in to reply to this topic.