<?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>Alien Pastures &#187; encryption</title>
	<atom:link href="http://alien.slackbook.org/blog/tag/encryption/feed/" rel="self" type="application/rss+xml" />
	<link>http://alien.slackbook.org/blog</link>
	<description>My thoughts on Slackware, life and everything</description>
	<lastBuildDate>Mon, 06 Feb 2012 00:27:43 +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>Securely browsing the net &#8211; using SOCKS</title>
		<link>http://alien.slackbook.org/blog/securely-browsing-the-net-using-socks/</link>
		<comments>http://alien.slackbook.org/blog/securely-browsing-the-net-using-socks/#comments</comments>
		<pubDate>Sat, 10 Apr 2010 13:35:29 +0000</pubDate>
		<dc:creator>alienbob</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[browsing]]></category>
		<category><![CDATA[encryption]]></category>
		<category><![CDATA[socks]]></category>
		<category><![CDATA[tunnel]]></category>

		<guid isPermaLink="false">http://alien.slackbook.org/blog/?p=361</guid>
		<description><![CDATA[If you are using a public/open wireless access point (like, in an Internet Cafe), or if you live in a country where people are not all that happy or concerned about it&#8217;s citizens&#8217; freedom, you sometimes find yourself in the position that you want to hide your browsing behaviour from others. I will describe a [...]]]></description>
			<content:encoded><![CDATA[<p>If you are using a public/open wireless access point (like, in an Internet Cafe), or if you live in a country where people are not all that happy or concerned about it&#8217;s citizens&#8217; freedom, you sometimes find yourself in the position that you want to hide your browsing behaviour from others.</p>
<p>I will describe a setup which allows you to run your browser traffic through an encrypted tunnel. And using Firefox, even your DNS lookups will use that tunnel instead of talking to the local (possibly monitored) DNS server. There is one catch: you have to have a shell account on a remote SSH server.</p>
<p>This article uses a less-known feature of OpenSSH which is that the ssh client can create a SOCKS proxy.</p>
<p>Suppose you have a shell account &#8220;alien&#8221; on a remote server &#8220;safehaven.net&#8221;. Using ssh you can quickly setup a local SOCKS proxy using the following command (assuming you are running this command as non-root, you can only make your SOCKS proxy listen on non-privileged ports &#8211; anything higher than port 1024 is unprivileged):</p>
<p><span style="color: #0000ff;"><code>$ ssh -D 8888 alien@safehaven.net</code></span></p>
<p>Once your ssh client connects to that remote server, your local computer&#8217;s port 8888 will now act as a SOCKS proxy which enables encrypted traffic to the Internet for all applications that can use SOCKS proxies.</p>
<p>You then configure Firefox to use a SOCKS proxy; the proxy&#8217;s hostname will be &#8220;<span style="color: #0000ff;">127.0.0.1</span>&#8221; and the port is of course &#8220;<span style="color: #0000ff;">8888</span>&#8220;.</p>
<p>This is enough to hide your browsing (the URLs you access as well as the data you retrieve in your browser) from any 3rd party. But&#8230; your computer is still consulting a local DNS server for the hostname lookups. Anyone can still sniff that traffic and guess what you are doing. Even if your computer uses one of the many &#8220;free&#8221; DNS services on the Internet (like Google&#8217;s public DNS addresses <span style="color: #0000ff;">8.8.8.8</span> and <span style="color: #0000ff;">8.8.4.4</span>), your DNS lookups can possibly be monitored on the local network.</p>
<p>So, there is one more setting in Firefox which you have to to change in order to alter its DNS lookup behaviour. In your Firefox entry bar, type &#8220;about:config&#8221; which will show the low-level configuration options for the browser, most of which are not accessible through its &#8220;normal&#8221; GUI. Look for the entry:</p>
<p><span style="color: #0000ff;"><code>network.proxy.socks_remote_dns</code></span></p>
<p>which will have the value of &#8220;<span style="color: #0000ff;">false</span>&#8221; by default. Change its value to &#8220;<span style="color: #0000ff;">true</span>&#8221; by double-clicking it. From then on, Firefox will use the DNS server at the remote end of the SOCKS proxy instead of the locally configured DNS server, thereby effectively hiding your browsing from anyone. If you happen to be in a situation where  you know that DNS lookups are being filtered or spoofed, this is your secure way out of this ugliness.</p>
<p>Eric</p>
]]></content:encoded>
			<wfw:commentRss>http://alien.slackbook.org/blog/securely-browsing-the-net-using-socks/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Dropbox</title>
		<link>http://alien.slackbook.org/blog/dropbox/</link>
		<comments>http://alien.slackbook.org/blog/dropbox/#comments</comments>
		<pubDate>Thu, 19 Nov 2009 01:07:25 +0000</pubDate>
		<dc:creator>alienbob</dc:creator>
				<category><![CDATA[Slackware]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[cloud]]></category>
		<category><![CDATA[cross-platform]]></category>
		<category><![CDATA[encryption]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[storage]]></category>

		<guid isPermaLink="false">http://alien.slackbook.org/blog/?p=168</guid>
		<description><![CDATA[Is your head in the clouds yet? For years now, I have been waiting for Google&#8217;s promise of free online storage, called the &#8220;GDrive&#8220;. In the meantime Google (and it&#8217;s competitors) have made it much easier to store your data online in various ways (look at Picasa Web Albums, Google Docs, Gmail etc), but that [...]]]></description>
			<content:encoded><![CDATA[<p><img class="size-full wp-image-170 alignright" style="border: 0pt none; margin: 10px;" title="dropboxlogo" src="http://alien.slackbook.org/blog/wp-content/uploads/2009/11/dropboxlogo.png" alt="Dropbox Logo" width="231" height="60" /></p>
<p>Is your head in the clouds yet?</p>
<p>For years now, I have been waiting for Google&#8217;s promise of free online storage, called the &#8220;<a href="http://googlesystem.blogspot.com/2009/11/buy-more-google-storage.html" target="_blank">GDrive</a>&#8220;. In the meantime Google (and it&#8217;s competitors) have made it much easier to store your data online in various ways (look at Picasa Web Albums, Google Docs, Gmail etc), but that is not quite the same.</p>
<p>With the current expansion of &#8220;<a href="http://en.wikipedia.org/wiki/Cloud_computing" target="_blank">cloud computing</a>&#8221; -  yet another small step toward the Matrix becoming reality &#8211; it was just a matter of time to see new <em>free</em> cloud services emerging.</p>
<p>One of those cloud services made a click in my brain the moment I saw it. <a href="http://www.dropbox.com/" target="_blank">Dropbox</a> gives you a <em>free</em> 2.5 GB of online &#8220;cloud&#8221; storage. As if this is not enough, the Dropbox folks increase your storage limit with 250MB increments &#8211; also for free &#8211; when you go through the Dropbox tutorial, and/or invide your friends to use the service as well. You can buy even more storage , if you need it.</p>
<p>What exactly does it do? Well, think of it as a two interconnected &#8220;boxes&#8221;, one on your own computer and the other on the Internet, in which you store your files. In fact, the manifestation of that &#8220;dropbox&#8221; is just a directory on your local computer. Everything in the local Dropbox is immediately synchronized with the server&#8217;s Dropbox. It is a real-time backup facility! Beware of modifying large files though &#8211; because <em>any</em> change to a file inside the Dropbox triggers it&#8217;s upload to the server. That will eat your bandwidth if the file would be hundreds of megabytes in size.</p>
<p>By installing Dropbox on another computer using the same account, you are able to access your online backup there as well. The Dropbox on the other computer will be synchronized with the server &#8211; i.e. all files on the server will be downloaded to that computer. Dropbox is intelligent enough to allow multiple people using the same Dropbox at the same time! If more than one person changes the same file (so that two versions of that file will be uploaded to  the server) you end up with <em>all</em> versions of the file being stored on the server with slightly changed filenames, nothing gets deleted. Bonus: the changed files that were uploaded to the server by the other person&#8217;s Dropbox, will find their way to your own local dropbox and vice versa. The synchronization works both ways.</p>
<p>I have been using Dropbox for a while now and it works very well for me. It is platform independent (clients for Linux, Windows and Mac are available).  It has built-in collaboration: you can share a directory in your Dropbox. When someone joins a shared folder, the folder appears inside their Dropbox, and syncs to their computers automatically. You can even make  files available to people who themselves have no dropbox account: one directory in your dropbox is considered &#8220;public&#8221;, and that is how it is named too. Every file in that directory is publicly accessible using a web browser.</p>
<p>In true alien tradition, I created <a href="http://slackware.com/~alien/slackbuilds/dropbox-client/" target="_blank">a Slackware package</a> which gives you the <em>dropbox-client</em>, a system tray applet. Depending on your DE, it will either start dolphin (in KDE4), or thunar (in XFCE), or whatever application is your default file manager when you click the applet&#8217;s icon. The first time this Dropbox client starts (from the system menu or by running <em>/usr/bin/dropbox</em>), you will be asked to fill in your account data and if you did not download the server component yourself, the client will proceed to download the <em>binary</em> closed-source dropbox server and install that to <em>~/.dropbox-dist/</em> (yes, the program lives in your homedirectory). Oh, I hear your &#8220;<em>gulp!</em>&#8221; but it is really basic stuff, and you will find it easy to setup.</p>
<p>If you do not care for a GUI because you run a server, you&#8217;re not left out in the cold. You can simply forget my package, and download the dropbox daemon yourself. There is <a href="http://wiki.dropbox.com/TipsAndTricks/TextBasedLinuxInstall" target="_blank">a page on the Dropbox Wiki</a> which explains the steps.</p>
<p>Enough talk! Get Dropbox at <a href="https://www.dropbox.com/" target="_blank">http://www.dropbox.com/</a> or even better, use my referral link <a href="https://www.dropbox.com/referrals/NTM2MTg1MzY5" target="_blank">https://www.dropbox.com/referrals/NTM2MTg1MzY5</a> to create your account. Using the referral gives <em>you and me both </em>an additional 250 MB of free online storage (up to a maximum of 8 GB bonus space).</p>
<p>And remember: backups are important! It can not be stressed enough. However, if you intend to save sensitive data in your dropbox, be sure to encrypt that first, for instance using <a href="http://keepass.info/" target="_blank">KeePass</a> or <a href="http://truecrypt.org/" target="_blank">Truecrypt</a>, both programs are cross-platform (Linux and Windows).</p>
<p>Take care,  Eric</p>
]]></content:encoded>
			<wfw:commentRss>http://alien.slackbook.org/blog/dropbox/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>

