<?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>Tech Titbits &#187; Internet</title>
	<atom:link href="http://techtitbits.com/category/internet/feed/" rel="self" type="application/rss+xml" />
	<link>http://techtitbits.com</link>
	<description>Titbits of technology, with extra sauce</description>
	<lastBuildDate>Sun, 22 Aug 2010 07:02:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>How to download a file concurrently/simultaneously from different sources in Ubuntu</title>
		<link>http://techtitbits.com/2010/05/how-to-download-a-file-concurrentlysimultaneously-from-different-sources-in-ubuntu/</link>
		<comments>http://techtitbits.com/2010/05/how-to-download-a-file-concurrentlysimultaneously-from-different-sources-in-ubuntu/#comments</comments>
		<pubDate>Thu, 13 May 2010 03:06:19 +0000</pubDate>
		<dc:creator>Ellimist</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[aria2]]></category>
		<category><![CDATA[aria2c]]></category>
		<category><![CDATA[mirrors]]></category>
		<category><![CDATA[simultaneous]]></category>

		<guid isPermaLink="false">http://techtitbits.com/?p=457</guid>
		<description><![CDATA[In order to achieve this, you need to download an install Aria2, a lightweight, multi-source download utility. It can be installed from it&#8217;s package &#8216;aria2&#8242; from the universe repositories. sudo apt-get install aria2 Now we need to create a file containing the source URLs for the file(s) we need to download. The source/mirror URLs should [...]


Related posts:<ol><li><a href='http://techtitbits.com/2010/04/get-rid-of-freeze-ups-during-disk-io-activity-in-ubuntu/' rel='bookmark' title='Permanent Link: Get rid of freeze-ups during disk I/O activity in Ubuntu'>Get rid of freeze-ups during disk I/O activity in Ubuntu</a></li>
<li><a href='http://techtitbits.com/2010/04/resolving-the-network-manager-bug-in-ubuntu-9-10/' rel='bookmark' title='Permanent Link: Resolving the Network Manager bug in Ubuntu 9.10'>Resolving the Network Manager bug in Ubuntu 9.10</a></li>
<li><a href='http://techtitbits.com/2010/04/loving-the-penguin/' rel='bookmark' title='Permanent Link: Loving the Penguin'>Loving the Penguin</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>In order to achieve this, you need to download an install Aria2, a lightweight, multi-source download utility. It can be installed from it&#8217;s package &#8216;aria2&#8242; from the universe repositories.</p>
<pre class="brush: bash;">sudo apt-get install aria2</pre>
<p>Now we need to create a file containing the source URLs for the file(s) we need to download. The source/mirror URLs should be separated by a tab or newline. The mirrors can also be used directly as a command line argument, but that would just make things clumsy.</p>
<p>I&#8217;m using Lucid Netbook Edition as an example here. My sources.txt contains the following :<br />
<code>
<pre>http://mirror.uoregon.edu/ubuntu-releases/lucid/ubuntu-10.04-netbook-i386.iso     http://mirrors.us.kernel.org/ubuntu-releases/lucid/ubuntu-10.04-netbook-i386.iso     http://ubuntu.mirrors.hoobly.com/lucid/ubuntu-10.04-netbook-i386.iso     http://mirrors.pavlovmedia.net/ubuntu-releases/lucid/ubuntu-10.04-netbook-i386.iso     ftp://mirror.vcu.edu//pub/gnu+linux/ubuntu-releases/lucid/ubuntu-10.04-netbook-i386.iso     ftp://ftp.gtlib.gatech.edu/pub/ubuntu-releases/lucid/ubuntu-10.04-netbook-i386.iso     http://ftp.chg.ru/pub/Linux/ubuntu/releases/lucid/ubuntu-10.04-netbook-i386.iso     http://mirror.yandex.ru/ubuntu-releases/lucid/ubuntu-10.04-netbook-i386.iso     http://ubuntu.mirror.ac.za/ubuntu-release/lucid/ubuntu-10.04-netbook-i386.iso     http://ubuntu.hugi.is/releases/lucid/ubuntu-10.04-netbook-i386.iso     http://mz.releases.ubuntu.com/lucid/ubuntu-10.04-netbook-i386.iso     http://releases.ubuntu.nautile.nc/lucid/ubuntu-10.04-netbook-i386.iso</pre>
<p></code><br />
Now we need to start the download using Aria2. Type this in the terminal.</p>
<pre class="brush: bash;">aria2c -i /path/to/sources.txt -s 12</pre>
<p>The -i argument specifies the input file and -s argument specifies how many connections will be used to simultaneously download the file. Here, we have 12 mirrors for the .iso file, so I used 12 in the argument. According to the aria2c man page, if the value specified in the -s argument (say, N) is less than the number of mirror URLs, the first N URLs will be used and the rest will be used as backup. Otherwise, if the number of mirrors is less, a single source is used more then once, so that N connections can be made.</p>
<p>Aria2 is a wonderful download utility that support Metalinks and BitTorrent other than the usual http, ftp. It can be used to do a whole range of things, but we will keep ourselves limited to the topic at hand. Maybe we will try out those possibilities in an other post.</p>


<p>Related posts:<ol><li><a href='http://techtitbits.com/2010/04/get-rid-of-freeze-ups-during-disk-io-activity-in-ubuntu/' rel='bookmark' title='Permanent Link: Get rid of freeze-ups during disk I/O activity in Ubuntu'>Get rid of freeze-ups during disk I/O activity in Ubuntu</a></li>
<li><a href='http://techtitbits.com/2010/04/resolving-the-network-manager-bug-in-ubuntu-9-10/' rel='bookmark' title='Permanent Link: Resolving the Network Manager bug in Ubuntu 9.10'>Resolving the Network Manager bug in Ubuntu 9.10</a></li>
<li><a href='http://techtitbits.com/2010/04/loving-the-penguin/' rel='bookmark' title='Permanent Link: Loving the Penguin'>Loving the Penguin</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://techtitbits.com/2010/05/how-to-download-a-file-concurrentlysimultaneously-from-different-sources-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>.htaccess archived on AskApache.com</title>
		<link>http://techtitbits.com/2010/03/htaccess-archived-on-askapache-com/</link>
		<comments>http://techtitbits.com/2010/03/htaccess-archived-on-askapache-com/#comments</comments>
		<pubDate>Sat, 20 Mar 2010 02:47:31 +0000</pubDate>
		<dc:creator>Ellimist</dc:creator>
				<category><![CDATA[Htaccess]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[AnimorphsFanForum.com]]></category>

		<guid isPermaLink="false">http://techtitbits.com/?p=404</guid>
		<description><![CDATA[An old copy of my .htaccess for AnimorphsfanForum.com seems to have been archived on AskApache.com. http://static.askapache.com/htaccess-files/htaccess-sample.txt I hope that it is helping some people. Update : Following this post, the .htaccess was removed from the site. You can still search for it using Google, though. The AskApache.com admin has kindly informed us that the file [...]


Related posts:<ol><li><a href='http://techtitbits.com/2008/10/phpbb-redirect-broken-links-after-uninstalling-an-seo-mod/' rel='bookmark' title='Permanent Link: phpBB: Redirect broken links after uninstalling an SEO mod'>phpBB: Redirect broken links after uninstalling an SEO mod</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><a href="http://techtitbits.com/wp-content/uploads/2010/03/askapache_search.jpg"><img class="aligncenter size-full wp-image-405" title="AskApache search" src="http://techtitbits.com/wp-content/uploads/2010/03/askapache_search.jpg" alt="AskApache search" width="618" height="209" /></a>An old copy of my .htaccess for <a href="http://animorphsfanforum.com" target="_blank">AnimorphsfanForum.com</a> seems to have been archived on <a href="http://www.askapache.com">AskApache.com</a>.</p>
<p><a href="http://static.askapache.com/htaccess-files/htaccess-sample.txt"><cite>http://static.askapache.com/htaccess-files/htaccess-sample.txt</cite></a></p>
<p>I hope that it is helping some people.</p>
<p>Update : <span style="text-decoration: line-through;">Following this post, the .htaccess was removed from the site. You can still <a href="http://www.google.co.in/search?q=SetEnv+SERVER_ADMIN+admin%40animorphsfanforum.com" target="_self">search for it</a> using Google, though.</span></p>
<p>The AskApache.com admin <a href="http://techtitbits.com/2010/03/htaccess-archived-on-askapache-com/#comment-31531">has kindly informed us</a> that the file was mistakenly not moved over during a host switch. It has been restored now.</p>


<p>Related posts:<ol><li><a href='http://techtitbits.com/2008/10/phpbb-redirect-broken-links-after-uninstalling-an-seo-mod/' rel='bookmark' title='Permanent Link: phpBB: Redirect broken links after uninstalling an SEO mod'>phpBB: Redirect broken links after uninstalling an SEO mod</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://techtitbits.com/2010/03/htaccess-archived-on-askapache-com/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Google Public DNS &#8211; An alternative to OpenDNS?</title>
		<link>http://techtitbits.com/2009/12/google-public-dns-an-alternative-to-opendns/</link>
		<comments>http://techtitbits.com/2009/12/google-public-dns-an-alternative-to-opendns/#comments</comments>
		<pubDate>Sat, 05 Dec 2009 07:01:34 +0000</pubDate>
		<dc:creator>Ellimist</dc:creator>
				<category><![CDATA[DNS]]></category>
		<category><![CDATA[Internet]]></category>

		<guid isPermaLink="false">http://techtitbits.com/?p=285</guid>
		<description><![CDATA[Google has recently launched Google Public DNS, a public DNS resolver service  with an aim to make web browsing faster and secure. OpenDNS, providing the same services and more, has been in the market since 2006. So, which one is better, and is it beneficial to switch from using OpenDNS to Google Public DNS? We [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p>Google <a href="http://googlecode.blogspot.com/2009/12/introducing-google-public-dns-new-dns.html" target="_blank">has recently launched</a> <a title="Google Public DNS" href="http://code.google.com/speed/public-dns/" target="_blank">Google Public DNS</a>, a public DNS resolver service  with an aim to make web browsing faster and secure. <a title="OpenDNS" href="http://www.opendns.com/" target="_blank">OpenDNS</a>, providing the same services and more, has been in the market since 2006. So, which one is better, and is it beneficial to switch from using OpenDNS to Google Public DNS? We will find out.</p>
<h3>Features :</h3>
<ul>
<li><strong>Performance</strong> &#8211; Both GPDNS and OpenDNS employ quite a number of tweaks to increase performance of the end users. Both load balance user traffic and implement &#8220;smart&#8221; caching techniques to speed up domain resolution.<br />
While this does not directly affect performance, OpenDNS has a nifty tool called <a title="OpenDNS CacheCheck" href="http://www.opendns.com/support/cache/" target="_blank">CacheCheck</a>, which can be used to check the status of a domain in OpenDNS&#8217;s cache and optionally update the domain&#8217;s DNS records in the cache. This does score some brownie points for OpenDNS.</li>
<li><strong>Security</strong> &#8211; Even though Google Public DNS has protection against cache-poisoning, DOS and amplification attacks, it blandly admits that it doesn&#8217;t provide any content-filtering/anti-phishing/anti-malware protection.  Google says :<br />
<blockquote><p>Google Public DNS is not a malware-blocking service. Google Public DNS does not perform blocking or filtering of any kind</p></blockquote>
<p>However, OpenDNS delivers a lot in this sector. In addition to protection against cache-poisoning and other vulnerabilities, it offers web-content filtering, &#8220;PhishTank&#8221; anti-phishing, malware-protection and whitelisting/blacklisting of domains, all though a web-based dashboard. In addition to this, OpenDNS also features a community based <a href="http://www.opendns.com/community/domaintagging/" target="_blank">domain tagging system</a>, where users can tag domains into appropriate categories and check the status of an already-tagged domain.</li>
</ul>
<h3>Real-world Performance</h3>
<p>I used <a href="http://code.google.com/p/namebench/" target="_blank">Namebench</a> to perform DNS benchmarks. The results are as follows:</p>
<p><strong>Mean Response Duration</strong></p>
<p><img src="http://chart.apis.google.com/chart?chxt=y%2Cx%2Cx&amp;chd=e%3A5k8f.L&amp;chxp=0%7C2%2C133&amp;chxr=1%2C0%2C300%7C2%2C-15.0%2C315.0&amp;chxtc=1%2C-720&amp;chco=0000ff&amp;chbh=a&amp;chs=720x91&amp;cht=bhg&amp;chxl=0%3A%7C208.67.220.220%7C208.67.222.222%7C8.8.8.8%7C1%3A%7C0%7C20%7C40%7C60%7C80%7C100%7C120%7C140%7C160%7C180%7C200%7C220%7C240%7C260%7C280%7C300%7C2%3A%7CDuration%20in%20ms." alt="Mean Duration Graph" /></p>
<p><strong>Fastest Individual Response Duration</strong></p>
<p><img src="http://chart.apis.google.com/chart?chxt=y%2Cx%2Cx&amp;chd=e%3AqE7C.X&amp;chxp=0%7C2%2C105&amp;chxr=1%2C0%2C235%7C2%2C-11.75%2C246.75&amp;chxtc=1%2C-720&amp;chco=0000ff&amp;chbh=a&amp;chs=720x91&amp;cht=bhg&amp;chxl=0%3A%7C208.67.220.220%7C208.67.222.222%7C8.8.8.8%7C1%3A%7C0%7C20%7C40%7C60%7C80%7C100%7C120%7C140%7C160%7C180%7C200%7C220%7C235%7C2%3A%7CDuration%20in%20ms." alt="Fastest Response Graph" /></p>
<p>The tests proved that Google Public DNS resolver is 5% faster than the OpenDNS resolver.</p>
<h3>Conclusion</h3>
<p>Even thoughthe real world test found Google Public DNS to be 5% faster than OpenDNS, it actually makes a very little difference in speed. Considering the advanced features like anti-phishing, anti-malware, content-filtering and custom-error pages, OpenDNS is recommended for both network administrators and end users.</p>
<p><strong>Special Note</strong> :</p>
<p>Google says that it shows correct results for NXDOMAIN results, ie, due to mistyping or otherwise, if a non-existent domain is tried to be resolved, it will return an error message. OpenDNS, however, redirects such requests to it&#8217;s search page where it shows similar domains along with some sponsored links. I couldn&#8217;t decide whether this is a good or a bad move, so I didn&#8217;t include this in the evaluation process.</p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://techtitbits.com/2009/12/google-public-dns-an-alternative-to-opendns/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
