bucko909 ([info]bucko909) wrote,
@ 2008-07-23 16:57:00
Previous Entry  Add to memories!  Tell a Friend!  Next Entry
Entry tags:computing

DDoS attacks - why do they work?
So, 4chan is under a massive DDoS attack right now, causing it to be completely inaccessible. This doesn't exactly bother me as I rarely use it. But it does bring me to wonder: How can such an attack persist?

DDoS attacks are a result of many small internetted machines sending large amounts of data to the target until it crumbles. This data presumably gets routed through a number of routers: The breached computer's ISP, their upstream, large hubs, the victim's upstream, the victim's ISP and finally the victim.

Obviously when this sort of thing happens there's a block at the recieving end, presumably as far up as they can go to save the costs of recieving all the spam. My question is why can't the blocks happen at the sending end?

DDoS attacks must be readily recognisable with minimal inspection. It seems most routers nowadays use connection tracking and it's pretty unlikely anything can make a connection to the target under all this abuse, so one is led to suspect that all this data is sent via SYN or maybe RST packets over TCP, UDP spam or ICMP spam. The thing is, all of these things should be expected to be of a fairly low volume. UDP is used for DNS and gaming, which shouldn't be too high bandwidth, ICMP is used for basically nothing so can almost certainly be safely limited, and it's pretty rare for a machine to need to make more than 10 connections per second, so a burst of 100 and an average of 15 ought to sort that out.

Not only is it useful to stop the spammage, but it must also be useful to be able to mail customers with "we suspect you've been rooted" when traffic consistently breaches these limits, with cutoffs threatened after a week or so without adequate explanation.

So, like I say, why doesn't this happen? Is it just too hard to track the data? Am I wrong about connection tracking being common?




(Post a new comment)


[info]linamishima
2008-07-23 09:28 pm UTC (link)
It depends on the size of the networks involved, and the specific companies in question.

Remember that stopping a DDOS may offer no benefit to a service provider aside from kudos from the affected party. Where there are ties between the hosting provider and the internet service provider, however, or the DDOS is causing further bandwidth issues upstream, then the service providers would be more likely to put in place blocks. And obviously, it all depends on the peerage - where a single upstream network provider does most of the peering to the flooding sources, then they may well be willing, in order to keep the custom, to aid.

The main issue with this idea is the sheer scope, and that is why DDOS works - you spread the load so thin that you need widespread co-operation to stop the problems near the source, and with no kickback, that is unlikely to occur.

(Reply to this)


Create an Account
Forgot your login?
Login w/ OpenID
English • Español • Deutsch • Русский…