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