Closed ozkankirik closed 4 years ago
Hi, that really looks weird. What kind of hardware are you running on? Because the output from netstat -g
looks like there was a endian problem setting up the VIFs, causing the threshold field to be overwritten with the IP address ...
On my virtual x86 system running i get this:
[root@beasdie ~/pimd-2.3.2]# uname -a
FreeBSD beasdie 11.2-RELEASE-p14 FreeBSD 11.2-RELEASE-p14 #0: Mon Aug 19 22:38:50 UTC 2019 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
[root@beasdie ~/pimd-2.3.2]# ./pimd -c foo.conf -N
[root@beasdie ~/pimd-2.3.2]# netstat -g
IPv4 Virtual Interface Table
Vif Thresh Local-Address Remote-Address Pkts-In Pkts-Out
0 1 192.168.122.184 0 0
1 1 172.16.1.166 0 0
2 1 192.168.122.184 0 0
IPv4 Multicast Forwarding Table is empty
netstat: sysctl: net.inet6.ip6.mif6table: No such file or directory
[root@beasdie ~/pimd-2.3.2]# netstat -g
IPv4 Virtual Interface Table
Vif Thresh Local-Address Remote-Address Pkts-In Pkts-Out
0 1 192.168.122.184 0 0
1 1 172.16.1.166 0 0
2 1 192.168.122.184 0 0
IPv4 Multicast Forwarding Table is empty
I'd recommend trying out the, still to be released, v3.0 from the GitHub master branch and test that instead. There's been lots of fixes and features added since the 2.3.2 release. I've just not had time to finalize it (test on all platforms) to do the release.
You can reproduce this error with this steps: ./pimd -c foo.conf -N killall pimd ./pimd -c foo.conf -N
platform is amd64.
uname -a
FreeBSD test.test.com 12.1-STABLE FreeBSD 12.1-STABLE #8 1f999e39f46(v2)-dirty: Wed Apr 22 08:40:36 +03 2020 test@test.test.com:/usr/obj/usr/src/amd64.amd64/sys/amd64
I'm going to test it. Thank you
That's weird. I couldn't reproduce with pimd v2.3.2, but I was on FreeBSD 11.2 ... so that could be a contributing factor I guess. Worrying if there's been a change to the kernel causing this.
Anyway, hope it works better with the lastest git master
Problem is related with FreeBSD kernel ip_mroute.c. I opened a new bug report to FreeBSD: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246629 Thanks
Nice work locating this, hope they can fix it!
Hello, I'm using FreeBSD 12.1-STABLE. After stopping pimd, it cannot start without a reboot. Reboot solves problem. I think
Disabling all vifs from kernel
not working.pimd.conf: