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