OLSR / olsrd

OLSR.org main repository - olsrd v1 - maintained by Freifunk Berlin
Other
83 stars 65 forks source link

PacketHistory.c:157: PacketCrc32: Assertion `len > 0' failed #123

Open vivianchiong opened 1 year ago

vivianchiong commented 1 year ago

Hello,

I am using olsrd within EMANE using the ETCE framework and using the IEEE 802.11abg radio model. I am running all this software within a Docker container.

EMANE version: 1.3.3 olsrd version: 0.9.8

1 or a few nodes will not come up in my scenario due to olsrd shutting down on the corresponding lxc containers. (I can observe this by checking with the command: ps aux) When I ssh into those nodes to rerun olsrd with logs on, (e.g. /usr/local/sbin/olsrd -f /tmp/etce/current_test/node-7/olsrd.conf -d 3) , I get the following assertion error in approximately 2-3 minutes and the node turns red in the OLSR Link Viewer again:

Capture ... image

image

Here is my olsrd.conf for all the nodes in my scenario:

DebugLevel  0

# IP version to use (4 or 6)

IpVersion   4

LockFile "${etce_log_path}/olsrd.lock"

# Clear the screen each time the internal state changes

ClearScreen     yes

LinkQualityAging 0.2

Interface "emane0" "emane1" "eth2"
{
 HelloInterval 1.0
 HelloValidityTime 5.0
}

LoadPlugin "olsrd_txtinfo.so.1.1"
{
PlParam "accept" "0.0.0.0"
}

LoadPlugin "olsrd_bmf.so.1.7.0"
{
PlParam "DoLocalBroadcast" "no"

PlParam "CapturePacketsOnOlsrInterfaces" "yes"

PlParam "BmfMechanism" "Broadcast"

#PlParam "NonOlsrIf" "eth2"

PlParam "FanOutLimit" "0"

PlParam "BroadcastRetransmitCount" "1"
}

I get this same assertion failure for all the shutdowns I'm observing. What are the possible causes of this error and how could I avoid it? Is it a configuration issue or even a performance issue?

Thank you so much for your help!