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