]> git.ipfire.org Git - thirdparty/lldpd.git/blobdiff - NEWS
Merge pull request #391 from Polynomial-C/1.0.5-gentoo_seccomp
[thirdparty/lldpd.git] / NEWS
diff --git a/NEWS b/NEWS
index fce3e93f70e2dc99c3b35d09e486638a47e41b17..2f3bc551ad1cba0891a97e4c8fe9c143b45de56e 100644 (file)
--- a/NEWS
+++ b/NEWS
+lldpd (1.0.6)
+  * Fix:
+    + Do not loose chassis local information when interface status changes.
+  * Changes:
+    + Deprecate use of lldpctl_watch_callback(). Use
+      lldpctl_watch_callback2() instead.
+
+lldpd (1.0.5)
+  * Changes:
+    + Interface names are also matched for management addresses.
+    + On Linux, only register protocol handler for LLDP when only LLDP
+      is enabled.
+    + Stricter on LLDP incoming frames validation.
+    + Add support for VLAN-aware bridges for Linux (no range support).
+    + Add support for 802.3BT (no SNMP support).
+    + Add support for millisecond-grained tx-interval (Jean-Pierre Tosoni).
+    + Use generic names for VLAN names, instead of interface names (eg
+      vlan100 instead of eth1.100).
+  * Fix:
+    + Don't clear chassis TLV on shutdown LLDPDU.
+    + Don't require/display powerpairs for Dot3 power when device type
+      is PD.
+
+lldpd (1.0.4)
+  * Changes:
+    + Add "configure system max-neighbors XX" command to modify maximum
+      of neighbors accepted per port.
+    + Implement lldpRemOrgDefInfoTable table for custom TLVs.
+  * Fix:
+    + Better compliance for statsTLVsUnrecognizedTotal and
+      statsAgeoutsTotal counters.
+    + On Linux, handle rare blocking case in Netlink code.
+
+lldpd (1.0.3)
+  * Fix:
+    + Fix creation of chroot directory.
+
+lldpd (1.0.2)
+  * Changes:
+    + On Linux, the monitor process will now drop its privileges
+      instead of running as root. It will keep CAP_NET_RAW,
+      CAP_NET_ADMIN and CAP_DAC_OVERRIDE capabilities.
+    + Support for CDP PD PoE (with negotiation). Thanks to Gustav
+      Wiklander.
+    + Move support for bonded devices on Linux < 2.6.27 into the
+      `--enable-oldies` option. This avoids duplicate packets
+      starting from Linux 4.19.
+
+lldpd (1.0.1)
+  * Fix:
+    + Use "mkdir -p" instead of "mkdir" in systemd unit.
+
+lldpd (1.0.0)
+  * Changes:
+    + Chassis ID can be set to an arbitrary value with "configure system
+      chassisid".
+    + Port description can be overriden directly with "configure lldp
+      portdescription".
+    + Command "configure system interface permanent" enables one to
+      specify a pattern for interfaces to be kept in memory even when
+      they are removed from the system.
+  * Fix:
+    + Ensure chassis-related changes are propagated immediately.
+    + Ensure management address change is correctly detected.
+
+lldpd (0.9.9)
+  * Changes:
+    + lldpcli can now display local interfaces with LLDP data sent on
+      each of them ("show interfaces").
+    + As Dot3 PD device, echo back allocated value from PSE device.
+  * Fix:
+    + Don't remove interfaces when they are released from a bridge.
+    + Don't use "expect stop" with Upstart. It's buggy.
+
+lldpd (0.9.8)
+  * Changes:
+    + "Station" capability is only set if no other bit is set.
+    + Use ethtool to get permanent address for bonds and teams. This
+      might provide different results than the previous method. Some
+      devices may still use the previous method.
+    + Don't run ethtool as root. Kernels older than 2.6.19 won't get
+      link information anymore.
+    + Add "configure system hostname ." option to not use a FQDN
+      for system name.
+    + Add "-f json0" to provide a more regular/machine-parsable output
+      to JSON output, even when not compiled with --enable-json0.
+  * Fixes:
+    + Handle team interfaces like a bond. Real MAC address cannot be
+      retrieved yet.
+
+lldpd (0.9.7)
+  * Changes:
+    + Attach remote TTL to port instead of chassis.
+    + JSON support is now built-in and unconditionally enabled. Use
+      --enable-json0 to keep the pre-0.9.2 json-c format.
+    + When logging to syslog and daemonizing, don't log to stderr.
+    + vxlan interfaces are now ignored as they are multi-point interfaces.
+    + Maximum number of neighbors for an interface is increased from 4 to 32.
+
+lldpd (0.9.6)
+  * Changes:
+    + Add a compile-time option to restore pre-0.9.2 JSON format (when
+      using json-c). Use `--enable-json0` to enable this option.
+    + Support for newer ethtool interface on Linux
+      (ETHTOOL_GLINKSETTINGS) and additional speed settings.
+    + Current MAU type is displayed even when autoneg is off.
+    + Increase netlink receive buffer by default. Can be changed at
+      compile-time through ./configure.
+  * Fixes:
+    + Correctly parse LLDP-MED civic address when the length of the
+      TLV exceeds the length of the address.
+    + Fix 100% CPU on some rare error condition.
+    + Fix lost timer when an interface is enslaved on Linux.
+
+lldpd (0.9.5)
+  * Changes:
+    + More Ethernet media supported. However, RFC4836 is quite
+      out-of-date with respected to 10G+ speeds, bringing some
+      inaccuracies.
+    + Directly get media information for an interface without using
+      the privileged process.
+    + LLDP-MED capability TLV is not sent when LLDP-MED is not enabled,
+      even if other LLDP-MED TLV are present.
+  * Fixes:
+    + Compilation fix with older versions of GCC.
+    + Don't use ethtool at all to get real MAC address for enslaved
+      devices (always use /proc).
+
+lldpd (0.9.4)
+  * Changes:
+    + Make lldpd accepts a `-p` option to specify the PID file.
+    + Ability to change multicast MAC address to two additional values
+      to reach customer bridges.
+    + lldpcli will now display chassis TTL when detailed view is enabled.
+  * Fixes:
+    + Fix setting of local value for port ID.
+    + Fix compilation with BSD make.
+    + Ensure lldpcli returns an error code on invalid commands.
+
+lldpd (0.9.3)
+  * Changes:
+    + Do not rely on support of constructors for liblldpctl.
+    + Always log to stderr (even in addition to syslog).
+    + `lldpcli watch` accepts a limit on the number of received events.
+  * Fixes:
+    + `lldpcli -f {xml,json} watch` should work now.
+    + Consider `veth` interfaces as physical interfaces.
+
 lldpd (0.9.2)
