Overview

Request 839207 accepted

- Update to version 4.1
Changes
* Automatically detect and add `altnet` to interfaces with
multiple addresses, possible thanks to work on.
* Reduce number of exposed aliases to debug sub-systems in
online help text and man page. Only primary name, as of
mrouted v3.9-beta3.
* Removed noisy `timer` sub-system from `-d all`, use
`-d all, timer`.
Fixes
* Fix update of `mrouted.genid` on SIGHUP and reboot. mrouted
replaced contents with the value zero (0), causing a zero
genid in DVMRP as well, which likely caused peering issues
with some implementations
* Workaround for older autoconf without `--runstatedir` support
* Fix double free in `pidfile()`
* Cannot disable multicast routing in kernel: Permission denied
when starting up.
* Refactor interface probing and bringup. Fixes issue with the
`no phyint` config option not working, introduced in v4.0.
* Fix bad path for mrouted.genid, should be in `/var/lib/misc`
on Linux and `/var/db` on *BSD.
* Document and improve error message when running out of IGMP
groups on Linux.
* Detect and warn if multicast ingresses an unknown vif

Loading...

Marius Tomaschewski's avatar

Going to set up a vm and try to make some simple tests with it.



Marius Tomaschewski's avatar

at least it starts with empty config and mroutectl works -- unlike in the 4.0 version: Oct 06 12:57:03 hydra systemd[1]: Started Multicast routing daemon, mrouted. Oct 06 12:57:03 hydra mrouted[1252]: warning - Failed binding IPC socket, [@runstatedir](https://build.opensuse.org/users/runstatedir)@/mrouted.sock: No such file or directory Oct 06 12:57:03 hydra mrouted[1252]: mroutectl client support disabled Oct 06 12:57:03 hydra mrouted[1252]: mrouted version 4.0 Oct 06 13:25:52 hydra mrouted[1252]: mrouted version 4.0 exiting Oct 06 13:25:52 hydra systemd[1]: Stopping Multicast routing daemon, mrouted... Oct 06 13:25:52 hydra mrouted[1252]: warning - Cannot disable multicast routing in kernel: Permission denied Oct 06 13:25:52 hydra systemd[1]: mrouted.service: Succeeded. Oct 06 13:25:52 hydra systemd[1]: Stopped Multicast routing daemon, mrouted. but I were unable to route any multicasts until now and as soon as I add some configs, e.g. tunnel to mrouted.conf, the old one creates it: 7: dvmrp2@NONE: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1480 qdisc noqueue state UNKNOWN group default qlen 1000 link/ipip 172.20.51.10 peer 172.20.52.10 inet6 fe80::5efe:ac14:330a/64 scope link valid_lft forever preferred_lft forever while the 4.1 one fails to start then: Oct 06 13:26:13 hydra systemd[1]: Starting Multicast routing daemon, mrouted... Oct 06 13:26:13 hydra systemd[1]: Started Multicast routing daemon, mrouted. Oct 06 13:26:13 hydra mrouted[8132]: warning - ignoring enp1s0, same subnet as Oct 06 13:26:13 hydra mrouted[8132]: warning - ignoring enp7s0, same subnet as Oct 06 13:26:13 hydra mrouted[8132]: warning - ignoring enp1s0, same subnet as Oct 06 13:26:13 hydra mrouted[8132]: Cannot forward: only one enabled vif Oct 06 13:26:13 hydra systemd[1]: mrouted.service: Main process exited, code=exited, status=1/FAILURE Oct 06 13:26:13 hydra systemd[1]: mrouted.service: Failed with result 'exit-code'. until I comment out all (possibly incomplete) mrouted.conf content. But I were unable to route any multicasts.


Marius Tomaschewski's avatar

The issues I've noticed were caused by igmp-snooping on the switches: ``` hydra:~ # mroutectl show

Interface Table Address Interface State Cost TTL Uptime Flags
172.20.50.20 enp1s0 Up 1 1 0:00:00 172.20.52.1 enp7s0 Up 1 1 0:00:00 QL 172.20.64.1 enp8s0 Up 1 1 0:00:00 QL

Neighbor Table Neighbor Interface Version Flags Uptime Expire
172.20.50.10 enp1s0 3.255 G 0:10:22 14s

DVMRP Routing Table Origin Neighbor Interface
172.20.64/24 Local enp8s0
172.20.60/24 172.20.50.10 enp1s0
172.20.52/24 Local enp7s0
172.20.51/24 172.20.50.10 enp1s0
172.20.50/24 Local enp1s0

Multicast Forwarding Cache Table Origin Group Inbound Outbound
172.20.64/24 224.1.1.1 enp8s0 enp1s0 scylla:~ # mroutectl show

Interface Table Address Interface State Cost TTL Uptime Flags
172.20.50.10 enp3s0 Up 1 1 0:00:00 Q 172.20.51.1 enp9s0 Up 1 1 0:00:00 QL 172.20.60.1 enp10s0 Up 1 1 0:00:00 QL

Neighbor Table Neighbor Interface Version Flags Uptime Expire
172.20.50.20 enp3s0 3.255 G 0:10:30 24s

DVMRP Routing Table Origin Neighbor Interface
172.20.64/24 172.20.50.20 enp3s0
172.20.60/24 Local enp10s0
172.20.52/24 172.20.50.20 enp3s0
172.20.51/24 Local enp9s0
172.20.50/24 Local enp3s0

Multicast Forwarding Cache Table Origin Group Inbound Outbound
172.20.64/24 224.1.1.1 enp3s0 enp10s0 scylla:~ # mroutectl show igmp group

IGMP Group Table Interface Group Last Reporter Expire
enp10s0 224.1.1.1 172.20.60.100 258s ```

Request History
Martin Hauke's avatar

mnhauke created request

- Update to version 4.1
Changes
* Automatically detect and add `altnet` to interfaces with
multiple addresses, possible thanks to work on.
* Reduce number of exposed aliases to debug sub-systems in
online help text and man page. Only primary name, as of
mrouted v3.9-beta3.
* Removed noisy `timer` sub-system from `-d all`, use
`-d all, timer`.
Fixes
* Fix update of `mrouted.genid` on SIGHUP and reboot. mrouted
replaced contents with the value zero (0), causing a zero
genid in DVMRP as well, which likely caused peering issues
with some implementations
* Workaround for older autoconf without `--runstatedir` support
* Fix double free in `pidfile()`
* Cannot disable multicast routing in kernel: Permission denied
when starting up.
* Refactor interface probing and bringup. Fixes issue with the
`no phyint` config option not working, introduced in v4.0.
* Fix bad path for mrouted.genid, should be in `/var/lib/misc`
on Linux and `/var/db` on *BSD.
* Document and improve error message when running out of IGMP
groups on Linux.
* Detect and warn if multicast ingresses an unknown vif


Marius Tomaschewski's avatar

mtomaschewski accepted request

Works fine for me -- mroutectl works, `warning - Cannot disable multicast routing in kernel: Permission denied` is gone too.

openSUSE Build Service is sponsored by