ChangeLog 21 KB

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