<?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"
	>

<channel>
	<title>marcfargas.com &#187; English</title>
	<atom:link href="http://blog.marcfargas.com/category/english/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.marcfargas.com</link>
	<description>Somewhere to write stuff...</description>
	<pubDate>Mon, 25 Aug 2008 10:37:23 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
	<language>en</language>
			<item>
		<title>Nokia Beta Labs stickers</title>
		<link>http://blog.marcfargas.com/2008/08/nokia-beta-labs-stickers/</link>
		<comments>http://blog.marcfargas.com/2008/08/nokia-beta-labs-stickers/#comments</comments>
		<pubDate>Mon, 25 Aug 2008 10:36:58 +0000</pubDate>
		<dc:creator>Marc Fargas</dc:creator>
		
		<category><![CDATA[English]]></category>

		<category><![CDATA[nokia]]></category>

		<guid isPermaLink="false">http://blog.marcfargas.com/?p=32</guid>
		<description><![CDATA[Three days ago Nokia Beta Labs announced they were giving stickers for free (20 stickers for the 50 first ones). Today, three days after, I got my 20 stickers!

Maybe they should have send 10 stickers to the 100 first ones, I'll have a hard time looking where to put so many stickers!
Anyway, thanks Nokia  [...]]]></description>
			<content:encoded><![CDATA[<p>Three days ago Nokia Beta Labs <a href="http://betalabs.nokia.com/blog/2008/08/22/beta-labs-stickers-shipped-to-you-for-free/" onclick="javascript:pageTracker._trackPageview('/outbound/article/betalabs.nokia.com');">announced</a> they were giving stickers for free (20 stickers for the 50 first ones). Today, three days after, I got my 20 stickers!</p>
<p style="text-align: center;"><a class="tt-flickr tt-flickr-Medium" href="http://blog.marcfargas.com/flickr/photo/2796167646/Nokia-Beta-Labs-stickers.html" ><img src="http://farm4.static.flickr.com/3136/2796167646_0a53d1193e.jpg" border="0" alt="Nokia Beta Labs stickers" width="500" height="375" /></a></p>
<p style="text-align: left;">Maybe they should have send 10 stickers to the 100 first ones, I'll have a hard time looking where to put so many stickers!</p>
<p style="text-align: left;">Anyway, thanks Nokia <img src='http://blog.marcfargas.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.marcfargas.com/2008/08/nokia-beta-labs-stickers/feed/</wfw:commentRss>
		</item>
		<item>
		<title>I&#8217;m 25</title>
		<link>http://blog.marcfargas.com/2008/08/im-25/</link>
		<comments>http://blog.marcfargas.com/2008/08/im-25/#comments</comments>
		<pubDate>Sun, 03 Aug 2008 22:00:22 +0000</pubDate>
		<dc:creator>Marc Fargas</dc:creator>
		
		<category><![CDATA[English]]></category>

		<category><![CDATA[life]]></category>

		<guid isPermaLink="false">http://blog.marcfargas.com/?p=28</guid>
		<description><![CDATA[Just for you to know, I'm now 25 years old!
]]></description>
			<content:encoded><![CDATA[<p>Just for you to know, I'm now 25 years old!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.marcfargas.com/2008/08/im-25/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Moved to Google Apps</title>
		<link>http://blog.marcfargas.com/2008/07/moved-to-google-apps/</link>
		<comments>http://blog.marcfargas.com/2008/07/moved-to-google-apps/#comments</comments>
		<pubDate>Tue, 29 Jul 2008 19:47:28 +0000</pubDate>
		<dc:creator>Marc Fargas</dc:creator>
		
		<category><![CDATA[English]]></category>

		<category><![CDATA[google]]></category>

		<category><![CDATA[me]]></category>

		<category><![CDATA[network]]></category>

		<guid isPermaLink="false">http://blog.marcfargas.com/?p=26</guid>
		<description><![CDATA[I started to get tired of managing my own exim+spamassassin+clamav+dovecot only to serve my domain, so I dediced to give Google Apps a try.
The move was fairly easy, simply register and change MX records  (and use imapsync to copy mail). I guess I didn't loose anything but If you sent me a mail in [...]]]></description>
			<content:encoded><![CDATA[<p>I started to get tired of managing my own exim+spamassassin+clamav+dovecot only to serve my domain, so I dediced to give Google Apps a try.</p>
<p>The move was fairly easy, simply register and change MX records <img src='http://blog.marcfargas.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> (and use imapsync to copy mail). I guess I didn't loose anything but If you sent me a mail in the last two weeks and I haven't answered, please resend.</p>
<p>The only downside, I hoped google would have some "easy" way to move my google account from *@gmail.com to my Google Apps domain.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.marcfargas.com/2008/07/moved-to-google-apps/feed/</wfw:commentRss>
		</item>
		<item>
		<title>IP Tunnel over SSH (with tun)</title>
		<link>http://blog.marcfargas.com/2008/07/ip-tunnel-over-ssh-with-tun/</link>
		<comments>http://blog.marcfargas.com/2008/07/ip-tunnel-over-ssh-with-tun/#comments</comments>
		<pubDate>Thu, 24 Jul 2008 10:14:37 +0000</pubDate>
		<dc:creator>Marc Fargas</dc:creator>
		
		<category><![CDATA[English]]></category>

		<category><![CDATA[linux]]></category>

		<category><![CDATA[network]]></category>

		<guid isPermaLink="false">http://blog.marcfargas.com/?p=17</guid>
		<description><![CDATA[Today I had some connection problems in one of our offices, so I needed to connect in some alternative way. A good moment for experimenting... The alternative connection was my laptop acting as a router connected with my mobile phone via bluetooth.
The problem's come with the VPN connections, IPSec is nice, but you can hate [...]]]></description>
			<content:encoded><![CDATA[<p>Today I had some connection problems in one of our offices, so I needed to connect in some alternative way. A good moment for experimenting... The alternative connection was my laptop acting as a router connected with my mobile phone via bluetooth.</p>
<p>The problem's come with the VPN connections, IPSec is nice, but you can hate it on lots of things... i.e. all tunnels are setup using static ip addresses so in order to use the alternate connection (dynamic IP) I need to change the ipsec config of the other offices.</p>
<p>So today I wanted to try something new, tunneling ip traffic from one network to another over an ssh connection. And it works, Gentoo's wiki has some information on the subject: <a title="HOWTO_VPN_over_SSH_and_tun" href="http://gentoo-wiki.com/HOWTO_VPN_over_SSH_and_tun" onclick="javascript:pageTracker._trackPageview('/outbound/article/gentoo-wiki.com');">here</a></p>
<p>In brief, you need to, on the server:</p>
<ul>
<li>Add "PermitTunnel yes" to /etc/ssh/sshd_config</li>
</ul>
<p>Now, on the client it's as easy as to run ssh with some parameters, my script for launching it is:</p>
<pre class="bash"><span style="color: #808080; font-style: italic;">#!/bin/sh</span>
<span style="color: #007800;">HOST=</span>REMOTE_PARTY_ADDRESS
<span style="color: #007800;">HOST_PORT=</span><span style="color: #000000;">22</span>
<span style="color: #007800;">TUN_LOCAL=</span><span style="color: #000000;">0</span>   <span style="color: #808080; font-style: italic;"># tun device number here.</span>
<span style="color: #007800;">TUN_REMOTE=</span><span style="color: #000000;">0</span>  <span style="color: #808080; font-style: italic;"># tun device number there</span>
<span style="color: #007800;">IP_LOCAL=</span><span style="color: #000000;">192.168</span><span style="color: #000000;">.111</span><span style="color: #000000;">.2</span> <span style="color: #808080; font-style: italic;"># IP Address <span style="color: #000000; font-weight: bold;">for</span> tun here</span>
<span style="color: #007800;">IP_REMOTE=</span><span style="color: #000000;">192.168</span><span style="color: #000000;">.111</span><span style="color: #000000;">.1</span> <span style="color: #808080; font-style: italic;"># IP Address <span style="color: #000000; font-weight: bold;">for</span> tun there.</span>
<span style="color: #007800;">IP_MASK=</span><span style="color: #000000;">30</span> <span style="color: #808080; font-style: italic;"># Mask of the ips above.</span>
<span style="color: #007800;">NET_REMOTE=</span><span style="color: #000000;">192.168</span><span style="color: #000000;">.0</span><span style="color: #000000;">.0</span>/<span style="color: #000000;">16</span> <span style="color: #808080; font-style: italic;"># Network on the other side of the tunnel</span>
<span style="color: #007800;">NET_LOCAL=</span><span style="color: #000000;">192.168</span><span style="color: #000000;">.8</span><span style="color: #000000;">.0</span>/<span style="color: #000000;">24</span>  <span style="color: #808080; font-style: italic;"># Network on this side of the tunnel</span>
&nbsp;
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Starting VPN tunnel ...&quot;</span>
modprobe tun
<span style="color: #c20cb9; font-weight: bold;">ssh</span> -<span style="color: #c20cb9; font-weight: bold;">w</span> <span style="color: #007800;">$<span style="color: #7a0874; font-weight: bold;">&#123;</span>TUN_LOCAL<span style="color: #7a0874; font-weight: bold;">&#125;</span></span>:<span style="color: #007800;">$<span style="color: #7a0874; font-weight: bold;">&#123;</span>TUN_REMOTE<span style="color: #7a0874; font-weight: bold;">&#125;</span></span> -f <span style="color: #007800;">$<span style="color: #7a0874; font-weight: bold;">&#123;</span>HOST<span style="color: #7a0874; font-weight: bold;">&#125;</span></span> -p <span style="color: #007800;">$<span style="color: #7a0874; font-weight: bold;">&#123;</span>HOST_PORT<span style="color: #7a0874; font-weight: bold;">&#125;</span></span> <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\</span>
	ip addr add ${IP_REMOTE}/${IP_MASK} dev tun${TUN_REMOTE} <span style="color: #000099; font-weight: bold;">\</span>
	&amp;amp;&amp;amp; ip link set tun${TUN_REMOTE} up <span style="color: #000099; font-weight: bold;">\</span>
	&amp;amp;&amp;amp; ip route add ${NET_LOCAL} via ${IP_LOCAL} <span style="color: #000099; font-weight: bold;">\</span>
	&amp;amp;&amp;amp; true&quot;</span>
<span style="color: #c20cb9; font-weight: bold;">sleep</span> <span style="color: #000000;">3</span>
ip addr add <span style="color: #007800;">$<span style="color: #7a0874; font-weight: bold;">&#123;</span>IP_LOCAL<span style="color: #7a0874; font-weight: bold;">&#125;</span></span>/<span style="color: #007800;">$<span style="color: #7a0874; font-weight: bold;">&#123;</span>IP_MASK<span style="color: #7a0874; font-weight: bold;">&#125;</span></span> dev tun<span style="color: #007800;">$<span style="color: #7a0874; font-weight: bold;">&#123;</span>TUN_LOCAL<span style="color: #7a0874; font-weight: bold;">&#125;</span></span>
ip <span style="color: #c20cb9; font-weight: bold;">link</span> <span style="color: #000000; font-weight: bold;">set</span> tun<span style="color: #007800;">$<span style="color: #7a0874; font-weight: bold;">&#123;</span>TUN_LOCAL<span style="color: #7a0874; font-weight: bold;">&#125;</span></span> up
ip route add <span style="color: #007800;">$<span style="color: #7a0874; font-weight: bold;">&#123;</span>NET_REMOTE<span style="color: #7a0874; font-weight: bold;">&#125;</span></span> via <span style="color: #007800;">$<span style="color: #7a0874; font-weight: bold;">&#123;</span>IP_REMOTE<span style="color: #7a0874; font-weight: bold;">&#125;</span></span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;... done.&quot;</span></pre>
<p>You'll maybe want to run this as root, because of the "ip" commands, and so <img src='http://blog.marcfargas.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>It's still far from perfect (i.e: the tunnel dies too often for some reason... although keep alive is set). But at least people around can print again! Luckily VoIP is handled out of the VPN.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.marcfargas.com/2008/07/ip-tunnel-over-ssh-with-tun/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Hobbes in the river</title>
		<link>http://blog.marcfargas.com/2008/07/hobbes-in-the-river/</link>
		<comments>http://blog.marcfargas.com/2008/07/hobbes-in-the-river/#comments</comments>
		<pubDate>Sun, 20 Jul 2008 21:05:34 +0000</pubDate>
		<dc:creator>Marc Fargas</dc:creator>
		
		<category><![CDATA[English]]></category>

		<category><![CDATA[hobbes]]></category>

		<category><![CDATA[life]]></category>

		<guid isPermaLink="false">http://blog.marcfargas.com/2008/07/hobbes-in-the-river/</guid>
		<description><![CDATA[
Hobbes in the river
Cargado originalmente por teleniek0

This Saturday there was the "Fast Painting" course on Gualba (a town in El Montseny), as you may guess from the photo, Me and Hobbes didn't spend any time painting.
He spent the whole day running on the river with the tennis ball, And I threw the ball and took [...]]]></description>
			<content:encoded><![CDATA[<p><a title="photo sharing" href="http://www.flickr.com/photos/teleniek0/2685588785/" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.flickr.com');"><img style="border: solid 2px #000000;" src="http://farm4.static.flickr.com/3115/2685588785_e1aa01c2b6_m.jpg" alt="" /></a></p>
<p><span style="font-size: 0.9em; margin-top: 0px;"><a href="http://www.flickr.com/photos/teleniek0/2685588785/" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.flickr.com');">Hobbes in the river</a></p>
<p>Cargado originalmente por <a href="http://www.flickr.com/people/teleniek0/" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.flickr.com');">teleniek0</a><br />
</span><br />
This Saturday there was the "Fast Painting" course on Gualba (a town in El Montseny), as you may guess from the photo, Me and Hobbes didn't spend any time painting.</p>
<p>He spent the whole day running on the river with the tennis ball, And I threw the ball and took photos <img src='http://blog.marcfargas.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.marcfargas.com/2008/07/hobbes-in-the-river/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Wordpress in the meantime</title>
		<link>http://blog.marcfargas.com/2008/07/wordpress-in-the-meantime/</link>
		<comments>http://blog.marcfargas.com/2008/07/wordpress-in-the-meantime/#comments</comments>
		<pubDate>Sun, 20 Jul 2008 20:34:57 +0000</pubDate>
		<dc:creator>Marc Fargas</dc:creator>
		
		<category><![CDATA[English]]></category>

		<guid isPermaLink="false">http://blog.marcfargas.com/?p=12</guid>
		<description><![CDATA[Ok, as you may have noticed I'm running Wordpress.
Although I'm a big fan of Django and I really enjoy developing sites with it, I just realised I do not have time to "build" my own website, neither to write up a blog app (I know, there are many out there). So I decided I'd try [...]]]></description>
			<content:encoded><![CDATA[<p>Ok, as you may have noticed I'm running Wordpress.</p>
<p>Although I'm a big fan of Django and I really enjoy developing sites with it, I just realised I do not have time to "build" my own website, neither to write up a blog app (I know, there are many out there). So I decided I'd try to live with Wordpress for some time, ...</p>
<p>That just has a few problems... My server (marcfargas.com) has no PHP, and <strong>no MySQL</strong>! So I have to run the blog on a subdomain which is hosted in Dreamhost (I have an account here for other stuff).</p>
<p>So, Djangonauts, forgive me for using Wordpress <img src='http://blog.marcfargas.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p><strong>NOTE to RSS Subscribers:</strong> I plan to write in either Spanish, Catalan or English. Posts in either language will be categorized so you can subscribe only to the language you want. See links at the right.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.marcfargas.com/2008/07/wordpress-in-the-meantime/feed/</wfw:commentRss>
		</item>
		<item>
		<title>MS Excel Help little gem</title>
		<link>http://blog.marcfargas.com/2008/02/ms-excel-help-little-gem/</link>
		<comments>http://blog.marcfargas.com/2008/02/ms-excel-help-little-gem/#comments</comments>
		<pubDate>Thu, 14 Feb 2008 20:12:15 +0000</pubDate>
		<dc:creator>Marc Fargas</dc:creator>
		
		<category><![CDATA[English]]></category>

		<guid isPermaLink="false">http://blog.marcfargas.com/?p=9</guid>
		<description><![CDATA[We know Microsoft likes to be ambiguous, I just got this on MS Excel Help (In Spanish):
Si a1 es VERDADERO o se omite, ref se interpreta como una referencia estilo A1.
Si a1 es FALSO o se omite, ref se interpreta como una referencia estilo L1C1.

This can be translated to:
 If a1 is TRUE or omitted, [...]]]></description>
			<content:encoded><![CDATA[<p><span class="capitalize">We know Microsoft likes to be ambiguous, I just got this on MS Excel Help (In Spanish):</span></p>
<pre><code>Si a1 es VERDADERO o se omite, ref se interpreta como una referencia estilo A1.
Si a1 es FALSO o se omite, ref se interpreta como una referencia estilo L1C1.
</code></pre>
<p>This can be translated to:</p>
<pre><code> If a1 is TRUE or omitted, ref is interpreted as a reference of style A1.
 If a1 is FALSE or omitted, ref is interpreted as a reference of style L1C1.
</code></pre>
<p>Now, the big question is, if a1 is omited how will ref be interpreted?</p>
<p>The Online Help (English version) is correct, somebody wanted to confuse Spanish users! <img src='http://blog.marcfargas.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>(Online version of Office Help <a href="http://office.microsoft.com/es-es/excel/HP100624133082.aspx" onclick="javascript:pageTracker._trackPageview('/outbound/article/office.microsoft.com');">available here</a>)</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.marcfargas.com/2008/02/ms-excel-help-little-gem/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Outgoing connections from Linux not working</title>
		<link>http://blog.marcfargas.com/2008/01/outgoing-connections-from-linux-not-working/</link>
		<comments>http://blog.marcfargas.com/2008/01/outgoing-connections-from-linux-not-working/#comments</comments>
		<pubDate>Sun, 13 Jan 2008 20:10:08 +0000</pubDate>
		<dc:creator>Marc Fargas</dc:creator>
		
		<category><![CDATA[English]]></category>

		<category><![CDATA[network]]></category>

		<guid isPermaLink="false">http://blog.marcfargas.com/?p=5</guid>
		<description><![CDATA[A friend of mine has a nice MythTV box on his bedroom. Suddently the box decided to not open outgoing connections anymore... I say outgoing because I could still connect to it from my home.
I could not find out what was last changed, maybe an aptitude upgrade or did he change ISP?
After some time looking [...]]]></description>
			<content:encoded><![CDATA[<p><span class="capitalize">A friend of mine has a nice MythTV box on his bedroom. Suddently the box decided to not open outgoing connections anymore... I say outgoing because I could still connect to it from my home.</span></p>
<p>I could not find out what was last changed, maybe an <em>aptitude upgrade</em> or did he change ISP?</p>
<p>After some time looking around the only thing I could find out was a small difference between a SYN packet send from a remote place and the SYN packets send by the broken system:</p>
<pre><code>22:56:47.855219 IP Banner.local.33509 &gt; google.es.www: S 206185417:206185417(0)
    win 5840 &lt;mss 1460,sackOK,timestamp 218414628 0,nop,wscale 5&gt;

23:24:16.072713 IP golfos.net.42742 &gt; Banner.local.ssh: S 1705835822:1705835822(0)
    win 5840 &lt;mss 1460,sackOK,timestamp 5636642 0,nop,wscale 4&gt;
</code></pre>
<p>You see, his box was sending <em>wscale 5</em> and remote sites sent <em>wscale 4</em>, google, google, more google until I read this:</p>
<blockquote><p>I think OpenBSD's claim (they did have the bug and probably still do    for all that I know) was that they wanted to make their firewalling    "stateless".</p>
<p>from: http://kerneltrap.org/node/6723</p></blockquote>
<p>Maybe the router does not know what <em>wscale</em> means? I disabled the router's firewall completelly (I was sure I already did this...) and suddently everything worked fine...</p>
<p>Sure, I have to read more about windows scaling and try to understand what is wrong with the router's firewall but for now: things work.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.marcfargas.com/2008/01/outgoing-connections-from-linux-not-working/feed/</wfw:commentRss>
		</item>
		<item>
		<title>First Post</title>
		<link>http://blog.marcfargas.com/2008/01/first-post/</link>
		<comments>http://blog.marcfargas.com/2008/01/first-post/#comments</comments>
		<pubDate>Tue, 01 Jan 2008 20:07:46 +0000</pubDate>
		<dc:creator>Marc Fargas</dc:creator>
		
		<category><![CDATA[English]]></category>

		<guid isPermaLink="false">http://blog.marcfargas.com/?p=3</guid>
		<description><![CDATA[This is my first Blog Post, just to make sure everything went ok.
]]></description>
			<content:encoded><![CDATA[<p><span class="capitalize">This is my first Blog Post, just to make sure everything went ok.</span></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.marcfargas.com/2008/01/first-post/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
