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