summaryrefslogtreecommitdiffstats
path: root/ChangeLog
blob: f3ea4e204186a424f4a6e862792544620ded5293 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
  111.	[bug]*   zhanglikun, Michal Vaner
	Make sure process xfrin/xfrout/zonemgr/cmdctl can be stoped
	properly when user enter "ctrl+c" or 'Boss shutdown' command
	through	bindctl.

	The ZonemgrRefresh.run_timer and NotifyOut.dispatcher spawn
	a thread themself.
	(Trac #335, svn r3273)

  110.  [func]      Michal Vaner
	Added isc.net.check module to check ip addresses and ports for correctness
	and isc.net.addr to hold IP address. The bind10, xfrin and cmdctl programs
	are modified to use it.
	(Trac #353, svn r3240)

  109.  [func]		naokikambe
	Added the initial version of the stats module for the statistics
	feature of BIND 10, which supports the restricted features and
	items and reports via bindctl command (Trac #191, r3218)
	Added the document of the stats module, which is about how stats
	module collects the data (Trac #170, [wiki:StatsModule])

  108.	[func]		jerry		
	src/bin/zonemgr: Provide customizable configurations for
	lowerbound_refresh, lowerbound_retry, max_transfer_timeout and
	jitter_scope. (Trac #340, r3205)	

  107.  [func]       zhang likun
	Remove the parameter 'db_file' for command 'retransfer' of
	xfrin module. xfrin.spec will not be generated by script.
	(Trac #329, r3171)

  106.  [bug]       zhang likun
	When xfrin can't connect with one zone's master, it should tell
	the bad news to zonemgr, so that zonemgr can reset the timer for
	that zone. (Trac #329, r3170)

  105.  [bug]       Michal Vaner
	Python processes: they no longer take 100% CPU while idle
	due to a busy loop in reading command session in a nonblocking way.
	(Trac #349, svn r3153)

  104.	[bug]		jerry
	bin/zonemgr: zonemgr should be attempting to refresh expired zones.
	(Trac #336, r3139)
				   
  103.	[bug]		jerry
	lib/python/isc/log: Fixed an issue with python logging,
	python log shouldn't die with OSError.(Trac #267, r3137)
				   
  102.	[build]		jinmei
	Disable threads in ASIO to minimize build time dependency.
	(Trac #345, r3100)

  101.	[func]		jinmei
	src/lib/dns: Completed Opcode and Rcode implementation with more
	tests and documentation.  API is mostly the same but the
	validation was a bit tightened. (Trac #351, svn r3056)

  100.  [func]      Michal Vaner
	Python processes: support naming of python processes so
	they're not all called python3.
	(Trac #322, svn r3052)

  99.	[func]*		jinmei
	Introduced a separate EDNS class to encapsulate EDNS related
	information more cleanly.  The related APIs are changed a bit,
	although it won't affect most of higher level applications.
	(Trac #311, svn r3020)

  98.	[build]		jinmei
	The ./configure script now tries to search some common include
	paths for boost header files to minimize the need for explicit
	configuration with --with-boost-include. (Trac #323, svn r3006)

  97.	[func]		jinmei
	Added a micro benchmark test for query processing of b10-auth.
	(Trac #308, svn r2982)

  96.	[bug]		jinmei
	Fixed two small issues with configure: Do not set CXXFLAGS so that
	it can be customized; Make sure --disable-static works.
	(Trac #325, r2976)

bind10-devel-20100917 released on September 17, 2010 

  95.	[doc]		jreed
	Add b10-zonemgr manual page. Update other docs to introduce
	this secondary manager. (Trac #341, svn r2951)

  95.	[bug]		jreed
	bin/xfrout and bin/zonemgr: Fixed some stderr output.
	(Trac #342, svn r2949)

  94.	[bug]		jelte
  	bin/xfrout:  Fixed a problem in xfrout where only 2 or 3 RRs
	were used per DNS message in the xfrout stream.
	(Trac #334, r2931)

  93.	[bug]		jinmei
	lib/datasrc: A DS query could crash the library (and therefore,
	e.g. the authoritative server) if some RR of the same apex name
	is stored in the hot spot cache.  (Trac #307, svn r2923)

  92.	[func]*		jelte
	libdns_python (the python wrappers for libdns++) has been renamed
	to pydnspp (Python DNS++). Programs and libraries that used
	'import libdns_python' now need to use 'import pydnspp'.
	(Trac #314, r2902)

  91.	[func]*		jinmei
	lib/cc: Use const pointers and const member functions for the API
	as much as possible for safer operations.  Basically this does not
	change the observable behavior, but some of the API were changed
	in a backward incompatible manner.  This change also involves more
	copies, but at this moment the overhead is deemed acceptable.
	(Trac #310, r2803)

  90.	[build]		jinmei
	(Darwin/Mac OS X specific) Specify DYLD_LIBRARY_PATH for tests and
	experimental run under the source tree.  Without this loadable
	python modules refer to installation paths, which may confuse the
	operation due to version mismatch or even trigger run time errors
	due to missing libraries. (Trac #313, r2782)

  89.	[build]		jinmei
	Generate b10-config.db for tests at build time so that the source
	tree does not have to be writable. (Trac #315, r2776)

  88.   [func]		jelte
	Blocking reads on the msgq command channel now have a timeout
	(defaults to 4 seconds, modifiable as needed by modules).
	Because of this, modules will no longer block indefinitely
	if they are waiting for a message that is not sent for whatever
	reason. (Trac #296, r2761)

  87.   [func]		zhanglikun
	lib/python/isc/notifyout: Add the feature of notify-out, when 
	zone axfr/ixfr finishing, the server will notify its slaves.
	(Trac #289, svn r2737)

  86.	[func]		jerry
	bin/zonemgr: Added zone manager module. The zone manager is one 
	of the co-operating processes of BIND10, which keeps track of 
	timers and other information necessary for BIND10 to act as a 
	slave. (Trac #215, svn r2737)

  85.	[build]*	jinmei
	Build programs using dynamic link by default.  A new configure
	option --enable-static-link is provided to force static link for
	executable programs.  Statically linked programs can be run on a
	debugger more easily and would be convenient for developers.
	(Trac #309, svn r2723)

bind10-devel-20100812 released on August 12, 2010

  84.	[bug]		jinmei, jerry
	This is a quick fix patch for the issue: AXFR fails half the 
	time because of connection problems. xfrout client will make
	a new connection every time. (Trac #299, svn r2697)

  83.	[build]*	jreed
	The configure --with-boost-lib option is removed. It was not
	used since the build included ASIO. (svn r2684)

  82.	[func]		jinmei
	bin/auth: Added -u option to change the effective process user
	of the authoritative server after invocation.  The same option to
	the boss process will be propagated to b10-auth, too.
	(Trac #268, svn r2675)

  81.	[func]		jinmei
	Added a C++ framework for micro benchmark tests.  A supplemental
	library functions to build query data for the tests were also
	provided. (Trac #241, svn r2664)

  80.	[bug]		jelte
	bindctl no longer accepts configuration changes for unknown or
	non-running modules (for the latter, this is until we have a
	way to verify those options, at which point it'll be allowed
	again).
	(Trac #99, r2657)

  79.	[func]		feng, jinmei
	Refactored the ASIO link interfaces to move incoming XFR and
	NOTIFY processing to the auth server class.  Wrapper classes for
	ASIO specific concepts were also provided, so that other BIND 10
	modules can (eventually) use the interface without including the
	ASIO header file directly.  On top of these changes, AXFR and
	NOTIFY processing was massively improved in terms of message
	validation and protocol conformance.  Detailed tests were provided
	to confirm the behavior.
	Note: Right now, NOTIFY doesn't actually trigger subsequent zone
	transfer due to security reasons. (Trac #221, r2565)

  78.	[bug]		jinmei
	lib/dns: Fixed miscellaneous bugs in the base32 (hex) and hex
	(base16) implementation, including incorrect padding handling,
	parser failure in decoding with a SunStudio build, missing
	validation on the length of encoded hex string.  Test cases were
	more detailed to identify these bugs and confirm the fix.  Also
	renamed the incorrect term of "base32" to "base32hex".  This
	changed the API, but they are not intended to be used outside
	libdns++, so we don't consider it a backward incompatible change.
	(Trac #256, r2549)

  77.	[func]		zhanglikun
	Make error message be more friendly when running cmdctl and it's 
	already running(listening on same port)(Trac #277, r2540)

  76.	[bug]		jelte
	Fixed a bug in the handling of 'remote' config modules (i.e.
	modules that peek at the configuration of other modules), where
	they answered 'unknown command' to commands for those other
	modules. (Trac #278, r2506)

  75.	[bug]		jinmei
	Fixed a bug in the sqlite3 data source where temporary strings
	could be referenced after destruction.  It caused various lookup
	failures with SunStudio build. (Trac #288, r2494)

  74.	[func]*		jinmei
	Refactored the cc::Session class by introducing an abstract base
	class.  Test code can use their own derived mock class so that
	tests can be done without establishing a real CC session.  This
	change also modified some public APIs, mainly in the config
	module. (Trac #275, r2459)

  73.	[bug]		jelte
  	Fixed a bug where in bindctl, locally changed settings were
	reset when the list of running modules is updated. (Trac #285,
	r2452)

  72.	[build]		jinmei
	Added -R when linking python wrapper modules to libpython when
	possible.  This helps build BIND 10 on platforms that install
	libpython whose path is unknown to run-time loader.  NetBSD is a
	known such platform. (Trac #148, r2427)

  71.  [func]		each
  	Add "-a" (address) option to bind10 to specify an address for
	the auth server to listen on.

  70.  [func]		each
  	Added a hot-spot cache to libdatasrc to speed up access to
	repeatedly-queried data and reduce the number of queries to
	the underlying database; this should substantially improve
	performance.  Also added a "-n" ("no cache") option to
	bind10 and b10-auth to disable the cache if needed.
	(Trac #192, svn r2383)

bind10-devel-20100701 released on July 1, 2010

  69.  [func]*		jelte
	Added python wrappers for libdns++ (isc::dns), and libxfr. This
	removes the dependency on Boost.Python. The wrappers don't
	completely implement all functionality, but the high-level API
	is wrapped, and current modules use it now.
	(Trac #181, svn r2361)

  68.  [func]		zhanglikun
	Add options -c(--certificate-chain) to bindctl. Override class
	HTTPSConnection to support server certificate validation.
	Add support to cmdctl.spec file, now there are three configurable 
	items for cmdctl: 'key_file', 'cert_file' and 'accounts_file', 
	all of them can be changed in runtime.
	(Trac #127, svn r2357)

  67.  [func]		zhanglikun
	Make bindctl's command parser only do minimal check.
	Parameter value can be a sequence of non-space characters,
	or a string surrounded by quotation marks (these marks can
	be a part of the value string in escaped form). Make error
	message be more friendly. (If there is some error in
	parameter's value, the parameter name will be provided).
	Refactor function login_to_cmdctl() in class BindCmdInterpreter:
	avoid using Exception to catch all exceptions.
	(Trac #220, svn r2356)

  66.  [bug]		each
	Check for duplicate RRsets before inserting data into a message
	section; this, among other things, will prevent multiple copies
	of the same CNAME from showing up when there's a loop.  (Trac #69,
	svn r2350)
    
  65.  [func]		shentingting
	Various loadzone improvements: allow optional comment for
	$TTL, allow optional origin and comment for $INCLUDE, allow
	optional comment for $ORIGIN, support BIND9 extension of
	time units for TTLs, and fix bug to not use class as part
	of label name when records don't have a label but do have
	a class.  Added verbose options to exactly what is happening
	with loadzone.  Added loadzone test suite of different file
	formats to load.
	(Trac #197, #199, #244, #161, #198, #174, #175, svn r2340)

  64.  [func]		jerry
	Added python logging framework. It is for testing and
	experimenting with logging ideas. Currently, it supports
	three channels (file, syslog and stderr) and five levels
	(debug, info, warning, error and critical).
	(Trac #176, svn r2338)

  63.  [func]		shane
	Added initial support for setuid(), using the "-u" flag. This will
	be replaced in the future, but for now provides a reasonable 
	starting point.
	(Trac #180, svn r2330)

  62.  [func]		jelte
	bin/xfrin: Use the database_file as configured in Auth to transfers
	bin/xfrout: Use the database_file as configured in Auth to transfers

  61.  [bug]		jelte
	bin/auth: Enable b10-auth to be launched in source tree
	(i.e. use a zone database file relative to that)

  60.	[build]		jinmei
	Supported SunStudio C++ compiler.  Note: gtest still doesn't work.
	(Trac #251, svn r2310)

  59.	[bug]		jinmei
	lib/datasrc,bin/auth: The authoritative server could return a
	SERVFAIL with a partial answer if it finds a data source broken
	while looking for an answer.  This can happen, for example, if a
	zone that doesn't have an NS RR is configured and loaded as a
	sqlite3 data source. (Trac #249, r2286)

  58.	[bug]		jinmei
	Worked around an interaction issue between ASIO and standard C++
	library headers.  Without this ASIO didn't work: sometimes the
	application crashes, sometimes it blocked in the ASIO module.
	(Trac #248, svn r2187, r2190)

  57.	[func]		jinmei
	lib/datasrc: used a simpler version of Name::split (change 31) for
	better readability.  No behavior change. (Trac #200, svn r2159)

  56.	[func]*		jinmei
	lib/dns: renamed the library name to libdns++ to avoid confusion
	with the same name of library of BIND 9.
	(Trac #190, svn r2153)

  55.	[bug]		shane
	bin/xfrout: xfrout exception on Ctrl-C now no longer generates
	exception for 'Interrupted system call'
	(Track #136, svn r2147)

  54.	[bug]		zhanglikun
	bin/xfrout: Enable b10-xfrout can be launched in source
	code tree.
	(Trac #224, svn r2103)

  53.	[bug]		zhanglikun
	bin/bindctl: Generate a unique session ID by using 
	socket.gethostname() instead of socket.gethostbyname(), 
	since the latter one could make bindctl	stall if its own 
	host name can't be resolved.
	(Trac #228, svn r2096)

  52.	[func]		zhanglikun
	bin/xfrout: When xfrout is launched, check whether the
	socket file is being used by one running xfrout process, 
	if it is, exit from python.	If the file isn't a socket file 
	or nobody is listening, it will be removed. If it can't 
	be removed, exit from python.
	(Trac #151, svn r2091)

bind10-devel-20100602 released on June 2, 2010

  51.   [build]		jelte
	lib/python: Add bind10_config.py module for paths and
	possibly other configure-time variables. Allow some components
	to find spec files in build tree when ran from source.
	(Trac #223)

  50.	[bug]		zhanglikun
	bin/xfrin: a regression in xfrin: it can't communicate with 
	a remote server. (Trac #218, svn r2038)

  49.	[func]*		jelte
	Use unix domain sockets for msgq. For b10-msgq, the command
	line options --msgq-port and -m were removed. For bind10,
	the -msgq-port option was removed, and the -m command line
	option was changed to be a filename (instead of port number).
	(Trac #183, svn r2009)

  48.	[func]		jelte
	bin/auth: Use asio's io_service for the msgq handling.
	(svn r2007)

  47.	[func]		zhanglikun
	bin/cmdctl: Add value/type check for commands sent to
	cmdctl. (Trac #201, svn r1959)

  46.	[func]		zhanglikun
	lib/cc: Fix real type data encoding/decoding. (Trac #193,
	svn r1959)

  45.	[func]		zhanglikun
	bin/bind10: Pass verbose option to more modules. (Trac
	#205, svn r1957)

  44.   [build]         jreed
	Install headers for libdns and libexception.  (Trac #68,
	svn r1941)

  43.   [func]          jelte
	lib/cc: Message queuing on cc channel. (Trac #58, svn r1870)

  42.   [func]          jelte
	lib/python/isc/config:      Make temporary file with python
	tempfile module instead of manual with fixed name.  (Trac
	#184, svn r1859)

  41.   [func]          jelte
	Module descriptions in spec files. (Trac #90, svn r1856)

  40.   [build]         jreed
	Report detected features and configure settings at end of
	configure output.  (svn r1836)

  39.   [func]*         each
	Renamed libauth to libdatasrc.

  38.   [bug]           zhanglikun
	Send command 'shutdown' to Xfrin and Xfrout when boss receive SIGINT.
	Remove unused socket file when Xfrout process exits. Make sure Xfrout
	exit by itself when it receives SIGINT, instead of being killed by the
	signal SIGTERM or SIGKILL sent from boss.
	(Trac #135, #151, #134, svn r1797)

  37.   [build]         jinmei
	Check for the availability of python-config.  (Trac #159,
	svn r1794)

  36.	[func]		shane
	bin/bind10:	Miscellaneous code cleanups and improvements.
	(Trac #40, svn r2012)

  35.	[bug]		jinmei
	bin/bindctl: fixed a bug that it didn't accept IPv6 addresses as
	command arguments. (Trac #219, svn r2022)

  34.	[bug]		jinmei
	bin/xfrin: fixed several small bugs with many additional unit
	tests.  Fixes include: IPv6 transport support, resource leak,
	and non IN class support. (Trac #185, svn r2000)

  33.   [bug]           each
	bin/auth: output now prepended with "[b10-auth]" (Trac
	#109, svn r1985)

  32.	[func]*		each
	bin/auth: removed custom query-processing code, changed
        boost::asio code to use plain asio instead, and added asio
        headers to the source tree.  This allows building without
        using an external boost library. (Trac #163, svn r1983)

  31.	[func]		jinmei
	lib/dns: added a separate signature for Name::split() as a
	convenient wrapper for common usage. (Trac #49, svn r1903)

  30.	[bug]		jinmei
	lib/dns: parameter validation of Name::split() was not sufficient,
	and invalid parameters could cause integer overflow and make the
	library crash. (Trac #177, svn r1806)

bind10-devel-20100421 released on April 21, 2010

  29.	[build]
	Enable Python unit tests for "make check". (svn r1762)

  28.	[bug]
	Fix msgq CC test so it can find its module. (svn r1751)

  27.	[build]
	Add missing copyright license statements to various source
	files.  (svn r1750)

  26.	[func]
	Use PACKAGE_STRING (name + version) from config.h instead
	of hard-coded value in CH TXT version.bind replies (Trac
	#114, svn r1749)

  25.	[func]*
	Renamed msgq to b10-msgq. (Trac #25, svn r1747, r1748)

  24.	[func]
	Support case-sensitive name compression in MessageRenderer.
	(Trac #142, svn r1704)

  23.	[func]
	Support a simple name with possible compression. (svn r1701)

  22.	[func]
	b10-xfrout for AXFR-out support added. (svn r1629, r1630)

  21.	[bug]
	Make log message more readable when xfrin failed. (svn
	r1697)

  20.	[bug]
	Keep stderr for child processes if -v is specified. (svn
	r1690, r1698)

  19.	[bug]
	Allow bind10 boss to pass environment variables from parent.
	(svn r1689)

  18.	[bug]
	Xfrin warn if bind10_dns load failed. (svn r1688)

  17.	[bug]
	Use sqlite3_ds.load() in xfrin module and catch Sqlite3DSError
	explicitly. (svn r1684)

  16.	[func]*
	Removed print_message and print_settings configuration
	commands from Xfrin. (Trac #136, svn r1682)

  15.	[func]*
	Changed zone loader/updater so trailing dot is not required.
	(svn r1681)

  14.	[bug]
	Change shutdown to actually SIGKILL properly. (svn r1675)

  13.	[bug]
	Don't ignore other RRs than SOA even if the second SOA is
	found. (svn r1674)

  12.	[build]
	Fix tests and testdata so can be used from a read-only
	source directory.

  11.	[build]
	Make sure python tests scripts are included in tarball.
	(svn r1648)

  10.	[build]
	Improve python detection for configure. (svn r1622)

   9.	[build]
	Automake the python binding of libdns. (svn r1617)

   8.	[bug]
	Fix log errors which may cause xfrin module to crash. (svn
	r1613)

   7.	[func]
	New API for inserting zone data to sqlite3 database for
	AXFR-in. (svn r1612, r1613)

   6.	[bug]
	More code review, miscellaneous cleanups, style guidelines,
	and new and improved unit tests added.

   5.	[doc]
	Manual page cleanups and improvements.

   4.	[bug]
	NSEC RDATA fixes for buffer overrun lookups, incorrect
	boundary checks, spec-non-conformant behaviors. (svn r1611)

   3.	[bug]
	Remove a re-raise of an exception that should only have
	been included in an error answer on the cc channel. (svn
	r1601)

   2.	[bug]
	Removed unnecessary sleep() from ccsession.cc. (svn r1528)

   1.	[build]*
	The configure --with-boostlib option changed to --with-boost-lib.

bind10-devel-20100319 released on March 19, 2010

For complete code revision history, see http://bind10.isc.org/browser
Specific subversion changesets can be accessed at:
	http://bind10.isc.org/changeset/rrrr
Trac tickets can be accessed at: https://bind10.isc.org/ticket/nnn

LEGEND
[bug] general bug fix.  This is generally a backward compatible change,
	unless it's deemed to be impossible or very hard to keep
	compatibility to fix the bug.
[build] compilation and installation infrastructure change.
[doc] update to documentation.  This shouldn't change run time behavior.
[func] new feature.  In some cases this may be a backward incompatible
	change, which would require a bump of major version.
[security] security hole fix.  This is no different than a general bug fix
	except that it will be handled as confidential and will cause 
	security patch releases.
*: Backward incompatible or operational change.