News for hackers. Stuff that matters.
Re:This is what a DDoS attack looks like by jbk on Friday April 26, 2013 @11:43AM (#5613529)
Disclaimer: VideoLAN president and lead VLC developer here.

The attack started on our new mirroring system (powered by mirrorbrain) 2.5 days ago, during the night (after 2am, so we were sleeping).

We were woken up (OP and I) in the morning by many mirrors complaining of high bandwidth use. The actual number of requests was not that high (400 req/s), but the botnet was downloading the whole vlc.exe, aka 22MB. So, we were at around 70Gbps during the night, in average.

Afterwards, North America got up, and things got worse. We had up to 1660 req/s, so around 292 Gbps...

This is very weird for a DDoS, to be honest.

Our front machine that splits the down mirrors was taking most of the load, and we were able to find the patterns to drop the botnet connexions, in order to not kill too much our mirrors. I won't discuss too much of the patterns, as you can imagine, but as usual, I'll be happy to discuss it IRL or by mail.

Tweaking the front server was also important to reduce the number of open connexions, to not kill our server.

2.5 days after, the attack is still going on, with an average of 500req/s.

The video was done using logstalgia, using scripts of OP, on my machine (<troll>he was running eclipse, he couldn't do both at the same time :)</troll>).

Re:This is what a DDoS attack looks like by derefr on Friday April 26, 2013 @06:25PM (#5615862)
Is there a reason VLC doesn't offer a Bittorrent download option, by the way? As far as I know VLC's audience is pretty technologically-inclined, so they would understand what a magnet link is, and you'd be able to just switch off the archive-download option for a while in cases like this. (As a bonus, if you embed a magnet link in your page, you're implicitly embedding a SHA-verification of the resulting torrent file.)
Re:This is what a DDoS attack looks like by subsystem on Friday April 26, 2013 @12:04PM (#5613641)
"This is very weird for a DDoS, to be honest."

Maybe it was aimed at bandwidth costs?

Re:This is what a DDoS attack looks like by jbk on Friday April 26, 2013 @12:11PM (#5613668)
Maybe. Seriously, no idea.
Re:This is what a DDoS attack looks like by drivebyacct2 on Saturday April 27, 2013 @04:11AM (#5617157)
That's precisely what I don't get in this case, especially. The source is out there, there are other people mirroring vlc. So if you're trying to censor it, you're going to fail pretty hard. In the absence of that, what can it be?

Of course! It must be the mplayer folks!!

Re:This is what a DDoS attack looks like by kin3tic on Saturday April 27, 2013 @04:15AM (#5617159)
Or in this case, who you'd literally least suspect: wmplayer. All hail wmv!
Re:This is what a DDoS attack looks like by vabmit on Friday April 26, 2013 @12:40PM (#5613846)
I don't know what request throttling solutions are available for nginx. But, for apache there are modules and scripts/code that can rate limit traffic and requests from specific IPs. Depending on the size of the botnet attacking, rate limiting requests by IP or network may have been a way to mitigate the DDoS effects. Again, depending on the specifics, you should be able to use iptables (if you're running Linux) to limit requests per source IP or IP range. The type of actions you can take with iptables are really quite robust.

I've had to deploy request rate limiting solutions in the past because of well meaning federated search mash-ups that included content from servers that I run.

Filtering by useragent seems to be a temporary solution. I think that's especially true since you've disclosed publicly that's what you're doing.

Re:This is what a DDoS attack looks like by daemon13 on Friday April 26, 2013 @03:58PM (#5615083)
With nginx you can easily rate-limit connections, requests and downloads (which you can throttle also). Can also do this by GeoIP - country, etc.

No need for extra steps - this module shall be compiled and part of nginx-full package from nginx official PPA, if OP is using Ubuntu.

Re:This is what a DDoS attack looks like by rb12345 on Friday April 26, 2013 @03:26PM (#5614918)
I had problems with the Windows updater apparently downloading version 2.0.6 and then not installing it. I ended up downloading and installing it manually instead. Could that be related somehow?
Re:This is what a DDoS attack looks like by jbk on Friday April 26, 2013 @07:41PM (#5616131)
VLC Windows updater?
Re:This is what a DDoS attack looks like by rb12345 on Saturday April 27, 2013 @07:19PM (#5619421)
Yes, the VLC Windows updater, which runs when VLC starts.
Re:This is what a DDoS attack looks like by jbk on Sunday April 28, 2013 @05:56AM (#5620773)
It has a very specific user agent, and does not call with this pattern.
Re:This is what a DDoS attack looks like by merlincorey on Friday April 26, 2013 @10:48PM (#5616620)
Why do you return 403 (according to the article) instead of 444? 444 will drop and close the connection, so I am guessing it has something to do with keep alives vs connection overhead?
Re:This is what a DDoS attack looks like by huhtenberg on Friday April 26, 2013 @01:30PM (#5614190)
Who toes have you stepped on recently, I wonder?

Also, pattern-wise - most of the traffic in the video seems to be hitting a single .asc file.

Re:This is what a DDoS attack looks like by jbk on Friday April 26, 2013 @01:50PM (#5614330)
No idea, seriously. VLC scammers, mainly.

The .asc is a logstalgia visualisation bug, because in fact, it merges the few .exe.asc requests with the massive .exe requests

Re:This is what a DDoS attack looks like by newman314 on Friday April 26, 2013 @01:21PM (#5614121)
What did you tweak in nginx?
Re:This is what a DDoS attack looks like by daemon13 on Friday April 26, 2013 @03:59PM (#5615088)
Is this originating from specific country or all over?
Re:This is what a DDoS attack looks like by jbk on Friday April 26, 2013 @07:42PM (#5616133)
All over.
Re:This is what a DDoS attack looks like by to3m on Friday April 26, 2013 @01:08PM (#5614026)
"Disclaimer"?
Re:This is what a DDoS attack looks like by Ideka on Friday April 26, 2013 @03:23PM (#5614899)
Looks more like a "claimer" to me.
Re:This is what a DDoS attack looks like by mrtbld on Friday April 26, 2013 @04:49PM (#5615384)
He wanted to write "disclosure" I guess. (He's not a native English speaker.)