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