-  * Change:
+  * Changes:
     + Ability to add/remove/replace custom TLV from lldpcli.
     + LLDP-MED capabilities are displayed differently in lldpcli.
-  * Fix:
+    + Limit the maximum depth (5) when trying to apply a VLAN.
+    + Change JSON output format when using json-c to match Jansson
+      output.
+    + Integration tests for the major parts of lldpd, including use of
+      address and leak sanitizer.
+  * Fixes:
     + LLDP-MED POE TLV are now displayed in lldpcli.
+    + Ignore lower link when it is in another namespace.
+    + Fix various problems with interfaces being enslaved.
+    + Fix a memory leak when modifying port-related settings.
 
 lldpd (0.9.1)
-  * Change:
+  * Changes:
     + Rework packaging for OS X to make it work with El Capitan. To
       simplify a bit, it is not possible anymore to build fat
       binaries. Latest version of OS X supporting 32bit was 10.6.
-  * Fix:
+  * Fixes:
     + By default, when using port alias as description, use port name
       as port ID.
     + Miscellaneous fixes with netlink cache.
     + Ensure large netlink messages can be received.
 
 lldpd (0.9.0)
-  * Change:
+  * Changes:
     + Don't rely on libnl3 for netlink. Reuse the previous code and
       implement a lighweight cache.
 
 lldpd (0.8.0, never released)
-  * Fix:
-    + Fix a buffer overflow when receiving a too large management
-      address TLV. Unless hardening has been disabled, this overflow
-      cannot be used for arbitrary code execution.
-    + Update LLDP-MED policy L2 priority values to match
-      802.1Q-2005. This may be a breaking change.
-  * Change:
+  * Changes:
     + PIE is now disabled by default. It's too difficult to reliably
       detect if it works. Use --enable-pie to enable it.
     + Retrieve the permanent MAC address of an interface through
@@ -46,22 +196,26 @@ lldpd (0.8.0, never released)
     + Introduce the notion of default local port. New interfaces will
       use it as a base. This allows setting various MED stuff.
     + Provide an apparmor profile (untested).
