3 ms·
I just had to put my small hobby OS development site behind cloudflare after 23 years without a CDN. Between occasional ip bans, mod_evasive, rate limiting, us
by matt_heimer 3y ago
I just had to put my small hobby OS development site behind cloudflare after 23 years without a CDN. Between occasional ip bans, mod_evasive, rate limiting, user agent blocks, etc I've been self hosting on a single box without much problem until last week.
We went from hundreds of thousands of requests per day to 5 million per day. Traffic was web scraping bots based on the obscure URLs. The URLs were valid (mediawiki history links, etc) and not attempts to hack the site. Banning IPs did not help, the traffic would move to new subnets. Mostly IPv4, some IPv6. The user agent was popular Chrome agent strings so I'm guessing it was masked puppeteer.
It was a DDoS in practice but I get the feeling it's an immature web crawler.
I think people are likely building a new generation of crawlers to feed LLMs as fast as possible.
The caching aspect of Cloudflare helped a lot. Putting specific url patterns behind Cloudflares dynamic JavaScript challenge also helped. It was surprisingly easy to setup.
And I know what some of you will say, Cloudflare is bad. I've personally been annoyed with them for making specific sites more difficult to use while on VPN. But it's not a hard choice when it's either taking your site offline or using their free tier offering.
- simfree 3y agoI feel your pain, recently had something similar happen that forced a website I run behind cloudflare, there isn't much you can do when you get millions of requests in a day from tens of thousands of US IPv4 addresses that are on the residential networks you see non-malicious traffic from. One thing that got me was seeing some of the malicious traffic originate from the same /24 as I use at home. Whatever botnet was being used certainly has good penetration of residential ISPs in the US!
- luis8 3y agoMy girlfriend bought some Chinese WiFi plugs from Amazon to use with Alexa. I wonder how many of these devices are doing this from time to time. Amazon has tons of generic devices that connect to your WiFi network