How to stop or defend against a DDoS attack and what types are there?

Who I am
Catherine Le Nevez
@catherinelenevez
Author and references

Today we will see how to stop or defend against a DDoS attack and what types exist. Denial of Service attacks are something that has existed almost from the moment the Internet was created. Also in relation to this it is worth knowing how to protect yourself in open WiFi networks.

It is not cheap at all to perform a denial of service attack. But fortunately, today we have easily accessible options to defend ourselves against these kinds of situations.


Today, running a website isn't exactly easy. We have many interesting tools. But when a page starts to be successful and becomes known, such situations can occur.


We will look at two methods so that you can defend yourself from DDoS attacks and also know what types exist. In this way you will defend yourself effectively and without having too much knowledge on the subject. Ideal for any type of user. At the same time, remember that there are ways to remove a virus from your PC manually without programs.

What is a DDoS attack?

It's basically a denial of service. The idea is to prevent a system or infrastructure from providing the service for which it is intended. Therefore, such an attack is aimed at overloading web servers, for example. So that no one can access the sites that are hosted on said server.

Existing types of DDoS attacks

There are two types of attacks of this class and they are:

  • DoS (Distributed Denial of Service): the idea in this case is to make a number of requests to the server in a massive way so that it runs out of enough resources to serve them all.
  • DDoS (Denial of service): This is a slightly more complex attack since, like the previous case, quite a large number of requests are made. But the difference is that in this case it is performed from different IP addresses, which makes the task of stopping such an attack more complicated.

Remember that many security problems are avoided by protecting yourself with an Antivirus, Firewall, Anti Spyware and Anti Spam. Without further ado, let's continue.



How to stop or defend against a DDoS attack

The first thing to keep in mind is to keep everything up to date on your website. Don't give attackers more weapons than they already have. You don't have to leave any vulnerabilities. This is why it is important to keep everything up to date.

In the case of firewalls, it is crucial review them in detail to avoid any kind of saturation. So that if we find many requests for a specific IP, it will be blocked.

If you want stop a DDoS attack with "little effort" you should ideally use Cloudflare. The free mode does a pretty decent job when it comes to bots. However, when it comes to a DDoS attack, the ideal is to migrate to a paid plan.

By itself, Cloudflare's CDN works flawlessly. However, for obvious reasons, the free plan isn't enough to deal with a denial of service attack. Fortunately, the company's payment plans are affordable and the result is optimal in every respect.


Furthermore, we don't need advanced knowledge to set up Cloudflare or to deal with such an attack.

Another alternative is to use Sucuri which you can access from its official website which with a plan of 20 USD per month you can have advanced protection of level 3 and 4 together with level 7. Which greatly helps you to quickly detect any kind of sudden change in terms of your website traffic and ends up effectively protecting your site from any kind of attack.


To summarize a bit what we saw in the article. Using a CDN service is essential to get good results optimally and without too much effort. Aside from any Denial of Service attacks, we still recommend using Cloudflare's free plan to save resources on your web server.

TagsTutorial Internet
add a comment of How to stop or defend against a DDoS attack and what types are there?
Comment sent successfully! We will review it in the next few hours.