Bots, scrapers and brute force

A large share of a website’s traffic can be machines. Some are harmless. Others try passwords or copy the entire site until the server gives up. These are the numbers from our own servers, and what worked against them.

Last checked:

Step by stepMistakes we have seen
  1. Trusting the default thresholds
  2. Locking out the owner
  3. Fixed alert thresholds
  4. Blocking forever

What we measured

EventMeasuredWhat worked
Scraper from many addresses9,145 requests a minute from 2,864 IP addresses, about 3 per addressSpotting behaviour, not per-IP limits
Scraper farm in the cloud83 % of one site’s traffic came from two cloud-provider networksAutomatic blocking every 10 minutes
Load before and afterCPU from 95 % to 55 %. Requests reaching the app from 13,400 to 3,321 a minuteThe same blocking
Slow brute force on mailAbout 108 attempts an hour, roughly 30,000 failures in 6 days, never bannedOwn rule: 20 failures an hour = a 1-day ban
Hidden loadOver 28 hours at 84–98 % CPU without a single alertAlert at three times the server’s own normal
Our own measurements on servers we run, autumn 2026.

Why per-IP limits are not enough

The classic advice is to limit how many requests one IP address may send. Against a modern scraper it barely helps. The largest one we measured sent 9,145 requests a minute, but from 2,864 different addresses. That is about three per address, far below any sensible limit.

What worked was looking at behaviour. On the affected site, 83 % of the traffic came from two cloud-provider networks, and it stood out on three points: no HTTP/2, no Danish locale, and no requests for images, CSS or other static files. Real visitors always load static files. An automatic guard now blocks such networks every 10 minutes, and the blocks expire on their own. The result: CPU fell from 95 % to 55 %, and requests reaching the application from 13,400 to 3,321 a minute.

Brute force under the radar

A brute-force attack does not have to be loud. One attack on mail logins ran at about 108 attempts an hour and reached roughly 30,000 failed attempts in six days. It stayed below the control panel’s default threshold the whole time and was never banned. We now have our own fail2ban rule that bans an address for a day after 20 failures in an hour.

The same pattern shows up wherever there is a login: on one server with an open database port, the log showed 2,113 distinct addresses trying passwords. The best protection is still that the service cannot be reached from outside at all.

Mistakes we have seen

  1. Trusting the default thresholds. They are tuned for fast, noisy attacks. Slow attacks walk straight through.
  2. Locking out the owner. A control panel put its blacklist above its whitelist. We now have one allowlist that applies in all five ban layers: fail2ban, the panel’s brute-force protection, the panel firewall, a shared blocklist and the phone system’s firewall.
  3. Fixed alert thresholds. A server ran for over 28 hours under a distributed scrape without an alert, because every single threshold looked fine. We now compare the last two hours with the server’s own normal level. On the recorded data, the alert would have fired four hours earlier.
  4. Blocking forever. Blocks that never expire grow into a list nobody understands. Ours expire on their own.

Your website too: login pages, contact forms and search boxes are the usual targets. Forms should have bot protection, and admin logins should not be open to the whole world if it can be avoided.

Questions about bots and brute force

Should we just block all cloud providers?

No. Search engines, monitoring and real services also run from data centres. Block on behaviour, not whole providers, and let blocks expire.

Does a CDN or a WAF help?

Often, but not by itself. The rules have to fit your traffic, and someone has to read what gets blocked. Otherwise you will not know whether real customers are turned away.

Can you see whether we are being hit right now?

Yes, if we can see the server logs. We look at who sends the most, how they behave, and whether logins are being tried at scale.

Fixed price, no commitment

Get bots and login attacks under control

Tell us what is happening: a slow site, many failed logins or high load. You get an answer on what we would measure first, and a fixed price.

  • A fixed price before we start
  • An answer by e-mail, no calls
  • Your details are used only to answer you

Fields marked with * are required.

What is it about?