<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Stefano Testi</title>
	
	<link>http://stefanotesti.com</link>
	<description>/* technology | networking | future */</description>
	<lastBuildDate>Thu, 06 Aug 2009 12:06:06 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/stefanotesti" type="application/rss+xml" /><feedburner:emailServiceId>stefanotesti</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
		<title>Going Wireless: HiPERLAN Internet</title>
		<link>http://feedproxy.google.com/~r/stefanotesti/~3/X9N3XGwTTx4/124</link>
		<comments>http://stefanotesti.com/p/124#comments</comments>
		<pubDate>Sat, 04 Jul 2009 20:55:20 +0000</pubDate>
		<dc:creator>Stefano Testi</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[e4a]]></category>
		<category><![CDATA[hiperlan]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[provider]]></category>
		<category><![CDATA[radio]]></category>
		<category><![CDATA[wireless]]></category>

		<guid isPermaLink="false">http://stefanotesti.com/?p=124</guid>
		<description><![CDATA[This week I am experiencing a lot of troubles with my internet provider at home. My 7Mbps/384kbps ADSL connection provided by Tiscali Italy suddenly turned into a 1kbps/384kbps, and apparently there&#8217;s nothing I can do about it.
I chose this provider in 2007, for its cheap connection and its high-reliable international connectivity.
In these two years I [...]]]></description>
			<content:encoded><![CDATA[<p>This week I am experiencing a lot of troubles with my internet provider at home. My 7Mbps/384kbps ADSL connection provided by <a href="http://www.tiscali.it/">Tiscali Italy</a> suddenly turned into a 1kbps/384kbps, and apparently there&#8217;s nothing I can do about it.<span id="more-124"></span></p>
<p>I chose this provider in 2007, for its cheap connection and its high-reliable <a href="http://www.tinet.net/">international connectivity</a>.</p>
<p>In these two years I experienced some minor problems with them, mainly due to the incumbent Telecom Italia, who is still responsible for my last mile access to the network.</p>
<p>Today I talked with other users, and it seems that, even this time, it&#8217;s Telecom Italia&#8217;s fault.</p>
<p>Anyway, since I need a reliable connection, I decided to move to another provider and technology, and today I dropped a mail to <strong><a href="http://www.e4a.it/">E4A</a></strong>, a local provider here in <a href="http://en.wikipedia.org/wiki/Veneto">Veneto</a> and <a href="http://en.wikipedia.org/wiki/Province_of_Trento">Trentino</a>.</p>
<p>E4A offers broadband radio internet, by using EU&#8217;s <a href="http://en.wikipedia.org/wiki/HiperLAN#HiperLAN.2F2">HiPERLAN/2</a> technology, an <a href="http://en.wikipedia.org/wiki/European_Telecommunications_Standards_Institute">ETSI</a> standard whose main differences with <a href="http://en.wikipedia.org/wiki/IEEE_802.11">IEEE 802.11</a> reside in the MAC layer, in the QoS handling, and in security (HiPERLAN uses Triple DES encryption).</p>
<p>I am waiting for their technician to call me to fix an appointment and see if my house is covered by their service (if there&#8217;s <a href="http://en.wikipedia.org/wiki/Line-of-sight_propagation">LOS</a> between my balcony and their BTS).</p>
<p>I will keep you updated with more news as soon as possible.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/stefanotesti?a=X9N3XGwTTx4:ND26nuzKZC8:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/stefanotesti?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/stefanotesti?a=X9N3XGwTTx4:ND26nuzKZC8:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/stefanotesti?i=X9N3XGwTTx4:ND26nuzKZC8:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/stefanotesti/~4/X9N3XGwTTx4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://stefanotesti.com/p/124/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://stefanotesti.com/p/124</feedburner:origLink></item>
		<item>
		<title>Managing priorities with Jabber, Google Talk and multiple clients</title>
		<link>http://feedproxy.google.com/~r/stefanotesti/~3/sFxf-J0L9PU/104</link>
		<comments>http://stefanotesti.com/p/104#comments</comments>
		<pubDate>Wed, 01 Jul 2009 12:23:53 +0000</pubDate>
		<dc:creator>Stefano Testi</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[google talk]]></category>
		<category><![CDATA[jabber]]></category>
		<category><![CDATA[multiple clients]]></category>
		<category><![CDATA[priorities]]></category>
		<category><![CDATA[xmpp]]></category>

		<guid isPermaLink="false">http://stefanotesti.com/?p=104</guid>
		<description><![CDATA[As you may probably think, one of the slickest applications that iPhone OS 3.0 PNS has enabled is Push Instant Messaging. Somebody else may say that mobile IM is nothing new, and that SMS are doing pretty well their job. But I disagree: SMS are very short messages you can send to somebody, but they&#8217;re not [...]]]></description>
			<content:encoded><![CDATA[<p>As you may probably think, one of the slickest applications that iPhone OS 3.0 PNS has enabled is Push Instant Messaging. Somebody else may say that mobile IM is nothing new, and that SMS are doing pretty well their job. But I disagree: SMS are very short messages you can send to somebody, but they&#8217;re not designed (in terms of technical and end-user costs) to set up a mid-to-long written conversation. Plus, even if<span id="more-104"></span> modern mobile networks are well-designed, there is no guarantee on whether the message will be delivered now or within next 3 hours. That&#8217;s why I think mobile IM will rule the world.</p>
<p>One of the problem you may face while using Instant Messaging on your mobile device is the problem of <strong>priorities</strong>. It may happen that, while being connected on your iPhone or Android, you switch on your laptop and login to your favourite Instant Messenger. This way, you will have two connections open at the same time: where will your incoming messages routed to?</p>
<h4>Clients and providers</h4>
<p>Not all IM will work with multiple sessions. So far, I only tested Jabber/XMPP and Google Talk, and I will only talk about them. Plus, from my personal point of view, I chose to use my XMPP and GT accounts through <a href="http://adium.im/">Adium</a> on the Mac and <a href="http://www.beejive.com/">Beejive</a> on the iPhone.</p>
<p>Thanks to XMPP openness, priority management is not tied to a specific client or service, and any XMPP-compliant IM client will handle it. So, since there are plenty of other clients that can support XMPP &#8216;resource priorities&#8217;, you can choose your favourite.</p>
<h4>How it works</h4>
<p>XMPP is an open IM standard, adopted by many IM providers. Google Talk is based on a proprietary implementation of XMPP, so it inherits many of XMPP&#8217;s features.</p>
<p>An XMPP service provider gives you a user-id in the form <strong>user@server.tld</strong>. This is you JID (Jabber ID), and it is used to identify your account. For instance, if you&#8217;re using Google Talk, your JID is <strong><em>username</em>@gmail.com</strong>.</p>
<p>Every time you login on a Jabber/XMPP server, your client will send to the server your &#8220;Resource Name&#8221;. You can change your Resource Name by simply adjusting the settings of your Jabber client. Since XMPP allows different simultaneous sessions under the same JID, the Resource Name is used to identify the specific device connected to the server.</p>
<p>For instance, if your Resource Name on your laptop client is <strong><em>laptop</em></strong>, then one of your contacts can send a message to your laptop by sendind a message to your JID/RN (<strong>username@gmail.com/laptop</strong>), even if you&#8217;re connected through different devices at the same time.</p>
<p>Along with the Resource Name, you can assign to each client a &#8220;priority&#8221;. Priority is used to solve conflicts whenever a message is sent to your JID, the Resource Name is not specified by the sender, and you&#8217;re connected with multiple clients.</p>
<p>The Priority is an integer number ranging from 0 to 127. 0 is the lowest priority, 127 the highest.</p>
<p>As an example, you can imagine that you&#8217;re connected both with your iPhone (RN: mobile, PRIORITY: 1) and your Adium client (RN: SteveLaptop, PRIORITY: 3). If a message is sent to your username, it will be delivered only to your Adium client, since it has a higher priority than the iPhone. But, once you disconnect with your laptop, the only connected client of yours is your iPhone, with priority 1. From now on, all your messages will be delivered only on the iPhone, until another client will sign on with a higher priority.</p>
<p><strong>Cool! But&#8230;</strong></p>
<p>Yeah, I know, it&#8217;s cool. But unfortunately, as I said before, Google Talk is only  a <strong>proprietary implementation</strong> of XMPP, and all this stuff does not work very well.</p>
<p>First, Google servers will change any Resource Names you will set by adding to it an hex string. This way, all pros related to the use of Resource Names are killed.</p>
<p>Plus, Google servers does not take into account priorities. If you&#8217;re connected through multiple clients, any new conversation will be sent to all devices, until you reply from one of them. From that moment on, all the following messages will be routed only to the device you&#8217;re using.</p>
<p>I know, it sucks.</p>
<p><strong>What can I do?</strong></p>
<p>If you want a good Jabber/XMPP account with a correct XMPP implementation, you can sign up to one of many public (and free) XMPP providers. I suggest you to use the oldest one, <a href="http://register.jabber.org/">Jabber.org</a>.</p>
<p>It is important to say that all public XMPP providers (even Google Talk) are interconnected, so you can apply for an account at Jabber.org and then talk with your friends using Google Talk, since your XMPP will route your messages to the recipient XMPP server, just like mail servers works.</p>
<p><strong>And you? What do you think about Mobile IM? Which is your favourite IM account and which XMPP provider do you use?</strong></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/stefanotesti?a=sFxf-J0L9PU:jz7QgGTUIkQ:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/stefanotesti?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/stefanotesti?a=sFxf-J0L9PU:jz7QgGTUIkQ:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/stefanotesti?i=sFxf-J0L9PU:jz7QgGTUIkQ:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/stefanotesti/~4/sFxf-J0L9PU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://stefanotesti.com/p/104/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://stefanotesti.com/p/104</feedburner:origLink></item>
		<item>
		<title>[Review] Samsung SGH-L770V</title>
		<link>http://feedproxy.google.com/~r/stefanotesti/~3/y7mZesPFVF0/21</link>
		<comments>http://stefanotesti.com/p/21#comments</comments>
		<pubDate>Tue, 29 Jul 2008 07:07:26 +0000</pubDate>
		<dc:creator>Stefano Testi</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[broadband]]></category>
		<category><![CDATA[hsdpa]]></category>
		<category><![CDATA[l770v]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[review]]></category>
		<category><![CDATA[samsung]]></category>
		<category><![CDATA[vodafone]]></category>

		<guid isPermaLink="false">http://stefanotesti.com/?p=21</guid>
		<description><![CDATA[This week I decided to change phone. My 1-year-old Nokia N73 was driving me crazy, since its lack of responsiveness (12 seconds to switch display on after unlocking keyboard) and its useless battery (two days at &#8220;full charge&#8221; and then suddenly switching off in 3 hours). Plus a lot of annoying bugs (sms time, as [...]]]></description>
			<content:encoded><![CDATA[<p>This week I decided to change phone. My 1-year-old <a href="http://en.wikipedia.org/wiki/Nokia_N73">Nokia N73</a> was driving me crazy, since its lack of responsiveness (12 seconds to switch display on after unlocking keyboard) and its useless battery (two days at &#8220;full charge&#8221; and then suddenly switching off in 3 hours). Plus a lot of annoying bugs (sms time, as an example) that Nokia never fixed.<span id="more-21"></span></p>
<p><img class="alignleft size-full wp-image-36" title="Samsung SGH-L770V" src="http://stefanotesti.com/wp-content/uploads/samsung-l770v.gif" alt="Samsung SGH-L770V" width="202" height="320" />I surfed on the Vodafone.it site, and I found out the Samsung SHG-L770V, an <a href="http://en.wikipedia.org/wiki/HSDPA">HSDPA</a> (3.6 Mbps), UMTS phone, with radio (with RDS functionalities), Bluetooth and a 2Mpixel camera, sold at 149 euros with a special promotion.</p>
<p>So I decided to let the Nokia N73 die and on Saturday I went into a <a href="http://en.wikipedia.org/wiki/Vodafone_Italy">Vodafone One</a> store in <a href="http://en.wikipedia.org/wiki/Verona">Verona</a>, with only one thing in my mind: never, ever, pay more that 150 euros for a phone. Unless it&#8217;s not a phone.</p>
<p>I bought it, I put on my Vodafone SIM card, and started using it.</p>
<p>I have to say I was very surprised: it has a beautiful display, with very readable text and clear images, a long-lasting battery and an FM radio with <a href="http://en.wikipedia.org/wiki/Radio_Data_System">RDS</a> (I never found a phone with RDS, but I think it is the first thing that should be supported in a radio).</p>
<p>Unfortunately it cannot work with Apple&#8217;s iSync on my Mac, but I think this is more Apple&#8217;s fault.</p>
<p>I also tried to use the tethering function, connecting the phone to the Macbook Pro (USB cable included) and using it as a HSDPA modem. Right now is 9am, I am sitting down at the table on my balcony and this is the result of my speed test:<br />
<img class="aligncenter size-full wp-image-33" title="Vodafone IT L770V Broadband Speed" src="http://stefanotesti.com/wp-content/uploads/speed-l770v.png" alt="Vodafone IT L770V Broadband Speed" width="300" height="135" /><br />
<img class="aligncenter size-full wp-image-34" title="Vodafone IT L770V Debian Speed" src="http://stefanotesti.com/wp-content/uploads/hsdpa-debian.png" alt="Vodafone IT L770V Debian Speed" width="378" height="107" /></p>
<p>A good bandwidth, if you think that this is UMTS and the signal is around 50%.</p>
<p>The only real problem is the price of the internet connection: Vodafone Italy only offers two packages: 400 sessions (15-minutes-sessions) for 30 euros/month or 60 sessions for 15 euros/month. I made my test using a 1-month-free voucher (400 sessions package) that a friend gave me, but I think I will not use on a regular basis unless Vodafone changes tariffs.</p>
<p>Bluetooth works very well, the phone has a live autocomplete function that lets you type only the first digits of a phone number and it will automatically search for that number in your address book and recent-call list.</p>
<p>Unlike my previous branded phones, this one has a really tiny branding, not so heavy and not so ugly. The phone also charges while connected with the USB cable, so you can charge it with your laptop and not to worry about its battery while connected to the internet.</p>
<p>The camera is not good, and photos are not so wonderful. I don&#8217;t care that, but if you really need a phone making photos, this one is not for you.</p>
<p>The cell phone reception is slightly worse than the N73 one: it shows only a few bars inside my house, while the old N73 was at &#8220;full coverage&#8221;.</p>
<p>Anyway, if you&#8217;re looking for a good phone, with usueful features, at a good price, I certainly recommend this one.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/stefanotesti?a=y7mZesPFVF0:D7l2rqux6AU:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/stefanotesti?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/stefanotesti?a=y7mZesPFVF0:D7l2rqux6AU:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/stefanotesti?i=y7mZesPFVF0:D7l2rqux6AU:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/stefanotesti/~4/y7mZesPFVF0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://stefanotesti.com/p/21/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://stefanotesti.com/p/21</feedburner:origLink></item>
		<item>
		<title>Linksys AG241 alternative firmware</title>
		<link>http://feedproxy.google.com/~r/stefanotesti/~3/bd7tUbY2mKk/19</link>
		<comments>http://stefanotesti.com/p/19#comments</comments>
		<pubDate>Tue, 08 Jul 2008 14:30:05 +0000</pubDate>
		<dc:creator>Stefano Testi</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[ag241]]></category>
		<category><![CDATA[alternative]]></category>
		<category><![CDATA[firmware]]></category>
		<category><![CDATA[linksys]]></category>
		<category><![CDATA[unofficial]]></category>
		<category><![CDATA[wrt54gl]]></category>

		<guid isPermaLink="false">http://stefanotesti.com/?p=19</guid>
		<description><![CDATA[There&#8217;s something I will never understand: why Linksys hardware is so good while in the meantime the firmware is a total failure. I mean, I am a proud owner of a Linksys AG241 router, which is by far one of the best (cheap) piece of hardware I&#8217;ve ever seen. But the firmware looks like a [...]]]></description>
			<content:encoded><![CDATA[<p>There&#8217;s something I will never understand: why Linksys hardware is so good while in the meantime the firmware is a total failure. I mean, I am a proud owner of a <strong>Linksys AG241 router</strong>, which is by far one of the best (cheap) piece of hardware I&#8217;ve ever seen. But the firmware looks like a bad-written Microsoft software, full of bug and problems, and the patch release cycle can be measured in geologic era.<span id="more-19"></span></p>
<p>If you own an AG241 you probably know that once you&#8217;re connected on a ADSL2 line the status page shows &#8220;NOT TRAINED&#8221;, or you&#8217;re aware of that huge negative SNR value when the copper twisted pair is disconnected.</p>
<p><a href="http://test.stefanotesti.com/wp-content/uploads/linksys-ag241.jpg"></a>I&#8217;ve searched for months to find a good alternative firmware to fix this, like I did with my WRT54GL and <a href="http://www.dd-wrt.com/">DD-WRT</a>. It seemed like I had to live with the original firmware forever, but after weeks of searches and with the help of Saint Google <strong><a href="http://www.hacknpatch.co.uk/">I found this</a></strong>.</p>
<p>It&#8217;s Phoenix BI Firmware, a good alternative to the original one, which provides detailed status pages, new DSL modulation support and a lot of bug fixes. In <a href="http://www.hacknpatch.co.uk/About.htm">this page</a> you can read a detailed description of it.</p>
<p>I&#8217;m using <a href="http://www.hacknpatch.co.uk/BIFirmwareEU.htm">this version</a> on my home DSL2 since 6 months, and it works perfectly. If you want to use that, be very careful with the upgrade, since you have to choose <strong>the right version for your device</strong> and it can take some time and also brick your router.</p>
<p>But if you have some skills in this, it&#8217;s worth the time!</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/stefanotesti?a=bd7tUbY2mKk:XzO8lN4oqkc:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/stefanotesti?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/stefanotesti?a=bd7tUbY2mKk:XzO8lN4oqkc:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/stefanotesti?i=bd7tUbY2mKk:XzO8lN4oqkc:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/stefanotesti/~4/bd7tUbY2mKk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://stefanotesti.com/p/19/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://stefanotesti.com/p/19</feedburner:origLink></item>
		<item>
		<title>To open or not to open?</title>
		<link>http://feedproxy.google.com/~r/stefanotesti/~3/XjvGKC3TEII/17</link>
		<comments>http://stefanotesti.com/p/17#comments</comments>
		<pubDate>Thu, 26 Jun 2008 19:47:52 +0000</pubDate>
		<dc:creator>Stefano Testi</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[acl]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[open]]></category>
		<category><![CDATA[rc4]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[share]]></category>
		<category><![CDATA[ssid]]></category>
		<category><![CDATA[threats]]></category>
		<category><![CDATA[wep]]></category>
		<category><![CDATA[wifi]]></category>
		<category><![CDATA[wireless]]></category>
		<category><![CDATA[wpa]]></category>

		<guid isPermaLink="false">http://stefanotesti.com/?p=17</guid>
		<description><![CDATA[ith the rapid growth and great diffusion of wireless coverage, a key topic is whether or not you should keep open your wireless connection, allowing strangers to use your bandwidth if they want. Many people think that this is very harmful, many other think that it&#8217;s only a matter of basic politeness, like offering a [...]]]></description>
			<content:encoded><![CDATA[<p>ith the rapid growth and great diffusion of wireless coverage, a key topic is whether or not you should keep open your wireless connection, allowing strangers to use your bandwidth if they want. <a href="http://www.informationweek.com/blog/main/archives/2008/01/dont_do_as_bruc.html">Many people</a> think that this is very harmful, <a href="http://www.schneier.com/blog/archives/2008/01/my_open_wireles.html">many other</a> think that it&#8217;s only a matter of basic politeness, like offering a hot cup of tea.<span id="more-17"></span></p>
<p>To tell the truth, I am among the second ones: wouldn&#8217;t it be great if in every place you can visit you could find an open wireless network to check your email, blog, feeds and so on? That&#8217;s why I&#8217;m a <a href="http://en.wikipedia.org/wiki/FON">Fon member</a>, and why I share my connection at home through a Fonera router.</p>
<p>But in these last weeks I&#8217;m also trying to keep my wireless router (a <a href="http://en.wikipedia.org/wiki/Linksys_WRT54G_series">Linksys WRT54GL</a>) <strong>open</strong> with free access (no <a href="http://en.wikipedia.org/wiki/Wired_Equivalent_Privacy">WEP</a>, no <a href="http://en.wikipedia.org/wiki/Wi-Fi_Protected_Access">WPA</a> or <a href="http://en.wikipedia.org/wiki/Wpa2">WPA2</a>, &#8230;), allowing my <strong>guests</strong> and <strong>occasional users</strong> to connect to the web, while in the meantime trying to <strong>avoid my neighbours&#8217; leeching</strong>.</p>
<p>The key point is: I completely agree in sharing wireless with other users, but not with regular selfish leechers that greedly sink your connection with tons of downloading.</p>
<p>I know that the my &#8220;open your wifi&#8221; invite sounds a little bit crazy, but my opinion is that you don&#8217;t defeat the enemy by locking yourself in a little dark room: it&#8217;s not closing your wifi (and leaving all your ports open) that you&#8217;re safe.</p>
<p>As you may know, there are several ways to secure a wireless connection. From weakest to safest:</p>
<ul>
<li><strong>Disabling </strong><a href="http://en.wikipedia.org/wiki/SSID"><strong>SSID</strong></a><strong> broadcast:</strong> very weak, during the handshake the SSID is transmitted in clear, and all your communications will be in clear.</li>
<li><strong>Selective MAC-address access:</strong> MAC address can be spoofed, and anyway all the communication will go in clear.</li>
<li><strong>WEP:</strong> very weak, it can be broken in less than one hour, since the key generation that will provide seeds to the <a href="http://en.wikipedia.org/wiki/RC4">RC4 algorithm</a> is not so smart, even if RC4 by itself is safe. Traffic is encrypted, but not in a safe way.</li>
<li><strong>WPA:</strong> stronger than WEP, it can be broken only by capturing an handshake session, and trying an offline brute-force attack. If you choose a &#8220;good&#8221; password, it is reasonably safe. Traffic is encrypted.</li>
<li><strong>WPA2:</strong> better than WPA, the safest as of today, traffic encrypted.</li>
</ul>
<p>So, what kind of threats can you meet in opening your wireless? I tried to fill a list of reasonable threats, and subsequently tried to take some countermeasures. Here&#8217;s the list.</p>
<h3>1) Open Wireless = &#8220;ACME Free Bird Seed&#8221;?</h3>
<p>As I mentioned before, one of the first thing you can notice when you open your wireless is your neighbours regularly stealing your connection. If they grab all your &#8220;free bird seed&#8221; (I did not find any suitable free-bird-seed image to put here&#8230;), you can use your router&#8217;s <strong>MAC ACL</strong> (Access Control List), putting their MAC address in the blacklist so they can no longer connect. If they are above the common user-level, they can always try to change their MAC address, but you can always block their new address.</p>
<h3>2) Split your WiFi</h3>
<p>The key point in opening a wireless is that you&#8217;re not only allowing everybody to connect to your network, but <strong>every single bit you send</strong> (except for the ones protected by some security protocols) will go through the air <strong>completely in clear</strong>, without any kind of encryption. An attacker can use a sniffing software (like Wireshark) to read all the webpages you load, your mail and so on.</p>
<p>This is the only point that blocked me from opening my wireless for a while: <strong>my privacy</strong>.</p>
<p>A good move you can take to avoid this is splitting your WiFi into two networks. Maybe your router is one of the many ones supported by the <a href="http://www.dd-wrt.com/"><strong>DD-WRT firmware</strong></a>, a free professional-like firmware that allows you (among many other possibilites) to create different &#8220;virtual networks&#8221;. My router supports DD-WRT, so I used it to create <strong>two different networks </strong>within the same radio transmitter: a protected one (with WPA2) for me, and a free one for my guests <strong>completely open</strong> and separated from the other network and the Ethernet part of my private net.</p>
<p>With this kind of configuration you can offer free wifi while keeping your traffic protected (if somebody is interested in this, please comment to this post (<a href="http://test.stefanotesti.com/contact">or write me</a>) and I will post a tutorial about this).</p>
<p>If you can&#8217;t split your wifi, there are some other methods to build a secure channel over an insecure wireless link: if you have some skills in networking, you can setup an <strong>IPsec tunnel</strong> or an <strong>SSH tunnel</strong> to your SSH or IPsec capable router, or through another server on your wired private network (if you&#8217;ve one). This is also recommended if you frequently use public and unknown AP with your laptop.</p>
<h3>3) Blocking Traffic</h3>
<p>If you&#8217;re worried about what your &#8220;guests&#8221; can download, or if you&#8217;re worried to receive a <strong>cease-and-desist</strong> lettere from your provider (<em>P2P docet</em>), you can always selectively block some services. On my public wifi signal, the only allowed traffic is <strong>HTTP/HTTPS</strong>, mail protocols (<strong>POP3</strong>, <strong>IMAP</strong> and <strong>SMTP</strong> and their encrypted versions), some IM protocols (<strong>AIM</strong>, <strong>JABBER</strong>, <strong>MSN</strong>, &#8230;) and <strong>SSH</strong>.</p>
<p>You can setup these rules inside your router&#8217;s firewall. In my router, since the firmware is linux-based, this is provided by <a href="http://en.wikipedia.org/wiki/Iptables">iptables</a>.</p>
<p>In this way somebody connecting to my wireless can only surf, check email and do some &#8220;SSH-ing&#8221;, while all P2P protocols are blocked by default. You can also make some bandwidth throttling, but I preferred to leave full bandwidth.</p>
<h3>4) Security?</h3>
<p>At this point you&#8217;ve provided a good level of insurance against attackers, providing free internet (you can look at yourself as a 21st century Good Samaritan), and in the meantime ensuring confidentiality for your own data and traffic.</p>
<p>Ok, I know what you&#8217;re thinking: there are a lot of <strong>other possible threaths</strong>, like somebody downloading pedo-pornographic movies through HTTP and so on. You can have technically also legal problems, since in some countries (like in Italy, where I am) you shouldn&#8217;t allow somebody to connect to a WiFi AP if you don&#8217;t ask him his ID card and register it (thanks to the post 11th September anti-terrorism <em>Pisani Law</em>). I know all these things. But I think that if we take care of all possible problems we can have in life, we will not live happy. :)</p>
<p>And you? What do you think about opening your wifi? Do you think I&#8217;m totally crazy?</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/stefanotesti?a=fFrpJUK5"><img src="http://feeds.feedburner.com/~f/stefanotesti?d=41" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/stefanotesti?a=FM53u2k4"><img src="http://feeds.feedburner.com/~f/stefanotesti?i=FM53u2k4" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/stefanotesti/~4/XjvGKC3TEII" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://stefanotesti.com/p/17/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://stefanotesti.com/p/17</feedburner:origLink></item>
		<item>
		<title>Testing UniTN Wireless</title>
		<link>http://feedproxy.google.com/~r/stefanotesti/~3/AbRituw1lWA/15</link>
		<comments>http://stefanotesti.com/p/15#comments</comments>
		<pubDate>Tue, 24 Jun 2008 23:59:17 +0000</pubDate>
		<dc:creator>Stefano Testi</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[dsl]]></category>
		<category><![CDATA[fiber]]></category>
		<category><![CDATA[italy]]></category>
		<category><![CDATA[optical]]></category>
		<category><![CDATA[trento]]></category>
		<category><![CDATA[unitn]]></category>
		<category><![CDATA[wifi]]></category>
		<category><![CDATA[wireless]]></category>

		<guid isPermaLink="false">http://stefanotesti.com/?p=15</guid>
		<description><![CDATA[In this very hot day, after having given the Network Security exam this morning, I was surfing on the web in the 3rd building at UNITN with Nicola, when we came up with the idea to measure how much bandwidth we can dispose of through the faculty wireless connection.
So we went to Speedtest.net mith my [...]]]></description>
			<content:encoded><![CDATA[<p>In this very hot day, after having given the <em>Network Security</em> exam this morning, I was surfing on the web in the <a href="http://www.flickr.com/photos/caranti/1476590956/">3rd building</a> at <a href="http://www.unitn.it/">UNITN</a> with <a href="http://gfdn.netsons.org">Nicola</a>, when we came up with the idea to measure how much bandwidth we can dispose of through the faculty wireless connection.<span id="more-15"></span></p>
<p>So we went to Speedtest.net mith my Macbook Pro and this is the result of some tests between <a href="http://en.wikipedia.org/wiki/Trento">Trento</a> and <a href="http://en.wikipedia.org/wiki/Rome">Rome</a>:<br />
<img src="http://stefanotesti.com/wp-content/uploads/povo-wifi1.png" alt="UNITN Wireless 1" title="UNITN Wireless 1" width="300" height="135" class="aligncenter size-full wp-image-29" /><br />
<img src="http://stefanotesti.com/wp-content/uploads/povo-wifi2.png" alt="UNITN Wireless 2" title="UNITN Wireless 2" width="300" height="135" class="aligncenter size-full wp-image-30" /></p>
<p>The first thing we noticed is that there is a bandwidth cap for each user, since the download bandwidth is floating between 1Mbps and 2Mbps, and it is the same even if more than one user is downloading at the same time. But the frightening value is the upload one: in some moments we reached about 20Mbps, and it seems that there is no cap to this upload bandwidth.</p>
<p>Since in Italy the best upload bandwidth you can have with a consumer offer is around 512kbps on a DSL line, you can aware of how much me and Nicola were surprised! Usually providers sells DSL connections to consumers, and optical fiber connections only to business entities, and in Italy we end up having broadband download connections choked by narrow upload bandwidth.</p>
<p>Just to give an idea, here&#8217;s another test I made from my home DSL connection:<br />
<img src="http://stefanotesti.com/wp-content/uploads/home-tiscali.png" alt="Home Wireless" title="Home Wireless" width="300" height="135" class="aligncenter size-full wp-image-31" /></p>
<p style="text-align: left;">This should be a 7Mbps/384kbps, but since there&#8217;s a very high load on the DSLAM, I can reach only 3.7Mbps (in the evening speed decreases till 1Mbps or less)&#8230;</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/stefanotesti?a=AbRituw1lWA:nsHi597n87Q:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/stefanotesti?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/stefanotesti?a=AbRituw1lWA:nsHi597n87Q:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/stefanotesti?i=AbRituw1lWA:nsHi597n87Q:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/stefanotesti/~4/AbRituw1lWA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://stefanotesti.com/p/15/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://stefanotesti.com/p/15</feedburner:origLink></item>
		<item>
		<title>Restore Fonera firmware after DDWRT v24final upgrade</title>
		<link>http://feedproxy.google.com/~r/stefanotesti/~3/ZtwjH3KrrXQ/12</link>
		<comments>http://stefanotesti.com/p/12#comments</comments>
		<pubDate>Fri, 20 Jun 2008 21:31:42 +0000</pubDate>
		<dc:creator>Stefano Testi</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[boot]]></category>
		<category><![CDATA[ddwrt]]></category>
		<category><![CDATA[final]]></category>
		<category><![CDATA[firmware]]></category>
		<category><![CDATA[fonera]]></category>
		<category><![CDATA[original]]></category>
		<category><![CDATA[restore]]></category>
		<category><![CDATA[v24]]></category>

		<guid isPermaLink="false">http://stefanotesti.com/?p=12</guid>
		<description><![CDATA[And now, &#8220;another brick in the wall&#8221; of the Fonera posts! After some days of testing and Googling, I&#8217;ve figured out that a working implementation of the Fon capabilities on a Fonera running DDWRT doesn&#8217;t exist. Sometimes Chillispot is broken, sometimes the Heartbeat function doesn&#8217;t work, and so on.
So I wanted to restore the original [...]]]></description>
			<content:encoded><![CDATA[<p>And now, &#8220;another brick in the wall&#8221; of the Fonera posts! After some days of testing and Googling, I&#8217;ve figured out that a working implementation of the Fon capabilities on a Fonera running DDWRT doesn&#8217;t exist. Sometimes Chillispot is broken, sometimes the Heartbeat function doesn&#8217;t work, and so on.<span id="more-12"></span></p>
<p>So I wanted to restore the original firmware, but the tutorial on the <a href="http://www.dd-wrt.com/wiki/index.php/LaFonera_Software_Flashing#Reflashing_LaFonera_original_firmware">DDWRT wiki</a> doesn&#8217;t work, since it does not take into account the recent modification in the boot script introduced after the v24 RC7. If you apply the old recovery, your La Fonera will boot only once, then at the next reboot it will not start, because of the modified boot file created in the DDWRT flashing.</p>
<p>So, if you&#8217;ve flashed your La Fonera (<strong>only 2100 Foneras</strong>) with the most recent version of DDWRT (v24 RC7, v24 final, &#8230;) and want to return to the original FON Firmware, you have to:</p>
<ul>
<li>Download the <a href="http://rapidshare.com/files/18083671/fonera_0.7.1.1_unpacked.zip.html">original 0.7.1.1 firmware</a>, already patched for this kind of flashing</li>
<li>Go to the RedBoot prompt</li>
<li>Give the following commands:</li>
</ul>
<blockquote><p><code>ip_address -l 192.168.1.254/24 -h 192.168.1.2<br />
fis init<br />
load -r -v -b 0x80040450 rootfs.squashfs<br />
fis create -b 0x80040450 -f 0xA8030000 -l 0x00700000 -e 0x00000000 rootfs<br />
load -r -b %{FREEMEMLO} kernel.lzma<br />
fis create -r 0x80041000 -e 0x80041000 vmlinux.bin.l7</code></p></blockquote>
<ul>
<li>Consider that some commands can take up to 20 minutes to be executed, so DO NOT disconnect your Fonera. After this, you have to use the fconfig command, and set the boot parameters according to these ones:</li>
</ul>
<blockquote><p><code>RedBoot&gt; fconfig<br />
Run script at boot: true<br />
Boot script:<br />
.. fis load -l linux<br />
.. exec<br />
Enter script, terminate with empty line<br />
&gt;&gt; fis load -l vmlinux.bin.l7<br />
&gt;&gt; exec<br />
&gt;&gt;<br />
Boot script timeout (1000ms resolution): 10<br />
Use BOOTP for network configuration: false<br />
Gateway IP address:<br />
Local IP address: 192.168.1.254<br />
Local IP address mask: 255.255.255.0<br />
Default server IP address:<br />
Console baud rate: 9600<br />
GDB connection port: 9000<br />
Force console for special debug messages: false<br />
Network debug at boot time: false<br />
Update RedBoot non-volatile configuration - continue (y/n)? y<br />
... Erase from 0xa87e0000-0xa87f0000: .<br />
... Program from 0x80ff0000-0x81000000 at 0xa87e0000: .</code></p></blockquote>
<ul>
<li>To end the flashing process, type:</li>
</ul>
<blockquote><p><code>fis load -l vmlinux.bin.l7<br />
exec</code></p></blockquote>
<p>Your Fonera will reboot and in a couple of seconds you will have your original Fon firmware.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/stefanotesti?a=ZtwjH3KrrXQ:b5HuP-n-heM:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/stefanotesti?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/stefanotesti?a=ZtwjH3KrrXQ:b5HuP-n-heM:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/stefanotesti?i=ZtwjH3KrrXQ:b5HuP-n-heM:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/stefanotesti/~4/ZtwjH3KrrXQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://stefanotesti.com/p/12/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://stefanotesti.com/p/12</feedburner:origLink></item>
		<item>
		<title>Turn off Fonera private signal MyPlace</title>
		<link>http://feedproxy.google.com/~r/stefanotesti/~3/vICrNCDH7GE/10</link>
		<comments>http://stefanotesti.com/p/10#comments</comments>
		<pubDate>Sun, 15 Jun 2008 11:22:05 +0000</pubDate>
		<dc:creator>Stefano Testi</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[disable]]></category>
		<category><![CDATA[fonera]]></category>
		<category><![CDATA[myplace]]></category>
		<category><![CDATA[off]]></category>
		<category><![CDATA[private]]></category>
		<category><![CDATA[signal]]></category>
		<category><![CDATA[switch]]></category>
		<category><![CDATA[turn]]></category>

		<guid isPermaLink="false">http://stefanotesti.com/?p=10</guid>
		<description><![CDATA[In these days I&#8217;m playing a little bit with my shiny Fonera, trying to switch off the private signal. The main reason is that I already have a Linksys router, with DD-WRT firmware, which broadcasts my private signal, along with a second open SSID with limited internet access (only web, mail and IM) for guests [...]]]></description>
			<content:encoded><![CDATA[<p>In these days I&#8217;m playing a little bit with my shiny <a href="http://en.wikipedia.org/wiki/FON">Fonera</a>, trying to <strong>switch off the private signal</strong>. The main reason is that I already have a Linksys router, with DD-WRT firmware, which broadcasts my private signal, along with a second open SSID with limited internet access (only web, mail and IM) for guests (yes, I believe in a world full of joy and hope).<span id="more-10"></span></p>
<p>Searching through tons of webpages I&#8217;ve found that if you want to disable your private signal you can choose between:</p>
<ul>
<li><strong>COMPLETELY DISABLE PRIVATE SIGNAL:</strong> go to the onboard Fonera administration page and put as private SSID a single blank space. Then, reboot the Fonera and your private signal will vanish. If you want to make some changes to the configuration after having turned off the MyPlace, you still have your web administration available at Fon webpages, or you can connect to the Fonera through the LAN side using the usual 169 IP address. If you still want another way to access the admin pages a third option is available: reset your Fonera.</li>
<li><strong>SWITCH OFF PRIVATE SSID BROADCAST, BUT KEEP PRIVATE SIGNAL ACTIVE:</strong> you should go to the Fon website, and put the word <em>OFF</em> as SSID. Your private signal will survive, but its SSID broadcast will be switched off.</li>
</ul>
<div>I don&#8217;t know why, but Fon still doesn&#8217;t provide us with good and customizable firmwares, and in any case does not say how to do this kind of simple and useful configurations, so we are forced to customize the Fonera using some tricks&#8230;</div>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/stefanotesti?a=vICrNCDH7GE:Ft_3bsqExqc:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/stefanotesti?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/stefanotesti?a=vICrNCDH7GE:Ft_3bsqExqc:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/stefanotesti?i=vICrNCDH7GE:Ft_3bsqExqc:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/stefanotesti/~4/vICrNCDH7GE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://stefanotesti.com/p/10/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://stefanotesti.com/p/10</feedburner:origLink></item>
		<item>
		<title>Hello world!</title>
		<link>http://feedproxy.google.com/~r/stefanotesti/~3/3fS9aJEWMB4/1</link>
		<comments>http://stefanotesti.com/p/1#comments</comments>
		<pubDate>Thu, 12 Jun 2008 22:34:11 +0000</pubDate>
		<dc:creator>Stefano Testi</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://stefanotesti.com/?p=1</guid>
		<description><![CDATA[Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!
]]></description>
			<content:encoded><![CDATA[<p>Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/stefanotesti?a=hj7WOvPF"><img src="http://feeds.feedburner.com/~f/stefanotesti?d=41" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/stefanotesti?a=teZDxXZL"><img src="http://feeds.feedburner.com/~f/stefanotesti?i=teZDxXZL" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/stefanotesti/~4/3fS9aJEWMB4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://stefanotesti.com/p/1/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://stefanotesti.com/p/1</feedburner:origLink></item>
	</channel>
</rss>
