<?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>Crash dump</title>
	<atom:link href="http://timita.org/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://timita.org/wordpress</link>
	<description>Manuel Timita</description>
	<lastBuildDate>Fri, 21 Oct 2011 10:30:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Protect Windows with pfSense and VirtualBox. Part 6: Running VirtualBox headless. VM auto save state/resume</title>
		<link>http://timita.org/wordpress/2011/08/04/protect-windows-with-pfsense-and-virtualbox-part-6-running-virtualbox-headless-vm-auto-save-stateresume/</link>
		<comments>http://timita.org/wordpress/2011/08/04/protect-windows-with-pfsense-and-virtualbox-part-6-running-virtualbox-headless-vm-auto-save-stateresume/#comments</comments>
		<pubDate>Thu, 04 Aug 2011 00:38:23 +0000</pubDate>
		<dc:creator>Manuel Timita</dc:creator>
				<category><![CDATA[Hacks]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[pfSense]]></category>
		<category><![CDATA[VirtualBox]]></category>

		<guid isPermaLink="false">http://timita.org/wordpress/?p=266</guid>
		<description><![CDATA[To operate the VM inconspicuously, obviously you don’t run the full-fledged VirtualBox GUI. VirtualBox can also be fully managed from its command-line interface, called VBoxManage (you can read the User Manual if you want to learn more about VBoxManage). In &#8230; <a href="http://timita.org/wordpress/2011/08/04/protect-windows-with-pfsense-and-virtualbox-part-6-running-virtualbox-headless-vm-auto-save-stateresume/">Continue reading <span class="meta-nav">&#8594;</span></a>
<div class="twitterbutton" style="float: left; padding-right: 5px;"><a href="http://twitter.com/share?url=http://timita.org/wordpress/2011/08/04/protect-windows-with-pfsense-and-virtualbox-part-6-running-virtualbox-headless-vm-auto-save-stateresume/&amp;text=Protect Windows with pfSense and VirtualBox. Part 6: Running VirtualBox headless. VM auto save state/resume&amp;via=&amp;related=DolcePixel"><img align="left" src="http://timita.org/wordpress/wp-content/plugins//easy-twitter-button/i/buttons/en/tweetn.png" style="border: none;" alt="" /></a></div>
]]></description>
			<content:encoded><![CDATA[<p>To operate the VM inconspicuously, obviously you don’t run the full-fledged VirtualBox GUI. VirtualBox can also be fully managed from its command-line interface, called VBoxManage <em>(you can read the User Manual if you want to <a href="http://www.virtualbox.org/manual/ch08.html#idp6516336">learn more about VBoxManage</a>)</em>.</p>
<p>In what follows, I will discuss how you can set VirtualBox to run in headless mode, and also how to set the virtual machine running pfSense to automatically enter the ‘saved state’ mode when you shut your Windows host down, and how to make it automatically start again when you boot your host.<span id="more-266"></span></p>
<p>Firstly, I need to say that I have spent quite a few hours trying to figure out on my own how to run VirtualBox as a service, so it can detect power events on the host, such as shutdown, logoff or startup. Especially the shutdown / logoff part. No, don’t even think about Group Policies, since in Windows 7, during shutdown, all programs are closed first and only afterwards it runs whatever scripts we set. Which means that we cannot tell VBoxManage or VBoxHeadless to nicely shut down our VM or to save its state.</p>
<p><strong>The best bet is <a href="http://forums.virtualbox.org/viewtopic.php?f=6&amp;t=4762">VBoxVmService</a></strong>, developed by an enthusiastic VirtualBox fan and available for free on Sourceforge. <a href="http://sourceforge.net/projects/vboxvmservice/files/">Download the latest build here</a> and after unzipping it, read the Howto in the docs folder. It is very explanatory and simple.</p>
<p>By the way, don’t fret if the service does not start your VM right away so don’t try yet to debug it; just reboot after installing the service.</p>
<p>Still, the service is set for delayed start, so your VM will not start right away after your Windows boots. I didn’t quite like the idea, so in the VBoxVmService.ini file (you’ve read the Howto for VBoxVmService, right?) I have set my VM’s AutoStart option to no, and then created a small VBScript file to execute automatically at startup. It is a much faster option.</p>
<p><em><strong>Note:</strong></em> <em>C:\Program Files\Oracle\VirtualBox\ is the full path for a default VirtualBox installation. If you changed its location, you need to modify the path in the script accordingly.</em></p>
<ol start="1">
<li>Type the following code in a text file and then save it as <em><strong>headless_start.vbs</strong></em>:</li>
</ol>
<pre class="qoate-code">Set WshShell = WScript.CreateObject("WScript.Shell")

cmd = chr(34) &amp; "C:\Program Files\Oracle\VirtualBox\VBoxHeadless.exe" &amp; chr(34) &amp; " --startvm" &amp; " pfSense"

obj = WshShell.Run(cmd, 0)

set WshShell = Nothing</pre>
<p>Copy the file in C:\Windows\System32\GroupPolicy\Machine\Scripts\Startup</p>
<ol start="2">
<li><strong>If you have Windows 7 Professional and up, or Vista Business and up</strong>. Run the Local Group Policy Editor as administrator (the easy way: click the <strong>Start</strong> orb and type in the search box <strong>gpedit.msc</strong>).</li>
<li>Go to Computer<strong> Configuration</strong> &gt; <strong>Windows Settings</strong> and left click <strong>Scripts (Startup/shutdown)</strong>.</li>
</ol>
<p><a href="http://timita.org/wordpress/wp-content/uploads/2011/07/34.jpg"><img class="aligncenter size-full wp-image-221" title="34" src="http://timita.org/wordpress/wp-content/uploads/2011/07/34.jpg" alt="" width="768" height="537" /></a></p>
<ol start="4">
<li>In the right side of the window, right-click <strong>Startup</strong> and select <strong>Properties</strong>. In the properties window click the <strong>Add</strong> button and then browse to the VBScript file which we have created earlier for startup and select it:</li>
</ol>
<p><a href="http://timita.org/wordpress/wp-content/uploads/2011/07/35.jpg"><img class="aligncenter size-full wp-image-222" title="35" src="http://timita.org/wordpress/wp-content/uploads/2011/07/35.jpg" alt="" width="762" height="532" /></a></p>
<ol start="5">
<li>Click <strong>OK</strong>, and then <strong>OK</strong> again.</li>
<li><strong>If you have a Home Edition of Windows 7 (or Vista)</strong>. Copy the VBS file in C:\Users\<em>[yourusernamehere]\</em>AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup. This will work only for the specified user.</li>
<li>Still having problems? Check on SevenForums.com for a wealth of advice on <a href="http://www.sevenforums.com/tutorials/1401-startup-programs-change.html">how to run programs at startup in Windows 7 / Vista</a>.</li>
</ol>
<p>Now, if you need to access your VM console, you now have to identify the IP address of your VirtualBox Host-Only Network (type in ipconfig in a Command window) and then connect to it using Remote Desktop Connection available in Windows 7 (we used the port set in Part 3). See the next two screenshots:</p>
<p><a href="http://timita.org/wordpress/wp-content/uploads/2011/07/33a.jpg"><img class="aligncenter size-full wp-image-219" title="33a" src="http://timita.org/wordpress/wp-content/uploads/2011/07/33a.jpg" alt="" width="677" height="342" /></a> <a href="http://timita.org/wordpress/wp-content/uploads/2011/07/33b.jpg"><img class="aligncenter size-full wp-image-220" title="33b" src="http://timita.org/wordpress/wp-content/uploads/2011/07/33b.jpg" alt="" width="421" height="259" /></a>Done!</p>
<p>Just in case: if you need some more quick VBScript files to control your VM when in headless mode, here they are:</p>
<ol start="1">
<li>To save state: <strong><em>headless_savestate.vbs</em></strong>:</li>
</ol>
<pre class="qoate-code">Set WshShell = WScript.CreateObject("WScript.Shell")

cmd =  chr(34) &amp; "C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" &amp; chr(34) &amp; " controlvm" &amp; " pfSense" &amp; " savestate"

obj = WshShell.Run(cmd, 0)

set WshShell = Nothing</pre>
<ol start="2">
<li>To force reset: <em><strong>headless_reset.vbs</strong></em>:</li>
</ol>
<pre class="qoate-code">Set WshShell = WScript.CreateObject("WScript.Shell")

cmd =  chr(34) &amp; "C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" &amp; chr(34) &amp; " controlvm" &amp; " pfSense" &amp; " reset"

obj = WshShell.Run(cmd, 0)

set WshShell = Nothing</pre>
<ol start="3">
<li>To shut it down (ACPI power button): <em><strong>headless_acpiturnoff.vbs</strong></em>:</li>
</ol>
<pre class="qoate-code">Set WshShell = WScript.CreateObject("WScript.Shell")

cmd =  chr(34) &amp; "C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" &amp; chr(34) &amp; " controlvm" &amp; " pfSense" &amp; " acpipowerbutton"

obj = WshShell.Run(cmd, 0)

set WshShell = Nothing</pre>
<p>Congrats! You are done.</p>
<p><a title="Protect Windows with pfSense and VirtualBox. Part 5: Configuring VLANs. Removing Windows’ TCP/IP stacks" href="http://timita.org/wordpress/2011/08/02/protect-windows-with-pfsense-and-virtualbox-part-5-configuring-pfsense-vlans-removing-windows%e2%80%99-tcpip-stacks/"><strong>&lt;&lt;Part 5: Configuring VLANs. Removing Windows’ TCP/IP stacks</strong></a></p>
<div class="twitterbutton" style="float: left; padding-right: 5px;"><a href="http://twitter.com/share?url=http://timita.org/wordpress/2011/08/04/protect-windows-with-pfsense-and-virtualbox-part-6-running-virtualbox-headless-vm-auto-save-stateresume/&amp;text=Protect Windows with pfSense and VirtualBox. Part 6: Running VirtualBox headless. VM auto save state/resume&amp;via=&amp;related=DolcePixel"><img align="left" src="http://timita.org/wordpress/wp-content/plugins//easy-twitter-button/i/buttons/en/tweetn.png" style="border: none;" alt="" /></a></div>
<p><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Ftimita.org%2Fwordpress%2F2011%2F08%2F04%2Fprotect-windows-with-pfsense-and-virtualbox-part-6-running-virtualbox-headless-vm-auto-save-stateresume%2F&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light&amp;height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:80px;" allowTransparency="true"></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://timita.org/wordpress/2011/08/04/protect-windows-with-pfsense-and-virtualbox-part-6-running-virtualbox-headless-vm-auto-save-stateresume/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Protect Windows with pfSense and VirtualBox. Part 5: Configuring VLANs. Removing Windows’ TCP/IP stacks</title>
		<link>http://timita.org/wordpress/2011/08/02/protect-windows-with-pfsense-and-virtualbox-part-5-configuring-pfsense-vlans-removing-windows%e2%80%99-tcpip-stacks/</link>
		<comments>http://timita.org/wordpress/2011/08/02/protect-windows-with-pfsense-and-virtualbox-part-5-configuring-pfsense-vlans-removing-windows%e2%80%99-tcpip-stacks/#comments</comments>
		<pubDate>Tue, 02 Aug 2011 10:49:22 +0000</pubDate>
		<dc:creator>Manuel Timita</dc:creator>
				<category><![CDATA[Hacks]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[pfSense]]></category>
		<category><![CDATA[VirtualBox]]></category>

		<guid isPermaLink="false">http://timita.org/wordpress/?p=256</guid>
		<description><![CDATA[Time to move to the next step: configuring pfSense, so we can make sure that we are going to have connectivity once we strip our physical NIC from its TCP/IPv4 and TCP/IPv6 stacks. Mind you, in this part I will &#8230; <a href="http://timita.org/wordpress/2011/08/02/protect-windows-with-pfsense-and-virtualbox-part-5-configuring-pfsense-vlans-removing-windows%e2%80%99-tcpip-stacks/">Continue reading <span class="meta-nav">&#8594;</span></a>
<div class="twitterbutton" style="float: left; padding-right: 5px;"><a href="http://twitter.com/share?url=http://timita.org/wordpress/2011/08/02/protect-windows-with-pfsense-and-virtualbox-part-5-configuring-pfsense-vlans-removing-windows%e2%80%99-tcpip-stacks/&amp;text=Protect Windows with pfSense and VirtualBox. Part 5: Configuring VLANs. Removing Windows’ TCP/IP stacks&amp;via=&amp;related=DolcePixel"><img align="left" src="http://timita.org/wordpress/wp-content/plugins//easy-twitter-button/i/buttons/en/tweetn.png" style="border: none;" alt="" /></a></div>
]]></description>
			<content:encoded><![CDATA[<p>Time to move to the next step: configuring pfSense, so we can make sure that we are going to have connectivity once we strip our physical NIC from its TCP/IPv4 and TCP/IPv6 stacks. Mind you, <strong>in this part I will discuss only the minimal configuration required in order to have Internet connectivity</strong>, as this is not a tutorial about advanced pfSense operation. You should refer to the official documentation for that.<span id="more-256"></span></p>
<ol start="1">
<li>You have installed pfSense. After the VM restarts, click inside the window and then press <strong>F1</strong> to boot. Then in the welcome screen type in <strong>1</strong> in order to boot pfSense:</li>
</ol>
<p><a href="http://timita.org/wordpress/wp-content/uploads/2011/07/21.jpg"><img class="aligncenter size-full wp-image-206" title="21" src="http://timita.org/wordpress/wp-content/uploads/2011/07/21.jpg" alt="" width="736" height="480" /></a></p>
<ol start="2">
<li>Setting the virtual LANs. When asked if you want to setup the VLANs type in <strong>y</strong> and <strong>Enter</strong>:</li>
</ol>
<p><a href="http://timita.org/wordpress/wp-content/uploads/2011/07/22.jpg"><img class="aligncenter size-full wp-image-207" title="22" src="http://timita.org/wordpress/wp-content/uploads/2011/07/22.jpg" alt="" width="733" height="478" /></a></p>
<ol start="3">
<li>Now, as you can see in the next screenshot, you have to tell pfSense which of the two NICS is the WAN interface and which one is for LAN. In what follows I will set <em><strong>em0</strong></em> for WAN and <strong><em>em1</em></strong> for LAN <em>(as that is how we have set the interfaces in VirtualBox at points 4 and 5)</em>. If you get mixed up about which one is which, just compare the MAC address displayed by the pfSense installer with that in VirtualBox Manager. Whatever you do, just make sure that the WAN interface is the one bridged to your physical NIC, whilst the LAN interface is the one which is bridged to Microsoft Loopback Adapter:</li>
</ol>
<p><a href="http://timita.org/wordpress/wp-content/uploads/2011/07/23.jpg"><img class="aligncenter size-full wp-image-208" title="23" src="http://timita.org/wordpress/wp-content/uploads/2011/07/23.jpg" alt="" width="736" height="480" /></a></p>
<ol start="4">
<li>Enter the parent interface name for the new VLAN (or nothing if finished): <strong>em1</strong></li>
</ol>
<p>Enter the VLAN tag (1-4094): <strong>20</strong></p>
<p>Enter the parent interface name for the new VLAN (or nothing if finished): <strong>em0</strong></p>
<p>Enter the VLAN tag (1-4094): <strong>10</strong></p>
<p>Enter the parent interface name for the new VLAN (or nothing if finished): just press<strong> Enter</strong>:</p>
<p><a href="http://timita.org/wordpress/wp-content/uploads/2011/07/24.jpg"><img class="aligncenter size-full wp-image-209" title="24" src="http://timita.org/wordpress/wp-content/uploads/2011/07/24.jpg" alt="" width="736" height="480" /></a></p>
<p>Enter the WAN interface name or &#8216;a&#8217; for auto-detection: <strong>em0.</strong></p>
<p>Enter the LAN interface name or &#8216;a&#8217; for auto-detection: <strong>em1.</strong></p>
<p>Enter the Optional 1 interface name or &#8216;a&#8217; for auto-detection (or nothing if finished): just press <strong>Enter.</strong></p>
<ol start="5">
<li>You’ll have to confirm the assigned interfaces, so when asked if you want to proceed, type in <strong>y</strong> and then <strong>Enter</strong>:</li>
</ol>
<p><a href="http://timita.org/wordpress/wp-content/uploads/2011/07/25.jpg"><img class="aligncenter size-full wp-image-210" title="25" src="http://timita.org/wordpress/wp-content/uploads/2011/07/25.jpg" alt="" width="736" height="480" /></a></p>
<ol start="6">
<li>The system will apply the changes, after which it will display the typical pfSense console. If you didn’t mess up the WAN vs. LAN interfaces, you should be able to see the WAN NIC having an IP assigned from your physical network:</li>
</ol>
<p><a href="http://timita.org/wordpress/wp-content/uploads/2011/07/26.jpg"><img class="aligncenter size-full wp-image-211" title="26" src="http://timita.org/wordpress/wp-content/uploads/2011/07/26.jpg" alt="" width="736" height="480" /></a></p>
<p>Done! Now you can start doing some basic configuration, such as setting a password, but the real thing is yet to come: the friendly web interface is what is going to be needed in order to configure pfSense.</p>
<ol start="1">
<li>If you’ve installed and configured the VM correctly during the previous step, you should now be able to access the web interface. You do that by typing the IP of pfSense’s LAN interface in your web browser <em>(you should be able to reach it, as it is bridged to the Loopback adapter)</em>. Ignore any security certificate related warnings:</li>
</ol>
<p><a href="http://timita.org/wordpress/wp-content/uploads/2011/07/30.jpg"><img class="aligncenter size-full wp-image-215" title="30" src="http://timita.org/wordpress/wp-content/uploads/2011/07/30.jpg" alt="" width="834" height="627" /></a></p>
<ol start="2">
<li>In the next window use the default credentials to login in into the administrative interface. User: <strong>admin</strong>, password: <strong>pfsense</strong></li>
</ol>
<p><a href="http://timita.org/wordpress/wp-content/uploads/2011/07/31.jpg"><img class="aligncenter size-full wp-image-216" title="31" src="http://timita.org/wordpress/wp-content/uploads/2011/07/31.jpg" alt="" width="834" height="627" /></a></p>
<ol start="3">
<li>Now you’re in the main window: the dashboard. Update pfSense if needed <em>(also, don’t forget to change your login credentials)</em>:</li>
</ol>
<p><a href="http://timita.org/wordpress/wp-content/uploads/2011/07/32.jpg"><img class="aligncenter size-full wp-image-217" title="32" src="http://timita.org/wordpress/wp-content/uploads/2011/07/32.jpg" alt="" width="952" height="728" /></a></p>
<ol start="4">
<li>Click on <strong>Services</strong> &gt; <strong>DHCP Server</strong>. Make sure that the check box <strong>Enable DHCP server on LAN interface</strong> is ticked. The system should have created the default settings for the DHCP service:</li>
</ol>
<p><a href="http://timita.org/wordpress/wp-content/uploads/2011/07/33.jpg"><img class="aligncenter size-full wp-image-218" title="33" src="http://timita.org/wordpress/wp-content/uploads/2011/07/33.jpg" alt="" width="952" height="728" /></a></p>
<ol start="5">
<li>Now you should be good to go. Go to your <strong>Network and Sharing Center</strong> in Windows, Click on <strong>Change adapter settings</strong> on the left, then in the main window identify your physical network card and right-click on it <em>(since we talk about a laptop, it is most likely a wireless card, but you can apply further what you’ve learnt in this tutorial and protect all your connections; only don’t forget to add more interfaces in pfSense)</em>. Click <strong>Properties</strong>, and then uncheck the boxes for <strong>Internet Protocol Version 6</strong> and <strong>Internet Protocol Version 4</strong>:</li>
</ol>
<p><a href="http://timita.org/wordpress/wp-content/uploads/2011/08/33c.jpg"><img class="aligncenter size-full wp-image-257" title="33c" src="http://timita.org/wordpress/wp-content/uploads/2011/08/33c.jpg" alt="" width="377" height="474" /></a></p>
<p>And that is basically it. Open you browser of choice and navigate to whatever page. It should work, although the first time Windows will tell you in <strong>Network and Sharing Center</strong> that it has no internet connection. Don’t forget, if you want to be completely secure, you need to learn how to configure pfSense. Maybe in the future I will come back with some more tips and tricks on that subject.</p>
<p><a title="Protect Windows with pfSense and VirtualBox. Part 4: Installing and configuring pfSense on VirtualBox" href="http://timita.org/wordpress/2011/08/01/protect-windows-with-pfsense-and-virtualbox-part-4-installing-and-configuring-pfsense-on-virtualbox/"><strong>&lt;&lt;Part 4: Installing and configuring pfSense on VirtualBox</strong></a></p>
<p><a title="Protect Windows with pfSense and VirtualBox. Part 6: Running VirtualBox headless. VM auto save state/resume" href="http://timita.org/wordpress/2011/08/04/protect-windows-with-pfsense-and-virtualbox-part-6-running-virtualbox-headless-vm-auto-save-stateresume/"><strong>Part 6: Running VirtualBox headless. VM auto save state/resume&gt;&gt;</strong></a></p>
<div class="twitterbutton" style="float: left; padding-right: 5px;"><a href="http://twitter.com/share?url=http://timita.org/wordpress/2011/08/02/protect-windows-with-pfsense-and-virtualbox-part-5-configuring-pfsense-vlans-removing-windows%e2%80%99-tcpip-stacks/&amp;text=Protect Windows with pfSense and VirtualBox. Part 5: Configuring VLANs. Removing Windows’ TCP/IP stacks&amp;via=&amp;related=DolcePixel"><img align="left" src="http://timita.org/wordpress/wp-content/plugins//easy-twitter-button/i/buttons/en/tweetn.png" style="border: none;" alt="" /></a></div>
<p><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Ftimita.org%2Fwordpress%2F2011%2F08%2F02%2Fprotect-windows-with-pfsense-and-virtualbox-part-5-configuring-pfsense-vlans-removing-windows%25e2%2580%2599-tcpip-stacks%2F&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light&amp;height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:80px;" allowTransparency="true"></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://timita.org/wordpress/2011/08/02/protect-windows-with-pfsense-and-virtualbox-part-5-configuring-pfsense-vlans-removing-windows%e2%80%99-tcpip-stacks/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Protect Windows with pfSense and VirtualBox. Part 4: Installing and configuring pfSense on VirtualBox</title>
		<link>http://timita.org/wordpress/2011/08/01/protect-windows-with-pfsense-and-virtualbox-part-4-installing-and-configuring-pfsense-on-virtualbox/</link>
		<comments>http://timita.org/wordpress/2011/08/01/protect-windows-with-pfsense-and-virtualbox-part-4-installing-and-configuring-pfsense-on-virtualbox/#comments</comments>
		<pubDate>Mon, 01 Aug 2011 13:43:55 +0000</pubDate>
		<dc:creator>Manuel Timita</dc:creator>
				<category><![CDATA[Hacks]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[pfSense]]></category>
		<category><![CDATA[VirtualBox]]></category>

		<guid isPermaLink="false">http://timita.org/wordpress/?p=250</guid>
		<description><![CDATA[Note: if you need help with installing pfSense beyond the instructions included in this tutorial, you can always refer to the project’s official tutorials, wiki, and official forum, or even better, buy the manual available on Amazon.com or Amazon.co.uk (a &#8230; <a href="http://timita.org/wordpress/2011/08/01/protect-windows-with-pfsense-and-virtualbox-part-4-installing-and-configuring-pfsense-on-virtualbox/">Continue reading <span class="meta-nav">&#8594;</span></a>
<div class="twitterbutton" style="float: left; padding-right: 5px;"><a href="http://twitter.com/share?url=http://timita.org/wordpress/2011/08/01/protect-windows-with-pfsense-and-virtualbox-part-4-installing-and-configuring-pfsense-on-virtualbox/&amp;text=Protect Windows with pfSense and VirtualBox. Part 4: Installing and configuring pfSense on VirtualBox&amp;via=&amp;related=DolcePixel"><img align="left" src="http://timita.org/wordpress/wp-content/plugins//easy-twitter-button/i/buttons/en/tweetn.png" style="border: none;" alt="" /></a></div>
]]></description>
			<content:encoded><![CDATA[<p><strong><em>Note:</em></strong> if you need help with installing pfSense beyond the instructions included in this tutorial, you can always refer to the project’s <a href="http://doc.pfsense.org/index.php/Tutorials">official tutorials</a>, <a href="http://doc.pfsense.org/index.php/Main_Page">wiki</a>, and <a href="http://forum.pfsense.org/">official forum</a>, or even better, buy the manual available on <a href="http://www.amazon.com/pfSense-Definitive-Christopher-M-Buechler/dp/0979034280/ref=sr_1_1?s=books&amp;ie=UTF8&amp;qid=1311801519&amp;sr=1-1">Amazon.com</a> or <a href="http://www.amazon.co.uk/PfSense-Definitive-Michael-W-Lucas/dp/0979034280/ref=sr_1_1?s=digital-text&amp;ie=UTF8&amp;qid=1311801559&amp;sr=1-1">Amazon.co.uk</a> (a Kindle edition is also available on each). Buying the book also means contributing financially to this amazing Open Source project.<span id="more-250"></span></p>
<ol start="1">
<li>Now, first thing first: I was saying that we need to run our virtual machine effortlessly, as in having it automatically suspending / resuming when turning off / on the host. It means that for the day-to-day usage we will normally run VirtualBox headless. When doing that, we can get access to our VM through MS Remote Desktop. But to be able to do that we need to enable the VRDP server, which is done on a per-VM basis. The easiest way is to do that in the VirtualBox Manager:</li>
</ol>
<p><a href="http://timita.org/wordpress/wp-content/uploads/2011/07/16.jpg"><img class="aligncenter size-full wp-image-201" title="16" src="http://timita.org/wordpress/wp-content/uploads/2011/07/16.jpg" alt="" width="786" height="588" /></a></p>
<ol>
<li>Click on <strong>Settings</strong> and then <strong>Display</strong>. Click on the <strong>Remote Display</strong> tab and check the <strong>Enable server</strong> box. Type in a number – say, 5010 – for <strong>Server Port</strong> <em>(later, for convenience, you’ll use Microsoft’s RDP to access the VM from your PC, since VirtualBox will be running headless. Nevertheless, that will only give you access to the console of pfSense. For the complete configuration of the firewall you’ll use a browser anyway)</em>. Set <strong>Authentication Method</strong> to Null:</li>
</ol>
<p><a href="http://timita.org/wordpress/wp-content/uploads/2011/07/17.jpg"><img class="aligncenter size-full wp-image-202" title="17" src="http://timita.org/wordpress/wp-content/uploads/2011/07/17.jpg" alt="" width="657" height="491" /></a></p>
<ol start="3">
<li>Click on <strong>Storage</strong>, then under the storage tree click on the CD icon (red arrow), then click the icon for setting up the virtual CD/DVD drive (green arrow). Click on <strong>Choose a virtual CD/DVD disk file</strong> and browse to the pfSense .iso file which you have downloaded during <a title="Protect Windows with pfSense and VirtualBox. Part 1: Preamble" href="http://timita.org/wordpress/2011/07/29/protect-your-windows-laptop-with-pfsense-and-virtualbox-part-1-preamble/">part 1</a>:</li>
</ol>
<p><a href="http://timita.org/wordpress/wp-content/uploads/2011/07/18.jpg"><img class="aligncenter size-full wp-image-203" title="18" src="http://timita.org/wordpress/wp-content/uploads/2011/07/18.jpg" alt="" width="657" height="491" /></a></p>
<ol start="4">
<li>Now click on <strong>Network</strong> on the left toolbar. We need to set two NICs. Click on the Adapter 1 tab and in the <strong>Attached to</strong> drop-down box select <strong>Bridged Adapter</strong>, whilst making sure that in the <strong>Name</strong> drop-down box the name of your physical card appears, <strong>NOT</strong> the Microsoft Loopback adapter  <em>(so this will now become the firewall’s WAN interface, bridged to your physical NIC)</em>:</li>
</ol>
<p><a href="http://timita.org/wordpress/wp-content/uploads/2011/07/19.jpg"><img class="aligncenter size-full wp-image-204" title="19" src="http://timita.org/wordpress/wp-content/uploads/2011/07/19.jpg" alt="" width="657" height="491" /></a></p>
<ol start="5">
<li>Going further, click on the <strong>Adapter 2</strong> tab. Check the box to enable the adapter, in the <strong>Attached to</strong> drop-down box select <strong>Bridged Adapter</strong>, whilst making sure that in the <strong>Name</strong> drop-down box you choose Microsoft Loopback Adapter <em>(so this will be the firewall’s LAN interface, connected to your logical NIC, the Loopback adapter)</em>. Then click <strong>OK</strong>:</li>
</ol>
<p><a href="http://timita.org/wordpress/wp-content/uploads/2011/07/20.jpg"><img class="aligncenter size-full wp-image-205" title="20" src="http://timita.org/wordpress/wp-content/uploads/2011/07/20.jpg" alt="" width="657" height="491" /></a></p>
<ol start="6">
<li>Go to VirtualBox Manager, right-click the pfSense virtual machine and click <strong>Start</strong>. When the VM starts, click inside the window and then in the welcome screen type in 1 in order to boot pfSense:</li>
</ol>
<p><a href="http://timita.org/wordpress/wp-content/uploads/2011/07/21.jpg"><img class="aligncenter size-full wp-image-206" title="21" src="http://timita.org/wordpress/wp-content/uploads/2011/07/21.jpg" alt="" width="736" height="480" /></a></p>
<ol start="7">
<li>pfSense will take a few seconds to load the drivers and initialize the devices, after which it gives you the option to launch the installer. You’ve got nine seconds for that. Press <strong>i</strong>:</li>
</ol>
<p style="text-align: center;"><a href="http://timita.org/wordpress/wp-content/uploads/2011/07/27.jpg"><img class="aligncenter size-full wp-image-212" title="27" src="http://timita.org/wordpress/wp-content/uploads/2011/07/27.jpg" alt="" width="736" height="480" /></a></p>
<ol start="8">
<li>In the following window you can customize keymap and font settings or simply choose <strong>Accept these settings</strong> <em>(the default ones should do for most users)</em>:</li>
</ol>
<p><a href="http://timita.org/wordpress/wp-content/uploads/2011/07/28.jpg"><img class="aligncenter size-full wp-image-213" title="28" src="http://timita.org/wordpress/wp-content/uploads/2011/07/28.jpg" alt="" width="736" height="480" /></a></p>
<ol start="9">
<li>In the next window choose <strong>Quick Install</strong>. It will warn you that the installer will not ask any questions and that it will erase the entire HDD. Of course, it is the virtual HDD, so don’t worry. Then enter <strong>OK</strong>.</li>
<li>Wait for the installer to finish copying files. Then it will ask you to choose the kernel. Go with the uniprocessor kernel:</li>
</ol>
<p><a href="http://timita.org/wordpress/wp-content/uploads/2011/07/29.jpg"><img class="aligncenter size-full wp-image-214" title="29" src="http://timita.org/wordpress/wp-content/uploads/2011/07/29.jpg" alt="" width="736" height="480" /></a></p>
<p>It should install successfully and then ask you for a reboot. Proceed accordingly. <strong>DON’T FORGET TO REMOVE THE ISO IMAGE FROM THE VIRTUAL CD! </strong>Done!<strong> </strong>Time to configure pfSense’s LAN and WAN interfaces.</p>
<p><a title="Protect Windows with pfSense and VirtualBox. Part 3: Installing VirtualBox and creating a new VM for pfSense" href="http://timita.org/wordpress/2011/07/31/protect-windows-with-pfsense-and-virtualbox-part-3-installing-virtualbox-and-creating-a-new-vm-for-pfsense/"><strong>&lt;&lt;Part 3: Installing VirtualBox and creating a new VM for pfSense</strong></a></p>
<p><a title="Protect Windows with pfSense and VirtualBox. Part 5: Configuring VLANs. Removing Windows’ TCP/IP stacks" href="http://timita.org/wordpress/2011/08/02/protect-windows-with-pfsense-and-virtualbox-part-5-configuring-pfsense-vlans-removing-windows%e2%80%99-tcpip-stacks/"><strong>Part 5: Configuring VLANs. Removing Windows’ TCP/IP stacks&gt;&gt;</strong></a></p>
<div class="twitterbutton" style="float: left; padding-right: 5px;"><a href="http://twitter.com/share?url=http://timita.org/wordpress/2011/08/01/protect-windows-with-pfsense-and-virtualbox-part-4-installing-and-configuring-pfsense-on-virtualbox/&amp;text=Protect Windows with pfSense and VirtualBox. Part 4: Installing and configuring pfSense on VirtualBox&amp;via=&amp;related=DolcePixel"><img align="left" src="http://timita.org/wordpress/wp-content/plugins//easy-twitter-button/i/buttons/en/tweetn.png" style="border: none;" alt="" /></a></div>
<p><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Ftimita.org%2Fwordpress%2F2011%2F08%2F01%2Fprotect-windows-with-pfsense-and-virtualbox-part-4-installing-and-configuring-pfsense-on-virtualbox%2F&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light&amp;height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:80px;" allowTransparency="true"></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://timita.org/wordpress/2011/08/01/protect-windows-with-pfsense-and-virtualbox-part-4-installing-and-configuring-pfsense-on-virtualbox/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Protect Windows with pfSense and VirtualBox. Part 3: Installing VirtualBox and creating a new VM for pfSense</title>
		<link>http://timita.org/wordpress/2011/07/31/protect-windows-with-pfsense-and-virtualbox-part-3-installing-virtualbox-and-creating-a-new-vm-for-pfsense/</link>
		<comments>http://timita.org/wordpress/2011/07/31/protect-windows-with-pfsense-and-virtualbox-part-3-installing-virtualbox-and-creating-a-new-vm-for-pfsense/#comments</comments>
		<pubDate>Sun, 31 Jul 2011 17:38:41 +0000</pubDate>
		<dc:creator>Manuel Timita</dc:creator>
				<category><![CDATA[Hacks]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[pfSense]]></category>
		<category><![CDATA[VirtualBox]]></category>

		<guid isPermaLink="false">http://timita.org/wordpress/?p=236</guid>
		<description><![CDATA[Installing VirtualBox and creating a new virtual machine should not be a big deal: Install VirtualBox with all the default options. It’s just a matter of clicking Next a few times. Login on Windows as administrator. Browse to the folder &#8230; <a href="http://timita.org/wordpress/2011/07/31/protect-windows-with-pfsense-and-virtualbox-part-3-installing-virtualbox-and-creating-a-new-vm-for-pfsense/">Continue reading <span class="meta-nav">&#8594;</span></a>
<div class="twitterbutton" style="float: left; padding-right: 5px;"><a href="http://twitter.com/share?url=http://timita.org/wordpress/2011/07/31/protect-windows-with-pfsense-and-virtualbox-part-3-installing-virtualbox-and-creating-a-new-vm-for-pfsense/&amp;text=Protect Windows with pfSense and VirtualBox. Part 3: Installing VirtualBox and creating a new VM for pfSense&amp;via=&amp;related=DolcePixel"><img align="left" src="http://timita.org/wordpress/wp-content/plugins//easy-twitter-button/i/buttons/en/tweetn.png" style="border: none;" alt="" /></a></div>
]]></description>
			<content:encoded><![CDATA[<p>Installing VirtualBox and creating a new virtual machine should not be a big deal:</p>
<ol start="1">
<li>Install VirtualBox with all the default options. It’s just a matter of clicking <strong>Next</strong> a few times.</li>
<li>Login on Windows as administrator. Browse to the folder where you have downloaded the <a href="http://www.virtualbox.org/wiki/Downloads">VirtualBox Extension Pack</a> and double-click it. Click <strong>Install</strong>.</li>
<li>Agree (you have to) with the TOS and you’re done.<span id="more-236"></span></li>
</ol>
<p>Before you create the VM, consider all the options you may want to enable in pfSense (web proxy, Snort, VPN, etc.), in order to allocate resources appropriately. Also, don’t forget that you need two network interfaces. A good start is the <a href="http://www.pfsense.org/index.php?option=com_content&amp;task=view&amp;id=52&amp;Itemid=49">Selection &amp; Sizing</a> section on the official website. Anyway, if in doubt, you can always revise the settings of your VM after creation. The virtual machine which I created had this configuration: 1 CPU, 128 MB of RAM, 2 GB HDD, and 2 NICs (I don’t intend yet to use Snort – that will need a minimum of 512 MB of RAM).</p>
<p>So let’s proceed:</p>
<ol start="1">
<li>Start VirtualBox</li>
<li>Click <strong>New</strong></li>
<li>On the next window type in the name of the VM and choose the OS and version (pfSense, BSD, and FreeBSD in my case). Then click <strong>Next</strong>:</li>
</ol>
<p><a href="http://timita.org/wordpress/wp-content/uploads/2011/07/8.jpg"><img class="aligncenter size-full wp-image-193" title="8" src="http://timita.org/wordpress/wp-content/uploads/2011/07/8.jpg" alt="" width="609" height="396" /></a></p>
<ol start="4">
<li>Now set the amount of memory:</li>
</ol>
<p><a href="http://timita.org/wordpress/wp-content/uploads/2011/07/9.jpg"><img class="aligncenter size-full wp-image-194" title="9" src="http://timita.org/wordpress/wp-content/uploads/2011/07/9.jpg" alt="" width="609" height="396" /></a></p>
<ol start="5">
<li>Select a virtual hard disk option. Choose <strong>Create a hard disk</strong>:</li>
</ol>
<p><a href="http://timita.org/wordpress/wp-content/uploads/2011/07/10.jpg"><img class="aligncenter size-full wp-image-195" title="10" src="http://timita.org/wordpress/wp-content/uploads/2011/07/10.jpg" alt="" width="609" height="396" /></a></p>
<ol start="6">
<li>In the Virtual Disk Creation Wizard, leave the default option unchanged (<strong>VDI</strong>), unless you plan to use this VM in the future with a different virtualisation software, such as VMware Workstation:</li>
</ol>
<p><a href="http://timita.org/wordpress/wp-content/uploads/2011/07/111.jpg"><img class="aligncenter size-full wp-image-196" title="11" src="http://timita.org/wordpress/wp-content/uploads/2011/07/111.jpg" alt="" width="651" height="430" /></a></p>
<ol start="7">
<li>Set the size of the virtual disk file as <strong>dynamically allocated</strong>, so the virtual disk’s size will increase progressively, as it fills up (up to the maximum set, that is):</li>
</ol>
<p><a href="http://timita.org/wordpress/wp-content/uploads/2011/07/12.jpg"><img class="aligncenter size-full wp-image-197" title="12" src="http://timita.org/wordpress/wp-content/uploads/2011/07/12.jpg" alt="" width="651" height="430" /></a></p>
<ol start="8">
<li>Set the maximum size of the virtual disk:</li>
</ol>
<p><a href="http://timita.org/wordpress/wp-content/uploads/2011/07/13.jpg"><img class="aligncenter size-full wp-image-198" title="13" src="http://timita.org/wordpress/wp-content/uploads/2011/07/13.jpg" alt="" width="651" height="430" /></a></p>
<ol start="9">
<li>You’ve finished setting up the virtual disk. Click <strong>Create</strong>:</li>
</ol>
<p><a href="http://timita.org/wordpress/wp-content/uploads/2011/07/14.jpg"><img class="aligncenter size-full wp-image-199" title="14" src="http://timita.org/wordpress/wp-content/uploads/2011/07/14.jpg" alt="" width="651" height="430" /></a></p>
<ol start="10">
<li>Now you have finished with setting up the VM. Again, click <strong>Create</strong>:</li>
</ol>
<p><a href="http://timita.org/wordpress/wp-content/uploads/2011/07/15.jpg"><img class="aligncenter size-full wp-image-200" title="15" src="http://timita.org/wordpress/wp-content/uploads/2011/07/15.jpg" alt="" width="609" height="396" /></a>That’s it.</p>
<p><strong><a title="Protect Windows with pfSense and VirtualBox. Part 2: Installing Microsoft Loopback adapter on Windows 7" href="http://timita.org/wordpress/2011/07/30/protect-your-windows-laptop-with-pfsense-and-virtualbox-part-2-installing-microsoft-loopback-adapter-on-windows-7/">&lt;&lt;Part 2: Installing Microsoft Loopback adapter on Windows 7</a></strong></p>
<p><a title="Protect Windows with pfSense and VirtualBox. Part 4: Installing and configuring pfSense on VirtualBox" href="http://timita.org/wordpress/2011/08/01/protect-windows-with-pfsense-and-virtualbox-part-4-installing-and-configuring-pfsense-on-virtualbox/"><strong>Part 4: Installing and configuring pfSense on VirtualBox&gt;&gt;</strong></a></p>
<div class="twitterbutton" style="float: left; padding-right: 5px;"><a href="http://twitter.com/share?url=http://timita.org/wordpress/2011/07/31/protect-windows-with-pfsense-and-virtualbox-part-3-installing-virtualbox-and-creating-a-new-vm-for-pfsense/&amp;text=Protect Windows with pfSense and VirtualBox. Part 3: Installing VirtualBox and creating a new VM for pfSense&amp;via=&amp;related=DolcePixel"><img align="left" src="http://timita.org/wordpress/wp-content/plugins//easy-twitter-button/i/buttons/en/tweetn.png" style="border: none;" alt="" /></a></div>
<p><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Ftimita.org%2Fwordpress%2F2011%2F07%2F31%2Fprotect-windows-with-pfsense-and-virtualbox-part-3-installing-virtualbox-and-creating-a-new-vm-for-pfsense%2F&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light&amp;height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:80px;" allowTransparency="true"></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://timita.org/wordpress/2011/07/31/protect-windows-with-pfsense-and-virtualbox-part-3-installing-virtualbox-and-creating-a-new-vm-for-pfsense/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Protect Windows with pfSense and VirtualBox. Part 2: Installing Microsoft Loopback adapter on Windows 7</title>
		<link>http://timita.org/wordpress/2011/07/30/protect-your-windows-laptop-with-pfsense-and-virtualbox-part-2-installing-microsoft-loopback-adapter-on-windows-7/</link>
		<comments>http://timita.org/wordpress/2011/07/30/protect-your-windows-laptop-with-pfsense-and-virtualbox-part-2-installing-microsoft-loopback-adapter-on-windows-7/#comments</comments>
		<pubDate>Sat, 30 Jul 2011 13:46:19 +0000</pubDate>
		<dc:creator>Manuel Timita</dc:creator>
				<category><![CDATA[Hacks]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[pfSense]]></category>
		<category><![CDATA[VirtualBox]]></category>

		<guid isPermaLink="false">http://timita.org/wordpress/?p=183</guid>
		<description><![CDATA[The idea is to have the traffic ‘flowing’ through the laptop’s physical NIC to the virtual machine running pfSense, then back to the Windows host through the Loopback adapter. In what follows, I will describe how to install the Microsoft &#8230; <a href="http://timita.org/wordpress/2011/07/30/protect-your-windows-laptop-with-pfsense-and-virtualbox-part-2-installing-microsoft-loopback-adapter-on-windows-7/">Continue reading <span class="meta-nav">&#8594;</span></a>
<div class="twitterbutton" style="float: left; padding-right: 5px;"><a href="http://twitter.com/share?url=http://timita.org/wordpress/2011/07/30/protect-your-windows-laptop-with-pfsense-and-virtualbox-part-2-installing-microsoft-loopback-adapter-on-windows-7/&amp;text=Protect Windows with pfSense and VirtualBox. Part 2: Installing Microsoft Loopback adapter on Windows 7&amp;via=&amp;related=DolcePixel"><img align="left" src="http://timita.org/wordpress/wp-content/plugins//easy-twitter-button/i/buttons/en/tweetn.png" style="border: none;" alt="" /></a></div>
]]></description>
			<content:encoded><![CDATA[<p>The idea is to have the traffic ‘flowing’ through the laptop’s physical NIC to the virtual machine running pfSense, then back to the Windows host through the Loopback adapter.</p>
<p>In what follows, I will describe how to install the Microsoft Loopback adapter on Windows 7 (apparently it works the same for Vista). For other flavours of Windows, such as XP and 2000, 2003 Server, a <a href="http://www.google.co.uk/#q=Microsoft+Loopback+Adapter">very simple search</a> will do the job.<span id="more-183"></span></p>
<p><strong>Installing Microsoft Loopback adapter on Windows 7:</strong></p>
<ol start="1">
<li>Login as Administrator (you’re operating on Windows 7 as a standard user by default, right?!)</li>
<li>Open <strong>Device Manager</strong></li>
<li>Right-click your computer name (in my example that is Envy-14):</li>
</ol>
<p><a href="http://timita.org/wordpress/wp-content/uploads/2011/07/1.jpg"><img class="aligncenter size-full wp-image-184" title="Tutorial pic 1" src="http://timita.org/wordpress/wp-content/uploads/2011/07/1.jpg" alt="Installing Microsoft Loopback adapter on Windows 7: Device Manager" width="356" height="329" /></a></p>
<ol start="4">
<li>Click <strong>Add Legacy Hardware</strong>. Press <strong>Next</strong></li>
<li>In the next window choose <strong>&#8216;Install the hardware that I manually select from a list (Advanced)&#8217;</strong>. Press <strong>Next</strong>:</li>
</ol>
<p><a href="http://timita.org/wordpress/wp-content/uploads/2011/07/2.jpg"><img class="aligncenter size-full wp-image-187" title="2" src="http://timita.org/wordpress/wp-content/uploads/2011/07/2.jpg" alt="" width="592" height="434" /></a></p>
<ol start="6">
<li>Scroll down and select <strong>Network Adapters</strong>. Press <strong>Next</strong>:</li>
</ol>
<p><a href="http://timita.org/wordpress/wp-content/uploads/2011/07/3.jpg"><img class="aligncenter size-full wp-image-188" title="3" src="http://timita.org/wordpress/wp-content/uploads/2011/07/3.jpg" alt="" width="592" height="434" /></a></p>
<ol start="7">
<li>In the next window select <strong>Microsoft</strong>  on the left side and then scroll down to <strong>Microsoft Loopback Adapter</strong>. Click <strong>Next</strong>:</li>
</ol>
<p><a href="http://timita.org/wordpress/wp-content/uploads/2011/07/4.jpg"><img class="aligncenter size-full wp-image-189" title="4" src="http://timita.org/wordpress/wp-content/uploads/2011/07/4.jpg" alt="" width="592" height="434" /></a></p>
<ol start="8">
<li>A window will ask you to confirm the installation. Click <strong>Next</strong></li>
</ol>
<p><a href="http://timita.org/wordpress/wp-content/uploads/2011/07/5.jpg"><img class="aligncenter size-full wp-image-190" title="5" src="http://timita.org/wordpress/wp-content/uploads/2011/07/5.jpg" alt="" width="592" height="434" /></a></p>
<ol start="9">
<li>A window will confirm that the hardware has been installed. Click <strong>Finish</strong></li>
</ol>
<p>Done! You don’t need to configure it yet, as you need a gateway which will soon be the virtual machine running pfSense.</p>
<p><strong><a title="Part 1: Preamble" href="http://timita.org/wordpress/2011/07/29/protect-your-windows-laptop-with-pfsense-and-virtualbox-part-1-preamble/">&lt;&lt;Part 1: Preamble</a></strong></p>
<p><strong><a title="Protect Windows with pfSense and VirtualBox. Part 3: Installing VirtualBox and creating a new VM for pfSense" href="http://timita.org/wordpress/2011/07/31/protect-windows-with-pfsense-and-virtualbox-part-3-installing-virtualbox-and-creating-a-new-vm-for-pfsense/">Part 3: Installing VirtualBox and creating a new VM for pfSense&gt;&gt;</a></strong></p>
<div class="twitterbutton" style="float: left; padding-right: 5px;"><a href="http://twitter.com/share?url=http://timita.org/wordpress/2011/07/30/protect-your-windows-laptop-with-pfsense-and-virtualbox-part-2-installing-microsoft-loopback-adapter-on-windows-7/&amp;text=Protect Windows with pfSense and VirtualBox. Part 2: Installing Microsoft Loopback adapter on Windows 7&amp;via=&amp;related=DolcePixel"><img align="left" src="http://timita.org/wordpress/wp-content/plugins//easy-twitter-button/i/buttons/en/tweetn.png" style="border: none;" alt="" /></a></div>
<p><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Ftimita.org%2Fwordpress%2F2011%2F07%2F30%2Fprotect-your-windows-laptop-with-pfsense-and-virtualbox-part-2-installing-microsoft-loopback-adapter-on-windows-7%2F&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light&amp;height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:80px;" allowTransparency="true"></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://timita.org/wordpress/2011/07/30/protect-your-windows-laptop-with-pfsense-and-virtualbox-part-2-installing-microsoft-loopback-adapter-on-windows-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Protect Windows with pfSense and VirtualBox. Part 1: Preamble</title>
		<link>http://timita.org/wordpress/2011/07/29/protect-your-windows-laptop-with-pfsense-and-virtualbox-part-1-preamble/</link>
		<comments>http://timita.org/wordpress/2011/07/29/protect-your-windows-laptop-with-pfsense-and-virtualbox-part-1-preamble/#comments</comments>
		<pubDate>Fri, 29 Jul 2011 22:55:18 +0000</pubDate>
		<dc:creator>Manuel Timita</dc:creator>
				<category><![CDATA[Hacks]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[pfSense]]></category>
		<category><![CDATA[VirtualBox]]></category>

		<guid isPermaLink="false">http://timita.org/wordpress/?p=171</guid>
		<description><![CDATA[Recently, I have been contemplating the idea of attending the Chaos Communication Camp in Germany, in order to learn more about information security first-hand. Yet, as outlined in their survival guide, going there without considering a high level of security &#8230; <a href="http://timita.org/wordpress/2011/07/29/protect-your-windows-laptop-with-pfsense-and-virtualbox-part-1-preamble/">Continue reading <span class="meta-nav">&#8594;</span></a>
<div class="twitterbutton" style="float: left; padding-right: 5px;"><a href="http://twitter.com/share?url=http://timita.org/wordpress/2011/07/29/protect-your-windows-laptop-with-pfsense-and-virtualbox-part-1-preamble/&amp;text=Protect Windows with pfSense and VirtualBox. Part 1: Preamble&amp;via=&amp;related=DolcePixel"><img align="left" src="http://timita.org/wordpress/wp-content/plugins//easy-twitter-button/i/buttons/en/tweetn.png" style="border: none;" alt="" /></a></div>
]]></description>
			<content:encoded><![CDATA[<p>Recently, I have been contemplating the idea of attending the <a href="http://events.ccc.de/camp/2011/">Chaos Communication Camp</a> in Germany, in order to learn more about information security first-hand. Yet, as outlined in their <a href="http://events.ccc.de/congress/2010/wiki/How_To_Survive">survival guide</a>, going there without considering a high level of security for your laptop and phone, whatever the flavour of your OS, is not a pretty clever idea. For good reasons.</p>
<p>Mind you, apart from Windows 7, I cannot have any other properly configured OS on my laptop, due to hardware peculiarities (switchable graphic cards being one of them). Consequently, no Unix-like OS with nifty security features installed ‘bare metal’. Not just yet.<span id="more-171"></span></p>
<p>So, inspired by this article about <a href="http://www.instructables.com/id/How-To--Run-an-IPCop-Virtual-Machine-to-Protect-y/">how to protect your pc with IPCop in a virtual machine</a>, I thought about building a similar setup. The whole notion is pretty simple: run an enterprise-level Open Source firewall as a virtual machine, bridge it to your network card, install the Microsoft Loopback adapter, then castrate Windows so it cannot access the Internet directly &#8211; that is, uninstall the TCP/IPv4 and TCP/IPv6 stacks of the physical NIC. Thus you run all your Internet traffic through said firewall, whose WAN interface would be the bridged virtual NIC, whilst its LAN interface will be the NIC bridged to the Loopback adapter.</p>
<p>Only that I want to develop the idea further.</p>
<p>First of all, I want to use <a href="http://pfsense.com/">pfSense</a>, because I’m slightly biased towards *BSD and its superior security features. Then, with pfSense, I can easily add, if needed, an IDS/IPS (Snort), a web proxy (Squid), or force the encryption of all traffic through a permanent VPN tunnel. It can be configured and scaled to match whatever level of security related paranoia.</p>
<p>Also, in order to reduce the time required for the Internet connection to become available, I need my virtual machine to run seamlessly, without having to manually start it or save its state every time I boot / shut down the host. Needless to say, that means running VirtualBox as a Windows service.</p>
<p>The configuration used for this tutorial:</p>
<p>HP Envy 14 &#8211; i5 520m | ATI 5650 &amp; Intel HD Graphics | 8GB RAM | 120GB SSD | Windows 7 Professional 64-bit</p>
<p>I am sure that, as long as you have enough RAM to spare, depending on the features which you’d want to add to pfSense, any spec would do.</p>
<p><strong>Required software and preparation:</strong></p>
<p>At the time of writing (July 2011), the most recent version of pfSense available is 2.0 RC3 and, as recommended on the official website, it can be used in production.</p>
<p>Also, the VirtualBox version which I am going to install is 4.1.0 build 73009.</p>
<p>Time to gather all the goodies:</p>
<p>Go to this <a href="http://www.pfsense.org/mirror.php?section=downloads">list of mirrors and download pfSense</a>. You can choose your preferred version, CPU, and CPU instruction set architecture.</p>
<p>You can download the <a href="http://www.virtualbox.org/wiki/Downloads">latest VirtualBox release and the VirtualBox Extension Pack here</a>, or look for other builds on <a href="http://www.virtualbox.org/wiki/Download_Old_Builds">this page</a>.</p>
<p>You will also need to install the Microsoft Loopback adapter. To understand what it does, in the unlikely case you don’t know already, check <a href="http://www.webxpert.ro/andrei/2008/01/02/what-is-microsoft-loopback-adapter-and-why-do-we-need-it/">this page</a>.</p>
<p>I assume that you know how to operate your software-based firewall on Windows, if you have any enabled (ZoneAlarm, Comodo, Windows Firewall, etc.), so you can add the virtual networks to your trusted zone.</p>
<p>Before you proceed to messing up with your system, it is sensible to have a tested, recent, full backup. I personally use <a href="http://www.runtime.org/driveimage-xml.htm">DriveImage XML</a> for ghosting my home PCs &#8211; it has never let me down. Also, Windows 7’s Backup and Restore Center is doing a very good job.</p>
<p>Now start the backup routine for your system and have a cup of coffee whilst it does its job. Two or many more if you have a slow drive and / or a large primary partition.</p>
<p><strong><a title="Part 2: Installing Microsoft Loopback adapter on Windows 7" href="http://timita.org/wordpress/2011/07/30/protect-your-windows-laptop-with-pfsense-and-virtualbox-part-2-installing-microsoft-loopback-adapter-on-windows-7/">Part 2: Installing Microsoft Loopback adapter on Windows 7&gt;&gt;</a></strong><em><br />
</em></p>
<div class="twitterbutton" style="float: left; padding-right: 5px;"><a href="http://twitter.com/share?url=http://timita.org/wordpress/2011/07/29/protect-your-windows-laptop-with-pfsense-and-virtualbox-part-1-preamble/&amp;text=Protect Windows with pfSense and VirtualBox. Part 1: Preamble&amp;via=&amp;related=DolcePixel"><img align="left" src="http://timita.org/wordpress/wp-content/plugins//easy-twitter-button/i/buttons/en/tweetn.png" style="border: none;" alt="" /></a></div>
<p><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Ftimita.org%2Fwordpress%2F2011%2F07%2F29%2Fprotect-your-windows-laptop-with-pfsense-and-virtualbox-part-1-preamble%2F&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light&amp;height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:80px;" allowTransparency="true"></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://timita.org/wordpress/2011/07/29/protect-your-windows-laptop-with-pfsense-and-virtualbox-part-1-preamble/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Julian Assange and the improbable implosion of authoritarian systems</title>
		<link>http://timita.org/wordpress/2010/12/04/julian-assange-and-the-improbable-implosion-of-authoritarian-systems/</link>
		<comments>http://timita.org/wordpress/2010/12/04/julian-assange-and-the-improbable-implosion-of-authoritarian-systems/#comments</comments>
		<pubDate>Sat, 04 Dec 2010 23:48:19 +0000</pubDate>
		<dc:creator>Manuel Timita</dc:creator>
				<category><![CDATA[Realities]]></category>

		<guid isPermaLink="false">http://timita.org/wordpress/?p=136</guid>
		<description><![CDATA[[UPDATE: A shortened, but still fairly accurate attempt to explain Julian Assange's attitude and mission, can be found in this comment published today, 5th of December, by Theo Brainin in The Guardian. Somehow, though, I feel that he too has &#8230; <a href="http://timita.org/wordpress/2010/12/04/julian-assange-and-the-improbable-implosion-of-authoritarian-systems/">Continue reading <span class="meta-nav">&#8594;</span></a>
<div class="twitterbutton" style="float: left; padding-right: 5px;"><a href="http://twitter.com/share?url=http://timita.org/wordpress/2010/12/04/julian-assange-and-the-improbable-implosion-of-authoritarian-systems/&amp;text=Julian Assange and the improbable implosion of authoritarian systems&amp;via=&amp;related=DolcePixel"><img align="left" src="http://timita.org/wordpress/wp-content/plugins//easy-twitter-button/i/buttons/en/tweetn.png" style="border: none;" alt="" /></a></div>
]]></description>
			<content:encoded><![CDATA[<p><strong>[UPDATE:</strong> <em>A shortened, but still fairly accurate attempt to explain Julian Assange's attitude and mission, can be found in <a href="http://www.guardian.co.uk/commentisfree/cifamerica/2010/dec/05/wikileaks-julian-assange">this comment published today, 5th of December, by Theo Brainin in The Guardian</a>. Somehow, though, I feel that he too has read <a href="http://zunguzungu.wordpress.com/2010/11/29/julian-assange-and-the-computer-conspiracy-%E2%80%9Cto-destroy-this-invisible-government%E2%80%9D/">Aaron Bady's blog post</a>.</em><strong>]</strong></p>
<p>The vast majority of mass media and politicians has been taken by storm in the last few days; too quickly for them to start thinking clearly and coherently (no surprise here). Does the fairly similar case of entertainment industry vs. digital revolution ring a bell?<span id="more-136"></span></p>
<p>Assange is seen as anything, from villain to superhero, but not for what he really is: an extremely intelligent agent of change with quite an ambitious and complex plan (which goes beyond just ‘revealing the truth’). Interestingly, his goals might not necessarily (or exclusively) be rooted in an anti-American agenda, as some may like [us] to think. His target is a global system, which, depending on what side of <a href="http://en.wikipedia.org/wiki/Libertarianism">libertarianism</a> you are, may or may not appear as necessitating alteration.</p>
<p>In <a href="../2010/12/01/some-systems-are-impossible-to-hack-narrow-minds-for-instance/">this short article about Assange</a> and the way the image of ‘hackers’ is being depicted in some tabloid, beyond listing some conceivable motives such as fame, altruism, pure activism or just vanity, I did not delve too much into what could have been his true motivation. That has happened for a few reasons, notably lack of information, lack of time to search for that information, and also because that was not my intention for the article anyway.</p>
<p>There is a precious hidden gem that one is at risk of not gaining by only absorbing news from any news aggregator or broadcaster: <em>understanding</em>. Worse, even when focusing on [pretty much] impartial sources such as <a href="http://www.guardian.co.uk/world/the-us-embassy-cables">The Guardian</a> (which newspaper I regard as an example of professionalism), one may still be at risk of conserving a narrow field of view.</p>
<p>That happens firstly because one may grab just the facts one is interested in, and, paradoxically, also because those facts may be in a near pure form when collected from objective sources. Without adding into the mix subjective but divergent, and also unrelated perspectives, lateral thinking might be replaced by one-sided thinking, so in short, there is no real opportunity for profound understanding.</p>
<p>Like many others, during the last few days, I monitored the evolution of the <a href="http://www.google.co.uk/search?hl=en&amp;source=hp&amp;q=mechanistic+systems&amp;btnG=Google+Search&amp;meta=&amp;cts=&amp;aq=f&amp;oq=&amp;sourceid=Mozilla-search#q=us+embassy+cables+leak&amp;hl=en&amp;prmd=ivn&amp;source=univ&amp;tbs=nws:1&amp;tbo=u&amp;ei=s2f6TIGvJoSwhQeN0vTqCg&amp;sa=X&amp;oi=news_group&amp;ct=title&amp;resnum=1&amp;sqi=2&amp;ved=0CDMQqAIwAA&amp;fp=2fc5efdb48c9f3b2">diplomatic cables leak story</a>, whilst oscillating between sympathy for the WikiLeaks’ crusade and its founder’s struggle, revolt against the unfair image of Britain as depicted in the diplomatic documents, and also (valid?) concerns regarding the possibility of local, regional (and why not, global) conflicts.</p>
<p>Yet, just watching or reading the news did not help me with gaining the insights I wanted, so I went across the blogosphere looking for different views and comments. This <a href="http://zunguzungu.wordpress.com/2010/11/29/julian-assange-and-the-computer-conspiracy-%E2%80%9Cto-destroy-this-invisible-government%E2%80%9D/">pertinent, critical analysis by UC Berkeley graduate Aaron Bady</a>, which I found by mistake (and of whose reading I would insist upon), has sown the seeds which I needed to initiate my own investigation and hence gain some understanding of the whole issue.</p>
<p>Any reader, however, should be aware of the fact that, due to my slightly libertarian views and nerdy preoccupations, I have a personal bias towards Julian Assange &amp; Co. Still, whatever opinions I express in this article are kept as objective as possible; thus, please try to keep a vertical stance and also don’t curse me too much if you suspect subjectivity.</p>
<p>So, what does Julian Assange try to achieve through WikiLeaks? The above mentioned analysis contains one of the most plausible views that I have found (forget about US propaganda) and that is, put simply, provoking the collapse of the complex system of governmental authority based on secrecy – or <strong>“governmental conspiracy”</strong>, as Assange calls it – not only in America, but perhaps everywhere.</p>
<p>First of all I need to briefly introduce the reader to the idea of mechanistic systems, since the article I just recommended is not based on this idea  (don’t run away – it is damn simple; it is basically a machine). Generally, the mechanistic principle (fundamentally a heritage of the Industrial Revolution) regards natural wholes (principally living things) as being like machines, composed of parts lacking any inherent relationship to each other, and with their order imposed in a centralised way (quick reference: ‘<a href="http://en.wikipedia.org/wiki/Mechanism_%28philosophy%29">mechanism</a>’ on Wikipedia).</p>
<p>In organisational practice, this view has been translated into strict hierarchical arrangements of human systems, bureaucracies, and tight control schemes, in which people (especially lower echelons) are regarded more like automatons, rather than complex, emergent entities. In this respect, one would somewhat regard military organisations, governmental and intelligence agencies, and diplomatic structures as mechanistic systems. Yet, as I will show, things at the moment are not quite like that.</p>
<p>The opposite, at least in <a href="http://organisationaldesign.wordpress.com/2008/12/16/mechanistic-and-organic-systems/">Burns and Stalker’s view</a>, are the organic systems, which are not hierarchical in the same way as mechanistic systems, as they are still layered, but based on the expertise of its constituents. Organic structures could rely, for instance, on indoctrination, strong organisational culture built around motivation and self-development, and the ability of its constituents to behave as proactive, self-organising actors.</p>
<p>At least from what I have observed in my (not so many) years of managerial experience, as well as in some contemporary readings in the fields of sociology, management, and systems thinking, in organic systems there is an emphasis on the <em>power to</em> achieve goals through people, whereas in the mechanistic ones there is a clear tendency to gain <em>power over </em>the people and then use them as [seemingly] mindless instruments for achieving organisational goals.</p>
<p>Thus mechanistic structures have to rely on tight command and control systems, rather than on transparency and mutual adjustment of the actors. It is almost common sense the fact that bureaucracies attempt to control both their internal and external environments through exercising the principle of <em>power over.</em> But how do they do it? As far as I remember now, systems and complexity thinkers such as <a href="http://en.wikipedia.org/wiki/Russell_L._Ackoff">Ackoff</a>, <a href="http://www.uws.edu.au/management/som/academic_profiles/doctor_lesley_kuhn">Kuhn</a>, or <a href="http://www.interactdesign.com/jcv.html">Gharajedaghi</a> agree (in different words, but similar concepts) that <em>controlling the flow of information</em> might just be the best tool for exercising the <em>power over</em>.</p>
<p>And mechanistic structures are damn good at controlling every bit of information that flows in and out, as well as inside them. Which in turn doesn’t do them a favour with respect to flexibility, innovation, and more importantly, <em>high sensitivity and responsivity to threats</em>. Can you think of any governmental agency which doesn’t need those? (Well, you must remember the complaints of the FBI agents regarding the lack of hierarchical response to their warnings regarding the 9/11 attacks).</p>
<p>In Assange’s view, as explained by Mr Bady, the “governmental conspiracy” relies on internal control of information in order to ensure the secrecy of all its operations. (Obviously, controlling the flow of information also ensures that the majority of actors in the external environment are also being kept at bay.) Yet, too much control of information may hinder the activity of internal subsystems (i.e. operatives, spies, military, and diplomats), so the architects of the system have to ensure that there is a certain liberty in accessing the available information. (The sort of liberty that has allowed a disgruntled, young intelligence analyst to copy over 250,000 classified documents without even being traced.)</p>
<p>I do not have the time right now to read Assange’s essays, and also my intention is not to critically analyse Aaron Bady’s article, but it appears that in Julian Assange’s view, as quoted, the “governmental conspiracy” cannot be a pure mechanistic structure – like a traditional hierarchy – otherwise the top of the pyramid can be a single point of failure. (Oops, cannot help but to point out at the similarity to computer networking, where a <a href="http://en.wikipedia.org/wiki/Single_point_of_failure">single point of failure</a> (SPOF), especially at the top level, can bring the entire network down if it indeed fails; Assange is a ‘hacker’, remember?)</p>
<p>As a result, the organisation has to be a blend of organic and mechanistic structures. Aaron Bady explains it as “acephalous” (as in, having no head), but “[with] certain amount of centralization […] (otherwise there is no conspiracy)”. “<em>Too much </em>centralization makes the system vulnerable”.</p>
<p>That’s right; too much centralisation means the risk of a big single point of failure, as well as that of many other SPOFs, at the top of many internal pyramids. Also, too many management layers will definitely transform the organisation into a slow and ineffective bureaucracy, in which the flow of information will be hindered at every level.</p>
<p>So in a purely geeky tradition, <em>Assange thought of a bug</em>. Mind you, it may sound like a big revelation, but it should not be, and I almost feel ashamed that I haven’t thought of it in the first place (though I have an excuse: ahem, I did not know that those essays by Julian Assange exist).</p>
<p>Perhaps a look at how the HIV retrovirus works may just offer the perfect metaphor in understanding part of his actions – that is, how a system can be turned against itself. When HIV infects cells in the human immune system, a special group of lymphocytes (called Cytotoxic T cells) will hunt down and kill those infected cells – basically the immune system is successfully attacking and weakening itself.</p>
<p><strong>Julian Assange’s mission seems to be that of generating excessive mistrust inside governmental systems; if inoculated in the right way and amount, the resulting paranoia is expected to cause the implosion of these systems. </strong></p>
<p>So any leak, no matter the press coverage (well, the last one has been a big blow), does not aim to embarrass any government. The leaks prove the penetrability of governmental systems, and thus increase their security-related paranoia (that is also a common, but necessary syndrome amongst computer geeks, like Assange).</p>
<p>The flow of communication between different parts of the system will then be hindered due to fear of leaks to the outside world. And this is not something supposed to happen necessarily only in America, but also in the already paranoid, totalitarian regimes, like China or North Korea, just because the possibility of classified data leakage has been proven. As Aaron Bady puts it very simply, <strong>“the conspiracy [can be destroyed], in other words, by making it so paranoid of itself that it can no longer conspire […]. Wikileaks wants to provoke the conspiracy into turning off its own brain in response to the threat”.</strong></p>
<p>Now here is the point where I need to explain why I brought into discussion the essential differences between organic and mechanistic structures. Organic structures are highly adaptable and therefore very resilient. A terrorist organisation is an organic system. They rely on the indoctrination and high determination of their constituents (hell, to commit suicide for a cause is enough proof of being determined, isn’t it?). Mechanistic structures just cannot put up so easily with organic ones. Think of any David vs. Goliath example.</p>
<p>Now, I am not the sort of person to jump into the same bandwagon with all the terrorist scaremongers. The high disregard for human rights, which we have seen happening part in secrecy once the ‘war on terror’ has been declared by the Bush administration, has disgusted me profoundly.</p>
<p>Yet, I do not expect governments to change too much their shoddy practices. But I also anticipate that they will tighten the secrecy belt as a result of the latest events. They will simply start to re-<em>mechanise</em> their structures, maybe more than before, in order to control the information, a fact which, as explained above, will make them more vulnerable, as well as inefficient. <em>Finally they will just simply fail to do their job</em>.</p>
<p>Eventually, I also know that there are quite a few lunatics out there who would like to repeat the London Tube bombings, or the 9/11 attacks.</p>
<p>I admire Assange, as it is probably obvious, for his intelligence, ‘geekiness’, beliefs, activism and persistence. I cannot help, though, thinking that in London, my friends, I, and millions of other people are relying heavily on the public transport and in that respect everybody, up until now at least, <em>has returned home safely every evening</em>.</p>
<div class="twitterbutton" style="float: left; padding-right: 5px;"><a href="http://twitter.com/share?url=http://timita.org/wordpress/2010/12/04/julian-assange-and-the-improbable-implosion-of-authoritarian-systems/&amp;text=Julian Assange and the improbable implosion of authoritarian systems&amp;via=&amp;related=DolcePixel"><img align="left" src="http://timita.org/wordpress/wp-content/plugins//easy-twitter-button/i/buttons/en/tweetn.png" style="border: none;" alt="" /></a></div>
<p><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Ftimita.org%2Fwordpress%2F2010%2F12%2F04%2Fjulian-assange-and-the-improbable-implosion-of-authoritarian-systems%2F&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light&amp;height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:80px;" allowTransparency="true"></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://timita.org/wordpress/2010/12/04/julian-assange-and-the-improbable-implosion-of-authoritarian-systems/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Some systems are impossible to hack. Narrow minds, for instance</title>
		<link>http://timita.org/wordpress/2010/12/01/some-systems-are-impossible-to-hack-narrow-minds-for-instance/</link>
		<comments>http://timita.org/wordpress/2010/12/01/some-systems-are-impossible-to-hack-narrow-minds-for-instance/#comments</comments>
		<pubDate>Wed, 01 Dec 2010 01:27:30 +0000</pubDate>
		<dc:creator>Manuel Timita</dc:creator>
				<category><![CDATA[Harangues]]></category>

		<guid isPermaLink="false">http://timita.org/wordpress/?p=116</guid>
		<description><![CDATA[WkiLeaks, Julian Assange, Bradley Manning, and, generally, the hackers (boo!) have made the headlines lately. And they will keep on being an important news story for another few good weeks, as more and more of the 251,287 cables will be &#8230; <a href="http://timita.org/wordpress/2010/12/01/some-systems-are-impossible-to-hack-narrow-minds-for-instance/">Continue reading <span class="meta-nav">&#8594;</span></a>
<div class="twitterbutton" style="float: left; padding-right: 5px;"><a href="http://twitter.com/share?url=http://timita.org/wordpress/2010/12/01/some-systems-are-impossible-to-hack-narrow-minds-for-instance/&amp;text=Some systems are impossible to hack. Narrow minds, for instance&amp;via=&amp;related=DolcePixel"><img align="left" src="http://timita.org/wordpress/wp-content/plugins//easy-twitter-button/i/buttons/en/tweetn.png" style="border: none;" alt="" /></a></div>
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.bbc.co.uk/news/world-us-canada-11858895">WkiLeaks</a>, <a href="http://www.bbc.co.uk/news/world-11047811">Julian Assange</a>, <a href="http://www.guardian.co.uk/world/2010/nov/30/wikileaks-cables-bradley-manning">Bradley Manning</a>, and, generally, <em>the hackers</em> (boo!) have made the headlines lately. And they will keep on being an important news story for another few good weeks, as more and more of the <a href="http://cablegate.wikileaks.org/">251,287 cables</a> will be released, whilst a whole pack of Luddites will bark and dribble ink against communication technologies and the perceived threats associated with them.</p>
<p><a href="http://timita.org/wordpress/wp-content/uploads/2010/12/blind2.jpg"><img class="aligncenter size-full wp-image-117" title="Ignorance" src="http://timita.org/wordpress/wp-content/uploads/2010/12/blind2.jpg" alt="Ignorance" width="600" height="412" /></a><span id="more-116"></span>I don’t discuss here whether the leaks are a security threat or not. They might, or might not be; it is not for me to judge. For the moment they represent at least a big embarrassment. Yet, people should not mistake the effect for the cause.</p>
<p>WikiLeaks is a whistleblowing website and its existence should be cherished. The attack on Assange and his creation moves the attention – at least for the moment – from the real cause of what has happened: the utter lack of responsibility and professionalism of those who have designed the system for manipulating sensitive diplomatic data in the first place.</p>
<p>Unfortunately, as it usually happens, ‘thee hackers’ will be again scorned, blamed and hated due to sheer lack of understanding and knowledge.</p>
<p>One example of technophobia is given by the editor and author Max Hastings (ahem, short for Sir Max Hugh Macdonald Hastings), who has just laid down <a href="http://www.dailymail.co.uk/debate/article-1334284/WikiLeaks-How-long-secret-details-lives-internet.html">a sad piece of ignorance</a> in &#8211; not hard to guess &#8211; Daily Mail. Well, I don’t read that rag normally – the affinity for self-inflicted intellectual pain fortunately eludes me – but I couldn’t resist the title when seeing it on Google News.</p>
<p>In a nutshell, Mr Hastings’ tirade starts with the classic <em>technology puts data at risk, so good ol’ paper is better</em> type of discourse (a redundant subject, so I will not bother discussing it) and continues with red flags like scary omnipotent hackers (boo again!), “hacked company systems” (what the hell is that?), total loss of privacy and security, etc.</p>
<p>I don’t know much about Max Hastings, apart from what <a href="http://en.wikipedia.org/wiki/Max_Hastings">this article in Wikipedia</a> says about him, and I assume that his career is built on significant achievements (well, significant at least for those who gave him certain titles). Yet, it looks like he also gained some blinkers along with those labels. In his biased and less than informed article he misses an important point.</p>
<p><a href="http://en.wikipedia.org/wiki/Hack_%28technology%29">Hacking</a> is not about the dark side of computing. It is not about stealing card details and explicit honeymoon videos, or about building <a href="http://en.wikipedia.org/wiki/Botnet">botnets</a>. That is <em>malicious computer use</em>, which is indeed a crime, and the minds behind those acts are criminals. Hackers are a different breed. Hackers are subversive, intelligent, innovative and nevertheless gentle minds.</p>
<p>Hackers are like Alan Turing, the one who helped cracking the German ciphers used by the Enigma machine. And who previously, in 1937, has envisaged the <a href="http://en.wikipedia.org/wiki/Turing_machine">Turing machine</a>, a model still extensively used in the theory of computation. And of course, the same who, for the ‘sin’ of being homosexual, has been accused of gross indecency and chemically castrated immediately after the war. In this respect, Assange is a hacker, as he challenges and might just change journalism, diplomacy, and activism as we know them.</p>
<p><a href="http://lifehacker.com/5672997/the-benefits-of-disobedience-why-we-hack">Lifehacker puts it</a> better than I could ever try to: hackers “[challenge] people to do more with what they&#8217;re given. Hacking is a brand of disobedience that both expresses dissatisfaction with the status quo and does something to change it.” The ability to do more with the same inputs is called <em>development</em>, pure and simple. It differs from growth, which means merely “to increase in size or number” (<a href="http://www1.ximb.ac.in/users/fac/dpdash/dpdash.nsf/pages/CP_Growth">here is more food for thought</a> in less than ten paragraphs from Russell Ackoff, a great systems thinker).</p>
<p>So in this case, what the “no-hero” and “irresponsible ­mischief-maker” Julian Assange has done, was to push others to develop. To learn.</p>
<p>The US intelligence agencies will learn that the loyalty of a young army intelligence analyst cannot be nurtured through disrespect.</p>
<p>Some officers will learn to make the difference between a video camera and a rocket launcher, and spare the lives of innocent civilians.</p>
<p>Many diplomats (and not only them) will have to improve their communication skills, as they will need to put up with some hard work in re-establishing trust amongst their counterparts.</p>
<p>The civil society will learn again that the freedom of speech is not a given, but it requires the [self]sacrifice of a few individuals (whatever their motivations: fame, money, vanity, <a href="../2010/11/28/selfishness-as-a-reliable-vehicle-for-good-deeds/">altruism</a>, or activism). Curiously enough, even <a href="http://www.guardian.co.uk/media/2010/nov/30/julian-assange-wikileaks-legal-threats">Sweden is eager to grab Assange</a>, but as you might have guessed, not because they are burning with desire to give him the Nobel Prize for peace, obviously.</p>
<p>A horde of journalists <em>should</em> learn that people need to know the facts as they are, without being wrapped in editorial prejudice and regurgitated as truths.</p>
<p>Finally, many organisations around the world will learn that sensitive data should not simply be stored in a common pool from which employees can extract anything they want, in any quantity, without the possibility of being traced, and then put it on a memory stick. (What about blocking data-writing on external devices? What about granular <a href="http://en.wikipedia.org/wiki/Role-based_access_control">user access control</a>? The system architect responsible for this gross lack of professionalism should now be – at best – selling burgers in McDonald&#8217;s.)</p>
<p>And I hope that, for Mr Max Hastings and similar technophobic penmen, the “dreary old paper” will be indeed a safer choice. Preferably toilet paper, because it can be flushed quickly, after which it disintegrates. Well, Daily Mail is toilet paper too, but it has an electronic version and, oh dear, that technology is so bloody unsafe.</p>
<div class="twitterbutton" style="float: left; padding-right: 5px;"><a href="http://twitter.com/share?url=http://timita.org/wordpress/2010/12/01/some-systems-are-impossible-to-hack-narrow-minds-for-instance/&amp;text=Some systems are impossible to hack. Narrow minds, for instance&amp;via=&amp;related=DolcePixel"><img align="left" src="http://timita.org/wordpress/wp-content/plugins//easy-twitter-button/i/buttons/en/tweetn.png" style="border: none;" alt="" /></a></div>
<p><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Ftimita.org%2Fwordpress%2F2010%2F12%2F01%2Fsome-systems-are-impossible-to-hack-narrow-minds-for-instance%2F&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light&amp;height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:80px;" allowTransparency="true"></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://timita.org/wordpress/2010/12/01/some-systems-are-impossible-to-hack-narrow-minds-for-instance/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Selfishness as a reliable vehicle for good deeds</title>
		<link>http://timita.org/wordpress/2010/11/28/selfishness-as-a-reliable-vehicle-for-good-deeds/</link>
		<comments>http://timita.org/wordpress/2010/11/28/selfishness-as-a-reliable-vehicle-for-good-deeds/#comments</comments>
		<pubDate>Sun, 28 Nov 2010 22:10:30 +0000</pubDate>
		<dc:creator>Manuel Timita</dc:creator>
				<category><![CDATA[Second wind]]></category>

		<guid isPermaLink="false">http://timita.org/wordpress/?p=75</guid>
		<description><![CDATA[I have written the previous article without going into details about the ‘why’ of altruism, and why does it appear to be (not even paradoxically) more like a matter of egoism, so in what follows I will try to clarify &#8230; <a href="http://timita.org/wordpress/2010/11/28/selfishness-as-a-reliable-vehicle-for-good-deeds/">Continue reading <span class="meta-nav">&#8594;</span></a>
<div class="twitterbutton" style="float: left; padding-right: 5px;"><a href="http://twitter.com/share?url=http://timita.org/wordpress/2010/11/28/selfishness-as-a-reliable-vehicle-for-good-deeds/&amp;text=Selfishness as a reliable vehicle for good deeds&amp;via=&amp;related=DolcePixel"><img align="left" src="http://timita.org/wordpress/wp-content/plugins//easy-twitter-button/i/buttons/en/tweetn.png" style="border: none;" alt="" /></a></div>
]]></description>
			<content:encoded><![CDATA[<p>I have written <a href="http://timita.org/wordpress/2010/11/28/how-seeing-dead-humans-might-just-help-with-becoming-a-better-living-one/">the previous article</a> without going into details about the ‘why’ of altruism, and why does it appear to be (not even paradoxically) more like a matter of egoism, so in what follows I will try to clarify my point of view. Undoubtedly, the soup-spoiling cynical types out there might regard my intention of shaping an explanation as pointless, if not superfluous. Yet, when balancing on the edge between atheism and agnosticism, trying to explore the <em>‘why’</em>s, rather than the <em>‘how’</em>s of morality, beyond any religious beliefs and socio-cultural clichés, it is quite hard not to be fastidious.</p>
<p><a href="http://timita.org/wordpress/wp-content/uploads/2010/11/animal-altruism032.jpg"><img class="aligncenter size-full wp-image-78" title="Altruism" src="http://timita.org/wordpress/wp-content/uploads/2010/11/animal-altruism032.jpg" alt="Altruism" width="600" height="412" /></a></p>
<h6 style="text-align: center;"><em>Picture from <a href="http://sfgirl-thealiennextdoor.blogspot.com/2010/06/what-altruism-in-animals-can-teach-us.html">The Alien Next Door</a><br />
</em></h6>
<p><span id="more-75"></span>I am lucky enough to be suffering from a sleep disorder: for the last 15 years or so I had no idea that what I used to call as insomnia is actually delayed sleep-phase syndrome (fancy name for a disorder… do I attract any impulsive sympathy for that?). Sleep is perfectly fine, but only starting with 02:00 to 03:00 in the morning. Or after staying awake for more than two days consecutively. The time spent waiting to get out of that <a href="http://en.wikipedia.org/wiki/Second_wind_%28wakefulness%29">second wind</a> state gives me plenty of time for exploring conceptual mind traps. Like the one to which I dedicate this article.</p>
<p>Altruism has long been preached by some religious doctrines as a must-have human virtue, scorned as pure weakness by nihilists, revealed by genetics and some evolutionary theories as a sexual selection mechanism – that is, the survival of the nicest, and ultimately dissected and stripped of any graceful, humanistic connotations by neurobiology. Equally viable explanations, in my opinion, as it appears that there are as many facets of reality as there are minds looking at it (please remind me who said that because I own them a pint for copyright).</p>
<p>So, why selflessness? Depending through what sort of lenses you see the world, Jesus’ hints &amp; tips on non-resistance and disinterested ‘love for the many’ might be a good example of altruism (see also the passage on “turning the other cheek” if you still have a bible laying around).</p>
<p>If Jesus and his gesture of self-sacrifice indeed existed, from a Christian point of view he could very well be considered to be the first documented example of real altruism, as he appears to be selfless just for the very sake of it. That, of course, would suppose excluding any traces of godly genes and seeing him only as a man. (No point in being both a god and an altruist, really.) Being generous with (and loving) someone who is going to kill you is a nearly perfect example of self-abnegation. Of course, mental health care practitioners may beg to differ.</p>
<p>Yet, if the above-mentioned story has a minimum chance to acquire some degree of plausibility, then Jesus should also be considered the last truly altruistic Christian, as his followers would expect either rewards or punishment in the afterlife. Which in turn supports the evolutionary biology’s concept of reciprocal altruism. Not the best answer, isn’t it? We might as well exercise Aikido, the martial arts take on love and nonviolence, since that would be a bit more practical than committing to Christian dogmas.</p>
<p>Mentioning evolutionary biology has just reminded me of evolutionary anthropology, whose theorists have come up with some interesting findings (which I will not try to critically assess here, as that is not my intention). One idea, which during my teenage days I considered particularly attractive, was that of altruism as a sexual selection mechanism (you know, the alpha males disguised as gentlemen…)</p>
<p>Whilst some biologists are still researching whether in the animal world altruism increases male’s chances to find a mate, with humans <a href="http://www.epjournal.net/filestore/ep06386392.pdf">things are rather straightforward</a>. Therefore, word of advice, gents: if you’re dating an intelligent and educated lady, be careful when you tip your waiter. Not too generously, as that may just make your naughty intentions quite obvious, but not too meagrely either, as it may spoil your chance to diversify the gene pool.</p>
<p>Now I will leave the pelvic region and the sensual connotations of altruism behind, and move back to the mind, in order to highlight a philosophical perspective on altruism. Unfortunately, as I always favoured existentialist and nihilist doctrines (yes, they are distinct; Nietzsche’s bridging of the two should not fool you) my outlook, in this context, may come across as narrow.</p>
<p>So, since I brought the great German nihilist in discussion, it is worth pointing out that, in his view, altruism is the refuge of the weak. One point should be made, though: he does not seem to refer to the fragile, tragic and gentle types, but to the pathetic ones. That is, the weak may try to gain control over the powerful by just helping them. What is that if not selfish behaviour?</p>
<p>Only three perspectives on altruism put on display, but I hope I have made my point. As I suggested in <a href="http://timita.org/wordpress/2010/11/28/how-seeing-dead-humans-might-just-help-with-becoming-a-better-living-one/">the other article</a>, one may apparently have just one way of being genuinely good to oneself: by being good to others. It doesn’t really matter to which perspective you adhere (well, hopefully not to the last of the three that I outlined). Let your own selfishness (and, why not, even some vanity) do a good job for yourself and for anyone else around you.</p>
<div class="twitterbutton" style="float: left; padding-right: 5px;"><a href="http://twitter.com/share?url=http://timita.org/wordpress/2010/11/28/selfishness-as-a-reliable-vehicle-for-good-deeds/&amp;text=Selfishness as a reliable vehicle for good deeds&amp;via=&amp;related=DolcePixel"><img align="left" src="http://timita.org/wordpress/wp-content/plugins//easy-twitter-button/i/buttons/en/tweetn.png" style="border: none;" alt="" /></a></div>
<p><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Ftimita.org%2Fwordpress%2F2010%2F11%2F28%2Fselfishness-as-a-reliable-vehicle-for-good-deeds%2F&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light&amp;height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:80px;" allowTransparency="true"></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://timita.org/wordpress/2010/11/28/selfishness-as-a-reliable-vehicle-for-good-deeds/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How seeing dead people might just help you become a better (living) one</title>
		<link>http://timita.org/wordpress/2010/11/28/how-seeing-dead-humans-might-just-help-with-becoming-a-better-living-one/</link>
		<comments>http://timita.org/wordpress/2010/11/28/how-seeing-dead-humans-might-just-help-with-becoming-a-better-living-one/#comments</comments>
		<pubDate>Sun, 28 Nov 2010 00:24:14 +0000</pubDate>
		<dc:creator>Manuel Timita</dc:creator>
				<category><![CDATA[Second wind]]></category>

		<guid isPermaLink="false">http://timita.org/wordpress/?p=46</guid>
		<description><![CDATA[Shall I add that this might not really apply to those creating said less-than-pretty sight? Say, murderers. Also, I presume, it may have no effect on the very religious types, as they usually hope for the best once they’re off &#8230; <a href="http://timita.org/wordpress/2010/11/28/how-seeing-dead-humans-might-just-help-with-becoming-a-better-living-one/">Continue reading <span class="meta-nav">&#8594;</span></a>
<div class="twitterbutton" style="float: left; padding-right: 5px;"><a href="http://twitter.com/share?url=http://timita.org/wordpress/2010/11/28/how-seeing-dead-humans-might-just-help-with-becoming-a-better-living-one/&amp;text=How seeing dead people might just help you become a better (living) one&amp;via=&amp;related=DolcePixel"><img align="left" src="http://timita.org/wordpress/wp-content/plugins//easy-twitter-button/i/buttons/en/tweetn.png" style="border: none;" alt="" /></a></div>
]]></description>
			<content:encoded><![CDATA[<p>Shall  I add that this might not really apply to those creating said less-than-pretty sight? Say, murderers. Also, I presume, it may have no effect  on the very religious types, as they usually hope for the best once  they’re off to Walhalla.</p>
<p>Since  this is a personal experience, let me first say that I am not trying to  generalise my subjective point of view. My intention is only to suggest  a new outer symbol to support you – if that is the case – in the  process of learning about <em>how you can learn about your own self</em>.  And develop. It is your own business how you perceive what I convey,  and whether you want to internalise it or not.</p>
<p><a href="http://timita.org/wordpress/wp-content/uploads/2010/11/morgue2.jpg"><img class="aligncenter size-full wp-image-51" title="Morgue" src="http://timita.org/wordpress/wp-content/uploads/2010/11/morgue2.jpg" alt="Morgue" width="640" height="433" /></a><span id="more-46"></span>In case you wonder&#8230; no, I do  not condone the idea of snuff films, recorded executions, or anything  that even suggests torment and sufferance. Actually, I find it mentally  impossible to assimilate this sort of depictions – my memory just cuts  off (as it did a while ago, for a few days, after unintentionally seeing  the video of an execution in Afghanistan). Now,  what I am talking about is just … dead bodies. Let’s say, people that  have died due to – at least apparently – natural causes.</p>
<p>After  losing my faith, long ago, during my rebellious teenage years, I kept  on struggling to find a reason for being a good human being. The fact  that what I have learned along the way with regard to altruism as a concept was, at least from a  humanistic perspective, all but encouraging, was not meant to alleviate  that struggle either.</p>
<p>Last year I paid a visit to one of my friends in Dublin. Coincidentally, <a href="http://www.dublinevents.com/events/exhibition/bodies-ambassador.php">BODIES… The Exhibition</a> was in town. Artistically dissected and preserved human bodies,  arranged in different postures, staring through acrylic eyeballs, and  looking extremely dynamic despite their static positions. A must see, in  my opinion.</p>
<p>However,  the key point in my case is that, after seeing all that display of  naked human flesh, fat tissue, disentangled intestines and blood  vessels, I gained such a good picture of our day to day nothingness. As  species we might seem special (to whom, I wonder? but that is a  different story), but as individuals we are prone to be just little  walking bits of obscurity if we don&#8217;t do something about it.</p>
<p>The  hope for a next ‘something’ in our life (or after it) waiting to  happen, deeply ingrained in our nature, is nothing but otiose clowning.  We spend every single moment of our existence wishing and – worst of  all, seemingly knowing – that ‘something is going to happen’.</p>
<p>Like this  is not already enough, we instinctively don’t accept death as an end to  everything. Unless you are the next Camus, van Gogh or Henry VIII, it is  very unlikely that you’ll be surviving in the collective memory of any  group – in case that you endeavour that idea. If you are lucky enough to  be religious, at least you’ve got a painkiller.</p>
<p>That  dead body over there, over time, is clearly not you; <em>you</em> will have gone by then. If it is to be  more than just a forgotten pile of bones, or ashes (as per your choice)  and a pathetic handful of short-lived memories, you have to live less for yourself. Whenever  you can, whatever you can, to whomever you can – give. Give a part of  what you are and even of what you own if you can afford that.</p>
<p>Give help,  ideas, hopes, kisses, smiles, food, shelter. Only then your ego will  be so fulfilled that it is going to force you up the hill with the speed  of light. Up there you will push yourself even more, in order to gain  as much as you possibly can, in all respects, and then share again. Then  up the hill once more, to the next peak. That might just be a good way  to achieve success in your present life.</p>
<p>Does  it mean that you have to be the next Mother Theresa or Saint Francis?  Pretty much no; perhaps you would even look fairly stupid if you don’t  love and treat yourself well. But you nevertheless have to give away a big part of you. If you don&#8217;t believe in <a href="http://en.wikipedia.org/wiki/Mett%C4%81">loving-kindness</a> (for instance, I don&#8217;t), you will do it for the  sake of what you are, of what you can become in the process, and for the fact that you may  value others&#8217; future memories about you.</p>
<div class="twitterbutton" style="float: left; padding-right: 5px;"><a href="http://twitter.com/share?url=http://timita.org/wordpress/2010/11/28/how-seeing-dead-humans-might-just-help-with-becoming-a-better-living-one/&amp;text=How seeing dead people might just help you become a better (living) one&amp;via=&amp;related=DolcePixel"><img align="left" src="http://timita.org/wordpress/wp-content/plugins//easy-twitter-button/i/buttons/en/tweetn.png" style="border: none;" alt="" /></a></div>
<p><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Ftimita.org%2Fwordpress%2F2010%2F11%2F28%2Fhow-seeing-dead-humans-might-just-help-with-becoming-a-better-living-one%2F&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light&amp;height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:80px;" allowTransparency="true"></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://timita.org/wordpress/2010/11/28/how-seeing-dead-humans-might-just-help-with-becoming-a-better-living-one/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

