18 May 2012: Wouter 2 - Fix for accept spinning reported by OpenBSD. 3 42 February 2012: Wouter 5 - 1.4.16 release tag. 6 71 February 2012: Wouter 8 - Fix validation failures (like: validation failure xx: no NSEC3 9 closest encloser from yy for DS zz. while building chain of trust, 10 because of a bug in the TTL-fix in 1.4.15, it picked the wrong rdata 11 for an NSEC3. Now it does not change rdata, and fixes TTL. 12 1330 January 2012: Wouter 14 - Fix version-number in libtool to be version-info so it produces 15 libunbound.so.2 like it should. 16 1726 January 2012: Wouter 18 - Tag 1.4.15 (same as 1.4.15rc1), for 1.4.15 release. 19 - trunk 1.4.16; includes changes memset testcode, #424 openindiana, 20 and keyfile write fixup. 21 - applied patch to support outgoing-interface with ub_ctx_set_option. 22 2323 January 2012: Wouter 24 - Fix memset in test code. 25 2620 January 2012: Wouter 27 - Fix bug #424: compile on OpenIndiana OS with gcc 4.6.2. 28 2919 January 2012: Wouter 30 - Fix to write key files completely to a temporary file, and if that 31 succeeds, replace the real key file. So failures leave a useful file. 32 3318 January 2012: Wouter 34 - tag 1.4.15rc1 created 35 - updated libunbound/ubsyms.def and remade tag 1.4.15rc1. 36 3717 January 2012: Wouter 38 - Fix bug where canonical_compare of RRSIG did not downcase the 39 signer-name. This is mostly harmless because RRSIGs do not have 40 to be sorted in canonical order, usually. 41 4212 January 2012: Wouter 43 - bug#428: add ub_version() call to libunbound. API version increase, 44 with (binary) backwards compatibility for the previous version. 45 4610 January 2012: Wouter 47 - Fix bug #425: unbound reports wrong TTL in reply, it reports a TTL 48 that would be permissible by the RFCs but it is not the TTL in the 49 cache. 50 - iana portlist updated. 51 - uninitialised variable in reprobe for rtt blocked domains fixed. 52 - lintfix and new flex output. 53 542 January 2012: Wouter 55 - Fix to randomize hash function, based on 28c3 congress, reported 56 by Peter van Dijk. 57 5824 December 2011: Wouter 59 - Fix for memory leak (about 20 bytes when a tcp or udp send operation 60 towards authority servers failed, takes about 50.000 such failures to 61 leak one Mb, such failures are also usually logged), reported by 62 Robert Fleischmann. 63 - iana portlist updated. 64 6519 December 2011: Wouter 66 - Fix for VU#209659 CVE-2011-4528: Unbound denial of service 67 vulnerabilities from nonstandard redirection and denial of existence 68 http://www.unbound.net/downloads/CVE-2011-4528.txt 69 - robust checks for next-closer NSEC3s. 70 - tag 1.4.14 created. 71 - trunk has 1.4.15 in development. 72 7315 December 2011: Wouter 74 - remove uninit warning from cachedump code. 75 - Fix parse error on negative SOA RRSIGs if badly ordered in the packet. 76 7713 December 2011: Wouter 78 - iana portlist updated. 79 - svn tag 1.4.14rc1 80 - fix infra cache comparison. 81 - Fix to constrain signer_name to be a parent of the lookupname. 82 835 December 2011: Wouter 84 - Fix getaddrinfowithincludes on windows with fedora16 mingw32-gcc. 85 - Fix warnings with gcc 4.6 in compat/inet_ntop.c. 86 - Fix warning unused in compat/strptime.c. 87 - Fix malloc detection and double defintion. 88 892 December 2011: Wouter 90 - configure generated with autoconf 2.68. 91 9230 November 2011: Wouter 93 - Fix for tcp-upstream and ssl-upstream for if a laptop sleeps, causes 94 SERVFAILs. Also fixed for UDP (but less likely). 95 9628 November 2011: Wouter 97 - Fix quartile time estimate, it was too low, (thanks Jan Komissar). 98 - iana ports updated. 99 10011 November 2011: Wouter 101 - Makefile compat with SunOS make, BSD make and GNU make. 102 - iana ports updated. 103 10410 November 2011: Wouter 105 - Makefile changed for BSD make compatibility. 106 1079 November 2011: Wouter 108 - added unit test for SSL service and SSL-upstream. 109 1108 November 2011: Wouter 111 - can configure ssl service to one port number, and not on others. 112 - fixup windows compile with ssl support. 113 - Fix double free in unbound-host, reported by Steve Grubb. 114 - iana portlist updated. 115 1161 November 2011: Wouter 117 - dns over ssl support as a client, ssl-upstream yes turns it on. 118 It performs an SSL transaction for every DNS query (250 msec). 119 - documentation for new options: ssl-upstream, ssl-service-key and 120 ssl-service.pem. 121 - iana portlist updated. 122 - fix -flto detection on Lion for llvm-gcc. 123 12431 October 2011: Wouter 125 - dns over ssl support, ssl-service-pem and ssl-service-key files 126 can be given and then TCP queries are serviced wrapped in SSL. 127 12827 October 2011: Wouter 129 - lame-ttl and lame-size options no longer exist, it is integrated 130 with the host info. They are ignored (with verbose warning) if 131 encountered to keep the config file backwards compatible. 132 - fix iana-update for changing gzip compression of results. 133 - fix export-all-symbols on OSX. 134 13526 October 2011: Wouter 136 - iana portlist updated. 137 - Infra cache stores information about ping and lameness per IP, zone. 138 This fixes bug #416. 139 - fix iana_update target for gzipped file on iana site. 140 14124 October 2011: Wouter 142 - Fix resolve of partners.extranet.microsoft.com with a fix for the 143 server selection for choosing out of a (particular) list of bad 144 choices. (bug#415) 145 - Fix make_new_space function so that the incoming query is not 146 overwritten if a jostled out query causes a waiting query to be 147 resumed that then fails and sends an error message. (Thanks to 148 Matthew Lee). 149 15021 October 2011: Wouter 151 - fix --enable-allsymbols, fptr wlist is disabled on windows with this 152 option enabled because of memory layout exe vs dll. 153 15419 October 2011: Wouter 155 - fix unbound-anchor for broken strptime on OSX lion, detected 156 in configure. 157 - Detect if GOST really works, openssl1.0 on OSX fails. 158 - Implement ipv6%interface notation for scope_id usage. 159 16017 October 2011: Wouter 161 - better documentation for inform_super (Thanks Yang Zhe). 162 16314 October 2011: Wouter 164 - Fix for out-of-memory condition in libunbound (thanks 165 Robert Fleischman). 166 16713 October 2011: Wouter 168 - Fix --enable-allsymbols, it depended on link specifics of the 169 target platform, or fptr_wlist assertion failures could occur. 170 17112 October 2011: Wouter 172 - updated contrib/unbound_munin_ to family=auto so that it works with 173 munin-node-configure automatically (if installed as 174 /usr/local/share/munin/plugins/unbound_munin_ ). 175 17627 September 2011: Wouter 177 - unbound.exe -w windows option for start and stop service. 178 17923 September 2011: Wouter 180 - TCP-upstream calculates tcp-ping so server selection works if there 181 are alternatives. 182 18320 September 2011: Wouter 184 - Fix classification of NS set in answer section, where there is a 185 parent-child server, and the answer has the AA flag for dir.slb.com. 186 Thanks to Amanda Constant from Secure64. 187 18816 September 2011: Wouter 189 - fix bug #408: accept patch from Steve Snyder that comments out 190 unused functions in lookup3.c. 191 - iana portlist updated. 192 - fix EDNS1480 change memleak and TCP fallback. 193 - fix various compiler warnings (reported by Paul Wouters). 194 - max sent count. EDNS1480 only for rtt < 5000. No promiscuous 195 fetch if sentcount > 3, stop query if sentcount > 16. Count is 196 reset when referral or CNAME happens. This makes unbound better 197 at managing large NS sets, they are explored when there is continued 198 interest (in the form of queries). 199 20015 September 2011: Wouter 201 - release 1.4.13. 202 - trunk contains 1.4.14 in development. 203 - Unbound probes at EDNS1480 if there an EDNS0 timeout. 204 20512 September 2011: Wouter 206 - Reverted dns EDNS backoff fix, it did not help and needs 207 fragmentation fixes instead. 208 - tag 1.4.13rc2 209 2107 September 2011: Wouter 211 - Fix operation in ipv6 only (do-ip4: no) mode. 212 2136 September 2011: Wouter 214 - fedora specfile updated. 215 2165 September 2011: Wouter 217 - tag 1.4.13rc1 218 2192 September 2011: Wouter 220 - iana portlist updated. 221 22226 August 2011: Wouter 223 - Fix num-threads 0 does not segfault, reported by Simon Deziel. 224 - Fix validation failures due to EDNS backoff retries, the retry 225 for fetch of data has want_dnssec because the iter_indicate_dnssec 226 function returns true when validation failure retry happens, and 227 then the serviced query code does not fallback to noEDNS, even if 228 the cache says it has this. This helps for DLV deployment when 229 the DNSSEC status is not known for sure before the lookup concludes. 230 23124 August 2011: Wouter 232 - Applied patch from Karel Slany that fixes a memory leak in the 233 unbound python module, in string conversions. 234 23522 August 2011: Wouter 236 - Fix validation of qtype ANY responses with CNAMEs (thanks Cathy 237 Zhang and Luo Ce). Unbound responds with the RR types that are 238 available at the name for qtype ANY and validates those RR types. 239 It does not test for completeness (i.e. with NSEC or NSEC3 query), 240 and it does not follow the CNAME or DNAME to another name (with 241 even more data for the already large response). 242 - Fix that internally, CNAMEs with NXDOMAIN have that as rcode. 243 - Documented the options that work with control set_option command. 244 - tcp-upstream yes/no option (works with set_option) for tunnels. 245 24618 August 2011: Wouter 247 - fix autoconf call in makedist crosscompile to RC or snapshot. 248 24917 August 2011: Wouter 250 - Fix validation of . DS query. 251 - new xml format at IANA, new awk for iana_update. 252 - iana portlist updated. 253 25410 August 2011: Wouter 255 - Fix python site-packages path to /usr/lib64. 256 - updated patch from Tom. 257 - fix memory and fd leak after out-of-memory condition. 258 2599 August 2011: Wouter 260 - patch from Tom Hendrikx fixes load of python modules. 261 2628 August 2011: Wouter 263 - make clean had ldns-src reference, removed. 264 2651 August 2011: Wouter 266 - Fix autoconf 2.68 warnings 267 26814 July 2011: Wouter 269 - Unbound implements RFC6303 (since version 1.4.7). 270 - tag 1.4.12rc1 is released as 1.4.12 (without the other fixes in the 271 meantime, those are for 1.4.13). 272 - iana portlist updated. 273 27413 July 2011: Wouter 275 - Quick fix for contrib/unbound.spec example, no ldns-builtin any more. 276 27711 July 2011: Wouter 278 - Fix wildcard expansion no-data reply under an optout NSEC3 zone is 279 validated as insecure, reported by Jia Li (lijia@cnnic.cn). 280 2814 July 2011: Wouter 282 - 1.4.12rc1 tag created. 283 2841 July 2011: Wouter 285 - version number in example config file. 286 - fix that --enable-static-exe does not complain about it unknown. 287 28830 June 2011: Wouter 289 - tag relase 1.4.11, trunk is 1.4.12 development. 290 - iana portlist updated. 291 - fix bug#395: id bits of other query may leak out under conditions 292 - fix replyaddr count wrong after jostled queries, which leads to 293 eventual starvation where the daemon has no replyaddrs left to use. 294 - fix comment about rndc port, that referred to the old port number. 295 - fix that the listening socket is not closed when too many remote 296 control connections are made at the same time. 297 - removed ldns-src tarball inside the unbound tarball. 298 29923 June 2011: Wouter 300 - Changed -flto check to support clang compiler. 301 - tag 1.4.11rc3 created. 302 30317 June 2011: Wouter 304 - tag 1.4.11rc1 created. 305 - remove warning about signed/unsigned from flex (other flex version). 306 - updated aclocal.m4 and libtool to match. 307 - tag 1.4.11rc2 created. 308 30916 June 2011: Wouter 310 - log-queries: yesno option, default is no, prints querylog. 311 - version is 1.4.11. 312 31314 June 2011: Wouter 314 - Use -flto compiler flag for link time optimization, if supported. 315 - iana portlist updated. 316 31712 June 2011: Wouter 318 - IPv6 service address for d.root-servers.net (2001:500:2D::D). 319 32010 June 2011: Wouter 321 - unbound-control has version number in the header, 322 UBCT[version]_space_ is the header sent by the client now. 323 - Unbound control port number is registered with IANA: 324 ub-dns-control 8953/tcp unbound dns nameserver control 325 This is the new default for the control-port config setting. 326 - statistics-interval prints the number of jostled queries to log. 327 32830 May 2011: Wouter 329 - Fix Makefile for U in environment, since wrong U is more common than 330 deansification necessity. 331 - iana portlist updated. 332 - updated ldns tarball to 1.6.10rc2 snapshot of today. 333 33425 May 2011: Wouter 335 - Fix assertion failure when unbound generates an empty error reply 336 in response to a query, CVE-2011-1922 VU#531342. 337 - This fix is in tag 1.4.10. 338 - defense in depth against the above bug, an error is printed to log 339 instead of an assertion failure. 340 34110 May 2011: Wouter 342 - bug#386: --enable-allsymbols option links all binaries to libunbound 343 and reduces install size significantly. 344 - feature, ignore-cd-flag: yesno to provide dnssec to legacy servers. 345 - iana portlist updated. 346 - Fix TTL of SOA so negative TTL is separately cached from normal TTL. 347 34814 April 2011: Wouter 349 - configure created with newer autoconf 2.66. 350 35112 April 2011: Wouter 352 - bug#378: Fix that configure checks for ldns_get_random presence. 353 3548 April 2011: Wouter 355 - iana portlist updated. 356 - queries with CD flag set cause DNSSEC validation, but the answer is 357 not withheld if it is bogus. Thus, unbound will retry if it is bad 358 and curb the TTL if it is bad, thus protecting the cache for use by 359 downstream validators. 360 - val-override-date: -1 ignores dates entirely, for NTP usage. 361 36229 March 2011: Wouter 363 - harden-below-nxdomain: changed so that it activates when the 364 cached nxdomain is dnssec secure. This avoids backwards 365 incompatibility because those old servers do not have dnssec. 366 36724 March 2011: Wouter 368 - iana portlist updated. 369 - release 1.4.9. 370 - trunk is 1.5.0 371 37217 March 2011: Wouter 373 - bug#370: new unbound.spec for CentOS 5.x from Harold Jones. 374 Applied but did not do the --disable-gost. 375 37610 March 2011: Wouter 377 - tag 1.4.9 release candidate 1 created. 378 3793 March 2011: Wouter 380 - updated ldns to today. 381 3821 March 2011: Wouter 383 - Fix no ADflag for NXDOMAIN in NSEC3 optout. And wildcard in optout. 384 - give config parse error for multiple names on a stub or forward zone. 385 - updated ldns tarball to 1.6.9(todays snapshot). 386 38724 February 2011: Wouter 388 - bug #361: Fix, time.elapsed variable not reset with stats_noreset. 389 39023 February 2011: Wouter 391 - iana portlist updated. 392 - common.sh to version 3. 393 39418 February 2011: Wouter 395 - common.sh in testdata updated to version 2. 396 39715 February 2011: Wouter 398 - Added explicit note on unbound-anchor usage: 399 Please note usage of unbound-anchor root anchor is at your own risk 400 and under the terms of our LICENSE (see that file in the source). 401 40211 February 2011: Wouter 403 - iana portlist updated. 404 - tpkg updated with common.sh for common functionality. 405 4067 February 2011: Wouter 407 - Added regression test for addition of a .net DS to the root, and 408 cache effects with different TTL for glue and DNSKEY. 409 - iana portlist updated. 410 41128 January 2011: Wouter 412 - Fix remove private address does not throw away entire response. 413 41424 January 2011: Wouter 415 - release 1.4.8 416 41719 January 2011: Wouter 418 - fix bug#349: no -L/usr for ldns. 419 42018 January 2011: Wouter 421 - ldns 1.6.8 tarball included. 422 - release 1.4.8rc1. 423 42417 January 2011: Wouter 425 - add get and set option for harden-below-nxdomain feature. 426 - iana portlist updated. 427 42814 January 2011: Wouter 429 - Fix so a changed NS RRset does not get moved name stuck on old 430 server, for type NS the TTL is not increased. 431 43213 January 2011: Wouter 433 - Fix prefetch so it does not get stuck on old server for moved names. 434 43512 January 2011: Wouter 436 - iana portlist updated. 437 43811 January 2011: Wouter 439 - Fix insecure CNAME sequence marked as secure, reported by Bert 440 Hubert. 441 44210 January 2011: Wouter 443 - faster lruhash get_mem routine. 444 4454 January 2011: Wouter 446 - bug#346: remove ITAR scripts from contrib, the service is discontinued, use the root. 447 - iana portlist updated. 448 44923 December 2010: Wouter 450 - Fix in infra cache that could cause rto larger than TOP_TIMEOUT kept. 451 45221 December 2010: Wouter 453 - algorithm compromise protection using the algorithms signalled in 454 the DS record. Also, trust anchors, DLV, and RFC5011 receive this, 455 and thus, if you have multiple algorithms in your trust-anchor-file 456 then it will now behave different than before. Also, 5011 rollover 457 for algorithms needs to be double-signature until the old algorithm 458 is revoked. 459 It is not an option, because I see no use to turn the security off. 460 - iana portlist updated. 461 46217 December 2010: Wouter 463 - squelch 'tcp connect: bla' in logfile, (set verbosity 2 to see them). 464 - fix validation in this case: CNAME to nodata for co-hosted opt-in 465 NSEC3 insecure delegation, was bogus, fixed to be insecure. 466 46716 December 2010: Wouter 468 - Fix our 'BDS' license (typo reported by Xavier Belanger). 469 47010 December 2010: Wouter 471 - iana portlist updated. 472 - review changes for unbound-anchor. 473 4742 December 2010: Wouter 475 - feature typetransparent localzone, does not block other RR types. 476 4771 December 2010: Wouter 478 - Fix bug#338: print address when socket creation fails. 479 48030 November 2010: Wouter 481 - Fix storage of EDNS failures in the infra cache. 482 - iana portlist updated. 483 48418 November 2010: Wouter 485 - harden-below-nxdomain option, default off (because very old 486 software may be incompatible). We could enable it by default in 487 the future. 488 48917 November 2010: Wouter 490 - implement draft-vixie-dnsext-resimprove-00, we stop on NXDOMAIN. 491 - make test output nicer. 492 49315 November 2010: Wouter 494 - silence 'tcp connect: broken pipe' and 'net down' at low verbosity. 495 - iana portlist updated. 496 - so-sndbuf option for very busy servers, a bit like so-rcvbuf. 497 4989 November 2010: Wouter 499 - unbound-anchor compiles with openssl 0.9.7. 500 5018 November 2010: Wouter 502 - release tag 1.4.7. 503 - trunk is version 1.4.8. 504 - Be lenient and accept imgw.pl malformed packet (like BIND). 505 5065 November 2010: Wouter 507 - do not synthesize a CNAME message from cache for qtype DS. 508 5094 November 2010: Wouter 510 - Use central entropy to seed threads. 511 5123 November 2010: Wouter 513 - Change the rtt used to probe EDNS-timeout hosts to 1000 msec. 514 5152 November 2010: Wouter 516 - tag 1.4.7rc1. 517 - code review. 518 5191 November 2010: Wouter 520 - GOST code enabled by default (RFC 5933). 521 52227 October 2010: Wouter 523 - Fix uninit value in dump_infra print. 524 - Fix validation failure for parent and child on same server with an 525 insecure childzone and a CNAME from parent to child. 526 - Configure detects libev-4.00. 527 52826 October 2010: Wouter 529 - dump_infra and flush_infra commands for unbound-control. 530 - no timeout backoff if meanwhile a query succeeded. 531 - Change of timeout code. No more lost and backoff in blockage. 532 At 12sec timeout (and at least 2x lost before) one probe per IP 533 is allowed only. At 120sec, the IP is blocked. After 15min, a 534 120sec entry has a single retry packet. 535 53625 October 2010: Wouter 537 - Configure errors if ldns is not found. 538 53922 October 2010: Wouter 540 - Windows 7 fix for the installer. 541 54221 October 2010: Wouter 543 - Fix bug where fallback_tcp causes wrong roundtrip and edns 544 observation to be noted in cache. Fix bug where EDNSprobe halted 545 exponential backoff if EDNS status unknown. 546 - new unresponsive host method, exponentially increasing block backoff. 547 - iana portlist updated. 548 54920 October 2010: Wouter 550 - interface automatic works for some people with ip6 disabled. 551 Therefore the error check is removed, so they can use the option. 552 55319 October 2010: Wouter 554 - Fix for request list growth, if a server has long timeout but the 555 lost counter is low, then its effective rtt is the one without 556 exponential backoff applied. Because the backoff is not working. 557 The lost counter can then increase and the server is blacklisted, 558 or the lost counter does not increase and the server is working 559 for some queries. 560 56118 October 2010: Wouter 562 - iana portlist updated. 563 56413 October 2010: Wouter 565 - Fix TCP so it uses a random outgoing-interface. 566 - unbound-anchor handles ADDPEND keystate. 567 56811 October 2010: Wouter 569 - Fix bug when DLV below a trust-anchor that uses NSEC3 optout where 570 the zone has a secure delegation hosted on the same server did not 571 verify as secure (it was insecure by mistake). 572 - iana portlist updated. 573 - ldns tarball updated (for reading cachedumps with bad RR data). 574 5751 October 2010: Wouter 576 - test for unbound-anchor. fix for reading certs. 577 - Fix alloc_reg_release for longer uptime in out of memory conditions. 578 57928 September 2010: Wouter 580 - unbound-anchor working, it creates or updates a root.key file. 581 Use it before you start the validator (e.g. at system boot time). 582 58327 September 2010: Wouter 584 - iana portlist updated. 585 58624 September 2010: Wouter 587 - bug#329: in example.conf show correct ipv4 link-local 169.254/16. 588 58923 September 2010: Wouter 590 - unbound-anchor app, unbound requires libexpat (xml parser library). 591 59222 September 2010: Wouter 593 - compliance with draft-ietf-dnsop-default-local-zones-14, removed 594 reverse ipv6 orchid prefix from builtin list. 595 - iana portlist updated. 596 59717 September 2010: Wouter 598 - DLV has downgrade protection again, because the RFC says so. 599 - iana portlist updated. 600 60116 September 2010: Wouter 602 - Algorithm rollover operational reality intrudes, for trust-anchor, 603 5011-store, and DLV-anchor if one key matches it's good enough. 604 - iana portlist updated. 605 - Fix reported validation error in out of memory condition. 606 60715 September 2010: Wouter 608 - Abide RFC5155 section 9.2: no AD flag for replies with NSEC3 optout. 609 61014 September 2010: Wouter 611 - increased mesh-max-activation from 1000 to 3000 for crazy domains 612 like _tcp.slb.com with 262 servers. 613 - iana portlist updated. 614 61513 September 2010: Wouter 616 - bug#327: Fix for cannot access stub zones until the root is primed. 617 6189 September 2010: Wouter 619 - unresponsive servers are not completely blacklisted (because of 620 firewalls), but also not probed all the time (because of the request 621 list size it generates). The probe rate is 1%. 622 - iana portlist updated. 623 62420 August 2010: Wouter 625 - openbsd-lint fixes: acl_list_get_mem used if debug-alloc enabled. 626 iterator get_mem includes priv_get_mem. delegpt nodup removed. 627 listen_pushback, query_info_allocqname, write_socket, send_packet, 628 comm_point_set_cb_arg and listen_resume removed. 629 63019 August 2010: Wouter 631 - Fix bug#321: resolution of rs.ripe.net artifacts with 0x20. 632 Delegpt structures checked for duplicates always. 633 No more nameserver lookups generated when depth is full anyway. 634 - example.conf notes how to do DNSSEC validation and track the root. 635 - iana portlist updated. 636 63718 August 2010: Wouter 638 - Fix bug#322: configure does not respect CFLAGS on Solaris. 639 Pass CFLAGS="-xO4 -xtarget=generic" on the configure command line 640 if use sun-cc, but some systems need different flags. 641 64216 August 2010: Wouter 643 - Fix acx_nlnetlabs.m4 configure output for autoconf-2.66 AS_TR_CPP 644 changes, uses m4_bpatsubst now. 645 - make test (or make check) should be more portable and run the unit 646 test and testbound scripts. (make longtest has special requirements). 647 64813 August 2010: Wouter 649 - More pleasant remote control command parsing. 650 - documentation added for return values reported by doxygen 1.7.1. 651 - iana portlist updated. 652 6539 August 2010: Wouter 654 - Fix name of rrset printed that failed validation. 655 6565 August 2010: Wouter 657 - Return NXDOMAIN after chain of CNAMEs ends at name-not-found. 658 6594 August 2010: Wouter 660 - Fix validation in case a trust anchor enters into a zone with 661 unsupported algorithms. 662 6633 August 2010: Wouter 664 - updated ldns tarball with bugfixes. 665 - release tag 1.4.6. 666 - trunk becomes 1.4.7 develop. 667 - iana portlist updated. 668 66922 July 2010: Wouter 670 - more error details on failed remote control connection. 671 67215 July 2010: Wouter 673 - rlimit adjustments for select and ulimit can happen at the same time. 674 67514 July 2010: Wouter 676 - Donation text added to README. 677 - Fix integer underflow in prefetch ttl creation from cache. This 678 fixes a potential negative prefetch ttl. 679 68012 July 2010: Wouter 681 - Changed the defaults for num-queries-per-thread/outgoing-range. 682 For builtin-select: 512/960, for libevent 1024/4096 and for 683 windows 24/48 (because of win api). This makes the ratio this way 684 to improve resilience under heavy load. For high performance, use 685 libevent and possibly higher numbers. 686 68710 July 2010: Wouter 688 - GOST enabled if SSL is recent and ldns has GOST enabled too. 689 - ldns tarball updated. 690 6919 July 2010: Wouter 692 - iana portlist updated. 693 - Fix validation of qtype DNSKEY when a key-cache entry exists but 694 no rr-cache entry is used (it expired or prefetch), it then goes 695 back up to the DS or trust-anchor to validate the DNSKEY. 696 6977 July 2010: Wouter 698 - Neat function prototypes, unshadowed local declarations. 699 7006 July 2010: Wouter 701 - failure to chown the pidfile is not fatal any more. 702 - testbound uses UTC timezone. 703 - ldns tarball updated (ports and works on Minix 3.1.7). On Minix, add 704 /usr/gnu/bin to PATH, use ./configure AR=/usr/gnu/bin/gar and gmake. 705 7065 July 2010: Wouter 707 - log if a server is skipped because it is on the donotquery list, 708 at verbosity 4, to enable diagnosis why no queries to 127.0.0.1. 709 - added feature to print configure date, target and options with -h. 710 - added feature to print event backend system details with -h. 711 - wdiff is not actually required by make test, updated requirements. 712 7131 July 2010: Wouter 714 - Fix RFC4035 compliance with 2.2 statement that the DNSKEY at apex 715 must be signed with all algorithms from the DS rrset at the parent. 716 This is now checked and becomes bogus if not. 717 71828 June 2010: Wouter 719 - Fix jostle list bug found by Vince (luoce@cnnic), it caused the qps 720 in overload situations to be about 5 qps for the class of shortly 721 serviced queries. 722 The capacity of the resolver is then about (numqueriesperthread / 2) 723 / (average time for such long queries) qps for long queries. 724 And about (numqueriesperthread / 2)/(jostletimeout in whole seconds) 725 qps for short queries, per thread. 726 - Fix the max number of reply-address count to be applied for duplicate 727 queries, and not for new query list entries. This raises the memory 728 usage to a max of (16+1)*numqueriesperthread reply addresses. 729 73025 June 2010: Wouter 731 - Fix handling of corner case reply from lame server, follows rfc2308. 732 It could lead to a nodata reply getting into the cache if the search 733 for a non-lame server turned up other misconfigured servers. 734 - unbound.h has extern "C" statement for easier include in c++. 735 73623 June 2010: Wouter 737 - iana portlist updated. 738 - makedist upgraded cross compile openssl option, like this: 739 ./makedist.sh -s -wssl openssl-1.0.0a.tar.gz -w --enable-gost 740 74122 June 2010: Wouter 742 - Unbound reports libev or libevent correctly in logs in verbose mode. 743 - Fix to unload gost dynamic library module for leak testing. 744 74518 June 2010: Wouter 746 - iana portlist updated. 747 74817 June 2010: Wouter 749 - Add AAAA to root hints for I.ROOT-SERVERS.NET. 750 75116 June 2010: Wouter 752 - Fix assertion failure reported by Kai Storbeck from XS4ALL, the 753 assertion was wrong. 754 - updated ldns tarball. 755 75615 June 2010: Wouter 757 - tag 1.4.5 created. 758 - trunk contains 1.4.6 in development. 759 - Fix TCPreply on systems with no writev, if just 1 byte could be sent. 760 - Fix to use one pointer less for iterator query state store_parent_NS. 761 - makedist crosscompile to windows uses builtin ldns not host ldns. 762 - Max referral count from 30 to 130, because 128 one character domains 763 is valid DNS. 764 - added documentation for the histogram printout to syslog. 765 76611 June 2010: Wouter 767 - When retry to parent the retrycount is not wiped, so failed 768 nameservers are not tried again. 769 - iana portlist updated. 770 77110 June 2010: Wouter 772 - Fix bug where a long loop could be entered, now cycle detection 773 has a loop-counter and maximum search amount. 774 7754 June 2010: Wouter 776 - iana portlist updated. 777 - 1.4.5rc1 tag created. 778 7793 June 2010: Wouter 780 - ldns tarball updated, 1.6.5. 781 - review comments, split dependency cycle tracking for parentside 782 last resort lookups for A and AAAA so there are more lookup options. 783 7842 June 2010: Wouter 785 - Fix compile warning if compiled without threads. 786 - updated ldns-tarball with current ldns svn (pre 1.6.5). 787 - GOST disabled-by-default, the algorithm number is allocated but the 788 RFC is still has to pass AUTH48 at the IETF. 789 7901 June 2010: Wouter 791 - Ignore Z flag in incoming messages too. 792 - Fix storage of negative parent glue if that last resort fails. 793 - libtoolize 2.2.6b, autoconf 2.65 applied to configure. 794 - new splint flags for newer splint install. 795 79631 May 2010: Wouter 797 - Fix AD flag handling, it could in some cases mistakenly copy the AD 798 flag from upstream servers. 799 - alloc_special_obtain out of memory is not a fatal error any more, 800 enabling unbound to continue longer in out of memory conditions. 801 - parentside names are dispreferred but not said to be dnssec-lame. 802 - parentside check for cached newname glue. 803 - fix parentside and querytargets modulestate, for dump_requestlist. 804 - unbound-control-setup makes keys -rw-r--- so not all users permitted. 805 - fix parentside from cache to be marked dispreferred for bad names. 806 80728 May 2010: Wouter 808 - iana portlist updated. 809 - parent-child disagreement approach altered. Older fixes are 810 removed in place of a more exhaustive search for misconfigured data 811 available via the parent of a delegation. 812 This is designed to be throttled by cache entries, with TTL from the 813 parent if possible. Additionally the loop-counter is used. 814 It also tests for NS RRset differences between parent and child. 815 The fetch of misconfigured data should be more reliable and thorough. 816 It should work reliably even with no or only partial data in cache. 817 Data received from the child (as always) is deemed more 818 authoritative than information received from the delegation parent. 819 The search for misconfigured data is not performed normally. 820 82126 May 2010: Wouter 822 - Contribution from Migiel de Vos (Surfnet): nagios patch for 823 unbound-host, in contrib/ (in the source tarball). Makes 824 unbound-host suitable for monitoring dnssec(-chain) status. 825 82621 May 2010: Wouter 827 - EDNS timeout code will not fire if EDNS status already known. 828 - EDNS failure not stored if EDNS status known to work. 829 83019 May 2010: Wouter 831 - Fix resolution for domains like safesvc.com.cn. If the iterator 832 can not recurse further and it finds the delegation in a state 833 where it would otherwise have rejected it outhand if so received 834 from a cache lookup, then it can try to ask higherup (with loop 835 protection). 836 - Fix comments in iter_utils:dp_is_useless. 837 83818 May 2010: Wouter 839 - Fix various compiler warnings from the clang llvm compiler. 840 - iana portlist updated. 841 8426 May 2010: Wouter 843 - Fix bug#308: spelling error in variable name in parser and lexer. 844 8454 May 2010: Wouter 846 - Fix dnssec-missing detection that was turned off by server selection. 847 - Conforms to draft-ietf-dnsop-default-local-zones-13. Added default 848 reverse lookup blocks for IPv4 test nets 100.51.198.in-addr.arpa, 849 113.0.203.in-addr.arpa and Orchid prefix 0.1.1.0.0.2.ip6.arpa. 850 85129 April 2010: Wouter 852 - Fix for dnssec lameness detection to use the key cache. 853 - infra cache entries that are expired are wiped clean. Previously 854 it was possible to not expire host data (if accessed often). 855 85628 April 2010: Wouter 857 - ldns tarball updated and GOST support is detected and then enabled. 858 - iana portlist updated. 859 - Fix detection of gost support in ldns (reported by Chris Smith). 860 86127 April 2010: Wouter 862 - unbound-control get_option domain-insecure shows config file items. 863 - fix retry sequence if prime hints are recursion-lame. 864 - autotrust anchor file can be initialized with a ZSK key as well. 865 - harden-referral-path does not result in failures due to max-depth. 866 You can increase the max-depth by adding numbers (' 0') after the 867 target-fetch-policy, this increases the depth to which is checked. 868 86926 April 2010: Wouter 870 - Compile fix using Sun Studio 12 compiler on Solaris 5.9, use 871 CPPFLAGS during configure process. 872 - if libev is installed on the base system (not libevent), detect 873 it from the event.h header file and link with -lev. 874 - configlexer.lex gets config.h, and configyyrename.h added by make, 875 no more double include. 876 - More strict scrubber (Thanks to George Barwood for the idea): 877 NS set must be pertinent to the query (qname subdomain nsname). 878 - Fix bug#307: In 0x20 backoff fix fallback so the number of 879 outstanding queries does not become -1 and block the request. 880 Fixed handling of recursion-lame in combination with 0x20 fallback. 881 Fix so RRsets are compared canonicalized and sorted if the immediate 882 comparison fails, this makes it work around round-robin sites. 883 88423 April 2010: Wouter 885 - Squelch log message: sendto failed permission denied for 886 255.255.255.255, it is visible in VERB_DETAIL (verbosity 2). 887 - Fix to fetch data as last resort more tenaciously. When cycle 888 targets cause the server selection to believe there are more options 889 when they really are not there, the server selection is reinitiated. 890 - Fix fetch from blacklisted dnssec lame servers as last resort. The 891 server's IP address is then given in validator errors as well. 892 - Fix local-zone type redirect that did not use the query name for 893 the answer rrset. 894 89522 April 2010: Wouter 896 - tag 1.4.4. 897 - trunk contains 1.4.5 in development. 898 - Fix validation failure for qtype ANY caused by a RRSIG parse failure. 899 The validator error message was 'no signatures from ...'. 900 90116 April 2010: Wouter 902 - more portability defines for CMSG_SPACE, CMSG_ALIGN, CMSG_LEN. 903 - tag 1.4.4rc1. 904 90515 April 2010: Wouter 906 - ECC-GOST algorithm number 12 that is assigned by IANA. New test 907 example key and signatures for GOST. GOST requires openssl-1.0.0. 908 GOST is still disabled by default. 909 9109 April 2010: Wouter 911 - Fix bug#305: pkt_dname_tolower could read beyond end of buffer or 912 get into an endless loop, if 0x20 was enabled, and buffers are small 913 or particular broken packets are received. 914 - Fix chain of trust with CNAME at an intermediate step, for the DS 915 processing proof. 916 9178 April 2010: Wouter 918 - Fix validation of queries with wildcard names (*.example). 919 9206 April 2010: Wouter 921 - Fix EDNS probe for .de DNSSEC testbed failure, where the infra 922 cache timeout coincided with a server update, the current EDNS 923 backoff is less sensitive, and does not cache the backoff unless 924 the backoff actually works and the domain is not expecting DNSSEC. 925 - GOST support with correct algorithm numbers. 926 9271 April 2010: Wouter 928 - iana portlist updated. 929 93024 March 2010: Wouter 931 - unbound control flushed items are not counted when flushed again. 932 93323 March 2010: Wouter 934 - iana portlist updated. 935 93622 March 2010: Wouter 937 - unbound-host disables use-syslog from config file so that the 938 config file for the main server can be used more easily. 939 - fix bug#301: unbound-checkconf could not parse interface 940 '0.0.0.0@5353', even though unbound itself worked fine. 941 94219 March 2010: Wouter 943 - fix fwd_ancil test to pass if the socket options are not supported. 944 94518 March 2010: Wouter 946 - Fixed random numbers for port, interface and server selection. 947 Removed very small bias. 948 - Refer to the listing in unbound-control man page in the extended 949 statistics entry in the unbound.conf man page. 950 95116 March 2010: Wouter 952 - Fix interface-automatic for OpenBSD: msg.controllen was too small, 953 also assertions on ancillary data buffer. 954 - check for IP_SENDSRCADDR for interface-automatic or IP_PKTINFO. 955 - for NSEC3 check if signatures are cached. 956 95715 March 2010: Wouter 958 - unit test for util/regional.c. 959 96012 March 2010: Wouter 961 - Reordered configure checks so fork and -lnsl -lsocket checks are 962 earlier, and thus later checks benefit from and do not hinder them. 963 - iana portlist updated. 964 - ldns tarball updated. 965 - Fix python use when multithreaded. 966 - Fix solaris python compile. 967 - Include less in config.h and include per code file for ldns, ssl. 968 96911 March 2010: Wouter 970 - another memory allocation option: --enable-alloc-nonregional. 971 exposes the regional allocations to other memory purifiers. 972 - fix for memory alignment in struct sock_list allocation. 973 - Fix for MacPorts ldns without ssl default, unbound checks if ldns 974 has dnssec functionality and uses the builtin if not. 975 - Fix daemonize on Solaris 10, it did not detach from terminal. 976 - tag 1.4.3 created. 977 - trunk is 1.4.4 in development. 978 - spelling fix in validation error involving cnames. 979 98010 March 2010: Wouter 981 - --enable-alloc-lite works with test set. 982 - portability in the testset: printf format conversions, prototypes. 983 9849 March 2010: Wouter 985 - tag 1.4.2 created. 986 - trunk is 1.4.3 in development. 987 - --enable-alloc-lite debug option. 988 9898 March 2010: Wouter 990 - iana portlist updated. 991 9924 March 2010: Wouter 993 - Fix crash in control channel code. 994 9953 March 2010: Wouter 996 - better casts in pipe code, brackets placed wrongly. 997 - iana portlist updated. 998 9991 March 2010: Wouter 1000 - make install depends on make all. 1001 - Fix 5011 auto-trust-anchor-file initial read to skip RRSIGs. 1002 - --enable-checking: enables assertions but does not look nonproduction. 1003 - nicer VERB_DETAIL (verbosity 2, unbound-host -d) output, with 1004 nxdomain and nodata distinguished. 1005 - ldns tarball updated. 1006 - --disable-rpath fixed for libtool not found errors. 1007 - new fedora specfile from Fedora13 in contrib from Paul Wouters. 1008 100926 February 2010: Wouter 1010 - Fixup prototype for lexer cleanup in daemon code. 1011 - unbound-control list_stubs, list_forwards, list_local_zones and 1012 list_local_data. 1013 101424 February 2010: Wouter 1015 - Fix scrubber bug that potentially let NS records through. Reported 1016 by Amanda Constant. 1017 - Also delete potential poison references from additional. 1018 - Fix: no classification of a forwarder as lame, throw away instead. 1019 102023 February 2010: Wouter 1021 - libunbound ub_ctx_get_option() added. 1022 - unbound-control set_option and get_option commands. 1023 - iana portlist updated. 1024 102518 February 2010: Wouter 1026 - A little more strict DS scrubbing. 1027 - No more blacklisting of unresponsive servers, a 2 minute timeout 1028 is backed off to. 1029 - RD flag not enabled for dnssec-blacklisted tries, unless necessary. 1030 - pickup ldns compile fix, libdl for libcrypto. 1031 - log 'tcp connect: connection timed out' only in high verbosity. 1032 - unbound-control log_reopen command. 1033 - moved get_option code from unbound-checkconf to util/config_file.c 1034 103517 February 2010: Wouter 1036 - Disregard DNSKEY from authority section for chain of trust. 1037 DS records that are irrelevant to a referral scrubbed. Anti-poison. 1038 - iana portlist updated. 1039 104016 February 2010: Wouter 1041 - Check for 'no space left on device' (or other errors) when 1042 writing updated autotrust anchors and print errno to log. 1043 104415 February 2010: Wouter 1045 - Fixed the requery protection, the TTL was 0, it is now 900 seconds, 1046 hardcoded. We made the choice to send out more conservatively, 1047 protecting against an aggregate effect more than protecting a 1048 single user (from their own folly, perhaps in case of misconfig). 1049 105012 February 2010: Wouter 1051 - Re-query pattern changed on validation failure. To protect troubled 1052 authority servers, unbound caches a failure for the DNSKEY or DS 1053 records for the entire zone, and only retries that 900 seconds later. 1054 This implies that only a handful of packets are sent extra to the 1055 authority if the zone fails. 1056 105711 February 2010: Wouter 1058 - ldns tarball update for long label length syntax error fix. 1059 - iana portlist updated. 1060 10619 February 2010: Wouter 1062 - Fixup in compat snprintf routine, %f 1.02 and %g support. 1063 - include math.h for testbound test compile portability. 1064 10652 February 2010: Wouter 1066 - Updated url of IANA itar, interim trust anchor repository, in script. 1067 10681 February 2010: Wouter 1069 - iana portlist updated. 1070 - configure test for memcmp portability. 1071 107227 January 2010: Wouter 1073 - removed warning on format string in validator error log statement. 1074 - iana portlist updated. 1075 107622 January 2010: Wouter 1077 - libtool finish the install of unbound python dynamic library. 1078 107921 January 2010: Wouter 1080 - acx_nlnetlabs.m4 synchronised with nsd's version. 1081 108220 January 2010: Wouter 1083 - Fixup lookup trouble for parent-child domains on the first query. 1084 108514 January 2010: Wouter 1086 - Fixup ldns detection to also check for header files. 1087 108813 January 2010: Wouter 1089 - prefetch-key option that performs DNSKEY queries earlier in the 1090 validation process, and that could halve the latency on DNSSEC 1091 queries. It takes some extra processing (CPU, a cache is needed). 1092 109312 January 2010: Wouter 1094 - Fix unbound-checkconf for auto-trust-anchor-file present checks. 1095 10968 January 2010: Wouter 1097 - Fix for parent-child disagreement code which could have trouble 1098 when (a) ipv6 was disabled and (b) the TTL for parent and child 1099 were different. There were two bugs, the parent-side information 1100 is fixed to no longer block lookup of child side information and 1101 the iterator is fixed to no longer attempt to get ipv6 when it is 1102 not enabled and then give up in failure. 1103 - test and fixes to make prefetch actually store the answer in the 1104 cache. Considers some rrsets 'already expired' but does not allow 1105 overwriting of rrsets considered more secure. 1106 11077 January 2010: Wouter 1108 - Fixup python documentation (thanks Leo Vandewoestijne). 1109 - Work on cache prefetch feature. 1110 - Stats for prefetch, in log print stats, unbound-control stats 1111 and in unbound_munin plugin. 1112 11136 January 2010: Wouter 1114 - iana portlist updated. 1115 - bug#291: DNS wireformat max is 255. dname_valid allowed 256 length. 1116 - verbose output includes parent-side-address notion for lameness. 1117 - documented val-log-level: 2 setting in example.conf and man page. 1118 - change unbound-control-setup from 1024(sha1) to 1536(sha256). 1119 11201 January 2010: Wouter 1121 - iana portlist updated. 1122 112322 December 2009: Wouter 1124 - configure with newer libtool 2.2.6b. 1125 112617 December 2009: Wouter 1127 - review comments. 1128 - tag 1.4.1. 1129 - trunk to version 1.4.2. 1130 113115 December 2009: Wouter 1132 - Answer to qclass=ANY queries, with class IN contents. 1133 Test that validation also works. 1134 - updated ldns snapshot tarball with latest fixes (parsing records). 1135 113611 December 2009: Wouter 1137 - on IPv4 UDP turn off DF flag. 1138 113910 December 2009: Wouter 1140 - requirements.txt updated with design choice explanations. 1141 - Reading fixes: fix to set unlame when child confirms parent glue, 1142 and fix to avoid duplicate addresses in delegation point. 1143 - verify_rrsig routine checks expiration last. 1144 11459 December 2009: Wouter 1146 - Fix Bug#287(reopened): update of ldns tarball with fix for parse 1147 errors generated for domain names like '.example.com'. 1148 - Fix SOA excluded from negative DS responses. Reported by Hauke 1149 Lampe. The negative cache did not include proper SOA records for 1150 negative qtype DS responses which makes BIND barf on it, such 1151 responses are now only used internally. 1152 - Fix negative cache lookup of closestencloser check of DS type bit. 1153 11548 December 2009: Wouter 1155 - Fix for lookup of parent-child disagreement domains, where the 1156 parent-side glue works but it does not provide proper NS, A or AAAA 1157 for itself, fixing domains such as motorcaravanners.eu. 1158 - Feature: you can specify a port number in the interface: line, so 1159 you can bind the same interface multiple times at different ports. 1160 11617 December 2009: Wouter 1162 - Bug#287: Fix segfault when unbound-control remove nonexistent local 1163 data. Added check to tests. 1164 11651 December 2009: Wouter 1166 - Fix crash with module-config "iterator". 1167 - Added unit test that has "iterator" module-config. 1168 116930 November 2009: Wouter 1170 - bug#284: fix parse of # without end-of-line at end-of-file. 1171 117226 November 2009: Wouter 1173 - updated ldns with release candidate for version 1.6.3. 1174 - tag for 1.4.0 release. 1175 - 1.4.1 version in trunk. 1176 - Fixup major libtool version to 2 because of why_bogus change. 1177 It was 1:5:0 but should have been 2:0:0. 1178 117923 November 2009: Wouter 1180 - Patch from David Hubbard for libunbound manual page. 1181 - Fixup endless spinning in unbound-control stats reported by 1182 Attila Nagy. Probably caused by clock reversal. 1183 118420 November 2009: Wouter 1185 - contrib/split-itar.sh contributed by Tom Hendrikx. 1186 118719 November 2009: Wouter 1188 - better argument help for unbound-control. 1189 - iana portlist updated. 1190 119117 November 2009: Wouter 1192 - noted multiple entries for multiple domain names in example.conf. 1193 - iana portlist updated. 1194 119516 November 2009: Wouter 1196 - Fixed signer detection of CNAME responses without signatures. 1197 - Fix#282 libunbound memleak on error condition by Eric Sesterhenn. 1198 - Tests for CNAMEs to deeper trust anchors, secure and bogus. 1199 - svn tag 1.4.0rc1 made. 1200 120113 November 2009: Wouter 1202 - Fixed validation failure for CNAME to optout NSEC3 nodata answer. 1203 - unbound-host does not fail on type ANY. 1204 - Fixed wireparse failure to put RRSIGs together with data in some 1205 long ANY mix cases, which fixes validation failures. 1206 120712 November 2009: Wouter 1208 - iana portlist updated. 1209 - fix manpage errors reported by debian lintian. 1210 - review comments. 1211 - fixup very long vallog2 level error strings. 1212 121311 November 2009: Wouter 1214 - ldns tarball updated (to 1.6.2). 1215 - review comments. 1216 121710 November 2009: Wouter 1218 - Thanks to Surfnet found bug in new dnssec-retry code that failed 1219 to combine well when combined with DLV and a particular failure. 1220 - Fixed unbound-control -h output about argument optionality. 1221 - review comments. 1222 12235 November 2009: Wouter 1224 - lint fixes and portability tests. 1225 - better error text for multiple domain keys in one autotrust file. 1226 12272 November 2009: Wouter 1228 - Fix bug where autotrust does not work when started with a DS. 1229 - Updated GOST unit tests for unofficial algorithm number 249 1230 and DNSKEY-format changes in draft version -01. 1231 123229 October 2009: Wouter 1233 - iana portlist updated. 1234 - edns-buffer-size option, default 4096. 1235 - fixed do-udp: no. 1236 123728 October 2009: Wouter 1238 - removed abort on prealloc failure, error still printed but softfail. 1239 - iana portlist updated. 1240 - RFC 5702: RSASHA256 and RSASHA512 support enabled by default. 1241 - ldns tarball updated (which also enables rsasha256 support). 1242 124327 October 2009: Wouter 1244 - iana portlist updated. 1245 12468 October 2009: Wouter 1247 - please doxygen 1248 - add val-log-level print to corner case (nameserver.epost.bg). 1249 - more detail to errors from insecure delegation checks. 1250 - Fix double time subtraction in negative cache reported by 1251 Amanda Constant and Hugh Mahon. 1252 - Made new validator error string available from libunbound for 1253 applications. It is in result->why_bogus, a zero-terminated string. 1254 unbound-host prints it by default if a result is bogus. 1255 Also the errinf is public in module_qstate (for other modules). 1256 12577 October 2009: Wouter 1258 - retry for validation failure in DS and prime results. Less mem use. 1259 unit test. Provisioning in other tests for requeries. 1260 - retry for validation failure in DNSKEY in middle of chain of trust. 1261 unit test. 1262 - retry for empty non terminals in chain of trust and unit test. 1263 - Fixed security bug where the signatures for NSEC3 records were not 1264 checked when checking for absence of DS records. This could have 1265 enabled the substitution of an insecure delegation. 1266 - moved version number to 1.4.0 because of 1.3.4 release with only 1267 the NSEC3 patch from the entry above. 1268 - val-log-level: 2 shows extended error information for validation 1269 failures, but still one (longish) line per failure. For example: 1270 validation failure <example.com. DNSKEY IN>: signature expired from 1271 192.0.2.4 for trust anchor example.com. while building chain of trust 1272 validation failure <www.example.com. A IN>: no signatures from 1273 192.0.2.6 for key example.com. while building chain of trust 1274 12756 October 2009: Wouter 1276 - Test set updated to provide additional ns lookup result. 1277 The retry would attempt to fetch the data from other nameservers 1278 for bogus data, and this needed to be provisioned in the tests. 1279 12805 October 2009: Wouter 1281 - first validation failure retry code. Retries for data failures. 1282 And unit test. 1283 12842 October 2009: Wouter 1285 - improve 5011 modularization. 1286 - fix unbound-host so -d can be given before -C. 1287 - iana portlist updated. 1288 128928 September 2009: Wouter 1290 - autotrust-anchor-file can read multiline input and $ORIGIN. 1291 - prevent integer overflow in holddown calculation. review fixes. 1292 - fixed race condition in trust point revocation. review fix. 1293 - review fixes to comments, removed unused code. 1294 129525 September 2009: Wouter 1296 - so-rcvbuf: 4m option added. Set this on large busy servers to not 1297 drop the occasional packet in spikes due to full socket buffers. 1298 netstat -su keeps a counter of UDP dropped due to full buffers. 1299 - review of validator/autotrust.c, small fixes and comments. 1300 130123 September 2009: Wouter 1302 - 5011 query failed counts verification failures, not lookup failures. 1303 - 5011 probe failure handling fixup. 1304 - test unbound reading of original autotrust data. 1305 The metadata per-key, such as key state (PENDING, MISSING, VALID) is 1306 picked up, otherwise performs initial probe like usual. 1307 130822 September 2009: Wouter 1309 - autotrust test with algorithm rollover, new ordering of checks 1310 assists in orderly rollover. 1311 - autotrust test with algorithm rollover to unknown algorithm. 1312 checks if new keys are supported before adding them. 1313 - autotrust test with trust point revocation, becomes unsigned. 1314 - fix DNSSEC-missing-signature detection for minimal responses 1315 for qtype DNSKEY (assumes DNSKEY occurs at zone apex). 1316 131718 September 2009: Wouter 1318 - autotrust tests, fix trustpoint timer deletion code. 1319 fix count of valid anchors during missing remove. 1320 - autotrust: pick up REVOKE even if not signed with known other keys. 1321 132217 September 2009: Wouter 1323 - fix compile of unbound-host when --enable-alloc-checks. 1324 - Fix lookup problem reported by Koh-ichi Ito and Jaap Akkerhuis. 1325 - Manual page fixes reported by Tony Finch. 1326 132716 September 2009: Wouter 1328 - Fix memory leak reported by Tao Ma. 1329 - Fix memstats test tool for log-time-ascii log format. 1330 133115 September 2009: Wouter 1332 - iana portlist updated. 1333 133410 September 2009: Wouter 1335 - increased MAXSYSLOGLEN so .bg key can be printed in debug output. 1336 - use linebuffering for log-file: output, this can be significantly 1337 faster than the previous fflush method and enable some class of 1338 resolvers to use high verbosity (for short periods). 1339 Not on windows, because line buffering does not work there. 1340 13419 September 2009: Wouter 1342 - Fix bug where DNSSEC-bogus messages were marked with too high TTL. 1343 The RRsets would still expire at the normal time, but this would 1344 keep messages bogus in the cache for too long. 1345 - regression test for that bug. 1346 - documented that load_cache is meant for debugging. 1347 13488 September 2009: Wouter 1349 - fixup printing errors when load_cache, they were printed to the 1350 SSL connection which broke, now to the log. 1351 - new ldns - with fixed parse of large SOA values. 1352 13537 September 2009: Wouter 1354 - autotrust testbound scenarios. 1355 - autotrust fix that failure count is written to file. 1356 - autotrust fix that keys may become valid after add holddown time 1357 alone, before the probe returns. 1358 13594 September 2009: Wouter 1360 - Changes to make unbound work with libevent-2.0.3 alpha. (in 1361 configure detection due to new ssl dependency in libevent) 1362 - do not call sphinx for documentation when python is disabled. 1363 - remove EV_PERSIST from libevent timeout code to make the code 1364 compatible with the libevent-2.0. Works with older libevent too. 1365 - fix memory leak in python code. 1366 13673 September 2009: Wouter 1368 - Got a patch from Luca Bruno for libunbound support on windows to 1369 pick up the system resolvconf nameservers and hosts there. 1370 - included ldns updated (enum warning fixed). 1371 - makefile fix for parallel makes. 1372 - Patch from Zdenek Vasicek and Attila Nagy for using the source IP 1373 from python scripts. See pythonmod/examples/resip.py. 1374 - doxygen comment fixes. 1375 13762 September 2009: Wouter 1377 - TRAFFIC keyword for testbound. Simplifies test generation. 1378 ${range lower val upper} to check probe timeout values. 1379 - test with 5011-prepublish rollover and revocation. 1380 - fix revocation of RR for autotrust, stray exclamation mark. 1381 13821 September 2009: Wouter 1383 - testbound variable arithmetic. 1384 - autotrust probe time is randomised. 1385 - autotrust: the probe is active and does not fetch from cache. 1386 138731 August 2009: Wouter 1388 - testbound variable processing. 1389 139028 August 2009: Wouter 1391 - fixup unbound-control lookup to print forward and stub servers. 1392 139327 August 2009: Wouter 1394 - autotrust: mesh answer callback is empty. 1395 139626 August 2009: Wouter 1397 - autotrust probing. 1398 - iana portlist updated. 1399 140025 August 2009: Wouter 1401 - fixup memleak in trust anchor unsupported algorithm check. 1402 - iana portlist updated. 1403 - autotrust options: add-holddown, del-holddown, keep-missing. 1404 - autotrust store revoked status of trust points. 1405 - ctime_r compat definition. 1406 - detect yylex_destroy() in configure. 1407 - detect SSL_get_compression_methods declaration in configure. 1408 - fixup DS lookup at anchor point with unsigned parent. 1409 - fixup DLV lookup for DS queries to unsigned domains. 1410 141124 August 2009: Wouter 1412 - cleaner memory allocation on exit. autotrust test routines. 1413 - free all memory on program exit, fix for ssl and flex. 1414 141521 August 2009: Wouter 1416 - autotrust: debug routines. Read,write and conversions work. 1417 141820 August 2009: Wouter 1419 - autotrust: save and read trustpoint variables. 1420 142119 August 2009: Wouter 1422 - autotrust: state table updates. 1423 - iana portlist updated. 1424 142517 August 2009: Wouter 1426 - autotrust: process events. 1427 142817 August 2009: Wouter 1429 - Fix so that servers are only blacklisted if they fail to reply 1430 to 16 queries in a row and the timeout gets above 2 minutes. 1431 - autotrust work, split up DS verification of DNSKEYs. 1432 143314 August 2009: Wouter 1434 - unbound-control lookup prints out infra cache information, like RTT. 1435 - Fix bug in DLV lookup reported by Amanda from Secure64. 1436 It could sometimes wrongly classify a domain as unsigned, which 1437 does not give the AD bit on replies. 1438 143913 August 2009: Wouter 1440 - autotrust read anchor files. locked trust anchors. 1441 144212 August 2009: Wouter 1443 - autotrust import work. 1444 144511 August 2009: Wouter 1446 - Check for openssl compatible with gost if enabled. 1447 - updated unit test for GOST=211 code. 1448 Nicer naming of test files. 1449 - iana portlist updated. 1450 14517 August 2009: Wouter 1452 - call OPENSSL_config() in unbound and unit test so that the 1453 operator can use openssl.cnf for configuration options. 1454 - removed small memory leak from config file reader. 1455 14566 August 2009: Wouter 1457 - configure --enable-gost for GOST support, experimental 1458 implementation of draft-dolmatov-dnsext-dnssec-gost-01. 1459 - iana portlist updated. 1460 - ldns tarball updated (with GOST support). 1461 14625 August 2009: Wouter 1463 - trunk moved to 1.3.4. 1464 14654 August 2009: Wouter 1466 - Added test that the examples from draft rsasha256-14 verify. 1467 - iana portlist updated. 1468 - tagged 1.3.3 1469 14703 August 2009: Wouter 1471 - nicer warning when algorithm not supported, tells you to upgrade. 1472 - iana portlist updated. 1473 147427 July 2009: Wouter 1475 - Updated unbound-cacti contribution from Dmitriy Demidov, with 1476 the queue statistics displayed in its own graph. 1477 - iana portlist updated. 1478 147922 July 2009: Wouter 1480 - Fix bug found by Michael Tokarev where unbound would try to 1481 prime the root servers even though forwarders are configured for 1482 the root. 1483 - tagged 1.3.3rc1 1484 148521 July 2009: Wouter 1486 - Fix server selection, so that it waits for open target queries when 1487 faced with lameness. 1488 148920 July 2009: Wouter 1490 - Ignore transient sendto errors, no route to host, and host, net down. 1491 - contrib/update-anchor.sh has -r option for root-hints. 1492 - feature val-log-level: 1 prints validation failures so you can 1493 keep track of them during dnssec deployment. 1494 149516 July 2009: Wouter 1496 - fix replacement malloc code. Used in crosscompile. 1497 - makedist -w creates crosscompiled setup.exe on fedora11. 1498 149915 July 2009: Wouter 1500 - dependencies for compat items, for crosscompile. 1501 - mingw32 crosscompile changes, dependencies and zipfile creation. 1502 and with System.dll from the windows NSIS you can make setup.exe. 1503 - package libgcc_s_sjlj exception handler for NSISdl.dll. 1504 150514 July 2009: Wouter 1506 - updated ldns tarball for solaris x64 compile assistance. 1507 - no need to define RAND_MAX from config.h. 1508 - iana portlist updated. 1509 - configure changes and ldns update for mingw32 crosscompile. 1510 151113 July 2009: Wouter 1512 - Fix for crash at start on windows. 1513 - tag for release 1.3.2. 1514 - trunk has version 1.3.3. 1515 - Fix for ID bits on windows to use all 16. RAND_MAX was not 1516 defined like you'd expect on mingw. Reported by Mees de Roo. 1517 15189 July 2009: Wouter 1519 - tag for release 1.3.1. 1520 - trunk has version 1.3.2. 1521 15227 July 2009: Wouter 1523 - iana portlist updated. 1524 15256 July 2009: Wouter 1526 - prettier error handling in SSL setup. 1527 - makedist.sh uname fix (same as ldns). 1528 - updated fedora spec file. 1529 15303 July 2009: Wouter 1531 - fixup linking when ldnsdir is "". 1532 153330 June 2009: Wouter 1534 - more lenient truncation checks. 1535 153629 June 2009: Wouter 1537 - ldns trunk r2959 imported as tarball, because of solaris cc compile 1538 support for c99. r2960 for better configure. 1539 - better wrongly_truncated check. 1540 - On Linux, fragment IPv6 datagrams to the IPv6 minimum MTU, to 1541 avoid dropped packets at routers. 1542 154326 June 2009: Wouter 1544 - Fix EDNS fallback when EDNS works for short answers but long answers 1545 are dropped. 1546 154722 June 2009: Wouter 1548 - fixup iter priv strict aliasing while preserving size of sockaddr. 1549 - iana portlist updated. (one less port allocated, one more fraction 1550 of a bit for security!) 1551 - updated fedora specfile in contrib from Paul Wouters. 1552 155319 June 2009: Wouter 1554 - Fixup strict aliasing warning in iter priv code. 1555 and config_file code. 1556 - iana portlist updated. 1557 - harden-referral-path: handle cases where NS is in answer section. 1558 155918 June 2009: Wouter 1560 - Fix of message parse bug where (specifically) an NSEC and RRSIG 1561 in the wrong order would be parsed, but put wrongly into internal 1562 structures so that later validation would fail. 1563 - Extreme lenience for wrongly truncated replies where a positive 1564 reply has an NS in the authority but no signatures. They are 1565 turned into minimal responses with only the (secure) answer. 1566 - autoconf 2.63 for configure. 1567 - python warnings suppress. Keep python API away from header files. 1568 156917 June 2009: Wouter 1570 - CREDITS entry for cz.nic, sponsoring a 'summer of code' that was 1571 used for the python code in unbound. (http://www.nic.cz/vip/ in cz). 1572 157316 June 2009: Wouter 1574 - Fixup opportunistic target query generation to it does not 1575 generate queries that are known to fail. 1576 - Touchup on munin total memory report. 1577 - messages picked out of the cache by the iterator are checked 1578 if their cname chain is still correct and if validation status 1579 has to be reexamined. 1580 158115 June 2009: Wouter 1582 - iana portlist updated. 1583 158414 June 2009: Wouter 1585 - Fixed bug where cached responses would lose their security 1586 status on second validation, which especially impacted dlv 1587 lookups. Reported by Hauke Lampe. 1588 158913 June 2009: Wouter 1590 - bug #254. removed random whitespace from example.conf. 1591 159212 June 2009: Wouter 1593 - Fixup potential wrong NSEC picked out of the cache. 1594 - If unfulfilled callbacks are deleted they are called with an error. 1595 - fptr wlist checks for mesh callbacks. 1596 - fwd above stub in configuration works. 1597 159811 June 2009: Wouter 1599 - Fix queries for type DS when forward or stub zones are there. 1600 They are performed to higherup domains, and thus treated as if 1601 going to higher zones when looking up the right forward or stub 1602 server. This makes a stub pointing to a local server that has 1603 a local view of example.com signed with the same keys as are 1604 publicly used work. Reported by Johan Ihren. 1605 - Added build-unbound-localzone-from-hosts.pl to contrib, from 1606 Dennis DeDonatis. It converts /etc/hosts into config statements. 1607 - same thing fixed for forward-zone and DS, chain of trust from 1608 public internet into the forward-zone works now. Added unit test. 1609 16109 June 2009: Wouter 1611 - openssl key files are opened apache-style, when user is root and 1612 before chrooting. This makes permissions on remote-control key 1613 files easier to set up. Fixes bug #251. 1614 - flush_type and flush_name remove msg cache entries. 1615 - codereview - dp copy bogus setting fix. 1616 16178 June 2009: Wouter 1618 - Removed RFC5011 REVOKE flag support. Partial 5011 support may cause 1619 inadvertant behaviour. 1620 - 1.3.0 tarball for release created. 1621 - 1.3.1 development in svn trunk. 1622 - iana portlist updated. 1623 - fix lint from complaining on ldns/sha.h. 1624 - help compiler figure out aliasing in priv_rrset_bad() routine. 1625 - fail to configure with python if swig is not found. 1626 - unbound_munin_ in contrib uses ps to show rss if sbrk does not work. 1627 16283 June 2009: Wouter 1629 - fixup bad free() when wrongly encoded DSA signature is seen. 1630 Reported by Paul Wouters. 1631 - review comments from Matthijs. 1632 16332 June 2009: Wouter 1634 - --enable-sha2 option. The draft rsasha256 changed its algorithm 1635 numbers too often. Therefore it is more prudent to disable the 1636 RSASHA256 and RSASHA512 support by default. 1637 - ldns trunk included as new tarball. 1638 - recreated the 1.3.0 tag in svn. rc1 tarball generated at this point. 1639 164029 May 2009: Wouter 1641 - fixup doc bug in README reported by Matthew Dempsky. 1642 164328 May 2009: Wouter 1644 - update iana port list 1645 - update ldns lib tarball 1646 164727 May 2009: Wouter 1648 - detect lack of IPv6 support on XP (with a different error code). 1649 - Fixup a crash-on-exit which was triggered by a very long queue. 1650 Unbound would try to re-use ports that came free, but this is 1651 of course not really possible because everything is deleted. 1652 Most easily triggered on XP (not Vista), maybe because of the 1653 network stack encouraging large messages backlogs. 1654 - change in debug statements. 1655 - Fixed bug that could cause a crash if root prime failed when there 1656 were message backlogs. 1657 165826 May 2009: Wouter 1659 - Thanks again to Brett Carr, found an assertion that was not true. 1660 Assertion checked if recursion parent query still existed. 1661 166229 April 2009: Wouter 1663 - Thanks to Brett Carr, caught windows resource leak, use 1664 closesocket() and not close() on sockets or else the network stack 1665 starts to leak handles. 1666 - Removed usage of windows Mutex because windows cannot handle enough 1667 mutexes open. Provide own mutex implementation using primitives. 1668 166928 April 2009: Wouter 1670 - created svn tag for 1.3.0. 1671 167227 April 2009: Wouter 1673 - optimised cname from cache. 1674 - ifdef windows functions in testbound. 1675 167623 April 2009: Wouter 1677 - fix for threadsafety in solaris thr_key_create() in tests. 1678 - iana portlist updated. 1679 - fix pylib test for Darwin. 1680 - fix pymod test for Darwin and a python threading bug in pymod init. 1681 - check python >= 2.4 in configure. 1682 - -ldl check for libcrypto 1.0.0beta. 1683 168421 April 2009: Wouter 1685 - fix for build outside sourcedir. 1686 - fix for configure script swig detection. 1687 168817 April 2009: Wouter 1689 - Fix reentrant in minievent handler for unix. Could have resulted 1690 in spurious event callbacks. 1691 - timers do not take up a fd slot for winsock handler. 1692 - faster fix for winsock reentrant check. 1693 - fix rsasha512 unit test for new (interim) algorithm number. 1694 - fix test:ldns doesn't like DOS line endings in keyfiles on unix. 1695 - fix compile warning on ubuntu (configlexer fwrite return value). 1696 - move python include directives into CPPFLAGS instead of CFLAGS. 1697 169816 April 2009: Wouter 1699 - winsock event handler exit very quickly on signal, even if 1700 under heavy load. 1701 - iana portlist updated. 1702 - fixup windows winsock handler reentrant problem. 1703 170414 April 2009: Wouter 1705 - bug #245: fix munin plugin, perform cleanup of stale lockfiles. 1706 - makedist.sh; better help text. 1707 - cache-min-ttl option and tests. 1708 - mingw detect error condition on TCP sockets (NOTCONN). 1709 17109 April 2009: Wouter 1711 - Fix for removal of RSASHA256_NSEC3 protonumber from ldns. 1712 - ldns tarball updated. 1713 - iana portlist update. 1714 - detect GOST support in openssl-1.0.0-beta1, and fix compile problem 1715 because that openssl defines the name STRING for itself. 1716 17176 April 2009: Wouter 1718 - windows compile fix. 1719 - Detect FreeBSD jail without ipv6 addresses assigned. 1720 - python libunbound wrapper unit test. 1721 - installs the following files. Default is to not build them. 1722 from configure --with-pythonmodule: 1723 /usr/lib/python2.x/site-packages/unboundmodule.py 1724 from configure --with-pyunbound: 1725 /usr/lib/python2.x/site-packages/unbound.py 1726 /usr/lib/python2.x/site-packages/_unbound.so* 1727 The example python scripts (pythonmod/examples and 1728 libunbound/python/examples) are not installed. 1729 - python invalidate routine respects packed rrset ids and locks. 1730 - clock skew checks in unbound, config statements. 1731 - nxdomain ttl considerations in requirements.txt 1732 17333 April 2009: Wouter 1734 - Fixed a bug that caused messages to be stored in the cache too 1735 long. Hard to trigger, but NXDOMAINs for nameservers or CNAME 1736 targets have been more vulnerable to the TTL miscalculation bug. 1737 - documentation test fixed for python addition. 1738 17392 April 2009: Wouter 1740 - pyunbound (libunbound python plugin) compiles using libtool. 1741 - documentation for pythonmod and pyunbound is generated in doc/html. 1742 - iana portlist updated. 1743 - fixed bug in unbound-control flush_zone where it would not flush 1744 every message in the target domain. This especially impacted 1745 NXDOMAIN messages which could remain in the cache regardless. 1746 - python module test package. 1747 17481 April 2009: Wouter 1749 - suppress errors when trying to contact authority servers that gave 1750 ipv6 AAAA records for their nameservers with ipv4 mapped contents. 1751 Still tries to do so, could work when deployed in intranet. 1752 Higher verbosity shows the error. 1753 - new libunbound calls documented. 1754 - pyunbound in libunbound/python. Removed compile warnings. 1755 Makefile to make it. 1756 175730 March 2009: Wouter 1758 - Fixup LDFLAGS from libevent sourcedir compile configure restore. 1759 - Fixup so no non-absolute rpaths are added. 1760 - Fixup validation of RRSIG queries, they are let through. 1761 - read /dev/random before chroot 1762 - checkconf fix no python checks when no python module enabled. 1763 - fix configure, pthread first, so other libs do not change outcome. 1764 176527 March 2009: Wouter 1766 - nicer -h output. report linked libraries and modules. 1767 - prints modules in intuitive order (config file friendly). 1768 - python compiles easily on BSD. 1769 177026 March 2009: Wouter 1771 - ignore swig varargs warnings with gcc. 1772 - remove duplicate example.conf text from python example configs. 1773 - outofdir compile fix for python. 1774 - pyunbound works. 1775 - print modules compiled in on -h. manpage. 1776 177725 March 2009: Wouter 1778 - initial import of the python contribution from Zdenek Vasicek and 1779 Marek Vavrusa. 1780 - pythonmod in Makefile; changes to remove warnings/errors for 1.3.0. 1781 178224 March 2009: Wouter 1783 - more neat configure.ac. Removed duplicate config.h includes. 1784 - neater config.h.in. 1785 - iana portlist updated. 1786 - fix util/configlexer.c and solaris -std=c99 flag. 1787 - fix postcommit aclocal errors. 1788 - spaces stripped. Makefile cleaner, /usr omitted from -I, -L, -R. 1789 - swap order of host detect and libtool generation. 1790 179123 March 2009: Wouter 1792 - added launchd plist example file for MacOSX to contrib. 1793 - deprecation test for daemon(3). 1794 - moved common configure actions to m4 include, prettier Makefile. 1795 179620 March 2009: Wouter 1797 - bug #239: module-config entries order is important. Documented. 1798 - build fix for test asynclook. 1799 180019 March 2009: Wouter 1801 - winrc/README.txt dos-format text file. 1802 - iana portlist updated. 1803 - use _beginthreadex() when available (performs stack alignment). 1804 - defaults for windows baked into configure.ac (used if on mingw). 1805 180618 March 2009: Wouter 1807 - Added tests, unknown algorithms become insecure. fallback works. 1808 - Fix for and test for unknown algorithms in a trust anchor 1809 definition. Trust anchors with no supported algos are ignored. 1810 This means a (higher)DS or DLV entry for them could succeed, and 1811 otherwise they are treated as insecure. 1812 - domain-insecure: "example.com" statement added. Sets domain 1813 insecure regardless of chain of trust DSs or DLVs. The inverse 1814 of a trust-anchor. 1815 181617 March 2009: Wouter 1817 - unit test for unsupported algorithm in anchor warning. 1818 - fixed so queries do not fail on opportunistic target queries. 1819 182016 March 2009: Wouter 1821 - fixup diff error printout in contrib/update-itar.sh. 1822 - added contrib/unbound_cacti for statistics support in cacti, 1823 contributed by Dmitriy Demidov. 1824 182513 March 2009: Wouter 1826 - doxygen and lex/yacc on linux. 1827 - strip update-anchor on makedist -w. 1828 - fix testbound on windows. 1829 - default log to syslog for windows. 1830 - uninstaller can stop unbound - changed text on it to reflect that. 1831 - remove debugging from windows 'cron' actions. 1832 183312 March 2009: Wouter 1834 - log to App.logs on windows prints executable identity. 1835 - fixup tests. 1836 - munin plugin fix benign locking error printout. 1837 - anchor-update for windows, called every 24 hours; unbound reloads. 1838 183911 March 2009: Wouter 1840 - winsock event handler resets WSAevents after signalled. 1841 - winsock event handler tests if signals are really signalled. 1842 - install and service with log to file works on XP and Vista on 1843 default install location. 1844 - on windows logging to the Application logbook works (as a service). 1845 - fix RUN_DIR on windows compile setting in makedist. 1846 - windows registry has Software\Unbound\ConfigFile element. 1847 If does not exist, the default is used. The -c switch overrides it. 1848 - fix makedist version cleanup function. 1849 185010 March 2009: Wouter 1851 - makedist -w strips out old rc.. and snapshot info from version. 1852 - setup.exe starts and stops unbound after install, before uninstall. 1853 - unbound-checkconf recognizes absolute pathnames on windows (C:...). 1854 18559 March 2009: Wouter 1856 - Nullsoft NSIS installer creation script. 1857 18585 March 2009: Wouter 1859 - fixup memory leak introduced on 18feb in mesh reentrant fix. 1860 18613 March 2009: Wouter 1862 - combined icon with 16x16(4) 32x32(4) 48x48(8) 64x64(8). 1863 - service works on xp/vista, no config necessary (using defaults). 1864 - windows registry settings. 1865 18662 March 2009: Wouter 1867 - fixup --export-symbols to be -export-symbls for libtool. 1868 This should fix extraneous symbols exported from libunbound. 1869 Thanks to Ondrej Sury and Robert Edmonds for finding it. 1870 - iana portlist updated. 1871 - document FAQ entry on stub/forward zones and default blocking. 1872 - fix asynclook test app for libunbound not exporting symbols. 1873 - service install and remove utils that work with vista UAC. 1874 187527 February 2009: Wouter 1876 - Fixup lexer, to not give warnings about fwrite. Appeared in 1877 new lexer features. 1878 - makedistro functionality for mingw. Has RC support. 1879 - support spaces and backslashes in configured defaults paths. 1880 - register, deregister in service control manager. 1881 188225 February 2009: Wouter 1883 - windres usage for application resources. 1884 188524 February 2009: Wouter 1886 - isc moved their dlv key download location. 1887 - fixup warning on vista/mingw. 1888 - makedist -w for window zip distribution first version. 1889 189020 February 2009: Wouter 1891 - Fixup contrib/update-itar.sh, the exit codes 1 and 0 were swapped. 1892 Nicer script layout. Added url to site in -h output. 1893 189419 February 2009: Wouter 1895 - unbound-checkconf and unbound print warnings when trust anchors 1896 have unsupported algorithms. 1897 - added contrib/update-itar.sh This script is similar to 1898 update-anchor.sh, and updates from the IANA ITAR repository. 1899 You can provide your own PGP key and trust repo, or can use the 1900 builtin. The program uses wget and gpg to work. 1901 - iana portlist updated. 1902 - update-itar.sh: using ftp:// urls because https godaddy certificate 1903 is not available everywhere and then gives fatal errors. The 1904 security is provided by pgp signature. 1905 190618 February 2009: Wouter 1907 - more cycle detection. Also for target queries. 1908 - fixup bug where during deletion of the mesh queries the callbacks 1909 that were reentrant caused assertion failures. Keep the mesh in 1910 a reentrant safe state. Affects libunbound, reload of server, 1911 on quit and flush_requestlist. 1912 - iana portlist updated. 1913 191413 February 2009: Wouter 1915 - forwarder information now per-thread duplicated. 1916 This keeps it read only for speed, with no locking necessary. 1917 - forward command for unbound control to change forwarders to use 1918 on the fly. 1919 - document that unbound-host reads no config file by default. 1920 - updated iana portlist. 1921 192212 February 2009: Wouter 1923 - call setusercontext if available (on BSD). 1924 - small refactor of stats clearing. 1925 - #227: flush_stats feature for unbound-control. 1926 - stats_noreset feature for unbound-control. 1927 - flush_requestlist feature for unbound-control. 1928 - libunbound version upped API (was changed 5 feb). 1929 - unbound-control status shows if root forwarding is in use. 1930 - slightly nicer memory management in iter-fwd code. 1931 193210 February 2009: Wouter 1933 - keys with rfc5011 REVOKE flag are skipped and not considered when 1934 validating data. 1935 - iana portlist updated 1936 - #226: dump_requestlist feature for unbound-control. 1937 19386 February 2009: Wouter 1939 - contrib contains specfile for fedora 1.2.1 (from Paul Wouters). 1940 - iana portlist updated. 1941 - fixup EOL in include directive (reported by Paul Wouters). 1942 You can no longer specify newlines in the names of included files. 1943 - config parser changed. Gives some syntax errors closer to where they 1944 occurred. Does not enforce a space after keyword anymore. 1945 Does not allow literal newlines inside quoted strings anymore. 1946 - verbosity level 5 logs customer IP for new requestlist entries. 1947 - test fix, lexer and cancel test. 1948 - new option log-time-ascii: yes if you enable it prints timestamps 1949 in the log file as Feb 06 13:45:26 (like syslog does). 1950 - detect event_base_new in libevent-1.4.1 and later and use it. 1951 - #231 unbound-checkconf -o option prints that value from config file. 1952 Useful for scripting in management scripts and the like. 1953 19545 February 2009: Wouter 1955 - ldns 1.5.0 rc as tarball included. 1956 - 1.3.0 development continues: 1957 change in libunbound API: ub_cancel can return an error, that 1958 the async_id did not exist, or that it was already delivered. 1959 The result could have been delivered just before the cancel 1960 routine managed to acquire the lock, so a caller may get the 1961 result at the same time they call cancel. For this case, 1962 ub_cancel tries to return an error code. 1963 Fixes race condition in ub_cancel() libunbound function. 1964 - MacOSX Leopard cleaner text output from configure. 1965 - initgroups(3) is called to drop secondary group permissions, if 1966 applicable. 1967 - configure option --with-ldns-builtin forces the use of the 1968 inluded ldns package with the unbound source. The -I include 1969 is put before the others, so it avoids bad include files from 1970 an older ldns install. 1971 - daemon(3) posix call is used when available. 1972 - testbound test for older fix added. 1973 19744 February 2009: Wouter 1975 - tag for release 1.2.1. 1976 - trunk setup for 1.3.0 development. 1977 19783 February 2009: Wouter 1979 - noted feature requests in doc/TODO. 1980 - printout more detailed errors on ssl certificate loading failures. 1981 - updated IANA portlist. 1982 198316 January 2009: Wouter 1984 - more quiet about ipv6 network failures, i.e. when ipv6 is not 1985 available (network unreachable). Debug still printed on high 1986 verbosity. 1987 - unbound-host -4 and -6 options. Stops annoying ipv6 errors when 1988 debugging with unbound-host -4 -d ... 1989 - more cycle detection for NS-check, addr-check, root-prime and 1990 stub-prime queries in the iterator. Avoids possible deadlock 1991 when priming fails. 1992 199315 January 2009: Wouter 1994 - bug #229: fixup configure checks for compilation with Solaris 1995 Sun cc compiler, ./configure CC=/opt/SUNWspro/bin/cc 1996 - fixup suncc warnings. 1997 - fix bug where unbound could crash using libevent 1.3 and older. 1998 - update testset for recent retry change. 1999 200014 January 2009: Wouter 2001 - 1.2.1 feature: negative caching for failed queries. 2002 Queries that failed are cached for 5 seconds (NORR_TTL). 2003 If the failure is local, like out of memory, it is not cached. 2004 - the TTL comparison for the cache used different comparisons, 2005 causing many cache responses that used the iterator and validator 2006 state machines unnecessarily. 2007 - retry from 4 to 5 so that EDNS drop retry is part of the first 2008 query resolve attempt, and cached error does not stop EDNS fallback. 2009 - remove debug prints that protect against bad referrals. 2010 - honor QUIET=no on make commandline (or QUIET=yes ). 2011 201213 January 2009: Wouter 2013 - fixed bug in lameness marking, removed printouts. 2014 - find NS rrset more cleanly for qtype NS. 2015 - Moved changes to 1.2.0 for release. Thanks to Mark Zealey for 2016 reporting and logs. 2017 - 1.2.1 feature: stops resolving AAAAs promiscuously when they 2018 are in the negative cache. 2019 202012 January 2009: Wouter 2021 - fixed bug in infrastructure lameness cache, did not lowercase 2022 name of zone to hash when setting lame. 2023 - lameness debugging printouts. 2024 20259 January 2009: Wouter 2026 - created svn tag for 1.2.0 release. 2027 - svn trunk contains 1.2.1 version number. 2028 - iana portlist updated for todays list. 2029 - removed debug print. 2030 20318 January 2009: Wouter 2032 - new version of ldns-trunk (today) included as tarball, fixed 2033 bug #224, building with -j race condition. 2034 - remove possible race condition in the test for race conditions. 2035 20367 January 2009: Wouter 2037 - version 1.2.0 in preparation. 2038 - feature to allow wildcards (*, ?, [], {}. ~) in trusted-keys-file 2039 statements. (Adapted from patch by Paul Wouters). 2040 - typo fix and iana portlist updated. 2041 - porting testsuite; unused var warning, and type fixup. 2042 20436 January 2009: Wouter 2044 - fixup packet-of-death when compiled with --enable-debug. 2045 A malformed packet could cause an internal assertion failure. 2046 - added test for HINFO canonicalisation behaviour. 2047 - fixup reported problem with transparent local-zone data where 2048 queries with different type could get nxdomain. Now queries 2049 with a different name get resolved normally, with different type 2050 get a correct NOERROR/NODATA answer. 2051 - HINFO no longer downcased for validation, making unbound compatible 2052 with bind and ldns. 2053 - fix reading included config files when chrooted. 2054 Give full path names for include files. 2055 Relative path names work if the start dir equals the working dir. 2056 - fix libunbound message transport when no packet buffer is available. 2057 20585 January 2009: Wouter 2059 - fixup getaddrinfo failure handling for remote control port. 2060 - added L.ROOT-SERVERS.NET. AAAA 2001:500:3::42 to builtin root hints. 2061 - fixup so it works with libev-3.51 from http://dist.schmorp.de/libev/ 2062 - comm_timer_set performs base_set operation after event_add. 2063 206418 December 2008: Wouter 2065 - fixed bug reported by Duane Wessels: error in DLV lookup, would make 2066 some zones that had correct DLV keys as insecure. 2067 - follows -rc makedist from ldns changes (no _rc). 2068 - ldns tarball updated with 1.4.1rc for DLV unit test. 2069 - verbose prints about recursion lame detection and server selection. 2070 - fixup BSD port for infra host storage. It hashed wrongly. 2071 - fixup makedist snapshot name generation. 2072 - do not reopen syslog to avoid dev/log dependency. 2073 207417 December 2008: Wouter 2075 - follows ldns makedist.sh. -rc option. autom4te dir removed. 2076 - unbound-control status command. 2077 - extended statistics has a number of ipv6 queries counter. 2078 contrib/unbound_munin_ was updated to draw ipv6 in the hits graph. 2079 208016 December 2008: Wouter 2081 - follow makedist improvements from ldns, for maintainers prereleases. 2082 - snapshot version uses _ not - to help rpm distinguish the 2083 version number. 2084 208511 December 2008: Wouter 2086 - better fix for bug #219: use LOG_NDELAY with openlog() call. 2087 Thanks to Tamas Tevesz. 2088 20899 December 2008: Wouter 2090 - bug #221 fixed: unbound checkconf checks if key files exist if 2091 remote control is enabled. Also fixed NULL printf when not chrooted. 2092 - iana portlist updated. 2093 20943 December 2008: Wouter 2095 - Fix problem reported by Jaco Engelbrecht where unbound-control stats 2096 freezes up unbound if this was compiled without threading, and 2097 was using multiple processes. 2098 - iana portlist updated. 2099 - test for remote control with interprocess communication. 2100 - created command distribution mechanism so that remote control 2101 commands other than 'stats' work on all processes in a nonthreaded 2102 compiled version. dump/load cache work, on the first process. 2103 - fixup remote control local_data addition memory corruption bug. 2104 21051 December 2008: Wouter 2106 - SElinux policy files in contrib/selinux for the unbound daemon, 2107 by Paul Wouters and Adam Tkac. 2108 210925 November 2008: Wouter 2110 - configure complains when --without-ssl is given (bug #220). 2111 - skip unsupported feature tests on vista/mingw. 2112 - fixup testcode/streamtcp to work on vista/mingw. 2113 - root-hints test checks version of dig required. 2114 - blacklisted servers are polled at a low rate (1%) to see if they 2115 come back up. But not if there is some other working server. 2116 211724 November 2008: Wouter 2118 - document that the user of the server daemon needs read privileges 2119 on the keys and certificates generated by unbound-control-setup. 2120 This is different per system or distribution, usually, running the 2121 script under the same username as the server uses suffices. 2122 i.e. sudo -u unbound unbound-control-setup 2123 - testset port to vista/mingw. 2124 - tcp_sigpipe to freebsd port. 2125 212621 November 2008: Wouter 2127 - fixed tcp accept, errors were printed when they should not. 2128 - unbound-control-setup.sh removes read/write permissions other 2129 from the keys it creates (as suggested by Dmitriy Demidov). 2130 213120 November 2008: Wouter 2132 - fixup fatal error due to faulty error checking after tcp accept. 2133 - add check in rlimit to avoid integer underflow. 2134 - rlimit check with new formula; better estimate for number interfaces 2135 - nicer comments in rlimit check. 2136 - tag 1.1.1 created in svn. 2137 - trunk label is 1.1.2 2138 213919 November 2008: Wouter 2140 - bug #219: fixed so that syslog which delays opening until the first 2141 log line is written, gets a log line while not chroot'ed yet. 2142 214318 November 2008: Wouter 2144 - iana portlist updated. 2145 - removed cast in unit test debug print that was not 64bit safe. 2146 - trunk back to 1.1.0; copied to tags 1.1.0 release. 2147 - trunk to has version number 1.1.1 again. 2148 - in 1.1.1; make clean nicer. grammar in manpage. 2149 215017 November 2008: Wouter 2151 - theoretical fix for problems reported on mailing list. 2152 If a delegation point has no A but only AAAA and do-ip6 is no, 2153 resolution would fail. Fixed to ask for the A and AAAA records. 2154 It has to ask for both always, so that it can fail quietly, from 2155 TLD perspective, when a zone is only reachable on one transport. 2156 - test for above, only AAAA and doip6 is no. Fix causes A record 2157 for nameserver to be fetched. 2158 - fixup address duplication on cache fillup for delegation points. 2159 - testset updated for new query answer requirements. 2160 216114 November 2008: Wouter 2162 - created 1.1.0 release tag in svn. 2163 - trunk moved to 1.1.1 2164 - fixup unittest-neg for locking. 2165 216613 November 2008: Wouter 2167 - added fedora init and specfile to contrib (by Paul Wouters). 2168 - added configure check for ldns 1.4.0 (using its compat funcs). 2169 - neater comments in worker.h. 2170 - removed doc/plan and updated doc/TODO. 2171 - silenced EHOSTDOWN (verbosity 2 or higher to see it). 2172 - review comments from Jelte, Matthijs. Neater code. 2173 217412 November 2008: Wouter 2175 - add unbound-control manpage to makedist replace list. 2176 217711 November 2008: Wouter 2178 - unit test for negative cache, stress tests the refcounting. 2179 - fix for refcounting error that could cause fptr_wlist fatal exit 2180 in the negative cache rbtree (upcoming 1.1 feature). (Thanks to 2181 Attila Nagy for testing). 2182 - nicer comments in cachedump about failed RR to string conversion. 2183 - fix 32bit wrap around when printing large (4G and more) mem usage 2184 for extended statistics. 2185 218610 November 2008: Wouter 2187 - fixup the getaddrinfo compat code rename. 2188 21898 November 2008: Wouter 2190 - added configure check for eee build warning. 2191 21927 November 2008: Wouter 2193 - fix bug 217: fixed, setreuid and setregid do not work on MacOSX10.4. 2194 - detect nonblocking problems in network stack in configure script. 2195 21966 November 2008: Wouter 2197 - dname_priv must decompress the name before comparison. 2198 - iana portlist updated. 2199 22005 November 2008: Wouter 2201 - fixed possible memory leak in key_entry_key deletion. 2202 Would leak a couple bytes when trust anchors were replaced. 2203 - if query and reply qname overlap, the bytes are skipped not copied. 2204 - fixed file descriptor leak when messages were jostled out that 2205 had outstanding (TCP) replies. 2206 - DNAMEs used from cache have their synthesized CNAMEs initialized 2207 properly. 2208 - fixed file descriptor leak for localzone type deny (for TCP). 2209 - fixed memleak at exit for nsec3 negative cached zones. 2210 - fixed memleak for the keyword 'nodefault' when reading config. 2211 - made verbosity of 'edns incapable peer' warning higher, so you 2212 do not get spammed by it. 2213 - caught elusive Bad file descriptor error bug, that would print the 2214 error while unnecessarily try to listen to a closed fd. Fixed. 2215 22164 November 2008: Wouter 2217 - fixed -Wwrite-strings warnings that result in better code. 2218 22193 November 2008: Wouter 2220 - fixup build process for Mac OSX linker, use ldns b32 compat funcs. 2221 - generated configure with autoconf-2.61. 2222 - iana portlist updated. 2223 - detect if libssl needs libdl. For static linking with libssl. 2224 - changed to use new algorithm identifiers for sha256/sha512 2225 from ldns 1.4.0 (need very latest version). 2226 - updated the included ldns tarball. 2227 - proper detection of SHA256 and SHA512 functions (not just sizes). 2228 222923 October 2008: Wouter 2230 - a little more debug info for failure on signer names. prints names. 2231 223222 October 2008: Wouter 2233 - CFLAGS are picked up by configure from the environment. 2234 - iana portlist updated. 2235 - updated ldns to use 1.4.0-pre20081022 so it picks up CFLAGS too. 2236 - new stub-prime: yesno option. Default is off, so it does not prime. 2237 can be turned on to get same behaviour as previous unbound release. 2238 - made automated test that checks if builtin root hints are uptodate. 2239 - finished draft-wijngaards-dnsext-resolver-side-mitigation 2240 implementation. The unwanted-reply-threshold can be set. 2241 - fixup so fptr_whitelist test in alloc.c works. 2242 224321 October 2008: Wouter 2244 - fix update-anchors.sh, so it does not report different RR order 2245 as an update. Sorts the keys in the file. Updated copyright. 2246 - fixup testbound on windows, the command control pipe doesn't exist. 2247 - skip 08hostlib test on windows, no fork() available. 2248 - made unbound-remote work on windows. 2249 225020 October 2008: Wouter 2251 - quench a log message that is debug only. 2252 - iana portlist updated. 2253 - do not query bogus nameservers. It is like nameservers that have 2254 the NS or A or AAAA record bogus are listed as donotquery. 2255 - if server selection is faced with only bad choices, it will 2256 attempt to get more options to be fetched. 2257 - changed bogus-ttl default value from 900 to 60 seconds. 2258 In anticipation that operator caused failures are more likely than 2259 actual attacks at this time. And thus repeated validation helps 2260 the operators get the problem fixed sooner. It makes validation 2261 failures go away sooner (60 seconds after the zone is fixed). 2262 Also it is likely to try different nameserver targets every minute, 2263 so that if a zone is bad on one server but not another, it is 2264 likely to pick up the 'correct' one after a couple minutes, 2265 and if the TTL is big enough that solves validation for the zone. 2266 - fixup unbound-control compilation on windows. 2267 226817 October 2008: Wouter 2269 - port Leopard/G5: fixup type conversion size_t/uint32. 2270 please ranlib, stop file without symbols warning. 2271 - harden referral path now also validates the root after priming. 2272 It looks up the root NS authoritatively as well as the root servers 2273 and attemps to validate the entries. 2274 227516 October 2008: Wouter 2276 - Fixup negative TTL values appearing (reported by Attila Nagy). 2277 227815 October 2008: Wouter 2279 - better documentation for 0x20; remove fallback TODO, it is done. 2280 - harden-referral-path feature includes A, AAAA queries for glue, 2281 as well as very careful NS caching (only when doing NS query). 2282 A, AAAA use the delegation from the NS-query. 2283 228414 October 2008: Wouter 2285 - fwd_three.tpkg test was flaky. If the three requests hit the 2286 wrong threads by chance (or bad OS) then the test would fail. 2287 Made less flaky by increasing number of retries. 2288 - stub_udp.tpkg changed to work, give root hints. fixed ldns_dname_abs. 2289 - ldns tarball is snapshot of ldns r2759 (1.4.0-pre-20081014). 2290 Which includes the ldns_dname_absolute fix. 2291 - fwd_three test remains flaky now that unbound does not stop 2292 listening when full. Thus, removed timeout problem. 2293 It may be serviced by three threads, or maybe by one. 2294 Mostly only useful for lock-check testing now. 2295 229613 October 2008: Wouter 2297 - fixed recursion servers deployed as authoritative detection, so 2298 that as a last resort, a +RD query is sent there to get the 2299 correct answer. 2300 - iana port list update. 2301 - ldns tarball is snapshot of ldns r2759 (1.4.0-pre-20081013). 2302 230310 October 2008: Wouter 2304 - fixup tests - the negative cache contained the correct NSEC3s for 2305 two tests that are supposed to fail to validate. 2306 23079 October 2008: Wouter 2308 - negative cache caps max iterations of NSEC3 done. 2309 - NSEC3 negative cache for qtype DS works. 2310 23118 October 2008: Wouter 2312 - NSEC negative cache for DS. 2313 23146 October 2008: Wouter 2315 - jostle-timeout option, so you can config for slow links. 2316 - 0x20 fallback code. Tries 3xnumber of nameserver addresses 2317 queries that must all be the same. Sent to random nameservers. 2318 - documented choices for DoS, EDNS, 0x20. 2319 23202 October 2008: Wouter 2321 - fixup unlink of pidfile. 2322 - fixup SHA256 algorithm collation code. 2323 - contrib/update-anchor.sh does not overwrite anchors if not needed. 2324 exits 0 when a restart is needed, other values if not. 2325 so, update-anchor.sh -d mydir && /etc/rc.d/unbound restart 2326 can restart unbound exactly when needed. 2327 232830 September 2008: Wouter 2329 - fixup SHA256 DS downgrade, no longer possible to downgrade to SHA1. 2330 - tests for sha256 support and downgrade resistance. 2331 - RSASHA256 and RSASHA512 support (using the draft in dnsext), 2332 using the drafted protocol numbers. 2333 - when using stub on localhost (127.0.0.1@10053) unbound works. 2334 Like when running NSD to host a local zone, on the same machine. 2335 The noprime feature. manpages more explanation. Added a test for it. 2336 - shorthand for reverse PTR, local-data-ptr: "1.2.3.4 www.ex.com" 2337 233829 September 2008: Wouter 2339 - EDNS lameness detection, if EDNS packets are dropped this is 2340 detected, eventually. 2341 - multiple query timeout rtt backoff does not backoff too much. 2342 234326 September 2008: Wouter 2344 - tests for remote-control. 2345 - small memory leak in exception during remote control fixed. 2346 - fixup for lock checking but not unchecking in remote control. 2347 - iana portlist updated. 2348 234923 September 2008: Wouter 2350 - Msg cache is loaded. A cache load enables cache responses. 2351 - unbound-control flush [name], flush_type and flush_zone. 2352 235322 September 2008: Wouter 2354 - dump_cache and load_cache statements in unbound-control. 2355 RRsets are dumped and loaded correctly. 2356 Msg cache is dumped. 2357 235819 September 2008: Wouter 2359 - locking on the localdata structure. 2360 - add and remove local zone and data with unbound-control. 2361 - ldns trunk snapshot updated, make tests work again. 2362 236318 September 2008: Wouter 2364 - fixup error in time calculation. 2365 - munin plugin improvements. 2366 - nicer abbreviations for high query types values (ixfr, axfr, any...) 2367 - documented the statistics output in unbound-control man page. 2368 - extended statistics prints out histogram, over unbound-control. 2369 237017 September 2008: Wouter 2371 - locking for threadsafe bogus rrset counter. 2372 - ldns trunk no longer exports b32 functions, provide compat. 2373 - ldns tarball updated. 2374 - testcode/ldns-testpkts.c const fixups. 2375 - fixed rcode stat printout. 2376 - munin plugin in contrib. 2377 - stats always printout uptime, because stats plugins need it. 2378 237916 September 2008: Wouter 2380 - extended-statistics: yesno config option. 2381 - unwanted replies spoof nearmiss detector. 2382 - iana portlist updated. 2383 238415 September 2008: Wouter 2385 - working start, stop, reload commands for unbound-control. 2386 - test for unbound-control working; better exit value for control. 2387 - verbosity control via unbound-control. 2388 - unbound-control stats. 2389 239012 September 2008: Wouter 2391 - removed browser control mentions. Proto speccy. 2392 239311 September 2008: Wouter 2394 - set nonblocking on new TCP streams, because linux does not inherit 2395 the socket options to the accepted socket. 2396 - fix TCP timeouts. 2397 - SSL protected connection between server and unbound-control. 2398 239910 September 2008: Wouter 2400 - remove memleak in privacy addresses on reloads and quits. 2401 - remote control work. 2402 24039 September 2008: Wouter 2404 - smallapp/unbound-control-setup.sh script to set up certificates. 2405 24064 September 2008: Wouter 2407 - scrubber scrubs away private addresses. 2408 - test for private addresses. man page entry. 2409 - code refactored for name and address tree lookups. 2410 24113 September 2008: Wouter 2412 - options for 'DNS Rebinding' protection: private-address and 2413 private-domain. 2414 - dnstree for reuse of routines that help with domain, addr lookups. 2415 - private-address and private-domain config option read, stored. 2416 24172 September 2008: Wouter 2418 - DoS protection features. Queries are jostled out to make room. 2419 - testbound can pass time, increasing the internal timer. 2420 - do not mark unsigned additionals bogus, leave unchecked, which 2421 is removed too. 2422 24231 September 2008: Wouter 2424 - disallow nonrecursive queries for cache snooping by default. 2425 You can allow is using access-control: <subnet> allow_snoop. 2426 The defaults do allow access no authoritative data without RD bit. 2427 - two tests for it and fixups of tests for nonrec refused. 2428 242929 August 2008: Wouter 2430 - version 1.1 number in trunk. 2431 - harden-referral-path option for query for NS records. 2432 Default turns off expensive, experimental option. 2433 243428 August 2008: Wouter 2435 - fixup logfile handling; it is created with correct permissions 2436 again. (from bugfix#199). 2437 Some errors are not written to logfile (pidfile writing, forking), 2438 and these are only visible by using the -d commandline flag. 2439 244027 August 2008: Wouter 2441 - daemon(3) is causing problems for people. Reverting the patch. 2442 bug#200, and 199 and 203 contain sideline discussion on it. 2443 - bug#199 fixed: pidfile can be outside chroot. openlog is done before 2444 chroot and drop permissions. 2445 - config option to set size of aggressive negative cache, 2446 neg-cache-size. 2447 - bug#203 fixed: dlv has been implemented. 2448 244926 August 2008: Wouter 2450 - test for insecure zone when DLV is in use, also does negative cache. 2451 - test for trustanchor when DLV is in use (the anchor works). 2452 - test for DLV used for a zone below a trustanchor. 2453 - added scrub filter for overreaching NSEC records and unit test. 2454 - iana portlist update 2455 - use of setresuid or setreuid when available. 2456 - use daemon(3) if available. 2457 245825 August 2008: Wouter 2459 - realclean patch from Robert Edmonds. 2460 246122 August 2008: Wouter 2462 - nicer debuglogging of DLV. 2463 - test with secure delegation inside the DLV repository. 2464 246521 August 2008: Wouter 2466 - negative cache code linked into validator, for DLV use. 2467 negative cache works for DLV. 2468 - iana portlist update. 2469 - dlv-anchor option for unit tests. 2470 - fixup NSEC_AT_APEX classification for short typemaps. 2471 - ldns-testns has subdomain checks, for unit tests. 2472 247320 August 2008: Wouter 2474 - negative cache code, reviewed. 2475 247618 August 2008: Wouter 2477 - changes info: in logfile to notice: info: or debug: depending on 2478 the verbosity of the statements. Better logfile message 2479 classification. 2480 - bug #208: extra rc.d unbound flexibility for freebsd/nanobsd. 2481 248215 August 2008: Wouter 2483 - DLV nsec code fixed for better detection of closest existing 2484 enclosers from NSEC responses. 2485 - DLV works, straight to the dlv repository, so not for production. 2486 - Iana port update. 2487 248814 August 2008: Wouter 2489 - synthesize DLV messages from the rrset cache, like done for DS. 2490 249113 August 2008: Wouter 2492 - bug #203: nicer do-auto log message when user sets incompatible 2493 options. 2494 - bug #204: variable name ameliorated in log.c. 2495 - bug #206: in iana_update, no egrep, but awk use. 2496 - ldns snapshot r2699 taken (includes DLV type). 2497 - DLV work, config file element, trust anchor read in. 2498 249912 August 2008: Wouter 2500 - finished adjusting testset to provide qtype NS answers. 2501 250211 August 2008: Wouter 2503 - Fixup rrset security updates overwriting 2181 trust status. 2504 This makes validated to be insecure data just as worthless as 2505 nonvalidated data, and 2181 rules prevent cache overwrites to them. 2506 - Fix assertion fail on bogus key handling. 2507 - dnssec lameness detection works on first query at trust apex. 2508 - NS queries get proper cache and dnssec lameness treatment. 2509 - fixup compilation without pthreads on linux. 2510 25118 August 2008: Wouter 2512 - NS queries are done after every referral. 2513 validator is used on those NS records (if anchors enabled). 2514 25157 August 2008: Wouter 2516 - Scrubber more strict. CNAME chains, DNAMEs from cache, other 2517 irrelevant rrsets removed. 2518 - 1.0.2 released from 1.0 support branch. 2519 - fixup update-anchor.sh to work both in BSD shell and bash. 2520 25215 August 2008: Wouter 2522 - fixup DS test so apex nodata works again. 2523 25244 August 2008: Wouter 2525 - iana port update. 2526 - TODO update. 2527 - fix bug 201: null ptr deref on cleanup while udp pkts wait for port. 2528 - added explanatory text for outgoing-port-permit in manpage. 2529 253030 July 2008: Wouter 2531 - fixup bug qtype DS for unsigned zone and signed parent validation. 2532 253325 July 2008: Wouter 2534 - added original copyright statement of OpenBSD arc4random code. 2535 - created tube signaling solution on windows, as a pipe replacement. 2536 this makes background asynchronous resolution work on windows. 2537 - removed very insecure socketpair compat code. It also did not 2538 work with event_waiting. Solved by pipe replacement. 2539 - unbound -h prints openssl version number as well. 2540 254122 July 2008: Wouter 2542 - moved pipe actions to util/tube.c. easier porting and shared code. 2543 - check _raw() commpoint callbacks with fptr_wlist. 2544 - iana port update. 2545 254621 July 2008: Wouter 2547 - #198: nicer entropy warning message. manpage OS hints. 2548 254919 July 2008: Wouter 2550 - #198: fixup man page to suggest chroot entropy fix. 2551 255218 July 2008: Wouter 2553 - branch for 1.0 support. 2554 - trunk work on tube.c. 2555 255617 July 2008: Wouter 2557 - fix bug #196, compile outside source tree. 2558 - fix bug #195, add --with-username=user configure option. 2559 - print error and exit if started with config that requires more 2560 fds than the builtin minievent can handle. 2561 256216 July 2008: Wouter 2563 - made svn tag 1.0.1, trunk now 1.0.2 2564 - sha256 checksums enabled in makedist.sh 2565 256615 July 2008: Wouter 2567 - Follow draft-ietf-dnsop-default-local-zones-06 added reverse 2568 IPv6 example prefix to AS112 default blocklist. 2569 - fixup lookup of DS records by client with trustanchor for same. 2570 - libunbound ub_resolve, fix handling of error condition during setup. 2571 - lowered log_hex blocksize to fit through BSD syslog linesize. 2572 - no useless initialisation if getpwnam not available. 2573 - iana, ldns snapshot updated. 2574 25753 July 2008: Wouter 2576 - Matthijs fixed memory leaks in root hints file reading. 2577 257826 June 2008: Wouter 2579 - fixup streamtcp bounds setting for udp mode, in the test framework. 2580 - contrib item for updating trust anchors. 2581 258225 June 2008: Wouter 2583 - fixup fwd_ancil test typos. 2584 - Fix for newegg lameness : ok for qtype=A, but lame for others. 2585 - fixup unit test for infra cache, test lame merging. 2586 - porting to mingw, bind, listen, getsockopt and setsockopt error 2587 handling. 2588 258924 June 2008: Wouter 2590 - removed testcode/checklocks from production code compilation path. 2591 - streamtcp can use UDP mode (connected UDP socket), for testing IPv6 2592 on windows. 2593 - fwd_ancil test fails if platform support is lacking. 2594 259523 June 2008: Wouter 2596 - fixup minitpkg to cleanup on windows with its file locking troubles. 2597 - minitpkg shows skipped tests in report. 2598 - skip ipv6 tests on ipv4 only hosts (requires only ipv6 localhost not 2599 ipv6 connectivity). 2600 - winsock event handler keeps track of sticky TCP events, that have 2601 not been fully handled yet. when interest in the event(s) resumes, 2602 they are sent again. When WOULDBLOCK is returned events are cleared. 2603 - skip tests that need signals when testing on mingw. 2604 260518 June 2008: Wouter 2606 - open testbound replay files in binary mode, because fseek/ftell 2607 do not work in ascii-mode on windows. The b does nothing on unix. 2608 unittest and testbound tests work on windows (xp too). 2609 - ioctlsocket prints nicer error message. 2610 - fixed up some TCP porting for winsock. 2611 - lack of IPv6 gives a warning, no fatal error. 2612 - use WSAGetLastError() on windows instead of errno for some errors. 2613 261417 June 2008: Wouter 2615 - outgoing num fds 32 by default on windows ; it supports less 2616 fds for waiting on than unixes. 2617 - winsock_event minievent handler for windows. (you could also 2618 attempt to link with libevent/libev ports for windows). 2619 - neater crypto check and gdi32 detection. 2620 - unbound.exe works to resolve and validate www.nlnetlabs.nl on vista. 2621 262216 June 2008: Wouter 2623 - on windows, use windows threads, mutex and thread-local-storage(Tls). 2624 - detect if openssl needs gdi32. 2625 - if no threading, THREADS_DISABLED is defined for use in the code. 2626 - sets USE_WINSOCK if using ws2_32 on windows. 2627 - wsa_strerror() function for more readable errors. 2628 - WSA Startup and Cleanup called in unbound.exe. 2629 263013 June 2008: Wouter 2631 - port mingw32, more signal ifdefs, detect sleep, usleep, 2632 random, srandom (used inside the tests). 2633 - signed or unsigned FD_SET is cast. 2634 263510 June 2008: Wouter 2636 - fixup warnings compiling on eeepc xandros linux. 2637 26389 June 2008: Wouter 2639 - in iteration response type code 2640 * first check for SOA record (negative answer) before NS record 2641 and lameness. 2642 * check if no AA bit for non-forwarder, and thus lame zone. 2643 In response to error report by Richard Doty for mail.opusnet.com. 2644 - fixup unput warning from lexer on freeBSD. 2645 - bug#183. pidfile, rundir, and chroot configure options. Also the 2646 example.conf and manual pages get the configured defaults. 2647 You can use: (or accept the defaults to /usr/local/etc/unbound/) 2648 --with-conf-file=filename 2649 --with-pidfile=filename 2650 --with-run-dir=path 2651 --with-chroot-dir=path 2652 26538 June 2008: Wouter 2654 - if multiple CNAMEs, use the first one. Fixup akamai CNAME bug. 2655 Reported by Robert Edmonds. 2656 - iana port updated. 2657 26584 June 2008: Wouter 2659 - updated libtool files with newer version. 2660 - iana portlist updated. 2661 26623 June 2008: Wouter 2663 - fixup local-zone: "30.172.in-addr.arpa." nodefault, so that the 2664 trailing dot is not used during comparison. 2665 26662 June 2008: Wouter 2667 - Jelte fixed bugs in my absence 2668 - bug 178: fixed unportable shell usage in configure (relied on 2669 bash shell). 2670 - bug 180: fixed buffer overflow in unbound-checkconf use of strncat. 2671 - bug 181: fixed buffer overflow in ldns (called by unbound to parse 2672 config file parts). 2673 - fixes by Wouter 2674 - bug 177: fixed compilation failure on opensuse, the 2675 --disable-static configure flag caused problems. (Patch from 2676 Klaus Singvogel) 2677 - bug 179: same fix as 177. 2678 - bug 185: --disable-shared not passed along to ldns included with 2679 unbound. Fixed so that configure parameters are passed to the 2680 subdir configure script. 2681 fixed that ./libtool is used always, you can still override 2682 manually with ./configure libtool=mylibtool or set $libtool in 2683 the environment. 2684 - update of the ldns tarball to current ldns svn version (fix 181). 2685 - bug 184: -r option for unbound-host, read resolv.conf for 2686 forwarder. (Note that forwarder must support DNSSEC for validation 2687 to succeed). 2688 268923 May 2008: Wouter 2690 - mingw32 porting. 2691 - test for sys/wait.h 2692 - WSAEWOULDBLOCK test after nonblocking TCP connect. 2693 - write_iov_buffer removed: unused and no struct iov on windows. 2694 - signed/unsigned warning fixup mini_event. 2695 - use ioctlsocket to set nonblocking I/O if fnctl is unavailable. 2696 - skip signals that are not defined 2697 - detect pwd.h. 2698 - detect getpwnam, getrlimit, setsid, sbrk, chroot. 2699 - default config has no chroot if chroot() unavailable. 2700 - if no kill() then no pidfile is read or written. 2701 - gmtime_r is replaced by nonthreadsafe alternative if unavail. 2702 used in rrsig time validation errors. 2703 270422 May 2008: Wouter 2705 - contrib unbound.spec from Patrick Vande Walle. 2706 - fixup bug#175: call tzset before chroot to have correct timestamps 2707 in system log. 2708 - do not generate lex input and lex unput functions. 2709 - mingw port. replacement functions labelled _unbound. 2710 - fix bug 174 - check for tcp_sigpipe that ldns-testns is installed. 2711 271219 May 2008: Wouter 2713 - fedora 9, check in6_pktinfo define in configure. 2714 - CREDITS fixup of history. 2715 - ignore ldns-1.2.2 if installed, use builtin 1.3.0-pre alternative. 2716 271716 May 2008: Wouter 2718 - fixup for MacOSX hosts file reading (reported by John Dickinson). 2719 - created 1.0.0 svn tag. 2720 - trunk version 1.0.1. 2721 272214 May 2008: Wouter 2723 - accepted patch from Ondrej Sury for library version libtool option. 2724 - configure --disable-rpath fixes up libtool for rpath trouble. 2725 Adapted from debian package patch file. 2726 272713 May 2008: Wouter 2728 - Added root ipv6 addresses to builtin root hints. 2729 - TODO modified for post 1.0 plans. 2730 - trunk version set to 1.0.0. 2731 - no unnecessary linking with librt (only when libevent/libev used). 2732 27337 May 2008: Wouter 2734 - fixup no-ip4 problem with error callback in outside network. 2735 273625 April 2008: Wouter 2737 - DESTDIR is honored by the Makefile for rpms. 2738 - contrib files unbound.spec and unbound.init, builds working RPM 2739 on FC7 Linux, a chrooted caching resolver, and libunbound. 2740 - iana ports update. 2741 274224 April 2008: Wouter 2743 - chroot checks improved. working directory relative to chroot. 2744 checks if config file path is inside chroot. Documentation on it. 2745 - nicer example.conf text. 2746 - created 0.11 tag. 2747 274823 April 2008: Wouter 2749 - parseunbound.pl contrib update from Kai Storbeck for threads. 2750 - iana ports update 2751 275222 April 2008: Wouter 2753 - ignore SIGPIPE. 2754 - unit test for SIGPIPE ignore. 2755 275621 April 2008: Wouter 2757 - FEATURES document. 2758 - fixup reread of config file if it was given as a full path 2759 and chroot was used. 2760 276116 April 2008: Wouter 2762 - requirements doc, updated clean query returns. 2763 - parseunbound.pl update from Kai Storbeck. 2764 - sunos4 porting changes. 2765 276615 April 2008: Wouter 2767 - fixup default rc.d pidfile location to /usr/local/etc. 2768 - iana ports updated. 2769 - copyright updated in ldns-testpkts to keep same as in ldns. 2770 - fixup checkconf chroot tests a bit more, chdir must be inside 2771 chroot dir. 2772 - documented 'gcc: unrecognized -KPIC option' errors on Solaris. 2773 - example.conf values changed to /usr/local/etc/unbound 2774 - DSA test work. 2775 - DSA signatures: unbound is compatible with both encodings found. 2776 It will detect and convert when necessary. 2777 277814 April 2008: Wouter 2779 - got update for parseunbound.pl statistics script from Kai Storbeck. 2780 - tpkg tests for udp wait list. 2781 - documented 0x20 status. 2782 - fixup chroot and checkconf, it is much smarter now. 2783 - fixup DSA EVP signature decoding. Solution that Jelte found copied. 2784 - and check first sig byte for the encoding type. 2785 278611 April 2008: Wouter 2787 - random port selection out of the configged ports. 2788 - fixup threadsafety for libevent-1.4.3+ (event_base_get_method). 2789 - removed base_port. 2790 - created 256-port ephemeral space for the OS, 59802 available. 2791 - fixup consistency of port_if out array during heavy use. 2792 279310 April 2008: Wouter 2794 - --with-libevent works with latest libevent 1.4.99-trunk. 2795 - added log file statistics perl script to contrib. 2796 - automatic iana ports update from makefile. 60058 available. 2797 27989 April 2008: Wouter 2799 - configure can detect libev(from its build directory) when passed 2800 --with-libevent=/home/wouter/libev-3.2 2801 libev-3.2 is a little faster than libevent-1.4.3-stable (about 5%). 2802 - unused commpoints not listed in epoll list. 2803 - statistics-cumulative option so that the values are not reset. 2804 - config creates array of available ports, 61841 available, 2805 it excludes <1024 and iana assigned numbers. 2806 config statements to modify the available port numbers. 2807 28088 April 2008: Wouter 2809 - unbound tries to set the ulimit fds when started as server. 2810 if that does not work, it will scale back its requirements. 2811 281227 March 2008: Wouter 2813 - documented /dev/random symlink from chrootdir as FAQ entry. 2814 281526 March 2008: Wouter 2816 - implemented AD bit signaling. If a query sets AD bit (but not DO) 2817 then the AD bit is set in the reply if the answer validated. 2818 Without including DNSSEC signatures. Useful if you have a trusted 2819 path from the client to the resolver. Follows dnssec-updates draft. 2820 282125 March 2008: Wouter 2822 - implemented check that for NXDOMAIN and NOERROR answers a query 2823 section must be present in the reply (by the scrubber). And it must 2824 be equal to the question sent, at least lowercase folded. 2825 Previously this feature happened because the cache code refused 2826 to store such messages. However blocking by the scrubber makes 2827 sure nothing gets into the RRset cache. Also, this looks like a 2828 timeout (instead of an allocation failure) and this retries are 2829 done (which is useful in a spoofing situation). 2830 - RTT banding. Band size 400 msec, this makes band around zero (fast) 2831 include unknown servers. This makes unbound explore unknown servers. 2832 28337 March 2008: Wouter 2834 - -C config feature for harvest program. 2835 - harvest handles CNAMEs too. 2836 28375 March 2008: Wouter 2838 - patch from Hugo Koji Kobayashi for iterator logs spelling. 2839 28404 March 2008: Wouter 2841 - From report by Jinmei Tatuya, rfc2181 trust value for remainder 2842 of a cname trust chain is lower; not full answer_AA. 2843 - test for this fix. 2844 - default config file location is /usr/local/etc/unbound. 2845 Thus prefix is used to determine the location. This is also the 2846 chroot and pidfile default location. 2847 28483 March 2008: Wouter 2849 - Create 0.10 svn tag. 2850 - 0.11 version in trunk. 2851 - indentation nicer. 2852 285329 February 2008: Wouter 2854 - documentation update. 2855 - fixup port to Solaris of perf test tool. 2856 - updated ldns-tarball with decl-after-statement fixes. 2857 285828 February 2008: Wouter 2859 - fixed memory leaks in libunbound (during cancellation and wait). 2860 - libunbound returns the answer packet in full. 2861 - snprintf compat update. 2862 - harvest performs lookup. 2863 - ldns-tarball update with fix for ldns_dname_label. 2864 - installs to sbin by default. 2865 - install all manual pages (unbound-host and libunbound too). 2866 286727 February 2008: Wouter 2868 - option to use caps for id randomness. 2869 - config file option use-caps-for-id: yes 2870 - harvest debug tool 2871 287226 February 2008: Wouter 2873 - delay utility delays TCP as well. If the server that is forwarded 2874 to has a TCP error, the delay utility closes the connection. 2875 - delay does REUSE_ADDR, and can handle a server that closes its end. 2876 - answers use casing from query. 2877 287825 February 2008: Wouter 2879 - delay utility works. Gets decent thoughput too (>20000). 2880 288122 February 2008: Wouter 2882 - +2% for recursions, if identical queries (except for destination 2883 and query ID) in the reply list, avoid re-encoding the answer. 2884 - removed TODO items for optimizations that do not show up in 2885 profile reports. 2886 - default is now minievent - not libevent. As its faster and 2887 not needed for regular installs, only for very large port ranges. 2888 - loop check different speedup pkt-dname-reading, 1% faster for 2889 nocache-recursion check. 2890 - less hashing during msg parse, 4% for recursion. 2891 - small speed fix for dname_count_size_labels, +1 or +2% recursion. 2892 - some speed results noted: 2893 optimization resulted in +40% for recursion (cache miss) and 2894 +70 to +80 for cache hits, and +96% for version.bind. 2895 zone nsec3 example, 100 NXDOMAIN queries, NSD 35182.8 Ub 36048.4 2896 www.nlnetlabs.nl from cache: BIND 8987.99 Ub 31218.3 2897 www with DO bit set : BIND 8269.31 Ub 28735.6 qps. 2898 So, unbound can be about equal qps to NSD in cache hits. 2899 And about 3.4x faster than BIND in cache performance. 2900 - delay utility for testing. 2901 290221 February 2008: Wouter 2903 - speedup of root-delegation message encoding by 15%. 2904 - minor speedup of compress tree_lookup, maybe 1%. 2905 - speedup of dname_lab_cmp and memlowercmp - the top functions in 2906 profiler output, maybe a couple percent when it matters. 2907 290820 February 2008: Wouter 2909 - setup speec_cache for need-ldns-testns in dotests. 2910 - check number of queued replies on incoming queries to avoid overload 2911 on that account. 2912 - fptr whitelist checks are not disabled in optimize mode. 2913 - do-daemonize config file option. 2914 - minievent time share initializes time at start. 2915 - updated testdata for nsec3 new algorithm numbers (6, 7). 2916 - small performance test of packet encoding (root delegation). 2917 291819 February 2008: Wouter 2919 - applied patch to unbound-host man page from Jan-Piet Mens. 2920 - fix donotquery-localhost: yes default (it erroneously was switched 2921 to default 'no'). 2922 - time is only gotten once and the value is shared across unbound. 2923 - unittest cleans up crypto, so that it has no memory leaks. 2924 - mini_event shares the time value with unbound this results in 2925 +3% speed for cache responses and +9% for recursions. 2926 - ldns tarball update with new NSEC3 sign code numbers. 2927 - perform several reads per UDP operation. This improves performance 2928 in DoS conditions, and costs very little in normal conditions. 2929 improves cache response +50%, and recursions +10%. 2930 - modified asynclook test. because the callback from async is not 2931 in any sort of lock (and thus can use all library functions freely), 2932 this causes a tiny race condition window when the last lock is 2933 released for a callback and a new cancel() for that callback. 2934 The only way to remove this is by putting callbacks into some 2935 lock window. I'd rather have the small possibility of a callback 2936 for a cancelled function then no use of library functions in 2937 callbacks. Could be possible to only outlaw process(), wait(), 2938 cancel() from callbacks, by adding another lock, but I'd rather not. 2939 294018 February 2008: Wouter 2941 - patch to unbound-host from Jan-Piet Mens. 2942 - unbound host prints errors if fails to configure context. 2943 - fixup perf to resend faster, so that long waiting requests do 2944 not hold up the queue, they become lost packets or SERVFAILs, 2945 or can be sent a little while later (i.e. processing time may 2946 take long, but throughput has to be high). 2947 - fixup iterator operating in no cache conditions (RD flag unset 2948 after a CNAME). 2949 - streamlined code for RD flag setting. 2950 - profiled code and changed dname compares to be faster. 2951 The speedup is about +3% to +8% (depending on the test). 2952 - minievent tests for eintr and eagain. 2953 295415 February 2008: Wouter 2955 - added FreeBSD rc.d script to contrib. 2956 - --prefix option for configure also changes directory: pidfile: 2957 and chroot: defaults in config file. 2958 - added cache speed test, for cache size OK and cache too small. 2959 296014 February 2008: Wouter 2961 - start without a config file (will complain, but start with 2962 defaults). 2963 - perf test program works. 2964 296513 February 2008: Wouter 2966 - 0.9 released. 2967 - 1.0 development. Printout ldns version on unbound -h. 2968 - start of perf tool. 2969 - bugfix to read empty lines from /etc/hosts. 2970 297112 February 2008: Wouter 2972 - fixup problem with configure calling itself if ldns-src tarball 2973 is not present. 2974 297511 February 2008: Wouter 2976 - changed library to use ub_ instead of ub_val_ as prefix. 2977 - statistics output text nice. 2978 - etc/hosts handling. 2979 - library function to put logging to a stream. 2980 - set any option interface. 2981 29828 February 2008: Wouter 2983 - test program for multiple queries over a TCP channel. 2984 - tpkg test for stream tcp queries. 2985 - unbound replies to multiple TCP queries on a TCP channel. 2986 - fixup misclassification of root referral with NS in answer 2987 when validating a nonrec query. 2988 - tag 0.9 2989 - layout of manpages, spelling fix in header, manpages process by 2990 makedist, list asynclook and tcpstream tests as ldns-testns 2991 required. 2992 29937 February 2008: Wouter 2994 - moved up all current level 2 to be level 3. And 3 to 4. 2995 to make room for new debug level 2 for detailed information 2996 for operators. 2997 - verbosity level 2. Describes recursion and validation. 2998 - cleaner configure script and fixes for libevent solaris. 2999 - signedness for log output memory sizes in high verbosity. 3000 30016 February 2008: Wouter 3002 - clearer explanation of threading configure options. 3003 - fixup asynclook test for nothreading (it creates only one process 3004 to do the extended test). 3005 - changed name of ub_val_result_free to ub_val_resolve_free. 3006 - removes warning message during library linking, renamed 3007 libunbound/unbound.c -> libunbound.c and worker to libworker. 3008 - fallback without EDNS if result is NOTIMPL as well as on FORMERR. 3009 30105 February 2008: Wouter 3011 - statistics-interval: seconds option added. 3012 - test for statistics option 3013 - ignore errors making directories, these can occur in parallel builds 3014 - fixup Makefile strip command and libunbound docs typo. 3015 301631 January 2008: Wouter 3017 - bg thread/process reads and writes the pipe nonblocking all the time 3018 so that even if the pipe is buffered or so, the bg thread does not 3019 block, and services both pipes and queries. 3020 302130 January 2008: Wouter 3022 - check trailing / on chrootdir in checkconf. 3023 - check if root hints and anchor files are in chrootdir. 3024 - no route to host tcp error is verbosity level 2. 3025 - removed unused send_reply_iov. and its configure check. 3026 - added prints of 'remote address is 1.2.3.4 port 53' to errors 3027 from netevent; the basic socket errors. 3028 302928 January 2008: Wouter 3030 - fixup uninit use of buffer by libunbound (query id, flags) for 3031 local_zone answers. 3032 - fixup uninit warning from random.c; also seems to fix sporadic 3033 sigFPE coming out of openssl. 3034 - made openssl entropy warning more silent for library use. Needs 3035 verbosity 1 now. 3036 - fixup forgotten locks for rbtree_searches on ctx->query tree. 3037 - random generator cleanup - RND_STATE_SIZE removed, and instead 3038 a super-rnd can be passed at init to chain init random states. 3039 - test also does lock checks if available. 3040 - protect config access in libworker_setup(). 3041 - libevent doesn't like comm_base_exit outside of runloop. 3042 - close fds after removing commpoints only (for epoll, kqueue). 3043 304425 January 2008: Wouter 3045 - added tpkg for asynclook and library use. 3046 - allows localhost to be queried when as a library. 3047 - fixup race condition between cancel and answer (in case of 3048 really fast answers that beat the cancel). 3049 - please doxygen, put doxygen comment in one place. 3050 - asynclook -b blocking mode and test. 3051 - refactor asynclook, nicer code. 3052 - fixup race problems from opensll in rand init from library, with 3053 a mutex around the rand init. 3054 - fix pass async_id=NULL to _async resolve(). 3055 - rewrote _wait() routine, so that it is threadsafe. 3056 - cancelation is threadsafe. 3057 - asynclook extended test in tpkg. 3058 - fixed two races where forked bg process waits for (somehow shared?) 3059 locks, so does not service the query pipe on the bg side. 3060 Now those locks are only held for fg_threads and for bg_as_a_thread. 3061 306224 January 2008: Wouter 3063 - tested the cancel() function. 3064 - asynclook -c (cancel) feature. 3065 - fix fail to allocate context actions. 3066 - make pipe nonblocking at start. 3067 - update plane for retry mode with caution to limit bandwidth. 3068 - fix Makefile for concurrent make of unbound-host. 3069 - renamed ub_val_ctx_wait/poll/process/fd to ub_val*. 3070 - new calls to set forwarding added to header and docs. 3071 307223 January 2008: Wouter 3073 - removed debug prints from if-auto, verb-algo enables some. 3074 - libunbound QUIT setup, remove memory leaks, when using threads 3075 will share memory for passing results instead of writing it over 3076 the pipe, only writes ID number over the pipe (towards the handler 3077 thread that does process() ). 3078 307922 January 2008: Wouter 3080 - library code for async in libunbound/unbound.c. 3081 - fix link testbound. 3082 - fixup exit bug in mini_event. 3083 - background worker query enter and result functions. 3084 - bg query test application asynclook, it looks up multiple 3085 hostaddresses (A records) at the same time. 3086 308721 January 2008: Wouter 3088 - libworker work, netevent raw commpoints, write_msg, serialize. 3089 309018 January 2008: Wouter 3091 - touch up of manpage for libunbound. 3092 - support for IP_RECVDSTADDR (for *BSD ip4). 3093 - fix for BSD, do not use ip4to6 mapping, make two sockets, once 3094 ip6 and once ip4, uses socket options. 3095 - goodbye ip4to6 mapping. 3096 - update ldns-testpkts with latest version from ldns-trunk. 3097 - updated makedist for relative ldns pathnames. 3098 - library API with more information inside the result structure. 3099 - work on background resolves. 3100 310117 January 2008: Wouter 3102 - fixup configure in case -lldns is installed. 3103 - fixup a couple of doxygen warnings, about enum variables. 3104 - interface-automatic now copies the interface address from the 3105 PKT_INFO structure as well. 3106 - manual page with library API, all on one page 'man libunbound'. 3107 - rewrite of PKTINFO structure, it also captures IP4 PKTINFO. 3108 310916 January 2008: Wouter 3110 - incoming queries to the server with TC bit on are replied FORMERR. 3111 - interface-automatic replied the wrong source address on localhost 3112 queries. Seems to be due to ifnum=0 in recvmsg PKTINFO. Trying 3113 to use ifnum=-1 to mean 'no interface, use kernel route'. 3114 311515 January 2008: Wouter 3116 - interface-automatic feature. experimental. Nice for anycast. 3117 - tpkg test for ip6 ancillary data. 3118 - removed debug prints. 3119 - porting experience, define for Solaris, test refined for BSD 3120 compatibility. The feature probably will not work on OpenBSD. 3121 - makedist fixup for ldns-src in build-dir. 3122 312314 January 2008: Wouter 3124 - in no debug sets NDEBUG to remove asserts. 3125 - configure --enable-debug is needed for dependency generation 3126 for assertions and for compiler warnings. 3127 - ldns.tgz updated with ldns-trunk (where buffer.h is updated). 3128 - fix lint, unit test in optimize mode. 3129 - default access control allows ::ffff:127.0.0.1 v6mapped localhost. 3130 313111 January 2008: Wouter 3132 - man page, warning removed. 3133 - added text describing the use of stub zones for private zones. 3134 - checkconf tests for bad hostnames (IP address), and for doubled 3135 interface lines. 3136 - memory sizes can be given with 'k', 'Kb', or M or G appended. 3137 313810 January 2008: Wouter 3139 - typo in example.conf. 3140 - made using ldns-src that is included the package more portable 3141 by linking with .lo instead of .o files in the ldns package. 3142 - nicer do-ip6: yes/no documentation. 3143 - nicer linking of libevent .o files. 3144 - man pages render correctly on solaris. 3145 31469 January 2008: Wouter 3147 - fixup openssl RAND problem, when the system is not configured to 3148 give entropy, and the rng needs to be seeded. 3149 31508 January 2008: Wouter 3151 - print median and quartiles with extensive logging. 3152 31534 January 2008: Wouter 3154 - document misconfiguration in private network. 3155 31562 January 2008: Wouter 3157 - fixup typo in requirements. 3158 - document that 'refused' is a better choice than 'drop' for 3159 the access control list, as refused will stop retries. 3160 31617 December 2007: Wouter 3162 - unbound-host has a -d option to show what happens. This can help 3163 with debugging (why do I get this answer). 3164 - fixup CNAME handling, on nodata, sets and display canonname. 3165 - dot removed from CNAME display. 3166 - respect -v for NXDOMAINs. 3167 - updated ldns-src.tar.gz with ldns-trunk today (1.2.2 fixes). 3168 - size_t to int for portability of the header file. 3169 - fixup bogus handling. 3170 - dependencies and lint for unbound-host. 3171 31726 December 2007: Wouter 3173 - library resolution works in foreground mode, unbound-host app 3174 receives data. 3175 - unbound-host prints rdata using ldns. 3176 - unbound-host accepts trust anchors, and prints validation 3177 information when you give -v. 3178 31795 December 2007: Wouter 3180 - locking in context_new() inside the function. 3181 - setup of libworker. 3182 31834 December 2007: Wouter 3184 - minor Makefile fixup. 3185 - moved module-stack code out of daemon/daemon into services/modstack, 3186 preparing for code-reuse. 3187 - move context into own header file. 3188 - context query structure. 3189 - removed unused variable pwd from checkconf. 3190 - removed unused assignment from outside netw. 3191 - check timeval length of string. 3192 - fixup error in val_utils getsigner. 3193 - fixup same (*var) error in netblocktostr. 3194 - fixup memleak on parse error in localzone. 3195 - fixup memleak on packet parse error. 3196 - put ; after union in parser.y. 3197 - small hardening in iter_operate against iq==NULL. 3198 - hardening, if error reply with rcode=0 (noerror) send servfail. 3199 - fixup same (*var) error in find_rrset in msgparse, was harmless. 3200 - check return value of evtimer_add(). 3201 - fixup lockorder in lruhash_reclaim(), building up a list of locked 3202 entries one at a time. Instead they are removed and unlocked. 3203 - fptr_wlist for markdelfunc. 3204 - removed is_locked param from lruhash delkeyfunc. 3205 - moved bin_unlock during bin_split purely to please. 3206 32073 December 2007: Wouter 3208 - changed checkconf/ to smallapp/ to make room for more support tools. 3209 (such as unbound-host). 3210 - install dirs created with -m 755 because they need to be accessible. 3211 - library extensive featurelist added to TODO. 3212 - please doxygen, lint. 3213 - library test application, with basic functionality. 3214 - fix for building in a subdirectory. 3215 - link lib fix for Leopard. 3216 321730 November 2007: Wouter 3218 - makefile that creates libunbound.la, basic file or libunbound.a 3219 when creating static executables (no libtool). 3220 - more API setup. 3221 322229 November 2007: Wouter 3223 - 0.9 public API start. 3224 322528 November 2007: Wouter 3226 - Changeup plan for 0.8 - no complication needed, a simple solution 3227 has been chosen for authoritative features. 3228 - you can use single quotes in the config file, so it is possible 3229 to specify TXT records in local data. 3230 - fixup small memory problem in implicit transparent zone creation. 3231 - test for implicit zone creation and multiple RR RRsets local data. 3232 - local-zone nodefault test. 3233 - show testbound testlist on commit. 3234 - iterator normalizer changes CNAME chains ending in NXDOMAIN where 3235 the packet got rcode NXDOMAIN into rcode NOERROR. (since the initial 3236 domain exists). 3237 - nicer verbosity: 0 and 1 levels. 3238 - lower nonRDquery chance of eliciting wrongly typed validation 3239 requiring message from the cache. 3240 - fix for nonRDquery validation typing; nodata is detected when 3241 SOA record in auth section (all validation-requiring nodata messages 3242 have a SOA record in authority, so this is OK for the validator), 3243 and NS record is needed to be a referral. 3244 - duplicate checking when adding NSECs for a CNAME, and test. 3245 - created svn tag 0.8, after completing testbed tests. 3246 324727 November 2007: Wouter 3248 - per suggestion in rfc2308, replaced default max-ttl value with 1 day. 3249 - set size of msgparse lookup table to 32, from 1024, so that its size 3250 is below the 2048 regional large size threshold, and does not cause 3251 a call to malloc when a message is parsed. 3252 - update of memstats tool to print number of allocation calls. 3253 This is what is taking time (not space) and indicates the avg size 3254 of the allocations as well. region_alloc stat is removed. 3255 325622 November 2007: Wouter 3257 - noted EDNS in-the-middle dropping trouble as a TODO. 3258 At this point theoretical, no user trouble has been reported. 3259 - added all default AS112 zones. 3260 - answers from local zone content. 3261 * positive answer, the rrset in question 3262 * nodata answer (exist, but not that type). 3263 * nxdomain answer (domain does not exist). 3264 * empty-nonterminal answer. 3265 * But not: wildcard, nsec, referral, rrsig, cname/dname, 3266 or additional section processing, NS put in auth. 3267 - test for correct working of static and transparent and couple 3268 of important defaults (localhost, as112, reverses). 3269 Also checks deny and refuse settings. 3270 - fixup implicit zone generation and AA bit for NXDOMAIN on localdata. 3271 327221 November 2007: Wouter 3273 - local zone internal data setup. 3274 327520 November 2007: Wouter 3276 - 0.8 - str2list config support for double string config options. 3277 - local-zone and local-data options, config storage and documentation. 3278 327919 November 2007: Wouter 3280 - do not downcase NSEC and RRSIG for verification. Follows 3281 draft-ietf-dnsext-dnssec-bis-updates-06.txt. 3282 - fixup leaking unbound daemons at end of tests. 3283 - README file updated. 3284 - nice libevent not found error. 3285 - README talks about gnu make. 3286 - 0.8: unit test for addr_mask and fixups for it. 3287 and unit test for addr_in_common(). 3288 - 0.8: access-control config file element. 3289 and unit test rpl replay file. 3290 - 0.8: fixup address reporting from netevent. 3291 329216 November 2007: Wouter 3293 - privilege separation is not needed in unbound at this time. 3294 TODO item marked as such. 3295 - created beta-0.7 branch for support. 3296 - tagged 0.7 for beta release. 3297 - moved trunk to 0.8 for 0.8(auth features) development. 3298 - 0.8: access control list setup. 3299 330015 November 2007: Wouter 3301 - review fixups from Jelte. 3302 330314 November 2007: Wouter 3304 - testbed script does not recreate configure, since its in svn now. 3305 - fixup checkconf test so that it does not test 3306 /etc/unbound/unbound.conf. 3307 - tag 0.6. 3308 330913 November 2007: Wouter 3310 - remove debug print. 3311 - fixup testbound exit when LIBEVENT_SIGNAL_PROBLEM exists. 3312 331312 November 2007: Wouter 3314 - fixup signal handling where SIGTERM could be ignored if a SIGHUP 3315 arrives later on. 3316 - bugreports to unbound-bugs@nlnetlabs.nl 3317 - fixup testbound so it exits cleanly. 3318 - cleanup the caches on a reload, so that rrsetID numbers won't clash. 3319 33209 November 2007: Wouter 3321 - took ldns snapshot in repo. 3322 - default config file is /etc/unbound/unbound.conf. 3323 If it doesn't exist, it is installed with the doc/example.conf file. 3324 The file is not deleted on uninstall. 3325 - default listening is not all, but localhost interfaces. 3326 33278 November 2007: Wouter 3328 - Fixup chroot and drop user privileges. 3329 - new L root ip address in default hints. 3330 33311 November 2007: Wouter 3332 - Fixup of crash on reload, due to anchors in env not NULLed after 3333 dealloc during deinit. 3334 - Fixup of chroot call. Happens after privileges are dropped, so 3335 that checking the passwd entry still works. 3336 - minor touch up of clear() hashtable function. 3337 - VERB_DETAIL prints out what chdir, username, chroot is being done. 3338 - when id numbers run out, caches are cleared, as in design notes. 3339 Tested with a mock setup with very few bits in id, it worked. 3340 - harden-dnssec-stripped: yes is now default. It insists on dnssec 3341 data for trust anchors. Included tests for the feature. 3342 334331 October 2007: Wouter 3344 - cache-max-ttl config option. 3345 - building outside sourcedir works again. 3346 - defaults more secure: 3347 username: "unbound" 3348 chroot: "/etc/unbound" 3349 The operator can override them to be less secure ("") if necessary. 3350 - fix horrible oversight in sorting rrset references in a message, 3351 sort per reference key pointer, not on referencepointer itself. 3352 - pidfile: "/etc/unbound/unbound.pid" is now the default. 3353 - tests changed to reflect the updated default. 3354 - created hashtable clear() function that respects locks. 3355 335630 October 2007: Wouter 3357 - fixup assertion failure that relied on compressed names to be 3358 smaller than uncompressed names. A packet from comrite.com was seen 3359 to be compressed to a larger size. Added it as unit test. 3360 - quieter logging at low verbosity level for common tcp messages. 3361 - no greedy TTL update. 3362 336323 October 2007: Wouter 3364 - fixup (grand-)parent problem for dnssec-lameness detection. 3365 - fixup tests to do additional section processing for lame replies, 3366 since the detection needs that. 3367 - no longer trust in query section in reply during dnssec lame detect. 3368 - dnssec lameness does not make the server never ever queried, but 3369 non-preferred. If no other servers exist or answer, the dnssec lame 3370 server is used; the fastest dnssec lame server is chosen. 3371 - added test then when trust anchor cannot be primed (nodata), the 3372 insecure mode from unbound works. 3373 - Fixup max queries per thread, any more are dropped. 3374 337522 October 2007: Wouter 3376 - added donotquerylocalhost config option. Can be turned off for 3377 out test cases. 3378 - ISO C compat changes. 3379 - detect RA-no-AA lameness, as LAME. 3380 - DNSSEC-lameness detection, as LAME. 3381 See notes in requirements.txt for choices made. 3382 - tests for lameness detection. 3383 - added all to make test target; need unbound for fwd tests. 3384 - testbound does not pollute /etc/unbound. 3385 338619 October 2007: Wouter 3387 - added configure (and its files) to svn, so that the trunk is easier 3388 to use. ./configure, config.guess, config.sub, ltmain.sh, 3389 and config.h.in. 3390 - added yacc/lex generated files, util/configlexer.c, 3391 util/configparser.c util/configparser.h, to svn. 3392 - without lex no attempt to use it. 3393 - unsecure response validation collated into one block. 3394 - remove warning about const cast of cfgfile name. 3395 - outgoing-interfaces can be different from service interfaces. 3396 - ldns-src configure is done during unbound configure and 3397 ldns-src make is done during unbound make, and so inherits the 3398 make arguments from the unbound make invocation. 3399 - nicer error when libevent problem causes instant exit on signal. 3400 - read root hints from a root hint file (like BIND does). 3401 340218 October 2007: Wouter 3403 - addresses are logged with errors. 3404 - fixup testcode fake event to remove pending before callback 3405 since the callback may create new pending items. 3406 - tests updated because retries are now in iterator module. 3407 - ldns-testpkts code is checked for differences between unbound 3408 and ldns by makedist.sh. 3409 - ldns trunk from today added in svn repo for fallback in case 3410 no ldns is installed on the system. 3411 make download_ldns refreshes the tarball with ldns svn trunk. 3412 - ldns-src.tar.gz is used if no ldns is found on the system, and 3413 statically linked into unbound. 3414 - start of regional allocator code. 3415 - regional uses less memory and variables, simplified code. 3416 - remove of region-allocator. 3417 - alloc cache keeps a cache of recently released regional blocks, 3418 up to a maximum. 3419 - make unit test cleanly free memory. 3420 342117 October 2007: Wouter 3422 - fixup another cycle detect and ns-addr timeout resolution bug. 3423 This time by refusing delegations from the cache without addresses 3424 when resolving a mandatory-glue nameserver-address for that zone. 3425 We're going to have to ask a TLD server anyway; might as well be 3426 the TLD server for this name. And this resolves a lot of cases where 3427 the other nameserver names lead to cycles or are not available. 3428 - changed random generator from random(3) clone to arc4random wrapped 3429 for thread safety. The random generator is initialised with 3430 entropy from the system. 3431 - fix crash where failure to prime DNSKEY tried to print null pointer 3432 in the log message. 3433 - removed some debug prints, only verb_algo (4) enables them. 3434 - fixup test; new random generator took new paths; such as one 3435 where no scripted answer was available. 3436 - mark insecure RRs as insecure. 3437 - fixup removal of nonsecure items from the additional. 3438 - reduced timeout values to more realistic, 376 msec (262 msec has 3439 90% of roundtrip times, 512 msec has 99% of roundtrip times.) 3440 - server selection failover to next server after timeout (376 msec). 3441 344216 October 2007: Wouter 3443 - no malloc in log_hex. 3444 - assertions around system calls. 3445 - protect against gethostname without ending zero. 3446 - ntop output is null terminated by unbound. 3447 - pidfile content null termination 3448 - various snprintf use sizeof(stringbuf) instead of fixed constant. 3449 - changed loopdetect % 8 with & 0x7 since % can become negative for 3450 weird negative input and particular interpretation of integer math. 3451 - dname_pkt_copy checks length of result, to protect result buffers. 3452 prints an error, this should not happen. Bad strings should have 3453 been rejected earlier in the program. 3454 - remove a size_t underflow from msgreply size func. 3455 345615 October 2007: Wouter 3457 - nicer warning. 3458 - fix IP6 TCP, wrong definition check. With test package. 3459 - fixup the fact that the query section was not compressed to, 3460 the code was there but was called by value instead of by reference. 3461 And test for the case, uses xxd and nc. 3462 - more portable ip6 check for sockaddr types. 3463 34648 October 2007: Wouter 3465 - --disable-rpath option in configure for 64bit systems with 3466 several dynamic lib dirs. 3467 34687 October 2007: Wouter 3469 - fixup tests for no AD bit in non-DO queries. 3470 - test that makes sure AD bit is not set on non-DO query. 3471 34726 October 2007: Wouter 3473 - removed logfile open early. It did not have the proper permissions; 3474 it was opened as root instead of the user. And we cannot change user 3475 id yet, since chroot and bind ports need to be done. 3476 - callback checks for event callbacks done from mini_event. Because 3477 of deletions cannot do this from netevent. This means when using 3478 libevent the protection does not work on event-callbacks. 3479 - fixup too small reply (did not zero counts). 3480 - fixup reply no longer AD bit when query without DO bit. 3481 34825 October 2007: Wouter 3483 - function pointer whitelist. 3484 34854 October 2007: Wouter 3486 - overwrite sensitive random seed value after use. 3487 - switch to logfile very soon if not -d (console attached). 3488 - error messages do not reveal the trustanchor contents. 3489 - start work on function pointer whitelists. 3490 34913 October 2007: Wouter 3492 - fix for multiple empty nonterminals, after multiple DSes in the 3493 chain of trust. 3494 - mesh checks if modules are looping, and stops them. 3495 - refetch with CNAMEd nameserver address regression test added. 3496 - fixup line count bug in testcode, so testbound prints correct line 3497 number with parse errors. 3498 - unit test for multiple ENT case. 3499 - fix for cname out of validated unsec zone. 3500 - fixup nasty id=0 reuse. Also added assertions to detect its 3501 return (the assertion catches in the existing test cases). 3502 35031 October 2007: Wouter 3504 - skip F77, CXX, objC tests in configure step. 3505 - fixup crash in refetch glue after a CNAME. 3506 and protection against similar failures (with error print). 3507 350828 September 2007: Wouter 3509 - test case for unbound-checkconf, fixed so it also checks the 3510 interface: statements. 3511 351226 September 2007: Wouter 3513 - SIGHUP will reopen the log file. 3514 - Option to log to syslog. 3515 - please lint, fixup tests (that went to syslog on open, oops). 3516 - config check program. 3517 351825 September 2007: Wouter 3519 - tests for NSEC3. Fixup bitmap checks for NSEC3. 3520 - positive ANY response needs to check if wildcard expansion, and 3521 check that original data did not exist. 3522 - tests for NSEC3 that wrong use of OPTOUT is bad. For insecure 3523 delegation, for abuse of child zone apex nsec3. 3524 - create 0.5 release tag. 3525 352624 September 2007: Wouter 3527 - do not make test programs by default. 3528 - But 'make test' will perform all of the tests. 3529 - Advertise builtin select libevent alternative when no libevent 3530 is found. 3531 - signit can generate NSEC3 hashes, for generating tests. 3532 - multiple nsec3 paramaters in message test. 3533 - too high nsec3 iterations becomes insecure test. 3534 353521 September 2007: Wouter 3536 - fixup empty_DS_name allocated in wrong region (port DEC Alpha). 3537 - fixup testcode lock safety (port FreeBSD). 3538 - removes subscript has type char warnings (port Solaris 9). 3539 - fixup of field with format type to int (port MacOS/X intel). 3540 - added test for infinite loop case in nonRD answer validation. 3541 It was a more general problem, but hard to reproduce. When an 3542 unsigned rrset is being validated and the key fetched, the DS 3543 sequence is followed, but if the final name has no DS, then no 3544 proof is possible - the signature has been stripped off. 3545 354620 September 2007: Wouter 3547 - fixup and test for NSEC wildcard with empty nonterminals. 3548 - makedist.sh fixup for svn info. 3549 - acl features request in plan. 3550 - improved DS empty nonterminal handling. 3551 - compat with ANS nxdomain for empty nonterminals. Attempts the nodata 3552 proof anyway, which succeeds in ANS failure case. 3553 - striplab protection in case it becomes -1. 3554 - plans for static and blacklist config. 3555 355619 September 2007: Wouter 3557 - comments about non-packed usage. 3558 - plan for overload support in 0.6. 3559 - added testbound tests for a failed resolution from the logs 3560 and for failed prime when missing glue. 3561 - fixup so useless delegation points are not returned from the 3562 cache. Also the safety belt is used if priming fails to complete. 3563 - fixup NSEC rdata not to be lowercased, bind compat. 3564 356518 September 2007: Wouter 3566 - wildcard nsec3 testcases, and fixup to get correct wildcard name. 3567 - validator prints subtype classification for debug. 3568 356917 September 2007: Wouter 3570 - NSEC3 hash cache unit test. 3571 - validator nsec3 nameerror test. 3572 357314 September 2007: Wouter 3574 - nsec3 nodata proof, nods proof, wildcard proof. 3575 - nsec3 support for cname chain ending in noerror or nodata. 3576 - validator calls nsec3 proof routines if no NSECs prove anything. 3577 - fixup iterator bug where it stored the answer to a cname under 3578 the wrong qname into the cache. When prepending the cnames, the 3579 qname has to be reset to the original qname. 3580 358113 September 2007: Wouter 3582 - nsec3 find matching and covering, ce proof, prove namerror msg. 3583 358412 September 2007: Wouter 3585 - fixup of manual page warnings, like for NSD bugreport. 3586 - nsec3 work, config, max iterations, filter, and hash cache. 3587 35886 September 2007: Wouter 3589 - fixup to find libevent on mac port install. 3590 - fixup size_t vs unsigned portability in validator/sigcrypt. 3591 - please compiler on different platforms, for unreachable code. 3592 - val_nsec3 file. 3593 - pthread_rwlock type is optional, in case of old pthread libs. 3594 35955 September 2007: Wouter 3596 - cname, name error validator tests. 3597 - logging of qtype ANY works. 3598 - ANY type answers get RRSIG in answer section of replies (but not 3599 in other sections, unless DO bit is on). 3600 - testbound can replay a TCP query (set MATCH TCP in the QUERY). 3601 - DS and noDS referral validation test. 3602 - if you configure many trust anchors, parent trust anchors can 3603 securely deny existance of child trust anchors, if validated. 3604 - not all *.name NSECs are present because a wildcard was matched, 3605 and *.name NSECs can prove nodata for empty nonterminals. 3606 Also, for wildcard name NSECs, check they are not from the parent 3607 zone (for wildcarded zone cuts), and check absence of CNAME bit, 3608 for a nodata proof. 3609 - configure option for memory allocation debugging. 3610 - port configure option for memory allocation to solaris10. 3611 36124 September 2007: Wouter 3613 - fixup of Leakage warning when serviced queries processed multiple 3614 callbacks for the same query from the same server. 3615 - testbound removes config file from /tmp on failed exit. 3616 - fixup for referral cleanup of the additional section. 3617 - tests for cname, referral validation. 3618 - neater testbound tpkg output. 3619 - DNAMEs no longer match their apex when synthesized from the cache. 3620 - find correct signer name for DNAME responses. 3621 - wildcarded DNAME test and fixup code to detect. 3622 - prepend NSEC and NSEC3 rrsets in the iterator while chasing CNAMEs. 3623 So that wildcarded CNAMEs get their NSEC with them to the answer. 3624 - test for a CNAME to a DNAME to a CNAME to an answer, all from 3625 different domains, for key fetching and signature checking of 3626 CNAME'd messages. 3627 36283 September 2007: Wouter 3629 - Fixed error in iterator that would cause assertion failure in 3630 validator. CNAME to a NXDOMAIN response was collated into a response 3631 with both a CNAME and the NXDOMAIN rcode. Added a test that the 3632 rcode is changed to NOERROR (because of the CNAME). 3633 - timeout on tcp does not lead to spurious leakage detect. 3634 - account memory for name of lame zones, so that memory leakages does 3635 not show lame cache growth as a leakage growth. 3636 - config setting for lameness cache expressed in bytes, instead of 3637 number of entries. 3638 - tool too summarize allocations per code line. 3639 364031 August 2007: Wouter 3641 - can read bind trusted-keys { ... }; files, in a compatibility mode. 3642 - iterator should not detach target queries that it still could need. 3643 the protection against multiple outstanding queries is moved to a 3644 current_query num check. 3645 - validator nodata, positive, referral tests. 3646 - dname print can print '*' wildcard. 3647 364830 August 2007: Wouter 3649 - fixup override date config option. 3650 - config options to control memory usage. 3651 - caught bad free of un-alloced data in worker_send error case. 3652 - memory accounting for key cache (trust anchors and temporary cache). 3653 - memory accounting fixup for outside network tcp pending waits. 3654 - memory accounting fixup for outside network tcp callbacks. 3655 - memory accounting for iterator fixed storage. 3656 - key cache size and slabs config options. 3657 - lib crypto cleanups at exit. 3658 365929 August 2007: Wouter 3660 - test tool to sign rrsets for testing validator with. 3661 - added RSA and DSA test keys, public and private pairs, 512 bits. 3662 - default configuration is with validation enabled. 3663 Only a trust-anchor needs to be configured for DNSSEC to work. 3664 - do not convert to DER for DSA signature verification. 3665 - validator replay test file, for a DS to DNSKEY DSA key prime and 3666 positive response. 3667 366828 August 2007: Wouter 3669 - removed double use for udp buffers, that could fail, 3670 instead performs a malloc to do the backup. 3671 - validator validates referral messages, by validating all the rrsets 3672 and stores the rrsets in the cache. Further referral (nonRD queries) 3673 replies are made from the rrset cache directly. Unless unchecked 3674 rrsets are encountered, there are then validated. 3675 - enforce that signing is done by a parent domain (or same domain). 3676 - adjust TTL downwards if rrset TTL bigger than signature allows. 3677 - permissive mode feature, sets AD bit for secure, but bogus does 3678 not give servfail (bogus is changed into indeterminate). 3679 - optimization of rrset verification. rr canonical sorting is reused, 3680 for the same rrset. canonical rrset image in buffer is reused for 3681 the same signature. 3682 - if the rrset is too big (64k exactly + large owner name) the 3683 canonicalization routine will fail if it does not fit in buffer. 3684 - faster verification for large sigsets. 3685 - verb_detail mode reports validation failures, but not the entire 3686 algorithm for validation. Key prime failures are reported as 3687 verb_ops level. 3688 368927 August 2007: Wouter 3690 - do not garble the edns if a cache answer fails. 3691 - answer norecursive from cache if possible. 3692 - honor clean_additional setting when returning secure non-recursive 3693 referrals. 3694 - do not store referral in msg cache for nonRD queries. 3695 - store verification status in the rrset cache to speed up future 3696 verification. 3697 - mark rrsets indeterminate and insecure if they are found to be so. 3698 and store this in the cache. 3699 370024 August 2007: Wouter 3701 - message is bogus if unsecure authority rrsets are present. 3702 - val-clean-additional option, so you can turn it off. 3703 - move rrset verification out of the specific proof types into one 3704 routine. This makes the proof routines prettier. 3705 - fixup cname handling in validator, cname-to-positive and cname-to- 3706 nodata work. 3707 - Do not synthesize DNSKEY and DS responses from the rrset cache if 3708 the rrset is from the additional section. Signatures may have 3709 fallen off the packet, and cause validation failure. 3710 - more verbose signature date errors (with the date attached). 3711 - increased default infrastructure cache size. It is important for 3712 performance, and 1000 entries are only 212k (or a 400 k total cache 3713 size). To 10000 entries (for 2M entries, 4M cache size). 3714 371523 August 2007: Wouter 3716 - CNAME handling - move needs_validation to before val_new(). 3717 val_new() setups the chase-reply to be an edited copy of the msg. 3718 new classification, and find signer can find for it. 3719 removal of unsigned crap from additional, and query restart for 3720 cname. 3721 - refuse to follow wildcarded DNAMEs when validating. 3722 But you can query for qtype ANY, or qtype DNAME and validate that. 3723 372422 August 2007: Wouter 3725 - bogus TTL. 3726 - review - use val_error(). 3727 372821 August 2007: Wouter 3729 - ANY response validation. 3730 - store security status in cache. 3731 - check cache security status and either send the query to be 3732 validated, return the query to client, or send servfail to client. 3733 Sets AD bit on validated replies. 3734 - do not examine security status on an error reply in mesh_done. 3735 - construct DS, DNSKEY messages from rrset cache. 3736 - manual page entry for override-date. 3737 373820 August 2007: Wouter 3739 - validate and positive validation, positive wildcard NSEC validation. 3740 - nodata validation, nxdomain validation. 3741 374218 August 2007: Wouter 3743 - process DNSKEY response in FINDKEY state. 3744 374517 August 2007: Wouter 3746 - work on DS2KE routine. 3747 - val_nsec.c for validator NSEC proofs. 3748 - unit test for NSEC bitmap reading. 3749 - dname iswild and canonical_compare with unit tests. 3750 375116 August 2007: Wouter 3752 - DS sig unit test. 3753 - latest release libevent 1.3c and 1.3d have threading fixed. 3754 - key entry fixup data pointer and ttl absolute. 3755 - This makes a key-prime succeed in validator, with DS or DNSKEY as 3756 trust-anchor. 3757 - fixup canonical compare byfield routine, fix bug and also neater. 3758 - fixed iterator response type classification for queries of type 3759 ANY and NS. 3760 dig ANY gives sometimes NS rrset in AN and NS section, and parser 3761 removes the NS section duplicate. dig NS gives sometimes the NS 3762 in the answer section, as referral. 3763 - validator FINDKEY state. 3764 376515 August 2007: Wouter 3766 - crypto calls to verify signatures. 3767 - unit test for rrsig verification. 3768 376914 August 2007: Wouter 3770 - default outgoing ports changed to avoid port 2049 by default. 3771 This port is widely blocked by firewalls. 3772 - count infra lameness cache in memory size. 3773 - accounting of memory improved 3774 - outbound entries are allocated in the query region they are for. 3775 - extensive debugging for memory allocations. 3776 - --enable-lock-checks can be used to enable lock checking. 3777 - protect undefs in config.h from autoheaders ministrations. 3778 - print all received udp packets. log hex will print on multiple 3779 lines if needed. 3780 - fixed error in parser with backwards rrsig references. 3781 - mark cycle targets for iterator did not have CD flag so failed 3782 its task. 3783 378413 August 2007: Wouter 3785 - fixup makefile, if lexer is missing give nice error and do not 3786 mess up the dependencies. 3787 - canonical compare routine updated. 3788 - canonical hinfo compare. 3789 - printout list of the queries that the mesh is working on. 3790 379110 August 2007: Wouter 3792 - malloc and free overrides that track total allocation and frees. 3793 for memory debugging. 3794 - work on canonical sort. 3795 37969 August 2007: Wouter 3797 - canonicalization, signature checks 3798 - dname signature label count and unit test. 3799 - added debug heap size print to memory printout. 3800 - typo fixup in worker.c 3801 - -R needed on solaris. 3802 - validator override option for date check testing. 3803 38048 August 2007: Wouter 3805 - ldns _raw routines created (in ldns trunk). 3806 - sigcrypt DS digest routines 3807 - val_utils uses sigcrypt to perform signature cryptography. 3808 - sigcrypt keyset processing 3809 38107 August 2007: Wouter 3811 - security status type. 3812 - security status is copied when rdata is equal for rrsets. 3813 - rrset id is updated to invalidate all the message cache entries 3814 that refer to NSEC, NSEC3, DNAME rrsets that have changed. 3815 - val_util work 3816 - val_sigcrypt file for validator signature checks. 3817 38186 August 2007: Wouter 3819 - key cache for validator. 3820 - moved isroot and dellabel to own dname routines, with unit test. 3821 38223 August 2007: Wouter 3823 - replanning. 3824 - scrubber check section of lame NS set. 3825 - trust anchors can be in config file or read from zone file, 3826 DS and DNSKEY entries. 3827 - unit test trust anchor storage. 3828 - trust anchors converted to packed rrsets. 3829 - key entry definition. 3830 38312 August 2007: Wouter 3832 - configure change for latest libevent trunk version (needs -lrt). 3833 - query_done and walk_supers are moved out of module interface. 3834 - fixup delegation point duplicates. 3835 - fixup iterator scrubber; lame NS set is let through the scrubber 3836 so that the classification is lame. 3837 - validator module exists, and does nothing but pass through, 3838 with calling of next module and return. 3839 - validator work. 3840 38411 August 2007: Wouter 3842 - set version to 0.5 3843 - module work for module to module interconnections. 3844 - config of modules. 3845 - detect cycle takes flags. 3846 384731 July 2007: Wouter 3848 - updated plan 3849 - release 0.4 tag. 3850 385130 July 2007: Wouter 3852 - changed random state init, so that sequential process IDs are not 3853 cancelled out by sequential thread-ids in the random number seed. 3854 - the fwd_three test, which sends three queries to unbound, and 3855 unbound is kept waiting by ldns-testns for 3 seconds, failed 3856 because the retry timeout for default by unbound is 3 seconds too, 3857 it would hit that timeout and fail the test. Changed so that unbound 3858 is kept waiting for 2 seconds instead. 3859 386027 July 2007: Wouter 3861 - removed useless -C debug option. It did not work. 3862 - text edit of documentation. 3863 - added doc/CREDITS file, referred to by the manpages. 3864 - updated planning. 3865 386626 July 2007: Wouter 3867 - cycle detection, for query state dependencies. Will attempt to 3868 circumvent the cycle, but if no other targets available fails. 3869 - unit test for AXFR, IXFR response. 3870 - test for cycle detection. 3871 387225 July 2007: Wouter 3873 - testbound read ADDRESS and check it. 3874 - test for version.bind and friends. 3875 - test for iterator chaining through several referrals. 3876 - test and fixup for refetch for glue. Refetch fails if glue 3877 is still not provided. 3878 387924 July 2007: Wouter 3880 - Example section in config manual. 3881 - Addr stored for range and moment in replay. 3882 388320 July 2007: Wouter 3884 - Check CNAME chain before returning cache entry with CNAMEs. 3885 - Option harden-glue, default is on. It will discard out of zone 3886 data. If disabled, performance is faster, but spoofing attempts 3887 become a possibility. Note that still normalize scrubbing is done, 3888 and that the potentially spoofed data is used for infrastructure 3889 and not returned to the client. 3890 - if glue times out, refetch by asking parent of delegation again. 3891 Much like asking for DS at the parent side. 3892 - TODO items from forgery-resilience draft. 3893 and on memory handling improvements. 3894 - renamed module_event_timeout to module_event_noreply. 3895 - memory reporting code; reports on memory usage after handling 3896 a network packet (not on cache replies). 3897 389819 July 2007: Wouter 3899 - shuffle NS selection when getting nameserver target addresses. 3900 - fixup of deadlock warnings, yield cpu in checklock code so that 3901 freebsd scheduler selects correct process to run. 3902 - added identity and version config options and replies. 3903 - store cname messages complete answers. 3904 390518 July 2007: Wouter 3906 - do not query addresses, 127.0.0.1, and ::1 by default. 3907 390817 July 2007: Wouter 3909 - forward zone options in config file. 3910 - forward per zone in iterator. takes precendence over stubs. 3911 - fixup commithooks. 3912 - removed forward-to and forward-to-port features, subsumed by 3913 new forward zones. 3914 - fix parser to handle absent server: clause. 3915 - change untrusted rrset test to account for scrubber that is now 3916 applied during the test (which removes the poison, by the way). 3917 - feature, addresses can be specified with @portnumber, like nsd.conf. 3918 - test config files changed over to new forwarder syntax. 3919 392027 June 2007: Wouter 3921 - delete of mesh does a postorder traverse of the tree. 3922 - found and fixed a memory leak. For TTL=0 messages, that would 3923 not be cached, instead the msg-replyinfo structure was leaked. 3924 - changed server selection so it will filter out hosts that are 3925 unresponsive. This is defined as a host with the maximum rto value. 3926 This means that unbound tried the host for retries up to 120 secs. 3927 The rto value will time out after host-ttl seconds from the cache. 3928 This keeps such unresolvable queries from taking up resources. 3929 - utility for keeping histogram. 3930 393126 June 2007: Wouter 3932 - mesh is called by worker, and iterator uses it. 3933 This removes the hierarchical code. 3934 QueryTargets state and Finished state are merged for iterator. 3935 - forwarder mode no longer sets AA bit on first reply. 3936 - rcode in walk_supers is not needed. 3937 393825 June 2007: Wouter 3939 - more mesh work. 3940 - error encode routine for ease. 3941 394222 June 2007: Wouter 3943 - removed unused _node iterator value from rbtree_t. Takes up space. 3944 - iterator can handle querytargets state without a delegation point 3945 set, so that a priming(stub) subquery error can be handled. 3946 - iterator stores if it is priming or not. 3947 - log_query_info() neater logging. 3948 - changed iterator so that it does not alter module_qstate.qinfo 3949 but keeps a chase query info. Also query_flags are not altered, 3950 the iterator uses chase_flags. 3951 - fixup crash in case no ports for the family exist. 3952 395321 June 2007: Wouter 3954 - Fixup secondary buffer in case of error callback. 3955 - cleanup slumber list of runnable states. 3956 - module_subreq_depth fails to work in slumber list. 3957 - fixup query release for cached results to sub targets. 3958 - neater error for tcp connection failure, shows addr in verbose. 3959 - rbtree_init so that it can be used with preallocated memory. 3960 396120 June 2007: Wouter 3962 - new -C option to enable coredumps after forking away. 3963 - doc update. 3964 - fixup CNAME generation by scrubber, and memory allocation of it. 3965 - fixup deletion of serviced queries when all callbacks delete too. 3966 - set num target queries to 0 when you move them to slumber list. 3967 - typo in check caused subquery errors to be ignored, fixed. 3968 - make lint happy about rlim_t. 3969 - freeup of modules after freeup of module-states. 3970 - duplicate replies work, this uses secondary udp buffer in outnet. 3971 397219 June 2007: Wouter 3973 - nicer layout in stats.c, review 0.3 change. 3974 - spelling improvement, review 0.3 change. 3975 - uncapped timeout for server selection, so that very fast or slow 3976 servers will stand out from the rest. 3977 - target-fetch-policy: "3 2 1 0 0" config setting. 3978 - fixup queries answered without RD bit (for root prime results). 3979 - refuse AXFR and IXFR requests. 3980 - fixup RD flag in error reply from iterator. fixup RA flag from 3981 worker error reply. 3982 - fixup encoding of very short edns buffer sizes, now sets TC bit. 3983 - config options harden-short-bufsize and harden-large-queries. 3984 398518 June 2007: Wouter 3986 - same, move subqueries to slumber list when first has resolved. 3987 - fixup last fix for duplicate callbacks. 3988 - another offbyone in targetcounter. Also in Java prototype by the way. 3989 399015 June 2007: Wouter 3991 - if a query asks to be notified of the same serviced query result 3992 multiple times, this will succeed. Only one callback will happen; 3993 multiple outbound-list entries result (but the double cleanup of it 3994 will not matter). 3995 - when iterator moves on due to CNAME or referral, it will remove 3996 the subqueries (for other targets). These are put on the slumber 3997 list. 3998 - state module wait subq is OK with no new subqs, an old one may have 3999 stopped, with an error, and it is still waiting for other ones. 4000 - if a query loops, halt entire query (easy way to clean up properly). 4001 400214 June 2007: Wouter 4003 - num query targets was > 0 , not >= 0 compared, so that fetch 4004 policy of 0 did nothing. 4005 400613 June 2007: Wouter 4007 - debug option: configure --enable-static-exe for compile where 4008 ldns and libevent are linked statically. Default is off. 4009 - make install and make uninstall. Works with static-exe and without. 4010 installation of unbound binary and manual pages. 4011 - alignement problem fix on solaris 64. 4012 - fixup address in case of TCP error. 4013 401412 June 2007: Wouter 4015 - num target queries was set to 0 at a bad time. Default it to 0 and 4016 increase as target queries are done. 4017 - synthesize CNAME and DNAME responses from the cache. 4018 - Updated doxygen config for doxygen 1.5. 4019 - aclocal newer version. 4020 - doxygen 1.5 fixes for comments (for the strict check on docs). 4021 402211 June 2007: Wouter 4023 - replies on TCP queries have the address field set in replyinfo, 4024 for serviced queries, because the initiator does not know that 4025 a TCP fallback has occured. 4026 - omit DNSSEC types from nonDO replies, except if qtype is ANY or 4027 if qtype directly queries for the type (and then only show that 4028 'unknown type' in the answer section). 4029 - fixed message parsing where rrsigs on their own would be put 4030 in the signature list over the rrsig type. 4031 40327 June 2007: Wouter 4033 - fixup error in double linked list insertion for subqueries and 4034 for outbound list of serviced queries for iterator module. 4035 - nicer printout of outgoing port selection. 4036 - fixup cname target readout. 4037 - nicer debug output. 4038 - fixup rrset counts when prepending CNAMEs to the answer. 4039 - fixup rrset TTL for prepended CNAMEs. 4040 - process better check for looping modules, and which submodule to 4041 run next. 4042 - subreq insertion code fixup for slumber list. 4043 - VERB_DETAIL, verbosity: 2 level gives short but readable output. 4044 VERB_ALGO, verbosity: 3 gives extensive output. 4045 - fixup RA bit in cached replies. 4046 - fixup CNAME responses from the cache no longer partial response. 4047 - error in network send handled without leakage. 4048 - enable ip6 from config, and try ip6 addresses if available, 4049 if ip6 is not connected, skips to next server. 4050 40515 June 2007: Wouter 4052 - iterator state finished. 4053 - subrequests without parent store in cache and stop. 4054 - worker slumber list for ongoing promiscuous queries. 4055 - subrequest error handling. 4056 - priming failure returns SERVFAIL. 4057 - priming gives LAME result, returns SERVFAIL. 4058 - debug routine to print dns_msg as handled by iterator. 4059 - memleak in config file stubs fixup. 4060 - more small bugs, in scrubber, query compare no ID for lookup, 4061 in dname validation for NS targets. 4062 - sets entry.key for new special allocs. 4063 - lognametypeclass can display unknown types and classes. 4064 40654 June 2007: Wouter 4066 - random selection of equally preferred nameserver targets. 4067 - reply info copy routine. Reuses existing code. 4068 - cache lameness in response handling. 4069 - do not touch qstate after worker_process_query because it may have 4070 been deleted by that routine. 4071 - Prime response state. 4072 - Process target response state. 4073 - some memcmp changed to dname_compare for case preservation. 4074 40751 June 2007: Wouter 4076 - normalize incoming messages. Like unbound-java, with CNAME chain 4077 checked, DNAME checked, CNAME's synthesized, glue checked. 4078 - sanitize incoming messages. 4079 - split msgreply encode functions into own file msgencode.c. 4080 - msg_parse to queryinfo/replyinfo conversion more versatile. 4081 - process_response, classify response, delegpt_from_message. 4082 408331 May 2007: Wouter 4084 - querytargets state. 4085 - dname_subdomain_c() routine. 4086 - server selection, based on RTT. ip6 is filtered out if not available, 4087 and lameness is checked too. 4088 - delegation point copy routine. 4089 409030 May 2007: Wouter 4091 - removed FLAG_CD from message and rrset caches. This was useful for 4092 an agnostic forwarder, but not for a sophisticated (trust value per 4093 rrset enabled) cache. 4094 - iterator reponse typing. 4095 - iterator cname handle. 4096 - iterator prime start. 4097 - subquery work. 4098 - processInitRequest and processInitRequest2. 4099 - cache synthesizes referral messages, with DS and NSEC. 4100 - processInitRequest3. 4101 - if a request creates multiple subrequests these are all activated. 4102 410329 May 2007: Wouter 4104 - routines to lock and unlock array of rrsets moved to cache/rrset. 4105 - lookup message from msg cache (and copy to region). 4106 - fixed cast error in dns msg lookup. 4107 - message with duplicate rrset does not increase its TTLs twice. 4108 - 'qnamesize' changed to 'qname_len' for similar naming scheme. 4109 411025 May 2007: Wouter 4111 - Acknowledge use of unbound-java code in iterator. Nicer readme. 4112 - services/cache/dns.c DNS Cache. Hybrid cache uses msgcache and 4113 rrset cache from module environment. 4114 - packed rrset key has type and class as easily accessable struct 4115 members. They are still kept in network format for fast msg encode. 4116 - dns cache find_delegation routine. 4117 - iterator main functions setup. 4118 - dns cache lookup setup. 4119 412024 May 2007: Wouter 4121 - small changes to prepare for subqueries. 4122 - iterator forwarder feature separated out. 4123 - iterator hints stub code, config file stub code, so that first 4124 testing can proceed locally. 4125 - replay tests now have config option to enable forwarding mode. 4126 412723 May 2007: Wouter 4128 - outside network does precise timers for roundtrip estimates for rtt 4129 and for setting timeout for UDP. Pending_udp takes milliseconds. 4130 - cleaner iterator sockaddr conversion of forwarder address. 4131 - iterator/iter_utils and iter_delegpt setup. 4132 - root hints. 4133 413422 May 2007: Wouter 4135 - outbound query list for modules and support to callback with the 4136 outbound entry to the module. 4137 - testbound support for new serviced queries. 4138 - test for retry to TCP cannot use testbound any longer. 4139 - testns test for EDNS fallback, test for TCP fallback already exists. 4140 - fixes for no-locking compile. 4141 - mini_event timer precision and fix for change in timeouts during 4142 timeout callback. Fix for fwd_three tests, performed nonexit query. 4143 414421 May 2007: Wouter 4145 - small comment on hash table locking. 4146 - outside network serviced queries, contain edns and tcp fallback, 4147 and udp retries and rtt timing. 4148 414916 May 2007: Wouter 4150 - lruhash_touch() would cause locking order problems. Fixup in 4151 lock-verify in case locking cycle is found. 4152 - services/cache/rrset.c for rrset cache code. 4153 - special rrset_cache LRU updating function that uses the rrset id. 4154 - no dependencies calculation when make clean is called. 4155 - config settings for infra cache. 4156 - daemon code slightly cleaner, only creates caches once. 4157 415815 May 2007: Wouter 4159 - host cache code. 4160 - unit test for host cache. 4161 416214 May 2007: Wouter 4163 - Port to OS/X and Dec Alpha. Printf format and alignment fixes. 4164 - extensive lock debug report on join timeout. 4165 - proper RTT calculation, in utility code. 4166 - setup of services/cache/infra, host cache. 4167 416811 May 2007: Wouter 4169 - iterator/iterator.c module. 4170 - fixup to pass reply_info in testcode and in netevent. 4171 417210 May 2007: Wouter 4173 - created release-0.3 svn tag. 4174 - util/module.h 4175 - fixed compression - no longer compresses root name. 4176 41779 May 2007: Wouter 4178 - outside network cleans up waiting tcp queries on exit. 4179 - fallback to TCP. 4180 - testbound replay with retry in TCP mode. 4181 - tpkg test for retry in TCP mode, against ldns-testns server. 4182 - daemon checks max number of open files and complains if not enough. 4183 - test where data expires in the cache. 4184 - compiletests: fixed empty body ifstatements in alloc.c, in case 4185 locks are disabled. 4186 41878 May 2007: Wouter 4188 - outgoing network keeps list of available tcp buffers for outgoing 4189 tcp queries. 4190 - outgoing-num-tcp config option. 4191 - outgoing network keeps waiting list of queries waiting for buffer. 4192 - netevent supports outgoing tcp commpoints, nonblocking connects. 4193 41947 May 2007: Wouter 4195 - EDNS read from query, used to make reply smaller. 4196 - advertised edns value constants. 4197 - EDNS BADVERS response, if asked for too high edns version. 4198 - EDNS extended error reponses once the EDNS record from the query 4199 has successfully been parsed. 4200 42014 May 2007: Wouter 4202 - msgreply sizefunc is more accurate. 4203 - config settings for rrset cache size and slabs. 4204 - hashtable insert takes argument so that a thread can use its own 4205 alloc cache to store released keys. 4206 - alloc cache special_release() locks if necessary. 4207 - rrset trustworthiness type added. 4208 - thread keeps a scratchpad region for handling messages. 4209 - writev used in netevent to write tcp length and data after another. 4210 This saves a roundtrip on tcp replies. 4211 - test for one rrset updated in the cache. 4212 - test for one rrset which is not updated, as it is not deemed 4213 trustworthy enough. 4214 - test for TTL refreshed in rrset. 4215 42163 May 2007: Wouter 4217 - fill refs. Use new parse and encode to answer queries. 4218 - stores rrsets in cache. 4219 - uses new msgreply format in cache. 4220 42212 May 2007: Wouter 4222 - dname unit tests in own file and spread out neatly in functions. 4223 - more dname unit tests. 4224 - message encoding creates truncated TC flagged messages if they do 4225 not fit, and will leave out (whole)rrsets from additional if needed. 4226 42271 May 2007: Wouter 4228 - decompress query section, extremely lenient acceptance. 4229 But only for answers from other servers, not for plain queries. 4230 - compression and decompression test cases. 4231 - some stats added. 4232 - example.conf interface: line is changed from 127.0.0.1 which leads 4233 to problems if used (restricting communication to the localhost), 4234 to a documentation and test address. 4235 423627 April 2007: Wouter 4237 - removed iov usage, it is not good for dns message encoding. 4238 - owner name compression more optimal. 4239 - rrsig owner name compression. 4240 - rdata domain name compression. 4241 424226 April 2007: Wouter 4243 - floating point exception fix in lock-verify. 4244 - lint uses make dependency 4245 - fixup lint in dname owner domain name compression code. 4246 - define for offset range that can be compressed to. 4247 424825 April 2007: Wouter 4249 - prettier code; parse_rrset->type kept in host byte order. 4250 - datatype used for hashvalue of converted rrsig structure. 4251 - unit test compares edns section data too. 4252 425324 April 2007: Wouter 4254 - ttl per RR, for RRSIG rrsets and others. 4255 - dname_print debug function. 4256 - if type is not known, size calc will skip DNAME decompression. 4257 - RRSIG parsing and storing and putting in messages. 4258 - dnssec enabled unit tests (from nlnetlabs.nl and se queries). 4259 - EDNS extraction routine. 4260 426120 April 2007: Wouter 4262 - code comes through all of the unit tests now. 4263 - disabled warning about spurious extra data. 4264 - documented the RRSIG parse plan in msgparse.h. 4265 - rrsig reading and outputting. 4266 426719 April 2007: Wouter 4268 - fix unit test to actually to tests. 4269 - fix write iov helper, and fakevent code. 4270 - extra builtin testcase (small packet). 4271 - ttl converted to network format in packets. 4272 - flags converted correctly 4273 - rdatalen off by 2 error fixup. 4274 - uses less iov space for header. 4275 427618 April 2007: Wouter 4277 - review of msgparse code. 4278 - smaller test cases. 4279 428017 April 2007: Wouter 4281 - copy and decompress dnames. 4282 - store calculated hash value too. 4283 - routine to create message out of stored information. 4284 - util/data/msgparse.c for message parsing code. 4285 - unit test, and first fixes because of test. 4286 * forgot rrset_count addition. 4287 * did & of ptr on stack for memory position calculation. 4288 * dname_pkt_copy forgot to read next label length. 4289 - test from file and fixes 4290 * double frees fixed in error conditions. 4291 * types with less than full rdata allowed by parser. 4292 Some dynamic update packets seem to use it. 4293 429416 April 2007: Wouter 4295 - following a small change in LDNS, parsing code calculates the 4296 memory size to allocate for rrs. 4297 - code to handle ID creation. 4298 429913 April 2007: Wouter 4300 - parse routines. Code that parses rrsets, rrs. 4301 430212 April 2007: Wouter 4303 - dname compare routine that preserves case, with unit tests. 4304 430511 April 2007: Wouter 4306 - parse work - dname packet parse, msgparse, querysection parse, 4307 start of sectionparse. 4308 430910 April 2007: Wouter 4310 - Improved alignment of reply_info packet, nice for 32 and 64 bit. 4311 - Put RRset counts in reply_info, because the number of RRs can change 4312 due to RRset updates. 4313 - import of region-allocator code from nsd. 4314 - set alloc special type to ub_packed_rrset_key. 4315 Uses lruhash entry overflow chain next pointer in alloc cache. 4316 - doxygen documentation for region-allocator. 4317 - setup for parse scratch data. 4318 43195 April 2007: Wouter 4320 - discussed packed rrset with Jelte. 4321 43224 April 2007: Wouter 4323 - moved to version 0.3. 4324 - added util/data/dname.c 4325 - layout of memory for rrsets. 4326 43273 April 2007: Wouter 4328 - detect sign of msghdr.msg_iovlen so that the cast to that type 4329 in netevent (which is there to please lint) can be correct. 4330 The type on several OSes ranges from int, int32, uint32, size_t. 4331 Detects unsigned or signed using math trick. 4332 - constants for DNS flags. 4333 - compilation without locks fixup. 4334 - removed include of unportable header from lookup3.c. 4335 - more portable use of struct msghdr. 4336 - casts for printf warning portability. 4337 - tweaks to tests to port them to the testbed. 4338 - 0.2 tag created. 4339 43402 April 2007: Wouter 4341 - check sizes of udp received messages, not too short. 4342 - review changes. Some memmoves can be memcpys: 4byte aligned. 4343 set id correctly on cached answers. 4344 - review changes msgreply.c, memleak on error condition. AA flag 4345 clear on cached reply. Lowercase queries on hashing. 4346 unit test on lowercasing. Test AA bit not set on cached reply. 4347 Note that no TTLs are managed. 4348 434929 March 2007: Wouter 4350 - writev or sendmsg used when answering from cache. 4351 This avoids a copy of the data. 4352 - do not do useless byteswap on query id. Store reply flags in uint16 4353 for easier access (and no repeated byteswapping). 4354 - reviewed code. 4355 - configure detects and config.h includes sys/uio.h for writev decl. 4356 435728 March 2007: Wouter 4358 - new config option: num-queries-per-thread. 4359 - added tpkg test for answering three queries at the same time 4360 using one thread (from the query service list). 4361 436227 March 2007: Wouter 4363 - added test for cache and not cached answers, in testbound replays. 4364 - testbound can give config file and commandline options from the 4365 replay file to unbound. 4366 - created test that checks if items drop out of the cache. 4367 - added word 'partitioned hash table' to documentation on slab hash. 4368 A slab hash is a partitioned hash table. 4369 - worker can handle multiple queries at a time. 4370 437126 March 2007: Wouter 4372 - config settings for slab hash message cache. 4373 - test for cached answer. 4374 - Fixup deleting fake answer from testbound list. 4375 437623 March 2007: Wouter 4377 - review of yesterday's commits. 4378 - covered up memory leak of the entry locks. 4379 - answers from the cache correctly. Copies flags correctly. 4380 - sanity check for incoming query replies. 4381 - slabbed hash table. Much nicer contention, need dual cpu to see. 4382 438322 March 2007: Wouter 4384 - AIX configure check. 4385 - lock-verify can handle references to locks that are created 4386 in files it has not yet read in. 4387 - threaded hash table test. 4388 - unit test runs lock-verify afterwards and checks result. 4389 - need writelock to update data on hash_insert. 4390 - message cache code, msgreply code. 4391 439221 March 2007: Wouter 4393 - unit test of hash table, fixup locking problem in table_grow(). 4394 - fixup accounting of sizes for removing items from hashtable. 4395 - unit test for hash table, single threaded test of integrity. 4396 - lock-verify reports errors nicely. More quiet in operation. 4397 439816 March 2007: Wouter 4399 - lock-verifier, checks consistent order of locking. 4400 440114 March 2007: Wouter 4402 - hash table insert (and subroutines) and lookup implemented. 4403 - hash table remove. 4404 - unit tests for hash internal bin, lru functions. 4405 440613 March 2007: Wouter 4407 - lock_unprotect in checklocks. 4408 - util/storage/lruhash.h for LRU hash table structure. 4409 441012 March 2007: Wouter 4411 - configure.ac moved to 0.2. 4412 - query_info and replymsg util/data structure. 4413 44149 March 2007: Wouter 4415 - added rwlock writelock checking. 4416 So it will keep track of the writelock, and readlocks are enforced 4417 to not change protected memory areas. 4418 - log_hex function to dump hex strings to the logfile. 4419 - checklocks zeroes its destroyed lock after checking memory areas. 4420 - unit test for alloc. 4421 - identifier for union in checklocks to please older compilers. 4422 - created 0.1 tag. 4423 44248 March 2007: Wouter 4425 - Reviewed checklock code. 4426 44277 March 2007: Wouter 4428 - created a wrapper around thread calls that performs some basic 4429 checking for data race and deadlock, and basic performance 4430 contention measurement. 4431 44326 March 2007: Wouter 4433 - Testbed works with threading (different machines, different options). 4434 - alloc work, does the special type. 4435 44362 March 2007: Wouter 4437 - do not compile fork funcs unless needed. Otherwise will give 4438 type errors as their typedefs have not been enabled. 4439 - log shows thread numbers much more nicely (and portably). 4440 - even on systems with nonthreadsafe libevent signal handling, 4441 unbound will exit if given a signal. 4442 Reloads will not work, and exit is not graceful. 4443 - start of alloc framework layout. 4444 44451 March 2007: Wouter 4446 - Signals, libevent and threads work well, with libevent patch and 4447 changes to code (close after event_del). 4448 - set ipc pipes nonblocking. 4449 445027 February 2007: Wouter 4451 - ub_thread_join portable definition. 4452 - forking is used if no threading is available. 4453 Tested, it works, since pipes work across processes as well. 4454 Thread_join is replaced with waitpid. 4455 - During reloads the daemon will temporarily handle signals, 4456 so that they do not result in problems. 4457 - Also randomize the outgoing port range for tests. 4458 - If query list is full, will stop selecting listening ports for read. 4459 This makes all threads service incoming requests, instead of one. 4460 No memory is leaking during reloads, service of queries, etc. 4461 - test that uses ldns-testns -f to test threading. Have to answer 4462 three queries at the same time. 4463 - with verbose=0 operates quietly. 4464 446526 February 2007: Wouter 4466 - ub_random code used to select ID and port. 4467 - log code prints thread id. 4468 - unbound can thread itself, with reload(HUP) and quit working 4469 correctly. 4470 - don't open pipes for #0, doesn't need it. 4471 - listens to SIGTERM, SIGQUIT, SIGINT (all quit) and SIGHUP (reload). 4472 447323 February 2007: Wouter 4474 - Can do reloads on sigHUP. Everything is stopped, and freed, 4475 except the listening ports. Then the config file is reread. 4476 And everything is started again (and listening ports if needed). 4477 - Ports for queries are shared. 4478 - config file added interface:, chroot: and username:. 4479 - config file: directory, logfile, pidfile. And they work too. 4480 - will daemonize by default now. Use -d to stay in the foreground. 4481 - got BSD random[256 state] code, made it threadsafe. util/random. 4482 448322 February 2007: Wouter 4484 - Have a config file. Removed commandline options, moved to config. 4485 - tests use config file. 4486 448721 February 2007: Wouter 4488 - put -c option in man page. 4489 - minievent fd array capped by FD_SETSIZE. 4490 449120 February 2007: Wouter 4492 - Added locks code and pthread spinlock detection. 4493 - can use no locks, or solaris native thread library. 4494 - added yacc and lex configure, and config file parsing code. 4495 also makedist.sh, and manpage. 4496 - put include errno.h in config.h 4497 449819 February 2007: Wouter 4499 - Created 0.0 svn tag. 4500 - added acx_pthread.m4 autoconf check for pthreads from 4501 the autoconf archive. It is GPL-with-autoconf-exception Licensed. 4502 You can specify --with-pthreads, or --without-pthreads to configure. 4503 450416 February 2007: Wouter 4505 - Updated testbed script, works better by using make on remote end. 4506 - removed check decls, we can compile without them. 4507 - makefile supports LIBOBJ replacements. 4508 - docs checks ignore compat code. 4509 - added util/mini-event.c and .h, a select based alternative used with 4510 ./configure --with-libevent=no 4511 It is limited to 1024 file descriptors, and has less features. 4512 - will not create ip6 sockets if ip6 not on the machine. 4513 451415 February 2007: Wouter 4515 - port to FreeBSD 4.11 Dec Alpha. Also works on Solaris 10 sparc64, 4516 Solaris 9, FreeBSD 6, Linux i386 and OSX powerpc. 4517 - malloc rndstate, so that it is aligned for access. 4518 - fixed rbtree cleanup with postorder traverse. 4519 - fixed pending messages are deleted when handled. 4520 - You can control verbosity; default is not verbose, every -v 4521 adds more verbosity. 4522 452314 February 2007: Wouter 4524 - Included configure.ac changes from ldns. 4525 - detect (some) headers before the standards check. 4526 - do not use isblank to test c99, since its not available on solaris9. 4527 - review of testcode. 4528 * entries in a RANGE are no longer reversed. 4529 * print name of file with replay entry parse errors. 4530 - port to OSX: cast to int for some prints of sizet. 4531 - Makefile copies ldnstestpkts.c before doing dependencies on it. 4532 453313 February 2007: Wouter 4534 - work on fake events, first fwd replay works. 4535 - events can do timeouts and errors on queries to servers. 4536 - test package that runs replay scenarios. 4537 453812 February 2007: Wouter 4539 - work on fake events. 4540 45419 February 2007: Wouter 4542 - replay file reading. 4543 - fake event setup, it creates fake structures, and teardowns, 4544 added signal callbacks to reply to be able to fake those, 4545 and main structure of event replay routines. 4546 45478 February 2007: Wouter 4548 - added tcp test. 4549 - replay storage. 4550 - testcode/fake_event work. 4551 45527 February 2007: Wouter 4553 - return answer with the same ID as query was sent with. 4554 - created udp forwarder test. I've done some effort to make it perform 4555 quickly. After servers are created, no big sleep statements but 4556 it checks the logfiles to see if servers have come up. Takes 0.14s. 4557 - set addrlen value when calling recvfrom. 4558 - comparison of addrs more portable. 4559 - LIBEVENT option for testbed to set libevent directory. 4560 - work on tcp input. 4561 45626 February 2007: Wouter 4563 - reviewed code and improved in places. 4564 45655 February 2007: Wouter 4566 - Picked up stdc99 and other define tests from ldns. Improved 4567 POSIX define test to include getaddrinfo. 4568 - defined constants for netevent callback error code. 4569 - unit test for strisip6. 4570 45712 February 2007: Wouter 4572 - Created udp4 and udp6 port arrays to provide service for both 4573 address families. 4574 - uses IPV6_USE_MIN_MTU for udp6 ,IPV6_V6ONLY to make ip6 sockets. 4575 - listens on both ip4 and ip6 ports to provide correct return address. 4576 - worker fwder address filled correctly. 4577 - fixup timer code. 4578 - forwards udp queries and sends answer. 4579 45801 February 2007: Wouter 4581 - outside network more UDP work. 4582 - moved * closer to type. 4583 - comm_timer object and events. 4584 458531 January 2007: Wouter 4586 - Added makedist.sh script to make release tarball. 4587 - Removed listen callback layer, did not add anything. 4588 - Added UDP recv to netevent, worker callback for udp. 4589 - netevent communication reply storage structure. 4590 - minimal query header sanity checking for worker. 4591 - copied over rbtree implementation from NSD (BSD licensed too). 4592 - outgoing network query service work. 4593 459430 January 2007: Wouter 4595 - links in example/ldns-testpkts.c and .h for premade packet support. 4596 - added callback argument to listen_dnsport and daemon/worker. 4597 459829 January 2007: Wouter 4599 - unbound.8 a short manpage. 4600 460126 January 2007: Wouter 4602 - fixed memleak. 4603 - make lint works on BSD and Linux (openssl defines). 4604 - make tags works. 4605 - testbound program start. 4606 460725 January 2007: Wouter 4608 - fixed lint so it may work on BSD. 4609 - put license into header of every file. 4610 - created verbosity flag. 4611 - fixed libevent configure flag. 4612 - detects event_base_free() in new libevent 1.2 version. 4613 - getopt in daemon. fatal_exit() and verbose() logging funcs. 4614 - created log_assert, that throws assertions to the logfile. 4615 - listen_dnsport service. Binds ports. 4616 461724 January 2007: Wouter 4618 - cleaned up configure.ac. 4619 462023 January 2007: Wouter 4621 - added libevent to configure to link with. 4622 - util/netevent setup work. 4623 - configure searches for libevent. 4624 - search for libs at end of configure (when other headers and types 4625 have been found). 4626 - doxygen works with ATTR_UNUSED(). 4627 - util/netevent implementation. 4628 462922 January 2007: Wouter 4630 - Designed header file for network communication. 4631 463216 January 2007: Wouter 4633 - added readme.svn and readme.tests. 4634 46354 January 2007: Wouter 4636 - Testbed script (run on multiple platforms the test set). 4637 Works on Sunos9, Sunos10, FreeBSD 6.1, Fedora core 5. 4638 - added unit test tpkg. 4639 46403 January 2007: Wouter 4641 - committed first set of files into subversion repository. 4642 svn co svn+ssh://unbound.net/svn/unbound 4643 You need a ssh login. There is no https access yet. 4644 - Added LICENSE, the BSD license. 4645 - Added doc/README with compile help. 4646 - main program stub and quiet makefile. 4647 - minimal logging service (to stderr). 4648 - added postcommit hook that serves emails. 4649 - added first test 00-lint. postcommit also checks if build succeeds. 4650 - 01-doc: doxygen doc target added for html docs. And stringent test 4651 on documented files, functions and parameters. 4652 465315 December 2006: Wouter 4654 - Created Makefile.in and configure.ac. 4655