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