Life, Death, and Bots
How residential proxy bots pinned Swatcher's server at 99% CPU, and the Cloudflare challenges and link changes that stopped them from crawling endless Studio URLs.
The other day, Swatcher’s server spent about fourteen minutes pinned at 99% CPU. Something was asking for about 4,700 pages a minute, all of them from the Studio page. Nearly 19,000 requests timed out or errored before it stopped.
This is how I found out what it was, how it kept coming back, and what finally worked.
What the traffic looked like
Each request was a guest visit to a Studio URL like /studio?walls=…&c=…, the link that opens a room painted in a given pair of colours. Swatcher has thousands of paints, so the number of possible pairs is enormous. In one sample of the logs, 5,565 requests asked for 5,538 different URLs. In total the traffic came from about 5,700 IP addresses.
Those addresses weren’t data centres. They were home broadband and mobile connections in Brazil, Argentina, Bangladesh, Morocco, South Africa and elsewhere, each making two or three requests before moving on. The user agents claimed to be ordinary browsers, and about half claimed to be Googlebot, from addresses Google doesn’t own.
That is the signature of a residential proxy network. Cloudflare’s write-up on detecting residential proxy attacks explains the business: providers sell access to 30 to 100 million real household IP addresses, often sourced through free VPN apps and SDKs bundled into browser extensions and mobile apps. Because every request can leave from a different home connection, “IP reputation and IP rate limiting” stop working. My own rate limit rule (20 requests per 10 seconds per IP) never fired once.
Why it happened when it did
The flood started a few hours after I blocked a batch of AI training crawlers (Amazonbot, GPTBot, Meta’s crawler, Bytespider and others) that were costing gigabytes of bandwidth a day. Look, I can’t prove the two are connected, but the timing was interesting, and it is a known pattern: in August 2025 Cloudflare documented Perplexity using stealth, undeclared crawlers. When its declared bot was blocked, it switched to “a generic browser intended to impersonate Google Chrome on macOS”, and it rotated through IP addresses and networks outside its published range “in response to the restrictive robots.txt policy and block”.
Whoever sent these, the lesson is the same: blocking a named bot doesn’t make the demand go away. It can just make it harder to see.
Three rounds
Round one: a country challenge. Most of the real visitors are in Ireland and the UK, so I added a Cloudflare Managed Challenge on /studio and /capture for everyone else, with verified search engines exempt. The flood stopped.
Round two: the long tail. Over the next three days, smaller crawlers kept arriving on the same URLs. One used a distinctive X11; Linux Chrome user agent, passed the challenge and even triggered my page-view beacon, which inflated “direct” traffic in my analytics. Another came from a brand-new UK-registered IPv6 range, one request per address. Blocking that range by its network number (ASN) did nothing, because Cloudflare filed the new prefix under a different network. Blocking the address range itself worked straight away.
Round three: Ireland. On 28 November the network simply moved home. Over an hour it sent 7,050 Studio requests from 395 Irish broadband and mobile addresses, the one place the challenge didn’t reach. The giveaways were browser versions years out of date and the fact that not one of those addresses loaded a page the way a real browser does.
What actually fixed it
Two changes, one at each end.
At the edge, the Studio challenge now applies in Ireland and the UK too, but only to visitors who don’t have a Swatcher session yet. Anyone who clicked into Studio from elsewhere on the site already has one and never sees it.
In the app, I fixed the root cause. Swatcher’s pages linked to Studio paint-pair combinations, and every room led to more of them: an open invitation for any crawler to walk the whole grid. Studio links now leave the room details out of the page source and only fill them in when a person points at, focuses or taps the link. robots.txt disallows the combination URLs too, for the bots that read it. If any of them do.
What Id tell anyone else
- Rate limits per IP don’t touch residential proxies. Look for many addresses making a few requests each to URLs nobody shares.
- Country rules buy time. A determined network will exit wherever you exempt.
- Block new proxy ranges by address range, not network number.
- Be careful with broad blocks. The first cloud-network challenge caught real Irish visitors browsing through Google’s own network, and I rolled it back within a few minutes.
- The cheapest fix is often in your own HTML: don’t publish a link for every combination your app can make.