[Olsr-dev] jsoninfo ipv6only flag

Henning Rogge (spam-protected)
Thu Oct 23 16:20:14 CEST 2014


Thank you for the feedback that you got the problem resolved.

Henning

On Thu, Oct 23, 2014 at 1:43 PM, cholin <(spam-protected)> wrote:
> Ignore this last mail. Seems I had installed older olsr libs system-wide
> and therefor the wrong lib got used. It's working on my linux machine.
>
> $ sudo ./olsrd  -f olsrd6.con
> $ nc -v 127.0.0.1 9090
> localhost.localdomain [127.0.0.1] 9090 (websm): Connection refused
>
>
> Regards
> Nico
>
> Am 23.10.2014 um 11:12 schrieb cholin:
>> I tried it as well on my arch linux machine with a self-compiled olsrd
>> 0.6.7 (7c86adcf5efcbf152ff032e0ae9a8b559d64fe42) with ipv6only set (for
>> config see http://pastebin.com/is21CuPW). It does not work either.
>>
>> $ echo all | nc 127.0.0.1 9090 | wc -l
>> 168
>>
>> Debug output from olsrd (debug level 2) is:
>>
>> (JSONINFO) Connect from ::ffff:127.0.0.1
>>
>> Regards
>> Nico
>>
>> Am 23.10.2014 um 09:37 schrieb Ferry Huberts:
>>> Make sure the right config file is loaded.
>>>
>>> The location of the config file(s) has moved, config files are now
>>> located under /etc/olsrd by default.
>>>
>>> Going on what you mentioned, it seems you are on OpenWRT, of which I
>>> know nothing.
>>>
>>> Also, as far as I know we use a single config file /etc/olsrd/olsr.conf
>>>
>>> On 23/10/14 09:21, cholin wrote:
>>>> Hey.
>>>>
>>>> I'm trying to use this new ipv6only flag (olsr
>>>> 0.6.7-git_cebcd32-hash_f8ec804d1566d5a03fca9ae3c290546) for jsoninfo
>>>> with openwrt. When I set "option ipv6only 'true'" for jsoninfo in
>>>> /etc/config/olsrd6 and only start olsrd6, it seems jsoninfo is also
>>>> listening on ipv4.
>>>> I can netcat on 127.0.0.1 9090. Generated config for jsoninfo plugin
>>>> looks like the following:
>>>>
>>>> LoadPlugin "olsrd_jsoninfo.so.0.0"
>>>> {
>>>>     PlParam "accept" "::"
>>>>     PlParam "ipv6only" "true"
>>>> }
>>>>
>>>> Am I misunderstanding this option or what am I doing wrong here?
>>>>
>>>> Regards
>>>> Nico
>>>>
>>>>
>>>>
>>>
>>
>>
>>
>>
>
>
>
> --
> Olsr-dev mailing list
> (spam-protected)
> https://lists.olsr.org/mailman/listinfo/olsr-dev




More information about the Olsr-dev mailing list