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