@troglobit troglobit released this Mar 10, 2016 · 218 commits to master since this release

Assets 4

Bug fix release. All users should upgrade, in particular FreeBSD users!


  • Minor code cleanup and readability changes to simplify the code
  • Update to libite v1.4.2 with improved min()/max() macros
  • Use -Wextra not -Werror in default CFLAGS, this to ensure that pimd
    still builds OK on newer and more pedantic compilers
  • Update man page and example pimd.conf with details on rp-candidate
    bsr-candidate, two very important settings for correct operation

Bug Fixes

  • Issue #57: Multicast routing table not updated on FreeBSD. Introduced
    with issue #23, in pimd v2.2.0. Too intrusive changes altered handling
    (forwarding) of PIM register messages. This only affects BSD systems,
    in particular FreeBSD 10.2 (current), or any FreeBSD < 11.0
  • Issue #63: Mika Joutsenvirta, @idismmxiv, found and fixed serious
    issues with the PIM Assert timeout handling
  • Issue #65: Missing slash in config file path when using env. variable
  • Issue #66: Make it possible to run pimd without a configuration
    file. If pimd cannot find its configuration file it will use
    built-in fallback settings for bsr-candidate and rp-candidate.
    This to ensure you do not end up with a non-working setup. To disable
    bsr-candidate and rp-candidate, simply leave them out of your
    config file, and make sure pimd can find the file
  • Issue #69: Rate limit only what is actually logged. The logit()
    function counted filtered messages, causing long periods of silence
    for no reason. Fix by Apollon Oikonomopoulos, @apoikos

@troglobit troglobit released this Nov 15, 2015 · 253 commits to master since this release

Assets 4

Bug fix release.


Bug Fixes

  • Issue #53: Build problem with Clang on FreeBSD
  • Issue #55: Default config uses /etcpimd.conf instead of /etc/pimd.conf. Slashes added and now pimd -h lists
    the default path instead of a hard coded string.
  • Issue #60: Fix minor spelling errors.

@troglobit troglobit released this Jul 31, 2015 · 273 commits to master since this release

Assets 4

The PIM-SSM & IGMPv3 release!

The significant new features in this release would not have been possible if not for the hard work of Markus Veranen mailto:markus.veranen@gmail.com

Tested on Ubuntu 14.04 (GLIBC/Linux 3.13), Debian 8.1 (GLIBC/Linux 3.16), FreeBSD, NetBSD, and OpenBSD.

Changes and New Features

  • Support for PIM-SSM and IGMPv3, by Markus Veranen

  • IGMPv3 is now default, use phyint ifname igmpv2 for old behaviour

  • Default IGMP query interval has changed from 125 sec to 12 sec

    In pimd.conf: igmp-query-interval <SEC>

  • Default IGMP querier timeout has changed from 255 sec to 42 sec

    In pimd.conf: igmp-querier-timeout <SEC>

  • The built-in IGMP /robustness value/ changed from 2 to 3

  • Support for changing the PIM Hello interval, by Markus Veranen

    In pimd.conf: hello-interval <SEC>

  • Support for multiple multicast routing tables, and running multiple
    pimd instances, by Markus Veranen. (Only supported on Linux atm.)

  • Support for advertising, and acting upon changes to, Generation ID
    in PIM Hello messages, by Markus Veranen

  • Support for advertising DR Priority option in PIM Hello messages.
    If all routers on a LAN send this option this value is used in the
    DR election rather than the IP address. The priority is configured
    per phyint. This closes the long-standing issue #5.

  • Distribution archive format changed from XZ to Gzip, for the benefit
    of OpenBSD that only ships Gzip in the base system.

New pimd.conf syntax!

The pimd.conf syntax has been changed in this release. Mainly, the configuration file now use dashes - instead of underscore _ as word separators. However several settings have also been renamed to be more
familiar to commands used by major router vendors:

  • bsr-candidate :: replaces cand_bootstrap_router
  • rp-candidate :: replaces cand_rp
  • group-prefix :: replaces group_prefix
  • rp-address :: replaces rp_address
  • spt-threshold :: replaces the two deprecated
    switch_register_threshold and switch_data_threshold settings
  • hello-interval :: replaces hello_period
  • default-route-distance :: replaces default_source_preference
  • default-route-metric :: replaces default-source-metric

