ChangeLog 17.7 KB
Newer Older
Jeremy C. Reed's avatar
Jeremy C. Reed committed
1
2
bind10-devel-20100917 released on September 17, 2010 

Jeremy C. Reed's avatar
Jeremy C. Reed committed
3
4
5
6
  95.	[doc]		jreed
	Add b10-zonemgr manual page. Update other docs to introduce
	this secondary manager. (Trac #341, svn r2951)

Jeremy C. Reed's avatar
Jeremy C. Reed committed
7
8
9
10
  95.	[bug]		jreed
	bin/xfrout and bin/zonemgr: Fixed some stderr output.
	(Trac #342, svn r2949)

Jelte Jansen's avatar
Jelte Jansen committed
11
12
13
14
15
16
  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
Jeremy C. Reed's avatar
Jeremy C. Reed committed
17
18
19
20
	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)

Jelte Jansen's avatar
Jelte Jansen committed
21
22
23
24
25
26
  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)

JINMEI Tatuya's avatar
JINMEI Tatuya committed
27
28
  91.	[func]*		jinmei
	lib/cc: Use const pointers and const member functions for the API
29
	as much as possible for safer operations.  Basically this does not
JINMEI Tatuya's avatar
JINMEI Tatuya committed
30
31
32
33
34
	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)

JINMEI Tatuya's avatar
JINMEI Tatuya committed
35
36
37
38
39
40
41
  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)

JINMEI Tatuya's avatar
JINMEI Tatuya committed
42
43
44
45
  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)

Jelte Jansen's avatar
Jelte Jansen committed
46
47
48
49
50
51
52
  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)

JINMEI Tatuya's avatar
JINMEI Tatuya committed
53
  87.   [func]		zhanglikun
54
55
	lib/python/isc/notifyout: Add the feature of notify-out, when 
	zone axfr/ixfr finishing, the server will notify its slaves.
Jerry's avatar
Jerry committed
56
	(Trac #289, svn r2737)
57

JINMEI Tatuya's avatar
JINMEI Tatuya committed
58
59
  86.   [func]		jerry
    	bin/zonemgr: Added zone manager module. The zone manager is one 
60
61
	of the co-operating processes of BIND10, which keeps track of 
	timers and other information necessary for BIND10 to act as a 
Jerry's avatar
Jerry committed
62
	slave. (Trac #215, svn r2737)
63

JINMEI Tatuya's avatar
JINMEI Tatuya committed
64
65
66
67
68
69
70
  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)

71
72
bind10-devel-20100812 released on August 12, 2010

JINMEI Tatuya's avatar
JINMEI Tatuya committed
73
  84.	[bug]		jinmei, jerry
JINMEI Tatuya's avatar
JINMEI Tatuya committed
74
	This is a quick fix patch for the issue: AXFR fails half the 
75
	time because of connection problems. xfrout client will make
JINMEI Tatuya's avatar
JINMEI Tatuya committed
76
	a new connection every time. (Trac #299, svn r2697)
77

JINMEI Tatuya's avatar
JINMEI Tatuya committed
78
  83.	[build]*	jreed
79
	The configure --with-boost-lib option is removed. It was not
Jeremy C. Reed's avatar
Jeremy C. Reed committed
80
	used since the build included ASIO. (svn r2684)
81

JINMEI Tatuya's avatar
JINMEI Tatuya committed
82
  82.	[func]		jinmei
JINMEI Tatuya's avatar
JINMEI Tatuya committed
83
	bin/auth: Added -u option to change the effective process user
JINMEI Tatuya's avatar
JINMEI Tatuya committed
84
85
86
87
	of the authoritative server after invocation.  The same option to
	the boss process will be propagated to b10-auth, too.
	(Trac #268, svn r2675)

JINMEI Tatuya's avatar
JINMEI Tatuya committed
88
89
90
91
92
  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)

Jelte Jansen's avatar
Jelte Jansen committed
93
94
95
96
97
  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).
Jelte Jansen's avatar
Jelte Jansen committed
98
	(Trac #99, r2657)
Jelte Jansen's avatar
Jelte Jansen committed
99

JINMEI Tatuya's avatar
JINMEI Tatuya committed
100
101
102
103
104
105
106
107
108
109
110
111
  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)

JINMEI Tatuya's avatar
JINMEI Tatuya committed
112
113
114
115
116
117
118
119
120
121
122
  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)

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

Jelte Jansen's avatar
Jelte Jansen committed
127
128
129
130
131
132
  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)

JINMEI Tatuya's avatar
JINMEI Tatuya committed
133
134
135
  75.	[bug]		jinmei
	Fixed a bug in the sqlite3 data source where temporary strings
	could be referenced after destruction.  It caused various lookup
JINMEI Tatuya's avatar
JINMEI Tatuya committed
136
	failures with SunStudio build. (Trac #288, r2494)
JINMEI Tatuya's avatar
JINMEI Tatuya committed
137

JINMEI Tatuya's avatar
JINMEI Tatuya committed
138
139
140
141
142
143
144
  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)

145
146
147
148
149
  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)

