<?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>General Settings &#187; olsr</title>
	<atom:link href="http://blog.dd19.de/~alx/tag/olsr/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.dd19.de/~alx</link>
	<description>freifunk, piratenpartei und polyamorie</description>
	<lastBuildDate>Sat, 04 Feb 2012 13:34:07 +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>n2n</title>
		<link>https://blog.dd19.de/~alx/2008/05/n2n/</link>
		<comments>https://blog.dd19.de/~alx/2008/05/n2n/#comments</comments>
		<pubDate>Wed, 28 May 2008 15:51:38 +0000</pubDate>
		<dc:creator>alx</dc:creator>
				<category><![CDATA[freifunk]]></category>
		<category><![CDATA[miscellaneous]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[outside]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[n2n]]></category>
		<category><![CDATA[olsr]]></category>
		<category><![CDATA[tinc]]></category>
		<category><![CDATA[vpn]]></category>
		<category><![CDATA[wireless]]></category>

		<guid isPermaLink="false">http://blogs.k-ita.de/~alx/?p=43</guid>
		<description><![CDATA[After the trouble with debian fucking up most of our tinc keys and the need to change a lot of keys, basically to rebuild the vpn nearly from scratch, i had a look for some vpn which are doing things &#8230; <a href="https://blog.dd19.de/~alx/2008/05/n2n/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>After the trouble with debian fucking up most of our <a href="http://www.tinc-vpn.org/" title="tinc">tinc</a> <a href="http://wiki.freifunk.net/TincVPNBerlin#Knoten_in_der_Tinc-Wolke" title="keys">keys</a> and the need to change a lot of keys, basically to rebuild the vpn nearly from scratch, i had a look for some vpn which are doing things more &#8220;ad-hoc&#8221;.</p>
<p>Sure, tinc is nice, tinc is peer2peer, but without an efficient key distribution system, it eats too much workpower for maintainance.</p>
<p>I found <a href="http://ieeexplore.ieee.org/iel5/9522/30170/01386101.pdf?arnumber=1386101" title="ELA">ELA</a>, &#8220;A Fully Distributed VPN System over Peer-to-Peer Network&#8221;, but it is from 2005 and written for linux 2.4.20.</p>
<p>I also found <a href="http://www.ntop.org/n2n/" title="n2n">n2n</a>, which looks quite promising, as it is quite new, runs in userspace, has not many dependencies and is quite small, so it should be able to run on our linksys based nodes.</p>
<p>One could argue, a shared key is nno security at all, if you have a big group, but security is not the main issue, it is about connectivity. without all that key exchange hassle, it could be easy to install and to configure and spread the use of vpn technology in freifunk and other wireless community networks.</p>
<p>I still did not find out how to run the network with more then one supernode, as stated in the <a href="http://luca.ntop.org/n2n.pdf" title="Paper">paper</a>, but it looks like it is going to be implemented <a href="https://svn.ntop.org/trac/ticket/36" title="ticket">soon</a>.</p>
<p>I will keep playing with it and would be happy about anybody sharing his experiences with n2n as vpn backend for interconnecting meshclouds.</p>
<p>Update: Frithjof did an <a href="http://downloads.openwrt.org/kamikaze/7.09/" title="kamikaze">kamikaze</a> <a href="http://builder.frithjof-hammer.de/n2n/" title="n2n ipkg">ipkg</a>.</p>
]]></content:encoded>
			<wfw:commentRss>https://blog.dd19.de/~alx/2008/05/n2n/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>meshlium</title>
		<link>https://blog.dd19.de/~alx/2008/05/meshlium/</link>
		<comments>https://blog.dd19.de/~alx/2008/05/meshlium/#comments</comments>
		<pubDate>Mon, 12 May 2008 16:03:00 +0000</pubDate>
		<dc:creator>alx</dc:creator>
				<category><![CDATA[freifunk]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[outside]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[mesh]]></category>
		<category><![CDATA[olsr]]></category>
		<category><![CDATA[wireless]]></category>

		<guid isPermaLink="false">http://blogs.k-ita.de/~alx/?p=41</guid>
		<description><![CDATA[Again, someone is building an open source mesh router: http://www.meshlium.com/ Looks like the big players in muni mesh are getting pressure from below. Have to have a look on that, did anybody see the downloadbuttom?]]></description>
			<content:encoded><![CDATA[<p>Again, someone is building an open source mesh router: <a href="http://www.meshlium.com/" title="http://www.meshlium.com/">http://www.meshlium.com/</a></p>
<p>Looks like the big players in muni mesh are getting pressure from below.</p>
<p>Have to have a look on that, did anybody see the downloadbuttom?</p>
]]></content:encoded>
			<wfw:commentRss>https://blog.dd19.de/~alx/2008/05/meshlium/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>olsr-tunnel</title>
		<link>https://blog.dd19.de/~alx/2007/12/olsr-tunnel/</link>
		<comments>https://blog.dd19.de/~alx/2007/12/olsr-tunnel/#comments</comments>
		<pubDate>Mon, 10 Dec 2007 06:43:57 +0000</pubDate>
		<dc:creator>alx</dc:creator>
				<category><![CDATA[freifunk]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[politics]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[b.a.t.m.a.n.]]></category>
		<category><![CDATA[olsr]]></category>
		<category><![CDATA[routing]]></category>
		<category><![CDATA[tunnel]]></category>

		<guid isPermaLink="false">http://blogs.k-ita.de/~alx/?p=28</guid>
		<description><![CDATA[Hi, after being annoyed of the unfair comparisation between b.a.t.m.a.n. and olsr, resulting in &#8220;but it has gateway tunnels&#8221; i had a talk with tetzlav from freifunk leipzig about olsr and gateway tunnels. We came to the conclusion that the &#8230; <a href="https://blog.dd19.de/~alx/2007/12/olsr-tunnel/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Hi,</p>
<p>after being annoyed of the unfair comparisation between b.a.t.m.a.n. and olsr, resulting in &#8220;but it has gateway tunnels&#8221; i had a talk with tetzlav from <a href="http://leipzig.freifunk.net/" title="Freifunk Leipzi">freifunk leipzig</a> about olsr and gateway tunnels.</p>
<p>We came to the conclusion that the concept of asymmetric tunnel should be easy to implement without messing with the olsr code:</p>
<ol>
<li>install the ipip kernel module, load it on gateway(s) and your node.</li>
<li>fire you tunl0 on your gateway up with some dumy ip address.</li>
<li>add a tunnel interface on your node with your gateway ip as the destination ip</li>
<li>fire your tunl with your meship as its ip</li>
<li>add a default route with a better metric as the olsr default route pointing to your tunnel interface</li>
</ol>
<p>As everybody is using the <a href="http://ff-firmware.sourceforge.net/">Freifunk firmware</a>, i tried to do this with a few buffalo router running <a href="http://download-master.berlin.freifunk.net/ipkg/">fff-1.6.22</a>:</p>
<p>I took some already for freifunk configured meshnodes.</p>
<p>switched off all firewalls.<br />
Installed the freifunk-recommended-de, freifunk-openwrt-compat and the kmod-ipip package via the webinterface.<br />
After reboot, did a</p>
<pre>ifconfig tunl0 10.23.23.23 up</pre>
<p>on the gateway.</p>
<p>my gateway has 104.128.30.3 as its ip, my node 104.128.30.1, so on the node:</p>
<pre>ip tunnel add tunl1 mode ipip remote 104.128.30.3
ifconfig tunl1 104.128.30.1 up
route add default dev tunl1 metric 0</pre>
<p>Now you should be able to observe tunnel packets leaving your node and nontunneld answers coming back.</p>
<p>As packets coming from the LAN port will not pass nat, their answers will not routed back. To circumvent this, put a small /29 on your lan, switch off NAT and announce the /29 via HNA4.</p>
<p>Writing a small script to get the best gateway from olsr and to set the tunnel destination  should be easy.</p>
<p>Thinking further, it should be possible to use the olsr service announcement plugin to advertise the available average bandwith of a gateway, giving a better advise to choose an uplink.</p>
<p>Involving some connection tracking, it might be possible to switch gateways with keeping the existing connections to the old gateway, resulting in less hurting behavior while using always the best gateway.</p>
<p>Update: the nice people from <a href="http://leipzig.freifunk.net/" title="freifunk leipzig">freifunk leipzig</a> made a packet for freifunkfirmware, you find it in their packet <a href="http://firmware.leipzig.freifunk.net/ipkg/global/" title="repository">repository</a>.</p>
<p>Advice: Do not do this at home without policy routing and knowing exactly what you do, it is just a proof of concept.</p>
]]></content:encoded>
			<wfw:commentRss>https://blog.dd19.de/~alx/2007/12/olsr-tunnel/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

