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