+  * Fixes:
+    + Fix a buffer overflow when receiving a too large management
+      address TLV. Unless hardening has been disabled, this overflow
+      cannot be used for arbitrary code execution.
+    + Update LLDP-MED policy L2 priority values to match
+      802.1Q-2005. This may be a breaking change.
 
 lldpd (0.7.17)
-  * Fix:
+  * Fixes:
+    + Fix the way libevent configure is called.
     + Fix an infinite loop when using veth on Linux 4.1+ kernels.
     + Make CDP advertise the appropriate kernel name as platform,
       not just "Linux".
-  * Change:
-    + Fix the way libevent configure is called.
 
 lldpd (0.7.16)
-  * Change:
+  * Changes:
     + For Linux, 2.6.32 is now the minimal required kernel. When using
       an older kernel, use `--enable-oldies`.
     + For Linux, use netlink to retrieve information about bridges,
       VLAN and bonds. The code was contributed by Cumulus Networks.
-  * Features:
     + Use symbol versioning for liblldpctl.so.
     + Ability to get local chassis information with "show
       chassis".
@@ -70,29 +224,28 @@ lldpd (0.7.16)
       get a chassis atom from a port with `lldpctl_k_port_chassis`
       key. This is now the preferred way to retrieve chassis related
       information.
-  * Fix:
+  * Fixes:
     + Fix build on OS X.
     + Accept "language" when configuring MED location as a civic address.
 
 lldpd (0.7.15)
-  * Features:
+  * Changes:
     + Optional features can be configured with "auto" to autodetect if
       they are usable. This is the default value for JSON and XML support.
     + Ability to send and decode custom/unknown TLV. Thanks to Alexandru
       Ardelean.
-  * Change:
     + Modify checksum function. While this should be strictly
       equivalent, if you notice CDP packets not accepted anymore, this
       change is the first culprit.
 
 lldpd (0.7.14)
-  * Features:
+  * Changes:
     + Shutdown LLPDU are sent on MSAP change and when lldpd exits.
     + When an exact IP is provided as a management pattern, use it
       unconditionally.
     + Ability to set port ID and description to an arbitrary value,
       thanks to Alexandru Ardelean.
-  * Fix:
+  * Fixes:
     + Incorrect boundary check when decoding management address and
       protocol identity may lead to lldpd crash when processing
       malformed LLDPDU.
@@ -100,15 +253,15 @@ lldpd (0.7.14)
       crashing.
 
 lldpd (0.7.13)
-  * Fix:
+  * Fixes:
     + Unbreak customization of Unix socket path from command line.
 
 lldpd (0.7.12)
-  * Features:
+  * Changes:
     + Interface pattern, management pattern, system description,
       system platform and system hostname can be unconfigured to their
       default values.
-  * Fix:
+  * Fixes:
     + Don't complain when parsing a commented line.
     + Correctly persist configuration changes for "system interface
       promiscuous", "system interface description" "med fast-start
@@ -116,19 +269,19 @@ lldpd (0.7.12)
     + Fix listening on bond devices for old kernels (< 2.6.27).
 
 lldpd (0.7.11)
-  * Features:
+  * Changes:
     + Ship bash and zsh completion.
     + Abort when some command-line options are repeated.
-  * Fix:
+  * Fixes:
     + Handle correctly read failures in liblldpctl.
 
 lldpd (0.7.10)
-  * Features:
+  * Changes:
     + Ability to set promiscuous mode to work around bugs of some
       switches encapsulating LLDP frames inside 802.1Q frames.
     + JSON support for lldpcli can use json-c instead of jansson,
       thanks to Michel Stam.
-  * Fix:
+  * Fixes:
     + Fix checksum computation for Cisco CDP.
     + Fix ability to disable LLDP.
     + Fix seccomp sandbox, thanks to Patrick McLean.
@@ -141,23 +294,15 @@ lldpd (0.7.9)
       `localstatedir` which defaults to `/usr/local/var`. Therefore,
       to get the previous locations, lldpd should be configured with
       `./configure --localstatedir=/var`.
-  * Fixes:
-    + Fix `configure system bond-slave-src-mac-type local`. Also use
-      it as default.
-  * Features:
     + Add support for shutdown LLDPU.
     + Ability to configure IP management pattern from lldpcli.
     + Ability to choose what port ID should be (MAC or interface name).
