[Olsr-dev] (no subject)

Stanley Koteks (spam-protected)
Sat May 17 20:20:57 CEST 2008


Could you elaborate? Do you mean this is a config option already, or
that I can make a patch for this config option? If the latter, do you
want this patch?

On 5/17/08, Sven-Ola Tuecke <(spam-protected)> wrote:
> Hi,
>
> that is already there. Filters out 127.0.0.1. Just extend, add netmask and
> make new config option.
>
> // Sven-Ola
>
> ""Stanley Kotes"" <(spam-protected)> schrieb im Newsbeitrag
> news:(spam-protected)
>> Hello,
>>
>> I want to implement a filter module to filter out routes that are not
>> wanted. For instance:
>>
>> PlParam "filter" "192.168.2.0/24"
>>
>> Would not accept any HNAs in that range, instead, silently drop them.
>> I have most of the plugin already written, and can print out "Accept"
>> or "Reject" messages depending on the HNAs received. The only part I
>> don't understand is how to actually approve or reject the olsr_message
>> I received. At the moment, I'm registering a parser that gets HNA
>> messages and calling olsr_forward_message to forward the message if I
>> accept it, and I don't call that if I reject it. Is that correct? Is
>> there any documentation I can read about this? Or do I need to change
>> something else?
>>
>> Also, I believe I have found a bug in ip_in_net in ipcalc.c. I was
>> using the functions in here for obvious reasons, and without this
>> patch, it would not convert the IPs to host form in order to perform
>> the bitwise AND. This patch fixes that so that it works on little and
>> big endian machines. The patch is attached.
>>
>> Stanley Koteks
>>
>
>
> --------------------------------------------------------------------------------
>
>
>> --
>> Olsr-dev mailing list
>> (spam-protected)
>> http://lists.olsr.org/mailman/listinfo/olsr-dev
>
>
> --
> Olsr-dev mailing list
> (spam-protected)
> http://lists.olsr.org/mailman/listinfo/olsr-dev
>




More information about the Olsr-dev mailing list