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