]> git.ipfire.org Git - thirdparty/lldpd.git/blob - NEWS
b1f9c298503c998dd5b91b12afbc7d44fa225cee
[thirdparty/lldpd.git] / NEWS
1 lldpd (0.9.9)
2 * Changes:
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.
6 * Fix:
7 + Don't remove interfaces when they are released from a bridge.
8 + Don't use "expect stop" with Upstart. It's buggy.
9
10 lldpd (0.9.8)
11 * Changes:
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
19 for system name.
20 + Add "-f json0" to provide a more regular/machine-parsable output
21 to JSON output, even when not compiled with --enable-json0.
22 * Fixes:
23 + Handle team interfaces like a bond. Real MAC address cannot be
24 retrieved yet.
25
26 lldpd (0.9.7)
27 * Changes:
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.
34
35 lldpd (0.9.6)
36 * Changes:
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.
44 * Fixes:
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.
49
50 lldpd (0.9.5)
51 * Changes:
52 + More Ethernet media supported. However, RFC4836 is quite
53 out-of-date with respected to 10G+ speeds, bringing some
54 inaccuracies.
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.
59 * Fixes:
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).
63
64 lldpd (0.9.4)
65 * Changes:
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.
70 * Fixes:
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.
74
75 lldpd (0.9.3)
76 * Changes:
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.
80 * Fixes:
81 + `lldpcli -f {xml,json} watch` should work now.
82 + Consider `veth` interfaces as physical interfaces.
83
84 lldpd (0.9.2)
85 * Changes:
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
90 output.
91 + Integration tests for the major parts of lldpd, including use of
92 address and leak sanitizer.
93 * Fixes:
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.
98
99 lldpd (0.9.1)
100 * Changes:
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.
104 * Fixes:
105 + By default, when using port alias as description, use port name
106 as port ID.
107 + Miscellaneous fixes with netlink cache.
108 + Ensure large netlink messages can be received.
109
110 lldpd (0.9.0)
111 * Changes:
112 + Don't rely on libnl3 for netlink. Reuse the previous code and
113 implement a lighweight cache.
114
115 lldpd (0.8.0, never released)
116 * Changes:
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
123 least one "-d".
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).
134 * Fixes:
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.
140
141 lldpd (0.7.17)
142 * Fixes:
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,
146 not just "Linux".
147
148 lldpd (0.7.16)
149 * Changes:
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
156 chassis".
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
161 information.
162 * Fixes:
163 + Fix build on OS X.
164 + Accept "language" when configuring MED location as a civic address.
165
166 lldpd (0.7.15)
167 * Changes:
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
171 Ardelean.
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.
175
176 lldpd (0.7.14)
177 * Changes:
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
180 unconditionally.
181 + Ability to set port ID and description to an arbitrary value,
182 thanks to Alexandru Ardelean.
183 * Fixes:
184 + Incorrect boundary check when decoding management address and
185 protocol identity may lead to lldpd crash when processing
186 malformed LLDPDU.
187 + Many edge cases where lldpd was leaving hanging processes after
188 crashing.
189
190 lldpd (0.7.13)
191 * Fixes:
192 + Unbreak customization of Unix socket path from command line.
193
194 lldpd (0.7.12)
195 * Changes:
196 + Interface pattern, management pattern, system description,
197 system platform and system hostname can be unconfigured to their
198 default values.
199 * Fixes:
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).
205
206 lldpd (0.7.11)
207 * Changes:
208 + Ship bash and zsh completion.
209 + Abort when some command-line options are repeated.
210 * Fixes:
211 + Handle correctly read failures in liblldpctl.
212
213 lldpd (0.7.10)
214 * Changes:
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.
219 * Fixes:
220 + Fix checksum computation for Cisco CDP.
221 + Fix ability to disable LLDP.
222 + Fix seccomp sandbox, thanks to Patrick McLean.
223
224 lldpd (0.7.9)
225 * Changes:
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).
235 * Fixes:
236 + Fix `configure system bond-slave-src-mac-type local`. Also use
237 it as default.
238
239 lldpd (0.7.8)
240 * Changes:
241 + Android support
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.
249 * Fixes:
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.
256
257 lldpd (0.7.7)
258 * Changes:
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.
266 * Fixes:
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
270 retrieved.
271
272 lldpd (0.7.6)
273 * Changes:
274 + Provide a way to build packages for OSX.
275 + Add an option to update interface description with neighbor name.
276 * Fixes:
277 + Compilation fix for OSX 10.6.
278
279 lldpd (0.7.5)
280 * Fixes:
281 + Segfault while tokenizing in lldpcli.
282
283 lldpd (0.7.4)
284 * Fixes:
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.
289 * Changes:
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).
295
296 lldpd (0.7.3)
297 * Changes:
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).
303 * Fixes:
304 + Fix IPv4/IPv6 address discovery in Linux.
305
306 lldpd (0.7.2)
307 * Changes:
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
311 BSD.
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).
316 * Fixes:
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.
320
321 lldpd (0.7.1)
322 * Changes:
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.
327
328 lldpd (0.7.0)
329 * Changes:
330 + FreeBSD support.
331 + OpenBSD support.
332 + NetBSD support.
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.
343
344 lldpd (0.6.1)
345 * Changes:
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.
354
355 lldpd (0.6)
356 * Changes:
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
365 code.
366 * Fixes:
367 + Several small SNMP fixes (discovered by unit tests).
368
369 lldpd (0.5.7)
370 * Fixes:
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.
374
375 lldpd (0.5.6)
376 * Changes:
377 + Send and receive native VLAN TLV with CDP
378 + Add a whitelist for some drivers (currently: dsa and veth)
379 * Fixes:
380 + Compilation issues with NetSNMP 5.7 (and with earlier versions too)
381 + Small optimization of BPF filter
382
383 lldpd (0.5.5)
384 * Changes:
385 + Support for PPVID and PI Dot1 TLV, thanks to Shuah Khan.
386 + Extend whitelist with possibility to blacklist.
387 * Fixes:
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
393 the socket protocol!
394 + Fix a segfault when neither /etc/os-release nor lsb_release
395 are available.
396
397 lldpd (0.5.4)
398 * Changes:
399 + Get OS information from /etc/os-release if available. Patch from
400 Michael Tremer.
401 + Add a flag to specify which interfaces lldpd should listen to.
402
403 lldpd (0.5.3)
404 * Changes:
405 + Handle Dot3 POE-MDI TLV (802.3af and 802.3at).
406 + Allow to set Dot3 POE-MDI from lldpctl.
407 * Fixes:
408 + Allow root to change configuration of lldpd when lldpctl has suid set.
409
410 lldpd (0.5.2)
411 * Changes:
412 + More flexible smart mode and new default. Manual page has been updated.
413 + Add a "receive-only" mode with "-r" switch.
414
415 lldpd (0.5.1)
416 * Changes:
417 + Allow to force a protocol even when no peer for this protocol is
418 detected.
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
423 Philipp Kempgen.
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.
432 * Fixes:
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).
437
438 lldpd (0.5.0)
439 * Changes:
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
442 for example.
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
446 is also abstracted.
447 + Add "-k" switch to avoid to emit too much information on running
448 kernel.
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
456 Hofmeister.
457 * Fixes:
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.
462
463 lldpd (0.4.1)
464 * Fix EDP handling when there is no VLAN
465 * Fix CDP version to not always be 1
466 * Misc fix:
467 + incorrect number of arguments for a LLOG_INFO call
468 + fix SNMP last change in case this change occurs before start time
469
470 lldpd (0.4)
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
475 step.
476
477 lldpd (0.3.2)
478 * Fix LLDP-MED support
479
480 lldpd (0.3.1)
481 * Misc fixes, including memory leaks
482
483 lldpd (0.3)
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.
488
489 lldpd (0.2.1)
490 * Fix a syntax error in manual page
491 * Fix open() calls
492
493 lldpd (0.2)
494 * Add privilege separation
495 * Add FDP support
496 * Support CDP encapsulated into native VLAN
497 * Various fixes
498
499 lldpd (0.1)
500 * Initial release