UPDATED - Testing AI Death A self-hosting blogger implemented a test blocking setup against AI crawler bots after observing that ChatGPT's crawler continued to fetch pages and images despite being disallowed in robots.txt on both the primary and image-hosting domains. The blogger, citing Terence Eden's "B⁶" blunt-banhammer solution, first ran a PHP-based blocklist that caught at least 6 bad actors overnight, then removed PHP from the server and replaced it with iptables IP blocking plus native Apache rules adapted from Eden's commenters. The blogger said the effort would not have been needed "if the various AI companies had just been respectful and followed convention," and urged other self-hosters to do what they can to interfere with the bots. Because the bloody things just can’t be trusted. I’ve written a bit here and a bit on my gemini site gemini://gemini.yunzi.co.uk that I’ve observed various web crawlers doing things I disagree strongly with. Firstly the usual ones that have been around for ever, testing for WordPress directories and such. Secondly, the God-damn AI crawler bots that not only bother me with their very existence, but also I’ve observed don’t respect or don’t yet feature in my robots.txt file. ChatGPT I’m looking at you. I’ve certainly seen that bots UserAgent continuing to crawl pages and images despite being in robots.txt in both my primary and image hosting domain config. So inspired by Terence’s B⁶ solution https://shkspr.mobi/blog/2026/11/blunt-banhammer-blocks-basic-bots-ballistically/ I’ve built on his greatness stolen everything , and implemented what is currently a very minor AI death solution. Right now its in testing. Depending how many things appear in the block list depends on what I do next. I’m no developer and my PHP is rusty as hell, but there are other ideas I have. Perhaps doing something with log parsing or building a little on B⁶. Non of this of course would be required if the various AI companies had just been respectful and followed convention. On the other hand having a self hosted setup does give me better control over stopping this blatent theft of my writing by the clankers to some, limited extent . I encourage everyone who self hosts and has sufficient tech knowledge to start doing what they can to screw with these bots. It might not exactly solve anything, but may go some small way to protecting those of us still choosing to share their writing, art and thoughts with the internet. https://yunzi.co.uk/jar/ So… an update. Left it running overnight and saw at least 6 bad actors had been caught in the morning. Thought about it some more, and decided whilst I like it as a clever solution, I don’t want to risk PHP being installed on my server after last time so cleaned everything up. I’ve added some additional scripts and files that handle IP blocking with iptables and spent some of today adapting another solution from Terences comments that uses native Apache functionality to block. After locking myself and everyone out of the site for a bit, I believe this is now in place. I’ll leave this version running for a bit, see what I catch.