Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

DNS is a small protocol and is abused by DDoS actors worldwide for relay attacks.


DNS is from 1983, give it some slack


The point I'm trying to make is that "small" protocols aren't less likely to be DDoS vectors.

Avoiding designing in DDoS relay/amplication vectors requires luck or intention, not just making the protocol small.


Small, less complex protocols are inherently less likely to be insecure all things being equal, simply due to reduced attack surface.

DNS was created for a different environment, at a time when security wasn't at forefront so it's not a good example of the opposite.


This is such a strong claim I'd really appreciate something other than "smaller is better"

Abuse and abuse vectors vary wildly in complexity, some complexity is certainly required exactly to avoid dumb bottlenecks if not vulnerabilities. So based on what are you saying something simple will inherently resist abuse better?


> Small, less complex protocols are inherently less likely to be insecure all things being equal, simply due to reduced attack surface.

That feels intuitive in the "less code is less bugs is less security issues" sense but implies that "secure" and "can't be abused" are the same thing.

Related? Sure. Same? No.

Oddly enough, we probably could have prevented the replay/amplification dos attacks that use DNS by making DNS more complex / adding mutual authentication so it's not possible for A to request something that is then sent to B.


We could have prevented the replay/amplification dos attacks that use DNS by making DNS use TCP.

In practice though the only way to "fix" DNS that would've worked in the 80s would've probably been to require the request be padded to larger than the response...


But TCP is way more complex


... yeah? I know? "In practice though the only way to "fix" DNS that would've worked in the 80s would've probably been to require the request be padded to larger than the response..."

It's not as complex as some "mutual authentication" scheme though lmao


I'm also from 1983 and I haven't been DDoSed


DNS is an enormous protocol, almost unmeasurably large.


That's a bit overblown. There's a lot there and some of it conflicts with itself but it's not unmeasurably large by any means. It's a knowable protocol (and yes, I'm aware of the camel meme[1]).

1. https://powerdns.org/dns-camel/


Quiz: which RFCs do you need to know and implement to implement DNS?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: