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