3 ms·
Slightly relevant, I made an animation of the HN traffic I got from a #1 post. https://idiallo.com/blog/surviving-the-hug-of-death https://idiallo.com/blog/sur
by firefoxd 2y ago
Slightly relevant, I made an animation of the HN traffic I got from a #1 post.
https://idiallo.com/blog/surviving-the-hug-of-death https://idiallo.com/blog/surviving-the-hug-of-death (sorry not mobile friendly)
There is a surprising number of bots. It will be fun to setup something like this whenever I get hn traffic.
- aucisson_masque 2y ago> At first, I fought back manually, feeding them fake data. But that got old fast. So I deployed my secret weapon: a zip bomb. > When their bot accessed my site, I served it a tiny compressed file. Their server eagerly downloaded and decompressed it, only to unleash several gigabytes of chaos. Boom. Game over. How did you know their bot would decompress it? I thought a bot would copy the HTML content of your article, maybe the images, and paste them on their own website. At no point does it involve editing or decompressing files? Impressive animation, by the way—the number of bots is staggering.
- firefoxd 2y agoAs soon as bots reach a page with the compressed payload, they never make another request. That's how I know it worked. Also curl, wget, or most libraries automatically decompress gzip content. Of course, Some bots just post spam without ever reading the content back, which defeats my scheme.
- aucisson_masque 2y agoAlright. Thanks.