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