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