Me Geeky

Sharing Technology with You
Menu
  • Android
    • Gadgets
    • Android News
  • Apple
    • Activation Bypass
    • Cydia Tweaks And Apps
    • Quick Fixes
    • Download IPSW
  • Downloads
    • Custom Roms
    • Mods & Tweaks
    • Stock Roms
  • Reviews
    • Nokia
    • QMobile
    • Samsung
    • App Reviews
    • Apple Reviews
    • Others
  • Tips & Tricks
  • How to
  • Linux
Home
Server Management
Denial of Service attack – How to stop DDoS?
Server Management

Denial of Service attack – How to stop DDoS?

Muhammad Hashim

Denial of Service or DoS is one of the most common types of attacks that are happening in www. This post will tell you what is a DoS attack? How it is initiated? How DoS attack is affecting the internet? and how to stop DDoS attacks?

What Denial of Service attack is?

Denial of Service or DoS attack pretty much defines it self by its name. To define the denial of service attack Wikipedia says:

In computing, a denial-of-service (DoS) or distributed denial-of-service (DDoS) attack is an attempt to make a machine or network resource unavailable to its intended users. A DoS attack generally consists of efforts to temporarily or indefinitely interrupt or suspend services of a host connected to the Internet.

Denial of service attack demonstration using funnel exampleBasically if an attacker is sending that much traffic, to any site or server, that the server can’t respond than this type of attack is called denial of service attack. To explain DoS attack in a simple manner, suppose there is a funnel put on a glass. If you try to pour a full bottle of water through that funnel, the water will over-flow. Same thing happens in DoS attack, the attacker sends too much traffic to the server resulting in suspension of the server.

  • You may also like
  • Protect your website using Cloudflare
  • How to add a domain to blogger using Cloudflare
  • 6 things you should look for in a Host

There is another type of DoS called Distributed Denial of Service attack or DDoS. This type of attack is initiated by a complete network of servers across the globe and all those servers are instructed to attack 1 particular server. Distributed Denial of Service attack will make any server in the world go down with in minutes.

Even huge data-centers like Facebook have suffered from Denial of Service attack. If your server is being hit by a DoS or DDoS attack, most of the time you will have to let the attack happen, it can last from a couple of minutes to 24 hours. But if you want to block Denial of Service attack happening on your site, you can do this.

How to block a DDoS attack on my site?

Okay, so you have a site and your site is being hit by the Distributed denial of service attack. You can do a couple of things to block this attack. First of all you have to make sure that it is your site which is under attack, not the actual server itself.

If you have complete access to the server then you can check it by looking at the bandwidth of other domains pointing to the same server. You can also use Cloudflare which is a freemium CDN service and also stop DDoS attacks. There is also an option in Cloudflare control panel “I’m under attack”. Selecting this option from security options will stop every request to your site for 5 seconds.

Like if you selected “I’m under attack” option, then every visitor will have to wait for 5 seconds and then cloudflare will send that visitor to your site. This stops all the bots and DDoS requests but keeps the visitors intact.

If your domain is protected by Cloudflare and still you are being hit by the denial-of-service attack, then it is your server which is under attack. The attackers have found your server’s IP Address and they are attacking the server itself.

How to block a DDoS attack on a server?

This type of attack is not really easy to block. You have to filter out all the IP Address of the zombie servers using a firewall. All the Severs that are launching DDoS attacks are called Zombie servers. I have listed a couple of techniques that you can use to block DDoS attack on a server.

  • You can buy DDoS protection from your server provider. This will increase the cost of your server but your server will stay protected.
  • You can wipe your complete server and start over. I know this sounds weird but I have seen many cases where a malware on your server is initiating Denial of service attack. You wouldn’t be able to find the malware unless you are a server genius.
  • Terminate and get a DDoS protected server, if your server provider is not able to provide any DDoS protection.

Disadvantages a Denial of service attack

Denial of service is actually an attack and any type of attack can not have advantages for you. There are many disadvantages of a denial of service attack and you may face 1 or a couple of these listed below:

  • If you are using a very strict IP blocking strategy, you can also block legitimate IP addresses. This can also lock you out of your own server. How bad is that.
  • Your server can get suspended or even terminated, if your server provider is very strict against Denial of service attacks.

I hope this post will help you fight against DDoS attack and if it did, then don’t forget to share with others. Follow us on twitter, Google+ and join our group at Facebook. If you have any feedback feel free to join the discussion below and let us improve using your suggestions/criticism. Cheers.

Share
Tweet
Google+
Pinterest
Stumble
Prev Article
Next Article

Related Articles

How to Install Webuzo on CentOS 6
Webuzo is a web-based single user control panel for VPS …

How to Install Webuzo on CentOS 6

Mgeeky.com is once again here to provide you another free …

How To Install VestaCP on CentOS 6.5 VPS

About The Author

Muhammad Hashim

Leave a Reply

Cancel reply

Pages

  • About us
  • Contact us
  • Download IPSW
  • FB Policy
  • Sitemap

Me Geeky

Sharing Technology with You
Copyright © 2023 Me Geeky
Theme by MyThemeShop.com
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish.Accept Read More
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled

Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.

Non-necessary

Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.

SAVE & ACCEPT