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