ChangeLog 313 KB
Newer Older
1
2
3
4
5
1216.	[func]		fdupont, tomek
	Command line option -t implementated for DHCPv4 and DHCPv6.  It
	allows configuration sanity checking. Note that not all parameters
	are completely checked. In particular, service and control channel
	sockets are not opened, and hook libraries are not loaded.
Francis Dupont's avatar
Francis Dupont committed
6
	(Trac #3770, git 1d12582e270935ee7b72548d9c66753f4eea4ca4)
7

8
9
10
11
1215.	[doc]		tomek
	Developer's Guide updated to cover flex/bison parser.
	(Trac #5112, git 44139d821c1f4e43dbff22d49101a0854e4f9f5b)

12
1214.	[func]		tomek
13
14
15
16
17
	Bison parser implemented for Control-agent. The code is able
	to syntactically parse input configuration, but the output
	is not used yet.
	(Trac #5076, git d99048aa5b90efa7812a75cdae98a0913470f5a6)

18
19
20
21
1213.	[bug]		fdupont
	Option string values containing comma can now be specified
	correctly by preceding comma with double backslashes (e.g.
	"foo\\,bar").
Francis Dupont's avatar
Francis Dupont committed
22
	(Trac #5105, git fa79ac2396aa94d7bac91bd12d3593ebaaa9386d)
23

24
25
26
27
1212.	[doc]		andreipavelQ
	Many spelling corrections.
	(Github #47, git a6a7ca1ced8c63c1e11ef4c572f09272340afdd7)

28
29
30
31
32
1211.	[func]		andreipavelQ
	Updated PostgreSQL version reporting to be in line with
	MySQL and Cassandra.
	(Github #42, git 7ef4a190facadd66775b4a44c696d1c4215616cd)

33
34
35
36
1210.	[doc]		andreipavelQ
	Doxygen version updated to 1.8.11.
	(Github #45, git ce72998382b62269823fa0dcbfa41dfa9c72b69e)

37
38
39
40
41
1209.	[func]		tomek
	Relay options are now printed in DHCPv6 when suffiently detailed
	debug logging is requested.
	(Trac #5131, git 5bf58b21fcf07f2e2e97275efa1f76cde913b30a)

42
43
44
45
46
47
48
49
1208.	[func]		tomek
	Global DHCPv4 and DHCPv6 parsers have been migrated to the
	SimpleParser framework. Several parameters (renew-timer,
	rebind-timer, preferred-lifetime, valid-lifetime, match-client-id,
	next-server, decline-probation-period, dhcp4o6-port,
	echo-client-id) now have explicit default values.
	(Trac #5019, git f3538dd031e6f29abcd516f425d72c8f929abbb0)

50
51
52
1207.	[func]		fdupont
	Client classes parser migrated to SimpleParser. The 'name'
	parameter in 'client-classes' definitions is now mandatory.
Francis Dupont's avatar
Francis Dupont committed
53
	(Trac #5098, git e93906e48a6e2b0ff78c5e37dca642646fe47d43)
54

Tomek Mrugalski's avatar
Tomek Mrugalski committed
55
56
57
58
59
1206.	[func]		tomek
	'hooks-libraries' parser migrated to SimpleParser. The code will
	now refuse a configuration if a hook library fails to load.
	(Trac #5031, #5041, git 1bbaf4cbcf6fda59bacdf526a6c762315fdd88a1)

Tomek Mrugalski's avatar
Tomek Mrugalski committed
60
61
62
63
64
1205.	[func]		tomek
	Parsers for interfaces configuration converted to SimpleParser.
	Removed obsolete 'version' parameter in Dhcp6.
	(Trac #5020, #5038, git 3d8e48c640e302670c04907468d11faafbe9fe7b)

65
66
67
68
69
1204.   [func]         marcin
	Added 'control_command_receive' hook point to Kea Command
	Manager.
        (Trac #5100, git d0c7cb29a7df3588c540afb4ca56de55f26142e0)

70
71
72
73
74
75
1203.   [func]         marcin
	Implemented TCPAcceptor class in libkea-asiolink. This class
	provides means to listen and asynchronously accept new TCP
	connections.
        (Trac #5094, git 920ba90696ba9d8579a7db5e1efcf955d6654a96)

Tomek Mrugalski's avatar
Tomek Mrugalski committed
76
77
78
79
80
81
82
1202.	[func]		tomek
	Parsers for mac-sources, control-socket, and relay-info converted
	to SimpleParser. It is no longer accepted to specify empty
	mac-sources. Either specify actual values in mac-sources or
	don't specify mac-sources at all.
	(Trac #5032, git f1c9dee0936b48be28f890ffd428fbdeb87c12ea)

83
84
85
86
87
88
89
1201.	[func]		tmark
	kea-dhcp4 and kea-dhcp6 now support the "set-config" command.
	The command causes the server to replace its current configuration
	with the configuration supplied as the command's argument.
	(Trac #5046, git 4afbdcf89c9f83d944f774d05bd401d3f2768d10)

1200.	[func]		tmark
90
91
92
93
94
	kea-dhcp4 and kea-dhcp6 now support the Command Channel "libreload"
	command.  The command causes the server to unload and then load all
	currently loaded hook libraries.
	(Trac #3238, git d4d8665494e1847b34b66f8ef542851ea6f0213c)

95
96
97
98
99
100
101
102
103
104
1199.	[func]		tomek, fdupont
	Dhcp4 parser migrated to bison. This yields a number of user
	visible changes:
	- better comment handling (bash, C, C++ style comments)
	- file includes now supported
	- better syntax checking
	- added advanced.json config example
	- removed obsolete 'version' parameter
	(Trac #5017, git 1cf853c595a100c86f9b2b3353f1b5964d902147)

105
106
107
108
1198.   [func]         marcin
	Created kea-ctrl-agent. This application currently doesn't
	do anything. Future tickets will add REST API to allow for
	managing Kea services.
109
	(Trac #5075, git 1ec7586da5ae1474b52d5a395fb80ee37d6d568e)
110

Tomek Mrugalski's avatar
Tomek Mrugalski committed
111
112
113
114
115
1197.	[doc]		tomek
	Configuration examples now set lfc-interval to a default
	value of one hour.
	(Trac #5072, git cf4362196fa2b7892643d1e40b974bb450a3de7e)

Tomek Mrugalski's avatar
Tomek Mrugalski committed
116
117
118
119
120
121
122
123
1196.	[func]		tomek, fdupont
	Dhcp6 parser migrated to bison. This yields a number of user
	visible changes:
	- better comment handling (bash, C, C++ style comments)
	- file includes now supported
	- better syntax checking
	(Trac #5036, git 4c5902da95a5228275cdb151b357864cfa9c31f5)

124
125
126
1195.	[build]		fdupont
	Altered to compile in C++ 2011 standard mode. Also replace (most)
	instances of the deprecated std::auto_ptr with std::unique_ptr.
Francis Dupont's avatar
Francis Dupont committed
127
	(Trac #5066, git a060d4a983860bf3056d50d9bf7ee4355c8372f2)
128

129
130
131
132
1194.   [build]     	marcin
	Moved StateModel class from D2 to libkea-util.
	(Trac #3175, git 270ec379aec2894104a299cdd1080e24007e25fb)

133
134
135
136
137
138
139
140
141
1193.	[doc]		stephen
	Update Hook Developers documentation to make it clearer where
	the Kea include files and libraries are located.
	(Trac #5069, git 14a78caaf3af9fe9a0ffe2c8af784eab78e813e0)

1192.   [build]     marcin
	Created libkea-process library and moved the Controllable
	Process Layer (CPL) from D2 to this new library.
	(Trac #5074, git 4563925f7966e9da2132eb427e742cc3d3feee5d)
142

143
144
145
146
1191.	[build]		tomek
	Optional support for premium package added.
	(Trac #5027, git 5ff51f28a1f05d941bb117986922a6f410f23c6c)

Tomek Mrugalski's avatar
Tomek Mrugalski committed
147
148
149
150
151
1190.	[func]		tomek
	User context implemented: an arbitrary user information can
	now be defined for address and prefix pools.
	(Trac #5023, git 4f81789e19b72c933bcf86e402b417c63bd7bd3f)

152
153
154
1189.	[func]		fdupont
	Owing to API changes, crypto code now requires OpenSSL 1.0.1 or
	later.
Francis Dupont's avatar
Francis Dupont committed
155
	(Trac #3908, git 4c14fdfd4187a4c8f7b775432082b76782e47663)
156

157
158
1188.	[doc]		vlegout
	Fixed several spelling mistakes.
159
	(Github #32, git d51c005519c4add6fd0c37bcd68b0fbe94941b2d)
160

161
162
163
164
165
166
167
1187.	[bug]		marcin
	DHCPv4 server allows for allocating multiple leases for the
	same hardware address if a different client identifier is
	used for each lease. This facilitates the PXE boot use cases
	where a booted machine may request a lease multiple times.
	(Trac #5029, git 03defed4d8bb9a997d31dbfcf30ae3f866bd3353)

168
169
170
171
172
173
1186.	[func]		marcin
	Support for DHCPv6 options defined in RFC6603 and RFC7598. Thanks
	to Andrei Pavel and Cristian Secareanu of Qualitance for submitting
	initial implementation.
	(Trac #github24, git 59b62eb3ddd9db62c04bd47cd8fbdc1af62fbc1b)

174
175
176
177
178
1185.	[build]		marcin
	Install Kea headers to be used for building external libraries.
	Before this change some required headers were not installed.
	(Trac #5055, git a46087b7b7face4a1318658bbdcbf7602c1bb729)

179
180
181
182
183
1184.	[bug]		eest
	Fixes in the occasionally failing LFC unit test. This
	fix was provided by Patrik Lundin.
	(Github #31, git 69a5722bf3b41bf3b2bc0c2bcac966c23c08f62d)

184
185
186
187
188
189
190
191
192
1183.	[bug]		tmark
	kea-dhcp4 now correctly loads declined leases from CSV
	lease files. Prior to this, declined leases were being
	incorrectly and silently discarded.  In addition, both
	kea-dhcp4 and kea-dhcp6 will now emit an error log for
	each invalid row encountered when loading leases from
	CSV files.
	(Trac #5058, git 29b088079bed3c5059fdf8a43a4e79cd7f9a4207)

193
194
195
196
197
1182.	[func]		marcin
	DHCP servers detect overlapping pool ranges during
	configuration.
	(Trac #2280, git c8f931e0189c9630f5fba5d2a5553bed4abf36f7)

198
199
200
201
202
203
1181.	[func]		marcin
	Extended DHCPv6 server to allow for specifying DHCP options
	on address and prefix pool levels.
	(Trac #5022, git e3b2785c79aedbb0c8af7468d61f6d61dafd2282)

1180.	[doc]		stephen
204
205
206
207
	Editing pass through the Kea guide.
	(Trac #4484, git 63456fab1b978bd515198b9b9e604f293efd8217)
	(Trac #5008, git f09cd12d5b1abc60ccef98df2abc6c41b482a404)

Tomek Mrugalski's avatar
Tomek Mrugalski committed
208
209
210
211
1179.	[doc]		tomek
	Manual pages updated.
	(Trac #3515, git 4cf0395e11e724786c4d2a1d48805f1c770f4c99)

212
1178.	[doc]           tomek
213
214
215
	user_chk hook library is now documented in the User's Guide.
	(Trac #3209, git 4a8534d968a21cff3851619fb22d0032a1202c87)

216
217
218
219
1177.	[build]	marcin
	Updated Kea libraries version numbers for 1.1-final release.
	(Trac #5012, git 6e9a224b46def357141a31386fcc912b29dfe16d)

220
221
222
223
1176.	[doc]		tomek
	Developer's Guide has been updated.
	(trac #4299, git ed38076c183394feaef60e7123d0c488c9f6447d)

224
225
226
227
228
229
230
231
232
1175.	[bug]		marcin
	Corrected a bug whereby a client, for which there was no
	host reservation specified, did not obtain an IPv6 lease
	from a server when PostgreSQL or MySQL host database backend
	was in use. In addition, PostgreSQL host database backend
	allows for specifying NULL values in certain columns within
	host reservation tables.
	(Trac #5009, git d3109bb27786867fdc99954ba55367f0ad129e7a)

233
234
235
236
237
1174.	[bug]		tmark
	Modifed kea-dhcp6 to avoid requesting DNS updates when
	existing leases are renewed without changes to the FQDN.
	(Trac #5007, git 05ea3a5eb75c06cf9814c63a1a54261bf58a954b)

238
239
240
241
242
243
1173.	[bug]		xxwolfsrainxx, marcin
	MySQL database creation scripts use single quotes for
	strings to avoid issues with creation of the database
	when MySQL server operates in ANSI_QUOTES mode.
	(github #30, git e40a54a8e24b5f6427edd4afcd5cdc15012b8866)

244
245
246
247
1172.	[bug]		andir
	Kea build fixes for gcc 6, which uses C++14 by default.
	(github #29, git ad68c3942839618c26d7ff017fbac7df139b5d01)

248
249
250
251
252
253
1171.	[doc]		marcin
	Updated supported operating systems and the prerequisites for
	installing and building Kea in the Kea Administrator
	Reference Manual.
	(Trac #4502, git af847837590ce5b37a300ebe15652fb172585b38)

254
255
256
257
258
259
260
1170.	[doc]		marcin
	Updated Kea Administrator's Reference Manual sections
	regarding host reservations. Added configuration examples
	for using host reservations with MySQL and PostgreSQL
	databases.
	(Trac #3684, git 71d21eac51d20ff5d368b17c437abc45c955a04c)

261
262
263
264
265
266
1169.	[doc]		marcin
	Updated Kea Administrator Reference Manual to explain the
	implications of using "kea_verbose" parameter in the keactrl
	configuration.
	(Trac #3950, git c5f4920fd1994882e1fae398ae29b455401296bd)

267
268
269
270
271
1168.	[doc]		marcin
	Corrected location of the Kea repository in the Kea Administrator
	Reference Manual.
	(Trac #4258, git f081000b892287316e54848ca1f62ca3512d4263)

272
273
274
275
1167.	[func]		marcin
	DHCP servers utilize client classes defined in host reservations.
	(Trac #4765, git 242fbc47b31da404e57be458ac065f811084cca9)

276
277
278
279
280
1166.	[bug]		marcin
	Corrected error message produced by the host database access
	parser when the database type was not specified.
	(Trac #4261, git 028dd49f4fa4843e68e23d11c237e9f4683470ba)

281
282
283
284
285
286
1165.	[func]		marcin
	Hostname option is returned to the client when requested using
	Parameter Request List option. Previously this option was only
	returned when a client has sent Hostname option to the server.
	(Trac #5005, git 96ab8ecaa3d5b2d6cd88d0b16406f433d2cdf841)

287
288
289
290
291
292
1164.	[bug]		marcin
	Corrected an issue whereby DHCPv4 server did not correctly set a
	server identifier in response message sent to a client on BSD
	systems.
	(Trac #5003, git 110c67325072a781d55cf0634f8f5f3385611f97)

293
294
295
296
297
1163.	[bug]		marcin
	Corrected swapped DHCPSRV_MEMFILE_GET_EXPIRED{4,6} messages
	in the Memfile lease manager.
	(Trac #4717, git ce5919d97879c3fda0858894b24418af135ef8f3)

298
299
300
301
302
303
1162.	[func]		pallotron
	Added two enhancements to perfdhcp: optionally using MAC
	addresses from a file in new DHCP transactions, and
	generation of DHCPv6 relayed messages.
	(github #22, git c5b4a5981cf642ebb9aecb8acc07b87abdccbd91)

304
305
306
1161.	[bug]		fdupont
	Fixed interface manager receive methods which raise a bug on
	Fedora 24 / gcc 6.1?
Francis Dupont's avatar
Francis Dupont committed
307
	(Trac #4551, git 8d590e434062535e850a60a7892481df845ff390)
308

309
310
Kea 1.1.0-beta released on August 31, 2016

311
312
313
314
315
1160.	[build]		marcin
	Bumped up version numbers of Kea libraries and KEA_HOOKS_VERSION
	for the Kea 1.1.0 beta release.
	(Trac #4632, git 93941523e039a1cc4bb34182a290f9d7b805df34)

316
317
318
319
1159.	[func]		marcin
	MySQL database schema updated to version 5.0.
	(Trac #4562, git 0e40b35e280f0845686bcfdb2efb577c7878ede6)

320
321
322
323
324
1158.	[func]		tomek
	It is now possible to specify fixed fields (next-server,
	server-hostname and boot-file-name parameters) for client classes.
	(Trac #4626, git 89cf54524d8b55cc982ab2146915c0a90fc6efe2)

325
326
327
328
329
1157.	[func]		marcin
	Added support for static reservations for fixed fields in
	DHCPv4 messages: siaddr, sname and file.
	(Trac #4552, git 9b79fe005dd77328ea7c596fc6886f8fb838d1cf)

330
331
332
1156.	[bug]		tmark
	Lease statistics are now recalculated during server startup and
	after each successful reconfiguration for Memfile, MySQL, and PostgreSQL
333
	back ends.  This addresses issues caused by accumulated values being lost
334
	across restarts and reconfigurations making rendering values incorrect.
335
336
	(Trac #4294 git 0abdcf15f85861ffcb67d50fa4ce3965d25e4a9f)

337
338
339
340
341
1155.	[func]		marcin
	Kea can be configured to operate using read-only host database.
	This is only supported for MySQL and PostgreSQL databases.
	(Trac #4489 git 0d8dc7affb67ad8066b44c6f81532b79a641d50b)

342
343
344
345
346
347
1154.	[bug]		stephen
	Changes to logging to avoid premature destruction of some
	objects during program exit.  On some systems this caused
	one of the unit test programs to crash when it terminated.
	(Trac #4494, git 023c2fc3688bcdbccb4b286bea873c8f9c06cd5f)

Tomek Mrugalski's avatar
Tomek Mrugalski committed
348
349
350
351
1153.	[func]		tomek
	Integers can now be used in client classification.
	(Trac #4483, git e90cf0ee4007521b86177be6d5fbb970c02c1075)

352
353
354
355
356
1152.	[doc]		marcin
	Use of PostgreSQL as a storage for host reservations is now
	documented in the Kea Administrator Reference Manual.
	(Trac #4282, git f2879919772c10b1ae8c45d0e761ef199cf84061)

357
358
359
360
361
1151.	[func]		tmark
	Support for assigning client classes to host reservations has
	been added to both the PostgreSQL and MySQL backends.
	(Trac #4277, #4213 git 6990ab9d542e984c59ce5a11ff926c3c732a75fc)

Tomek Mrugalski's avatar
Tomek Mrugalski committed
362
363
364
365
366
367
1150.	[bug]		tomek
	Extended gcc bug workaround to work on all versions of gcc
	from 5.2 up to, but not including 6.0. See ChangeLog entry
	1103 or Trac ticket #4243 for details.
	(Trac #4553, git 80243d9d246b982d86dd7e0d00597383cae01706)

368
369
370
371
372
373
1149.	[bug]		marcin
	Corrected a bug whereby clients were not assigned reserved
	addresses from an external database, as a result of unexpected
	closure of a connection to that database.
	(Trac #4544, git 7f682112dd5ab9fcd6bfa4e10505c246775f353d)

Tomek Mrugalski's avatar
Tomek Mrugalski committed
374
375
376
377
378
1148.	[func]		tomek
	The vendor options (124, 125 in DHCPv4 and 16, 17 in DHCPv6) are
	now accessible from client classification.
	(Trac #4270, #4271, git ef676368f9036625d73f7f34e3fe9b5eeeaee7f1)

379
380
381
382
1148.	[func]		fdupont
	Added the pkt classification token to extract incoming packet
	meta-data (receiving interface name, source and destination
	address, length).
Francis Dupont's avatar
Francis Dupont committed
383
	(Trac #4272, git 9a3bdfa43cf65ef56a8d63580dd5d7414fc41373)
384

385
386
387
388
1147.	[func]		stephen
	-Werror is no longer the default for compilation.  Promotion of all
	compilation warnings to errors now requires the --with-werror switch
	to be specified when running configure.
389
	(Trac #4533, git 874e3a3f5cb10313856284646fcee7cf86e4fcce)
390
391

1146.	[func]		sar
392
	Add the forensic hook library documentation to the admin guide.
393
	(Trac #4511, git 0bb39840a3cbdaf815819f846120c90d9ca038ff)
394

395
1145.	[func]		tmark
396
397
	The Postgresql backend now supports host reservations for both
	DHCPv4 and DHCPv6, with options and IPv6 reservations.
398
399
	(Trac #4277 git ac1eaa1026987c2d86d57b4aa0dc9a4d093787f0)

400
401
402
403
404
1144.	[bug]		mihu
	Response to DHCPINFORM is generally sent to port 68, rather
	than port 67. Thanks to Michal Humpula for providing a patch.
	(github #23, git 4216a4bedf8a884df087c68d48c88ee9ffa444dc)

405
406
407
1143.	[doc]		fdupont
	User's Guide has been updated with DHCPv4-over-DHCPv6 support
	details.
Francis Dupont's avatar
Francis Dupont committed
408
	(Trac #4273, git fe8cb64adeabe00d84ee390b579a8328717ae521)
409

410
411
1142.	[doc]		sar
	Uncomment the example columns in some rows in the table
412
	listing the classification examples.
413
	(None, git dee442a64f57c8d9dd87636f9e39084ed1b11e03)
414

415
416
417
418
419
420
1141.	[func]		marcin
	Pkt4, Pkt6 and Pkt4o6 objects passed to hooks libraries
	return copies of DHCP options to avoid unintended modification
	of the options stored in the server configuration.
	(Trac #4497, git e50d2ebe998ec3faad8ade22b6971d6584c81044)

421
422
423
424
425
1140.	[func]		marcin
	DHCPv6 server supports assigning multiple reserved addresses
	and/or prefixes to a single client.
	(Trac #4321, git 0bfb2a9093174e4424051c01beeee7637ac95be0)

Tomek Mrugalski's avatar
Tomek Mrugalski committed
426
427
428
429
430
431
1139.	[doc]		tomek
	New features of host reservations have been documented: ability
	to reserve standard and vendor options in host reservations. Separate
	sections for each backend added.
	(Trac #4518, git 99a40fead28f4324dfb55f1962a8bf3e85ab70e2)

432
433
434
435
1138.	[build]		fdupont
	Compilation problem on FreeBSD caused by unused parameter in
	certain version of boost headers is now resolved. Also, INSTALL
	file has been updated and now lists dependencies.
Francis Dupont's avatar
Francis Dupont committed
436
	(Trac #4283, git 7dbd95651c308527f2e42c533fdc0a12aeec5308)
437

438
439
440
1137.	[doc]		fdupont
	Developer's Guide has been updated with DHCPv4-over-DHCPv6 support
	details.
Francis Dupont's avatar
Francis Dupont committed
441
	(Trac #4274, git b3eda594e055f03a9a601bacf0c72c3db0ef8e3c)
442

Tomek Mrugalski's avatar
Tomek Mrugalski committed
443
444
445
446
1136.	[doc]		tomek
	Included full text of MPL 2.0 and Apache licenses.
	(Trac #4529, git baefb4b3e2078a0a0f794b42ef52d6b7d53c9dab)

Francis Dupont's avatar
Francis Dupont committed
447
1135.	[func]		fdupont
Francis Dupont's avatar
Francis Dupont committed
448
	Integrated the DHCPv4 service part of DHCPv4-over-DHCPv6 support.
Francis Dupont's avatar
Francis Dupont committed
449
450
	(Trac #4110, git 7d36aebe14db10b0cbac8e6c0e82160b9d5d7ecd)

451
1134.	[func]		fdupont
Francis Dupont's avatar
Francis Dupont committed
452
	Integrated the DHCPv6 service part of DHCPv4-over-DHCPv6 support.
Francis Dupont's avatar
Francis Dupont committed
453
	(Trac #4109, git 8d1f330d9b0a44039a8b9e0b479f8da1743b9504)
454

455
456
457
1133.	[func]		razvan
	The initial support for CQL (Cassandra) backend added. It is able
	to store leases information.
458
	(Github #21, git d3a412d4b090bfd84ec5bc5d7817b1dfcc92602e)
459

460
1132.	[func]		tmark
461
462
	The Postgresql schema has been updated to support host
	reservations and its version number has been bumped to 3.0.
463
	This schema is content equivalent to the MySQL schema version 4.2.
464
465
	(Trac #4275, git 6f8e646bee9de22c921ed26409f3d1856ebce9e6)

466
467
1131.	[func]		fdupont
	Update the DHCPv4-over-DHCPv6 inter-process communication code.
Francis Dupont's avatar
Francis Dupont committed
468
	(Trac #4106, git 1ce1cba00af5d81822d5bbe26ddd28b718f51d54)
469

470
471
472
473
474
475
1130.	[func]		marcin
	DHCPv6 server assigns DHCP options specified for hosts. Host
	specific options take precedence over class specific options,
	subnet specific options and global options.
	(Trac #3573, git c29551e43010a345cfa2efda46389f4433d84650)

476
477
478
479
480
481
1129.	[bug]		marcin
	libdhcp++: Removed unnecessary copies of the container holding
	option definitions to improve performance of both DHCPv4 and
	DHCPv6 server.
	(Trac #4498, git 14716853a92e08c4cc5be75ae85c5e84d6356a1e)

Tomek Mrugalski's avatar
Tomek Mrugalski committed
482
483
484
485
486
487
1128.	[func]		tomek
	Subnet selection in DHCPv4 will now work, even if the addresses
	configured on interface are not in range of the subnet definition
	from the configuration file.
	(Trac #4308, git 7c74ecdbb64c69d341d623422216b0a54e6ff519)

488
489
490
491
492
493
1127.	[func]		marcin
	DHCPv4 server assigns DHCP options specified for hosts. Host
	specific options take precedence over class specific options,
	subnet specific options and global options.
	(Trac #3572, git 49f67aaf36dab38b4fcbf59dcad97e4309903b2f)

494
495
496
497
1126.	[func]		marcin
	Host reservations can be assigned using DHCPv4 client identifier.
	(Trac #4317, git 5f14fca1e029b04ad21a417936c2b8889acef10d)

498
499
500
501
1125.	[func]		fdupont
	Inter-process communication for exchanging packets between
	DHCPv4 and DHCPv6 components of DHCPv4-over-DHCPv6 has been
	implemented.
Francis Dupont's avatar
Francis Dupont committed
502
	(Trac #4106, git 3223bb8280bfd99c225e725de660ae764abe3c87)
503

504
1124.	[bug]		sar
505
506
	Update the classification document to match the output from
	the debug statements.
507
	(Trac NA, git 8b3ea8e26c3e6cd3c46073b635212fd29f031774)
508

509
1123.	[func]		marcin
510
511
512
513
	Extended MySQL host data source to retrieve DHCPv4 and DHCPv6
	options associated with hosts from a MySQL database.
	(Trac #4281, git b8a306a27d1cae03f6bc5223c30806f5cd1b64f4)

514
1122.	[func]		sar
515
516
517
	Add debug logging to the classification tokens.  This uses
	the loggers "kea-dhcp4.eval" and "kea-dhcp6.eval" to capture
	details of the classification expression evaluations.
518
	(Trac #4480, git cf14d0d21c69879f21733457a97a6ac0bdb1dae2)
519

520
1121.	[func]		stephen
521
522
523
524
	Make the database connection timeout a configurable parameter with
	a default value of five seconds.
	(Trac #3164, git 3332ad17523c6fcc1e735e4297169ebb2de95118)

525
1120.	[bug]		marcin
526
527
528
529
	Performance improvement in libdhcp++: improved efficiency of the
	DHCPv4 Message Type option creation.
	(Trac #4495, git 41c43a2a9e34931fc3ebf58c459f10ad08575d19)

530
1119.	[bug]		marcin
531
532
533
534
535
	Performance improvement in hosts reservation: removed
	inefficient conversion of the host identifier to text
	when logging.
	(Trac #4499, git 48c20790480d5ed7bfde0ef7b052dd4a9745607d)

536
1118.	[func]		tmark
537
538
539
540
541
542
	The "query4" argument, containing the client packet received, has been
	added to the DHCPv4 hook points: lease4_select and lease4_renew.  The
	"query6" argument, containing the client packet received, has been
	added to the DHCPv6 hook points: lease6_select and pkt6_send.
	(Trac #4481, git c0af94c47bda85eb1caa3a78a46280b63990672a)

543
1117.	[bug]		stephen
544
545
546
547
	Adjusted variable type in a MySQL-related file to overcome a
	type mismatch problem reported by one particular compiler.
	(Trac #4485, git 4c6fb189b5d12ffdf4ab171c9154366e70e6082c)

548
1116.	[func]		tomek
549
550
551
552
553
	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)

554
1115.   [bug]		tmark
555
556
	An explicit call to unload the hook libraries prior to server
	exit was added to both kea-dhcp6 and kea-dhcp4.  This corrects
557
558
	an issue where logging components were being destroyed prior
	to hook libraries being unloaded.
559
560
	(Trac #4492, git 2a4792b3551cce2fb9147f33f032ae7e71791d21)

561
1114.	[bug]		marcin
562
563
564
565
566
	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)

567
1113.	[func]		tomek
568
	It is now possible to specify parameters for hook libraries.
569
	(Trac #4297, git f45d0b5d297f6ad522eb8b7e6f6a0de1064b8569)
570

571
1112.	[func]		marcin
572
573
574
575
576
577
	"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)

578
1111.	[func]		tmark
579
580
581
582
583
	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)

584
1110.	[func]		fdupont
585
586
	Added support for extracting constant length fields from a DHCPv4
	packet.
Francis Dupont's avatar
Francis Dupont committed
587
	(Trac #4268a, git 5d1397efc05802b72e86785528870b7154307ff0)
588

589
1109.	[func]		sar
590
591
	Added support for accessing DHCPv6 packet fields message type
	and transaction id in a classification expression.
592
	(Trac #4269, git 48be5f5ceaba6b0d0a2b31465e8a5904524e894c)
593

594
1108.	[bug]		pallotron
595
596
597
598
	perfdhcp uses the same transaction id throughout the DORA
	exchange to adhere with RFC 2131.
	(github #19, git d260a70d6aa0baecd68131bc35f58f097aa77bcc)

599
1107.	[func]		tmark
600
	The DDNS parameter, replace-client-name, has been changed from a boolean
601
	to list of modes, which provides greater flexibility in when the Kea
602
603
	servers replace or supply DNS names for clients.  This is supported both
	kea-dhcp4 and kea-dhcp6.
604
	(Trac #4259, git 45e56d7aa0d4a6224a1a28941f6cb11575391222)
605

606
1106.	[func]		marcin
607
608
609
610
611
	"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)

612
1105.	[func]		sar
613
614
	Added access to the peer address, link address and option
	information added by relays in a DHCPv6 message.
615
	(Trac #4265, git bb00d9d205ee047961ba70417d7ce02c37d80ce7)
616

617
1104.	[bug]		stephen
618
619
620
621
622
	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)

623
1103.	[bug]		tmark
624
625
626
627
628
629
630
	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)

631
1102.	[func]		marcin
632
633
634
635
636
	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)

637
1101.	[func]		kalmus, marcin
638
639
640
	Implemented IPv6 address/prefix reservations in MySQL.
	(Trac #4212, git 79481043935789fc6898d4743bede1606f82eb75)

641
1100.	[func]		fdupont
642
643
644
	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
645
	(Trac #4108,#4266,#4267, git ba24bd770d1a1791f8fdc3df7f2e41f9f0c851ec)
646

647
1099.	[func]		tmark
648
649
	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
650
	lease4_logger and lease6_logger respectively.  Prior to this these
651
652
653
	events were logged at the DEBUG log level.
	(Trac #4316, git 9beca27e3d76d0ccec925125f23074227db08869)

654
1098.	[bug]		fdupont
655
	Fixed some minor Coverity-detected issues.
Francis Dupont's avatar
Francis Dupont committed
656
	(Trac #4326, git ad1f442ee4382b354dc8be84ba77785e565aa86b)
657

658
1097.	[bug]		marcin
659
660
661
662
	libdhcpsrv: Fixed issues with lease indexing in Memfile
	database backend.
	(Trac #4339, git a065144663ac716b1fa1c8c224a88aa176da9630)

663
1096.	[bug]		fdupont
664
	Fixed Coverity-detected overflows in pkt4::setFile() and setName().
Francis Dupont's avatar
Francis Dupont committed
665
	(Trac #4306, git 0b7388891eaab39fe727b076468d672551126796)
666

667
1095.	[func]		marcin
668
669
670
671
	DHCP option values can be specified within host reservations
	in the configuration file.
	(Trac #4319, git 069dd7c248afcfcb7e4d958f20faa32e946e74ce)

672
1094.	[bug]		fdupont
673
	Fixed Coverity-detected exception-handling issues.
Francis Dupont's avatar
Francis Dupont committed
674
	(Trac #4307, git 3e1050749d9684144e1bd17552af7e4abf3c0d17)
675

676
1093.	[func]		fdupont
677
678
	Added support for IP address (IPv4 and IPv6) literals in
	classification expressions.
Francis Dupont's avatar
Francis Dupont committed
679
	(Trac #4232, git b98cc019b172a4903a2121e910f3cee4eaca2d51)
680

681
1092.	[func]		fdupont
682
683
684
	Added relay4[X].exists method in classifications that checks
	whether a sub-option is present in theDHCPv4 RAI (Relay Agent
	Information, 82) option.
685
	(Trac #4313, git 87397fd75215b69ad79708aaa1d7505aca299fb5)
686

687
1091.	[bug]		fdupont
688
689
	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
690
	(Trac #4310, git 6813e1a7520335f6920ff8de5e52ecdb24712910)
691

692
1090.	[bug]		fdupont
693
694
	Empty option specifications no longer require setting the
	csv-format parameter.
Francis Dupont's avatar
Francis Dupont committed
695
	(Trac #4291, git 398458f3ad4680fd5f3c032eb6c99d50c2981368)
696

697
1089.	[func]		marcin
698
699
700
701
	The Host class has been extended to store DHCP options to
	be assigned to a client.
	(Trac #3571, git 9d434f28cc4683eccbcca1ba0d1e45bceb5230d2)

702
1088.	[bug]		sar
703
	Always copy the DHCPv4 flags field from a client's request to the
704
	the server's response.
705
	(Trac #4292, git 8b7182abdc7ff47eb9b68451e7507b7e4b9872e0)
706

707
1087.	[bug]		fdupont
708
709
	Removed obsolete requirement of python3 by --enable-generate-docs
	configuration option.
Francis Dupont's avatar
Francis Dupont committed
710
	(Trac #4315, git 2c236316d5fbac9906cf48a6e4df1649e7545e67)
711

712
1086.	[bug]		marcin
713
714
715
716
717
	When lease-database configuration parameter is not
	specified the default lease database backend (memfile)
	is used.
	(Trac #3696, git 0be5e6eb32680a742ddcf427b8181f55c0c98115)

718
1085.	[func]		fdupont
719
720
721
722
723
724
725
726
727
728
729
730
	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
731
	(Trac #4286, git 5ed03ed5ea48334bbd16a9a8e1676f3b4cc730a0)
732

733
1084.	[bug]		jpopelka
734
735
736
	Added missing slashed in path_replacer.sh.
	(Github #10, git 8986813825623b19fb220534434d0c13785fc14c)

737
1083.	[func]		fdupont
738
	Added a concat function in classification which concatenates two
739
	strings.
740
	(Trac #4233, git eec10b436b928bd5eb3139c2f98ec9a6a818f30e)
741

742
1082.	[func]		fdupont
743
744
745
	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).
746
	(Trac #4231, git 8e01dbe2fe2d8c97f89c20f5bb1d03748a2432e0)
747

748
1081.	[func]		tomek
Tomek Mrugalski's avatar
Tomek Mrugalski committed
749
750
751
752
753
	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)

754
1080.	[func]		marcin
755
756
757
758
	perfdhcp now accepts -f option for DHCPv4 server testing, which
	enables lease renewals at the specified rate.
	(Trac #4254, git 8c5630b9ce6d3fba224f0643a7c69e4f7aaefca7)

759
760
761
Kea 1.0.0 released on December 29, 2015

1079.	[bug]		jpopelka
762
763
764
	Fixed compilation issue in MySQL host data source: the
	dhcp_identifer_length is now unsigned long. This addresses
	a compilation problem on Fedora.
765
	(Github #17, git 8548d1b589df98cc956b4d80d2cb8819ef576717)
766

767
1078.	[bug]		fdupont
768
	Removed warnings emitted during generation of Doxygen documentation.
769
	(Trac #4234, git b67910a3893bc79eb77a48bae6c31214a317bd40)
770

771
1077.	[bug]		marcin
772
773
774
775
776
777
778
	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)

779
1076.	[bug]		tmark
780
781
782
783
784
785
786
787
788
	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)

789
790
791
792
793
1075.	[doc]		marcin
	Changed Kea license from ISC to Mozilla Public License,
	v. 2.0.
	(Trac #4236, git a0574cdab4deb31e3244fc4e237753a1ad361d96)

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

802
803
804
805
806
1073.	[doc]		tomek
	Developer's Guide updated with client classification text
	and several clean-ups.
	(Trac #4102, git ac33ebf7428ba5935d3302d000bed317716fabfe)

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

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

818
1070.	[doc]		sar
819
820
	Correct v6 classification examples to use client-id (1) instead
	of server-id (2).
821
	(Trac #4222, git 69dd98d03861d9de72c2ef75c17c8154b0c5088b)
822

823
824
Kea 1.0.0-beta2 released on December 22, 2015

Tomek Mrugalski's avatar
Tomek Mrugalski committed
825
826
827
828
829
1069.	[bug]		tomek
	Improved handling of incoming packets with invalid client-id
	and DUID.
	(Trac #4206, git 2c94f80e30abe53ae5b677762fc69e888c92e03f)

830
831
832
833
834
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
835
836
837
Kea 1.0.0-beta released on December 8, 2015

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

Wlodzimierz Wencel's avatar
Wlodzimierz Wencel committed
842
1066.	[func]		tomek
843
844
845
846
847
	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
848
1065.	[func]		fdupont,tomek
849
850
851
852
	The DHCPv4 server now stores Relay Agent Information option as
	the last one.
	(trac #4121, git 2f883d4afb9b27c6c59d993692370685b206b6c2)

Wlodzimierz Wencel's avatar
Wlodzimierz Wencel committed
853
1064.	[doc]		tmark
854
855
856
	Added Kea logo to documentation.
	(trac #3702, git 7cae813ffe9a7320db5c84ac4beb1c3c0ecabbf7)

Wlodzimierz Wencel's avatar
Wlodzimierz Wencel committed
857
1063.	[func]		marcin
858
859
860
861
862
	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
863
1062.	[func]		marcin
864
865
866
867
	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
868
1061.	[func]		kalmus
869
870
871
872
	MySqlHostDataSource class implementation. It provides methods
	for adding and extracting Host objects to and from MySQL database.
	(Trac #3682, git 275b40fb941a6934c6434715184ae1c39f3fb3f2)

873
874
875
876
1060.	[func]		stephen
	Incremented KEA_HOOKS_VERSION to 3 for Kea 1.0.
	(Trac #4208, git bf6f3d495604942a395b51bbe4c37001b7541242)

877
878
879
880
881
882
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
883
884
885
886
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
887
	usable state.
Tomek Mrugalski's avatar
Tomek Mrugalski committed
888
889
	(Trac #3988, 3989, git 1930797c48fee7f4006a33cecd6f08b05ae76725)

890
891
892
893
894
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
895
1056.	[doc]		sar
896
897
	Added description of the expression based classification
	system to the Kea Admin Guide.
898
	(Trac #4101, git 3ec88e0669470ab406c45d50d0f853f9aeb3bf04)
899

Tomek Mrugalski's avatar
Tomek Mrugalski committed
900
1055.	[func]		fdupont
901
902
903
	Classify match expressions are evaluated on incoming packets and
	requested options are appended when configured by the subnet, a
	class or globally.
904
	(Trac #4097, git 752ad11ff4ebe97ec27d098aff706d1999900346)
905

Tomek Mrugalski's avatar
Tomek Mrugalski committed
906
1054.	[func]		tmark
907
908
909
910
911
912
	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.
913
	(Trac #4202, git 91bf527662060d4b1e294cd53e79b431edf0e910)
914

Tomek Mrugalski's avatar
Tomek Mrugalski committed
915
916
917
918
919
1053.	[doc]		tomek
	Support for DHCPDECLINE (v4) and DECLINE (v6) messages is
	now described in the Kea User's Guide.
	(Trac #3990, git 6b0db91610420f3cce55d9f887d7c73660ece209)

920
921
922
1052.	[func]		marcin
	libeval: expressions involving options can now use textual or
	hexadecimal format of the options.
923
	(Trac #4093, git 4cdf0fff1067b3dde6570dc6831e8b1343bc50fe)
924

Tomek Mrugalski's avatar
Tomek Mrugalski committed
925
1051.	[func]		tmark
926
927
	kea-dhcp4 and kea-dhcp6 configuration parsing now supports
	the "client-classes" element for defining client classes.
928
	(Trac #4096, git d21fd6925983eb20f82029e3866652398ea5e5fe)
929

Tomek Mrugalski's avatar
Tomek Mrugalski committed
930
1050.	[doc]		tmark
931
932
	Corrected the descriptions of ncr-protocol and ncr-format parameters
	in the Kea Admin Guide.
933
	(Trac #4117, git 034c1c95b57768d5abbc7fb40cc57d7cadad21dd)
934

935
936
937
938
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
939
	(trac #4125, git 18321bf85f93b24d720f1ab2d90b4f4da85bc471)
940

941
942
1048.	[func]		fdupont,tomek
	Implement expression parser for client classification.
Francis Dupont's avatar
Francis Dupont committed
943
	(Trac #4088, git ac9eb312bfd1c6bf22a868ad789a0c049f33f637)
944

945
946
947
948
949
950
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)

951
952
953
954
955
956
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)

957
958
959
960
1045.	[func]		tmark
	Added classes for storing client class definitions to libdhcpsrv.
	(Trac #4095, git 1039a942450e2a45a1e1aa9924cae4fdbd1541fe)

961
962
963
1044.	[build]		fdupont
	With the addition of a background thread for timeouts, ensure that
	the configuration and process spawning code are thread safe.
964
	(Trac #4060, git 4c130bd7c8d0eb97966e9821bab491bca5321b6c)
965

966
967
1043.	[func]		fdupont
	Implemented support for hex strings in client classification.
Francis Dupont's avatar
Francis Dupont committed
968
	(Trac #4091, git 406153af95404adb96296df09ec6033b484586e3)
969

970
971
972
1042.	[doc]		fdupont
	User Guide: parameters having default values may be omitted in the
	option definitions.
Francis Dupont's avatar
Francis Dupont committed
973
	(Trac #3927, git c7460e849258ec77cf1215a2baf840d98f1ab77b)
974

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

981
982
983
984
985
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)

986
987
988
989
990
1039.	[doc]		marcin
	Configuration parameters pertaining to processing expired
	leases by the DHCPv4 and DHCPv6 server have been documented.
	(Trac #3979, git a2ee99ba313e54a9dcf8a09ed118dbfe612e3d55)

991
992
993
994
995
1038.	[func]*		marcin
	DHCPv4 and DHCPv6 servers reclaim expired leases before they
	are re-assigned.
	(Trac #3977, git 5880e706cb27c19b1b70296ccd8d96e38e82027b)

996
997
998
1037.	[func]		fdupont
	Added a new 'leases-reclaim' command which reclaims expired leases
	immediately.
Francis Dupont's avatar
Francis Dupont committed
999
	(Trac #3978, git 9d5716e5bd6b151d90591f8497bae689321875c2)
1000

1001
1002
1003
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
1004
	and reclamation.
1005
1006
	(Trac #3969, git 8fde70c1b63b5a2646688290b1d0cf53f4c964ad)

1007
1008
1009
1035.	[doc]		fdupont
	Modified documentation of DHCP options to show internal format
	of records.
Francis Dupont's avatar
Francis Dupont committed
1010
	(Trac #4071, git c5cffe74ac1bd38e4870ff1c22c36febb46e8c27))
1011

1012
1013
1034.	[func]		fdupont
	Add support for DHCPv4 subnet selection option.
Francis Dupont's avatar
Francis Dupont committed
1014
	(Trac #4058, git b7072884e8ce74dc64cd74e101d81e5c0763f492)
1015

1016
1017
1018
1019
1033.	[bug]		stephen
	Updated OutputBuffer class to address warnings from Coverity.
	(Trac #3443, git 4bf0a14aa7a1303ed6959127c5354687e9f222ba)

1020
1021
1022
1023
1024
1025
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)

1026
1027
1031.	[build]		fdupont
	Rewrote the system_messages tool from Python to C++.
1028
	(Trac #3516, git a8195310c641027d1822344cafad64e6f695d614)
1029

1030
1031
1032
1030.	[bug]		marcin
	Fixed failing 'reclaimExpiredLeasesTimeout' unit tests on
	some virtual machines.
1033
	(Trac #4075, git c3a2487f53ecf69edc0a38f574fce17c4332162c)
1034

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

1041
1042
1043
1044
1045
1028.	[func]		marcin
	Expired leases are processed periodically according to the
	server configuration.
	(Trac #3975, git 3bd8891c0b9cb7dc504fa69251610996775cefbf)

1046
1047
1048
1049
1050
1027.	[func]		tomek
	Expired declined IPv6 leases can now be reclaimed (returned to the
	available pool) after probation	period elapses.
	(Trac #3985, git 9aadfa902d898ce1f52b773152a5b34519a9a9fe)

1051
1052
1053
1054
1055
1026.	[doc]		stephen
	Added documentation for the kea-dhcp4.commands and
	kea-dhcp6.commands loggers.
	(Trac #3952, git 3eb5d3185683e05494c1d84ed7195627fce4b6c1)

1056
1057
1058
1059
1060
1061
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)

1062
1063
1064
1065
1066
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.
1067
	(Trac #3499, git 99ca398d4d042a098b5c491368733220db8cdd08)
1068

1069
1070
1023.	[func]		tmark
	kea-admin now supports upgrading from MySQL schema version 3.0
1071
	to 4.0.  In addition, the lease6 data dump now contains the
1072
1073
1074
1075
	text label for lease_hwaddr_source column rather than its
	numeric value.
	(Trac #3967, git 2e13ac3b0b278faabe338b00ffee8259c13f5342)

1076
1077
1078
1079
1080
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
1081
	(Trac #4057, git 8c02cec5ec8e311a9d23fd582d8e9e8647667abb)
1082

Stephen Morris's avatar
Stephen Morris committed
1083
1084
1085
1086
1087
1021.	[bug]		stephen
	Added missing address parameter to ALLOC_ENGINE_V4_REQUEST_OUT_OF_POOL
	message.
	(Trac #3996, git 680233550747209a1707e8f920179479b980aa2a)

1088
1089
1090
1020.	[func]		kalmus
	A general purpose base class for MySQL connection has been
	implemented.
Stephen Morris's avatar
Stephen Morris committed
1091
	(Trac #3681, git 884d8bb4a55d3d7b1b8f3f01efb312bd8dec399b)
1092

1093
1094
1095
1096
1097
1019.	[func]		marcin
	Added new configuration parameters controlling processing of the
	expired leases in the DHCPv4 and DHCPv6 server.
	(Trac #3974, git c998d36c40cc46ffe9f888e615bbcfa0a311d40d)

1098
1018.   [func]		sar
1099
1100
1101
	Added support for several options for use by PXE.
	From RFC4578 (for DHCPv4) these are: 93 - client-system,
	94 - client-ndi, 97 - uuid-guid.
1102
	From RFC5970 (for DHCPv6) these are: 59 - bootfile-url,
1103
	60 - bootfile-param, 61 - client-arch-type, 62 - nii.
1104
	(Trac #3576, git fdcc73afe7e26bd427817fd771567b1c44713b06)
1105

1106
1107
1108
1109
1110
1111
1112
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)

1113
1114
1115
1116
1117
1118
1119
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
1120
	(Trac #4004, git 760a343efbd241f5ed333cfff088124378f69115)
1121

1122
1123
1124
1125
1126
1015.	[func]		tomek
	Expired declined leases can now be reclaimed (returned to the
	available pool) after probation	period elapses.
	(Trac #3984, #3976, git 32a8ec68e0e5ea93991915812158d7628d2b4709)

1127
1128
1129
1130
1014.	[func]		marcin
	Implemented lease4_expire and lease6_expire hooks in libdhcpsrv.
	(Trac #3972, git 8a8547aec1caf2a8d1c7ca206f68534f3c03f1d9)

1131
1132
1133
1134
1135
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
1136
1137
1012.	[bug]		stephen
	Replace #include of message_dictionary.h in message_initializer.h
Wlodzimierz Wencel's avatar
Wlodzimierz Wencel committed
1138
	with a declaration of the MessageDictionary class, avoiding the need
Stephen Morris's avatar
Stephen Morris committed
1139
1140
1141
	to include message_dictionary.h in the set of header files installed.
	(Trac #4046, git 9f1801b4326f62632a7c9f0aa939d58f120c10e8)

1142
1143
1144
1145
1146
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
1147
	(Trac #4015, git 95f8c0d0af45807c1f303b9bbbb08f82b3bfc343)
1148

1149
1010.	[bug]		tmark
Wlodzimierz Wencel's avatar
Wlodzimierz Wencel committed
1150
	Fixed test failures occurring for some tests after
1151
1152
1153
	IfaceMgr::closeSockets was called.
	(Trac #4067, git 9161867dc6a354659ae8b5115ee437ec76c1771e)

Francis Dupont's avatar
Francis Dupont committed
1154
1155
1156
1157
1158
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)

1159
1160
1161
1162
1163
1164
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
1165
	(Trac #4009, git 8c293bc0d1804a512964621f114e64fcba0abcb9)
1166

1167
1168
1169
1170
1171
1172
1173
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)

1174
1175
1176
1177
1006.	[bug]		marcin
	Fixed issues with threads concurrency in the TimerMgr.
	(Trac #4047, git 48297af6e0443808a482536b61436a42bc6a5b38)

1178
1179
1180
1181
1182
1183
1184
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)

1185
1186
1187
1188
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
1189
	(Trac #3773, git fd2889b9de45e2822b6713663bee06b75259c6dc)
1190

1191
1192
1193
1194
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
1195
	(Trac #3911, git 4d13f5234da33df03c0989829a0e1c1056e53a4e)
1196

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

1203
1204
1205
1206
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
1207
	last subversion sources at http://googletest.googlecode.com/svn/trunk
1208
1209
	and use the --with-gtest-source configuration argument when
	you'd like to build unit tests).
Francis Dupont's avatar
Francis Dupont committed
1210
	(Trac #4024, git 55afd98fead0c16bb81107dfc1a5f49a5e295aa6)
1211

1212
1213
1214
1215
1216
1000.	[func]		marcin
	Implemented Timer Manager which holds the pool of interval
	timers used by the DHCP servers.
	(Trac #3970, git bc8503055338da36d07a2b67c64087f645c9a9e3)

1217
999.	[func]*		tmark
1218
1219
1220
1221
1222
	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.
1223
1224
	(Trac #2615, git eeebf9f68cf5be6a0f7eefc78832d664361c4990)

1225
1226
1227
1228
1229
1230
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
1231
1232
1233
1234
997.	[build]		jreed
	Removed obsolete Python coverage build options.
	(Trac #3483, git a08cbbecbd3b11d0b73f68a40986a353b22ed3be)

1235
1236
1237
1238
1239
1240
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)

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

1246
1247
1248
1249
994.	[func]*		marcin
	DHCPv6 server fully supports RFC 7550.
	(Trac #3947, git c06ab97a4e068c4b4b11f4685c56dd402b2385dc)

1250
1251
1252
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
1253
	(Trac #4026, git 5eb213647d7ac0a707530d57af2c6dbd725ac1b3)
1254

1255
1256
1257
1258
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
1259
	(Trac #3752, git 16c4c2b6d95c45864ec3e2b27e0d320e386b2c0b)