FreeBSD Bugzilla – Bug 155706
net/quagga: ripd is broken
Last modified: 2011-04-02 19:20:10 UTC
quagga can join interface to multicast group either
with the RFC 1724 hack or with ip_mreqn/IP_MULTICAST_IF.
The RFC 1724 hack for interface selection has been removed
from FreeBSD since 7.0-RELEASE (see entry 20070612 in /usr/src/UPDATIN).
The port net/quagga since quagga-0.99.17_2 contains files/patch-lib-sockopt.c
that effectively disables use of ip_mreqn. This change broke ripd
for FreeBSD 7.0 and later.
ripd with this change still works in 6.x where RFC 1724 hack exists.
Fix: The following patch is taken from
We need to remove our own files/patch-lib-sockopt.c
and replace it with this one. I've tested it with ripd and ospfd,
it works just fine for ngX and gifX interfaces.
In FreeBSD 8.2, for ngX interfaces created by net/mpd5
ripd cannot join multicast group and complains to the log:
Can't setsockopt IP_MULTICAST_IF on fd 11 to source address 192.168.100.50 for interface ng2
can't send packet : Permission denied
These lines repeat every 32 seconds while ripd is running.
Maintainer of net/quagga,
Please note that PR ports/155706 has just been submitted.
If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.
The full text of the PR can be found at:
Edwin Groothuis via the GNATS Auto Assign Tool
Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
sem 2011-04-02 18:15:01 UTC
FreeBSD ports repository
- Fix ripd on 7.0+.
ripd could not join multicast group and complains to the log:
Can't setsockopt IP_MULTICAST_IF on fd 11 to source address XXX.XXX.XXX.XXX
for interface ng2 can't send packet : Permission denied
Submitted by: Eugene Grosbein
Approved by: maintainer
Revision Changes Path
1.109 +1 -1 ports/net/quagga/Makefile
1.4 +79 -11 ports/net/quagga/files/patch-lib-sockopt.c
firstname.lastname@example.org mailing list
To unsubscribe, send any mail to "email@example.com"