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