[Babel-users] More about the BSD port

Henning Rogge hrogge at googlemail.com
Sat Nov 13 10:12:10 UTC 2010


On Friday 12 November 2010 20:20:21 Mitar wrote:
> Hi!
> 
> On Fri, Nov 12, 2010 at 6:29 PM, Juliusz Chroboczek
> 
> <Juliusz.Chroboczek at pps.jussieu.fr> wrote:
> > There are two issues.  First, kernel_route sometimes returns EINVAL and
> > fails to install a route.  According to Grégoire Henry (the original
> > author of the BSD port), this is due to attempting to install routes
> > with no gateway to a node that does not belong to the local prefix.
> > Under Linux, I work around that by using the onlink flag; is there
> > anything similar under BSD?
> 
> Oh, Mac OS X and routing. We just had last week a discussion about
> that on OLSR mailing list. ;-)
> 
> I think we all need an expert here.
> 
> I had an idea once, that all (open source) routing protocols could
> share OS-dependent code for manipulation of routes. Because this is
> really something all protocols share and everybody is reinventing.
I like this idea...

We just have to think about a good API interface between the routing code and 
the os-dependent parts. I have done lot's of refactoring in the OLSRd master 
branch for the OS-dependent API interface, and I would be happy to do more of 
it to get to a common codebase.

@Julius: OLSRd contains code to set BSD IPv4 routes, but it seems to have 
problems too. Joining forces for this code parts seem to be a good idea.

Henning
-- 
1) You can't win.
2) You can't break even.
3) You can't leave the game.
— The Laws of Thermodynamics, summarized
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/babel-users/attachments/20101113/d7440ee7/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/babel-users/attachments/20101113/d7440ee7/attachment-0001.pgp>


More information about the Babel-users mailing list