[Olsr-dev] jsoninfo ipv6only flag

cholin (spam-protected)
Thu Oct 23 13:43:25 CEST 2014


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
>>>
>>>
>>>
>>
> 
> 
> 
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.olsr.org/pipermail/olsr-dev/attachments/20141023/7628d79d/attachment.sig>


More information about the Olsr-dev mailing list