Skip to content

mrouted v4.0

Compare
Choose a tag to compare
@troglobit troglobit released this 09 Jun 20:21
· 242 commits to master since this release

Major release with full IGMPv3 (ASM) support and a new mroutectl tool.

Note: command line options have been changed!

Changes

  • Support for IGMPv3, both sending queries and accepting membership reports, issue #16

  • Support for configurable IGMP query interval, issue #26

  • Support for configurable IGMP robustness variable, issue #27

  • Incompatible command line option refactor

  • New directive in mrouted.conf: no phyint, reverses the default behavior of mrouted. Interfaces can then selectively be enabled

      no phyint
      phyint eth1 enable
      phyint eth2 enable
    
  • Support for disabling the IP router-alert option:

      no router-alert
    
  • Add systemd unit file

  • Introduce mroutectl, a helpful tool to interact with mrouted. This completely replaces mrouted.cache and mrouted.dump, including SIGUSR1 and SIGUSR2 signals, which are now ignored, issue #24

  • The mrouted.pid file, and the new mrouted.sock file, are now located in /var/run

  • Major cleanup of logging directives read from the command line, and from mroutectl. Use -d ?, and -l ? to list alternatives

  • GNU Configure & Build system, use ./autogen.sh only when building directly from GIT sources, otherwise use ./configure from tarball

Fixes

  • Fix #20: Replace obsolete gethostbyname() w/ getaddrinfo()
  • Fix #25: Save mrouted.genid to persistent store in /var/lib instead of /var/run
  • Fixed libc portability issues, e.g. GNU:isms like %m etc.
  • Import OpenBSD fix to daemon() equivalent, use /dev/null for stdin, stdout and stderr
  • Use clock_gettime(), with monotonic clock, instead of the unsafe gethostbyname(), for all non-date-printing code paths. Only for mrouted, other tools have not been changed
  • Fix lots of invalid format specifiers, found by Coverity Scan and clang on FreeBSD
  • Fix detection of netinet/igmp.h on FreeBSD
  • Fix memory leaks in mrouted on SIGHUP

Packages for Debian 10, and compatible Ubuntu releases, available at https://deb.troglobit.com/