<?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>Cloudweavers &#187; sysadmin</title>
	<atom:link href="http://www.cloudweavers.org/tag/sysadmin/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cloudweavers.org</link>
	<description>Cutting-edge technology consultant</description>
	<lastBuildDate>Tue, 31 Jan 2012 13:56:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>There is such a thing as too much cache</title>
		<link>http://www.cloudweavers.org/2011/07/there-is-such-a-thing-as-too-much-cache/</link>
		<comments>http://www.cloudweavers.org/2011/07/there-is-such-a-thing-as-too-much-cache/#comments</comments>
		<pubDate>Fri, 15 Jul 2011 19:41:36 +0000</pubDate>
		<dc:creator>pascal.charest</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[buffer_pool]]></category>
		<category><![CDATA[bugs]]></category>
		<category><![CDATA[databases]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[technical]]></category>

		<guid isPermaLink="false">http://www.cloudweavers.org/?p=1571</guid>
		<description><![CDATA[For the xth time, I&#8217;ve hit the MySQL bug #51325 - It state that with relatively big (>5 gigs) innodb buffer_pool (my.cnf::innodb_buffer_pool_size), the LRU invalidation on &#8216;DROP TABLE&#8217; (or &#8216;TRUNCATE TABLE&#8217;) will lock the full table (even if DROP or TRUNCATE is on a partition). Bug is only present when using the &#8216;innodb_file_per_table&#8216;, which is [...]]]></description>
			<content:encoded><![CDATA[<p>For the xth time, I&#8217;ve hit the MySQL bug #<a href="http://bugs.mysql.com/bug.php?id=51325">51325 </a>- It state that with relatively big (>5 gigs) innodb buffer_pool (<em>my.cnf::innodb_buffer_pool_size</em>), the LRU invalidation on &#8216;DROP TABLE&#8217; (or &#8216;TRUNCATE TABLE&#8217;) will lock the full table (even if DROP or TRUNCATE is on a partition). Bug is only present when using the &#8216;<em>innodb_file_per_table</em>&#8216;, which is kind of sad because I love that configuration setting. </p>
<p>Solutions include disabling the innodb_file_per_table setting &#038; reducing the buffer_pool size&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cloudweavers.org/2011/07/there-is-such-a-thing-as-too-much-cache/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Geo-diversity</title>
		<link>http://www.cloudweavers.org/2011/06/geo-diversity/</link>
		<comments>http://www.cloudweavers.org/2011/06/geo-diversity/#comments</comments>
		<pubDate>Wed, 01 Jun 2011 12:02:12 +0000</pubDate>
		<dc:creator>pascal.charest</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[consultation]]></category>
		<category><![CDATA[geodns]]></category>
		<category><![CDATA[geoip]]></category>
		<category><![CDATA[ipv4]]></category>
		<category><![CDATA[ipv6]]></category>
		<category><![CDATA[labsphoenix]]></category>
		<category><![CDATA[mikrotik]]></category>
		<category><![CDATA[rb1200]]></category>
		<category><![CDATA[routerboard]]></category>
		<category><![CDATA[silo]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[technical]]></category>
		<category><![CDATA[theatre.io]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://www.cloudweavers.org/?p=1553</guid>
		<description><![CDATA[Along with development for Theatre.IO (server management system) (dev. version available for Les Laboratoires Phoenix enterprise clients), I&#8217;ve had to look into geo-diversity for the datacenter where the company got &#8216;silo&#8217;/'reference stack&#8217; (a group of servers &#038; devices which are the same, standardized, everywhere). After a couple of very funny &#8211; they must have been [...]]]></description>
			<content:encoded><![CDATA[<p>Along with development for Theatre.IO (server management system) (dev. version available for <a href="http://www.labsphoenix.com/">Les Laboratoires Phoenix</a> enterprise clients), I&#8217;ve had to look into geo-diversity for the datacenter where the company got &#8216;silo&#8217;/'reference stack&#8217; (a group of servers &#038; devices which are the same, standardized, everywhere).<br />
<br />
After a couple of very funny &#8211; they must have been a joke) &#8211; quotes from well known providers, look like we&#8217;ll be doing a dual deployment (Seattle &#038; Chicago). That should cover north-America quite well. The phase 3, our Europe site, being on hold for another 5 months. This is a major investment for Les LabsPhoenix as our reference stack cost are in the 5 digits realm, but with geo-diversity and our own IPv4 and IPv6 ranges, there is much that can be accomplished.<br />
<br />
Stay tuned as I&#8217;ll soon be presenting that reference stack (the free software which compose it, and the <a href="http://www.vmware.com/">not-so-free-ones</a>). There is still some things that need to be figured out (constant evolution, redesign), such as if the <a href="http://routerboard.com/RB1200">Mikrotik RB1200</a> will be powerful enough to hold the main traffic. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.cloudweavers.org/2011/06/geo-diversity/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VMWARE vCenter operations</title>
		<link>http://www.cloudweavers.org/2011/05/vcenter-operation/</link>
		<comments>http://www.cloudweavers.org/2011/05/vcenter-operation/#comments</comments>
		<pubDate>Mon, 30 May 2011 17:11:57 +0000</pubDate>
		<dc:creator>pascal.charest</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[consulting]]></category>
		<category><![CDATA[labsphoenix]]></category>
		<category><![CDATA[monitoring]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[vcenter]]></category>
		<category><![CDATA[vmware]]></category>
		<category><![CDATA[vops]]></category>

		<guid isPermaLink="false">http://www.cloudweavers.org/?p=1543</guid>
		<description><![CDATA[VMWARE recently quietly released a product called &#8220;vCenter Operations&#8220;. The product helps system administrator get a better view of the general (and specific) health of their infrastructure. I&#8217;d suggest anyone with a vCenter/vSphere setup to try it out. The results are pretty amazing: the graphs and the analytic engine helped me quite a few time [...]]]></description>
			<content:encoded><![CDATA[<p>VMWARE recently <a href="http://blogs.vmware.com/console/2011/03/vcenter-operations.html">quietly released</a> a product called &#8220;<a href="http://www.vmware.com/products/vcenter-operations/overview.html">vCenter Operations</a>&#8220;. The product helps system administrator get a better view of the general (and specific) health of their infrastructure.<br />
<br />
I&#8217;d suggest anyone with a vCenter/vSphere setup to try it out. The results are pretty amazing: the graphs and the analytic engine helped me quite a few time to diagnose issues clients have been reporting. Here is a quick screenshot where you can see the default view of one of my Labs environment, configured for testing purpose &#8211; a cluster of 3 ESX hosts and 12 VMs:<br />
<br />
<a href="http://www.cloudweavers.org/wp-content/uploads/2011/05/vcenter_ops_summary.png"><img src="http://www.cloudweavers.org/wp-content/uploads/2011/05/vcenter_ops_summary-300x109.png" alt="" title="vcenter_ops_summary" width="300" height="109" class="aligncenter size-medium wp-image-1546" /></a><i><center>Overview of your system health</center></i><br />
<br />
Ok, this might not be very interesting, but if you click on any items, a datacenter, cluster, esx hosts, vm&#8230; you get a screen similar to this one: <br /> <a href="http://www.cloudweavers.org/wp-content/uploads/2011/05/cluster_summary.png"><img src="http://www.cloudweavers.org/wp-content/uploads/2011/05/cluster_summary-300x124.png" alt="" title="cluster_summary" width="300" height="124" class="aligncenter size-medium wp-image-1545" /></a><i><center>Cluster metrics/data</center></i><br />
Way more interesting data &#038; metrics. You also have a quick analysis of resources in contention, of your current usage and growth/run-way space.<br />
<br />
As the software is available for larger environment (package &#8216;minimum size&#8217; is 50 licenses), this should produce some pretty interesting metrics/data once deployed.  I&#8217;ll try to do that soon ;-).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cloudweavers.org/2011/05/vcenter-operation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Still alive</title>
		<link>http://www.cloudweavers.org/2010/11/still-alive/</link>
		<comments>http://www.cloudweavers.org/2010/11/still-alive/#comments</comments>
		<pubDate>Sun, 07 Nov 2010 16:57:24 +0000</pubDate>
		<dc:creator>pascal.charest</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[consultant]]></category>
		<category><![CDATA[personel]]></category>
		<category><![CDATA[procrastination]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://cloudweaver.org/?p=1479</guid>
		<description><![CDATA[Still alive &#8211; I&#8217;m now VSP (vmware sale specialist) certified, with the VTSP (vmware technical sale specialist) almost completed. Looking into completing the VCP (vmware certified professional) sometime in the next 3 months. In the mean time, I&#8217;ve went overboard with shiny new stuff for myself (crazy spending spree) (been so long since I had [...]]]></description>
			<content:encoded><![CDATA[<p>Still alive &#8211;<br />
<br />
I&#8217;m now VSP (vmware sale specialist) certified, with the VTSP (vmware technical sale specialist) almost completed. Looking into completing the VCP (vmware certified professional) sometime in the next 3 months. <br />
In the mean time, I&#8217;ve went overboard with shiny new stuff for myself (crazy spending spree) (been so long since I had a good read/game!):<br />
<br />
<strong>Started with book:</strong><br />
</p>
<li>In Your Dreams, Tom Holt</li>
<li>Bad Lands, Tony Wheeler&#8217;s</li>
<li>Je sais que vou mentez, Paul Ekman</li>
<li>and 3 more vmware/vsphere reference book. </li>
<p>
<strong>Then with games:</strong><br />
</p>
<li>Fallout 3: New Vegas, xbox 360</li>
<li>Fable 3, xbox 360</li>
<li>Alpha Protocol, PC</li>
<li>Black and White 2, PC [can't say NO to classic!]</li>
<p>
<strong>Then with cloths:</strong></p>
<li>There was a cool sale of Arc&#8217;terix / Merrell items [so i've bought about 5-7 items...]</li>
<p>
And&#8230; There&#8217;s more coming! With Christmas I&#8217;ve got a cart of interesting items LabsPhoenix is going to buy for the &#8216;home&#8217; lab. At the very least, a new mac-mini, a Razer mouse, a eSATA external enclosure (with the HD), 2 SSD drives, 2 Infiniband network card (with associated cables), OEM board (ie: Soekris, Wrap, &#8230;) with gigabytes connections and an ubiquity setup (3 antennas + router board). If I&#8217;m lucky, I might even buy this 24U enclosure I&#8217;ve been watching for a few months. There should also be a couple spending session for the LabsPhoenix own project (3x New Servers, vSphere licences, &#8230;) but thats another thing altogether. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.cloudweavers.org/2010/11/still-alive/feed/</wfw:commentRss>
		<slash:comments>105</slash:comments>
		</item>
		<item>
		<title>blog.pacharest.com-&gt;cloudweaver.org</title>
		<link>http://www.cloudweavers.org/2010/06/blog-pacharest-com-cloudweaver-org/</link>
		<comments>http://www.cloudweavers.org/2010/06/blog-pacharest-com-cloudweaver-org/#comments</comments>
		<pubDate>Fri, 25 Jun 2010 05:28:41 +0000</pubDate>
		<dc:creator>pascal.charest</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[cloud computing]]></category>
		<category><![CDATA[cloudweaver]]></category>
		<category><![CDATA[Personnel]]></category>
		<category><![CDATA[photography]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[virtualization]]></category>

		<guid isPermaLink="false">http://cloudweaver.org/?p=1403</guid>
		<description><![CDATA[Re-launch of blog.pacharest.com under a new name (cloudweaver.org) &#038; new url. Lots of reasons. Main one? I wanted it to be so &#8211; but also : &#8211; because I have contractual engagement that the change of domain name will help to clear up. &#8211; because I want to focus on network infrastructure (mainly dynamic and [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_1405" class="wp-caption aligncenter" style="width: 438px"><img src="http://cloudweaver.org/wp-content/uploads/2010/06/4653054955_734d875c13_z.jpg" alt="Business open as usual" title="Business_open_as_usual" width="428" height="640" class="size-full wp-image-1405" /><p class="wp-caption-text"><em>photo: Business open as usual, by Pascal Charest</em></p></div>
<p>Re-launch of <strong>blog.pacharest.com</strong> under a new name (<strong>cloudweaver.org</strong>) &#038; new url. Lots of reasons. Main one? I wanted it to be so &#8211; but also :<br />
 &#8211; because I have contractual engagement that the change of domain name will help to clear up.<br />
 &#8211; because I want to focus on network infrastructure (mainly dynamic and virtualized ones) from now on.<br />
 &#8211; because I wanted to integrate twitter somewhere on my blog (now directly in my feed/post page). </p>
]]></content:encoded>
			<wfw:commentRss>http://www.cloudweavers.org/2010/06/blog-pacharest-com-cloudweaver-org/feed/</wfw:commentRss>
		<slash:comments>108</slash:comments>
		</item>
		<item>
		<title>backup or restore?</title>
		<link>http://www.cloudweavers.org/2010/01/backup-or-restore/</link>
		<comments>http://www.cloudweavers.org/2010/01/backup-or-restore/#comments</comments>
		<pubDate>Mon, 18 Jan 2010 00:40:00 +0000</pubDate>
		<dc:creator>pascal.charest</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[consultant]]></category>
		<category><![CDATA[jobs]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://blog.pacharest.com/?p=1386</guid>
		<description><![CDATA[Been away for 2 month (from this blog). This isn&#8217;t from the lack of thing to speak about &#8211; my life have been really busy. In fact, never been so interesting and full &#8211; I&#8217;ve got at least 10 posts drafted. From photography to sysadmin work, to writing. The problem : time was lacking &#8211; [...]]]></description>
			<content:encoded><![CDATA[<p>Been away for 2 month (from this blog). This isn&#8217;t from the lack of thing to speak about &#8211; my life have been really busy. In fact, never been so interesting and full &#8211; I&#8217;ve got at least 10 posts drafted. From photography to sysadmin work, to writing. The problem : time was lacking &#8211; to be honest, it still is. </p>
<p>But, beside everything that might be happening with my business (work log never been that full, started to get employees), I decided to take 2 minutes for a big fact of life (for sysadmin/management). Watch it, watch it: <strong>Nobody (especially YOU) care about backup. You care about successful restore</strong>. There! Now, I don&#8217;t want to hear about how great your backup are, if you don&#8217;t do regular restore (even as test), they&#8217;re not worth anything. </p>
<p>Reread those last sentences. Important point in a sysadmin life.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cloudweavers.org/2010/01/backup-or-restore/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>PHP MultiPart Form-Data Denial of Service proof of concept</title>
		<link>http://www.cloudweavers.org/2009/11/php-multipart-form-data-denial-of-service-proof-of-concept/</link>
		<comments>http://www.cloudweavers.org/2009/11/php-multipart-form-data-denial-of-service-proof-of-concept/#comments</comments>
		<pubDate>Fri, 27 Nov 2009 16:12:29 +0000</pubDate>
		<dc:creator>pascal.charest</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[consultant]]></category>
		<category><![CDATA[labsphoenix]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://blog.pacharest.com/?p=1376</guid>
		<description><![CDATA[PHP version 5.3.1 was just released. This release contains a patch for a denial of service condition we&#8217;ve reported on 27 October 2009. The problem is related with PHP&#8217;s handling of RFC 1867 (Form-based File upload in HTML). Source: http://www.securityfocus.com/archive/1/507982 Exploit already on PacketStorm&#8230;]]></description>
			<content:encoded><![CDATA[<blockquote><p>PHP version 5.3.1 was just released. This release contains a patch for a denial of service condition we&#8217;ve reported on 27 October 2009. The problem is related with PHP&#8217;s handling of RFC 1867 (Form-based File upload in HTML).</p></blockquote>
<p><strong>Source</strong>: <a href="http://www.securityfocus.com/archive/1/507982">http://www.securityfocus.com/archive/1/507982</a></p>
<p> Exploit already on <a href="http://packetstormsecurity.org/0911-exploits/php_mpfd_dos.py.txt">PacketStorm</a>&#8230; </p>
]]></content:encoded>
			<wfw:commentRss>http://www.cloudweavers.org/2009/11/php-multipart-form-data-denial-of-service-proof-of-concept/feed/</wfw:commentRss>
		<slash:comments>643</slash:comments>
		</item>
		<item>
		<title>Visit @ Hypertec</title>
		<link>http://www.cloudweavers.org/2009/09/visit-hypertec/</link>
		<comments>http://www.cloudweavers.org/2009/09/visit-hypertec/#comments</comments>
		<pubDate>Tue, 22 Sep 2009 13:08:00 +0000</pubDate>
		<dc:creator>pascal.charest</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[consultant]]></category>
		<category><![CDATA[datacenter]]></category>
		<category><![CDATA[hypertec]]></category>
		<category><![CDATA[Montreal]]></category>
		<category><![CDATA[Ottawa]]></category>
		<category><![CDATA[Quebec]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[toronto]]></category>

		<guid isPermaLink="false">http://blog.pacharest.com/?p=1325</guid>
		<description><![CDATA[Last week, I had the opportunity to visit Hypertec&#8216;s Montreal installation. I&#8217;ve been a free software consultant for a good while, worked in quite a few public and private data centers, and visited a lot more &#8211; but I had never heard about Hypertec before. My visit was motivated by this client who asked me [...]]]></description>
			<content:encoded><![CDATA[<p>Last week, I had the opportunity to visit <a href="http://www.hypertec-as.com">Hypertec</a>&#8216;s Montreal installation. I&#8217;ve been a free software consultant for a good while, worked in quite a few public and private data centers, and visited a lot more &#8211; but I had never heard about Hypertec before. My visit was motivated by this client who asked me to follow the &#8216;tour&#8217; and to advice him on their data center, installation and setup.</p>
<p><strong>About Hypertec</strong></p>
<p>As a rule, never visit somewhere without background info : Hypertec-BCDR (Business Continuity and Disaster Recovery) (they also use the name Hypertec-AS for the french version) is the hosting, datacenter &#038; high availability services division of the Hypertec Group. The group look like an umbrella corporation which also hold the Hypertec Systems division (kind of a computer retail shop). The exact financial details are private (the group is private / NOT available in the stock market), but <strong>from what I&#8217;ve heard, the whole group have about 120+ employee and a sales figure of about 20M$/years</strong>. Those are very rough numbers, I could be totally off the track, and include all their activities (don&#8217;t know for the data center aspect only). There seems to be office in a couple locations (Montreal, Quebec, Ottawa, Toronto&#8230; ).</p>
<p>So, its quite strange that I haven&#8217;t heard about them&#8230; especially since they are located inside the old Nortel building in Saint-Laurent. I&#8217;ve also contact friends about them, and they were virtually unknown!</p>
<p><strong>The visit</strong></p>
<p>&#8230; and this is why I&#8217;m doing a blog post on them: because Jonathan Ahdoot, sales manager, walked me through their data center and I must say, he was able to impress me. The main surface is reserved for tier-4 dedicated cages to which you can add a small quantity of tier-2 rack (about 60) setup. As a reminder, in datacenter higher <a href="http://www.webopedia.com/TERM/D/data_center_tiers.html">tier</a> speak of better quality (scale from 1 to 4 &#8211; as defined by the uptime institute)(different from Internet peering tier).</p>
<p>The visit make clear quite fast why I hadn&#8217;t heard about them : they fish for the big ones and government (which can be considered a big one) contracts. They have rooms for rent that act as <strong>office away from office</strong> for couples of days, they have a 10 posts technical room, a cafeteria (which can become 24h) and &#8230; behold: a lounge. Yes ! <strong>a true lounge with satellite TV and couches</strong>. How many time would I have given everything (my clients own ;-)) for a nice couch while waiting for a file copy between the SAN and the server I&#8217;m restoring @ 2h AM. They also make their <strong>conference room available to clients</strong> (which is another nice feature, especially for office-less consultant (me!)).</p>
<p>I&#8217;m far from being a data center specialist: I build infrastructure and I rack them somewhere &#8211; this is mainly what I do. So I cannot go into big details about all the nice features the data center seemed to have or in the small point why it might not be as great as I think. However, there is one thing that did impress me: There is 5 <a href="http://en.wikipedia.org/wiki/Flywheel_energy_storage">flywheel energy storage system</a> in the main engineering room, all being provided by electricity (Hydro) and hooked on a generator. This was also the first time I&#8217;ve heard about flywheel energy storage (FES), but I do find the idea quite neat. There must be a lot of energy lost through friction (even if they are in vaccum), but it does look like a system way more secure than batteries (UPS) for data center. Secure as in : I&#8217;ve already been screwed twice by &#8220;this was a planned maintenance and the ups didn&#8217;t turned on, or the tech turned off the wrong line&#8221;.</p>
<p>But the sky is not totally blue: Since they do seem to target tier-4 clients, they lack a bit of the standard facility we require in a tier-2: renting 48U racks rarely leave you the space for screen, mouse, keyboard, screwdriver&#8230; you expect them to be readily available on site. From what I&#8217;ve saw, they were either lacking or in bad shape (tier-2, again&#8230; the tier-4 look awesome). Anyway, if you got a cage (with multiple rack) and you don&#8217;t have space for tools, you have others problems.</p>
<p>Anyway, a couples contracts will require me to be in data center for the next few months (migrating 35U, deploying 20U, re-designing 24U&#8230;). So I guess I will be posting more reviews as time goes. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.cloudweavers.org/2009/09/visit-hypertec/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
		<item>
		<title>Swekey &#8211; An authentication gizmo for Windows, Mac OSX, GNU/Linux</title>
		<link>http://www.cloudweavers.org/2009/09/swekey-an-authentication-gizmo-for-windows-mac-osx-gnulinux/</link>
		<comments>http://www.cloudweavers.org/2009/09/swekey-an-authentication-gizmo-for-windows-mac-osx-gnulinux/#comments</comments>
		<pubDate>Mon, 21 Sep 2009 18:20:05 +0000</pubDate>
		<dc:creator>pascal.charest</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[consultant]]></category>
		<category><![CDATA[device]]></category>
		<category><![CDATA[magento]]></category>
		<category><![CDATA[mediawiki]]></category>
		<category><![CDATA[openssh]]></category>
		<category><![CDATA[putty]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[sugarcrm]]></category>
		<category><![CDATA[swekey]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[zabbix]]></category>

		<guid isPermaLink="false">http://blog.pacharest.com/?p=1307</guid>
		<description><![CDATA[Through my connection with PraizedMedia (a client of Les Laboratoires Phoenix- managed data infrastructure), I received a &#8216;Swekey&#8216; device. It look like an normal USB key, but their website seem to push toward something much more useful (and potentially dangerous). Hence, I decided to try it. It is advertised as : The swekey is a [...]]]></description>
			<content:encoded><![CDATA[<p>Through my connection with <a href="http://www.praizedmedia.com">PraizedMedia</a> (a client of Les Laboratoires Phoenix- managed data infrastructure), I received a &#8216;<a href="http://www.swekey.com/">Swekey</a>&#8216; device. It look like an normal USB key, but their website seem to push toward something much more useful (and potentially dangerous). Hence, I decided to try it.  It is advertised as  : </p>
<blockquote><p>The swekey is a small USB key that secures access to any swekey enabled web sites.<br />
Swekey secured web sites won&#8217;t let you login without your swekey plugged to your computer.<br />
The swekey can also be used to secure corporate&#8217;s intranet, unix servers access, and database administration.<br />
[...]</p></blockquote>
<p><div id="attachment_1306" class="wp-caption aligncenter" style="width: 470px"><img src="http://blog.pacharest.com/wp-content/uploads/2009/09/DSC09811-1024x767.jpg" alt="Swekey device" title="swekey" width="460" height="345" class="size-large wp-image-1306" /><p class="wp-caption-text">Swekey device, Photo by Pascal Charest</p></div><br />
The website mention integration with WordPress, SSH, putty, MediaWiki, Zabbix, Magento, SugarCRM&#8230; and much more&#8230; In fact they even speak about integration with any OpenID enabled websites &#8211; Might be very cool and interesting. Lets see how it work.<br />
<br />
I&#8217;m an hacker at heart, so I don&#8217;t normally read much of a device documentation, but in this case &#8211; I was lost. How is the device working? Is it a key with auto-run partition + dedicated browser, is it the equivalent of an RSA key, is there any software to install ? To answer my questions, what would be better that some tests in a protected GNU/Linux workstation (which is what normal people do : plug it in and see what happen):<br />
<br />
The device auto-detection work and recognize the device as an USB CDROM drive (from dmesg): </p>
<blockquote><p>usb 2-8: new full speed USB device using ohci_hcd and address 3<br />
usb 2-8: configuration #1 chosen from 1 choice<br />
Initializing USB Mass Storage driver&#8230;<br />
scsi10 : SCSI emulation for USB Mass Storage devices<br />
usbcore: registered new interface driver usb-storage<br />
USB Mass Storage support registered.<br />
usb-storage: device found at 3<br />
usb-storage: waiting for device to settle before scanning<br />
usb-storage: device scan complete<br />
scsi 10:0:0:0: CD-ROM            Musbe    Swekey           1.03 PQ: 0 ANSI: 0<br />
sr1: scsi-1 drive<br />
sr 10:0:0:0: Attached scsi CD-ROM sr1<br />
sr 10:0:0:0: Attached scsi generic sg3 type 5<br />
cdrom: This disc doesn&#8217;t have any tracks I recognize!<br />
usb 2-8: reset full speed USB device using ohci_hcd and address 3
</p></blockquote>
<p>Then : Nothing. No auto-mount, no dialog box&#8230; Kinda of left there. The partition cannot be mounted&#8230;<br />
<br />
Going to their website, I learn the official working steps: &#8220;BUY&#8221; (pseudo-done), &#8220;PLUG&#8221; (done), &#8220;REGISTER&#8221; (ugh?) and I&#8217;m &#8220;READY&#8221;. The REGISTER (the step I&#8217;m at, right ?) section give me an error of &#8216;missing plug-in&#8217; from Mozilla Firefox 3.0.14. Ok, browsing &#8220;Support&#8221;/&#8221;Download&#8221; inform me of missing dependencies (a software must be installed) to access the device. I download the <a href="http://http://www.swekey.com/index.php?sel=support&#038;option=downloads">x64 GNU/Linux version</a> and &#8230; hum ? </p>
<blockquote><p><strong>pcharest@hydra:~/Desktop/swekey$ cat README</strong><br />
Swekey client<br />
This package install:<br />
	- the swekey-client command line tool<br />
	- the swekey HAL module<br />
	- the swekey Mozilla plugin</p>
<p>The swekey-client command line tool gives you the list of plugged swekeys<br />
and let you calculate OTPs with them.</p>
<p>type:<br />
	swekey-client &#8211;help<br />
to get the available options</p>
<p>To install swekey-client just type:<br />
	sudo ./install<br />
or<br />
	./install<br />
if you are root</p>
<p>To uninstall swekey-client just type:<br />
	sudo ./uninstall<br />
or<br />
	./uninstall<br />
if you are root
</p></blockquote>
<p>I have no idea what is an <em>OTP</em> but let say I try installing the client:</p>
<blockquote><p>sudo ./install </p></blockquote>
<p>and validate the device is detected:</p>
<blockquote><p>./swekey-client &#8211;list</p></blockquote>
<p>It work and give me a device ID. Good, at least the device is known by the system. I still don&#8217;t know how it should work. I guess I should be installing the Mozilla plug-in the readme mentionned, but&#8230; I never found it. I guess the client install worked (and it was included) because after a Mozilla reload, the Manage section of their web page give (or might also be one of the random file I clicked on)  :</p>
<blockquote><p>Registration is not mandatory but it will allow you to disable a lost or stolen Swekey. </p></blockquote>
<p>So&#8230; I don&#8217;t really need to register the key&#8230; lets try it then (which I&#8217;ve been trying to do for quite a long time at this point).<br />
<br />
I own quite a few Zabbix servers, so, from the list of supported service : </p>
<blockquote><p>ZABBIX is an enterprise-class open source distributed monitoring solution.<br />
A swekey integration exists, it is still a patch but you can ask for it if you need to test it.
</p></blockquote>
<p>Ok, still want to test the device &#8211; So i try with MediaWiki:<br />
<br />
And it started to work well : creation of an account (user+password), then I get asked if I want to bind this account to my Swekey. This won&#8217;t allow me to auto-login but will require the key to be present in any computer (with the installed software) to access the account.<br />
<br />
<strong>Summary</strong>: As a summary, I&#8217;d say that while it give a boosted security (require the Swekey to log) &#8211; it does seem to go a bit over the limit of the permanent fight between conviviality and security. Installing the software is complicated and might be very problematic on system without administrator access&#8230; Personally, having tried both, I would prefer <a href="https://www.paypal.com/cgi-bin/webscr?cmd=xpt/Marketing_CommandDriven/securitycenter/PayPalSecurityKey-outside">Paypal key ID</a> to be integrated to more website. There is no need to &#8216;install&#8217; the software on any computer and it give you the same added security the Swekey does. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.cloudweavers.org/2009/09/swekey-an-authentication-gizmo-for-windows-mac-osx-gnulinux/feed/</wfw:commentRss>
		<slash:comments>540</slash:comments>
		</item>
		<item>
		<title>a bit technical ; nginx, passenger, 4gb seg fixup</title>
		<link>http://www.cloudweavers.org/2009/08/a-bit-technical-nginx-passenger-4gb-seg-fixup/</link>
		<comments>http://www.cloudweavers.org/2009/08/a-bit-technical-nginx-passenger-4gb-seg-fixup/#comments</comments>
		<pubDate>Wed, 26 Aug 2009 15:26:38 +0000</pubDate>
		<dc:creator>pascal.charest</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[consultant]]></category>
		<category><![CDATA[freesoftware]]></category>
		<category><![CDATA[labsphoenix]]></category>
		<category><![CDATA[L{AN}M{PR}]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[phusion passenger]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[technical]]></category>

		<guid isPermaLink="false">http://blog.pacharest.com/?p=1250</guid>
		<description><![CDATA[Lets dwell into the technical world that had me captive for a couples hours, last week: The installation of NGINX &#038; Phusion Passenger should be very straight forward and no cause for a blog post. Except, and the fun start here, if you are compiling both from source, inside Amazon AWS, on a small EC2 [...]]]></description>
			<content:encoded><![CDATA[<p>Lets dwell into the technical world that had me captive for a couples hours, last week:<br />
<br />
<strong>The installation of <a href="http://nginx.net/">NGINX</a> &#038; <a href="http://www.modrails.com/install.html">Phusion Passenger</a></strong> should be very straight forward and no cause for a blog post. Except, and the fun start here, if you are compiling both from source, inside Amazon AWS, on a small EC2 instance (32 bits) and your dom0 is 64bits (no way of knowing, but most should) and Amazon gave you a slice of memory over the 4gb of normally addressable slot (small windows of opportunity, but still). How bad can it get ? Well, you will be flooded by the dreaded &#8220;<strong>4gb seg fixup</strong>&#8221; error message in your log files and your ruby process will drop to an almost standstill speed.<br />
<br />
Your god, Google, will advice you to do stuff (which you should have already tried):</p>
<blockquote><p>apt-get install libc6-xen</p></blockquote>
<blockquote><p>echo &#8216;hwcap 0 nosegneg&#8217; > /etc/ld.so.conf.d/libc6-xen.conf ; ldconfig</p></blockquote>
<blockquote><p>mv /lib/tls /lib/tls.disabled</p></blockquote>
<p>And this is where you will start to despair, because, of the 26 200 Google results for &#8220;<strong>4gb seg fixup</strong>&#8220;, 26 000 are either linking to a post asking the same question or answering with one of those two answers and 200 are for 4gb usb key. Neither of which will help the message to go away from your syslog and bring it back NGINX/Ruby to decent speed.<br />
<br />
So. At this point, where you are starting to think about wiping everything and starting back from scratch (which won&#8217;t help), try this little procedure. The principle is to remove the passenger gem from your system, reinstall it (which will only download the source), modify the makefile, recompile <a href="http://nginx.net/">NGINX</a> (which in turn automatically compile the <a href="http://www.modrails.com/install.html">Phusion Passenger</a> module) and take a beer while your system serve ruby pages without (systems) errors.<br />
</p>
<blockquote><p>
#> gem uninstall passenger<br />
#> gem install passenger
</p></blockquote>
<p>We have a valid passenger gem source code in /var/lib/gems/1.8/gems/passenger-2.2.4 -<em> version can vary and location is valid for Ubuntu/Debian, but could change on others distro. </em> We will be modifying the optimization flags given to the compiler. Since Phusion Passenger does not accept command line argument and variables declarations, we have no other choices than to modify the rake file pre-compilation.</p>
<blockquote><p>
#> sed &#8216;s/EXTRA_CXXFLAGS = &#8220;-Wall #{OPTIMIZATION_FLAGS}&#8221;/EXTRA_CXXFLAGS = &#8220;-Wall -mno-tls-direct-seg-refs #{OPTIMIZATION_FLAGS}&#8221;/g&#8217;  /tmp/rakefile </p>
<p>#> mv /tmp/rakefile /var/lib/gems/1.8/gems/passenger-2.2.4/Rakefile
</p></blockquote>
<p>This being done, we will start an NGINX compilation process which will, in turn, start passenger-2.2.4 compilation. Using the -mno-tls-direct-seg-refs will allows us to work arround the <strong>4gb seg fixup</strong> error. </p>
<blockquote><p>
#> CFLAGS=&#8221;-mno-tls-direct-seg-refs&#8221; CXXFLAGS=&#8221;-mno-tls-direct-seg-refs&#8221; ./configure &#8211;prefix=&#8217;/usr/local/nginx-0.7.61&#8242; &#8211;add-module=&#8217;/var/lib/gems/1.8/gems/passenger-2.2.4/ext/nginx&#8217; &#8211;with-http_ssl_module &#8211;with-http_stub_status_module
</p></blockquote>
<p><strong>There you go. </strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.cloudweavers.org/2009/08/a-bit-technical-nginx-passenger-4gb-seg-fixup/feed/</wfw:commentRss>
		<slash:comments>128</slash:comments>
		</item>
	</channel>
</rss>

