ChangeLog 20 KB

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