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