3 + lldpcli can now display local interfaces with LLDP data sent on
4 each of them ("show interfaces").
5 + As Dot3 PD device, echo back allocated value from PSE device.
7 + Don't remove interfaces when they are released from a bridge.
8 + Don't use "expect stop" with Upstart. It's buggy.
12 + "Station" capability is only set if no other bit is set.
13 + Use ethtool to get permanent address for bonds and teams. This
14 might provide different results than the previous method. Some
15 devices may still use the previous method.
16 + Don't run ethtool as root. Kernels older than 2.6.19 won't get
17 link information anymore.
18 + Add "configure system hostname ." option to not use a FQDN
20 + Add "-f json0" to provide a more regular/machine-parsable output
21 to JSON output, even when not compiled with --enable-json0.
23 + Handle team interfaces like a bond. Real MAC address cannot be
28 + Attach remote TTL to port instead of chassis.
29 + JSON support is now built-in and unconditionally enabled. Use
30 --enable-json0 to keep the pre-0.9.2 json-c format.
31 + When logging to syslog and daemonizing, don't log to stderr.
32 + vxlan interfaces are now ignored as they are multi-point interfaces.
33 + Maximum number of neighbors for an interface is increased from 4 to 32.
37 + Add a compile-time option to restore pre-0.9.2 JSON format (when
38 using json-c). Use `--enable-json0` to enable this option.
39 + Support for newer ethtool interface on Linux
40 (ETHTOOL_GLINKSETTINGS) and additional speed settings.
41 + Current MAU type is displayed even when autoneg is off.
42 + Increase netlink receive buffer by default. Can be changed at
43 compile-time through ./configure.
45 + Correctly parse LLDP-MED civic address when the length of the
46 TLV exceeds the length of the address.
47 + Fix 100% CPU on some rare error condition.
48 + Fix lost timer when an interface is enslaved on Linux.
52 + More Ethernet media supported. However, RFC4836 is quite
53 out-of-date with respected to 10G+ speeds, bringing some
55 + Directly get media information for an interface without using
56 the privileged process.
57 + LLDP-MED capability TLV is not sent when LLDP-MED is not enabled,
58 even if other LLDP-MED TLV are present.
60 + Compilation fix with older versions of GCC.
61 + Don't use ethtool at all to get real MAC address for enslaved
62 devices (always use /proc).
66 + Make lldpd accepts a `-p` option to specify the PID file.
67 + Ability to change multicast MAC address to two additional values
68 to reach customer bridges.
69 + lldpcli will now display chassis TTL when detailed view is enabled.
71 + Fix setting of local value for port ID.
72 + Fix compilation with BSD make.
73 + Ensure lldpcli returns an error code on invalid commands.
77 + Do not rely on support of constructors for liblldpctl.
78 + Always log to stderr (even in addition to syslog).
79 + `lldpcli watch` accepts a limit on the number of received events.
81 + `lldpcli -f {xml,json} watch` should work now.
82 + Consider `veth` interfaces as physical interfaces.
86 + Ability to add/remove/replace custom TLV from lldpcli.
87 + LLDP-MED capabilities are displayed differently in lldpcli.
88 + Limit the maximum depth (5) when trying to apply a VLAN.
89 + Change JSON output format when using json-c to match Jansson
91 + Integration tests for the major parts of lldpd, including use of
92 address and leak sanitizer.
94 + LLDP-MED POE TLV are now displayed in lldpcli.
95 + Ignore lower link when it is in another namespace.
96 + Fix various problems with interfaces being enslaved.
97 + Fix a memory leak when modifying port-related settings.
101 + Rework packaging for OS X to make it work with El Capitan. To
102 simplify a bit, it is not possible anymore to build fat
103 binaries. Latest version of OS X supporting 32bit was 10.6.
105 + By default, when using port alias as description, use port name
107 + Miscellaneous fixes with netlink cache.
108 + Ensure large netlink messages can be received.
112 + Don't rely on libnl3 for netlink. Reuse the previous code and
113 implement a lighweight cache.
115 lldpd (0.8.0, never released)
117 + PIE is now disabled by default. It's too difficult to reliably
118 detect if it works. Use --enable-pie to enable it.
119 + Retrieve the permanent MAC address of an interface through
120 ethtool for Linux if /proc/net/bonding is not available.
121 + Running lldpd with "-d" will keep the process in foreground but
122 logs will still go to syslog. To log to the console, add at
124 + Fix minimal kernel version to 2.6.39. Add a runtime warning when
125 this is not the case.
126 + Remove old bridge code (the one using ioctl).
127 + Don't discard down interfaces. Notably, this enables us to keep
128 their specific configuration if any.
129 + For Linux, switch to libnl3. Be aware of the licensing issues in
130 case of static linking.
131 + Introduce the notion of default local port. New interfaces will
132 use it as a base. This allows setting various MED stuff.
133 + Provide an apparmor profile (untested).
135 + Fix a buffer overflow when receiving a too large management
136 address TLV. Unless hardening has been disabled, this overflow
137 cannot be used for arbitrary code execution.
138 + Update LLDP-MED policy L2 priority values to match
139 802.1Q-2005. This may be a breaking change.
143 + Fix the way libevent configure is called.
144 + Fix an infinite loop when using veth on Linux 4.1+ kernels.
145 + Make CDP advertise the appropriate kernel name as platform,
150 + For Linux, 2.6.32 is now the minimal required kernel. When using
151 an older kernel, use `--enable-oldies`.
152 + For Linux, use netlink to retrieve information about bridges,
153 VLAN and bonds. The code was contributed by Cumulus Networks.
154 + Use symbol versioning for liblldpctl.so.
155 + Ability to get local chassis information with "show
157 + The library also has the same ability with the
158 `lldpctl_get_local_chassis()` function. It is also possible to
159 get a chassis atom from a port with `lldpctl_k_port_chassis`
160 key. This is now the preferred way to retrieve chassis related
164 + Accept "language" when configuring MED location as a civic address.
168 + Optional features can be configured with "auto" to autodetect if
169 they are usable. This is the default value for JSON and XML support.
170 + Ability to send and decode custom/unknown TLV. Thanks to Alexandru
172 + Modify checksum function. While this should be strictly
173 equivalent, if you notice CDP packets not accepted anymore, this
174 change is the first culprit.
178 + Shutdown LLPDU are sent on MSAP change and when lldpd exits.
179 + When an exact IP is provided as a management pattern, use it
181 + Ability to set port ID and description to an arbitrary value,
182 thanks to Alexandru Ardelean.
184 + Incorrect boundary check when decoding management address and
185 protocol identity may lead to lldpd crash when processing
187 + Many edge cases where lldpd was leaving hanging processes after
192 + Unbreak customization of Unix socket path from command line.
196 + Interface pattern, management pattern, system description,
197 system platform and system hostname can be unconfigured to their
200 + Don't complain when parsing a commented line.
201 + Correctly persist configuration changes for "system interface
202 promiscuous", "system interface description" "med fast-start
203 enable", "pause" and "resume".
204 + Fix listening on bond devices for old kernels (< 2.6.27).
208 + Ship bash and zsh completion.
209 + Abort when some command-line options are repeated.
211 + Handle correctly read failures in liblldpctl.
215 + Ability to set promiscuous mode to work around bugs of some
216 switches encapsulating LLDP frames inside 802.1Q frames.
217 + JSON support for lldpcli can use json-c instead of jansson,
218 thanks to Michel Stam.
220 + Fix checksum computation for Cisco CDP.
221 + Fix ability to disable LLDP.
222 + Fix seccomp sandbox, thanks to Patrick McLean.
226 + Default location for chroot, socket and PID are now configurable
227 in `./configure`. The default location is based on the value of
228 `runstatedir` which in turn may be based on the value of
229 `localstatedir` which defaults to `/usr/local/var`. Therefore,
230 to get the previous locations, lldpd should be configured with
231 `./configure --localstatedir=/var`.
232 + Add support for shutdown LLDPU.
233 + Ability to configure IP management pattern from lldpcli.
234 + Ability to choose what port ID should be (MAC or interface name).
236 + Fix `configure system bond-slave-src-mac-type local`. Also use
242 + Add the possibility to disable privilege separation (lower
243 memory consumption, lower security, don't do it).
244 + Interfaces can now be whitelisted. For example, *,!eth*,!!eth1
245 is a valid pattern for all interfaces except eth ones, except
246 eth1. Moreover, on exact match, an matching interface
247 circumvents most sanity checks (like VLAN handling).
248 + Ability to override the hostname.
250 + Don't hard-code default values for system name, system
251 description and port description. When the field is not present,
252 just don't display it.
253 + Fix lldpcli behaviour when suid.
254 + On OSX, don't use p2p0 interfaces: it would break WLAN.
255 + Fix SNMP support on RHEL.
259 + Use a locally administered MAC address or an arbitrary one
260 instead of null MAC address for bond devices on Linux. This is
261 configurable through `lldpcli`.
262 + Add support for "team" driver (alternative to bond devices).
263 + Preliminary support for DTrace/systemtap.
264 + Preliminary support for seccomp (for monitor process).
265 + Setup chroot inside lldpd instead of relying on init script.
267 + Various bugs related to fixed point number handling (for
268 coordinates in LLDP-MED)
269 + Fix a regression in how MAC address of an enslaved device is
274 + Provide a way to build packages for OSX.
275 + Add an option to update interface description with neighbor name.
277 + Compilation fix for OSX 10.6.
281 + Segfault while tokenizing in lldpcli.
285 + Segfault in lldpcli.
286 + Memory leak in liblldpctl when using a custom log handler.
287 + Fix some unaligned memory accesses.
288 + Fix frame reception on OpenBSD.
290 + Allow to configure hold value from lldpcli (and hence the TTL).
291 + Allow to configure pattern for valid interfaces from lldpcli.
292 + Allow to override system description from lldpcli.
293 + Display the neighbor connected as the process title (or the
294 number of connected neighbors).
298 + DragonFly BSD support.
299 + Solaris support (incomplete).
300 + LLDP-MED fast start support (thanks to Roopa Prabhu).
301 + Provide global statistics through "show statistics summary"
302 command (thanks to Roopa Prabhu).
304 + Fix IPv4/IPv6 address discovery in Linux.
308 + lldpd can be configured through /etc/lldpd.conf and
309 /etc/lldpd.d. All commands accepted by lldpcli are accepted.
310 + Lock BPF interfaces before handing them to chrooted process on
312 + Limit the number of neighbors for each port to 4 (per protocol).
313 + Force CDPv2 protocol with argument `-ccc`.
314 + Provide port statistics through "show statistics" command
315 (thanks to Roopa Prabhu).
317 + Driver whitelisting is done before checking if an interface has
318 a lower interface in Linux.
319 + Expire remote ports and chassis in a timely manner.
323 + Mac OS X support, sponsored by Xcloud, Mac cloud server hosting
324 provider. http://xcloud.me/
325 + Upstart and systemd support.
326 + Remove Unix socket when there is no process listening.
333 + Detect interface changes.
334 + CLI for lldpctl: lldpcli.
335 + Allow to disable LLDP protocol (with `-ll`). In this case, the
336 first enabled protocol will be used when no neighbor is detected.
337 + Allow to filter debug logs using tokens. Add more debug logs.
338 + lldpctl can now output JSON.
339 + Use netlink to gather interface information on Linux.
340 + Don't use ioctl for bridges anymore on Linux. The configure
341 option `--enable-oldies` allow to reenable their uses for
342 systems not supporting sysfs.
346 + Provide liblldpctl.so, a library to interface with lldpd. The
347 documentation is provided through Doxygen. See src/lib/lldpctl.h
348 which contains all the exported functions.
349 + Make lldpctl uses liblldpctl.so.
350 + Add a "watch" option to lldpctl to monitor neighbor changes.
351 + Add the possibility to display the current configuration of
352 lldpd with lldpctl. Also add the possibility to reset the
353 current transmit delay.
357 + Allow lldpctl to display hidden ports.
358 + Add a switch to specify interfaces to use to get chassis ID.
359 + Support for multiple management addresses and IPv6 management
360 addresses. Contributed by João Valverde.
361 + Switch to libevent. See README.md for details.
362 + Partial rewrite of the SNMP part. Less code.
363 + Unit tests for SNMP.
364 + Major rewrite of the protocol between lldpd and lldpctl. Less
367 + Several small SNMP fixes (discovered by unit tests).
371 + Configure issue with NetSNMP and some linkers
372 + Fix infinite loop for the receive part: on certain conditions,
373 lldpd will stop sending packets and stop updating local data.
377 + Send and receive native VLAN TLV with CDP
378 + Add a whitelist for some drivers (currently: dsa and veth)
380 + Compilation issues with NetSNMP 5.7 (and with earlier versions too)
381 + Small optimization of BPF filter
385 + Support for PPVID and PI Dot1 TLV, thanks to Shuah Khan.
386 + Extend whitelist with possibility to blacklist.
388 + Key/value output was incorrect when a dot was present in
389 interface names. This is fixed but it is preferable to use XML
390 output since the parsing is more difficult in this case.
391 + Only grab DMI information once. Only uses DMI for x86 platform.
392 + Padding issues with socket protocol. This introduces a change in
394 + Fix a segfault when neither /etc/os-release nor lsb_release
399 + Get OS information from /etc/os-release if available. Patch from
401 + Add a flag to specify which interfaces lldpd should listen to.
405 + Handle Dot3 POE-MDI TLV (802.3af and 802.3at).
406 + Allow to set Dot3 POE-MDI from lldpctl.
408 + Allow root to change configuration of lldpd when lldpctl has suid set.
412 + More flexible smart mode and new default. Manual page has been updated.
413 + Add a "receive-only" mode with "-r" switch.
417 + Allow to force a protocol even when no peer for this protocol is
419 + Add a smart mode that allows to discard bogus port information,
420 for example CDP packets that are flooded through a switch that
421 does not support CDP.
422 + Allow to set LLDP-MED network policy from lldpctl, thanks to a patch from
424 + Allow to set LLDP-MED POE-MDI from lldpctl.
425 + Add a summary of available options in "lldpd -h" and "lldpctl -h",
426 thanks to a patch from Jorge Boncompte.
427 + Add a new output (keyvalue) for lldpctl.
428 + Listen on VLAN using an appropriate BPF filter, VLAN
429 decapsulation. Older "listen on vlan" feature is discarded. See
430 README for more information on the new feature.
431 + Use output of lsb_release if available for system description.
433 + Ignore interface with no queue. It should filter out interfaces
434 like "vnet0" that would fail if we try to send something on them.
435 + Don't check CDP checksums (not really a fix but it appears that
436 Cisco checksum have some difficult corner cases).
440 + lldpd can now handle several systems on the same port. This
441 modification also allows to speak to a switch using CDP and LLDP
443 + The way that lldpd gathers information for each port has been
444 abstracted. This should allow to support more systems (BSD for
445 examples) or switch cores in the future. Sending/receive support
447 + Add "-k" switch to avoid to emit too much information on running
449 + Support of ifAlias with kernel >= 2.6.28
450 + Lot of portability stuff. lldpd can now be compiled on RHEL
451 2.1. Still Linux-only though.
452 + Add an option to specify AgentX socket (-X).
453 + Add some unit tests
454 + lldpctl has been reworked; it is now able to output data in XML
455 format for easier parsing. Patches were provided by Andreas
458 + Fix EDP VLAN handling
459 + Silent warnings about bridge stuff.
460 + Copy /etc/localtime into chroot before starting lldpd daemon to
461 ensure correct timestamps for logs.
464 * Fix EDP handling when there is no VLAN
465 * Fix CDP version to not always be 1
467 + incorrect number of arguments for a LLOG_INFO call
468 + fix SNMP last change in case this change occurs before start time
471 * Rewrite of packet builder and parser to be able to cope with
472 architecture that cannot do unaligned read. For decoder, we don't
473 cast structures any more since they can be unaligned. For encoder,
474 we use memcpy through the use of macro that build packets step by
478 * Fix LLDP-MED support
481 * Misc fixes, including memory leaks
484 * Initial support of LLDP-MED
485 * Fix for bridge detection (don't send bridge ioctl on random interfaces)
486 * For bonded devices, get the real hardware address. For inactive
487 slaves, transmit using a random MAC address.
490 * Fix a syntax error in manual page
494 * Add privilege separation
496 * Support CDP encapsulated into native VLAN