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