<?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>lalit.org &#187; college</title>
	<atom:link href="http://www.lalit.org/tag/college/feed" rel="self" type="application/rss+xml" />
	<link>http://www.lalit.org</link>
	<description>Personal page of Lalit Patel, an engineer, entrepreneur, geek from Bhubaneswar, India.</description>
	<lastBuildDate>Thu, 03 Jun 2010 05:23:52 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>At the end of the tunnel&#8230; there is Internet</title>
		<link>http://www.lalit.org/lab/at-the-end-of-the-tunnel-there-is-internet</link>
		<comments>http://www.lalit.org/lab/at-the-end-of-the-tunnel-there-is-internet#comments</comments>
		<pubDate>Sun, 24 Aug 2008 07:08:10 +0000</pubDate>
		<dc:creator>Lalit</dc:creator>
				<category><![CDATA[lab]]></category>
		<category><![CDATA[college]]></category>
		<category><![CDATA[geeks]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.lalit.org/?p=118</guid>
		<description><![CDATA[Linux is so cool. Using Linux or Linux tools can give you tiny moments of joy, just like anything built by geeks, like iPhone, Skype etc.
Today as I woke up, I found that one of the 12 servers we use at BiRhymes was not accessible from India (the ones at the Joyent data center). No, [...]]]></description>
			<content:encoded><![CDATA[<p>Linux is so cool. Using Linux or Linux tools can give you tiny moments of joy, just like anything built by geeks, like <a rel="external nofollow" href="http://www.apple.com/iphone/" target="_blank">iPhone</a>, <a rel="external nofollow" href="http://www.skype.com" target="_blank">Skype</a> etc.</p>
<p>Today as I woke up, I found that one of the 12 servers we use at <a href="http://www.bitrhymes.com">BiRhymes</a> was not accessible from India (the ones at the <a rel="external nofollow" href="http://www.joyent.com" target="_blank">Joyent</a> data center). No, our apps weren’t down, they were up because that server is only used to handle REST calls from <a rel="external nofollow" href="http://www.myspace.com">MySpace.com</a> so the only person who should access that server is MySpace and of course MySpace has servers in USA. The static files are servered from <a rel="external nofollow" href="http://www.amazonaws.com" target="_blank">Amazon S3</a>.</p>
<p><span id="more-118"></span></p>
<p>I tired to ssh. Failed. I had to push a code to prod and was helpless. I could do very little other than cursing Indian ISPs. Just then the old trick struck to me.</p>
<p>While at <a rel="external nofollow" href="http://www.kiit.ac.in" target="_blank">KIIT</a> (my grad school)  we used to get internet access in hostel from 7pm – 7am (even though they used to boast about 24hrs internet. I hear thankfully things are much better now). During my final year, I was the head of the student organizing committee of <a rel="external nofollow" href="http://www.icdcit08.org/" target="_blank">ICDICT</a> and I used to maintain the website and the paper review system that was hosted in one of the web servers at the college data center. Since the web-server was on the internet as well as intranet, me and my friend <a rel="external nofollow" href="http://www.reboot.in" target="_blank">Abhishek</a> used to access internet by tunneling through the web-server. We had setup a socks proxy using <a rel="external nofollow" href="http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html" target="_blank">PuTTY</a> and used the socks proxy to access 24hrs non-stop 2mbps high speed internet without any firewall (KIIT considered its students as adolescents and hence blocked some of the websites which were not suitable for minors at the syadmin’s discretion. They even blocked downloading for .zip and .exe files). I even used to host a couple of intranet websites w/o sysads knowledge from my college computer, routed through the ICDCIT web-server ofcourse <img src='http://www.lalit.org/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  So that is how I quenched my thirst for internet access while in college</p>
<p style="text-align: center;"><a href="http://xkcd.com/466/"><img class="aligncenter" title="XKCD" src="http://imgs.xkcd.com/comics/moving.png" alt="" width="285" height="432" /></a></p>
<p>Coming back to our servers, 2 of our servers are at <a rel="external nofollow" href="http://www.theplanet.com/" target="_blank">Planet</a> data center. Fortunately I could ssh them. Voila. I used <a rel="external nofollow" href="http://winscp.net/" target="_blank">WinSCP</a> (scp client based on PuTTY) to connect to Joyent servers. PuTTY makes things so easier. I just have to provide the tunnel servers hostname, username and password/my private key and boom I am on Joyent server (I mean the UI was connected to the Joyent server. I could have sshed on to Joyent from Planet, but uploading files via command line is a pain). And I was so happy I could do my work w/o interruption <img src='http://www.lalit.org/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p style="text-align: center;"><img class="aligncenter size-full" style="max-width: 519px;" title="WinSCP Tunnel" src="http://www.lalit.org/wordpress/wp-content/uploads/2008/08/tunnel.png" alt="" width="519" height="356" /></p>
<p>I rarely experienced such joy on Windows. The first time was when I saw Visual Basic while in High School, I was so excited that only thing I wanted to do in life then was to work at Microsoft.</p>
<p><strong>Update:</strong> Just as I finish publishing this post, I see that I can access my Joyent servers</p>
<p><strong class="c_red">Note:</strong> Trying this at your college LAN may get you suspended or even thrown out.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lalit.org/lab/at-the-end-of-the-tunnel-there-is-internet/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
