112 March 2014: Wouter 2 - tag 1.4.22 3 410 March 2014: Wouter 5 - Fix bug#561: contrib/cacti plugin did not report SERVFAIL rcodes 6 because of spelling. Patch from Chris Coates. 7 827 February 2014: Wouter 9 - tag 1.4.22rc1 10 1121 February 2014: Wouter 12 - iana portlist updated. 13 1420 February 2014: Matthijs 15 - Be lenient when a NSEC NameError response with RCODE=NXDOMAIN is 16 received. This is okay according 4035, but not after revising 17 existence in 4592. NSEC empty non-terminals exist and thus the 18 RCODE should have been NOERROR. If this occurs, and the RRsets 19 are secure, we set the RCODE to NOERROR and the security status 20 of the reponse is also considered secure. 21 2214 February 2014: Wouter 23 - Works on Minix (3.2.1). 24 2511 February 2014: Wouter 26 - Fix parse of #553(NSD) string in sldns, quotes without spaces. 27 287 February 2014: Wouter 29 - iana portlist updated. 30 - add body to ifstatement if locks disabled. 31 - add TXT string"string" test case to unit test. 32 - Fix #551: License change "Regents" to "Copyright holder", matching 33 the BSD license on opensource.org. 34 356 February 2014: Wouter 36 - sldns has type HIP. 37 - code documentation on the module interface. 38 395 February 2014: Wouter 40 - Fix sldns parse tests on osx. 41 423 February 2014: Wouter 43 - Detect libevent2 install automatically by configure. 44 - Fixup link with lib/event2 subdir. 45 - Fix parse in sldns of quoted parenthesized text strings. 46 4731 January 2014: Wouter 48 - unit test for ldns wire to str and back with zones, root, nlnetlabs 49 and types.sidnlabs. 50 - Fix for hex to string in unknown, atma and nsap. 51 - fixup nss compile (no ldns in it). 52 - fixup warning in unitldns 53 - fixup WKS and rdata type service to print unsigned because strings 54 are not portable; they cannot be read (for sure) on other computers. 55 - fixup type EUI48 and EUI64, type APL and type IPSECKEY in string 56 parse sldns. 57 5830 January 2014: Wouter 59 - delay-close does not act if there are udp-wait queries, so that 60 it does not make a socketdrain DoS easier. 61 6228 January 2014: Wouter 63 - iana portlist updated. 64 - iana portlist test updated so it does not touch the source 65 if there are no changes. 66 - delay-close: msec option that delays closing ports for which 67 the UDP reply has timed out. Keeps the port open, only accepts 68 the correct reply. This correct reply is not used, but the port 69 is open so that no port-denied ICMPs are generated. 70 7127 January 2014: Wouter 72 - reuseport is attempted, then fallback to without on failure. 73 7424 January 2014: Wouter 75 - Change unbound-event.h to use void* buffer, length idiom. 76 - iana portlist updated. 77 - unbound-event.h is installed if you configure --enable-event-api. 78 - speed up unbound (reports say it could be up to 10%), by reducing 79 lock contention on localzones.lock. It is changed to an rwlock. 80 - so-reuseport: yesno option to distribute queries evenly over 81 threads on Linux (Thanks Robert Edmonds). 82 - made lint clean. 83 8421 January 2014: Wouter 85 - Fix #547: no trustanchor written if filesystem full, fclose checked. 86 8717 January 2014: Wouter 88 - Fix isprint() portability in sldns, uses unsigned int. 89 - iana portlist updated. 90 9116 January 2014: Wouter 92 - fix #544: Fixed +i causes segfault when running with module conf 93 "iterator". 94 - Windows port, adjust %lld to %I64d, and warning in win_event.c. 95 9614 January 2014: Wouter 97 - iana portlist updated. 98 995 Dec 2013: Wouter 100 - Fix bug in cachedump that uses sldns. 101 - update pythonmod for ldns_ to sldns_ name change. 102 1033 Dec 2013: Wouter 104 - Fix sldns to use sldns_ prefix for all ldns_ variables. 105 - Fix windows compile to compile with sldns. 106 10730 Nov 2013: Wouter 108 - Fix sldns to make globals use sldns_ prefix. This fixes 109 linking with libldns that uses global variables ldns_ . 110 11113 Nov 2013: Wouter 112 - Fix bug#537: compile python plugin without ldns library. 113 11412 Nov 2013: Wouter 115 - Fix bug#536: acl_deny_non_local and refuse_non_local added. 116 1175 Nov 2013: Wouter 118 - Patch from Neel Goyal to fix async id assignment if callback 119 is called by libunbound in the mesh attach. 120 - Accept ip-address: as an alternative for interface: for 121 consistency with nsd.conf syntax. 122 1234 Nov 2013: Wouter 124 - Patch from Neel Goyal to fix callback in libunbound. 125 1263 Nov 2013: Wouter 127 - if configured --with-libunbound-only fix make install. 128 12931 Oct 2013: Wouter 130 - Fix #531: Set SO_REUSEADDR so that the wildcard interface and a 131 more specific interface port 53 can be used at the same time, and 132 one of the daemons is unbound. 133 - iana portlist update. 134 - separate ldns into core ldns inside ldns/ subdirectory. No more 135 --with-ldns is needed and unbound does not rely on libldns. 136 - portability fixes for new USE_SLDNS ldns subdir codebase. 137 13822 Oct 2013: Wouter 139 - Patch from Neel Goyal: Add an API call to set an event base on an 140 existing ub_ctx. This basically just destroys the current worker and 141 sets the event base to the current. And fix a deadlock in 142 ub_resolve_event – the cfglock is held when libworker_create is 143 called. This ends up trying to acquire the lock again in 144 context_obtain_alloc in the call chain. 145 - Fix #528: if very high logging (4 or more) segfault on allow_snoop. 146 14726 Sep 2013: Wouter 148 - unbound-event.h is installed if configured --with-libevent. It 149 contains low-level library calls, that use libevent's event_base 150 and an ldns_buffer for the wire return packet to perform async 151 resolution in the client's eventloop. 152 15319 Sep 2013: Wouter 154 - 1.4.21 tag created. 155 - trunk has 1.4.22 number inside it. 156 - iana portlist updated. 157 - acx_nlnetlabs.m4 to 26; improve FLTO help text. 158 15916 Sep 2013: Wouter 160 - Fix#524: max-udp-size not effective to non-EDNS0 queries, from 161 Daisuke HIGASHI. 162 16310 Sep 2013: Wouter 164 - MIN_TTL and MAX_TTL also in time_t. 165 - tag 1.4.21rc1 made again. 166 16726 Aug 2013: Wouter 168 - More fixes for bug#519: for the threaded case test if the bg 169 thread has been killed, on ub_ctx_delete, to avoid hangs. 170 17122 Aug 2013: Wouter 172 - more fixes that I overlooked. 173 - review fixes from Willem. 174 17521 Aug 2013: Wouter 176 - Fix#520: Errors found by static analysis from Tomas Hozza(redhat). 177 17820 Aug 2013: Wouter 179 - Fix for 2038, with time_t instead of uint32_t. 180 18119 Aug 2013: Wouter 182 - Fix#519 ub_ctx_delete may hang in some scenarios (libunbound). 183 18414 Aug 2013: Wouter 185 - Fix uninit variable in fix#516. 186 1878 Aug 2013: Wouter 188 - Fix#516 dnssec lameness detection for answers that are improper. 189 19030 Jun 2013: Wouter 191 - tag 1.4.21rc1 192 19329 Jun 2013: Wouter 194 - Fix#512 memleak in testcode for testbound (if it fails). 195 - Fix#512 NSS returned arrays out of setup function to be statics. 196 19726 Jun 2013: Wouter 198 - max include of 100.000 files (depth and globbed at one time). 199 This is to preserve system memory in bug cases, or endless cases. 200 - iana portlist updated. 201 20219 Jun 2013: Wouter 203 - streamtcp man page, contributed by Tomas Hozza. 204 - iana portlist updated. 205 - libunbound documentation on how to avoid openssl race conditions. 206 20725 Jun 2013: Wouter 208 - Squelch sendto-permission denied errors when the network is 209 not connected, to avoid spamming syslog. 210 - configure --disable-flto option (from Robert Edmonds). 211 21218 Jun 2013: Wouter 213 - Fix for const string literals in C++ for libunbound, from Karel 214 Slany. 215 - iana portlist updated. 216 21717 Jun 2013: Wouter 218 - Fixup manpage syntax. 219 22014 Jun 2013: Wouter 221 - get_option and set_option support for log-time-ascii, python-script 222 val-sig-skew-min and val-sig-skew-max. log-time-ascii takes effect 223 immediately. The others are mostly useful for libunbound users. 224 22513 Jun 2013: Wouter 226 - get_option, set_option, unbound-checkconf -o and libunbound 227 getoption and setoption support cache-min-ttl and cache-max-ttl. 228 22910 Jun 2013: Wouter 230 - Fix#501: forward-first does not recurse, when forward name is ".". 231 - iana portlist update. 232 - Max include depth is unlimited. 233 23427 May 2013: Wouter 235 - Update acx_pthreads.m4 to ax_pthreads.4 (2013-03-29), and apply 236 patch to it to not fail when -Werror is also specified, from the 237 autoconf-archives. 238 - iana portlist update. 239 24021 May 2013: Wouter 241 - Explain bogus and secure flags in libunbound more. 242 24316 May 2013: Wouter 244 - Fix#499 use-after-free in out-of-memory handling code (thanks Jake 245 Montgomery). 246 - Fix#500 use on non-initialised values on socket bind failures. 247 24815 May 2013: Wouter 249 - Fix round-robin doesn't work with some Windows clients (from Ilya 250 Bakulin). 251 2523 May 2013: Wouter 253 - update acx_nlnetlabs.m4 to v23, sleep w32 fix. 254 25526 April 2013: Wouter 256 - add unbound-control insecure_add and insecure_remove for the 257 administration of negative trust anchors. 258 25925 April 2013: Wouter 260 - Implement max-udp-size config option, default 4096 (thanks 261 Daisuke Higashi). 262 - Robust checks on dname validity from rdata for dname compare. 263 - updated iana portlist. 264 26519 April 2013: Wouter 266 - Fixup snprintf return value usage, fixed libunbound_get_option. 267 26818 April 2013: Wouter 269 - fix bug #491: pick program name (0th argument) as syslog identity. 270 - own implementation of compat/snprintf.c. 271 27215 April 2013: Wouter 273 - Fix so that for a configuration line of include: "*.conf" it is not 274 an error if there are no files matching the glob pattern. 275 - unbound-anchor review: BIO_write can return 0 successfully if it 276 has successfully appended a zero length string. 277 27811 April 2013: Wouter 279 - Fix queries leaking up for stubs and forwards, if the configured 280 nameservers all fail to answer. 281 28210 April 2013: Wouter 283 - code improve for minimal responses, small speed increase. 284 2859 April 2013: Wouter 286 - updated iana portlist. 287 - Fix crash in previous private address fixup of 22 March. 288 28928 March 2013: Wouter 290 - Make reverse zones easier by documenting the nodefault statements 291 commented-out in the example config file. 292 29326 March 2013: Wouter 294 - more fixes to lookup3.c endianness detection. 295 29625 March 2013: Wouter 297 - #492: Fix endianness detection, revert to older lookup3.c detection 298 and put new detect lines after previous tests, to avoid regressions 299 but allow new detections to succeed. 300 And add detection for machine/endian.h to it. 301 30222 March 2013: Wouter 303 - Fix resolve of names that use a mix of public and private addresses. 304 - iana portlist update. 305 - Fix makedist for new svn for -d option. 306 - unbound.h header file has UNBOUND_VERSION_MAJOR define. 307 - Fix windows RSRC version for long version numbers. 308 30921 March 2013: Wouter 310 - release 1.4.20 311 - trunk has 1.4.21 312 - committed libunbound version 4:1:2 for binary API updated in 1.4.20 313 - install copy of unbound-control.8 man page for unbound-control-setup 314 31514 March 2013: Wouter 316 - iana portlist update. 317 - tag 1.4.20rc1 318 31912 March 2013: Wouter 320 - Fixup makedist.sh for windows compile. 321 32211 March 2013: Wouter 323 - iana portlist update. 324 - testcode/ldns-testpkts.c check for makedist is informational. 325 32615 February 2013: Wouter 327 - fix defines in lookup3 for bigendian bsd alpha 328 32911 February 2013: Wouter 330 - Fixup openssl_thread init code to only run if compiled with SSL. 331 3327 February 2013: Wouter 333 - detect endianness in lookup3 on BSD. 334 - add libunbound.ttl at end of result structure, version bump for 335 libunbound and binary backwards compatible, but 1.4.19 is not 336 forward compatible with 1.4.20. 337 - update iana port list. 338 33930 January 2013: Wouter 340 - includes and have_ssl fixes for nss. 341 34229 January 2013: Wouter 343 - printout name of zone with duplicate fwd and hint errors. 344 34528 January 2013: Wouter 346 - updated fwd_zero for newer nc. Updated common.sh for newer netstat. 347 34817 January 2013: Wouter 349 - unbound-anchors checks the emailAddress of the signer of the 350 root.xml file, default is dnssec@iana.org. It also checks that 351 the signer has the correct key usage for a digital signature. 352 - update iana port list. 353 3543 January 2013: Wouter 355 - Test that unbound-control checks client credentials. 356 - Test that unbound can handle a CNAME at an intermediate node in 357 the chain of trust (where it seeks a DS record). 358 - Check the commonName of the signer of the root.xml file in 359 unbound-anchor, default is dnssec@iana.org. 360 3612 January 2013: Wouter 362 - Fix openssl lock free on exit (reported by Robert Fleischman). 363 - iana portlist updated. 364 - Tested that unbound implements the RFC5155 Technical Errata id 3441. 365 Unbound already implements insecure classification of an empty 366 nonterminal in NSEC3 optout zone. 367 36820 December 2012: Wouter 369 - Fix unbound-anchor xml parse of entity declarations for safety. 370 37119 December 2012: Wouter 372 - iana portlist updated. 373 37418 December 2012: Wouter 375 - iana portlist updated. 376 37714 December 2012: Wouter 378 - Change of D.ROOT-SERVERS.NET A address in default root hints. 379 38012 December 2012: Wouter 381 - 1.4.19 release. 382 - trunk has 1.4.20 under development. 383 3845 December 2012: Wouter 385 - note support for AAAA RR type RFC. 386 3874 December 2012: Wouter 388 - 1.4.19rc1 tag. 389 39030 November 2012: Wouter 391 - bug 481: fix python example0. 392 - iana portlist updated. 393 39427 November 2012: Wouter 395 - iana portlist updated. 396 3979 November 2012: Wouter 398 - Fix unbound-control forward disables configured stubs below it. 399 4007 November 2012: Wouter 401 - Fixup ldns-testpkts, identical to ldns/examples. 402 - iana portlist updated. 403 40430 October 2012: Wouter 405 - Fix bug #477: unbound-anchor segfaults if EDNS is blocked. 406 40729 October 2012: Matthijs 408 - Fix validation for responses with both CNAME and wildcard 409 expanded CNAME records in answer section. 410 4118 October 2012: Wouter 412 - update ldns-testpkts.c to ldns 1.6.14 version. 413 - fix build of pythonmod in objdir, for unbound.py. 414 - make clean and makerealclean remove generated python and docs. 415 4165 October 2012: Wouter 417 - fix build of pythonmod in objdir (thanks Jakob Schlyter). 418 4193 October 2012: Wouter 420 - fix text in unbound-anchor man page. 421 4221 October 2012: Wouter 423 - ignore trusted-keys globs that have no files (from Paul Wouters). 424 42527 September 2012: Wouter 426 - include: directive in config file accepts wildcards. Patch from 427 Paul Wouters. Suggested use: include: "/etc/unbound.d/conf.d/*" 428 - unbound-control -q option is quiet, patch from Mariano Absatz. 429 - iana portlist updated. 430 - updated contrib/unbound.spec, patch from Valentin Bud. 431 43221 September 2012: Wouter 433 - chdir to / after chroot call (suggested by Camiel Dobbelaar). 434 43517 September 2012: Wouter 436 - patch_rsamd5_enable.diff: this patch enables RSAMD5 validation 437 otherwise it is treated as insecure. The RSAMD5 algorithm is 438 deprecated (RFC6725). The MD5 hash is considered weak for some 439 purposes, if you want to sign your zone, then RSASHA256 is an 440 uncontested hash. 441 44230 August 2012: Wouter 443 - RFC6725 deprecates RSAMD5: this DNSKEY algorithm is disabled. 444 - iana portlist updated. 445 44629 August 2012: Wouter 447 - Nicer comments outgoing-port-avoid, thanks Stu (bug #465). 448 44922 August 2012: Wouter 450 - Fallback to 1472 and 1232, one fragment size without headers. 451 45221 August 2012: Wouter 453 - Fix timeouts so that when a server has been offline for a while 454 and is probed to see it works, it becomes fully available for 455 server selection again. 456 45717 August 2012: Wouter 458 - Add documentation to libunbound for default nonuse of resolv.conf. 459 4602 August 2012: Wouter 461 - trunk has 1.4.19 under development (fixes from 1 aug and 31 july 462 are for 1.4.19). 463 - iana portlist updated. 464 4651 August 2012: Wouter 466 - Fix openssl race condition, initializes openssl locks, reported 467 by Einar Lonn and Patrik Wallstrom. 468 46931 July 2012: Wouter 470 - Improved forward-first and stub-first documentation. 471 - Fix that enables modules to register twice for the same 472 serviced_query, without race conditions or administration issues. 473 This should not happen with the current codebase, but it is robust. 474 - Fix forward-first option where it sets the RD flag wrongly. 475 - added manpage links for libunbound calls (Thanks Paul Wouters). 476 47730 July 2012: Wouter 478 - tag 1.4.18rc2 (became 1.4.18 release at 2 august 2012). 479 48027 July 2012: Wouter 481 - unbound-host works with libNSS 482 - fix bogus nodata cname chain not reported as bogus by validator, 483 (Thanks Peter van Dijk). 484 48526 July 2012: Wouter 486 - iana portlist updated. 487 - tag 1.4.18rc1. 488 48925 July 2012: Wouter 490 - review fix for libnss, check hash prefix allocation size. 491 49223 July 2012: Wouter 493 - fix missing break for GOST DS hash function. 494 - implemented forward_first for the root. 495 49620 July 2012: Wouter 497 - Fix bug#452 and another assertion failure in mesh.c, makes 498 assertions in mesh.c resist duplicates. Fixes DS NS search to 499 not generate duplicate sub queries. 500 50119 July 2012: Willem 502 - Fix bug#454: Remove ACX_CHECK_COMPILER_FLAG from configure.ac, 503 if CFLAGS is specified at configure time then '-g -O2' is not 504 appended to CFLAGS, so that the user can override them. 505 50618 July 2012: Willem 507 - Fix libunbound report of errors when in background mode. 508 50911 July 2012: Willem 510 - updated iana ports list. 511 5129 July 2012: Willem 513 - Add flush_bogus option for unbound-control 514 5156 July 2012: Wouter 516 - Fix validation of qtype DS queries that result in no data for 517 non-optout NSEC3 zones. 518 5194 July 2012: Wouter 520 - compile libunbound with libnss on Suse, passes regression tests. 521 5223 July 2012: Wouter 523 - FIPS_mode openssl does not use arc4random but RAND_pseudo_bytes. 524 5252 July 2012: Wouter 526 - updated iana ports list. 527 52829 June 2012: Wouter 529 - patch for unbound_munin_ script to handle arbitrary thread count by 530 Sven Ulland. 531 53228 June 2012: Wouter 533 - detect if openssl has FIPS_mode. 534 - code review: return value of cache_store can be ignored for better 535 performance in out of memory conditions. 536 - fix edns-buffer-size and msg-buffer-size manpage documentation. 537 - updated iana ports list. 538 53925 June 2012: Wouter 540 - disable RSAMD5 if in FIPS mode (for openssl and for libnss). 541 54222 June 2012: Wouter 543 - implement DS records, NSEC3 and ECDSA for compile with libnss. 544 54521 June 2012: Wouter 546 - fix error handling of alloc failure during rrsig verification. 547 - nss check for verification failure. 548 - nss crypto works for RSA and DSA. 549 55020 June 2012: Wouter 551 - work on --with-nss build option (for now, --with-libunbound-only). 552 55319 June 2012: Wouter 554 - --with-libunbound-only build option, only builds the library and 555 not the daemon and other tools. 556 55718 June 2012: Wouter 558 - code review. 559 56015 June 2012: Wouter 561 - implement log-time-ascii on windows. 562 - The key-cache bad key ttl is now 60 seconds. 563 - updated iana ports list. 564 - code review. 565 56611 June 2012: Wouter 567 - bug #452: fix crash on assert in mesh_state_attachment. 568 56930 May 2012: Wouter 570 - silence warning from swig-generated code (md set but not used in 571 swig initmodule, due to ifdefs in swig-generated code). 572 57327 May 2012: Wouter 574 - Fix debian-bugs-658021: Please enable hardened build flags. 575 57625 May 2012: Wouter 577 - updated iana ports list. 578 57924 May 2012: Wouter 580 - tag for 1.4.17 release. 581 - trunk is 1.4.18 in development. 582 58318 May 2012: Wouter 584 - Review comments, removed duplicate memset to zero in delegpt. 585 58616 May 2012: Wouter 587 - Updated doc/FEATURES with RFCs that are implemented but not listed. 588 - Protect if statements in val_anchor for compile without locks. 589 - tag for 1.4.17rc1. 590 59115 May 2012: Wouter 592 - fix configure ECDSA support in ldns detection for windows compile. 593 - fix possible uninitialised variable in windows pipe implementation. 594 5959 May 2012: Wouter 596 - Fix alignment problem in util/random on sparc64/freebsd. 597 5988 May 2012: Wouter 599 - Fix for accept spinning reported by OpenBSD. 600 - iana portlist updated. 601 6022 May 2012: Wouter 603 - Fix validation of nodata for DS query in NSEC zones, reported by 604 Ondrej Mikle. 605 60613 April 2012: Wouter 607 - ECDSA support (RFC 6605) by default. Use --disable-ecdsa for older 608 openssl. 609 61010 April 2012: Wouter 611 - Applied patch from Daisuke HIGASHI for rrset-roundrobin and 612 minimal-responses features. 613 - iana portlist updated. 614 6155 April 2012: Wouter 616 - fix bug #443: --with-chroot-dir not honoured by configure. 617 - fix bug #444: setusercontext was called too late (thanks Bjorn 618 Ketelaars). 619 62027 March 2012: Wouter 621 - fix bug #442: Fix that Makefile depends on pythonmod headers 622 even using --without-pythonmodule. 623 62422 March 2012: Wouter 625 - contrib/validation-reporter follows rotated log file (patch from 626 Augie Schwer). 627 62821 March 2012: Wouter 629 - new approach to NS fetches for DS lookup that works with 630 cornercases, and is more robust and considers forwarders. 631 63219 March 2012: Wouter 633 - iana portlist updated. 634 - fix to locate nameservers for DS lookup with NS fetches. 635 63616 March 2012: Wouter 637 - Patch for access to full DNS packet data in unbound python module 638 from Ondrej Mikle. 639 6409 March 2012: Wouter 641 - Applied line-buffer patch from Augie Schwer to validation.reporter.sh. 642 6432 March 2012: Wouter 644 - flush_infra cleans timeouted servers from the cache too. 645 - removed warning from --enable-ecdsa. 646 6471 March 2012: Wouter 648 - forward-first option. Tries without forward if a query fails. 649 Also stub-first option that is similar. 650 65128 February 2012: Wouter 652 - Fix from code review, if EINPROGRESS not defined chain if statement 653 differently. 654 65527 February 2012: Wouter 656 - Fix bug#434: on windows check registry for config file location 657 for unbound-control.exe, and unbound-checkconf.exe. 658 65923 February 2012: Wouter 660 - Fix to squelch 'network unreachable' errors from tcp connect in 661 logs, high verbosity will show them. 662 66316 February 2012: Wouter 664 - iter_hints is now thread-owned in module env, and thus threadsafe. 665 - Fix prefetch and sticky NS, now the prefetch works. It picks 666 nameservers that 'would be valid in the future', and if this makes 667 the NS timeout, it updates that NS by asking delegation from the 668 parent again. If child NS has longer TTL, that TTL does not get 669 refreshed from the lookup to the child nameserver. 670 67115 February 2012: Wouter 672 - Fix forward-zone memory, uses malloc and frees original root dp. 673 - iter hints (stubs) uses malloc inside for more dynamicity. 674 - unbound-control forward_add, forward_remove, stub_add, stub_remove 675 can modify stubs and forwards for running unbound (on mobile computer) 676 they can also add and remove domain-insecure for the zone. 677 67814 February 2012: Wouter 679 - Fix sticky NS (ghost domain problem) if prefetch is yes. 680 - iter forwards uses malloc inside for more dynamicity. 681 68213 February 2012: Wouter 683 - RT#2955. Fix for cygwin compilation. 684 - iana portlist updated. 685 68610 February 2012: Wouter 687 - Slightly smaller critical region in one case in infra cache. 688 - Fix timeouts to keep track of query type, A, AAAA and other, if 689 another has caused timeout blacklist, different type can still probe. 690 - unit test fix for nomem_cnametopos.rpl race condition. 691 6929 February 2012: Wouter 693 - Fix AHX_BROKEN_MEMCMP for autoheader mess up of #undef in config.h. 694 6958 February 2012: Wouter 696 - implement draft-ietf-dnsext-ecdsa-04; which is in IETF LC; This 697 implementation is experimental at this time and not recommended 698 for use on the public internet (the protocol numbers have not 699 been assigned). Needs recent ldns with --enable-ecdsa. 700 - fix memory leak in errorcase for DSA signatures. 701 - iana portlist updated. 702 - workaround for openssl 0.9.8 ecdsa sha2 and evp problem. 703 7043 February 2012: Wouter 705 - fix for windows, rename() is not posix compliant on windows. 706 7072 February 2012: Wouter 708 - 1.4.16 release tag. 709 - svn trunk is 1.4.17 in development. 710 - iana portlist updated. 711 7121 February 2012: Wouter 713 - Fix validation failures (like: validation failure xx: no NSEC3 714 closest encloser from yy for DS zz. while building chain of trust, 715 because of a bug in the TTL-fix in 1.4.15, it picked the wrong rdata 716 for an NSEC3. Now it does not change rdata, and fixes TTL. 717 71830 January 2012: Wouter 719 - Fix version-number in libtool to be version-info so it produces 720 libunbound.so.2 like it should. 721 72226 January 2012: Wouter 723 - Tag 1.4.15 (same as 1.4.15rc1), for 1.4.15 release. 724 - trunk 1.4.16; includes changes memset testcode, #424 openindiana, 725 and keyfile write fixup. 726 - applied patch to support outgoing-interface with ub_ctx_set_option. 727 72823 January 2012: Wouter 729 - Fix memset in test code. 730 73120 January 2012: Wouter 732 - Fix bug #424: compile on OpenIndiana OS with gcc 4.6.2. 733 73419 January 2012: Wouter 735 - Fix to write key files completely to a temporary file, and if that 736 succeeds, replace the real key file. So failures leave a useful file. 737 73818 January 2012: Wouter 739 - tag 1.4.15rc1 created 740 - updated libunbound/ubsyms.def and remade tag 1.4.15rc1. 741 74217 January 2012: Wouter 743 - Fix bug where canonical_compare of RRSIG did not downcase the 744 signer-name. This is mostly harmless because RRSIGs do not have 745 to be sorted in canonical order, usually. 746 74712 January 2012: Wouter 748 - bug#428: add ub_version() call to libunbound. API version increase, 749 with (binary) backwards compatibility for the previous version. 750 75110 January 2012: Wouter 752 - Fix bug #425: unbound reports wrong TTL in reply, it reports a TTL 753 that would be permissible by the RFCs but it is not the TTL in the 754 cache. 755 - iana portlist updated. 756 - uninitialised variable in reprobe for rtt blocked domains fixed. 757 - lintfix and new flex output. 758 7592 January 2012: Wouter 760 - Fix to randomize hash function, based on 28c3 congress, reported 761 by Peter van Dijk. 762 76324 December 2011: Wouter 764 - Fix for memory leak (about 20 bytes when a tcp or udp send operation 765 towards authority servers failed, takes about 50.000 such failures to 766 leak one Mb, such failures are also usually logged), reported by 767 Robert Fleischmann. 768 - iana portlist updated. 769 77019 December 2011: Wouter 771 - Fix for VU#209659 CVE-2011-4528: Unbound denial of service 772 vulnerabilities from nonstandard redirection and denial of existence 773 http://www.unbound.net/downloads/CVE-2011-4528.txt 774 - robust checks for next-closer NSEC3s. 775 - tag 1.4.14 created. 776 - trunk has 1.4.15 in development. 777 77815 December 2011: Wouter 779 - remove uninit warning from cachedump code. 780 - Fix parse error on negative SOA RRSIGs if badly ordered in the packet. 781 78213 December 2011: Wouter 783 - iana portlist updated. 784 - svn tag 1.4.14rc1 785 - fix infra cache comparison. 786 - Fix to constrain signer_name to be a parent of the lookupname. 787 7885 December 2011: Wouter 789 - Fix getaddrinfowithincludes on windows with fedora16 mingw32-gcc. 790 - Fix warnings with gcc 4.6 in compat/inet_ntop.c. 791 - Fix warning unused in compat/strptime.c. 792 - Fix malloc detection and double defintion. 793 7942 December 2011: Wouter 795 - configure generated with autoconf 2.68. 796 79730 November 2011: Wouter 798 - Fix for tcp-upstream and ssl-upstream for if a laptop sleeps, causes 799 SERVFAILs. Also fixed for UDP (but less likely). 800 80128 November 2011: Wouter 802 - Fix quartile time estimate, it was too low, (thanks Jan Komissar). 803 - iana ports updated. 804 80511 November 2011: Wouter 806 - Makefile compat with SunOS make, BSD make and GNU make. 807 - iana ports updated. 808 80910 November 2011: Wouter 810 - Makefile changed for BSD make compatibility. 811 8129 November 2011: Wouter 813 - added unit test for SSL service and SSL-upstream. 814 8158 November 2011: Wouter 816 - can configure ssl service to one port number, and not on others. 817 - fixup windows compile with ssl support. 818 - Fix double free in unbound-host, reported by Steve Grubb. 819 - iana portlist updated. 820 8211 November 2011: Wouter 822 - dns over ssl support as a client, ssl-upstream yes turns it on. 823 It performs an SSL transaction for every DNS query (250 msec). 824 - documentation for new options: ssl-upstream, ssl-service-key and 825 ssl-service.pem. 826 - iana portlist updated. 827 - fix -flto detection on Lion for llvm-gcc. 828 82931 October 2011: Wouter 830 - dns over ssl support, ssl-service-pem and ssl-service-key files 831 can be given and then TCP queries are serviced wrapped in SSL. 832 83327 October 2011: Wouter 834 - lame-ttl and lame-size options no longer exist, it is integrated 835 with the host info. They are ignored (with verbose warning) if 836 encountered to keep the config file backwards compatible. 837 - fix iana-update for changing gzip compression of results. 838 - fix export-all-symbols on OSX. 839 84026 October 2011: Wouter 841 - iana portlist updated. 842 - Infra cache stores information about ping and lameness per IP, zone. 843 This fixes bug #416. 844 - fix iana_update target for gzipped file on iana site. 845 84624 October 2011: Wouter 847 - Fix resolve of partners.extranet.microsoft.com with a fix for the 848 server selection for choosing out of a (particular) list of bad 849 choices. (bug#415) 850 - Fix make_new_space function so that the incoming query is not 851 overwritten if a jostled out query causes a waiting query to be 852 resumed that then fails and sends an error message. (Thanks to 853 Matthew Lee). 854 85521 October 2011: Wouter 856 - fix --enable-allsymbols, fptr wlist is disabled on windows with this 857 option enabled because of memory layout exe vs dll. 858 85919 October 2011: Wouter 860 - fix unbound-anchor for broken strptime on OSX lion, detected 861 in configure. 862 - Detect if GOST really works, openssl1.0 on OSX fails. 863 - Implement ipv6%interface notation for scope_id usage. 864 86517 October 2011: Wouter 866 - better documentation for inform_super (Thanks Yang Zhe). 867 86814 October 2011: Wouter 869 - Fix for out-of-memory condition in libunbound (thanks 870 Robert Fleischman). 871 87213 October 2011: Wouter 873 - Fix --enable-allsymbols, it depended on link specifics of the 874 target platform, or fptr_wlist assertion failures could occur. 875 87612 October 2011: Wouter 877 - updated contrib/unbound_munin_ to family=auto so that it works with 878 munin-node-configure automatically (if installed as 879 /usr/local/share/munin/plugins/unbound_munin_ ). 880 88127 September 2011: Wouter 882 - unbound.exe -w windows option for start and stop service. 883 88423 September 2011: Wouter 885 - TCP-upstream calculates tcp-ping so server selection works if there 886 are alternatives. 887 88820 September 2011: Wouter 889 - Fix classification of NS set in answer section, where there is a 890 parent-child server, and the answer has the AA flag for dir.slb.com. 891 Thanks to Amanda Constant from Secure64. 892 89316 September 2011: Wouter 894 - fix bug #408: accept patch from Steve Snyder that comments out 895 unused functions in lookup3.c. 896 - iana portlist updated. 897 - fix EDNS1480 change memleak and TCP fallback. 898 - fix various compiler warnings (reported by Paul Wouters). 899 - max sent count. EDNS1480 only for rtt < 5000. No promiscuous 900 fetch if sentcount > 3, stop query if sentcount > 16. Count is 901 reset when referral or CNAME happens. This makes unbound better 902 at managing large NS sets, they are explored when there is continued 903 interest (in the form of queries). 904 90515 September 2011: Wouter 906 - release 1.4.13. 907 - trunk contains 1.4.14 in development. 908 - Unbound probes at EDNS1480 if there an EDNS0 timeout. 909 91012 September 2011: Wouter 911 - Reverted dns EDNS backoff fix, it did not help and needs 912 fragmentation fixes instead. 913 - tag 1.4.13rc2 914 9157 September 2011: Wouter 916 - Fix operation in ipv6 only (do-ip4: no) mode. 917 9186 September 2011: Wouter 919 - fedora specfile updated. 920 9215 September 2011: Wouter 922 - tag 1.4.13rc1 923 9242 September 2011: Wouter 925 - iana portlist updated. 926 92726 August 2011: Wouter 928 - Fix num-threads 0 does not segfault, reported by Simon Deziel. 929 - Fix validation failures due to EDNS backoff retries, the retry 930 for fetch of data has want_dnssec because the iter_indicate_dnssec 931 function returns true when validation failure retry happens, and 932 then the serviced query code does not fallback to noEDNS, even if 933 the cache says it has this. This helps for DLV deployment when 934 the DNSSEC status is not known for sure before the lookup concludes. 935 93624 August 2011: Wouter 937 - Applied patch from Karel Slany that fixes a memory leak in the 938 unbound python module, in string conversions. 939 94022 August 2011: Wouter 941 - Fix validation of qtype ANY responses with CNAMEs (thanks Cathy 942 Zhang and Luo Ce). Unbound responds with the RR types that are 943 available at the name for qtype ANY and validates those RR types. 944 It does not test for completeness (i.e. with NSEC or NSEC3 query), 945 and it does not follow the CNAME or DNAME to another name (with 946 even more data for the already large response). 947 - Fix that internally, CNAMEs with NXDOMAIN have that as rcode. 948 - Documented the options that work with control set_option command. 949 - tcp-upstream yes/no option (works with set_option) for tunnels. 950 95118 August 2011: Wouter 952 - fix autoconf call in makedist crosscompile to RC or snapshot. 953 95417 August 2011: Wouter 955 - Fix validation of . DS query. 956 - new xml format at IANA, new awk for iana_update. 957 - iana portlist updated. 958 95910 August 2011: Wouter 960 - Fix python site-packages path to /usr/lib64. 961 - updated patch from Tom. 962 - fix memory and fd leak after out-of-memory condition. 963 9649 August 2011: Wouter 965 - patch from Tom Hendrikx fixes load of python modules. 966 9678 August 2011: Wouter 968 - make clean had ldns-src reference, removed. 969 9701 August 2011: Wouter 971 - Fix autoconf 2.68 warnings 972 97314 July 2011: Wouter 974 - Unbound implements RFC6303 (since version 1.4.7). 975 - tag 1.4.12rc1 is released as 1.4.12 (without the other fixes in the 976 meantime, those are for 1.4.13). 977 - iana portlist updated. 978 97913 July 2011: Wouter 980 - Quick fix for contrib/unbound.spec example, no ldns-builtin any more. 981 98211 July 2011: Wouter 983 - Fix wildcard expansion no-data reply under an optout NSEC3 zone is 984 validated as insecure, reported by Jia Li (lijia@cnnic.cn). 985 9864 July 2011: Wouter 987 - 1.4.12rc1 tag created. 988 9891 July 2011: Wouter 990 - version number in example config file. 991 - fix that --enable-static-exe does not complain about it unknown. 992 99330 June 2011: Wouter 994 - tag relase 1.4.11, trunk is 1.4.12 development. 995 - iana portlist updated. 996 - fix bug#395: id bits of other query may leak out under conditions 997 - fix replyaddr count wrong after jostled queries, which leads to 998 eventual starvation where the daemon has no replyaddrs left to use. 999 - fix comment about rndc port, that referred to the old port number. 1000 - fix that the listening socket is not closed when too many remote 1001 control connections are made at the same time. 1002 - removed ldns-src tarball inside the unbound tarball. 1003 100423 June 2011: Wouter 1005 - Changed -flto check to support clang compiler. 1006 - tag 1.4.11rc3 created. 1007 100817 June 2011: Wouter 1009 - tag 1.4.11rc1 created. 1010 - remove warning about signed/unsigned from flex (other flex version). 1011 - updated aclocal.m4 and libtool to match. 1012 - tag 1.4.11rc2 created. 1013 101416 June 2011: Wouter 1015 - log-queries: yesno option, default is no, prints querylog. 1016 - version is 1.4.11. 1017 101814 June 2011: Wouter 1019 - Use -flto compiler flag for link time optimization, if supported. 1020 - iana portlist updated. 1021 102212 June 2011: Wouter 1023 - IPv6 service address for d.root-servers.net (2001:500:2D::D). 1024 102510 June 2011: Wouter 1026 - unbound-control has version number in the header, 1027 UBCT[version]_space_ is the header sent by the client now. 1028 - Unbound control port number is registered with IANA: 1029 ub-dns-control 8953/tcp unbound dns nameserver control 1030 This is the new default for the control-port config setting. 1031 - statistics-interval prints the number of jostled queries to log. 1032 103330 May 2011: Wouter 1034 - Fix Makefile for U in environment, since wrong U is more common than 1035 deansification necessity. 1036 - iana portlist updated. 1037 - updated ldns tarball to 1.6.10rc2 snapshot of today. 1038 103925 May 2011: Wouter 1040 - Fix assertion failure when unbound generates an empty error reply 1041 in response to a query, CVE-2011-1922 VU#531342. 1042 - This fix is in tag 1.4.10. 1043 - defense in depth against the above bug, an error is printed to log 1044 instead of an assertion failure. 1045 104610 May 2011: Wouter 1047 - bug#386: --enable-allsymbols option links all binaries to libunbound 1048 and reduces install size significantly. 1049 - feature, ignore-cd-flag: yesno to provide dnssec to legacy servers. 1050 - iana portlist updated. 1051 - Fix TTL of SOA so negative TTL is separately cached from normal TTL. 1052 105314 April 2011: Wouter 1054 - configure created with newer autoconf 2.66. 1055 105612 April 2011: Wouter 1057 - bug#378: Fix that configure checks for ldns_get_random presence. 1058 10598 April 2011: Wouter 1060 - iana portlist updated. 1061 - queries with CD flag set cause DNSSEC validation, but the answer is 1062 not withheld if it is bogus. Thus, unbound will retry if it is bad 1063 and curb the TTL if it is bad, thus protecting the cache for use by 1064 downstream validators. 1065 - val-override-date: -1 ignores dates entirely, for NTP usage. 1066 106729 March 2011: Wouter 1068 - harden-below-nxdomain: changed so that it activates when the 1069 cached nxdomain is dnssec secure. This avoids backwards 1070 incompatibility because those old servers do not have dnssec. 1071 107224 March 2011: Wouter 1073 - iana portlist updated. 1074 - release 1.4.9. 1075 - trunk is 1.5.0 1076 107717 March 2011: Wouter 1078 - bug#370: new unbound.spec for CentOS 5.x from Harold Jones. 1079 Applied but did not do the --disable-gost. 1080 108110 March 2011: Wouter 1082 - tag 1.4.9 release candidate 1 created. 1083 10843 March 2011: Wouter 1085 - updated ldns to today. 1086 10871 March 2011: Wouter 1088 - Fix no ADflag for NXDOMAIN in NSEC3 optout. And wildcard in optout. 1089 - give config parse error for multiple names on a stub or forward zone. 1090 - updated ldns tarball to 1.6.9(todays snapshot). 1091 109224 February 2011: Wouter 1093 - bug #361: Fix, time.elapsed variable not reset with stats_noreset. 1094 109523 February 2011: Wouter 1096 - iana portlist updated. 1097 - common.sh to version 3. 1098 109918 February 2011: Wouter 1100 - common.sh in testdata updated to version 2. 1101 110215 February 2011: Wouter 1103 - Added explicit note on unbound-anchor usage: 1104 Please note usage of unbound-anchor root anchor is at your own risk 1105 and under the terms of our LICENSE (see that file in the source). 1106 110711 February 2011: Wouter 1108 - iana portlist updated. 1109 - tpkg updated with common.sh for common functionality. 1110 11117 February 2011: Wouter 1112 - Added regression test for addition of a .net DS to the root, and 1113 cache effects with different TTL for glue and DNSKEY. 1114 - iana portlist updated. 1115 111628 January 2011: Wouter 1117 - Fix remove private address does not throw away entire response. 1118 111924 January 2011: Wouter 1120 - release 1.4.8 1121 112219 January 2011: Wouter 1123 - fix bug#349: no -L/usr for ldns. 1124 112518 January 2011: Wouter 1126 - ldns 1.6.8 tarball included. 1127 - release 1.4.8rc1. 1128 112917 January 2011: Wouter 1130 - add get and set option for harden-below-nxdomain feature. 1131 - iana portlist updated. 1132 113314 January 2011: Wouter 1134 - Fix so a changed NS RRset does not get moved name stuck on old 1135 server, for type NS the TTL is not increased. 1136 113713 January 2011: Wouter 1138 - Fix prefetch so it does not get stuck on old server for moved names. 1139 114012 January 2011: Wouter 1141 - iana portlist updated. 1142 114311 January 2011: Wouter 1144 - Fix insecure CNAME sequence marked as secure, reported by Bert 1145 Hubert. 1146 114710 January 2011: Wouter 1148 - faster lruhash get_mem routine. 1149 11504 January 2011: Wouter 1151 - bug#346: remove ITAR scripts from contrib, the service is discontinued, use the root. 1152 - iana portlist updated. 1153 115423 December 2010: Wouter 1155 - Fix in infra cache that could cause rto larger than TOP_TIMEOUT kept. 1156 115721 December 2010: Wouter 1158 - algorithm compromise protection using the algorithms signalled in 1159 the DS record. Also, trust anchors, DLV, and RFC5011 receive this, 1160 and thus, if you have multiple algorithms in your trust-anchor-file 1161 then it will now behave different than before. Also, 5011 rollover 1162 for algorithms needs to be double-signature until the old algorithm 1163 is revoked. 1164 It is not an option, because I see no use to turn the security off. 1165 - iana portlist updated. 1166 116717 December 2010: Wouter 1168 - squelch 'tcp connect: bla' in logfile, (set verbosity 2 to see them). 1169 - fix validation in this case: CNAME to nodata for co-hosted opt-in 1170 NSEC3 insecure delegation, was bogus, fixed to be insecure. 1171 117216 December 2010: Wouter 1173 - Fix our 'BDS' license (typo reported by Xavier Belanger). 1174 117510 December 2010: Wouter 1176 - iana portlist updated. 1177 - review changes for unbound-anchor. 1178 11792 December 2010: Wouter 1180 - feature typetransparent localzone, does not block other RR types. 1181 11821 December 2010: Wouter 1183 - Fix bug#338: print address when socket creation fails. 1184 118530 November 2010: Wouter 1186 - Fix storage of EDNS failures in the infra cache. 1187 - iana portlist updated. 1188 118918 November 2010: Wouter 1190 - harden-below-nxdomain option, default off (because very old 1191 software may be incompatible). We could enable it by default in 1192 the future. 1193 119417 November 2010: Wouter 1195 - implement draft-vixie-dnsext-resimprove-00, we stop on NXDOMAIN. 1196 - make test output nicer. 1197 119815 November 2010: Wouter 1199 - silence 'tcp connect: broken pipe' and 'net down' at low verbosity. 1200 - iana portlist updated. 1201 - so-sndbuf option for very busy servers, a bit like so-rcvbuf. 1202 12039 November 2010: Wouter 1204 - unbound-anchor compiles with openssl 0.9.7. 1205 12068 November 2010: Wouter 1207 - release tag 1.4.7. 1208 - trunk is version 1.4.8. 1209 - Be lenient and accept imgw.pl malformed packet (like BIND). 1210 12115 November 2010: Wouter 1212 - do not synthesize a CNAME message from cache for qtype DS. 1213 12144 November 2010: Wouter 1215 - Use central entropy to seed threads. 1216 12173 November 2010: Wouter 1218 - Change the rtt used to probe EDNS-timeout hosts to 1000 msec. 1219 12202 November 2010: Wouter 1221 - tag 1.4.7rc1. 1222 - code review. 1223 12241 November 2010: Wouter 1225 - GOST code enabled by default (RFC 5933). 1226 122727 October 2010: Wouter 1228 - Fix uninit value in dump_infra print. 1229 - Fix validation failure for parent and child on same server with an 1230 insecure childzone and a CNAME from parent to child. 1231 - Configure detects libev-4.00. 1232 123326 October 2010: Wouter 1234 - dump_infra and flush_infra commands for unbound-control. 1235 - no timeout backoff if meanwhile a query succeeded. 1236 - Change of timeout code. No more lost and backoff in blockage. 1237 At 12sec timeout (and at least 2x lost before) one probe per IP 1238 is allowed only. At 120sec, the IP is blocked. After 15min, a 1239 120sec entry has a single retry packet. 1240 124125 October 2010: Wouter 1242 - Configure errors if ldns is not found. 1243 124422 October 2010: Wouter 1245 - Windows 7 fix for the installer. 1246 124721 October 2010: Wouter 1248 - Fix bug where fallback_tcp causes wrong roundtrip and edns 1249 observation to be noted in cache. Fix bug where EDNSprobe halted 1250 exponential backoff if EDNS status unknown. 1251 - new unresponsive host method, exponentially increasing block backoff. 1252 - iana portlist updated. 1253 125420 October 2010: Wouter 1255 - interface automatic works for some people with ip6 disabled. 1256 Therefore the error check is removed, so they can use the option. 1257 125819 October 2010: Wouter 1259 - Fix for request list growth, if a server has long timeout but the 1260 lost counter is low, then its effective rtt is the one without 1261 exponential backoff applied. Because the backoff is not working. 1262 The lost counter can then increase and the server is blacklisted, 1263 or the lost counter does not increase and the server is working 1264 for some queries. 1265 126618 October 2010: Wouter 1267 - iana portlist updated. 1268 126913 October 2010: Wouter 1270 - Fix TCP so it uses a random outgoing-interface. 1271 - unbound-anchor handles ADDPEND keystate. 1272 127311 October 2010: Wouter 1274 - Fix bug when DLV below a trust-anchor that uses NSEC3 optout where 1275 the zone has a secure delegation hosted on the same server did not 1276 verify as secure (it was insecure by mistake). 1277 - iana portlist updated. 1278 - ldns tarball updated (for reading cachedumps with bad RR data). 1279 12801 October 2010: Wouter 1281 - test for unbound-anchor. fix for reading certs. 1282 - Fix alloc_reg_release for longer uptime in out of memory conditions. 1283 128428 September 2010: Wouter 1285 - unbound-anchor working, it creates or updates a root.key file. 1286 Use it before you start the validator (e.g. at system boot time). 1287 128827 September 2010: Wouter 1289 - iana portlist updated. 1290 129124 September 2010: Wouter 1292 - bug#329: in example.conf show correct ipv4 link-local 169.254/16. 1293 129423 September 2010: Wouter 1295 - unbound-anchor app, unbound requires libexpat (xml parser library). 1296 129722 September 2010: Wouter 1298 - compliance with draft-ietf-dnsop-default-local-zones-14, removed 1299 reverse ipv6 orchid prefix from builtin list. 1300 - iana portlist updated. 1301 130217 September 2010: Wouter 1303 - DLV has downgrade protection again, because the RFC says so. 1304 - iana portlist updated. 1305 130616 September 2010: Wouter 1307 - Algorithm rollover operational reality intrudes, for trust-anchor, 1308 5011-store, and DLV-anchor if one key matches it's good enough. 1309 - iana portlist updated. 1310 - Fix reported validation error in out of memory condition. 1311 131215 September 2010: Wouter 1313 - Abide RFC5155 section 9.2: no AD flag for replies with NSEC3 optout. 1314 131514 September 2010: Wouter 1316 - increased mesh-max-activation from 1000 to 3000 for crazy domains 1317 like _tcp.slb.com with 262 servers. 1318 - iana portlist updated. 1319 132013 September 2010: Wouter 1321 - bug#327: Fix for cannot access stub zones until the root is primed. 1322 13239 September 2010: Wouter 1324 - unresponsive servers are not completely blacklisted (because of 1325 firewalls), but also not probed all the time (because of the request 1326 list size it generates). The probe rate is 1%. 1327 - iana portlist updated. 1328 132920 August 2010: Wouter 1330 - openbsd-lint fixes: acl_list_get_mem used if debug-alloc enabled. 1331 iterator get_mem includes priv_get_mem. delegpt nodup removed. 1332 listen_pushback, query_info_allocqname, write_socket, send_packet, 1333 comm_point_set_cb_arg and listen_resume removed. 1334 133519 August 2010: Wouter 1336 - Fix bug#321: resolution of rs.ripe.net artifacts with 0x20. 1337 Delegpt structures checked for duplicates always. 1338 No more nameserver lookups generated when depth is full anyway. 1339 - example.conf notes how to do DNSSEC validation and track the root. 1340 - iana portlist updated. 1341 134218 August 2010: Wouter 1343 - Fix bug#322: configure does not respect CFLAGS on Solaris. 1344 Pass CFLAGS="-xO4 -xtarget=generic" on the configure command line 1345 if use sun-cc, but some systems need different flags. 1346 134716 August 2010: Wouter 1348 - Fix acx_nlnetlabs.m4 configure output for autoconf-2.66 AS_TR_CPP 1349 changes, uses m4_bpatsubst now. 1350 - make test (or make check) should be more portable and run the unit 1351 test and testbound scripts. (make longtest has special requirements). 1352 135313 August 2010: Wouter 1354 - More pleasant remote control command parsing. 1355 - documentation added for return values reported by doxygen 1.7.1. 1356 - iana portlist updated. 1357 13589 August 2010: Wouter 1359 - Fix name of rrset printed that failed validation. 1360 13615 August 2010: Wouter 1362 - Return NXDOMAIN after chain of CNAMEs ends at name-not-found. 1363 13644 August 2010: Wouter 1365 - Fix validation in case a trust anchor enters into a zone with 1366 unsupported algorithms. 1367 13683 August 2010: Wouter 1369 - updated ldns tarball with bugfixes. 1370 - release tag 1.4.6. 1371 - trunk becomes 1.4.7 develop. 1372 - iana portlist updated. 1373 137422 July 2010: Wouter 1375 - more error details on failed remote control connection. 1376 137715 July 2010: Wouter 1378 - rlimit adjustments for select and ulimit can happen at the same time. 1379 138014 July 2010: Wouter 1381 - Donation text added to README. 1382 - Fix integer underflow in prefetch ttl creation from cache. This 1383 fixes a potential negative prefetch ttl. 1384 138512 July 2010: Wouter 1386 - Changed the defaults for num-queries-per-thread/outgoing-range. 1387 For builtin-select: 512/960, for libevent 1024/4096 and for 1388 windows 24/48 (because of win api). This makes the ratio this way 1389 to improve resilience under heavy load. For high performance, use 1390 libevent and possibly higher numbers. 1391 139210 July 2010: Wouter 1393 - GOST enabled if SSL is recent and ldns has GOST enabled too. 1394 - ldns tarball updated. 1395 13969 July 2010: Wouter 1397 - iana portlist updated. 1398 - Fix validation of qtype DNSKEY when a key-cache entry exists but 1399 no rr-cache entry is used (it expired or prefetch), it then goes 1400 back up to the DS or trust-anchor to validate the DNSKEY. 1401 14027 July 2010: Wouter 1403 - Neat function prototypes, unshadowed local declarations. 1404 14056 July 2010: Wouter 1406 - failure to chown the pidfile is not fatal any more. 1407 - testbound uses UTC timezone. 1408 - ldns tarball updated (ports and works on Minix 3.1.7). On Minix, add 1409 /usr/gnu/bin to PATH, use ./configure AR=/usr/gnu/bin/gar and gmake. 1410 14115 July 2010: Wouter 1412 - log if a server is skipped because it is on the donotquery list, 1413 at verbosity 4, to enable diagnosis why no queries to 127.0.0.1. 1414 - added feature to print configure date, target and options with -h. 1415 - added feature to print event backend system details with -h. 1416 - wdiff is not actually required by make test, updated requirements. 1417 14181 July 2010: Wouter 1419 - Fix RFC4035 compliance with 2.2 statement that the DNSKEY at apex 1420 must be signed with all algorithms from the DS rrset at the parent. 1421 This is now checked and becomes bogus if not. 1422 142328 June 2010: Wouter 1424 - Fix jostle list bug found by Vince (luoce@cnnic), it caused the qps 1425 in overload situations to be about 5 qps for the class of shortly 1426 serviced queries. 1427 The capacity of the resolver is then about (numqueriesperthread / 2) 1428 / (average time for such long queries) qps for long queries. 1429 And about (numqueriesperthread / 2)/(jostletimeout in whole seconds) 1430 qps for short queries, per thread. 1431 - Fix the max number of reply-address count to be applied for duplicate 1432 queries, and not for new query list entries. This raises the memory 1433 usage to a max of (16+1)*numqueriesperthread reply addresses. 1434 143525 June 2010: Wouter 1436 - Fix handling of corner case reply from lame server, follows rfc2308. 1437 It could lead to a nodata reply getting into the cache if the search 1438 for a non-lame server turned up other misconfigured servers. 1439 - unbound.h has extern "C" statement for easier include in c++. 1440 144123 June 2010: Wouter 1442 - iana portlist updated. 1443 - makedist upgraded cross compile openssl option, like this: 1444 ./makedist.sh -s -wssl openssl-1.0.0a.tar.gz -w --enable-gost 1445 144622 June 2010: Wouter 1447 - Unbound reports libev or libevent correctly in logs in verbose mode. 1448 - Fix to unload gost dynamic library module for leak testing. 1449 145018 June 2010: Wouter 1451 - iana portlist updated. 1452 145317 June 2010: Wouter 1454 - Add AAAA to root hints for I.ROOT-SERVERS.NET. 1455 145616 June 2010: Wouter 1457 - Fix assertion failure reported by Kai Storbeck from XS4ALL, the 1458 assertion was wrong. 1459 - updated ldns tarball. 1460 146115 June 2010: Wouter 1462 - tag 1.4.5 created. 1463 - trunk contains 1.4.6 in development. 1464 - Fix TCPreply on systems with no writev, if just 1 byte could be sent. 1465 - Fix to use one pointer less for iterator query state store_parent_NS. 1466 - makedist crosscompile to windows uses builtin ldns not host ldns. 1467 - Max referral count from 30 to 130, because 128 one character domains 1468 is valid DNS. 1469 - added documentation for the histogram printout to syslog. 1470 147111 June 2010: Wouter 1472 - When retry to parent the retrycount is not wiped, so failed 1473 nameservers are not tried again. 1474 - iana portlist updated. 1475 147610 June 2010: Wouter 1477 - Fix bug where a long loop could be entered, now cycle detection 1478 has a loop-counter and maximum search amount. 1479 14804 June 2010: Wouter 1481 - iana portlist updated. 1482 - 1.4.5rc1 tag created. 1483 14843 June 2010: Wouter 1485 - ldns tarball updated, 1.6.5. 1486 - review comments, split dependency cycle tracking for parentside 1487 last resort lookups for A and AAAA so there are more lookup options. 1488 14892 June 2010: Wouter 1490 - Fix compile warning if compiled without threads. 1491 - updated ldns-tarball with current ldns svn (pre 1.6.5). 1492 - GOST disabled-by-default, the algorithm number is allocated but the 1493 RFC is still has to pass AUTH48 at the IETF. 1494 14951 June 2010: Wouter 1496 - Ignore Z flag in incoming messages too. 1497 - Fix storage of negative parent glue if that last resort fails. 1498 - libtoolize 2.2.6b, autoconf 2.65 applied to configure. 1499 - new splint flags for newer splint install. 1500 150131 May 2010: Wouter 1502 - Fix AD flag handling, it could in some cases mistakenly copy the AD 1503 flag from upstream servers. 1504 - alloc_special_obtain out of memory is not a fatal error any more, 1505 enabling unbound to continue longer in out of memory conditions. 1506 - parentside names are dispreferred but not said to be dnssec-lame. 1507 - parentside check for cached newname glue. 1508 - fix parentside and querytargets modulestate, for dump_requestlist. 1509 - unbound-control-setup makes keys -rw-r--- so not all users permitted. 1510 - fix parentside from cache to be marked dispreferred for bad names. 1511 151228 May 2010: Wouter 1513 - iana portlist updated. 1514 - parent-child disagreement approach altered. Older fixes are 1515 removed in place of a more exhaustive search for misconfigured data 1516 available via the parent of a delegation. 1517 This is designed to be throttled by cache entries, with TTL from the 1518 parent if possible. Additionally the loop-counter is used. 1519 It also tests for NS RRset differences between parent and child. 1520 The fetch of misconfigured data should be more reliable and thorough. 1521 It should work reliably even with no or only partial data in cache. 1522 Data received from the child (as always) is deemed more 1523 authoritative than information received from the delegation parent. 1524 The search for misconfigured data is not performed normally. 1525 152626 May 2010: Wouter 1527 - Contribution from Migiel de Vos (Surfnet): nagios patch for 1528 unbound-host, in contrib/ (in the source tarball). Makes 1529 unbound-host suitable for monitoring dnssec(-chain) status. 1530 153121 May 2010: Wouter 1532 - EDNS timeout code will not fire if EDNS status already known. 1533 - EDNS failure not stored if EDNS status known to work. 1534 153519 May 2010: Wouter 1536 - Fix resolution for domains like safesvc.com.cn. If the iterator 1537 can not recurse further and it finds the delegation in a state 1538 where it would otherwise have rejected it outhand if so received 1539 from a cache lookup, then it can try to ask higherup (with loop 1540 protection). 1541 - Fix comments in iter_utils:dp_is_useless. 1542 154318 May 2010: Wouter 1544 - Fix various compiler warnings from the clang llvm compiler. 1545 - iana portlist updated. 1546 15476 May 2010: Wouter 1548 - Fix bug#308: spelling error in variable name in parser and lexer. 1549 15504 May 2010: Wouter 1551 - Fix dnssec-missing detection that was turned off by server selection. 1552 - Conforms to draft-ietf-dnsop-default-local-zones-13. Added default 1553 reverse lookup blocks for IPv4 test nets 100.51.198.in-addr.arpa, 1554 113.0.203.in-addr.arpa and Orchid prefix 0.1.1.0.0.2.ip6.arpa. 1555 155629 April 2010: Wouter 1557 - Fix for dnssec lameness detection to use the key cache. 1558 - infra cache entries that are expired are wiped clean. Previously 1559 it was possible to not expire host data (if accessed often). 1560 156128 April 2010: Wouter 1562 - ldns tarball updated and GOST support is detected and then enabled. 1563 - iana portlist updated. 1564 - Fix detection of gost support in ldns (reported by Chris Smith). 1565 156627 April 2010: Wouter 1567 - unbound-control get_option domain-insecure shows config file items. 1568 - fix retry sequence if prime hints are recursion-lame. 1569 - autotrust anchor file can be initialized with a ZSK key as well. 1570 - harden-referral-path does not result in failures due to max-depth. 1571 You can increase the max-depth by adding numbers (' 0') after the 1572 target-fetch-policy, this increases the depth to which is checked. 1573 157426 April 2010: Wouter 1575 - Compile fix using Sun Studio 12 compiler on Solaris 5.9, use 1576 CPPFLAGS during configure process. 1577 - if libev is installed on the base system (not libevent), detect 1578 it from the event.h header file and link with -lev. 1579 - configlexer.lex gets config.h, and configyyrename.h added by make, 1580 no more double include. 1581 - More strict scrubber (Thanks to George Barwood for the idea): 1582 NS set must be pertinent to the query (qname subdomain nsname). 1583 - Fix bug#307: In 0x20 backoff fix fallback so the number of 1584 outstanding queries does not become -1 and block the request. 1585 Fixed handling of recursion-lame in combination with 0x20 fallback. 1586 Fix so RRsets are compared canonicalized and sorted if the immediate 1587 comparison fails, this makes it work around round-robin sites. 1588 158923 April 2010: Wouter 1590 - Squelch log message: sendto failed permission denied for 1591 255.255.255.255, it is visible in VERB_DETAIL (verbosity 2). 1592 - Fix to fetch data as last resort more tenaciously. When cycle 1593 targets cause the server selection to believe there are more options 1594 when they really are not there, the server selection is reinitiated. 1595 - Fix fetch from blacklisted dnssec lame servers as last resort. The 1596 server's IP address is then given in validator errors as well. 1597 - Fix local-zone type redirect that did not use the query name for 1598 the answer rrset. 1599 160022 April 2010: Wouter 1601 - tag 1.4.4. 1602 - trunk contains 1.4.5 in development. 1603 - Fix validation failure for qtype ANY caused by a RRSIG parse failure. 1604 The validator error message was 'no signatures from ...'. 1605 160616 April 2010: Wouter 1607 - more portability defines for CMSG_SPACE, CMSG_ALIGN, CMSG_LEN. 1608 - tag 1.4.4rc1. 1609 161015 April 2010: Wouter 1611 - ECC-GOST algorithm number 12 that is assigned by IANA. New test 1612 example key and signatures for GOST. GOST requires openssl-1.0.0. 1613 GOST is still disabled by default. 1614 16159 April 2010: Wouter 1616 - Fix bug#305: pkt_dname_tolower could read beyond end of buffer or 1617 get into an endless loop, if 0x20 was enabled, and buffers are small 1618 or particular broken packets are received. 1619 - Fix chain of trust with CNAME at an intermediate step, for the DS 1620 processing proof. 1621 16228 April 2010: Wouter 1623 - Fix validation of queries with wildcard names (*.example). 1624 16256 April 2010: Wouter 1626 - Fix EDNS probe for .de DNSSEC testbed failure, where the infra 1627 cache timeout coincided with a server update, the current EDNS 1628 backoff is less sensitive, and does not cache the backoff unless 1629 the backoff actually works and the domain is not expecting DNSSEC. 1630 - GOST support with correct algorithm numbers. 1631 16321 April 2010: Wouter 1633 - iana portlist updated. 1634 163524 March 2010: Wouter 1636 - unbound control flushed items are not counted when flushed again. 1637 163823 March 2010: Wouter 1639 - iana portlist updated. 1640 164122 March 2010: Wouter 1642 - unbound-host disables use-syslog from config file so that the 1643 config file for the main server can be used more easily. 1644 - fix bug#301: unbound-checkconf could not parse interface 1645 '0.0.0.0@5353', even though unbound itself worked fine. 1646 164719 March 2010: Wouter 1648 - fix fwd_ancil test to pass if the socket options are not supported. 1649 165018 March 2010: Wouter 1651 - Fixed random numbers for port, interface and server selection. 1652 Removed very small bias. 1653 - Refer to the listing in unbound-control man page in the extended 1654 statistics entry in the unbound.conf man page. 1655 165616 March 2010: Wouter 1657 - Fix interface-automatic for OpenBSD: msg.controllen was too small, 1658 also assertions on ancillary data buffer. 1659 - check for IP_SENDSRCADDR for interface-automatic or IP_PKTINFO. 1660 - for NSEC3 check if signatures are cached. 1661 166215 March 2010: Wouter 1663 - unit test for util/regional.c. 1664 166512 March 2010: Wouter 1666 - Reordered configure checks so fork and -lnsl -lsocket checks are 1667 earlier, and thus later checks benefit from and do not hinder them. 1668 - iana portlist updated. 1669 - ldns tarball updated. 1670 - Fix python use when multithreaded. 1671 - Fix solaris python compile. 1672 - Include less in config.h and include per code file for ldns, ssl. 1673 167411 March 2010: Wouter 1675 - another memory allocation option: --enable-alloc-nonregional. 1676 exposes the regional allocations to other memory purifiers. 1677 - fix for memory alignment in struct sock_list allocation. 1678 - Fix for MacPorts ldns without ssl default, unbound checks if ldns 1679 has dnssec functionality and uses the builtin if not. 1680 - Fix daemonize on Solaris 10, it did not detach from terminal. 1681 - tag 1.4.3 created. 1682 - trunk is 1.4.4 in development. 1683 - spelling fix in validation error involving cnames. 1684 168510 March 2010: Wouter 1686 - --enable-alloc-lite works with test set. 1687 - portability in the testset: printf format conversions, prototypes. 1688 16899 March 2010: Wouter 1690 - tag 1.4.2 created. 1691 - trunk is 1.4.3 in development. 1692 - --enable-alloc-lite debug option. 1693 16948 March 2010: Wouter 1695 - iana portlist updated. 1696 16974 March 2010: Wouter 1698 - Fix crash in control channel code. 1699 17003 March 2010: Wouter 1701 - better casts in pipe code, brackets placed wrongly. 1702 - iana portlist updated. 1703 17041 March 2010: Wouter 1705 - make install depends on make all. 1706 - Fix 5011 auto-trust-anchor-file initial read to skip RRSIGs. 1707 - --enable-checking: enables assertions but does not look nonproduction. 1708 - nicer VERB_DETAIL (verbosity 2, unbound-host -d) output, with 1709 nxdomain and nodata distinguished. 1710 - ldns tarball updated. 1711 - --disable-rpath fixed for libtool not found errors. 1712 - new fedora specfile from Fedora13 in contrib from Paul Wouters. 1713 171426 February 2010: Wouter 1715 - Fixup prototype for lexer cleanup in daemon code. 1716 - unbound-control list_stubs, list_forwards, list_local_zones and 1717 list_local_data. 1718 171924 February 2010: Wouter 1720 - Fix scrubber bug that potentially let NS records through. Reported 1721 by Amanda Constant. 1722 - Also delete potential poison references from additional. 1723 - Fix: no classification of a forwarder as lame, throw away instead. 1724 172523 February 2010: Wouter 1726 - libunbound ub_ctx_get_option() added. 1727 - unbound-control set_option and get_option commands. 1728 - iana portlist updated. 1729 173018 February 2010: Wouter 1731 - A little more strict DS scrubbing. 1732 - No more blacklisting of unresponsive servers, a 2 minute timeout 1733 is backed off to. 1734 - RD flag not enabled for dnssec-blacklisted tries, unless necessary. 1735 - pickup ldns compile fix, libdl for libcrypto. 1736 - log 'tcp connect: connection timed out' only in high verbosity. 1737 - unbound-control log_reopen command. 1738 - moved get_option code from unbound-checkconf to util/config_file.c 1739 174017 February 2010: Wouter 1741 - Disregard DNSKEY from authority section for chain of trust. 1742 DS records that are irrelevant to a referral scrubbed. Anti-poison. 1743 - iana portlist updated. 1744 174516 February 2010: Wouter 1746 - Check for 'no space left on device' (or other errors) when 1747 writing updated autotrust anchors and print errno to log. 1748 174915 February 2010: Wouter 1750 - Fixed the requery protection, the TTL was 0, it is now 900 seconds, 1751 hardcoded. We made the choice to send out more conservatively, 1752 protecting against an aggregate effect more than protecting a 1753 single user (from their own folly, perhaps in case of misconfig). 1754 175512 February 2010: Wouter 1756 - Re-query pattern changed on validation failure. To protect troubled 1757 authority servers, unbound caches a failure for the DNSKEY or DS 1758 records for the entire zone, and only retries that 900 seconds later. 1759 This implies that only a handful of packets are sent extra to the 1760 authority if the zone fails. 1761 176211 February 2010: Wouter 1763 - ldns tarball update for long label length syntax error fix. 1764 - iana portlist updated. 1765 17669 February 2010: Wouter 1767 - Fixup in compat snprintf routine, %f 1.02 and %g support. 1768 - include math.h for testbound test compile portability. 1769 17702 February 2010: Wouter 1771 - Updated url of IANA itar, interim trust anchor repository, in script. 1772 17731 February 2010: Wouter 1774 - iana portlist updated. 1775 - configure test for memcmp portability. 1776 177727 January 2010: Wouter 1778 - removed warning on format string in validator error log statement. 1779 - iana portlist updated. 1780 178122 January 2010: Wouter 1782 - libtool finish the install of unbound python dynamic library. 1783 178421 January 2010: Wouter 1785 - acx_nlnetlabs.m4 synchronised with nsd's version. 1786 178720 January 2010: Wouter 1788 - Fixup lookup trouble for parent-child domains on the first query. 1789 179014 January 2010: Wouter 1791 - Fixup ldns detection to also check for header files. 1792 179313 January 2010: Wouter 1794 - prefetch-key option that performs DNSKEY queries earlier in the 1795 validation process, and that could halve the latency on DNSSEC 1796 queries. It takes some extra processing (CPU, a cache is needed). 1797 179812 January 2010: Wouter 1799 - Fix unbound-checkconf for auto-trust-anchor-file present checks. 1800 18018 January 2010: Wouter 1802 - Fix for parent-child disagreement code which could have trouble 1803 when (a) ipv6 was disabled and (b) the TTL for parent and child 1804 were different. There were two bugs, the parent-side information 1805 is fixed to no longer block lookup of child side information and 1806 the iterator is fixed to no longer attempt to get ipv6 when it is 1807 not enabled and then give up in failure. 1808 - test and fixes to make prefetch actually store the answer in the 1809 cache. Considers some rrsets 'already expired' but does not allow 1810 overwriting of rrsets considered more secure. 1811 18127 January 2010: Wouter 1813 - Fixup python documentation (thanks Leo Vandewoestijne). 1814 - Work on cache prefetch feature. 1815 - Stats for prefetch, in log print stats, unbound-control stats 1816 and in unbound_munin plugin. 1817 18186 January 2010: Wouter 1819 - iana portlist updated. 1820 - bug#291: DNS wireformat max is 255. dname_valid allowed 256 length. 1821 - verbose output includes parent-side-address notion for lameness. 1822 - documented val-log-level: 2 setting in example.conf and man page. 1823 - change unbound-control-setup from 1024(sha1) to 1536(sha256). 1824 18251 January 2010: Wouter 1826 - iana portlist updated. 1827 182822 December 2009: Wouter 1829 - configure with newer libtool 2.2.6b. 1830 183117 December 2009: Wouter 1832 - review comments. 1833 - tag 1.4.1. 1834 - trunk to version 1.4.2. 1835 183615 December 2009: Wouter 1837 - Answer to qclass=ANY queries, with class IN contents. 1838 Test that validation also works. 1839 - updated ldns snapshot tarball with latest fixes (parsing records). 1840 184111 December 2009: Wouter 1842 - on IPv4 UDP turn off DF flag. 1843 184410 December 2009: Wouter 1845 - requirements.txt updated with design choice explanations. 1846 - Reading fixes: fix to set unlame when child confirms parent glue, 1847 and fix to avoid duplicate addresses in delegation point. 1848 - verify_rrsig routine checks expiration last. 1849 18509 December 2009: Wouter 1851 - Fix Bug#287(reopened): update of ldns tarball with fix for parse 1852 errors generated for domain names like '.example.com'. 1853 - Fix SOA excluded from negative DS responses. Reported by Hauke 1854 Lampe. The negative cache did not include proper SOA records for 1855 negative qtype DS responses which makes BIND barf on it, such 1856 responses are now only used internally. 1857 - Fix negative cache lookup of closestencloser check of DS type bit. 1858 18598 December 2009: Wouter 1860 - Fix for lookup of parent-child disagreement domains, where the 1861 parent-side glue works but it does not provide proper NS, A or AAAA 1862 for itself, fixing domains such as motorcaravanners.eu. 1863 - Feature: you can specify a port number in the interface: line, so 1864 you can bind the same interface multiple times at different ports. 1865 18667 December 2009: Wouter 1867 - Bug#287: Fix segfault when unbound-control remove nonexistent local 1868 data. Added check to tests. 1869 18701 December 2009: Wouter 1871 - Fix crash with module-config "iterator". 1872 - Added unit test that has "iterator" module-config. 1873 187430 November 2009: Wouter 1875 - bug#284: fix parse of # without end-of-line at end-of-file. 1876 187726 November 2009: Wouter 1878 - updated ldns with release candidate for version 1.6.3. 1879 - tag for 1.4.0 release. 1880 - 1.4.1 version in trunk. 1881 - Fixup major libtool version to 2 because of why_bogus change. 1882 It was 1:5:0 but should have been 2:0:0. 1883 188423 November 2009: Wouter 1885 - Patch from David Hubbard for libunbound manual page. 1886 - Fixup endless spinning in unbound-control stats reported by 1887 Attila Nagy. Probably caused by clock reversal. 1888 188920 November 2009: Wouter 1890 - contrib/split-itar.sh contributed by Tom Hendrikx. 1891 189219 November 2009: Wouter 1893 - better argument help for unbound-control. 1894 - iana portlist updated. 1895 189617 November 2009: Wouter 1897 - noted multiple entries for multiple domain names in example.conf. 1898 - iana portlist updated. 1899 190016 November 2009: Wouter 1901 - Fixed signer detection of CNAME responses without signatures. 1902 - Fix#282 libunbound memleak on error condition by Eric Sesterhenn. 1903 - Tests for CNAMEs to deeper trust anchors, secure and bogus. 1904 - svn tag 1.4.0rc1 made. 1905 190613 November 2009: Wouter 1907 - Fixed validation failure for CNAME to optout NSEC3 nodata answer. 1908 - unbound-host does not fail on type ANY. 1909 - Fixed wireparse failure to put RRSIGs together with data in some 1910 long ANY mix cases, which fixes validation failures. 1911 191212 November 2009: Wouter 1913 - iana portlist updated. 1914 - fix manpage errors reported by debian lintian. 1915 - review comments. 1916 - fixup very long vallog2 level error strings. 1917 191811 November 2009: Wouter 1919 - ldns tarball updated (to 1.6.2). 1920 - review comments. 1921 192210 November 2009: Wouter 1923 - Thanks to Surfnet found bug in new dnssec-retry code that failed 1924 to combine well when combined with DLV and a particular failure. 1925 - Fixed unbound-control -h output about argument optionality. 1926 - review comments. 1927 19285 November 2009: Wouter 1929 - lint fixes and portability tests. 1930 - better error text for multiple domain keys in one autotrust file. 1931 19322 November 2009: Wouter 1933 - Fix bug where autotrust does not work when started with a DS. 1934 - Updated GOST unit tests for unofficial algorithm number 249 1935 and DNSKEY-format changes in draft version -01. 1936 193729 October 2009: Wouter 1938 - iana portlist updated. 1939 - edns-buffer-size option, default 4096. 1940 - fixed do-udp: no. 1941 194228 October 2009: Wouter 1943 - removed abort on prealloc failure, error still printed but softfail. 1944 - iana portlist updated. 1945 - RFC 5702: RSASHA256 and RSASHA512 support enabled by default. 1946 - ldns tarball updated (which also enables rsasha256 support). 1947 194827 October 2009: Wouter 1949 - iana portlist updated. 1950 19518 October 2009: Wouter 1952 - please doxygen 1953 - add val-log-level print to corner case (nameserver.epost.bg). 1954 - more detail to errors from insecure delegation checks. 1955 - Fix double time subtraction in negative cache reported by 1956 Amanda Constant and Hugh Mahon. 1957 - Made new validator error string available from libunbound for 1958 applications. It is in result->why_bogus, a zero-terminated string. 1959 unbound-host prints it by default if a result is bogus. 1960 Also the errinf is public in module_qstate (for other modules). 1961 19627 October 2009: Wouter 1963 - retry for validation failure in DS and prime results. Less mem use. 1964 unit test. Provisioning in other tests for requeries. 1965 - retry for validation failure in DNSKEY in middle of chain of trust. 1966 unit test. 1967 - retry for empty non terminals in chain of trust and unit test. 1968 - Fixed security bug where the signatures for NSEC3 records were not 1969 checked when checking for absence of DS records. This could have 1970 enabled the substitution of an insecure delegation. 1971 - moved version number to 1.4.0 because of 1.3.4 release with only 1972 the NSEC3 patch from the entry above. 1973 - val-log-level: 2 shows extended error information for validation 1974 failures, but still one (longish) line per failure. For example: 1975 validation failure <example.com. DNSKEY IN>: signature expired from 1976 192.0.2.4 for trust anchor example.com. while building chain of trust 1977 validation failure <www.example.com. A IN>: no signatures from 1978 192.0.2.6 for key example.com. while building chain of trust 1979 19806 October 2009: Wouter 1981 - Test set updated to provide additional ns lookup result. 1982 The retry would attempt to fetch the data from other nameservers 1983 for bogus data, and this needed to be provisioned in the tests. 1984 19855 October 2009: Wouter 1986 - first validation failure retry code. Retries for data failures. 1987 And unit test. 1988 19892 October 2009: Wouter 1990 - improve 5011 modularization. 1991 - fix unbound-host so -d can be given before -C. 1992 - iana portlist updated. 1993 199428 September 2009: Wouter 1995 - autotrust-anchor-file can read multiline input and $ORIGIN. 1996 - prevent integer overflow in holddown calculation. review fixes. 1997 - fixed race condition in trust point revocation. review fix. 1998 - review fixes to comments, removed unused code. 1999 200025 September 2009: Wouter 2001 - so-rcvbuf: 4m option added. Set this on large busy servers to not 2002 drop the occasional packet in spikes due to full socket buffers. 2003 netstat -su keeps a counter of UDP dropped due to full buffers. 2004 - review of validator/autotrust.c, small fixes and comments. 2005 200623 September 2009: Wouter 2007 - 5011 query failed counts verification failures, not lookup failures. 2008 - 5011 probe failure handling fixup. 2009 - test unbound reading of original autotrust data. 2010 The metadata per-key, such as key state (PENDING, MISSING, VALID) is 2011 picked up, otherwise performs initial probe like usual. 2012 201322 September 2009: Wouter 2014 - autotrust test with algorithm rollover, new ordering of checks 2015 assists in orderly rollover. 2016 - autotrust test with algorithm rollover to unknown algorithm. 2017 checks if new keys are supported before adding them. 2018 - autotrust test with trust point revocation, becomes unsigned. 2019 - fix DNSSEC-missing-signature detection for minimal responses 2020 for qtype DNSKEY (assumes DNSKEY occurs at zone apex). 2021 202218 September 2009: Wouter 2023 - autotrust tests, fix trustpoint timer deletion code. 2024 fix count of valid anchors during missing remove. 2025 - autotrust: pick up REVOKE even if not signed with known other keys. 2026 202717 September 2009: Wouter 2028 - fix compile of unbound-host when --enable-alloc-checks. 2029 - Fix lookup problem reported by Koh-ichi Ito and Jaap Akkerhuis. 2030 - Manual page fixes reported by Tony Finch. 2031 203216 September 2009: Wouter 2033 - Fix memory leak reported by Tao Ma. 2034 - Fix memstats test tool for log-time-ascii log format. 2035 203615 September 2009: Wouter 2037 - iana portlist updated. 2038 203910 September 2009: Wouter 2040 - increased MAXSYSLOGLEN so .bg key can be printed in debug output. 2041 - use linebuffering for log-file: output, this can be significantly 2042 faster than the previous fflush method and enable some class of 2043 resolvers to use high verbosity (for short periods). 2044 Not on windows, because line buffering does not work there. 2045 20469 September 2009: Wouter 2047 - Fix bug where DNSSEC-bogus messages were marked with too high TTL. 2048 The RRsets would still expire at the normal time, but this would 2049 keep messages bogus in the cache for too long. 2050 - regression test for that bug. 2051 - documented that load_cache is meant for debugging. 2052 20538 September 2009: Wouter 2054 - fixup printing errors when load_cache, they were printed to the 2055 SSL connection which broke, now to the log. 2056 - new ldns - with fixed parse of large SOA values. 2057 20587 September 2009: Wouter 2059 - autotrust testbound scenarios. 2060 - autotrust fix that failure count is written to file. 2061 - autotrust fix that keys may become valid after add holddown time 2062 alone, before the probe returns. 2063 20644 September 2009: Wouter 2065 - Changes to make unbound work with libevent-2.0.3 alpha. (in 2066 configure detection due to new ssl dependency in libevent) 2067 - do not call sphinx for documentation when python is disabled. 2068 - remove EV_PERSIST from libevent timeout code to make the code 2069 compatible with the libevent-2.0. Works with older libevent too. 2070 - fix memory leak in python code. 2071 20723 September 2009: Wouter 2073 - Got a patch from Luca Bruno for libunbound support on windows to 2074 pick up the system resolvconf nameservers and hosts there. 2075 - included ldns updated (enum warning fixed). 2076 - makefile fix for parallel makes. 2077 - Patch from Zdenek Vasicek and Attila Nagy for using the source IP 2078 from python scripts. See pythonmod/examples/resip.py. 2079 - doxygen comment fixes. 2080 20812 September 2009: Wouter 2082 - TRAFFIC keyword for testbound. Simplifies test generation. 2083 ${range lower val upper} to check probe timeout values. 2084 - test with 5011-prepublish rollover and revocation. 2085 - fix revocation of RR for autotrust, stray exclamation mark. 2086 20871 September 2009: Wouter 2088 - testbound variable arithmetic. 2089 - autotrust probe time is randomised. 2090 - autotrust: the probe is active and does not fetch from cache. 2091 209231 August 2009: Wouter 2093 - testbound variable processing. 2094 209528 August 2009: Wouter 2096 - fixup unbound-control lookup to print forward and stub servers. 2097 209827 August 2009: Wouter 2099 - autotrust: mesh answer callback is empty. 2100 210126 August 2009: Wouter 2102 - autotrust probing. 2103 - iana portlist updated. 2104 210525 August 2009: Wouter 2106 - fixup memleak in trust anchor unsupported algorithm check. 2107 - iana portlist updated. 2108 - autotrust options: add-holddown, del-holddown, keep-missing. 2109 - autotrust store revoked status of trust points. 2110 - ctime_r compat definition. 2111 - detect yylex_destroy() in configure. 2112 - detect SSL_get_compression_methods declaration in configure. 2113 - fixup DS lookup at anchor point with unsigned parent. 2114 - fixup DLV lookup for DS queries to unsigned domains. 2115 211624 August 2009: Wouter 2117 - cleaner memory allocation on exit. autotrust test routines. 2118 - free all memory on program exit, fix for ssl and flex. 2119 212021 August 2009: Wouter 2121 - autotrust: debug routines. Read,write and conversions work. 2122 212320 August 2009: Wouter 2124 - autotrust: save and read trustpoint variables. 2125 212619 August 2009: Wouter 2127 - autotrust: state table updates. 2128 - iana portlist updated. 2129 213017 August 2009: Wouter 2131 - autotrust: process events. 2132 213317 August 2009: Wouter 2134 - Fix so that servers are only blacklisted if they fail to reply 2135 to 16 queries in a row and the timeout gets above 2 minutes. 2136 - autotrust work, split up DS verification of DNSKEYs. 2137 213814 August 2009: Wouter 2139 - unbound-control lookup prints out infra cache information, like RTT. 2140 - Fix bug in DLV lookup reported by Amanda from Secure64. 2141 It could sometimes wrongly classify a domain as unsigned, which 2142 does not give the AD bit on replies. 2143 214413 August 2009: Wouter 2145 - autotrust read anchor files. locked trust anchors. 2146 214712 August 2009: Wouter 2148 - autotrust import work. 2149 215011 August 2009: Wouter 2151 - Check for openssl compatible with gost if enabled. 2152 - updated unit test for GOST=211 code. 2153 Nicer naming of test files. 2154 - iana portlist updated. 2155 21567 August 2009: Wouter 2157 - call OPENSSL_config() in unbound and unit test so that the 2158 operator can use openssl.cnf for configuration options. 2159 - removed small memory leak from config file reader. 2160 21616 August 2009: Wouter 2162 - configure --enable-gost for GOST support, experimental 2163 implementation of draft-dolmatov-dnsext-dnssec-gost-01. 2164 - iana portlist updated. 2165 - ldns tarball updated (with GOST support). 2166 21675 August 2009: Wouter 2168 - trunk moved to 1.3.4. 2169 21704 August 2009: Wouter 2171 - Added test that the examples from draft rsasha256-14 verify. 2172 - iana portlist updated. 2173 - tagged 1.3.3 2174 21753 August 2009: Wouter 2176 - nicer warning when algorithm not supported, tells you to upgrade. 2177 - iana portlist updated. 2178 217927 July 2009: Wouter 2180 - Updated unbound-cacti contribution from Dmitriy Demidov, with 2181 the queue statistics displayed in its own graph. 2182 - iana portlist updated. 2183 218422 July 2009: Wouter 2185 - Fix bug found by Michael Tokarev where unbound would try to 2186 prime the root servers even though forwarders are configured for 2187 the root. 2188 - tagged 1.3.3rc1 2189 219021 July 2009: Wouter 2191 - Fix server selection, so that it waits for open target queries when 2192 faced with lameness. 2193 219420 July 2009: Wouter 2195 - Ignore transient sendto errors, no route to host, and host, net down. 2196 - contrib/update-anchor.sh has -r option for root-hints. 2197 - feature val-log-level: 1 prints validation failures so you can 2198 keep track of them during dnssec deployment. 2199 220016 July 2009: Wouter 2201 - fix replacement malloc code. Used in crosscompile. 2202 - makedist -w creates crosscompiled setup.exe on fedora11. 2203 220415 July 2009: Wouter 2205 - dependencies for compat items, for crosscompile. 2206 - mingw32 crosscompile changes, dependencies and zipfile creation. 2207 and with System.dll from the windows NSIS you can make setup.exe. 2208 - package libgcc_s_sjlj exception handler for NSISdl.dll. 2209 221014 July 2009: Wouter 2211 - updated ldns tarball for solaris x64 compile assistance. 2212 - no need to define RAND_MAX from config.h. 2213 - iana portlist updated. 2214 - configure changes and ldns update for mingw32 crosscompile. 2215 221613 July 2009: Wouter 2217 - Fix for crash at start on windows. 2218 - tag for release 1.3.2. 2219 - trunk has version 1.3.3. 2220 - Fix for ID bits on windows to use all 16. RAND_MAX was not 2221 defined like you'd expect on mingw. Reported by Mees de Roo. 2222 22239 July 2009: Wouter 2224 - tag for release 1.3.1. 2225 - trunk has version 1.3.2. 2226 22277 July 2009: Wouter 2228 - iana portlist updated. 2229 22306 July 2009: Wouter 2231 - prettier error handling in SSL setup. 2232 - makedist.sh uname fix (same as ldns). 2233 - updated fedora spec file. 2234 22353 July 2009: Wouter 2236 - fixup linking when ldnsdir is "". 2237 223830 June 2009: Wouter 2239 - more lenient truncation checks. 2240 224129 June 2009: Wouter 2242 - ldns trunk r2959 imported as tarball, because of solaris cc compile 2243 support for c99. r2960 for better configure. 2244 - better wrongly_truncated check. 2245 - On Linux, fragment IPv6 datagrams to the IPv6 minimum MTU, to 2246 avoid dropped packets at routers. 2247 224826 June 2009: Wouter 2249 - Fix EDNS fallback when EDNS works for short answers but long answers 2250 are dropped. 2251 225222 June 2009: Wouter 2253 - fixup iter priv strict aliasing while preserving size of sockaddr. 2254 - iana portlist updated. (one less port allocated, one more fraction 2255 of a bit for security!) 2256 - updated fedora specfile in contrib from Paul Wouters. 2257 225819 June 2009: Wouter 2259 - Fixup strict aliasing warning in iter priv code. 2260 and config_file code. 2261 - iana portlist updated. 2262 - harden-referral-path: handle cases where NS is in answer section. 2263 226418 June 2009: Wouter 2265 - Fix of message parse bug where (specifically) an NSEC and RRSIG 2266 in the wrong order would be parsed, but put wrongly into internal 2267 structures so that later validation would fail. 2268 - Extreme lenience for wrongly truncated replies where a positive 2269 reply has an NS in the authority but no signatures. They are 2270 turned into minimal responses with only the (secure) answer. 2271 - autoconf 2.63 for configure. 2272 - python warnings suppress. Keep python API away from header files. 2273 227417 June 2009: Wouter 2275 - CREDITS entry for cz.nic, sponsoring a 'summer of code' that was 2276 used for the python code in unbound. (http://www.nic.cz/vip/ in cz). 2277 227816 June 2009: Wouter 2279 - Fixup opportunistic target query generation to it does not 2280 generate queries that are known to fail. 2281 - Touchup on munin total memory report. 2282 - messages picked out of the cache by the iterator are checked 2283 if their cname chain is still correct and if validation status 2284 has to be reexamined. 2285 228615 June 2009: Wouter 2287 - iana portlist updated. 2288 228914 June 2009: Wouter 2290 - Fixed bug where cached responses would lose their security 2291 status on second validation, which especially impacted dlv 2292 lookups. Reported by Hauke Lampe. 2293 229413 June 2009: Wouter 2295 - bug #254. removed random whitespace from example.conf. 2296 229712 June 2009: Wouter 2298 - Fixup potential wrong NSEC picked out of the cache. 2299 - If unfulfilled callbacks are deleted they are called with an error. 2300 - fptr wlist checks for mesh callbacks. 2301 - fwd above stub in configuration works. 2302 230311 June 2009: Wouter 2304 - Fix queries for type DS when forward or stub zones are there. 2305 They are performed to higherup domains, and thus treated as if 2306 going to higher zones when looking up the right forward or stub 2307 server. This makes a stub pointing to a local server that has 2308 a local view of example.com signed with the same keys as are 2309 publicly used work. Reported by Johan Ihren. 2310 - Added build-unbound-localzone-from-hosts.pl to contrib, from 2311 Dennis DeDonatis. It converts /etc/hosts into config statements. 2312 - same thing fixed for forward-zone and DS, chain of trust from 2313 public internet into the forward-zone works now. Added unit test. 2314 23159 June 2009: Wouter 2316 - openssl key files are opened apache-style, when user is root and 2317 before chrooting. This makes permissions on remote-control key 2318 files easier to set up. Fixes bug #251. 2319 - flush_type and flush_name remove msg cache entries. 2320 - codereview - dp copy bogus setting fix. 2321 23228 June 2009: Wouter 2323 - Removed RFC5011 REVOKE flag support. Partial 5011 support may cause 2324 inadvertant behaviour. 2325 - 1.3.0 tarball for release created. 2326 - 1.3.1 development in svn trunk. 2327 - iana portlist updated. 2328 - fix lint from complaining on ldns/sha.h. 2329 - help compiler figure out aliasing in priv_rrset_bad() routine. 2330 - fail to configure with python if swig is not found. 2331 - unbound_munin_ in contrib uses ps to show rss if sbrk does not work. 2332 23333 June 2009: Wouter 2334 - fixup bad free() when wrongly encoded DSA signature is seen. 2335 Reported by Paul Wouters. 2336 - review comments from Matthijs. 2337 23382 June 2009: Wouter 2339 - --enable-sha2 option. The draft rsasha256 changed its algorithm 2340 numbers too often. Therefore it is more prudent to disable the 2341 RSASHA256 and RSASHA512 support by default. 2342 - ldns trunk included as new tarball. 2343 - recreated the 1.3.0 tag in svn. rc1 tarball generated at this point. 2344 234529 May 2009: Wouter 2346 - fixup doc bug in README reported by Matthew Dempsky. 2347 234828 May 2009: Wouter 2349 - update iana port list 2350 - update ldns lib tarball 2351 235227 May 2009: Wouter 2353 - detect lack of IPv6 support on XP (with a different error code). 2354 - Fixup a crash-on-exit which was triggered by a very long queue. 2355 Unbound would try to re-use ports that came free, but this is 2356 of course not really possible because everything is deleted. 2357 Most easily triggered on XP (not Vista), maybe because of the 2358 network stack encouraging large messages backlogs. 2359 - change in debug statements. 2360 - Fixed bug that could cause a crash if root prime failed when there 2361 were message backlogs. 2362 236326 May 2009: Wouter 2364 - Thanks again to Brett Carr, found an assertion that was not true. 2365 Assertion checked if recursion parent query still existed. 2366 236729 April 2009: Wouter 2368 - Thanks to Brett Carr, caught windows resource leak, use 2369 closesocket() and not close() on sockets or else the network stack 2370 starts to leak handles. 2371 - Removed usage of windows Mutex because windows cannot handle enough 2372 mutexes open. Provide own mutex implementation using primitives. 2373 237428 April 2009: Wouter 2375 - created svn tag for 1.3.0. 2376 237727 April 2009: Wouter 2378 - optimised cname from cache. 2379 - ifdef windows functions in testbound. 2380 238123 April 2009: Wouter 2382 - fix for threadsafety in solaris thr_key_create() in tests. 2383 - iana portlist updated. 2384 - fix pylib test for Darwin. 2385 - fix pymod test for Darwin and a python threading bug in pymod init. 2386 - check python >= 2.4 in configure. 2387 - -ldl check for libcrypto 1.0.0beta. 2388 238921 April 2009: Wouter 2390 - fix for build outside sourcedir. 2391 - fix for configure script swig detection. 2392 239317 April 2009: Wouter 2394 - Fix reentrant in minievent handler for unix. Could have resulted 2395 in spurious event callbacks. 2396 - timers do not take up a fd slot for winsock handler. 2397 - faster fix for winsock reentrant check. 2398 - fix rsasha512 unit test for new (interim) algorithm number. 2399 - fix test:ldns doesn't like DOS line endings in keyfiles on unix. 2400 - fix compile warning on ubuntu (configlexer fwrite return value). 2401 - move python include directives into CPPFLAGS instead of CFLAGS. 2402 240316 April 2009: Wouter 2404 - winsock event handler exit very quickly on signal, even if 2405 under heavy load. 2406 - iana portlist updated. 2407 - fixup windows winsock handler reentrant problem. 2408 240914 April 2009: Wouter 2410 - bug #245: fix munin plugin, perform cleanup of stale lockfiles. 2411 - makedist.sh; better help text. 2412 - cache-min-ttl option and tests. 2413 - mingw detect error condition on TCP sockets (NOTCONN). 2414 24159 April 2009: Wouter 2416 - Fix for removal of RSASHA256_NSEC3 protonumber from ldns. 2417 - ldns tarball updated. 2418 - iana portlist update. 2419 - detect GOST support in openssl-1.0.0-beta1, and fix compile problem 2420 because that openssl defines the name STRING for itself. 2421 24226 April 2009: Wouter 2423 - windows compile fix. 2424 - Detect FreeBSD jail without ipv6 addresses assigned. 2425 - python libunbound wrapper unit test. 2426 - installs the following files. Default is to not build them. 2427 from configure --with-pythonmodule: 2428 /usr/lib/python2.x/site-packages/unboundmodule.py 2429 from configure --with-pyunbound: 2430 /usr/lib/python2.x/site-packages/unbound.py 2431 /usr/lib/python2.x/site-packages/_unbound.so* 2432 The example python scripts (pythonmod/examples and 2433 libunbound/python/examples) are not installed. 2434 - python invalidate routine respects packed rrset ids and locks. 2435 - clock skew checks in unbound, config statements. 2436 - nxdomain ttl considerations in requirements.txt 2437 24383 April 2009: Wouter 2439 - Fixed a bug that caused messages to be stored in the cache too 2440 long. Hard to trigger, but NXDOMAINs for nameservers or CNAME 2441 targets have been more vulnerable to the TTL miscalculation bug. 2442 - documentation test fixed for python addition. 2443 24442 April 2009: Wouter 2445 - pyunbound (libunbound python plugin) compiles using libtool. 2446 - documentation for pythonmod and pyunbound is generated in doc/html. 2447 - iana portlist updated. 2448 - fixed bug in unbound-control flush_zone where it would not flush 2449 every message in the target domain. This especially impacted 2450 NXDOMAIN messages which could remain in the cache regardless. 2451 - python module test package. 2452 24531 April 2009: Wouter 2454 - suppress errors when trying to contact authority servers that gave 2455 ipv6 AAAA records for their nameservers with ipv4 mapped contents. 2456 Still tries to do so, could work when deployed in intranet. 2457 Higher verbosity shows the error. 2458 - new libunbound calls documented. 2459 - pyunbound in libunbound/python. Removed compile warnings. 2460 Makefile to make it. 2461 246230 March 2009: Wouter 2463 - Fixup LDFLAGS from libevent sourcedir compile configure restore. 2464 - Fixup so no non-absolute rpaths are added. 2465 - Fixup validation of RRSIG queries, they are let through. 2466 - read /dev/random before chroot 2467 - checkconf fix no python checks when no python module enabled. 2468 - fix configure, pthread first, so other libs do not change outcome. 2469 247027 March 2009: Wouter 2471 - nicer -h output. report linked libraries and modules. 2472 - prints modules in intuitive order (config file friendly). 2473 - python compiles easily on BSD. 2474 247526 March 2009: Wouter 2476 - ignore swig varargs warnings with gcc. 2477 - remove duplicate example.conf text from python example configs. 2478 - outofdir compile fix for python. 2479 - pyunbound works. 2480 - print modules compiled in on -h. manpage. 2481 248225 March 2009: Wouter 2483 - initial import of the python contribution from Zdenek Vasicek and 2484 Marek Vavrusa. 2485 - pythonmod in Makefile; changes to remove warnings/errors for 1.3.0. 2486 248724 March 2009: Wouter 2488 - more neat configure.ac. Removed duplicate config.h includes. 2489 - neater config.h.in. 2490 - iana portlist updated. 2491 - fix util/configlexer.c and solaris -std=c99 flag. 2492 - fix postcommit aclocal errors. 2493 - spaces stripped. Makefile cleaner, /usr omitted from -I, -L, -R. 2494 - swap order of host detect and libtool generation. 2495 249623 March 2009: Wouter 2497 - added launchd plist example file for MacOSX to contrib. 2498 - deprecation test for daemon(3). 2499 - moved common configure actions to m4 include, prettier Makefile. 2500 250120 March 2009: Wouter 2502 - bug #239: module-config entries order is important. Documented. 2503 - build fix for test asynclook. 2504 250519 March 2009: Wouter 2506 - winrc/README.txt dos-format text file. 2507 - iana portlist updated. 2508 - use _beginthreadex() when available (performs stack alignment). 2509 - defaults for windows baked into configure.ac (used if on mingw). 2510 251118 March 2009: Wouter 2512 - Added tests, unknown algorithms become insecure. fallback works. 2513 - Fix for and test for unknown algorithms in a trust anchor 2514 definition. Trust anchors with no supported algos are ignored. 2515 This means a (higher)DS or DLV entry for them could succeed, and 2516 otherwise they are treated as insecure. 2517 - domain-insecure: "example.com" statement added. Sets domain 2518 insecure regardless of chain of trust DSs or DLVs. The inverse 2519 of a trust-anchor. 2520 252117 March 2009: Wouter 2522 - unit test for unsupported algorithm in anchor warning. 2523 - fixed so queries do not fail on opportunistic target queries. 2524 252516 March 2009: Wouter 2526 - fixup diff error printout in contrib/update-itar.sh. 2527 - added contrib/unbound_cacti for statistics support in cacti, 2528 contributed by Dmitriy Demidov. 2529 253013 March 2009: Wouter 2531 - doxygen and lex/yacc on linux. 2532 - strip update-anchor on makedist -w. 2533 - fix testbound on windows. 2534 - default log to syslog for windows. 2535 - uninstaller can stop unbound - changed text on it to reflect that. 2536 - remove debugging from windows 'cron' actions. 2537 253812 March 2009: Wouter 2539 - log to App.logs on windows prints executable identity. 2540 - fixup tests. 2541 - munin plugin fix benign locking error printout. 2542 - anchor-update for windows, called every 24 hours; unbound reloads. 2543 254411 March 2009: Wouter 2545 - winsock event handler resets WSAevents after signalled. 2546 - winsock event handler tests if signals are really signalled. 2547 - install and service with log to file works on XP and Vista on 2548 default install location. 2549 - on windows logging to the Application logbook works (as a service). 2550 - fix RUN_DIR on windows compile setting in makedist. 2551 - windows registry has Software\Unbound\ConfigFile element. 2552 If does not exist, the default is used. The -c switch overrides it. 2553 - fix makedist version cleanup function. 2554 255510 March 2009: Wouter 2556 - makedist -w strips out old rc.. and snapshot info from version. 2557 - setup.exe starts and stops unbound after install, before uninstall. 2558 - unbound-checkconf recognizes absolute pathnames on windows (C:...). 2559 25609 March 2009: Wouter 2561 - Nullsoft NSIS installer creation script. 2562 25635 March 2009: Wouter 2564 - fixup memory leak introduced on 18feb in mesh reentrant fix. 2565 25663 March 2009: Wouter 2567 - combined icon with 16x16(4) 32x32(4) 48x48(8) 64x64(8). 2568 - service works on xp/vista, no config necessary (using defaults). 2569 - windows registry settings. 2570 25712 March 2009: Wouter 2572 - fixup --export-symbols to be -export-symbls for libtool. 2573 This should fix extraneous symbols exported from libunbound. 2574 Thanks to Ondrej Sury and Robert Edmonds for finding it. 2575 - iana portlist updated. 2576 - document FAQ entry on stub/forward zones and default blocking. 2577 - fix asynclook test app for libunbound not exporting symbols. 2578 - service install and remove utils that work with vista UAC. 2579 258027 February 2009: Wouter 2581 - Fixup lexer, to not give warnings about fwrite. Appeared in 2582 new lexer features. 2583 - makedistro functionality for mingw. Has RC support. 2584 - support spaces and backslashes in configured defaults paths. 2585 - register, deregister in service control manager. 2586 258725 February 2009: Wouter 2588 - windres usage for application resources. 2589 259024 February 2009: Wouter 2591 - isc moved their dlv key download location. 2592 - fixup warning on vista/mingw. 2593 - makedist -w for window zip distribution first version. 2594 259520 February 2009: Wouter 2596 - Fixup contrib/update-itar.sh, the exit codes 1 and 0 were swapped. 2597 Nicer script layout. Added url to site in -h output. 2598 259919 February 2009: Wouter 2600 - unbound-checkconf and unbound print warnings when trust anchors 2601 have unsupported algorithms. 2602 - added contrib/update-itar.sh This script is similar to 2603 update-anchor.sh, and updates from the IANA ITAR repository. 2604 You can provide your own PGP key and trust repo, or can use the 2605 builtin. The program uses wget and gpg to work. 2606 - iana portlist updated. 2607 - update-itar.sh: using ftp:// urls because https godaddy certificate 2608 is not available everywhere and then gives fatal errors. The 2609 security is provided by pgp signature. 2610 261118 February 2009: Wouter 2612 - more cycle detection. Also for target queries. 2613 - fixup bug where during deletion of the mesh queries the callbacks 2614 that were reentrant caused assertion failures. Keep the mesh in 2615 a reentrant safe state. Affects libunbound, reload of server, 2616 on quit and flush_requestlist. 2617 - iana portlist updated. 2618 261913 February 2009: Wouter 2620 - forwarder information now per-thread duplicated. 2621 This keeps it read only for speed, with no locking necessary. 2622 - forward command for unbound control to change forwarders to use 2623 on the fly. 2624 - document that unbound-host reads no config file by default. 2625 - updated iana portlist. 2626 262712 February 2009: Wouter 2628 - call setusercontext if available (on BSD). 2629 - small refactor of stats clearing. 2630 - #227: flush_stats feature for unbound-control. 2631 - stats_noreset feature for unbound-control. 2632 - flush_requestlist feature for unbound-control. 2633 - libunbound version upped API (was changed 5 feb). 2634 - unbound-control status shows if root forwarding is in use. 2635 - slightly nicer memory management in iter-fwd code. 2636 263710 February 2009: Wouter 2638 - keys with rfc5011 REVOKE flag are skipped and not considered when 2639 validating data. 2640 - iana portlist updated 2641 - #226: dump_requestlist feature for unbound-control. 2642 26436 February 2009: Wouter 2644 - contrib contains specfile for fedora 1.2.1 (from Paul Wouters). 2645 - iana portlist updated. 2646 - fixup EOL in include directive (reported by Paul Wouters). 2647 You can no longer specify newlines in the names of included files. 2648 - config parser changed. Gives some syntax errors closer to where they 2649 occurred. Does not enforce a space after keyword anymore. 2650 Does not allow literal newlines inside quoted strings anymore. 2651 - verbosity level 5 logs customer IP for new requestlist entries. 2652 - test fix, lexer and cancel test. 2653 - new option log-time-ascii: yes if you enable it prints timestamps 2654 in the log file as Feb 06 13:45:26 (like syslog does). 2655 - detect event_base_new in libevent-1.4.1 and later and use it. 2656 - #231 unbound-checkconf -o option prints that value from config file. 2657 Useful for scripting in management scripts and the like. 2658 26595 February 2009: Wouter 2660 - ldns 1.5.0 rc as tarball included. 2661 - 1.3.0 development continues: 2662 change in libunbound API: ub_cancel can return an error, that 2663 the async_id did not exist, or that it was already delivered. 2664 The result could have been delivered just before the cancel 2665 routine managed to acquire the lock, so a caller may get the 2666 result at the same time they call cancel. For this case, 2667 ub_cancel tries to return an error code. 2668 Fixes race condition in ub_cancel() libunbound function. 2669 - MacOSX Leopard cleaner text output from configure. 2670 - initgroups(3) is called to drop secondary group permissions, if 2671 applicable. 2672 - configure option --with-ldns-builtin forces the use of the 2673 inluded ldns package with the unbound source. The -I include 2674 is put before the others, so it avoids bad include files from 2675 an older ldns install. 2676 - daemon(3) posix call is used when available. 2677 - testbound test for older fix added. 2678 26794 February 2009: Wouter 2680 - tag for release 1.2.1. 2681 - trunk setup for 1.3.0 development. 2682 26833 February 2009: Wouter 2684 - noted feature requests in doc/TODO. 2685 - printout more detailed errors on ssl certificate loading failures. 2686 - updated IANA portlist. 2687 268816 January 2009: Wouter 2689 - more quiet about ipv6 network failures, i.e. when ipv6 is not 2690 available (network unreachable). Debug still printed on high 2691 verbosity. 2692 - unbound-host -4 and -6 options. Stops annoying ipv6 errors when 2693 debugging with unbound-host -4 -d ... 2694 - more cycle detection for NS-check, addr-check, root-prime and 2695 stub-prime queries in the iterator. Avoids possible deadlock 2696 when priming fails. 2697 269815 January 2009: Wouter 2699 - bug #229: fixup configure checks for compilation with Solaris 2700 Sun cc compiler, ./configure CC=/opt/SUNWspro/bin/cc 2701 - fixup suncc warnings. 2702 - fix bug where unbound could crash using libevent 1.3 and older. 2703 - update testset for recent retry change. 2704 270514 January 2009: Wouter 2706 - 1.2.1 feature: negative caching for failed queries. 2707 Queries that failed are cached for 5 seconds (NORR_TTL). 2708 If the failure is local, like out of memory, it is not cached. 2709 - the TTL comparison for the cache used different comparisons, 2710 causing many cache responses that used the iterator and validator 2711 state machines unnecessarily. 2712 - retry from 4 to 5 so that EDNS drop retry is part of the first 2713 query resolve attempt, and cached error does not stop EDNS fallback. 2714 - remove debug prints that protect against bad referrals. 2715 - honor QUIET=no on make commandline (or QUIET=yes ). 2716 271713 January 2009: Wouter 2718 - fixed bug in lameness marking, removed printouts. 2719 - find NS rrset more cleanly for qtype NS. 2720 - Moved changes to 1.2.0 for release. Thanks to Mark Zealey for 2721 reporting and logs. 2722 - 1.2.1 feature: stops resolving AAAAs promiscuously when they 2723 are in the negative cache. 2724 272512 January 2009: Wouter 2726 - fixed bug in infrastructure lameness cache, did not lowercase 2727 name of zone to hash when setting lame. 2728 - lameness debugging printouts. 2729 27309 January 2009: Wouter 2731 - created svn tag for 1.2.0 release. 2732 - svn trunk contains 1.2.1 version number. 2733 - iana portlist updated for todays list. 2734 - removed debug print. 2735 27368 January 2009: Wouter 2737 - new version of ldns-trunk (today) included as tarball, fixed 2738 bug #224, building with -j race condition. 2739 - remove possible race condition in the test for race conditions. 2740 27417 January 2009: Wouter 2742 - version 1.2.0 in preparation. 2743 - feature to allow wildcards (*, ?, [], {}. ~) in trusted-keys-file 2744 statements. (Adapted from patch by Paul Wouters). 2745 - typo fix and iana portlist updated. 2746 - porting testsuite; unused var warning, and type fixup. 2747 27486 January 2009: Wouter 2749 - fixup packet-of-death when compiled with --enable-debug. 2750 A malformed packet could cause an internal assertion failure. 2751 - added test for HINFO canonicalisation behaviour. 2752 - fixup reported problem with transparent local-zone data where 2753 queries with different type could get nxdomain. Now queries 2754 with a different name get resolved normally, with different type 2755 get a correct NOERROR/NODATA answer. 2756 - HINFO no longer downcased for validation, making unbound compatible 2757 with bind and ldns. 2758 - fix reading included config files when chrooted. 2759 Give full path names for include files. 2760 Relative path names work if the start dir equals the working dir. 2761 - fix libunbound message transport when no packet buffer is available. 2762 27635 January 2009: Wouter 2764 - fixup getaddrinfo failure handling for remote control port. 2765 - added L.ROOT-SERVERS.NET. AAAA 2001:500:3::42 to builtin root hints. 2766 - fixup so it works with libev-3.51 from http://dist.schmorp.de/libev/ 2767 - comm_timer_set performs base_set operation after event_add. 2768 276918 December 2008: Wouter 2770 - fixed bug reported by Duane Wessels: error in DLV lookup, would make 2771 some zones that had correct DLV keys as insecure. 2772 - follows -rc makedist from ldns changes (no _rc). 2773 - ldns tarball updated with 1.4.1rc for DLV unit test. 2774 - verbose prints about recursion lame detection and server selection. 2775 - fixup BSD port for infra host storage. It hashed wrongly. 2776 - fixup makedist snapshot name generation. 2777 - do not reopen syslog to avoid dev/log dependency. 2778 277917 December 2008: Wouter 2780 - follows ldns makedist.sh. -rc option. autom4te dir removed. 2781 - unbound-control status command. 2782 - extended statistics has a number of ipv6 queries counter. 2783 contrib/unbound_munin_ was updated to draw ipv6 in the hits graph. 2784 278516 December 2008: Wouter 2786 - follow makedist improvements from ldns, for maintainers prereleases. 2787 - snapshot version uses _ not - to help rpm distinguish the 2788 version number. 2789 279011 December 2008: Wouter 2791 - better fix for bug #219: use LOG_NDELAY with openlog() call. 2792 Thanks to Tamas Tevesz. 2793 27949 December 2008: Wouter 2795 - bug #221 fixed: unbound checkconf checks if key files exist if 2796 remote control is enabled. Also fixed NULL printf when not chrooted. 2797 - iana portlist updated. 2798 27993 December 2008: Wouter 2800 - Fix problem reported by Jaco Engelbrecht where unbound-control stats 2801 freezes up unbound if this was compiled without threading, and 2802 was using multiple processes. 2803 - iana portlist updated. 2804 - test for remote control with interprocess communication. 2805 - created command distribution mechanism so that remote control 2806 commands other than 'stats' work on all processes in a nonthreaded 2807 compiled version. dump/load cache work, on the first process. 2808 - fixup remote control local_data addition memory corruption bug. 2809 28101 December 2008: Wouter 2811 - SElinux policy files in contrib/selinux for the unbound daemon, 2812 by Paul Wouters and Adam Tkac. 2813 281425 November 2008: Wouter 2815 - configure complains when --without-ssl is given (bug #220). 2816 - skip unsupported feature tests on vista/mingw. 2817 - fixup testcode/streamtcp to work on vista/mingw. 2818 - root-hints test checks version of dig required. 2819 - blacklisted servers are polled at a low rate (1%) to see if they 2820 come back up. But not if there is some other working server. 2821 282224 November 2008: Wouter 2823 - document that the user of the server daemon needs read privileges 2824 on the keys and certificates generated by unbound-control-setup. 2825 This is different per system or distribution, usually, running the 2826 script under the same username as the server uses suffices. 2827 i.e. sudo -u unbound unbound-control-setup 2828 - testset port to vista/mingw. 2829 - tcp_sigpipe to freebsd port. 2830 283121 November 2008: Wouter 2832 - fixed tcp accept, errors were printed when they should not. 2833 - unbound-control-setup.sh removes read/write permissions other 2834 from the keys it creates (as suggested by Dmitriy Demidov). 2835 283620 November 2008: Wouter 2837 - fixup fatal error due to faulty error checking after tcp accept. 2838 - add check in rlimit to avoid integer underflow. 2839 - rlimit check with new formula; better estimate for number interfaces 2840 - nicer comments in rlimit check. 2841 - tag 1.1.1 created in svn. 2842 - trunk label is 1.1.2 2843 284419 November 2008: Wouter 2845 - bug #219: fixed so that syslog which delays opening until the first 2846 log line is written, gets a log line while not chroot'ed yet. 2847 284818 November 2008: Wouter 2849 - iana portlist updated. 2850 - removed cast in unit test debug print that was not 64bit safe. 2851 - trunk back to 1.1.0; copied to tags 1.1.0 release. 2852 - trunk to has version number 1.1.1 again. 2853 - in 1.1.1; make clean nicer. grammar in manpage. 2854 285517 November 2008: Wouter 2856 - theoretical fix for problems reported on mailing list. 2857 If a delegation point has no A but only AAAA and do-ip6 is no, 2858 resolution would fail. Fixed to ask for the A and AAAA records. 2859 It has to ask for both always, so that it can fail quietly, from 2860 TLD perspective, when a zone is only reachable on one transport. 2861 - test for above, only AAAA and doip6 is no. Fix causes A record 2862 for nameserver to be fetched. 2863 - fixup address duplication on cache fillup for delegation points. 2864 - testset updated for new query answer requirements. 2865 286614 November 2008: Wouter 2867 - created 1.1.0 release tag in svn. 2868 - trunk moved to 1.1.1 2869 - fixup unittest-neg for locking. 2870 287113 November 2008: Wouter 2872 - added fedora init and specfile to contrib (by Paul Wouters). 2873 - added configure check for ldns 1.4.0 (using its compat funcs). 2874 - neater comments in worker.h. 2875 - removed doc/plan and updated doc/TODO. 2876 - silenced EHOSTDOWN (verbosity 2 or higher to see it). 2877 - review comments from Jelte, Matthijs. Neater code. 2878 287912 November 2008: Wouter 2880 - add unbound-control manpage to makedist replace list. 2881 288211 November 2008: Wouter 2883 - unit test for negative cache, stress tests the refcounting. 2884 - fix for refcounting error that could cause fptr_wlist fatal exit 2885 in the negative cache rbtree (upcoming 1.1 feature). (Thanks to 2886 Attila Nagy for testing). 2887 - nicer comments in cachedump about failed RR to string conversion. 2888 - fix 32bit wrap around when printing large (4G and more) mem usage 2889 for extended statistics. 2890 289110 November 2008: Wouter 2892 - fixup the getaddrinfo compat code rename. 2893 28948 November 2008: Wouter 2895 - added configure check for eee build warning. 2896 28977 November 2008: Wouter 2898 - fix bug 217: fixed, setreuid and setregid do not work on MacOSX10.4. 2899 - detect nonblocking problems in network stack in configure script. 2900 29016 November 2008: Wouter 2902 - dname_priv must decompress the name before comparison. 2903 - iana portlist updated. 2904 29055 November 2008: Wouter 2906 - fixed possible memory leak in key_entry_key deletion. 2907 Would leak a couple bytes when trust anchors were replaced. 2908 - if query and reply qname overlap, the bytes are skipped not copied. 2909 - fixed file descriptor leak when messages were jostled out that 2910 had outstanding (TCP) replies. 2911 - DNAMEs used from cache have their synthesized CNAMEs initialized 2912 properly. 2913 - fixed file descriptor leak for localzone type deny (for TCP). 2914 - fixed memleak at exit for nsec3 negative cached zones. 2915 - fixed memleak for the keyword 'nodefault' when reading config. 2916 - made verbosity of 'edns incapable peer' warning higher, so you 2917 do not get spammed by it. 2918 - caught elusive Bad file descriptor error bug, that would print the 2919 error while unnecessarily try to listen to a closed fd. Fixed. 2920 29214 November 2008: Wouter 2922 - fixed -Wwrite-strings warnings that result in better code. 2923 29243 November 2008: Wouter 2925 - fixup build process for Mac OSX linker, use ldns b32 compat funcs. 2926 - generated configure with autoconf-2.61. 2927 - iana portlist updated. 2928 - detect if libssl needs libdl. For static linking with libssl. 2929 - changed to use new algorithm identifiers for sha256/sha512 2930 from ldns 1.4.0 (need very latest version). 2931 - updated the included ldns tarball. 2932 - proper detection of SHA256 and SHA512 functions (not just sizes). 2933 293423 October 2008: Wouter 2935 - a little more debug info for failure on signer names. prints names. 2936 293722 October 2008: Wouter 2938 - CFLAGS are picked up by configure from the environment. 2939 - iana portlist updated. 2940 - updated ldns to use 1.4.0-pre20081022 so it picks up CFLAGS too. 2941 - new stub-prime: yesno option. Default is off, so it does not prime. 2942 can be turned on to get same behaviour as previous unbound release. 2943 - made automated test that checks if builtin root hints are uptodate. 2944 - finished draft-wijngaards-dnsext-resolver-side-mitigation 2945 implementation. The unwanted-reply-threshold can be set. 2946 - fixup so fptr_whitelist test in alloc.c works. 2947 294821 October 2008: Wouter 2949 - fix update-anchors.sh, so it does not report different RR order 2950 as an update. Sorts the keys in the file. Updated copyright. 2951 - fixup testbound on windows, the command control pipe doesn't exist. 2952 - skip 08hostlib test on windows, no fork() available. 2953 - made unbound-remote work on windows. 2954 295520 October 2008: Wouter 2956 - quench a log message that is debug only. 2957 - iana portlist updated. 2958 - do not query bogus nameservers. It is like nameservers that have 2959 the NS or A or AAAA record bogus are listed as donotquery. 2960 - if server selection is faced with only bad choices, it will 2961 attempt to get more options to be fetched. 2962 - changed bogus-ttl default value from 900 to 60 seconds. 2963 In anticipation that operator caused failures are more likely than 2964 actual attacks at this time. And thus repeated validation helps 2965 the operators get the problem fixed sooner. It makes validation 2966 failures go away sooner (60 seconds after the zone is fixed). 2967 Also it is likely to try different nameserver targets every minute, 2968 so that if a zone is bad on one server but not another, it is 2969 likely to pick up the 'correct' one after a couple minutes, 2970 and if the TTL is big enough that solves validation for the zone. 2971 - fixup unbound-control compilation on windows. 2972 297317 October 2008: Wouter 2974 - port Leopard/G5: fixup type conversion size_t/uint32. 2975 please ranlib, stop file without symbols warning. 2976 - harden referral path now also validates the root after priming. 2977 It looks up the root NS authoritatively as well as the root servers 2978 and attemps to validate the entries. 2979 298016 October 2008: Wouter 2981 - Fixup negative TTL values appearing (reported by Attila Nagy). 2982 298315 October 2008: Wouter 2984 - better documentation for 0x20; remove fallback TODO, it is done. 2985 - harden-referral-path feature includes A, AAAA queries for glue, 2986 as well as very careful NS caching (only when doing NS query). 2987 A, AAAA use the delegation from the NS-query. 2988 298914 October 2008: Wouter 2990 - fwd_three.tpkg test was flaky. If the three requests hit the 2991 wrong threads by chance (or bad OS) then the test would fail. 2992 Made less flaky by increasing number of retries. 2993 - stub_udp.tpkg changed to work, give root hints. fixed ldns_dname_abs. 2994 - ldns tarball is snapshot of ldns r2759 (1.4.0-pre-20081014). 2995 Which includes the ldns_dname_absolute fix. 2996 - fwd_three test remains flaky now that unbound does not stop 2997 listening when full. Thus, removed timeout problem. 2998 It may be serviced by three threads, or maybe by one. 2999 Mostly only useful for lock-check testing now. 3000 300113 October 2008: Wouter 3002 - fixed recursion servers deployed as authoritative detection, so 3003 that as a last resort, a +RD query is sent there to get the 3004 correct answer. 3005 - iana port list update. 3006 - ldns tarball is snapshot of ldns r2759 (1.4.0-pre-20081013). 3007 300810 October 2008: Wouter 3009 - fixup tests - the negative cache contained the correct NSEC3s for 3010 two tests that are supposed to fail to validate. 3011 30129 October 2008: Wouter 3013 - negative cache caps max iterations of NSEC3 done. 3014 - NSEC3 negative cache for qtype DS works. 3015 30168 October 2008: Wouter 3017 - NSEC negative cache for DS. 3018 30196 October 2008: Wouter 3020 - jostle-timeout option, so you can config for slow links. 3021 - 0x20 fallback code. Tries 3xnumber of nameserver addresses 3022 queries that must all be the same. Sent to random nameservers. 3023 - documented choices for DoS, EDNS, 0x20. 3024 30252 October 2008: Wouter 3026 - fixup unlink of pidfile. 3027 - fixup SHA256 algorithm collation code. 3028 - contrib/update-anchor.sh does not overwrite anchors if not needed. 3029 exits 0 when a restart is needed, other values if not. 3030 so, update-anchor.sh -d mydir && /etc/rc.d/unbound restart 3031 can restart unbound exactly when needed. 3032 303330 September 2008: Wouter 3034 - fixup SHA256 DS downgrade, no longer possible to downgrade to SHA1. 3035 - tests for sha256 support and downgrade resistance. 3036 - RSASHA256 and RSASHA512 support (using the draft in dnsext), 3037 using the drafted protocol numbers. 3038 - when using stub on localhost (127.0.0.1@10053) unbound works. 3039 Like when running NSD to host a local zone, on the same machine. 3040 The noprime feature. manpages more explanation. Added a test for it. 3041 - shorthand for reverse PTR, local-data-ptr: "1.2.3.4 www.ex.com" 3042 304329 September 2008: Wouter 3044 - EDNS lameness detection, if EDNS packets are dropped this is 3045 detected, eventually. 3046 - multiple query timeout rtt backoff does not backoff too much. 3047 304826 September 2008: Wouter 3049 - tests for remote-control. 3050 - small memory leak in exception during remote control fixed. 3051 - fixup for lock checking but not unchecking in remote control. 3052 - iana portlist updated. 3053 305423 September 2008: Wouter 3055 - Msg cache is loaded. A cache load enables cache responses. 3056 - unbound-control flush [name], flush_type and flush_zone. 3057 305822 September 2008: Wouter 3059 - dump_cache and load_cache statements in unbound-control. 3060 RRsets are dumped and loaded correctly. 3061 Msg cache is dumped. 3062 306319 September 2008: Wouter 3064 - locking on the localdata structure. 3065 - add and remove local zone and data with unbound-control. 3066 - ldns trunk snapshot updated, make tests work again. 3067 306818 September 2008: Wouter 3069 - fixup error in time calculation. 3070 - munin plugin improvements. 3071 - nicer abbreviations for high query types values (ixfr, axfr, any...) 3072 - documented the statistics output in unbound-control man page. 3073 - extended statistics prints out histogram, over unbound-control. 3074 307517 September 2008: Wouter 3076 - locking for threadsafe bogus rrset counter. 3077 - ldns trunk no longer exports b32 functions, provide compat. 3078 - ldns tarball updated. 3079 - testcode/ldns-testpkts.c const fixups. 3080 - fixed rcode stat printout. 3081 - munin plugin in contrib. 3082 - stats always printout uptime, because stats plugins need it. 3083 308416 September 2008: Wouter 3085 - extended-statistics: yesno config option. 3086 - unwanted replies spoof nearmiss detector. 3087 - iana portlist updated. 3088 308915 September 2008: Wouter 3090 - working start, stop, reload commands for unbound-control. 3091 - test for unbound-control working; better exit value for control. 3092 - verbosity control via unbound-control. 3093 - unbound-control stats. 3094 309512 September 2008: Wouter 3096 - removed browser control mentions. Proto speccy. 3097 309811 September 2008: Wouter 3099 - set nonblocking on new TCP streams, because linux does not inherit 3100 the socket options to the accepted socket. 3101 - fix TCP timeouts. 3102 - SSL protected connection between server and unbound-control. 3103 310410 September 2008: Wouter 3105 - remove memleak in privacy addresses on reloads and quits. 3106 - remote control work. 3107 31089 September 2008: Wouter 3109 - smallapp/unbound-control-setup.sh script to set up certificates. 3110 31114 September 2008: Wouter 3112 - scrubber scrubs away private addresses. 3113 - test for private addresses. man page entry. 3114 - code refactored for name and address tree lookups. 3115 31163 September 2008: Wouter 3117 - options for 'DNS Rebinding' protection: private-address and 3118 private-domain. 3119 - dnstree for reuse of routines that help with domain, addr lookups. 3120 - private-address and private-domain config option read, stored. 3121 31222 September 2008: Wouter 3123 - DoS protection features. Queries are jostled out to make room. 3124 - testbound can pass time, increasing the internal timer. 3125 - do not mark unsigned additionals bogus, leave unchecked, which 3126 is removed too. 3127 31281 September 2008: Wouter 3129 - disallow nonrecursive queries for cache snooping by default. 3130 You can allow is using access-control: <subnet> allow_snoop. 3131 The defaults do allow access no authoritative data without RD bit. 3132 - two tests for it and fixups of tests for nonrec refused. 3133 313429 August 2008: Wouter 3135 - version 1.1 number in trunk. 3136 - harden-referral-path option for query for NS records. 3137 Default turns off expensive, experimental option. 3138 313928 August 2008: Wouter 3140 - fixup logfile handling; it is created with correct permissions 3141 again. (from bugfix#199). 3142 Some errors are not written to logfile (pidfile writing, forking), 3143 and these are only visible by using the -d commandline flag. 3144 314527 August 2008: Wouter 3146 - daemon(3) is causing problems for people. Reverting the patch. 3147 bug#200, and 199 and 203 contain sideline discussion on it. 3148 - bug#199 fixed: pidfile can be outside chroot. openlog is done before 3149 chroot and drop permissions. 3150 - config option to set size of aggressive negative cache, 3151 neg-cache-size. 3152 - bug#203 fixed: dlv has been implemented. 3153 315426 August 2008: Wouter 3155 - test for insecure zone when DLV is in use, also does negative cache. 3156 - test for trustanchor when DLV is in use (the anchor works). 3157 - test for DLV used for a zone below a trustanchor. 3158 - added scrub filter for overreaching NSEC records and unit test. 3159 - iana portlist update 3160 - use of setresuid or setreuid when available. 3161 - use daemon(3) if available. 3162 316325 August 2008: Wouter 3164 - realclean patch from Robert Edmonds. 3165 316622 August 2008: Wouter 3167 - nicer debuglogging of DLV. 3168 - test with secure delegation inside the DLV repository. 3169 317021 August 2008: Wouter 3171 - negative cache code linked into validator, for DLV use. 3172 negative cache works for DLV. 3173 - iana portlist update. 3174 - dlv-anchor option for unit tests. 3175 - fixup NSEC_AT_APEX classification for short typemaps. 3176 - ldns-testns has subdomain checks, for unit tests. 3177 317820 August 2008: Wouter 3179 - negative cache code, reviewed. 3180 318118 August 2008: Wouter 3182 - changes info: in logfile to notice: info: or debug: depending on 3183 the verbosity of the statements. Better logfile message 3184 classification. 3185 - bug #208: extra rc.d unbound flexibility for freebsd/nanobsd. 3186 318715 August 2008: Wouter 3188 - DLV nsec code fixed for better detection of closest existing 3189 enclosers from NSEC responses. 3190 - DLV works, straight to the dlv repository, so not for production. 3191 - Iana port update. 3192 319314 August 2008: Wouter 3194 - synthesize DLV messages from the rrset cache, like done for DS. 3195 319613 August 2008: Wouter 3197 - bug #203: nicer do-auto log message when user sets incompatible 3198 options. 3199 - bug #204: variable name ameliorated in log.c. 3200 - bug #206: in iana_update, no egrep, but awk use. 3201 - ldns snapshot r2699 taken (includes DLV type). 3202 - DLV work, config file element, trust anchor read in. 3203 320412 August 2008: Wouter 3205 - finished adjusting testset to provide qtype NS answers. 3206 320711 August 2008: Wouter 3208 - Fixup rrset security updates overwriting 2181 trust status. 3209 This makes validated to be insecure data just as worthless as 3210 nonvalidated data, and 2181 rules prevent cache overwrites to them. 3211 - Fix assertion fail on bogus key handling. 3212 - dnssec lameness detection works on first query at trust apex. 3213 - NS queries get proper cache and dnssec lameness treatment. 3214 - fixup compilation without pthreads on linux. 3215 32168 August 2008: Wouter 3217 - NS queries are done after every referral. 3218 validator is used on those NS records (if anchors enabled). 3219 32207 August 2008: Wouter 3221 - Scrubber more strict. CNAME chains, DNAMEs from cache, other 3222 irrelevant rrsets removed. 3223 - 1.0.2 released from 1.0 support branch. 3224 - fixup update-anchor.sh to work both in BSD shell and bash. 3225 32265 August 2008: Wouter 3227 - fixup DS test so apex nodata works again. 3228 32294 August 2008: Wouter 3230 - iana port update. 3231 - TODO update. 3232 - fix bug 201: null ptr deref on cleanup while udp pkts wait for port. 3233 - added explanatory text for outgoing-port-permit in manpage. 3234 323530 July 2008: Wouter 3236 - fixup bug qtype DS for unsigned zone and signed parent validation. 3237 323825 July 2008: Wouter 3239 - added original copyright statement of OpenBSD arc4random code. 3240 - created tube signaling solution on windows, as a pipe replacement. 3241 this makes background asynchronous resolution work on windows. 3242 - removed very insecure socketpair compat code. It also did not 3243 work with event_waiting. Solved by pipe replacement. 3244 - unbound -h prints openssl version number as well. 3245 324622 July 2008: Wouter 3247 - moved pipe actions to util/tube.c. easier porting and shared code. 3248 - check _raw() commpoint callbacks with fptr_wlist. 3249 - iana port update. 3250 325121 July 2008: Wouter 3252 - #198: nicer entropy warning message. manpage OS hints. 3253 325419 July 2008: Wouter 3255 - #198: fixup man page to suggest chroot entropy fix. 3256 325718 July 2008: Wouter 3258 - branch for 1.0 support. 3259 - trunk work on tube.c. 3260 326117 July 2008: Wouter 3262 - fix bug #196, compile outside source tree. 3263 - fix bug #195, add --with-username=user configure option. 3264 - print error and exit if started with config that requires more 3265 fds than the builtin minievent can handle. 3266 326716 July 2008: Wouter 3268 - made svn tag 1.0.1, trunk now 1.0.2 3269 - sha256 checksums enabled in makedist.sh 3270 327115 July 2008: Wouter 3272 - Follow draft-ietf-dnsop-default-local-zones-06 added reverse 3273 IPv6 example prefix to AS112 default blocklist. 3274 - fixup lookup of DS records by client with trustanchor for same. 3275 - libunbound ub_resolve, fix handling of error condition during setup. 3276 - lowered log_hex blocksize to fit through BSD syslog linesize. 3277 - no useless initialisation if getpwnam not available. 3278 - iana, ldns snapshot updated. 3279 32803 July 2008: Wouter 3281 - Matthijs fixed memory leaks in root hints file reading. 3282 328326 June 2008: Wouter 3284 - fixup streamtcp bounds setting for udp mode, in the test framework. 3285 - contrib item for updating trust anchors. 3286 328725 June 2008: Wouter 3288 - fixup fwd_ancil test typos. 3289 - Fix for newegg lameness : ok for qtype=A, but lame for others. 3290 - fixup unit test for infra cache, test lame merging. 3291 - porting to mingw, bind, listen, getsockopt and setsockopt error 3292 handling. 3293 329424 June 2008: Wouter 3295 - removed testcode/checklocks from production code compilation path. 3296 - streamtcp can use UDP mode (connected UDP socket), for testing IPv6 3297 on windows. 3298 - fwd_ancil test fails if platform support is lacking. 3299 330023 June 2008: Wouter 3301 - fixup minitpkg to cleanup on windows with its file locking troubles. 3302 - minitpkg shows skipped tests in report. 3303 - skip ipv6 tests on ipv4 only hosts (requires only ipv6 localhost not 3304 ipv6 connectivity). 3305 - winsock event handler keeps track of sticky TCP events, that have 3306 not been fully handled yet. when interest in the event(s) resumes, 3307 they are sent again. When WOULDBLOCK is returned events are cleared. 3308 - skip tests that need signals when testing on mingw. 3309 331018 June 2008: Wouter 3311 - open testbound replay files in binary mode, because fseek/ftell 3312 do not work in ascii-mode on windows. The b does nothing on unix. 3313 unittest and testbound tests work on windows (xp too). 3314 - ioctlsocket prints nicer error message. 3315 - fixed up some TCP porting for winsock. 3316 - lack of IPv6 gives a warning, no fatal error. 3317 - use WSAGetLastError() on windows instead of errno for some errors. 3318 331917 June 2008: Wouter 3320 - outgoing num fds 32 by default on windows ; it supports less 3321 fds for waiting on than unixes. 3322 - winsock_event minievent handler for windows. (you could also 3323 attempt to link with libevent/libev ports for windows). 3324 - neater crypto check and gdi32 detection. 3325 - unbound.exe works to resolve and validate www.nlnetlabs.nl on vista. 3326 332716 June 2008: Wouter 3328 - on windows, use windows threads, mutex and thread-local-storage(Tls). 3329 - detect if openssl needs gdi32. 3330 - if no threading, THREADS_DISABLED is defined for use in the code. 3331 - sets USE_WINSOCK if using ws2_32 on windows. 3332 - wsa_strerror() function for more readable errors. 3333 - WSA Startup and Cleanup called in unbound.exe. 3334 333513 June 2008: Wouter 3336 - port mingw32, more signal ifdefs, detect sleep, usleep, 3337 random, srandom (used inside the tests). 3338 - signed or unsigned FD_SET is cast. 3339 334010 June 2008: Wouter 3341 - fixup warnings compiling on eeepc xandros linux. 3342 33439 June 2008: Wouter 3344 - in iteration response type code 3345 * first check for SOA record (negative answer) before NS record 3346 and lameness. 3347 * check if no AA bit for non-forwarder, and thus lame zone. 3348 In response to error report by Richard Doty for mail.opusnet.com. 3349 - fixup unput warning from lexer on freeBSD. 3350 - bug#183. pidfile, rundir, and chroot configure options. Also the 3351 example.conf and manual pages get the configured defaults. 3352 You can use: (or accept the defaults to /usr/local/etc/unbound/) 3353 --with-conf-file=filename 3354 --with-pidfile=filename 3355 --with-run-dir=path 3356 --with-chroot-dir=path 3357 33588 June 2008: Wouter 3359 - if multiple CNAMEs, use the first one. Fixup akamai CNAME bug. 3360 Reported by Robert Edmonds. 3361 - iana port updated. 3362 33634 June 2008: Wouter 3364 - updated libtool files with newer version. 3365 - iana portlist updated. 3366 33673 June 2008: Wouter 3368 - fixup local-zone: "30.172.in-addr.arpa." nodefault, so that the 3369 trailing dot is not used during comparison. 3370 33712 June 2008: Wouter 3372 - Jelte fixed bugs in my absence 3373 - bug 178: fixed unportable shell usage in configure (relied on 3374 bash shell). 3375 - bug 180: fixed buffer overflow in unbound-checkconf use of strncat. 3376 - bug 181: fixed buffer overflow in ldns (called by unbound to parse 3377 config file parts). 3378 - fixes by Wouter 3379 - bug 177: fixed compilation failure on opensuse, the 3380 --disable-static configure flag caused problems. (Patch from 3381 Klaus Singvogel) 3382 - bug 179: same fix as 177. 3383 - bug 185: --disable-shared not passed along to ldns included with 3384 unbound. Fixed so that configure parameters are passed to the 3385 subdir configure script. 3386 fixed that ./libtool is used always, you can still override 3387 manually with ./configure libtool=mylibtool or set $libtool in 3388 the environment. 3389 - update of the ldns tarball to current ldns svn version (fix 181). 3390 - bug 184: -r option for unbound-host, read resolv.conf for 3391 forwarder. (Note that forwarder must support DNSSEC for validation 3392 to succeed). 3393 339423 May 2008: Wouter 3395 - mingw32 porting. 3396 - test for sys/wait.h 3397 - WSAEWOULDBLOCK test after nonblocking TCP connect. 3398 - write_iov_buffer removed: unused and no struct iov on windows. 3399 - signed/unsigned warning fixup mini_event. 3400 - use ioctlsocket to set nonblocking I/O if fnctl is unavailable. 3401 - skip signals that are not defined 3402 - detect pwd.h. 3403 - detect getpwnam, getrlimit, setsid, sbrk, chroot. 3404 - default config has no chroot if chroot() unavailable. 3405 - if no kill() then no pidfile is read or written. 3406 - gmtime_r is replaced by nonthreadsafe alternative if unavail. 3407 used in rrsig time validation errors. 3408 340922 May 2008: Wouter 3410 - contrib unbound.spec from Patrick Vande Walle. 3411 - fixup bug#175: call tzset before chroot to have correct timestamps 3412 in system log. 3413 - do not generate lex input and lex unput functions. 3414 - mingw port. replacement functions labelled _unbound. 3415 - fix bug 174 - check for tcp_sigpipe that ldns-testns is installed. 3416 341719 May 2008: Wouter 3418 - fedora 9, check in6_pktinfo define in configure. 3419 - CREDITS fixup of history. 3420 - ignore ldns-1.2.2 if installed, use builtin 1.3.0-pre alternative. 3421 342216 May 2008: Wouter 3423 - fixup for MacOSX hosts file reading (reported by John Dickinson). 3424 - created 1.0.0 svn tag. 3425 - trunk version 1.0.1. 3426 342714 May 2008: Wouter 3428 - accepted patch from Ondrej Sury for library version libtool option. 3429 - configure --disable-rpath fixes up libtool for rpath trouble. 3430 Adapted from debian package patch file. 3431 343213 May 2008: Wouter 3433 - Added root ipv6 addresses to builtin root hints. 3434 - TODO modified for post 1.0 plans. 3435 - trunk version set to 1.0.0. 3436 - no unnecessary linking with librt (only when libevent/libev used). 3437 34387 May 2008: Wouter 3439 - fixup no-ip4 problem with error callback in outside network. 3440 344125 April 2008: Wouter 3442 - DESTDIR is honored by the Makefile for rpms. 3443 - contrib files unbound.spec and unbound.init, builds working RPM 3444 on FC7 Linux, a chrooted caching resolver, and libunbound. 3445 - iana ports update. 3446 344724 April 2008: Wouter 3448 - chroot checks improved. working directory relative to chroot. 3449 checks if config file path is inside chroot. Documentation on it. 3450 - nicer example.conf text. 3451 - created 0.11 tag. 3452 345323 April 2008: Wouter 3454 - parseunbound.pl contrib update from Kai Storbeck for threads. 3455 - iana ports update 3456 345722 April 2008: Wouter 3458 - ignore SIGPIPE. 3459 - unit test for SIGPIPE ignore. 3460 346121 April 2008: Wouter 3462 - FEATURES document. 3463 - fixup reread of config file if it was given as a full path 3464 and chroot was used. 3465 346616 April 2008: Wouter 3467 - requirements doc, updated clean query returns. 3468 - parseunbound.pl update from Kai Storbeck. 3469 - sunos4 porting changes. 3470 347115 April 2008: Wouter 3472 - fixup default rc.d pidfile location to /usr/local/etc. 3473 - iana ports updated. 3474 - copyright updated in ldns-testpkts to keep same as in ldns. 3475 - fixup checkconf chroot tests a bit more, chdir must be inside 3476 chroot dir. 3477 - documented 'gcc: unrecognized -KPIC option' errors on Solaris. 3478 - example.conf values changed to /usr/local/etc/unbound 3479 - DSA test work. 3480 - DSA signatures: unbound is compatible with both encodings found. 3481 It will detect and convert when necessary. 3482 348314 April 2008: Wouter 3484 - got update for parseunbound.pl statistics script from Kai Storbeck. 3485 - tpkg tests for udp wait list. 3486 - documented 0x20 status. 3487 - fixup chroot and checkconf, it is much smarter now. 3488 - fixup DSA EVP signature decoding. Solution that Jelte found copied. 3489 - and check first sig byte for the encoding type. 3490 349111 April 2008: Wouter 3492 - random port selection out of the configged ports. 3493 - fixup threadsafety for libevent-1.4.3+ (event_base_get_method). 3494 - removed base_port. 3495 - created 256-port ephemeral space for the OS, 59802 available. 3496 - fixup consistency of port_if out array during heavy use. 3497 349810 April 2008: Wouter 3499 - --with-libevent works with latest libevent 1.4.99-trunk. 3500 - added log file statistics perl script to contrib. 3501 - automatic iana ports update from makefile. 60058 available. 3502 35039 April 2008: Wouter 3504 - configure can detect libev(from its build directory) when passed 3505 --with-libevent=/home/wouter/libev-3.2 3506 libev-3.2 is a little faster than libevent-1.4.3-stable (about 5%). 3507 - unused commpoints not listed in epoll list. 3508 - statistics-cumulative option so that the values are not reset. 3509 - config creates array of available ports, 61841 available, 3510 it excludes <1024 and iana assigned numbers. 3511 config statements to modify the available port numbers. 3512 35138 April 2008: Wouter 3514 - unbound tries to set the ulimit fds when started as server. 3515 if that does not work, it will scale back its requirements. 3516 351727 March 2008: Wouter 3518 - documented /dev/random symlink from chrootdir as FAQ entry. 3519 352026 March 2008: Wouter 3521 - implemented AD bit signaling. If a query sets AD bit (but not DO) 3522 then the AD bit is set in the reply if the answer validated. 3523 Without including DNSSEC signatures. Useful if you have a trusted 3524 path from the client to the resolver. Follows dnssec-updates draft. 3525 352625 March 2008: Wouter 3527 - implemented check that for NXDOMAIN and NOERROR answers a query 3528 section must be present in the reply (by the scrubber). And it must 3529 be equal to the question sent, at least lowercase folded. 3530 Previously this feature happened because the cache code refused 3531 to store such messages. However blocking by the scrubber makes 3532 sure nothing gets into the RRset cache. Also, this looks like a 3533 timeout (instead of an allocation failure) and this retries are 3534 done (which is useful in a spoofing situation). 3535 - RTT banding. Band size 400 msec, this makes band around zero (fast) 3536 include unknown servers. This makes unbound explore unknown servers. 3537 35387 March 2008: Wouter 3539 - -C config feature for harvest program. 3540 - harvest handles CNAMEs too. 3541 35425 March 2008: Wouter 3543 - patch from Hugo Koji Kobayashi for iterator logs spelling. 3544 35454 March 2008: Wouter 3546 - From report by Jinmei Tatuya, rfc2181 trust value for remainder 3547 of a cname trust chain is lower; not full answer_AA. 3548 - test for this fix. 3549 - default config file location is /usr/local/etc/unbound. 3550 Thus prefix is used to determine the location. This is also the 3551 chroot and pidfile default location. 3552 35533 March 2008: Wouter 3554 - Create 0.10 svn tag. 3555 - 0.11 version in trunk. 3556 - indentation nicer. 3557 355829 February 2008: Wouter 3559 - documentation update. 3560 - fixup port to Solaris of perf test tool. 3561 - updated ldns-tarball with decl-after-statement fixes. 3562 356328 February 2008: Wouter 3564 - fixed memory leaks in libunbound (during cancellation and wait). 3565 - libunbound returns the answer packet in full. 3566 - snprintf compat update. 3567 - harvest performs lookup. 3568 - ldns-tarball update with fix for ldns_dname_label. 3569 - installs to sbin by default. 3570 - install all manual pages (unbound-host and libunbound too). 3571 357227 February 2008: Wouter 3573 - option to use caps for id randomness. 3574 - config file option use-caps-for-id: yes 3575 - harvest debug tool 3576 357726 February 2008: Wouter 3578 - delay utility delays TCP as well. If the server that is forwarded 3579 to has a TCP error, the delay utility closes the connection. 3580 - delay does REUSE_ADDR, and can handle a server that closes its end. 3581 - answers use casing from query. 3582 358325 February 2008: Wouter 3584 - delay utility works. Gets decent thoughput too (>20000). 3585 358622 February 2008: Wouter 3587 - +2% for recursions, if identical queries (except for destination 3588 and query ID) in the reply list, avoid re-encoding the answer. 3589 - removed TODO items for optimizations that do not show up in 3590 profile reports. 3591 - default is now minievent - not libevent. As its faster and 3592 not needed for regular installs, only for very large port ranges. 3593 - loop check different speedup pkt-dname-reading, 1% faster for 3594 nocache-recursion check. 3595 - less hashing during msg parse, 4% for recursion. 3596 - small speed fix for dname_count_size_labels, +1 or +2% recursion. 3597 - some speed results noted: 3598 optimization resulted in +40% for recursion (cache miss) and 3599 +70 to +80 for cache hits, and +96% for version.bind. 3600 zone nsec3 example, 100 NXDOMAIN queries, NSD 35182.8 Ub 36048.4 3601 www.nlnetlabs.nl from cache: BIND 8987.99 Ub 31218.3 3602 www with DO bit set : BIND 8269.31 Ub 28735.6 qps. 3603 So, unbound can be about equal qps to NSD in cache hits. 3604 And about 3.4x faster than BIND in cache performance. 3605 - delay utility for testing. 3606 360721 February 2008: Wouter 3608 - speedup of root-delegation message encoding by 15%. 3609 - minor speedup of compress tree_lookup, maybe 1%. 3610 - speedup of dname_lab_cmp and memlowercmp - the top functions in 3611 profiler output, maybe a couple percent when it matters. 3612 361320 February 2008: Wouter 3614 - setup speec_cache for need-ldns-testns in dotests. 3615 - check number of queued replies on incoming queries to avoid overload 3616 on that account. 3617 - fptr whitelist checks are not disabled in optimize mode. 3618 - do-daemonize config file option. 3619 - minievent time share initializes time at start. 3620 - updated testdata for nsec3 new algorithm numbers (6, 7). 3621 - small performance test of packet encoding (root delegation). 3622 362319 February 2008: Wouter 3624 - applied patch to unbound-host man page from Jan-Piet Mens. 3625 - fix donotquery-localhost: yes default (it erroneously was switched 3626 to default 'no'). 3627 - time is only gotten once and the value is shared across unbound. 3628 - unittest cleans up crypto, so that it has no memory leaks. 3629 - mini_event shares the time value with unbound this results in 3630 +3% speed for cache responses and +9% for recursions. 3631 - ldns tarball update with new NSEC3 sign code numbers. 3632 - perform several reads per UDP operation. This improves performance 3633 in DoS conditions, and costs very little in normal conditions. 3634 improves cache response +50%, and recursions +10%. 3635 - modified asynclook test. because the callback from async is not 3636 in any sort of lock (and thus can use all library functions freely), 3637 this causes a tiny race condition window when the last lock is 3638 released for a callback and a new cancel() for that callback. 3639 The only way to remove this is by putting callbacks into some 3640 lock window. I'd rather have the small possibility of a callback 3641 for a cancelled function then no use of library functions in 3642 callbacks. Could be possible to only outlaw process(), wait(), 3643 cancel() from callbacks, by adding another lock, but I'd rather not. 3644 364518 February 2008: Wouter 3646 - patch to unbound-host from Jan-Piet Mens. 3647 - unbound host prints errors if fails to configure context. 3648 - fixup perf to resend faster, so that long waiting requests do 3649 not hold up the queue, they become lost packets or SERVFAILs, 3650 or can be sent a little while later (i.e. processing time may 3651 take long, but throughput has to be high). 3652 - fixup iterator operating in no cache conditions (RD flag unset 3653 after a CNAME). 3654 - streamlined code for RD flag setting. 3655 - profiled code and changed dname compares to be faster. 3656 The speedup is about +3% to +8% (depending on the test). 3657 - minievent tests for eintr and eagain. 3658 365915 February 2008: Wouter 3660 - added FreeBSD rc.d script to contrib. 3661 - --prefix option for configure also changes directory: pidfile: 3662 and chroot: defaults in config file. 3663 - added cache speed test, for cache size OK and cache too small. 3664 366514 February 2008: Wouter 3666 - start without a config file (will complain, but start with 3667 defaults). 3668 - perf test program works. 3669 367013 February 2008: Wouter 3671 - 0.9 released. 3672 - 1.0 development. Printout ldns version on unbound -h. 3673 - start of perf tool. 3674 - bugfix to read empty lines from /etc/hosts. 3675 367612 February 2008: Wouter 3677 - fixup problem with configure calling itself if ldns-src tarball 3678 is not present. 3679 368011 February 2008: Wouter 3681 - changed library to use ub_ instead of ub_val_ as prefix. 3682 - statistics output text nice. 3683 - etc/hosts handling. 3684 - library function to put logging to a stream. 3685 - set any option interface. 3686 36878 February 2008: Wouter 3688 - test program for multiple queries over a TCP channel. 3689 - tpkg test for stream tcp queries. 3690 - unbound replies to multiple TCP queries on a TCP channel. 3691 - fixup misclassification of root referral with NS in answer 3692 when validating a nonrec query. 3693 - tag 0.9 3694 - layout of manpages, spelling fix in header, manpages process by 3695 makedist, list asynclook and tcpstream tests as ldns-testns 3696 required. 3697 36987 February 2008: Wouter 3699 - moved up all current level 2 to be level 3. And 3 to 4. 3700 to make room for new debug level 2 for detailed information 3701 for operators. 3702 - verbosity level 2. Describes recursion and validation. 3703 - cleaner configure script and fixes for libevent solaris. 3704 - signedness for log output memory sizes in high verbosity. 3705 37066 February 2008: Wouter 3707 - clearer explanation of threading configure options. 3708 - fixup asynclook test for nothreading (it creates only one process 3709 to do the extended test). 3710 - changed name of ub_val_result_free to ub_val_resolve_free. 3711 - removes warning message during library linking, renamed 3712 libunbound/unbound.c -> libunbound.c and worker to libworker. 3713 - fallback without EDNS if result is NOTIMPL as well as on FORMERR. 3714 37155 February 2008: Wouter 3716 - statistics-interval: seconds option added. 3717 - test for statistics option 3718 - ignore errors making directories, these can occur in parallel builds 3719 - fixup Makefile strip command and libunbound docs typo. 3720 372131 January 2008: Wouter 3722 - bg thread/process reads and writes the pipe nonblocking all the time 3723 so that even if the pipe is buffered or so, the bg thread does not 3724 block, and services both pipes and queries. 3725 372630 January 2008: Wouter 3727 - check trailing / on chrootdir in checkconf. 3728 - check if root hints and anchor files are in chrootdir. 3729 - no route to host tcp error is verbosity level 2. 3730 - removed unused send_reply_iov. and its configure check. 3731 - added prints of 'remote address is 1.2.3.4 port 53' to errors 3732 from netevent; the basic socket errors. 3733 373428 January 2008: Wouter 3735 - fixup uninit use of buffer by libunbound (query id, flags) for 3736 local_zone answers. 3737 - fixup uninit warning from random.c; also seems to fix sporadic 3738 sigFPE coming out of openssl. 3739 - made openssl entropy warning more silent for library use. Needs 3740 verbosity 1 now. 3741 - fixup forgotten locks for rbtree_searches on ctx->query tree. 3742 - random generator cleanup - RND_STATE_SIZE removed, and instead 3743 a super-rnd can be passed at init to chain init random states. 3744 - test also does lock checks if available. 3745 - protect config access in libworker_setup(). 3746 - libevent doesn't like comm_base_exit outside of runloop. 3747 - close fds after removing commpoints only (for epoll, kqueue). 3748 374925 January 2008: Wouter 3750 - added tpkg for asynclook and library use. 3751 - allows localhost to be queried when as a library. 3752 - fixup race condition between cancel and answer (in case of 3753 really fast answers that beat the cancel). 3754 - please doxygen, put doxygen comment in one place. 3755 - asynclook -b blocking mode and test. 3756 - refactor asynclook, nicer code. 3757 - fixup race problems from opensll in rand init from library, with 3758 a mutex around the rand init. 3759 - fix pass async_id=NULL to _async resolve(). 3760 - rewrote _wait() routine, so that it is threadsafe. 3761 - cancelation is threadsafe. 3762 - asynclook extended test in tpkg. 3763 - fixed two races where forked bg process waits for (somehow shared?) 3764 locks, so does not service the query pipe on the bg side. 3765 Now those locks are only held for fg_threads and for bg_as_a_thread. 3766 376724 January 2008: Wouter 3768 - tested the cancel() function. 3769 - asynclook -c (cancel) feature. 3770 - fix fail to allocate context actions. 3771 - make pipe nonblocking at start. 3772 - update plane for retry mode with caution to limit bandwidth. 3773 - fix Makefile for concurrent make of unbound-host. 3774 - renamed ub_val_ctx_wait/poll/process/fd to ub_val*. 3775 - new calls to set forwarding added to header and docs. 3776 377723 January 2008: Wouter 3778 - removed debug prints from if-auto, verb-algo enables some. 3779 - libunbound QUIT setup, remove memory leaks, when using threads 3780 will share memory for passing results instead of writing it over 3781 the pipe, only writes ID number over the pipe (towards the handler 3782 thread that does process() ). 3783 378422 January 2008: Wouter 3785 - library code for async in libunbound/unbound.c. 3786 - fix link testbound. 3787 - fixup exit bug in mini_event. 3788 - background worker query enter and result functions. 3789 - bg query test application asynclook, it looks up multiple 3790 hostaddresses (A records) at the same time. 3791 379221 January 2008: Wouter 3793 - libworker work, netevent raw commpoints, write_msg, serialize. 3794 379518 January 2008: Wouter 3796 - touch up of manpage for libunbound. 3797 - support for IP_RECVDSTADDR (for *BSD ip4). 3798 - fix for BSD, do not use ip4to6 mapping, make two sockets, once 3799 ip6 and once ip4, uses socket options. 3800 - goodbye ip4to6 mapping. 3801 - update ldns-testpkts with latest version from ldns-trunk. 3802 - updated makedist for relative ldns pathnames. 3803 - library API with more information inside the result structure. 3804 - work on background resolves. 3805 380617 January 2008: Wouter 3807 - fixup configure in case -lldns is installed. 3808 - fixup a couple of doxygen warnings, about enum variables. 3809 - interface-automatic now copies the interface address from the 3810 PKT_INFO structure as well. 3811 - manual page with library API, all on one page 'man libunbound'. 3812 - rewrite of PKTINFO structure, it also captures IP4 PKTINFO. 3813 381416 January 2008: Wouter 3815 - incoming queries to the server with TC bit on are replied FORMERR. 3816 - interface-automatic replied the wrong source address on localhost 3817 queries. Seems to be due to ifnum=0 in recvmsg PKTINFO. Trying 3818 to use ifnum=-1 to mean 'no interface, use kernel route'. 3819 382015 January 2008: Wouter 3821 - interface-automatic feature. experimental. Nice for anycast. 3822 - tpkg test for ip6 ancillary data. 3823 - removed debug prints. 3824 - porting experience, define for Solaris, test refined for BSD 3825 compatibility. The feature probably will not work on OpenBSD. 3826 - makedist fixup for ldns-src in build-dir. 3827 382814 January 2008: Wouter 3829 - in no debug sets NDEBUG to remove asserts. 3830 - configure --enable-debug is needed for dependency generation 3831 for assertions and for compiler warnings. 3832 - ldns.tgz updated with ldns-trunk (where buffer.h is updated). 3833 - fix lint, unit test in optimize mode. 3834 - default access control allows ::ffff:127.0.0.1 v6mapped localhost. 3835 383611 January 2008: Wouter 3837 - man page, warning removed. 3838 - added text describing the use of stub zones for private zones. 3839 - checkconf tests for bad hostnames (IP address), and for doubled 3840 interface lines. 3841 - memory sizes can be given with 'k', 'Kb', or M or G appended. 3842 384310 January 2008: Wouter 3844 - typo in example.conf. 3845 - made using ldns-src that is included the package more portable 3846 by linking with .lo instead of .o files in the ldns package. 3847 - nicer do-ip6: yes/no documentation. 3848 - nicer linking of libevent .o files. 3849 - man pages render correctly on solaris. 3850 38519 January 2008: Wouter 3852 - fixup openssl RAND problem, when the system is not configured to 3853 give entropy, and the rng needs to be seeded. 3854 38558 January 2008: Wouter 3856 - print median and quartiles with extensive logging. 3857 38584 January 2008: Wouter 3859 - document misconfiguration in private network. 3860 38612 January 2008: Wouter 3862 - fixup typo in requirements. 3863 - document that 'refused' is a better choice than 'drop' for 3864 the access control list, as refused will stop retries. 3865 38667 December 2007: Wouter 3867 - unbound-host has a -d option to show what happens. This can help 3868 with debugging (why do I get this answer). 3869 - fixup CNAME handling, on nodata, sets and display canonname. 3870 - dot removed from CNAME display. 3871 - respect -v for NXDOMAINs. 3872 - updated ldns-src.tar.gz with ldns-trunk today (1.2.2 fixes). 3873 - size_t to int for portability of the header file. 3874 - fixup bogus handling. 3875 - dependencies and lint for unbound-host. 3876 38776 December 2007: Wouter 3878 - library resolution works in foreground mode, unbound-host app 3879 receives data. 3880 - unbound-host prints rdata using ldns. 3881 - unbound-host accepts trust anchors, and prints validation 3882 information when you give -v. 3883 38845 December 2007: Wouter 3885 - locking in context_new() inside the function. 3886 - setup of libworker. 3887 38884 December 2007: Wouter 3889 - minor Makefile fixup. 3890 - moved module-stack code out of daemon/daemon into services/modstack, 3891 preparing for code-reuse. 3892 - move context into own header file. 3893 - context query structure. 3894 - removed unused variable pwd from checkconf. 3895 - removed unused assignment from outside netw. 3896 - check timeval length of string. 3897 - fixup error in val_utils getsigner. 3898 - fixup same (*var) error in netblocktostr. 3899 - fixup memleak on parse error in localzone. 3900 - fixup memleak on packet parse error. 3901 - put ; after union in parser.y. 3902 - small hardening in iter_operate against iq==NULL. 3903 - hardening, if error reply with rcode=0 (noerror) send servfail. 3904 - fixup same (*var) error in find_rrset in msgparse, was harmless. 3905 - check return value of evtimer_add(). 3906 - fixup lockorder in lruhash_reclaim(), building up a list of locked 3907 entries one at a time. Instead they are removed and unlocked. 3908 - fptr_wlist for markdelfunc. 3909 - removed is_locked param from lruhash delkeyfunc. 3910 - moved bin_unlock during bin_split purely to please. 3911 39123 December 2007: Wouter 3913 - changed checkconf/ to smallapp/ to make room for more support tools. 3914 (such as unbound-host). 3915 - install dirs created with -m 755 because they need to be accessible. 3916 - library extensive featurelist added to TODO. 3917 - please doxygen, lint. 3918 - library test application, with basic functionality. 3919 - fix for building in a subdirectory. 3920 - link lib fix for Leopard. 3921 392230 November 2007: Wouter 3923 - makefile that creates libunbound.la, basic file or libunbound.a 3924 when creating static executables (no libtool). 3925 - more API setup. 3926 392729 November 2007: Wouter 3928 - 0.9 public API start. 3929 393028 November 2007: Wouter 3931 - Changeup plan for 0.8 - no complication needed, a simple solution 3932 has been chosen for authoritative features. 3933 - you can use single quotes in the config file, so it is possible 3934 to specify TXT records in local data. 3935 - fixup small memory problem in implicit transparent zone creation. 3936 - test for implicit zone creation and multiple RR RRsets local data. 3937 - local-zone nodefault test. 3938 - show testbound testlist on commit. 3939 - iterator normalizer changes CNAME chains ending in NXDOMAIN where 3940 the packet got rcode NXDOMAIN into rcode NOERROR. (since the initial 3941 domain exists). 3942 - nicer verbosity: 0 and 1 levels. 3943 - lower nonRDquery chance of eliciting wrongly typed validation 3944 requiring message from the cache. 3945 - fix for nonRDquery validation typing; nodata is detected when 3946 SOA record in auth section (all validation-requiring nodata messages 3947 have a SOA record in authority, so this is OK for the validator), 3948 and NS record is needed to be a referral. 3949 - duplicate checking when adding NSECs for a CNAME, and test. 3950 - created svn tag 0.8, after completing testbed tests. 3951 395227 November 2007: Wouter 3953 - per suggestion in rfc2308, replaced default max-ttl value with 1 day. 3954 - set size of msgparse lookup table to 32, from 1024, so that its size 3955 is below the 2048 regional large size threshold, and does not cause 3956 a call to malloc when a message is parsed. 3957 - update of memstats tool to print number of allocation calls. 3958 This is what is taking time (not space) and indicates the avg size 3959 of the allocations as well. region_alloc stat is removed. 3960 396122 November 2007: Wouter 3962 - noted EDNS in-the-middle dropping trouble as a TODO. 3963 At this point theoretical, no user trouble has been reported. 3964 - added all default AS112 zones. 3965 - answers from local zone content. 3966 * positive answer, the rrset in question 3967 * nodata answer (exist, but not that type). 3968 * nxdomain answer (domain does not exist). 3969 * empty-nonterminal answer. 3970 * But not: wildcard, nsec, referral, rrsig, cname/dname, 3971 or additional section processing, NS put in auth. 3972 - test for correct working of static and transparent and couple 3973 of important defaults (localhost, as112, reverses). 3974 Also checks deny and refuse settings. 3975 - fixup implicit zone generation and AA bit for NXDOMAIN on localdata. 3976 397721 November 2007: Wouter 3978 - local zone internal data setup. 3979 398020 November 2007: Wouter 3981 - 0.8 - str2list config support for double string config options. 3982 - local-zone and local-data options, config storage and documentation. 3983 398419 November 2007: Wouter 3985 - do not downcase NSEC and RRSIG for verification. Follows 3986 draft-ietf-dnsext-dnssec-bis-updates-06.txt. 3987 - fixup leaking unbound daemons at end of tests. 3988 - README file updated. 3989 - nice libevent not found error. 3990 - README talks about gnu make. 3991 - 0.8: unit test for addr_mask and fixups for it. 3992 and unit test for addr_in_common(). 3993 - 0.8: access-control config file element. 3994 and unit test rpl replay file. 3995 - 0.8: fixup address reporting from netevent. 3996 399716 November 2007: Wouter 3998 - privilege separation is not needed in unbound at this time. 3999 TODO item marked as such. 4000 - created beta-0.7 branch for support. 4001 - tagged 0.7 for beta release. 4002 - moved trunk to 0.8 for 0.8(auth features) development. 4003 - 0.8: access control list setup. 4004 400515 November 2007: Wouter 4006 - review fixups from Jelte. 4007 400814 November 2007: Wouter 4009 - testbed script does not recreate configure, since its in svn now. 4010 - fixup checkconf test so that it does not test 4011 /etc/unbound/unbound.conf. 4012 - tag 0.6. 4013 401413 November 2007: Wouter 4015 - remove debug print. 4016 - fixup testbound exit when LIBEVENT_SIGNAL_PROBLEM exists. 4017 401812 November 2007: Wouter 4019 - fixup signal handling where SIGTERM could be ignored if a SIGHUP 4020 arrives later on. 4021 - bugreports to unbound-bugs@nlnetlabs.nl 4022 - fixup testbound so it exits cleanly. 4023 - cleanup the caches on a reload, so that rrsetID numbers won't clash. 4024 40259 November 2007: Wouter 4026 - took ldns snapshot in repo. 4027 - default config file is /etc/unbound/unbound.conf. 4028 If it doesn't exist, it is installed with the doc/example.conf file. 4029 The file is not deleted on uninstall. 4030 - default listening is not all, but localhost interfaces. 4031 40328 November 2007: Wouter 4033 - Fixup chroot and drop user privileges. 4034 - new L root ip address in default hints. 4035 40361 November 2007: Wouter 4037 - Fixup of crash on reload, due to anchors in env not NULLed after 4038 dealloc during deinit. 4039 - Fixup of chroot call. Happens after privileges are dropped, so 4040 that checking the passwd entry still works. 4041 - minor touch up of clear() hashtable function. 4042 - VERB_DETAIL prints out what chdir, username, chroot is being done. 4043 - when id numbers run out, caches are cleared, as in design notes. 4044 Tested with a mock setup with very few bits in id, it worked. 4045 - harden-dnssec-stripped: yes is now default. It insists on dnssec 4046 data for trust anchors. Included tests for the feature. 4047 404831 October 2007: Wouter 4049 - cache-max-ttl config option. 4050 - building outside sourcedir works again. 4051 - defaults more secure: 4052 username: "unbound" 4053 chroot: "/etc/unbound" 4054 The operator can override them to be less secure ("") if necessary. 4055 - fix horrible oversight in sorting rrset references in a message, 4056 sort per reference key pointer, not on referencepointer itself. 4057 - pidfile: "/etc/unbound/unbound.pid" is now the default. 4058 - tests changed to reflect the updated default. 4059 - created hashtable clear() function that respects locks. 4060 406130 October 2007: Wouter 4062 - fixup assertion failure that relied on compressed names to be 4063 smaller than uncompressed names. A packet from comrite.com was seen 4064 to be compressed to a larger size. Added it as unit test. 4065 - quieter logging at low verbosity level for common tcp messages. 4066 - no greedy TTL update. 4067 406823 October 2007: Wouter 4069 - fixup (grand-)parent problem for dnssec-lameness detection. 4070 - fixup tests to do additional section processing for lame replies, 4071 since the detection needs that. 4072 - no longer trust in query section in reply during dnssec lame detect. 4073 - dnssec lameness does not make the server never ever queried, but 4074 non-preferred. If no other servers exist or answer, the dnssec lame 4075 server is used; the fastest dnssec lame server is chosen. 4076 - added test then when trust anchor cannot be primed (nodata), the 4077 insecure mode from unbound works. 4078 - Fixup max queries per thread, any more are dropped. 4079 408022 October 2007: Wouter 4081 - added donotquerylocalhost config option. Can be turned off for 4082 out test cases. 4083 - ISO C compat changes. 4084 - detect RA-no-AA lameness, as LAME. 4085 - DNSSEC-lameness detection, as LAME. 4086 See notes in requirements.txt for choices made. 4087 - tests for lameness detection. 4088 - added all to make test target; need unbound for fwd tests. 4089 - testbound does not pollute /etc/unbound. 4090 409119 October 2007: Wouter 4092 - added configure (and its files) to svn, so that the trunk is easier 4093 to use. ./configure, config.guess, config.sub, ltmain.sh, 4094 and config.h.in. 4095 - added yacc/lex generated files, util/configlexer.c, 4096 util/configparser.c util/configparser.h, to svn. 4097 - without lex no attempt to use it. 4098 - unsecure response validation collated into one block. 4099 - remove warning about const cast of cfgfile name. 4100 - outgoing-interfaces can be different from service interfaces. 4101 - ldns-src configure is done during unbound configure and 4102 ldns-src make is done during unbound make, and so inherits the 4103 make arguments from the unbound make invocation. 4104 - nicer error when libevent problem causes instant exit on signal. 4105 - read root hints from a root hint file (like BIND does). 4106 410718 October 2007: Wouter 4108 - addresses are logged with errors. 4109 - fixup testcode fake event to remove pending before callback 4110 since the callback may create new pending items. 4111 - tests updated because retries are now in iterator module. 4112 - ldns-testpkts code is checked for differences between unbound 4113 and ldns by makedist.sh. 4114 - ldns trunk from today added in svn repo for fallback in case 4115 no ldns is installed on the system. 4116 make download_ldns refreshes the tarball with ldns svn trunk. 4117 - ldns-src.tar.gz is used if no ldns is found on the system, and 4118 statically linked into unbound. 4119 - start of regional allocator code. 4120 - regional uses less memory and variables, simplified code. 4121 - remove of region-allocator. 4122 - alloc cache keeps a cache of recently released regional blocks, 4123 up to a maximum. 4124 - make unit test cleanly free memory. 4125 412617 October 2007: Wouter 4127 - fixup another cycle detect and ns-addr timeout resolution bug. 4128 This time by refusing delegations from the cache without addresses 4129 when resolving a mandatory-glue nameserver-address for that zone. 4130 We're going to have to ask a TLD server anyway; might as well be 4131 the TLD server for this name. And this resolves a lot of cases where 4132 the other nameserver names lead to cycles or are not available. 4133 - changed random generator from random(3) clone to arc4random wrapped 4134 for thread safety. The random generator is initialised with 4135 entropy from the system. 4136 - fix crash where failure to prime DNSKEY tried to print null pointer 4137 in the log message. 4138 - removed some debug prints, only verb_algo (4) enables them. 4139 - fixup test; new random generator took new paths; such as one 4140 where no scripted answer was available. 4141 - mark insecure RRs as insecure. 4142 - fixup removal of nonsecure items from the additional. 4143 - reduced timeout values to more realistic, 376 msec (262 msec has 4144 90% of roundtrip times, 512 msec has 99% of roundtrip times.) 4145 - server selection failover to next server after timeout (376 msec). 4146 414716 October 2007: Wouter 4148 - no malloc in log_hex. 4149 - assertions around system calls. 4150 - protect against gethostname without ending zero. 4151 - ntop output is null terminated by unbound. 4152 - pidfile content null termination 4153 - various snprintf use sizeof(stringbuf) instead of fixed constant. 4154 - changed loopdetect % 8 with & 0x7 since % can become negative for 4155 weird negative input and particular interpretation of integer math. 4156 - dname_pkt_copy checks length of result, to protect result buffers. 4157 prints an error, this should not happen. Bad strings should have 4158 been rejected earlier in the program. 4159 - remove a size_t underflow from msgreply size func. 4160 416115 October 2007: Wouter 4162 - nicer warning. 4163 - fix IP6 TCP, wrong definition check. With test package. 4164 - fixup the fact that the query section was not compressed to, 4165 the code was there but was called by value instead of by reference. 4166 And test for the case, uses xxd and nc. 4167 - more portable ip6 check for sockaddr types. 4168 41698 October 2007: Wouter 4170 - --disable-rpath option in configure for 64bit systems with 4171 several dynamic lib dirs. 4172 41737 October 2007: Wouter 4174 - fixup tests for no AD bit in non-DO queries. 4175 - test that makes sure AD bit is not set on non-DO query. 4176 41776 October 2007: Wouter 4178 - removed logfile open early. It did not have the proper permissions; 4179 it was opened as root instead of the user. And we cannot change user 4180 id yet, since chroot and bind ports need to be done. 4181 - callback checks for event callbacks done from mini_event. Because 4182 of deletions cannot do this from netevent. This means when using 4183 libevent the protection does not work on event-callbacks. 4184 - fixup too small reply (did not zero counts). 4185 - fixup reply no longer AD bit when query without DO bit. 4186 41875 October 2007: Wouter 4188 - function pointer whitelist. 4189 41904 October 2007: Wouter 4191 - overwrite sensitive random seed value after use. 4192 - switch to logfile very soon if not -d (console attached). 4193 - error messages do not reveal the trustanchor contents. 4194 - start work on function pointer whitelists. 4195 41963 October 2007: Wouter 4197 - fix for multiple empty nonterminals, after multiple DSes in the 4198 chain of trust. 4199 - mesh checks if modules are looping, and stops them. 4200 - refetch with CNAMEd nameserver address regression test added. 4201 - fixup line count bug in testcode, so testbound prints correct line 4202 number with parse errors. 4203 - unit test for multiple ENT case. 4204 - fix for cname out of validated unsec zone. 4205 - fixup nasty id=0 reuse. Also added assertions to detect its 4206 return (the assertion catches in the existing test cases). 4207 42081 October 2007: Wouter 4209 - skip F77, CXX, objC tests in configure step. 4210 - fixup crash in refetch glue after a CNAME. 4211 and protection against similar failures (with error print). 4212 421328 September 2007: Wouter 4214 - test case for unbound-checkconf, fixed so it also checks the 4215 interface: statements. 4216 421726 September 2007: Wouter 4218 - SIGHUP will reopen the log file. 4219 - Option to log to syslog. 4220 - please lint, fixup tests (that went to syslog on open, oops). 4221 - config check program. 4222 422325 September 2007: Wouter 4224 - tests for NSEC3. Fixup bitmap checks for NSEC3. 4225 - positive ANY response needs to check if wildcard expansion, and 4226 check that original data did not exist. 4227 - tests for NSEC3 that wrong use of OPTOUT is bad. For insecure 4228 delegation, for abuse of child zone apex nsec3. 4229 - create 0.5 release tag. 4230 423124 September 2007: Wouter 4232 - do not make test programs by default. 4233 - But 'make test' will perform all of the tests. 4234 - Advertise builtin select libevent alternative when no libevent 4235 is found. 4236 - signit can generate NSEC3 hashes, for generating tests. 4237 - multiple nsec3 paramaters in message test. 4238 - too high nsec3 iterations becomes insecure test. 4239 424021 September 2007: Wouter 4241 - fixup empty_DS_name allocated in wrong region (port DEC Alpha). 4242 - fixup testcode lock safety (port FreeBSD). 4243 - removes subscript has type char warnings (port Solaris 9). 4244 - fixup of field with format type to int (port MacOS/X intel). 4245 - added test for infinite loop case in nonRD answer validation. 4246 It was a more general problem, but hard to reproduce. When an 4247 unsigned rrset is being validated and the key fetched, the DS 4248 sequence is followed, but if the final name has no DS, then no 4249 proof is possible - the signature has been stripped off. 4250 425120 September 2007: Wouter 4252 - fixup and test for NSEC wildcard with empty nonterminals. 4253 - makedist.sh fixup for svn info. 4254 - acl features request in plan. 4255 - improved DS empty nonterminal handling. 4256 - compat with ANS nxdomain for empty nonterminals. Attempts the nodata 4257 proof anyway, which succeeds in ANS failure case. 4258 - striplab protection in case it becomes -1. 4259 - plans for static and blacklist config. 4260 426119 September 2007: Wouter 4262 - comments about non-packed usage. 4263 - plan for overload support in 0.6. 4264 - added testbound tests for a failed resolution from the logs 4265 and for failed prime when missing glue. 4266 - fixup so useless delegation points are not returned from the 4267 cache. Also the safety belt is used if priming fails to complete. 4268 - fixup NSEC rdata not to be lowercased, bind compat. 4269 427018 September 2007: Wouter 4271 - wildcard nsec3 testcases, and fixup to get correct wildcard name. 4272 - validator prints subtype classification for debug. 4273 427417 September 2007: Wouter 4275 - NSEC3 hash cache unit test. 4276 - validator nsec3 nameerror test. 4277 427814 September 2007: Wouter 4279 - nsec3 nodata proof, nods proof, wildcard proof. 4280 - nsec3 support for cname chain ending in noerror or nodata. 4281 - validator calls nsec3 proof routines if no NSECs prove anything. 4282 - fixup iterator bug where it stored the answer to a cname under 4283 the wrong qname into the cache. When prepending the cnames, the 4284 qname has to be reset to the original qname. 4285 428613 September 2007: Wouter 4287 - nsec3 find matching and covering, ce proof, prove namerror msg. 4288 428912 September 2007: Wouter 4290 - fixup of manual page warnings, like for NSD bugreport. 4291 - nsec3 work, config, max iterations, filter, and hash cache. 4292 42936 September 2007: Wouter 4294 - fixup to find libevent on mac port install. 4295 - fixup size_t vs unsigned portability in validator/sigcrypt. 4296 - please compiler on different platforms, for unreachable code. 4297 - val_nsec3 file. 4298 - pthread_rwlock type is optional, in case of old pthread libs. 4299 43005 September 2007: Wouter 4301 - cname, name error validator tests. 4302 - logging of qtype ANY works. 4303 - ANY type answers get RRSIG in answer section of replies (but not 4304 in other sections, unless DO bit is on). 4305 - testbound can replay a TCP query (set MATCH TCP in the QUERY). 4306 - DS and noDS referral validation test. 4307 - if you configure many trust anchors, parent trust anchors can 4308 securely deny existance of child trust anchors, if validated. 4309 - not all *.name NSECs are present because a wildcard was matched, 4310 and *.name NSECs can prove nodata for empty nonterminals. 4311 Also, for wildcard name NSECs, check they are not from the parent 4312 zone (for wildcarded zone cuts), and check absence of CNAME bit, 4313 for a nodata proof. 4314 - configure option for memory allocation debugging. 4315 - port configure option for memory allocation to solaris10. 4316 43174 September 2007: Wouter 4318 - fixup of Leakage warning when serviced queries processed multiple 4319 callbacks for the same query from the same server. 4320 - testbound removes config file from /tmp on failed exit. 4321 - fixup for referral cleanup of the additional section. 4322 - tests for cname, referral validation. 4323 - neater testbound tpkg output. 4324 - DNAMEs no longer match their apex when synthesized from the cache. 4325 - find correct signer name for DNAME responses. 4326 - wildcarded DNAME test and fixup code to detect. 4327 - prepend NSEC and NSEC3 rrsets in the iterator while chasing CNAMEs. 4328 So that wildcarded CNAMEs get their NSEC with them to the answer. 4329 - test for a CNAME to a DNAME to a CNAME to an answer, all from 4330 different domains, for key fetching and signature checking of 4331 CNAME'd messages. 4332 43333 September 2007: Wouter 4334 - Fixed error in iterator that would cause assertion failure in 4335 validator. CNAME to a NXDOMAIN response was collated into a response 4336 with both a CNAME and the NXDOMAIN rcode. Added a test that the 4337 rcode is changed to NOERROR (because of the CNAME). 4338 - timeout on tcp does not lead to spurious leakage detect. 4339 - account memory for name of lame zones, so that memory leakages does 4340 not show lame cache growth as a leakage growth. 4341 - config setting for lameness cache expressed in bytes, instead of 4342 number of entries. 4343 - tool too summarize allocations per code line. 4344 434531 August 2007: Wouter 4346 - can read bind trusted-keys { ... }; files, in a compatibility mode. 4347 - iterator should not detach target queries that it still could need. 4348 the protection against multiple outstanding queries is moved to a 4349 current_query num check. 4350 - validator nodata, positive, referral tests. 4351 - dname print can print '*' wildcard. 4352 435330 August 2007: Wouter 4354 - fixup override date config option. 4355 - config options to control memory usage. 4356 - caught bad free of un-alloced data in worker_send error case. 4357 - memory accounting for key cache (trust anchors and temporary cache). 4358 - memory accounting fixup for outside network tcp pending waits. 4359 - memory accounting fixup for outside network tcp callbacks. 4360 - memory accounting for iterator fixed storage. 4361 - key cache size and slabs config options. 4362 - lib crypto cleanups at exit. 4363 436429 August 2007: Wouter 4365 - test tool to sign rrsets for testing validator with. 4366 - added RSA and DSA test keys, public and private pairs, 512 bits. 4367 - default configuration is with validation enabled. 4368 Only a trust-anchor needs to be configured for DNSSEC to work. 4369 - do not convert to DER for DSA signature verification. 4370 - validator replay test file, for a DS to DNSKEY DSA key prime and 4371 positive response. 4372 437328 August 2007: Wouter 4374 - removed double use for udp buffers, that could fail, 4375 instead performs a malloc to do the backup. 4376 - validator validates referral messages, by validating all the rrsets 4377 and stores the rrsets in the cache. Further referral (nonRD queries) 4378 replies are made from the rrset cache directly. Unless unchecked 4379 rrsets are encountered, there are then validated. 4380 - enforce that signing is done by a parent domain (or same domain). 4381 - adjust TTL downwards if rrset TTL bigger than signature allows. 4382 - permissive mode feature, sets AD bit for secure, but bogus does 4383 not give servfail (bogus is changed into indeterminate). 4384 - optimization of rrset verification. rr canonical sorting is reused, 4385 for the same rrset. canonical rrset image in buffer is reused for 4386 the same signature. 4387 - if the rrset is too big (64k exactly + large owner name) the 4388 canonicalization routine will fail if it does not fit in buffer. 4389 - faster verification for large sigsets. 4390 - verb_detail mode reports validation failures, but not the entire 4391 algorithm for validation. Key prime failures are reported as 4392 verb_ops level. 4393 439427 August 2007: Wouter 4395 - do not garble the edns if a cache answer fails. 4396 - answer norecursive from cache if possible. 4397 - honor clean_additional setting when returning secure non-recursive 4398 referrals. 4399 - do not store referral in msg cache for nonRD queries. 4400 - store verification status in the rrset cache to speed up future 4401 verification. 4402 - mark rrsets indeterminate and insecure if they are found to be so. 4403 and store this in the cache. 4404 440524 August 2007: Wouter 4406 - message is bogus if unsecure authority rrsets are present. 4407 - val-clean-additional option, so you can turn it off. 4408 - move rrset verification out of the specific proof types into one 4409 routine. This makes the proof routines prettier. 4410 - fixup cname handling in validator, cname-to-positive and cname-to- 4411 nodata work. 4412 - Do not synthesize DNSKEY and DS responses from the rrset cache if 4413 the rrset is from the additional section. Signatures may have 4414 fallen off the packet, and cause validation failure. 4415 - more verbose signature date errors (with the date attached). 4416 - increased default infrastructure cache size. It is important for 4417 performance, and 1000 entries are only 212k (or a 400 k total cache 4418 size). To 10000 entries (for 2M entries, 4M cache size). 4419 442023 August 2007: Wouter 4421 - CNAME handling - move needs_validation to before val_new(). 4422 val_new() setups the chase-reply to be an edited copy of the msg. 4423 new classification, and find signer can find for it. 4424 removal of unsigned crap from additional, and query restart for 4425 cname. 4426 - refuse to follow wildcarded DNAMEs when validating. 4427 But you can query for qtype ANY, or qtype DNAME and validate that. 4428 442922 August 2007: Wouter 4430 - bogus TTL. 4431 - review - use val_error(). 4432 443321 August 2007: Wouter 4434 - ANY response validation. 4435 - store security status in cache. 4436 - check cache security status and either send the query to be 4437 validated, return the query to client, or send servfail to client. 4438 Sets AD bit on validated replies. 4439 - do not examine security status on an error reply in mesh_done. 4440 - construct DS, DNSKEY messages from rrset cache. 4441 - manual page entry for override-date. 4442 444320 August 2007: Wouter 4444 - validate and positive validation, positive wildcard NSEC validation. 4445 - nodata validation, nxdomain validation. 4446 444718 August 2007: Wouter 4448 - process DNSKEY response in FINDKEY state. 4449 445017 August 2007: Wouter 4451 - work on DS2KE routine. 4452 - val_nsec.c for validator NSEC proofs. 4453 - unit test for NSEC bitmap reading. 4454 - dname iswild and canonical_compare with unit tests. 4455 445616 August 2007: Wouter 4457 - DS sig unit test. 4458 - latest release libevent 1.3c and 1.3d have threading fixed. 4459 - key entry fixup data pointer and ttl absolute. 4460 - This makes a key-prime succeed in validator, with DS or DNSKEY as 4461 trust-anchor. 4462 - fixup canonical compare byfield routine, fix bug and also neater. 4463 - fixed iterator response type classification for queries of type 4464 ANY and NS. 4465 dig ANY gives sometimes NS rrset in AN and NS section, and parser 4466 removes the NS section duplicate. dig NS gives sometimes the NS 4467 in the answer section, as referral. 4468 - validator FINDKEY state. 4469 447015 August 2007: Wouter 4471 - crypto calls to verify signatures. 4472 - unit test for rrsig verification. 4473 447414 August 2007: Wouter 4475 - default outgoing ports changed to avoid port 2049 by default. 4476 This port is widely blocked by firewalls. 4477 - count infra lameness cache in memory size. 4478 - accounting of memory improved 4479 - outbound entries are allocated in the query region they are for. 4480 - extensive debugging for memory allocations. 4481 - --enable-lock-checks can be used to enable lock checking. 4482 - protect undefs in config.h from autoheaders ministrations. 4483 - print all received udp packets. log hex will print on multiple 4484 lines if needed. 4485 - fixed error in parser with backwards rrsig references. 4486 - mark cycle targets for iterator did not have CD flag so failed 4487 its task. 4488 448913 August 2007: Wouter 4490 - fixup makefile, if lexer is missing give nice error and do not 4491 mess up the dependencies. 4492 - canonical compare routine updated. 4493 - canonical hinfo compare. 4494 - printout list of the queries that the mesh is working on. 4495 449610 August 2007: Wouter 4497 - malloc and free overrides that track total allocation and frees. 4498 for memory debugging. 4499 - work on canonical sort. 4500 45019 August 2007: Wouter 4502 - canonicalization, signature checks 4503 - dname signature label count and unit test. 4504 - added debug heap size print to memory printout. 4505 - typo fixup in worker.c 4506 - -R needed on solaris. 4507 - validator override option for date check testing. 4508 45098 August 2007: Wouter 4510 - ldns _raw routines created (in ldns trunk). 4511 - sigcrypt DS digest routines 4512 - val_utils uses sigcrypt to perform signature cryptography. 4513 - sigcrypt keyset processing 4514 45157 August 2007: Wouter 4516 - security status type. 4517 - security status is copied when rdata is equal for rrsets. 4518 - rrset id is updated to invalidate all the message cache entries 4519 that refer to NSEC, NSEC3, DNAME rrsets that have changed. 4520 - val_util work 4521 - val_sigcrypt file for validator signature checks. 4522 45236 August 2007: Wouter 4524 - key cache for validator. 4525 - moved isroot and dellabel to own dname routines, with unit test. 4526 45273 August 2007: Wouter 4528 - replanning. 4529 - scrubber check section of lame NS set. 4530 - trust anchors can be in config file or read from zone file, 4531 DS and DNSKEY entries. 4532 - unit test trust anchor storage. 4533 - trust anchors converted to packed rrsets. 4534 - key entry definition. 4535 45362 August 2007: Wouter 4537 - configure change for latest libevent trunk version (needs -lrt). 4538 - query_done and walk_supers are moved out of module interface. 4539 - fixup delegation point duplicates. 4540 - fixup iterator scrubber; lame NS set is let through the scrubber 4541 so that the classification is lame. 4542 - validator module exists, and does nothing but pass through, 4543 with calling of next module and return. 4544 - validator work. 4545 45461 August 2007: Wouter 4547 - set version to 0.5 4548 - module work for module to module interconnections. 4549 - config of modules. 4550 - detect cycle takes flags. 4551 455231 July 2007: Wouter 4553 - updated plan 4554 - release 0.4 tag. 4555 455630 July 2007: Wouter 4557 - changed random state init, so that sequential process IDs are not 4558 cancelled out by sequential thread-ids in the random number seed. 4559 - the fwd_three test, which sends three queries to unbound, and 4560 unbound is kept waiting by ldns-testns for 3 seconds, failed 4561 because the retry timeout for default by unbound is 3 seconds too, 4562 it would hit that timeout and fail the test. Changed so that unbound 4563 is kept waiting for 2 seconds instead. 4564 456527 July 2007: Wouter 4566 - removed useless -C debug option. It did not work. 4567 - text edit of documentation. 4568 - added doc/CREDITS file, referred to by the manpages. 4569 - updated planning. 4570 457126 July 2007: Wouter 4572 - cycle detection, for query state dependencies. Will attempt to 4573 circumvent the cycle, but if no other targets available fails. 4574 - unit test for AXFR, IXFR response. 4575 - test for cycle detection. 4576 457725 July 2007: Wouter 4578 - testbound read ADDRESS and check it. 4579 - test for version.bind and friends. 4580 - test for iterator chaining through several referrals. 4581 - test and fixup for refetch for glue. Refetch fails if glue 4582 is still not provided. 4583 458424 July 2007: Wouter 4585 - Example section in config manual. 4586 - Addr stored for range and moment in replay. 4587 458820 July 2007: Wouter 4589 - Check CNAME chain before returning cache entry with CNAMEs. 4590 - Option harden-glue, default is on. It will discard out of zone 4591 data. If disabled, performance is faster, but spoofing attempts 4592 become a possibility. Note that still normalize scrubbing is done, 4593 and that the potentially spoofed data is used for infrastructure 4594 and not returned to the client. 4595 - if glue times out, refetch by asking parent of delegation again. 4596 Much like asking for DS at the parent side. 4597 - TODO items from forgery-resilience draft. 4598 and on memory handling improvements. 4599 - renamed module_event_timeout to module_event_noreply. 4600 - memory reporting code; reports on memory usage after handling 4601 a network packet (not on cache replies). 4602 460319 July 2007: Wouter 4604 - shuffle NS selection when getting nameserver target addresses. 4605 - fixup of deadlock warnings, yield cpu in checklock code so that 4606 freebsd scheduler selects correct process to run. 4607 - added identity and version config options and replies. 4608 - store cname messages complete answers. 4609 461018 July 2007: Wouter 4611 - do not query addresses, 127.0.0.1, and ::1 by default. 4612 461317 July 2007: Wouter 4614 - forward zone options in config file. 4615 - forward per zone in iterator. takes precendence over stubs. 4616 - fixup commithooks. 4617 - removed forward-to and forward-to-port features, subsumed by 4618 new forward zones. 4619 - fix parser to handle absent server: clause. 4620 - change untrusted rrset test to account for scrubber that is now 4621 applied during the test (which removes the poison, by the way). 4622 - feature, addresses can be specified with @portnumber, like nsd.conf. 4623 - test config files changed over to new forwarder syntax. 4624 462527 June 2007: Wouter 4626 - delete of mesh does a postorder traverse of the tree. 4627 - found and fixed a memory leak. For TTL=0 messages, that would 4628 not be cached, instead the msg-replyinfo structure was leaked. 4629 - changed server selection so it will filter out hosts that are 4630 unresponsive. This is defined as a host with the maximum rto value. 4631 This means that unbound tried the host for retries up to 120 secs. 4632 The rto value will time out after host-ttl seconds from the cache. 4633 This keeps such unresolvable queries from taking up resources. 4634 - utility for keeping histogram. 4635 463626 June 2007: Wouter 4637 - mesh is called by worker, and iterator uses it. 4638 This removes the hierarchical code. 4639 QueryTargets state and Finished state are merged for iterator. 4640 - forwarder mode no longer sets AA bit on first reply. 4641 - rcode in walk_supers is not needed. 4642 464325 June 2007: Wouter 4644 - more mesh work. 4645 - error encode routine for ease. 4646 464722 June 2007: Wouter 4648 - removed unused _node iterator value from rbtree_t. Takes up space. 4649 - iterator can handle querytargets state without a delegation point 4650 set, so that a priming(stub) subquery error can be handled. 4651 - iterator stores if it is priming or not. 4652 - log_query_info() neater logging. 4653 - changed iterator so that it does not alter module_qstate.qinfo 4654 but keeps a chase query info. Also query_flags are not altered, 4655 the iterator uses chase_flags. 4656 - fixup crash in case no ports for the family exist. 4657 465821 June 2007: Wouter 4659 - Fixup secondary buffer in case of error callback. 4660 - cleanup slumber list of runnable states. 4661 - module_subreq_depth fails to work in slumber list. 4662 - fixup query release for cached results to sub targets. 4663 - neater error for tcp connection failure, shows addr in verbose. 4664 - rbtree_init so that it can be used with preallocated memory. 4665 466620 June 2007: Wouter 4667 - new -C option to enable coredumps after forking away. 4668 - doc update. 4669 - fixup CNAME generation by scrubber, and memory allocation of it. 4670 - fixup deletion of serviced queries when all callbacks delete too. 4671 - set num target queries to 0 when you move them to slumber list. 4672 - typo in check caused subquery errors to be ignored, fixed. 4673 - make lint happy about rlim_t. 4674 - freeup of modules after freeup of module-states. 4675 - duplicate replies work, this uses secondary udp buffer in outnet. 4676 467719 June 2007: Wouter 4678 - nicer layout in stats.c, review 0.3 change. 4679 - spelling improvement, review 0.3 change. 4680 - uncapped timeout for server selection, so that very fast or slow 4681 servers will stand out from the rest. 4682 - target-fetch-policy: "3 2 1 0 0" config setting. 4683 - fixup queries answered without RD bit (for root prime results). 4684 - refuse AXFR and IXFR requests. 4685 - fixup RD flag in error reply from iterator. fixup RA flag from 4686 worker error reply. 4687 - fixup encoding of very short edns buffer sizes, now sets TC bit. 4688 - config options harden-short-bufsize and harden-large-queries. 4689 469018 June 2007: Wouter 4691 - same, move subqueries to slumber list when first has resolved. 4692 - fixup last fix for duplicate callbacks. 4693 - another offbyone in targetcounter. Also in Java prototype by the way. 4694 469515 June 2007: Wouter 4696 - if a query asks to be notified of the same serviced query result 4697 multiple times, this will succeed. Only one callback will happen; 4698 multiple outbound-list entries result (but the double cleanup of it 4699 will not matter). 4700 - when iterator moves on due to CNAME or referral, it will remove 4701 the subqueries (for other targets). These are put on the slumber 4702 list. 4703 - state module wait subq is OK with no new subqs, an old one may have 4704 stopped, with an error, and it is still waiting for other ones. 4705 - if a query loops, halt entire query (easy way to clean up properly). 4706 470714 June 2007: Wouter 4708 - num query targets was > 0 , not >= 0 compared, so that fetch 4709 policy of 0 did nothing. 4710 471113 June 2007: Wouter 4712 - debug option: configure --enable-static-exe for compile where 4713 ldns and libevent are linked statically. Default is off. 4714 - make install and make uninstall. Works with static-exe and without. 4715 installation of unbound binary and manual pages. 4716 - alignement problem fix on solaris 64. 4717 - fixup address in case of TCP error. 4718 471912 June 2007: Wouter 4720 - num target queries was set to 0 at a bad time. Default it to 0 and 4721 increase as target queries are done. 4722 - synthesize CNAME and DNAME responses from the cache. 4723 - Updated doxygen config for doxygen 1.5. 4724 - aclocal newer version. 4725 - doxygen 1.5 fixes for comments (for the strict check on docs). 4726 472711 June 2007: Wouter 4728 - replies on TCP queries have the address field set in replyinfo, 4729 for serviced queries, because the initiator does not know that 4730 a TCP fallback has occured. 4731 - omit DNSSEC types from nonDO replies, except if qtype is ANY or 4732 if qtype directly queries for the type (and then only show that 4733 'unknown type' in the answer section). 4734 - fixed message parsing where rrsigs on their own would be put 4735 in the signature list over the rrsig type. 4736 47377 June 2007: Wouter 4738 - fixup error in double linked list insertion for subqueries and 4739 for outbound list of serviced queries for iterator module. 4740 - nicer printout of outgoing port selection. 4741 - fixup cname target readout. 4742 - nicer debug output. 4743 - fixup rrset counts when prepending CNAMEs to the answer. 4744 - fixup rrset TTL for prepended CNAMEs. 4745 - process better check for looping modules, and which submodule to 4746 run next. 4747 - subreq insertion code fixup for slumber list. 4748 - VERB_DETAIL, verbosity: 2 level gives short but readable output. 4749 VERB_ALGO, verbosity: 3 gives extensive output. 4750 - fixup RA bit in cached replies. 4751 - fixup CNAME responses from the cache no longer partial response. 4752 - error in network send handled without leakage. 4753 - enable ip6 from config, and try ip6 addresses if available, 4754 if ip6 is not connected, skips to next server. 4755 47565 June 2007: Wouter 4757 - iterator state finished. 4758 - subrequests without parent store in cache and stop. 4759 - worker slumber list for ongoing promiscuous queries. 4760 - subrequest error handling. 4761 - priming failure returns SERVFAIL. 4762 - priming gives LAME result, returns SERVFAIL. 4763 - debug routine to print dns_msg as handled by iterator. 4764 - memleak in config file stubs fixup. 4765 - more small bugs, in scrubber, query compare no ID for lookup, 4766 in dname validation for NS targets. 4767 - sets entry.key for new special allocs. 4768 - lognametypeclass can display unknown types and classes. 4769 47704 June 2007: Wouter 4771 - random selection of equally preferred nameserver targets. 4772 - reply info copy routine. Reuses existing code. 4773 - cache lameness in response handling. 4774 - do not touch qstate after worker_process_query because it may have 4775 been deleted by that routine. 4776 - Prime response state. 4777 - Process target response state. 4778 - some memcmp changed to dname_compare for case preservation. 4779 47801 June 2007: Wouter 4781 - normalize incoming messages. Like unbound-java, with CNAME chain 4782 checked, DNAME checked, CNAME's synthesized, glue checked. 4783 - sanitize incoming messages. 4784 - split msgreply encode functions into own file msgencode.c. 4785 - msg_parse to queryinfo/replyinfo conversion more versatile. 4786 - process_response, classify response, delegpt_from_message. 4787 478831 May 2007: Wouter 4789 - querytargets state. 4790 - dname_subdomain_c() routine. 4791 - server selection, based on RTT. ip6 is filtered out if not available, 4792 and lameness is checked too. 4793 - delegation point copy routine. 4794 479530 May 2007: Wouter 4796 - removed FLAG_CD from message and rrset caches. This was useful for 4797 an agnostic forwarder, but not for a sophisticated (trust value per 4798 rrset enabled) cache. 4799 - iterator reponse typing. 4800 - iterator cname handle. 4801 - iterator prime start. 4802 - subquery work. 4803 - processInitRequest and processInitRequest2. 4804 - cache synthesizes referral messages, with DS and NSEC. 4805 - processInitRequest3. 4806 - if a request creates multiple subrequests these are all activated. 4807 480829 May 2007: Wouter 4809 - routines to lock and unlock array of rrsets moved to cache/rrset. 4810 - lookup message from msg cache (and copy to region). 4811 - fixed cast error in dns msg lookup. 4812 - message with duplicate rrset does not increase its TTLs twice. 4813 - 'qnamesize' changed to 'qname_len' for similar naming scheme. 4814 481525 May 2007: Wouter 4816 - Acknowledge use of unbound-java code in iterator. Nicer readme. 4817 - services/cache/dns.c DNS Cache. Hybrid cache uses msgcache and 4818 rrset cache from module environment. 4819 - packed rrset key has type and class as easily accessable struct 4820 members. They are still kept in network format for fast msg encode. 4821 - dns cache find_delegation routine. 4822 - iterator main functions setup. 4823 - dns cache lookup setup. 4824 482524 May 2007: Wouter 4826 - small changes to prepare for subqueries. 4827 - iterator forwarder feature separated out. 4828 - iterator hints stub code, config file stub code, so that first 4829 testing can proceed locally. 4830 - replay tests now have config option to enable forwarding mode. 4831 483223 May 2007: Wouter 4833 - outside network does precise timers for roundtrip estimates for rtt 4834 and for setting timeout for UDP. Pending_udp takes milliseconds. 4835 - cleaner iterator sockaddr conversion of forwarder address. 4836 - iterator/iter_utils and iter_delegpt setup. 4837 - root hints. 4838 483922 May 2007: Wouter 4840 - outbound query list for modules and support to callback with the 4841 outbound entry to the module. 4842 - testbound support for new serviced queries. 4843 - test for retry to TCP cannot use testbound any longer. 4844 - testns test for EDNS fallback, test for TCP fallback already exists. 4845 - fixes for no-locking compile. 4846 - mini_event timer precision and fix for change in timeouts during 4847 timeout callback. Fix for fwd_three tests, performed nonexit query. 4848 484921 May 2007: Wouter 4850 - small comment on hash table locking. 4851 - outside network serviced queries, contain edns and tcp fallback, 4852 and udp retries and rtt timing. 4853 485416 May 2007: Wouter 4855 - lruhash_touch() would cause locking order problems. Fixup in 4856 lock-verify in case locking cycle is found. 4857 - services/cache/rrset.c for rrset cache code. 4858 - special rrset_cache LRU updating function that uses the rrset id. 4859 - no dependencies calculation when make clean is called. 4860 - config settings for infra cache. 4861 - daemon code slightly cleaner, only creates caches once. 4862 486315 May 2007: Wouter 4864 - host cache code. 4865 - unit test for host cache. 4866 486714 May 2007: Wouter 4868 - Port to OS/X and Dec Alpha. Printf format and alignment fixes. 4869 - extensive lock debug report on join timeout. 4870 - proper RTT calculation, in utility code. 4871 - setup of services/cache/infra, host cache. 4872 487311 May 2007: Wouter 4874 - iterator/iterator.c module. 4875 - fixup to pass reply_info in testcode and in netevent. 4876 487710 May 2007: Wouter 4878 - created release-0.3 svn tag. 4879 - util/module.h 4880 - fixed compression - no longer compresses root name. 4881 48829 May 2007: Wouter 4883 - outside network cleans up waiting tcp queries on exit. 4884 - fallback to TCP. 4885 - testbound replay with retry in TCP mode. 4886 - tpkg test for retry in TCP mode, against ldns-testns server. 4887 - daemon checks max number of open files and complains if not enough. 4888 - test where data expires in the cache. 4889 - compiletests: fixed empty body ifstatements in alloc.c, in case 4890 locks are disabled. 4891 48928 May 2007: Wouter 4893 - outgoing network keeps list of available tcp buffers for outgoing 4894 tcp queries. 4895 - outgoing-num-tcp config option. 4896 - outgoing network keeps waiting list of queries waiting for buffer. 4897 - netevent supports outgoing tcp commpoints, nonblocking connects. 4898 48997 May 2007: Wouter 4900 - EDNS read from query, used to make reply smaller. 4901 - advertised edns value constants. 4902 - EDNS BADVERS response, if asked for too high edns version. 4903 - EDNS extended error reponses once the EDNS record from the query 4904 has successfully been parsed. 4905 49064 May 2007: Wouter 4907 - msgreply sizefunc is more accurate. 4908 - config settings for rrset cache size and slabs. 4909 - hashtable insert takes argument so that a thread can use its own 4910 alloc cache to store released keys. 4911 - alloc cache special_release() locks if necessary. 4912 - rrset trustworthiness type added. 4913 - thread keeps a scratchpad region for handling messages. 4914 - writev used in netevent to write tcp length and data after another. 4915 This saves a roundtrip on tcp replies. 4916 - test for one rrset updated in the cache. 4917 - test for one rrset which is not updated, as it is not deemed 4918 trustworthy enough. 4919 - test for TTL refreshed in rrset. 4920 49213 May 2007: Wouter 4922 - fill refs. Use new parse and encode to answer queries. 4923 - stores rrsets in cache. 4924 - uses new msgreply format in cache. 4925 49262 May 2007: Wouter 4927 - dname unit tests in own file and spread out neatly in functions. 4928 - more dname unit tests. 4929 - message encoding creates truncated TC flagged messages if they do 4930 not fit, and will leave out (whole)rrsets from additional if needed. 4931 49321 May 2007: Wouter 4933 - decompress query section, extremely lenient acceptance. 4934 But only for answers from other servers, not for plain queries. 4935 - compression and decompression test cases. 4936 - some stats added. 4937 - example.conf interface: line is changed from 127.0.0.1 which leads 4938 to problems if used (restricting communication to the localhost), 4939 to a documentation and test address. 4940 494127 April 2007: Wouter 4942 - removed iov usage, it is not good for dns message encoding. 4943 - owner name compression more optimal. 4944 - rrsig owner name compression. 4945 - rdata domain name compression. 4946 494726 April 2007: Wouter 4948 - floating point exception fix in lock-verify. 4949 - lint uses make dependency 4950 - fixup lint in dname owner domain name compression code. 4951 - define for offset range that can be compressed to. 4952 495325 April 2007: Wouter 4954 - prettier code; parse_rrset->type kept in host byte order. 4955 - datatype used for hashvalue of converted rrsig structure. 4956 - unit test compares edns section data too. 4957 495824 April 2007: Wouter 4959 - ttl per RR, for RRSIG rrsets and others. 4960 - dname_print debug function. 4961 - if type is not known, size calc will skip DNAME decompression. 4962 - RRSIG parsing and storing and putting in messages. 4963 - dnssec enabled unit tests (from nlnetlabs.nl and se queries). 4964 - EDNS extraction routine. 4965 496620 April 2007: Wouter 4967 - code comes through all of the unit tests now. 4968 - disabled warning about spurious extra data. 4969 - documented the RRSIG parse plan in msgparse.h. 4970 - rrsig reading and outputting. 4971 497219 April 2007: Wouter 4973 - fix unit test to actually to tests. 4974 - fix write iov helper, and fakevent code. 4975 - extra builtin testcase (small packet). 4976 - ttl converted to network format in packets. 4977 - flags converted correctly 4978 - rdatalen off by 2 error fixup. 4979 - uses less iov space for header. 4980 498118 April 2007: Wouter 4982 - review of msgparse code. 4983 - smaller test cases. 4984 498517 April 2007: Wouter 4986 - copy and decompress dnames. 4987 - store calculated hash value too. 4988 - routine to create message out of stored information. 4989 - util/data/msgparse.c for message parsing code. 4990 - unit test, and first fixes because of test. 4991 * forgot rrset_count addition. 4992 * did & of ptr on stack for memory position calculation. 4993 * dname_pkt_copy forgot to read next label length. 4994 - test from file and fixes 4995 * double frees fixed in error conditions. 4996 * types with less than full rdata allowed by parser. 4997 Some dynamic update packets seem to use it. 4998 499916 April 2007: Wouter 5000 - following a small change in LDNS, parsing code calculates the 5001 memory size to allocate for rrs. 5002 - code to handle ID creation. 5003 500413 April 2007: Wouter 5005 - parse routines. Code that parses rrsets, rrs. 5006 500712 April 2007: Wouter 5008 - dname compare routine that preserves case, with unit tests. 5009 501011 April 2007: Wouter 5011 - parse work - dname packet parse, msgparse, querysection parse, 5012 start of sectionparse. 5013 501410 April 2007: Wouter 5015 - Improved alignment of reply_info packet, nice for 32 and 64 bit. 5016 - Put RRset counts in reply_info, because the number of RRs can change 5017 due to RRset updates. 5018 - import of region-allocator code from nsd. 5019 - set alloc special type to ub_packed_rrset_key. 5020 Uses lruhash entry overflow chain next pointer in alloc cache. 5021 - doxygen documentation for region-allocator. 5022 - setup for parse scratch data. 5023 50245 April 2007: Wouter 5025 - discussed packed rrset with Jelte. 5026 50274 April 2007: Wouter 5028 - moved to version 0.3. 5029 - added util/data/dname.c 5030 - layout of memory for rrsets. 5031 50323 April 2007: Wouter 5033 - detect sign of msghdr.msg_iovlen so that the cast to that type 5034 in netevent (which is there to please lint) can be correct. 5035 The type on several OSes ranges from int, int32, uint32, size_t. 5036 Detects unsigned or signed using math trick. 5037 - constants for DNS flags. 5038 - compilation without locks fixup. 5039 - removed include of unportable header from lookup3.c. 5040 - more portable use of struct msghdr. 5041 - casts for printf warning portability. 5042 - tweaks to tests to port them to the testbed. 5043 - 0.2 tag created. 5044 50452 April 2007: Wouter 5046 - check sizes of udp received messages, not too short. 5047 - review changes. Some memmoves can be memcpys: 4byte aligned. 5048 set id correctly on cached answers. 5049 - review changes msgreply.c, memleak on error condition. AA flag 5050 clear on cached reply. Lowercase queries on hashing. 5051 unit test on lowercasing. Test AA bit not set on cached reply. 5052 Note that no TTLs are managed. 5053 505429 March 2007: Wouter 5055 - writev or sendmsg used when answering from cache. 5056 This avoids a copy of the data. 5057 - do not do useless byteswap on query id. Store reply flags in uint16 5058 for easier access (and no repeated byteswapping). 5059 - reviewed code. 5060 - configure detects and config.h includes sys/uio.h for writev decl. 5061 506228 March 2007: Wouter 5063 - new config option: num-queries-per-thread. 5064 - added tpkg test for answering three queries at the same time 5065 using one thread (from the query service list). 5066 506727 March 2007: Wouter 5068 - added test for cache and not cached answers, in testbound replays. 5069 - testbound can give config file and commandline options from the 5070 replay file to unbound. 5071 - created test that checks if items drop out of the cache. 5072 - added word 'partitioned hash table' to documentation on slab hash. 5073 A slab hash is a partitioned hash table. 5074 - worker can handle multiple queries at a time. 5075 507626 March 2007: Wouter 5077 - config settings for slab hash message cache. 5078 - test for cached answer. 5079 - Fixup deleting fake answer from testbound list. 5080 508123 March 2007: Wouter 5082 - review of yesterday's commits. 5083 - covered up memory leak of the entry locks. 5084 - answers from the cache correctly. Copies flags correctly. 5085 - sanity check for incoming query replies. 5086 - slabbed hash table. Much nicer contention, need dual cpu to see. 5087 508822 March 2007: Wouter 5089 - AIX configure check. 5090 - lock-verify can handle references to locks that are created 5091 in files it has not yet read in. 5092 - threaded hash table test. 5093 - unit test runs lock-verify afterwards and checks result. 5094 - need writelock to update data on hash_insert. 5095 - message cache code, msgreply code. 5096 509721 March 2007: Wouter 5098 - unit test of hash table, fixup locking problem in table_grow(). 5099 - fixup accounting of sizes for removing items from hashtable. 5100 - unit test for hash table, single threaded test of integrity. 5101 - lock-verify reports errors nicely. More quiet in operation. 5102 510316 March 2007: Wouter 5104 - lock-verifier, checks consistent order of locking. 5105 510614 March 2007: Wouter 5107 - hash table insert (and subroutines) and lookup implemented. 5108 - hash table remove. 5109 - unit tests for hash internal bin, lru functions. 5110 511113 March 2007: Wouter 5112 - lock_unprotect in checklocks. 5113 - util/storage/lruhash.h for LRU hash table structure. 5114 511512 March 2007: Wouter 5116 - configure.ac moved to 0.2. 5117 - query_info and replymsg util/data structure. 5118 51199 March 2007: Wouter 5120 - added rwlock writelock checking. 5121 So it will keep track of the writelock, and readlocks are enforced 5122 to not change protected memory areas. 5123 - log_hex function to dump hex strings to the logfile. 5124 - checklocks zeroes its destroyed lock after checking memory areas. 5125 - unit test for alloc. 5126 - identifier for union in checklocks to please older compilers. 5127 - created 0.1 tag. 5128 51298 March 2007: Wouter 5130 - Reviewed checklock code. 5131 51327 March 2007: Wouter 5133 - created a wrapper around thread calls that performs some basic 5134 checking for data race and deadlock, and basic performance 5135 contention measurement. 5136 51376 March 2007: Wouter 5138 - Testbed works with threading (different machines, different options). 5139 - alloc work, does the special type. 5140 51412 March 2007: Wouter 5142 - do not compile fork funcs unless needed. Otherwise will give 5143 type errors as their typedefs have not been enabled. 5144 - log shows thread numbers much more nicely (and portably). 5145 - even on systems with nonthreadsafe libevent signal handling, 5146 unbound will exit if given a signal. 5147 Reloads will not work, and exit is not graceful. 5148 - start of alloc framework layout. 5149 51501 March 2007: Wouter 5151 - Signals, libevent and threads work well, with libevent patch and 5152 changes to code (close after event_del). 5153 - set ipc pipes nonblocking. 5154 515527 February 2007: Wouter 5156 - ub_thread_join portable definition. 5157 - forking is used if no threading is available. 5158 Tested, it works, since pipes work across processes as well. 5159 Thread_join is replaced with waitpid. 5160 - During reloads the daemon will temporarily handle signals, 5161 so that they do not result in problems. 5162 - Also randomize the outgoing port range for tests. 5163 - If query list is full, will stop selecting listening ports for read. 5164 This makes all threads service incoming requests, instead of one. 5165 No memory is leaking during reloads, service of queries, etc. 5166 - test that uses ldns-testns -f to test threading. Have to answer 5167 three queries at the same time. 5168 - with verbose=0 operates quietly. 5169 517026 February 2007: Wouter 5171 - ub_random code used to select ID and port. 5172 - log code prints thread id. 5173 - unbound can thread itself, with reload(HUP) and quit working 5174 correctly. 5175 - don't open pipes for #0, doesn't need it. 5176 - listens to SIGTERM, SIGQUIT, SIGINT (all quit) and SIGHUP (reload). 5177 517823 February 2007: Wouter 5179 - Can do reloads on sigHUP. Everything is stopped, and freed, 5180 except the listening ports. Then the config file is reread. 5181 And everything is started again (and listening ports if needed). 5182 - Ports for queries are shared. 5183 - config file added interface:, chroot: and username:. 5184 - config file: directory, logfile, pidfile. And they work too. 5185 - will daemonize by default now. Use -d to stay in the foreground. 5186 - got BSD random[256 state] code, made it threadsafe. util/random. 5187 518822 February 2007: Wouter 5189 - Have a config file. Removed commandline options, moved to config. 5190 - tests use config file. 5191 519221 February 2007: Wouter 5193 - put -c option in man page. 5194 - minievent fd array capped by FD_SETSIZE. 5195 519620 February 2007: Wouter 5197 - Added locks code and pthread spinlock detection. 5198 - can use no locks, or solaris native thread library. 5199 - added yacc and lex configure, and config file parsing code. 5200 also makedist.sh, and manpage. 5201 - put include errno.h in config.h 5202 520319 February 2007: Wouter 5204 - Created 0.0 svn tag. 5205 - added acx_pthread.m4 autoconf check for pthreads from 5206 the autoconf archive. It is GPL-with-autoconf-exception Licensed. 5207 You can specify --with-pthreads, or --without-pthreads to configure. 5208 520916 February 2007: Wouter 5210 - Updated testbed script, works better by using make on remote end. 5211 - removed check decls, we can compile without them. 5212 - makefile supports LIBOBJ replacements. 5213 - docs checks ignore compat code. 5214 - added util/mini-event.c and .h, a select based alternative used with 5215 ./configure --with-libevent=no 5216 It is limited to 1024 file descriptors, and has less features. 5217 - will not create ip6 sockets if ip6 not on the machine. 5218 521915 February 2007: Wouter 5220 - port to FreeBSD 4.11 Dec Alpha. Also works on Solaris 10 sparc64, 5221 Solaris 9, FreeBSD 6, Linux i386 and OSX powerpc. 5222 - malloc rndstate, so that it is aligned for access. 5223 - fixed rbtree cleanup with postorder traverse. 5224 - fixed pending messages are deleted when handled. 5225 - You can control verbosity; default is not verbose, every -v 5226 adds more verbosity. 5227 522814 February 2007: Wouter 5229 - Included configure.ac changes from ldns. 5230 - detect (some) headers before the standards check. 5231 - do not use isblank to test c99, since its not available on solaris9. 5232 - review of testcode. 5233 * entries in a RANGE are no longer reversed. 5234 * print name of file with replay entry parse errors. 5235 - port to OSX: cast to int for some prints of sizet. 5236 - Makefile copies ldnstestpkts.c before doing dependencies on it. 5237 523813 February 2007: Wouter 5239 - work on fake events, first fwd replay works. 5240 - events can do timeouts and errors on queries to servers. 5241 - test package that runs replay scenarios. 5242 524312 February 2007: Wouter 5244 - work on fake events. 5245 52469 February 2007: Wouter 5247 - replay file reading. 5248 - fake event setup, it creates fake structures, and teardowns, 5249 added signal callbacks to reply to be able to fake those, 5250 and main structure of event replay routines. 5251 52528 February 2007: Wouter 5253 - added tcp test. 5254 - replay storage. 5255 - testcode/fake_event work. 5256 52577 February 2007: Wouter 5258 - return answer with the same ID as query was sent with. 5259 - created udp forwarder test. I've done some effort to make it perform 5260 quickly. After servers are created, no big sleep statements but 5261 it checks the logfiles to see if servers have come up. Takes 0.14s. 5262 - set addrlen value when calling recvfrom. 5263 - comparison of addrs more portable. 5264 - LIBEVENT option for testbed to set libevent directory. 5265 - work on tcp input. 5266 52676 February 2007: Wouter 5268 - reviewed code and improved in places. 5269 52705 February 2007: Wouter 5271 - Picked up stdc99 and other define tests from ldns. Improved 5272 POSIX define test to include getaddrinfo. 5273 - defined constants for netevent callback error code. 5274 - unit test for strisip6. 5275 52762 February 2007: Wouter 5277 - Created udp4 and udp6 port arrays to provide service for both 5278 address families. 5279 - uses IPV6_USE_MIN_MTU for udp6 ,IPV6_V6ONLY to make ip6 sockets. 5280 - listens on both ip4 and ip6 ports to provide correct return address. 5281 - worker fwder address filled correctly. 5282 - fixup timer code. 5283 - forwards udp queries and sends answer. 5284 52851 February 2007: Wouter 5286 - outside network more UDP work. 5287 - moved * closer to type. 5288 - comm_timer object and events. 5289 529031 January 2007: Wouter 5291 - Added makedist.sh script to make release tarball. 5292 - Removed listen callback layer, did not add anything. 5293 - Added UDP recv to netevent, worker callback for udp. 5294 - netevent communication reply storage structure. 5295 - minimal query header sanity checking for worker. 5296 - copied over rbtree implementation from NSD (BSD licensed too). 5297 - outgoing network query service work. 5298 529930 January 2007: Wouter 5300 - links in example/ldns-testpkts.c and .h for premade packet support. 5301 - added callback argument to listen_dnsport and daemon/worker. 5302 530329 January 2007: Wouter 5304 - unbound.8 a short manpage. 5305 530626 January 2007: Wouter 5307 - fixed memleak. 5308 - make lint works on BSD and Linux (openssl defines). 5309 - make tags works. 5310 - testbound program start. 5311 531225 January 2007: Wouter 5313 - fixed lint so it may work on BSD. 5314 - put license into header of every file. 5315 - created verbosity flag. 5316 - fixed libevent configure flag. 5317 - detects event_base_free() in new libevent 1.2 version. 5318 - getopt in daemon. fatal_exit() and verbose() logging funcs. 5319 - created log_assert, that throws assertions to the logfile. 5320 - listen_dnsport service. Binds ports. 5321 532224 January 2007: Wouter 5323 - cleaned up configure.ac. 5324 532523 January 2007: Wouter 5326 - added libevent to configure to link with. 5327 - util/netevent setup work. 5328 - configure searches for libevent. 5329 - search for libs at end of configure (when other headers and types 5330 have been found). 5331 - doxygen works with ATTR_UNUSED(). 5332 - util/netevent implementation. 5333 533422 January 2007: Wouter 5335 - Designed header file for network communication. 5336 533716 January 2007: Wouter 5338 - added readme.svn and readme.tests. 5339 53404 January 2007: Wouter 5341 - Testbed script (run on multiple platforms the test set). 5342 Works on Sunos9, Sunos10, FreeBSD 6.1, Fedora core 5. 5343 - added unit test tpkg. 5344 53453 January 2007: Wouter 5346 - committed first set of files into subversion repository. 5347 svn co svn+ssh://unbound.net/svn/unbound 5348 You need a ssh login. There is no https access yet. 5349 - Added LICENSE, the BSD license. 5350 - Added doc/README with compile help. 5351 - main program stub and quiet makefile. 5352 - minimal logging service (to stderr). 5353 - added postcommit hook that serves emails. 5354 - added first test 00-lint. postcommit also checks if build succeeds. 5355 - 01-doc: doxygen doc target added for html docs. And stringent test 5356 on documented files, functions and parameters. 5357 535815 December 2006: Wouter 5359 - Created Makefile.in and configure.ac. 5360