11 October 2020: Wouter 2 - tag for 4.3.3rc1 release. 3 430 September 2020: Wouter 5 - Updated date in nsd -v output. 6 - Fixup bug013_truncate, checkconf and cutest_qroot tests for new 7 default EDNS size. 8 929 September 2020: Willem 10 - Follow DNS flag day 2020 advice and 11 set default EDNS message size to 1232. 12 134 September 2020: Wouter 14 - Remove unused space from LIBS on link line. 15 163 September 2020: Wouter 17 - Merge PR #121: Increase log level of recreated database from 18 WARNING to ERR. 19 201 September 2020: Wouter 21 - Fix #119: fix compile warnings from new gcc. 22 - Fix #119: warn when trying to parse a directory. 23 2427 August 2020: Wouter 25 - Merged PR #113 with fixes. Instead of listing an IP-address to 26 listen on, an interface name can be specified in nsd.conf, with 27 ip-address: eth0. The IP-addresses for that interface are then used. 28 2926 August 2020: Wouter 30 - Add xstrdup for PR #113. 31 - Tidy up code like in PR #113. 32 - Import code from PR #113. 33 - Fix for unknown EVP_MAC_CTX_free function in openssl 3.0.0 tsig code. 34 3524 August 2020: Wouter 36 - Fix that configure checks for EVP_sha256 to detect openssl, because 37 HMAC_CTX_new is deprecated in 3.0.0. 38 - Port TSIG code for openssl 3.0.0-alpha6. 39 - Sync acx_nlnetlabs.m4 with the unbound repo. 40 - Review fixes for tsig, defensive free and zero. 41 424 August 2020: Wouter 43 - Merge #117: mini_event.h (4.3.2 and 4.3.1) on OpenBSD cannot find 44 fd_set - patch. 45 4623 July 2020: Wouter 47 - Merge #115 from millert: Fix strlcpy() usage. From OpenBSD. 48 4915 July 2020: Wouter 50 - Fix make install with --with-pidfile="". 51 5214 July 2020: Wouter 53 - Tag for 4.3.2 release. Master branch contains the next version 54 in development, 4.3.3. 55 567 July 2020: Wouter 57 - Tag for 4.3.2rc1. 58 596 July 2020: Wouter 60 - Fix compile includes for xfr-inspect tool on FreeBSD. 61 - Add tpkg/run_vm.sh that runs test when in a virtual machine. 62 - Merge #112 from jaredmauch: log old and new serials when NSD 63 rejects an IXFR due to an old serial number. 64 - Fix bug034 test for vm test changes. 65 6622 June 2020: Wouter 67 - Remove errno reset behaviour from sendmmsg and recvmmsg 68 replacement functions. 69 - Fix unit test for different nsd-control-setup -h exit code. 70 7119 June 2020: Wouter 72 - Merge #108 from Nomis: Make the max-retry-time description clearer. 73 - Retry when udp send buffer is full to wait until buffer space is 74 available. 75 7618 June 2020: Wouter 77 - Do not log EAGAIN errors for sendmmsg, to stop log spam on OpenBSD. 78 7917 June 2020: Wouter 80 - Fix #107: nsd -v shows configure line, openssl version and libevent version. 81 8227 May 2020: Wouter 83 - Fix unlink of pidfile warning if not possible due to permissions, 84 nsd can display the message at high verbosity levels. 85 - Update contrib/nsd.service for chown of nsd.log and /var/log in 86 ReadWritePaths. 87 - Removed contrib/nsd.service, example is too complicated and not 88 useful. 89 9015 May 2020: Wouter 91 - Merge PR#102 from and0x000: add missing default in documentation 92 for drop-updates. 93 - Fix checkconf test for log-only-syslog option. 94 9514 May 2020: Wouter 96 - Document default value for tcp-timeout. 97 9813 May 2020: Jeroen 99 - Fix #99: Fix copying of socket properties with reuseport enabled. 100 10124 April 2020: Wouter 102 - Fix #97: EDNS unknown version: query not in response. 103 10421 April 2020: Wouter 105 - Fix #96: log-only-syslog: yes sets to only use syslog, fixes 106 that the default configuration and systemd results in duplicate 107 log messages. 108 10920 April 2020: Wouter 110 - Fix #95: Removed make test check because tpkg not included in 111 release tarballs. 112 - Fix unused parameter compile warnings. 113 11416 April 2020: Wouter 115 - Tag for 4.3.1 release and track 4.3.2 release in code repository. 116 - note sha256 digest algo use in makedist.sh. 117 - Fix for posix shell syntax for trap in nsd-control-setup. 118 - Fix to omit the listen-on lines from log at startup, unless verbose. 119 - Fix uninitialised values for bindtodevice option at startup with 120 reuseport and multiple interfaces. 121 1228 April 2020: Wouter 123 - Tag for 4.3.1rc2. 124 1257 April 2020: Wouter 126 - Merge PR #91 by gearnode: nsd-control-setup recreate certificates. 127 The '-r' option recreates certificates. Without it it creates them 128 if they do not exist, and does not modify them otherwise. 129 1306 April 2020: Wouter 131 - Merge PR #90 by phicoh: O_CLOEXEC should be FD_CLOEXEC. 132 - Merge PR #92 by tonysgi: Fix typo. 133 1342 April 2020: Wouter 135 - Tag for 4.3.1rc1. 136 1371 April 2020: Wouter 138 - Fix for whitespace in minimal responses test for FreeBSD. 139 14025 March 2020: Wouter 141 - Merge PR #86 from noloader: Use precious variables for GREP, EGREP, 142 SED, AWK, LEX and YACC. 143 - For PR #86: Fix that programs loaded after CFLAGS and stuff is 144 set, specifically the compiler, so that it can work if it needs 145 special flags from that. Fix that lex only needs to support -i 146 if actually defined, otherwise the output included in the source 147 tarball can be used. 148 - Merge PR #72 from noloader: Increase Travis testing coverage 149 15023 March 2020: Wouter 151 - Fix unterminated ifdef in nsd.h. 152 - Fix unknown u_long in util.c for Issue #80 . 153 15420 March 2020: Wouter 155 - Merge PR #83 from noloader: Fix GNU HURD sched_setaffinity compile. 156 - Fix #82: print error when system does not have setaffinity. 157 - Fix #80: NetBSD and implicit declaration of reallocarray. 158 - Fix for #80: Fix reallocarray test to define before include. 159 - Fix for #80: Define alternatives for IFNAMSIZ if it does not exist. 160 16119 March 2020: Wouter 162 - Fix #76: cpuid typedef for Hurd, DragonflyBSD compile. 163 - Fix #75: configure test for sched_setaffinity, and use 164 cpuset_setaffinity otherwise. Also test for presence of sysconf. 165 - Fix #74: GNU Hurd fix cast from pointer to integer of different size. 166 - Fix for #74, #75: cpuset test for header contents and provide code. 167 - Fix #78: Fix SO_SETFIB error on FreeBSD. 168 16918 March 2020: Wouter 170 - Fix #70: error: 'fd_set' undeclared. 171 - Fix #71: error: 'for' loop initial declaration used outside C99 172 mode. 173 - Fix to move declarations out of for loops in event test too. 174 - Fix to move declarations out of for loops in popen3 test too. 175 - Another fix to move declaration out of for loop for event test. 176 - Fix to move declarations out of for loops in cutest regex display. 177 17817 March 2020: Wouter 179 - tag for 4.3.0 release and master branch has version 4.3.1. 180 18110 March 2020: Wouter 182 - repository has version number 4.3.0. Tag for 4.3.0rc1. 183 1843 March 2020: Wouter 185 - Fix that the retry wait does not exceed one day for zone transfers. 186 18727 February 2020: Wouter 188 - Fix warning on FreeBSD about pointer size cast. 189 19026 February 2020: Wouter 191 - Fixup fix of reuseport TCP for server close of sockets not used 192 by it. And the unit test skips when the necessary debug output 193 is not enabled. 194 19525 February 2020: Wouter 196 - Fix event unit test, signal has to be registered with signal_add, 197 event_add not for every backend for signals. The event_initialized 198 is not possible for every backend, so event_added variable. The 199 agent write event fires after a timeout, instead of on event write 200 so that it does not trigger a sigpipe event when the handlers stop. 201 Timeout shorted to 0.1 second. event_get_fd was not implemented, 202 so used ev_fd. Debug output printfs added to see what happens. 203 - Fix checkconf test for new drop-updates config option. 204 - Fix errors with reuseport and TCP file descriptors, it was 205 closing them for server-1 in server-2 and server-3.. 206 2077 February 2020: Jeroen 208 - Add feature to drop queries with opcode UPDATE. 209 2106 February 2020: Jeroen 211 - Support SO_BINDTODEVICE on Linux. Specify bindtodevice: yes 212 to bind sockets directly to the network interface. 213 - Support SO_SETFIB on FreeBSD. Add setfib=<FIB> after an ip-address 214 option to use the specified FIB for that socket. 215 - Require user to add servers=<range> after an ip-address option to 216 specify the servers that must listen on that socket. 217 2186 February 2020: Wouter 219 - Merge PR#60: Minor portability fixes from michaelforney, with 220 avoid pointer arithmetic on void* and avoid unnecessary VLA. 221 2224 February 2020: Wouter 223 - Merge PR#22: minimise-any: prefer polular and not large RRset, 224 from Daisuke Higashi. 225 - Fix responses for IXFR so that the authority section is not echoed 226 in the response. 227 22821 January 2020: Wouter 229 - Fix leak in server bitset setup. 230 23116 January 2020: Jeroen 232 - Add zone resource record iterator for future zone-verification port. 233 - Set FD_CLOEXEC on opened sockets. 234 - Add popen3 implementation for future zone-verification port. 235 - Add -r option to cutest so that a subset of tests can be run. 236 23715 January 2020: Jeroen 238 - Add feature to pin server proccesses to specific cpus. 239 - Add feature to pin IP addresses to selected server processes. 240 - Set process title to identify individual processes. 241 24213 January 2020: Wouter 243 - Merge pull request #59 from buddyns: add FreeBSD support 244 for conf key ip-transparent. 245 24610 January 2020: Wouter 247 - Fix unreachable code in ssl set options code. 248 - Fix bad shift in assertion code analyzer complaint. 249 2506 January 2020: Wouter 251 - Fix #56: Drop sparse TSIG signing support in NSD. 252 Sign every axfr packet with TSIG, according to the latest 253 draft-ietf-dnsop-rfc2845bis-06, Section 5.3.1. 254 25512 December 2019: Wouter 256 - Note that use-systemd is not necessary and ignored in man page. 257 25811 December 2019: Wouter 259 - Fix whitespace in nsd.conf.sample.in, patch from Paul Wouters. 260 - use-systemd is ignored in nsd.conf, when NSD is compiled with 261 libsystemd it always signals readiness, if possible. 262 2639 December 2019: Wouter 264 - Fix to define upper bounds on rr counts read from untrusted packet 265 data. 266 - Try different annotation for radix_find_prefix_node not reachable. 267 - Separate acl_addr_match_range functions for ip4 and ip6, to 268 please checkers. 269 - Avoid unused variable warning in new match_range_v4 function. 270 2716 December 2019: Wouter 272 - Fix to define max number of EDNS records we are willing to 273 spend time on. 274 - Fix size of string len and capacity type cast in udbradtree. 275 - Fix to protect rrcount in tsig_find_rr from overflow. 276 - Annotate radix_find_prefix_node not reachable trail code. 277 - Fix to protect rrcount in packet_find_notify_serial from overflow. 278 - Fix to close socket on error in create_tcp_accept_sock. 279 - Fix to log on failure to chmod for socket for remote control. 280 - Fix to remove unneeded if in open of socket for remote control. 281 - Fix to restore input parameter on call failure in create_dirs. 282 - Please checker by terminating and initialising string read 283 by remote control. 284 - Fixup of random_generate negative modulo, from previous commit, 285 and return srandom when random is used if no getrandom. 286 2875 December 2019: Wouter 288 - Fix fname null check of fname in namedb_read_zonefile. 289 - Fix implicit cast of size in udb_radnode_array_grow. 290 - Fix ignore of return value of ssl_printf in remote.c. 291 - Fix unused check of fd in parent_handle_reload_command. 292 - Fix to use getrandom() for randomness, if available. 293 - Attempt to fix signedness of nscount lookup in ixfr query_process. 294 - Fix identical branches for ssl_print of errors in remote.c. 295 - Fix type cast bounds, signedness of opt_rdlen in edns_parse_record. 296 - Fix to separate header and data lines in parse_zone_list_file. 297 2983 December 2019: Wouter 299 - Fix #52: do not log transient network full errors unless higher 300 verbosity is set. 301 - Fix checkconf test for new error output string. 302 - tag for 4.2.4rc1 release. This became the 4.2.4 release, 303 and the master branch continues with 4.2.5 in development. 304 30527 November 2017 Jeroen 306 - Fix regressions in configparser.y 307 30822 November 2019: Wouter 309 - Fix #48: Add make distclean that removes config.h made by configure. 310 And add maintainer-clean that removes bison and flex output. 311 31218 November 2019: Wouter 313 - Detect fixed time memcmp for openssl 0.9.8 compatibility. 314 - Detect EC_KEY_new_by_curve_name for openssl 0.9.8. 315 - include limits.h for UINT_MAX. 316 - If no recvmmsg, dont use msg_flags member, but errno for error, 317 where our fallback function left it, msg_flags also does not exist 318 on some systems. 319 - Remove unused variable warning for portability. 320 32114 November 2019: Wouter 322 - Fix checkconf test with filenames that sort in the same order. 323 - Tag for 4.2.3rc1. Branch master is 4.2.4 in development. 324 32511 November 2019: Wouter 326 - Fix #44: document that remote-control is a top-level nsd.conf 327 attribute. 328 - Fix compile on OSX. 329 - Fix for #44: nicer top-level clause documentation. 330 33122 October 2019: Jeroen 332 - Number of different UDP handlers has been reduced to one. recvmmsg 333 and sendmmsg implementations are now used on all platforms. 334 Compatible implementations are in place for systems that lack the 335 system calls. 336 - Socket options are now set in designated functions for easy reuse. 337 - Socket setup has been simplified for easy reuse. 338 - Configuration parser is now aware of the context in which an option 339 was specified. 340 34121 October 2019: Wouter 342 - For #21 add 343 contrib/patch_for_s6_startup_and_other_service_supervisors.diff 344 that adds support for readiness notification with READY_FD from 345 Cameron Nemo. 346 34717 October 2019: Jeroen 348 - Fix #40: Merge small fixes for confine-to-zone by Greg Bock. 349 35015 October 2019: Jeroen 351 - For #39: Merge confine-to-zone feature contributes by Greg Bock. 352 35326 September 2019: Wouter 354 - Fix #38: log address and failure reason with tls handshake errors, 355 squelches (the same as unbound) some unless high verbosity is used. 356 - Fixup clang analysis warning in xfrd_parse_received_xfr_packet 357 master dereference. 358 35925 September 2019: Wouter 360 - The nsd.conf includes are sorted ascending, for include statements 361 with a '*' from glob. 362 36316 September 2019: Wouter 364 - Fixup warnings during --disable-ipv6 compile. 365 - Fixup unit test executable to run without IPv6. 366 3674 September 2019: Wouter 368 - Fix #35: excessive logging of ixfr failures, it stops the log when 369 fallback to axfr is possible. log is enabled at high verbosity. 370 3712 September 2019: Wouter 372 - For #21: pidfile "" allows to run NSD without a pidfile, for 373 startup management tools like daemontools. 374 37528 August 2019: Wouter 376 - In tests check for tls test tool availability. 377 37819 August 2019: Wouter 379 - Tag for 4.2.2 release. Git master contains 4.2.3 in development. 380 38113 August 2019: Wouter 382 - Fix error message for out of zone data to have more information. 383 - Tag for 4.2.2rc2. 384 38512 August 2019: Wouter 386 - Fix #33: Fix segfault in service of remaining streams on exit. 387 3886 August 2019: Wouter 389 - Tag for 4.2.2rc1. 390 3915 August 2019: Wouter 392 - PR #31: nsd-control: Add missing stdio header. 393 - PR #32: tsig: Fix compilation without HAVE_SSL. 394 - Cleanup tls context on xfrd exit. 395 39631 July 2019: Wouter 397 - Fix #29: SSHFP check NULL pointer dereference. 398 - Fix #30: SSHFP check failure due to missing domain name. 399 - Fix to timeval_add in minievent for remaining second in microseconds. 400 40122 July 2019: Wouter 402 - Set timeout for refetch immediately, only spread load when there 403 are retries. 404 40519 July 2019: Wouter 406 - Set no renegotiation on the SSL context to stop client 407 session renegotiation. 408 40918 July 2019: Wouter 410 - Fix #25: NSD doesn't refresh zones after extended downtime, 411 it refreshes the old zones, with a random delay of a couple of 412 seconds to spread the load. 413 - Fix so that expired zones stay expired when server is down a 414 long time. 415 41617 July 2019: Wouter 417 - Fix that NSD warns for wrong length of the hash in SSHFP records. 418 41915 July 2019: Wouter 420 - PR #23: Fix typo in nsd.conf man-page. 421 4224 July 2019: Wouter 423 - Set version to 4.2.2 in development. 424 - clean memory on exit of nsd-checkzone for memory debug. 425 - Fix #20: CVE-2019-13207 Stack-based Buffer Overflow in the 426 dname_concatenate() function. Reported by Frederic Cambus. 427 It causes the zone parser to crash on a malformed zone file, 428 with assertions enabled, an assertion catches it. 429 - Fix #19: Out-of-bounds read caused by improper validation of 430 array index. Reported by Frederic Cambus. The zone parser 431 fails on type SIG because of mismatched definition with RRSIG. 432 4332 July 2019: Wouter 434 - Tag for 4.2.1rc1 435 43627 June 2019: Wouter 437 - Fix unit test for added options and no dot after zone updated 438 log message. 439 - Fix compile without accept4. 440 44121 June 2019: Wouter 442 - Omit remaining tcp processing if the list is empty. 443 - Fix output of nsd-checkconf -h. 444 44520 June 2019: Wouter 446 - Initialize event structures before event_set, to stop uninitialized 447 values from setting event library lists and assertions, that would 448 sometimes also show after event_del. 449 - Added num.tls and num.tls6 stat counters. 450 - PR #12: send-buffer-size, receive-buffer-size, 451 tcp-reject-overflow options for nsd.conf, from Jeroen Koekkoek. 452 - Do not use symbol from libc, instead use own replacement, if not 453 available, for accept4. 454 - Fix #14, tcp connections have 1/10 to be active and have to work 455 every second, and then they get time to complete during a reload, 456 this is a process that lingers with the old version during a version 457 update. 458 45919 June 2019: Wouter 460 - Fix tls handshake event callback function mistake, reported 461 by Mykhailo Danylenko. 462 46318 June 2019: Wouter 464 - Fix #15: crash in SSL library, initialize variables for TCP access 465 when TLS is configured. 466 46714 June 2019: Wouter 468 - Fix to init event not pointer, in reassignment. 469 47012 June 2019: Wouter 471 - Fix to init event structure for reassignment. 472 47311 June 2019: Wouter 474 - NSD 4.2.0 release. Current development is 4.2.1. 475 - Fixup of RELNOTES, corrected RFC reference for 4892. 476 - Fix #13: Stray dot at the end of some log entries, removes dot 477 after updated serial number in log entry. 478 - Fix TLS cipher selection, the previous was redundant, prefers 479 CHACHA20-POLY1305 over AESGCM and was not as readable as it could be. 480 - Consolidate server tls context create and remote control context 481 create, with hardening for the remote control tls context too. 482 4836 June 2019: Wouter 484 - NSD 4.2.0rc1 tag. 485 4864 June 2019: Wouter 487 - Fix unit test for outgoing interface to use random port numbers for 488 the outgoing interface config. 489 49029 May 2019: Wouter 491 - Fix to guard _OPENBSD_SOURCE from redefinition. 492 49328 May 2019: Wouter 494 - Fix to define _OPENBSD_SOURCE to get reallocarray on NetBSD. 495 49616 May 2019: Wouter 497 - Fix #10: Fix memory leaks caused by duplicate rr and include 498 instructions. 499 5006 May 2019: Wouter 501 - Note CII best practices badge for NSD on the README.md. 502 5032 May 2019: Wouter 504 - Fix .gitignore for unit test generated files. 505 - Fix checkconf unit test for hide-identity and tls. 506 5071 May 2019: Wouter 508 - Fix makedist.sh for use with git. 509 - Nicer output on travis for clang analysis. 510 - Add .gitignore file to exclude built files from version tracking. 511 - Add README.md file in repository with compile instructions. 512 - Fix .gitignore for dnstap files and aclocal temp. 513 - Add aclocal to README.md for pkgconfig for some configure options. 514 51525 April 2019: Wouter 516 - Add tls.tpkg unit test for DNS over TLS functionality. 517 51818 April 2019: Wouter 519 - Fix to avoid buffer alloc with global buffer in tls write handler. 520 - Fix to initialize event structure when accepting TCP connection. 521 - Use travis for build check, initial unit test and clang analysis. 522 - Disable SSLv2,3,TLSv1.0,1.1 if TLS1.2 is available in libssl. 523 - Disable weak ciphers, enable CIPHER_SERVER_PREFERENCE. 524 - further setup ssl ctx after the keys are loaded, for ECDH. 525 - TLS OCSP stapling support, enabled with tls-service-ocsp: filename, 526 patch from Andreas Schulze. 527 52817 April 2019: Wouter 529 - Fix to share openssl init code, and perform it once. 530 53116 April 2019: Andreas via Sara 532 - Patch to add support for TCP Fast Open 533 - Patch to add support for tls service on a specified tls port 534 53516 April 2019: Wouter 536 - Fix #4249: The option hide-identity: yes stops NSD from responding 537 with the hostname for chaos class queries. Implements the RFC4829 538 security considerations. 539 - Remove starttls, this signalling method was not standardized. 540 - Remove TO bit, this signalling method was not standardized. 541 - Remove unused first_query and tls_ok states. 542 - Remove sign-compare warning in tls packet send code. 543 - Fix spelling in comment and log printout. 544 - Fix potential uninitialized variable. 545 - Fix documentation for DNS over TLS, and set default port 853. 546 - Fix to add missing comment. 547 - Fix that the TLS handshake routine sets the correct event to 548 continue when done. 549 - Fix that TLS renegotiation calls the read and write routines again 550 with the same parameters when the desired event has been satisfied. 551 - Fix that TCP Fastopen has better error message and supports OSX. 552 - Fix log for fastopen with verbosity. 553 - Squelch TLS handshake failure log until verbosity 3. 554 - Add per-zone statistics for TLS queries, and dnstap for TLS queries, 555 and rcode and TCflag statistics for TCP and TLS queries. 556 55725 March 2019: Wouter 558 - Print IP address when bind socket fails with error. 559 56021 March 2019: Wouter 561 - Fix spelling error in release notes. 562 - Fix to delete unused zparser.default_apex member. 563 56419 March 2019: Wouter 565 - tag 4.1.27rc1. This became 4.1.27 on 25 March 2019 and trunk has 566 4.1.28 in development. 567 56818 March 2019: Wouter 569 - Fix unit test bug013_truncate for new truncation with EDNS size, 570 it is one RR smaller for the truncated response in the test. 571 57214 March 2019: Wouter 573 - Fixed radtree_insert memory leak. 574 - Fixed access recycled variable. 575 57611 March 2019: Wouter 577 - Fix #6: nsd-control-setup: Change validity time to a shorter 578 period (<2038). 579 - Fix unused definition in header remote.h. 580 - Fix #4236: IPV4_MINIMAL_RESPONSE_SIZE=1480 is slightly too big. 581 - Fix #4235: IP_PMTUDISC_OMIT on IPv4/UDP sockets. 582 58318 February 2019: Wouter 584 - Fix to remove unused code. 585 58615 February 2019: Wouter 587 - tentative robustness, delete stats items from list twice if needed. 588 58914 February 2019: Wouter 590 - Fix #4: setusercontext() is in libutil on NetBSD, and also 591 include login_cap.h only if it exists. 592 - Fix #4215: fixup for state update for TSIG information in server 593 processes, nicer printout for tsig_print, tsig_print without 594 arguments and no leaks. 595 - nicer logging for update_tsig. 596 5971 February 2019: Wouter 598 - Fix for tsig assoc_tsig command on acl with nokey elements. 599 60029 January 2019: Wouter 601 - Fix #4215: on-the-fly change of TSIG keys with patch from Igor, adds 602 nsd-control print_tsig, update_tsig, add_tsig, assoc_tsig 603 and del_tsig. These changes are gone after reload, edit the 604 config file (or a file included from it) to make changes that 605 last after restart. 606 - documentation for tsig nsd-control options. 607 60824 January 2019: Wouter 609 - Deny ANY with only one RR in response, by default. Patch from 610 Daisuke Higashi. The deny-any statement in nsd.conf sets ANY 611 queries over UDP to be further moved to TCP as well. 612 Also no additional section processig for type ANY, reducing 613 the response size. 614 - assertions for clang analysis. 615 61610 December 2018: Wouter 617 - Fix for FreeBSD port with dnstap enabled. 618 6196 December 2018: Wouter 620 - Fix to reduce region_log_stats if condition, this removes a 621 debug statement. 622 6235 December 2018: Wouter 624 - Fix #4213: disable-ipv6 and dnstap compile error. 625 6263 December 2018: Wouter 627 - Note that the content_list member is unused; and could be removed 628 if the database format is modified or updated. 629 - Fix that dnstap logs CQ and CR like BIND does. 630 - Revert that, it looks wrong, AQ and AR are for the authoritative. 631 63229 November 2018: Wouter 633 - Tag for 4.1.26rc1. Which became 4.1.26 on 4 dec 2018. 634 Trunk has 4.1.27 in development. 635 - Fix clang analysis warning on null in closest encloser for wildcard 636 denial nsec. 637 - Fix clang analysis warnings. 638 63927 November 2018: Wouter 640 - Fix parsezone failure in 4194 fix. 641 64226 November 2018: Wouter 643 - Fix to not set GLOB_NOSORT so the nsd.conf include: files are 644 sorted and in a predictable order. 645 - Added nsd-control changezone. nsd-control changezone name pattern 646 allows the change of a zone pattern option without downtime for 647 the zone, in one operation. 648 - Fix #3433: document that reconfig does not change per-zone stats. 649 65020 November 2018: Wouter 651 - Fix #4205: enable-recvmmsg in mixed IPv4/IPv6 environment fails. 652 This sets the msg_hdr.msg_namelen correctly after receipt. 653 65419 November 2018: Wouter 655 - Support SO_REUSEPORT_LB in FreeBSD 12 with the reuseport: yes 656 option in nsd.conf. 657 - Fix #4202: nsd-control delzone incorrect exit code on error. 658 - Tab style fix to use tab for 8 spaces, from Xiaobo Liu. 659 66025 October 2018: Wouter 661 - Adjust dnstap socket path for chroot. 662 66322 October 2018: Wouter 664 - Fix #4194: Zone file parser derailed by non-FQDN names in RHS of 665 DNSSEC RRs. 666 - Fix some more, neater code and checks for domain length limit. 667 - check that the dnstap socket file can be opened and exists, print 668 error if not. 669 6704 October 2018: Wouter 671 - dnstap work, the dnstap.proto is a copy of the file from Unbound, 672 also dnstap.m4 configure include file. 673 - dnstap collector: free eventbase and memclean nicer. 674 - dnstap collector: send data and read it in collector. 675 - dnstap/dnstap.c and .h from Unbound's contribution from 676 Farsight Security, added to then adapt it for dnstap logging in NSD. 677 - dnstap.c with auth query and auth response, and called from 678 the collector. 679 - dnstap work, config nsd.conf parse. 680 - dnstap example config. 681 68225 September 2018: Wouter 683 - NSD 4.1.25 released, trunk has 4.1.26 in development. 684 68518 September 2018: Wouter 686 - tag for NSD 4.1.25rc1. 687 68817 September 2018: Wouter 689 - Fix #4156: Fix systemd service manager state change notification 690 69114 September 2018: Wouter 692 - Remove unused if clause during server service startup. 693 69413 September 2018: Wouter 695 - Fix typo in clang analysis test. 696 - Annotate exit functions with noreturn. 697 - nsd-control prints neater errors for file failures. 698 69912 September 2018: Wouter 700 - clang analysis test. 701 70211 September 2018: Wouter 703 - Fix to combine the same error function into one, from Xiaobo Liu. 704 - Fix initialisation in remote.c. 705 - please clang analyzer and fix parse of IPSECKEY with bad gateway. 706 - Fix unit test code for clang analyzer. 707 - Fix nsd-checkconf fail on bad zone name. 708 70910 September 2018: Wouter 710 - Fix coding style in nsd.c 711 7127 September 2018: Wouter 713 - append_trailing_slash has one implementation and is not repeated 714 differently. 715 7164 September 2018: Wouter 717 - Fix codingstyle in nsd-checkconf.c in patch from Sharp Liu. 718 71915 August 2018: Wouter 720 - Fix use_systemd typo/leftover in remote.c. 721 72213 August 2018: Wouter 723 - tag for 4.1.24 release. 724 - trunk is 4.1.25 in development. 725 - Fix that nsec3 precompile deletion happens before the RRs of 726 the zone are deleted. 727 - Fix printout of accepted remote control connection for unix sockets. 728 7296 August 2018: Wouter 730 - tag for 4.1.24rc1 release. 731 73230 July 2018: Wouter 733 - Tag for NSD 4.1.23 release, trunk is 4.1.24, includes 734 fix NSD time sensitive TSIG compare vulnerability. 735 - Fix checkconf test for use-systemd option. 736 73725 July 2018: Wouter 738 - #4133: Fix that when IXFR contains a zone with broken NSEC3PARAM 739 chain, NSD leniently attempts to find a working NSEC3PARAM. 740 74123 July 2018: Wouter 742 - Remove socket activation from systemd code, it was reported as 743 not useful to enable. The readiness signalling is still there, 744 and can be enabled with use-systemd: yes. 745 - Only call sd_notify from systemd when use-systemd is yes. 746 7476 July 2018: Wouter 748 - RFC8162 support, for record type SMIMEA. 749 - Fix that type CAA (and URI) in the zone file can contain 750 dots when not in quotes. 751 75226 June 2018: Wouter 753 - configure --enable-systemd (needs pkg-config and libsystemd) can 754 be used to then use-systemd: yes in nsd.conf and use socket 755 activation and readiness signalling with systemd. 756 75719 June 2018: Wouter 758 - #4106: Fix that stats printed from nsd-control are recast from 759 unsigned long to unsigned (remote.c). 760 76114 June 2018: Wouter 762 - Fix that first control-interface determines if TLS is used. Warn 763 when IP address interfaces are used without TLS. 764 76512 June 2018: Wouter 766 - #4102: control interface via local socket. 767 configure it with control-interface: "/path/nsd.ctl" The path 768 has to start with a / to separate it from an IP address. 769 The local socket does not use SSL, but unencrypted traffic, use 770 file and containing directory permissions to restrict access. 771 7726 June 2018: Wouter 773 - Patch to fix openwrt for mac os build darwin detection in configure. 774 7754 June 2018: Wouter 776 - tag for 4.1.22rc1. Became 4.1.22 on 11 June, trunk is 4.1.23 in 777 development from this point. 778 77931 May 2018: Wouter 780 - Fix to use same condition for nsec3 hash allocation and free. 781 78223 May 2018: Wouter 783 - Use accept4 to speed up answer of TCP queries, on Linux and FreeBSD 784 and OpenBSD. 785 78622 May 2018: Wouter 787 - Fix nsec3 hash of parent and child co-hosted nsec3 enabled zones. 788 78915 May 2018: Wouter 790 - Fix memory free in unit test. 791 79214 May 2018: Wouter 793 - Tag for 4.1.21 release. 794 - trunk has 4.1.22 in development. 795 - refuse-any sends truncation (+TC) in reply to ANY queries over UDP, 796 and allows TCP queries like normal. 797 7987 May 2018: Wouter 799 - Tag for 4.1.21rc1 release. 800 8014 May 2018: Wouter 802 - Fix #4093: Release notes not using 2018. 803 8043 May 2018: Wouter 805 - Fix buffer size warnings from compiler on filename lengths. 806 80726 April 2018: Wouter 808 - lower memory usage for tcp connections, so tcp-count can be higher. 809 - Fix checkconf test for refuse-any option. 810 8113 April 2018: Wouter 812 - refuse-any nsd.conf option that refuses queries of type ANY. 813 8145 March 2018: Wouter 815 - Fix #3562: explain build error when flex missing. 816 81720 February 2018: Wouter 818 - For more clang warnings 819 - Fix spelling error in xfr-inspect. 820 82119 February 2018: Wouter 822 - Fix for clang analysis complaints. 823 82415 February 2018: Wouter 825 - --enable-memclean cleans up memory for use with memory checkers, 826 eg. valgrind. 827 - Fix unused variable warnings from clang analyzer. 828 82914 February 2018: Wouter 830 - updated RELNOTES for upcoming release. 831 - tag 4.1.20rc1, became release on 20 feb, trunk has 4.1.21 in 832 development. 833 8349 February 2018: Wouter 835 - make depend: updated the make dependencies in the Makefile. 836 8378 February 2018: Wouter 838 - Fix memory leak when rehashing nsec3 after axfr or zonefile read, 839 in the selectively allocated precompiled nsec3 hashes. 840 8416 February 2018: Wouter 842 - Fix memory leak in zone file read of unknown rr formatted RRs. 843 84411 December 2017: Wouter 845 - Add test for support of -Wno-address-of-packed-member for 846 --enable-packed. 847 - tag for release 4.1.19 848 - trunk has 4.1.20 in development. 849 8508 December 2017: Wouter 851 - tag for 4.1.19rc1 852 8537 December 2017: Wouter 854 - Fixup lexer warning for gcc 4.2. 855 8566 December 2017: Wouter 857 - Fix 3392: Fix regression in 4.1.18 for notify lists with ip4 858 and ip6 targets. 859 8605 December 2017: Wouter 861 - Fix spelling error in xfr-inspect. 862 8631 December 2017: Wouter 864 - Fix warnings emitted by clang for --enable-packed. Alignment is not 865 a problem for x86_64, don't enable packed when the platform 866 requires aligned access. 867 86830 November 2017: Wouter 869 - tag for 4.1.18 release. 870 - trunk has 4.1.19 in development. 871 - ignore fallthrough compiler warning in flex EOF rule. 872 87327 November 2017: Wouter 874 - Fix crash for DS query when parent and child zones both configured 875 in nsd.conf and parent zone has not loaded properly. 876 - tag for 4.1.18rc2. 877 87816 November 2017: Wouter 879 - tag for 4.1.18rc1. 880 88114 November 2017: Wouter 882 - Fix #2871: Increase number of sockets for xfrd transfers. 883 8846 November 2017: Wouter 885 - Set usage counts in namedb tree to uint32 to save memory. 886 - Fix up debug content from nsec3 collision printout work. 887 8882 November 2016: Wouter 889 - make ip-transparent option work on OpenBSD. 890 89111 October 2016: Wouter 892 - Fix #1567: Change crit to err log level for gettimeofday failure. 893 Add defines for compile without syslog. 894 8959 October 2016: Wouter 896 - Fix collision printout of nsec3 to print name, hash and reverse. 897 8982 October 2016: Wouter 899 - nsd-control zonestatus prints wait time between attempts, for zones 900 that are in that waiting time. 901 90219 September 2016: Wouter 903 - merges feature branch branches/alloced_prehashes into trunk. 904 90518 September 2016: Wouter 906 - Fix #1446: A corrupted zone file "propagates" to good ones. 907 90814 September 2016: Wouter 909 - Fix layout in xfrd.c. 910 9116 September 2017: Willem 912 - Save memory by selectively allocate precompiled nsec3 hashes 913 91429 August 2016: Wouter 915 - With --enable-packed save memory, at expense of unaligned reads. 916 - Fix writev compile warning on FreeBSD. 917 91825 July 2016: Wouter 919 - NSD sends up to 16 notifies simultaneously for up to 64 zones, 920 to increase rate of notification for large master configurations. 921 92224 July 2016: Wouter 923 - Fix gcc 7.1.1 warnings. 924 92517 July 2016: Wouter 926 - Trunk has 4.1.18 927 - xfr-inspect is part of source dir, but not made or installed by 928 default. 929 - retry timeout between sending notifies dropped from 15 to 3 sec. 930 93113 July 2016: Wouter 932 - tag 4.1.17rc1, and that became the 4.1.17 release on 21 July 2017. 933 93429 June 2016: Wouter 935 - make depend. 936 93726 June 2016: Wouter 938 - Fix text format of deletes for CDS and CDNSKEY, single 0 to represent 939 empty base64 or hex string. 940 94123 June 2016: Wouter 942 - Fix potential null pointer in nsec3 adjustment tree. 943 94415 June 2016: Wouter 945 - xfr-inspect debug tool prints out xfr contents of files in tmp. 946 9476 June 2016: Wouter 948 - Fix #1272: use writev to put tcp length field with data for outgoing 949 zone transfer requests. 950 95116 May 2016: Wouter 952 - zone parser parses type AVC (it has TXT format). 953 95425 April 2016: Wouter 955 - 4.1.16 release tag. 956 - trunk contains 4.1.17 in development. 957 95811 April 2016: Wouter 959 - 4.1.16 rc1 tag for release. 960 - minor manpage fix. 961 9625 April 2016: Wouter 963 - Patch for expire state in multi-master when masters includes 964 broken master. 965 96627 March 2016: Wouter 967 - Fix 1243: Option to make NSD emit really minimal responses, 968 minimal-responses: yes in nsd.conf. 969 - but they give additional information for priming queries (type NS). 970 9716 March 2016: Wouter 972 - Fix 1228: OpenSSL include is not guarded with HAVE_SSL 973 97428 February 2016: Wouter 975 - Printout serial error with hint it may be too big. 976 97720 February 2016: Wouter 978 - Fix missing _t to _type conversion for disable-radix-tree option. 979 98015 February 2016: Wouter 981 - zone parser can parse acronyms for algorithms ED25519 and ED448. 982 98313 February 2016: Wouter 984 - Calculate new udb index after growing the array, fix from 985 Chaofeng Liu. 986 9877 February 2016: Wouter 988 - tag for 4.1.15 rc1. Which became 4.1.15 on 16 Feb. Trunk 4.1.16. 989 99019 January 2016: Wouter 991 - Fix to rename _t typedefs because POSIX reserves them. 992 9933 January 2016: Wouter 994 - Fix #1195: Fix so that NSD fails on non-compliant values for Serial. 995 99614 December 2016: Wouter 997 - Squelch zone transfer error address family not supported by protocol 998 at low verbosity levels. 999 100013 December 2016: Wouter 1001 - Fix nsd-control and ipv6 only. 1002 10038 December 2016: Wouter 1004 - tag 4.1.14 1005 - trunk contains 4.1.15 in development. 1006 10071 December 2016: Wouter 1008 - Fix restart of zone transfers when new config becomes available. 1009 - tag 4.1.14rc1 1010 101125 October 2016: Wouter 1012 - Fix #1132 for SERVFAIL zones perform backoff, and remembers the 1013 timeout on next startup. 1014 - Save backoff timeout into xfrd.state file, this file has a higher 1015 version number now. Old files are skipped silently (causes 1016 refresh) and created as new files upon exit. 1017 - Set number of rounds to 1; NSD will try every master once, then 1018 wait for timeout or notify. 1019 - Fix axfr fallback for rounds to 1. 1020 102120 October 2016: Wouter 1022 - suppress compile warning in lex files. 1023 102418 October 2016: Wouter 1025 - Robust fix against missing master in tcp_open for xfrd. 1026 - More in depth fix for the previous. 1027 - Fix wildcards in include: config statements with chroot enabled. 1028 102927 September 2016: Wouter 1030 - NSD 4.1.13 tag. 1031 - trunk has 4.1.14 in development. 1032 - Fix null memcpy for radixtree with single link element. 1033 103419 September 2016: Wouter 1035 - Review comments Ralph: wrapped long lines and nicer example conf. 1036 103716 September 2016: Wouter 1038 - NSD 4.1.13rc1 tag. 1039 104015 September 2016: Wouter 1041 - Test for openssl init_crypto and init_ssl functions. 1042 104314 September 2016: Ralph 1044 - Fix OPENSSL_INIT_ADD_ALL_DIGESTS compatibility check 1045 104613 September 2016: Wouter 1047 - Fix double const in dname_const() function. 1048 - Silenced flex-generated sign-unsigned warning print with gcc 1049 diagnostic pragma. 1050 10518 September 2016: Wouter 1052 - more extensible edns option handling. 1053 10542 September 2016: Wouter 1055 - Release of 4.1.12; trunk is 4.1.13 and the patch for 4.1.12 (that 1056 does not contain the other changes to the trunk) is folded into 1057 the trunk. 1058 - Fix #827: fix compile with openssl 1.1.0 with api=1.1.0. 1059 106025 August 2016: Wouter 1061 - Fix multimaster for not tried full zone transfer for a expired zone. 1062 - Explain --disable-radix tree uses some more CPU. 1063 106422 August 2016: Wouter 1065 - Fix README spelling error of BSD license (reported by Joerg Jung). 1066 106719 August 2016: Wouter 1068 - for type SRV add A/AAAA to the additional section (if possible), 1069 just like we already do for type MX. 1070 107117 August 2016: Wouter 1072 - Add robustness against unallocated data in nsec3 trees. 1073 107416 August 2016: Wouter 1075 - configure --disable-radix-tree for about 15% lower memory usage. 1076 107712 August 2016: Wouter 1078 - Fix #817: xfrd update failed loop. 1079 10809 August 2016: Wouter 1081 - Can config key algorithms with the digest name, eg. 'sha256'. 1082 - default tsig algorithm is sha256. 1083 - Fix typo in log output, 'transfered' -> 'transferred'. 1084 - Fix compile warnings about signcompare in minmax retrytime. 1085 10868 August 2016: Wouter 1087 - Support syntax of RR type OPENPGPKEY from RFC 7929. 1088 10895 August 2016: Wouter 1090 - multi-master-check: yes can be used to check all masters for the 1091 last version, using the higher version from the configured masters, 1092 from Manabu Sonoda. 1093 - small fixups on patch. And fix spacing and remove configure flag. 1094 - Fix #812: make depend fails after distribution. 1095 10962 August 2016: Wouter 1097 - Fix unused result warnings from write and strtol. 1098 10991 August 2016: Wouter 1100 - Tag 4.1.11rc1. 1101 - Fix nsec3 missing for nsec3 signed parent and child for DS at zonecut. 1102 - Tag 4.1.11rc2. 1103 - trunk is 4.1.12 in development. 1104 11058 July 2016: Wouter 1106 - Note down tracking numbers for issue JVN#63359718 JPCERT#91251865. 1107 11085 July 2016: Wouter 1109 - Fix #790: size-limit-xfr can stop NSD from downloading infinite zone 1110 transfer data size, from Toshifumi Sakaguchi. 1111 111227 June 2016: Wouter 1113 - Set default for min-refresh-time and min-retry-time to 0. Behaves 1114 just like before, but has a configurable option in nsd.conf. 1115 - Fix #783: Trying to run a root server without having configured it 1116 silently gives wrong answers. 1117 111816 June 2016: Wouter 1119 - When tcp is more than half full, use short timeout for tcp session. 1120 - Patch for {max,min}-{refresh,retry}-time from YAMAGUCHI Takanori. 1121 - man page entries for max-refresh-time patch. 1122 112315 June 2016: Wouter 1124 - Fix build without IPv6, patch from Zdenek Kaspar. 1125 112614 June 2016: Wouter 1127 - release 4.1.10 and tag for that. 1128 - trunk has 4.1.11 in development. 1129 11307 June 2016: Wouter 1131 - Fix NSEC3 ent fix to use closest encloser, not wildcard denial. 1132 11332 June 2016: Wouter 1134 - Fix for NSEC3 with zone signed without exact match for empty 1135 nonterminals, the answer for that domain gets wildcard denial. 1136 - #772 Document that recvmmsg has IPv6 problems on some linux kernels. 1137 - tag for 4.1.10rc1. 1138 113931 May 2016: Wouter 1140 - print notice that nsd is starting before taking off. 1141 114220 May 2016: Wouter 1143 - Updated fix for nonterminal nsec3 answers. 1144 114519 May 2016: Wouter 1146 - Fix empty nonterminal nsec3 cover answers. 1147 114812 May 2016: Wouter 1149 - NSD includes AAAA before A for queries over IPV6 (in delegations). 1150 And TC is set if no glue can be provided with a delegation because 1151 of packet size. 1152 115319 April 2016: Wouter 1154 - Fix #755: NSD spins after a zone update and a lot of TCP queries. 1155 11567 April 2016: Wouter 1157 - If set without nsd.db print "" as the default in the man pages. 1158 11594 April 2016: Wouter 1160 - Fix #751: NSD fails to occlude names below a DNAME. 1161 116224 March 2016: Wouter 1163 - Fix for openssl 1.1.0, HMAC_CTX size not exported from openssl. 1164 116521 March 2016: Wouter 1166 - Update acx_nlnetlabs.m4 to version 33 with HMAC_Update test. 1167 - acx_nlnetlabs.m4 to v34, with -ldl -pthread test for libcrypto. 1168 116915 March 2016: Wouter 1170 - ip-freebind: yesno option in nsd.conf sets IP_FREEBIND socket option 1171 for Linux, binds to interfaces and addresses that are down. 1172 - Change the nsd.db file version because of nanosecond precision fix. 1173 - 4.1.9 release with the nsd.db file version fix (but not freebind), 1174 trunk contains 4.1.10 in development. 1175 117610 March 2016: Wouter 1177 - Tag 4.1.8 1178 - Trunk contains 4.1.9 in development. 1179 11802 March 2016: Wouter 1181 - Tag 4.1.8rc1 1182 11831 March 2016: Wouter 1184 - #744: Fix that NSD replies for configured but unloaded zone 1185 with SERVFAIL, not REFUSED. 1186 118716 February 2016: Wouter 1188 - RR type CSYNC (RFC7477) syntax is supported. 1189 119029 January 2016: Wouter 1191 - #739: zonefile changes when mtime is small are detected on reload, 1192 if filesystem supports precision mtime values. 1193 119419 January 2016: Wouter 1195 - Fix #736: segfault during zone transfer. 1196 119708 January 2016: Wouter 1198 - Define _DEFAULT_SOURCE with _BSD_SOURCE for recent Linuxes. 1199 120005 January 2016: Wouter 1201 - #732: tcp-mss, outgoing-tcp-mss options for nsd.conf, patch 1202 from Daisuke Higashi. 1203 120404 January 2016: Wouter 1205 - Updated acx_nlnetlabs to version 32. 1206 120711 December 2015: Wouter 1208 - Fix flto check for OSX clang. 1209 121010 December 2015: Wouter 1211 - 4.1.7 release 1212 - trunk has 4.1.8 in development. 1213 - take advantage of arc4random_uniform if available, patch from 1214 Loganaden Velvindron. 1215 12163 December 2015: Wouter 1217 - tag for 4.1.7rc1 prerelease. 1218 12192 December 2015: Wouter 1220 - configure --enable-ratelimit-default-is-off with --enable-ratelimit 1221 to set the default ratelimit to disabled but available in nsd.conf. 1222 - Document that ratelimit qps and slip are updated in reconfig. 1223 - version: "string" option to set chaos version query reply string. 1224 - Fix up defaults in manpage. 1225 12261 December 2015: Wouter 1227 - Explain rrl-slip better in documentation. 1228 122930 November 2015: Wouter 1230 - Fix TCP responses when REUSEPORT is in use by turning it off. 1231 - reuseport: no is the default, because the feature is not troublefree. 1232 - Document default in manpage for rrl-slip, ip4 and 6 prefixlength. 1233 123424 November 2015: Wouter 1235 - Fix zonec ttl mismatch printout to include more information. 1236 123718 November 2015: Wouter 1238 - RELNOTES more descriptive. 1239 - newer acx_nlnetlabs.m4. 1240 - spelling fixes from Igor Sobrado Delgado. 1241 124217 November 2015: Wouter 1243 - Fix #721: Fix wrong error code (FORMERR) returned for unknown 1244 opcode. NOTIMP expected. 1245 124616 November 2015: Wouter 1247 - Allocate less memory for TSIG digest. 1248 12496 November 2015: Wouter 1250 - Fixup for newer acx_nlnetlabs.m4, test for openssl version after 1251 testing for libdl need. 1252 12535 November 2015: Wouter 1254 - newer acx_nlnetlabs.m4, does not needlessly link with -ldl. 1255 125630 October 2015: Wouter 1257 - Fix tpkg tests for portability. 1258 125929 October 2015: Wouter 1260 - patch from Doug Hogan for SSL_OP_NO_SSLvx options. 1261 - updated contrib/nsd.spec, from Bálint Szigeti. 1262 - support configure --with-dbfile="" for nodb mode by default, where 1263 there is no binary database, but nsd reads and writes zonefiles. 1264 126527 October 2015: Wouter 1266 - portability fixes. 1267 126826 October 2015: Wouter 1269 - Init pfd for handlers added during handler-event-walk. 1270 127123 October 2015: Wouter 1272 - Fix many interfaces and zones updates from nsd parent event loop. 1273 127422 October 2015: Wouter 1275 - 4.1.6 release tag. 1276 - trunk contain 4.1.7 in development. 1277 127820 October 2015: Wouter 1279 - 4.1.6rc2 tag created. 1280 128119 October 2015: Wouter 1282 - Fix compile of zonec error message on FreeBSD. 1283 128415 October 2015: Wouter 1285 - 4.1.6rc1 tag created. 1286 128713 October 2015: Wouter 1288 - nsd-checkconf warns for master zones with no zonefile statement. 1289 - Fix start failure when many file descriptors are in use. 1290 - The servfail rcode is not printed with a space in the middle. 1291 - fixup file descriptor fixup nicer. 1292 - print failed token for config syntax error or parse error. 1293 129412 October 2015: Wouter 1295 - Fix #711: Document that debug-mode yes is used for staying 1296 attached to the supervisor console. 1297 - Document verbosity 3 prints more information. 1298 129930 September 2015: Wouter 1300 - makedist.sh print on pgp signature creation. 1301 130228 September 2015: Wouter 1303 - Fix typo in zonec.c inside error message. 1304 130524 September 2015: Wouter 1306 - Fix #701: Fix that AD=1 set in a BADVERS response. 1307 130821 September 2015: Wouter 1309 - Fix #706: default port 53 not opened on ip4 because of getaddrinfo 1310 hints initialisation failure. 1311 - 4.1.5 release tag 1312 - trunk contains 4.1.6 in development. 1313 13149 September 2015: Wouter 1315 - 4.1.4 release tag created. 1316 - trunk contains 4.1.5 in development. 1317 131831 August 2015: Wouter 1319 - 4.1.4rc1 tag created. 1320 132128 August 2015: Wouter 1322 - Fix #698 formatting errors and typos in nsd.8.in. 1323 - Add --enable-pie and --enable-relro-now options. 1324 132518 August 2015: Wouter 1326 - Admitted axfrs are logged at verbosity 1. Refused at verbosity 2. 1327 132817 August 2015: Wouter 1329 - Fixed checkconf test for reuseport setting. 1330 133114 August 2015: Wouter 1332 - SO_REUSEPORT does not work on FreeBSD. Enabled by default on Linux, 1333 not enabled by default on other OSes. 1334 13355 August 2015: Wouter 1336 - Fix that notify from nsd-control contains soa serial. 1337 13383 August 2015: Wouter 1339 - squelch SO_REUSEPORT failure on verbosity less than 3. 1340 134131 July 2015: Wouter 1342 - removed hardcoded interface limit, --with-max-ips removed. 1343 - SO_REUSEPORT support. 1344 134516 July 2015: Wouter 1346 - Fix #618: documented need to list ip-addresses separately in 1347 nsd.conf if there are multiple, because the source address of 1348 replies can otherwise go wrong. 1349 135010 July 2015: Wouter 1351 - Fix that for expired zones NSD performs an AXFR and accepts newer 1352 and older serial numbers. 1353 - Document that minimal responses only minimizes responses to fit 1354 in one datagram. It does not minimize smaller responses. 1355 13562 July 2015: Wouter 1357 - Fix NSID response for short edns sizes. 1358 135923 June 2015: Wouter 1360 - Trunk contains 4.1.4 in development. 1361 13624 June 2015: Wouter 1363 - Tag 4.1.3rc1 1364 - improve nsd-control usage text. (23 june - added to 4.1.3) 1365 - RFC7553 RR Type URI support. 1366 13672 June 2015: Wouter 1368 - Fix redefined macro lex warning for freebsd flex. 1369 137029 May 2015: Wouter 1371 - Fix that formerrors are ratelimited. 1372 137319 May 2015: Wouter 1374 - max-interfaces raised to 32. 1375 137618 May 2015: Wouter 1377 - removed unused defines for unofficial tsig-hmac algorithm codes. 1378 The TSIG algorithm is identified by name in the config file. 1379 138014 May 2015: Wouter 1381 - hmac sha224, sha384 and sha512 support, patch from David Gwynne. 1382 138323 April 2015: Wouter 1384 - Fix crash in zone parser for relative dname after error in origin. 1385 - Test for zone parser failures 1386 138721 April 2015: Wouter 1388 - nsd-control addzones and delzones read list of zones from stdin. 1389 - Fix task and zonestat files to be stored in a subdirectory in tmp 1390 to stop privilege elevation. 1391 - printout names for successful addition and removal with bulk command. 1392 139320 April 2015: Wouter 1394 - Fix #665: when removing subdomain, nsd does not reparse parent zone. 1395 139614 April 2015: Wouter 1397 - trunk contains 4.1.3(upcoming). 1398 13997 April 2015: Wouter 1400 - Tag 4.1.2rc2. 1401 14022 April 2015: Wouter 1403 - Made log message more consistent, changed 'axfr refused' log message 1404 to be more consistent with other messages. Also notify refused. 1405 - verbosity 2 logs axfr refused and notify refused. 1406 verbosity 1 contains less log messages. 1407 140831 March 2015: Wouter 1409 - Tag 4.1.2rc1. 1410 141124 March 2015: Wouter 1412 - Fix #654: Fix contradiction in notify logging verbosity level. 1413 - Incoming notifies have serial number logged (at verbosity 1). 1414 - Fix #655: Fix contradiction in verbosity for zone transfers. 1415 141617 March 2015: Wouter 1417 - Use reallocarray for integer overflow protection, patch submitted 1418 by Loganaden Velvindron. 1419 - Fix allocation integer overflow checks. 1420 142113 March 2015: Wouter 1422 - Fix buffer overflow in config parse of domain name, 1423 reported by John Van de Meulebrouck Brendgard. 1424 142512 March 2015: Wouter 1426 - Updated default keylength in nsd-control-setup to 3k. 1427 142810 March 2015: Wouter 1429 - Fix use after free after zonefile syntax error followed by ttl 1430 or origin directive, reported by John Van de Meulebrouck Brendgard. 1431 - Fix syntax error followed by too many TXT elements parse crash 1432 reported by John Van de Meulebrouck Brendgard. 1433 14349 March 2015: Wouter 1435 - Fix origin directive from unused old value and subdomain parser 1436 failure, reported by John Van de Meulebrouck Brendgard. 1437 14382 March 2015: Wouter 1439 - Fix b64pton out of bounds error on invalid zonefile input 1440 reported by John Van de Meulebrouck Brendgard. 1441 144220 February 2015: Wouter 1443 - Fix segfault on double origin in zone reader (thanks John Van de 1444 Meulebrouck Brendgard). 1445 144619 February 2015: Wouter 1447 - Remove dead code domain_table_iterate. 1448 - Fix segfault in zone reader on invalid input 1449 reported by John Van de Meulebrouck Brendgard. 1450 14515 February 2015: Wouter 1452 - Fix #642: Change 'zone read with no errors' to '.. with success'. 1453 Patch from Benedikt Heine. 1454 14553 February 2015: Wouter 1456 - Tag 4.1.1 release 1457 - Trunk is 4.1.2 in development. 1458 - Remove some duplicate header includes (from Brad Smith). 1459 - Fix tcp waiting list for zone transfers where the bind and connect 1460 calls fail. 1461 146229 January 2015: Wouter 1463 - Fix zonesdir chroot error message. 1464 146528 January 2015: Wouter 1466 - correct some hyphen-used-as-minus-sign (from Andreas Schulze) in 1467 man pages. 1468 146927 January 2015: Wouter 1470 - Tag 4.1.1rc1 1471 147221 January 2015: Wouter 1473 - Synthesize CNAMEs with same TTL as DNAME. 1474 147512 January 2015: Wouter 1476 - Fix casts for ctype functions (from Todd Miller). 1477 - nsd-checkconf -f prints out full name of pidfile (with dir). 1478 14799 January 2015: Wouter 1480 - Fix bug#637: fix that nsd.db grows limitlessly, an off by one 1481 on one megabyte free chunks, created during AXFRs of large zones, 1482 that caused the one megabyte chunk to be leaked. 1483 - Fix udb-inspect for one megabyte chunks, counts and statistics. 1484 14856 January 2015: Wouter 1486 - Fix spinning NSD with lots of failing transfers, due to pointer 1487 comparison using void pointer subtraction (from Otto Moerbeek). 1488 14895 January 2015: Wouter 1490 - Patch nsd_munin_ from Philip Paeps to use type ABSOLUTE. 1491 14924 Nov 2014: Wouter 1493 - Document zonestat config, and nsd-checkconf access. 1494 14953 Nov 2014: Wouter 1496 - Fix that failure to add tcp to tcp base does not leak the socket. 1497 149827 Oct 2014: Wouter 1499 - Disabled use of SSLv3 in nsd-control. 1500 - zonestats are cleared (or not, with stats_noreset). 1501 150222 Oct 2014: Wouter 1503 - Test for wildcard fix (from 3.2). 1504 150516 Oct 2014: Wouter 1506 - Fixes for wildcard addition and deletion, speedup for some cases. 1507 150815 Oct 2014: Wouter 1509 - Fix that queries for noname CH TXT are REFUSED instead of nodata. 1510 151114 Oct 2014: Wouter 1512 - per zone statistics with --enable-zone-stats, configure with 1513 zonestats: "zonestatidentifier", zones with the same id are added. 1514 151510 Oct 2014: Wouter 1516 - Fix #616: retry xfer for zones with no content after command. 1517 - Fix char used as array index warnings on NetBSD. 1518 15198 Oct 2014: Wouter 1520 - Fix "xfrd_handle_ipc: bad mode" log errors when compiled 1521 with --disable-bind8-stats. 1522 152318 Sep 2014: Wouter 1524 - Fix that expired zones stay expired after a server restart. 1525 152615 Sep 2014: Wouter 1527 - RFC 7344: CDS and CDNSKEY (read in). 1528 15294 Sep 2014: Wouter 1530 - Tag 4.1.0. 1531 - trunk is 4.1.1 in development. 1532 - fix manpage for nsd-checkzone to have version and date. 1533 153429 Aug 2014: Wouter 1535 - Fix install of the nsd-checkconf man page. 1536 153728 Aug 2014: Wouter 1538 - Tag 4.1.0rc1 1539 154025 Aug 2014: Wouter 1541 - Increased default --with-max-ips from 8 to 16, this increases the 1542 number of interfaces you can specify in nsd.conf to listen to. 1543 154419 Aug 2014: Wouter 1545 - Remove .LP after .SH in man pages. 1546 15477 Aug 2014: Wouter 1548 - Fix for process swap of main and reload, reload failure from the 1549 pipe is acted on, and reload fail not cause nsd to shutdown, also 1550 ignore sigchlds from the servermain in reload, that would cause 1551 EINTR to break file reads. 1552 - trunk has version 4.1. 1553 15545 Aug 2014: Wouter 1555 - Fix #600: document that provide-xfr provides AXFR and not IXFR. 1556 - remove program group fix, because it is not needed. 1557 - Fix rising-load-average or memory-leaks in OSes (Linux since 2.6), 1558 that keep track of all past process parents, or leak memory 1559 for them. Fix makes it so there is no very deep string of 1560 process parents. 1561 The reload process is now the process parent of servermain. That 1562 makes signals for children arrive at the reload, and servermain 1563 has to use closed pipes to detect that children have exited. 1564 15651 Aug 2014: Wouter 1566 - Set program group on main process and its child processes, and 1567 kill them on a reload. 1568 156920 July 2014: Wouter 1570 - Fix endian.h include for OpenBSD. 1571 157215 July 2014: Wouter 1573 - Fix -O3 compile flag to -O2 to avoid miscompilations. 1574 - Allow user to override the -g -O2 CFLAGS in ./configure. 1575 157611 July 2014: Wouter 1577 - fix strptime implicit declaration error on OpenBSD. 1578 15799 July 2014: Wouter 1580 - removed unnecessary arc4random_uniform. 1581 15828 July 2014: Matthijs 1583 - fake-rfc2553 patch (thanks Benjamin Baier). 1584 15858 July 2014: Wouter 1586 - wait and reap processes that are not part of the process group. 1587 15887 July 2014: Wouter 1589 - Code review fixup from NSD3. 1590 159130 Jun 2014: Wouter 1592 - Fix #590: rrl log does not print wildcard as a star but escaped. 1593 - Fix #591: rrl log messages at verbosity level 1. 1594 (If that does not work for everyone, we need rrl-log: yesno option). 1595 159627 Jun 2014: Wouter 1597 - Fixup rr-test test so that it does not fail on the #553 string. 1598 159917 Jun 2014: Matthijs 1600 - Fix #587: Default value for statistics is 0. 1601 - Remove the shift-reduce conflicts from the bug#553 fix. 1602 16035 Jun 2014: Wouter 1604 - Fix roundrobin cornercase for truncated packets. 1605 - round-robin: yesno in nsd.conf enabled round robin rotation. 1606 160728 May 2014: Wouter 1608 - Fix #585: yylex_destroy missing, cannot compile on RHEL 5.x. 1609 - Fix #583: Round-robin for records in the Answer section. 1610 161122 May 2014: Wouter 1612 - Fix zonefile parse with no whitespace before semicolon comments. 1613 161416 May 2014: Wouter 1615 - xfrd reaps children on a timer as well, similar to server_parent. 1616 16178 May 2014: Wouter 1618 - Fix #564: nsd-checkzone tool to check zonefile correctness. 1619 16207 May 2014: Wouter 1621 - Fix #577: makefile incorrectly installed manpages from srcdir. 1622 162330 April 2014: Wouter 1624 - Fix that xfrd reaps all children on every eventloop, because some 1625 exited reloads may attach here and need reaping, also if the signal 1626 is lost. 1627 162823 April 2014: Wouter 1629 - Fix progress printout for very large zones (numeric overflow). 1630 163110 April 2014: Wouter 1632 - Fix write_socket return value check in server.c (Thanks Brad Smith, 1633 Mark Kettenis). 1634 16358 April 2014: Wouter 1636 - nsd-control addzone reports if zone already exists. 1637 16387 April 2014: Wouter 1639 - Fix #571: unused variable and incompatible pointer warnings when 1640 compiled on a system without INET6. 1641 164227 March 2014: Wouter 1643 - Fix delete or rename of a lot of zones and make it take a 1644 non-enormous time. Database compaction is deferred. 1645 - Speed up deletion of zone contents a lot, (56s to 1s), speeds up 1646 delete, rename and AXFR for zones. Defer emptynonterminal checks. 1647 - Better example config in nsd.conf manual page. 1648 - log-time-ascii option, default yes, with readable timestamp in log. 1649 165025 March 2014: Wouter 1651 - nsd shuts down during init process if given signal. 1652 - shorter logging for zone transfer fail rcodes. 1653 165424 March 2014: Wouter 1655 - include: "foo/nsd.d/*.conf" works, wildcard glob on includes. 1656 - Fix print filename of encompassing config file on read failure. 1657 165821 March 2014: Wouter 1659 - Fix bug in nodatabase mode with ixfrs that change nsec3param 1660 (Thanks Anand Buddhdev). 1661 - Changed maxbackoff for no-content secondary zones from 4h to 24h. 1662 - nocontent zones are checked on startup, but continue backoff 1663 from stored xfrd.state values. 1664 166519 March 2014: Wouter 1666 - made database: "" set the 3600 default for zonefileswrite only 1667 if it is also at its default, so that user settings override. 1668 - Unit test for zonefiles-write. 1669 - Write xfrd.state for nodb mode again. Disable xfrd.state with 1670 xfrdfile: "" in config. Does not check slave zone if state is 1671 same as last time on startup. 1672 - Fixed shutdown message sporadically not printed on exit. 1673 - Documented zonefile %s syntax in nsd.conf man page. 1674 - Fix manpage to put colon after zonefiles check and write. 1675 - Change from 'Zone" to "zone" with ".. serial .. is updated" log 1676 message. 1677 167818 March 2014: Wouter 1679 - unit test for nodb mode. 1680 - Speed up zone write (.nl zonefile 30% faster). 1681 The memory alloc-dealloc in print_rr has been moved to print_rrs. 1682 - (from 3.2), fix for #553 and for other TXT string syntax. 1683 - in nodb mode, xfrd.state is not written out, because the zones 1684 are refreshed upon next startup anyway, so keeping timers and state 1685 is unnecessary. 1686 - zonefiles-write option in nsd.conf, enabled when database is "". 1687 The server writes changed zonefiles to disk every hour. 1688 168917 March 2014: Wouter 1690 - Speed up zone parsing (.nl reads 40% faster). 1691 The rrtype_from_string routine is called often, optimised it. 1692 169314 March 2014: Wouter 1694 - tag 4.0.3 1695 - trunk has 4.0.4 in development. 1696 - database: "" starts without mmap of database. Less memory is used, 1697 zones are read from text zonefile. 1698 169913 March 2014: Wouter 1700 - Fix nsd.db unclean close check. Previous databases are considered 1701 unclean by the code and are created anew. 1702 - Adds nsd.db larger than 400Tb check for sanity. Also test if 1703 filesize as documented in the file is correct. 1704 - nsd waits for tasks to complete on stop, prevents nsd.db corruption. 1705 - fix to not delete tmpdir too early in shutdown process. 1706 170712 March 2014: Wouter 1708 - tag 4.0.2 1709 - trunk has 4.0.3 in development. 1710 - disabled udb checking functionality that made it very slow, 1711 this was enabled when enable-checking was turned on. 1712 171327 February 2014: Wouter 1714 - tag 4.0.2rc1 1715 171626 February 2014: Wouter 1717 - Fix that NSD will delete and recreate not-clean-closed databases. 1718 171920 February 2014: Wouter 1720 - Fix from 3.2: make SOA RDATA comparisons in XFR more lenient (only 1721 check serial). 1722 172318 February 2014: Wouter 1724 - Fix leak of zone name after zonefile read. 1725 - Fix malloc too large that would be leaked in the radix tree. 1726 172714 February 2014: Wouter 1728 - configure change for easier compile on Minix. 1729 173010 February 2014: Wouter 1731 - Fix #552: zonefile loads on nsd-control reconfig when the name 1732 of the file has changed. 1733 17347 February 2014: Wouter 1735 - Fix #551: change Regent to Copyright holder in the LICENSE, 1736 to match the definition on opensource.org for the BSD License. 1737 17383 February 2014: Wouter 1739 - Disabled recvmmsg and sendmmsg usage by default because kernel 1740 versions have implementation issues: ipv6 ignored, security issues. 1741 - Detect libevent2 install automatically by configure, and use 1742 event2 header files if necessary. 1743 - Fixup link with lib/event2 subdir. 1744 174530 January 2014: Wouter 1746 - Fix expired zones to give SERVFAIL, also when parent zone loaded. 1747 174827 January 2014: Wouter 1749 - tag 4.0.1. 1750 - trunk is 4.0.2 in development. 1751 - rcode REFUSED for queries to non-hosted zones. 1752 - documented nsd-control zonestatus output in nsd-control manpage. 1753 - remove mention of nsdc from nsd-checkconf manpage. 1754 175521 January 2014: Wouter 1756 - tag 4.0.1rc2 1757 175820 January 2014: Wouter 1759 - Fix #546: output format errors in nsd_munin_ (Thanks Tom Hendrikx). 1760 176117 January 2014: Wouter 1762 - Fix type CAA. 1763 - Fix type EUI48. 1764 - nsid can be set with "ascii_somestring" in ascii. 1765 - Fix printout of high-chars in TXT on NetBSD. 1766 176716 January 2014: Wouter 1768 - Unit test for WKS failure. 1769 177015 January 2014: Wouter 1771 - tag 4.0.1rc1 1772 177313 January 2014: Wouter 1774 - Check if configure in srcdir collides with outofdir build. 1775 177610 January 2014: Wouter 1777 - Fix that chroot is removed from zonefile names (for absolute names). 1778 17799 January 2014: Wouter 1780 - Fix that bad IXFR updates do not result in double SOA records, 1781 and that an AXFR is started (attempted) when the zone state seems 1782 to be inconsistent with the master's zone state. 1783 17848 January 2014: Matthijs 1785 - Bugfix #542: Match RRSIG TTL with SOA TTL in negative response. 1786 17877 January 2014: Wouter 1788 - Fix xfrd when zone transfer TCP contains zero length packets. 1789 - Fix for NSEC3 zones where parent zone is co-hosted, also NSEC3, 1790 because AXFRs overwrote nsec3 administration in the child zone. 1791 17922 January 2014: Wouter 1793 - Log ip address for sendto and sendmmsg failures. 1794 17954 December 2013: Matthijs 1796 - Support for CAA RRtype (RFC 6844). 1797 179826 November 2013: Wouter 1799 - Fix segfaults after read of zones with rr type WKS from zonefile. 1800 - Seed PRNG for openssl at start of daemon, fixes SSL connection issue. 1801 180225 November 2013: Wouter 1803 - (same as in 3.2.16): fix wildcard cname to nxdomain repeated rrset. 1804 180511 November 2013: Wouter 1806 - Fix bug#534: IXFR query loop over UDP for zones that are unchanged. 1807 180811 November 2013: Matthijs 1809 - EUI48 and EUI64 is now RFC 7043 1810 18115 November 2013: Wouter 1812 - Accept interface: as an alternative for ip-address: for 1813 consistency with unbound.conf syntax. 1814 181529 October 2013: Wouter 1816 - tag for 4.0.0 release. 1817 - trunk has 4.0.1 in development, for bug fixes. 1818 181924 October 2013: Wouter 1820 - Fixup zone change code. 1821 - tag 4.0.0rc3. 1822 182321 October 2013: Matthijs 1824 - Initialize xfrd zone when changing zone from master to slave 1825 and delete xfrd zone when changing zone from slave to master. 1826 182714 October 2013: Wouter 1828 - tag 4.0.0rc2. 1829 183014 October 2013: Matthijs 1831 - Additional log messages with reason why RR to be deleted cannot be 1832 found. 1833 183414 October 2013: Wouter 1835 - Fix for zone transfer that has different-cased RRSIG signer names 1836 or NSEC next-owner names. 1837 18389 October 2013: Wouter 1839 - tsig errors on incoming tsig print key name and source IP of query. 1840 18418 October 2013: Wouter 1842 - Update documentation for nsd -d option. 1843 18447 October 2013: Wouter 1845 - Fix mini_event ev_once flag to be prettier (review comments Yuri). 1846 - tag 4.0.0rc1 recreated. 1847 18484 October 2013: Wouter 1849 - Fix bug where if you do not have flex, and then install flex, it 1850 would not make without a re-untar of the source. 1851 18523 October 2013: Wouter 1853 - Review changes from Matthijs. 1854 - doc/README updated, 'nsdc' is now removed. 1855 18561 October 2013: Wouter 1857 - Review commits from Matthijs. 1858 - doc/UPGRADING updated, review Yuri. 1859 186030 September 2013: Wouter 1861 - tag 4.0.0rc1 1862 - updated doc/RELNOTES 1863 186419 September 2013: Wouter 1865 - configure --disable-recvmmsg for compat with older Linux kernels, 1866 by default it autodetects support in the kernel on the buildmachine. 1867 186820 Aug 2013: Wouter 1869 - Fix time at 2038, uint32s changed to time_t, support 64bit time_t. 1870 187119 Aug 2013: Wouter 1872 - Fix use of 32bit time, for 2038, thanks to Theo de Raadt for patch. 1873 187413 Aug 2013: Wouter 1875 - Bugfix#518 Incorrect RRL prefix length option names in nsd.conf 1876 man page from Ville Mattila. 1877 18789 Aug 2013: Wouter 1879 - Fix that xfrd, and nsd-control, does not stop responding when reload 1880 errors out. The pid is sent like it should by server_main. 1881 - Fix that EOF in quoted string error does not cause reload to exit. 1882 - Fixup errors from the stack code checker. 1883 18846 Aug 2013: Wouter 1885 - Removed use of random when arc4random is available. Thus, random 1886 and srandom are then not linked with the executable. 1887 188816 Jul 2013: Wouter 1889 - Fix segfault with no logfile and chroot (Thanks Patrik Lundin). 1890 189115 Jul 2013: Wouter 1892 - beta 5 tag. 1893 - trunk has beta6 named in configure. 1894 18959 Jul 2013: Wouter 1896 - unlink xfr file if transfer is stopped, timeouted or interrupted. 1897 And unlink xfr file in progress when the zone is deleted. 1898 18998 Jul 2013: Wouter 1900 - Increase tcpbacklog default to 256 (silently capped to 128 on BSD). 1901 For remote control keep it at 16, it has less TCP load. 1902 It does not actually increase TCP performance (some except), but 1903 reduces connection loss when there is a spike in TCP connections. 1904 19055 Jul 2013: Wouter 1906 - nsd-mem stores temp files in current dir because /tmp is too small. 1907 - printout pct parsed, read, nsec3 and written every 100.000 elements 1908 and after 5 seconds. For big zones. 1909 19103 Jul 2013: Wouter 1911 - region-allocator has list of large allocations, so delete is in O(1). 1912 - recursive readroutine for speedup of nsd.db reads (30%). 1913 - udb-inspect prints type summary of nodes in nsd.db. 1914 191528 Jun 2013: Matthijs 1916 - Update tmp serial in xfr checking. 1917 191828 Jun 2013: Wouter 1919 - nsd.db 12% smaller, no nsec3 hash storage. Also ups udb version 1920 because of the format change. printout udb write complete for 1921 debug. 1922 - Fix warning in labellength 0 code. 1923 192427 Jun 2013: Matthijs 1925 - Better XFR checking, fallback to AXFR (if allowed) if three 1926 malformed XFR packets have been seen. 1927 - zonec: Don't crash on domain names with label length 0. 1928 192925 Jun 2013: Matthijs 1930 - Rename --enable-eui-rrtypes to --enable-draft-rrtypes. 1931 193225 Jun 2013: Wouter 1933 - acx_nlnetlabs.m4 update, --disable-flto. 1934 193520 Jun 2013: Matthijs 1936 - Use IPV6 minimum MTU settings with TCP to reduce failures that 1937 are caused by delays in learning working PMTU when communicating 1938 through a tunnel. 1939 - Improved RRL logging: also print triggering query src addr and qtype 1940 (thanks Klaus Darilion). 1941 - Merge some minor stuff from NSD3.2 1942 194318 Jun 2013: Matthijs 1944 - Add rrl-slip config option (thanks Stephane Bortzmeyer). 1945 - Add rrl-ipv{4,6}-prefix-length config option. 1946 - Bug #496: Support for EUI48 and EUI64 RR types. 1947 194814 Jun 2013: Wouter 1949 - Optimizations: -O3 if possible (user can override CFLAGS), udp 1950 buffers are set to 1m by default (if socket options exist), 1951 use recvmmsg and sendmmsg, or only recvmmsg, or recvfrom. 1952 195311 Jun 2013: Wouter 1954 - Fix memory leak in zone parser for txt record (since the large 1955 number of txt subsections fix). 1956 - Fix zone parser allocations to be in db region. 1957 - nsd-mem prints advice 1958 19595 Jun 2013: Wouter 1960 - Fix segfault on repeated reconfigs, double free of zone apex name. 1961 19624 Jun 2013: Wouter 1963 - Remove duplicate zlfile variable from options structure. 1964 196530 May 2013: Wouter 1966 - Fix nsd-mem for printout of values above 4G. 1967 196816 May 2013: Wouter 1969 - Patch from Lukas Wunner that makes chroot more consistent. 1970 Make all paths absolute with the chrootdir in front, or use 1971 an absolute zonesdir with other patsh relative to that. 1972 19733 May 2013: Wouter 1974 - Fix race on exit of nsd, for restarts, so that the pidfile-pid 1975 process waits until port53 has been closed before exiting. 1976 - update acx_nlnetlabs.m4 to v23, sleep w32 fix. 1977 197829 April 2013: Wouter 1979 - Remove unused pointer and fixup chroot include for trail slash. 1980 198126 April 2013: Wouter 1982 - Patch from Lukas Wunner that makes nsd.conf include files work 1983 inside chroot/etc environments on repattern and reconfig. 1984 198525 April 2013: Matthijs 1986 - New config option "ip-transparent:", to bind to non local addresses 1987 (thanks Arjen Zonneveld). 1988 - RRtypes ASFDB, RP, RT should not compress dnames (thanks Peter 1989 van Dijk). 1990 199119 April 2013: Wouter 1992 - own snprintf, fix use of snprintf return value (in debug print). 1993 199418 April 2013: Wouter 1995 - fix bug #491: pick program name (0th argument) as syslog identity. 1996 19979 April 2013: Wouter 1998 - Bug #494: Exit with return code 1 if socket code fails. (from 3.2) 1999 - Fix B64_NTOP replacement definitions in configure.ac. 2000 200126 March 2013: Wouter 2002 - update lookup3.c with better endianness detection. 2003 200425 March 2013: Wouter 2005 - faster nsec3 updates. 2006 - Fixup contrib/bug390.patch for 4.0.0b4. 2007 - remove leak of nsec3. 2008 - allocate radixtree in region for small (5%) total savings and 2009 about 15% savings in the radixtree itself (due to many small alloc 2010 savings in region). 2011 201222 March 2013: Wouter 2013 - use less memory for non-nsec3, nsec3tree. 2014 201518 March 2013: Wouter 2016 - update nsd-mem with pretty printout and RRL count. 2017 201814 March 2013: Wouter 2019 - Fix memory statistics in nsd_munin_. 2020 20218 March 2013: Wouter 2022 - nsd-mem tool initial commit. 2023 20247 March 2013: Wouter 2025 - notify information is logged at correct verbosity level, 1. 2026 20275 March 2013: Matthijs 2028 - Add hash to rrl bucket 2029 20305 March 2013: Wouter 2031 - Fixup the growth and shrinkage of nsd.db. This should use less 2032 calls to remap and change the file and mmap size. 2033 203415 February 2013: Wouter 2035 - Fix compile on bigendian netbsd alpha. 2036 - Fixup tests for older dig (check if +noedns option is supported) 2037 203811 February 2013: Matthijs 2039 - Fix outgoing-interface: Don't fail if family is IPv6 but 2040 only IPv4 outgoing-interface is set, or vice versa. 2041 204211 February 2013: Wouter 2043 - fix tcp zonetransfer pipeline lookup function. 2044 - remove compiler warning for memset from tsig read. 2045 20467 February 2013: Wouter 2047 - detect endianness in lookup3 on BSD, patch from Brad Smith. 2048 - nsd-control verbosity prints out verbosity level without argument. 2049 - nsd-control status prints out ratelimit if ratelimit is enabled. 2050 20515 February 2013: Wouter 2052 - Fix that old zonefile does not override newer AXFR for slave zones. 2053 - Nicer printout of notify. 2054 - beta4 2055 20564 February 2013: Wouter 2057 - Fix AXFR of NSEC3 slave zone. 2058 20591 February 2013: Wouter 2060 - Less printout of 'bad transfer'. 2061 206231 January 2013: Wouter 2063 - Fix that nsec3 zones are precompiled when read from udb. This 2064 caused assertion failures. 2065 - Fix is_apex flag for zones read from udb. 2066 206729 January 2013: Matthijs 2068 - RRL documented in nsd.conf.sample 2069 207029 January 2013: Wouter 2071 - printout log less verbosely, not every axfr packet. 2072 - remove printout of "bad transfer" to the log for notimpl. 2073 - fixup tests for new netstat and new netcat. 2074 207525 January 2013: Wouter 2076 - fix gcc warning, do not use uninit value for rng init. 2077 - fix zonefiles-check: entry in nsd.conf 2078 - remove -fwhole-program gcc flag usage. We cannot reliably detect 2079 if it works without failure. 2080 208123 January 2013: Wouter 2082 - beta3 2083 208422 January 2013: Wouter 2085 - Fix time calculation of zone transfer. 2086 - log ip address with tcp failure. 2087 208821 January 2013: Wouter 2089 - Improve tabs in sample nsd.conf for different tabsizes. 2090 - Fix segv if xfrdir does not exit. 2091 - create xfrdir on make install (does not remove on make uninstall, 2092 because this could be /tmp). 2093 - do not leave task files in /tmp if nsd fails to startup because 2094 of file permissions. 2095 - do-ip4 and do-ip6 nsd.conf options just like unbound. 2096 - fixed testset for dig9 default with edns. 2097 209818 January 2013: Wouter 2099 - Fix configure for gentoo gcc and headers. 2100 - List libevent in README. 2101 - Tabs and spaces nicer in nsd.conf.sample. 2102 - Fix spurious assertion failure for some rrl blocks. 2103 210416 January 2013: Wouter 2105 - Added zonefiles-check option, default yes, check mtimes of zone files 2106 on sighup and startup (from Robin Hack). 2107 210815 January 2013: Wouter 2109 - documented that the _implicit_ pattern names are used internally. 2110 211110 January 2013: Wouter 2112 - updated RELNOTES. 2113 - applied patch from Robin Hack to remove double pid file truncation. 2114 - repattern is called reconfig (because most config options are 2115 picked up, except for superuser options (chroot, logfile, port)). 2116 - document that the zonefile attribute can be empty. 2117 21189 January 2013: Wouter 2119 - 4.0.0b2 is beta2 version tag. 2120 21218 January 2013: Matthijs 2122 - Merge changes from 3.2.15 with trunk: 2123 * Update docs: CREDITS, NEW-CFG-OPTION, REQUIREMENTS, 2124 RELNOTES, TODO 2125 * Update dname_test.tpkg test. 2126 * TSIG init only fails if no digests at all can be found. 2127 * Remove unused tsig_get_algorithm_by_id code (was used by 2128 nsd-xfer). 2129 * Fix some fd leaks. 2130 * Bug #485: Fallback to DEFAULT_TTL if MSB is set. 2131 * Fix RCODE when xNAME loop final answer not exist to NXDOMAIN. 2132 21338 January 2013: Wouter 2134 - Fix make outside of source directory. 2135 21367 January 2013: Wouter 2137 - fixed uninit variable for empty zone axfr request 2138 - fixed alloc of acl options for config zones so they can be deleted. 2139 - fixed that pattern name is copied, so that patterns stay the same. 2140 - repattern also rereads the zones in the config file and applies that 2141 to the running server. 2142 214321 December 2012: Wouter 2144 - --with-logfile sets the logfile inside the example documentation. 2145 - Fixed addzone and delzone inside chroot (thanks Will Pressly). 2146 214719 December 2012: Wouter 2148 - Fixup for libevent-2.1.2. 2149 215018 December 2012: Wouter 2151 - makedist makes sha256 for tarballs. 2152 - nsd-control start runs an absolute path to start sbin/nsd. 2153 215417 December 2012: Wouter 2155 - Fix for use with libev (no use of event.ev_flags). 2156 215712 December 2012: Wouter 2158 - 4.0.0b1 is beta1 version. 2159 216011 December 2012: Matthijs 2161 - Better ILNP RR parsing (thanks Stephane Bortzmeyer). 2162 216311 December 2012: Wouter 2164 - fix libevent=no signals on Solaris. 2165 - Fix handle of activated zones from timeout event. 2166 - contrib/nsd_munin_ updated with memory lookup for BSD. 2167 216810 December 2012: Wouter 2169 - implement --with-libevent=no. 2170 217110 December 2012: Matthijs 2172 - Bug #483: Better error messages for TSIG errors. 2173 - RFC 2845: If BADKEY or BADSIG, RCODE should be NOTAUTH. 2174 Also, continue TSIG verification if NOTAUTH. 2175 21767 December 2012: Wouter 2177 - stable pidfile, xfrd is process leader and forks server-parent. 2178 21795 December 2012: Wouter 2180 - NSD4_imp_6 tag. 2181 - trunk has imp_7 implementation. 2182 21834 December 2012: Wouter 2184 - NSD-RRL documented in manpage. 2185 21863 December 2012: Wouter 2187 - Fixup exit of server-child while notifies are incoming. 2188 218928 November 2012: Wouter 2190 - RRL implements classification type RRSIG. 2191 219226 November 2012: Wouter 2193 - Fix to make nsd.udb portable between 32bit and 64bit machines. 2194 - Fix to make udb mmap work for FreeBSD8 when it grows significantly. 2195 219623 November 2012: Wouter 2197 - Fix compiler warnings and fix blocking pipes. 2198 - default tcp-count set to 100. 2199 220021 November 2012: Wouter 2201 - Implement rrl log of unblock for collision. 2202 - imported TLSA and ILNP support from NSD3. 2203 220419 November 2012: Wouter 2205 - Fix bug 480: libevent use when tcp-count is hit caused hang (in NSD4). 2206 22079 November 2012: Wouter 2208 - Log when NSD-RRL stops a stream from being blocked. 2209 22108 November 2012: Willem 2211 - Fix AXFR. Loop through the zone to transfer only. 2212 22132 November 2012: Wouter 2214 - Fix bug 478: declaration after statement (for gcc 2.95). 2215 22161 November 2012: Wouter 2217 - Fix default settings for RRL. 2218 221930 October 2012: Wouter 2220 - review fixup of RRL SLIP response. 2221 - RRL uses dev/random at start, nonRRL does not. 2222 222326 October 2012: Wouter 2224 - nsd-control repattern also changes rrl-ratelimit and whitelist limit. 2225 222617 October 2012: Wouter 2227 - Fix alignment problem in zone transfer pipeline code. 2228 - Fix random generator generating negative. 2229 - Fix udb radtree strspace creation bug. 2230 223115 October 2012: Wouter 2232 - Fix activated zone does not interrupt transfer. 2233 - Log of connection failure for zone transfer is neater. 2234 223512 October 2012: Wouter 2236 - Fix invalid time argument in nsd control (for OpenBSD). 2237 223811 October 2012: Wouter 2239 - Fix build on OpenBSD (Thanks Oliver Peter). 2240 - tpkg for RRL. 2241 224210 October 2012: Wouter 2243 - implement nsd-checkconf option use of rrl-whitelist. 2244 22459 October 2012: Wouter 2246 - with --enable-ratelimit you enable ratelimiting, with verbosity 2 2247 it logs what is ratelimited for operational inspection. 2248 - unit test for rrl. 2249 - rrl uses mmap to save state across reloads. 2250 - rrl enum and u16 flags (dnskey type). 2251 - rrl whitelist and config. 2252 22538 October 2012: Wouter 2254 - Sync with unbound lookup3, has raninit value. 2255 22565 October 2012: Wouter 2257 - fix bug with event loop in zone transfer pipeline. 2258 - close xfrd_sock_p in server_child because otherwise due to use of 2259 kqueue, it gets a broken pipe when that process exits (on FreeBSD). 2260 22614 October 2012: Wouter 2262 - Fixup no use of internals ev_flags of libevent. 2263 22641 October 2012: Wouter 2265 - fix xfrd tcp skip. 2266 226721 September 2012: Wouter 2268 - tzset before chroot for correct timezone (from Camiel Dobbelaar). 2269 - pipeline support for AXFR and IXFR tcp queries. 2270 227111 September 2012: Wouter 2272 - writev support for TCP. 2273 227428 August 2012: Wouter 2275 - TXT records with components longer than 255 fail to parse, 2276 but without segfault, it continues processing with non NULL value. 2277 227827 August 2012: Wouter 2279 - libevent in server_child. 2280 228121 August 2012: Matthijs 2282 - Fix bug#464: Conditionally define MAXHOSTNAMELEN 2283 228420 August 2012: Wouter 2285 - Fix hang on exit in xfrd. 2286 - optimized socket counts for zone transfer speed. 2287 228813 August 2012: Wouter 2289 - Fix xfrd libevent events. 2290 229110 August 2012: Wouter 2292 - libevent in xfrd. 2293 229426 July 2012: Yuri 2295 - Prioritize notify sender for requesting XFR. 2296 (thanks Ilya Bakulin) 2297 229819 July 2012: Willem 2299 - Fix for VU#624931 CVE-2012-2978: NSD denial of service 2300 vulnerability from non-standard DNS packet from any host 2301 on the internet. 2302 http://www.nlnetlabs.nl/downloads/CVE-2012-2978.txt 2303 230418 July 2012: Wouter 2305 - Fix bug#460: man page correction - identity. 2306 23079 July 2012: Wouter 2308 - delete temporary transfer files on exit of xfrd and reload. 2309 - when tasks are applied, reload checks if it must exit between 2310 tasks, so that it can quickly exit when NSD is told to quit. 2311 - fix bug in apply_xfr that must use an udb_ptr because it shifts 2312 when new allocations are made. 2313 23146 July 2012: Wouter 2315 - add xfrdir: "/tmp" option and configure --with-xfrdir="/tmp". 2316 The nsd.task files and a subdirectory for zone transfers are 2317 created there. 2318 23192 July 2012: Wouter 2320 - fix checkconf unit test and add test for backwards compatibility 2321 for difffile: "x" statement. 2322 232329 June 2012: Wouter 2324 - Implemented /tmp/nsd.xfr.xxx/ to replace ixfr.db. So that nsdc 2325 patch is no longer needed. 2326 23278 June 2012: Wouter 2328 - Fix tpkg test cutest_qroot and rr-test for printout of algorithms 2329 as numbers, and copy of DO flag to the answer. 2330 - pick up fd fix from 3_2 branch: Some more fd >= 0 to fd != -1 fixes 2331 233231 May 2012: Matthijs 2333 - Sync with 3.2 branch 2334 233524 February 2012: Wouter 2336 - Fix for qtype ANY for a wildcard domain in NSEC signed zone. 2337 23389 February 2012: Wouter 2339 - Update acxnlnetlabs.m4 version 21, fixed MEMCMP_BROKEN #undef line. 2340 234123 January 2012: Wouter 2342 - remove clang security warning about %n in format string. 2343 234420 January 2012: Wouter 2345 - Fix bug #430: segfault when MAX_INTERFACES set to more than 65K. 2346 - Fix configure for OpenIndiana sunos 5.11, acx_nlnetlabs.m4 update. 2347 234812 January 2012: Matthijs 2349 - Fix bug #421: truncate pidfile on shutdown, before unlink. 2350 235110 January 2012: Wouter 2352 - removed unused variables. 2353 235410 November 2011: Wouter 2355 - acxnlnetlabs.m4 updated to version 16, better lto check (a.out drop). 2356 23573 November 2011: Wouter 2358 - fflush zonelistfile after zone add or delete. 2359 23601 November 2011: Wouter 2361 - Fix -flto detection for llvm compiler on Lion. 2362 236310 October 2011: Matthijs 2364 - Don't clear the AA bit if there is an authoritative CNAME in the 2365 answer section (as shown in RFC 1034, Section 6.2.7, 2nd example). 2366 236710 October 2011: Wouter 2368 - squelch EPIPE when writing AXFR, enable with verbosity 2. 2369 237026 September 2011: (Matthijs, from NSD3_2 branch) 2371 - Copy the DO bit to the response. 2372 - Don't return SERVFAIL on a domain that looks like a NSEC3 2373 domain but is actually a empty non-terminal. 2374 237519 August 2011: Wouter 2376 - Fix segfault if no logfile is used. 2377 23785 August 2011: Wouter 2379 - Fix make from repeating action already taken. 2380 - Fix compile without openssl. 2381 23823 August 2011: Wouter 2383 - silence 'Broken pipe' messages in log (visible with verbosity 2). 2384 - fix makedist.sh for removal of patch, notify, xfer. new nsd-control. 2385 - tag 4.0.0-imp-5 created. 2386 - trunk is 4.0.0-imp-6 under development. 2387 - added nsd_munin_ script for statistics monitoring to contrib. 2388 23892 August 2011: Wouter 2390 - fix compile on Ubuntu 11.04 systems, detects cc system header issue. 2391 23921 August 2011: Wouter 2393 - fix checkconf test for remote control options. 2394 - fix warning on Ubuntu 10.04, fix autoconf 2.68 warning on NetBSD. 2395 239629 July 2011: Wouter 2397 - zones with no zonefile are not written to text (assumes you can 2398 get AXFR and IXFR for the contents). They are stored in nsd.db. 2399 - test for repattern. 2400 240128 July 2011: Wouter 2402 - nsd-control repattern reads TSIG and pattern configuration. 2403 240425 July 2011: Wouter 2405 - fixed tests for removed tools from nsd, with replacements. 2406 replaced nsd-patch with nsd-control write. replaced nsd-notify with 2407 ldns-notify. replaced nsd-xfer with dig -t axfr. 2408 - fix for xfrd restart if crashed. xfrd knows if a reload is 2409 active at that time so it cannot start another one at the same 2410 time. New shortsoa track for start that does not use taskdb 2411 in use by reload. taskdb in use by crashed xfrd is recreated, 2412 in case it is corrupt. This keeps the nsd.db intact, keeps 2413 reload running with its updated and keeps service from the 2414 server processes active. 2415 241622 July 2011: Wouter 2417 - added contrib/nsd.init (nsdc.sh that only does start,stop). 2418 - removed nsdc.sh, nsd-xfer, nsd-notify, nsd-patch. 2419 for rc.d: contrib/nsd.init, or platform specific init script. 2420 nsd-xfer: see nsd-control transfer, or force_transfer. 2421 nsd-notify: see nsd-control notify. 2422 nsd-patch: see (cron job to) nsd-control write. 2423 242421 July 2011: Wouter 2425 - nsd-control notify, transfer and force_transfer. 2426 - fix for bug in write and reload zone option. 2427 - nsd-control zonestatus command. 2428 242920 July 2011: Wouter 2430 - reload can be given optional zone argument. 2431 - nsd-control reopen_logfile. 2432 - nsd-control write changed zonefiles. 2433 243418 July 2011: Wouter 2435 - Fix xfrd activation of zones to not break running zone transfers. 2436 243713 July 2011: Wouter 2438 - fix that signal causes stats to be printed to log. 2439 - fix stats without remotecontrol. 2440 - ignore notify and soainfo for deleted zone, if due to race they 2441 arrive after the deletion. 2442 - tpkg test for nsd-control, addzone and delzone 2443 24445 July 2011: Wouter 2445 - fix link to ssl with FreeBSD make. 2446 24471 July 2011: Wouter 2448 - fix optimize compile to link with ssl. 2449 245029 June 2011: Wouter 2451 - nsd-control delzone zone. Removes zone from zonelist. 2452 - stats includes number of zones. 2453 - RAXFR stat, which has not worked since NSD 1.2.4, reinstated. 2454 - print more memory statistics, for xfrd and config. 2455 245628 June 2011: Wouter 2457 - nsd-control addzone zone pattern. Adds new zone, slave or master. 2458 245927 June 2011: Wouter 2460 - nsd-control stats and stats_noreset (if enabled at compile time). 2461 nsd does not print statistics to logfile if period is 0. 2462 246323 June 2011: Wouter 2464 - -flto check supports clang compiler. 2465 246622 June 2011: Wouter 2467 - remote control, config, client, setup and status command. 2468 - reload nsd-control command. 2469 - stop nsd-control command. 2470 - verbosity nsd-control command. 2471 247214 June 2011: Wouter 2473 - Fix to have no authority NS set processing for CNAMEs. 2474 24759 June 2011: Wouter 2476 - fix bug that relptrs have to be initialized with rel_ptr_init() when 2477 created and zeroed with rptr_zero before deletion. 2478 - tag 4.0.0-imp4 created 2479 - trunk is 4.0.0-imp5 under development. 2480 24818 June 2011: Wouter 2482 - nsd reads the zonelist file on start. 2483 - updated acx_nlnetlabs.m4 to version 11. 2484 - configure checks size of off_t and increase region-allocator 2485 alignment to 8 if it is 64bit and alignment at 4. 2486 - fixed bug where not all references were removed before mmap was 2487 synced to another process. 2488 24897 June 2011: Wouter 2490 - code to add and remove zonelist entries, and unit test. 2491 24926 June 2011: Wouter 2493 - fix unit tests for mmap with TODO and removal of -f in nsd-patch. 2494 - zone expiry is communicated via the mmap, and not via the pipes, 2495 simplifying the code significantly as well as making a large number 2496 of zones more feasible. 2497 24981 June 2011: Wouter 2499 - mmap used for parent-xfrd communication of tasks and task results. 2500 SIGHUP is sent to xfrd so it can become a task in the normal 2501 workflow. This can process about 4500 zones per second (this was 2502 with lots of debug prints per zone, in debug compile). The mmaps 2503 are file-backed with /tmp/ files. They are removed on a clean exit. 2504 - nsd.db and tmp mmaps are created with mode 0600 for safety. 2505 - updated flag removed, nsd-patch always in -f force mode (-f removed) 2506 and writes all zones always. Its role is taken over by task results. 2507 250830 May 2011: Wouter 2509 - Fix Makefile for U in environment, since wrong U is more common than 2510 deansification necessity. 2511 251227 May 2011: Wouter 2513 - xfrd is forked before the database is read in, thus it does not 2514 consume the memory of the database. It can be reforked on a crash, 2515 which is like the current case. Difffile is cleaned by main process 2516 and the soa serials are all sent via pipe instead of via forkmem. 2517 251824 May 2011: Wouter 2519 - implemented patterns in the nsd.conf file. 2520 they can be instantiated with include-pattern: x. 2521 existing zone definitions keep working (backwards compatible), such 2522 zones really have an implicit pattern and cannot_delete flag set. 2523 - work on zonelist read and storage. 2524 252520 May 2011: Wouter 2526 - from NSD_3_2 branch the fix: bug if the zonefile is changed for a 2527 secondary but stored transfers are applied, and stop ixfr to empty. 2528 The zone is flagged with error, and the good zone is still in nsd.db 2529 for NSD4. 2530 253117 May 2011: Wouter 2532 - unit test for code coverage on nsec3 ixfr. 2533 - tag 4.0.0-imp3 created 2534 - trunk is 4.0.0-imp4 under development. 2535 253613 May 2011: Matthijs 2537 - Fix bug #381 - Binary escaped and transfers. 2538 253913 May 2011: Wouter 2540 - Unit test nsec3 salt change and fix for sanity check of nsec3 chain. 2541 pretty prints the nsec3 parameters if verbose. 2542 254312 May 2011: Wouter 2544 - more unit test for nsec3 precompile changes. 2545 - unit test for salt change, rehash in udb fix, remove last NSEC3 2546 from chain works, NSEC3PARAM RR fixed up if RR added or removed 2547 from NSEC3PARAM RRset, hashtrees cleared properly, precompile clear 2548 more thorough (not dependant on nsec3_conditions). 2549 255011 May 2011: Wouter 2551 - fixes for nsec3 precompile code: precompile for empty nonterminals 2552 created when an RR is added. If SOA removed, precompile stays 2553 coherent even though domain_find_zone no longer returns correct zone. 2554 255521 April 2011: Wouter 2556 - unit test and fixes in nsec3 precompile code. 2557 255820 April 2011: Wouter 2559 - incremental NSEC3 precompile. 2560 256114 April 2011: Wouter 2562 - remove chnum. Added numlist sorted by domain.number. 2563 domains that are not used are removed. 2564 256513 April 2011: Wouter 2566 - Fix is_existing flag for ENT when domain that has a shared ENT 2567 is deleted by IXFR. 2568 - zonec can parse strings with RR in it. 2569 - unit test for namedb. 2570 25718 April 2011: Wouter 2572 - porting complete. 2573 - tag 4.0.0-imp2 created 2574 - trunk is version 4.0.0-imp3. 2575 25767 April 2011: Wouter 2577 - ported to sunos 4.1.4, the unit test works (udb, radtree in mmap). 2578 25796 April 2011: Wouter 2580 - UDB_CHECK is enabled if --enable-checking is used. 2581 Because it checks the pointer-administration lists it slows down. 2582 - udb-inspect has feature -l that lists zones (and RRs) in nsd.db. 2583 - fix memory leak by zonec; the region_cleanup triggers too late. 2584 - set listen TCP_BACKLOG to 16 by default, it avoids connect reset 2585 by peer in 1000-zones transfer on an ultra10, thus for many-zones. 2586 - default xfrd-reload-timeout to 1 second. 2587 25885 April 2011: Wouter 2589 - Fix uninitialised value in xfrd nsd_soa, the rdata_count. 2590 - Unit test for update of the nsd.db with new contents. 2591 - Fix array bounds check in radtree-search function. 2592 25934 April 2011: Wouter 2594 - removed zonec from tests. fix unknown_rr test, enable ipseckey test. 2595 increased timeouts on tests that are hard on the filesystem. 2596 - Fixed IPSECKEY printout by nsd-patch. 2597 259830 March 2011: Wouter 2599 - nsd edits nsd.db for IXFR and AXFR messages. since xfrd already 2600 checks zone transfers completely for syntax those errors cannot 2601 happen, if they do (memory, disk error) the file is left dirty, 2602 to be recreated on the next start (and the process dies). 2603 260429 March 2011: Wouter 2605 - nsd recreates nsd.db if it has not been closed properly or is 2606 corrupted (bad header or wrong file format). 2607 260828 March 2011: Wouter 2609 - NSD without zonec. NSD loads zonefiles on start. 2610 NSD stores NSEC3hashes on disk. 2611 261225 March 2011: Wouter 2613 - Fix bug #365, you can set NSDC_ZONEC_VERBOSE and NSDC_PATCH_STYLE 2614 in the environment where nsdc runs. 2615 - Fix bug #375, typos in nsd.conf.5. 2616 - First step of bug #369: RRSIG DNSKEY sets zone to be treated DNSSEC. 2617 - Fix bug #302, nsd accepts XFR but refuses to re-read the slave zone. 2618 - NSD4 work: removed zonec, nsdc patch does not write text files 2619 for slave zones (as if option is always to binary, this capability 2620 returns later), nsdc patch deletes the ixfr.db. 2621 kill-HUP rereads zone files that have changed. 2622 262324 March 2011: Wouter 2624 - compile fixes for BSD. preserve RRset order. 2625 262623 March 2011: Wouter 2627 - udbzone, store and read zone data in the random-access udb format. 2628 262921 March 2011: Wouter 2630 - udbradtree works. udb-inspect tool can print radtree details. 2631 263216 March 2011: Matthijs 2633 - undo fix bug#325: messes up dname compression 2634 263514 March 2011: Wouter 2636 - udb code added. uses lookup3 from unbound (public domain). 2637 - unit test for radix tree in cutest. 2638 - unit test for udb in cutest. 2639 - udb-inspect tool to printout internals of udb files. 2640 for debug, not installed or built by default. 2641 - removed --disable-radixtree option. 2642 264311 March 2011: Wouter 2644 - Removed precompile features, speed gain took too much memory. 2645 - domain number to size_t. 2646 26479 March 2011: Wouter 2648 - DNAME synthesis of CNAME. Uses TTL of the DNAME record. 2649 - nsec3 and wildcard code. No additional section for wildcards. 2650 Also CNAME and DNAME replies contain only that record (and synth 2651 CNAME), the chain is not followed. 2652 26538 March 2011: Wouter 2654 - precompile work: 2655 class ANY gets AA flag, SOA and type-NS processing, just 2656 like BIND (9.6) and it simplifies processing for NSD. 2657 other than compression difference (precompile compresses smaller), 2658 there are no differences in a 49000 query testset against the root, 2659 without EDNS. 2660 26617 March 2011: Wouter 2662 - check chown value and report high verbosity its error. 2663 26643 March 2011: Matthijs 2665 - fix #bug352: fix hardcoded paths in manpages. 2666 26672 March 2011: Matthijs 2668 - fix #bug354: make realclean cleans too much 2669 - added make devclean for cleaning up autoconf and automake stuff 2670 - Fix hardcoded paths in nsd.conf.sample and nsd.conf.5 2671 267224 February 2011: Matthijs 2673 - fix #bug350: refused notifies should log client ip. 2674 26752 March 2011: Wouter 2676 - Fix AXFR service with radix tree. 2677 - cutest for speed of answer encoding, and format of answers for root. 2678 26791 March 2011: Wouter 2680 - after merge, remove double -I. from makefile. 2681 - radixtree is default. Nicer makefile and no warnings from unused 2682 flex functions. 2683 26841 March 2011: Wouter 2685 - merge with trunk r3181: 2686 24 February 2011: Matthijs 2687 - fix #bug350: refused notifies should log client ip. 2688 24 February 2011: Wouter 2689 - fix bug#362: outgoing-interface and v4 vs. v6 leads to spurious 2690 warning messages. 2691 - fix bug#363: nsd-checkconf -v does not print outgoing-interface ok. 2692 - fix that nsd-checkconf -o outgoing-interface omits NOKEY. 2693 23 February 2011: Wouter 2694 - fix for bug#357, make xfrd quit with many zones. 2695 269623 February 2011: Wouter 2697 - Merge trunk r3151. 2698 22 February 2011: Matthijs 2699 - Patch Jakob Schlyter (setusercontext before chroot). 2700 18 February 2011: Wouter 2701 - overhaul of testset, with port uniqueness and fast start and stop. 2702 11 February 2011: Wouter 2703 - added test case to do with bug357. 2704 24 January 2011: Matthijs 2705 - Patch Tom Hendrikx (only errors to stderr when doing nsdc patch). 2706 270717 February 2011: Wouter 2708 - Fix leak of compressiontable when the domain table increases in size. 2709 - added test case to do with bug357. 2710 271110 February 2011: Wouter 2712 - Merged with trunk r3115 changes: 2713 20 January 2011: Wouter 2714 - Fix on shutdown, then getaddrinfo acquired data uses freeaddrinfo. 2715 19 January 2011: Wouter 2716 - Bug #348: no -I/usr and -L/usr for libcrypto in /usr. 2717 5 January 2011: Matthijs 2718 - Fix nsdc update and nsdc notify 2719 - Force outgoing interface to be a single range acl 2720 - Update documentation about acl options 2721 - Code review 2722 - Fix nsdc so it can use hmac-sha* tsigs 2723 - Bug #347: NSEC3 nodata QTYPE=DS not at delegation mismatch 2724 4 January 2011: Yuri 2725 - Doc spelling error, bug#345 2726 15 December 2010: Wouter 2727 - fix race condition when nsd is stopped while a reload is in 2728 progress, often when rc.d does nsdc patch; nsdc stop in sequence. 2729 reload is now signalled to stop too. 2730 10 December 2010: Matthijs 2731 - fix bug#306: applied documentation patch 2732 - fix bug#253: now also for QTYPE=DS. 2733 12 October 2010: Wouter 2734 - Fix compilation on SunOS4. 2735 24 September 2010: Matthijs 2736 - Bug #328: nsd-checkconf overrun 2737 1 September 2010: Yuri 2738 - Support for huge TXT records. 2739 23 Aug 2010: Wouter 2740 - fix bug#325: remove stale files from cvs from repo. 2741 16 Aug 2010: Yuri 2742 - zonec, MAXRDATALEN check was off by one. 2743 9 Aug 2010: Matthijs 2744 - nsdc return 1 outside function, should be exit 1 2745 - Bug #320: arc4random 2746 2 Aug 2010: Matthijs 2747 - Bump to 3.2.7. 2748 21 July 2010: Wouter 2749 - NUM_RECV_PER_SELECT 100 implemented, configure check if kernel 2750 supports this. 2751 275217 January 2011: Matthijs 2753 - Bump to 3.2.8. 2754 27555 January 2011: Matthijs 2756 - Fix nsdc update and nsdc notify 2757 - Force outgoing interface to be a single range acl 2758 - Update documentation about acl options 2759 - Code review 2760 - Fix nsdc so it can use hmac-sha* tsigs 2761 - Bug #347: NSEC3 nodata QTYPE=DS not at delegation mismatch 2762 276320 July 2010: Wouter 2764 - Branched from trunk. Added radix tree. 2765 - use -fwhole-program if gcc supports it. 2766 276719 July 2010: Matthijs 2768 - fix bug#314, NSEC next field now correctly escapes spaces. 2769 Also fixes label overflow issue. 2770 - Put back HAVE_SSL. 2771 - Code reviews. 2772 - Add donor text. 2773 27746 July 2010: Wouter 2775 - Compiles on Minix 3.1.7; checks ss_family, suseconds_t, some 2776 warning fixes. Needs socketpair to work, e.g. 2777 http://wiki.minix3.org/en/SummerOfCode2010/UnixDomainSockets. 2778 27792 July 2010: Wouter 2780 - Put back CHECK_SSL in configure (removed with disable-tsig). 2781 278217 June 2010: Matthijs 2783 - Expand command line option '-a' and config option 'ip-address:' 2784 with port number. 2785 - Removed --disable-nsid, --disable-dnssec, --disable-tsig 2786 278714 April 2010: Matthijs 2788 - Bump to 3.2.6. 2789 279014 April 2010: Matthijs 2791 - uintptr_t fallback value to void* 2792 - Backwards compatibility for MAP_ANONYMOUS 2793 - Tag 3.2.5. 2794 279531 March 2010: Matthijs 2796 - Commit b64_pton optimalized compat code (Martin Svec). 2797 - Commit (experimental) mmap-alloc-namedb patch (Martin Svec). 2798 - Commit parse-token-leaks patch (Martin Svec). 2799 280027 March 2010: Wouter 2801 - fix bug#303: misspelled error message. 2802 280319 March 2010: Wouter 2804 - documented nsid: "hex string" setting in nsd.conf.sample. 2805 280624 February 2010: Matthijs 2807 - nsid: option 2808 - Enable NSID support by default 2809 - --with-chroot configure option 2810 - Less stupid chroot error handling 2811 281215 February 2010: Matthijs 2813 - Skip memory cleanup to speed up reload (Martin Svec) 2814 28151 February 2010: Wouter 2816 - compat code for memcmp unsigned comparisons. 2817 281821 January 2010: Wouter 2819 - fixup debug sprintf to snprintf. 2820 282121 January 2010: Matthijs 2822 - Secure string functions, including compat code for strlcat. 2823 - Randomness utility function 2824 - Prepare for default chroot 2825 28266 January 2010: Wouter 2827 - check write errors when marking commit failed when difffile is broken. 2828 28296 January 2010: Matthijs 2830 - Move to 3.2.5 2831 283223 December 2009: Matthijs 2833 - Store new options in nsd structure. 2834 283522 December 2009: Matthijs 2836 - New options 'ipv4-edns-size:' and 'ipv6-edns-size'. 2837 - Bug 276 2838 - Bug 286 2839 - Bug 288 2840 284121 December 2009: Matthijs 2842 - New option 'tcp-query-count:'. 2843 - New option 'tcp-timeout:' and configure option '--with-tcp-timeout'. 2844 - New zone option 'notify-retry:'. 2845 284611 December 2009: Wouter 2847 - Disable UDP IPv4 DF flag on Linux/FreeBSD/AIX with socket option. 2848 284920 November 2009: Matthijs 2850 - NSID bugfix: NSD did not recognize NSID in the query. 2851 28529 September 2009: Matthijs 2853 - DLV support 2854 285518 August 2009: Matthijs 2856 - Bug 269. 2857 - Typo: logincap.h -> login_cap.h 2858 285912 August 2009: Matthijs 2860 - Maintainers feedback 2861 286210 August 2009: Matthijs 2863 - Code review. 2864 - Also send errors to /dev/null in controlled_stop. 2865 - chown nsd.db 2866 28677 August 2009: Matthijs 2868 - Bug 266: don't have strptime build error 2869 287028 July 2009: Matthijs 2871 - Bug 263: make TSIG algorithms comparison case insensitive. 2872 287323 July 2009: Matthijs 2874 - Patch Paul Wouters for NSD using hardcoded name. 2875 287613 July 2009: Matthijs 2877 - Bug 236: allow RRs before the SOA RR. 2878 - Bug 253: No need for NS RRset in authority section, when returning 2879 final answer for QTYPE=DNSKEY. 2880 288129 June 2009: Wouter 2882 - patch for use of Linux IPV6_MTU option, so that on linux the default 2883 EDNS UDP size advertised becomes 4096 over IPv6. It fragments the 2884 packets using the IPv6 minimum MTU. 2885 288619 May 2009: Matthijs 2887 - Clean up configure script (install hickup) 2888 - Bug 249: Remove unnecessary LLONG_MIN and LLONG_MAX code. 2889 - Replace strtoll code with own strtoserial function. 2890 - Move up to 3.2.3. 2891 289211 May 2009: Matthijs 2893 - Add Off-by-one test 2894 28956 May 2009: Matthijs 2896 - Small fix in SO_REUSEADDR warning log message. 2897 - Off-by-one bugfix (thanks Ilja van Sprundel, IOActive) 2898 289929 April 2009: Matthijs 2900 - A more ensured do_stop (useful fo nsdc restart). 2901 29022 February 2009: Matthijs 2903 - Bugfix #234. 2904 - Bugfix #235. 2905 - Reset 'error occurred' after notifying an error occurred at the $TTL or 2906 $ORIGIN directive (Otherwise, the whole zone is skipped because the 2907 error is reset after reading the SOA). 2908 29092 February 2009: Matthijs 2910 - Bugfix: return BADVERS when EDNS version > 0, instead of 0x1<FORMERR>. 2911 291219 January 2009: Matthijs 2913 - Bug 230: nsd-*: use stdout for non-error output (instead of stderr). 2914 - Don't do strptime test when cross compiling. 2915 291617 January 2009: Jelte 2917 - Fix file rotation when no logfile but chroot. 2918 29198 January 2009: Matthijs 2920 - New nsd-patch option -o dbfile (set output.db) 2921 - update nsdc to deal with the new nsd-patch options 2922 - strptime compat fix 2923 29246 January 2009: Matthijs 2925 - New nsd-patch option -s (skip writing zonefiles) 2926 - Removed some region_create memchecks (not needed) 2927 29285 January 2009: Matthijs 2929 - Bug 218 2930 - Bug 222 2931 - Replace SHA256_DIGEST_LENGTH with nicer HAVE_EVP_SHA256 2932 293310 December 2008: Matthijs 2934 - Bugfix: better error message when ixfr.db cannot be read 2935 293618 November 2008: Matthijs 2937 - chown logfile, don't do file rotation if logfile is outside absolute 2938 and outside chroot. 2939 294017 November 2008: Matthijs 2941 - File rotation for nsd.log when owned by nsd (+ tpkg test). 2942 - Only AXFR fallback if master responded NOTIMPL or FORMATERR on IXFR 2943 request. 2944 - allow-axfr-fallback option. 2945 29467 November 2008: Matthijs 2947 - Bugfix: don't fclose if logfile == NULL. 2948 294930 October 2008: Matthijs 2950 - Allow escape characters in literal dnames 2951 - Fix typo in zonec manpage 2952 - Some fixes from code review 2953 295420 October 2008: Matthijs 2955 - Redo bugfix literal domain names in rdata (code adjustment) 2956 - Added tests for case sensitive dns names and "Bug #162" 2957 - Adjust nsd-patch to new ixfr.db format 2958 295914 October 2008: Matthijs 2960 - Only SO_LINGER when outgoing port is set 2961 - Reset diff_skip when a new difffile is created (parts in the difffile 2962 now have a timestamp). 2963 - Undo bugfix literal domain names in rdata (code adjustment) 2964 - Split up dname_parse to parse literal dnames and normalized dnames. 2965 29663 October 2008: Matthijs 2967 - setsockopt SO_LINGER, for portability outgoing-interface (BSD/Solaris) 2968 29691 October 2008: Matthijs 2970 - Configure the source ip-address for notifies by the master and zone 2971 transfer requests by the slave in nsd.conf. 2972 - Previously added source hostname/ip and port configuration for 2973 nsd-notify and nsd-xfer 2974 - Finetuned nsdc for nsdc notify and nsdc update 2975 297629 September 2008: Matthijs 2977 - Bugfix: only normalize domain names in rdatas when rrtype is listed in 2978 RFC 4034, section 6.2: Canonical RR Form. 2979 - Update TODO list 2980 298125 September 2008: Matthijs 2982 - Fix bug where hmac-sha256 was in algorithm table, but could not be 2983 retrieved by name or id. 2984 - Additional arguments for nsd-notify and nsd-xfer: set outgoing 2985 hostname/ip-address and source port. 2986 - Additional TODO entry: optimize code in nsd-* programs. 2987 29888 September 2008: Matthijs 2989 - RFC 4635, bugfix #130: support for hmac-sha1 and hmac-sha256 tsig 2990 algorithms. 2991 - modify and add tpkg tests for hmac-sha1 algorithms. 2992 29932 September 2008: Matthijs 2994 - AXFR fallback when IXFR/UDP failed on all masters 2995 - Bugfix: strip off chroot value in corner cases 2996 - Additional debug and verbose log messages 2997 299829 August 2008: Matthijs 2999 - IXFR allow UDP option 3000 300126 August 2008: Matthijs 3002 - Code layout, additional comments and documentation typo fixes 3003 - IXFR over TCP, no longer UDP 3004 300517 July 2008: Matthijs 3006 - Make the maximum number of interfaces configurable. 3007 - Write pidfile *after* successful server initialization, 3008 instead of writing, and unlink if fail. 3009 301016 July 2008: Matthijs 3011 - Set upcoming release to 3.1.1 3012 - Wouter: fixed memory leaks that happened on error, mostly on 3013 zone transfer errors. 3014 301511 July 2008: Matthijs 3016 - Avoid race condition in nsdc: let nsd server update pidfile before 3017 closing old parent process. 3018 30198 July 2008: Jelte 3020 - Fixed NSEC3 memory leak in the case NSEC3 is not needed. 3021 30227 July 2008: Matthijs 3023 - Bugfix #191 3024 30259 June 2008: Matthijs 3026 - When comparing RRs, do not compare TTL values (since the same record 3027 with different TTL values are considered equal). 3028 - Fixup some more unaligned memory access that could occur when 3029 reading ixfr.db. 3030 303119 May 2008: Matthijs 3032 - Do not always log tcp read errors, only when real error or high verbosity 3033 303428 April 2008: Matthijs 3035 - Bugfix #172 (misleading error from zonec) 3036 303727 March 2008: Matthijs 3038 - Port some branch modifications to trunk 3039 304028 February 2008: Matthijs 3041 - Do not answer nsec3 wildcard information when DO bit is not set 3042 304319 February 2008: Matthijs 3044 - Fixed strptime bug (for MacOS Leopard) 3045 304622 January 2008: Matthijs 3047 - Add configuration for chkconfig to control nsd service (bug 164) 3048 304915 January 2008: Matthijs 3050 - Fixed bug 157 where nsd would return FORMERR if edns query is 3051 received with version set to zero and rdlen is larger than zero. 3052 30538 January 2008: Wouter 3054 - no warning about optout records. also no warning about missing 3055 nsec3 records. 3056 - check for hash(apex)==nsec3 with SOA bit was done in duplicate. 3057 - removed old commented out code 3058 - using SOA bit in NSEC3 typemap to detect parameters 3059 - using nonhashed NSEC3 to prove qtype=NSEC3 nxdomains 3060 - prints for debugging. 3061 - nicer comment on nsec3_lookup. 3062 30637 January 2008: Wouter 3064 - Fixup nsec3 tests, they need zonesdir: "." in conf files. 3065 The tests pass. 3066 - configure default is --enable-nsec3. Disabling this will save 20% more 3067 memory (for very large zones). Moved tests to test on commit. 3068 - set RRTYPE numbers for NSEC3=50, NSEC3PARAM=51. 3069 - fixup checkconf test - updated parser lexer gives syntax error 3070 on some garbage instead of parse error. Parselexer is updated for 3071 new options (hide-version, verbosity). 3072 - removed highrange rrtype code. fixup cutest for that. 3073 - speedup of prehash code. 3074 - skip nonexistent domains (operator.example.com). 3075 - skip only-nsec3 domains (that could be 2x speedup) 3076 - skip glue nameserver domains (for TLD with 2 glue per 3077 delegation this is a 3x speedup). 3078 - skip the prehash_domain for delegation points, which saves 3079 another 2/3 hash operations, 3x speedup. 3080 - printout how long nsec3 prepare took (verbosity >= 1). 3081 30823 December 2007: Matthijs 3083 - Fixup bug where data related files are looked up in the wrong 3084 directory when chrooted with chrootdir ending with a slash. 3085 308626 November 2007: Matthijs 3087 - Fixup bug start nsd while already running: do not initialize server, 3088 since it is already running. 3089 309015 November 2007: Matthijs 3091 - Changed man pages format from mdoc to mansun, to support the Solaris OS. 3092 - Better logging for nsd-notify (show 'broken' zone) 3093 309413 November 2007: Wouter 3095 - CREDITS and RELNOTES now in utf-8. 3096 309712 November 2007: Matthijs 3098 - Changed man pages according to bug 162. 3099 310030 October 2007: Wouter 3101 - Fixup for skip after unknown deleted IXFR RR, otherwise processing 3102 would continue at the wrong spot in the packet and process the IXFR 3103 as if it were malformed. 3104 - added unit test for this in long (needs ldns-testns, updated it). 3105 - added unit test for rollback of malformed zone transfers. 3106 Fixup for it, and fixup in ldns-testns to be randomport and 3107 copy id for hex packets. 3108 310929 October 2007: Wouter 3110 - Fixup bug where malformed IXFR replies cause partial processing in 3111 reload (or nsd-patch or nsd-startup). One result is multiple SOA 3112 records in zone apex. Fixup rolls back the zone transfer, and waits 3113 for NSD to try to load again. 3114 311526 October 2008: Wouter 3116 - small fix in descriptive text in sample config for debug-mode. 3117 31189 October 2007: Mark 3119 - Change default location of: nsd.db, ixfr.db & xfrd.state to 3120 /var/db/nsd. 3121 31225 October 2007: Wouter 3123 - Fixup manual page entry for allow AXFR to anyone. 3124 31253 August 2007: Mark 3126 - Report source and zone for denied AXFR attempts. 3127 312825 July 2007: Wouter 3129 - bind2nsd to 0.5.0, fixup of includes, key{} handling. 3130 313119 July 2007: Wouter 3132 - bind2nsd to 0.4.8, fixup of include bug. 3133 313418 July 2007: Wouter 3135 - added contrib for bind2nsd, Al Stone provided an abridged version 3136 that neatly fits for contrib. 3137 313817 July 2007: Wouter 3139 - fixup commithooks. 3140 314116 July 2007: Wouter 3142 - Added reference to http://bind2nsd.sourceforge.net/ to 3143 contrib/README. 3144 31453 July 2007: Mark 3146 - Zone compiler now gives more sane error message when out of 3147 diskspace. 3148 - Fixed a call to drill in tpkg that made a test check bind instead of 3149 nsd. 3150 31512 July 2007: Mark 3152 - Remove last traces of mmap usage. 3153 - Some cleanups in tpkg. 3154 315524 April 2007: Mark 3156 - Added "hide-version" configuration setting. Enabling this feature 3157 stops NSD from answering to CHAOS class version requests. 3158 315919 April 2007: Wouter 3160 - Compiled on minix 3.1.3 and make some adjustments to ease porting. 3161 ECONNABORTED is checked for. sys/select.h included in nsd-notify. 3162 SO_REUSEADDR failure is not fatal. PF_INET compat code added. 3163 If you compile yourself; strptime and socketpair need compat code. 3164 316513 April 2007: Wouter 3166 - Minor tweak to nsec3.c, more elegant handling of malformed nsec3 3167 records from a zone transfer. 3168 316910 April 2007: Wouter 3170 - Fixup ignored return value in region-allocator. Now returns a NULL 3171 memory allocation failure and leaves region in a consistent state. 3172 317320 March 2007: Wouter 3174 - Released 3.0.5. 3175 - (for 3.0.6) -O2 test for Alpha moved to saner position. 3176 317716 March 2007: Wouter 3178 - port configure to AIX, removed warning on ALIGNMENT in region code. 3179 defined _ALL_SOURCE to get recent C definitions on AIX. 3180 - improved nsec3.h comments. 3181 318222 February 2007: Wouter 3183 - Zonesdir default is now /etc/nsd. 3184 So that the invocation directory is not used to dump files into. 3185 The user can change the zonesdir by editing the config file. 3186 The directory is created by install, if not an error is printed. 3187 - updated tpkg tests to use current dir for testing. 3188 - tcp connections that drop do not spam the log file. 3189 Unless verbosity is set high. 3190 319119 February 2007: Wouter 3192 - Fix empty line printed with warning on 'force zone transfer'. 3193 319415 February 2007: Wouter 3195 - Check for EPROTO definition to compile on FreeBSD4/Alpha. 3196 319713 February 2007: Mark 3198 - Debug flag (-d) behavior changed. Nsd now also forks children when 3199 run in debug mode. 3200 - Added verbosity mode (-V <level>) for extra operational logging. 3201 32028 January 2007: Wouter 3203 - README text on interface configuration added. 3204 32052 January 2007: Wouter 3206 - Fixup accept() that could block due to already closed connection. 3207 Made listen() nonblocking, ignores errcodes that indicate closed tcp. 3208 320929 January 2007: Mark 3210 - Handle the new CERT RDATA types defined in RFC 4398 (submitted 3211 by Mans Nilsson). 3212 - Change nsd-notify retry timer from linear into exponential backoff 3213 (submitted by Mans Nilsson). 3214 - Due to a small bug in a comparison statement, zonec would fail 3215 on the parsing of unknown CERT types. This got triggered by the 3216 first bugfix today, as that one shouldn't have been discovered in 3217 the first place. Took the opportunity to sanitize two other 3218 comparison statements related to strtol(). 3219 322024 January 2007: Wouter 3221 - Tentative change to set UDP sockets nonblocking. Perhaps it 3222 helps Howard. 3223 322419 January 2007: Wouter 3225 - NSEC3 work. prehash printed only once with time taken to prepare. 3226 - prints are now only in DEBUG mode (except errors). 3227 - rr descriptor counts for NSEC3 updated, has an extra field flags. 3228 - now NSEC3PARAMs with flags!=0 are ignored, as per draft-09. 3229 - Fixed where only first NSEC3PARAM was properly detected. 3230 - Added tpkg in manual (because you need to compile with nsec3) 3231 that performs the test queries from draft-09 and checks them. 3232 - Made tpkg to test NSEC3 parameter detection. NSD will skip any 3233 NSEC3PARAMs that don't work until the first working one is found. 3234 Also, this means unknown hash algorithms are simply ignored. 3235 A zone that uses exclusively unknown hash algorithms for NSEC3 3236 will give errors on loading (or after zone transfer) but NSD 3237 will load and serve the zone (but no NSEC3s are returned). 3238 - added tpkg in manual to test parent side DS answers. 3239 These follow a different code path than child side DS. 3240 - Will allow NSEC3s(and signatures) below a DNAME. 3241 - A query for an NSEC3 ownername will lead to DNAME redirection 3242 as if the NSEC3 did not exist. 3243 - Test package in manual that tests NSEC3 and DNAME in the apex. 3244 - Changed NSEC3 memory requirements from 5 pointers per domain name 3245 to 3 pointers and 2 bits. 3246 - Added jumpstart for nsec3 search, will greatly speed up optout 3247 zone nxdomains. At the cost of one ptr per domain name. 3248 The speedup also speeds up the nsec3 prepare stage. 3249 325018 January 2007: Wouter 3251 - Created 3.0.4 release tag. 3252 - 3.0.5 number in trunk. 3253 - add nsd.spec patch from Farkas Levente to contrib. 3254 - NSEC3 new wireformat and presentation format from draft-09. 3255 325611 January 2007: Wouter 3257 - The message 'server .. closed cmd channel' is now priority INFO. 3258 This to reduce the 'error' amount in the logs. 3259 - On error in a tcp request, set to retry next instead of waiting 3260 for the tcp timeout. 3261 32629 January 2007: Wouter 3263 - TSIG acl matching changed so that NOKEY allow-notify entries match 3264 only queries without a tsig. Otherwise NSD would crash. 3265 This only affects servers that have allow-notify: ip NOKEY and 3266 someone sends a TSIG signed notify from that ip. 3267 - test package for that. 3268 - Fix for reply to notify messages with ANCOUNT wrong. The ack 3269 to notify messages that passed the ACL, and had a SOA in the answer 3270 section of the query, included wrong RR counts in the header. 3271 - test package for notify reply wireformat. 3272 32738 January 2007: Wouter 3274 - ipc_send_blocked will not lead to busy waiting on it, but will block 3275 in select, until SOA_END comes by. 3276 - server_main sends SOA_END if reload crashes, to xfrd. So that xfrd 3277 can set ipc_blocked=0 and can_send_reload=1; and thus resume service, 3278 assuming that the crash was a temporary condition. 3279 This will lead to trying every reload-timeout seconds to reload 3280 if it is a permanent condition. Which is more obvious to the 3281 operator. 3282 - put the error "error: diff: RR ns.kiev.ua. already exists" in 3283 debug mode only. Zone transfers with this error are liberally 3284 accepted, and we should not spam the logfile. 3285 - empty zones will not be retried forever every 10 seconds, 3286 but exponential backoff to a max of every 4 hours. 3287 The exact value is randomised to spread out attempts. 3288 32895 January 2007: Wouter 3290 - Fixed --zonesdir=<path> for configure. The value did not get used 3291 as a default value. Now it is used as a default value. If a 3292 default value is set for zonesdir, you can go to a 'no value 3293 specified' by giving the empty string, zonesdir: "" in nsd.config. 3294 - Fixed checkconf.tpkg for this change. nsd-checkconf will 3295 output zonesdir: "" as this is the default for --zonesdir. 3296 32972 January 2007: Wouter 3298 - Added contrib script from Stephane Bortzmeyer to convert NSD 2 to 3299 NSD 3 config files. Converts secondary zones and TSIG keys. 3300 - Made config conversion script skip empty lines. 3301 - Made config conversion script convert primary zones (and notify). 3302 - Nsdc control script will exit with 'nsd startup failed.' if nsd 3303 fails to start (due to bad config file for example). 3304 330515 December 2006: Wouter 3306 - Removed dlopen() checks from configure.ac, NSD3 no longer has 3307 dynamic plugin support (since 3.0.0). 3308 - added .rpm spec file to contrib. 3309 - Updated README to remove reference to buildzones script. 3310 331112 December 2006: Wouter 3312 - Added missing include to ipc.c to compile on SunOS. 3313 - Cast to avoid signed/unsigned comparison in compat/inet_ntop.c. 3314 331511 December 2006: Wouter 3316 - Added test to check for CNAME and other data error by zonec. 3317 Currently NSEC, NSEC3, RRSIG, SIG, NXT are allowed next to CNAME. 3318 - Fixup unaligned memory access that could occur when reading ixfr.db 3319 with a partial transfer inside. 3320 - RR type WKS (well known service) was not printed correctly, 3321 htons() was forgotten when calling getservbyport. 3322 - NSD does not complain about not being able to read the db CRC 3323 when all that happens is the file became longer or shorter. 3324 33258 December 2006: Wouter 3326 - Moved down max XFRD UDP sockets for zone transfer queries to 100 3327 down from 300. This makes the total socket max at 200, so it fits 3328 easily under 256 ulimit (a common default). 3329 33307 December 2006: Wouter 3331 - Improved error message to help operator. 3332 - created 3.0.3 svn tag. 3333 - default of zonesdir corrected (no directory is default). 3334 33354 December 2006: Wouter 3336 - updated test packages. Moved 213_large from manual to long. 3337 size_0, source_port_0 made more working (needs root permission). 3338 33391 December 2006: Wouter 3340 - Moved xfrd ipc and reload handlers to front of event handler 3341 lists for a 10% speedup in xfrd. 3342 - Fixed so that NSD no longer interrupts zone transfers when 3343 a notify comes in for that zone. Added package to test it. 3344 - Fixed warning on Solaris 10. 3345 334630 November 2006: Wouter 3347 - Test for fallback in getaddrinfo more portable. 3348 Ported to FreeBSD 6.1 without inet6. 3349 - New quit sync had a problem with blocking in dispatch. Fixed. 3350 - reload will retry quit_sync if nothing happens. 3351 - parent tries to empty the pipes before closing them on quitsync. 3352 - xfrd does not send reload when previous reload request busy. 3353 - netio will only deliver the number of bits from select 3354 and then stop. Optimisation. 3355 335629 November 2006: Wouter 3357 - Fixed getaddrinfo error message to be more descriptive. 3358 - Fallback to ip4 also if getaddrinfo fails for ip6. 3359 - instead of EAI_ADDRFAMILY uses EAI_FAMILY which is portable 3360 to FreeBSD. 3361 - signed/unsigned warning fix for FD_SETSIZE comparison. 3362 - Lots of debug statements and new quit sync feature, where 3363 the server children are synced with. So as not to lose buffers. 3364 336528 November 2006: Wouter 3366 - Debugging 10k zones transfer, set so that zones waiting for a 3367 socket do not get timeouts. 3368 - Debug change so that an event is only returned to one handler 3369 by netio. 3370 Reversed this. Netio will not deliver events you do not listen 3371 to, and since xfrd first listens to write then read, it will 3372 not have problems with stale events (for the fd from the previous 3373 select) because these are always read, while it needs a write. 3374 Re-Reversed it: netio will deliver events only once. 3375 This is easier to understand for the poor hapless developer. 3376 - Need to set notify_current for notify on waiting list. Fixed. 3377 337827 November 2006: Wouter 3379 - Debugging 10k zones transfer, noticed that it is possible for 3380 netio to give a callback for an event that you were not listening 3381 to. Now no longer does that. 3382 338316 November 2006: Wouter 3384 - Bug #153: now checks for FD_SETSIZE when adding fd to select fdset. 3385 - Easy overview of socket allocation for xfrd in xfrd.h 3386 - Upped the default xfrd socket limits a bit. 3387 - Log message that the TCP connection limit is reach is now only 3388 in -L 2 logging. It is spammy. 3389 - updated dependencies. 3390 - Added test for notify-socketcount, and removed unused files from 3391 bug153 test package. 3392 - Notify udp sockets are also capped at a max number. The rest 3393 has to wait in a queue. 3394 339515 November 2006: Wouter 3396 - Fixed bug #152: identity keyword in nsd.conf did not work. 3397 What happened was that the hostname() from the computer 3398 was overriding the nsd.conf identity. Fixed now. 3399 If commandline is given that is used. 3400 Else nsd.conf entry is used. 3401 Else hostname() detected from computer is used. 3402 Else default string "unidentified" is used. 3403 340414 November 2006: Wouter 3405 - Fixed bug where NSD tries to create 10000 udp sockets, 3406 when starting with 10000 secondary zones. Limited to 50 3407 at a time. The XFRD_MAX_UDP constant controls this. 3408 34093 November 2006: Wouter 3410 - Created tags/NSD_3_0_2_REL. 3411 34122 November 2006: Wouter 3413 - Added pdf for differences.tex for ease of use. 3414 - Updated text in readme on memory usage. 3415 341624 October 2006: Wouter 3417 - Recycle rrset memory after doing special processing on the deleted 3418 rrset data. 3419 - log message clearer for 'duplicate xfr part' to 'discarding partial 3420 xfr part'. 3421 - if you have a server that has IXFR turned off but sends a TC flag 3422 for IXFR queries, xfrd will retry to TCP. This makes the use of 3423 'AXFR' flag in nsd.conf file not needed in certain cases. 3424 - Be thrifty and save up the memory that was lost at end of chunks 3425 in the recycle bin. Saved 1.3Mb on 170(rrs)/220(total) Mb dataset. 3426 342723 October 2006: Wouter 3428 - Added checks for out of memory in reload (diff file). And it exits 3429 if so neatly. 3430 343113 October 2006: Wouter 3432 - Bug #149: Wrong text for NOTAUTH error code. When notify is not 3433 authorised REFUSED error code returned instead. 3434 34354 October 2006: Wouter 3436 - More fixes from Koh-ichi Ito (kohi@iri.co.jp now), for bug #146, 3437 his bash does not do $(( )), so nsdc.sh has to use test of course. 3438 343929 September 2006: Wouter 3440 - recyclebin works, added a test that uses it (about 3 Mb goes 3441 through the recyclebin). This resolves bug #147. 3442 - Made -L 1 logging is little less verbose (-L 2 gets it all). 3443 - added search path for openssl on Solaris 10 (/usr/sfw). 3444 344528 September 2006: Wouter 3446 - Removed unused global variable current_region, 3447 and routines for it in region-allocator.c and .h. 3448 - Added recycle option to regions. It will keep track of small 3449 objects in a recycle bin. Large objects are deallocated. 3450 No calls to recycle yet, unit test it first. 3451 - added unit test for region recycle. 3452 345327 September 2006: Wouter 3454 - Further suggestion from Koh-ichi Ito, I've set opt->xfrdfile 3455 to XFRDFILE in options_create. So opt->xfrdfile and opt->difffile 3456 are never NULL. This simplifies code elsewhere. 3457 And also handles chroot case (+=l) for default values. 3458 - Fix for bug #145. The skip file position in the diff file was used 3459 inconsistently - one part of the code skipped to before the 'IXFR' 3460 type code and another part skipped to after that. Now all skip to 3461 before the type code. This bug only happens if your diff file 3462 is like: zone1_part1, zone2_part_1, zone1_part2, zone1_commit, 3463 zone2_part2, zone2_commit. The skip over zone1_part1 failed. 3464 - tpkg test in long dir that tests for the bugfix. Takes a long time 3465 and uses ldns-testns feature to wait partway through an AXFR. 3466 - removed debug log of strerror on diff read failure, when the errno 3467 was already output to the logfile (resulting in a nonsense error). 3468 346926 September 2006: Wouter 3470 - NSD compiles on Solaris 10 with the sun cc compiler. 3471 Added a define for _STDC_C99 for that. 3472 - Checked that the patch for solaris for bug 143 indeed fixes the bug. 3473 - Fixed bug #146 reported by Koh-ichi Ito: when chrooted nsd failed 3474 to write xfrdfile/difffile. 3475 347618 September 2006: Wouter 3477 - no queries for NSEC3, RRSIG, ANY succeed for nsec3 only domains. 3478 347915 September 2006: Wouter 3480 - Fixed LOC parsing of integer overflow causing maximum values. 3481 Added to test and backported fix to 2.3.6. 3482 - NSEC3 qtype queries get noerror/nodata or nxdomain answers. 3483 You can query for NSEC3PARAM. 3484 - warnings for printf format on maxOS (sizet needs cast to int). 3485 348613 September 2006: Wouter 3487 - added fsync to AF_UNIX sockets to write last command (QUIT) before 3488 closing them. 3489 - sent explicit QUIT command to xfrd on final shutdown of the server. 3490 349112 September 2006: Wouter 3492 - Bug #144: LOC defaults for unspecified values wrong. Error in zonec. 3493 Set defaults. Also fixed parser if LOC has no minutes or seconds. 3494 - Also fixed rounding error in seconds 0.001 decimal. 3495 - Test tpkg for bug 144. 3496 349711 September 2006: Wouter 3498 - nsdc now more portable in use of 'which'. 3499 Does not only look at exit code but also checks for '^no ' string. 3500 - nsd-patch does a chdir to zonesdir for relative difffile or dbfile 3501 path names. 3502 - nsdc handles zonesdir: for relative pidfile, dbfile, difffile 3503 pathnames. 3504 35057 September 2006: Wouter 3506 - bumped version to 3.0.2. 3507 - Nice configuration error when you had the wrong zone name in the 3508 nsd.conf file. Zonec will give an error already. 3509 - When you start a secondary zone without a zone file, you get 3510 a much nicer error message, warning you of the zone transfer. 3511 - Credits for prerelease testers; Thanks guys! 3512 35136 September 2006: Wouter 3514 - Fixed nsd-patch so that it writes the SOA at the start of the file. 3515 - test tpkg that tests for the bug, has multiple rrsets at zone apex 3516 and does nsd-patch followed by zonec. 3517 Previous tests did not catch this: they used nsd-xfer to test zone 3518 contents, or only checked the zone-file after nsd-patch. 3519 - version number bumped to 3.0.1. 3520 - svn tag 3_0_1 made. 3521 35225 September 2006: Wouter 3523 - differences file improvements. 3524 - created 3.0.0 release in svn tags. 3525 35264 September 2006: Wouter 3527 - From suggestions by Bin Zhang: 3528 - nsdc restart does not fail if nsd was not running. 3529 - fixes to man pages, wrong locations for files. 3530 - NSEC3-PARAM has no optout bit in presentation format. 3531 - NSEC3PARAM spelling. 3532 - differences in latex format (needs nlnetlabs housestyle). 3533 353431 August 2006: Wouter 3535 - Fix for tsig size still set when data is null ptr. 3536 - Fix configure for NetBSD (1.6 - 2.0) to find struct timespec. 3537 - DIFFERENCES file completion. 3538 353930 August 2006: Wouter 3540 - Print error nicely when nonblocking connect fails on systems 3541 in a portable way. 3542 - doc/UPGRADING document to assist NSD 2 to 3 upgrades. 3543 - updates of error print - ignore EINPROGRESS if we check too early. 3544 - wait for select writable before testing for connect error. 3545 - echo "" >&2 is not as portable as we would like, removed from nsdc. 3546 - fixed debug print of a null ptr. 3547 - fixed bug where query for CNAME that points to unserved zone caused 3548 nullptr exception on empty zone ptr. Now original zone is restored 3549 after CNAME-pointed data is added to the packet. 3550 Test in dname.tpkg. Reported by Kai. 3551 - fixed stack corruption when ipv6 disabled. 3552 355329 August 2006: Wouter 3554 - NSEC3 made it so it can handle the case where the NSEC3 RRSET 3555 with the SOA bit on does not have the RR with the soa bit set 3556 as the first RR. 3557 - Handle NSEC3-PARAM type. Checks to see if any of them work: 3558 zone apex hashed exists, with NSEC3 type, and RR that has 3559 the same parameters and the SOA bit set. 3560 - in presentation format of NSEC3, NSEC3-PARAM reversed hash, optout. 3561 - update to the DIFFERENCES file, bind 9.3.2 vs NSD 3 and 3562 NSD 2 and 3 comparisons are completed. 3563 356428 August 2006: Wouter 3565 - echo messages in nsdc made clearer. nsdc notify and nsdc update 3566 only send notify messages to slaves / localhost to force transfers. 3567 - initial NSEC3-PARAM type code entry. parsed, ignored. 3568 356925 August 2006: Wouter 3570 - disabled make test target as tests are not shipped. 3571 - performed prerelease static snapshot. 3572 - updates to the DIFFERENCES document. 3573 357424 August 2006: Wouter 3575 - Fix bug 141 port from 2.3.6, copies behaviour from bind 9.3.2. 3576 - Added a test for bug 141. 3577 - Bug141: save the opcode from the query. 3578 357923 August 2006: Wouter 3580 - Fixed % by 0 exception in the bugfix #139. 3581 - Fixed RFC 4035 says CD flag SHOULD be cleared on authoritative 3582 responses, now NSD clears the CD flag. This is bug #140. 3583 RFC 4035 could be confusing on this, as it states 'all servers 3584 MUST copy the CD bit' more than once, but then makes clear only 3585 recursive servers are meant with that statement. 3586 - Differences document updates for bind 9.3.2 and nsd 3. 3587 358822 August 2006: Wouter 3589 - version number to 3.0.0 in preparation for release. 3590 - Bug #139: resync stats to whole period. Fixed. 3591 359221 August 2006: Wouter 3593 - check for error in ftruncate call. 3594 - replaced fwrite call with write_data call from util that does 3595 error checking. 3596 359715 August 2006: Wouter 3598 - removed unused struct nsd.named8_stats variable. 3599 - Bug #138: nsd aborts trying to bind all interfaces if ip6 is not 3600 enabled, instead it will fallback to ip4. 3601 360214 August 2006: Wouter 3603 - Added test for rollback of an IXFR transfer by xfrd. 3604 - Added test for reload timeout in xfrd, the reload does happen after 3605 a while, but not immediately. 3606 - Test that makes xfrd connect to ip6 address. 3607 - Test that overloads the number of tcp connections in xfrd, 3608 simulating a slow master, so that zones have to queue up to get it. 3609 - code coverage is now 2514 of 10636 uncovered. Still a lot uncovered. 3610 - ixfr queries return NOT_IMPL errors. 3611 361211 August 2006: Wouter 3613 - srandom to init random() in xfrd based on PID and time. 3614 - improved usage() information to be more helpful, and with version. 3615 - in makedist.sh, flex and bison called like in Makefile. 3616 - test for tcp underrun and overrun of the buffer. 3617 361810 August 2006: Wouter 3619 - added more tests to increase code coverage of testset. 3620 - moved acl parsing code from configparser.c to options.c to help 3621 unit testing. 3622 - nsd-checkconf echod wrong difffile filename with -v. 3623 - nsd-patch can now be used with -f to force printing of all RRs. 3624 - TYPE_NULL crashed NSD when it printed it, arg was ZF_DNAME, 3625 now ZF_UNKNOWN. 3626 - unknown rr test was faulty on input, the length was in nibbles 3627 not in octets, but rfc specifies octets for unknown rrs. 3628 NSD does not look at the length, and prints the length correctly. 3629 - added type NXT to the rr-test for weird RRs. 3630 - added printing test to rr-test, ipseckey and unknown-rr tests. 3631 checks if NSD prints the same RR on output as it read in. 3632 - put -x option for nsd-patch in usage(). 3633 - test that kills an nsd child server and checks that it is 3634 restarted. 3635 36369 August 2006: Wouter 3637 - tested nsdc functionality, make install and make uninstall. 3638 - set O_NONBLOCKING on xfrd tcp sockets before the connect call, 3639 because the handshaking can take very long too. 3640 - difffile and xfrdfile set via configure, to absolute pathnames, 3641 so that chroot checks work for them. 3642 - updated tpkgs, they need to set relative paths now for difffile. 3643 - gcov says 2821 of 10617 total code lines are not covered. 3644 compiled with --coverage, not -O2, ran tpkg/* and long/testplan*. 3645 counted grep '#####:' *.gcov | wc and grep '^ *[0-9]*:' *.gcov | wc. 3646 - cleaned up the log functions, NSD no longer spams the syslog with 3647 debug messages. The standard NSD debug util is used, -F -1 -L 2 for 3648 a compile configured with --enable-checking will enable them again. 3649 Errors are logged, as is the automated reload of a new serial. 3650 - tpkgs for bug077 and bug107 were silently failing to test properly. 3651 36528 August 2006: Wouter 3653 - fixes for checkconf test, more portable. 3654 - removed items from TODO that have been tested. 3655 for multihomed servers you have to bind to each interface 3656 explicitly to get outgoing ip-address the same as query 3657 destination ip-address. 3658 Forks and if-existing are tested and ok in testplan tests. 3659 close_all_sockets is called by child, if tcponly, so leave it. 3660 - user name check is hard portably with shell scripts, and 3661 packaging could set a default user that does not exist on a machine. 3662 - empty nodes (nonterminals) give no nxdomain any more (todo item done). 3663 - removed (old) from TODO. 3664 - removed contrib/buildzones.pl, it is outdated. 3665 36667 August 2006: Wouter 3667 - Made the tests a little more portable. 3668 - fixed mempcy unable to handle unaligned memory addresses on Solaris, 3669 used memmove instead of memcpy in zonec LOC conversion code. 3670 - another unaligned memory access, when storing off_t pointer in 3671 difffile.c, used memmove. 3672 36734 August 2006: Wouter 3674 - nsd will start if diff file is corrupt, with a log message. 3675 It ignores the bad data. 3676 - tpkg files do not override PATH, svnhook sets it. So user can 3677 set path to utilities on the system to run the tests. 3678 - running testset on DecAlpha discovered uninitialised variable 3679 in NSD. Fixed. 3680 - Jakob Schlyter asked for building nsd3 in an obj dir, i.e. 3681 mkdir obj; cd obj; ../configure && make. Fixed up makefile for that. 3682 - and bug137.tpkg for separate obj dir building. 3683 36843 August 2006: Wouter 3685 - more tests in mesh test. 3686 - changed test packages to put nsd log to test result "/dev/stdout". 3687 - test packages more portable - use default 'dig' location. 3688 also, path is appended to, instead of replaced. 3689 36902 August 2006: Wouter 3691 - Region can be customised for detailed memory handling. 3692 Especially if you set large_object_size=0, chunk_size=0, 3693 the region will perform individual allocs, and 'save memory'. 3694 The region still keeps tracks of allocations so that at 3695 region_free time all memory is released. 3696 - tsig.region removed, it was not used after attaching a cleanup 3697 at creation. tsig creation uses custom region settings. 3698 - xfrd inits the tsig records with memory saving settings, 3699 so the regions alloced for tsig take up about 60 + 4*8 bytes. 3700 - new custom region for query region - to make chunksize larger 3701 there. The chunksize for the query region is important, if 3702 all allocations for a query fit in it, no mallocs are needed. 3703 - TSIG other_data field size according to RFC 2845 is 0 or 6. 3704 In tsig implementation put a maximum to the field of 16, 3705 otherwise a formerror results. 3706 - query with IXFR appended SOA not formerror. 3707 IXFR queries not reach the handler in axfr.c for IXFR queries. 3708 - removed annoying debug message of added tsig key. 3709 - added test that starts 7 servers in a mesh and lets them fight out 3710 what zones to transfer and serve. 3711 - xfrd logic bug: if notified a slave would not see the renewal 3712 of its current zone. 3713 37141 August 2006: Wouter 3715 - Test for remove domains with IXFR. 3716 - Fix for empty nonterminals and IXFR deletes. 3717 - Test for timeouts, including expiry, and expiry and zone updates. 3718 - Test for axfr refused authorisation. 3719 - Test for deadlock in ipc. 3720 372131 July 2006: Wouter 3722 - Test plan ixfr test in tpkg/long directory. 3723 - IXFR with many packets tested (one RR per packet). 3724 372528 July 2006: Wouter 3726 - tentative change, that preserves ordering of rrtypes for a domain. 3727 - fix for serial rollover (old_serial + 2**31), now works, is seen 3728 as new serial and rolled over to new. 3729 - serial numbers, and time values, printed as unsigned to logfile. 3730 - set so that if info is provided by operator, refreshing state 3731 not expired is used. 3732 - forgot to * a pointer to boolean, is_ixfr in the difffile reader. 3733 This fixes the testplan_ixfr test 1. 3734 373527 July 2006: Wouter 3736 - fixup desc of tsig xfer test, remove debug from xfr_huge. 3737 - fixed compressed dname tables cleanup, to set ptr to NULL. 3738 - initialised xfrd_listener.fd to -1. 3739 - fixed difffile handling of very short AXFRs, with no data. 3740 374126 July 2006: Wouter 3742 - Updated the requirements with comments from Olaf. 3743 - README discourages use of experimental nsec3 rr a bit more. 3744 - typo in DNAME code, used original qname instead of CNAME 3745 adapted qname variable. 3746 - added IPSECKEY RR type, RFC 4025. 3747 - tpkg test with sample ipseckey rrs. 3748 - wireformat for IPSECKEY depends on the value of a rdata atom, added 3749 WF_IPSECGATEWAY to handle that. 3750 - DHCID type, data is encoded in one binary/b64 blob. 3751 375225 July 2006: Wouter 3753 - max number of tries for nsd-notify is 15, so that the 3754 total time for sending is about 75 seconds. 3755 - forward port of fixes for bug 105 and 135 in nsdc. 3756 forward port of test for bug 105. 3757 - fixed nasty bug with configure --prefix=<...> where config.h 3758 was wrong. Now double evaluate the shell expansion on the defines. 3759 37605 July 2006: Wouter 3761 - helped in README with gnu make; need to make clean 3762 so that botched attempts by make to create the lexer files 3763 do not stay around. 3764 - removed %zd, replaced by casts to int. 3765 - updated REQUIREMENTS file, the sections on RR types, on what 3766 algorithm NSD follows and on which RFCs are supported are updated. 3767 37683 July 2006: Wouter 3769 - 'make depend' target in makefile. (updates both Makefile.in 3770 and Makefile, so it works for users and for svn). 3771 - doc minor update. 3772 37732 July 2006: Wouter 3774 - TESTPLAN, README, bugzilla-bugs docs updated. 3775 - NSD for BIND users update. 3776 377729 June 2006: Wouter 3778 - removed --zonesfile nsd.zones configure option. 3779 - doc/README updated for 3.0. 3780 - doc update. NSD_FOR_BIND_USERS document. 3781 - moved from -Ds to the config.h header, cleaner compilation output. 3782 - use autoconfs built in large file support enabler. 3783 378428 June 2006: Wouter 3785 - nsdc neater, checks for BLOCKED ips more strictly. 3786 - nsd -d also disables xfrd forking, and thus all reloads 3787 and secondary zone treatment. Stated so in manual page. 3788 - fixup, apart from ip4 need to allow ip6 in example.conf 3789 line showing how to allow access for everyone to axfr. 3790 379127 June 2006: Wouter 3792 - Fixed read in server.c to be a blocking read for sure, 3793 even if ipc is not blocking on the OS. 3794 - nsd-notify tries to send notify 5 times, then exits with error. 3795 - nsd-checkconf can lookup key secrets by name from a config file. 3796 - difffile option is always set in options struct with default 3797 or config value. 3798 - nsd-patch uses dnames to compare zone names (for trailing .). 3799 - nsdc updated to work with config file. 3800 380126 June 2006: Wouter 3802 - Nicer check in autoconf for struct timespec type. 3803 - NSEC3 next hashed ownername is a length byte followed by data. 3804 - nsd-checkconf more quiet, clearer error message. 3805 - NSEC3 does not complain about glue records without nsec3. 3806 - nsdc work (did start, stop, running, rebuild, restart, reload, stats). 3807 380821 June 2006: Wouter 3809 - nsid commandline parsed using hex_pton routine. 3810 - unit test for hex_pton. 3811 - added include stdlib, needed for free() on sunos4. 3812 - fixup of disable-ipv6 compilation. 3813 - memmove compat implementation (created fresh). 3814 - yy_set_bol() for old flex compat define. 3815 - compat implementation from openssh4.3p2 for 3816 strlcpy, inet_aton, and inet_ntop routines. 3817 - changed ctime_r usage to ctime() call, nsd is not threaded. 3818 - compiles on SunOS4/gcc-2.95. 3819 - debug statements go to the log_msg route instead of the 3820 fprintf route, so they will get to a nice logfile even if 3821 we forked away, with xfrd. logfile=/dev/stderr gives old way. 3822 - minor changes to cutest to make unit test compile 3823 on SunOS4/gcc-2.95, it checks out fine there. 3824 382520 June 2006: Wouter 3826 - updated configure to disable -O2 on platforms where gcc 3827 does not like it (such as dec-alpha). 3828 - nsd-notify used recvfrom and passed addrinfo.ai_addrlen 3829 which is a size_t, but recfrom needs a socklen_t*. On dec 3830 alpha these types differ in size (size_t is 64bit, 3831 socklen_t is 32bit). Therefore, used a wrapper variable 3832 to pass to recvfrom. 3833 - changed long int to time_t in nsd-patch.c to please compiler 3834 on dec alpha. 3835 - dec alpha complains if statements are in front of variable 3836 definitions. Fixed code for some mixups on this. 3837 - Fixup cutest for dec alpha. Code, lowercase filename, %lf->%f. 3838 - cutest fixup uses (size_t) cast and %zx to print ptrs (for debug). 3839 - for SunOS4 configure detects ssize_t and struct timespec. 3840 - removed usage of fpos_t, instead using fseeko/ftello for 64bit. 3841 - configure will define fseeko/ftello with fseek/ftell if unavailable. 3842 - added missing include from buffer.c (stdlib for free()). 3843 - defines for snprintf and vsnprintf in config.h if needed. 3844 - configlexer flex is called more cleanly with -t to write stdout. 3845 - missing include from configparser, stdlib for atoi. 3846 - config.h provide inet_pton define if it is not available. 3847 - fixup of INET6 defines, where sockaddr_storage is used 3848 outside of INET6 defines, in xfrd-tcp. 3849 - edns_init_nsid was not defined in edns.h. 3850 - added compat/fake-rfc2553.c and h from openssh 4.3p2. That has 3851 a BSD license as well. They replace getaddrinfo() (and friends) 3852 when those are missing. 3853 385419 June 2006: Wouter 3855 - updated the tpkg/manual tests for NSD 3 config files. 3856 Some need root privileges to run (using hping), they all pass. 3857 - also the tpkg/long test bug_sighup. 3858 - nsec3 code will warn at prehash time for missing exact nsec3 3859 records. So faulty signed zones are more easily spotted. 3860 - fixed NSEC3 and CNAME/DNAME chains, it will disprove the new qname. 3861 - removed for() look in CNAME processing, only first CNAME is 3862 processed now. 3863 - zonec will error on a zone with multiple CNAMEs for one name. 3864 386516 June 2006: Wouter 3866 - Swapped read and write ops in xfrd_handle_ipc, so that a read 3867 of a signal from main can stop further writes. 3868 - xfrd will complete its last message before shutting down 3869 the ipc writes and then acknowledge the reload-sync. 3870 This resolves the race where half of ipc messages caused bad 3871 modes from the main. 3872 387315 June 2006: Wouter 3874 - In preparation of notify send overhaul, moved the notify 3875 send code to xfrd-notify.c and h files. 3876 - created cleaner split of notify send and xfr code. 3877 Still in the xfr process, because it is a convenient location. 3878 - fixed bug where notify sending would read from wrong fd. 3879 - send master zone notifies. 3880 Does not skips master zone SOA INFO updates. 3881 - fixed bug where port number acls did not match. 3882 - fixed bug where tsig keys are checked for twice, but not error_code. 3883 - fixed notify send retry counting. 3884 - added test tpkg for notifies from nsd master to nsd slave. 3885 - nsd-checkconf flags if you set allow-notify without request-xfr. 3886 388714 June 2006: Wouter 3888 - fixed crash bug when dnssec/NSEC enabled and query DNAME 3889 target did not exist. 3890 389113 June 2006: Wouter 3892 - created doc subdirectory for documentation. 3893 - removed unused DIFF FILE MAGIC string. 3894 389512 June 2006: Wouter 3896 - dname_test tpkg with very extensive DNAME testing. 3897 - moved sizes of zone_name buffers to 3072 - for escaped names. 3898 - nsd-patch has a debug option to list the contents of the 3899 difffile/ixfr.db/transfer patch log in a journal fashion. You can 3900 then manually inspect the contents. 3901 39029 June 2006: Wouter 3903 - after a reload NSD will report the memory churn: number of bytes 3904 of memory wasted by the zone transfer code. 3905 39068 June 2006: Wouter 3907 - When zone is re-chosen after a CNAME/DNAME no SERVFAIL is set, 3908 noerror is returned instead. 3909 - zonec will error on multiple DNAMEs for the same name. 3910 - zonec will error on DNAME and CNAME together. 3911 - improved loop log message. 3912 39137 June 2006: Wouter 3914 - after DNAME the closest_match is set correctly for another DNAME. 3915 - in case of a loop returns gracefully instead of crash. 3916 - nsec3 checks if it is enabled for the zone for wildcards. 3917 - NSD will give referrals for zone cuts encountered after a CNAME 3918 or a DNAME. This also fixed various subtle stuff with CNAME/DNAME 3919 and TYPE_DS at zone cuts. It basically re-determines the zone 3920 to use after the CNAME/DNAME. 3921 39226 June 2066: Wouter 3923 - zonec checks for data below a DNAME, and will not create the db, 3924 as per rfc 2672. Tpkg test to make sure such a zone is not loaded. 3925 - updated rr-test tpkg so it has no data below a DNAME. 3926 - DNAME synthesis of CNAME records, including compression for cname. 3927 - included cname creation in dname test. 3928 - preallocate the extra temporary domain_type structures. 3929 - too many temp domains returns OK packet so that the resolver 3930 will recurse and ask us again with the last name in the chain. 3931 - fixed bug introduced in preallocation on temp domain numbering. 3932 39332 June 2006: Wouter 3934 - dname_replace function that does DNAME replace and unit tests. 3935 - added error codes from DNSUPD rfc2136 to constants in dns.h. 3936 - in query.c added DNAME following code. 3937 - fixed bug 134: hints[i] in nsd.c to hints[0]. 3938 - added tpkg small test for DNAME. 3939 - tpkg to test bug 134 (starts 100 processes). 3940 39411 June 2006: Wouter 3942 - tsig test with NSD master and NSD slave server. Tsig AXFR transfer. 3943 nsd-xfer used to test slave zone contents. 3944 - fixed bug where buffer_flip() is done before appending tsig rr. 3945 - version printed at start of nsd in logfile. 3946 - xfrd prints name of tsig key used during transfer in commit comments 3947 so it appears in the log file and in zonefile after nsd-patch. 3948 - prints RRs from diff file only if debug level >= 1. 3949 - scalable transfer test xfr_gig added, you can set the size to try 3950 in the .pre file. Now set very small. 3951 395231 May 2006: Wouter 3953 - xfrd check for failed updates. It compares the time it wrote the 3954 commit to disk with the time of the last reload command. 3955 Failed updates are restarted like the zone is notified of the soa. 3956 It also catches reloads that have been lost (reload cmd while reload 3957 is running, or a crashed reload process, for example). 3958 - when reload is issued, times at that second are put back one second, 3959 so that after a reload all the zones that should have been loaded 3960 have a time from before the reload. 3961 - if a reload crashes, NSD will continue with the old database, 3962 xfrd is not informed, since it cannot fix that. 3963 - nsd-checkconf strdups arg strings before writing to it. 3964 - tsig error replies contain error data, but no signature. 3965 also crashproof, badly formatted tsigs get a format error. 3966 - tsig error print knows about DNS rcodes in tsig error field. 3967 - added tpkg tests for tsig. 3968 - tpkg test for nsd-xfer with TSIG from nsd. 3969 - small stuff with makedist.sh, CREDITS, Features, make test. 3970 397130 May 2006: Wouter 3972 - tsig pre-allocs the rr_region, not at runtime, tsig_create_record(). 3973 - redid some region work for tsig. Now has another temporary region 3974 for the context data. User is only aware of the region passed at 3975 start that exists for the lifetime of the struct. 3976 During TSIG checks no more mallocs are done, only region_free_all 3977 and region allocs (of small size). 3978 - checkconf, port is stored as a string. 3979 - tsig now keeps a max_digest_size for giving reserved space. 3980 - AXFR does tsig every 96 packets (and first and last packet). 3981 - tsig signing works for all queries. SOA queries, ... 3982 If you configured the key in the config file, you can use 3983 that key for any query for any zone. 3984 Except for NOTIFY and AXFR queries; those are only allowed for 3985 the zone (and source ip address) which are configured in the config. 3986 - cleaner compile with tsig disabled. 3987 - fixed unknown key error reply in tsig. 3988 398929 May 2006: Wouter 3990 - The nonblocking write routines disable silently if they have 3991 nothing to do. 3992 - put xfrd read/write state routines (almost 500 lines of code) 3993 into xfrd-disk.c file. 3994 - little readme blurb on xfrd state file for the operator. 3995 - put ipc code in its own file for ease of reading. 3996 - removed --disable-axfr, you can control this via acls. 3997 With no provide-xfr: statements, a zone will not do axfr. 3998 399925 May 2006: Wouter 4000 - fixed reload sending; it checks for EAGAIN and EINTR. 4001 - reload sends parent quit command blocking to make sure of arrival. 4002 - send_children_quit in parent uses nonblocking writes and closes 4003 the pipe to signal the child to quit (even if the write does not 4004 come through, the closed pipe will cause the child to quit). 4005 - need_to_send_STATS flag in parent. 4006 - reload has its own ipc-listening handler in server_main. 4007 - nonblocking writes for server_main; this solved write-blocking race. 4008 - another race condition solved, if a process dies, half a read or 4009 write buffer could be left behind on another process. These are 4010 dropped. Now: 4011 * The server_main drops ipc from dead children. 4012 * The server_main drops ipc if xfrd dies. 4013 * The server_main drops xfrd(old) and all children ipc 4014 on reload. 4015 * The xfrd drops ipc to parent on a SOA_BEGIN from reload. 4016 So after reload, but parent and xfrd start with 4017 clean ipc buffers. 4018 401924 May 2006: Wouter 4020 - unit tests print progress while running to stderr. Included license 4021 of cutest with its source in svn repository. 4022 - stack type (for the IPC buffer of zone update dirty). And unit test. 4023 - only update zone-is_ok if needed to reduce memory copy on write. 4024 - split off conn_write() from xfrd tcp nonblocking write routines. 4025 - nonblocking writes for xfrd. 4026 402722 May 2006: Wouter 4028 - ported over minor nits from 2.3.5 NSD fixups. Cast to (void) 4029 unused function return values. 4030 - removed kill signal to children, superfluous due to quit cmd ipc. 4031 - moved is_ok for zones to the zone_type in namedb, not in 4032 the options, it is a runtime value not a config value. 4033 For zones that have no data, parent and children keep no state. 4034 403512 May 2006: Wouter 4036 - fixed up usage print for zonec to include -f option. 4037 - xfrd send notifies. 4038 - server no longer sends SOA INFO for master zones. 4039 - removed possible debug log print of a null string. 4040 404111 May 2006: Wouter 4042 - nsd.conf.sample shows defaults for ip4-only, ip6-only and debug-mode. 4043 - SOA_BEGIN message on start of reload sending soa info so that 4044 xfrd will not reply with expire-notifications and thus deadlock 4045 both on blocking writes (and no OS buffer on the pipes). 4046 404710 May 2006: Wouter 4048 - nsdc.sh is set +x after creation. 4049 - improved error message when zone in db has no config info. 4050 - support for broken nsec3 chains (if the one with the SOA bit 4051 is complete, it is OK for there to be other nsec3 chains 4052 with different parameters in the zone). 4053 40549 May 2006: Wouter 4055 - Fix for finding bad zone when populating SOA info on start. 4056 it would find a parent zone instead of the zone in question ( 4057 which is empty). 4058 - request-xfr: AXFR 10.0.0.153 keytouse syntax to interoperate 4059 with NSD machines. Will only send AXFR queries to the machine. 4060 - documented AXFR option in nsd.conf.5 manual page, 4061 and updated nsd-checkconf, nsd.conf.sample. 4062 - made 'skipping zone' log entry clearer (Sam Weiler asked). 4063 40648 May 2006: Wouter 4065 - updated zparser.y to handle empty nsec_seq lists. 4066 for empty nonterminals in NSEC3. 4067 - nicer without ambiguous grammar. 4068 40695 May 2006: Wouter 4070 - nsd-notify handles option -y key:secret to TSIG sign outgoing 4071 queries. 4072 - the acl checks now verify TSIG signatures on the query. 4073 - iterated_hash compiles with ssl disabled. 4074 - new ipc NSD_ZONE_STATE sent by xfrd to nsd process. notifies 4075 nsd of the state (ok or expired) of a zone. 4076 - reload process waits for the old server_main to exit to make 4077 sure there is no race condition listening to the NSD_ZONE_STATE 4078 messages generated when reload sends SOA_INFO to xfrd. 4079 - server_main and children all set zone_ok state in config options. 4080 also server_main so that newly forked children get the right state. 4081 - if a secondary zone is expired, NSD returns SERVFAIL. 4082 a transient error, so resolvers try again later. 4083 - SOA_END ipc message, sent by reload to xfrd, so it can repeat 4084 all zone states (which can have changed during reload). 4085 - zone_is_ok kept in config section so that state for zones 4086 without data is not lost. Those have no zone_type*. 4087 - secondary zones start in the expired state. 4088 - if expired zones are updated, then NSD gets the go ahead from 4089 xfrd after reload sends SOAINFO/SOAEND msg, so it is really 4090 updated in nsd memory. 4091 - fixed tpkg xfr_1 to have longer expiry times (from 0 and 3 4092 seconds to 2000 and 3000 seconds), so the zone does not expire 4093 during the test anymore. 4094 40954 May 2006: Wouter 4096 - when a new lease is acquired xfrd_packet_newlease result is used. 4097 - if a zone is lost in nsd db, xfrd will update state to match. 4098 - IXFR can use TSIG in queries and verify responses. 4099 - Fixed memory leak in xfrd tsig handling. 4100 41013 May 2006: Wouter 4102 - forward of 2.3.4 RELNOTES into trunk. 4103 - debug log statements to track xfrd request rounds. 4104 - removed memleak from handle_passed_packet in xfrd. 4105 - faster find_zone in difffile.c. 4106 - nsd-patch writes commit log entries into zone file. 4107 - took some tsig.c enhancements from 3 branch, 4108 -> if key or algo changes during connection, return bad_key, 4109 -> debug statement neater. 4110 - nsd adds tsig keys to tsig keyring at startup. 4111 41122 May 2006: Wouter 4113 - ifdef inet6 back on ss_family usage in server.c. 4114 - nsd-checkconf ip6 ifdefs improved. 4115 - xfrd tries servers 3 rounds, then waits for next retry. 4116 41171 May 2006: Wouter 4118 - off_t used for 64bit fileio. 4119 - searches for smallest unused part and sets diff_skip to that. 4120 - doc comment near the region_free_all for every query about 4121 malloc speed. 4122 - null ptr in strcmp does not work on bsd, fixed nsd-checkconf. 4123 - made nsd.conf.sample.in so the sample gets prefix-corrected. 4124 - removed nsd.zones.sample. 4125 - makedist.sh added manual pages for nsd-xfer nsd-patch. 4126 - install/uninstall nsd-patch, nsd-checkconf and manpage. 4127 small update readme. 4128 412928 Apr 2006: Wouter 4130 - ixfr >64k in xfrd. 4131 - fixed length of new commit parts. 4132 - fixed multiple ipc reads in xfrd. 4133 - fixed multiple packet ixfr read in diff file. 4134 Miek: 4135 - Forward port fixes for nsd-xfer and nsd-notify 4136 413727 Apr 2006: 4138 Wouter: 4139 - nsec3 review fixes. 4140 - diff file format expanded for >64kb transfer support. 4141 - diff reader adjusted for >64kb. 4142 Jelte: 4143 - small non-null options check in nsd.c. 4144 Miek: 4145 - updated nsd-checkconf for zone parse shell script support. 4146 414725 Apr 2006: Wouter 4148 - Tests on NSEC3 code. Fixed that the unsecure delegations also 4149 have _ds_ parent nsec3 prehashes, so that they get proper NSEC3s. 4150 NSD will serve NSEC3s to prove 'opt-out' also if the opt-out bit 4151 is (erroneously) not set. 4152 - For the 05pre2 draft section 5.4.8.1. QTYPE is NSEC3, only NSEC3 4153 RRsets at name. Fixed that RRSIGs present do not matter. 4154 And also the closest encloser proof in that case fixed. 4155 If wildcard exists below zone apex servfails (cannot disprove 4156 it and NSD cannot instantiate the wildcard at that point). 4157 415824 Apr 2006: Miek 4159 Miek: 4160 - forward port nsid (disabled by default) 4161 Wouter: 4162 - nsd-patch manual page. 4163 - minor MacOSX port fixes. 4164 - xfrd-reload-timeout: config option. 4165 - if you set the xfrd reload timeout to -1 it will not 4166 automatically reload after a transfer. User can reload. 4167 - reload timeout is a wait period after the reload is triggered. 4168 - more verbose acl logging. Validated acls are logged in detail. 4169 Invalid acls are only logged in debug mode, level >= 1. 4170 - log message when xfrd tcp connections max out. 4171 - if unknown NSEC3 hash type (not SHA-1), disable NSEC3. 4172 - xfrd randomizes the timeouts, within 10% of original, 4173 to spread out activity. Short timeouts < 10 seconds are not 4174 affected, and will give activity bursts (on startup for example). 4175 417621 Apr 2006: Wouter 4177 - put NSEC3 code in nsec3.c and nsec3.h. 4178 - iterated_hash only adds the salt if salt_len > 0. 4179 - added some assertions and cleanups to nsec3 code. 4180 - prehash also calcs the nsec3_last domain*. 4181 - dbaccess when reading in will set the rr_type.owner value. 4182 - changed namedb_find_zone to domain_find_zone, log msgs. 4183 - implemented logic from nsec draft 05-pre2 section 5.4.1 - 5.4.8. 4184 NSEC3 responses only happen for nsd compiled with --enable-nsec3 4185 and for zones where an NSEC3 with the SOA bit set exists. 4186 - added prehash pointer to ds parent side cover for opt out. 4187 - removed dynamic plugins. Dynamic plugin support is an explicit 4188 non-requirement (under creeping featurism). 4189 - in domain table create root nsec3 ptrs are NULL. 4190 419120 Apr 2006: Wouter 4192 - Unittest of base 32 encoding. 4193 - unittest start for iterated hash. 4194 - fixed for ctrlc in debug mode. 4195 - delete zparser_conv_long, not used, not needed 4196 - nsd-xfer will display NSEC3 correctly. zonec parses. 4197 - improved usage() line from zonec, about -c none, must be -C. 4198 - base32 printed in lowercase (canonical format for DNS). 4199 - NSEC3 added prehash pointers to the namedb. 4200 - NSEC3 autodetects presence of NSEC3 in zone and parameters. 4201 420219 Apr 2006: Wouter 4203 - port fix base10 in zonec conv short from 2_2 branch to trunk. 4204 and conv byte, algo, certificate, long. 4205 - configure option to enable NSEC3 (--enable-nsec3) support. 4206 - from Ben Laurie's NSEC3 patch, loaned the parse code, 4207 base32 conversion code and iterated_hash. 4208 With some small modifications. The type rrdescriptors are 4209 indexed by value below SPF, and in 4210 rdata_wireformat_to_rdata_atoms BINARYWITHLENGTH checks 4211 for end of buffer. Also parser checks for '-' salt. 4212 Some layout (spaces after ,s). And NSEC3 define is used. 4213 strtol used for iterations is base 10. 4214 - moved rrtype descriptor table sanity check to unittest. 4215 421618 Apr 2006: Wouter 4217 - Fixed check for SOA IN, bad ntohs in the check. 4218 - minimum timeout also enforced for very low expire times. 4219 - report the actual used length of the sockaddr to sento 4220 for FreeBSD. 4221 42227 Apr 2006: Wouter 4223 - modified the kill_nsd tpkg so that it waits up to 10x5 secs 4224 for nsd to make the pid file, and it wait up to 10x5 secs for 4225 nsd to exit after the kill signal is given. 4226 - xfrd checks on startup if there is trailing garbage in the 4227 diff file, left there by a previous xfrd killed in action. 4228 It then snips off any partial parts, so service can resume. 4229 Also the difffile_skip pos is set before any partial record there. 4230 - first version of nsd-patch; reads db and ixfrs and updates zones. 4231 - moved print_rdata from nsd-xfer to rdata.h to share code. 4232 - moved print_rr from nsd-xfer to util.h to share code. 4233 42346 Apr 2006: Wouter 4235 - notify handler passes acl number that matches to xfrd. 4236 - xfrd keeps a next_master for a zone, and sets it after notify. 4237 when notified nsd will try to contact the master that sent 4238 the notify, if send from an address that is both in acl 4239 allow-notify and request-xfr. 4240 - xfrd closes its tcp and udp sockets on exit. 4241 - default names for diff file and xfrd state nicer. 4242 - fixed up kill nsd grep on ps. 4243 - fixed up race conditions in test script for kill nsd 4244 wait for pid file creation by nsd, and grep -v grep in check. 4245 - in nsd signal-flags inherited from the parent are zeroed 4246 when a server_child starts. Also the server_child switches back 4247 to NSD_RUN mode when a bad mode happens. 4248 - check if ixfrs start from the version in memory. 4249 - if IXFR/AXFR ends in a serial that is newer than the serial 4250 that was sent in an notify, update the notified serial. 4251 42525 Apr 2006: Wouter 4253 - added lowerbound for retry timeout. 4254 - added extra assertions to xfrd-tcp.c, saying that the waiting line 4255 for tcp connections must be empty if the counter is below max. 4256 - setup so that the first master tried is the first in acl list. 4257 - diff file skips OPT and TSIG RRs if they are put into the answer 4258 section. 4259 - if IXFR contains an RR to delete that does not exist, nothing 4260 happens. 4261 - update zone for NS, RRSIG also if multiple RRs in the rrset. 4262 - difffile: create zone struct also if domain exists already. 4263 - difffile: destroy temp region on error. 4264 - difffile: in delete_RR, create temp region outside of the routine, 4265 so no alloc region, destroy region for every deleted RR. 4266 - difffile: for IXFR: do not delete final SOA RR. 4267 - difffile: unknown parts in file is an error. 4268 - difffile: EOF on last packet is ignored w/o giving an error. 4269 42704 Apr 2006: Wouter 4271 - Addes EACCES to the netio dispatch error bailout. 4272 - Removed EACCESS (probably due to log_msg), error on close 4273 xfrd pipe is small, main process closes its end, and hopes for 4274 the best). 4275 - review: return on error condition in xfrd_tcp_open fixed. 4276 - review: expired when time >= expire_time, so it will not wait 4277 for the retry after expire until it will detect the expiredness. 4278 - removed duplicate lines from xfrd_handle_zone_timeout. 4279 - review: copy of uint32_t using memcpy to avoid unaligned memory 4280 accesses. 4281 - review: fd=-1 removed from set_refresh_now; only does timer. 4282 - on a tcp timeout it will retry immediately (instead of waiting 4283 another retry timeout). This means if you set refresh_now, it will 4284 interrupt a tcp-timer for a fresh retry with the next master. 4285 - put null in buffer for xfrd read state. 4286 - log msg uses string that exists instead of overwritten buffer. 4287 - read entry sets refresh depending on current time, 4288 and makes sure not to check soa contents if none provided. 4289 added explanatory comments. 4290 - EACCES back in check. 4291 - server_main first checks for terminated children, then select(). 4292 So when select is interrupted, by kill or quitting children, 4293 it will first see if it has to quit itself, before restarting 4294 the children. 4295 - destroy tempregion xfrd read on error. 4296 - check for serial existence in xfrd_handle_incoming_soa. 4297 - handle_incoming_soa uses set_timer_refresh routine. 4298 and can handle expire times < refresh times. 4299 - log msg for udp socket() error. 4300 - review: xfrd_parse_soa_info email parse uses correct buffer spot. 4301 - added a lowerbound to refresh interval (=1 second now). 4302 - upon receipt of a IXFR, if the serial is older than the notified 4303 serial, the zone stays refreshing (but the ixfr is saved). 4304 43053 Apr 2006: Wouter 4306 - Added buffer length check to internal ipc. 4307 - split out packet_read_query_section from the process_query_section 4308 routine (and moved to packet.c/h). 4309 - xfrd reads passed packet via ipc. 4310 - ported over fix to 2_2 on missing rr types by removing the 4311 duplicate RRtype array, and using rrtype_to_string. 4312 - xfrd handles notifies. immediately starts updating. 4313 - xfrd state file format fix. 4314 - removed libwrap stuff - superseded by acls. 4315 use provide-xfr: statements for your zone in the config file. 4316 updated README for this. 4317 - updated tpkg tests for axfr to use provide-xfr: 127.0.0.1 NOKEY 4318 - review: move var create to start of function (xfrd_init()). 4319 432031 Mar 2006: Wouter 4321 - zone type has a pointer to zone options. 4322 - nsd options has an rbtree to find zone options in. 4323 - nsd checks acl for incoming notifies and replies 4324 error or confirmation. 4325 - nicer layout in options.c. 4326 - updated makefile dependencies. 4327 - fixed sz for SOA_INFO ipc, which was too small. 4328 - notify is sent to server_main, server_main sends it to xfrd. 4329 433030 Mar 2006: Wouter 4331 - include: documented in manual page. 4332 - MAXINCLUDES define in one place (config.h). 4333 - configure checks for strptime in include files. 4334 - use %d instead of %zd (sparc5 machine does not get zd). 4335 - use region_strdup in configlexer. 4336 - added a check for EINVAL in dispatch - will abort 4337 on the error instead of busy hang. 4338 433929 Mar 2006: Wouter 4340 - \r for config lexer. (similar changes to zonelexer). 4341 - forward port of fix to 2_2 branch: 4342 short int in var_arg is promoted to int, according to B. Laurie. 4343 The same logic for %o, %d %x would hold for %u I think. 4344 - in XFRD, soa prim_ns and email domain names are kept in a max 4345 size buffer. 4346 - split up dname_parse into parse from string to wireformat 4347 and parse from wireformat to memoryformat, so both can be called. 4348 - split up dname_make_from_packet into reading the wireformat 4349 from the packet and the dname_make, so both can be called. 4350 - xfrd reads all soa info from incoming xfr packets. 4351 - xfrd will ignore TC bit on tcp channels. 4352 - nsd sends xfrd all soa info, including ttl and dnames. 4353 - config file now has an include: filename directive. 4354 435528 Mar 2006: Miek 4356 - forward port fixes for zone compiler and \r. svn:1926-1927 4357 - add DO bit MASK and remove the !! construct 4358 435917 Mar 2006: Wouter 4360 - according to axfr-clarify, added comments that we check 4361 more leniently on further responses on a TCP stream. 4362 436316 Mar 2006: Wouter 4364 - Fixed up SOA INFO Send routines. Send from server works. 4365 - niced up xfrd state file. 4366 - Fixed up so that after a reload it will continue in diff file 4367 where it left off. 4368 - made send of SOA info use write_socket, in case of short writes. 4369 - redesigned xfrd_tcp_read to use the same code for ipc read. 4370 - no free()s before xfrd exit. 4371 - xfrd handles incoming SOA INFO ipc packets. 4372 - removed debug, updated zones get SOA INFO sent. 4373 437415 Mar 2006: Wouter 4375 - Fixed up domain table insert, it was being used in routines 4376 that originate from nsd-xfer that do not set compression numbers 4377 correctly. 4378 - memleak fix in difffile in case of error. 4379 - difffile processing works so that NSD can read an axfr saved 4380 into the nsd.diff file. (xfrd already request and save it there). 4381 - split off xfrd tcp handling into xfrd-tcp.c. 4382 - cleaned up send_udp in xfrd, and read_state. 4383 - removed xfrd tcp_send_blocking. 4384 - xfrd sets state from ok to refresh to expired based on timeout. 4385 - xfrd sets reload timeout. 4386 - Added zone updated to keep track of zones that are changed 4387 after a reload. These zones get their information notified 4388 to xfrd. 4389 - removed unused zprintrr declaration from zonec.h 4390 - nsd sends soa information to xfrd. 4391 439214 Mar 2006: Wouter 4393 - TODO updated 4394 - worked on reload ixfr. It will add/delete RRs and zones. 4395 - xfrd receive parse of xfr messages improved. writes commit. 4396 - server compressed_dname_offsets table is increased if reload 4397 creates extra names. 4398 - difffile will create zone and apex if not there (i.e. the zone 4399 is configured but no data file provided). 4400 - bit more verbose in error message for bad diff file. 4401 - Typo fix in sample config file. 4402 440313 Mar 2006: Wouter 4404 - configure sets fseek (fgetpos/fsetpos) to use 64 bit interface 4405 with _FILE_OFFSET_BITS=64. 4406 - nsd will skip loading the .db if the DB checksum is the same. 4407 - Miek added trace test and nsd kill test. 4408 - Wouter worked on diff file c. 4409 441010 Mar 2006: Wouter 4411 - Cleanup of UDP/TCP code in XFRD. 4412 - xfrd now has tcp max connections and managing. tcp read/write. 4413 - response TC on UDP ixfr, starts TCP. 4414 - sends correct ixfr and axfr queries, a bind server answers. 4415 - made packet_skip_dname() public. 4416 - sets read/write event flags for tcp fd right. 4417 44189 Mar 2006: Wouter 4419 - Removed header from DIFF file format. CRC not that important there, 4420 you have to check the packets anyway. 4421 - cutest rbtree removed unused clean_rbtree and always_fail routines. 4422 - xfrd timeout handler, more work. Checks expire. 4423 44248 Mar 2006: Wouter 4425 - xfrd sends UDP xfr request to master(s) with timeouts, and stores 4426 returned data on disk. 4427 - updated dependencies and declaration of write_soa_buffer. 4428 44297 Mar 2006: Wouter 4430 - Fixed printfs for size_t warnings on Mac OsX. 4431 44326 Mar 2006: nsd-team 4433 * Wouter: xfrd read and write work. Statefile is "nsd.xfst". 4434 * Wouter: nsd-checkconf checks dname parse of zone name:. 4435 * Wouter: updated difffile in parser.y, production in server: clause. 4436 * Wouter: zonec now takes -C for 'no config file' option. 4437 * Wouter: updated configyyrename.h for bison 1.875d on sparc. 4438 * Miek: zonec -h and nsd -h exit with exit code = 0. 4439 * Miek & Wouter: updated tpkgs to work again. 4440 * Wouter: xfrd read handle soas, handle soa_incoming part. 4441 * Wouter: moved compare_serial() from nsd-xfer to util.h. 4442 44434 Mar 2006: Wouter 4444 - xfrd zone and soa memory structure definitions. 4445 - xfrd init zones. 4446 - xfrd read and write state file code. 4447 - option for difffile: and xfrdfile: config lines. 4448 44493 Mar 2006: Wouter 4450 - Removed double kill after reload. Only socket cmd send. 4451 - Added code to handle race condition where xfrd is restarted 4452 during a successful reload. Afterwards, the new server_main 4453 only has the old xfrd pid, new xfrd is an orphan. 4454 Solution: when xfrd closes cmd channel (i.e. it quit) 4455 unexpectedly, send sighup to all processes in the group. 4456 This should quit the orphan & all children & reload the 4457 server_main, which will fork the children and xfrd again. 4458 44592 Mar 2006: Wouter 4460 - Added nsd-checkconf.8 to makedist.sh replace list. 4461 - DIFF file format updated. 4462 - removed tsigkey->server value, it was read in, but unused. 4463 - new function to add config file keys to tsig. 4464 - nsd-checkconf checks parsing of keys. 4465 - Updated sample key file with valid keys. 4466 - added first xfrd files. xfrd is started from server_main. 4467 xfrd listens to server and server to xfrd. xfrd is restarted 4468 if it dies unexpectedly. xfrd quits when server signals it. 4469 xfrd survives nsd reloads. 4470 - nsd_options no longer global variable. 4471 44721 Mar 2006: Wouter 4473 - Nicer text in nsd.8. 4474 - nsd.c prettier code in option handling. 4475 - zonec.c code prettier in option handling, also chdir bug removed. 4476 zonec uses the zone definitions in the config file. 4477 updated zonec.8 and usage(). 4478 - nsd also chdirs to the zonedir, otherwise nsd and zonec would 4479 try to read the database: file from different directories. 4480 .(it does the chdir before the chroot call.) 4481 - new calling syntax for zonec and nsd, because of new config file. 4482 - options added acl acceptance tests (no tsig yet). 4483 - added unit test for options.c - for acl tests. 4484 - zonec removed unused vars, nsd-checkconf print arguments. 4485 - nsd-checkconf.8 manual page. 4486 448728 Feb 2006: Wouter 4488 - checked in options.h and config parser code. 4489 - also nsd-checkconf that will test a config file 4490 .(and optionally show what was read). 4491 - default identity has a spelling error. 4492 - Small fix (typo in example) to config manual page. 4493 - Added ; to configparser.y to please bison 1.75 on bsd. 4494 - Will check for blocked addresses in outgoing acls. Also ranges. 4495 - Check configuration tpkg test added. Uses checkconf. 4496 - checkconf does extra semantic tests. i.e. enable absent features. 4497 - tcpcount and servercount cannot be negative. 4498 - updated nsd.conf.5 manpage for @port syntax. 4499 - changed config parser: allows empty server: part (defaults). 4500 - made nsd.conf.sample file. 4501 - put option to configure for CONFIG_FILE nsd.conf location. 4502 Note. Already nsdc.conf exists. Both exist now. 4503 - updated makefile dependencies (gcc -MM). 4504 - getopt optstring in nsd-checkconf updated ("v" only option). 4505 - Added config .o files to nsd and zonec. This compiles. 4506 - Added commandline option -c configfile to zonec and nsd. 4507 configure defaults < configfile < commandline options in importance. 4508 450924 Feb 2006: Wouter 4510 - Added compute_crc in util.h and unit tests for it. 4511 - in cutest.tpkg the number of unit tests was hardcoded 4512 in the tpkg package. Removed the dependency, cutest exit 4513 value indicates if any failures happened. 4514 - Added crc at end of NSD-database format. Unique per db. 4515 upped db version to 7 because of this. 4516 - Tested that crcs are big/little endian correct. 4517 - Added DIFF file spec 4518 - updated tpkg213 which compares md5 on a zonefile for new format. 4519 - added nsd.conf.5 manual page with a draft contents. 4520 452122 Feb 2006: nsd-team 4522 * Miek: Changed over to Cutest testing framework. 4523 * Miek: fixed typo in netio.h 4524 * Miek: fix syntax in rbtree.c put functions on multiple lines. 4525 * Miek: unit test tpkg for cutest. 4526 * Wouter: fixed ptr bug in rbtree unit test. 4527 452817 Feb 2006: Wouter 4529 - rbtree_delete is added and works. Unit tests are there too. 4530 - Changed tail recursion in rbtree_delete to while loop. 4531 - Tagged this version as NSD_3_signalsocket_solution. 4532 It is the stable 2_2 branch with cleanups, portable, and 4533 signalhandler solution by socket communication redesign. 4534 453515 Feb 2006: nsd-team 4536 * Wouter: Fixed server_child would wait for two kill signals before quit. 4537 * Miek: don't check for port==0 pkt, just try to send them. 4538 Forward Port of 2.3. 4539 * Wouter: Removed unused, not substituted, @nsdxfer@ from Makefile.in. 4540 454114 Feb 2006: Wouter 4542 - Added unit tests for rbtree. Extensive testing of all functions. 4543 - Added tpkg unit test. 4544 - configure tests for CUnit(optional lib for unit tests). Makefile 4545 cleanup so it works on non-gmake on freebsd. 4546 454713 Feb 2006: Wouter 4548 - Removed timespec_add(current_time) in server_main, the timeout was 4549 relative, not absolute. This fixes EINVAL on the timeout on freebsd. 4550 - Added check in configure for compiler flags. Used for -Wextra. 4551 - Added check in configure for va_list definition conflict between 4552 stdio and stdarg. This happens on DEC Alpha/Debian. 4553 - removed --enable-mmap configure option. There is no mmap support 4554 in the current codebase. 4555 - renamed local prev to next in domain_next() in namedb.h. 4556 - Removed heap.h. It was not used. Heap and rbtree are mingled anyway. 4557 - in netio.c, in dispatch, it would store the next pointer 'in case 4558 the handler removes itself'. But if the handler removes that next. 4559 Then it would fail. So stored the next in struct netio. 4560 This removes a potential bug. Netio_dispatch is not reentrant. 4561 Reentry would need a list of iterator* in struct netio. 4562 - Changed process_query() to server_process_query(). It is too 4563 similar to query_process(). 4564 456510 Feb 2006: nsd-team 4566 * Wouter: Improved configure.ac to detect pselect in sys/select. 4567 The check works on freebsd(yes) and fedoracore 3 and 4 (no). 4568 I hope it also works on Solaris. 4569 Also various other prototypes were implicit: chroot, strptime, ... 4570 These are also solved. 4571 * Wouter: Checked configure on sparc5(solaris). Added check for 4572 ctime_r in time.h (for tsig.c). This conf also works on freebsd/linux. 4573 * Wouter: Updated dependencies in makefile for plugin headers. 4574 These are included only when --enable-plugins is present. 4575 * Wouter: Added a send quit over socket to kill commands in server_main, 4576 These act when the fork children fails. If the kill fails, the 4577 socket command hopefully still works. 4578 * Wouter: Put reload code into a separate function. It communicates with 4579 a socket to the old parent, and sends it a quit command. This works 4580 and terminates the old nsd. Left in the kill as a double failsafe. 4581 If the reload process dies, then the parent closes the socket. 4582 * Wouter: Separated the signal mode from the socket-determined nsd->mode. 4583 Every signal function has a variable, so that multiple signals can 4584 arrive. Only the number of signals of the same type is lost, but not 4585 important for nsd. The signals are handled in turn by the run loop. 4586 This completes the coding to remove signal race conditions: 4587 - nsd uses sockets to communicate with its subprocesses(server,reload). 4588 - signal handler routine contains no lengthy system calls. 4589 - signals cannot overwrite a previous signal. 4590 * Wouter: fixed problem where nsd->mode and mode are different in 4591 server_main. Nsd would kill the children, but then restart them again. 4592 459309 Feb 2006: nsd-team 4594 * Wouter: Updated dependencies in Makefile (regenerated them with gcc -MM). 4595 * Wouter: Used splint on the source (with settings to reduce spam.) 4596 And came to the following changes: 4597 - In util.h, make it respect HAVE_CONFIG_H and HAVE_SYSLOG_H. 4598 Also it now defines fallback values for #defines in syslog h. 4599 - Added explicit cast to (unsigned int) in snprintf in dname.c, 4600 dname_to_string routine. 4601 * Wouter: Used extra warnings during gcc compile. -Wextra -Wall 4602 -pedantic -Wbad-function-cast -Wmissing-declarations 4603 -Wmissing-prototypes -Wnested-externs -Wold-style-definition 4604 -Wstrict-prototypes -Wdeclaration-after-statement. 4605 Using -Wtraditional gives too many warnings. 4606 * Wouter: Found a problem with pselect. sys/select.h does not by default 4607 provide the pselect function definition. configure script is 4608 adjusted to test for this and enable _XOPEN_SOURCE=600 to get it. 4609 Found this using the gcc warnings. 4610 * Wouter: dname and rbtree test apps were in make clean target, but 4611 do not exist anymore. Removed from make clean target. 4612 * Wouter: in util log_file() the epoch time_t is passed to printf 4613 without an int cast. Found using extra gcc warnings. 4614 * Wouter: In server.c fixed some signed-unsigned comparisons 4615 using the extra gcc warnings. 4616 - in shutdown and int was used instead of size_t. 4617 - in server_main timeout(signed) was compared with unsigned. 4618 - unused variable in new handler functions. 4619 - in handle_child_command int i instead of size_t was used. 4620 - in zonec the process_rr routine was missing (void) as paramlist. 4621 * Wouter: Added -Wall and -Wextra when --enable-checking is enabled. 4622 * Miek: Ported over the big fat enable checking configure warning. 4623 * Wouter: fixed configure check for pselect on freebsd. 4624 462508 Feb 2006: nsd-team 4626 * Wouter: In server.c also sockets from unexpectedly dead childs are closed. 4627 * Wouter: in nsd.c and server.c cleaned out the signal handler, so that 4628 it only includes two switch/if statements and alters only the mode. 4629 No more calls to alarm(), waitpid(), write(), log_msg(). 4630 Instead the work is done in the runloop in server.c and sent by socket. 4631 Also the parent now waits for children. Parent restarts them. 4632 * Wouter: Fixup, the children will quit if the parent closes the command 4633 socket. If parent is killed, they will exit too. 4634 * Wouter: The server_main now listens to children command channels. 4635 Included timeout to check for terminated processes. 4636 Test says that new signal handler works, and child->parent comm. 4637 463807 Feb 2006: nsd-team 4639 * Miek: configure.ac version to 3.0.0 4640 * Miek: looked at: buffer.{ch}, answer.{ch}, dns.{ch} 4641 those files don't have any changes, except for dns.{ch} for the 4642 explicit compression. 4643 * Miek: looked at: zlexer.lex and zparser.y; only changes there 4644 for the database changes. 4645 * Wouter: Changed buffer in write_pid from 16 bytes to 32 bytes, 4646 this makes 64 bit numbers fit in the buffer. 4647 * Wouter: Socket connection between parent and child nsds added. 4648 But sighandler now in worse shape. Need to close them. Remove kills. 4649 * Wouter: close the parent and child command channel sockets in shutdown(). 4650