#til about https://github.com/kyprizel/testcookie-nginx-module, which is an ngin...
near @computersandblues@post.lurk.org
#til about https://github.com/kyprizel/testcookie-nginx-module, which is an nginx module that can be used to block sloppy crawlers. there's no proof-of-work, not even a need for client-side js. it's just setting a cookie and redirecting the browser to refresh and pass on the original request once the cookie is set.
there have been some comments from the author of iocaine, a tool that is intentioinally feeding malicious crawlers lots of garbage, that the crawling bots are often implemented with very low effort (see for example https://chronicles.mad-scientist.club/tales/surviving-the-crawlers/#three-ifs-in-a-trenchcoat).
so i assume there's a good chance that any hurdle between request and response will cut off a significant amount of them.
i'll try and write a blog post documenting how to compile and configure the module later today.