Solutions to Ease the DDOS Trickle-Down Effect?
dealsites asks: "Recently, The Electorial Vote website run by Andrew Tanenbaum was hit with a triple-threat. Not only was it Slashdotted, it was hit with a DDOS attack in conjunction with the busiest normal traffic day, due to the election. Netcraft has an article detailing the steps taken to mitigate the traffic. Andrew's host provider is also the provider of my site. I'm sure were are on separate servers, him a dedicated server and semi-dedicated hardware for myself, but I noticed dramatic slowdowns of my site during this triple-threat traffic onslaught to Andrew's site. Are there any techniques other than throwing more CPUs and bandwidth at the problem to remedy this type of situation? I'm sure I can't be the only one that has noticed this. Any comments on other similar stories?"
My favorite solution to this problem : Don't get your site posted on slashdot!
Which, of course, I realize is a ridiculous statement, since it's usually both desirable, and out of your control. But still, its funny.
"Not only was it Slashdotted"... Twice. You evil, evil submitter.
But the company I work for provides products that help in situations like this, although pre-planning for such events is critical for surges like this to be handled cleanly. For anybody interested, check out http://www.netscaler.com/ for information. Some key things to look for:
1) That your upstream provider has sufficient capacity to handle large surges in traffic to one part of their infrastructure
2) If you expect to receive a large surge, to overprovision your upstream links
3) Make sure to have a front-end device that can determine "legitimate" traffic from bad traffic such as syn floods, and deal with the capacity of the upstream links.
4) Make sure you have the ability to cache hot content in case you max out your servers if you need too. You don't need to regenerate a page of voting information with every request if it only changes ever few minutes, cache it to reduce the server load.
In many cases, people fail to insure they have enough bandwidth on their upstream connections, and then put firewalls on the other side of the connection. Firewalls will tend to die under a heavy syn flood, and if they don't if you don't have enough capacity, it won't help anyway.
From the main page of electoralvote2.com:
All the servers appear to be under attack now, also DNS. I added another large multiprocessor but it doesn't seem to help much. I don't this is going to work. Sorry.
The remainder have older messages on them - not sure how or if they are being automatically synced.
Bummer, but kindof expected. Seems that he's using only one provider...
-Adam
auto redirect all hits to a coral cache
and maybe slashdot could post coralized links the in the articles
If you know you're about to get hit, minimize the graphics and streamline the code; this guy's got a page that's just over 30 kb (including graphics). Provided the page isn't generated dynamically, it shouldn't be too tough for a decent server to handle.
Throw in some flash and a bunch of fancy images and you've got a recipe for disaster.
An effective signature identifies a particular user amongst a base of thousands.
It's just as well that his site is knocked off. His links are either pro-Kerry, Non-Partisan, or "Mixed." There are no pro-Bush links.
I realize that he's got just as much of a right to say whatever he wants, but it troubles me that some people are looking to this as an authoritative source of information. IOW, he's biased.
You need to restart your computer. Hold down the Power button for several seconds or press the Restart button.
Take a look here and here.
There are several things you can do to minimize or mitigate a DDOS attack, the first and most obvious method would be to host your server from two seperate hosting providors preferably in different geographic locations LA and NYC or Dallas and Seattle for example, have both IP's in dns with the same A record and it will be round-robined by DNS, so each visitor should be balanced between the two servers.
:) if thats not an option, then your going to have to dish out some bucks to protect yourself. The Internet is the new Wild Wild West, there is no such thing as diplomacy.
Another cheap way is to deploy an inline IPS device which mitigates the attack in real-time. Some devices performance range drasticly with price.
There are even some free ones such as OpenBSD' Packet Filter, this can supply advanced syn-flood protection, connection tracking and general packet scrubbing all within a low cost solution but with the lack of support and learning curve and completeness, so YMMV. I have tested several commercial devices and so far I am most impressed with the http://www.ddos.com/ guy's box it thoroughly kicks ass for the price.
Anyways a couple of good sites to find more info on hardware, etc would be http://www.securityfocus.com/'s IDS mailinglist (yes all the IPS stuff goes here too) and also http://www.nss.co.uk/ who do alot of independent reviews of this kind of hardware. They charge for some of their reports but most of it can be found on their site for free.
DDOS is a toughy, the best way is to keep a low profile
Good luck.