]> git.ipfire.org Git - thirdparty/lldpd.git/blob - NEWS
test: add tests for 802.3BT additions
[thirdparty/lldpd.git] / NEWS
1 lldpd (1.0.5)
2 * Changes:
3 + Interface names are also matched for management addresses.
4 + On Linux, only register protocol handler for LLDP when only LLDP
5 is enabled.
6 + Stricter on LLDP incoming frames validation.
7 + Add support for VLAN-aware bridges for Linux (no range support).
8 + Add support for 802.3BT (no SNMP support).
9 * Fix:
10 + Don't clear chassis TLV on shutdown LLDPDU.
11
12 lldpd (1.0.4)
13 * Changes:
14 + Add "configure system max-neighbors XX" command to modify maximum
15 of neighbors accepted per port.
16 + Implement lldpRemOrgDefInfoTable table for custom TLVs.
17 * Fix:
18 + Better compliance for statsTLVsUnrecognizedTotal and
19 statsAgeoutsTotal counters.
20 + On Linux, handle rare blocking case in Netlink code.
21
22 lldpd (1.0.3)
23 * Fix:
24 + Fix creation of chroot directory.
25
26 lldpd (1.0.2)
27 * Changes:
28 + On Linux, the monitor process will now drop its privileges
29 instead of running as root. It will keep CAP_NET_RAW,
30 CAP_NET_ADMIN and CAP_DAC_OVERRIDE capabilities.
31 + Support for CDP PD PoE (with negotiation). Thanks to Gustav
32 Wiklander.
33 + Move support for bonded devices on Linux < 2.6.27 into the
34 `--enable-oldies` option. This avoids duplicate packets
35 starting from Linux 4.19.
36
37 lldpd (1.0.1)
38 * Fix:
39 + Use "mkdir -p" instead of "mkdir" in systemd unit.
40
41 lldpd (1.0.0)
42 * Changes:
43 + Chassis ID can be set to an arbitrary value with "configure system
44 chassisid".
45 + Port description can be overriden directly with "configure lldp
46 portdescription".
47 + Command "configure system interface permanent" enables one to
48 specify a pattern for interfaces to be kept in memory even when
49 they are removed from the system.
50 * Fix:
51 + Ensure chassis-related changes are propagated immediately.
52 + Ensure management address change is correctly detected.
53
54 lldpd (0.9.9)
55 * Changes:
56 + lldpcli can now display local interfaces with LLDP data sent on
57 each of them ("show interfaces").
58 + As Dot3 PD device, echo back allocated value from PSE device.
59 * Fix:
60 + Don't remove interfaces when they are released from a bridge.
61 + Don't use "expect stop" with Upstart. It's buggy.
62
63 lldpd (0.9.8)
64 * Changes:
65 + "Station" capability is only set if no other bit is set.
66 + Use ethtool to get permanent address for bonds and teams. This
67 might provide different results than the previous method. Some
68 devices may still use the previous method.
69 + Don't run ethtool as root. Kernels older than 2.6.19 won't get
70 link information anymore.
71 + Add "configure system hostname ." option to not use a FQDN
72 for system name.
73 + Add "-f json0" to provide a more regular/machine-parsable output
74 to JSON output, even when not compiled with --enable-json0.
75 * Fixes:
76 + Handle team interfaces like a bond. Real MAC address cannot be
77 retrieved yet.
78
79 lldpd (0.9.7)
80 * Changes:
81 + Attach remote TTL to port instead of chassis.
82 + JSON support is now built-in and unconditionally enabled. Use
83 --enable-json0 to keep the pre-0.9.2 json-c format.
84 + When logging to syslog and daemonizing, don't log to stderr.
85 + vxlan interfaces are now ignored as they are multi-point interfaces.
86 + Maximum number of neighbors for an interface is increased from 4 to 32.
87
88 lldpd (0.9.6)
89 * Changes:
90 + Add a compile-time option to restore pre-0.9.2 JSON format (when
91 using json-c). Use `--enable-json0` to enable this option.
92 + Support for newer ethtool interface on Linux
93 (ETHTOOL_GLINKSETTINGS) and additional speed settings.
94 + Current MAU type is displayed even when autoneg is off.
95 + Increase netlink receive buffer by default. Can be changed at
96 compile-time through ./configure.
97 * Fixes:
98 + Correctly parse LLDP-MED civic address when the length of the
99 TLV exceeds the length of the address.
100 + Fix 100% CPU on some rare error condition.
101 + Fix lost timer when an interface is enslaved on Linux.
102
103 lldpd (0.9.5)
104 * Changes:
105 + More Ethernet media supported. However, RFC4836 is quite
106 out-of-date with respected to 10G+ speeds, bringing some
107 inaccuracies.
108 + Directly get media information for an interface without using
109 the privileged process.
110 + LLDP-MED capability TLV is not sent when LLDP-MED is not enabled,
111 even if other LLDP-MED TLV are present.
112 * Fixes:
113 + Compilation fix with older versions of GCC.
114 + Don't use ethtool at all to get real MAC address for enslaved
115 devices (always use /proc).
116
117 lldpd (0.9.4)
118 * Changes:
119 + Make lldpd accepts a `-p` option to specify the PID file.
120 + Ability to change multicast MAC address to two additional values
121 to reach customer bridges.
122 + lldpcli will now display chassis TTL when detailed view is enabled.
123 * Fixes:
124 + Fix setting of local value for port ID.
125 + Fix compilation with BSD make.
126 + Ensure lldpcli returns an error code on invalid commands.
127
128 lldpd (0.9.3)
129 * Changes:
130 + Do not rely on support of constructors for liblldpctl.
131 + Always log to stderr (even in addition to syslog).
132 + `lldpcli watch` accepts a limit on the number of received events.
133 * Fixes:
134 + `lldpcli -f {xml,json} watch` should work now.
135 + Consider `veth` interfaces as physical interfaces.
136
137 lldpd (0.9.2)
138 * Changes:
139 + Ability to add/remove/replace custom TLV from lldpcli.
140 + LLDP-MED capabilities are displayed differently in lldpcli.
141 + Limit the maximum depth (5) when trying to apply a VLAN.
142 + Change JSON output format when using json-c to match Jansson
143 output.
144 + Integration tests for the major parts of lldpd, including use of
145 address and leak sanitizer.
146 * Fixes:
147 + LLDP-MED POE TLV are now displayed in lldpcli.
148 + Ignore lower link when it is in another namespace.
149 + Fix various problems with interfaces being enslaved.
150 + Fix a memory leak when modifying port-related settings.
151
152 lldpd (0.9.1)
153 * Changes:
154 + Rework packaging for OS X to make it work with El Capitan. To
155 simplify a bit, it is not possible anymore to build fat
156 binaries. Latest version of OS X supporting 32bit was 10.6.
157 * Fixes:
158 + By default, when using port alias as description, use port name
159 as port ID.
160 + Miscellaneous fixes with netlink cache.
161 + Ensure large netlink messages can be received.
162
163 lldpd (0.9.0)
164 * Changes:
165 + Don't rely on libnl3 for netlink. Reuse the previous code and
166 implement a lighweight cache.
167
168 lldpd (0.8.0, never released)
169 * Changes:
170 + PIE is now disabled by default. It's too difficult to reliably
171 detect if it works. Use --enable-pie to enable it.
172 + Retrieve the permanent MAC address of an interface through
173 ethtool for Linux if /proc/net/bonding is not available.
174 + Running lldpd with "-d" will keep the process in foreground but
175 logs will still go to syslog. To log to the console, add at
176 least one "-d".
177 + Fix minimal kernel version to 2.6.39. Add a runtime warning when
178 this is not the case.
179 + Remove old bridge code (the one using ioctl).
180 + Don't discard down interfaces. Notably, this enables us to keep
181 their specific configuration if any.
182 + For Linux, switch to libnl3. Be aware of the licensing issues in
183 case of static linking.
184 + Introduce the notion of default local port. New interfaces will
185 use it as a base. This allows setting various MED stuff.
186 + Provide an apparmor profile (untested).
187 * Fixes:
188 + Fix a buffer overflow when receiving a too large management
189 address TLV. Unless hardening has been disabled, this overflow
190 cannot be used for arbitrary code execution.
191 + Update LLDP-MED policy L2 priority values to match
192 802.1Q-2005. This may be a breaking change.
193
194 lldpd (0.7.17)
195 * Fixes:
196 + Fix the way libevent configure is called.
197 + Fix an infinite loop when using veth on Linux 4.1+ kernels.
198 + Make CDP advertise the appropriate kernel name as platform,
199 not just "Linux".
200
201 lldpd (0.7.16)
202 * Changes:
203 + For Linux, 2.6.32 is now the minimal required kernel. When using
204 an older kernel, use `--enable-oldies`.
205 + For Linux, use netlink to retrieve information about bridges,
206 VLAN and bonds. The code was contributed by Cumulus Networks.
207 + Use symbol versioning for liblldpctl.so.
208 + Ability to get local chassis information with "show
209 chassis".
210 + The library also has the same ability with the
211 `lldpctl_get_local_chassis()` function. It is also possible to
212 get a chassis atom from a port with `lldpctl_k_port_chassis`
213 key. This is now the preferred way to retrieve chassis related
214 information.
215 * Fixes:
216 + Fix build on OS X.
217 + Accept "language" when configuring MED location as a civic address.
218
219 lldpd (0.7.15)
220 * Changes:
221 + Optional features can be configured with "auto" to autodetect if
222 they are usable. This is the default value for JSON and XML support.
223 + Ability to send and decode custom/unknown TLV. Thanks to Alexandru
224 Ardelean.
225 + Modify checksum function. While this should be strictly
226 equivalent, if you notice CDP packets not accepted anymore, this
227 change is the first culprit.
228
229 lldpd (0.7.14)
230 * Changes:
231 + Shutdown LLPDU are sent on MSAP change and when lldpd exits.
232 + When an exact IP is provided as a management pattern, use it
233 unconditionally.
234 + Ability to set port ID and description to an arbitrary value,
235 thanks to Alexandru Ardelean.
236 * Fixes:
237 + Incorrect boundary check when decoding management address and
238 protocol identity may lead to lldpd crash when processing
239 malformed LLDPDU.
240 + Many edge cases where lldpd was leaving hanging processes after
241 crashing.
242
243 lldpd (0.7.13)
244 * Fixes:
245 + Unbreak customization of Unix socket path from command line.
246
247 lldpd (0.7.12)
248 * Changes:
249 + Interface pattern, management pattern, system description,
250 system platform and system hostname can be unconfigured to their
251 default values.
252 * Fixes:
253 + Don't complain when parsing a commented line.
254 + Correctly persist configuration changes for "system interface
255 promiscuous", "system interface description" "med fast-start
256 enable", "pause" and "resume".
257 + Fix listening on bond devices for old kernels (< 2.6.27).
258
259 lldpd (0.7.11)
260 * Changes:
261 + Ship bash and zsh completion.
262 + Abort when some command-line options are repeated.
263 * Fixes:
264 + Handle correctly read failures in liblldpctl.
265
266 lldpd (0.7.10)
267 * Changes:
268 + Ability to set promiscuous mode to work around bugs of some
269 switches encapsulating LLDP frames inside 802.1Q frames.
270 + JSON support for lldpcli can use json-c instead of jansson,
271 thanks to Michel Stam.
272 * Fixes:
273 + Fix checksum computation for Cisco CDP.
274 + Fix ability to disable LLDP.
275 + Fix seccomp sandbox, thanks to Patrick McLean.
276
277 lldpd (0.7.9)
278 * Changes:
279 + Default location for chroot, socket and PID are now configurable
280 in `./configure`. The default location is based on the value of
281 `runstatedir` which in turn may be based on the value of
282 `localstatedir` which defaults to `/usr/local/var`. Therefore,
283 to get the previous locations, lldpd should be configured with
284 `./configure --localstatedir=/var`.
285 + Add support for shutdown LLDPU.
286 + Ability to configure IP management pattern from lldpcli.
287 + Ability to choose what port ID should be (MAC or interface name).
288 * Fixes:
289 + Fix `configure system bond-slave-src-mac-type local`. Also use
290 it as default.
291
292 lldpd (0.7.8)
293 * Changes:
294 + Android support
295 + Add the possibility to disable privilege separation (lower
296 memory consumption, lower security, don't do it).
297 + Interfaces can now be whitelisted. For example, *,!eth*,!!eth1
298 is a valid pattern for all interfaces except eth ones, except
299 eth1. Moreover, on exact match, an matching interface
300 circumvents most sanity checks (like VLAN handling).
301 + Ability to override the hostname.
302 * Fixes:
303 + Don't hard-code default values for system name, system
304 description and port description. When the field is not present,
305 just don't display it.
306 + Fix lldpcli behaviour when suid.
307 + On OSX, don't use p2p0 interfaces: it would break WLAN.
308 + Fix SNMP support on RHEL.
309
310 lldpd (0.7.7)
311 * Changes:
312 + Use a locally administered MAC address or an arbitrary one
313 instead of null MAC address for bond devices on Linux. This is
314 configurable through `lldpcli`.
315 + Add support for "team" driver (alternative to bond devices).
316 + Preliminary support for DTrace/systemtap.
317 + Preliminary support for seccomp (for monitor process).
318 + Setup chroot inside lldpd instead of relying on init script.
319 * Fixes:
320 + Various bugs related to fixed point number handling (for
321 coordinates in LLDP-MED)
322 + Fix a regression in how MAC address of an enslaved device is
323 retrieved.
324
325 lldpd (0.7.6)
326 * Changes:
327 + Provide a way to build packages for OSX.
328 + Add an option to update interface description with neighbor name.
329 * Fixes:
330 + Compilation fix for OSX 10.6.
331
332 lldpd (0.7.5)
333 * Fixes:
334 + Segfault while tokenizing in lldpcli.
335
336 lldpd (0.7.4)
337 * Fixes:
338 + Segfault in lldpcli.
339 + Memory leak in liblldpctl when using a custom log handler.
340 + Fix some unaligned memory accesses.
341 + Fix frame reception on OpenBSD.
342 * Changes:
343 + Allow to configure hold value from lldpcli (and hence the TTL).
344 + Allow to configure pattern for valid interfaces from lldpcli.
345 + Allow to override system description from lldpcli.
346 + Display the neighbor connected as the process title (or the
347 number of connected neighbors).
348
349 lldpd (0.7.3)
350 * Changes:
351 + DragonFly BSD support.
352 + Solaris support (incomplete).
353 + LLDP-MED fast start support (thanks to Roopa Prabhu).
354 + Provide global statistics through "show statistics summary"
355 command (thanks to Roopa Prabhu).
356 * Fixes:
357 + Fix IPv4/IPv6 address discovery in Linux.
358
359 lldpd (0.7.2)
360 * Changes:
361 + lldpd can be configured through /etc/lldpd.conf and
362 /etc/lldpd.d. All commands accepted by lldpcli are accepted.
363 + Lock BPF interfaces before handing them to chrooted process on
364 BSD.
365 + Limit the number of neighbors for each port to 4 (per protocol).
366 + Force CDPv2 protocol with argument `-ccc`.
367 + Provide port statistics through "show statistics" command
368 (thanks to Roopa Prabhu).
369 * Fixes:
370 + Driver whitelisting is done before checking if an interface has
371 a lower interface in Linux.
372 + Expire remote ports and chassis in a timely manner.
373
374 lldpd (0.7.1)
375 * Changes:
376 + Mac OS X support, sponsored by Xcloud, Mac cloud server hosting
377 provider. http://xcloud.me/
378 + Upstart and systemd support.
379 + Remove Unix socket when there is no process listening.
380
381 lldpd (0.7.0)
382 * Changes:
383 + FreeBSD support.
384 + OpenBSD support.
385 + NetBSD support.
386 + Detect interface changes.
387 + CLI for lldpctl: lldpcli.
388 + Allow to disable LLDP protocol (with `-ll`). In this case, the
389 first enabled protocol will be used when no neighbor is detected.
390 + Allow to filter debug logs using tokens. Add more debug logs.
391 + lldpctl can now output JSON.
392 + Use netlink to gather interface information on Linux.
393 + Don't use ioctl for bridges anymore on Linux. The configure
394 option `--enable-oldies` allow to reenable their uses for
395 systems not supporting sysfs.
396
397 lldpd (0.6.1)
398 * Changes:
399 + Provide liblldpctl.so, a library to interface with lldpd. The
400 documentation is provided through Doxygen. See src/lib/lldpctl.h
401 which contains all the exported functions.
402 + Make lldpctl uses liblldpctl.so.
403 + Add a "watch" option to lldpctl to monitor neighbor changes.
404 + Add the possibility to display the current configuration of
405 lldpd with lldpctl. Also add the possibility to reset the
406 current transmit delay.
407
408 lldpd (0.6)
409 * Changes:
410 + Allow lldpctl to display hidden ports.
411 + Add a switch to specify interfaces to use to get chassis ID.
412 + Support for multiple management addresses and IPv6 management
413 addresses. Contributed by João Valverde.
414 + Switch to libevent. See README.md for details.
415 + Partial rewrite of the SNMP part. Less code.
416 + Unit tests for SNMP.
417 + Major rewrite of the protocol between lldpd and lldpctl. Less
418 code.
419 * Fixes:
420 + Several small SNMP fixes (discovered by unit tests).
421
422 lldpd (0.5.7)
423 * Fixes:
424 + Configure issue with NetSNMP and some linkers
425 + Fix infinite loop for the receive part: on certain conditions,
426 lldpd will stop sending packets and stop updating local data.
427
428 lldpd (0.5.6)
429 * Changes:
430 + Send and receive native VLAN TLV with CDP
431 + Add a whitelist for some drivers (currently: dsa and veth)
432 * Fixes:
433 + Compilation issues with NetSNMP 5.7 (and with earlier versions too)
434 + Small optimization of BPF filter
435
436 lldpd (0.5.5)
437 * Changes:
438 + Support for PPVID and PI Dot1 TLV, thanks to Shuah Khan.
439 + Extend whitelist with possibility to blacklist.
440 * Fixes:
441 + Key/value output was incorrect when a dot was present in
442 interface names. This is fixed but it is preferable to use XML
443 output since the parsing is more difficult in this case.
444 + Only grab DMI information once. Only uses DMI for x86 platform.
445 + Padding issues with socket protocol. This introduces a change in
446 the socket protocol!
447 + Fix a segfault when neither /etc/os-release nor lsb_release
448 are available.
449
450 lldpd (0.5.4)
451 * Changes:
452 + Get OS information from /etc/os-release if available. Patch from
453 Michael Tremer.
454 + Add a flag to specify which interfaces lldpd should listen to.
455
456 lldpd (0.5.3)
457 * Changes:
458 + Handle Dot3 POE-MDI TLV (802.3af and 802.3at).
459 + Allow to set Dot3 POE-MDI from lldpctl.
460 * Fixes:
461 + Allow root to change configuration of lldpd when lldpctl has suid set.
462
463 lldpd (0.5.2)
464 * Changes:
465 + More flexible smart mode and new default. Manual page has been updated.
466 + Add a "receive-only" mode with "-r" switch.
467
468 lldpd (0.5.1)
469 * Changes:
470 + Allow to force a protocol even when no peer for this protocol is
471 detected.
472 + Add a smart mode that allows to discard bogus port information,
473 for example CDP packets that are flooded through a switch that
474 does not support CDP.
475 + Allow to set LLDP-MED network policy from lldpctl, thanks to a patch from
476 Philipp Kempgen.
477 + Allow to set LLDP-MED POE-MDI from lldpctl.
478 + Add a summary of available options in "lldpd -h" and "lldpctl -h",
479 thanks to a patch from Jorge Boncompte.
480 + Add a new output (keyvalue) for lldpctl.
481 + Listen on VLAN using an appropriate BPF filter, VLAN
482 decapsulation. Older "listen on vlan" feature is discarded. See
483 README for more information on the new feature.
484 + Use output of lsb_release if available for system description.
485 * Fixes:
486 + Ignore interface with no queue. It should filter out interfaces
487 like "vnet0" that would fail if we try to send something on them.
488 + Don't check CDP checksums (not really a fix but it appears that
489 Cisco checksum have some difficult corner cases).
490
491 lldpd (0.5.0)
492 * Changes:
493 + lldpd can now handle several systems on the same port. This
494 modification also allows to speak to a switch using CDP and LLDP
495 for example.
496 + The way that lldpd gathers information for each port has been
497 abstracted. This should allow to support more systems (BSD for
498 examples) or switch cores in the future. Sending/receive support
499 is also abstracted.
500 + Add "-k" switch to avoid to emit too much information on running
501 kernel.
502 + Support of ifAlias with kernel >= 2.6.28
503 + Lot of portability stuff. lldpd can now be compiled on RHEL
504 2.1. Still Linux-only though.
505 + Add an option to specify AgentX socket (-X).
506 + Add some unit tests
507 + lldpctl has been reworked; it is now able to output data in XML
508 format for easier parsing. Patches were provided by Andreas
509 Hofmeister.
510 * Fixes:
511 + Fix EDP VLAN handling
512 + Silent warnings about bridge stuff.
513 + Copy /etc/localtime into chroot before starting lldpd daemon to
514 ensure correct timestamps for logs.
515
516 lldpd (0.4.1)
517 * Fix EDP handling when there is no VLAN
518 * Fix CDP version to not always be 1
519 * Misc fix:
520 + incorrect number of arguments for a LLOG_INFO call
521 + fix SNMP last change in case this change occurs before start time
522
523 lldpd (0.4)
524 * Rewrite of packet builder and parser to be able to cope with
525 architecture that cannot do unaligned read. For decoder, we don't
526 cast structures any more since they can be unaligned. For encoder,
527 we use memcpy through the use of macro that build packets step by
528 step.
529
530 lldpd (0.3.2)
531 * Fix LLDP-MED support
532
533 lldpd (0.3.1)
534 * Misc fixes, including memory leaks
535
536 lldpd (0.3)
537 * Initial support of LLDP-MED
538 * Fix for bridge detection (don't send bridge ioctl on random interfaces)
539 * For bonded devices, get the real hardware address. For inactive
540 slaves, transmit using a random MAC address.
541
542 lldpd (0.2.1)
543 * Fix a syntax error in manual page
544 * Fix open() calls
545
546 lldpd (0.2)
547 * Add privilege separation
548 * Add FDP support
549 * Support CDP encapsulated into native VLAN
550 * Various fixes
551
552 lldpd (0.1)
553 * Initial release