129 November 2023: Wouter 2 - Tag for 4.8.0rc1. 3 428 November 2023: Wouter 5 - Set up doc/RELNOTES for upcoming release. 6 - Fix unit test kill_from_pidfile function for nonexistent files 7 because the argument is evaluated before the test expression. 8 - Fix rr-test to also convert the contents of the just written output 9 file. 10 - Fix test set to remove -f nsd.db and rm nsd.db commands. 11 - Fix test set to remove difffile option. 12 1327 November 2023: Jeroen 14 - Fix #14: Set timeout to 3s when servicing remaining TCP connections. 15 - Fix: Always instate write handler after reading queries from TCP. 16 - Answer first query on connections accepted just before reload. 17 1827 November 2023: Wouter 19 - Merge #305: faster stats. Statistics can be gathered while a reload 20 is in progress. 21 2227 November 2023: Willem 23 - Merge #302: Test package fixes. Correct Auxfiles, kill_from_pidfile 24 function and fix drop_updates, rr-test and xfr_update tests. 25 261 November 2023: Jeroen 27 - Remove on-disk database. 28 2931 October 2023: Wouter 30 - Merge #301: improve the logging of ixfr fallbacks to axfr. 31 3230 October 2023: Jeroen 33 - Fix processing of consolidated IXFRs. 34 3530 October 2023: Wouter 36 - Fix for interprocess communication to set quit sync command from 37 main process explicitly. 38 393 October 2023: Wouter 40 - Merge #281: Proxy protocol. An implementation of PROXYv2 for NSD. 41 It can be configured with proxy-protocol-port: portnum with the 42 port number of the interface on which proxy traffic is handled. 43 The interface can support proxy traffic for UDP, TCP and TLS. 44 4521 September 2023: Wouter 46 - Merge #295: Update e-mail addresses, add ref to support contracts 47 4831 August 2023: Wouter 49 - Fix autoconf 2.69 warnings in configure. 50 5114 July 2023: Wouter 52 - Merge #287: Update nsd.conf.5.in. 53 5411 July 2023: Wouter 55 - Fix unused variable warning in unit test of udb. 56 5722 June 2023: Wouter 58 - Fix #284: dnstap_collector.c: SOCK_NONBLOCK is not available on 59 Mac/Darwin. 60 617 June 2023: Wouter 62 - Merge #282: Improve nsd.conf man page. 63 - Fix unused but set variable warning. 64 - Fix #283: Compile failure in remote.c when --disable-bind8-stats 65 and --without-ssl are specified. 66 6731 May 2023: Wouter 68 - Add missing items to doc/RELNOTES. 69 - Tag for 4.7.0rc1. It became release 4.7.0 on 7 june 2023. The code 70 repository continues with 4.7.1. 71 7230 May 2023: Jeroen 73 - Fix #240: Prefix messages originating from verifier. 74 - Fix #275: Drop unnecessary root server checks. 75 7630 May 2023: Wouter 77 - Next version is 4.7.0, instead of 4.6.2, because of the added 78 features, like TLS for DNSTAP. 79 - Fix unused variable warning in unit test, from clang compile. 80 8124 May 2023: Wouter 82 - For #279: Note that autoreconf -fi creates the configure script 83 and also the needed auxiliary files, for autoconf 2.69 and 2.71. 84 854 May 2023: Wouter 86 - Fix to remove unused whitespace from acx_nlnetlabs.m4 and config.h. 87 881 May 2023: Wouter 89 - make depend. 90 - Fix for build to run flex and bison before compiling code that needs 91 the headers. 92 9313 April 2023: Wouter 94 - Fix cirrus script for submit to coverity scan to libtoolize 95 the configure script components config.guess and config.sub. 96 - Fix readme status badge links. 97 9828 March 2023: Wouter 99 - Fix #273: Large TXT record breaks AXFR. 100 - Fix ixfr create from adding too many record types. 101 10216 March 2023: Wouter 103 - Fix include brackets for ssl.h include statements, instead of quotes. 104 - Fix static analyzer warning about nsd_event_method initialization. 105 10615 March 2023: Wouter 107 - Dnstap tls code fixes. 108 10914 March 2023: Wouter 110 - Fix dnstap to not check socket path when using IP address. 111 - dnstap over TLS, default enabled. Configured with the 112 options dnstap-tls, dnstap-tls-server-name, dnstap-tls-cert-bundle, 113 dnstap-tls-client-key-file and dnstap-tls-client-cert-file. 114 - Fix to compile without ssl with dnstap-tls code. 115 1169 March 2023: Wouter 117 - Fix #271: DNSTAP over TCP, with dnstap-ip: "127.0.0.1@3333". 118 - Fix to clean more memory on exit of dnstap collector. 119 12023 February 2023: Wouter 121 - Fix #270: reserved identifier violation. 122 12320 February 2023: Wouter 124 - Merge #269 from Fale: Add systemd service unit. 125 12616 February 2023: Wouter 127 - Fix #266: Fix build with --without-ssl. 128 - Fix #267: Allow unencrypted local operation of nsd-control. 129 - Fix for #267: neater variable definitions. 130 1312 February 2023: Wouter 132 - Merge #265: Fix C99 compatibility issue. 133 13430 January 2023: Wouter 135 - Merge #263: Add bash autocompletion script for nsd-control. 136 - Fix for #262: More error logging for SSL read failures for zone 137 transfers. 138 13927 January 2023: Wouter 140 - Fix #262: Zone(s) not synchronizing properly via TLS. 141 - Fix ixfr_and_restart test to wait for processes to come to a stop. 142 14326 January 2023: Wouter 144 - Fix configure for -Wstrict-prototypes. 145 14610 November 2022: Wouter 147 - Tag for NSD 4.6.1, the repository continues with version 4.6.2. 148 - Fix #239: -Wincompatible-pointer-types warning in remote.c. 149 - Fix unit tests to succeed with --disable-bind8-stats. 150 1511 November 2022: Wouter 152 - Fixup for non-trailing newline lexer change warnings. 153 - Update doc/RELNOTES for changes. 154 - Fix ixfr_gone unit test to not use system default zone list file. 155 - Fix credns tests for vm usage, and not use system default zone 156 list file. 157 - Fix verify tests to use more portable bash location in script. 158 - Fix verify_again test to use ipv4 address for test. 159 1601 November 2022: Tom 161 - Add SVCB dohpath support 162 16328 September 2022: Jeroen 164 - Set ALPN "dot" token during connection establishment as per RFC9103 165 section 7.1 (Thanks Cesar Kuroiwa). 166 16721 September 2022: Tom 168 - Change zone parsing to accept non-trailing newline. 169 1701 September 2022: Wouter 171 - Merge #231 from moritzbuhl: Fix checking if nonblocking sockets work 172 on OpenBSD. 173 17419 August 2022: Wouter 175 - Update cirrus build script for newer Ubuntu image, and FreeBSD 176 build with libtoolize to install auxiliary files. 177 - Update to clang 14 in cirrus build test on Ubuntu Jammy 22.04. 178 1797 July 2022: Tom 180 - Fix #212: Change commandline control actions to always log. 181 1821 July 2022: Wouter 183 - Fix static analyzer reports, fix wrong log print when skipping xfr, 184 fix to print error on pipe read fail, and assert an xfr is in 185 progress during packet checks. 186 18723 June 2022: Wouter 188 - Tag for 4.6.0rc1. It became 4.6.0 on 30 June 2022, and it continues 189 with version 4.6.1. 190 19117 June 2022: Wouter 192 - Fix compilation with libev, without event_base_loopbreak. 193 19416 June 2022: Wouter 195 - Fix that the unit test verify_repat cleans up nsd on exit. 196 - Fix to remove ixfrcreate.c asserts about uint16 within limits 197 because of warnings from analyzers. 198 19914 June 2022: Wouter 200 - Fix compilation without libevent and compilation of nsd-mem. 201 - Fix verify handler add of sigchld event for compilation without 202 libevent. 203 2043 June 2022: Wouter 205 - Fix static analyzer reports on ixfrcreate temp file. 206 - Fixup wrong ixfrcreate fread return check. 207 20813 May 2022: Wouter 209 - The code repo continues with version 4.5.1. 210 2116 May 2022: Wouter 212 - Merge PR #209: IXFR out 213 This adds IXFR out functionality to NSD. NSD can copy IXFRs from 214 upstream to downstream clients, or create IXFRs from zonefiles. 215 The options store-ixfr: yes and create-ixfr: yes can be used to 216 turn this on. Default is turned off. The options ixfr-number and 217 ixfr-size can be used to tune the number of IXFR transfers and 218 total data size stored. This is configured per zone, the IXFRs 219 are served to the hosts that are allowed to perform zone transfers. 220 And if TSIG is configured, signed with the same key. The content 221 is stored to file if a zonefile is configured for the zone, in 222 the zonefile.ixfr and zonefile.ixfr.2, .. files. They contain 223 readable text format. The number of IXFRs is num.rixfr in 224 statistics output, also per zone if per zone statistics are enabled. 225 If offline, nsd-checkzone -i can create ixfr files. 226 NSD already supports requesting IXFRs, this addition allows NSD 227 to serve IXFR transfers to clients. 228 NSD stops responding with NOTIMPL to IXFR requests, also for zones 229 that do not have IXFR enabled. The clients gets a full zone reply 230 or a status reply if the serial is up to date. 231 - set version to 4.5.0 for feature change. 232 - Tag for 4.5.0rc1 release. It became the 4.5.0 release on 13 May 2022. 233 23414 April 2022: Wouter 235 - Update cirrus script FreeBSD version. 236 23725 March 2022: Wouter 238 - Fix spelling error in comment in svcbparam_lookup_key. 239 2402 March 2022: Wouter 241 - Fix code analyzer zero divide warning. 242 - Fix code analyzer large value with assertion. 243 - Fix another code analyzer zero divide warning. 244 - Fix code analyzer warning about uninitialized temp storage in loop. 245 24610 February 2022: Wouter 247 - Tag for 4.4.0rc1 release. This became 4.4.0 release on 17 Feb 2022, 248 the code repository continues with version 4.4.1. 249 2509 February 2022: Wouter 251 - Fix unit tests for nds-control-setup exit code and the 252 xfrd-tcp-max default. 253 2547 February 2022: Wouter 255 - Merge #207 Sync nsd-control-setup with unbound-control-setup to 256 generate certificates with SANs. 257 25828 January 2022: Wouter 259 - Fix #206: build with --without-ssl fails. 260 26127 January 2022: Wouter 262 - current code branch continues as version 4.4.0, because of added 263 feature. 264 26526 January 2022: Wouter 266 - Merge #193: Lower memory usage of the XFRD process by default. 267 Instead of preallocating all elements, they are allocated when used. 268 There are options for managing the memory usage, defaults are the 269 same as before. xfrd-tcp-max sets the number of sockets for tcp 270 connections that xfrd can make to download zone contents. And 271 xfrd-tcp-pipeline the number of simultaneous transfers over the 272 same connection. 273 27412 January 2022: Wouter 275 - Fix to document nsd-checkzone -p in the man page for nsd-checkzone. 276 2777 January 2022: Wouter 278 - Fix to change file mode before changing file owner for the 279 nsd-control unix socket file. 280 2813 January 2022: Wouter 282 - Merge #204 from jonathangray: correct some spelling mistakes. 283 28415 December 2021: Wouter 285 - Fix #200: nsd-checkzone succeeds even with incorrect serial in SOA 286 record. 287 2882 December 2021: Wouter 289 - Fix socket_partitioning unit test for FreeBSD. 290 - Fix SVCB test to work around older dig with drill. 291 - Fix unit test to not syslog setlogin failures. 292 2931 December 2021: Wouter 294 - Set up for branch for 4.3.9 release. 295 This became release 4.3.9 on 9 Dec 2021 and included the changes 296 until the SVCB fix on 2 dec 2021, but not the setlogin fix. 297 The main branch continues as 4.3.10. 298 - Fix unit tests for new answer-cookie default. 299 30030 November 2021: Wouter 301 - Fix to remove git tracking and ci information from release tarballs. 302 3033 November 2021: Wouter 304 - Fix #198: nsd-control reconfig core dump. 305 30612 October 2021: Wouter 307 - Tag for 4.3.8 release, from 4.3.8rc2. The main branch continues 308 with version 4.3.9 in development. 309 3107 October 2021: Wouter 311 - Set default for answer-cookie to no. Because in server deployments 312 with mixed server software, a default of yes causes issues. 313 - Tag for 4.3.8rc2, includes the new answer-cookie default. 314 3154 October 2021: Wouter 316 - Tag for 4.3.8rc1. 317 31829 September 2021: Wouter 319 - Fix unit tests for svcb and xot to not touch the default 320 zonelistfile. 321 - Fix unit test for xot tertiary config for zonelistfile default. 322 - Fix unit test for dns-cookies for no unshare, and allow-query 323 for no IPv6 loopback. 324 - Fix unit test allow query to check for IPv6. 325 32622 September 2021: Wouter 327 - Fix #194: Incorrect NSEC3 response for SOA query below delegation 328 point. 329 33013 September 2021: Wouter 331 - Fix compile failure with openssl 1.0.2. 332 3333 September 2021: Wouter 334 - Fix not reachable annotation in radix_find_prefix_node. 335 33631 August 2021: Willem 337 - Fix #191: dname_parse_wire() returns fqdn wireformat length. 338 33926 August 2021: Wouter 340 - Fix #190: NSD returns 3 NSEC3 records for NODATA response. 341 34223 August 2021: Wouter 343 - Fix #189: nsd 4.3.7 crash answer_delegation: Assertion 344 `query->delegation_rrset' failed. 345 34617 August 2021: Wouter 347 - Fix #188: NSD fails to build against openssl 1.1 on CentOS 7. 348 - Fix sed script in ssldir split handling. 349 35013 August 2021: Wouter 351 - Merge #187: Support using system-wide crypto policies. 352 35310 August 2021: Wouter 354 - Merge #185 by cesarkuroiwa: Mutual TLS. 355 - Fixes for #185: Document client-cert, client-key and client-key-pw 356 in the man page. Fix yacc semicolon. Fix unused variable warning. 357 Use strlcpy instead of strncpy. Fix spelling error in error 358 printout. 359 3602 August 2021: Wouter 361 - Quieter tpkg/do-tests shell script with -q flag. 362 - For #184: Note that all zones can be targeted by some nsd-control 363 commands in the man page. 364 36530 July 2021: Wouter 366 - Move acx_nlnetlabs.m4 to version 41, with lib64 openssl dir check. 367 - Fix to compile with OpenSSL 3.0.0beta2. 368 - Fix configure detection of SSL_CTX_set_security_level. 369 - Fix deprecated functions use from openssl 3.0.0beta2. 370 37123 July 2021: Wouter 372 - Fix free on shutdown of XoT SSL context. 373 37422 July 2021: Wouter 375 - tag 4.3.7 release, with the fixes between rc1 and this release. 376 - main branch continues for 4.3.8. 377 37820 July 2021: Wouter 379 - Fix typo in xfrd-tcp.c. 380 38115 July 2021: Wouter 382 - tag for 4.3.7rc1. 383 - Fix compile of cookies on FreeBSD without IPv6. 384 - Fix for loop initial declaration for nonc99 compiler. 385 38614 July 2021: Wouter 387 - Fix truncate test for EDNS COOKIE making one less RR is added. 388 - Attempt to fix gcc11 warning. 389 39013 July 2021: Willem 391 - Fixes for child server processes getting out of sync with the 392 dnstap-collector process 393 39413 July 2021: Willem 395 - Interoperable DNS Cookies support as per RFC7873 and RFC9018 396 3979 July 2021: Willem 398 - Client side DNS Zone Transfer-over-TLS (XoT) support as per 399 draft-ietf-dprive-xfr-over-tls 400 40129 June 2021: Willem 402 - Fix #168: Buffer overflow in the dname_to_string() function 403 40414 June 2021: Wouter 405 - Update configure nonblocking test to use host. 406 40725 May 2021: Wouter 408 - Fix #179: log notice and server-count. 409 41021 May 2021: Wouter 411 - Test code has -q option for quiet output. 412 41317 May 2021: Wouter 414 - Update the ACX_CHECK_NONBLOCKING_BROKEN test for the configure 415 script. 416 4177 May 2021: Wouter 418 - Fix #176: please review Loglevel on missing zonefile. 419 4206 May 2021: Wouter 421 - Fix #174: NS Records below delegation are not ignored (nsd-checkzone 422 also does not raise any issue). 423 4244 May 2021: Wouter 425 - Fix SVCB sort call sizeof to be the size of the elements sorted. 426 42729 April 2021: Tom 428 - Implement Syntax of SVCB and HTTPS RR type as per draft-ietf-dnsop-svcb-https 429 43013 April 2021: Wouter 431 - Fix for #128: Skip over sendmmsg invalid argument when port is zero. 432 - Fix #171: Invalid negative response (NSEC3) after IXFR. 433 - Fix to make nsec3_chain_find_prev return NULL if one nsec3 left. 434 - remove debug settings from unit test. 435 4369 April 2021: Wouter 437 - Fix for #170: Fix build warnings when IPv6 is disabled. 438 - Fix #170: Disabled IPv6 and DNSTAP enabled triggers a build error. 439 44030 March 2021: Wouter 441 - Fix configure failure for enable systemd because of autoconf. 442 - This became release 4.3.6, the repository continues for 4.3.7 443 in development. 444 44529 March 2021: Wouter 446 - Note unlisted changes in RELNOTES and prepare for 4.3.6rc1 tag. 447 44829 March 2021: Willem 449 - Per zone Access Control List for queries 450 with an allow-query: option. 451 45224 March 2021: Wouter 453 - Update acx_nlnetlabs.m4 to version 38, fix deprecation test. 454 - Fix configure to use header checks with compile. 455 - Fix warning about unused function log_addr. 456 45718 March 2021: Tom 458 - Add Extended DNS Errors RFC8914 459 46015 March 2021: Wouter 461 - Fix double config.h include in configlexer.c 462 - Fix to remove configyyrename from makedist.sh and also 463 update the flex and bison rules there to add the "c_" prefix. 464 46513 March 2021: Willem 466 - Fix #154: TXT with parentheses fails in 4.3.5. 467 - Align parsing of TXT elements with how bind does it. 468 - A -p option to nsd-checkzone to print a successfully read zone. 469 47012 March 2021: Wouter 471 - Fix that wildcard is printed as a star instead of escaped, in 472 logs and in written zone files. 473 - Fix unit test for wildcard printout change. 474 47511 March 2021: Wouter 476 - Fix #163: A TSIG noncompliance with RFC 2845. 477 4789 March 2021: Willem 479 - Enable configuring a control-interface by interface name. 480 48119 February 2021: Wouter 482 - Fix segfault on high verbosity for TLS channels with dnstap log 483 local address. 484 48518 February 2021: Wouter 486 - Fix #146 with #147: DNSTAP log the local address of the server 487 with the dnstap logs. 488 48916 February 2021: Wouter 490 - Man page documentation for dnstap options. 491 4928 February 2021: Wouter 493 - Fix AF_LOCAL compile error for Solaris. 494 - Fix ifaddrs compile error for Solaris. 495 - Fix ifaddrs.h compile error for Solaris. 496 4974 February 2021: Wouter 498 - Merge PR #153 from fobser: Repair -fno-common linker errors 499 automatically. 500 - Fix uninitialized access of log_buf in error printout on apply ixfr. 501 50226 January 2021: Wouter 503 - Prevent a few more yacc clashes. 504 50519 January 2021: Wouter 506 - Set branch ready for 4.3.5 release. Tag for 4.3.5rc1. 507 Became the 4.3.5 release on 26 january 2021. This branch continues 508 with 4.3.6 in development. 509 51015 January 2021: Wouter 511 - Fix #152: '*' in Rdata causes the return code to be NOERROR instead 512 of NX. 513 - Add config.guess and config.sub to .gitignore for autoconf 2.70. 514 - Fix #150: TXT record validation difference with BIND. 515 - Fixup TXT record validation fix for escaped quotes. 516 - Fixup TXT record validation fix for escaped backslashes. 517 - Fixup escape character parse for quoted strings. 518 51911 January 2021: Wouter 520 - Fix #151: DNAME not applied more than once to resolve the query. 521 - Fix dname test for #148. 522 - For #151: fix to not produce loops in output. 523 5245 January 2021: Wouter 525 - Fix configure.ac for autoconf 2.70. 526 5274 January 2021: Wouter 528 - Fix #148: CNAME need not be followed after a synthesized CNAME 529 for a CNAME query. 530 53111 December 2020: Wouter 532 - Fix that nsd-control has timeout when connection is down. 533 - remove windows socket ifdefs from nsd-control. 534 5353 December 2020: Wouter 536 - For #145: Fix that service of remaining TCP and TLS connections 537 does not allow new queries to be made, the connection is closed. 538 Only existing queries and zone transfers are answered, new ones 539 are rejected by a close of the channel. 540 54130 November 2020: Wouter 542 - Fix #144: fix better. 543 54427 November 2020: Wouter 545 - Fix #144: Typo fix in nsd.conf.5.in. 546 54726 November 2020: Wouter 548 - Fix #143: xfrd no hysteresis with NOT IMPLEMENTED rcode. 549 55024 November 2020: Wouter 551 - Merge PR #141: ZONEMD RR type. 552 - tag for 4.3.4rc1. This became 4.3.4 release on 1 dec 2020. 553 The code repo continues for 4.3.5 in development. 554 55523 November 2020: Wouter 556 - Fix #142: NODATA answers missin SOA in authority section after 557 CNAME chain. 558 - Fix for CVE-2020-28935 : Fix that symlink does not interfere 559 with chown of pidfile. 560 - fix writepid for retvalue 0. 561 5629 November 2020: Wouter 563 - Fix #138: NSD returns non-EDNS answer when QUESTION is empty. 564 - Fix to check nscount in previous fix for EDNS in formerr response 565 when there is no question. 566 56728 October 2020: Wouter 568 - Remove unused init_cfg_parse routine from configlexer. 569 57020 October 2020: Wouter 571 - Fix to add missing closest encloser NSEC3 for wildcard nodata type 572 DS answer. 573 57414 October 2020: Wouter 575 - Fix #134: IPV4_MINIMAL_RESPONSE_SIZE vs EDNS_MAX_MESSAGE_LEN. 576 57713 October 2020: Wouter 578 - Fix missing parenthesis on size of fix to init buffer. 579 58012 October 2020: Wouter 581 - Fix #127: two minor `-Wcast-qual` cleanups 582 - Fix #126: minor header hygiene 583 - Fix #125: include config.h in compat/setproctitle.c and fix prototype of `setproctitle` 584 - Fix #133: fix 0-init of local ( stack ) buffer. 585 5868 October 2020: Wouter 587 - tag for 4.3.3 release 588 - current repository contains 4.3.4 in development. 589 - Fix #129: ambiguous use of errno, in log message if sendmmsg fails. 590 - Fix #128: Fix that the invalid port number is logged for sendmmsg 591 failed: Invalid argument. 592 5931 October 2020: Wouter 594 - tag for 4.3.3rc1 release. 595 59630 September 2020: Wouter 597 - Updated date in nsd -v output. 598 - Fixup bug013_truncate, checkconf and cutest_qroot tests for new 599 default EDNS size. 600 60129 September 2020: Willem 602 - Follow DNS flag day 2020 advice and 603 set default EDNS message size to 1232. 604 6054 September 2020: Wouter 606 - Remove unused space from LIBS on link line. 607 6083 September 2020: Wouter 609 - Merge PR #121: Increase log level of recreated database from 610 WARNING to ERR. 611 6121 September 2020: Wouter 613 - Fix #119: fix compile warnings from new gcc. 614 - Fix #119: warn when trying to parse a directory. 615 61627 August 2020: Wouter 617 - Merged PR #113 with fixes. Instead of listing an IP-address to 618 listen on, an interface name can be specified in nsd.conf, with 619 ip-address: eth0. The IP-addresses for that interface are then used. 620 62126 August 2020: Wouter 622 - Add xstrdup for PR #113. 623 - Tidy up code like in PR #113. 624 - Import code from PR #113. 625 - Fix for unknown EVP_MAC_CTX_free function in openssl 3.0.0 tsig code. 626 62724 August 2020: Wouter 628 - Fix that configure checks for EVP_sha256 to detect openssl, because 629 HMAC_CTX_new is deprecated in 3.0.0. 630 - Port TSIG code for openssl 3.0.0-alpha6. 631 - Sync acx_nlnetlabs.m4 with the unbound repo. 632 - Review fixes for tsig, defensive free and zero. 633 6344 August 2020: Wouter 635 - Merge #117: mini_event.h (4.3.2 and 4.3.1) on OpenBSD cannot find 636 fd_set - patch. 637 63823 July 2020: Wouter 639 - Merge #115 from millert: Fix strlcpy() usage. From OpenBSD. 640 64115 July 2020: Wouter 642 - Fix make install with --with-pidfile="". 643 64414 July 2020: Wouter 645 - Tag for 4.3.2 release. Master branch contains the next version 646 in development, 4.3.3. 647 6487 July 2020: Wouter 649 - Tag for 4.3.2rc1. 650 6516 July 2020: Wouter 652 - Fix compile includes for xfr-inspect tool on FreeBSD. 653 - Add tpkg/run_vm.sh that runs test when in a virtual machine. 654 - Merge #112 from jaredmauch: log old and new serials when NSD 655 rejects an IXFR due to an old serial number. 656 - Fix bug034 test for vm test changes. 657 65822 June 2020: Wouter 659 - Remove errno reset behaviour from sendmmsg and recvmmsg 660 replacement functions. 661 - Fix unit test for different nsd-control-setup -h exit code. 662 66319 June 2020: Wouter 664 - Merge #108 from Nomis: Make the max-retry-time description clearer. 665 - Retry when udp send buffer is full to wait until buffer space is 666 available. 667 66818 June 2020: Wouter 669 - Do not log EAGAIN errors for sendmmsg, to stop log spam on OpenBSD. 670 67117 June 2020: Wouter 672 - Fix #107: nsd -v shows configure line, openssl version and libevent version. 673 67427 May 2020: Wouter 675 - Fix unlink of pidfile warning if not possible due to permissions, 676 nsd can display the message at high verbosity levels. 677 - Update contrib/nsd.service for chown of nsd.log and /var/log in 678 ReadWritePaths. 679 - Removed contrib/nsd.service, example is too complicated and not 680 useful. 681 68215 May 2020: Wouter 683 - Merge PR#102 from and0x000: add missing default in documentation 684 for drop-updates. 685 - Fix checkconf test for log-only-syslog option. 686 68714 May 2020: Wouter 688 - Document default value for tcp-timeout. 689 69013 May 2020: Jeroen 691 - Fix #99: Fix copying of socket properties with reuseport enabled. 692 69324 April 2020: Wouter 694 - Fix #97: EDNS unknown version: query not in response. 695 69621 April 2020: Wouter 697 - Fix #96: log-only-syslog: yes sets to only use syslog, fixes 698 that the default configuration and systemd results in duplicate 699 log messages. 700 70120 April 2020: Wouter 702 - Fix #95: Removed make test check because tpkg not included in 703 release tarballs. 704 - Fix unused parameter compile warnings. 705 70616 April 2020: Wouter 707 - Tag for 4.3.1 release and track 4.3.2 release in code repository. 708 - note sha256 digest algo use in makedist.sh. 709 - Fix for posix shell syntax for trap in nsd-control-setup. 710 - Fix to omit the listen-on lines from log at startup, unless verbose. 711 - Fix uninitialised values for bindtodevice option at startup with 712 reuseport and multiple interfaces. 713 7148 April 2020: Wouter 715 - Tag for 4.3.1rc2. 716 7177 April 2020: Wouter 718 - Merge PR #91 by gearnode: nsd-control-setup recreate certificates. 719 The '-r' option recreates certificates. Without it it creates them 720 if they do not exist, and does not modify them otherwise. 721 7226 April 2020: Wouter 723 - Merge PR #90 by phicoh: O_CLOEXEC should be FD_CLOEXEC. 724 - Merge PR #92 by tonysgi: Fix typo. 725 7262 April 2020: Wouter 727 - Tag for 4.3.1rc1. 728 7291 April 2020: Wouter 730 - Fix for whitespace in minimal responses test for FreeBSD. 731 73225 March 2020: Wouter 733 - Merge PR #86 from noloader: Use precious variables for GREP, EGREP, 734 SED, AWK, LEX and YACC. 735 - For PR #86: Fix that programs loaded after CFLAGS and stuff is 736 set, specifically the compiler, so that it can work if it needs 737 special flags from that. Fix that lex only needs to support -i 738 if actually defined, otherwise the output included in the source 739 tarball can be used. 740 - Merge PR #72 from noloader: Increase Travis testing coverage 741 74223 March 2020: Wouter 743 - Fix unterminated ifdef in nsd.h. 744 - Fix unknown u_long in util.c for Issue #80 . 745 74620 March 2020: Wouter 747 - Merge PR #83 from noloader: Fix GNU HURD sched_setaffinity compile. 748 - Fix #82: print error when system does not have setaffinity. 749 - Fix #80: NetBSD and implicit declaration of reallocarray. 750 - Fix for #80: Fix reallocarray test to define before include. 751 - Fix for #80: Define alternatives for IFNAMSIZ if it does not exist. 752 75319 March 2020: Wouter 754 - Fix #76: cpuid typedef for Hurd, DragonflyBSD compile. 755 - Fix #75: configure test for sched_setaffinity, and use 756 cpuset_setaffinity otherwise. Also test for presence of sysconf. 757 - Fix #74: GNU Hurd fix cast from pointer to integer of different size. 758 - Fix for #74, #75: cpuset test for header contents and provide code. 759 - Fix #78: Fix SO_SETFIB error on FreeBSD. 760 76118 March 2020: Wouter 762 - Fix #70: error: 'fd_set' undeclared. 763 - Fix #71: error: 'for' loop initial declaration used outside C99 764 mode. 765 - Fix to move declarations out of for loops in event test too. 766 - Fix to move declarations out of for loops in popen3 test too. 767 - Another fix to move declaration out of for loop for event test. 768 - Fix to move declarations out of for loops in cutest regex display. 769 77017 March 2020: Wouter 771 - tag for 4.3.0 release and master branch has version 4.3.1. 772 77310 March 2020: Wouter 774 - repository has version number 4.3.0. Tag for 4.3.0rc1. 775 7763 March 2020: Wouter 777 - Fix that the retry wait does not exceed one day for zone transfers. 778 77927 February 2020: Wouter 780 - Fix warning on FreeBSD about pointer size cast. 781 78226 February 2020: Wouter 783 - Fixup fix of reuseport TCP for server close of sockets not used 784 by it. And the unit test skips when the necessary debug output 785 is not enabled. 786 78725 February 2020: Wouter 788 - Fix event unit test, signal has to be registered with signal_add, 789 event_add not for every backend for signals. The event_initialized 790 is not possible for every backend, so event_added variable. The 791 agent write event fires after a timeout, instead of on event write 792 so that it does not trigger a sigpipe event when the handlers stop. 793 Timeout shorted to 0.1 second. event_get_fd was not implemented, 794 so used ev_fd. Debug output printfs added to see what happens. 795 - Fix checkconf test for new drop-updates config option. 796 - Fix errors with reuseport and TCP file descriptors, it was 797 closing them for server-1 in server-2 and server-3.. 798 7997 February 2020: Jeroen 800 - Add feature to drop queries with opcode UPDATE. 801 8026 February 2020: Jeroen 803 - Support SO_BINDTODEVICE on Linux. Specify bindtodevice: yes 804 to bind sockets directly to the network interface. 805 - Support SO_SETFIB on FreeBSD. Add setfib=<FIB> after an ip-address 806 option to use the specified FIB for that socket. 807 - Require user to add servers=<range> after an ip-address option to 808 specify the servers that must listen on that socket. 809 8106 February 2020: Wouter 811 - Merge PR#60: Minor portability fixes from michaelforney, with 812 avoid pointer arithmetic on void* and avoid unnecessary VLA. 813 8144 February 2020: Wouter 815 - Merge PR#22: minimise-any: prefer polular and not large RRset, 816 from Daisuke Higashi. 817 - Fix responses for IXFR so that the authority section is not echoed 818 in the response. 819 82021 January 2020: Wouter 821 - Fix leak in server bitset setup. 822 82316 January 2020: Jeroen 824 - Add zone resource record iterator for future zone-verification port. 825 - Set FD_CLOEXEC on opened sockets. 826 - Add popen3 implementation for future zone-verification port. 827 - Add -r option to cutest so that a subset of tests can be run. 828 82915 January 2020: Jeroen 830 - Add feature to pin server proccesses to specific cpus. 831 - Add feature to pin IP addresses to selected server processes. 832 - Set process title to identify individual processes. 833 83413 January 2020: Wouter 835 - Merge pull request #59 from buddyns: add FreeBSD support 836 for conf key ip-transparent. 837 83810 January 2020: Wouter 839 - Fix unreachable code in ssl set options code. 840 - Fix bad shift in assertion code analyzer complaint. 841 8426 January 2020: Wouter 843 - Fix #56: Drop sparse TSIG signing support in NSD. 844 Sign every axfr packet with TSIG, according to the latest 845 draft-ietf-dnsop-rfc2845bis-06, Section 5.3.1. 846 84712 December 2019: Wouter 848 - Note that use-systemd is not necessary and ignored in man page. 849 85011 December 2019: Wouter 851 - Fix whitespace in nsd.conf.sample.in, patch from Paul Wouters. 852 - use-systemd is ignored in nsd.conf, when NSD is compiled with 853 libsystemd it always signals readiness, if possible. 854 8559 December 2019: Wouter 856 - Fix to define upper bounds on rr counts read from untrusted packet 857 data. 858 - Try different annotation for radix_find_prefix_node not reachable. 859 - Separate acl_addr_match_range functions for ip4 and ip6, to 860 please checkers. 861 - Avoid unused variable warning in new match_range_v4 function. 862 8636 December 2019: Wouter 864 - Fix to define max number of EDNS records we are willing to 865 spend time on. 866 - Fix size of string len and capacity type cast in udbradtree. 867 - Fix to protect rrcount in tsig_find_rr from overflow. 868 - Annotate radix_find_prefix_node not reachable trail code. 869 - Fix to protect rrcount in packet_find_notify_serial from overflow. 870 - Fix to close socket on error in create_tcp_accept_sock. 871 - Fix to log on failure to chmod for socket for remote control. 872 - Fix to remove unneeded if in open of socket for remote control. 873 - Fix to restore input parameter on call failure in create_dirs. 874 - Please checker by terminating and initialising string read 875 by remote control. 876 - Fixup of random_generate negative modulo, from previous commit, 877 and return srandom when random is used if no getrandom. 878 8795 December 2019: Wouter 880 - Fix fname null check of fname in namedb_read_zonefile. 881 - Fix implicit cast of size in udb_radnode_array_grow. 882 - Fix ignore of return value of ssl_printf in remote.c. 883 - Fix unused check of fd in parent_handle_reload_command. 884 - Fix to use getrandom() for randomness, if available. 885 - Attempt to fix signedness of nscount lookup in ixfr query_process. 886 - Fix identical branches for ssl_print of errors in remote.c. 887 - Fix type cast bounds, signedness of opt_rdlen in edns_parse_record. 888 - Fix to separate header and data lines in parse_zone_list_file. 889 8903 December 2019: Wouter 891 - Fix #52: do not log transient network full errors unless higher 892 verbosity is set. 893 - Fix checkconf test for new error output string. 894 - tag for 4.2.4rc1 release. This became the 4.2.4 release, 895 and the master branch continues with 4.2.5 in development. 896 89727 November 2017 Jeroen 898 - Fix regressions in configparser.y 899 90022 November 2019: Wouter 901 - Fix #48: Add make distclean that removes config.h made by configure. 902 And add maintainer-clean that removes bison and flex output. 903 90418 November 2019: Wouter 905 - Detect fixed time memcmp for openssl 0.9.8 compatibility. 906 - Detect EC_KEY_new_by_curve_name for openssl 0.9.8. 907 - include limits.h for UINT_MAX. 908 - If no recvmmsg, dont use msg_flags member, but errno for error, 909 where our fallback function left it, msg_flags also does not exist 910 on some systems. 911 - Remove unused variable warning for portability. 912 91314 November 2019: Wouter 914 - Fix checkconf test with filenames that sort in the same order. 915 - Tag for 4.2.3rc1. Branch master is 4.2.4 in development. 916 91711 November 2019: Wouter 918 - Fix #44: document that remote-control is a top-level nsd.conf 919 attribute. 920 - Fix compile on OSX. 921 - Fix for #44: nicer top-level clause documentation. 922 92322 October 2019: Jeroen 924 - Number of different UDP handlers has been reduced to one. recvmmsg 925 and sendmmsg implementations are now used on all platforms. 926 Compatible implementations are in place for systems that lack the 927 system calls. 928 - Socket options are now set in designated functions for easy reuse. 929 - Socket setup has been simplified for easy reuse. 930 - Configuration parser is now aware of the context in which an option 931 was specified. 932 93321 October 2019: Wouter 934 - For #21 add 935 contrib/patch_for_s6_startup_and_other_service_supervisors.diff 936 that adds support for readiness notification with READY_FD from 937 Cameron Nemo. 938 93917 October 2019: Jeroen 940 - Fix #40: Merge small fixes for confine-to-zone by Greg Bock. 941 94215 October 2019: Jeroen 943 - For #39: Merge confine-to-zone feature contributes by Greg Bock. 944 94526 September 2019: Wouter 946 - Fix #38: log address and failure reason with tls handshake errors, 947 squelches (the same as unbound) some unless high verbosity is used. 948 - Fixup clang analysis warning in xfrd_parse_received_xfr_packet 949 master dereference. 950 95125 September 2019: Wouter 952 - The nsd.conf includes are sorted ascending, for include statements 953 with a '*' from glob. 954 95516 September 2019: Wouter 956 - Fixup warnings during --disable-ipv6 compile. 957 - Fixup unit test executable to run without IPv6. 958 9594 September 2019: Wouter 960 - Fix #35: excessive logging of ixfr failures, it stops the log when 961 fallback to axfr is possible. log is enabled at high verbosity. 962 9632 September 2019: Wouter 964 - For #21: pidfile "" allows to run NSD without a pidfile, for 965 startup management tools like daemontools. 966 96728 August 2019: Wouter 968 - In tests check for tls test tool availability. 969 97019 August 2019: Wouter 971 - Tag for 4.2.2 release. Git master contains 4.2.3 in development. 972 97313 August 2019: Wouter 974 - Fix error message for out of zone data to have more information. 975 - Tag for 4.2.2rc2. 976 97712 August 2019: Wouter 978 - Fix #33: Fix segfault in service of remaining streams on exit. 979 9806 August 2019: Wouter 981 - Tag for 4.2.2rc1. 982 9835 August 2019: Wouter 984 - PR #31: nsd-control: Add missing stdio header. 985 - PR #32: tsig: Fix compilation without HAVE_SSL. 986 - Cleanup tls context on xfrd exit. 987 98831 July 2019: Wouter 989 - Fix #29: SSHFP check NULL pointer dereference. 990 - Fix #30: SSHFP check failure due to missing domain name. 991 - Fix to timeval_add in minievent for remaining second in microseconds. 992 99322 July 2019: Wouter 994 - Set timeout for refetch immediately, only spread load when there 995 are retries. 996 99719 July 2019: Wouter 998 - Set no renegotiation on the SSL context to stop client 999 session renegotiation. 1000 100118 July 2019: Wouter 1002 - Fix #25: NSD doesn't refresh zones after extended downtime, 1003 it refreshes the old zones, with a random delay of a couple of 1004 seconds to spread the load. 1005 - Fix so that expired zones stay expired when server is down a 1006 long time. 1007 100817 July 2019: Wouter 1009 - Fix that NSD warns for wrong length of the hash in SSHFP records. 1010 101115 July 2019: Wouter 1012 - PR #23: Fix typo in nsd.conf man-page. 1013 10144 July 2019: Wouter 1015 - Set version to 4.2.2 in development. 1016 - clean memory on exit of nsd-checkzone for memory debug. 1017 - Fix #20: CVE-2019-13207 Stack-based Buffer Overflow in the 1018 dname_concatenate() function. Reported by Frederic Cambus. 1019 It causes the zone parser to crash on a malformed zone file, 1020 with assertions enabled, an assertion catches it. 1021 - Fix #19: Out-of-bounds read caused by improper validation of 1022 array index. Reported by Frederic Cambus. The zone parser 1023 fails on type SIG because of mismatched definition with RRSIG. 1024 10252 July 2019: Wouter 1026 - Tag for 4.2.1rc1 1027 102827 June 2019: Wouter 1029 - Fix unit test for added options and no dot after zone updated 1030 log message. 1031 - Fix compile without accept4. 1032 103321 June 2019: Wouter 1034 - Omit remaining tcp processing if the list is empty. 1035 - Fix output of nsd-checkconf -h. 1036 103720 June 2019: Wouter 1038 - Initialize event structures before event_set, to stop uninitialized 1039 values from setting event library lists and assertions, that would 1040 sometimes also show after event_del. 1041 - Added num.tls and num.tls6 stat counters. 1042 - PR #12: send-buffer-size, receive-buffer-size, 1043 tcp-reject-overflow options for nsd.conf, from Jeroen Koekkoek. 1044 - Do not use symbol from libc, instead use own replacement, if not 1045 available, for accept4. 1046 - Fix #14, tcp connections have 1/10 to be active and have to work 1047 every second, and then they get time to complete during a reload, 1048 this is a process that lingers with the old version during a version 1049 update. 1050 105119 June 2019: Wouter 1052 - Fix tls handshake event callback function mistake, reported 1053 by Mykhailo Danylenko. 1054 105518 June 2019: Wouter 1056 - Fix #15: crash in SSL library, initialize variables for TCP access 1057 when TLS is configured. 1058 105914 June 2019: Wouter 1060 - Fix to init event not pointer, in reassignment. 1061 106212 June 2019: Wouter 1063 - Fix to init event structure for reassignment. 1064 106511 June 2019: Wouter 1066 - NSD 4.2.0 release. Current development is 4.2.1. 1067 - Fixup of RELNOTES, corrected RFC reference for 4892. 1068 - Fix #13: Stray dot at the end of some log entries, removes dot 1069 after updated serial number in log entry. 1070 - Fix TLS cipher selection, the previous was redundant, prefers 1071 CHACHA20-POLY1305 over AESGCM and was not as readable as it could be. 1072 - Consolidate server tls context create and remote control context 1073 create, with hardening for the remote control tls context too. 1074 10756 June 2019: Wouter 1076 - NSD 4.2.0rc1 tag. 1077 10784 June 2019: Wouter 1079 - Fix unit test for outgoing interface to use random port numbers for 1080 the outgoing interface config. 1081 108229 May 2019: Wouter 1083 - Fix to guard _OPENBSD_SOURCE from redefinition. 1084 108528 May 2019: Wouter 1086 - Fix to define _OPENBSD_SOURCE to get reallocarray on NetBSD. 1087 108816 May 2019: Wouter 1089 - Fix #10: Fix memory leaks caused by duplicate rr and include 1090 instructions. 1091 10926 May 2019: Wouter 1093 - Note CII best practices badge for NSD on the README.md. 1094 10952 May 2019: Wouter 1096 - Fix .gitignore for unit test generated files. 1097 - Fix checkconf unit test for hide-identity and tls. 1098 10991 May 2019: Wouter 1100 - Fix makedist.sh for use with git. 1101 - Nicer output on travis for clang analysis. 1102 - Add .gitignore file to exclude built files from version tracking. 1103 - Add README.md file in repository with compile instructions. 1104 - Fix .gitignore for dnstap files and aclocal temp. 1105 - Add aclocal to README.md for pkgconfig for some configure options. 1106 110725 April 2019: Wouter 1108 - Add tls.tpkg unit test for DNS over TLS functionality. 1109 111018 April 2019: Wouter 1111 - Fix to avoid buffer alloc with global buffer in tls write handler. 1112 - Fix to initialize event structure when accepting TCP connection. 1113 - Use travis for build check, initial unit test and clang analysis. 1114 - Disable SSLv2,3,TLSv1.0,1.1 if TLS1.2 is available in libssl. 1115 - Disable weak ciphers, enable CIPHER_SERVER_PREFERENCE. 1116 - further setup ssl ctx after the keys are loaded, for ECDH. 1117 - TLS OCSP stapling support, enabled with tls-service-ocsp: filename, 1118 patch from Andreas Schulze. 1119 112017 April 2019: Wouter 1121 - Fix to share openssl init code, and perform it once. 1122 112316 April 2019: Andreas via Sara 1124 - Patch to add support for TCP Fast Open 1125 - Patch to add support for tls service on a specified tls port 1126 112716 April 2019: Wouter 1128 - Fix #4249: The option hide-identity: yes stops NSD from responding 1129 with the hostname for chaos class queries. Implements the RFC4829 1130 security considerations. 1131 - Remove starttls, this signalling method was not standardized. 1132 - Remove TO bit, this signalling method was not standardized. 1133 - Remove unused first_query and tls_ok states. 1134 - Remove sign-compare warning in tls packet send code. 1135 - Fix spelling in comment and log printout. 1136 - Fix potential uninitialized variable. 1137 - Fix documentation for DNS over TLS, and set default port 853. 1138 - Fix to add missing comment. 1139 - Fix that the TLS handshake routine sets the correct event to 1140 continue when done. 1141 - Fix that TLS renegotiation calls the read and write routines again 1142 with the same parameters when the desired event has been satisfied. 1143 - Fix that TCP Fastopen has better error message and supports OSX. 1144 - Fix log for fastopen with verbosity. 1145 - Squelch TLS handshake failure log until verbosity 3. 1146 - Add per-zone statistics for TLS queries, and dnstap for TLS queries, 1147 and rcode and TCflag statistics for TCP and TLS queries. 1148 114925 March 2019: Wouter 1150 - Print IP address when bind socket fails with error. 1151 115221 March 2019: Wouter 1153 - Fix spelling error in release notes. 1154 - Fix to delete unused zparser.default_apex member. 1155 115619 March 2019: Wouter 1157 - tag 4.1.27rc1. This became 4.1.27 on 25 March 2019 and trunk has 1158 4.1.28 in development. 1159 116018 March 2019: Wouter 1161 - Fix unit test bug013_truncate for new truncation with EDNS size, 1162 it is one RR smaller for the truncated response in the test. 1163 116414 March 2019: Wouter 1165 - Fixed radtree_insert memory leak. 1166 - Fixed access recycled variable. 1167 116811 March 2019: Wouter 1169 - Fix #6: nsd-control-setup: Change validity time to a shorter 1170 period (<2038). 1171 - Fix unused definition in header remote.h. 1172 - Fix #4236: IPV4_MINIMAL_RESPONSE_SIZE=1480 is slightly too big. 1173 - Fix #4235: IP_PMTUDISC_OMIT on IPv4/UDP sockets. 1174 117518 February 2019: Wouter 1176 - Fix to remove unused code. 1177 117815 February 2019: Wouter 1179 - tentative robustness, delete stats items from list twice if needed. 1180 118114 February 2019: Wouter 1182 - Fix #4: setusercontext() is in libutil on NetBSD, and also 1183 include login_cap.h only if it exists. 1184 - Fix #4215: fixup for state update for TSIG information in server 1185 processes, nicer printout for tsig_print, tsig_print without 1186 arguments and no leaks. 1187 - nicer logging for update_tsig. 1188 11891 February 2019: Wouter 1190 - Fix for tsig assoc_tsig command on acl with nokey elements. 1191 119229 January 2019: Wouter 1193 - Fix #4215: on-the-fly change of TSIG keys with patch from Igor, adds 1194 nsd-control print_tsig, update_tsig, add_tsig, assoc_tsig 1195 and del_tsig. These changes are gone after reload, edit the 1196 config file (or a file included from it) to make changes that 1197 last after restart. 1198 - documentation for tsig nsd-control options. 1199 120024 January 2019: Wouter 1201 - Deny ANY with only one RR in response, by default. Patch from 1202 Daisuke Higashi. The deny-any statement in nsd.conf sets ANY 1203 queries over UDP to be further moved to TCP as well. 1204 Also no additional section processig for type ANY, reducing 1205 the response size. 1206 - assertions for clang analysis. 1207 120810 December 2018: Wouter 1209 - Fix for FreeBSD port with dnstap enabled. 1210 12116 December 2018: Wouter 1212 - Fix to reduce region_log_stats if condition, this removes a 1213 debug statement. 1214 12155 December 2018: Wouter 1216 - Fix #4213: disable-ipv6 and dnstap compile error. 1217 12183 December 2018: Wouter 1219 - Note that the content_list member is unused; and could be removed 1220 if the database format is modified or updated. 1221 - Fix that dnstap logs CQ and CR like BIND does. 1222 - Revert that, it looks wrong, AQ and AR are for the authoritative. 1223 122429 November 2018: Wouter 1225 - Tag for 4.1.26rc1. Which became 4.1.26 on 4 dec 2018. 1226 Trunk has 4.1.27 in development. 1227 - Fix clang analysis warning on null in closest encloser for wildcard 1228 denial nsec. 1229 - Fix clang analysis warnings. 1230 123127 November 2018: Wouter 1232 - Fix parsezone failure in 4194 fix. 1233 123426 November 2018: Wouter 1235 - Fix to not set GLOB_NOSORT so the nsd.conf include: files are 1236 sorted and in a predictable order. 1237 - Added nsd-control changezone. nsd-control changezone name pattern 1238 allows the change of a zone pattern option without downtime for 1239 the zone, in one operation. 1240 - Fix #3433: document that reconfig does not change per-zone stats. 1241 124220 November 2018: Wouter 1243 - Fix #4205: enable-recvmmsg in mixed IPv4/IPv6 environment fails. 1244 This sets the msg_hdr.msg_namelen correctly after receipt. 1245 124619 November 2018: Wouter 1247 - Support SO_REUSEPORT_LB in FreeBSD 12 with the reuseport: yes 1248 option in nsd.conf. 1249 - Fix #4202: nsd-control delzone incorrect exit code on error. 1250 - Tab style fix to use tab for 8 spaces, from Xiaobo Liu. 1251 125225 October 2018: Wouter 1253 - Adjust dnstap socket path for chroot. 1254 125522 October 2018: Wouter 1256 - Fix #4194: Zone file parser derailed by non-FQDN names in RHS of 1257 DNSSEC RRs. 1258 - Fix some more, neater code and checks for domain length limit. 1259 - check that the dnstap socket file can be opened and exists, print 1260 error if not. 1261 12624 October 2018: Wouter 1263 - dnstap work, the dnstap.proto is a copy of the file from Unbound, 1264 also dnstap.m4 configure include file. 1265 - dnstap collector: free eventbase and memclean nicer. 1266 - dnstap collector: send data and read it in collector. 1267 - dnstap/dnstap.c and .h from Unbound's contribution from 1268 Farsight Security, added to then adapt it for dnstap logging in NSD. 1269 - dnstap.c with auth query and auth response, and called from 1270 the collector. 1271 - dnstap work, config nsd.conf parse. 1272 - dnstap example config. 1273 127425 September 2018: Wouter 1275 - NSD 4.1.25 released, trunk has 4.1.26 in development. 1276 127718 September 2018: Wouter 1278 - tag for NSD 4.1.25rc1. 1279 128017 September 2018: Wouter 1281 - Fix #4156: Fix systemd service manager state change notification 1282 128314 September 2018: Wouter 1284 - Remove unused if clause during server service startup. 1285 128613 September 2018: Wouter 1287 - Fix typo in clang analysis test. 1288 - Annotate exit functions with noreturn. 1289 - nsd-control prints neater errors for file failures. 1290 129112 September 2018: Wouter 1292 - clang analysis test. 1293 129411 September 2018: Wouter 1295 - Fix to combine the same error function into one, from Xiaobo Liu. 1296 - Fix initialisation in remote.c. 1297 - please clang analyzer and fix parse of IPSECKEY with bad gateway. 1298 - Fix unit test code for clang analyzer. 1299 - Fix nsd-checkconf fail on bad zone name. 1300 130110 September 2018: Wouter 1302 - Fix coding style in nsd.c 1303 13047 September 2018: Wouter 1305 - append_trailing_slash has one implementation and is not repeated 1306 differently. 1307 13084 September 2018: Wouter 1309 - Fix codingstyle in nsd-checkconf.c in patch from Sharp Liu. 1310 131115 August 2018: Wouter 1312 - Fix use_systemd typo/leftover in remote.c. 1313 131413 August 2018: Wouter 1315 - tag for 4.1.24 release. 1316 - trunk is 4.1.25 in development. 1317 - Fix that nsec3 precompile deletion happens before the RRs of 1318 the zone are deleted. 1319 - Fix printout of accepted remote control connection for unix sockets. 1320 13216 August 2018: Wouter 1322 - tag for 4.1.24rc1 release. 1323 132430 July 2018: Wouter 1325 - Tag for NSD 4.1.23 release, trunk is 4.1.24, includes 1326 fix NSD time sensitive TSIG compare vulnerability. 1327 - Fix checkconf test for use-systemd option. 1328 132925 July 2018: Wouter 1330 - #4133: Fix that when IXFR contains a zone with broken NSEC3PARAM 1331 chain, NSD leniently attempts to find a working NSEC3PARAM. 1332 133323 July 2018: Wouter 1334 - Remove socket activation from systemd code, it was reported as 1335 not useful to enable. The readiness signalling is still there, 1336 and can be enabled with use-systemd: yes. 1337 - Only call sd_notify from systemd when use-systemd is yes. 1338 13396 July 2018: Wouter 1340 - RFC8162 support, for record type SMIMEA. 1341 - Fix that type CAA (and URI) in the zone file can contain 1342 dots when not in quotes. 1343 134426 June 2018: Wouter 1345 - configure --enable-systemd (needs pkg-config and libsystemd) can 1346 be used to then use-systemd: yes in nsd.conf and use socket 1347 activation and readiness signalling with systemd. 1348 134919 June 2018: Wouter 1350 - #4106: Fix that stats printed from nsd-control are recast from 1351 unsigned long to unsigned (remote.c). 1352 135314 June 2018: Wouter 1354 - Fix that first control-interface determines if TLS is used. Warn 1355 when IP address interfaces are used without TLS. 1356 135712 June 2018: Wouter 1358 - #4102: control interface via local socket. 1359 configure it with control-interface: "/path/nsd.ctl" The path 1360 has to start with a / to separate it from an IP address. 1361 The local socket does not use SSL, but unencrypted traffic, use 1362 file and containing directory permissions to restrict access. 1363 13646 June 2018: Wouter 1365 - Patch to fix openwrt for mac os build darwin detection in configure. 1366 13674 June 2018: Wouter 1368 - tag for 4.1.22rc1. Became 4.1.22 on 11 June, trunk is 4.1.23 in 1369 development from this point. 1370 137131 May 2018: Wouter 1372 - Fix to use same condition for nsec3 hash allocation and free. 1373 137423 May 2018: Wouter 1375 - Use accept4 to speed up answer of TCP queries, on Linux and FreeBSD 1376 and OpenBSD. 1377 137822 May 2018: Wouter 1379 - Fix nsec3 hash of parent and child co-hosted nsec3 enabled zones. 1380 138115 May 2018: Wouter 1382 - Fix memory free in unit test. 1383 138414 May 2018: Wouter 1385 - Tag for 4.1.21 release. 1386 - trunk has 4.1.22 in development. 1387 - refuse-any sends truncation (+TC) in reply to ANY queries over UDP, 1388 and allows TCP queries like normal. 1389 13907 May 2018: Wouter 1391 - Tag for 4.1.21rc1 release. 1392 13934 May 2018: Wouter 1394 - Fix #4093: Release notes not using 2018. 1395 13963 May 2018: Wouter 1397 - Fix buffer size warnings from compiler on filename lengths. 1398 139926 April 2018: Wouter 1400 - lower memory usage for tcp connections, so tcp-count can be higher. 1401 - Fix checkconf test for refuse-any option. 1402 14033 April 2018: Wouter 1404 - refuse-any nsd.conf option that refuses queries of type ANY. 1405 14065 March 2018: Wouter 1407 - Fix #3562: explain build error when flex missing. 1408 140920 February 2018: Wouter 1410 - For more clang warnings 1411 - Fix spelling error in xfr-inspect. 1412 141319 February 2018: Wouter 1414 - Fix for clang analysis complaints. 1415 141615 February 2018: Wouter 1417 - --enable-memclean cleans up memory for use with memory checkers, 1418 eg. valgrind. 1419 - Fix unused variable warnings from clang analyzer. 1420 142114 February 2018: Wouter 1422 - updated RELNOTES for upcoming release. 1423 - tag 4.1.20rc1, became release on 20 feb, trunk has 4.1.21 in 1424 development. 1425 14269 February 2018: Wouter 1427 - make depend: updated the make dependencies in the Makefile. 1428 14298 February 2018: Wouter 1430 - Fix memory leak when rehashing nsec3 after axfr or zonefile read, 1431 in the selectively allocated precompiled nsec3 hashes. 1432 14336 February 2018: Wouter 1434 - Fix memory leak in zone file read of unknown rr formatted RRs. 1435 143611 December 2017: Wouter 1437 - Add test for support of -Wno-address-of-packed-member for 1438 --enable-packed. 1439 - tag for release 4.1.19 1440 - trunk has 4.1.20 in development. 1441 14428 December 2017: Wouter 1443 - tag for 4.1.19rc1 1444 14457 December 2017: Wouter 1446 - Fixup lexer warning for gcc 4.2. 1447 14486 December 2017: Wouter 1449 - Fix 3392: Fix regression in 4.1.18 for notify lists with ip4 1450 and ip6 targets. 1451 14525 December 2017: Wouter 1453 - Fix spelling error in xfr-inspect. 1454 14551 December 2017: Wouter 1456 - Fix warnings emitted by clang for --enable-packed. Alignment is not 1457 a problem for x86_64, don't enable packed when the platform 1458 requires aligned access. 1459 146030 November 2017: Wouter 1461 - tag for 4.1.18 release. 1462 - trunk has 4.1.19 in development. 1463 - ignore fallthrough compiler warning in flex EOF rule. 1464 146527 November 2017: Wouter 1466 - Fix crash for DS query when parent and child zones both configured 1467 in nsd.conf and parent zone has not loaded properly. 1468 - tag for 4.1.18rc2. 1469 147016 November 2017: Wouter 1471 - tag for 4.1.18rc1. 1472 147314 November 2017: Wouter 1474 - Fix #2871: Increase number of sockets for xfrd transfers. 1475 14766 November 2017: Wouter 1477 - Set usage counts in namedb tree to uint32 to save memory. 1478 - Fix up debug content from nsec3 collision printout work. 1479 14802 November 2016: Wouter 1481 - make ip-transparent option work on OpenBSD. 1482 148311 October 2016: Wouter 1484 - Fix #1567: Change crit to err log level for gettimeofday failure. 1485 Add defines for compile without syslog. 1486 14879 October 2016: Wouter 1488 - Fix collision printout of nsec3 to print name, hash and reverse. 1489 14902 October 2016: Wouter 1491 - nsd-control zonestatus prints wait time between attempts, for zones 1492 that are in that waiting time. 1493 149419 September 2016: Wouter 1495 - merges feature branch branches/alloced_prehashes into trunk. 1496 149718 September 2016: Wouter 1498 - Fix #1446: A corrupted zone file "propagates" to good ones. 1499 150014 September 2016: Wouter 1501 - Fix layout in xfrd.c. 1502 15036 September 2017: Willem 1504 - Save memory by selectively allocate precompiled nsec3 hashes 1505 150629 August 2016: Wouter 1507 - With --enable-packed save memory, at expense of unaligned reads. 1508 - Fix writev compile warning on FreeBSD. 1509 151025 July 2016: Wouter 1511 - NSD sends up to 16 notifies simultaneously for up to 64 zones, 1512 to increase rate of notification for large master configurations. 1513 151424 July 2016: Wouter 1515 - Fix gcc 7.1.1 warnings. 1516 151717 July 2016: Wouter 1518 - Trunk has 4.1.18 1519 - xfr-inspect is part of source dir, but not made or installed by 1520 default. 1521 - retry timeout between sending notifies dropped from 15 to 3 sec. 1522 152313 July 2016: Wouter 1524 - tag 4.1.17rc1, and that became the 4.1.17 release on 21 July 2017. 1525 152629 June 2016: Wouter 1527 - make depend. 1528 152926 June 2016: Wouter 1530 - Fix text format of deletes for CDS and CDNSKEY, single 0 to represent 1531 empty base64 or hex string. 1532 153323 June 2016: Wouter 1534 - Fix potential null pointer in nsec3 adjustment tree. 1535 153615 June 2016: Wouter 1537 - xfr-inspect debug tool prints out xfr contents of files in tmp. 1538 15396 June 2016: Wouter 1540 - Fix #1272: use writev to put tcp length field with data for outgoing 1541 zone transfer requests. 1542 154316 May 2016: Wouter 1544 - zone parser parses type AVC (it has TXT format). 1545 154625 April 2016: Wouter 1547 - 4.1.16 release tag. 1548 - trunk contains 4.1.17 in development. 1549 155011 April 2016: Wouter 1551 - 4.1.16 rc1 tag for release. 1552 - minor manpage fix. 1553 15545 April 2016: Wouter 1555 - Patch for expire state in multi-master when masters includes 1556 broken master. 1557 155827 March 2016: Wouter 1559 - Fix 1243: Option to make NSD emit really minimal responses, 1560 minimal-responses: yes in nsd.conf. 1561 - but they give additional information for priming queries (type NS). 1562 15636 March 2016: Wouter 1564 - Fix 1228: OpenSSL include is not guarded with HAVE_SSL 1565 156628 February 2016: Wouter 1567 - Printout serial error with hint it may be too big. 1568 156920 February 2016: Wouter 1570 - Fix missing _t to _type conversion for disable-radix-tree option. 1571 157215 February 2016: Wouter 1573 - zone parser can parse acronyms for algorithms ED25519 and ED448. 1574 157513 February 2016: Wouter 1576 - Calculate new udb index after growing the array, fix from 1577 Chaofeng Liu. 1578 15797 February 2016: Wouter 1580 - tag for 4.1.15 rc1. Which became 4.1.15 on 16 Feb. Trunk 4.1.16. 1581 158219 January 2016: Wouter 1583 - Fix to rename _t typedefs because POSIX reserves them. 1584 15853 January 2016: Wouter 1586 - Fix #1195: Fix so that NSD fails on non-compliant values for Serial. 1587 158814 December 2016: Wouter 1589 - Squelch zone transfer error address family not supported by protocol 1590 at low verbosity levels. 1591 159213 December 2016: Wouter 1593 - Fix nsd-control and ipv6 only. 1594 15958 December 2016: Wouter 1596 - tag 4.1.14 1597 - trunk contains 4.1.15 in development. 1598 15991 December 2016: Wouter 1600 - Fix restart of zone transfers when new config becomes available. 1601 - tag 4.1.14rc1 1602 160325 October 2016: Wouter 1604 - Fix #1132 for SERVFAIL zones perform backoff, and remembers the 1605 timeout on next startup. 1606 - Save backoff timeout into xfrd.state file, this file has a higher 1607 version number now. Old files are skipped silently (causes 1608 refresh) and created as new files upon exit. 1609 - Set number of rounds to 1; NSD will try every master once, then 1610 wait for timeout or notify. 1611 - Fix axfr fallback for rounds to 1. 1612 161320 October 2016: Wouter 1614 - suppress compile warning in lex files. 1615 161618 October 2016: Wouter 1617 - Robust fix against missing master in tcp_open for xfrd. 1618 - More in depth fix for the previous. 1619 - Fix wildcards in include: config statements with chroot enabled. 1620 162127 September 2016: Wouter 1622 - NSD 4.1.13 tag. 1623 - trunk has 4.1.14 in development. 1624 - Fix null memcpy for radixtree with single link element. 1625 162619 September 2016: Wouter 1627 - Review comments Ralph: wrapped long lines and nicer example conf. 1628 162916 September 2016: Wouter 1630 - NSD 4.1.13rc1 tag. 1631 163215 September 2016: Wouter 1633 - Test for openssl init_crypto and init_ssl functions. 1634 163514 September 2016: Ralph 1636 - Fix OPENSSL_INIT_ADD_ALL_DIGESTS compatibility check 1637 163813 September 2016: Wouter 1639 - Fix double const in dname_const() function. 1640 - Silenced flex-generated sign-unsigned warning print with gcc 1641 diagnostic pragma. 1642 16438 September 2016: Wouter 1644 - more extensible edns option handling. 1645 16462 September 2016: Wouter 1647 - Release of 4.1.12; trunk is 4.1.13 and the patch for 4.1.12 (that 1648 does not contain the other changes to the trunk) is folded into 1649 the trunk. 1650 - Fix #827: fix compile with openssl 1.1.0 with api=1.1.0. 1651 165225 August 2016: Wouter 1653 - Fix multimaster for not tried full zone transfer for a expired zone. 1654 - Explain --disable-radix tree uses some more CPU. 1655 165622 August 2016: Wouter 1657 - Fix README spelling error of BSD license (reported by Joerg Jung). 1658 165919 August 2016: Wouter 1660 - for type SRV add A/AAAA to the additional section (if possible), 1661 just like we already do for type MX. 1662 166317 August 2016: Wouter 1664 - Add robustness against unallocated data in nsec3 trees. 1665 166616 August 2016: Wouter 1667 - configure --disable-radix-tree for about 15% lower memory usage. 1668 166912 August 2016: Wouter 1670 - Fix #817: xfrd update failed loop. 1671 16729 August 2016: Wouter 1673 - Can config key algorithms with the digest name, eg. 'sha256'. 1674 - default tsig algorithm is sha256. 1675 - Fix typo in log output, 'transfered' -> 'transferred'. 1676 - Fix compile warnings about signcompare in minmax retrytime. 1677 16788 August 2016: Wouter 1679 - Support syntax of RR type OPENPGPKEY from RFC 7929. 1680 16815 August 2016: Wouter 1682 - multi-master-check: yes can be used to check all masters for the 1683 last version, using the higher version from the configured masters, 1684 from Manabu Sonoda. 1685 - small fixups on patch. And fix spacing and remove configure flag. 1686 - Fix #812: make depend fails after distribution. 1687 16882 August 2016: Wouter 1689 - Fix unused result warnings from write and strtol. 1690 16911 August 2016: Wouter 1692 - Tag 4.1.11rc1. 1693 - Fix nsec3 missing for nsec3 signed parent and child for DS at zonecut. 1694 - Tag 4.1.11rc2. 1695 - trunk is 4.1.12 in development. 1696 16978 July 2016: Wouter 1698 - Note down tracking numbers for issue JVN#63359718 JPCERT#91251865. 1699 17005 July 2016: Wouter 1701 - Fix #790: size-limit-xfr can stop NSD from downloading infinite zone 1702 transfer data size, from Toshifumi Sakaguchi. 1703 170427 June 2016: Wouter 1705 - Set default for min-refresh-time and min-retry-time to 0. Behaves 1706 just like before, but has a configurable option in nsd.conf. 1707 - Fix #783: Trying to run a root server without having configured it 1708 silently gives wrong answers. 1709 171016 June 2016: Wouter 1711 - When tcp is more than half full, use short timeout for tcp session. 1712 - Patch for {max,min}-{refresh,retry}-time from YAMAGUCHI Takanori. 1713 - man page entries for max-refresh-time patch. 1714 171515 June 2016: Wouter 1716 - Fix build without IPv6, patch from Zdenek Kaspar. 1717 171814 June 2016: Wouter 1719 - release 4.1.10 and tag for that. 1720 - trunk has 4.1.11 in development. 1721 17227 June 2016: Wouter 1723 - Fix NSEC3 ent fix to use closest encloser, not wildcard denial. 1724 17252 June 2016: Wouter 1726 - Fix for NSEC3 with zone signed without exact match for empty 1727 nonterminals, the answer for that domain gets wildcard denial. 1728 - #772 Document that recvmmsg has IPv6 problems on some linux kernels. 1729 - tag for 4.1.10rc1. 1730 173131 May 2016: Wouter 1732 - print notice that nsd is starting before taking off. 1733 173420 May 2016: Wouter 1735 - Updated fix for nonterminal nsec3 answers. 1736 173719 May 2016: Wouter 1738 - Fix empty nonterminal nsec3 cover answers. 1739 174012 May 2016: Wouter 1741 - NSD includes AAAA before A for queries over IPV6 (in delegations). 1742 And TC is set if no glue can be provided with a delegation because 1743 of packet size. 1744 174519 April 2016: Wouter 1746 - Fix #755: NSD spins after a zone update and a lot of TCP queries. 1747 17487 April 2016: Wouter 1749 - If set without nsd.db print "" as the default in the man pages. 1750 17514 April 2016: Wouter 1752 - Fix #751: NSD fails to occlude names below a DNAME. 1753 175424 March 2016: Wouter 1755 - Fix for openssl 1.1.0, HMAC_CTX size not exported from openssl. 1756 175721 March 2016: Wouter 1758 - Update acx_nlnetlabs.m4 to version 33 with HMAC_Update test. 1759 - acx_nlnetlabs.m4 to v34, with -ldl -pthread test for libcrypto. 1760 176115 March 2016: Wouter 1762 - ip-freebind: yesno option in nsd.conf sets IP_FREEBIND socket option 1763 for Linux, binds to interfaces and addresses that are down. 1764 - Change the nsd.db file version because of nanosecond precision fix. 1765 - 4.1.9 release with the nsd.db file version fix (but not freebind), 1766 trunk contains 4.1.10 in development. 1767 176810 March 2016: Wouter 1769 - Tag 4.1.8 1770 - Trunk contains 4.1.9 in development. 1771 17722 March 2016: Wouter 1773 - Tag 4.1.8rc1 1774 17751 March 2016: Wouter 1776 - #744: Fix that NSD replies for configured but unloaded zone 1777 with SERVFAIL, not REFUSED. 1778 177916 February 2016: Wouter 1780 - RR type CSYNC (RFC7477) syntax is supported. 1781 178229 January 2016: Wouter 1783 - #739: zonefile changes when mtime is small are detected on reload, 1784 if filesystem supports precision mtime values. 1785 178619 January 2016: Wouter 1787 - Fix #736: segfault during zone transfer. 1788 178908 January 2016: Wouter 1790 - Define _DEFAULT_SOURCE with _BSD_SOURCE for recent Linuxes. 1791 179205 January 2016: Wouter 1793 - #732: tcp-mss, outgoing-tcp-mss options for nsd.conf, patch 1794 from Daisuke Higashi. 1795 179604 January 2016: Wouter 1797 - Updated acx_nlnetlabs to version 32. 1798 179911 December 2015: Wouter 1800 - Fix flto check for OSX clang. 1801 180210 December 2015: Wouter 1803 - 4.1.7 release 1804 - trunk has 4.1.8 in development. 1805 - take advantage of arc4random_uniform if available, patch from 1806 Loganaden Velvindron. 1807 18083 December 2015: Wouter 1809 - tag for 4.1.7rc1 prerelease. 1810 18112 December 2015: Wouter 1812 - configure --enable-ratelimit-default-is-off with --enable-ratelimit 1813 to set the default ratelimit to disabled but available in nsd.conf. 1814 - Document that ratelimit qps and slip are updated in reconfig. 1815 - version: "string" option to set chaos version query reply string. 1816 - Fix up defaults in manpage. 1817 18181 December 2015: Wouter 1819 - Explain rrl-slip better in documentation. 1820 182130 November 2015: Wouter 1822 - Fix TCP responses when REUSEPORT is in use by turning it off. 1823 - reuseport: no is the default, because the feature is not troublefree. 1824 - Document default in manpage for rrl-slip, ip4 and 6 prefixlength. 1825 182624 November 2015: Wouter 1827 - Fix zonec ttl mismatch printout to include more information. 1828 182918 November 2015: Wouter 1830 - RELNOTES more descriptive. 1831 - newer acx_nlnetlabs.m4. 1832 - spelling fixes from Igor Sobrado Delgado. 1833 183417 November 2015: Wouter 1835 - Fix #721: Fix wrong error code (FORMERR) returned for unknown 1836 opcode. NOTIMP expected. 1837 183816 November 2015: Wouter 1839 - Allocate less memory for TSIG digest. 1840 18416 November 2015: Wouter 1842 - Fixup for newer acx_nlnetlabs.m4, test for openssl version after 1843 testing for libdl need. 1844 18455 November 2015: Wouter 1846 - newer acx_nlnetlabs.m4, does not needlessly link with -ldl. 1847 184830 October 2015: Wouter 1849 - Fix tpkg tests for portability. 1850 185129 October 2015: Wouter 1852 - patch from Doug Hogan for SSL_OP_NO_SSLvx options. 1853 - updated contrib/nsd.spec, from Bálint Szigeti. 1854 - support configure --with-dbfile="" for nodb mode by default, where 1855 there is no binary database, but nsd reads and writes zonefiles. 1856 185727 October 2015: Wouter 1858 - portability fixes. 1859 186026 October 2015: Wouter 1861 - Init pfd for handlers added during handler-event-walk. 1862 186323 October 2015: Wouter 1864 - Fix many interfaces and zones updates from nsd parent event loop. 1865 186622 October 2015: Wouter 1867 - 4.1.6 release tag. 1868 - trunk contain 4.1.7 in development. 1869 187020 October 2015: Wouter 1871 - 4.1.6rc2 tag created. 1872 187319 October 2015: Wouter 1874 - Fix compile of zonec error message on FreeBSD. 1875 187615 October 2015: Wouter 1877 - 4.1.6rc1 tag created. 1878 187913 October 2015: Wouter 1880 - nsd-checkconf warns for master zones with no zonefile statement. 1881 - Fix start failure when many file descriptors are in use. 1882 - The servfail rcode is not printed with a space in the middle. 1883 - fixup file descriptor fixup nicer. 1884 - print failed token for config syntax error or parse error. 1885 188612 October 2015: Wouter 1887 - Fix #711: Document that debug-mode yes is used for staying 1888 attached to the supervisor console. 1889 - Document verbosity 3 prints more information. 1890 189130 September 2015: Wouter 1892 - makedist.sh print on pgp signature creation. 1893 189428 September 2015: Wouter 1895 - Fix typo in zonec.c inside error message. 1896 189724 September 2015: Wouter 1898 - Fix #701: Fix that AD=1 set in a BADVERS response. 1899 190021 September 2015: Wouter 1901 - Fix #706: default port 53 not opened on ip4 because of getaddrinfo 1902 hints initialisation failure. 1903 - 4.1.5 release tag 1904 - trunk contains 4.1.6 in development. 1905 19069 September 2015: Wouter 1907 - 4.1.4 release tag created. 1908 - trunk contains 4.1.5 in development. 1909 191031 August 2015: Wouter 1911 - 4.1.4rc1 tag created. 1912 191328 August 2015: Wouter 1914 - Fix #698 formatting errors and typos in nsd.8.in. 1915 - Add --enable-pie and --enable-relro-now options. 1916 191718 August 2015: Wouter 1918 - Admitted axfrs are logged at verbosity 1. Refused at verbosity 2. 1919 192017 August 2015: Wouter 1921 - Fixed checkconf test for reuseport setting. 1922 192314 August 2015: Wouter 1924 - SO_REUSEPORT does not work on FreeBSD. Enabled by default on Linux, 1925 not enabled by default on other OSes. 1926 19275 August 2015: Wouter 1928 - Fix that notify from nsd-control contains soa serial. 1929 19303 August 2015: Wouter 1931 - squelch SO_REUSEPORT failure on verbosity less than 3. 1932 193331 July 2015: Wouter 1934 - removed hardcoded interface limit, --with-max-ips removed. 1935 - SO_REUSEPORT support. 1936 193716 July 2015: Wouter 1938 - Fix #618: documented need to list ip-addresses separately in 1939 nsd.conf if there are multiple, because the source address of 1940 replies can otherwise go wrong. 1941 194210 July 2015: Wouter 1943 - Fix that for expired zones NSD performs an AXFR and accepts newer 1944 and older serial numbers. 1945 - Document that minimal responses only minimizes responses to fit 1946 in one datagram. It does not minimize smaller responses. 1947 19482 July 2015: Wouter 1949 - Fix NSID response for short edns sizes. 1950 195123 June 2015: Wouter 1952 - Trunk contains 4.1.4 in development. 1953 19544 June 2015: Wouter 1955 - Tag 4.1.3rc1 1956 - improve nsd-control usage text. (23 june - added to 4.1.3) 1957 - RFC7553 RR Type URI support. 1958 19592 June 2015: Wouter 1960 - Fix redefined macro lex warning for freebsd flex. 1961 196229 May 2015: Wouter 1963 - Fix that formerrors are ratelimited. 1964 196519 May 2015: Wouter 1966 - max-interfaces raised to 32. 1967 196818 May 2015: Wouter 1969 - removed unused defines for unofficial tsig-hmac algorithm codes. 1970 The TSIG algorithm is identified by name in the config file. 1971 197214 May 2015: Wouter 1973 - hmac sha224, sha384 and sha512 support, patch from David Gwynne. 1974 197523 April 2015: Wouter 1976 - Fix crash in zone parser for relative dname after error in origin. 1977 - Test for zone parser failures 1978 197921 April 2015: Wouter 1980 - nsd-control addzones and delzones read list of zones from stdin. 1981 - Fix task and zonestat files to be stored in a subdirectory in tmp 1982 to stop privilege elevation. 1983 - printout names for successful addition and removal with bulk command. 1984 198520 April 2015: Wouter 1986 - Fix #665: when removing subdomain, nsd does not reparse parent zone. 1987 198814 April 2015: Wouter 1989 - trunk contains 4.1.3(upcoming). 1990 19917 April 2015: Wouter 1992 - Tag 4.1.2rc2. 1993 19942 April 2015: Wouter 1995 - Made log message more consistent, changed 'axfr refused' log message 1996 to be more consistent with other messages. Also notify refused. 1997 - verbosity 2 logs axfr refused and notify refused. 1998 verbosity 1 contains less log messages. 1999 200031 March 2015: Wouter 2001 - Tag 4.1.2rc1. 2002 200324 March 2015: Wouter 2004 - Fix #654: Fix contradiction in notify logging verbosity level. 2005 - Incoming notifies have serial number logged (at verbosity 1). 2006 - Fix #655: Fix contradiction in verbosity for zone transfers. 2007 200817 March 2015: Wouter 2009 - Use reallocarray for integer overflow protection, patch submitted 2010 by Loganaden Velvindron. 2011 - Fix allocation integer overflow checks. 2012 201313 March 2015: Wouter 2014 - Fix buffer overflow in config parse of domain name, 2015 reported by John Van de Meulebrouck Brendgard. 2016 201712 March 2015: Wouter 2018 - Updated default keylength in nsd-control-setup to 3k. 2019 202010 March 2015: Wouter 2021 - Fix use after free after zonefile syntax error followed by ttl 2022 or origin directive, reported by John Van de Meulebrouck Brendgard. 2023 - Fix syntax error followed by too many TXT elements parse crash 2024 reported by John Van de Meulebrouck Brendgard. 2025 20269 March 2015: Wouter 2027 - Fix origin directive from unused old value and subdomain parser 2028 failure, reported by John Van de Meulebrouck Brendgard. 2029 20302 March 2015: Wouter 2031 - Fix b64pton out of bounds error on invalid zonefile input 2032 reported by John Van de Meulebrouck Brendgard. 2033 203420 February 2015: Wouter 2035 - Fix segfault on double origin in zone reader (thanks John Van de 2036 Meulebrouck Brendgard). 2037 203819 February 2015: Wouter 2039 - Remove dead code domain_table_iterate. 2040 - Fix segfault in zone reader on invalid input 2041 reported by John Van de Meulebrouck Brendgard. 2042 20435 February 2015: Wouter 2044 - Fix #642: Change 'zone read with no errors' to '.. with success'. 2045 Patch from Benedikt Heine. 2046 20473 February 2015: Wouter 2048 - Tag 4.1.1 release 2049 - Trunk is 4.1.2 in development. 2050 - Remove some duplicate header includes (from Brad Smith). 2051 - Fix tcp waiting list for zone transfers where the bind and connect 2052 calls fail. 2053 205429 January 2015: Wouter 2055 - Fix zonesdir chroot error message. 2056 205728 January 2015: Wouter 2058 - correct some hyphen-used-as-minus-sign (from Andreas Schulze) in 2059 man pages. 2060 206127 January 2015: Wouter 2062 - Tag 4.1.1rc1 2063 206421 January 2015: Wouter 2065 - Synthesize CNAMEs with same TTL as DNAME. 2066 206712 January 2015: Wouter 2068 - Fix casts for ctype functions (from Todd Miller). 2069 - nsd-checkconf -f prints out full name of pidfile (with dir). 2070 20719 January 2015: Wouter 2072 - Fix bug#637: fix that nsd.db grows limitlessly, an off by one 2073 on one megabyte free chunks, created during AXFRs of large zones, 2074 that caused the one megabyte chunk to be leaked. 2075 - Fix udb-inspect for one megabyte chunks, counts and statistics. 2076 20776 January 2015: Wouter 2078 - Fix spinning NSD with lots of failing transfers, due to pointer 2079 comparison using void pointer subtraction (from Otto Moerbeek). 2080 20815 January 2015: Wouter 2082 - Patch nsd_munin_ from Philip Paeps to use type ABSOLUTE. 2083 20844 Nov 2014: Wouter 2085 - Document zonestat config, and nsd-checkconf access. 2086 20873 Nov 2014: Wouter 2088 - Fix that failure to add tcp to tcp base does not leak the socket. 2089 209027 Oct 2014: Wouter 2091 - Disabled use of SSLv3 in nsd-control. 2092 - zonestats are cleared (or not, with stats_noreset). 2093 209422 Oct 2014: Wouter 2095 - Test for wildcard fix (from 3.2). 2096 209716 Oct 2014: Wouter 2098 - Fixes for wildcard addition and deletion, speedup for some cases. 2099 210015 Oct 2014: Wouter 2101 - Fix that queries for noname CH TXT are REFUSED instead of nodata. 2102 210314 Oct 2014: Wouter 2104 - per zone statistics with --enable-zone-stats, configure with 2105 zonestats: "zonestatidentifier", zones with the same id are added. 2106 210710 Oct 2014: Wouter 2108 - Fix #616: retry xfer for zones with no content after command. 2109 - Fix char used as array index warnings on NetBSD. 2110 21118 Oct 2014: Wouter 2112 - Fix "xfrd_handle_ipc: bad mode" log errors when compiled 2113 with --disable-bind8-stats. 2114 211518 Sep 2014: Wouter 2116 - Fix that expired zones stay expired after a server restart. 2117 211815 Sep 2014: Wouter 2119 - RFC 7344: CDS and CDNSKEY (read in). 2120 21214 Sep 2014: Wouter 2122 - Tag 4.1.0. 2123 - trunk is 4.1.1 in development. 2124 - fix manpage for nsd-checkzone to have version and date. 2125 212629 Aug 2014: Wouter 2127 - Fix install of the nsd-checkconf man page. 2128 212928 Aug 2014: Wouter 2130 - Tag 4.1.0rc1 2131 213225 Aug 2014: Wouter 2133 - Increased default --with-max-ips from 8 to 16, this increases the 2134 number of interfaces you can specify in nsd.conf to listen to. 2135 213619 Aug 2014: Wouter 2137 - Remove .LP after .SH in man pages. 2138 21397 Aug 2014: Wouter 2140 - Fix for process swap of main and reload, reload failure from the 2141 pipe is acted on, and reload fail not cause nsd to shutdown, also 2142 ignore sigchlds from the servermain in reload, that would cause 2143 EINTR to break file reads. 2144 - trunk has version 4.1. 2145 21465 Aug 2014: Wouter 2147 - Fix #600: document that provide-xfr provides AXFR and not IXFR. 2148 - remove program group fix, because it is not needed. 2149 - Fix rising-load-average or memory-leaks in OSes (Linux since 2.6), 2150 that keep track of all past process parents, or leak memory 2151 for them. Fix makes it so there is no very deep string of 2152 process parents. 2153 The reload process is now the process parent of servermain. That 2154 makes signals for children arrive at the reload, and servermain 2155 has to use closed pipes to detect that children have exited. 2156 21571 Aug 2014: Wouter 2158 - Set program group on main process and its child processes, and 2159 kill them on a reload. 2160 216120 July 2014: Wouter 2162 - Fix endian.h include for OpenBSD. 2163 216415 July 2014: Wouter 2165 - Fix -O3 compile flag to -O2 to avoid miscompilations. 2166 - Allow user to override the -g -O2 CFLAGS in ./configure. 2167 216811 July 2014: Wouter 2169 - fix strptime implicit declaration error on OpenBSD. 2170 21719 July 2014: Wouter 2172 - removed unnecessary arc4random_uniform. 2173 21748 July 2014: Matthijs 2175 - fake-rfc2553 patch (thanks Benjamin Baier). 2176 21778 July 2014: Wouter 2178 - wait and reap processes that are not part of the process group. 2179 21807 July 2014: Wouter 2181 - Code review fixup from NSD3. 2182 218330 Jun 2014: Wouter 2184 - Fix #590: rrl log does not print wildcard as a star but escaped. 2185 - Fix #591: rrl log messages at verbosity level 1. 2186 (If that does not work for everyone, we need rrl-log: yesno option). 2187 218827 Jun 2014: Wouter 2189 - Fixup rr-test test so that it does not fail on the #553 string. 2190 219117 Jun 2014: Matthijs 2192 - Fix #587: Default value for statistics is 0. 2193 - Remove the shift-reduce conflicts from the bug#553 fix. 2194 21955 Jun 2014: Wouter 2196 - Fix roundrobin cornercase for truncated packets. 2197 - round-robin: yesno in nsd.conf enabled round robin rotation. 2198 219928 May 2014: Wouter 2200 - Fix #585: yylex_destroy missing, cannot compile on RHEL 5.x. 2201 - Fix #583: Round-robin for records in the Answer section. 2202 220322 May 2014: Wouter 2204 - Fix zonefile parse with no whitespace before semicolon comments. 2205 220616 May 2014: Wouter 2207 - xfrd reaps children on a timer as well, similar to server_parent. 2208 22098 May 2014: Wouter 2210 - Fix #564: nsd-checkzone tool to check zonefile correctness. 2211 22127 May 2014: Wouter 2213 - Fix #577: makefile incorrectly installed manpages from srcdir. 2214 221530 April 2014: Wouter 2216 - Fix that xfrd reaps all children on every eventloop, because some 2217 exited reloads may attach here and need reaping, also if the signal 2218 is lost. 2219 222023 April 2014: Wouter 2221 - Fix progress printout for very large zones (numeric overflow). 2222 222310 April 2014: Wouter 2224 - Fix write_socket return value check in server.c (Thanks Brad Smith, 2225 Mark Kettenis). 2226 22278 April 2014: Wouter 2228 - nsd-control addzone reports if zone already exists. 2229 22307 April 2014: Wouter 2231 - Fix #571: unused variable and incompatible pointer warnings when 2232 compiled on a system without INET6. 2233 223427 March 2014: Wouter 2235 - Fix delete or rename of a lot of zones and make it take a 2236 non-enormous time. Database compaction is deferred. 2237 - Speed up deletion of zone contents a lot, (56s to 1s), speeds up 2238 delete, rename and AXFR for zones. Defer emptynonterminal checks. 2239 - Better example config in nsd.conf manual page. 2240 - log-time-ascii option, default yes, with readable timestamp in log. 2241 224225 March 2014: Wouter 2243 - nsd shuts down during init process if given signal. 2244 - shorter logging for zone transfer fail rcodes. 2245 224624 March 2014: Wouter 2247 - include: "foo/nsd.d/*.conf" works, wildcard glob on includes. 2248 - Fix print filename of encompassing config file on read failure. 2249 225021 March 2014: Wouter 2251 - Fix bug in nodatabase mode with ixfrs that change nsec3param 2252 (Thanks Anand Buddhdev). 2253 - Changed maxbackoff for no-content secondary zones from 4h to 24h. 2254 - nocontent zones are checked on startup, but continue backoff 2255 from stored xfrd.state values. 2256 225719 March 2014: Wouter 2258 - made database: "" set the 3600 default for zonefileswrite only 2259 if it is also at its default, so that user settings override. 2260 - Unit test for zonefiles-write. 2261 - Write xfrd.state for nodb mode again. Disable xfrd.state with 2262 xfrdfile: "" in config. Does not check slave zone if state is 2263 same as last time on startup. 2264 - Fixed shutdown message sporadically not printed on exit. 2265 - Documented zonefile %s syntax in nsd.conf man page. 2266 - Fix manpage to put colon after zonefiles check and write. 2267 - Change from 'Zone" to "zone" with ".. serial .. is updated" log 2268 message. 2269 227018 March 2014: Wouter 2271 - unit test for nodb mode. 2272 - Speed up zone write (.nl zonefile 30% faster). 2273 The memory alloc-dealloc in print_rr has been moved to print_rrs. 2274 - (from 3.2), fix for #553 and for other TXT string syntax. 2275 - in nodb mode, xfrd.state is not written out, because the zones 2276 are refreshed upon next startup anyway, so keeping timers and state 2277 is unnecessary. 2278 - zonefiles-write option in nsd.conf, enabled when database is "". 2279 The server writes changed zonefiles to disk every hour. 2280 228117 March 2014: Wouter 2282 - Speed up zone parsing (.nl reads 40% faster). 2283 The rrtype_from_string routine is called often, optimised it. 2284 228514 March 2014: Wouter 2286 - tag 4.0.3 2287 - trunk has 4.0.4 in development. 2288 - database: "" starts without mmap of database. Less memory is used, 2289 zones are read from text zonefile. 2290 229113 March 2014: Wouter 2292 - Fix nsd.db unclean close check. Previous databases are considered 2293 unclean by the code and are created anew. 2294 - Adds nsd.db larger than 400Tb check for sanity. Also test if 2295 filesize as documented in the file is correct. 2296 - nsd waits for tasks to complete on stop, prevents nsd.db corruption. 2297 - fix to not delete tmpdir too early in shutdown process. 2298 229912 March 2014: Wouter 2300 - tag 4.0.2 2301 - trunk has 4.0.3 in development. 2302 - disabled udb checking functionality that made it very slow, 2303 this was enabled when enable-checking was turned on. 2304 230527 February 2014: Wouter 2306 - tag 4.0.2rc1 2307 230826 February 2014: Wouter 2309 - Fix that NSD will delete and recreate not-clean-closed databases. 2310 231120 February 2014: Wouter 2312 - Fix from 3.2: make SOA RDATA comparisons in XFR more lenient (only 2313 check serial). 2314 231518 February 2014: Wouter 2316 - Fix leak of zone name after zonefile read. 2317 - Fix malloc too large that would be leaked in the radix tree. 2318 231914 February 2014: Wouter 2320 - configure change for easier compile on Minix. 2321 232210 February 2014: Wouter 2323 - Fix #552: zonefile loads on nsd-control reconfig when the name 2324 of the file has changed. 2325 23267 February 2014: Wouter 2327 - Fix #551: change Regent to Copyright holder in the LICENSE, 2328 to match the definition on opensource.org for the BSD License. 2329 23303 February 2014: Wouter 2331 - Disabled recvmmsg and sendmmsg usage by default because kernel 2332 versions have implementation issues: ipv6 ignored, security issues. 2333 - Detect libevent2 install automatically by configure, and use 2334 event2 header files if necessary. 2335 - Fixup link with lib/event2 subdir. 2336 233730 January 2014: Wouter 2338 - Fix expired zones to give SERVFAIL, also when parent zone loaded. 2339 234027 January 2014: Wouter 2341 - tag 4.0.1. 2342 - trunk is 4.0.2 in development. 2343 - rcode REFUSED for queries to non-hosted zones. 2344 - documented nsd-control zonestatus output in nsd-control manpage. 2345 - remove mention of nsdc from nsd-checkconf manpage. 2346 234721 January 2014: Wouter 2348 - tag 4.0.1rc2 2349 235020 January 2014: Wouter 2351 - Fix #546: output format errors in nsd_munin_ (Thanks Tom Hendrikx). 2352 235317 January 2014: Wouter 2354 - Fix type CAA. 2355 - Fix type EUI48. 2356 - nsid can be set with "ascii_somestring" in ascii. 2357 - Fix printout of high-chars in TXT on NetBSD. 2358 235916 January 2014: Wouter 2360 - Unit test for WKS failure. 2361 236215 January 2014: Wouter 2363 - tag 4.0.1rc1 2364 236513 January 2014: Wouter 2366 - Check if configure in srcdir collides with outofdir build. 2367 236810 January 2014: Wouter 2369 - Fix that chroot is removed from zonefile names (for absolute names). 2370 23719 January 2014: Wouter 2372 - Fix that bad IXFR updates do not result in double SOA records, 2373 and that an AXFR is started (attempted) when the zone state seems 2374 to be inconsistent with the master's zone state. 2375 23768 January 2014: Matthijs 2377 - Bugfix #542: Match RRSIG TTL with SOA TTL in negative response. 2378 23797 January 2014: Wouter 2380 - Fix xfrd when zone transfer TCP contains zero length packets. 2381 - Fix for NSEC3 zones where parent zone is co-hosted, also NSEC3, 2382 because AXFRs overwrote nsec3 administration in the child zone. 2383 23842 January 2014: Wouter 2385 - Log ip address for sendto and sendmmsg failures. 2386 23874 December 2013: Matthijs 2388 - Support for CAA RRtype (RFC 6844). 2389 239026 November 2013: Wouter 2391 - Fix segfaults after read of zones with rr type WKS from zonefile. 2392 - Seed PRNG for openssl at start of daemon, fixes SSL connection issue. 2393 239425 November 2013: Wouter 2395 - (same as in 3.2.16): fix wildcard cname to nxdomain repeated rrset. 2396 239711 November 2013: Wouter 2398 - Fix bug#534: IXFR query loop over UDP for zones that are unchanged. 2399 240011 November 2013: Matthijs 2401 - EUI48 and EUI64 is now RFC 7043 2402 24035 November 2013: Wouter 2404 - Accept interface: as an alternative for ip-address: for 2405 consistency with unbound.conf syntax. 2406 240729 October 2013: Wouter 2408 - tag for 4.0.0 release. 2409 - trunk has 4.0.1 in development, for bug fixes. 2410 241124 October 2013: Wouter 2412 - Fixup zone change code. 2413 - tag 4.0.0rc3. 2414 241521 October 2013: Matthijs 2416 - Initialize xfrd zone when changing zone from master to slave 2417 and delete xfrd zone when changing zone from slave to master. 2418 241914 October 2013: Wouter 2420 - tag 4.0.0rc2. 2421 242214 October 2013: Matthijs 2423 - Additional log messages with reason why RR to be deleted cannot be 2424 found. 2425 242614 October 2013: Wouter 2427 - Fix for zone transfer that has different-cased RRSIG signer names 2428 or NSEC next-owner names. 2429 24309 October 2013: Wouter 2431 - tsig errors on incoming tsig print key name and source IP of query. 2432 24338 October 2013: Wouter 2434 - Update documentation for nsd -d option. 2435 24367 October 2013: Wouter 2437 - Fix mini_event ev_once flag to be prettier (review comments Yuri). 2438 - tag 4.0.0rc1 recreated. 2439 24404 October 2013: Wouter 2441 - Fix bug where if you do not have flex, and then install flex, it 2442 would not make without a re-untar of the source. 2443 24443 October 2013: Wouter 2445 - Review changes from Matthijs. 2446 - doc/README updated, 'nsdc' is now removed. 2447 24481 October 2013: Wouter 2449 - Review commits from Matthijs. 2450 - doc/UPGRADING updated, review Yuri. 2451 245230 September 2013: Wouter 2453 - tag 4.0.0rc1 2454 - updated doc/RELNOTES 2455 245619 September 2013: Wouter 2457 - configure --disable-recvmmsg for compat with older Linux kernels, 2458 by default it autodetects support in the kernel on the buildmachine. 2459 246020 Aug 2013: Wouter 2461 - Fix time at 2038, uint32s changed to time_t, support 64bit time_t. 2462 246319 Aug 2013: Wouter 2464 - Fix use of 32bit time, for 2038, thanks to Theo de Raadt for patch. 2465 246613 Aug 2013: Wouter 2467 - Bugfix#518 Incorrect RRL prefix length option names in nsd.conf 2468 man page from Ville Mattila. 2469 24709 Aug 2013: Wouter 2471 - Fix that xfrd, and nsd-control, does not stop responding when reload 2472 errors out. The pid is sent like it should by server_main. 2473 - Fix that EOF in quoted string error does not cause reload to exit. 2474 - Fixup errors from the stack code checker. 2475 24766 Aug 2013: Wouter 2477 - Removed use of random when arc4random is available. Thus, random 2478 and srandom are then not linked with the executable. 2479 248016 Jul 2013: Wouter 2481 - Fix segfault with no logfile and chroot (Thanks Patrik Lundin). 2482 248315 Jul 2013: Wouter 2484 - beta 5 tag. 2485 - trunk has beta6 named in configure. 2486 24879 Jul 2013: Wouter 2488 - unlink xfr file if transfer is stopped, timeouted or interrupted. 2489 And unlink xfr file in progress when the zone is deleted. 2490 24918 Jul 2013: Wouter 2492 - Increase tcpbacklog default to 256 (silently capped to 128 on BSD). 2493 For remote control keep it at 16, it has less TCP load. 2494 It does not actually increase TCP performance (some except), but 2495 reduces connection loss when there is a spike in TCP connections. 2496 24975 Jul 2013: Wouter 2498 - nsd-mem stores temp files in current dir because /tmp is too small. 2499 - printout pct parsed, read, nsec3 and written every 100.000 elements 2500 and after 5 seconds. For big zones. 2501 25023 Jul 2013: Wouter 2503 - region-allocator has list of large allocations, so delete is in O(1). 2504 - recursive readroutine for speedup of nsd.db reads (30%). 2505 - udb-inspect prints type summary of nodes in nsd.db. 2506 250728 Jun 2013: Matthijs 2508 - Update tmp serial in xfr checking. 2509 251028 Jun 2013: Wouter 2511 - nsd.db 12% smaller, no nsec3 hash storage. Also ups udb version 2512 because of the format change. printout udb write complete for 2513 debug. 2514 - Fix warning in labellength 0 code. 2515 251627 Jun 2013: Matthijs 2517 - Better XFR checking, fallback to AXFR (if allowed) if three 2518 malformed XFR packets have been seen. 2519 - zonec: Don't crash on domain names with label length 0. 2520 252125 Jun 2013: Matthijs 2522 - Rename --enable-eui-rrtypes to --enable-draft-rrtypes. 2523 252425 Jun 2013: Wouter 2525 - acx_nlnetlabs.m4 update, --disable-flto. 2526 252720 Jun 2013: Matthijs 2528 - Use IPV6 minimum MTU settings with TCP to reduce failures that 2529 are caused by delays in learning working PMTU when communicating 2530 through a tunnel. 2531 - Improved RRL logging: also print triggering query src addr and qtype 2532 (thanks Klaus Darilion). 2533 - Merge some minor stuff from NSD3.2 2534 253518 Jun 2013: Matthijs 2536 - Add rrl-slip config option (thanks Stephane Bortzmeyer). 2537 - Add rrl-ipv{4,6}-prefix-length config option. 2538 - Bug #496: Support for EUI48 and EUI64 RR types. 2539 254014 Jun 2013: Wouter 2541 - Optimizations: -O3 if possible (user can override CFLAGS), udp 2542 buffers are set to 1m by default (if socket options exist), 2543 use recvmmsg and sendmmsg, or only recvmmsg, or recvfrom. 2544 254511 Jun 2013: Wouter 2546 - Fix memory leak in zone parser for txt record (since the large 2547 number of txt subsections fix). 2548 - Fix zone parser allocations to be in db region. 2549 - nsd-mem prints advice 2550 25515 Jun 2013: Wouter 2552 - Fix segfault on repeated reconfigs, double free of zone apex name. 2553 25544 Jun 2013: Wouter 2555 - Remove duplicate zlfile variable from options structure. 2556 255730 May 2013: Wouter 2558 - Fix nsd-mem for printout of values above 4G. 2559 256016 May 2013: Wouter 2561 - Patch from Lukas Wunner that makes chroot more consistent. 2562 Make all paths absolute with the chrootdir in front, or use 2563 an absolute zonesdir with other patsh relative to that. 2564 25653 May 2013: Wouter 2566 - Fix race on exit of nsd, for restarts, so that the pidfile-pid 2567 process waits until port53 has been closed before exiting. 2568 - update acx_nlnetlabs.m4 to v23, sleep w32 fix. 2569 257029 April 2013: Wouter 2571 - Remove unused pointer and fixup chroot include for trail slash. 2572 257326 April 2013: Wouter 2574 - Patch from Lukas Wunner that makes nsd.conf include files work 2575 inside chroot/etc environments on repattern and reconfig. 2576 257725 April 2013: Matthijs 2578 - New config option "ip-transparent:", to bind to non local addresses 2579 (thanks Arjen Zonneveld). 2580 - RRtypes ASFDB, RP, RT should not compress dnames (thanks Peter 2581 van Dijk). 2582 258319 April 2013: Wouter 2584 - own snprintf, fix use of snprintf return value (in debug print). 2585 258618 April 2013: Wouter 2587 - fix bug #491: pick program name (0th argument) as syslog identity. 2588 25899 April 2013: Wouter 2590 - Bug #494: Exit with return code 1 if socket code fails. (from 3.2) 2591 - Fix B64_NTOP replacement definitions in configure.ac. 2592 259326 March 2013: Wouter 2594 - update lookup3.c with better endianness detection. 2595 259625 March 2013: Wouter 2597 - faster nsec3 updates. 2598 - Fixup contrib/bug390.patch for 4.0.0b4. 2599 - remove leak of nsec3. 2600 - allocate radixtree in region for small (5%) total savings and 2601 about 15% savings in the radixtree itself (due to many small alloc 2602 savings in region). 2603 260422 March 2013: Wouter 2605 - use less memory for non-nsec3, nsec3tree. 2606 260718 March 2013: Wouter 2608 - update nsd-mem with pretty printout and RRL count. 2609 261014 March 2013: Wouter 2611 - Fix memory statistics in nsd_munin_. 2612 26138 March 2013: Wouter 2614 - nsd-mem tool initial commit. 2615 26167 March 2013: Wouter 2617 - notify information is logged at correct verbosity level, 1. 2618 26195 March 2013: Matthijs 2620 - Add hash to rrl bucket 2621 26225 March 2013: Wouter 2623 - Fixup the growth and shrinkage of nsd.db. This should use less 2624 calls to remap and change the file and mmap size. 2625 262615 February 2013: Wouter 2627 - Fix compile on bigendian netbsd alpha. 2628 - Fixup tests for older dig (check if +noedns option is supported) 2629 263011 February 2013: Matthijs 2631 - Fix outgoing-interface: Don't fail if family is IPv6 but 2632 only IPv4 outgoing-interface is set, or vice versa. 2633 263411 February 2013: Wouter 2635 - fix tcp zonetransfer pipeline lookup function. 2636 - remove compiler warning for memset from tsig read. 2637 26387 February 2013: Wouter 2639 - detect endianness in lookup3 on BSD, patch from Brad Smith. 2640 - nsd-control verbosity prints out verbosity level without argument. 2641 - nsd-control status prints out ratelimit if ratelimit is enabled. 2642 26435 February 2013: Wouter 2644 - Fix that old zonefile does not override newer AXFR for slave zones. 2645 - Nicer printout of notify. 2646 - beta4 2647 26484 February 2013: Wouter 2649 - Fix AXFR of NSEC3 slave zone. 2650 26511 February 2013: Wouter 2652 - Less printout of 'bad transfer'. 2653 265431 January 2013: Wouter 2655 - Fix that nsec3 zones are precompiled when read from udb. This 2656 caused assertion failures. 2657 - Fix is_apex flag for zones read from udb. 2658 265929 January 2013: Matthijs 2660 - RRL documented in nsd.conf.sample 2661 266229 January 2013: Wouter 2663 - printout log less verbosely, not every axfr packet. 2664 - remove printout of "bad transfer" to the log for notimpl. 2665 - fixup tests for new netstat and new netcat. 2666 266725 January 2013: Wouter 2668 - fix gcc warning, do not use uninit value for rng init. 2669 - fix zonefiles-check: entry in nsd.conf 2670 - remove -fwhole-program gcc flag usage. We cannot reliably detect 2671 if it works without failure. 2672 267323 January 2013: Wouter 2674 - beta3 2675 267622 January 2013: Wouter 2677 - Fix time calculation of zone transfer. 2678 - log ip address with tcp failure. 2679 268021 January 2013: Wouter 2681 - Improve tabs in sample nsd.conf for different tabsizes. 2682 - Fix segv if xfrdir does not exit. 2683 - create xfrdir on make install (does not remove on make uninstall, 2684 because this could be /tmp). 2685 - do not leave task files in /tmp if nsd fails to startup because 2686 of file permissions. 2687 - do-ip4 and do-ip6 nsd.conf options just like unbound. 2688 - fixed testset for dig9 default with edns. 2689 269018 January 2013: Wouter 2691 - Fix configure for gentoo gcc and headers. 2692 - List libevent in README. 2693 - Tabs and spaces nicer in nsd.conf.sample. 2694 - Fix spurious assertion failure for some rrl blocks. 2695 269616 January 2013: Wouter 2697 - Added zonefiles-check option, default yes, check mtimes of zone files 2698 on sighup and startup (from Robin Hack). 2699 270015 January 2013: Wouter 2701 - documented that the _implicit_ pattern names are used internally. 2702 270310 January 2013: Wouter 2704 - updated RELNOTES. 2705 - applied patch from Robin Hack to remove double pid file truncation. 2706 - repattern is called reconfig (because most config options are 2707 picked up, except for superuser options (chroot, logfile, port)). 2708 - document that the zonefile attribute can be empty. 2709 27109 January 2013: Wouter 2711 - 4.0.0b2 is beta2 version tag. 2712 27138 January 2013: Matthijs 2714 - Merge changes from 3.2.15 with trunk: 2715 * Update docs: CREDITS, NEW-CFG-OPTION, REQUIREMENTS, 2716 RELNOTES, TODO 2717 * Update dname_test.tpkg test. 2718 * TSIG init only fails if no digests at all can be found. 2719 * Remove unused tsig_get_algorithm_by_id code (was used by 2720 nsd-xfer). 2721 * Fix some fd leaks. 2722 * Bug #485: Fallback to DEFAULT_TTL if MSB is set. 2723 * Fix RCODE when xNAME loop final answer not exist to NXDOMAIN. 2724 27258 January 2013: Wouter 2726 - Fix make outside of source directory. 2727 27287 January 2013: Wouter 2729 - fixed uninit variable for empty zone axfr request 2730 - fixed alloc of acl options for config zones so they can be deleted. 2731 - fixed that pattern name is copied, so that patterns stay the same. 2732 - repattern also rereads the zones in the config file and applies that 2733 to the running server. 2734 273521 December 2012: Wouter 2736 - --with-logfile sets the logfile inside the example documentation. 2737 - Fixed addzone and delzone inside chroot (thanks Will Pressly). 2738 273919 December 2012: Wouter 2740 - Fixup for libevent-2.1.2. 2741 274218 December 2012: Wouter 2743 - makedist makes sha256 for tarballs. 2744 - nsd-control start runs an absolute path to start sbin/nsd. 2745 274617 December 2012: Wouter 2747 - Fix for use with libev (no use of event.ev_flags). 2748 274912 December 2012: Wouter 2750 - 4.0.0b1 is beta1 version. 2751 275211 December 2012: Matthijs 2753 - Better ILNP RR parsing (thanks Stephane Bortzmeyer). 2754 275511 December 2012: Wouter 2756 - fix libevent=no signals on Solaris. 2757 - Fix handle of activated zones from timeout event. 2758 - contrib/nsd_munin_ updated with memory lookup for BSD. 2759 276010 December 2012: Wouter 2761 - implement --with-libevent=no. 2762 276310 December 2012: Matthijs 2764 - Bug #483: Better error messages for TSIG errors. 2765 - RFC 2845: If BADKEY or BADSIG, RCODE should be NOTAUTH. 2766 Also, continue TSIG verification if NOTAUTH. 2767 27687 December 2012: Wouter 2769 - stable pidfile, xfrd is process leader and forks server-parent. 2770 27715 December 2012: Wouter 2772 - NSD4_imp_6 tag. 2773 - trunk has imp_7 implementation. 2774 27754 December 2012: Wouter 2776 - NSD-RRL documented in manpage. 2777 27783 December 2012: Wouter 2779 - Fixup exit of server-child while notifies are incoming. 2780 278128 November 2012: Wouter 2782 - RRL implements classification type RRSIG. 2783 278426 November 2012: Wouter 2785 - Fix to make nsd.udb portable between 32bit and 64bit machines. 2786 - Fix to make udb mmap work for FreeBSD8 when it grows significantly. 2787 278823 November 2012: Wouter 2789 - Fix compiler warnings and fix blocking pipes. 2790 - default tcp-count set to 100. 2791 279221 November 2012: Wouter 2793 - Implement rrl log of unblock for collision. 2794 - imported TLSA and ILNP support from NSD3. 2795 279619 November 2012: Wouter 2797 - Fix bug 480: libevent use when tcp-count is hit caused hang (in NSD4). 2798 27999 November 2012: Wouter 2800 - Log when NSD-RRL stops a stream from being blocked. 2801 28028 November 2012: Willem 2803 - Fix AXFR. Loop through the zone to transfer only. 2804 28052 November 2012: Wouter 2806 - Fix bug 478: declaration after statement (for gcc 2.95). 2807 28081 November 2012: Wouter 2809 - Fix default settings for RRL. 2810 281130 October 2012: Wouter 2812 - review fixup of RRL SLIP response. 2813 - RRL uses dev/random at start, nonRRL does not. 2814 281526 October 2012: Wouter 2816 - nsd-control repattern also changes rrl-ratelimit and whitelist limit. 2817 281817 October 2012: Wouter 2819 - Fix alignment problem in zone transfer pipeline code. 2820 - Fix random generator generating negative. 2821 - Fix udb radtree strspace creation bug. 2822 282315 October 2012: Wouter 2824 - Fix activated zone does not interrupt transfer. 2825 - Log of connection failure for zone transfer is neater. 2826 282712 October 2012: Wouter 2828 - Fix invalid time argument in nsd control (for OpenBSD). 2829 283011 October 2012: Wouter 2831 - Fix build on OpenBSD (Thanks Oliver Peter). 2832 - tpkg for RRL. 2833 283410 October 2012: Wouter 2835 - implement nsd-checkconf option use of rrl-whitelist. 2836 28379 October 2012: Wouter 2838 - with --enable-ratelimit you enable ratelimiting, with verbosity 2 2839 it logs what is ratelimited for operational inspection. 2840 - unit test for rrl. 2841 - rrl uses mmap to save state across reloads. 2842 - rrl enum and u16 flags (dnskey type). 2843 - rrl whitelist and config. 2844 28458 October 2012: Wouter 2846 - Sync with unbound lookup3, has raninit value. 2847 28485 October 2012: Wouter 2849 - fix bug with event loop in zone transfer pipeline. 2850 - close xfrd_sock_p in server_child because otherwise due to use of 2851 kqueue, it gets a broken pipe when that process exits (on FreeBSD). 2852 28534 October 2012: Wouter 2854 - Fixup no use of internals ev_flags of libevent. 2855 28561 October 2012: Wouter 2857 - fix xfrd tcp skip. 2858 285921 September 2012: Wouter 2860 - tzset before chroot for correct timezone (from Camiel Dobbelaar). 2861 - pipeline support for AXFR and IXFR tcp queries. 2862 286311 September 2012: Wouter 2864 - writev support for TCP. 2865 286628 August 2012: Wouter 2867 - TXT records with components longer than 255 fail to parse, 2868 but without segfault, it continues processing with non NULL value. 2869 287027 August 2012: Wouter 2871 - libevent in server_child. 2872 287321 August 2012: Matthijs 2874 - Fix bug#464: Conditionally define MAXHOSTNAMELEN 2875 287620 August 2012: Wouter 2877 - Fix hang on exit in xfrd. 2878 - optimized socket counts for zone transfer speed. 2879 288013 August 2012: Wouter 2881 - Fix xfrd libevent events. 2882 288310 August 2012: Wouter 2884 - libevent in xfrd. 2885 288626 July 2012: Yuri 2887 - Prioritize notify sender for requesting XFR. 2888 (thanks Ilya Bakulin) 2889 289019 July 2012: Willem 2891 - Fix for VU#624931 CVE-2012-2978: NSD denial of service 2892 vulnerability from non-standard DNS packet from any host 2893 on the internet. 2894 http://www.nlnetlabs.nl/downloads/CVE-2012-2978.txt 2895 289618 July 2012: Wouter 2897 - Fix bug#460: man page correction - identity. 2898 28999 July 2012: Wouter 2900 - delete temporary transfer files on exit of xfrd and reload. 2901 - when tasks are applied, reload checks if it must exit between 2902 tasks, so that it can quickly exit when NSD is told to quit. 2903 - fix bug in apply_xfr that must use an udb_ptr because it shifts 2904 when new allocations are made. 2905 29066 July 2012: Wouter 2907 - add xfrdir: "/tmp" option and configure --with-xfrdir="/tmp". 2908 The nsd.task files and a subdirectory for zone transfers are 2909 created there. 2910 29112 July 2012: Wouter 2912 - fix checkconf unit test and add test for backwards compatibility 2913 for difffile: "x" statement. 2914 291529 June 2012: Wouter 2916 - Implemented /tmp/nsd.xfr.xxx/ to replace ixfr.db. So that nsdc 2917 patch is no longer needed. 2918 29198 June 2012: Wouter 2920 - Fix tpkg test cutest_qroot and rr-test for printout of algorithms 2921 as numbers, and copy of DO flag to the answer. 2922 - pick up fd fix from 3_2 branch: Some more fd >= 0 to fd != -1 fixes 2923 292431 May 2012: Matthijs 2925 - Sync with 3.2 branch 2926 292724 February 2012: Wouter 2928 - Fix for qtype ANY for a wildcard domain in NSEC signed zone. 2929 29309 February 2012: Wouter 2931 - Update acxnlnetlabs.m4 version 21, fixed MEMCMP_BROKEN #undef line. 2932 293323 January 2012: Wouter 2934 - remove clang security warning about %n in format string. 2935 293620 January 2012: Wouter 2937 - Fix bug #430: segfault when MAX_INTERFACES set to more than 65K. 2938 - Fix configure for OpenIndiana sunos 5.11, acx_nlnetlabs.m4 update. 2939 294012 January 2012: Matthijs 2941 - Fix bug #421: truncate pidfile on shutdown, before unlink. 2942 294310 January 2012: Wouter 2944 - removed unused variables. 2945 294610 November 2011: Wouter 2947 - acxnlnetlabs.m4 updated to version 16, better lto check (a.out drop). 2948 29493 November 2011: Wouter 2950 - fflush zonelistfile after zone add or delete. 2951 29521 November 2011: Wouter 2953 - Fix -flto detection for llvm compiler on Lion. 2954 295510 October 2011: Matthijs 2956 - Don't clear the AA bit if there is an authoritative CNAME in the 2957 answer section (as shown in RFC 1034, Section 6.2.7, 2nd example). 2958 295910 October 2011: Wouter 2960 - squelch EPIPE when writing AXFR, enable with verbosity 2. 2961 296226 September 2011: (Matthijs, from NSD3_2 branch) 2963 - Copy the DO bit to the response. 2964 - Don't return SERVFAIL on a domain that looks like a NSEC3 2965 domain but is actually a empty non-terminal. 2966 296719 August 2011: Wouter 2968 - Fix segfault if no logfile is used. 2969 29705 August 2011: Wouter 2971 - Fix make from repeating action already taken. 2972 - Fix compile without openssl. 2973 29743 August 2011: Wouter 2975 - silence 'Broken pipe' messages in log (visible with verbosity 2). 2976 - fix makedist.sh for removal of patch, notify, xfer. new nsd-control. 2977 - tag 4.0.0-imp-5 created. 2978 - trunk is 4.0.0-imp-6 under development. 2979 - added nsd_munin_ script for statistics monitoring to contrib. 2980 29812 August 2011: Wouter 2982 - fix compile on Ubuntu 11.04 systems, detects cc system header issue. 2983 29841 August 2011: Wouter 2985 - fix checkconf test for remote control options. 2986 - fix warning on Ubuntu 10.04, fix autoconf 2.68 warning on NetBSD. 2987 298829 July 2011: Wouter 2989 - zones with no zonefile are not written to text (assumes you can 2990 get AXFR and IXFR for the contents). They are stored in nsd.db. 2991 - test for repattern. 2992 299328 July 2011: Wouter 2994 - nsd-control repattern reads TSIG and pattern configuration. 2995 299625 July 2011: Wouter 2997 - fixed tests for removed tools from nsd, with replacements. 2998 replaced nsd-patch with nsd-control write. replaced nsd-notify with 2999 ldns-notify. replaced nsd-xfer with dig -t axfr. 3000 - fix for xfrd restart if crashed. xfrd knows if a reload is 3001 active at that time so it cannot start another one at the same 3002 time. New shortsoa track for start that does not use taskdb 3003 in use by reload. taskdb in use by crashed xfrd is recreated, 3004 in case it is corrupt. This keeps the nsd.db intact, keeps 3005 reload running with its updated and keeps service from the 3006 server processes active. 3007 300822 July 2011: Wouter 3009 - added contrib/nsd.init (nsdc.sh that only does start,stop). 3010 - removed nsdc.sh, nsd-xfer, nsd-notify, nsd-patch. 3011 for rc.d: contrib/nsd.init, or platform specific init script. 3012 nsd-xfer: see nsd-control transfer, or force_transfer. 3013 nsd-notify: see nsd-control notify. 3014 nsd-patch: see (cron job to) nsd-control write. 3015 301621 July 2011: Wouter 3017 - nsd-control notify, transfer and force_transfer. 3018 - fix for bug in write and reload zone option. 3019 - nsd-control zonestatus command. 3020 302120 July 2011: Wouter 3022 - reload can be given optional zone argument. 3023 - nsd-control reopen_logfile. 3024 - nsd-control write changed zonefiles. 3025 302618 July 2011: Wouter 3027 - Fix xfrd activation of zones to not break running zone transfers. 3028 302913 July 2011: Wouter 3030 - fix that signal causes stats to be printed to log. 3031 - fix stats without remotecontrol. 3032 - ignore notify and soainfo for deleted zone, if due to race they 3033 arrive after the deletion. 3034 - tpkg test for nsd-control, addzone and delzone 3035 30365 July 2011: Wouter 3037 - fix link to ssl with FreeBSD make. 3038 30391 July 2011: Wouter 3040 - fix optimize compile to link with ssl. 3041 304229 June 2011: Wouter 3043 - nsd-control delzone zone. Removes zone from zonelist. 3044 - stats includes number of zones. 3045 - RAXFR stat, which has not worked since NSD 1.2.4, reinstated. 3046 - print more memory statistics, for xfrd and config. 3047 304828 June 2011: Wouter 3049 - nsd-control addzone zone pattern. Adds new zone, slave or master. 3050 305127 June 2011: Wouter 3052 - nsd-control stats and stats_noreset (if enabled at compile time). 3053 nsd does not print statistics to logfile if period is 0. 3054 305523 June 2011: Wouter 3056 - -flto check supports clang compiler. 3057 305822 June 2011: Wouter 3059 - remote control, config, client, setup and status command. 3060 - reload nsd-control command. 3061 - stop nsd-control command. 3062 - verbosity nsd-control command. 3063 306414 June 2011: Wouter 3065 - Fix to have no authority NS set processing for CNAMEs. 3066 30679 June 2011: Wouter 3068 - fix bug that relptrs have to be initialized with rel_ptr_init() when 3069 created and zeroed with rptr_zero before deletion. 3070 - tag 4.0.0-imp4 created 3071 - trunk is 4.0.0-imp5 under development. 3072 30738 June 2011: Wouter 3074 - nsd reads the zonelist file on start. 3075 - updated acx_nlnetlabs.m4 to version 11. 3076 - configure checks size of off_t and increase region-allocator 3077 alignment to 8 if it is 64bit and alignment at 4. 3078 - fixed bug where not all references were removed before mmap was 3079 synced to another process. 3080 30817 June 2011: Wouter 3082 - code to add and remove zonelist entries, and unit test. 3083 30846 June 2011: Wouter 3085 - fix unit tests for mmap with TODO and removal of -f in nsd-patch. 3086 - zone expiry is communicated via the mmap, and not via the pipes, 3087 simplifying the code significantly as well as making a large number 3088 of zones more feasible. 3089 30901 June 2011: Wouter 3091 - mmap used for parent-xfrd communication of tasks and task results. 3092 SIGHUP is sent to xfrd so it can become a task in the normal 3093 workflow. This can process about 4500 zones per second (this was 3094 with lots of debug prints per zone, in debug compile). The mmaps 3095 are file-backed with /tmp/ files. They are removed on a clean exit. 3096 - nsd.db and tmp mmaps are created with mode 0600 for safety. 3097 - updated flag removed, nsd-patch always in -f force mode (-f removed) 3098 and writes all zones always. Its role is taken over by task results. 3099 310030 May 2011: Wouter 3101 - Fix Makefile for U in environment, since wrong U is more common than 3102 deansification necessity. 3103 310427 May 2011: Wouter 3105 - xfrd is forked before the database is read in, thus it does not 3106 consume the memory of the database. It can be reforked on a crash, 3107 which is like the current case. Difffile is cleaned by main process 3108 and the soa serials are all sent via pipe instead of via forkmem. 3109 311024 May 2011: Wouter 3111 - implemented patterns in the nsd.conf file. 3112 they can be instantiated with include-pattern: x. 3113 existing zone definitions keep working (backwards compatible), such 3114 zones really have an implicit pattern and cannot_delete flag set. 3115 - work on zonelist read and storage. 3116 311720 May 2011: Wouter 3118 - from NSD_3_2 branch the fix: bug if the zonefile is changed for a 3119 secondary but stored transfers are applied, and stop ixfr to empty. 3120 The zone is flagged with error, and the good zone is still in nsd.db 3121 for NSD4. 3122 312317 May 2011: Wouter 3124 - unit test for code coverage on nsec3 ixfr. 3125 - tag 4.0.0-imp3 created 3126 - trunk is 4.0.0-imp4 under development. 3127 312813 May 2011: Matthijs 3129 - Fix bug #381 - Binary escaped and transfers. 3130 313113 May 2011: Wouter 3132 - Unit test nsec3 salt change and fix for sanity check of nsec3 chain. 3133 pretty prints the nsec3 parameters if verbose. 3134 313512 May 2011: Wouter 3136 - more unit test for nsec3 precompile changes. 3137 - unit test for salt change, rehash in udb fix, remove last NSEC3 3138 from chain works, NSEC3PARAM RR fixed up if RR added or removed 3139 from NSEC3PARAM RRset, hashtrees cleared properly, precompile clear 3140 more thorough (not dependant on nsec3_conditions). 3141 314211 May 2011: Wouter 3143 - fixes for nsec3 precompile code: precompile for empty nonterminals 3144 created when an RR is added. If SOA removed, precompile stays 3145 coherent even though domain_find_zone no longer returns correct zone. 3146 314721 April 2011: Wouter 3148 - unit test and fixes in nsec3 precompile code. 3149 315020 April 2011: Wouter 3151 - incremental NSEC3 precompile. 3152 315314 April 2011: Wouter 3154 - remove chnum. Added numlist sorted by domain.number. 3155 domains that are not used are removed. 3156 315713 April 2011: Wouter 3158 - Fix is_existing flag for ENT when domain that has a shared ENT 3159 is deleted by IXFR. 3160 - zonec can parse strings with RR in it. 3161 - unit test for namedb. 3162 31638 April 2011: Wouter 3164 - porting complete. 3165 - tag 4.0.0-imp2 created 3166 - trunk is version 4.0.0-imp3. 3167 31687 April 2011: Wouter 3169 - ported to sunos 4.1.4, the unit test works (udb, radtree in mmap). 3170 31716 April 2011: Wouter 3172 - UDB_CHECK is enabled if --enable-checking is used. 3173 Because it checks the pointer-administration lists it slows down. 3174 - udb-inspect has feature -l that lists zones (and RRs) in nsd.db. 3175 - fix memory leak by zonec; the region_cleanup triggers too late. 3176 - set listen TCP_BACKLOG to 16 by default, it avoids connect reset 3177 by peer in 1000-zones transfer on an ultra10, thus for many-zones. 3178 - default xfrd-reload-timeout to 1 second. 3179 31805 April 2011: Wouter 3181 - Fix uninitialised value in xfrd nsd_soa, the rdata_count. 3182 - Unit test for update of the nsd.db with new contents. 3183 - Fix array bounds check in radtree-search function. 3184 31854 April 2011: Wouter 3186 - removed zonec from tests. fix unknown_rr test, enable ipseckey test. 3187 increased timeouts on tests that are hard on the filesystem. 3188 - Fixed IPSECKEY printout by nsd-patch. 3189 319030 March 2011: Wouter 3191 - nsd edits nsd.db for IXFR and AXFR messages. since xfrd already 3192 checks zone transfers completely for syntax those errors cannot 3193 happen, if they do (memory, disk error) the file is left dirty, 3194 to be recreated on the next start (and the process dies). 3195 319629 March 2011: Wouter 3197 - nsd recreates nsd.db if it has not been closed properly or is 3198 corrupted (bad header or wrong file format). 3199 320028 March 2011: Wouter 3201 - NSD without zonec. NSD loads zonefiles on start. 3202 NSD stores NSEC3hashes on disk. 3203 320425 March 2011: Wouter 3205 - Fix bug #365, you can set NSDC_ZONEC_VERBOSE and NSDC_PATCH_STYLE 3206 in the environment where nsdc runs. 3207 - Fix bug #375, typos in nsd.conf.5. 3208 - First step of bug #369: RRSIG DNSKEY sets zone to be treated DNSSEC. 3209 - Fix bug #302, nsd accepts XFR but refuses to re-read the slave zone. 3210 - NSD4 work: removed zonec, nsdc patch does not write text files 3211 for slave zones (as if option is always to binary, this capability 3212 returns later), nsdc patch deletes the ixfr.db. 3213 kill-HUP rereads zone files that have changed. 3214 321524 March 2011: Wouter 3216 - compile fixes for BSD. preserve RRset order. 3217 321823 March 2011: Wouter 3219 - udbzone, store and read zone data in the random-access udb format. 3220 322121 March 2011: Wouter 3222 - udbradtree works. udb-inspect tool can print radtree details. 3223 322416 March 2011: Matthijs 3225 - undo fix bug#325: messes up dname compression 3226 322714 March 2011: Wouter 3228 - udb code added. uses lookup3 from unbound (public domain). 3229 - unit test for radix tree in cutest. 3230 - unit test for udb in cutest. 3231 - udb-inspect tool to printout internals of udb files. 3232 for debug, not installed or built by default. 3233 - removed --disable-radixtree option. 3234 323511 March 2011: Wouter 3236 - Removed precompile features, speed gain took too much memory. 3237 - domain number to size_t. 3238 32399 March 2011: Wouter 3240 - DNAME synthesis of CNAME. Uses TTL of the DNAME record. 3241 - nsec3 and wildcard code. No additional section for wildcards. 3242 Also CNAME and DNAME replies contain only that record (and synth 3243 CNAME), the chain is not followed. 3244 32458 March 2011: Wouter 3246 - precompile work: 3247 class ANY gets AA flag, SOA and type-NS processing, just 3248 like BIND (9.6) and it simplifies processing for NSD. 3249 other than compression difference (precompile compresses smaller), 3250 there are no differences in a 49000 query testset against the root, 3251 without EDNS. 3252 32537 March 2011: Wouter 3254 - check chown value and report high verbosity its error. 3255 32563 March 2011: Matthijs 3257 - fix #bug352: fix hardcoded paths in manpages. 3258 32592 March 2011: Matthijs 3260 - fix #bug354: make realclean cleans too much 3261 - added make devclean for cleaning up autoconf and automake stuff 3262 - Fix hardcoded paths in nsd.conf.sample and nsd.conf.5 3263 326424 February 2011: Matthijs 3265 - fix #bug350: refused notifies should log client ip. 3266 32672 March 2011: Wouter 3268 - Fix AXFR service with radix tree. 3269 - cutest for speed of answer encoding, and format of answers for root. 3270 32711 March 2011: Wouter 3272 - after merge, remove double -I. from makefile. 3273 - radixtree is default. Nicer makefile and no warnings from unused 3274 flex functions. 3275 32761 March 2011: Wouter 3277 - merge with trunk r3181: 3278 24 February 2011: Matthijs 3279 - fix #bug350: refused notifies should log client ip. 3280 24 February 2011: Wouter 3281 - fix bug#362: outgoing-interface and v4 vs. v6 leads to spurious 3282 warning messages. 3283 - fix bug#363: nsd-checkconf -v does not print outgoing-interface ok. 3284 - fix that nsd-checkconf -o outgoing-interface omits NOKEY. 3285 23 February 2011: Wouter 3286 - fix for bug#357, make xfrd quit with many zones. 3287 328823 February 2011: Wouter 3289 - Merge trunk r3151. 3290 22 February 2011: Matthijs 3291 - Patch Jakob Schlyter (setusercontext before chroot). 3292 18 February 2011: Wouter 3293 - overhaul of testset, with port uniqueness and fast start and stop. 3294 11 February 2011: Wouter 3295 - added test case to do with bug357. 3296 24 January 2011: Matthijs 3297 - Patch Tom Hendrikx (only errors to stderr when doing nsdc patch). 3298 329917 February 2011: Wouter 3300 - Fix leak of compressiontable when the domain table increases in size. 3301 - added test case to do with bug357. 3302 330310 February 2011: Wouter 3304 - Merged with trunk r3115 changes: 3305 20 January 2011: Wouter 3306 - Fix on shutdown, then getaddrinfo acquired data uses freeaddrinfo. 3307 19 January 2011: Wouter 3308 - Bug #348: no -I/usr and -L/usr for libcrypto in /usr. 3309 5 January 2011: Matthijs 3310 - Fix nsdc update and nsdc notify 3311 - Force outgoing interface to be a single range acl 3312 - Update documentation about acl options 3313 - Code review 3314 - Fix nsdc so it can use hmac-sha* tsigs 3315 - Bug #347: NSEC3 nodata QTYPE=DS not at delegation mismatch 3316 4 January 2011: Yuri 3317 - Doc spelling error, bug#345 3318 15 December 2010: Wouter 3319 - fix race condition when nsd is stopped while a reload is in 3320 progress, often when rc.d does nsdc patch; nsdc stop in sequence. 3321 reload is now signalled to stop too. 3322 10 December 2010: Matthijs 3323 - fix bug#306: applied documentation patch 3324 - fix bug#253: now also for QTYPE=DS. 3325 12 October 2010: Wouter 3326 - Fix compilation on SunOS4. 3327 24 September 2010: Matthijs 3328 - Bug #328: nsd-checkconf overrun 3329 1 September 2010: Yuri 3330 - Support for huge TXT records. 3331 23 Aug 2010: Wouter 3332 - fix bug#325: remove stale files from cvs from repo. 3333 16 Aug 2010: Yuri 3334 - zonec, MAXRDATALEN check was off by one. 3335 9 Aug 2010: Matthijs 3336 - nsdc return 1 outside function, should be exit 1 3337 - Bug #320: arc4random 3338 2 Aug 2010: Matthijs 3339 - Bump to 3.2.7. 3340 21 July 2010: Wouter 3341 - NUM_RECV_PER_SELECT 100 implemented, configure check if kernel 3342 supports this. 3343 334417 January 2011: Matthijs 3345 - Bump to 3.2.8. 3346 33475 January 2011: Matthijs 3348 - Fix nsdc update and nsdc notify 3349 - Force outgoing interface to be a single range acl 3350 - Update documentation about acl options 3351 - Code review 3352 - Fix nsdc so it can use hmac-sha* tsigs 3353 - Bug #347: NSEC3 nodata QTYPE=DS not at delegation mismatch 3354 335520 July 2010: Wouter 3356 - Branched from trunk. Added radix tree. 3357 - use -fwhole-program if gcc supports it. 3358 335919 July 2010: Matthijs 3360 - fix bug#314, NSEC next field now correctly escapes spaces. 3361 Also fixes label overflow issue. 3362 - Put back HAVE_SSL. 3363 - Code reviews. 3364 - Add donor text. 3365 33666 July 2010: Wouter 3367 - Compiles on Minix 3.1.7; checks ss_family, suseconds_t, some 3368 warning fixes. Needs socketpair to work, e.g. 3369 http://wiki.minix3.org/en/SummerOfCode2010/UnixDomainSockets. 3370 33712 July 2010: Wouter 3372 - Put back CHECK_SSL in configure (removed with disable-tsig). 3373 337417 June 2010: Matthijs 3375 - Expand command line option '-a' and config option 'ip-address:' 3376 with port number. 3377 - Removed --disable-nsid, --disable-dnssec, --disable-tsig 3378 337914 April 2010: Matthijs 3380 - Bump to 3.2.6. 3381 338214 April 2010: Matthijs 3383 - uintptr_t fallback value to void* 3384 - Backwards compatibility for MAP_ANONYMOUS 3385 - Tag 3.2.5. 3386 338731 March 2010: Matthijs 3388 - Commit b64_pton optimalized compat code (Martin Svec). 3389 - Commit (experimental) mmap-alloc-namedb patch (Martin Svec). 3390 - Commit parse-token-leaks patch (Martin Svec). 3391 339227 March 2010: Wouter 3393 - fix bug#303: misspelled error message. 3394 339519 March 2010: Wouter 3396 - documented nsid: "hex string" setting in nsd.conf.sample. 3397 339824 February 2010: Matthijs 3399 - nsid: option 3400 - Enable NSID support by default 3401 - --with-chroot configure option 3402 - Less stupid chroot error handling 3403 340415 February 2010: Matthijs 3405 - Skip memory cleanup to speed up reload (Martin Svec) 3406 34071 February 2010: Wouter 3408 - compat code for memcmp unsigned comparisons. 3409 341021 January 2010: Wouter 3411 - fixup debug sprintf to snprintf. 3412 341321 January 2010: Matthijs 3414 - Secure string functions, including compat code for strlcat. 3415 - Randomness utility function 3416 - Prepare for default chroot 3417 34186 January 2010: Wouter 3419 - check write errors when marking commit failed when difffile is broken. 3420 34216 January 2010: Matthijs 3422 - Move to 3.2.5 3423 342423 December 2009: Matthijs 3425 - Store new options in nsd structure. 3426 342722 December 2009: Matthijs 3428 - New options 'ipv4-edns-size:' and 'ipv6-edns-size'. 3429 - Bug 276 3430 - Bug 286 3431 - Bug 288 3432 343321 December 2009: Matthijs 3434 - New option 'tcp-query-count:'. 3435 - New option 'tcp-timeout:' and configure option '--with-tcp-timeout'. 3436 - New zone option 'notify-retry:'. 3437 343811 December 2009: Wouter 3439 - Disable UDP IPv4 DF flag on Linux/FreeBSD/AIX with socket option. 3440 344120 November 2009: Matthijs 3442 - NSID bugfix: NSD did not recognize NSID in the query. 3443 34449 September 2009: Matthijs 3445 - DLV support 3446 344718 August 2009: Matthijs 3448 - Bug 269. 3449 - Typo: logincap.h -> login_cap.h 3450 345112 August 2009: Matthijs 3452 - Maintainers feedback 3453 345410 August 2009: Matthijs 3455 - Code review. 3456 - Also send errors to /dev/null in controlled_stop. 3457 - chown nsd.db 3458 34597 August 2009: Matthijs 3460 - Bug 266: don't have strptime build error 3461 346228 July 2009: Matthijs 3463 - Bug 263: make TSIG algorithms comparison case insensitive. 3464 346523 July 2009: Matthijs 3466 - Patch Paul Wouters for NSD using hardcoded name. 3467 346813 July 2009: Matthijs 3469 - Bug 236: allow RRs before the SOA RR. 3470 - Bug 253: No need for NS RRset in authority section, when returning 3471 final answer for QTYPE=DNSKEY. 3472 347329 June 2009: Wouter 3474 - patch for use of Linux IPV6_MTU option, so that on linux the default 3475 EDNS UDP size advertised becomes 4096 over IPv6. It fragments the 3476 packets using the IPv6 minimum MTU. 3477 347819 May 2009: Matthijs 3479 - Clean up configure script (install hickup) 3480 - Bug 249: Remove unnecessary LLONG_MIN and LLONG_MAX code. 3481 - Replace strtoll code with own strtoserial function. 3482 - Move up to 3.2.3. 3483 348411 May 2009: Matthijs 3485 - Add Off-by-one test 3486 34876 May 2009: Matthijs 3488 - Small fix in SO_REUSEADDR warning log message. 3489 - Off-by-one bugfix (thanks Ilja van Sprundel, IOActive) 3490 349129 April 2009: Matthijs 3492 - A more ensured do_stop (useful fo nsdc restart). 3493 34942 February 2009: Matthijs 3495 - Bugfix #234. 3496 - Bugfix #235. 3497 - Reset 'error occurred' after notifying an error occurred at the $TTL or 3498 $ORIGIN directive (Otherwise, the whole zone is skipped because the 3499 error is reset after reading the SOA). 3500 35012 February 2009: Matthijs 3502 - Bugfix: return BADVERS when EDNS version > 0, instead of 0x1<FORMERR>. 3503 350419 January 2009: Matthijs 3505 - Bug 230: nsd-*: use stdout for non-error output (instead of stderr). 3506 - Don't do strptime test when cross compiling. 3507 350817 January 2009: Jelte 3509 - Fix file rotation when no logfile but chroot. 3510 35118 January 2009: Matthijs 3512 - New nsd-patch option -o dbfile (set output.db) 3513 - update nsdc to deal with the new nsd-patch options 3514 - strptime compat fix 3515 35166 January 2009: Matthijs 3517 - New nsd-patch option -s (skip writing zonefiles) 3518 - Removed some region_create memchecks (not needed) 3519 35205 January 2009: Matthijs 3521 - Bug 218 3522 - Bug 222 3523 - Replace SHA256_DIGEST_LENGTH with nicer HAVE_EVP_SHA256 3524 352510 December 2008: Matthijs 3526 - Bugfix: better error message when ixfr.db cannot be read 3527 352818 November 2008: Matthijs 3529 - chown logfile, don't do file rotation if logfile is outside absolute 3530 and outside chroot. 3531 353217 November 2008: Matthijs 3533 - File rotation for nsd.log when owned by nsd (+ tpkg test). 3534 - Only AXFR fallback if master responded NOTIMPL or FORMATERR on IXFR 3535 request. 3536 - allow-axfr-fallback option. 3537 35387 November 2008: Matthijs 3539 - Bugfix: don't fclose if logfile == NULL. 3540 354130 October 2008: Matthijs 3542 - Allow escape characters in literal dnames 3543 - Fix typo in zonec manpage 3544 - Some fixes from code review 3545 354620 October 2008: Matthijs 3547 - Redo bugfix literal domain names in rdata (code adjustment) 3548 - Added tests for case sensitive dns names and "Bug #162" 3549 - Adjust nsd-patch to new ixfr.db format 3550 355114 October 2008: Matthijs 3552 - Only SO_LINGER when outgoing port is set 3553 - Reset diff_skip when a new difffile is created (parts in the difffile 3554 now have a timestamp). 3555 - Undo bugfix literal domain names in rdata (code adjustment) 3556 - Split up dname_parse to parse literal dnames and normalized dnames. 3557 35583 October 2008: Matthijs 3559 - setsockopt SO_LINGER, for portability outgoing-interface (BSD/Solaris) 3560 35611 October 2008: Matthijs 3562 - Configure the source ip-address for notifies by the master and zone 3563 transfer requests by the slave in nsd.conf. 3564 - Previously added source hostname/ip and port configuration for 3565 nsd-notify and nsd-xfer 3566 - Finetuned nsdc for nsdc notify and nsdc update 3567 356829 September 2008: Matthijs 3569 - Bugfix: only normalize domain names in rdatas when rrtype is listed in 3570 RFC 4034, section 6.2: Canonical RR Form. 3571 - Update TODO list 3572 357325 September 2008: Matthijs 3574 - Fix bug where hmac-sha256 was in algorithm table, but could not be 3575 retrieved by name or id. 3576 - Additional arguments for nsd-notify and nsd-xfer: set outgoing 3577 hostname/ip-address and source port. 3578 - Additional TODO entry: optimize code in nsd-* programs. 3579 35808 September 2008: Matthijs 3581 - RFC 4635, bugfix #130: support for hmac-sha1 and hmac-sha256 tsig 3582 algorithms. 3583 - modify and add tpkg tests for hmac-sha1 algorithms. 3584 35852 September 2008: Matthijs 3586 - AXFR fallback when IXFR/UDP failed on all masters 3587 - Bugfix: strip off chroot value in corner cases 3588 - Additional debug and verbose log messages 3589 359029 August 2008: Matthijs 3591 - IXFR allow UDP option 3592 359326 August 2008: Matthijs 3594 - Code layout, additional comments and documentation typo fixes 3595 - IXFR over TCP, no longer UDP 3596 359717 July 2008: Matthijs 3598 - Make the maximum number of interfaces configurable. 3599 - Write pidfile *after* successful server initialization, 3600 instead of writing, and unlink if fail. 3601 360216 July 2008: Matthijs 3603 - Set upcoming release to 3.1.1 3604 - Wouter: fixed memory leaks that happened on error, mostly on 3605 zone transfer errors. 3606 360711 July 2008: Matthijs 3608 - Avoid race condition in nsdc: let nsd server update pidfile before 3609 closing old parent process. 3610 36118 July 2008: Jelte 3612 - Fixed NSEC3 memory leak in the case NSEC3 is not needed. 3613 36147 July 2008: Matthijs 3615 - Bugfix #191 3616 36179 June 2008: Matthijs 3618 - When comparing RRs, do not compare TTL values (since the same record 3619 with different TTL values are considered equal). 3620 - Fixup some more unaligned memory access that could occur when 3621 reading ixfr.db. 3622 362319 May 2008: Matthijs 3624 - Do not always log tcp read errors, only when real error or high verbosity 3625 362628 April 2008: Matthijs 3627 - Bugfix #172 (misleading error from zonec) 3628 362927 March 2008: Matthijs 3630 - Port some branch modifications to trunk 3631 363228 February 2008: Matthijs 3633 - Do not answer nsec3 wildcard information when DO bit is not set 3634 363519 February 2008: Matthijs 3636 - Fixed strptime bug (for MacOS Leopard) 3637 363822 January 2008: Matthijs 3639 - Add configuration for chkconfig to control nsd service (bug 164) 3640 364115 January 2008: Matthijs 3642 - Fixed bug 157 where nsd would return FORMERR if edns query is 3643 received with version set to zero and rdlen is larger than zero. 3644 36458 January 2008: Wouter 3646 - no warning about optout records. also no warning about missing 3647 nsec3 records. 3648 - check for hash(apex)==nsec3 with SOA bit was done in duplicate. 3649 - removed old commented out code 3650 - using SOA bit in NSEC3 typemap to detect parameters 3651 - using nonhashed NSEC3 to prove qtype=NSEC3 nxdomains 3652 - prints for debugging. 3653 - nicer comment on nsec3_lookup. 3654 36557 January 2008: Wouter 3656 - Fixup nsec3 tests, they need zonesdir: "." in conf files. 3657 The tests pass. 3658 - configure default is --enable-nsec3. Disabling this will save 20% more 3659 memory (for very large zones). Moved tests to test on commit. 3660 - set RRTYPE numbers for NSEC3=50, NSEC3PARAM=51. 3661 - fixup checkconf test - updated parser lexer gives syntax error 3662 on some garbage instead of parse error. Parselexer is updated for 3663 new options (hide-version, verbosity). 3664 - removed highrange rrtype code. fixup cutest for that. 3665 - speedup of prehash code. 3666 - skip nonexistent domains (operator.example.com). 3667 - skip only-nsec3 domains (that could be 2x speedup) 3668 - skip glue nameserver domains (for TLD with 2 glue per 3669 delegation this is a 3x speedup). 3670 - skip the prehash_domain for delegation points, which saves 3671 another 2/3 hash operations, 3x speedup. 3672 - printout how long nsec3 prepare took (verbosity >= 1). 3673 36743 December 2007: Matthijs 3675 - Fixup bug where data related files are looked up in the wrong 3676 directory when chrooted with chrootdir ending with a slash. 3677 367826 November 2007: Matthijs 3679 - Fixup bug start nsd while already running: do not initialize server, 3680 since it is already running. 3681 368215 November 2007: Matthijs 3683 - Changed man pages format from mdoc to mansun, to support the Solaris OS. 3684 - Better logging for nsd-notify (show 'broken' zone) 3685 368613 November 2007: Wouter 3687 - CREDITS and RELNOTES now in utf-8. 3688 368912 November 2007: Matthijs 3690 - Changed man pages according to bug 162. 3691 369230 October 2007: Wouter 3693 - Fixup for skip after unknown deleted IXFR RR, otherwise processing 3694 would continue at the wrong spot in the packet and process the IXFR 3695 as if it were malformed. 3696 - added unit test for this in long (needs ldns-testns, updated it). 3697 - added unit test for rollback of malformed zone transfers. 3698 Fixup for it, and fixup in ldns-testns to be randomport and 3699 copy id for hex packets. 3700 370129 October 2007: Wouter 3702 - Fixup bug where malformed IXFR replies cause partial processing in 3703 reload (or nsd-patch or nsd-startup). One result is multiple SOA 3704 records in zone apex. Fixup rolls back the zone transfer, and waits 3705 for NSD to try to load again. 3706 370726 October 2008: Wouter 3708 - small fix in descriptive text in sample config for debug-mode. 3709 37109 October 2007: Mark 3711 - Change default location of: nsd.db, ixfr.db & xfrd.state to 3712 /var/db/nsd. 3713 37145 October 2007: Wouter 3715 - Fixup manual page entry for allow AXFR to anyone. 3716 37173 August 2007: Mark 3718 - Report source and zone for denied AXFR attempts. 3719 372025 July 2007: Wouter 3721 - bind2nsd to 0.5.0, fixup of includes, key{} handling. 3722 372319 July 2007: Wouter 3724 - bind2nsd to 0.4.8, fixup of include bug. 3725 372618 July 2007: Wouter 3727 - added contrib for bind2nsd, Al Stone provided an abridged version 3728 that neatly fits for contrib. 3729 373017 July 2007: Wouter 3731 - fixup commithooks. 3732 373316 July 2007: Wouter 3734 - Added reference to http://bind2nsd.sourceforge.net/ to 3735 contrib/README. 3736 37373 July 2007: Mark 3738 - Zone compiler now gives more sane error message when out of 3739 diskspace. 3740 - Fixed a call to drill in tpkg that made a test check bind instead of 3741 nsd. 3742 37432 July 2007: Mark 3744 - Remove last traces of mmap usage. 3745 - Some cleanups in tpkg. 3746 374724 April 2007: Mark 3748 - Added "hide-version" configuration setting. Enabling this feature 3749 stops NSD from answering to CHAOS class version requests. 3750 375119 April 2007: Wouter 3752 - Compiled on minix 3.1.3 and make some adjustments to ease porting. 3753 ECONNABORTED is checked for. sys/select.h included in nsd-notify. 3754 SO_REUSEADDR failure is not fatal. PF_INET compat code added. 3755 If you compile yourself; strptime and socketpair need compat code. 3756 375713 April 2007: Wouter 3758 - Minor tweak to nsec3.c, more elegant handling of malformed nsec3 3759 records from a zone transfer. 3760 376110 April 2007: Wouter 3762 - Fixup ignored return value in region-allocator. Now returns a NULL 3763 memory allocation failure and leaves region in a consistent state. 3764 376520 March 2007: Wouter 3766 - Released 3.0.5. 3767 - (for 3.0.6) -O2 test for Alpha moved to saner position. 3768 376916 March 2007: Wouter 3770 - port configure to AIX, removed warning on ALIGNMENT in region code. 3771 defined _ALL_SOURCE to get recent C definitions on AIX. 3772 - improved nsec3.h comments. 3773 377422 February 2007: Wouter 3775 - Zonesdir default is now /etc/nsd. 3776 So that the invocation directory is not used to dump files into. 3777 The user can change the zonesdir by editing the config file. 3778 The directory is created by install, if not an error is printed. 3779 - updated tpkg tests to use current dir for testing. 3780 - tcp connections that drop do not spam the log file. 3781 Unless verbosity is set high. 3782 378319 February 2007: Wouter 3784 - Fix empty line printed with warning on 'force zone transfer'. 3785 378615 February 2007: Wouter 3787 - Check for EPROTO definition to compile on FreeBSD4/Alpha. 3788 378913 February 2007: Mark 3790 - Debug flag (-d) behavior changed. Nsd now also forks children when 3791 run in debug mode. 3792 - Added verbosity mode (-V <level>) for extra operational logging. 3793 37948 January 2007: Wouter 3795 - README text on interface configuration added. 3796 37972 January 2007: Wouter 3798 - Fixup accept() that could block due to already closed connection. 3799 Made listen() nonblocking, ignores errcodes that indicate closed tcp. 3800 380129 January 2007: Mark 3802 - Handle the new CERT RDATA types defined in RFC 4398 (submitted 3803 by Mans Nilsson). 3804 - Change nsd-notify retry timer from linear into exponential backoff 3805 (submitted by Mans Nilsson). 3806 - Due to a small bug in a comparison statement, zonec would fail 3807 on the parsing of unknown CERT types. This got triggered by the 3808 first bugfix today, as that one shouldn't have been discovered in 3809 the first place. Took the opportunity to sanitize two other 3810 comparison statements related to strtol(). 3811 381224 January 2007: Wouter 3813 - Tentative change to set UDP sockets nonblocking. Perhaps it 3814 helps Howard. 3815 381619 January 2007: Wouter 3817 - NSEC3 work. prehash printed only once with time taken to prepare. 3818 - prints are now only in DEBUG mode (except errors). 3819 - rr descriptor counts for NSEC3 updated, has an extra field flags. 3820 - now NSEC3PARAMs with flags!=0 are ignored, as per draft-09. 3821 - Fixed where only first NSEC3PARAM was properly detected. 3822 - Added tpkg in manual (because you need to compile with nsec3) 3823 that performs the test queries from draft-09 and checks them. 3824 - Made tpkg to test NSEC3 parameter detection. NSD will skip any 3825 NSEC3PARAMs that don't work until the first working one is found. 3826 Also, this means unknown hash algorithms are simply ignored. 3827 A zone that uses exclusively unknown hash algorithms for NSEC3 3828 will give errors on loading (or after zone transfer) but NSD 3829 will load and serve the zone (but no NSEC3s are returned). 3830 - added tpkg in manual to test parent side DS answers. 3831 These follow a different code path than child side DS. 3832 - Will allow NSEC3s(and signatures) below a DNAME. 3833 - A query for an NSEC3 ownername will lead to DNAME redirection 3834 as if the NSEC3 did not exist. 3835 - Test package in manual that tests NSEC3 and DNAME in the apex. 3836 - Changed NSEC3 memory requirements from 5 pointers per domain name 3837 to 3 pointers and 2 bits. 3838 - Added jumpstart for nsec3 search, will greatly speed up optout 3839 zone nxdomains. At the cost of one ptr per domain name. 3840 The speedup also speeds up the nsec3 prepare stage. 3841 384218 January 2007: Wouter 3843 - Created 3.0.4 release tag. 3844 - 3.0.5 number in trunk. 3845 - add nsd.spec patch from Farkas Levente to contrib. 3846 - NSEC3 new wireformat and presentation format from draft-09. 3847 384811 January 2007: Wouter 3849 - The message 'server .. closed cmd channel' is now priority INFO. 3850 This to reduce the 'error' amount in the logs. 3851 - On error in a tcp request, set to retry next instead of waiting 3852 for the tcp timeout. 3853 38549 January 2007: Wouter 3855 - TSIG acl matching changed so that NOKEY allow-notify entries match 3856 only queries without a tsig. Otherwise NSD would crash. 3857 This only affects servers that have allow-notify: ip NOKEY and 3858 someone sends a TSIG signed notify from that ip. 3859 - test package for that. 3860 - Fix for reply to notify messages with ANCOUNT wrong. The ack 3861 to notify messages that passed the ACL, and had a SOA in the answer 3862 section of the query, included wrong RR counts in the header. 3863 - test package for notify reply wireformat. 3864 38658 January 2007: Wouter 3866 - ipc_send_blocked will not lead to busy waiting on it, but will block 3867 in select, until SOA_END comes by. 3868 - server_main sends SOA_END if reload crashes, to xfrd. So that xfrd 3869 can set ipc_blocked=0 and can_send_reload=1; and thus resume service, 3870 assuming that the crash was a temporary condition. 3871 This will lead to trying every reload-timeout seconds to reload 3872 if it is a permanent condition. Which is more obvious to the 3873 operator. 3874 - put the error "error: diff: RR ns.kiev.ua. already exists" in 3875 debug mode only. Zone transfers with this error are liberally 3876 accepted, and we should not spam the logfile. 3877 - empty zones will not be retried forever every 10 seconds, 3878 but exponential backoff to a max of every 4 hours. 3879 The exact value is randomised to spread out attempts. 3880 38815 January 2007: Wouter 3882 - Fixed --zonesdir=<path> for configure. The value did not get used 3883 as a default value. Now it is used as a default value. If a 3884 default value is set for zonesdir, you can go to a 'no value 3885 specified' by giving the empty string, zonesdir: "" in nsd.config. 3886 - Fixed checkconf.tpkg for this change. nsd-checkconf will 3887 output zonesdir: "" as this is the default for --zonesdir. 3888 38892 January 2007: Wouter 3890 - Added contrib script from Stephane Bortzmeyer to convert NSD 2 to 3891 NSD 3 config files. Converts secondary zones and TSIG keys. 3892 - Made config conversion script skip empty lines. 3893 - Made config conversion script convert primary zones (and notify). 3894 - Nsdc control script will exit with 'nsd startup failed.' if nsd 3895 fails to start (due to bad config file for example). 3896 389715 December 2006: Wouter 3898 - Removed dlopen() checks from configure.ac, NSD3 no longer has 3899 dynamic plugin support (since 3.0.0). 3900 - added .rpm spec file to contrib. 3901 - Updated README to remove reference to buildzones script. 3902 390312 December 2006: Wouter 3904 - Added missing include to ipc.c to compile on SunOS. 3905 - Cast to avoid signed/unsigned comparison in compat/inet_ntop.c. 3906 390711 December 2006: Wouter 3908 - Added test to check for CNAME and other data error by zonec. 3909 Currently NSEC, NSEC3, RRSIG, SIG, NXT are allowed next to CNAME. 3910 - Fixup unaligned memory access that could occur when reading ixfr.db 3911 with a partial transfer inside. 3912 - RR type WKS (well known service) was not printed correctly, 3913 htons() was forgotten when calling getservbyport. 3914 - NSD does not complain about not being able to read the db CRC 3915 when all that happens is the file became longer or shorter. 3916 39178 December 2006: Wouter 3918 - Moved down max XFRD UDP sockets for zone transfer queries to 100 3919 down from 300. This makes the total socket max at 200, so it fits 3920 easily under 256 ulimit (a common default). 3921 39227 December 2006: Wouter 3923 - Improved error message to help operator. 3924 - created 3.0.3 svn tag. 3925 - default of zonesdir corrected (no directory is default). 3926 39274 December 2006: Wouter 3928 - updated test packages. Moved 213_large from manual to long. 3929 size_0, source_port_0 made more working (needs root permission). 3930 39311 December 2006: Wouter 3932 - Moved xfrd ipc and reload handlers to front of event handler 3933 lists for a 10% speedup in xfrd. 3934 - Fixed so that NSD no longer interrupts zone transfers when 3935 a notify comes in for that zone. Added package to test it. 3936 - Fixed warning on Solaris 10. 3937 393830 November 2006: Wouter 3939 - Test for fallback in getaddrinfo more portable. 3940 Ported to FreeBSD 6.1 without inet6. 3941 - New quit sync had a problem with blocking in dispatch. Fixed. 3942 - reload will retry quit_sync if nothing happens. 3943 - parent tries to empty the pipes before closing them on quitsync. 3944 - xfrd does not send reload when previous reload request busy. 3945 - netio will only deliver the number of bits from select 3946 and then stop. Optimisation. 3947 394829 November 2006: Wouter 3949 - Fixed getaddrinfo error message to be more descriptive. 3950 - Fallback to ip4 also if getaddrinfo fails for ip6. 3951 - instead of EAI_ADDRFAMILY uses EAI_FAMILY which is portable 3952 to FreeBSD. 3953 - signed/unsigned warning fix for FD_SETSIZE comparison. 3954 - Lots of debug statements and new quit sync feature, where 3955 the server children are synced with. So as not to lose buffers. 3956 395728 November 2006: Wouter 3958 - Debugging 10k zones transfer, set so that zones waiting for a 3959 socket do not get timeouts. 3960 - Debug change so that an event is only returned to one handler 3961 by netio. 3962 Reversed this. Netio will not deliver events you do not listen 3963 to, and since xfrd first listens to write then read, it will 3964 not have problems with stale events (for the fd from the previous 3965 select) because these are always read, while it needs a write. 3966 Re-Reversed it: netio will deliver events only once. 3967 This is easier to understand for the poor hapless developer. 3968 - Need to set notify_current for notify on waiting list. Fixed. 3969 397027 November 2006: Wouter 3971 - Debugging 10k zones transfer, noticed that it is possible for 3972 netio to give a callback for an event that you were not listening 3973 to. Now no longer does that. 3974 397516 November 2006: Wouter 3976 - Bug #153: now checks for FD_SETSIZE when adding fd to select fdset. 3977 - Easy overview of socket allocation for xfrd in xfrd.h 3978 - Upped the default xfrd socket limits a bit. 3979 - Log message that the TCP connection limit is reach is now only 3980 in -L 2 logging. It is spammy. 3981 - updated dependencies. 3982 - Added test for notify-socketcount, and removed unused files from 3983 bug153 test package. 3984 - Notify udp sockets are also capped at a max number. The rest 3985 has to wait in a queue. 3986 398715 November 2006: Wouter 3988 - Fixed bug #152: identity keyword in nsd.conf did not work. 3989 What happened was that the hostname() from the computer 3990 was overriding the nsd.conf identity. Fixed now. 3991 If commandline is given that is used. 3992 Else nsd.conf entry is used. 3993 Else hostname() detected from computer is used. 3994 Else default string "unidentified" is used. 3995 399614 November 2006: Wouter 3997 - Fixed bug where NSD tries to create 10000 udp sockets, 3998 when starting with 10000 secondary zones. Limited to 50 3999 at a time. The XFRD_MAX_UDP constant controls this. 4000 40013 November 2006: Wouter 4002 - Created tags/NSD_3_0_2_REL. 4003 40042 November 2006: Wouter 4005 - Added pdf for differences.tex for ease of use. 4006 - Updated text in readme on memory usage. 4007 400824 October 2006: Wouter 4009 - Recycle rrset memory after doing special processing on the deleted 4010 rrset data. 4011 - log message clearer for 'duplicate xfr part' to 'discarding partial 4012 xfr part'. 4013 - if you have a server that has IXFR turned off but sends a TC flag 4014 for IXFR queries, xfrd will retry to TCP. This makes the use of 4015 'AXFR' flag in nsd.conf file not needed in certain cases. 4016 - Be thrifty and save up the memory that was lost at end of chunks 4017 in the recycle bin. Saved 1.3Mb on 170(rrs)/220(total) Mb dataset. 4018 401923 October 2006: Wouter 4020 - Added checks for out of memory in reload (diff file). And it exits 4021 if so neatly. 4022 402313 October 2006: Wouter 4024 - Bug #149: Wrong text for NOTAUTH error code. When notify is not 4025 authorised REFUSED error code returned instead. 4026 40274 October 2006: Wouter 4028 - More fixes from Koh-ichi Ito (kohi@iri.co.jp now), for bug #146, 4029 his bash does not do $(( )), so nsdc.sh has to use test of course. 4030 403129 September 2006: Wouter 4032 - recyclebin works, added a test that uses it (about 3 Mb goes 4033 through the recyclebin). This resolves bug #147. 4034 - Made -L 1 logging is little less verbose (-L 2 gets it all). 4035 - added search path for openssl on Solaris 10 (/usr/sfw). 4036 403728 September 2006: Wouter 4038 - Removed unused global variable current_region, 4039 and routines for it in region-allocator.c and .h. 4040 - Added recycle option to regions. It will keep track of small 4041 objects in a recycle bin. Large objects are deallocated. 4042 No calls to recycle yet, unit test it first. 4043 - added unit test for region recycle. 4044 404527 September 2006: Wouter 4046 - Further suggestion from Koh-ichi Ito, I've set opt->xfrdfile 4047 to XFRDFILE in options_create. So opt->xfrdfile and opt->difffile 4048 are never NULL. This simplifies code elsewhere. 4049 And also handles chroot case (+=l) for default values. 4050 - Fix for bug #145. The skip file position in the diff file was used 4051 inconsistently - one part of the code skipped to before the 'IXFR' 4052 type code and another part skipped to after that. Now all skip to 4053 before the type code. This bug only happens if your diff file 4054 is like: zone1_part1, zone2_part_1, zone1_part2, zone1_commit, 4055 zone2_part2, zone2_commit. The skip over zone1_part1 failed. 4056 - tpkg test in long dir that tests for the bugfix. Takes a long time 4057 and uses ldns-testns feature to wait partway through an AXFR. 4058 - removed debug log of strerror on diff read failure, when the errno 4059 was already output to the logfile (resulting in a nonsense error). 4060 406126 September 2006: Wouter 4062 - NSD compiles on Solaris 10 with the sun cc compiler. 4063 Added a define for _STDC_C99 for that. 4064 - Checked that the patch for solaris for bug 143 indeed fixes the bug. 4065 - Fixed bug #146 reported by Koh-ichi Ito: when chrooted nsd failed 4066 to write xfrdfile/difffile. 4067 406818 September 2006: Wouter 4069 - no queries for NSEC3, RRSIG, ANY succeed for nsec3 only domains. 4070 407115 September 2006: Wouter 4072 - Fixed LOC parsing of integer overflow causing maximum values. 4073 Added to test and backported fix to 2.3.6. 4074 - NSEC3 qtype queries get noerror/nodata or nxdomain answers. 4075 You can query for NSEC3PARAM. 4076 - warnings for printf format on maxOS (sizet needs cast to int). 4077 407813 September 2006: Wouter 4079 - added fsync to AF_UNIX sockets to write last command (QUIT) before 4080 closing them. 4081 - sent explicit QUIT command to xfrd on final shutdown of the server. 4082 408312 September 2006: Wouter 4084 - Bug #144: LOC defaults for unspecified values wrong. Error in zonec. 4085 Set defaults. Also fixed parser if LOC has no minutes or seconds. 4086 - Also fixed rounding error in seconds 0.001 decimal. 4087 - Test tpkg for bug 144. 4088 408911 September 2006: Wouter 4090 - nsdc now more portable in use of 'which'. 4091 Does not only look at exit code but also checks for '^no ' string. 4092 - nsd-patch does a chdir to zonesdir for relative difffile or dbfile 4093 path names. 4094 - nsdc handles zonesdir: for relative pidfile, dbfile, difffile 4095 pathnames. 4096 40977 September 2006: Wouter 4098 - bumped version to 3.0.2. 4099 - Nice configuration error when you had the wrong zone name in the 4100 nsd.conf file. Zonec will give an error already. 4101 - When you start a secondary zone without a zone file, you get 4102 a much nicer error message, warning you of the zone transfer. 4103 - Credits for prerelease testers; Thanks guys! 4104 41056 September 2006: Wouter 4106 - Fixed nsd-patch so that it writes the SOA at the start of the file. 4107 - test tpkg that tests for the bug, has multiple rrsets at zone apex 4108 and does nsd-patch followed by zonec. 4109 Previous tests did not catch this: they used nsd-xfer to test zone 4110 contents, or only checked the zone-file after nsd-patch. 4111 - version number bumped to 3.0.1. 4112 - svn tag 3_0_1 made. 4113 41145 September 2006: Wouter 4115 - differences file improvements. 4116 - created 3.0.0 release in svn tags. 4117 41184 September 2006: Wouter 4119 - From suggestions by Bin Zhang: 4120 - nsdc restart does not fail if nsd was not running. 4121 - fixes to man pages, wrong locations for files. 4122 - NSEC3-PARAM has no optout bit in presentation format. 4123 - NSEC3PARAM spelling. 4124 - differences in latex format (needs nlnetlabs housestyle). 4125 412631 August 2006: Wouter 4127 - Fix for tsig size still set when data is null ptr. 4128 - Fix configure for NetBSD (1.6 - 2.0) to find struct timespec. 4129 - DIFFERENCES file completion. 4130 413130 August 2006: Wouter 4132 - Print error nicely when nonblocking connect fails on systems 4133 in a portable way. 4134 - doc/UPGRADING document to assist NSD 2 to 3 upgrades. 4135 - updates of error print - ignore EINPROGRESS if we check too early. 4136 - wait for select writable before testing for connect error. 4137 - echo "" >&2 is not as portable as we would like, removed from nsdc. 4138 - fixed debug print of a null ptr. 4139 - fixed bug where query for CNAME that points to unserved zone caused 4140 nullptr exception on empty zone ptr. Now original zone is restored 4141 after CNAME-pointed data is added to the packet. 4142 Test in dname.tpkg. Reported by Kai. 4143 - fixed stack corruption when ipv6 disabled. 4144 414529 August 2006: Wouter 4146 - NSEC3 made it so it can handle the case where the NSEC3 RRSET 4147 with the SOA bit on does not have the RR with the soa bit set 4148 as the first RR. 4149 - Handle NSEC3-PARAM type. Checks to see if any of them work: 4150 zone apex hashed exists, with NSEC3 type, and RR that has 4151 the same parameters and the SOA bit set. 4152 - in presentation format of NSEC3, NSEC3-PARAM reversed hash, optout. 4153 - update to the DIFFERENCES file, bind 9.3.2 vs NSD 3 and 4154 NSD 2 and 3 comparisons are completed. 4155 415628 August 2006: Wouter 4157 - echo messages in nsdc made clearer. nsdc notify and nsdc update 4158 only send notify messages to slaves / localhost to force transfers. 4159 - initial NSEC3-PARAM type code entry. parsed, ignored. 4160 416125 August 2006: Wouter 4162 - disabled make test target as tests are not shipped. 4163 - performed prerelease static snapshot. 4164 - updates to the DIFFERENCES document. 4165 416624 August 2006: Wouter 4167 - Fix bug 141 port from 2.3.6, copies behaviour from bind 9.3.2. 4168 - Added a test for bug 141. 4169 - Bug141: save the opcode from the query. 4170 417123 August 2006: Wouter 4172 - Fixed % by 0 exception in the bugfix #139. 4173 - Fixed RFC 4035 says CD flag SHOULD be cleared on authoritative 4174 responses, now NSD clears the CD flag. This is bug #140. 4175 RFC 4035 could be confusing on this, as it states 'all servers 4176 MUST copy the CD bit' more than once, but then makes clear only 4177 recursive servers are meant with that statement. 4178 - Differences document updates for bind 9.3.2 and nsd 3. 4179 418022 August 2006: Wouter 4181 - version number to 3.0.0 in preparation for release. 4182 - Bug #139: resync stats to whole period. Fixed. 4183 418421 August 2006: Wouter 4185 - check for error in ftruncate call. 4186 - replaced fwrite call with write_data call from util that does 4187 error checking. 4188 418915 August 2006: Wouter 4190 - removed unused struct nsd.named8_stats variable. 4191 - Bug #138: nsd aborts trying to bind all interfaces if ip6 is not 4192 enabled, instead it will fallback to ip4. 4193 419414 August 2006: Wouter 4195 - Added test for rollback of an IXFR transfer by xfrd. 4196 - Added test for reload timeout in xfrd, the reload does happen after 4197 a while, but not immediately. 4198 - Test that makes xfrd connect to ip6 address. 4199 - Test that overloads the number of tcp connections in xfrd, 4200 simulating a slow master, so that zones have to queue up to get it. 4201 - code coverage is now 2514 of 10636 uncovered. Still a lot uncovered. 4202 - ixfr queries return NOT_IMPL errors. 4203 420411 August 2006: Wouter 4205 - srandom to init random() in xfrd based on PID and time. 4206 - improved usage() information to be more helpful, and with version. 4207 - in makedist.sh, flex and bison called like in Makefile. 4208 - test for tcp underrun and overrun of the buffer. 4209 421010 August 2006: Wouter 4211 - added more tests to increase code coverage of testset. 4212 - moved acl parsing code from configparser.c to options.c to help 4213 unit testing. 4214 - nsd-checkconf echod wrong difffile filename with -v. 4215 - nsd-patch can now be used with -f to force printing of all RRs. 4216 - TYPE_NULL crashed NSD when it printed it, arg was ZF_DNAME, 4217 now ZF_UNKNOWN. 4218 - unknown rr test was faulty on input, the length was in nibbles 4219 not in octets, but rfc specifies octets for unknown rrs. 4220 NSD does not look at the length, and prints the length correctly. 4221 - added type NXT to the rr-test for weird RRs. 4222 - added printing test to rr-test, ipseckey and unknown-rr tests. 4223 checks if NSD prints the same RR on output as it read in. 4224 - put -x option for nsd-patch in usage(). 4225 - test that kills an nsd child server and checks that it is 4226 restarted. 4227 42289 August 2006: Wouter 4229 - tested nsdc functionality, make install and make uninstall. 4230 - set O_NONBLOCKING on xfrd tcp sockets before the connect call, 4231 because the handshaking can take very long too. 4232 - difffile and xfrdfile set via configure, to absolute pathnames, 4233 so that chroot checks work for them. 4234 - updated tpkgs, they need to set relative paths now for difffile. 4235 - gcov says 2821 of 10617 total code lines are not covered. 4236 compiled with --coverage, not -O2, ran tpkg/* and long/testplan*. 4237 counted grep '#####:' *.gcov | wc and grep '^ *[0-9]*:' *.gcov | wc. 4238 - cleaned up the log functions, NSD no longer spams the syslog with 4239 debug messages. The standard NSD debug util is used, -F -1 -L 2 for 4240 a compile configured with --enable-checking will enable them again. 4241 Errors are logged, as is the automated reload of a new serial. 4242 - tpkgs for bug077 and bug107 were silently failing to test properly. 4243 42448 August 2006: Wouter 4245 - fixes for checkconf test, more portable. 4246 - removed items from TODO that have been tested. 4247 for multihomed servers you have to bind to each interface 4248 explicitly to get outgoing ip-address the same as query 4249 destination ip-address. 4250 Forks and if-existing are tested and ok in testplan tests. 4251 close_all_sockets is called by child, if tcponly, so leave it. 4252 - user name check is hard portably with shell scripts, and 4253 packaging could set a default user that does not exist on a machine. 4254 - empty nodes (nonterminals) give no nxdomain any more (todo item done). 4255 - removed (old) from TODO. 4256 - removed contrib/buildzones.pl, it is outdated. 4257 42587 August 2006: Wouter 4259 - Made the tests a little more portable. 4260 - fixed mempcy unable to handle unaligned memory addresses on Solaris, 4261 used memmove instead of memcpy in zonec LOC conversion code. 4262 - another unaligned memory access, when storing off_t pointer in 4263 difffile.c, used memmove. 4264 42654 August 2006: Wouter 4266 - nsd will start if diff file is corrupt, with a log message. 4267 It ignores the bad data. 4268 - tpkg files do not override PATH, svnhook sets it. So user can 4269 set path to utilities on the system to run the tests. 4270 - running testset on DecAlpha discovered uninitialised variable 4271 in NSD. Fixed. 4272 - Jakob Schlyter asked for building nsd3 in an obj dir, i.e. 4273 mkdir obj; cd obj; ../configure && make. Fixed up makefile for that. 4274 - and bug137.tpkg for separate obj dir building. 4275 42763 August 2006: Wouter 4277 - more tests in mesh test. 4278 - changed test packages to put nsd log to test result "/dev/stdout". 4279 - test packages more portable - use default 'dig' location. 4280 also, path is appended to, instead of replaced. 4281 42822 August 2006: Wouter 4283 - Region can be customised for detailed memory handling. 4284 Especially if you set large_object_size=0, chunk_size=0, 4285 the region will perform individual allocs, and 'save memory'. 4286 The region still keeps tracks of allocations so that at 4287 region_free time all memory is released. 4288 - tsig.region removed, it was not used after attaching a cleanup 4289 at creation. tsig creation uses custom region settings. 4290 - xfrd inits the tsig records with memory saving settings, 4291 so the regions alloced for tsig take up about 60 + 4*8 bytes. 4292 - new custom region for query region - to make chunksize larger 4293 there. The chunksize for the query region is important, if 4294 all allocations for a query fit in it, no mallocs are needed. 4295 - TSIG other_data field size according to RFC 2845 is 0 or 6. 4296 In tsig implementation put a maximum to the field of 16, 4297 otherwise a formerror results. 4298 - query with IXFR appended SOA not formerror. 4299 IXFR queries not reach the handler in axfr.c for IXFR queries. 4300 - removed annoying debug message of added tsig key. 4301 - added test that starts 7 servers in a mesh and lets them fight out 4302 what zones to transfer and serve. 4303 - xfrd logic bug: if notified a slave would not see the renewal 4304 of its current zone. 4305 43061 August 2006: Wouter 4307 - Test for remove domains with IXFR. 4308 - Fix for empty nonterminals and IXFR deletes. 4309 - Test for timeouts, including expiry, and expiry and zone updates. 4310 - Test for axfr refused authorisation. 4311 - Test for deadlock in ipc. 4312 431331 July 2006: Wouter 4314 - Test plan ixfr test in tpkg/long directory. 4315 - IXFR with many packets tested (one RR per packet). 4316 431728 July 2006: Wouter 4318 - tentative change, that preserves ordering of rrtypes for a domain. 4319 - fix for serial rollover (old_serial + 2**31), now works, is seen 4320 as new serial and rolled over to new. 4321 - serial numbers, and time values, printed as unsigned to logfile. 4322 - set so that if info is provided by operator, refreshing state 4323 not expired is used. 4324 - forgot to * a pointer to boolean, is_ixfr in the difffile reader. 4325 This fixes the testplan_ixfr test 1. 4326 432727 July 2006: Wouter 4328 - fixup desc of tsig xfer test, remove debug from xfr_huge. 4329 - fixed compressed dname tables cleanup, to set ptr to NULL. 4330 - initialised xfrd_listener.fd to -1. 4331 - fixed difffile handling of very short AXFRs, with no data. 4332 433326 July 2006: Wouter 4334 - Updated the requirements with comments from Olaf. 4335 - README discourages use of experimental nsec3 rr a bit more. 4336 - typo in DNAME code, used original qname instead of CNAME 4337 adapted qname variable. 4338 - added IPSECKEY RR type, RFC 4025. 4339 - tpkg test with sample ipseckey rrs. 4340 - wireformat for IPSECKEY depends on the value of a rdata atom, added 4341 WF_IPSECGATEWAY to handle that. 4342 - DHCID type, data is encoded in one binary/b64 blob. 4343 434425 July 2006: Wouter 4345 - max number of tries for nsd-notify is 15, so that the 4346 total time for sending is about 75 seconds. 4347 - forward port of fixes for bug 105 and 135 in nsdc. 4348 forward port of test for bug 105. 4349 - fixed nasty bug with configure --prefix=<...> where config.h 4350 was wrong. Now double evaluate the shell expansion on the defines. 4351 43525 July 2006: Wouter 4353 - helped in README with gnu make; need to make clean 4354 so that botched attempts by make to create the lexer files 4355 do not stay around. 4356 - removed %zd, replaced by casts to int. 4357 - updated REQUIREMENTS file, the sections on RR types, on what 4358 algorithm NSD follows and on which RFCs are supported are updated. 4359 43603 July 2006: Wouter 4361 - 'make depend' target in makefile. (updates both Makefile.in 4362 and Makefile, so it works for users and for svn). 4363 - doc minor update. 4364 43652 July 2006: Wouter 4366 - TESTPLAN, README, bugzilla-bugs docs updated. 4367 - NSD for BIND users update. 4368 436929 June 2006: Wouter 4370 - removed --zonesfile nsd.zones configure option. 4371 - doc/README updated for 3.0. 4372 - doc update. NSD_FOR_BIND_USERS document. 4373 - moved from -Ds to the config.h header, cleaner compilation output. 4374 - use autoconfs built in large file support enabler. 4375 437628 June 2006: Wouter 4377 - nsdc neater, checks for BLOCKED ips more strictly. 4378 - nsd -d also disables xfrd forking, and thus all reloads 4379 and secondary zone treatment. Stated so in manual page. 4380 - fixup, apart from ip4 need to allow ip6 in example.conf 4381 line showing how to allow access for everyone to axfr. 4382 438327 June 2006: Wouter 4384 - Fixed read in server.c to be a blocking read for sure, 4385 even if ipc is not blocking on the OS. 4386 - nsd-notify tries to send notify 5 times, then exits with error. 4387 - nsd-checkconf can lookup key secrets by name from a config file. 4388 - difffile option is always set in options struct with default 4389 or config value. 4390 - nsd-patch uses dnames to compare zone names (for trailing .). 4391 - nsdc updated to work with config file. 4392 439326 June 2006: Wouter 4394 - Nicer check in autoconf for struct timespec type. 4395 - NSEC3 next hashed ownername is a length byte followed by data. 4396 - nsd-checkconf more quiet, clearer error message. 4397 - NSEC3 does not complain about glue records without nsec3. 4398 - nsdc work (did start, stop, running, rebuild, restart, reload, stats). 4399 440021 June 2006: Wouter 4401 - nsid commandline parsed using hex_pton routine. 4402 - unit test for hex_pton. 4403 - added include stdlib, needed for free() on sunos4. 4404 - fixup of disable-ipv6 compilation. 4405 - memmove compat implementation (created fresh). 4406 - yy_set_bol() for old flex compat define. 4407 - compat implementation from openssh4.3p2 for 4408 strlcpy, inet_aton, and inet_ntop routines. 4409 - changed ctime_r usage to ctime() call, nsd is not threaded. 4410 - compiles on SunOS4/gcc-2.95. 4411 - debug statements go to the log_msg route instead of the 4412 fprintf route, so they will get to a nice logfile even if 4413 we forked away, with xfrd. logfile=/dev/stderr gives old way. 4414 - minor changes to cutest to make unit test compile 4415 on SunOS4/gcc-2.95, it checks out fine there. 4416 441720 June 2006: Wouter 4418 - updated configure to disable -O2 on platforms where gcc 4419 does not like it (such as dec-alpha). 4420 - nsd-notify used recvfrom and passed addrinfo.ai_addrlen 4421 which is a size_t, but recfrom needs a socklen_t*. On dec 4422 alpha these types differ in size (size_t is 64bit, 4423 socklen_t is 32bit). Therefore, used a wrapper variable 4424 to pass to recvfrom. 4425 - changed long int to time_t in nsd-patch.c to please compiler 4426 on dec alpha. 4427 - dec alpha complains if statements are in front of variable 4428 definitions. Fixed code for some mixups on this. 4429 - Fixup cutest for dec alpha. Code, lowercase filename, %lf->%f. 4430 - cutest fixup uses (size_t) cast and %zx to print ptrs (for debug). 4431 - for SunOS4 configure detects ssize_t and struct timespec. 4432 - removed usage of fpos_t, instead using fseeko/ftello for 64bit. 4433 - configure will define fseeko/ftello with fseek/ftell if unavailable. 4434 - added missing include from buffer.c (stdlib for free()). 4435 - defines for snprintf and vsnprintf in config.h if needed. 4436 - configlexer flex is called more cleanly with -t to write stdout. 4437 - missing include from configparser, stdlib for atoi. 4438 - config.h provide inet_pton define if it is not available. 4439 - fixup of INET6 defines, where sockaddr_storage is used 4440 outside of INET6 defines, in xfrd-tcp. 4441 - edns_init_nsid was not defined in edns.h. 4442 - added compat/fake-rfc2553.c and h from openssh 4.3p2. That has 4443 a BSD license as well. They replace getaddrinfo() (and friends) 4444 when those are missing. 4445 444619 June 2006: Wouter 4447 - updated the tpkg/manual tests for NSD 3 config files. 4448 Some need root privileges to run (using hping), they all pass. 4449 - also the tpkg/long test bug_sighup. 4450 - nsec3 code will warn at prehash time for missing exact nsec3 4451 records. So faulty signed zones are more easily spotted. 4452 - fixed NSEC3 and CNAME/DNAME chains, it will disprove the new qname. 4453 - removed for() look in CNAME processing, only first CNAME is 4454 processed now. 4455 - zonec will error on a zone with multiple CNAMEs for one name. 4456 445716 June 2006: Wouter 4458 - Swapped read and write ops in xfrd_handle_ipc, so that a read 4459 of a signal from main can stop further writes. 4460 - xfrd will complete its last message before shutting down 4461 the ipc writes and then acknowledge the reload-sync. 4462 This resolves the race where half of ipc messages caused bad 4463 modes from the main. 4464 446515 June 2006: Wouter 4466 - In preparation of notify send overhaul, moved the notify 4467 send code to xfrd-notify.c and h files. 4468 - created cleaner split of notify send and xfr code. 4469 Still in the xfr process, because it is a convenient location. 4470 - fixed bug where notify sending would read from wrong fd. 4471 - send master zone notifies. 4472 Does not skips master zone SOA INFO updates. 4473 - fixed bug where port number acls did not match. 4474 - fixed bug where tsig keys are checked for twice, but not error_code. 4475 - fixed notify send retry counting. 4476 - added test tpkg for notifies from nsd master to nsd slave. 4477 - nsd-checkconf flags if you set allow-notify without request-xfr. 4478 447914 June 2006: Wouter 4480 - fixed crash bug when dnssec/NSEC enabled and query DNAME 4481 target did not exist. 4482 448313 June 2006: Wouter 4484 - created doc subdirectory for documentation. 4485 - removed unused DIFF FILE MAGIC string. 4486 448712 June 2006: Wouter 4488 - dname_test tpkg with very extensive DNAME testing. 4489 - moved sizes of zone_name buffers to 3072 - for escaped names. 4490 - nsd-patch has a debug option to list the contents of the 4491 difffile/ixfr.db/transfer patch log in a journal fashion. You can 4492 then manually inspect the contents. 4493 44949 June 2006: Wouter 4495 - after a reload NSD will report the memory churn: number of bytes 4496 of memory wasted by the zone transfer code. 4497 44988 June 2006: Wouter 4499 - When zone is re-chosen after a CNAME/DNAME no SERVFAIL is set, 4500 noerror is returned instead. 4501 - zonec will error on multiple DNAMEs for the same name. 4502 - zonec will error on DNAME and CNAME together. 4503 - improved loop log message. 4504 45057 June 2006: Wouter 4506 - after DNAME the closest_match is set correctly for another DNAME. 4507 - in case of a loop returns gracefully instead of crash. 4508 - nsec3 checks if it is enabled for the zone for wildcards. 4509 - NSD will give referrals for zone cuts encountered after a CNAME 4510 or a DNAME. This also fixed various subtle stuff with CNAME/DNAME 4511 and TYPE_DS at zone cuts. It basically re-determines the zone 4512 to use after the CNAME/DNAME. 4513 45146 June 2066: Wouter 4515 - zonec checks for data below a DNAME, and will not create the db, 4516 as per rfc 2672. Tpkg test to make sure such a zone is not loaded. 4517 - updated rr-test tpkg so it has no data below a DNAME. 4518 - DNAME synthesis of CNAME records, including compression for cname. 4519 - included cname creation in dname test. 4520 - preallocate the extra temporary domain_type structures. 4521 - too many temp domains returns OK packet so that the resolver 4522 will recurse and ask us again with the last name in the chain. 4523 - fixed bug introduced in preallocation on temp domain numbering. 4524 45252 June 2006: Wouter 4526 - dname_replace function that does DNAME replace and unit tests. 4527 - added error codes from DNSUPD rfc2136 to constants in dns.h. 4528 - in query.c added DNAME following code. 4529 - fixed bug 134: hints[i] in nsd.c to hints[0]. 4530 - added tpkg small test for DNAME. 4531 - tpkg to test bug 134 (starts 100 processes). 4532 45331 June 2006: Wouter 4534 - tsig test with NSD master and NSD slave server. Tsig AXFR transfer. 4535 nsd-xfer used to test slave zone contents. 4536 - fixed bug where buffer_flip() is done before appending tsig rr. 4537 - version printed at start of nsd in logfile. 4538 - xfrd prints name of tsig key used during transfer in commit comments 4539 so it appears in the log file and in zonefile after nsd-patch. 4540 - prints RRs from diff file only if debug level >= 1. 4541 - scalable transfer test xfr_gig added, you can set the size to try 4542 in the .pre file. Now set very small. 4543 454431 May 2006: Wouter 4545 - xfrd check for failed updates. It compares the time it wrote the 4546 commit to disk with the time of the last reload command. 4547 Failed updates are restarted like the zone is notified of the soa. 4548 It also catches reloads that have been lost (reload cmd while reload 4549 is running, or a crashed reload process, for example). 4550 - when reload is issued, times at that second are put back one second, 4551 so that after a reload all the zones that should have been loaded 4552 have a time from before the reload. 4553 - if a reload crashes, NSD will continue with the old database, 4554 xfrd is not informed, since it cannot fix that. 4555 - nsd-checkconf strdups arg strings before writing to it. 4556 - tsig error replies contain error data, but no signature. 4557 also crashproof, badly formatted tsigs get a format error. 4558 - tsig error print knows about DNS rcodes in tsig error field. 4559 - added tpkg tests for tsig. 4560 - tpkg test for nsd-xfer with TSIG from nsd. 4561 - small stuff with makedist.sh, CREDITS, Features, make test. 4562 456330 May 2006: Wouter 4564 - tsig pre-allocs the rr_region, not at runtime, tsig_create_record(). 4565 - redid some region work for tsig. Now has another temporary region 4566 for the context data. User is only aware of the region passed at 4567 start that exists for the lifetime of the struct. 4568 During TSIG checks no more mallocs are done, only region_free_all 4569 and region allocs (of small size). 4570 - checkconf, port is stored as a string. 4571 - tsig now keeps a max_digest_size for giving reserved space. 4572 - AXFR does tsig every 96 packets (and first and last packet). 4573 - tsig signing works for all queries. SOA queries, ... 4574 If you configured the key in the config file, you can use 4575 that key for any query for any zone. 4576 Except for NOTIFY and AXFR queries; those are only allowed for 4577 the zone (and source ip address) which are configured in the config. 4578 - cleaner compile with tsig disabled. 4579 - fixed unknown key error reply in tsig. 4580 458129 May 2006: Wouter 4582 - The nonblocking write routines disable silently if they have 4583 nothing to do. 4584 - put xfrd read/write state routines (almost 500 lines of code) 4585 into xfrd-disk.c file. 4586 - little readme blurb on xfrd state file for the operator. 4587 - put ipc code in its own file for ease of reading. 4588 - removed --disable-axfr, you can control this via acls. 4589 With no provide-xfr: statements, a zone will not do axfr. 4590 459125 May 2006: Wouter 4592 - fixed reload sending; it checks for EAGAIN and EINTR. 4593 - reload sends parent quit command blocking to make sure of arrival. 4594 - send_children_quit in parent uses nonblocking writes and closes 4595 the pipe to signal the child to quit (even if the write does not 4596 come through, the closed pipe will cause the child to quit). 4597 - need_to_send_STATS flag in parent. 4598 - reload has its own ipc-listening handler in server_main. 4599 - nonblocking writes for server_main; this solved write-blocking race. 4600 - another race condition solved, if a process dies, half a read or 4601 write buffer could be left behind on another process. These are 4602 dropped. Now: 4603 * The server_main drops ipc from dead children. 4604 * The server_main drops ipc if xfrd dies. 4605 * The server_main drops xfrd(old) and all children ipc 4606 on reload. 4607 * The xfrd drops ipc to parent on a SOA_BEGIN from reload. 4608 So after reload, but parent and xfrd start with 4609 clean ipc buffers. 4610 461124 May 2006: Wouter 4612 - unit tests print progress while running to stderr. Included license 4613 of cutest with its source in svn repository. 4614 - stack type (for the IPC buffer of zone update dirty). And unit test. 4615 - only update zone-is_ok if needed to reduce memory copy on write. 4616 - split off conn_write() from xfrd tcp nonblocking write routines. 4617 - nonblocking writes for xfrd. 4618 461922 May 2006: Wouter 4620 - ported over minor nits from 2.3.5 NSD fixups. Cast to (void) 4621 unused function return values. 4622 - removed kill signal to children, superfluous due to quit cmd ipc. 4623 - moved is_ok for zones to the zone_type in namedb, not in 4624 the options, it is a runtime value not a config value. 4625 For zones that have no data, parent and children keep no state. 4626 462712 May 2006: Wouter 4628 - fixed up usage print for zonec to include -f option. 4629 - xfrd send notifies. 4630 - server no longer sends SOA INFO for master zones. 4631 - removed possible debug log print of a null string. 4632 463311 May 2006: Wouter 4634 - nsd.conf.sample shows defaults for ip4-only, ip6-only and debug-mode. 4635 - SOA_BEGIN message on start of reload sending soa info so that 4636 xfrd will not reply with expire-notifications and thus deadlock 4637 both on blocking writes (and no OS buffer on the pipes). 4638 463910 May 2006: Wouter 4640 - nsdc.sh is set +x after creation. 4641 - improved error message when zone in db has no config info. 4642 - support for broken nsec3 chains (if the one with the SOA bit 4643 is complete, it is OK for there to be other nsec3 chains 4644 with different parameters in the zone). 4645 46469 May 2006: Wouter 4647 - Fix for finding bad zone when populating SOA info on start. 4648 it would find a parent zone instead of the zone in question ( 4649 which is empty). 4650 - request-xfr: AXFR 10.0.0.153 keytouse syntax to interoperate 4651 with NSD machines. Will only send AXFR queries to the machine. 4652 - documented AXFR option in nsd.conf.5 manual page, 4653 and updated nsd-checkconf, nsd.conf.sample. 4654 - made 'skipping zone' log entry clearer (Sam Weiler asked). 4655 46568 May 2006: Wouter 4657 - updated zparser.y to handle empty nsec_seq lists. 4658 for empty nonterminals in NSEC3. 4659 - nicer without ambiguous grammar. 4660 46615 May 2006: Wouter 4662 - nsd-notify handles option -y key:secret to TSIG sign outgoing 4663 queries. 4664 - the acl checks now verify TSIG signatures on the query. 4665 - iterated_hash compiles with ssl disabled. 4666 - new ipc NSD_ZONE_STATE sent by xfrd to nsd process. notifies 4667 nsd of the state (ok or expired) of a zone. 4668 - reload process waits for the old server_main to exit to make 4669 sure there is no race condition listening to the NSD_ZONE_STATE 4670 messages generated when reload sends SOA_INFO to xfrd. 4671 - server_main and children all set zone_ok state in config options. 4672 also server_main so that newly forked children get the right state. 4673 - if a secondary zone is expired, NSD returns SERVFAIL. 4674 a transient error, so resolvers try again later. 4675 - SOA_END ipc message, sent by reload to xfrd, so it can repeat 4676 all zone states (which can have changed during reload). 4677 - zone_is_ok kept in config section so that state for zones 4678 without data is not lost. Those have no zone_type*. 4679 - secondary zones start in the expired state. 4680 - if expired zones are updated, then NSD gets the go ahead from 4681 xfrd after reload sends SOAINFO/SOAEND msg, so it is really 4682 updated in nsd memory. 4683 - fixed tpkg xfr_1 to have longer expiry times (from 0 and 3 4684 seconds to 2000 and 3000 seconds), so the zone does not expire 4685 during the test anymore. 4686 46874 May 2006: Wouter 4688 - when a new lease is acquired xfrd_packet_newlease result is used. 4689 - if a zone is lost in nsd db, xfrd will update state to match. 4690 - IXFR can use TSIG in queries and verify responses. 4691 - Fixed memory leak in xfrd tsig handling. 4692 46933 May 2006: Wouter 4694 - forward of 2.3.4 RELNOTES into trunk. 4695 - debug log statements to track xfrd request rounds. 4696 - removed memleak from handle_passed_packet in xfrd. 4697 - faster find_zone in difffile.c. 4698 - nsd-patch writes commit log entries into zone file. 4699 - took some tsig.c enhancements from 3 branch, 4700 -> if key or algo changes during connection, return bad_key, 4701 -> debug statement neater. 4702 - nsd adds tsig keys to tsig keyring at startup. 4703 47042 May 2006: Wouter 4705 - ifdef inet6 back on ss_family usage in server.c. 4706 - nsd-checkconf ip6 ifdefs improved. 4707 - xfrd tries servers 3 rounds, then waits for next retry. 4708 47091 May 2006: Wouter 4710 - off_t used for 64bit fileio. 4711 - searches for smallest unused part and sets diff_skip to that. 4712 - doc comment near the region_free_all for every query about 4713 malloc speed. 4714 - null ptr in strcmp does not work on bsd, fixed nsd-checkconf. 4715 - made nsd.conf.sample.in so the sample gets prefix-corrected. 4716 - removed nsd.zones.sample. 4717 - makedist.sh added manual pages for nsd-xfer nsd-patch. 4718 - install/uninstall nsd-patch, nsd-checkconf and manpage. 4719 small update readme. 4720 472128 Apr 2006: Wouter 4722 - ixfr >64k in xfrd. 4723 - fixed length of new commit parts. 4724 - fixed multiple ipc reads in xfrd. 4725 - fixed multiple packet ixfr read in diff file. 4726 Miek: 4727 - Forward port fixes for nsd-xfer and nsd-notify 4728 472927 Apr 2006: 4730 Wouter: 4731 - nsec3 review fixes. 4732 - diff file format expanded for >64kb transfer support. 4733 - diff reader adjusted for >64kb. 4734 Jelte: 4735 - small non-null options check in nsd.c. 4736 Miek: 4737 - updated nsd-checkconf for zone parse shell script support. 4738 473925 Apr 2006: Wouter 4740 - Tests on NSEC3 code. Fixed that the unsecure delegations also 4741 have _ds_ parent nsec3 prehashes, so that they get proper NSEC3s. 4742 NSD will serve NSEC3s to prove 'opt-out' also if the opt-out bit 4743 is (erroneously) not set. 4744 - For the 05pre2 draft section 5.4.8.1. QTYPE is NSEC3, only NSEC3 4745 RRsets at name. Fixed that RRSIGs present do not matter. 4746 And also the closest encloser proof in that case fixed. 4747 If wildcard exists below zone apex servfails (cannot disprove 4748 it and NSD cannot instantiate the wildcard at that point). 4749 475024 Apr 2006: Miek 4751 Miek: 4752 - forward port nsid (disabled by default) 4753 Wouter: 4754 - nsd-patch manual page. 4755 - minor MacOSX port fixes. 4756 - xfrd-reload-timeout: config option. 4757 - if you set the xfrd reload timeout to -1 it will not 4758 automatically reload after a transfer. User can reload. 4759 - reload timeout is a wait period after the reload is triggered. 4760 - more verbose acl logging. Validated acls are logged in detail. 4761 Invalid acls are only logged in debug mode, level >= 1. 4762 - log message when xfrd tcp connections max out. 4763 - if unknown NSEC3 hash type (not SHA-1), disable NSEC3. 4764 - xfrd randomizes the timeouts, within 10% of original, 4765 to spread out activity. Short timeouts < 10 seconds are not 4766 affected, and will give activity bursts (on startup for example). 4767 476821 Apr 2006: Wouter 4769 - put NSEC3 code in nsec3.c and nsec3.h. 4770 - iterated_hash only adds the salt if salt_len > 0. 4771 - added some assertions and cleanups to nsec3 code. 4772 - prehash also calcs the nsec3_last domain*. 4773 - dbaccess when reading in will set the rr_type.owner value. 4774 - changed namedb_find_zone to domain_find_zone, log msgs. 4775 - implemented logic from nsec draft 05-pre2 section 5.4.1 - 5.4.8. 4776 NSEC3 responses only happen for nsd compiled with --enable-nsec3 4777 and for zones where an NSEC3 with the SOA bit set exists. 4778 - added prehash pointer to ds parent side cover for opt out. 4779 - removed dynamic plugins. Dynamic plugin support is an explicit 4780 non-requirement (under creeping featurism). 4781 - in domain table create root nsec3 ptrs are NULL. 4782 478320 Apr 2006: Wouter 4784 - Unittest of base 32 encoding. 4785 - unittest start for iterated hash. 4786 - fixed for ctrlc in debug mode. 4787 - delete zparser_conv_long, not used, not needed 4788 - nsd-xfer will display NSEC3 correctly. zonec parses. 4789 - improved usage() line from zonec, about -c none, must be -C. 4790 - base32 printed in lowercase (canonical format for DNS). 4791 - NSEC3 added prehash pointers to the namedb. 4792 - NSEC3 autodetects presence of NSEC3 in zone and parameters. 4793 479419 Apr 2006: Wouter 4795 - port fix base10 in zonec conv short from 2_2 branch to trunk. 4796 and conv byte, algo, certificate, long. 4797 - configure option to enable NSEC3 (--enable-nsec3) support. 4798 - from Ben Laurie's NSEC3 patch, loaned the parse code, 4799 base32 conversion code and iterated_hash. 4800 With some small modifications. The type rrdescriptors are 4801 indexed by value below SPF, and in 4802 rdata_wireformat_to_rdata_atoms BINARYWITHLENGTH checks 4803 for end of buffer. Also parser checks for '-' salt. 4804 Some layout (spaces after ,s). And NSEC3 define is used. 4805 strtol used for iterations is base 10. 4806 - moved rrtype descriptor table sanity check to unittest. 4807 480818 Apr 2006: Wouter 4809 - Fixed check for SOA IN, bad ntohs in the check. 4810 - minimum timeout also enforced for very low expire times. 4811 - report the actual used length of the sockaddr to sento 4812 for FreeBSD. 4813 48147 Apr 2006: Wouter 4815 - modified the kill_nsd tpkg so that it waits up to 10x5 secs 4816 for nsd to make the pid file, and it wait up to 10x5 secs for 4817 nsd to exit after the kill signal is given. 4818 - xfrd checks on startup if there is trailing garbage in the 4819 diff file, left there by a previous xfrd killed in action. 4820 It then snips off any partial parts, so service can resume. 4821 Also the difffile_skip pos is set before any partial record there. 4822 - first version of nsd-patch; reads db and ixfrs and updates zones. 4823 - moved print_rdata from nsd-xfer to rdata.h to share code. 4824 - moved print_rr from nsd-xfer to util.h to share code. 4825 48266 Apr 2006: Wouter 4827 - notify handler passes acl number that matches to xfrd. 4828 - xfrd keeps a next_master for a zone, and sets it after notify. 4829 when notified nsd will try to contact the master that sent 4830 the notify, if send from an address that is both in acl 4831 allow-notify and request-xfr. 4832 - xfrd closes its tcp and udp sockets on exit. 4833 - default names for diff file and xfrd state nicer. 4834 - fixed up kill nsd grep on ps. 4835 - fixed up race conditions in test script for kill nsd 4836 wait for pid file creation by nsd, and grep -v grep in check. 4837 - in nsd signal-flags inherited from the parent are zeroed 4838 when a server_child starts. Also the server_child switches back 4839 to NSD_RUN mode when a bad mode happens. 4840 - check if ixfrs start from the version in memory. 4841 - if IXFR/AXFR ends in a serial that is newer than the serial 4842 that was sent in an notify, update the notified serial. 4843 48445 Apr 2006: Wouter 4845 - added lowerbound for retry timeout. 4846 - added extra assertions to xfrd-tcp.c, saying that the waiting line 4847 for tcp connections must be empty if the counter is below max. 4848 - setup so that the first master tried is the first in acl list. 4849 - diff file skips OPT and TSIG RRs if they are put into the answer 4850 section. 4851 - if IXFR contains an RR to delete that does not exist, nothing 4852 happens. 4853 - update zone for NS, RRSIG also if multiple RRs in the rrset. 4854 - difffile: create zone struct also if domain exists already. 4855 - difffile: destroy temp region on error. 4856 - difffile: in delete_RR, create temp region outside of the routine, 4857 so no alloc region, destroy region for every deleted RR. 4858 - difffile: for IXFR: do not delete final SOA RR. 4859 - difffile: unknown parts in file is an error. 4860 - difffile: EOF on last packet is ignored w/o giving an error. 4861 48624 Apr 2006: Wouter 4863 - Addes EACCES to the netio dispatch error bailout. 4864 - Removed EACCESS (probably due to log_msg), error on close 4865 xfrd pipe is small, main process closes its end, and hopes for 4866 the best). 4867 - review: return on error condition in xfrd_tcp_open fixed. 4868 - review: expired when time >= expire_time, so it will not wait 4869 for the retry after expire until it will detect the expiredness. 4870 - removed duplicate lines from xfrd_handle_zone_timeout. 4871 - review: copy of uint32_t using memcpy to avoid unaligned memory 4872 accesses. 4873 - review: fd=-1 removed from set_refresh_now; only does timer. 4874 - on a tcp timeout it will retry immediately (instead of waiting 4875 another retry timeout). This means if you set refresh_now, it will 4876 interrupt a tcp-timer for a fresh retry with the next master. 4877 - put null in buffer for xfrd read state. 4878 - log msg uses string that exists instead of overwritten buffer. 4879 - read entry sets refresh depending on current time, 4880 and makes sure not to check soa contents if none provided. 4881 added explanatory comments. 4882 - EACCES back in check. 4883 - server_main first checks for terminated children, then select(). 4884 So when select is interrupted, by kill or quitting children, 4885 it will first see if it has to quit itself, before restarting 4886 the children. 4887 - destroy tempregion xfrd read on error. 4888 - check for serial existence in xfrd_handle_incoming_soa. 4889 - handle_incoming_soa uses set_timer_refresh routine. 4890 and can handle expire times < refresh times. 4891 - log msg for udp socket() error. 4892 - review: xfrd_parse_soa_info email parse uses correct buffer spot. 4893 - added a lowerbound to refresh interval (=1 second now). 4894 - upon receipt of a IXFR, if the serial is older than the notified 4895 serial, the zone stays refreshing (but the ixfr is saved). 4896 48973 Apr 2006: Wouter 4898 - Added buffer length check to internal ipc. 4899 - split out packet_read_query_section from the process_query_section 4900 routine (and moved to packet.c/h). 4901 - xfrd reads passed packet via ipc. 4902 - ported over fix to 2_2 on missing rr types by removing the 4903 duplicate RRtype array, and using rrtype_to_string. 4904 - xfrd handles notifies. immediately starts updating. 4905 - xfrd state file format fix. 4906 - removed libwrap stuff - superseded by acls. 4907 use provide-xfr: statements for your zone in the config file. 4908 updated README for this. 4909 - updated tpkg tests for axfr to use provide-xfr: 127.0.0.1 NOKEY 4910 - review: move var create to start of function (xfrd_init()). 4911 491231 Mar 2006: Wouter 4913 - zone type has a pointer to zone options. 4914 - nsd options has an rbtree to find zone options in. 4915 - nsd checks acl for incoming notifies and replies 4916 error or confirmation. 4917 - nicer layout in options.c. 4918 - updated makefile dependencies. 4919 - fixed sz for SOA_INFO ipc, which was too small. 4920 - notify is sent to server_main, server_main sends it to xfrd. 4921 492230 Mar 2006: Wouter 4923 - include: documented in manual page. 4924 - MAXINCLUDES define in one place (config.h). 4925 - configure checks for strptime in include files. 4926 - use %d instead of %zd (sparc5 machine does not get zd). 4927 - use region_strdup in configlexer. 4928 - added a check for EINVAL in dispatch - will abort 4929 on the error instead of busy hang. 4930 493129 Mar 2006: Wouter 4932 - \r for config lexer. (similar changes to zonelexer). 4933 - forward port of fix to 2_2 branch: 4934 short int in var_arg is promoted to int, according to B. Laurie. 4935 The same logic for %o, %d %x would hold for %u I think. 4936 - in XFRD, soa prim_ns and email domain names are kept in a max 4937 size buffer. 4938 - split up dname_parse into parse from string to wireformat 4939 and parse from wireformat to memoryformat, so both can be called. 4940 - split up dname_make_from_packet into reading the wireformat 4941 from the packet and the dname_make, so both can be called. 4942 - xfrd reads all soa info from incoming xfr packets. 4943 - xfrd will ignore TC bit on tcp channels. 4944 - nsd sends xfrd all soa info, including ttl and dnames. 4945 - config file now has an include: filename directive. 4946 494728 Mar 2006: Miek 4948 - forward port fixes for zone compiler and \r. svn:1926-1927 4949 - add DO bit MASK and remove the !! construct 4950 495117 Mar 2006: Wouter 4952 - according to axfr-clarify, added comments that we check 4953 more leniently on further responses on a TCP stream. 4954 495516 Mar 2006: Wouter 4956 - Fixed up SOA INFO Send routines. Send from server works. 4957 - niced up xfrd state file. 4958 - Fixed up so that after a reload it will continue in diff file 4959 where it left off. 4960 - made send of SOA info use write_socket, in case of short writes. 4961 - redesigned xfrd_tcp_read to use the same code for ipc read. 4962 - no free()s before xfrd exit. 4963 - xfrd handles incoming SOA INFO ipc packets. 4964 - removed debug, updated zones get SOA INFO sent. 4965 496615 Mar 2006: Wouter 4967 - Fixed up domain table insert, it was being used in routines 4968 that originate from nsd-xfer that do not set compression numbers 4969 correctly. 4970 - memleak fix in difffile in case of error. 4971 - difffile processing works so that NSD can read an axfr saved 4972 into the nsd.diff file. (xfrd already request and save it there). 4973 - split off xfrd tcp handling into xfrd-tcp.c. 4974 - cleaned up send_udp in xfrd, and read_state. 4975 - removed xfrd tcp_send_blocking. 4976 - xfrd sets state from ok to refresh to expired based on timeout. 4977 - xfrd sets reload timeout. 4978 - Added zone updated to keep track of zones that are changed 4979 after a reload. These zones get their information notified 4980 to xfrd. 4981 - removed unused zprintrr declaration from zonec.h 4982 - nsd sends soa information to xfrd. 4983 498414 Mar 2006: Wouter 4985 - TODO updated 4986 - worked on reload ixfr. It will add/delete RRs and zones. 4987 - xfrd receive parse of xfr messages improved. writes commit. 4988 - server compressed_dname_offsets table is increased if reload 4989 creates extra names. 4990 - difffile will create zone and apex if not there (i.e. the zone 4991 is configured but no data file provided). 4992 - bit more verbose in error message for bad diff file. 4993 - Typo fix in sample config file. 4994 499513 Mar 2006: Wouter 4996 - configure sets fseek (fgetpos/fsetpos) to use 64 bit interface 4997 with _FILE_OFFSET_BITS=64. 4998 - nsd will skip loading the .db if the DB checksum is the same. 4999 - Miek added trace test and nsd kill test. 5000 - Wouter worked on diff file c. 5001 500210 Mar 2006: Wouter 5003 - Cleanup of UDP/TCP code in XFRD. 5004 - xfrd now has tcp max connections and managing. tcp read/write. 5005 - response TC on UDP ixfr, starts TCP. 5006 - sends correct ixfr and axfr queries, a bind server answers. 5007 - made packet_skip_dname() public. 5008 - sets read/write event flags for tcp fd right. 5009 50109 Mar 2006: Wouter 5011 - Removed header from DIFF file format. CRC not that important there, 5012 you have to check the packets anyway. 5013 - cutest rbtree removed unused clean_rbtree and always_fail routines. 5014 - xfrd timeout handler, more work. Checks expire. 5015 50168 Mar 2006: Wouter 5017 - xfrd sends UDP xfr request to master(s) with timeouts, and stores 5018 returned data on disk. 5019 - updated dependencies and declaration of write_soa_buffer. 5020 50217 Mar 2006: Wouter 5022 - Fixed printfs for size_t warnings on Mac OsX. 5023 50246 Mar 2006: nsd-team 5025 * Wouter: xfrd read and write work. Statefile is "nsd.xfst". 5026 * Wouter: nsd-checkconf checks dname parse of zone name:. 5027 * Wouter: updated difffile in parser.y, production in server: clause. 5028 * Wouter: zonec now takes -C for 'no config file' option. 5029 * Wouter: updated configyyrename.h for bison 1.875d on sparc. 5030 * Miek: zonec -h and nsd -h exit with exit code = 0. 5031 * Miek & Wouter: updated tpkgs to work again. 5032 * Wouter: xfrd read handle soas, handle soa_incoming part. 5033 * Wouter: moved compare_serial() from nsd-xfer to util.h. 5034 50354 Mar 2006: Wouter 5036 - xfrd zone and soa memory structure definitions. 5037 - xfrd init zones. 5038 - xfrd read and write state file code. 5039 - option for difffile: and xfrdfile: config lines. 5040 50413 Mar 2006: Wouter 5042 - Removed double kill after reload. Only socket cmd send. 5043 - Added code to handle race condition where xfrd is restarted 5044 during a successful reload. Afterwards, the new server_main 5045 only has the old xfrd pid, new xfrd is an orphan. 5046 Solution: when xfrd closes cmd channel (i.e. it quit) 5047 unexpectedly, send sighup to all processes in the group. 5048 This should quit the orphan & all children & reload the 5049 server_main, which will fork the children and xfrd again. 5050 50512 Mar 2006: Wouter 5052 - Added nsd-checkconf.8 to makedist.sh replace list. 5053 - DIFF file format updated. 5054 - removed tsigkey->server value, it was read in, but unused. 5055 - new function to add config file keys to tsig. 5056 - nsd-checkconf checks parsing of keys. 5057 - Updated sample key file with valid keys. 5058 - added first xfrd files. xfrd is started from server_main. 5059 xfrd listens to server and server to xfrd. xfrd is restarted 5060 if it dies unexpectedly. xfrd quits when server signals it. 5061 xfrd survives nsd reloads. 5062 - nsd_options no longer global variable. 5063 50641 Mar 2006: Wouter 5065 - Nicer text in nsd.8. 5066 - nsd.c prettier code in option handling. 5067 - zonec.c code prettier in option handling, also chdir bug removed. 5068 zonec uses the zone definitions in the config file. 5069 updated zonec.8 and usage(). 5070 - nsd also chdirs to the zonedir, otherwise nsd and zonec would 5071 try to read the database: file from different directories. 5072 .(it does the chdir before the chroot call.) 5073 - new calling syntax for zonec and nsd, because of new config file. 5074 - options added acl acceptance tests (no tsig yet). 5075 - added unit test for options.c - for acl tests. 5076 - zonec removed unused vars, nsd-checkconf print arguments. 5077 - nsd-checkconf.8 manual page. 5078 507928 Feb 2006: Wouter 5080 - checked in options.h and config parser code. 5081 - also nsd-checkconf that will test a config file 5082 .(and optionally show what was read). 5083 - default identity has a spelling error. 5084 - Small fix (typo in example) to config manual page. 5085 - Added ; to configparser.y to please bison 1.75 on bsd. 5086 - Will check for blocked addresses in outgoing acls. Also ranges. 5087 - Check configuration tpkg test added. Uses checkconf. 5088 - checkconf does extra semantic tests. i.e. enable absent features. 5089 - tcpcount and servercount cannot be negative. 5090 - updated nsd.conf.5 manpage for @port syntax. 5091 - changed config parser: allows empty server: part (defaults). 5092 - made nsd.conf.sample file. 5093 - put option to configure for CONFIG_FILE nsd.conf location. 5094 Note. Already nsdc.conf exists. Both exist now. 5095 - updated makefile dependencies (gcc -MM). 5096 - getopt optstring in nsd-checkconf updated ("v" only option). 5097 - Added config .o files to nsd and zonec. This compiles. 5098 - Added commandline option -c configfile to zonec and nsd. 5099 configure defaults < configfile < commandline options in importance. 5100 510124 Feb 2006: Wouter 5102 - Added compute_crc in util.h and unit tests for it. 5103 - in cutest.tpkg the number of unit tests was hardcoded 5104 in the tpkg package. Removed the dependency, cutest exit 5105 value indicates if any failures happened. 5106 - Added crc at end of NSD-database format. Unique per db. 5107 upped db version to 7 because of this. 5108 - Tested that crcs are big/little endian correct. 5109 - Added DIFF file spec 5110 - updated tpkg213 which compares md5 on a zonefile for new format. 5111 - added nsd.conf.5 manual page with a draft contents. 5112 511322 Feb 2006: nsd-team 5114 * Miek: Changed over to Cutest testing framework. 5115 * Miek: fixed typo in netio.h 5116 * Miek: fix syntax in rbtree.c put functions on multiple lines. 5117 * Miek: unit test tpkg for cutest. 5118 * Wouter: fixed ptr bug in rbtree unit test. 5119 512017 Feb 2006: Wouter 5121 - rbtree_delete is added and works. Unit tests are there too. 5122 - Changed tail recursion in rbtree_delete to while loop. 5123 - Tagged this version as NSD_3_signalsocket_solution. 5124 It is the stable 2_2 branch with cleanups, portable, and 5125 signalhandler solution by socket communication redesign. 5126 512715 Feb 2006: nsd-team 5128 * Wouter: Fixed server_child would wait for two kill signals before quit. 5129 * Miek: don't check for port==0 pkt, just try to send them. 5130 Forward Port of 2.3. 5131 * Wouter: Removed unused, not substituted, @nsdxfer@ from Makefile.in. 5132 513314 Feb 2006: Wouter 5134 - Added unit tests for rbtree. Extensive testing of all functions. 5135 - Added tpkg unit test. 5136 - configure tests for CUnit(optional lib for unit tests). Makefile 5137 cleanup so it works on non-gmake on freebsd. 5138 513913 Feb 2006: Wouter 5140 - Removed timespec_add(current_time) in server_main, the timeout was 5141 relative, not absolute. This fixes EINVAL on the timeout on freebsd. 5142 - Added check in configure for compiler flags. Used for -Wextra. 5143 - Added check in configure for va_list definition conflict between 5144 stdio and stdarg. This happens on DEC Alpha/Debian. 5145 - removed --enable-mmap configure option. There is no mmap support 5146 in the current codebase. 5147 - renamed local prev to next in domain_next() in namedb.h. 5148 - Removed heap.h. It was not used. Heap and rbtree are mingled anyway. 5149 - in netio.c, in dispatch, it would store the next pointer 'in case 5150 the handler removes itself'. But if the handler removes that next. 5151 Then it would fail. So stored the next in struct netio. 5152 This removes a potential bug. Netio_dispatch is not reentrant. 5153 Reentry would need a list of iterator* in struct netio. 5154 - Changed process_query() to server_process_query(). It is too 5155 similar to query_process(). 5156 515710 Feb 2006: nsd-team 5158 * Wouter: Improved configure.ac to detect pselect in sys/select. 5159 The check works on freebsd(yes) and fedoracore 3 and 4 (no). 5160 I hope it also works on Solaris. 5161 Also various other prototypes were implicit: chroot, strptime, ... 5162 These are also solved. 5163 * Wouter: Checked configure on sparc5(solaris). Added check for 5164 ctime_r in time.h (for tsig.c). This conf also works on freebsd/linux. 5165 * Wouter: Updated dependencies in makefile for plugin headers. 5166 These are included only when --enable-plugins is present. 5167 * Wouter: Added a send quit over socket to kill commands in server_main, 5168 These act when the fork children fails. If the kill fails, the 5169 socket command hopefully still works. 5170 * Wouter: Put reload code into a separate function. It communicates with 5171 a socket to the old parent, and sends it a quit command. This works 5172 and terminates the old nsd. Left in the kill as a double failsafe. 5173 If the reload process dies, then the parent closes the socket. 5174 * Wouter: Separated the signal mode from the socket-determined nsd->mode. 5175 Every signal function has a variable, so that multiple signals can 5176 arrive. Only the number of signals of the same type is lost, but not 5177 important for nsd. The signals are handled in turn by the run loop. 5178 This completes the coding to remove signal race conditions: 5179 - nsd uses sockets to communicate with its subprocesses(server,reload). 5180 - signal handler routine contains no lengthy system calls. 5181 - signals cannot overwrite a previous signal. 5182 * Wouter: fixed problem where nsd->mode and mode are different in 5183 server_main. Nsd would kill the children, but then restart them again. 5184 518509 Feb 2006: nsd-team 5186 * Wouter: Updated dependencies in Makefile (regenerated them with gcc -MM). 5187 * Wouter: Used splint on the source (with settings to reduce spam.) 5188 And came to the following changes: 5189 - In util.h, make it respect HAVE_CONFIG_H and HAVE_SYSLOG_H. 5190 Also it now defines fallback values for #defines in syslog h. 5191 - Added explicit cast to (unsigned int) in snprintf in dname.c, 5192 dname_to_string routine. 5193 * Wouter: Used extra warnings during gcc compile. -Wextra -Wall 5194 -pedantic -Wbad-function-cast -Wmissing-declarations 5195 -Wmissing-prototypes -Wnested-externs -Wold-style-definition 5196 -Wstrict-prototypes -Wdeclaration-after-statement. 5197 Using -Wtraditional gives too many warnings. 5198 * Wouter: Found a problem with pselect. sys/select.h does not by default 5199 provide the pselect function definition. configure script is 5200 adjusted to test for this and enable _XOPEN_SOURCE=600 to get it. 5201 Found this using the gcc warnings. 5202 * Wouter: dname and rbtree test apps were in make clean target, but 5203 do not exist anymore. Removed from make clean target. 5204 * Wouter: in util log_file() the epoch time_t is passed to printf 5205 without an int cast. Found using extra gcc warnings. 5206 * Wouter: In server.c fixed some signed-unsigned comparisons 5207 using the extra gcc warnings. 5208 - in shutdown and int was used instead of size_t. 5209 - in server_main timeout(signed) was compared with unsigned. 5210 - unused variable in new handler functions. 5211 - in handle_child_command int i instead of size_t was used. 5212 - in zonec the process_rr routine was missing (void) as paramlist. 5213 * Wouter: Added -Wall and -Wextra when --enable-checking is enabled. 5214 * Miek: Ported over the big fat enable checking configure warning. 5215 * Wouter: fixed configure check for pselect on freebsd. 5216 521708 Feb 2006: nsd-team 5218 * Wouter: In server.c also sockets from unexpectedly dead childs are closed. 5219 * Wouter: in nsd.c and server.c cleaned out the signal handler, so that 5220 it only includes two switch/if statements and alters only the mode. 5221 No more calls to alarm(), waitpid(), write(), log_msg(). 5222 Instead the work is done in the runloop in server.c and sent by socket. 5223 Also the parent now waits for children. Parent restarts them. 5224 * Wouter: Fixup, the children will quit if the parent closes the command 5225 socket. If parent is killed, they will exit too. 5226 * Wouter: The server_main now listens to children command channels. 5227 Included timeout to check for terminated processes. 5228 Test says that new signal handler works, and child->parent comm. 5229 523007 Feb 2006: nsd-team 5231 * Miek: configure.ac version to 3.0.0 5232 * Miek: looked at: buffer.{ch}, answer.{ch}, dns.{ch} 5233 those files don't have any changes, except for dns.{ch} for the 5234 explicit compression. 5235 * Miek: looked at: zlexer.lex and zparser.y; only changes there 5236 for the database changes. 5237 * Wouter: Changed buffer in write_pid from 16 bytes to 32 bytes, 5238 this makes 64 bit numbers fit in the buffer. 5239 * Wouter: Socket connection between parent and child nsds added. 5240 But sighandler now in worse shape. Need to close them. Remove kills. 5241 * Wouter: close the parent and child command channel sockets in shutdown(). 5242