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