<?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>blog ntic de revolunet &#187; osx</title>
	<atom:link href="http://blog.revolunet.com/index.php/conseil.intranet/osx/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.revolunet.com</link>
	<description>Blog des Nouvelles Technologies de l'Information et de la Communication</description>
	<lastBuildDate>Tue, 22 Jun 2010 07:59:32 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Encrypted filesystem on OS X, Linux and Windows</title>
		<link>http://blog.revolunet.com/index.php/reseau/administration/encrypted-filesystem-on-os-x-linux-and-windows</link>
		<comments>http://blog.revolunet.com/index.php/reseau/administration/encrypted-filesystem-on-os-x-linux-and-windows#comments</comments>
		<pubDate>Sat, 02 Feb 2008 18:08:56 +0000</pubDate>
		<dc:creator>drax</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[admin]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[truecrypt]]></category>

		<guid isPermaLink="false">http://sweon.net/2008/02/encrypted-filesystem-on-os-x-linux-and-windows</guid>
		<description><![CDATA[


Finally we have a truly portable, open source, encrypted filesystem. I&#8217;ve tested a fair share of encrypted filesystem solutions. The most promising probably being encfs since it could be used with Fuse, but that only works on OS X and Linux at best.

TrueCrypt, probably the best solution available, was only working on Linux and Windows&#8230; [...]]]></description>
			<content:encoded><![CDATA[<p><a href='http://sweon.net/wp-content/uploads/2008/02/truecrypt_windows.png' title='truecrypt_windows.png'><img src='http://blog.revolunet.com/wp-content/uploads/2008/02/truecrypt_windows.png' alt='truecrypt_windows.png' /></a><br />
<a href='http://sweon.net/wp-content/uploads/2008/02/truecrypt_osx.png' title='truecrypt_osx.png'><img rel=”lightbox” src='http://blog.revolunet.com/wp-content/uploads/2008/02/truecrypt_osx.png' alt='truecrypt_osx.png' /></a><br />
<a href='http://sweon.net/wp-content/uploads/2008/02/truecrypt_linux.png' title='truecrypt_linux.png'><img src='http://blog.revolunet.com/wp-content/uploads/2008/02/truecrypt_linux.png' alt='truecrypt_linux.png' /></a><br />
Finally we have a truly portable, open source, encrypted filesystem. I&#8217;ve tested a fair share of encrypted filesystem solutions. The most promising probably being encfs since it could be used with Fuse, but that only works on OS X and Linux at best.</p>
<p>
TrueCrypt, probably the best solution available, was only working on Linux and Windows&#8230; up to now.<br />
<span id="more-319"></span><br />
Some dude got impatient for the OS X port, managed to make a deal with a developper to code it for 1500$, raised those 1500$ and BAM! Bob&#8217;s you&#8217;re uncle.</p>
<p>
The software is labelled alpha, described as beta, and used in production&#8230; w00t. Jokes aside, it&#8217;s been released for a few weeks now and no serious data-destroying bug stories have arose. Nevertheless, you might want to backup to another more trusted encrypted disk somewhere, every now and then.</p>
<p>
Bare in mind the TrueCrypt team annouce their 5.0 release for the 4th of Febuary 2008 (that&#8217;s in 2 days) and claim OS X support. Watch this space&#8230;</p>
<p>
Still interested? Download the software here:</p>
<ul>
<li><a href="http://www.osxcrypt.org/download/">TrueCrypt for OS X</a></li>
<li><a href="http://www.truecrypt.org/downloads.php">TrueCrypt for Linux and Windows</a></li>
</ul>
<p><span style="color:red">OS X notes:</span></p>
<ul>
<li>Your encrypted filesystem image should have a .img extension.</li>
<li>When mounting a hidden volume, you&#8217;ll be asked the outer volume password, then the hidden volume password.</li>
<li>Unmounting in finder <b>does not</b> dismount the image. It&#8217;s a known bug. Use ocutil -detach.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.revolunet.com/index.php/reseau/administration/encrypted-filesystem-on-os-x-linux-and-windows/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Keyboard shortcuts during OS X boot sequence</title>
		<link>http://blog.revolunet.com/index.php/reseau/administration/startup-key-combinations-for-intel-based-macs</link>
		<comments>http://blog.revolunet.com/index.php/reseau/administration/startup-key-combinations-for-intel-based-macs#comments</comments>
		<pubDate>Wed, 30 Jan 2008 11:46:59 +0000</pubDate>
		<dc:creator>drax</dc:creator>
				<category><![CDATA[admin]]></category>
		<category><![CDATA[osx]]></category>

		<guid isPermaLink="false">http://sweon.net/2008/01/startup-key-combinations-for-intel-based-macs</guid>
		<description><![CDATA[Here is a list of keyboard shortcuts or hotkeys available during the boot sequence of OS X on Intel based macs although some shortcuts also work on PPC.Shamelessly ripped off apple&#8217;s documentation article:Startup key combinations for Intel-based Macs.


Keystroke
Description


Press C during startup
Start up from a bootable CD or DVD, such as the Mac OS X Install [...]]]></description>
			<content:encoded><![CDATA[<p>Here is a list of keyboard shortcuts or hotkeys available during the boot sequence of OS X on Intel based macs although some shortcuts also work on PPC.<br/>Shamelessly ripped off apple&#8217;s documentation article:<br/><a href="http://docs.info.apple.com/article.html?artnum=303124">Startup key combinations for Intel-based Macs</a>.<br />
<table class="sweontbl"width="498" border="0" cellpadding="0" cellspacing="0">
<tr>
<th>Keystroke</th>
<th>Description</th>
</tr>
<tr id="odd">
<td>Press C during startup</td>
<td>Start up from a bootable CD or DVD, such as the Mac OS X Install disc that came with the computer. </td>
</tr>
<tr id="even">
<td>Press D during startup</td>
<td>Start up in Apple Hardware Test (AHT), if the Install DVD 1 is in the computer. </td>
</tr>
<tr id="odd">
<td>Press Option-Command-P-R until you hear two beeps. </td>
<td>Reset NVRAM </td>
</tr>
<tr id="even">
<td>Press Option during startup </td>
<td>Starts into Startup Manager, where you can select a Mac OS X volume to start from. <b>Note</b>: Press N to make the the first bootable Network volume appear as well. </td>
</tr>
<tr id="odd">
<td>Press Eject, F12, or hold the mouse (/trackpad) button </td>
<td>Ejects any removable media, such as an optical disc. </td>
</tr>
<tr id="even">
<td>Press N during startup</td>
<td>Attempt to start up from a compatible network server (NetBoot).</td>
</tr>
<tr id="odd">
<td>Press T during startup</td>
<td>Start up in FireWire Target Disk mode.</td>
</tr>
<tr id="even">
<td>Press Shift during startup</td>
<td>Start up in Safe Boot mode and temporarily disable login items. </td>
</tr>
<tr id="odd">
<td>Press Command-V during startup</td>
<td>Start up in Verbose mode.</td>
</tr>
<tr id="even">
<td>Press Command-S during startup</td>
<td>Start up in Single-User mode.</td>
</tr>
<tr id="odd">
<td>Press Option-N during startup </td>
<td>Start from a NetBoot server using the default boot image. </td>
</tr>
</table>
]]></content:encoded>
			<wfw:commentRss>http://blog.revolunet.com/index.php/reseau/administration/startup-key-combinations-for-intel-based-macs/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hosting multiple SSL vhosts on a single IP/Port/Certificate with Apache2</title>
		<link>http://blog.revolunet.com/index.php/reseau/administration/hosting-multiple-ssl-vhosts-on-a-single-ipportcertificate-with-apache2</link>
		<comments>http://blog.revolunet.com/index.php/reseau/administration/hosting-multiple-ssl-vhosts-on-a-single-ipportcertificate-with-apache2#comments</comments>
		<pubDate>Thu, 24 Jan 2008 13:07:54 +0000</pubDate>
		<dc:creator>drax</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[admin]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[ssl]]></category>
		<category><![CDATA[vhosts]]></category>

		<guid isPermaLink="false">http://sweon.net/2008/01/hosting-multiple-ssl-vhosts-on-a-single-ipportcertificate-with-apache2</guid>
		<description><![CDATA[But that&#8217;s impossible!!
HTTPS is just HTTP encapsulated inside an SSL tunnel. Apache&#8217;s virtual hosts are a clever &#8220;hack&#8221; whereby the Host header in the HTTP packet is verified. This alllows a single apache instance on a single IP/Port combination to serve a (not so) infinite number of differentes sites (aka vhosts).
Problem: The SSL tunnel is [...]]]></description>
			<content:encoded><![CDATA[<h3>But that&#8217;s impossible!!</h3>
<p>HTTPS is just HTTP encapsulated inside an SSL tunnel. Apache&#8217;s virtual hosts are a clever &#8220;hack&#8221; whereby the Host header in the HTTP packet is verified. This alllows a single apache instance on a single IP/Port combination to serve a (not so) infinite number of differentes sites (aka vhosts).</p>
<p>Problem: The SSL tunnel is created <span style="font-weight: bold" class="Apple-style-span">before</span> the first HTTP packet gets sent. Apache needs an SSL certificate but doesn&#8217;t have a Host header to match, hence cannot choose a virtual host.</p>
<h3>Solution</h3>
<p>This trick essentially does the matching of the Host header <span class="Apple-style-span" style="font-weight: bold">after</span> the SSL connection has been established. How? Via some mod_rewrite magic!<br />
<h3>Caveats</h3>
<p>Although I said so, it&#8217;s not really that magical. There are a few things this trick does not solve.
<ul>
<li>The SSL certificate used will be common to all SSL vhosts.</li>
<li>Certain Apache directives may be common to all SSL vhosts (example: SuExecUserGroup). Basically anything you can&#8217;t override in a .htaccess file will be shared amongst vhosts.</li>
</ul>
<p><span id="more-316"></span></p>
<h3>The trick</h3>
<p>The process is only 2 steps and involves modifying your Apache configuration. I assume you have a working SSL vhost configured.</p>
<ol>
<li>Create virtual hosts &#8220;map file&#8221;.</li>
<li>Modify existing SSL vhost.</li>
</ol>
<h4>1. The virtual hosts map file</h4>
<p>Create a new file in your Apache server root. Example:<span class="path">/etc/apache2/ssl.map</span><br/><br />
Write a list of virtual hosts and their respective <tt>DocumentRoot</tt>. Example:</p>
<pre>
foo.example.com        /var/www/foo.example.com/
bar.example.com        /var/www/bar.example.com/
# you can even put comments!
# Alias to bar
boar.example.com        /var/www/bar.example.com/
</pre>
<p/>
<h4>2. Edit your SSL vhost</h4>
<p>Open your Apache config, inside the &lt;VirtualHost&gt; section of your SSL vhost, include the following code or include this file: <a href='http://blog.revolunet.com/wp-content/uploads/2008/01/mass_ssl_vhosts.conf' title='Mass SSL vhosts'>Mass SSL vhosts Apache config</a>.</p>
<p>
<span class="Apple-style-span" style="font-weight: bold;color:red;">Important:</span> Make sure to edit line 8 to include the correct path to your <tt>ssl.map</tt> file.</p>
<pre line="1" lang="perl">### Mass SSL Vhosts ###
RewriteEngine on

#   define two maps: one for fixing the URL and one which defines
#   the available virtual hosts with their corresponding
#   DocumentRoot.
RewriteMap    lowercase    int:tolower
RewriteMap    vhost        txt:/etc/apache2/ssl.map

#   1. make sure we don't map for common locations
RewriteCond   %{REQUEST_URI}  !^/cgi-bin/.*
RewriteCond   %{REQUEST_URI}  !^/icons/.*

#   2. make sure we have a Host header
RewriteCond   %{HTTP_HOST}  !^$

#   3. lowercase the hostname
RewriteCond   ${lowercase:%{HTTP_HOST}|NONE}  ^(.+)$
#
#   4. lookup this hostname in vhost.map and
#      remember it only when it is a path
#      (and not "NONE" from above)
RewriteCond   ${vhost:%1}  ^(/.*)$

#   5. finally we can map the URL to its docroot location
#      and remember the virtual host for logging puposes
RewriteRule   ^/(.*)$   %1/$1  [E=VHOST:${lowercase:%{HTTP_HOST}}]</pre>
<p>Restart Apache and you&#8217;re done. You should be able to browse (in https) the vhosts you added to your <tt>ssl.map</tt> file.<br/><br />
<b>Grandma says: </b>You don&#8217;t need to reload Apache when you edit your map file. Just create the document root folder on the filesystem, add a new entry to your map and you&#8217;re good to go.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.revolunet.com/index.php/reseau/administration/hosting-multiple-ssl-vhosts-on-a-single-ipportcertificate-with-apache2/feed</wfw:commentRss>
		<slash:comments>28</slash:comments>
		</item>
	</channel>
</rss>
