<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Https – Yeri Tiete</title>
    <link>https://yeri.be/tag/https/</link>
    <description>Yeri Tiete&#39;s blog</description>
    <language>en</language>
    <copyright>© Yeri Tiete</copyright>
    <lastBuildDate>Fri, 18 Feb 2011 01:35:44 +0100</lastBuildDate>
    <atom:link href="https://yeri.be/tag/https/index.xml" rel="self" type="application/rss+xml" />
    
    <item>
      <title>blog over ssl</title>
      <link>https://yeri.be/blog-over-ssl/</link>
      <pubDate>Fri, 18 Feb 2011 01:35:44 +0100</pubDate>
      <author>Yeri Tiete</author>
      <guid isPermaLink="true">https://yeri.be/blog-over-ssl/</guid>
      <description>&lt;p&gt;Starting a SSL test on this domain as of today. Free cert by &lt;a href=&#34;https://www.startssl.com/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;StartSSL&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;SSL is clearly the new hype, and this time I won&amp;rsquo;t be last to join it! ;)&lt;/p&gt;&#xA;&lt;p&gt;Just going to check how much (if any) SSL slows down my site.&lt;/p&gt;&#xA;&lt;p&gt;Every &lt;a href=&#34;https://yeri.be&#34;&gt;http&lt;/a&gt; requests gets automatically rewritten to &lt;a href=&#34;https://yeri.be&#34;&gt;https&lt;/a&gt;.&lt;/p&gt;</description>
      <content:encoded><![CDATA[<p>Starting a SSL test on this domain as of today. Free cert by <a href="https://www.startssl.com/" target="_blank" rel="noopener noreferrer">StartSSL</a>.</p>
<p>SSL is clearly the new hype, and this time I won&rsquo;t be last to join it! ;)</p>
<p>Just going to check how much (if any) SSL slows down my site.</p>
<p>Every <a href="https://yeri.be">http</a> requests gets automatically rewritten to <a href="https://yeri.be">https</a>.</p>
]]></content:encoded>
      <category>misc</category><category>networking</category><category>www</category>
      <category>tuinslak</category><category>blog</category><category>https</category><category>ssl</category>
    </item>
    
    <item>
      <title>Linux gateway/router &#43; unable to access certain (HTTPS) sites</title>
      <link>https://yeri.be/linux-gatewayrouter-unable-to-access-certain-https-sites/</link>
      <pubDate>Sat, 27 Feb 2010 13:56:47 +0100</pubDate>
      <author>Yeri Tiete</author>
      <guid isPermaLink="true">https://yeri.be/linux-gatewayrouter-unable-to-access-certain-https-sites/</guid>
      <description>&lt;p&gt;I&amp;rsquo;ve had an issue for a while, being unable to access certain websites such as &lt;a href=&#34;https://fon.com&#34; target=&#34;_blank&#34;&gt;&lt;a href=&#34;https://fon.com&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;https://fon.com&lt;/a&gt;&lt;/a&gt;, but also certain parts of the Apple, Fortis and Microsoft site, while other (https) websites worked fine.&lt;/p&gt;&#xA;&lt;p&gt;Running Wireshark I found that only about 5ish packets got transferred, and all other data to that website abruptly stopped.&lt;/p&gt;&#xA;&lt;p&gt;I&amp;rsquo;m using ADSL (&lt;a href=&#34;http://www.edpnet.be/&#34; target=&#34;_blank&#34;&gt;EDPnet&lt;/a&gt;), which has an MTU of 1492, however, I was able to access all websites from the router (using lynx, for example), but not from any other PC within the network.&lt;/p&gt;</description>
      <content:encoded><![CDATA[<p>I&rsquo;ve had an issue for a while, being unable to access certain websites such as <a href="https://fon.com" target="_blank"><a href="https://fon.com" target="_blank" rel="noopener noreferrer">https://fon.com</a></a>, but also certain parts of the Apple, Fortis and Microsoft site, while other (https) websites worked fine.</p>
<p>Running Wireshark I found that only about 5ish packets got transferred, and all other data to that website abruptly stopped.</p>
<p>I&rsquo;m using ADSL (<a href="http://www.edpnet.be/" target="_blank">EDPnet</a>), which has an MTU of 1492, however, I was able to access all websites from the router (using lynx, for example), but not from any other PC within the network.</p>
<pre># ifconfig<span style="color: #ff0000;"> ppp0</span>
ppp0      Link encap:Point-to-Point Protocol
inet addr:85.234.196.57  P-t-P:85.234.196.1  Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST  <span style="color: #ff0000;">MTU:1492</span> Metric:1
RX packets:38804442 errors:0 dropped:0 overruns:0 frame:0
TX packets:28930886 errors:0 dropped:5020 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:45941523311 (42.7 GiB)  TX bytes:2887926670 (2.6 GiB)</pre>
<p style="padding-left: 60px;"><span style="color: #000000;"> </span></p>
As it had worked before without any issues, I was more thinking about a kernel problem (or a module of it), however, stripping down unnecessary modules and updating my kernel a few times didn't resolve the issue. I even booted an old kernel I had still lying around from when I could access the websites. However, all these attempts were in vain.
<p>Thinking it might have been a firewall issue, I flushed all my iptables rules, and started over from scratch. However, this too didn&rsquo;t solve my issue.</p>
<p>When I VPN&rsquo;ed or used my Macbook Pro directly as PPPoE device (by-passing the Gentoo router) I was able to access all the websites as well.</p>
<p>After being close to giving up, I found the following iptables rule:</p>
<pre>iptables -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu -t mangle</pre>
<p>And try again.</p>
<p>This did solve my issue. :)</p>
<p>This is because the default 100mbit MTU is 1500, instead of 1492 for PPPoE.</p>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow: hidden;">http://www.edpnet.be/</div>
]]></content:encoded>
      <category>errors</category><category>linux</category><category>networking</category>
      <category>linux</category><category>https</category><category>mtu</category><category>router</category>
    </item>
    
  </channel>
</rss>
