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