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