ChangeLog 292 KB
Newer Older
1
2
3
4
5
6
7
1113.	[func]		tomek
	DHCPv4 subnet selection can now be selected based on IPv6
	information. This is part of ongoing effort to support RFC7341:
	DHCPv4-over-DHCPv6.
	(Trac #4112, git 3352685981ec8ca9a90f7405ff56cd31af6fb0d9)

1112.   [bug]		tmark
8
9
10
11
12
13
	An explicit call to unload the hook libraries prior to server
	exit was added to both kea-dhcp6 and kea-dhcp4.  This corrects
	an issue where loggging components were being destroyed prior
	to hook librarires being unloaded.
	(Trac #4492, git 2a4792b3551cce2fb9147f33f032ae7e71791d21)

14
15
16
17
18
19
1111.	[bug]		marcin
	perfdhcp: Improved algorithm for dropping timed out transactions.
	This prevents growing memory consumption due to storing timed
	out transactions when the DHCP server drops many messages.
	(Trac #4493, git 9757a93110afb82c5379643f2f48e223d497efae)

20
21
1110.	[func]		tomek
	It is now possible to specify parameters for hook libraries.
22
	(Trac #4297, git f45d0b5d297f6ad522eb8b7e6f6a0de1064b8569)
23

24
25
26
27
28
29
30
1109.	[func]		marcin
	"host-reservation-identifiers" configuration parameter has been
	implemented. It allows for specifying an ordered list of
	host identifiers that DHCPv4 and DHCPv6 servers use to
	retrieve static host reservations for a client.
	(Trac #4303, git 942808400e7116d95acfd53b0dc1ecad1c45c598)

31
32
33
34
35
36
1108.	[func]		tmark
	Schema scripts have been relocated from src/bin/admin/scripts to
	src/share/database/scripts and are now shared by both kea-admin
	and unit testing.
	(Trac #4239, git 131fcf52f2a65cedb53975f99114296366fb0199)

37
38
39
1107.	[func]		fdupont
	Added support for extracting constant length fields from a DHCPv4
	packet.
Francis Dupont's avatar
Francis Dupont committed
40
	(Trac #4268a, git 5d1397efc05802b72e86785528870b7154307ff0)
41

42
1106.	[func]		sar
43
44
	Added support for accessing DHCPv6 packet fields message type
	and transaction id in a classification expression.
45
	(Trac #4269, git 48be5f5ceaba6b0d0a2b31465e8a5904524e894c)
46

47
48
49
50
51
1105.	[bug]		pallotron
	perfdhcp uses the same transaction id throughout the DORA
	exchange to adhere with RFC 2131.
	(github #19, git d260a70d6aa0baecd68131bc35f58f097aa77bcc)

52
53
1104.	[func]		tmark
	The DDNS parameter, replace-client-name, has been changed from a boolean
54
	to list of modes, which provides greater flexibility in when the Kea
55
56
57
58
	servers replace or supply DNS names for clients.  This is supported both
	kea-dhcp4 and kea-dhcp6.
	(Trac #4529, git 45e56d7aa0d4a6224a1a28941f6cb11575391222)

59
60
61
62
63
64
1103.	[func]		marcin
	"circuit-id" can be specified as host identifier in host
	host reservations. However, the server ignores the reservations
	by "circuit-id" at this point.
	(Trac #4301, git cf56fc2a2e0e821a17dd95de49a43755745682fb)

65
1102.	[func]		sar
66
67
	Added access to the peer address, link address and option
	information added by relays in a DHCPv6 message.
68
	(Trac #4265, git bb00d9d205ee047961ba70417d7ce02c37d80ce7)
69

70
71
72
73
74
75
1101.	[bug]		stephen
	Made DHCPSRV_MEMFILE_LFC_UNREGISTER_TIMER_FAILED a debug message as the
	condition leading to it (trying to unregister a timer that is not
	registered) does not have an adverse effect on the operation of Kea.
	(Trac #4293, git 06204c5d347d0df359af69974c155d0fa9725b44)

76
77
78
79
80
81
82
83
1100.	[bug]		tmark
	Wrapped asio/asio.hpp with logic to suppress optimization when building
	under GCC 5.2.0 through 5.3.1 and BOOST_ERROR_CODE_HEADER only is defined.
	This avoids an issue in the asio socket layer that was incorrectly
	reporting socket read errors causing unit tests to fail and kea-dhcp-ddns
	to loop logger calls in the error handler (aka double errors).
	(Trac #4243, git 082f846f37cb32964c876b2bff5fcac82d1eaaf0)

84
85
86
87
88
89
1099.	[func]		marcin
	Updated Host Manager API to allow for retrieving host reservations
	by any type of host identifier. Previously it was only possible
	to retrieve host reservations by hardware address or DUID.
	(Trac #4302, git 3979656c918164e3c39e0e8fb78b2862a2b5e95a)

90
91
92
93
1098.	[func]		kalmus, marcin
	Implemented IPv6 address/prefix reservations in MySQL.
	(Trac #4212, git 79481043935789fc6898d4743bede1606f82eb75)

94
95
96
97
1097.	[func]		fdupont
	Reorganized the DHCPv4 and DHCPv6 services into run() (service
	loop), run_one() (receive, call next routine and send) and
	processPacket() (internal core processing of an incoming packet).
Francis Dupont's avatar
Francis Dupont committed
98
	(Trac #4108,#4266,#4267, git ba24bd770d1a1791f8fdc3df7f2e41f9f0c851ec)
99

100
101
102
103
104
105
106
1096.	[func]		tmark
	Both kea-dhcp4 and kea-dhcp6, now log the primary lease events (e.g.
	grants, renewals, releases, declines) at the INFO log level to the
	lease4_logger and lease6_logger repsectively.  Prior to this these
	events were logged at the DEBUG log level.
	(Trac #4316, git 9beca27e3d76d0ccec925125f23074227db08869)

107
108
1095.	[bug]		fdupont
	Fixed some minor Coverity-detected issues.
Francis Dupont's avatar
Francis Dupont committed
109
	(Trac #4326, git ad1f442ee4382b354dc8be84ba77785e565aa86b)
110

111
112
113
114
115
1094.	[bug]		marcin
	libdhcpsrv: Fixed issues with lease indexing in Memfile
	database backend.
	(Trac #4339, git a065144663ac716b1fa1c8c224a88aa176da9630)

116
117
1093.	[bug]		fdupont
	Fixed Coverity-detected overflows in pkt4::setFile() and setName().
Francis Dupont's avatar
Francis Dupont committed
118
	(Trac #4306, git 0b7388891eaab39fe727b076468d672551126796)
119

120
121
122
123
124
1092.	[func]		marcin
	DHCP option values can be specified within host reservations
	in the configuration file.
	(Trac #4319, git 069dd7c248afcfcb7e4d958f20faa32e946e74ce)

125
126
1091.	[bug]		fdupont
	Fixed Coverity-detected exception-handling issues.
Francis Dupont's avatar
Francis Dupont committed
127
	(Trac #4307, git 3e1050749d9684144e1bd17552af7e4abf3c0d17)
128

129
130
131
1090.	[func]		fdupont
	Added support for IP address (IPv4 and IPv6) literals in
	classification expressions.
Francis Dupont's avatar
Francis Dupont committed
132
	(Trac #4232, git b98cc019b172a4903a2121e910f3cee4eaca2d51)
133

134
135
136
137
1089.	[func]		fdupont
	Added relay4[X].exists method in classifications that checks
	whether a sub-option is present in theDHCPv4 RAI (Relay Agent
	Information, 82) option.
138
	(Trac #4313, git 87397fd75215b69ad79708aaa1d7505aca299fb5)
139

140
141
142
1088.	[bug]		fdupont
	Protected DHCP server main() routines against errors raised from
	logger calls in the error handler (aka double errors).
Francis Dupont's avatar
Francis Dupont committed
143
	(Trac #4310, git 6813e1a7520335f6920ff8de5e52ecdb24712910)
144

145
146
147
1087.	[bug]		fdupont
	Empty option specifications no longer require setting the
	csv-format parameter.
Francis Dupont's avatar
Francis Dupont committed
148
	(Trac #4291, git 398458f3ad4680fd5f3c032eb6c99d50c2981368)
149

150
151
152
153
154
1086.	[func]		marcin
	The Host class has been extended to store DHCP options to
	be assigned to a client.
	(Trac #3571, git 9d434f28cc4683eccbcca1ba0d1e45bceb5230d2)

155
156
157
1085.	[bug]		sar
	Always copy the DHCPv4 flags field from a client's request to the
	the server's resposne.
158
	(Trac #4292, git 8b7182abdc7ff47eb9b68451e7507b7e4b9872e0)
159

160
161
162
1084.	[bug]		fdupont
	Removed obsolete requirement of python3 by --enable-generate-docs
	configuration option.
Francis Dupont's avatar
Francis Dupont committed
163
	(Trac #4315, git 2c236316d5fbac9906cf48a6e4df1649e7545e67)
164

165
166
167
168
169
170
1083.	[bug]		marcin
	When lease-database configuration parameter is not
	specified the default lease database backend (memfile)
	is used.
	(Trac #3696, git 0be5e6eb32680a742ddcf427b8181f55c0c98115)

171
172
173
174
175
176
177
178
179
180
181
182
183
1082.	[func]		fdupont
	The following DHCPv4 options are now supported:
		nisplus-domain-name (64),
		nisplus-servers (65),
		mobile-ip-home-agent (68),
		smtp-server (69),
		pop-server (70),
		nntp-server (71),
		www-server (72),
		finger-server (73),
		irc-server (74),
		streettalk-server (75)
		streettalk-directory-assistance-server (76)
Francis Dupont's avatar
Francis Dupont committed
184
	(Trac #4286, git 5ed03ed5ea48334bbd16a9a8e1676f3b4cc730a0)
185

186
187
188
189
1081.	[bug]		jpopelka
	Added missing slashed in path_replacer.sh.
	(Github #10, git 8986813825623b19fb220534434d0c13785fc14c)

190
191
1080.	[func]		fdupont
	Added a concat function in classification which concatenates two
192
	strings.
193
	(Trac #4233, git eec10b436b928bd5eb3139c2f98ec9a6a818f30e)
194

195
196
197
198
1079.	[func]		fdupont
	Added Not, And and Or logical operators, parentheses around
	logical expressions and option[code].exist logical predicate
	(to check the presence of an empty option).
199
	(Trac #4231, git 8e01dbe2fe2d8c97f89c20f5bb1d03748a2432e0)
200

Tomek Mrugalski's avatar
Tomek Mrugalski committed
201
202
203
204
205
206
1078.	[func]		tomek
	Client classification in DHCPv4 has been enhanced. It is now
	possible to access relay sub-options using the expression
	relay[123].hex.
	(Trac #4264, git c13791e916ceae9a73ca44005581e0e39385a572)

207
208
209
210
211
1077.	[func]		marcin
	perfdhcp now accepts -f option for DHCPv4 server testing, which
	enables lease renewals at the specified rate.
	(Trac #4254, git 8c5630b9ce6d3fba224f0643a7c69e4f7aaefca7)

212
213
214
215
1076.	[bug]		jpopelka
	Fixed compilation issue in MySQL host data source: the
	dhcp_identifer_length is now unsigned long. This addresses
	a compilation problem on Fedora.
216
	(Github #17, git 8548d1b589df98cc956b4d80d2cb8819ef576717)
217

218
219
1075.	[bug]		fdupont
	Removed warnings emitted during generation of Doxygen documentation.
220
	(Trac #4234, git b67910a3893bc79eb77a48bae6c31214a317bd40)
221

222
223
224
225
226
227
228
229
1074.	[bug]		marcin
	Addressed regression in distcheck after merge of #4224.
	Before the changes one of the lease files produced by
	'kea-lfc' was not removed after tests running lease file
	cleanup. As a result, the distcheck failed discovering
	this file being left after distclean.
	(Trac #4249, git 04aa9b95bf8c4dd8b555dd78cc8cd57126473800)

230
231
232
233
234
235
236
237
238
239
1073.	[bug]		tmark
	This change bumps the MySQL schema version from 4.0 to 4.1 and includes
	the following changes: added explicit use of InnoDB engine to all MySQL
	table create statements,  MySQL lease dump output is now sorted by lease
	address in ascending order, and the MySQL lease_hwaddr_source table now
	contains an entry for HWADDR_SOURCE_UNKNOWN (i.e. source = 0). Our thanks
	to Sebastien Couture at Ubity Inc. for reporting the InnoDB engine issue
	and submitting a fix for it.
	(Github #16, Trac #4237,#4238, git f0fb9f35a394785215573a591c2bcc68ab481436)

240
241
242
243
244
1075.	[doc]		marcin
	Changed Kea license from ISC to Mozilla Public License,
	v. 2.0.
	(Trac #4236, git a0574cdab4deb31e3244fc4e237753a1ad361d96)

245
246
247
248
249
250
251
252
1074.	[bug]		marcin
	PID files created by Kea processes are used in shell based
	tests to determine if the given process is running. This
	solves the problem whereby some unrelated processes could
	be reported as running Kea processes in those tests, causing
	the tests to fail.
	(Trac #4224, git 94edccc50cb374ec4db35f653b869c9f06d356ea)

253
254
255
256
257
1073.	[doc]		tomek
	Developer's Guide updated with client classification text
	and several clean-ups.
	(Trac #4102, git ac33ebf7428ba5935d3302d000bed317716fabfe)

258
259
260
261
262
1072.	[bug]		tmark
	The lease6 hardware address source value is now being properly populated.
	Prior to this the value stored with each IPv6 lease was always zero.
	(Trac #4247, git 27886dadcf9051dc622ee6fde586c27f3d431f8b)

263
264
265
266
267
268
1071.	[func]		tmark
	Assigned unique log message IDs to log messages issued from
	MySQL hosts storage operations, eliminating resuse of
	lease database message IDs.
	(Trac #4216, git f0e37cd6d45537971a730c68187011dce41217cc)

269
1070.	[doc]		sar
270
271
	Correct v6 classification examples to use client-id (1) instead
	of server-id (2).
272
	(Trac #4222, git 69dd98d03861d9de72c2ef75c17c8154b0c5088b)
273

Tomek Mrugalski's avatar
Tomek Mrugalski committed
274
275
276
277
278
1069.	[bug]		tomek
	Improved handling of incoming packets with invalid client-id
	and DUID.
	(Trac #4206, git 2c94f80e30abe53ae5b677762fc69e888c92e03f)

279
280
281
282
283
1068.	[func]		marcin
	Renamed log message compiler binary from 'message' to
	'kea-msg-compiler'.
	(Trac #4228, git bbeb5c776c39b9f4132f7f614720db75590ccef9)

Wlodzimierz Wencel's avatar
Wlodzimierz Wencel committed
284
285
286
Kea 1.0.0-beta released on December 8, 2015

1067.	[doc]		sar
287
	Remove description of option[xx].text operator from classification
Wlodzimierz Wencel's avatar
Wlodzimierz Wencel committed
288
	until its use becomes clearer.
289
	(Trac #4218, git 22fe2bf889984078cd86c2a230a038632d21432c)
290

Wlodzimierz Wencel's avatar
Wlodzimierz Wencel committed
291
1066.	[func]		tomek
292
293
294
295
296
	Configuration parameters for setting up external hosts storage
	are now implemented. This feature is considered experimental
	for DHCPv4 and currently not really usable for DHCPv6.
	(Trac #3569, git 8896c9c3f77a7836d67e6c33943ac4892b851213)

Wlodzimierz Wencel's avatar
Wlodzimierz Wencel committed
297
1065.	[func]		fdupont,tomek
298
299
300
301
	The DHCPv4 server now stores Relay Agent Information option as
	the last one.
	(trac #4121, git 2f883d4afb9b27c6c59d993692370685b206b6c2)

Wlodzimierz Wencel's avatar
Wlodzimierz Wencel committed
302
1064.	[doc]		tmark
303
304
305
	Added Kea logo to documentation.
	(trac #3702, git 7cae813ffe9a7320db5c84ac4beb1c3c0ecabbf7)

Wlodzimierz Wencel's avatar
Wlodzimierz Wencel committed
306
1063.	[func]		marcin
307
308
309
310
311
	It is possible to disable writing generated DHCPv6 server
	identifier in a persistent storage. This also fixes a
	failing distcheck.
	(trac #4211, git d8f39b7aff9312237d4b6d6de39a7336a25ead4c)

Wlodzimierz Wencel's avatar
Wlodzimierz Wencel committed
312
1062.	[func]		marcin
313
314
315
316
	libeval: options may be referenced by their names in
	expressions used for client classification.
	(Trac #4204 git 38aebe9566e09daa30796df686cfdd6d0c43fa4d)

Wlodzimierz Wencel's avatar
Wlodzimierz Wencel committed
317
1061.	[func]		kalmus
318
319
320
321
	MySqlHostDataSource class implementation. It provides methods
	for adding and extracting Host objects to and from MySQL database.
	(Trac #3682, git 275b40fb941a6934c6434715184ae1c39f3fb3f2)

322
323
324
325
1060.	[func]		stephen
	Incremented KEA_HOOKS_VERSION to 3 for Kea 1.0.
	(Trac #4208, git bf6f3d495604942a395b51bbe4c37001b7541242)

326
327
328
329
330
331
1059.	[func]		nicolas
	The client packet is now passed as a new parameter "query4"
	to the pkt4_send hook point. Thanks to Nicolas Chaigneau from
	Capgemini for providing this patch.
	(Github #8, git )

Tomek Mrugalski's avatar
Tomek Mrugalski committed
332
333
334
335
1058.	[func]		tomek
	Two new hook points lease4_recover and lease6_recover have been
	implemented. They are called when a declined IPv4 or IPv6 lease
	concludes its probation period and is being recovered into
Wlodzimierz Wencel's avatar
Wlodzimierz Wencel committed
336
	usable state.
Tomek Mrugalski's avatar
Tomek Mrugalski committed
337
338
	(Trac #3988, 3989, git 1930797c48fee7f4006a33cecd6f08b05ae76725)

339
340
341
342
343
1057.	[func]		marcin
	It is now possible to specify type and value of a DUID used
	as DHCPv6 server identifier.
	(trac #3874, git faf52b069cf774d0050d76b4f47b542b2b5105f2)

Tomek Mrugalski's avatar
Tomek Mrugalski committed
344
1056.	[doc]		sar
345
346
	Added description of the expression based classification
	system to the Kea Admin Guide.
347
	(Trac #4101, git 3ec88e0669470ab406c45d50d0f853f9aeb3bf04)
348

Tomek Mrugalski's avatar
Tomek Mrugalski committed
349
1055.	[func]		fdupont
350
351
352
	Classify match expressions are evaluated on incoming packets and
	requested options are appended when configured by the subnet, a
	class or globally.
353
	(Trac #4097, git 752ad11ff4ebe97ec27d098aff706d1999900346)
354

Tomek Mrugalski's avatar
Tomek Mrugalski committed
355
1054.	[func]		tmark
356
357
358
359
360
361
	Replaced underscores, "_", with hyphens "-", in the parameter
	names used in the kea-ddns server's configuration as well as
	those in the DDNS messages (NCRs) sent to the server. For
	example, "ip_address" is now "ip-address", "change_type" is
	now "change-type".  This makes JSON element naming consistent
	throughout Kea.
362
	(Trac #4202, git 91bf527662060d4b1e294cd53e79b431edf0e910)
363

Tomek Mrugalski's avatar
Tomek Mrugalski committed
364
365
366
367
368
1053.	[doc]		tomek
	Support for DHCPDECLINE (v4) and DECLINE (v6) messages is
	now described in the Kea User's Guide.
	(Trac #3990, git 6b0db91610420f3cce55d9f887d7c73660ece209)

369
370
371
1052.	[func]		marcin
	libeval: expressions involving options can now use textual or
	hexadecimal format of the options.
372
	(Trac #4093, git 4cdf0fff1067b3dde6570dc6831e8b1343bc50fe)
373

Tomek Mrugalski's avatar
Tomek Mrugalski committed
374
1051.	[func]		tmark
375
376
	kea-dhcp4 and kea-dhcp6 configuration parsing now supports
	the "client-classes" element for defining client classes.
377
	(Trac #4096, git d21fd6925983eb20f82029e3866652398ea5e5fe)
378

Tomek Mrugalski's avatar
Tomek Mrugalski committed
379
1050.	[doc]		tmark
380
381
	Corrected the descriptions of ncr-protocol and ncr-format parameters
	in the Kea Admin Guide.
382
	(Trac #4117, git 034c1c95b57768d5abbc7fb40cc57d7cadad21dd)
383

384
385
386
387
1049.	[build]		fdupont
	Add a new --enable-generate-parser configuration parameter
	(disabled by default) which makes flex and bison to regenerate
	parser files.
Francis Dupont's avatar
Francis Dupont committed
388
	(trac #4125, git 18321bf85f93b24d720f1ab2d90b4f4da85bc471)
389

390
391
1048.	[func]		fdupont,tomek
	Implement expression parser for client classification.
Francis Dupont's avatar
Francis Dupont committed
392
	(Trac #4088, git ac9eb312bfd1c6bf22a868ad789a0c049f33f637)
393

394
395
396
397
398
399
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)

400
401
402
403
404
405
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)

406
407
408
409
1045.	[func]		tmark
	Added classes for storing client class definitions to libdhcpsrv.
	(Trac #4095, git 1039a942450e2a45a1e1aa9924cae4fdbd1541fe)

410
411
412
1044.	[build]		fdupont
	With the addition of a background thread for timeouts, ensure that
	the configuration and process spawning code are thread safe.
413
	(Trac #4060, git 4c130bd7c8d0eb97966e9821bab491bca5321b6c)
414

415
416
1043.	[func]		fdupont
	Implemented support for hex strings in client classification.
Francis Dupont's avatar
Francis Dupont committed
417
	(Trac #4091, git 406153af95404adb96296df09ec6033b484586e3)
418

419
420
421
1042.	[doc]		fdupont
	User Guide: parameters having default values may be omitted in the
	option definitions.
Francis Dupont's avatar
Francis Dupont committed
422
	(Trac #3927, git c7460e849258ec77cf1215a2baf840d98f1ab77b)
423

Tomek Mrugalski's avatar
Tomek Mrugalski committed
424
1041.	[func]		tomek
Wlodzimierz Wencel's avatar
Wlodzimierz Wencel committed
425
	A new library, libkea-eval has been added. It is not functional
Tomek Mrugalski's avatar
Tomek Mrugalski committed
426
427
428
429
	yet, but its purpose is to provide a generic expression
	evaluations that will be used in the upcoming client classification.
	(Trac #4081, git 28d818a26a5d128e8a51d62b68c0cc817e6e2415)

430
431
432
433
434
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)

435
436
437
438
439
1039.	[doc]		marcin
	Configuration parameters pertaining to processing expired
	leases by the DHCPv4 and DHCPv6 server have been documented.
	(Trac #3979, git a2ee99ba313e54a9dcf8a09ed118dbfe612e3d55)

440
441
442
443
444
1038.	[func]*		marcin
	DHCPv4 and DHCPv6 servers reclaim expired leases before they
	are re-assigned.
	(Trac #3977, git 5880e706cb27c19b1b70296ccd8d96e38e82027b)

445
446
447
1037.	[func]		fdupont
	Added a new 'leases-reclaim' command which reclaims expired leases
	immediately.
Francis Dupont's avatar
Francis Dupont committed
448
	(Trac #3978, git 9d5716e5bd6b151d90591f8497bae689321875c2)
449

450
451
452
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
Wlodzimierz Wencel's avatar
Wlodzimierz Wencel committed
453
	and reclamation.
454
455
	(Trac #3969, git 8fde70c1b63b5a2646688290b1d0cf53f4c964ad)

456
457
458
1035.	[doc]		fdupont
	Modified documentation of DHCP options to show internal format
	of records.
Francis Dupont's avatar
Francis Dupont committed
459
	(Trac #4071, git c5cffe74ac1bd38e4870ff1c22c36febb46e8c27))
460

461
462
1034.	[func]		fdupont
	Add support for DHCPv4 subnet selection option.
Francis Dupont's avatar
Francis Dupont committed
463
	(Trac #4058, git b7072884e8ce74dc64cd74e101d81e5c0763f492)
464

465
466
467
468
1033.	[bug]		stephen
	Updated OutputBuffer class to address warnings from Coverity.
	(Trac #3443, git 4bf0a14aa7a1303ed6959127c5354687e9f222ba)

469
470
471
472
473
474
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)

475
476
1031.	[build]		fdupont
	Rewrote the system_messages tool from Python to C++.
477
	(Trac #3516, git a8195310c641027d1822344cafad64e6f695d614)
478

479
480
481
1030.	[bug]		marcin
	Fixed failing 'reclaimExpiredLeasesTimeout' unit tests on
	some virtual machines.
482
	(Trac #4075, git c3a2487f53ecf69edc0a38f574fce17c4332162c)
483

484
485
486
487
488
489
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)

490
491
492
493
494
1028.	[func]		marcin
	Expired leases are processed periodically according to the
	server configuration.
	(Trac #3975, git 3bd8891c0b9cb7dc504fa69251610996775cefbf)

495
496
497
498
499
1027.	[func]		tomek
	Expired declined IPv6 leases can now be reclaimed (returned to the
	available pool) after probation	period elapses.
	(Trac #3985, git 9aadfa902d898ce1f52b773152a5b34519a9a9fe)

500
501
502
503
504
1026.	[doc]		stephen
	Added documentation for the kea-dhcp4.commands and
	kea-dhcp6.commands loggers.
	(Trac #3952, git 3eb5d3185683e05494c1d84ed7195627fce4b6c1)

505
506
507
508
509
510
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)

511
512
513
514
515
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.
516
	(Trac #3499, git 99ca398d4d042a098b5c491368733220db8cdd08)
517

518
519
1023.	[func]		tmark
	kea-admin now supports upgrading from MySQL schema version 3.0
520
	to 4.0.  In addition, the lease6 data dump now contains the
521
522
523
524
	text label for lease_hwaddr_source column rather than its
	numeric value.
	(Trac #3967, git 2e13ac3b0b278faabe338b00ffee8259c13f5342)

525
526
527
528
529
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
530
	(Trac #4057, git 8c02cec5ec8e311a9d23fd582d8e9e8647667abb)
531

Stephen Morris's avatar
Stephen Morris committed
532
533
534
535
536
1021.	[bug]		stephen
	Added missing address parameter to ALLOC_ENGINE_V4_REQUEST_OUT_OF_POOL
	message.
	(Trac #3996, git 680233550747209a1707e8f920179479b980aa2a)

537
538
539
1020.	[func]		kalmus
	A general purpose base class for MySQL connection has been
	implemented.
Stephen Morris's avatar
Stephen Morris committed
540
	(Trac #3681, git 884d8bb4a55d3d7b1b8f3f01efb312bd8dec399b)
541

542
543
544
545
546
1019.	[func]		marcin
	Added new configuration parameters controlling processing of the
	expired leases in the DHCPv4 and DHCPv6 server.
	(Trac #3974, git c998d36c40cc46ffe9f888e615bbcfa0a311d40d)

547
1018.   [func]		sar
548
549
550
	Added support for several options for use by PXE.
	From RFC4578 (for DHCPv4) these are: 93 - client-system,
	94 - client-ndi, 97 - uuid-guid.
551
	From RFC5970 (for DHCPv6) these are: 59 - bootfile-url,
552
	60 - bootfile-param, 61 - client-arch-type, 62 - nii.
553
	(Trac #3576, git fdcc73afe7e26bd427817fd771567b1c44713b06)
554

555
556
557
558
559
560
561
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)

562
563
564
565
566
567
568
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
569
	(Trac #4004, git 760a343efbd241f5ed333cfff088124378f69115)
570

571
572
573
574
575
1015.	[func]		tomek
	Expired declined leases can now be reclaimed (returned to the
	available pool) after probation	period elapses.
	(Trac #3984, #3976, git 32a8ec68e0e5ea93991915812158d7628d2b4709)

576
577
578
579
1014.	[func]		marcin
	Implemented lease4_expire and lease6_expire hooks in libdhcpsrv.
	(Trac #3972, git 8a8547aec1caf2a8d1c7ca206f68534f3c03f1d9)

580
581
582
583
584
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
585
586
1012.	[bug]		stephen
	Replace #include of message_dictionary.h in message_initializer.h
Wlodzimierz Wencel's avatar
Wlodzimierz Wencel committed
587
	with a declaration of the MessageDictionary class, avoiding the need
Stephen Morris's avatar
Stephen Morris committed
588
589
590
	to include message_dictionary.h in the set of header files installed.
	(Trac #4046, git 9f1801b4326f62632a7c9f0aa939d58f120c10e8)

591
592
593
594
595
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
596
	(Trac #4015, git 95f8c0d0af45807c1f303b9bbbb08f82b3bfc343)
597

598
1010.	[bug]		tmark
Wlodzimierz Wencel's avatar
Wlodzimierz Wencel committed
599
	Fixed test failures occurring for some tests after
600
601
602
	IfaceMgr::closeSockets was called.
	(Trac #4067, git 9161867dc6a354659ae8b5115ee437ec76c1771e)

Francis Dupont's avatar
Francis Dupont committed
603
604
605
606
607
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)

608
609
610
611
612
613
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
614
	(Trac #4009, git 8c293bc0d1804a512964621f114e64fcba0abcb9)
615

616
617
618
619
620
621
622
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)

623
624
625
626
1006.	[bug]		marcin
	Fixed issues with threads concurrency in the TimerMgr.
	(Trac #4047, git 48297af6e0443808a482536b61436a42bc6a5b38)

627
628
629
630
631
632
633
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)

634
635
636
637
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
638
	(Trac #3773, git fd2889b9de45e2822b6713663bee06b75259c6dc)
639

640
641
642
643
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
644
	(Trac #3911, git 4d13f5234da33df03c0989829a0e1c1056e53a4e)
645

646
647
648
649
650
651
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)

652
653
654
655
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
Wlodzimierz Wencel's avatar
Wlodzimierz Wencel committed
656
	last subversion sources at http://googletest.googlecode.com/svn/trunk
657
658
	and use the --with-gtest-source configuration argument when
	you'd like to build unit tests).
Francis Dupont's avatar
Francis Dupont committed
659
	(Trac #4024, git 55afd98fead0c16bb81107dfc1a5f49a5e295aa6)
660

661
662
663
664
665
1000.	[func]		marcin
	Implemented Timer Manager which holds the pool of interval
	timers used by the DHCP servers.
	(Trac #3970, git bc8503055338da36d07a2b67c64087f645c9a9e3)

666
999.	[func]*		tmark
667
668
669
670
671
	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.
672
673
	(Trac #2615, git eeebf9f68cf5be6a0f7eefc78832d664361c4990)

674
675
676
677
678
679
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
680
681
682
683
997.	[build]		jreed
	Removed obsolete Python coverage build options.
	(Trac #3483, git a08cbbecbd3b11d0b73f68a40986a353b22ed3be)

684
685
686
687
688
689
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)

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

695
696
697
698
994.	[func]*		marcin
	DHCPv6 server fully supports RFC 7550.
	(Trac #3947, git c06ab97a4e068c4b4b11f4685c56dd402b2385dc)

699
700
701
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
702
	(Trac #4026, git 5eb213647d7ac0a707530d57af2c6dbd725ac1b3)
703

704
705
706
707
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
708
	(Trac #3752, git 16c4c2b6d95c45864ec3e2b27e0d320e386b2c0b)
709

710
711
712
713
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
714
	(Trac #4006, git e06934f211436eea37439128ff6f388709f01101)
715

716
717
718
719
720
990.	[bug]		tomek
	Improved child process signal handling. Improved number of
	exception handling routines in DHCPv4 and DHCPv6.
	(Trac #4000, git bf5e48f2cf80b5263cc89f445795bc8c5b8f011d)

721
722
Kea 0.9.2 released on July 28, 2015

723
724
725
726
727
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)

728
729
730
731
732
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)

733
734
735
736
737
987.	[bug]		marcin
	Fixed textual representation of the options containing an array
	of 1 byte long unsigned numbers.
	(Trac #3959, git 9045fd9d6d282184cce10a622c0108abab029d5b)

738
739
740
741
742
986.	[bug]		marcin
	Fixed the failing lease allocation from the large address and
	prefix pools.
	(Trac #3958, git c86b6a68725e2f57679598ff4890fc82f4482c20)

743
744
745
746
747
748
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)

749
984.	[bug]		tmark
750
	Replaced used of "kill -0" with "ps -p" in keactrl when
751
752
753
754
	checking of servers are alive.  This makes it possible for
	non-root users to use keactrl to monitor server status.
	(Trac #3954, git f7f22b244343a3dc2d06645a47c2c65a5134326e)

755
756
983.	[bug]		fdupont
	Enforce numeric month values in Posix date printing.
Francis Dupont's avatar
Francis Dupont committed
757
	(Trac #3944, git fdbe74b0235055057a37c6ce2b0aaf88f0cc7891)
758

759
760
761
762
982.	[bug]		marcin
	Fixed the typo in the name of the D2 logger.
	(Trac #3951, git 92305b2a1774df1cf1bdfeb93d787fea0ab27f74)

763
764
765
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
766
	to it misinterpreting which processes are or are not running.
767
768
	(Trac #3939, git 93a720ed7ffdffe66bd835cd64f78e4ad601637a)

769
770
771
772
980.	[doc]		marcin
	Updated Developer's Guide.
	(Trac #3484, git 220c337c31a592311363eca981c7f1578abbe15d)

773
774
775
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
776
	(Trac #3920, git bd42a66fb67aab3fe397523c6fdbf14a939587c8)
777

778
779
780
781
782
783
784
785
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)

786
787
788
789
977.	[doc]		tomek
	Frequently Asked Questions section added to the Kea User's Guide.
	(Trac #3873, #3847, git 95683c9d3c3dd7024269df1904b6cbe5817741a2)

790
791
792
793
976.	[build]		tomek
	Included missing Doxygen documentation images in the tarball.
	(Trac #3928, git 2fb63a18897b93b12a5fc4635d4ac29e0bf82841)

794
795
796
797
798
799
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)

800
801
802
803
804
805
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)

806
807
808
809
810
811
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)

812
813
814
815
816
817
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)

818
819
820
821
822
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)
823

824
825
970.	[bug]		fdupont
	Refactored some code to suppress cppcheck warnings.
Francis Dupont's avatar
Francis Dupont committed
826
	(Trac #3919, git 26be6ac4cefde012ca8ef12607b6beaadca13eed)
827

828
829
Kea 0.9.2-beta released on June 30, 2015

830
831
832
833
834
835
836
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)

837
838
839
840
841
842
843
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)
844

Tomek Mrugalski's avatar
Tomek Mrugalski committed
845
846
847
848
849
967.	[doc]		tomek
	Management API section added in the DHCPv6 chapter of the Kea
	User's Guide
	(Trac #3917, git 21305d2da26090e3fad1ff9fb242a2bbb6b7e56b)

850
851
966.	[func]		fdupont
	Include database software details in extended version information.
Francis Dupont's avatar
Francis Dupont committed
852
	(Trac #3882, git b0e166c4d8b0383ebd6e2f51d55eed68a2bcafa8)
853

854
965.	[func]		sar
855
	Per IPv6 subnet statistics (subnet[id].assigned-nas,
856
857
	subnet[id].total-nas, subnet[id].assigned-pds, and
	subnet[id].total-pds) has been implemented.
858
	(Trac #3799, git 4aa4808268bbc54290578f60ba60ed33cf344712)
859

Tomek Mrugalski's avatar
Tomek Mrugalski committed
860
861
862
863
864
865
866
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
867
868
869
870
871
	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)

872
873
874
875
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
876
	(Trac #3618, git f4066793c5e034386c689fd72d2a91a70ffb6d5f)
877

878
879
880
881
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
882
	(Trac #3697, git 70fc36e164e988c251bdaaee7e27c5f6407e0f4c)
883

884
960.	[build]		fdupont
Francis Dupont's avatar
Francis Dupont committed
885
886
	Get rid of the last bundy pieces of code.
	(Trac #3732, git 6b7da42f902fabb6855e54a19ea472c18ba82a93)
887

Francis Dupont's avatar
Francis Dupont committed
888
889
890
891
959.	[build]		fdupont
	Removed no longer used logging in cc and config libraries.
	(Trac #3732, git 8d0324f4786900db953489ebaa9e018b1238543f)

892
893
894
895
896
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
897
	(Trac #3880, git 688658395518f0b97d5384af81ceab5206691ad5)
898

Tomek Mrugalski's avatar
Tomek Mrugalski committed
899
900
901
902
903
957.	[func]		tomek
	Per IPv4 subnet statistics (subnet[id].assigned-addresses and
	subnet[id].total-addresses) has been implemented.
	(Trac #3798, git bab2030f56bbf390959f9f9238a8acc62d583c70)

904
905
906
907
908
956.	[func]		marcin
	Improved log messages emitted by the allocation engine,
	which now uses a dedicated logger.
	(Trac #3852, git 923928774f4f59c887d768cf155b5978e838a6f2)

909
910
911
912
913
914
915
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)

916
917
918
919
920
921
922
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
923
	(Trac #3513, git 584cf666e101c6cb5c9af76175ddd867ece85764)
Francis Dupont's avatar
Francis Dupont committed
924
	(Trac #3859, git 384e6c6225de18fc97d606e4a1972baeef598ba4)
925

926
927
928
953.	[bug]		fdupont
	Corrected the setting of string characters to values above 127
	in HMAC tests.
Francis Dupont's avatar
Francis Dupont committed
929
	(Trac #3829, git 54f4ec64e513fea1547631122dc1af8579fae3db)
930

931
932
933
934
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
935
	(Trac #3833, git 3db9f1d78f59856b982a1ff84c3b5a1ba7ea39df)
936

937
938
951.	[build]		fdupont
	Removed BUNDY configuration backend.
939
	(Trac #3732, git 96364cbbb15318c8f55d5b287cda0990d3eaae32)
940

941
942
943
944
945
946
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)

947
948
949
950
951
952
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)

953
954
955
948.	[bug]		fdupont
	libdhcpsrv: check if new host reservation tries to use an already
	reserved address.
Francis Dupont's avatar
Francis Dupont committed
956
	(Trac #3652, git 4f10b78341b197bd321fbf2ec71db7420e40718d)
957

958
959
960
961
947.	[func]		marcin
	DHCPv6 server now supports Rapid Commit option.
	(Trac #3070, git a6b6156aaa95ab74c69a537e90483f82e9fbe4a2)

962
963
964
965
966
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)

967
968
969
970
971
972
973
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)

974
975
976
977
978
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.
979
	(Trac #3883, git 990a0d72fa247e4a12e2608994204c48274e4cd6)
980

981
943.	[func]		sar
982
983
984
985
	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.
986
	(Trac #3808, git 4fbe08234049de6ef67bb5cdb244d180a7a4c3a9)
987

Tomek Mrugalski's avatar
Tomek Mrugalski committed
988
989
990
991
992
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)

993
994
995
996
997
941.	[bug]		marcin
	Configuration parser for host reservations returns an error
	when an unsupported parameter is specified.
	(Trac 3810, git 54ee0f6328a303c366dd8239e768dfc4a23a5d9b)

998
999
1000
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
1001
	(Trac 3504, git f0f13ac74779f76ed7af91bd5dab3d11ba00be79)
1002

1003
1004
1005
1006
939.	[bug]		fdupont
	Small fix in HooksDhcpv4SrvTest.subnet4SelectSimple unit-test.
	(Trac 3881, git a21afdffec41fceb61e6760d4108d670b2eabe75)

1007
1008
1009
938.	[build]		fdupont
	Removed Python from the log library (code, message compiler and
	documentation)
Francis Dupont's avatar
Francis Dupont committed
1010
	(Trac #3734, git d24b7c9716c6eb7a3e9dd2cb3fd2d1bfe4e1201f)
1011

1012
1013
1014
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
1015
	(Trac #3762, git 235e3304746352e9341008225f9f2392586a9f66)
1016

1017
1018
1019
1020
1021
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
1022
	(Trac #3868, git c20f47e19d6060605c0611754db7b66b08553caa)
1023

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

1028
1029
1030
1031
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
1032
	(Trac #3861, git 28205225ceed03ff3126e43cd06cedbaa7d8d657)
1033

1034
1035
1036
1037
1038
1039
1040
1041
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)

1042
1043
1044
1045
1046
1047
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)

1048
1049
1050
1051
1052
1053
1054
1055
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)

1056
1057
1058
1059
1060
1061
1062
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
1063
1064
1065
	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
1066
	(Trac #3713, git 741ff09b743307bad28ae13db440e5e0f402d319)
1067

1068
1069
1070
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
1071
	(Trac #3812, git cbb135d5f217b0692dcdbc9cfcc04f6a0dbc3922)
1072

1073
927.	[bug]		tmark
1074
	DHCPv4 no longer attempts to update the lease database with the
1075
1076
1077
	generated FQDN when processing DHCPDISCOVERs.
	(Trac #3779, git 0b413ee8aba1afa1643b216a1e8c35103c6c975b)

1078
1079
1080
1081
926.	[bug]		marcin
	Fixed the crash during the logging deinitialization.
	(Trac #3823, git 435b958860ec7b921645bd5923fff96ea4341f19)

1082
1083
1084
1085
1086
1087
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)

1088
1089
1090
1091
1092
924.	[bug]		marcin
	Removed shell warning about the "missing format character"
	in the keactrl usage.
	(Trac #3784, git aa683395a4cd75af5340eb8603fe46b7b0dd8f4e)

1093
1094
923.	[func]		tmark
	The DHCPv4 server now logs packets it has either dropped as invalid
1095
	or to which it has replied with a NAK to a separate logger,
1096
1097
1098
	"kea_dhcp4.bad_packet".
	(Trac #3743, git cb91ca851099423e1b6c39cca3f3e2ba29795a51)

1099
1100
1101
922.	[build]		fdupont
	The config.h file should never be included by another include file.
	Copy missing header files to the install directory.
1102
	(Trac #3782, git ea6e9d166faa54b1f9781bc56d7d8fee6c87b1f9)
1103

1104
1105
921.	[func]		marcin
	libdhcpsrv: Added log traces to the host manager.
1106
	(Trac #3699, git 75b75c89db88eb1a81e76f5550f2a5b3155ce42d)
1107

1108
1109
1110
1111
1112
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.
1113
	(Trac #3198, git 8216a6b1a2ed6e2b38919280809ee21fc4107fd6)
1114

1115
1116
Kea 0.9.1 released on March 31, 2015

1117
1118
919.	[doc]		stephen
	Corrected some configuration examples in the documentation.
1119
	(Trac #3772, git e9f084525bc1eec1cca635c00f33228bf7fac6a4)
1120

1121
1122
918.	[func]		tomek,tmark
	DHCPv6 server now supports static reservations of hostnames
1123
1124
	for clients.  Note this resolves #3708 by reducing the number
	of calls to selectSubnet to once per client request.
1125
	(Trac #3689, git c13c824d9948f7e3f71a65ed43798f3b5c14042c)
1126

1127
1128
1129
1130
1131
1132
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
1133
916.	[func]		sar
1134
1135
1136
1137
	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.
1138
	(Trac #3755, git c71c7836804842bae51fe79fd599c57f5b3d007d)
1139

1140
1141
1142
1143
1144
1145
1146
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)

1147
1148
1149
1150
1151
1152
1153
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)

1154
913.	[bug]		sar
Shawn Routhier's avatar
Shawn Routhier committed
1155
1156
	Handle recovery properly should the LFC crash while
	manipulating files after completing processing.
1157
	(Trac #3759, git bb3b4d14119392261a1766da2b406fa46d4c0f21)
Shawn Routhier's avatar
Shawn Routhier committed
1158

1159
912.	[doc]		sar
1160
1161
	Added sections on LFC to the administrators and developers
	guides.
1162
	(Trac #3720, git 828b801e6a4616de331588076ab9c4c35677595)
1163

1164
1165
1166
1167
1168
1169
1170
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)

1171
1172
1173
1174
1175
910.	[func]		marcin
	DHCPv4 server supports static reservations of the hostnames
	for the clients.
	(Trac #3688, git b5c50e2aff64da05b439da8d5fa4913fc8a704ca)

1176
1177
1178
1179
1180
909.	[bug]		marcin
	Removed many cppcheck errors in the code. Also removed the
	dhcp-ubench test tool.
	(Trac #3736, git 552aea126e968b78292ae80c1c6a03c9ef4dcdcd)

1181
1182
1183
1184
1185
908.	[bug]		marcin
	Handle overflows during time conversions in the MySQL and
	PostgreSQL lease database backends.
	(Trac #3673, git 27b4e4590fdee507f0e877d7b771dc6c6457a4b5)

1186
1187
1188
1189
1190
1191
1192
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)

1193
1194
1195
906.	[doc]		tmark
	Added description of a restriction on extracting a MAC
	address from an IPv6 link-local address to the Kea
1196
	Administrator Reference, section 8.8, item "ipv6-link-local".
1197
	(Trac #3691, git ca9f5541cb36f815ac614c5c21088d545eafcac6)
1198

1199
1200
1201
1202
1203
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)

1204
1205
1206
1207
1208
1209
1210
1211
1212
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)

1213
1214
1215
1216
1217
1218
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)

1219
1220
1221
1222
1223
1224
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)

1225
1226
Kea 0.9.1beta released on February 18, 2015

1227
1228
1229
1230
1231
1232
1233
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)

1234
1235
1236
1237
1238
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
1239
1240
1241
1242
1243
1244
1245
1246
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)

1247
1248
1249
898.	[func]		marcin
	The DHCPv4 server configuration allows for opening multiple
	sockets on a single interface with multiple IPv4 addresses
1250
	assigned. This facilitates the use case when different relay
1251
1252
1253
	agents send messages to different addresses on the interface.
	(Trac #3695, git 3116243706a2dbcae3f9b5b3af9d2241a07b9ab2)

1254
1255
1256
1257
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
1258
	(Trac #3712, git 0b38ff6a6e77eb4182bfd7c0c681bef22ad5f634)
1259

1260
1261
1262
1263
1264
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
1265
1266
1267
1268
895.	[doc]		tomek
	Host reservation for DHCPv4 and DHCPv6 is now documented.
	(Trac #3575, git a981e42eb0f39d27795364a6862b3a5e574e540a)

1269
1270
1271
894.	[bug]		fdupont
	Accept empty options or sub options in DHCPv4 messages unpacking
	routines.
Francis Dupont's avatar
Francis Dupont committed
1272
	(Trac #3661, git 42a4854208ec16834c590a9316b9a5306c60a3bb)
1273

1274
1275
1276
1277
1278
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
1279
	(Trac #3632, git 12808651448837c611e4f6a262f7a1eb3deaf8da)
1280

1281
892.	[func]		sar
Shawn Routhier's avatar
Shawn Routhier committed
1282
1283
1284
1285
	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.
1286
	(Trac #3667, git 7f36e034fe79d85f317d7d07e2fe636d6cdf1f6e)
Shawn Routhier's avatar
Shawn Routhier committed
1287

Tomek Mrugalski's avatar
Tomek Mrugalski committed
1288
1289
1290
1291
1292
891.	[func]		tomek
	libdhcpsrv: Allocation Engine now uses statically assigned
	addresses when processing DHCPv6 renewals.
	(Trac #3677, git 9ce50790c91624937ff2b622e4afff36d5d3cc2d)

1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
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)