ChangeLog 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580
  1. 109. [func] naokikambe
  2. Added the initial version of the stats module for the statistics
  3. feature of BIND 10, which supports the restricted features and
  4. items and reports via bindctl command (Trac #191, r3218)
  5. Added the document of the stats module, which is about how stats
  6. module collects the data (Trac #170, [wiki:StatsModule])
  7. 108. [func] jerry
  8. src/bin/zonemgr: Provide customizable configurations for
  9. lowerbound_refresh, lowerbound_retry, max_transfer_timeout and
  10. jitter_scope. (Trac #340, r3205)
  11. 107. [func] zhang likun
  12. Remove the parameter 'db_file' for command 'retransfer' of
  13. xfrin module. xfrin.spec will not be generated by script.
  14. (Trac #329, r3171)
  15. 106. [bug] zhang likun
  16. When xfrin can't connect with one zone's master, it should tell
  17. the bad news to zonemgr, so that zonemgr can reset the timer for
  18. that zone. (Trac #329, r3170)
  19. 105. [bug] Michal Vaner
  20. Python processes: they no longer take 100% CPU while idle
  21. due to a busy loop in reading command session in a nonblocking way.
  22. (Trac #349, svn r3153)
  23. 104. [bug] jerry
  24. bin/zonemgr: zonemgr should be attempting to refresh expired zones.
  25. (Trac #336, r3139)
  26. 103. [bug] jerry
  27. lib/python/isc/log: Fixed an issue with python logging,
  28. python log shouldn't die with OSError.(Trac #267, r3137)
  29. 102. [build] jinmei
  30. Disable threads in ASIO to minimize build time dependency.
  31. (Trac #345, r3100)
  32. 101. [func] jinmei
  33. src/lib/dns: Completed Opcode and Rcode implementation with more
  34. tests and documentation. API is mostly the same but the
  35. validation was a bit tightened. (Trac #351, svn r3056)
  36. 100. [func] Michal Vaner
  37. Python processes: support naming of python processes so
  38. they're not all called python3.
  39. (Trac #322, svn r3052)
  40. 99. [func]* jinmei
  41. Introduced a separate EDNS class to encapsulate EDNS related
  42. information more cleanly. The related APIs are changed a bit,
  43. although it won't affect most of higher level applications.
  44. (Trac #311, svn r3020)
  45. 98. [build] jinmei
  46. The ./configure script now tries to search some common include
  47. paths for boost header files to minimize the need for explicit
  48. configuration with --with-boost-include. (Trac #323, svn r3006)
  49. 97. [func] jinmei
  50. Added a micro benchmark test for query processing of b10-auth.
  51. (Trac #308, svn r2982)
  52. 96. [bug] jinmei
  53. Fixed two small issues with configure: Do not set CXXFLAGS so that
  54. it can be customized; Make sure --disable-static works.
  55. (Trac #325, r2976)
  56. bind10-devel-20100917 released on September 17, 2010
  57. 95. [doc] jreed
  58. Add b10-zonemgr manual page. Update other docs to introduce
  59. this secondary manager. (Trac #341, svn r2951)
  60. 95. [bug] jreed
  61. bin/xfrout and bin/zonemgr: Fixed some stderr output.
  62. (Trac #342, svn r2949)
  63. 94. [bug] jelte
  64. bin/xfrout: Fixed a problem in xfrout where only 2 or 3 RRs
  65. were used per DNS message in the xfrout stream.
  66. (Trac #334, r2931)
  67. 93. [bug] jinmei
  68. lib/datasrc: A DS query could crash the library (and therefore,
  69. e.g. the authoritative server) if some RR of the same apex name
  70. is stored in the hot spot cache. (Trac #307, svn r2923)
  71. 92. [func]* jelte
  72. libdns_python (the python wrappers for libdns++) has been renamed
  73. to pydnspp (Python DNS++). Programs and libraries that used
  74. 'import libdns_python' now need to use 'import pydnspp'.
  75. (Trac #314, r2902)
  76. 91. [func]* jinmei
  77. lib/cc: Use const pointers and const member functions for the API
  78. as much as possible for safer operations. Basically this does not
  79. change the observable behavior, but some of the API were changed
  80. in a backward incompatible manner. This change also involves more
  81. copies, but at this moment the overhead is deemed acceptable.
  82. (Trac #310, r2803)
  83. 90. [build] jinmei
  84. (Darwin/Mac OS X specific) Specify DYLD_LIBRARY_PATH for tests and
  85. experimental run under the source tree. Without this loadable
  86. python modules refer to installation paths, which may confuse the
  87. operation due to version mismatch or even trigger run time errors
  88. due to missing libraries. (Trac #313, r2782)
  89. 89. [build] jinmei
  90. Generate b10-config.db for tests at build time so that the source
  91. tree does not have to be writable. (Trac #315, r2776)
  92. 88. [func] jelte
  93. Blocking reads on the msgq command channel now have a timeout
  94. (defaults to 4 seconds, modifiable as needed by modules).
  95. Because of this, modules will no longer block indefinitely
  96. if they are waiting for a message that is not sent for whatever
  97. reason. (Trac #296, r2761)
  98. 87. [func] zhanglikun
  99. lib/python/isc/notifyout: Add the feature of notify-out, when
  100. zone axfr/ixfr finishing, the server will notify its slaves.
  101. (Trac #289, svn r2737)
  102. 86. [func] jerry
  103. bin/zonemgr: Added zone manager module. The zone manager is one
  104. of the co-operating processes of BIND10, which keeps track of
  105. timers and other information necessary for BIND10 to act as a
  106. slave. (Trac #215, svn r2737)
  107. 85. [build]* jinmei
  108. Build programs using dynamic link by default. A new configure
  109. option --enable-static-link is provided to force static link for
  110. executable programs. Statically linked programs can be run on a
  111. debugger more easily and would be convenient for developers.
  112. (Trac #309, svn r2723)
  113. bind10-devel-20100812 released on August 12, 2010
  114. 84. [bug] jinmei, jerry
  115. This is a quick fix patch for the issue: AXFR fails half the
  116. time because of connection problems. xfrout client will make
  117. a new connection every time. (Trac #299, svn r2697)
  118. 83. [build]* jreed
  119. The configure --with-boost-lib option is removed. It was not
  120. used since the build included ASIO. (svn r2684)
  121. 82. [func] jinmei
  122. bin/auth: Added -u option to change the effective process user
  123. of the authoritative server after invocation. The same option to
  124. the boss process will be propagated to b10-auth, too.
  125. (Trac #268, svn r2675)
  126. 81. [func] jinmei
  127. Added a C++ framework for micro benchmark tests. A supplemental
  128. library functions to build query data for the tests were also
  129. provided. (Trac #241, svn r2664)
  130. 80. [bug] jelte
  131. bindctl no longer accepts configuration changes for unknown or
  132. non-running modules (for the latter, this is until we have a
  133. way to verify those options, at which point it'll be allowed
  134. again).
  135. (Trac #99, r2657)
  136. 79. [func] feng, jinmei
  137. Refactored the ASIO link interfaces to move incoming XFR and
  138. NOTIFY processing to the auth server class. Wrapper classes for
  139. ASIO specific concepts were also provided, so that other BIND 10
  140. modules can (eventually) use the interface without including the
  141. ASIO header file directly. On top of these changes, AXFR and
  142. NOTIFY processing was massively improved in terms of message
  143. validation and protocol conformance. Detailed tests were provided
  144. to confirm the behavior.
  145. Note: Right now, NOTIFY doesn't actually trigger subsequent zone
  146. transfer due to security reasons. (Trac #221, r2565)
  147. 78. [bug] jinmei
  148. lib/dns: Fixed miscellaneous bugs in the base32 (hex) and hex
  149. (base16) implementation, including incorrect padding handling,
  150. parser failure in decoding with a SunStudio build, missing
  151. validation on the length of encoded hex string. Test cases were
  152. more detailed to identify these bugs and confirm the fix. Also
  153. renamed the incorrect term of "base32" to "base32hex". This
  154. changed the API, but they are not intended to be used outside
  155. libdns++, so we don't consider it a backward incompatible change.
  156. (Trac #256, r2549)
  157. 77. [func] zhanglikun
  158. Make error message be more friendly when running cmdctl and it's
  159. already running(listening on same port)(Trac #277, r2540)
  160. 76. [bug] jelte
  161. Fixed a bug in the handling of 'remote' config modules (i.e.
  162. modules that peek at the configuration of other modules), where
  163. they answered 'unknown command' to commands for those other
  164. modules. (Trac #278, r2506)
  165. 75. [bug] jinmei
  166. Fixed a bug in the sqlite3 data source where temporary strings
  167. could be referenced after destruction. It caused various lookup
  168. failures with SunStudio build. (Trac #288, r2494)
  169. 74. [func]* jinmei
  170. Refactored the cc::Session class by introducing an abstract base
  171. class. Test code can use their own derived mock class so that
  172. tests can be done without establishing a real CC session. This
  173. change also modified some public APIs, mainly in the config
  174. module. (Trac #275, r2459)
  175. 73. [bug] jelte
  176. Fixed a bug where in bindctl, locally changed settings were
  177. reset when the list of running modules is updated. (Trac #285,
  178. r2452)
  179. 72. [build] jinmei
  180. Added -R when linking python wrapper modules to libpython when
  181. possible. This helps build BIND 10 on platforms that install
  182. libpython whose path is unknown to run-time loader. NetBSD is a
  183. known such platform. (Trac #148, r2427)
  184. 71. [func] each
  185. Add "-a" (address) option to bind10 to specify an address for
  186. the auth server to listen on.
  187. 70. [func] each
  188. Added a hot-spot cache to libdatasrc to speed up access to
  189. repeatedly-queried data and reduce the number of queries to
  190. the underlying database; this should substantially improve
  191. performance. Also added a "-n" ("no cache") option to
  192. bind10 and b10-auth to disable the cache if needed.
  193. (Trac #192, svn r2383)
  194. bind10-devel-20100701 released on July 1, 2010
  195. 69. [func]* jelte
  196. Added python wrappers for libdns++ (isc::dns), and libxfr. This
  197. removes the dependency on Boost.Python. The wrappers don't
  198. completely implement all functionality, but the high-level API
  199. is wrapped, and current modules use it now.
  200. (Trac #181, svn r2361)
  201. 68. [func] zhanglikun
  202. Add options -c(--certificate-chain) to bindctl. Override class
  203. HTTPSConnection to support server certificate validation.
  204. Add support to cmdctl.spec file, now there are three configurable
  205. items for cmdctl: 'key_file', 'cert_file' and 'accounts_file',
  206. all of them can be changed in runtime.
  207. (Trac #127, svn r2357)
  208. 67. [func] zhanglikun
  209. Make bindctl's command parser only do minimal check.
  210. Parameter value can be a sequence of non-space characters,
  211. or a string surrounded by quotation marks (these marks can
  212. be a part of the value string in escaped form). Make error
  213. message be more friendly. (If there is some error in
  214. parameter's value, the parameter name will be provided).
  215. Refactor function login_to_cmdctl() in class BindCmdInterpreter:
  216. avoid using Exception to catch all exceptions.
  217. (Trac #220, svn r2356)
  218. 66. [bug] each
  219. Check for duplicate RRsets before inserting data into a message
  220. section; this, among other things, will prevent multiple copies
  221. of the same CNAME from showing up when there's a loop. (Trac #69,
  222. svn r2350)
  223. 65. [func] shentingting
  224. Various loadzone improvements: allow optional comment for
  225. $TTL, allow optional origin and comment for $INCLUDE, allow
  226. optional comment for $ORIGIN, support BIND9 extension of
  227. time units for TTLs, and fix bug to not use class as part
  228. of label name when records don't have a label but do have
  229. a class. Added verbose options to exactly what is happening
  230. with loadzone. Added loadzone test suite of different file
  231. formats to load.
  232. (Trac #197, #199, #244, #161, #198, #174, #175, svn r2340)
  233. 64. [func] jerry
  234. Added python logging framework. It is for testing and
  235. experimenting with logging ideas. Currently, it supports
  236. three channels (file, syslog and stderr) and five levels
  237. (debug, info, warning, error and critical).
  238. (Trac #176, svn r2338)
  239. 63. [func] shane
  240. Added initial support for setuid(), using the "-u" flag. This will
  241. be replaced in the future, but for now provides a reasonable
  242. starting point.
  243. (Trac #180, svn r2330)
  244. 62. [func] jelte
  245. bin/xfrin: Use the database_file as configured in Auth to transfers
  246. bin/xfrout: Use the database_file as configured in Auth to transfers
  247. 61. [bug] jelte
  248. bin/auth: Enable b10-auth to be launched in source tree
  249. (i.e. use a zone database file relative to that)
  250. 60. [build] jinmei
  251. Supported SunStudio C++ compiler. Note: gtest still doesn't work.
  252. (Trac #251, svn r2310)
  253. 59. [bug] jinmei
  254. lib/datasrc,bin/auth: The authoritative server could return a
  255. SERVFAIL with a partial answer if it finds a data source broken
  256. while looking for an answer. This can happen, for example, if a
  257. zone that doesn't have an NS RR is configured and loaded as a
  258. sqlite3 data source. (Trac #249, r2286)
  259. 58. [bug] jinmei
  260. Worked around an interaction issue between ASIO and standard C++
  261. library headers. Without this ASIO didn't work: sometimes the
  262. application crashes, sometimes it blocked in the ASIO module.
  263. (Trac #248, svn r2187, r2190)
  264. 57. [func] jinmei
  265. lib/datasrc: used a simpler version of Name::split (change 31) for
  266. better readability. No behavior change. (Trac #200, svn r2159)
  267. 56. [func]* jinmei
  268. lib/dns: renamed the library name to libdns++ to avoid confusion
  269. with the same name of library of BIND 9.
  270. (Trac #190, svn r2153)
  271. 55. [bug] shane
  272. bin/xfrout: xfrout exception on Ctrl-C now no longer generates
  273. exception for 'Interrupted system call'
  274. (Track #136, svn r2147)
  275. 54. [bug] zhanglikun
  276. bin/xfrout: Enable b10-xfrout can be launched in source
  277. code tree.
  278. (Trac #224, svn r2103)
  279. 53. [bug] zhanglikun
  280. bin/bindctl: Generate a unique session ID by using
  281. socket.gethostname() instead of socket.gethostbyname(),
  282. since the latter one could make bindctl stall if its own
  283. host name can't be resolved.
  284. (Trac #228, svn r2096)
  285. 52. [func] zhanglikun
  286. bin/xfrout: When xfrout is launched, check whether the
  287. socket file is being used by one running xfrout process,
  288. if it is, exit from python. If the file isn't a socket file
  289. or nobody is listening, it will be removed. If it can't
  290. be removed, exit from python.
  291. (Trac #151, svn r2091)
  292. bind10-devel-20100602 released on June 2, 2010
  293. 51. [build] jelte
  294. lib/python: Add bind10_config.py module for paths and
  295. possibly other configure-time variables. Allow some components
  296. to find spec files in build tree when ran from source.
  297. (Trac #223)
  298. 50. [bug] zhanglikun
  299. bin/xfrin: a regression in xfrin: it can't communicate with
  300. a remote server. (Trac #218, svn r2038)
  301. 49. [func]* jelte
  302. Use unix domain sockets for msgq. For b10-msgq, the command
  303. line options --msgq-port and -m were removed. For bind10,
  304. the -msgq-port option was removed, and the -m command line
  305. option was changed to be a filename (instead of port number).
  306. (Trac #183, svn r2009)
  307. 48. [func] jelte
  308. bin/auth: Use asio's io_service for the msgq handling.
  309. (svn r2007)
  310. 47. [func] zhanglikun
  311. bin/cmdctl: Add value/type check for commands sent to
  312. cmdctl. (Trac #201, svn r1959)
  313. 46. [func] zhanglikun
  314. lib/cc: Fix real type data encoding/decoding. (Trac #193,
  315. svn r1959)
  316. 45. [func] zhanglikun
  317. bin/bind10: Pass verbose option to more modules. (Trac
  318. #205, svn r1957)
  319. 44. [build] jreed
  320. Install headers for libdns and libexception. (Trac #68,
  321. svn r1941)
  322. 43. [func] jelte
  323. lib/cc: Message queuing on cc channel. (Trac #58, svn r1870)
  324. 42. [func] jelte
  325. lib/python/isc/config: Make temporary file with python
  326. tempfile module instead of manual with fixed name. (Trac
  327. #184, svn r1859)
  328. 41. [func] jelte
  329. Module descriptions in spec files. (Trac #90, svn r1856)
  330. 40. [build] jreed
  331. Report detected features and configure settings at end of
  332. configure output. (svn r1836)
  333. 39. [func]* each
  334. Renamed libauth to libdatasrc.
  335. 38. [bug] zhanglikun
  336. Send command 'shutdown' to Xfrin and Xfrout when boss receive SIGINT.
  337. Remove unused socket file when Xfrout process exits. Make sure Xfrout
  338. exit by itself when it receives SIGINT, instead of being killed by the
  339. signal SIGTERM or SIGKILL sent from boss.
  340. (Trac #135, #151, #134, svn r1797)
  341. 37. [build] jinmei
  342. Check for the availability of python-config. (Trac #159,
  343. svn r1794)
  344. 36. [func] shane
  345. bin/bind10: Miscellaneous code cleanups and improvements.
  346. (Trac #40, svn r2012)
  347. 35. [bug] jinmei
  348. bin/bindctl: fixed a bug that it didn't accept IPv6 addresses as
  349. command arguments. (Trac #219, svn r2022)
  350. 34. [bug] jinmei
  351. bin/xfrin: fixed several small bugs with many additional unit
  352. tests. Fixes include: IPv6 transport support, resource leak,
  353. and non IN class support. (Trac #185, svn r2000)
  354. 33. [bug] each
  355. bin/auth: output now prepended with "[b10-auth]" (Trac
  356. #109, svn r1985)
  357. 32. [func]* each
  358. bin/auth: removed custom query-processing code, changed
  359. boost::asio code to use plain asio instead, and added asio
  360. headers to the source tree. This allows building without
  361. using an external boost library. (Trac #163, svn r1983)
  362. 31. [func] jinmei
  363. lib/dns: added a separate signature for Name::split() as a
  364. convenient wrapper for common usage. (Trac #49, svn r1903)
  365. 30. [bug] jinmei
  366. lib/dns: parameter validation of Name::split() was not sufficient,
  367. and invalid parameters could cause integer overflow and make the
  368. library crash. (Trac #177, svn r1806)
  369. bind10-devel-20100421 released on April 21, 2010
  370. 29. [build]
  371. Enable Python unit tests for "make check". (svn r1762)
  372. 28. [bug]
  373. Fix msgq CC test so it can find its module. (svn r1751)
  374. 27. [build]
  375. Add missing copyright license statements to various source
  376. files. (svn r1750)
  377. 26. [func]
  378. Use PACKAGE_STRING (name + version) from config.h instead
  379. of hard-coded value in CH TXT version.bind replies (Trac
  380. #114, svn r1749)
  381. 25. [func]*
  382. Renamed msgq to b10-msgq. (Trac #25, svn r1747, r1748)
  383. 24. [func]
  384. Support case-sensitive name compression in MessageRenderer.
  385. (Trac #142, svn r1704)
  386. 23. [func]
  387. Support a simple name with possible compression. (svn r1701)
  388. 22. [func]
  389. b10-xfrout for AXFR-out support added. (svn r1629, r1630)
  390. 21. [bug]
  391. Make log message more readable when xfrin failed. (svn
  392. r1697)
  393. 20. [bug]
  394. Keep stderr for child processes if -v is specified. (svn
  395. r1690, r1698)
  396. 19. [bug]
  397. Allow bind10 boss to pass environment variables from parent.
  398. (svn r1689)
  399. 18. [bug]
  400. Xfrin warn if bind10_dns load failed. (svn r1688)
  401. 17. [bug]
  402. Use sqlite3_ds.load() in xfrin module and catch Sqlite3DSError
  403. explicitly. (svn r1684)
  404. 16. [func]*
  405. Removed print_message and print_settings configuration
  406. commands from Xfrin. (Trac #136, svn r1682)
  407. 15. [func]*
  408. Changed zone loader/updater so trailing dot is not required.
  409. (svn r1681)
  410. 14. [bug]
  411. Change shutdown to actually SIGKILL properly. (svn r1675)
  412. 13. [bug]
  413. Don't ignore other RRs than SOA even if the second SOA is
  414. found. (svn r1674)
  415. 12. [build]
  416. Fix tests and testdata so can be used from a read-only
  417. source directory.
  418. 11. [build]
  419. Make sure python tests scripts are included in tarball.
  420. (svn r1648)
  421. 10. [build]
  422. Improve python detection for configure. (svn r1622)
  423. 9. [build]
  424. Automake the python binding of libdns. (svn r1617)
  425. 8. [bug]
  426. Fix log errors which may cause xfrin module to crash. (svn
  427. r1613)
  428. 7. [func]
  429. New API for inserting zone data to sqlite3 database for
  430. AXFR-in. (svn r1612, r1613)
  431. 6. [bug]
  432. More code review, miscellaneous cleanups, style guidelines,
  433. and new and improved unit tests added.
  434. 5. [doc]
  435. Manual page cleanups and improvements.
  436. 4. [bug]
  437. NSEC RDATA fixes for buffer overrun lookups, incorrect
  438. boundary checks, spec-non-conformant behaviors. (svn r1611)
  439. 3. [bug]
  440. Remove a re-raise of an exception that should only have
  441. been included in an error answer on the cc channel. (svn
  442. r1601)
  443. 2. [bug]
  444. Removed unnecessary sleep() from ccsession.cc. (svn r1528)
  445. 1. [build]*
  446. The configure --with-boostlib option changed to --with-boost-lib.
  447. bind10-devel-20100319 released on March 19, 2010
  448. For complete code revision history, see http://bind10.isc.org/browser
  449. Specific subversion changesets can be accessed at:
  450. http://bind10.isc.org/changeset/rrrr
  451. Trac tickets can be accessed at: https://bind10.isc.org/ticket/nnn
  452. LEGEND
  453. [bug] general bug fix. This is generally a backward compatible change,
  454. unless it's deemed to be impossible or very hard to keep
  455. compatibility to fix the bug.
  456. [build] compilation and installation infrastructure change.
  457. [doc] update to documentation. This shouldn't change run time behavior.
  458. [func] new feature. In some cases this may be a backward incompatible
  459. change, which would require a bump of major version.
  460. [security] security hole fix. This is no different than a general bug fix
  461. except that it will be handled as confidential and will cause
  462. security patch releases.
  463. *: Backward incompatible or operational change.