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