I hate to be a spoilsport, but this is a good reminder that https://en.wikipedia.org/wiki/IDN_homograph_attack is still possible in some domains and with some browsers and CLI tools, although some of the easier tricks to detect have been mitigated.
if you run pihole or a local dnsmasq/unbound it should be possible to mitigate it by sinkholing any unicode domains, e.g. with dnsmasq (requires a patch https://github.com/spacedingo/dnsmasq-regexp_2.76 ) you can do this: address=/:xn--*:/0.0.0.0 does anyone know if something like this is possible with unbound?
Add '127.0.0.1 xn–9q8h' to /etc/hosts gives you "localghost"
41–50 of 118 posts
Re: Add '127.0.0.1 xn–9q8h' to /etc/hosts gives you "localghost"
#42Hmm, I wonder if that's going to be the next battle field for URLs: Facebook will try to register its logo as an emoji, and you'd just need to go to http://[f] to open their site. There already is an emoji for apple (the fruit, not the company). Oh the horrors. I should start an emoji NIC!
Re: Add '127.0.0.1 xn–9q8h' to /etc/hosts gives you "localghost"
#43Hmm, I wonder if that's going to be the next battle field for URLs: Facebook will try to register its logo as an emoji, and you'd just need to go to http://[f] to open their site. There already is an emoji for apple (the fruit, not the company). Oh the horrors. I should start an emoji NIC!
Re: Add '127.0.0.1 xn–9q8h' to /etc/hosts gives you "localghost"
#44Earlier quoted context omitted.
Why is this even a thing?
There are a bunch of different human writing systems. All of them are weird because they were invented by humans, most of them are very weird indeed because they were invented by humans a long time ago and then gradually mutated. The Latin system is the one you're using here. It's very popular. Most humans in the integrated tribes are somewhat familiar with it‡. It has twenty six "letters" and then twenty six more "c…
I'm having trouble confirming this as the double-hyphen is now very much allowed, thanks to IDN.
Re: Add '127.0.0.1 xn–9q8h' to /etc/hosts gives you "localghost"
#45Earlier quoted context omitted.
Imagine if DNS consisted only of Arabic characters. Imagine how grumpy you'd be that you couldn't go to newyork.gov.us for your local government website, and instead had to go to نيويورك instead? Assuming you can't read Arabic, how on earth would you even recognise that address, let alone remember how to type it.
Well, I'd probably had to learn something like this: https://en.wikipedia.org/wiki/Arabic_chat_alphabet I always assumed the non-latin-alphabet people know their way around this because they already used the internet before unicode-domains.
Re: Add '127.0.0.1 xn–9q8h' to /etc/hosts gives you "localghost"
#46Earlier quoted context omitted.
But... What about legit unicode domains? I own a couple that I use for personal projects or file sharing.
indeed those would get thrown under the bus. it's a trade-off and depends on how paranoid you want to be.
1. Use a browser extension that throws a warning on all unicode domains (maybe even with unicode highlighting). Drawback: Needs to be done per-device.
2. Let your pihole MitM all https traffic with a certificate you do NOT trust (maybe create one per domain, so you can add it to the trusted list); if the connection is over http, upgrade it to https (if the server doesn't speak https, proxy it). Drawback: It's much more complicated, and if your bank happens to be called e.g. "Bank of Zürich" you still need to take a look at the IDN to determine if you're on the right website (or add an exception).
Re: Add '127.0.0.1 xn–9q8h' to /etc/hosts gives you "localghost"
#47Hmm, I wonder if that's going to be the next battle field for URLs: Facebook will try to register its logo as an emoji, and you'd just need to go to http://[f] to open their site. There already is an emoji for apple (the fruit, not the company). Oh the horrors. I should start an emoji NIC!
These would be less than convenient to type, but perhaps as we go more and more towards a non-typing web where a walled-garden start page and predefined links lead to the most popular sites with a click, these URLs will become fashionable. I think if so, this will herald the impending death of the human-read and typed URL in favor of start page links and search results.
Just a reminder that this is backwards, not forwards: this was my first experience of the Internet, through AOL, and I imagine I'm not the only one.
Re: Add '127.0.0.1 xn–9q8h' to /etc/hosts gives you "localghost"
#48Earlier quoted context omitted.
Why is this even a thing?
There are a bunch of different human writing systems. All of them are weird because they were invented by humans, most of them are very weird indeed because they were invented by humans a long time ago and then gradually mutated. The Latin system is the one you're using here. It's very popular. Most humans in the integrated tribes are somewhat familiar with it‡. It has twenty six "letters" and then twenty six more "c…
Viewed in that light, restricting DNS names to ASCII as a way to reduce bugs, security issues, etc., makes a lot of sense.
Re: Add '127.0.0.1 xn–9q8h' to /etc/hosts gives you "localghost"
#49Earlier quoted context omitted.
Imagine if DNS consisted only of Arabic characters. Imagine how grumpy you'd be that you couldn't go to newyork.gov.us for your local government website, and instead had to go to نيويورك instead? Assuming you can't read Arabic, how on earth would you even recognise that address, let alone remember how to type it.
Well, I'd probably had to learn something like this: https://en.wikipedia.org/wiki/Arabic_chat_alphabet I always assumed the non-latin-alphabet people know their way around this because they already used the internet before unicode-domains.
But that's not a very good reason to continue it (besides which, there are new people coming to the Internet every day).
Re: Add '127.0.0.1 xn–9q8h' to /etc/hosts gives you "localghost"
#50Earlier quoted context omitted.
Nope, Twitter replaces the unicode character with an SVG image, so it should show the same for everyone.
Depends on how you're browsing. The legacy fallback does not replace it, eg when you have js disabled