ChangeLog 442 KB
Newer Older
1

2 3
Kea 1.7.10 (development) released on Jul 29, 2020

Tomek Mrugalski's avatar
Tomek Mrugalski committed
4 5 6 7 8
1780.	[doc]		wlodek
	Added a section to Kea ARM about tuning performance for kea-dhcp4
	and kea-dhcp6.
	(Gitlab #1285)

9
1779.	[build]		tmark
10 11 12
	Library version numbers bumped for release.
	(Gitlab #1346)

13 14 15 16
1778.	[func]*		fdupont
	Changed the order of subnets to follow ascending subnet identifier.
	(Gitlab #1265)

17 18 19 20 21
1777.	[doc]		fdupont
	Added in the Developer's Guide an example about how to cross
	compile Kea for a Raspberry Pi.
	(Gitlab #1221)

Francis Dupont's avatar
Francis Dupont committed
22 23 24 25 26 27
1776.	[func]		fdupont
	DHCP servers now log a fatal error message when a reconfiguration
	attempt left a no longer working server. Documentation was
	updated tp propose remedy actions.
	(Gitlab #507,#1166)

Tomek Mrugalski's avatar
Tomek Mrugalski committed
28 29 30 31
1775.	[doc]		vicky
	A Code of Conduct has been added.
	(Gitlab #1143)

32 33 34 35 36 37
1774.	[func]		tmark
	leaseX-del commands now support a new parameter, update-ddns,
	which instructs the server to remove DNS entries for a
	lease after it has been deleted.
	(Gitlab #544)

Francis Dupont's avatar
Francis Dupont committed
38 39 40 41 42
1773.	[perf]		fdupont
	Kea statistics now uses standard c++11 chrono library instead
	of POSIX time library from boost.
	(Gitlab #1174)

Francis Dupont's avatar
Francis Dupont committed
43
1772.	[perf]		fdupont
Francis Dupont's avatar
Francis Dupont committed
44
	Set kea-lfc process priority to lower than default.
Francis Dupont's avatar
Francis Dupont committed
45 46
	This change should alleviate CPU utilization spikes caused
	by LFC process observed on some systems.
Francis Dupont's avatar
Francis Dupont committed
47 48
	(Gitlab #1311)

Francis Dupont's avatar
Francis Dupont committed
49 50 51 52
1771.	[func]		fdupont
	Added a stats-recount command to kea-admin tool, which recounts
	cached statistics in MySQL and PostgreSQL lease databases.

Francis Dupont's avatar
Francis Dupont committed
53 54 55 56 57
1770.	[func]		fdupont
	Added kea-admin lease-stat-recount command which recounts cached
	statistics in MySQL and PostgreSQL lease databases.
	(Gitlab #1196)

Francis Dupont's avatar
Francis Dupont committed
58 59 60 61 62 63
1769.	[build]		fdupont
	Added detection of the musl libc which implements dlclose() as
	a no-operation: this behavior breaks Kea expectations for
	hook library unloading.
	(Gitlab #771)

Francis Dupont's avatar
Francis Dupont committed
64 65 66 67 68
1768.	[func]*		fdupont
	Removed the support of the Logging toplevel entry. Now loggers must
	be defined in each server toplevel entry.
	(Gitlab #916)

Francis Dupont's avatar
Francis Dupont committed
69 70 71 72
1767.	[bug]		fdupont
	Fixed unit tests failing on systems where an interface is named	eth0.
	(Gitlab #1043)

Francis Dupont's avatar
Francis Dupont committed
73 74 75 76 77
1766.	[func]		fdupont
	Optimized the interface manager code and removed the 16 bit limit
	to interface indexes.
	(Gitlab #553)

Francis Dupont's avatar
Francis Dupont committed
78 79 80 81 82 83 84
1765.	[bug]		fdupont
	Corrected a bug in MySQL Config Backend which occasionally caused
	the DHCP servers to overlook some configuration changes. This
	issue could occur when the server fetched configuration changes
	within one second after they they were applied in the database.
	(Gitlab #1247)

Francis Dupont's avatar
Francis Dupont committed
85 86 87 88 89
1764.	[doc]		fdupont
	Added thread safety consideration sections to library documentations
	in the developer guide.
	(Gitlab #996,#1264)

Francis Dupont's avatar
Francis Dupont committed
90 91 92
1763.	[bug]		fdupont
	Changed the way hook libraries are unloaded. Now unload is done
	in two phases: the first phase calls unload() entry points and
93
	removes callouts, the second phase unmaps hook library memory
94
	spaces. This should lead to fewer problems including fewer crashes
Francis Dupont's avatar
Francis Dupont committed
95
	at exit time. On the other hand, incorrect libraries can stay
Francis Dupont's avatar
Francis Dupont committed
96
	in memory until exit and prevent any (re)load.
Francis Dupont's avatar
Francis Dupont committed
97 98
	(Gitlab #1282)

99 100
Kea 1.7.9 (development) released on June 24, 2020

101
1762.	[bug]		fdupont
Francis Dupont's avatar
Francis Dupont committed
102
	Fixed the control command execution: either it was deferred by
103 104 105
	DHCP packet processing or a spurious error message was logged.
	(Gitlab #1234)

106 107 108 109 110 111
1761.	[bug]		fdupont
	Found and fixed a possible source of incorrect statistics cached
	in MySQL and PostgreSQL lease databases which in some cases
	made servers fail to start.
	(Gitlab #944,#1196)

Razvan Becheriu's avatar
Razvan Becheriu committed
112 113 114 115
1760.	[bug]		razvan
	Fixed log message on DHCPv6 IA_NA lease renew.
	(Gitlab #1276)

Francis Dupont's avatar
Francis Dupont committed
116 117
1759.	[bug]*		fdupont
	Fixed the way configuration global entries are parsed in DHCPv4
Francis Dupont's avatar
Francis Dupont committed
118
	and DHCPv6 servers. We expect that the change will not be visible
Francis Dupont's avatar
Francis Dupont committed
119 120 121
	for sane configurations.
	(Gitlab #1245)

122 123 124 125 126 127 128 129
1758.	[func]*		fdupont
	Earlier Kea versions converted "comment" entries to "user-context"
	scope in the configuration when using config-get. This backwards
	compatibility has now been removed. This may affect users who use
	config-get or config-write commands and use comments in their
	configurations.
	(Gitlab #1100)

130 131 132 133 134
1757.	[bug]		fdupont
	config-backend-pull commands were fixed to be applied to the
	current configuration
	(Gitlab #1189)

Francis Dupont's avatar
Francis Dupont committed
135 136 137 138
1756.	[bug]		fdupont
	Made the parking lot API generic thread safe.
	(Gitlab #1255)

139 140 141 142 143 144 145 146 147 148 149 150
1755.	[func]*		fdupont
	Implemented various race avoidance mechanisms in the multi-threaded
	packet processing: only one query from the same client is processed,
	subsequent queries from the same client are dropped at the exception
	of the most recent which will be processed after. When picking
	a free address or prefix from a pool the resource is considered
	as not free for other threads. This is used by the lease commands
	hooks library to avoid conflicts with a minimal overhead.
	Finally individual lease reclamation is exclusive of multi-threaded
	packet processing.
	(Gitlab #1147)

Michal Nowikowski's avatar
Michal Nowikowski committed
151 152
Kea 1.7.8 (development) released on May 27, 2020

153 154 155 156 157 158 159 160
1754.	[func]		marcin
	Improved the procedure of restarting the servers in the terminated
	HA state. The servers can now be restarted sequentially without the
	risk of returning to the terminated state right after restart.
	Previously, the servers had to be both shutdown before being
	restarted to avoid returning to the terminated state.
	(Gitlab #1205)

161
1753.	[func]*		marcin
162 163 164 165 166 167
	Extended the response to the status-get command to include
	information about the progress of the failover procedure
	while the active servers are in the communication interrupted
	state. The new data allow for monitoring the number of clients
	attempting to communicate with the partner which is presumably
	offline, total number of packets sent to the partner and so on.
168 169
	The syntax of the response was modified and is incompatible with
	previous Kea versions.
170 171
	(Gitlab #1087)

172 173 174 175 176
1752.	[doc]		tmark
	Added documentation for the Leasequery premium
	hook library to the ARM.
	(Gitlab #1180)

177 178 179 180 181 182 183
1751.	[perf]		marcin
	Corrected performance issue occurring while loading large configurations
	via the MySQL Config Backend. Improper database indexing caused long
	server startup time as well as long time to respond to various
	commands, such as subnet4-list or subnet6-list.
	(Gitlab #1242)

Razvan Becheriu's avatar
Razvan Becheriu committed
184 185 186 187 188 189
1750.	[func]		razvan
	Refactored HooksManager so that no lazy initialization is possible
	from dhcp processing functions. The function getHooksManager is now
	private.
	(Gitlab #1227)

190 191 192 193 194 195
1749.	[func]		fdupont
	When the version is a development (vs. stable) one (second
	number is odd, e.g. in 1.7.x) a server or agent logs a
	warning to dissuade use in production.
	(Gitlab #1184)

196 197 198 199 200 201 202 203
1748.	[func]		marcin
	Added two extensions to the HA hooks library. Firstly, the active
	servers no longer wait for the lease update acknowledgments from
	the backup servers. Secondly, the new passive-backup mode allows
	for running a single active server with a number of backup
	servers.
	(Gitlab #999)

Francis Dupont's avatar
Francis Dupont committed
204 205 206 207 208 209 210 211
1747.	[bug]		fdupont
	Multi-threading and congestion handling were made incompatible:
	when both are enabled by a configuration the dhcp-queue-control is
	silently disabled, when packet-queue-size is not 0 and the
	multi-threading packet queue is full the oldest packet is dropped
	to make room for a new received one.
	(Gitlab #1173)

212 213 214 215 216
1746.	[bug]		fdupont
	lease4-add and lease6-add commands now return an error when the
	lease already exists.
	(Gitlab #1170)

217
1745.	[bug]		fdupont
Francis Dupont's avatar
Francis Dupont committed
218 219
	Made state model and external sockets thread safe.
	(Gitlab #1095)
220

Razvan Becheriu's avatar
Razvan Becheriu committed
221 222 223 224
1744.	[func]		razvan
	Stopping packet processing when changing or reloading configuration.
	(Gitlab #1188)

Francis Dupont's avatar
Francis Dupont committed
225
Kea 1.7.7 (development) released on Apr 29, 2020
226

Tomek Mrugalski's avatar
Tomek Mrugalski committed
227 228 229 230 231
1743.	[doc]		tomek
	ISC now provides a dashboard solution for Kea. Added documentation
	pointers about the ISC Stork project.
	(Gitlab #1191)

232 233 234 235 236 237 238 239
1742.	[func]		fdupont
	Added new cumulative statistics: for each assigned IPv4 address,
	IPv6 NA address or IPv6 PD prefixes cumulative-assigned-addresses,
	cumulative-assigned-nas or cumulative-assigned-pds global and
	per subnet is increased. A spelling error in the result-set of
	the stat-lease4-get of the stat cmds hook library was fixed.
	(Gitlab #816)

240 241 242 243 244
1741.	[func]		fdupont
	When the MySQL InnoDB reports a deadlock (very rare event)
	the failed query is rerun.
	(Gitlab #1160)

245
1740.	[bug]		fdupont
Francis Dupont's avatar
Francis Dupont committed
246
	Incorrect signal handling in the process library (used for
247 248 249 250
	control agent, d2 and netconf server but not by DHCPv4 or
	DHCPv6 servers) was replaced by the boost ASIO signal set.
	(Gitlab #1096)

Razvan Becheriu's avatar
Razvan Becheriu committed
251 252 253 254 255 256 257 258 259 260 261
1739.	[func]		razvan
	Added multi threading configuration parameters which can be used
	to adjust server performance according to setup resources and needs:
	enable-multi-threading, thread-pool-size and packet-queue-size.
	There is also an automatic detection implemented by using
	thread-pool-size set to 0. However, the packet-queue-size must be
	manually configured and does not scale automatically.
	The temporary -N command line option was removed.
	The multi threading is disabled by default.
	(Gitlab #893)

262 263
1738.	[func]		fdupont
	Added new global parameters statistic-default-sample-count and
264 265
	statistic-default-sample-age to set the default values used
	for sample keeping limits.
266 267
	(Gitlab #1005)

268
1737.	[func]		tmark
269 270 271 272 273
	Added store-extended-info parameter to kea-dhcp4 and kea-dhcp6
	which enables the storage of additional information per lease.
	This has been added in anticipation of supporting LeaseQuery.
	(Gitlab #1010)

Francis Dupont's avatar
Francis Dupont committed
274 275
1736.	[doc]		fdupont
	A default logging syntax has been updated to reflect recently added
276 277
	multi-threading capabilities. The process is now identified by
	name/process-id.thread-id, e.g. kea-dhcp4.dhcpsrv/8475.12345, where
Francis Dupont's avatar
Francis Dupont committed
278 279 280 281
	12345 is the thread-id. Its exact syntax is OS dependent. The
	logging syntax can be tweaked using `pattern` option for logging.
	(Gitlab #1150)

Francis Dupont's avatar
Francis Dupont committed
282
Kea 1.7.6 (development) released on Mar 25, 2020
283

284 285 286
1735.	[func]		wlodek
	Added clean output mode to perfdhcp with configurable separator
	for periodic reports.
287
	(Gitlab #1046)
288

Tomek Mrugalski's avatar
Tomek Mrugalski committed
289 290 291 292 293
1734.	[doc]		vicky
	A list of supported OSes is now described in a separate
	platforms.rst file.
	(Gitlab #1055)

Thomas Markwalder's avatar
Thomas Markwalder committed
294 295 296 297 298 299 300
1733.	[func]		tmark
	Added lease4-resend-ddns and lease6-resend-ddns commands to
	the Lease Commands hook library.  These commands may be used to
	instruct kea-dhcp4 or kea-dhcp6 to resend a request to update a
	lease's DNS entries to kea-dhcp-ddns.
	(Gitlab #1106)

301 302 303 304 305 306
1732.	[func]		marcin
	Client classes specified within host reservations can be used
	to influence subnet selection within a shared network and pool
	selection within a subnet.
	(Gitlab #1139)

Razvan Becheriu's avatar
Razvan Becheriu committed
307 308 309 310 311
1731.	[func]		razvan
	The NameChangeSender class is thread safe, making DNS updates
	compatible with multi-threading packet processing.
	(Gitlab #1148)

Razvan Becheriu's avatar
Razvan Becheriu committed
312 313 314 315 316 317 318 319
1730.	[func]		razvan
	Added -N command line switch that enables experimental multi-threading
	support. Number of threads can be specified (e.g. -N8) or Kea can be
	told to autodetect number of CPU threads (-N0). This feature is
	experimental. It hasn't been tested extensively and is known to cause
	problems with DDNS and HA. Do not use in production!
	(Gitlab #893)

Razvan Becheriu's avatar
Razvan Becheriu committed
320 321 322 323 324 325 326
1729.	[func]		razvan
	The RAII MultiThreadingCriticalSection class is now able to
	automatically stop and start the packet thread pool in order to
	perform server configuration and avoid race conditions in non
	thread safe code.
	(Gitlab #1016)

327 328 329 330 331 332
1728.	[bug]		tmark
	Memfile now supports commas in the hostname and user-context
	columns.  Commas in either column now escaped as "&#x2c" when
	written out, and unescaped when read back in.
	(Gitlab #608)

333 334 335 336 337 338 339
1727.	[bug]		tmark
	When shutting down due to lost backend database connetivity,
	kea-dhcp4 and kea-dhcp6 processes will exit with a non-zero value.
	This was temporarily altered by #1108. In addition, the "shutdown"
	command now supports an "exit-value" argument.
	(Gitlab #1115)

Razvan Becheriu's avatar
Razvan Becheriu committed
340 341 342 343 344 345 346
1726.	[func]		razvan
	Handling SKIP and DROP state in hooks so that the same operation
	is not performed multiple times. Some hooks will throw exceptions
	if the pktX_receive or pktX_send is handled by other hooks, in
	such case, the configuration order of the hooks must be changed.
	(Gitlab #1088)

Francis Dupont's avatar
Francis Dupont committed
347
Kea 1.7.5 (development) released on Feb 26, 2020
348 349 350 351 352 353

1725.	[func]		wlodek
	Added perfdhcp command option to enable checking address
	and/or prefix uniqueness.
	(Gitlab #1021)

Razvan Becheriu's avatar
Razvan Becheriu committed
354
1724.	[func]		razvan
Razvan Becheriu's avatar
Razvan Becheriu committed
355 356 357 358
	Added packet thread pool in dhcpv4 and dhcpv6 servers. It adds
	the ability to handle processPacket function on multiple threads.
	When enabled, parked packets are also added to the queue of items
	to be handles by the thread pool. The packet thread pool is
Razvan Becheriu's avatar
Razvan Becheriu committed
359
	currently disabled and there is no option to enable it yet.
Razvan Becheriu's avatar
Razvan Becheriu committed
360 361
	(Gitlab #892)

Razvan Becheriu's avatar
Razvan Becheriu committed
362
1723.	[func]		tmark
363 364 365 366
	Hostname sanitizing is now globally enabled by default.  Prior
	to this it was disabled.
	(Gitlab #1048)

Razvan Becheriu's avatar
Razvan Becheriu committed
367
1722.	[bug]		razvan
Tomek Mrugalski's avatar
Tomek Mrugalski committed
368 369 370
	Compilation fix for MySQL/MariaDB on Ubuntu 19.10.
	(Gitlab #1071)

Razvan Becheriu's avatar
Razvan Becheriu committed
371
1721.	[func]*		fdupont
Razvan Becheriu's avatar
Razvan Becheriu committed
372 373
	Added multi_threading_compatible function in hooks to retrieve
	the compatibility with multi-threading. This function is called
Razvan Becheriu's avatar
Razvan Becheriu committed
374
	when the library is loaded and if it reports 0 (incompatible) and
Razvan Becheriu's avatar
Razvan Becheriu committed
375 376 377 378
	multi-threading is enabled, then the configuration will be
	rejected. The absence of this function from the library defaults
	to incompatibility with multi-threading. All hooks and premium
	hooks must be updated to be able to be used with multi-threading.
Razvan Becheriu's avatar
Razvan Becheriu committed
379
	However, not all libraries are (or will ever be) compatible.
Razvan Becheriu's avatar
Razvan Becheriu committed
380 381
	(Gitlab #947)

Tomek Mrugalski's avatar
Tomek Mrugalski committed
382 383 384 385 386 387 388 389
1720.	[func]*		tomek
	The next step status in pkt4_send hook point now is able to
	distinguish between SKIP (Kea will skip packing the packet with
	the assumption that a hook already did that) and DROP (Kea will
	drop the packet). Previously both SKIP and DROP were interpreted
	as skip packing.
	(Gitlab #1090)

Razvan Becheriu's avatar
Razvan Becheriu committed
390 391
1719.	[func]		razvan
	Prepared CalloutManager to be used in multi-threading by moving
Razvan Becheriu's avatar
Razvan Becheriu committed
392
	the current library index and hook index to the CalloutHandle.
Razvan Becheriu's avatar
Razvan Becheriu committed
393 394 395 396 397
	This change removes the CallountHandle::getLibraryHandle, along
	with the possibility of dynamically registering/deregistering
	callouts inside callouts.
	(Gitlab #957)

398 399 400 401 402 403 404 405 406
1718.	[bug]		tmark
	kea-dhcp4 and kea-dhcp6 now shutdown gracefully by executing
	the shutdown command, if connectivity with a backend database
	has been lost and retries are either disabled or have been
	exhausted. Prior to this they simply invoked exit() which
	could orphan control socket files or cause segfaults unloading
	the CB Cmds hook library.
	(Gitlab #1108)

Razvan Becheriu's avatar
Razvan Becheriu committed
407 408 409 410 411 412 413 414 415
1717.	[func]		razvan
	Prepared PgSqlHostMgr to be used with multi-threading by using a
	connection pool with thread context.
	(Gitlab #1074)

1716.	[func]		razvan
	Implemented thread safe stats manager and stats context.
	(Gitlab #891)

416 417 418 419
1715.	[bug]		tmark
	Kea servers now detect and remove orphaned control channel
	sockets.  This corrects a failure of the servers to restart
	with an error of "address already in use" following a fatal
Razvan Becheriu's avatar
Razvan Becheriu committed
420
	loss of database connectivity.
421 422
	(Gitlab #1097)

Francis Dupont's avatar
Francis Dupont committed
423
Kea 1.7.4 (development) released on Jan 29, 2020
424

425
1714.	[build]		razvan
Razvan Becheriu's avatar
Razvan Becheriu committed
426
	Bumped up library version numbers for Kea 1.7.4 release.
427 428
	(Gitlab #1101)

429 430 431 432 433
1713.	[bug]*		tmark
	Code added under #35 to permit scoping of DDNS behavioral parameters
	was refactored to improve performance.
	(Gitlab #981)

434 435 436 437 438 439
1712.	[bug]		tmark
	Corrected an issue in the MySQL CB hook library which could
	cause subnet and shared-network options, properly added to
	the CB database, to be discarded when fetched from the backend.
	(Gitlab #1093)

Razvan Becheriu's avatar
Razvan Becheriu committed
440 441 442 443 444
1711.	[func]		razvan
	Prepared MySqlHostMgr to be used with multi-threading by using a
	connection pool with thread context.
	(Gitlab #1073)

Francis Dupont's avatar
Francis Dupont committed
445 446 447 448 449 450 451 452 453 454 455
1710.	[bug]		fdupont
	The code that handles default parameters and parameters
	inheritance, such as applying global values to subnet level,
	has been updated slightly. Although unlikely, there is small
	possibility this may affect boot-file-name, client-class,
	interface, match-client-id, authoritative, next-server,
	reservation-mode, and server-hostname values in Subnet4 and
	client-class, interface, interface-id, rapid-commit, and
	reservation-mode in Subnet6.
	(Gitlab #724)

456 457 458 459 460
1709.	[func]		fdupont
	MySQL Configuration Backend now allows for storing DDNS related
	configuration in the database.
	(Gitlab #946)

Tomek Mrugalski's avatar
Tomek Mrugalski committed
461 462 463 464
1708.	[doc]		tomek
	Clarified the relationship between comments and user context.
	(Gitlab #1079)

465 466 467 468 469 470 471 472 473 474 475 476 477
1707.	[func]		marcin
	High Availability hooks library supports controlled maintenance
	of the servers. The new ha-maintenance-start command puts one
	of the servers in the partner-in-maintenance state and causes
	this server to take over the entire DHCP traffic directed to the
	HA service. The second server in the in-maintenance state can be
	safely shutdown for the maintenance. This new mechanism solves
	the problem present in earlier versions of Kea when the
	administrator had to rely on the failover mechanism to promote
	one of the servers to handle the DHCP traffic while the other
	server was down.
	(Gitlab #1024)

Tomek Mrugalski's avatar
Tomek Mrugalski committed
478 479 480 481 482
1706.	[bug]		fdupont
	Fixed BOOTP hook. It now properly handles BOOTP packets and sends
	valid responses.
	(Gitlab #1064)

483 484 485 486 487 488 489
1705.	[bug]		fdupont
	Modified option 43 parsing to interpret sub-option codes 0 and 255
	as PAD and END when no sub-option with these codes are defined.
	This adds control of illegal but common use of these reserved
	code points in option 43.
	(Gitlab #950)

Razvan Becheriu's avatar
Razvan Becheriu committed
490 491 492 493
1704.	[func]		fdupont
	Prepared memfile lease manager to be used with multi-threading.
	(Gitlab #894)

494 495 496 497 498 499
1703.	[bug]		niclas rozenvik
	A fix in the --with-gtest option. It is now able to detect the
	libgtest.a. Thank you to Niclas Rozenvik for reporting the issue
	and proposing a fix!
	(Gitlab #1080)

Razvan Becheriu's avatar
Razvan Becheriu committed
500 501 502 503 504 505 506 507 508 509 510
1702.	[func]		razvan
	Update and delete operations on database back-ends use lease old
	expire value (internal storage) to detect concurrent actions on
	the same lease.
	(Gitlab #1040)

1701.	[func]		razvan
	Initialize all option definitions at program startup instead of
	using lazy initialization to make access thread safe and lock-less.
	(Gitlab #889)

511 512 513 514 515
1700.	[func]		godfryd
	Enabled checking Kea merge request in GitLab CI by Danger tool
	(see https://danger.systems/guides/dangerfile.html).
	(Gitlab #672)

Francis Dupont's avatar
Francis Dupont committed
516
Kea 1.7.3 (development) released on Nov 18th, 2019
517

518 519 520 521 522 523
1699.	[func]		fdupont, marcin
	Implemented status-get command which returns general status
	information about a Kea server status and optionally
	HA specific information if the HA hooks library is present.
	(Gitlab #1041)

Tomek Mrugalski's avatar
Tomek Mrugalski committed
524 525 526 527
1698.	[doc]		wlodek
	Avalanche scenario for perfdhcp is now documented.
	(Gitlab #876)

Tomek Mrugalski's avatar
Tomek Mrugalski committed
528 529 530 531 532
1697.	[doc]		wlodek
	Forensic logging documentation now mentions database
	configuration.
	(Gitlab #943)

533
1696.	[func]		fdupont
Tomek Mrugalski's avatar
Tomek Mrugalski committed
534 535
	A new hook library libdhcp_bootp has been implemented. Once
	loaded, this hook will provide support for BOOTP packets, as
536
	defined in RFC1497. Please see the "BOOTP support" Section in the
Tomek Mrugalski's avatar
Tomek Mrugalski committed
537 538 539
	ARM for details.
	(Gitlab #898)

540 541 542 543 544
1695.	[func]		fdupont
	Added support of BOOTP leases with infinite valid lifetime.
	This includes representation of such leases in MySQL and
	PostgreSQL databases which the expire date can be a 32 bit
	integer.
545
	(Gitlab #897)
546

547 548 549 550 551
1694.	[doc]		marcin
	Described the usage of the ha-heartbeat command to check the
	states of the HA enabled DHCP servers.
	(Gitlab #998)

Tomek Mrugalski's avatar
Tomek Mrugalski committed
552 553 554 555 556
1693.	[func]		fdupont
	Client supplied ciaddr is now sent back when responding to
	DHCPINFORM
	(Gitlab #992)

Tomek Mrugalski's avatar
Tomek Mrugalski committed
557 558 559 560
1692.	[build]		fdupont
	Better support for google test 1.10.0.
	(Gitlab #954)

561 562 563 564
1691.	[build]		tomek
	Google test version detection improved.
	(Gitlab #206)

Razvan Becheriu's avatar
Razvan Becheriu committed
565 566 567 568 569 570
1690.	[func]		fdupont, razvan
	As a preparation for upcoming multi-threading, the PgSQL
	connection pool has been implemented. This code is not
	usable on its own yet, but it will allow all threads
	to share a pool of connections in the future. This
	should improve the overall PgSQL lease backend performance.
Razvan Becheriu's avatar
Razvan Becheriu committed
571
	Fixed some log messages that were missing lease type details
Razvan Becheriu's avatar
Razvan Becheriu committed
572
	in DHCPv6 PostgreSQL lease manager actions.
Razvan Becheriu's avatar
Razvan Becheriu committed
573 574
	(Gitlab #1044)

Francis Dupont's avatar
Francis Dupont committed
575
Kea 1.7.2 (development) released on Nov 27, 2019
576

577 578 579 580 581 582
1689.	[bug]*		fdupont
	The default Kea Control Agent's configuration file uses port 8000
	instead of 8080 for the agent. This corrects the mismatch between
	the default port number used by the kea-shell and the agent.
	(Gitlab #793)

583 584 585 586 587
1688.	[func]		fdupont
	Added a new callout (hook point) executed when the server has
	completed a configuration update using the Config Backend.
	(Gitlab #596)

588 589 590 591 592
1687.	[doc]		fdupont
	Described for developers the way for a hook library to be loadable
	only for specific server(s) and applied as an example to ha.
	(Gitlab #50)

593 594
1686.	[func]		razvan
	Added a generic ThreadPool class which can be used to process
595 596
	functor work items in parallel, on multiple threads. It uses
	a queue container to manage the work items.
597 598
	(Gitlab #883)

599 600 601 602 603 604
1685.	[build]		fdupont
	Small build improvement. The fcntl.h header is included in more
	portable way. This should make it easier to build on Alpine systems and
	possibly other systems.
	(Gitlab #765)

Tomek Mrugalski's avatar
Tomek Mrugalski committed
605 606 607 608
1684.	[func]		fdupont
	As a preparation for upcoming multi-threading, the MySQL
	connection pool has been implemented. This code is not
	usable on its own yet, but it will allow all threads
Razvan Becheriu's avatar
Razvan Becheriu committed
609
	to share a pool of connections in the future. This
Tomek Mrugalski's avatar
Tomek Mrugalski committed
610 611 612
	should improve the overall MySQL lease backend performance.
	(Gitlab #960)

613
1683.	[bug]		wlodek
614 615 616 617 618 619 620
	Perfdhcp is able to parse incoming packet and determine
	if included IA_NA/IA_PD options are correct, counter
	of rejected leases is introduced for all DHCP v6 message
	exchanges. Perfdhcp will no longer send Request/Renew/Release
	message without proper IA_NA/IA_PD included.
	(Gitlab #572)

621 622 623 624 625 626 627 628 629 630 631 632
1682.	[bug]*		tmark
	Added logic to core code and HA hook lib to allow HA peers
	to detect and handle out of bandwidth socket events.  This
	corrects a defect introduced in Kea 1.6.0 that can cause
	an HA server to become unresponsive when an HA socket has
	been closed by a peer.  Note that there is a change to the
	signature of the external socket callback handler invoked
	by IfaceMgr.  Custome hook libraries happen register external
	sockets with IfaceMgr will require modification and
	recompilation.
	(Gitlab #964)

Francis Dupont's avatar
Francis Dupont committed
633
Kea 1.7.1 (development) released on Oct 30, 2019
634

635
1681.	[func]		fdupont
636
	Added new command config-backend-pull which forces the server
637 638 639 640
	to immediately poll the configuration updates from the
	configuration backend
	(Gitlab #904)

641 642 643 644 645 646
1680.	[bug,build]	Kristoffer Larsen
	A bug in Makefile has been fixed. The changes made to
	src/lib/dhcpsrv/alloc_engine_messages.mes are now picked up
	properly.
	(Gitlab #752)

647 648
1679.	[func]		fdupont
	Added new commands to the lease_cmds hooks library to search for
649 650
	leases by hardware address, client-id, DUID and hostname. Now
	hostnames are stored in lower case within the lease database.
651 652
	(Gitlab #393)

Tomek Mrugalski's avatar
Tomek Mrugalski committed
653 654 655 656 657
1678.	[build]		fdupont
	The arguments passed to configure are now stored and are available
	using -W command line option.
	(Gitlab #869)

Tomek Mrugalski's avatar
Tomek Mrugalski committed
658
1677.	[doc]		wlodek
659
	Sample configs now all use the same paths for control sockets.
Tomek Mrugalski's avatar
Tomek Mrugalski committed
660 661
	(Gitlab #795)

662 663 664 665 666 667 668 669 670
1676.	[func]		fdupont
	A new hook - flex-option - has been developed. It allows setting
	up DHCPv4 and DHCPv6 option values dynamically, using expression.
	This capability is very useful when you want to generate option
	value procedurally. For details, see new section "Flexible Option
	for Option value settings" in the Kea Administrator Reference
	Manual.
	(Gitlab #219,!523, git 2bf854c029b9b07ee6161bc1fcb4dfdc9846ee42)

671 672 673 674 675 676
1675.	[func]		fdupont
	Both DHCPv4 and DHCPv6 can now listen on and send responses
	to a custom UDP port, as specified with the -p command line
	option. This capability is mostly useful for testing.
	(Gitlab #677,!548, git 47e709fb7b89464d4473e8c7cb138f539042d68b)

677 678 679 680
1674.	[perf]		fdupont
	Added a Multi Threading Manager singleton class in the util library.
	(Gitlab #962,!566, git 66b090e54b45bdeefda266ddd62e42b46ed48d1d)

681 682 683 684
1673.	[bug]		tmark
	Fixed a bug introduced in Kea 1.6.0 (see #539) that caused
	kea-dhcp4 and kea-dhcp6 to discard inbound packets containing
	string options that consist solely of nulls.  The servers
685
	will now quietly omit empty or all-null string options from
686
	inbound packets.
687
	(Gitlab #900,!561, git c75a7c10bde74f59d481a7717b4e03b9cb2268a6)
688

689 690 691 692 693
1672.	[build]		fdupont
	Deprecated bind1st and bind2nd templates were replaced with
	lambda expressions or plain bind templates.
	(Gitlab #919,!521, git b12fa3374454c9c0d749557d5532aab55dbc58d9)

694
1671.	[bug]		tmark
695 696 697
	Corrected an issue in kea-dhcp6 where the server would fail
	to extend the expiry of a existing dynamic lease assigned to
	client with host reservation.
698
	(Gitlab #754,!558, git c223380012b82c93292528b593002c2b80b5361b)
699

700 701 702 703 704
1670.	[func]		fdupont
	Added searches for host reservations by hostname and by hostname
	and subnet.
	(Gitlan #392,!529, git 50068ada6b277c9251de9062501d8c478a8f5529)

705 706
1669.	[func]		tmark
	Rather than within the 'dhcp-ddns' section, DDNS behavioral
707
	parameters may now be specified at global, shared-network,
708 709
	and subnet scopes.  Implemented for both kea-dhcp4 and
	kea-dhcp6.  Not yet supported by Config Backend or Netconf.
710
	(Gitlab #35,!517, git 49ce6286f5d00f99c1c890f12cbc0fd633c9dbf6)
711

712 713 714 715
1668.	[build]		fdupont
	The Kea util thread library was removed.
	(Gitlab #907,!519, git 1b27dc52aae23753643461086f0950b125bf9c93)

716
1667.	[build]		fdupont
717 718
	The availability of C++11 thread, mutex, condition variable and
	atomic libraries is now checked by ./configure.
719 720
	(Gitlab #918,!520, git baf4097520c1cd38366ee4f33a95dde040906e9e)

721 722 723
1666.	[doc]		tmark
	Added note in ARM about manually admining cb data being possible
	but not supported.
724
	(Gitlab #917,!518, git f242e5c2e0e14331172671477dce3a6597691b55)
725

Francis Dupont's avatar
Francis Dupont committed
726
Kea 1.7.0 (development) released on Sep 25, 2019
727

728 729
1665.	[build]		tmark
	Bumped up library version numbers for Kea 1.7.0 final release.
730
	(Gitlab #924,!526, git c4061d0fdd660c8e375b4e1317603935ccc00b39)
731

732 733 734 735
1664.	[build]		razvan
	Make sysrepo_config detect installed sysrepo version.
	(Gitlab #766,!449, git e1a236fa4f4680d3eadade6b5f5a6a6065620a5b)

736 737 738 739 740
1663.	[build]		fdupont
	Dropped support for Botan 1.x crypto library in Kea as these
	versions are now end of life.
	(Gitlab #345,!498, git ba028eee986c0da963754c6fcb74790081557bec)

741 742 743 744 745 746 747
1662.	[bug]		marcin
	Prevent deadlock in the Kea DHCP servers caused by allocating
	memory in the system signal handler. The issue was found on
	CentOS 7.6, but could possibly affect Kea running on any other
	OS.
	(Gitlab #796,!504, git f858d9d0b63a18370ebb8bd7d1b8250d0c5a1cb5)

748 749 750
1661.	[bug]		tmark
	kea-dhcp4 now rejects inbound client messages that have
	neither a hardware address nor a client identifier.
751
	(Gitlab #821,!501, git 60baf65d0c9de384b0da147b50b7fc3180fc54dd)
752

753 754 755 756 757 758
1660.	[func]		franek
	Statistics of the DHCP packets are now initialized upon the
	server startup. This makes the statistics available for fetching
	via control channel immediately after the server is started.
	(Gitlab #755,!503, git f0238d1b6e88dfedaa91029ec3b65e06c14cab34)

759
1659.	[bug]		razvan
Razvan Becheriu's avatar
Razvan Becheriu committed
760 761 762
	Corrected an issue in the DHCPv4 server logic whereby the user-defined
	option definitions were not committed which could result in
	configuration failures when values for such options were specified.
763 764
	(Gitlab #729, !434, git e5b68fb226161dcdef0e4d2d9d03d9bdb95af5e2)

765
Kea 1.6.0 (stable) released on Aug 28, 2019
766

767
1658.	[bug]		tmark
768 769 770
	Renamed the column "array" in option definition tables
	in MySQL schema to "is_array" to avoid a reserved word
	conflict introduced by MySQL 8.0.17.
771
	(Gitlab #853,!26-p, git 6665c3b6d0f9f2a45b7710e8e9a36fff8f99bf7f)
772

773 774 775 776 777 778 779
1657.	[bug]		marcin, tomek
	Corrected multiple occurrences of out of bounds vector reads.
	These could cause server to assert when GLIBCXX_ASSERTIONS
	was enabled during compilation. Also, elminated overflows as
	a result of strncpy.
	(Gitlab #851,!24-p, git 4b1d6ffc5ae4f1e1fa5990a644c9786e7f6afea6)

780 781 782 783 784 785 786 787
1656.	[bug]		marcin
	Corrected a bug in the Kea MySQL Configuration Backend which
	caused the Kea DHCPv6 server to incorrectly require the server
	tag to be provided with the remote-subnet6-option-set command.
	In addition, corrected issues with setting and deleting
	pool specific DHCP options via the Configuration Backend.
	(Gitlab #847,!23-p, git 578bc6c997679c507c2f9e419783d34de77816cd)

788 789 790 791 792 793 794 795
1655.	[bug]		marcin
	Corrected a bug in the Kea MySQL Configuration Backend which
	prevented the DHCP servers from discovering and fetching the
	changes applied with the new commands. The new commands set
	and delete the options embedded within the subnets, shared
	networks and pools.
	(Gitlab #845,!22-p, git 7fb2255b212e4e98ff4dbf6d8e2e0ada78701110)

Michal Nowikowski's avatar
Michal Nowikowski committed
796
1654.	[sec]		tmark
797 798
	kea-dhcp4 Memfile logic now ensures during reading and writing
	that leases which are not in the declined state, have either
799
	a hardware address, client id, or both. kea-dhcp6 Memfile logic
Michal Nowikowski's avatar
Michal Nowikowski committed
800
	now ensures leases which are not declined have a non-empty DUID.
801
	CVE:2019-6474
802
	(Gitlab #805,!6-p, git 9705445210cf2a5c4bbe86fde4ce010c45b7aac1)
803

Michal Nowikowski's avatar
Michal Nowikowski committed
804
1653.	[sec]		tmark
805 806 807 808 809
	Added a new parameter, "max-row-errors", to Memfile lease database
	configuration for kea-dhcp4 and kea-dhcp6.  This parameter can be
	used to limit the number of rows discarded due to error during
	lease file loading after which the server will abandon the effort
	and exit. The default value of 0 disables the limit.
810
	CVE:2019-6474
811
	(Gitlab #805,!5-p git af7393c517cea37a7091075e5d0d24793bccf013)
812

Michal Nowikowski's avatar
Michal Nowikowski committed
813
1652.	[sec]		tmark
814 815 816
	Prevent the DHCP servers from asserting when malformed
	hostname or FQDN options are received.  Now the servers will
	drop the DHCP packets containing the malformed options.
817
	CVE:2019-6473
818
	(Gitlab #730,!2-p git a2a98c421bb400a81218bd28d6a6f62accd31b1f)
819

Michal Nowikowski's avatar
Michal Nowikowski committed
820
1651.	[sec]		tmark
821 822 823 824
	Added logic to kea-dhcp6 to catch values for client or
	server DUIDs that exceed 128 bytes to inbound packet
	sanity checking.
	CVE:2019-6472
825
	(Gitlab #722,!1-p git bb1a64b8945950f4439121ce4fef566d37c8630c)
826

827 828 829 830
1650.	[build]		marcin
	Bumped up library version numbers for Kea 1.6.0 final release.
	(Gitlab #841,!490, git 2e88e2554905dd66b9974c9fc513ee7e7b825a46)

831 832 833 834
1649.	[doc]		sgoldlust
	API documentation updated and cleaned up.
	(Gitlab #810,!471, git f1ae84186beb54d45f8455236827108289b0b0d6)

835 836 837 838 839 840 841
1648.	[func]		fdupont,marcin
	Client classification information (client-class,
	require-client-classes) and excluded prefix (excluded-prefix,
	excluded-prefix-len) may now be specified in the MySQL
	Configuration Backend.
	(Gitlab #659,!387, git 1f2cae397b48e2a28a7a7e61f6392691b9d32c13)

842 843 844 845 846 847 848
1647.	[doc]		marcin
	Updated "Local and Relayed Traffic in Shared Networks" sections
	of the Kea ARM. Explained that all subnets within a shared
	network should have the same subnet selector, i.e. interface
	name or relay IP address.
	(Gitlab #496,!483, git 1335e5643cc142c65bfc49c13280e9aaf3eeec21)

849 850 851 852 853
1646.	[func]		fdupont
	YANG models updated to cover the latest parameters:
	pattern and max-row-errors.
	(Gitlab #823,!477, git 79d0d45ec0c791560e297ca77fc88842b0a33868)

854 855 856 857 858
1645.	[func]		tmark
	Binary option data may now be specified as a single-quoted
	text string, within double quotes: "'some text'".  This is
	handy for binary options that convey text such as urls or
	file names.
859
	(Gitlab #761,!447, git 215d84f00208ac8a2710c28abc3386d6b765ede6)
860

861 862 863 864
1644.	[doc]		marcin, fdupont
	Added a warning about class dependence on built-in classes.
	(Gitlab #727,!466, git 9977d2927cf9b9cf1cd13de30aa5551ca900165b)

865 866 867 868 869 870 871
1643.	[build]		godfryd
	Added an optional --with-site-packages switch to configure
	script. It allows python package installation in a separate
	directory (mostly useful on Debian systems when building native
	packages).
	(Gitlab #721,#480, git 66332000ff618fbb41656981c7bbf3bb940066fe)

872 873 874 875
1642.	[doc]		fdupont, marcin
	User documentation for remote-option{4,6}-* commands.
	(Gitlab #826,!479, git 9b469ab63a9627e377a219cf8f83033e4e613b11)

876
1641.	[func]		tmark
877 878
	Added a new Logger output option, 'pattern', which can be
	used to customize log message content and layout.
879
	(Gitlab #665,!460, git 2add51ecf0d91d2a9ac797594c38472190c18460)
880

881 882 883 884 885 886
1640.	[func]		fdupont
	Added sub-option expression for client classification and flex-id.
	Users can access sub-option with option[12].option[34].hex or
	option[12].option[34].exist
	(Gitlab #150,!385, git 70bb412f20b706484538680906d6fcfd7ee6da68)

887 888 889 890 891
1639.	[func]		fdupont
	Updated YANG models with the latest changes in kea-dhcp4 and
	kea-dhcp6.
	(Gitlab #433,!473, git c46e8da1561e7d0c6c6f481d2e32cc9ae398324c)

892 893
1638.	[bug]		franek, razvan
	Kea statistics improvements: Correct statistic-get{all} commands.
894
	(Gitlab #756,!470, git 59fb24794af8a9ca8ee3621bc01dfd507350b2c1)
895

896 897 898 899
1637.	[bug]		tmark
	Corrected an issue in kea-dhcp6 where the server would assign
	a different lease each time a client with a dynamic host
	reservation returned via a SOLICIT.
900
	(Gitlab #754,!440, git c548d9330e6f626e538343c5e6361457057efdd7)
901

902
1636.	[bug]		razvan
903
	Http request and response parser now accepts 0 for Content-Length.
904 905
	(Gitlab #708,!423, git 09d75804e050083b502a96c8e77b0e98c735ae3d)

906 907 908 909
1635.	[doc]		godfryd, tomek
	Converted API documentation to Sphinx format.
	(Gitlab #777,!464, git 3ba1a265537330308c313a38b85e84cbe02704ae)

Razvan Becheriu's avatar
Razvan Becheriu committed
910 911 912 913 914
1634.	[func]		franek, razvan
	Kea statistics improvements: Added commands for set sample age and
	set sample count.
	(Gitlab #731,!459, git dde1b96b33ed20dbe2c815f1168e62b66635e39f)

915 916 917 918
1633.	[bug]		fdupont
	Added missing YANG Kea test module in distributions.
	(Gitlab #747,!436, git a800e79c7917acc723cbc71b626adc360e15a8d7)

919 920 921 922
1632.	[doc]		razvan, tmark
	Fixed doc examples.
	(Gitlab #649,!381, git e14b90735ff57be0776270364064952d353d7e3a)

923 924 925 926 927 928
1631.	[bug]		marcin
	Corrected the bug in mysql_cb hooks library which in some cases
	caused the pools to be orphaned and left in the database after
	the subnet has been updated.
	(Gitlab #632,!438, git ea15b537d62c66e03923b5fdce91db8795f436b4)

929 930 931 932
1630.	[build]		fdupont
	Added support for sysrepo 0.7.8 (and libyang 1.0-r3).
	(Gitlab #742,!430, git 6776a829f90768225ea794145e522560d26fe959)

933
1629.	[func]		tmark
934 935 936
	High Availaiblity logging now also emits server and partner system
	times when reporting clock skew issues.  Prior to this it reported
	only the skew between the two servers.
937
	(Gitlab #174,!414, git 9715ddecb0143d997a57edea564f5c180a7f8577)
938

939 940 941 942 943
1628.	[bug]		fdupont
	Improved the error message from MySQL CB -set commands when
	a specified server does not exist.
	(Gitlab #732,!429, git 82f34e60363eec72a117939a5526bdb1ececb53c)

944 945 946 947
1627.	[func]		fdupont
	Added new command server-tag-get to DHCPv4 and DHCPv6 servers.
	(Gitlab #470,!386, git 3cb43f112662ba3f9d2fc7152dfa1639401b1491)

948 949 950 951 952 953 954 955
1626.	[bug]		marcin
	Automatically delete embedded options as a result of deleting
	a subnet, pool or shared network from the MySQL Configuration
	Backend. Prior to this change, the options were unnecessarily
	left in the database. The database schema version was affected
	and its version bumped up to 8.2.
	(Gitlab #680,!426, git 03f0af3900bdd9eaa951b23cc9508f0618d3f1bb)

956
Kea 1.6.0-beta2 (development) released on July 24, 2019
957

958 959
1625.	[build]		tmark, marcin
	Bumped up libraries version numbers for Kea 1.6.0 beta2 release.
960
	(Gitlab #740,!427, git 359fe51531e802f052bd4172d4e295378155dbd5)
961

962 963 964 965 966
1624.	[doc]		marcin
	Documented a usage of the server tags with the Kea Configuration
	Backend in the Kea ARM.
	(Gitlab #643,!421, git 4c60b02e619bce2c434bbf9ee0e775d8776b2d74)

967 968 969 970 971
1623.	[bug]		fdupont
	Eliminated the issue whereby the DHCP server could terminate as a
	result of the remote-network4-del and remote-network6-del commands.
	(Gitlab #738,!425, git b34151b647aae8690fe0996090e13403a8e3ad55)

972 973 974 975 976
1622.	[bug]		fdupont
	Corrected server tags returned with the metadata when fetching
	option definitions from the MySQL configuration backend
	(Gitlab #737,!424, git 1cc95ae2a66102427e583b4924383fd414e24f0f)

977 978 979 980 981 982 983 984
1621.	[func]		fdupont
	Both kea-dhcp4 and kea-dhcp6 now support a special class, 'DROP'.
	When the class is defined, inbound client packets that match the
	class's match expression will be dropped without further processing.
	Each such drop is logged at DEBUG level and accounted for in
	drop statistics.
	(Gitlab #606,!375, git bfa5b2c50324e9d2339daa8309774f49a5e7bf3c)

985 986 987 988 989
1620.	[func]		franek, razvan
	Kea statistics improvements: Support for storing more than one
	sample.
	(Gitlab #696,!418, git c7b8c275758c96f56081e02da429f5dd9d653b87)

990 991 992 993 994
1619.	[func]		marcin
	Add support for associating subnets with the server tags in the
	mysql_cb hooks library.
	(Gitlab #717,!417, git e121ec4e0a04bc5bebdbfecf9cc1606b50e71263)

995 996 997 998 999
1618.	[func]		marcin
	Add support for associating the shared networks with the server
	tags in the mysql_cb hooks library.
	(Gitlab #716,!412, git 326fdbeb51dc1f6eebbdbbdcce78cfac87a61bd9)

1000 1001 1002 1003 1004 1005
1617.	[bug]		fdupont
	During the application of the config backend the external config
	is initialized to the default values so when a global parameter
	is changed and deleted it gets back a sane value.
	(Gitlab #630,!355, git 237afd3c512ed4d05ae76de76cce21dca643a889)

1006 1007 1008 1009 1010 1011
1616.	[func]		fdupont
	Renamed kea-admin lease-init, lease-version and lease-upgrade
	commands to db-init, db-version and db-upgrade. Only the lease-*
	command is now lease-dump.
	(Gitlab #466,!393, git cbd2ed23f2ea0649ccf608fe818197d2923108f0)

1012 1013 1014 1015 1016 1017
1615.	[func]		fdupont
	Added check for keyword name and type in parsers of objects
	managed by the config backend (options, option definitions,
	subnets and shared networks).
	(Gitlab #575,!358, git c9d87afad8db924da0aadc1b8ab40638bd0a6738)

1018 1019
1614.	[func]		marcin
	Add support for associating the DHCP option definitions with
1020
	the server tags in the mysql_cb hooks library.
1021 1022
	(Gitlab #715,!411, git 5511725555138213de4f48dc1091d65b5db47034)

1023 1024 1025 1026 1027
1613.	[func]		marcin
	Add support for associating the global DHCP options with the
	server tags in the mysql_cb hooks library.
	(Gitlab #714,!409, git 711c1dca9de388b786942fe5bedb8b8cf63b85ba)

1028 1029 1030 1031 1032
1612.	[bug]		razvan
	Fixed crash caused by unloading premium libraries which use
	custom host cache containers.
	(Gitlab #639,!410, git d3f7e9d9a18d93fb014c8e637e15c6ae9ca9269e)

1033 1034 1035 1036
1611.	[doc]		fdupont
	Clarified how Kea handles subnet prefixes in server configuration.
	(Gitlab #419,!333, git f260b51148b4f7584165e13fcf2320fdd5992a74)

1037 1038 1039 1040
1610.	[build]		fdupont
	Removed the obsolete compatcheck top directory.
	(Gitlab #667,!391, git 8cb113a52f0cf56fbdb5cb0e87464135234c2ac1)

1041 1042 1043 1044
1609.	[bug]		fdupont
	Fixed the implementation of authentication keys in DHCPv6
	host reservations. Please note this includes a PostgreSQL
	schema update.
1045
	(Gitlab #550,!297, git f45511f0445cd4204671771175f7f0d34df54b0e)
1046

1047 1048 1049 1050
1608.	[bug]		fdupont
	Missing debug DHCP6_PACKET_SEND logging message was added.
	(Gitlab #699,!401, git ac96edbe30be5c93f5e3d2512961f1bc99c3253a)

1051 1052 1053 1054 1055
1607.	[bug]		tmark
	Corrected an initialization issue which caused lease sanity
	checking to be enabled inside the Lease File Cleanup (LFC)
	process.  The LFC cannot meaningfully perform sanity checking
	as it does not have access to the full server configuration.
1056
	(Gitlab #686,!403 git 68b2cb0385779ef0c520164e418dee124d7cb364)
1057

1058 1059 1060 1061
1606.	[bug]		tmark
	Corrected an error with retrieving DHCPv6 leases, whose IAID
	values are larger than int32_t max, from Postgresql lease
	databases.
1062
	(Gitlab #651,!384, git 67e047df61d56558d474514a21ed0db96152557a)
1063

1064 1065 1066 1067 1068 1069 1070
1605.	[func]		marcin
	Extended mysql_cb hooks library to support new API calls for
	managing the DHCP servers in the database. In addition, added
	support for associating the global parameters with the server
	tags.
	(Gitlab #642,!373, git 8ca1021809a6c44cf8a6589a959e94ca9ca76c29)

1071 1072 1073 1074 1075
1604.	[bug]		fdupont
	Improved configuration failure messages when the problem is
	from the configuration backend and not the configuration file.
	(Gitlab #616,!379, git 637e9f03cc502068822ab0310f2e070d4a4da339)

1076
1603.	[perf]		tmark
1077 1078 1079 1080
	High Availability now registers its HTTP sockets with Interface
	Manager's main thread allowing the thread can monitor them for
	IO readiness. This should improve the responsiveness of HA peers
	to each other.
1081
	(Gitlab #691,!395, git 4a0b024bc6d83b26fe702d95ee7ce0c914b37d8e)
1082

1083 1084 1085 1086
1602.	[func]		fdupont
	Added more information to sanity-checker log messages.
	(Gitlab #685,!392, git 5367cd1196662739bbff5e99072ab6a55cfb0489)

1087 1088 1089 1090 1091
1601.	[func]		fdupont
	Kea servers now add the lease validity lifetime to informational
	lease allocation log messages.
	(Gitlan #694,!399, git cb29b532cf1f8790f9752d7e8253b0aa31ce05e6)

1092 1093 1094 1095
1600.	[bug]		fdupont
	Fixed prefixLengthFromRange() routine.
	(Gitlab #583.!377, git 10bd31217d8a0a77345c4cba7a59314f70c1b509)

1096 1097 1098 1099 1100 1101 1102
1599.	[perf]		marcin
	Improved performance of the DHCPv6 server running with High
	Availability by aggregating multiple lease updates in a single
	lease6-bulk-apply command instead of generating multiple
	lease6-update commands, one for each allocated lease.
	(Gitlab #689,!394, git 65021b840b94da3d118e541fba5469c8ed15175b)

1103 1104 1105 1106 1107
1598.	[bug]		razvan
	Added unittests for long (> 65536 chars) tokens in parsed configs
	so any crash related to parsers could be detected.
	(Gitlab #604,!376, git 811735b67fcdb5592c3e020792c154f2f454259c)

1108
1597.	[func]		fdupont
1109
	Added new configuration parameters for handling user lease
1110
	time hints to kea-dhcp4: min-valid-lifetime and max-valid-lifetime;
1111
	and to kea-dhcp6: min-preferred-lifetime, max-preferred-lifetime,
1112 1113 1114
	min-valid-lifetime, and max-valid-lifetime.
	(Gitlab #295,!325, git 8641448c4106bf28ea32df72e5e0ad520d3946ae)

1115 1116 1117 1118 1119
1596.	[func]		marcin
	Implemented lease6-bulk-apply command in the lease_cmds hooks
	library.
	(Gitlab #683,!390, git 122473c18b632ddfa22b8a48f6d9399bc18e2598)

1120 1121
1595.	[func]		fdupont
	Removed unused t1_ and t2_ members from internal lease class.
1122
	(Gitlab #567,!357, git 6072db5f4ca6cfa9573152c255f97dd170acbd57)
1123

1124 1125 1126 1127 1128 1129 1130 1131 1132 1133
1594.	[bug]		fdupont
	Kea no longer uses the .../var/kea directory, for instance pid
	files are now in .../var/run/kea.
	BEWARE this applies to the kea-dhcp6-serverid file so if the
	server will not find the file at its new location it will believe
	it is the first time it is being started and will generate a new
	server DUID.  If that happens, clients will keep trying to get to
	the old server and be confused.
	(Gitlab #538,!334, git 928b9ae57452aae1dff92ad689ba180fa975381c)

1134 1135 1136 1137 1138 1139
1593.	[bug]		marcin
	Fixed a bug in the Kea Control Agent which caused a sporadic crash
	after a tiemout while sending the HTTP response to the controlling
	client.
	(Gitlab #491,!363, git ff204dfe4dd80702f8bb2edf83f8486e019a7e04)

1140 1141 1142
1592.	[build]		tmark
	Files related to YANG and netconf are now only installed
	when the build is configured with --with-syspro.
1143
	(Gitlab #584,!364, git 350ae513ed4e8e8e07b159658f88ec7d70b644d3)
1144

1145 1146 1147 1148
1591.	[doc]		razvan
	Fixed classify and pd-exclude documentation examples.
	(Gitlab #590,!380, git 26b04d2d2d2a88be6abc5879a2fb48e05f0003fd)

1149 1150 1151 1152 1153 1154
1590.	[func]		fdupont
	It is now possible to specify hostname-char-set and
	hostname-char-replacement at the global scope allowing to sanitize
	host names without requiring a dhcp-ddns entry.
	(Gitlab #540,!374, git 0a5979369902070ee0c4faf3b713627455b99489)

1155 1156 1157 1158 1159
1589.	[bug]		razvan
	Fixed configuring kea with tools/cql_config when using --with-cql
	from source.
	(Gitlab #522,!261, git bf7debc182e094a8b34f1f2df99cf4e9f84c8906)

1160 1161 1162 1163 1164
1588.	[func]		marcin
	Extended APIs of the DHCPv4 and DHCPv6 configuration backends with
	the management functions for the server tags.
	(Gitlab #641,!352, git 022d2266e71ced7ec79e0717298ca8e88330a7e7)

1165
1587.	[bug]		razvan
1166 1167
	Fixed IPv6 prefix delegation pools retrieval from the MySQL
	Configuration Backend.
1168 1169
	(Gitlab #637,!349, git 483273734e8608ed68624d7a868f20672c859c95)

1170
Kea 1.6.0-beta (development) released on May 29, 2019
1171

1172
1586.	[build]		razvan, marcin
1173 1174
	Bumped up libraries version numbers for Kea 1.6.0 beta release.
	(Gitlab #617,!340, git c0434bf882b6ec483120e39f6b70b5a40fe7c711)
1175

1176
1585.	[bug, func]	marcin
1177 1178 1179
	MySQL Configuration Backend supports DHCPv6 interface-id parameter.
	(Gitlab #628,!341, git 3a07c636ba4c7fceabe59ec597c44a9c8e3367eb)

1180 1181 1182 1183 1184
1584.	[doc]		marcin
	Documented Kea Configuration Backend in the Kea Administrator
	Reference Manual.
	(Gitlab #71,!314, git 3a65b7a9104f2a988dacf1acc26312b4259e958d)

1185 1186 1187 1188 1189 1190
1583.	[bug]		fdupont, marcin
	Corrected a bug which caused failures to merge a subnet from the
	Configuration Backend into the DHCP server's configuration
	when subnet identifier was modified.
	(Gitlab #492,!252, git c9aba2b5e915c27a8539e6b8f0498179ba896da4)

1191 1192 1193
1582.	[bug]		tmark
	Input values for DHCPv4 and DHCPv6 options of type 'string'
	will now be trimmed of any trailing null bytes (0x0).
1194
	(Gitlab #539, !330, git b126558e9e39e9bff517dceac25a00e96d150085)
1195

1196

1197 1198 1199 1200 1201 1202
1581.	[bug]		marcin
	Corrected a bug whereby the DHCPv6 server did not take into
	account a relay address specified at the shared network level
	during the subnet selection.
	(Gitlab #620,!332, git c2383e404a5227f6b55655c09ccdc03930815500)

Tomek Mrugalski's avatar
Tomek Mrugalski committed
1203 1204 1205 1206 1207
1580.	[bug]		jonatan.raudsepp
	Compilation fix for Alpine linux in Perfdhcp code. Thanks to
	Jonatan Raudsepp for sending a patch!
	(Gitlab #624,!337, git 19321df9e4490b75ac7b322afec9d231bcb6ffe3)

1208
1579.	[bug]		razvan
1209 1210
	Fixed a bug which caused setting dhcp4o6-port to not function via
	Kea configuration backend.
Tomek Mrugalski's avatar
Tomek Mrugalski committed
1211
	(Gitlab #577,!331, git 98c24fe1873795bbc94d426c54c588b05d79406f)
1212

1213 1214 1215 1216 1217 1218 1219 1220
1578.	[func]		fdupont
	The configuration syntax has changed. The Logging scope that used
	to be shared between all servers has been deprecated. Each daemon
	is supposed to define its own loggers using 'loggers' array. The
	old configuration syntax is still accepted, but is considered
	deprecated.  Kea 1.6 will accept it, but that capability will be
	removed in the future. Please migrate your configuration to new
	syntax.
Francis Dupont's avatar
Francis Dupont committed
1221
	(Gitlab #208,!196, git 37b8ec6c2c4b64681059f8fad26d112adbb7ee2b)
1222

Razvan Becheriu's avatar
Razvan Becheriu committed
1223 1224
1577.	[func]		razvan
	Implemented host reservations page retrieval for Cassandra.
Razvan Becheriu's avatar
Razvan Becheriu committed
1225
	(Gitlab #511,!278, git 152e82b49f5e5abd9d3a2a4825ed8620973f5ef1)
Razvan Becheriu's avatar
Razvan Becheriu committed
1226

1227 1228 1229 1230
1576.	[doc]		fdupont
	New commands cache-get-by-id and cache-size are now documented.
	(Gitlab #594,!324, git 3753008cc77f71457b5d777560d8e36dc56e7acd)

Razvan Becheriu's avatar
Razvan Becheriu committed
1231 1232 1233
1575.	[bug]		razvan
	Fixed issue with keactrl logging error when trying to stop running
	services.
Razvan Becheriu's avatar
Razvan Becheriu committed
1234
	(Gitlab #534,!327, git 6ddee0a93ec4ad692cc385150c159d9e8da5232d)
Razvan Becheriu's avatar
Razvan Becheriu committed
1235

Razvan Becheriu's avatar
Razvan Becheriu committed
1236 1237 1238 1239
1574.	[bug]		razvan
	Add logging to the MySQL config backend.
	(Gitlab #398,!315, git bc46fd3420afdf60ae8841866e8458f7f6e072e8)

Razvan Becheriu's avatar
Razvan Becheriu committed
1240 1241 1242 1243
1573.	[bug]		razvan
	Fixed build sysrepo from sources using sysrepo_config.
	(Gitlab #523,!262, git b86864a9b058a18eaaded2273dc5f40a9ec97c78)

1244 1245 1246
1572.	[bug]		tmark
	Corrected an issue where kea-dhcp6 was incorrectly scheduling DNS
	entry removals when renewing leases with generated FQDNs.
1247
	(Gitlab #577,!310, git 362f40bebbdbe083ec6420a43ee1c050edf6bba6)
1248

1249 1250 1251 1252 1253
1571.	[bug]		marcin
	The mysql_cb hooks library registers the MySQL backend for the
	DHCPv6 server.
	(Gitlab #603,!322, git 1ede298fcdc7a9b7018b6e300e2d759e33f73645)

1254 1255 1256 1257 1258
1570.	[bug]		marcin
	Corrected the bug in the Kea HTTP library which could cause a server
	to assert when system clock was modified during the transaction.
	(Gitlab #599,!320, git 958abe5063b6e602c0070e336524e313c3a87671)

1259 1260 1261 1262 1263 1264 1265
1569.	[perf]		fdupont
	Improved performance of the DHCPv4 server in cases when
	match-client-id set disabled by removing unnecessary query to the
	lease database."
	(Gitlab 509,!272, git 2ad41651c1118fe6f7dfb918df0694dd254706f1)

1568.	[bug]		tmark
1266 1267 1268 1269 1270
	kea-dhcp6 now properly skips sanity checking prefix leases.
	Prior to this it was incorrectly subjecting them to sanity
	checks during memfile lease file reloads and then flagging
	the leases as incorrect.
	(Gitlab #591,!#313, git 12262c5df19673652be73cf1dd62d07527bee95d)
1271

1272 1273 1274 1275 1276 1277 1278 1279
1567.	[bug]		marcin
	Kea HTTP client now always includes Host header in all HTTP requests.
	The Host header is required in all HTTP/1.1 requests. This corrects
	the problem whereby HA peers were unable to communicate via reverse
	HTTP proxy because the proxy was responding with Bad Request status
	when no Host header was included.
	(Gitlab #360,!305, git ddb6dbf4cf63e98d3954c5d46e0311abc4fd6cfc)

1280 1281
1566.	[func]		tmark
	kea-dhcp6 can now be configured to calculate values to
1282
	send to clients for T1 and T2 times. Prior to this
1283
	it was only possibly to specify explicit values.
Thomas Markwalder's avatar
Thomas Markwalder committed
1284
	(Gitlab #365,!296, git 144b83a84c836d6ff17620b35cb74f830b13c2eb)