Permalink
Commits on Jun 22, 2017
  1. README: Update with info on the new mrdisc phyint flag

    Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
    committed Jun 22, 2017
Commits on Jun 21, 2017
  1. Add [mrdisc] flag to phyint configuration, disabled by default

    This patch changes the default behavior of smcrouted wrt multicast
    router discovery, if enabled in configure script.  As of now mrdisc
    is disabled by default on all interfaces and must be explicitly
    enabled per phyint in smcroute.conf:
    
        phyint eth0 mrdisc
    
    This `mrdisc` flag can be used in tandem with other phyint options as
    well, so the following is valid:
    
        phyint eth0 mrdisc enable ttl-threshold 10
    
    Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
    committed Jun 21, 2017
Commits on Jun 20, 2017
  1. Fix issue #76: Remove route also from internal lists

    Routes spawned dynamically from a (*,G) rule can be removed on a
    per-source basis.  When removing such a spawned (S,G) route it is
    important to also remove it from internal bookkeeping lists so it
    is no longer listed by `smcroutectl show`.
    
    Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
    committed Jun 20, 2017
  2. Add (S,G) to internal linked list *after* successful write to kernel

    When the kernel receives multicast from an unknown source we may add a
    multicast route if a matching (*,G) rule exists.  For bookkeeping we
    maintain a list, which can be viewed with `smcroutectl show`.  This
    patch fixes a small ordering bug which always added to the list, even
    if setting the route in the kernel failed.
    
    Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
    committed Jun 20, 2017
  3. Fix issue #75: Not possible to remove (*,G) routes using smcroutectl

    Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
    committed Jun 20, 2017
Commits on Jun 13, 2017
  1. Bump version for v2.4-dev development cycle

    Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
    committed Jun 13, 2017
  2. Fix warning: missing const in pointer target

    Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
    committed Jun 13, 2017
  3. Fix warning: comparison of signed and unsigned

    Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
    committed Jun 13, 2017
  4. Fix warning: Remove unused local variable.

    Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
    committed Jun 13, 2017
  5. Minor nitpicking

    Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
    committed Jun 13, 2017
  6. ChangeLog: Add Markdown link to release diff

    Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
    committed Jun 13, 2017
  7. Update ChangeLog and bump version for v2.3.1 release

    Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
    committed Jun 13, 2017
Commits on Jun 7, 2017
  1. Merge pull request #69 from gromit1811/iface_wildcards

    Interface wildcard support
    committed on GitHub Jun 7, 2017
  2. Merge pull request #74 from westermo/silence-mrdisc

    mrdisc: Ignore send() error messages on link down
    committed on GitHub Jun 7, 2017
  3. Merge pull request #73 from westermo/fix-interface-reinit-on-sighup

    Fix buggy interface + VIF re-init on SIGHUP
    committed on GitHub Jun 7, 2017
  4. Merge pull request #72 from westermo/fix-log-macro-bug

    Fix log macro bug in conf.c and remove deprecated LOG_INIT
    committed on GitHub Jun 7, 2017
  5. mrdisc: Ignore send() error messages on link down

    Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
    committed Jun 7, 2017
  6. Fix buggy interface + VIF re-init on SIGHUP

    This patch refactors the iface_find_by_index() function into a proper
    iterator, since that's what it's used for anyway.  Without this paatch
    smcrouted loses track of interface indexes vs number of interfaces and
    the resulting mess is no multicast VIFs created in the kernel.
    
    Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
    committed Jun 7, 2017
  7. Fix log macro bug in conf.c and remove deprecated LOG_INIT

    Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
    committed Jun 7, 2017
Commits on May 30, 2017
  1. Actually add lib/strlcpy.c to GIT

    Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
    committed May 30, 2017
  2. Move utimensat() replacement to use AC_REPLACE_FUNCS() framework

    Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
    committed May 30, 2017
  3. Add OpenBSD strlcpy() using AC_REPLACE_FUNCS() framework

    This patch replaces the broken strncpy() with strlcpy() from OpenBSD,
    which always terminates strings for us.
    
    We employ the autoconf+automake AC_REPLACE_FUNCS() framework to handle
    this.  Something we in a later commit will re-use also for utimensat().
    
    Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
    committed May 30, 2017
Commits on May 29, 2017
  1. mrdisc: Fix possible invalid ifname reference, found by Westermo

    While integrating SMCRoute v2.3 in WeOS, Westermo found an issue where
    an interface could be removed, but still be referenced by the mrdisc
    code.  This would lead to an invalid ifname reference.
    
    Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
    committed May 29, 2017
Commits on May 28, 2017
  1. utimensat() definition for systems that don't have it natively

    Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
    committed May 28, 2017
  2. Fix build error on FreeBSD 9-RELEASE

    To use getifaddrs() on older FreeBSD releases one needs to include
    sys/socket.h *before* ifaddrs.h, otherwise struct sockaddr is not
    defined.  This is fixed in FreeBSD 10 and later.
    
    Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
    committed May 28, 2017
  3. Bump version for v2.3 release

    Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
    committed May 28, 2017
  4. Enable .tar.gz distribution archives

    Handy on older *BSD installs which don't have xz.
    
    Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
    committed May 28, 2017
  5. Update ChangeLog slightly

    Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
    committed May 28, 2017
  6. src/Makefile.am: Add missing log.h to smcrouted sources

    Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
    committed May 28, 2017
  7. src/Makefile.am: Fix ifvc.g --> ifvc.h

    Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
    committed May 28, 2017
  8. smcrouted: Check that IPv4 multicast route doesn't exist already

    Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
    committed May 28, 2017
  9. smcrouted: Fix (*,G/LEN) route comparison bug on 32-bit systems

    Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
    committed May 28, 2017
  10. smcroutectl: Query TTY width for table heading

    With this patch table headings in `smcroutectl show` are padded
    to the end of the terminal line width.
    
    Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
    committed May 28, 2017