[Olsr-users] Fwd: Re: Is there a way to pick a specific OLSR gateway with smart gateway?
Mon May 9 20:47:58 CEST 2016
-------- Forwarded Message --------
Subject: Re: Is there a way to pick a specific OLSR gateway with smart
Date: Mon, 2 May 2016 23:20:43 +0100
From: Ferry Huberts <(spam-protected)>
To: elektra <(spam-protected)>
It would not be too difficult to hook into the current selection
algorithm with a new plugin (or core extension) that forces a certain
Maybe something that does whitelisting or blacklisting of a list of
It is not my itch to scratch though so I will not work on it. However, I
can offer to mentor someone.
And for the record: I inherited all this stuff...
I only adjusted / extended olsrd with stuff we need.
On 02/05/16 22:40, elektra wrote:
> Hi Ferry –
> thank you for your answer.
>> Something could be made for this but ofcourse it would be better to fix
>> the misbehaving gateway node.
> I see. I don't want to complain at all, but let me share some personal thoughts, if you don't mind.
> There might be multiple reasons to pick a gateway. For example, one might not trust the gateway (owner) that pretends to offer amazing bandwidth while we have a good routing metric to the destination. It might be someone aggregating traffic for malicious purposes.
> Our setups are also getting more and more complex and so does the software. Accidental or transient black holes for internet traffic do sometimes occur and we usually solve them on a social level. But for the time while the problem occurs and the social solution takes time to progress, we are stuck without uplink connection in the area affected by the black hole.
> I am trying to run live radio shows via the mesh and I need to feed an official FM transmitter to cover Berlin via antenna.
> Sure we can dream of a bug-free world, but in case someting goes south at the gateway end (it might actually be the ISP of the gateway operator having problems) I want to be able to pick the gateway as a client. Where is the point of a gateway selection mechanism, if the gateway can not be selected manually? I personaly hate automatisms that are trying to outsmart me.
> Here is the relevant section in the manual of the old batmand:
> -p preferred gateway
> Set the internet gateway by yourself. Note: This automatically switches your daemon to
> "internet search modus" with "-r 1" unless "-r" is given. If the preferred gateway is
> not found the gateway selection will use the current routing class to choose a gate‐
> Many years ago, when the CCC congress was still held in Berlin, I asked Henning to add the gateway selection feature of batmand to OLSR. We had the problem of gateway flapping with NAT ever since 2003, when we had started to use OLSR. Hence, a gateway selection mechanism was high on the feature list of batmand. I didn't succeed to convince the Berlin crowd to migrate the entire network to batmand, though, as OLSR was already well known and people were used to it. So I asked Henning to add the gateway selection functionality of batmand into OLSR to fix the issue for OLSR networks. I have now learned from you that the feature has never been fully implemented. Too bad. At least gateway flapping is not a problem anymore, since we are using OpenVPN as a workaround for legal reasons.
> Most Freifunk communities that started in the last years are using batman-adv now.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Olsr-users