[Olsr-dev] [SOLVED] possible bug in IPv6 - txtinfo plugin believes a remote IPv6 is a local IPv6 ?

ZioPRoTo (Saverio Proto) (spam-protected)
Thu Aug 9 12:08:14 CEST 2012


I want to share this experience because really I thought we had a bug in OLSRD.
This was fixed just doing:
echo 0 > /proc/sys/net/ipv6/conf/lo/disable_ipv6

that for some reason was set to 1.

as you can see OLSR had in the links database a lot of strange stuff !!!!


Version: olsr.org -
0.6.3-git_18a7aa2-hash_5a445933668441036e7f086635b5547c  - (built on
2012-08-08 13:03:38 on nockid)
https://github.com/zioproto/olsrd-gsoc2012/commits/mDNS-plugin-GSOC

(note that this is my tree to changes only to mDNS but I am not using mDNS here.

XM.v5.5.sdk# cat /sbin/6olsr
#!/bin/sh
wget -q http://[::1]:2007/$1 -O -

XM.v5.5.sdk# 6olsr links
Table: Links
Local IP        Remote IP       Hyst.   LQ      NLQ     Cost
2001:4c00:893b:1:145::3 2001:4c00:893b:1:184::4 0.00    1.000   0.761   1.313
2001:4c00:893b:145::18  2001:4c00:893b:145::17  0.00    1.000   1.000   1.000
2001:4c00:893b:1:145::3 2001:4c00:893b:1:183::2 0.00    1.000   0.937   1.066

XM.v5.5.sdk# ip -6 addr show
2: eth0: <BROADCAST,MULTICAST,ALLMULTI,PROMISC,UP,LOWER_UP> mtu 1500 qlen 1000
    inet6 2001:4c00:893b:183::11/64 scope global
       valid_lft forever preferred_lft forever
    inet6 fe80::227:22ff:fe39:d0f1/64 scope link
       valid_lft forever preferred_lft forever
5: ath0: <BROADCAST,MULTICAST,ALLMULTI,PROMISC,UP,LOWER_UP> mtu 1500
    inet6 2001:4c00:893b:1:183::2/128 scope global
       valid_lft forever preferred_lft forever
    inet6 fe80::227:22ff:fe38:d0f1/64 scope link
       valid_lft forever preferred_lft forever
XM.v5.5.sdk# uname -a
Linux M5GalliaBramante 2.6.32.54 #1 Wed Aug 8 13:08:06 CEST 2012 mips unknown
XM.v5.5.sdk# cat /etc/persistent/olsrd6.conf
DebugLevel  0

IpVersion 6

Pollrate  0.025
FIBMetric "flat"
UseNiit no
SmartGateway no

Hna6
{
#Inserire qui la subnet IPv6 scelta nella pagina GestioneIndirizzi
2001:4c00:893b:183:: 64
}

UseHysteresis no
TcRedundancy  2

MprCoverage 7

LinkQualityLevel 2
LinkQualityAlgorithm    "etx_ff"
LinkQualityAging 0.05
LinkQualityFishEye  1

LoadPlugin "olsrd_txtinfo.so.0.1"
{
   PlParam     "port"   "2007"
   PlParam     "Accept"   "::"

}

InterfaceDefaults {
      HelloInterval 3.0
      HelloValidityTime 125.0
      TcInterval 2.0
      TcValidityTime 500.0
      MidInterval 25.0
      MidValidityTime 500.0
      HnaInterval 10.0
      HnaValidityTime 125.0
}

Interface "ath0" "eth0" "br0"
{
      Mode "mesh"
      IPv6Multicast FF02::6D
}
XM.v5.5.sdk#




More information about the Olsr-dev mailing list