<?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>dbugs.org</title>
	<atom:link href="http://blog.dbugs.org/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.dbugs.org</link>
	<description>where knowledge meets creation</description>
	<lastBuildDate>Tue, 03 Nov 2009 04:14:14 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>it&#8217;s not possible!</title>
		<link>http://blog.dbugs.org/2009/10/21/iphone_wifi_eduroam_ualg_howto/</link>
		<comments>http://blog.dbugs.org/2009/10/21/iphone_wifi_eduroam_ualg_howto/#comments</comments>
		<pubDate>Wed, 21 Oct 2009 17:39:04 +0000</pubDate>
		<dc:creator>Marco Garcês</dc:creator>
				<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[WIFI]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[eduroam]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[iPod Touch]]></category>
		<category><![CDATA[UAlg]]></category>

		<guid isPermaLink="false">http://blog.dbugs.org/?p=213</guid>
		<description><![CDATA[So you are a UAlg student (or you work inside UAlg), and you have a iPhone/iPod Touch, and tried to access WiFi network using eduroam, but you were not able to do that&#8230; so they said to me!!
Here is how you do it:

First, with you device (iPhone or iPod) go to bit.ly/eduroam_ualg (my UAlg&#8217;s student [...]]]></description>
			<content:encoded><![CDATA[<p>So you are a <a title="UAlg - Universidade do Algarve" href="http://www.ualg.pt">UAlg</a> student (or you work inside UAlg), and you have a iPhone/iPod Touch, and tried to access WiFi network using <em>eduroam, </em>but you were not able to do that&#8230; so they said to me!!</p>
<p><span id="more-213"></span>Here is how you do it:</p>
<ul>
<li>First, with you device (iPhone or iPod) go to <a title="http://www.deei.fct.ualg.pt/~a24121/" href="http://bit.ly/eduroam_ualg">bit.ly/eduroam_ualg</a> (my UAlg&#8217;s student homepage). You have got to do this with your 3G connection, or other WiFi network.</li>
<li>Download the <em><strong>eduroam_UAlg.mobileconfig</strong> </em>file to your device</li>
<li>A dialog will appear, asking to install a new profile. Click<strong> </strong><em><strong>Install</strong> </em>and after that, <strong> </strong><em><strong>Install Now</strong> (</em>it will say that this procedure will change setting on your device)</li>
<li>Once the new profile is installed and verified, a new dialog asking for your username, will appear. Input your UAlg&#8217;s credentials (normally it is your e-mail, in the form of <em><strong>aXXXXX@ualg.pt</strong></em>), and then click <em><strong>Next</strong></em></li>
<li>The next dialog will say in green <em><strong>Verified</strong></em>, you just have to click <em><strong>Done</strong></em></li>
<li>Once you are inside the campus, go to your <em><strong>WiFi Networks</strong> </em>in system preferences, and click on the <em><strong>eduroam</strong> </em>access point, that now shows up.</li>
<li>Your e-mail should now show up, and you should insert your password.</li>
<li>When joining for the first time, you have to accept the certificate, by clicking the <em><strong>Accept</strong></em> button.</li>
<li>After this, you can start surfing! No need to configure proxy settings!</li>
</ul>
<p>I hope this helps everyone to stay connected without problems. If you are having difficulty with some of the steps, leave a comment, and I will be happy to help you sorting this out. Also, if it keeps asking for the password, tell me. I think I solved this problem, but you never know&#8230;.</p>
<p>Here are the steps necessary, this time, with some screenshots:</p>

<div class="ngg-galleryoverview" id="ngg-gallery-2-213">


	
	<!-- Thumbnails -->
		
	<div id="ngg-image-18" class="ngg-gallery-thumbnail-box" style="width:25%;" >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://blog.dbugs.org/wp-content/gallery/eduroam_ualg/eduroamualg1.jpg" title=" " class="thickbox" rel="set_2" >
								<img title="eduroamualg1" alt="eduroamualg1" src="http://blog.dbugs.org/wp-content/gallery/eduroam_ualg/thumbs/thumbs_eduroamualg1.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-22" class="ngg-gallery-thumbnail-box" style="width:25%;" >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://blog.dbugs.org/wp-content/gallery/eduroam_ualg/eduroamualg2.jpg" title=" " class="thickbox" rel="set_2" >
								<img title="eduroamualg2" alt="eduroamualg2" src="http://blog.dbugs.org/wp-content/gallery/eduroam_ualg/thumbs/thumbs_eduroamualg2.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-23" class="ngg-gallery-thumbnail-box" style="width:25%;" >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://blog.dbugs.org/wp-content/gallery/eduroam_ualg/eduroamualg3.jpg" title=" " class="thickbox" rel="set_2" >
								<img title="eduroamualg3" alt="eduroamualg3" src="http://blog.dbugs.org/wp-content/gallery/eduroam_ualg/thumbs/thumbs_eduroamualg3.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-24" class="ngg-gallery-thumbnail-box" style="width:25%;" >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://blog.dbugs.org/wp-content/gallery/eduroam_ualg/eduroamualg4.jpg" title=" " class="thickbox" rel="set_2" >
								<img title="eduroamualg4" alt="eduroamualg4" src="http://blog.dbugs.org/wp-content/gallery/eduroam_ualg/thumbs/thumbs_eduroamualg4.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
				<br style="clear: both" />
	
 		
	<div id="ngg-image-25" class="ngg-gallery-thumbnail-box" style="width:25%;" >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://blog.dbugs.org/wp-content/gallery/eduroam_ualg/eduroamualg5.jpg" title=" " class="thickbox" rel="set_2" >
								<img title="eduroamualg5" alt="eduroamualg5" src="http://blog.dbugs.org/wp-content/gallery/eduroam_ualg/thumbs/thumbs_eduroamualg5.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-26" class="ngg-gallery-thumbnail-box" style="width:25%;" >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://blog.dbugs.org/wp-content/gallery/eduroam_ualg/eduroamualg6.jpg" title=" " class="thickbox" rel="set_2" >
								<img title="eduroamualg6" alt="eduroamualg6" src="http://blog.dbugs.org/wp-content/gallery/eduroam_ualg/thumbs/thumbs_eduroamualg6.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-27" class="ngg-gallery-thumbnail-box" style="width:25%;" >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://blog.dbugs.org/wp-content/gallery/eduroam_ualg/eduroamualg7.jpg" title=" " class="thickbox" rel="set_2" >
								<img title="eduroamualg7" alt="eduroamualg7" src="http://blog.dbugs.org/wp-content/gallery/eduroam_ualg/thumbs/thumbs_eduroamualg7.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-28" class="ngg-gallery-thumbnail-box" style="width:25%;" >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://blog.dbugs.org/wp-content/gallery/eduroam_ualg/eduroamualg8.jpg" title=" " class="thickbox" rel="set_2" >
								<img title="eduroamualg8" alt="eduroamualg8" src="http://blog.dbugs.org/wp-content/gallery/eduroam_ualg/thumbs/thumbs_eduroamualg8.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
				<br style="clear: both" />
	
 		
	<div id="ngg-image-29" class="ngg-gallery-thumbnail-box" style="width:25%;" >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://blog.dbugs.org/wp-content/gallery/eduroam_ualg/eduroamualg9.jpg" title=" " class="thickbox" rel="set_2" >
								<img title="eduroamualg9" alt="eduroamualg9" src="http://blog.dbugs.org/wp-content/gallery/eduroam_ualg/thumbs/thumbs_eduroamualg9.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-19" class="ngg-gallery-thumbnail-box" style="width:25%;" >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://blog.dbugs.org/wp-content/gallery/eduroam_ualg/eduroamualg10.jpg" title=" " class="thickbox" rel="set_2" >
								<img title="eduroamualg10" alt="eduroamualg10" src="http://blog.dbugs.org/wp-content/gallery/eduroam_ualg/thumbs/thumbs_eduroamualg10.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-20" class="ngg-gallery-thumbnail-box" style="width:25%;" >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://blog.dbugs.org/wp-content/gallery/eduroam_ualg/eduroamualg11.jpg" title=" " class="thickbox" rel="set_2" >
								<img title="eduroamualg11" alt="eduroamualg11" src="http://blog.dbugs.org/wp-content/gallery/eduroam_ualg/thumbs/thumbs_eduroamualg11.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-21" class="ngg-gallery-thumbnail-box" style="width:25%;" >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://blog.dbugs.org/wp-content/gallery/eduroam_ualg/eduroamualg12.jpg" title=" " class="thickbox" rel="set_2" >
								<img title="eduroamualg12" alt="eduroamualg12" src="http://blog.dbugs.org/wp-content/gallery/eduroam_ualg/thumbs/thumbs_eduroamualg12.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
				<br style="clear: both" />
	
 	 	
	<!-- Pagination -->
 	<div class="ngg-clear">&nbsp;</div> 	
</div>


]]></content:encoded>
			<wfw:commentRss>http://blog.dbugs.org/2009/10/21/iphone_wifi_eduroam_ualg_howto/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Haskell saves lives!!</title>
		<link>http://blog.dbugs.org/2009/01/25/haskell-saves-lives/</link>
		<comments>http://blog.dbugs.org/2009/01/25/haskell-saves-lives/#comments</comments>
		<pubDate>Sun, 25 Jan 2009 20:46:17 +0000</pubDate>
		<dc:creator>Marco Garcês</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[haskell]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://blog.dbugs.org/?p=169</guid>
		<description><![CDATA[I am taking a discipline at my University, which is called Functional Programming, and it&#8217;s all based on Haskell.
At the beginning, it was very hard to let go the few coding know-how I had, but then I got things rolling, and now I can only say this is a very cool programming language to learn.
My [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;">I am taking a discipline at my <a title="UAlg - Universidade do Algarve" href="http://www.ualg.pt" target="_self">University</a>, which is called Functional Programming, and it&#8217;s all based on <a title="Haskell website" href="http://www.haskell.org/" target="_self">Haskell</a>.</p>
<p style="text-align: left;">At the beginning, it was very hard to let go the few coding know-how I had, but then I got things rolling, and now I can only say this is a very cool programming language to learn.</p>
<p style="text-align: left;"><span id="more-169"></span>My post tonight, is just to leave a big prop to a guy who made a entire <a title="Learn You a Haskell for Great Good!" href="http://learnyouahaskell.com/" target="_self">website</a> dedicated to teaching Haskell, but doing it in a fun way! I even leave here a pdf made of prints from the website, which is licenced as <a title="Thank you CC!" href="http://blog.dbugs.org/2008/03/27/thank-you-cc/" target="_self">Creative Commons</a>. It&#8217;s still a beta site, but don&#8217;t get it wrong! It&#8217;s the best Haskell tutorial I have found, including books and so!</p>
<p style="text-align: left;">Hope you can enjoy his work! Please leave comments if you find this has helped you in some way! Have fun!</p>
<p style="text-align: left;">
<div class="mceTemp" style="text-align: left;">
<dl class="wp-caption alignleft" style="width: 110px;">
<dt class="wp-caption-dt"><a href="http://blog.dbugs.org/wp-content/uploads/2009/01/haskell_book.pdf"><img style="border: 1px solid black;" title="pdf download" src="http://farm4.static.flickr.com/3260/2700219289_294935a551_o.jpg" alt="" width="100" height="100" /></a></dt>
<dd class="wp-caption-dd">Download PDF</dd>
</dl>
</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.dbugs.org/2009/01/25/haskell-saves-lives/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>quick recipe</title>
		<link>http://blog.dbugs.org/2009/01/05/quick-wordpress-upgrade-recipie/</link>
		<comments>http://blog.dbugs.org/2009/01/05/quick-wordpress-upgrade-recipie/#comments</comments>
		<pubDate>Mon, 05 Jan 2009 00:49:04 +0000</pubDate>
		<dc:creator>Marco Garcês</dc:creator>
				<category><![CDATA[Blogs]]></category>
		<category><![CDATA[CLI]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[new]]></category>
		<category><![CDATA[svn]]></category>
		<category><![CDATA[upgrade]]></category>

		<guid isPermaLink="false">http://blog.dbugs.org/?p=151</guid>
		<description><![CDATA[Such a long time since my last post&#8230; so here is a quick recipe for Wordpress upgrade:



Login to your shell
mv blog blog_old
mkdir blog_new &#38;&#38; cd blog_new &#38;&#38; svn co http://svn.automattic.com/wordpress/tags/2.7 .
cd ~/blog_old/
cp -p wp-config.php .htaccess ../blog_new &#38;&#38; cp -rpf wp-content/* ../blognew/wp-content
cd ~/blog_new/ &#38;&#38; svn sw http://svn.automattic.com/wordpress/tags/2.7/ . 
mv blog_new blog

go to http://&#60;you_url&#62;/wp-admin/upgrade.php and perform the [...]]]></description>
			<content:encoded><![CDATA[<p>Such a long time since my last post&#8230; so here is a quick recipe for Wordpress upgrade:</p>
<p style="text-align: center;">
<p><span id="more-151"></span></p>
<ol>
<li>Login to your shell</li>
<li><em><code>mv blog blog_old</code></em></li>
<li><em><code>mkdir blog_new &amp;&amp; cd blog_new</code></em><code><em> &amp;&amp; svn co http://svn.automattic.com/wordpress/tags/2.7 .</em></code><em></em></li>
<li><em><code>cd ~/blog_old/</code></em></li>
<li><em><code>cp -p wp-config.php .htaccess ../blog_new &amp;&amp; cp -rpf wp-content/* ../blognew/wp-content</code></em></li>
<li><em><code>cd ~/blog_new/ &amp;&amp; svn sw http://svn.automattic.com/wordpress/tags/2.7/ . </code></em></li>
<li><em><code>mv blog_new blog</code><br />
</em></li>
<li>go to http://&lt;you_url&gt;/wp-admin/upgrade.php and perform the update process</li>
</ol>
<p>And thats it! Put it in the hoven for 10 minutes and leave to rest! After that go enjoy your new and upgraded blog! Oh, by the way, each time a new version comes out, just go inside your blog dir and do a:</p>
<ul>
<li><em><code>svn sw http://svn.automattic.com/wordpress/tags/2.7/ . </code></em></li>
</ul>
<p>Pretty sweet! =)</p>
<p><strong>UPDATE:</strong> in fact you can forget step 2, and just move your old directory in the end, when about to go live. Perform the all the steps in the recipe, than at the end, just change blog to blog_old (or some other name you might have) and change blog_new to blog. This way you now point to you new <a title="svn - version control system" href="http://subversion.tigris.org/" target="_self">SVN</a> install, and you old stuff is safeguarded. Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dbugs.org/2009/01/05/quick-wordpress-upgrade-recipie/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Thank you CC!</title>
		<link>http://blog.dbugs.org/2008/03/27/thank-you-cc/</link>
		<comments>http://blog.dbugs.org/2008/03/27/thank-you-cc/#comments</comments>
		<pubDate>Thu, 27 Mar 2008 02:11:40 +0000</pubDate>
		<dc:creator>Marco Garcês</dc:creator>
				<category><![CDATA[Creative Commons]]></category>
		<category><![CDATA[personal]]></category>
		<category><![CDATA[by-nc-nd]]></category>
		<category><![CDATA[cc]]></category>
		<category><![CDATA[commons]]></category>
		<category><![CDATA[creative]]></category>
		<category><![CDATA[dbugs]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[stickers]]></category>

		<guid isPermaLink="false">http://blog.dbugs.org/2008/03/27/thank-you-cc/</guid>
		<description><![CDATA[This is just a big thank you post, for the great guys at Creative Commons..!
Not only are they doing a great job, by providing us with the tools we need to licence our creative work (or not so creative), but they also do everything they can to help everyone. My own site uses a CC [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://blog.dbugs.org/wp-content/uploads/2008/03/cclogo.png" alt="CC_full_logo" align="right" height="68" width="282" />This is just a big thank you post, for the great guys at <a href="http://creativecommons.org/" title="Creative Commons official website">Creative Commons</a>..!</p>
<p><span id="more-119"></span>Not only are they doing a great job, by providing us with the tools we need to licence our creative work (or not so creative), but they also do everything they can to help everyone. My own site uses a <a href="http://creativecommons.org/" title="Creative Commons official website">CC</a> licence, so I can only be proud of talking about them.</p>
<p>In their own words:</p>
<blockquote><p><img src="http://blog.dbugs.org/wp-content/uploads/2008/03/cclogocircle.png" alt="CC_logo" align="right" height="82" width="82" /><a href="http://creativecommons.org/" title="Creative Commons official website">Creative Commons</a> provides free tools that let authors, scientists, artists, and educators easily mark their creative work with the freedoms they want it to carry. You can use <a href="http://creativecommons.org/" title="Creative Commons official website">CC</a> to change your copyright terms from &#8220;All Rights Reserved&#8221; to &#8220;Some Rights Reserved.&#8221;</p></blockquote>
<p>I&#8217;m doing a presentation at my <a href="http://www.ualg.pt" title="Universidade do Algarve - UAlg">University</a>, in a discipline regarding communications techniques, and I decided to <img src="http://blog.dbugs.org/wp-content/uploads/2008/03/ccdeedicons.png" alt="CC_deeds" align="left" height="196" hspace="25" vspace="25" width="83" />speak about <a href="http://creativecommons.org/" title="Creative Commons official website">Creative Commons</a>. I wanted to give something to my audience, so I&#8217;ve contacted <a href="http://creativecommons.org/" title="Creative Commons official website">CC</a>, requesting some flyers or any merchandise they could send me, so I could do a better interactive work with everyone.</p>
<p>They were so great, and answered really fast! In six days I received a mail order with a lot&#8217;s of stickers and some postcards, all <a href="http://creativecommons.org/" title="Creative Commons official website">Creative Commons</a> related.</p>
<p>I think everyone, should follow their example, and be professional like this!</p>
<p>Once again, THANK YOU Creative Commons, I will do anything at my power to spread the word!  Keep up the good work!</p>
<p><a href="http://blog.dbugs.org/wp-content/uploads/2008/03/cc_mail.jpg" title="CC merchandise in the mail"></a></p>
<p style="text-align: center"><a href="http://blog.dbugs.org/wp-content/uploads/2008/03/cc_mail.jpg" title="CC merchandise in the mail" rel="lightbox"><img src="http://blog.dbugs.org/wp-content/uploads/2008/03/cc_mail.jpg" alt="CC merchandise in the mail" align="absmiddle" height="310" width="411" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dbugs.org/2008/03/27/thank-you-cc/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>I feel so limited&#8230;</title>
		<link>http://blog.dbugs.org/2008/02/22/4-gb-memory-limitation/</link>
		<comments>http://blog.dbugs.org/2008/02/22/4-gb-memory-limitation/#comments</comments>
		<pubDate>Fri, 22 Feb 2008 12:03:29 +0000</pubDate>
		<dc:creator>Marco Garcês</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[4GB]]></category>
		<category><![CDATA[intel]]></category>
		<category><![CDATA[memory]]></category>
		<category><![CDATA[PAE]]></category>
		<category><![CDATA[ram]]></category>
		<category><![CDATA[vista]]></category>
		<category><![CDATA[xp]]></category>

		<guid isPermaLink="false">http://blog.dbugs.org/2008/02/22/4-gb-memory-limitation/</guid>
		<description><![CDATA[Yesterday at work, my boss asked me, if I knew the 4GB memory limitation Windows Vista had, because a client was there having problems with this issue&#8230;
Since I&#8217;m not a big windows user, except for a desktop that his only purpose is to download Linux distros using bit torrent protocol, I was not fully aware [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://farm3.static.flickr.com/2317/1568025784_8f10e9d3c6_t.jpg" rel="lightbox"><img style="border: 5px solid black;" src="http://farm3.static.flickr.com/2317/1568025784_8f10e9d3c6_t.jpg" border="5" alt="copyright http://www.flickr.com/photos/sikachu/" width="83" height="125" align="right" /></a>Yesterday at work, my boss asked me, if I knew the 4GB memory limitation Windows Vista had, because a client was there having problems with this issue&#8230;<span id="more-117"></span></p>
<p>Since I&#8217;m not a big windows user, except for a desktop that his only purpose is to download Linux distros using bit torrent protocol, I was not fully aware of this limitation.</p>
<p>So I did some quick research and realized that this limitation was not a Windows problem, but a hardware problem! You see, 32-bit systems have a limit of memory that they can use. Normally this is 4GB minus the total ammount of memory in the Video Card, the BIOS and everything inside you machine that has memory. So most of the users that now buy 4Gib ram to use with their brand new Vista machine, get stucked at 3 ou 3,5 Gib.</p>
<p>Even thouhg Linux also suffers from the same limitations, it is able to handle higher memory installed, since it uses correctly the PAE&#8230; What is PAE you might ask? PAE, or <a title="Physical Address Extension" href="http://en.wikipedia.org/wiki/Physical_Address_Extension">Physical Address Extension</a> is a feature that allows the use of more than 4Gib of physical memory, given apropriate operating system support for this feature.</p>
<p>There are some things you might do to enable PAE in 32-bit Vista, but I haven&#8217;t tryed yet this.. maybe in the future&#8230;</p>
<p>Here are some places you can go, to read a little bit more and try for yourself:</p>
<ul>
<li><a title="Enabling PAE on 32-bit Windows Vista" href="http://www.thegeeksweek.com/blog/enabling-pae-on-32-bit-windows-vista.html">Enabling PAE in Vista</a></li>
<li><a title="Physical Address Extension" href="http://en.wikipedia.org/wiki/Physical_Address_Extension">Wiki on PAE</a></li>
<li><a title="The system memory that is reported in the System Information dialog box in Windows Vista is less than you expect if 4 GB of RAM is installed" href="http://support.microsoft.com/kb/929605">Microsoft on PAE in Vista</a></li>
</ul>
<p>In the future, this limitation will be overcome, since the use of 64-bit systems sets the memory limit much higher. If you want 4Gib, with no hassle just switch to a superior operating system like GNU/Linux or Mac OS X =)</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dbugs.org/2008/02/22/4-gb-memory-limitation/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Hungry budy</title>
		<link>http://blog.dbugs.org/2008/01/25/would-you-eat-your-buddies-in-a-blizzard/</link>
		<comments>http://blog.dbugs.org/2008/01/25/would-you-eat-your-buddies-in-a-blizzard/#comments</comments>
		<pubDate>Fri, 25 Jan 2008 13:27:00 +0000</pubDate>
		<dc:creator>Marco Garcês</dc:creator>
				<category><![CDATA[dbugs]]></category>
		<category><![CDATA[fuuny]]></category>
		<category><![CDATA[buddies]]></category>
		<category><![CDATA[cannibalism]]></category>
		<category><![CDATA[funny]]></category>

		<guid isPermaLink="false">http://blog.dbugs.org/2008/01/25/would-you-eat-your-buddies-in-a-blizzard/</guid>
		<description><![CDATA[It&#8217;s been a while since my last post, but unfurtunetly sometimes things don&#8217;t go how we plan, and the less you pay attention to something, more likely you put aside that thing, and that was what happened with dbugs.org.

Let&#8217;s hope that in the future I will have more time, and things go smoother&#8230; =)
Today I [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been a while since my last post, but unfurtunetly sometimes things don&#8217;t go how we plan, and the less you pay attention to something, more likely you put aside that thing, and that was what happened with dbugs.org.<br />
<span id="more-116"></span><br />
Let&#8217;s hope that in the future I will have more time, and things go smoother&#8230; =)</p>
<p>Today I received a e-mail from a good friend of mine, to make a test to know how likely would I eat my friends in case of emergency. The website is called  &#8220;Would You Eat Your Buddies in a Blizzard?&#8221;. Here I post my results, and invite you to take the test and post back your results in the comments&#8230; I want to know with who I would arrange my vacations!!!</p>
<p><a href="http://www.justsayhi.com/bb/view2/eat_buddies" style="background: #333333 url('http://assets.justsayhi.com/badges/852/940/eat_buddies.ptv70zqews.jpg') no-repeat scroll 0% 50%; display: block; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; width: 320px; height: 90px; font-family: Arial,sans-serif; font-size: 35px; color: #ffffff; text-decoration: none; text-align: center; padding-top: 110px">54%</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dbugs.org/2008/01/25/would-you-eat-your-buddies-in-a-blizzard/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>SSH on Window$.. .the smart way!</title>
		<link>http://blog.dbugs.org/2007/09/29/ssh-on-windows-smart-way/</link>
		<comments>http://blog.dbugs.org/2007/09/29/ssh-on-windows-smart-way/#comments</comments>
		<pubDate>Sat, 29 Sep 2007 15:32:24 +0000</pubDate>
		<dc:creator>Marco Garcês</dc:creator>
				<category><![CDATA[CLI]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://blog.dbugs.org/2007/09/29/ssh-on-windows-smart-way/</guid>
		<description><![CDATA[This will be a quick one&#8230; Do you use Linux over the command-line? Do you access remotely these machines using SSH? Are you sitting in front of a Windows computer? If your answers were yes to all three, I&#8217;m going to assume that you know the Putty software, and you already use it.. Now lets [...]]]></description>
			<content:encoded><![CDATA[<p>This will be a quick one&#8230; Do you use Linux over the command-line? Do you access remotely these machines using SSH? Are you sitting in front of a Windows computer? If your answers were yes to all three, I&#8217;m going to assume that you know the <a href="http://en.wikipedia.org/wiki/PuTTY" title="everything on the Putty software">Putty</a> software, and you already use it.. Now lets learn how to use it&#8230; the smart way!<br />
<span id="more-114"></span>These are very simple steps, and will save you a lot of clicks and time, not to mention its way more cool!</p>
<ol>
<li><a href="http://www.google.com/search?q=putty+download&amp;ie=utf-8&amp;oe=utf-8&amp;aq=t&amp;rls=org.mozilla:en-US:official&amp;client=firefox-a" title="get your copy of Putty">Download</a> Putty to you desktop</li>
<li>Change the name of the file, from <em>putty.exe</em> to <em>ssh.exe</em></li>
<li>Move this file to your <strong><em>Windows</em></strong> directory (should be on you drive <strong><em>C:\</em></strong>)</li>
<li>Press <em><a href="http://en.wikipedia.org/wiki/Windows_key" title="don't know the windows key?">Windows Key</a> + R</em> (shortcut for run command)</li>
<li>Type <em>ssh user@remote.example.com </em>(use your own user and server)</li>
</ol>
<p>If you got everything right, you now will be asked for your user password.. You can do it even smarter, and use <a href="http://blog.dbugs.org/2007/06/17/ssh-keys-authentication/" title="my post on the subject, no steps for putty">public key authentication</a>, which I love so much, and no more typing would be necessary.</p>
<p>Very cool right? No more fiddling for Putty.exe, no more clicks, no more hassle.. Just &#8220;<strong>RUN+ssh+options</strong>&#8221; and this will get you there! Like I said, SSH on Windows&#8230; The smart way!</p>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dbugs.org/2007/09/29/ssh-on-windows-smart-way/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lock down! SSH lock down!</title>
		<link>http://blog.dbugs.org/2007/08/29/ssh-security/</link>
		<comments>http://blog.dbugs.org/2007/08/29/ssh-security/#comments</comments>
		<pubDate>Wed, 29 Aug 2007 16:17:24 +0000</pubDate>
		<dc:creator>Marco Garcês</dc:creator>
				<category><![CDATA[CLI]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[Clients]]></category>
		<category><![CDATA[Command line interface]]></category>
		<category><![CDATA[Documentation]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open SSH]]></category>
		<category><![CDATA[Protocols]]></category>
		<category><![CDATA[Secure Shell]]></category>

		<guid isPermaLink="false">http://blog.dbugs.org/2007/08/29/ssh-security/</guid>
		<description><![CDATA[Everybody that uses Linux, one way or another, will be using the command line for admin. Sure you can have those graphical tools to do the job, but there is nothing like the command line for this. And if you manage a couple of remote machines, the only way you can get with this, is [...]]]></description>
			<content:encoded><![CDATA[<p><img title="terminal" src="http://blog.dbugs.org/wp-content/uploads/2007/08/terminal1.png" alt="terminal" align="right" />Everybody that uses Linux, one way or another, will be using the <a class="zem_slink" title="Command line interface" rel="wikipedia" href="http://en.wikipedia.org/wiki/Command_line_interface">command line</a> for admin. Sure you can have those graphical tools to do the job, but there is nothing like the command line for this. And if you manage a couple of remote machines, the only way you can get with this, is using the command line via SSH. Although this is a discussed subject, I went to a few steps the other day, on a personal remote server, to improve SSH security, to a level I can sleep good at night. So let me show you what I did&#8230;<span id="more-90"></span><br class="webkit-block-placeholder" />To resume, here is my path to security:</p>
<ul id="null">
<li>Changed default listen port (default is 22)</li>
<li>Only allow SSH protocol 2 (there are 2 versions of SSH, version 2 is far more secure)</li>
<li>Disabled root login</li>
<li>Allowed only some users to login</li>
<li>Disabled password login</li>
<li>Set up a private/public key method for authentication</li>
<li>Set a a firewall rule for those script kiddies who like to knock on my server doors</li>
</ul>
<p>These were the steps, and believe me, it&#8217;s not that big a deal to go through them. Let&#8217;s now describe each one!</p>
<p><img src="http://blog.dbugs.org/wp-content/uploads/2007/08/bullet1.png" alt="bullet1" /><span class="Apple-style-span" style="font-weight: bold">Default Listen Port<br />
</span>By default, the <a class="zem_slink" title="OpenSSH" rel="homepage" href="http://www.openssh.com">Open SSH</a> server comes with listen <a class="zem_slink" title="TCP and UDP port" rel="wikipedia" href="http://en.wikipedia.org/wiki/TCP_and_UDP_port">TCP port</a> set to 22. Not trying to make <a class="zem_slink" title="Security through obscurity" rel="wikipedia" href="http://en.wikipedia.org/wiki/Security_through_obscurity">security by obscurity</a>, if you change this default behavior, at least those script kiddies, who scan your port 22, and hammer you with the defaults logins, will be dropped, and your bandwidth will be spared. So head to <em>/etc/ssh</em> (the default directory, most distros) and edit your <strong><em>sshd_confing.</em></strong> On the line: &#8220;<a class="zem_slink" title="Secure Shell" rel="wikipedia" href="http://en.wikipedia.org/wiki/Secure_Shell">Port 22</a>&#8220;, change this to something else, higher than 1024, because usually port scanners don&#8217;t go higher than this by default; for example, use port 2222. When connecting to you server, don&#8217;t forget to specify the port number (in the command line this goes by ssh -p 2222 hostname).</p>
<p><img src="http://blog.dbugs.org/wp-content/uploads/2007/08/bullet1.png" alt="bullet1" /><strong>SSH protocol 2</strong><br />
In the present, there are 2 versions of SSH <a title="SSH protocols differences" href="http://www.snailbook.com/faq/ssh-1-vs-2.auto.html">protocol</a>. It&#8217;s better to go with the latest, since it&#8217;s far more secure. So, in the same file you made your port changes, the line which contains the word &#8220;<span class="Apple-style-span" style="font-style: italic">Protocol</span>&#8220;, put a lonely &#8220;<span class="Apple-style-span" style="font-style: italic">2</span>&#8221; (probably there is already one there, or 2,1) in front. Save your changes.</p>
<p><img src="http://blog.dbugs.org/wp-content/uploads/2007/08/bullet1.png" alt="bullet1" /><strong>Disable root login<br />
</strong>Normally for administration purposes, we use the <a class="zem_slink" title="Superuser" rel="wikipedia" href="http://en.wikipedia.org/wiki/Superuser">super user</a> (root), but it&#8217;s not safe to remote login with this user. If something gets compromised, the attacker will have full power to change anything in your system. So, force logins with other user than the root, and then when you are <a class="zem_slink" title="Logging (computer security)" rel="wikipedia" href="http://en.wikipedia.org/wiki/Logging_%28computer_security%29">logged in</a>, su to become root. Believe me, it&#8217;s safer this way. So in the same file, when it says &#8220;<em>PermitRootLogin</em>&#8220;, put a &#8220;<em>no</em>&#8221; in front. Thats it!</p>
<p><img src="http://blog.dbugs.org/wp-content/uploads/2007/08/bullet1.png" alt="bullet1" /><strong>Allow only some users to login</strong><br />
Ok, you now have disabled root login, but any <a class="zem_slink" title="User (computing)" rel="wikipedia" href="http://en.wikipedia.org/wiki/User_%28computing%29">user account</a> on your system will be authorized to remote login. This brings a lot of issues, because more users, means more distributed logins, more chances to security issues (imagine one of your users being kidnapped by a alien, you never know). So authorize one user (you), and if needed, other users, but only if needed. I hope you never left <strong><em>sshd_config</em></strong>, because now we have to search for the line &#8220;AllowUsers&#8221;. If this line doesn&#8217;t exist, add it, in the &#8220;<em>#Authentication</em>&#8221; part of the file, and specify the users you want to allow login. Example: &#8220;<em>AllowUsers user1 user2</em>&#8220;. Easy right? Let&#8217;s continue.</p>
<p><img src="http://blog.dbugs.org/wp-content/uploads/2007/08/bullet1.png" alt="bullet1" /><strong>Password logins</strong><br />
By default, you authenticate in your remote host, by using a combination of user/password. Passwords, by it&#8217;s nature are unsafe, so why use them? Next we will set up a digital key authentication, so disable passwords for now. In the same configuration file, change &#8220;PasswordAuthentication yes&#8221; to &#8220;PasswordAuthentication no&#8221;. And we are done regarding passwords.</p>
<p><img src="http://blog.dbugs.org/wp-content/uploads/2007/08/bullet1.png" alt="bullet1" /><strong>Private/Public key authentication (using DSA)</strong><br />
In the past I <a title="ssh authentication using keys" href="http://blog.dbugs.org/2007/06/17/ssh-keys-authentication/">explained</a> this (link to previous post). You can use a combination of private/public key to authenticate yourself in a remote host, so use this. Go through that post, and set everything up. Its just a matter of following the steps: <strong>(1)</strong><em>ssh-keygen -t dsa</em>; <strong>(2)</strong><em>cat ~/.ssh/id_dsa.pub</em> <strong>(3)</strong>put the output of step <strong>(2)</strong> in remote ~/.ssh/authorized_keys (chmodded to 600). After making this, edit the lines inside <em><strong>sshd_config</strong></em>, &#8220;RSAAuthentication yes&#8221;, &#8220;PubkeyAuthentication yes&#8221; and &#8220;AuthorizedKeysFile %h/.ssh/authorized_keys&#8221;. And your done here.</p>
<p><img src="http://blog.dbugs.org/wp-content/uploads/2007/08/bullet1.png" alt="bullet1" /><strong>Firewall Rule<br />
</strong>Would it be great if your firewall detected if someone was knocking on your firewall door? Well, you can use a fully blown intrusion detection system, like Snort (link to snort), but by using simple rules in iptables, we can accomplish some security on the number of times someone tries to login. If you don&#8217;t know what iptables are, ignore this step, else, add this rules to your firewall (run this in the CLI or add it to your firewall scripts):</p>
<blockquote><p>iptables -A INPUT -i ${WAN} -p tcp &#8211;dport 2222 -m state &#8211;state NEW -m recent &#8211;set &#8211;name SSH</p></blockquote>
<blockquote><p>iptables -A INPUT -i ${WAN} -p tcp &#8211;dport 2222 -m state &#8211;state NEW -m recent &#8211;update &#8211;seconds 60 &#8211;hitcount 8 &#8211;rttl &#8211;name SSH -j DROP</p></blockquote>
<p>The <em>${WAN}</em> part of the rule, is the network interface you use to connect to your ssh server. I normally export LAN and WAN in a bash script, so I always know what is going where. In the future we will discuss firewall/iptables in detail, for those who do not know about the subject.This simple 2 rules will limit to 8, the number of ssh logins your host will permit in a minute. Thats a huge improvement (only 8 against unlimited attempts).And thats it! This were the steps I made to improve security on my remote host. Combined with a good firewall script, you will get a very tight system, believe me! There are other stuff you can make, like using TCP wrappers, but in my case, I login from a changing IP addres, and this method is not very useful if your IP address changes a lot.Oh, one last thing you can do! If all this methods fail, and someone is able to login using ssh to your server, edit again the <em>/etc/ssh/<strong>sshd_config</strong></em>, and in the line &#8220;<em>Banner</em>&#8221; add in front put &#8220;<em>/etc/sshbanner.txt</em>&#8220;. Now edit (create) the file <em>/etc/<strong>sshbanner.txt</strong></em> and put this inside (copy/paste):</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
WARNING! THIS IS A PRIVATE SSH SERVICE, NOT TO BE USED BY A STRANGER. IF YOU HAVE GAINED ILLICIT ACCESS ON THIS SYSTEM, A CURSE WILL BE SET UPON YOU, AND YOU WILL HAVE A SERIOUS RASH ON YOUR PRIVATE PARTS, AND SUFFER IN AGONIE! YOU HAVE BEEN WARNED!<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>Now, each time a user logs in, he will see this message. If it&#8217;s a unwanted user, he will be so scared, that he will log off immediately! =)</p>
<p>Please post back comments, on more things we can use to improve security on our servers!</p>
<p><strong>PS: Don&#8217;t forget, when all changes are made, to restart your ssh server (ex: <em>/etc/init.d/ssh restart</em>).</strong></p>
<div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"><a class="zemanta-pixie-a" title="Zemified by Zemanta" href="http://reblog.zemanta.com/zemified/c61f8dfa-0d53-462f-a1d8-79c761e476f5/"><img class="zemanta-pixie-img" style="border: medium none; float: right;" src="http://img.zemanta.com/reblog_e.png?x-id=c61f8dfa-0d53-462f-a1d8-79c761e476f5" alt="Zemanta Pixie" /></a></div>
]]></content:encoded>
			<wfw:commentRss>http://blog.dbugs.org/2007/08/29/ssh-security/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Let&#8217;s keep it a secret!</title>
		<link>http://blog.dbugs.org/2007/08/28/encrypted-images-mac/</link>
		<comments>http://blog.dbugs.org/2007/08/28/encrypted-images-mac/#comments</comments>
		<pubDate>Tue, 28 Aug 2007 15:02:09 +0000</pubDate>
		<dc:creator>Marco Garcês</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://blog.dbugs.org/2007/08/28/encrypted-images-mac/</guid>
		<description><![CDATA[Rememer that crazy project, where I transformed a Moleskine into a fully USB hard drive? In that post, i pointed out, that, to give that final &#8220;spy&#8221; touch, I&#8217;ve created a encrypted image, which I dropped inside the hard drive, for security of my data. Theres is a very simple way to do this in [...]]]></description>
			<content:encoded><![CDATA[<p>Rememer that crazy <a href="http://blog.dbugs.org/2007/07/14/moleskine-external-usb-harddrive/" title="my moleskine secrets">project</a>, where I transformed a Moleskine into a fully USB hard drive? In that post, i pointed out, that, to give that final &#8220;spy&#8221; touch, I&#8217;ve created a encrypted image, which I dropped inside the hard drive, for security of my data. Theres is a very simple way to do this in Mac OS X, and it&#8217;s a good way to keep your data safe, for example, inside a USB pen drive. So let&#8217;s get started!<br />
<span id="more-83"></span><br />
Follow this easy steps, and you will have a safe container, which  will be very hard to open, if you   take attention to some details.<br />
So, head up to Disk Utility, that came with your Mac OS X; this nifty piece of software, let&#8217;s you do a lot of stuff, from recording those ISO&#8217;s you download with your favorite distro, to fixing errors in your hard drives. For this project, we will create the encrypted image.</p>
<p><img src="http://blog.dbugs.org/wp-content/uploads/2007/08/secure1.png" title="Disk utility location" alt="Disk utility location" align="absmiddle" /></p>
<p>Once inside Disk Utility, just press the &#8220;<strong>New Image</strong>&#8221; button.</p>
<p><img src="http://blog.dbugs.org/wp-content/uploads/2007/08/secure2.png" title="click New Image" alt="click New Image" align="absmiddle" /></p>
<p>After this, put the settings that you see in the picture. Here I choose the image&#8217;s name secure, the syze 100mb (choose more if you want) and the important thing, in &#8220;<strong>Encryption</strong>&#8220;, choose AES-128. If you want to know more about this encryption, <a href="http://en.wikipedia.org/wiki/Advanced_Encryption_Standard" title="Wiki on AES">read </a>some stuff.</p>
<p><img src="http://blog.dbugs.org/wp-content/uploads/2007/08/secure3.png" title="Settings for the new image" alt="Settings for the new image" align="absmiddle" /></p>
<p>Now, it&#8217;s important to choose a strong password, this can be tested by pressing the little key in the next window. This will show you a green bar, that grows, when password gets stronger. If you prefer, let the utility pick a strong password for you. One final thing to take in account: do not remember password in the Keychain, for improved security! So just uncheck that&#8230; Click OK, and you are all done!<br />
<img src="http://blog.dbugs.org/wp-content/uploads/2007/08/secure4.png" title="image password" alt="image password" align="absmiddle" /><br />
<img src="http://blog.dbugs.org/wp-content/uploads/2007/08/secure5.png" title="more password settings" alt="more password settings" align="absmiddle" /><br />
Now eject the image, and move the secure.dmg inside your pen drive, or anywhere you want! Anytime you want to put new files, just mount the image (double click secure.dmg).<br />
<img src="http://blog.dbugs.org/wp-content/uploads/2007/08/secure6.png" title="secure.dmg" alt="secure.dmg" align="absmiddle" /></p>
<p>Very easy right? Enjoy simple encryption!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dbugs.org/2007/08/28/encrypted-images-mac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Digital Backups Using GMail Storage &#8211; theory</title>
		<link>http://blog.dbugs.org/2007/08/13/backups-gmail-lvm-raid-linux/</link>
		<comments>http://blog.dbugs.org/2007/08/13/backups-gmail-lvm-raid-linux/#comments</comments>
		<pubDate>Mon, 13 Aug 2007 23:21:25 +0000</pubDate>
		<dc:creator>Marco Garcês</dc:creator>
				<category><![CDATA[LVM]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[backups]]></category>
		<category><![CDATA[dbugs]]></category>
		<category><![CDATA[gmail]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[theory]]></category>

		<guid isPermaLink="false">http://blog.dbugs.org/2007/08/13/digital-backups-using-gmail-storage-theory/</guid>
		<description><![CDATA[In the past few weeks, I have been dreaming with something that I know is not very practical to do or implement, but in fact, it could be a challenge and a fun thing to look into to.
What I propose here in theory is to combine a series of tools, to create a rather unique [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://blog.dbugs.org/wp-content/uploads/2007/08/dbugs_post_logo1.png" alt="Digital Backups Using GMail Storage" title="Digital Backups Using GMail Storage" align="left" />In the past few weeks, I have been dreaming with something that I know is not very practical to do or implement, but in fact, it could be a challenge and a fun thing to look into to.<br />
What I propose here in theory is to combine a series of tools, to create a rather unique backup solution. What I suggest, is using tools like RAID, LVM, rsync with incremental backups&#8230; OK, you might be thinking: &#8220;but this is normal stuff&#8221;. Now let&#8217;s add the twist! Put these tools to work, using Gmail accounts, and you can begin imagining what I have in mind!<span id="more-79"></span></p>
<p>I came up with a name for this project, and the cool thing, is that I can use my domain as an acronym. So DBUGS stands for Digital Backup Using Gmail Storage.</p>
<p>So, what do I have in mind? Well, I came across some weeks ago, with Richard Jone s&#8217;s project, the <a href="http://richard.jones.name/google-hacks/gmail-filesystem/gmail-filesystem.html" title="gmailfs, currently v. 0.8.0">GmailFS</a>. This project, and using his words, provides a mountable Linux filesystem which uses your Gmail account as its storage medium. I read the entire site, and several other sites on the web, only to find out, that although this already can be achieved, some problems still need to be fixed, but since my project for now, exists only on paper, I hope that in the future, a more robust GmailFS, can be used.</p>
<p>What I propose here, is, to combine some cool open source technologies, to obtain a big, expandable online backup, but things like cost and reliability also come to my mind. Now it&#8217;s possible to create your own Gmail account for free, and all the tools I suggest using are open-source, so the cost factor, it&#8217;s only regarding your Internet connection, which by all means, must be broadband!</p>
<p>So, since it&#8217;s possible to mount GMail accounts locally, I started imagining the possibility, to use 2 accounts in a <a href="http://en.wikipedia.org/wiki/RAID#Standard_RAID_levels" title="Wiki on RAID"><strong>RAID1</strong></a> setup (mirror), where <em><strong>Gmail_account1 </strong></em>would be the mirror of <em><strong>Gmail_account2</strong></em>. This way, data would be backed up twice, in two different locations. If one dies, the other remains alive, while we add a new one to the array. When I say 2 accounts (arrays), I mean <em>n</em> arrays, since, for<strong> RAID1</strong> you can use <em>2+n</em> arrays, this way, data is mirrored against several locations.<br />
<img src="http://blog.dbugs.org/wp-content/uploads/2007/08/raid1.png" alt="RAID1" title="RAID1" align="absmiddle" /></p>
<p>The next step in my theory would be size. Google already offers almost 3GB of storage, and <a href="http://mashable.com/2007/08/09/gmail-going-huge-9000mb/" title="gmail going bigger?">rumors</a> are that they will increase this for 9GB+, but what about if you want more? My thoughts went straight to a <a href="http://en.wikipedia.org/wiki/Logical_Volume_Manager_%28Linux%29" title="Wiki on LVM"><strong>LVM</strong></a> setup, for the extra layer of complexity! Now we would have <em>2+n</em> arrays, each made by <strong>LVM</strong> volumes, which<br />
would be created using several (<em>1 + N</em>) accounts. Confused? I am! This way, each of the <strong>RAID1</strong> array would be stripped across different accounts, and in the future, if we wanted to expand the size of our online backup disk, it was just a matter of creating new accounts, and adding those to each of the <strong>LVM</strong>s, so our <strong>RAID1</strong> array would get bigger.<br />
<img src="http://blog.dbugs.org/wp-content/uploads/2007/08/lvm.png" alt="LVM" title="LVM" align="absmiddle" /></p>
<p>I also thought of security, and the best to do this, is using disk encryption. Another layer is added to the already tricky setup, but this is not important in the beginning, since for testing, I would not use sensitive data.</p>
<p>To perform the backups, I really think it’s a good idea to use some sort of <em>rsync+cp+mv</em> solution that performs incremental backups, without taking too much space. You can find many options for this online, but one my favorites is <a href="http://rsnapshot.org/" title="RSnapshot official site">RSnapshot</a>. A good source of information for this type of backup is Mike Rubel&#8217;s <a href="http://www.mikerubel.org/computers/rsync_snapshots/" title="Myke Rubel's rsync backups">site</a> on the subject.</p>
<p>And that’s it! Several problems must be addressed, and that&#8217;s why I started this post. I don&#8217;t know if it is either a very stupid idea, or if it can be accomplished and become a cool project. I’m working on some solutions, and I really hope I can post something on the subject anytime soon. Why should I even try this? Because I really think this is a cool idea, and perhaps I will not achieve what I intend, but in the process of failing, lies a path of learning&#8230; get it? =)</p>
<p>Please feel free to drop comments on this subject, with suggestions, critics or your help for the project. I&#8217;m more than happy to welcome you aboard. Let’s get this one off the paper, and make it work!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dbugs.org/2007/08/13/backups-gmail-lvm-raid-linux/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 2.624 seconds -->
