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