+  * Fixes:
+    + Fix `configure system bond-slave-src-mac-type local`. Also use
+      it as default.
 
 lldpd (0.7.8)
-  * Fixes:
-    + Don't hard-code default values for system name, system
-      description and port description. When the field is not present,
-      just don't display it.
-    + Fix lldpcli behaviour when suid.
-    + On OSX, don't use p2p0 interfaces: it would break WLAN.
-    + Fix SNMP support on RHEL.
-  * Features:
+  * Changes:
     + Android support
     + Add the possibility to disable privilege separation (lower
       memory consumption, lower security, don't do it).
@@ -166,9 +311,16 @@ lldpd (0.7.8)
       eth1. Moreover, on exact match, an matching interface
       circumvents most sanity checks (like VLAN handling).
     + Ability to override the hostname.
+  * Fixes:
+    + Don't hard-code default values for system name, system
+      description and port description. When the field is not present,
+      just don't display it.
+    + Fix lldpcli behaviour when suid.
+    + On OSX, don't use p2p0 interfaces: it would break WLAN.
+    + Fix SNMP support on RHEL.
 
 lldpd (0.7.7)
-  * Features:
+  * Changes:
     + Use a locally administered MAC address or an arbitrary one
       instead of null MAC address for bond devices on Linux. This is
       configurable through `lldpcli`.
@@ -183,7 +335,7 @@ lldpd (0.7.7)
       retrieved.
 
 lldpd (0.7.6)
-  * Features:
+  * Changes:
     + Provide a way to build packages for OSX.
     + Add an option to update interface description with neighbor name.
   * Fixes:
@@ -199,7 +351,7 @@ lldpd (0.7.4)
     + Memory leak in liblldpctl when using a custom log handler.
     + Fix some unaligned memory accesses.
     + Fix frame reception on OpenBSD.
-  * Features:
+  * Changes:
     + Allow to configure hold value from lldpcli (and hence the TTL).
     + Allow to configure pattern for valid interfaces from lldpcli.
     + Allow to override system description from lldpcli.
@@ -207,7 +359,7 @@ lldpd (0.7.4)
       number of connected neighbors).
 
 lldpd (0.7.3)
-  * Features:
+  * Changes:
     + DragonFly BSD support.
     + Solaris support (incomplete).
     + LLDP-MED fast start support (thanks to Roopa Prabhu).
@@ -217,7 +369,7 @@ lldpd (0.7.3)
     + Fix IPv4/IPv6 address discovery in Linux.
 
 lldpd (0.7.2)
-  * Features
+  * Changes:
     + lldpd can be configured through /etc/lldpd.conf and
       /etc/lldpd.d. All commands accepted by lldpcli are accepted.
     + Lock BPF interfaces before handing them to chrooted process on
@@ -232,20 +384,19 @@ lldpd (0.7.2)
     + Expire remote ports and chassis in a timely manner.
 
 lldpd (0.7.1)
-  * Features
+  * Changes:
     + Mac OS X support, sponsored by Xcloud, Mac cloud server hosting
       provider. http://xcloud.me/
     + Upstart and systemd support.
     + Remove Unix socket when there is no process listening.
 
 lldpd (0.7.0)
-  * Global changes:
+  * Changes:
     + FreeBSD support.
     + OpenBSD support.
     + NetBSD support.
     + Detect interface changes.
     + CLI for lldpctl: lldpcli.
-  * Other features:
     + Allow to disable LLDP protocol (with `-ll`). In this case, the
       first enabled protocol will be used when no neighbor is detected.
     + Allow to filter debug logs using tokens. Add more debug logs.
@@ -256,7 +407,7 @@ lldpd (0.7.0)
       systems not supporting sysfs.
 
 lldpd (0.6.1)
-  * Features:
+  * Changes:
     + Provide liblldpctl.so, a library to interface with lldpd. The
       documentation is provided through Doxygen. See src/lib/lldpctl.h
       which contains all the exported functions.
@@ -267,12 +418,11 @@ lldpd (0.6.1)
       current transmit delay.
 
 lldpd (0.6)
-  * Features:
+  * Changes:
     + Allow lldpctl to display hidden ports.
     + Add a switch to specify interfaces to use to get chassis ID.
     + Support for multiple management addresses and IPv6 management
       addresses. Contributed by João Valverde.
