News for hackers. Stuff that matters.
Re:GitHub: About This Week's Availability by robbyt on Friday February 10, 2012 @02:27PM (#3577125)
Github is really great, but I'm a cynic.

Indeed, why _would_ anyone want to DDoS github? How can we believe Github that the outages were due to a DDoS? They're smart people, aren't they using solid load balancesrs that can mitigate DDoS attacks? Why haven't they issued an actual statement describing the supposed attacks in better detail?

Re:GitHub: About This Week's Availability by jtchang on Friday February 10, 2012 @02:33PM (#3577150)
Load balancers generally don't offer as much mitigation against DDoS as you think. The load balancer will probably fall over if the backend servers don't do so first. The sheer volume of seemingly valid traffic is what kills you.

Which is why effective anti-DDoS means working with your upstream provider to figure out how to differentiate between real traffic and fake traffic. The best solution to a DDoS is the phone # of a tech that can implement firewall rules upstream and a good traffic analyzer to tell them exactly how to filter it.

Re:GitHub: About This Week's Availability by swalberg on Friday February 10, 2012 @03:45PM (#3577396)
Often you can't pick apart the good traffic from the bad.

Fortunately bots are usually pretty stupid. If you can outrun them on bandwidth, then change /victimpage.html to 302 to /victimpage-new.html. The web server or load balancer can send those redirects really fast and it doesn't take much bandwidth either. I have never seen a bot chase that redirect.

After a particularly nasty DDOS attack (where our upstream provider just shrugged their shoulders) I wrote an F5 iRule:

1. Check for the IAMNOTABOT cookie 2. If not there, redirect to /cookie-me?oldpage=the_page_you_were_trying_to_access 3. Set IAMNOTABOT=true cookie 4. Redirect to the old page

Re:GitHub: About This Week's Availability by jarcoal on Friday February 10, 2012 @11:33PM (#3578583)
Another, similar, technique is checking for a NOBOT cookie and if it doesn't exist, serve up a page that uses javascript to set the cookie, then reloads.

This requires the bot to interpret javascript, and it can easily be configured in nginx and other load balancers.

Re:GitHub: About This Week's Availability by acdha on Friday February 10, 2012 @03:12PM (#3577299)
Ask anyone who's been there and they'll tell you that load balancers only make DDoS attacks harder. Unless you have something like AWS AutoScaling, they'll just generate more traffic - and if you do, it would quickly become a financial DDoS. That's why sites like Yahoo.com have been taken out: you have finite server capacity but the attacker merely has to find another another exploitable system somewhere on the Internet.

The way you deal with a DDoS is hard: you can try to identify distinguishing characteristics of the attack so traffic can be blocked as far out as possible and you try to figure out who's behind the attack so you can get law-enforcement involved. Otherwise you're just playing whack-a-mole with compromised home computers all around the globe…

Re:GitHub: About This Week's Availability by dhconnelly on Friday February 10, 2012 @02:29PM (#3577133)
As another poster mentioned, DDOS attacks on successful companies are not uncommon. And there isn't an easy fix for this.
Re:GitHub: About This Week's Availability by mike-cardwell on Friday February 10, 2012 @02:28PM (#3577130)
That's not just cynical; that's down right paranoid.
Re:GitHub: About This Week's Availability by ceejayoz on Friday February 10, 2012 @03:36PM (#3577364)
> Indeed, why _would_ anyone want to DDoS github?

"Some people just want to watch the world burn."

Organized crime extorting sites with DDoSes is certainly not unheard of, either.

Re:GitHub: About This Week's Availability by mitchellhislop on Friday February 10, 2012 @03:41PM (#3577386)
Responding to your last sentence, there was a comment on the blog post that they are being vague to not give anything away to the attackers. If they start describing the attack (even how they perceive it) and/or mitigation steps, they are giving targeting data to the people doing the attack.
Re:GitHub: About This Week's Availability by brown9-2 on Friday February 10, 2012 @05:46PM (#3577823)
Arguably, if your load balancer setup is such that traffic can increase 10000x from the minute before and nothing falls over, you were probably incredibly over-provisioned in the first place.

Unless your regular traffic pattern has 10000x increases built into it, why would you spend all the extra expense to be able to handle that level of load?