<?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>Fazal Majid&#039;s low intensity weblog &#187; Network</title>
	<atom:link href="http://majid.info/blog/category/network/feed/" rel="self" type="application/rss+xml" />
	<link>http://majid.info/blog</link>
	<description>Sporadic pontification</description>
	<lastBuildDate>Thu, 05 Jan 2012 07:15:23 +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>Deep packet inspection rears it ugly head</title>
		<link>http://majid.info/blog/telco-snooping/</link>
		<comments>http://majid.info/blog/telco-snooping/#comments</comments>
		<pubDate>Tue, 05 Apr 2011 01:06:49 +0000</pubDate>
		<dc:creator>majid</dc:creator>
				<category><![CDATA[Network]]></category>
		<category><![CDATA[Soapbox]]></category>

		<guid isPermaLink="false">http://majid.info/blog/?p=141242482</guid>
		<description><![CDATA[Last Friday I started noticing error messages in my production environment. URLs were being mangled, two consecutive characters being replaced by 0x80 and 0x01 or 0x80 and 0x04, causing UTF-8 decode exceptions to be logged, as well as failures for &#8230; <a href="http://majid.info/blog/telco-snooping/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Last Friday I started noticing error messages in my production environment. URLs were being mangled, two consecutive characters being replaced by <tt>0x80</tt> and <tt>0x01</tt> or <tt>0x80</tt> and <tt>0x04</tt>, causing UTF-8 decode exceptions to be logged, as well as failures for the cryptographic hash function we use to secure our URLs. As a general principle, I take any such unexpected exceptions very seriously and started investigating them, one concern being that some of our custom C extensions to <a href="http://wiki.nginx.org/">nginx</a> could be responsible for data corruption under heavy load.</p>
<p>I ran <tt>snoop</tt> (a Solaris utility similar to <tt>tcpdump</tt>) on one of our production servers, and after combing through 180MB of packet traces with Wireshark, it turned out the data was being corrupted before even hitting our web servers. While it was a relief to find out our own infrastructure was not to blame, I still had to identify the culprit, e.g. whether our hosting provider&#8217;s switches, firewalls or load-balancers were to blame.</p>
<p>TCP has built-in checksums, so a malfunctioning switch working at layers 1–3 would not cause this problem, a corrupted packet would be dropped and resent, with a slight hit on performance but no errors. Thus the problem would need to be at a L4 or higher device such as a load balancer.</p>
<p>I added some extra logging and let it run over the weekend. After analyzing the data, it turns out the problem is very circumscribed (76 requests out of hundreds of millions), and all the affected IP addresses come from the same ISP, Singapore Telecom Magix (AS9506). The only plausible explanation is that SingTel is running some sort of deep packet inspection gear, and some of the DPI gateways have corrupt memory or software bugs, that are causing the data flowing through them to get corrupted,</p>
<p>Deep Packet Inspection is a scourge the general public is insufficiently aware of. At a high level, DPI gateways watch over your shoulder as you use the Internet. They decode the data packets passing through them, reconstruct unencrypted HTTP requests (in other words, spy on your browsing history). In their transparent proxy incarnation, they can rewrite the requests or responses. Verizon Wireless uses the technology to resize and recompress images or videos requested by smartphones. Back when I used to work for France Telecom (circa 1996-1999), vendors would regularly approach us to peddle their wares and how they would allow us to price-gouge our customers more effectively. Hardware has progressed dramatically since and a single Xeon processor is capable of inspecting at least 10 Gbps of data.</p>
<p>The whole premise of DPI and other snooping devices is profoundly repugnant to me as a former network engineer, on both moral and technical grounds. Any additional &#8220;bump in the wire&#8221; slows things down and is yet another potential point of failure, as shown by this incident, but the potential for abuse is the real concern. Not to mince words, the legitimate purposes for the technology, such as fighting cybercrime, are just rationalizations, it was really developed for purposes most people would consider abusive.</p>
<p>When I joined FT, I had to go to a Paris courthouse and swear a solemn oath to defend the privacy of our customers&#8217; communications, and report any infringement of the same. DPI technology originates in spy agencies, and is much beloved of authoritarian governments. China uses the technology, combined with voice recognition, to drop calls at the merest mention of the word &#8220;protest&#8221;. The Ben Ali regime in Tunisia used it to <a href="http://www.theregister.co.uk/2011/01/25/tunisia_facebook_password_slurping/">snoop Facebook users&#8217; authentication cookies</a>. Singapore&#8217;s government has a well-demonstrated intolerance of criticism, and who knows what SingTel is doing with their defective gear? Western companies like Cisco were disgracefully eager to sell censorware to dictatorships, but those governments now have homegrown capabilities from the likes of Huawei.</p>
<p>For telco oligopolies, the endgame is to practice perfect price discrimination, e.g. charge you more for packets that carry a voice over IP call or a Netflix video on demand session that compete with the carriers&#8217; own services. Telcos and cablecos cannot be permitted to use their stranglehold over public networks for what is essentially racketeering. Strowger invented the automatic telephone switch because the operator at his manual exchange would divert his calls to one of his competitors, her husband. Telcos, in their monopolistic arrogance, feel a sense of entitlement to all the value the network creates, even when they are not responsible, and want to reverse this. Letting them get away with it, as is consistently the case in the US, is a recipe for long-term economic stagnation.</p>
<p>What can we as the general public do to fight back? The telcos are one of the largest lobbies in Washington, and wireless spectrum auction fees are one of the crutches propping up Western budgets, so help is unlikely to come from the venal legislatures. The most practical option is to start using SSL and DNSSEC for everything. Google now offers an <a href="http://www.google.com/support/websearch/bin/answer.py?answer=173733&amp;hl=en">encrypted search</a> option and Facebook has an option to use <a href="http://blog.facebook.com/blog.php?post=486790652130">SSL for the entire session</a>, not just for login.</p>
]]></content:encoded>
			<wfw:commentRss>http://majid.info/blog/telco-snooping/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Doing my bit for the Internet</title>
		<link>http://majid.info/blog/doing-my-bit-for-the-internet/</link>
		<comments>http://majid.info/blog/doing-my-bit-for-the-internet/#comments</comments>
		<pubDate>Sat, 05 Mar 2011 10:04:21 +0000</pubDate>
		<dc:creator>majid</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Network]]></category>

		<guid isPermaLink="false">http://majid.info/blog/?p=141242452</guid>
		<description><![CDATA[My first IPv6 connectivity, courtesy of Hurricane Electric&#8217;s Tunnel Broker. It only took me three years&#8230;]]></description>
			<content:encoded><![CDATA[<p>My first IPv6 connectivity, courtesy of Hurricane Electric&#8217;s <a href="http://tunnelbroker.com/">Tunnel Broker</a>. It only took me three years&#8230;</p>
<p><a rel="attachment wp-att-141242453" href="http://majid.info/blog/doing-my-bit-for-the-internet/screen-shot-2011-03-05-at-01-59-46/"><img class="aligncenter size-medium wp-image-141242453" title="Screen shot 2011-03-05 at 01.59.46" src="http://majid.info/blog/wp-content/uploads/2011/03/Screen-shot-2011-03-05-at-01.59.46-450x500.png" alt="" width="450" height="500" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://majid.info/blog/doing-my-bit-for-the-internet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RapidSSL 1 &#8211; GoDaddy 0</title>
		<link>http://majid.info/blog/godaddy-incompetent-morons/</link>
		<comments>http://majid.info/blog/godaddy-incompetent-morons/#comments</comments>
		<pubDate>Fri, 25 Jun 2010 04:32:38 +0000</pubDate>
		<dc:creator>majid</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[Soapbox]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://majid.info/blog/?p=141242290</guid>
		<description><![CDATA[My new company&#8217;s website uses SSL. I ordered an &#8220;extended validation&#8221; certificate from GoDaddy, instead of my usual CA, RapidSSL/GeoTrust, because GoDaddy&#8217;s EV certificates were cheap. EV certificates are security theater more than anything else, I probably should not have &#8230; <a href="http://majid.info/blog/godaddy-incompetent-morons/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>My new company&#8217;s website uses SSL. I ordered an &#8220;extended validation&#8221; certificate from GoDaddy, instead of my usual CA, <a href="http://www.rapidssl.com/">RapidSSL/GeoTrust</a>, because GoDaddy&#8217;s EV certificates were cheap. EV certificates are security theater more than anything else, I probably should not have bothered.</p>
<p>Immediately after switching from my earlier &#8220;snake oil&#8221; self-signed test certificate to the production certificate, I saw SSL errors on Google Chrome for Mac and Safari for Mac, i.e. the two browsers that use OS X&#8217;s built-in crypto and certificate store. I suppose I should have tested the certificate on another server before  going live, but I trusted GoDaddy (they are my DNS registrars, and  competent, if garish).</p>
<p>Big mistake.</p>
<p><a href="http://majid.info/blog/wp-content/uploads/2010/06/Screen-shot-2010-06-24-at-20.49.14-.png"><img class="aligncenter size-large wp-image-141242291" title="Screen shot 2010-06-24 at 20.49.14" src="http://majid.info/blog/wp-content/uploads/2010/06/Screen-shot-2010-06-24-at-20.49.14--598x620.png" alt="" width="598" height="620" /></a><a href="http://majid.info/blog/wp-content/uploads/2010/06/Screen-shot-2010-06-24-at-20.48.20-.png"><img class="aligncenter size-large wp-image-141242292" title="Screen shot 2010-06-24 at 20.48.20" src="http://majid.info/blog/wp-content/uploads/2010/06/Screen-shot-2010-06-24-at-20.48.20--557x620.png" alt="" width="557" height="620" /></a>I called their tech support hotline, which is incredibly grating because of the verbose phone tree that keeps trying to push add-ons (I guess it is consistent with the monstrosity that is their home page).</p>
<p>After a while, I got a first-level tech. He asked whether I saw the certificate error on Google Chrome for Windows. At that point, I was irate enough to use a four-letter word. Our customers are Android mobile app developers. A significant chunk of them use Macs, and almost none (less than 5%) use IE, so know-nothing &#8220;All the world is IE&#8221; demographics are not exactly applicable.</p>
<p>After about half an hour of getting the run-around and escalating to level 2, with my business partner Michael getting progressively more anxious in the background, the level 1 CSR tells me the level 2 one can&#8217;t reproduce the problem (I reproduced it on three different Macs in two different locations). I gave them an ultimatum: fix it within 10 minutes or I would switch. At this point, the L1 CSR told me he had exhausted all his options, but I could call their &#8220;RA&#8221; department, and offered to switch me. Inevitably, the call transfer failed.</p>
<p>I dialed their SSL number, and in parallel started the certificate application process on RapidSSL. They offered a free competitive upgrade, I tried it, and within 3 minutes I had my fresh new, and functional certificate, valid for 3 years, all for free and in less time than it takes to listen to GoDaddy&#8217;s obnoxious phone tree (all bout &#8220;we pride ourselves in customer service&#8221; and other Orwellian corporate babble).</p>
<p>I then called GoDaddy&#8217;s billing department to get a refund. Surprisingly, the process was very fast and smooth. I guess it is well-trod.</p>
<p>The moral of the story: GoDaddy—bad. RapidSSL—good.</p>
]]></content:encoded>
			<wfw:commentRss>http://majid.info/blog/godaddy-incompetent-morons/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Clueless SaaS providers can leave you with egg on your face</title>
		<link>http://majid.info/blog/clueless-saas-providers/</link>
		<comments>http://majid.info/blog/clueless-saas-providers/#comments</comments>
		<pubDate>Thu, 04 Mar 2010 10:09:43 +0000</pubDate>
		<dc:creator>majid</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Network]]></category>

		<guid isPermaLink="false">http://majid.info/blog/?p=141242093</guid>
		<description><![CDATA[While cleaning out my spam folders, I noticed a disturbing trend: a number of the spam were sent to vendor-specific email addresses I had set up to communicate with Parallels, Joyent and Shoeboxed. As a security measure, I do not &#8230; <a href="http://majid.info/blog/clueless-saas-providers/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>While cleaning out my spam folders, I noticed a disturbing trend: a number of the spam were sent to vendor-specific email addresses I had set up to communicate with Parallels, Joyent and Shoeboxed. As a security measure, I do not give my personal email address to vendors, only aliases. The email address I used in the past for Dell was <code>dell@majid.fm</code>, for instance (I now use a different domain). A few years back, I started receiving pornographic spam at that address, which led me to think either Dell had secretly adopted a radically new diversification plan, or that their customer database had been compromised. Needless to say, this did not reflect well on Dell. I canceled that alias and stopped dealing with Dell.</p>
<p>I contacted the support for the three vendors. Joyent got back to me, and said:</p>
<blockquote><p>We have traced this back to a third-party provider that was used to distribute service notifications. We have been in contact with this service provider, and they have determined that subscriber email addresses of their clients were compromised. They have launched their own investigation, which is ongoing, and have also reached out to their local FBI office.</p></blockquote>
<p>After some digging, I found some <a href="http://blog.otherinbox.com/2010/01/data-breach-at-icontact-d%C3%A9j%C3%A0-vu.html">interesting</a> <a href="http://nekkidninjas.com/index.php/2010/02/17/apology-to-our-members-icontact-is-the-r">posts</a>. Some email marketing company called iContact, that I had never heard about before, was the <a href="http://www.icontact.com/blog/index.php?blog=1&amp;p=401&amp;more=1&amp;c=1&amp;tb=1&amp;pb=1">source of the compromise</a>. They claim to be SAS-70 compliant, but of course like most bureaucratic certifications, SAS-70 is mostly security theater that makes sysadmins&#8217; life miserable for no meaningful security benefit (SAS-70 auditors, on the other hand, profit handsomely).</p>
<p>Just another example of how outsourcing critical functions to outside vendors can backfire spectacularly and take down your own reputation in the process.</p>
]]></content:encoded>
			<wfw:commentRss>http://majid.info/blog/clueless-saas-providers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Broken SPF records</title>
		<link>http://majid.info/blog/broken-spf-records/</link>
		<comments>http://majid.info/blog/broken-spf-records/#comments</comments>
		<pubDate>Mon, 21 Dec 2009 23:22:05 +0000</pubDate>
		<dc:creator>majid</dc:creator>
				<category><![CDATA[Network]]></category>
		<category><![CDATA[Soapbox]]></category>

		<guid isPermaLink="false">http://majid.info/blog/?p=461</guid>
		<description><![CDATA[I have SPF verification enabled on my mail server. While SPF is no panacea for the problem of spam, it is quite effective at ensuring spammers do not forge the sending address to impersonate someone else, and cause some poor &#8230; <a href="http://majid.info/blog/broken-spf-records/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I have <a href="http://en.wikipedia.org/wiki/Sender_Policy_Framework">SPF</a> verification enabled on my mail server. While SPF is no panacea for the problem of spam, it is quite effective at ensuring spammers do not forge the sending address to impersonate someone else, and cause some poor innocent soul to receive in a boomerang effect the torrent of complaints hurled at them.</p>
<p>Unfortunately far too many lame organizations (cough, Google) qualify their SPF record using a too permissive <code>?all</code> or <code>~all</code> clause, which means they have servers other than those listed, and thus their SPF record is useless for filtering purposes.</p>
<p>In the last month, I noticed the opposite problem: I did not receive emails from Eurostar and BookMooch because their SPF records did not list the mail servers they actually use. If they are not clueful enough to manage a simple list of IP addresses, or have basic change management discipline, they should do us all a favor and ditch the SPF record they clearly are incapable of maintaining.</p>
]]></content:encoded>
			<wfw:commentRss>http://majid.info/blog/broken-spf-records/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Fie on parasitic US cellcos</title>
		<link>http://majid.info/blog/fie-on-parasitic-us-cellcos/</link>
		<comments>http://majid.info/blog/fie-on-parasitic-us-cellcos/#comments</comments>
		<pubDate>Thu, 24 Sep 2009 20:57:06 +0000</pubDate>
		<dc:creator>majid</dc:creator>
				<category><![CDATA[Network]]></category>
		<category><![CDATA[Soapbox]]></category>

		<guid isPermaLink="false">http://majid.info/blog/?p=409</guid>
		<description><![CDATA[The Economist has an excellent article on how Indian mobile phone companies cut costs. They have an ARPU of $6.50 a month yet operate with a 40% gross margin. If US cellcos were run as efficiently, they would have a &#8230; <a href="http://majid.info/blog/fie-on-parasitic-us-cellcos/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>The Economist has an excellent article on how <a href="http://www.economist.com/surveys/displaystory.cfm?story_id=14483880">Indian mobile phone companies cut costs</a>. They have an ARPU of $6.50 a month yet operate with a 40% gross margin. If US cellcos were run as efficiently, they would have a 1200% gross margin on the $51 monthly ARPU!</p>
<p>The time has long come to stop coddling grossly inefficient and anti-competitive cellular carriers in the West. They are no longer fledgling businesses in the shadow of landlines, quite the opposite, in fact. One good place to start would be to require them to offer consumers the choice of carrier for international calls and for roaming, as is the case with landlines. Their rates are simply extortionate.</p>
]]></content:encoded>
			<wfw:commentRss>http://majid.info/blog/fie-on-parasitic-us-cellcos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>At long last real broadband in San Francisco</title>
		<link>http://majid.info/blog/real-broadband/</link>
		<comments>http://majid.info/blog/real-broadband/#comments</comments>
		<pubDate>Sun, 23 Aug 2009 03:53:44 +0000</pubDate>
		<dc:creator>majid</dc:creator>
				<category><![CDATA[Network]]></category>

		<guid isPermaLink="false">http://majid.info/blog/?p=373</guid>
		<description><![CDATA[I upgraded my broadband connection yesterday from a puny 3-6Mbps/384-768K DSL connection to 20Mbps symmetrical Metro Ethernet service from an outfit called WebPass. My current ISP, Raw Bandwidth, has excellent service with no restrictions on hosting servers or traffic shaping &#8230; <a href="http://majid.info/blog/real-broadband/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I upgraded my broadband connection yesterday from a puny 3-6Mbps/384-768K DSL connection to 20Mbps symmetrical Metro Ethernet service from an outfit called <a href="http://web-pass.com/">WebPass</a>. My current ISP, <a href="http://www.rawbandwidth.com/">Raw Bandwidth</a>, has excellent service with no restrictions on hosting servers or traffic shaping shenanigans unlike the likes of Comcast, but they are still hobbled by the AT&amp;T last-mile connection.</p>
<p>WebPass finesses around the incumbent monopoly by using newer buildings&#8217; data-grade wiring plant to bring 100MBps Ethernet connections right into your home (all they had to do was change a wall plate and patch some cables in the closet) and use microwave links to backhaul traffic to their data center. They claim to use a mesh network for backhaul, but I think this just means a standard network of microwave links where some sites have to hop multiple microwave links to get to the transit connection, rather than a purely centralized hub and spoke model. In my case their offices are a mere two blocks away. This would allow me the pleasure of ditching the scumbags at AT&amp;T altogether (were it not for the fact my building requires an entirely unnecessary landline for its security system).</p>
<p>AT&amp;T is probably the worst telco in the US now, and is notorious for starving its infrastructure of investment to maximize short-term profits, unlike Verizon, who is investing heavily in its FiOS optical network. Unfortunately San Francisco is in AT&amp;T territory and will not get true optical networks anytime soon. Municipalities can usually reassign the cable franchise every so many years, but there is no such provision for involuntary transfer of telcos that I know of.</p>
<p>The new service is $45 a month with no installation fee, vs. $70 a month for Raw Bandwidth, but it does not include a static IP address (they do offer it as part of their prohibitively expensive metered business service). Configuring my home router (a Cisco 877) to use both connections was incredibly painful, but I will run the two ISPs side by side for the next few months. If WebPass proves as reliable as Raw bandiwdth, I may just have to find a work-around for the static IP issue, or just rely on DHCP lease pinning.</p>
<p>If you live in San Francisco, or are moving there, definitely have a look at the buildings they have covered. The service is a glimpse of what people not in <a href="http://www.theregister.co.uk/2009/08/26/us_15_years_behind_south_korea/">broadband backwater USA</a> get.</p>
]]></content:encoded>
			<wfw:commentRss>http://majid.info/blog/real-broadband/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Today is a great day for the Internet in France</title>
		<link>http://majid.info/blog/today-is-a-great-day-for-the-internet-in-france/</link>
		<comments>http://majid.info/blog/today-is-a-great-day-for-the-internet-in-france/#comments</comments>
		<pubDate>Wed, 10 Jun 2009 18:03:35 +0000</pubDate>
		<dc:creator>majid</dc:creator>
				<category><![CDATA[Network]]></category>

		<guid isPermaLink="false">http://majid.info/blog/?p=290</guid>
		<description><![CDATA[The content producers&#8217; lobby is very ancient and powerful in France (it was started by the playwright Beaumarchais in the 18th century). The fact President Sarkozy&#8217;s wife is an important rights holder may have something to do with his determination &#8230; <a href="http://majid.info/blog/today-is-a-great-day-for-the-internet-in-france/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>The content producers&#8217; lobby is very ancient and powerful in France (it was started by the playwright Beaumarchais in the 18th century). The fact President Sarkozy&#8217;s wife is an important rights holder may have something to do with his determination to pass the abject Hadopi law, which would cause Internet users caught illegally downloading content to be cut off from the Internet (while still having to pay their ISP fees).</p>
<p>The law was exceedingly stacked towards the content industry. The burden of proof was on the defendant rather than the prosecution, and an extra-judicial quango named Hadopi was to be set up to enforce these sanctions. The European Parliament, to its credit, had opposed such measures and restated that Internet access is a fundamental right that can only be curtailed by proper judicial authority. The first reading of the law led to a surprise defeat, as the majority UMP legislators were unenthusiastic about supporting a law that would alienate the young, and absenteeism was such that the minority Socialist party managed to overwhelm those few present. This is one of the exceedingly few times I actually agree with the feckless Socialists&#8230; The President brought his whip to bear and the law was put back on the agenda and voted in the second time.</p>
<p>Today, the Conseil Constitutionnel ruled on a challenge to the law put by Socialist parliamentarians, and gutted it in line with the European Parliament. In doing so, it affirmed that Internet access is a fundamental human right, drawing all the way back to the original Human Rights declaration of 1789, and that Internet users are innocent until proven guilty.</p>
<p>This is an important decision. In Roman law, judges&#8217; discretion is much more limited than in the Anglo-Saxon Common law tradition. The US Supreme Court found in <em>Roe vs. Wade</em> a right to abortion in the US Constitution that is far from obvious, and such a decision by unelected judges lacked universal legitimacy. In contrast, abortion was legalized by an act of Parliament in France, which is why opposition to it is nowhere near as bitter as in the US. The Conseil Constitutionnel does not invent constitutional principles, it only censures laws or more commonly individual articles (the role of ultimate court of appeals belongs to another institution, the Cour de Cassation). The significance of it finding Internet access a fundamental right cannot be overstated.</p>
]]></content:encoded>
			<wfw:commentRss>http://majid.info/blog/today-is-a-great-day-for-the-internet-in-france/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SOCKS and SSH, two great flavors that go together</title>
		<link>http://majid.info/blog/socks-and-ssh-two-great-flavors-that-go-together/</link>
		<comments>http://majid.info/blog/socks-and-ssh-two-great-flavors-that-go-together/#comments</comments>
		<pubDate>Sat, 11 Apr 2009 15:05:49 +0000</pubDate>
		<dc:creator>majid</dc:creator>
				<category><![CDATA[Network]]></category>

		<guid isPermaLink="false">http://majid.info/blog/?p=249</guid>
		<description><![CDATA[I am currently in New Orleans for a friend&#8217;s wedding, and staying at the InterContinental. The hotel has wired Internet access, but like all expensive hotels, wants to charge an extortionate fee ($7/hour) for it. This is annoying as the &#8230; <a href="http://majid.info/blog/socks-and-ssh-two-great-flavors-that-go-together/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I am currently in New Orleans for a friend&#8217;s wedding, and staying at the InterContinental. The hotel has wired Internet access, but like all expensive hotels, wants to charge an extortionate fee ($7/hour) for it. This is annoying as the same hotel chains&#8217; budget-priced hotels usually offer it as a complimentary service.</p>
<p>I noticed my email was going through, however. On further inspection, it turns out they only intercept port 80 HTTP traffic, but not on other ports. Security through (very thin) obscurity, in other words.</p>
<p>I tried using Firefox from my home machine over X and SSH port forwarding, but it was painfully slow.</p>
<p>At this point, I was considering setting up a HTTP proxy on my home machine and using it over SSH port forwarding, but I remembered reading something about SSH and SOCKS. I had never used a SOCKS proxy before, but it turns out this is incredibly easy: just add the <tt>-D</tt> option to <tt>ssh</tt> with a local port number, e.g. 9999, and set up your browser to use <tt>localhost:9999</tt> as the SOCKS proxy. It worked flawlessly with my Mac OS X SSH client and Solaris 10 stock server.</p>
<p>This has applications beyond routing around hotel paywalls. Many public WiFi access points are unsecured. Even if they are legit (many are peer-to-peer vs. infrastructure, and presumably used by thieves to harvest passwords), they can be snooped for passwords trivially easily. Using SSH and SOCKS provides you with security when using an untrusted Internet access point, even for non-SSL sites. My email uses IMAPS and SMTP TLS so I don&#8217;t need to reconfigure it to use SOCKS, but that would also be an important protocol to secure.</p>
<p>All in all, a very worthwhile addition to my toolset. I can&#8217;t believe I waited so long to try it.</p>
<p>Update (2009-04-12):</p>
<p>To its credit, New Orleans&#8217; Louis Armstrong international airport has free WiFi throughout the terminal. Chic!</p>
]]></content:encoded>
			<wfw:commentRss>http://majid.info/blog/socks-and-ssh-two-great-flavors-that-go-together/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Whither IP-based home automation?</title>
		<link>http://majid.info/blog/whither-ip-based-home-automation/</link>
		<comments>http://majid.info/blog/whither-ip-based-home-automation/#comments</comments>
		<pubDate>Sat, 11 Oct 2008 16:07:23 +0000</pubDate>
		<dc:creator>majid</dc:creator>
				<category><![CDATA[Network]]></category>
		<category><![CDATA[Soapbox]]></category>
		<category><![CDATA[Stuff]]></category>

		<guid isPermaLink="false">http://majid.info/blog/?p=106</guid>
		<description><![CDATA[Home automation units based on X10/Insteon or proprietary systems like Control4 or Savant start at $100-200. At a time when you can buy a fully functional WiFi router with a 200+MHz processor, a minimum 8M of RAM, 16MB of flash &#8230; <a href="http://majid.info/blog/whither-ip-based-home-automation/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Home automation units based on X10/Insteon or proprietary systems like Control4 or Savant start at $100-200. At a time when you can buy a fully functional WiFi router with a 200+MHz processor, a minimum 8M of RAM, 16MB of flash for under $50, why is there not a home automation system that costs $50 and uses standard TCP/IP and WiFi for connectivity?</p>
]]></content:encoded>
			<wfw:commentRss>http://majid.info/blog/whither-ip-based-home-automation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

