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