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