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