-  * Global changes:
     + Switch to libevent. See README.md for details.
     + Partial rewrite of the SNMP part. Less code.
     + Unit tests for SNMP.
@@ -288,7 +438,7 @@ lldpd (0.5.7)
       lldpd will stop sending packets and stop updating local data.
 
 lldpd (0.5.6)
-  * Features:
+  * Changes:
     + Send and receive native VLAN TLV with CDP
     + Add a whitelist for some drivers (currently: dsa and veth)
   * Fixes:
@@ -296,7 +446,7 @@ lldpd (0.5.6)
     + Small optimization of BPF filter
 
 lldpd (0.5.5)
-  * Features:
+  * Changes:
     + Support for PPVID and PI Dot1 TLV, thanks to Shuah Khan.
     + Extend whitelist with possibility to blacklist.
   * Fixes:
@@ -310,25 +460,25 @@ lldpd (0.5.5)
       are available.
 
 lldpd (0.5.4)
-  * Features:
+  * Changes:
     + Get OS information from /etc/os-release if available. Patch from
       Michael Tremer.
     + Add a flag to specify which interfaces lldpd should listen to.
 
 lldpd (0.5.3)
-  * Fixes:
-    + Allow root to change configuration of lldpd when lldpctl has suid set.
-  * Features:
+  * Changes:
     + Handle Dot3 POE-MDI TLV (802.3af and 802.3at).
     + Allow to set Dot3 POE-MDI from lldpctl.
+  * Fixes:
+    + Allow root to change configuration of lldpd when lldpctl has suid set.
 
 lldpd (0.5.2)
-  * Features:
+  * Changes:
     + More flexible smart mode and new default. Manual page has been updated.
     + Add a "receive-only" mode with "-r" switch.
 
 lldpd (0.5.1)
-  * Features:
+  * Changes:
     + Allow to force a protocol even when no peer for this protocol is
       detected.
     + Add a smart mode that allows to discard bogus port information,
@@ -344,7 +494,6 @@ lldpd (0.5.1)
       decapsulation. Older "listen on vlan" feature is discarded. See
       README for more information on the new feature.
     + Use output of lsb_release if available for system description.
-
   * Fixes:
     + Ignore interface with no queue. It should filter out interfaces
       like "vnet0" that would fail if we try to send something on them.
@@ -352,8 +501,7 @@ lldpd (0.5.1)
       Cisco checksum have some difficult corner cases).
 
 lldpd (0.5.0)
-
-  * Features:
+  * Changes:
     + lldpd can now handle several systems on the same port. This
       modification also allows to speak to a switch using CDP and LLDP
       for example.
@@ -371,15 +519,13 @@ lldpd (0.5.0)
     + lldpctl has been reworked; it is now able to output data in XML
       format for easier parsing. Patches were provided by Andreas
       Hofmeister.
-
-  * Bug fixes:
+  * Fixes:
     + Fix EDP VLAN handling
     + Silent warnings about bridge stuff.
     + Copy /etc/localtime into chroot before starting lldpd daemon to
       ensure correct timestamps for logs.
 
 lldpd (0.4.1)
-
   * Fix EDP handling when there is no VLAN
   * Fix CDP version to not always be 1
   * Misc fix:
@@ -387,7 +533,6 @@ lldpd (0.4.1)
      + fix SNMP last change in case this change occurs before start time
 
 lldpd (0.4)
-
   * Rewrite of packet builder and parser to be able to cope with
     architecture that cannot do unaligned read. For decoder, we don't
     cast structures any more since they can be unaligned. For encoder,
@@ -395,32 +540,26 @@ lldpd (0.4)
     step.
 
 lldpd (0.3.2)
-
   * Fix LLDP-MED support
 
 lldpd (0.3.1)
-
   * Misc fixes, including memory leaks
 
 lldpd (0.3)
-
   * Initial support of LLDP-MED
   * Fix for bridge detection (don't send bridge ioctl on random interfaces)
   * For bonded devices, get the real hardware address. For inactive
     slaves, transmit using a random MAC address.
 
 lldpd (0.2.1)
-
   * Fix a syntax error in manual page
   * Fix open() calls
 
 lldpd (0.2)
-
   * Add privilege separation
   * Add FDP support
   * Support CDP encapsulated into native VLAN
   * Various fixes
 
 lldpd (0.1)
-
   * Initial release