<div dir="ltr"><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">Hi Marek,<div><br></div><div>thanks for the link. I took a look at te code and I have to say that what I'm proposing</div>
<div>is different. Even though the BATMAN module does realize IP/UDP encapsulation by</div><div>"exporting" a device to userspace, its approach is different for many reasons. Just to say</div><div>one thing, the BATMAN module makes use of a character device and not a netdevice. This</div>
<div>changes many things, which I don't think is not useful to discuss in this mail.</div><div><br></div><div>So, if you are saying that we can use the BATMAN kernel module and adapt it to be </div><div>used by the smart-gw (as Saverio was proposing), I agree. Anyway, if we do so, </div>
<div>we get back to the original point that motived this work, i.e.: we don't have a "generic"</div><div>IPinUDP encapsulation (kernel) module that is independent from a particular application and from</div>
<div>the IPsec stack.</div><div><br></div><div>If, instead, you say that the BATMAN module can be generalized to obtain the same thing</div><div>I am proposing, I don't agree and we can further discuss about that.</div>
<div><br></div><div>Again, I just want to underline that what I am proposing is independent from OLSR, BATMAN </div><div>and any other particular application, and that it can be used in different contexts.</div></span></div>
<div><br></div><div>Ciao</div><div>Marco</div><div><br></div><div><div class="gmail_quote">On Wed, Apr 7, 2010 at 2:08 PM, Marek Lindner <span dir="ltr"><<a href="mailto:lindner_marek@yahoo.de" target="_blank">lindner_marek@yahoo.de</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>On Wednesday 07 April 2010 05:28:05 ZioPRoTo (Saverio Proto) wrote:<br>
> The Project "IP/UDP encapsulation Kernel module" is an indipendent<br>
> project from OLSR.<br>
><br>
> The kernel today makes possible to create IP-in-IP of IP-in-GRE<br>
> tunnels using the "ip" tool. But if you want IP/UDP is not possible to<br>
> configure the kernel to have such a tunnel. You need some VPN<br>
> software, like tinc or OpenVPN, maybe you have to use encription even<br>
> if not needed.<br>
><br>
> Now, if we write this IP/UDP encapsulation module, generic for the<br>
> Kernel, this can be used on any network with any routing protocol. I<br>
> guess also the smart-gw feature can use that module instead of the<br>
> ip-ip.<br>
<br>
</div>I suggest having a look into the batman layer 3 sources. There you can find a<br>
kernel module which does exactly what you want:<br>
<a href="http://www.open-mesh.org/browser/trunk/batman/linux/modules" target="_blank">http://www.open-mesh.org/browser/trunk/batman/linux/modules</a><br>
Although the setup API is a bit batman specifc (the batman daemon controlled<br>
the module) you could easily strip the batman API and replace it with<br>
something more generic.<br>
<br>
Cheers,<br>
<font color="#888888">Marek<br>
</font><div><div></div><div>_______________________________________________<br>
WLANware mailing list<br>
<a href="mailto:WLANware@freifunk.net" target="_blank">WLANware@freifunk.net</a><br>
Abonnement abbestellen? -> <a href="https://freifunk.net/mailman/listinfo/wlanware" target="_blank">https://freifunk.net/mailman/listinfo/wlanware</a><br>
<br>
Weitere Infos zu den <a href="http://freifunk.net" target="_blank">freifunk.net</a> Mailinglisten und zur An- und Abmeldung unter <a href="http://freifunk.net/mailinglisten" target="_blank">http://freifunk.net/mailinglisten</a><br>


</div></div></blockquote></div><br></div></div>