Also, for phyint the preference sub-option has been replaced with the less confusing distance and ttl-threshold replaces threshold. See the README or the man page for more information on the metric
preference and admin distance confusion.

Note: The pimd.conf parser remains backwards compatible with the old syntax!

Compile Time Features

The following are new features that must be enabled at compile time, using the configure script, to take effect. For details, see ./configure --help

  • --prefix=PATH :: Standard prefix to be used at installation,
    default /usr/local

  • --sysconfdir=PATH :: Prefix path to be used for pimd.conf,
    default /etc, unless --prefix is given.

  • --embedded-libc :: Enable uClib or musl libc build, on Linux.

  • --disable-exit-on-error :: Allow pimd to continue running despite
    encountering errors.

  • --disable-pim-genid :: Disable advertisement of PIM Hello GenID,
    use for compatibility problems with older versions of pimd.

  • --with-max-vifs=MAXVIFS :: Raise max number of VIFs to MAXVIFS.

    Note: this requires raising MAXVIFS in the kernel as well!
    Most kernels cannot handle >255, if this is a problem, try using
    multiple multicast routing tables instead.

  • --disable-masklen-check :: Allow tunctl VIFs with masklen 32.

Bug Fixes

  • Fix issue #40: FTBS with ./configure --enable-scoped-acls
  • Properly support cross compiling. It is now possible to actually
    define the $CROSS environment variable when calling make to
    allow cross compiling pimd. Should work with both GCC and Clang.
    Tested on Ubuntu, Debian and FreeBSD.

@troglobit troglobit released this Apr 20, 2015 · 369 commits to master since this release

Assets 4

Version 2.2.1: April 20, 2015

Bug Fixes

  • Fix another problem with issue #22 (reopened), as laid out in issue #37. This time the crash is induced when there is a link down event. Lot of help debugging the propblem by @mfspeer, who also suggested the fix -- to call pim_proto.c:delete_pim_nbr() in vif.c:stop_vif() instead of just calling free()
  • Fix issue with not checking return value of open() in daemonizing code in main(), found by Coverity Scan.
  • Fix issue with scoped phyint in config.c, found by Coverity Scan. The masklen may not be zero, config file problem, alert the user.

@troglobit troglobit released this Dec 28, 2014 · 375 commits to master since this release

Assets 4

Version 2.2.0: December 28, 2014

Changes & New Features

  • Add IP fragmentation support for PIM register messages,
    by Michael Fine of Cumulus Networks
  • Support /LEN syntax in phyint to complement masklen LEN, issue #12
  • Add support for /31 networks, point-to-point, thanks to Apollon Oikonomopoulos (@apoikos)
  • Remove old broken SNMP support
  • OpenBSD inspired cleanup (deregister)
  • General code cleanup, shorten local variable names, func decl. etc.
  • Support for router alert IP option in IGMP queries
  • Support for reading IGMPv3 membership reports
  • Update IGMP code to support FreeBSD >= 8.x
  • Retry read of routing tables on FreeBSD
  • Fix join/leve of ALL PIM Routers for FreeBSD and other UNIX kernels
  • Tested on FreeBSD, NetBSD and OpenBSD
  • Add very simple homegrown configure script
  • Update and document support for rp_address, cand_rp, and cand_bootstrap_router
  • Add new spt_threshold to replace existing switch_register_threshold
    and switch_data_threshold settings. Cisco like and easier to understand

Bug Fixes

  • Fix to avoid infinite loop during unicast send failure, by Alex Tessmer (@atessmer)
  • Fix bug in bootstrap when configured as candidate RP, issue #15
  • Fix segfault in accept_igmp(), issue #29
  • Fix default source preference, should be 101 (not 1024!)
  • Fix ip_len handling on older BSD's, thanks to Olivier Cochard-Labbé (@ocochard), issue #23
  • Fix default prefix len in static RP example in pimd.conf, should be /4
  • Fix issue #31: Make IGMP query interval and querier timeout configurable
  • Fix issue #33: pimd does not work in background under FreeBSD
  • Fix issue #35: support for timing out other queriers from mrouted
  • Hopefully fix issue #22: Crash in (S,G) state when neighbor is lost
  • Misc. bug fixes thanks to Coverity Scan, static code analysis tool