3 ms·
Wouldn't it be better, if there's an easy way, to just feed such bots shit data instead of blocking them. I know it's easier to block and saves compute and band
by yumraj 1y ago
Wouldn't it be better, if there's an easy way, to just feed such bots shit data instead of blocking them. I know it's easier to block and saves compute and bandwidth, but perhaps feeding them shit data at scale would be a much better longer term solution.
- throwawayffffas 1y agoNo serving shit data costs bandwidth and possibly compute time. Blocking IPS is much cheaper for the blocker.
- fuckaj 1y agoZip bomb?
- aspenmayer 1y agoDoesn’t that tie up a socket on the server similarly to how a keepalive would on the bot user end?
- recursive 1y agoI don't think so. The payload size of the bytes on the wire is small. This premise is all dependent on the .zip being crawled synchronously by the same thread/job making the request.
- aspenmayer 1y agoWhat if bots catch on to zip bombs, and just download them really slowly? https://en.wikipedia.org/wiki/Zeno%27s_paradoxes#Dichotomy_paradox https://en.wikipedia.org/wiki/Zeno%27s_paradoxes#Dichotomy_p...
- throwawayffffas 1y agoTheir objective is not to DDOS websites, if they catch on, they will download it fast and then discard it.
- sotspecatcle 1y agoif ($http_user_agent ~* "BadBot") { limit_rate 1k; default_type application/octet-stream; proxy_buffering off; alias /dev/zero; return 200; }
- Avamander 1y agoI recommend you use gzip_static and serve a zip-bomb instead. Frees up the connection sooner and probably causes bad crawlers to exhaust their resources.
- internet_points 1y agohttps://zadzmo.org/code/nepenthes/ https://zadzmo.org/code/nepenthes/