[Olsr-dev] jsoninfo ipv6only flag / OpenWrt

Bastian Bittorf (spam-protected)
Thu Oct 23 10:28:48 CEST 2014


* cholin <(spam-protected)> [23.10.2014 10:06]:
> LoadPlugin "olsrd_jsoninfo.so.0.0"
> {
> 	PlParam "accept" "::"
> 	PlParam "ipv6only" "true"
> }
> 
> Am I misunderstanding this option or what am I doing wrong here?

i did the same on openwrt with:
olsr.org-0.6.7-git_fa1ee2b-hash_02c74aa5e398954425461ade7b4ccc90

# this is in '/etc/config/olsrd'
config LoadPlugin
        option library 'olsrd_jsoninfo.so.0.0'
        option port 5555
#       option "accept" "::"
        option "ipv6only" "true"

what is strange is, that '::' seems to be invalid
in /lib/functions/olsrd.sh - but anyway:

# this is in the generated '/var/etc/olsrd.conf'
LoadPlugin "olsrd_jsoninfo.so.0.0"
{
        PlParam "port" "5555"
        PlParam "ipv6only" "true"
}

(spam-protected):~ echo all | nc 127.0.0.1 5555 | wc -l
11782

hmmm...bye, bastian




More information about the Olsr-dev mailing list