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