by IgorPartola · 10y ago · 0 comments
DigitalOcean "supports" IPv6. In some regions. And only gives you 16 addresses per VPS to play with instead of a /64.
There are many examples of this, but you see my point. People still don't think IPv6 first, so it's always a separate project to tack it back on. That's a shame because if you support just IPv6, your OS will do IPv4 to IPv6 translation for you, so that you don't have to support two stacks. (I am talking about server-side applications, not places where you need to make connections to IPv4 servers.)
This is a pretty big problem too because there are many services that don't take firewalls into account. They're two totally different protocols and have two firewall stacks (iptables/ip6tables). I don't know if Windows Sever is any better at either abstracting both firewall sets or ensuring you are explicitly warned if you leave IPv6 addresses in a different firewall state than IPv4.
Amazon's IPv6 support is pretty horrible, and that's terrible consider just how much of the world runs on Amazon and our total exhaustion of IPv4 addresses.
Without broad scale IPv6 deployment, we're going to get into a split-Internet situation where people will not be able to reach an audience without an expensive legacy IPv4 address.
Does DO really not give you a /64? I see prefixlen 64 on my eth0 on one of my 'droplets'.
How is that solid IPv6? You can't even trivially subnet it! Sure, it's marginally better than the 16 address madness of other hosters, but it's still terrible. Especially so, given that you need an NDP proxy hack ... WTF?
The NDP proxy hack is easy: https://github.com/DanielAdolfsson/ndppd
See also: https://www.zerotier.com/community/topic/69/default-route-ov...
As for the NDP proxy hack being easy: Well, sure, there are more difficult things (and yes, I once wrote an NDP proxy deamon myself, which wasn't particularly difficult either). But it still adds complexity, for no real reason. The question isn't whether you can work around this deficiency. The question is: What is the point of this deficiency in the first place?
Plus, you still only have one /64, which is just braindead.
And, with a proxy NDP setup, you are vulnerable to NDP cache DoS: Your upstream router needs to do NDP resolution for each individual address (instead of just the one router address that your prefix is routed to), which enterprising attackers can DoS by simply sending packets to a few thousand to million of your addresses which then will overload the NDP cache of that router, leading to your machine(s) potentially being unreachable.
Linode are the only ones I have seen do IPv6 correctly. I wish they also knew how to do security correctly; unfortunately I can no longer recommend them in good conscience.