131 May 2023: Wouter 2 - Add missing items to doc/RELNOTES. 3 - Tag for 4.7.0rc1. 4 530 May 2023: Jeroen 6 - Fix #240: Prefix messages originating from verifier. 7 - Fix #275: Drop unnecessary root server checks. 8 930 May 2023: Wouter 10 - Next version is 4.7.0, instead of 4.6.2, because of the added 11 features, like TLS for DNSTAP. 12 - Fix unused variable warning in unit test, from clang compile. 13 1424 May 2023: Wouter 15 - For #279: Note that autoreconf -fi creates the configure script 16 and also the needed auxiliary files, for autoconf 2.69 and 2.71. 17 184 May 2023: Wouter 19 - Fix to remove unused whitespace from acx_nlnetlabs.m4 and config.h. 20 211 May 2023: Wouter 22 - make depend. 23 - Fix for build to run flex and bison before compiling code that needs 24 the headers. 25 2613 April 2023: Wouter 27 - Fix cirrus script for submit to coverity scan to libtoolize 28 the configure script components config.guess and config.sub. 29 - Fix readme status badge links. 30 3128 March 2023: Wouter 32 - Fix #273: Large TXT record breaks AXFR. 33 - Fix ixfr create from adding too many record types. 34 3516 March 2023: Wouter 36 - Fix include brackets for ssl.h include statements, instead of quotes. 37 - Fix static analyzer warning about nsd_event_method initialization. 38 3915 March 2023: Wouter 40 - Dnstap tls code fixes. 41 4214 March 2023: Wouter 43 - Fix dnstap to not check socket path when using IP address. 44 - dnstap over TLS, default enabled. Configured with the 45 options dnstap-tls, dnstap-tls-server-name, dnstap-tls-cert-bundle, 46 dnstap-tls-client-key-file and dnstap-tls-client-cert-file. 47 - Fix to compile without ssl with dnstap-tls code. 48 499 March 2023: Wouter 50 - Fix #271: DNSTAP over TCP, with dnstap-ip: "127.0.0.1@3333". 51 - Fix to clean more memory on exit of dnstap collector. 52 5323 February 2023: Wouter 54 - Fix #270: reserved identifier violation. 55 5620 February 2023: Wouter 57 - Merge #269 from Fale: Add systemd service unit. 58 5916 February 2023: Wouter 60 - Fix #266: Fix build with --without-ssl. 61 - Fix #267: Allow unencrypted local operation of nsd-control. 62 - Fix for #267: neater variable definitions. 63 642 February 2023: Wouter 65 - Merge #265: Fix C99 compatibility issue. 66 6730 January 2023: Wouter 68 - Merge #263: Add bash autocompletion script for nsd-control. 69 - Fix for #262: More error logging for SSL read failures for zone 70 transfers. 71 7227 January 2023: Wouter 73 - Fix #262: Zone(s) not synchronizing properly via TLS. 74 - Fix ixfr_and_restart test to wait for processes to come to a stop. 75 7626 January 2023: Wouter 77 - Fix configure for -Wstrict-prototypes. 78 7910 November 2022: Wouter 80 - Tag for NSD 4.6.1, the repository continues with version 4.6.2. 81 - Fix #239: -Wincompatible-pointer-types warning in remote.c. 82 - Fix unit tests to succeed with --disable-bind8-stats. 83 841 November 2022: Wouter 85 - Fixup for non-trailing newline lexer change warnings. 86 - Update doc/RELNOTES for changes. 87 - Fix ixfr_gone unit test to not use system default zone list file. 88 - Fix credns tests for vm usage, and not use system default zone 89 list file. 90 - Fix verify tests to use more portable bash location in script. 91 - Fix verify_again test to use ipv4 address for test. 92 931 November 2022: Tom 94 - Add SVCB dohpath support 95 9628 September 2022: Jeroen 97 - Set ALPN "dot" token during connection establishment as per RFC9103 98 section 7.1 (Thanks Cesar Kuroiwa). 99 10021 September 2022: Tom 101 - Change zone parsing to accept non-trailing newline. 102 1031 September 2022: Wouter 104 - Merge #231 from moritzbuhl: Fix checking if nonblocking sockets work 105 on OpenBSD. 106 10719 August 2022: Wouter 108 - Update cirrus build script for newer Ubuntu image, and FreeBSD 109 build with libtoolize to install auxiliary files. 110 - Update to clang 14 in cirrus build test on Ubuntu Jammy 22.04. 111 1127 July 2022: Tom 113 - Fix #212: Change commandline control actions to always log. 114 1151 July 2022: Wouter 116 - Fix static analyzer reports, fix wrong log print when skipping xfr, 117 fix to print error on pipe read fail, and assert an xfr is in 118 progress during packet checks. 119 12023 June 2022: Wouter 121 - Tag for 4.6.0rc1. It became 4.6.0 on 30 June 2022, and it continues 122 with version 4.6.1. 123 12417 June 2022: Wouter 125 - Fix compilation with libev, without event_base_loopbreak. 126 12716 June 2022: Wouter 128 - Fix that the unit test verify_repat cleans up nsd on exit. 129 - Fix to remove ixfrcreate.c asserts about uint16 within limits 130 because of warnings from analyzers. 131 13214 June 2022: Wouter 133 - Fix compilation without libevent and compilation of nsd-mem. 134 - Fix verify handler add of sigchld event for compilation without 135 libevent. 136 1373 June 2022: Wouter 138 - Fix static analyzer reports on ixfrcreate temp file. 139 - Fixup wrong ixfrcreate fread return check. 140 14113 May 2022: Wouter 142 - The code repo continues with version 4.5.1. 143 1446 May 2022: Wouter 145 - Merge PR #209: IXFR out 146 This adds IXFR out functionality to NSD. NSD can copy IXFRs from 147 upstream to downstream clients, or create IXFRs from zonefiles. 148 The options store-ixfr: yes and create-ixfr: yes can be used to 149 turn this on. Default is turned off. The options ixfr-number and 150 ixfr-size can be used to tune the number of IXFR transfers and 151 total data size stored. This is configured per zone, the IXFRs 152 are served to the hosts that are allowed to perform zone transfers. 153 And if TSIG is configured, signed with the same key. The content 154 is stored to file if a zonefile is configured for the zone, in 155 the zonefile.ixfr and zonefile.ixfr.2, .. files. They contain 156 readable text format. The number of IXFRs is num.rixfr in 157 statistics output, also per zone if per zone statistics are enabled. 158 If offline, nsd-checkzone -i can create ixfr files. 159 NSD already supports requesting IXFRs, this addition allows NSD 160 to serve IXFR transfers to clients. 161 NSD stops responding with NOTIMPL to IXFR requests, also for zones 162 that do not have IXFR enabled. The clients gets a full zone reply 163 or a status reply if the serial is up to date. 164 - set version to 4.5.0 for feature change. 165 - Tag for 4.5.0rc1 release. It became the 4.5.0 release on 13 May 2022. 166 16714 April 2022: Wouter 168 - Update cirrus script FreeBSD version. 169 17025 March 2022: Wouter 171 - Fix spelling error in comment in svcbparam_lookup_key. 172 1732 March 2022: Wouter 174 - Fix code analyzer zero divide warning. 175 - Fix code analyzer large value with assertion. 176 - Fix another code analyzer zero divide warning. 177 - Fix code analyzer warning about uninitialized temp storage in loop. 178 17910 February 2022: Wouter 180 - Tag for 4.4.0rc1 release. This became 4.4.0 release on 17 Feb 2022, 181 the code repository continues with version 4.4.1. 182 1839 February 2022: Wouter 184 - Fix unit tests for nds-control-setup exit code and the 185 xfrd-tcp-max default. 186 1877 February 2022: Wouter 188 - Merge #207 Sync nsd-control-setup with unbound-control-setup to 189 generate certificates with SANs. 190 19128 January 2022: Wouter 192 - Fix #206: build with --without-ssl fails. 193 19427 January 2022: Wouter 195 - current code branch continues as version 4.4.0, because of added 196 feature. 197 19826 January 2022: Wouter 199 - Merge #193: Lower memory usage of the XFRD process by default. 200 Instead of preallocating all elements, they are allocated when used. 201 There are options for managing the memory usage, defaults are the 202 same as before. xfrd-tcp-max sets the number of sockets for tcp 203 connections that xfrd can make to download zone contents. And 204 xfrd-tcp-pipeline the number of simultaneous transfers over the 205 same connection. 206 20712 January 2022: Wouter 208 - Fix to document nsd-checkzone -p in the man page for nsd-checkzone. 209 2107 January 2022: Wouter 211 - Fix to change file mode before changing file owner for the 212 nsd-control unix socket file. 213 2143 January 2022: Wouter 215 - Merge #204 from jonathangray: correct some spelling mistakes. 216 21715 December 2021: Wouter 218 - Fix #200: nsd-checkzone succeeds even with incorrect serial in SOA 219 record. 220 2212 December 2021: Wouter 222 - Fix socket_partitioning unit test for FreeBSD. 223 - Fix SVCB test to work around older dig with drill. 224 - Fix unit test to not syslog setlogin failures. 225 2261 December 2021: Wouter 227 - Set up for branch for 4.3.9 release. 228 This became release 4.3.9 on 9 Dec 2021 and included the changes 229 until the SVCB fix on 2 dec 2021, but not the setlogin fix. 230 The main branch continues as 4.3.10. 231 - Fix unit tests for new answer-cookie default. 232 23330 November 2021: Wouter 234 - Fix to remove git tracking and ci information from release tarballs. 235 2363 November 2021: Wouter 237 - Fix #198: nsd-control reconfig core dump. 238 23912 October 2021: Wouter 240 - Tag for 4.3.8 release, from 4.3.8rc2. The main branch continues 241 with version 4.3.9 in development. 242 2437 October 2021: Wouter 244 - Set default for answer-cookie to no. Because in server deployments 245 with mixed server software, a default of yes causes issues. 246 - Tag for 4.3.8rc2, includes the new answer-cookie default. 247 2484 October 2021: Wouter 249 - Tag for 4.3.8rc1. 250 25129 September 2021: Wouter 252 - Fix unit tests for svcb and xot to not touch the default 253 zonelistfile. 254 - Fix unit test for xot tertiary config for zonelistfile default. 255 - Fix unit test for dns-cookies for no unshare, and allow-query 256 for no IPv6 loopback. 257 - Fix unit test allow query to check for IPv6. 258 25922 September 2021: Wouter 260 - Fix #194: Incorrect NSEC3 response for SOA query below delegation 261 point. 262 26313 September 2021: Wouter 264 - Fix compile failure with openssl 1.0.2. 265 2663 September 2021: Wouter 267 - Fix not reachable annotation in radix_find_prefix_node. 268 26931 August 2021: Willem 270 - Fix #191: dname_parse_wire() returns fqdn wireformat length. 271 27226 August 2021: Wouter 273 - Fix #190: NSD returns 3 NSEC3 records for NODATA response. 274 27523 August 2021: Wouter 276 - Fix #189: nsd 4.3.7 crash answer_delegation: Assertion 277 `query->delegation_rrset' failed. 278 27917 August 2021: Wouter 280 - Fix #188: NSD fails to build against openssl 1.1 on CentOS 7. 281 - Fix sed script in ssldir split handling. 282 28313 August 2021: Wouter 284 - Merge #187: Support using system-wide crypto policies. 285 28610 August 2021: Wouter 287 - Merge #185 by cesarkuroiwa: Mutual TLS. 288 - Fixes for #185: Document client-cert, client-key and client-key-pw 289 in the man page. Fix yacc semicolon. Fix unused variable warning. 290 Use strlcpy instead of strncpy. Fix spelling error in error 291 printout. 292 2932 August 2021: Wouter 294 - Quieter tpkg/do-tests shell script with -q flag. 295 - For #184: Note that all zones can be targeted by some nsd-control 296 commands in the man page. 297 29830 July 2021: Wouter 299 - Move acx_nlnetlabs.m4 to version 41, with lib64 openssl dir check. 300 - Fix to compile with OpenSSL 3.0.0beta2. 301 - Fix configure detection of SSL_CTX_set_security_level. 302 - Fix deprecated functions use from openssl 3.0.0beta2. 303 30423 July 2021: Wouter 305 - Fix free on shutdown of XoT SSL context. 306 30722 July 2021: Wouter 308 - tag 4.3.7 release, with the fixes between rc1 and this release. 309 - main branch continues for 4.3.8. 310 31120 July 2021: Wouter 312 - Fix typo in xfrd-tcp.c. 313 31415 July 2021: Wouter 315 - tag for 4.3.7rc1. 316 - Fix compile of cookies on FreeBSD without IPv6. 317 - Fix for loop initial declaration for nonc99 compiler. 318 31914 July 2021: Wouter 320 - Fix truncate test for EDNS COOKIE making one less RR is added. 321 - Attempt to fix gcc11 warning. 322 32313 July 2021: Willem 324 - Fixes for child server processes getting out of sync with the 325 dnstap-collector process 326 32713 July 2021: Willem 328 - Interoperable DNS Cookies support as per RFC7873 and RFC9018 329 3309 July 2021: Willem 331 - Client side DNS Zone Transfer-over-TLS (XoT) support as per 332 draft-ietf-dprive-xfr-over-tls 333 33429 June 2021: Willem 335 - Fix #168: Buffer overflow in the dname_to_string() function 336 33714 June 2021: Wouter 338 - Update configure nonblocking test to use host. 339 34025 May 2021: Wouter 341 - Fix #179: log notice and server-count. 342 34321 May 2021: Wouter 344 - Test code has -q option for quiet output. 345 34617 May 2021: Wouter 347 - Update the ACX_CHECK_NONBLOCKING_BROKEN test for the configure 348 script. 349 3507 May 2021: Wouter 351 - Fix #176: please review Loglevel on missing zonefile. 352 3536 May 2021: Wouter 354 - Fix #174: NS Records below delegation are not ignored (nsd-checkzone 355 also does not raise any issue). 356 3574 May 2021: Wouter 358 - Fix SVCB sort call sizeof to be the size of the elements sorted. 359 36029 April 2021: Tom 361 - Implement Syntax of SVCB and HTTPS RR type as per draft-ietf-dnsop-svcb-https 362 36313 April 2021: Wouter 364 - Fix for #128: Skip over sendmmsg invalid argument when port is zero. 365 - Fix #171: Invalid negative response (NSEC3) after IXFR. 366 - Fix to make nsec3_chain_find_prev return NULL if one nsec3 left. 367 - remove debug settings from unit test. 368 3699 April 2021: Wouter 370 - Fix for #170: Fix build warnings when IPv6 is disabled. 371 - Fix #170: Disabled IPv6 and DNSTAP enabled triggers a build error. 372 37330 March 2021: Wouter 374 - Fix configure failure for enable systemd because of autoconf. 375 - This became release 4.3.6, the repository continues for 4.3.7 376 in development. 377 37829 March 2021: Wouter 379 - Note unlisted changes in RELNOTES and prepare for 4.3.6rc1 tag. 380 38129 March 2021: Willem 382 - Per zone Access Control List for queries 383 with an allow-query: option. 384 38524 March 2021: Wouter 386 - Update acx_nlnetlabs.m4 to version 38, fix deprecation test. 387 - Fix configure to use header checks with compile. 388 - Fix warning about unused function log_addr. 389 39018 March 2021: Tom 391 - Add Extended DNS Errors RFC8914 392 39315 March 2021: Wouter 394 - Fix double config.h include in configlexer.c 395 - Fix to remove configyyrename from makedist.sh and also 396 update the flex and bison rules there to add the "c_" prefix. 397 39813 March 2021: Willem 399 - Fix #154: TXT with parentheses fails in 4.3.5. 400 - Align parsing of TXT elements with how bind does it. 401 - A -p option to nsd-checkzone to print a successfully read zone. 402 40312 March 2021: Wouter 404 - Fix that wildcard is printed as a star instead of escaped, in 405 logs and in written zone files. 406 - Fix unit test for wildcard printout change. 407 40811 March 2021: Wouter 409 - Fix #163: A TSIG noncompliance with RFC 2845. 410 4119 March 2021: Willem 412 - Enable configuring a control-interface by interface name. 413 41419 February 2021: Wouter 415 - Fix segfault on high verbosity for TLS channels with dnstap log 416 local address. 417 41818 February 2021: Wouter 419 - Fix #146 with #147: DNSTAP log the local address of the server 420 with the dnstap logs. 421 42216 February 2021: Wouter 423 - Man page documentation for dnstap options. 424 4258 February 2021: Wouter 426 - Fix AF_LOCAL compile error for Solaris. 427 - Fix ifaddrs compile error for Solaris. 428 - Fix ifaddrs.h compile error for Solaris. 429 4304 February 2021: Wouter 431 - Merge PR #153 from fobser: Repair -fno-common linker errors 432 automatically. 433 - Fix uninitialized access of log_buf in error printout on apply ixfr. 434 43526 January 2021: Wouter 436 - Prevent a few more yacc clashes. 437 43819 January 2021: Wouter 439 - Set branch ready for 4.3.5 release. Tag for 4.3.5rc1. 440 Became the 4.3.5 release on 26 january 2021. This branch continues 441 with 4.3.6 in development. 442 44315 January 2021: Wouter 444 - Fix #152: '*' in Rdata causes the return code to be NOERROR instead 445 of NX. 446 - Add config.guess and config.sub to .gitignore for autoconf 2.70. 447 - Fix #150: TXT record validation difference with BIND. 448 - Fixup TXT record validation fix for escaped quotes. 449 - Fixup TXT record validation fix for escaped backslashes. 450 - Fixup escape character parse for quoted strings. 451 45211 January 2021: Wouter 453 - Fix #151: DNAME not applied more than once to resolve the query. 454 - Fix dname test for #148. 455 - For #151: fix to not produce loops in output. 456 4575 January 2021: Wouter 458 - Fix configure.ac for autoconf 2.70. 459 4604 January 2021: Wouter 461 - Fix #148: CNAME need not be followed after a synthesized CNAME 462 for a CNAME query. 463 46411 December 2020: Wouter 465 - Fix that nsd-control has timeout when connection is down. 466 - remove windows socket ifdefs from nsd-control. 467 4683 December 2020: Wouter 469 - For #145: Fix that service of remaining TCP and TLS connections 470 does not allow new queries to be made, the connection is closed. 471 Only existing queries and zone transfers are answered, new ones 472 are rejected by a close of the channel. 473 47430 November 2020: Wouter 475 - Fix #144: fix better. 476 47727 November 2020: Wouter 478 - Fix #144: Typo fix in nsd.conf.5.in. 479 48026 November 2020: Wouter 481 - Fix #143: xfrd no hysteresis with NOT IMPLEMENTED rcode. 482 48324 November 2020: Wouter 484 - Merge PR #141: ZONEMD RR type. 485 - tag for 4.3.4rc1. This became 4.3.4 release on 1 dec 2020. 486 The code repo continues for 4.3.5 in development. 487 48823 November 2020: Wouter 489 - Fix #142: NODATA answers missin SOA in authority section after 490 CNAME chain. 491 - Fix for CVE-2020-28935 : Fix that symlink does not interfere 492 with chown of pidfile. 493 - fix writepid for retvalue 0. 494 4959 November 2020: Wouter 496 - Fix #138: NSD returns non-EDNS answer when QUESTION is empty. 497 - Fix to check nscount in previous fix for EDNS in formerr response 498 when there is no question. 499 50028 October 2020: Wouter 501 - Remove unused init_cfg_parse routine from configlexer. 502 50320 October 2020: Wouter 504 - Fix to add missing closest encloser NSEC3 for wildcard nodata type 505 DS answer. 506 50714 October 2020: Wouter 508 - Fix #134: IPV4_MINIMAL_RESPONSE_SIZE vs EDNS_MAX_MESSAGE_LEN. 509 51013 October 2020: Wouter 511 - Fix missing parenthesis on size of fix to init buffer. 512 51312 October 2020: Wouter 514 - Fix #127: two minor `-Wcast-qual` cleanups 515 - Fix #126: minor header hygiene 516 - Fix #125: include config.h in compat/setproctitle.c and fix prototype of `setproctitle` 517 - Fix #133: fix 0-init of local ( stack ) buffer. 518 5198 October 2020: Wouter 520 - tag for 4.3.3 release 521 - current repository contains 4.3.4 in development. 522 - Fix #129: ambiguous use of errno, in log message if sendmmsg fails. 523 - Fix #128: Fix that the invalid port number is logged for sendmmsg 524 failed: Invalid argument. 525 5261 October 2020: Wouter 527 - tag for 4.3.3rc1 release. 528 52930 September 2020: Wouter 530 - Updated date in nsd -v output. 531 - Fixup bug013_truncate, checkconf and cutest_qroot tests for new 532 default EDNS size. 533 53429 September 2020: Willem 535 - Follow DNS flag day 2020 advice and 536 set default EDNS message size to 1232. 537 5384 September 2020: Wouter 539 - Remove unused space from LIBS on link line. 540 5413 September 2020: Wouter 542 - Merge PR #121: Increase log level of recreated database from 543 WARNING to ERR. 544 5451 September 2020: Wouter 546 - Fix #119: fix compile warnings from new gcc. 547 - Fix #119: warn when trying to parse a directory. 548 54927 August 2020: Wouter 550 - Merged PR #113 with fixes. Instead of listing an IP-address to 551 listen on, an interface name can be specified in nsd.conf, with 552 ip-address: eth0. The IP-addresses for that interface are then used. 553 55426 August 2020: Wouter 555 - Add xstrdup for PR #113. 556 - Tidy up code like in PR #113. 557 - Import code from PR #113. 558 - Fix for unknown EVP_MAC_CTX_free function in openssl 3.0.0 tsig code. 559 56024 August 2020: Wouter 561 - Fix that configure checks for EVP_sha256 to detect openssl, because 562 HMAC_CTX_new is deprecated in 3.0.0. 563 - Port TSIG code for openssl 3.0.0-alpha6. 564 - Sync acx_nlnetlabs.m4 with the unbound repo. 565 - Review fixes for tsig, defensive free and zero. 566 5674 August 2020: Wouter 568 - Merge #117: mini_event.h (4.3.2 and 4.3.1) on OpenBSD cannot find 569 fd_set - patch. 570 57123 July 2020: Wouter 572 - Merge #115 from millert: Fix strlcpy() usage. From OpenBSD. 573 57415 July 2020: Wouter 575 - Fix make install with --with-pidfile="". 576 57714 July 2020: Wouter 578 - Tag for 4.3.2 release. Master branch contains the next version 579 in development, 4.3.3. 580 5817 July 2020: Wouter 582 - Tag for 4.3.2rc1. 583 5846 July 2020: Wouter 585 - Fix compile includes for xfr-inspect tool on FreeBSD. 586 - Add tpkg/run_vm.sh that runs test when in a virtual machine. 587 - Merge #112 from jaredmauch: log old and new serials when NSD 588 rejects an IXFR due to an old serial number. 589 - Fix bug034 test for vm test changes. 590 59122 June 2020: Wouter 592 - Remove errno reset behaviour from sendmmsg and recvmmsg 593 replacement functions. 594 - Fix unit test for different nsd-control-setup -h exit code. 595 59619 June 2020: Wouter 597 - Merge #108 from Nomis: Make the max-retry-time description clearer. 598 - Retry when udp send buffer is full to wait until buffer space is 599 available. 600 60118 June 2020: Wouter 602 - Do not log EAGAIN errors for sendmmsg, to stop log spam on OpenBSD. 603 60417 June 2020: Wouter 605 - Fix #107: nsd -v shows configure line, openssl version and libevent version. 606 60727 May 2020: Wouter 608 - Fix unlink of pidfile warning if not possible due to permissions, 609 nsd can display the message at high verbosity levels. 610 - Update contrib/nsd.service for chown of nsd.log and /var/log in 611 ReadWritePaths. 612 - Removed contrib/nsd.service, example is too complicated and not 613 useful. 614 61515 May 2020: Wouter 616 - Merge PR#102 from and0x000: add missing default in documentation 617 for drop-updates. 618 - Fix checkconf test for log-only-syslog option. 619 62014 May 2020: Wouter 621 - Document default value for tcp-timeout. 622 62313 May 2020: Jeroen 624 - Fix #99: Fix copying of socket properties with reuseport enabled. 625 62624 April 2020: Wouter 627 - Fix #97: EDNS unknown version: query not in response. 628 62921 April 2020: Wouter 630 - Fix #96: log-only-syslog: yes sets to only use syslog, fixes 631 that the default configuration and systemd results in duplicate 632 log messages. 633 63420 April 2020: Wouter 635 - Fix #95: Removed make test check because tpkg not included in 636 release tarballs. 637 - Fix unused parameter compile warnings. 638 63916 April 2020: Wouter 640 - Tag for 4.3.1 release and track 4.3.2 release in code repository. 641 - note sha256 digest algo use in makedist.sh. 642 - Fix for posix shell syntax for trap in nsd-control-setup. 643 - Fix to omit the listen-on lines from log at startup, unless verbose. 644 - Fix uninitialised values for bindtodevice option at startup with 645 reuseport and multiple interfaces. 646 6478 April 2020: Wouter 648 - Tag for 4.3.1rc2. 649 6507 April 2020: Wouter 651 - Merge PR #91 by gearnode: nsd-control-setup recreate certificates. 652 The '-r' option recreates certificates. Without it it creates them 653 if they do not exist, and does not modify them otherwise. 654 6556 April 2020: Wouter 656 - Merge PR #90 by phicoh: O_CLOEXEC should be FD_CLOEXEC. 657 - Merge PR #92 by tonysgi: Fix typo. 658 6592 April 2020: Wouter 660 - Tag for 4.3.1rc1. 661 6621 April 2020: Wouter 663 - Fix for whitespace in minimal responses test for FreeBSD. 664 66525 March 2020: Wouter 666 - Merge PR #86 from noloader: Use precious variables for GREP, EGREP, 667 SED, AWK, LEX and YACC. 668 - For PR #86: Fix that programs loaded after CFLAGS and stuff is 669 set, specifically the compiler, so that it can work if it needs 670 special flags from that. Fix that lex only needs to support -i 671 if actually defined, otherwise the output included in the source 672 tarball can be used. 673 - Merge PR #72 from noloader: Increase Travis testing coverage 674 67523 March 2020: Wouter 676 - Fix unterminated ifdef in nsd.h. 677 - Fix unknown u_long in util.c for Issue #80 . 678 67920 March 2020: Wouter 680 - Merge PR #83 from noloader: Fix GNU HURD sched_setaffinity compile. 681 - Fix #82: print error when system does not have setaffinity. 682 - Fix #80: NetBSD and implicit declaration of reallocarray. 683 - Fix for #80: Fix reallocarray test to define before include. 684 - Fix for #80: Define alternatives for IFNAMSIZ if it does not exist. 685 68619 March 2020: Wouter 687 - Fix #76: cpuid typedef for Hurd, DragonflyBSD compile. 688 - Fix #75: configure test for sched_setaffinity, and use 689 cpuset_setaffinity otherwise. Also test for presence of sysconf. 690 - Fix #74: GNU Hurd fix cast from pointer to integer of different size. 691 - Fix for #74, #75: cpuset test for header contents and provide code. 692 - Fix #78: Fix SO_SETFIB error on FreeBSD. 693 69418 March 2020: Wouter 695 - Fix #70: error: 'fd_set' undeclared. 696 - Fix #71: error: 'for' loop initial declaration used outside C99 697 mode. 698 - Fix to move declarations out of for loops in event test too. 699 - Fix to move declarations out of for loops in popen3 test too. 700 - Another fix to move declaration out of for loop for event test. 701 - Fix to move declarations out of for loops in cutest regex display. 702 70317 March 2020: Wouter 704 - tag for 4.3.0 release and master branch has version 4.3.1. 705 70610 March 2020: Wouter 707 - repository has version number 4.3.0. Tag for 4.3.0rc1. 708 7093 March 2020: Wouter 710 - Fix that the retry wait does not exceed one day for zone transfers. 711 71227 February 2020: Wouter 713 - Fix warning on FreeBSD about pointer size cast. 714 71526 February 2020: Wouter 716 - Fixup fix of reuseport TCP for server close of sockets not used 717 by it. And the unit test skips when the necessary debug output 718 is not enabled. 719 72025 February 2020: Wouter 721 - Fix event unit test, signal has to be registered with signal_add, 722 event_add not for every backend for signals. The event_initialized 723 is not possible for every backend, so event_added variable. The 724 agent write event fires after a timeout, instead of on event write 725 so that it does not trigger a sigpipe event when the handlers stop. 726 Timeout shorted to 0.1 second. event_get_fd was not implemented, 727 so used ev_fd. Debug output printfs added to see what happens. 728 - Fix checkconf test for new drop-updates config option. 729 - Fix errors with reuseport and TCP file descriptors, it was 730 closing them for server-1 in server-2 and server-3.. 731 7327 February 2020: Jeroen 733 - Add feature to drop queries with opcode UPDATE. 734 7356 February 2020: Jeroen 736 - Support SO_BINDTODEVICE on Linux. Specify bindtodevice: yes 737 to bind sockets directly to the network interface. 738 - Support SO_SETFIB on FreeBSD. Add setfib=<FIB> after an ip-address 739 option to use the specified FIB for that socket. 740 - Require user to add servers=<range> after an ip-address option to 741 specify the servers that must listen on that socket. 742 7436 February 2020: Wouter 744 - Merge PR#60: Minor portability fixes from michaelforney, with 745 avoid pointer arithmetic on void* and avoid unnecessary VLA. 746 7474 February 2020: Wouter 748 - Merge PR#22: minimise-any: prefer polular and not large RRset, 749 from Daisuke Higashi. 750 - Fix responses for IXFR so that the authority section is not echoed 751 in the response. 752 75321 January 2020: Wouter 754 - Fix leak in server bitset setup. 755 75616 January 2020: Jeroen 757 - Add zone resource record iterator for future zone-verification port. 758 - Set FD_CLOEXEC on opened sockets. 759 - Add popen3 implementation for future zone-verification port. 760 - Add -r option to cutest so that a subset of tests can be run. 761 76215 January 2020: Jeroen 763 - Add feature to pin server proccesses to specific cpus. 764 - Add feature to pin IP addresses to selected server processes. 765 - Set process title to identify individual processes. 766 76713 January 2020: Wouter 768 - Merge pull request #59 from buddyns: add FreeBSD support 769 for conf key ip-transparent. 770 77110 January 2020: Wouter 772 - Fix unreachable code in ssl set options code. 773 - Fix bad shift in assertion code analyzer complaint. 774 7756 January 2020: Wouter 776 - Fix #56: Drop sparse TSIG signing support in NSD. 777 Sign every axfr packet with TSIG, according to the latest 778 draft-ietf-dnsop-rfc2845bis-06, Section 5.3.1. 779 78012 December 2019: Wouter 781 - Note that use-systemd is not necessary and ignored in man page. 782 78311 December 2019: Wouter 784 - Fix whitespace in nsd.conf.sample.in, patch from Paul Wouters. 785 - use-systemd is ignored in nsd.conf, when NSD is compiled with 786 libsystemd it always signals readiness, if possible. 787 7889 December 2019: Wouter 789 - Fix to define upper bounds on rr counts read from untrusted packet 790 data. 791 - Try different annotation for radix_find_prefix_node not reachable. 792 - Separate acl_addr_match_range functions for ip4 and ip6, to 793 please checkers. 794 - Avoid unused variable warning in new match_range_v4 function. 795 7966 December 2019: Wouter 797 - Fix to define max number of EDNS records we are willing to 798 spend time on. 799 - Fix size of string len and capacity type cast in udbradtree. 800 - Fix to protect rrcount in tsig_find_rr from overflow. 801 - Annotate radix_find_prefix_node not reachable trail code. 802 - Fix to protect rrcount in packet_find_notify_serial from overflow. 803 - Fix to close socket on error in create_tcp_accept_sock. 804 - Fix to log on failure to chmod for socket for remote control. 805 - Fix to remove unneeded if in open of socket for remote control. 806 - Fix to restore input parameter on call failure in create_dirs. 807 - Please checker by terminating and initialising string read 808 by remote control. 809 - Fixup of random_generate negative modulo, from previous commit, 810 and return srandom when random is used if no getrandom. 811 8125 December 2019: Wouter 813 - Fix fname null check of fname in namedb_read_zonefile. 814 - Fix implicit cast of size in udb_radnode_array_grow. 815 - Fix ignore of return value of ssl_printf in remote.c. 816 - Fix unused check of fd in parent_handle_reload_command. 817 - Fix to use getrandom() for randomness, if available. 818 - Attempt to fix signedness of nscount lookup in ixfr query_process. 819 - Fix identical branches for ssl_print of errors in remote.c. 820 - Fix type cast bounds, signedness of opt_rdlen in edns_parse_record. 821 - Fix to separate header and data lines in parse_zone_list_file. 822 8233 December 2019: Wouter 824 - Fix #52: do not log transient network full errors unless higher 825 verbosity is set. 826 - Fix checkconf test for new error output string. 827 - tag for 4.2.4rc1 release. This became the 4.2.4 release, 828 and the master branch continues with 4.2.5 in development. 829 83027 November 2017 Jeroen 831 - Fix regressions in configparser.y 832 83322 November 2019: Wouter 834 - Fix #48: Add make distclean that removes config.h made by configure. 835 And add maintainer-clean that removes bison and flex output. 836 83718 November 2019: Wouter 838 - Detect fixed time memcmp for openssl 0.9.8 compatibility. 839 - Detect EC_KEY_new_by_curve_name for openssl 0.9.8. 840 - include limits.h for UINT_MAX. 841 - If no recvmmsg, dont use msg_flags member, but errno for error, 842 where our fallback function left it, msg_flags also does not exist 843 on some systems. 844 - Remove unused variable warning for portability. 845 84614 November 2019: Wouter 847 - Fix checkconf test with filenames that sort in the same order. 848 - Tag for 4.2.3rc1. Branch master is 4.2.4 in development. 849 85011 November 2019: Wouter 851 - Fix #44: document that remote-control is a top-level nsd.conf 852 attribute. 853 - Fix compile on OSX. 854 - Fix for #44: nicer top-level clause documentation. 855 85622 October 2019: Jeroen 857 - Number of different UDP handlers has been reduced to one. recvmmsg 858 and sendmmsg implementations are now used on all platforms. 859 Compatible implementations are in place for systems that lack the 860 system calls. 861 - Socket options are now set in designated functions for easy reuse. 862 - Socket setup has been simplified for easy reuse. 863 - Configuration parser is now aware of the context in which an option 864 was specified. 865 86621 October 2019: Wouter 867 - For #21 add 868 contrib/patch_for_s6_startup_and_other_service_supervisors.diff 869 that adds support for readiness notification with READY_FD from 870 Cameron Nemo. 871 87217 October 2019: Jeroen 873 - Fix #40: Merge small fixes for confine-to-zone by Greg Bock. 874 87515 October 2019: Jeroen 876 - For #39: Merge confine-to-zone feature contributes by Greg Bock. 877 87826 September 2019: Wouter 879 - Fix #38: log address and failure reason with tls handshake errors, 880 squelches (the same as unbound) some unless high verbosity is used. 881 - Fixup clang analysis warning in xfrd_parse_received_xfr_packet 882 master dereference. 883 88425 September 2019: Wouter 885 - The nsd.conf includes are sorted ascending, for include statements 886 with a '*' from glob. 887 88816 September 2019: Wouter 889 - Fixup warnings during --disable-ipv6 compile. 890 - Fixup unit test executable to run without IPv6. 891 8924 September 2019: Wouter 893 - Fix #35: excessive logging of ixfr failures, it stops the log when 894 fallback to axfr is possible. log is enabled at high verbosity. 895 8962 September 2019: Wouter 897 - For #21: pidfile "" allows to run NSD without a pidfile, for 898 startup management tools like daemontools. 899 90028 August 2019: Wouter 901 - In tests check for tls test tool availability. 902 90319 August 2019: Wouter 904 - Tag for 4.2.2 release. Git master contains 4.2.3 in development. 905 90613 August 2019: Wouter 907 - Fix error message for out of zone data to have more information. 908 - Tag for 4.2.2rc2. 909 91012 August 2019: Wouter 911 - Fix #33: Fix segfault in service of remaining streams on exit. 912 9136 August 2019: Wouter 914 - Tag for 4.2.2rc1. 915 9165 August 2019: Wouter 917 - PR #31: nsd-control: Add missing stdio header. 918 - PR #32: tsig: Fix compilation without HAVE_SSL. 919 - Cleanup tls context on xfrd exit. 920 92131 July 2019: Wouter 922 - Fix #29: SSHFP check NULL pointer dereference. 923 - Fix #30: SSHFP check failure due to missing domain name. 924 - Fix to timeval_add in minievent for remaining second in microseconds. 925 92622 July 2019: Wouter 927 - Set timeout for refetch immediately, only spread load when there 928 are retries. 929 93019 July 2019: Wouter 931 - Set no renegotiation on the SSL context to stop client 932 session renegotiation. 933 93418 July 2019: Wouter 935 - Fix #25: NSD doesn't refresh zones after extended downtime, 936 it refreshes the old zones, with a random delay of a couple of 937 seconds to spread the load. 938 - Fix so that expired zones stay expired when server is down a 939 long time. 940 94117 July 2019: Wouter 942 - Fix that NSD warns for wrong length of the hash in SSHFP records. 943 94415 July 2019: Wouter 945 - PR #23: Fix typo in nsd.conf man-page. 946 9474 July 2019: Wouter 948 - Set version to 4.2.2 in development. 949 - clean memory on exit of nsd-checkzone for memory debug. 950 - Fix #20: CVE-2019-13207 Stack-based Buffer Overflow in the 951 dname_concatenate() function. Reported by Frederic Cambus. 952 It causes the zone parser to crash on a malformed zone file, 953 with assertions enabled, an assertion catches it. 954 - Fix #19: Out-of-bounds read caused by improper validation of 955 array index. Reported by Frederic Cambus. The zone parser 956 fails on type SIG because of mismatched definition with RRSIG. 957 9582 July 2019: Wouter 959 - Tag for 4.2.1rc1 960 96127 June 2019: Wouter 962 - Fix unit test for added options and no dot after zone updated 963 log message. 964 - Fix compile without accept4. 965 96621 June 2019: Wouter 967 - Omit remaining tcp processing if the list is empty. 968 - Fix output of nsd-checkconf -h. 969 97020 June 2019: Wouter 971 - Initialize event structures before event_set, to stop uninitialized 972 values from setting event library lists and assertions, that would 973 sometimes also show after event_del. 974 - Added num.tls and num.tls6 stat counters. 975 - PR #12: send-buffer-size, receive-buffer-size, 976 tcp-reject-overflow options for nsd.conf, from Jeroen Koekkoek. 977 - Do not use symbol from libc, instead use own replacement, if not 978 available, for accept4. 979 - Fix #14, tcp connections have 1/10 to be active and have to work 980 every second, and then they get time to complete during a reload, 981 this is a process that lingers with the old version during a version 982 update. 983 98419 June 2019: Wouter 985 - Fix tls handshake event callback function mistake, reported 986 by Mykhailo Danylenko. 987 98818 June 2019: Wouter 989 - Fix #15: crash in SSL library, initialize variables for TCP access 990 when TLS is configured. 991 99214 June 2019: Wouter 993 - Fix to init event not pointer, in reassignment. 994 99512 June 2019: Wouter 996 - Fix to init event structure for reassignment. 997 99811 June 2019: Wouter 999 - NSD 4.2.0 release. Current development is 4.2.1. 1000 - Fixup of RELNOTES, corrected RFC reference for 4892. 1001 - Fix #13: Stray dot at the end of some log entries, removes dot 1002 after updated serial number in log entry. 1003 - Fix TLS cipher selection, the previous was redundant, prefers 1004 CHACHA20-POLY1305 over AESGCM and was not as readable as it could be. 1005 - Consolidate server tls context create and remote control context 1006 create, with hardening for the remote control tls context too. 1007 10086 June 2019: Wouter 1009 - NSD 4.2.0rc1 tag. 1010 10114 June 2019: Wouter 1012 - Fix unit test for outgoing interface to use random port numbers for 1013 the outgoing interface config. 1014 101529 May 2019: Wouter 1016 - Fix to guard _OPENBSD_SOURCE from redefinition. 1017 101828 May 2019: Wouter 1019 - Fix to define _OPENBSD_SOURCE to get reallocarray on NetBSD. 1020 102116 May 2019: Wouter 1022 - Fix #10: Fix memory leaks caused by duplicate rr and include 1023 instructions. 1024 10256 May 2019: Wouter 1026 - Note CII best practices badge for NSD on the README.md. 1027 10282 May 2019: Wouter 1029 - Fix .gitignore for unit test generated files. 1030 - Fix checkconf unit test for hide-identity and tls. 1031 10321 May 2019: Wouter 1033 - Fix makedist.sh for use with git. 1034 - Nicer output on travis for clang analysis. 1035 - Add .gitignore file to exclude built files from version tracking. 1036 - Add README.md file in repository with compile instructions. 1037 - Fix .gitignore for dnstap files and aclocal temp. 1038 - Add aclocal to README.md for pkgconfig for some configure options. 1039 104025 April 2019: Wouter 1041 - Add tls.tpkg unit test for DNS over TLS functionality. 1042 104318 April 2019: Wouter 1044 - Fix to avoid buffer alloc with global buffer in tls write handler. 1045 - Fix to initialize event structure when accepting TCP connection. 1046 - Use travis for build check, initial unit test and clang analysis. 1047 - Disable SSLv2,3,TLSv1.0,1.1 if TLS1.2 is available in libssl. 1048 - Disable weak ciphers, enable CIPHER_SERVER_PREFERENCE. 1049 - further setup ssl ctx after the keys are loaded, for ECDH. 1050 - TLS OCSP stapling support, enabled with tls-service-ocsp: filename, 1051 patch from Andreas Schulze. 1052 105317 April 2019: Wouter 1054 - Fix to share openssl init code, and perform it once. 1055 105616 April 2019: Andreas via Sara 1057 - Patch to add support for TCP Fast Open 1058 - Patch to add support for tls service on a specified tls port 1059 106016 April 2019: Wouter 1061 - Fix #4249: The option hide-identity: yes stops NSD from responding 1062 with the hostname for chaos class queries. Implements the RFC4829 1063 security considerations. 1064 - Remove starttls, this signalling method was not standardized. 1065 - Remove TO bit, this signalling method was not standardized. 1066 - Remove unused first_query and tls_ok states. 1067 - Remove sign-compare warning in tls packet send code. 1068 - Fix spelling in comment and log printout. 1069 - Fix potential uninitialized variable. 1070 - Fix documentation for DNS over TLS, and set default port 853. 1071 - Fix to add missing comment. 1072 - Fix that the TLS handshake routine sets the correct event to 1073 continue when done. 1074 - Fix that TLS renegotiation calls the read and write routines again 1075 with the same parameters when the desired event has been satisfied. 1076 - Fix that TCP Fastopen has better error message and supports OSX. 1077 - Fix log for fastopen with verbosity. 1078 - Squelch TLS handshake failure log until verbosity 3. 1079 - Add per-zone statistics for TLS queries, and dnstap for TLS queries, 1080 and rcode and TCflag statistics for TCP and TLS queries. 1081 108225 March 2019: Wouter 1083 - Print IP address when bind socket fails with error. 1084 108521 March 2019: Wouter 1086 - Fix spelling error in release notes. 1087 - Fix to delete unused zparser.default_apex member. 1088 108919 March 2019: Wouter 1090 - tag 4.1.27rc1. This became 4.1.27 on 25 March 2019 and trunk has 1091 4.1.28 in development. 1092 109318 March 2019: Wouter 1094 - Fix unit test bug013_truncate for new truncation with EDNS size, 1095 it is one RR smaller for the truncated response in the test. 1096 109714 March 2019: Wouter 1098 - Fixed radtree_insert memory leak. 1099 - Fixed access recycled variable. 1100 110111 March 2019: Wouter 1102 - Fix #6: nsd-control-setup: Change validity time to a shorter 1103 period (<2038). 1104 - Fix unused definition in header remote.h. 1105 - Fix #4236: IPV4_MINIMAL_RESPONSE_SIZE=1480 is slightly too big. 1106 - Fix #4235: IP_PMTUDISC_OMIT on IPv4/UDP sockets. 1107 110818 February 2019: Wouter 1109 - Fix to remove unused code. 1110 111115 February 2019: Wouter 1112 - tentative robustness, delete stats items from list twice if needed. 1113 111414 February 2019: Wouter 1115 - Fix #4: setusercontext() is in libutil on NetBSD, and also 1116 include login_cap.h only if it exists. 1117 - Fix #4215: fixup for state update for TSIG information in server 1118 processes, nicer printout for tsig_print, tsig_print without 1119 arguments and no leaks. 1120 - nicer logging for update_tsig. 1121 11221 February 2019: Wouter 1123 - Fix for tsig assoc_tsig command on acl with nokey elements. 1124 112529 January 2019: Wouter 1126 - Fix #4215: on-the-fly change of TSIG keys with patch from Igor, adds 1127 nsd-control print_tsig, update_tsig, add_tsig, assoc_tsig 1128 and del_tsig. These changes are gone after reload, edit the 1129 config file (or a file included from it) to make changes that 1130 last after restart. 1131 - documentation for tsig nsd-control options. 1132 113324 January 2019: Wouter 1134 - Deny ANY with only one RR in response, by default. Patch from 1135 Daisuke Higashi. The deny-any statement in nsd.conf sets ANY 1136 queries over UDP to be further moved to TCP as well. 1137 Also no additional section processig for type ANY, reducing 1138 the response size. 1139 - assertions for clang analysis. 1140 114110 December 2018: Wouter 1142 - Fix for FreeBSD port with dnstap enabled. 1143 11446 December 2018: Wouter 1145 - Fix to reduce region_log_stats if condition, this removes a 1146 debug statement. 1147 11485 December 2018: Wouter 1149 - Fix #4213: disable-ipv6 and dnstap compile error. 1150 11513 December 2018: Wouter 1152 - Note that the content_list member is unused; and could be removed 1153 if the database format is modified or updated. 1154 - Fix that dnstap logs CQ and CR like BIND does. 1155 - Revert that, it looks wrong, AQ and AR are for the authoritative. 1156 115729 November 2018: Wouter 1158 - Tag for 4.1.26rc1. Which became 4.1.26 on 4 dec 2018. 1159 Trunk has 4.1.27 in development. 1160 - Fix clang analysis warning on null in closest encloser for wildcard 1161 denial nsec. 1162 - Fix clang analysis warnings. 1163 116427 November 2018: Wouter 1165 - Fix parsezone failure in 4194 fix. 1166 116726 November 2018: Wouter 1168 - Fix to not set GLOB_NOSORT so the nsd.conf include: files are 1169 sorted and in a predictable order. 1170 - Added nsd-control changezone. nsd-control changezone name pattern 1171 allows the change of a zone pattern option without downtime for 1172 the zone, in one operation. 1173 - Fix #3433: document that reconfig does not change per-zone stats. 1174 117520 November 2018: Wouter 1176 - Fix #4205: enable-recvmmsg in mixed IPv4/IPv6 environment fails. 1177 This sets the msg_hdr.msg_namelen correctly after receipt. 1178 117919 November 2018: Wouter 1180 - Support SO_REUSEPORT_LB in FreeBSD 12 with the reuseport: yes 1181 option in nsd.conf. 1182 - Fix #4202: nsd-control delzone incorrect exit code on error. 1183 - Tab style fix to use tab for 8 spaces, from Xiaobo Liu. 1184 118525 October 2018: Wouter 1186 - Adjust dnstap socket path for chroot. 1187 118822 October 2018: Wouter 1189 - Fix #4194: Zone file parser derailed by non-FQDN names in RHS of 1190 DNSSEC RRs. 1191 - Fix some more, neater code and checks for domain length limit. 1192 - check that the dnstap socket file can be opened and exists, print 1193 error if not. 1194 11954 October 2018: Wouter 1196 - dnstap work, the dnstap.proto is a copy of the file from Unbound, 1197 also dnstap.m4 configure include file. 1198 - dnstap collector: free eventbase and memclean nicer. 1199 - dnstap collector: send data and read it in collector. 1200 - dnstap/dnstap.c and .h from Unbound's contribution from 1201 Farsight Security, added to then adapt it for dnstap logging in NSD. 1202 - dnstap.c with auth query and auth response, and called from 1203 the collector. 1204 - dnstap work, config nsd.conf parse. 1205 - dnstap example config. 1206 120725 September 2018: Wouter 1208 - NSD 4.1.25 released, trunk has 4.1.26 in development. 1209 121018 September 2018: Wouter 1211 - tag for NSD 4.1.25rc1. 1212 121317 September 2018: Wouter 1214 - Fix #4156: Fix systemd service manager state change notification 1215 121614 September 2018: Wouter 1217 - Remove unused if clause during server service startup. 1218 121913 September 2018: Wouter 1220 - Fix typo in clang analysis test. 1221 - Annotate exit functions with noreturn. 1222 - nsd-control prints neater errors for file failures. 1223 122412 September 2018: Wouter 1225 - clang analysis test. 1226 122711 September 2018: Wouter 1228 - Fix to combine the same error function into one, from Xiaobo Liu. 1229 - Fix initialisation in remote.c. 1230 - please clang analyzer and fix parse of IPSECKEY with bad gateway. 1231 - Fix unit test code for clang analyzer. 1232 - Fix nsd-checkconf fail on bad zone name. 1233 123410 September 2018: Wouter 1235 - Fix coding style in nsd.c 1236 12377 September 2018: Wouter 1238 - append_trailing_slash has one implementation and is not repeated 1239 differently. 1240 12414 September 2018: Wouter 1242 - Fix codingstyle in nsd-checkconf.c in patch from Sharp Liu. 1243 124415 August 2018: Wouter 1245 - Fix use_systemd typo/leftover in remote.c. 1246 124713 August 2018: Wouter 1248 - tag for 4.1.24 release. 1249 - trunk is 4.1.25 in development. 1250 - Fix that nsec3 precompile deletion happens before the RRs of 1251 the zone are deleted. 1252 - Fix printout of accepted remote control connection for unix sockets. 1253 12546 August 2018: Wouter 1255 - tag for 4.1.24rc1 release. 1256 125730 July 2018: Wouter 1258 - Tag for NSD 4.1.23 release, trunk is 4.1.24, includes 1259 fix NSD time sensitive TSIG compare vulnerability. 1260 - Fix checkconf test for use-systemd option. 1261 126225 July 2018: Wouter 1263 - #4133: Fix that when IXFR contains a zone with broken NSEC3PARAM 1264 chain, NSD leniently attempts to find a working NSEC3PARAM. 1265 126623 July 2018: Wouter 1267 - Remove socket activation from systemd code, it was reported as 1268 not useful to enable. The readiness signalling is still there, 1269 and can be enabled with use-systemd: yes. 1270 - Only call sd_notify from systemd when use-systemd is yes. 1271 12726 July 2018: Wouter 1273 - RFC8162 support, for record type SMIMEA. 1274 - Fix that type CAA (and URI) in the zone file can contain 1275 dots when not in quotes. 1276 127726 June 2018: Wouter 1278 - configure --enable-systemd (needs pkg-config and libsystemd) can 1279 be used to then use-systemd: yes in nsd.conf and use socket 1280 activation and readiness signalling with systemd. 1281 128219 June 2018: Wouter 1283 - #4106: Fix that stats printed from nsd-control are recast from 1284 unsigned long to unsigned (remote.c). 1285 128614 June 2018: Wouter 1287 - Fix that first control-interface determines if TLS is used. Warn 1288 when IP address interfaces are used without TLS. 1289 129012 June 2018: Wouter 1291 - #4102: control interface via local socket. 1292 configure it with control-interface: "/path/nsd.ctl" The path 1293 has to start with a / to separate it from an IP address. 1294 The local socket does not use SSL, but unencrypted traffic, use 1295 file and containing directory permissions to restrict access. 1296 12976 June 2018: Wouter 1298 - Patch to fix openwrt for mac os build darwin detection in configure. 1299 13004 June 2018: Wouter 1301 - tag for 4.1.22rc1. Became 4.1.22 on 11 June, trunk is 4.1.23 in 1302 development from this point. 1303 130431 May 2018: Wouter 1305 - Fix to use same condition for nsec3 hash allocation and free. 1306 130723 May 2018: Wouter 1308 - Use accept4 to speed up answer of TCP queries, on Linux and FreeBSD 1309 and OpenBSD. 1310 131122 May 2018: Wouter 1312 - Fix nsec3 hash of parent and child co-hosted nsec3 enabled zones. 1313 131415 May 2018: Wouter 1315 - Fix memory free in unit test. 1316 131714 May 2018: Wouter 1318 - Tag for 4.1.21 release. 1319 - trunk has 4.1.22 in development. 1320 - refuse-any sends truncation (+TC) in reply to ANY queries over UDP, 1321 and allows TCP queries like normal. 1322 13237 May 2018: Wouter 1324 - Tag for 4.1.21rc1 release. 1325 13264 May 2018: Wouter 1327 - Fix #4093: Release notes not using 2018. 1328 13293 May 2018: Wouter 1330 - Fix buffer size warnings from compiler on filename lengths. 1331 133226 April 2018: Wouter 1333 - lower memory usage for tcp connections, so tcp-count can be higher. 1334 - Fix checkconf test for refuse-any option. 1335 13363 April 2018: Wouter 1337 - refuse-any nsd.conf option that refuses queries of type ANY. 1338 13395 March 2018: Wouter 1340 - Fix #3562: explain build error when flex missing. 1341 134220 February 2018: Wouter 1343 - For more clang warnings 1344 - Fix spelling error in xfr-inspect. 1345 134619 February 2018: Wouter 1347 - Fix for clang analysis complaints. 1348 134915 February 2018: Wouter 1350 - --enable-memclean cleans up memory for use with memory checkers, 1351 eg. valgrind. 1352 - Fix unused variable warnings from clang analyzer. 1353 135414 February 2018: Wouter 1355 - updated RELNOTES for upcoming release. 1356 - tag 4.1.20rc1, became release on 20 feb, trunk has 4.1.21 in 1357 development. 1358 13599 February 2018: Wouter 1360 - make depend: updated the make dependencies in the Makefile. 1361 13628 February 2018: Wouter 1363 - Fix memory leak when rehashing nsec3 after axfr or zonefile read, 1364 in the selectively allocated precompiled nsec3 hashes. 1365 13666 February 2018: Wouter 1367 - Fix memory leak in zone file read of unknown rr formatted RRs. 1368 136911 December 2017: Wouter 1370 - Add test for support of -Wno-address-of-packed-member for 1371 --enable-packed. 1372 - tag for release 4.1.19 1373 - trunk has 4.1.20 in development. 1374 13758 December 2017: Wouter 1376 - tag for 4.1.19rc1 1377 13787 December 2017: Wouter 1379 - Fixup lexer warning for gcc 4.2. 1380 13816 December 2017: Wouter 1382 - Fix 3392: Fix regression in 4.1.18 for notify lists with ip4 1383 and ip6 targets. 1384 13855 December 2017: Wouter 1386 - Fix spelling error in xfr-inspect. 1387 13881 December 2017: Wouter 1389 - Fix warnings emitted by clang for --enable-packed. Alignment is not 1390 a problem for x86_64, don't enable packed when the platform 1391 requires aligned access. 1392 139330 November 2017: Wouter 1394 - tag for 4.1.18 release. 1395 - trunk has 4.1.19 in development. 1396 - ignore fallthrough compiler warning in flex EOF rule. 1397 139827 November 2017: Wouter 1399 - Fix crash for DS query when parent and child zones both configured 1400 in nsd.conf and parent zone has not loaded properly. 1401 - tag for 4.1.18rc2. 1402 140316 November 2017: Wouter 1404 - tag for 4.1.18rc1. 1405 140614 November 2017: Wouter 1407 - Fix #2871: Increase number of sockets for xfrd transfers. 1408 14096 November 2017: Wouter 1410 - Set usage counts in namedb tree to uint32 to save memory. 1411 - Fix up debug content from nsec3 collision printout work. 1412 14132 November 2016: Wouter 1414 - make ip-transparent option work on OpenBSD. 1415 141611 October 2016: Wouter 1417 - Fix #1567: Change crit to err log level for gettimeofday failure. 1418 Add defines for compile without syslog. 1419 14209 October 2016: Wouter 1421 - Fix collision printout of nsec3 to print name, hash and reverse. 1422 14232 October 2016: Wouter 1424 - nsd-control zonestatus prints wait time between attempts, for zones 1425 that are in that waiting time. 1426 142719 September 2016: Wouter 1428 - merges feature branch branches/alloced_prehashes into trunk. 1429 143018 September 2016: Wouter 1431 - Fix #1446: A corrupted zone file "propagates" to good ones. 1432 143314 September 2016: Wouter 1434 - Fix layout in xfrd.c. 1435 14366 September 2017: Willem 1437 - Save memory by selectively allocate precompiled nsec3 hashes 1438 143929 August 2016: Wouter 1440 - With --enable-packed save memory, at expense of unaligned reads. 1441 - Fix writev compile warning on FreeBSD. 1442 144325 July 2016: Wouter 1444 - NSD sends up to 16 notifies simultaneously for up to 64 zones, 1445 to increase rate of notification for large master configurations. 1446 144724 July 2016: Wouter 1448 - Fix gcc 7.1.1 warnings. 1449 145017 July 2016: Wouter 1451 - Trunk has 4.1.18 1452 - xfr-inspect is part of source dir, but not made or installed by 1453 default. 1454 - retry timeout between sending notifies dropped from 15 to 3 sec. 1455 145613 July 2016: Wouter 1457 - tag 4.1.17rc1, and that became the 4.1.17 release on 21 July 2017. 1458 145929 June 2016: Wouter 1460 - make depend. 1461 146226 June 2016: Wouter 1463 - Fix text format of deletes for CDS and CDNSKEY, single 0 to represent 1464 empty base64 or hex string. 1465 146623 June 2016: Wouter 1467 - Fix potential null pointer in nsec3 adjustment tree. 1468 146915 June 2016: Wouter 1470 - xfr-inspect debug tool prints out xfr contents of files in tmp. 1471 14726 June 2016: Wouter 1473 - Fix #1272: use writev to put tcp length field with data for outgoing 1474 zone transfer requests. 1475 147616 May 2016: Wouter 1477 - zone parser parses type AVC (it has TXT format). 1478 147925 April 2016: Wouter 1480 - 4.1.16 release tag. 1481 - trunk contains 4.1.17 in development. 1482 148311 April 2016: Wouter 1484 - 4.1.16 rc1 tag for release. 1485 - minor manpage fix. 1486 14875 April 2016: Wouter 1488 - Patch for expire state in multi-master when masters includes 1489 broken master. 1490 149127 March 2016: Wouter 1492 - Fix 1243: Option to make NSD emit really minimal responses, 1493 minimal-responses: yes in nsd.conf. 1494 - but they give additional information for priming queries (type NS). 1495 14966 March 2016: Wouter 1497 - Fix 1228: OpenSSL include is not guarded with HAVE_SSL 1498 149928 February 2016: Wouter 1500 - Printout serial error with hint it may be too big. 1501 150220 February 2016: Wouter 1503 - Fix missing _t to _type conversion for disable-radix-tree option. 1504 150515 February 2016: Wouter 1506 - zone parser can parse acronyms for algorithms ED25519 and ED448. 1507 150813 February 2016: Wouter 1509 - Calculate new udb index after growing the array, fix from 1510 Chaofeng Liu. 1511 15127 February 2016: Wouter 1513 - tag for 4.1.15 rc1. Which became 4.1.15 on 16 Feb. Trunk 4.1.16. 1514 151519 January 2016: Wouter 1516 - Fix to rename _t typedefs because POSIX reserves them. 1517 15183 January 2016: Wouter 1519 - Fix #1195: Fix so that NSD fails on non-compliant values for Serial. 1520 152114 December 2016: Wouter 1522 - Squelch zone transfer error address family not supported by protocol 1523 at low verbosity levels. 1524 152513 December 2016: Wouter 1526 - Fix nsd-control and ipv6 only. 1527 15288 December 2016: Wouter 1529 - tag 4.1.14 1530 - trunk contains 4.1.15 in development. 1531 15321 December 2016: Wouter 1533 - Fix restart of zone transfers when new config becomes available. 1534 - tag 4.1.14rc1 1535 153625 October 2016: Wouter 1537 - Fix #1132 for SERVFAIL zones perform backoff, and remembers the 1538 timeout on next startup. 1539 - Save backoff timeout into xfrd.state file, this file has a higher 1540 version number now. Old files are skipped silently (causes 1541 refresh) and created as new files upon exit. 1542 - Set number of rounds to 1; NSD will try every master once, then 1543 wait for timeout or notify. 1544 - Fix axfr fallback for rounds to 1. 1545 154620 October 2016: Wouter 1547 - suppress compile warning in lex files. 1548 154918 October 2016: Wouter 1550 - Robust fix against missing master in tcp_open for xfrd. 1551 - More in depth fix for the previous. 1552 - Fix wildcards in include: config statements with chroot enabled. 1553 155427 September 2016: Wouter 1555 - NSD 4.1.13 tag. 1556 - trunk has 4.1.14 in development. 1557 - Fix null memcpy for radixtree with single link element. 1558 155919 September 2016: Wouter 1560 - Review comments Ralph: wrapped long lines and nicer example conf. 1561 156216 September 2016: Wouter 1563 - NSD 4.1.13rc1 tag. 1564 156515 September 2016: Wouter 1566 - Test for openssl init_crypto and init_ssl functions. 1567 156814 September 2016: Ralph 1569 - Fix OPENSSL_INIT_ADD_ALL_DIGESTS compatibility check 1570 157113 September 2016: Wouter 1572 - Fix double const in dname_const() function. 1573 - Silenced flex-generated sign-unsigned warning print with gcc 1574 diagnostic pragma. 1575 15768 September 2016: Wouter 1577 - more extensible edns option handling. 1578 15792 September 2016: Wouter 1580 - Release of 4.1.12; trunk is 4.1.13 and the patch for 4.1.12 (that 1581 does not contain the other changes to the trunk) is folded into 1582 the trunk. 1583 - Fix #827: fix compile with openssl 1.1.0 with api=1.1.0. 1584 158525 August 2016: Wouter 1586 - Fix multimaster for not tried full zone transfer for a expired zone. 1587 - Explain --disable-radix tree uses some more CPU. 1588 158922 August 2016: Wouter 1590 - Fix README spelling error of BSD license (reported by Joerg Jung). 1591 159219 August 2016: Wouter 1593 - for type SRV add A/AAAA to the additional section (if possible), 1594 just like we already do for type MX. 1595 159617 August 2016: Wouter 1597 - Add robustness against unallocated data in nsec3 trees. 1598 159916 August 2016: Wouter 1600 - configure --disable-radix-tree for about 15% lower memory usage. 1601 160212 August 2016: Wouter 1603 - Fix #817: xfrd update failed loop. 1604 16059 August 2016: Wouter 1606 - Can config key algorithms with the digest name, eg. 'sha256'. 1607 - default tsig algorithm is sha256. 1608 - Fix typo in log output, 'transfered' -> 'transferred'. 1609 - Fix compile warnings about signcompare in minmax retrytime. 1610 16118 August 2016: Wouter 1612 - Support syntax of RR type OPENPGPKEY from RFC 7929. 1613 16145 August 2016: Wouter 1615 - multi-master-check: yes can be used to check all masters for the 1616 last version, using the higher version from the configured masters, 1617 from Manabu Sonoda. 1618 - small fixups on patch. And fix spacing and remove configure flag. 1619 - Fix #812: make depend fails after distribution. 1620 16212 August 2016: Wouter 1622 - Fix unused result warnings from write and strtol. 1623 16241 August 2016: Wouter 1625 - Tag 4.1.11rc1. 1626 - Fix nsec3 missing for nsec3 signed parent and child for DS at zonecut. 1627 - Tag 4.1.11rc2. 1628 - trunk is 4.1.12 in development. 1629 16308 July 2016: Wouter 1631 - Note down tracking numbers for issue JVN#63359718 JPCERT#91251865. 1632 16335 July 2016: Wouter 1634 - Fix #790: size-limit-xfr can stop NSD from downloading infinite zone 1635 transfer data size, from Toshifumi Sakaguchi. 1636 163727 June 2016: Wouter 1638 - Set default for min-refresh-time and min-retry-time to 0. Behaves 1639 just like before, but has a configurable option in nsd.conf. 1640 - Fix #783: Trying to run a root server without having configured it 1641 silently gives wrong answers. 1642 164316 June 2016: Wouter 1644 - When tcp is more than half full, use short timeout for tcp session. 1645 - Patch for {max,min}-{refresh,retry}-time from YAMAGUCHI Takanori. 1646 - man page entries for max-refresh-time patch. 1647 164815 June 2016: Wouter 1649 - Fix build without IPv6, patch from Zdenek Kaspar. 1650 165114 June 2016: Wouter 1652 - release 4.1.10 and tag for that. 1653 - trunk has 4.1.11 in development. 1654 16557 June 2016: Wouter 1656 - Fix NSEC3 ent fix to use closest encloser, not wildcard denial. 1657 16582 June 2016: Wouter 1659 - Fix for NSEC3 with zone signed without exact match for empty 1660 nonterminals, the answer for that domain gets wildcard denial. 1661 - #772 Document that recvmmsg has IPv6 problems on some linux kernels. 1662 - tag for 4.1.10rc1. 1663 166431 May 2016: Wouter 1665 - print notice that nsd is starting before taking off. 1666 166720 May 2016: Wouter 1668 - Updated fix for nonterminal nsec3 answers. 1669 167019 May 2016: Wouter 1671 - Fix empty nonterminal nsec3 cover answers. 1672 167312 May 2016: Wouter 1674 - NSD includes AAAA before A for queries over IPV6 (in delegations). 1675 And TC is set if no glue can be provided with a delegation because 1676 of packet size. 1677 167819 April 2016: Wouter 1679 - Fix #755: NSD spins after a zone update and a lot of TCP queries. 1680 16817 April 2016: Wouter 1682 - If set without nsd.db print "" as the default in the man pages. 1683 16844 April 2016: Wouter 1685 - Fix #751: NSD fails to occlude names below a DNAME. 1686 168724 March 2016: Wouter 1688 - Fix for openssl 1.1.0, HMAC_CTX size not exported from openssl. 1689 169021 March 2016: Wouter 1691 - Update acx_nlnetlabs.m4 to version 33 with HMAC_Update test. 1692 - acx_nlnetlabs.m4 to v34, with -ldl -pthread test for libcrypto. 1693 169415 March 2016: Wouter 1695 - ip-freebind: yesno option in nsd.conf sets IP_FREEBIND socket option 1696 for Linux, binds to interfaces and addresses that are down. 1697 - Change the nsd.db file version because of nanosecond precision fix. 1698 - 4.1.9 release with the nsd.db file version fix (but not freebind), 1699 trunk contains 4.1.10 in development. 1700 170110 March 2016: Wouter 1702 - Tag 4.1.8 1703 - Trunk contains 4.1.9 in development. 1704 17052 March 2016: Wouter 1706 - Tag 4.1.8rc1 1707 17081 March 2016: Wouter 1709 - #744: Fix that NSD replies for configured but unloaded zone 1710 with SERVFAIL, not REFUSED. 1711 171216 February 2016: Wouter 1713 - RR type CSYNC (RFC7477) syntax is supported. 1714 171529 January 2016: Wouter 1716 - #739: zonefile changes when mtime is small are detected on reload, 1717 if filesystem supports precision mtime values. 1718 171919 January 2016: Wouter 1720 - Fix #736: segfault during zone transfer. 1721 172208 January 2016: Wouter 1723 - Define _DEFAULT_SOURCE with _BSD_SOURCE for recent Linuxes. 1724 172505 January 2016: Wouter 1726 - #732: tcp-mss, outgoing-tcp-mss options for nsd.conf, patch 1727 from Daisuke Higashi. 1728 172904 January 2016: Wouter 1730 - Updated acx_nlnetlabs to version 32. 1731 173211 December 2015: Wouter 1733 - Fix flto check for OSX clang. 1734 173510 December 2015: Wouter 1736 - 4.1.7 release 1737 - trunk has 4.1.8 in development. 1738 - take advantage of arc4random_uniform if available, patch from 1739 Loganaden Velvindron. 1740 17413 December 2015: Wouter 1742 - tag for 4.1.7rc1 prerelease. 1743 17442 December 2015: Wouter 1745 - configure --enable-ratelimit-default-is-off with --enable-ratelimit 1746 to set the default ratelimit to disabled but available in nsd.conf. 1747 - Document that ratelimit qps and slip are updated in reconfig. 1748 - version: "string" option to set chaos version query reply string. 1749 - Fix up defaults in manpage. 1750 17511 December 2015: Wouter 1752 - Explain rrl-slip better in documentation. 1753 175430 November 2015: Wouter 1755 - Fix TCP responses when REUSEPORT is in use by turning it off. 1756 - reuseport: no is the default, because the feature is not troublefree. 1757 - Document default in manpage for rrl-slip, ip4 and 6 prefixlength. 1758 175924 November 2015: Wouter 1760 - Fix zonec ttl mismatch printout to include more information. 1761 176218 November 2015: Wouter 1763 - RELNOTES more descriptive. 1764 - newer acx_nlnetlabs.m4. 1765 - spelling fixes from Igor Sobrado Delgado. 1766 176717 November 2015: Wouter 1768 - Fix #721: Fix wrong error code (FORMERR) returned for unknown 1769 opcode. NOTIMP expected. 1770 177116 November 2015: Wouter 1772 - Allocate less memory for TSIG digest. 1773 17746 November 2015: Wouter 1775 - Fixup for newer acx_nlnetlabs.m4, test for openssl version after 1776 testing for libdl need. 1777 17785 November 2015: Wouter 1779 - newer acx_nlnetlabs.m4, does not needlessly link with -ldl. 1780 178130 October 2015: Wouter 1782 - Fix tpkg tests for portability. 1783 178429 October 2015: Wouter 1785 - patch from Doug Hogan for SSL_OP_NO_SSLvx options. 1786 - updated contrib/nsd.spec, from Bálint Szigeti. 1787 - support configure --with-dbfile="" for nodb mode by default, where 1788 there is no binary database, but nsd reads and writes zonefiles. 1789 179027 October 2015: Wouter 1791 - portability fixes. 1792 179326 October 2015: Wouter 1794 - Init pfd for handlers added during handler-event-walk. 1795 179623 October 2015: Wouter 1797 - Fix many interfaces and zones updates from nsd parent event loop. 1798 179922 October 2015: Wouter 1800 - 4.1.6 release tag. 1801 - trunk contain 4.1.7 in development. 1802 180320 October 2015: Wouter 1804 - 4.1.6rc2 tag created. 1805 180619 October 2015: Wouter 1807 - Fix compile of zonec error message on FreeBSD. 1808 180915 October 2015: Wouter 1810 - 4.1.6rc1 tag created. 1811 181213 October 2015: Wouter 1813 - nsd-checkconf warns for master zones with no zonefile statement. 1814 - Fix start failure when many file descriptors are in use. 1815 - The servfail rcode is not printed with a space in the middle. 1816 - fixup file descriptor fixup nicer. 1817 - print failed token for config syntax error or parse error. 1818 181912 October 2015: Wouter 1820 - Fix #711: Document that debug-mode yes is used for staying 1821 attached to the supervisor console. 1822 - Document verbosity 3 prints more information. 1823 182430 September 2015: Wouter 1825 - makedist.sh print on pgp signature creation. 1826 182728 September 2015: Wouter 1828 - Fix typo in zonec.c inside error message. 1829 183024 September 2015: Wouter 1831 - Fix #701: Fix that AD=1 set in a BADVERS response. 1832 183321 September 2015: Wouter 1834 - Fix #706: default port 53 not opened on ip4 because of getaddrinfo 1835 hints initialisation failure. 1836 - 4.1.5 release tag 1837 - trunk contains 4.1.6 in development. 1838 18399 September 2015: Wouter 1840 - 4.1.4 release tag created. 1841 - trunk contains 4.1.5 in development. 1842 184331 August 2015: Wouter 1844 - 4.1.4rc1 tag created. 1845 184628 August 2015: Wouter 1847 - Fix #698 formatting errors and typos in nsd.8.in. 1848 - Add --enable-pie and --enable-relro-now options. 1849 185018 August 2015: Wouter 1851 - Admitted axfrs are logged at verbosity 1. Refused at verbosity 2. 1852 185317 August 2015: Wouter 1854 - Fixed checkconf test for reuseport setting. 1855 185614 August 2015: Wouter 1857 - SO_REUSEPORT does not work on FreeBSD. Enabled by default on Linux, 1858 not enabled by default on other OSes. 1859 18605 August 2015: Wouter 1861 - Fix that notify from nsd-control contains soa serial. 1862 18633 August 2015: Wouter 1864 - squelch SO_REUSEPORT failure on verbosity less than 3. 1865 186631 July 2015: Wouter 1867 - removed hardcoded interface limit, --with-max-ips removed. 1868 - SO_REUSEPORT support. 1869 187016 July 2015: Wouter 1871 - Fix #618: documented need to list ip-addresses separately in 1872 nsd.conf if there are multiple, because the source address of 1873 replies can otherwise go wrong. 1874 187510 July 2015: Wouter 1876 - Fix that for expired zones NSD performs an AXFR and accepts newer 1877 and older serial numbers. 1878 - Document that minimal responses only minimizes responses to fit 1879 in one datagram. It does not minimize smaller responses. 1880 18812 July 2015: Wouter 1882 - Fix NSID response for short edns sizes. 1883 188423 June 2015: Wouter 1885 - Trunk contains 4.1.4 in development. 1886 18874 June 2015: Wouter 1888 - Tag 4.1.3rc1 1889 - improve nsd-control usage text. (23 june - added to 4.1.3) 1890 - RFC7553 RR Type URI support. 1891 18922 June 2015: Wouter 1893 - Fix redefined macro lex warning for freebsd flex. 1894 189529 May 2015: Wouter 1896 - Fix that formerrors are ratelimited. 1897 189819 May 2015: Wouter 1899 - max-interfaces raised to 32. 1900 190118 May 2015: Wouter 1902 - removed unused defines for unofficial tsig-hmac algorithm codes. 1903 The TSIG algorithm is identified by name in the config file. 1904 190514 May 2015: Wouter 1906 - hmac sha224, sha384 and sha512 support, patch from David Gwynne. 1907 190823 April 2015: Wouter 1909 - Fix crash in zone parser for relative dname after error in origin. 1910 - Test for zone parser failures 1911 191221 April 2015: Wouter 1913 - nsd-control addzones and delzones read list of zones from stdin. 1914 - Fix task and zonestat files to be stored in a subdirectory in tmp 1915 to stop privilege elevation. 1916 - printout names for successful addition and removal with bulk command. 1917 191820 April 2015: Wouter 1919 - Fix #665: when removing subdomain, nsd does not reparse parent zone. 1920 192114 April 2015: Wouter 1922 - trunk contains 4.1.3(upcoming). 1923 19247 April 2015: Wouter 1925 - Tag 4.1.2rc2. 1926 19272 April 2015: Wouter 1928 - Made log message more consistent, changed 'axfr refused' log message 1929 to be more consistent with other messages. Also notify refused. 1930 - verbosity 2 logs axfr refused and notify refused. 1931 verbosity 1 contains less log messages. 1932 193331 March 2015: Wouter 1934 - Tag 4.1.2rc1. 1935 193624 March 2015: Wouter 1937 - Fix #654: Fix contradiction in notify logging verbosity level. 1938 - Incoming notifies have serial number logged (at verbosity 1). 1939 - Fix #655: Fix contradiction in verbosity for zone transfers. 1940 194117 March 2015: Wouter 1942 - Use reallocarray for integer overflow protection, patch submitted 1943 by Loganaden Velvindron. 1944 - Fix allocation integer overflow checks. 1945 194613 March 2015: Wouter 1947 - Fix buffer overflow in config parse of domain name, 1948 reported by John Van de Meulebrouck Brendgard. 1949 195012 March 2015: Wouter 1951 - Updated default keylength in nsd-control-setup to 3k. 1952 195310 March 2015: Wouter 1954 - Fix use after free after zonefile syntax error followed by ttl 1955 or origin directive, reported by John Van de Meulebrouck Brendgard. 1956 - Fix syntax error followed by too many TXT elements parse crash 1957 reported by John Van de Meulebrouck Brendgard. 1958 19599 March 2015: Wouter 1960 - Fix origin directive from unused old value and subdomain parser 1961 failure, reported by John Van de Meulebrouck Brendgard. 1962 19632 March 2015: Wouter 1964 - Fix b64pton out of bounds error on invalid zonefile input 1965 reported by John Van de Meulebrouck Brendgard. 1966 196720 February 2015: Wouter 1968 - Fix segfault on double origin in zone reader (thanks John Van de 1969 Meulebrouck Brendgard). 1970 197119 February 2015: Wouter 1972 - Remove dead code domain_table_iterate. 1973 - Fix segfault in zone reader on invalid input 1974 reported by John Van de Meulebrouck Brendgard. 1975 19765 February 2015: Wouter 1977 - Fix #642: Change 'zone read with no errors' to '.. with success'. 1978 Patch from Benedikt Heine. 1979 19803 February 2015: Wouter 1981 - Tag 4.1.1 release 1982 - Trunk is 4.1.2 in development. 1983 - Remove some duplicate header includes (from Brad Smith). 1984 - Fix tcp waiting list for zone transfers where the bind and connect 1985 calls fail. 1986 198729 January 2015: Wouter 1988 - Fix zonesdir chroot error message. 1989 199028 January 2015: Wouter 1991 - correct some hyphen-used-as-minus-sign (from Andreas Schulze) in 1992 man pages. 1993 199427 January 2015: Wouter 1995 - Tag 4.1.1rc1 1996 199721 January 2015: Wouter 1998 - Synthesize CNAMEs with same TTL as DNAME. 1999 200012 January 2015: Wouter 2001 - Fix casts for ctype functions (from Todd Miller). 2002 - nsd-checkconf -f prints out full name of pidfile (with dir). 2003 20049 January 2015: Wouter 2005 - Fix bug#637: fix that nsd.db grows limitlessly, an off by one 2006 on one megabyte free chunks, created during AXFRs of large zones, 2007 that caused the one megabyte chunk to be leaked. 2008 - Fix udb-inspect for one megabyte chunks, counts and statistics. 2009 20106 January 2015: Wouter 2011 - Fix spinning NSD with lots of failing transfers, due to pointer 2012 comparison using void pointer subtraction (from Otto Moerbeek). 2013 20145 January 2015: Wouter 2015 - Patch nsd_munin_ from Philip Paeps to use type ABSOLUTE. 2016 20174 Nov 2014: Wouter 2018 - Document zonestat config, and nsd-checkconf access. 2019 20203 Nov 2014: Wouter 2021 - Fix that failure to add tcp to tcp base does not leak the socket. 2022 202327 Oct 2014: Wouter 2024 - Disabled use of SSLv3 in nsd-control. 2025 - zonestats are cleared (or not, with stats_noreset). 2026 202722 Oct 2014: Wouter 2028 - Test for wildcard fix (from 3.2). 2029 203016 Oct 2014: Wouter 2031 - Fixes for wildcard addition and deletion, speedup for some cases. 2032 203315 Oct 2014: Wouter 2034 - Fix that queries for noname CH TXT are REFUSED instead of nodata. 2035 203614 Oct 2014: Wouter 2037 - per zone statistics with --enable-zone-stats, configure with 2038 zonestats: "zonestatidentifier", zones with the same id are added. 2039 204010 Oct 2014: Wouter 2041 - Fix #616: retry xfer for zones with no content after command. 2042 - Fix char used as array index warnings on NetBSD. 2043 20448 Oct 2014: Wouter 2045 - Fix "xfrd_handle_ipc: bad mode" log errors when compiled 2046 with --disable-bind8-stats. 2047 204818 Sep 2014: Wouter 2049 - Fix that expired zones stay expired after a server restart. 2050 205115 Sep 2014: Wouter 2052 - RFC 7344: CDS and CDNSKEY (read in). 2053 20544 Sep 2014: Wouter 2055 - Tag 4.1.0. 2056 - trunk is 4.1.1 in development. 2057 - fix manpage for nsd-checkzone to have version and date. 2058 205929 Aug 2014: Wouter 2060 - Fix install of the nsd-checkconf man page. 2061 206228 Aug 2014: Wouter 2063 - Tag 4.1.0rc1 2064 206525 Aug 2014: Wouter 2066 - Increased default --with-max-ips from 8 to 16, this increases the 2067 number of interfaces you can specify in nsd.conf to listen to. 2068 206919 Aug 2014: Wouter 2070 - Remove .LP after .SH in man pages. 2071 20727 Aug 2014: Wouter 2073 - Fix for process swap of main and reload, reload failure from the 2074 pipe is acted on, and reload fail not cause nsd to shutdown, also 2075 ignore sigchlds from the servermain in reload, that would cause 2076 EINTR to break file reads. 2077 - trunk has version 4.1. 2078 20795 Aug 2014: Wouter 2080 - Fix #600: document that provide-xfr provides AXFR and not IXFR. 2081 - remove program group fix, because it is not needed. 2082 - Fix rising-load-average or memory-leaks in OSes (Linux since 2.6), 2083 that keep track of all past process parents, or leak memory 2084 for them. Fix makes it so there is no very deep string of 2085 process parents. 2086 The reload process is now the process parent of servermain. That 2087 makes signals for children arrive at the reload, and servermain 2088 has to use closed pipes to detect that children have exited. 2089 20901 Aug 2014: Wouter 2091 - Set program group on main process and its child processes, and 2092 kill them on a reload. 2093 209420 July 2014: Wouter 2095 - Fix endian.h include for OpenBSD. 2096 209715 July 2014: Wouter 2098 - Fix -O3 compile flag to -O2 to avoid miscompilations. 2099 - Allow user to override the -g -O2 CFLAGS in ./configure. 2100 210111 July 2014: Wouter 2102 - fix strptime implicit declaration error on OpenBSD. 2103 21049 July 2014: Wouter 2105 - removed unnecessary arc4random_uniform. 2106 21078 July 2014: Matthijs 2108 - fake-rfc2553 patch (thanks Benjamin Baier). 2109 21108 July 2014: Wouter 2111 - wait and reap processes that are not part of the process group. 2112 21137 July 2014: Wouter 2114 - Code review fixup from NSD3. 2115 211630 Jun 2014: Wouter 2117 - Fix #590: rrl log does not print wildcard as a star but escaped. 2118 - Fix #591: rrl log messages at verbosity level 1. 2119 (If that does not work for everyone, we need rrl-log: yesno option). 2120 212127 Jun 2014: Wouter 2122 - Fixup rr-test test so that it does not fail on the #553 string. 2123 212417 Jun 2014: Matthijs 2125 - Fix #587: Default value for statistics is 0. 2126 - Remove the shift-reduce conflicts from the bug#553 fix. 2127 21285 Jun 2014: Wouter 2129 - Fix roundrobin cornercase for truncated packets. 2130 - round-robin: yesno in nsd.conf enabled round robin rotation. 2131 213228 May 2014: Wouter 2133 - Fix #585: yylex_destroy missing, cannot compile on RHEL 5.x. 2134 - Fix #583: Round-robin for records in the Answer section. 2135 213622 May 2014: Wouter 2137 - Fix zonefile parse with no whitespace before semicolon comments. 2138 213916 May 2014: Wouter 2140 - xfrd reaps children on a timer as well, similar to server_parent. 2141 21428 May 2014: Wouter 2143 - Fix #564: nsd-checkzone tool to check zonefile correctness. 2144 21457 May 2014: Wouter 2146 - Fix #577: makefile incorrectly installed manpages from srcdir. 2147 214830 April 2014: Wouter 2149 - Fix that xfrd reaps all children on every eventloop, because some 2150 exited reloads may attach here and need reaping, also if the signal 2151 is lost. 2152 215323 April 2014: Wouter 2154 - Fix progress printout for very large zones (numeric overflow). 2155 215610 April 2014: Wouter 2157 - Fix write_socket return value check in server.c (Thanks Brad Smith, 2158 Mark Kettenis). 2159 21608 April 2014: Wouter 2161 - nsd-control addzone reports if zone already exists. 2162 21637 April 2014: Wouter 2164 - Fix #571: unused variable and incompatible pointer warnings when 2165 compiled on a system without INET6. 2166 216727 March 2014: Wouter 2168 - Fix delete or rename of a lot of zones and make it take a 2169 non-enormous time. Database compaction is deferred. 2170 - Speed up deletion of zone contents a lot, (56s to 1s), speeds up 2171 delete, rename and AXFR for zones. Defer emptynonterminal checks. 2172 - Better example config in nsd.conf manual page. 2173 - log-time-ascii option, default yes, with readable timestamp in log. 2174 217525 March 2014: Wouter 2176 - nsd shuts down during init process if given signal. 2177 - shorter logging for zone transfer fail rcodes. 2178 217924 March 2014: Wouter 2180 - include: "foo/nsd.d/*.conf" works, wildcard glob on includes. 2181 - Fix print filename of encompassing config file on read failure. 2182 218321 March 2014: Wouter 2184 - Fix bug in nodatabase mode with ixfrs that change nsec3param 2185 (Thanks Anand Buddhdev). 2186 - Changed maxbackoff for no-content secondary zones from 4h to 24h. 2187 - nocontent zones are checked on startup, but continue backoff 2188 from stored xfrd.state values. 2189 219019 March 2014: Wouter 2191 - made database: "" set the 3600 default for zonefileswrite only 2192 if it is also at its default, so that user settings override. 2193 - Unit test for zonefiles-write. 2194 - Write xfrd.state for nodb mode again. Disable xfrd.state with 2195 xfrdfile: "" in config. Does not check slave zone if state is 2196 same as last time on startup. 2197 - Fixed shutdown message sporadically not printed on exit. 2198 - Documented zonefile %s syntax in nsd.conf man page. 2199 - Fix manpage to put colon after zonefiles check and write. 2200 - Change from 'Zone" to "zone" with ".. serial .. is updated" log 2201 message. 2202 220318 March 2014: Wouter 2204 - unit test for nodb mode. 2205 - Speed up zone write (.nl zonefile 30% faster). 2206 The memory alloc-dealloc in print_rr has been moved to print_rrs. 2207 - (from 3.2), fix for #553 and for other TXT string syntax. 2208 - in nodb mode, xfrd.state is not written out, because the zones 2209 are refreshed upon next startup anyway, so keeping timers and state 2210 is unnecessary. 2211 - zonefiles-write option in nsd.conf, enabled when database is "". 2212 The server writes changed zonefiles to disk every hour. 2213 221417 March 2014: Wouter 2215 - Speed up zone parsing (.nl reads 40% faster). 2216 The rrtype_from_string routine is called often, optimised it. 2217 221814 March 2014: Wouter 2219 - tag 4.0.3 2220 - trunk has 4.0.4 in development. 2221 - database: "" starts without mmap of database. Less memory is used, 2222 zones are read from text zonefile. 2223 222413 March 2014: Wouter 2225 - Fix nsd.db unclean close check. Previous databases are considered 2226 unclean by the code and are created anew. 2227 - Adds nsd.db larger than 400Tb check for sanity. Also test if 2228 filesize as documented in the file is correct. 2229 - nsd waits for tasks to complete on stop, prevents nsd.db corruption. 2230 - fix to not delete tmpdir too early in shutdown process. 2231 223212 March 2014: Wouter 2233 - tag 4.0.2 2234 - trunk has 4.0.3 in development. 2235 - disabled udb checking functionality that made it very slow, 2236 this was enabled when enable-checking was turned on. 2237 223827 February 2014: Wouter 2239 - tag 4.0.2rc1 2240 224126 February 2014: Wouter 2242 - Fix that NSD will delete and recreate not-clean-closed databases. 2243 224420 February 2014: Wouter 2245 - Fix from 3.2: make SOA RDATA comparisons in XFR more lenient (only 2246 check serial). 2247 224818 February 2014: Wouter 2249 - Fix leak of zone name after zonefile read. 2250 - Fix malloc too large that would be leaked in the radix tree. 2251 225214 February 2014: Wouter 2253 - configure change for easier compile on Minix. 2254 225510 February 2014: Wouter 2256 - Fix #552: zonefile loads on nsd-control reconfig when the name 2257 of the file has changed. 2258 22597 February 2014: Wouter 2260 - Fix #551: change Regent to Copyright holder in the LICENSE, 2261 to match the definition on opensource.org for the BSD License. 2262 22633 February 2014: Wouter 2264 - Disabled recvmmsg and sendmmsg usage by default because kernel 2265 versions have implementation issues: ipv6 ignored, security issues. 2266 - Detect libevent2 install automatically by configure, and use 2267 event2 header files if necessary. 2268 - Fixup link with lib/event2 subdir. 2269 227030 January 2014: Wouter 2271 - Fix expired zones to give SERVFAIL, also when parent zone loaded. 2272 227327 January 2014: Wouter 2274 - tag 4.0.1. 2275 - trunk is 4.0.2 in development. 2276 - rcode REFUSED for queries to non-hosted zones. 2277 - documented nsd-control zonestatus output in nsd-control manpage. 2278 - remove mention of nsdc from nsd-checkconf manpage. 2279 228021 January 2014: Wouter 2281 - tag 4.0.1rc2 2282 228320 January 2014: Wouter 2284 - Fix #546: output format errors in nsd_munin_ (Thanks Tom Hendrikx). 2285 228617 January 2014: Wouter 2287 - Fix type CAA. 2288 - Fix type EUI48. 2289 - nsid can be set with "ascii_somestring" in ascii. 2290 - Fix printout of high-chars in TXT on NetBSD. 2291 229216 January 2014: Wouter 2293 - Unit test for WKS failure. 2294 229515 January 2014: Wouter 2296 - tag 4.0.1rc1 2297 229813 January 2014: Wouter 2299 - Check if configure in srcdir collides with outofdir build. 2300 230110 January 2014: Wouter 2302 - Fix that chroot is removed from zonefile names (for absolute names). 2303 23049 January 2014: Wouter 2305 - Fix that bad IXFR updates do not result in double SOA records, 2306 and that an AXFR is started (attempted) when the zone state seems 2307 to be inconsistent with the master's zone state. 2308 23098 January 2014: Matthijs 2310 - Bugfix #542: Match RRSIG TTL with SOA TTL in negative response. 2311 23127 January 2014: Wouter 2313 - Fix xfrd when zone transfer TCP contains zero length packets. 2314 - Fix for NSEC3 zones where parent zone is co-hosted, also NSEC3, 2315 because AXFRs overwrote nsec3 administration in the child zone. 2316 23172 January 2014: Wouter 2318 - Log ip address for sendto and sendmmsg failures. 2319 23204 December 2013: Matthijs 2321 - Support for CAA RRtype (RFC 6844). 2322 232326 November 2013: Wouter 2324 - Fix segfaults after read of zones with rr type WKS from zonefile. 2325 - Seed PRNG for openssl at start of daemon, fixes SSL connection issue. 2326 232725 November 2013: Wouter 2328 - (same as in 3.2.16): fix wildcard cname to nxdomain repeated rrset. 2329 233011 November 2013: Wouter 2331 - Fix bug#534: IXFR query loop over UDP for zones that are unchanged. 2332 233311 November 2013: Matthijs 2334 - EUI48 and EUI64 is now RFC 7043 2335 23365 November 2013: Wouter 2337 - Accept interface: as an alternative for ip-address: for 2338 consistency with unbound.conf syntax. 2339 234029 October 2013: Wouter 2341 - tag for 4.0.0 release. 2342 - trunk has 4.0.1 in development, for bug fixes. 2343 234424 October 2013: Wouter 2345 - Fixup zone change code. 2346 - tag 4.0.0rc3. 2347 234821 October 2013: Matthijs 2349 - Initialize xfrd zone when changing zone from master to slave 2350 and delete xfrd zone when changing zone from slave to master. 2351 235214 October 2013: Wouter 2353 - tag 4.0.0rc2. 2354 235514 October 2013: Matthijs 2356 - Additional log messages with reason why RR to be deleted cannot be 2357 found. 2358 235914 October 2013: Wouter 2360 - Fix for zone transfer that has different-cased RRSIG signer names 2361 or NSEC next-owner names. 2362 23639 October 2013: Wouter 2364 - tsig errors on incoming tsig print key name and source IP of query. 2365 23668 October 2013: Wouter 2367 - Update documentation for nsd -d option. 2368 23697 October 2013: Wouter 2370 - Fix mini_event ev_once flag to be prettier (review comments Yuri). 2371 - tag 4.0.0rc1 recreated. 2372 23734 October 2013: Wouter 2374 - Fix bug where if you do not have flex, and then install flex, it 2375 would not make without a re-untar of the source. 2376 23773 October 2013: Wouter 2378 - Review changes from Matthijs. 2379 - doc/README updated, 'nsdc' is now removed. 2380 23811 October 2013: Wouter 2382 - Review commits from Matthijs. 2383 - doc/UPGRADING updated, review Yuri. 2384 238530 September 2013: Wouter 2386 - tag 4.0.0rc1 2387 - updated doc/RELNOTES 2388 238919 September 2013: Wouter 2390 - configure --disable-recvmmsg for compat with older Linux kernels, 2391 by default it autodetects support in the kernel on the buildmachine. 2392 239320 Aug 2013: Wouter 2394 - Fix time at 2038, uint32s changed to time_t, support 64bit time_t. 2395 239619 Aug 2013: Wouter 2397 - Fix use of 32bit time, for 2038, thanks to Theo de Raadt for patch. 2398 239913 Aug 2013: Wouter 2400 - Bugfix#518 Incorrect RRL prefix length option names in nsd.conf 2401 man page from Ville Mattila. 2402 24039 Aug 2013: Wouter 2404 - Fix that xfrd, and nsd-control, does not stop responding when reload 2405 errors out. The pid is sent like it should by server_main. 2406 - Fix that EOF in quoted string error does not cause reload to exit. 2407 - Fixup errors from the stack code checker. 2408 24096 Aug 2013: Wouter 2410 - Removed use of random when arc4random is available. Thus, random 2411 and srandom are then not linked with the executable. 2412 241316 Jul 2013: Wouter 2414 - Fix segfault with no logfile and chroot (Thanks Patrik Lundin). 2415 241615 Jul 2013: Wouter 2417 - beta 5 tag. 2418 - trunk has beta6 named in configure. 2419 24209 Jul 2013: Wouter 2421 - unlink xfr file if transfer is stopped, timeouted or interrupted. 2422 And unlink xfr file in progress when the zone is deleted. 2423 24248 Jul 2013: Wouter 2425 - Increase tcpbacklog default to 256 (silently capped to 128 on BSD). 2426 For remote control keep it at 16, it has less TCP load. 2427 It does not actually increase TCP performance (some except), but 2428 reduces connection loss when there is a spike in TCP connections. 2429 24305 Jul 2013: Wouter 2431 - nsd-mem stores temp files in current dir because /tmp is too small. 2432 - printout pct parsed, read, nsec3 and written every 100.000 elements 2433 and after 5 seconds. For big zones. 2434 24353 Jul 2013: Wouter 2436 - region-allocator has list of large allocations, so delete is in O(1). 2437 - recursive readroutine for speedup of nsd.db reads (30%). 2438 - udb-inspect prints type summary of nodes in nsd.db. 2439 244028 Jun 2013: Matthijs 2441 - Update tmp serial in xfr checking. 2442 244328 Jun 2013: Wouter 2444 - nsd.db 12% smaller, no nsec3 hash storage. Also ups udb version 2445 because of the format change. printout udb write complete for 2446 debug. 2447 - Fix warning in labellength 0 code. 2448 244927 Jun 2013: Matthijs 2450 - Better XFR checking, fallback to AXFR (if allowed) if three 2451 malformed XFR packets have been seen. 2452 - zonec: Don't crash on domain names with label length 0. 2453 245425 Jun 2013: Matthijs 2455 - Rename --enable-eui-rrtypes to --enable-draft-rrtypes. 2456 245725 Jun 2013: Wouter 2458 - acx_nlnetlabs.m4 update, --disable-flto. 2459 246020 Jun 2013: Matthijs 2461 - Use IPV6 minimum MTU settings with TCP to reduce failures that 2462 are caused by delays in learning working PMTU when communicating 2463 through a tunnel. 2464 - Improved RRL logging: also print triggering query src addr and qtype 2465 (thanks Klaus Darilion). 2466 - Merge some minor stuff from NSD3.2 2467 246818 Jun 2013: Matthijs 2469 - Add rrl-slip config option (thanks Stephane Bortzmeyer). 2470 - Add rrl-ipv{4,6}-prefix-length config option. 2471 - Bug #496: Support for EUI48 and EUI64 RR types. 2472 247314 Jun 2013: Wouter 2474 - Optimizations: -O3 if possible (user can override CFLAGS), udp 2475 buffers are set to 1m by default (if socket options exist), 2476 use recvmmsg and sendmmsg, or only recvmmsg, or recvfrom. 2477 247811 Jun 2013: Wouter 2479 - Fix memory leak in zone parser for txt record (since the large 2480 number of txt subsections fix). 2481 - Fix zone parser allocations to be in db region. 2482 - nsd-mem prints advice 2483 24845 Jun 2013: Wouter 2485 - Fix segfault on repeated reconfigs, double free of zone apex name. 2486 24874 Jun 2013: Wouter 2488 - Remove duplicate zlfile variable from options structure. 2489 249030 May 2013: Wouter 2491 - Fix nsd-mem for printout of values above 4G. 2492 249316 May 2013: Wouter 2494 - Patch from Lukas Wunner that makes chroot more consistent. 2495 Make all paths absolute with the chrootdir in front, or use 2496 an absolute zonesdir with other patsh relative to that. 2497 24983 May 2013: Wouter 2499 - Fix race on exit of nsd, for restarts, so that the pidfile-pid 2500 process waits until port53 has been closed before exiting. 2501 - update acx_nlnetlabs.m4 to v23, sleep w32 fix. 2502 250329 April 2013: Wouter 2504 - Remove unused pointer and fixup chroot include for trail slash. 2505 250626 April 2013: Wouter 2507 - Patch from Lukas Wunner that makes nsd.conf include files work 2508 inside chroot/etc environments on repattern and reconfig. 2509 251025 April 2013: Matthijs 2511 - New config option "ip-transparent:", to bind to non local addresses 2512 (thanks Arjen Zonneveld). 2513 - RRtypes ASFDB, RP, RT should not compress dnames (thanks Peter 2514 van Dijk). 2515 251619 April 2013: Wouter 2517 - own snprintf, fix use of snprintf return value (in debug print). 2518 251918 April 2013: Wouter 2520 - fix bug #491: pick program name (0th argument) as syslog identity. 2521 25229 April 2013: Wouter 2523 - Bug #494: Exit with return code 1 if socket code fails. (from 3.2) 2524 - Fix B64_NTOP replacement definitions in configure.ac. 2525 252626 March 2013: Wouter 2527 - update lookup3.c with better endianness detection. 2528 252925 March 2013: Wouter 2530 - faster nsec3 updates. 2531 - Fixup contrib/bug390.patch for 4.0.0b4. 2532 - remove leak of nsec3. 2533 - allocate radixtree in region for small (5%) total savings and 2534 about 15% savings in the radixtree itself (due to many small alloc 2535 savings in region). 2536 253722 March 2013: Wouter 2538 - use less memory for non-nsec3, nsec3tree. 2539 254018 March 2013: Wouter 2541 - update nsd-mem with pretty printout and RRL count. 2542 254314 March 2013: Wouter 2544 - Fix memory statistics in nsd_munin_. 2545 25468 March 2013: Wouter 2547 - nsd-mem tool initial commit. 2548 25497 March 2013: Wouter 2550 - notify information is logged at correct verbosity level, 1. 2551 25525 March 2013: Matthijs 2553 - Add hash to rrl bucket 2554 25555 March 2013: Wouter 2556 - Fixup the growth and shrinkage of nsd.db. This should use less 2557 calls to remap and change the file and mmap size. 2558 255915 February 2013: Wouter 2560 - Fix compile on bigendian netbsd alpha. 2561 - Fixup tests for older dig (check if +noedns option is supported) 2562 256311 February 2013: Matthijs 2564 - Fix outgoing-interface: Don't fail if family is IPv6 but 2565 only IPv4 outgoing-interface is set, or vice versa. 2566 256711 February 2013: Wouter 2568 - fix tcp zonetransfer pipeline lookup function. 2569 - remove compiler warning for memset from tsig read. 2570 25717 February 2013: Wouter 2572 - detect endianness in lookup3 on BSD, patch from Brad Smith. 2573 - nsd-control verbosity prints out verbosity level without argument. 2574 - nsd-control status prints out ratelimit if ratelimit is enabled. 2575 25765 February 2013: Wouter 2577 - Fix that old zonefile does not override newer AXFR for slave zones. 2578 - Nicer printout of notify. 2579 - beta4 2580 25814 February 2013: Wouter 2582 - Fix AXFR of NSEC3 slave zone. 2583 25841 February 2013: Wouter 2585 - Less printout of 'bad transfer'. 2586 258731 January 2013: Wouter 2588 - Fix that nsec3 zones are precompiled when read from udb. This 2589 caused assertion failures. 2590 - Fix is_apex flag for zones read from udb. 2591 259229 January 2013: Matthijs 2593 - RRL documented in nsd.conf.sample 2594 259529 January 2013: Wouter 2596 - printout log less verbosely, not every axfr packet. 2597 - remove printout of "bad transfer" to the log for notimpl. 2598 - fixup tests for new netstat and new netcat. 2599 260025 January 2013: Wouter 2601 - fix gcc warning, do not use uninit value for rng init. 2602 - fix zonefiles-check: entry in nsd.conf 2603 - remove -fwhole-program gcc flag usage. We cannot reliably detect 2604 if it works without failure. 2605 260623 January 2013: Wouter 2607 - beta3 2608 260922 January 2013: Wouter 2610 - Fix time calculation of zone transfer. 2611 - log ip address with tcp failure. 2612 261321 January 2013: Wouter 2614 - Improve tabs in sample nsd.conf for different tabsizes. 2615 - Fix segv if xfrdir does not exit. 2616 - create xfrdir on make install (does not remove on make uninstall, 2617 because this could be /tmp). 2618 - do not leave task files in /tmp if nsd fails to startup because 2619 of file permissions. 2620 - do-ip4 and do-ip6 nsd.conf options just like unbound. 2621 - fixed testset for dig9 default with edns. 2622 262318 January 2013: Wouter 2624 - Fix configure for gentoo gcc and headers. 2625 - List libevent in README. 2626 - Tabs and spaces nicer in nsd.conf.sample. 2627 - Fix spurious assertion failure for some rrl blocks. 2628 262916 January 2013: Wouter 2630 - Added zonefiles-check option, default yes, check mtimes of zone files 2631 on sighup and startup (from Robin Hack). 2632 263315 January 2013: Wouter 2634 - documented that the _implicit_ pattern names are used internally. 2635 263610 January 2013: Wouter 2637 - updated RELNOTES. 2638 - applied patch from Robin Hack to remove double pid file truncation. 2639 - repattern is called reconfig (because most config options are 2640 picked up, except for superuser options (chroot, logfile, port)). 2641 - document that the zonefile attribute can be empty. 2642 26439 January 2013: Wouter 2644 - 4.0.0b2 is beta2 version tag. 2645 26468 January 2013: Matthijs 2647 - Merge changes from 3.2.15 with trunk: 2648 * Update docs: CREDITS, NEW-CFG-OPTION, REQUIREMENTS, 2649 RELNOTES, TODO 2650 * Update dname_test.tpkg test. 2651 * TSIG init only fails if no digests at all can be found. 2652 * Remove unused tsig_get_algorithm_by_id code (was used by 2653 nsd-xfer). 2654 * Fix some fd leaks. 2655 * Bug #485: Fallback to DEFAULT_TTL if MSB is set. 2656 * Fix RCODE when xNAME loop final answer not exist to NXDOMAIN. 2657 26588 January 2013: Wouter 2659 - Fix make outside of source directory. 2660 26617 January 2013: Wouter 2662 - fixed uninit variable for empty zone axfr request 2663 - fixed alloc of acl options for config zones so they can be deleted. 2664 - fixed that pattern name is copied, so that patterns stay the same. 2665 - repattern also rereads the zones in the config file and applies that 2666 to the running server. 2667 266821 December 2012: Wouter 2669 - --with-logfile sets the logfile inside the example documentation. 2670 - Fixed addzone and delzone inside chroot (thanks Will Pressly). 2671 267219 December 2012: Wouter 2673 - Fixup for libevent-2.1.2. 2674 267518 December 2012: Wouter 2676 - makedist makes sha256 for tarballs. 2677 - nsd-control start runs an absolute path to start sbin/nsd. 2678 267917 December 2012: Wouter 2680 - Fix for use with libev (no use of event.ev_flags). 2681 268212 December 2012: Wouter 2683 - 4.0.0b1 is beta1 version. 2684 268511 December 2012: Matthijs 2686 - Better ILNP RR parsing (thanks Stephane Bortzmeyer). 2687 268811 December 2012: Wouter 2689 - fix libevent=no signals on Solaris. 2690 - Fix handle of activated zones from timeout event. 2691 - contrib/nsd_munin_ updated with memory lookup for BSD. 2692 269310 December 2012: Wouter 2694 - implement --with-libevent=no. 2695 269610 December 2012: Matthijs 2697 - Bug #483: Better error messages for TSIG errors. 2698 - RFC 2845: If BADKEY or BADSIG, RCODE should be NOTAUTH. 2699 Also, continue TSIG verification if NOTAUTH. 2700 27017 December 2012: Wouter 2702 - stable pidfile, xfrd is process leader and forks server-parent. 2703 27045 December 2012: Wouter 2705 - NSD4_imp_6 tag. 2706 - trunk has imp_7 implementation. 2707 27084 December 2012: Wouter 2709 - NSD-RRL documented in manpage. 2710 27113 December 2012: Wouter 2712 - Fixup exit of server-child while notifies are incoming. 2713 271428 November 2012: Wouter 2715 - RRL implements classification type RRSIG. 2716 271726 November 2012: Wouter 2718 - Fix to make nsd.udb portable between 32bit and 64bit machines. 2719 - Fix to make udb mmap work for FreeBSD8 when it grows significantly. 2720 272123 November 2012: Wouter 2722 - Fix compiler warnings and fix blocking pipes. 2723 - default tcp-count set to 100. 2724 272521 November 2012: Wouter 2726 - Implement rrl log of unblock for collision. 2727 - imported TLSA and ILNP support from NSD3. 2728 272919 November 2012: Wouter 2730 - Fix bug 480: libevent use when tcp-count is hit caused hang (in NSD4). 2731 27329 November 2012: Wouter 2733 - Log when NSD-RRL stops a stream from being blocked. 2734 27358 November 2012: Willem 2736 - Fix AXFR. Loop through the zone to transfer only. 2737 27382 November 2012: Wouter 2739 - Fix bug 478: declaration after statement (for gcc 2.95). 2740 27411 November 2012: Wouter 2742 - Fix default settings for RRL. 2743 274430 October 2012: Wouter 2745 - review fixup of RRL SLIP response. 2746 - RRL uses dev/random at start, nonRRL does not. 2747 274826 October 2012: Wouter 2749 - nsd-control repattern also changes rrl-ratelimit and whitelist limit. 2750 275117 October 2012: Wouter 2752 - Fix alignment problem in zone transfer pipeline code. 2753 - Fix random generator generating negative. 2754 - Fix udb radtree strspace creation bug. 2755 275615 October 2012: Wouter 2757 - Fix activated zone does not interrupt transfer. 2758 - Log of connection failure for zone transfer is neater. 2759 276012 October 2012: Wouter 2761 - Fix invalid time argument in nsd control (for OpenBSD). 2762 276311 October 2012: Wouter 2764 - Fix build on OpenBSD (Thanks Oliver Peter). 2765 - tpkg for RRL. 2766 276710 October 2012: Wouter 2768 - implement nsd-checkconf option use of rrl-whitelist. 2769 27709 October 2012: Wouter 2771 - with --enable-ratelimit you enable ratelimiting, with verbosity 2 2772 it logs what is ratelimited for operational inspection. 2773 - unit test for rrl. 2774 - rrl uses mmap to save state across reloads. 2775 - rrl enum and u16 flags (dnskey type). 2776 - rrl whitelist and config. 2777 27788 October 2012: Wouter 2779 - Sync with unbound lookup3, has raninit value. 2780 27815 October 2012: Wouter 2782 - fix bug with event loop in zone transfer pipeline. 2783 - close xfrd_sock_p in server_child because otherwise due to use of 2784 kqueue, it gets a broken pipe when that process exits (on FreeBSD). 2785 27864 October 2012: Wouter 2787 - Fixup no use of internals ev_flags of libevent. 2788 27891 October 2012: Wouter 2790 - fix xfrd tcp skip. 2791 279221 September 2012: Wouter 2793 - tzset before chroot for correct timezone (from Camiel Dobbelaar). 2794 - pipeline support for AXFR and IXFR tcp queries. 2795 279611 September 2012: Wouter 2797 - writev support for TCP. 2798 279928 August 2012: Wouter 2800 - TXT records with components longer than 255 fail to parse, 2801 but without segfault, it continues processing with non NULL value. 2802 280327 August 2012: Wouter 2804 - libevent in server_child. 2805 280621 August 2012: Matthijs 2807 - Fix bug#464: Conditionally define MAXHOSTNAMELEN 2808 280920 August 2012: Wouter 2810 - Fix hang on exit in xfrd. 2811 - optimized socket counts for zone transfer speed. 2812 281313 August 2012: Wouter 2814 - Fix xfrd libevent events. 2815 281610 August 2012: Wouter 2817 - libevent in xfrd. 2818 281926 July 2012: Yuri 2820 - Prioritize notify sender for requesting XFR. 2821 (thanks Ilya Bakulin) 2822 282319 July 2012: Willem 2824 - Fix for VU#624931 CVE-2012-2978: NSD denial of service 2825 vulnerability from non-standard DNS packet from any host 2826 on the internet. 2827 http://www.nlnetlabs.nl/downloads/CVE-2012-2978.txt 2828 282918 July 2012: Wouter 2830 - Fix bug#460: man page correction - identity. 2831 28329 July 2012: Wouter 2833 - delete temporary transfer files on exit of xfrd and reload. 2834 - when tasks are applied, reload checks if it must exit between 2835 tasks, so that it can quickly exit when NSD is told to quit. 2836 - fix bug in apply_xfr that must use an udb_ptr because it shifts 2837 when new allocations are made. 2838 28396 July 2012: Wouter 2840 - add xfrdir: "/tmp" option and configure --with-xfrdir="/tmp". 2841 The nsd.task files and a subdirectory for zone transfers are 2842 created there. 2843 28442 July 2012: Wouter 2845 - fix checkconf unit test and add test for backwards compatibility 2846 for difffile: "x" statement. 2847 284829 June 2012: Wouter 2849 - Implemented /tmp/nsd.xfr.xxx/ to replace ixfr.db. So that nsdc 2850 patch is no longer needed. 2851 28528 June 2012: Wouter 2853 - Fix tpkg test cutest_qroot and rr-test for printout of algorithms 2854 as numbers, and copy of DO flag to the answer. 2855 - pick up fd fix from 3_2 branch: Some more fd >= 0 to fd != -1 fixes 2856 285731 May 2012: Matthijs 2858 - Sync with 3.2 branch 2859 286024 February 2012: Wouter 2861 - Fix for qtype ANY for a wildcard domain in NSEC signed zone. 2862 28639 February 2012: Wouter 2864 - Update acxnlnetlabs.m4 version 21, fixed MEMCMP_BROKEN #undef line. 2865 286623 January 2012: Wouter 2867 - remove clang security warning about %n in format string. 2868 286920 January 2012: Wouter 2870 - Fix bug #430: segfault when MAX_INTERFACES set to more than 65K. 2871 - Fix configure for OpenIndiana sunos 5.11, acx_nlnetlabs.m4 update. 2872 287312 January 2012: Matthijs 2874 - Fix bug #421: truncate pidfile on shutdown, before unlink. 2875 287610 January 2012: Wouter 2877 - removed unused variables. 2878 287910 November 2011: Wouter 2880 - acxnlnetlabs.m4 updated to version 16, better lto check (a.out drop). 2881 28823 November 2011: Wouter 2883 - fflush zonelistfile after zone add or delete. 2884 28851 November 2011: Wouter 2886 - Fix -flto detection for llvm compiler on Lion. 2887 288810 October 2011: Matthijs 2889 - Don't clear the AA bit if there is an authoritative CNAME in the 2890 answer section (as shown in RFC 1034, Section 6.2.7, 2nd example). 2891 289210 October 2011: Wouter 2893 - squelch EPIPE when writing AXFR, enable with verbosity 2. 2894 289526 September 2011: (Matthijs, from NSD3_2 branch) 2896 - Copy the DO bit to the response. 2897 - Don't return SERVFAIL on a domain that looks like a NSEC3 2898 domain but is actually a empty non-terminal. 2899 290019 August 2011: Wouter 2901 - Fix segfault if no logfile is used. 2902 29035 August 2011: Wouter 2904 - Fix make from repeating action already taken. 2905 - Fix compile without openssl. 2906 29073 August 2011: Wouter 2908 - silence 'Broken pipe' messages in log (visible with verbosity 2). 2909 - fix makedist.sh for removal of patch, notify, xfer. new nsd-control. 2910 - tag 4.0.0-imp-5 created. 2911 - trunk is 4.0.0-imp-6 under development. 2912 - added nsd_munin_ script for statistics monitoring to contrib. 2913 29142 August 2011: Wouter 2915 - fix compile on Ubuntu 11.04 systems, detects cc system header issue. 2916 29171 August 2011: Wouter 2918 - fix checkconf test for remote control options. 2919 - fix warning on Ubuntu 10.04, fix autoconf 2.68 warning on NetBSD. 2920 292129 July 2011: Wouter 2922 - zones with no zonefile are not written to text (assumes you can 2923 get AXFR and IXFR for the contents). They are stored in nsd.db. 2924 - test for repattern. 2925 292628 July 2011: Wouter 2927 - nsd-control repattern reads TSIG and pattern configuration. 2928 292925 July 2011: Wouter 2930 - fixed tests for removed tools from nsd, with replacements. 2931 replaced nsd-patch with nsd-control write. replaced nsd-notify with 2932 ldns-notify. replaced nsd-xfer with dig -t axfr. 2933 - fix for xfrd restart if crashed. xfrd knows if a reload is 2934 active at that time so it cannot start another one at the same 2935 time. New shortsoa track for start that does not use taskdb 2936 in use by reload. taskdb in use by crashed xfrd is recreated, 2937 in case it is corrupt. This keeps the nsd.db intact, keeps 2938 reload running with its updated and keeps service from the 2939 server processes active. 2940 294122 July 2011: Wouter 2942 - added contrib/nsd.init (nsdc.sh that only does start,stop). 2943 - removed nsdc.sh, nsd-xfer, nsd-notify, nsd-patch. 2944 for rc.d: contrib/nsd.init, or platform specific init script. 2945 nsd-xfer: see nsd-control transfer, or force_transfer. 2946 nsd-notify: see nsd-control notify. 2947 nsd-patch: see (cron job to) nsd-control write. 2948 294921 July 2011: Wouter 2950 - nsd-control notify, transfer and force_transfer. 2951 - fix for bug in write and reload zone option. 2952 - nsd-control zonestatus command. 2953 295420 July 2011: Wouter 2955 - reload can be given optional zone argument. 2956 - nsd-control reopen_logfile. 2957 - nsd-control write changed zonefiles. 2958 295918 July 2011: Wouter 2960 - Fix xfrd activation of zones to not break running zone transfers. 2961 296213 July 2011: Wouter 2963 - fix that signal causes stats to be printed to log. 2964 - fix stats without remotecontrol. 2965 - ignore notify and soainfo for deleted zone, if due to race they 2966 arrive after the deletion. 2967 - tpkg test for nsd-control, addzone and delzone 2968 29695 July 2011: Wouter 2970 - fix link to ssl with FreeBSD make. 2971 29721 July 2011: Wouter 2973 - fix optimize compile to link with ssl. 2974 297529 June 2011: Wouter 2976 - nsd-control delzone zone. Removes zone from zonelist. 2977 - stats includes number of zones. 2978 - RAXFR stat, which has not worked since NSD 1.2.4, reinstated. 2979 - print more memory statistics, for xfrd and config. 2980 298128 June 2011: Wouter 2982 - nsd-control addzone zone pattern. Adds new zone, slave or master. 2983 298427 June 2011: Wouter 2985 - nsd-control stats and stats_noreset (if enabled at compile time). 2986 nsd does not print statistics to logfile if period is 0. 2987 298823 June 2011: Wouter 2989 - -flto check supports clang compiler. 2990 299122 June 2011: Wouter 2992 - remote control, config, client, setup and status command. 2993 - reload nsd-control command. 2994 - stop nsd-control command. 2995 - verbosity nsd-control command. 2996 299714 June 2011: Wouter 2998 - Fix to have no authority NS set processing for CNAMEs. 2999 30009 June 2011: Wouter 3001 - fix bug that relptrs have to be initialized with rel_ptr_init() when 3002 created and zeroed with rptr_zero before deletion. 3003 - tag 4.0.0-imp4 created 3004 - trunk is 4.0.0-imp5 under development. 3005 30068 June 2011: Wouter 3007 - nsd reads the zonelist file on start. 3008 - updated acx_nlnetlabs.m4 to version 11. 3009 - configure checks size of off_t and increase region-allocator 3010 alignment to 8 if it is 64bit and alignment at 4. 3011 - fixed bug where not all references were removed before mmap was 3012 synced to another process. 3013 30147 June 2011: Wouter 3015 - code to add and remove zonelist entries, and unit test. 3016 30176 June 2011: Wouter 3018 - fix unit tests for mmap with TODO and removal of -f in nsd-patch. 3019 - zone expiry is communicated via the mmap, and not via the pipes, 3020 simplifying the code significantly as well as making a large number 3021 of zones more feasible. 3022 30231 June 2011: Wouter 3024 - mmap used for parent-xfrd communication of tasks and task results. 3025 SIGHUP is sent to xfrd so it can become a task in the normal 3026 workflow. This can process about 4500 zones per second (this was 3027 with lots of debug prints per zone, in debug compile). The mmaps 3028 are file-backed with /tmp/ files. They are removed on a clean exit. 3029 - nsd.db and tmp mmaps are created with mode 0600 for safety. 3030 - updated flag removed, nsd-patch always in -f force mode (-f removed) 3031 and writes all zones always. Its role is taken over by task results. 3032 303330 May 2011: Wouter 3034 - Fix Makefile for U in environment, since wrong U is more common than 3035 deansification necessity. 3036 303727 May 2011: Wouter 3038 - xfrd is forked before the database is read in, thus it does not 3039 consume the memory of the database. It can be reforked on a crash, 3040 which is like the current case. Difffile is cleaned by main process 3041 and the soa serials are all sent via pipe instead of via forkmem. 3042 304324 May 2011: Wouter 3044 - implemented patterns in the nsd.conf file. 3045 they can be instantiated with include-pattern: x. 3046 existing zone definitions keep working (backwards compatible), such 3047 zones really have an implicit pattern and cannot_delete flag set. 3048 - work on zonelist read and storage. 3049 305020 May 2011: Wouter 3051 - from NSD_3_2 branch the fix: bug if the zonefile is changed for a 3052 secondary but stored transfers are applied, and stop ixfr to empty. 3053 The zone is flagged with error, and the good zone is still in nsd.db 3054 for NSD4. 3055 305617 May 2011: Wouter 3057 - unit test for code coverage on nsec3 ixfr. 3058 - tag 4.0.0-imp3 created 3059 - trunk is 4.0.0-imp4 under development. 3060 306113 May 2011: Matthijs 3062 - Fix bug #381 - Binary escaped and transfers. 3063 306413 May 2011: Wouter 3065 - Unit test nsec3 salt change and fix for sanity check of nsec3 chain. 3066 pretty prints the nsec3 parameters if verbose. 3067 306812 May 2011: Wouter 3069 - more unit test for nsec3 precompile changes. 3070 - unit test for salt change, rehash in udb fix, remove last NSEC3 3071 from chain works, NSEC3PARAM RR fixed up if RR added or removed 3072 from NSEC3PARAM RRset, hashtrees cleared properly, precompile clear 3073 more thorough (not dependant on nsec3_conditions). 3074 307511 May 2011: Wouter 3076 - fixes for nsec3 precompile code: precompile for empty nonterminals 3077 created when an RR is added. If SOA removed, precompile stays 3078 coherent even though domain_find_zone no longer returns correct zone. 3079 308021 April 2011: Wouter 3081 - unit test and fixes in nsec3 precompile code. 3082 308320 April 2011: Wouter 3084 - incremental NSEC3 precompile. 3085 308614 April 2011: Wouter 3087 - remove chnum. Added numlist sorted by domain.number. 3088 domains that are not used are removed. 3089 309013 April 2011: Wouter 3091 - Fix is_existing flag for ENT when domain that has a shared ENT 3092 is deleted by IXFR. 3093 - zonec can parse strings with RR in it. 3094 - unit test for namedb. 3095 30968 April 2011: Wouter 3097 - porting complete. 3098 - tag 4.0.0-imp2 created 3099 - trunk is version 4.0.0-imp3. 3100 31017 April 2011: Wouter 3102 - ported to sunos 4.1.4, the unit test works (udb, radtree in mmap). 3103 31046 April 2011: Wouter 3105 - UDB_CHECK is enabled if --enable-checking is used. 3106 Because it checks the pointer-administration lists it slows down. 3107 - udb-inspect has feature -l that lists zones (and RRs) in nsd.db. 3108 - fix memory leak by zonec; the region_cleanup triggers too late. 3109 - set listen TCP_BACKLOG to 16 by default, it avoids connect reset 3110 by peer in 1000-zones transfer on an ultra10, thus for many-zones. 3111 - default xfrd-reload-timeout to 1 second. 3112 31135 April 2011: Wouter 3114 - Fix uninitialised value in xfrd nsd_soa, the rdata_count. 3115 - Unit test for update of the nsd.db with new contents. 3116 - Fix array bounds check in radtree-search function. 3117 31184 April 2011: Wouter 3119 - removed zonec from tests. fix unknown_rr test, enable ipseckey test. 3120 increased timeouts on tests that are hard on the filesystem. 3121 - Fixed IPSECKEY printout by nsd-patch. 3122 312330 March 2011: Wouter 3124 - nsd edits nsd.db for IXFR and AXFR messages. since xfrd already 3125 checks zone transfers completely for syntax those errors cannot 3126 happen, if they do (memory, disk error) the file is left dirty, 3127 to be recreated on the next start (and the process dies). 3128 312929 March 2011: Wouter 3130 - nsd recreates nsd.db if it has not been closed properly or is 3131 corrupted (bad header or wrong file format). 3132 313328 March 2011: Wouter 3134 - NSD without zonec. NSD loads zonefiles on start. 3135 NSD stores NSEC3hashes on disk. 3136 313725 March 2011: Wouter 3138 - Fix bug #365, you can set NSDC_ZONEC_VERBOSE and NSDC_PATCH_STYLE 3139 in the environment where nsdc runs. 3140 - Fix bug #375, typos in nsd.conf.5. 3141 - First step of bug #369: RRSIG DNSKEY sets zone to be treated DNSSEC. 3142 - Fix bug #302, nsd accepts XFR but refuses to re-read the slave zone. 3143 - NSD4 work: removed zonec, nsdc patch does not write text files 3144 for slave zones (as if option is always to binary, this capability 3145 returns later), nsdc patch deletes the ixfr.db. 3146 kill-HUP rereads zone files that have changed. 3147 314824 March 2011: Wouter 3149 - compile fixes for BSD. preserve RRset order. 3150 315123 March 2011: Wouter 3152 - udbzone, store and read zone data in the random-access udb format. 3153 315421 March 2011: Wouter 3155 - udbradtree works. udb-inspect tool can print radtree details. 3156 315716 March 2011: Matthijs 3158 - undo fix bug#325: messes up dname compression 3159 316014 March 2011: Wouter 3161 - udb code added. uses lookup3 from unbound (public domain). 3162 - unit test for radix tree in cutest. 3163 - unit test for udb in cutest. 3164 - udb-inspect tool to printout internals of udb files. 3165 for debug, not installed or built by default. 3166 - removed --disable-radixtree option. 3167 316811 March 2011: Wouter 3169 - Removed precompile features, speed gain took too much memory. 3170 - domain number to size_t. 3171 31729 March 2011: Wouter 3173 - DNAME synthesis of CNAME. Uses TTL of the DNAME record. 3174 - nsec3 and wildcard code. No additional section for wildcards. 3175 Also CNAME and DNAME replies contain only that record (and synth 3176 CNAME), the chain is not followed. 3177 31788 March 2011: Wouter 3179 - precompile work: 3180 class ANY gets AA flag, SOA and type-NS processing, just 3181 like BIND (9.6) and it simplifies processing for NSD. 3182 other than compression difference (precompile compresses smaller), 3183 there are no differences in a 49000 query testset against the root, 3184 without EDNS. 3185 31867 March 2011: Wouter 3187 - check chown value and report high verbosity its error. 3188 31893 March 2011: Matthijs 3190 - fix #bug352: fix hardcoded paths in manpages. 3191 31922 March 2011: Matthijs 3193 - fix #bug354: make realclean cleans too much 3194 - added make devclean for cleaning up autoconf and automake stuff 3195 - Fix hardcoded paths in nsd.conf.sample and nsd.conf.5 3196 319724 February 2011: Matthijs 3198 - fix #bug350: refused notifies should log client ip. 3199 32002 March 2011: Wouter 3201 - Fix AXFR service with radix tree. 3202 - cutest for speed of answer encoding, and format of answers for root. 3203 32041 March 2011: Wouter 3205 - after merge, remove double -I. from makefile. 3206 - radixtree is default. Nicer makefile and no warnings from unused 3207 flex functions. 3208 32091 March 2011: Wouter 3210 - merge with trunk r3181: 3211 24 February 2011: Matthijs 3212 - fix #bug350: refused notifies should log client ip. 3213 24 February 2011: Wouter 3214 - fix bug#362: outgoing-interface and v4 vs. v6 leads to spurious 3215 warning messages. 3216 - fix bug#363: nsd-checkconf -v does not print outgoing-interface ok. 3217 - fix that nsd-checkconf -o outgoing-interface omits NOKEY. 3218 23 February 2011: Wouter 3219 - fix for bug#357, make xfrd quit with many zones. 3220 322123 February 2011: Wouter 3222 - Merge trunk r3151. 3223 22 February 2011: Matthijs 3224 - Patch Jakob Schlyter (setusercontext before chroot). 3225 18 February 2011: Wouter 3226 - overhaul of testset, with port uniqueness and fast start and stop. 3227 11 February 2011: Wouter 3228 - added test case to do with bug357. 3229 24 January 2011: Matthijs 3230 - Patch Tom Hendrikx (only errors to stderr when doing nsdc patch). 3231 323217 February 2011: Wouter 3233 - Fix leak of compressiontable when the domain table increases in size. 3234 - added test case to do with bug357. 3235 323610 February 2011: Wouter 3237 - Merged with trunk r3115 changes: 3238 20 January 2011: Wouter 3239 - Fix on shutdown, then getaddrinfo acquired data uses freeaddrinfo. 3240 19 January 2011: Wouter 3241 - Bug #348: no -I/usr and -L/usr for libcrypto in /usr. 3242 5 January 2011: Matthijs 3243 - Fix nsdc update and nsdc notify 3244 - Force outgoing interface to be a single range acl 3245 - Update documentation about acl options 3246 - Code review 3247 - Fix nsdc so it can use hmac-sha* tsigs 3248 - Bug #347: NSEC3 nodata QTYPE=DS not at delegation mismatch 3249 4 January 2011: Yuri 3250 - Doc spelling error, bug#345 3251 15 December 2010: Wouter 3252 - fix race condition when nsd is stopped while a reload is in 3253 progress, often when rc.d does nsdc patch; nsdc stop in sequence. 3254 reload is now signalled to stop too. 3255 10 December 2010: Matthijs 3256 - fix bug#306: applied documentation patch 3257 - fix bug#253: now also for QTYPE=DS. 3258 12 October 2010: Wouter 3259 - Fix compilation on SunOS4. 3260 24 September 2010: Matthijs 3261 - Bug #328: nsd-checkconf overrun 3262 1 September 2010: Yuri 3263 - Support for huge TXT records. 3264 23 Aug 2010: Wouter 3265 - fix bug#325: remove stale files from cvs from repo. 3266 16 Aug 2010: Yuri 3267 - zonec, MAXRDATALEN check was off by one. 3268 9 Aug 2010: Matthijs 3269 - nsdc return 1 outside function, should be exit 1 3270 - Bug #320: arc4random 3271 2 Aug 2010: Matthijs 3272 - Bump to 3.2.7. 3273 21 July 2010: Wouter 3274 - NUM_RECV_PER_SELECT 100 implemented, configure check if kernel 3275 supports this. 3276 327717 January 2011: Matthijs 3278 - Bump to 3.2.8. 3279 32805 January 2011: Matthijs 3281 - Fix nsdc update and nsdc notify 3282 - Force outgoing interface to be a single range acl 3283 - Update documentation about acl options 3284 - Code review 3285 - Fix nsdc so it can use hmac-sha* tsigs 3286 - Bug #347: NSEC3 nodata QTYPE=DS not at delegation mismatch 3287 328820 July 2010: Wouter 3289 - Branched from trunk. Added radix tree. 3290 - use -fwhole-program if gcc supports it. 3291 329219 July 2010: Matthijs 3293 - fix bug#314, NSEC next field now correctly escapes spaces. 3294 Also fixes label overflow issue. 3295 - Put back HAVE_SSL. 3296 - Code reviews. 3297 - Add donor text. 3298 32996 July 2010: Wouter 3300 - Compiles on Minix 3.1.7; checks ss_family, suseconds_t, some 3301 warning fixes. Needs socketpair to work, e.g. 3302 http://wiki.minix3.org/en/SummerOfCode2010/UnixDomainSockets. 3303 33042 July 2010: Wouter 3305 - Put back CHECK_SSL in configure (removed with disable-tsig). 3306 330717 June 2010: Matthijs 3308 - Expand command line option '-a' and config option 'ip-address:' 3309 with port number. 3310 - Removed --disable-nsid, --disable-dnssec, --disable-tsig 3311 331214 April 2010: Matthijs 3313 - Bump to 3.2.6. 3314 331514 April 2010: Matthijs 3316 - uintptr_t fallback value to void* 3317 - Backwards compatibility for MAP_ANONYMOUS 3318 - Tag 3.2.5. 3319 332031 March 2010: Matthijs 3321 - Commit b64_pton optimalized compat code (Martin Svec). 3322 - Commit (experimental) mmap-alloc-namedb patch (Martin Svec). 3323 - Commit parse-token-leaks patch (Martin Svec). 3324 332527 March 2010: Wouter 3326 - fix bug#303: misspelled error message. 3327 332819 March 2010: Wouter 3329 - documented nsid: "hex string" setting in nsd.conf.sample. 3330 333124 February 2010: Matthijs 3332 - nsid: option 3333 - Enable NSID support by default 3334 - --with-chroot configure option 3335 - Less stupid chroot error handling 3336 333715 February 2010: Matthijs 3338 - Skip memory cleanup to speed up reload (Martin Svec) 3339 33401 February 2010: Wouter 3341 - compat code for memcmp unsigned comparisons. 3342 334321 January 2010: Wouter 3344 - fixup debug sprintf to snprintf. 3345 334621 January 2010: Matthijs 3347 - Secure string functions, including compat code for strlcat. 3348 - Randomness utility function 3349 - Prepare for default chroot 3350 33516 January 2010: Wouter 3352 - check write errors when marking commit failed when difffile is broken. 3353 33546 January 2010: Matthijs 3355 - Move to 3.2.5 3356 335723 December 2009: Matthijs 3358 - Store new options in nsd structure. 3359 336022 December 2009: Matthijs 3361 - New options 'ipv4-edns-size:' and 'ipv6-edns-size'. 3362 - Bug 276 3363 - Bug 286 3364 - Bug 288 3365 336621 December 2009: Matthijs 3367 - New option 'tcp-query-count:'. 3368 - New option 'tcp-timeout:' and configure option '--with-tcp-timeout'. 3369 - New zone option 'notify-retry:'. 3370 337111 December 2009: Wouter 3372 - Disable UDP IPv4 DF flag on Linux/FreeBSD/AIX with socket option. 3373 337420 November 2009: Matthijs 3375 - NSID bugfix: NSD did not recognize NSID in the query. 3376 33779 September 2009: Matthijs 3378 - DLV support 3379 338018 August 2009: Matthijs 3381 - Bug 269. 3382 - Typo: logincap.h -> login_cap.h 3383 338412 August 2009: Matthijs 3385 - Maintainers feedback 3386 338710 August 2009: Matthijs 3388 - Code review. 3389 - Also send errors to /dev/null in controlled_stop. 3390 - chown nsd.db 3391 33927 August 2009: Matthijs 3393 - Bug 266: don't have strptime build error 3394 339528 July 2009: Matthijs 3396 - Bug 263: make TSIG algorithms comparison case insensitive. 3397 339823 July 2009: Matthijs 3399 - Patch Paul Wouters for NSD using hardcoded name. 3400 340113 July 2009: Matthijs 3402 - Bug 236: allow RRs before the SOA RR. 3403 - Bug 253: No need for NS RRset in authority section, when returning 3404 final answer for QTYPE=DNSKEY. 3405 340629 June 2009: Wouter 3407 - patch for use of Linux IPV6_MTU option, so that on linux the default 3408 EDNS UDP size advertised becomes 4096 over IPv6. It fragments the 3409 packets using the IPv6 minimum MTU. 3410 341119 May 2009: Matthijs 3412 - Clean up configure script (install hickup) 3413 - Bug 249: Remove unnecessary LLONG_MIN and LLONG_MAX code. 3414 - Replace strtoll code with own strtoserial function. 3415 - Move up to 3.2.3. 3416 341711 May 2009: Matthijs 3418 - Add Off-by-one test 3419 34206 May 2009: Matthijs 3421 - Small fix in SO_REUSEADDR warning log message. 3422 - Off-by-one bugfix (thanks Ilja van Sprundel, IOActive) 3423 342429 April 2009: Matthijs 3425 - A more ensured do_stop (useful fo nsdc restart). 3426 34272 February 2009: Matthijs 3428 - Bugfix #234. 3429 - Bugfix #235. 3430 - Reset 'error occurred' after notifying an error occurred at the $TTL or 3431 $ORIGIN directive (Otherwise, the whole zone is skipped because the 3432 error is reset after reading the SOA). 3433 34342 February 2009: Matthijs 3435 - Bugfix: return BADVERS when EDNS version > 0, instead of 0x1<FORMERR>. 3436 343719 January 2009: Matthijs 3438 - Bug 230: nsd-*: use stdout for non-error output (instead of stderr). 3439 - Don't do strptime test when cross compiling. 3440 344117 January 2009: Jelte 3442 - Fix file rotation when no logfile but chroot. 3443 34448 January 2009: Matthijs 3445 - New nsd-patch option -o dbfile (set output.db) 3446 - update nsdc to deal with the new nsd-patch options 3447 - strptime compat fix 3448 34496 January 2009: Matthijs 3450 - New nsd-patch option -s (skip writing zonefiles) 3451 - Removed some region_create memchecks (not needed) 3452 34535 January 2009: Matthijs 3454 - Bug 218 3455 - Bug 222 3456 - Replace SHA256_DIGEST_LENGTH with nicer HAVE_EVP_SHA256 3457 345810 December 2008: Matthijs 3459 - Bugfix: better error message when ixfr.db cannot be read 3460 346118 November 2008: Matthijs 3462 - chown logfile, don't do file rotation if logfile is outside absolute 3463 and outside chroot. 3464 346517 November 2008: Matthijs 3466 - File rotation for nsd.log when owned by nsd (+ tpkg test). 3467 - Only AXFR fallback if master responded NOTIMPL or FORMATERR on IXFR 3468 request. 3469 - allow-axfr-fallback option. 3470 34717 November 2008: Matthijs 3472 - Bugfix: don't fclose if logfile == NULL. 3473 347430 October 2008: Matthijs 3475 - Allow escape characters in literal dnames 3476 - Fix typo in zonec manpage 3477 - Some fixes from code review 3478 347920 October 2008: Matthijs 3480 - Redo bugfix literal domain names in rdata (code adjustment) 3481 - Added tests for case sensitive dns names and "Bug #162" 3482 - Adjust nsd-patch to new ixfr.db format 3483 348414 October 2008: Matthijs 3485 - Only SO_LINGER when outgoing port is set 3486 - Reset diff_skip when a new difffile is created (parts in the difffile 3487 now have a timestamp). 3488 - Undo bugfix literal domain names in rdata (code adjustment) 3489 - Split up dname_parse to parse literal dnames and normalized dnames. 3490 34913 October 2008: Matthijs 3492 - setsockopt SO_LINGER, for portability outgoing-interface (BSD/Solaris) 3493 34941 October 2008: Matthijs 3495 - Configure the source ip-address for notifies by the master and zone 3496 transfer requests by the slave in nsd.conf. 3497 - Previously added source hostname/ip and port configuration for 3498 nsd-notify and nsd-xfer 3499 - Finetuned nsdc for nsdc notify and nsdc update 3500 350129 September 2008: Matthijs 3502 - Bugfix: only normalize domain names in rdatas when rrtype is listed in 3503 RFC 4034, section 6.2: Canonical RR Form. 3504 - Update TODO list 3505 350625 September 2008: Matthijs 3507 - Fix bug where hmac-sha256 was in algorithm table, but could not be 3508 retrieved by name or id. 3509 - Additional arguments for nsd-notify and nsd-xfer: set outgoing 3510 hostname/ip-address and source port. 3511 - Additional TODO entry: optimize code in nsd-* programs. 3512 35138 September 2008: Matthijs 3514 - RFC 4635, bugfix #130: support for hmac-sha1 and hmac-sha256 tsig 3515 algorithms. 3516 - modify and add tpkg tests for hmac-sha1 algorithms. 3517 35182 September 2008: Matthijs 3519 - AXFR fallback when IXFR/UDP failed on all masters 3520 - Bugfix: strip off chroot value in corner cases 3521 - Additional debug and verbose log messages 3522 352329 August 2008: Matthijs 3524 - IXFR allow UDP option 3525 352626 August 2008: Matthijs 3527 - Code layout, additional comments and documentation typo fixes 3528 - IXFR over TCP, no longer UDP 3529 353017 July 2008: Matthijs 3531 - Make the maximum number of interfaces configurable. 3532 - Write pidfile *after* successful server initialization, 3533 instead of writing, and unlink if fail. 3534 353516 July 2008: Matthijs 3536 - Set upcoming release to 3.1.1 3537 - Wouter: fixed memory leaks that happened on error, mostly on 3538 zone transfer errors. 3539 354011 July 2008: Matthijs 3541 - Avoid race condition in nsdc: let nsd server update pidfile before 3542 closing old parent process. 3543 35448 July 2008: Jelte 3545 - Fixed NSEC3 memory leak in the case NSEC3 is not needed. 3546 35477 July 2008: Matthijs 3548 - Bugfix #191 3549 35509 June 2008: Matthijs 3551 - When comparing RRs, do not compare TTL values (since the same record 3552 with different TTL values are considered equal). 3553 - Fixup some more unaligned memory access that could occur when 3554 reading ixfr.db. 3555 355619 May 2008: Matthijs 3557 - Do not always log tcp read errors, only when real error or high verbosity 3558 355928 April 2008: Matthijs 3560 - Bugfix #172 (misleading error from zonec) 3561 356227 March 2008: Matthijs 3563 - Port some branch modifications to trunk 3564 356528 February 2008: Matthijs 3566 - Do not answer nsec3 wildcard information when DO bit is not set 3567 356819 February 2008: Matthijs 3569 - Fixed strptime bug (for MacOS Leopard) 3570 357122 January 2008: Matthijs 3572 - Add configuration for chkconfig to control nsd service (bug 164) 3573 357415 January 2008: Matthijs 3575 - Fixed bug 157 where nsd would return FORMERR if edns query is 3576 received with version set to zero and rdlen is larger than zero. 3577 35788 January 2008: Wouter 3579 - no warning about optout records. also no warning about missing 3580 nsec3 records. 3581 - check for hash(apex)==nsec3 with SOA bit was done in duplicate. 3582 - removed old commented out code 3583 - using SOA bit in NSEC3 typemap to detect parameters 3584 - using nonhashed NSEC3 to prove qtype=NSEC3 nxdomains 3585 - prints for debugging. 3586 - nicer comment on nsec3_lookup. 3587 35887 January 2008: Wouter 3589 - Fixup nsec3 tests, they need zonesdir: "." in conf files. 3590 The tests pass. 3591 - configure default is --enable-nsec3. Disabling this will save 20% more 3592 memory (for very large zones). Moved tests to test on commit. 3593 - set RRTYPE numbers for NSEC3=50, NSEC3PARAM=51. 3594 - fixup checkconf test - updated parser lexer gives syntax error 3595 on some garbage instead of parse error. Parselexer is updated for 3596 new options (hide-version, verbosity). 3597 - removed highrange rrtype code. fixup cutest for that. 3598 - speedup of prehash code. 3599 - skip nonexistent domains (operator.example.com). 3600 - skip only-nsec3 domains (that could be 2x speedup) 3601 - skip glue nameserver domains (for TLD with 2 glue per 3602 delegation this is a 3x speedup). 3603 - skip the prehash_domain for delegation points, which saves 3604 another 2/3 hash operations, 3x speedup. 3605 - printout how long nsec3 prepare took (verbosity >= 1). 3606 36073 December 2007: Matthijs 3608 - Fixup bug where data related files are looked up in the wrong 3609 directory when chrooted with chrootdir ending with a slash. 3610 361126 November 2007: Matthijs 3612 - Fixup bug start nsd while already running: do not initialize server, 3613 since it is already running. 3614 361515 November 2007: Matthijs 3616 - Changed man pages format from mdoc to mansun, to support the Solaris OS. 3617 - Better logging for nsd-notify (show 'broken' zone) 3618 361913 November 2007: Wouter 3620 - CREDITS and RELNOTES now in utf-8. 3621 362212 November 2007: Matthijs 3623 - Changed man pages according to bug 162. 3624 362530 October 2007: Wouter 3626 - Fixup for skip after unknown deleted IXFR RR, otherwise processing 3627 would continue at the wrong spot in the packet and process the IXFR 3628 as if it were malformed. 3629 - added unit test for this in long (needs ldns-testns, updated it). 3630 - added unit test for rollback of malformed zone transfers. 3631 Fixup for it, and fixup in ldns-testns to be randomport and 3632 copy id for hex packets. 3633 363429 October 2007: Wouter 3635 - Fixup bug where malformed IXFR replies cause partial processing in 3636 reload (or nsd-patch or nsd-startup). One result is multiple SOA 3637 records in zone apex. Fixup rolls back the zone transfer, and waits 3638 for NSD to try to load again. 3639 364026 October 2008: Wouter 3641 - small fix in descriptive text in sample config for debug-mode. 3642 36439 October 2007: Mark 3644 - Change default location of: nsd.db, ixfr.db & xfrd.state to 3645 /var/db/nsd. 3646 36475 October 2007: Wouter 3648 - Fixup manual page entry for allow AXFR to anyone. 3649 36503 August 2007: Mark 3651 - Report source and zone for denied AXFR attempts. 3652 365325 July 2007: Wouter 3654 - bind2nsd to 0.5.0, fixup of includes, key{} handling. 3655 365619 July 2007: Wouter 3657 - bind2nsd to 0.4.8, fixup of include bug. 3658 365918 July 2007: Wouter 3660 - added contrib for bind2nsd, Al Stone provided an abridged version 3661 that neatly fits for contrib. 3662 366317 July 2007: Wouter 3664 - fixup commithooks. 3665 366616 July 2007: Wouter 3667 - Added reference to http://bind2nsd.sourceforge.net/ to 3668 contrib/README. 3669 36703 July 2007: Mark 3671 - Zone compiler now gives more sane error message when out of 3672 diskspace. 3673 - Fixed a call to drill in tpkg that made a test check bind instead of 3674 nsd. 3675 36762 July 2007: Mark 3677 - Remove last traces of mmap usage. 3678 - Some cleanups in tpkg. 3679 368024 April 2007: Mark 3681 - Added "hide-version" configuration setting. Enabling this feature 3682 stops NSD from answering to CHAOS class version requests. 3683 368419 April 2007: Wouter 3685 - Compiled on minix 3.1.3 and make some adjustments to ease porting. 3686 ECONNABORTED is checked for. sys/select.h included in nsd-notify. 3687 SO_REUSEADDR failure is not fatal. PF_INET compat code added. 3688 If you compile yourself; strptime and socketpair need compat code. 3689 369013 April 2007: Wouter 3691 - Minor tweak to nsec3.c, more elegant handling of malformed nsec3 3692 records from a zone transfer. 3693 369410 April 2007: Wouter 3695 - Fixup ignored return value in region-allocator. Now returns a NULL 3696 memory allocation failure and leaves region in a consistent state. 3697 369820 March 2007: Wouter 3699 - Released 3.0.5. 3700 - (for 3.0.6) -O2 test for Alpha moved to saner position. 3701 370216 March 2007: Wouter 3703 - port configure to AIX, removed warning on ALIGNMENT in region code. 3704 defined _ALL_SOURCE to get recent C definitions on AIX. 3705 - improved nsec3.h comments. 3706 370722 February 2007: Wouter 3708 - Zonesdir default is now /etc/nsd. 3709 So that the invocation directory is not used to dump files into. 3710 The user can change the zonesdir by editing the config file. 3711 The directory is created by install, if not an error is printed. 3712 - updated tpkg tests to use current dir for testing. 3713 - tcp connections that drop do not spam the log file. 3714 Unless verbosity is set high. 3715 371619 February 2007: Wouter 3717 - Fix empty line printed with warning on 'force zone transfer'. 3718 371915 February 2007: Wouter 3720 - Check for EPROTO definition to compile on FreeBSD4/Alpha. 3721 372213 February 2007: Mark 3723 - Debug flag (-d) behavior changed. Nsd now also forks children when 3724 run in debug mode. 3725 - Added verbosity mode (-V <level>) for extra operational logging. 3726 37278 January 2007: Wouter 3728 - README text on interface configuration added. 3729 37302 January 2007: Wouter 3731 - Fixup accept() that could block due to already closed connection. 3732 Made listen() nonblocking, ignores errcodes that indicate closed tcp. 3733 373429 January 2007: Mark 3735 - Handle the new CERT RDATA types defined in RFC 4398 (submitted 3736 by Mans Nilsson). 3737 - Change nsd-notify retry timer from linear into exponential backoff 3738 (submitted by Mans Nilsson). 3739 - Due to a small bug in a comparison statement, zonec would fail 3740 on the parsing of unknown CERT types. This got triggered by the 3741 first bugfix today, as that one shouldn't have been discovered in 3742 the first place. Took the opportunity to sanitize two other 3743 comparison statements related to strtol(). 3744 374524 January 2007: Wouter 3746 - Tentative change to set UDP sockets nonblocking. Perhaps it 3747 helps Howard. 3748 374919 January 2007: Wouter 3750 - NSEC3 work. prehash printed only once with time taken to prepare. 3751 - prints are now only in DEBUG mode (except errors). 3752 - rr descriptor counts for NSEC3 updated, has an extra field flags. 3753 - now NSEC3PARAMs with flags!=0 are ignored, as per draft-09. 3754 - Fixed where only first NSEC3PARAM was properly detected. 3755 - Added tpkg in manual (because you need to compile with nsec3) 3756 that performs the test queries from draft-09 and checks them. 3757 - Made tpkg to test NSEC3 parameter detection. NSD will skip any 3758 NSEC3PARAMs that don't work until the first working one is found. 3759 Also, this means unknown hash algorithms are simply ignored. 3760 A zone that uses exclusively unknown hash algorithms for NSEC3 3761 will give errors on loading (or after zone transfer) but NSD 3762 will load and serve the zone (but no NSEC3s are returned). 3763 - added tpkg in manual to test parent side DS answers. 3764 These follow a different code path than child side DS. 3765 - Will allow NSEC3s(and signatures) below a DNAME. 3766 - A query for an NSEC3 ownername will lead to DNAME redirection 3767 as if the NSEC3 did not exist. 3768 - Test package in manual that tests NSEC3 and DNAME in the apex. 3769 - Changed NSEC3 memory requirements from 5 pointers per domain name 3770 to 3 pointers and 2 bits. 3771 - Added jumpstart for nsec3 search, will greatly speed up optout 3772 zone nxdomains. At the cost of one ptr per domain name. 3773 The speedup also speeds up the nsec3 prepare stage. 3774 377518 January 2007: Wouter 3776 - Created 3.0.4 release tag. 3777 - 3.0.5 number in trunk. 3778 - add nsd.spec patch from Farkas Levente to contrib. 3779 - NSEC3 new wireformat and presentation format from draft-09. 3780 378111 January 2007: Wouter 3782 - The message 'server .. closed cmd channel' is now priority INFO. 3783 This to reduce the 'error' amount in the logs. 3784 - On error in a tcp request, set to retry next instead of waiting 3785 for the tcp timeout. 3786 37879 January 2007: Wouter 3788 - TSIG acl matching changed so that NOKEY allow-notify entries match 3789 only queries without a tsig. Otherwise NSD would crash. 3790 This only affects servers that have allow-notify: ip NOKEY and 3791 someone sends a TSIG signed notify from that ip. 3792 - test package for that. 3793 - Fix for reply to notify messages with ANCOUNT wrong. The ack 3794 to notify messages that passed the ACL, and had a SOA in the answer 3795 section of the query, included wrong RR counts in the header. 3796 - test package for notify reply wireformat. 3797 37988 January 2007: Wouter 3799 - ipc_send_blocked will not lead to busy waiting on it, but will block 3800 in select, until SOA_END comes by. 3801 - server_main sends SOA_END if reload crashes, to xfrd. So that xfrd 3802 can set ipc_blocked=0 and can_send_reload=1; and thus resume service, 3803 assuming that the crash was a temporary condition. 3804 This will lead to trying every reload-timeout seconds to reload 3805 if it is a permanent condition. Which is more obvious to the 3806 operator. 3807 - put the error "error: diff: RR ns.kiev.ua. already exists" in 3808 debug mode only. Zone transfers with this error are liberally 3809 accepted, and we should not spam the logfile. 3810 - empty zones will not be retried forever every 10 seconds, 3811 but exponential backoff to a max of every 4 hours. 3812 The exact value is randomised to spread out attempts. 3813 38145 January 2007: Wouter 3815 - Fixed --zonesdir=<path> for configure. The value did not get used 3816 as a default value. Now it is used as a default value. If a 3817 default value is set for zonesdir, you can go to a 'no value 3818 specified' by giving the empty string, zonesdir: "" in nsd.config. 3819 - Fixed checkconf.tpkg for this change. nsd-checkconf will 3820 output zonesdir: "" as this is the default for --zonesdir. 3821 38222 January 2007: Wouter 3823 - Added contrib script from Stephane Bortzmeyer to convert NSD 2 to 3824 NSD 3 config files. Converts secondary zones and TSIG keys. 3825 - Made config conversion script skip empty lines. 3826 - Made config conversion script convert primary zones (and notify). 3827 - Nsdc control script will exit with 'nsd startup failed.' if nsd 3828 fails to start (due to bad config file for example). 3829 383015 December 2006: Wouter 3831 - Removed dlopen() checks from configure.ac, NSD3 no longer has 3832 dynamic plugin support (since 3.0.0). 3833 - added .rpm spec file to contrib. 3834 - Updated README to remove reference to buildzones script. 3835 383612 December 2006: Wouter 3837 - Added missing include to ipc.c to compile on SunOS. 3838 - Cast to avoid signed/unsigned comparison in compat/inet_ntop.c. 3839 384011 December 2006: Wouter 3841 - Added test to check for CNAME and other data error by zonec. 3842 Currently NSEC, NSEC3, RRSIG, SIG, NXT are allowed next to CNAME. 3843 - Fixup unaligned memory access that could occur when reading ixfr.db 3844 with a partial transfer inside. 3845 - RR type WKS (well known service) was not printed correctly, 3846 htons() was forgotten when calling getservbyport. 3847 - NSD does not complain about not being able to read the db CRC 3848 when all that happens is the file became longer or shorter. 3849 38508 December 2006: Wouter 3851 - Moved down max XFRD UDP sockets for zone transfer queries to 100 3852 down from 300. This makes the total socket max at 200, so it fits 3853 easily under 256 ulimit (a common default). 3854 38557 December 2006: Wouter 3856 - Improved error message to help operator. 3857 - created 3.0.3 svn tag. 3858 - default of zonesdir corrected (no directory is default). 3859 38604 December 2006: Wouter 3861 - updated test packages. Moved 213_large from manual to long. 3862 size_0, source_port_0 made more working (needs root permission). 3863 38641 December 2006: Wouter 3865 - Moved xfrd ipc and reload handlers to front of event handler 3866 lists for a 10% speedup in xfrd. 3867 - Fixed so that NSD no longer interrupts zone transfers when 3868 a notify comes in for that zone. Added package to test it. 3869 - Fixed warning on Solaris 10. 3870 387130 November 2006: Wouter 3872 - Test for fallback in getaddrinfo more portable. 3873 Ported to FreeBSD 6.1 without inet6. 3874 - New quit sync had a problem with blocking in dispatch. Fixed. 3875 - reload will retry quit_sync if nothing happens. 3876 - parent tries to empty the pipes before closing them on quitsync. 3877 - xfrd does not send reload when previous reload request busy. 3878 - netio will only deliver the number of bits from select 3879 and then stop. Optimisation. 3880 388129 November 2006: Wouter 3882 - Fixed getaddrinfo error message to be more descriptive. 3883 - Fallback to ip4 also if getaddrinfo fails for ip6. 3884 - instead of EAI_ADDRFAMILY uses EAI_FAMILY which is portable 3885 to FreeBSD. 3886 - signed/unsigned warning fix for FD_SETSIZE comparison. 3887 - Lots of debug statements and new quit sync feature, where 3888 the server children are synced with. So as not to lose buffers. 3889 389028 November 2006: Wouter 3891 - Debugging 10k zones transfer, set so that zones waiting for a 3892 socket do not get timeouts. 3893 - Debug change so that an event is only returned to one handler 3894 by netio. 3895 Reversed this. Netio will not deliver events you do not listen 3896 to, and since xfrd first listens to write then read, it will 3897 not have problems with stale events (for the fd from the previous 3898 select) because these are always read, while it needs a write. 3899 Re-Reversed it: netio will deliver events only once. 3900 This is easier to understand for the poor hapless developer. 3901 - Need to set notify_current for notify on waiting list. Fixed. 3902 390327 November 2006: Wouter 3904 - Debugging 10k zones transfer, noticed that it is possible for 3905 netio to give a callback for an event that you were not listening 3906 to. Now no longer does that. 3907 390816 November 2006: Wouter 3909 - Bug #153: now checks for FD_SETSIZE when adding fd to select fdset. 3910 - Easy overview of socket allocation for xfrd in xfrd.h 3911 - Upped the default xfrd socket limits a bit. 3912 - Log message that the TCP connection limit is reach is now only 3913 in -L 2 logging. It is spammy. 3914 - updated dependencies. 3915 - Added test for notify-socketcount, and removed unused files from 3916 bug153 test package. 3917 - Notify udp sockets are also capped at a max number. The rest 3918 has to wait in a queue. 3919 392015 November 2006: Wouter 3921 - Fixed bug #152: identity keyword in nsd.conf did not work. 3922 What happened was that the hostname() from the computer 3923 was overriding the nsd.conf identity. Fixed now. 3924 If commandline is given that is used. 3925 Else nsd.conf entry is used. 3926 Else hostname() detected from computer is used. 3927 Else default string "unidentified" is used. 3928 392914 November 2006: Wouter 3930 - Fixed bug where NSD tries to create 10000 udp sockets, 3931 when starting with 10000 secondary zones. Limited to 50 3932 at a time. The XFRD_MAX_UDP constant controls this. 3933 39343 November 2006: Wouter 3935 - Created tags/NSD_3_0_2_REL. 3936 39372 November 2006: Wouter 3938 - Added pdf for differences.tex for ease of use. 3939 - Updated text in readme on memory usage. 3940 394124 October 2006: Wouter 3942 - Recycle rrset memory after doing special processing on the deleted 3943 rrset data. 3944 - log message clearer for 'duplicate xfr part' to 'discarding partial 3945 xfr part'. 3946 - if you have a server that has IXFR turned off but sends a TC flag 3947 for IXFR queries, xfrd will retry to TCP. This makes the use of 3948 'AXFR' flag in nsd.conf file not needed in certain cases. 3949 - Be thrifty and save up the memory that was lost at end of chunks 3950 in the recycle bin. Saved 1.3Mb on 170(rrs)/220(total) Mb dataset. 3951 395223 October 2006: Wouter 3953 - Added checks for out of memory in reload (diff file). And it exits 3954 if so neatly. 3955 395613 October 2006: Wouter 3957 - Bug #149: Wrong text for NOTAUTH error code. When notify is not 3958 authorised REFUSED error code returned instead. 3959 39604 October 2006: Wouter 3961 - More fixes from Koh-ichi Ito (kohi@iri.co.jp now), for bug #146, 3962 his bash does not do $(( )), so nsdc.sh has to use test of course. 3963 396429 September 2006: Wouter 3965 - recyclebin works, added a test that uses it (about 3 Mb goes 3966 through the recyclebin). This resolves bug #147. 3967 - Made -L 1 logging is little less verbose (-L 2 gets it all). 3968 - added search path for openssl on Solaris 10 (/usr/sfw). 3969 397028 September 2006: Wouter 3971 - Removed unused global variable current_region, 3972 and routines for it in region-allocator.c and .h. 3973 - Added recycle option to regions. It will keep track of small 3974 objects in a recycle bin. Large objects are deallocated. 3975 No calls to recycle yet, unit test it first. 3976 - added unit test for region recycle. 3977 397827 September 2006: Wouter 3979 - Further suggestion from Koh-ichi Ito, I've set opt->xfrdfile 3980 to XFRDFILE in options_create. So opt->xfrdfile and opt->difffile 3981 are never NULL. This simplifies code elsewhere. 3982 And also handles chroot case (+=l) for default values. 3983 - Fix for bug #145. The skip file position in the diff file was used 3984 inconsistently - one part of the code skipped to before the 'IXFR' 3985 type code and another part skipped to after that. Now all skip to 3986 before the type code. This bug only happens if your diff file 3987 is like: zone1_part1, zone2_part_1, zone1_part2, zone1_commit, 3988 zone2_part2, zone2_commit. The skip over zone1_part1 failed. 3989 - tpkg test in long dir that tests for the bugfix. Takes a long time 3990 and uses ldns-testns feature to wait partway through an AXFR. 3991 - removed debug log of strerror on diff read failure, when the errno 3992 was already output to the logfile (resulting in a nonsense error). 3993 399426 September 2006: Wouter 3995 - NSD compiles on Solaris 10 with the sun cc compiler. 3996 Added a define for _STDC_C99 for that. 3997 - Checked that the patch for solaris for bug 143 indeed fixes the bug. 3998 - Fixed bug #146 reported by Koh-ichi Ito: when chrooted nsd failed 3999 to write xfrdfile/difffile. 4000 400118 September 2006: Wouter 4002 - no queries for NSEC3, RRSIG, ANY succeed for nsec3 only domains. 4003 400415 September 2006: Wouter 4005 - Fixed LOC parsing of integer overflow causing maximum values. 4006 Added to test and backported fix to 2.3.6. 4007 - NSEC3 qtype queries get noerror/nodata or nxdomain answers. 4008 You can query for NSEC3PARAM. 4009 - warnings for printf format on maxOS (sizet needs cast to int). 4010 401113 September 2006: Wouter 4012 - added fsync to AF_UNIX sockets to write last command (QUIT) before 4013 closing them. 4014 - sent explicit QUIT command to xfrd on final shutdown of the server. 4015 401612 September 2006: Wouter 4017 - Bug #144: LOC defaults for unspecified values wrong. Error in zonec. 4018 Set defaults. Also fixed parser if LOC has no minutes or seconds. 4019 - Also fixed rounding error in seconds 0.001 decimal. 4020 - Test tpkg for bug 144. 4021 402211 September 2006: Wouter 4023 - nsdc now more portable in use of 'which'. 4024 Does not only look at exit code but also checks for '^no ' string. 4025 - nsd-patch does a chdir to zonesdir for relative difffile or dbfile 4026 path names. 4027 - nsdc handles zonesdir: for relative pidfile, dbfile, difffile 4028 pathnames. 4029 40307 September 2006: Wouter 4031 - bumped version to 3.0.2. 4032 - Nice configuration error when you had the wrong zone name in the 4033 nsd.conf file. Zonec will give an error already. 4034 - When you start a secondary zone without a zone file, you get 4035 a much nicer error message, warning you of the zone transfer. 4036 - Credits for prerelease testers; Thanks guys! 4037 40386 September 2006: Wouter 4039 - Fixed nsd-patch so that it writes the SOA at the start of the file. 4040 - test tpkg that tests for the bug, has multiple rrsets at zone apex 4041 and does nsd-patch followed by zonec. 4042 Previous tests did not catch this: they used nsd-xfer to test zone 4043 contents, or only checked the zone-file after nsd-patch. 4044 - version number bumped to 3.0.1. 4045 - svn tag 3_0_1 made. 4046 40475 September 2006: Wouter 4048 - differences file improvements. 4049 - created 3.0.0 release in svn tags. 4050 40514 September 2006: Wouter 4052 - From suggestions by Bin Zhang: 4053 - nsdc restart does not fail if nsd was not running. 4054 - fixes to man pages, wrong locations for files. 4055 - NSEC3-PARAM has no optout bit in presentation format. 4056 - NSEC3PARAM spelling. 4057 - differences in latex format (needs nlnetlabs housestyle). 4058 405931 August 2006: Wouter 4060 - Fix for tsig size still set when data is null ptr. 4061 - Fix configure for NetBSD (1.6 - 2.0) to find struct timespec. 4062 - DIFFERENCES file completion. 4063 406430 August 2006: Wouter 4065 - Print error nicely when nonblocking connect fails on systems 4066 in a portable way. 4067 - doc/UPGRADING document to assist NSD 2 to 3 upgrades. 4068 - updates of error print - ignore EINPROGRESS if we check too early. 4069 - wait for select writable before testing for connect error. 4070 - echo "" >&2 is not as portable as we would like, removed from nsdc. 4071 - fixed debug print of a null ptr. 4072 - fixed bug where query for CNAME that points to unserved zone caused 4073 nullptr exception on empty zone ptr. Now original zone is restored 4074 after CNAME-pointed data is added to the packet. 4075 Test in dname.tpkg. Reported by Kai. 4076 - fixed stack corruption when ipv6 disabled. 4077 407829 August 2006: Wouter 4079 - NSEC3 made it so it can handle the case where the NSEC3 RRSET 4080 with the SOA bit on does not have the RR with the soa bit set 4081 as the first RR. 4082 - Handle NSEC3-PARAM type. Checks to see if any of them work: 4083 zone apex hashed exists, with NSEC3 type, and RR that has 4084 the same parameters and the SOA bit set. 4085 - in presentation format of NSEC3, NSEC3-PARAM reversed hash, optout. 4086 - update to the DIFFERENCES file, bind 9.3.2 vs NSD 3 and 4087 NSD 2 and 3 comparisons are completed. 4088 408928 August 2006: Wouter 4090 - echo messages in nsdc made clearer. nsdc notify and nsdc update 4091 only send notify messages to slaves / localhost to force transfers. 4092 - initial NSEC3-PARAM type code entry. parsed, ignored. 4093 409425 August 2006: Wouter 4095 - disabled make test target as tests are not shipped. 4096 - performed prerelease static snapshot. 4097 - updates to the DIFFERENCES document. 4098 409924 August 2006: Wouter 4100 - Fix bug 141 port from 2.3.6, copies behaviour from bind 9.3.2. 4101 - Added a test for bug 141. 4102 - Bug141: save the opcode from the query. 4103 410423 August 2006: Wouter 4105 - Fixed % by 0 exception in the bugfix #139. 4106 - Fixed RFC 4035 says CD flag SHOULD be cleared on authoritative 4107 responses, now NSD clears the CD flag. This is bug #140. 4108 RFC 4035 could be confusing on this, as it states 'all servers 4109 MUST copy the CD bit' more than once, but then makes clear only 4110 recursive servers are meant with that statement. 4111 - Differences document updates for bind 9.3.2 and nsd 3. 4112 411322 August 2006: Wouter 4114 - version number to 3.0.0 in preparation for release. 4115 - Bug #139: resync stats to whole period. Fixed. 4116 411721 August 2006: Wouter 4118 - check for error in ftruncate call. 4119 - replaced fwrite call with write_data call from util that does 4120 error checking. 4121 412215 August 2006: Wouter 4123 - removed unused struct nsd.named8_stats variable. 4124 - Bug #138: nsd aborts trying to bind all interfaces if ip6 is not 4125 enabled, instead it will fallback to ip4. 4126 412714 August 2006: Wouter 4128 - Added test for rollback of an IXFR transfer by xfrd. 4129 - Added test for reload timeout in xfrd, the reload does happen after 4130 a while, but not immediately. 4131 - Test that makes xfrd connect to ip6 address. 4132 - Test that overloads the number of tcp connections in xfrd, 4133 simulating a slow master, so that zones have to queue up to get it. 4134 - code coverage is now 2514 of 10636 uncovered. Still a lot uncovered. 4135 - ixfr queries return NOT_IMPL errors. 4136 413711 August 2006: Wouter 4138 - srandom to init random() in xfrd based on PID and time. 4139 - improved usage() information to be more helpful, and with version. 4140 - in makedist.sh, flex and bison called like in Makefile. 4141 - test for tcp underrun and overrun of the buffer. 4142 414310 August 2006: Wouter 4144 - added more tests to increase code coverage of testset. 4145 - moved acl parsing code from configparser.c to options.c to help 4146 unit testing. 4147 - nsd-checkconf echod wrong difffile filename with -v. 4148 - nsd-patch can now be used with -f to force printing of all RRs. 4149 - TYPE_NULL crashed NSD when it printed it, arg was ZF_DNAME, 4150 now ZF_UNKNOWN. 4151 - unknown rr test was faulty on input, the length was in nibbles 4152 not in octets, but rfc specifies octets for unknown rrs. 4153 NSD does not look at the length, and prints the length correctly. 4154 - added type NXT to the rr-test for weird RRs. 4155 - added printing test to rr-test, ipseckey and unknown-rr tests. 4156 checks if NSD prints the same RR on output as it read in. 4157 - put -x option for nsd-patch in usage(). 4158 - test that kills an nsd child server and checks that it is 4159 restarted. 4160 41619 August 2006: Wouter 4162 - tested nsdc functionality, make install and make uninstall. 4163 - set O_NONBLOCKING on xfrd tcp sockets before the connect call, 4164 because the handshaking can take very long too. 4165 - difffile and xfrdfile set via configure, to absolute pathnames, 4166 so that chroot checks work for them. 4167 - updated tpkgs, they need to set relative paths now for difffile. 4168 - gcov says 2821 of 10617 total code lines are not covered. 4169 compiled with --coverage, not -O2, ran tpkg/* and long/testplan*. 4170 counted grep '#####:' *.gcov | wc and grep '^ *[0-9]*:' *.gcov | wc. 4171 - cleaned up the log functions, NSD no longer spams the syslog with 4172 debug messages. The standard NSD debug util is used, -F -1 -L 2 for 4173 a compile configured with --enable-checking will enable them again. 4174 Errors are logged, as is the automated reload of a new serial. 4175 - tpkgs for bug077 and bug107 were silently failing to test properly. 4176 41778 August 2006: Wouter 4178 - fixes for checkconf test, more portable. 4179 - removed items from TODO that have been tested. 4180 for multihomed servers you have to bind to each interface 4181 explicitly to get outgoing ip-address the same as query 4182 destination ip-address. 4183 Forks and if-existing are tested and ok in testplan tests. 4184 close_all_sockets is called by child, if tcponly, so leave it. 4185 - user name check is hard portably with shell scripts, and 4186 packaging could set a default user that does not exist on a machine. 4187 - empty nodes (nonterminals) give no nxdomain any more (todo item done). 4188 - removed (old) from TODO. 4189 - removed contrib/buildzones.pl, it is outdated. 4190 41917 August 2006: Wouter 4192 - Made the tests a little more portable. 4193 - fixed mempcy unable to handle unaligned memory addresses on Solaris, 4194 used memmove instead of memcpy in zonec LOC conversion code. 4195 - another unaligned memory access, when storing off_t pointer in 4196 difffile.c, used memmove. 4197 41984 August 2006: Wouter 4199 - nsd will start if diff file is corrupt, with a log message. 4200 It ignores the bad data. 4201 - tpkg files do not override PATH, svnhook sets it. So user can 4202 set path to utilities on the system to run the tests. 4203 - running testset on DecAlpha discovered uninitialised variable 4204 in NSD. Fixed. 4205 - Jakob Schlyter asked for building nsd3 in an obj dir, i.e. 4206 mkdir obj; cd obj; ../configure && make. Fixed up makefile for that. 4207 - and bug137.tpkg for separate obj dir building. 4208 42093 August 2006: Wouter 4210 - more tests in mesh test. 4211 - changed test packages to put nsd log to test result "/dev/stdout". 4212 - test packages more portable - use default 'dig' location. 4213 also, path is appended to, instead of replaced. 4214 42152 August 2006: Wouter 4216 - Region can be customised for detailed memory handling. 4217 Especially if you set large_object_size=0, chunk_size=0, 4218 the region will perform individual allocs, and 'save memory'. 4219 The region still keeps tracks of allocations so that at 4220 region_free time all memory is released. 4221 - tsig.region removed, it was not used after attaching a cleanup 4222 at creation. tsig creation uses custom region settings. 4223 - xfrd inits the tsig records with memory saving settings, 4224 so the regions alloced for tsig take up about 60 + 4*8 bytes. 4225 - new custom region for query region - to make chunksize larger 4226 there. The chunksize for the query region is important, if 4227 all allocations for a query fit in it, no mallocs are needed. 4228 - TSIG other_data field size according to RFC 2845 is 0 or 6. 4229 In tsig implementation put a maximum to the field of 16, 4230 otherwise a formerror results. 4231 - query with IXFR appended SOA not formerror. 4232 IXFR queries not reach the handler in axfr.c for IXFR queries. 4233 - removed annoying debug message of added tsig key. 4234 - added test that starts 7 servers in a mesh and lets them fight out 4235 what zones to transfer and serve. 4236 - xfrd logic bug: if notified a slave would not see the renewal 4237 of its current zone. 4238 42391 August 2006: Wouter 4240 - Test for remove domains with IXFR. 4241 - Fix for empty nonterminals and IXFR deletes. 4242 - Test for timeouts, including expiry, and expiry and zone updates. 4243 - Test for axfr refused authorisation. 4244 - Test for deadlock in ipc. 4245 424631 July 2006: Wouter 4247 - Test plan ixfr test in tpkg/long directory. 4248 - IXFR with many packets tested (one RR per packet). 4249 425028 July 2006: Wouter 4251 - tentative change, that preserves ordering of rrtypes for a domain. 4252 - fix for serial rollover (old_serial + 2**31), now works, is seen 4253 as new serial and rolled over to new. 4254 - serial numbers, and time values, printed as unsigned to logfile. 4255 - set so that if info is provided by operator, refreshing state 4256 not expired is used. 4257 - forgot to * a pointer to boolean, is_ixfr in the difffile reader. 4258 This fixes the testplan_ixfr test 1. 4259 426027 July 2006: Wouter 4261 - fixup desc of tsig xfer test, remove debug from xfr_huge. 4262 - fixed compressed dname tables cleanup, to set ptr to NULL. 4263 - initialised xfrd_listener.fd to -1. 4264 - fixed difffile handling of very short AXFRs, with no data. 4265 426626 July 2006: Wouter 4267 - Updated the requirements with comments from Olaf. 4268 - README discourages use of experimental nsec3 rr a bit more. 4269 - typo in DNAME code, used original qname instead of CNAME 4270 adapted qname variable. 4271 - added IPSECKEY RR type, RFC 4025. 4272 - tpkg test with sample ipseckey rrs. 4273 - wireformat for IPSECKEY depends on the value of a rdata atom, added 4274 WF_IPSECGATEWAY to handle that. 4275 - DHCID type, data is encoded in one binary/b64 blob. 4276 427725 July 2006: Wouter 4278 - max number of tries for nsd-notify is 15, so that the 4279 total time for sending is about 75 seconds. 4280 - forward port of fixes for bug 105 and 135 in nsdc. 4281 forward port of test for bug 105. 4282 - fixed nasty bug with configure --prefix=<...> where config.h 4283 was wrong. Now double evaluate the shell expansion on the defines. 4284 42855 July 2006: Wouter 4286 - helped in README with gnu make; need to make clean 4287 so that botched attempts by make to create the lexer files 4288 do not stay around. 4289 - removed %zd, replaced by casts to int. 4290 - updated REQUIREMENTS file, the sections on RR types, on what 4291 algorithm NSD follows and on which RFCs are supported are updated. 4292 42933 July 2006: Wouter 4294 - 'make depend' target in makefile. (updates both Makefile.in 4295 and Makefile, so it works for users and for svn). 4296 - doc minor update. 4297 42982 July 2006: Wouter 4299 - TESTPLAN, README, bugzilla-bugs docs updated. 4300 - NSD for BIND users update. 4301 430229 June 2006: Wouter 4303 - removed --zonesfile nsd.zones configure option. 4304 - doc/README updated for 3.0. 4305 - doc update. NSD_FOR_BIND_USERS document. 4306 - moved from -Ds to the config.h header, cleaner compilation output. 4307 - use autoconfs built in large file support enabler. 4308 430928 June 2006: Wouter 4310 - nsdc neater, checks for BLOCKED ips more strictly. 4311 - nsd -d also disables xfrd forking, and thus all reloads 4312 and secondary zone treatment. Stated so in manual page. 4313 - fixup, apart from ip4 need to allow ip6 in example.conf 4314 line showing how to allow access for everyone to axfr. 4315 431627 June 2006: Wouter 4317 - Fixed read in server.c to be a blocking read for sure, 4318 even if ipc is not blocking on the OS. 4319 - nsd-notify tries to send notify 5 times, then exits with error. 4320 - nsd-checkconf can lookup key secrets by name from a config file. 4321 - difffile option is always set in options struct with default 4322 or config value. 4323 - nsd-patch uses dnames to compare zone names (for trailing .). 4324 - nsdc updated to work with config file. 4325 432626 June 2006: Wouter 4327 - Nicer check in autoconf for struct timespec type. 4328 - NSEC3 next hashed ownername is a length byte followed by data. 4329 - nsd-checkconf more quiet, clearer error message. 4330 - NSEC3 does not complain about glue records without nsec3. 4331 - nsdc work (did start, stop, running, rebuild, restart, reload, stats). 4332 433321 June 2006: Wouter 4334 - nsid commandline parsed using hex_pton routine. 4335 - unit test for hex_pton. 4336 - added include stdlib, needed for free() on sunos4. 4337 - fixup of disable-ipv6 compilation. 4338 - memmove compat implementation (created fresh). 4339 - yy_set_bol() for old flex compat define. 4340 - compat implementation from openssh4.3p2 for 4341 strlcpy, inet_aton, and inet_ntop routines. 4342 - changed ctime_r usage to ctime() call, nsd is not threaded. 4343 - compiles on SunOS4/gcc-2.95. 4344 - debug statements go to the log_msg route instead of the 4345 fprintf route, so they will get to a nice logfile even if 4346 we forked away, with xfrd. logfile=/dev/stderr gives old way. 4347 - minor changes to cutest to make unit test compile 4348 on SunOS4/gcc-2.95, it checks out fine there. 4349 435020 June 2006: Wouter 4351 - updated configure to disable -O2 on platforms where gcc 4352 does not like it (such as dec-alpha). 4353 - nsd-notify used recvfrom and passed addrinfo.ai_addrlen 4354 which is a size_t, but recfrom needs a socklen_t*. On dec 4355 alpha these types differ in size (size_t is 64bit, 4356 socklen_t is 32bit). Therefore, used a wrapper variable 4357 to pass to recvfrom. 4358 - changed long int to time_t in nsd-patch.c to please compiler 4359 on dec alpha. 4360 - dec alpha complains if statements are in front of variable 4361 definitions. Fixed code for some mixups on this. 4362 - Fixup cutest for dec alpha. Code, lowercase filename, %lf->%f. 4363 - cutest fixup uses (size_t) cast and %zx to print ptrs (for debug). 4364 - for SunOS4 configure detects ssize_t and struct timespec. 4365 - removed usage of fpos_t, instead using fseeko/ftello for 64bit. 4366 - configure will define fseeko/ftello with fseek/ftell if unavailable. 4367 - added missing include from buffer.c (stdlib for free()). 4368 - defines for snprintf and vsnprintf in config.h if needed. 4369 - configlexer flex is called more cleanly with -t to write stdout. 4370 - missing include from configparser, stdlib for atoi. 4371 - config.h provide inet_pton define if it is not available. 4372 - fixup of INET6 defines, where sockaddr_storage is used 4373 outside of INET6 defines, in xfrd-tcp. 4374 - edns_init_nsid was not defined in edns.h. 4375 - added compat/fake-rfc2553.c and h from openssh 4.3p2. That has 4376 a BSD license as well. They replace getaddrinfo() (and friends) 4377 when those are missing. 4378 437919 June 2006: Wouter 4380 - updated the tpkg/manual tests for NSD 3 config files. 4381 Some need root privileges to run (using hping), they all pass. 4382 - also the tpkg/long test bug_sighup. 4383 - nsec3 code will warn at prehash time for missing exact nsec3 4384 records. So faulty signed zones are more easily spotted. 4385 - fixed NSEC3 and CNAME/DNAME chains, it will disprove the new qname. 4386 - removed for() look in CNAME processing, only first CNAME is 4387 processed now. 4388 - zonec will error on a zone with multiple CNAMEs for one name. 4389 439016 June 2006: Wouter 4391 - Swapped read and write ops in xfrd_handle_ipc, so that a read 4392 of a signal from main can stop further writes. 4393 - xfrd will complete its last message before shutting down 4394 the ipc writes and then acknowledge the reload-sync. 4395 This resolves the race where half of ipc messages caused bad 4396 modes from the main. 4397 439815 June 2006: Wouter 4399 - In preparation of notify send overhaul, moved the notify 4400 send code to xfrd-notify.c and h files. 4401 - created cleaner split of notify send and xfr code. 4402 Still in the xfr process, because it is a convenient location. 4403 - fixed bug where notify sending would read from wrong fd. 4404 - send master zone notifies. 4405 Does not skips master zone SOA INFO updates. 4406 - fixed bug where port number acls did not match. 4407 - fixed bug where tsig keys are checked for twice, but not error_code. 4408 - fixed notify send retry counting. 4409 - added test tpkg for notifies from nsd master to nsd slave. 4410 - nsd-checkconf flags if you set allow-notify without request-xfr. 4411 441214 June 2006: Wouter 4413 - fixed crash bug when dnssec/NSEC enabled and query DNAME 4414 target did not exist. 4415 441613 June 2006: Wouter 4417 - created doc subdirectory for documentation. 4418 - removed unused DIFF FILE MAGIC string. 4419 442012 June 2006: Wouter 4421 - dname_test tpkg with very extensive DNAME testing. 4422 - moved sizes of zone_name buffers to 3072 - for escaped names. 4423 - nsd-patch has a debug option to list the contents of the 4424 difffile/ixfr.db/transfer patch log in a journal fashion. You can 4425 then manually inspect the contents. 4426 44279 June 2006: Wouter 4428 - after a reload NSD will report the memory churn: number of bytes 4429 of memory wasted by the zone transfer code. 4430 44318 June 2006: Wouter 4432 - When zone is re-chosen after a CNAME/DNAME no SERVFAIL is set, 4433 noerror is returned instead. 4434 - zonec will error on multiple DNAMEs for the same name. 4435 - zonec will error on DNAME and CNAME together. 4436 - improved loop log message. 4437 44387 June 2006: Wouter 4439 - after DNAME the closest_match is set correctly for another DNAME. 4440 - in case of a loop returns gracefully instead of crash. 4441 - nsec3 checks if it is enabled for the zone for wildcards. 4442 - NSD will give referrals for zone cuts encountered after a CNAME 4443 or a DNAME. This also fixed various subtle stuff with CNAME/DNAME 4444 and TYPE_DS at zone cuts. It basically re-determines the zone 4445 to use after the CNAME/DNAME. 4446 44476 June 2066: Wouter 4448 - zonec checks for data below a DNAME, and will not create the db, 4449 as per rfc 2672. Tpkg test to make sure such a zone is not loaded. 4450 - updated rr-test tpkg so it has no data below a DNAME. 4451 - DNAME synthesis of CNAME records, including compression for cname. 4452 - included cname creation in dname test. 4453 - preallocate the extra temporary domain_type structures. 4454 - too many temp domains returns OK packet so that the resolver 4455 will recurse and ask us again with the last name in the chain. 4456 - fixed bug introduced in preallocation on temp domain numbering. 4457 44582 June 2006: Wouter 4459 - dname_replace function that does DNAME replace and unit tests. 4460 - added error codes from DNSUPD rfc2136 to constants in dns.h. 4461 - in query.c added DNAME following code. 4462 - fixed bug 134: hints[i] in nsd.c to hints[0]. 4463 - added tpkg small test for DNAME. 4464 - tpkg to test bug 134 (starts 100 processes). 4465 44661 June 2006: Wouter 4467 - tsig test with NSD master and NSD slave server. Tsig AXFR transfer. 4468 nsd-xfer used to test slave zone contents. 4469 - fixed bug where buffer_flip() is done before appending tsig rr. 4470 - version printed at start of nsd in logfile. 4471 - xfrd prints name of tsig key used during transfer in commit comments 4472 so it appears in the log file and in zonefile after nsd-patch. 4473 - prints RRs from diff file only if debug level >= 1. 4474 - scalable transfer test xfr_gig added, you can set the size to try 4475 in the .pre file. Now set very small. 4476 447731 May 2006: Wouter 4478 - xfrd check for failed updates. It compares the time it wrote the 4479 commit to disk with the time of the last reload command. 4480 Failed updates are restarted like the zone is notified of the soa. 4481 It also catches reloads that have been lost (reload cmd while reload 4482 is running, or a crashed reload process, for example). 4483 - when reload is issued, times at that second are put back one second, 4484 so that after a reload all the zones that should have been loaded 4485 have a time from before the reload. 4486 - if a reload crashes, NSD will continue with the old database, 4487 xfrd is not informed, since it cannot fix that. 4488 - nsd-checkconf strdups arg strings before writing to it. 4489 - tsig error replies contain error data, but no signature. 4490 also crashproof, badly formatted tsigs get a format error. 4491 - tsig error print knows about DNS rcodes in tsig error field. 4492 - added tpkg tests for tsig. 4493 - tpkg test for nsd-xfer with TSIG from nsd. 4494 - small stuff with makedist.sh, CREDITS, Features, make test. 4495 449630 May 2006: Wouter 4497 - tsig pre-allocs the rr_region, not at runtime, tsig_create_record(). 4498 - redid some region work for tsig. Now has another temporary region 4499 for the context data. User is only aware of the region passed at 4500 start that exists for the lifetime of the struct. 4501 During TSIG checks no more mallocs are done, only region_free_all 4502 and region allocs (of small size). 4503 - checkconf, port is stored as a string. 4504 - tsig now keeps a max_digest_size for giving reserved space. 4505 - AXFR does tsig every 96 packets (and first and last packet). 4506 - tsig signing works for all queries. SOA queries, ... 4507 If you configured the key in the config file, you can use 4508 that key for any query for any zone. 4509 Except for NOTIFY and AXFR queries; those are only allowed for 4510 the zone (and source ip address) which are configured in the config. 4511 - cleaner compile with tsig disabled. 4512 - fixed unknown key error reply in tsig. 4513 451429 May 2006: Wouter 4515 - The nonblocking write routines disable silently if they have 4516 nothing to do. 4517 - put xfrd read/write state routines (almost 500 lines of code) 4518 into xfrd-disk.c file. 4519 - little readme blurb on xfrd state file for the operator. 4520 - put ipc code in its own file for ease of reading. 4521 - removed --disable-axfr, you can control this via acls. 4522 With no provide-xfr: statements, a zone will not do axfr. 4523 452425 May 2006: Wouter 4525 - fixed reload sending; it checks for EAGAIN and EINTR. 4526 - reload sends parent quit command blocking to make sure of arrival. 4527 - send_children_quit in parent uses nonblocking writes and closes 4528 the pipe to signal the child to quit (even if the write does not 4529 come through, the closed pipe will cause the child to quit). 4530 - need_to_send_STATS flag in parent. 4531 - reload has its own ipc-listening handler in server_main. 4532 - nonblocking writes for server_main; this solved write-blocking race. 4533 - another race condition solved, if a process dies, half a read or 4534 write buffer could be left behind on another process. These are 4535 dropped. Now: 4536 * The server_main drops ipc from dead children. 4537 * The server_main drops ipc if xfrd dies. 4538 * The server_main drops xfrd(old) and all children ipc 4539 on reload. 4540 * The xfrd drops ipc to parent on a SOA_BEGIN from reload. 4541 So after reload, but parent and xfrd start with 4542 clean ipc buffers. 4543 454424 May 2006: Wouter 4545 - unit tests print progress while running to stderr. Included license 4546 of cutest with its source in svn repository. 4547 - stack type (for the IPC buffer of zone update dirty). And unit test. 4548 - only update zone-is_ok if needed to reduce memory copy on write. 4549 - split off conn_write() from xfrd tcp nonblocking write routines. 4550 - nonblocking writes for xfrd. 4551 455222 May 2006: Wouter 4553 - ported over minor nits from 2.3.5 NSD fixups. Cast to (void) 4554 unused function return values. 4555 - removed kill signal to children, superfluous due to quit cmd ipc. 4556 - moved is_ok for zones to the zone_type in namedb, not in 4557 the options, it is a runtime value not a config value. 4558 For zones that have no data, parent and children keep no state. 4559 456012 May 2006: Wouter 4561 - fixed up usage print for zonec to include -f option. 4562 - xfrd send notifies. 4563 - server no longer sends SOA INFO for master zones. 4564 - removed possible debug log print of a null string. 4565 456611 May 2006: Wouter 4567 - nsd.conf.sample shows defaults for ip4-only, ip6-only and debug-mode. 4568 - SOA_BEGIN message on start of reload sending soa info so that 4569 xfrd will not reply with expire-notifications and thus deadlock 4570 both on blocking writes (and no OS buffer on the pipes). 4571 457210 May 2006: Wouter 4573 - nsdc.sh is set +x after creation. 4574 - improved error message when zone in db has no config info. 4575 - support for broken nsec3 chains (if the one with the SOA bit 4576 is complete, it is OK for there to be other nsec3 chains 4577 with different parameters in the zone). 4578 45799 May 2006: Wouter 4580 - Fix for finding bad zone when populating SOA info on start. 4581 it would find a parent zone instead of the zone in question ( 4582 which is empty). 4583 - request-xfr: AXFR 10.0.0.153 keytouse syntax to interoperate 4584 with NSD machines. Will only send AXFR queries to the machine. 4585 - documented AXFR option in nsd.conf.5 manual page, 4586 and updated nsd-checkconf, nsd.conf.sample. 4587 - made 'skipping zone' log entry clearer (Sam Weiler asked). 4588 45898 May 2006: Wouter 4590 - updated zparser.y to handle empty nsec_seq lists. 4591 for empty nonterminals in NSEC3. 4592 - nicer without ambiguous grammar. 4593 45945 May 2006: Wouter 4595 - nsd-notify handles option -y key:secret to TSIG sign outgoing 4596 queries. 4597 - the acl checks now verify TSIG signatures on the query. 4598 - iterated_hash compiles with ssl disabled. 4599 - new ipc NSD_ZONE_STATE sent by xfrd to nsd process. notifies 4600 nsd of the state (ok or expired) of a zone. 4601 - reload process waits for the old server_main to exit to make 4602 sure there is no race condition listening to the NSD_ZONE_STATE 4603 messages generated when reload sends SOA_INFO to xfrd. 4604 - server_main and children all set zone_ok state in config options. 4605 also server_main so that newly forked children get the right state. 4606 - if a secondary zone is expired, NSD returns SERVFAIL. 4607 a transient error, so resolvers try again later. 4608 - SOA_END ipc message, sent by reload to xfrd, so it can repeat 4609 all zone states (which can have changed during reload). 4610 - zone_is_ok kept in config section so that state for zones 4611 without data is not lost. Those have no zone_type*. 4612 - secondary zones start in the expired state. 4613 - if expired zones are updated, then NSD gets the go ahead from 4614 xfrd after reload sends SOAINFO/SOAEND msg, so it is really 4615 updated in nsd memory. 4616 - fixed tpkg xfr_1 to have longer expiry times (from 0 and 3 4617 seconds to 2000 and 3000 seconds), so the zone does not expire 4618 during the test anymore. 4619 46204 May 2006: Wouter 4621 - when a new lease is acquired xfrd_packet_newlease result is used. 4622 - if a zone is lost in nsd db, xfrd will update state to match. 4623 - IXFR can use TSIG in queries and verify responses. 4624 - Fixed memory leak in xfrd tsig handling. 4625 46263 May 2006: Wouter 4627 - forward of 2.3.4 RELNOTES into trunk. 4628 - debug log statements to track xfrd request rounds. 4629 - removed memleak from handle_passed_packet in xfrd. 4630 - faster find_zone in difffile.c. 4631 - nsd-patch writes commit log entries into zone file. 4632 - took some tsig.c enhancements from 3 branch, 4633 -> if key or algo changes during connection, return bad_key, 4634 -> debug statement neater. 4635 - nsd adds tsig keys to tsig keyring at startup. 4636 46372 May 2006: Wouter 4638 - ifdef inet6 back on ss_family usage in server.c. 4639 - nsd-checkconf ip6 ifdefs improved. 4640 - xfrd tries servers 3 rounds, then waits for next retry. 4641 46421 May 2006: Wouter 4643 - off_t used for 64bit fileio. 4644 - searches for smallest unused part and sets diff_skip to that. 4645 - doc comment near the region_free_all for every query about 4646 malloc speed. 4647 - null ptr in strcmp does not work on bsd, fixed nsd-checkconf. 4648 - made nsd.conf.sample.in so the sample gets prefix-corrected. 4649 - removed nsd.zones.sample. 4650 - makedist.sh added manual pages for nsd-xfer nsd-patch. 4651 - install/uninstall nsd-patch, nsd-checkconf and manpage. 4652 small update readme. 4653 465428 Apr 2006: Wouter 4655 - ixfr >64k in xfrd. 4656 - fixed length of new commit parts. 4657 - fixed multiple ipc reads in xfrd. 4658 - fixed multiple packet ixfr read in diff file. 4659 Miek: 4660 - Forward port fixes for nsd-xfer and nsd-notify 4661 466227 Apr 2006: 4663 Wouter: 4664 - nsec3 review fixes. 4665 - diff file format expanded for >64kb transfer support. 4666 - diff reader adjusted for >64kb. 4667 Jelte: 4668 - small non-null options check in nsd.c. 4669 Miek: 4670 - updated nsd-checkconf for zone parse shell script support. 4671 467225 Apr 2006: Wouter 4673 - Tests on NSEC3 code. Fixed that the unsecure delegations also 4674 have _ds_ parent nsec3 prehashes, so that they get proper NSEC3s. 4675 NSD will serve NSEC3s to prove 'opt-out' also if the opt-out bit 4676 is (erroneously) not set. 4677 - For the 05pre2 draft section 5.4.8.1. QTYPE is NSEC3, only NSEC3 4678 RRsets at name. Fixed that RRSIGs present do not matter. 4679 And also the closest encloser proof in that case fixed. 4680 If wildcard exists below zone apex servfails (cannot disprove 4681 it and NSD cannot instantiate the wildcard at that point). 4682 468324 Apr 2006: Miek 4684 Miek: 4685 - forward port nsid (disabled by default) 4686 Wouter: 4687 - nsd-patch manual page. 4688 - minor MacOSX port fixes. 4689 - xfrd-reload-timeout: config option. 4690 - if you set the xfrd reload timeout to -1 it will not 4691 automatically reload after a transfer. User can reload. 4692 - reload timeout is a wait period after the reload is triggered. 4693 - more verbose acl logging. Validated acls are logged in detail. 4694 Invalid acls are only logged in debug mode, level >= 1. 4695 - log message when xfrd tcp connections max out. 4696 - if unknown NSEC3 hash type (not SHA-1), disable NSEC3. 4697 - xfrd randomizes the timeouts, within 10% of original, 4698 to spread out activity. Short timeouts < 10 seconds are not 4699 affected, and will give activity bursts (on startup for example). 4700 470121 Apr 2006: Wouter 4702 - put NSEC3 code in nsec3.c and nsec3.h. 4703 - iterated_hash only adds the salt if salt_len > 0. 4704 - added some assertions and cleanups to nsec3 code. 4705 - prehash also calcs the nsec3_last domain*. 4706 - dbaccess when reading in will set the rr_type.owner value. 4707 - changed namedb_find_zone to domain_find_zone, log msgs. 4708 - implemented logic from nsec draft 05-pre2 section 5.4.1 - 5.4.8. 4709 NSEC3 responses only happen for nsd compiled with --enable-nsec3 4710 and for zones where an NSEC3 with the SOA bit set exists. 4711 - added prehash pointer to ds parent side cover for opt out. 4712 - removed dynamic plugins. Dynamic plugin support is an explicit 4713 non-requirement (under creeping featurism). 4714 - in domain table create root nsec3 ptrs are NULL. 4715 471620 Apr 2006: Wouter 4717 - Unittest of base 32 encoding. 4718 - unittest start for iterated hash. 4719 - fixed for ctrlc in debug mode. 4720 - delete zparser_conv_long, not used, not needed 4721 - nsd-xfer will display NSEC3 correctly. zonec parses. 4722 - improved usage() line from zonec, about -c none, must be -C. 4723 - base32 printed in lowercase (canonical format for DNS). 4724 - NSEC3 added prehash pointers to the namedb. 4725 - NSEC3 autodetects presence of NSEC3 in zone and parameters. 4726 472719 Apr 2006: Wouter 4728 - port fix base10 in zonec conv short from 2_2 branch to trunk. 4729 and conv byte, algo, certificate, long. 4730 - configure option to enable NSEC3 (--enable-nsec3) support. 4731 - from Ben Laurie's NSEC3 patch, loaned the parse code, 4732 base32 conversion code and iterated_hash. 4733 With some small modifications. The type rrdescriptors are 4734 indexed by value below SPF, and in 4735 rdata_wireformat_to_rdata_atoms BINARYWITHLENGTH checks 4736 for end of buffer. Also parser checks for '-' salt. 4737 Some layout (spaces after ,s). And NSEC3 define is used. 4738 strtol used for iterations is base 10. 4739 - moved rrtype descriptor table sanity check to unittest. 4740 474118 Apr 2006: Wouter 4742 - Fixed check for SOA IN, bad ntohs in the check. 4743 - minimum timeout also enforced for very low expire times. 4744 - report the actual used length of the sockaddr to sento 4745 for FreeBSD. 4746 47477 Apr 2006: Wouter 4748 - modified the kill_nsd tpkg so that it waits up to 10x5 secs 4749 for nsd to make the pid file, and it wait up to 10x5 secs for 4750 nsd to exit after the kill signal is given. 4751 - xfrd checks on startup if there is trailing garbage in the 4752 diff file, left there by a previous xfrd killed in action. 4753 It then snips off any partial parts, so service can resume. 4754 Also the difffile_skip pos is set before any partial record there. 4755 - first version of nsd-patch; reads db and ixfrs and updates zones. 4756 - moved print_rdata from nsd-xfer to rdata.h to share code. 4757 - moved print_rr from nsd-xfer to util.h to share code. 4758 47596 Apr 2006: Wouter 4760 - notify handler passes acl number that matches to xfrd. 4761 - xfrd keeps a next_master for a zone, and sets it after notify. 4762 when notified nsd will try to contact the master that sent 4763 the notify, if send from an address that is both in acl 4764 allow-notify and request-xfr. 4765 - xfrd closes its tcp and udp sockets on exit. 4766 - default names for diff file and xfrd state nicer. 4767 - fixed up kill nsd grep on ps. 4768 - fixed up race conditions in test script for kill nsd 4769 wait for pid file creation by nsd, and grep -v grep in check. 4770 - in nsd signal-flags inherited from the parent are zeroed 4771 when a server_child starts. Also the server_child switches back 4772 to NSD_RUN mode when a bad mode happens. 4773 - check if ixfrs start from the version in memory. 4774 - if IXFR/AXFR ends in a serial that is newer than the serial 4775 that was sent in an notify, update the notified serial. 4776 47775 Apr 2006: Wouter 4778 - added lowerbound for retry timeout. 4779 - added extra assertions to xfrd-tcp.c, saying that the waiting line 4780 for tcp connections must be empty if the counter is below max. 4781 - setup so that the first master tried is the first in acl list. 4782 - diff file skips OPT and TSIG RRs if they are put into the answer 4783 section. 4784 - if IXFR contains an RR to delete that does not exist, nothing 4785 happens. 4786 - update zone for NS, RRSIG also if multiple RRs in the rrset. 4787 - difffile: create zone struct also if domain exists already. 4788 - difffile: destroy temp region on error. 4789 - difffile: in delete_RR, create temp region outside of the routine, 4790 so no alloc region, destroy region for every deleted RR. 4791 - difffile: for IXFR: do not delete final SOA RR. 4792 - difffile: unknown parts in file is an error. 4793 - difffile: EOF on last packet is ignored w/o giving an error. 4794 47954 Apr 2006: Wouter 4796 - Addes EACCES to the netio dispatch error bailout. 4797 - Removed EACCESS (probably due to log_msg), error on close 4798 xfrd pipe is small, main process closes its end, and hopes for 4799 the best). 4800 - review: return on error condition in xfrd_tcp_open fixed. 4801 - review: expired when time >= expire_time, so it will not wait 4802 for the retry after expire until it will detect the expiredness. 4803 - removed duplicate lines from xfrd_handle_zone_timeout. 4804 - review: copy of uint32_t using memcpy to avoid unaligned memory 4805 accesses. 4806 - review: fd=-1 removed from set_refresh_now; only does timer. 4807 - on a tcp timeout it will retry immediately (instead of waiting 4808 another retry timeout). This means if you set refresh_now, it will 4809 interrupt a tcp-timer for a fresh retry with the next master. 4810 - put null in buffer for xfrd read state. 4811 - log msg uses string that exists instead of overwritten buffer. 4812 - read entry sets refresh depending on current time, 4813 and makes sure not to check soa contents if none provided. 4814 added explanatory comments. 4815 - EACCES back in check. 4816 - server_main first checks for terminated children, then select(). 4817 So when select is interrupted, by kill or quitting children, 4818 it will first see if it has to quit itself, before restarting 4819 the children. 4820 - destroy tempregion xfrd read on error. 4821 - check for serial existence in xfrd_handle_incoming_soa. 4822 - handle_incoming_soa uses set_timer_refresh routine. 4823 and can handle expire times < refresh times. 4824 - log msg for udp socket() error. 4825 - review: xfrd_parse_soa_info email parse uses correct buffer spot. 4826 - added a lowerbound to refresh interval (=1 second now). 4827 - upon receipt of a IXFR, if the serial is older than the notified 4828 serial, the zone stays refreshing (but the ixfr is saved). 4829 48303 Apr 2006: Wouter 4831 - Added buffer length check to internal ipc. 4832 - split out packet_read_query_section from the process_query_section 4833 routine (and moved to packet.c/h). 4834 - xfrd reads passed packet via ipc. 4835 - ported over fix to 2_2 on missing rr types by removing the 4836 duplicate RRtype array, and using rrtype_to_string. 4837 - xfrd handles notifies. immediately starts updating. 4838 - xfrd state file format fix. 4839 - removed libwrap stuff - superseded by acls. 4840 use provide-xfr: statements for your zone in the config file. 4841 updated README for this. 4842 - updated tpkg tests for axfr to use provide-xfr: 127.0.0.1 NOKEY 4843 - review: move var create to start of function (xfrd_init()). 4844 484531 Mar 2006: Wouter 4846 - zone type has a pointer to zone options. 4847 - nsd options has an rbtree to find zone options in. 4848 - nsd checks acl for incoming notifies and replies 4849 error or confirmation. 4850 - nicer layout in options.c. 4851 - updated makefile dependencies. 4852 - fixed sz for SOA_INFO ipc, which was too small. 4853 - notify is sent to server_main, server_main sends it to xfrd. 4854 485530 Mar 2006: Wouter 4856 - include: documented in manual page. 4857 - MAXINCLUDES define in one place (config.h). 4858 - configure checks for strptime in include files. 4859 - use %d instead of %zd (sparc5 machine does not get zd). 4860 - use region_strdup in configlexer. 4861 - added a check for EINVAL in dispatch - will abort 4862 on the error instead of busy hang. 4863 486429 Mar 2006: Wouter 4865 - \r for config lexer. (similar changes to zonelexer). 4866 - forward port of fix to 2_2 branch: 4867 short int in var_arg is promoted to int, according to B. Laurie. 4868 The same logic for %o, %d %x would hold for %u I think. 4869 - in XFRD, soa prim_ns and email domain names are kept in a max 4870 size buffer. 4871 - split up dname_parse into parse from string to wireformat 4872 and parse from wireformat to memoryformat, so both can be called. 4873 - split up dname_make_from_packet into reading the wireformat 4874 from the packet and the dname_make, so both can be called. 4875 - xfrd reads all soa info from incoming xfr packets. 4876 - xfrd will ignore TC bit on tcp channels. 4877 - nsd sends xfrd all soa info, including ttl and dnames. 4878 - config file now has an include: filename directive. 4879 488028 Mar 2006: Miek 4881 - forward port fixes for zone compiler and \r. svn:1926-1927 4882 - add DO bit MASK and remove the !! construct 4883 488417 Mar 2006: Wouter 4885 - according to axfr-clarify, added comments that we check 4886 more leniently on further responses on a TCP stream. 4887 488816 Mar 2006: Wouter 4889 - Fixed up SOA INFO Send routines. Send from server works. 4890 - niced up xfrd state file. 4891 - Fixed up so that after a reload it will continue in diff file 4892 where it left off. 4893 - made send of SOA info use write_socket, in case of short writes. 4894 - redesigned xfrd_tcp_read to use the same code for ipc read. 4895 - no free()s before xfrd exit. 4896 - xfrd handles incoming SOA INFO ipc packets. 4897 - removed debug, updated zones get SOA INFO sent. 4898 489915 Mar 2006: Wouter 4900 - Fixed up domain table insert, it was being used in routines 4901 that originate from nsd-xfer that do not set compression numbers 4902 correctly. 4903 - memleak fix in difffile in case of error. 4904 - difffile processing works so that NSD can read an axfr saved 4905 into the nsd.diff file. (xfrd already request and save it there). 4906 - split off xfrd tcp handling into xfrd-tcp.c. 4907 - cleaned up send_udp in xfrd, and read_state. 4908 - removed xfrd tcp_send_blocking. 4909 - xfrd sets state from ok to refresh to expired based on timeout. 4910 - xfrd sets reload timeout. 4911 - Added zone updated to keep track of zones that are changed 4912 after a reload. These zones get their information notified 4913 to xfrd. 4914 - removed unused zprintrr declaration from zonec.h 4915 - nsd sends soa information to xfrd. 4916 491714 Mar 2006: Wouter 4918 - TODO updated 4919 - worked on reload ixfr. It will add/delete RRs and zones. 4920 - xfrd receive parse of xfr messages improved. writes commit. 4921 - server compressed_dname_offsets table is increased if reload 4922 creates extra names. 4923 - difffile will create zone and apex if not there (i.e. the zone 4924 is configured but no data file provided). 4925 - bit more verbose in error message for bad diff file. 4926 - Typo fix in sample config file. 4927 492813 Mar 2006: Wouter 4929 - configure sets fseek (fgetpos/fsetpos) to use 64 bit interface 4930 with _FILE_OFFSET_BITS=64. 4931 - nsd will skip loading the .db if the DB checksum is the same. 4932 - Miek added trace test and nsd kill test. 4933 - Wouter worked on diff file c. 4934 493510 Mar 2006: Wouter 4936 - Cleanup of UDP/TCP code in XFRD. 4937 - xfrd now has tcp max connections and managing. tcp read/write. 4938 - response TC on UDP ixfr, starts TCP. 4939 - sends correct ixfr and axfr queries, a bind server answers. 4940 - made packet_skip_dname() public. 4941 - sets read/write event flags for tcp fd right. 4942 49439 Mar 2006: Wouter 4944 - Removed header from DIFF file format. CRC not that important there, 4945 you have to check the packets anyway. 4946 - cutest rbtree removed unused clean_rbtree and always_fail routines. 4947 - xfrd timeout handler, more work. Checks expire. 4948 49498 Mar 2006: Wouter 4950 - xfrd sends UDP xfr request to master(s) with timeouts, and stores 4951 returned data on disk. 4952 - updated dependencies and declaration of write_soa_buffer. 4953 49547 Mar 2006: Wouter 4955 - Fixed printfs for size_t warnings on Mac OsX. 4956 49576 Mar 2006: nsd-team 4958 * Wouter: xfrd read and write work. Statefile is "nsd.xfst". 4959 * Wouter: nsd-checkconf checks dname parse of zone name:. 4960 * Wouter: updated difffile in parser.y, production in server: clause. 4961 * Wouter: zonec now takes -C for 'no config file' option. 4962 * Wouter: updated configyyrename.h for bison 1.875d on sparc. 4963 * Miek: zonec -h and nsd -h exit with exit code = 0. 4964 * Miek & Wouter: updated tpkgs to work again. 4965 * Wouter: xfrd read handle soas, handle soa_incoming part. 4966 * Wouter: moved compare_serial() from nsd-xfer to util.h. 4967 49684 Mar 2006: Wouter 4969 - xfrd zone and soa memory structure definitions. 4970 - xfrd init zones. 4971 - xfrd read and write state file code. 4972 - option for difffile: and xfrdfile: config lines. 4973 49743 Mar 2006: Wouter 4975 - Removed double kill after reload. Only socket cmd send. 4976 - Added code to handle race condition where xfrd is restarted 4977 during a successful reload. Afterwards, the new server_main 4978 only has the old xfrd pid, new xfrd is an orphan. 4979 Solution: when xfrd closes cmd channel (i.e. it quit) 4980 unexpectedly, send sighup to all processes in the group. 4981 This should quit the orphan & all children & reload the 4982 server_main, which will fork the children and xfrd again. 4983 49842 Mar 2006: Wouter 4985 - Added nsd-checkconf.8 to makedist.sh replace list. 4986 - DIFF file format updated. 4987 - removed tsigkey->server value, it was read in, but unused. 4988 - new function to add config file keys to tsig. 4989 - nsd-checkconf checks parsing of keys. 4990 - Updated sample key file with valid keys. 4991 - added first xfrd files. xfrd is started from server_main. 4992 xfrd listens to server and server to xfrd. xfrd is restarted 4993 if it dies unexpectedly. xfrd quits when server signals it. 4994 xfrd survives nsd reloads. 4995 - nsd_options no longer global variable. 4996 49971 Mar 2006: Wouter 4998 - Nicer text in nsd.8. 4999 - nsd.c prettier code in option handling. 5000 - zonec.c code prettier in option handling, also chdir bug removed. 5001 zonec uses the zone definitions in the config file. 5002 updated zonec.8 and usage(). 5003 - nsd also chdirs to the zonedir, otherwise nsd and zonec would 5004 try to read the database: file from different directories. 5005 .(it does the chdir before the chroot call.) 5006 - new calling syntax for zonec and nsd, because of new config file. 5007 - options added acl acceptance tests (no tsig yet). 5008 - added unit test for options.c - for acl tests. 5009 - zonec removed unused vars, nsd-checkconf print arguments. 5010 - nsd-checkconf.8 manual page. 5011 501228 Feb 2006: Wouter 5013 - checked in options.h and config parser code. 5014 - also nsd-checkconf that will test a config file 5015 .(and optionally show what was read). 5016 - default identity has a spelling error. 5017 - Small fix (typo in example) to config manual page. 5018 - Added ; to configparser.y to please bison 1.75 on bsd. 5019 - Will check for blocked addresses in outgoing acls. Also ranges. 5020 - Check configuration tpkg test added. Uses checkconf. 5021 - checkconf does extra semantic tests. i.e. enable absent features. 5022 - tcpcount and servercount cannot be negative. 5023 - updated nsd.conf.5 manpage for @port syntax. 5024 - changed config parser: allows empty server: part (defaults). 5025 - made nsd.conf.sample file. 5026 - put option to configure for CONFIG_FILE nsd.conf location. 5027 Note. Already nsdc.conf exists. Both exist now. 5028 - updated makefile dependencies (gcc -MM). 5029 - getopt optstring in nsd-checkconf updated ("v" only option). 5030 - Added config .o files to nsd and zonec. This compiles. 5031 - Added commandline option -c configfile to zonec and nsd. 5032 configure defaults < configfile < commandline options in importance. 5033 503424 Feb 2006: Wouter 5035 - Added compute_crc in util.h and unit tests for it. 5036 - in cutest.tpkg the number of unit tests was hardcoded 5037 in the tpkg package. Removed the dependency, cutest exit 5038 value indicates if any failures happened. 5039 - Added crc at end of NSD-database format. Unique per db. 5040 upped db version to 7 because of this. 5041 - Tested that crcs are big/little endian correct. 5042 - Added DIFF file spec 5043 - updated tpkg213 which compares md5 on a zonefile for new format. 5044 - added nsd.conf.5 manual page with a draft contents. 5045 504622 Feb 2006: nsd-team 5047 * Miek: Changed over to Cutest testing framework. 5048 * Miek: fixed typo in netio.h 5049 * Miek: fix syntax in rbtree.c put functions on multiple lines. 5050 * Miek: unit test tpkg for cutest. 5051 * Wouter: fixed ptr bug in rbtree unit test. 5052 505317 Feb 2006: Wouter 5054 - rbtree_delete is added and works. Unit tests are there too. 5055 - Changed tail recursion in rbtree_delete to while loop. 5056 - Tagged this version as NSD_3_signalsocket_solution. 5057 It is the stable 2_2 branch with cleanups, portable, and 5058 signalhandler solution by socket communication redesign. 5059 506015 Feb 2006: nsd-team 5061 * Wouter: Fixed server_child would wait for two kill signals before quit. 5062 * Miek: don't check for port==0 pkt, just try to send them. 5063 Forward Port of 2.3. 5064 * Wouter: Removed unused, not substituted, @nsdxfer@ from Makefile.in. 5065 506614 Feb 2006: Wouter 5067 - Added unit tests for rbtree. Extensive testing of all functions. 5068 - Added tpkg unit test. 5069 - configure tests for CUnit(optional lib for unit tests). Makefile 5070 cleanup so it works on non-gmake on freebsd. 5071 507213 Feb 2006: Wouter 5073 - Removed timespec_add(current_time) in server_main, the timeout was 5074 relative, not absolute. This fixes EINVAL on the timeout on freebsd. 5075 - Added check in configure for compiler flags. Used for -Wextra. 5076 - Added check in configure for va_list definition conflict between 5077 stdio and stdarg. This happens on DEC Alpha/Debian. 5078 - removed --enable-mmap configure option. There is no mmap support 5079 in the current codebase. 5080 - renamed local prev to next in domain_next() in namedb.h. 5081 - Removed heap.h. It was not used. Heap and rbtree are mingled anyway. 5082 - in netio.c, in dispatch, it would store the next pointer 'in case 5083 the handler removes itself'. But if the handler removes that next. 5084 Then it would fail. So stored the next in struct netio. 5085 This removes a potential bug. Netio_dispatch is not reentrant. 5086 Reentry would need a list of iterator* in struct netio. 5087 - Changed process_query() to server_process_query(). It is too 5088 similar to query_process(). 5089 509010 Feb 2006: nsd-team 5091 * Wouter: Improved configure.ac to detect pselect in sys/select. 5092 The check works on freebsd(yes) and fedoracore 3 and 4 (no). 5093 I hope it also works on Solaris. 5094 Also various other prototypes were implicit: chroot, strptime, ... 5095 These are also solved. 5096 * Wouter: Checked configure on sparc5(solaris). Added check for 5097 ctime_r in time.h (for tsig.c). This conf also works on freebsd/linux. 5098 * Wouter: Updated dependencies in makefile for plugin headers. 5099 These are included only when --enable-plugins is present. 5100 * Wouter: Added a send quit over socket to kill commands in server_main, 5101 These act when the fork children fails. If the kill fails, the 5102 socket command hopefully still works. 5103 * Wouter: Put reload code into a separate function. It communicates with 5104 a socket to the old parent, and sends it a quit command. This works 5105 and terminates the old nsd. Left in the kill as a double failsafe. 5106 If the reload process dies, then the parent closes the socket. 5107 * Wouter: Separated the signal mode from the socket-determined nsd->mode. 5108 Every signal function has a variable, so that multiple signals can 5109 arrive. Only the number of signals of the same type is lost, but not 5110 important for nsd. The signals are handled in turn by the run loop. 5111 This completes the coding to remove signal race conditions: 5112 - nsd uses sockets to communicate with its subprocesses(server,reload). 5113 - signal handler routine contains no lengthy system calls. 5114 - signals cannot overwrite a previous signal. 5115 * Wouter: fixed problem where nsd->mode and mode are different in 5116 server_main. Nsd would kill the children, but then restart them again. 5117 511809 Feb 2006: nsd-team 5119 * Wouter: Updated dependencies in Makefile (regenerated them with gcc -MM). 5120 * Wouter: Used splint on the source (with settings to reduce spam.) 5121 And came to the following changes: 5122 - In util.h, make it respect HAVE_CONFIG_H and HAVE_SYSLOG_H. 5123 Also it now defines fallback values for #defines in syslog h. 5124 - Added explicit cast to (unsigned int) in snprintf in dname.c, 5125 dname_to_string routine. 5126 * Wouter: Used extra warnings during gcc compile. -Wextra -Wall 5127 -pedantic -Wbad-function-cast -Wmissing-declarations 5128 -Wmissing-prototypes -Wnested-externs -Wold-style-definition 5129 -Wstrict-prototypes -Wdeclaration-after-statement. 5130 Using -Wtraditional gives too many warnings. 5131 * Wouter: Found a problem with pselect. sys/select.h does not by default 5132 provide the pselect function definition. configure script is 5133 adjusted to test for this and enable _XOPEN_SOURCE=600 to get it. 5134 Found this using the gcc warnings. 5135 * Wouter: dname and rbtree test apps were in make clean target, but 5136 do not exist anymore. Removed from make clean target. 5137 * Wouter: in util log_file() the epoch time_t is passed to printf 5138 without an int cast. Found using extra gcc warnings. 5139 * Wouter: In server.c fixed some signed-unsigned comparisons 5140 using the extra gcc warnings. 5141 - in shutdown and int was used instead of size_t. 5142 - in server_main timeout(signed) was compared with unsigned. 5143 - unused variable in new handler functions. 5144 - in handle_child_command int i instead of size_t was used. 5145 - in zonec the process_rr routine was missing (void) as paramlist. 5146 * Wouter: Added -Wall and -Wextra when --enable-checking is enabled. 5147 * Miek: Ported over the big fat enable checking configure warning. 5148 * Wouter: fixed configure check for pselect on freebsd. 5149 515008 Feb 2006: nsd-team 5151 * Wouter: In server.c also sockets from unexpectedly dead childs are closed. 5152 * Wouter: in nsd.c and server.c cleaned out the signal handler, so that 5153 it only includes two switch/if statements and alters only the mode. 5154 No more calls to alarm(), waitpid(), write(), log_msg(). 5155 Instead the work is done in the runloop in server.c and sent by socket. 5156 Also the parent now waits for children. Parent restarts them. 5157 * Wouter: Fixup, the children will quit if the parent closes the command 5158 socket. If parent is killed, they will exit too. 5159 * Wouter: The server_main now listens to children command channels. 5160 Included timeout to check for terminated processes. 5161 Test says that new signal handler works, and child->parent comm. 5162 516307 Feb 2006: nsd-team 5164 * Miek: configure.ac version to 3.0.0 5165 * Miek: looked at: buffer.{ch}, answer.{ch}, dns.{ch} 5166 those files don't have any changes, except for dns.{ch} for the 5167 explicit compression. 5168 * Miek: looked at: zlexer.lex and zparser.y; only changes there 5169 for the database changes. 5170 * Wouter: Changed buffer in write_pid from 16 bytes to 32 bytes, 5171 this makes 64 bit numbers fit in the buffer. 5172 * Wouter: Socket connection between parent and child nsds added. 5173 But sighandler now in worse shape. Need to close them. Remove kills. 5174 * Wouter: close the parent and child command channel sockets in shutdown(). 5175