ChangeLog 277 KB
Newer Older
1
2
1048.	[func]		fdupont,tomek
	Implement expression parser for client classification.
Francis Dupont's avatar
Francis Dupont committed
3
	(Trac #4088, git ac9eb312bfd1c6bf22a868ad789a0c049f33f637)
4

5
6
7
8
9
10
1047.	[func]*		stephen
	Change the way that hooks libraries are defined in the configuration
	file in preparation for allowing the specification of library-specific
	parameters in a future version of Kea.
	(Trac #3259, git b2986b0b0299e691b13123922129bdbf8575afdb)

11
12
13
14
15
16
1046.	[func]		tmark
	Upon startup Kea servers will now detect memfile lease files
	that need upgrading, and will launch in instance of the LFC
	to convert them to the most current memfile schema version.
	(Trac #3601, git ce4b0e42e8a01bbf3b58fdb1f505bbd6e2fad134)

17
18
19
20
1045.	[func]		tmark
	Added classes for storing client class definitions to libdhcpsrv.
	(Trac #4095, git 1039a942450e2a45a1e1aa9924cae4fdbd1541fe)

21
22
23
1044.	[build]		fdupont
	With the addition of a background thread for timeouts, ensure that
	the configuration and process spawning code are thread safe.
24
	(Trac #4060, git 4c130bd7c8d0eb97966e9821bab491bca5321b6c)
25

26
27
1043.	[func]		fdupont
	Implemented support for hex strings in client classification.
Francis Dupont's avatar
Francis Dupont committed
28
	(Trac #4091, git 406153af95404adb96296df09ec6033b484586e3)
29

30
31
32
1042.	[doc]		fdupont
	User Guide: parameters having default values may be omitted in the
	option definitions.
Francis Dupont's avatar
Francis Dupont committed
33
	(Trac #3927, git c7460e849258ec77cf1215a2baf840d98f1ab77b)
34

Tomek Mrugalski's avatar
Tomek Mrugalski committed
35
36
37
38
39
40
1041.	[func]		tomek
	A new library, libkea-eval has been edded. It is not functional
	yet, but its purpose is to provide a generic expression
	evaluations that will be used in the upcoming client classification.
	(Trac #4081, git 28d818a26a5d128e8a51d62b68c0cc817e6e2415)

41
42
43
44
45
1040.	[func]		tmark
	When kea servers lose connectivity with MySQL or PostgreSQL backends
	they will log an error message and exit with an exit value of 255.
	(Trac #3780, git cf94e99698e1d8a1613026bda5e4fc9bb4a68d74)

46
47
48
49
50
1039.	[doc]		marcin
	Configuration parameters pertaining to processing expired
	leases by the DHCPv4 and DHCPv6 server have been documented.
	(Trac #3979, git a2ee99ba313e54a9dcf8a09ed118dbfe612e3d55)

51
52
53
54
55
1038.	[func]*		marcin
	DHCPv4 and DHCPv6 servers reclaim expired leases before they
	are re-assigned.
	(Trac #3977, git 5880e706cb27c19b1b70296ccd8d96e38e82027b)

56
57
58
1037.	[func]		fdupont
	Added a new 'leases-reclaim' command which reclaims expired leases
	immediately.
Francis Dupont's avatar
Francis Dupont committed
59
	(Trac #3978, git 9d5716e5bd6b151d90591f8497bae689321875c2)
60

61
62
63
64
65
66
1036.	[func]		tmark
	kea-admin now supports upgrading from Postgres schema version
	1.0 to 2.0.  Schema 2.0 includes support for lease expiration
	and reclaimation.
	(Trac #3969, git 8fde70c1b63b5a2646688290b1d0cf53f4c964ad)

67
68
69
1035.	[doc]		fdupont
	Modified documentation of DHCP options to show internal format
	of records.
Francis Dupont's avatar
Francis Dupont committed
70
	(Trac #4071, git c5cffe74ac1bd38e4870ff1c22c36febb46e8c27))
71

72
73
1034.	[func]		fdupont
	Add support for DHCPv4 subnet selection option.
Francis Dupont's avatar
Francis Dupont committed
74
	(Trac #4058, git b7072884e8ce74dc64cd74e101d81e5c0763f492)
75

76
77
78
79
1033.	[bug]		stephen
	Updated OutputBuffer class to address warnings from Coverity.
	(Trac #3443, git 4bf0a14aa7a1303ed6959127c5354687e9f222ba)

80
81
82
83
84
85
1032.	[func]		marcin
	PostgreSQL lease database backend has been extended with new
	functions to obtain expired leases and to delete expired
	reclaimed leases.
	(Trac #3968, git 0bc02588d8553ba9a4fc749115a3e370407d7287)

86
87
1031.	[build]		fdupont
	Rewrote the system_messages tool from Python to C++.
88
	(Trac #3516, git a8195310c641027d1822344cafad64e6f695d614)
89

90
91
92
1030.	[bug]		marcin
	Fixed failing 'reclaimExpiredLeasesTimeout' unit tests on
	some virtual machines.
93
	(Trac #4075, git c3a2487f53ecf69edc0a38f574fce17c4332162c)
94

95
96
97
98
99
100
1029.	[func]		tomek
	A new hook point lease6_decline has been added. It is called when
	the DHCPv6 server is about to decline a lease as a result of
	processing incoming DECLINE message.
	(Trac #3986, git b6e3f1bbe3595aeba769d627d571e2eeee38a397)

101
102
103
104
105
1028.	[func]		marcin
	Expired leases are processed periodically according to the
	server configuration.
	(Trac #3975, git 3bd8891c0b9cb7dc504fa69251610996775cefbf)

106
107
108
109
110
1027.	[func]		tomek
	Expired declined IPv6 leases can now be reclaimed (returned to the
	available pool) after probation	period elapses.
	(Trac #3985, git 9aadfa902d898ce1f52b773152a5b34519a9a9fe)

111
112
113
114
115
1026.	[doc]		stephen
	Added documentation for the kea-dhcp4.commands and
	kea-dhcp6.commands loggers.
	(Trac #3952, git 3eb5d3185683e05494c1d84ed7195627fce4b6c1)

116
117
118
119
120
121
1025.	[func]		tomek
	A new hook point lease4_decline has been added. It is called when
	the DHCPv4 server is about to decline a lease as a result of
	processing incoming DHCPDECLINE message.
	(Trac #3986, git 39bde93fe25e4aff52623d4df7fd55c64e0a9c21)

122
123
124
125
126
1024.	[func]*		tomek
	Boolean Skip flag in Hooks API has been replaced by enum status.
	This is backward incompatible change if you developed hook
	library that takes advantage of the skip flag. See Hooks
	Developer Guide for easy steps necessary for migration.
127
	(Trac #3499, git 99ca398d4d042a098b5c491368733220db8cdd08)
128

129
130
1023.	[func]		tmark
	kea-admin now supports upgrading from MySQL schema version 3.0
131
	to 4.0.  In addition, the lease6 data dump now contains the
132
133
134
135
	text label for lease_hwaddr_source column rather than its
	numeric value.
	(Trac #3967, git 2e13ac3b0b278faabe338b00ffee8259c13f5342)

136
137
138
139
140
1022.	[func]		fdupont
	Added support for the V4 link selection sub-option (RFC 3527).  If
	present in an incoming packet, the server will allocate an address
	in the subnet identified in the option. If this is impossible, no
	address will be allocated and the request refused.
Francis Dupont's avatar
Francis Dupont committed
141
	(Trac #4057, git 8c02cec5ec8e311a9d23fd582d8e9e8647667abb)
142

Stephen Morris's avatar
Stephen Morris committed
143
144
145
146
147
1021.	[bug]		stephen
	Added missing address parameter to ALLOC_ENGINE_V4_REQUEST_OUT_OF_POOL
	message.
	(Trac #3996, git 680233550747209a1707e8f920179479b980aa2a)

148
149
150
1020.	[func]		kalmus
	A general purpose base class for MySQL connection has been
	implemented.
Stephen Morris's avatar
Stephen Morris committed
151
	(Trac #3681, git 884d8bb4a55d3d7b1b8f3f01efb312bd8dec399b)
152

153
154
155
156
157
1019.	[func]		marcin
	Added new configuration parameters controlling processing of the
	expired leases in the DHCPv4 and DHCPv6 server.
	(Trac #3974, git c998d36c40cc46ffe9f888e615bbcfa0a311d40d)

158
1018.   [func]		sar
159
160
161
	Added support for several options for use by PXE.
	From RFC4578 (for DHCPv4) these are: 93 - client-system,
	94 - client-ndi, 97 - uuid-guid.
162
	From RFC5970 (for DHCPv6) these are: 59 - bootfile-url,
163
	60 - bootfile-param, 61 - client-arch-type, 62 - nii.
164
	(Trac #3576, git fdcc73afe7e26bd427817fd771567b1c44713b06)
165

166
167
168
169
170
171
172
1017.	[func]		tmark
	Lease dump SQL logic, used by kea-admin, is now supplied via stored
	procedures rather than external text files.  Files of the form
	lease_dump_<version>.sh will no longer be installed under
	<prefix>/share/kea/scripts.
	(Trac #3916, git 09cdd86a5e284250d7657a93a36df2e2705947d2)

173
174
175
176
177
178
179
1016.	[bug]		fdupont
	Fixed problems when --enable-static-link is specified as a
	"configure" option. With this switch present, all Kea
	executables (servers, tools, unit tests, etc) are linked
	to the static (vs. shared) version of Kea libraries.
	However, note that they can still be linked to dynamic
	system libraries.
Francis Dupont's avatar
Francis Dupont committed
180
	(Trac #4004, git 760a343efbd241f5ed333cfff088124378f69115)
181

182
183
184
185
186
1015.	[func]		tomek
	Expired declined leases can now be reclaimed (returned to the
	available pool) after probation	period elapses.
	(Trac #3984, #3976, git 32a8ec68e0e5ea93991915812158d7628d2b4709)

187
188
189
190
1014.	[func]		marcin
	Implemented lease4_expire and lease6_expire hooks in libdhcpsrv.
	(Trac #3972, git 8a8547aec1caf2a8d1c7ca206f68534f3c03f1d9)

191
192
193
194
195
1013.	[func]		marcin
	New mechanism for scheduling lease file cleanup is used in the
	DHCPv4 and DHCPv6 servers.
	(Trac #3971, git 431d515fc3d64aa82369c8eaf48d03339f12dc69)

Stephen Morris's avatar
Stephen Morris committed
196
197
198
199
200
201
1012.	[bug]		stephen
	Replace #include of message_dictionary.h in message_initializer.h
	with a declaration of the MessageDictionary class, avoing the need
	to include message_dictionary.h in the set of header files installed.
	(Trac #4046, git 9f1801b4326f62632a7c9f0aa939d58f120c10e8)

202
203
204
205
206
1011.	[func]		fdupont
	Added definitions and tests for the options from secure DHCPv6.
	This protocol is still experimental. The option and other protocol
	codes are for testing, they will be updated when IANA assigns
	official values.
Francis Dupont's avatar
Francis Dupont committed
207
	(Trac #4015, git 95f8c0d0af45807c1f303b9bbbb08f82b3bfc343)
208

209
210
211
212
213
1010.	[bug]		tmark
	Fixed test failures occuring for some tests after
	IfaceMgr::closeSockets was called.
	(Trac #4067, git 9161867dc6a354659ae8b5115ee437ec76c1771e)

Francis Dupont's avatar
Francis Dupont committed
214
215
216
217
218
1009.	[bug]		fdupont
	Now libutil blocks all signals when creating a new thread
	(so signals are delivered only to the main thread).
	(Trac #4065, git a4a8e422e613e4378f0a0641e4c480b73d67ebeb)

219
220
221
222
223
224
1008.	[build]		fdupont
	Removed the included header-only ASIO code.  Kea is now built
	against the installed copy of Boost.  The build by default
	attempts to use the header-only error code (ASIO dependency), but
	may also use the version in the boost system library.  The
	location of this library can be specified.
Francis Dupont's avatar
Francis Dupont committed
225
	(Trac #4009, git 8c293bc0d1804a512964621f114e64fcba0abcb9)
226

227
228
229
230
231
232
233
1007.	[func]		tomek
	DECLINE message in DHCPv6 is now supported. The server is able
	to receive it, check its correctness and move the lease to
	DECLINED state. Currently there is no way to recover the lease
	before 'decline-probation-period' time.
	(Trac #3982, git 11e2c4366d8624601172c01e95cff6a8b95833b3)

234
235
236
237
1006.	[bug]		marcin
	Fixed issues with threads concurrency in the TimerMgr.
	(Trac #4047, git 48297af6e0443808a482536b61436a42bc6a5b38)

238
239
240
241
242
243
244
1005.	[func]		tomek
	DHCPDECLINE message in DHCPv4 is now supported. The server is able
	to receive it, check its correctness and move the lease to
	DECLINED state. Currently there is no way to recover the lease
	before 'decline-probation-period' time.
	(Trac #3981, git c14a63c0d3a56ea3e880e874f854adc0077de75e)

245
246
247
248
1004.	[bug]		fdupont
	Incoming Confirm, Rebind and Information-Request messages are
	now more thoroughly checked against presence of client-id
	and server-id options.
Francis Dupont's avatar
Francis Dupont committed
249
	(Trac #3773, git fd2889b9de45e2822b6713663bee06b75259c6dc)
250

251
252
253
254
1003.	[build]		fdupont
	Updated Makefiles to ensure that all required dynamic libraries
	are included in the link command line as some systems are unable
	handle implied library dependencies.
Francis Dupont's avatar
Francis Dupont committed
255
	(Trac #3911, git 4d13f5234da33df03c0989829a0e1c1056e53a4e)
256

257
258
259
260
261
262
1002.	[func]		marcin
	MySQL lease database backend has been extended with new
	functions to obtain expired leases and to delete expired
	reclaimed leases.
	(Trac #3966, git 419832a6279c70b5db04b1cab10737e31f2c99f9)

263
264
265
266
267
268
269
1001.	[build]		fdupont
	Fixed critical C++ issues in the Kea code. This does not cover
	auto_ptr warnings (just ignore them) or the gtest 1.7.0 bug with
	EXPECT_TRUE() and ASSERT_TRUE() macros (we recommend to download
	last subversion souces at http://googletest.googlecode.com/svn/trunk
	and use the --with-gtest-source configuration argument when
	you'd like to build unit tests).
Francis Dupont's avatar
Francis Dupont committed
270
	(Trac #4024, git 55afd98fead0c16bb81107dfc1a5f49a5e295aa6)
271

272
273
274
275
276
1000.	[func]		marcin
	Implemented Timer Manager which holds the pool of interval
	timers used by the DHCP servers.
	(Trac #3970, git bc8503055338da36d07a2b67c64087f645c9a9e3)

277
999.	[func]*		tmark
278
279
280
281
282
	The DHCPv4 server will now honor DHCPRELEASEs for leased addresses
	which cannot be matched to subnet.  This allows leases to be
	released after configuration changes have eliminated their subnet.
	Prior to this the server would reject the release and emit a
	DHCP4_RELEASE_FAIL_NO_SUBNET log message.
283
284
	(Trac #2615, git eeebf9f68cf5be6a0f7eefc78832d664361c4990)

285
286
287
288
289
290
998.	[func]		tomek
	'decline-probation-period' parameter has been added to DHCPv4
	and DHCPv6 configuration. It can be configured, but is not yet
	used, as the DECLINE message support is still pending implementation.
	(Trac #3983, git 6b10d119c89685476335f268181c9982f6fa6161)

Jeremy C. Reed's avatar
Jeremy C. Reed committed
291
292
293
294
997.	[build]		jreed
	Removed obsolete Python coverage build options.
	(Trac #3483, git a08cbbecbd3b11d0b73f68a40986a353b22ed3be)

295
296
297
298
299
300
996.	[func]		marcin
	Memfile lease database backend has been extended with new
	functions to obtain expired leases and to delete expired
	reclaimed leases.
	(Trac #3965, git dd5b95453528416f22e961e6ebb3051bc2ae788c)

301
302
303
995.	[build]		fdupont
	Removed additional files left over from BIND 10 (headers,
	src/lib/{asiodns,testutils,asiolink}).
Francis Dupont's avatar
Francis Dupont committed
304
	(Trac #40{28,29,31}, git 78ff0fb0a97731a8b3c055b1cbb4faebcd115f7c)
305

306
307
308
309
994.	[func]*		marcin
	DHCPv6 server fully supports RFC 7550.
	(Trac #3947, git c06ab97a4e068c4b4b11f4685c56dd402b2385dc)

310
311
312
993.	[bug]		fdupont
	The logging spec file was searched in the build tree when it
	was in the source tree so distcheck (where they differ) failed.
Francis Dupont's avatar
Francis Dupont committed
313
	(Trac #4026, git 5eb213647d7ac0a707530d57af2c6dbd725ac1b3)
314

315
316
317
318
992.	[func]		fdupont
	A 'flush' parameter has been added to logging configuration. It is
	now possible to disable automatic immediate flushing to achieve
	better logging performance.
Francis Dupont's avatar
Francis Dupont committed
319
	(Trac #3752, git 16c4c2b6d95c45864ec3e2b27e0d320e386b2c0b)
320

321
322
323
324
991.	[build]		fdupont
	Removed partial function template ordering macros to allow Kea to
	build with Boost 1.59 and later.  Also removed some
	compiler-dependent code.
Francis Dupont's avatar
Francis Dupont committed
325
	(Trac #4006, git e06934f211436eea37439128ff6f388709f01101)
326

327
328
329
330
331
990.	[bug]		tomek
	Improved child process signal handling. Improved number of
	exception handling routines in DHCPv4 and DHCPv6.
	(Trac #4000, git bf5e48f2cf80b5263cc89f445795bc8c5b8f011d)

332
333
Kea 0.9.2 released on July 28, 2015

334
335
336
337
338
989.	[bug]		tmark
	Fixed a bug in both DHCPv4 and DHCPv6 servers that could cause
	them to crash during sever shutdown when DNS updates are enabled.
	(Trac #3997, git ce91bdd78f420f64324c573a952ec804bc25e0d8)

339
340
341
342
343
988.	[bug]		fdupont
	keactrl no longer returns an error when the "status" command is
	issued and the Kea configuration file doesn't exist.
	(Trac #3785, git a27d72ef3cb7640a41dca26c8728a9cbd9ad1ca9)

344
345
346
347
348
987.	[bug]		marcin
	Fixed textual representation of the options containing an array
	of 1 byte long unsigned numbers.
	(Trac #3959, git 9045fd9d6d282184cce10a622c0108abab029d5b)

349
350
351
352
353
986.	[bug]		marcin
	Fixed the failing lease allocation from the large address and
	prefix pools.
	(Trac #3958, git c86b6a68725e2f57679598ff4890fc82f4482c20)

354
355
356
357
358
359
985.	[bug]		marcin
	Eliminated extraneous debug-level DHCP6_RESPONSE_DATA entry from the
	DHCPv6 server log output.  Prior to this the server was logging
	each response twice.
	(Trac #3949, git 023973cbce44e5fb92a2bc45e69f2786d5152091)

360
984.	[bug]		tmark
361
	Replaced used of "kill -0" with "ps -p" in keactrl when
362
363
364
365
	checking of servers are alive.  This makes it possible for
	non-root users to use keactrl to monitor server status.
	(Trac #3954, git f7f22b244343a3dc2d06645a47c2c65a5134326e)

366
367
983.	[bug]		fdupont
	Enforce numeric month values in Posix date printing.
Francis Dupont's avatar
Francis Dupont committed
368
	(Trac #3944, git fdbe74b0235055057a37c6ce2b0aaf88f0cc7891)
369

370
371
372
373
982.	[bug]		marcin
	Fixed the typo in the name of the D2 logger.
	(Trac #3951, git 92305b2a1774df1cf1bdfeb93d787fea0ab27f74)

374
375
376
981.	[bug]		tmark
	keactrl now uses PID files to identify and control server instances.
	Prior to this it relied on the system command, "ps", which could lead
377
	to it misinterpreting which processes are or are not running.
378
379
	(Trac #3939, git 93a720ed7ffdffe66bd835cd64f78e4ad601637a)

380
381
382
383
980.	[doc]		marcin
	Updated Developer's Guide.
	(Trac #3484, git 220c337c31a592311363eca981c7f1578abbe15d)

384
385
386
979.	[bug]		fdupont
	Fixed two cases of public variables in a base class being
	hidden by variables in a derived class.
Francis Dupont's avatar
Francis Dupont committed
387
	(Trac #3920, git bd42a66fb67aab3fe397523c6fdbf14a939587c8)
388

389
390
391
392
393
394
395
396
978.	[func]		tmark
	DHCPv4, DHCPv6, and DHCP_DDNS now all create PID files upon
	startup.  The PID file pathname is formed from:
		<localstatedir>/<conf name>.<binary-name>.pid
	If a server's PID file exists and contains the PID of a
	live process, it will emit a log message and exit.
	(Trac #3769, git cdce632add025aaadbcdc89078f5bd3e19cfb5ca)

397
398
399
400
977.	[doc]		tomek
	Frequently Asked Questions section added to the Kea User's Guide.
	(Trac #3873, #3847, git 95683c9d3c3dd7024269df1904b6cbe5817741a2)

401
402
403
404
976.	[build]		tomek
	Included missing Doxygen documentation images in the tarball.
	(Trac #3928, git 2fb63a18897b93b12a5fc4635d4ac29e0bf82841)

405
406
407
408
409
410
975.	[doc]		marcin
	Updated the list of standard DHCPv4 options in the User's Guide
	with the information of whether they are returned by the server
	even when they are not requested.
	(Trac #3578, git b361b28ce53729a5f2d59f79670a36cf1a4a0352)

411
412
413
414
415
416
974.	[bug]*		marcin
	Corrected invalid format of the DHCPv4 option 5 (name-servers).
	The corrected format comprises a list of IPv4 addresses,
	rather than a single IPv4 address.
	(Trac #3887, git 54d1dbe6138e74c5efacfbaf85b77c87aea9ddf1)

417
418
419
420
421
422
973.	[doc]		marcin
	Added new section to the User's Guide to describe the issues
	with unicast responses to the DHCPINFORM messages when ARP
	traffic is blocked.
	(Trac #3740, git 22bcb060ceca544dfa1779815321155668bf19dc)

423
424
425
426
427
428
972.	[doc]		marcin
	Updated sections of User's Guide concerning creation of
	the option definitions and Vendor Specific Information
	options for both DHCPv4 and DHCPv6.
	(Trac #3846, git 6aebe0867ca9cf6fb09a289d80051125db7fa34b)

429
430
431
432
433
971.	[func]          fdupont
	Changed all occurrences of unlink() to the more portable remove()
	to avoid problems on operating systems where the former is not
	available.
	(Trac #3841, git 3752529ed3d72137f6899ef8225a0b231db5b1f0)
434

435
436
970.	[bug]		fdupont
	Refactored some code to suppress cppcheck warnings.
Francis Dupont's avatar
Francis Dupont committed
437
	(Trac #3919, git 26be6ac4cefde012ca8ef12607b6beaadca13eed)
438

439
440
Kea 0.9.2-beta released on June 30, 2015

441
442
443
444
445
446
447
969.	[func]		tomek
	KEA_SOCKET_TEST_DIR environment variable can be used to specify
	the directory for opening Unix sockets during tests. That may
	be used to avoid path length limitations when running unit-tests
	in deeply nested directories.
	(Trac #3918, git 9cfd502e8d4605eaf34f8744f90272dc3e8a3e34)

448
449
450
451
452
453
454
968.	[bug]           marcin
	DHCPv6 server extends the lifetime of the client's lease
	in the database when the client sends the Request message.
	This prevents premature lease expiration before the client
	renews the lease, according to the timers and lifetimes
	returned by the server.
	(Trac #3913, git 1d64829a3f1a8288dc833ed388d9ffc9fe4cf491)
455

Tomek Mrugalski's avatar
Tomek Mrugalski committed
456
457
458
459
460
967.	[doc]		tomek
	Management API section added in the DHCPv6 chapter of the Kea
	User's Guide
	(Trac #3917, git 21305d2da26090e3fad1ff9fb242a2bbb6b7e56b)

461
462
966.	[func]		fdupont
	Include database software details in extended version information.
Francis Dupont's avatar
Francis Dupont committed
463
	(Trac #3882, git b0e166c4d8b0383ebd6e2f51d55eed68a2bcafa8)
464

465
965.	[func]		sar
466
	Per IPv6 subnet statistics (subnet[id].assigned-nas,
467
468
	subnet[id].total-nas, subnet[id].assigned-pds, and
	subnet[id].total-pds) has been implemented.
469
	(Trac #3799, git 4aa4808268bbc54290578f60ba60ed33cf344712)
470

Tomek Mrugalski's avatar
Tomek Mrugalski committed
471
472
473
474
475
476
477
964.	[doc]		tomek
	User's Guide and Developer's Guide updated with statistics and
	control channel description.
	(Trac #3800, git 7ce8ca560370ec5f9bd4d5199a177b441f08a47e)

963.    [func]		tmark
	DHCPv6 server now supports a control channel, implemented over
478
479
480
481
482
	a UNIX socket. Currently supported commands are: statistic-get,
	statistic-reset, statistic-remove, statistic-get-all,
	statistic-reset-all, statistic-remove-all, and shutdown.
	(Trac #3797, git f49828612d9030c9f3441acaf4b3a9f60b492a3e)

483
484
485
486
962.	[func]		fdupont
	Make the parsing of options and vendor options more consistent
	between v4 and v6. In addition make the parsing more robust
	against malformed packets.
Francis Dupont's avatar
Francis Dupont committed
487
	(Trac #3618, git f4066793c5e034386c689fd72d2a91a70ffb6d5f)
488

489
490
491
492
961.	[func]		fdupont
	Improved error messages when handling invalid or malformed
	configuration file. File and line number are printed, when
	available.
Francis Dupont's avatar
Francis Dupont committed
493
	(Trac #3697, git 70fc36e164e988c251bdaaee7e27c5f6407e0f4c)
494

495
960.	[build]		fdupont
Francis Dupont's avatar
Francis Dupont committed
496
497
	Get rid of the last bundy pieces of code.
	(Trac #3732, git 6b7da42f902fabb6855e54a19ea472c18ba82a93)
498

Francis Dupont's avatar
Francis Dupont committed
499
500
501
502
959.	[build]		fdupont
	Removed no longer used logging in cc and config libraries.
	(Trac #3732, git 8d0324f4786900db953489ebaa9e018b1238543f)

503
504
505
506
507
958.	[func]		tomek
	DHCPv4 server now supports control channel, implemented over UNIX
	socket. Currently supported commands are: statistic-get,
	statistic-reset, statistic-remove, statistic-get-all,
	statistic-reset-all, statistic-remove-all, shutdown.
Tomek Mrugalski's avatar
Tomek Mrugalski committed
508
	(Trac #3880, git 688658395518f0b97d5384af81ceab5206691ad5)
509

Tomek Mrugalski's avatar
Tomek Mrugalski committed
510
511
512
513
514
957.	[func]		tomek
	Per IPv4 subnet statistics (subnet[id].assigned-addresses and
	subnet[id].total-addresses) has been implemented.
	(Trac #3798, git bab2030f56bbf390959f9f9238a8acc62d583c70)

515
516
517
518
519
956.	[func]		marcin
	Improved log messages emitted by the allocation engine,
	which now uses a dedicated logger.
	(Trac #3852, git 923928774f4f59c887d768cf155b5978e838a6f2)

520
521
522
523
524
525
526
955.	[func]		tmark
	Added unit tests to kea-admin for testing the lease-dump command
	with a PostgreSQL backend. Updated PostgreSQL database installation
	instructions in Kea Administrator's guide to include use of kea-admin
	tool.
	(Trac #3884, git 0772b7df2a89e1019141be1d0ddec30d53c4b919)

527
528
529
530
531
532
533
954.	[func]		fdupont
	Enhance the versioning information printed by the executables and
	make it more consistent across all of the executables. "-v" is for
	basic Kea version information, "-V" provides more detailed
	versioning and versions for external dynamic libraries, finally
	"-W" provides the configure report from the configuration step
	during the build of Kea.
Francis Dupont's avatar
Francis Dupont committed
534
	(Trac #3513, git 584cf666e101c6cb5c9af76175ddd867ece85764)
Francis Dupont's avatar
Francis Dupont committed
535
	(Trac #3859, git 384e6c6225de18fc97d606e4a1972baeef598ba4)
536

537
538
539
953.	[bug]		fdupont
	Corrected the setting of string characters to values above 127
	in HMAC tests.
Francis Dupont's avatar
Francis Dupont committed
540
	(Trac #3829, git 54f4ec64e513fea1547631122dc1af8579fae3db)
541

542
543
544
545
952.	[bug]		fdupont
	Made some loop indexes an unsigned type to avoid compiler warnings
	where the termination condition is comparison with an unsigned
	value.
Francis Dupont's avatar
Francis Dupont committed
546
	(Trac #3833, git 3db9f1d78f59856b982a1ff84c3b5a1ba7ea39df)
547

548
549
951.	[build]		fdupont
	Removed BUNDY configuration backend.
550
	(Trac #3732, git 96364cbbb15318c8f55d5b287cda0990d3eaae32)
551

552
553
554
555
556
557
950.	[doc]		marcin
	Updated section about logging in the User Guide. Also,
	updated Hooks Developer's Guide with the recommendations for
	the developers about use of logging in hooks libraries.
	(Trac #3805, git b403de1f335a2fb5098c9abc0858b8137892f868)

558
559
560
561
562
563
949.	[func]		tmark
	kea-admin now supports dumping MySQL and PostgreSQL lease tables
	to CSV file, via a new command "lease-dump".  This is primarily
	intended for use as a diagnostic tool.
	(Trac #3802, git 6ec774e8523e7f8415d6cd18c34062489e127847)

564
565
566
948.	[bug]		fdupont
	libdhcpsrv: check if new host reservation tries to use an already
	reserved address.
Francis Dupont's avatar
Francis Dupont committed
567
	(Trac #3652, git 4f10b78341b197bd321fbf2ec71db7420e40718d)
568

569
570
571
572
947.	[func]		marcin
	DHCPv6 server now supports Rapid Commit option.
	(Trac #3070, git a6b6156aaa95ab74c69a537e90483f82e9fbe4a2)

573
574
575
576
577
946.	[doc]		tmark
	Added doucmentation for kea-admin "lease-dump" command to the
	Kea Admininstrator's Guide and kea-admin man page.
	(Trac #3803, git 54b59b7ef02f6428405794066ea779e9bd4c0b6e)

578
579
580
581
582
583
584
945.	[func]		marcin
	Improved log messages emitted by the DHCPv6 server. Also,
	the server is now using multiple distinct loggers for logging
	messages pertaining to different functional parts of the
	code, e.g. packet transmission, lease allocation, DDNS etc.
	(Trac #3807, git c95ebdaf39c3d8d78d83d53db15824c60078f566)

585
586
587
588
589
944.    [func]      tmark
	kea-admin commands lease-init, lease-version, and lease-upgrade
	now support PostgreSQL. Note that at this time the PostgreSQL
	backend only supports Kea schema version 1.0, so there are no
	upgrades available.
590
	(Trac #3883, git 990a0d72fa247e4a12e2608994204c48274e4cd6)
591

592
943.	[func]		sar
593
594
595
596
	Split the DHCP-DDNS logging messages amongst several loggers to
	allow the administrator finer control over debugging messages.
	Messages pertaining to the name change requests processing include
	an ID, currently the DHCID, to identify the transactions.
597
	(Trac #3808, git 4fbe08234049de6ef67bb5cdb244d180a7a4c3a9)
598

Tomek Mrugalski's avatar
Tomek Mrugalski committed
599
600
601
602
603
942.	[func]		tomek
	18 new statistics added in DHCPv4 server: generic packet counters,
	per packet type counters, parsing failure and packet drops.
	(Trac #3794, git a61f40c44910a09699a9a566a5ec35ab758564ba)

604
605
606
607
608
941.	[bug]		marcin
	Configuration parser for host reservations returns an error
	when an unsupported parameter is specified.
	(Trac 3810, git 54ee0f6328a303c366dd8239e768dfc4a23a5d9b)

609
610
611
940.	[bug]		fdupont
	DHCPv4 server drops DHCPRELEASE messages sent from a bad
	location (i.e., no subnet can be selected)
Francis Dupont's avatar
Francis Dupont committed
612
	(Trac 3504, git f0f13ac74779f76ed7af91bd5dab3d11ba00be79)
613

614
615
616
617
939.	[bug]		fdupont
	Small fix in HooksDhcpv4SrvTest.subnet4SelectSimple unit-test.
	(Trac 3881, git a21afdffec41fceb61e6760d4108d670b2eabe75)

618
619
620
938.	[build]		fdupont
	Removed Python from the log library (code, message compiler and
	documentation)
Francis Dupont's avatar
Francis Dupont committed
621
	(Trac #3734, git d24b7c9716c6eb7a3e9dd2cb3fd2d1bfe4e1201f)
622

623
624
625
937.	[bug]		fdupont
	The log ID LOG_UNRECOGNISED_DIRECTIVE was changed to
	LOG_UNRECOGNIZED_DIRECTIVE to follow US English spelling.
Francis Dupont's avatar
Francis Dupont committed
626
	(Trac #3762, git 235e3304746352e9341008225f9f2392586a9f66)
627

628
629
630
631
632
936.	[bug]		fdupont
	Added an ASSERT to avoid a crash in HooksDhcpv4SrvTest
	subnet4SelectSimple unit test. Fixed out of bounds vector accesses
	in perfdhcp (which should not be able to handle links
	with long (i.e., more than 6 bytes) link-layer addresses).
Francis Dupont's avatar
Francis Dupont committed
633
	(Trac #3868, git c20f47e19d6060605c0611754db7b66b08553caa)
634

635
636
935.	[bug]		fdupont
	Fixed 3 out of bounds accesses on vectors in DHCP++ code.
Francis Dupont's avatar
Francis Dupont committed
637
	(Trac #3854, git de263ad0008f3494a85592f78db1ec662b68e689)
638

639
640
641
642
934.	[bug]		fdupont
	Renamed the DHCP-DDNS constant INVALID_SOCKET to SOCKET_NOT_VALID
	to avoid conflicting with a constant of that name defined on some
	operating systems.
Francis Dupont's avatar
Francis Dupont committed
643
	(Trac #3861, git 28205225ceed03ff3126e43cd06cedbaa7d8d657)
644

645
646
647
648
649
650
651
652
933.	[func]*		marcin
	DHCPv4 server by default identifies a client using the
	client-identifier, if present. The new configuration
	parameter 'match-client-id' allows for disabling this
	behavior, i.e. 'chaddr' field is used to identify the
	client instead.
	(Trac #3747, git b9dc6ffd0f3396e9da8e0c83fd82164b8b8af011)

653
654
655
656
657
658
932.	[func]		kalmus
	MySQL schema has been extended with tables that can store
	host reservation. This ticket updates database schema only,
	the tables are not in use yet.
	(Trac #3567, git d2cd5d53b3f31422a342c9bb8946dad9ed1ea032)

659
660
661
662
663
664
665
666
931.	[func]		marcin
	Improved log messages emitted by the DHCPv4 server. Also,
	the server is now using multiple distinct loggers for logging
	messages pertaining to different functional parts of the
	code, e.g. packet transmission, lease allocation, DDNS etc.
	For complete list of logger names see User Guide.
	(Trac #3806, git 7b148c2dd5e2696a541883223ce1efd2de81f143)

667
668
669
670
671
672
673
930.	[func]		tomek
	Statistics Manager is now implemented. There is a new library
	libkea-stats that governs statistics collection. Its usage will
	be added in the upcoming tickets.
	(Trac #3793, git 68e9554ecabfc2a79731eeec1c706522e4d39332)

929.	[build]		fdupont
674
675
676
	Corrected problem in build system whereby specifying an
	installation directory on the "configure" command line that
	included a "+" in the name caused the build to fail.
Francis Dupont's avatar
Francis Dupont committed
677
	(Trac #3713, git 741ff09b743307bad28ae13db440e5e0f402d319)
678

679
680
681
928.	[build]		fdupont
	A CONFIG_H_WAS_INCLUDED define has been added to provide
	a way in source files to check whether config.h has been included.
Francis Dupont's avatar
Francis Dupont committed
682
	(Trac #3812, git cbb135d5f217b0692dcdbc9cfcc04f6a0dbc3922)
683

684
927.	[bug]		tmark
685
	DHCPv4 no longer attempts to update the lease database with the
686
687
688
	generated FQDN when processing DHCPDISCOVERs.
	(Trac #3779, git 0b413ee8aba1afa1643b216a1e8c35103c6c975b)

689
690
691
692
926.	[bug]		marcin
	Fixed the crash during the logging deinitialization.
	(Trac #3823, git 435b958860ec7b921645bd5923fff96ea4341f19)

693
694
695
696
697
698
925.	[func]		marcin
	libkea-hooks logs when the callouts execution begins or ends
	for the particular hook. It also logs the execution time of
	individual callouts and the total time for all callouts.
	(Trac #3804 git dd1432d7807e7d3b54c87dd4b3155d3110619fbd)

699
700
701
702
703
924.	[bug]		marcin
	Removed shell warning about the "missing format character"
	in the keactrl usage.
	(Trac #3784, git aa683395a4cd75af5340eb8603fe46b7b0dd8f4e)

704
705
923.	[func]		tmark
	The DHCPv4 server now logs packets it has either dropped as invalid
706
	or to which it has replied with a NAK to a separate logger,
707
708
709
	"kea_dhcp4.bad_packet".
	(Trac #3743, git cb91ca851099423e1b6c39cca3f3e2ba29795a51)

710
711
712
922.	[build]		fdupont
	The config.h file should never be included by another include file.
	Copy missing header files to the install directory.
713
	(Trac #3782, git ea6e9d166faa54b1f9781bc56d7d8fee6c87b1f9)
714

715
716
921.	[func]		marcin
	libdhcpsrv: Added log traces to the host manager.
717
	(Trac #3699, git 75b75c89db88eb1a81e76f5550f2a5b3155ce42d)
718

719
720
721
722
723
920.	[bug]		marcin
	Corrected issues with logging initialization in hooks
	libraries. The dynamically loaded hooks libraries may now
	define their own loggers which are configurable using Kea
	configuration file.
724
	(Trac #3198, git 8216a6b1a2ed6e2b38919280809ee21fc4107fd6)
725

726
727
Kea 0.9.1 released on March 31, 2015

728
729
919.	[doc]		stephen
	Corrected some configuration examples in the documentation.
730
	(Trac #3772, git e9f084525bc1eec1cca635c00f33228bf7fac6a4)
731

732
733
918.	[func]		tomek,tmark
	DHCPv6 server now supports static reservations of hostnames
734
735
	for clients.  Note this resolves #3708 by reducing the number
	of calls to selectSubnet to once per client request.
736
	(Trac #3689, git c13c824d9948f7e3f71a65ed43798f3b5c14042c)
737

738
739
740
741
742
743
917.	[bug]		marcin
	DHCPv4 server may allocate lease for the client which is
	using a non-unique identifier (HW address or client id),
	if the other identifier is unique.
	(Trac #3768, git 0f7a029e2a2a7652d49a0bcd9f49e879fac9136f)

Shawn Routhier's avatar
Shawn Routhier committed
744
916.	[func]		sar
745
746
747
748
	Add a log message that indicates when the v4, v6 or
	DHCP-DDNS server has completed processing its
	configuration and is about to enter the loop to process
	messages.
749
	(Trac #3755, git c71c7836804842bae51fe79fd599c57f5b3d007d)
750

751
752
753
754
755
756
757
915.	[func]		tomek, marcin
	The DHCPv6 server now supports the Relay-Supplied Options
	option,	as defined in RFC 6422. The relay can insert options
	in the relay forward message that the server will send back
	to the client if certain criteria are met.
	(Trac #3705, git 4772ee589712f5359ecbd79ebf71fbc7bb68741b)

758
759
760
761
762
763
764
914.	[bug]		marcin
	DHCPv4 server: corrected the logging message issued when
	the server could not allocate or offer the lease for the
	client. The corrected message contains the client-id,
	hardware address, ciaddr and requested-ip-address.
	(Trac #3737, git 4c56e1348c5d50eaa5b3083a0a8c346966e1b603)

765
913.	[bug]		sar
Shawn Routhier's avatar
Shawn Routhier committed
766
767
	Handle recovery properly should the LFC crash while
	manipulating files after completing processing.
768
	(Trac #3759, git bb3b4d14119392261a1766da2b406fa46d4c0f21)
Shawn Routhier's avatar
Shawn Routhier committed
769

770
912.	[doc]		sar
771
772
	Added sections on LFC to the administrators and developers
	guides.
773
	(Trac #3720, git 828b801e6a4616de331588076ab9c4c35677595)
774

775
776
777
778
779
780
781
911.	[func]*		marcin
	libdhcp++: the C++ objects representing network interfaces
	(Iface objects) are now non-copyable. As a result, the API
	of the Interface Manager functions returning the pointers
	to the Iface objects has changed.
	(Trac #3715, git 7415c74e38e13385a75e7200cb23b7d6ca86df7f)

782
783
784
785
786
910.	[func]		marcin
	DHCPv4 server supports static reservations of the hostnames
	for the clients.
	(Trac #3688, git b5c50e2aff64da05b439da8d5fa4913fc8a704ca)

787
788
789
790
791
909.	[bug]		marcin
	Removed many cppcheck errors in the code. Also removed the
	dhcp-ubench test tool.
	(Trac #3736, git 552aea126e968b78292ae80c1c6a03c9ef4dcdcd)

792
793
794
795
796
908.	[bug]		marcin
	Handle overflows during time conversions in the MySQL and
	PostgreSQL lease database backends.
	(Trac #3673, git 27b4e4590fdee507f0e877d7b771dc6c6457a4b5)

797
798
799
800
801
802
803
907.	[doc]		tmark
	Corrected depictions of kea-admin command line options for
	database-name in Kea Administrator Reference. Prior to this
	the document showed "-d" as the database name option, when
	in fact it is "-n".
	(Trac #3742, git ec427e4c9d008abc800f87eda3c0024b35e4c2e2)

804
805
806
906.	[doc]		tmark
	Added description of a restriction on extracting a MAC
	address from an IPv6 link-local address to the Kea
807
	Administrator Reference, section 8.8, item "ipv6-link-local".
808
	(Trac #3691, git ca9f5541cb36f815ac614c5c21088d545eafcac6)
809

810
811
812
813
814
905.	[func]		marcin
	DHCPv4 server assigns an address from the dynamic address
	pool if the reserved address is in use by another client.
	(Trac #3694, git 95b09ff53b941691cba172c933de0682b05a0d85)

815
816
817
818
819
820
821
822
823
904.	[bug]		marcin
	FreeBSD-only change: Disabled unit test expecting the death
	of the process when conditional variable was destroyed when
	the thread was still waiting for the variable. This is due
	invalid behavior of the pthread_cond_destroy on FreeBSD
	which should return EBUSY in such case, whereas it returns
	success error code.
	(Trac #3710, git bdb442402ef023055715baf597c401c9974a7fb2)

824
825
826
827
828
829
903.	[bug]		stephen
	Corrected arithmetical error in the rate control module of
	perfdhcp which led to the incorrect calculation of the rate
	at which packets should be sent.
	(Trac #3729, git bb5bca3d9b68abc4b83abdd204bfb075dda630ac)

830
831
832
833
834
835
902.	[bug]		marcin
	Fixed the bug in the DHCPv4 server whereby the server
	reconfiguration (using the SIGHUP signal) failed because
	of sockets remaining open since the previous configuration.
	(Trac #3730, git 3ceb0cd97cf5e44e8fc151d0a38db553530dd3ed)

836
837
Kea 0.9.1beta released on February 18, 2015

838
839
840
841
842
843
844
901.	[bug]		tomek
	Previously, the DHCPv4 and DHCPv6 servers gave up after
	100 failed lease selection attempts. Now both DHCPv4 and
	DHCPv6 servers calculate the number of attempts required
	to find a lease using the pool capacity.
	(Trac #3711, git cb5533a1bf1023faf61c1b8ade6ac8fa425f46c2)

845
846
847
848
849
900.	[doc]		marcin
	Documented configuration of the Lease File Cleanup (LFC) in
	the Kea Administrator Reference.
	(Trac #3672, git da3c676f009785204f9d84ca008890959bffcc18)

Tomek Mrugalski's avatar
Tomek Mrugalski committed
850
851
852
853
854
855
856
857
899.	[func]		tomek
	reservation-mode parameter has been added to DHCPv6 server.
	It controls what host reservation types are allowed and may
	improve performance in certain situations. It is also
	accepted in the DHCPv4 configuration, but currently not
	used.
	(Trac #3565, git cfbe13ad05aac23e09357fc78507cf9a82c908e6)

858
859
860
898.	[func]		marcin
	The DHCPv4 server configuration allows for opening multiple
	sockets on a single interface with multiple IPv4 addresses
861
	assigned. This facilitates the use case when different relay
862
863
864
	agents send messages to different addresses on the interface.
	(Trac #3695, git 3116243706a2dbcae3f9b5b3af9d2241a07b9ab2)

865
866
867
868
897.	[bug]		fdupont
	Removed a double free of the read_buffer_ field of Iface
	objects after (spurious) copy (partial as copies are not
	yet fixed).
Francis Dupont's avatar
Francis Dupont committed
869
	(Trac #3712, git 0b38ff6a6e77eb4182bfd7c0c681bef22ad5f634)
870

871
872
873
874
875
896.	[bug]		fdupont
	Removed exit() in D2 for version command line processing.
	This interfered with how the unit-tests were run.
	(Trac #3616, git 758a61e277675e89d857a22c3f8e844de307dca6)

Tomek Mrugalski's avatar
Tomek Mrugalski committed
876
877
878
879
895.	[doc]		tomek
	Host reservation for DHCPv4 and DHCPv6 is now documented.
	(Trac #3575, git a981e42eb0f39d27795364a6862b3a5e574e540a)

880
881
882
894.	[bug]		fdupont
	Accept empty options or sub options in DHCPv4 messages unpacking
	routines.
Francis Dupont's avatar
Francis Dupont committed
883
	(Trac #3661, git 42a4854208ec16834c590a9316b9a5306c60a3bb)
884

885
886
887
888
889
893.	[func,bug]	fdupont
	Changed the qualifying-suffix parameter in the dhcp-ddns
	configuration element to be mandatory with no default value when
	updates are enabled (i.e., the enable-updates mandatory parameter
	is true).
Francis Dupont's avatar
Francis Dupont committed
890
	(Trac #3632, git 12808651448837c611e4f6a262f7a1eb3deaf8da)
891

892
892.	[func]		sar
Shawn Routhier's avatar
Shawn Routhier committed
893
894
895
896
	A class, LeaseFileStats, has been added to provide simple
	statistics for use with lease files.  Also added logging
	to the kea-lfc process per the design.
	See http://kea.isc.org/wiki/LFCDesign for the design.
897
	(Trac #3667, git 7f36e034fe79d85f317d7d07e2fe636d6cdf1f6e)
Shawn Routhier's avatar
Shawn Routhier committed
898

Tomek Mrugalski's avatar
Tomek Mrugalski committed
899
900
901
902
903
891.	[func]		tomek
	libdhcpsrv: Allocation Engine now uses statically assigned
	addresses when processing DHCPv6 renewals.
	(Trac #3677, git 9ce50790c91624937ff2b622e4afff36d5d3cc2d)

904
905
906
907
908
909
910
911
912
913
890.	[func]		marcin
	It is now possible to specify whether the DHCPv4 server
	should use raw sockets or IP/UDP datagram sockets to
	receive and send DHCP messages. The configuration format
	has been changed for the selection of interfaces on which
	the DHCPv4 and DHCPv6 servers should listen. The
	configuration files using an old format are incompatible
	with the latest version of Kea.
	(Trac #3604, git c726bbc4eae0f576f6791c7490bfba8c30a401d9)

914
915
916
917
918
919
889.	[bug]		marcin
	Resolved a bug in the DHCPv4 allocation engine whereby the
	client could request and obtain an address reserved for
	another client.
	(Trac #3690, git 1afa4e24b0fcdd6d3a2e596663ce1102ffe2340d)

920
921
922
923
924
925
888.	[func]		marcin
	DHCPv4 and DHCPv6 servers launch the kea-lfc program, according
	to the value of lfc-interval configuration parameter for the
	Memfile lease database backend.
	(Trac #3669, git c92665ce05d71e9e5cad9a0679018e9e3f7e3be5)

926
887.	[func]		sar
927
928
929
	A new process, kea-lfc, has been added. It is meant to
	be periodically executed by the DHCPv4 and DHCPv6 servers
	to remove redundant information from the lease files.
930
931
932
933
	See http://kea.isc.org/wiki/LFCDesign for the design.
	(Trac #3664, git cc85938b35e2d4bd00ccb74f1b83d3017ab0e41b)
	(Trac #3665, git b1707981f48b13895b50bf27176dede866576292)
	(Trac #3687, git 1e92382aaa2fbff08bbf1d6bbf0add195a7b6fae)
934

Tomek Mrugalski's avatar
Tomek Mrugalski committed
935
936
937
938
939
886.	[func]		tomek
	libdhcpsrv: Allocation Engine now uses statically assigned
	addresses when it allocates leases for the DHCPv6 clients.
	(Trac #3563, git b86b24fd011c0617515d62b7091d56fdfd1a7360)

Tomek Mrugalski's avatar
Tomek Mrugalski committed
940
941
942
943
885.	[func]		tomek
	Information-Request (stateless mode) in DHCPv6 is now supported.
	(Trac #2949, git 3185d229c39ed4660e9bc98a7f4a9d0dfbe64a04)

944
945
946
947
948
949
884.	[func]		marcin
	The DHCPv6 server configuration now allows for defining a pool
	for prefix delegation in which prefixes do not match a
	subnet prefix.
	(Trac #3647, git 5455d96cbf773e678bd6b1c3e31bfdeb617e6c13)

950
951
952
953
954
883.	[bug]		marcin
	libdhcpsrv: Prevent infinite loops in the allocation engine,
	when the address pool becomes exhausted.
	(Trac #3692, git f1e464558c89a6dc88ab28a25dd14a65fee62578)

955
882.	[func]		sar
956
957
958
	A utility class has been added which handles writing and
	deleting pid files as well as checking if the process with
	the given pid is running.
959
	(Trac #3687, git 1e92382aaa2fbff08bbf1d6bbf0add195a7b6fae)
960

961
962
963
964
965
966
881.	[func]		kalmus
	Extracting hardware/MAC address from the DHCPv6 remote-id
	option is now implemented.
	(Trac #3552, git 6db5fc158133b3f308c43f1fe2fa54a6f89baae1)

880.	[doc]		tomek
Tomek Mrugalski's avatar
Tomek Mrugalski committed
967
968
969
	kea-admin is now described in Kea User's Guide.
	(Trac #3644, git fa83c48826e41663d93e56ec7fd6983e9b0b2cd1)

970
971
972
879.	[bug]		fdupont
	Drop DHCPREQUEST message from an unknown client in the
	INIT-REBOOT state.
973
	(Trac #3656, git 8e205adc35d8e72d1802d5ee9056e6c4ac78274a)
974

975
976
977
978
979
980
981
982
878.	[func]		marcin
	DHCPv4 and DHCPv6 server now support the lfc-interval
	parameter which configures the interval in which the
	Memfile lease database backend executes the Lease File
	Cleanup (LFC). Note: the LFC is currently no-op and will
	be implemented shortly.
	(Trac #3668, git 2ce54eeb607d2caa0901125b5d86a373e9e3f165)

983
984
985
986
987
988
877.	[func]           marcin
	DHCPv4 server drops unicast packets sent to the IPv4 address
	on which the server is not configured to listen.
	(Trac #3547, git 803f1f0f145b0f252ffc3637f758a47e0061de85)

876.	[func]          tomek
989
	Two new MAC acquisition methods implemented for DHCPv6:
990
991
992
993
	docsis-modem (which extracts MAC address from an option inserted
	by a cable modem) and docsis-ctms (which extracts MAC address from
	an option inserted by CMTS which acts as a DHCPv6 relay agent).
	(Trac #3553, git ad0a3772774bc5f9831a5ba16725a5a22887b8cb)
994

995
996
997
998
999
1000
1001
875.    [bug]           afidalgo, marcin
	The DHCPv4 server no longer appends the trailing dot to the
	hostnames sent to the clients in the Hostname option (12).
	Appending trailing dot confused some DHCPv4 clients.
	Credits to Alexis Fidalgo for submitting a patch.
	(Trac #3636, git 450867e6987f4c786ad6c2cc95cabcff601c1b48)

1002
874.    [func]           marcin
1003
1004
1005
1006
1007
1008
	Changes to the Memfile lease database backend to load
	leases from multiple files during startup or server
	reconfiguration. This change is required by the Lease File
	Cleanup feature, which leads to the creation of additional
	files holding cleaned up lease information.
	(Trac #3671, git 667de2ef9044e97c76b15cacc7285132cdffdfcf)
1009

1010
1011
1012
1013
1014
1015
873.    [bug]           wlodek
	Removed references to non-existing pgsql_test.sh script
	from Makefile.
	(Trac #3662, git ab69f38dd82cf3c3736588e03c1dc568de3ae6d6)

872.    [func]          wlodek
1016
1017
1018
1019
	Check for required header file errcode.h for PostgreSQL
	backend added to configure process.
	(Trac #3663, git d666dd9263ba1aaf88bec5b8e5ae3f0cb8e5c1db)

1020
871.	[func]		kalmus, tomek
1021
	DHCPv6 is now able to extract MAC from DUID-LLT and DUID-LL.
1022
	(Trac #3548, git f6d9630e2762a0f256a2b7825d74d2bce8fe4c60)
1023

1024
1025
1026
870.	[func]		fdupont
	Cleanup the cryptolink API (e.g., removing spurious 'magic'
	zero length parameters).
Francis Dupont's avatar
Francis Dupont committed
1027
	(Trac #3606, git 55d2df9d78321b3844217055e376ae44ac962d8f)
1028

1029
1030
1031
1032
1033
1034
869.	[func]		tomek
	'mac-sources' configuration parameter added. The DHCPv6 server
	can now be configured to use various MAC/Hardware address
	sources.
	(Trac #3554, git 2e7c32e7c19372f0c97968ef7c8256509d80fdfc)

1035
868.    [func]          marcin
1036
1037
1038
1039
1040
	DHCPv4 server configuration allows for selection of the
	address on the interface that server should listen on.
	This is specifically useful in the environments with
	multiple IPv4 addresses assigned to one interface.
	(Trac #3539, git ff71887c605eedc3914bacfd2e551da7bddcc0d6)
1041

1042
1043
1044
1045
1046
1047
867.	[func]		marcin
	libdhcpsrv: Allocation Engine uses statically assigned
	addresses when it allocates or renews leases for the
	DHCPv4 clients.
	(Trac #3564, git 7b192fe314c12e38622742b3b338e997934f862f)

1048
866.	[doc]		stephen
1049
	Corrected documentation concerning the way to configure hooks
1050
1051
1052
	libraries.
	(Trac #3635, git 42d1c98a2e66ab7fc3e372365edad1f5709df885)

1053
1054
1055
1056
1057
1058
1059
865.	[func]		marcin
	Host reservations can be specified in the DHCPv4 and DHCPv6
	servers configuration. The reservations are loaded, but they
	are currently unused.
	(Trac #3562, git 1ba5ec3b7831ef8126be17b9542d9b89a419e7dd)
	(Trac #3628, git 00b49298ec5e5e5c722e5938547c86c954fc76e1)

1060
1061
1062
1063
1064
864.	[func]		tomek
	MySQL backend is now able to store information about hardware
	addresses and associated information in DHCPv6.
	(Trac #3556, git 08a29d8d2374bc3c6b3799d5dd97f586ee869392)

Tomek Mrugalski's avatar
Tomek Mrugalski committed
1065
1066
863.	[func]		tomek
	A new tool called kea-admin added. It allows database maintenance.
1067
	Initialization of a new database, version check and upgrade between
Tomek Mrugalski's avatar
Tomek Mrugalski committed
1068
1069
1070
1071
	version is now supported. Currently the only backend supported is
	mysql, but support for memfile and pgsql is planned.
	(Trac #3599, git cf22f8d212f2435957f89b51722f8e26e14635f2)

1072
862.	[func]		dgutier, tomek
1073
1074
	Support for client link-layer address option (RFC6939) has
	been added.
1075
1076
	(Trac #3551, git dabdf965d92085f86d5e96c8dadce0f0a8f7c8e3)

1077
1078
1079
1080
1081
861.	[func]		marcin
	The configuration parameters for a DHCPv4 and DHCPv6 options are now
	optional.
	(Trac #3467, git 7bf8cef161e6dd00a7f2b2fe8ec04e1958d6db3f)

1082
1083
1084
1085
1086
860.	[bug]		marcin
	Fixed calculation of the Client FQDN option length for the ASCII
	domain name encoding.
	(Trac #3624, git 5a120d9bf85e27ea5b2674d35af0f2774e4cd2a7)

1087
1088
1089
1090
1091
1092
1093
859.	[func]		marcin
	Implemented Host Manager, which can retrieve host reservations
	specified in the server's configuration. Future tickets will
	extend Host Manager to retrieve reservations from other sources,
	e.g. SQL databases.
	(Trac #3561, git faac5e9746dbf82eb04ffef95658e4b4c7d64a4a)

1094
1095
1096
1097
1098
858.	[bug]		marcin
	Added missing "lease-database" entry to the default DHCPv6
	server configuration, in kea.conf.
	(Trac #3630, git 0f7ff732ea2add45a24e040eae8a0dda27532a31)

1099
1100
1101
857.	[func]		fdupont
	Improve the cryptolink code, for instance use a constant
	time comparison.
Francis Dupont's avatar
Francis Dupont committed
1102
	(Trac #3602, git 0c1f433da650330b40fe1a67bae4716c9184f636)
1103

1104
1105
1106
1107
1108
856.	[build]		marcinw
	callout_manager.h and server_hooks.h headers are now exported,
	so statically linked libraries can be tested.
	(Github #4, git 00b5f3fa0369c13021bf4fb78c6450e524e4e411)

Francis Dupont's avatar
Francis Dupont committed
1109
1110
1111
1112
1113
855.	[build]		fdupont
	Use convenience archives for objects used in a makefile and
	its parent makefile: before sources were compiled twice using
	the broken subdir-objects option of automake, now objects
	are put into a convenience static library (so an archive).
Francis Dupont's avatar
Francis Dupont committed
1114
	(Trac #3631, git d7954b4234114d8fa41aa51f671d4faa1724b748)
Francis Dupont's avatar
Francis Dupont committed
1115
1116
1117
1118
1119
1120

854.	[bug]		marcin
	Corrected a regression on "make distcheck" which appeared after
	implementation of #3162 (partial fix).
	(Trac #3629, git 9bb6b76a24e4356b30e59631e76e32c3096fb515)

1121
1122
1123
1124
1125
1126
1127
853.	[func]		tomek
	Lease6 now is able to store MAC/hardware address information. Memfile
	memfile backend has been updated to store/retrieve that additional
	piece of information. Server now tries to use available methods to
	obtain MAC/hardware address from incoming packet.
	(Trac #3555, git ab76a9e7a9d39cb3cf533729473b63a2d2401ac7)

1128
1129
1130
1131
1132
852.	[func]		tomek
	Pkt6 class is now able to generate client's MAC from source IPv6
	link-local address if EUI-64 identifier was used.
	(Trac #3549, git d92e76860e6931477b3e60e5be8978302973f88f)

1133
851.	[bug]		tmark
Francis Dupont's avatar
Francis Dupont committed
1134
1135
	Corrected a segmentation fault that was occurring under OS-X
	during D2 module shutdown.
1136
1137
	(Trac #3470, git f7822568abd04c12faa3cde34fadaac238a373d3)

1138
1139
850.	[build]		fdupont
	Moved optional gtest sources to ext/gtest.
Francis Dupont's avatar
Francis Dupont committed
1140
	(Trac #3162, git 055512758f5c79f29eb375126d496483c9a6d0a1)
1141

1142
849.	[bug]		tomek
1143
1144
1145
	DHCPv6 component now processes incoming vendor-class options
	properly (packets are classified as VENDOR_CLASS_[content of the
	vendor-class option]).
1146
	(Trac #3486, git 62409cd9531b081943b8f3567f7b0dca36b18802)
1147

1148
1149
848.	[func]		fdupont
	Added truncated HMAC support to TSIG, as per RFC 4635.
Francis Dupont's avatar
Francis Dupont committed
1150
	(Trac #3593, git ae3a9cd1a0d2dc07b7092368149381d69bc2c61a)
1151

1152
847.	[build]		fdupont
Francis Dupont's avatar
Francis Dupont committed
1153
	Removed no longer used configuration option --with-shared-memory
1154
	and associated files and variables.
Francis Dupont's avatar
Francis Dupont committed
1155
	(Trac #3614, git adee8c93f7c7c1303390dd63dbeae74a48a34845)
1156

1157
1158
1159
846.	[bug]		fdupont
	Fixed subdir-objects warnings from recent versions of autotools,
	e.g., on Apple OSX.
Francis Dupont's avatar
Francis Dupont committed
1160
	(Trac #3162, git e25c7477f3c35cdaa0f038732f697224bfd44847)
1161

1162
1163
1164
1165
1166
845.	[func]		marcin
	Implemented Host class for storing information about IPv4 and IPv6
	reservations for the host.
	(Trac #3560, git fb5e1883b01ce6388d1b7a92c61061b493c36713)

1167
1168
1169
1170
844.	[bug]		tmark, marcin
	Fixed multiple issues in the DHCP-DDNS unit tests.
	(Trac #3615, git fec824d36121b12e98dd407a0bdf1bc71c8de18d)

1171
1172
1173
1174
1175
843.	[bug]		marcin
	DHCPv4 server sets ciaddr to 0 in DHCPOFFER and DHCPNAK messages to
	adhere to section 4.3.1 of RFC2131.
	(Trac #3367, git 9f05a29caa960df2b09b7a8c23100da8b40e73d0)

1176
1177
1178
1179
1180
842.	[func]		marcin
	DHCPv4 server logs when the packet sent by the client contains
	invalid combination of giaddr/hops before discarding the packet.
	(Trac #3537, git 760c652b54dcdfdfbd1a0014da43d3c31e848f02)

1181
1182
1183
1184
1185
1186
841.	[func]		tomek
	Pkt4 and Pkt6 class have a common base now. A lot code duplication
	removed. Added getMAC() method that will be used to extract MAC
	in DHCPv6.
	(Trac #3546, git 6e68af7dfe15e4d461bf068f545d2bdaaa8fcfb0)

1187
840.	[func]		nicolas
1188
1189
1190
1191
1192
	PktFilterInet::send method now sets source IPv4 address
	explicitly.  This enabled perfdhcp to control its source address
	on systems that have more than one address assigned to a given
	interface. Thanks to Nicolas Chaigneau from Capgemini for
	providing this fix.
1193
1194
	(Github #2, git 6ac36ed7a1d97bcf52ffb2aec7cbf116e58e5803)

1195
839.	[doc]		adam
1196
1197
	DHCPv4 examples corrected in Kea ARM. Thanks to Adam Osuchowski
	from Silesian University of Technology for providing this fix.
1198
1199
	(Github #1, git 15785c0e28190659b037cfcca19f0267ccd9049f)

1200
838.	[bug]		tomek
Tomek Mrugalski's avatar
Tomek Mrugalski committed
1201
1202
1203
	Kea components now use the KEA_LOCKFILE_DIR environment variable
	to specify the directory of the logging lockfile. Locking can be
	disabled completely by setting the variable to 'none'.
1204
1205
	(Trac #3591, git d4556e1d21766b94f2f0cda59df15e47e6f2676e)

1206
1207
1208
1209
1210
837.	[bug,doc]	tomek
	Logging configuration examples in kea.conf fixed. Also updated
	Kea documentation for logging.
	(Trac #3536, git 2cf3f6b9cb3d2ae6fc7b0940b55490f109ddd2f9)

1211
1212
1213
836.	[bug]		fdupont
	Moved duplicated getXXXHashAlgorithm() function to new
	xxx_common.h include files in the cryptolink library.
Francis Dupont's avatar
Francis Dupont committed
1214
	(Trac #3471, git 8cf2ee46b3d7398f4f716435be3d9b19bf3599f5)
1215

1216
1217
1218
1219
835.	[build]		fdupont
	The configure script checks if OpenSSL supports SHA-2, in order
	to avoid very old (and likely subject to unfixed security bugs)
	OpenSSL versions.
Francis Dupont's avatar
Francis Dupont committed
1220
	(Trac #3482, git c779a0ef23d2092cf896276dab1fbcb190380374)
1221

1222
1223
1224
1225
1226
834.	[bug]		marcin
	Corrected the definition of the example DHCPv4 and DHCPv6 address
	pools in the default kea.conf file.
	(Trac #3538, git 8712cc0df77368940d8d3d11811a9ac9504bce12)

1227
1228
1229
1230
1231
1232
1233
833.	[func]		marcin
	Configuration Manager supports two stage configuration. In the
	first stage a temporary configuration is created and in the
	second stage this configuration is committed. If configuration
	fails at the first stage, the temporary configuration is rolled
	back and the server continues to use the old configuration.
	(Trac #3534, git 4ecee3c0c97fe417b050317356f9093ba3771a15)
1234
1235
1236

Kea 0.9 released on August 29, 2014

1237
832.	[bug]		jiri
1238
1239
	Compilation fix for PostgreSQL on i686. Thanks to Jiri Popelka
	from RedHat for providing a patch!
Tomek Mrugalski's avatar
Tomek Mrugalski committed
1240
	(Trac #3532, git 96a06654f2177444dcea3a0e9f6fa06947855497)
1241

1242
831.	[func]		marcin
1243
	DHCP servers check if the interfaces specified in the configuration,
1244
	to be used to receive DHCP messages, are present in the system.
1245
1246
1247
1248
1249
	If the interface doesn't exist, an error is reported. In addition,
	the SO_REUSEPORT flag is set for IPv6 sockets as multiple multicast
	sockets can be bound to the DHCPv6 server port.
	(Trac #3512, git 5cbbab2d01c6e1bf6d563ba64d80bc6bc857f73d)

1250
830.	[build]		jreed
Tomek Mrugalski's avatar
Tomek Mrugalski committed
1251
	The configure script no longer requires pkg-config.
1252
1253
	(Trac #3511, git 99a5a2db8c011b358873d485ac48f7c78ac6374c)

Jeremy C. Reed's avatar
Jeremy C. Reed committed
1254
829.	[build]		wlodek
1255
	Lettuce DNS tests removed with all related python code,
1256
	most of them will be used in Forge project which can be found
1257
	http://kea.isc.org/wiki/IscForge
1258
1259
	(Trac #3420, git e51bcbeedbc169050751c1b896726965243667be)

1260
1261
1262
1263
1264
828.	[bug]		marcin
	Corrected the IfaceMgrTest.detectIface unit test that failed on
	Linux systems with virtual interfaces present.
	(Trac #3527, git 7aa01a6965b6e9fc39ff005803cada7f58f2e628)

1265
827.	[build]		jiri, tomek
1266
1267
	Deprecated AC_PROG_LIBTOOL macro replaced by LT_INIT. Thanks to
	Jiri Popelka from RedHat for providing a patch!
1268
	(Trac #3525, git 6c0aacf29fae1d0501ca69ff6324df8d4fc8c7ee)
1269

1270
826.	[bug]		jiri, tomek
1271
1272
	Compilation fix for Red Hat running on armv7. Thanks to Jiri
	Popelka from RedHat for providing a patch!
1273
1274
	(Trac #3526, git eac5a80472dcb78b538c2ed34cc0534f801e5145)

1275
825.	[bug]		jiri, tomek
1276
1277
	Example JSON configuration files permission fix. Thanks to Jiri
	Popelka	from RedHat for providing a patch!
1278
1279
	(Trac #3524, git 822a39ba33870f70787a1f666aed772e06d04d79)

1280
1281
1282
1283
824.	[bug]		marcin
	Kea deamons report configuration summary when the configuration is
	applied successfully.
	(Trac #3477, git f39d208024f720f72c931016cfa50a54e80f8c61)
1284
1285

823.	[build]		tomek
Tomek Mrugalski's avatar
Tomek Mrugalski committed
1286
	query_cmp tool removed from the source code.
1287
1288
	(Trac #3509, git f61c800059bd5e5c74e435d7dd97ae561d29151a)

1289
822.	[build]		tomek
Tomek Mrugalski's avatar
Tomek Mrugalski committed
1290
	'host' program was removed from examples.
1291
1292
	(Trac #3421, git aeea893fb1c52d20258929a62a59ae2e7bd12e3d)

1293
1294
1295
1296
1297
821.	[bug]		marcin
	DHCP servers no longer log an error when Interface Manager fails to
	receive a packet as a result of signal being received.
	(Trac #3478, git d80c83aef8e103dd483234429d35aeb66149e0b9)

1298
1299
1300
1301
1302
820.	[bug]		marcin
	Corrected the IfaceMgrTest.detectIfaces unit test which reported
	false positives for specific network configurations.
	(Trac #3517, git 9affa1b2210f5cc9d7a99724e5d5c8979409cefd)

1303
1304
Kea 0.9beta1 released on August 13, 2014

1305
1306
1307
1308
1309
1310
1311
1312
819.	[build]		marcin
	Renamed variables in the configure.ac so as their names do not
	refer to BIND10 project. As a result of renaming the B10_CXXFLAGS
	to KEA_CXXFLAGS in configure.ac all dependent Makefiles had to
	be updated in the tree. The AX_BOOST_FOR_BIND10 macro has been
	renamed to AX_BOOST_FOR_KEA.
	(Trac #3507, git 6616b1c0ad0a78e11bca9395fafb8efdba8d8b9c)

1313
818.	[func]		tomek
Jeremy C. Reed's avatar
Jeremy C. Reed committed
1314
	DHCPv4, DHCPv6 and DDNS components now report their versions.
1315
1316
	(Trac #3508, git 3f46c74ffa0ea1197e1fa62cb2f6580931be35f3)

1317
1318
1319
1320
1321
817.	[bug]		marcin
	DHCPv4 and DHCPv6 servers will log an error during an attempt to
	open socket on the interface which is down or not configured.
	(Trac #3487, git fadc776914aa858ce637aab1513ab3d87631f612)