<?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>Kolios &#187; Web</title>
	<atom:link href="http://www.kolios.dk/category/tech/web/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.kolios.dk</link>
	<description></description>
	<lastBuildDate>Tue, 31 Aug 2010 11:38:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Speeding up your HTTPS server</title>
		<link>http://www.kolios.dk/2010/08/31/speeding-up-your-https-server/</link>
		<comments>http://www.kolios.dk/2010/08/31/speeding-up-your-https-server/#comments</comments>
		<pubDate>Tue, 31 Aug 2010 08:41:29 +0000</pubDate>
		<dc:creator>sebastien</dc:creator>
				<category><![CDATA[Research]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://secret.kolios.dk/?p=865</guid>
		<description><![CDATA[<img src="http://www.kolios.dk/icons/research-48x48.png" width="48" height="48" alt="" title="Research" /><img src="http://www.kolios.dk/icons/internet-48x48.png" width="48" height="48" alt="" title="Web" /><img src="http://www.kolios.dk/icons/linux-48x48.png" width="48" height="48" alt="" title="linux" /><br/>My everyday job is to find solutions to optimize systems that are working but that could also be better / faster / cheaper. Today, we&#8217;ll look on how to optimize your SSL / HTTPS layer for your webserver. The problem : The problem is that we want our webserver to provide a secure channel to [...]]]></description>
			<content:encoded><![CDATA[<img src="http://www.kolios.dk/icons/research-48x48.png" width="48" height="48" alt="" title="Research" /><img src="http://www.kolios.dk/icons/internet-48x48.png" width="48" height="48" alt="" title="Web" /><img src="http://www.kolios.dk/icons/linux-48x48.png" width="48" height="48" alt="" title="linux" /><br/><p>My everyday job is to find solutions to optimize systems that are working but that could also be better / faster / cheaper. Today, we&#8217;ll look on how to optimize your SSL / HTTPS layer for your webserver.</p>
<p><a href="http://www.kolios.dk/upload/2010/08/lock.png"><img class="alignleft size-full wp-image-907" title="lock" src="http://www.kolios.dk/upload/2010/08/lock.png" alt="" width="128" height="128" /></a></p>
<h3>The problem :</h3>
<p>The problem is that we want our webserver to provide a secure channel to our clients and to be as fast as possible to deliver all of our content. But the SSL layer usually adds up a large overhead to any http request, simply because data needs to be encrypted or decrypted (depending if we send or receive data ).</p>
<p>In a world where we CPU performances were increasing all the time, we could simply invest on a new, better performing, server hardware. It would be a bit pricy but would do the trick for a while. Unfortunately, that would really help you to scale much. You could also invest on a dedicated SSL hardware appliance but since that would cost you an arm and we need that arm to type on the keyboard, I digress, we would prefer something a bit smarter.</p>
<h3>So, what&#8217;s the solution ?</h3>
<p>The solution is simply to understand what is SSL. SSL is a suit of ciphers. All ciphers are mathematic formulas in a package that helps you to use them. But some ciphers are less ressource-consuming than others, some are dedicated to streams and others are not.</p>
<p>When you configure your webserver, you generally enter the following line:</p>
<pre>SSLCipherSuite HIGH:+MEDIUM:+LOW</pre>
<p>This tells you webserver  that it supports:</p>
<ul>
<li>ALL HIGH security ciphers,</li>
<li>ALL Medium,</li>
<li>ALL Low</li>
</ul>
<p>You web-browser will then pick on in the list (generally the most secure) and start to use it. Unfortunately, this means that you will end up using AES256 which is VERY resource consuming.</p>
<h3>How can I tell my webserver to use which cipher ?</h3>
<div class="box right">In <a title="Cryptography" href="/wiki/Cryptography">cryptography</a>, <strong>RC4</strong> is the most widely-used software <a title="Stream cipher" href="/wiki/Stream_cipher">stream cipher</a> and is used in popular protocols such as <a title="Secure Sockets Layer" href="/wiki/Secure_Sockets_Layer">Secure Sockets Layer</a> (SSL)</div>
<p>Well, for Apache, you just have to enter the following line :</p>
<pre>SSLCipherSuite RC4+RSA:HIGH:+MEDIUM:+LOW</pre>
<p>This will force your webserver to present <strong>at first</strong> the RC4 protocol and not our AES256 friend. In case of a browser who wouldn&#8217;t understand RC4, you can always fallback to AES256 and back all the medium and low ciphers.</p>
<p>In case, you would have doubt about the security provided by RC4 ( after all, the protocol has been used in WEP ), you should be convinced that a proper implementation of RC4 is very secure even with a 128bits long key.</p>
<h3>3 &#8230; 2 &#8230; 1 &#8230; GO !</h3>
<p>Comparing AES256 and RC4 (using a 128 bit key) wouldn&#8217;t be fair. Let&#8217;s compare what is comparable : AES128 and RC4( using a 128bit key).</p>
<pre>SSLCipherSuite AES128+RSA:HIGH:+MEDIUM:+LOW</pre>
<p>and</p>
<pre>SSLCipherSuite RC4+RSA:HIGH:+MEDIUM:+LOW</pre>
<p><img class="alignnone size-full wp-image-921" title="performances-aes-rc4" src="http://www.kolios.dk/upload/2010/08/performances-aes-rc4.png" alt="Performances between AES and RC4 (winner : RC4)" width="480" height="360" /></p>
<h3>Conclusion</h3>
<p>You can see, that you have a nice performance boost for the price of 0.00$/€. Isn&#8217;t life great ? <img src='http://www.kolios.dk/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.kolios.dk/2010/08/31/speeding-up-your-https-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>the so confusing line-height</title>
		<link>http://www.kolios.dk/2008/11/23/the-so-confusing-line-height-2/</link>
		<comments>http://www.kolios.dk/2008/11/23/the-so-confusing-line-height-2/#comments</comments>
		<pubDate>Sat, 22 Nov 2008 22:32:26 +0000</pubDate>
		<dc:creator>sebastien</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[css line-height]]></category>

		<guid isPermaLink="false">http://www.kickban.net/?p=19</guid>
		<description><![CDATA[<img src="http://www.kolios.dk/icons/internet-48x48.png" width="48" height="48" alt="" title="Web" /><br/>Eric A. Meyer explain the line-height CSS property. And it does it well. Feel free to check the w3c documentation for further (usefull) information.]]></description>
			<content:encoded><![CDATA[<img src="http://www.kolios.dk/icons/internet-48x48.png" width="48" height="48" alt="" title="Web" /><br/><p>Eric A. Meyer explain the line-height CSS property. <a title="line-height explanations" href="http://archivist.incutio.com/viewlist/css-discuss/7678" target="_blank">And it does it well</a>. Feel free to check the <a title="Visual formatting model" href="http://www.w3.org/TR/CSS2/visudet.html#propdef-line-height" target="_blank">w3c documentation</a> for further (usefull) information.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kolios.dk/2008/11/23/the-so-confusing-line-height-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
