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