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