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