Changelog revision 292206
1292206Sdes8 December 2015: Wouter 2292206Sdes - Fixup 724 for unbound-control. 3292206Sdes 4292206Sdes7 December 2015: Ralph 5292206Sdes - Do not minimise forwarded requests. 6292206Sdes 7292206Sdes4 December 2015: Wouter 8292206Sdes - Removed unneeded whitespace from example.conf. 9292206Sdes 10292206Sdes3 December 2015: Ralph 11292206Sdes - (after rc1 tag) 12292206Sdes - Committed fix to qname minimisation and unit test case for it. 13292206Sdes 14292206Sdes3 December 2015: Wouter 15292206Sdes - iana portlist update. 16292206Sdes - 1.5.7rc1 prerelease tag. 17292206Sdes 18292206Sdes2 December 2015: Wouter 19292206Sdes - Fixup 724: Fix PCA prompt for unbound-service-install.exe. 20292206Sdes re-enable stdout printout. 21292206Sdes - For 724: Add Changelog to windows binary dist. 22292206Sdes 23292206Sdes1 December 2015: Ralph 24292206Sdes - Qname minimisation review fixes 25292206Sdes 26292206Sdes1 December 2015: Wouter 27292206Sdes - Fixup 724 fix for fname_after_chroot() calls. 28292206Sdes - Remove stdout printout for unbound-service-install.exe 29292206Sdes - .gitignore for git users. 30292206Sdes 31292206Sdes30 November 2015: Ralph 32292206Sdes - Implemented qname minimisation 33292206Sdes 34292206Sdes30 November 2015: Wouter 35292206Sdes - Fix for #724: conf syntax to read files from run dir (on Windows). 36292206Sdes 37292206Sdes25 November 2015: Wouter 38292206Sdes - Fix for #720, fix unbound-control-setup windows batch file. 39292206Sdes 40292206Sdes24 November 2015: Wouter 41292206Sdes - Fix #720: add windows scripts to zip bundle. 42292206Sdes - iana portlist update. 43292206Sdes 44292206Sdes20 November 2015: Wouter 45292206Sdes - Added assert on rrset cache correctness. 46292206Sdes - Fix that malformed EDNS query gets a response without malformed EDNS. 47292206Sdes 48292206Sdes18 November 2015: Wouter 49292206Sdes - newer acx_nlnetlabs.m4. 50292206Sdes - spelling fixes from Igor Sobrado Delgado. 51292206Sdes 52292206Sdes17 November 2015: Wouter 53292206Sdes - Fix #594. libunbound: optionally use libnettle for crypto. 54292206Sdes Contributed by Luca Bruno. Added --with-nettle for use with 55292206Sdes --with-libunbound-only. 56292206Sdes - refactor nsec3 hash implementation to be more library-portable. 57292206Sdes - iana portlist update. 58292206Sdes - Fixup DER encoded DSA signatures for libnettle. 59292206Sdes 60292206Sdes16 November 2015: Wouter 61292206Sdes - Fix for lenient accept of reverse order DNAME and CNAME. 62292206Sdes 63292206Sdes6 November 2015: Wouter 64292206Sdes - Change example.conf: ftp.internic.net to https://www.internic.net 65292206Sdes 66292206Sdes5 November 2015: Wouter 67292206Sdes - ACX_SSL_CHECKS no longer adds -ldl needlessly. 68292206Sdes 69292206Sdes3 November 2015: Wouter 70292206Sdes - Fix #718: Fix unbound-control-setup with support for env 71292206Sdes without HEREDOC bash support. 72292206Sdes 73292206Sdes29 October 2015: Wouter 74292206Sdes - patch from Doug Hogan for SSL_OP_NO_SSLvx options. 75292206Sdes - Fix #716: nodata proof with empty non-terminals and wildcards. 76292206Sdes 77292206Sdes28 October 2015: Wouter 78292206Sdes - Fix checklock testcode for linux threads on exit. 79292206Sdes 80292206Sdes27 October 2015: Wouter 81292206Sdes - isblank() compat implementation. 82292206Sdes - detect libexpat without xml_StopParser function. 83292206Sdes - portability fixes. 84292206Sdes - portability, replace snprintf if return value broken. 85292206Sdes 86292206Sdes23 October 2015: Wouter 87292206Sdes - Fix #714: Document config to block private-address for IPv4 88292206Sdes mapped IPv6 addresses. 89292206Sdes 90292206Sdes22 October 2015: Wouter 91292206Sdes - Fix #712: unbound-anchor appears to not fsync root.key. 92292206Sdes 93292206Sdes20 October 2015: Wouter 94292206Sdes - 1.5.6 release. 95292206Sdes - trunk tracks development of 1.5.7. 96292206Sdes 97292206Sdes15 October 2015: Wouter 98292206Sdes - Fix segfault in the dns64 module in the formaterror error path. 99292206Sdes - Fix sldns_wire2str_rdata_scan for malformed RRs. 100292206Sdes - tag for 1.5.6rc1 release. 101292206Sdes 102292206Sdes14 October 2015: Wouter 103292206Sdes - ANY responses include DNAME records if present, as per Evan Hunt's 104292206Sdes remark in dnsop. 105292206Sdes - Fix manpage to suggest using SIGTERM to terminate the server. 106292206Sdes 107292206Sdes9 October 2015: Wouter 108292206Sdes - Default for ssl-port is port 853, the temporary port assignment 109292206Sdes for secure domain name system traffic. 110292206Sdes If you used to rely on the older default of port 443, you have 111292206Sdes to put a clause in unbound.conf for that. The new value is likely 112292206Sdes going to be the standardised port number for this traffic. 113292206Sdes - iana portlist update. 114292206Sdes 115292206Sdes6 October 2015: Wouter 116292206Sdes - 1.5.5 release. 117292206Sdes - trunk tracks the development of 1.5.6. 118292206Sdes 119289063Sdes28 September 2015: Wouter 120289063Sdes - MAX_TARGET_COUNT increased to 64, to fix up sporadic resolution 121289063Sdes failures. 122289063Sdes - tag for 1.5.5rc1 release. 123289063Sdes - makedist.sh: pgp sig echo commands. 124289063Sdes 125289063Sdes25 September 2015: Wouter 126289063Sdes - Fix unbound-control flush that does not succeed in removing data. 127289063Sdes 128289063Sdes22 September 2015: Wouter 129289063Sdes - Fix config globbed include chroot treatment, this fixes reload of 130289063Sdes globs (patch from Dag-Erling Sm��rgrav). 131289063Sdes - iana portlist update. 132289063Sdes - Fix #702: New IPs for for h.root-servers.net. 133289063Sdes - Remove confusion comment from canonical_compare() function. 134289063Sdes - Fix #705: ub_ctx_set_fwd() return value mishandled on windows. 135289063Sdes - testbound selftest also works in non-debug mode. 136289063Sdes - Fix minor error in unbound.conf.5.in 137289063Sdes - Fix unbound.conf(5) access-control description for precedence 138289063Sdes and default. 139289063Sdes 140289063Sdes31 August 2015: Wouter 141289063Sdes - changed windows setup compression to be more transparent. 142289063Sdes 143289063Sdes28 August 2015: Wouter 144289063Sdes - Fix #697: Get PY_MAJOR_VERSION failure at configure for python 145289063Sdes 2.4 to 2.6. 146289063Sdes - Feature #699: --enable-pie option to that builds PIE binary. 147289063Sdes - Feature #700: --enable-relro-now option that enables full read-only 148289063Sdes relocation. 149289063Sdes 150289063Sdes24 August 2015: Wouter 151289063Sdes - Fix deadlock for local data add and zone add when unbound-control 152289063Sdes list_local_data printout is interrupted. 153289063Sdes - iana portlist update. 154289063Sdes - Change default of harden-algo-downgrade to off. This is lenient 155289063Sdes for algorithm rollover. 156289063Sdes 157289063Sdes13 August 2015: Wouter 158289063Sdes - 5011 implementation does not insist on all algorithms, when 159289063Sdes harden-algo-downgrade is turned off. 160289063Sdes - Reap the child process that libunbound spawns. 161289063Sdes 162289063Sdes11 August 2015: Wouter 163289063Sdes - Fix #694: configure script does not detect LibreSSL 2.2.2 164289063Sdes 165289063Sdes4 August 2015: Wouter 166289063Sdes - Document that local-zone nodefault matches exactly and transparent 167289063Sdes can be used to release a subzone. 168289063Sdes 169289063Sdes3 August 2015: Wouter 170289063Sdes - Document in the manual more text about configuring locally served 171289063Sdes zones. 172289063Sdes - Fix 5011 anchor update timer after reload. 173289063Sdes - Fix mktime in unbound-anchor not using UTC. 174289063Sdes 175289063Sdes30 July 2015: Wouter 176289063Sdes - please afl-gcc (llvm) for uninitialised variable warning. 177289063Sdes - Added permit-small-holddown config to debug fast 5011 rollover. 178289063Sdes 179289063Sdes24 July 2015: Wouter 180289063Sdes - Fix #690: Reload fails when so-reuseport is yes after changing 181289063Sdes num-threads. 182289063Sdes - iana portlist update. 183289063Sdes 184289063Sdes21 July 2015: Wouter 185289063Sdes - Fix configure to detect SSL_CTX_set_ecdh_auto. 186289063Sdes - iana portlist update. 187289063Sdes 188289063Sdes20 July 2015: Wouter 189289063Sdes - Enable ECDHE for servers. Where available, use 190289063Sdes SSL_CTX_set_ecdh_auto() for TLS-wrapped server configurations to 191289063Sdes enable ECDHE. Otherwise, manually offer curve p256. 192289063Sdes Client connections should automatically use ECDHE when available. 193289063Sdes (thanks Daniel Kahn Gillmor) 194289063Sdes 195289063Sdes18 July 2015: Willem 196289063Sdes - Allow certificate chain files to allow for intermediate certificates. 197289063Sdes (thanks Daniel Kahn Gillmor) 198289063Sdes 199289063Sdes13 July 2015: Wouter 200289063Sdes - makedist produces sha1 and sha256 files for created binaries too. 201289063Sdes 202289063Sdes9 July 2015: Wouter 203289063Sdes - 1.5.4 release tag 204289063Sdes - trunk has 1.5.5 in development. 205289063Sdes - Fix #681: Setting forwarders with unbound-control forward 206289063Sdes implicitly turns on forward-first. 207289063Sdes 208287917Sdes29 June 2015: Wouter 209287917Sdes - iana portlist update. 210287917Sdes - Fix alloc with log for allocation size checks. 211287917Sdes 212287917Sdes26 June 2015: Wouter 213287917Sdes - Fix #677 Fix DNAME responses from cache that failed internal chain 214287917Sdes test. 215287917Sdes - iana portlist update. 216287917Sdes 217287917Sdes22 June 2015: Wouter 218287917Sdes - Fix #677 Fix CNAME corresponding to a DNAME was checked incorrectly 219287917Sdes and was therefore always synthesized (thanks to Valentin Dietrich). 220287917Sdes 221287917Sdes4 June 2015: Wouter 222287917Sdes - RFC 7553 RR type URI support, is now enabled by default. 223287917Sdes 224287917Sdes2 June 2015: Wouter 225287917Sdes - Fix #674: Do not free pointers given by getenv. 226287917Sdes 227287917Sdes29 May 2015: Wouter 228287917Sdes - Fix that unparseable error responses are ratelimited. 229287917Sdes - SOA negative TTL is capped at minimumttl in its rdata section. 230287917Sdes - cache-max-negative-ttl config option, default 3600. 231287917Sdes 232287917Sdes26 May 2015: Wouter 233287917Sdes - Document that ratelimit works with unbound-control set_option. 234287917Sdes 235287917Sdes21 May 2015: Wouter 236287917Sdes - iana portlist update. 237287917Sdes - documentation proposes ratelimit of 1000 (closer to what upstream 238287917Sdes servers expect from us). 239287917Sdes 240287917Sdes20 May 2015: Wouter 241287917Sdes - DLV is going to be decommissioned. Advice to stop using it, and 242287917Sdes put text in the example configuration and man page to that effect. 243287917Sdes 244287917Sdes10 May 2015: Wouter 245287917Sdes - Change syntax of particular validator error to be easier for 246287917Sdes machine parse, swap rrset and ip adres info so it looks like: 247287917Sdes validation failure <www.example.nl. TXT IN>: signature crypto 248287917Sdes failed from 2001:DB8:7:bba4::53 for <*.example.nl. NSEC IN> 249287917Sdes 250287917Sdes1 May 2015: Wouter 251287917Sdes - caps-whitelist in unbound.conf allows whitelist of loadbalancers 252287917Sdes that cannot work with caps-for-id or its fallback. 253287917Sdes 254287917Sdes30 April 2015: Wouter 255287917Sdes - Unit test for type ANY synthesis. 256287917Sdes 257287917Sdes22 April 2015: Wouter 258287917Sdes - Removed contrib/unbound_unixsock.diff, because it has been 259287917Sdes integrated, use control-interface: /path in unbound.conf. 260287917Sdes - iana portlist update. 261287917Sdes 262287917Sdes17 April 2015: Wouter 263287917Sdes - Synthesize ANY responses from cache. Does not search exhaustively, 264287917Sdes but MX,A,AAAA,SOA,NS also CNAME. 265287917Sdes - Fix leaked dns64prefix configuration string. 266287917Sdes 267287917Sdes16 April 2015: Wouter 268287917Sdes - Add local-zone type inform_deny, that logs query and drops answer. 269287917Sdes - Ratelimit does not apply to prefetched queries, and ratelimit-factor 270287917Sdes is default 10. Repeated normal queries get resolved and with 271287917Sdes prefetch stay in the cache. 272287917Sdes - Fix bug#664: libunbound python3 related fixes (from Tomas Hozza) 273287917Sdes Use print_function also for Python2. 274287917Sdes libunbound examples: produce sorted output. 275287917Sdes libunbound-Python: libldns is not used anymore. 276287917Sdes Fix issue with Python 3 mapping of FILE* using file_py3.i from ldns. 277287917Sdes 278287917Sdes10 April 2015: Wouter 279287917Sdes - unbound-control ratelimit_list lists high rate domains. 280287917Sdes - ratelimit feature, ratelimit: 100, or some sensible qps, can be 281287917Sdes used to turn it on. It ratelimits recursion effort per zone. 282287917Sdes For particular names you can configure exceptions in unbound.conf. 283287917Sdes - Fix that get_option for cache-sizes does not print double newline. 284287917Sdes - Fix#663: ssl handshake fails when using unix socket because dh size 285287917Sdes is too small. 286287917Sdes 287287917Sdes8 April 2015: Wouter 288287917Sdes - Fix crash in dnstap: Do not try to log TCP responses after timeout. 289287917Sdes 290287917Sdes7 April 2015: Wouter 291287917Sdes - Libunbound skips dos-line-endings from etc/hosts. 292287917Sdes - Unbound exits with a fatal error when the auto-trust-anchor-file 293287917Sdes fails to be writable. This is seconds after startup. You can 294287917Sdes load a readonly auto-trust-anchor-file with trust-anchor-file. 295287917Sdes The file has to be writable to notice the trust anchor change, 296287917Sdes without it, a trust anchor change will be unnoticed and the system 297287917Sdes will then become inoperable. 298287917Sdes - unbound-control list_insecure command shows the negative trust 299287917Sdes anchors currently configured, patch from Jelte Jansen. 300287917Sdes 301287917Sdes2 April 2015: Wouter 302287917Sdes - Fix #660: Fix interface-automatic broken in the presence of 303287917Sdes asymmetric routing. 304287917Sdes 305287917Sdes26 March 2015: Wouter 306287917Sdes - remote.c probedelay line is easier to read. 307287917Sdes - rename ldns subdirectory to sldns to avoid name collision. 308287917Sdes 309287917Sdes25 March 2015: Wouter 310287917Sdes - Fix #657: libunbound(3) recommends deprecated 311287917Sdes CRYPTO_set_id_callback. 312287917Sdes - If unknown trust anchor algorithm, and libressl is used, error 313287917Sdes message encourages upgrade of the libressl package. 314287917Sdes 315282089Sdes23 March 2015: Wouter 316282089Sdes - Fix segfault on user not found at startup (from Maciej Soltysiak). 317282089Sdes 318287917Sdes20 March 2015: Wouter 319287917Sdes - Fixed to add integer overflow checks on allocation (defense in depth). 320287917Sdes 321287917Sdes19 March 2015: Wouter 322287917Sdes - Add ip-transparent config option for bind to non-local addresses. 323287917Sdes 324287917Sdes17 March 2015: Wouter 325287917Sdes - Use reallocarray for integer overflow protection, patch submitted 326287917Sdes by Loganaden Velvindron. 327287917Sdes 328287917Sdes16 March 2015: Wouter 329287917Sdes - Fixup compile on cygwin, more portable openssl thread id. 330287917Sdes 331287917Sdes12 March 2015: Wouter 332287917Sdes - Updated default keylength in unbound-control-setup to 3k. 333287917Sdes 334287917Sdes10 March 2015: Wouter 335287917Sdes - Fix lintian warning in unbound-checkconf man page (from Andreas 336287917Sdes Schulze). 337287917Sdes - print svnroot when building windows dist. 338287917Sdes - iana portlist update. 339287917Sdes - Fix warning on sign compare in getentropy_linux. 340287917Sdes 341287917Sdes9 March 2015: Wouter 342287917Sdes - Fix #644: harden-algo-downgrade option, if turned off, fixes the 343287917Sdes reported excessive validation failure when multiple algorithms 344287917Sdes are present. It allows the weakest algorithm to validate the zone. 345287917Sdes - iana portlist update. 346287917Sdes 347287917Sdes5 March 2015: Wouter 348287917Sdes - contrib/unbound_smf22.tar.gz: Solaris SMF installation/removal 349287917Sdes scripts. Contributed by Yuri Voinov. 350287917Sdes - Document that incoming-num-tcp increase is good for large servers. 351287917Sdes - stats reports tcp usage, of incoming-num-tcp buffers. 352287917Sdes 353287917Sdes4 March 2015: Wouter 354287917Sdes - Patch from Brad Smith that syncs compat/getentropy_linux with 355287917Sdes OpenBSD's version (2015-03-04). 356287917Sdes - 0x20 fallback improved: servfail responses do not count as missing 357287917Sdes comparisons (except if all responses are errors), 358287917Sdes inability to find nameservers does not fail equality comparisons, 359287917Sdes many nameservers does not try to compare more than max-sent-count, 360287917Sdes parse failures start 0x20 fallback procedure. 361287917Sdes - store caps_response with best response in case downgrade response 362287917Sdes happens to be the last one. 363287917Sdes - Document windows 8 tests. 364287917Sdes 365287917Sdes3 March 2015: Wouter 366287917Sdes - tag 1.5.3rc1 367287917Sdes [ This became 1.5.3 on 10 March, trunk is 1.5.4 in development ] 368287917Sdes 369282089Sdes2 March 2015: Wouter 370282089Sdes - iana portlist update. 371282089Sdes 372282089Sdes20 February 2015: Wouter 373282089Sdes - Use the getrandom syscall introduced in Linux 3.17 (from Heiner 374282089Sdes Kallweit). 375282089Sdes - Fix #645 Portability to Solaris 10, use AF_LOCAL. 376282089Sdes - Fix #646 Portability to Solaris, -lrt for getentropy_solaris. 377282089Sdes - Fix #647 crash in 1.5.2 because pwd.db no longer accessible after 378282089Sdes reload. 379282089Sdes 380282089Sdes19 February 2015: Wouter 381282089Sdes - 1.5.2 release tag. 382282089Sdes - svn trunk contains 1.5.3 under development. 383282089Sdes 384282089Sdes13 February 2015: Wouter 385282089Sdes - Fix #643: doc/example.conf.in: unnecessary whitespace. 386282089Sdes 387282089Sdes12 February 2015: Wouter 388282089Sdes - tag 1.5.2rc1 389282089Sdes 390282089Sdes11 February 2015: Wouter 391282089Sdes - iana portlist update. 392282089Sdes 393282089Sdes10 February 2015: Wouter 394282089Sdes - Fix scrubber with harden-glue turned off to reject NS (and other 395282089Sdes not-address) records. 396282089Sdes 397282089Sdes9 February 2015: Wouter 398282089Sdes - Fix validation failure in case upstream forwarder (ISC BIND) does 399282089Sdes not have the same trust anchors and decides to insert unsigned NS 400282089Sdes record in authority section. 401282089Sdes 402282089Sdes2 February 2015: Wouter 403282089Sdes - infra-cache-min-rtt patch from Florian Riehm, for expected long 404282089Sdes uplink roundtrip times. 405282089Sdes 406282089Sdes30 January 2015: Wouter 407282089Sdes - Fix 0x20 capsforid fallback to omit gratuitous NS and additional 408282089Sdes section changes. 409282089Sdes - Portability fix for Solaris ('sun' is not usable for a variable). 410282089Sdes 411282089Sdes29 January 2015: Wouter 412282089Sdes - Fix pyunbound byte string representation for python3. 413282089Sdes 414282089Sdes26 January 2015: Wouter 415282089Sdes - Fix unintended use of gcc extension for incomplete enum types, 416282089Sdes compile with pedantic c99 compliance (from Daniel Dickman). 417282089Sdes 418282089Sdes23 January 2015: Wouter 419282089Sdes - windows port fixes, no AF_LOCAL, no chown, no chmod(grp). 420282089Sdes 421282089Sdes16 January 2015: Wouter 422282089Sdes - unit test for local unix connection. Documentation and log_addr 423282089Sdes does not inspect port for AF_LOCAL. 424282089Sdes - unbound-checkconf -f prints chroot with pidfile path. 425282089Sdes 426282089Sdes13 January 2015: Wouter 427282089Sdes - iana portlist update. 428282089Sdes 429282089Sdes12 January 2015: Wouter 430282089Sdes - Cast sun_len sizeof to socklen_t. 431282089Sdes - Fix pyunbound ord call, portable for python 2 and 3. 432282089Sdes 433282089Sdes7 January 2015: Wouter 434282089Sdes - Fix warnings in pythonmod changes. 435282089Sdes 436282089Sdes6 January 2015: Wouter 437282089Sdes - iana portlist update. 438277057Sdes - patch for remote control over local sockets, from Dag-Erling 439277057Sdes Smorgrav, Ilya Bakulin. Use control-interface: /path/sock and 440277057Sdes control-use-cert: no. 441277057Sdes - Fixup that patch and uid lookup (only for daemon). 442277057Sdes - coded the default of control-use-cert, to yes. 443276605Sdes 444282089Sdes5 January 2015: Wouter 445282089Sdes - getauxval test for ppc64 linux compatibility. 446282089Sdes - make strip works for unbound-host and unbound-anchor. 447282089Sdes - patch from Stephane Lapie that adds to the python API, that 448282089Sdes exposes struct delegpt, and adds the find_delegation function. 449282089Sdes - print query name when max target count is exceeded. 450282089Sdes - patch from Stuart Henderson that fixes DESTDIR in 451282089Sdes unbound-control-setup for installs where config is not in 452282089Sdes the prefix location. 453282089Sdes - Fix #634: fix fail to start on Linux LTS 3.14.X, ignores missing 454282089Sdes IP_MTU_DISCOVER OMIT option (fix from Remi Gacogne). 455282089Sdes - Updated contrib warmup.cmd/sh to support two modes - load 456282089Sdes from pre-defined list of domains or (with filename as argument) 457282089Sdes load from user-specified list of domains, and updated contrib 458282089Sdes unbound_cache.sh/cmd to support loading/save/reload cache to/from 459282089Sdes default path or (with secondary argument) arbitrary path/filename, 460282089Sdes from Yuri Voinov. 461282089Sdes - Patch from Philip Paeps to contrib/unbound_munin_ that uses 462282089Sdes type ABSOLUTE. Allows munin.conf: [idleserver.example.net] 463282089Sdes unbound_munin_hits.graph_period minute 464282089Sdes 465282089Sdes9 December 2014: Wouter 466282089Sdes - svn trunk has 1.5.2 in development. 467282089Sdes - config.guess and config.sub update from libtoolize. 468282089Sdes - local-zone: example.com inform makes unbound log a message with 469282089Sdes client IP for queries in that zone. Eg. for finding infected hosts. 470282089Sdes 471282089Sdes8 December 2014: Wouter 472282089Sdes - Fix CVE-2014-8602: denial of service by making resolver chase 473282089Sdes endless series of delegations. 474282089Sdes 475276605Sdes1 December 2014: Wouter 476276605Sdes - Fix bug#632: unbound fails to build on AArch64, protects 477276605Sdes getentropy compat code from calling sysctl if it is has been removed. 478276605Sdes 479276605Sdes29 November 2014: Wouter 480276605Sdes - Add include to getentropy_linux.c, hopefully fixing debian build. 481276605Sdes 482276605Sdes28 November 2014: Wouter 483276605Sdes - Fix makefile for build from noexec source tree. 484276605Sdes 485276605Sdes26 November 2014: Wouter 486276605Sdes - Fix libunbound undefined symbol errors for main. 487276605Sdes Referencing main does not seem to be possible for libunbound. 488276605Sdes 489276605Sdes24 November 2014: Wouter 490276605Sdes - Fix log at high verbosity and memory allocation failure. 491276605Sdes - iana portlist update. 492276605Sdes 493276605Sdes21 November 2014: Wouter 494276605Sdes - Fix crash on multiple thread random usage on systems without 495276605Sdes arc4random. 496276605Sdes 497276605Sdes20 November 2014: Wouter 498276605Sdes - fix compat/getentropy_win.c check if CryptGenRandom works and no 499276605Sdes immediate exit on windows. 500276605Sdes 501276605Sdes19 November 2014: Wouter 502276605Sdes - Fix cdflag dns64 processing. 503276605Sdes 504276605Sdes18 November 2014: Wouter 505276605Sdes - Fix that CD flag disables DNS64 processing, returning the DNSSEC 506276605Sdes signed AAAA denial. 507276605Sdes - iana portlist update. 508276605Sdes 509276605Sdes17 November 2014: Wouter 510276605Sdes - Fix #627: SSL_CTX_load_verify_locations return code not properly 511276605Sdes checked. 512276605Sdes 513276605Sdes14 November 2014: Wouter 514276605Sdes - parser with bison 2.7 515276605Sdes 516276605Sdes13 November 2014: Wouter 517276605Sdes - Patch from Stephane Lapie for ASAHI Net that implements aaaa-filter, 518276605Sdes added to contrib/aaaa-filter-iterator.patch. 519276605Sdes 520276605Sdes12 November 2014: Wouter 521276605Sdes - trunk has 1.5.1 in development. 522276605Sdes - Patch from Robert Edmonds to build pyunbound python module 523276605Sdes differently. No versioninfo, with -shared and without $(LIBS). 524276605Sdes - Patch from Robert Edmonds fixes hyphens in unbound-anchor man page. 525276605Sdes - Removed 'increased limit open files' log message that is written 526276605Sdes to console. It is only written on verbosity 4 and higher. 527276605Sdes This keeps system bootup console cleaner. 528276605Sdes - Patch from James Raftery, always print stats for rcodes 0..5. 529276605Sdes 530276605Sdes11 November 2014: Wouter 531276605Sdes - iana portlist update. 532276605Sdes - Fix bug where forward or stub addresses with same address but 533276605Sdes different port number were not tried. 534276605Sdes - version number in svn trunk is 1.5.0 535276605Sdes - tag 1.5.0rc1 536276605Sdes - review fix from Ralph. 537276605Sdes 538276605Sdes7 November 2014: Wouter 539276605Sdes - dnstap fixes by Robert Edmonds: 540276605Sdes dnstap/dnstap.m4: cosmetic fixes 541276605Sdes dnstap/: Remove compiled protoc-c output files 542276605Sdes dnstap/dnstap.m4: Error out if required libraries are not found 543276605Sdes dnstap: Fix ProtobufCBufferSimple usage that is incorrect as of 544276605Sdes protobuf-c 1.0.0 545276605Sdes dnstap/: Adapt to API changes in latest libfstrm (>= 0.2.0) 546276605Sdes 547276605Sdes4 November 2014: Wouter 548276605Sdes - Add ub_ctx_add_ta_autr function to add a RFC5011 automatically 549276605Sdes tracked trust anchor to libunbound. 550276605Sdes - Redefine internal minievent symbols to unique symbols that helps 551276605Sdes linking on platforms where the linker leaks names across modules. 552276605Sdes 553276605Sdes27 October 2014: Wouter 554276605Sdes - Disabled use of SSLv3 in remote-control and ssl-upstream. 555276605Sdes - iana portlist update. 556276605Sdes 557276605Sdes16 October 2014: Wouter 558276605Sdes - Documented dns64 configuration in unbound.conf man page. 559276605Sdes 560276605Sdes13 October 2014: Wouter 561276605Sdes - Fix #617: in ldns in unbound, lowercase WKS services. 562276605Sdes - Fix ctype invocation casts. 563276605Sdes 564276605Sdes10 October 2014: Wouter 565276605Sdes - Fix unbound-checkconf check for module config with dns64 module. 566276605Sdes - Fix unbound capsforid fallback, it ignores TTLs in comparison. 567276605Sdes 568276605Sdes6 October 2014: Wouter 569276605Sdes - Fix #614: man page variable substitution bug. 570276605Sdes6 October 2014: Willem 571276605Sdes - Whitespaces after $ORIGIN are not part of the origin dname (ldns). 572276605Sdes - $TTL's value starts at position 5 (ldns). 573276605Sdes 574276605Sdes1 October 2014: Wouter 575276605Sdes - fix #613: Allow tab ws in var length last rdfs (in ldns str2wire). 576276605Sdes 577276605Sdes29 September 2014: Wouter 578276605Sdes - Fix #612: create service with service.conf in present directory and 579276605Sdes auto load it. 580276605Sdes - Fix for mingw compile openssl ranlib. 581276605Sdes 582276605Sdes25 September 2014: Wouter 583276605Sdes - updated configure and aclocal with newer autoconf 1.13. 584276605Sdes 585276605Sdes22 September 2014: Wouter 586276605Sdes - Fix swig and python examples for Python 3.x. 587276605Sdes - Fix for mingw compile with openssl-1.0.1i. 588276605Sdes 589276605Sdes19 September 2014: Wouter 590276605Sdes - improve python configuration detection to build on Fedora 22. 591276605Sdes 592276605Sdes18 September 2014: Wouter 593276605Sdes - patches to also build with Python 3.x (from Pavel Simerda). 594276605Sdes 595276605Sdes16 September 2014: Wouter 596276605Sdes - Fix tcp timer waiting list removal code. 597276605Sdes - iana portlist update. 598276605Sdes - Updated the TCP_BACLOG from 5 to 256, so that the tcp accept queue 599276605Sdes is longer and more tcp connections can be handled. 600276605Sdes 601276605Sdes15 September 2014: Wouter 602276605Sdes - Fix unit test for CDS typecode. 603276605Sdes 604276605Sdes5 September 2014: Wouter 605276605Sdes - type CDS and CDNSKEY types in sldns. 606276605Sdes 607276605Sdes25 August 2014: Wouter 608276605Sdes - Fixup checklock code for log lock and its mutual initialization 609276605Sdes dependency. 610276605Sdes - iana portlist update. 611276605Sdes - Removed necessity for pkg-config from the dnstap.m4, new are 612276605Sdes the --with-libfstrm and --with-protobuf-c configure options. 613276605Sdes 614276605Sdes19 August 2014: Wouter 615276605Sdes - Update unbound manpage with more explanation (from Florian Obser). 616276605Sdes 617276605Sdes18 August 2014: Wouter 618276605Sdes - Fix #603: unbound-checkconf -o <option> should skip verification 619276605Sdes checks. 620276605Sdes - iana portlist update. 621276605Sdes - Fixup doc/unbound.doxygen to remove obsolete 1.8.7 settings. 622276605Sdes 623276605Sdes5 August 2014: Wouter 624276605Sdes - dnstap support, with a patch from Farsight Security, written by 625276605Sdes Robert Edmonds. The --enable-dnstap needs libfstrm and protobuf-c. 626276605Sdes It is BSD licensed (see dnstap/dnstap.c). 627276605Sdes Building with --enable-dnstap needs pkg-config with this patch. 628276605Sdes - Noted dnstap in doc/README and doc/CREDITS. 629276605Sdes - Changes to the dnstap patch. 630276605Sdes - lint fixes. 631276605Sdes - dnstap/dnstap_config.h should not have been added to the repo, 632276605Sdes because is it generated. 633276605Sdes 634276605Sdes1 August 2014: Wouter 635276605Sdes - Patch add msg, rrset, infra and key cache sizes to stats command 636276605Sdes from Maciej Soltysiak. 637276605Sdes - iana portlist update. 638276605Sdes 639276605Sdes31 July 2014: Wouter 640276605Sdes - DNS64 from Viagenie (BSD Licensed), written by Simon Perrault. 641276605Sdes Initial commit of the patch from the FreeBSD base (with its fixes). 642276605Sdes This adds a module (for module-config in unbound.conf) dns64 that 643276605Sdes performs DNS64 processing, see README.DNS64. 644276605Sdes - Changes from DNS64: 645276605Sdes strcpy changed to memmove. 646276605Sdes arraybound check fixed from prefix_net/8/4 to prefix_net/8+4. 647276605Sdes allocation of result consistently in the correct region. 648276605Sdes time_t is now used for ttl in unbound (since the patch's version). 649276605Sdes - testdata/dns64_lookup.rpl for unit test for dns64 functionality. 650276605Sdes 651276605Sdes29 July 2014: Wouter 652276605Sdes - Patch from Dag-Erling Smorgrav that implements feature, unbound -dd 653276605Sdes does not fork in the background and also logs to stderr. 654276605Sdes 655276605Sdes21 July 2014: Wouter 656276605Sdes - Fix endian.h include for OpenBSD. 657276605Sdes 658276605Sdes16 July 2014: Wouter 659276605Sdes - And Fix#596: Bail out of unbound-control dump_infra when ssl 660276605Sdes write fails. 661276605Sdes 662276605Sdes15 July 2014: Wouter 663276605Sdes - Fix #596: Bail out of unbound-control list_local_zones when ssl 664276605Sdes write fails. 665276605Sdes - iana portlist update. 666276605Sdes 667276605Sdes13 July 2014: Wouter 668276605Sdes - Configure tests if main can be linked to from getentropy compat. 669276605Sdes 670276605Sdes12 July 2014: Wouter 671276605Sdes - Fix getentropy compat code, function refs were not portable. 672276605Sdes - Fix to check openssl version number only for OpenSSL. 673276605Sdes - LibreSSL provides compat items, check for that in configure. 674276605Sdes - Fix bug in fix for log locks that caused deadlock in signal handler. 675276605Sdes - update compat/getentropy and arc4random to the most recent ones from OpenBSD. 676276605Sdes 677276605Sdes11 July 2014: Matthijs 678276605Sdes - fake-rfc2553 patch (thanks Benjamin Baier). 679276605Sdes 680276605Sdes11 July 2014: Wouter 681276605Sdes - arc4random in compat/ and getentropy, explicit_bzero, chacha for 682276605Sdes dependencies, from OpenBSD. arc4_lock and sha512 in compat. 683276605Sdes This makes arc4random available on all platforms, except when 684276605Sdes compiled with LIBNSS (it uses libNSS crypto random). 685276605Sdes - fix strptime implicit declaration error on OpenBSD. 686276605Sdes - arc4random, getentropy and explicit_bzero compat for Windows. 687276605Sdes 688276605Sdes4 July 2014: Wouter 689276605Sdes - Fix #593: segfault or crash upon rotating logfile. 690276605Sdes 691276605Sdes3 July 2014: Wouter 692276605Sdes - DLV tests added. 693276605Sdes - signit tool fixup for compile with libldns library. 694276605Sdes - iana portlist updated. 695276605Sdes 696276605Sdes27 June 2014: Wouter 697276605Sdes - so-reuseport is available on BSDs(such as FreeBSD 10) and OS/X. 698276605Sdes 699276605Sdes26 June 2014: Wouter 700276605Sdes - unbound-control status reports if so-reuseport was successful. 701276605Sdes - iana portlist updated. 702276605Sdes 703276605Sdes24 June 2014: Wouter 704276605Sdes - Fix caps-for-id fallback, and added fallback attempt when servers 705276605Sdes drop 0x20 perturbed queries. 706276605Sdes - Fixup testsetup for VM tests (run testcode/run_vm.sh). 707276605Sdes 708276605Sdes17 June 2014: Wouter 709276605Sdes - iana portlist updated. 710276605Sdes 711276605Sdes3 June 2014: Wouter 712276605Sdes - Add AAAA for B root server to default root hints. 713276605Sdes 714276605Sdes2 June 2014: Wouter 715276605Sdes - Remove unused define from iterator.h 716276605Sdes 717276605Sdes30 May 2014: Wouter 718276605Sdes - Fixup sldns_enum_edns_option typedef definition. 719276605Sdes 720276605Sdes28 May 2014: Wouter 721276605Sdes - Code cleanup patch from Dag-Erling Smorgrav, with compiler issue 722276605Sdes fixes from FreeBSD's copy of Unbound, he notes: 723276605Sdes Generate unbound-control-setup.sh at build time so it respects 724276605Sdes prefix and sysconfdir from the configure script. Also fix the 725276605Sdes umask to match the comment, and the comment to match the umask. 726276605Sdes Add const and static where needed. Use unions instead of 727276605Sdes playing pointer poker. Move declarations that are needed in 728276605Sdes multiple source files into a shared header. Move sldns_bgetc() 729276605Sdes from parse.c to buffer.c where it belongs. Introduce a new 730276605Sdes header file, worker.h, which declares the callbacks that 731276605Sdes all workers must define. Remove those declarations from 732276605Sdes libworker.h. Include the correct headers in the correct places. 733276605Sdes Fix a few dummy callbacks that don't match their prototype. 734276605Sdes Fix some casts. Hide the sbrk madness behind #ifdef HAVE_SBRK. 735276605Sdes Remove a useless printf which breaks reproducible builds. 736276605Sdes Get rid of CONFIGURE_{TARGET,DATE,BUILD_WITH} now that they're 737276605Sdes no longer used. Add unbound-control-setup.sh to the list of 738276605Sdes generated files. The prototype for libworker_event_done_cb() 739276605Sdes needs to be moved from libunbound/libworker.h to 740276605Sdes libunbound/worker.h. 741276605Sdes - Fixup out-of-directory compile with unbound-control-setup.sh.in. 742276605Sdes - make depend. 743276605Sdes 744276605Sdes23 May 2014: Wouter 745276605Sdes - unbound-host -D enabled dnssec and reads root trust anchor from 746276605Sdes the default root key file that was compiled in. 747276605Sdes 748276605Sdes20 May 2014: Wouter 749276605Sdes - Feature, unblock-lan-zones: yesno that you can use to make unbound 750276605Sdes perform 10.0.0.0/8 and other reverse lookups normally, for use if 751276605Sdes unbound is running service for localhost on localhost. 752276605Sdes 753276605Sdes16 May 2014: Wouter 754276605Sdes - Updated create_unbound_ad_servers and unbound_cache scripts from 755276605Sdes Yuri Voinov in the source/contrib directory. Added 756276605Sdes warmup.cmd (and .sh): warm up the DNS cache with your MRU domains. 757276605Sdes 758276605Sdes9 May 2014: Wouter 759276605Sdes - Implement draft-ietf-dnsop-rfc6598-rfc6303-01. 760276605Sdes - iana portlist updated. 761276605Sdes 762276605Sdes8 May 2014: Wouter 763276605Sdes - Contrib windows scripts from Yuri Voinov added to src/contrib: 764276605Sdes create_unbound_ad_servers.cmd: enters anti-ad server lists. 765276605Sdes unbound_cache.cmd: saves and loads the cache. 766276605Sdes - Added unbound-control-setup.cmd from Yuri Voinov to the windows 767276605Sdes unbound distribution set. It requires openssl installed in %PATH%. 768276605Sdes 769276605Sdes6 May 2014: Wouter 770276605Sdes - Change MAX_SENT_COUNT from 16 to 32 to resolve some cases easier. 771276605Sdes 772276605Sdes5 May 2014: Wouter 773276605Sdes - More #567: remove : from output of stub and forward lists, this is 774276605Sdes easier to parse. 775276605Sdes 776276605Sdes29 April 2014: Wouter 777276605Sdes - iana portlist updated. 778276605Sdes - Add unbound-control flush_negative that flushed nxdomains, nodata, 779276605Sdes and errors from the cache. For dnssec-trigger and NetworkManager, 780276605Sdes fixes cases where network changes have localdata that was already 781276605Sdes negatively cached from the previous network. 782276605Sdes 783276605Sdes23 April 2014: Wouter 784276605Sdes - Patch from Jeremie Courreges-Anglas to use arc4random_uniform 785276605Sdes if available on the OS, it gets entropy from the OS. 786276605Sdes 787276605Sdes15 April 2014: Wouter 788276605Sdes - Fix compile with libevent2 on FreeBSD. 789276605Sdes 790276605Sdes11 April 2014: Wouter 791276605Sdes - Fix #502: explain that do-ip6 disable does not stop AAAA lookups, 792276605Sdes but it stops the use of the ipv6 transport layer for DNS traffic. 793276605Sdes - iana portlist updated. 794276605Sdes 795276605Sdes10 April 2014: Wouter 796276605Sdes - iana portlist updated. 797276605Sdes - Patch from Hannes Frederic Sowa for Linux 3.15 fragmentation 798276605Sdes option for DNS fragmentation defense. 799276605Sdes - Document that dump_requestlist only prints queries from thread 0. 800276605Sdes - unbound-control stats prints num.query.tcpout with number of TCP 801276605Sdes outgoing queries made in the previous statistics interval. 802276605Sdes - Fix #567: unbound lists if forward zone is secure or insecure with 803276605Sdes +i annotation in output of list_forwards, also for list_stubs 804276605Sdes (for NetworkManager integration.) 805276605Sdes - Fix #554: use unsigned long to print 64bit statistics counters on 806276605Sdes 64bit systems. 807276605Sdes - Fix #558: failed prefetch lookup does not remove cached response 808276605Sdes but delays next prefetch (in lieu of caching a SERVFAIL). 809276605Sdes - Fix #545: improved logging, the ip address of the error is printed 810276605Sdes on the same log-line as the error. 811276605Sdes 812276605Sdes8 April 2014: Wouter 813276605Sdes - Fix #574: make test fails on Ubuntu 14.04. Disabled remote-control 814276605Sdes in testbound scripts. 815276605Sdes - iana portlist updated. 816276605Sdes 817276605Sdes7 April 2014: Wouter 818276605Sdes - C.ROOT-SERVERS.NET has an IPv6 address, and we updated the root 819276605Sdes hints (patch from Anand Buddhdev). 820276605Sdes - Fix #572: Fix unit test failure for systems with different 821276605Sdes /etc/services. 822276605Sdes 823276605Sdes28 March 2014: Wouter 824276605Sdes - Fix #569: do_tcp is do-tcp in unbound.conf man page. 825276605Sdes 826276605Sdes25 March 2014: Wouter 827276605Sdes - Patch from Stuart Henderson to build unbound-host man from .1.in. 828276605Sdes 829276605Sdes24 March 2014: Wouter 830276605Sdes - Fix print filename of encompassing config file on read failure. 831276605Sdes 832266114Sdes12 March 2014: Wouter 833266114Sdes - tag 1.4.22 834276605Sdes - trunk has 1.4.23 in development. 835266114Sdes 836266114Sdes10 March 2014: Wouter 837266114Sdes - Fix bug#561: contrib/cacti plugin did not report SERVFAIL rcodes 838266114Sdes because of spelling. Patch from Chris Coates. 839266114Sdes 840266114Sdes27 February 2014: Wouter 841266114Sdes - tag 1.4.22rc1 842266114Sdes 843266114Sdes21 February 2014: Wouter 844266114Sdes - iana portlist updated. 845266114Sdes 846266114Sdes20 February 2014: Matthijs 847266114Sdes - Be lenient when a NSEC NameError response with RCODE=NXDOMAIN is 848266114Sdes received. This is okay according 4035, but not after revising 849266114Sdes existence in 4592. NSEC empty non-terminals exist and thus the 850266114Sdes RCODE should have been NOERROR. If this occurs, and the RRsets 851266114Sdes are secure, we set the RCODE to NOERROR and the security status 852292206Sdes of the response is also considered secure. 853266114Sdes 854266114Sdes14 February 2014: Wouter 855266114Sdes - Works on Minix (3.2.1). 856266114Sdes 857266114Sdes11 February 2014: Wouter 858266114Sdes - Fix parse of #553(NSD) string in sldns, quotes without spaces. 859266114Sdes 860266114Sdes7 February 2014: Wouter 861266114Sdes - iana portlist updated. 862266114Sdes - add body to ifstatement if locks disabled. 863266114Sdes - add TXT string"string" test case to unit test. 864266114Sdes - Fix #551: License change "Regents" to "Copyright holder", matching 865266114Sdes the BSD license on opensource.org. 866266114Sdes 867266114Sdes6 February 2014: Wouter 868266114Sdes - sldns has type HIP. 869266114Sdes - code documentation on the module interface. 870266114Sdes 871266114Sdes5 February 2014: Wouter 872266114Sdes - Fix sldns parse tests on osx. 873266114Sdes 874266114Sdes3 February 2014: Wouter 875266114Sdes - Detect libevent2 install automatically by configure. 876266114Sdes - Fixup link with lib/event2 subdir. 877266114Sdes - Fix parse in sldns of quoted parenthesized text strings. 878266114Sdes 879266114Sdes31 January 2014: Wouter 880266114Sdes - unit test for ldns wire to str and back with zones, root, nlnetlabs 881266114Sdes and types.sidnlabs. 882266114Sdes - Fix for hex to string in unknown, atma and nsap. 883266114Sdes - fixup nss compile (no ldns in it). 884266114Sdes - fixup warning in unitldns 885266114Sdes - fixup WKS and rdata type service to print unsigned because strings 886266114Sdes are not portable; they cannot be read (for sure) on other computers. 887266114Sdes - fixup type EUI48 and EUI64, type APL and type IPSECKEY in string 888266114Sdes parse sldns. 889266114Sdes 890266114Sdes30 January 2014: Wouter 891266114Sdes - delay-close does not act if there are udp-wait queries, so that 892266114Sdes it does not make a socketdrain DoS easier. 893266114Sdes 894266114Sdes28 January 2014: Wouter 895266114Sdes - iana portlist updated. 896266114Sdes - iana portlist test updated so it does not touch the source 897266114Sdes if there are no changes. 898266114Sdes - delay-close: msec option that delays closing ports for which 899266114Sdes the UDP reply has timed out. Keeps the port open, only accepts 900266114Sdes the correct reply. This correct reply is not used, but the port 901266114Sdes is open so that no port-denied ICMPs are generated. 902266114Sdes 903266114Sdes27 January 2014: Wouter 904266114Sdes - reuseport is attempted, then fallback to without on failure. 905266114Sdes 906266114Sdes24 January 2014: Wouter 907266114Sdes - Change unbound-event.h to use void* buffer, length idiom. 908266114Sdes - iana portlist updated. 909266114Sdes - unbound-event.h is installed if you configure --enable-event-api. 910266114Sdes - speed up unbound (reports say it could be up to 10%), by reducing 911266114Sdes lock contention on localzones.lock. It is changed to an rwlock. 912266114Sdes - so-reuseport: yesno option to distribute queries evenly over 913266114Sdes threads on Linux (Thanks Robert Edmonds). 914266114Sdes - made lint clean. 915266114Sdes 916266114Sdes21 January 2014: Wouter 917266114Sdes - Fix #547: no trustanchor written if filesystem full, fclose checked. 918266114Sdes 919266114Sdes17 January 2014: Wouter 920266114Sdes - Fix isprint() portability in sldns, uses unsigned int. 921266114Sdes - iana portlist updated. 922266114Sdes 923266114Sdes16 January 2014: Wouter 924266114Sdes - fix #544: Fixed +i causes segfault when running with module conf 925266114Sdes "iterator". 926266114Sdes - Windows port, adjust %lld to %I64d, and warning in win_event.c. 927266114Sdes 928266114Sdes14 January 2014: Wouter 929266114Sdes - iana portlist updated. 930266114Sdes 931266114Sdes5 Dec 2013: Wouter 932266114Sdes - Fix bug in cachedump that uses sldns. 933266114Sdes - update pythonmod for ldns_ to sldns_ name change. 934266114Sdes 935266114Sdes3 Dec 2013: Wouter 936266114Sdes - Fix sldns to use sldns_ prefix for all ldns_ variables. 937266114Sdes - Fix windows compile to compile with sldns. 938266114Sdes 939266114Sdes30 Nov 2013: Wouter 940266114Sdes - Fix sldns to make globals use sldns_ prefix. This fixes 941266114Sdes linking with libldns that uses global variables ldns_ . 942266114Sdes 943266114Sdes13 Nov 2013: Wouter 944266114Sdes - Fix bug#537: compile python plugin without ldns library. 945266114Sdes 946266114Sdes12 Nov 2013: Wouter 947266114Sdes - Fix bug#536: acl_deny_non_local and refuse_non_local added. 948266114Sdes 949266114Sdes5 Nov 2013: Wouter 950266114Sdes - Patch from Neel Goyal to fix async id assignment if callback 951266114Sdes is called by libunbound in the mesh attach. 952266114Sdes - Accept ip-address: as an alternative for interface: for 953266114Sdes consistency with nsd.conf syntax. 954266114Sdes 955266114Sdes4 Nov 2013: Wouter 956266114Sdes - Patch from Neel Goyal to fix callback in libunbound. 957266114Sdes 958266114Sdes3 Nov 2013: Wouter 959266114Sdes - if configured --with-libunbound-only fix make install. 960266114Sdes 961266114Sdes31 Oct 2013: Wouter 962266114Sdes - Fix #531: Set SO_REUSEADDR so that the wildcard interface and a 963266114Sdes more specific interface port 53 can be used at the same time, and 964266114Sdes one of the daemons is unbound. 965266114Sdes - iana portlist update. 966266114Sdes - separate ldns into core ldns inside ldns/ subdirectory. No more 967266114Sdes --with-ldns is needed and unbound does not rely on libldns. 968266114Sdes - portability fixes for new USE_SLDNS ldns subdir codebase. 969266114Sdes 970266114Sdes22 Oct 2013: Wouter 971266114Sdes - Patch from Neel Goyal: Add an API call to set an event base on an 972266114Sdes existing ub_ctx. This basically just destroys the current worker and 973266114Sdes sets the event base to the current. And fix a deadlock in 974266114Sdes ub_resolve_event ��� the cfglock is held when libworker_create is 975266114Sdes called. This ends up trying to acquire the lock again in 976266114Sdes context_obtain_alloc in the call chain. 977266114Sdes - Fix #528: if very high logging (4 or more) segfault on allow_snoop. 978266114Sdes 979266114Sdes26 Sep 2013: Wouter 980266114Sdes - unbound-event.h is installed if configured --with-libevent. It 981266114Sdes contains low-level library calls, that use libevent's event_base 982266114Sdes and an ldns_buffer for the wire return packet to perform async 983266114Sdes resolution in the client's eventloop. 984266114Sdes 985266114Sdes19 Sep 2013: Wouter 986266114Sdes - 1.4.21 tag created. 987266114Sdes - trunk has 1.4.22 number inside it. 988266114Sdes - iana portlist updated. 989266114Sdes - acx_nlnetlabs.m4 to 26; improve FLTO help text. 990266114Sdes 991266114Sdes16 Sep 2013: Wouter 992266114Sdes - Fix#524: max-udp-size not effective to non-EDNS0 queries, from 993266114Sdes Daisuke HIGASHI. 994266114Sdes 995266114Sdes10 Sep 2013: Wouter 996266114Sdes - MIN_TTL and MAX_TTL also in time_t. 997266114Sdes - tag 1.4.21rc1 made again. 998266114Sdes 999266114Sdes26 Aug 2013: Wouter 1000266114Sdes - More fixes for bug#519: for the threaded case test if the bg 1001266114Sdes thread has been killed, on ub_ctx_delete, to avoid hangs. 1002266114Sdes 1003266114Sdes22 Aug 2013: Wouter 1004266114Sdes - more fixes that I overlooked. 1005266114Sdes - review fixes from Willem. 1006266114Sdes 1007266114Sdes21 Aug 2013: Wouter 1008266114Sdes - Fix#520: Errors found by static analysis from Tomas Hozza(redhat). 1009266114Sdes 1010266114Sdes20 Aug 2013: Wouter 1011266114Sdes - Fix for 2038, with time_t instead of uint32_t. 1012266114Sdes 1013266114Sdes19 Aug 2013: Wouter 1014266114Sdes - Fix#519 ub_ctx_delete may hang in some scenarios (libunbound). 1015266114Sdes 1016266114Sdes14 Aug 2013: Wouter 1017266114Sdes - Fix uninit variable in fix#516. 1018266114Sdes 1019266114Sdes8 Aug 2013: Wouter 1020266114Sdes - Fix#516 dnssec lameness detection for answers that are improper. 1021266114Sdes 1022266114Sdes30 Jun 2013: Wouter 1023266114Sdes - tag 1.4.21rc1 1024266114Sdes 1025266114Sdes29 Jun 2013: Wouter 1026266114Sdes - Fix#512 memleak in testcode for testbound (if it fails). 1027266114Sdes - Fix#512 NSS returned arrays out of setup function to be statics. 1028266114Sdes 1029266114Sdes26 Jun 2013: Wouter 1030266114Sdes - max include of 100.000 files (depth and globbed at one time). 1031266114Sdes This is to preserve system memory in bug cases, or endless cases. 1032266114Sdes - iana portlist updated. 1033266114Sdes 1034266114Sdes19 Jun 2013: Wouter 1035266114Sdes - streamtcp man page, contributed by Tomas Hozza. 1036266114Sdes - iana portlist updated. 1037266114Sdes - libunbound documentation on how to avoid openssl race conditions. 1038266114Sdes 1039266114Sdes25 Jun 2013: Wouter 1040266114Sdes - Squelch sendto-permission denied errors when the network is 1041266114Sdes not connected, to avoid spamming syslog. 1042266114Sdes - configure --disable-flto option (from Robert Edmonds). 1043266114Sdes 1044266114Sdes18 Jun 2013: Wouter 1045266114Sdes - Fix for const string literals in C++ for libunbound, from Karel 1046266114Sdes Slany. 1047266114Sdes - iana portlist updated. 1048266114Sdes 1049266114Sdes17 Jun 2013: Wouter 1050266114Sdes - Fixup manpage syntax. 1051266114Sdes 1052266114Sdes14 Jun 2013: Wouter 1053266114Sdes - get_option and set_option support for log-time-ascii, python-script 1054266114Sdes val-sig-skew-min and val-sig-skew-max. log-time-ascii takes effect 1055266114Sdes immediately. The others are mostly useful for libunbound users. 1056266114Sdes 1057266114Sdes13 Jun 2013: Wouter 1058266114Sdes - get_option, set_option, unbound-checkconf -o and libunbound 1059266114Sdes getoption and setoption support cache-min-ttl and cache-max-ttl. 1060266114Sdes 1061266114Sdes10 Jun 2013: Wouter 1062266114Sdes - Fix#501: forward-first does not recurse, when forward name is ".". 1063266114Sdes - iana portlist update. 1064266114Sdes - Max include depth is unlimited. 1065266114Sdes 1066266114Sdes27 May 2013: Wouter 1067266114Sdes - Update acx_pthreads.m4 to ax_pthreads.4 (2013-03-29), and apply 1068266114Sdes patch to it to not fail when -Werror is also specified, from the 1069266114Sdes autoconf-archives. 1070266114Sdes - iana portlist update. 1071266114Sdes 1072266114Sdes21 May 2013: Wouter 1073266114Sdes - Explain bogus and secure flags in libunbound more. 1074266114Sdes 1075266114Sdes16 May 2013: Wouter 1076266114Sdes - Fix#499 use-after-free in out-of-memory handling code (thanks Jake 1077266114Sdes Montgomery). 1078266114Sdes - Fix#500 use on non-initialised values on socket bind failures. 1079266114Sdes 1080266114Sdes15 May 2013: Wouter 1081266114Sdes - Fix round-robin doesn't work with some Windows clients (from Ilya 1082266114Sdes Bakulin). 1083266114Sdes 1084266114Sdes3 May 2013: Wouter 1085266114Sdes - update acx_nlnetlabs.m4 to v23, sleep w32 fix. 1086266114Sdes 1087266114Sdes26 April 2013: Wouter 1088266114Sdes - add unbound-control insecure_add and insecure_remove for the 1089266114Sdes administration of negative trust anchors. 1090266114Sdes 1091266114Sdes25 April 2013: Wouter 1092266114Sdes - Implement max-udp-size config option, default 4096 (thanks 1093266114Sdes Daisuke Higashi). 1094266114Sdes - Robust checks on dname validity from rdata for dname compare. 1095266114Sdes - updated iana portlist. 1096266114Sdes 1097266114Sdes19 April 2013: Wouter 1098266114Sdes - Fixup snprintf return value usage, fixed libunbound_get_option. 1099266114Sdes 1100266114Sdes18 April 2013: Wouter 1101266114Sdes - fix bug #491: pick program name (0th argument) as syslog identity. 1102266114Sdes - own implementation of compat/snprintf.c. 1103266114Sdes 1104266114Sdes15 April 2013: Wouter 1105266114Sdes - Fix so that for a configuration line of include: "*.conf" it is not 1106266114Sdes an error if there are no files matching the glob pattern. 1107266114Sdes - unbound-anchor review: BIO_write can return 0 successfully if it 1108266114Sdes has successfully appended a zero length string. 1109266114Sdes 1110266114Sdes11 April 2013: Wouter 1111266114Sdes - Fix queries leaking up for stubs and forwards, if the configured 1112266114Sdes nameservers all fail to answer. 1113266114Sdes 1114266114Sdes10 April 2013: Wouter 1115266114Sdes - code improve for minimal responses, small speed increase. 1116266114Sdes 1117266114Sdes9 April 2013: Wouter 1118266114Sdes - updated iana portlist. 1119266114Sdes - Fix crash in previous private address fixup of 22 March. 1120266114Sdes 1121266114Sdes28 March 2013: Wouter 1122266114Sdes - Make reverse zones easier by documenting the nodefault statements 1123266114Sdes commented-out in the example config file. 1124266114Sdes 1125266114Sdes26 March 2013: Wouter 1126266114Sdes - more fixes to lookup3.c endianness detection. 1127266114Sdes 1128266114Sdes25 March 2013: Wouter 1129266114Sdes - #492: Fix endianness detection, revert to older lookup3.c detection 1130266114Sdes and put new detect lines after previous tests, to avoid regressions 1131266114Sdes but allow new detections to succeed. 1132266114Sdes And add detection for machine/endian.h to it. 1133266114Sdes 1134266114Sdes22 March 2013: Wouter 1135266114Sdes - Fix resolve of names that use a mix of public and private addresses. 1136266114Sdes - iana portlist update. 1137266114Sdes - Fix makedist for new svn for -d option. 1138266114Sdes - unbound.h header file has UNBOUND_VERSION_MAJOR define. 1139266114Sdes - Fix windows RSRC version for long version numbers. 1140266114Sdes 1141249141Sdes21 March 2013: Wouter 1142249141Sdes - release 1.4.20 1143266114Sdes - trunk has 1.4.21 1144266114Sdes - committed libunbound version 4:1:2 for binary API updated in 1.4.20 1145266114Sdes - install copy of unbound-control.8 man page for unbound-control-setup 1146249141Sdes 1147249141Sdes14 March 2013: Wouter 1148249141Sdes - iana portlist update. 1149249141Sdes - tag 1.4.20rc1 1150249141Sdes 1151249141Sdes12 March 2013: Wouter 1152249141Sdes - Fixup makedist.sh for windows compile. 1153249141Sdes 1154249141Sdes11 March 2013: Wouter 1155249141Sdes - iana portlist update. 1156249141Sdes - testcode/ldns-testpkts.c check for makedist is informational. 1157249141Sdes 1158249141Sdes15 February 2013: Wouter 1159249141Sdes - fix defines in lookup3 for bigendian bsd alpha 1160249141Sdes 1161249141Sdes11 February 2013: Wouter 1162249141Sdes - Fixup openssl_thread init code to only run if compiled with SSL. 1163249141Sdes 1164249141Sdes7 February 2013: Wouter 1165249141Sdes - detect endianness in lookup3 on BSD. 1166249141Sdes - add libunbound.ttl at end of result structure, version bump for 1167249141Sdes libunbound and binary backwards compatible, but 1.4.19 is not 1168249141Sdes forward compatible with 1.4.20. 1169249141Sdes - update iana port list. 1170249141Sdes 1171249141Sdes30 January 2013: Wouter 1172249141Sdes - includes and have_ssl fixes for nss. 1173249141Sdes 1174249141Sdes29 January 2013: Wouter 1175249141Sdes - printout name of zone with duplicate fwd and hint errors. 1176249141Sdes 1177249141Sdes28 January 2013: Wouter 1178249141Sdes - updated fwd_zero for newer nc. Updated common.sh for newer netstat. 1179249141Sdes 1180249141Sdes17 January 2013: Wouter 1181249141Sdes - unbound-anchors checks the emailAddress of the signer of the 1182249141Sdes root.xml file, default is dnssec@iana.org. It also checks that 1183249141Sdes the signer has the correct key usage for a digital signature. 1184249141Sdes - update iana port list. 1185249141Sdes 1186249141Sdes3 January 2013: Wouter 1187249141Sdes - Test that unbound-control checks client credentials. 1188249141Sdes - Test that unbound can handle a CNAME at an intermediate node in 1189249141Sdes the chain of trust (where it seeks a DS record). 1190249141Sdes - Check the commonName of the signer of the root.xml file in 1191249141Sdes unbound-anchor, default is dnssec@iana.org. 1192249141Sdes 1193249141Sdes2 January 2013: Wouter 1194249141Sdes - Fix openssl lock free on exit (reported by Robert Fleischman). 1195249141Sdes - iana portlist updated. 1196249141Sdes - Tested that unbound implements the RFC5155 Technical Errata id 3441. 1197249141Sdes Unbound already implements insecure classification of an empty 1198249141Sdes nonterminal in NSEC3 optout zone. 1199249141Sdes 1200249141Sdes20 December 2012: Wouter 1201249141Sdes - Fix unbound-anchor xml parse of entity declarations for safety. 1202249141Sdes 1203249141Sdes19 December 2012: Wouter 1204249141Sdes - iana portlist updated. 1205249141Sdes 1206249141Sdes18 December 2012: Wouter 1207249141Sdes - iana portlist updated. 1208249141Sdes 1209249141Sdes14 December 2012: Wouter 1210249141Sdes - Change of D.ROOT-SERVERS.NET A address in default root hints. 1211249141Sdes 1212249141Sdes12 December 2012: Wouter 1213249141Sdes - 1.4.19 release. 1214249141Sdes - trunk has 1.4.20 under development. 1215249141Sdes 1216249141Sdes5 December 2012: Wouter 1217249141Sdes - note support for AAAA RR type RFC. 1218249141Sdes 1219249141Sdes4 December 2012: Wouter 1220249141Sdes - 1.4.19rc1 tag. 1221249141Sdes 1222249141Sdes30 November 2012: Wouter 1223249141Sdes - bug 481: fix python example0. 1224249141Sdes - iana portlist updated. 1225249141Sdes 1226249141Sdes27 November 2012: Wouter 1227249141Sdes - iana portlist updated. 1228249141Sdes 1229249141Sdes9 November 2012: Wouter 1230249141Sdes - Fix unbound-control forward disables configured stubs below it. 1231249141Sdes 1232249141Sdes7 November 2012: Wouter 1233249141Sdes - Fixup ldns-testpkts, identical to ldns/examples. 1234249141Sdes - iana portlist updated. 1235249141Sdes 1236249141Sdes30 October 2012: Wouter 1237249141Sdes - Fix bug #477: unbound-anchor segfaults if EDNS is blocked. 1238249141Sdes 1239249141Sdes29 October 2012: Matthijs 1240249141Sdes - Fix validation for responses with both CNAME and wildcard 1241249141Sdes expanded CNAME records in answer section. 1242249141Sdes 1243249141Sdes8 October 2012: Wouter 1244249141Sdes - update ldns-testpkts.c to ldns 1.6.14 version. 1245249141Sdes - fix build of pythonmod in objdir, for unbound.py. 1246249141Sdes - make clean and makerealclean remove generated python and docs. 1247249141Sdes 1248249141Sdes5 October 2012: Wouter 1249249141Sdes - fix build of pythonmod in objdir (thanks Jakob Schlyter). 1250249141Sdes 1251249141Sdes3 October 2012: Wouter 1252249141Sdes - fix text in unbound-anchor man page. 1253249141Sdes 1254249141Sdes1 October 2012: Wouter 1255249141Sdes - ignore trusted-keys globs that have no files (from Paul Wouters). 1256249141Sdes 1257249141Sdes27 September 2012: Wouter 1258249141Sdes - include: directive in config file accepts wildcards. Patch from 1259249141Sdes Paul Wouters. Suggested use: include: "/etc/unbound.d/conf.d/*" 1260249141Sdes - unbound-control -q option is quiet, patch from Mariano Absatz. 1261249141Sdes - iana portlist updated. 1262249141Sdes - updated contrib/unbound.spec, patch from Valentin Bud. 1263249141Sdes 1264249141Sdes21 September 2012: Wouter 1265249141Sdes - chdir to / after chroot call (suggested by Camiel Dobbelaar). 1266249141Sdes 1267249141Sdes17 September 2012: Wouter 1268249141Sdes - patch_rsamd5_enable.diff: this patch enables RSAMD5 validation 1269249141Sdes otherwise it is treated as insecure. The RSAMD5 algorithm is 1270249141Sdes deprecated (RFC6725). The MD5 hash is considered weak for some 1271249141Sdes purposes, if you want to sign your zone, then RSASHA256 is an 1272249141Sdes uncontested hash. 1273249141Sdes 1274249141Sdes30 August 2012: Wouter 1275249141Sdes - RFC6725 deprecates RSAMD5: this DNSKEY algorithm is disabled. 1276249141Sdes - iana portlist updated. 1277249141Sdes 1278249141Sdes29 August 2012: Wouter 1279249141Sdes - Nicer comments outgoing-port-avoid, thanks Stu (bug #465). 1280249141Sdes 1281249141Sdes22 August 2012: Wouter 1282249141Sdes - Fallback to 1472 and 1232, one fragment size without headers. 1283249141Sdes 1284249141Sdes21 August 2012: Wouter 1285249141Sdes - Fix timeouts so that when a server has been offline for a while 1286249141Sdes and is probed to see it works, it becomes fully available for 1287249141Sdes server selection again. 1288249141Sdes 1289249141Sdes17 August 2012: Wouter 1290249141Sdes - Add documentation to libunbound for default nonuse of resolv.conf. 1291249141Sdes 1292249141Sdes2 August 2012: Wouter 1293249141Sdes - trunk has 1.4.19 under development (fixes from 1 aug and 31 july 1294249141Sdes are for 1.4.19). 1295249141Sdes - iana portlist updated. 1296249141Sdes 1297249141Sdes1 August 2012: Wouter 1298249141Sdes - Fix openssl race condition, initializes openssl locks, reported 1299249141Sdes by Einar Lonn and Patrik Wallstrom. 1300249141Sdes 1301249141Sdes31 July 2012: Wouter 1302249141Sdes - Improved forward-first and stub-first documentation. 1303249141Sdes - Fix that enables modules to register twice for the same 1304249141Sdes serviced_query, without race conditions or administration issues. 1305249141Sdes This should not happen with the current codebase, but it is robust. 1306249141Sdes - Fix forward-first option where it sets the RD flag wrongly. 1307249141Sdes - added manpage links for libunbound calls (Thanks Paul Wouters). 1308249141Sdes 1309249141Sdes30 July 2012: Wouter 1310249141Sdes - tag 1.4.18rc2 (became 1.4.18 release at 2 august 2012). 1311249141Sdes 1312249141Sdes27 July 2012: Wouter 1313249141Sdes - unbound-host works with libNSS 1314249141Sdes - fix bogus nodata cname chain not reported as bogus by validator, 1315249141Sdes (Thanks Peter van Dijk). 1316249141Sdes 1317249141Sdes26 July 2012: Wouter 1318249141Sdes - iana portlist updated. 1319249141Sdes - tag 1.4.18rc1. 1320249141Sdes 1321249141Sdes25 July 2012: Wouter 1322249141Sdes - review fix for libnss, check hash prefix allocation size. 1323249141Sdes 1324249141Sdes23 July 2012: Wouter 1325249141Sdes - fix missing break for GOST DS hash function. 1326249141Sdes - implemented forward_first for the root. 1327249141Sdes 1328249141Sdes20 July 2012: Wouter 1329249141Sdes - Fix bug#452 and another assertion failure in mesh.c, makes 1330249141Sdes assertions in mesh.c resist duplicates. Fixes DS NS search to 1331249141Sdes not generate duplicate sub queries. 1332249141Sdes 1333249141Sdes19 July 2012: Willem 1334249141Sdes - Fix bug#454: Remove ACX_CHECK_COMPILER_FLAG from configure.ac, 1335249141Sdes if CFLAGS is specified at configure time then '-g -O2' is not 1336249141Sdes appended to CFLAGS, so that the user can override them. 1337249141Sdes 1338249141Sdes18 July 2012: Willem 1339249141Sdes - Fix libunbound report of errors when in background mode. 1340249141Sdes 1341249141Sdes11 July 2012: Willem 1342249141Sdes - updated iana ports list. 1343249141Sdes 1344249141Sdes9 July 2012: Willem 1345249141Sdes - Add flush_bogus option for unbound-control 1346249141Sdes 1347249141Sdes6 July 2012: Wouter 1348249141Sdes - Fix validation of qtype DS queries that result in no data for 1349249141Sdes non-optout NSEC3 zones. 1350249141Sdes 1351249141Sdes4 July 2012: Wouter 1352249141Sdes - compile libunbound with libnss on Suse, passes regression tests. 1353249141Sdes 1354249141Sdes3 July 2012: Wouter 1355249141Sdes - FIPS_mode openssl does not use arc4random but RAND_pseudo_bytes. 1356249141Sdes 1357249141Sdes2 July 2012: Wouter 1358249141Sdes - updated iana ports list. 1359249141Sdes 1360249141Sdes29 June 2012: Wouter 1361249141Sdes - patch for unbound_munin_ script to handle arbitrary thread count by 1362249141Sdes Sven Ulland. 1363249141Sdes 1364249141Sdes28 June 2012: Wouter 1365249141Sdes - detect if openssl has FIPS_mode. 1366249141Sdes - code review: return value of cache_store can be ignored for better 1367249141Sdes performance in out of memory conditions. 1368249141Sdes - fix edns-buffer-size and msg-buffer-size manpage documentation. 1369249141Sdes - updated iana ports list. 1370249141Sdes 1371249141Sdes25 June 2012: Wouter 1372249141Sdes - disable RSAMD5 if in FIPS mode (for openssl and for libnss). 1373249141Sdes 1374249141Sdes22 June 2012: Wouter 1375249141Sdes - implement DS records, NSEC3 and ECDSA for compile with libnss. 1376249141Sdes 1377249141Sdes21 June 2012: Wouter 1378249141Sdes - fix error handling of alloc failure during rrsig verification. 1379249141Sdes - nss check for verification failure. 1380249141Sdes - nss crypto works for RSA and DSA. 1381249141Sdes 1382249141Sdes20 June 2012: Wouter 1383249141Sdes - work on --with-nss build option (for now, --with-libunbound-only). 1384249141Sdes 1385249141Sdes19 June 2012: Wouter 1386249141Sdes - --with-libunbound-only build option, only builds the library and 1387249141Sdes not the daemon and other tools. 1388249141Sdes 1389249141Sdes18 June 2012: Wouter 1390249141Sdes - code review. 1391249141Sdes 1392249141Sdes15 June 2012: Wouter 1393249141Sdes - implement log-time-ascii on windows. 1394249141Sdes - The key-cache bad key ttl is now 60 seconds. 1395249141Sdes - updated iana ports list. 1396249141Sdes - code review. 1397249141Sdes 1398249141Sdes11 June 2012: Wouter 1399249141Sdes - bug #452: fix crash on assert in mesh_state_attachment. 1400249141Sdes 1401249141Sdes30 May 2012: Wouter 1402249141Sdes - silence warning from swig-generated code (md set but not used in 1403249141Sdes swig initmodule, due to ifdefs in swig-generated code). 1404249141Sdes 1405249141Sdes27 May 2012: Wouter 1406249141Sdes - Fix debian-bugs-658021: Please enable hardened build flags. 1407249141Sdes 1408249141Sdes25 May 2012: Wouter 1409249141Sdes - updated iana ports list. 1410249141Sdes 1411238106Sdes24 May 2012: Wouter 1412238106Sdes - tag for 1.4.17 release. 1413249141Sdes - trunk is 1.4.18 in development. 1414238106Sdes 1415238106Sdes18 May 2012: Wouter 1416238106Sdes - Review comments, removed duplicate memset to zero in delegpt. 1417238106Sdes 1418238106Sdes16 May 2012: Wouter 1419238106Sdes - Updated doc/FEATURES with RFCs that are implemented but not listed. 1420238106Sdes - Protect if statements in val_anchor for compile without locks. 1421238106Sdes - tag for 1.4.17rc1. 1422238106Sdes 1423238106Sdes15 May 2012: Wouter 1424238106Sdes - fix configure ECDSA support in ldns detection for windows compile. 1425238106Sdes - fix possible uninitialised variable in windows pipe implementation. 1426238106Sdes 1427238106Sdes9 May 2012: Wouter 1428238106Sdes - Fix alignment problem in util/random on sparc64/freebsd. 1429238106Sdes 1430238106Sdes8 May 2012: Wouter 1431238106Sdes - Fix for accept spinning reported by OpenBSD. 1432238106Sdes - iana portlist updated. 1433238106Sdes 1434238106Sdes2 May 2012: Wouter 1435238106Sdes - Fix validation of nodata for DS query in NSEC zones, reported by 1436238106Sdes Ondrej Mikle. 1437238106Sdes 1438238106Sdes13 April 2012: Wouter 1439238106Sdes - ECDSA support (RFC 6605) by default. Use --disable-ecdsa for older 1440238106Sdes openssl. 1441238106Sdes 1442238106Sdes10 April 2012: Wouter 1443238106Sdes - Applied patch from Daisuke HIGASHI for rrset-roundrobin and 1444238106Sdes minimal-responses features. 1445238106Sdes - iana portlist updated. 1446238106Sdes 1447238106Sdes5 April 2012: Wouter 1448238106Sdes - fix bug #443: --with-chroot-dir not honoured by configure. 1449238106Sdes - fix bug #444: setusercontext was called too late (thanks Bjorn 1450238106Sdes Ketelaars). 1451238106Sdes 1452238106Sdes27 March 2012: Wouter 1453238106Sdes - fix bug #442: Fix that Makefile depends on pythonmod headers 1454238106Sdes even using --without-pythonmodule. 1455238106Sdes 1456238106Sdes22 March 2012: Wouter 1457238106Sdes - contrib/validation-reporter follows rotated log file (patch from 1458238106Sdes Augie Schwer). 1459238106Sdes 1460238106Sdes21 March 2012: Wouter 1461238106Sdes - new approach to NS fetches for DS lookup that works with 1462238106Sdes cornercases, and is more robust and considers forwarders. 1463238106Sdes 1464238106Sdes19 March 2012: Wouter 1465238106Sdes - iana portlist updated. 1466238106Sdes - fix to locate nameservers for DS lookup with NS fetches. 1467238106Sdes 1468238106Sdes16 March 2012: Wouter 1469238106Sdes - Patch for access to full DNS packet data in unbound python module 1470238106Sdes from Ondrej Mikle. 1471238106Sdes 1472238106Sdes9 March 2012: Wouter 1473238106Sdes - Applied line-buffer patch from Augie Schwer to validation.reporter.sh. 1474238106Sdes 1475238106Sdes2 March 2012: Wouter 1476238106Sdes - flush_infra cleans timeouted servers from the cache too. 1477238106Sdes - removed warning from --enable-ecdsa. 1478238106Sdes 1479238106Sdes1 March 2012: Wouter 1480238106Sdes - forward-first option. Tries without forward if a query fails. 1481238106Sdes Also stub-first option that is similar. 1482238106Sdes 1483238106Sdes28 February 2012: Wouter 1484238106Sdes - Fix from code review, if EINPROGRESS not defined chain if statement 1485238106Sdes differently. 1486238106Sdes 1487238106Sdes27 February 2012: Wouter 1488238106Sdes - Fix bug#434: on windows check registry for config file location 1489238106Sdes for unbound-control.exe, and unbound-checkconf.exe. 1490238106Sdes 1491238106Sdes23 February 2012: Wouter 1492238106Sdes - Fix to squelch 'network unreachable' errors from tcp connect in 1493238106Sdes logs, high verbosity will show them. 1494238106Sdes 1495238106Sdes16 February 2012: Wouter 1496238106Sdes - iter_hints is now thread-owned in module env, and thus threadsafe. 1497238106Sdes - Fix prefetch and sticky NS, now the prefetch works. It picks 1498238106Sdes nameservers that 'would be valid in the future', and if this makes 1499238106Sdes the NS timeout, it updates that NS by asking delegation from the 1500238106Sdes parent again. If child NS has longer TTL, that TTL does not get 1501238106Sdes refreshed from the lookup to the child nameserver. 1502238106Sdes 1503238106Sdes15 February 2012: Wouter 1504238106Sdes - Fix forward-zone memory, uses malloc and frees original root dp. 1505238106Sdes - iter hints (stubs) uses malloc inside for more dynamicity. 1506238106Sdes - unbound-control forward_add, forward_remove, stub_add, stub_remove 1507238106Sdes can modify stubs and forwards for running unbound (on mobile computer) 1508238106Sdes they can also add and remove domain-insecure for the zone. 1509238106Sdes 1510238106Sdes14 February 2012: Wouter 1511238106Sdes - Fix sticky NS (ghost domain problem) if prefetch is yes. 1512238106Sdes - iter forwards uses malloc inside for more dynamicity. 1513238106Sdes 1514238106Sdes13 February 2012: Wouter 1515238106Sdes - RT#2955. Fix for cygwin compilation. 1516238106Sdes - iana portlist updated. 1517238106Sdes 1518238106Sdes10 February 2012: Wouter 1519238106Sdes - Slightly smaller critical region in one case in infra cache. 1520238106Sdes - Fix timeouts to keep track of query type, A, AAAA and other, if 1521238106Sdes another has caused timeout blacklist, different type can still probe. 1522238106Sdes - unit test fix for nomem_cnametopos.rpl race condition. 1523238106Sdes 1524238106Sdes9 February 2012: Wouter 1525238106Sdes - Fix AHX_BROKEN_MEMCMP for autoheader mess up of #undef in config.h. 1526238106Sdes 1527238106Sdes8 February 2012: Wouter 1528238106Sdes - implement draft-ietf-dnsext-ecdsa-04; which is in IETF LC; This 1529238106Sdes implementation is experimental at this time and not recommended 1530238106Sdes for use on the public internet (the protocol numbers have not 1531238106Sdes been assigned). Needs recent ldns with --enable-ecdsa. 1532238106Sdes - fix memory leak in errorcase for DSA signatures. 1533238106Sdes - iana portlist updated. 1534238106Sdes - workaround for openssl 0.9.8 ecdsa sha2 and evp problem. 1535238106Sdes 1536238106Sdes3 February 2012: Wouter 1537238106Sdes - fix for windows, rename() is not posix compliant on windows. 1538238106Sdes 1539238106Sdes2 February 2012: Wouter 1540238106Sdes - 1.4.16 release tag. 1541238106Sdes - svn trunk is 1.4.17 in development. 1542238106Sdes - iana portlist updated. 1543238106Sdes 1544238106Sdes1 February 2012: Wouter 1545238106Sdes - Fix validation failures (like: validation failure xx: no NSEC3 1546238106Sdes closest encloser from yy for DS zz. while building chain of trust, 1547238106Sdes because of a bug in the TTL-fix in 1.4.15, it picked the wrong rdata 1548238106Sdes for an NSEC3. Now it does not change rdata, and fixes TTL. 1549238106Sdes 1550238106Sdes30 January 2012: Wouter 1551238106Sdes - Fix version-number in libtool to be version-info so it produces 1552238106Sdes libunbound.so.2 like it should. 1553238106Sdes 1554238106Sdes26 January 2012: Wouter 1555238106Sdes - Tag 1.4.15 (same as 1.4.15rc1), for 1.4.15 release. 1556238106Sdes - trunk 1.4.16; includes changes memset testcode, #424 openindiana, 1557238106Sdes and keyfile write fixup. 1558238106Sdes - applied patch to support outgoing-interface with ub_ctx_set_option. 1559238106Sdes 1560238106Sdes23 January 2012: Wouter 1561238106Sdes - Fix memset in test code. 1562238106Sdes 1563238106Sdes20 January 2012: Wouter 1564238106Sdes - Fix bug #424: compile on OpenIndiana OS with gcc 4.6.2. 1565238106Sdes 1566238106Sdes19 January 2012: Wouter 1567238106Sdes - Fix to write key files completely to a temporary file, and if that 1568238106Sdes succeeds, replace the real key file. So failures leave a useful file. 1569238106Sdes 1570238106Sdes18 January 2012: Wouter 1571238106Sdes - tag 1.4.15rc1 created 1572238106Sdes - updated libunbound/ubsyms.def and remade tag 1.4.15rc1. 1573238106Sdes 1574238106Sdes17 January 2012: Wouter 1575238106Sdes - Fix bug where canonical_compare of RRSIG did not downcase the 1576238106Sdes signer-name. This is mostly harmless because RRSIGs do not have 1577238106Sdes to be sorted in canonical order, usually. 1578238106Sdes 1579238106Sdes12 January 2012: Wouter 1580238106Sdes - bug#428: add ub_version() call to libunbound. API version increase, 1581238106Sdes with (binary) backwards compatibility for the previous version. 1582238106Sdes 1583238106Sdes10 January 2012: Wouter 1584238106Sdes - Fix bug #425: unbound reports wrong TTL in reply, it reports a TTL 1585238106Sdes that would be permissible by the RFCs but it is not the TTL in the 1586238106Sdes cache. 1587238106Sdes - iana portlist updated. 1588238106Sdes - uninitialised variable in reprobe for rtt blocked domains fixed. 1589238106Sdes - lintfix and new flex output. 1590238106Sdes 1591238106Sdes2 January 2012: Wouter 1592238106Sdes - Fix to randomize hash function, based on 28c3 congress, reported 1593238106Sdes by Peter van Dijk. 1594238106Sdes 1595238106Sdes24 December 2011: Wouter 1596238106Sdes - Fix for memory leak (about 20 bytes when a tcp or udp send operation 1597238106Sdes towards authority servers failed, takes about 50.000 such failures to 1598238106Sdes leak one Mb, such failures are also usually logged), reported by 1599238106Sdes Robert Fleischmann. 1600238106Sdes - iana portlist updated. 1601238106Sdes 1602238106Sdes19 December 2011: Wouter 1603238106Sdes - Fix for VU#209659 CVE-2011-4528: Unbound denial of service 1604238106Sdes vulnerabilities from nonstandard redirection and denial of existence 1605238106Sdes http://www.unbound.net/downloads/CVE-2011-4528.txt 1606238106Sdes - robust checks for next-closer NSEC3s. 1607238106Sdes - tag 1.4.14 created. 1608238106Sdes - trunk has 1.4.15 in development. 1609238106Sdes 1610238106Sdes15 December 2011: Wouter 1611238106Sdes - remove uninit warning from cachedump code. 1612238106Sdes - Fix parse error on negative SOA RRSIGs if badly ordered in the packet. 1613238106Sdes 1614238106Sdes13 December 2011: Wouter 1615238106Sdes - iana portlist updated. 1616238106Sdes - svn tag 1.4.14rc1 1617238106Sdes - fix infra cache comparison. 1618238106Sdes - Fix to constrain signer_name to be a parent of the lookupname. 1619238106Sdes 1620238106Sdes5 December 2011: Wouter 1621238106Sdes - Fix getaddrinfowithincludes on windows with fedora16 mingw32-gcc. 1622238106Sdes - Fix warnings with gcc 4.6 in compat/inet_ntop.c. 1623238106Sdes - Fix warning unused in compat/strptime.c. 1624292206Sdes - Fix malloc detection and double definition. 1625238106Sdes 1626238106Sdes2 December 2011: Wouter 1627238106Sdes - configure generated with autoconf 2.68. 1628238106Sdes 1629238106Sdes30 November 2011: Wouter 1630238106Sdes - Fix for tcp-upstream and ssl-upstream for if a laptop sleeps, causes 1631238106Sdes SERVFAILs. Also fixed for UDP (but less likely). 1632238106Sdes 1633238106Sdes28 November 2011: Wouter 1634238106Sdes - Fix quartile time estimate, it was too low, (thanks Jan Komissar). 1635238106Sdes - iana ports updated. 1636238106Sdes 1637238106Sdes11 November 2011: Wouter 1638238106Sdes - Makefile compat with SunOS make, BSD make and GNU make. 1639238106Sdes - iana ports updated. 1640238106Sdes 1641238106Sdes10 November 2011: Wouter 1642238106Sdes - Makefile changed for BSD make compatibility. 1643238106Sdes 1644238106Sdes9 November 2011: Wouter 1645238106Sdes - added unit test for SSL service and SSL-upstream. 1646238106Sdes 1647238106Sdes8 November 2011: Wouter 1648238106Sdes - can configure ssl service to one port number, and not on others. 1649238106Sdes - fixup windows compile with ssl support. 1650238106Sdes - Fix double free in unbound-host, reported by Steve Grubb. 1651238106Sdes - iana portlist updated. 1652238106Sdes 1653238106Sdes1 November 2011: Wouter 1654238106Sdes - dns over ssl support as a client, ssl-upstream yes turns it on. 1655238106Sdes It performs an SSL transaction for every DNS query (250 msec). 1656238106Sdes - documentation for new options: ssl-upstream, ssl-service-key and 1657238106Sdes ssl-service.pem. 1658238106Sdes - iana portlist updated. 1659238106Sdes - fix -flto detection on Lion for llvm-gcc. 1660238106Sdes 1661238106Sdes31 October 2011: Wouter 1662238106Sdes - dns over ssl support, ssl-service-pem and ssl-service-key files 1663238106Sdes can be given and then TCP queries are serviced wrapped in SSL. 1664238106Sdes 1665238106Sdes27 October 2011: Wouter 1666238106Sdes - lame-ttl and lame-size options no longer exist, it is integrated 1667238106Sdes with the host info. They are ignored (with verbose warning) if 1668238106Sdes encountered to keep the config file backwards compatible. 1669238106Sdes - fix iana-update for changing gzip compression of results. 1670238106Sdes - fix export-all-symbols on OSX. 1671238106Sdes 1672238106Sdes26 October 2011: Wouter 1673238106Sdes - iana portlist updated. 1674238106Sdes - Infra cache stores information about ping and lameness per IP, zone. 1675238106Sdes This fixes bug #416. 1676238106Sdes - fix iana_update target for gzipped file on iana site. 1677238106Sdes 1678238106Sdes24 October 2011: Wouter 1679238106Sdes - Fix resolve of partners.extranet.microsoft.com with a fix for the 1680238106Sdes server selection for choosing out of a (particular) list of bad 1681238106Sdes choices. (bug#415) 1682238106Sdes - Fix make_new_space function so that the incoming query is not 1683238106Sdes overwritten if a jostled out query causes a waiting query to be 1684238106Sdes resumed that then fails and sends an error message. (Thanks to 1685238106Sdes Matthew Lee). 1686238106Sdes 1687238106Sdes21 October 2011: Wouter 1688238106Sdes - fix --enable-allsymbols, fptr wlist is disabled on windows with this 1689238106Sdes option enabled because of memory layout exe vs dll. 1690238106Sdes 1691238106Sdes19 October 2011: Wouter 1692238106Sdes - fix unbound-anchor for broken strptime on OSX lion, detected 1693238106Sdes in configure. 1694238106Sdes - Detect if GOST really works, openssl1.0 on OSX fails. 1695238106Sdes - Implement ipv6%interface notation for scope_id usage. 1696238106Sdes 1697238106Sdes17 October 2011: Wouter 1698238106Sdes - better documentation for inform_super (Thanks Yang Zhe). 1699238106Sdes 1700238106Sdes14 October 2011: Wouter 1701238106Sdes - Fix for out-of-memory condition in libunbound (thanks 1702238106Sdes Robert Fleischman). 1703238106Sdes 1704238106Sdes13 October 2011: Wouter 1705238106Sdes - Fix --enable-allsymbols, it depended on link specifics of the 1706238106Sdes target platform, or fptr_wlist assertion failures could occur. 1707238106Sdes 1708238106Sdes12 October 2011: Wouter 1709238106Sdes - updated contrib/unbound_munin_ to family=auto so that it works with 1710238106Sdes munin-node-configure automatically (if installed as 1711238106Sdes /usr/local/share/munin/plugins/unbound_munin_ ). 1712238106Sdes 1713238106Sdes27 September 2011: Wouter 1714238106Sdes - unbound.exe -w windows option for start and stop service. 1715238106Sdes 1716238106Sdes23 September 2011: Wouter 1717238106Sdes - TCP-upstream calculates tcp-ping so server selection works if there 1718238106Sdes are alternatives. 1719238106Sdes 1720238106Sdes20 September 2011: Wouter 1721238106Sdes - Fix classification of NS set in answer section, where there is a 1722238106Sdes parent-child server, and the answer has the AA flag for dir.slb.com. 1723238106Sdes Thanks to Amanda Constant from Secure64. 1724238106Sdes 1725238106Sdes16 September 2011: Wouter 1726238106Sdes - fix bug #408: accept patch from Steve Snyder that comments out 1727238106Sdes unused functions in lookup3.c. 1728238106Sdes - iana portlist updated. 1729238106Sdes - fix EDNS1480 change memleak and TCP fallback. 1730238106Sdes - fix various compiler warnings (reported by Paul Wouters). 1731238106Sdes - max sent count. EDNS1480 only for rtt < 5000. No promiscuous 1732238106Sdes fetch if sentcount > 3, stop query if sentcount > 16. Count is 1733238106Sdes reset when referral or CNAME happens. This makes unbound better 1734238106Sdes at managing large NS sets, they are explored when there is continued 1735238106Sdes interest (in the form of queries). 1736238106Sdes 1737238106Sdes15 September 2011: Wouter 1738238106Sdes - release 1.4.13. 1739238106Sdes - trunk contains 1.4.14 in development. 1740238106Sdes - Unbound probes at EDNS1480 if there an EDNS0 timeout. 1741238106Sdes 1742238106Sdes12 September 2011: Wouter 1743238106Sdes - Reverted dns EDNS backoff fix, it did not help and needs 1744238106Sdes fragmentation fixes instead. 1745238106Sdes - tag 1.4.13rc2 1746238106Sdes 1747238106Sdes7 September 2011: Wouter 1748238106Sdes - Fix operation in ipv6 only (do-ip4: no) mode. 1749238106Sdes 1750238106Sdes6 September 2011: Wouter 1751238106Sdes - fedora specfile updated. 1752238106Sdes 1753238106Sdes5 September 2011: Wouter 1754238106Sdes - tag 1.4.13rc1 1755238106Sdes 1756238106Sdes2 September 2011: Wouter 1757238106Sdes - iana portlist updated. 1758238106Sdes 1759238106Sdes26 August 2011: Wouter 1760238106Sdes - Fix num-threads 0 does not segfault, reported by Simon Deziel. 1761238106Sdes - Fix validation failures due to EDNS backoff retries, the retry 1762238106Sdes for fetch of data has want_dnssec because the iter_indicate_dnssec 1763238106Sdes function returns true when validation failure retry happens, and 1764238106Sdes then the serviced query code does not fallback to noEDNS, even if 1765238106Sdes the cache says it has this. This helps for DLV deployment when 1766238106Sdes the DNSSEC status is not known for sure before the lookup concludes. 1767238106Sdes 1768238106Sdes24 August 2011: Wouter 1769238106Sdes - Applied patch from Karel Slany that fixes a memory leak in the 1770238106Sdes unbound python module, in string conversions. 1771238106Sdes 1772238106Sdes22 August 2011: Wouter 1773238106Sdes - Fix validation of qtype ANY responses with CNAMEs (thanks Cathy 1774238106Sdes Zhang and Luo Ce). Unbound responds with the RR types that are 1775238106Sdes available at the name for qtype ANY and validates those RR types. 1776238106Sdes It does not test for completeness (i.e. with NSEC or NSEC3 query), 1777238106Sdes and it does not follow the CNAME or DNAME to another name (with 1778238106Sdes even more data for the already large response). 1779238106Sdes - Fix that internally, CNAMEs with NXDOMAIN have that as rcode. 1780238106Sdes - Documented the options that work with control set_option command. 1781238106Sdes - tcp-upstream yes/no option (works with set_option) for tunnels. 1782238106Sdes 1783238106Sdes18 August 2011: Wouter 1784238106Sdes - fix autoconf call in makedist crosscompile to RC or snapshot. 1785238106Sdes 1786238106Sdes17 August 2011: Wouter 1787238106Sdes - Fix validation of . DS query. 1788238106Sdes - new xml format at IANA, new awk for iana_update. 1789238106Sdes - iana portlist updated. 1790238106Sdes 1791238106Sdes10 August 2011: Wouter 1792238106Sdes - Fix python site-packages path to /usr/lib64. 1793238106Sdes - updated patch from Tom. 1794238106Sdes - fix memory and fd leak after out-of-memory condition. 1795238106Sdes 1796238106Sdes9 August 2011: Wouter 1797238106Sdes - patch from Tom Hendrikx fixes load of python modules. 1798238106Sdes 1799238106Sdes8 August 2011: Wouter 1800238106Sdes - make clean had ldns-src reference, removed. 1801238106Sdes 1802238106Sdes1 August 2011: Wouter 1803238106Sdes - Fix autoconf 2.68 warnings 1804238106Sdes 1805238106Sdes14 July 2011: Wouter 1806238106Sdes - Unbound implements RFC6303 (since version 1.4.7). 1807238106Sdes - tag 1.4.12rc1 is released as 1.4.12 (without the other fixes in the 1808238106Sdes meantime, those are for 1.4.13). 1809238106Sdes - iana portlist updated. 1810238106Sdes 1811238106Sdes13 July 2011: Wouter 1812238106Sdes - Quick fix for contrib/unbound.spec example, no ldns-builtin any more. 1813238106Sdes 1814238106Sdes11 July 2011: Wouter 1815238106Sdes - Fix wildcard expansion no-data reply under an optout NSEC3 zone is 1816238106Sdes validated as insecure, reported by Jia Li (lijia@cnnic.cn). 1817238106Sdes 1818238106Sdes4 July 2011: Wouter 1819238106Sdes - 1.4.12rc1 tag created. 1820238106Sdes 1821238106Sdes1 July 2011: Wouter 1822238106Sdes - version number in example config file. 1823238106Sdes - fix that --enable-static-exe does not complain about it unknown. 1824238106Sdes 1825238106Sdes30 June 2011: Wouter 1826238106Sdes - tag relase 1.4.11, trunk is 1.4.12 development. 1827238106Sdes - iana portlist updated. 1828238106Sdes - fix bug#395: id bits of other query may leak out under conditions 1829238106Sdes - fix replyaddr count wrong after jostled queries, which leads to 1830238106Sdes eventual starvation where the daemon has no replyaddrs left to use. 1831238106Sdes - fix comment about rndc port, that referred to the old port number. 1832238106Sdes - fix that the listening socket is not closed when too many remote 1833238106Sdes control connections are made at the same time. 1834238106Sdes - removed ldns-src tarball inside the unbound tarball. 1835238106Sdes 1836238106Sdes23 June 2011: Wouter 1837238106Sdes - Changed -flto check to support clang compiler. 1838238106Sdes - tag 1.4.11rc3 created. 1839238106Sdes 1840238106Sdes17 June 2011: Wouter 1841238106Sdes - tag 1.4.11rc1 created. 1842238106Sdes - remove warning about signed/unsigned from flex (other flex version). 1843238106Sdes - updated aclocal.m4 and libtool to match. 1844238106Sdes - tag 1.4.11rc2 created. 1845238106Sdes 1846238106Sdes16 June 2011: Wouter 1847238106Sdes - log-queries: yesno option, default is no, prints querylog. 1848238106Sdes - version is 1.4.11. 1849238106Sdes 1850238106Sdes14 June 2011: Wouter 1851238106Sdes - Use -flto compiler flag for link time optimization, if supported. 1852238106Sdes - iana portlist updated. 1853238106Sdes 1854238106Sdes12 June 2011: Wouter 1855238106Sdes - IPv6 service address for d.root-servers.net (2001:500:2D::D). 1856238106Sdes 1857238106Sdes10 June 2011: Wouter 1858238106Sdes - unbound-control has version number in the header, 1859238106Sdes UBCT[version]_space_ is the header sent by the client now. 1860238106Sdes - Unbound control port number is registered with IANA: 1861238106Sdes ub-dns-control 8953/tcp unbound dns nameserver control 1862238106Sdes This is the new default for the control-port config setting. 1863238106Sdes - statistics-interval prints the number of jostled queries to log. 1864238106Sdes 1865238106Sdes30 May 2011: Wouter 1866238106Sdes - Fix Makefile for U in environment, since wrong U is more common than 1867238106Sdes deansification necessity. 1868238106Sdes - iana portlist updated. 1869238106Sdes - updated ldns tarball to 1.6.10rc2 snapshot of today. 1870238106Sdes 1871238106Sdes25 May 2011: Wouter 1872238106Sdes - Fix assertion failure when unbound generates an empty error reply 1873238106Sdes in response to a query, CVE-2011-1922 VU#531342. 1874238106Sdes - This fix is in tag 1.4.10. 1875238106Sdes - defense in depth against the above bug, an error is printed to log 1876238106Sdes instead of an assertion failure. 1877238106Sdes 1878238106Sdes10 May 2011: Wouter 1879238106Sdes - bug#386: --enable-allsymbols option links all binaries to libunbound 1880238106Sdes and reduces install size significantly. 1881238106Sdes - feature, ignore-cd-flag: yesno to provide dnssec to legacy servers. 1882238106Sdes - iana portlist updated. 1883238106Sdes - Fix TTL of SOA so negative TTL is separately cached from normal TTL. 1884238106Sdes 1885238106Sdes14 April 2011: Wouter 1886238106Sdes - configure created with newer autoconf 2.66. 1887238106Sdes 1888238106Sdes12 April 2011: Wouter 1889238106Sdes - bug#378: Fix that configure checks for ldns_get_random presence. 1890238106Sdes 1891238106Sdes8 April 2011: Wouter 1892238106Sdes - iana portlist updated. 1893238106Sdes - queries with CD flag set cause DNSSEC validation, but the answer is 1894238106Sdes not withheld if it is bogus. Thus, unbound will retry if it is bad 1895238106Sdes and curb the TTL if it is bad, thus protecting the cache for use by 1896238106Sdes downstream validators. 1897238106Sdes - val-override-date: -1 ignores dates entirely, for NTP usage. 1898238106Sdes 1899238106Sdes29 March 2011: Wouter 1900238106Sdes - harden-below-nxdomain: changed so that it activates when the 1901238106Sdes cached nxdomain is dnssec secure. This avoids backwards 1902238106Sdes incompatibility because those old servers do not have dnssec. 1903238106Sdes 1904238106Sdes24 March 2011: Wouter 1905238106Sdes - iana portlist updated. 1906238106Sdes - release 1.4.9. 1907238106Sdes - trunk is 1.5.0 1908238106Sdes 1909238106Sdes17 March 2011: Wouter 1910238106Sdes - bug#370: new unbound.spec for CentOS 5.x from Harold Jones. 1911238106Sdes Applied but did not do the --disable-gost. 1912238106Sdes 1913238106Sdes10 March 2011: Wouter 1914238106Sdes - tag 1.4.9 release candidate 1 created. 1915238106Sdes 1916238106Sdes3 March 2011: Wouter 1917238106Sdes - updated ldns to today. 1918238106Sdes 1919238106Sdes1 March 2011: Wouter 1920238106Sdes - Fix no ADflag for NXDOMAIN in NSEC3 optout. And wildcard in optout. 1921238106Sdes - give config parse error for multiple names on a stub or forward zone. 1922238106Sdes - updated ldns tarball to 1.6.9(todays snapshot). 1923238106Sdes 1924238106Sdes24 February 2011: Wouter 1925238106Sdes - bug #361: Fix, time.elapsed variable not reset with stats_noreset. 1926238106Sdes 1927238106Sdes23 February 2011: Wouter 1928238106Sdes - iana portlist updated. 1929238106Sdes - common.sh to version 3. 1930238106Sdes 1931238106Sdes18 February 2011: Wouter 1932238106Sdes - common.sh in testdata updated to version 2. 1933238106Sdes 1934238106Sdes15 February 2011: Wouter 1935238106Sdes - Added explicit note on unbound-anchor usage: 1936238106Sdes Please note usage of unbound-anchor root anchor is at your own risk 1937238106Sdes and under the terms of our LICENSE (see that file in the source). 1938238106Sdes 1939238106Sdes11 February 2011: Wouter 1940238106Sdes - iana portlist updated. 1941238106Sdes - tpkg updated with common.sh for common functionality. 1942238106Sdes 1943238106Sdes7 February 2011: Wouter 1944238106Sdes - Added regression test for addition of a .net DS to the root, and 1945238106Sdes cache effects with different TTL for glue and DNSKEY. 1946238106Sdes - iana portlist updated. 1947238106Sdes 1948238106Sdes28 January 2011: Wouter 1949238106Sdes - Fix remove private address does not throw away entire response. 1950238106Sdes 1951238106Sdes24 January 2011: Wouter 1952238106Sdes - release 1.4.8 1953238106Sdes 1954238106Sdes19 January 2011: Wouter 1955238106Sdes - fix bug#349: no -L/usr for ldns. 1956238106Sdes 1957238106Sdes18 January 2011: Wouter 1958238106Sdes - ldns 1.6.8 tarball included. 1959238106Sdes - release 1.4.8rc1. 1960238106Sdes 1961238106Sdes17 January 2011: Wouter 1962238106Sdes - add get and set option for harden-below-nxdomain feature. 1963238106Sdes - iana portlist updated. 1964238106Sdes 1965238106Sdes14 January 2011: Wouter 1966238106Sdes - Fix so a changed NS RRset does not get moved name stuck on old 1967238106Sdes server, for type NS the TTL is not increased. 1968238106Sdes 1969238106Sdes13 January 2011: Wouter 1970238106Sdes - Fix prefetch so it does not get stuck on old server for moved names. 1971238106Sdes 1972238106Sdes12 January 2011: Wouter 1973238106Sdes - iana portlist updated. 1974238106Sdes 1975238106Sdes11 January 2011: Wouter 1976238106Sdes - Fix insecure CNAME sequence marked as secure, reported by Bert 1977238106Sdes Hubert. 1978238106Sdes 1979238106Sdes10 January 2011: Wouter 1980238106Sdes - faster lruhash get_mem routine. 1981238106Sdes 1982238106Sdes4 January 2011: Wouter 1983238106Sdes - bug#346: remove ITAR scripts from contrib, the service is discontinued, use the root. 1984238106Sdes - iana portlist updated. 1985238106Sdes 1986238106Sdes23 December 2010: Wouter 1987238106Sdes - Fix in infra cache that could cause rto larger than TOP_TIMEOUT kept. 1988238106Sdes 1989238106Sdes21 December 2010: Wouter 1990238106Sdes - algorithm compromise protection using the algorithms signalled in 1991238106Sdes the DS record. Also, trust anchors, DLV, and RFC5011 receive this, 1992238106Sdes and thus, if you have multiple algorithms in your trust-anchor-file 1993238106Sdes then it will now behave different than before. Also, 5011 rollover 1994238106Sdes for algorithms needs to be double-signature until the old algorithm 1995238106Sdes is revoked. 1996238106Sdes It is not an option, because I see no use to turn the security off. 1997238106Sdes - iana portlist updated. 1998238106Sdes 1999238106Sdes17 December 2010: Wouter 2000238106Sdes - squelch 'tcp connect: bla' in logfile, (set verbosity 2 to see them). 2001238106Sdes - fix validation in this case: CNAME to nodata for co-hosted opt-in 2002238106Sdes NSEC3 insecure delegation, was bogus, fixed to be insecure. 2003238106Sdes 2004238106Sdes16 December 2010: Wouter 2005238106Sdes - Fix our 'BDS' license (typo reported by Xavier Belanger). 2006238106Sdes 2007238106Sdes10 December 2010: Wouter 2008238106Sdes - iana portlist updated. 2009238106Sdes - review changes for unbound-anchor. 2010238106Sdes 2011238106Sdes2 December 2010: Wouter 2012238106Sdes - feature typetransparent localzone, does not block other RR types. 2013238106Sdes 2014238106Sdes1 December 2010: Wouter 2015238106Sdes - Fix bug#338: print address when socket creation fails. 2016238106Sdes 2017238106Sdes30 November 2010: Wouter 2018238106Sdes - Fix storage of EDNS failures in the infra cache. 2019238106Sdes - iana portlist updated. 2020238106Sdes 2021238106Sdes18 November 2010: Wouter 2022238106Sdes - harden-below-nxdomain option, default off (because very old 2023238106Sdes software may be incompatible). We could enable it by default in 2024238106Sdes the future. 2025238106Sdes 2026238106Sdes17 November 2010: Wouter 2027238106Sdes - implement draft-vixie-dnsext-resimprove-00, we stop on NXDOMAIN. 2028238106Sdes - make test output nicer. 2029238106Sdes 2030238106Sdes15 November 2010: Wouter 2031238106Sdes - silence 'tcp connect: broken pipe' and 'net down' at low verbosity. 2032238106Sdes - iana portlist updated. 2033238106Sdes - so-sndbuf option for very busy servers, a bit like so-rcvbuf. 2034238106Sdes 2035238106Sdes9 November 2010: Wouter 2036238106Sdes - unbound-anchor compiles with openssl 0.9.7. 2037238106Sdes 2038238106Sdes8 November 2010: Wouter 2039238106Sdes - release tag 1.4.7. 2040238106Sdes - trunk is version 1.4.8. 2041238106Sdes - Be lenient and accept imgw.pl malformed packet (like BIND). 2042238106Sdes 2043238106Sdes5 November 2010: Wouter 2044238106Sdes - do not synthesize a CNAME message from cache for qtype DS. 2045238106Sdes 2046238106Sdes4 November 2010: Wouter 2047238106Sdes - Use central entropy to seed threads. 2048238106Sdes 2049238106Sdes3 November 2010: Wouter 2050238106Sdes - Change the rtt used to probe EDNS-timeout hosts to 1000 msec. 2051238106Sdes 2052238106Sdes2 November 2010: Wouter 2053238106Sdes - tag 1.4.7rc1. 2054238106Sdes - code review. 2055238106Sdes 2056238106Sdes1 November 2010: Wouter 2057238106Sdes - GOST code enabled by default (RFC 5933). 2058238106Sdes 2059238106Sdes27 October 2010: Wouter 2060238106Sdes - Fix uninit value in dump_infra print. 2061238106Sdes - Fix validation failure for parent and child on same server with an 2062238106Sdes insecure childzone and a CNAME from parent to child. 2063238106Sdes - Configure detects libev-4.00. 2064238106Sdes 2065238106Sdes26 October 2010: Wouter 2066238106Sdes - dump_infra and flush_infra commands for unbound-control. 2067238106Sdes - no timeout backoff if meanwhile a query succeeded. 2068238106Sdes - Change of timeout code. No more lost and backoff in blockage. 2069238106Sdes At 12sec timeout (and at least 2x lost before) one probe per IP 2070238106Sdes is allowed only. At 120sec, the IP is blocked. After 15min, a 2071238106Sdes 120sec entry has a single retry packet. 2072238106Sdes 2073238106Sdes25 October 2010: Wouter 2074238106Sdes - Configure errors if ldns is not found. 2075238106Sdes 2076238106Sdes22 October 2010: Wouter 2077238106Sdes - Windows 7 fix for the installer. 2078238106Sdes 2079238106Sdes21 October 2010: Wouter 2080238106Sdes - Fix bug where fallback_tcp causes wrong roundtrip and edns 2081238106Sdes observation to be noted in cache. Fix bug where EDNSprobe halted 2082238106Sdes exponential backoff if EDNS status unknown. 2083238106Sdes - new unresponsive host method, exponentially increasing block backoff. 2084238106Sdes - iana portlist updated. 2085238106Sdes 2086238106Sdes20 October 2010: Wouter 2087238106Sdes - interface automatic works for some people with ip6 disabled. 2088238106Sdes Therefore the error check is removed, so they can use the option. 2089238106Sdes 2090238106Sdes19 October 2010: Wouter 2091238106Sdes - Fix for request list growth, if a server has long timeout but the 2092238106Sdes lost counter is low, then its effective rtt is the one without 2093238106Sdes exponential backoff applied. Because the backoff is not working. 2094238106Sdes The lost counter can then increase and the server is blacklisted, 2095238106Sdes or the lost counter does not increase and the server is working 2096238106Sdes for some queries. 2097238106Sdes 2098238106Sdes18 October 2010: Wouter 2099238106Sdes - iana portlist updated. 2100238106Sdes 2101238106Sdes13 October 2010: Wouter 2102238106Sdes - Fix TCP so it uses a random outgoing-interface. 2103238106Sdes - unbound-anchor handles ADDPEND keystate. 2104238106Sdes 2105238106Sdes11 October 2010: Wouter 2106238106Sdes - Fix bug when DLV below a trust-anchor that uses NSEC3 optout where 2107238106Sdes the zone has a secure delegation hosted on the same server did not 2108238106Sdes verify as secure (it was insecure by mistake). 2109238106Sdes - iana portlist updated. 2110238106Sdes - ldns tarball updated (for reading cachedumps with bad RR data). 2111238106Sdes 2112238106Sdes1 October 2010: Wouter 2113238106Sdes - test for unbound-anchor. fix for reading certs. 2114238106Sdes - Fix alloc_reg_release for longer uptime in out of memory conditions. 2115238106Sdes 2116238106Sdes28 September 2010: Wouter 2117238106Sdes - unbound-anchor working, it creates or updates a root.key file. 2118238106Sdes Use it before you start the validator (e.g. at system boot time). 2119238106Sdes 2120238106Sdes27 September 2010: Wouter 2121238106Sdes - iana portlist updated. 2122238106Sdes 2123238106Sdes24 September 2010: Wouter 2124238106Sdes - bug#329: in example.conf show correct ipv4 link-local 169.254/16. 2125238106Sdes 2126238106Sdes23 September 2010: Wouter 2127238106Sdes - unbound-anchor app, unbound requires libexpat (xml parser library). 2128238106Sdes 2129238106Sdes22 September 2010: Wouter 2130238106Sdes - compliance with draft-ietf-dnsop-default-local-zones-14, removed 2131238106Sdes reverse ipv6 orchid prefix from builtin list. 2132238106Sdes - iana portlist updated. 2133238106Sdes 2134238106Sdes17 September 2010: Wouter 2135238106Sdes - DLV has downgrade protection again, because the RFC says so. 2136238106Sdes - iana portlist updated. 2137238106Sdes 2138238106Sdes16 September 2010: Wouter 2139238106Sdes - Algorithm rollover operational reality intrudes, for trust-anchor, 2140238106Sdes 5011-store, and DLV-anchor if one key matches it's good enough. 2141238106Sdes - iana portlist updated. 2142238106Sdes - Fix reported validation error in out of memory condition. 2143238106Sdes 2144238106Sdes15 September 2010: Wouter 2145238106Sdes - Abide RFC5155 section 9.2: no AD flag for replies with NSEC3 optout. 2146238106Sdes 2147238106Sdes14 September 2010: Wouter 2148238106Sdes - increased mesh-max-activation from 1000 to 3000 for crazy domains 2149238106Sdes like _tcp.slb.com with 262 servers. 2150238106Sdes - iana portlist updated. 2151238106Sdes 2152238106Sdes13 September 2010: Wouter 2153238106Sdes - bug#327: Fix for cannot access stub zones until the root is primed. 2154238106Sdes 2155238106Sdes9 September 2010: Wouter 2156238106Sdes - unresponsive servers are not completely blacklisted (because of 2157238106Sdes firewalls), but also not probed all the time (because of the request 2158238106Sdes list size it generates). The probe rate is 1%. 2159238106Sdes - iana portlist updated. 2160238106Sdes 2161238106Sdes20 August 2010: Wouter 2162238106Sdes - openbsd-lint fixes: acl_list_get_mem used if debug-alloc enabled. 2163238106Sdes iterator get_mem includes priv_get_mem. delegpt nodup removed. 2164238106Sdes listen_pushback, query_info_allocqname, write_socket, send_packet, 2165238106Sdes comm_point_set_cb_arg and listen_resume removed. 2166238106Sdes 2167238106Sdes19 August 2010: Wouter 2168238106Sdes - Fix bug#321: resolution of rs.ripe.net artifacts with 0x20. 2169238106Sdes Delegpt structures checked for duplicates always. 2170238106Sdes No more nameserver lookups generated when depth is full anyway. 2171238106Sdes - example.conf notes how to do DNSSEC validation and track the root. 2172238106Sdes - iana portlist updated. 2173238106Sdes 2174238106Sdes18 August 2010: Wouter 2175238106Sdes - Fix bug#322: configure does not respect CFLAGS on Solaris. 2176238106Sdes Pass CFLAGS="-xO4 -xtarget=generic" on the configure command line 2177238106Sdes if use sun-cc, but some systems need different flags. 2178238106Sdes 2179238106Sdes16 August 2010: Wouter 2180238106Sdes - Fix acx_nlnetlabs.m4 configure output for autoconf-2.66 AS_TR_CPP 2181238106Sdes changes, uses m4_bpatsubst now. 2182238106Sdes - make test (or make check) should be more portable and run the unit 2183238106Sdes test and testbound scripts. (make longtest has special requirements). 2184238106Sdes 2185238106Sdes13 August 2010: Wouter 2186238106Sdes - More pleasant remote control command parsing. 2187238106Sdes - documentation added for return values reported by doxygen 1.7.1. 2188238106Sdes - iana portlist updated. 2189238106Sdes 2190238106Sdes9 August 2010: Wouter 2191238106Sdes - Fix name of rrset printed that failed validation. 2192238106Sdes 2193238106Sdes5 August 2010: Wouter 2194238106Sdes - Return NXDOMAIN after chain of CNAMEs ends at name-not-found. 2195238106Sdes 2196238106Sdes4 August 2010: Wouter 2197238106Sdes - Fix validation in case a trust anchor enters into a zone with 2198238106Sdes unsupported algorithms. 2199238106Sdes 2200238106Sdes3 August 2010: Wouter 2201238106Sdes - updated ldns tarball with bugfixes. 2202238106Sdes - release tag 1.4.6. 2203238106Sdes - trunk becomes 1.4.7 develop. 2204238106Sdes - iana portlist updated. 2205238106Sdes 2206238106Sdes22 July 2010: Wouter 2207238106Sdes - more error details on failed remote control connection. 2208238106Sdes 2209238106Sdes15 July 2010: Wouter 2210238106Sdes - rlimit adjustments for select and ulimit can happen at the same time. 2211238106Sdes 2212238106Sdes14 July 2010: Wouter 2213238106Sdes - Donation text added to README. 2214238106Sdes - Fix integer underflow in prefetch ttl creation from cache. This 2215238106Sdes fixes a potential negative prefetch ttl. 2216238106Sdes 2217238106Sdes12 July 2010: Wouter 2218238106Sdes - Changed the defaults for num-queries-per-thread/outgoing-range. 2219238106Sdes For builtin-select: 512/960, for libevent 1024/4096 and for 2220238106Sdes windows 24/48 (because of win api). This makes the ratio this way 2221238106Sdes to improve resilience under heavy load. For high performance, use 2222238106Sdes libevent and possibly higher numbers. 2223238106Sdes 2224238106Sdes10 July 2010: Wouter 2225238106Sdes - GOST enabled if SSL is recent and ldns has GOST enabled too. 2226238106Sdes - ldns tarball updated. 2227238106Sdes 2228238106Sdes9 July 2010: Wouter 2229238106Sdes - iana portlist updated. 2230238106Sdes - Fix validation of qtype DNSKEY when a key-cache entry exists but 2231238106Sdes no rr-cache entry is used (it expired or prefetch), it then goes 2232238106Sdes back up to the DS or trust-anchor to validate the DNSKEY. 2233238106Sdes 2234238106Sdes7 July 2010: Wouter 2235238106Sdes - Neat function prototypes, unshadowed local declarations. 2236238106Sdes 2237238106Sdes6 July 2010: Wouter 2238238106Sdes - failure to chown the pidfile is not fatal any more. 2239238106Sdes - testbound uses UTC timezone. 2240238106Sdes - ldns tarball updated (ports and works on Minix 3.1.7). On Minix, add 2241238106Sdes /usr/gnu/bin to PATH, use ./configure AR=/usr/gnu/bin/gar and gmake. 2242238106Sdes 2243238106Sdes5 July 2010: Wouter 2244238106Sdes - log if a server is skipped because it is on the donotquery list, 2245238106Sdes at verbosity 4, to enable diagnosis why no queries to 127.0.0.1. 2246238106Sdes - added feature to print configure date, target and options with -h. 2247238106Sdes - added feature to print event backend system details with -h. 2248238106Sdes - wdiff is not actually required by make test, updated requirements. 2249238106Sdes 2250238106Sdes1 July 2010: Wouter 2251238106Sdes - Fix RFC4035 compliance with 2.2 statement that the DNSKEY at apex 2252238106Sdes must be signed with all algorithms from the DS rrset at the parent. 2253238106Sdes This is now checked and becomes bogus if not. 2254238106Sdes 2255238106Sdes28 June 2010: Wouter 2256238106Sdes - Fix jostle list bug found by Vince (luoce@cnnic), it caused the qps 2257238106Sdes in overload situations to be about 5 qps for the class of shortly 2258238106Sdes serviced queries. 2259238106Sdes The capacity of the resolver is then about (numqueriesperthread / 2) 2260238106Sdes / (average time for such long queries) qps for long queries. 2261238106Sdes And about (numqueriesperthread / 2)/(jostletimeout in whole seconds) 2262238106Sdes qps for short queries, per thread. 2263238106Sdes - Fix the max number of reply-address count to be applied for duplicate 2264238106Sdes queries, and not for new query list entries. This raises the memory 2265238106Sdes usage to a max of (16+1)*numqueriesperthread reply addresses. 2266238106Sdes 2267238106Sdes25 June 2010: Wouter 2268238106Sdes - Fix handling of corner case reply from lame server, follows rfc2308. 2269238106Sdes It could lead to a nodata reply getting into the cache if the search 2270238106Sdes for a non-lame server turned up other misconfigured servers. 2271238106Sdes - unbound.h has extern "C" statement for easier include in c++. 2272238106Sdes 2273238106Sdes23 June 2010: Wouter 2274238106Sdes - iana portlist updated. 2275238106Sdes - makedist upgraded cross compile openssl option, like this: 2276238106Sdes ./makedist.sh -s -wssl openssl-1.0.0a.tar.gz -w --enable-gost 2277238106Sdes 2278238106Sdes22 June 2010: Wouter 2279238106Sdes - Unbound reports libev or libevent correctly in logs in verbose mode. 2280238106Sdes - Fix to unload gost dynamic library module for leak testing. 2281238106Sdes 2282238106Sdes18 June 2010: Wouter 2283238106Sdes - iana portlist updated. 2284238106Sdes 2285238106Sdes17 June 2010: Wouter 2286238106Sdes - Add AAAA to root hints for I.ROOT-SERVERS.NET. 2287238106Sdes 2288238106Sdes16 June 2010: Wouter 2289238106Sdes - Fix assertion failure reported by Kai Storbeck from XS4ALL, the 2290238106Sdes assertion was wrong. 2291238106Sdes - updated ldns tarball. 2292238106Sdes 2293238106Sdes15 June 2010: Wouter 2294238106Sdes - tag 1.4.5 created. 2295238106Sdes - trunk contains 1.4.6 in development. 2296238106Sdes - Fix TCPreply on systems with no writev, if just 1 byte could be sent. 2297238106Sdes - Fix to use one pointer less for iterator query state store_parent_NS. 2298238106Sdes - makedist crosscompile to windows uses builtin ldns not host ldns. 2299238106Sdes - Max referral count from 30 to 130, because 128 one character domains 2300238106Sdes is valid DNS. 2301238106Sdes - added documentation for the histogram printout to syslog. 2302238106Sdes 2303238106Sdes11 June 2010: Wouter 2304238106Sdes - When retry to parent the retrycount is not wiped, so failed 2305238106Sdes nameservers are not tried again. 2306238106Sdes - iana portlist updated. 2307238106Sdes 2308238106Sdes10 June 2010: Wouter 2309238106Sdes - Fix bug where a long loop could be entered, now cycle detection 2310238106Sdes has a loop-counter and maximum search amount. 2311238106Sdes 2312238106Sdes4 June 2010: Wouter 2313238106Sdes - iana portlist updated. 2314238106Sdes - 1.4.5rc1 tag created. 2315238106Sdes 2316238106Sdes3 June 2010: Wouter 2317238106Sdes - ldns tarball updated, 1.6.5. 2318238106Sdes - review comments, split dependency cycle tracking for parentside 2319238106Sdes last resort lookups for A and AAAA so there are more lookup options. 2320238106Sdes 2321238106Sdes2 June 2010: Wouter 2322238106Sdes - Fix compile warning if compiled without threads. 2323238106Sdes - updated ldns-tarball with current ldns svn (pre 1.6.5). 2324238106Sdes - GOST disabled-by-default, the algorithm number is allocated but the 2325238106Sdes RFC is still has to pass AUTH48 at the IETF. 2326238106Sdes 2327238106Sdes1 June 2010: Wouter 2328238106Sdes - Ignore Z flag in incoming messages too. 2329238106Sdes - Fix storage of negative parent glue if that last resort fails. 2330238106Sdes - libtoolize 2.2.6b, autoconf 2.65 applied to configure. 2331238106Sdes - new splint flags for newer splint install. 2332238106Sdes 2333238106Sdes31 May 2010: Wouter 2334238106Sdes - Fix AD flag handling, it could in some cases mistakenly copy the AD 2335238106Sdes flag from upstream servers. 2336238106Sdes - alloc_special_obtain out of memory is not a fatal error any more, 2337238106Sdes enabling unbound to continue longer in out of memory conditions. 2338238106Sdes - parentside names are dispreferred but not said to be dnssec-lame. 2339238106Sdes - parentside check for cached newname glue. 2340238106Sdes - fix parentside and querytargets modulestate, for dump_requestlist. 2341238106Sdes - unbound-control-setup makes keys -rw-r--- so not all users permitted. 2342238106Sdes - fix parentside from cache to be marked dispreferred for bad names. 2343238106Sdes 2344238106Sdes28 May 2010: Wouter 2345238106Sdes - iana portlist updated. 2346238106Sdes - parent-child disagreement approach altered. Older fixes are 2347238106Sdes removed in place of a more exhaustive search for misconfigured data 2348238106Sdes available via the parent of a delegation. 2349238106Sdes This is designed to be throttled by cache entries, with TTL from the 2350238106Sdes parent if possible. Additionally the loop-counter is used. 2351238106Sdes It also tests for NS RRset differences between parent and child. 2352238106Sdes The fetch of misconfigured data should be more reliable and thorough. 2353238106Sdes It should work reliably even with no or only partial data in cache. 2354238106Sdes Data received from the child (as always) is deemed more 2355238106Sdes authoritative than information received from the delegation parent. 2356238106Sdes The search for misconfigured data is not performed normally. 2357238106Sdes 2358238106Sdes26 May 2010: Wouter 2359238106Sdes - Contribution from Migiel de Vos (Surfnet): nagios patch for 2360238106Sdes unbound-host, in contrib/ (in the source tarball). Makes 2361238106Sdes unbound-host suitable for monitoring dnssec(-chain) status. 2362238106Sdes 2363238106Sdes21 May 2010: Wouter 2364238106Sdes - EDNS timeout code will not fire if EDNS status already known. 2365238106Sdes - EDNS failure not stored if EDNS status known to work. 2366238106Sdes 2367238106Sdes19 May 2010: Wouter 2368238106Sdes - Fix resolution for domains like safesvc.com.cn. If the iterator 2369238106Sdes can not recurse further and it finds the delegation in a state 2370238106Sdes where it would otherwise have rejected it outhand if so received 2371238106Sdes from a cache lookup, then it can try to ask higherup (with loop 2372238106Sdes protection). 2373238106Sdes - Fix comments in iter_utils:dp_is_useless. 2374238106Sdes 2375238106Sdes18 May 2010: Wouter 2376238106Sdes - Fix various compiler warnings from the clang llvm compiler. 2377238106Sdes - iana portlist updated. 2378238106Sdes 2379238106Sdes6 May 2010: Wouter 2380238106Sdes - Fix bug#308: spelling error in variable name in parser and lexer. 2381238106Sdes 2382238106Sdes4 May 2010: Wouter 2383238106Sdes - Fix dnssec-missing detection that was turned off by server selection. 2384238106Sdes - Conforms to draft-ietf-dnsop-default-local-zones-13. Added default 2385238106Sdes reverse lookup blocks for IPv4 test nets 100.51.198.in-addr.arpa, 2386238106Sdes 113.0.203.in-addr.arpa and Orchid prefix 0.1.1.0.0.2.ip6.arpa. 2387238106Sdes 2388238106Sdes29 April 2010: Wouter 2389238106Sdes - Fix for dnssec lameness detection to use the key cache. 2390238106Sdes - infra cache entries that are expired are wiped clean. Previously 2391238106Sdes it was possible to not expire host data (if accessed often). 2392238106Sdes 2393238106Sdes28 April 2010: Wouter 2394238106Sdes - ldns tarball updated and GOST support is detected and then enabled. 2395238106Sdes - iana portlist updated. 2396238106Sdes - Fix detection of gost support in ldns (reported by Chris Smith). 2397238106Sdes 2398238106Sdes27 April 2010: Wouter 2399238106Sdes - unbound-control get_option domain-insecure shows config file items. 2400238106Sdes - fix retry sequence if prime hints are recursion-lame. 2401238106Sdes - autotrust anchor file can be initialized with a ZSK key as well. 2402238106Sdes - harden-referral-path does not result in failures due to max-depth. 2403238106Sdes You can increase the max-depth by adding numbers (' 0') after the 2404238106Sdes target-fetch-policy, this increases the depth to which is checked. 2405238106Sdes 2406238106Sdes26 April 2010: Wouter 2407238106Sdes - Compile fix using Sun Studio 12 compiler on Solaris 5.9, use 2408238106Sdes CPPFLAGS during configure process. 2409238106Sdes - if libev is installed on the base system (not libevent), detect 2410238106Sdes it from the event.h header file and link with -lev. 2411238106Sdes - configlexer.lex gets config.h, and configyyrename.h added by make, 2412238106Sdes no more double include. 2413238106Sdes - More strict scrubber (Thanks to George Barwood for the idea): 2414238106Sdes NS set must be pertinent to the query (qname subdomain nsname). 2415238106Sdes - Fix bug#307: In 0x20 backoff fix fallback so the number of 2416238106Sdes outstanding queries does not become -1 and block the request. 2417238106Sdes Fixed handling of recursion-lame in combination with 0x20 fallback. 2418238106Sdes Fix so RRsets are compared canonicalized and sorted if the immediate 2419238106Sdes comparison fails, this makes it work around round-robin sites. 2420238106Sdes 2421238106Sdes23 April 2010: Wouter 2422238106Sdes - Squelch log message: sendto failed permission denied for 2423238106Sdes 255.255.255.255, it is visible in VERB_DETAIL (verbosity 2). 2424238106Sdes - Fix to fetch data as last resort more tenaciously. When cycle 2425238106Sdes targets cause the server selection to believe there are more options 2426238106Sdes when they really are not there, the server selection is reinitiated. 2427238106Sdes - Fix fetch from blacklisted dnssec lame servers as last resort. The 2428238106Sdes server's IP address is then given in validator errors as well. 2429238106Sdes - Fix local-zone type redirect that did not use the query name for 2430238106Sdes the answer rrset. 2431238106Sdes 2432238106Sdes22 April 2010: Wouter 2433238106Sdes - tag 1.4.4. 2434238106Sdes - trunk contains 1.4.5 in development. 2435238106Sdes - Fix validation failure for qtype ANY caused by a RRSIG parse failure. 2436238106Sdes The validator error message was 'no signatures from ...'. 2437238106Sdes 2438238106Sdes16 April 2010: Wouter 2439238106Sdes - more portability defines for CMSG_SPACE, CMSG_ALIGN, CMSG_LEN. 2440238106Sdes - tag 1.4.4rc1. 2441238106Sdes 2442238106Sdes15 April 2010: Wouter 2443238106Sdes - ECC-GOST algorithm number 12 that is assigned by IANA. New test 2444238106Sdes example key and signatures for GOST. GOST requires openssl-1.0.0. 2445238106Sdes GOST is still disabled by default. 2446238106Sdes 2447238106Sdes9 April 2010: Wouter 2448238106Sdes - Fix bug#305: pkt_dname_tolower could read beyond end of buffer or 2449238106Sdes get into an endless loop, if 0x20 was enabled, and buffers are small 2450238106Sdes or particular broken packets are received. 2451238106Sdes - Fix chain of trust with CNAME at an intermediate step, for the DS 2452238106Sdes processing proof. 2453238106Sdes 2454238106Sdes8 April 2010: Wouter 2455238106Sdes - Fix validation of queries with wildcard names (*.example). 2456238106Sdes 2457238106Sdes6 April 2010: Wouter 2458238106Sdes - Fix EDNS probe for .de DNSSEC testbed failure, where the infra 2459238106Sdes cache timeout coincided with a server update, the current EDNS 2460238106Sdes backoff is less sensitive, and does not cache the backoff unless 2461238106Sdes the backoff actually works and the domain is not expecting DNSSEC. 2462238106Sdes - GOST support with correct algorithm numbers. 2463238106Sdes 2464238106Sdes1 April 2010: Wouter 2465238106Sdes - iana portlist updated. 2466238106Sdes 2467238106Sdes24 March 2010: Wouter 2468238106Sdes - unbound control flushed items are not counted when flushed again. 2469238106Sdes 2470238106Sdes23 March 2010: Wouter 2471238106Sdes - iana portlist updated. 2472238106Sdes 2473238106Sdes22 March 2010: Wouter 2474238106Sdes - unbound-host disables use-syslog from config file so that the 2475238106Sdes config file for the main server can be used more easily. 2476238106Sdes - fix bug#301: unbound-checkconf could not parse interface 2477238106Sdes '0.0.0.0@5353', even though unbound itself worked fine. 2478238106Sdes 2479238106Sdes19 March 2010: Wouter 2480238106Sdes - fix fwd_ancil test to pass if the socket options are not supported. 2481238106Sdes 2482238106Sdes18 March 2010: Wouter 2483238106Sdes - Fixed random numbers for port, interface and server selection. 2484238106Sdes Removed very small bias. 2485238106Sdes - Refer to the listing in unbound-control man page in the extended 2486238106Sdes statistics entry in the unbound.conf man page. 2487238106Sdes 2488238106Sdes16 March 2010: Wouter 2489238106Sdes - Fix interface-automatic for OpenBSD: msg.controllen was too small, 2490238106Sdes also assertions on ancillary data buffer. 2491238106Sdes - check for IP_SENDSRCADDR for interface-automatic or IP_PKTINFO. 2492238106Sdes - for NSEC3 check if signatures are cached. 2493238106Sdes 2494238106Sdes15 March 2010: Wouter 2495238106Sdes - unit test for util/regional.c. 2496238106Sdes 2497238106Sdes12 March 2010: Wouter 2498238106Sdes - Reordered configure checks so fork and -lnsl -lsocket checks are 2499238106Sdes earlier, and thus later checks benefit from and do not hinder them. 2500238106Sdes - iana portlist updated. 2501238106Sdes - ldns tarball updated. 2502238106Sdes - Fix python use when multithreaded. 2503238106Sdes - Fix solaris python compile. 2504238106Sdes - Include less in config.h and include per code file for ldns, ssl. 2505238106Sdes 2506238106Sdes11 March 2010: Wouter 2507238106Sdes - another memory allocation option: --enable-alloc-nonregional. 2508238106Sdes exposes the regional allocations to other memory purifiers. 2509238106Sdes - fix for memory alignment in struct sock_list allocation. 2510238106Sdes - Fix for MacPorts ldns without ssl default, unbound checks if ldns 2511238106Sdes has dnssec functionality and uses the builtin if not. 2512238106Sdes - Fix daemonize on Solaris 10, it did not detach from terminal. 2513238106Sdes - tag 1.4.3 created. 2514238106Sdes - trunk is 1.4.4 in development. 2515238106Sdes - spelling fix in validation error involving cnames. 2516238106Sdes 2517238106Sdes10 March 2010: Wouter 2518238106Sdes - --enable-alloc-lite works with test set. 2519238106Sdes - portability in the testset: printf format conversions, prototypes. 2520238106Sdes 2521238106Sdes9 March 2010: Wouter 2522238106Sdes - tag 1.4.2 created. 2523238106Sdes - trunk is 1.4.3 in development. 2524238106Sdes - --enable-alloc-lite debug option. 2525238106Sdes 2526238106Sdes8 March 2010: Wouter 2527238106Sdes - iana portlist updated. 2528238106Sdes 2529238106Sdes4 March 2010: Wouter 2530238106Sdes - Fix crash in control channel code. 2531238106Sdes 2532238106Sdes3 March 2010: Wouter 2533238106Sdes - better casts in pipe code, brackets placed wrongly. 2534238106Sdes - iana portlist updated. 2535238106Sdes 2536238106Sdes1 March 2010: Wouter 2537238106Sdes - make install depends on make all. 2538238106Sdes - Fix 5011 auto-trust-anchor-file initial read to skip RRSIGs. 2539238106Sdes - --enable-checking: enables assertions but does not look nonproduction. 2540238106Sdes - nicer VERB_DETAIL (verbosity 2, unbound-host -d) output, with 2541238106Sdes nxdomain and nodata distinguished. 2542238106Sdes - ldns tarball updated. 2543238106Sdes - --disable-rpath fixed for libtool not found errors. 2544238106Sdes - new fedora specfile from Fedora13 in contrib from Paul Wouters. 2545238106Sdes 2546238106Sdes26 February 2010: Wouter 2547238106Sdes - Fixup prototype for lexer cleanup in daemon code. 2548238106Sdes - unbound-control list_stubs, list_forwards, list_local_zones and 2549238106Sdes list_local_data. 2550238106Sdes 2551238106Sdes24 February 2010: Wouter 2552238106Sdes - Fix scrubber bug that potentially let NS records through. Reported 2553238106Sdes by Amanda Constant. 2554238106Sdes - Also delete potential poison references from additional. 2555238106Sdes - Fix: no classification of a forwarder as lame, throw away instead. 2556238106Sdes 2557238106Sdes23 February 2010: Wouter 2558238106Sdes - libunbound ub_ctx_get_option() added. 2559238106Sdes - unbound-control set_option and get_option commands. 2560238106Sdes - iana portlist updated. 2561238106Sdes 2562238106Sdes18 February 2010: Wouter 2563238106Sdes - A little more strict DS scrubbing. 2564238106Sdes - No more blacklisting of unresponsive servers, a 2 minute timeout 2565238106Sdes is backed off to. 2566238106Sdes - RD flag not enabled for dnssec-blacklisted tries, unless necessary. 2567238106Sdes - pickup ldns compile fix, libdl for libcrypto. 2568238106Sdes - log 'tcp connect: connection timed out' only in high verbosity. 2569238106Sdes - unbound-control log_reopen command. 2570238106Sdes - moved get_option code from unbound-checkconf to util/config_file.c 2571238106Sdes 2572238106Sdes17 February 2010: Wouter 2573238106Sdes - Disregard DNSKEY from authority section for chain of trust. 2574238106Sdes DS records that are irrelevant to a referral scrubbed. Anti-poison. 2575238106Sdes - iana portlist updated. 2576238106Sdes 2577238106Sdes16 February 2010: Wouter 2578238106Sdes - Check for 'no space left on device' (or other errors) when 2579238106Sdes writing updated autotrust anchors and print errno to log. 2580238106Sdes 2581238106Sdes15 February 2010: Wouter 2582238106Sdes - Fixed the requery protection, the TTL was 0, it is now 900 seconds, 2583238106Sdes hardcoded. We made the choice to send out more conservatively, 2584238106Sdes protecting against an aggregate effect more than protecting a 2585238106Sdes single user (from their own folly, perhaps in case of misconfig). 2586238106Sdes 2587238106Sdes12 February 2010: Wouter 2588238106Sdes - Re-query pattern changed on validation failure. To protect troubled 2589238106Sdes authority servers, unbound caches a failure for the DNSKEY or DS 2590238106Sdes records for the entire zone, and only retries that 900 seconds later. 2591238106Sdes This implies that only a handful of packets are sent extra to the 2592238106Sdes authority if the zone fails. 2593238106Sdes 2594238106Sdes11 February 2010: Wouter 2595238106Sdes - ldns tarball update for long label length syntax error fix. 2596238106Sdes - iana portlist updated. 2597238106Sdes 2598238106Sdes9 February 2010: Wouter 2599238106Sdes - Fixup in compat snprintf routine, %f 1.02 and %g support. 2600238106Sdes - include math.h for testbound test compile portability. 2601238106Sdes 2602238106Sdes2 February 2010: Wouter 2603238106Sdes - Updated url of IANA itar, interim trust anchor repository, in script. 2604238106Sdes 2605238106Sdes1 February 2010: Wouter 2606238106Sdes - iana portlist updated. 2607238106Sdes - configure test for memcmp portability. 2608238106Sdes 2609238106Sdes27 January 2010: Wouter 2610238106Sdes - removed warning on format string in validator error log statement. 2611238106Sdes - iana portlist updated. 2612238106Sdes 2613238106Sdes22 January 2010: Wouter 2614238106Sdes - libtool finish the install of unbound python dynamic library. 2615238106Sdes 2616238106Sdes21 January 2010: Wouter 2617238106Sdes - acx_nlnetlabs.m4 synchronised with nsd's version. 2618238106Sdes 2619238106Sdes20 January 2010: Wouter 2620238106Sdes - Fixup lookup trouble for parent-child domains on the first query. 2621238106Sdes 2622238106Sdes14 January 2010: Wouter 2623238106Sdes - Fixup ldns detection to also check for header files. 2624238106Sdes 2625238106Sdes13 January 2010: Wouter 2626238106Sdes - prefetch-key option that performs DNSKEY queries earlier in the 2627238106Sdes validation process, and that could halve the latency on DNSSEC 2628238106Sdes queries. It takes some extra processing (CPU, a cache is needed). 2629238106Sdes 2630238106Sdes12 January 2010: Wouter 2631238106Sdes - Fix unbound-checkconf for auto-trust-anchor-file present checks. 2632238106Sdes 2633238106Sdes8 January 2010: Wouter 2634238106Sdes - Fix for parent-child disagreement code which could have trouble 2635238106Sdes when (a) ipv6 was disabled and (b) the TTL for parent and child 2636238106Sdes were different. There were two bugs, the parent-side information 2637238106Sdes is fixed to no longer block lookup of child side information and 2638238106Sdes the iterator is fixed to no longer attempt to get ipv6 when it is 2639238106Sdes not enabled and then give up in failure. 2640238106Sdes - test and fixes to make prefetch actually store the answer in the 2641238106Sdes cache. Considers some rrsets 'already expired' but does not allow 2642238106Sdes overwriting of rrsets considered more secure. 2643238106Sdes 2644238106Sdes7 January 2010: Wouter 2645238106Sdes - Fixup python documentation (thanks Leo Vandewoestijne). 2646238106Sdes - Work on cache prefetch feature. 2647238106Sdes - Stats for prefetch, in log print stats, unbound-control stats 2648238106Sdes and in unbound_munin plugin. 2649238106Sdes 2650238106Sdes6 January 2010: Wouter 2651238106Sdes - iana portlist updated. 2652238106Sdes - bug#291: DNS wireformat max is 255. dname_valid allowed 256 length. 2653238106Sdes - verbose output includes parent-side-address notion for lameness. 2654238106Sdes - documented val-log-level: 2 setting in example.conf and man page. 2655238106Sdes - change unbound-control-setup from 1024(sha1) to 1536(sha256). 2656238106Sdes 2657238106Sdes1 January 2010: Wouter 2658238106Sdes - iana portlist updated. 2659238106Sdes 2660238106Sdes22 December 2009: Wouter 2661238106Sdes - configure with newer libtool 2.2.6b. 2662238106Sdes 2663238106Sdes17 December 2009: Wouter 2664238106Sdes - review comments. 2665238106Sdes - tag 1.4.1. 2666238106Sdes - trunk to version 1.4.2. 2667238106Sdes 2668238106Sdes15 December 2009: Wouter 2669238106Sdes - Answer to qclass=ANY queries, with class IN contents. 2670238106Sdes Test that validation also works. 2671238106Sdes - updated ldns snapshot tarball with latest fixes (parsing records). 2672238106Sdes 2673238106Sdes11 December 2009: Wouter 2674238106Sdes - on IPv4 UDP turn off DF flag. 2675238106Sdes 2676238106Sdes10 December 2009: Wouter 2677238106Sdes - requirements.txt updated with design choice explanations. 2678238106Sdes - Reading fixes: fix to set unlame when child confirms parent glue, 2679238106Sdes and fix to avoid duplicate addresses in delegation point. 2680238106Sdes - verify_rrsig routine checks expiration last. 2681238106Sdes 2682238106Sdes9 December 2009: Wouter 2683238106Sdes - Fix Bug#287(reopened): update of ldns tarball with fix for parse 2684238106Sdes errors generated for domain names like '.example.com'. 2685238106Sdes - Fix SOA excluded from negative DS responses. Reported by Hauke 2686238106Sdes Lampe. The negative cache did not include proper SOA records for 2687238106Sdes negative qtype DS responses which makes BIND barf on it, such 2688238106Sdes responses are now only used internally. 2689238106Sdes - Fix negative cache lookup of closestencloser check of DS type bit. 2690238106Sdes 2691238106Sdes8 December 2009: Wouter 2692238106Sdes - Fix for lookup of parent-child disagreement domains, where the 2693238106Sdes parent-side glue works but it does not provide proper NS, A or AAAA 2694238106Sdes for itself, fixing domains such as motorcaravanners.eu. 2695238106Sdes - Feature: you can specify a port number in the interface: line, so 2696238106Sdes you can bind the same interface multiple times at different ports. 2697238106Sdes 2698238106Sdes7 December 2009: Wouter 2699238106Sdes - Bug#287: Fix segfault when unbound-control remove nonexistent local 2700238106Sdes data. Added check to tests. 2701238106Sdes 2702238106Sdes1 December 2009: Wouter 2703238106Sdes - Fix crash with module-config "iterator". 2704238106Sdes - Added unit test that has "iterator" module-config. 2705238106Sdes 2706238106Sdes30 November 2009: Wouter 2707238106Sdes - bug#284: fix parse of # without end-of-line at end-of-file. 2708238106Sdes 2709238106Sdes26 November 2009: Wouter 2710238106Sdes - updated ldns with release candidate for version 1.6.3. 2711238106Sdes - tag for 1.4.0 release. 2712238106Sdes - 1.4.1 version in trunk. 2713238106Sdes - Fixup major libtool version to 2 because of why_bogus change. 2714238106Sdes It was 1:5:0 but should have been 2:0:0. 2715238106Sdes 2716238106Sdes23 November 2009: Wouter 2717238106Sdes - Patch from David Hubbard for libunbound manual page. 2718238106Sdes - Fixup endless spinning in unbound-control stats reported by 2719238106Sdes Attila Nagy. Probably caused by clock reversal. 2720238106Sdes 2721238106Sdes20 November 2009: Wouter 2722238106Sdes - contrib/split-itar.sh contributed by Tom Hendrikx. 2723238106Sdes 2724238106Sdes19 November 2009: Wouter 2725238106Sdes - better argument help for unbound-control. 2726238106Sdes - iana portlist updated. 2727238106Sdes 2728238106Sdes17 November 2009: Wouter 2729238106Sdes - noted multiple entries for multiple domain names in example.conf. 2730238106Sdes - iana portlist updated. 2731238106Sdes 2732238106Sdes16 November 2009: Wouter 2733238106Sdes - Fixed signer detection of CNAME responses without signatures. 2734238106Sdes - Fix#282 libunbound memleak on error condition by Eric Sesterhenn. 2735238106Sdes - Tests for CNAMEs to deeper trust anchors, secure and bogus. 2736238106Sdes - svn tag 1.4.0rc1 made. 2737238106Sdes 2738238106Sdes13 November 2009: Wouter 2739238106Sdes - Fixed validation failure for CNAME to optout NSEC3 nodata answer. 2740238106Sdes - unbound-host does not fail on type ANY. 2741238106Sdes - Fixed wireparse failure to put RRSIGs together with data in some 2742238106Sdes long ANY mix cases, which fixes validation failures. 2743238106Sdes 2744238106Sdes12 November 2009: Wouter 2745238106Sdes - iana portlist updated. 2746238106Sdes - fix manpage errors reported by debian lintian. 2747238106Sdes - review comments. 2748238106Sdes - fixup very long vallog2 level error strings. 2749238106Sdes 2750238106Sdes11 November 2009: Wouter 2751238106Sdes - ldns tarball updated (to 1.6.2). 2752238106Sdes - review comments. 2753238106Sdes 2754238106Sdes10 November 2009: Wouter 2755238106Sdes - Thanks to Surfnet found bug in new dnssec-retry code that failed 2756238106Sdes to combine well when combined with DLV and a particular failure. 2757238106Sdes - Fixed unbound-control -h output about argument optionality. 2758238106Sdes - review comments. 2759238106Sdes 2760238106Sdes5 November 2009: Wouter 2761238106Sdes - lint fixes and portability tests. 2762238106Sdes - better error text for multiple domain keys in one autotrust file. 2763238106Sdes 2764238106Sdes2 November 2009: Wouter 2765238106Sdes - Fix bug where autotrust does not work when started with a DS. 2766238106Sdes - Updated GOST unit tests for unofficial algorithm number 249 2767238106Sdes and DNSKEY-format changes in draft version -01. 2768238106Sdes 2769238106Sdes29 October 2009: Wouter 2770238106Sdes - iana portlist updated. 2771238106Sdes - edns-buffer-size option, default 4096. 2772238106Sdes - fixed do-udp: no. 2773238106Sdes 2774238106Sdes28 October 2009: Wouter 2775238106Sdes - removed abort on prealloc failure, error still printed but softfail. 2776238106Sdes - iana portlist updated. 2777238106Sdes - RFC 5702: RSASHA256 and RSASHA512 support enabled by default. 2778238106Sdes - ldns tarball updated (which also enables rsasha256 support). 2779238106Sdes 2780238106Sdes27 October 2009: Wouter 2781238106Sdes - iana portlist updated. 2782238106Sdes 2783238106Sdes8 October 2009: Wouter 2784238106Sdes - please doxygen 2785238106Sdes - add val-log-level print to corner case (nameserver.epost.bg). 2786238106Sdes - more detail to errors from insecure delegation checks. 2787238106Sdes - Fix double time subtraction in negative cache reported by 2788238106Sdes Amanda Constant and Hugh Mahon. 2789238106Sdes - Made new validator error string available from libunbound for 2790238106Sdes applications. It is in result->why_bogus, a zero-terminated string. 2791238106Sdes unbound-host prints it by default if a result is bogus. 2792238106Sdes Also the errinf is public in module_qstate (for other modules). 2793238106Sdes 2794238106Sdes7 October 2009: Wouter 2795238106Sdes - retry for validation failure in DS and prime results. Less mem use. 2796238106Sdes unit test. Provisioning in other tests for requeries. 2797238106Sdes - retry for validation failure in DNSKEY in middle of chain of trust. 2798238106Sdes unit test. 2799238106Sdes - retry for empty non terminals in chain of trust and unit test. 2800238106Sdes - Fixed security bug where the signatures for NSEC3 records were not 2801238106Sdes checked when checking for absence of DS records. This could have 2802238106Sdes enabled the substitution of an insecure delegation. 2803238106Sdes - moved version number to 1.4.0 because of 1.3.4 release with only 2804238106Sdes the NSEC3 patch from the entry above. 2805238106Sdes - val-log-level: 2 shows extended error information for validation 2806238106Sdes failures, but still one (longish) line per failure. For example: 2807238106Sdes validation failure <example.com. DNSKEY IN>: signature expired from 2808238106Sdes 192.0.2.4 for trust anchor example.com. while building chain of trust 2809238106Sdes validation failure <www.example.com. A IN>: no signatures from 2810238106Sdes 192.0.2.6 for key example.com. while building chain of trust 2811238106Sdes 2812238106Sdes6 October 2009: Wouter 2813238106Sdes - Test set updated to provide additional ns lookup result. 2814238106Sdes The retry would attempt to fetch the data from other nameservers 2815238106Sdes for bogus data, and this needed to be provisioned in the tests. 2816238106Sdes 2817238106Sdes5 October 2009: Wouter 2818238106Sdes - first validation failure retry code. Retries for data failures. 2819238106Sdes And unit test. 2820238106Sdes 2821238106Sdes2 October 2009: Wouter 2822238106Sdes - improve 5011 modularization. 2823238106Sdes - fix unbound-host so -d can be given before -C. 2824238106Sdes - iana portlist updated. 2825238106Sdes 2826238106Sdes28 September 2009: Wouter 2827238106Sdes - autotrust-anchor-file can read multiline input and $ORIGIN. 2828238106Sdes - prevent integer overflow in holddown calculation. review fixes. 2829238106Sdes - fixed race condition in trust point revocation. review fix. 2830238106Sdes - review fixes to comments, removed unused code. 2831238106Sdes 2832238106Sdes25 September 2009: Wouter 2833238106Sdes - so-rcvbuf: 4m option added. Set this on large busy servers to not 2834238106Sdes drop the occasional packet in spikes due to full socket buffers. 2835238106Sdes netstat -su keeps a counter of UDP dropped due to full buffers. 2836238106Sdes - review of validator/autotrust.c, small fixes and comments. 2837238106Sdes 2838238106Sdes23 September 2009: Wouter 2839238106Sdes - 5011 query failed counts verification failures, not lookup failures. 2840238106Sdes - 5011 probe failure handling fixup. 2841238106Sdes - test unbound reading of original autotrust data. 2842238106Sdes The metadata per-key, such as key state (PENDING, MISSING, VALID) is 2843238106Sdes picked up, otherwise performs initial probe like usual. 2844238106Sdes 2845238106Sdes22 September 2009: Wouter 2846238106Sdes - autotrust test with algorithm rollover, new ordering of checks 2847238106Sdes assists in orderly rollover. 2848238106Sdes - autotrust test with algorithm rollover to unknown algorithm. 2849238106Sdes checks if new keys are supported before adding them. 2850238106Sdes - autotrust test with trust point revocation, becomes unsigned. 2851238106Sdes - fix DNSSEC-missing-signature detection for minimal responses 2852238106Sdes for qtype DNSKEY (assumes DNSKEY occurs at zone apex). 2853238106Sdes 2854238106Sdes18 September 2009: Wouter 2855238106Sdes - autotrust tests, fix trustpoint timer deletion code. 2856238106Sdes fix count of valid anchors during missing remove. 2857238106Sdes - autotrust: pick up REVOKE even if not signed with known other keys. 2858238106Sdes 2859238106Sdes17 September 2009: Wouter 2860238106Sdes - fix compile of unbound-host when --enable-alloc-checks. 2861238106Sdes - Fix lookup problem reported by Koh-ichi Ito and Jaap Akkerhuis. 2862238106Sdes - Manual page fixes reported by Tony Finch. 2863238106Sdes 2864238106Sdes16 September 2009: Wouter 2865238106Sdes - Fix memory leak reported by Tao Ma. 2866238106Sdes - Fix memstats test tool for log-time-ascii log format. 2867238106Sdes 2868238106Sdes15 September 2009: Wouter 2869238106Sdes - iana portlist updated. 2870238106Sdes 2871238106Sdes10 September 2009: Wouter 2872238106Sdes - increased MAXSYSLOGLEN so .bg key can be printed in debug output. 2873238106Sdes - use linebuffering for log-file: output, this can be significantly 2874238106Sdes faster than the previous fflush method and enable some class of 2875238106Sdes resolvers to use high verbosity (for short periods). 2876238106Sdes Not on windows, because line buffering does not work there. 2877238106Sdes 2878238106Sdes9 September 2009: Wouter 2879238106Sdes - Fix bug where DNSSEC-bogus messages were marked with too high TTL. 2880238106Sdes The RRsets would still expire at the normal time, but this would 2881238106Sdes keep messages bogus in the cache for too long. 2882238106Sdes - regression test for that bug. 2883238106Sdes - documented that load_cache is meant for debugging. 2884238106Sdes 2885238106Sdes8 September 2009: Wouter 2886238106Sdes - fixup printing errors when load_cache, they were printed to the 2887238106Sdes SSL connection which broke, now to the log. 2888238106Sdes - new ldns - with fixed parse of large SOA values. 2889238106Sdes 2890238106Sdes7 September 2009: Wouter 2891238106Sdes - autotrust testbound scenarios. 2892238106Sdes - autotrust fix that failure count is written to file. 2893238106Sdes - autotrust fix that keys may become valid after add holddown time 2894238106Sdes alone, before the probe returns. 2895238106Sdes 2896238106Sdes4 September 2009: Wouter 2897238106Sdes - Changes to make unbound work with libevent-2.0.3 alpha. (in 2898238106Sdes configure detection due to new ssl dependency in libevent) 2899238106Sdes - do not call sphinx for documentation when python is disabled. 2900238106Sdes - remove EV_PERSIST from libevent timeout code to make the code 2901238106Sdes compatible with the libevent-2.0. Works with older libevent too. 2902238106Sdes - fix memory leak in python code. 2903238106Sdes 2904238106Sdes3 September 2009: Wouter 2905238106Sdes - Got a patch from Luca Bruno for libunbound support on windows to 2906238106Sdes pick up the system resolvconf nameservers and hosts there. 2907238106Sdes - included ldns updated (enum warning fixed). 2908238106Sdes - makefile fix for parallel makes. 2909238106Sdes - Patch from Zdenek Vasicek and Attila Nagy for using the source IP 2910238106Sdes from python scripts. See pythonmod/examples/resip.py. 2911238106Sdes - doxygen comment fixes. 2912238106Sdes 2913238106Sdes2 September 2009: Wouter 2914238106Sdes - TRAFFIC keyword for testbound. Simplifies test generation. 2915238106Sdes ${range lower val upper} to check probe timeout values. 2916238106Sdes - test with 5011-prepublish rollover and revocation. 2917238106Sdes - fix revocation of RR for autotrust, stray exclamation mark. 2918238106Sdes 2919238106Sdes1 September 2009: Wouter 2920238106Sdes - testbound variable arithmetic. 2921238106Sdes - autotrust probe time is randomised. 2922238106Sdes - autotrust: the probe is active and does not fetch from cache. 2923238106Sdes 2924238106Sdes31 August 2009: Wouter 2925238106Sdes - testbound variable processing. 2926238106Sdes 2927238106Sdes28 August 2009: Wouter 2928238106Sdes - fixup unbound-control lookup to print forward and stub servers. 2929238106Sdes 2930238106Sdes27 August 2009: Wouter 2931238106Sdes - autotrust: mesh answer callback is empty. 2932238106Sdes 2933238106Sdes26 August 2009: Wouter 2934238106Sdes - autotrust probing. 2935238106Sdes - iana portlist updated. 2936238106Sdes 2937238106Sdes25 August 2009: Wouter 2938238106Sdes - fixup memleak in trust anchor unsupported algorithm check. 2939238106Sdes - iana portlist updated. 2940238106Sdes - autotrust options: add-holddown, del-holddown, keep-missing. 2941238106Sdes - autotrust store revoked status of trust points. 2942238106Sdes - ctime_r compat definition. 2943238106Sdes - detect yylex_destroy() in configure. 2944238106Sdes - detect SSL_get_compression_methods declaration in configure. 2945238106Sdes - fixup DS lookup at anchor point with unsigned parent. 2946238106Sdes - fixup DLV lookup for DS queries to unsigned domains. 2947238106Sdes 2948238106Sdes24 August 2009: Wouter 2949238106Sdes - cleaner memory allocation on exit. autotrust test routines. 2950238106Sdes - free all memory on program exit, fix for ssl and flex. 2951238106Sdes 2952238106Sdes21 August 2009: Wouter 2953238106Sdes - autotrust: debug routines. Read,write and conversions work. 2954238106Sdes 2955238106Sdes20 August 2009: Wouter 2956238106Sdes - autotrust: save and read trustpoint variables. 2957238106Sdes 2958238106Sdes19 August 2009: Wouter 2959238106Sdes - autotrust: state table updates. 2960238106Sdes - iana portlist updated. 2961238106Sdes 2962238106Sdes17 August 2009: Wouter 2963238106Sdes - autotrust: process events. 2964238106Sdes 2965238106Sdes17 August 2009: Wouter 2966238106Sdes - Fix so that servers are only blacklisted if they fail to reply 2967238106Sdes to 16 queries in a row and the timeout gets above 2 minutes. 2968238106Sdes - autotrust work, split up DS verification of DNSKEYs. 2969238106Sdes 2970238106Sdes14 August 2009: Wouter 2971238106Sdes - unbound-control lookup prints out infra cache information, like RTT. 2972238106Sdes - Fix bug in DLV lookup reported by Amanda from Secure64. 2973238106Sdes It could sometimes wrongly classify a domain as unsigned, which 2974238106Sdes does not give the AD bit on replies. 2975238106Sdes 2976238106Sdes13 August 2009: Wouter 2977238106Sdes - autotrust read anchor files. locked trust anchors. 2978238106Sdes 2979238106Sdes12 August 2009: Wouter 2980238106Sdes - autotrust import work. 2981238106Sdes 2982238106Sdes11 August 2009: Wouter 2983238106Sdes - Check for openssl compatible with gost if enabled. 2984238106Sdes - updated unit test for GOST=211 code. 2985238106Sdes Nicer naming of test files. 2986238106Sdes - iana portlist updated. 2987238106Sdes 2988238106Sdes7 August 2009: Wouter 2989238106Sdes - call OPENSSL_config() in unbound and unit test so that the 2990238106Sdes operator can use openssl.cnf for configuration options. 2991238106Sdes - removed small memory leak from config file reader. 2992238106Sdes 2993238106Sdes6 August 2009: Wouter 2994238106Sdes - configure --enable-gost for GOST support, experimental 2995238106Sdes implementation of draft-dolmatov-dnsext-dnssec-gost-01. 2996238106Sdes - iana portlist updated. 2997238106Sdes - ldns tarball updated (with GOST support). 2998238106Sdes 2999238106Sdes5 August 2009: Wouter 3000238106Sdes - trunk moved to 1.3.4. 3001238106Sdes 3002238106Sdes4 August 2009: Wouter 3003238106Sdes - Added test that the examples from draft rsasha256-14 verify. 3004238106Sdes - iana portlist updated. 3005238106Sdes - tagged 1.3.3 3006238106Sdes 3007238106Sdes3 August 2009: Wouter 3008238106Sdes - nicer warning when algorithm not supported, tells you to upgrade. 3009238106Sdes - iana portlist updated. 3010238106Sdes 3011238106Sdes27 July 2009: Wouter 3012238106Sdes - Updated unbound-cacti contribution from Dmitriy Demidov, with 3013238106Sdes the queue statistics displayed in its own graph. 3014238106Sdes - iana portlist updated. 3015238106Sdes 3016238106Sdes22 July 2009: Wouter 3017238106Sdes - Fix bug found by Michael Tokarev where unbound would try to 3018238106Sdes prime the root servers even though forwarders are configured for 3019238106Sdes the root. 3020238106Sdes - tagged 1.3.3rc1 3021238106Sdes 3022238106Sdes21 July 2009: Wouter 3023238106Sdes - Fix server selection, so that it waits for open target queries when 3024238106Sdes faced with lameness. 3025238106Sdes 3026238106Sdes20 July 2009: Wouter 3027238106Sdes - Ignore transient sendto errors, no route to host, and host, net down. 3028238106Sdes - contrib/update-anchor.sh has -r option for root-hints. 3029238106Sdes - feature val-log-level: 1 prints validation failures so you can 3030238106Sdes keep track of them during dnssec deployment. 3031238106Sdes 3032238106Sdes16 July 2009: Wouter 3033238106Sdes - fix replacement malloc code. Used in crosscompile. 3034238106Sdes - makedist -w creates crosscompiled setup.exe on fedora11. 3035238106Sdes 3036238106Sdes15 July 2009: Wouter 3037238106Sdes - dependencies for compat items, for crosscompile. 3038238106Sdes - mingw32 crosscompile changes, dependencies and zipfile creation. 3039238106Sdes and with System.dll from the windows NSIS you can make setup.exe. 3040238106Sdes - package libgcc_s_sjlj exception handler for NSISdl.dll. 3041238106Sdes 3042238106Sdes14 July 2009: Wouter 3043238106Sdes - updated ldns tarball for solaris x64 compile assistance. 3044238106Sdes - no need to define RAND_MAX from config.h. 3045238106Sdes - iana portlist updated. 3046238106Sdes - configure changes and ldns update for mingw32 crosscompile. 3047238106Sdes 3048238106Sdes13 July 2009: Wouter 3049238106Sdes - Fix for crash at start on windows. 3050238106Sdes - tag for release 1.3.2. 3051238106Sdes - trunk has version 1.3.3. 3052238106Sdes - Fix for ID bits on windows to use all 16. RAND_MAX was not 3053238106Sdes defined like you'd expect on mingw. Reported by Mees de Roo. 3054238106Sdes 3055238106Sdes9 July 2009: Wouter 3056238106Sdes - tag for release 1.3.1. 3057238106Sdes - trunk has version 1.3.2. 3058238106Sdes 3059238106Sdes7 July 2009: Wouter 3060238106Sdes - iana portlist updated. 3061238106Sdes 3062238106Sdes6 July 2009: Wouter 3063238106Sdes - prettier error handling in SSL setup. 3064238106Sdes - makedist.sh uname fix (same as ldns). 3065238106Sdes - updated fedora spec file. 3066238106Sdes 3067238106Sdes3 July 2009: Wouter 3068238106Sdes - fixup linking when ldnsdir is "". 3069238106Sdes 3070238106Sdes30 June 2009: Wouter 3071238106Sdes - more lenient truncation checks. 3072238106Sdes 3073238106Sdes29 June 2009: Wouter 3074238106Sdes - ldns trunk r2959 imported as tarball, because of solaris cc compile 3075238106Sdes support for c99. r2960 for better configure. 3076238106Sdes - better wrongly_truncated check. 3077238106Sdes - On Linux, fragment IPv6 datagrams to the IPv6 minimum MTU, to 3078238106Sdes avoid dropped packets at routers. 3079238106Sdes 3080238106Sdes26 June 2009: Wouter 3081238106Sdes - Fix EDNS fallback when EDNS works for short answers but long answers 3082238106Sdes are dropped. 3083238106Sdes 3084238106Sdes22 June 2009: Wouter 3085238106Sdes - fixup iter priv strict aliasing while preserving size of sockaddr. 3086238106Sdes - iana portlist updated. (one less port allocated, one more fraction 3087238106Sdes of a bit for security!) 3088238106Sdes - updated fedora specfile in contrib from Paul Wouters. 3089238106Sdes 3090238106Sdes19 June 2009: Wouter 3091238106Sdes - Fixup strict aliasing warning in iter priv code. 3092238106Sdes and config_file code. 3093238106Sdes - iana portlist updated. 3094238106Sdes - harden-referral-path: handle cases where NS is in answer section. 3095238106Sdes 3096238106Sdes18 June 2009: Wouter 3097238106Sdes - Fix of message parse bug where (specifically) an NSEC and RRSIG 3098238106Sdes in the wrong order would be parsed, but put wrongly into internal 3099238106Sdes structures so that later validation would fail. 3100238106Sdes - Extreme lenience for wrongly truncated replies where a positive 3101238106Sdes reply has an NS in the authority but no signatures. They are 3102238106Sdes turned into minimal responses with only the (secure) answer. 3103238106Sdes - autoconf 2.63 for configure. 3104238106Sdes - python warnings suppress. Keep python API away from header files. 3105238106Sdes 3106238106Sdes17 June 2009: Wouter 3107238106Sdes - CREDITS entry for cz.nic, sponsoring a 'summer of code' that was 3108238106Sdes used for the python code in unbound. (http://www.nic.cz/vip/ in cz). 3109238106Sdes 3110238106Sdes16 June 2009: Wouter 3111238106Sdes - Fixup opportunistic target query generation to it does not 3112238106Sdes generate queries that are known to fail. 3113238106Sdes - Touchup on munin total memory report. 3114238106Sdes - messages picked out of the cache by the iterator are checked 3115238106Sdes if their cname chain is still correct and if validation status 3116238106Sdes has to be reexamined. 3117238106Sdes 3118238106Sdes15 June 2009: Wouter 3119238106Sdes - iana portlist updated. 3120238106Sdes 3121238106Sdes14 June 2009: Wouter 3122238106Sdes - Fixed bug where cached responses would lose their security 3123238106Sdes status on second validation, which especially impacted dlv 3124238106Sdes lookups. Reported by Hauke Lampe. 3125238106Sdes 3126238106Sdes13 June 2009: Wouter 3127238106Sdes - bug #254. removed random whitespace from example.conf. 3128238106Sdes 3129238106Sdes12 June 2009: Wouter 3130238106Sdes - Fixup potential wrong NSEC picked out of the cache. 3131238106Sdes - If unfulfilled callbacks are deleted they are called with an error. 3132238106Sdes - fptr wlist checks for mesh callbacks. 3133238106Sdes - fwd above stub in configuration works. 3134238106Sdes 3135238106Sdes11 June 2009: Wouter 3136238106Sdes - Fix queries for type DS when forward or stub zones are there. 3137238106Sdes They are performed to higherup domains, and thus treated as if 3138238106Sdes going to higher zones when looking up the right forward or stub 3139238106Sdes server. This makes a stub pointing to a local server that has 3140238106Sdes a local view of example.com signed with the same keys as are 3141238106Sdes publicly used work. Reported by Johan Ihren. 3142238106Sdes - Added build-unbound-localzone-from-hosts.pl to contrib, from 3143238106Sdes Dennis DeDonatis. It converts /etc/hosts into config statements. 3144238106Sdes - same thing fixed for forward-zone and DS, chain of trust from 3145238106Sdes public internet into the forward-zone works now. Added unit test. 3146238106Sdes 3147238106Sdes9 June 2009: Wouter 3148238106Sdes - openssl key files are opened apache-style, when user is root and 3149238106Sdes before chrooting. This makes permissions on remote-control key 3150238106Sdes files easier to set up. Fixes bug #251. 3151238106Sdes - flush_type and flush_name remove msg cache entries. 3152238106Sdes - codereview - dp copy bogus setting fix. 3153238106Sdes 3154238106Sdes8 June 2009: Wouter 3155238106Sdes - Removed RFC5011 REVOKE flag support. Partial 5011 support may cause 3156238106Sdes inadvertant behaviour. 3157238106Sdes - 1.3.0 tarball for release created. 3158238106Sdes - 1.3.1 development in svn trunk. 3159238106Sdes - iana portlist updated. 3160238106Sdes - fix lint from complaining on ldns/sha.h. 3161238106Sdes - help compiler figure out aliasing in priv_rrset_bad() routine. 3162238106Sdes - fail to configure with python if swig is not found. 3163238106Sdes - unbound_munin_ in contrib uses ps to show rss if sbrk does not work. 3164238106Sdes 3165238106Sdes3 June 2009: Wouter 3166238106Sdes - fixup bad free() when wrongly encoded DSA signature is seen. 3167238106Sdes Reported by Paul Wouters. 3168238106Sdes - review comments from Matthijs. 3169238106Sdes 3170238106Sdes2 June 2009: Wouter 3171238106Sdes - --enable-sha2 option. The draft rsasha256 changed its algorithm 3172238106Sdes numbers too often. Therefore it is more prudent to disable the 3173238106Sdes RSASHA256 and RSASHA512 support by default. 3174238106Sdes - ldns trunk included as new tarball. 3175238106Sdes - recreated the 1.3.0 tag in svn. rc1 tarball generated at this point. 3176238106Sdes 3177238106Sdes29 May 2009: Wouter 3178238106Sdes - fixup doc bug in README reported by Matthew Dempsky. 3179238106Sdes 3180238106Sdes28 May 2009: Wouter 3181238106Sdes - update iana port list 3182238106Sdes - update ldns lib tarball 3183238106Sdes 3184238106Sdes27 May 2009: Wouter 3185238106Sdes - detect lack of IPv6 support on XP (with a different error code). 3186238106Sdes - Fixup a crash-on-exit which was triggered by a very long queue. 3187238106Sdes Unbound would try to re-use ports that came free, but this is 3188238106Sdes of course not really possible because everything is deleted. 3189238106Sdes Most easily triggered on XP (not Vista), maybe because of the 3190238106Sdes network stack encouraging large messages backlogs. 3191238106Sdes - change in debug statements. 3192238106Sdes - Fixed bug that could cause a crash if root prime failed when there 3193238106Sdes were message backlogs. 3194238106Sdes 3195238106Sdes26 May 2009: Wouter 3196238106Sdes - Thanks again to Brett Carr, found an assertion that was not true. 3197238106Sdes Assertion checked if recursion parent query still existed. 3198238106Sdes 3199238106Sdes29 April 2009: Wouter 3200238106Sdes - Thanks to Brett Carr, caught windows resource leak, use 3201238106Sdes closesocket() and not close() on sockets or else the network stack 3202238106Sdes starts to leak handles. 3203238106Sdes - Removed usage of windows Mutex because windows cannot handle enough 3204238106Sdes mutexes open. Provide own mutex implementation using primitives. 3205238106Sdes 3206238106Sdes28 April 2009: Wouter 3207238106Sdes - created svn tag for 1.3.0. 3208238106Sdes 3209238106Sdes27 April 2009: Wouter 3210238106Sdes - optimised cname from cache. 3211238106Sdes - ifdef windows functions in testbound. 3212238106Sdes 3213238106Sdes23 April 2009: Wouter 3214238106Sdes - fix for threadsafety in solaris thr_key_create() in tests. 3215238106Sdes - iana portlist updated. 3216238106Sdes - fix pylib test for Darwin. 3217238106Sdes - fix pymod test for Darwin and a python threading bug in pymod init. 3218238106Sdes - check python >= 2.4 in configure. 3219238106Sdes - -ldl check for libcrypto 1.0.0beta. 3220238106Sdes 3221238106Sdes21 April 2009: Wouter 3222238106Sdes - fix for build outside sourcedir. 3223238106Sdes - fix for configure script swig detection. 3224238106Sdes 3225238106Sdes17 April 2009: Wouter 3226238106Sdes - Fix reentrant in minievent handler for unix. Could have resulted 3227238106Sdes in spurious event callbacks. 3228238106Sdes - timers do not take up a fd slot for winsock handler. 3229238106Sdes - faster fix for winsock reentrant check. 3230238106Sdes - fix rsasha512 unit test for new (interim) algorithm number. 3231238106Sdes - fix test:ldns doesn't like DOS line endings in keyfiles on unix. 3232238106Sdes - fix compile warning on ubuntu (configlexer fwrite return value). 3233238106Sdes - move python include directives into CPPFLAGS instead of CFLAGS. 3234238106Sdes 3235238106Sdes16 April 2009: Wouter 3236238106Sdes - winsock event handler exit very quickly on signal, even if 3237238106Sdes under heavy load. 3238238106Sdes - iana portlist updated. 3239238106Sdes - fixup windows winsock handler reentrant problem. 3240238106Sdes 3241238106Sdes14 April 2009: Wouter 3242238106Sdes - bug #245: fix munin plugin, perform cleanup of stale lockfiles. 3243238106Sdes - makedist.sh; better help text. 3244238106Sdes - cache-min-ttl option and tests. 3245238106Sdes - mingw detect error condition on TCP sockets (NOTCONN). 3246238106Sdes 3247238106Sdes9 April 2009: Wouter 3248238106Sdes - Fix for removal of RSASHA256_NSEC3 protonumber from ldns. 3249238106Sdes - ldns tarball updated. 3250238106Sdes - iana portlist update. 3251238106Sdes - detect GOST support in openssl-1.0.0-beta1, and fix compile problem 3252238106Sdes because that openssl defines the name STRING for itself. 3253238106Sdes 3254238106Sdes6 April 2009: Wouter 3255238106Sdes - windows compile fix. 3256238106Sdes - Detect FreeBSD jail without ipv6 addresses assigned. 3257238106Sdes - python libunbound wrapper unit test. 3258238106Sdes - installs the following files. Default is to not build them. 3259238106Sdes from configure --with-pythonmodule: 3260238106Sdes /usr/lib/python2.x/site-packages/unboundmodule.py 3261238106Sdes from configure --with-pyunbound: 3262238106Sdes /usr/lib/python2.x/site-packages/unbound.py 3263238106Sdes /usr/lib/python2.x/site-packages/_unbound.so* 3264238106Sdes The example python scripts (pythonmod/examples and 3265238106Sdes libunbound/python/examples) are not installed. 3266238106Sdes - python invalidate routine respects packed rrset ids and locks. 3267238106Sdes - clock skew checks in unbound, config statements. 3268238106Sdes - nxdomain ttl considerations in requirements.txt 3269238106Sdes 3270238106Sdes3 April 2009: Wouter 3271238106Sdes - Fixed a bug that caused messages to be stored in the cache too 3272238106Sdes long. Hard to trigger, but NXDOMAINs for nameservers or CNAME 3273238106Sdes targets have been more vulnerable to the TTL miscalculation bug. 3274238106Sdes - documentation test fixed for python addition. 3275238106Sdes 3276238106Sdes2 April 2009: Wouter 3277238106Sdes - pyunbound (libunbound python plugin) compiles using libtool. 3278238106Sdes - documentation for pythonmod and pyunbound is generated in doc/html. 3279238106Sdes - iana portlist updated. 3280238106Sdes - fixed bug in unbound-control flush_zone where it would not flush 3281238106Sdes every message in the target domain. This especially impacted 3282238106Sdes NXDOMAIN messages which could remain in the cache regardless. 3283238106Sdes - python module test package. 3284238106Sdes 3285238106Sdes1 April 2009: Wouter 3286238106Sdes - suppress errors when trying to contact authority servers that gave 3287238106Sdes ipv6 AAAA records for their nameservers with ipv4 mapped contents. 3288238106Sdes Still tries to do so, could work when deployed in intranet. 3289238106Sdes Higher verbosity shows the error. 3290238106Sdes - new libunbound calls documented. 3291238106Sdes - pyunbound in libunbound/python. Removed compile warnings. 3292238106Sdes Makefile to make it. 3293238106Sdes 3294238106Sdes30 March 2009: Wouter 3295238106Sdes - Fixup LDFLAGS from libevent sourcedir compile configure restore. 3296238106Sdes - Fixup so no non-absolute rpaths are added. 3297238106Sdes - Fixup validation of RRSIG queries, they are let through. 3298238106Sdes - read /dev/random before chroot 3299238106Sdes - checkconf fix no python checks when no python module enabled. 3300238106Sdes - fix configure, pthread first, so other libs do not change outcome. 3301238106Sdes 3302238106Sdes27 March 2009: Wouter 3303238106Sdes - nicer -h output. report linked libraries and modules. 3304238106Sdes - prints modules in intuitive order (config file friendly). 3305238106Sdes - python compiles easily on BSD. 3306238106Sdes 3307238106Sdes26 March 2009: Wouter 3308238106Sdes - ignore swig varargs warnings with gcc. 3309238106Sdes - remove duplicate example.conf text from python example configs. 3310238106Sdes - outofdir compile fix for python. 3311238106Sdes - pyunbound works. 3312238106Sdes - print modules compiled in on -h. manpage. 3313238106Sdes 3314238106Sdes25 March 2009: Wouter 3315238106Sdes - initial import of the python contribution from Zdenek Vasicek and 3316238106Sdes Marek Vavrusa. 3317238106Sdes - pythonmod in Makefile; changes to remove warnings/errors for 1.3.0. 3318238106Sdes 3319238106Sdes24 March 2009: Wouter 3320238106Sdes - more neat configure.ac. Removed duplicate config.h includes. 3321238106Sdes - neater config.h.in. 3322238106Sdes - iana portlist updated. 3323238106Sdes - fix util/configlexer.c and solaris -std=c99 flag. 3324238106Sdes - fix postcommit aclocal errors. 3325238106Sdes - spaces stripped. Makefile cleaner, /usr omitted from -I, -L, -R. 3326238106Sdes - swap order of host detect and libtool generation. 3327238106Sdes 3328238106Sdes23 March 2009: Wouter 3329238106Sdes - added launchd plist example file for MacOSX to contrib. 3330238106Sdes - deprecation test for daemon(3). 3331238106Sdes - moved common configure actions to m4 include, prettier Makefile. 3332238106Sdes 3333238106Sdes20 March 2009: Wouter 3334238106Sdes - bug #239: module-config entries order is important. Documented. 3335238106Sdes - build fix for test asynclook. 3336238106Sdes 3337238106Sdes19 March 2009: Wouter 3338238106Sdes - winrc/README.txt dos-format text file. 3339238106Sdes - iana portlist updated. 3340238106Sdes - use _beginthreadex() when available (performs stack alignment). 3341238106Sdes - defaults for windows baked into configure.ac (used if on mingw). 3342238106Sdes 3343238106Sdes18 March 2009: Wouter 3344238106Sdes - Added tests, unknown algorithms become insecure. fallback works. 3345238106Sdes - Fix for and test for unknown algorithms in a trust anchor 3346238106Sdes definition. Trust anchors with no supported algos are ignored. 3347238106Sdes This means a (higher)DS or DLV entry for them could succeed, and 3348238106Sdes otherwise they are treated as insecure. 3349238106Sdes - domain-insecure: "example.com" statement added. Sets domain 3350238106Sdes insecure regardless of chain of trust DSs or DLVs. The inverse 3351238106Sdes of a trust-anchor. 3352238106Sdes 3353238106Sdes17 March 2009: Wouter 3354238106Sdes - unit test for unsupported algorithm in anchor warning. 3355238106Sdes - fixed so queries do not fail on opportunistic target queries. 3356238106Sdes 3357238106Sdes16 March 2009: Wouter 3358238106Sdes - fixup diff error printout in contrib/update-itar.sh. 3359238106Sdes - added contrib/unbound_cacti for statistics support in cacti, 3360238106Sdes contributed by Dmitriy Demidov. 3361238106Sdes 3362238106Sdes13 March 2009: Wouter 3363238106Sdes - doxygen and lex/yacc on linux. 3364238106Sdes - strip update-anchor on makedist -w. 3365238106Sdes - fix testbound on windows. 3366238106Sdes - default log to syslog for windows. 3367238106Sdes - uninstaller can stop unbound - changed text on it to reflect that. 3368238106Sdes - remove debugging from windows 'cron' actions. 3369238106Sdes 3370238106Sdes12 March 2009: Wouter 3371238106Sdes - log to App.logs on windows prints executable identity. 3372238106Sdes - fixup tests. 3373238106Sdes - munin plugin fix benign locking error printout. 3374238106Sdes - anchor-update for windows, called every 24 hours; unbound reloads. 3375238106Sdes 3376238106Sdes11 March 2009: Wouter 3377238106Sdes - winsock event handler resets WSAevents after signalled. 3378238106Sdes - winsock event handler tests if signals are really signalled. 3379238106Sdes - install and service with log to file works on XP and Vista on 3380238106Sdes default install location. 3381238106Sdes - on windows logging to the Application logbook works (as a service). 3382238106Sdes - fix RUN_DIR on windows compile setting in makedist. 3383238106Sdes - windows registry has Software\Unbound\ConfigFile element. 3384238106Sdes If does not exist, the default is used. The -c switch overrides it. 3385238106Sdes - fix makedist version cleanup function. 3386238106Sdes 3387238106Sdes10 March 2009: Wouter 3388238106Sdes - makedist -w strips out old rc.. and snapshot info from version. 3389238106Sdes - setup.exe starts and stops unbound after install, before uninstall. 3390238106Sdes - unbound-checkconf recognizes absolute pathnames on windows (C:...). 3391238106Sdes 3392238106Sdes9 March 2009: Wouter 3393238106Sdes - Nullsoft NSIS installer creation script. 3394238106Sdes 3395238106Sdes5 March 2009: Wouter 3396238106Sdes - fixup memory leak introduced on 18feb in mesh reentrant fix. 3397238106Sdes 3398238106Sdes3 March 2009: Wouter 3399238106Sdes - combined icon with 16x16(4) 32x32(4) 48x48(8) 64x64(8). 3400238106Sdes - service works on xp/vista, no config necessary (using defaults). 3401238106Sdes - windows registry settings. 3402238106Sdes 3403238106Sdes2 March 2009: Wouter 3404238106Sdes - fixup --export-symbols to be -export-symbls for libtool. 3405238106Sdes This should fix extraneous symbols exported from libunbound. 3406238106Sdes Thanks to Ondrej Sury and Robert Edmonds for finding it. 3407238106Sdes - iana portlist updated. 3408238106Sdes - document FAQ entry on stub/forward zones and default blocking. 3409238106Sdes - fix asynclook test app for libunbound not exporting symbols. 3410238106Sdes - service install and remove utils that work with vista UAC. 3411238106Sdes 3412238106Sdes27 February 2009: Wouter 3413238106Sdes - Fixup lexer, to not give warnings about fwrite. Appeared in 3414238106Sdes new lexer features. 3415238106Sdes - makedistro functionality for mingw. Has RC support. 3416238106Sdes - support spaces and backslashes in configured defaults paths. 3417238106Sdes - register, deregister in service control manager. 3418238106Sdes 3419238106Sdes25 February 2009: Wouter 3420238106Sdes - windres usage for application resources. 3421238106Sdes 3422238106Sdes24 February 2009: Wouter 3423238106Sdes - isc moved their dlv key download location. 3424238106Sdes - fixup warning on vista/mingw. 3425238106Sdes - makedist -w for window zip distribution first version. 3426238106Sdes 3427238106Sdes20 February 2009: Wouter 3428238106Sdes - Fixup contrib/update-itar.sh, the exit codes 1 and 0 were swapped. 3429238106Sdes Nicer script layout. Added url to site in -h output. 3430238106Sdes 3431238106Sdes19 February 2009: Wouter 3432238106Sdes - unbound-checkconf and unbound print warnings when trust anchors 3433238106Sdes have unsupported algorithms. 3434238106Sdes - added contrib/update-itar.sh This script is similar to 3435238106Sdes update-anchor.sh, and updates from the IANA ITAR repository. 3436238106Sdes You can provide your own PGP key and trust repo, or can use the 3437238106Sdes builtin. The program uses wget and gpg to work. 3438238106Sdes - iana portlist updated. 3439238106Sdes - update-itar.sh: using ftp:// urls because https godaddy certificate 3440238106Sdes is not available everywhere and then gives fatal errors. The 3441238106Sdes security is provided by pgp signature. 3442238106Sdes 3443238106Sdes18 February 2009: Wouter 3444238106Sdes - more cycle detection. Also for target queries. 3445238106Sdes - fixup bug where during deletion of the mesh queries the callbacks 3446238106Sdes that were reentrant caused assertion failures. Keep the mesh in 3447238106Sdes a reentrant safe state. Affects libunbound, reload of server, 3448238106Sdes on quit and flush_requestlist. 3449238106Sdes - iana portlist updated. 3450238106Sdes 3451238106Sdes13 February 2009: Wouter 3452238106Sdes - forwarder information now per-thread duplicated. 3453238106Sdes This keeps it read only for speed, with no locking necessary. 3454238106Sdes - forward command for unbound control to change forwarders to use 3455238106Sdes on the fly. 3456238106Sdes - document that unbound-host reads no config file by default. 3457238106Sdes - updated iana portlist. 3458238106Sdes 3459238106Sdes12 February 2009: Wouter 3460238106Sdes - call setusercontext if available (on BSD). 3461238106Sdes - small refactor of stats clearing. 3462238106Sdes - #227: flush_stats feature for unbound-control. 3463238106Sdes - stats_noreset feature for unbound-control. 3464238106Sdes - flush_requestlist feature for unbound-control. 3465238106Sdes - libunbound version upped API (was changed 5 feb). 3466238106Sdes - unbound-control status shows if root forwarding is in use. 3467238106Sdes - slightly nicer memory management in iter-fwd code. 3468238106Sdes 3469238106Sdes10 February 2009: Wouter 3470238106Sdes - keys with rfc5011 REVOKE flag are skipped and not considered when 3471238106Sdes validating data. 3472238106Sdes - iana portlist updated 3473238106Sdes - #226: dump_requestlist feature for unbound-control. 3474238106Sdes 3475238106Sdes6 February 2009: Wouter 3476238106Sdes - contrib contains specfile for fedora 1.2.1 (from Paul Wouters). 3477238106Sdes - iana portlist updated. 3478238106Sdes - fixup EOL in include directive (reported by Paul Wouters). 3479238106Sdes You can no longer specify newlines in the names of included files. 3480238106Sdes - config parser changed. Gives some syntax errors closer to where they 3481238106Sdes occurred. Does not enforce a space after keyword anymore. 3482238106Sdes Does not allow literal newlines inside quoted strings anymore. 3483238106Sdes - verbosity level 5 logs customer IP for new requestlist entries. 3484238106Sdes - test fix, lexer and cancel test. 3485238106Sdes - new option log-time-ascii: yes if you enable it prints timestamps 3486238106Sdes in the log file as Feb 06 13:45:26 (like syslog does). 3487238106Sdes - detect event_base_new in libevent-1.4.1 and later and use it. 3488238106Sdes - #231 unbound-checkconf -o option prints that value from config file. 3489238106Sdes Useful for scripting in management scripts and the like. 3490238106Sdes 3491238106Sdes5 February 2009: Wouter 3492238106Sdes - ldns 1.5.0 rc as tarball included. 3493238106Sdes - 1.3.0 development continues: 3494238106Sdes change in libunbound API: ub_cancel can return an error, that 3495238106Sdes the async_id did not exist, or that it was already delivered. 3496238106Sdes The result could have been delivered just before the cancel 3497238106Sdes routine managed to acquire the lock, so a caller may get the 3498238106Sdes result at the same time they call cancel. For this case, 3499238106Sdes ub_cancel tries to return an error code. 3500238106Sdes Fixes race condition in ub_cancel() libunbound function. 3501238106Sdes - MacOSX Leopard cleaner text output from configure. 3502238106Sdes - initgroups(3) is called to drop secondary group permissions, if 3503238106Sdes applicable. 3504238106Sdes - configure option --with-ldns-builtin forces the use of the 3505238106Sdes inluded ldns package with the unbound source. The -I include 3506238106Sdes is put before the others, so it avoids bad include files from 3507238106Sdes an older ldns install. 3508238106Sdes - daemon(3) posix call is used when available. 3509238106Sdes - testbound test for older fix added. 3510238106Sdes 3511238106Sdes4 February 2009: Wouter 3512238106Sdes - tag for release 1.2.1. 3513238106Sdes - trunk setup for 1.3.0 development. 3514238106Sdes 3515238106Sdes3 February 2009: Wouter 3516238106Sdes - noted feature requests in doc/TODO. 3517238106Sdes - printout more detailed errors on ssl certificate loading failures. 3518238106Sdes - updated IANA portlist. 3519238106Sdes 3520238106Sdes16 January 2009: Wouter 3521238106Sdes - more quiet about ipv6 network failures, i.e. when ipv6 is not 3522238106Sdes available (network unreachable). Debug still printed on high 3523238106Sdes verbosity. 3524238106Sdes - unbound-host -4 and -6 options. Stops annoying ipv6 errors when 3525238106Sdes debugging with unbound-host -4 -d ... 3526238106Sdes - more cycle detection for NS-check, addr-check, root-prime and 3527238106Sdes stub-prime queries in the iterator. Avoids possible deadlock 3528238106Sdes when priming fails. 3529238106Sdes 3530238106Sdes15 January 2009: Wouter 3531238106Sdes - bug #229: fixup configure checks for compilation with Solaris 3532238106Sdes Sun cc compiler, ./configure CC=/opt/SUNWspro/bin/cc 3533238106Sdes - fixup suncc warnings. 3534238106Sdes - fix bug where unbound could crash using libevent 1.3 and older. 3535238106Sdes - update testset for recent retry change. 3536238106Sdes 3537238106Sdes14 January 2009: Wouter 3538238106Sdes - 1.2.1 feature: negative caching for failed queries. 3539238106Sdes Queries that failed are cached for 5 seconds (NORR_TTL). 3540238106Sdes If the failure is local, like out of memory, it is not cached. 3541238106Sdes - the TTL comparison for the cache used different comparisons, 3542238106Sdes causing many cache responses that used the iterator and validator 3543238106Sdes state machines unnecessarily. 3544238106Sdes - retry from 4 to 5 so that EDNS drop retry is part of the first 3545238106Sdes query resolve attempt, and cached error does not stop EDNS fallback. 3546238106Sdes - remove debug prints that protect against bad referrals. 3547238106Sdes - honor QUIET=no on make commandline (or QUIET=yes ). 3548238106Sdes 3549238106Sdes13 January 2009: Wouter 3550238106Sdes - fixed bug in lameness marking, removed printouts. 3551238106Sdes - find NS rrset more cleanly for qtype NS. 3552238106Sdes - Moved changes to 1.2.0 for release. Thanks to Mark Zealey for 3553238106Sdes reporting and logs. 3554238106Sdes - 1.2.1 feature: stops resolving AAAAs promiscuously when they 3555238106Sdes are in the negative cache. 3556238106Sdes 3557238106Sdes12 January 2009: Wouter 3558238106Sdes - fixed bug in infrastructure lameness cache, did not lowercase 3559238106Sdes name of zone to hash when setting lame. 3560238106Sdes - lameness debugging printouts. 3561238106Sdes 3562238106Sdes9 January 2009: Wouter 3563238106Sdes - created svn tag for 1.2.0 release. 3564238106Sdes - svn trunk contains 1.2.1 version number. 3565238106Sdes - iana portlist updated for todays list. 3566238106Sdes - removed debug print. 3567238106Sdes 3568238106Sdes8 January 2009: Wouter 3569238106Sdes - new version of ldns-trunk (today) included as tarball, fixed 3570238106Sdes bug #224, building with -j race condition. 3571238106Sdes - remove possible race condition in the test for race conditions. 3572238106Sdes 3573238106Sdes7 January 2009: Wouter 3574238106Sdes - version 1.2.0 in preparation. 3575238106Sdes - feature to allow wildcards (*, ?, [], {}. ~) in trusted-keys-file 3576238106Sdes statements. (Adapted from patch by Paul Wouters). 3577238106Sdes - typo fix and iana portlist updated. 3578238106Sdes - porting testsuite; unused var warning, and type fixup. 3579238106Sdes 3580238106Sdes6 January 2009: Wouter 3581238106Sdes - fixup packet-of-death when compiled with --enable-debug. 3582238106Sdes A malformed packet could cause an internal assertion failure. 3583238106Sdes - added test for HINFO canonicalisation behaviour. 3584238106Sdes - fixup reported problem with transparent local-zone data where 3585238106Sdes queries with different type could get nxdomain. Now queries 3586238106Sdes with a different name get resolved normally, with different type 3587238106Sdes get a correct NOERROR/NODATA answer. 3588238106Sdes - HINFO no longer downcased for validation, making unbound compatible 3589238106Sdes with bind and ldns. 3590238106Sdes - fix reading included config files when chrooted. 3591238106Sdes Give full path names for include files. 3592238106Sdes Relative path names work if the start dir equals the working dir. 3593238106Sdes - fix libunbound message transport when no packet buffer is available. 3594238106Sdes 3595238106Sdes5 January 2009: Wouter 3596238106Sdes - fixup getaddrinfo failure handling for remote control port. 3597238106Sdes - added L.ROOT-SERVERS.NET. AAAA 2001:500:3::42 to builtin root hints. 3598238106Sdes - fixup so it works with libev-3.51 from http://dist.schmorp.de/libev/ 3599238106Sdes - comm_timer_set performs base_set operation after event_add. 3600238106Sdes 3601238106Sdes18 December 2008: Wouter 3602238106Sdes - fixed bug reported by Duane Wessels: error in DLV lookup, would make 3603238106Sdes some zones that had correct DLV keys as insecure. 3604238106Sdes - follows -rc makedist from ldns changes (no _rc). 3605238106Sdes - ldns tarball updated with 1.4.1rc for DLV unit test. 3606238106Sdes - verbose prints about recursion lame detection and server selection. 3607238106Sdes - fixup BSD port for infra host storage. It hashed wrongly. 3608238106Sdes - fixup makedist snapshot name generation. 3609238106Sdes - do not reopen syslog to avoid dev/log dependency. 3610238106Sdes 3611238106Sdes17 December 2008: Wouter 3612238106Sdes - follows ldns makedist.sh. -rc option. autom4te dir removed. 3613238106Sdes - unbound-control status command. 3614238106Sdes - extended statistics has a number of ipv6 queries counter. 3615238106Sdes contrib/unbound_munin_ was updated to draw ipv6 in the hits graph. 3616238106Sdes 3617238106Sdes16 December 2008: Wouter 3618238106Sdes - follow makedist improvements from ldns, for maintainers prereleases. 3619238106Sdes - snapshot version uses _ not - to help rpm distinguish the 3620238106Sdes version number. 3621238106Sdes 3622238106Sdes11 December 2008: Wouter 3623238106Sdes - better fix for bug #219: use LOG_NDELAY with openlog() call. 3624238106Sdes Thanks to Tamas Tevesz. 3625238106Sdes 3626238106Sdes9 December 2008: Wouter 3627238106Sdes - bug #221 fixed: unbound checkconf checks if key files exist if 3628238106Sdes remote control is enabled. Also fixed NULL printf when not chrooted. 3629238106Sdes - iana portlist updated. 3630238106Sdes 3631238106Sdes3 December 2008: Wouter 3632238106Sdes - Fix problem reported by Jaco Engelbrecht where unbound-control stats 3633238106Sdes freezes up unbound if this was compiled without threading, and 3634238106Sdes was using multiple processes. 3635238106Sdes - iana portlist updated. 3636238106Sdes - test for remote control with interprocess communication. 3637238106Sdes - created command distribution mechanism so that remote control 3638238106Sdes commands other than 'stats' work on all processes in a nonthreaded 3639238106Sdes compiled version. dump/load cache work, on the first process. 3640238106Sdes - fixup remote control local_data addition memory corruption bug. 3641238106Sdes 3642238106Sdes1 December 2008: Wouter 3643238106Sdes - SElinux policy files in contrib/selinux for the unbound daemon, 3644238106Sdes by Paul Wouters and Adam Tkac. 3645238106Sdes 3646238106Sdes25 November 2008: Wouter 3647238106Sdes - configure complains when --without-ssl is given (bug #220). 3648238106Sdes - skip unsupported feature tests on vista/mingw. 3649238106Sdes - fixup testcode/streamtcp to work on vista/mingw. 3650238106Sdes - root-hints test checks version of dig required. 3651238106Sdes - blacklisted servers are polled at a low rate (1%) to see if they 3652238106Sdes come back up. But not if there is some other working server. 3653238106Sdes 3654238106Sdes24 November 2008: Wouter 3655238106Sdes - document that the user of the server daemon needs read privileges 3656238106Sdes on the keys and certificates generated by unbound-control-setup. 3657238106Sdes This is different per system or distribution, usually, running the 3658238106Sdes script under the same username as the server uses suffices. 3659238106Sdes i.e. sudo -u unbound unbound-control-setup 3660238106Sdes - testset port to vista/mingw. 3661238106Sdes - tcp_sigpipe to freebsd port. 3662238106Sdes 3663238106Sdes21 November 2008: Wouter 3664238106Sdes - fixed tcp accept, errors were printed when they should not. 3665238106Sdes - unbound-control-setup.sh removes read/write permissions other 3666238106Sdes from the keys it creates (as suggested by Dmitriy Demidov). 3667238106Sdes 3668238106Sdes20 November 2008: Wouter 3669238106Sdes - fixup fatal error due to faulty error checking after tcp accept. 3670238106Sdes - add check in rlimit to avoid integer underflow. 3671238106Sdes - rlimit check with new formula; better estimate for number interfaces 3672238106Sdes - nicer comments in rlimit check. 3673238106Sdes - tag 1.1.1 created in svn. 3674238106Sdes - trunk label is 1.1.2 3675238106Sdes 3676238106Sdes19 November 2008: Wouter 3677238106Sdes - bug #219: fixed so that syslog which delays opening until the first 3678238106Sdes log line is written, gets a log line while not chroot'ed yet. 3679238106Sdes 3680238106Sdes18 November 2008: Wouter 3681238106Sdes - iana portlist updated. 3682238106Sdes - removed cast in unit test debug print that was not 64bit safe. 3683238106Sdes - trunk back to 1.1.0; copied to tags 1.1.0 release. 3684238106Sdes - trunk to has version number 1.1.1 again. 3685238106Sdes - in 1.1.1; make clean nicer. grammar in manpage. 3686238106Sdes 3687238106Sdes17 November 2008: Wouter 3688238106Sdes - theoretical fix for problems reported on mailing list. 3689238106Sdes If a delegation point has no A but only AAAA and do-ip6 is no, 3690238106Sdes resolution would fail. Fixed to ask for the A and AAAA records. 3691238106Sdes It has to ask for both always, so that it can fail quietly, from 3692238106Sdes TLD perspective, when a zone is only reachable on one transport. 3693238106Sdes - test for above, only AAAA and doip6 is no. Fix causes A record 3694238106Sdes for nameserver to be fetched. 3695238106Sdes - fixup address duplication on cache fillup for delegation points. 3696238106Sdes - testset updated for new query answer requirements. 3697238106Sdes 3698238106Sdes14 November 2008: Wouter 3699238106Sdes - created 1.1.0 release tag in svn. 3700238106Sdes - trunk moved to 1.1.1 3701238106Sdes - fixup unittest-neg for locking. 3702238106Sdes 3703238106Sdes13 November 2008: Wouter 3704238106Sdes - added fedora init and specfile to contrib (by Paul Wouters). 3705238106Sdes - added configure check for ldns 1.4.0 (using its compat funcs). 3706238106Sdes - neater comments in worker.h. 3707238106Sdes - removed doc/plan and updated doc/TODO. 3708238106Sdes - silenced EHOSTDOWN (verbosity 2 or higher to see it). 3709238106Sdes - review comments from Jelte, Matthijs. Neater code. 3710238106Sdes 3711238106Sdes12 November 2008: Wouter 3712238106Sdes - add unbound-control manpage to makedist replace list. 3713238106Sdes 3714238106Sdes11 November 2008: Wouter 3715238106Sdes - unit test for negative cache, stress tests the refcounting. 3716238106Sdes - fix for refcounting error that could cause fptr_wlist fatal exit 3717238106Sdes in the negative cache rbtree (upcoming 1.1 feature). (Thanks to 3718238106Sdes Attila Nagy for testing). 3719238106Sdes - nicer comments in cachedump about failed RR to string conversion. 3720238106Sdes - fix 32bit wrap around when printing large (4G and more) mem usage 3721238106Sdes for extended statistics. 3722238106Sdes 3723238106Sdes10 November 2008: Wouter 3724238106Sdes - fixup the getaddrinfo compat code rename. 3725238106Sdes 3726238106Sdes8 November 2008: Wouter 3727238106Sdes - added configure check for eee build warning. 3728238106Sdes 3729238106Sdes7 November 2008: Wouter 3730238106Sdes - fix bug 217: fixed, setreuid and setregid do not work on MacOSX10.4. 3731238106Sdes - detect nonblocking problems in network stack in configure script. 3732238106Sdes 3733238106Sdes6 November 2008: Wouter 3734238106Sdes - dname_priv must decompress the name before comparison. 3735238106Sdes - iana portlist updated. 3736238106Sdes 3737238106Sdes5 November 2008: Wouter 3738238106Sdes - fixed possible memory leak in key_entry_key deletion. 3739238106Sdes Would leak a couple bytes when trust anchors were replaced. 3740238106Sdes - if query and reply qname overlap, the bytes are skipped not copied. 3741238106Sdes - fixed file descriptor leak when messages were jostled out that 3742238106Sdes had outstanding (TCP) replies. 3743238106Sdes - DNAMEs used from cache have their synthesized CNAMEs initialized 3744238106Sdes properly. 3745238106Sdes - fixed file descriptor leak for localzone type deny (for TCP). 3746238106Sdes - fixed memleak at exit for nsec3 negative cached zones. 3747238106Sdes - fixed memleak for the keyword 'nodefault' when reading config. 3748238106Sdes - made verbosity of 'edns incapable peer' warning higher, so you 3749238106Sdes do not get spammed by it. 3750238106Sdes - caught elusive Bad file descriptor error bug, that would print the 3751238106Sdes error while unnecessarily try to listen to a closed fd. Fixed. 3752238106Sdes 3753238106Sdes4 November 2008: Wouter 3754238106Sdes - fixed -Wwrite-strings warnings that result in better code. 3755238106Sdes 3756238106Sdes3 November 2008: Wouter 3757238106Sdes - fixup build process for Mac OSX linker, use ldns b32 compat funcs. 3758238106Sdes - generated configure with autoconf-2.61. 3759238106Sdes - iana portlist updated. 3760238106Sdes - detect if libssl needs libdl. For static linking with libssl. 3761238106Sdes - changed to use new algorithm identifiers for sha256/sha512 3762238106Sdes from ldns 1.4.0 (need very latest version). 3763238106Sdes - updated the included ldns tarball. 3764238106Sdes - proper detection of SHA256 and SHA512 functions (not just sizes). 3765238106Sdes 3766238106Sdes23 October 2008: Wouter 3767238106Sdes - a little more debug info for failure on signer names. prints names. 3768238106Sdes 3769238106Sdes22 October 2008: Wouter 3770238106Sdes - CFLAGS are picked up by configure from the environment. 3771238106Sdes - iana portlist updated. 3772238106Sdes - updated ldns to use 1.4.0-pre20081022 so it picks up CFLAGS too. 3773238106Sdes - new stub-prime: yesno option. Default is off, so it does not prime. 3774238106Sdes can be turned on to get same behaviour as previous unbound release. 3775238106Sdes - made automated test that checks if builtin root hints are uptodate. 3776238106Sdes - finished draft-wijngaards-dnsext-resolver-side-mitigation 3777238106Sdes implementation. The unwanted-reply-threshold can be set. 3778238106Sdes - fixup so fptr_whitelist test in alloc.c works. 3779238106Sdes 3780238106Sdes21 October 2008: Wouter 3781238106Sdes - fix update-anchors.sh, so it does not report different RR order 3782238106Sdes as an update. Sorts the keys in the file. Updated copyright. 3783238106Sdes - fixup testbound on windows, the command control pipe doesn't exist. 3784238106Sdes - skip 08hostlib test on windows, no fork() available. 3785238106Sdes - made unbound-remote work on windows. 3786238106Sdes 3787238106Sdes20 October 2008: Wouter 3788238106Sdes - quench a log message that is debug only. 3789238106Sdes - iana portlist updated. 3790238106Sdes - do not query bogus nameservers. It is like nameservers that have 3791238106Sdes the NS or A or AAAA record bogus are listed as donotquery. 3792238106Sdes - if server selection is faced with only bad choices, it will 3793238106Sdes attempt to get more options to be fetched. 3794238106Sdes - changed bogus-ttl default value from 900 to 60 seconds. 3795238106Sdes In anticipation that operator caused failures are more likely than 3796238106Sdes actual attacks at this time. And thus repeated validation helps 3797238106Sdes the operators get the problem fixed sooner. It makes validation 3798238106Sdes failures go away sooner (60 seconds after the zone is fixed). 3799238106Sdes Also it is likely to try different nameserver targets every minute, 3800238106Sdes so that if a zone is bad on one server but not another, it is 3801238106Sdes likely to pick up the 'correct' one after a couple minutes, 3802238106Sdes and if the TTL is big enough that solves validation for the zone. 3803238106Sdes - fixup unbound-control compilation on windows. 3804238106Sdes 3805238106Sdes17 October 2008: Wouter 3806238106Sdes - port Leopard/G5: fixup type conversion size_t/uint32. 3807238106Sdes please ranlib, stop file without symbols warning. 3808238106Sdes - harden referral path now also validates the root after priming. 3809238106Sdes It looks up the root NS authoritatively as well as the root servers 3810238106Sdes and attemps to validate the entries. 3811238106Sdes 3812238106Sdes16 October 2008: Wouter 3813238106Sdes - Fixup negative TTL values appearing (reported by Attila Nagy). 3814238106Sdes 3815238106Sdes15 October 2008: Wouter 3816238106Sdes - better documentation for 0x20; remove fallback TODO, it is done. 3817238106Sdes - harden-referral-path feature includes A, AAAA queries for glue, 3818238106Sdes as well as very careful NS caching (only when doing NS query). 3819238106Sdes A, AAAA use the delegation from the NS-query. 3820238106Sdes 3821238106Sdes14 October 2008: Wouter 3822238106Sdes - fwd_three.tpkg test was flaky. If the three requests hit the 3823238106Sdes wrong threads by chance (or bad OS) then the test would fail. 3824238106Sdes Made less flaky by increasing number of retries. 3825238106Sdes - stub_udp.tpkg changed to work, give root hints. fixed ldns_dname_abs. 3826238106Sdes - ldns tarball is snapshot of ldns r2759 (1.4.0-pre-20081014). 3827238106Sdes Which includes the ldns_dname_absolute fix. 3828238106Sdes - fwd_three test remains flaky now that unbound does not stop 3829238106Sdes listening when full. Thus, removed timeout problem. 3830238106Sdes It may be serviced by three threads, or maybe by one. 3831238106Sdes Mostly only useful for lock-check testing now. 3832238106Sdes 3833238106Sdes13 October 2008: Wouter 3834238106Sdes - fixed recursion servers deployed as authoritative detection, so 3835238106Sdes that as a last resort, a +RD query is sent there to get the 3836238106Sdes correct answer. 3837238106Sdes - iana port list update. 3838238106Sdes - ldns tarball is snapshot of ldns r2759 (1.4.0-pre-20081013). 3839238106Sdes 3840238106Sdes10 October 2008: Wouter 3841238106Sdes - fixup tests - the negative cache contained the correct NSEC3s for 3842238106Sdes two tests that are supposed to fail to validate. 3843238106Sdes 3844238106Sdes9 October 2008: Wouter 3845238106Sdes - negative cache caps max iterations of NSEC3 done. 3846238106Sdes - NSEC3 negative cache for qtype DS works. 3847238106Sdes 3848238106Sdes8 October 2008: Wouter 3849238106Sdes - NSEC negative cache for DS. 3850238106Sdes 3851238106Sdes6 October 2008: Wouter 3852238106Sdes - jostle-timeout option, so you can config for slow links. 3853238106Sdes - 0x20 fallback code. Tries 3xnumber of nameserver addresses 3854238106Sdes queries that must all be the same. Sent to random nameservers. 3855238106Sdes - documented choices for DoS, EDNS, 0x20. 3856238106Sdes 3857238106Sdes2 October 2008: Wouter 3858238106Sdes - fixup unlink of pidfile. 3859238106Sdes - fixup SHA256 algorithm collation code. 3860238106Sdes - contrib/update-anchor.sh does not overwrite anchors if not needed. 3861238106Sdes exits 0 when a restart is needed, other values if not. 3862238106Sdes so, update-anchor.sh -d mydir && /etc/rc.d/unbound restart 3863238106Sdes can restart unbound exactly when needed. 3864238106Sdes 3865238106Sdes30 September 2008: Wouter 3866238106Sdes - fixup SHA256 DS downgrade, no longer possible to downgrade to SHA1. 3867238106Sdes - tests for sha256 support and downgrade resistance. 3868238106Sdes - RSASHA256 and RSASHA512 support (using the draft in dnsext), 3869238106Sdes using the drafted protocol numbers. 3870238106Sdes - when using stub on localhost (127.0.0.1@10053) unbound works. 3871238106Sdes Like when running NSD to host a local zone, on the same machine. 3872238106Sdes The noprime feature. manpages more explanation. Added a test for it. 3873238106Sdes - shorthand for reverse PTR, local-data-ptr: "1.2.3.4 www.ex.com" 3874238106Sdes 3875238106Sdes29 September 2008: Wouter 3876238106Sdes - EDNS lameness detection, if EDNS packets are dropped this is 3877238106Sdes detected, eventually. 3878238106Sdes - multiple query timeout rtt backoff does not backoff too much. 3879238106Sdes 3880238106Sdes26 September 2008: Wouter 3881238106Sdes - tests for remote-control. 3882238106Sdes - small memory leak in exception during remote control fixed. 3883238106Sdes - fixup for lock checking but not unchecking in remote control. 3884238106Sdes - iana portlist updated. 3885238106Sdes 3886238106Sdes23 September 2008: Wouter 3887238106Sdes - Msg cache is loaded. A cache load enables cache responses. 3888238106Sdes - unbound-control flush [name], flush_type and flush_zone. 3889238106Sdes 3890238106Sdes22 September 2008: Wouter 3891238106Sdes - dump_cache and load_cache statements in unbound-control. 3892238106Sdes RRsets are dumped and loaded correctly. 3893238106Sdes Msg cache is dumped. 3894238106Sdes 3895238106Sdes19 September 2008: Wouter 3896238106Sdes - locking on the localdata structure. 3897238106Sdes - add and remove local zone and data with unbound-control. 3898238106Sdes - ldns trunk snapshot updated, make tests work again. 3899238106Sdes 3900238106Sdes18 September 2008: Wouter 3901238106Sdes - fixup error in time calculation. 3902238106Sdes - munin plugin improvements. 3903238106Sdes - nicer abbreviations for high query types values (ixfr, axfr, any...) 3904238106Sdes - documented the statistics output in unbound-control man page. 3905238106Sdes - extended statistics prints out histogram, over unbound-control. 3906238106Sdes 3907238106Sdes17 September 2008: Wouter 3908238106Sdes - locking for threadsafe bogus rrset counter. 3909238106Sdes - ldns trunk no longer exports b32 functions, provide compat. 3910238106Sdes - ldns tarball updated. 3911238106Sdes - testcode/ldns-testpkts.c const fixups. 3912238106Sdes - fixed rcode stat printout. 3913238106Sdes - munin plugin in contrib. 3914238106Sdes - stats always printout uptime, because stats plugins need it. 3915238106Sdes 3916238106Sdes16 September 2008: Wouter 3917238106Sdes - extended-statistics: yesno config option. 3918238106Sdes - unwanted replies spoof nearmiss detector. 3919238106Sdes - iana portlist updated. 3920238106Sdes 3921238106Sdes15 September 2008: Wouter 3922238106Sdes - working start, stop, reload commands for unbound-control. 3923238106Sdes - test for unbound-control working; better exit value for control. 3924238106Sdes - verbosity control via unbound-control. 3925238106Sdes - unbound-control stats. 3926238106Sdes 3927238106Sdes12 September 2008: Wouter 3928238106Sdes - removed browser control mentions. Proto speccy. 3929238106Sdes 3930238106Sdes11 September 2008: Wouter 3931238106Sdes - set nonblocking on new TCP streams, because linux does not inherit 3932238106Sdes the socket options to the accepted socket. 3933238106Sdes - fix TCP timeouts. 3934238106Sdes - SSL protected connection between server and unbound-control. 3935238106Sdes 3936238106Sdes10 September 2008: Wouter 3937238106Sdes - remove memleak in privacy addresses on reloads and quits. 3938238106Sdes - remote control work. 3939238106Sdes 3940238106Sdes9 September 2008: Wouter 3941238106Sdes - smallapp/unbound-control-setup.sh script to set up certificates. 3942238106Sdes 3943238106Sdes4 September 2008: Wouter 3944238106Sdes - scrubber scrubs away private addresses. 3945238106Sdes - test for private addresses. man page entry. 3946238106Sdes - code refactored for name and address tree lookups. 3947238106Sdes 3948238106Sdes3 September 2008: Wouter 3949238106Sdes - options for 'DNS Rebinding' protection: private-address and 3950238106Sdes private-domain. 3951238106Sdes - dnstree for reuse of routines that help with domain, addr lookups. 3952238106Sdes - private-address and private-domain config option read, stored. 3953238106Sdes 3954238106Sdes2 September 2008: Wouter 3955238106Sdes - DoS protection features. Queries are jostled out to make room. 3956238106Sdes - testbound can pass time, increasing the internal timer. 3957238106Sdes - do not mark unsigned additionals bogus, leave unchecked, which 3958238106Sdes is removed too. 3959238106Sdes 3960238106Sdes1 September 2008: Wouter 3961238106Sdes - disallow nonrecursive queries for cache snooping by default. 3962238106Sdes You can allow is using access-control: <subnet> allow_snoop. 3963238106Sdes The defaults do allow access no authoritative data without RD bit. 3964238106Sdes - two tests for it and fixups of tests for nonrec refused. 3965238106Sdes 3966238106Sdes29 August 2008: Wouter 3967238106Sdes - version 1.1 number in trunk. 3968238106Sdes - harden-referral-path option for query for NS records. 3969238106Sdes Default turns off expensive, experimental option. 3970238106Sdes 3971238106Sdes28 August 2008: Wouter 3972238106Sdes - fixup logfile handling; it is created with correct permissions 3973238106Sdes again. (from bugfix#199). 3974238106Sdes Some errors are not written to logfile (pidfile writing, forking), 3975238106Sdes and these are only visible by using the -d commandline flag. 3976238106Sdes 3977238106Sdes27 August 2008: Wouter 3978238106Sdes - daemon(3) is causing problems for people. Reverting the patch. 3979238106Sdes bug#200, and 199 and 203 contain sideline discussion on it. 3980238106Sdes - bug#199 fixed: pidfile can be outside chroot. openlog is done before 3981238106Sdes chroot and drop permissions. 3982238106Sdes - config option to set size of aggressive negative cache, 3983238106Sdes neg-cache-size. 3984238106Sdes - bug#203 fixed: dlv has been implemented. 3985238106Sdes 3986238106Sdes26 August 2008: Wouter 3987238106Sdes - test for insecure zone when DLV is in use, also does negative cache. 3988238106Sdes - test for trustanchor when DLV is in use (the anchor works). 3989238106Sdes - test for DLV used for a zone below a trustanchor. 3990238106Sdes - added scrub filter for overreaching NSEC records and unit test. 3991238106Sdes - iana portlist update 3992238106Sdes - use of setresuid or setreuid when available. 3993238106Sdes - use daemon(3) if available. 3994238106Sdes 3995238106Sdes25 August 2008: Wouter 3996238106Sdes - realclean patch from Robert Edmonds. 3997238106Sdes 3998238106Sdes22 August 2008: Wouter 3999238106Sdes - nicer debuglogging of DLV. 4000238106Sdes - test with secure delegation inside the DLV repository. 4001238106Sdes 4002238106Sdes21 August 2008: Wouter 4003238106Sdes - negative cache code linked into validator, for DLV use. 4004238106Sdes negative cache works for DLV. 4005238106Sdes - iana portlist update. 4006238106Sdes - dlv-anchor option for unit tests. 4007238106Sdes - fixup NSEC_AT_APEX classification for short typemaps. 4008238106Sdes - ldns-testns has subdomain checks, for unit tests. 4009238106Sdes 4010238106Sdes20 August 2008: Wouter 4011238106Sdes - negative cache code, reviewed. 4012238106Sdes 4013238106Sdes18 August 2008: Wouter 4014238106Sdes - changes info: in logfile to notice: info: or debug: depending on 4015238106Sdes the verbosity of the statements. Better logfile message 4016238106Sdes classification. 4017238106Sdes - bug #208: extra rc.d unbound flexibility for freebsd/nanobsd. 4018238106Sdes 4019238106Sdes15 August 2008: Wouter 4020238106Sdes - DLV nsec code fixed for better detection of closest existing 4021238106Sdes enclosers from NSEC responses. 4022238106Sdes - DLV works, straight to the dlv repository, so not for production. 4023238106Sdes - Iana port update. 4024238106Sdes 4025238106Sdes14 August 2008: Wouter 4026238106Sdes - synthesize DLV messages from the rrset cache, like done for DS. 4027238106Sdes 4028238106Sdes13 August 2008: Wouter 4029238106Sdes - bug #203: nicer do-auto log message when user sets incompatible 4030238106Sdes options. 4031238106Sdes - bug #204: variable name ameliorated in log.c. 4032238106Sdes - bug #206: in iana_update, no egrep, but awk use. 4033238106Sdes - ldns snapshot r2699 taken (includes DLV type). 4034238106Sdes - DLV work, config file element, trust anchor read in. 4035238106Sdes 4036238106Sdes12 August 2008: Wouter 4037238106Sdes - finished adjusting testset to provide qtype NS answers. 4038238106Sdes 4039238106Sdes11 August 2008: Wouter 4040238106Sdes - Fixup rrset security updates overwriting 2181 trust status. 4041238106Sdes This makes validated to be insecure data just as worthless as 4042238106Sdes nonvalidated data, and 2181 rules prevent cache overwrites to them. 4043238106Sdes - Fix assertion fail on bogus key handling. 4044238106Sdes - dnssec lameness detection works on first query at trust apex. 4045238106Sdes - NS queries get proper cache and dnssec lameness treatment. 4046238106Sdes - fixup compilation without pthreads on linux. 4047238106Sdes 4048238106Sdes8 August 2008: Wouter 4049238106Sdes - NS queries are done after every referral. 4050238106Sdes validator is used on those NS records (if anchors enabled). 4051238106Sdes 4052238106Sdes7 August 2008: Wouter 4053238106Sdes - Scrubber more strict. CNAME chains, DNAMEs from cache, other 4054238106Sdes irrelevant rrsets removed. 4055238106Sdes - 1.0.2 released from 1.0 support branch. 4056238106Sdes - fixup update-anchor.sh to work both in BSD shell and bash. 4057238106Sdes 4058238106Sdes5 August 2008: Wouter 4059238106Sdes - fixup DS test so apex nodata works again. 4060238106Sdes 4061238106Sdes4 August 2008: Wouter 4062238106Sdes - iana port update. 4063238106Sdes - TODO update. 4064238106Sdes - fix bug 201: null ptr deref on cleanup while udp pkts wait for port. 4065238106Sdes - added explanatory text for outgoing-port-permit in manpage. 4066238106Sdes 4067238106Sdes30 July 2008: Wouter 4068238106Sdes - fixup bug qtype DS for unsigned zone and signed parent validation. 4069238106Sdes 4070238106Sdes25 July 2008: Wouter 4071238106Sdes - added original copyright statement of OpenBSD arc4random code. 4072238106Sdes - created tube signaling solution on windows, as a pipe replacement. 4073238106Sdes this makes background asynchronous resolution work on windows. 4074238106Sdes - removed very insecure socketpair compat code. It also did not 4075238106Sdes work with event_waiting. Solved by pipe replacement. 4076238106Sdes - unbound -h prints openssl version number as well. 4077238106Sdes 4078238106Sdes22 July 2008: Wouter 4079238106Sdes - moved pipe actions to util/tube.c. easier porting and shared code. 4080238106Sdes - check _raw() commpoint callbacks with fptr_wlist. 4081238106Sdes - iana port update. 4082238106Sdes 4083238106Sdes21 July 2008: Wouter 4084238106Sdes - #198: nicer entropy warning message. manpage OS hints. 4085238106Sdes 4086238106Sdes19 July 2008: Wouter 4087238106Sdes - #198: fixup man page to suggest chroot entropy fix. 4088238106Sdes 4089238106Sdes18 July 2008: Wouter 4090238106Sdes - branch for 1.0 support. 4091238106Sdes - trunk work on tube.c. 4092238106Sdes 4093238106Sdes17 July 2008: Wouter 4094238106Sdes - fix bug #196, compile outside source tree. 4095238106Sdes - fix bug #195, add --with-username=user configure option. 4096238106Sdes - print error and exit if started with config that requires more 4097238106Sdes fds than the builtin minievent can handle. 4098238106Sdes 4099238106Sdes16 July 2008: Wouter 4100238106Sdes - made svn tag 1.0.1, trunk now 1.0.2 4101238106Sdes - sha256 checksums enabled in makedist.sh 4102238106Sdes 4103238106Sdes15 July 2008: Wouter 4104238106Sdes - Follow draft-ietf-dnsop-default-local-zones-06 added reverse 4105238106Sdes IPv6 example prefix to AS112 default blocklist. 4106238106Sdes - fixup lookup of DS records by client with trustanchor for same. 4107238106Sdes - libunbound ub_resolve, fix handling of error condition during setup. 4108238106Sdes - lowered log_hex blocksize to fit through BSD syslog linesize. 4109238106Sdes - no useless initialisation if getpwnam not available. 4110238106Sdes - iana, ldns snapshot updated. 4111238106Sdes 4112238106Sdes3 July 2008: Wouter 4113238106Sdes - Matthijs fixed memory leaks in root hints file reading. 4114238106Sdes 4115238106Sdes26 June 2008: Wouter 4116238106Sdes - fixup streamtcp bounds setting for udp mode, in the test framework. 4117238106Sdes - contrib item for updating trust anchors. 4118238106Sdes 4119238106Sdes25 June 2008: Wouter 4120238106Sdes - fixup fwd_ancil test typos. 4121238106Sdes - Fix for newegg lameness : ok for qtype=A, but lame for others. 4122238106Sdes - fixup unit test for infra cache, test lame merging. 4123238106Sdes - porting to mingw, bind, listen, getsockopt and setsockopt error 4124238106Sdes handling. 4125238106Sdes 4126238106Sdes24 June 2008: Wouter 4127238106Sdes - removed testcode/checklocks from production code compilation path. 4128238106Sdes - streamtcp can use UDP mode (connected UDP socket), for testing IPv6 4129238106Sdes on windows. 4130238106Sdes - fwd_ancil test fails if platform support is lacking. 4131238106Sdes 4132238106Sdes23 June 2008: Wouter 4133238106Sdes - fixup minitpkg to cleanup on windows with its file locking troubles. 4134238106Sdes - minitpkg shows skipped tests in report. 4135238106Sdes - skip ipv6 tests on ipv4 only hosts (requires only ipv6 localhost not 4136238106Sdes ipv6 connectivity). 4137238106Sdes - winsock event handler keeps track of sticky TCP events, that have 4138238106Sdes not been fully handled yet. when interest in the event(s) resumes, 4139238106Sdes they are sent again. When WOULDBLOCK is returned events are cleared. 4140238106Sdes - skip tests that need signals when testing on mingw. 4141238106Sdes 4142238106Sdes18 June 2008: Wouter 4143238106Sdes - open testbound replay files in binary mode, because fseek/ftell 4144238106Sdes do not work in ascii-mode on windows. The b does nothing on unix. 4145238106Sdes unittest and testbound tests work on windows (xp too). 4146238106Sdes - ioctlsocket prints nicer error message. 4147238106Sdes - fixed up some TCP porting for winsock. 4148238106Sdes - lack of IPv6 gives a warning, no fatal error. 4149238106Sdes - use WSAGetLastError() on windows instead of errno for some errors. 4150238106Sdes 4151238106Sdes17 June 2008: Wouter 4152238106Sdes - outgoing num fds 32 by default on windows ; it supports less 4153238106Sdes fds for waiting on than unixes. 4154238106Sdes - winsock_event minievent handler for windows. (you could also 4155238106Sdes attempt to link with libevent/libev ports for windows). 4156238106Sdes - neater crypto check and gdi32 detection. 4157238106Sdes - unbound.exe works to resolve and validate www.nlnetlabs.nl on vista. 4158238106Sdes 4159238106Sdes16 June 2008: Wouter 4160238106Sdes - on windows, use windows threads, mutex and thread-local-storage(Tls). 4161238106Sdes - detect if openssl needs gdi32. 4162238106Sdes - if no threading, THREADS_DISABLED is defined for use in the code. 4163238106Sdes - sets USE_WINSOCK if using ws2_32 on windows. 4164238106Sdes - wsa_strerror() function for more readable errors. 4165238106Sdes - WSA Startup and Cleanup called in unbound.exe. 4166238106Sdes 4167238106Sdes13 June 2008: Wouter 4168238106Sdes - port mingw32, more signal ifdefs, detect sleep, usleep, 4169238106Sdes random, srandom (used inside the tests). 4170238106Sdes - signed or unsigned FD_SET is cast. 4171238106Sdes 4172238106Sdes10 June 2008: Wouter 4173238106Sdes - fixup warnings compiling on eeepc xandros linux. 4174238106Sdes 4175238106Sdes9 June 2008: Wouter 4176238106Sdes - in iteration response type code 4177238106Sdes * first check for SOA record (negative answer) before NS record 4178238106Sdes and lameness. 4179238106Sdes * check if no AA bit for non-forwarder, and thus lame zone. 4180238106Sdes In response to error report by Richard Doty for mail.opusnet.com. 4181238106Sdes - fixup unput warning from lexer on freeBSD. 4182238106Sdes - bug#183. pidfile, rundir, and chroot configure options. Also the 4183238106Sdes example.conf and manual pages get the configured defaults. 4184238106Sdes You can use: (or accept the defaults to /usr/local/etc/unbound/) 4185238106Sdes --with-conf-file=filename 4186238106Sdes --with-pidfile=filename 4187238106Sdes --with-run-dir=path 4188238106Sdes --with-chroot-dir=path 4189238106Sdes 4190238106Sdes8 June 2008: Wouter 4191238106Sdes - if multiple CNAMEs, use the first one. Fixup akamai CNAME bug. 4192238106Sdes Reported by Robert Edmonds. 4193238106Sdes - iana port updated. 4194238106Sdes 4195238106Sdes4 June 2008: Wouter 4196238106Sdes - updated libtool files with newer version. 4197238106Sdes - iana portlist updated. 4198238106Sdes 4199238106Sdes3 June 2008: Wouter 4200238106Sdes - fixup local-zone: "30.172.in-addr.arpa." nodefault, so that the 4201238106Sdes trailing dot is not used during comparison. 4202238106Sdes 4203238106Sdes2 June 2008: Wouter 4204238106Sdes - Jelte fixed bugs in my absence 4205238106Sdes - bug 178: fixed unportable shell usage in configure (relied on 4206238106Sdes bash shell). 4207238106Sdes - bug 180: fixed buffer overflow in unbound-checkconf use of strncat. 4208238106Sdes - bug 181: fixed buffer overflow in ldns (called by unbound to parse 4209238106Sdes config file parts). 4210238106Sdes - fixes by Wouter 4211238106Sdes - bug 177: fixed compilation failure on opensuse, the 4212238106Sdes --disable-static configure flag caused problems. (Patch from 4213238106Sdes Klaus Singvogel) 4214238106Sdes - bug 179: same fix as 177. 4215238106Sdes - bug 185: --disable-shared not passed along to ldns included with 4216238106Sdes unbound. Fixed so that configure parameters are passed to the 4217238106Sdes subdir configure script. 4218238106Sdes fixed that ./libtool is used always, you can still override 4219238106Sdes manually with ./configure libtool=mylibtool or set $libtool in 4220238106Sdes the environment. 4221238106Sdes - update of the ldns tarball to current ldns svn version (fix 181). 4222238106Sdes - bug 184: -r option for unbound-host, read resolv.conf for 4223238106Sdes forwarder. (Note that forwarder must support DNSSEC for validation 4224238106Sdes to succeed). 4225238106Sdes 4226238106Sdes23 May 2008: Wouter 4227238106Sdes - mingw32 porting. 4228238106Sdes - test for sys/wait.h 4229238106Sdes - WSAEWOULDBLOCK test after nonblocking TCP connect. 4230238106Sdes - write_iov_buffer removed: unused and no struct iov on windows. 4231238106Sdes - signed/unsigned warning fixup mini_event. 4232238106Sdes - use ioctlsocket to set nonblocking I/O if fnctl is unavailable. 4233238106Sdes - skip signals that are not defined 4234238106Sdes - detect pwd.h. 4235238106Sdes - detect getpwnam, getrlimit, setsid, sbrk, chroot. 4236238106Sdes - default config has no chroot if chroot() unavailable. 4237238106Sdes - if no kill() then no pidfile is read or written. 4238238106Sdes - gmtime_r is replaced by nonthreadsafe alternative if unavail. 4239238106Sdes used in rrsig time validation errors. 4240238106Sdes 4241238106Sdes22 May 2008: Wouter 4242238106Sdes - contrib unbound.spec from Patrick Vande Walle. 4243238106Sdes - fixup bug#175: call tzset before chroot to have correct timestamps 4244238106Sdes in system log. 4245238106Sdes - do not generate lex input and lex unput functions. 4246238106Sdes - mingw port. replacement functions labelled _unbound. 4247238106Sdes - fix bug 174 - check for tcp_sigpipe that ldns-testns is installed. 4248238106Sdes 4249238106Sdes19 May 2008: Wouter 4250238106Sdes - fedora 9, check in6_pktinfo define in configure. 4251238106Sdes - CREDITS fixup of history. 4252238106Sdes - ignore ldns-1.2.2 if installed, use builtin 1.3.0-pre alternative. 4253238106Sdes 4254238106Sdes16 May 2008: Wouter 4255238106Sdes - fixup for MacOSX hosts file reading (reported by John Dickinson). 4256238106Sdes - created 1.0.0 svn tag. 4257238106Sdes - trunk version 1.0.1. 4258238106Sdes 4259238106Sdes14 May 2008: Wouter 4260238106Sdes - accepted patch from Ondrej Sury for library version libtool option. 4261238106Sdes - configure --disable-rpath fixes up libtool for rpath trouble. 4262238106Sdes Adapted from debian package patch file. 4263238106Sdes 4264238106Sdes13 May 2008: Wouter 4265238106Sdes - Added root ipv6 addresses to builtin root hints. 4266238106Sdes - TODO modified for post 1.0 plans. 4267238106Sdes - trunk version set to 1.0.0. 4268238106Sdes - no unnecessary linking with librt (only when libevent/libev used). 4269238106Sdes 4270238106Sdes7 May 2008: Wouter 4271238106Sdes - fixup no-ip4 problem with error callback in outside network. 4272238106Sdes 4273238106Sdes25 April 2008: Wouter 4274238106Sdes - DESTDIR is honored by the Makefile for rpms. 4275238106Sdes - contrib files unbound.spec and unbound.init, builds working RPM 4276238106Sdes on FC7 Linux, a chrooted caching resolver, and libunbound. 4277238106Sdes - iana ports update. 4278238106Sdes 4279238106Sdes24 April 2008: Wouter 4280238106Sdes - chroot checks improved. working directory relative to chroot. 4281238106Sdes checks if config file path is inside chroot. Documentation on it. 4282238106Sdes - nicer example.conf text. 4283238106Sdes - created 0.11 tag. 4284238106Sdes 4285238106Sdes23 April 2008: Wouter 4286238106Sdes - parseunbound.pl contrib update from Kai Storbeck for threads. 4287238106Sdes - iana ports update 4288238106Sdes 4289238106Sdes22 April 2008: Wouter 4290238106Sdes - ignore SIGPIPE. 4291238106Sdes - unit test for SIGPIPE ignore. 4292238106Sdes 4293238106Sdes21 April 2008: Wouter 4294238106Sdes - FEATURES document. 4295238106Sdes - fixup reread of config file if it was given as a full path 4296238106Sdes and chroot was used. 4297238106Sdes 4298238106Sdes16 April 2008: Wouter 4299238106Sdes - requirements doc, updated clean query returns. 4300238106Sdes - parseunbound.pl update from Kai Storbeck. 4301238106Sdes - sunos4 porting changes. 4302238106Sdes 4303238106Sdes15 April 2008: Wouter 4304238106Sdes - fixup default rc.d pidfile location to /usr/local/etc. 4305238106Sdes - iana ports updated. 4306238106Sdes - copyright updated in ldns-testpkts to keep same as in ldns. 4307238106Sdes - fixup checkconf chroot tests a bit more, chdir must be inside 4308238106Sdes chroot dir. 4309238106Sdes - documented 'gcc: unrecognized -KPIC option' errors on Solaris. 4310238106Sdes - example.conf values changed to /usr/local/etc/unbound 4311238106Sdes - DSA test work. 4312238106Sdes - DSA signatures: unbound is compatible with both encodings found. 4313238106Sdes It will detect and convert when necessary. 4314238106Sdes 4315238106Sdes14 April 2008: Wouter 4316238106Sdes - got update for parseunbound.pl statistics script from Kai Storbeck. 4317238106Sdes - tpkg tests for udp wait list. 4318238106Sdes - documented 0x20 status. 4319238106Sdes - fixup chroot and checkconf, it is much smarter now. 4320238106Sdes - fixup DSA EVP signature decoding. Solution that Jelte found copied. 4321238106Sdes - and check first sig byte for the encoding type. 4322238106Sdes 4323238106Sdes11 April 2008: Wouter 4324238106Sdes - random port selection out of the configged ports. 4325238106Sdes - fixup threadsafety for libevent-1.4.3+ (event_base_get_method). 4326238106Sdes - removed base_port. 4327238106Sdes - created 256-port ephemeral space for the OS, 59802 available. 4328238106Sdes - fixup consistency of port_if out array during heavy use. 4329238106Sdes 4330238106Sdes10 April 2008: Wouter 4331238106Sdes - --with-libevent works with latest libevent 1.4.99-trunk. 4332238106Sdes - added log file statistics perl script to contrib. 4333238106Sdes - automatic iana ports update from makefile. 60058 available. 4334238106Sdes 4335238106Sdes9 April 2008: Wouter 4336238106Sdes - configure can detect libev(from its build directory) when passed 4337238106Sdes --with-libevent=/home/wouter/libev-3.2 4338238106Sdes libev-3.2 is a little faster than libevent-1.4.3-stable (about 5%). 4339238106Sdes - unused commpoints not listed in epoll list. 4340238106Sdes - statistics-cumulative option so that the values are not reset. 4341238106Sdes - config creates array of available ports, 61841 available, 4342238106Sdes it excludes <1024 and iana assigned numbers. 4343238106Sdes config statements to modify the available port numbers. 4344238106Sdes 4345238106Sdes8 April 2008: Wouter 4346238106Sdes - unbound tries to set the ulimit fds when started as server. 4347238106Sdes if that does not work, it will scale back its requirements. 4348238106Sdes 4349238106Sdes27 March 2008: Wouter 4350238106Sdes - documented /dev/random symlink from chrootdir as FAQ entry. 4351238106Sdes 4352238106Sdes26 March 2008: Wouter 4353238106Sdes - implemented AD bit signaling. If a query sets AD bit (but not DO) 4354238106Sdes then the AD bit is set in the reply if the answer validated. 4355238106Sdes Without including DNSSEC signatures. Useful if you have a trusted 4356238106Sdes path from the client to the resolver. Follows dnssec-updates draft. 4357238106Sdes 4358238106Sdes25 March 2008: Wouter 4359238106Sdes - implemented check that for NXDOMAIN and NOERROR answers a query 4360238106Sdes section must be present in the reply (by the scrubber). And it must 4361238106Sdes be equal to the question sent, at least lowercase folded. 4362238106Sdes Previously this feature happened because the cache code refused 4363238106Sdes to store such messages. However blocking by the scrubber makes 4364238106Sdes sure nothing gets into the RRset cache. Also, this looks like a 4365238106Sdes timeout (instead of an allocation failure) and this retries are 4366238106Sdes done (which is useful in a spoofing situation). 4367238106Sdes - RTT banding. Band size 400 msec, this makes band around zero (fast) 4368238106Sdes include unknown servers. This makes unbound explore unknown servers. 4369238106Sdes 4370238106Sdes7 March 2008: Wouter 4371238106Sdes - -C config feature for harvest program. 4372238106Sdes - harvest handles CNAMEs too. 4373238106Sdes 4374238106Sdes5 March 2008: Wouter 4375238106Sdes - patch from Hugo Koji Kobayashi for iterator logs spelling. 4376238106Sdes 4377238106Sdes4 March 2008: Wouter 4378238106Sdes - From report by Jinmei Tatuya, rfc2181 trust value for remainder 4379238106Sdes of a cname trust chain is lower; not full answer_AA. 4380238106Sdes - test for this fix. 4381238106Sdes - default config file location is /usr/local/etc/unbound. 4382238106Sdes Thus prefix is used to determine the location. This is also the 4383238106Sdes chroot and pidfile default location. 4384238106Sdes 4385238106Sdes3 March 2008: Wouter 4386238106Sdes - Create 0.10 svn tag. 4387238106Sdes - 0.11 version in trunk. 4388238106Sdes - indentation nicer. 4389238106Sdes 4390238106Sdes29 February 2008: Wouter 4391238106Sdes - documentation update. 4392238106Sdes - fixup port to Solaris of perf test tool. 4393238106Sdes - updated ldns-tarball with decl-after-statement fixes. 4394238106Sdes 4395238106Sdes28 February 2008: Wouter 4396238106Sdes - fixed memory leaks in libunbound (during cancellation and wait). 4397238106Sdes - libunbound returns the answer packet in full. 4398238106Sdes - snprintf compat update. 4399238106Sdes - harvest performs lookup. 4400238106Sdes - ldns-tarball update with fix for ldns_dname_label. 4401238106Sdes - installs to sbin by default. 4402238106Sdes - install all manual pages (unbound-host and libunbound too). 4403238106Sdes 4404238106Sdes27 February 2008: Wouter 4405238106Sdes - option to use caps for id randomness. 4406238106Sdes - config file option use-caps-for-id: yes 4407238106Sdes - harvest debug tool 4408238106Sdes 4409238106Sdes26 February 2008: Wouter 4410238106Sdes - delay utility delays TCP as well. If the server that is forwarded 4411238106Sdes to has a TCP error, the delay utility closes the connection. 4412238106Sdes - delay does REUSE_ADDR, and can handle a server that closes its end. 4413238106Sdes - answers use casing from query. 4414238106Sdes 4415238106Sdes25 February 2008: Wouter 4416238106Sdes - delay utility works. Gets decent thoughput too (>20000). 4417238106Sdes 4418238106Sdes22 February 2008: Wouter 4419238106Sdes - +2% for recursions, if identical queries (except for destination 4420238106Sdes and query ID) in the reply list, avoid re-encoding the answer. 4421238106Sdes - removed TODO items for optimizations that do not show up in 4422238106Sdes profile reports. 4423238106Sdes - default is now minievent - not libevent. As its faster and 4424238106Sdes not needed for regular installs, only for very large port ranges. 4425238106Sdes - loop check different speedup pkt-dname-reading, 1% faster for 4426238106Sdes nocache-recursion check. 4427238106Sdes - less hashing during msg parse, 4% for recursion. 4428238106Sdes - small speed fix for dname_count_size_labels, +1 or +2% recursion. 4429238106Sdes - some speed results noted: 4430238106Sdes optimization resulted in +40% for recursion (cache miss) and 4431238106Sdes +70 to +80 for cache hits, and +96% for version.bind. 4432238106Sdes zone nsec3 example, 100 NXDOMAIN queries, NSD 35182.8 Ub 36048.4 4433238106Sdes www.nlnetlabs.nl from cache: BIND 8987.99 Ub 31218.3 4434238106Sdes www with DO bit set : BIND 8269.31 Ub 28735.6 qps. 4435238106Sdes So, unbound can be about equal qps to NSD in cache hits. 4436238106Sdes And about 3.4x faster than BIND in cache performance. 4437238106Sdes - delay utility for testing. 4438238106Sdes 4439238106Sdes21 February 2008: Wouter 4440238106Sdes - speedup of root-delegation message encoding by 15%. 4441238106Sdes - minor speedup of compress tree_lookup, maybe 1%. 4442238106Sdes - speedup of dname_lab_cmp and memlowercmp - the top functions in 4443238106Sdes profiler output, maybe a couple percent when it matters. 4444238106Sdes 4445238106Sdes20 February 2008: Wouter 4446238106Sdes - setup speec_cache for need-ldns-testns in dotests. 4447238106Sdes - check number of queued replies on incoming queries to avoid overload 4448238106Sdes on that account. 4449238106Sdes - fptr whitelist checks are not disabled in optimize mode. 4450238106Sdes - do-daemonize config file option. 4451238106Sdes - minievent time share initializes time at start. 4452238106Sdes - updated testdata for nsec3 new algorithm numbers (6, 7). 4453238106Sdes - small performance test of packet encoding (root delegation). 4454238106Sdes 4455238106Sdes19 February 2008: Wouter 4456238106Sdes - applied patch to unbound-host man page from Jan-Piet Mens. 4457238106Sdes - fix donotquery-localhost: yes default (it erroneously was switched 4458238106Sdes to default 'no'). 4459238106Sdes - time is only gotten once and the value is shared across unbound. 4460238106Sdes - unittest cleans up crypto, so that it has no memory leaks. 4461238106Sdes - mini_event shares the time value with unbound this results in 4462238106Sdes +3% speed for cache responses and +9% for recursions. 4463238106Sdes - ldns tarball update with new NSEC3 sign code numbers. 4464238106Sdes - perform several reads per UDP operation. This improves performance 4465238106Sdes in DoS conditions, and costs very little in normal conditions. 4466238106Sdes improves cache response +50%, and recursions +10%. 4467238106Sdes - modified asynclook test. because the callback from async is not 4468238106Sdes in any sort of lock (and thus can use all library functions freely), 4469238106Sdes this causes a tiny race condition window when the last lock is 4470238106Sdes released for a callback and a new cancel() for that callback. 4471238106Sdes The only way to remove this is by putting callbacks into some 4472238106Sdes lock window. I'd rather have the small possibility of a callback 4473238106Sdes for a cancelled function then no use of library functions in 4474238106Sdes callbacks. Could be possible to only outlaw process(), wait(), 4475238106Sdes cancel() from callbacks, by adding another lock, but I'd rather not. 4476238106Sdes 4477238106Sdes18 February 2008: Wouter 4478238106Sdes - patch to unbound-host from Jan-Piet Mens. 4479238106Sdes - unbound host prints errors if fails to configure context. 4480238106Sdes - fixup perf to resend faster, so that long waiting requests do 4481238106Sdes not hold up the queue, they become lost packets or SERVFAILs, 4482238106Sdes or can be sent a little while later (i.e. processing time may 4483238106Sdes take long, but throughput has to be high). 4484238106Sdes - fixup iterator operating in no cache conditions (RD flag unset 4485238106Sdes after a CNAME). 4486238106Sdes - streamlined code for RD flag setting. 4487238106Sdes - profiled code and changed dname compares to be faster. 4488238106Sdes The speedup is about +3% to +8% (depending on the test). 4489238106Sdes - minievent tests for eintr and eagain. 4490238106Sdes 4491238106Sdes15 February 2008: Wouter 4492238106Sdes - added FreeBSD rc.d script to contrib. 4493238106Sdes - --prefix option for configure also changes directory: pidfile: 4494238106Sdes and chroot: defaults in config file. 4495238106Sdes - added cache speed test, for cache size OK and cache too small. 4496238106Sdes 4497238106Sdes14 February 2008: Wouter 4498238106Sdes - start without a config file (will complain, but start with 4499238106Sdes defaults). 4500238106Sdes - perf test program works. 4501238106Sdes 4502238106Sdes13 February 2008: Wouter 4503238106Sdes - 0.9 released. 4504238106Sdes - 1.0 development. Printout ldns version on unbound -h. 4505238106Sdes - start of perf tool. 4506238106Sdes - bugfix to read empty lines from /etc/hosts. 4507238106Sdes 4508238106Sdes12 February 2008: Wouter 4509238106Sdes - fixup problem with configure calling itself if ldns-src tarball 4510238106Sdes is not present. 4511238106Sdes 4512238106Sdes11 February 2008: Wouter 4513238106Sdes - changed library to use ub_ instead of ub_val_ as prefix. 4514238106Sdes - statistics output text nice. 4515238106Sdes - etc/hosts handling. 4516238106Sdes - library function to put logging to a stream. 4517238106Sdes - set any option interface. 4518238106Sdes 4519238106Sdes8 February 2008: Wouter 4520238106Sdes - test program for multiple queries over a TCP channel. 4521238106Sdes - tpkg test for stream tcp queries. 4522238106Sdes - unbound replies to multiple TCP queries on a TCP channel. 4523238106Sdes - fixup misclassification of root referral with NS in answer 4524238106Sdes when validating a nonrec query. 4525238106Sdes - tag 0.9 4526238106Sdes - layout of manpages, spelling fix in header, manpages process by 4527238106Sdes makedist, list asynclook and tcpstream tests as ldns-testns 4528238106Sdes required. 4529238106Sdes 4530238106Sdes7 February 2008: Wouter 4531238106Sdes - moved up all current level 2 to be level 3. And 3 to 4. 4532238106Sdes to make room for new debug level 2 for detailed information 4533238106Sdes for operators. 4534238106Sdes - verbosity level 2. Describes recursion and validation. 4535238106Sdes - cleaner configure script and fixes for libevent solaris. 4536238106Sdes - signedness for log output memory sizes in high verbosity. 4537238106Sdes 4538238106Sdes6 February 2008: Wouter 4539238106Sdes - clearer explanation of threading configure options. 4540238106Sdes - fixup asynclook test for nothreading (it creates only one process 4541238106Sdes to do the extended test). 4542238106Sdes - changed name of ub_val_result_free to ub_val_resolve_free. 4543238106Sdes - removes warning message during library linking, renamed 4544238106Sdes libunbound/unbound.c -> libunbound.c and worker to libworker. 4545238106Sdes - fallback without EDNS if result is NOTIMPL as well as on FORMERR. 4546238106Sdes 4547238106Sdes5 February 2008: Wouter 4548238106Sdes - statistics-interval: seconds option added. 4549238106Sdes - test for statistics option 4550238106Sdes - ignore errors making directories, these can occur in parallel builds 4551238106Sdes - fixup Makefile strip command and libunbound docs typo. 4552238106Sdes 4553238106Sdes31 January 2008: Wouter 4554238106Sdes - bg thread/process reads and writes the pipe nonblocking all the time 4555238106Sdes so that even if the pipe is buffered or so, the bg thread does not 4556238106Sdes block, and services both pipes and queries. 4557238106Sdes 4558238106Sdes30 January 2008: Wouter 4559238106Sdes - check trailing / on chrootdir in checkconf. 4560238106Sdes - check if root hints and anchor files are in chrootdir. 4561238106Sdes - no route to host tcp error is verbosity level 2. 4562238106Sdes - removed unused send_reply_iov. and its configure check. 4563238106Sdes - added prints of 'remote address is 1.2.3.4 port 53' to errors 4564238106Sdes from netevent; the basic socket errors. 4565238106Sdes 4566238106Sdes28 January 2008: Wouter 4567238106Sdes - fixup uninit use of buffer by libunbound (query id, flags) for 4568238106Sdes local_zone answers. 4569238106Sdes - fixup uninit warning from random.c; also seems to fix sporadic 4570238106Sdes sigFPE coming out of openssl. 4571238106Sdes - made openssl entropy warning more silent for library use. Needs 4572238106Sdes verbosity 1 now. 4573238106Sdes - fixup forgotten locks for rbtree_searches on ctx->query tree. 4574238106Sdes - random generator cleanup - RND_STATE_SIZE removed, and instead 4575238106Sdes a super-rnd can be passed at init to chain init random states. 4576238106Sdes - test also does lock checks if available. 4577238106Sdes - protect config access in libworker_setup(). 4578238106Sdes - libevent doesn't like comm_base_exit outside of runloop. 4579238106Sdes - close fds after removing commpoints only (for epoll, kqueue). 4580238106Sdes 4581238106Sdes25 January 2008: Wouter 4582238106Sdes - added tpkg for asynclook and library use. 4583238106Sdes - allows localhost to be queried when as a library. 4584238106Sdes - fixup race condition between cancel and answer (in case of 4585238106Sdes really fast answers that beat the cancel). 4586238106Sdes - please doxygen, put doxygen comment in one place. 4587238106Sdes - asynclook -b blocking mode and test. 4588238106Sdes - refactor asynclook, nicer code. 4589238106Sdes - fixup race problems from opensll in rand init from library, with 4590238106Sdes a mutex around the rand init. 4591238106Sdes - fix pass async_id=NULL to _async resolve(). 4592238106Sdes - rewrote _wait() routine, so that it is threadsafe. 4593238106Sdes - cancelation is threadsafe. 4594238106Sdes - asynclook extended test in tpkg. 4595238106Sdes - fixed two races where forked bg process waits for (somehow shared?) 4596238106Sdes locks, so does not service the query pipe on the bg side. 4597238106Sdes Now those locks are only held for fg_threads and for bg_as_a_thread. 4598238106Sdes 4599238106Sdes24 January 2008: Wouter 4600238106Sdes - tested the cancel() function. 4601238106Sdes - asynclook -c (cancel) feature. 4602238106Sdes - fix fail to allocate context actions. 4603238106Sdes - make pipe nonblocking at start. 4604238106Sdes - update plane for retry mode with caution to limit bandwidth. 4605238106Sdes - fix Makefile for concurrent make of unbound-host. 4606238106Sdes - renamed ub_val_ctx_wait/poll/process/fd to ub_val*. 4607238106Sdes - new calls to set forwarding added to header and docs. 4608238106Sdes 4609238106Sdes23 January 2008: Wouter 4610238106Sdes - removed debug prints from if-auto, verb-algo enables some. 4611238106Sdes - libunbound QUIT setup, remove memory leaks, when using threads 4612238106Sdes will share memory for passing results instead of writing it over 4613238106Sdes the pipe, only writes ID number over the pipe (towards the handler 4614238106Sdes thread that does process() ). 4615238106Sdes 4616238106Sdes22 January 2008: Wouter 4617238106Sdes - library code for async in libunbound/unbound.c. 4618238106Sdes - fix link testbound. 4619238106Sdes - fixup exit bug in mini_event. 4620238106Sdes - background worker query enter and result functions. 4621238106Sdes - bg query test application asynclook, it looks up multiple 4622238106Sdes hostaddresses (A records) at the same time. 4623238106Sdes 4624238106Sdes21 January 2008: Wouter 4625238106Sdes - libworker work, netevent raw commpoints, write_msg, serialize. 4626238106Sdes 4627238106Sdes18 January 2008: Wouter 4628238106Sdes - touch up of manpage for libunbound. 4629238106Sdes - support for IP_RECVDSTADDR (for *BSD ip4). 4630238106Sdes - fix for BSD, do not use ip4to6 mapping, make two sockets, once 4631238106Sdes ip6 and once ip4, uses socket options. 4632238106Sdes - goodbye ip4to6 mapping. 4633238106Sdes - update ldns-testpkts with latest version from ldns-trunk. 4634238106Sdes - updated makedist for relative ldns pathnames. 4635238106Sdes - library API with more information inside the result structure. 4636238106Sdes - work on background resolves. 4637238106Sdes 4638238106Sdes17 January 2008: Wouter 4639238106Sdes - fixup configure in case -lldns is installed. 4640238106Sdes - fixup a couple of doxygen warnings, about enum variables. 4641238106Sdes - interface-automatic now copies the interface address from the 4642238106Sdes PKT_INFO structure as well. 4643238106Sdes - manual page with library API, all on one page 'man libunbound'. 4644238106Sdes - rewrite of PKTINFO structure, it also captures IP4 PKTINFO. 4645238106Sdes 4646238106Sdes16 January 2008: Wouter 4647238106Sdes - incoming queries to the server with TC bit on are replied FORMERR. 4648238106Sdes - interface-automatic replied the wrong source address on localhost 4649238106Sdes queries. Seems to be due to ifnum=0 in recvmsg PKTINFO. Trying 4650238106Sdes to use ifnum=-1 to mean 'no interface, use kernel route'. 4651238106Sdes 4652238106Sdes15 January 2008: Wouter 4653238106Sdes - interface-automatic feature. experimental. Nice for anycast. 4654238106Sdes - tpkg test for ip6 ancillary data. 4655238106Sdes - removed debug prints. 4656238106Sdes - porting experience, define for Solaris, test refined for BSD 4657238106Sdes compatibility. The feature probably will not work on OpenBSD. 4658238106Sdes - makedist fixup for ldns-src in build-dir. 4659238106Sdes 4660238106Sdes14 January 2008: Wouter 4661238106Sdes - in no debug sets NDEBUG to remove asserts. 4662238106Sdes - configure --enable-debug is needed for dependency generation 4663238106Sdes for assertions and for compiler warnings. 4664238106Sdes - ldns.tgz updated with ldns-trunk (where buffer.h is updated). 4665238106Sdes - fix lint, unit test in optimize mode. 4666238106Sdes - default access control allows ::ffff:127.0.0.1 v6mapped localhost. 4667238106Sdes 4668238106Sdes11 January 2008: Wouter 4669238106Sdes - man page, warning removed. 4670238106Sdes - added text describing the use of stub zones for private zones. 4671238106Sdes - checkconf tests for bad hostnames (IP address), and for doubled 4672238106Sdes interface lines. 4673238106Sdes - memory sizes can be given with 'k', 'Kb', or M or G appended. 4674238106Sdes 4675238106Sdes10 January 2008: Wouter 4676238106Sdes - typo in example.conf. 4677238106Sdes - made using ldns-src that is included the package more portable 4678238106Sdes by linking with .lo instead of .o files in the ldns package. 4679238106Sdes - nicer do-ip6: yes/no documentation. 4680238106Sdes - nicer linking of libevent .o files. 4681238106Sdes - man pages render correctly on solaris. 4682238106Sdes 4683238106Sdes9 January 2008: Wouter 4684238106Sdes - fixup openssl RAND problem, when the system is not configured to 4685238106Sdes give entropy, and the rng needs to be seeded. 4686238106Sdes 4687238106Sdes8 January 2008: Wouter 4688238106Sdes - print median and quartiles with extensive logging. 4689238106Sdes 4690238106Sdes4 January 2008: Wouter 4691238106Sdes - document misconfiguration in private network. 4692238106Sdes 4693238106Sdes2 January 2008: Wouter 4694238106Sdes - fixup typo in requirements. 4695238106Sdes - document that 'refused' is a better choice than 'drop' for 4696238106Sdes the access control list, as refused will stop retries. 4697238106Sdes 4698238106Sdes7 December 2007: Wouter 4699238106Sdes - unbound-host has a -d option to show what happens. This can help 4700238106Sdes with debugging (why do I get this answer). 4701238106Sdes - fixup CNAME handling, on nodata, sets and display canonname. 4702238106Sdes - dot removed from CNAME display. 4703238106Sdes - respect -v for NXDOMAINs. 4704238106Sdes - updated ldns-src.tar.gz with ldns-trunk today (1.2.2 fixes). 4705238106Sdes - size_t to int for portability of the header file. 4706238106Sdes - fixup bogus handling. 4707238106Sdes - dependencies and lint for unbound-host. 4708238106Sdes 4709238106Sdes6 December 2007: Wouter 4710238106Sdes - library resolution works in foreground mode, unbound-host app 4711238106Sdes receives data. 4712238106Sdes - unbound-host prints rdata using ldns. 4713238106Sdes - unbound-host accepts trust anchors, and prints validation 4714238106Sdes information when you give -v. 4715238106Sdes 4716238106Sdes5 December 2007: Wouter 4717238106Sdes - locking in context_new() inside the function. 4718238106Sdes - setup of libworker. 4719238106Sdes 4720238106Sdes4 December 2007: Wouter 4721238106Sdes - minor Makefile fixup. 4722238106Sdes - moved module-stack code out of daemon/daemon into services/modstack, 4723238106Sdes preparing for code-reuse. 4724238106Sdes - move context into own header file. 4725238106Sdes - context query structure. 4726238106Sdes - removed unused variable pwd from checkconf. 4727238106Sdes - removed unused assignment from outside netw. 4728238106Sdes - check timeval length of string. 4729238106Sdes - fixup error in val_utils getsigner. 4730238106Sdes - fixup same (*var) error in netblocktostr. 4731238106Sdes - fixup memleak on parse error in localzone. 4732238106Sdes - fixup memleak on packet parse error. 4733238106Sdes - put ; after union in parser.y. 4734238106Sdes - small hardening in iter_operate against iq==NULL. 4735238106Sdes - hardening, if error reply with rcode=0 (noerror) send servfail. 4736238106Sdes - fixup same (*var) error in find_rrset in msgparse, was harmless. 4737238106Sdes - check return value of evtimer_add(). 4738238106Sdes - fixup lockorder in lruhash_reclaim(), building up a list of locked 4739238106Sdes entries one at a time. Instead they are removed and unlocked. 4740238106Sdes - fptr_wlist for markdelfunc. 4741238106Sdes - removed is_locked param from lruhash delkeyfunc. 4742238106Sdes - moved bin_unlock during bin_split purely to please. 4743238106Sdes 4744238106Sdes3 December 2007: Wouter 4745238106Sdes - changed checkconf/ to smallapp/ to make room for more support tools. 4746238106Sdes (such as unbound-host). 4747238106Sdes - install dirs created with -m 755 because they need to be accessible. 4748238106Sdes - library extensive featurelist added to TODO. 4749238106Sdes - please doxygen, lint. 4750238106Sdes - library test application, with basic functionality. 4751238106Sdes - fix for building in a subdirectory. 4752238106Sdes - link lib fix for Leopard. 4753238106Sdes 4754238106Sdes30 November 2007: Wouter 4755238106Sdes - makefile that creates libunbound.la, basic file or libunbound.a 4756238106Sdes when creating static executables (no libtool). 4757238106Sdes - more API setup. 4758238106Sdes 4759238106Sdes29 November 2007: Wouter 4760238106Sdes - 0.9 public API start. 4761238106Sdes 4762238106Sdes28 November 2007: Wouter 4763238106Sdes - Changeup plan for 0.8 - no complication needed, a simple solution 4764238106Sdes has been chosen for authoritative features. 4765238106Sdes - you can use single quotes in the config file, so it is possible 4766238106Sdes to specify TXT records in local data. 4767238106Sdes - fixup small memory problem in implicit transparent zone creation. 4768238106Sdes - test for implicit zone creation and multiple RR RRsets local data. 4769238106Sdes - local-zone nodefault test. 4770238106Sdes - show testbound testlist on commit. 4771238106Sdes - iterator normalizer changes CNAME chains ending in NXDOMAIN where 4772238106Sdes the packet got rcode NXDOMAIN into rcode NOERROR. (since the initial 4773238106Sdes domain exists). 4774238106Sdes - nicer verbosity: 0 and 1 levels. 4775238106Sdes - lower nonRDquery chance of eliciting wrongly typed validation 4776238106Sdes requiring message from the cache. 4777238106Sdes - fix for nonRDquery validation typing; nodata is detected when 4778238106Sdes SOA record in auth section (all validation-requiring nodata messages 4779238106Sdes have a SOA record in authority, so this is OK for the validator), 4780238106Sdes and NS record is needed to be a referral. 4781238106Sdes - duplicate checking when adding NSECs for a CNAME, and test. 4782238106Sdes - created svn tag 0.8, after completing testbed tests. 4783238106Sdes 4784238106Sdes27 November 2007: Wouter 4785238106Sdes - per suggestion in rfc2308, replaced default max-ttl value with 1 day. 4786238106Sdes - set size of msgparse lookup table to 32, from 1024, so that its size 4787238106Sdes is below the 2048 regional large size threshold, and does not cause 4788238106Sdes a call to malloc when a message is parsed. 4789238106Sdes - update of memstats tool to print number of allocation calls. 4790238106Sdes This is what is taking time (not space) and indicates the avg size 4791238106Sdes of the allocations as well. region_alloc stat is removed. 4792238106Sdes 4793238106Sdes22 November 2007: Wouter 4794238106Sdes - noted EDNS in-the-middle dropping trouble as a TODO. 4795238106Sdes At this point theoretical, no user trouble has been reported. 4796238106Sdes - added all default AS112 zones. 4797238106Sdes - answers from local zone content. 4798238106Sdes * positive answer, the rrset in question 4799238106Sdes * nodata answer (exist, but not that type). 4800238106Sdes * nxdomain answer (domain does not exist). 4801238106Sdes * empty-nonterminal answer. 4802238106Sdes * But not: wildcard, nsec, referral, rrsig, cname/dname, 4803238106Sdes or additional section processing, NS put in auth. 4804238106Sdes - test for correct working of static and transparent and couple 4805238106Sdes of important defaults (localhost, as112, reverses). 4806238106Sdes Also checks deny and refuse settings. 4807238106Sdes - fixup implicit zone generation and AA bit for NXDOMAIN on localdata. 4808238106Sdes 4809238106Sdes21 November 2007: Wouter 4810238106Sdes - local zone internal data setup. 4811238106Sdes 4812238106Sdes20 November 2007: Wouter 4813238106Sdes - 0.8 - str2list config support for double string config options. 4814238106Sdes - local-zone and local-data options, config storage and documentation. 4815238106Sdes 4816238106Sdes19 November 2007: Wouter 4817238106Sdes - do not downcase NSEC and RRSIG for verification. Follows 4818238106Sdes draft-ietf-dnsext-dnssec-bis-updates-06.txt. 4819238106Sdes - fixup leaking unbound daemons at end of tests. 4820238106Sdes - README file updated. 4821238106Sdes - nice libevent not found error. 4822238106Sdes - README talks about gnu make. 4823238106Sdes - 0.8: unit test for addr_mask and fixups for it. 4824238106Sdes and unit test for addr_in_common(). 4825238106Sdes - 0.8: access-control config file element. 4826238106Sdes and unit test rpl replay file. 4827238106Sdes - 0.8: fixup address reporting from netevent. 4828238106Sdes 4829238106Sdes16 November 2007: Wouter 4830238106Sdes - privilege separation is not needed in unbound at this time. 4831238106Sdes TODO item marked as such. 4832238106Sdes - created beta-0.7 branch for support. 4833238106Sdes - tagged 0.7 for beta release. 4834238106Sdes - moved trunk to 0.8 for 0.8(auth features) development. 4835238106Sdes - 0.8: access control list setup. 4836238106Sdes 4837238106Sdes15 November 2007: Wouter 4838238106Sdes - review fixups from Jelte. 4839238106Sdes 4840238106Sdes14 November 2007: Wouter 4841238106Sdes - testbed script does not recreate configure, since its in svn now. 4842238106Sdes - fixup checkconf test so that it does not test 4843238106Sdes /etc/unbound/unbound.conf. 4844238106Sdes - tag 0.6. 4845238106Sdes 4846238106Sdes13 November 2007: Wouter 4847238106Sdes - remove debug print. 4848238106Sdes - fixup testbound exit when LIBEVENT_SIGNAL_PROBLEM exists. 4849238106Sdes 4850238106Sdes12 November 2007: Wouter 4851238106Sdes - fixup signal handling where SIGTERM could be ignored if a SIGHUP 4852238106Sdes arrives later on. 4853238106Sdes - bugreports to unbound-bugs@nlnetlabs.nl 4854238106Sdes - fixup testbound so it exits cleanly. 4855238106Sdes - cleanup the caches on a reload, so that rrsetID numbers won't clash. 4856238106Sdes 4857238106Sdes9 November 2007: Wouter 4858238106Sdes - took ldns snapshot in repo. 4859238106Sdes - default config file is /etc/unbound/unbound.conf. 4860238106Sdes If it doesn't exist, it is installed with the doc/example.conf file. 4861238106Sdes The file is not deleted on uninstall. 4862238106Sdes - default listening is not all, but localhost interfaces. 4863238106Sdes 4864238106Sdes8 November 2007: Wouter 4865238106Sdes - Fixup chroot and drop user privileges. 4866238106Sdes - new L root ip address in default hints. 4867238106Sdes 4868238106Sdes1 November 2007: Wouter 4869238106Sdes - Fixup of crash on reload, due to anchors in env not NULLed after 4870238106Sdes dealloc during deinit. 4871238106Sdes - Fixup of chroot call. Happens after privileges are dropped, so 4872238106Sdes that checking the passwd entry still works. 4873238106Sdes - minor touch up of clear() hashtable function. 4874238106Sdes - VERB_DETAIL prints out what chdir, username, chroot is being done. 4875238106Sdes - when id numbers run out, caches are cleared, as in design notes. 4876238106Sdes Tested with a mock setup with very few bits in id, it worked. 4877238106Sdes - harden-dnssec-stripped: yes is now default. It insists on dnssec 4878238106Sdes data for trust anchors. Included tests for the feature. 4879238106Sdes 4880238106Sdes31 October 2007: Wouter 4881238106Sdes - cache-max-ttl config option. 4882238106Sdes - building outside sourcedir works again. 4883238106Sdes - defaults more secure: 4884238106Sdes username: "unbound" 4885238106Sdes chroot: "/etc/unbound" 4886238106Sdes The operator can override them to be less secure ("") if necessary. 4887238106Sdes - fix horrible oversight in sorting rrset references in a message, 4888238106Sdes sort per reference key pointer, not on referencepointer itself. 4889238106Sdes - pidfile: "/etc/unbound/unbound.pid" is now the default. 4890238106Sdes - tests changed to reflect the updated default. 4891238106Sdes - created hashtable clear() function that respects locks. 4892238106Sdes 4893238106Sdes30 October 2007: Wouter 4894238106Sdes - fixup assertion failure that relied on compressed names to be 4895238106Sdes smaller than uncompressed names. A packet from comrite.com was seen 4896238106Sdes to be compressed to a larger size. Added it as unit test. 4897238106Sdes - quieter logging at low verbosity level for common tcp messages. 4898238106Sdes - no greedy TTL update. 4899238106Sdes 4900238106Sdes23 October 2007: Wouter 4901238106Sdes - fixup (grand-)parent problem for dnssec-lameness detection. 4902238106Sdes - fixup tests to do additional section processing for lame replies, 4903238106Sdes since the detection needs that. 4904238106Sdes - no longer trust in query section in reply during dnssec lame detect. 4905238106Sdes - dnssec lameness does not make the server never ever queried, but 4906238106Sdes non-preferred. If no other servers exist or answer, the dnssec lame 4907238106Sdes server is used; the fastest dnssec lame server is chosen. 4908238106Sdes - added test then when trust anchor cannot be primed (nodata), the 4909238106Sdes insecure mode from unbound works. 4910238106Sdes - Fixup max queries per thread, any more are dropped. 4911238106Sdes 4912238106Sdes22 October 2007: Wouter 4913238106Sdes - added donotquerylocalhost config option. Can be turned off for 4914238106Sdes out test cases. 4915238106Sdes - ISO C compat changes. 4916238106Sdes - detect RA-no-AA lameness, as LAME. 4917238106Sdes - DNSSEC-lameness detection, as LAME. 4918238106Sdes See notes in requirements.txt for choices made. 4919238106Sdes - tests for lameness detection. 4920238106Sdes - added all to make test target; need unbound for fwd tests. 4921238106Sdes - testbound does not pollute /etc/unbound. 4922238106Sdes 4923238106Sdes19 October 2007: Wouter 4924238106Sdes - added configure (and its files) to svn, so that the trunk is easier 4925238106Sdes to use. ./configure, config.guess, config.sub, ltmain.sh, 4926238106Sdes and config.h.in. 4927238106Sdes - added yacc/lex generated files, util/configlexer.c, 4928238106Sdes util/configparser.c util/configparser.h, to svn. 4929238106Sdes - without lex no attempt to use it. 4930238106Sdes - unsecure response validation collated into one block. 4931238106Sdes - remove warning about const cast of cfgfile name. 4932238106Sdes - outgoing-interfaces can be different from service interfaces. 4933238106Sdes - ldns-src configure is done during unbound configure and 4934238106Sdes ldns-src make is done during unbound make, and so inherits the 4935238106Sdes make arguments from the unbound make invocation. 4936238106Sdes - nicer error when libevent problem causes instant exit on signal. 4937238106Sdes - read root hints from a root hint file (like BIND does). 4938238106Sdes 4939238106Sdes18 October 2007: Wouter 4940238106Sdes - addresses are logged with errors. 4941238106Sdes - fixup testcode fake event to remove pending before callback 4942238106Sdes since the callback may create new pending items. 4943238106Sdes - tests updated because retries are now in iterator module. 4944238106Sdes - ldns-testpkts code is checked for differences between unbound 4945238106Sdes and ldns by makedist.sh. 4946238106Sdes - ldns trunk from today added in svn repo for fallback in case 4947238106Sdes no ldns is installed on the system. 4948238106Sdes make download_ldns refreshes the tarball with ldns svn trunk. 4949238106Sdes - ldns-src.tar.gz is used if no ldns is found on the system, and 4950238106Sdes statically linked into unbound. 4951238106Sdes - start of regional allocator code. 4952238106Sdes - regional uses less memory and variables, simplified code. 4953238106Sdes - remove of region-allocator. 4954238106Sdes - alloc cache keeps a cache of recently released regional blocks, 4955238106Sdes up to a maximum. 4956238106Sdes - make unit test cleanly free memory. 4957238106Sdes 4958238106Sdes17 October 2007: Wouter 4959238106Sdes - fixup another cycle detect and ns-addr timeout resolution bug. 4960238106Sdes This time by refusing delegations from the cache without addresses 4961238106Sdes when resolving a mandatory-glue nameserver-address for that zone. 4962238106Sdes We're going to have to ask a TLD server anyway; might as well be 4963238106Sdes the TLD server for this name. And this resolves a lot of cases where 4964238106Sdes the other nameserver names lead to cycles or are not available. 4965238106Sdes - changed random generator from random(3) clone to arc4random wrapped 4966238106Sdes for thread safety. The random generator is initialised with 4967238106Sdes entropy from the system. 4968238106Sdes - fix crash where failure to prime DNSKEY tried to print null pointer 4969238106Sdes in the log message. 4970238106Sdes - removed some debug prints, only verb_algo (4) enables them. 4971238106Sdes - fixup test; new random generator took new paths; such as one 4972238106Sdes where no scripted answer was available. 4973238106Sdes - mark insecure RRs as insecure. 4974238106Sdes - fixup removal of nonsecure items from the additional. 4975238106Sdes - reduced timeout values to more realistic, 376 msec (262 msec has 4976238106Sdes 90% of roundtrip times, 512 msec has 99% of roundtrip times.) 4977238106Sdes - server selection failover to next server after timeout (376 msec). 4978238106Sdes 4979238106Sdes16 October 2007: Wouter 4980238106Sdes - no malloc in log_hex. 4981238106Sdes - assertions around system calls. 4982238106Sdes - protect against gethostname without ending zero. 4983238106Sdes - ntop output is null terminated by unbound. 4984238106Sdes - pidfile content null termination 4985238106Sdes - various snprintf use sizeof(stringbuf) instead of fixed constant. 4986238106Sdes - changed loopdetect % 8 with & 0x7 since % can become negative for 4987238106Sdes weird negative input and particular interpretation of integer math. 4988238106Sdes - dname_pkt_copy checks length of result, to protect result buffers. 4989238106Sdes prints an error, this should not happen. Bad strings should have 4990238106Sdes been rejected earlier in the program. 4991238106Sdes - remove a size_t underflow from msgreply size func. 4992238106Sdes 4993238106Sdes15 October 2007: Wouter 4994238106Sdes - nicer warning. 4995238106Sdes - fix IP6 TCP, wrong definition check. With test package. 4996238106Sdes - fixup the fact that the query section was not compressed to, 4997238106Sdes the code was there but was called by value instead of by reference. 4998238106Sdes And test for the case, uses xxd and nc. 4999238106Sdes - more portable ip6 check for sockaddr types. 5000238106Sdes 5001238106Sdes8 October 2007: Wouter 5002238106Sdes - --disable-rpath option in configure for 64bit systems with 5003238106Sdes several dynamic lib dirs. 5004238106Sdes 5005238106Sdes7 October 2007: Wouter 5006238106Sdes - fixup tests for no AD bit in non-DO queries. 5007238106Sdes - test that makes sure AD bit is not set on non-DO query. 5008238106Sdes 5009238106Sdes6 October 2007: Wouter 5010238106Sdes - removed logfile open early. It did not have the proper permissions; 5011238106Sdes it was opened as root instead of the user. And we cannot change user 5012238106Sdes id yet, since chroot and bind ports need to be done. 5013238106Sdes - callback checks for event callbacks done from mini_event. Because 5014238106Sdes of deletions cannot do this from netevent. This means when using 5015238106Sdes libevent the protection does not work on event-callbacks. 5016238106Sdes - fixup too small reply (did not zero counts). 5017238106Sdes - fixup reply no longer AD bit when query without DO bit. 5018238106Sdes 5019238106Sdes5 October 2007: Wouter 5020238106Sdes - function pointer whitelist. 5021238106Sdes 5022238106Sdes4 October 2007: Wouter 5023238106Sdes - overwrite sensitive random seed value after use. 5024238106Sdes - switch to logfile very soon if not -d (console attached). 5025238106Sdes - error messages do not reveal the trustanchor contents. 5026238106Sdes - start work on function pointer whitelists. 5027238106Sdes 5028238106Sdes3 October 2007: Wouter 5029238106Sdes - fix for multiple empty nonterminals, after multiple DSes in the 5030238106Sdes chain of trust. 5031238106Sdes - mesh checks if modules are looping, and stops them. 5032238106Sdes - refetch with CNAMEd nameserver address regression test added. 5033238106Sdes - fixup line count bug in testcode, so testbound prints correct line 5034238106Sdes number with parse errors. 5035238106Sdes - unit test for multiple ENT case. 5036238106Sdes - fix for cname out of validated unsec zone. 5037238106Sdes - fixup nasty id=0 reuse. Also added assertions to detect its 5038238106Sdes return (the assertion catches in the existing test cases). 5039238106Sdes 5040238106Sdes1 October 2007: Wouter 5041238106Sdes - skip F77, CXX, objC tests in configure step. 5042238106Sdes - fixup crash in refetch glue after a CNAME. 5043238106Sdes and protection against similar failures (with error print). 5044238106Sdes 5045238106Sdes28 September 2007: Wouter 5046238106Sdes - test case for unbound-checkconf, fixed so it also checks the 5047238106Sdes interface: statements. 5048238106Sdes 5049238106Sdes26 September 2007: Wouter 5050238106Sdes - SIGHUP will reopen the log file. 5051238106Sdes - Option to log to syslog. 5052238106Sdes - please lint, fixup tests (that went to syslog on open, oops). 5053238106Sdes - config check program. 5054238106Sdes 5055238106Sdes25 September 2007: Wouter 5056238106Sdes - tests for NSEC3. Fixup bitmap checks for NSEC3. 5057238106Sdes - positive ANY response needs to check if wildcard expansion, and 5058238106Sdes check that original data did not exist. 5059238106Sdes - tests for NSEC3 that wrong use of OPTOUT is bad. For insecure 5060238106Sdes delegation, for abuse of child zone apex nsec3. 5061238106Sdes - create 0.5 release tag. 5062238106Sdes 5063238106Sdes24 September 2007: Wouter 5064238106Sdes - do not make test programs by default. 5065238106Sdes - But 'make test' will perform all of the tests. 5066238106Sdes - Advertise builtin select libevent alternative when no libevent 5067238106Sdes is found. 5068238106Sdes - signit can generate NSEC3 hashes, for generating tests. 5069292206Sdes - multiple nsec3 parameters in message test. 5070238106Sdes - too high nsec3 iterations becomes insecure test. 5071238106Sdes 5072238106Sdes21 September 2007: Wouter 5073238106Sdes - fixup empty_DS_name allocated in wrong region (port DEC Alpha). 5074238106Sdes - fixup testcode lock safety (port FreeBSD). 5075238106Sdes - removes subscript has type char warnings (port Solaris 9). 5076238106Sdes - fixup of field with format type to int (port MacOS/X intel). 5077238106Sdes - added test for infinite loop case in nonRD answer validation. 5078238106Sdes It was a more general problem, but hard to reproduce. When an 5079238106Sdes unsigned rrset is being validated and the key fetched, the DS 5080238106Sdes sequence is followed, but if the final name has no DS, then no 5081238106Sdes proof is possible - the signature has been stripped off. 5082238106Sdes 5083238106Sdes20 September 2007: Wouter 5084238106Sdes - fixup and test for NSEC wildcard with empty nonterminals. 5085238106Sdes - makedist.sh fixup for svn info. 5086238106Sdes - acl features request in plan. 5087238106Sdes - improved DS empty nonterminal handling. 5088238106Sdes - compat with ANS nxdomain for empty nonterminals. Attempts the nodata 5089238106Sdes proof anyway, which succeeds in ANS failure case. 5090238106Sdes - striplab protection in case it becomes -1. 5091238106Sdes - plans for static and blacklist config. 5092238106Sdes 5093238106Sdes19 September 2007: Wouter 5094238106Sdes - comments about non-packed usage. 5095238106Sdes - plan for overload support in 0.6. 5096238106Sdes - added testbound tests for a failed resolution from the logs 5097238106Sdes and for failed prime when missing glue. 5098238106Sdes - fixup so useless delegation points are not returned from the 5099238106Sdes cache. Also the safety belt is used if priming fails to complete. 5100238106Sdes - fixup NSEC rdata not to be lowercased, bind compat. 5101238106Sdes 5102238106Sdes18 September 2007: Wouter 5103238106Sdes - wildcard nsec3 testcases, and fixup to get correct wildcard name. 5104238106Sdes - validator prints subtype classification for debug. 5105238106Sdes 5106238106Sdes17 September 2007: Wouter 5107238106Sdes - NSEC3 hash cache unit test. 5108238106Sdes - validator nsec3 nameerror test. 5109238106Sdes 5110238106Sdes14 September 2007: Wouter 5111238106Sdes - nsec3 nodata proof, nods proof, wildcard proof. 5112238106Sdes - nsec3 support for cname chain ending in noerror or nodata. 5113238106Sdes - validator calls nsec3 proof routines if no NSECs prove anything. 5114238106Sdes - fixup iterator bug where it stored the answer to a cname under 5115238106Sdes the wrong qname into the cache. When prepending the cnames, the 5116238106Sdes qname has to be reset to the original qname. 5117238106Sdes 5118238106Sdes13 September 2007: Wouter 5119238106Sdes - nsec3 find matching and covering, ce proof, prove namerror msg. 5120238106Sdes 5121238106Sdes12 September 2007: Wouter 5122238106Sdes - fixup of manual page warnings, like for NSD bugreport. 5123238106Sdes - nsec3 work, config, max iterations, filter, and hash cache. 5124238106Sdes 5125238106Sdes6 September 2007: Wouter 5126238106Sdes - fixup to find libevent on mac port install. 5127238106Sdes - fixup size_t vs unsigned portability in validator/sigcrypt. 5128238106Sdes - please compiler on different platforms, for unreachable code. 5129238106Sdes - val_nsec3 file. 5130238106Sdes - pthread_rwlock type is optional, in case of old pthread libs. 5131238106Sdes 5132238106Sdes5 September 2007: Wouter 5133238106Sdes - cname, name error validator tests. 5134238106Sdes - logging of qtype ANY works. 5135238106Sdes - ANY type answers get RRSIG in answer section of replies (but not 5136238106Sdes in other sections, unless DO bit is on). 5137238106Sdes - testbound can replay a TCP query (set MATCH TCP in the QUERY). 5138238106Sdes - DS and noDS referral validation test. 5139238106Sdes - if you configure many trust anchors, parent trust anchors can 5140292206Sdes securely deny existence of child trust anchors, if validated. 5141238106Sdes - not all *.name NSECs are present because a wildcard was matched, 5142238106Sdes and *.name NSECs can prove nodata for empty nonterminals. 5143238106Sdes Also, for wildcard name NSECs, check they are not from the parent 5144238106Sdes zone (for wildcarded zone cuts), and check absence of CNAME bit, 5145238106Sdes for a nodata proof. 5146238106Sdes - configure option for memory allocation debugging. 5147238106Sdes - port configure option for memory allocation to solaris10. 5148238106Sdes 5149238106Sdes4 September 2007: Wouter 5150238106Sdes - fixup of Leakage warning when serviced queries processed multiple 5151238106Sdes callbacks for the same query from the same server. 5152238106Sdes - testbound removes config file from /tmp on failed exit. 5153238106Sdes - fixup for referral cleanup of the additional section. 5154238106Sdes - tests for cname, referral validation. 5155238106Sdes - neater testbound tpkg output. 5156238106Sdes - DNAMEs no longer match their apex when synthesized from the cache. 5157238106Sdes - find correct signer name for DNAME responses. 5158238106Sdes - wildcarded DNAME test and fixup code to detect. 5159238106Sdes - prepend NSEC and NSEC3 rrsets in the iterator while chasing CNAMEs. 5160238106Sdes So that wildcarded CNAMEs get their NSEC with them to the answer. 5161238106Sdes - test for a CNAME to a DNAME to a CNAME to an answer, all from 5162238106Sdes different domains, for key fetching and signature checking of 5163238106Sdes CNAME'd messages. 5164238106Sdes 5165238106Sdes3 September 2007: Wouter 5166238106Sdes - Fixed error in iterator that would cause assertion failure in 5167238106Sdes validator. CNAME to a NXDOMAIN response was collated into a response 5168238106Sdes with both a CNAME and the NXDOMAIN rcode. Added a test that the 5169238106Sdes rcode is changed to NOERROR (because of the CNAME). 5170238106Sdes - timeout on tcp does not lead to spurious leakage detect. 5171238106Sdes - account memory for name of lame zones, so that memory leakages does 5172238106Sdes not show lame cache growth as a leakage growth. 5173238106Sdes - config setting for lameness cache expressed in bytes, instead of 5174238106Sdes number of entries. 5175238106Sdes - tool too summarize allocations per code line. 5176238106Sdes 5177238106Sdes31 August 2007: Wouter 5178238106Sdes - can read bind trusted-keys { ... }; files, in a compatibility mode. 5179238106Sdes - iterator should not detach target queries that it still could need. 5180238106Sdes the protection against multiple outstanding queries is moved to a 5181238106Sdes current_query num check. 5182238106Sdes - validator nodata, positive, referral tests. 5183238106Sdes - dname print can print '*' wildcard. 5184238106Sdes 5185238106Sdes30 August 2007: Wouter 5186238106Sdes - fixup override date config option. 5187238106Sdes - config options to control memory usage. 5188238106Sdes - caught bad free of un-alloced data in worker_send error case. 5189238106Sdes - memory accounting for key cache (trust anchors and temporary cache). 5190238106Sdes - memory accounting fixup for outside network tcp pending waits. 5191238106Sdes - memory accounting fixup for outside network tcp callbacks. 5192238106Sdes - memory accounting for iterator fixed storage. 5193238106Sdes - key cache size and slabs config options. 5194238106Sdes - lib crypto cleanups at exit. 5195238106Sdes 5196238106Sdes29 August 2007: Wouter 5197238106Sdes - test tool to sign rrsets for testing validator with. 5198238106Sdes - added RSA and DSA test keys, public and private pairs, 512 bits. 5199238106Sdes - default configuration is with validation enabled. 5200238106Sdes Only a trust-anchor needs to be configured for DNSSEC to work. 5201238106Sdes - do not convert to DER for DSA signature verification. 5202238106Sdes - validator replay test file, for a DS to DNSKEY DSA key prime and 5203238106Sdes positive response. 5204238106Sdes 5205238106Sdes28 August 2007: Wouter 5206238106Sdes - removed double use for udp buffers, that could fail, 5207238106Sdes instead performs a malloc to do the backup. 5208238106Sdes - validator validates referral messages, by validating all the rrsets 5209238106Sdes and stores the rrsets in the cache. Further referral (nonRD queries) 5210238106Sdes replies are made from the rrset cache directly. Unless unchecked 5211238106Sdes rrsets are encountered, there are then validated. 5212238106Sdes - enforce that signing is done by a parent domain (or same domain). 5213238106Sdes - adjust TTL downwards if rrset TTL bigger than signature allows. 5214238106Sdes - permissive mode feature, sets AD bit for secure, but bogus does 5215238106Sdes not give servfail (bogus is changed into indeterminate). 5216238106Sdes - optimization of rrset verification. rr canonical sorting is reused, 5217238106Sdes for the same rrset. canonical rrset image in buffer is reused for 5218238106Sdes the same signature. 5219238106Sdes - if the rrset is too big (64k exactly + large owner name) the 5220238106Sdes canonicalization routine will fail if it does not fit in buffer. 5221238106Sdes - faster verification for large sigsets. 5222238106Sdes - verb_detail mode reports validation failures, but not the entire 5223238106Sdes algorithm for validation. Key prime failures are reported as 5224238106Sdes verb_ops level. 5225238106Sdes 5226238106Sdes27 August 2007: Wouter 5227238106Sdes - do not garble the edns if a cache answer fails. 5228238106Sdes - answer norecursive from cache if possible. 5229238106Sdes - honor clean_additional setting when returning secure non-recursive 5230238106Sdes referrals. 5231238106Sdes - do not store referral in msg cache for nonRD queries. 5232238106Sdes - store verification status in the rrset cache to speed up future 5233238106Sdes verification. 5234238106Sdes - mark rrsets indeterminate and insecure if they are found to be so. 5235238106Sdes and store this in the cache. 5236238106Sdes 5237238106Sdes24 August 2007: Wouter 5238238106Sdes - message is bogus if unsecure authority rrsets are present. 5239238106Sdes - val-clean-additional option, so you can turn it off. 5240238106Sdes - move rrset verification out of the specific proof types into one 5241238106Sdes routine. This makes the proof routines prettier. 5242238106Sdes - fixup cname handling in validator, cname-to-positive and cname-to- 5243238106Sdes nodata work. 5244238106Sdes - Do not synthesize DNSKEY and DS responses from the rrset cache if 5245238106Sdes the rrset is from the additional section. Signatures may have 5246238106Sdes fallen off the packet, and cause validation failure. 5247238106Sdes - more verbose signature date errors (with the date attached). 5248238106Sdes - increased default infrastructure cache size. It is important for 5249238106Sdes performance, and 1000 entries are only 212k (or a 400 k total cache 5250238106Sdes size). To 10000 entries (for 2M entries, 4M cache size). 5251238106Sdes 5252238106Sdes23 August 2007: Wouter 5253238106Sdes - CNAME handling - move needs_validation to before val_new(). 5254238106Sdes val_new() setups the chase-reply to be an edited copy of the msg. 5255238106Sdes new classification, and find signer can find for it. 5256238106Sdes removal of unsigned crap from additional, and query restart for 5257238106Sdes cname. 5258238106Sdes - refuse to follow wildcarded DNAMEs when validating. 5259238106Sdes But you can query for qtype ANY, or qtype DNAME and validate that. 5260238106Sdes 5261238106Sdes22 August 2007: Wouter 5262238106Sdes - bogus TTL. 5263238106Sdes - review - use val_error(). 5264238106Sdes 5265238106Sdes21 August 2007: Wouter 5266238106Sdes - ANY response validation. 5267238106Sdes - store security status in cache. 5268238106Sdes - check cache security status and either send the query to be 5269238106Sdes validated, return the query to client, or send servfail to client. 5270238106Sdes Sets AD bit on validated replies. 5271238106Sdes - do not examine security status on an error reply in mesh_done. 5272238106Sdes - construct DS, DNSKEY messages from rrset cache. 5273238106Sdes - manual page entry for override-date. 5274238106Sdes 5275238106Sdes20 August 2007: Wouter 5276238106Sdes - validate and positive validation, positive wildcard NSEC validation. 5277238106Sdes - nodata validation, nxdomain validation. 5278238106Sdes 5279238106Sdes18 August 2007: Wouter 5280238106Sdes - process DNSKEY response in FINDKEY state. 5281238106Sdes 5282238106Sdes17 August 2007: Wouter 5283238106Sdes - work on DS2KE routine. 5284238106Sdes - val_nsec.c for validator NSEC proofs. 5285238106Sdes - unit test for NSEC bitmap reading. 5286238106Sdes - dname iswild and canonical_compare with unit tests. 5287238106Sdes 5288238106Sdes16 August 2007: Wouter 5289238106Sdes - DS sig unit test. 5290238106Sdes - latest release libevent 1.3c and 1.3d have threading fixed. 5291238106Sdes - key entry fixup data pointer and ttl absolute. 5292238106Sdes - This makes a key-prime succeed in validator, with DS or DNSKEY as 5293238106Sdes trust-anchor. 5294238106Sdes - fixup canonical compare byfield routine, fix bug and also neater. 5295238106Sdes - fixed iterator response type classification for queries of type 5296238106Sdes ANY and NS. 5297238106Sdes dig ANY gives sometimes NS rrset in AN and NS section, and parser 5298238106Sdes removes the NS section duplicate. dig NS gives sometimes the NS 5299238106Sdes in the answer section, as referral. 5300238106Sdes - validator FINDKEY state. 5301238106Sdes 5302238106Sdes15 August 2007: Wouter 5303238106Sdes - crypto calls to verify signatures. 5304238106Sdes - unit test for rrsig verification. 5305238106Sdes 5306238106Sdes14 August 2007: Wouter 5307238106Sdes - default outgoing ports changed to avoid port 2049 by default. 5308238106Sdes This port is widely blocked by firewalls. 5309238106Sdes - count infra lameness cache in memory size. 5310238106Sdes - accounting of memory improved 5311238106Sdes - outbound entries are allocated in the query region they are for. 5312238106Sdes - extensive debugging for memory allocations. 5313238106Sdes - --enable-lock-checks can be used to enable lock checking. 5314238106Sdes - protect undefs in config.h from autoheaders ministrations. 5315238106Sdes - print all received udp packets. log hex will print on multiple 5316238106Sdes lines if needed. 5317238106Sdes - fixed error in parser with backwards rrsig references. 5318238106Sdes - mark cycle targets for iterator did not have CD flag so failed 5319238106Sdes its task. 5320238106Sdes 5321238106Sdes13 August 2007: Wouter 5322238106Sdes - fixup makefile, if lexer is missing give nice error and do not 5323238106Sdes mess up the dependencies. 5324238106Sdes - canonical compare routine updated. 5325238106Sdes - canonical hinfo compare. 5326238106Sdes - printout list of the queries that the mesh is working on. 5327238106Sdes 5328238106Sdes10 August 2007: Wouter 5329238106Sdes - malloc and free overrides that track total allocation and frees. 5330238106Sdes for memory debugging. 5331238106Sdes - work on canonical sort. 5332238106Sdes 5333238106Sdes9 August 2007: Wouter 5334238106Sdes - canonicalization, signature checks 5335238106Sdes - dname signature label count and unit test. 5336238106Sdes - added debug heap size print to memory printout. 5337238106Sdes - typo fixup in worker.c 5338238106Sdes - -R needed on solaris. 5339238106Sdes - validator override option for date check testing. 5340238106Sdes 5341238106Sdes8 August 2007: Wouter 5342238106Sdes - ldns _raw routines created (in ldns trunk). 5343238106Sdes - sigcrypt DS digest routines 5344238106Sdes - val_utils uses sigcrypt to perform signature cryptography. 5345238106Sdes - sigcrypt keyset processing 5346238106Sdes 5347238106Sdes7 August 2007: Wouter 5348238106Sdes - security status type. 5349238106Sdes - security status is copied when rdata is equal for rrsets. 5350238106Sdes - rrset id is updated to invalidate all the message cache entries 5351238106Sdes that refer to NSEC, NSEC3, DNAME rrsets that have changed. 5352238106Sdes - val_util work 5353238106Sdes - val_sigcrypt file for validator signature checks. 5354238106Sdes 5355238106Sdes6 August 2007: Wouter 5356238106Sdes - key cache for validator. 5357238106Sdes - moved isroot and dellabel to own dname routines, with unit test. 5358238106Sdes 5359238106Sdes3 August 2007: Wouter 5360238106Sdes - replanning. 5361238106Sdes - scrubber check section of lame NS set. 5362238106Sdes - trust anchors can be in config file or read from zone file, 5363238106Sdes DS and DNSKEY entries. 5364238106Sdes - unit test trust anchor storage. 5365238106Sdes - trust anchors converted to packed rrsets. 5366238106Sdes - key entry definition. 5367238106Sdes 5368238106Sdes2 August 2007: Wouter 5369238106Sdes - configure change for latest libevent trunk version (needs -lrt). 5370238106Sdes - query_done and walk_supers are moved out of module interface. 5371238106Sdes - fixup delegation point duplicates. 5372238106Sdes - fixup iterator scrubber; lame NS set is let through the scrubber 5373238106Sdes so that the classification is lame. 5374238106Sdes - validator module exists, and does nothing but pass through, 5375238106Sdes with calling of next module and return. 5376238106Sdes - validator work. 5377238106Sdes 5378238106Sdes1 August 2007: Wouter 5379238106Sdes - set version to 0.5 5380238106Sdes - module work for module to module interconnections. 5381238106Sdes - config of modules. 5382238106Sdes - detect cycle takes flags. 5383238106Sdes 5384238106Sdes31 July 2007: Wouter 5385238106Sdes - updated plan 5386238106Sdes - release 0.4 tag. 5387238106Sdes 5388238106Sdes30 July 2007: Wouter 5389238106Sdes - changed random state init, so that sequential process IDs are not 5390238106Sdes cancelled out by sequential thread-ids in the random number seed. 5391238106Sdes - the fwd_three test, which sends three queries to unbound, and 5392238106Sdes unbound is kept waiting by ldns-testns for 3 seconds, failed 5393238106Sdes because the retry timeout for default by unbound is 3 seconds too, 5394238106Sdes it would hit that timeout and fail the test. Changed so that unbound 5395238106Sdes is kept waiting for 2 seconds instead. 5396238106Sdes 5397238106Sdes27 July 2007: Wouter 5398238106Sdes - removed useless -C debug option. It did not work. 5399238106Sdes - text edit of documentation. 5400238106Sdes - added doc/CREDITS file, referred to by the manpages. 5401238106Sdes - updated planning. 5402238106Sdes 5403238106Sdes26 July 2007: Wouter 5404238106Sdes - cycle detection, for query state dependencies. Will attempt to 5405238106Sdes circumvent the cycle, but if no other targets available fails. 5406238106Sdes - unit test for AXFR, IXFR response. 5407238106Sdes - test for cycle detection. 5408238106Sdes 5409238106Sdes25 July 2007: Wouter 5410238106Sdes - testbound read ADDRESS and check it. 5411238106Sdes - test for version.bind and friends. 5412238106Sdes - test for iterator chaining through several referrals. 5413238106Sdes - test and fixup for refetch for glue. Refetch fails if glue 5414238106Sdes is still not provided. 5415238106Sdes 5416238106Sdes24 July 2007: Wouter 5417238106Sdes - Example section in config manual. 5418238106Sdes - Addr stored for range and moment in replay. 5419238106Sdes 5420238106Sdes20 July 2007: Wouter 5421238106Sdes - Check CNAME chain before returning cache entry with CNAMEs. 5422238106Sdes - Option harden-glue, default is on. It will discard out of zone 5423238106Sdes data. If disabled, performance is faster, but spoofing attempts 5424238106Sdes become a possibility. Note that still normalize scrubbing is done, 5425238106Sdes and that the potentially spoofed data is used for infrastructure 5426238106Sdes and not returned to the client. 5427238106Sdes - if glue times out, refetch by asking parent of delegation again. 5428238106Sdes Much like asking for DS at the parent side. 5429238106Sdes - TODO items from forgery-resilience draft. 5430238106Sdes and on memory handling improvements. 5431238106Sdes - renamed module_event_timeout to module_event_noreply. 5432238106Sdes - memory reporting code; reports on memory usage after handling 5433238106Sdes a network packet (not on cache replies). 5434238106Sdes 5435238106Sdes19 July 2007: Wouter 5436238106Sdes - shuffle NS selection when getting nameserver target addresses. 5437238106Sdes - fixup of deadlock warnings, yield cpu in checklock code so that 5438238106Sdes freebsd scheduler selects correct process to run. 5439238106Sdes - added identity and version config options and replies. 5440238106Sdes - store cname messages complete answers. 5441238106Sdes 5442238106Sdes18 July 2007: Wouter 5443238106Sdes - do not query addresses, 127.0.0.1, and ::1 by default. 5444238106Sdes 5445238106Sdes17 July 2007: Wouter 5446238106Sdes - forward zone options in config file. 5447292206Sdes - forward per zone in iterator. takes precedence over stubs. 5448238106Sdes - fixup commithooks. 5449238106Sdes - removed forward-to and forward-to-port features, subsumed by 5450238106Sdes new forward zones. 5451238106Sdes - fix parser to handle absent server: clause. 5452238106Sdes - change untrusted rrset test to account for scrubber that is now 5453238106Sdes applied during the test (which removes the poison, by the way). 5454238106Sdes - feature, addresses can be specified with @portnumber, like nsd.conf. 5455238106Sdes - test config files changed over to new forwarder syntax. 5456238106Sdes 5457238106Sdes27 June 2007: Wouter 5458238106Sdes - delete of mesh does a postorder traverse of the tree. 5459238106Sdes - found and fixed a memory leak. For TTL=0 messages, that would 5460238106Sdes not be cached, instead the msg-replyinfo structure was leaked. 5461238106Sdes - changed server selection so it will filter out hosts that are 5462238106Sdes unresponsive. This is defined as a host with the maximum rto value. 5463238106Sdes This means that unbound tried the host for retries up to 120 secs. 5464238106Sdes The rto value will time out after host-ttl seconds from the cache. 5465238106Sdes This keeps such unresolvable queries from taking up resources. 5466238106Sdes - utility for keeping histogram. 5467238106Sdes 5468238106Sdes26 June 2007: Wouter 5469238106Sdes - mesh is called by worker, and iterator uses it. 5470238106Sdes This removes the hierarchical code. 5471238106Sdes QueryTargets state and Finished state are merged for iterator. 5472238106Sdes - forwarder mode no longer sets AA bit on first reply. 5473238106Sdes - rcode in walk_supers is not needed. 5474238106Sdes 5475238106Sdes25 June 2007: Wouter 5476238106Sdes - more mesh work. 5477238106Sdes - error encode routine for ease. 5478238106Sdes 5479238106Sdes22 June 2007: Wouter 5480238106Sdes - removed unused _node iterator value from rbtree_t. Takes up space. 5481238106Sdes - iterator can handle querytargets state without a delegation point 5482238106Sdes set, so that a priming(stub) subquery error can be handled. 5483238106Sdes - iterator stores if it is priming or not. 5484238106Sdes - log_query_info() neater logging. 5485238106Sdes - changed iterator so that it does not alter module_qstate.qinfo 5486238106Sdes but keeps a chase query info. Also query_flags are not altered, 5487238106Sdes the iterator uses chase_flags. 5488238106Sdes - fixup crash in case no ports for the family exist. 5489238106Sdes 5490238106Sdes21 June 2007: Wouter 5491238106Sdes - Fixup secondary buffer in case of error callback. 5492238106Sdes - cleanup slumber list of runnable states. 5493238106Sdes - module_subreq_depth fails to work in slumber list. 5494238106Sdes - fixup query release for cached results to sub targets. 5495238106Sdes - neater error for tcp connection failure, shows addr in verbose. 5496238106Sdes - rbtree_init so that it can be used with preallocated memory. 5497238106Sdes 5498238106Sdes20 June 2007: Wouter 5499238106Sdes - new -C option to enable coredumps after forking away. 5500238106Sdes - doc update. 5501238106Sdes - fixup CNAME generation by scrubber, and memory allocation of it. 5502238106Sdes - fixup deletion of serviced queries when all callbacks delete too. 5503238106Sdes - set num target queries to 0 when you move them to slumber list. 5504238106Sdes - typo in check caused subquery errors to be ignored, fixed. 5505238106Sdes - make lint happy about rlim_t. 5506238106Sdes - freeup of modules after freeup of module-states. 5507238106Sdes - duplicate replies work, this uses secondary udp buffer in outnet. 5508238106Sdes 5509238106Sdes19 June 2007: Wouter 5510238106Sdes - nicer layout in stats.c, review 0.3 change. 5511238106Sdes - spelling improvement, review 0.3 change. 5512238106Sdes - uncapped timeout for server selection, so that very fast or slow 5513238106Sdes servers will stand out from the rest. 5514238106Sdes - target-fetch-policy: "3 2 1 0 0" config setting. 5515238106Sdes - fixup queries answered without RD bit (for root prime results). 5516238106Sdes - refuse AXFR and IXFR requests. 5517238106Sdes - fixup RD flag in error reply from iterator. fixup RA flag from 5518238106Sdes worker error reply. 5519238106Sdes - fixup encoding of very short edns buffer sizes, now sets TC bit. 5520238106Sdes - config options harden-short-bufsize and harden-large-queries. 5521238106Sdes 5522238106Sdes18 June 2007: Wouter 5523238106Sdes - same, move subqueries to slumber list when first has resolved. 5524238106Sdes - fixup last fix for duplicate callbacks. 5525238106Sdes - another offbyone in targetcounter. Also in Java prototype by the way. 5526238106Sdes 5527238106Sdes15 June 2007: Wouter 5528238106Sdes - if a query asks to be notified of the same serviced query result 5529238106Sdes multiple times, this will succeed. Only one callback will happen; 5530238106Sdes multiple outbound-list entries result (but the double cleanup of it 5531238106Sdes will not matter). 5532238106Sdes - when iterator moves on due to CNAME or referral, it will remove 5533238106Sdes the subqueries (for other targets). These are put on the slumber 5534238106Sdes list. 5535238106Sdes - state module wait subq is OK with no new subqs, an old one may have 5536238106Sdes stopped, with an error, and it is still waiting for other ones. 5537238106Sdes - if a query loops, halt entire query (easy way to clean up properly). 5538238106Sdes 5539238106Sdes14 June 2007: Wouter 5540238106Sdes - num query targets was > 0 , not >= 0 compared, so that fetch 5541238106Sdes policy of 0 did nothing. 5542238106Sdes 5543238106Sdes13 June 2007: Wouter 5544238106Sdes - debug option: configure --enable-static-exe for compile where 5545238106Sdes ldns and libevent are linked statically. Default is off. 5546238106Sdes - make install and make uninstall. Works with static-exe and without. 5547238106Sdes installation of unbound binary and manual pages. 5548292206Sdes - alignment problem fix on solaris 64. 5549238106Sdes - fixup address in case of TCP error. 5550238106Sdes 5551238106Sdes12 June 2007: Wouter 5552238106Sdes - num target queries was set to 0 at a bad time. Default it to 0 and 5553238106Sdes increase as target queries are done. 5554238106Sdes - synthesize CNAME and DNAME responses from the cache. 5555238106Sdes - Updated doxygen config for doxygen 1.5. 5556238106Sdes - aclocal newer version. 5557238106Sdes - doxygen 1.5 fixes for comments (for the strict check on docs). 5558238106Sdes 5559238106Sdes11 June 2007: Wouter 5560238106Sdes - replies on TCP queries have the address field set in replyinfo, 5561238106Sdes for serviced queries, because the initiator does not know that 5562238106Sdes a TCP fallback has occured. 5563238106Sdes - omit DNSSEC types from nonDO replies, except if qtype is ANY or 5564238106Sdes if qtype directly queries for the type (and then only show that 5565238106Sdes 'unknown type' in the answer section). 5566238106Sdes - fixed message parsing where rrsigs on their own would be put 5567238106Sdes in the signature list over the rrsig type. 5568238106Sdes 5569238106Sdes7 June 2007: Wouter 5570238106Sdes - fixup error in double linked list insertion for subqueries and 5571238106Sdes for outbound list of serviced queries for iterator module. 5572238106Sdes - nicer printout of outgoing port selection. 5573238106Sdes - fixup cname target readout. 5574238106Sdes - nicer debug output. 5575238106Sdes - fixup rrset counts when prepending CNAMEs to the answer. 5576238106Sdes - fixup rrset TTL for prepended CNAMEs. 5577238106Sdes - process better check for looping modules, and which submodule to 5578238106Sdes run next. 5579238106Sdes - subreq insertion code fixup for slumber list. 5580238106Sdes - VERB_DETAIL, verbosity: 2 level gives short but readable output. 5581238106Sdes VERB_ALGO, verbosity: 3 gives extensive output. 5582238106Sdes - fixup RA bit in cached replies. 5583238106Sdes - fixup CNAME responses from the cache no longer partial response. 5584238106Sdes - error in network send handled without leakage. 5585238106Sdes - enable ip6 from config, and try ip6 addresses if available, 5586238106Sdes if ip6 is not connected, skips to next server. 5587238106Sdes 5588238106Sdes5 June 2007: Wouter 5589238106Sdes - iterator state finished. 5590238106Sdes - subrequests without parent store in cache and stop. 5591238106Sdes - worker slumber list for ongoing promiscuous queries. 5592238106Sdes - subrequest error handling. 5593238106Sdes - priming failure returns SERVFAIL. 5594238106Sdes - priming gives LAME result, returns SERVFAIL. 5595238106Sdes - debug routine to print dns_msg as handled by iterator. 5596238106Sdes - memleak in config file stubs fixup. 5597238106Sdes - more small bugs, in scrubber, query compare no ID for lookup, 5598238106Sdes in dname validation for NS targets. 5599238106Sdes - sets entry.key for new special allocs. 5600238106Sdes - lognametypeclass can display unknown types and classes. 5601238106Sdes 5602238106Sdes4 June 2007: Wouter 5603238106Sdes - random selection of equally preferred nameserver targets. 5604238106Sdes - reply info copy routine. Reuses existing code. 5605238106Sdes - cache lameness in response handling. 5606238106Sdes - do not touch qstate after worker_process_query because it may have 5607238106Sdes been deleted by that routine. 5608238106Sdes - Prime response state. 5609238106Sdes - Process target response state. 5610238106Sdes - some memcmp changed to dname_compare for case preservation. 5611238106Sdes 5612238106Sdes1 June 2007: Wouter 5613238106Sdes - normalize incoming messages. Like unbound-java, with CNAME chain 5614238106Sdes checked, DNAME checked, CNAME's synthesized, glue checked. 5615238106Sdes - sanitize incoming messages. 5616238106Sdes - split msgreply encode functions into own file msgencode.c. 5617238106Sdes - msg_parse to queryinfo/replyinfo conversion more versatile. 5618238106Sdes - process_response, classify response, delegpt_from_message. 5619238106Sdes 5620238106Sdes31 May 2007: Wouter 5621238106Sdes - querytargets state. 5622238106Sdes - dname_subdomain_c() routine. 5623238106Sdes - server selection, based on RTT. ip6 is filtered out if not available, 5624238106Sdes and lameness is checked too. 5625238106Sdes - delegation point copy routine. 5626238106Sdes 5627238106Sdes30 May 2007: Wouter 5628238106Sdes - removed FLAG_CD from message and rrset caches. This was useful for 5629238106Sdes an agnostic forwarder, but not for a sophisticated (trust value per 5630238106Sdes rrset enabled) cache. 5631292206Sdes - iterator response typing. 5632238106Sdes - iterator cname handle. 5633238106Sdes - iterator prime start. 5634238106Sdes - subquery work. 5635238106Sdes - processInitRequest and processInitRequest2. 5636238106Sdes - cache synthesizes referral messages, with DS and NSEC. 5637238106Sdes - processInitRequest3. 5638238106Sdes - if a request creates multiple subrequests these are all activated. 5639238106Sdes 5640238106Sdes29 May 2007: Wouter 5641238106Sdes - routines to lock and unlock array of rrsets moved to cache/rrset. 5642238106Sdes - lookup message from msg cache (and copy to region). 5643238106Sdes - fixed cast error in dns msg lookup. 5644238106Sdes - message with duplicate rrset does not increase its TTLs twice. 5645238106Sdes - 'qnamesize' changed to 'qname_len' for similar naming scheme. 5646238106Sdes 5647238106Sdes25 May 2007: Wouter 5648238106Sdes - Acknowledge use of unbound-java code in iterator. Nicer readme. 5649238106Sdes - services/cache/dns.c DNS Cache. Hybrid cache uses msgcache and 5650238106Sdes rrset cache from module environment. 5651292206Sdes - packed rrset key has type and class as easily accessible struct 5652238106Sdes members. They are still kept in network format for fast msg encode. 5653238106Sdes - dns cache find_delegation routine. 5654238106Sdes - iterator main functions setup. 5655238106Sdes - dns cache lookup setup. 5656238106Sdes 5657238106Sdes24 May 2007: Wouter 5658238106Sdes - small changes to prepare for subqueries. 5659238106Sdes - iterator forwarder feature separated out. 5660238106Sdes - iterator hints stub code, config file stub code, so that first 5661238106Sdes testing can proceed locally. 5662238106Sdes - replay tests now have config option to enable forwarding mode. 5663238106Sdes 5664238106Sdes23 May 2007: Wouter 5665238106Sdes - outside network does precise timers for roundtrip estimates for rtt 5666238106Sdes and for setting timeout for UDP. Pending_udp takes milliseconds. 5667238106Sdes - cleaner iterator sockaddr conversion of forwarder address. 5668238106Sdes - iterator/iter_utils and iter_delegpt setup. 5669238106Sdes - root hints. 5670238106Sdes 5671238106Sdes22 May 2007: Wouter 5672238106Sdes - outbound query list for modules and support to callback with the 5673238106Sdes outbound entry to the module. 5674238106Sdes - testbound support for new serviced queries. 5675238106Sdes - test for retry to TCP cannot use testbound any longer. 5676238106Sdes - testns test for EDNS fallback, test for TCP fallback already exists. 5677238106Sdes - fixes for no-locking compile. 5678238106Sdes - mini_event timer precision and fix for change in timeouts during 5679238106Sdes timeout callback. Fix for fwd_three tests, performed nonexit query. 5680238106Sdes 5681238106Sdes21 May 2007: Wouter 5682238106Sdes - small comment on hash table locking. 5683238106Sdes - outside network serviced queries, contain edns and tcp fallback, 5684238106Sdes and udp retries and rtt timing. 5685238106Sdes 5686238106Sdes16 May 2007: Wouter 5687238106Sdes - lruhash_touch() would cause locking order problems. Fixup in 5688238106Sdes lock-verify in case locking cycle is found. 5689238106Sdes - services/cache/rrset.c for rrset cache code. 5690238106Sdes - special rrset_cache LRU updating function that uses the rrset id. 5691238106Sdes - no dependencies calculation when make clean is called. 5692238106Sdes - config settings for infra cache. 5693238106Sdes - daemon code slightly cleaner, only creates caches once. 5694238106Sdes 5695238106Sdes15 May 2007: Wouter 5696238106Sdes - host cache code. 5697238106Sdes - unit test for host cache. 5698238106Sdes 5699238106Sdes14 May 2007: Wouter 5700238106Sdes - Port to OS/X and Dec Alpha. Printf format and alignment fixes. 5701238106Sdes - extensive lock debug report on join timeout. 5702238106Sdes - proper RTT calculation, in utility code. 5703238106Sdes - setup of services/cache/infra, host cache. 5704238106Sdes 5705238106Sdes11 May 2007: Wouter 5706238106Sdes - iterator/iterator.c module. 5707238106Sdes - fixup to pass reply_info in testcode and in netevent. 5708238106Sdes 5709238106Sdes10 May 2007: Wouter 5710238106Sdes - created release-0.3 svn tag. 5711238106Sdes - util/module.h 5712238106Sdes - fixed compression - no longer compresses root name. 5713238106Sdes 5714238106Sdes9 May 2007: Wouter 5715238106Sdes - outside network cleans up waiting tcp queries on exit. 5716238106Sdes - fallback to TCP. 5717238106Sdes - testbound replay with retry in TCP mode. 5718238106Sdes - tpkg test for retry in TCP mode, against ldns-testns server. 5719238106Sdes - daemon checks max number of open files and complains if not enough. 5720238106Sdes - test where data expires in the cache. 5721238106Sdes - compiletests: fixed empty body ifstatements in alloc.c, in case 5722238106Sdes locks are disabled. 5723238106Sdes 5724238106Sdes8 May 2007: Wouter 5725238106Sdes - outgoing network keeps list of available tcp buffers for outgoing 5726238106Sdes tcp queries. 5727238106Sdes - outgoing-num-tcp config option. 5728238106Sdes - outgoing network keeps waiting list of queries waiting for buffer. 5729238106Sdes - netevent supports outgoing tcp commpoints, nonblocking connects. 5730238106Sdes 5731238106Sdes7 May 2007: Wouter 5732238106Sdes - EDNS read from query, used to make reply smaller. 5733238106Sdes - advertised edns value constants. 5734238106Sdes - EDNS BADVERS response, if asked for too high edns version. 5735292206Sdes - EDNS extended error responses once the EDNS record from the query 5736238106Sdes has successfully been parsed. 5737238106Sdes 5738238106Sdes4 May 2007: Wouter 5739238106Sdes - msgreply sizefunc is more accurate. 5740238106Sdes - config settings for rrset cache size and slabs. 5741238106Sdes - hashtable insert takes argument so that a thread can use its own 5742238106Sdes alloc cache to store released keys. 5743238106Sdes - alloc cache special_release() locks if necessary. 5744238106Sdes - rrset trustworthiness type added. 5745238106Sdes - thread keeps a scratchpad region for handling messages. 5746238106Sdes - writev used in netevent to write tcp length and data after another. 5747238106Sdes This saves a roundtrip on tcp replies. 5748238106Sdes - test for one rrset updated in the cache. 5749238106Sdes - test for one rrset which is not updated, as it is not deemed 5750238106Sdes trustworthy enough. 5751238106Sdes - test for TTL refreshed in rrset. 5752238106Sdes 5753238106Sdes3 May 2007: Wouter 5754238106Sdes - fill refs. Use new parse and encode to answer queries. 5755238106Sdes - stores rrsets in cache. 5756238106Sdes - uses new msgreply format in cache. 5757238106Sdes 5758238106Sdes2 May 2007: Wouter 5759238106Sdes - dname unit tests in own file and spread out neatly in functions. 5760238106Sdes - more dname unit tests. 5761238106Sdes - message encoding creates truncated TC flagged messages if they do 5762238106Sdes not fit, and will leave out (whole)rrsets from additional if needed. 5763238106Sdes 5764238106Sdes1 May 2007: Wouter 5765238106Sdes - decompress query section, extremely lenient acceptance. 5766238106Sdes But only for answers from other servers, not for plain queries. 5767238106Sdes - compression and decompression test cases. 5768238106Sdes - some stats added. 5769238106Sdes - example.conf interface: line is changed from 127.0.0.1 which leads 5770238106Sdes to problems if used (restricting communication to the localhost), 5771238106Sdes to a documentation and test address. 5772238106Sdes 5773238106Sdes27 April 2007: Wouter 5774238106Sdes - removed iov usage, it is not good for dns message encoding. 5775238106Sdes - owner name compression more optimal. 5776238106Sdes - rrsig owner name compression. 5777238106Sdes - rdata domain name compression. 5778238106Sdes 5779238106Sdes26 April 2007: Wouter 5780238106Sdes - floating point exception fix in lock-verify. 5781238106Sdes - lint uses make dependency 5782238106Sdes - fixup lint in dname owner domain name compression code. 5783238106Sdes - define for offset range that can be compressed to. 5784238106Sdes 5785238106Sdes25 April 2007: Wouter 5786238106Sdes - prettier code; parse_rrset->type kept in host byte order. 5787238106Sdes - datatype used for hashvalue of converted rrsig structure. 5788238106Sdes - unit test compares edns section data too. 5789238106Sdes 5790238106Sdes24 April 2007: Wouter 5791238106Sdes - ttl per RR, for RRSIG rrsets and others. 5792238106Sdes - dname_print debug function. 5793238106Sdes - if type is not known, size calc will skip DNAME decompression. 5794238106Sdes - RRSIG parsing and storing and putting in messages. 5795238106Sdes - dnssec enabled unit tests (from nlnetlabs.nl and se queries). 5796238106Sdes - EDNS extraction routine. 5797238106Sdes 5798238106Sdes20 April 2007: Wouter 5799238106Sdes - code comes through all of the unit tests now. 5800238106Sdes - disabled warning about spurious extra data. 5801238106Sdes - documented the RRSIG parse plan in msgparse.h. 5802238106Sdes - rrsig reading and outputting. 5803238106Sdes 5804238106Sdes19 April 2007: Wouter 5805238106Sdes - fix unit test to actually to tests. 5806238106Sdes - fix write iov helper, and fakevent code. 5807238106Sdes - extra builtin testcase (small packet). 5808238106Sdes - ttl converted to network format in packets. 5809238106Sdes - flags converted correctly 5810238106Sdes - rdatalen off by 2 error fixup. 5811238106Sdes - uses less iov space for header. 5812238106Sdes 5813238106Sdes18 April 2007: Wouter 5814238106Sdes - review of msgparse code. 5815238106Sdes - smaller test cases. 5816238106Sdes 5817238106Sdes17 April 2007: Wouter 5818238106Sdes - copy and decompress dnames. 5819238106Sdes - store calculated hash value too. 5820238106Sdes - routine to create message out of stored information. 5821238106Sdes - util/data/msgparse.c for message parsing code. 5822238106Sdes - unit test, and first fixes because of test. 5823238106Sdes * forgot rrset_count addition. 5824238106Sdes * did & of ptr on stack for memory position calculation. 5825238106Sdes * dname_pkt_copy forgot to read next label length. 5826238106Sdes - test from file and fixes 5827238106Sdes * double frees fixed in error conditions. 5828238106Sdes * types with less than full rdata allowed by parser. 5829238106Sdes Some dynamic update packets seem to use it. 5830238106Sdes 5831238106Sdes16 April 2007: Wouter 5832238106Sdes - following a small change in LDNS, parsing code calculates the 5833238106Sdes memory size to allocate for rrs. 5834238106Sdes - code to handle ID creation. 5835238106Sdes 5836238106Sdes13 April 2007: Wouter 5837238106Sdes - parse routines. Code that parses rrsets, rrs. 5838238106Sdes 5839238106Sdes12 April 2007: Wouter 5840238106Sdes - dname compare routine that preserves case, with unit tests. 5841238106Sdes 5842238106Sdes11 April 2007: Wouter 5843238106Sdes - parse work - dname packet parse, msgparse, querysection parse, 5844238106Sdes start of sectionparse. 5845238106Sdes 5846238106Sdes10 April 2007: Wouter 5847238106Sdes - Improved alignment of reply_info packet, nice for 32 and 64 bit. 5848238106Sdes - Put RRset counts in reply_info, because the number of RRs can change 5849238106Sdes due to RRset updates. 5850238106Sdes - import of region-allocator code from nsd. 5851238106Sdes - set alloc special type to ub_packed_rrset_key. 5852238106Sdes Uses lruhash entry overflow chain next pointer in alloc cache. 5853238106Sdes - doxygen documentation for region-allocator. 5854238106Sdes - setup for parse scratch data. 5855238106Sdes 5856238106Sdes5 April 2007: Wouter 5857238106Sdes - discussed packed rrset with Jelte. 5858238106Sdes 5859238106Sdes4 April 2007: Wouter 5860238106Sdes - moved to version 0.3. 5861238106Sdes - added util/data/dname.c 5862238106Sdes - layout of memory for rrsets. 5863238106Sdes 5864238106Sdes3 April 2007: Wouter 5865238106Sdes - detect sign of msghdr.msg_iovlen so that the cast to that type 5866238106Sdes in netevent (which is there to please lint) can be correct. 5867238106Sdes The type on several OSes ranges from int, int32, uint32, size_t. 5868238106Sdes Detects unsigned or signed using math trick. 5869238106Sdes - constants for DNS flags. 5870238106Sdes - compilation without locks fixup. 5871238106Sdes - removed include of unportable header from lookup3.c. 5872238106Sdes - more portable use of struct msghdr. 5873238106Sdes - casts for printf warning portability. 5874238106Sdes - tweaks to tests to port them to the testbed. 5875238106Sdes - 0.2 tag created. 5876238106Sdes 5877238106Sdes2 April 2007: Wouter 5878238106Sdes - check sizes of udp received messages, not too short. 5879238106Sdes - review changes. Some memmoves can be memcpys: 4byte aligned. 5880238106Sdes set id correctly on cached answers. 5881238106Sdes - review changes msgreply.c, memleak on error condition. AA flag 5882238106Sdes clear on cached reply. Lowercase queries on hashing. 5883238106Sdes unit test on lowercasing. Test AA bit not set on cached reply. 5884238106Sdes Note that no TTLs are managed. 5885238106Sdes 5886238106Sdes29 March 2007: Wouter 5887238106Sdes - writev or sendmsg used when answering from cache. 5888238106Sdes This avoids a copy of the data. 5889238106Sdes - do not do useless byteswap on query id. Store reply flags in uint16 5890238106Sdes for easier access (and no repeated byteswapping). 5891238106Sdes - reviewed code. 5892238106Sdes - configure detects and config.h includes sys/uio.h for writev decl. 5893238106Sdes 5894238106Sdes28 March 2007: Wouter 5895238106Sdes - new config option: num-queries-per-thread. 5896238106Sdes - added tpkg test for answering three queries at the same time 5897238106Sdes using one thread (from the query service list). 5898238106Sdes 5899238106Sdes27 March 2007: Wouter 5900238106Sdes - added test for cache and not cached answers, in testbound replays. 5901238106Sdes - testbound can give config file and commandline options from the 5902238106Sdes replay file to unbound. 5903238106Sdes - created test that checks if items drop out of the cache. 5904238106Sdes - added word 'partitioned hash table' to documentation on slab hash. 5905238106Sdes A slab hash is a partitioned hash table. 5906238106Sdes - worker can handle multiple queries at a time. 5907238106Sdes 5908238106Sdes26 March 2007: Wouter 5909238106Sdes - config settings for slab hash message cache. 5910238106Sdes - test for cached answer. 5911238106Sdes - Fixup deleting fake answer from testbound list. 5912238106Sdes 5913238106Sdes23 March 2007: Wouter 5914238106Sdes - review of yesterday's commits. 5915238106Sdes - covered up memory leak of the entry locks. 5916238106Sdes - answers from the cache correctly. Copies flags correctly. 5917238106Sdes - sanity check for incoming query replies. 5918238106Sdes - slabbed hash table. Much nicer contention, need dual cpu to see. 5919238106Sdes 5920238106Sdes22 March 2007: Wouter 5921238106Sdes - AIX configure check. 5922238106Sdes - lock-verify can handle references to locks that are created 5923238106Sdes in files it has not yet read in. 5924238106Sdes - threaded hash table test. 5925238106Sdes - unit test runs lock-verify afterwards and checks result. 5926238106Sdes - need writelock to update data on hash_insert. 5927238106Sdes - message cache code, msgreply code. 5928238106Sdes 5929238106Sdes21 March 2007: Wouter 5930238106Sdes - unit test of hash table, fixup locking problem in table_grow(). 5931238106Sdes - fixup accounting of sizes for removing items from hashtable. 5932238106Sdes - unit test for hash table, single threaded test of integrity. 5933238106Sdes - lock-verify reports errors nicely. More quiet in operation. 5934238106Sdes 5935238106Sdes16 March 2007: Wouter 5936238106Sdes - lock-verifier, checks consistent order of locking. 5937238106Sdes 5938238106Sdes14 March 2007: Wouter 5939238106Sdes - hash table insert (and subroutines) and lookup implemented. 5940238106Sdes - hash table remove. 5941238106Sdes - unit tests for hash internal bin, lru functions. 5942238106Sdes 5943238106Sdes13 March 2007: Wouter 5944238106Sdes - lock_unprotect in checklocks. 5945238106Sdes - util/storage/lruhash.h for LRU hash table structure. 5946238106Sdes 5947238106Sdes12 March 2007: Wouter 5948238106Sdes - configure.ac moved to 0.2. 5949238106Sdes - query_info and replymsg util/data structure. 5950238106Sdes 5951238106Sdes9 March 2007: Wouter 5952238106Sdes - added rwlock writelock checking. 5953238106Sdes So it will keep track of the writelock, and readlocks are enforced 5954238106Sdes to not change protected memory areas. 5955238106Sdes - log_hex function to dump hex strings to the logfile. 5956238106Sdes - checklocks zeroes its destroyed lock after checking memory areas. 5957238106Sdes - unit test for alloc. 5958238106Sdes - identifier for union in checklocks to please older compilers. 5959238106Sdes - created 0.1 tag. 5960238106Sdes 5961238106Sdes8 March 2007: Wouter 5962238106Sdes - Reviewed checklock code. 5963238106Sdes 5964238106Sdes7 March 2007: Wouter 5965238106Sdes - created a wrapper around thread calls that performs some basic 5966238106Sdes checking for data race and deadlock, and basic performance 5967238106Sdes contention measurement. 5968238106Sdes 5969238106Sdes6 March 2007: Wouter 5970238106Sdes - Testbed works with threading (different machines, different options). 5971238106Sdes - alloc work, does the special type. 5972238106Sdes 5973238106Sdes2 March 2007: Wouter 5974238106Sdes - do not compile fork funcs unless needed. Otherwise will give 5975238106Sdes type errors as their typedefs have not been enabled. 5976238106Sdes - log shows thread numbers much more nicely (and portably). 5977238106Sdes - even on systems with nonthreadsafe libevent signal handling, 5978238106Sdes unbound will exit if given a signal. 5979238106Sdes Reloads will not work, and exit is not graceful. 5980238106Sdes - start of alloc framework layout. 5981238106Sdes 5982238106Sdes1 March 2007: Wouter 5983238106Sdes - Signals, libevent and threads work well, with libevent patch and 5984238106Sdes changes to code (close after event_del). 5985238106Sdes - set ipc pipes nonblocking. 5986238106Sdes 5987238106Sdes27 February 2007: Wouter 5988238106Sdes - ub_thread_join portable definition. 5989238106Sdes - forking is used if no threading is available. 5990238106Sdes Tested, it works, since pipes work across processes as well. 5991238106Sdes Thread_join is replaced with waitpid. 5992238106Sdes - During reloads the daemon will temporarily handle signals, 5993238106Sdes so that they do not result in problems. 5994238106Sdes - Also randomize the outgoing port range for tests. 5995238106Sdes - If query list is full, will stop selecting listening ports for read. 5996238106Sdes This makes all threads service incoming requests, instead of one. 5997238106Sdes No memory is leaking during reloads, service of queries, etc. 5998238106Sdes - test that uses ldns-testns -f to test threading. Have to answer 5999238106Sdes three queries at the same time. 6000238106Sdes - with verbose=0 operates quietly. 6001238106Sdes 6002238106Sdes26 February 2007: Wouter 6003238106Sdes - ub_random code used to select ID and port. 6004238106Sdes - log code prints thread id. 6005238106Sdes - unbound can thread itself, with reload(HUP) and quit working 6006238106Sdes correctly. 6007238106Sdes - don't open pipes for #0, doesn't need it. 6008238106Sdes - listens to SIGTERM, SIGQUIT, SIGINT (all quit) and SIGHUP (reload). 6009238106Sdes 6010238106Sdes23 February 2007: Wouter 6011238106Sdes - Can do reloads on sigHUP. Everything is stopped, and freed, 6012238106Sdes except the listening ports. Then the config file is reread. 6013238106Sdes And everything is started again (and listening ports if needed). 6014238106Sdes - Ports for queries are shared. 6015238106Sdes - config file added interface:, chroot: and username:. 6016238106Sdes - config file: directory, logfile, pidfile. And they work too. 6017238106Sdes - will daemonize by default now. Use -d to stay in the foreground. 6018238106Sdes - got BSD random[256 state] code, made it threadsafe. util/random. 6019238106Sdes 6020238106Sdes22 February 2007: Wouter 6021238106Sdes - Have a config file. Removed commandline options, moved to config. 6022238106Sdes - tests use config file. 6023238106Sdes 6024238106Sdes21 February 2007: Wouter 6025238106Sdes - put -c option in man page. 6026238106Sdes - minievent fd array capped by FD_SETSIZE. 6027238106Sdes 6028238106Sdes20 February 2007: Wouter 6029238106Sdes - Added locks code and pthread spinlock detection. 6030238106Sdes - can use no locks, or solaris native thread library. 6031238106Sdes - added yacc and lex configure, and config file parsing code. 6032238106Sdes also makedist.sh, and manpage. 6033238106Sdes - put include errno.h in config.h 6034238106Sdes 6035238106Sdes19 February 2007: Wouter 6036238106Sdes - Created 0.0 svn tag. 6037238106Sdes - added acx_pthread.m4 autoconf check for pthreads from 6038238106Sdes the autoconf archive. It is GPL-with-autoconf-exception Licensed. 6039238106Sdes You can specify --with-pthreads, or --without-pthreads to configure. 6040238106Sdes 6041238106Sdes16 February 2007: Wouter 6042238106Sdes - Updated testbed script, works better by using make on remote end. 6043238106Sdes - removed check decls, we can compile without them. 6044238106Sdes - makefile supports LIBOBJ replacements. 6045238106Sdes - docs checks ignore compat code. 6046238106Sdes - added util/mini-event.c and .h, a select based alternative used with 6047238106Sdes ./configure --with-libevent=no 6048238106Sdes It is limited to 1024 file descriptors, and has less features. 6049238106Sdes - will not create ip6 sockets if ip6 not on the machine. 6050238106Sdes 6051238106Sdes15 February 2007: Wouter 6052238106Sdes - port to FreeBSD 4.11 Dec Alpha. Also works on Solaris 10 sparc64, 6053238106Sdes Solaris 9, FreeBSD 6, Linux i386 and OSX powerpc. 6054238106Sdes - malloc rndstate, so that it is aligned for access. 6055238106Sdes - fixed rbtree cleanup with postorder traverse. 6056238106Sdes - fixed pending messages are deleted when handled. 6057238106Sdes - You can control verbosity; default is not verbose, every -v 6058238106Sdes adds more verbosity. 6059238106Sdes 6060238106Sdes14 February 2007: Wouter 6061238106Sdes - Included configure.ac changes from ldns. 6062238106Sdes - detect (some) headers before the standards check. 6063238106Sdes - do not use isblank to test c99, since its not available on solaris9. 6064238106Sdes - review of testcode. 6065238106Sdes * entries in a RANGE are no longer reversed. 6066238106Sdes * print name of file with replay entry parse errors. 6067238106Sdes - port to OSX: cast to int for some prints of sizet. 6068238106Sdes - Makefile copies ldnstestpkts.c before doing dependencies on it. 6069238106Sdes 6070238106Sdes13 February 2007: Wouter 6071238106Sdes - work on fake events, first fwd replay works. 6072238106Sdes - events can do timeouts and errors on queries to servers. 6073238106Sdes - test package that runs replay scenarios. 6074238106Sdes 6075238106Sdes12 February 2007: Wouter 6076238106Sdes - work on fake events. 6077238106Sdes 6078238106Sdes9 February 2007: Wouter 6079238106Sdes - replay file reading. 6080238106Sdes - fake event setup, it creates fake structures, and teardowns, 6081238106Sdes added signal callbacks to reply to be able to fake those, 6082238106Sdes and main structure of event replay routines. 6083238106Sdes 6084238106Sdes8 February 2007: Wouter 6085238106Sdes - added tcp test. 6086238106Sdes - replay storage. 6087238106Sdes - testcode/fake_event work. 6088238106Sdes 6089238106Sdes7 February 2007: Wouter 6090238106Sdes - return answer with the same ID as query was sent with. 6091238106Sdes - created udp forwarder test. I've done some effort to make it perform 6092238106Sdes quickly. After servers are created, no big sleep statements but 6093238106Sdes it checks the logfiles to see if servers have come up. Takes 0.14s. 6094238106Sdes - set addrlen value when calling recvfrom. 6095238106Sdes - comparison of addrs more portable. 6096238106Sdes - LIBEVENT option for testbed to set libevent directory. 6097238106Sdes - work on tcp input. 6098238106Sdes 6099238106Sdes6 February 2007: Wouter 6100238106Sdes - reviewed code and improved in places. 6101238106Sdes 6102238106Sdes5 February 2007: Wouter 6103238106Sdes - Picked up stdc99 and other define tests from ldns. Improved 6104238106Sdes POSIX define test to include getaddrinfo. 6105238106Sdes - defined constants for netevent callback error code. 6106238106Sdes - unit test for strisip6. 6107238106Sdes 6108238106Sdes2 February 2007: Wouter 6109238106Sdes - Created udp4 and udp6 port arrays to provide service for both 6110238106Sdes address families. 6111238106Sdes - uses IPV6_USE_MIN_MTU for udp6 ,IPV6_V6ONLY to make ip6 sockets. 6112238106Sdes - listens on both ip4 and ip6 ports to provide correct return address. 6113238106Sdes - worker fwder address filled correctly. 6114238106Sdes - fixup timer code. 6115238106Sdes - forwards udp queries and sends answer. 6116238106Sdes 6117238106Sdes1 February 2007: Wouter 6118238106Sdes - outside network more UDP work. 6119238106Sdes - moved * closer to type. 6120238106Sdes - comm_timer object and events. 6121238106Sdes 6122238106Sdes31 January 2007: Wouter 6123238106Sdes - Added makedist.sh script to make release tarball. 6124238106Sdes - Removed listen callback layer, did not add anything. 6125238106Sdes - Added UDP recv to netevent, worker callback for udp. 6126238106Sdes - netevent communication reply storage structure. 6127238106Sdes - minimal query header sanity checking for worker. 6128238106Sdes - copied over rbtree implementation from NSD (BSD licensed too). 6129238106Sdes - outgoing network query service work. 6130238106Sdes 6131238106Sdes30 January 2007: Wouter 6132238106Sdes - links in example/ldns-testpkts.c and .h for premade packet support. 6133238106Sdes - added callback argument to listen_dnsport and daemon/worker. 6134238106Sdes 6135238106Sdes29 January 2007: Wouter 6136238106Sdes - unbound.8 a short manpage. 6137238106Sdes 6138238106Sdes26 January 2007: Wouter 6139238106Sdes - fixed memleak. 6140238106Sdes - make lint works on BSD and Linux (openssl defines). 6141238106Sdes - make tags works. 6142238106Sdes - testbound program start. 6143238106Sdes 6144238106Sdes25 January 2007: Wouter 6145238106Sdes - fixed lint so it may work on BSD. 6146238106Sdes - put license into header of every file. 6147238106Sdes - created verbosity flag. 6148238106Sdes - fixed libevent configure flag. 6149238106Sdes - detects event_base_free() in new libevent 1.2 version. 6150238106Sdes - getopt in daemon. fatal_exit() and verbose() logging funcs. 6151238106Sdes - created log_assert, that throws assertions to the logfile. 6152238106Sdes - listen_dnsport service. Binds ports. 6153238106Sdes 6154238106Sdes24 January 2007: Wouter 6155238106Sdes - cleaned up configure.ac. 6156238106Sdes 6157238106Sdes23 January 2007: Wouter 6158238106Sdes - added libevent to configure to link with. 6159238106Sdes - util/netevent setup work. 6160238106Sdes - configure searches for libevent. 6161238106Sdes - search for libs at end of configure (when other headers and types 6162238106Sdes have been found). 6163238106Sdes - doxygen works with ATTR_UNUSED(). 6164238106Sdes - util/netevent implementation. 6165238106Sdes 6166238106Sdes22 January 2007: Wouter 6167238106Sdes - Designed header file for network communication. 6168238106Sdes 6169238106Sdes16 January 2007: Wouter 6170238106Sdes - added readme.svn and readme.tests. 6171238106Sdes 6172238106Sdes4 January 2007: Wouter 6173238106Sdes - Testbed script (run on multiple platforms the test set). 6174238106Sdes Works on Sunos9, Sunos10, FreeBSD 6.1, Fedora core 5. 6175238106Sdes - added unit test tpkg. 6176238106Sdes 6177238106Sdes3 January 2007: Wouter 6178238106Sdes - committed first set of files into subversion repository. 6179238106Sdes svn co svn+ssh://unbound.net/svn/unbound 6180238106Sdes You need a ssh login. There is no https access yet. 6181238106Sdes - Added LICENSE, the BSD license. 6182238106Sdes - Added doc/README with compile help. 6183238106Sdes - main program stub and quiet makefile. 6184238106Sdes - minimal logging service (to stderr). 6185238106Sdes - added postcommit hook that serves emails. 6186238106Sdes - added first test 00-lint. postcommit also checks if build succeeds. 6187238106Sdes - 01-doc: doxygen doc target added for html docs. And stringent test 6188238106Sdes on documented files, functions and parameters. 6189238106Sdes 6190238106Sdes15 December 2006: Wouter 6191238106Sdes - Created Makefile.in and configure.ac. 6192