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