Glossary
DDoS attack: overload from many directions
A distributed denial of service (DDoS) attack tries to make a website or service unavailable by sending more traffic than it can handle, from many sources at once.
Definition
A denial of service attack exhausts some resource the target needs: network bandwidth, connection tables, CPU time or database capacity. When the traffic comes from thousands of machines instead of one, it is distributed, and blocking a single address does nothing. Most DDoS traffic comes from botnets of hijacked devices or from abused servers that reflect and amplify requests.
The main layers of attack
| Layer | Example | Resource targeted |
|---|---|---|
| Volumetric | UDP floods, DNS or NTP amplification | Bandwidth of the link |
| Protocol | SYN floods, fragmented packets | Connection state in servers and firewalls |
| Application (layer 7) | Floods of real looking HTTP requests to heavy pages | CPU, database, application workers |
Volumetric and protocol attacks are absorbed by large networks and scrubbing centers. Application layer floods are harder, because each request looks like a normal page load; that is where browser checks and CAPTCHAs come in.
Why challenge pages help
A layer 7 flood is cheap for the attacker only if each request is cheap. A challenge page changes that: before the site does any real work, the client must run JavaScript, pass environment checks or solve a widget. Most flood tools do not execute JavaScript at all, so they never get past the first response, while real browsers pass in a second or two and receive a cookie that lets them through for a while.
During an active attack, site owners often switch on a site wide mode in which every visitor sees an interstitial, such as a Cloudflare challenge page. The mode is turned off again once the flood ends.
What it looks like from the outside
- Pages that loaded directly now show a short "checking your browser" screen.
- Error codes such as 502, 503, 522 or 524 appear intermittently.
- Responses slow down sharply at certain times of day.
- API endpoints start returning 429 at much lower volumes than usual.
The 503 FAQ and the Cloudflare 522 FAQ explain how to tell an overloaded origin from a block aimed at you.
Impact on legitimate automation
When a site you monitor is under attack, your scheduled jobs meet the same defenses the attackers do. The sensible response is to slow down, not to push harder. Spread requests out, pause non urgent jobs, and handle the interstitial properly. A Cloudflare Challenge task returns a cf_clearance cookie for your proxy and User-Agent; reuse it for the following requests rather than solving on every page. GateSolver only charges for tasks that come back solved, and unsolved tasks expire after 120 seconds at no cost.
Telling an attack from a block
If every site behind the same provider challenges you, the cause is probably your own address or client. If only one site does, and it also loads slowly for a normal browser on a phone network, the site is likely under pressure. Checking from a second network takes a minute and saves hours of debugging the wrong thing.
Defending your own site
Put the site behind a provider that can absorb volumetric traffic, cache aggressively so floods hit the edge rather than the origin, set rate limits on expensive endpoints, and prepare a challenge mode you can switch on quickly. Keep the origin's real address private, since a leaked origin IP lets attackers skip the protective layer entirely. Test the plan before you need it.
Common questions
What is the difference between DoS and DDoS?
A DoS attack comes from one source; a DDoS attack comes from many at once, which makes simple blocking ineffective.
Why do I see a challenge page on a site that never had one?
The owner may have enabled an attack mode that challenges all visitors while a flood is in progress.
Do challenge pages stop all DDoS attacks?
No. They counter application layer floods; volumetric attacks need network capacity and scrubbing.
Should my monitor solve the challenge on every request during an attack?
No. Solve once, reuse the clearance cookie with the same proxy and User-Agent, and slow your schedule down.
Is load testing my own site the same as a DDoS?
No. Testing your own systems with your provider's approval is normal engineering; attacking others is a crime.
Keep reading
- BotnetNetworks of hijacked computers and routers under one controller, and why their traffic makes sites tighten every check.
- Challenge pageInterstitial pages that run checks before the real content loads, the status codes they return, and how to detect one.
- What causes 503 Service Unavailable while scraping?A 503 means the server cannot handle the request now: overload, maintenance, or a bot check served with that status.
- Cloudflare Challenge solver$0.84 per 1,000 tasks, answers under 10 seconds.