3 ms·
This is the kind of mess that you end up with if you don't take internationalisation into account when you first design your standard. The impact of such an att
by jeroenhd 4y ago
This is the kind of mess that you end up with if you don't take internationalisation into account when you first design your standard. The impact of such an attack would've been significantly reduced if other countries' writing systems had been considered when DNS first hit the public.
Punycode is a bad compromise but nothing better is available. At this point entire TLDs now rely on it, it cannot be phased out any more. Hopefully this will be a lesson next time someone invents a protocol (though I doubt it will when I read through the comments of some anglophone commenters here).
- ipython 4y agoSince dns was first defined in November 1987, well before Unicode 1.0 was ratified (1991 at the earliest), what would be your suggestion to the original implementers?
- btschaegg 4y agoTotal aside, and I have absolutely no solution for this, but: Perhaps the meta-meta-meta-problem here is that our industry is seemingly fundamentally unable to let go of flawed solutions from decades ago. Of which we have a lot -- by necessity. It's pretty much impossible to know the important flaws before something has been established and used widely enough, after which point replacing them becomes a herculean task because they have been calcified into the bedrock of our infrastructure. There are so many examples of this: - DNS (for a lot of other reasons than domain names) - IPv4 - TCP (see the motivation for QUIC) - a *lot* of incredibly obscure text encodings - IBM 3270 control codes - Sometimes even just ancient code no one understands anymore (search for the source code of Plan 9's `troff` for an example) - …and so on and so forth …and if someone wants to tackle such a situation, usually the outcome is either: - build another hack to add to the pile of hacks we won't be able to get rid of - XKCD 927 (n+1 competing standards, because the old one will live on for ever anyway) - face second system syndrome (resulting in an overcomplicated mess) - get no traction because not enough people will switch to your new and shiny solution (due to the other calcified things in the stack or new flaws with the new solution) So, my question: How should our civilization deal with this?
- jeroenhd 4y agoEven before unicode internationalisation was a thing. They couldn't have used unicode itself but they could've come up with some kind of mechanism to deal with non-English encodings.
- cryptonector 4y agoBesides u/ipython's comment that Unicode did not exist when DNS was designed, consider too that Punycode is not the problem here. The problem here is the surfeit of homographs (similar looking glyphs w/ different codepoints and semantics) in Unicode. Punycode is not the issue. IDNA itself is not the issue either. Punycode is complexity, for sure, and it could perhaps have been avoided by just decreeing that non-ASCII labels are UTF-8 on the wire in DNS. This was considered, and you can imagine the lengthy threads that that topic produced then and still occasionally produces now at the IETF!