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