Blunt Banhammer Blocks Basic Bots Ballistically

shkspr.mobi6 min read

The author built a lightweight, indiscriminate honeypot trap called B6 to block unwanted automated web crawlers and AI bots from their hobby website. By placing a hidden link in a robots.txt-disallowed directory on every page, any bot that accesses the link has its IP address automatically written to the server's .htaccess file and is permanently banned with a 402 error. Within a week of deployment, the system successfully blocked over 400 IP addresses, significantly reducing data transfer and server traffic without false positives. Open article →