Skip to content

Releases: troglobit/mini-snmpd

mini-snmpd v1.6

23 Feb 08:03
Compare
Choose a tag to compare

Bug fix release.

Changes

Fixes

  • Fix #16: regression in ifTable for point-to-point interfaces
  • Fix #17: major memory leak in Linux backend
  • Fix #18: consistent timeout handling in .conf file and command line

mini-snmpd v1.5

03 Feb 16:34
Compare
Choose a tag to compare

Major feature and bug fix release. Support for TCP-MIB, UDP-MIB, IP-MIB, ifXTable with 64-bit counters.

All users are strongly encouraged to upgrade!

Changes

  • Add support for ifXTable (64-bit counters), from NDM Systems
  • Add support for TCP-MIB, from NDM Systems
  • Add support for UDP-MIB, from NDM Systems
  • Add support for IP-MIB, from NDM Systems
  • Add support for ifType
  • Add support for ifMtu
  • Binary and man page renamed: mini_snmpd --> mini-snmpd
  • New command line option -l LEVEL replaces --verbose
  • New command line option -v to show program version
  • Create PID file when daemon is ready to receive signals
  • Add support for systemd unit file on Linux
  • Add support for /etc/mini-snmpd.conf, disabled by default

Fixes

  • CVE-2020-6060: Fix stack overflow in client connection handler
  • CVE-2020-6059: Fix out-of-bounds read in parsing of SNMP packet
  • CVE-2020-6058: Fix out-of-bounds read in parsing of SNMP packet
  • Let -s flag control use of syslog, when running in foreground
  • Removed all (known) GNU:isms; i.e., __progname and %m

mini-snmpd v1.4

26 Jun 12:00
Compare
Choose a tag to compare

Bug fix release, courtesy of Andre Grosse Bley, @Haeretiker.

Changes

  • Increase MIB table size: 128 --> 192

Fixes

  • Fix default install directory: $prefix/bin --> $prefix/sbin
  • Fix inverted enable/disable options to configure script, issue #4
  • Incorrect OID types: ifLastChange should be BER_TYPE_TIME_TICKS and ifSpeed should be BER_TYPE_GAUGE, issue #1
  • Fix parse_line() to prevent partial matches: wlan0 matched both wlan0-1 and wlan0-2, issue #1
  • Fix parse_lineint() to prevent partial matches, issue #1
  • Response OID order match with request order, reversed order breaks at least the MRTG SNMP client, issue #1
  • Traffic counters get stuck after 4GB traffic. Use strtoull() rather than strtoul() to parse numbers, issue #1
  • OIDs in request can be in any order. Reset OID table position after each handled OID from request, issue #1

mini-snmpd v1.3

23 Nov 08:10
Compare
Choose a tag to compare

Changes

  • Refactor and cleanup by Javier Palacios
  • New maintainer, Joachim Nilsson
  • Hosting is now on GitHub
  • Changed to GNU Configure and Build System, use ./autogen.sh for
    first time checkout from GIT
  • Reduced stack usage in Linux /proc file parser backend
  • Add support for daemonizing automatically, -n for previous behavior
  • Add support for logging to syslog even when running in the foreground
  • Complete refactor of FreeBSD support. Now with native syscalls instead
    of requirment for Linux /proc file system
  • Add support for daemonizing by default, use -n to run in foreground
  • Add support for syslog even if running in the foreground
  • Dual stack support, IPv4 default, when building with --enable-ipv6,
    which is also default
  • Use sigaction() instead of signal() and siginterrupt(), by
    Henrik Nordstrom
  • Increase MAX number of interfaces to monitor from four to eight, by
    Henrik Nordstrom

Fixes

  • From Vladimir N. Oleynik's Busybox fork:
    • Do not allow ':' as interface separator
    • Simplify read_values() and its callee's, skip optional ':'
    • Inspirations for lots of reduced stack usage
    • Fix typo in setsockopt()
  • Massive code cleanup and simplification by Joachim Nilsson
  • FreeBSD build fixes, e.g. SO_BINDDEVICE socket option does not exist
  • Display OK log message after successful socket & bind