2 - tag for 1.4.17 release.
5 - Review comments, removed duplicate memset to zero in delegpt.
8 - Updated doc/FEATURES with RFCs that are implemented but not listed.
9 - Protect if statements in val_anchor for compile without locks.
13 - fix configure ECDSA support in ldns detection for windows compile.
14 - fix possible uninitialised variable in windows pipe implementation.
17 - Fix alignment problem in util/random on sparc64/freebsd.
20 - Fix for accept spinning reported by OpenBSD.
21 - iana portlist updated.
24 - Fix validation of nodata for DS query in NSEC zones, reported by
28 - ECDSA support (RFC 6605) by default. Use --disable-ecdsa for older
32 - Applied patch from Daisuke HIGASHI for rrset-roundrobin and
33 minimal-responses features.
34 - iana portlist updated.
37 - fix bug #443: --with-chroot-dir not honoured by configure.
38 - fix bug #444: setusercontext was called too late (thanks Bjorn
42 - fix bug #442: Fix that Makefile depends on pythonmod headers
43 even using --without-pythonmodule.
46 - contrib/validation-reporter follows rotated log file (patch from
50 - new approach to NS fetches for DS lookup that works with
51 cornercases, and is more robust and considers forwarders.
54 - iana portlist updated.
55 - fix to locate nameservers for DS lookup with NS fetches.
58 - Patch for access to full DNS packet data in unbound python module
62 - Applied line-buffer patch from Augie Schwer to validation.reporter.sh.
65 - flush_infra cleans timeouted servers from the cache too.
66 - removed warning from --enable-ecdsa.
69 - forward-first option. Tries without forward if a query fails.
70 Also stub-first option that is similar.
72 28 February 2012: Wouter
73 - Fix from code review, if EINPROGRESS not defined chain if statement
76 27 February 2012: Wouter
77 - Fix bug#434: on windows check registry for config file location
78 for unbound-control.exe, and unbound-checkconf.exe.
80 23 February 2012: Wouter
81 - Fix to squelch 'network unreachable' errors from tcp connect in
82 logs, high verbosity will show them.
84 16 February 2012: Wouter
85 - iter_hints is now thread-owned in module env, and thus threadsafe.
86 - Fix prefetch and sticky NS, now the prefetch works. It picks
87 nameservers that 'would be valid in the future', and if this makes
88 the NS timeout, it updates that NS by asking delegation from the
89 parent again. If child NS has longer TTL, that TTL does not get
90 refreshed from the lookup to the child nameserver.
92 15 February 2012: Wouter
93 - Fix forward-zone memory, uses malloc and frees original root dp.
94 - iter hints (stubs) uses malloc inside for more dynamicity.
95 - unbound-control forward_add, forward_remove, stub_add, stub_remove
96 can modify stubs and forwards for running unbound (on mobile computer)
97 they can also add and remove domain-insecure for the zone.
99 14 February 2012: Wouter
100 - Fix sticky NS (ghost domain problem) if prefetch is yes.
101 - iter forwards uses malloc inside for more dynamicity.
103 13 February 2012: Wouter
104 - RT#2955. Fix for cygwin compilation.
105 - iana portlist updated.
107 10 February 2012: Wouter
108 - Slightly smaller critical region in one case in infra cache.
109 - Fix timeouts to keep track of query type, A, AAAA and other, if
110 another has caused timeout blacklist, different type can still probe.
111 - unit test fix for nomem_cnametopos.rpl race condition.
113 9 February 2012: Wouter
114 - Fix AHX_BROKEN_MEMCMP for autoheader mess up of #undef in config.h.
116 8 February 2012: Wouter
117 - implement draft-ietf-dnsext-ecdsa-04; which is in IETF LC; This
118 implementation is experimental at this time and not recommended
119 for use on the public internet (the protocol numbers have not
120 been assigned). Needs recent ldns with --enable-ecdsa.
121 - fix memory leak in errorcase for DSA signatures.
122 - iana portlist updated.
123 - workaround for openssl 0.9.8 ecdsa sha2 and evp problem.
125 3 February 2012: Wouter
126 - fix for windows, rename() is not posix compliant on windows.
128 2 February 2012: Wouter
129 - 1.4.16 release tag.
130 - svn trunk is 1.4.17 in development.
131 - iana portlist updated.
133 1 February 2012: Wouter
134 - Fix validation failures (like: validation failure xx: no NSEC3
135 closest encloser from yy for DS zz. while building chain of trust,
136 because of a bug in the TTL-fix in 1.4.15, it picked the wrong rdata
137 for an NSEC3. Now it does not change rdata, and fixes TTL.
139 30 January 2012: Wouter
140 - Fix version-number in libtool to be version-info so it produces
141 libunbound.so.2 like it should.
143 26 January 2012: Wouter
144 - Tag 1.4.15 (same as 1.4.15rc1), for 1.4.15 release.
145 - trunk 1.4.16; includes changes memset testcode, #424 openindiana,
146 and keyfile write fixup.
147 - applied patch to support outgoing-interface with ub_ctx_set_option.
149 23 January 2012: Wouter
150 - Fix memset in test code.
152 20 January 2012: Wouter
153 - Fix bug #424: compile on OpenIndiana OS with gcc 4.6.2.
155 19 January 2012: Wouter
156 - Fix to write key files completely to a temporary file, and if that
157 succeeds, replace the real key file. So failures leave a useful file.
159 18 January 2012: Wouter
160 - tag 1.4.15rc1 created
161 - updated libunbound/ubsyms.def and remade tag 1.4.15rc1.
163 17 January 2012: Wouter
164 - Fix bug where canonical_compare of RRSIG did not downcase the
165 signer-name. This is mostly harmless because RRSIGs do not have
166 to be sorted in canonical order, usually.
168 12 January 2012: Wouter
169 - bug#428: add ub_version() call to libunbound. API version increase,
170 with (binary) backwards compatibility for the previous version.
172 10 January 2012: Wouter
173 - Fix bug #425: unbound reports wrong TTL in reply, it reports a TTL
174 that would be permissible by the RFCs but it is not the TTL in the
176 - iana portlist updated.
177 - uninitialised variable in reprobe for rtt blocked domains fixed.
178 - lintfix and new flex output.
180 2 January 2012: Wouter
181 - Fix to randomize hash function, based on 28c3 congress, reported
184 24 December 2011: Wouter
185 - Fix for memory leak (about 20 bytes when a tcp or udp send operation
186 towards authority servers failed, takes about 50.000 such failures to
187 leak one Mb, such failures are also usually logged), reported by
189 - iana portlist updated.
191 19 December 2011: Wouter
192 - Fix for VU#209659 CVE-2011-4528: Unbound denial of service
193 vulnerabilities from nonstandard redirection and denial of existence
194 http://www.unbound.net/downloads/CVE-2011-4528.txt
195 - robust checks for next-closer NSEC3s.
196 - tag 1.4.14 created.
197 - trunk has 1.4.15 in development.
199 15 December 2011: Wouter
200 - remove uninit warning from cachedump code.
201 - Fix parse error on negative SOA RRSIGs if badly ordered in the packet.
203 13 December 2011: Wouter
204 - iana portlist updated.
206 - fix infra cache comparison.
207 - Fix to constrain signer_name to be a parent of the lookupname.
209 5 December 2011: Wouter
210 - Fix getaddrinfowithincludes on windows with fedora16 mingw32-gcc.
211 - Fix warnings with gcc 4.6 in compat/inet_ntop.c.
212 - Fix warning unused in compat/strptime.c.
213 - Fix malloc detection and double defintion.
215 2 December 2011: Wouter
216 - configure generated with autoconf 2.68.
218 30 November 2011: Wouter
219 - Fix for tcp-upstream and ssl-upstream for if a laptop sleeps, causes
220 SERVFAILs. Also fixed for UDP (but less likely).
222 28 November 2011: Wouter
223 - Fix quartile time estimate, it was too low, (thanks Jan Komissar).
224 - iana ports updated.
226 11 November 2011: Wouter
227 - Makefile compat with SunOS make, BSD make and GNU make.
228 - iana ports updated.
230 10 November 2011: Wouter
231 - Makefile changed for BSD make compatibility.
233 9 November 2011: Wouter
234 - added unit test for SSL service and SSL-upstream.
236 8 November 2011: Wouter
237 - can configure ssl service to one port number, and not on others.
238 - fixup windows compile with ssl support.
239 - Fix double free in unbound-host, reported by Steve Grubb.
240 - iana portlist updated.
242 1 November 2011: Wouter
243 - dns over ssl support as a client, ssl-upstream yes turns it on.
244 It performs an SSL transaction for every DNS query (250 msec).
245 - documentation for new options: ssl-upstream, ssl-service-key and
247 - iana portlist updated.
248 - fix -flto detection on Lion for llvm-gcc.
250 31 October 2011: Wouter
251 - dns over ssl support, ssl-service-pem and ssl-service-key files
252 can be given and then TCP queries are serviced wrapped in SSL.
254 27 October 2011: Wouter
255 - lame-ttl and lame-size options no longer exist, it is integrated
256 with the host info. They are ignored (with verbose warning) if
257 encountered to keep the config file backwards compatible.
258 - fix iana-update for changing gzip compression of results.
259 - fix export-all-symbols on OSX.
261 26 October 2011: Wouter
262 - iana portlist updated.
263 - Infra cache stores information about ping and lameness per IP, zone.
265 - fix iana_update target for gzipped file on iana site.
267 24 October 2011: Wouter
268 - Fix resolve of partners.extranet.microsoft.com with a fix for the
269 server selection for choosing out of a (particular) list of bad
271 - Fix make_new_space function so that the incoming query is not
272 overwritten if a jostled out query causes a waiting query to be
273 resumed that then fails and sends an error message. (Thanks to
276 21 October 2011: Wouter
277 - fix --enable-allsymbols, fptr wlist is disabled on windows with this
278 option enabled because of memory layout exe vs dll.
280 19 October 2011: Wouter
281 - fix unbound-anchor for broken strptime on OSX lion, detected
283 - Detect if GOST really works, openssl1.0 on OSX fails.
284 - Implement ipv6%interface notation for scope_id usage.
286 17 October 2011: Wouter
287 - better documentation for inform_super (Thanks Yang Zhe).
289 14 October 2011: Wouter
290 - Fix for out-of-memory condition in libunbound (thanks
293 13 October 2011: Wouter
294 - Fix --enable-allsymbols, it depended on link specifics of the
295 target platform, or fptr_wlist assertion failures could occur.
297 12 October 2011: Wouter
298 - updated contrib/unbound_munin_ to family=auto so that it works with
299 munin-node-configure automatically (if installed as
300 /usr/local/share/munin/plugins/unbound_munin_ ).
302 27 September 2011: Wouter
303 - unbound.exe -w windows option for start and stop service.
305 23 September 2011: Wouter
306 - TCP-upstream calculates tcp-ping so server selection works if there
309 20 September 2011: Wouter
310 - Fix classification of NS set in answer section, where there is a
311 parent-child server, and the answer has the AA flag for dir.slb.com.
312 Thanks to Amanda Constant from Secure64.
314 16 September 2011: Wouter
315 - fix bug #408: accept patch from Steve Snyder that comments out
316 unused functions in lookup3.c.
317 - iana portlist updated.
318 - fix EDNS1480 change memleak and TCP fallback.
319 - fix various compiler warnings (reported by Paul Wouters).
320 - max sent count. EDNS1480 only for rtt < 5000. No promiscuous
321 fetch if sentcount > 3, stop query if sentcount > 16. Count is
322 reset when referral or CNAME happens. This makes unbound better
323 at managing large NS sets, they are explored when there is continued
324 interest (in the form of queries).
326 15 September 2011: Wouter
328 - trunk contains 1.4.14 in development.
329 - Unbound probes at EDNS1480 if there an EDNS0 timeout.
331 12 September 2011: Wouter
332 - Reverted dns EDNS backoff fix, it did not help and needs
333 fragmentation fixes instead.
336 7 September 2011: Wouter
337 - Fix operation in ipv6 only (do-ip4: no) mode.
339 6 September 2011: Wouter
340 - fedora specfile updated.
342 5 September 2011: Wouter
345 2 September 2011: Wouter
346 - iana portlist updated.
348 26 August 2011: Wouter
349 - Fix num-threads 0 does not segfault, reported by Simon Deziel.
350 - Fix validation failures due to EDNS backoff retries, the retry
351 for fetch of data has want_dnssec because the iter_indicate_dnssec
352 function returns true when validation failure retry happens, and
353 then the serviced query code does not fallback to noEDNS, even if
354 the cache says it has this. This helps for DLV deployment when
355 the DNSSEC status is not known for sure before the lookup concludes.
357 24 August 2011: Wouter
358 - Applied patch from Karel Slany that fixes a memory leak in the
359 unbound python module, in string conversions.
361 22 August 2011: Wouter
362 - Fix validation of qtype ANY responses with CNAMEs (thanks Cathy
363 Zhang and Luo Ce). Unbound responds with the RR types that are
364 available at the name for qtype ANY and validates those RR types.
365 It does not test for completeness (i.e. with NSEC or NSEC3 query),
366 and it does not follow the CNAME or DNAME to another name (with
367 even more data for the already large response).
368 - Fix that internally, CNAMEs with NXDOMAIN have that as rcode.
369 - Documented the options that work with control set_option command.
370 - tcp-upstream yes/no option (works with set_option) for tunnels.
372 18 August 2011: Wouter
373 - fix autoconf call in makedist crosscompile to RC or snapshot.
375 17 August 2011: Wouter
376 - Fix validation of . DS query.
377 - new xml format at IANA, new awk for iana_update.
378 - iana portlist updated.
380 10 August 2011: Wouter
381 - Fix python site-packages path to /usr/lib64.
382 - updated patch from Tom.
383 - fix memory and fd leak after out-of-memory condition.
385 9 August 2011: Wouter
386 - patch from Tom Hendrikx fixes load of python modules.
388 8 August 2011: Wouter
389 - make clean had ldns-src reference, removed.
391 1 August 2011: Wouter
392 - Fix autoconf 2.68 warnings
395 - Unbound implements RFC6303 (since version 1.4.7).
396 - tag 1.4.12rc1 is released as 1.4.12 (without the other fixes in the
397 meantime, those are for 1.4.13).
398 - iana portlist updated.
401 - Quick fix for contrib/unbound.spec example, no ldns-builtin any more.
404 - Fix wildcard expansion no-data reply under an optout NSEC3 zone is
405 validated as insecure, reported by Jia Li (lijia@cnnic.cn).
408 - 1.4.12rc1 tag created.
411 - version number in example config file.
412 - fix that --enable-static-exe does not complain about it unknown.
415 - tag relase 1.4.11, trunk is 1.4.12 development.
416 - iana portlist updated.
417 - fix bug#395: id bits of other query may leak out under conditions
418 - fix replyaddr count wrong after jostled queries, which leads to
419 eventual starvation where the daemon has no replyaddrs left to use.
420 - fix comment about rndc port, that referred to the old port number.
421 - fix that the listening socket is not closed when too many remote
422 control connections are made at the same time.
423 - removed ldns-src tarball inside the unbound tarball.
426 - Changed -flto check to support clang compiler.
427 - tag 1.4.11rc3 created.
430 - tag 1.4.11rc1 created.
431 - remove warning about signed/unsigned from flex (other flex version).
432 - updated aclocal.m4 and libtool to match.
433 - tag 1.4.11rc2 created.
436 - log-queries: yesno option, default is no, prints querylog.
440 - Use -flto compiler flag for link time optimization, if supported.
441 - iana portlist updated.
444 - IPv6 service address for d.root-servers.net (2001:500:2D::D).
447 - unbound-control has version number in the header,
448 UBCT[version]_space_ is the header sent by the client now.
449 - Unbound control port number is registered with IANA:
450 ub-dns-control 8953/tcp unbound dns nameserver control
451 This is the new default for the control-port config setting.
452 - statistics-interval prints the number of jostled queries to log.
455 - Fix Makefile for U in environment, since wrong U is more common than
456 deansification necessity.
457 - iana portlist updated.
458 - updated ldns tarball to 1.6.10rc2 snapshot of today.
461 - Fix assertion failure when unbound generates an empty error reply
462 in response to a query, CVE-2011-1922 VU#531342.
463 - This fix is in tag 1.4.10.
464 - defense in depth against the above bug, an error is printed to log
465 instead of an assertion failure.
468 - bug#386: --enable-allsymbols option links all binaries to libunbound
469 and reduces install size significantly.
470 - feature, ignore-cd-flag: yesno to provide dnssec to legacy servers.
471 - iana portlist updated.
472 - Fix TTL of SOA so negative TTL is separately cached from normal TTL.
474 14 April 2011: Wouter
475 - configure created with newer autoconf 2.66.
477 12 April 2011: Wouter
478 - bug#378: Fix that configure checks for ldns_get_random presence.
481 - iana portlist updated.
482 - queries with CD flag set cause DNSSEC validation, but the answer is
483 not withheld if it is bogus. Thus, unbound will retry if it is bad
484 and curb the TTL if it is bad, thus protecting the cache for use by
485 downstream validators.
486 - val-override-date: -1 ignores dates entirely, for NTP usage.
488 29 March 2011: Wouter
489 - harden-below-nxdomain: changed so that it activates when the
490 cached nxdomain is dnssec secure. This avoids backwards
491 incompatibility because those old servers do not have dnssec.
493 24 March 2011: Wouter
494 - iana portlist updated.
498 17 March 2011: Wouter
499 - bug#370: new unbound.spec for CentOS 5.x from Harold Jones.
500 Applied but did not do the --disable-gost.
502 10 March 2011: Wouter
503 - tag 1.4.9 release candidate 1 created.
506 - updated ldns to today.
509 - Fix no ADflag for NXDOMAIN in NSEC3 optout. And wildcard in optout.
510 - give config parse error for multiple names on a stub or forward zone.
511 - updated ldns tarball to 1.6.9(todays snapshot).
513 24 February 2011: Wouter
514 - bug #361: Fix, time.elapsed variable not reset with stats_noreset.
516 23 February 2011: Wouter
517 - iana portlist updated.
518 - common.sh to version 3.
520 18 February 2011: Wouter
521 - common.sh in testdata updated to version 2.
523 15 February 2011: Wouter
524 - Added explicit note on unbound-anchor usage:
525 Please note usage of unbound-anchor root anchor is at your own risk
526 and under the terms of our LICENSE (see that file in the source).
528 11 February 2011: Wouter
529 - iana portlist updated.
530 - tpkg updated with common.sh for common functionality.
532 7 February 2011: Wouter
533 - Added regression test for addition of a .net DS to the root, and
534 cache effects with different TTL for glue and DNSKEY.
535 - iana portlist updated.
537 28 January 2011: Wouter
538 - Fix remove private address does not throw away entire response.
540 24 January 2011: Wouter
543 19 January 2011: Wouter
544 - fix bug#349: no -L/usr for ldns.
546 18 January 2011: Wouter
547 - ldns 1.6.8 tarball included.
550 17 January 2011: Wouter
551 - add get and set option for harden-below-nxdomain feature.
552 - iana portlist updated.
554 14 January 2011: Wouter
555 - Fix so a changed NS RRset does not get moved name stuck on old
556 server, for type NS the TTL is not increased.
558 13 January 2011: Wouter
559 - Fix prefetch so it does not get stuck on old server for moved names.
561 12 January 2011: Wouter
562 - iana portlist updated.
564 11 January 2011: Wouter
565 - Fix insecure CNAME sequence marked as secure, reported by Bert
568 10 January 2011: Wouter
569 - faster lruhash get_mem routine.
571 4 January 2011: Wouter
572 - bug#346: remove ITAR scripts from contrib, the service is discontinued, use the root.
573 - iana portlist updated.
575 23 December 2010: Wouter
576 - Fix in infra cache that could cause rto larger than TOP_TIMEOUT kept.
578 21 December 2010: Wouter
579 - algorithm compromise protection using the algorithms signalled in
580 the DS record. Also, trust anchors, DLV, and RFC5011 receive this,
581 and thus, if you have multiple algorithms in your trust-anchor-file
582 then it will now behave different than before. Also, 5011 rollover
583 for algorithms needs to be double-signature until the old algorithm
585 It is not an option, because I see no use to turn the security off.
586 - iana portlist updated.
588 17 December 2010: Wouter
589 - squelch 'tcp connect: bla' in logfile, (set verbosity 2 to see them).
590 - fix validation in this case: CNAME to nodata for co-hosted opt-in
591 NSEC3 insecure delegation, was bogus, fixed to be insecure.
593 16 December 2010: Wouter
594 - Fix our 'BDS' license (typo reported by Xavier Belanger).
596 10 December 2010: Wouter
597 - iana portlist updated.
598 - review changes for unbound-anchor.
600 2 December 2010: Wouter
601 - feature typetransparent localzone, does not block other RR types.
603 1 December 2010: Wouter
604 - Fix bug#338: print address when socket creation fails.
606 30 November 2010: Wouter
607 - Fix storage of EDNS failures in the infra cache.
608 - iana portlist updated.
610 18 November 2010: Wouter
611 - harden-below-nxdomain option, default off (because very old
612 software may be incompatible). We could enable it by default in
615 17 November 2010: Wouter
616 - implement draft-vixie-dnsext-resimprove-00, we stop on NXDOMAIN.
617 - make test output nicer.
619 15 November 2010: Wouter
620 - silence 'tcp connect: broken pipe' and 'net down' at low verbosity.
621 - iana portlist updated.
622 - so-sndbuf option for very busy servers, a bit like so-rcvbuf.
624 9 November 2010: Wouter
625 - unbound-anchor compiles with openssl 0.9.7.
627 8 November 2010: Wouter
629 - trunk is version 1.4.8.
630 - Be lenient and accept imgw.pl malformed packet (like BIND).
632 5 November 2010: Wouter
633 - do not synthesize a CNAME message from cache for qtype DS.
635 4 November 2010: Wouter
636 - Use central entropy to seed threads.
638 3 November 2010: Wouter
639 - Change the rtt used to probe EDNS-timeout hosts to 1000 msec.
641 2 November 2010: Wouter
645 1 November 2010: Wouter
646 - GOST code enabled by default (RFC 5933).
648 27 October 2010: Wouter
649 - Fix uninit value in dump_infra print.
650 - Fix validation failure for parent and child on same server with an
651 insecure childzone and a CNAME from parent to child.
652 - Configure detects libev-4.00.
654 26 October 2010: Wouter
655 - dump_infra and flush_infra commands for unbound-control.
656 - no timeout backoff if meanwhile a query succeeded.
657 - Change of timeout code. No more lost and backoff in blockage.
658 At 12sec timeout (and at least 2x lost before) one probe per IP
659 is allowed only. At 120sec, the IP is blocked. After 15min, a
660 120sec entry has a single retry packet.
662 25 October 2010: Wouter
663 - Configure errors if ldns is not found.
665 22 October 2010: Wouter
666 - Windows 7 fix for the installer.
668 21 October 2010: Wouter
669 - Fix bug where fallback_tcp causes wrong roundtrip and edns
670 observation to be noted in cache. Fix bug where EDNSprobe halted
671 exponential backoff if EDNS status unknown.
672 - new unresponsive host method, exponentially increasing block backoff.
673 - iana portlist updated.
675 20 October 2010: Wouter
676 - interface automatic works for some people with ip6 disabled.
677 Therefore the error check is removed, so they can use the option.
679 19 October 2010: Wouter
680 - Fix for request list growth, if a server has long timeout but the
681 lost counter is low, then its effective rtt is the one without
682 exponential backoff applied. Because the backoff is not working.
683 The lost counter can then increase and the server is blacklisted,
684 or the lost counter does not increase and the server is working
687 18 October 2010: Wouter
688 - iana portlist updated.
690 13 October 2010: Wouter
691 - Fix TCP so it uses a random outgoing-interface.
692 - unbound-anchor handles ADDPEND keystate.
694 11 October 2010: Wouter
695 - Fix bug when DLV below a trust-anchor that uses NSEC3 optout where
696 the zone has a secure delegation hosted on the same server did not
697 verify as secure (it was insecure by mistake).
698 - iana portlist updated.
699 - ldns tarball updated (for reading cachedumps with bad RR data).
701 1 October 2010: Wouter
702 - test for unbound-anchor. fix for reading certs.
703 - Fix alloc_reg_release for longer uptime in out of memory conditions.
705 28 September 2010: Wouter
706 - unbound-anchor working, it creates or updates a root.key file.
707 Use it before you start the validator (e.g. at system boot time).
709 27 September 2010: Wouter
710 - iana portlist updated.
712 24 September 2010: Wouter
713 - bug#329: in example.conf show correct ipv4 link-local 169.254/16.
715 23 September 2010: Wouter
716 - unbound-anchor app, unbound requires libexpat (xml parser library).
718 22 September 2010: Wouter
719 - compliance with draft-ietf-dnsop-default-local-zones-14, removed
720 reverse ipv6 orchid prefix from builtin list.
721 - iana portlist updated.
723 17 September 2010: Wouter
724 - DLV has downgrade protection again, because the RFC says so.
725 - iana portlist updated.
727 16 September 2010: Wouter
728 - Algorithm rollover operational reality intrudes, for trust-anchor,
729 5011-store, and DLV-anchor if one key matches it's good enough.
730 - iana portlist updated.
731 - Fix reported validation error in out of memory condition.
733 15 September 2010: Wouter
734 - Abide RFC5155 section 9.2: no AD flag for replies with NSEC3 optout.
736 14 September 2010: Wouter
737 - increased mesh-max-activation from 1000 to 3000 for crazy domains
738 like _tcp.slb.com with 262 servers.
739 - iana portlist updated.
741 13 September 2010: Wouter
742 - bug#327: Fix for cannot access stub zones until the root is primed.
744 9 September 2010: Wouter
745 - unresponsive servers are not completely blacklisted (because of
746 firewalls), but also not probed all the time (because of the request
747 list size it generates). The probe rate is 1%.
748 - iana portlist updated.
750 20 August 2010: Wouter
751 - openbsd-lint fixes: acl_list_get_mem used if debug-alloc enabled.
752 iterator get_mem includes priv_get_mem. delegpt nodup removed.
753 listen_pushback, query_info_allocqname, write_socket, send_packet,
754 comm_point_set_cb_arg and listen_resume removed.
756 19 August 2010: Wouter
757 - Fix bug#321: resolution of rs.ripe.net artifacts with 0x20.
758 Delegpt structures checked for duplicates always.
759 No more nameserver lookups generated when depth is full anyway.
760 - example.conf notes how to do DNSSEC validation and track the root.
761 - iana portlist updated.
763 18 August 2010: Wouter
764 - Fix bug#322: configure does not respect CFLAGS on Solaris.
765 Pass CFLAGS="-xO4 -xtarget=generic" on the configure command line
766 if use sun-cc, but some systems need different flags.
768 16 August 2010: Wouter
769 - Fix acx_nlnetlabs.m4 configure output for autoconf-2.66 AS_TR_CPP
770 changes, uses m4_bpatsubst now.
771 - make test (or make check) should be more portable and run the unit
772 test and testbound scripts. (make longtest has special requirements).
774 13 August 2010: Wouter
775 - More pleasant remote control command parsing.
776 - documentation added for return values reported by doxygen 1.7.1.
777 - iana portlist updated.
779 9 August 2010: Wouter
780 - Fix name of rrset printed that failed validation.
782 5 August 2010: Wouter
783 - Return NXDOMAIN after chain of CNAMEs ends at name-not-found.
785 4 August 2010: Wouter
786 - Fix validation in case a trust anchor enters into a zone with
787 unsupported algorithms.
789 3 August 2010: Wouter
790 - updated ldns tarball with bugfixes.
792 - trunk becomes 1.4.7 develop.
793 - iana portlist updated.
796 - more error details on failed remote control connection.
799 - rlimit adjustments for select and ulimit can happen at the same time.
802 - Donation text added to README.
803 - Fix integer underflow in prefetch ttl creation from cache. This
804 fixes a potential negative prefetch ttl.
807 - Changed the defaults for num-queries-per-thread/outgoing-range.
808 For builtin-select: 512/960, for libevent 1024/4096 and for
809 windows 24/48 (because of win api). This makes the ratio this way
810 to improve resilience under heavy load. For high performance, use
811 libevent and possibly higher numbers.
814 - GOST enabled if SSL is recent and ldns has GOST enabled too.
815 - ldns tarball updated.
818 - iana portlist updated.
819 - Fix validation of qtype DNSKEY when a key-cache entry exists but
820 no rr-cache entry is used (it expired or prefetch), it then goes
821 back up to the DS or trust-anchor to validate the DNSKEY.
824 - Neat function prototypes, unshadowed local declarations.
827 - failure to chown the pidfile is not fatal any more.
828 - testbound uses UTC timezone.
829 - ldns tarball updated (ports and works on Minix 3.1.7). On Minix, add
830 /usr/gnu/bin to PATH, use ./configure AR=/usr/gnu/bin/gar and gmake.
833 - log if a server is skipped because it is on the donotquery list,
834 at verbosity 4, to enable diagnosis why no queries to 127.0.0.1.
835 - added feature to print configure date, target and options with -h.
836 - added feature to print event backend system details with -h.
837 - wdiff is not actually required by make test, updated requirements.
840 - Fix RFC4035 compliance with 2.2 statement that the DNSKEY at apex
841 must be signed with all algorithms from the DS rrset at the parent.
842 This is now checked and becomes bogus if not.
845 - Fix jostle list bug found by Vince (luoce@cnnic), it caused the qps
846 in overload situations to be about 5 qps for the class of shortly
848 The capacity of the resolver is then about (numqueriesperthread / 2)
849 / (average time for such long queries) qps for long queries.
850 And about (numqueriesperthread / 2)/(jostletimeout in whole seconds)
851 qps for short queries, per thread.
852 - Fix the max number of reply-address count to be applied for duplicate
853 queries, and not for new query list entries. This raises the memory
854 usage to a max of (16+1)*numqueriesperthread reply addresses.
857 - Fix handling of corner case reply from lame server, follows rfc2308.
858 It could lead to a nodata reply getting into the cache if the search
859 for a non-lame server turned up other misconfigured servers.
860 - unbound.h has extern "C" statement for easier include in c++.
863 - iana portlist updated.
864 - makedist upgraded cross compile openssl option, like this:
865 ./makedist.sh -s -wssl openssl-1.0.0a.tar.gz -w --enable-gost
868 - Unbound reports libev or libevent correctly in logs in verbose mode.
869 - Fix to unload gost dynamic library module for leak testing.
872 - iana portlist updated.
875 - Add AAAA to root hints for I.ROOT-SERVERS.NET.
878 - Fix assertion failure reported by Kai Storbeck from XS4ALL, the
880 - updated ldns tarball.
884 - trunk contains 1.4.6 in development.
885 - Fix TCPreply on systems with no writev, if just 1 byte could be sent.
886 - Fix to use one pointer less for iterator query state store_parent_NS.
887 - makedist crosscompile to windows uses builtin ldns not host ldns.
888 - Max referral count from 30 to 130, because 128 one character domains
890 - added documentation for the histogram printout to syslog.
893 - When retry to parent the retrycount is not wiped, so failed
894 nameservers are not tried again.
895 - iana portlist updated.
898 - Fix bug where a long loop could be entered, now cycle detection
899 has a loop-counter and maximum search amount.
902 - iana portlist updated.
903 - 1.4.5rc1 tag created.
906 - ldns tarball updated, 1.6.5.
907 - review comments, split dependency cycle tracking for parentside
908 last resort lookups for A and AAAA so there are more lookup options.
911 - Fix compile warning if compiled without threads.
912 - updated ldns-tarball with current ldns svn (pre 1.6.5).
913 - GOST disabled-by-default, the algorithm number is allocated but the
914 RFC is still has to pass AUTH48 at the IETF.
917 - Ignore Z flag in incoming messages too.
918 - Fix storage of negative parent glue if that last resort fails.
919 - libtoolize 2.2.6b, autoconf 2.65 applied to configure.
920 - new splint flags for newer splint install.
923 - Fix AD flag handling, it could in some cases mistakenly copy the AD
924 flag from upstream servers.
925 - alloc_special_obtain out of memory is not a fatal error any more,
926 enabling unbound to continue longer in out of memory conditions.
927 - parentside names are dispreferred but not said to be dnssec-lame.
928 - parentside check for cached newname glue.
929 - fix parentside and querytargets modulestate, for dump_requestlist.
930 - unbound-control-setup makes keys -rw-r--- so not all users permitted.
931 - fix parentside from cache to be marked dispreferred for bad names.
934 - iana portlist updated.
935 - parent-child disagreement approach altered. Older fixes are
936 removed in place of a more exhaustive search for misconfigured data
937 available via the parent of a delegation.
938 This is designed to be throttled by cache entries, with TTL from the
939 parent if possible. Additionally the loop-counter is used.
940 It also tests for NS RRset differences between parent and child.
941 The fetch of misconfigured data should be more reliable and thorough.
942 It should work reliably even with no or only partial data in cache.
943 Data received from the child (as always) is deemed more
944 authoritative than information received from the delegation parent.
945 The search for misconfigured data is not performed normally.
948 - Contribution from Migiel de Vos (Surfnet): nagios patch for
949 unbound-host, in contrib/ (in the source tarball). Makes
950 unbound-host suitable for monitoring dnssec(-chain) status.
953 - EDNS timeout code will not fire if EDNS status already known.
954 - EDNS failure not stored if EDNS status known to work.
957 - Fix resolution for domains like safesvc.com.cn. If the iterator
958 can not recurse further and it finds the delegation in a state
959 where it would otherwise have rejected it outhand if so received
960 from a cache lookup, then it can try to ask higherup (with loop
962 - Fix comments in iter_utils:dp_is_useless.
965 - Fix various compiler warnings from the clang llvm compiler.
966 - iana portlist updated.
969 - Fix bug#308: spelling error in variable name in parser and lexer.
972 - Fix dnssec-missing detection that was turned off by server selection.
973 - Conforms to draft-ietf-dnsop-default-local-zones-13. Added default
974 reverse lookup blocks for IPv4 test nets 100.51.198.in-addr.arpa,
975 113.0.203.in-addr.arpa and Orchid prefix 0.1.1.0.0.2.ip6.arpa.
977 29 April 2010: Wouter
978 - Fix for dnssec lameness detection to use the key cache.
979 - infra cache entries that are expired are wiped clean. Previously
980 it was possible to not expire host data (if accessed often).
982 28 April 2010: Wouter
983 - ldns tarball updated and GOST support is detected and then enabled.
984 - iana portlist updated.
985 - Fix detection of gost support in ldns (reported by Chris Smith).
987 27 April 2010: Wouter
988 - unbound-control get_option domain-insecure shows config file items.
989 - fix retry sequence if prime hints are recursion-lame.
990 - autotrust anchor file can be initialized with a ZSK key as well.
991 - harden-referral-path does not result in failures due to max-depth.
992 You can increase the max-depth by adding numbers (' 0') after the
993 target-fetch-policy, this increases the depth to which is checked.
995 26 April 2010: Wouter
996 - Compile fix using Sun Studio 12 compiler on Solaris 5.9, use
997 CPPFLAGS during configure process.
998 - if libev is installed on the base system (not libevent), detect
999 it from the event.h header file and link with -lev.
1000 - configlexer.lex gets config.h, and configyyrename.h added by make,
1001 no more double include.
1002 - More strict scrubber (Thanks to George Barwood for the idea):
1003 NS set must be pertinent to the query (qname subdomain nsname).
1004 - Fix bug#307: In 0x20 backoff fix fallback so the number of
1005 outstanding queries does not become -1 and block the request.
1006 Fixed handling of recursion-lame in combination with 0x20 fallback.
1007 Fix so RRsets are compared canonicalized and sorted if the immediate
1008 comparison fails, this makes it work around round-robin sites.
1010 23 April 2010: Wouter
1011 - Squelch log message: sendto failed permission denied for
1012 255.255.255.255, it is visible in VERB_DETAIL (verbosity 2).
1013 - Fix to fetch data as last resort more tenaciously. When cycle
1014 targets cause the server selection to believe there are more options
1015 when they really are not there, the server selection is reinitiated.
1016 - Fix fetch from blacklisted dnssec lame servers as last resort. The
1017 server's IP address is then given in validator errors as well.
1018 - Fix local-zone type redirect that did not use the query name for
1021 22 April 2010: Wouter
1023 - trunk contains 1.4.5 in development.
1024 - Fix validation failure for qtype ANY caused by a RRSIG parse failure.
1025 The validator error message was 'no signatures from ...'.
1027 16 April 2010: Wouter
1028 - more portability defines for CMSG_SPACE, CMSG_ALIGN, CMSG_LEN.
1031 15 April 2010: Wouter
1032 - ECC-GOST algorithm number 12 that is assigned by IANA. New test
1033 example key and signatures for GOST. GOST requires openssl-1.0.0.
1034 GOST is still disabled by default.
1036 9 April 2010: Wouter
1037 - Fix bug#305: pkt_dname_tolower could read beyond end of buffer or
1038 get into an endless loop, if 0x20 was enabled, and buffers are small
1039 or particular broken packets are received.
1040 - Fix chain of trust with CNAME at an intermediate step, for the DS
1043 8 April 2010: Wouter
1044 - Fix validation of queries with wildcard names (*.example).
1046 6 April 2010: Wouter
1047 - Fix EDNS probe for .de DNSSEC testbed failure, where the infra
1048 cache timeout coincided with a server update, the current EDNS
1049 backoff is less sensitive, and does not cache the backoff unless
1050 the backoff actually works and the domain is not expecting DNSSEC.
1051 - GOST support with correct algorithm numbers.
1053 1 April 2010: Wouter
1054 - iana portlist updated.
1056 24 March 2010: Wouter
1057 - unbound control flushed items are not counted when flushed again.
1059 23 March 2010: Wouter
1060 - iana portlist updated.
1062 22 March 2010: Wouter
1063 - unbound-host disables use-syslog from config file so that the
1064 config file for the main server can be used more easily.
1065 - fix bug#301: unbound-checkconf could not parse interface
1066 '0.0.0.0@5353', even though unbound itself worked fine.
1068 19 March 2010: Wouter
1069 - fix fwd_ancil test to pass if the socket options are not supported.
1071 18 March 2010: Wouter
1072 - Fixed random numbers for port, interface and server selection.
1073 Removed very small bias.
1074 - Refer to the listing in unbound-control man page in the extended
1075 statistics entry in the unbound.conf man page.
1077 16 March 2010: Wouter
1078 - Fix interface-automatic for OpenBSD: msg.controllen was too small,
1079 also assertions on ancillary data buffer.
1080 - check for IP_SENDSRCADDR for interface-automatic or IP_PKTINFO.
1081 - for NSEC3 check if signatures are cached.
1083 15 March 2010: Wouter
1084 - unit test for util/regional.c.
1086 12 March 2010: Wouter
1087 - Reordered configure checks so fork and -lnsl -lsocket checks are
1088 earlier, and thus later checks benefit from and do not hinder them.
1089 - iana portlist updated.
1090 - ldns tarball updated.
1091 - Fix python use when multithreaded.
1092 - Fix solaris python compile.
1093 - Include less in config.h and include per code file for ldns, ssl.
1095 11 March 2010: Wouter
1096 - another memory allocation option: --enable-alloc-nonregional.
1097 exposes the regional allocations to other memory purifiers.
1098 - fix for memory alignment in struct sock_list allocation.
1099 - Fix for MacPorts ldns without ssl default, unbound checks if ldns
1100 has dnssec functionality and uses the builtin if not.
1101 - Fix daemonize on Solaris 10, it did not detach from terminal.
1102 - tag 1.4.3 created.
1103 - trunk is 1.4.4 in development.
1104 - spelling fix in validation error involving cnames.
1106 10 March 2010: Wouter
1107 - --enable-alloc-lite works with test set.
1108 - portability in the testset: printf format conversions, prototypes.
1110 9 March 2010: Wouter
1111 - tag 1.4.2 created.
1112 - trunk is 1.4.3 in development.
1113 - --enable-alloc-lite debug option.
1115 8 March 2010: Wouter
1116 - iana portlist updated.
1118 4 March 2010: Wouter
1119 - Fix crash in control channel code.
1121 3 March 2010: Wouter
1122 - better casts in pipe code, brackets placed wrongly.
1123 - iana portlist updated.
1125 1 March 2010: Wouter
1126 - make install depends on make all.
1127 - Fix 5011 auto-trust-anchor-file initial read to skip RRSIGs.
1128 - --enable-checking: enables assertions but does not look nonproduction.
1129 - nicer VERB_DETAIL (verbosity 2, unbound-host -d) output, with
1130 nxdomain and nodata distinguished.
1131 - ldns tarball updated.
1132 - --disable-rpath fixed for libtool not found errors.
1133 - new fedora specfile from Fedora13 in contrib from Paul Wouters.
1135 26 February 2010: Wouter
1136 - Fixup prototype for lexer cleanup in daemon code.
1137 - unbound-control list_stubs, list_forwards, list_local_zones and
1140 24 February 2010: Wouter
1141 - Fix scrubber bug that potentially let NS records through. Reported
1143 - Also delete potential poison references from additional.
1144 - Fix: no classification of a forwarder as lame, throw away instead.
1146 23 February 2010: Wouter
1147 - libunbound ub_ctx_get_option() added.
1148 - unbound-control set_option and get_option commands.
1149 - iana portlist updated.
1151 18 February 2010: Wouter
1152 - A little more strict DS scrubbing.
1153 - No more blacklisting of unresponsive servers, a 2 minute timeout
1155 - RD flag not enabled for dnssec-blacklisted tries, unless necessary.
1156 - pickup ldns compile fix, libdl for libcrypto.
1157 - log 'tcp connect: connection timed out' only in high verbosity.
1158 - unbound-control log_reopen command.
1159 - moved get_option code from unbound-checkconf to util/config_file.c
1161 17 February 2010: Wouter
1162 - Disregard DNSKEY from authority section for chain of trust.
1163 DS records that are irrelevant to a referral scrubbed. Anti-poison.
1164 - iana portlist updated.
1166 16 February 2010: Wouter
1167 - Check for 'no space left on device' (or other errors) when
1168 writing updated autotrust anchors and print errno to log.
1170 15 February 2010: Wouter
1171 - Fixed the requery protection, the TTL was 0, it is now 900 seconds,
1172 hardcoded. We made the choice to send out more conservatively,
1173 protecting against an aggregate effect more than protecting a
1174 single user (from their own folly, perhaps in case of misconfig).
1176 12 February 2010: Wouter
1177 - Re-query pattern changed on validation failure. To protect troubled
1178 authority servers, unbound caches a failure for the DNSKEY or DS
1179 records for the entire zone, and only retries that 900 seconds later.
1180 This implies that only a handful of packets are sent extra to the
1181 authority if the zone fails.
1183 11 February 2010: Wouter
1184 - ldns tarball update for long label length syntax error fix.
1185 - iana portlist updated.
1187 9 February 2010: Wouter
1188 - Fixup in compat snprintf routine, %f 1.02 and %g support.
1189 - include math.h for testbound test compile portability.
1191 2 February 2010: Wouter
1192 - Updated url of IANA itar, interim trust anchor repository, in script.
1194 1 February 2010: Wouter
1195 - iana portlist updated.
1196 - configure test for memcmp portability.
1198 27 January 2010: Wouter
1199 - removed warning on format string in validator error log statement.
1200 - iana portlist updated.
1202 22 January 2010: Wouter
1203 - libtool finish the install of unbound python dynamic library.
1205 21 January 2010: Wouter
1206 - acx_nlnetlabs.m4 synchronised with nsd's version.
1208 20 January 2010: Wouter
1209 - Fixup lookup trouble for parent-child domains on the first query.
1211 14 January 2010: Wouter
1212 - Fixup ldns detection to also check for header files.
1214 13 January 2010: Wouter
1215 - prefetch-key option that performs DNSKEY queries earlier in the
1216 validation process, and that could halve the latency on DNSSEC
1217 queries. It takes some extra processing (CPU, a cache is needed).
1219 12 January 2010: Wouter
1220 - Fix unbound-checkconf for auto-trust-anchor-file present checks.
1222 8 January 2010: Wouter
1223 - Fix for parent-child disagreement code which could have trouble
1224 when (a) ipv6 was disabled and (b) the TTL for parent and child
1225 were different. There were two bugs, the parent-side information
1226 is fixed to no longer block lookup of child side information and
1227 the iterator is fixed to no longer attempt to get ipv6 when it is
1228 not enabled and then give up in failure.
1229 - test and fixes to make prefetch actually store the answer in the
1230 cache. Considers some rrsets 'already expired' but does not allow
1231 overwriting of rrsets considered more secure.
1233 7 January 2010: Wouter
1234 - Fixup python documentation (thanks Leo Vandewoestijne).
1235 - Work on cache prefetch feature.
1236 - Stats for prefetch, in log print stats, unbound-control stats
1237 and in unbound_munin plugin.
1239 6 January 2010: Wouter
1240 - iana portlist updated.
1241 - bug#291: DNS wireformat max is 255. dname_valid allowed 256 length.
1242 - verbose output includes parent-side-address notion for lameness.
1243 - documented val-log-level: 2 setting in example.conf and man page.
1244 - change unbound-control-setup from 1024(sha1) to 1536(sha256).
1246 1 January 2010: Wouter
1247 - iana portlist updated.
1249 22 December 2009: Wouter
1250 - configure with newer libtool 2.2.6b.
1252 17 December 2009: Wouter
1255 - trunk to version 1.4.2.
1257 15 December 2009: Wouter
1258 - Answer to qclass=ANY queries, with class IN contents.
1259 Test that validation also works.
1260 - updated ldns snapshot tarball with latest fixes (parsing records).
1262 11 December 2009: Wouter
1263 - on IPv4 UDP turn off DF flag.
1265 10 December 2009: Wouter
1266 - requirements.txt updated with design choice explanations.
1267 - Reading fixes: fix to set unlame when child confirms parent glue,
1268 and fix to avoid duplicate addresses in delegation point.
1269 - verify_rrsig routine checks expiration last.
1271 9 December 2009: Wouter
1272 - Fix Bug#287(reopened): update of ldns tarball with fix for parse
1273 errors generated for domain names like '.example.com'.
1274 - Fix SOA excluded from negative DS responses. Reported by Hauke
1275 Lampe. The negative cache did not include proper SOA records for
1276 negative qtype DS responses which makes BIND barf on it, such
1277 responses are now only used internally.
1278 - Fix negative cache lookup of closestencloser check of DS type bit.
1280 8 December 2009: Wouter
1281 - Fix for lookup of parent-child disagreement domains, where the
1282 parent-side glue works but it does not provide proper NS, A or AAAA
1283 for itself, fixing domains such as motorcaravanners.eu.
1284 - Feature: you can specify a port number in the interface: line, so
1285 you can bind the same interface multiple times at different ports.
1287 7 December 2009: Wouter
1288 - Bug#287: Fix segfault when unbound-control remove nonexistent local
1289 data. Added check to tests.
1291 1 December 2009: Wouter
1292 - Fix crash with module-config "iterator".
1293 - Added unit test that has "iterator" module-config.
1295 30 November 2009: Wouter
1296 - bug#284: fix parse of # without end-of-line at end-of-file.
1298 26 November 2009: Wouter
1299 - updated ldns with release candidate for version 1.6.3.
1300 - tag for 1.4.0 release.
1301 - 1.4.1 version in trunk.
1302 - Fixup major libtool version to 2 because of why_bogus change.
1303 It was 1:5:0 but should have been 2:0:0.
1305 23 November 2009: Wouter
1306 - Patch from David Hubbard for libunbound manual page.
1307 - Fixup endless spinning in unbound-control stats reported by
1308 Attila Nagy. Probably caused by clock reversal.
1310 20 November 2009: Wouter
1311 - contrib/split-itar.sh contributed by Tom Hendrikx.
1313 19 November 2009: Wouter
1314 - better argument help for unbound-control.
1315 - iana portlist updated.
1317 17 November 2009: Wouter
1318 - noted multiple entries for multiple domain names in example.conf.
1319 - iana portlist updated.
1321 16 November 2009: Wouter
1322 - Fixed signer detection of CNAME responses without signatures.
1323 - Fix#282 libunbound memleak on error condition by Eric Sesterhenn.
1324 - Tests for CNAMEs to deeper trust anchors, secure and bogus.
1325 - svn tag 1.4.0rc1 made.
1327 13 November 2009: Wouter
1328 - Fixed validation failure for CNAME to optout NSEC3 nodata answer.
1329 - unbound-host does not fail on type ANY.
1330 - Fixed wireparse failure to put RRSIGs together with data in some
1331 long ANY mix cases, which fixes validation failures.
1333 12 November 2009: Wouter
1334 - iana portlist updated.
1335 - fix manpage errors reported by debian lintian.
1337 - fixup very long vallog2 level error strings.
1339 11 November 2009: Wouter
1340 - ldns tarball updated (to 1.6.2).
1343 10 November 2009: Wouter
1344 - Thanks to Surfnet found bug in new dnssec-retry code that failed
1345 to combine well when combined with DLV and a particular failure.
1346 - Fixed unbound-control -h output about argument optionality.
1349 5 November 2009: Wouter
1350 - lint fixes and portability tests.
1351 - better error text for multiple domain keys in one autotrust file.
1353 2 November 2009: Wouter
1354 - Fix bug where autotrust does not work when started with a DS.
1355 - Updated GOST unit tests for unofficial algorithm number 249
1356 and DNSKEY-format changes in draft version -01.
1358 29 October 2009: Wouter
1359 - iana portlist updated.
1360 - edns-buffer-size option, default 4096.
1363 28 October 2009: Wouter
1364 - removed abort on prealloc failure, error still printed but softfail.
1365 - iana portlist updated.
1366 - RFC 5702: RSASHA256 and RSASHA512 support enabled by default.
1367 - ldns tarball updated (which also enables rsasha256 support).
1369 27 October 2009: Wouter
1370 - iana portlist updated.
1372 8 October 2009: Wouter
1374 - add val-log-level print to corner case (nameserver.epost.bg).
1375 - more detail to errors from insecure delegation checks.
1376 - Fix double time subtraction in negative cache reported by
1377 Amanda Constant and Hugh Mahon.
1378 - Made new validator error string available from libunbound for
1379 applications. It is in result->why_bogus, a zero-terminated string.
1380 unbound-host prints it by default if a result is bogus.
1381 Also the errinf is public in module_qstate (for other modules).
1383 7 October 2009: Wouter
1384 - retry for validation failure in DS and prime results. Less mem use.
1385 unit test. Provisioning in other tests for requeries.
1386 - retry for validation failure in DNSKEY in middle of chain of trust.
1388 - retry for empty non terminals in chain of trust and unit test.
1389 - Fixed security bug where the signatures for NSEC3 records were not
1390 checked when checking for absence of DS records. This could have
1391 enabled the substitution of an insecure delegation.
1392 - moved version number to 1.4.0 because of 1.3.4 release with only
1393 the NSEC3 patch from the entry above.
1394 - val-log-level: 2 shows extended error information for validation
1395 failures, but still one (longish) line per failure. For example:
1396 validation failure <example.com. DNSKEY IN>: signature expired from
1397 192.0.2.4 for trust anchor example.com. while building chain of trust
1398 validation failure <www.example.com. A IN>: no signatures from
1399 192.0.2.6 for key example.com. while building chain of trust
1401 6 October 2009: Wouter
1402 - Test set updated to provide additional ns lookup result.
1403 The retry would attempt to fetch the data from other nameservers
1404 for bogus data, and this needed to be provisioned in the tests.
1406 5 October 2009: Wouter
1407 - first validation failure retry code. Retries for data failures.
1410 2 October 2009: Wouter
1411 - improve 5011 modularization.
1412 - fix unbound-host so -d can be given before -C.
1413 - iana portlist updated.
1415 28 September 2009: Wouter
1416 - autotrust-anchor-file can read multiline input and $ORIGIN.
1417 - prevent integer overflow in holddown calculation. review fixes.
1418 - fixed race condition in trust point revocation. review fix.
1419 - review fixes to comments, removed unused code.
1421 25 September 2009: Wouter
1422 - so-rcvbuf: 4m option added. Set this on large busy servers to not
1423 drop the occasional packet in spikes due to full socket buffers.
1424 netstat -su keeps a counter of UDP dropped due to full buffers.
1425 - review of validator/autotrust.c, small fixes and comments.
1427 23 September 2009: Wouter
1428 - 5011 query failed counts verification failures, not lookup failures.
1429 - 5011 probe failure handling fixup.
1430 - test unbound reading of original autotrust data.
1431 The metadata per-key, such as key state (PENDING, MISSING, VALID) is
1432 picked up, otherwise performs initial probe like usual.
1434 22 September 2009: Wouter
1435 - autotrust test with algorithm rollover, new ordering of checks
1436 assists in orderly rollover.
1437 - autotrust test with algorithm rollover to unknown algorithm.
1438 checks if new keys are supported before adding them.
1439 - autotrust test with trust point revocation, becomes unsigned.
1440 - fix DNSSEC-missing-signature detection for minimal responses
1441 for qtype DNSKEY (assumes DNSKEY occurs at zone apex).
1443 18 September 2009: Wouter
1444 - autotrust tests, fix trustpoint timer deletion code.
1445 fix count of valid anchors during missing remove.
1446 - autotrust: pick up REVOKE even if not signed with known other keys.
1448 17 September 2009: Wouter
1449 - fix compile of unbound-host when --enable-alloc-checks.
1450 - Fix lookup problem reported by Koh-ichi Ito and Jaap Akkerhuis.
1451 - Manual page fixes reported by Tony Finch.
1453 16 September 2009: Wouter
1454 - Fix memory leak reported by Tao Ma.
1455 - Fix memstats test tool for log-time-ascii log format.
1457 15 September 2009: Wouter
1458 - iana portlist updated.
1460 10 September 2009: Wouter
1461 - increased MAXSYSLOGLEN so .bg key can be printed in debug output.
1462 - use linebuffering for log-file: output, this can be significantly
1463 faster than the previous fflush method and enable some class of
1464 resolvers to use high verbosity (for short periods).
1465 Not on windows, because line buffering does not work there.
1467 9 September 2009: Wouter
1468 - Fix bug where DNSSEC-bogus messages were marked with too high TTL.
1469 The RRsets would still expire at the normal time, but this would
1470 keep messages bogus in the cache for too long.
1471 - regression test for that bug.
1472 - documented that load_cache is meant for debugging.
1474 8 September 2009: Wouter
1475 - fixup printing errors when load_cache, they were printed to the
1476 SSL connection which broke, now to the log.
1477 - new ldns - with fixed parse of large SOA values.
1479 7 September 2009: Wouter
1480 - autotrust testbound scenarios.
1481 - autotrust fix that failure count is written to file.
1482 - autotrust fix that keys may become valid after add holddown time
1483 alone, before the probe returns.
1485 4 September 2009: Wouter
1486 - Changes to make unbound work with libevent-2.0.3 alpha. (in
1487 configure detection due to new ssl dependency in libevent)
1488 - do not call sphinx for documentation when python is disabled.
1489 - remove EV_PERSIST from libevent timeout code to make the code
1490 compatible with the libevent-2.0. Works with older libevent too.
1491 - fix memory leak in python code.
1493 3 September 2009: Wouter
1494 - Got a patch from Luca Bruno for libunbound support on windows to
1495 pick up the system resolvconf nameservers and hosts there.
1496 - included ldns updated (enum warning fixed).
1497 - makefile fix for parallel makes.
1498 - Patch from Zdenek Vasicek and Attila Nagy for using the source IP
1499 from python scripts. See pythonmod/examples/resip.py.
1500 - doxygen comment fixes.
1502 2 September 2009: Wouter
1503 - TRAFFIC keyword for testbound. Simplifies test generation.
1504 ${range lower val upper} to check probe timeout values.
1505 - test with 5011-prepublish rollover and revocation.
1506 - fix revocation of RR for autotrust, stray exclamation mark.
1508 1 September 2009: Wouter
1509 - testbound variable arithmetic.
1510 - autotrust probe time is randomised.
1511 - autotrust: the probe is active and does not fetch from cache.
1513 31 August 2009: Wouter
1514 - testbound variable processing.
1516 28 August 2009: Wouter
1517 - fixup unbound-control lookup to print forward and stub servers.
1519 27 August 2009: Wouter
1520 - autotrust: mesh answer callback is empty.
1522 26 August 2009: Wouter
1523 - autotrust probing.
1524 - iana portlist updated.
1526 25 August 2009: Wouter
1527 - fixup memleak in trust anchor unsupported algorithm check.
1528 - iana portlist updated.
1529 - autotrust options: add-holddown, del-holddown, keep-missing.
1530 - autotrust store revoked status of trust points.
1531 - ctime_r compat definition.
1532 - detect yylex_destroy() in configure.
1533 - detect SSL_get_compression_methods declaration in configure.
1534 - fixup DS lookup at anchor point with unsigned parent.
1535 - fixup DLV lookup for DS queries to unsigned domains.
1537 24 August 2009: Wouter
1538 - cleaner memory allocation on exit. autotrust test routines.
1539 - free all memory on program exit, fix for ssl and flex.
1541 21 August 2009: Wouter
1542 - autotrust: debug routines. Read,write and conversions work.
1544 20 August 2009: Wouter
1545 - autotrust: save and read trustpoint variables.
1547 19 August 2009: Wouter
1548 - autotrust: state table updates.
1549 - iana portlist updated.
1551 17 August 2009: Wouter
1552 - autotrust: process events.
1554 17 August 2009: Wouter
1555 - Fix so that servers are only blacklisted if they fail to reply
1556 to 16 queries in a row and the timeout gets above 2 minutes.
1557 - autotrust work, split up DS verification of DNSKEYs.
1559 14 August 2009: Wouter
1560 - unbound-control lookup prints out infra cache information, like RTT.
1561 - Fix bug in DLV lookup reported by Amanda from Secure64.
1562 It could sometimes wrongly classify a domain as unsigned, which
1563 does not give the AD bit on replies.
1565 13 August 2009: Wouter
1566 - autotrust read anchor files. locked trust anchors.
1568 12 August 2009: Wouter
1569 - autotrust import work.
1571 11 August 2009: Wouter
1572 - Check for openssl compatible with gost if enabled.
1573 - updated unit test for GOST=211 code.
1574 Nicer naming of test files.
1575 - iana portlist updated.
1577 7 August 2009: Wouter
1578 - call OPENSSL_config() in unbound and unit test so that the
1579 operator can use openssl.cnf for configuration options.
1580 - removed small memory leak from config file reader.
1582 6 August 2009: Wouter
1583 - configure --enable-gost for GOST support, experimental
1584 implementation of draft-dolmatov-dnsext-dnssec-gost-01.
1585 - iana portlist updated.
1586 - ldns tarball updated (with GOST support).
1588 5 August 2009: Wouter
1589 - trunk moved to 1.3.4.
1591 4 August 2009: Wouter
1592 - Added test that the examples from draft rsasha256-14 verify.
1593 - iana portlist updated.
1596 3 August 2009: Wouter
1597 - nicer warning when algorithm not supported, tells you to upgrade.
1598 - iana portlist updated.
1600 27 July 2009: Wouter
1601 - Updated unbound-cacti contribution from Dmitriy Demidov, with
1602 the queue statistics displayed in its own graph.
1603 - iana portlist updated.
1605 22 July 2009: Wouter
1606 - Fix bug found by Michael Tokarev where unbound would try to
1607 prime the root servers even though forwarders are configured for
1611 21 July 2009: Wouter
1612 - Fix server selection, so that it waits for open target queries when
1613 faced with lameness.
1615 20 July 2009: Wouter
1616 - Ignore transient sendto errors, no route to host, and host, net down.
1617 - contrib/update-anchor.sh has -r option for root-hints.
1618 - feature val-log-level: 1 prints validation failures so you can
1619 keep track of them during dnssec deployment.
1621 16 July 2009: Wouter
1622 - fix replacement malloc code. Used in crosscompile.
1623 - makedist -w creates crosscompiled setup.exe on fedora11.
1625 15 July 2009: Wouter
1626 - dependencies for compat items, for crosscompile.
1627 - mingw32 crosscompile changes, dependencies and zipfile creation.
1628 and with System.dll from the windows NSIS you can make setup.exe.
1629 - package libgcc_s_sjlj exception handler for NSISdl.dll.
1631 14 July 2009: Wouter
1632 - updated ldns tarball for solaris x64 compile assistance.
1633 - no need to define RAND_MAX from config.h.
1634 - iana portlist updated.
1635 - configure changes and ldns update for mingw32 crosscompile.
1637 13 July 2009: Wouter
1638 - Fix for crash at start on windows.
1639 - tag for release 1.3.2.
1640 - trunk has version 1.3.3.
1641 - Fix for ID bits on windows to use all 16. RAND_MAX was not
1642 defined like you'd expect on mingw. Reported by Mees de Roo.
1645 - tag for release 1.3.1.
1646 - trunk has version 1.3.2.
1649 - iana portlist updated.
1652 - prettier error handling in SSL setup.
1653 - makedist.sh uname fix (same as ldns).
1654 - updated fedora spec file.
1657 - fixup linking when ldnsdir is "".
1659 30 June 2009: Wouter
1660 - more lenient truncation checks.
1662 29 June 2009: Wouter
1663 - ldns trunk r2959 imported as tarball, because of solaris cc compile
1664 support for c99. r2960 for better configure.
1665 - better wrongly_truncated check.
1666 - On Linux, fragment IPv6 datagrams to the IPv6 minimum MTU, to
1667 avoid dropped packets at routers.
1669 26 June 2009: Wouter
1670 - Fix EDNS fallback when EDNS works for short answers but long answers
1673 22 June 2009: Wouter
1674 - fixup iter priv strict aliasing while preserving size of sockaddr.
1675 - iana portlist updated. (one less port allocated, one more fraction
1676 of a bit for security!)
1677 - updated fedora specfile in contrib from Paul Wouters.
1679 19 June 2009: Wouter
1680 - Fixup strict aliasing warning in iter priv code.
1681 and config_file code.
1682 - iana portlist updated.
1683 - harden-referral-path: handle cases where NS is in answer section.
1685 18 June 2009: Wouter
1686 - Fix of message parse bug where (specifically) an NSEC and RRSIG
1687 in the wrong order would be parsed, but put wrongly into internal
1688 structures so that later validation would fail.
1689 - Extreme lenience for wrongly truncated replies where a positive
1690 reply has an NS in the authority but no signatures. They are
1691 turned into minimal responses with only the (secure) answer.
1692 - autoconf 2.63 for configure.
1693 - python warnings suppress. Keep python API away from header files.
1695 17 June 2009: Wouter
1696 - CREDITS entry for cz.nic, sponsoring a 'summer of code' that was
1697 used for the python code in unbound. (http://www.nic.cz/vip/ in cz).
1699 16 June 2009: Wouter
1700 - Fixup opportunistic target query generation to it does not
1701 generate queries that are known to fail.
1702 - Touchup on munin total memory report.
1703 - messages picked out of the cache by the iterator are checked
1704 if their cname chain is still correct and if validation status
1705 has to be reexamined.
1707 15 June 2009: Wouter
1708 - iana portlist updated.
1710 14 June 2009: Wouter
1711 - Fixed bug where cached responses would lose their security
1712 status on second validation, which especially impacted dlv
1713 lookups. Reported by Hauke Lampe.
1715 13 June 2009: Wouter
1716 - bug #254. removed random whitespace from example.conf.
1718 12 June 2009: Wouter
1719 - Fixup potential wrong NSEC picked out of the cache.
1720 - If unfulfilled callbacks are deleted they are called with an error.
1721 - fptr wlist checks for mesh callbacks.
1722 - fwd above stub in configuration works.
1724 11 June 2009: Wouter
1725 - Fix queries for type DS when forward or stub zones are there.
1726 They are performed to higherup domains, and thus treated as if
1727 going to higher zones when looking up the right forward or stub
1728 server. This makes a stub pointing to a local server that has
1729 a local view of example.com signed with the same keys as are
1730 publicly used work. Reported by Johan Ihren.
1731 - Added build-unbound-localzone-from-hosts.pl to contrib, from
1732 Dennis DeDonatis. It converts /etc/hosts into config statements.
1733 - same thing fixed for forward-zone and DS, chain of trust from
1734 public internet into the forward-zone works now. Added unit test.
1737 - openssl key files are opened apache-style, when user is root and
1738 before chrooting. This makes permissions on remote-control key
1739 files easier to set up. Fixes bug #251.
1740 - flush_type and flush_name remove msg cache entries.
1741 - codereview - dp copy bogus setting fix.
1744 - Removed RFC5011 REVOKE flag support. Partial 5011 support may cause
1745 inadvertant behaviour.
1746 - 1.3.0 tarball for release created.
1747 - 1.3.1 development in svn trunk.
1748 - iana portlist updated.
1749 - fix lint from complaining on ldns/sha.h.
1750 - help compiler figure out aliasing in priv_rrset_bad() routine.
1751 - fail to configure with python if swig is not found.
1752 - unbound_munin_ in contrib uses ps to show rss if sbrk does not work.
1755 - fixup bad free() when wrongly encoded DSA signature is seen.
1756 Reported by Paul Wouters.
1757 - review comments from Matthijs.
1760 - --enable-sha2 option. The draft rsasha256 changed its algorithm
1761 numbers too often. Therefore it is more prudent to disable the
1762 RSASHA256 and RSASHA512 support by default.
1763 - ldns trunk included as new tarball.
1764 - recreated the 1.3.0 tag in svn. rc1 tarball generated at this point.
1767 - fixup doc bug in README reported by Matthew Dempsky.
1770 - update iana port list
1771 - update ldns lib tarball
1774 - detect lack of IPv6 support on XP (with a different error code).
1775 - Fixup a crash-on-exit which was triggered by a very long queue.
1776 Unbound would try to re-use ports that came free, but this is
1777 of course not really possible because everything is deleted.
1778 Most easily triggered on XP (not Vista), maybe because of the
1779 network stack encouraging large messages backlogs.
1780 - change in debug statements.
1781 - Fixed bug that could cause a crash if root prime failed when there
1782 were message backlogs.
1785 - Thanks again to Brett Carr, found an assertion that was not true.
1786 Assertion checked if recursion parent query still existed.
1788 29 April 2009: Wouter
1789 - Thanks to Brett Carr, caught windows resource leak, use
1790 closesocket() and not close() on sockets or else the network stack
1791 starts to leak handles.
1792 - Removed usage of windows Mutex because windows cannot handle enough
1793 mutexes open. Provide own mutex implementation using primitives.
1795 28 April 2009: Wouter
1796 - created svn tag for 1.3.0.
1798 27 April 2009: Wouter
1799 - optimised cname from cache.
1800 - ifdef windows functions in testbound.
1802 23 April 2009: Wouter
1803 - fix for threadsafety in solaris thr_key_create() in tests.
1804 - iana portlist updated.
1805 - fix pylib test for Darwin.
1806 - fix pymod test for Darwin and a python threading bug in pymod init.
1807 - check python >= 2.4 in configure.
1808 - -ldl check for libcrypto 1.0.0beta.
1810 21 April 2009: Wouter
1811 - fix for build outside sourcedir.
1812 - fix for configure script swig detection.
1814 17 April 2009: Wouter
1815 - Fix reentrant in minievent handler for unix. Could have resulted
1816 in spurious event callbacks.
1817 - timers do not take up a fd slot for winsock handler.
1818 - faster fix for winsock reentrant check.
1819 - fix rsasha512 unit test for new (interim) algorithm number.
1820 - fix test:ldns doesn't like DOS line endings in keyfiles on unix.
1821 - fix compile warning on ubuntu (configlexer fwrite return value).
1822 - move python include directives into CPPFLAGS instead of CFLAGS.
1824 16 April 2009: Wouter
1825 - winsock event handler exit very quickly on signal, even if
1827 - iana portlist updated.
1828 - fixup windows winsock handler reentrant problem.
1830 14 April 2009: Wouter
1831 - bug #245: fix munin plugin, perform cleanup of stale lockfiles.
1832 - makedist.sh; better help text.
1833 - cache-min-ttl option and tests.
1834 - mingw detect error condition on TCP sockets (NOTCONN).
1836 9 April 2009: Wouter
1837 - Fix for removal of RSASHA256_NSEC3 protonumber from ldns.
1838 - ldns tarball updated.
1839 - iana portlist update.
1840 - detect GOST support in openssl-1.0.0-beta1, and fix compile problem
1841 because that openssl defines the name STRING for itself.
1843 6 April 2009: Wouter
1844 - windows compile fix.
1845 - Detect FreeBSD jail without ipv6 addresses assigned.
1846 - python libunbound wrapper unit test.
1847 - installs the following files. Default is to not build them.
1848 from configure --with-pythonmodule:
1849 /usr/lib/python2.x/site-packages/unboundmodule.py
1850 from configure --with-pyunbound:
1851 /usr/lib/python2.x/site-packages/unbound.py
1852 /usr/lib/python2.x/site-packages/_unbound.so*
1853 The example python scripts (pythonmod/examples and
1854 libunbound/python/examples) are not installed.
1855 - python invalidate routine respects packed rrset ids and locks.
1856 - clock skew checks in unbound, config statements.
1857 - nxdomain ttl considerations in requirements.txt
1859 3 April 2009: Wouter
1860 - Fixed a bug that caused messages to be stored in the cache too
1861 long. Hard to trigger, but NXDOMAINs for nameservers or CNAME
1862 targets have been more vulnerable to the TTL miscalculation bug.
1863 - documentation test fixed for python addition.
1865 2 April 2009: Wouter
1866 - pyunbound (libunbound python plugin) compiles using libtool.
1867 - documentation for pythonmod and pyunbound is generated in doc/html.
1868 - iana portlist updated.
1869 - fixed bug in unbound-control flush_zone where it would not flush
1870 every message in the target domain. This especially impacted
1871 NXDOMAIN messages which could remain in the cache regardless.
1872 - python module test package.
1874 1 April 2009: Wouter
1875 - suppress errors when trying to contact authority servers that gave
1876 ipv6 AAAA records for their nameservers with ipv4 mapped contents.
1877 Still tries to do so, could work when deployed in intranet.
1878 Higher verbosity shows the error.
1879 - new libunbound calls documented.
1880 - pyunbound in libunbound/python. Removed compile warnings.
1881 Makefile to make it.
1883 30 March 2009: Wouter
1884 - Fixup LDFLAGS from libevent sourcedir compile configure restore.
1885 - Fixup so no non-absolute rpaths are added.
1886 - Fixup validation of RRSIG queries, they are let through.
1887 - read /dev/random before chroot
1888 - checkconf fix no python checks when no python module enabled.
1889 - fix configure, pthread first, so other libs do not change outcome.
1891 27 March 2009: Wouter
1892 - nicer -h output. report linked libraries and modules.
1893 - prints modules in intuitive order (config file friendly).
1894 - python compiles easily on BSD.
1896 26 March 2009: Wouter
1897 - ignore swig varargs warnings with gcc.
1898 - remove duplicate example.conf text from python example configs.
1899 - outofdir compile fix for python.
1901 - print modules compiled in on -h. manpage.
1903 25 March 2009: Wouter
1904 - initial import of the python contribution from Zdenek Vasicek and
1906 - pythonmod in Makefile; changes to remove warnings/errors for 1.3.0.
1908 24 March 2009: Wouter
1909 - more neat configure.ac. Removed duplicate config.h includes.
1910 - neater config.h.in.
1911 - iana portlist updated.
1912 - fix util/configlexer.c and solaris -std=c99 flag.
1913 - fix postcommit aclocal errors.
1914 - spaces stripped. Makefile cleaner, /usr omitted from -I, -L, -R.
1915 - swap order of host detect and libtool generation.
1917 23 March 2009: Wouter
1918 - added launchd plist example file for MacOSX to contrib.
1919 - deprecation test for daemon(3).
1920 - moved common configure actions to m4 include, prettier Makefile.
1922 20 March 2009: Wouter
1923 - bug #239: module-config entries order is important. Documented.
1924 - build fix for test asynclook.
1926 19 March 2009: Wouter
1927 - winrc/README.txt dos-format text file.
1928 - iana portlist updated.
1929 - use _beginthreadex() when available (performs stack alignment).
1930 - defaults for windows baked into configure.ac (used if on mingw).
1932 18 March 2009: Wouter
1933 - Added tests, unknown algorithms become insecure. fallback works.
1934 - Fix for and test for unknown algorithms in a trust anchor
1935 definition. Trust anchors with no supported algos are ignored.
1936 This means a (higher)DS or DLV entry for them could succeed, and
1937 otherwise they are treated as insecure.
1938 - domain-insecure: "example.com" statement added. Sets domain
1939 insecure regardless of chain of trust DSs or DLVs. The inverse
1942 17 March 2009: Wouter
1943 - unit test for unsupported algorithm in anchor warning.
1944 - fixed so queries do not fail on opportunistic target queries.
1946 16 March 2009: Wouter
1947 - fixup diff error printout in contrib/update-itar.sh.
1948 - added contrib/unbound_cacti for statistics support in cacti,
1949 contributed by Dmitriy Demidov.
1951 13 March 2009: Wouter
1952 - doxygen and lex/yacc on linux.
1953 - strip update-anchor on makedist -w.
1954 - fix testbound on windows.
1955 - default log to syslog for windows.
1956 - uninstaller can stop unbound - changed text on it to reflect that.
1957 - remove debugging from windows 'cron' actions.
1959 12 March 2009: Wouter
1960 - log to App.logs on windows prints executable identity.
1962 - munin plugin fix benign locking error printout.
1963 - anchor-update for windows, called every 24 hours; unbound reloads.
1965 11 March 2009: Wouter
1966 - winsock event handler resets WSAevents after signalled.
1967 - winsock event handler tests if signals are really signalled.
1968 - install and service with log to file works on XP and Vista on
1969 default install location.
1970 - on windows logging to the Application logbook works (as a service).
1971 - fix RUN_DIR on windows compile setting in makedist.
1972 - windows registry has Software\Unbound\ConfigFile element.
1973 If does not exist, the default is used. The -c switch overrides it.
1974 - fix makedist version cleanup function.
1976 10 March 2009: Wouter
1977 - makedist -w strips out old rc.. and snapshot info from version.
1978 - setup.exe starts and stops unbound after install, before uninstall.
1979 - unbound-checkconf recognizes absolute pathnames on windows (C:...).
1981 9 March 2009: Wouter
1982 - Nullsoft NSIS installer creation script.
1984 5 March 2009: Wouter
1985 - fixup memory leak introduced on 18feb in mesh reentrant fix.
1987 3 March 2009: Wouter
1988 - combined icon with 16x16(4) 32x32(4) 48x48(8) 64x64(8).
1989 - service works on xp/vista, no config necessary (using defaults).
1990 - windows registry settings.
1992 2 March 2009: Wouter
1993 - fixup --export-symbols to be -export-symbls for libtool.
1994 This should fix extraneous symbols exported from libunbound.
1995 Thanks to Ondrej Sury and Robert Edmonds for finding it.
1996 - iana portlist updated.
1997 - document FAQ entry on stub/forward zones and default blocking.
1998 - fix asynclook test app for libunbound not exporting symbols.
1999 - service install and remove utils that work with vista UAC.
2001 27 February 2009: Wouter
2002 - Fixup lexer, to not give warnings about fwrite. Appeared in
2004 - makedistro functionality for mingw. Has RC support.
2005 - support spaces and backslashes in configured defaults paths.
2006 - register, deregister in service control manager.
2008 25 February 2009: Wouter
2009 - windres usage for application resources.
2011 24 February 2009: Wouter
2012 - isc moved their dlv key download location.
2013 - fixup warning on vista/mingw.
2014 - makedist -w for window zip distribution first version.
2016 20 February 2009: Wouter
2017 - Fixup contrib/update-itar.sh, the exit codes 1 and 0 were swapped.
2018 Nicer script layout. Added url to site in -h output.
2020 19 February 2009: Wouter
2021 - unbound-checkconf and unbound print warnings when trust anchors
2022 have unsupported algorithms.
2023 - added contrib/update-itar.sh This script is similar to
2024 update-anchor.sh, and updates from the IANA ITAR repository.
2025 You can provide your own PGP key and trust repo, or can use the
2026 builtin. The program uses wget and gpg to work.
2027 - iana portlist updated.
2028 - update-itar.sh: using ftp:// urls because https godaddy certificate
2029 is not available everywhere and then gives fatal errors. The
2030 security is provided by pgp signature.
2032 18 February 2009: Wouter
2033 - more cycle detection. Also for target queries.
2034 - fixup bug where during deletion of the mesh queries the callbacks
2035 that were reentrant caused assertion failures. Keep the mesh in
2036 a reentrant safe state. Affects libunbound, reload of server,
2037 on quit and flush_requestlist.
2038 - iana portlist updated.
2040 13 February 2009: Wouter
2041 - forwarder information now per-thread duplicated.
2042 This keeps it read only for speed, with no locking necessary.
2043 - forward command for unbound control to change forwarders to use
2045 - document that unbound-host reads no config file by default.
2046 - updated iana portlist.
2048 12 February 2009: Wouter
2049 - call setusercontext if available (on BSD).
2050 - small refactor of stats clearing.
2051 - #227: flush_stats feature for unbound-control.
2052 - stats_noreset feature for unbound-control.
2053 - flush_requestlist feature for unbound-control.
2054 - libunbound version upped API (was changed 5 feb).
2055 - unbound-control status shows if root forwarding is in use.
2056 - slightly nicer memory management in iter-fwd code.
2058 10 February 2009: Wouter
2059 - keys with rfc5011 REVOKE flag are skipped and not considered when
2061 - iana portlist updated
2062 - #226: dump_requestlist feature for unbound-control.
2064 6 February 2009: Wouter
2065 - contrib contains specfile for fedora 1.2.1 (from Paul Wouters).
2066 - iana portlist updated.
2067 - fixup EOL in include directive (reported by Paul Wouters).
2068 You can no longer specify newlines in the names of included files.
2069 - config parser changed. Gives some syntax errors closer to where they
2070 occurred. Does not enforce a space after keyword anymore.
2071 Does not allow literal newlines inside quoted strings anymore.
2072 - verbosity level 5 logs customer IP for new requestlist entries.
2073 - test fix, lexer and cancel test.
2074 - new option log-time-ascii: yes if you enable it prints timestamps
2075 in the log file as Feb 06 13:45:26 (like syslog does).
2076 - detect event_base_new in libevent-1.4.1 and later and use it.
2077 - #231 unbound-checkconf -o option prints that value from config file.
2078 Useful for scripting in management scripts and the like.
2080 5 February 2009: Wouter
2081 - ldns 1.5.0 rc as tarball included.
2082 - 1.3.0 development continues:
2083 change in libunbound API: ub_cancel can return an error, that
2084 the async_id did not exist, or that it was already delivered.
2085 The result could have been delivered just before the cancel
2086 routine managed to acquire the lock, so a caller may get the
2087 result at the same time they call cancel. For this case,
2088 ub_cancel tries to return an error code.
2089 Fixes race condition in ub_cancel() libunbound function.
2090 - MacOSX Leopard cleaner text output from configure.
2091 - initgroups(3) is called to drop secondary group permissions, if
2093 - configure option --with-ldns-builtin forces the use of the
2094 inluded ldns package with the unbound source. The -I include
2095 is put before the others, so it avoids bad include files from
2096 an older ldns install.
2097 - daemon(3) posix call is used when available.
2098 - testbound test for older fix added.
2100 4 February 2009: Wouter
2101 - tag for release 1.2.1.
2102 - trunk setup for 1.3.0 development.
2104 3 February 2009: Wouter
2105 - noted feature requests in doc/TODO.
2106 - printout more detailed errors on ssl certificate loading failures.
2107 - updated IANA portlist.
2109 16 January 2009: Wouter
2110 - more quiet about ipv6 network failures, i.e. when ipv6 is not
2111 available (network unreachable). Debug still printed on high
2113 - unbound-host -4 and -6 options. Stops annoying ipv6 errors when
2114 debugging with unbound-host -4 -d ...
2115 - more cycle detection for NS-check, addr-check, root-prime and
2116 stub-prime queries in the iterator. Avoids possible deadlock
2119 15 January 2009: Wouter
2120 - bug #229: fixup configure checks for compilation with Solaris
2121 Sun cc compiler, ./configure CC=/opt/SUNWspro/bin/cc
2122 - fixup suncc warnings.
2123 - fix bug where unbound could crash using libevent 1.3 and older.
2124 - update testset for recent retry change.
2126 14 January 2009: Wouter
2127 - 1.2.1 feature: negative caching for failed queries.
2128 Queries that failed are cached for 5 seconds (NORR_TTL).
2129 If the failure is local, like out of memory, it is not cached.
2130 - the TTL comparison for the cache used different comparisons,
2131 causing many cache responses that used the iterator and validator
2132 state machines unnecessarily.
2133 - retry from 4 to 5 so that EDNS drop retry is part of the first
2134 query resolve attempt, and cached error does not stop EDNS fallback.
2135 - remove debug prints that protect against bad referrals.
2136 - honor QUIET=no on make commandline (or QUIET=yes ).
2138 13 January 2009: Wouter
2139 - fixed bug in lameness marking, removed printouts.
2140 - find NS rrset more cleanly for qtype NS.
2141 - Moved changes to 1.2.0 for release. Thanks to Mark Zealey for
2143 - 1.2.1 feature: stops resolving AAAAs promiscuously when they
2144 are in the negative cache.
2146 12 January 2009: Wouter
2147 - fixed bug in infrastructure lameness cache, did not lowercase
2148 name of zone to hash when setting lame.
2149 - lameness debugging printouts.
2151 9 January 2009: Wouter
2152 - created svn tag for 1.2.0 release.
2153 - svn trunk contains 1.2.1 version number.
2154 - iana portlist updated for todays list.
2155 - removed debug print.
2157 8 January 2009: Wouter
2158 - new version of ldns-trunk (today) included as tarball, fixed
2159 bug #224, building with -j race condition.
2160 - remove possible race condition in the test for race conditions.
2162 7 January 2009: Wouter
2163 - version 1.2.0 in preparation.
2164 - feature to allow wildcards (*, ?, [], {}. ~) in trusted-keys-file
2165 statements. (Adapted from patch by Paul Wouters).
2166 - typo fix and iana portlist updated.
2167 - porting testsuite; unused var warning, and type fixup.
2169 6 January 2009: Wouter
2170 - fixup packet-of-death when compiled with --enable-debug.
2171 A malformed packet could cause an internal assertion failure.
2172 - added test for HINFO canonicalisation behaviour.
2173 - fixup reported problem with transparent local-zone data where
2174 queries with different type could get nxdomain. Now queries
2175 with a different name get resolved normally, with different type
2176 get a correct NOERROR/NODATA answer.
2177 - HINFO no longer downcased for validation, making unbound compatible
2179 - fix reading included config files when chrooted.
2180 Give full path names for include files.
2181 Relative path names work if the start dir equals the working dir.
2182 - fix libunbound message transport when no packet buffer is available.
2184 5 January 2009: Wouter
2185 - fixup getaddrinfo failure handling for remote control port.
2186 - added L.ROOT-SERVERS.NET. AAAA 2001:500:3::42 to builtin root hints.
2187 - fixup so it works with libev-3.51 from http://dist.schmorp.de/libev/
2188 - comm_timer_set performs base_set operation after event_add.
2190 18 December 2008: Wouter
2191 - fixed bug reported by Duane Wessels: error in DLV lookup, would make
2192 some zones that had correct DLV keys as insecure.
2193 - follows -rc makedist from ldns changes (no _rc).
2194 - ldns tarball updated with 1.4.1rc for DLV unit test.
2195 - verbose prints about recursion lame detection and server selection.
2196 - fixup BSD port for infra host storage. It hashed wrongly.
2197 - fixup makedist snapshot name generation.
2198 - do not reopen syslog to avoid dev/log dependency.
2200 17 December 2008: Wouter
2201 - follows ldns makedist.sh. -rc option. autom4te dir removed.
2202 - unbound-control status command.
2203 - extended statistics has a number of ipv6 queries counter.
2204 contrib/unbound_munin_ was updated to draw ipv6 in the hits graph.
2206 16 December 2008: Wouter
2207 - follow makedist improvements from ldns, for maintainers prereleases.
2208 - snapshot version uses _ not - to help rpm distinguish the
2211 11 December 2008: Wouter
2212 - better fix for bug #219: use LOG_NDELAY with openlog() call.
2213 Thanks to Tamas Tevesz.
2215 9 December 2008: Wouter
2216 - bug #221 fixed: unbound checkconf checks if key files exist if
2217 remote control is enabled. Also fixed NULL printf when not chrooted.
2218 - iana portlist updated.
2220 3 December 2008: Wouter
2221 - Fix problem reported by Jaco Engelbrecht where unbound-control stats
2222 freezes up unbound if this was compiled without threading, and
2223 was using multiple processes.
2224 - iana portlist updated.
2225 - test for remote control with interprocess communication.
2226 - created command distribution mechanism so that remote control
2227 commands other than 'stats' work on all processes in a nonthreaded
2228 compiled version. dump/load cache work, on the first process.
2229 - fixup remote control local_data addition memory corruption bug.
2231 1 December 2008: Wouter
2232 - SElinux policy files in contrib/selinux for the unbound daemon,
2233 by Paul Wouters and Adam Tkac.
2235 25 November 2008: Wouter
2236 - configure complains when --without-ssl is given (bug #220).
2237 - skip unsupported feature tests on vista/mingw.
2238 - fixup testcode/streamtcp to work on vista/mingw.
2239 - root-hints test checks version of dig required.
2240 - blacklisted servers are polled at a low rate (1%) to see if they
2241 come back up. But not if there is some other working server.
2243 24 November 2008: Wouter
2244 - document that the user of the server daemon needs read privileges
2245 on the keys and certificates generated by unbound-control-setup.
2246 This is different per system or distribution, usually, running the
2247 script under the same username as the server uses suffices.
2248 i.e. sudo -u unbound unbound-control-setup
2249 - testset port to vista/mingw.
2250 - tcp_sigpipe to freebsd port.
2252 21 November 2008: Wouter
2253 - fixed tcp accept, errors were printed when they should not.
2254 - unbound-control-setup.sh removes read/write permissions other
2255 from the keys it creates (as suggested by Dmitriy Demidov).
2257 20 November 2008: Wouter
2258 - fixup fatal error due to faulty error checking after tcp accept.
2259 - add check in rlimit to avoid integer underflow.
2260 - rlimit check with new formula; better estimate for number interfaces
2261 - nicer comments in rlimit check.
2262 - tag 1.1.1 created in svn.
2263 - trunk label is 1.1.2
2265 19 November 2008: Wouter
2266 - bug #219: fixed so that syslog which delays opening until the first
2267 log line is written, gets a log line while not chroot'ed yet.
2269 18 November 2008: Wouter
2270 - iana portlist updated.
2271 - removed cast in unit test debug print that was not 64bit safe.
2272 - trunk back to 1.1.0; copied to tags 1.1.0 release.
2273 - trunk to has version number 1.1.1 again.
2274 - in 1.1.1; make clean nicer. grammar in manpage.
2276 17 November 2008: Wouter
2277 - theoretical fix for problems reported on mailing list.
2278 If a delegation point has no A but only AAAA and do-ip6 is no,
2279 resolution would fail. Fixed to ask for the A and AAAA records.
2280 It has to ask for both always, so that it can fail quietly, from
2281 TLD perspective, when a zone is only reachable on one transport.
2282 - test for above, only AAAA and doip6 is no. Fix causes A record
2283 for nameserver to be fetched.
2284 - fixup address duplication on cache fillup for delegation points.
2285 - testset updated for new query answer requirements.
2287 14 November 2008: Wouter
2288 - created 1.1.0 release tag in svn.
2289 - trunk moved to 1.1.1
2290 - fixup unittest-neg for locking.
2292 13 November 2008: Wouter
2293 - added fedora init and specfile to contrib (by Paul Wouters).
2294 - added configure check for ldns 1.4.0 (using its compat funcs).
2295 - neater comments in worker.h.
2296 - removed doc/plan and updated doc/TODO.
2297 - silenced EHOSTDOWN (verbosity 2 or higher to see it).
2298 - review comments from Jelte, Matthijs. Neater code.
2300 12 November 2008: Wouter
2301 - add unbound-control manpage to makedist replace list.
2303 11 November 2008: Wouter
2304 - unit test for negative cache, stress tests the refcounting.
2305 - fix for refcounting error that could cause fptr_wlist fatal exit
2306 in the negative cache rbtree (upcoming 1.1 feature). (Thanks to
2307 Attila Nagy for testing).
2308 - nicer comments in cachedump about failed RR to string conversion.
2309 - fix 32bit wrap around when printing large (4G and more) mem usage
2310 for extended statistics.
2312 10 November 2008: Wouter
2313 - fixup the getaddrinfo compat code rename.
2315 8 November 2008: Wouter
2316 - added configure check for eee build warning.
2318 7 November 2008: Wouter
2319 - fix bug 217: fixed, setreuid and setregid do not work on MacOSX10.4.
2320 - detect nonblocking problems in network stack in configure script.
2322 6 November 2008: Wouter
2323 - dname_priv must decompress the name before comparison.
2324 - iana portlist updated.
2326 5 November 2008: Wouter
2327 - fixed possible memory leak in key_entry_key deletion.
2328 Would leak a couple bytes when trust anchors were replaced.
2329 - if query and reply qname overlap, the bytes are skipped not copied.
2330 - fixed file descriptor leak when messages were jostled out that
2331 had outstanding (TCP) replies.
2332 - DNAMEs used from cache have their synthesized CNAMEs initialized
2334 - fixed file descriptor leak for localzone type deny (for TCP).
2335 - fixed memleak at exit for nsec3 negative cached zones.
2336 - fixed memleak for the keyword 'nodefault' when reading config.
2337 - made verbosity of 'edns incapable peer' warning higher, so you
2338 do not get spammed by it.
2339 - caught elusive Bad file descriptor error bug, that would print the
2340 error while unnecessarily try to listen to a closed fd. Fixed.
2342 4 November 2008: Wouter
2343 - fixed -Wwrite-strings warnings that result in better code.
2345 3 November 2008: Wouter
2346 - fixup build process for Mac OSX linker, use ldns b32 compat funcs.
2347 - generated configure with autoconf-2.61.
2348 - iana portlist updated.
2349 - detect if libssl needs libdl. For static linking with libssl.
2350 - changed to use new algorithm identifiers for sha256/sha512
2351 from ldns 1.4.0 (need very latest version).
2352 - updated the included ldns tarball.
2353 - proper detection of SHA256 and SHA512 functions (not just sizes).
2355 23 October 2008: Wouter
2356 - a little more debug info for failure on signer names. prints names.
2358 22 October 2008: Wouter
2359 - CFLAGS are picked up by configure from the environment.
2360 - iana portlist updated.
2361 - updated ldns to use 1.4.0-pre20081022 so it picks up CFLAGS too.
2362 - new stub-prime: yesno option. Default is off, so it does not prime.
2363 can be turned on to get same behaviour as previous unbound release.
2364 - made automated test that checks if builtin root hints are uptodate.
2365 - finished draft-wijngaards-dnsext-resolver-side-mitigation
2366 implementation. The unwanted-reply-threshold can be set.
2367 - fixup so fptr_whitelist test in alloc.c works.
2369 21 October 2008: Wouter
2370 - fix update-anchors.sh, so it does not report different RR order
2371 as an update. Sorts the keys in the file. Updated copyright.
2372 - fixup testbound on windows, the command control pipe doesn't exist.
2373 - skip 08hostlib test on windows, no fork() available.
2374 - made unbound-remote work on windows.
2376 20 October 2008: Wouter
2377 - quench a log message that is debug only.
2378 - iana portlist updated.
2379 - do not query bogus nameservers. It is like nameservers that have
2380 the NS or A or AAAA record bogus are listed as donotquery.
2381 - if server selection is faced with only bad choices, it will
2382 attempt to get more options to be fetched.
2383 - changed bogus-ttl default value from 900 to 60 seconds.
2384 In anticipation that operator caused failures are more likely than
2385 actual attacks at this time. And thus repeated validation helps
2386 the operators get the problem fixed sooner. It makes validation
2387 failures go away sooner (60 seconds after the zone is fixed).
2388 Also it is likely to try different nameserver targets every minute,
2389 so that if a zone is bad on one server but not another, it is
2390 likely to pick up the 'correct' one after a couple minutes,
2391 and if the TTL is big enough that solves validation for the zone.
2392 - fixup unbound-control compilation on windows.
2394 17 October 2008: Wouter
2395 - port Leopard/G5: fixup type conversion size_t/uint32.
2396 please ranlib, stop file without symbols warning.
2397 - harden referral path now also validates the root after priming.
2398 It looks up the root NS authoritatively as well as the root servers
2399 and attemps to validate the entries.
2401 16 October 2008: Wouter
2402 - Fixup negative TTL values appearing (reported by Attila Nagy).
2404 15 October 2008: Wouter
2405 - better documentation for 0x20; remove fallback TODO, it is done.
2406 - harden-referral-path feature includes A, AAAA queries for glue,
2407 as well as very careful NS caching (only when doing NS query).
2408 A, AAAA use the delegation from the NS-query.
2410 14 October 2008: Wouter
2411 - fwd_three.tpkg test was flaky. If the three requests hit the
2412 wrong threads by chance (or bad OS) then the test would fail.
2413 Made less flaky by increasing number of retries.
2414 - stub_udp.tpkg changed to work, give root hints. fixed ldns_dname_abs.
2415 - ldns tarball is snapshot of ldns r2759 (1.4.0-pre-20081014).
2416 Which includes the ldns_dname_absolute fix.
2417 - fwd_three test remains flaky now that unbound does not stop
2418 listening when full. Thus, removed timeout problem.
2419 It may be serviced by three threads, or maybe by one.
2420 Mostly only useful for lock-check testing now.
2422 13 October 2008: Wouter
2423 - fixed recursion servers deployed as authoritative detection, so
2424 that as a last resort, a +RD query is sent there to get the
2426 - iana port list update.
2427 - ldns tarball is snapshot of ldns r2759 (1.4.0-pre-20081013).
2429 10 October 2008: Wouter
2430 - fixup tests - the negative cache contained the correct NSEC3s for
2431 two tests that are supposed to fail to validate.
2433 9 October 2008: Wouter
2434 - negative cache caps max iterations of NSEC3 done.
2435 - NSEC3 negative cache for qtype DS works.
2437 8 October 2008: Wouter
2438 - NSEC negative cache for DS.
2440 6 October 2008: Wouter
2441 - jostle-timeout option, so you can config for slow links.
2442 - 0x20 fallback code. Tries 3xnumber of nameserver addresses
2443 queries that must all be the same. Sent to random nameservers.
2444 - documented choices for DoS, EDNS, 0x20.
2446 2 October 2008: Wouter
2447 - fixup unlink of pidfile.
2448 - fixup SHA256 algorithm collation code.
2449 - contrib/update-anchor.sh does not overwrite anchors if not needed.
2450 exits 0 when a restart is needed, other values if not.
2451 so, update-anchor.sh -d mydir && /etc/rc.d/unbound restart
2452 can restart unbound exactly when needed.
2454 30 September 2008: Wouter
2455 - fixup SHA256 DS downgrade, no longer possible to downgrade to SHA1.
2456 - tests for sha256 support and downgrade resistance.
2457 - RSASHA256 and RSASHA512 support (using the draft in dnsext),
2458 using the drafted protocol numbers.
2459 - when using stub on localhost (127.0.0.1@10053) unbound works.
2460 Like when running NSD to host a local zone, on the same machine.
2461 The noprime feature. manpages more explanation. Added a test for it.
2462 - shorthand for reverse PTR, local-data-ptr: "1.2.3.4 www.ex.com"
2464 29 September 2008: Wouter
2465 - EDNS lameness detection, if EDNS packets are dropped this is
2466 detected, eventually.
2467 - multiple query timeout rtt backoff does not backoff too much.
2469 26 September 2008: Wouter
2470 - tests for remote-control.
2471 - small memory leak in exception during remote control fixed.
2472 - fixup for lock checking but not unchecking in remote control.
2473 - iana portlist updated.
2475 23 September 2008: Wouter
2476 - Msg cache is loaded. A cache load enables cache responses.
2477 - unbound-control flush [name], flush_type and flush_zone.
2479 22 September 2008: Wouter
2480 - dump_cache and load_cache statements in unbound-control.
2481 RRsets are dumped and loaded correctly.
2482 Msg cache is dumped.
2484 19 September 2008: Wouter
2485 - locking on the localdata structure.
2486 - add and remove local zone and data with unbound-control.
2487 - ldns trunk snapshot updated, make tests work again.
2489 18 September 2008: Wouter
2490 - fixup error in time calculation.
2491 - munin plugin improvements.
2492 - nicer abbreviations for high query types values (ixfr, axfr, any...)
2493 - documented the statistics output in unbound-control man page.
2494 - extended statistics prints out histogram, over unbound-control.
2496 17 September 2008: Wouter
2497 - locking for threadsafe bogus rrset counter.
2498 - ldns trunk no longer exports b32 functions, provide compat.
2499 - ldns tarball updated.
2500 - testcode/ldns-testpkts.c const fixups.
2501 - fixed rcode stat printout.
2502 - munin plugin in contrib.
2503 - stats always printout uptime, because stats plugins need it.
2505 16 September 2008: Wouter
2506 - extended-statistics: yesno config option.
2507 - unwanted replies spoof nearmiss detector.
2508 - iana portlist updated.
2510 15 September 2008: Wouter
2511 - working start, stop, reload commands for unbound-control.
2512 - test for unbound-control working; better exit value for control.
2513 - verbosity control via unbound-control.
2514 - unbound-control stats.
2516 12 September 2008: Wouter
2517 - removed browser control mentions. Proto speccy.
2519 11 September 2008: Wouter
2520 - set nonblocking on new TCP streams, because linux does not inherit
2521 the socket options to the accepted socket.
2523 - SSL protected connection between server and unbound-control.
2525 10 September 2008: Wouter
2526 - remove memleak in privacy addresses on reloads and quits.
2527 - remote control work.
2529 9 September 2008: Wouter
2530 - smallapp/unbound-control-setup.sh script to set up certificates.
2532 4 September 2008: Wouter
2533 - scrubber scrubs away private addresses.
2534 - test for private addresses. man page entry.
2535 - code refactored for name and address tree lookups.
2537 3 September 2008: Wouter
2538 - options for 'DNS Rebinding' protection: private-address and
2540 - dnstree for reuse of routines that help with domain, addr lookups.
2541 - private-address and private-domain config option read, stored.
2543 2 September 2008: Wouter
2544 - DoS protection features. Queries are jostled out to make room.
2545 - testbound can pass time, increasing the internal timer.
2546 - do not mark unsigned additionals bogus, leave unchecked, which
2549 1 September 2008: Wouter
2550 - disallow nonrecursive queries for cache snooping by default.
2551 You can allow is using access-control: <subnet> allow_snoop.
2552 The defaults do allow access no authoritative data without RD bit.
2553 - two tests for it and fixups of tests for nonrec refused.
2555 29 August 2008: Wouter
2556 - version 1.1 number in trunk.
2557 - harden-referral-path option for query for NS records.
2558 Default turns off expensive, experimental option.
2560 28 August 2008: Wouter
2561 - fixup logfile handling; it is created with correct permissions
2562 again. (from bugfix#199).
2563 Some errors are not written to logfile (pidfile writing, forking),
2564 and these are only visible by using the -d commandline flag.
2566 27 August 2008: Wouter
2567 - daemon(3) is causing problems for people. Reverting the patch.
2568 bug#200, and 199 and 203 contain sideline discussion on it.
2569 - bug#199 fixed: pidfile can be outside chroot. openlog is done before
2570 chroot and drop permissions.
2571 - config option to set size of aggressive negative cache,
2573 - bug#203 fixed: dlv has been implemented.
2575 26 August 2008: Wouter
2576 - test for insecure zone when DLV is in use, also does negative cache.
2577 - test for trustanchor when DLV is in use (the anchor works).
2578 - test for DLV used for a zone below a trustanchor.
2579 - added scrub filter for overreaching NSEC records and unit test.
2580 - iana portlist update
2581 - use of setresuid or setreuid when available.
2582 - use daemon(3) if available.
2584 25 August 2008: Wouter
2585 - realclean patch from Robert Edmonds.
2587 22 August 2008: Wouter
2588 - nicer debuglogging of DLV.
2589 - test with secure delegation inside the DLV repository.
2591 21 August 2008: Wouter
2592 - negative cache code linked into validator, for DLV use.
2593 negative cache works for DLV.
2594 - iana portlist update.
2595 - dlv-anchor option for unit tests.
2596 - fixup NSEC_AT_APEX classification for short typemaps.
2597 - ldns-testns has subdomain checks, for unit tests.
2599 20 August 2008: Wouter
2600 - negative cache code, reviewed.
2602 18 August 2008: Wouter
2603 - changes info: in logfile to notice: info: or debug: depending on
2604 the verbosity of the statements. Better logfile message
2606 - bug #208: extra rc.d unbound flexibility for freebsd/nanobsd.
2608 15 August 2008: Wouter
2609 - DLV nsec code fixed for better detection of closest existing
2610 enclosers from NSEC responses.
2611 - DLV works, straight to the dlv repository, so not for production.
2614 14 August 2008: Wouter
2615 - synthesize DLV messages from the rrset cache, like done for DS.
2617 13 August 2008: Wouter
2618 - bug #203: nicer do-auto log message when user sets incompatible
2620 - bug #204: variable name ameliorated in log.c.
2621 - bug #206: in iana_update, no egrep, but awk use.
2622 - ldns snapshot r2699 taken (includes DLV type).
2623 - DLV work, config file element, trust anchor read in.
2625 12 August 2008: Wouter
2626 - finished adjusting testset to provide qtype NS answers.
2628 11 August 2008: Wouter
2629 - Fixup rrset security updates overwriting 2181 trust status.
2630 This makes validated to be insecure data just as worthless as
2631 nonvalidated data, and 2181 rules prevent cache overwrites to them.
2632 - Fix assertion fail on bogus key handling.
2633 - dnssec lameness detection works on first query at trust apex.
2634 - NS queries get proper cache and dnssec lameness treatment.
2635 - fixup compilation without pthreads on linux.
2637 8 August 2008: Wouter
2638 - NS queries are done after every referral.
2639 validator is used on those NS records (if anchors enabled).
2641 7 August 2008: Wouter
2642 - Scrubber more strict. CNAME chains, DNAMEs from cache, other
2643 irrelevant rrsets removed.
2644 - 1.0.2 released from 1.0 support branch.
2645 - fixup update-anchor.sh to work both in BSD shell and bash.
2647 5 August 2008: Wouter
2648 - fixup DS test so apex nodata works again.
2650 4 August 2008: Wouter
2653 - fix bug 201: null ptr deref on cleanup while udp pkts wait for port.
2654 - added explanatory text for outgoing-port-permit in manpage.
2656 30 July 2008: Wouter
2657 - fixup bug qtype DS for unsigned zone and signed parent validation.
2659 25 July 2008: Wouter
2660 - added original copyright statement of OpenBSD arc4random code.
2661 - created tube signaling solution on windows, as a pipe replacement.
2662 this makes background asynchronous resolution work on windows.
2663 - removed very insecure socketpair compat code. It also did not
2664 work with event_waiting. Solved by pipe replacement.
2665 - unbound -h prints openssl version number as well.
2667 22 July 2008: Wouter
2668 - moved pipe actions to util/tube.c. easier porting and shared code.
2669 - check _raw() commpoint callbacks with fptr_wlist.
2672 21 July 2008: Wouter
2673 - #198: nicer entropy warning message. manpage OS hints.
2675 19 July 2008: Wouter
2676 - #198: fixup man page to suggest chroot entropy fix.
2678 18 July 2008: Wouter
2679 - branch for 1.0 support.
2680 - trunk work on tube.c.
2682 17 July 2008: Wouter
2683 - fix bug #196, compile outside source tree.
2684 - fix bug #195, add --with-username=user configure option.
2685 - print error and exit if started with config that requires more
2686 fds than the builtin minievent can handle.
2688 16 July 2008: Wouter
2689 - made svn tag 1.0.1, trunk now 1.0.2
2690 - sha256 checksums enabled in makedist.sh
2692 15 July 2008: Wouter
2693 - Follow draft-ietf-dnsop-default-local-zones-06 added reverse
2694 IPv6 example prefix to AS112 default blocklist.
2695 - fixup lookup of DS records by client with trustanchor for same.
2696 - libunbound ub_resolve, fix handling of error condition during setup.
2697 - lowered log_hex blocksize to fit through BSD syslog linesize.
2698 - no useless initialisation if getpwnam not available.
2699 - iana, ldns snapshot updated.
2702 - Matthijs fixed memory leaks in root hints file reading.
2704 26 June 2008: Wouter
2705 - fixup streamtcp bounds setting for udp mode, in the test framework.
2706 - contrib item for updating trust anchors.
2708 25 June 2008: Wouter
2709 - fixup fwd_ancil test typos.
2710 - Fix for newegg lameness : ok for qtype=A, but lame for others.
2711 - fixup unit test for infra cache, test lame merging.
2712 - porting to mingw, bind, listen, getsockopt and setsockopt error
2715 24 June 2008: Wouter
2716 - removed testcode/checklocks from production code compilation path.
2717 - streamtcp can use UDP mode (connected UDP socket), for testing IPv6
2719 - fwd_ancil test fails if platform support is lacking.
2721 23 June 2008: Wouter
2722 - fixup minitpkg to cleanup on windows with its file locking troubles.
2723 - minitpkg shows skipped tests in report.
2724 - skip ipv6 tests on ipv4 only hosts (requires only ipv6 localhost not
2726 - winsock event handler keeps track of sticky TCP events, that have
2727 not been fully handled yet. when interest in the event(s) resumes,
2728 they are sent again. When WOULDBLOCK is returned events are cleared.
2729 - skip tests that need signals when testing on mingw.
2731 18 June 2008: Wouter
2732 - open testbound replay files in binary mode, because fseek/ftell
2733 do not work in ascii-mode on windows. The b does nothing on unix.
2734 unittest and testbound tests work on windows (xp too).
2735 - ioctlsocket prints nicer error message.
2736 - fixed up some TCP porting for winsock.
2737 - lack of IPv6 gives a warning, no fatal error.
2738 - use WSAGetLastError() on windows instead of errno for some errors.
2740 17 June 2008: Wouter
2741 - outgoing num fds 32 by default on windows ; it supports less
2742 fds for waiting on than unixes.
2743 - winsock_event minievent handler for windows. (you could also
2744 attempt to link with libevent/libev ports for windows).
2745 - neater crypto check and gdi32 detection.
2746 - unbound.exe works to resolve and validate www.nlnetlabs.nl on vista.
2748 16 June 2008: Wouter
2749 - on windows, use windows threads, mutex and thread-local-storage(Tls).
2750 - detect if openssl needs gdi32.
2751 - if no threading, THREADS_DISABLED is defined for use in the code.
2752 - sets USE_WINSOCK if using ws2_32 on windows.
2753 - wsa_strerror() function for more readable errors.
2754 - WSA Startup and Cleanup called in unbound.exe.
2756 13 June 2008: Wouter
2757 - port mingw32, more signal ifdefs, detect sleep, usleep,
2758 random, srandom (used inside the tests).
2759 - signed or unsigned FD_SET is cast.
2761 10 June 2008: Wouter
2762 - fixup warnings compiling on eeepc xandros linux.
2765 - in iteration response type code
2766 * first check for SOA record (negative answer) before NS record
2768 * check if no AA bit for non-forwarder, and thus lame zone.
2769 In response to error report by Richard Doty for mail.opusnet.com.
2770 - fixup unput warning from lexer on freeBSD.
2771 - bug#183. pidfile, rundir, and chroot configure options. Also the
2772 example.conf and manual pages get the configured defaults.
2773 You can use: (or accept the defaults to /usr/local/etc/unbound/)
2774 --with-conf-file=filename
2775 --with-pidfile=filename
2777 --with-chroot-dir=path
2780 - if multiple CNAMEs, use the first one. Fixup akamai CNAME bug.
2781 Reported by Robert Edmonds.
2782 - iana port updated.
2785 - updated libtool files with newer version.
2786 - iana portlist updated.
2789 - fixup local-zone: "30.172.in-addr.arpa." nodefault, so that the
2790 trailing dot is not used during comparison.
2793 - Jelte fixed bugs in my absence
2794 - bug 178: fixed unportable shell usage in configure (relied on
2796 - bug 180: fixed buffer overflow in unbound-checkconf use of strncat.
2797 - bug 181: fixed buffer overflow in ldns (called by unbound to parse
2800 - bug 177: fixed compilation failure on opensuse, the
2801 --disable-static configure flag caused problems. (Patch from
2803 - bug 179: same fix as 177.
2804 - bug 185: --disable-shared not passed along to ldns included with
2805 unbound. Fixed so that configure parameters are passed to the
2806 subdir configure script.
2807 fixed that ./libtool is used always, you can still override
2808 manually with ./configure libtool=mylibtool or set $libtool in
2810 - update of the ldns tarball to current ldns svn version (fix 181).
2811 - bug 184: -r option for unbound-host, read resolv.conf for
2812 forwarder. (Note that forwarder must support DNSSEC for validation
2817 - test for sys/wait.h
2818 - WSAEWOULDBLOCK test after nonblocking TCP connect.
2819 - write_iov_buffer removed: unused and no struct iov on windows.
2820 - signed/unsigned warning fixup mini_event.
2821 - use ioctlsocket to set nonblocking I/O if fnctl is unavailable.
2822 - skip signals that are not defined
2824 - detect getpwnam, getrlimit, setsid, sbrk, chroot.
2825 - default config has no chroot if chroot() unavailable.
2826 - if no kill() then no pidfile is read or written.
2827 - gmtime_r is replaced by nonthreadsafe alternative if unavail.
2828 used in rrsig time validation errors.
2831 - contrib unbound.spec from Patrick Vande Walle.
2832 - fixup bug#175: call tzset before chroot to have correct timestamps
2834 - do not generate lex input and lex unput functions.
2835 - mingw port. replacement functions labelled _unbound.
2836 - fix bug 174 - check for tcp_sigpipe that ldns-testns is installed.
2839 - fedora 9, check in6_pktinfo define in configure.
2840 - CREDITS fixup of history.
2841 - ignore ldns-1.2.2 if installed, use builtin 1.3.0-pre alternative.
2844 - fixup for MacOSX hosts file reading (reported by John Dickinson).
2845 - created 1.0.0 svn tag.
2846 - trunk version 1.0.1.
2849 - accepted patch from Ondrej Sury for library version libtool option.
2850 - configure --disable-rpath fixes up libtool for rpath trouble.
2851 Adapted from debian package patch file.
2854 - Added root ipv6 addresses to builtin root hints.
2855 - TODO modified for post 1.0 plans.
2856 - trunk version set to 1.0.0.
2857 - no unnecessary linking with librt (only when libevent/libev used).
2860 - fixup no-ip4 problem with error callback in outside network.
2862 25 April 2008: Wouter
2863 - DESTDIR is honored by the Makefile for rpms.
2864 - contrib files unbound.spec and unbound.init, builds working RPM
2865 on FC7 Linux, a chrooted caching resolver, and libunbound.
2866 - iana ports update.
2868 24 April 2008: Wouter
2869 - chroot checks improved. working directory relative to chroot.
2870 checks if config file path is inside chroot. Documentation on it.
2871 - nicer example.conf text.
2874 23 April 2008: Wouter
2875 - parseunbound.pl contrib update from Kai Storbeck for threads.
2878 22 April 2008: Wouter
2880 - unit test for SIGPIPE ignore.
2882 21 April 2008: Wouter
2883 - FEATURES document.
2884 - fixup reread of config file if it was given as a full path
2885 and chroot was used.
2887 16 April 2008: Wouter
2888 - requirements doc, updated clean query returns.
2889 - parseunbound.pl update from Kai Storbeck.
2890 - sunos4 porting changes.
2892 15 April 2008: Wouter
2893 - fixup default rc.d pidfile location to /usr/local/etc.
2894 - iana ports updated.
2895 - copyright updated in ldns-testpkts to keep same as in ldns.
2896 - fixup checkconf chroot tests a bit more, chdir must be inside
2898 - documented 'gcc: unrecognized -KPIC option' errors on Solaris.
2899 - example.conf values changed to /usr/local/etc/unbound
2901 - DSA signatures: unbound is compatible with both encodings found.
2902 It will detect and convert when necessary.
2904 14 April 2008: Wouter
2905 - got update for parseunbound.pl statistics script from Kai Storbeck.
2906 - tpkg tests for udp wait list.
2907 - documented 0x20 status.
2908 - fixup chroot and checkconf, it is much smarter now.
2909 - fixup DSA EVP signature decoding. Solution that Jelte found copied.
2910 - and check first sig byte for the encoding type.
2912 11 April 2008: Wouter
2913 - random port selection out of the configged ports.
2914 - fixup threadsafety for libevent-1.4.3+ (event_base_get_method).
2915 - removed base_port.
2916 - created 256-port ephemeral space for the OS, 59802 available.
2917 - fixup consistency of port_if out array during heavy use.
2919 10 April 2008: Wouter
2920 - --with-libevent works with latest libevent 1.4.99-trunk.
2921 - added log file statistics perl script to contrib.
2922 - automatic iana ports update from makefile. 60058 available.
2924 9 April 2008: Wouter
2925 - configure can detect libev(from its build directory) when passed
2926 --with-libevent=/home/wouter/libev-3.2
2927 libev-3.2 is a little faster than libevent-1.4.3-stable (about 5%).
2928 - unused commpoints not listed in epoll list.
2929 - statistics-cumulative option so that the values are not reset.
2930 - config creates array of available ports, 61841 available,
2931 it excludes <1024 and iana assigned numbers.
2932 config statements to modify the available port numbers.
2934 8 April 2008: Wouter
2935 - unbound tries to set the ulimit fds when started as server.
2936 if that does not work, it will scale back its requirements.
2938 27 March 2008: Wouter
2939 - documented /dev/random symlink from chrootdir as FAQ entry.
2941 26 March 2008: Wouter
2942 - implemented AD bit signaling. If a query sets AD bit (but not DO)
2943 then the AD bit is set in the reply if the answer validated.
2944 Without including DNSSEC signatures. Useful if you have a trusted
2945 path from the client to the resolver. Follows dnssec-updates draft.
2947 25 March 2008: Wouter
2948 - implemented check that for NXDOMAIN and NOERROR answers a query
2949 section must be present in the reply (by the scrubber). And it must
2950 be equal to the question sent, at least lowercase folded.
2951 Previously this feature happened because the cache code refused
2952 to store such messages. However blocking by the scrubber makes
2953 sure nothing gets into the RRset cache. Also, this looks like a
2954 timeout (instead of an allocation failure) and this retries are
2955 done (which is useful in a spoofing situation).
2956 - RTT banding. Band size 400 msec, this makes band around zero (fast)
2957 include unknown servers. This makes unbound explore unknown servers.
2959 7 March 2008: Wouter
2960 - -C config feature for harvest program.
2961 - harvest handles CNAMEs too.
2963 5 March 2008: Wouter
2964 - patch from Hugo Koji Kobayashi for iterator logs spelling.
2966 4 March 2008: Wouter
2967 - From report by Jinmei Tatuya, rfc2181 trust value for remainder
2968 of a cname trust chain is lower; not full answer_AA.
2969 - test for this fix.
2970 - default config file location is /usr/local/etc/unbound.
2971 Thus prefix is used to determine the location. This is also the
2972 chroot and pidfile default location.
2974 3 March 2008: Wouter
2975 - Create 0.10 svn tag.
2976 - 0.11 version in trunk.
2977 - indentation nicer.
2979 29 February 2008: Wouter
2980 - documentation update.
2981 - fixup port to Solaris of perf test tool.
2982 - updated ldns-tarball with decl-after-statement fixes.
2984 28 February 2008: Wouter
2985 - fixed memory leaks in libunbound (during cancellation and wait).
2986 - libunbound returns the answer packet in full.
2987 - snprintf compat update.
2988 - harvest performs lookup.
2989 - ldns-tarball update with fix for ldns_dname_label.
2990 - installs to sbin by default.
2991 - install all manual pages (unbound-host and libunbound too).
2993 27 February 2008: Wouter
2994 - option to use caps for id randomness.
2995 - config file option use-caps-for-id: yes
2996 - harvest debug tool
2998 26 February 2008: Wouter
2999 - delay utility delays TCP as well. If the server that is forwarded
3000 to has a TCP error, the delay utility closes the connection.
3001 - delay does REUSE_ADDR, and can handle a server that closes its end.
3002 - answers use casing from query.
3004 25 February 2008: Wouter
3005 - delay utility works. Gets decent thoughput too (>20000).
3007 22 February 2008: Wouter
3008 - +2% for recursions, if identical queries (except for destination
3009 and query ID) in the reply list, avoid re-encoding the answer.
3010 - removed TODO items for optimizations that do not show up in
3012 - default is now minievent - not libevent. As its faster and
3013 not needed for regular installs, only for very large port ranges.
3014 - loop check different speedup pkt-dname-reading, 1% faster for
3015 nocache-recursion check.
3016 - less hashing during msg parse, 4% for recursion.
3017 - small speed fix for dname_count_size_labels, +1 or +2% recursion.
3018 - some speed results noted:
3019 optimization resulted in +40% for recursion (cache miss) and
3020 +70 to +80 for cache hits, and +96% for version.bind.
3021 zone nsec3 example, 100 NXDOMAIN queries, NSD 35182.8 Ub 36048.4
3022 www.nlnetlabs.nl from cache: BIND 8987.99 Ub 31218.3
3023 www with DO bit set : BIND 8269.31 Ub 28735.6 qps.
3024 So, unbound can be about equal qps to NSD in cache hits.
3025 And about 3.4x faster than BIND in cache performance.
3026 - delay utility for testing.
3028 21 February 2008: Wouter
3029 - speedup of root-delegation message encoding by 15%.
3030 - minor speedup of compress tree_lookup, maybe 1%.
3031 - speedup of dname_lab_cmp and memlowercmp - the top functions in
3032 profiler output, maybe a couple percent when it matters.
3034 20 February 2008: Wouter
3035 - setup speec_cache for need-ldns-testns in dotests.
3036 - check number of queued replies on incoming queries to avoid overload
3038 - fptr whitelist checks are not disabled in optimize mode.
3039 - do-daemonize config file option.
3040 - minievent time share initializes time at start.
3041 - updated testdata for nsec3 new algorithm numbers (6, 7).
3042 - small performance test of packet encoding (root delegation).
3044 19 February 2008: Wouter
3045 - applied patch to unbound-host man page from Jan-Piet Mens.
3046 - fix donotquery-localhost: yes default (it erroneously was switched
3048 - time is only gotten once and the value is shared across unbound.
3049 - unittest cleans up crypto, so that it has no memory leaks.
3050 - mini_event shares the time value with unbound this results in
3051 +3% speed for cache responses and +9% for recursions.
3052 - ldns tarball update with new NSEC3 sign code numbers.
3053 - perform several reads per UDP operation. This improves performance
3054 in DoS conditions, and costs very little in normal conditions.
3055 improves cache response +50%, and recursions +10%.
3056 - modified asynclook test. because the callback from async is not
3057 in any sort of lock (and thus can use all library functions freely),
3058 this causes a tiny race condition window when the last lock is
3059 released for a callback and a new cancel() for that callback.
3060 The only way to remove this is by putting callbacks into some
3061 lock window. I'd rather have the small possibility of a callback
3062 for a cancelled function then no use of library functions in
3063 callbacks. Could be possible to only outlaw process(), wait(),
3064 cancel() from callbacks, by adding another lock, but I'd rather not.
3066 18 February 2008: Wouter
3067 - patch to unbound-host from Jan-Piet Mens.
3068 - unbound host prints errors if fails to configure context.
3069 - fixup perf to resend faster, so that long waiting requests do
3070 not hold up the queue, they become lost packets or SERVFAILs,
3071 or can be sent a little while later (i.e. processing time may
3072 take long, but throughput has to be high).
3073 - fixup iterator operating in no cache conditions (RD flag unset
3075 - streamlined code for RD flag setting.
3076 - profiled code and changed dname compares to be faster.
3077 The speedup is about +3% to +8% (depending on the test).
3078 - minievent tests for eintr and eagain.
3080 15 February 2008: Wouter
3081 - added FreeBSD rc.d script to contrib.
3082 - --prefix option for configure also changes directory: pidfile:
3083 and chroot: defaults in config file.
3084 - added cache speed test, for cache size OK and cache too small.
3086 14 February 2008: Wouter
3087 - start without a config file (will complain, but start with
3089 - perf test program works.
3091 13 February 2008: Wouter
3093 - 1.0 development. Printout ldns version on unbound -h.
3094 - start of perf tool.
3095 - bugfix to read empty lines from /etc/hosts.
3097 12 February 2008: Wouter
3098 - fixup problem with configure calling itself if ldns-src tarball
3101 11 February 2008: Wouter
3102 - changed library to use ub_ instead of ub_val_ as prefix.
3103 - statistics output text nice.
3104 - etc/hosts handling.
3105 - library function to put logging to a stream.
3106 - set any option interface.
3108 8 February 2008: Wouter
3109 - test program for multiple queries over a TCP channel.
3110 - tpkg test for stream tcp queries.
3111 - unbound replies to multiple TCP queries on a TCP channel.
3112 - fixup misclassification of root referral with NS in answer
3113 when validating a nonrec query.
3115 - layout of manpages, spelling fix in header, manpages process by
3116 makedist, list asynclook and tcpstream tests as ldns-testns
3119 7 February 2008: Wouter
3120 - moved up all current level 2 to be level 3. And 3 to 4.
3121 to make room for new debug level 2 for detailed information
3123 - verbosity level 2. Describes recursion and validation.
3124 - cleaner configure script and fixes for libevent solaris.
3125 - signedness for log output memory sizes in high verbosity.
3127 6 February 2008: Wouter
3128 - clearer explanation of threading configure options.
3129 - fixup asynclook test for nothreading (it creates only one process
3130 to do the extended test).
3131 - changed name of ub_val_result_free to ub_val_resolve_free.
3132 - removes warning message during library linking, renamed
3133 libunbound/unbound.c -> libunbound.c and worker to libworker.
3134 - fallback without EDNS if result is NOTIMPL as well as on FORMERR.
3136 5 February 2008: Wouter
3137 - statistics-interval: seconds option added.
3138 - test for statistics option
3139 - ignore errors making directories, these can occur in parallel builds
3140 - fixup Makefile strip command and libunbound docs typo.
3142 31 January 2008: Wouter
3143 - bg thread/process reads and writes the pipe nonblocking all the time
3144 so that even if the pipe is buffered or so, the bg thread does not
3145 block, and services both pipes and queries.
3147 30 January 2008: Wouter
3148 - check trailing / on chrootdir in checkconf.
3149 - check if root hints and anchor files are in chrootdir.
3150 - no route to host tcp error is verbosity level 2.
3151 - removed unused send_reply_iov. and its configure check.
3152 - added prints of 'remote address is 1.2.3.4 port 53' to errors
3153 from netevent; the basic socket errors.
3155 28 January 2008: Wouter
3156 - fixup uninit use of buffer by libunbound (query id, flags) for
3158 - fixup uninit warning from random.c; also seems to fix sporadic
3159 sigFPE coming out of openssl.
3160 - made openssl entropy warning more silent for library use. Needs
3162 - fixup forgotten locks for rbtree_searches on ctx->query tree.
3163 - random generator cleanup - RND_STATE_SIZE removed, and instead
3164 a super-rnd can be passed at init to chain init random states.
3165 - test also does lock checks if available.
3166 - protect config access in libworker_setup().
3167 - libevent doesn't like comm_base_exit outside of runloop.
3168 - close fds after removing commpoints only (for epoll, kqueue).
3170 25 January 2008: Wouter
3171 - added tpkg for asynclook and library use.
3172 - allows localhost to be queried when as a library.
3173 - fixup race condition between cancel and answer (in case of
3174 really fast answers that beat the cancel).
3175 - please doxygen, put doxygen comment in one place.
3176 - asynclook -b blocking mode and test.
3177 - refactor asynclook, nicer code.
3178 - fixup race problems from opensll in rand init from library, with
3179 a mutex around the rand init.
3180 - fix pass async_id=NULL to _async resolve().
3181 - rewrote _wait() routine, so that it is threadsafe.
3182 - cancelation is threadsafe.
3183 - asynclook extended test in tpkg.
3184 - fixed two races where forked bg process waits for (somehow shared?)
3185 locks, so does not service the query pipe on the bg side.
3186 Now those locks are only held for fg_threads and for bg_as_a_thread.
3188 24 January 2008: Wouter
3189 - tested the cancel() function.
3190 - asynclook -c (cancel) feature.
3191 - fix fail to allocate context actions.
3192 - make pipe nonblocking at start.
3193 - update plane for retry mode with caution to limit bandwidth.
3194 - fix Makefile for concurrent make of unbound-host.
3195 - renamed ub_val_ctx_wait/poll/process/fd to ub_val*.
3196 - new calls to set forwarding added to header and docs.
3198 23 January 2008: Wouter
3199 - removed debug prints from if-auto, verb-algo enables some.
3200 - libunbound QUIT setup, remove memory leaks, when using threads
3201 will share memory for passing results instead of writing it over
3202 the pipe, only writes ID number over the pipe (towards the handler
3203 thread that does process() ).
3205 22 January 2008: Wouter
3206 - library code for async in libunbound/unbound.c.
3207 - fix link testbound.
3208 - fixup exit bug in mini_event.
3209 - background worker query enter and result functions.
3210 - bg query test application asynclook, it looks up multiple
3211 hostaddresses (A records) at the same time.
3213 21 January 2008: Wouter
3214 - libworker work, netevent raw commpoints, write_msg, serialize.
3216 18 January 2008: Wouter
3217 - touch up of manpage for libunbound.
3218 - support for IP_RECVDSTADDR (for *BSD ip4).
3219 - fix for BSD, do not use ip4to6 mapping, make two sockets, once
3220 ip6 and once ip4, uses socket options.
3221 - goodbye ip4to6 mapping.
3222 - update ldns-testpkts with latest version from ldns-trunk.
3223 - updated makedist for relative ldns pathnames.
3224 - library API with more information inside the result structure.
3225 - work on background resolves.
3227 17 January 2008: Wouter
3228 - fixup configure in case -lldns is installed.
3229 - fixup a couple of doxygen warnings, about enum variables.
3230 - interface-automatic now copies the interface address from the
3231 PKT_INFO structure as well.
3232 - manual page with library API, all on one page 'man libunbound'.
3233 - rewrite of PKTINFO structure, it also captures IP4 PKTINFO.
3235 16 January 2008: Wouter
3236 - incoming queries to the server with TC bit on are replied FORMERR.
3237 - interface-automatic replied the wrong source address on localhost
3238 queries. Seems to be due to ifnum=0 in recvmsg PKTINFO. Trying
3239 to use ifnum=-1 to mean 'no interface, use kernel route'.
3241 15 January 2008: Wouter
3242 - interface-automatic feature. experimental. Nice for anycast.
3243 - tpkg test for ip6 ancillary data.
3244 - removed debug prints.
3245 - porting experience, define for Solaris, test refined for BSD
3246 compatibility. The feature probably will not work on OpenBSD.
3247 - makedist fixup for ldns-src in build-dir.
3249 14 January 2008: Wouter
3250 - in no debug sets NDEBUG to remove asserts.
3251 - configure --enable-debug is needed for dependency generation
3252 for assertions and for compiler warnings.
3253 - ldns.tgz updated with ldns-trunk (where buffer.h is updated).
3254 - fix lint, unit test in optimize mode.
3255 - default access control allows ::ffff:127.0.0.1 v6mapped localhost.
3257 11 January 2008: Wouter
3258 - man page, warning removed.
3259 - added text describing the use of stub zones for private zones.
3260 - checkconf tests for bad hostnames (IP address), and for doubled
3262 - memory sizes can be given with 'k', 'Kb', or M or G appended.
3264 10 January 2008: Wouter
3265 - typo in example.conf.
3266 - made using ldns-src that is included the package more portable
3267 by linking with .lo instead of .o files in the ldns package.
3268 - nicer do-ip6: yes/no documentation.
3269 - nicer linking of libevent .o files.
3270 - man pages render correctly on solaris.
3272 9 January 2008: Wouter
3273 - fixup openssl RAND problem, when the system is not configured to
3274 give entropy, and the rng needs to be seeded.
3276 8 January 2008: Wouter
3277 - print median and quartiles with extensive logging.
3279 4 January 2008: Wouter
3280 - document misconfiguration in private network.
3282 2 January 2008: Wouter
3283 - fixup typo in requirements.
3284 - document that 'refused' is a better choice than 'drop' for
3285 the access control list, as refused will stop retries.
3287 7 December 2007: Wouter
3288 - unbound-host has a -d option to show what happens. This can help
3289 with debugging (why do I get this answer).
3290 - fixup CNAME handling, on nodata, sets and display canonname.
3291 - dot removed from CNAME display.
3292 - respect -v for NXDOMAINs.
3293 - updated ldns-src.tar.gz with ldns-trunk today (1.2.2 fixes).
3294 - size_t to int for portability of the header file.
3295 - fixup bogus handling.
3296 - dependencies and lint for unbound-host.
3298 6 December 2007: Wouter
3299 - library resolution works in foreground mode, unbound-host app
3301 - unbound-host prints rdata using ldns.
3302 - unbound-host accepts trust anchors, and prints validation
3303 information when you give -v.
3305 5 December 2007: Wouter
3306 - locking in context_new() inside the function.
3307 - setup of libworker.
3309 4 December 2007: Wouter
3310 - minor Makefile fixup.
3311 - moved module-stack code out of daemon/daemon into services/modstack,
3312 preparing for code-reuse.
3313 - move context into own header file.
3314 - context query structure.
3315 - removed unused variable pwd from checkconf.
3316 - removed unused assignment from outside netw.
3317 - check timeval length of string.
3318 - fixup error in val_utils getsigner.
3319 - fixup same (*var) error in netblocktostr.
3320 - fixup memleak on parse error in localzone.
3321 - fixup memleak on packet parse error.
3322 - put ; after union in parser.y.
3323 - small hardening in iter_operate against iq==NULL.
3324 - hardening, if error reply with rcode=0 (noerror) send servfail.
3325 - fixup same (*var) error in find_rrset in msgparse, was harmless.
3326 - check return value of evtimer_add().
3327 - fixup lockorder in lruhash_reclaim(), building up a list of locked
3328 entries one at a time. Instead they are removed and unlocked.
3329 - fptr_wlist for markdelfunc.
3330 - removed is_locked param from lruhash delkeyfunc.
3331 - moved bin_unlock during bin_split purely to please.
3333 3 December 2007: Wouter
3334 - changed checkconf/ to smallapp/ to make room for more support tools.
3335 (such as unbound-host).
3336 - install dirs created with -m 755 because they need to be accessible.
3337 - library extensive featurelist added to TODO.
3338 - please doxygen, lint.
3339 - library test application, with basic functionality.
3340 - fix for building in a subdirectory.
3341 - link lib fix for Leopard.
3343 30 November 2007: Wouter
3344 - makefile that creates libunbound.la, basic file or libunbound.a
3345 when creating static executables (no libtool).
3348 29 November 2007: Wouter
3349 - 0.9 public API start.
3351 28 November 2007: Wouter
3352 - Changeup plan for 0.8 - no complication needed, a simple solution
3353 has been chosen for authoritative features.
3354 - you can use single quotes in the config file, so it is possible
3355 to specify TXT records in local data.
3356 - fixup small memory problem in implicit transparent zone creation.
3357 - test for implicit zone creation and multiple RR RRsets local data.
3358 - local-zone nodefault test.
3359 - show testbound testlist on commit.
3360 - iterator normalizer changes CNAME chains ending in NXDOMAIN where
3361 the packet got rcode NXDOMAIN into rcode NOERROR. (since the initial
3363 - nicer verbosity: 0 and 1 levels.
3364 - lower nonRDquery chance of eliciting wrongly typed validation
3365 requiring message from the cache.
3366 - fix for nonRDquery validation typing; nodata is detected when
3367 SOA record in auth section (all validation-requiring nodata messages
3368 have a SOA record in authority, so this is OK for the validator),
3369 and NS record is needed to be a referral.
3370 - duplicate checking when adding NSECs for a CNAME, and test.
3371 - created svn tag 0.8, after completing testbed tests.
3373 27 November 2007: Wouter
3374 - per suggestion in rfc2308, replaced default max-ttl value with 1 day.
3375 - set size of msgparse lookup table to 32, from 1024, so that its size
3376 is below the 2048 regional large size threshold, and does not cause
3377 a call to malloc when a message is parsed.
3378 - update of memstats tool to print number of allocation calls.
3379 This is what is taking time (not space) and indicates the avg size
3380 of the allocations as well. region_alloc stat is removed.
3382 22 November 2007: Wouter
3383 - noted EDNS in-the-middle dropping trouble as a TODO.
3384 At this point theoretical, no user trouble has been reported.
3385 - added all default AS112 zones.
3386 - answers from local zone content.
3387 * positive answer, the rrset in question
3388 * nodata answer (exist, but not that type).
3389 * nxdomain answer (domain does not exist).
3390 * empty-nonterminal answer.
3391 * But not: wildcard, nsec, referral, rrsig, cname/dname,
3392 or additional section processing, NS put in auth.
3393 - test for correct working of static and transparent and couple
3394 of important defaults (localhost, as112, reverses).
3395 Also checks deny and refuse settings.
3396 - fixup implicit zone generation and AA bit for NXDOMAIN on localdata.
3398 21 November 2007: Wouter
3399 - local zone internal data setup.
3401 20 November 2007: Wouter
3402 - 0.8 - str2list config support for double string config options.
3403 - local-zone and local-data options, config storage and documentation.
3405 19 November 2007: Wouter
3406 - do not downcase NSEC and RRSIG for verification. Follows
3407 draft-ietf-dnsext-dnssec-bis-updates-06.txt.
3408 - fixup leaking unbound daemons at end of tests.
3409 - README file updated.
3410 - nice libevent not found error.
3411 - README talks about gnu make.
3412 - 0.8: unit test for addr_mask and fixups for it.
3413 and unit test for addr_in_common().
3414 - 0.8: access-control config file element.
3415 and unit test rpl replay file.
3416 - 0.8: fixup address reporting from netevent.
3418 16 November 2007: Wouter
3419 - privilege separation is not needed in unbound at this time.
3420 TODO item marked as such.
3421 - created beta-0.7 branch for support.
3422 - tagged 0.7 for beta release.
3423 - moved trunk to 0.8 for 0.8(auth features) development.
3424 - 0.8: access control list setup.
3426 15 November 2007: Wouter
3427 - review fixups from Jelte.
3429 14 November 2007: Wouter
3430 - testbed script does not recreate configure, since its in svn now.
3431 - fixup checkconf test so that it does not test
3432 /etc/unbound/unbound.conf.
3435 13 November 2007: Wouter
3436 - remove debug print.
3437 - fixup testbound exit when LIBEVENT_SIGNAL_PROBLEM exists.
3439 12 November 2007: Wouter
3440 - fixup signal handling where SIGTERM could be ignored if a SIGHUP
3442 - bugreports to unbound-bugs@nlnetlabs.nl
3443 - fixup testbound so it exits cleanly.
3444 - cleanup the caches on a reload, so that rrsetID numbers won't clash.
3446 9 November 2007: Wouter
3447 - took ldns snapshot in repo.
3448 - default config file is /etc/unbound/unbound.conf.
3449 If it doesn't exist, it is installed with the doc/example.conf file.
3450 The file is not deleted on uninstall.
3451 - default listening is not all, but localhost interfaces.
3453 8 November 2007: Wouter
3454 - Fixup chroot and drop user privileges.
3455 - new L root ip address in default hints.
3457 1 November 2007: Wouter
3458 - Fixup of crash on reload, due to anchors in env not NULLed after
3459 dealloc during deinit.
3460 - Fixup of chroot call. Happens after privileges are dropped, so
3461 that checking the passwd entry still works.
3462 - minor touch up of clear() hashtable function.
3463 - VERB_DETAIL prints out what chdir, username, chroot is being done.
3464 - when id numbers run out, caches are cleared, as in design notes.
3465 Tested with a mock setup with very few bits in id, it worked.
3466 - harden-dnssec-stripped: yes is now default. It insists on dnssec
3467 data for trust anchors. Included tests for the feature.
3469 31 October 2007: Wouter
3470 - cache-max-ttl config option.
3471 - building outside sourcedir works again.
3472 - defaults more secure:
3474 chroot: "/etc/unbound"
3475 The operator can override them to be less secure ("") if necessary.
3476 - fix horrible oversight in sorting rrset references in a message,
3477 sort per reference key pointer, not on referencepointer itself.
3478 - pidfile: "/etc/unbound/unbound.pid" is now the default.
3479 - tests changed to reflect the updated default.
3480 - created hashtable clear() function that respects locks.
3482 30 October 2007: Wouter
3483 - fixup assertion failure that relied on compressed names to be
3484 smaller than uncompressed names. A packet from comrite.com was seen
3485 to be compressed to a larger size. Added it as unit test.
3486 - quieter logging at low verbosity level for common tcp messages.
3487 - no greedy TTL update.
3489 23 October 2007: Wouter
3490 - fixup (grand-)parent problem for dnssec-lameness detection.
3491 - fixup tests to do additional section processing for lame replies,
3492 since the detection needs that.
3493 - no longer trust in query section in reply during dnssec lame detect.
3494 - dnssec lameness does not make the server never ever queried, but
3495 non-preferred. If no other servers exist or answer, the dnssec lame
3496 server is used; the fastest dnssec lame server is chosen.
3497 - added test then when trust anchor cannot be primed (nodata), the
3498 insecure mode from unbound works.
3499 - Fixup max queries per thread, any more are dropped.
3501 22 October 2007: Wouter
3502 - added donotquerylocalhost config option. Can be turned off for
3504 - ISO C compat changes.
3505 - detect RA-no-AA lameness, as LAME.
3506 - DNSSEC-lameness detection, as LAME.
3507 See notes in requirements.txt for choices made.
3508 - tests for lameness detection.
3509 - added all to make test target; need unbound for fwd tests.
3510 - testbound does not pollute /etc/unbound.
3512 19 October 2007: Wouter
3513 - added configure (and its files) to svn, so that the trunk is easier
3514 to use. ./configure, config.guess, config.sub, ltmain.sh,
3516 - added yacc/lex generated files, util/configlexer.c,
3517 util/configparser.c util/configparser.h, to svn.
3518 - without lex no attempt to use it.
3519 - unsecure response validation collated into one block.
3520 - remove warning about const cast of cfgfile name.
3521 - outgoing-interfaces can be different from service interfaces.
3522 - ldns-src configure is done during unbound configure and
3523 ldns-src make is done during unbound make, and so inherits the
3524 make arguments from the unbound make invocation.
3525 - nicer error when libevent problem causes instant exit on signal.
3526 - read root hints from a root hint file (like BIND does).
3528 18 October 2007: Wouter
3529 - addresses are logged with errors.
3530 - fixup testcode fake event to remove pending before callback
3531 since the callback may create new pending items.
3532 - tests updated because retries are now in iterator module.
3533 - ldns-testpkts code is checked for differences between unbound
3534 and ldns by makedist.sh.
3535 - ldns trunk from today added in svn repo for fallback in case
3536 no ldns is installed on the system.
3537 make download_ldns refreshes the tarball with ldns svn trunk.
3538 - ldns-src.tar.gz is used if no ldns is found on the system, and
3539 statically linked into unbound.
3540 - start of regional allocator code.
3541 - regional uses less memory and variables, simplified code.
3542 - remove of region-allocator.
3543 - alloc cache keeps a cache of recently released regional blocks,
3545 - make unit test cleanly free memory.
3547 17 October 2007: Wouter
3548 - fixup another cycle detect and ns-addr timeout resolution bug.
3549 This time by refusing delegations from the cache without addresses
3550 when resolving a mandatory-glue nameserver-address for that zone.
3551 We're going to have to ask a TLD server anyway; might as well be
3552 the TLD server for this name. And this resolves a lot of cases where
3553 the other nameserver names lead to cycles or are not available.
3554 - changed random generator from random(3) clone to arc4random wrapped
3555 for thread safety. The random generator is initialised with
3556 entropy from the system.
3557 - fix crash where failure to prime DNSKEY tried to print null pointer
3559 - removed some debug prints, only verb_algo (4) enables them.
3560 - fixup test; new random generator took new paths; such as one
3561 where no scripted answer was available.
3562 - mark insecure RRs as insecure.
3563 - fixup removal of nonsecure items from the additional.
3564 - reduced timeout values to more realistic, 376 msec (262 msec has
3565 90% of roundtrip times, 512 msec has 99% of roundtrip times.)
3566 - server selection failover to next server after timeout (376 msec).
3568 16 October 2007: Wouter
3569 - no malloc in log_hex.
3570 - assertions around system calls.
3571 - protect against gethostname without ending zero.
3572 - ntop output is null terminated by unbound.
3573 - pidfile content null termination
3574 - various snprintf use sizeof(stringbuf) instead of fixed constant.
3575 - changed loopdetect % 8 with & 0x7 since % can become negative for
3576 weird negative input and particular interpretation of integer math.
3577 - dname_pkt_copy checks length of result, to protect result buffers.
3578 prints an error, this should not happen. Bad strings should have
3579 been rejected earlier in the program.
3580 - remove a size_t underflow from msgreply size func.
3582 15 October 2007: Wouter
3584 - fix IP6 TCP, wrong definition check. With test package.
3585 - fixup the fact that the query section was not compressed to,
3586 the code was there but was called by value instead of by reference.
3587 And test for the case, uses xxd and nc.
3588 - more portable ip6 check for sockaddr types.
3590 8 October 2007: Wouter
3591 - --disable-rpath option in configure for 64bit systems with
3592 several dynamic lib dirs.
3594 7 October 2007: Wouter
3595 - fixup tests for no AD bit in non-DO queries.
3596 - test that makes sure AD bit is not set on non-DO query.
3598 6 October 2007: Wouter
3599 - removed logfile open early. It did not have the proper permissions;
3600 it was opened as root instead of the user. And we cannot change user
3601 id yet, since chroot and bind ports need to be done.
3602 - callback checks for event callbacks done from mini_event. Because
3603 of deletions cannot do this from netevent. This means when using
3604 libevent the protection does not work on event-callbacks.
3605 - fixup too small reply (did not zero counts).
3606 - fixup reply no longer AD bit when query without DO bit.
3608 5 October 2007: Wouter
3609 - function pointer whitelist.
3611 4 October 2007: Wouter
3612 - overwrite sensitive random seed value after use.
3613 - switch to logfile very soon if not -d (console attached).
3614 - error messages do not reveal the trustanchor contents.
3615 - start work on function pointer whitelists.
3617 3 October 2007: Wouter
3618 - fix for multiple empty nonterminals, after multiple DSes in the
3620 - mesh checks if modules are looping, and stops them.
3621 - refetch with CNAMEd nameserver address regression test added.
3622 - fixup line count bug in testcode, so testbound prints correct line
3623 number with parse errors.
3624 - unit test for multiple ENT case.
3625 - fix for cname out of validated unsec zone.
3626 - fixup nasty id=0 reuse. Also added assertions to detect its
3627 return (the assertion catches in the existing test cases).
3629 1 October 2007: Wouter
3630 - skip F77, CXX, objC tests in configure step.
3631 - fixup crash in refetch glue after a CNAME.
3632 and protection against similar failures (with error print).
3634 28 September 2007: Wouter
3635 - test case for unbound-checkconf, fixed so it also checks the
3636 interface: statements.
3638 26 September 2007: Wouter
3639 - SIGHUP will reopen the log file.
3640 - Option to log to syslog.
3641 - please lint, fixup tests (that went to syslog on open, oops).
3642 - config check program.
3644 25 September 2007: Wouter
3645 - tests for NSEC3. Fixup bitmap checks for NSEC3.
3646 - positive ANY response needs to check if wildcard expansion, and
3647 check that original data did not exist.
3648 - tests for NSEC3 that wrong use of OPTOUT is bad. For insecure
3649 delegation, for abuse of child zone apex nsec3.
3650 - create 0.5 release tag.
3652 24 September 2007: Wouter
3653 - do not make test programs by default.
3654 - But 'make test' will perform all of the tests.
3655 - Advertise builtin select libevent alternative when no libevent
3657 - signit can generate NSEC3 hashes, for generating tests.
3658 - multiple nsec3 paramaters in message test.
3659 - too high nsec3 iterations becomes insecure test.
3661 21 September 2007: Wouter
3662 - fixup empty_DS_name allocated in wrong region (port DEC Alpha).
3663 - fixup testcode lock safety (port FreeBSD).
3664 - removes subscript has type char warnings (port Solaris 9).
3665 - fixup of field with format type to int (port MacOS/X intel).
3666 - added test for infinite loop case in nonRD answer validation.
3667 It was a more general problem, but hard to reproduce. When an
3668 unsigned rrset is being validated and the key fetched, the DS
3669 sequence is followed, but if the final name has no DS, then no
3670 proof is possible - the signature has been stripped off.
3672 20 September 2007: Wouter
3673 - fixup and test for NSEC wildcard with empty nonterminals.
3674 - makedist.sh fixup for svn info.
3675 - acl features request in plan.
3676 - improved DS empty nonterminal handling.
3677 - compat with ANS nxdomain for empty nonterminals. Attempts the nodata
3678 proof anyway, which succeeds in ANS failure case.
3679 - striplab protection in case it becomes -1.
3680 - plans for static and blacklist config.
3682 19 September 2007: Wouter
3683 - comments about non-packed usage.
3684 - plan for overload support in 0.6.
3685 - added testbound tests for a failed resolution from the logs
3686 and for failed prime when missing glue.
3687 - fixup so useless delegation points are not returned from the
3688 cache. Also the safety belt is used if priming fails to complete.
3689 - fixup NSEC rdata not to be lowercased, bind compat.
3691 18 September 2007: Wouter
3692 - wildcard nsec3 testcases, and fixup to get correct wildcard name.
3693 - validator prints subtype classification for debug.
3695 17 September 2007: Wouter
3696 - NSEC3 hash cache unit test.
3697 - validator nsec3 nameerror test.
3699 14 September 2007: Wouter
3700 - nsec3 nodata proof, nods proof, wildcard proof.
3701 - nsec3 support for cname chain ending in noerror or nodata.
3702 - validator calls nsec3 proof routines if no NSECs prove anything.
3703 - fixup iterator bug where it stored the answer to a cname under
3704 the wrong qname into the cache. When prepending the cnames, the
3705 qname has to be reset to the original qname.
3707 13 September 2007: Wouter
3708 - nsec3 find matching and covering, ce proof, prove namerror msg.
3710 12 September 2007: Wouter
3711 - fixup of manual page warnings, like for NSD bugreport.
3712 - nsec3 work, config, max iterations, filter, and hash cache.
3714 6 September 2007: Wouter
3715 - fixup to find libevent on mac port install.
3716 - fixup size_t vs unsigned portability in validator/sigcrypt.
3717 - please compiler on different platforms, for unreachable code.
3719 - pthread_rwlock type is optional, in case of old pthread libs.
3721 5 September 2007: Wouter
3722 - cname, name error validator tests.
3723 - logging of qtype ANY works.
3724 - ANY type answers get RRSIG in answer section of replies (but not
3725 in other sections, unless DO bit is on).
3726 - testbound can replay a TCP query (set MATCH TCP in the QUERY).
3727 - DS and noDS referral validation test.
3728 - if you configure many trust anchors, parent trust anchors can
3729 securely deny existance of child trust anchors, if validated.
3730 - not all *.name NSECs are present because a wildcard was matched,
3731 and *.name NSECs can prove nodata for empty nonterminals.
3732 Also, for wildcard name NSECs, check they are not from the parent
3733 zone (for wildcarded zone cuts), and check absence of CNAME bit,
3735 - configure option for memory allocation debugging.
3736 - port configure option for memory allocation to solaris10.
3738 4 September 2007: Wouter
3739 - fixup of Leakage warning when serviced queries processed multiple
3740 callbacks for the same query from the same server.
3741 - testbound removes config file from /tmp on failed exit.
3742 - fixup for referral cleanup of the additional section.
3743 - tests for cname, referral validation.
3744 - neater testbound tpkg output.
3745 - DNAMEs no longer match their apex when synthesized from the cache.
3746 - find correct signer name for DNAME responses.
3747 - wildcarded DNAME test and fixup code to detect.
3748 - prepend NSEC and NSEC3 rrsets in the iterator while chasing CNAMEs.
3749 So that wildcarded CNAMEs get their NSEC with them to the answer.
3750 - test for a CNAME to a DNAME to a CNAME to an answer, all from
3751 different domains, for key fetching and signature checking of
3754 3 September 2007: Wouter
3755 - Fixed error in iterator that would cause assertion failure in
3756 validator. CNAME to a NXDOMAIN response was collated into a response
3757 with both a CNAME and the NXDOMAIN rcode. Added a test that the
3758 rcode is changed to NOERROR (because of the CNAME).
3759 - timeout on tcp does not lead to spurious leakage detect.
3760 - account memory for name of lame zones, so that memory leakages does
3761 not show lame cache growth as a leakage growth.
3762 - config setting for lameness cache expressed in bytes, instead of
3764 - tool too summarize allocations per code line.
3766 31 August 2007: Wouter
3767 - can read bind trusted-keys { ... }; files, in a compatibility mode.
3768 - iterator should not detach target queries that it still could need.
3769 the protection against multiple outstanding queries is moved to a
3770 current_query num check.
3771 - validator nodata, positive, referral tests.
3772 - dname print can print '*' wildcard.
3774 30 August 2007: Wouter
3775 - fixup override date config option.
3776 - config options to control memory usage.
3777 - caught bad free of un-alloced data in worker_send error case.
3778 - memory accounting for key cache (trust anchors and temporary cache).
3779 - memory accounting fixup for outside network tcp pending waits.
3780 - memory accounting fixup for outside network tcp callbacks.
3781 - memory accounting for iterator fixed storage.
3782 - key cache size and slabs config options.
3783 - lib crypto cleanups at exit.
3785 29 August 2007: Wouter
3786 - test tool to sign rrsets for testing validator with.
3787 - added RSA and DSA test keys, public and private pairs, 512 bits.
3788 - default configuration is with validation enabled.
3789 Only a trust-anchor needs to be configured for DNSSEC to work.
3790 - do not convert to DER for DSA signature verification.
3791 - validator replay test file, for a DS to DNSKEY DSA key prime and
3794 28 August 2007: Wouter
3795 - removed double use for udp buffers, that could fail,
3796 instead performs a malloc to do the backup.
3797 - validator validates referral messages, by validating all the rrsets
3798 and stores the rrsets in the cache. Further referral (nonRD queries)
3799 replies are made from the rrset cache directly. Unless unchecked
3800 rrsets are encountered, there are then validated.
3801 - enforce that signing is done by a parent domain (or same domain).
3802 - adjust TTL downwards if rrset TTL bigger than signature allows.
3803 - permissive mode feature, sets AD bit for secure, but bogus does
3804 not give servfail (bogus is changed into indeterminate).
3805 - optimization of rrset verification. rr canonical sorting is reused,
3806 for the same rrset. canonical rrset image in buffer is reused for
3808 - if the rrset is too big (64k exactly + large owner name) the
3809 canonicalization routine will fail if it does not fit in buffer.
3810 - faster verification for large sigsets.
3811 - verb_detail mode reports validation failures, but not the entire
3812 algorithm for validation. Key prime failures are reported as
3815 27 August 2007: Wouter
3816 - do not garble the edns if a cache answer fails.
3817 - answer norecursive from cache if possible.
3818 - honor clean_additional setting when returning secure non-recursive
3820 - do not store referral in msg cache for nonRD queries.
3821 - store verification status in the rrset cache to speed up future
3823 - mark rrsets indeterminate and insecure if they are found to be so.
3824 and store this in the cache.
3826 24 August 2007: Wouter
3827 - message is bogus if unsecure authority rrsets are present.
3828 - val-clean-additional option, so you can turn it off.
3829 - move rrset verification out of the specific proof types into one
3830 routine. This makes the proof routines prettier.
3831 - fixup cname handling in validator, cname-to-positive and cname-to-
3833 - Do not synthesize DNSKEY and DS responses from the rrset cache if
3834 the rrset is from the additional section. Signatures may have
3835 fallen off the packet, and cause validation failure.
3836 - more verbose signature date errors (with the date attached).
3837 - increased default infrastructure cache size. It is important for
3838 performance, and 1000 entries are only 212k (or a 400 k total cache
3839 size). To 10000 entries (for 2M entries, 4M cache size).
3841 23 August 2007: Wouter
3842 - CNAME handling - move needs_validation to before val_new().
3843 val_new() setups the chase-reply to be an edited copy of the msg.
3844 new classification, and find signer can find for it.
3845 removal of unsigned crap from additional, and query restart for
3847 - refuse to follow wildcarded DNAMEs when validating.
3848 But you can query for qtype ANY, or qtype DNAME and validate that.
3850 22 August 2007: Wouter
3852 - review - use val_error().
3854 21 August 2007: Wouter
3855 - ANY response validation.
3856 - store security status in cache.
3857 - check cache security status and either send the query to be
3858 validated, return the query to client, or send servfail to client.
3859 Sets AD bit on validated replies.
3860 - do not examine security status on an error reply in mesh_done.
3861 - construct DS, DNSKEY messages from rrset cache.
3862 - manual page entry for override-date.
3864 20 August 2007: Wouter
3865 - validate and positive validation, positive wildcard NSEC validation.
3866 - nodata validation, nxdomain validation.
3868 18 August 2007: Wouter
3869 - process DNSKEY response in FINDKEY state.
3871 17 August 2007: Wouter
3872 - work on DS2KE routine.
3873 - val_nsec.c for validator NSEC proofs.
3874 - unit test for NSEC bitmap reading.
3875 - dname iswild and canonical_compare with unit tests.
3877 16 August 2007: Wouter
3879 - latest release libevent 1.3c and 1.3d have threading fixed.
3880 - key entry fixup data pointer and ttl absolute.
3881 - This makes a key-prime succeed in validator, with DS or DNSKEY as
3883 - fixup canonical compare byfield routine, fix bug and also neater.
3884 - fixed iterator response type classification for queries of type
3886 dig ANY gives sometimes NS rrset in AN and NS section, and parser
3887 removes the NS section duplicate. dig NS gives sometimes the NS
3888 in the answer section, as referral.
3889 - validator FINDKEY state.
3891 15 August 2007: Wouter
3892 - crypto calls to verify signatures.
3893 - unit test for rrsig verification.
3895 14 August 2007: Wouter
3896 - default outgoing ports changed to avoid port 2049 by default.
3897 This port is widely blocked by firewalls.
3898 - count infra lameness cache in memory size.
3899 - accounting of memory improved
3900 - outbound entries are allocated in the query region they are for.
3901 - extensive debugging for memory allocations.
3902 - --enable-lock-checks can be used to enable lock checking.
3903 - protect undefs in config.h from autoheaders ministrations.
3904 - print all received udp packets. log hex will print on multiple
3906 - fixed error in parser with backwards rrsig references.
3907 - mark cycle targets for iterator did not have CD flag so failed
3910 13 August 2007: Wouter
3911 - fixup makefile, if lexer is missing give nice error and do not
3912 mess up the dependencies.
3913 - canonical compare routine updated.
3914 - canonical hinfo compare.
3915 - printout list of the queries that the mesh is working on.
3917 10 August 2007: Wouter
3918 - malloc and free overrides that track total allocation and frees.
3919 for memory debugging.
3920 - work on canonical sort.
3922 9 August 2007: Wouter
3923 - canonicalization, signature checks
3924 - dname signature label count and unit test.
3925 - added debug heap size print to memory printout.
3926 - typo fixup in worker.c
3927 - -R needed on solaris.
3928 - validator override option for date check testing.
3930 8 August 2007: Wouter
3931 - ldns _raw routines created (in ldns trunk).
3932 - sigcrypt DS digest routines
3933 - val_utils uses sigcrypt to perform signature cryptography.
3934 - sigcrypt keyset processing
3936 7 August 2007: Wouter
3937 - security status type.
3938 - security status is copied when rdata is equal for rrsets.
3939 - rrset id is updated to invalidate all the message cache entries
3940 that refer to NSEC, NSEC3, DNAME rrsets that have changed.
3942 - val_sigcrypt file for validator signature checks.
3944 6 August 2007: Wouter
3945 - key cache for validator.
3946 - moved isroot and dellabel to own dname routines, with unit test.
3948 3 August 2007: Wouter
3950 - scrubber check section of lame NS set.
3951 - trust anchors can be in config file or read from zone file,
3952 DS and DNSKEY entries.
3953 - unit test trust anchor storage.
3954 - trust anchors converted to packed rrsets.
3955 - key entry definition.
3957 2 August 2007: Wouter
3958 - configure change for latest libevent trunk version (needs -lrt).
3959 - query_done and walk_supers are moved out of module interface.
3960 - fixup delegation point duplicates.
3961 - fixup iterator scrubber; lame NS set is let through the scrubber
3962 so that the classification is lame.
3963 - validator module exists, and does nothing but pass through,
3964 with calling of next module and return.
3967 1 August 2007: Wouter
3968 - set version to 0.5
3969 - module work for module to module interconnections.
3970 - config of modules.
3971 - detect cycle takes flags.
3973 31 July 2007: Wouter
3977 30 July 2007: Wouter
3978 - changed random state init, so that sequential process IDs are not
3979 cancelled out by sequential thread-ids in the random number seed.
3980 - the fwd_three test, which sends three queries to unbound, and
3981 unbound is kept waiting by ldns-testns for 3 seconds, failed
3982 because the retry timeout for default by unbound is 3 seconds too,
3983 it would hit that timeout and fail the test. Changed so that unbound
3984 is kept waiting for 2 seconds instead.
3986 27 July 2007: Wouter
3987 - removed useless -C debug option. It did not work.
3988 - text edit of documentation.
3989 - added doc/CREDITS file, referred to by the manpages.
3992 26 July 2007: Wouter
3993 - cycle detection, for query state dependencies. Will attempt to
3994 circumvent the cycle, but if no other targets available fails.
3995 - unit test for AXFR, IXFR response.
3996 - test for cycle detection.
3998 25 July 2007: Wouter
3999 - testbound read ADDRESS and check it.
4000 - test for version.bind and friends.
4001 - test for iterator chaining through several referrals.
4002 - test and fixup for refetch for glue. Refetch fails if glue
4003 is still not provided.
4005 24 July 2007: Wouter
4006 - Example section in config manual.
4007 - Addr stored for range and moment in replay.
4009 20 July 2007: Wouter
4010 - Check CNAME chain before returning cache entry with CNAMEs.
4011 - Option harden-glue, default is on. It will discard out of zone
4012 data. If disabled, performance is faster, but spoofing attempts
4013 become a possibility. Note that still normalize scrubbing is done,
4014 and that the potentially spoofed data is used for infrastructure
4015 and not returned to the client.
4016 - if glue times out, refetch by asking parent of delegation again.
4017 Much like asking for DS at the parent side.
4018 - TODO items from forgery-resilience draft.
4019 and on memory handling improvements.
4020 - renamed module_event_timeout to module_event_noreply.
4021 - memory reporting code; reports on memory usage after handling
4022 a network packet (not on cache replies).
4024 19 July 2007: Wouter
4025 - shuffle NS selection when getting nameserver target addresses.
4026 - fixup of deadlock warnings, yield cpu in checklock code so that
4027 freebsd scheduler selects correct process to run.
4028 - added identity and version config options and replies.
4029 - store cname messages complete answers.
4031 18 July 2007: Wouter
4032 - do not query addresses, 127.0.0.1, and ::1 by default.
4034 17 July 2007: Wouter
4035 - forward zone options in config file.
4036 - forward per zone in iterator. takes precendence over stubs.
4037 - fixup commithooks.
4038 - removed forward-to and forward-to-port features, subsumed by
4040 - fix parser to handle absent server: clause.
4041 - change untrusted rrset test to account for scrubber that is now
4042 applied during the test (which removes the poison, by the way).
4043 - feature, addresses can be specified with @portnumber, like nsd.conf.
4044 - test config files changed over to new forwarder syntax.
4046 27 June 2007: Wouter
4047 - delete of mesh does a postorder traverse of the tree.
4048 - found and fixed a memory leak. For TTL=0 messages, that would
4049 not be cached, instead the msg-replyinfo structure was leaked.
4050 - changed server selection so it will filter out hosts that are
4051 unresponsive. This is defined as a host with the maximum rto value.
4052 This means that unbound tried the host for retries up to 120 secs.
4053 The rto value will time out after host-ttl seconds from the cache.
4054 This keeps such unresolvable queries from taking up resources.
4055 - utility for keeping histogram.
4057 26 June 2007: Wouter
4058 - mesh is called by worker, and iterator uses it.
4059 This removes the hierarchical code.
4060 QueryTargets state and Finished state are merged for iterator.
4061 - forwarder mode no longer sets AA bit on first reply.
4062 - rcode in walk_supers is not needed.
4064 25 June 2007: Wouter
4066 - error encode routine for ease.
4068 22 June 2007: Wouter
4069 - removed unused _node iterator value from rbtree_t. Takes up space.
4070 - iterator can handle querytargets state without a delegation point
4071 set, so that a priming(stub) subquery error can be handled.
4072 - iterator stores if it is priming or not.
4073 - log_query_info() neater logging.
4074 - changed iterator so that it does not alter module_qstate.qinfo
4075 but keeps a chase query info. Also query_flags are not altered,
4076 the iterator uses chase_flags.
4077 - fixup crash in case no ports for the family exist.
4079 21 June 2007: Wouter
4080 - Fixup secondary buffer in case of error callback.
4081 - cleanup slumber list of runnable states.
4082 - module_subreq_depth fails to work in slumber list.
4083 - fixup query release for cached results to sub targets.
4084 - neater error for tcp connection failure, shows addr in verbose.
4085 - rbtree_init so that it can be used with preallocated memory.
4087 20 June 2007: Wouter
4088 - new -C option to enable coredumps after forking away.
4090 - fixup CNAME generation by scrubber, and memory allocation of it.
4091 - fixup deletion of serviced queries when all callbacks delete too.
4092 - set num target queries to 0 when you move them to slumber list.
4093 - typo in check caused subquery errors to be ignored, fixed.
4094 - make lint happy about rlim_t.
4095 - freeup of modules after freeup of module-states.
4096 - duplicate replies work, this uses secondary udp buffer in outnet.
4098 19 June 2007: Wouter
4099 - nicer layout in stats.c, review 0.3 change.
4100 - spelling improvement, review 0.3 change.
4101 - uncapped timeout for server selection, so that very fast or slow
4102 servers will stand out from the rest.
4103 - target-fetch-policy: "3 2 1 0 0" config setting.
4104 - fixup queries answered without RD bit (for root prime results).
4105 - refuse AXFR and IXFR requests.
4106 - fixup RD flag in error reply from iterator. fixup RA flag from
4108 - fixup encoding of very short edns buffer sizes, now sets TC bit.
4109 - config options harden-short-bufsize and harden-large-queries.
4111 18 June 2007: Wouter
4112 - same, move subqueries to slumber list when first has resolved.
4113 - fixup last fix for duplicate callbacks.
4114 - another offbyone in targetcounter. Also in Java prototype by the way.
4116 15 June 2007: Wouter
4117 - if a query asks to be notified of the same serviced query result
4118 multiple times, this will succeed. Only one callback will happen;
4119 multiple outbound-list entries result (but the double cleanup of it
4121 - when iterator moves on due to CNAME or referral, it will remove
4122 the subqueries (for other targets). These are put on the slumber
4124 - state module wait subq is OK with no new subqs, an old one may have
4125 stopped, with an error, and it is still waiting for other ones.
4126 - if a query loops, halt entire query (easy way to clean up properly).
4128 14 June 2007: Wouter
4129 - num query targets was > 0 , not >= 0 compared, so that fetch
4130 policy of 0 did nothing.
4132 13 June 2007: Wouter
4133 - debug option: configure --enable-static-exe for compile where
4134 ldns and libevent are linked statically. Default is off.
4135 - make install and make uninstall. Works with static-exe and without.
4136 installation of unbound binary and manual pages.
4137 - alignement problem fix on solaris 64.
4138 - fixup address in case of TCP error.
4140 12 June 2007: Wouter
4141 - num target queries was set to 0 at a bad time. Default it to 0 and
4142 increase as target queries are done.
4143 - synthesize CNAME and DNAME responses from the cache.
4144 - Updated doxygen config for doxygen 1.5.
4145 - aclocal newer version.
4146 - doxygen 1.5 fixes for comments (for the strict check on docs).
4148 11 June 2007: Wouter
4149 - replies on TCP queries have the address field set in replyinfo,
4150 for serviced queries, because the initiator does not know that
4151 a TCP fallback has occured.
4152 - omit DNSSEC types from nonDO replies, except if qtype is ANY or
4153 if qtype directly queries for the type (and then only show that
4154 'unknown type' in the answer section).
4155 - fixed message parsing where rrsigs on their own would be put
4156 in the signature list over the rrsig type.
4159 - fixup error in double linked list insertion for subqueries and
4160 for outbound list of serviced queries for iterator module.
4161 - nicer printout of outgoing port selection.
4162 - fixup cname target readout.
4163 - nicer debug output.
4164 - fixup rrset counts when prepending CNAMEs to the answer.
4165 - fixup rrset TTL for prepended CNAMEs.
4166 - process better check for looping modules, and which submodule to
4168 - subreq insertion code fixup for slumber list.
4169 - VERB_DETAIL, verbosity: 2 level gives short but readable output.
4170 VERB_ALGO, verbosity: 3 gives extensive output.
4171 - fixup RA bit in cached replies.
4172 - fixup CNAME responses from the cache no longer partial response.
4173 - error in network send handled without leakage.
4174 - enable ip6 from config, and try ip6 addresses if available,
4175 if ip6 is not connected, skips to next server.
4178 - iterator state finished.
4179 - subrequests without parent store in cache and stop.
4180 - worker slumber list for ongoing promiscuous queries.
4181 - subrequest error handling.
4182 - priming failure returns SERVFAIL.
4183 - priming gives LAME result, returns SERVFAIL.
4184 - debug routine to print dns_msg as handled by iterator.
4185 - memleak in config file stubs fixup.
4186 - more small bugs, in scrubber, query compare no ID for lookup,
4187 in dname validation for NS targets.
4188 - sets entry.key for new special allocs.
4189 - lognametypeclass can display unknown types and classes.
4192 - random selection of equally preferred nameserver targets.
4193 - reply info copy routine. Reuses existing code.
4194 - cache lameness in response handling.
4195 - do not touch qstate after worker_process_query because it may have
4196 been deleted by that routine.
4197 - Prime response state.
4198 - Process target response state.
4199 - some memcmp changed to dname_compare for case preservation.
4202 - normalize incoming messages. Like unbound-java, with CNAME chain
4203 checked, DNAME checked, CNAME's synthesized, glue checked.
4204 - sanitize incoming messages.
4205 - split msgreply encode functions into own file msgencode.c.
4206 - msg_parse to queryinfo/replyinfo conversion more versatile.
4207 - process_response, classify response, delegpt_from_message.
4210 - querytargets state.
4211 - dname_subdomain_c() routine.
4212 - server selection, based on RTT. ip6 is filtered out if not available,
4213 and lameness is checked too.
4214 - delegation point copy routine.
4217 - removed FLAG_CD from message and rrset caches. This was useful for
4218 an agnostic forwarder, but not for a sophisticated (trust value per
4219 rrset enabled) cache.
4220 - iterator reponse typing.
4221 - iterator cname handle.
4222 - iterator prime start.
4224 - processInitRequest and processInitRequest2.
4225 - cache synthesizes referral messages, with DS and NSEC.
4226 - processInitRequest3.
4227 - if a request creates multiple subrequests these are all activated.
4230 - routines to lock and unlock array of rrsets moved to cache/rrset.
4231 - lookup message from msg cache (and copy to region).
4232 - fixed cast error in dns msg lookup.
4233 - message with duplicate rrset does not increase its TTLs twice.
4234 - 'qnamesize' changed to 'qname_len' for similar naming scheme.
4237 - Acknowledge use of unbound-java code in iterator. Nicer readme.
4238 - services/cache/dns.c DNS Cache. Hybrid cache uses msgcache and
4239 rrset cache from module environment.
4240 - packed rrset key has type and class as easily accessable struct
4241 members. They are still kept in network format for fast msg encode.
4242 - dns cache find_delegation routine.
4243 - iterator main functions setup.
4244 - dns cache lookup setup.
4247 - small changes to prepare for subqueries.
4248 - iterator forwarder feature separated out.
4249 - iterator hints stub code, config file stub code, so that first
4250 testing can proceed locally.
4251 - replay tests now have config option to enable forwarding mode.
4254 - outside network does precise timers for roundtrip estimates for rtt
4255 and for setting timeout for UDP. Pending_udp takes milliseconds.
4256 - cleaner iterator sockaddr conversion of forwarder address.
4257 - iterator/iter_utils and iter_delegpt setup.
4261 - outbound query list for modules and support to callback with the
4262 outbound entry to the module.
4263 - testbound support for new serviced queries.
4264 - test for retry to TCP cannot use testbound any longer.
4265 - testns test for EDNS fallback, test for TCP fallback already exists.
4266 - fixes for no-locking compile.
4267 - mini_event timer precision and fix for change in timeouts during
4268 timeout callback. Fix for fwd_three tests, performed nonexit query.
4271 - small comment on hash table locking.
4272 - outside network serviced queries, contain edns and tcp fallback,
4273 and udp retries and rtt timing.
4276 - lruhash_touch() would cause locking order problems. Fixup in
4277 lock-verify in case locking cycle is found.
4278 - services/cache/rrset.c for rrset cache code.
4279 - special rrset_cache LRU updating function that uses the rrset id.
4280 - no dependencies calculation when make clean is called.
4281 - config settings for infra cache.
4282 - daemon code slightly cleaner, only creates caches once.
4286 - unit test for host cache.
4289 - Port to OS/X and Dec Alpha. Printf format and alignment fixes.
4290 - extensive lock debug report on join timeout.
4291 - proper RTT calculation, in utility code.
4292 - setup of services/cache/infra, host cache.
4295 - iterator/iterator.c module.
4296 - fixup to pass reply_info in testcode and in netevent.
4299 - created release-0.3 svn tag.
4301 - fixed compression - no longer compresses root name.
4304 - outside network cleans up waiting tcp queries on exit.
4306 - testbound replay with retry in TCP mode.
4307 - tpkg test for retry in TCP mode, against ldns-testns server.
4308 - daemon checks max number of open files and complains if not enough.
4309 - test where data expires in the cache.
4310 - compiletests: fixed empty body ifstatements in alloc.c, in case
4314 - outgoing network keeps list of available tcp buffers for outgoing
4316 - outgoing-num-tcp config option.
4317 - outgoing network keeps waiting list of queries waiting for buffer.
4318 - netevent supports outgoing tcp commpoints, nonblocking connects.
4321 - EDNS read from query, used to make reply smaller.
4322 - advertised edns value constants.
4323 - EDNS BADVERS response, if asked for too high edns version.
4324 - EDNS extended error reponses once the EDNS record from the query
4325 has successfully been parsed.
4328 - msgreply sizefunc is more accurate.
4329 - config settings for rrset cache size and slabs.
4330 - hashtable insert takes argument so that a thread can use its own
4331 alloc cache to store released keys.
4332 - alloc cache special_release() locks if necessary.
4333 - rrset trustworthiness type added.
4334 - thread keeps a scratchpad region for handling messages.
4335 - writev used in netevent to write tcp length and data after another.
4336 This saves a roundtrip on tcp replies.
4337 - test for one rrset updated in the cache.
4338 - test for one rrset which is not updated, as it is not deemed
4340 - test for TTL refreshed in rrset.
4343 - fill refs. Use new parse and encode to answer queries.
4344 - stores rrsets in cache.
4345 - uses new msgreply format in cache.
4348 - dname unit tests in own file and spread out neatly in functions.
4349 - more dname unit tests.
4350 - message encoding creates truncated TC flagged messages if they do
4351 not fit, and will leave out (whole)rrsets from additional if needed.
4354 - decompress query section, extremely lenient acceptance.
4355 But only for answers from other servers, not for plain queries.
4356 - compression and decompression test cases.
4358 - example.conf interface: line is changed from 127.0.0.1 which leads
4359 to problems if used (restricting communication to the localhost),
4360 to a documentation and test address.
4362 27 April 2007: Wouter
4363 - removed iov usage, it is not good for dns message encoding.
4364 - owner name compression more optimal.
4365 - rrsig owner name compression.
4366 - rdata domain name compression.
4368 26 April 2007: Wouter
4369 - floating point exception fix in lock-verify.
4370 - lint uses make dependency
4371 - fixup lint in dname owner domain name compression code.
4372 - define for offset range that can be compressed to.
4374 25 April 2007: Wouter
4375 - prettier code; parse_rrset->type kept in host byte order.
4376 - datatype used for hashvalue of converted rrsig structure.
4377 - unit test compares edns section data too.
4379 24 April 2007: Wouter
4380 - ttl per RR, for RRSIG rrsets and others.
4381 - dname_print debug function.
4382 - if type is not known, size calc will skip DNAME decompression.
4383 - RRSIG parsing and storing and putting in messages.
4384 - dnssec enabled unit tests (from nlnetlabs.nl and se queries).
4385 - EDNS extraction routine.
4387 20 April 2007: Wouter
4388 - code comes through all of the unit tests now.
4389 - disabled warning about spurious extra data.
4390 - documented the RRSIG parse plan in msgparse.h.
4391 - rrsig reading and outputting.
4393 19 April 2007: Wouter
4394 - fix unit test to actually to tests.
4395 - fix write iov helper, and fakevent code.
4396 - extra builtin testcase (small packet).
4397 - ttl converted to network format in packets.
4398 - flags converted correctly
4399 - rdatalen off by 2 error fixup.
4400 - uses less iov space for header.
4402 18 April 2007: Wouter
4403 - review of msgparse code.
4404 - smaller test cases.
4406 17 April 2007: Wouter
4407 - copy and decompress dnames.
4408 - store calculated hash value too.
4409 - routine to create message out of stored information.
4410 - util/data/msgparse.c for message parsing code.
4411 - unit test, and first fixes because of test.
4412 * forgot rrset_count addition.
4413 * did & of ptr on stack for memory position calculation.
4414 * dname_pkt_copy forgot to read next label length.
4415 - test from file and fixes
4416 * double frees fixed in error conditions.
4417 * types with less than full rdata allowed by parser.
4418 Some dynamic update packets seem to use it.
4420 16 April 2007: Wouter
4421 - following a small change in LDNS, parsing code calculates the
4422 memory size to allocate for rrs.
4423 - code to handle ID creation.
4425 13 April 2007: Wouter
4426 - parse routines. Code that parses rrsets, rrs.
4428 12 April 2007: Wouter
4429 - dname compare routine that preserves case, with unit tests.
4431 11 April 2007: Wouter
4432 - parse work - dname packet parse, msgparse, querysection parse,
4433 start of sectionparse.
4435 10 April 2007: Wouter
4436 - Improved alignment of reply_info packet, nice for 32 and 64 bit.
4437 - Put RRset counts in reply_info, because the number of RRs can change
4438 due to RRset updates.
4439 - import of region-allocator code from nsd.
4440 - set alloc special type to ub_packed_rrset_key.
4441 Uses lruhash entry overflow chain next pointer in alloc cache.
4442 - doxygen documentation for region-allocator.
4443 - setup for parse scratch data.
4445 5 April 2007: Wouter
4446 - discussed packed rrset with Jelte.
4448 4 April 2007: Wouter
4449 - moved to version 0.3.
4450 - added util/data/dname.c
4451 - layout of memory for rrsets.
4453 3 April 2007: Wouter
4454 - detect sign of msghdr.msg_iovlen so that the cast to that type
4455 in netevent (which is there to please lint) can be correct.
4456 The type on several OSes ranges from int, int32, uint32, size_t.
4457 Detects unsigned or signed using math trick.
4458 - constants for DNS flags.
4459 - compilation without locks fixup.
4460 - removed include of unportable header from lookup3.c.
4461 - more portable use of struct msghdr.
4462 - casts for printf warning portability.
4463 - tweaks to tests to port them to the testbed.
4466 2 April 2007: Wouter
4467 - check sizes of udp received messages, not too short.
4468 - review changes. Some memmoves can be memcpys: 4byte aligned.
4469 set id correctly on cached answers.
4470 - review changes msgreply.c, memleak on error condition. AA flag
4471 clear on cached reply. Lowercase queries on hashing.
4472 unit test on lowercasing. Test AA bit not set on cached reply.
4473 Note that no TTLs are managed.
4475 29 March 2007: Wouter
4476 - writev or sendmsg used when answering from cache.
4477 This avoids a copy of the data.
4478 - do not do useless byteswap on query id. Store reply flags in uint16
4479 for easier access (and no repeated byteswapping).
4481 - configure detects and config.h includes sys/uio.h for writev decl.
4483 28 March 2007: Wouter
4484 - new config option: num-queries-per-thread.
4485 - added tpkg test for answering three queries at the same time
4486 using one thread (from the query service list).
4488 27 March 2007: Wouter
4489 - added test for cache and not cached answers, in testbound replays.
4490 - testbound can give config file and commandline options from the
4491 replay file to unbound.
4492 - created test that checks if items drop out of the cache.
4493 - added word 'partitioned hash table' to documentation on slab hash.
4494 A slab hash is a partitioned hash table.
4495 - worker can handle multiple queries at a time.
4497 26 March 2007: Wouter
4498 - config settings for slab hash message cache.
4499 - test for cached answer.
4500 - Fixup deleting fake answer from testbound list.
4502 23 March 2007: Wouter
4503 - review of yesterday's commits.
4504 - covered up memory leak of the entry locks.
4505 - answers from the cache correctly. Copies flags correctly.
4506 - sanity check for incoming query replies.
4507 - slabbed hash table. Much nicer contention, need dual cpu to see.
4509 22 March 2007: Wouter
4510 - AIX configure check.
4511 - lock-verify can handle references to locks that are created
4512 in files it has not yet read in.
4513 - threaded hash table test.
4514 - unit test runs lock-verify afterwards and checks result.
4515 - need writelock to update data on hash_insert.
4516 - message cache code, msgreply code.
4518 21 March 2007: Wouter
4519 - unit test of hash table, fixup locking problem in table_grow().
4520 - fixup accounting of sizes for removing items from hashtable.
4521 - unit test for hash table, single threaded test of integrity.
4522 - lock-verify reports errors nicely. More quiet in operation.
4524 16 March 2007: Wouter
4525 - lock-verifier, checks consistent order of locking.
4527 14 March 2007: Wouter
4528 - hash table insert (and subroutines) and lookup implemented.
4529 - hash table remove.
4530 - unit tests for hash internal bin, lru functions.
4532 13 March 2007: Wouter
4533 - lock_unprotect in checklocks.
4534 - util/storage/lruhash.h for LRU hash table structure.
4536 12 March 2007: Wouter
4537 - configure.ac moved to 0.2.
4538 - query_info and replymsg util/data structure.
4540 9 March 2007: Wouter
4541 - added rwlock writelock checking.
4542 So it will keep track of the writelock, and readlocks are enforced
4543 to not change protected memory areas.
4544 - log_hex function to dump hex strings to the logfile.
4545 - checklocks zeroes its destroyed lock after checking memory areas.
4546 - unit test for alloc.
4547 - identifier for union in checklocks to please older compilers.
4550 8 March 2007: Wouter
4551 - Reviewed checklock code.
4553 7 March 2007: Wouter
4554 - created a wrapper around thread calls that performs some basic
4555 checking for data race and deadlock, and basic performance
4556 contention measurement.
4558 6 March 2007: Wouter
4559 - Testbed works with threading (different machines, different options).
4560 - alloc work, does the special type.
4562 2 March 2007: Wouter
4563 - do not compile fork funcs unless needed. Otherwise will give
4564 type errors as their typedefs have not been enabled.
4565 - log shows thread numbers much more nicely (and portably).
4566 - even on systems with nonthreadsafe libevent signal handling,
4567 unbound will exit if given a signal.
4568 Reloads will not work, and exit is not graceful.
4569 - start of alloc framework layout.
4571 1 March 2007: Wouter
4572 - Signals, libevent and threads work well, with libevent patch and
4573 changes to code (close after event_del).
4574 - set ipc pipes nonblocking.
4576 27 February 2007: Wouter
4577 - ub_thread_join portable definition.
4578 - forking is used if no threading is available.
4579 Tested, it works, since pipes work across processes as well.
4580 Thread_join is replaced with waitpid.
4581 - During reloads the daemon will temporarily handle signals,
4582 so that they do not result in problems.
4583 - Also randomize the outgoing port range for tests.
4584 - If query list is full, will stop selecting listening ports for read.
4585 This makes all threads service incoming requests, instead of one.
4586 No memory is leaking during reloads, service of queries, etc.
4587 - test that uses ldns-testns -f to test threading. Have to answer
4588 three queries at the same time.
4589 - with verbose=0 operates quietly.
4591 26 February 2007: Wouter
4592 - ub_random code used to select ID and port.
4593 - log code prints thread id.
4594 - unbound can thread itself, with reload(HUP) and quit working
4596 - don't open pipes for #0, doesn't need it.
4597 - listens to SIGTERM, SIGQUIT, SIGINT (all quit) and SIGHUP (reload).
4599 23 February 2007: Wouter
4600 - Can do reloads on sigHUP. Everything is stopped, and freed,
4601 except the listening ports. Then the config file is reread.
4602 And everything is started again (and listening ports if needed).
4603 - Ports for queries are shared.
4604 - config file added interface:, chroot: and username:.
4605 - config file: directory, logfile, pidfile. And they work too.
4606 - will daemonize by default now. Use -d to stay in the foreground.
4607 - got BSD random[256 state] code, made it threadsafe. util/random.
4609 22 February 2007: Wouter
4610 - Have a config file. Removed commandline options, moved to config.
4611 - tests use config file.
4613 21 February 2007: Wouter
4614 - put -c option in man page.
4615 - minievent fd array capped by FD_SETSIZE.
4617 20 February 2007: Wouter
4618 - Added locks code and pthread spinlock detection.
4619 - can use no locks, or solaris native thread library.
4620 - added yacc and lex configure, and config file parsing code.
4621 also makedist.sh, and manpage.
4622 - put include errno.h in config.h
4624 19 February 2007: Wouter
4625 - Created 0.0 svn tag.
4626 - added acx_pthread.m4 autoconf check for pthreads from
4627 the autoconf archive. It is GPL-with-autoconf-exception Licensed.
4628 You can specify --with-pthreads, or --without-pthreads to configure.
4630 16 February 2007: Wouter
4631 - Updated testbed script, works better by using make on remote end.
4632 - removed check decls, we can compile without them.
4633 - makefile supports LIBOBJ replacements.
4634 - docs checks ignore compat code.
4635 - added util/mini-event.c and .h, a select based alternative used with
4636 ./configure --with-libevent=no
4637 It is limited to 1024 file descriptors, and has less features.
4638 - will not create ip6 sockets if ip6 not on the machine.
4640 15 February 2007: Wouter
4641 - port to FreeBSD 4.11 Dec Alpha. Also works on Solaris 10 sparc64,
4642 Solaris 9, FreeBSD 6, Linux i386 and OSX powerpc.
4643 - malloc rndstate, so that it is aligned for access.
4644 - fixed rbtree cleanup with postorder traverse.
4645 - fixed pending messages are deleted when handled.
4646 - You can control verbosity; default is not verbose, every -v
4647 adds more verbosity.
4649 14 February 2007: Wouter
4650 - Included configure.ac changes from ldns.
4651 - detect (some) headers before the standards check.
4652 - do not use isblank to test c99, since its not available on solaris9.
4653 - review of testcode.
4654 * entries in a RANGE are no longer reversed.
4655 * print name of file with replay entry parse errors.
4656 - port to OSX: cast to int for some prints of sizet.
4657 - Makefile copies ldnstestpkts.c before doing dependencies on it.
4659 13 February 2007: Wouter
4660 - work on fake events, first fwd replay works.
4661 - events can do timeouts and errors on queries to servers.
4662 - test package that runs replay scenarios.
4664 12 February 2007: Wouter
4665 - work on fake events.
4667 9 February 2007: Wouter
4668 - replay file reading.
4669 - fake event setup, it creates fake structures, and teardowns,
4670 added signal callbacks to reply to be able to fake those,
4671 and main structure of event replay routines.
4673 8 February 2007: Wouter
4676 - testcode/fake_event work.
4678 7 February 2007: Wouter
4679 - return answer with the same ID as query was sent with.
4680 - created udp forwarder test. I've done some effort to make it perform
4681 quickly. After servers are created, no big sleep statements but
4682 it checks the logfiles to see if servers have come up. Takes 0.14s.
4683 - set addrlen value when calling recvfrom.
4684 - comparison of addrs more portable.
4685 - LIBEVENT option for testbed to set libevent directory.
4686 - work on tcp input.
4688 6 February 2007: Wouter
4689 - reviewed code and improved in places.
4691 5 February 2007: Wouter
4692 - Picked up stdc99 and other define tests from ldns. Improved
4693 POSIX define test to include getaddrinfo.
4694 - defined constants for netevent callback error code.
4695 - unit test for strisip6.
4697 2 February 2007: Wouter
4698 - Created udp4 and udp6 port arrays to provide service for both
4700 - uses IPV6_USE_MIN_MTU for udp6 ,IPV6_V6ONLY to make ip6 sockets.
4701 - listens on both ip4 and ip6 ports to provide correct return address.
4702 - worker fwder address filled correctly.
4704 - forwards udp queries and sends answer.
4706 1 February 2007: Wouter
4707 - outside network more UDP work.
4708 - moved * closer to type.
4709 - comm_timer object and events.
4711 31 January 2007: Wouter
4712 - Added makedist.sh script to make release tarball.
4713 - Removed listen callback layer, did not add anything.
4714 - Added UDP recv to netevent, worker callback for udp.
4715 - netevent communication reply storage structure.
4716 - minimal query header sanity checking for worker.
4717 - copied over rbtree implementation from NSD (BSD licensed too).
4718 - outgoing network query service work.
4720 30 January 2007: Wouter
4721 - links in example/ldns-testpkts.c and .h for premade packet support.
4722 - added callback argument to listen_dnsport and daemon/worker.
4724 29 January 2007: Wouter
4725 - unbound.8 a short manpage.
4727 26 January 2007: Wouter
4729 - make lint works on BSD and Linux (openssl defines).
4731 - testbound program start.
4733 25 January 2007: Wouter
4734 - fixed lint so it may work on BSD.
4735 - put license into header of every file.
4736 - created verbosity flag.
4737 - fixed libevent configure flag.
4738 - detects event_base_free() in new libevent 1.2 version.
4739 - getopt in daemon. fatal_exit() and verbose() logging funcs.
4740 - created log_assert, that throws assertions to the logfile.
4741 - listen_dnsport service. Binds ports.
4743 24 January 2007: Wouter
4744 - cleaned up configure.ac.
4746 23 January 2007: Wouter
4747 - added libevent to configure to link with.
4748 - util/netevent setup work.
4749 - configure searches for libevent.
4750 - search for libs at end of configure (when other headers and types
4752 - doxygen works with ATTR_UNUSED().
4753 - util/netevent implementation.
4755 22 January 2007: Wouter
4756 - Designed header file for network communication.
4758 16 January 2007: Wouter
4759 - added readme.svn and readme.tests.
4761 4 January 2007: Wouter
4762 - Testbed script (run on multiple platforms the test set).
4763 Works on Sunos9, Sunos10, FreeBSD 6.1, Fedora core 5.
4764 - added unit test tpkg.
4766 3 January 2007: Wouter
4767 - committed first set of files into subversion repository.
4768 svn co svn+ssh://unbound.net/svn/unbound
4769 You need a ssh login. There is no https access yet.
4770 - Added LICENSE, the BSD license.
4771 - Added doc/README with compile help.
4772 - main program stub and quiet makefile.
4773 - minimal logging service (to stderr).
4774 - added postcommit hook that serves emails.
4775 - added first test 00-lint. postcommit also checks if build succeeds.
4776 - 01-doc: doxygen doc target added for html docs. And stringent test
4777 on documented files, functions and parameters.
4779 15 December 2006: Wouter
4780 - Created Makefile.in and configure.ac.