ChangeLog 17.5 KB
Newer Older
Jeremy C. Reed's avatar
Jeremy C. Reed committed
1
2
3
4
  95.	[bug]		jreed
	bin/xfrout and bin/zonemgr: Fixed some stderr output.
	(Trac #342, svn r2949)

Jelte Jansen's avatar
Jelte Jansen committed
5
6
7
8
9
10
  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
11
12
13
14
	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
15
16
17
18
19
20
  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
21
22
23
24
25
26
27
28
  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
	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
29
30
31
32
33
34
35
  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
36
37
38
39
  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
40
41
42
43
44
45
46
  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
47
  87.   [func]		zhanglikun
48
49
	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
50
	(Trac #289, svn r2737)
51

JINMEI Tatuya's avatar
JINMEI Tatuya committed
52
53
  86.   [func]		jerry
    	bin/zonemgr: Added zone manager module. The zone manager is one 
54
55
	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
56
	slave. (Trac #215, svn r2737)
57

JINMEI Tatuya's avatar
JINMEI Tatuya committed
58
59
60
61
62
63
64
  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)

65
66
bind10-devel-20100812 released on August 12, 2010

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

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

JINMEI Tatuya's avatar
JINMEI Tatuya committed
76
  82.	[func]		jinmei
JINMEI Tatuya's avatar
JINMEI Tatuya committed
77
	bin/auth: Added -u option to change the effective process user
JINMEI Tatuya's avatar
JINMEI Tatuya committed
78
79
80
81
	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
82
83
84
85
86
  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
87
88
89
90
91
  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
92
	(Trac #99, r2657)
Jelte Jansen's avatar
Jelte Jansen committed
93

JINMEI Tatuya's avatar
JINMEI Tatuya committed
94
95
96
97
98
99
100
101
102
103
104
105
  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
106
107
108
109
110
111
112
113
114
115
116
  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)

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

Jelte Jansen's avatar
Jelte Jansen committed
121
122
123
124
125
126
  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
127
128
129
  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
130
	failures with SunStudio build. (Trac #288, r2494)
JINMEI Tatuya's avatar
JINMEI Tatuya committed
131

JINMEI Tatuya's avatar
JINMEI Tatuya committed
132
133
134
135
136
137
138
  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)

139
140
141
142
143
  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
144
145
146
147
148
149
  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
150
151
152
153
  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
154
155
156
157
158
159
160
161
  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)

162
bind10-devel-20100701 released on July 1, 2010
163

Jeremy C. Reed's avatar
Jeremy C. Reed committed
164
  69.  [func]*		jelte
165
166
167
168
169
170
	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
171
  68.  [func]		zhanglikun
172
173
174
175
176
177
178
	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
179
180
181
182
183
184
185
186
187
  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.
188
189
	(Trac #220, svn r2356)

Jeremy C. Reed's avatar
Jeremy C. Reed committed
190
  66.  [bug]		each
Evan Hunt's avatar
Evan Hunt committed
191
192
193
	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,
194
	svn r2350)
Evan Hunt's avatar
Evan Hunt committed
195
    
Jeremy C. Reed's avatar
Jeremy C. Reed committed
196
197
198
199
200
201
202
203
204
  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
205
	(Trac #197, #199, #244, #161, #198, #174, #175, svn r2340)
206

Jeremy C. Reed's avatar
Jeremy C. Reed committed
207
208
209
210
211
  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).
212
213
	(Trac #176, svn r2338)

Jeremy C. Reed's avatar
Jeremy C. Reed committed
214
  63.  [func]		shane
Evan Hunt's avatar
Evan Hunt committed
215
216
217
218
	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)
219
220
221
222
223
224
225
226
227

  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
228
229
230
231
  60.	[build]		jinmei
	Supported SunStudio C++ compiler.  Note: gtest still doesn't work.
	(Trac #251, svn r2310)

JINMEI Tatuya's avatar
JINMEI Tatuya committed
232
233
234
235
236
237
238
  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
239
240
241
242
243
244
  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
245
246
247
248
  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
249
250
251
252
  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
253

JINMEI Tatuya's avatar
JINMEI Tatuya committed
254
255
256
257
258
259
  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
260
261
262
263
	bin/xfrout: Enable b10-xfrout can be launched in source
	code tree.
	(Trac #224, svn r2103)

JINMEI Tatuya's avatar
JINMEI Tatuya committed
264
  53.	[bug]		zhanglikun
265
266
267
268
269
270
	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
271
  52.	[func]		zhanglikun
272
273
274
275
276
	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.
277
	(Trac #151, svn r2091)
278

279
280
bind10-devel-20100602 released on June 2, 2010

Jeremy C. Reed's avatar
Jeremy C. Reed committed
281
  51.   [build]		jelte
282
283
284
285
286
	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)

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

291
  49.	[func]*		jelte
292
293
294
295
296
	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)
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

  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
337
338
339
340
	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.
341
342
343
344
345
346
347
348
349
350
351
	(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
352
353
	bin/bindctl: fixed a bug that it didn't accept IPv6 addresses as
	command arguments. (Trac #219, svn r2022)
354

355
  34.	[bug]		jinmei
JINMEI Tatuya's avatar
JINMEI Tatuya committed
356
357
	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
358
	and non IN class support. (Trac #185, svn r2000)
359

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

364
  32.	[func]*		each
Evan Hunt's avatar
Evan Hunt committed
365
366
367
368
	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)
369

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

374
  30.	[bug]		jinmei
375
376
377
378
	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)

379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
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.
401
	(Trac #142, svn r1704)
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

  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

489
490
491
492
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
493

494
495
496
497
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.
498
[build] compilation and installation infrastructure change.
499
500
501
502
503
504
[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.
505
*: Backward incompatible or operational change.