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