<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SSH | Nerdpress.org</title>
	<atom:link href="https://nerdpress.org/category/ssh/feed/" rel="self" type="application/rss+xml" />
	<link>https://nerdpress.org</link>
	<description>...dev, tech problems and solutions.</description>
	<lastBuildDate>Tue, 20 Oct 2020 09:04:09 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>Umlaut domain problems</title>
		<link>https://nerdpress.org/2020/07/17/umlaut-domain-problems/</link>
		
		<dc:creator><![CDATA[Ivo Bathke]]></dc:creator>
		<pubDate>Fri, 17 Jul 2020 10:20:58 +0000</pubDate>
				<category><![CDATA[SSH]]></category>
		<category><![CDATA[domains]]></category>
		<category><![CDATA[ssh]]></category>
		<guid isPermaLink="false">https://nerdpress.org/?p=2929</guid>

					<description><![CDATA[<p>Living in an umlaut country like Germany umlaut domains are sometimes requested.But: Umlaut domains resp. Internationalized Domain Names (IDN) are problematic. My main pain points were these: Browsers tend to convert the unicode representations to ASCII Compatible Encoding (ACE) with punycode representations for security reasons when copying the url.So you will get a nice surprise &#8230; </p>
<p class="link-more"><a href="https://nerdpress.org/2020/07/17/umlaut-domain-problems/" class="more-link">Continue reading<span class="screen-reader-text"> "Umlaut domain problems"</span></a></p>
The post <a href="https://nerdpress.org/2020/07/17/umlaut-domain-problems/">Umlaut domain problems</a> first appeared on <a href="https://nerdpress.org">Nerdpress.org</a>.]]></description>
										<content:encoded><![CDATA[<p>Living in an umlaut country like Germany umlaut domains are sometimes requested.<br>But: Umlaut domains resp. Internationalized Domain Names (IDN) are problematic.</p>



<p>My main pain points were these:</p>



<ol class="wp-block-list"><li>Browsers tend to convert the unicode representations to ASCII Compatible Encoding (ACE) with<a href="https://en.wikipedia.org/wiki/Punycode" target="_blank" rel="noreferrer noopener"> punycode</a> representations for security reasons when copying the url.<br>So you will get a nice surprise when pasting the url somewhere:</li></ol>



<p>F.e. having <a href="https://xn--hrth-blht-q9ag.de/"><em>https://hürth-blüht.de</em>/</a> in the browsers address bar will get you <em><a href="https://xn--hrth-blht-q9ag.de/">https://xn--hrth-blht-q9ag.de/</a></em> on copy/paste.<br>This punycode representation is very unfamiliar to normal users and will keep them from clicking the url because it looks suspicious.</p>



<span id="more-2929"></span>



<p>The security issue the browsers have is a so called <em><strong>homograph attacks</strong></em>:<br>Attackers use similar looking chars for f.e. phishing domains.</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow"><p>For example, the Latin &#8220;a&#8221; looks a lot like the Cyrillic &#8220;а&#8221;, so someone could register http://ebаy.com (using Cyrillic &#8220;а&#8221;)</p><cite>From: <a href="https://chromium.googlesource.com/chromium/src/+/master/docs/idn.md">https://chromium.googlesource.com/chromium/src/+/master/docs/idn.md</a><br>There are also more detailed technical informations on how browsers mitigate those attacks.</cite></blockquote>



<ol class="wp-block-list" start="2"><li>Umlaut domains will not work in ssh since DNS does not support unicodes. <br>Ssh will require the punycode domain.<br>The error message is not very helpful on first sight.<br>F.e. <code>ssh user@hürth.de</code> will say:<br><code>Could not resolve hostname h\303\274rth.de: Name or service not known</code><br>So use the punycode instead: <code>ssh user@xn--hrth.de</code><br><br></li><li>Htaccess Apache Redirects also need punycode<br>Also on Apache redirects in the .htaccess you will need to use the punycode urls:</li></ol>


<pre class="wp-block-code"><span><code class="hljs language-javascript">RewriteCond %{HTTP_HOST} ^xn--mehr-grn-d6a.de$ &#91;OR]
RewriteCond %{HTTP_HOST} ^www.xn--mehr-grn-d6a.de$
RewriteRule (.*)$ https:<span class="hljs-comment">//www.mehr-gruen.de/$1 &#91;R=301,L]</span></code></span></pre>


<p>A good Article (in german language though) thats describes even more problems like emails, missing legacy system support, SEO or requiring a specific keyboard layout is this:<br><a href="https://www.checkdomain.de/blog/domains-hosting/umlautdomains-clevere-alternative-oder-ein-problem/" target="_blank" rel="noreferrer noopener">https://www.checkdomain.de/blog/domains-hosting/umlautdomains-clevere-alternative-oder-ein-problem/</a></p>The post <a href="https://nerdpress.org/2020/07/17/umlaut-domain-problems/">Umlaut domain problems</a> first appeared on <a href="https://nerdpress.org">Nerdpress.org</a>.]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
