Back to articles

What to do when your service is hit by a DDoS attack

September 2, 2026
Other

Mitigation is already on for every service and works without you asking: RedHosting's protection works in two layers — the GC network, which absorbs volumetric attacks with up to 20 Tbps of capacity before traffic reaches our infrastructure, and an A10 appliance at the edge, which filters what isn't volumetric and would get past a volume-only inspection.

This guide is about the other half: your part. Recognizing that it's an attack, deciding what to do, and not making it worse by reflex.

1. Is it really an attack?

Not every outage is an attack, and treating ordinary overload as an attack sends the diagnosis the wrong way. The signs that tell them apart:

SignAttackOrdinary overload
OnsetSudden, within secondsGradual, following usage
Traffic originMany IPs with no audience patternThe usual ones
Link to an eventNone, or right after a public feudPromotion, launch, peak hours
Connection contentRepetitive, never completing anythingNormal requests, just many of them
CPU and memoryNormal, but the network saturatesRise along with traffic

The last point is the most telling: in real overload the machine is working; in a volumetric attack it's idle and what's saturated is the path to it.

2. What to do, in order

  • Note the time. Write down when it started, to the approximate minute. Without that, finding the event in the log later becomes a treasure hunt.
  • Don't keep rebooting. Rebooting doesn't stop an attack, and the machine spends more time booting than serving.
  • Open a ticket early, with IP, time and what you observed. The sooner the team looks at live traffic, the easier it is to tune the filter to that specific attack's pattern.
  • Keep whatever you can from the application log and the output of ss -tn state established or equivalent. That material is what lets the rule be tuned afterwards.
  • Let your community know if it's a game server. Silence during an outage does more damage to your reputation than the outage itself.
⚠️What doesn't work: Blocking IPs by hand. In a distributed botnet the sources change constantly, and the list grows faster than you can maintain it. Rules based on traffic patterns are what hold up; IP by IP is bailing water.

3. Decisions that tend to come up

SituationRecommended decisionRisk of ignoring it
Connection spike right after an eventRaise the limit temporarily and watch the originBlocking a legitimate player or customer
Many short connections that never completeFilter by signature and cadence, not by IPExhausting the firewall's state table
Abnormal queries on an auxiliary serviceIsolate the port and reduce exposurePartial outage of the whole ecosystem
Attack always returns at the same timeTake the pattern to support for a permanent ruleRepeating manual mitigation every week
💡Tip: During a real incident, ask in the ticket for a report with the time, peak traffic and type of filter applied. That history is what lets the rule be tuned before the next event, instead of reacting from scratch again.

4. Reduce the attack surface before the next one

Half the work is done when there's no attack at all.

A review worth doing every quarter

✓Inventory of exposed ports. Every open port nobody uses is free surface for the other side.
✓Auxiliary services closed to the public — database, admin panel, internal API. They don't need the open internet.
✓External monitoring, outside our network, to confirm availability from an independent point of view.
✓An incident runbook with ready-made messages for your community. Writing an announcement during an outage goes badly.
✓Review of plugins and modules: every one you don't use is exposed code for no reason.
✓Server IP kept out of public view when there's a layer in front — publishing the origin IP bypasses the protection.

5. What's already ours, and you don't need to configure

  • Two-layer mitigation on every product — Minecraft, Hytale, VPS, dedicated servers, websites and bots —, included in the price.
  • Absorption of volumetric attacks in the network, before they consume your server's bandwidth.
  • Proactive 24/7 monitoring.
  • Customizable firewall and access restricted to authorized players, on game servers.

The figures and how the two layers work are at redhosting.com.br/protecao.

During an incident

WhatsApp +55 11 98833-3902 is the fastest channel, 24 hours a day, in Portuguese, English, Spanish and German. Tickets at financeiro.redhosting.com.br. Ongoing maintenance and incidents appear at redhosting.com.br/status.

Frequently asked questions

Do I need to buy DDoS protection? +
No. Mitigation is included with every service, in two layers: the GC network, with up to 20 Tbps of capacity, and an A10 appliance at RedHosting's edge. Details at redhosting.com.br/protecao.
How do I know whether it's an attack or just overload? +
The most telling sign is the relationship between CPU and network. In real overload the machine is working and resources rise with traffic; in a volumetric attack the machine is idle and what's saturated is the path to it.
Should I block the attacking IPs? +
It doesn't help. In a distributed botnet the sources change constantly and the list grows faster than you can maintain it. What holds up is rules based on traffic patterns.
Does rebooting the server stop the attack? +
No. It makes things worse: the machine spends more time booting than serving.
What do I send in the ticket during an attack? +
IP, approximate start time and what you observed. The sooner the team looks at live traffic, the easier it is to tune the filter to that specific attack's pattern.
What can I do before the next attack? +
Reduce the surface: close ports nobody uses, take auxiliary services off the open internet, keep external monitoring and don't publish the origin IP when there's a layer in front.