JINMEI Tatuya's avatar
JINMEI Tatuya committed
150
151
152
153
154
155
  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)

Evan Hunt's avatar
Evan Hunt committed
156
157
158
159
  71.  [func]		each
  	Add "-a" (address) option to bind10 to specify an address for
	the auth server to listen on.

Evan Hunt's avatar
Evan Hunt committed
160
161
162
163
164
165
166
167
  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)

168
bind10-devel-20100701 released on July 1, 2010
169

Jeremy C. Reed's avatar
Jeremy C. Reed committed
170
  69.  [func]*		jelte
171
172
173
174
175
176
	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)

Jeremy C. Reed's avatar
Jeremy C. Reed committed
177
  68.  [func]		zhanglikun
178
179
180
181
182
183
184
	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)

Jeremy C. Reed's avatar
Jeremy C. Reed committed
185
186
187
188
189
190
191
192
193
  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.
194
195
	(Trac #220, svn r2356)

Jeremy C. Reed's avatar
Jeremy C. Reed committed
196
  66.  [bug]		each
Evan Hunt's avatar
Evan Hunt committed
197
198
199
	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,
200
	svn r2350)
Evan Hunt's avatar
Evan Hunt committed
201
    
Jeremy C. Reed's avatar
Jeremy C. Reed committed
202
203
204
205
206
207
208
209
210
  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.
tingting shen's avatar
tingting shen committed
211
	(Trac #197, #199, #244, #161, #198, #174, #175, svn r2340)
212

Jeremy C. Reed's avatar
Jeremy C. Reed committed
213
214
215
216
217
  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).
218
219
	(Trac #176, svn r2338)

Jeremy C. Reed's avatar
Jeremy C. Reed committed
220
  63.  [func]		shane
Evan Hunt's avatar
Evan Hunt committed
221
222
223
224
	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)
225
226
227
228
229
230
231
232
233

  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)

JINMEI Tatuya's avatar
JINMEI Tatuya committed
234
235
236
237
  60.	[build]		jinmei
	Supported SunStudio C++ compiler.  Note: gtest still doesn't work.
	(Trac #251, svn r2310)

JINMEI Tatuya's avatar
JINMEI Tatuya committed
238
239
240
241
242
243
244
  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)

JINMEI Tatuya's avatar
JINMEI Tatuya committed
245
246
247
248
249
250
  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)

JINMEI Tatuya's avatar
JINMEI Tatuya committed
251
252
253
254
  57.	[func]		jinmei
	lib/datasrc: used a simpler version of Name::split (change 31) for
	better readability.  No behavior change. (Trac #200, svn r2159)

JINMEI Tatuya's avatar
JINMEI Tatuya committed
255
256
257
258
  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)
Shane Kerr's avatar
Shane Kerr committed
259

JINMEI Tatuya's avatar
JINMEI Tatuya committed
260
261
262
263
264
265
  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
266
267
268
269
	bin/xfrout: Enable b10-xfrout can be launched in source
	code tree.
	(Trac #224, svn r2103)

JINMEI Tatuya's avatar
JINMEI Tatuya committed
270
  53.	[bug]		zhanglikun
271
272
273
274
275
276
	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)

JINMEI Tatuya's avatar
JINMEI Tatuya committed
277
  52.	[func]		zhanglikun
278
279
280
281
282
	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.
283
	(Trac #151, svn r2091)
284

285
286
bind10-devel-20100602 released on June 2, 2010

Jeremy C. Reed's avatar
Jeremy C. Reed committed
287
  51.   [build]		jelte
288
289
290
291
292
	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)

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

297
  49.	[func]*		jelte
298
299
300
301
302
	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)
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

  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
343
344
345
346
	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.
347
348
349
350
351
352
353
354
355
356
357
	(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
JINMEI Tatuya's avatar
JINMEI Tatuya committed
358
359
	bin/bindctl: fixed a bug that it didn't accept IPv6 addresses as
	command arguments. (Trac #219, svn r2022)
360

361
  34.	[bug]		jinmei
JINMEI Tatuya's avatar
JINMEI Tatuya committed
362
363
	bin/xfrin: fixed several small bugs with many additional unit
	tests.  Fixes include: IPv6 transport support, resource leak,
JINMEI Tatuya's avatar
JINMEI Tatuya committed
364
	and non IN class support. (Trac #185, svn r2000)
365

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

370
  32.	[func]*		each
Evan Hunt's avatar
Evan Hunt committed
371
372
373
374
	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)
375

376
  31.	[func]		jinmei
JINMEI Tatuya's avatar
JINMEI Tatuya committed
377
378
	lib/dns: added a separate signature for Name::split() as a
	convenient wrapper for common usage. (Trac #49, svn r1903)
379

380
  30.	[bug]		jinmei
381
382
383
384
	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)

385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
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.
407
	(Trac #142, svn r1704)
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

  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

495
496
497
498
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
499

500
501
502
503
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.
504
[build] compilation and installation infrastructure change.
505
506
507
508
509
510
[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.
511
*: Backward incompatible or operational change.