DDoS protection detects and filters attacks in which many systems send traffic to a target at the same time in order to overload it. Incoming traffic is analysed, malicious packets are discarded and legitimate requests are forwarded. At Realtoxmedia a basic protection via its own backbone AS207252 and AS203446 is active free of charge on every IP address. To keep your service reachable during an attack you need the paid extended DDoS protection.
Key facts
- Attack type
- Overload through distributed traffic
- Protection principle
- Analyse traffic, discard malicious packets
- Attack layers
- Bandwidth, protocol, application
- Operating mode
- Always-on or redirection on demand
- At Realtoxmedia
- Basic protection free on every IP, reachability during attacks with extended DDoS protection
- Your part
- Firewall, rate limiting, caching, monitoring
What happens during a DDoS attack?
In a distributed denial-of-service attack, many distributed systems send requests to a target at the same time. Often this is a botnet of hijacked computers, routers or poorly secured IoT devices. The problem is the sum of the requests: somewhere along the chain a resource runs out. That may be the bandwidth of the connection, the connection table of a firewall, the server's memory or the number of simultaneous database connections. For users it always looks the same: the application responds slowly or not at all. Because the requests come from thousands of addresses, blocking individual IP addresses does not help.
Which types of attack are there?
Attacks differ by the layer they overload. That determines which countermeasure can work. Attacks on bandwidth and protocol processing can be recognised from patterns in network traffic, attacks on the application only in the context of your application. Attackers often combine the types to get around protection mechanisms:
- Volumetric attacks fill the line, often via reflection through open DNS, NTP or Memcached services. They are measured in Gbit/s.
- Protocol attacks target the state tables of firewalls and operating systems, such as SYN floods or fragmented packets. They are measured in packets per second.
- Application-layer attacks imitate real users and request expensive pages, search functions or logins in large numbers. Small volumes of data are enough.
- Attacks on gaming protocols use connectionless UDP services whose sender addresses are easy to forge.
Volumetric attacks can only be stopped in the provider's network. On the server itself the line is already full by then.
How does the filtering work technically?
At the edge of the provider network, routers and sensors continuously measure traffic patterns: data rates, packet sizes, protocol distribution and the number of new connections per second. If the traffic for a destination IP differs clearly from the normal picture, filtering starts. The data stream then passes through scrubbing systems that check it packet by packet. Forged sender addresses, invalid protocol states, known attack signatures and unusual request rates are discarded, and the rest is passed on and reaches the destination by the normal route. The closer to the network edge the check takes place, the less attack load reaches the infrastructure behind it. That is why an operator's own backbone helps.
Always-on or redirection on demand
With on-demand redirection, traffic runs normally at first and is only redirected for filtering once an attack has been detected. That saves resources but costs time. Depending on the system, seconds to minutes pass between detection, redirection and effective protection, and with short, heavy attacks the service is already down by then. With always-on, all traffic runs through the filtering permanently and no switchover is needed. It also matters which addresses are covered. Protection should cover all IP addresses without you having to activate it for each one. At Realtoxmedia the basic protection via AS207252 and AS203446 is active automatically and free of charge on every IP. For services that must stay reachable throughout an attack, extended DDoS protection is available as a paid upgrade.
What can you do yourself?
Filtering in the network stops volume before it reaches your line. Application-layer attacks, on the other hand, are best detected by you, because only you know what normal usage looks like: which pages are expensive, how many requests per minute are plausible and which regions your users come from. If you define these limits in advance and enforce them technically, you can handle many smaller attacks without outside help. These measures only cost some configuration work:
- Rate limiting in the web server or reverse proxy: limit requests per address and time period.
- Hide the origin IP if a proxy or CDN sits in front of it. Otherwise the server is attacked directly.
- Open only the ports you need and secure UDP services.
- Do not run open resolvers, NTP or Memcached services that can be abused for reflection.
- Use caching so that expensive requests do not reach the application and database every time.
- Monitoring with alerting, so that you notice an attack early and not only through user complaints.
What to check with providers
The claim "DDoS protection included" often comes with restrictions in the small print. What matters is the scope: which addresses are covered, up to what attack size traffic is filtered, whether the service stays reachable during an attack and what happens once the limit is exceeded. Clarify this before you order, not during the first attack when the server is already offline. Check these points:
- Protection that is only offered or activated after the first attack.
- Null routing with no alternative: the attacked address is taken off the network for hours, and there is no option to stay reachable during an attack.
- Protection only for the main IP, while additional addresses remain unprotected.
- Limited filtering capacity, above which traffic is switched off rather than cleaned.
- Clauses that treat repeated attacks as grounds for termination or as a chargeable event.
If in doubt, ask how the provider responds when an attack exceeds the available filtering capacity.
DDoS protection starts in the provider's network, before traffic reaches your server. Check whether it applies permanently and to all IP addresses, and what you have to pay for your service to stay reachable during an attack. Add rate limiting, caching and monitoring in the application.