[Olsr-users] OLSR 0.6.8 on OpenWrt with ipv6 and kernel 3.18.x

Henning Rogge (spam-protected)
Sun Mar 8 11:06:26 CET 2015


Hi,

normally you get this error when you receive the same packet on two
different interfaces... maybe you can try to make two simultaneous
tcpdumps on both interfaces if you see the same sequence number from
the same IP.

I remember we also had one case of the packet coming in twice through
a wifi interface because of a strange bridge situation in Vienna, but
this is a very rare case.

Henning

On Sat, Mar 7, 2015 at 6:56 PM, Russell Senior
<(spam-protected)> wrote:
> br-pub is a bridge, but only has local interfaces: e.g. eth1 and
> various wlan ap-mode wireless interfaces.  ptp is a tap-mode openvpn
> tunnel where 2001:470:e962::407 lives at the other end.  Usually there
> are no olsrd peers on br-pub.  I have run tcpdump on the ptp interface
> and it does not show duplicate seqno's afaict.
>
> # brctl show
> bridge name     bridge id               STP enabled     interfaces
> br-priv         7fff.106f3f88f39c       no              eth0
> br-pub          7fff.106f3f88f39c       no              wlan0
>                                                         wlan1
>
> # tcpdump -n -i ptp ip6 and port 698
> [1541514.070000] device ptp entered promiscuous mode
> tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
> listening on ptp, link-type EN10MB (Ethernet), capture size 65535 bytes
> 09:54:51.232048 IP6 2001:470:e962::1201.698 > ff02::6d.698: OLSRv6,
> seq 0x3e0a, length 112
> 09:54:51.608144 IP6 2001:470:e962::407.698 > ff02::6d.698: OLSRv6, seq
> 0x841a, length 1188
> 09:54:51.853892 IP6 2001:470:e962::407.698 > ff02::6d.698: OLSRv6, seq
> 0x841b, length 148
> 09:54:51.863769 IP6 2001:470:e962::407.698 > ff02::6d.698: OLSRv6, seq
> 0x841c, length 1076
> 09:54:52.408364 IP6 2001:470:e962::407.698 > ff02::6d.698: OLSRv6, seq
> 0x841d, length 1196
> 09:54:52.806747 IP6 2001:470:e962::407.698 > ff02::6d.698: OLSRv6, seq
> 0x841e, length 1204
> 09:54:52.934689 IP6 2001:470:e962::1201.698 > ff02::6d.698: OLSRv6,
> seq 0x3e0b, length 144
> 09:54:53.558422 IP6 2001:470:e962::407.698 > ff02::6d.698: OLSRv6, seq
> 0x841f, length 1172
> 09:54:53.605103 IP6 2001:470:e962::407.698 > ff02::6d.698: OLSRv6, seq
> 0x8420, length 148
> 09:54:53.614091 IP6 2001:470:e962::407.698 > ff02::6d.698: OLSRv6, seq
> 0x8421, length 1076
> 09:54:54.460170 IP6 2001:470:e962::407.698 > ff02::6d.698: OLSRv6, seq
> 0x8422, length 1196
> 09:54:54.738590 IP6 2001:470:e962::1201.698 > ff02::6d.698: OLSRv6,
> seq 0x3e0c, length 112
> 09:54:54.757824 IP6 2001:470:e962::407.698 > ff02::6d.698: OLSRv6, seq
> 0x8423, length 796
> 09:54:54.908048 IP6 2001:470:e962::407.698 > ff02::6d.698: OLSRv6, seq
> 0x8424, length 1216
> 09:54:55.523501 IP6 2001:470:e962::407.698 > ff02::6d.698: OLSRv6, seq
> 0x8425, length 964
> 09:54:55.550526 IP6 2001:470:e962::407.698 > ff02::6d.698: OLSRv6, seq
> 0x8426, length 1076
> 09:54:56.364658 IP6 2001:470:e962::407.698 > ff02::6d.698: OLSRv6, seq
> 0x8427, length 1212
> 09:54:56.491273 IP6 2001:470:e962::1201.698 > ff02::6d.698: OLSRv6,
> seq 0x3e0d, length 144
> 09:54:56.915043 IP6 2001:470:e962::407.698 > ff02::6d.698: OLSRv6, seq
> 0x8428, length 1204
> 09:54:57.370577 IP6 2001:470:e962::407.698 > ff02::6d.698: OLSRv6, seq
> 0x8429, length 660
> 09:54:57.376670 IP6 2001:470:e962::407.698 > ff02::6d.698: OLSRv6, seq
> 0x842a, length 1076
> 09:54:57.979612 IP6 2001:470:e962::407.698 > ff02::6d.698: OLSRv6, seq
> 0x842b, length 1172
> 09:54:58.494418 IP6 2001:470:e962::1201.698 > ff02::6d.698: OLSRv6,
> seq 0x3e0e, length 56
> 09:54:58.743420 IP6 2001:470:e962::407.698 > ff02::6d.698: OLSRv6, seq
> 0x842c, length 1196
> 09:54:59.215638 IP6 2001:470:e962::407.698 > ff02::6d.698: OLSRv6, seq
> 0x842d, length 564
> 09:54:59.265449 IP6 2001:470:e962::407.698 > ff02::6d.698: OLSRv6, seq
> 0x842e, length 1072
> 09:54:59.283675 IP6 2001:470:e962::407.698 > ff02::6d.698: OLSRv6, seq
> 0x842f, length 1076
> 09:55:00.019202 IP6 2001:470:e962::407.698 > ff02::6d.698: OLSRv6, seq
> 0x8430, length 1172
> 09:55:00.297904 IP6 2001:470:e962::1201.698 > ff02::6d.698: OLSRv6,
> seq 0x3e0f, length 112
>
> On Sat, Mar 7, 2015 at 12:41 AM, Henning Rogge <(spam-protected)> wrote:
>> Hi,
>>
>> typically "detected duplicate packet with seqnr" happens if you either
>> have a problem with your linklayer driver OR a bad bridge
>> configuration.
>>
>> Are "br-pub" and "ptp" somehow connected on one side or the other side
>> with a bridge?
>>
>> Henning Rogge
>>
>> On Fri, Mar 6, 2015 at 10:51 PM, Russell Senior
>> <(spam-protected)> wrote:
>>>
>>> Sorry to bother you, but my repeated attempts to send to olsr-users have
>>> bounced.  I wonder if you know why or can contact the appropriate
>>> parties.  The bounce message says this:
>>>
>>>   Delivery to the following recipient failed permanently:
>>>
>>>        (spam-protected)
>>>
>>>   Technical details of permanent failure:
>>>   Google tried to deliver your message, but it was rejected by the server
>>>   for the recipient domain lists.olsr.org by lists.olsr.org. [78.41.115.254].
>>>
>>>   The error that the other server returned was:
>>>   550-policyd-weight said: temporarily blocked because of previous errors -
>>>   550 retrying too fast. penalty: 30 seconds x 0 retries.
>>>
>>> Thanks!
>>>
>>>
>>>
>>>
>>> ---------- Forwarded message ----------
>>> From: Russell Senior <(spam-protected)>
>>> To: (spam-protected)
>>> Cc:
>>> Date: Thu, 05 Mar 2015 23:59:08 -0800
>>> Subject: OLSR 0.6.8 on OpenWrt with ipv6 and kernel 3.18.x
>>>
>>> I noticed last night that one of our recently deployed devices was
>>> spewing (about one per second) syslog messages indicating a duplicate
>>> seqno from one of our IPv6 hosts, e.g.:
>>>
>>>   10.11.252.35.log:Mar  1 07:36:20 10.11.252.35 olsrd[1383]: detected duplicate packet with seqnr 0x486b from 2001:470:e962::407 on ptp (1180 Bytes)
>>>   10.11.252.35.log:Mar  1 07:36:20 10.11.252.35 olsrd[1383]: detected duplicate packet with seqnr 0x486c from 2001:470:e962::407 on ptp (428 Bytes)
>>>   10.11.252.35.log:Mar  1 07:36:20 10.11.252.35 olsrd[1383]: detected duplicate packet with seqnr 0x486d from 2001:470:e962::407 on ptp (1036 Bytes)
>>>   10.11.252.35.log:Mar  1 07:36:21 10.11.252.35 olsrd[1383]: detected duplicate packet with seqnr 0x486e from 2001:470:e962::407 on ptp (1196 Bytes)
>>>   10.11.252.35.log:Mar  1 07:36:22 10.11.252.35 olsrd[1383]: detected duplicate packet with seqnr 0x486f from 2001:470:e962::407 on ptp (1196 Bytes)
>>>   10.11.252.35.log:Mar  1 07:36:22 10.11.252.35 olsrd[1383]: detected duplicate packet with seqnr 0x4870 from 2001:470:e962::407 on ptp (828 Bytes)
>>>   10.11.252.35.log:Mar  1 07:36:22 10.11.252.35 olsrd[1383]: detected duplicate packet with seqnr 0x4871 from 2001:470:e962::407 on ptp (1036 Bytes)
>>>   10.11.252.35.log:Mar  1 07:36:22 10.11.252.35 olsrd[1383]: detected duplicate packet with seqnr 0x4872 from 2001:470:e962::407 on ptp (1216 Bytes)
>>>   10.11.252.35.log:Mar  1 07:36:23 10.11.252.35 olsrd[1383]: detected duplicate packet with seqnr 0x4873 from 2001:470:e962::407 on ptp (1204 Bytes)
>>>   10.11.252.35.log:Mar  1 07:36:24 10.11.252.35 olsrd[1383]: detected duplicate packet with seqnr 0x4874 from 2001:470:e962::407 on ptp (1212 Bytes)
>>>   10.11.252.35.log:Mar  1 07:36:25 10.11.252.35 olsrd[1383]: detected duplicate packet with seqnr 0x4877 from 2001:470:e962::407 on ptp (1188 Bytes)
>>>   10.11.252.35.log:Mar  1 07:36:25 10.11.252.35 olsrd[1383]: detected duplicate packet with seqnr 0x4878 from 2001:470:e962::407 on ptp (1212 Bytes)
>>>   10.11.252.35.log:Mar  1 07:36:25 10.11.252.35 olsrd[1383]: detected duplicate packet with seqnr 0x4879 from 2001:470:e962::407 on ptp (1092 Bytes)
>>>
>>> I don't see duplicate seqno's from tcpdump. I don't see the syslog
>>> messages with the same olsr version on kernel 3.14.32. Has anyone else
>>> seen this and/or know what might be wrong?
>>>
>>>   # cat /etc/olsr6d.conf
>>>   IpVersion 6
>>>
>>>   LinkQualityFishEye 0
>>>
>>>   Hna6
>>>   {
>>>          2001:470:e962:2101::    64
>>>   }
>>>
>>>   Interface "br-pub" "ptp"
>>>   {
>>>   }
>>>
>>> br-pub is the local LAN, ptp is an openvpn tap tunnel to a central
>>> server.
>>>
>>>
>>> --
>>> Russell Senior, President
>>> (spam-protected)
>>>
>>>
>>>
>>>
>>> --
>>> Russell Senior, President
>>> (spam-protected)
>>>




More information about the Olsr-users mailing list