FreeBSD 11.1 OSPF multicast broken?
Good day, There seems to be a multicast related bug with FreeBSD 11.1 and Bird 1.6.3. In summary: Two problems: * Ethernet interfaces configured as "broadcast" do not emit any OSPF packets, as observed by tcpdump. * Above interfaces receive OSPF packets from Linux neighbours (as seen by tcpdump), but Bird does not receive them (nothing logged in debug mode). Two workarounds: * Enabling "real broadcast" solves both problems above, but it must be enabled on all peers' configs so that everyone broadcasts. * Configuring interfaces as nbma on all peers also solves both problems. While Bird is running, there seem to be no OSPF multicast memberships reported by ifmcstat(8), eg. # ifmcstat -i vtnet1 -v vtnet1: inet 192.168.102.16 igmpv3 rv 2 qi 125 qri 10 uri 3 group 224.0.0.1 mode exclude mcast-macaddr 01:00:5e:00:00:01 link 52:54:00:85:d7:51 group 01:00:5e:00:00:01 I have also tried disabling firewalls, and have not seen any "Permission denied" socket errors logged by Bird in debug mode. I'd be delighted to help test/find a fix with my lab setup, but for now I'm a bit lost for digging into code and kernel APIs, which is where I suspect the problem lies. Any ideas where to start? Thanks, Aragon
On Fri, Sep 08, 2017 at 12:05:06AM +0200, Aragon Gouveia wrote:
Good day,
There seems to be a multicast related bug with FreeBSD 11.1 and Bird 1.6.3. In summary:
Hi Does attached patch fixes the issue, or is it something different? -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
This patch was included in bird 1.6.3_1 package. Aragon, which version are you using? (e.g. pkg info). 08.09.2017, 12:54, "Ondrej Zajicek" <santiago@crfreenet.org>:
On Fri, Sep 08, 2017 at 12:05:06AM +0200, Aragon Gouveia wrote:
Good day,
There seems to be a multicast related bug with FreeBSD 11.1 and Bird 1.6.3. In summary:
Hi
Does attached patch fixes the issue, or is it something different?
-- Elen sila lumenn' omentielvo
Ondrej 'Santiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
This patch was included in bird 1.6.3_1 package. Aragon, which version are you using? (e.g. pkg info). 08.09.2017, 12:54, "Ondrej Zajicek" <santiago@crfreenet.org>:
On Fri, Sep 08, 2017 at 12:05:06AM +0200, Aragon Gouveia wrote:
Good day,
There seems to be a multicast related bug with FreeBSD 11.1 and Bird 1.6.3. In summary:
Hi
Does attached patch fixes the issue, or is it something different?
-- Elen sila lumenn' omentielvo
Ondrej 'Santiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
This patch was included in bird 1.6.3_1 package. Aragon, which version are you using? (e.g. pkg info). 08.09.2017, 12:54, "Ondrej Zajicek" <santiago@crfreenet.org>:
On Fri, Sep 08, 2017 at 12:05:06AM +0200, Aragon Gouveia wrote:
Good day,
There seems to be a multicast related bug with FreeBSD 11.1 and Bird 1.6.3. In summary:
Hi
Does attached patch fixes the issue, or is it something different?
-- Elen sila lumenn' omentielvo
Ondrej 'Santiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
Hi Alexander, I'm using the bird-1.6.3_3 package. Thanks, Aragon On 2017/09/08 12:03, Alexander V. Chernikov wrote:
This patch was included in bird 1.6.3_1 package.
Aragon, which version are you using? (e.g. pkg info).
08.09.2017, 12:54, "Ondrej Zajicek" <santiago@crfreenet.org>:
On Fri, Sep 08, 2017 at 12:05:06AM +0200, Aragon Gouveia wrote:
Good day,
There seems to be a multicast related bug with FreeBSD 11.1 and Bird 1.6.3. In summary:
Hi
Does attached patch fixes the issue, or is it something different?
-- Elen sila lumenn' omentielvo
Ondrej 'Santiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
Hm, interesting. Can you share config (or its ospf part) along with "show interfaces" with "show ospf interfaces" birdc output? 08.09.2017, 13:30, "Aragon Gouveia" <aragon@phat.za.net>:
Hi Alexander,
I'm using the bird-1.6.3_3 package.
Thanks, Aragon
On 2017/09/08 12:03, Alexander V. Chernikov wrote:
This patch was included in bird 1.6.3_1 package.
Aragon, which version are you using? (e.g. pkg info).
08.09.2017, 12:54, "Ondrej Zajicek" <santiago@crfreenet.org>:
On Fri, Sep 08, 2017 at 12:05:06AM +0200, Aragon Gouveia wrote:
Good day,
There seems to be a multicast related bug with FreeBSD 11.1 and Bird 1.6.3. In summary:
Hi
Does attached patch fixes the issue, or is it something different?
-- Elen sila lumenn' omentielvo
Ondrej 'Santiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
On 2017/09/08 12:34, Alexander V. Chernikov wrote:
Can you share config (or its ospf part) along with "show interfaces" with "show ospf interfaces" birdc output?
Of course. bird.conf: https://paste.ubuntu.com/25489517/ show interfaces: https://paste.ubuntu.com/25489524/ show ospf interface: https://paste.ubuntu.com/25489529/ Thanks, Aragon
I was wondering if this is fixed in Bird v2 ? On 2017/09/08 13:59, Aragon Gouveia wrote:
On 2017/09/08 12:34, Alexander V. Chernikov wrote:
Can you share config (or its ospf part) along with "show interfaces" with "show ospf interfaces" birdc output?
Of course.
bird.conf: https://paste.ubuntu.com/25489517/
show interfaces: https://paste.ubuntu.com/25489524/
show ospf interface: https://paste.ubuntu.com/25489529/
Thanks, Aragon
On Sun, Sep 17, 2017 at 11:37:39PM +0200, Aragon Gouveia wrote:
I was wondering if this is fixed in Bird v2 ?
Unlikely, as you are the first that reported such problem. I will check if i could replicate it. -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
participants (3)
-
Alexander V. Chernikov -
Aragon Gouveia -
Ondrej Zajicek