ChangeLog 247 KB
Newer Older
1 2 3 4 5
909.	[bug]		marcin
	Removed many cppcheck errors in the code. Also removed the
	dhcp-ubench test tool.
	(Trac #3736, git 552aea126e968b78292ae80c1c6a03c9ef4dcdcd)

6 7 8 9 10
908.	[bug]		marcin
	Handle overflows during time conversions in the MySQL and
	PostgreSQL lease database backends.
	(Trac #3673, git 27b4e4590fdee507f0e877d7b771dc6c6457a4b5)

11 12 13 14 15 16 17
907.	[doc]		tmark
	Corrected depictions of kea-admin command line options for
	database-name in Kea Administrator Reference. Prior to this
	the document showed "-d" as the database name option, when
	in fact it is "-n".
	(Trac #3742, git ec427e4c9d008abc800f87eda3c0024b35e4c2e2)

18 19 20 21
906.	[doc]		tmark
	Added description of a restriction on extracting a MAC
	address from an IPv6 link-local address to the Kea
	Adminstrator Reference, section 8.8, item "ipv6-link-local".
22
	(Trac #3691, git ca9f5541cb36f815ac614c5c21088d545eafcac6)
23

24 25 26 27 28
905.	[func]		marcin
	DHCPv4 server assigns an address from the dynamic address
	pool if the reserved address is in use by another client.
	(Trac #3694, git 95b09ff53b941691cba172c933de0682b05a0d85)

29 30 31 32 33 34 35 36 37
904.	[bug]		marcin
	FreeBSD-only change: Disabled unit test expecting the death
	of the process when conditional variable was destroyed when
	the thread was still waiting for the variable. This is due
	invalid behavior of the pthread_cond_destroy on FreeBSD
	which should return EBUSY in such case, whereas it returns
	success error code.
	(Trac #3710, git bdb442402ef023055715baf597c401c9974a7fb2)

38 39 40 41 42 43
903.	[bug]		stephen
	Corrected arithmetical error in the rate control module of
	perfdhcp which led to the incorrect calculation of the rate
	at which packets should be sent.
	(Trac #3729, git bb5bca3d9b68abc4b83abdd204bfb075dda630ac)

44 45 46 47 48 49
902.	[bug]		marcin
	Fixed the bug in the DHCPv4 server whereby the server
	reconfiguration (using the SIGHUP signal) failed because
	of sockets remaining open since the previous configuration.
	(Trac #3730, git 3ceb0cd97cf5e44e8fc151d0a38db553530dd3ed)

50 51
Kea 0.9.1beta released on February 18, 2015

52 53 54 55 56 57 58
901.	[bug]		tomek
	Previously, the DHCPv4 and DHCPv6 servers gave up after
	100 failed lease selection attempts. Now both DHCPv4 and
	DHCPv6 servers calculate the number of attempts required
	to find a lease using the pool capacity.
	(Trac #3711, git cb5533a1bf1023faf61c1b8ade6ac8fa425f46c2)

59 60 61 62 63
900.	[doc]		marcin
	Documented configuration of the Lease File Cleanup (LFC) in
	the Kea Administrator Reference.
	(Trac #3672, git da3c676f009785204f9d84ca008890959bffcc18)

Tomek Mrugalski's avatar
Tomek Mrugalski committed
64 65 66 67 68 69 70 71
899.	[func]		tomek
	reservation-mode parameter has been added to DHCPv6 server.
	It controls what host reservation types are allowed and may
	improve performance in certain situations. It is also
	accepted in the DHCPv4 configuration, but currently not
	used.
	(Trac #3565, git cfbe13ad05aac23e09357fc78507cf9a82c908e6)

72 73 74
898.	[func]		marcin
	The DHCPv4 server configuration allows for opening multiple
	sockets on a single interface with multiple IPv4 addresses
75
	assigned. This facilitates to use case when different relay
76 77 78
	agents send messages to different addresses on the interface.
	(Trac #3695, git 3116243706a2dbcae3f9b5b3af9d2241a07b9ab2)

79 80 81 82
897.	[bug]		fdupont
	Removed a double free of the read_buffer_ field of Iface
	objects after (spurious) copy (partial as copies are not
	yet fixed).
Francis Dupont's avatar
Francis Dupont committed
83
	(Trac #3712, git 0b38ff6a6e77eb4182bfd7c0c681bef22ad5f634)
84

85 86 87 88 89
896.	[bug]		fdupont
	Removed exit() in D2 for version command line processing.
	This interfered with how the unit-tests were run.
	(Trac #3616, git 758a61e277675e89d857a22c3f8e844de307dca6)

Tomek Mrugalski's avatar
Tomek Mrugalski committed
90 91 92 93
895.	[doc]		tomek
	Host reservation for DHCPv4 and DHCPv6 is now documented.
	(Trac #3575, git a981e42eb0f39d27795364a6862b3a5e574e540a)

94 95 96
894.	[bug]		fdupont
	Accept empty options or sub options in DHCPv4 messages unpacking
	routines.
Francis Dupont's avatar
Francis Dupont committed
97
	(Trac #3661, git 42a4854208ec16834c590a9316b9a5306c60a3bb)
98

99 100 101 102 103
893.	[func,bug]	fdupont
	Changed the qualifying-suffix parameter in the dhcp-ddns
	configuration element to be mandatory with no default value when
	updates are enabled (i.e., the enable-updates mandatory parameter
	is true).
Francis Dupont's avatar
Francis Dupont committed
104
	(Trac #3632, git 12808651448837c611e4f6a262f7a1eb3deaf8da)
105

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

Tomek Mrugalski's avatar
Tomek Mrugalski committed
113 114 115 116 117
891.	[func]		tomek
	libdhcpsrv: Allocation Engine now uses statically assigned
	addresses when processing DHCPv6 renewals.
	(Trac #3677, git 9ce50790c91624937ff2b622e4afff36d5d3cc2d)

118 119 120 121 122 123 124 125 126 127
890.	[func]		marcin
	It is now possible to specify whether the DHCPv4 server
	should use raw sockets or IP/UDP datagram sockets to
	receive and send DHCP messages. The configuration format
	has been changed for the selection of interfaces on which
	the DHCPv4 and DHCPv6 servers should listen. The
	configuration files using an old format are incompatible
	with the latest version of Kea.
	(Trac #3604, git c726bbc4eae0f576f6791c7490bfba8c30a401d9)

128 129 130 131 132 133
889.	[bug]		marcin
	Resolved a bug in the DHCPv4 allocation engine whereby the
	client could request and obtain an address reserved for
	another client.
	(Trac #3690, git 1afa4e24b0fcdd6d3a2e596663ce1102ffe2340d)

134 135 136 137 138 139
888.	[func]		marcin
	DHCPv4 and DHCPv6 servers launch the kea-lfc program, according
	to the value of lfc-interval configuration parameter for the
	Memfile lease database backend.
	(Trac #3669, git c92665ce05d71e9e5cad9a0679018e9e3f7e3be5)

140
887.	[func]		sar
141 142 143
	A new process, kea-lfc, has been added. It is meant to
	be periodically executed by the DHCPv4 and DHCPv6 servers
	to remove redundant information from the lease files.
144 145 146 147
	See http://kea.isc.org/wiki/LFCDesign for the design.
	(Trac #3664, git cc85938b35e2d4bd00ccb74f1b83d3017ab0e41b)
	(Trac #3665, git b1707981f48b13895b50bf27176dede866576292)
	(Trac #3687, git 1e92382aaa2fbff08bbf1d6bbf0add195a7b6fae)
148

Tomek Mrugalski's avatar
Tomek Mrugalski committed
149 150 151 152 153
886.	[func]		tomek
	libdhcpsrv: Allocation Engine now uses statically assigned
	addresses when it allocates leases for the DHCPv6 clients.
	(Trac #3563, git b86b24fd011c0617515d62b7091d56fdfd1a7360)

Tomek Mrugalski's avatar
Tomek Mrugalski committed
154 155 156 157
885.	[func]		tomek
	Information-Request (stateless mode) in DHCPv6 is now supported.
	(Trac #2949, git 3185d229c39ed4660e9bc98a7f4a9d0dfbe64a04)

158 159 160 161 162 163
884.	[func]		marcin
	The DHCPv6 server configuration now allows for defining a pool
	for prefix delegation in which prefixes do not match a
	subnet prefix.
	(Trac #3647, git 5455d96cbf773e678bd6b1c3e31bfdeb617e6c13)

164 165 166 167 168
883.	[bug]		marcin
	libdhcpsrv: Prevent infinite loops in the allocation engine,
	when the address pool becomes exhausted.
	(Trac #3692, git f1e464558c89a6dc88ab28a25dd14a65fee62578)

169
882.	[func]		sar
170 171 172
	A utility class has been added which handles writing and
	deleting pid files as well as checking if the process with
	the given pid is running.
173
	(Trac #3687, git 1e92382aaa2fbff08bbf1d6bbf0add195a7b6fae)
174

175 176 177 178 179 180
881.	[func]		kalmus
	Extracting hardware/MAC address from the DHCPv6 remote-id
	option is now implemented.
	(Trac #3552, git 6db5fc158133b3f308c43f1fe2fa54a6f89baae1)

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

184 185 186
879.	[bug]		fdupont
	Drop DHCPREQUEST message from an unknown client in the
	INIT-REBOOT state.
187
	(Trac #3656, git 8e205adc35d8e72d1802d5ee9056e6c4ac78274a)
188

189 190 191 192 193 194 195 196
878.	[func]		marcin
	DHCPv4 and DHCPv6 server now support the lfc-interval
	parameter which configures the interval in which the
	Memfile lease database backend executes the Lease File
	Cleanup (LFC). Note: the LFC is currently no-op and will
	be implemented shortly.
	(Trac #3668, git 2ce54eeb607d2caa0901125b5d86a373e9e3f165)

197 198 199 200 201 202
877.	[func]           marcin
	DHCPv4 server drops unicast packets sent to the IPv4 address
	on which the server is not configured to listen.
	(Trac #3547, git 803f1f0f145b0f252ffc3637f758a47e0061de85)

876.	[func]          tomek
203
	Two new MAC acquisition methods implemented for DHCPv6:
204 205 206 207
	docsis-modem (which extracts MAC address from an option inserted
	by a cable modem) and docsis-ctms (which extracts MAC address from
	an option inserted by CMTS which acts as a DHCPv6 relay agent).
	(Trac #3553, git ad0a3772774bc5f9831a5ba16725a5a22887b8cb)
208

209 210 211 212 213 214 215
875.    [bug]           afidalgo, marcin
	The DHCPv4 server no longer appends the trailing dot to the
	hostnames sent to the clients in the Hostname option (12).
	Appending trailing dot confused some DHCPv4 clients.
	Credits to Alexis Fidalgo for submitting a patch.
	(Trac #3636, git 450867e6987f4c786ad6c2cc95cabcff601c1b48)

216
874.    [func]           marcin
217 218 219 220 221 222
	Changes to the Memfile lease database backend to load
	leases from multiple files during startup or server
	reconfiguration. This change is required by the Lease File
	Cleanup feature, which leads to the creation of additional
	files holding cleaned up lease information.
	(Trac #3671, git 667de2ef9044e97c76b15cacc7285132cdffdfcf)
223

224 225 226 227 228 229
873.    [bug]           wlodek
	Removed references to non-existing pgsql_test.sh script
	from Makefile.
	(Trac #3662, git ab69f38dd82cf3c3736588e03c1dc568de3ae6d6)

872.    [func]          wlodek
230 231 232 233
	Check for required header file errcode.h for PostgreSQL
	backend added to configure process.
	(Trac #3663, git d666dd9263ba1aaf88bec5b8e5ae3f0cb8e5c1db)

234
871.	[func]		kalmus, tomek
235
	DHCPv6 is now able to extract MAC from DUID-LLT and DUID-LL.
236
	(Trac #3548, git f6d9630e2762a0f256a2b7825d74d2bce8fe4c60)
237

238 239 240
870.	[func]		fdupont
	Cleanup the cryptolink API (e.g., removing spurious 'magic'
	zero length parameters).
Francis Dupont's avatar
Francis Dupont committed
241
	(Trac #3606, git 55d2df9d78321b3844217055e376ae44ac962d8f)
242

243 244 245 246 247 248
869.	[func]		tomek
	'mac-sources' configuration parameter added. The DHCPv6 server
	can now be configured to use various MAC/Hardware address
	sources.
	(Trac #3554, git 2e7c32e7c19372f0c97968ef7c8256509d80fdfc)

249
868.    [func]          marcin
250 251 252 253 254
	DHCPv4 server configuration allows for selection of the
	address on the interface that server should listen on.
	This is specifically useful in the environments with
	multiple IPv4 addresses assigned to one interface.
	(Trac #3539, git ff71887c605eedc3914bacfd2e551da7bddcc0d6)
255

256 257 258 259 260 261
867.	[func]		marcin
	libdhcpsrv: Allocation Engine uses statically assigned
	addresses when it allocates or renews leases for the
	DHCPv4 clients.
	(Trac #3564, git 7b192fe314c12e38622742b3b338e997934f862f)

262
866.	[doc]		stephen
263
	Corrected documentation concerning the way to configure hooks
264 265 266
	libraries.
	(Trac #3635, git 42d1c98a2e66ab7fc3e372365edad1f5709df885)

267 268 269 270 271 272 273
865.	[func]		marcin
	Host reservations can be specified in the DHCPv4 and DHCPv6
	servers configuration. The reservations are loaded, but they
	are currently unused.
	(Trac #3562, git 1ba5ec3b7831ef8126be17b9542d9b89a419e7dd)
	(Trac #3628, git 00b49298ec5e5e5c722e5938547c86c954fc76e1)

274 275 276 277 278
864.	[func]		tomek
	MySQL backend is now able to store information about hardware
	addresses and associated information in DHCPv6.
	(Trac #3556, git 08a29d8d2374bc3c6b3799d5dd97f586ee869392)

Tomek Mrugalski's avatar
Tomek Mrugalski committed
279 280
863.	[func]		tomek
	A new tool called kea-admin added. It allows database maintenance.
281
	Initialization of a new database, version check and upgrade between
Tomek Mrugalski's avatar
Tomek Mrugalski committed
282 283 284 285
	version is now supported. Currently the only backend supported is
	mysql, but support for memfile and pgsql is planned.
	(Trac #3599, git cf22f8d212f2435957f89b51722f8e26e14635f2)

286
862.	[func]		dgutier, tomek
287 288
	Support for client link-layer address option (RFC6939) has
	been added.
289 290
	(Trac #3551, git dabdf965d92085f86d5e96c8dadce0f0a8f7c8e3)

291 292 293 294 295
861.	[func]		marcin
	The configuration parameters for a DHCPv4 and DHCPv6 options are now
	optional.
	(Trac #3467, git 7bf8cef161e6dd00a7f2b2fe8ec04e1958d6db3f)

296 297 298 299 300
860.	[bug]		marcin
	Fixed calculation of the Client FQDN option length for the ASCII
	domain name encoding.
	(Trac #3624, git 5a120d9bf85e27ea5b2674d35af0f2774e4cd2a7)

301 302 303 304 305 306 307
859.	[func]		marcin
	Implemented Host Manager, which can retrieve host reservations
	specified in the server's configuration. Future tickets will
	extend Host Manager to retrieve reservations from other sources,
	e.g. SQL databases.
	(Trac #3561, git faac5e9746dbf82eb04ffef95658e4b4c7d64a4a)

308 309 310 311 312
858.	[bug]		marcin
	Added missing "lease-database" entry to the default DHCPv6
	server configuration, in kea.conf.
	(Trac #3630, git 0f7ff732ea2add45a24e040eae8a0dda27532a31)

313 314 315
857.	[func]		fdupont
	Improve the cryptolink code, for instance use a constant
	time comparison.
Francis Dupont's avatar
Francis Dupont committed
316
	(Trac #3602, git 0c1f433da650330b40fe1a67bae4716c9184f636)
317

318 319 320 321 322
856.	[build]		marcinw
	callout_manager.h and server_hooks.h headers are now exported,
	so statically linked libraries can be tested.
	(Github #4, git 00b5f3fa0369c13021bf4fb78c6450e524e4e411)

Francis Dupont's avatar
Francis Dupont committed
323 324 325 326 327
855.	[build]		fdupont
	Use convenience archives for objects used in a makefile and
	its parent makefile: before sources were compiled twice using
	the broken subdir-objects option of automake, now objects
	are put into a convenience static library (so an archive).
Francis Dupont's avatar
Francis Dupont committed
328
	(Trac #3631, git d7954b4234114d8fa41aa51f671d4faa1724b748)
Francis Dupont's avatar
Francis Dupont committed
329 330 331 332 333 334

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

335 336 337 338 339 340 341
853.	[func]		tomek
	Lease6 now is able to store MAC/hardware address information. Memfile
	memfile backend has been updated to store/retrieve that additional
	piece of information. Server now tries to use available methods to
	obtain MAC/hardware address from incoming packet.
	(Trac #3555, git ab76a9e7a9d39cb3cf533729473b63a2d2401ac7)

342 343 344 345 346
852.	[func]		tomek
	Pkt6 class is now able to generate client's MAC from source IPv6
	link-local address if EUI-64 identifier was used.
	(Trac #3549, git d92e76860e6931477b3e60e5be8978302973f88f)

347
851.	[bug]		tmark
Francis Dupont's avatar
Francis Dupont committed
348 349
	Corrected a segmentation fault that was occurring under OS-X
	during D2 module shutdown.
350 351
	(Trac #3470, git f7822568abd04c12faa3cde34fadaac238a373d3)

352 353
850.	[build]		fdupont
	Moved optional gtest sources to ext/gtest.
Francis Dupont's avatar
Francis Dupont committed
354
	(Trac #3162, git 055512758f5c79f29eb375126d496483c9a6d0a1)
355

356
849.	[bug]		tomek
357 358 359
	DHCPv6 component now processes incoming vendor-class options
	properly (packets are classified as VENDOR_CLASS_[content of the
	vendor-class option]).
360
	(Trac #3486, git 62409cd9531b081943b8f3567f7b0dca36b18802)
361

362 363
848.	[func]		fdupont
	Added truncated HMAC support to TSIG, as per RFC 4635.
Francis Dupont's avatar
Francis Dupont committed
364
	(Trac #3593, git ae3a9cd1a0d2dc07b7092368149381d69bc2c61a)
365

366
847.	[build]		fdupont
Francis Dupont's avatar
Francis Dupont committed
367
	Removed no longer used configuration option --with-shared-memory
368
	and associated files and variables.
Francis Dupont's avatar
Francis Dupont committed
369
	(Trac #3614, git adee8c93f7c7c1303390dd63dbeae74a48a34845)
370

371 372 373
846.	[bug]		fdupont
	Fixed subdir-objects warnings from recent versions of autotools,
	e.g., on Apple OSX.
Francis Dupont's avatar
Francis Dupont committed
374
	(Trac #3162, git e25c7477f3c35cdaa0f038732f697224bfd44847)
375

376 377 378 379 380
845.	[func]		marcin
	Implemented Host class for storing information about IPv4 and IPv6
	reservations for the host.
	(Trac #3560, git fb5e1883b01ce6388d1b7a92c61061b493c36713)

381 382 383 384
844.	[bug]		tmark, marcin
	Fixed multiple issues in the DHCP-DDNS unit tests.
	(Trac #3615, git fec824d36121b12e98dd407a0bdf1bc71c8de18d)

385 386 387 388 389
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)

390 391 392 393 394
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)

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

401
840.	[func]		nicolas
402 403 404 405 406
	PktFilterInet::send method now sets source IPv4 address
	explicitly.  This enabled perfdhcp to control its source address
	on systems that have more than one address assigned to a given
	interface. Thanks to Nicolas Chaigneau from Capgemini for
	providing this fix.
407 408
	(Github #2, git 6ac36ed7a1d97bcf52ffb2aec7cbf116e58e5803)

409
839.	[doc]		adam
410 411
	DHCPv4 examples corrected in Kea ARM. Thanks to Adam Osuchowski
	from Silesian University of Technology for providing this fix.
412 413
	(Github #1, git 15785c0e28190659b037cfcca19f0267ccd9049f)

414
838.	[bug]		tomek
Tomek Mrugalski's avatar
Tomek Mrugalski committed
415 416 417
	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'.
418 419
	(Trac #3591, git d4556e1d21766b94f2f0cda59df15e47e6f2676e)

420 421 422 423 424
837.	[bug,doc]	tomek
	Logging configuration examples in kea.conf fixed. Also updated
	Kea documentation for logging.
	(Trac #3536, git 2cf3f6b9cb3d2ae6fc7b0940b55490f109ddd2f9)

425 426 427
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
428
	(Trac #3471, git 8cf2ee46b3d7398f4f716435be3d9b19bf3599f5)
429

430 431 432 433
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
434
	(Trac #3482, git c779a0ef23d2092cf896276dab1fbcb190380374)
435

436 437 438 439 440
834.	[bug]		marcin
	Corrected the definition of the example DHCPv4 and DHCPv6 address
	pools in the default kea.conf file.
	(Trac #3538, git 8712cc0df77368940d8d3d11811a9ac9504bce12)

441 442 443 444 445 446 447
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)
448 449 450

Kea 0.9 released on August 29, 2014

451
832.	[bug]		jiri
452 453
	Compilation fix for PostgreSQL on i686. Thanks to Jiri Popelka
	from RedHat for providing a patch!
Tomek Mrugalski's avatar
Tomek Mrugalski committed
454
	(Trac #3532, git 96a06654f2177444dcea3a0e9f6fa06947855497)
455

456
831.	[func]		marcin
457
	DHCP servers check if the interfaces specified in the configuration,
458
	to be used to receive DHCP messages, are present in the system.
459 460 461 462 463
	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)

464
830.	[build]		jreed
Tomek Mrugalski's avatar
Tomek Mrugalski committed
465
	The configure script no longer requires pkg-config.
466 467
	(Trac #3511, git 99a5a2db8c011b358873d485ac48f7c78ac6374c)

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

474 475 476 477 478
828.	[bug]		marcin
	Corrected the IfaceMgrTest.detectIface unit test that failed on
	Linux systems with virtual interfaces present.
	(Trac #3527, git 7aa01a6965b6e9fc39ff005803cada7f58f2e628)

479
827.	[build]		jiri, tomek
480 481
	Deprecated AC_PROG_LIBTOOL macro replaced by LT_INIT. Thanks to
	Jiri Popelka from RedHat for providing a patch!
482
	(Trac #3525, git 6c0aacf29fae1d0501ca69ff6324df8d4fc8c7ee)
483

484
826.	[bug]		jiri, tomek
485 486
	Compilation fix for Red Hat running on armv7. Thanks to Jiri
	Popelka from RedHat for providing a patch!
487 488
	(Trac #3526, git eac5a80472dcb78b538c2ed34cc0534f801e5145)

489
825.	[bug]		jiri, tomek
490 491
	Example JSON configuration files permission fix. Thanks to Jiri
	Popelka	from RedHat for providing a patch!
492 493
	(Trac #3524, git 822a39ba33870f70787a1f666aed772e06d04d79)

494 495 496 497
824.	[bug]		marcin
	Kea deamons report configuration summary when the configuration is
	applied successfully.
	(Trac #3477, git f39d208024f720f72c931016cfa50a54e80f8c61)
498 499

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

503
822.	[build]		tomek
Tomek Mrugalski's avatar
Tomek Mrugalski committed
504
	'host' program was removed from examples.
505 506
	(Trac #3421, git aeea893fb1c52d20258929a62a59ae2e7bd12e3d)

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

512 513 514 515 516
820.	[bug]		marcin
	Corrected the IfaceMgrTest.detectIfaces unit test which reported
	false positives for specific network configurations.
	(Trac #3517, git 9affa1b2210f5cc9d7a99724e5d5c8979409cefd)

517 518
Kea 0.9beta1 released on August 13, 2014

519 520 521 522 523 524 525 526
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)

527
818.	[func]		tomek
Jeremy C. Reed's avatar
Jeremy C. Reed committed
528
	DHCPv4, DHCPv6 and DDNS components now report their versions.
529 530
	(Trac #3508, git 3f46c74ffa0ea1197e1fa62cb2f6580931be35f3)

531 532 533 534 535
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
536
816.	[doc]		tomek
537
	AUTHORS file rewritten.
Tomek Mrugalski's avatar
Tomek Mrugalski committed
538
	(Trac #3469, git 6ef55abaa1ef79e09ad332c0da28dee7bfed70fe)
539

540
815.	[func]		tomek
541 542 543
	Pool definitions in DHCPv4 and DHCPv6 are now lists of
	structures. This makes adding new per-pool parameters easier in
	the future.
544 545
	(Trac #3464, git 4bd0c0eda9d86608f8802d28bd360239fe88e905)

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

551
813.	[func]		tomek
Tomek Mrugalski's avatar
Tomek Mrugalski committed
552 553 554 555
	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_.
556 557
	(Trac #3417, git 1db8988de6af435fa388dc9c7f909c4a004a01d0)

558
812.	[doc]		tomek
Tomek Mrugalski's avatar
Tomek Mrugalski committed
559 560
	DHCPv6 and DDNS sections in Kea Administrator Reference Manual
	has been updated. Usage of keactl has been documented.
561
	(Trac #3468, git 3945fc6211bcadb9bece7147039a6b50ebcf936b)
Tomek Mrugalski's avatar
Tomek Mrugalski committed
562 563
	(Trac #3466, git fa9570d19c73cbe7effc75589b7eb855c411f6a3)

564 565 566 567 568
811.	[doc]		tmark
	Added documentation of message protocol between DHCP servers and the
	DHCP-DDNS process.
	(Trac #3505, git 6d9aed2f8fe181714e8260493c6cc06e13d0edd0)

569
810.	[func]		stephen
Jeremy C. Reed's avatar
Jeremy C. Reed committed
570 571 572
	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.
573 574
	(Trac #3481, git d101aed6156a993476fa1164f0b0ec8395f5886c)

575
809.	[func]		stephen
Jeremy C. Reed's avatar
Jeremy C. Reed committed
576 577 578
	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.
579 580
	(Trac #3480, git 2a55a469dde8fcc053b49e287c30d0906baa91b4)

581 582 583 584 585
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)

586 587 588 589
807.	[func]		marcin
	DHCPv6 server responds to Confirm messages from clients.
	(Trac #3269, git 4f43c309a994e30c07f5aa27057552fb195ec284)

590 591 592 593
806.	[func]		marcin
	DHCPv4 server processes Requested IP Address option (50).
	(Trac #3320, git ad411a177a32bbe6a93f4baf813d985558c99e2f)

594 595 596 597
805.	[func]		stephen
	Changed all occurrences of "BIND 10" in message files to "Kea".
	(Trac #3416, git e88090b57a75424920d9b96efbf50e3554048828)

598 599 600 601
804.	[func]		marcin
	DHCPv4 server supports DHCPINFORM messages from the clients.
	(Trac #3390, git 77f8577b1dbb52bdc6deb8bed3eef6ce7abc33fd)

602 603 604 605 606 607 608 609
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)

610
802.	[doc]		tomek, marcin
Tomek Mrugalski's avatar
Tomek Mrugalski committed
611
	Developer's Guide updated to Change BIND 10 references to Kea.
612
	Documentation for Keactrl added.
613 614 615
	(Trac #3396, git 271450edbc63e9022f877c9aa3d1dc290708f151)
	(Trac #3466, git fa9570d19c73cbe7effc75589b7eb855c411f6a3)

616 617 618 619
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
620
	(Trac #3473, git d620ef6659598bcc1f4c30241e845348770e264e)
621

622 623
800.	[bug]		marcin
	DHCPv6 server is now usable on FreeBSD, NetBSD and OpenBSD systems.
Jeremy C. Reed's avatar
Jeremy C. Reed committed
624 625 626
	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
627 628 629
	setting.
	(Trac #3437, git f4c2fe2fc37a37f1510e138e1f6c4ccd757e1f06)

630 631 632 633 634 635
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)
636

637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732
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
733 734 735 736
	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.
737 738 739 740 741 742 743 744 745
	(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)

746 747 748 749 750
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)

751 752 753 754 755 756 757
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)

758 759 760 761 762 763 764 765
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)

766 767 768 769 770
779.	[doc]		tmark
	Added a section to the developer's guide for Kea's DHCP-DDNS
	component, D2.
	(Trac #3158,    git  7be263c7372b1401a8b4288742854f96b5bec0d6)

771 772
bind10-1.2.0 (kea 0.8) released on April 17, 2014

773 774
bind10-1.2.0rc1 released on April 8, 2014

775
778.	[func]*		marcin
776 777 778 779 780 781
	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.
782 783
	(Trac #3360, git 09e6e71abf8bc693e389ebd262fd149b43c1f1d4)

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

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

799
775.	[func]		marcin
800 801 802
	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
803
	each time one or more subnets are removed.  Setting the ids to
804
	specific values prevents this renumbering.
805
	(Trac #3281, git d90e9a0642fbb16a4e664160b4812f61fb81f1aa)
806

807
774.	[doc]		marcin
808 809 810 811
	Updated information in the BIND 10 Guide about the standards supported
	by Kea and its current limitations.
	(Trac #3258, git ff52b86206e3a256a02ca6d5cde55040550ba86a)

812
773.	[doc]		tmark
813 814 815 816 817 818
	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)

819
772.	[bug]		tmark
820 821 822 823 824 825 826 827
	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)

828 829 830
771.	[bug]		tmark
	Ticket #3339 (entry 760) was reverted to fix regression
	where components added through bindctl, could not be removed.
831 832
	(Trac #3374, git c641e2d0569df3ca3e5a93beaf0ecf39db07e402)

833
770.	[bug]		tmark
834
	Configuration parsing in b10-dhcp6 and b10-dhcp4 for the "dhcp-ddns"
835 836 837 838
	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.
839
	(Trac #3358, git 983d8acec3a7ccb1ffef662eac7518aed5f99381)
840

841
769.	[func]		marcin
842 843 844
	b10-dhcp6: Implemented support for Rebind message.
	(Trac #3232, git 3649413932857470558a6f19e0b0e181b3fc0fda)

845
768.	[bug]		tmark
Jeremy C. Reed's avatar
Jeremy C. Reed committed
846 847 848 849 850
	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.
851 852
	(Trac #3362, git da3b0d4f364d069ffdb47723545798ac589fae42)

853
767.	[func]		tomek
854 855 856
	Unit-tests for all DHCP database backends are now shared.
	This improves test coverage for memfile and any future
	backends that may appear.
857 858
	(Trac #3359, git 3d6c11630ada9d0681a813cf026f6bb16aabb9fa)

859 860
bind10-1.2.0beta1 released on March 6, 2014

861 862 863 864 865 866 867 868
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)

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

874
764.	[bug]		tomek
Tomek Mrugalski's avatar
Tomek Mrugalski committed
875 876
	b10-dhcp4: Fixed a bug caused client classification to not work
	properly.
877 878
	(Trac #3343, git 1801400ac874380e7a565d373b4bae96a49e21f7)

879 880 881 882 883 884 885 886 887
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)

888 889 890 891 892
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
893 894 895 896
761.	[doc]		stephen, jreed
	Added "man" page for perfdhcp.
	(Trac #2307, git ff2f538912c205fbdb1408ee613c09b90de53514)

Jeremy C. Reed's avatar
Jeremy C. Reed committed
897 898 899 900 901 902
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.
903 904
	(Trac# 3339, git 3ae0d93d89f3277a566eeb045191a43b2dd9d9b1)

905
759.	[func]		tomek
Jeremy C. Reed's avatar
Jeremy C. Reed committed
906 907 908 909 910
	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.
911 912
	(Trac #3322, git 5de565baea42c9096dff78ed5fbd05982a174469)

Jeremy C. Reed's avatar
Jeremy C. Reed committed
913 914 915 916 917
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.
918 919
	(Trac #2426, git 985d66cba7665a71e17ef70c5d22c767abaad1b6)

920
757.	[func]		tmark
Jeremy C. Reed's avatar
Jeremy C. Reed committed
921 922 923 924 925 926 927
	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.
928 929
	(Trac# 3034, git 22c667a66536ff3e3741bc67025d824644ed4e7d)

930 931 932 933 934 935 936 937 938 939
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)

940 941 942 943
755.	[func]		muks
	Add support for the CAA RR type (RFC 6844).
	(Trac #2512, git 39162608985e5c904448f308951c73bb9c32da8f)

944 945 946 947
754.	[func]		muks
	Add support for the TLSA RR type (RFC 6698).
	(Trac #2185, git a168170430f6927f28597b2a6debebe31cf39b13)

948 949 950 951 952
753.	[func]		muks
	libdns++: the unknown/generic (RFC 3597) RDATA class now uses the
	generic lexer in constructors from text.
	(Trac #2426, git 0770d2df84e5608371db3a47e0456eb2a340b5f4)

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

958 959 960 961 962
751.	[func]		muks
	The BIND 10 zone loader now supports the $GENERATE directive (a
	BIND 9 extension).
	(Trac #2430, git b05064f681231fe7f8571253c5786f4ff0f2ca03)

963
750.	[func]		tomek
964 965 966 967
	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.
968 969
	(Trac #3274, git 1791d19899b92a6ee411199f664bdfc690ec08b2)

970
749.	[bug]		tmark
Jeremy C. Reed's avatar
Jeremy C. Reed committed
971 972 973 974
	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.
975 976
	(Trac# 3299, git dbacf27ece77f3d857da793341c6bd31ef1ea239)

977 978 979 980 981 982 983 984 985
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)

986 987 988 989 990 991 992
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)

993 994 995 996 997
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)

998
745.	[bug]*		muks
999 1000 1001 1002 1003 1004
	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)

1005
744.	[func]		marcin
Jeremy C. Reed's avatar
Jeremy C. Reed committed
1006 1007 1008 1009 1010 1011
	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.
1012 1013
	(Trac# 3295, git aa1c94a54114e848c64771fde308fc9ac0c00fd0)

1014
743.	[func]		tmark
1015
	b10-dhcp4 now responds with changes in DDNS behavior based upon
1016
	configuration parameters specified through its dhcp-ddns configuration
1017 1018
	element. The parameters now supported are override-no-update,
	override-client-update, replace-client-name, generated-prefix, and
1019 1020 1021
	qualifying-suffix.
	(Trac# 3282, git 42b1f1e4c4f5aa48b7588233402876f5012c043c)

1022 1023 1024 1025 1026 1027
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)

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

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

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

1048 1049 1050 1051 1052
738.	[bug]		muks
	b10-auth now correctly processes NXDOMAIN results in the root zone
	when using a SQLite3 data source.
	(Trac #2951, git 13685cc4580660eaf5b041b683a2d2f31fd24de3)

1053 1054 1055 1056 1057
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
1058
736.	[bug]		wlodek
1059 1060
	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
1061 1062 1063
	The messages with non-matching server identifier are dropped.
	(Trac #2892, git 3bd69e9b4ab9be231f7c966fd62b95a4e1595901)

1064 1065
735.	[doc]		stephen
	Expanded Developer's Guide to include chapter on logging.
Wlodzimierz Wencel's avatar
Wlodzimierz Wencel committed
1066
	(Trac #2566, git a08d702839d9df6cddefeccab1e7e657377145de)
1067

1068 1069 1070 1071 1072 1073
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)

1074 1075 1076 1077 1078 1079
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)

1080 1081
732.	[func]		tomek
	b10-dhcp4, b10-dhcp6: Support for simplified client classification
Jeremy C. Reed's avatar
Jeremy C. Reed committed
1082 1083 1084 1085 1086 1087 1088
	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.
1089 1090
	(Trac #3203, git afea612c23143f81a4201e39ba793bc837c5c9f1)

1091
731.	[func]		tmark
Jeremy C. Reed's avatar
Jeremy C. Reed committed
1092 1093 1094 1095 1096
	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.
1097 1098
	(Trac# 3033, git 0ba859834503f2b9b908cd7bc572e0286ca9201f)

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

1105 1106 1107 1108 1109
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)

1110 1111 1112 1113 1114 1115 1116
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)

1117 1118 1119 1120
727.	[func]		muks
	RRset::setName() has now been removed.
	(Trac #2335, git c918027a387da8514acf7e125fd52c8378113662)

1121
726.	[bug]*		muks
1122 1123 1124 1125 1126 1127
	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)

1128 1129 1130
725.	[func]		tmark
	b10-dhcp-ddns D2UpdateMgr now uses the newly implemented
	NameAddTransaction and NameRemoveTransaction classes.  This allows
1131
	it to conduct actual DNS update exchanges based upon queued
1132 1133 1134
	NameChangeRequests.
	(Trac# 3089, git 9ff948a169e1c1f3ad9e1bad1568375590a3ef42)

1135 1136 1137 1138 1139 1140 1141 1142
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)

1143
723.	[bug]		marcin
Jeremy C. Reed's avatar
Jeremy C. Reed committed
1144 1145 1146 1147 1148 1149 1150
	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.
1151 1152
	(Trac #3251, git 21d2f7ec425f8461b545687104cd76a42da61b2e)

1153 1154 1155 1156 1157
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)

1158 1159 1160 1161 1162
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.
1163 1164
	(Trac #3207, git 34fddf2e75b80d9e517a8f9c3321aa4878cda795)

1165 1166
720.	[func]		tmark
	Added the initial implementation of the class, NameAddTransaction,
1167 1168 1169 1170
	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.
1171
	(Trac# 3088, git ca58ac00fce4cb5f46e534d7ffadb2db4e4ffaf3)