ChangeLog 233 KB
Newer Older
1
2
848.	[func]		fdupont
	Added truncated HMAC support to TSIG, as per RFC 4635.
Francis Dupont's avatar
Francis Dupont committed
3
	(Trac #3593, git ae3a9cd1a0d2dc07b7092368149381d69bc2c61a)
4

5
847.	[build]		fdupont
Francis Dupont's avatar
Francis Dupont committed
6
	Removed no longer used configuration option --with-shared-memory
7
	and associated files and variables.
Francis Dupont's avatar
Francis Dupont committed
8
	(Trac #3614, git adee8c93f7c7c1303390dd63dbeae74a48a34845)
9

10
11
12
846.	[bug]		fdupont
	Fixed subdir-objects warnings from recent versions of autotools,
	e.g., on Apple OSX.
Francis Dupont's avatar
Francis Dupont committed
13
	(Trac #3162, git e25c7477f3c35cdaa0f038732f697224bfd44847)
14

15
16
17
18
19
845.	[func]		marcin
	Implemented Host class for storing information about IPv4 and IPv6
	reservations for the host.
	(Trac #3560, git fb5e1883b01ce6388d1b7a92c61061b493c36713)

20
21
22
23
844.	[bug]		tmark, marcin
	Fixed multiple issues in the DHCP-DDNS unit tests.
	(Trac #3615, git fec824d36121b12e98dd407a0bdf1bc71c8de18d)

24
25
26
27
28
843.	[bug]		marcin
	DHCPv4 server sets ciaddr to 0 in DHCPOFFER and DHCPNAK messages to
	adhere to section 4.3.1 of RFC2131.
	(Trac #3367, git 9f05a29caa960df2b09b7a8c23100da8b40e73d0)

29
30
31
32
33
842.	[func]		marcin
	DHCPv4 server logs when the packet sent by the client contains
	invalid combination of giaddr/hops before discarding the packet.
	(Trac #3537, git 760c652b54dcdfdfbd1a0014da43d3c31e848f02)

34
35
36
37
38
39
841.	[func]		tomek
	Pkt4 and Pkt6 class have a common base now. A lot code duplication
	removed. Added getMAC() method that will be used to extract MAC
	in DHCPv6.
	(Trac #3546, git 6e68af7dfe15e4d461bf068f545d2bdaaa8fcfb0)

40
41
840.	[func]		nicolas
	PktFilterInet::send method now sets source IPv4 address explicitly.
42
43
44
	This enabled perfdhcp to control its source address on systems that have
	more than one address assigned to a given interface. Thanks to
	Nicolas Chaigneau from Capgemini for providing this fix.
45
46
	(Github #2, git 6ac36ed7a1d97bcf52ffb2aec7cbf116e58e5803)

47
839.	[doc]		adam
48
49
	DHCPv4 examples corrected in Kea ARM. Thanks to Adam Osuchowski
	from Silesian University of Technology for providing this fix.
50
51
	(Github #1, git 15785c0e28190659b037cfcca19f0267ccd9049f)

52
838.	[bug]		tomek
Tomek Mrugalski's avatar
Tomek Mrugalski committed
53
54
55
	Kea components now use the KEA_LOCKFILE_DIR environment variable
	to specify the directory of the logging lockfile. Locking can be
	disabled completely by setting the variable to 'none'.
56
57
	(Trac #3591, git d4556e1d21766b94f2f0cda59df15e47e6f2676e)

58
59
60
61
62
837.	[bug,doc]	tomek
	Logging configuration examples in kea.conf fixed. Also updated
	Kea documentation for logging.
	(Trac #3536, git 2cf3f6b9cb3d2ae6fc7b0940b55490f109ddd2f9)

63
64
65
836.	[bug]		fdupont
	Moved duplicated getXXXHashAlgorithm() function to new
	xxx_common.h include files in the cryptolink library.
Francis Dupont's avatar
Francis Dupont committed
66
	(Trac #3471, git 8cf2ee46b3d7398f4f716435be3d9b19bf3599f5)
67

68
69
70
71
835.	[build]		fdupont
	The configure script checks if OpenSSL supports SHA-2, in order
	to avoid very old (and likely subject to unfixed security bugs)
	OpenSSL versions.
Francis Dupont's avatar
Francis Dupont committed
72
	(Trac #3482, git c779a0ef23d2092cf896276dab1fbcb190380374)
73

74
75
76
77
78
834.	[bug]		marcin
	Corrected the definition of the example DHCPv4 and DHCPv6 address
	pools in the default kea.conf file.
	(Trac #3538, git 8712cc0df77368940d8d3d11811a9ac9504bce12)

79
80
81
82
83
84
85
833.	[func]		marcin
	Configuration Manager supports two stage configuration. In the
	first stage a temporary configuration is created and in the
	second stage this configuration is committed. If configuration
	fails at the first stage, the temporary configuration is rolled
	back and the server continues to use the old configuration.
	(Trac #3534, git 4ecee3c0c97fe417b050317356f9093ba3771a15)
86
87
88

Kea 0.9 released on August 29, 2014

89
832.	[bug]		jiri
90
91
	Compilation fix for PostgreSQL on i686. Thanks to Jiri Popelka
	from RedHat for providing a patch!
Tomek Mrugalski's avatar
Tomek Mrugalski committed
92
	(Trac #3532, git 96a06654f2177444dcea3a0e9f6fa06947855497)
93

94
831.	[func]		marcin
95
	DHCP servers check if the interfaces specified in the configuration,
96
	to be used to receive DHCP messages, are present in the system.
97
98
99
100
101
	If the interface doesn't exist, an error is reported. In addition,
	the SO_REUSEPORT flag is set for IPv6 sockets as multiple multicast
	sockets can be bound to the DHCPv6 server port.
	(Trac #3512, git 5cbbab2d01c6e1bf6d563ba64d80bc6bc857f73d)

102
830.	[build]		jreed
Tomek Mrugalski's avatar
Tomek Mrugalski committed
103
	The configure script no longer requires pkg-config.
104
105
	(Trac #3511, git 99a5a2db8c011b358873d485ac48f7c78ac6374c)

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

112
113
114
115
116
828.	[bug]		marcin
	Corrected the IfaceMgrTest.detectIface unit test that failed on
	Linux systems with virtual interfaces present.
	(Trac #3527, git 7aa01a6965b6e9fc39ff005803cada7f58f2e628)

117
827.	[build]		jiri, tomek
118
119
	Deprecated AC_PROG_LIBTOOL macro replaced by LT_INIT. Thanks to
	Jiri Popelka from RedHat for providing a patch!
120
	(Trac #3525, git 6c0aacf29fae1d0501ca69ff6324df8d4fc8c7ee)
121

122
826.	[bug]		jiri, tomek
123
124
	Compilation fix for Red Hat running on armv7. Thanks to Jiri
	Popelka from RedHat for providing a patch!
125
126
	(Trac #3526, git eac5a80472dcb78b538c2ed34cc0534f801e5145)

127
825.	[bug]		jiri, tomek
128
129
	Example JSON configuration files permission fix. Thanks to Jiri
	Popelka	from RedHat for providing a patch!
130
131
	(Trac #3524, git 822a39ba33870f70787a1f666aed772e06d04d79)

132
133
134
135
824.	[bug]		marcin
	Kea deamons report configuration summary when the configuration is
	applied successfully.
	(Trac #3477, git f39d208024f720f72c931016cfa50a54e80f8c61)
136
137

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

141
822.	[build]		tomek
Tomek Mrugalski's avatar
Tomek Mrugalski committed
142
	'host' program was removed from examples.
143
144
	(Trac #3421, git aeea893fb1c52d20258929a62a59ae2e7bd12e3d)

145
146
147
148
149
821.	[bug]		marcin
	DHCP servers no longer log an error when Interface Manager fails to
	receive a packet as a result of signal being received.
	(Trac #3478, git d80c83aef8e103dd483234429d35aeb66149e0b9)

150
151
152
153
154
820.	[bug]		marcin
	Corrected the IfaceMgrTest.detectIfaces unit test which reported
	false positives for specific network configurations.
	(Trac #3517, git 9affa1b2210f5cc9d7a99724e5d5c8979409cefd)

155
156
Kea 0.9beta1 released on August 13, 2014

157
158
159
160
161
162
163
164
819.	[build]		marcin
	Renamed variables in the configure.ac so as their names do not
	refer to BIND10 project. As a result of renaming the B10_CXXFLAGS
	to KEA_CXXFLAGS in configure.ac all dependent Makefiles had to
	be updated in the tree. The AX_BOOST_FOR_BIND10 macro has been
	renamed to AX_BOOST_FOR_KEA.
	(Trac #3507, git 6616b1c0ad0a78e11bca9395fafb8efdba8d8b9c)

165
818.	[func]		tomek
Jeremy C. Reed's avatar
Jeremy C. Reed committed
166
	DHCPv4, DHCPv6 and DDNS components now report their versions.
167
168
	(Trac #3508, git 3f46c74ffa0ea1197e1fa62cb2f6580931be35f3)

169
170
171
172
173
817.	[bug]		marcin
	DHCPv4 and DHCPv6 servers will log an error during an attempt to
	open socket on the interface which is down or not configured.
	(Trac #3487, git fadc776914aa858ce637aab1513ab3d87631f612)

Tomek Mrugalski's avatar
Tomek Mrugalski committed
174
816.	[doc]		tomek
175
	AUTHORS file rewritten.
Tomek Mrugalski's avatar
Tomek Mrugalski committed
176
	(Trac #3469, git 6ef55abaa1ef79e09ad332c0da28dee7bfed70fe)
177

178
815.	[func]		tomek
179
180
181
	Pool definitions in DHCPv4 and DHCPv6 are now lists of
	structures. This makes adding new per-pool parameters easier in
	the future.
182
183
	(Trac #3464, git 4bd0c0eda9d86608f8802d28bd360239fe88e905)

Jeremy C. Reed's avatar
Jeremy C. Reed committed
184
814.	[func,doc]		tomek
Tomek Mrugalski's avatar
Tomek Mrugalski committed
185
186
	It is now possible to specify logging parameters in a
	configuration file for DHCPv4, DHCPv6 and DHCP-DDNS components.
187
188
	(Trac #3427, git 23285903645c36fc35c6866a74c50c74089cd255)

189
813.	[func]		tomek
Tomek Mrugalski's avatar
Tomek Mrugalski committed
190
191
192
193
	Functions, methods and variables referring to BIND10 were renamed
	to Kea. In particular, system variables (B10_LOGGER_ROOT,
	B10_LOCKFILE_DIR_FROM_BUILD etc.) were renamed. B10_ prefix was
	replaced with KEA_.
194
195
	(Trac #3417, git 1db8988de6af435fa388dc9c7f909c4a004a01d0)

196
812.	[doc]		tomek
Tomek Mrugalski's avatar
Tomek Mrugalski committed
197
198
	DHCPv6 and DDNS sections in Kea Administrator Reference Manual
	has been updated. Usage of keactl has been documented.
199
	(Trac #3468, git 3945fc6211bcadb9bece7147039a6b50ebcf936b)
Tomek Mrugalski's avatar
Tomek Mrugalski committed
200
201
	(Trac #3466, git fa9570d19c73cbe7effc75589b7eb855c411f6a3)

202
203
204
205
206
811.	[doc]		tmark
	Added documentation of message protocol between DHCP servers and the
	DHCP-DDNS process.
	(Trac #3505, git 6d9aed2f8fe181714e8260493c6cc06e13d0edd0)

207
810.	[func]		stephen
Jeremy C. Reed's avatar
Jeremy C. Reed committed
208
209
210
	perfdhcp is now installed in sbin as it requires root privilege
	to run. The perfdhcp source has been moved to the directory
	src/bin/perfdhcp.
211
212
	(Trac #3481, git d101aed6156a993476fa1164f0b0ec8395f5886c)

213
809.	[func]		stephen
Jeremy C. Reed's avatar
Jeremy C. Reed committed
214
215
216
	sockcreator is no longer built or installed.  The code is being
	retained in the repository for the moment, but may be deleted at
	some point in the future.
217
218
	(Trac #3480, git 2a55a469dde8fcc053b49e287c30d0906baa91b4)

219
220
221
222
223
808.	[func]		stephen
	Reduced number of startup and shutdown messages in the
	DHCP-DDNS process by making some of them debug messages.
	(Trac #3479, git bca0bae285de9ce904c0afd21af777dac2edb4e6)

224
225
226
227
807.	[func]		marcin
	DHCPv6 server responds to Confirm messages from clients.
	(Trac #3269, git 4f43c309a994e30c07f5aa27057552fb195ec284)

228
229
230
231
806.	[func]		marcin
	DHCPv4 server processes Requested IP Address option (50).
	(Trac #3320, git ad411a177a32bbe6a93f4baf813d985558c99e2f)

232
233
234
235
805.	[func]		stephen
	Changed all occurrences of "BIND 10" in message files to "Kea".
	(Trac #3416, git e88090b57a75424920d9b96efbf50e3554048828)

236
237
238
239
804.	[func]		marcin
	DHCPv4 server supports DHCPINFORM messages from the clients.
	(Trac #3390, git 77f8577b1dbb52bdc6deb8bed3eef6ce7abc33fd)

240
241
242
243
244
245
246
247
803.	[func]		marcin
	DHCPv4 server supports responding to directly connected clients on
	FreeBSD, NetBSD and OpenBSD using Berkeley Packet Filtering. This
	also resolves the problem reported in #3438 that the server doesn't
	pick the correct interface to respond to the client and the client
	never gets the response from the server.
	(Trac #2893, git 9fba39d93b9ece950c4294230984d6315dfa11f6)

248
802.	[doc]		tomek, marcin
Tomek Mrugalski's avatar
Tomek Mrugalski committed
249
	Developer's Guide updated to Change BIND 10 references to Kea.
250
	Documentation for Keactrl added.
251
252
253
	(Trac #3396, git 271450edbc63e9022f877c9aa3d1dc290708f151)
	(Trac #3466, git fa9570d19c73cbe7effc75589b7eb855c411f6a3)

254
255
256
257
801.	[build]		fdupont
	Detect all OS X versions more recent than 10.9 (where
	pthread_cond_destroy() doesn't work as documented,
	which makes some of unit tests to fail).
Francis Dupont's avatar
Francis Dupont committed
258
	(Trac #3473, git d620ef6659598bcc1f4c30241e845348770e264e)
259

260
261
800.	[bug]		marcin
	DHCPv6 server is now usable on FreeBSD, NetBSD and OpenBSD systems.
Jeremy C. Reed's avatar
Jeremy C. Reed committed
262
263
264
	It can receive messages sent to ff02::1:2 multicast address. Also,
	fixed the bug whereby the DHCPv6 server failed to bind the socket
	to global unicast address on BSD systems due to invalid scope id
265
266
267
	setting.
	(Trac #3437, git f4c2fe2fc37a37f1510e138e1f6c4ccd757e1f06)

268
269
270
271
272
273
799.	[func]		tmark
	Configuration parsing for all Kea servers has been enhanced to include
	the location of the error within the configuration file presented as
	file name, line number, and column within the configuration file.
	(Trac #3436, git b927deb2b4579f93ba74d4be8f5a3a4eaa3c6422)
	(Trac #3409, git 777dbdb29a641f7d8661f9cc2c22f1cb9fe7eb14)
274

275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
798.	[build]		tomek
	JSON configuration backend is now the default. BUNDY backend
	is now deprecated after #3413 removed the BIND10/Bundy framework.
	(Trac #3476, git 727b65f2c62bbd7dc599b2e7956167e2b3c34098)

797.	[build]		tomek
	Removed a lot of remaining BIND10 framework: bind10, bindctl,
	cfgmgr, cmdctl, msgq, stats, sysinfo, tests, usermgr from src/bin
	directory, also src/lib/python directory. Python3 is not
	required anymore, unless documentation generation is enabled.
	(Trac #3413, git d7b297ac475193f687d07b0489ac74585d4f3814)

796.	[doc]		tomek
	User's Guide renamed to Kea Administrator Reference Manual,
	removed sections specific to BIND10/Bundy framework, rewritten
	general and DHCPv4 specific examples.
	(Trac #3418, git 73e6019d83760f0500890240e2e187dcd5e1e14c)

795.	[func]		marcin
	Added support to keactrl to start, stop, reconfigure and gather
	status of the DHCP-DDNS server.
	(Trac #3465, git 6bc61470c9ccee001fe282d0f879bcddac0b8721)

794.	[func]		fdupont
	cryptolink: add OpenSSL crypto backend as an alternative to Botan
	by specifying --with-openssl[=PATH] on the "configure" command
	line. Add hash support to the cryptolink API and use it in DHCP
	DDNS, removing the Botan dependency.
	(Trac #2406, git 4b4110dd68706b4171fc6d8a6f4f2a9cd820edac)

793.	[func]		tmark
	DHCP-DDNS: Implemented dynamic reconfiguration of the server,
	triggered when the SIGHUP signal is received by the server's
	process. Also, server performs a graceful shut down when SIGINT
	or SIGTERM signal is received.
	(Trac #3407, git f1a224df1e46098748ba60205be09ada4600515f)

792.	[func]		marcin
	Implemented keactrl script used to start, stop, reconfigure Kea
	servers and get their status and configuration data. This script
	is installed only if the JSON configuration backend is in use.
	(Trac #3422, git e1d164c7a9a54a7aacea88c8c57cd2826e06012b)

791.	[func]		tmark
	DHCP-DDNS: Now supports configure.ac parameter: --with-kea-config.
	It allows selecting configuration backend and accepts one of two
	values: BUNDY, which uses Bundy (former BIND10) framework as Kea
	0.8 did, or JSON, which reads configuration from a JSON file.
	(Trac #3401, git 8e69209caafc81041229f3d9601599f3d98fc86e)

790.	[func]		marcin
	DHCPv4 server: Implemented dynamic reconfiguration of the server,
	triggered when the SIGHUP signal is received by the server's
	process. Also, server performs a graceful shut down when SIGINT
	or SIGTERM signal is received.
	(Trac #3405, git dd0270bd91cf8fc958b8b388950d343d311ee99e)

789.	[bug]		marcin
	DHCPv4 server sends Renewal Time (58) and Rebinding Time (59)
	options to the client when the appropriate timers are set
	in the configuration. Previously, the timers were ignored.
	(Trac #3336, git b3c8a079889411182ade517c85aa4fe5d6b8719a)

788.	[func]		tomek
	DHCPv4 server: New parameter added to configure.ac: --with-kea-config.
	It allows selecting configuration backend and accepts one of two
	values: BUNDY, which uses Bundy (former BIND10) framework as Kea
	0.8 did, or JSON, which reads configuration from a JSON file.
	(Trac #3399, git 6e4dd3ae58c091ba0fd64c87fa8d7c268210f99b)

787.	[func]		marcin
	DHCPv6 server: Implemented dynamic reconfiguration of the server,
	triggered when the SIGHUP signal is received by the server's
	process. Also, server performs a graceful shut down when SIGINT
	or SIGTERM signal is received.
	(Trac #3406, git 3be60fa6ac521aecae6ae92d26dc03792bc76903)

786.	[func]		tmark
	DHCP-DDNS now supports DDNS updates with TSIG.  Please refer to the
	Kea Guide for details. Prior to this TSIG keys could be defined but
	were not used.
	(Trac #3432, git 80fea12a53d1e832d4e7b710ca6ea613300f73ea)

785.	[bug]		marcin
	DHCPv6 server avoids collisions between prefixes that are allocated
	as a result of receiving hints from the clients. Previously the
	whole prefix (including bits beyond the prefix length) was used to
	search existing leases in the lease database. If not found, the
	new lease was crated for the prefix sent by the client. If another
	client sent the same prefix but with different non-significant bits
	the prefix was allocated. This led to prefix collisions. Currently,
	server ignores bits beyond the prefix length when searching for
	existing leases.
	(Trac #3246, git 50de7df4195195e981ae9c8c6f1b4100047d5bb5)

784.	[func]		tmark
Jeremy C. Reed's avatar
Jeremy C. Reed committed
371
372
373
374
	DHCP_DDNS's configuration was changed. The unused parameter,
	"interface" was deleted.  Three new parameters, "ncr_protocol",
	"ncr_format", and "dns_server_timeout" were added.  Please refer to
	Kea Guide for details.
375
376
377
378
379
380
381
382
383
	(Trac #3268,    git bd60252e679f19b062f61926647f661ab169f21c)

783.	[func]*		tomek
	DHCPv6 server: New parameter added to configure: --with-kea-config.
	It allows selecting configuration backend and accepts one of two
	values: BUNDY, which uses Bundy (former BIND10 framework as Kea
	0.8 did, or JSON, which reads configuration from a JSON file.
	(Trac #3400, git 7e9fdfa644b81f72bfa5300b7ddcdb9754400769)

384
385
386
387
388
782.	[func]		tmark
	Added sender-ip, sender-port, and max-queue-size parameters to
	the dhcp-ddns configuration section of both b10-dhcp4 and b10-dhcp6.
	(Trac #3328,    git 8d8d0b5eedaab20bf1008dfb3a6913eb006a6e73)

389
390
391
392
393
394
395
781.	[func]		marcin
	libkea-dhcpsrv: the Memfile lease storage backend returns leases
	of a specified type. Previously, it ignored the lease type parameter
	and returned all leases for a particular client. Thanks to David
	Carlier for helping to implement this ticket.
	(Trac #3148, git d2f0edf473716cd747a21d6917e89ba55c148d8e)

396
397
398
399
400
401
402
403
780.	[func]		marcin
	libkea-cc: JSON parser stores information about the position
	of the data element values in the JSON string. The position
	comprises the line number and the offset within this line where
	the specific value resides. This functionality is intended to
	be used for error logging during configuration parsing.
	(Trac #3408, git 115a52a6713340fc589f6f95d73d242931239405)

404
405
406
407
408
779.	[doc]		tmark
	Added a section to the developer's guide for Kea's DHCP-DDNS
	component, D2.
	(Trac #3158,    git  7be263c7372b1401a8b4288742854f96b5bec0d6)

409
410
bind10-1.2.0 (kea 0.8) released on April 17, 2014

411
412
bind10-1.2.0rc1 released on April 8, 2014

413
778.	[func]*		marcin
414
415
416
417
418
419
	libdhcpsrv: the Memfile lease storage backend now writes
	leases into a CSV file. Configuration parsers for b10-dhcp4
	and b10-dhcp6 use the new configuration parameters to
	control the location of the lease file. It is possible to
	disable lease writes to disk using configuration for testing
	purposes.
420
421
	(Trac #3360, git 09e6e71abf8bc693e389ebd262fd149b43c1f1d4)

422
777.	[func]		tmark
423
	If b10-dhcp-ddns is configured to listen on an address other than
424
	loopback, it will issue a log message warning the user that this is
425
	insecure and is supported for testing purposes only.
426
427
	(Trac #3383,    git  652aa4de2fa82fdf3de569d01d9f4aa618fc1972)

428
776.	[func]		tomek
429
	b10-dhcp4 and b10-dhcp6 now support using PostgreSQL as the backend
430
431
	for storing lease data.  This backend is enabled by specifying
	--with-dhcp-pgsql on the "configure" command line. Without this
432
	switch the PostgreSQL backend is not compiled leaving BIND 10 able to
433
	be built on systems without PostgreSQL installed.  Thanks to David
Jeremy C. Reed's avatar
Jeremy C. Reed committed
434
	Carlier who contributed the initial patches for this work.
435
436
	(Trac #3080,    git  1aae8b1fab3008e62c4f085948b1abadad512447)

437
775.	[func]		marcin
438
439
440
	b10-dhcp4, b10-dhcp6: added a new parameter to subnet configuration.
	This parameter allows subnet ids to be set to arbitrary values or
	automatically generated values. Generated subnet ids are renumbered
441
	each time one or more subnets are removed.  Setting the ids to
442
	specific values prevents this renumbering.
443
	(Trac #3281, git d90e9a0642fbb16a4e664160b4812f61fb81f1aa)
444

445
774.	[doc]		marcin
446
447
448
449
	Updated information in the BIND 10 Guide about the standards supported
	by Kea and its current limitations.
	(Trac #3258, git ff52b86206e3a256a02ca6d5cde55040550ba86a)

450
773.	[doc]		tmark
451
452
453
454
455
456
	Added sections to the BIND 10 guide on configuring and using the
	DHCP-DDNS feature of Kea.  Chapter 19, describes the new DHCP-DDNS
	server and its configuration. Additions to chapters 17 and 18
	describe configuring the DHCP servers to work with the new server.
	(Trac #3283, git 806eea955c61eba2d7268958a740a8e8ea63bdaf)

457
772.	[bug]		tmark
458
459
460
461
462
463
464
465
	b10-dhcp4 and b10-dhcp6 now both correctly support DDNS updates
	when honoring client requested delegation. When DDNS is enabled,
	and the client's FQDN indicates they will do the forward updates,
	the servers will now post a DDNS update request to b10-dhcp-ddns
	for the reverse updates. Prior to this the servers were posting no
	DDNS update requests when honoring client delegation.
	(Trac #3352, git b1a0f405463723d539b2e6ed2dcdd692d7796b88)

466
467
468
771.	[bug]		tmark
	Ticket #3339 (entry 760) was reverted to fix regression
	where components added through bindctl, could not be removed.
469
470
	(Trac #3374, git c641e2d0569df3ca3e5a93beaf0ecf39db07e402)

471
770.	[bug]		tmark
472
	Configuration parsing in b10-dhcp6 and b10-dhcp4 for the "dhcp-ddns"
473
474
475
476
	section of their configurations now supplies hard-coded default values
	rather than those from their spec files.  This is a temporary solution
	to circumvent an issue in the configuration libraries which causes
	map-items to behave incorrectly.
477
	(Trac #3358, git 983d8acec3a7ccb1ffef662eac7518aed5f99381)
478

479
769.	[func]		marcin
480
481
482
	b10-dhcp6: Implemented support for Rebind message.
	(Trac #3232, git 3649413932857470558a6f19e0b0e181b3fc0fda)

483
768.	[bug]		tmark
Jeremy C. Reed's avatar
Jeremy C. Reed committed
484
485
486
487
488
	b10-dhcp-ddns now treats a DNS server response code of
	NXRRSET as a successful outcome when processing a request
	to remove DNS data.  This corrects a defect in which
	b10-dhcp-ddns would incorrectly fail a request to remove
	DNS data when the DNS server's response was NXRRSET.
489
490
	(Trac #3362, git da3b0d4f364d069ffdb47723545798ac589fae42)

491
767.	[func]		tomek
492
493
494
	Unit-tests for all DHCP database backends are now shared.
	This improves test coverage for memfile and any future
	backends that may appear.
495
496
	(Trac #3359, git 3d6c11630ada9d0681a813cf026f6bb16aabb9fa)

497
498
bind10-1.2.0beta1 released on March 6, 2014

499
500
501
502
503
504
505
506
766.	[func]		muks
	--disable-dns and --disable-dhcp configure arguments have been
	added to conditionally disable the DNS or DHCP components
	respectively. This facility can be used to do a DNS or DHCP-only
	build of BIND 10. DNS and DHCP components are both enabled by
	default.
	(Trac #2367, git 81a689b61b1c4abf8a1a4fcbe41cfc96fd11792a)

507
765.	[bug]		tomek
Jeremy C. Reed's avatar
Jeremy C. Reed committed
508
509
	b10-dhcp4: Fixed a minor bug in eRouter1.0 class processing. The
	server no longer sets giaddr field.
510
511
	(Trac #3353, git 23c22e9b1141c699f361d45c309e737dfecf6f3f)

512
764.	[bug]		tomek
Tomek Mrugalski's avatar
Tomek Mrugalski committed
513
514
	b10-dhcp4: Fixed a bug caused client classification to not work
	properly.
515
516
	(Trac #3343, git 1801400ac874380e7a565d373b4bae96a49e21f7)

517
518
519
520
521
522
523
524
525
763.	[func]		tmark
	b10-dhcp-ddns may now be configured to disable DNS updates in
	in a given direction by simply not defining any domains for that
	direction in its configuration.  This allows it to be configured to
	support either forward DNS or reverse DNS only.  Prior to this if
	a request was received that could not be matched to servers in a
	given direction it was failed immediately.
	(Trac #3341, git 01f26bce1d9faaddb8be59802f73891ea065b200)

526
527
528
529
530
762.	[func]		tmark
	If configured to do so, b10-dhcp6 will now create DHCP-DDNS update
	requests and send them to b10-dhcp-ddns for processing.
	(Trac# 3329, git 239956696465a13196a2b6bc0f3a61aed21a5de8)

Stephen Morris's avatar
Stephen Morris committed
531
532
533
534
761.	[doc]		stephen, jreed
	Added "man" page for perfdhcp.
	(Trac #2307, git ff2f538912c205fbdb1408ee613c09b90de53514)

Jeremy C. Reed's avatar
Jeremy C. Reed committed
535
536
537
538
539
540
760.	[bug]		tmark
	When merging a map of configuration elements into another, elements
	that are themselves maps will be merged. In particular, this
	corrects a defect which caused a configuration commit error to
	occur when using bindctl to modify a single a parameter in
	dhcp-ddns portion of b10-dhcp4 configuration.
541
542
	(Trac# 3339, git 3ae0d93d89f3277a566eeb045191a43b2dd9d9b1)

543
759.	[func]		tomek
Jeremy C. Reed's avatar
Jeremy C. Reed committed
544
545
546
547
548
	b10-dhcp4, b10-dhcp6: IP address of the relay agent can now be
	specified for both IPv4 and IPv6 subnets. That information allows
	the server to properly handle a case where relay agent address
	does not match subnet.  This is mostly useful in shared subnets
	and cable networks.
549
550
	(Trac #3322, git 5de565baea42c9096dff78ed5fbd05982a174469)

Jeremy C. Reed's avatar
Jeremy C. Reed committed
551
552
553
554
555
758.	[bug]		tmark
	b10-dhcp4 now correctly handles DHO_HOST_OPTION.  This corrects
	a bug where the server would fail to recognize the option in the
	DHCP request and then skip generating the appropriate DHCP-DDNS
	update request.
556
557
	(Trac #2426, git 985d66cba7665a71e17ef70c5d22c767abaad1b6)

558
757.	[func]		tmark
Jeremy C. Reed's avatar
Jeremy C. Reed committed
559
560
561
562
563
564
565
	b10-dhcp6 now parses parameters which support DHCP-DDNS updates
	via the DHCP-DDNS module, b10-dhcp-ddns.  These parameters are
	part of new configuration element, dhcp-ddns, defined in
	dhcp4.spec. These parameters influence when and how DDNS updates
	requests are created but communicating them to b10-dhcp-ddns is
	not yet supported.  That will be provided under separate ticket,
	Trac #3222.
566
567
	(Trac# 3034, git 22c667a66536ff3e3741bc67025d824644ed4e7d)

568
569
570
571
572
573
574
575
576
577
756.	[bug]		marcin
	b10-dhcp6: server parses DHCPv6 Vendor Class option. Previously
	the server failed to parse Vendor Class option having empty opaque
	data field because of the invalid definition in libdhcp++. The
	DHCPv6 Vendor Class option and DHCPv4 V-I Vendor Class option is
	now represented by the new OptionVendorClass. The b10-dhcp4 is
	affected by this change such that it uses new class to parse the
	DHCPv4 V-I Vendor Class option.
	(Trac #3316, git 1e61d7db5b8dc76682aa568cd62bfae0eeff46e3)

578
579
580
581
755.	[func]		muks
	Add support for the CAA RR type (RFC 6844).
	(Trac #2512, git 39162608985e5c904448f308951c73bb9c32da8f)

582
583
584
585
754.	[func]		muks
	Add support for the TLSA RR type (RFC 6698).
	(Trac #2185, git a168170430f6927f28597b2a6debebe31cf39b13)

586
587
588
589
590
753.	[func]		muks
	libdns++: the unknown/generic (RFC 3597) RDATA class now uses the
	generic lexer in constructors from text.
	(Trac #2426, git 0770d2df84e5608371db3a47e0456eb2a340b5f4)

591
592
593
594
595
752.	[func]		tmark
	If configured to do so, b10-dhcp4 will now create DHCP-DDNS update
	requests and send them to b10-dhcp-ddns for processing.
	(Trac# 3329, git 4546dd186782eec5cfcb4ddb61b0a3aa5c700751)

596
597
598
599
600
751.	[func]		muks
	The BIND 10 zone loader now supports the $GENERATE directive (a
	BIND 9 extension).
	(Trac #2430, git b05064f681231fe7f8571253c5786f4ff0f2ca03)

601
750.	[func]		tomek
602
603
604
605
	b10-dhcp4, b10-dhcp6: Simple client classification has been
	implemented. Incoming packets can be assigned to zero or more
	client classes. It is possible to restrict subnet usage to a given
	client class. User's Guide and Developer's Guide has been updated.
606
607
	(Trac #3274, git 1791d19899b92a6ee411199f664bdfc690ec08b2)

608
749.	[bug]		tmark
Jeremy C. Reed's avatar
Jeremy C. Reed committed
609
610
611
612
	b10-dhcp-ddns now sets the TTL value in RRs that add A, AAAA, or
	PTR DNS entries to the lease length provided in instigating
	NameChangeRequest.  This corrected a bug in which the TTL was
	always set to 0.
613
614
	(Trac# 3299, git dbacf27ece77f3d857da793341c6bd31ef1ea239)

615
616
617
618
619
620
621
622
623
748.	[bug]		marcin
	b10-dhcp4 server picks a subnet, to assign address for a directly
	connected client, using IP address of the interface on which the
	client's message has been received. If the message is received on
	the interface for which there is no suitable subnet, the message
	is discarded. Also, the subnet for renewing client which unicasts
	its request, is selected using ciaddr.
	(Trac #3242, git 9e571cc217d6b1a2fd6fdae1565fcc6fde6d08b1)

624
625
626
627
628
629
630
747.	[bug]		marcin
	libdhcpsrv: server configuration mechanism allows creating definitions
	for standard options for which Kea doesn't provide a definition yet.
	Without this, the server administrator couldn't configure options for
	which a definition didn't exist.
	(Trac# 3309, git 16a6ed6e48a6a950670c4874a2e81b1faf287d99)

631
632
633
634
635
746.	[func]		tomek
	IOAddress no longer exposes underlying asio objects. The getAddress()
	method has been removed and replaced with several convenience methods.
	(Trac #1485, git ecdb62db16b3f3d447db4a9d2a4079d5260431f0)

636
745.	[bug]*		muks
637
638
639
640
641
642
	b10-auth now returns rcode=REFUSED for all questions with
	qtype=RRSIG (i.e., where RRSIGs are queried directly). This is
	because RRSIGs are meaningless without being bundled alongside the
	RRs they cover.
	(Trac #2226, git 68d24e65c9c3dfee38adfbe1c93367b0083f9a58)

643
744.	[func]		marcin
Jeremy C. Reed's avatar
Jeremy C. Reed committed
644
645
646
647
648
649
	b10-dhcp6: Refactored the code which is processing Client FQDN
	option.  The major user-visible change is that server generates
	DDNS NameChangeRequest for the first IPv6 address (instead of all)
	acquired by a client. Also, the server generates fully qualified
	domain name from acquired IPv6 address, if the client sends an
	empty name in Client FQDN option.
650
651
	(Trac# 3295, git aa1c94a54114e848c64771fde308fc9ac0c00fd0)

652
743.	[func]		tmark
653
	b10-dhcp4 now responds with changes in DDNS behavior based upon
654
	configuration parameters specified through its dhcp-ddns configuration
655
656
	element. The parameters now supported are override-no-update,
	override-client-update, replace-client-name, generated-prefix, and
657
658
659
	qualifying-suffix.
	(Trac# 3282, git 42b1f1e4c4f5aa48b7588233402876f5012c043c)

660
661
662
663
664
665
742.	[func]		muks
	The authoritative server now includes the datasource configuration
	when logging some errors with the
	AUTH_DATASRC_CLIENTS_BUILDER_RECONFIGURE_ERROR message ID.
	(Trac #2756, git 31872754f36c840b4ec0b412a86afe9f38be86e0)

666
667
741.	[bug]		shane
	Remove hard-coded (and unnecessary) TSIG key from error message.
Shane Kerr's avatar
Shane Kerr committed
668
669
670
	This also prevents a crash if the TSIG name is missing.
	(Trac #3099, git 0ba8bbabe09756a4627e80aacdbb5050407faaac)

671
672
673
674
675
676
677
678
740.	[func]		muks
	When displaying messages about mismatched configuration data types
	in entered values (between the supplied value type and expected
	schema type), bindctl now includes both the supplied and expected
	configuration data types in the returned error. The user has more
	information on what caused the error now.
	(Trac #3239, git 84d5eda2a6ae0d737aef68d56023fc33fef623e6)

679
680
681
682
683
684
685
739.	[bug]		muks
	Various minor updates were made to the SSHFP RDATA parser. Mainly,
	the SSHFP constructor no longer throws an isc::BadValue exception.
	generic::SSHFP::getFingerprintLen() was also renamed to
	getFingerprintLength().
	(Trac #3287, git 2f26d781704618c6007ba896ad3d9e0c107d04b0)

686
687
688
689
690
738.	[bug]		muks
	b10-auth now correctly processes NXDOMAIN results in the root zone
	when using a SQLite3 data source.
	(Trac #2951, git 13685cc4580660eaf5b041b683a2d2f31fd24de3)

691
692
693
694
695
737.	[func]		muks
	b10-auth now additionally logs the source address and port when
	DNS messages with unsupported opcodes are received.
	(Trac #1516, git 71611831f6d1aaaea09143d4837eddbd1d67fbf4)

Jeremy C. Reed's avatar
Jeremy C. Reed committed
696
736.	[bug]		wlodek
697
698
	b10-dhcp6 is now capable to determine if a received
	message is addressed to it, using server identifier option.
Wlodzimierz Wencel's avatar
Wlodzimierz Wencel committed
699
700
701
	The messages with non-matching server identifier are dropped.
	(Trac #2892, git 3bd69e9b4ab9be231f7c966fd62b95a4e1595901)

702
703
735.	[doc]		stephen
	Expanded Developer's Guide to include chapter on logging.
Wlodzimierz Wencel's avatar
Wlodzimierz Wencel committed
704
	(Trac #2566, git a08d702839d9df6cddefeccab1e7e657377145de)
705

706
707
708
709
710
711
734.	[bug]		marcin
	libdhcp++: fixed a bug which caused an error when setting boolean
	values for an option. Also, bind10-guide has been updated with the
	examples how to set the boolean values for an option.
	(Trac# 3292, git 7c4c0514ede3cffc52d8c2874cdbdb74ced5f4ac)

712
713
714
715
716
717
733.	[bug]		marcin
	libdhcp++: a function which opens IPv6/UDPv6 sockets for the
	DHCPv6 server, gracefully handles errors to bind socket to
	a multicast address.
	(Trac #3288, git 76ace0c46a5fe0e53a29dad093b817ad6c891f1b)

718
719
732.	[func]		tomek
	b10-dhcp4, b10-dhcp6: Support for simplified client classification
Jeremy C. Reed's avatar
Jeremy C. Reed committed
720
721
722
723
724
725
726
	added. Incoming packets are now assigned to a client class based
	on the content of the packet's user class option (DHCPv4) or vendor
	class option (DHCPv6). Two classes (docsis3.0 and eRouter1.0) have
	class specific behavior in b10-dhcp4. See DHCPv4 Client
	Classification and DHCPv6 Client Classification in BIND10
	Developer's Guide for details.  This is a first ticket in a series
	of planned at least three tickets.
727
728
	(Trac #3203, git afea612c23143f81a4201e39ba793bc837c5c9f1)

729
731.	[func]		tmark
Jeremy C. Reed's avatar
Jeremy C. Reed committed
730
731
732
733
734
	b10-dhcp4 now parses parameters which support DHCP-DDNS updates
	via the DHCP-DDNS module, b10-dhcp-ddns.  These parameters are
	part of new configuration element, dhcp-ddns, defined in
	dhcp4.spec.  The parameters parse, store and retrieve but do not
	yet govern behavior.  That will be provided under separate ticket.
735
736
	(Trac# 3033, git 0ba859834503f2b9b908cd7bc572e0286ca9201f)

737
730.	[bug]		tomek
Tomek Mrugalski's avatar
Tomek Mrugalski committed
738
	b10-dhcp4, b10-dhcp6: Both servers used to unnecessarily increase
739
740
	subnet-id values after reconfiguration. The subnet-ids are now reset
	to 1 every time a server is reconfigured.
741
742
	(Trac #3234, git 31e416087685a6dadc3047fdbb0927bbf60095aa)

743
744
745
746
747
729.	[bug]		marcin
	b10-dhcp4 discards DHCPv4 messages carrying server identifiers
	which don't match server identifiers used by the server.
	(Trac #3279, git 805d2b269c6bf3e7be68c13f1da1709d8150a666)

748
749
750
751
752
753
754
728.	[func]		marcin
	b10-dhcp6: If server fails to open a socket on one interface it
	will log a warning and continue to open sockets on other interfaces.
	The warning message is communicated from the libdhcp++ via the
	error handler function supplied by the DHCPv6 server.
	(Trac #3252, git af5eada1bba906697ee92df3fcc25cc0e3979221)

755
756
757
758
727.	[func]		muks
	RRset::setName() has now been removed.
	(Trac #2335, git c918027a387da8514acf7e125fd52c8378113662)

759
726.	[bug]*		muks
760
761
762
763
764
765
	Don't print trailing newlines in Question::toText() output by
	default.  This fixes some logging that were split with a line
	feed.  It is possible to get the old behavior by passing
	toText(true).  Message::toText() output is unchanged.
	(Trac #571, git 7286499d5206c6d2aa8a59a5247c3841a772a43e)

766
767
768
725.	[func]		tmark
	b10-dhcp-ddns D2UpdateMgr now uses the newly implemented
	NameAddTransaction and NameRemoveTransaction classes.  This allows
769
	it to conduct actual DNS update exchanges based upon queued
770
771
772
	NameChangeRequests.
	(Trac# 3089, git 9ff948a169e1c1f3ad9e1bad1568375590a3ef42)

773
774
775
776
777
778
779
780
724.	[bug]		marcin
	b10-dhcp4: Different server identifiers are used for the packets
	being sent through different interfaces. The server uses IPv4 address
	assigned to the particular interface as a server identifier. This
	guarantees that the unicast packet sent by a relay or a client, to
	the address being a server identifier, will reach the server.
	(Trac #3231, git c7a229f15089670d2bfde6e9f0530c30ce6f8cf8)

781
723.	[bug]		marcin
Jeremy C. Reed's avatar
Jeremy C. Reed committed
782
783
784
785
786
787
788
	libdhcp++: Implemented unit tests for the IfaceMgr's routine
	which opens IPv6 sockets on detected interfaces. The IfaceMgr
	logic performing low level operations on sockets has been
	moved to a separate class. By providing a custom implementation
	of this class, the unit tests may use fake interfaces with
	custom configuration and thus cover wide range of test
	scenarios for the function.
789
790
	(Trac #3251, git 21d2f7ec425f8461b545687104cd76a42da61b2e)

791
792
793
794
795
722.	[bug]		muks
	b10-cmdctl now prints a more operator-friendly message when the
	address+port that b10-cmdctl listens on is already in use.
	(Trac #3227, git 5ec35e37dbb46f66ff0f6a9d9a6a87a393b37934)

796
797
798
799
800
721.	[func]		tmark
	Updates the user_chk example hooks shared library with callouts
	for packet receive and packet send.  Decision outcome now includes
	the lease or prefix assigned.  The user registry now supports a
	default user entry.
801
802
	(Trac #3207, git 34fddf2e75b80d9e517a8f9c3321aa4878cda795)

803
804
720.	[func]		tmark
	Added the initial implementation of the class, NameAddTransaction,
805
806
807
808
	to b10-dhcp-ddns.  This class provides a state machine which
	implements the logic required to remove forward and reverse DNS
	entries as described in RFC 4703, section 5.5. This includes the
	ability to construct the necessary DNS requests.
809
	(Trac# 3088, git ca58ac00fce4cb5f46e534d7ffadb2db4e4ffaf3)
810

811
719.	[func]		tomek
Tomek Mrugalski's avatar
Tomek Mrugalski committed
812
	b10-dhcp4: Support for sending back client-id (RFC6842) has been
Tomek Mrugalski's avatar
Tomek Mrugalski committed
813
814
815
	added now. Also a configuration parameter (echo-client-id) has
	been added, so it is possible to enable backward compatibility
	("echo-client-id false").
816
817
818
	(Trac #3210, git 88a4858db206dfcd53a227562198f308f7779a72)

718.	[func]		dclink, tomek
Tomek Mrugalski's avatar
Tomek Mrugalski committed
819
820
821
	libdhcp++: Interface detection implemented for FreeBSD, NetBSD,
	OpenBSD, Mac OS X and Solaris 11. Thanks to David Carlier for
	contributing a patch.
822
	(Trac #2246, git d8045b5e1580a1d0b89a232fd61c10d25a95e769)
Tomek Mrugalski's avatar
Tomek Mrugalski committed
823

824
825
826
827
828
717.	[bug]		marcin
	Fixed the bug which incorrectly treated DHCPv4 option codes 224-254 as
	standard options, barring them from being used as custom options.
	(Trac #2772, git c6158690c389d75686545459618ae0bf16f2cdb8)

829
716.	[func]		marcin
Jeremy C. Reed's avatar
Jeremy C. Reed committed
830
831
832
833
834
	perfdhcp: added support for sending DHCPv6 Release messages
	at the specified rate and measure performance. The orphan
	messages counters are not displayed for individual exchanges
	anymore. The following ticket: #3261 has been submitted to
	implement global orphan counting for all exchange types.
835
836
	(Trac #3181, git 684524bc130080e4fa31b65edfd14d58eec37e50)

837
838
839
840
841
842
715.	[bug]		marcin
	libdhcp++: Used the CMSG_SPACE instead of CMSG_LEN macro to calculate
	msg_controllen field of the DHCPv6 message. Use of CMSG_LEN causes
	sendmsg failures on OpenBSD due to the bug kernel/6080 on OpenBSD.
	(Trac #1824, git 39c9499d001a98c8d2f5792563c28a5eb2cc5fcb)

843
714.	[doc]		tomek
Tomek Mrugalski's avatar
Tomek Mrugalski committed
844
	BIND10 Contributor's Guide added.
845
846
	(Trac #3109, git 016bfae00460b4f88adbfd07ed26759eb294ef10)

847
713.	[func]		tmark
Jeremy C. Reed's avatar
Jeremy C. Reed committed
848
849
850
851
	Added DNS update request construction to d2::NameAddTransaction
	in b10-dhcp-ddns.  The class now generates all DNS update
	request variations needed to fulfill it's state machine in
	compliance with RFC 4703, sections 5.3 and 5.4.
852
	(Trac# 3241, git dceca9554cb9410dd8d12371b68198b797cb6cfb)
853

854
712.	[func]		marcin, dclink
855
856
857
858
859
860
861
	b10-dhcp4: If server fails to open a socket on one interface it
	will log a warning and continue to open sockets on other interfaces.
	The warning message is communicated from the libdhcp++ via the
	error handler function supplied by the DHCPv4 server. Thanks to
	David Carlier for providing a patch.
	(Trac #2765, git f49c4b8942cdbafb85414a1925ff6ca1d381f498)

862
711.	[func]		tmark
863
864
865
866
867
868
	Added the initial implementation of the class, NameAddTransaction,
	to b10-dhcp-ddns.  This class provides the state model logic
	described in the DHCP_DDNS design to add or replace forward and
	reverse DNS entries for a given FQDN.  It does not yet construct
	the actual DNS update requests, this will be added under Trac#
	3241.
869
	(Trac# 3087, git 8f99da735a9f39d514c40d0a295f751dc8edfbcd)
870

871
710.	[build]		jinmei
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
	Fixed various build time issues for MacOS X 10.9.  Those include
	some general fixes and improvements:
	- (libdns++) masterLoad() functions now use the generic MasterLoader
	  class as backend, eliminating the restrictions of the previous
	  versions.
	- (libcc) fixed a minor portability bug in the JSON parser.  Although
	  the only known affected system is OS X 10.9 at the moment, that
	  could potentially cause disruption on other existing and future
	  systems.
	Other notes:
	- if built with googletest, gtest 1.7 (and possibly higher) is
	  required.
	- many older versions of Boost don't work.  A known workable version
	  is 1.54.
	(Trac #3213, git d4e570f097fe0eb9009b177a4af285cde0c636cc)

888
889
890
891
892
709.	[bug]		marcin
	b10-dhcp6: Server crashed when the client sent FQDN option and did
	not request FQDN option to be returned.
	(Trac #3220, git 0f1ed4205a46eb42ef728ba6b0955c9af384e0be)

893
708.	[bug]		dclink, marcin
894
895
896
897
898
	libdhcpsrv: Fixed a bug in Memfile lease database backend which
	caused DHCPv4 server crashes when leases with NULL client id
	were present. Thanks to David Carlier for submitting the patch.
	(Trac #2940, git a232f3d7d92ebcfb7793dc6b67914299c45c715b)

899
900
901
902
903
904
707.	[bug]		muks
	Using very large numbers (out of bounds) in config values caused
	BIND 10 to throw an exception. This has been fixed in a patch
	contributed by David Carlier.
	(Trac #3114, git 9bd776e36b7f53a6ee2e4d5a2ea79722ba5fe13b)

905
906
706.	[func]		marcin
	b10-dhcp4: Server processes the DHCPv4 Client FQDN and Host Name
907
	options sent by a client and generates the response. As a result
908
909
910
911
912
913
914
	of processing, the server generates NameChangeRequests which
	represent changes to DNS mappings for a particular lease (addition
	or removal of DNS mappings).
	Currently all generated NameChangeRequests are dropped. Sending
	them to b10-dhcp-ddns will be implemented with the future tickets.
	(Trac #3035, git f617e6af8cdf068320d14626ecbe14a73a6da22)

915
705.	[bug]*		kean
Kean Johnston's avatar
Kean Johnston committed
916
917
918
919
920
	When commands are piped into bindctl, no longer attempt to query the
	user name and password if no default user name and password file is
	present, or it contains no valid entries.
	(Trac #264, git 4921d7de6b5623c7e85d2baf8bc978686877345b)

921
922
923
924
925
926
927
704.	[func]		naokikambe
	New statistics items related to IP sockets added into b10-xfrin:
	open, openfail, close, connfail, conn, senderr, and recverr.
	Their values can be obtained by invoking "Stats show Xfrin" via
	bindctl while b10-xfrin is running.
	(Trac #2300, git 4655c110afa0ec6f5669bf53245bffe6b30ece4b)

Jeremy C. Reed's avatar
Jeremy C. Reed committed
928
703.	[bug]		kean
Kean Johnston's avatar
Kean Johnston committed
929
930
931
932
933
	A bug in b10-msgq was fixed where it would remove the socket file if
	there was an existing copy of b10-msgq running. It now correctly
	detects and reports this without removing the socket file.
	(Trac #433, git c18a49b0435c656669e6f87ef65d44dc98e0e726)

934
935
936
937
938
702.	[func]		marcin
	perfdhcp: support for sending DHCPv6 Renew messages at the specified
	rate and measure performance.
	(Trac #3183, git 66f2939830926f4337623b159210103b5a8e2434)

Kean Johnston's avatar
Kean Johnston committed
939
701.	[bug]		tomek
Tomek Mrugalski's avatar
Tomek Mrugalski committed
940
	libdhcp++: Incoming DHCPv6 IAPREFIX option is now parsed properly.
Tomek Mrugalski's avatar
Tomek Mrugalski committed
941
	(Trac #3211, git ed43618a2c7b2387d76f99a5a4b1a3e05ac70f5e)
942

943
944
700.	[func]		tomek, marcin
	b10-dhcp4, b10-dhcp6: Support for vendor options has been added. It
945
946
947
948
949
	is now possible to configure vendor options. Server is able to
	parse some CableLabs vendor options and send configured	vendor
	options	in response. The support is not complete.
	(Trac #3194, git 243ded15bbed0d35e230d00f4e3ee42c3609616c)

Tomek Mrugalski's avatar
Tomek Mrugalski committed
950
951
952
953
954
699.	[bug]		marcin
	libdhcp++: Options with defined suboptions are now handled properly.
	In particular, Relay Agent Info options is now echoed back properly.
	(Trac #3102, git 6f6251bbd761809634aa470f36480d046b4d2a20)

955
956
957
958
959
960
698.	[bug]		muks
	A bug was fixed in the interaction between b10-init and b10-msgq
	that caused BIND 10 failures after repeated start/stop of
	components.
	(Trac #3094, git ed672a898d28d6249ff0c96df12384b0aee403c8

Jeremy C. Reed's avatar
Jeremy C. Reed committed
961
697.	[func]		tmark
962
	Implements "user_check" hooks shared library which supports subnet
963
	selection based upon the contents of a list of known DHCP lease users
964
	(i.e. clients).  Adds the following subdirectories to the bind10 src
965
	directory for maintaining hooks shared libraries:
Jeremy C. Reed's avatar
Jeremy C. Reed committed
966
967
968
969
970
	bind10/src/hooks - base directory for hooks shared libraries;
	bind10/src/hooks/dhcp - base directory for all hooks libs
	pertaining to DHCP (Kea);
	bind10/src/hooks/dhcp/user_check - directory containing the
	user_check hooks library.
971
972
	(Trac #3186, git f36aab92c85498f8511fbbe19fad5e3f787aef68)

973
696.	[func]		tomek
Tomek Mrugalski's avatar
Tomek Mrugalski committed
974
975
976
	b10-dhcp4: It is now possible to specify value of siaddr field
	in DHCPv4 responses. It is used to point out to the next
	server in the boot process (that typically is TFTP server).
977
978
	(Trac #3191, git 541922b5300904a5de2eaeddc3666fc4b654ffba)

979
695.	[func]		tomek
Tomek Mrugalski's avatar
Tomek Mrugalski committed
980
	b10-dhcp6 is now able to listen on global IPv6 unicast addresses.
981
	(Trac #3195, git 72e601f2a57ab70b25d50877c8e49242739d1c9f)
Tomek Mrugalski's avatar
Tomek Mrugalski committed
982

983
694.	[bug]		tomek
Tomek Mrugalski's avatar
Tomek Mrugalski committed
984
985
986
	b10-dhcp6 now handles exceptions better when processing initial
	configuration. In particular, errors with socket binding do not
	prevent b10-dhcp6 from establishing configuration session anymore.
987
	(Trac #3195, git 72e601f2a57ab70b25d50877c8e49242739d1c9f)
Tomek Mrugalski's avatar
Tomek Mrugalski committed
988

989
693.	[bug]		tomek
Tomek Mrugalski's avatar
Tomek Mrugalski committed
990
	b10-dhcp6 now handles IPv6 interface enabling correctly.
991
992
	(Trac #3195, git 72e601f2a57ab70b25d50877c8e49242739d1c9f)

993
994
995
996
997
998
999
692.	[bug]		marcin
	b10-dhcp4: Fix a bug whereby the Parameter Request List was not parsed
	by the server and requested DHCPv4 options were not returned to the
	client. Options are not sent back to the client if server failed to
	assign a lease.
	(Trac #3200, git 50d91e4c069c6de13680bfaaee3c56b68d6e4ab1)

1000
1001
1002
1003
691.	[bug]		marcin
	libdhcp++: Created definitions for standard DHCPv4 options:
	tftp-server-name (66) and boot-file-name (67). Also, fixed definition
	of DHCPv4 option time-offset (2).
1004
	(Trac #3199, git 6e171110c4dd9ae3b1be828b9516efc65c33460b)
1005

1006
690.	[bug]		tomek
Tomek Mrugalski's avatar
Tomek Mrugalski committed
1007
1008
	b10-dhcp4: Relay Agent Info option is now echoed back in
	DHCPv4 responses.
1009
1010
	(Trac #3184, git 287389c049518bff66bdf6a5a49bb8768be02d8e)

1011
1012
1013
1014
1015
689.	[func]*		marcin
	b10-dhcp4 and b10-dhcp6 install callback functions which parse options
	in the received DHCP packets.
	(Trac #3180, git f73fba3cde9421acbeb9486c615900b0af58fa25)

1016
1017
1018
688.	[func]		tomek
	b10-dhcp6: Prefix Delegation support is now extended to
	Renew and Release messages.
1019
	(Trac #3153, #3154, git 3207932815f58045acea84ae092e0a5aa7c4bfd7)
1020

1021
687.	[func]		tomek
Tomek Mrugalski's avatar
Tomek Mrugalski committed
1022
1023
	b10-dhcp6: Prefix Delegation (IA_PD and IAPREFIX options) is now
	supported in Solicit and Request messages.
1024
	(Trac #3152, git a0e73dd74658f2deb22fad2c7a1f56d122aa9021)
Tomek Mrugalski's avatar
Tomek Mrugalski committed
1025

1026
686.	[bug]		tomek
Tomek Mrugalski's avatar
Tomek Mrugalski committed
1027
	b10-dhcp6 now sends back relayed traffic to proper port.
1028
	(Trac #3177, git 6b33de4bea92eecb64b6c673bf1b8ae51f8edcf1)
Tomek Mrugalski's avatar
Tomek Mrugalski committed
1029

1030
685.	[func]		tomek
Tomek Mrugalski's avatar
Tomek Mrugalski committed
1031
1032
	libdhcpsrv: Allocation Engine is now able to handle IPv6 prefixes.
	This will be used in Prefix Delegation.
1033
	(Trac #3171, git 7d1431b4c887f0c7ee1b26b9b82d3d3b8464b34f)
Tomek Mrugalski's avatar
Tomek Mrugalski committed
1034

1035
1036
1037
1038
1039
1040
1041
1042
684.	[func]		muks, vorner
	API support to delete zone data has been added. With this,
	DomainTree and RdataSet which form the central zone data
	structures of b10-auth allow deletion of names and RR data
	respectively.
	(Trac #2750, git d3dbe8e1643358d4f88cdbb7a16a32fd384b85b1)
	(Trac #2751, git 7430591b4ae4c7052cab86ed17d0221db3b524a8)

1043
683.	[bug]		stephen
Jeremy C. Reed's avatar
Jeremy C. Reed committed
1044
1045
1046
1047
1048
	Modifications to fix problems running unit tests if they
	are statically linked.  This includes provision of an
	initialization function that must be called by user-written
	hooks libraries if they are loaded by a statically-linked
	image.
1049
1050
	(Trac #3113, git 3d19eee4dbfabc7cf7ae528351ee9e3a334cae92)

Naoki Kambe's avatar
Naoki Kambe committed
1051
682.	[func]		naokikambe
Jeremy C. Reed's avatar
Jeremy C. Reed committed
1052
1053
1054
1055
	New statistics items added into b10-xfrin : ixfr_running,
	axfr_running, and soa_in_progress.  Their values can be
	obtained by invoking "Stats show Xfrin" via bindctl when
	b10-xfrin is running.
Naoki Kambe's avatar
Naoki Kambe committed
1056
1057
	(Trac #2274, git ca691626a2be16f08754177bb27983a9f4984702)

1058
681.	[func]		tmark
1059
1060
	Added support for prefix delegation configuration to b10-dhcp6
	subnets.
1061
	(Trac# 3151, git 79a22be33825bafa1a0cdfa24d5cb751ab1ae2d3)
1062

1063
1064
1065
1066
1067
1068
680.	[func]		marcin
	perfdhcp: Added support for requesting IPv6 prefixes using IA_PD
	option being sent to the server.
	(Trac #3173, git 4cc844f7cc82c8bd749296a2709ef67af8d9ba87)

679.	[func]		tmark
Jeremy C. Reed's avatar
Jeremy C. Reed committed
1069
1070
	b10-dhcp-ddns: Finite state machine logic was refactored
	into its own class, StateModel.
1071
	(Trac# 3156, git 6e9227b1b15448e834d1f60dd655e5633ff9745c)
1072

1073
1074
678.	[func]		tmark
	MySQL backend used by b10-dhcp6 now uses lease type as a
1075
	filtering parameter in all IPv6 lease queries.
1076
	(Trac# 3147, git 65b6372b783cb1361fd56efe2b3247bfdbdc47ea)
1077

1078
677.	[func]		tomek
Tomek Mrugalski's avatar
Tomek Mrugalski committed
1079
1080
	libdhcpsrv: CfgMgr is now able to store IA, TA and PD pools in
	Subnet6 structures.
1081
1082
	(Trac #3150, git e6f0e89162bac0adae3ce3141437a282d5183162)

1083
1084
1085
676.	[bug]		muks
	We now also allow the short name ("hmac-md5"), along with the long
	name ("hmac-md5.sig-alg.reg.int") that was allowed before for
1086
	HMAC-MD5, so that it is more convenient to configure TSIG keys
1087
1088
1089
	using it.
	(Trac #2762, git c543008573eba65567e9c189824322954c6dd43b)

Jeremy C. Reed's avatar
Jeremy C. Reed committed
1090
675.	[func]		vorner
Michal 'vorner' Vaner's avatar
Michal 'vorner' Vaner committed
1091
1092
1093
1094
1095
	If there's an exception not handled in a Python BIND10 component,
	it is now stored in a temporary file and properly logged, instead
	of dumping to stderr.
	(Trac #3095, git 18cf54ed89dee1dd1847053c5210f0ca220590c2)

1096
674.	[func]		tomek
Tomek Mrugalski's avatar
Tomek Mrugalski committed
1097
1098
	Preparatory work for prefix delegation in LeaseMgr. getLease6()
	renamed to getLeases6(). It now can return more than one lease.
1099
1100
	(Trac #3146, git 05a05d810be754e7a4d8ca181550867febf6dcc6)

1101
1102
1103
1104
1105
673.	[func]		tomek
	libdhcp: Added support for IA_PD and IAPREFIX options. New class
	for IAPREFIX (Option6_IAPrefix) has been added.
	(Trac #3145, git 3a844e85ecc3067ccd1c01841f4a61366cb278f4)

Tomek Mrugalski's avatar
Tomek Mrugalski committed
1106
672.	[func]		tmark
1107
1108
1109
1110
1111
	Added b10-dhcp-ddns transaction base class, NameChangeTransaction.
	This class provides the common structure and methods to implement
	the state models described in the DHCP_DDNS design, plus
	integration with DNSClient and its callback mechanism for
	asynchronous IO with the DNS servers.
1112
1113
	(Trac #3086, git 079b862c9eb21056fdf957e560b8fe7b218441b6)

1114
671.	[func]		dclink, tomek
Jeremy C. Reed's avatar
Jeremy C. Reed committed
1115
1116
1117
	The memfile backend now supports getLease4(hwaddr) and
	getLease4(client-id) methods. Thanks to David Carlier for
	contributing a patch.
1118
1119
	(Trac #2592, git a11683be53db2f9f8f9b71c1d1c163511e0319b3)

1120
1121
1122
1123
1124
1125
670.	[func]		marcin
	libdhcpsrv: Added support to MySQL lease database backend to
	store FQDN data for the lease.
	(Trac #3084, git 79b7d8ee017b57a81cec5099bc028e1494d7e2e9)

669.	[func]		tmark
1126
	Added main process event loop to D2Process which is the primary
1127
	application object in b10-dhcp-ddns. This allows DHCP-DDNS
1128
1129
1130
1131
1132
	to queue requests received from clients for processing while
	listening for command control events.
	(Trac #3075 git e2f9d2e4c1b36f01eb5bfa2c4f8d55cf139c7e02)

668.	[func]		marcin
1133
1134
1135
1136
	libdhcpsrv: Implemented changes to lease allocation engine to
	propagate information about client's FQDN.
	(Trac #3083, git 37af28303d1cd61f675faea969cd1159df65bf9d)

1137
667.	[func]		tomek
1138
1139
	Additional hooks (buffer4_receive, lease4_renew,
	lease4_release, buffer4_send) added to the DHCPv4 server.
1140
1141
	(Trac #2983, git fd47f18f898695b98623a63a0a1c68d2e4b37568)

Michal 'vorner' Vaner's avatar
Michal 'vorner' Vaner committed
1142
1143
1144
1145
1146
666.	[func]		vorner
	The CmdCtl's command "print_settings" was removed. It served no real
	purpose and was just experimental leftover from early development.
	(Trac #3028, git 0d22246092ad4822d48f5a52af5f644f5ae2f5e2)

1147
665.	[doc]		stephen
1148
1149
	Added the "Hook's Maintenance Guide" to the BIND 10 developer
	documentation.
Michal 'vorner' Vaner's avatar
Michal 'vorner' Vaner committed
1150
	(Trac #3063, git 5d1ee7b7470fc644b798ac47db1811c829f5ac24)
1151

Michal 'vorner' Vaner's avatar
Michal 'vorner' Vaner committed
1152
664.	[bug]		tmark
1153
1154
1155
1156
1157
1158
	Corrects a bug in Hooks processing that was improperly
	creating a new callout handle on every call, rather
	than maintaining it throughout the context of the
	packet being processed.
	(Trac #3062, git 28684bcfe5e54ad0421d75d4445a04b75358ce77)

1159
663.	[func]		marcin
1160
	b10-dhcp6: Server processes the DHCPv6 Client FQDN Option
1161
1162
1163
1164
1165
1166
	sent by a client and generates the response. The DHCPv6 Client
	FQDN Option is represented by the new class in the libdhcp++.
	As a result of FQDN Option processing, the server generates
	NameChangeRequests which represent changes to DNS mappings for
	a particular lease (addition or removal of DNS mappings).
	Currently all generated NameChangeRequests are dropped. Sending
1167
	them to b10-dhcp-ddns will be implemented with the future tickets.
1168
1169
	(Trac #3036, git 209f3964b9f12afbf36f3fa6b62964e03049ec6e)

1170
1171
1172
1173
1174
1175
1176
662.	[func]		marcin
	libdhcp++: Implemented an Option4ClientFqdn class which represents
	DHCPv4 Client FQDN Option (code 81) defined in RFC4702. This class
	supports the domain name encoding in canonical FQDN format as well
	as in deprecated ASCII format.
	(Trac# 3082, git 1b434debfbf4a43070eb480fa0975a6eff6429d4)

Jeremy C. Reed's avatar
Jeremy C. Reed committed
1177
661.	[func]		stephen
Stephen Morris's avatar
Stephen Morris committed
1178
1179
1180
1181
1182
	Copy additional header files to the BIND 10 installation directory
	to allow the building of DHCP hooks libraries against an installed
	version of BIND 10.
	(Trac #3092, git e9beef0b435ba108af9e5979476bd2928808b342)

1183
660.	[func]		fujiwara
1184
	src/lib/cc: Integer size of C++ CC library is changed to int64_t.
1185
1186
1187
1188
1189
	b10-auth: The size of statistics counters is changed to uint64_t.
	b10-auth sends lower 63 bit of counter values to b10-stats.
	(Trac #3015,  git e5b3471d579937f19e446f8a380464e0fc059567
	 and Trac #3016, git ffbcf9833ebd2f1952664cc0498608b988628d53)

Stephen Morris's avatar
Stephen Morris committed
1190
659.	[func]		stephen
1191
1192
1193
	Added capability to configure the hooks libraries for the
	b10-dhcp4 and b10-dhcp6 servers through the BIND 10
	configuration mechanism.
Stephen Morris's avatar
Stephen Morris committed
1194
1195
	(Trac #2981, git aff6b06b2490fe4fa6568e7575a9a9105cfd7fae)

Michal 'vorner' Vaner's avatar
Michal 'vorner' Vaner committed
1196
1197
1198
658.	[func]*		vorner
	The resolver, being experimental, is no longer installed by default.
	If you really want to use it, even when it is known to be buggy, use
1199
	the ./configure --enable-experimental-resolver option.
Michal 'vorner' Vaner's avatar
Michal 'vorner' Vaner committed
1200
1201
1202
	(Trac #3064, git f5f07c976d2d42bdf80fea4433202ecf1f260648)

657.	[bug]		vorner
1203
1204
1205
1206
1207
	Due to various problems with older versions of boost and
	shared memory, the server rejects to compile with combination
	of boost < 1.48 and shared memory enabled. Most users don't
	need shared memory, admins of large servers are asked to
	upgrade boost.
Michal 'vorner' Vaner's avatar
Michal 'vorner' Vaner committed
1208
1209
	(Trac #3025, git 598e458c7af7d5bb81131112396e4c5845060ecd)

1210
656.	[func]		tomek
Tomek Mrugalski's avatar
Tomek Mrugalski committed
1211
1212
	Additional hooks (buffer6_receive, lease6_renew,
	lease6_release, buffer6_send) added to the DHCPv6 server.
1213
1214
1215
	(Trac #2984, git 540dd0449121094a56f294c500c2ed811f6016b6)

655.	[func]		tmark
1216
1217
1218
1219
1220
	Added D2UpdateMgr class to b10-dhcp-ddns. This class is
	the b10-dhcp-ddns task master, instantiating and supervising
	transactions that carry out the DNS updates needed to
	fulfill the requests (NameChangeRequests) received from
	b10-dhcp-ddns clients (e.g. DHCP servers).
1221
	(Trac #3059 git d72675617d6b60e3eb6160305738771f015849ba)
1222

1223
1224
1225
1226
654.	[bug]		stephen
	Always clear "skip" flag before calling any callouts on a hook.
	(Trac# 3050, git ff0b9b45869b1d9a4b99e785fbce421e184c2e93)

Thomas Markwalder's avatar
Thomas Markwalder committed
1227
1228
653.	[func]		tmark
	Added initial implementation of D2QueueMgr to
1229
1230
	b10-dhcp-ddns.  This class manages the receipt and
	queueing of requests received by b10-dhcp-ddns from
Thomas Markwalder's avatar
Thomas Markwalder committed
1231
1232
1233
	its clients (e.g. DHCP servers)
	(Trac# 3052, git a970f6c5255e000c053a2dc47926cea7cec2761c)

Stephen Morris's avatar
Stephen Morris committed
1234
1235
1236
1237
1238
652.	[doc]		stephen
	Added the "Hook Developer's Guide" to the BIND 10 developer
	documentation.
	(Trac# 2982, git 26a805c7e49a9ec85ee825f179cda41a2358f4c6)

1239
1240
1241
1242
1243
651.	[bug]		muks
	A race condition when creating cmdctl certificates caused corruption
	of these certificates in rare cases. This has now been fixed.
	(Trac# 2962, git 09f557d871faef090ed444ebeee7f13e142184a0)

1244
1245
1246
1247
1248
1249
1250
650.	[func]		muks
	The DomainTree rebalancing code has been updated to be more
	understandable. This ChangeLog entry is made just to make a note
	of this change. The change should not cause any observable
	difference whatsoever.
	(Trac# 2811, git 7c0bad1643af13dedf9356e9fb3a51264b7481de)

1251
1252
1253
1254
1255
649.	[func]		muks
	The default b10-xfrout also_notify port has been changed from
	0 to 53.
	(Trac# 2925, git 8acbf043daf590a9f2ad003e715cd4ffb0b3f979)

1256
1257
1258
1259
1260
1261
1262
1263
648.	[func]		tmark
	Moved classes pertaining to sending and receiving
	NameChangeRequests from src/bin/d2 into their own library,
	libdhcp_ddns, in src/lib/dhcp_ddns.  This allows the
	classes to be shared between DHDCP-DDNS and its clients,
	such as the DHCP servers.
	(Trac# 3065, git 3d39bccaf3f0565152ef73ec3e2cd03e77572c56)

1264
1265
1266
647.	[func]		tmark
	Added initial implementation of classes for sending
	and receiving NameChangeRequests between DHCP-DDNS
1267
1268
	and its clients such as DHCP. This includes both
	abstract classes and a derivation which traffics
1269
1270
1271
	requests across UDP sockets.
	(Trac #3008, git b54530b4539cec4476986442e72c047dddba7b48)

Stephen Morris's avatar
Stephen Morris committed
1272
1273
1274
1275
1276
1277
646.	[func]		stephen
	Extended the hooks framework to add a "validate libraries" function.
	This will be used to check libraries specified during BIND 10
	configuration.
	(Trac #3054, git 0f845ed94f462dee85b67f056656b2a197878b04)

1278
645.	[func]		tomek
Tomek Mrugalski's avatar
Tomek Mrugalski committed
1279
	Added initial set of hooks (pkt4_receive, subnet4_select,
1280
	lease4_select, pkt4_send) to the DHCPv4 server.
1281
1282
	(Trac #2994, git be65cfba939a6a7abd3c93931ce35c33d3e8247b)

1283
1284
1285
1286
1287
1288
1289
1290
1291
644.	[func]		marcin
	b10-dhcp4, b10-dhcp6: Implemented selection of the interfaces
	that server listens on, usi