ChangeLog 191 KB
Newer Older
1
690.	[bug]		tomek
Tomek Mrugalski's avatar
Tomek Mrugalski committed
2 3
	b10-dhcp4: Relay Agent Info option is now echoed back in
	DHCPv4 responses.
4 5
	(Trac #3184, git 287389c049518bff66bdf6a5a49bb8768be02d8e)

6 7 8 9 10
689.	[func]*		marcin
	b10-dhcp4 and b10-dhcp6 install callback functions which parse options
	in the received DHCP packets.
	(Trac #3180, git f73fba3cde9421acbeb9486c615900b0af58fa25)

11 12 13 14 15
688.	[func]		tomek
	b10-dhcp6: Prefix Delegation support is now extended to
	Renew and Release messages.
	(Trac #3153,#3154, git 3207932815f58045acea84ae092e0a5aa7c4bfd7)

16
687.	[func]		tomek
Tomek Mrugalski's avatar
Tomek Mrugalski committed
17 18
	b10-dhcp6: Prefix Delegation (IA_PD and IAPREFIX options) is now
	supported in Solicit and Request messages.
19
	(Trac #3152, git a0e73dd74658f2deb22fad2c7a1f56d122aa9021)
Tomek Mrugalski's avatar
Tomek Mrugalski committed
20

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

25
685.	[func]		tomek
Tomek Mrugalski's avatar
Tomek Mrugalski committed
26 27
	libdhcpsrv: Allocation Engine is now able to handle IPv6 prefixes.
	This will be used in Prefix Delegation.
28
	(Trac #3171, git 7d1431b4c887f0c7ee1b26b9b82d3d3b8464b34f)
Tomek Mrugalski's avatar
Tomek Mrugalski committed
29

30 31 32 33 34 35 36 37
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)

38 39 40 41 42 43 44
683.	[bug]		stephen
	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.
	(Trac #3113, git 3d19eee4dbfabc7cf7ae528351ee9e3a334cae92)

Naoki Kambe's avatar
Naoki Kambe committed
45 46 47 48 49 50
682.	[func]		naokikambe
	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.
	(Trac #2274, git ca691626a2be16f08754177bb27983a9f4984702)

51
681.	[func]		tmark
52 53
	Added support for prefix delegation configuration to b10-dhcp6
	subnets.
54
	(Trac# 3151, git 79a22be33825bafa1a0cdfa24d5cb751ab1ae2d3)
55

56 57 58 59 60 61
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
62 63
	b10-dhcp-ddns Finite state machine logic was refactored into its own class,
	StateModel.
64
	(Trac# 3156, git 6e9227b1b15448e834d1f60dd655e5633ff9745c)
65

66 67
678.	[func]		tmark
	MySQL backend used by b10-dhcp6 now uses lease type as a
68
	filtering parameter in all IPv6 lease queries.
69
	(Trac# 3147, git 65b6372b783cb1361fd56efe2b3247bfdbdc47ea)
70

71
677.	[func]		tomek
Tomek Mrugalski's avatar
Tomek Mrugalski committed
72 73
	libdhcpsrv: CfgMgr is now able to store IA, TA and PD pools in
	Subnet6 structures.
74 75
	(Trac #3150, git e6f0e89162bac0adae3ce3141437a282d5183162)

76 77 78 79 80 81 82
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
	HMAC-MD5, so that it is more conveninent to configure TSIG keys
	using it.
	(Trac #2762, git c543008573eba65567e9c189824322954c6dd43b)

Michal 'vorner' Vaner's avatar
Michal 'vorner' Vaner committed
83 84 85 86 87 88
675.    [func]      vorner
	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)

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

94 95 96 97 98
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
99
672.	[func]		tmark
100
	Added b10-dhcp-ddnsupdate transaction base class, NameChangeTransaction.
101 102
	This class provides the common structure and methods to implement the state
	models described in the DHCP_DDNS design, plus integration with DNSClient
103 104 105
	and its callback mechanism for asynchronous IO with the DNS servers.
	(Trac #3086, git 079b862c9eb21056fdf957e560b8fe7b218441b6)

106
671.	[func]		dclink,tomek
107
	memfile backend now supports getLease4(hwaddr) and getLease4(client-id)
Tomek Mrugalski's avatar
Tomek Mrugalski committed
108
	methods. Thanks to David Carlier for contributing a patch.
109 110
	(Trac #2592, git a11683be53db2f9f8f9b71c1d1c163511e0319b3)

111 112 113 114 115 116
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
117
	Added main process event loop to D2Process which is the primary
118
	application object in b10-dhcp-ddns. This allows DHCP-DDNS
119 120 121 122 123
	to queue requests received from clients for processing while
	listening for command control events.
	(Trac #3075 git e2f9d2e4c1b36f01eb5bfa2c4f8d55cf139c7e02)

668.	[func]		marcin
124 125 126 127
	libdhcpsrv: Implemented changes to lease allocation engine to
	propagate information about client's FQDN.
	(Trac #3083, git 37af28303d1cd61f675faea969cd1159df65bf9d)

128
667.	[func]		tomek
129 130
	Additional hooks (buffer4_receive, lease4_renew,
	lease4_release, buffer4_send) added to the DHCPv4 server.
131 132
	(Trac #2983, git fd47f18f898695b98623a63a0a1c68d2e4b37568)

Michal 'vorner' Vaner's avatar
Michal 'vorner' Vaner committed
133 134 135 136 137
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)

138
665.	[doc]		stephen
139 140
	Added the "Hook's Maintenance Guide" to the BIND 10 developer
	documentation.
Michal 'vorner' Vaner's avatar
Michal 'vorner' Vaner committed
141
	(Trac #3063, git 5d1ee7b7470fc644b798ac47db1811c829f5ac24)
142

Michal 'vorner' Vaner's avatar
Michal 'vorner' Vaner committed
143
664.	[bug]		tmark
144 145 146 147 148 149
	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)

150
663.	[func]		marcin
151
	b10-dhcp6: Server processes the DHCPv6 Client FQDN Option
152 153 154 155 156 157
	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
158
	them to b10-dhcp-ddns will be implemented with the future tickets.
159 160
	(Trac #3036, git 209f3964b9f12afbf36f3fa6b62964e03049ec6e)

161 162 163 164 165 166 167
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)

Stephen Morris's avatar
Stephen Morris committed
168 169 170 171 172 173
661.    [func]		stephen
	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)

174
660.	[func]		fujiwara
175
	src/lib/cc: Integer size of C++ CC library is changed to int64_t.
176 177 178 179 180
	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
181
659.	[func]		stephen
182 183 184
	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
185 186
	(Trac #2981, git aff6b06b2490fe4fa6568e7575a9a9105cfd7fae)

Michal 'vorner' Vaner's avatar
Michal 'vorner' Vaner committed
187 188 189
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
190
	the ./configure --enable-experimental-resolver option.
Michal 'vorner' Vaner's avatar
Michal 'vorner' Vaner committed
191 192 193
	(Trac #3064, git f5f07c976d2d42bdf80fea4433202ecf1f260648)

657.	[bug]		vorner
194 195 196 197 198
	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
199 200
	(Trac #3025, git 598e458c7af7d5bb81131112396e4c5845060ecd)

201
656.	[func]		tomek
Tomek Mrugalski's avatar
Tomek Mrugalski committed
202 203
	Additional hooks (buffer6_receive, lease6_renew,
	lease6_release, buffer6_send) added to the DHCPv6 server.
204 205 206
	(Trac #2984, git 540dd0449121094a56f294c500c2ed811f6016b6)

655.	[func]		tmark
207 208 209 210 211
	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).
212
	(Trac #3059 git d72675617d6b60e3eb6160305738771f015849ba)
213

214 215 216 217
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
218 219
653.	[func]		tmark
	Added initial implementation of D2QueueMgr to
220 221
	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
222 223 224
	its clients (e.g. DHCP servers)
	(Trac# 3052, git a970f6c5255e000c053a2dc47926cea7cec2761c)

Stephen Morris's avatar
Stephen Morris committed
225 226 227 228 229
652.	[doc]		stephen
	Added the "Hook Developer's Guide" to the BIND 10 developer
	documentation.
	(Trac# 2982, git 26a805c7e49a9ec85ee825f179cda41a2358f4c6)

230 231 232 233 234
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)

235 236 237 238 239 240 241
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)

242 243 244 245 246
649.	[func]		muks
	The default b10-xfrout also_notify port has been changed from
	0 to 53.
	(Trac# 2925, git 8acbf043daf590a9f2ad003e715cd4ffb0b3f979)

247 248 249 250 251 252 253 254
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)

255 256 257
647.	[func]		tmark
	Added initial implementation of classes for sending
	and receiving NameChangeRequests between DHCP-DDNS
258 259
	and its clients such as DHCP. This includes both
	abstract classes and a derivation which traffics
260 261 262
	requests across UDP sockets.
	(Trac #3008, git b54530b4539cec4476986442e72c047dddba7b48)

Stephen Morris's avatar
Stephen Morris committed
263 264 265 266 267 268
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)

269
645.	[func]		tomek
Tomek Mrugalski's avatar
Tomek Mrugalski committed
270
	Added initial set of hooks (pkt4_receive, subnet4_select,
Tomek Mrugalski's avatar
Tomek Mrugalski committed
271
	lease4_select, pkt4_send) to the DHCPv6 server.
272 273
	(Trac #2994, git be65cfba939a6a7abd3c93931ce35c33d3e8247b)

274 275 276 277 278 279 280 281 282
644.	[func]		marcin
	b10-dhcp4, b10-dhcp6: Implemented selection of the interfaces
	that server listens on, using Configuration Manager. It is
	possible to specify interface names explicitly or use asterisk
	to specify that server should listen on all available interfaces.
	Sockets are reopened according to the new configuration as
	soon as it is committed.
	(Trac #1555, git f48a3bff3fbbd15584d788a264d5966154394f04)

283 284 285 286 287 288 289
643.	[bug]		muks
	When running some unittests as root that depended on insufficient
	file permissions, the tests used to fail because the root user
	could still access such files. Such tests are now skipped when
	they are run as the root user.
	(Trac #3056, git 92ebabdbcf6168666b03d7f7fbb31f899be39322)

290
642.	[func]		tomek
Tomek Mrugalski's avatar
Tomek Mrugalski committed
291
	Added initial set of hooks (pkt6_receive, subnet6_select,
292 293 294
	lease6_select, pkt6_send) to the DHCPv6 server.
	(Trac #2995, git d6de376f97313ba40fef989e4a437d184fdf70cc)

295 296 297 298 299 300
641.	[func]		stephen
	Added the hooks framework. This allows shared libraries of
	user-written functions to be loaded at run-time and the
	functions called during packet processing.
	(Trac #2980, git 82c997a72890a12af135ace5b9ee100e41c5534e)

301 302 303 304
640.	[func]		marcin
	b10-dhcp-ddns: Implemented DNSClient class which implements
	asynchronous DNS updates using UDP. The TCP and TSIG support
	will be	implemented at later time. Nevertheless, class API
305
	accommodates the use of TCP and TSIG.
306 307
	(Trac #2977, git 5a67a8982baa1fd6b796c063eeb13850c633702c)

308 309 310 311 312 313
639.	[bug]		muks
	Added workaround for build failure on Fedora 19 between GCC 4.8.x
	and boost versions less than 1.54. Fedora 19 currently ships
	boost-1.53.
	(Trac #3039, git 4ef6830ed357ceb859ebb3e5e821a064bd8797bb)

Naoki Kambe's avatar
Naoki Kambe committed
314 315 316 317 318 319
638.	[bug]*		naokikambe
	Per-zone statistics counters are distinguished by zone class,
	e.g. IN, CH, and HS. A class name is added onto a zone name in
	structure of per-zone statistics.
	(Trac #2884, git c0153581c3533ef045a92e68e0464aab00947cbb)

320
637.	[func]		tmark
321 322 323 324 325
	Added initial implementation of NameChangeRequest,
	which embodies DNS update requests sent to DHCP-DDNS
	by its clients.
	(trac3007 git f33bdd59c6a8c8ea883f11578b463277d01c2b70)

326
636.	[func]		tmark
327
	Added the initial implementation of configuration parsing for
328
	DHCP-DDNS.
329 330
	(Trac #2957, git c04fb71fa44c2a458aac57ae54eeb1711c017a49)

331 332 333 334
635.	[func]		marcin
	b10-dhcp-ddns: Implemented DNS Update message construction.
	(Trac #2796, git eac5e751473e238dee1ebf16491634a1fbea25e2)

335 336 337 338 339 340 341 342 343
634.	[bug]		muks
	When processing DDNS updates, we now check the zone more
	thoroughly with the received zone data updates to check if it is
	valid.  If the zone fails validation, we reply with SERVFAIL
	rcode. So, while previously we may have allowed more zone data
	cases without checking which resulted in invalid zones, such
	update requests are now rejected.
	(Trac #2759, git d8991bf8ed720a316f7506c1dd9db7de5c57ad4d)

JINMEI Tatuya's avatar
JINMEI Tatuya committed
344 345 346 347 348 349 350
633.	[func]		jinmei
	b10-memmgr: a new BIND 10 module that manages shared memory
	segments for DNS zone data.  At this point it's runnable but does
	nothing really meaningful for end users; it was added to the
	master branch for further development.
	(Trac #2854, git d05d7aa36d0f8f87b94dba114134b50ca37eabff)

351 352 353 354 355
632.	[bug]		marcin
	perfdhcp: Fixed a bug in whereby the application was sporadically
	crashing when timed out packets were garbage collected.
	(Trac #2979, git 6d42b333f446eccc9d0204bcc04df38fed0c31db)

356 357 358 359 360
631.	[bug]		muks
	Applied a patch by Tomas Hozza to fix a couple of compile errors
	on Fedora 19 development release.
	(Trac #3001, git 6e42b90971b377261c72d51c38bf4a8dc336664a)

361 362 363 364 365 366 367
630.	[bug]		muks
	If there is a problem loading the backend module for a type of
	data source, b10-auth would not serve any zones. This behaviour
	has been changed now so that it serves zones from all other usable
	data sources that were configured.
	(Trac #2947, git 9a3ddf1e2bfa2546bfcc7df6d9b11bfbdb5cf35f)

368 369 370 371
629.	[func]		stephen
	Added first part of the hooks framework.
	(Trac #2794, git d2b107586db7c2deaecba212c891d231d7e54a07)

372 373 374 375 376 377
628.	[func]		y-aharen
	b10-auth: A new statistics item 'qryrecursion' has been introduced.
	The counter is for the number of queries (OpCode=Query) with Recursion
	Desired (RD) bit on.
	(Trac #2796, git 3d291f42cdb186682983aa833a1a67cb9e6a8434)

378
627.	[func]		tmark
379 380 381 382
	Logger name for DHCP-DDNS has been changed from "d2_logger" to
	"dhcpddns".  In addition, its log messages now use two suffixes,
	DCTL_ for logs the emanate from the underlying base classes, and
	DHCP_DDNS_ for logs which emanate from DHCP-DDNS specific code
383
	(Trac #2978, git 5aec5fb20b0486574226f89bd877267cb9116921)
Thomas Markwalder's avatar
Thomas Markwalder committed
384

385 386 387 388 389
626.	[func]		tmark
	Created the initial implementation of DHCP-DDNS service
	controller class, D2Controller, and the abstract class from
	which it derives,DControllerBase. D2Controller manages the
	lifecycle and BIND10 integration of the DHCP-DDNS application
390
	process, D2Process. Also note, module name is now
391 392 393
	b10-dhcp-ddns.
	(Trac #2956, git a41cac582e46213c120b19928e4162535ba5fe76)

JINMEI Tatuya's avatar
JINMEI Tatuya committed
394 395 396 397 398 399 400 401 402 403
625.	[bug]*		jinmei
	b10-xfrin/b10-loadzone: b10-xfrin now refers to the unified
	"data_sources" module configuration instead of almost-deprecated
	the Auth/database_file configuration (Note: zonemgr still uses the
	latter, so a secondary server would still need it for the moment).
	Due to this change, b10-xfrin does not auto-generate an initial
	zone for the very first transfer anymore; b10-loadzone has been
	extended with a new -e option for the initial setup.
	(Trac #2946, git 8191aec04c5279c199909f00f0a0b2b8f7bede94)

JINMEI Tatuya's avatar
JINMEI Tatuya committed
404 405 406 407 408 409 410 411 412 413
624.	[bug]		jinmei
	logging: prevented multiple BIND 10 processes from generating
	multiple small log files when they dumped logs to files and try
	to roll over them simultaneously.  This fix relies on a feature of
	underling logging library (log4cplus) version 1.1.0 or higher,
	so the problem can still happen if BIND 10 is built with an older
	version of log4cplus. (But this is expected to happen rarely in
	any case unless a verbose debug level is specified).
	(Trac #1622, git 5da8f8131b1224c99603852e1574b2a1adace236)

414
623.	[func]		tmark
415 416 417 418
	Created the initial, bare-bones implementation of DHCP-DDNS
	service process class, D2Process, and the abstract class
	from which it derives, DProcessBase. D2Process will provide
	the DHCP-DDNS specific event loop and business logic.
419 420
	(Trac #2955, git dbe4772246039a1257b6492936fda2a8600cd245)

JINMEI Tatuya's avatar
JINMEI Tatuya committed
421 422 423 424 425 426 427 428 429 430 431
622.	[func]*		jinmei
	b10-xfrin now has tighter control on the choice of IXFR or AXFR
	through zones/request_ixfr configuration item.  It includes
	the new "IXFR only" behavior for some special cases.  b10-xfrin
	now also uses AXFR whenever necessary, so it is now safe to try
	IXFR by default and it's made the default.  The previous
	use_ixfr configuration item was deprecated and triggers startup
	failure if specified; configuration using use_ixfr should be
	updated.
	(Trac #2911, git 8118f8e4e9c0ad3e7b690bbce265a163e4f8767a)

432 433 434 435 436 437 438 439 440 441 442 443
621.	[func]		team
	libdns++: All Rdata classes now use the generic lexer in
	constructors from text. This means that the name fields in such
	RRs in a zone file can now be non-absolute (the origin name in that
	context will be used), e.g., when loaded by b10-loadzone. Note
	that the existing string constructors for these Rdata classes also
	use the generic lexer, and they now expect an absolute name (with
	the trailing '.') in the name fields.
	(Trac #2522, git ea97070cf6b41299351fc29af66fa39c6465d56a)
	(Trac #2521, git c6603decaadcd33ccf9aee4a7b22447acec4b7f6)
	(See also ChangeLog 594, 564, 545)

JINMEI Tatuya's avatar
JINMEI Tatuya committed
444 445 446 447 448 449 450 451 452 453
620.	[bug]		jinmei
	b10-auth now returns SERVFAIL to queries for a zone that is
	configured to be loaded in-memory but isn't due to load time
	errors (missing zone file or errors in the zone file, etc).
	Such zones were previously treated as non existent and would
	result in REFUSED or unintentional match against less specific
	zones.  The revised behavior is also compatible with BIND 9.
	(Trac #2905, git 56ee9810fdfb5f86bd6948e6bf26545ac714edd8)

619.	[bug]		jinmei
JINMEI Tatuya's avatar
JINMEI Tatuya committed
454 455 456 457 458
	b10-xfrout now uses blocking send for xfr response messages
	to prevent abrupt termination of the stream due to a slower
	client or narrower network bandwidth.
	(Trac #2934, git bde0e94518469557c8b455ccbecc079a38382afd)

459
618.	[func]*		marcin
JINMEI Tatuya's avatar
JINMEI Tatuya committed
460 461 462 463 464 465 466 467 468
	b10-dhcp4: Added the ability for the server to respond to a
	directly connected client which does not yet have an IP address.
	On Linux, the server will unicast the response to the client's
	hardware address and the 'yiaddr' (the client's new IP
	address). Sending a response to the unicast address prevents other
	(not interested) hosts from receiving the server response. This
	capability is not yet implemented on non-Linux Operating Systems
	where, in all cases, the server responds to the broadcast
	address. The logic conforms to section 4.1 of RFC 2131.
469 470
	(Trac #2902, git c2d40e3d425f1e51647be6a717c4a97d7ca3c29c)

471 472 473 474 475 476 477 478
617.	[bug]		marcin
	b10-dhcp4: Fixed a bug whereby the domain-name option was encoded
	as FQDN (using technique described in RFC1035) instead of a string.
	Also, created new class which represents an option carrying a single
	string value. This class is now used for all standard options of
	this kind.
	(Trac #2786, git 96b1a7eb31b16bf9b270ad3d82873c0bd86a3530)

479 480 481 482 483 484
616.	[doc]		stephen
	Added description to the DHCP "Database Back-Ends" section of the
	BIND 10 Developer's Guide about how to set up a MySQL database for
	testing the DHCP MySQL backend.
	(Trac #2653, git da3579feea036aa2b7d094b1c260a80a69d2f9aa)

JINMEI Tatuya's avatar
JINMEI Tatuya committed
485 486 487 488 489 490 491
615.	[bug]		jinmei
	b10-auth: Avoid referencing to a freed object when authoritative
	server addresses are reconfigured.  It caused a crash on a busy
	server during initial startup time, and the same crash could also
	happen if listen_on parameters are reconfigured at run time.
	(Trac #2946, git d5f2a0d0954acd8bc33aabb220fab31652394fcd)

492
614.	[func]		tmark
493
	b10-d2: Initial DHCP-DDNS (a.k.a. D2) module implemented.
Jeremy C. Reed's avatar
Jeremy C. Reed committed
494 495
	Currently it does nothing useful, except for providing the
	skeleton implementation to be expanded in the future.
496 497
	(Trac #2954, git 392c5ec5d15cd8c809bc9c6096b9f2bfe7b8c66a)

JINMEI Tatuya's avatar
JINMEI Tatuya committed
498 499 500 501 502 503 504 505 506 507 508
613.	[func]		jinmei
	datasrc: Error handling in loading zones into memory is now more
	consistent and convenient: data source configuration does not fail
	due to zones configured to be loaded into memory but not available
	in the data source, just like the case of missing zone file for
	the MasterFiles type of data source.  Also, zones that aren't
	loaded into memory due to errors can now be reloaded for b10-auth
	using the bindctl Auth loadzone command after fixing the error,
	without reconfiguring the entire data source.
	(Trac #2851, git a3d4fe8a32003534150ed076ea0bbf80e1fcc43c)

509 510
612.	[func]		tomek
	b10-dhcp6: Support for relayed DHCPv6 traffic has been added.
511
	(Trac #2898, git c3f6b67fa16a07f7f7ede24dd85feaa7c157e1cb)
512

Naoki Kambe's avatar
Naoki Kambe committed
513 514 515 516 517 518 519
611.	[func]		naokikambe
	Added Xfrin statistics items such as the number of successful
	transfers.  These are per-zone type counters.  Their values can be
	obtained with zone names by invoking "Stats show Xfrin" via bindctl
	while Xfrin is running.
	(Trac #2252, git e1a0ea8ef5c51b9b25afa111fbfe9347afbe5413)

520
bind10-1.1.0beta2 released on May 10, 2013
521

522 523 524 525 526 527
610.	[bug]		muks
	When the sqlite3 program is not available on the system (in
	PATH), we no longer attempt to run some tests which depend
	on it.
	(Trac #1909, git f85b274b85b57a094d33ca06dfbe12ae67bb47df)

JINMEI Tatuya's avatar
JINMEI Tatuya committed
528 529 530 531 532 533 534 535 536
609.	[bug]		jinmei
	Handled some rare error cases in DNS server classes correctly.
	This fix specifically solves occasional crash of b10-auth due to
	errors caused by TCP DNS clients.  Also, as a result of cleanups
	with the fix, b10-auth should now be a little bit faster in
	handling UDP queries: in some local experiments it ran about 5%
	faster.
	(Trac #2903, git 6d3e0f4b36a754248f8a03a29e2c36aef644cdcc)

JINMEI Tatuya's avatar
JINMEI Tatuya committed
537 538 539 540 541 542 543 544
608.	[bug]		jinmei
	b10-cmdctl: fixed a hangup problem on receiving the shutdown
	command from bindctl.  Note, however, that cmdctl is defined as
	a "needed" module by default, so shutting down cmdctl would cause
	shutdown of the entire BIND 10 system anyway, and is therefore
	still not very useful in practice.
	(Trac #2712, git fa392e8eb391a17d30550d4b290c975710651d98)

JINMEI Tatuya's avatar
JINMEI Tatuya committed
545 546 547 548 549 550 551 552 553 554 555 556 557
607.	[bug]		jinmei
	Worked around some unit test regressions on FreeBSD 9.1 due to
	a binary compatibility issue between standard and system
	libraries (http://www.freebsd.org/cgi/query-pr.cgi?pr=175453).
	While not all tests still pass, main BIND 10 programs should
	generally work correctly.  Still, there can be odd run time
	behavior such as abrupt crash instead of graceful shutdown
	when some fatal event happens, so it's generally discouraged to
	use BIND 10 on FreeBSD 9.1 RELEASE.  According to the above
	bug report for FreeBSD, it seems upgrading or downgrading the
	FreeBSD version will solve this problem.
	(Trac #2887, git 69dfb4544d9ded3c10cffbbfd573ae05fdeb771f)

JINMEI Tatuya's avatar
JINMEI Tatuya committed
558 559 560 561 562 563 564
606.	[bug]		jinmei
	b10-xfrout now correctly stops sending notify requests once it
	receives a valid response.  It previously handled it as if the
	requests are timed out and resent it a few times in a short
	period.
	(Trac #2879, git 4c45f29f28ae766a9f7dc3142859f1d0000284e1)

Thomas Markwalder's avatar
Thomas Markwalder committed
565
605.	[bug]		tmark
566 567
	Modified perfdhcp to calculate the times displayed for packet sent
	and received as time elapsed since perfdhcp process start time.
Thomas Markwalder's avatar
Thomas Markwalder committed
568 569 570 571 572
	Previously these were times since the start of the epoch.
	However the large numbers involved caused loss of precision
	in the calculation of the test statistics.
	(Trac #2785, git e9556924dcd1cf285dc358c47d65ed7c413e02cf)

573 574 575 576 577 578 579 580 581
604.	[func]		marcin
	libdhcp++: abstracted methods which open sockets and send/receive
	DHCP4 packets to a separate class. Other classes will be derived
	from it to implement OS-specific methods of DHCPv4 packets filtering.
	The primary purpose for this change is to add support for Direct
	DHCPv4 response to a client which doesn't have an address yet on
	different OSes.
	(Trac #991, git 33ffc9a750cd3fb34158ef676aab6b05df0302e2)

582
603.	[func]		tmark
583
	The directory in which the b10-dhcp4 and b10-dhcp6 server id files has
584 585 586 587 588 589
	been changed from the local state directory (set by the "configure"
	--localstatedir switch) to the "bind10" subdirectory of it. After an
	upgrade, server id files in the former location will be orphaned and
	should be manually removed.
	(Trac #2770, git a622140d411b3f07a68a1451e19df36118a80650)

Thomas Markwalder's avatar
Thomas Markwalder committed
590
602.	[bug]		tmark
Jeremy C. Reed's avatar
Jeremy C. Reed committed
591
	Perfdhcp will now exit gracefully if the command line argument for
592 593 594
	IP version (-4 or -6) does not match the command line argument
	given for the server. Prior to this perfdhcp would core when given
	an IP version of -6 but a valid IPv4 address for server.
Thomas Markwalder's avatar
Thomas Markwalder committed
595 596
	(Trac #2784, git 96b66c0c79dccf9a0206a45916b9b23fe9b94f74)

Michal 'vorner' Vaner's avatar
Michal 'vorner' Vaner committed
597 598
601.	[bug]*		jinmei, vorner
	The "delete record" interface of the database based data source
599
	was extended so that the parameter includes reversed name in
Michal 'vorner' Vaner's avatar
Michal 'vorner' Vaner committed
600 601 602 603 604 605 606 607 608
	addition to the actual name.  This may help the underlying
	accessor implementation if reversed names are more convenient
	for the delete operation.  This was the case for the SQLite3
	accessor implementation, and it now performs delete operations
	much faster.  At a higher level, this means IXFR and DDNS Updates
	to the sqlite3 database are no longer so slow on large zones as
	they were before.
	(Trac #2877, git 33bd949ac7288c61ed0a664b7329b50b36d180e5)

609
600.	[bug]		tmark
610 611 612 613 614 615 616 617
	Changed mysql_lease_mgr to set the SQL mode option to STRICT. This
	causes mysql it to treat invalid input data as an error. Rather than
	"successfully" inserting a too large value by truncating it, the
	insert will fail, and the lease manager will throw an exception.
	Also, attempts to create a HWAddr (hardware address) object with
	too long an array of data now throw an exception.
	(Trac #2387, git cac02e9290600407bd6f3071c6654c1216278616)

618
599.	[func]		tomek
Tomek Mrugalski's avatar
Tomek Mrugalski committed
619 620
	libdhcp++: Pkt6 class is now able to parse and build relayed DHCPv6
	messages.
621 622
	(Trac #2827, git 29c3f7f4e82d7e85f0f5fb692345fd55092796b4)

623
bind10-1.1.0beta1 released on April 4, 2013
Jeremy C. Reed's avatar
Jeremy C. Reed committed
624

625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641
598.	[func]*		jinmei
	The separate "static" data source is now deprecated as it can be
	served in the more generic "MasterFiles" type of data source.
	This means existing configuration may not work after an update.
	If "config show data_sources/classes/CH[0]" on bindctl contains a
	"static" type of data source, you'll need to update it as follows:
	> config set data_sources/classes/CH[0]/type MasterFiles
	> config set data_sources/classes/CH[0]/params {"BIND": =>
	  "<the value of current data_sources/classes/CH[0]/params>"}
	> config set data_sources/classes/CH[0]/cache-enable true
	> config commit
	(Same for CH[1], CH[2], IN[0], etc, if applicable, although it
	should be very unlikely in practice.  Also note: '=>' above
	indicates the next line is actually part of the command.  Do
	not type in this "arrow").
	(Part of Trac #2833, git 0363b4187fe3c1a148ad424af39e12846610d2d7)

642 643 644 645 646 647
597.	[func]		tmark
	b10-dhcp6: Added unit tests for handling requests when no
	IPv6 subnets are configured/defined. Testing these conditions
	was overlooked during implementation of Trac #2719.
	(Trac #2721, git ce7f53b2de60e2411483b4aa31c714763a36da64)

JINMEI Tatuya's avatar
JINMEI Tatuya committed
648 649 650 651 652 653 654 655 656
596.	[bug]		jinmei
	Added special handling for the case where b10-auth receives a
	NOTIFY message, but zonemgr isn't running. Previously this was
	logged as a communications problem at the ERROR level, resulting
	in increasing noise when zonemgr is intentionally stopped. Other
	than the log level there is no change in externally visible
	behavior.
	(Trac #2562, git 119eed9938b17cbad3a74c823aa9eddb7cd337c2)

657
595.	[bug]		tomek
Tomek Mrugalski's avatar
Tomek Mrugalski committed
658 659
	All DHCP components now gracefully refuse to handle too short
	DUIDs and client-id.
660 661
	(Trac #2723, git a043d8ecda6aff57922fe98a33c7c3f6155d5d64)

662 663 664 665 666 667 668 669 670
594.	[func]		muks, pselkirk
	libdns++: the NSEC, DS, DLV, and AFSDB Rdata classes now use the
	generic lexer in constructors from text.  This means that the name
	fields in such RRs in a zone file can now be non-absolute (the
	origin name in that context will be used), e.g., when loaded by
	b10-loadzone.
	(Trac #2386, git dc0f34afb1eccc574421a802557198e6cd2363fa)
	(Trac #2391, git 1450d8d486cba3bee8be46e8001d66898edd370c)

671 672 673 674 675 676
593.	[func]		jelte
	Address + port output and logs is now consistent according to our
	coding guidelines, e.g. <address>:<port> in the case of IPv4, and
	[<address>]:<port> in the case of IPv6, instead of <address>#<port>
	(Trac #1086, git bcefe1e95cdd61ee4a09b20522c3c56b315a1acc)

JINMEI Tatuya's avatar
JINMEI Tatuya committed
677 678 679 680 681 682 683 684 685
592.	[bug]		jinmei
	b10-auth and zonemgr now handle some uncommon NOTIFY messages more
	gracefully: auth immediately returns a NOTAUTH response if the
	server does not have authority for the zone (the behavior
	compatible with BIND 9) without bothering zonemgr; zonemgr now
	simply skips retransfer if the specified zone is not in its
	secondary zone list, instead of producing noisy error logs.
	(Trac #1938, git 89d7de8e2f809aef2184b450e7dee1bfec98ad14)

Michal 'vorner' Vaner's avatar
Michal 'vorner' Vaner committed
686 687
591.	[func]		vorner
	Ported the remaining tests from the old shell/perl based system to
688 689
	lettuce. Make target `systest' is now gone. Currently, the lettuce
	tests are in git only, not part of the release tarball.
Michal 'vorner' Vaner's avatar
Michal 'vorner' Vaner committed
690 691
	(Trac #2624, git df1c5d5232a2ab551cd98b77ae388ad568a683ad)

Thomas Markwalder's avatar
Thomas Markwalder committed
692 693 694 695
590.	[bug]		tmark
	Modified "include" statements in DHCP MySQL lease manager code to
	fix build problems if MySQL is installed in a non-standard location.
	(Trac #2825, git 4813e06cf4e0a9d9f453890557b639715e081eca)
Michal 'vorner' Vaner's avatar
Michal 'vorner' Vaner committed
696

697 698 699 700 701
589.	[bug]		jelte
	b10-cmdctl now automatically re-reads the user accounts file when
	it is updated.
	(Trac #2710, git 16e8be506f32de668699e6954f5de60ca9d14ddf)

702
588.	[bug]*		jreed
703 704
	b10-xfrout: Log message id XFROUT_QUERY_QUOTA_EXCCEEDED
	changed to XFROUT_QUERY_QUOTA_EXCEEDED.
705
	(git be41be890f1349ae4c870a887f7acd99ba1eaac5)
706

707 708
587.	[bug]		jelte
	When used from python, the dynamic datasource factory now
709
	explicitly loads the logging messages dictionary, so that correct
710 711 712
	logging messages does not depend on incidental earlier import
	statements. Also, the sqlite3-specific log messages have been moved
	from the general datasource library to the sqlite3 datasource
713
	(which also explicitly loads its messages).
714
	(Trac #2746, git 1c004d95a8b715500af448683e4a07e9b66ea926)
715

716
586.	[func]		marcin
717
	libdhcp++: Removed unnecessary calls to the function which
718 719 720 721 722 723 724 725 726
	validates option definitions used to create instances of options
	being decoded in the received packets. Eliminating these calls
	lowered the CPU utilization by the server by approximately 10%.
	Also, added the composite search indexes on the container used to
	store DHCP leases by Memfile backend. This resulted in the
	significant performance rise when using this backend to store
	leases.
	(Trac #2701, git b96a30b26a045cfaa8ad579b0a8bf84f5ed4e73f)

727 728 729 730 731 732 733 734 735 736
585.	[func]		jinmei, muks
	The zone data loader now accepts RRs in any order during load.
	Before it used to reject adding non-consecutive RRsets. It
	expected records for a single owner name and its type to be
	grouped together. These restrictions are now removed.  It now also
	suppresses any duplicate RRs in the zone file when loading them
	into memory.
	(Trac #2440, git 232307060189c47285121f696d4efb206f632432)
	(Trac #2441, git 0860ae366d73314446d4886a093f4e86e94863d4)

JINMEI Tatuya's avatar
JINMEI Tatuya committed
737 738 739 740 741 742 743 744 745
584.	[bug]		jinmei
	Fixed build failure with Boost 1.53 (and probably higher) in the
	internal utility library.  Note that with -Werror it may still
	fail, but it's due to a Boost bug that is reportedly fixed in their
	development trunk.  See https://svn.boost.org/trac/boost/ticket/8080
	Until the fix is available in a released Boost version you may need
	to specify the --without-werror configure option to build BIND 10.
	(Trac #2764, git ca1da8aa5de24358d7d4e7e9a4625347457118cf)

746 747 748 749 750 751 752 753 754 755 756
583.	[func]*		jelte
	b10-cmdctl-usermgr has been updated and its options and arguments
	have changed; it now defaults to the same accounts file as
	b10-cmdctl defaults to. It can now be used to remove users from the
	accounts file as well, and it now accepts command-line arguments to
	specify the username and password to add or remove, in which case
	it will not prompt for them.
	Note that using a password on the command line is not recommended,
	as this can be viewed by other users.
	(Trac #2713, git 9925af3b3f4daa47ba8c2eb66f556b01ed6f0502)

Naoki Kambe's avatar
Naoki Kambe committed
757 758 759 760 761 762 763
582.	[func]		naokikambe
	New statistics items related unixdomain sockets added into Xfrout :
	open, openfail, close, bindfail, acceptfail, accept, senderr, and
	recverr.  Their values can be obtained by invoking "Stats show Xfrout"
	via bindctl while Xfrout is running.
	(Trac #2225, git 6df60554683165adacc2d1c3d29aa42a0c9141a1)

764
581.	[func]*		y-aharen
Yoshitaka Aharen's avatar
Yoshitaka Aharen committed
765 766 767 768 769
	Added statistics items in b10-auth based on
	http://bind10.isc.org/wiki/StatisticsItems. Qtype counters are
	dropped as it requires further spec design discussion.
	(Trac #2154, Trac #2155,
	             git 61d7c3959eb991b22bc1c0ef8f4ecb96b65d9325)
770
	(Trac #2157, git e653adac032f871cbd66cd500c37407a56d14589)
Yoshitaka Aharen's avatar
Yoshitaka Aharen committed
771

772 773
bind10-1.0.0-rc released on February 14, 2013

774 775 776 777 778 779 780
580.	[func]*		muks
	There is no longer a default user account. The old default account
	with username 'root' has been removed. In a fresh installation of
	BIND 10, the administrator has to configure a user account using
	the b10-cmdctl-usermgr program.
	(Trac #2641, git 54e8f4061f92c2f9e5b8564240937515efa6d934)

781 782 783 784 785 786 787 788 789
579.	[bug]		jinmei
	libdatasrc/b10-auth: corrected some corner cases in query handling
	of in-memory data source that led to the following invalid/odd
	responses from b10-auth:
	- duplicate RRs in answer and additional for type ANY query
	- incorrect NSEC for no error, no data (NXRRSET) response that
	  matches a wildcard
	(Trac #2585, git abe78fae4ba3aca5eb01806dd4e05607b1241745)

790 791
578.	[bug]		jinmei
	b10-auth now returns closest encloser NSEC3 proof to queries for
792
	an empty non terminal derived from an Opt-Out NSEC3 RR, as clarified
793 794 795 796
	in errata 3441 for RFC5155.  Previously it regarded such case as
	broken zone and returned SERVFAIL.
	(Trac #2659, git 24c235cb1b379c6472772d340e21577c3460b742)

797 798 799 800 801 802 803
577.	[func]		muks
	Added an SQLite3 index on records(rname, rdtype). This decreases
	insert performance by ~28% and adds about ~20% to the file size,
	but increases zone iteration performance. As it introduces a new
	index, a database upgrade would be required.
	(Trac #1756, git 9b3c959af13111af1fa248c5010aa33ee7e307ee)

804 805 806
576.	[bug]		tmark, tomek
	b10-dhcp6: Fixed bug when the server aborts operation when
	receiving renew and there are no IPv6 subnets configured.
Jeremy C. Reed's avatar
Jeremy C. Reed committed
807
	(Trac #2719, git 3132b8b19495470bbfd0f2ba0fe7da443926034b)
808

809 810 811 812 813 814 815 816
575.	[bug]		marcin
	b10-dhcp6: Fixed the bug whereby the subnet for the incoming
	packet was selected using only its source address. The subnet
	is now selected using either source address or the name of the
	server's interface on which the packet has been received.
	(Trac #2704, git 1cbacf19a28bdae50bb9bd3767bca0147fde37ed)

574.	[func]		tmark
817 818 819 820 821 822
	b10-dhcp4, b10-dhcp6: Composite key indexes were added to the lease
	tables to reduce lease search time. The lease4 table now has two
	additional indexes: a) hwaddr/subnet_id and b) client_id/subnet_id.
	The lease6 now has the one additional index: iaid/subnet_id/duid.
	Adding these indexes significantly improves lease acquisition
	performance.
823
	(Trac #2699,#2703, git 54bbed5fcbe237c5a49b515ae4c55148723406ce)
824

Stephen Morris's avatar
Stephen Morris committed
825 826 827 828 829 830
573.	[bug]		stephen
	Fixed problem whereby the DHCP server crashed if it ran out of
	addresses.  Such a condition now causes a packet to be returned
	to the client refusing the allocation of an address.
	(Trac #2681, git 87ce14cdb121b37afb5b1931af51bed7f6323dd6)

831 832 833 834 835
572.	[bug]		marcin
	perfdhcp: Fixed bug where the command line switches used to
	run the perfdhcp where printed as ASCII codes.
	(Trac #2700, git b8d6b949eb7f4705e32fbdfd7694ca2e6a6a5cdc)

836 837 838 839 840 841
571.	[build]		jinmei
	The ./configure script can now handle output from python-config
	--ldflags that contains a space after -L switches.  This fixes
	failure reported on some Solaris environments.
	(Trac #2661, git e6f86f2f5eec8e6003c13d36804a767a840d96d6)

842
570.	[bug]		tmark, marcin, tomek
843
	b10-dhcp4: Address renewal now works properly for DHCPv4 clients
Tomek Mrugalski's avatar
Tomek Mrugalski committed
844 845
	that do not send client ID.
	(Trac #2702, git daf2abe68ce9c111334a15c14e440730f3a085e2)
846

847
569.	[bug]		tomek
Tomek Mrugalski's avatar
Tomek Mrugalski committed
848 849 850 851
	b10-dhcp4: Fix bug whereby a DHCP packet without a client ID
	could crash the MySQL lease database backend.
	(Trac #2697, git b5e2be95d21ed750ad7cf5e15de2058aa8bc45f4)

Jeremy C. Reed's avatar
Jeremy C. Reed committed
852
568.	[func]		muks
853 854 855 856
	Various message IDs have been renamed to remove the word 'ERROR'
	from them when they are not logged at ERROR severity level.
	(Trac #2672, git 660a0d164feaf055677f375977f7ed327ead893e)

857 858 859 860
567.	[doc]		marcin, stephen, tomek
	Update DHCP sections of the BIND 10 guide.
	(Trac #2657, git 1d0c2004865d1bf322bf78d13630d992e39179fd)

861 862 863 864 865 866 867 868 869 870 871 872
566.	[func]*		jinmei
	libdns++/Python isc.dns: In Python isc.dns, function style
	constants for RRType, RRClass, Rcode and Opcode were deprecated
	and replaced with straightforward object constants, e.g., from
	RRType.AAAA() to RRType.AAAA.  This is a backward incompatible
	change (see the Trac ticket for a conversion script if needed).
	Also, these constants are now more consistent between C++
	and Python, and RRType constants for all currently standardized
	types are now supported (even if Rdata for these are not yet
	available).
	(Trac #1866 and #2409, git e5005185351cf73d4a611407c2cfcd163f80e428)

873 874 875 876 877 878 879 880 881 882 883
565.	[func]*		jelte
	The main initializer script (formerly known as either 'bind10',
	'boss', or 'bob'), has been renamed to b10-init (and Init in
	configuration). Configuring which components are run is henceforth
	done through '/Init/components', and the sbin/bind10 script is now
	simply a shellscript that runs b10-init. Existing configuration is
	automatically updated. NOTE: once configuration with this update
	has been saved (by committing any new change with bindctl), you
	cannot run older versions of BIND 10 anymore with this configuration.
	(Trac #1901, git bae3798603affdb276f370c1ac6b33b011a5ed4f)

884 885 886 887 888 889 890 891 892 893 894 895
564.	[func]		muks
	libdns++: the CNAME, DNAME, MX, NS, PTR and SRV Rdata classes now
	use the generic lexer in constructors from text.  This means that
	the name fields in such RRs in a zone file can now be non-absolute
	(the origin name in that context will be used), e.g., when loaded
	by b10-loadzone. One additional change to the libdns++ API is that
	the existing string constructors for these Rdata classes also use
	the generic lexer, and they now expect an absolute name (with the
	trailing '.') in the name fields.
	(Trac #2390, git a01569277cda3f78b1171bbf79f15ecf502e81e2)
	(Trac #2656, git 5a0d055137287f81e23fbeedd35236fee274596d)

JINMEI Tatuya's avatar
JINMEI Tatuya committed
896 897 898 899 900
563.	[build]		jinmei
	Added --disable-rpath configure option to avoid embedding library
	paths to binaries.  Patch from Adam Tkac.
	(Trac #2667, git 1c50c5a6ee7e9675e3ab154f2c7f975ef519fca2)

Michal 'vorner' Vaner's avatar
Michal 'vorner' Vaner committed
901 902
562.	[func]*		vorner
	The b10-xfrin now performs basic sanity check on just received
Jeremy C. Reed's avatar
Jeremy C. Reed committed
903
	zone. It'll reject severely broken zones (such as missing NS
Michal 'vorner' Vaner's avatar
Michal 'vorner' Vaner committed
904 905 906
	records).
	(Trac #2439, git 44699b4b18162581cd1dd39be5fb76ca536012e6)

907 908 909 910 911 912
561.	[bug]		kambe, jelte
	b10-stats-httpd no longer dumps request information to the console,
	but uses the bind10 logging system. Additionally, the logging
	identifiers have been changed from STATHTTPD_* to STATSHTTPD_*
	(Trac #1897, git 93716b025a4755a8a2cbf250a9e4187741dbc9bb)

913 914 915 916 917 918 919 920
560.	[bug]		jinmei
	b10-auth now sets the TTL of SOA RR for negative responses to
	the minimum of the RR TTL and the minimum TTL of the SOA RDATA
	as specified in RFC2308; previously the RR TTL was always used.
	The ZoneFinder class was extended partly for implementing this
	and partly for allowing further optimization.
	(Trac #2309 and #2635, git ee17e979fcde48b59d91c74ac368244169065f3b)

921 922 923 924 925 926 927 928 929
559.	[bug]		jelte
	b10-cmdctl no longer aborts on basic file issues with its https
	certificate or private key file. It performs additional checks, and
	provides better error logs if these fail. Additionally, bindctl
	provides a better error report if it is unable to connect over
	https connection. This issue could occur if BIND 10 was installed
	with root privileges but then started as a normal user.
	(Trac #2595, git 09b1a2f927483b407d70e98f5982f424cc872149)

930 931 932 933 934 935 936 937
558.	[func]		marcin
	b10-dhcp4: server now adds configured options to its
	responses to a client when client requests them.
	A few basic options: Routers, Domain Name, Domain
	Name Servers and Subnet Mask are added regardless
	if client requested them or not.
	(Trac #2591, git aeec2dc1b9c511d17971ac63138576c37e7c5164)

938
557.	[doc]		stephen
939 940 941
	Update DHCP sections of the BIND 10 guide.
	(Trac #2642, git e5faeb5fa84b7218fde486347359504cf692510e)

942 943 944 945 946 947 948 949 950
556.	[bug]		marcin
	Fixed DHCP servers configuration whereby the servers did not
	receive a configuration stored in the database on their startup.
	Also, the configuration handler function now uses full configuration
	instead of partial to configure the server. This guarantees that
	dependencies between various configuration parameters are
	fulfilled.
	(Trac #2637, git 91aa998226f1f91a232f2be59a53c9568c4ece77)

951 952 953 954 955 956
555.	[func]		marcin
	The encapsulated option space name can be specified for
	a DHCP option. It comprises sub-options being sent within
	an option that encapsulates this option space.
	(Trac #2314, git 27e6119093723a1e46a239ec245a8b4b10677635)

JINMEI Tatuya's avatar
JINMEI Tatuya committed
957 958 959 960 961 962 963 964
554.	[func]		jinmei
	b10-loadzone: improved completion log message and intermediate
	reports: It now logs the precise number of loaded RRs on
	completion, and intermediate reports show additional information
	such as the estimated progress in percentage and estimated time
	to complete.
	(Trac #2574, git 5b8a824054313bdecb8988b46e55cb2e94cb2d6c)

Jeremy C. Reed's avatar
Jeremy C. Reed committed
965
553.	[func]		stephen
966 967 968 969
	Values of the parameters to access the DHCP server lease database
	can now be set through the BIND 10 configuration mechanism.
	(Trac #2559, git 6c6f405188cc02d2358e114c33daff58edabd52a)

Jeremy C. Reed's avatar
Jeremy C. Reed committed
970 971
552.	[bug]		shane
	Build on Raspberry PI.
972 973 974 975 976 977
	The main issue was use of char for reading from input streams,
	which is incorrect, as EOF is returned as an int -1, which would
	then get cast into a char -1.
	A number of other minor issues were also fixed.
	(Trac #2571, git 525333e187cc4bbbbde288105c9582c1024caa4a)

Jeremy C. Reed's avatar
Jeremy C. Reed committed
978
551.	[bug]		shane
979 980 981 982
	Kill msgq if we cannot connect to it on startup.
	When the boss process was unable to connect to the msgq, it would
	exit. However, it would leave the msgq process running. This has
	been fixed, and the msgq is now stopped in this case.
983
	(Trac #2608, git 016925ef2437e0396127e135c937d3a55539d224)
984 985

550.	[func]		tomek
Tomek Mrugalski's avatar
Tomek Mrugalski committed
986 987 988 989 990
	b10-dhcp4: The DHCPv4 server now generates a server identifier
	the first time it is run. The identifier is preserved in a file
	across server restarts.
	b10-dhcp6: The server identifier is now preserved in a file across
	server restarts.
991 992
	(Trac #2597, git fa342a994de5dbefe32996be7eebe58f6304cff7)

993
549.	[func]		tomek
994 995 996
	b10-dhcp6: It is now possible to specify that a configured subnet
	is reachable locally over specified interface (see "interface"
	parameter in Subnet6 configuration).
997 998 999
	(Trac #2596, git a70f6172194a976b514cd7d67ce097bbca3c2798)

548.	[func]		vorner
Michal 'vorner' Vaner's avatar
Michal 'vorner' Vaner committed
1000 1001 1002 1003 1004 1005 1006
	The message queue daemon now appears on the bus. This has two
	effects, one is it obeys logging configuration and logs to the
	correct place like the rest of the modules. The other is it
	appears in bindctl as module (but it doesn't have any commands or
	configuration yet).
	(Trac #2582, git ced31d8c5a0f2ca930b976d3caecfc24fc04634e)

Michal 'vorner' Vaner's avatar
Michal 'vorner' Vaner committed
1007 1008 1009 1010
547.	[func]*		vorner
	The b10-loadzone now performs more thorough sanity check on the
	loaded data.  Some of the checks are now fatal and zone failing
	them will be rejected.
Michal 'vorner' Vaner's avatar
Michal 'vorner' Vaner committed
1011
	(Trac #2436, git 48d999f1cb59f308f9f30ba2639521d2a5a85baa)
Michal 'vorner' Vaner's avatar
Michal 'vorner' Vaner committed
1012

1013 1014 1015 1016 1017 1018 1019 1020 1021
546.	[func]		marcin
	DHCP option definitions can be now created using the
	Configuration Manager. The option definition specifies
	the option code, name and the types of the data being
	carried by the option.  The Configuration Manager
	reports an error on attempt to override standard DHCP
	option definition.
	(Trac #2317, git 71e25eb81e58a695cf3bad465c4254b13a50696e)

1022 1023 1024 1025 1026 1027 1028
545.	[func]		jinmei
	libdns++: the SOA Rdata class now uses the generic lexer in
	constructors from text.  This means that the MNAME and RNAME of an
	SOA RR in a zone file can now be non absolute (the origin name
	in that context will be used), e.g., when loaded by b10-loadzone.
	(Trac #2500, git 019ca218027a218921519f205139b96025df2bb5)

1029
544.	[func]		tomek
1030 1031 1032 1033 1034 1035 1036
	b10-dhcp4: Allocation engine support for IPv4 added. Currently
	supported operations are server selection (Discover/Offer),
	address assignment (Request/Ack), address renewal (Request/Ack),
	and address release (Release). Expired leases can be reused.
	Some options (e.g. Router Option) are still hardcoded, so the
	DHCPv4 server is not yet usable, although its address allocation
	is operational.
1037 1038
	(Trac #2320, git 60606cabb1c9584700b1f642bf2af21a35c64573)

1039 1040 1041
543.	[func]*		jelte
	When calling getFullConfig() as a module, , the configuration is now
	returned as properly-structured JSON.  Previously, the structure had
Jeremy C. Reed's avatar
Jeremy C. Reed committed
1042 1043
	been flattened, with all data being labelled by fully-qualified
	element names.
1044 1045
	(Trac #2619, git bed3c88c25ea8f7e951317775e99ebce3340ca22)

1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056
542.	[func]		marcin
	Created OptionSpace and OptionSpace6 classes to represent DHCP
	option spaces. The option spaces are used to group instances
	and definitions of options having uniqe codes. A special type
	of option space is the so-called "vendor specific option space"
	which groups sub-options sent within Vendor Encapsulated Options.
	The new classes are not used yet but they will be used once
	the creation of option spaces by configuration manager is
	implemented.
	(Trac #2313, git 37a27e19be874725ea3d560065e5591a845daa89)

1057
541.	[func]		marcin
1058
	Added routines to search for configured DHCP options and their
1059
	definitions using name of the option space they belong to.
1060 1061
	New routines are called internally from the DHCPv4 and DHCPv6
	servers code.
1062 1063
	(Trac #2315, git 741fe7bc96c70df35d9a79016b0aa1488e9b3ac8)

1064 1065 1066 1067 1068 1069 1070 1071 1072
540.	[func]		marcin
	DHCP Option values can be now specified using a string of
	tokens separated with comma sign. Subsequent tokens are used
	to set values for corresponding data fields in a particular
	DHCP option. The format of the token matches the data type
	of the corresponding option field: e.g. "192.168.2.1" for IPv4
	address, "5" for integer value etc.
	(Trac #2545, git 792c129a0785c73dd28fd96a8f1439fe6534a3f1)

Stephen Morris's avatar
Stephen Morris committed
1073 1074 1075 1076
539.	[func]		stephen
	Add logging to the DHCP server library.
	(Trac #2524, git b55b8b6686cc80eed41793c53d1779f4de3e9e3c)

Mukund Sivaraman's avatar
Mukund Sivaraman committed
1077 1078 1079 1080 1081 1082 1083
538.	[bug]		muks
	Added escaping of special characters (double-quotes, semicolon,
	backslash, etc.) in text-like RRType's toText() implementation.
	Without this change, some TXT and SPF RDATA were incorrectly
	stored in SQLite3 datasource as they were not escaped.
	(Trac #2535, git f516fc484544b7e08475947d6945bc87636d4115)

1084
537.	[func]		tomek
1085 1086
	b10-dhcp6: Support for RELEASE message has been added. Clients
	are now able to release their non-temporary IPv6 addresses.
1087 1088
	(Trac #2326, git 0974318566abe08d0702ddd185156842c6642424)

1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099
536.	[build]		jinmei
	Detect a build issue on FreeBSD with g++ 4.2 and Boost installed via
	FreeBSD ports at ./configure time.  This seems to be a bug of
	FreeBSD	ports setup and has been reported to the maintainer:
	http://www.freebsd.org/cgi/query-pr.cgi?pr=174753
	Until it's fixed, you need to build BIND 10 for FreeBSD that has
	this problem with specifying --without-werror, with clang++
	(development version), or with manually extracted Boost header
	files (no compiled Boost library is necessary).
	(Trac #1991, git 6b045bcd1f9613e3835551cdebd2616ea8319a36)

1100 1101 1102 1103 1104
535.	[bug]		jelte
	The log4cplus internal logging mechanism has been disabled, and no
	output from the log4cplus library itself should be printed to
	stderr anymore. This output can be enabled by using the
	compile-time option --enable-debug.
1105
	(Trac #1081, git db55f102b30e76b72b134cbd77bd183cd01f95c0)
1106

Jeremy C. Reed's avatar
Jeremy C. Reed committed
1107
534.	[func]*		vorner
Michal 'vorner' Vaner's avatar
Michal 'vorner' Vaner committed
1108 1109 1110 1111 1112 1113
	The b10-msgq now uses the same logging format as the rest
	of the system. However, it still doesn't obey the common
	configuration, as due to technical issues it is not able
	to read it yet.
	(git 9e6e821c0a33aab0cd0e70e51059d9a2761f76bb)

1114 1115
bind10-1.0.0-beta released on December 20, 2012

1116 1117 1118 1119 1120 1121 1122 1123 1124
533.	[build]*		jreed
	Changed the package name in configure.ac from bind10-devel
	to bind10. This means the default sub-directories for
	etc, include, libexec, share, share/doc, and var are changed.
	If upgrading from a previous version, you may need to move
	and update your configurations or change references for the
	old locations.
	(git bf53fbd4e92ae835280d49fbfdeeebd33e0ce3f2)

1125 1126 1127 1128 1129 1130 1131 1132 1133
532.	[func]		marcin
	Implemented configuration of DHCPv4 option values using
	the configuration manager. In order to set values for the
	data fields carried by a particular option, the user
	specifies a string of hexadecimal digits that is converted
	to binary data and stored in the option buffer. A more
	user-friendly way of specifying option content is planned.
	(Trac #2544, git fed1aab5a0f813c41637807f8c0c5f8830d71942)

1134
531.	[func]		tomek
Tomek Mrugalski's avatar
Tomek Mrugalski committed
1135 1136
	b10-dhcp6: Added support for expired leases. Leases for IPv6
	addresses that are past their valid lifetime may be recycled, i.e.
1137
	relocated to other clients if needed.
1138 1139
	(Trac #2327, git 62a23854f619349d319d02c3a385d9bc55442d5e)

1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153
530.	[func]*		team
	b10-loadzone was fully overhauled.  It now uses C++-based zone
	parser and loader library, performing stricter checks, having
	more complete support for master file formats, producing more
	helpful logs, is more extendable for various types of data
	sources, and yet much faster than the old version.  In
	functionality the new version should be generally backwards
	compatible to the old version, but there are some
	incompatibilities: name fields of RDATA (in NS, SOA, etc) must
	be absolute for now; due to the stricter checks some input that was
	(incorrectly) accepted by the old version may now be rejected;
	command line options and arguments are not compatible.
	(Trac #2380, git 689b015753a9e219bc90af0a0b818ada26cc5968)

1154
529.	[func]*		team
1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165
	The in-memory data source now uses a more complete master
	file parser to load textual zone files.  As of this change
	it supports multi-line RR representation and more complete
	support for escaped and quoted strings.  It also produces
	more helpful log messages when there is an error in the zone
	file.  It will be enhanced as more specific tasks in the
	#2368 meta ticket are completed.  The new parser is generally
	backward compatible to the previous one, but due to the
	tighter checks some input that has been accepted so far
	could now be rejected, so it's advisable to check if you
	use textual zone files directly loaded to memory.
1166 1167
	(Trac #2470, git c4cf36691115c15440b65cac16f1c7fcccc69521)

1168 1169 1170 1171 1172 1173 1174
528.	[func]		marcin
	Implemented definitions for DHCPv4 option definitions identified
	by option codes: 1 to 63, 77, 81-82, 90-92, 118-119, 124-125.
	These definitions are now used by the DHCPv4 server to parse
	options received from a client.
	(Trac #2526, git 50a73567e8067fdbe4405b7ece5b08948ef87f98)

1175 1176 1177 1178 1179 1180 1181 1182
527.	[bug]		jelte
	Fixed a bug in the synchronous UDP server code where unexpected
	errors from ASIO or the system libraries could cause b10-auth to
	stop. In asynchronous mode these errors would be ignored
	completely. Both types have been updated to report the problem with
	an ERROR log message, drop the packet, and continue service.
	(Trac #2494, git db92f30af10e6688a7dc117b254cb821e54a6d95)

1183
526.	[bug]		stephen
1184 1185 1186 1187 1188
	Miscellaneous fixes to DHCP code including rationalisation of
	some methods in LeaseMgr and resolving some Doxygen/cppcheck
	issues.
	(Trac #2546, git 0140368ed066c722e5d11d7f9cf1c01462cf7e13)

1189
525.	[func]		tomek
Tomek Mrugalski's avatar
Tomek Mrugalski committed
1190 1191 1192 1193
	b10-dhcp4: DHCPv4 server is now able to parse configuration. It
	is possible to specify IPv4 subnets with dynamic pools within
	them. Although configuration is accepted, it is not used yet. This
	will be implemented shortly.
1194 1195
	(Trac #2270, git de29c07129d41c96ee0d5eebdd30a1ea7fb9ac8a)

1196
524.	[func]		tomek
Tomek Mrugalski's avatar
Tomek Mrugalski committed
1197 1198
	b10-dhcp6 is now able to handle RENEW messages. Leases are
	renewed and REPLY responses are sent back to clients.
1199 1200
	(Trac #2325, git 7f6c9d057cc0a7a10f41ce7da9c8565b9ee85246)

1201 1202 1203 1204 1205 1206
523.	[bug]		muks
	Fixed a problem in inmem NSEC3 lookup (for, instance when using a
	zone with no non-apex names) which caused exceptions when the zone
	origin was not added as an explicit NSEC3 record.
	(Trac #2503, git 6fe86386be0e7598633fe35999112c1a6e3b0370)

1207
522.	[func]*		jelte
1208 1209 1210 1211 1212 1213 1214 1215
	Configuration of TSIG keys for b10-xfrin has changed; instead of
	specifying the full TSIG key (<name>:<base64>:<algo>) it now expects
	just the name, and uses the global TSIG Key Ring like all the other
	components (configuration list /tsig_keys/keys).
	Note: this is not automatically updated, so if you use TSIG in
	xfrin, you need to update your configuration.
	(Trac #1351, git e65b7b36f60f14b7abe083da411e6934cdfbae7a)

1216 1217 1218 1219 1220 1221
521.	[func]		marcin
	Implemented definitions for DHCPv6 standard options identified
	by codes up to 48. These definitions are now used by the DHCPv6
	server to create instances of options being sent to a client.
	(Trac #2491, git 0a4faa07777189ed9c25211987a1a9b574015a95)

1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235
520.	[func]		jelte
	The system no longer prints initial log messages to stdout
	regardless of what logging configuration is present, but it
	temporarily stores any log messages until the configuration is
	processed. If there is no specific configuration, or if the
	configuration cannot be accessed, it will still fall back to stdout.
	Note that there are still a few instances where output is printed,
	these shall be addressed separately.
	Note also that, currently, in case it falls back to stdout (such as
	when it cannot connect to b10-cfgmgr), all log messages are always
	printed (including debug messages), regardless of whether -v was
	used. This shall also be addressed in a future change.
	(Trac #2445, git 74a0abe5a6d10b28e4a3e360e87b129c232dea68)

Mukund Sivaraman's avatar
Mukund Sivaraman committed
1236
519.	[bug]		muks
1237 1238
	Fixed a problem in inmem NSEC lookup which caused returning an
	incorrect NSEC record or (in rare cases) assert failures
1239 1240
	when a non-existent domain was queried, which was a sub-domain of
	a domain that existed.
Mukund Sivaraman's avatar
Mukund Sivaraman committed
1241 1242
	(Trac #2504, git 835553eb309d100b062051f7ef18422d2e8e3ae4)

1243 1244 1245 1246
518.	[func]		stephen
	Extend DHCP MySQL backend to handle IPv4 addresses.
	(Trac #2404, git ce7db48d3ff5d5aad12b1da5e67ae60073cb2607)

1247 1248 1249 1250 1251
517.	[func]		stephen
	Added IOAddress::toBytes() to get byte representation of address.
	Also added convenience methods for V4/V6 address determination.
	(Trac #2396, git c23f87e8ac3ea781b38d688f8f7b58539f85e35a)

1252 1253 1254 1255