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