ChangeLog 32 KB
Newer Older
Jelte Jansen's avatar
Jelte Jansen committed
1
2
3
4
5
  153.	[bug]		jelte
	b10-cfgmgr: Fixed a bug where configuration updates sometimes
	lost previous settings in the configuration manager.
	(Trac #427, git 2df894155657754151e0860e2ca9cdbed7317c70)

JINMEI Tatuya's avatar
JINMEI Tatuya committed
6
7
8
9
10
11
12
13
14
  152.	[func]*		jinmei
	b10-auth: Added new configuration variable "statistics-interval"
	to allow the user to change the timer interval for periodic
	statistics updates.  The update can also be disabled by setting
	the value to 0.  Disabling statistics updates will also work as
	a temporary workaround of a known issue that b10-auth can block in
	sending statistics and stop responding to queries as a result.
	(Trac #513, git 285c5ee)

Scott Mann's avatar
Scott Mann committed
15
16
17
18
19
20
  151.  [bug]		smann
	lib/log/dummylog.h: 
	lib/log/dummylog.cc: Modify dlog so that it takes an optional 2nd
        argument of type bool (true or false). This flag, if set, will cause
        the message to be printed whether or not -v is chosen.
        (trac #432, git 880220478c3e8702d56d761b1e0b21b77d08ee5a)
JINMEI Tatuya's avatar
JINMEI Tatuya committed
21

Jelte Jansen's avatar
Jelte Jansen committed
22
23
  150.  [bug]		jelte
	b10-cfgmgr: No longer save the configuration on exit. Configuration
Jeremy C. Reed's avatar
Jeremy C. Reed committed
24
	is already saved if it is changed successfully, so writing it on
Jelte Jansen's avatar
Jelte Jansen committed
25
26
27
28
	exit (and hence, when nothing has changed too) is unnecessary and
	may even cause problems.
	(Trac #435, git fd7baa38c08d54d5b5f84930c1684c436d2776dc)

Jelte Jansen's avatar
Jelte Jansen committed
29
30
31
32
33
34
  149.  [bug]		jelte
	bindctl: Check if the user session has disappeared (either by a
	timeout or by a server restart), and reauthenticate if so. This
	fixes the 'cmdctl not running' problem.
        (trac #431, git b929be82fec5f92e115d8985552f84b4fdd385b9)

Jelte Jansen's avatar
Jelte Jansen committed
35
36
37
38
39
40
41
  148.	[func]		jelte
	bindctl: Command results are now pretty-printed (i.e. printed in
	a more readable form). Empty results are no longer printed at all
	(used to print '{}'), and the message
	'send the command to cmd-ctrl' has also been removed.
	(git 3954c628c13ec90722a2d8816f52a380e0065bae)

42
43
44
45
46
  147.	[bug]		jinmei
	python/isc/config: Fixed a bug that importing custom configuration
	(in b10-config.db) of a remote module didn't work.
	(Trac #478, git ea4a481)

Jelte Jansen's avatar
Jelte Jansen committed
47
48
49
50
51
52
53
  146.	[func]		jelte
	Command arguments were not validated internally against their
	specifications. This change fixes that (on the C++ side, Python
	side depends on an as yet planned addition). Note: this is only
	an added internal check, the cli already checks format.
	(Trac #473, git 5474eba181cb2fdd80e2b2200e072cd0a13a4e52)

54
55
56
57
58
59
60
61
  145.	[func]*		jinmei
	b10-auth: added a new command 'loadzone' for (re)loading a
	specific zone.  The command syntax is generic but it is currently
	only feasible for class IN in memory data source.  To reload a
	zone "example.com" via bindctl, execute the command as follows:
	> Auth loadzone origin = example.com
	(Trac #467)

JINMEI Tatuya's avatar
JINMEI Tatuya committed
62
63
64
65
66
67
68
69
70
71
  144.	[build]		jinmei
	Introduced a workaround for clang++ build on FreeBSD (and probably
	some other OSes).  If building BIND 10 fails with clang++ due to
	a link error about "__dso_handle", try again from the configure
	script with CXX_LIBTOOL_LDFLAGS=-L/usr/lib (the path actually
	doesn't matter; the important part is the -L flag).  This
	workaround is not automatically enabled as it's difficult to
	detect the need for it dynamically, and must be enabled via the
	variable by hand. (Trac #474, git cfde436)

JINMEI Tatuya's avatar
JINMEI Tatuya committed
72
73
74
75
  143.	[build]		jinmei
	Fixed build problems with clang++ in unit tests due to recent
	changes.  No behavior change. (Trac #448, svn r4133)

JINMEI Tatuya's avatar
JINMEI Tatuya committed
76
77
78
79
80
81
82
  142.	[func]		jinmei
	b10-auth: updated query benchmark so that it can test in memory
	data source.  Also fixed a bug that the output buffer isn't
	cleared after query processing, resulting in misleading results
	or program crash.  This is a regression due to change #135.
	(Trac #465, svn r4103)

JINMEI Tatuya's avatar
JINMEI Tatuya committed
83
84
85
86
87
  141.	[bug]		jinmei
	b10-auth: Fixed a bug that the authoritative server includes
	trailing garbage data in responses.  This is a regression due to
	change #135. (Trac #462, svn r4081)

88
  140.  [func]		y-aharen
89
	src/bin/auth: Added a feature to count queries and send counter
90
	values to statistics periodically. To support it, added wrapping
91
	class of asio::deadline_timer to use as interval timer.
92
93
	The counters can be seen using the "Stats show" command from
	bindctl.  The result would look like:
94
	  ... "auth.queries.tcp": 1, "auth.queries.udp": 1 ...
95
96
	Using the "Auth sendstats" command you can make b10-auth send the
	counters to b10-stats immediately.
97
98
	(Trac #347, svn r4026)

Jeremy C. Reed's avatar
Jeremy C. Reed committed
99
  139.  [build]		jreed
100
	Introduced configure option and make targets for generating
Jeremy C. Reed's avatar
Jeremy C. Reed committed
101
102
103
104
	Python code coverage report. This adds new make targets:
	report-python-coverage and clean-python-coverage. The C++
	code coverage targets were renamed to clean-cpp-coverage
	and report-cpp-coverage. (Trac #362, svn r4023)
105

JINMEI Tatuya's avatar
JINMEI Tatuya committed
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
  138.	[func]*		jinmei
	b10-auth: added a configuration interface to support in memory
	data sources.  For example, the following command to bindctl
	will configure a memory data source containing the "example.com"
	zone with the zone file named "example.com.zone":
	> config set Auth/datasources/ [{"type": "memory", "zones": \
	 [{"origin": "example.com", "file": "example.com.zone"}]}]
	By default, the memory data source is disabled; it must be
	configured explicitly.  To disable it again, specify a null list
	for Auth/datasources:
	> config set Auth/datasources/ []
	Notes: it's currently for class IN only.  The zone files are not
	actually loaded into memory yet (which will soon be implemented).
	This is an experimental feature and the syntax may change in
	future versions.
	(Trac #446, svn r3998)

123
  137.	[bug]		jreed
Jeremy C. Reed's avatar
Jeremy C. Reed committed
124
125
	Fix run_*.sh scripts that are used for development testing
	so they use a msgq socket file in the build tree.
Jeremy C. Reed's avatar
Jeremy C. Reed committed
126
	(Trac #226, svn r3989)
Jeremy C. Reed's avatar
Jeremy C. Reed committed
127

128
  136.  [bug]       jelte
Jelte Jansen's avatar
Jelte Jansen committed
129
130
131
132
133
134
  	bindctl (and the configuration manager in general) now no longer
	accepts 'unknown' data; i.e. data for modules that it does not know
	about, or configuration items that are not specified in the .spec
	files.
	(Trac #202, svn r3967)

135
  135.  [func]      each
136
	Add b10-resolver. This is an example recursive server that
137
138
139
	currently does forwarding only and no caching.
	(Trac #327, svn r3903)

Jelte Jansen's avatar
Jelte Jansen committed
140
  134.  [func]      vorner
141
	b10-resolver supports timeouts and retries in forwarder mode.
Michal Vaner's avatar
Michal Vaner committed
142
143
	(Trac #401, svn r3660)

Jelte Jansen's avatar
Jelte Jansen committed
144
  133.  [func]      vorner
Michal Vaner's avatar
Michal Vaner committed
145
	New temporary logging function available in isc::log. It is used by
146
	b10-resolver.
Michal Vaner's avatar
Michal Vaner committed
147
148
	(Trac #393, r3602)

Jelte Jansen's avatar
Jelte Jansen committed
149
  132.  [func]      vorner
150
	The b10-resolver is configured through config manager.
Michal Vaner's avatar
Michal Vaner committed
151
152
153
	It has "listen_on" and "forward_addresses" options.
	(Trac #389, r3448)

154
155
156
157
158
159
160
  131.  [func]    feng, jerry
	src/lib/datasrc: Introduced two template classes RBTree and RBNode
	to provide the generic map with domain name as key and anything as
	the value. Because of some unresolved design issue, the new classes
	are only intended to be used by memory zone and zone table.
	(Trac #397, svn r3890)

161
  130.	[func]		jerry
162
	src/lib/datasrc: Introduced a new class MemoryDataSrc to provide
163
164
165
166
	the general interface for memory data source.  For the initial
	implementation, we don't make it a derived class of AbstractDataSrc
	because the interface is so different(we'll eventually consider this
	as part of the generalization work).
Jerry's avatar
Jerry committed
167
	(Trac #422, svn r3866)
168

169
170
171
172
173
174
175
  129.	[func]		jinmei
	src/lib/dns: Added new functions masterLoad() for loading master
	zone files.  The initial implementation can only parse a limited
	form of master files, but BIND 9's named-compilezone can convert
	any valid zone file into the acceptable form.
	(Trac #423, svn r3857)

Michal Vaner's avatar
Michal Vaner committed
176
  128.  [build]     vorner
177
178
	Test for query name = '.', type = DS to authoritative nameserver
	for root zone was added.
Michal Vaner's avatar
Michal Vaner committed
179
180
	(Trac #85, svn r3836)

Stephen Morris's avatar
Stephen Morris committed
181
182
183
184
185
  127.  [bug]       stephen
	During normal operation process termination and resurrection messages
	are now output regardless of the state of the verbose flag.
	(Trac #229, svn r3828)

Michal Vaner's avatar
Michal Vaner committed
186
187
188
189
190
191
  126.  [func]      stephen, vorner, ocean
	The Nameserver Address Store (NSAS) component has been added. It takes
	care of choosing an IP address of a nameserver when a zone needs to be
	contacted.
	(Trac #356, Trac #408, svn r3823)

Jeremy C. Reed's avatar
Jeremy C. Reed committed
192
193
bind10-devel-20101201 released on December 01, 2010

Jelte Jansen's avatar
Jelte Jansen committed
194
195
196
197
198
199
200
  125.  [func]		jelte
	Added support for addressing individual list items in bindctl
	configuration commands; If you have an element that is a list, you
	can use foo[X] to address a specific item, where X is an integer
	(starting at 0)
	(Trac #405, svn r3739)

201
202
203
204
  124.  [bug]		jreed
	Fix some wrong version reporting. Now also show the version
	for the component and BIND 10 suite. (Trac #302, svn r3696)

205
206
207
  123.  [bug]		jelte
	src/bin/bindctl printed values had the form of python literals
	(e.g. 'True'), while the input requires valid JSON (e.g. 'true').
208
	Output changed to JSON format for consistency. (svn r3694)
209

210
211
212
  122.  [func]		stephen
	src/bin/bind10: Added configuration options to Boss to determine
	whether to start the authoritative server, recursive server (or
213
	both). A dummy program has been provided for test purposes.
214
	(Trac #412, svn r3676)
215

216
217
218
219
220
  121.  [func]		jinmei
	src/lib/dns: Added support for TSIG RDATA.  At this moment this is
	not much of real use, however, because no protocol support was
	added yet.  It will soon be added. (Trac #372, svn r3649)

JINMEI Tatuya's avatar
JINMEI Tatuya committed
221
222
223
224
  120.  [func]		jinmei
	src/lib/dns: introduced two new classes, TSIGKey and TSIGKeyRing,
	to manage TSIG keys. (Trac #381, svn r3622)

JINMEI Tatuya's avatar
JINMEI Tatuya committed
225
226
227
228
229
230
231
232
  119.	[bug]		jinmei
	The master file parser of the python datasrc module incorrectly
	regarded a domain name beginning with a decimal number as a TTL
	specification.  This confused b10-loadzone and had it reject to
	load a zone file that contains such a name.
	Note: this fix is incomplete and the loadzone would still be
	confused if the owner name is a syntactically indistinguishable
	from a TTL specification.  This is part of a more general issue
233
	and will be addressed in Trac #413. (Trac #411, svn r3599)
JINMEI Tatuya's avatar
JINMEI Tatuya committed
234

JINMEI Tatuya's avatar
JINMEI Tatuya committed
235
  118.	[func]		jinmei
Jeremy C. Reed's avatar
Jeremy C. Reed committed
236
237
238
239
240
	src/lib/dns: changed the interface of
	AbstractRRset::getRdataIterator() so that the internal
	cursor would point to the first RDATA automatically.  This
	will be a more intuitive and less error prone behavior.
	This is a backward compatible change. (Trac #410, r3595)
JINMEI Tatuya's avatar
JINMEI Tatuya committed
241

JINMEI Tatuya's avatar
JINMEI Tatuya committed
242
  117.  [func]		jinmei
JINMEI Tatuya's avatar
JINMEI Tatuya committed
243
244
245
246
247
	src/lib/datasrc: added new zone and zone table classes for the
	support of in memory data source.  This is an intermediate step to
	the bigger feature, and is not yet actually usable in practice.
	(Trac #399, svn r3590)

248
249
250
251
252
253
  116.	[bug]		jerry
	src/bin/xfrout: Xfrout and Auth will communicate by long tcp
	connection, Auth needs to make a new connection only on the first
	time or if an error occurred.
	(Trac #299, svn r3482)

JINMEI Tatuya's avatar
JINMEI Tatuya committed
254
255
256
257
258
259
260
  115.	[func]*		jinmei
	src/lib/dns: Changed DNS message flags and section names from
	separate classes to simpler enums, considering the balance between
	type safety and usability.  API has been changed accordingly.
	More documentation and tests were provided with these changes.
	(Trac #358, r3439)

JINMEI Tatuya's avatar
JINMEI Tatuya committed
261
262
263
264
  114.	[build]		jinmei
	Supported clang++.  Note: Boost >= 1.44 is required.
	(Trac #365, svn r3383)

Likun Zhang's avatar
Likun Zhang committed
265
  113.	[func]*		zhanglikun
266
	Folder name 'utils'(the folder in /src/lib/python/isc/) has been
Likun Zhang's avatar
Likun Zhang committed
267
268
269
	renamed	to 'util'. Programs that used 'import isc.utils.process'
	now need to use 'import isc.util.process'. The folder
	/src/lib/python/isc/Util is removed since it isn't used by any
270
	program. (Trac #364, r3382)
Likun Zhang's avatar
Likun Zhang committed
271

Likun Zhang's avatar
Likun Zhang committed
272
  112.	[func]		zhang likun
Likun Zhang's avatar
Likun Zhang committed
273
	Add one mixin class to override the naive serve_forever() provided
Jeremy C. Reed's avatar
Jeremy C. Reed committed
274
	in python library socketserver. Instead of polling for shutdown
Likun Zhang's avatar
Likun Zhang committed
275
	every poll_interval seconds, one socketpair is used to wake up
Jeremy C. Reed's avatar
Jeremy C. Reed committed
276
	the waiting server. (Trac #352, svn r3366)
Likun Zhang's avatar
Likun Zhang committed
277

Michal Vaner's avatar
Michal Vaner committed
278
  111.	[bug]*   zhanglikun, Michal Vaner
Jeremy C. Reed's avatar
Jeremy C. Reed committed
279
	Make sure process xfrin/xfrout/zonemgr/cmdctl can be stopped
Michal Vaner's avatar
Michal Vaner committed
280
	properly when user enter "ctrl+c" or 'Boss shutdown' command
Jeremy C. Reed's avatar
Jeremy C. Reed committed
281
282
	through bindctl.  The ZonemgrRefresh.run_timer and
	NotifyOut.dispatcher spawn a thread themselves.
Michal Vaner's avatar
Michal Vaner committed
283
284
	(Trac #335, svn r3273)

Michal Vaner's avatar
Michal Vaner committed
285
  110.  [func]      Michal Vaner
JINMEI Tatuya's avatar
JINMEI Tatuya committed
286
287
288
	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.
Michal Vaner's avatar
Michal Vaner committed
289
290
	(Trac #353, svn r3240)

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

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

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

308
309
310
  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
311
	that zone. (Trac #329, r3170)
312

Michal Vaner's avatar
Michal Vaner committed
313
314
315
  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.
Michal Vaner's avatar
Michal Vaner committed
316
	(Trac #349, svn r3153), (Trac #382, svn r3294)
Michal Vaner's avatar
Michal Vaner committed
317

318
319
  104.	[bug]		jerry
	bin/zonemgr: zonemgr should be attempting to refresh expired zones.
320
	(Trac #336, r3139)
Jeremy C. Reed's avatar
Jeremy C. Reed committed
321
 
322
323
  103.	[bug]		jerry
	lib/python/isc/log: Fixed an issue with python logging,
Jeremy C. Reed's avatar
Jeremy C. Reed committed
324
	python log shouldn't die with OSError. (Trac #267, r3137)
Jeremy C. Reed's avatar
Jeremy C. Reed committed
325
 
JINMEI Tatuya's avatar
JINMEI Tatuya committed
326
327
328
329
  102.	[build]		jinmei
	Disable threads in ASIO to minimize build time dependency.
	(Trac #345, r3100)

JINMEI Tatuya's avatar
JINMEI Tatuya committed
330
331
332
333
334
  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)

Michal Vaner's avatar
Michal Vaner committed
335
336
337
338
339
  100.  [func]      Michal Vaner
	Python processes: support naming of python processes so
	they're not all called python3.
	(Trac #322, svn r3052)

JINMEI Tatuya's avatar
JINMEI Tatuya committed
340
341
342
343
344
345
  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)

JINMEI Tatuya's avatar
JINMEI Tatuya committed
346
347
348
349
350
  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)

JINMEI Tatuya's avatar
JINMEI Tatuya committed
351
  97.	[func]		jinmei
352
353
354
	Added a micro benchmark test for query processing of b10-auth.
	(Trac #308, svn r2982)

JINMEI Tatuya's avatar
JINMEI Tatuya committed
355
  96.	[bug]		jinmei
JINMEI Tatuya's avatar
JINMEI Tatuya committed
356
	Fixed two small issues with configure: Do not set CXXFLAGS so that
JINMEI Tatuya's avatar
JINMEI Tatuya committed
357
	it can be customized; Make sure --disable-static works.
JINMEI Tatuya's avatar
JINMEI Tatuya committed
358
359
	(Trac #325, r2976)

Jeremy C. Reed's avatar
Jeremy C. Reed committed
360
361
bind10-devel-20100917 released on September 17, 2010 

Jeremy C. Reed's avatar
Jeremy C. Reed committed
362
363
364
365
  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
366
367
368
369
  95.	[bug]		jreed
	bin/xfrout and bin/zonemgr: Fixed some stderr output.
	(Trac #342, svn r2949)

Jelte Jansen's avatar
Jelte Jansen committed
370
371
372
373
374
375
  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
376
377
	lib/datasrc: A DS query could crash the library (and therefore,
	e.g. the authoritative server) if some RR of the same apex name
378
	is stored in the hot spot cache. (Trac #307, svn r2923)
Jeremy C. Reed's avatar
Jeremy C. Reed committed
379

Jelte Jansen's avatar
Jelte Jansen committed
380
381
382
383
384
385
  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
386
387
  91.	[func]*		jinmei
	lib/cc: Use const pointers and const member functions for the API
388
	as much as possible for safer operations.  Basically this does not
JINMEI Tatuya's avatar
JINMEI Tatuya committed
389
390
391
392
393
	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
394
395
396
397
398
399
400
  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
401
402
403
404
  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
405
406
407
408
409
410
411
  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
412
  87.   [func]		zhanglikun
413
414
	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
415
	(Trac #289, svn r2737)
416

417
418
  86.	[func]		jerry
	bin/zonemgr: Added zone manager module. The zone manager is one 
419
420
	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
421
	slave. (Trac #215, svn r2737)
422

JINMEI Tatuya's avatar
JINMEI Tatuya committed
423
424
425
426
427
428
429
  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)

430
431
bind10-devel-20100812 released on August 12, 2010

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

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

JINMEI Tatuya's avatar
JINMEI Tatuya committed
441
  82.	[func]		jinmei
JINMEI Tatuya's avatar
JINMEI Tatuya committed
442
	bin/auth: Added -u option to change the effective process user
JINMEI Tatuya's avatar
JINMEI Tatuya committed
443
444
445
446
	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
447
448
449
450
451
  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
452
453
454
455
456
  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
457
	(Trac #99, r2657)
Jelte Jansen's avatar
Jelte Jansen committed
458

JINMEI Tatuya's avatar
JINMEI Tatuya committed
459
460
461
462
463
464
465
466
467
468
469
470
  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
471
472
473
474
475
476
477
478
479
480
481
  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)

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

Jelte Jansen's avatar
Jelte Jansen committed
486
487
488
489
490
491
  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
492
493
494
  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
495
	failures with SunStudio build. (Trac #288, r2494)
JINMEI Tatuya's avatar
JINMEI Tatuya committed
496

JINMEI Tatuya's avatar
JINMEI Tatuya committed
497
498
499
500
501
502
503
  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)

504
505
506
507
508
  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
509
510
511
512
513
514
  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
515
516
517
518
  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
519
520
521
522
523
524
525
526
  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)

527
bind10-devel-20100701 released on July 1, 2010
528

Jeremy C. Reed's avatar
Jeremy C. Reed committed
529
  69.  [func]*		jelte
530
531
532
533
534
535
	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
536
  68.  [func]		zhanglikun
537
538
539
540
541
542
543
	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
544
545
546
547
548
549
550
551
552
  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.
553
554
	(Trac #220, svn r2356)

Jeremy C. Reed's avatar
Jeremy C. Reed committed
555
  66.  [bug]		each
Evan Hunt's avatar
Evan Hunt committed
556
557
	Check for duplicate RRsets before inserting data into a message
	section; this, among other things, will prevent multiple copies
558
	of the same CNAME from showing up when there's a loop. (Trac #69,
559
	svn r2350)
Evan Hunt's avatar
Evan Hunt committed
560
    
Jeremy C. Reed's avatar
Jeremy C. Reed committed
561
562
563
564
565
566
567
568
569
  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
570
	(Trac #197, #199, #244, #161, #198, #174, #175, svn r2340)
571

Jeremy C. Reed's avatar
Jeremy C. Reed committed
572
573
574
575
576
  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).
577
578
	(Trac #176, svn r2338)

Jeremy C. Reed's avatar
Jeremy C. Reed committed
579
  63.  [func]		shane
Evan Hunt's avatar
Evan Hunt committed
580
581
582
583
	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)
584
585
586
587
588
589
590
591
592

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

JINMEI Tatuya's avatar
JINMEI Tatuya committed
597
598
599
600
601
602
603
  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
604
605
606
607
608
609
  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
610
611
612
613
  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
614
615
616
617
  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
618

JINMEI Tatuya's avatar
JINMEI Tatuya committed
619
620
621
622
623
624
  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
625
626
627
628
	bin/xfrout: Enable b10-xfrout can be launched in source
	code tree.
	(Trac #224, svn r2103)

JINMEI Tatuya's avatar
JINMEI Tatuya committed
629
  53.	[bug]		zhanglikun
630
631
632
633
634
635
	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
636
  52.	[func]		zhanglikun
637
638
639
640
641
	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.
642
	(Trac #151, svn r2091)
643

644
645
bind10-devel-20100602 released on June 2, 2010

Jeremy C. Reed's avatar
Jeremy C. Reed committed
646
  51.   [build]		jelte
647
648
649
650
651
	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)

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

656
  49.	[func]*		jelte
657
658
659
660
661
	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)
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679

  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
680
	Install headers for libdns and libexception. (Trac #68,
681
682
683
684
685
686
687
	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
688
	tempfile module instead of manual with fixed name. (Trac
689
690
691
692
693
694
695
	#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
696
	configure output. (svn r1836)
697
698
699
700
701

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

  38.   [bug]           zhanglikun
702
703
704
705
	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.
706
707
708
	(Trac #135, #151, #134, svn r1797)

  37.   [build]         jinmei
709
	Check for the availability of python-config. (Trac #159,
710
711
712
713
714
715
716
	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
717
718
	bin/bindctl: fixed a bug that it didn't accept IPv6 addresses as
	command arguments. (Trac #219, svn r2022)
719

720
  34.	[bug]		jinmei
JINMEI Tatuya's avatar
JINMEI Tatuya committed
721
722
	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
723
	and non IN class support. (Trac #185, svn r2000)
724

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

729
  32.	[func]*		each
Evan Hunt's avatar
Evan Hunt committed
730
731
732
733
	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)
734

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

739
  30.	[bug]		jinmei
740
741
742
743
	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)

744
745
746
747
748
749
750
751
752
753
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
754
	files. (svn r1750)
755
756
757
758
759
760
761
762
763
764
765

  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.
766
	(Trac #142, svn r1704)
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853

  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

854
For complete code revision history, see http://bind10.isc.org/browser
855
Specific git changesets can be accessed at:
856
857
858
	http://bind10.isc.org/changeset/?reponame=&old=rrrr^&new=rrrr
or after cloning the original git repository by executing:
	% git diff rrrr^ rrrr
859
860
Subversion changesets are not accessible any more.  The subversion
revision numbers will be replaced with corresponding git revisions.
861
Trac tickets can be accessed at: https://bind10.isc.org/ticket/nnn
862

863
864
865
866
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.
867
[build] compilation and installation infrastructure change.
868
869
870
871
872
873
[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.
874
*: Backward incompatible or operational change.