123 June 2022: Wouter 2 - Tag for 4.6.0rc1. 3 417 June 2022: Wouter 5 - Fix compilation with libev, without event_base_loopbreak. 6 716 June 2022: Wouter 8 - Fix that the unit test verify_repat cleans up nsd on exit. 9 - Fix to remove ixfrcreate.c asserts about uint16 within limits 10 because of warnings from analyzers. 11 1214 June 2022: Wouter 13 - Fix compilation without libevent and compilation of nsd-mem. 14 - Fix verify handler add of sigchld event for compilation without 15 libevent. 16 173 June 2022: Wouter 18 - Fix static analyzer reports on ixfrcreate temp file. 19 - Fixup wrong ixfrcreate fread return check. 20 2113 May 2022: Wouter 22 - The code repo continues with version 4.5.1. 23 246 May 2022: Wouter 25 - Merge PR #209: IXFR out 26 This adds IXFR out functionality to NSD. NSD can copy IXFRs from 27 upstream to downstream clients, or create IXFRs from zonefiles. 28 The options store-ixfr: yes and create-ixfr: yes can be used to 29 turn this on. Default is turned off. The options ixfr-number and 30 ixfr-size can be used to tune the number of IXFR transfers and 31 total data size stored. This is configured per zone, the IXFRs 32 are served to the hosts that are allowed to perform zone transfers. 33 And if TSIG is configured, signed with the same key. The content 34 is stored to file if a zonefile is configured for the zone, in 35 the zonefile.ixfr and zonefile.ixfr.2, .. files. They contain 36 readable text format. The number of IXFRs is num.rixfr in 37 statistics output, also per zone if per zone statistics are enabled. 38 If offline, nsd-checkzone -i can create ixfr files. 39 NSD already supports requesting IXFRs, this addition allows NSD 40 to serve IXFR transfers to clients. 41 NSD stops responding with NOTIMPL to IXFR requests, also for zones 42 that do not have IXFR enabled. The clients gets a full zone reply 43 or a status reply if the serial is up to date. 44 - set version to 4.5.0 for feature change. 45 - Tag for 4.5.0rc1 release. It became the 4.5.0 release on 13 May 2022. 46 4714 April 2022: Wouter 48 - Update cirrus script FreeBSD version. 49 5025 March 2022: Wouter 51 - Fix spelling error in comment in svcbparam_lookup_key. 52 532 March 2022: Wouter 54 - Fix code analyzer zero divide warning. 55 - Fix code analyzer large value with assertion. 56 - Fix another code analyzer zero divide warning. 57 - Fix code analyzer warning about uninitialized temp storage in loop. 58 5910 February 2022: Wouter 60 - Tag for 4.4.0rc1 release. This became 4.4.0 release on 17 Feb 2022, 61 the code repository continues with version 4.4.1. 62 639 February 2022: Wouter 64 - Fix unit tests for nds-control-setup exit code and the 65 xfrd-tcp-max default. 66 677 February 2022: Wouter 68 - Merge #207 Sync nsd-control-setup with unbound-control-setup to 69 generate certificates with SANs. 70 7128 January 2022: Wouter 72 - Fix #206: build with --without-ssl fails. 73 7427 January 2022: Wouter 75 - current code branch continues as version 4.4.0, because of added 76 feature. 77 7826 January 2022: Wouter 79 - Merge #193: Lower memory usage of the XFRD process by default. 80 Instead of preallocating all elements, they are allocated when used. 81 There are options for managing the memory usage, defaults are the 82 same as before. xfrd-tcp-max sets the number of sockets for tcp 83 connections that xfrd can make to download zone contents. And 84 xfrd-tcp-pipeline the number of simultaneous transfers over the 85 same connection. 86 8712 January 2022: Wouter 88 - Fix to document nsd-checkzone -p in the man page for nsd-checkzone. 89 907 January 2022: Wouter 91 - Fix to change file mode before changing file owner for the 92 nsd-control unix socket file. 93 943 January 2022: Wouter 95 - Merge #204 from jonathangray: correct some spelling mistakes. 96 9715 December 2021: Wouter 98 - Fix #200: nsd-checkzone succeeds even with incorrect serial in SOA 99 record. 100 1012 December 2021: Wouter 102 - Fix socket_partitioning unit test for FreeBSD. 103 - Fix SVCB test to work around older dig with drill. 104 - Fix unit test to not syslog setlogin failures. 105 1061 December 2021: Wouter 107 - Set up for branch for 4.3.9 release. 108 This became release 4.3.9 on 9 Dec 2021 and included the changes 109 until the SVCB fix on 2 dec 2021, but not the setlogin fix. 110 The main branch continues as 4.3.10. 111 - Fix unit tests for new answer-cookie default. 112 11330 November 2021: Wouter 114 - Fix to remove git tracking and ci information from release tarballs. 115 1163 November 2021: Wouter 117 - Fix #198: nsd-control reconfig core dump. 118 11912 October 2021: Wouter 120 - Tag for 4.3.8 release, from 4.3.8rc2. The main branch continues 121 with version 4.3.9 in development. 122 1237 October 2021: Wouter 124 - Set default for answer-cookie to no. Because in server deployments 125 with mixed server software, a default of yes causes issues. 126 - Tag for 4.3.8rc2, includes the new answer-cookie default. 127 1284 October 2021: Wouter 129 - Tag for 4.3.8rc1. 130 13129 September 2021: Wouter 132 - Fix unit tests for svcb and xot to not touch the default 133 zonelistfile. 134 - Fix unit test for xot tertiary config for zonelistfile default. 135 - Fix unit test for dns-cookies for no unshare, and allow-query 136 for no IPv6 loopback. 137 - Fix unit test allow query to check for IPv6. 138 13922 September 2021: Wouter 140 - Fix #194: Incorrect NSEC3 response for SOA query below delegation 141 point. 142 14313 September 2021: Wouter 144 - Fix compile failure with openssl 1.0.2. 145 1463 September 2021: Wouter 147 - Fix not reachable annotation in radix_find_prefix_node. 148 14931 August 2021: Willem 150 - Fix #191: dname_parse_wire() returns fqdn wireformat length. 151 15226 August 2021: Wouter 153 - Fix #190: NSD returns 3 NSEC3 records for NODATA response. 154 15523 August 2021: Wouter 156 - Fix #189: nsd 4.3.7 crash answer_delegation: Assertion 157 `query->delegation_rrset' failed. 158 15917 August 2021: Wouter 160 - Fix #188: NSD fails to build against openssl 1.1 on CentOS 7. 161 - Fix sed script in ssldir split handling. 162 16313 August 2021: Wouter 164 - Merge #187: Support using system-wide crypto policies. 165 16610 August 2021: Wouter 167 - Merge #185 by cesarkuroiwa: Mutual TLS. 168 - Fixes for #185: Document client-cert, client-key and client-key-pw 169 in the man page. Fix yacc semicolon. Fix unused variable warning. 170 Use strlcpy instead of strncpy. Fix spelling error in error 171 printout. 172 1732 August 2021: Wouter 174 - Quieter tpkg/do-tests shell script with -q flag. 175 - For #184: Note that all zones can be targeted by some nsd-control 176 commands in the man page. 177 17830 July 2021: Wouter 179 - Move acx_nlnetlabs.m4 to version 41, with lib64 openssl dir check. 180 - Fix to compile with OpenSSL 3.0.0beta2. 181 - Fix configure detection of SSL_CTX_set_security_level. 182 - Fix deprecated functions use from openssl 3.0.0beta2. 183 18423 July 2021: Wouter 185 - Fix free on shutdown of XoT SSL context. 186 18722 July 2021: Wouter 188 - tag 4.3.7 release, with the fixes between rc1 and this release. 189 - main branch continues for 4.3.8. 190 19120 July 2021: Wouter 192 - Fix typo in xfrd-tcp.c. 193 19415 July 2021: Wouter 195 - tag for 4.3.7rc1. 196 - Fix compile of cookies on FreeBSD without IPv6. 197 - Fix for loop initial declaration for nonc99 compiler. 198 19914 July 2021: Wouter 200 - Fix truncate test for EDNS COOKIE making one less RR is added. 201 - Attempt to fix gcc11 warning. 202 20313 July 2021: Willem 204 - Fixes for child server processes getting out of sync with the 205 dnstap-collector process 206 20713 July 2021: Willem 208 - Interoperable DNS Cookies support as per RFC7873 and RFC9018 209 2109 July 2021: Willem 211 - Client side DNS Zone Transfer-over-TLS (XoT) support as per 212 draft-ietf-dprive-xfr-over-tls 213 21429 June 2021: Willem 215 - Fix #168: Buffer overflow in the dname_to_string() function 216 21714 June 2021: Wouter 218 - Update configure nonblocking test to use host. 219 22025 May 2021: Wouter 221 - Fix #179: log notice and server-count. 222 22321 May 2021: Wouter 224 - Test code has -q option for quiet output. 225 22617 May 2021: Wouter 227 - Update the ACX_CHECK_NONBLOCKING_BROKEN test for the configure 228 script. 229 2307 May 2021: Wouter 231 - Fix #176: please review Loglevel on missing zonefile. 232 2336 May 2021: Wouter 234 - Fix #174: NS Records below delegation are not ignored (nsd-checkzone 235 also does not raise any issue). 236 2374 May 2021: Wouter 238 - Fix SVCB sort call sizeof to be the size of the elements sorted. 239 24029 April 2021: Tom 241 - Implement Syntax of SVCB and HTTPS RR type as per draft-ietf-dnsop-svcb-https 242 24313 April 2021: Wouter 244 - Fix for #128: Skip over sendmmsg invalid argument when port is zero. 245 - Fix #171: Invalid negative response (NSEC3) after IXFR. 246 - Fix to make nsec3_chain_find_prev return NULL if one nsec3 left. 247 - remove debug settings from unit test. 248 2499 April 2021: Wouter 250 - Fix for #170: Fix build warnings when IPv6 is disabled. 251 - Fix #170: Disabled IPv6 and DNSTAP enabled triggers a build error. 252 25330 March 2021: Wouter 254 - Fix configure failure for enable systemd because of autoconf. 255 - This became release 4.3.6, the repository continues for 4.3.7 256 in development. 257 25829 March 2021: Wouter 259 - Note unlisted changes in RELNOTES and prepare for 4.3.6rc1 tag. 260 26129 March 2021: Willem 262 - Per zone Access Control List for queries 263 with an allow-query: option. 264 26524 March 2021: Wouter 266 - Update acx_nlnetlabs.m4 to version 38, fix deprecation test. 267 - Fix configure to use header checks with compile. 268 - Fix warning about unused function log_addr. 269 27018 March 2021: Tom 271 - Add Extended DNS Errors RFC8914 272 27315 March 2021: Wouter 274 - Fix double config.h include in configlexer.c 275 - Fix to remove configyyrename from makedist.sh and also 276 update the flex and bison rules there to add the "c_" prefix. 277 27813 March 2021: Willem 279 - Fix #154: TXT with parentheses fails in 4.3.5. 280 - Align parsing of TXT elements with how bind does it. 281 - A -p option to nsd-checkzone to print a successfully read zone. 282 28312 March 2021: Wouter 284 - Fix that wildcard is printed as a star instead of escaped, in 285 logs and in written zone files. 286 - Fix unit test for wildcard printout change. 287 28811 March 2021: Wouter 289 - Fix #163: A TSIG noncompliance with RFC 2845. 290 2919 March 2021: Willem 292 - Enable configuring a control-interface by interface name. 293 29419 February 2021: Wouter 295 - Fix segfault on high verbosity for TLS channels with dnstap log 296 local address. 297 29818 February 2021: Wouter 299 - Fix #146 with #147: DNSTAP log the local address of the server 300 with the dnstap logs. 301 30216 February 2021: Wouter 303 - Man page documentation for dnstap options. 304 3058 February 2021: Wouter 306 - Fix AF_LOCAL compile error for Solaris. 307 - Fix ifaddrs compile error for Solaris. 308 - Fix ifaddrs.h compile error for Solaris. 309 3104 February 2021: Wouter 311 - Merge PR #153 from fobser: Repair -fno-common linker errors 312 automatically. 313 - Fix uninitialized access of log_buf in error printout on apply ixfr. 314 31526 January 2021: Wouter 316 - Prevent a few more yacc clashes. 317 31819 January 2021: Wouter 319 - Set branch ready for 4.3.5 release. Tag for 4.3.5rc1. 320 Became the 4.3.5 release on 26 january 2021. This branch continues 321 with 4.3.6 in development. 322 32315 January 2021: Wouter 324 - Fix #152: '*' in Rdata causes the return code to be NOERROR instead 325 of NX. 326 - Add config.guess and config.sub to .gitignore for autoconf 2.70. 327 - Fix #150: TXT record validation difference with BIND. 328 - Fixup TXT record validation fix for escaped quotes. 329 - Fixup TXT record validation fix for escaped backslashes. 330 - Fixup escape character parse for quoted strings. 331 33211 January 2021: Wouter 333 - Fix #151: DNAME not applied more than once to resolve the query. 334 - Fix dname test for #148. 335 - For #151: fix to not produce loops in output. 336 3375 January 2021: Wouter 338 - Fix configure.ac for autoconf 2.70. 339 3404 January 2021: Wouter 341 - Fix #148: CNAME need not be followed after a synthesized CNAME 342 for a CNAME query. 343 34411 December 2020: Wouter 345 - Fix that nsd-control has timeout when connection is down. 346 - remove windows socket ifdefs from nsd-control. 347 3483 December 2020: Wouter 349 - For #145: Fix that service of remaining TCP and TLS connections 350 does not allow new queries to be made, the connection is closed. 351 Only existing queries and zone transfers are answered, new ones 352 are rejected by a close of the channel. 353 35430 November 2020: Wouter 355 - Fix #144: fix better. 356 35727 November 2020: Wouter 358 - Fix #144: Typo fix in nsd.conf.5.in. 359 36026 November 2020: Wouter 361 - Fix #143: xfrd no hysteresis with NOT IMPLEMENTED rcode. 362 36324 November 2020: Wouter 364 - Merge PR #141: ZONEMD RR type. 365 - tag for 4.3.4rc1. This became 4.3.4 release on 1 dec 2020. 366 The code repo continues for 4.3.5 in development. 367 36823 November 2020: Wouter 369 - Fix #142: NODATA answers missin SOA in authority section after 370 CNAME chain. 371 - Fix for CVE-2020-28935 : Fix that symlink does not interfere 372 with chown of pidfile. 373 - fix writepid for retvalue 0. 374 3759 November 2020: Wouter 376 - Fix #138: NSD returns non-EDNS answer when QUESTION is empty. 377 - Fix to check nscount in previous fix for EDNS in formerr response 378 when there is no question. 379 38028 October 2020: Wouter 381 - Remove unused init_cfg_parse routine from configlexer. 382 38320 October 2020: Wouter 384 - Fix to add missing closest encloser NSEC3 for wildcard nodata type 385 DS answer. 386 38714 October 2020: Wouter 388 - Fix #134: IPV4_MINIMAL_RESPONSE_SIZE vs EDNS_MAX_MESSAGE_LEN. 389 39013 October 2020: Wouter 391 - Fix missing parenthesis on size of fix to init buffer. 392 39312 October 2020: Wouter 394 - Fix #127: two minor `-Wcast-qual` cleanups 395 - Fix #126: minor header hygiene 396 - Fix #125: include config.h in compat/setproctitle.c and fix prototype of `setproctitle` 397 - Fix #133: fix 0-init of local ( stack ) buffer. 398 3998 October 2020: Wouter 400 - tag for 4.3.3 release 401 - current repository contains 4.3.4 in development. 402 - Fix #129: ambiguous use of errno, in log message if sendmmsg fails. 403 - Fix #128: Fix that the invalid port number is logged for sendmmsg 404 failed: Invalid argument. 405 4061 October 2020: Wouter 407 - tag for 4.3.3rc1 release. 408 40930 September 2020: Wouter 410 - Updated date in nsd -v output. 411 - Fixup bug013_truncate, checkconf and cutest_qroot tests for new 412 default EDNS size. 413 41429 September 2020: Willem 415 - Follow DNS flag day 2020 advice and 416 set default EDNS message size to 1232. 417 4184 September 2020: Wouter 419 - Remove unused space from LIBS on link line. 420 4213 September 2020: Wouter 422 - Merge PR #121: Increase log level of recreated database from 423 WARNING to ERR. 424 4251 September 2020: Wouter 426 - Fix #119: fix compile warnings from new gcc. 427 - Fix #119: warn when trying to parse a directory. 428 42927 August 2020: Wouter 430 - Merged PR #113 with fixes. Instead of listing an IP-address to 431 listen on, an interface name can be specified in nsd.conf, with 432 ip-address: eth0. The IP-addresses for that interface are then used. 433 43426 August 2020: Wouter 435 - Add xstrdup for PR #113. 436 - Tidy up code like in PR #113. 437 - Import code from PR #113. 438 - Fix for unknown EVP_MAC_CTX_free function in openssl 3.0.0 tsig code. 439 44024 August 2020: Wouter 441 - Fix that configure checks for EVP_sha256 to detect openssl, because 442 HMAC_CTX_new is deprecated in 3.0.0. 443 - Port TSIG code for openssl 3.0.0-alpha6. 444 - Sync acx_nlnetlabs.m4 with the unbound repo. 445 - Review fixes for tsig, defensive free and zero. 446 4474 August 2020: Wouter 448 - Merge #117: mini_event.h (4.3.2 and 4.3.1) on OpenBSD cannot find 449 fd_set - patch. 450 45123 July 2020: Wouter 452 - Merge #115 from millert: Fix strlcpy() usage. From OpenBSD. 453 45415 July 2020: Wouter 455 - Fix make install with --with-pidfile="". 456 45714 July 2020: Wouter 458 - Tag for 4.3.2 release. Master branch contains the next version 459 in development, 4.3.3. 460 4617 July 2020: Wouter 462 - Tag for 4.3.2rc1. 463 4646 July 2020: Wouter 465 - Fix compile includes for xfr-inspect tool on FreeBSD. 466 - Add tpkg/run_vm.sh that runs test when in a virtual machine. 467 - Merge #112 from jaredmauch: log old and new serials when NSD 468 rejects an IXFR due to an old serial number. 469 - Fix bug034 test for vm test changes. 470 47122 June 2020: Wouter 472 - Remove errno reset behaviour from sendmmsg and recvmmsg 473 replacement functions. 474 - Fix unit test for different nsd-control-setup -h exit code. 475 47619 June 2020: Wouter 477 - Merge #108 from Nomis: Make the max-retry-time description clearer. 478 - Retry when udp send buffer is full to wait until buffer space is 479 available. 480 48118 June 2020: Wouter 482 - Do not log EAGAIN errors for sendmmsg, to stop log spam on OpenBSD. 483 48417 June 2020: Wouter 485 - Fix #107: nsd -v shows configure line, openssl version and libevent version. 486 48727 May 2020: Wouter 488 - Fix unlink of pidfile warning if not possible due to permissions, 489 nsd can display the message at high verbosity levels. 490 - Update contrib/nsd.service for chown of nsd.log and /var/log in 491 ReadWritePaths. 492 - Removed contrib/nsd.service, example is too complicated and not 493 useful. 494 49515 May 2020: Wouter 496 - Merge PR#102 from and0x000: add missing default in documentation 497 for drop-updates. 498 - Fix checkconf test for log-only-syslog option. 499 50014 May 2020: Wouter 501 - Document default value for tcp-timeout. 502 50313 May 2020: Jeroen 504 - Fix #99: Fix copying of socket properties with reuseport enabled. 505 50624 April 2020: Wouter 507 - Fix #97: EDNS unknown version: query not in response. 508 50921 April 2020: Wouter 510 - Fix #96: log-only-syslog: yes sets to only use syslog, fixes 511 that the default configuration and systemd results in duplicate 512 log messages. 513 51420 April 2020: Wouter 515 - Fix #95: Removed make test check because tpkg not included in 516 release tarballs. 517 - Fix unused parameter compile warnings. 518 51916 April 2020: Wouter 520 - Tag for 4.3.1 release and track 4.3.2 release in code repository. 521 - note sha256 digest algo use in makedist.sh. 522 - Fix for posix shell syntax for trap in nsd-control-setup. 523 - Fix to omit the listen-on lines from log at startup, unless verbose. 524 - Fix uninitialised values for bindtodevice option at startup with 525 reuseport and multiple interfaces. 526 5278 April 2020: Wouter 528 - Tag for 4.3.1rc2. 529 5307 April 2020: Wouter 531 - Merge PR #91 by gearnode: nsd-control-setup recreate certificates. 532 The '-r' option recreates certificates. Without it it creates them 533 if they do not exist, and does not modify them otherwise. 534 5356 April 2020: Wouter 536 - Merge PR #90 by phicoh: O_CLOEXEC should be FD_CLOEXEC. 537 - Merge PR #92 by tonysgi: Fix typo. 538 5392 April 2020: Wouter 540 - Tag for 4.3.1rc1. 541 5421 April 2020: Wouter 543 - Fix for whitespace in minimal responses test for FreeBSD. 544 54525 March 2020: Wouter 546 - Merge PR #86 from noloader: Use precious variables for GREP, EGREP, 547 SED, AWK, LEX and YACC. 548 - For PR #86: Fix that programs loaded after CFLAGS and stuff is 549 set, specifically the compiler, so that it can work if it needs 550 special flags from that. Fix that lex only needs to support -i 551 if actually defined, otherwise the output included in the source 552 tarball can be used. 553 - Merge PR #72 from noloader: Increase Travis testing coverage 554 55523 March 2020: Wouter 556 - Fix unterminated ifdef in nsd.h. 557 - Fix unknown u_long in util.c for Issue #80 . 558 55920 March 2020: Wouter 560 - Merge PR #83 from noloader: Fix GNU HURD sched_setaffinity compile. 561 - Fix #82: print error when system does not have setaffinity. 562 - Fix #80: NetBSD and implicit declaration of reallocarray. 563 - Fix for #80: Fix reallocarray test to define before include. 564 - Fix for #80: Define alternatives for IFNAMSIZ if it does not exist. 565 56619 March 2020: Wouter 567 - Fix #76: cpuid typedef for Hurd, DragonflyBSD compile. 568 - Fix #75: configure test for sched_setaffinity, and use 569 cpuset_setaffinity otherwise. Also test for presence of sysconf. 570 - Fix #74: GNU Hurd fix cast from pointer to integer of different size. 571 - Fix for #74, #75: cpuset test for header contents and provide code. 572 - Fix #78: Fix SO_SETFIB error on FreeBSD. 573 57418 March 2020: Wouter 575 - Fix #70: error: 'fd_set' undeclared. 576 - Fix #71: error: 'for' loop initial declaration used outside C99 577 mode. 578 - Fix to move declarations out of for loops in event test too. 579 - Fix to move declarations out of for loops in popen3 test too. 580 - Another fix to move declaration out of for loop for event test. 581 - Fix to move declarations out of for loops in cutest regex display. 582 58317 March 2020: Wouter 584 - tag for 4.3.0 release and master branch has version 4.3.1. 585 58610 March 2020: Wouter 587 - repository has version number 4.3.0. Tag for 4.3.0rc1. 588 5893 March 2020: Wouter 590 - Fix that the retry wait does not exceed one day for zone transfers. 591 59227 February 2020: Wouter 593 - Fix warning on FreeBSD about pointer size cast. 594 59526 February 2020: Wouter 596 - Fixup fix of reuseport TCP for server close of sockets not used 597 by it. And the unit test skips when the necessary debug output 598 is not enabled. 599 60025 February 2020: Wouter 601 - Fix event unit test, signal has to be registered with signal_add, 602 event_add not for every backend for signals. The event_initialized 603 is not possible for every backend, so event_added variable. The 604 agent write event fires after a timeout, instead of on event write 605 so that it does not trigger a sigpipe event when the handlers stop. 606 Timeout shorted to 0.1 second. event_get_fd was not implemented, 607 so used ev_fd. Debug output printfs added to see what happens. 608 - Fix checkconf test for new drop-updates config option. 609 - Fix errors with reuseport and TCP file descriptors, it was 610 closing them for server-1 in server-2 and server-3.. 611 6127 February 2020: Jeroen 613 - Add feature to drop queries with opcode UPDATE. 614 6156 February 2020: Jeroen 616 - Support SO_BINDTODEVICE on Linux. Specify bindtodevice: yes 617 to bind sockets directly to the network interface. 618 - Support SO_SETFIB on FreeBSD. Add setfib=<FIB> after an ip-address 619 option to use the specified FIB for that socket. 620 - Require user to add servers=<range> after an ip-address option to 621 specify the servers that must listen on that socket. 622 6236 February 2020: Wouter 624 - Merge PR#60: Minor portability fixes from michaelforney, with 625 avoid pointer arithmetic on void* and avoid unnecessary VLA. 626 6274 February 2020: Wouter 628 - Merge PR#22: minimise-any: prefer polular and not large RRset, 629 from Daisuke Higashi. 630 - Fix responses for IXFR so that the authority section is not echoed 631 in the response. 632 63321 January 2020: Wouter 634 - Fix leak in server bitset setup. 635 63616 January 2020: Jeroen 637 - Add zone resource record iterator for future zone-verification port. 638 - Set FD_CLOEXEC on opened sockets. 639 - Add popen3 implementation for future zone-verification port. 640 - Add -r option to cutest so that a subset of tests can be run. 641 64215 January 2020: Jeroen 643 - Add feature to pin server proccesses to specific cpus. 644 - Add feature to pin IP addresses to selected server processes. 645 - Set process title to identify individual processes. 646 64713 January 2020: Wouter 648 - Merge pull request #59 from buddyns: add FreeBSD support 649 for conf key ip-transparent. 650 65110 January 2020: Wouter 652 - Fix unreachable code in ssl set options code. 653 - Fix bad shift in assertion code analyzer complaint. 654 6556 January 2020: Wouter 656 - Fix #56: Drop sparse TSIG signing support in NSD. 657 Sign every axfr packet with TSIG, according to the latest 658 draft-ietf-dnsop-rfc2845bis-06, Section 5.3.1. 659 66012 December 2019: Wouter 661 - Note that use-systemd is not necessary and ignored in man page. 662 66311 December 2019: Wouter 664 - Fix whitespace in nsd.conf.sample.in, patch from Paul Wouters. 665 - use-systemd is ignored in nsd.conf, when NSD is compiled with 666 libsystemd it always signals readiness, if possible. 667 6689 December 2019: Wouter 669 - Fix to define upper bounds on rr counts read from untrusted packet 670 data. 671 - Try different annotation for radix_find_prefix_node not reachable. 672 - Separate acl_addr_match_range functions for ip4 and ip6, to 673 please checkers. 674 - Avoid unused variable warning in new match_range_v4 function. 675 6766 December 2019: Wouter 677 - Fix to define max number of EDNS records we are willing to 678 spend time on. 679 - Fix size of string len and capacity type cast in udbradtree. 680 - Fix to protect rrcount in tsig_find_rr from overflow. 681 - Annotate radix_find_prefix_node not reachable trail code. 682 - Fix to protect rrcount in packet_find_notify_serial from overflow. 683 - Fix to close socket on error in create_tcp_accept_sock. 684 - Fix to log on failure to chmod for socket for remote control. 685 - Fix to remove unneeded if in open of socket for remote control. 686 - Fix to restore input parameter on call failure in create_dirs. 687 - Please checker by terminating and initialising string read 688 by remote control. 689 - Fixup of random_generate negative modulo, from previous commit, 690 and return srandom when random is used if no getrandom. 691 6925 December 2019: Wouter 693 - Fix fname null check of fname in namedb_read_zonefile. 694 - Fix implicit cast of size in udb_radnode_array_grow. 695 - Fix ignore of return value of ssl_printf in remote.c. 696 - Fix unused check of fd in parent_handle_reload_command. 697 - Fix to use getrandom() for randomness, if available. 698 - Attempt to fix signedness of nscount lookup in ixfr query_process. 699 - Fix identical branches for ssl_print of errors in remote.c. 700 - Fix type cast bounds, signedness of opt_rdlen in edns_parse_record. 701 - Fix to separate header and data lines in parse_zone_list_file. 702 7033 December 2019: Wouter 704 - Fix #52: do not log transient network full errors unless higher 705 verbosity is set. 706 - Fix checkconf test for new error output string. 707 - tag for 4.2.4rc1 release. This became the 4.2.4 release, 708 and the master branch continues with 4.2.5 in development. 709 71027 November 2017 Jeroen 711 - Fix regressions in configparser.y 712 71322 November 2019: Wouter 714 - Fix #48: Add make distclean that removes config.h made by configure. 715 And add maintainer-clean that removes bison and flex output. 716 71718 November 2019: Wouter 718 - Detect fixed time memcmp for openssl 0.9.8 compatibility. 719 - Detect EC_KEY_new_by_curve_name for openssl 0.9.8. 720 - include limits.h for UINT_MAX. 721 - If no recvmmsg, dont use msg_flags member, but errno for error, 722 where our fallback function left it, msg_flags also does not exist 723 on some systems. 724 - Remove unused variable warning for portability. 725 72614 November 2019: Wouter 727 - Fix checkconf test with filenames that sort in the same order. 728 - Tag for 4.2.3rc1. Branch master is 4.2.4 in development. 729 73011 November 2019: Wouter 731 - Fix #44: document that remote-control is a top-level nsd.conf 732 attribute. 733 - Fix compile on OSX. 734 - Fix for #44: nicer top-level clause documentation. 735 73622 October 2019: Jeroen 737 - Number of different UDP handlers has been reduced to one. recvmmsg 738 and sendmmsg implementations are now used on all platforms. 739 Compatible implementations are in place for systems that lack the 740 system calls. 741 - Socket options are now set in designated functions for easy reuse. 742 - Socket setup has been simplified for easy reuse. 743 - Configuration parser is now aware of the context in which an option 744 was specified. 745 74621 October 2019: Wouter 747 - For #21 add 748 contrib/patch_for_s6_startup_and_other_service_supervisors.diff 749 that adds support for readiness notification with READY_FD from 750 Cameron Nemo. 751 75217 October 2019: Jeroen 753 - Fix #40: Merge small fixes for confine-to-zone by Greg Bock. 754 75515 October 2019: Jeroen 756 - For #39: Merge confine-to-zone feature contributes by Greg Bock. 757 75826 September 2019: Wouter 759 - Fix #38: log address and failure reason with tls handshake errors, 760 squelches (the same as unbound) some unless high verbosity is used. 761 - Fixup clang analysis warning in xfrd_parse_received_xfr_packet 762 master dereference. 763 76425 September 2019: Wouter 765 - The nsd.conf includes are sorted ascending, for include statements 766 with a '*' from glob. 767 76816 September 2019: Wouter 769 - Fixup warnings during --disable-ipv6 compile. 770 - Fixup unit test executable to run without IPv6. 771 7724 September 2019: Wouter 773 - Fix #35: excessive logging of ixfr failures, it stops the log when 774 fallback to axfr is possible. log is enabled at high verbosity. 775 7762 September 2019: Wouter 777 - For #21: pidfile "" allows to run NSD without a pidfile, for 778 startup management tools like daemontools. 779 78028 August 2019: Wouter 781 - In tests check for tls test tool availability. 782 78319 August 2019: Wouter 784 - Tag for 4.2.2 release. Git master contains 4.2.3 in development. 785 78613 August 2019: Wouter 787 - Fix error message for out of zone data to have more information. 788 - Tag for 4.2.2rc2. 789 79012 August 2019: Wouter 791 - Fix #33: Fix segfault in service of remaining streams on exit. 792 7936 August 2019: Wouter 794 - Tag for 4.2.2rc1. 795 7965 August 2019: Wouter 797 - PR #31: nsd-control: Add missing stdio header. 798 - PR #32: tsig: Fix compilation without HAVE_SSL. 799 - Cleanup tls context on xfrd exit. 800 80131 July 2019: Wouter 802 - Fix #29: SSHFP check NULL pointer dereference. 803 - Fix #30: SSHFP check failure due to missing domain name. 804 - Fix to timeval_add in minievent for remaining second in microseconds. 805 80622 July 2019: Wouter 807 - Set timeout for refetch immediately, only spread load when there 808 are retries. 809 81019 July 2019: Wouter 811 - Set no renegotiation on the SSL context to stop client 812 session renegotiation. 813 81418 July 2019: Wouter 815 - Fix #25: NSD doesn't refresh zones after extended downtime, 816 it refreshes the old zones, with a random delay of a couple of 817 seconds to spread the load. 818 - Fix so that expired zones stay expired when server is down a 819 long time. 820 82117 July 2019: Wouter 822 - Fix that NSD warns for wrong length of the hash in SSHFP records. 823 82415 July 2019: Wouter 825 - PR #23: Fix typo in nsd.conf man-page. 826 8274 July 2019: Wouter 828 - Set version to 4.2.2 in development. 829 - clean memory on exit of nsd-checkzone for memory debug. 830 - Fix #20: CVE-2019-13207 Stack-based Buffer Overflow in the 831 dname_concatenate() function. Reported by Frederic Cambus. 832 It causes the zone parser to crash on a malformed zone file, 833 with assertions enabled, an assertion catches it. 834 - Fix #19: Out-of-bounds read caused by improper validation of 835 array index. Reported by Frederic Cambus. The zone parser 836 fails on type SIG because of mismatched definition with RRSIG. 837 8382 July 2019: Wouter 839 - Tag for 4.2.1rc1 840 84127 June 2019: Wouter 842 - Fix unit test for added options and no dot after zone updated 843 log message. 844 - Fix compile without accept4. 845 84621 June 2019: Wouter 847 - Omit remaining tcp processing if the list is empty. 848 - Fix output of nsd-checkconf -h. 849 85020 June 2019: Wouter 851 - Initialize event structures before event_set, to stop uninitialized 852 values from setting event library lists and assertions, that would 853 sometimes also show after event_del. 854 - Added num.tls and num.tls6 stat counters. 855 - PR #12: send-buffer-size, receive-buffer-size, 856 tcp-reject-overflow options for nsd.conf, from Jeroen Koekkoek. 857 - Do not use symbol from libc, instead use own replacement, if not 858 available, for accept4. 859 - Fix #14, tcp connections have 1/10 to be active and have to work 860 every second, and then they get time to complete during a reload, 861 this is a process that lingers with the old version during a version 862 update. 863 86419 June 2019: Wouter 865 - Fix tls handshake event callback function mistake, reported 866 by Mykhailo Danylenko. 867 86818 June 2019: Wouter 869 - Fix #15: crash in SSL library, initialize variables for TCP access 870 when TLS is configured. 871 87214 June 2019: Wouter 873 - Fix to init event not pointer, in reassignment. 874 87512 June 2019: Wouter 876 - Fix to init event structure for reassignment. 877 87811 June 2019: Wouter 879 - NSD 4.2.0 release. Current development is 4.2.1. 880 - Fixup of RELNOTES, corrected RFC reference for 4892. 881 - Fix #13: Stray dot at the end of some log entries, removes dot 882 after updated serial number in log entry. 883 - Fix TLS cipher selection, the previous was redundant, prefers 884 CHACHA20-POLY1305 over AESGCM and was not as readable as it could be. 885 - Consolidate server tls context create and remote control context 886 create, with hardening for the remote control tls context too. 887 8886 June 2019: Wouter 889 - NSD 4.2.0rc1 tag. 890 8914 June 2019: Wouter 892 - Fix unit test for outgoing interface to use random port numbers for 893 the outgoing interface config. 894 89529 May 2019: Wouter 896 - Fix to guard _OPENBSD_SOURCE from redefinition. 897 89828 May 2019: Wouter 899 - Fix to define _OPENBSD_SOURCE to get reallocarray on NetBSD. 900 90116 May 2019: Wouter 902 - Fix #10: Fix memory leaks caused by duplicate rr and include 903 instructions. 904 9056 May 2019: Wouter 906 - Note CII best practices badge for NSD on the README.md. 907 9082 May 2019: Wouter 909 - Fix .gitignore for unit test generated files. 910 - Fix checkconf unit test for hide-identity and tls. 911 9121 May 2019: Wouter 913 - Fix makedist.sh for use with git. 914 - Nicer output on travis for clang analysis. 915 - Add .gitignore file to exclude built files from version tracking. 916 - Add README.md file in repository with compile instructions. 917 - Fix .gitignore for dnstap files and aclocal temp. 918 - Add aclocal to README.md for pkgconfig for some configure options. 919 92025 April 2019: Wouter 921 - Add tls.tpkg unit test for DNS over TLS functionality. 922 92318 April 2019: Wouter 924 - Fix to avoid buffer alloc with global buffer in tls write handler. 925 - Fix to initialize event structure when accepting TCP connection. 926 - Use travis for build check, initial unit test and clang analysis. 927 - Disable SSLv2,3,TLSv1.0,1.1 if TLS1.2 is available in libssl. 928 - Disable weak ciphers, enable CIPHER_SERVER_PREFERENCE. 929 - further setup ssl ctx after the keys are loaded, for ECDH. 930 - TLS OCSP stapling support, enabled with tls-service-ocsp: filename, 931 patch from Andreas Schulze. 932 93317 April 2019: Wouter 934 - Fix to share openssl init code, and perform it once. 935 93616 April 2019: Andreas via Sara 937 - Patch to add support for TCP Fast Open 938 - Patch to add support for tls service on a specified tls port 939 94016 April 2019: Wouter 941 - Fix #4249: The option hide-identity: yes stops NSD from responding 942 with the hostname for chaos class queries. Implements the RFC4829 943 security considerations. 944 - Remove starttls, this signalling method was not standardized. 945 - Remove TO bit, this signalling method was not standardized. 946 - Remove unused first_query and tls_ok states. 947 - Remove sign-compare warning in tls packet send code. 948 - Fix spelling in comment and log printout. 949 - Fix potential uninitialized variable. 950 - Fix documentation for DNS over TLS, and set default port 853. 951 - Fix to add missing comment. 952 - Fix that the TLS handshake routine sets the correct event to 953 continue when done. 954 - Fix that TLS renegotiation calls the read and write routines again 955 with the same parameters when the desired event has been satisfied. 956 - Fix that TCP Fastopen has better error message and supports OSX. 957 - Fix log for fastopen with verbosity. 958 - Squelch TLS handshake failure log until verbosity 3. 959 - Add per-zone statistics for TLS queries, and dnstap for TLS queries, 960 and rcode and TCflag statistics for TCP and TLS queries. 961 96225 March 2019: Wouter 963 - Print IP address when bind socket fails with error. 964 96521 March 2019: Wouter 966 - Fix spelling error in release notes. 967 - Fix to delete unused zparser.default_apex member. 968 96919 March 2019: Wouter 970 - tag 4.1.27rc1. This became 4.1.27 on 25 March 2019 and trunk has 971 4.1.28 in development. 972 97318 March 2019: Wouter 974 - Fix unit test bug013_truncate for new truncation with EDNS size, 975 it is one RR smaller for the truncated response in the test. 976 97714 March 2019: Wouter 978 - Fixed radtree_insert memory leak. 979 - Fixed access recycled variable. 980 98111 March 2019: Wouter 982 - Fix #6: nsd-control-setup: Change validity time to a shorter 983 period (<2038). 984 - Fix unused definition in header remote.h. 985 - Fix #4236: IPV4_MINIMAL_RESPONSE_SIZE=1480 is slightly too big. 986 - Fix #4235: IP_PMTUDISC_OMIT on IPv4/UDP sockets. 987 98818 February 2019: Wouter 989 - Fix to remove unused code. 990 99115 February 2019: Wouter 992 - tentative robustness, delete stats items from list twice if needed. 993 99414 February 2019: Wouter 995 - Fix #4: setusercontext() is in libutil on NetBSD, and also 996 include login_cap.h only if it exists. 997 - Fix #4215: fixup for state update for TSIG information in server 998 processes, nicer printout for tsig_print, tsig_print without 999 arguments and no leaks. 1000 - nicer logging for update_tsig. 1001 10021 February 2019: Wouter 1003 - Fix for tsig assoc_tsig command on acl with nokey elements. 1004 100529 January 2019: Wouter 1006 - Fix #4215: on-the-fly change of TSIG keys with patch from Igor, adds 1007 nsd-control print_tsig, update_tsig, add_tsig, assoc_tsig 1008 and del_tsig. These changes are gone after reload, edit the 1009 config file (or a file included from it) to make changes that 1010 last after restart. 1011 - documentation for tsig nsd-control options. 1012 101324 January 2019: Wouter 1014 - Deny ANY with only one RR in response, by default. Patch from 1015 Daisuke Higashi. The deny-any statement in nsd.conf sets ANY 1016 queries over UDP to be further moved to TCP as well. 1017 Also no additional section processig for type ANY, reducing 1018 the response size. 1019 - assertions for clang analysis. 1020 102110 December 2018: Wouter 1022 - Fix for FreeBSD port with dnstap enabled. 1023 10246 December 2018: Wouter 1025 - Fix to reduce region_log_stats if condition, this removes a 1026 debug statement. 1027 10285 December 2018: Wouter 1029 - Fix #4213: disable-ipv6 and dnstap compile error. 1030 10313 December 2018: Wouter 1032 - Note that the content_list member is unused; and could be removed 1033 if the database format is modified or updated. 1034 - Fix that dnstap logs CQ and CR like BIND does. 1035 - Revert that, it looks wrong, AQ and AR are for the authoritative. 1036 103729 November 2018: Wouter 1038 - Tag for 4.1.26rc1. Which became 4.1.26 on 4 dec 2018. 1039 Trunk has 4.1.27 in development. 1040 - Fix clang analysis warning on null in closest encloser for wildcard 1041 denial nsec. 1042 - Fix clang analysis warnings. 1043 104427 November 2018: Wouter 1045 - Fix parsezone failure in 4194 fix. 1046 104726 November 2018: Wouter 1048 - Fix to not set GLOB_NOSORT so the nsd.conf include: files are 1049 sorted and in a predictable order. 1050 - Added nsd-control changezone. nsd-control changezone name pattern 1051 allows the change of a zone pattern option without downtime for 1052 the zone, in one operation. 1053 - Fix #3433: document that reconfig does not change per-zone stats. 1054 105520 November 2018: Wouter 1056 - Fix #4205: enable-recvmmsg in mixed IPv4/IPv6 environment fails. 1057 This sets the msg_hdr.msg_namelen correctly after receipt. 1058 105919 November 2018: Wouter 1060 - Support SO_REUSEPORT_LB in FreeBSD 12 with the reuseport: yes 1061 option in nsd.conf. 1062 - Fix #4202: nsd-control delzone incorrect exit code on error. 1063 - Tab style fix to use tab for 8 spaces, from Xiaobo Liu. 1064 106525 October 2018: Wouter 1066 - Adjust dnstap socket path for chroot. 1067 106822 October 2018: Wouter 1069 - Fix #4194: Zone file parser derailed by non-FQDN names in RHS of 1070 DNSSEC RRs. 1071 - Fix some more, neater code and checks for domain length limit. 1072 - check that the dnstap socket file can be opened and exists, print 1073 error if not. 1074 10754 October 2018: Wouter 1076 - dnstap work, the dnstap.proto is a copy of the file from Unbound, 1077 also dnstap.m4 configure include file. 1078 - dnstap collector: free eventbase and memclean nicer. 1079 - dnstap collector: send data and read it in collector. 1080 - dnstap/dnstap.c and .h from Unbound's contribution from 1081 Farsight Security, added to then adapt it for dnstap logging in NSD. 1082 - dnstap.c with auth query and auth response, and called from 1083 the collector. 1084 - dnstap work, config nsd.conf parse. 1085 - dnstap example config. 1086 108725 September 2018: Wouter 1088 - NSD 4.1.25 released, trunk has 4.1.26 in development. 1089 109018 September 2018: Wouter 1091 - tag for NSD 4.1.25rc1. 1092 109317 September 2018: Wouter 1094 - Fix #4156: Fix systemd service manager state change notification 1095 109614 September 2018: Wouter 1097 - Remove unused if clause during server service startup. 1098 109913 September 2018: Wouter 1100 - Fix typo in clang analysis test. 1101 - Annotate exit functions with noreturn. 1102 - nsd-control prints neater errors for file failures. 1103 110412 September 2018: Wouter 1105 - clang analysis test. 1106 110711 September 2018: Wouter 1108 - Fix to combine the same error function into one, from Xiaobo Liu. 1109 - Fix initialisation in remote.c. 1110 - please clang analyzer and fix parse of IPSECKEY with bad gateway. 1111 - Fix unit test code for clang analyzer. 1112 - Fix nsd-checkconf fail on bad zone name. 1113 111410 September 2018: Wouter 1115 - Fix coding style in nsd.c 1116 11177 September 2018: Wouter 1118 - append_trailing_slash has one implementation and is not repeated 1119 differently. 1120 11214 September 2018: Wouter 1122 - Fix codingstyle in nsd-checkconf.c in patch from Sharp Liu. 1123 112415 August 2018: Wouter 1125 - Fix use_systemd typo/leftover in remote.c. 1126 112713 August 2018: Wouter 1128 - tag for 4.1.24 release. 1129 - trunk is 4.1.25 in development. 1130 - Fix that nsec3 precompile deletion happens before the RRs of 1131 the zone are deleted. 1132 - Fix printout of accepted remote control connection for unix sockets. 1133 11346 August 2018: Wouter 1135 - tag for 4.1.24rc1 release. 1136 113730 July 2018: Wouter 1138 - Tag for NSD 4.1.23 release, trunk is 4.1.24, includes 1139 fix NSD time sensitive TSIG compare vulnerability. 1140 - Fix checkconf test for use-systemd option. 1141 114225 July 2018: Wouter 1143 - #4133: Fix that when IXFR contains a zone with broken NSEC3PARAM 1144 chain, NSD leniently attempts to find a working NSEC3PARAM. 1145 114623 July 2018: Wouter 1147 - Remove socket activation from systemd code, it was reported as 1148 not useful to enable. The readiness signalling is still there, 1149 and can be enabled with use-systemd: yes. 1150 - Only call sd_notify from systemd when use-systemd is yes. 1151 11526 July 2018: Wouter 1153 - RFC8162 support, for record type SMIMEA. 1154 - Fix that type CAA (and URI) in the zone file can contain 1155 dots when not in quotes. 1156 115726 June 2018: Wouter 1158 - configure --enable-systemd (needs pkg-config and libsystemd) can 1159 be used to then use-systemd: yes in nsd.conf and use socket 1160 activation and readiness signalling with systemd. 1161 116219 June 2018: Wouter 1163 - #4106: Fix that stats printed from nsd-control are recast from 1164 unsigned long to unsigned (remote.c). 1165 116614 June 2018: Wouter 1167 - Fix that first control-interface determines if TLS is used. Warn 1168 when IP address interfaces are used without TLS. 1169 117012 June 2018: Wouter 1171 - #4102: control interface via local socket. 1172 configure it with control-interface: "/path/nsd.ctl" The path 1173 has to start with a / to separate it from an IP address. 1174 The local socket does not use SSL, but unencrypted traffic, use 1175 file and containing directory permissions to restrict access. 1176 11776 June 2018: Wouter 1178 - Patch to fix openwrt for mac os build darwin detection in configure. 1179 11804 June 2018: Wouter 1181 - tag for 4.1.22rc1. Became 4.1.22 on 11 June, trunk is 4.1.23 in 1182 development from this point. 1183 118431 May 2018: Wouter 1185 - Fix to use same condition for nsec3 hash allocation and free. 1186 118723 May 2018: Wouter 1188 - Use accept4 to speed up answer of TCP queries, on Linux and FreeBSD 1189 and OpenBSD. 1190 119122 May 2018: Wouter 1192 - Fix nsec3 hash of parent and child co-hosted nsec3 enabled zones. 1193 119415 May 2018: Wouter 1195 - Fix memory free in unit test. 1196 119714 May 2018: Wouter 1198 - Tag for 4.1.21 release. 1199 - trunk has 4.1.22 in development. 1200 - refuse-any sends truncation (+TC) in reply to ANY queries over UDP, 1201 and allows TCP queries like normal. 1202 12037 May 2018: Wouter 1204 - Tag for 4.1.21rc1 release. 1205 12064 May 2018: Wouter 1207 - Fix #4093: Release notes not using 2018. 1208 12093 May 2018: Wouter 1210 - Fix buffer size warnings from compiler on filename lengths. 1211 121226 April 2018: Wouter 1213 - lower memory usage for tcp connections, so tcp-count can be higher. 1214 - Fix checkconf test for refuse-any option. 1215 12163 April 2018: Wouter 1217 - refuse-any nsd.conf option that refuses queries of type ANY. 1218 12195 March 2018: Wouter 1220 - Fix #3562: explain build error when flex missing. 1221 122220 February 2018: Wouter 1223 - For more clang warnings 1224 - Fix spelling error in xfr-inspect. 1225 122619 February 2018: Wouter 1227 - Fix for clang analysis complaints. 1228 122915 February 2018: Wouter 1230 - --enable-memclean cleans up memory for use with memory checkers, 1231 eg. valgrind. 1232 - Fix unused variable warnings from clang analyzer. 1233 123414 February 2018: Wouter 1235 - updated RELNOTES for upcoming release. 1236 - tag 4.1.20rc1, became release on 20 feb, trunk has 4.1.21 in 1237 development. 1238 12399 February 2018: Wouter 1240 - make depend: updated the make dependencies in the Makefile. 1241 12428 February 2018: Wouter 1243 - Fix memory leak when rehashing nsec3 after axfr or zonefile read, 1244 in the selectively allocated precompiled nsec3 hashes. 1245 12466 February 2018: Wouter 1247 - Fix memory leak in zone file read of unknown rr formatted RRs. 1248 124911 December 2017: Wouter 1250 - Add test for support of -Wno-address-of-packed-member for 1251 --enable-packed. 1252 - tag for release 4.1.19 1253 - trunk has 4.1.20 in development. 1254 12558 December 2017: Wouter 1256 - tag for 4.1.19rc1 1257 12587 December 2017: Wouter 1259 - Fixup lexer warning for gcc 4.2. 1260 12616 December 2017: Wouter 1262 - Fix 3392: Fix regression in 4.1.18 for notify lists with ip4 1263 and ip6 targets. 1264 12655 December 2017: Wouter 1266 - Fix spelling error in xfr-inspect. 1267 12681 December 2017: Wouter 1269 - Fix warnings emitted by clang for --enable-packed. Alignment is not 1270 a problem for x86_64, don't enable packed when the platform 1271 requires aligned access. 1272 127330 November 2017: Wouter 1274 - tag for 4.1.18 release. 1275 - trunk has 4.1.19 in development. 1276 - ignore fallthrough compiler warning in flex EOF rule. 1277 127827 November 2017: Wouter 1279 - Fix crash for DS query when parent and child zones both configured 1280 in nsd.conf and parent zone has not loaded properly. 1281 - tag for 4.1.18rc2. 1282 128316 November 2017: Wouter 1284 - tag for 4.1.18rc1. 1285 128614 November 2017: Wouter 1287 - Fix #2871: Increase number of sockets for xfrd transfers. 1288 12896 November 2017: Wouter 1290 - Set usage counts in namedb tree to uint32 to save memory. 1291 - Fix up debug content from nsec3 collision printout work. 1292 12932 November 2016: Wouter 1294 - make ip-transparent option work on OpenBSD. 1295 129611 October 2016: Wouter 1297 - Fix #1567: Change crit to err log level for gettimeofday failure. 1298 Add defines for compile without syslog. 1299 13009 October 2016: Wouter 1301 - Fix collision printout of nsec3 to print name, hash and reverse. 1302 13032 October 2016: Wouter 1304 - nsd-control zonestatus prints wait time between attempts, for zones 1305 that are in that waiting time. 1306 130719 September 2016: Wouter 1308 - merges feature branch branches/alloced_prehashes into trunk. 1309 131018 September 2016: Wouter 1311 - Fix #1446: A corrupted zone file "propagates" to good ones. 1312 131314 September 2016: Wouter 1314 - Fix layout in xfrd.c. 1315 13166 September 2017: Willem 1317 - Save memory by selectively allocate precompiled nsec3 hashes 1318 131929 August 2016: Wouter 1320 - With --enable-packed save memory, at expense of unaligned reads. 1321 - Fix writev compile warning on FreeBSD. 1322 132325 July 2016: Wouter 1324 - NSD sends up to 16 notifies simultaneously for up to 64 zones, 1325 to increase rate of notification for large master configurations. 1326 132724 July 2016: Wouter 1328 - Fix gcc 7.1.1 warnings. 1329 133017 July 2016: Wouter 1331 - Trunk has 4.1.18 1332 - xfr-inspect is part of source dir, but not made or installed by 1333 default. 1334 - retry timeout between sending notifies dropped from 15 to 3 sec. 1335 133613 July 2016: Wouter 1337 - tag 4.1.17rc1, and that became the 4.1.17 release on 21 July 2017. 1338 133929 June 2016: Wouter 1340 - make depend. 1341 134226 June 2016: Wouter 1343 - Fix text format of deletes for CDS and CDNSKEY, single 0 to represent 1344 empty base64 or hex string. 1345 134623 June 2016: Wouter 1347 - Fix potential null pointer in nsec3 adjustment tree. 1348 134915 June 2016: Wouter 1350 - xfr-inspect debug tool prints out xfr contents of files in tmp. 1351 13526 June 2016: Wouter 1353 - Fix #1272: use writev to put tcp length field with data for outgoing 1354 zone transfer requests. 1355 135616 May 2016: Wouter 1357 - zone parser parses type AVC (it has TXT format). 1358 135925 April 2016: Wouter 1360 - 4.1.16 release tag. 1361 - trunk contains 4.1.17 in development. 1362 136311 April 2016: Wouter 1364 - 4.1.16 rc1 tag for release. 1365 - minor manpage fix. 1366 13675 April 2016: Wouter 1368 - Patch for expire state in multi-master when masters includes 1369 broken master. 1370 137127 March 2016: Wouter 1372 - Fix 1243: Option to make NSD emit really minimal responses, 1373 minimal-responses: yes in nsd.conf. 1374 - but they give additional information for priming queries (type NS). 1375 13766 March 2016: Wouter 1377 - Fix 1228: OpenSSL include is not guarded with HAVE_SSL 1378 137928 February 2016: Wouter 1380 - Printout serial error with hint it may be too big. 1381 138220 February 2016: Wouter 1383 - Fix missing _t to _type conversion for disable-radix-tree option. 1384 138515 February 2016: Wouter 1386 - zone parser can parse acronyms for algorithms ED25519 and ED448. 1387 138813 February 2016: Wouter 1389 - Calculate new udb index after growing the array, fix from 1390 Chaofeng Liu. 1391 13927 February 2016: Wouter 1393 - tag for 4.1.15 rc1. Which became 4.1.15 on 16 Feb. Trunk 4.1.16. 1394 139519 January 2016: Wouter 1396 - Fix to rename _t typedefs because POSIX reserves them. 1397 13983 January 2016: Wouter 1399 - Fix #1195: Fix so that NSD fails on non-compliant values for Serial. 1400 140114 December 2016: Wouter 1402 - Squelch zone transfer error address family not supported by protocol 1403 at low verbosity levels. 1404 140513 December 2016: Wouter 1406 - Fix nsd-control and ipv6 only. 1407 14088 December 2016: Wouter 1409 - tag 4.1.14 1410 - trunk contains 4.1.15 in development. 1411 14121 December 2016: Wouter 1413 - Fix restart of zone transfers when new config becomes available. 1414 - tag 4.1.14rc1 1415 141625 October 2016: Wouter 1417 - Fix #1132 for SERVFAIL zones perform backoff, and remembers the 1418 timeout on next startup. 1419 - Save backoff timeout into xfrd.state file, this file has a higher 1420 version number now. Old files are skipped silently (causes 1421 refresh) and created as new files upon exit. 1422 - Set number of rounds to 1; NSD will try every master once, then 1423 wait for timeout or notify. 1424 - Fix axfr fallback for rounds to 1. 1425 142620 October 2016: Wouter 1427 - suppress compile warning in lex files. 1428 142918 October 2016: Wouter 1430 - Robust fix against missing master in tcp_open for xfrd. 1431 - More in depth fix for the previous. 1432 - Fix wildcards in include: config statements with chroot enabled. 1433 143427 September 2016: Wouter 1435 - NSD 4.1.13 tag. 1436 - trunk has 4.1.14 in development. 1437 - Fix null memcpy for radixtree with single link element. 1438 143919 September 2016: Wouter 1440 - Review comments Ralph: wrapped long lines and nicer example conf. 1441 144216 September 2016: Wouter 1443 - NSD 4.1.13rc1 tag. 1444 144515 September 2016: Wouter 1446 - Test for openssl init_crypto and init_ssl functions. 1447 144814 September 2016: Ralph 1449 - Fix OPENSSL_INIT_ADD_ALL_DIGESTS compatibility check 1450 145113 September 2016: Wouter 1452 - Fix double const in dname_const() function. 1453 - Silenced flex-generated sign-unsigned warning print with gcc 1454 diagnostic pragma. 1455 14568 September 2016: Wouter 1457 - more extensible edns option handling. 1458 14592 September 2016: Wouter 1460 - Release of 4.1.12; trunk is 4.1.13 and the patch for 4.1.12 (that 1461 does not contain the other changes to the trunk) is folded into 1462 the trunk. 1463 - Fix #827: fix compile with openssl 1.1.0 with api=1.1.0. 1464 146525 August 2016: Wouter 1466 - Fix multimaster for not tried full zone transfer for a expired zone. 1467 - Explain --disable-radix tree uses some more CPU. 1468 146922 August 2016: Wouter 1470 - Fix README spelling error of BSD license (reported by Joerg Jung). 1471 147219 August 2016: Wouter 1473 - for type SRV add A/AAAA to the additional section (if possible), 1474 just like we already do for type MX. 1475 147617 August 2016: Wouter 1477 - Add robustness against unallocated data in nsec3 trees. 1478 147916 August 2016: Wouter 1480 - configure --disable-radix-tree for about 15% lower memory usage. 1481 148212 August 2016: Wouter 1483 - Fix #817: xfrd update failed loop. 1484 14859 August 2016: Wouter 1486 - Can config key algorithms with the digest name, eg. 'sha256'. 1487 - default tsig algorithm is sha256. 1488 - Fix typo in log output, 'transfered' -> 'transferred'. 1489 - Fix compile warnings about signcompare in minmax retrytime. 1490 14918 August 2016: Wouter 1492 - Support syntax of RR type OPENPGPKEY from RFC 7929. 1493 14945 August 2016: Wouter 1495 - multi-master-check: yes can be used to check all masters for the 1496 last version, using the higher version from the configured masters, 1497 from Manabu Sonoda. 1498 - small fixups on patch. And fix spacing and remove configure flag. 1499 - Fix #812: make depend fails after distribution. 1500 15012 August 2016: Wouter 1502 - Fix unused result warnings from write and strtol. 1503 15041 August 2016: Wouter 1505 - Tag 4.1.11rc1. 1506 - Fix nsec3 missing for nsec3 signed parent and child for DS at zonecut. 1507 - Tag 4.1.11rc2. 1508 - trunk is 4.1.12 in development. 1509 15108 July 2016: Wouter 1511 - Note down tracking numbers for issue JVN#63359718 JPCERT#91251865. 1512 15135 July 2016: Wouter 1514 - Fix #790: size-limit-xfr can stop NSD from downloading infinite zone 1515 transfer data size, from Toshifumi Sakaguchi. 1516 151727 June 2016: Wouter 1518 - Set default for min-refresh-time and min-retry-time to 0. Behaves 1519 just like before, but has a configurable option in nsd.conf. 1520 - Fix #783: Trying to run a root server without having configured it 1521 silently gives wrong answers. 1522 152316 June 2016: Wouter 1524 - When tcp is more than half full, use short timeout for tcp session. 1525 - Patch for {max,min}-{refresh,retry}-time from YAMAGUCHI Takanori. 1526 - man page entries for max-refresh-time patch. 1527 152815 June 2016: Wouter 1529 - Fix build without IPv6, patch from Zdenek Kaspar. 1530 153114 June 2016: Wouter 1532 - release 4.1.10 and tag for that. 1533 - trunk has 4.1.11 in development. 1534 15357 June 2016: Wouter 1536 - Fix NSEC3 ent fix to use closest encloser, not wildcard denial. 1537 15382 June 2016: Wouter 1539 - Fix for NSEC3 with zone signed without exact match for empty 1540 nonterminals, the answer for that domain gets wildcard denial. 1541 - #772 Document that recvmmsg has IPv6 problems on some linux kernels. 1542 - tag for 4.1.10rc1. 1543 154431 May 2016: Wouter 1545 - print notice that nsd is starting before taking off. 1546 154720 May 2016: Wouter 1548 - Updated fix for nonterminal nsec3 answers. 1549 155019 May 2016: Wouter 1551 - Fix empty nonterminal nsec3 cover answers. 1552 155312 May 2016: Wouter 1554 - NSD includes AAAA before A for queries over IPV6 (in delegations). 1555 And TC is set if no glue can be provided with a delegation because 1556 of packet size. 1557 155819 April 2016: Wouter 1559 - Fix #755: NSD spins after a zone update and a lot of TCP queries. 1560 15617 April 2016: Wouter 1562 - If set without nsd.db print "" as the default in the man pages. 1563 15644 April 2016: Wouter 1565 - Fix #751: NSD fails to occlude names below a DNAME. 1566 156724 March 2016: Wouter 1568 - Fix for openssl 1.1.0, HMAC_CTX size not exported from openssl. 1569 157021 March 2016: Wouter 1571 - Update acx_nlnetlabs.m4 to version 33 with HMAC_Update test. 1572 - acx_nlnetlabs.m4 to v34, with -ldl -pthread test for libcrypto. 1573 157415 March 2016: Wouter 1575 - ip-freebind: yesno option in nsd.conf sets IP_FREEBIND socket option 1576 for Linux, binds to interfaces and addresses that are down. 1577 - Change the nsd.db file version because of nanosecond precision fix. 1578 - 4.1.9 release with the nsd.db file version fix (but not freebind), 1579 trunk contains 4.1.10 in development. 1580 158110 March 2016: Wouter 1582 - Tag 4.1.8 1583 - Trunk contains 4.1.9 in development. 1584 15852 March 2016: Wouter 1586 - Tag 4.1.8rc1 1587 15881 March 2016: Wouter 1589 - #744: Fix that NSD replies for configured but unloaded zone 1590 with SERVFAIL, not REFUSED. 1591 159216 February 2016: Wouter 1593 - RR type CSYNC (RFC7477) syntax is supported. 1594 159529 January 2016: Wouter 1596 - #739: zonefile changes when mtime is small are detected on reload, 1597 if filesystem supports precision mtime values. 1598 159919 January 2016: Wouter 1600 - Fix #736: segfault during zone transfer. 1601 160208 January 2016: Wouter 1603 - Define _DEFAULT_SOURCE with _BSD_SOURCE for recent Linuxes. 1604 160505 January 2016: Wouter 1606 - #732: tcp-mss, outgoing-tcp-mss options for nsd.conf, patch 1607 from Daisuke Higashi. 1608 160904 January 2016: Wouter 1610 - Updated acx_nlnetlabs to version 32. 1611 161211 December 2015: Wouter 1613 - Fix flto check for OSX clang. 1614 161510 December 2015: Wouter 1616 - 4.1.7 release 1617 - trunk has 4.1.8 in development. 1618 - take advantage of arc4random_uniform if available, patch from 1619 Loganaden Velvindron. 1620 16213 December 2015: Wouter 1622 - tag for 4.1.7rc1 prerelease. 1623 16242 December 2015: Wouter 1625 - configure --enable-ratelimit-default-is-off with --enable-ratelimit 1626 to set the default ratelimit to disabled but available in nsd.conf. 1627 - Document that ratelimit qps and slip are updated in reconfig. 1628 - version: "string" option to set chaos version query reply string. 1629 - Fix up defaults in manpage. 1630 16311 December 2015: Wouter 1632 - Explain rrl-slip better in documentation. 1633 163430 November 2015: Wouter 1635 - Fix TCP responses when REUSEPORT is in use by turning it off. 1636 - reuseport: no is the default, because the feature is not troublefree. 1637 - Document default in manpage for rrl-slip, ip4 and 6 prefixlength. 1638 163924 November 2015: Wouter 1640 - Fix zonec ttl mismatch printout to include more information. 1641 164218 November 2015: Wouter 1643 - RELNOTES more descriptive. 1644 - newer acx_nlnetlabs.m4. 1645 - spelling fixes from Igor Sobrado Delgado. 1646 164717 November 2015: Wouter 1648 - Fix #721: Fix wrong error code (FORMERR) returned for unknown 1649 opcode. NOTIMP expected. 1650 165116 November 2015: Wouter 1652 - Allocate less memory for TSIG digest. 1653 16546 November 2015: Wouter 1655 - Fixup for newer acx_nlnetlabs.m4, test for openssl version after 1656 testing for libdl need. 1657 16585 November 2015: Wouter 1659 - newer acx_nlnetlabs.m4, does not needlessly link with -ldl. 1660 166130 October 2015: Wouter 1662 - Fix tpkg tests for portability. 1663 166429 October 2015: Wouter 1665 - patch from Doug Hogan for SSL_OP_NO_SSLvx options. 1666 - updated contrib/nsd.spec, from Bálint Szigeti. 1667 - support configure --with-dbfile="" for nodb mode by default, where 1668 there is no binary database, but nsd reads and writes zonefiles. 1669 167027 October 2015: Wouter 1671 - portability fixes. 1672 167326 October 2015: Wouter 1674 - Init pfd for handlers added during handler-event-walk. 1675 167623 October 2015: Wouter 1677 - Fix many interfaces and zones updates from nsd parent event loop. 1678 167922 October 2015: Wouter 1680 - 4.1.6 release tag. 1681 - trunk contain 4.1.7 in development. 1682 168320 October 2015: Wouter 1684 - 4.1.6rc2 tag created. 1685 168619 October 2015: Wouter 1687 - Fix compile of zonec error message on FreeBSD. 1688 168915 October 2015: Wouter 1690 - 4.1.6rc1 tag created. 1691 169213 October 2015: Wouter 1693 - nsd-checkconf warns for master zones with no zonefile statement. 1694 - Fix start failure when many file descriptors are in use. 1695 - The servfail rcode is not printed with a space in the middle. 1696 - fixup file descriptor fixup nicer. 1697 - print failed token for config syntax error or parse error. 1698 169912 October 2015: Wouter 1700 - Fix #711: Document that debug-mode yes is used for staying 1701 attached to the supervisor console. 1702 - Document verbosity 3 prints more information. 1703 170430 September 2015: Wouter 1705 - makedist.sh print on pgp signature creation. 1706 170728 September 2015: Wouter 1708 - Fix typo in zonec.c inside error message. 1709 171024 September 2015: Wouter 1711 - Fix #701: Fix that AD=1 set in a BADVERS response. 1712 171321 September 2015: Wouter 1714 - Fix #706: default port 53 not opened on ip4 because of getaddrinfo 1715 hints initialisation failure. 1716 - 4.1.5 release tag 1717 - trunk contains 4.1.6 in development. 1718 17199 September 2015: Wouter 1720 - 4.1.4 release tag created. 1721 - trunk contains 4.1.5 in development. 1722 172331 August 2015: Wouter 1724 - 4.1.4rc1 tag created. 1725 172628 August 2015: Wouter 1727 - Fix #698 formatting errors and typos in nsd.8.in. 1728 - Add --enable-pie and --enable-relro-now options. 1729 173018 August 2015: Wouter 1731 - Admitted axfrs are logged at verbosity 1. Refused at verbosity 2. 1732 173317 August 2015: Wouter 1734 - Fixed checkconf test for reuseport setting. 1735 173614 August 2015: Wouter 1737 - SO_REUSEPORT does not work on FreeBSD. Enabled by default on Linux, 1738 not enabled by default on other OSes. 1739 17405 August 2015: Wouter 1741 - Fix that notify from nsd-control contains soa serial. 1742 17433 August 2015: Wouter 1744 - squelch SO_REUSEPORT failure on verbosity less than 3. 1745 174631 July 2015: Wouter 1747 - removed hardcoded interface limit, --with-max-ips removed. 1748 - SO_REUSEPORT support. 1749 175016 July 2015: Wouter 1751 - Fix #618: documented need to list ip-addresses separately in 1752 nsd.conf if there are multiple, because the source address of 1753 replies can otherwise go wrong. 1754 175510 July 2015: Wouter 1756 - Fix that for expired zones NSD performs an AXFR and accepts newer 1757 and older serial numbers. 1758 - Document that minimal responses only minimizes responses to fit 1759 in one datagram. It does not minimize smaller responses. 1760 17612 July 2015: Wouter 1762 - Fix NSID response for short edns sizes. 1763 176423 June 2015: Wouter 1765 - Trunk contains 4.1.4 in development. 1766 17674 June 2015: Wouter 1768 - Tag 4.1.3rc1 1769 - improve nsd-control usage text. (23 june - added to 4.1.3) 1770 - RFC7553 RR Type URI support. 1771 17722 June 2015: Wouter 1773 - Fix redefined macro lex warning for freebsd flex. 1774 177529 May 2015: Wouter 1776 - Fix that formerrors are ratelimited. 1777 177819 May 2015: Wouter 1779 - max-interfaces raised to 32. 1780 178118 May 2015: Wouter 1782 - removed unused defines for unofficial tsig-hmac algorithm codes. 1783 The TSIG algorithm is identified by name in the config file. 1784 178514 May 2015: Wouter 1786 - hmac sha224, sha384 and sha512 support, patch from David Gwynne. 1787 178823 April 2015: Wouter 1789 - Fix crash in zone parser for relative dname after error in origin. 1790 - Test for zone parser failures 1791 179221 April 2015: Wouter 1793 - nsd-control addzones and delzones read list of zones from stdin. 1794 - Fix task and zonestat files to be stored in a subdirectory in tmp 1795 to stop privilege elevation. 1796 - printout names for successful addition and removal with bulk command. 1797 179820 April 2015: Wouter 1799 - Fix #665: when removing subdomain, nsd does not reparse parent zone. 1800 180114 April 2015: Wouter 1802 - trunk contains 4.1.3(upcoming). 1803 18047 April 2015: Wouter 1805 - Tag 4.1.2rc2. 1806 18072 April 2015: Wouter 1808 - Made log message more consistent, changed 'axfr refused' log message 1809 to be more consistent with other messages. Also notify refused. 1810 - verbosity 2 logs axfr refused and notify refused. 1811 verbosity 1 contains less log messages. 1812 181331 March 2015: Wouter 1814 - Tag 4.1.2rc1. 1815 181624 March 2015: Wouter 1817 - Fix #654: Fix contradiction in notify logging verbosity level. 1818 - Incoming notifies have serial number logged (at verbosity 1). 1819 - Fix #655: Fix contradiction in verbosity for zone transfers. 1820 182117 March 2015: Wouter 1822 - Use reallocarray for integer overflow protection, patch submitted 1823 by Loganaden Velvindron. 1824 - Fix allocation integer overflow checks. 1825 182613 March 2015: Wouter 1827 - Fix buffer overflow in config parse of domain name, 1828 reported by John Van de Meulebrouck Brendgard. 1829 183012 March 2015: Wouter 1831 - Updated default keylength in nsd-control-setup to 3k. 1832 183310 March 2015: Wouter 1834 - Fix use after free after zonefile syntax error followed by ttl 1835 or origin directive, reported by John Van de Meulebrouck Brendgard. 1836 - Fix syntax error followed by too many TXT elements parse crash 1837 reported by John Van de Meulebrouck Brendgard. 1838 18399 March 2015: Wouter 1840 - Fix origin directive from unused old value and subdomain parser 1841 failure, reported by John Van de Meulebrouck Brendgard. 1842 18432 March 2015: Wouter 1844 - Fix b64pton out of bounds error on invalid zonefile input 1845 reported by John Van de Meulebrouck Brendgard. 1846 184720 February 2015: Wouter 1848 - Fix segfault on double origin in zone reader (thanks John Van de 1849 Meulebrouck Brendgard). 1850 185119 February 2015: Wouter 1852 - Remove dead code domain_table_iterate. 1853 - Fix segfault in zone reader on invalid input 1854 reported by John Van de Meulebrouck Brendgard. 1855 18565 February 2015: Wouter 1857 - Fix #642: Change 'zone read with no errors' to '.. with success'. 1858 Patch from Benedikt Heine. 1859 18603 February 2015: Wouter 1861 - Tag 4.1.1 release 1862 - Trunk is 4.1.2 in development. 1863 - Remove some duplicate header includes (from Brad Smith). 1864 - Fix tcp waiting list for zone transfers where the bind and connect 1865 calls fail. 1866 186729 January 2015: Wouter 1868 - Fix zonesdir chroot error message. 1869 187028 January 2015: Wouter 1871 - correct some hyphen-used-as-minus-sign (from Andreas Schulze) in 1872 man pages. 1873 187427 January 2015: Wouter 1875 - Tag 4.1.1rc1 1876 187721 January 2015: Wouter 1878 - Synthesize CNAMEs with same TTL as DNAME. 1879 188012 January 2015: Wouter 1881 - Fix casts for ctype functions (from Todd Miller). 1882 - nsd-checkconf -f prints out full name of pidfile (with dir). 1883 18849 January 2015: Wouter 1885 - Fix bug#637: fix that nsd.db grows limitlessly, an off by one 1886 on one megabyte free chunks, created during AXFRs of large zones, 1887 that caused the one megabyte chunk to be leaked. 1888 - Fix udb-inspect for one megabyte chunks, counts and statistics. 1889 18906 January 2015: Wouter 1891 - Fix spinning NSD with lots of failing transfers, due to pointer 1892 comparison using void pointer subtraction (from Otto Moerbeek). 1893 18945 January 2015: Wouter 1895 - Patch nsd_munin_ from Philip Paeps to use type ABSOLUTE. 1896 18974 Nov 2014: Wouter 1898 - Document zonestat config, and nsd-checkconf access. 1899 19003 Nov 2014: Wouter 1901 - Fix that failure to add tcp to tcp base does not leak the socket. 1902 190327 Oct 2014: Wouter 1904 - Disabled use of SSLv3 in nsd-control. 1905 - zonestats are cleared (or not, with stats_noreset). 1906 190722 Oct 2014: Wouter 1908 - Test for wildcard fix (from 3.2). 1909 191016 Oct 2014: Wouter 1911 - Fixes for wildcard addition and deletion, speedup for some cases. 1912 191315 Oct 2014: Wouter 1914 - Fix that queries for noname CH TXT are REFUSED instead of nodata. 1915 191614 Oct 2014: Wouter 1917 - per zone statistics with --enable-zone-stats, configure with 1918 zonestats: "zonestatidentifier", zones with the same id are added. 1919 192010 Oct 2014: Wouter 1921 - Fix #616: retry xfer for zones with no content after command. 1922 - Fix char used as array index warnings on NetBSD. 1923 19248 Oct 2014: Wouter 1925 - Fix "xfrd_handle_ipc: bad mode" log errors when compiled 1926 with --disable-bind8-stats. 1927 192818 Sep 2014: Wouter 1929 - Fix that expired zones stay expired after a server restart. 1930 193115 Sep 2014: Wouter 1932 - RFC 7344: CDS and CDNSKEY (read in). 1933 19344 Sep 2014: Wouter 1935 - Tag 4.1.0. 1936 - trunk is 4.1.1 in development. 1937 - fix manpage for nsd-checkzone to have version and date. 1938 193929 Aug 2014: Wouter 1940 - Fix install of the nsd-checkconf man page. 1941 194228 Aug 2014: Wouter 1943 - Tag 4.1.0rc1 1944 194525 Aug 2014: Wouter 1946 - Increased default --with-max-ips from 8 to 16, this increases the 1947 number of interfaces you can specify in nsd.conf to listen to. 1948 194919 Aug 2014: Wouter 1950 - Remove .LP after .SH in man pages. 1951 19527 Aug 2014: Wouter 1953 - Fix for process swap of main and reload, reload failure from the 1954 pipe is acted on, and reload fail not cause nsd to shutdown, also 1955 ignore sigchlds from the servermain in reload, that would cause 1956 EINTR to break file reads. 1957 - trunk has version 4.1. 1958 19595 Aug 2014: Wouter 1960 - Fix #600: document that provide-xfr provides AXFR and not IXFR. 1961 - remove program group fix, because it is not needed. 1962 - Fix rising-load-average or memory-leaks in OSes (Linux since 2.6), 1963 that keep track of all past process parents, or leak memory 1964 for them. Fix makes it so there is no very deep string of 1965 process parents. 1966 The reload process is now the process parent of servermain. That 1967 makes signals for children arrive at the reload, and servermain 1968 has to use closed pipes to detect that children have exited. 1969 19701 Aug 2014: Wouter 1971 - Set program group on main process and its child processes, and 1972 kill them on a reload. 1973 197420 July 2014: Wouter 1975 - Fix endian.h include for OpenBSD. 1976 197715 July 2014: Wouter 1978 - Fix -O3 compile flag to -O2 to avoid miscompilations. 1979 - Allow user to override the -g -O2 CFLAGS in ./configure. 1980 198111 July 2014: Wouter 1982 - fix strptime implicit declaration error on OpenBSD. 1983 19849 July 2014: Wouter 1985 - removed unnecessary arc4random_uniform. 1986 19878 July 2014: Matthijs 1988 - fake-rfc2553 patch (thanks Benjamin Baier). 1989 19908 July 2014: Wouter 1991 - wait and reap processes that are not part of the process group. 1992 19937 July 2014: Wouter 1994 - Code review fixup from NSD3. 1995 199630 Jun 2014: Wouter 1997 - Fix #590: rrl log does not print wildcard as a star but escaped. 1998 - Fix #591: rrl log messages at verbosity level 1. 1999 (If that does not work for everyone, we need rrl-log: yesno option). 2000 200127 Jun 2014: Wouter 2002 - Fixup rr-test test so that it does not fail on the #553 string. 2003 200417 Jun 2014: Matthijs 2005 - Fix #587: Default value for statistics is 0. 2006 - Remove the shift-reduce conflicts from the bug#553 fix. 2007 20085 Jun 2014: Wouter 2009 - Fix roundrobin cornercase for truncated packets. 2010 - round-robin: yesno in nsd.conf enabled round robin rotation. 2011 201228 May 2014: Wouter 2013 - Fix #585: yylex_destroy missing, cannot compile on RHEL 5.x. 2014 - Fix #583: Round-robin for records in the Answer section. 2015 201622 May 2014: Wouter 2017 - Fix zonefile parse with no whitespace before semicolon comments. 2018 201916 May 2014: Wouter 2020 - xfrd reaps children on a timer as well, similar to server_parent. 2021 20228 May 2014: Wouter 2023 - Fix #564: nsd-checkzone tool to check zonefile correctness. 2024 20257 May 2014: Wouter 2026 - Fix #577: makefile incorrectly installed manpages from srcdir. 2027 202830 April 2014: Wouter 2029 - Fix that xfrd reaps all children on every eventloop, because some 2030 exited reloads may attach here and need reaping, also if the signal 2031 is lost. 2032 203323 April 2014: Wouter 2034 - Fix progress printout for very large zones (numeric overflow). 2035 203610 April 2014: Wouter 2037 - Fix write_socket return value check in server.c (Thanks Brad Smith, 2038 Mark Kettenis). 2039 20408 April 2014: Wouter 2041 - nsd-control addzone reports if zone already exists. 2042 20437 April 2014: Wouter 2044 - Fix #571: unused variable and incompatible pointer warnings when 2045 compiled on a system without INET6. 2046 204727 March 2014: Wouter 2048 - Fix delete or rename of a lot of zones and make it take a 2049 non-enormous time. Database compaction is deferred. 2050 - Speed up deletion of zone contents a lot, (56s to 1s), speeds up 2051 delete, rename and AXFR for zones. Defer emptynonterminal checks. 2052 - Better example config in nsd.conf manual page. 2053 - log-time-ascii option, default yes, with readable timestamp in log. 2054 205525 March 2014: Wouter 2056 - nsd shuts down during init process if given signal. 2057 - shorter logging for zone transfer fail rcodes. 2058 205924 March 2014: Wouter 2060 - include: "foo/nsd.d/*.conf" works, wildcard glob on includes. 2061 - Fix print filename of encompassing config file on read failure. 2062 206321 March 2014: Wouter 2064 - Fix bug in nodatabase mode with ixfrs that change nsec3param 2065 (Thanks Anand Buddhdev). 2066 - Changed maxbackoff for no-content secondary zones from 4h to 24h. 2067 - nocontent zones are checked on startup, but continue backoff 2068 from stored xfrd.state values. 2069 207019 March 2014: Wouter 2071 - made database: "" set the 3600 default for zonefileswrite only 2072 if it is also at its default, so that user settings override. 2073 - Unit test for zonefiles-write. 2074 - Write xfrd.state for nodb mode again. Disable xfrd.state with 2075 xfrdfile: "" in config. Does not check slave zone if state is 2076 same as last time on startup. 2077 - Fixed shutdown message sporadically not printed on exit. 2078 - Documented zonefile %s syntax in nsd.conf man page. 2079 - Fix manpage to put colon after zonefiles check and write. 2080 - Change from 'Zone" to "zone" with ".. serial .. is updated" log 2081 message. 2082 208318 March 2014: Wouter 2084 - unit test for nodb mode. 2085 - Speed up zone write (.nl zonefile 30% faster). 2086 The memory alloc-dealloc in print_rr has been moved to print_rrs. 2087 - (from 3.2), fix for #553 and for other TXT string syntax. 2088 - in nodb mode, xfrd.state is not written out, because the zones 2089 are refreshed upon next startup anyway, so keeping timers and state 2090 is unnecessary. 2091 - zonefiles-write option in nsd.conf, enabled when database is "". 2092 The server writes changed zonefiles to disk every hour. 2093 209417 March 2014: Wouter 2095 - Speed up zone parsing (.nl reads 40% faster). 2096 The rrtype_from_string routine is called often, optimised it. 2097 209814 March 2014: Wouter 2099 - tag 4.0.3 2100 - trunk has 4.0.4 in development. 2101 - database: "" starts without mmap of database. Less memory is used, 2102 zones are read from text zonefile. 2103 210413 March 2014: Wouter 2105 - Fix nsd.db unclean close check. Previous databases are considered 2106 unclean by the code and are created anew. 2107 - Adds nsd.db larger than 400Tb check for sanity. Also test if 2108 filesize as documented in the file is correct. 2109 - nsd waits for tasks to complete on stop, prevents nsd.db corruption. 2110 - fix to not delete tmpdir too early in shutdown process. 2111 211212 March 2014: Wouter 2113 - tag 4.0.2 2114 - trunk has 4.0.3 in development. 2115 - disabled udb checking functionality that made it very slow, 2116 this was enabled when enable-checking was turned on. 2117 211827 February 2014: Wouter 2119 - tag 4.0.2rc1 2120 212126 February 2014: Wouter 2122 - Fix that NSD will delete and recreate not-clean-closed databases. 2123 212420 February 2014: Wouter 2125 - Fix from 3.2: make SOA RDATA comparisons in XFR more lenient (only 2126 check serial). 2127 212818 February 2014: Wouter 2129 - Fix leak of zone name after zonefile read. 2130 - Fix malloc too large that would be leaked in the radix tree. 2131 213214 February 2014: Wouter 2133 - configure change for easier compile on Minix. 2134 213510 February 2014: Wouter 2136 - Fix #552: zonefile loads on nsd-control reconfig when the name 2137 of the file has changed. 2138 21397 February 2014: Wouter 2140 - Fix #551: change Regent to Copyright holder in the LICENSE, 2141 to match the definition on opensource.org for the BSD License. 2142 21433 February 2014: Wouter 2144 - Disabled recvmmsg and sendmmsg usage by default because kernel 2145 versions have implementation issues: ipv6 ignored, security issues. 2146 - Detect libevent2 install automatically by configure, and use 2147 event2 header files if necessary. 2148 - Fixup link with lib/event2 subdir. 2149 215030 January 2014: Wouter 2151 - Fix expired zones to give SERVFAIL, also when parent zone loaded. 2152 215327 January 2014: Wouter 2154 - tag 4.0.1. 2155 - trunk is 4.0.2 in development. 2156 - rcode REFUSED for queries to non-hosted zones. 2157 - documented nsd-control zonestatus output in nsd-control manpage. 2158 - remove mention of nsdc from nsd-checkconf manpage. 2159 216021 January 2014: Wouter 2161 - tag 4.0.1rc2 2162 216320 January 2014: Wouter 2164 - Fix #546: output format errors in nsd_munin_ (Thanks Tom Hendrikx). 2165 216617 January 2014: Wouter 2167 - Fix type CAA. 2168 - Fix type EUI48. 2169 - nsid can be set with "ascii_somestring" in ascii. 2170 - Fix printout of high-chars in TXT on NetBSD. 2171 217216 January 2014: Wouter 2173 - Unit test for WKS failure. 2174 217515 January 2014: Wouter 2176 - tag 4.0.1rc1 2177 217813 January 2014: Wouter 2179 - Check if configure in srcdir collides with outofdir build. 2180 218110 January 2014: Wouter 2182 - Fix that chroot is removed from zonefile names (for absolute names). 2183 21849 January 2014: Wouter 2185 - Fix that bad IXFR updates do not result in double SOA records, 2186 and that an AXFR is started (attempted) when the zone state seems 2187 to be inconsistent with the master's zone state. 2188 21898 January 2014: Matthijs 2190 - Bugfix #542: Match RRSIG TTL with SOA TTL in negative response. 2191 21927 January 2014: Wouter 2193 - Fix xfrd when zone transfer TCP contains zero length packets. 2194 - Fix for NSEC3 zones where parent zone is co-hosted, also NSEC3, 2195 because AXFRs overwrote nsec3 administration in the child zone. 2196 21972 January 2014: Wouter 2198 - Log ip address for sendto and sendmmsg failures. 2199 22004 December 2013: Matthijs 2201 - Support for CAA RRtype (RFC 6844). 2202 220326 November 2013: Wouter 2204 - Fix segfaults after read of zones with rr type WKS from zonefile. 2205 - Seed PRNG for openssl at start of daemon, fixes SSL connection issue. 2206 220725 November 2013: Wouter 2208 - (same as in 3.2.16): fix wildcard cname to nxdomain repeated rrset. 2209 221011 November 2013: Wouter 2211 - Fix bug#534: IXFR query loop over UDP for zones that are unchanged. 2212 221311 November 2013: Matthijs 2214 - EUI48 and EUI64 is now RFC 7043 2215 22165 November 2013: Wouter 2217 - Accept interface: as an alternative for ip-address: for 2218 consistency with unbound.conf syntax. 2219 222029 October 2013: Wouter 2221 - tag for 4.0.0 release. 2222 - trunk has 4.0.1 in development, for bug fixes. 2223 222424 October 2013: Wouter 2225 - Fixup zone change code. 2226 - tag 4.0.0rc3. 2227 222821 October 2013: Matthijs 2229 - Initialize xfrd zone when changing zone from master to slave 2230 and delete xfrd zone when changing zone from slave to master. 2231 223214 October 2013: Wouter 2233 - tag 4.0.0rc2. 2234 223514 October 2013: Matthijs 2236 - Additional log messages with reason why RR to be deleted cannot be 2237 found. 2238 223914 October 2013: Wouter 2240 - Fix for zone transfer that has different-cased RRSIG signer names 2241 or NSEC next-owner names. 2242 22439 October 2013: Wouter 2244 - tsig errors on incoming tsig print key name and source IP of query. 2245 22468 October 2013: Wouter 2247 - Update documentation for nsd -d option. 2248 22497 October 2013: Wouter 2250 - Fix mini_event ev_once flag to be prettier (review comments Yuri). 2251 - tag 4.0.0rc1 recreated. 2252 22534 October 2013: Wouter 2254 - Fix bug where if you do not have flex, and then install flex, it 2255 would not make without a re-untar of the source. 2256 22573 October 2013: Wouter 2258 - Review changes from Matthijs. 2259 - doc/README updated, 'nsdc' is now removed. 2260 22611 October 2013: Wouter 2262 - Review commits from Matthijs. 2263 - doc/UPGRADING updated, review Yuri. 2264 226530 September 2013: Wouter 2266 - tag 4.0.0rc1 2267 - updated doc/RELNOTES 2268 226919 September 2013: Wouter 2270 - configure --disable-recvmmsg for compat with older Linux kernels, 2271 by default it autodetects support in the kernel on the buildmachine. 2272 227320 Aug 2013: Wouter 2274 - Fix time at 2038, uint32s changed to time_t, support 64bit time_t. 2275 227619 Aug 2013: Wouter 2277 - Fix use of 32bit time, for 2038, thanks to Theo de Raadt for patch. 2278 227913 Aug 2013: Wouter 2280 - Bugfix#518 Incorrect RRL prefix length option names in nsd.conf 2281 man page from Ville Mattila. 2282 22839 Aug 2013: Wouter 2284 - Fix that xfrd, and nsd-control, does not stop responding when reload 2285 errors out. The pid is sent like it should by server_main. 2286 - Fix that EOF in quoted string error does not cause reload to exit. 2287 - Fixup errors from the stack code checker. 2288 22896 Aug 2013: Wouter 2290 - Removed use of random when arc4random is available. Thus, random 2291 and srandom are then not linked with the executable. 2292 229316 Jul 2013: Wouter 2294 - Fix segfault with no logfile and chroot (Thanks Patrik Lundin). 2295 229615 Jul 2013: Wouter 2297 - beta 5 tag. 2298 - trunk has beta6 named in configure. 2299 23009 Jul 2013: Wouter 2301 - unlink xfr file if transfer is stopped, timeouted or interrupted. 2302 And unlink xfr file in progress when the zone is deleted. 2303 23048 Jul 2013: Wouter 2305 - Increase tcpbacklog default to 256 (silently capped to 128 on BSD). 2306 For remote control keep it at 16, it has less TCP load. 2307 It does not actually increase TCP performance (some except), but 2308 reduces connection loss when there is a spike in TCP connections. 2309 23105 Jul 2013: Wouter 2311 - nsd-mem stores temp files in current dir because /tmp is too small. 2312 - printout pct parsed, read, nsec3 and written every 100.000 elements 2313 and after 5 seconds. For big zones. 2314 23153 Jul 2013: Wouter 2316 - region-allocator has list of large allocations, so delete is in O(1). 2317 - recursive readroutine for speedup of nsd.db reads (30%). 2318 - udb-inspect prints type summary of nodes in nsd.db. 2319 232028 Jun 2013: Matthijs 2321 - Update tmp serial in xfr checking. 2322 232328 Jun 2013: Wouter 2324 - nsd.db 12% smaller, no nsec3 hash storage. Also ups udb version 2325 because of the format change. printout udb write complete for 2326 debug. 2327 - Fix warning in labellength 0 code. 2328 232927 Jun 2013: Matthijs 2330 - Better XFR checking, fallback to AXFR (if allowed) if three 2331 malformed XFR packets have been seen. 2332 - zonec: Don't crash on domain names with label length 0. 2333 233425 Jun 2013: Matthijs 2335 - Rename --enable-eui-rrtypes to --enable-draft-rrtypes. 2336 233725 Jun 2013: Wouter 2338 - acx_nlnetlabs.m4 update, --disable-flto. 2339 234020 Jun 2013: Matthijs 2341 - Use IPV6 minimum MTU settings with TCP to reduce failures that 2342 are caused by delays in learning working PMTU when communicating 2343 through a tunnel. 2344 - Improved RRL logging: also print triggering query src addr and qtype 2345 (thanks Klaus Darilion). 2346 - Merge some minor stuff from NSD3.2 2347 234818 Jun 2013: Matthijs 2349 - Add rrl-slip config option (thanks Stephane Bortzmeyer). 2350 - Add rrl-ipv{4,6}-prefix-length config option. 2351 - Bug #496: Support for EUI48 and EUI64 RR types. 2352 235314 Jun 2013: Wouter 2354 - Optimizations: -O3 if possible (user can override CFLAGS), udp 2355 buffers are set to 1m by default (if socket options exist), 2356 use recvmmsg and sendmmsg, or only recvmmsg, or recvfrom. 2357 235811 Jun 2013: Wouter 2359 - Fix memory leak in zone parser for txt record (since the large 2360 number of txt subsections fix). 2361 - Fix zone parser allocations to be in db region. 2362 - nsd-mem prints advice 2363 23645 Jun 2013: Wouter 2365 - Fix segfault on repeated reconfigs, double free of zone apex name. 2366 23674 Jun 2013: Wouter 2368 - Remove duplicate zlfile variable from options structure. 2369 237030 May 2013: Wouter 2371 - Fix nsd-mem for printout of values above 4G. 2372 237316 May 2013: Wouter 2374 - Patch from Lukas Wunner that makes chroot more consistent. 2375 Make all paths absolute with the chrootdir in front, or use 2376 an absolute zonesdir with other patsh relative to that. 2377 23783 May 2013: Wouter 2379 - Fix race on exit of nsd, for restarts, so that the pidfile-pid 2380 process waits until port53 has been closed before exiting. 2381 - update acx_nlnetlabs.m4 to v23, sleep w32 fix. 2382 238329 April 2013: Wouter 2384 - Remove unused pointer and fixup chroot include for trail slash. 2385 238626 April 2013: Wouter 2387 - Patch from Lukas Wunner that makes nsd.conf include files work 2388 inside chroot/etc environments on repattern and reconfig. 2389 239025 April 2013: Matthijs 2391 - New config option "ip-transparent:", to bind to non local addresses 2392 (thanks Arjen Zonneveld). 2393 - RRtypes ASFDB, RP, RT should not compress dnames (thanks Peter 2394 van Dijk). 2395 239619 April 2013: Wouter 2397 - own snprintf, fix use of snprintf return value (in debug print). 2398 239918 April 2013: Wouter 2400 - fix bug #491: pick program name (0th argument) as syslog identity. 2401 24029 April 2013: Wouter 2403 - Bug #494: Exit with return code 1 if socket code fails. (from 3.2) 2404 - Fix B64_NTOP replacement definitions in configure.ac. 2405 240626 March 2013: Wouter 2407 - update lookup3.c with better endianness detection. 2408 240925 March 2013: Wouter 2410 - faster nsec3 updates. 2411 - Fixup contrib/bug390.patch for 4.0.0b4. 2412 - remove leak of nsec3. 2413 - allocate radixtree in region for small (5%) total savings and 2414 about 15% savings in the radixtree itself (due to many small alloc 2415 savings in region). 2416 241722 March 2013: Wouter 2418 - use less memory for non-nsec3, nsec3tree. 2419 242018 March 2013: Wouter 2421 - update nsd-mem with pretty printout and RRL count. 2422 242314 March 2013: Wouter 2424 - Fix memory statistics in nsd_munin_. 2425 24268 March 2013: Wouter 2427 - nsd-mem tool initial commit. 2428 24297 March 2013: Wouter 2430 - notify information is logged at correct verbosity level, 1. 2431 24325 March 2013: Matthijs 2433 - Add hash to rrl bucket 2434 24355 March 2013: Wouter 2436 - Fixup the growth and shrinkage of nsd.db. This should use less 2437 calls to remap and change the file and mmap size. 2438 243915 February 2013: Wouter 2440 - Fix compile on bigendian netbsd alpha. 2441 - Fixup tests for older dig (check if +noedns option is supported) 2442 244311 February 2013: Matthijs 2444 - Fix outgoing-interface: Don't fail if family is IPv6 but 2445 only IPv4 outgoing-interface is set, or vice versa. 2446 244711 February 2013: Wouter 2448 - fix tcp zonetransfer pipeline lookup function. 2449 - remove compiler warning for memset from tsig read. 2450 24517 February 2013: Wouter 2452 - detect endianness in lookup3 on BSD, patch from Brad Smith. 2453 - nsd-control verbosity prints out verbosity level without argument. 2454 - nsd-control status prints out ratelimit if ratelimit is enabled. 2455 24565 February 2013: Wouter 2457 - Fix that old zonefile does not override newer AXFR for slave zones. 2458 - Nicer printout of notify. 2459 - beta4 2460 24614 February 2013: Wouter 2462 - Fix AXFR of NSEC3 slave zone. 2463 24641 February 2013: Wouter 2465 - Less printout of 'bad transfer'. 2466 246731 January 2013: Wouter 2468 - Fix that nsec3 zones are precompiled when read from udb. This 2469 caused assertion failures. 2470 - Fix is_apex flag for zones read from udb. 2471 247229 January 2013: Matthijs 2473 - RRL documented in nsd.conf.sample 2474 247529 January 2013: Wouter 2476 - printout log less verbosely, not every axfr packet. 2477 - remove printout of "bad transfer" to the log for notimpl. 2478 - fixup tests for new netstat and new netcat. 2479 248025 January 2013: Wouter 2481 - fix gcc warning, do not use uninit value for rng init. 2482 - fix zonefiles-check: entry in nsd.conf 2483 - remove -fwhole-program gcc flag usage. We cannot reliably detect 2484 if it works without failure. 2485 248623 January 2013: Wouter 2487 - beta3 2488 248922 January 2013: Wouter 2490 - Fix time calculation of zone transfer. 2491 - log ip address with tcp failure. 2492 249321 January 2013: Wouter 2494 - Improve tabs in sample nsd.conf for different tabsizes. 2495 - Fix segv if xfrdir does not exit. 2496 - create xfrdir on make install (does not remove on make uninstall, 2497 because this could be /tmp). 2498 - do not leave task files in /tmp if nsd fails to startup because 2499 of file permissions. 2500 - do-ip4 and do-ip6 nsd.conf options just like unbound. 2501 - fixed testset for dig9 default with edns. 2502 250318 January 2013: Wouter 2504 - Fix configure for gentoo gcc and headers. 2505 - List libevent in README. 2506 - Tabs and spaces nicer in nsd.conf.sample. 2507 - Fix spurious assertion failure for some rrl blocks. 2508 250916 January 2013: Wouter 2510 - Added zonefiles-check option, default yes, check mtimes of zone files 2511 on sighup and startup (from Robin Hack). 2512 251315 January 2013: Wouter 2514 - documented that the _implicit_ pattern names are used internally. 2515 251610 January 2013: Wouter 2517 - updated RELNOTES. 2518 - applied patch from Robin Hack to remove double pid file truncation. 2519 - repattern is called reconfig (because most config options are 2520 picked up, except for superuser options (chroot, logfile, port)). 2521 - document that the zonefile attribute can be empty. 2522 25239 January 2013: Wouter 2524 - 4.0.0b2 is beta2 version tag. 2525 25268 January 2013: Matthijs 2527 - Merge changes from 3.2.15 with trunk: 2528 * Update docs: CREDITS, NEW-CFG-OPTION, REQUIREMENTS, 2529 RELNOTES, TODO 2530 * Update dname_test.tpkg test. 2531 * TSIG init only fails if no digests at all can be found. 2532 * Remove unused tsig_get_algorithm_by_id code (was used by 2533 nsd-xfer). 2534 * Fix some fd leaks. 2535 * Bug #485: Fallback to DEFAULT_TTL if MSB is set. 2536 * Fix RCODE when xNAME loop final answer not exist to NXDOMAIN. 2537 25388 January 2013: Wouter 2539 - Fix make outside of source directory. 2540 25417 January 2013: Wouter 2542 - fixed uninit variable for empty zone axfr request 2543 - fixed alloc of acl options for config zones so they can be deleted. 2544 - fixed that pattern name is copied, so that patterns stay the same. 2545 - repattern also rereads the zones in the config file and applies that 2546 to the running server. 2547 254821 December 2012: Wouter 2549 - --with-logfile sets the logfile inside the example documentation. 2550 - Fixed addzone and delzone inside chroot (thanks Will Pressly). 2551 255219 December 2012: Wouter 2553 - Fixup for libevent-2.1.2. 2554 255518 December 2012: Wouter 2556 - makedist makes sha256 for tarballs. 2557 - nsd-control start runs an absolute path to start sbin/nsd. 2558 255917 December 2012: Wouter 2560 - Fix for use with libev (no use of event.ev_flags). 2561 256212 December 2012: Wouter 2563 - 4.0.0b1 is beta1 version. 2564 256511 December 2012: Matthijs 2566 - Better ILNP RR parsing (thanks Stephane Bortzmeyer). 2567 256811 December 2012: Wouter 2569 - fix libevent=no signals on Solaris. 2570 - Fix handle of activated zones from timeout event. 2571 - contrib/nsd_munin_ updated with memory lookup for BSD. 2572 257310 December 2012: Wouter 2574 - implement --with-libevent=no. 2575 257610 December 2012: Matthijs 2577 - Bug #483: Better error messages for TSIG errors. 2578 - RFC 2845: If BADKEY or BADSIG, RCODE should be NOTAUTH. 2579 Also, continue TSIG verification if NOTAUTH. 2580 25817 December 2012: Wouter 2582 - stable pidfile, xfrd is process leader and forks server-parent. 2583 25845 December 2012: Wouter 2585 - NSD4_imp_6 tag. 2586 - trunk has imp_7 implementation. 2587 25884 December 2012: Wouter 2589 - NSD-RRL documented in manpage. 2590 25913 December 2012: Wouter 2592 - Fixup exit of server-child while notifies are incoming. 2593 259428 November 2012: Wouter 2595 - RRL implements classification type RRSIG. 2596 259726 November 2012: Wouter 2598 - Fix to make nsd.udb portable between 32bit and 64bit machines. 2599 - Fix to make udb mmap work for FreeBSD8 when it grows significantly. 2600 260123 November 2012: Wouter 2602 - Fix compiler warnings and fix blocking pipes. 2603 - default tcp-count set to 100. 2604 260521 November 2012: Wouter 2606 - Implement rrl log of unblock for collision. 2607 - imported TLSA and ILNP support from NSD3. 2608 260919 November 2012: Wouter 2610 - Fix bug 480: libevent use when tcp-count is hit caused hang (in NSD4). 2611 26129 November 2012: Wouter 2613 - Log when NSD-RRL stops a stream from being blocked. 2614 26158 November 2012: Willem 2616 - Fix AXFR. Loop through the zone to transfer only. 2617 26182 November 2012: Wouter 2619 - Fix bug 478: declaration after statement (for gcc 2.95). 2620 26211 November 2012: Wouter 2622 - Fix default settings for RRL. 2623 262430 October 2012: Wouter 2625 - review fixup of RRL SLIP response. 2626 - RRL uses dev/random at start, nonRRL does not. 2627 262826 October 2012: Wouter 2629 - nsd-control repattern also changes rrl-ratelimit and whitelist limit. 2630 263117 October 2012: Wouter 2632 - Fix alignment problem in zone transfer pipeline code. 2633 - Fix random generator generating negative. 2634 - Fix udb radtree strspace creation bug. 2635 263615 October 2012: Wouter 2637 - Fix activated zone does not interrupt transfer. 2638 - Log of connection failure for zone transfer is neater. 2639 264012 October 2012: Wouter 2641 - Fix invalid time argument in nsd control (for OpenBSD). 2642 264311 October 2012: Wouter 2644 - Fix build on OpenBSD (Thanks Oliver Peter). 2645 - tpkg for RRL. 2646 264710 October 2012: Wouter 2648 - implement nsd-checkconf option use of rrl-whitelist. 2649 26509 October 2012: Wouter 2651 - with --enable-ratelimit you enable ratelimiting, with verbosity 2 2652 it logs what is ratelimited for operational inspection. 2653 - unit test for rrl. 2654 - rrl uses mmap to save state across reloads. 2655 - rrl enum and u16 flags (dnskey type). 2656 - rrl whitelist and config. 2657 26588 October 2012: Wouter 2659 - Sync with unbound lookup3, has raninit value. 2660 26615 October 2012: Wouter 2662 - fix bug with event loop in zone transfer pipeline. 2663 - close xfrd_sock_p in server_child because otherwise due to use of 2664 kqueue, it gets a broken pipe when that process exits (on FreeBSD). 2665 26664 October 2012: Wouter 2667 - Fixup no use of internals ev_flags of libevent. 2668 26691 October 2012: Wouter 2670 - fix xfrd tcp skip. 2671 267221 September 2012: Wouter 2673 - tzset before chroot for correct timezone (from Camiel Dobbelaar). 2674 - pipeline support for AXFR and IXFR tcp queries. 2675 267611 September 2012: Wouter 2677 - writev support for TCP. 2678 267928 August 2012: Wouter 2680 - TXT records with components longer than 255 fail to parse, 2681 but without segfault, it continues processing with non NULL value. 2682 268327 August 2012: Wouter 2684 - libevent in server_child. 2685 268621 August 2012: Matthijs 2687 - Fix bug#464: Conditionally define MAXHOSTNAMELEN 2688 268920 August 2012: Wouter 2690 - Fix hang on exit in xfrd. 2691 - optimized socket counts for zone transfer speed. 2692 269313 August 2012: Wouter 2694 - Fix xfrd libevent events. 2695 269610 August 2012: Wouter 2697 - libevent in xfrd. 2698 269926 July 2012: Yuri 2700 - Prioritize notify sender for requesting XFR. 2701 (thanks Ilya Bakulin) 2702 270319 July 2012: Willem 2704 - Fix for VU#624931 CVE-2012-2978: NSD denial of service 2705 vulnerability from non-standard DNS packet from any host 2706 on the internet. 2707 http://www.nlnetlabs.nl/downloads/CVE-2012-2978.txt 2708 270918 July 2012: Wouter 2710 - Fix bug#460: man page correction - identity. 2711 27129 July 2012: Wouter 2713 - delete temporary transfer files on exit of xfrd and reload. 2714 - when tasks are applied, reload checks if it must exit between 2715 tasks, so that it can quickly exit when NSD is told to quit. 2716 - fix bug in apply_xfr that must use an udb_ptr because it shifts 2717 when new allocations are made. 2718 27196 July 2012: Wouter 2720 - add xfrdir: "/tmp" option and configure --with-xfrdir="/tmp". 2721 The nsd.task files and a subdirectory for zone transfers are 2722 created there. 2723 27242 July 2012: Wouter 2725 - fix checkconf unit test and add test for backwards compatibility 2726 for difffile: "x" statement. 2727 272829 June 2012: Wouter 2729 - Implemented /tmp/nsd.xfr.xxx/ to replace ixfr.db. So that nsdc 2730 patch is no longer needed. 2731 27328 June 2012: Wouter 2733 - Fix tpkg test cutest_qroot and rr-test for printout of algorithms 2734 as numbers, and copy of DO flag to the answer. 2735 - pick up fd fix from 3_2 branch: Some more fd >= 0 to fd != -1 fixes 2736 273731 May 2012: Matthijs 2738 - Sync with 3.2 branch 2739 274024 February 2012: Wouter 2741 - Fix for qtype ANY for a wildcard domain in NSEC signed zone. 2742 27439 February 2012: Wouter 2744 - Update acxnlnetlabs.m4 version 21, fixed MEMCMP_BROKEN #undef line. 2745 274623 January 2012: Wouter 2747 - remove clang security warning about %n in format string. 2748 274920 January 2012: Wouter 2750 - Fix bug #430: segfault when MAX_INTERFACES set to more than 65K. 2751 - Fix configure for OpenIndiana sunos 5.11, acx_nlnetlabs.m4 update. 2752 275312 January 2012: Matthijs 2754 - Fix bug #421: truncate pidfile on shutdown, before unlink. 2755 275610 January 2012: Wouter 2757 - removed unused variables. 2758 275910 November 2011: Wouter 2760 - acxnlnetlabs.m4 updated to version 16, better lto check (a.out drop). 2761 27623 November 2011: Wouter 2763 - fflush zonelistfile after zone add or delete. 2764 27651 November 2011: Wouter 2766 - Fix -flto detection for llvm compiler on Lion. 2767 276810 October 2011: Matthijs 2769 - Don't clear the AA bit if there is an authoritative CNAME in the 2770 answer section (as shown in RFC 1034, Section 6.2.7, 2nd example). 2771 277210 October 2011: Wouter 2773 - squelch EPIPE when writing AXFR, enable with verbosity 2. 2774 277526 September 2011: (Matthijs, from NSD3_2 branch) 2776 - Copy the DO bit to the response. 2777 - Don't return SERVFAIL on a domain that looks like a NSEC3 2778 domain but is actually a empty non-terminal. 2779 278019 August 2011: Wouter 2781 - Fix segfault if no logfile is used. 2782 27835 August 2011: Wouter 2784 - Fix make from repeating action already taken. 2785 - Fix compile without openssl. 2786 27873 August 2011: Wouter 2788 - silence 'Broken pipe' messages in log (visible with verbosity 2). 2789 - fix makedist.sh for removal of patch, notify, xfer. new nsd-control. 2790 - tag 4.0.0-imp-5 created. 2791 - trunk is 4.0.0-imp-6 under development. 2792 - added nsd_munin_ script for statistics monitoring to contrib. 2793 27942 August 2011: Wouter 2795 - fix compile on Ubuntu 11.04 systems, detects cc system header issue. 2796 27971 August 2011: Wouter 2798 - fix checkconf test for remote control options. 2799 - fix warning on Ubuntu 10.04, fix autoconf 2.68 warning on NetBSD. 2800 280129 July 2011: Wouter 2802 - zones with no zonefile are not written to text (assumes you can 2803 get AXFR and IXFR for the contents). They are stored in nsd.db. 2804 - test for repattern. 2805 280628 July 2011: Wouter 2807 - nsd-control repattern reads TSIG and pattern configuration. 2808 280925 July 2011: Wouter 2810 - fixed tests for removed tools from nsd, with replacements. 2811 replaced nsd-patch with nsd-control write. replaced nsd-notify with 2812 ldns-notify. replaced nsd-xfer with dig -t axfr. 2813 - fix for xfrd restart if crashed. xfrd knows if a reload is 2814 active at that time so it cannot start another one at the same 2815 time. New shortsoa track for start that does not use taskdb 2816 in use by reload. taskdb in use by crashed xfrd is recreated, 2817 in case it is corrupt. This keeps the nsd.db intact, keeps 2818 reload running with its updated and keeps service from the 2819 server processes active. 2820 282122 July 2011: Wouter 2822 - added contrib/nsd.init (nsdc.sh that only does start,stop). 2823 - removed nsdc.sh, nsd-xfer, nsd-notify, nsd-patch. 2824 for rc.d: contrib/nsd.init, or platform specific init script. 2825 nsd-xfer: see nsd-control transfer, or force_transfer. 2826 nsd-notify: see nsd-control notify. 2827 nsd-patch: see (cron job to) nsd-control write. 2828 282921 July 2011: Wouter 2830 - nsd-control notify, transfer and force_transfer. 2831 - fix for bug in write and reload zone option. 2832 - nsd-control zonestatus command. 2833 283420 July 2011: Wouter 2835 - reload can be given optional zone argument. 2836 - nsd-control reopen_logfile. 2837 - nsd-control write changed zonefiles. 2838 283918 July 2011: Wouter 2840 - Fix xfrd activation of zones to not break running zone transfers. 2841 284213 July 2011: Wouter 2843 - fix that signal causes stats to be printed to log. 2844 - fix stats without remotecontrol. 2845 - ignore notify and soainfo for deleted zone, if due to race they 2846 arrive after the deletion. 2847 - tpkg test for nsd-control, addzone and delzone 2848 28495 July 2011: Wouter 2850 - fix link to ssl with FreeBSD make. 2851 28521 July 2011: Wouter 2853 - fix optimize compile to link with ssl. 2854 285529 June 2011: Wouter 2856 - nsd-control delzone zone. Removes zone from zonelist. 2857 - stats includes number of zones. 2858 - RAXFR stat, which has not worked since NSD 1.2.4, reinstated. 2859 - print more memory statistics, for xfrd and config. 2860 286128 June 2011: Wouter 2862 - nsd-control addzone zone pattern. Adds new zone, slave or master. 2863 286427 June 2011: Wouter 2865 - nsd-control stats and stats_noreset (if enabled at compile time). 2866 nsd does not print statistics to logfile if period is 0. 2867 286823 June 2011: Wouter 2869 - -flto check supports clang compiler. 2870 287122 June 2011: Wouter 2872 - remote control, config, client, setup and status command. 2873 - reload nsd-control command. 2874 - stop nsd-control command. 2875 - verbosity nsd-control command. 2876 287714 June 2011: Wouter 2878 - Fix to have no authority NS set processing for CNAMEs. 2879 28809 June 2011: Wouter 2881 - fix bug that relptrs have to be initialized with rel_ptr_init() when 2882 created and zeroed with rptr_zero before deletion. 2883 - tag 4.0.0-imp4 created 2884 - trunk is 4.0.0-imp5 under development. 2885 28868 June 2011: Wouter 2887 - nsd reads the zonelist file on start. 2888 - updated acx_nlnetlabs.m4 to version 11. 2889 - configure checks size of off_t and increase region-allocator 2890 alignment to 8 if it is 64bit and alignment at 4. 2891 - fixed bug where not all references were removed before mmap was 2892 synced to another process. 2893 28947 June 2011: Wouter 2895 - code to add and remove zonelist entries, and unit test. 2896 28976 June 2011: Wouter 2898 - fix unit tests for mmap with TODO and removal of -f in nsd-patch. 2899 - zone expiry is communicated via the mmap, and not via the pipes, 2900 simplifying the code significantly as well as making a large number 2901 of zones more feasible. 2902 29031 June 2011: Wouter 2904 - mmap used for parent-xfrd communication of tasks and task results. 2905 SIGHUP is sent to xfrd so it can become a task in the normal 2906 workflow. This can process about 4500 zones per second (this was 2907 with lots of debug prints per zone, in debug compile). The mmaps 2908 are file-backed with /tmp/ files. They are removed on a clean exit. 2909 - nsd.db and tmp mmaps are created with mode 0600 for safety. 2910 - updated flag removed, nsd-patch always in -f force mode (-f removed) 2911 and writes all zones always. Its role is taken over by task results. 2912 291330 May 2011: Wouter 2914 - Fix Makefile for U in environment, since wrong U is more common than 2915 deansification necessity. 2916 291727 May 2011: Wouter 2918 - xfrd is forked before the database is read in, thus it does not 2919 consume the memory of the database. It can be reforked on a crash, 2920 which is like the current case. Difffile is cleaned by main process 2921 and the soa serials are all sent via pipe instead of via forkmem. 2922 292324 May 2011: Wouter 2924 - implemented patterns in the nsd.conf file. 2925 they can be instantiated with include-pattern: x. 2926 existing zone definitions keep working (backwards compatible), such 2927 zones really have an implicit pattern and cannot_delete flag set. 2928 - work on zonelist read and storage. 2929 293020 May 2011: Wouter 2931 - from NSD_3_2 branch the fix: bug if the zonefile is changed for a 2932 secondary but stored transfers are applied, and stop ixfr to empty. 2933 The zone is flagged with error, and the good zone is still in nsd.db 2934 for NSD4. 2935 293617 May 2011: Wouter 2937 - unit test for code coverage on nsec3 ixfr. 2938 - tag 4.0.0-imp3 created 2939 - trunk is 4.0.0-imp4 under development. 2940 294113 May 2011: Matthijs 2942 - Fix bug #381 - Binary escaped and transfers. 2943 294413 May 2011: Wouter 2945 - Unit test nsec3 salt change and fix for sanity check of nsec3 chain. 2946 pretty prints the nsec3 parameters if verbose. 2947 294812 May 2011: Wouter 2949 - more unit test for nsec3 precompile changes. 2950 - unit test for salt change, rehash in udb fix, remove last NSEC3 2951 from chain works, NSEC3PARAM RR fixed up if RR added or removed 2952 from NSEC3PARAM RRset, hashtrees cleared properly, precompile clear 2953 more thorough (not dependant on nsec3_conditions). 2954 295511 May 2011: Wouter 2956 - fixes for nsec3 precompile code: precompile for empty nonterminals 2957 created when an RR is added. If SOA removed, precompile stays 2958 coherent even though domain_find_zone no longer returns correct zone. 2959 296021 April 2011: Wouter 2961 - unit test and fixes in nsec3 precompile code. 2962 296320 April 2011: Wouter 2964 - incremental NSEC3 precompile. 2965 296614 April 2011: Wouter 2967 - remove chnum. Added numlist sorted by domain.number. 2968 domains that are not used are removed. 2969 297013 April 2011: Wouter 2971 - Fix is_existing flag for ENT when domain that has a shared ENT 2972 is deleted by IXFR. 2973 - zonec can parse strings with RR in it. 2974 - unit test for namedb. 2975 29768 April 2011: Wouter 2977 - porting complete. 2978 - tag 4.0.0-imp2 created 2979 - trunk is version 4.0.0-imp3. 2980 29817 April 2011: Wouter 2982 - ported to sunos 4.1.4, the unit test works (udb, radtree in mmap). 2983 29846 April 2011: Wouter 2985 - UDB_CHECK is enabled if --enable-checking is used. 2986 Because it checks the pointer-administration lists it slows down. 2987 - udb-inspect has feature -l that lists zones (and RRs) in nsd.db. 2988 - fix memory leak by zonec; the region_cleanup triggers too late. 2989 - set listen TCP_BACKLOG to 16 by default, it avoids connect reset 2990 by peer in 1000-zones transfer on an ultra10, thus for many-zones. 2991 - default xfrd-reload-timeout to 1 second. 2992 29935 April 2011: Wouter 2994 - Fix uninitialised value in xfrd nsd_soa, the rdata_count. 2995 - Unit test for update of the nsd.db with new contents. 2996 - Fix array bounds check in radtree-search function. 2997 29984 April 2011: Wouter 2999 - removed zonec from tests. fix unknown_rr test, enable ipseckey test. 3000 increased timeouts on tests that are hard on the filesystem. 3001 - Fixed IPSECKEY printout by nsd-patch. 3002 300330 March 2011: Wouter 3004 - nsd edits nsd.db for IXFR and AXFR messages. since xfrd already 3005 checks zone transfers completely for syntax those errors cannot 3006 happen, if they do (memory, disk error) the file is left dirty, 3007 to be recreated on the next start (and the process dies). 3008 300929 March 2011: Wouter 3010 - nsd recreates nsd.db if it has not been closed properly or is 3011 corrupted (bad header or wrong file format). 3012 301328 March 2011: Wouter 3014 - NSD without zonec. NSD loads zonefiles on start. 3015 NSD stores NSEC3hashes on disk. 3016 301725 March 2011: Wouter 3018 - Fix bug #365, you can set NSDC_ZONEC_VERBOSE and NSDC_PATCH_STYLE 3019 in the environment where nsdc runs. 3020 - Fix bug #375, typos in nsd.conf.5. 3021 - First step of bug #369: RRSIG DNSKEY sets zone to be treated DNSSEC. 3022 - Fix bug #302, nsd accepts XFR but refuses to re-read the slave zone. 3023 - NSD4 work: removed zonec, nsdc patch does not write text files 3024 for slave zones (as if option is always to binary, this capability 3025 returns later), nsdc patch deletes the ixfr.db. 3026 kill-HUP rereads zone files that have changed. 3027 302824 March 2011: Wouter 3029 - compile fixes for BSD. preserve RRset order. 3030 303123 March 2011: Wouter 3032 - udbzone, store and read zone data in the random-access udb format. 3033 303421 March 2011: Wouter 3035 - udbradtree works. udb-inspect tool can print radtree details. 3036 303716 March 2011: Matthijs 3038 - undo fix bug#325: messes up dname compression 3039 304014 March 2011: Wouter 3041 - udb code added. uses lookup3 from unbound (public domain). 3042 - unit test for radix tree in cutest. 3043 - unit test for udb in cutest. 3044 - udb-inspect tool to printout internals of udb files. 3045 for debug, not installed or built by default. 3046 - removed --disable-radixtree option. 3047 304811 March 2011: Wouter 3049 - Removed precompile features, speed gain took too much memory. 3050 - domain number to size_t. 3051 30529 March 2011: Wouter 3053 - DNAME synthesis of CNAME. Uses TTL of the DNAME record. 3054 - nsec3 and wildcard code. No additional section for wildcards. 3055 Also CNAME and DNAME replies contain only that record (and synth 3056 CNAME), the chain is not followed. 3057 30588 March 2011: Wouter 3059 - precompile work: 3060 class ANY gets AA flag, SOA and type-NS processing, just 3061 like BIND (9.6) and it simplifies processing for NSD. 3062 other than compression difference (precompile compresses smaller), 3063 there are no differences in a 49000 query testset against the root, 3064 without EDNS. 3065 30667 March 2011: Wouter 3067 - check chown value and report high verbosity its error. 3068 30693 March 2011: Matthijs 3070 - fix #bug352: fix hardcoded paths in manpages. 3071 30722 March 2011: Matthijs 3073 - fix #bug354: make realclean cleans too much 3074 - added make devclean for cleaning up autoconf and automake stuff 3075 - Fix hardcoded paths in nsd.conf.sample and nsd.conf.5 3076 307724 February 2011: Matthijs 3078 - fix #bug350: refused notifies should log client ip. 3079 30802 March 2011: Wouter 3081 - Fix AXFR service with radix tree. 3082 - cutest for speed of answer encoding, and format of answers for root. 3083 30841 March 2011: Wouter 3085 - after merge, remove double -I. from makefile. 3086 - radixtree is default. Nicer makefile and no warnings from unused 3087 flex functions. 3088 30891 March 2011: Wouter 3090 - merge with trunk r3181: 3091 24 February 2011: Matthijs 3092 - fix #bug350: refused notifies should log client ip. 3093 24 February 2011: Wouter 3094 - fix bug#362: outgoing-interface and v4 vs. v6 leads to spurious 3095 warning messages. 3096 - fix bug#363: nsd-checkconf -v does not print outgoing-interface ok. 3097 - fix that nsd-checkconf -o outgoing-interface omits NOKEY. 3098 23 February 2011: Wouter 3099 - fix for bug#357, make xfrd quit with many zones. 3100 310123 February 2011: Wouter 3102 - Merge trunk r3151. 3103 22 February 2011: Matthijs 3104 - Patch Jakob Schlyter (setusercontext before chroot). 3105 18 February 2011: Wouter 3106 - overhaul of testset, with port uniqueness and fast start and stop. 3107 11 February 2011: Wouter 3108 - added test case to do with bug357. 3109 24 January 2011: Matthijs 3110 - Patch Tom Hendrikx (only errors to stderr when doing nsdc patch). 3111 311217 February 2011: Wouter 3113 - Fix leak of compressiontable when the domain table increases in size. 3114 - added test case to do with bug357. 3115 311610 February 2011: Wouter 3117 - Merged with trunk r3115 changes: 3118 20 January 2011: Wouter 3119 - Fix on shutdown, then getaddrinfo acquired data uses freeaddrinfo. 3120 19 January 2011: Wouter 3121 - Bug #348: no -I/usr and -L/usr for libcrypto in /usr. 3122 5 January 2011: Matthijs 3123 - Fix nsdc update and nsdc notify 3124 - Force outgoing interface to be a single range acl 3125 - Update documentation about acl options 3126 - Code review 3127 - Fix nsdc so it can use hmac-sha* tsigs 3128 - Bug #347: NSEC3 nodata QTYPE=DS not at delegation mismatch 3129 4 January 2011: Yuri 3130 - Doc spelling error, bug#345 3131 15 December 2010: Wouter 3132 - fix race condition when nsd is stopped while a reload is in 3133 progress, often when rc.d does nsdc patch; nsdc stop in sequence. 3134 reload is now signalled to stop too. 3135 10 December 2010: Matthijs 3136 - fix bug#306: applied documentation patch 3137 - fix bug#253: now also for QTYPE=DS. 3138 12 October 2010: Wouter 3139 - Fix compilation on SunOS4. 3140 24 September 2010: Matthijs 3141 - Bug #328: nsd-checkconf overrun 3142 1 September 2010: Yuri 3143 - Support for huge TXT records. 3144 23 Aug 2010: Wouter 3145 - fix bug#325: remove stale files from cvs from repo. 3146 16 Aug 2010: Yuri 3147 - zonec, MAXRDATALEN check was off by one. 3148 9 Aug 2010: Matthijs 3149 - nsdc return 1 outside function, should be exit 1 3150 - Bug #320: arc4random 3151 2 Aug 2010: Matthijs 3152 - Bump to 3.2.7. 3153 21 July 2010: Wouter 3154 - NUM_RECV_PER_SELECT 100 implemented, configure check if kernel 3155 supports this. 3156 315717 January 2011: Matthijs 3158 - Bump to 3.2.8. 3159 31605 January 2011: Matthijs 3161 - Fix nsdc update and nsdc notify 3162 - Force outgoing interface to be a single range acl 3163 - Update documentation about acl options 3164 - Code review 3165 - Fix nsdc so it can use hmac-sha* tsigs 3166 - Bug #347: NSEC3 nodata QTYPE=DS not at delegation mismatch 3167 316820 July 2010: Wouter 3169 - Branched from trunk. Added radix tree. 3170 - use -fwhole-program if gcc supports it. 3171 317219 July 2010: Matthijs 3173 - fix bug#314, NSEC next field now correctly escapes spaces. 3174 Also fixes label overflow issue. 3175 - Put back HAVE_SSL. 3176 - Code reviews. 3177 - Add donor text. 3178 31796 July 2010: Wouter 3180 - Compiles on Minix 3.1.7; checks ss_family, suseconds_t, some 3181 warning fixes. Needs socketpair to work, e.g. 3182 http://wiki.minix3.org/en/SummerOfCode2010/UnixDomainSockets. 3183 31842 July 2010: Wouter 3185 - Put back CHECK_SSL in configure (removed with disable-tsig). 3186 318717 June 2010: Matthijs 3188 - Expand command line option '-a' and config option 'ip-address:' 3189 with port number. 3190 - Removed --disable-nsid, --disable-dnssec, --disable-tsig 3191 319214 April 2010: Matthijs 3193 - Bump to 3.2.6. 3194 319514 April 2010: Matthijs 3196 - uintptr_t fallback value to void* 3197 - Backwards compatibility for MAP_ANONYMOUS 3198 - Tag 3.2.5. 3199 320031 March 2010: Matthijs 3201 - Commit b64_pton optimalized compat code (Martin Svec). 3202 - Commit (experimental) mmap-alloc-namedb patch (Martin Svec). 3203 - Commit parse-token-leaks patch (Martin Svec). 3204 320527 March 2010: Wouter 3206 - fix bug#303: misspelled error message. 3207 320819 March 2010: Wouter 3209 - documented nsid: "hex string" setting in nsd.conf.sample. 3210 321124 February 2010: Matthijs 3212 - nsid: option 3213 - Enable NSID support by default 3214 - --with-chroot configure option 3215 - Less stupid chroot error handling 3216 321715 February 2010: Matthijs 3218 - Skip memory cleanup to speed up reload (Martin Svec) 3219 32201 February 2010: Wouter 3221 - compat code for memcmp unsigned comparisons. 3222 322321 January 2010: Wouter 3224 - fixup debug sprintf to snprintf. 3225 322621 January 2010: Matthijs 3227 - Secure string functions, including compat code for strlcat. 3228 - Randomness utility function 3229 - Prepare for default chroot 3230 32316 January 2010: Wouter 3232 - check write errors when marking commit failed when difffile is broken. 3233 32346 January 2010: Matthijs 3235 - Move to 3.2.5 3236 323723 December 2009: Matthijs 3238 - Store new options in nsd structure. 3239 324022 December 2009: Matthijs 3241 - New options 'ipv4-edns-size:' and 'ipv6-edns-size'. 3242 - Bug 276 3243 - Bug 286 3244 - Bug 288 3245 324621 December 2009: Matthijs 3247 - New option 'tcp-query-count:'. 3248 - New option 'tcp-timeout:' and configure option '--with-tcp-timeout'. 3249 - New zone option 'notify-retry:'. 3250 325111 December 2009: Wouter 3252 - Disable UDP IPv4 DF flag on Linux/FreeBSD/AIX with socket option. 3253 325420 November 2009: Matthijs 3255 - NSID bugfix: NSD did not recognize NSID in the query. 3256 32579 September 2009: Matthijs 3258 - DLV support 3259 326018 August 2009: Matthijs 3261 - Bug 269. 3262 - Typo: logincap.h -> login_cap.h 3263 326412 August 2009: Matthijs 3265 - Maintainers feedback 3266 326710 August 2009: Matthijs 3268 - Code review. 3269 - Also send errors to /dev/null in controlled_stop. 3270 - chown nsd.db 3271 32727 August 2009: Matthijs 3273 - Bug 266: don't have strptime build error 3274 327528 July 2009: Matthijs 3276 - Bug 263: make TSIG algorithms comparison case insensitive. 3277 327823 July 2009: Matthijs 3279 - Patch Paul Wouters for NSD using hardcoded name. 3280 328113 July 2009: Matthijs 3282 - Bug 236: allow RRs before the SOA RR. 3283 - Bug 253: No need for NS RRset in authority section, when returning 3284 final answer for QTYPE=DNSKEY. 3285 328629 June 2009: Wouter 3287 - patch for use of Linux IPV6_MTU option, so that on linux the default 3288 EDNS UDP size advertised becomes 4096 over IPv6. It fragments the 3289 packets using the IPv6 minimum MTU. 3290 329119 May 2009: Matthijs 3292 - Clean up configure script (install hickup) 3293 - Bug 249: Remove unnecessary LLONG_MIN and LLONG_MAX code. 3294 - Replace strtoll code with own strtoserial function. 3295 - Move up to 3.2.3. 3296 329711 May 2009: Matthijs 3298 - Add Off-by-one test 3299 33006 May 2009: Matthijs 3301 - Small fix in SO_REUSEADDR warning log message. 3302 - Off-by-one bugfix (thanks Ilja van Sprundel, IOActive) 3303 330429 April 2009: Matthijs 3305 - A more ensured do_stop (useful fo nsdc restart). 3306 33072 February 2009: Matthijs 3308 - Bugfix #234. 3309 - Bugfix #235. 3310 - Reset 'error occurred' after notifying an error occurred at the $TTL or 3311 $ORIGIN directive (Otherwise, the whole zone is skipped because the 3312 error is reset after reading the SOA). 3313 33142 February 2009: Matthijs 3315 - Bugfix: return BADVERS when EDNS version > 0, instead of 0x1<FORMERR>. 3316 331719 January 2009: Matthijs 3318 - Bug 230: nsd-*: use stdout for non-error output (instead of stderr). 3319 - Don't do strptime test when cross compiling. 3320 332117 January 2009: Jelte 3322 - Fix file rotation when no logfile but chroot. 3323 33248 January 2009: Matthijs 3325 - New nsd-patch option -o dbfile (set output.db) 3326 - update nsdc to deal with the new nsd-patch options 3327 - strptime compat fix 3328 33296 January 2009: Matthijs 3330 - New nsd-patch option -s (skip writing zonefiles) 3331 - Removed some region_create memchecks (not needed) 3332 33335 January 2009: Matthijs 3334 - Bug 218 3335 - Bug 222 3336 - Replace SHA256_DIGEST_LENGTH with nicer HAVE_EVP_SHA256 3337 333810 December 2008: Matthijs 3339 - Bugfix: better error message when ixfr.db cannot be read 3340 334118 November 2008: Matthijs 3342 - chown logfile, don't do file rotation if logfile is outside absolute 3343 and outside chroot. 3344 334517 November 2008: Matthijs 3346 - File rotation for nsd.log when owned by nsd (+ tpkg test). 3347 - Only AXFR fallback if master responded NOTIMPL or FORMATERR on IXFR 3348 request. 3349 - allow-axfr-fallback option. 3350 33517 November 2008: Matthijs 3352 - Bugfix: don't fclose if logfile == NULL. 3353 335430 October 2008: Matthijs 3355 - Allow escape characters in literal dnames 3356 - Fix typo in zonec manpage 3357 - Some fixes from code review 3358 335920 October 2008: Matthijs 3360 - Redo bugfix literal domain names in rdata (code adjustment) 3361 - Added tests for case sensitive dns names and "Bug #162" 3362 - Adjust nsd-patch to new ixfr.db format 3363 336414 October 2008: Matthijs 3365 - Only SO_LINGER when outgoing port is set 3366 - Reset diff_skip when a new difffile is created (parts in the difffile 3367 now have a timestamp). 3368 - Undo bugfix literal domain names in rdata (code adjustment) 3369 - Split up dname_parse to parse literal dnames and normalized dnames. 3370 33713 October 2008: Matthijs 3372 - setsockopt SO_LINGER, for portability outgoing-interface (BSD/Solaris) 3373 33741 October 2008: Matthijs 3375 - Configure the source ip-address for notifies by the master and zone 3376 transfer requests by the slave in nsd.conf. 3377 - Previously added source hostname/ip and port configuration for 3378 nsd-notify and nsd-xfer 3379 - Finetuned nsdc for nsdc notify and nsdc update 3380 338129 September 2008: Matthijs 3382 - Bugfix: only normalize domain names in rdatas when rrtype is listed in 3383 RFC 4034, section 6.2: Canonical RR Form. 3384 - Update TODO list 3385 338625 September 2008: Matthijs 3387 - Fix bug where hmac-sha256 was in algorithm table, but could not be 3388 retrieved by name or id. 3389 - Additional arguments for nsd-notify and nsd-xfer: set outgoing 3390 hostname/ip-address and source port. 3391 - Additional TODO entry: optimize code in nsd-* programs. 3392 33938 September 2008: Matthijs 3394 - RFC 4635, bugfix #130: support for hmac-sha1 and hmac-sha256 tsig 3395 algorithms. 3396 - modify and add tpkg tests for hmac-sha1 algorithms. 3397 33982 September 2008: Matthijs 3399 - AXFR fallback when IXFR/UDP failed on all masters 3400 - Bugfix: strip off chroot value in corner cases 3401 - Additional debug and verbose log messages 3402 340329 August 2008: Matthijs 3404 - IXFR allow UDP option 3405 340626 August 2008: Matthijs 3407 - Code layout, additional comments and documentation typo fixes 3408 - IXFR over TCP, no longer UDP 3409 341017 July 2008: Matthijs 3411 - Make the maximum number of interfaces configurable. 3412 - Write pidfile *after* successful server initialization, 3413 instead of writing, and unlink if fail. 3414 341516 July 2008: Matthijs 3416 - Set upcoming release to 3.1.1 3417 - Wouter: fixed memory leaks that happened on error, mostly on 3418 zone transfer errors. 3419 342011 July 2008: Matthijs 3421 - Avoid race condition in nsdc: let nsd server update pidfile before 3422 closing old parent process. 3423 34248 July 2008: Jelte 3425 - Fixed NSEC3 memory leak in the case NSEC3 is not needed. 3426 34277 July 2008: Matthijs 3428 - Bugfix #191 3429 34309 June 2008: Matthijs 3431 - When comparing RRs, do not compare TTL values (since the same record 3432 with different TTL values are considered equal). 3433 - Fixup some more unaligned memory access that could occur when 3434 reading ixfr.db. 3435 343619 May 2008: Matthijs 3437 - Do not always log tcp read errors, only when real error or high verbosity 3438 343928 April 2008: Matthijs 3440 - Bugfix #172 (misleading error from zonec) 3441 344227 March 2008: Matthijs 3443 - Port some branch modifications to trunk 3444 344528 February 2008: Matthijs 3446 - Do not answer nsec3 wildcard information when DO bit is not set 3447 344819 February 2008: Matthijs 3449 - Fixed strptime bug (for MacOS Leopard) 3450 345122 January 2008: Matthijs 3452 - Add configuration for chkconfig to control nsd service (bug 164) 3453 345415 January 2008: Matthijs 3455 - Fixed bug 157 where nsd would return FORMERR if edns query is 3456 received with version set to zero and rdlen is larger than zero. 3457 34588 January 2008: Wouter 3459 - no warning about optout records. also no warning about missing 3460 nsec3 records. 3461 - check for hash(apex)==nsec3 with SOA bit was done in duplicate. 3462 - removed old commented out code 3463 - using SOA bit in NSEC3 typemap to detect parameters 3464 - using nonhashed NSEC3 to prove qtype=NSEC3 nxdomains 3465 - prints for debugging. 3466 - nicer comment on nsec3_lookup. 3467 34687 January 2008: Wouter 3469 - Fixup nsec3 tests, they need zonesdir: "." in conf files. 3470 The tests pass. 3471 - configure default is --enable-nsec3. Disabling this will save 20% more 3472 memory (for very large zones). Moved tests to test on commit. 3473 - set RRTYPE numbers for NSEC3=50, NSEC3PARAM=51. 3474 - fixup checkconf test - updated parser lexer gives syntax error 3475 on some garbage instead of parse error. Parselexer is updated for 3476 new options (hide-version, verbosity). 3477 - removed highrange rrtype code. fixup cutest for that. 3478 - speedup of prehash code. 3479 - skip nonexistent domains (operator.example.com). 3480 - skip only-nsec3 domains (that could be 2x speedup) 3481 - skip glue nameserver domains (for TLD with 2 glue per 3482 delegation this is a 3x speedup). 3483 - skip the prehash_domain for delegation points, which saves 3484 another 2/3 hash operations, 3x speedup. 3485 - printout how long nsec3 prepare took (verbosity >= 1). 3486 34873 December 2007: Matthijs 3488 - Fixup bug where data related files are looked up in the wrong 3489 directory when chrooted with chrootdir ending with a slash. 3490 349126 November 2007: Matthijs 3492 - Fixup bug start nsd while already running: do not initialize server, 3493 since it is already running. 3494 349515 November 2007: Matthijs 3496 - Changed man pages format from mdoc to mansun, to support the Solaris OS. 3497 - Better logging for nsd-notify (show 'broken' zone) 3498 349913 November 2007: Wouter 3500 - CREDITS and RELNOTES now in utf-8. 3501 350212 November 2007: Matthijs 3503 - Changed man pages according to bug 162. 3504 350530 October 2007: Wouter 3506 - Fixup for skip after unknown deleted IXFR RR, otherwise processing 3507 would continue at the wrong spot in the packet and process the IXFR 3508 as if it were malformed. 3509 - added unit test for this in long (needs ldns-testns, updated it). 3510 - added unit test for rollback of malformed zone transfers. 3511 Fixup for it, and fixup in ldns-testns to be randomport and 3512 copy id for hex packets. 3513 351429 October 2007: Wouter 3515 - Fixup bug where malformed IXFR replies cause partial processing in 3516 reload (or nsd-patch or nsd-startup). One result is multiple SOA 3517 records in zone apex. Fixup rolls back the zone transfer, and waits 3518 for NSD to try to load again. 3519 352026 October 2008: Wouter 3521 - small fix in descriptive text in sample config for debug-mode. 3522 35239 October 2007: Mark 3524 - Change default location of: nsd.db, ixfr.db & xfrd.state to 3525 /var/db/nsd. 3526 35275 October 2007: Wouter 3528 - Fixup manual page entry for allow AXFR to anyone. 3529 35303 August 2007: Mark 3531 - Report source and zone for denied AXFR attempts. 3532 353325 July 2007: Wouter 3534 - bind2nsd to 0.5.0, fixup of includes, key{} handling. 3535 353619 July 2007: Wouter 3537 - bind2nsd to 0.4.8, fixup of include bug. 3538 353918 July 2007: Wouter 3540 - added contrib for bind2nsd, Al Stone provided an abridged version 3541 that neatly fits for contrib. 3542 354317 July 2007: Wouter 3544 - fixup commithooks. 3545 354616 July 2007: Wouter 3547 - Added reference to http://bind2nsd.sourceforge.net/ to 3548 contrib/README. 3549 35503 July 2007: Mark 3551 - Zone compiler now gives more sane error message when out of 3552 diskspace. 3553 - Fixed a call to drill in tpkg that made a test check bind instead of 3554 nsd. 3555 35562 July 2007: Mark 3557 - Remove last traces of mmap usage. 3558 - Some cleanups in tpkg. 3559 356024 April 2007: Mark 3561 - Added "hide-version" configuration setting. Enabling this feature 3562 stops NSD from answering to CHAOS class version requests. 3563 356419 April 2007: Wouter 3565 - Compiled on minix 3.1.3 and make some adjustments to ease porting. 3566 ECONNABORTED is checked for. sys/select.h included in nsd-notify. 3567 SO_REUSEADDR failure is not fatal. PF_INET compat code added. 3568 If you compile yourself; strptime and socketpair need compat code. 3569 357013 April 2007: Wouter 3571 - Minor tweak to nsec3.c, more elegant handling of malformed nsec3 3572 records from a zone transfer. 3573 357410 April 2007: Wouter 3575 - Fixup ignored return value in region-allocator. Now returns a NULL 3576 memory allocation failure and leaves region in a consistent state. 3577 357820 March 2007: Wouter 3579 - Released 3.0.5. 3580 - (for 3.0.6) -O2 test for Alpha moved to saner position. 3581 358216 March 2007: Wouter 3583 - port configure to AIX, removed warning on ALIGNMENT in region code. 3584 defined _ALL_SOURCE to get recent C definitions on AIX. 3585 - improved nsec3.h comments. 3586 358722 February 2007: Wouter 3588 - Zonesdir default is now /etc/nsd. 3589 So that the invocation directory is not used to dump files into. 3590 The user can change the zonesdir by editing the config file. 3591 The directory is created by install, if not an error is printed. 3592 - updated tpkg tests to use current dir for testing. 3593 - tcp connections that drop do not spam the log file. 3594 Unless verbosity is set high. 3595 359619 February 2007: Wouter 3597 - Fix empty line printed with warning on 'force zone transfer'. 3598 359915 February 2007: Wouter 3600 - Check for EPROTO definition to compile on FreeBSD4/Alpha. 3601 360213 February 2007: Mark 3603 - Debug flag (-d) behavior changed. Nsd now also forks children when 3604 run in debug mode. 3605 - Added verbosity mode (-V <level>) for extra operational logging. 3606 36078 January 2007: Wouter 3608 - README text on interface configuration added. 3609 36102 January 2007: Wouter 3611 - Fixup accept() that could block due to already closed connection. 3612 Made listen() nonblocking, ignores errcodes that indicate closed tcp. 3613 361429 January 2007: Mark 3615 - Handle the new CERT RDATA types defined in RFC 4398 (submitted 3616 by Mans Nilsson). 3617 - Change nsd-notify retry timer from linear into exponential backoff 3618 (submitted by Mans Nilsson). 3619 - Due to a small bug in a comparison statement, zonec would fail 3620 on the parsing of unknown CERT types. This got triggered by the 3621 first bugfix today, as that one shouldn't have been discovered in 3622 the first place. Took the opportunity to sanitize two other 3623 comparison statements related to strtol(). 3624 362524 January 2007: Wouter 3626 - Tentative change to set UDP sockets nonblocking. Perhaps it 3627 helps Howard. 3628 362919 January 2007: Wouter 3630 - NSEC3 work. prehash printed only once with time taken to prepare. 3631 - prints are now only in DEBUG mode (except errors). 3632 - rr descriptor counts for NSEC3 updated, has an extra field flags. 3633 - now NSEC3PARAMs with flags!=0 are ignored, as per draft-09. 3634 - Fixed where only first NSEC3PARAM was properly detected. 3635 - Added tpkg in manual (because you need to compile with nsec3) 3636 that performs the test queries from draft-09 and checks them. 3637 - Made tpkg to test NSEC3 parameter detection. NSD will skip any 3638 NSEC3PARAMs that don't work until the first working one is found. 3639 Also, this means unknown hash algorithms are simply ignored. 3640 A zone that uses exclusively unknown hash algorithms for NSEC3 3641 will give errors on loading (or after zone transfer) but NSD 3642 will load and serve the zone (but no NSEC3s are returned). 3643 - added tpkg in manual to test parent side DS answers. 3644 These follow a different code path than child side DS. 3645 - Will allow NSEC3s(and signatures) below a DNAME. 3646 - A query for an NSEC3 ownername will lead to DNAME redirection 3647 as if the NSEC3 did not exist. 3648 - Test package in manual that tests NSEC3 and DNAME in the apex. 3649 - Changed NSEC3 memory requirements from 5 pointers per domain name 3650 to 3 pointers and 2 bits. 3651 - Added jumpstart for nsec3 search, will greatly speed up optout 3652 zone nxdomains. At the cost of one ptr per domain name. 3653 The speedup also speeds up the nsec3 prepare stage. 3654 365518 January 2007: Wouter 3656 - Created 3.0.4 release tag. 3657 - 3.0.5 number in trunk. 3658 - add nsd.spec patch from Farkas Levente to contrib. 3659 - NSEC3 new wireformat and presentation format from draft-09. 3660 366111 January 2007: Wouter 3662 - The message 'server .. closed cmd channel' is now priority INFO. 3663 This to reduce the 'error' amount in the logs. 3664 - On error in a tcp request, set to retry next instead of waiting 3665 for the tcp timeout. 3666 36679 January 2007: Wouter 3668 - TSIG acl matching changed so that NOKEY allow-notify entries match 3669 only queries without a tsig. Otherwise NSD would crash. 3670 This only affects servers that have allow-notify: ip NOKEY and 3671 someone sends a TSIG signed notify from that ip. 3672 - test package for that. 3673 - Fix for reply to notify messages with ANCOUNT wrong. The ack 3674 to notify messages that passed the ACL, and had a SOA in the answer 3675 section of the query, included wrong RR counts in the header. 3676 - test package for notify reply wireformat. 3677 36788 January 2007: Wouter 3679 - ipc_send_blocked will not lead to busy waiting on it, but will block 3680 in select, until SOA_END comes by. 3681 - server_main sends SOA_END if reload crashes, to xfrd. So that xfrd 3682 can set ipc_blocked=0 and can_send_reload=1; and thus resume service, 3683 assuming that the crash was a temporary condition. 3684 This will lead to trying every reload-timeout seconds to reload 3685 if it is a permanent condition. Which is more obvious to the 3686 operator. 3687 - put the error "error: diff: RR ns.kiev.ua. already exists" in 3688 debug mode only. Zone transfers with this error are liberally 3689 accepted, and we should not spam the logfile. 3690 - empty zones will not be retried forever every 10 seconds, 3691 but exponential backoff to a max of every 4 hours. 3692 The exact value is randomised to spread out attempts. 3693 36945 January 2007: Wouter 3695 - Fixed --zonesdir=<path> for configure. The value did not get used 3696 as a default value. Now it is used as a default value. If a 3697 default value is set for zonesdir, you can go to a 'no value 3698 specified' by giving the empty string, zonesdir: "" in nsd.config. 3699 - Fixed checkconf.tpkg for this change. nsd-checkconf will 3700 output zonesdir: "" as this is the default for --zonesdir. 3701 37022 January 2007: Wouter 3703 - Added contrib script from Stephane Bortzmeyer to convert NSD 2 to 3704 NSD 3 config files. Converts secondary zones and TSIG keys. 3705 - Made config conversion script skip empty lines. 3706 - Made config conversion script convert primary zones (and notify). 3707 - Nsdc control script will exit with 'nsd startup failed.' if nsd 3708 fails to start (due to bad config file for example). 3709 371015 December 2006: Wouter 3711 - Removed dlopen() checks from configure.ac, NSD3 no longer has 3712 dynamic plugin support (since 3.0.0). 3713 - added .rpm spec file to contrib. 3714 - Updated README to remove reference to buildzones script. 3715 371612 December 2006: Wouter 3717 - Added missing include to ipc.c to compile on SunOS. 3718 - Cast to avoid signed/unsigned comparison in compat/inet_ntop.c. 3719 372011 December 2006: Wouter 3721 - Added test to check for CNAME and other data error by zonec. 3722 Currently NSEC, NSEC3, RRSIG, SIG, NXT are allowed next to CNAME. 3723 - Fixup unaligned memory access that could occur when reading ixfr.db 3724 with a partial transfer inside. 3725 - RR type WKS (well known service) was not printed correctly, 3726 htons() was forgotten when calling getservbyport. 3727 - NSD does not complain about not being able to read the db CRC 3728 when all that happens is the file became longer or shorter. 3729 37308 December 2006: Wouter 3731 - Moved down max XFRD UDP sockets for zone transfer queries to 100 3732 down from 300. This makes the total socket max at 200, so it fits 3733 easily under 256 ulimit (a common default). 3734 37357 December 2006: Wouter 3736 - Improved error message to help operator. 3737 - created 3.0.3 svn tag. 3738 - default of zonesdir corrected (no directory is default). 3739 37404 December 2006: Wouter 3741 - updated test packages. Moved 213_large from manual to long. 3742 size_0, source_port_0 made more working (needs root permission). 3743 37441 December 2006: Wouter 3745 - Moved xfrd ipc and reload handlers to front of event handler 3746 lists for a 10% speedup in xfrd. 3747 - Fixed so that NSD no longer interrupts zone transfers when 3748 a notify comes in for that zone. Added package to test it. 3749 - Fixed warning on Solaris 10. 3750 375130 November 2006: Wouter 3752 - Test for fallback in getaddrinfo more portable. 3753 Ported to FreeBSD 6.1 without inet6. 3754 - New quit sync had a problem with blocking in dispatch. Fixed. 3755 - reload will retry quit_sync if nothing happens. 3756 - parent tries to empty the pipes before closing them on quitsync. 3757 - xfrd does not send reload when previous reload request busy. 3758 - netio will only deliver the number of bits from select 3759 and then stop. Optimisation. 3760 376129 November 2006: Wouter 3762 - Fixed getaddrinfo error message to be more descriptive. 3763 - Fallback to ip4 also if getaddrinfo fails for ip6. 3764 - instead of EAI_ADDRFAMILY uses EAI_FAMILY which is portable 3765 to FreeBSD. 3766 - signed/unsigned warning fix for FD_SETSIZE comparison. 3767 - Lots of debug statements and new quit sync feature, where 3768 the server children are synced with. So as not to lose buffers. 3769 377028 November 2006: Wouter 3771 - Debugging 10k zones transfer, set so that zones waiting for a 3772 socket do not get timeouts. 3773 - Debug change so that an event is only returned to one handler 3774 by netio. 3775 Reversed this. Netio will not deliver events you do not listen 3776 to, and since xfrd first listens to write then read, it will 3777 not have problems with stale events (for the fd from the previous 3778 select) because these are always read, while it needs a write. 3779 Re-Reversed it: netio will deliver events only once. 3780 This is easier to understand for the poor hapless developer. 3781 - Need to set notify_current for notify on waiting list. Fixed. 3782 378327 November 2006: Wouter 3784 - Debugging 10k zones transfer, noticed that it is possible for 3785 netio to give a callback for an event that you were not listening 3786 to. Now no longer does that. 3787 378816 November 2006: Wouter 3789 - Bug #153: now checks for FD_SETSIZE when adding fd to select fdset. 3790 - Easy overview of socket allocation for xfrd in xfrd.h 3791 - Upped the default xfrd socket limits a bit. 3792 - Log message that the TCP connection limit is reach is now only 3793 in -L 2 logging. It is spammy. 3794 - updated dependencies. 3795 - Added test for notify-socketcount, and removed unused files from 3796 bug153 test package. 3797 - Notify udp sockets are also capped at a max number. The rest 3798 has to wait in a queue. 3799 380015 November 2006: Wouter 3801 - Fixed bug #152: identity keyword in nsd.conf did not work. 3802 What happened was that the hostname() from the computer 3803 was overriding the nsd.conf identity. Fixed now. 3804 If commandline is given that is used. 3805 Else nsd.conf entry is used. 3806 Else hostname() detected from computer is used. 3807 Else default string "unidentified" is used. 3808 380914 November 2006: Wouter 3810 - Fixed bug where NSD tries to create 10000 udp sockets, 3811 when starting with 10000 secondary zones. Limited to 50 3812 at a time. The XFRD_MAX_UDP constant controls this. 3813 38143 November 2006: Wouter 3815 - Created tags/NSD_3_0_2_REL. 3816 38172 November 2006: Wouter 3818 - Added pdf for differences.tex for ease of use. 3819 - Updated text in readme on memory usage. 3820 382124 October 2006: Wouter 3822 - Recycle rrset memory after doing special processing on the deleted 3823 rrset data. 3824 - log message clearer for 'duplicate xfr part' to 'discarding partial 3825 xfr part'. 3826 - if you have a server that has IXFR turned off but sends a TC flag 3827 for IXFR queries, xfrd will retry to TCP. This makes the use of 3828 'AXFR' flag in nsd.conf file not needed in certain cases. 3829 - Be thrifty and save up the memory that was lost at end of chunks 3830 in the recycle bin. Saved 1.3Mb on 170(rrs)/220(total) Mb dataset. 3831 383223 October 2006: Wouter 3833 - Added checks for out of memory in reload (diff file). And it exits 3834 if so neatly. 3835 383613 October 2006: Wouter 3837 - Bug #149: Wrong text for NOTAUTH error code. When notify is not 3838 authorised REFUSED error code returned instead. 3839 38404 October 2006: Wouter 3841 - More fixes from Koh-ichi Ito (kohi@iri.co.jp now), for bug #146, 3842 his bash does not do $(( )), so nsdc.sh has to use test of course. 3843 384429 September 2006: Wouter 3845 - recyclebin works, added a test that uses it (about 3 Mb goes 3846 through the recyclebin). This resolves bug #147. 3847 - Made -L 1 logging is little less verbose (-L 2 gets it all). 3848 - added search path for openssl on Solaris 10 (/usr/sfw). 3849 385028 September 2006: Wouter 3851 - Removed unused global variable current_region, 3852 and routines for it in region-allocator.c and .h. 3853 - Added recycle option to regions. It will keep track of small 3854 objects in a recycle bin. Large objects are deallocated. 3855 No calls to recycle yet, unit test it first. 3856 - added unit test for region recycle. 3857 385827 September 2006: Wouter 3859 - Further suggestion from Koh-ichi Ito, I've set opt->xfrdfile 3860 to XFRDFILE in options_create. So opt->xfrdfile and opt->difffile 3861 are never NULL. This simplifies code elsewhere. 3862 And also handles chroot case (+=l) for default values. 3863 - Fix for bug #145. The skip file position in the diff file was used 3864 inconsistently - one part of the code skipped to before the 'IXFR' 3865 type code and another part skipped to after that. Now all skip to 3866 before the type code. This bug only happens if your diff file 3867 is like: zone1_part1, zone2_part_1, zone1_part2, zone1_commit, 3868 zone2_part2, zone2_commit. The skip over zone1_part1 failed. 3869 - tpkg test in long dir that tests for the bugfix. Takes a long time 3870 and uses ldns-testns feature to wait partway through an AXFR. 3871 - removed debug log of strerror on diff read failure, when the errno 3872 was already output to the logfile (resulting in a nonsense error). 3873 387426 September 2006: Wouter 3875 - NSD compiles on Solaris 10 with the sun cc compiler. 3876 Added a define for _STDC_C99 for that. 3877 - Checked that the patch for solaris for bug 143 indeed fixes the bug. 3878 - Fixed bug #146 reported by Koh-ichi Ito: when chrooted nsd failed 3879 to write xfrdfile/difffile. 3880 388118 September 2006: Wouter 3882 - no queries for NSEC3, RRSIG, ANY succeed for nsec3 only domains. 3883 388415 September 2006: Wouter 3885 - Fixed LOC parsing of integer overflow causing maximum values. 3886 Added to test and backported fix to 2.3.6. 3887 - NSEC3 qtype queries get noerror/nodata or nxdomain answers. 3888 You can query for NSEC3PARAM. 3889 - warnings for printf format on maxOS (sizet needs cast to int). 3890 389113 September 2006: Wouter 3892 - added fsync to AF_UNIX sockets to write last command (QUIT) before 3893 closing them. 3894 - sent explicit QUIT command to xfrd on final shutdown of the server. 3895 389612 September 2006: Wouter 3897 - Bug #144: LOC defaults for unspecified values wrong. Error in zonec. 3898 Set defaults. Also fixed parser if LOC has no minutes or seconds. 3899 - Also fixed rounding error in seconds 0.001 decimal. 3900 - Test tpkg for bug 144. 3901 390211 September 2006: Wouter 3903 - nsdc now more portable in use of 'which'. 3904 Does not only look at exit code but also checks for '^no ' string. 3905 - nsd-patch does a chdir to zonesdir for relative difffile or dbfile 3906 path names. 3907 - nsdc handles zonesdir: for relative pidfile, dbfile, difffile 3908 pathnames. 3909 39107 September 2006: Wouter 3911 - bumped version to 3.0.2. 3912 - Nice configuration error when you had the wrong zone name in the 3913 nsd.conf file. Zonec will give an error already. 3914 - When you start a secondary zone without a zone file, you get 3915 a much nicer error message, warning you of the zone transfer. 3916 - Credits for prerelease testers; Thanks guys! 3917 39186 September 2006: Wouter 3919 - Fixed nsd-patch so that it writes the SOA at the start of the file. 3920 - test tpkg that tests for the bug, has multiple rrsets at zone apex 3921 and does nsd-patch followed by zonec. 3922 Previous tests did not catch this: they used nsd-xfer to test zone 3923 contents, or only checked the zone-file after nsd-patch. 3924 - version number bumped to 3.0.1. 3925 - svn tag 3_0_1 made. 3926 39275 September 2006: Wouter 3928 - differences file improvements. 3929 - created 3.0.0 release in svn tags. 3930 39314 September 2006: Wouter 3932 - From suggestions by Bin Zhang: 3933 - nsdc restart does not fail if nsd was not running. 3934 - fixes to man pages, wrong locations for files. 3935 - NSEC3-PARAM has no optout bit in presentation format. 3936 - NSEC3PARAM spelling. 3937 - differences in latex format (needs nlnetlabs housestyle). 3938 393931 August 2006: Wouter 3940 - Fix for tsig size still set when data is null ptr. 3941 - Fix configure for NetBSD (1.6 - 2.0) to find struct timespec. 3942 - DIFFERENCES file completion. 3943 394430 August 2006: Wouter 3945 - Print error nicely when nonblocking connect fails on systems 3946 in a portable way. 3947 - doc/UPGRADING document to assist NSD 2 to 3 upgrades. 3948 - updates of error print - ignore EINPROGRESS if we check too early. 3949 - wait for select writable before testing for connect error. 3950 - echo "" >&2 is not as portable as we would like, removed from nsdc. 3951 - fixed debug print of a null ptr. 3952 - fixed bug where query for CNAME that points to unserved zone caused 3953 nullptr exception on empty zone ptr. Now original zone is restored 3954 after CNAME-pointed data is added to the packet. 3955 Test in dname.tpkg. Reported by Kai. 3956 - fixed stack corruption when ipv6 disabled. 3957 395829 August 2006: Wouter 3959 - NSEC3 made it so it can handle the case where the NSEC3 RRSET 3960 with the SOA bit on does not have the RR with the soa bit set 3961 as the first RR. 3962 - Handle NSEC3-PARAM type. Checks to see if any of them work: 3963 zone apex hashed exists, with NSEC3 type, and RR that has 3964 the same parameters and the SOA bit set. 3965 - in presentation format of NSEC3, NSEC3-PARAM reversed hash, optout. 3966 - update to the DIFFERENCES file, bind 9.3.2 vs NSD 3 and 3967 NSD 2 and 3 comparisons are completed. 3968 396928 August 2006: Wouter 3970 - echo messages in nsdc made clearer. nsdc notify and nsdc update 3971 only send notify messages to slaves / localhost to force transfers. 3972 - initial NSEC3-PARAM type code entry. parsed, ignored. 3973 397425 August 2006: Wouter 3975 - disabled make test target as tests are not shipped. 3976 - performed prerelease static snapshot. 3977 - updates to the DIFFERENCES document. 3978 397924 August 2006: Wouter 3980 - Fix bug 141 port from 2.3.6, copies behaviour from bind 9.3.2. 3981 - Added a test for bug 141. 3982 - Bug141: save the opcode from the query. 3983 398423 August 2006: Wouter 3985 - Fixed % by 0 exception in the bugfix #139. 3986 - Fixed RFC 4035 says CD flag SHOULD be cleared on authoritative 3987 responses, now NSD clears the CD flag. This is bug #140. 3988 RFC 4035 could be confusing on this, as it states 'all servers 3989 MUST copy the CD bit' more than once, but then makes clear only 3990 recursive servers are meant with that statement. 3991 - Differences document updates for bind 9.3.2 and nsd 3. 3992 399322 August 2006: Wouter 3994 - version number to 3.0.0 in preparation for release. 3995 - Bug #139: resync stats to whole period. Fixed. 3996 399721 August 2006: Wouter 3998 - check for error in ftruncate call. 3999 - replaced fwrite call with write_data call from util that does 4000 error checking. 4001 400215 August 2006: Wouter 4003 - removed unused struct nsd.named8_stats variable. 4004 - Bug #138: nsd aborts trying to bind all interfaces if ip6 is not 4005 enabled, instead it will fallback to ip4. 4006 400714 August 2006: Wouter 4008 - Added test for rollback of an IXFR transfer by xfrd. 4009 - Added test for reload timeout in xfrd, the reload does happen after 4010 a while, but not immediately. 4011 - Test that makes xfrd connect to ip6 address. 4012 - Test that overloads the number of tcp connections in xfrd, 4013 simulating a slow master, so that zones have to queue up to get it. 4014 - code coverage is now 2514 of 10636 uncovered. Still a lot uncovered. 4015 - ixfr queries return NOT_IMPL errors. 4016 401711 August 2006: Wouter 4018 - srandom to init random() in xfrd based on PID and time. 4019 - improved usage() information to be more helpful, and with version. 4020 - in makedist.sh, flex and bison called like in Makefile. 4021 - test for tcp underrun and overrun of the buffer. 4022 402310 August 2006: Wouter 4024 - added more tests to increase code coverage of testset. 4025 - moved acl parsing code from configparser.c to options.c to help 4026 unit testing. 4027 - nsd-checkconf echod wrong difffile filename with -v. 4028 - nsd-patch can now be used with -f to force printing of all RRs. 4029 - TYPE_NULL crashed NSD when it printed it, arg was ZF_DNAME, 4030 now ZF_UNKNOWN. 4031 - unknown rr test was faulty on input, the length was in nibbles 4032 not in octets, but rfc specifies octets for unknown rrs. 4033 NSD does not look at the length, and prints the length correctly. 4034 - added type NXT to the rr-test for weird RRs. 4035 - added printing test to rr-test, ipseckey and unknown-rr tests. 4036 checks if NSD prints the same RR on output as it read in. 4037 - put -x option for nsd-patch in usage(). 4038 - test that kills an nsd child server and checks that it is 4039 restarted. 4040 40419 August 2006: Wouter 4042 - tested nsdc functionality, make install and make uninstall. 4043 - set O_NONBLOCKING on xfrd tcp sockets before the connect call, 4044 because the handshaking can take very long too. 4045 - difffile and xfrdfile set via configure, to absolute pathnames, 4046 so that chroot checks work for them. 4047 - updated tpkgs, they need to set relative paths now for difffile. 4048 - gcov says 2821 of 10617 total code lines are not covered. 4049 compiled with --coverage, not -O2, ran tpkg/* and long/testplan*. 4050 counted grep '#####:' *.gcov | wc and grep '^ *[0-9]*:' *.gcov | wc. 4051 - cleaned up the log functions, NSD no longer spams the syslog with 4052 debug messages. The standard NSD debug util is used, -F -1 -L 2 for 4053 a compile configured with --enable-checking will enable them again. 4054 Errors are logged, as is the automated reload of a new serial. 4055 - tpkgs for bug077 and bug107 were silently failing to test properly. 4056 40578 August 2006: Wouter 4058 - fixes for checkconf test, more portable. 4059 - removed items from TODO that have been tested. 4060 for multihomed servers you have to bind to each interface 4061 explicitly to get outgoing ip-address the same as query 4062 destination ip-address. 4063 Forks and if-existing are tested and ok in testplan tests. 4064 close_all_sockets is called by child, if tcponly, so leave it. 4065 - user name check is hard portably with shell scripts, and 4066 packaging could set a default user that does not exist on a machine. 4067 - empty nodes (nonterminals) give no nxdomain any more (todo item done). 4068 - removed (old) from TODO. 4069 - removed contrib/buildzones.pl, it is outdated. 4070 40717 August 2006: Wouter 4072 - Made the tests a little more portable. 4073 - fixed mempcy unable to handle unaligned memory addresses on Solaris, 4074 used memmove instead of memcpy in zonec LOC conversion code. 4075 - another unaligned memory access, when storing off_t pointer in 4076 difffile.c, used memmove. 4077 40784 August 2006: Wouter 4079 - nsd will start if diff file is corrupt, with a log message. 4080 It ignores the bad data. 4081 - tpkg files do not override PATH, svnhook sets it. So user can 4082 set path to utilities on the system to run the tests. 4083 - running testset on DecAlpha discovered uninitialised variable 4084 in NSD. Fixed. 4085 - Jakob Schlyter asked for building nsd3 in an obj dir, i.e. 4086 mkdir obj; cd obj; ../configure && make. Fixed up makefile for that. 4087 - and bug137.tpkg for separate obj dir building. 4088 40893 August 2006: Wouter 4090 - more tests in mesh test. 4091 - changed test packages to put nsd log to test result "/dev/stdout". 4092 - test packages more portable - use default 'dig' location. 4093 also, path is appended to, instead of replaced. 4094 40952 August 2006: Wouter 4096 - Region can be customised for detailed memory handling. 4097 Especially if you set large_object_size=0, chunk_size=0, 4098 the region will perform individual allocs, and 'save memory'. 4099 The region still keeps tracks of allocations so that at 4100 region_free time all memory is released. 4101 - tsig.region removed, it was not used after attaching a cleanup 4102 at creation. tsig creation uses custom region settings. 4103 - xfrd inits the tsig records with memory saving settings, 4104 so the regions alloced for tsig take up about 60 + 4*8 bytes. 4105 - new custom region for query region - to make chunksize larger 4106 there. The chunksize for the query region is important, if 4107 all allocations for a query fit in it, no mallocs are needed. 4108 - TSIG other_data field size according to RFC 2845 is 0 or 6. 4109 In tsig implementation put a maximum to the field of 16, 4110 otherwise a formerror results. 4111 - query with IXFR appended SOA not formerror. 4112 IXFR queries not reach the handler in axfr.c for IXFR queries. 4113 - removed annoying debug message of added tsig key. 4114 - added test that starts 7 servers in a mesh and lets them fight out 4115 what zones to transfer and serve. 4116 - xfrd logic bug: if notified a slave would not see the renewal 4117 of its current zone. 4118 41191 August 2006: Wouter 4120 - Test for remove domains with IXFR. 4121 - Fix for empty nonterminals and IXFR deletes. 4122 - Test for timeouts, including expiry, and expiry and zone updates. 4123 - Test for axfr refused authorisation. 4124 - Test for deadlock in ipc. 4125 412631 July 2006: Wouter 4127 - Test plan ixfr test in tpkg/long directory. 4128 - IXFR with many packets tested (one RR per packet). 4129 413028 July 2006: Wouter 4131 - tentative change, that preserves ordering of rrtypes for a domain. 4132 - fix for serial rollover (old_serial + 2**31), now works, is seen 4133 as new serial and rolled over to new. 4134 - serial numbers, and time values, printed as unsigned to logfile. 4135 - set so that if info is provided by operator, refreshing state 4136 not expired is used. 4137 - forgot to * a pointer to boolean, is_ixfr in the difffile reader. 4138 This fixes the testplan_ixfr test 1. 4139 414027 July 2006: Wouter 4141 - fixup desc of tsig xfer test, remove debug from xfr_huge. 4142 - fixed compressed dname tables cleanup, to set ptr to NULL. 4143 - initialised xfrd_listener.fd to -1. 4144 - fixed difffile handling of very short AXFRs, with no data. 4145 414626 July 2006: Wouter 4147 - Updated the requirements with comments from Olaf. 4148 - README discourages use of experimental nsec3 rr a bit more. 4149 - typo in DNAME code, used original qname instead of CNAME 4150 adapted qname variable. 4151 - added IPSECKEY RR type, RFC 4025. 4152 - tpkg test with sample ipseckey rrs. 4153 - wireformat for IPSECKEY depends on the value of a rdata atom, added 4154 WF_IPSECGATEWAY to handle that. 4155 - DHCID type, data is encoded in one binary/b64 blob. 4156 415725 July 2006: Wouter 4158 - max number of tries for nsd-notify is 15, so that the 4159 total time for sending is about 75 seconds. 4160 - forward port of fixes for bug 105 and 135 in nsdc. 4161 forward port of test for bug 105. 4162 - fixed nasty bug with configure --prefix=<...> where config.h 4163 was wrong. Now double evaluate the shell expansion on the defines. 4164 41655 July 2006: Wouter 4166 - helped in README with gnu make; need to make clean 4167 so that botched attempts by make to create the lexer files 4168 do not stay around. 4169 - removed %zd, replaced by casts to int. 4170 - updated REQUIREMENTS file, the sections on RR types, on what 4171 algorithm NSD follows and on which RFCs are supported are updated. 4172 41733 July 2006: Wouter 4174 - 'make depend' target in makefile. (updates both Makefile.in 4175 and Makefile, so it works for users and for svn). 4176 - doc minor update. 4177 41782 July 2006: Wouter 4179 - TESTPLAN, README, bugzilla-bugs docs updated. 4180 - NSD for BIND users update. 4181 418229 June 2006: Wouter 4183 - removed --zonesfile nsd.zones configure option. 4184 - doc/README updated for 3.0. 4185 - doc update. NSD_FOR_BIND_USERS document. 4186 - moved from -Ds to the config.h header, cleaner compilation output. 4187 - use autoconfs built in large file support enabler. 4188 418928 June 2006: Wouter 4190 - nsdc neater, checks for BLOCKED ips more strictly. 4191 - nsd -d also disables xfrd forking, and thus all reloads 4192 and secondary zone treatment. Stated so in manual page. 4193 - fixup, apart from ip4 need to allow ip6 in example.conf 4194 line showing how to allow access for everyone to axfr. 4195 419627 June 2006: Wouter 4197 - Fixed read in server.c to be a blocking read for sure, 4198 even if ipc is not blocking on the OS. 4199 - nsd-notify tries to send notify 5 times, then exits with error. 4200 - nsd-checkconf can lookup key secrets by name from a config file. 4201 - difffile option is always set in options struct with default 4202 or config value. 4203 - nsd-patch uses dnames to compare zone names (for trailing .). 4204 - nsdc updated to work with config file. 4205 420626 June 2006: Wouter 4207 - Nicer check in autoconf for struct timespec type. 4208 - NSEC3 next hashed ownername is a length byte followed by data. 4209 - nsd-checkconf more quiet, clearer error message. 4210 - NSEC3 does not complain about glue records without nsec3. 4211 - nsdc work (did start, stop, running, rebuild, restart, reload, stats). 4212 421321 June 2006: Wouter 4214 - nsid commandline parsed using hex_pton routine. 4215 - unit test for hex_pton. 4216 - added include stdlib, needed for free() on sunos4. 4217 - fixup of disable-ipv6 compilation. 4218 - memmove compat implementation (created fresh). 4219 - yy_set_bol() for old flex compat define. 4220 - compat implementation from openssh4.3p2 for 4221 strlcpy, inet_aton, and inet_ntop routines. 4222 - changed ctime_r usage to ctime() call, nsd is not threaded. 4223 - compiles on SunOS4/gcc-2.95. 4224 - debug statements go to the log_msg route instead of the 4225 fprintf route, so they will get to a nice logfile even if 4226 we forked away, with xfrd. logfile=/dev/stderr gives old way. 4227 - minor changes to cutest to make unit test compile 4228 on SunOS4/gcc-2.95, it checks out fine there. 4229 423020 June 2006: Wouter 4231 - updated configure to disable -O2 on platforms where gcc 4232 does not like it (such as dec-alpha). 4233 - nsd-notify used recvfrom and passed addrinfo.ai_addrlen 4234 which is a size_t, but recfrom needs a socklen_t*. On dec 4235 alpha these types differ in size (size_t is 64bit, 4236 socklen_t is 32bit). Therefore, used a wrapper variable 4237 to pass to recvfrom. 4238 - changed long int to time_t in nsd-patch.c to please compiler 4239 on dec alpha. 4240 - dec alpha complains if statements are in front of variable 4241 definitions. Fixed code for some mixups on this. 4242 - Fixup cutest for dec alpha. Code, lowercase filename, %lf->%f. 4243 - cutest fixup uses (size_t) cast and %zx to print ptrs (for debug). 4244 - for SunOS4 configure detects ssize_t and struct timespec. 4245 - removed usage of fpos_t, instead using fseeko/ftello for 64bit. 4246 - configure will define fseeko/ftello with fseek/ftell if unavailable. 4247 - added missing include from buffer.c (stdlib for free()). 4248 - defines for snprintf and vsnprintf in config.h if needed. 4249 - configlexer flex is called more cleanly with -t to write stdout. 4250 - missing include from configparser, stdlib for atoi. 4251 - config.h provide inet_pton define if it is not available. 4252 - fixup of INET6 defines, where sockaddr_storage is used 4253 outside of INET6 defines, in xfrd-tcp. 4254 - edns_init_nsid was not defined in edns.h. 4255 - added compat/fake-rfc2553.c and h from openssh 4.3p2. That has 4256 a BSD license as well. They replace getaddrinfo() (and friends) 4257 when those are missing. 4258 425919 June 2006: Wouter 4260 - updated the tpkg/manual tests for NSD 3 config files. 4261 Some need root privileges to run (using hping), they all pass. 4262 - also the tpkg/long test bug_sighup. 4263 - nsec3 code will warn at prehash time for missing exact nsec3 4264 records. So faulty signed zones are more easily spotted. 4265 - fixed NSEC3 and CNAME/DNAME chains, it will disprove the new qname. 4266 - removed for() look in CNAME processing, only first CNAME is 4267 processed now. 4268 - zonec will error on a zone with multiple CNAMEs for one name. 4269 427016 June 2006: Wouter 4271 - Swapped read and write ops in xfrd_handle_ipc, so that a read 4272 of a signal from main can stop further writes. 4273 - xfrd will complete its last message before shutting down 4274 the ipc writes and then acknowledge the reload-sync. 4275 This resolves the race where half of ipc messages caused bad 4276 modes from the main. 4277 427815 June 2006: Wouter 4279 - In preparation of notify send overhaul, moved the notify 4280 send code to xfrd-notify.c and h files. 4281 - created cleaner split of notify send and xfr code. 4282 Still in the xfr process, because it is a convenient location. 4283 - fixed bug where notify sending would read from wrong fd. 4284 - send master zone notifies. 4285 Does not skips master zone SOA INFO updates. 4286 - fixed bug where port number acls did not match. 4287 - fixed bug where tsig keys are checked for twice, but not error_code. 4288 - fixed notify send retry counting. 4289 - added test tpkg for notifies from nsd master to nsd slave. 4290 - nsd-checkconf flags if you set allow-notify without request-xfr. 4291 429214 June 2006: Wouter 4293 - fixed crash bug when dnssec/NSEC enabled and query DNAME 4294 target did not exist. 4295 429613 June 2006: Wouter 4297 - created doc subdirectory for documentation. 4298 - removed unused DIFF FILE MAGIC string. 4299 430012 June 2006: Wouter 4301 - dname_test tpkg with very extensive DNAME testing. 4302 - moved sizes of zone_name buffers to 3072 - for escaped names. 4303 - nsd-patch has a debug option to list the contents of the 4304 difffile/ixfr.db/transfer patch log in a journal fashion. You can 4305 then manually inspect the contents. 4306 43079 June 2006: Wouter 4308 - after a reload NSD will report the memory churn: number of bytes 4309 of memory wasted by the zone transfer code. 4310 43118 June 2006: Wouter 4312 - When zone is re-chosen after a CNAME/DNAME no SERVFAIL is set, 4313 noerror is returned instead. 4314 - zonec will error on multiple DNAMEs for the same name. 4315 - zonec will error on DNAME and CNAME together. 4316 - improved loop log message. 4317 43187 June 2006: Wouter 4319 - after DNAME the closest_match is set correctly for another DNAME. 4320 - in case of a loop returns gracefully instead of crash. 4321 - nsec3 checks if it is enabled for the zone for wildcards. 4322 - NSD will give referrals for zone cuts encountered after a CNAME 4323 or a DNAME. This also fixed various subtle stuff with CNAME/DNAME 4324 and TYPE_DS at zone cuts. It basically re-determines the zone 4325 to use after the CNAME/DNAME. 4326 43276 June 2066: Wouter 4328 - zonec checks for data below a DNAME, and will not create the db, 4329 as per rfc 2672. Tpkg test to make sure such a zone is not loaded. 4330 - updated rr-test tpkg so it has no data below a DNAME. 4331 - DNAME synthesis of CNAME records, including compression for cname. 4332 - included cname creation in dname test. 4333 - preallocate the extra temporary domain_type structures. 4334 - too many temp domains returns OK packet so that the resolver 4335 will recurse and ask us again with the last name in the chain. 4336 - fixed bug introduced in preallocation on temp domain numbering. 4337 43382 June 2006: Wouter 4339 - dname_replace function that does DNAME replace and unit tests. 4340 - added error codes from DNSUPD rfc2136 to constants in dns.h. 4341 - in query.c added DNAME following code. 4342 - fixed bug 134: hints[i] in nsd.c to hints[0]. 4343 - added tpkg small test for DNAME. 4344 - tpkg to test bug 134 (starts 100 processes). 4345 43461 June 2006: Wouter 4347 - tsig test with NSD master and NSD slave server. Tsig AXFR transfer. 4348 nsd-xfer used to test slave zone contents. 4349 - fixed bug where buffer_flip() is done before appending tsig rr. 4350 - version printed at start of nsd in logfile. 4351 - xfrd prints name of tsig key used during transfer in commit comments 4352 so it appears in the log file and in zonefile after nsd-patch. 4353 - prints RRs from diff file only if debug level >= 1. 4354 - scalable transfer test xfr_gig added, you can set the size to try 4355 in the .pre file. Now set very small. 4356 435731 May 2006: Wouter 4358 - xfrd check for failed updates. It compares the time it wrote the 4359 commit to disk with the time of the last reload command. 4360 Failed updates are restarted like the zone is notified of the soa. 4361 It also catches reloads that have been lost (reload cmd while reload 4362 is running, or a crashed reload process, for example). 4363 - when reload is issued, times at that second are put back one second, 4364 so that after a reload all the zones that should have been loaded 4365 have a time from before the reload. 4366 - if a reload crashes, NSD will continue with the old database, 4367 xfrd is not informed, since it cannot fix that. 4368 - nsd-checkconf strdups arg strings before writing to it. 4369 - tsig error replies contain error data, but no signature. 4370 also crashproof, badly formatted tsigs get a format error. 4371 - tsig error print knows about DNS rcodes in tsig error field. 4372 - added tpkg tests for tsig. 4373 - tpkg test for nsd-xfer with TSIG from nsd. 4374 - small stuff with makedist.sh, CREDITS, Features, make test. 4375 437630 May 2006: Wouter 4377 - tsig pre-allocs the rr_region, not at runtime, tsig_create_record(). 4378 - redid some region work for tsig. Now has another temporary region 4379 for the context data. User is only aware of the region passed at 4380 start that exists for the lifetime of the struct. 4381 During TSIG checks no more mallocs are done, only region_free_all 4382 and region allocs (of small size). 4383 - checkconf, port is stored as a string. 4384 - tsig now keeps a max_digest_size for giving reserved space. 4385 - AXFR does tsig every 96 packets (and first and last packet). 4386 - tsig signing works for all queries. SOA queries, ... 4387 If you configured the key in the config file, you can use 4388 that key for any query for any zone. 4389 Except for NOTIFY and AXFR queries; those are only allowed for 4390 the zone (and source ip address) which are configured in the config. 4391 - cleaner compile with tsig disabled. 4392 - fixed unknown key error reply in tsig. 4393 439429 May 2006: Wouter 4395 - The nonblocking write routines disable silently if they have 4396 nothing to do. 4397 - put xfrd read/write state routines (almost 500 lines of code) 4398 into xfrd-disk.c file. 4399 - little readme blurb on xfrd state file for the operator. 4400 - put ipc code in its own file for ease of reading. 4401 - removed --disable-axfr, you can control this via acls. 4402 With no provide-xfr: statements, a zone will not do axfr. 4403 440425 May 2006: Wouter 4405 - fixed reload sending; it checks for EAGAIN and EINTR. 4406 - reload sends parent quit command blocking to make sure of arrival. 4407 - send_children_quit in parent uses nonblocking writes and closes 4408 the pipe to signal the child to quit (even if the write does not 4409 come through, the closed pipe will cause the child to quit). 4410 - need_to_send_STATS flag in parent. 4411 - reload has its own ipc-listening handler in server_main. 4412 - nonblocking writes for server_main; this solved write-blocking race. 4413 - another race condition solved, if a process dies, half a read or 4414 write buffer could be left behind on another process. These are 4415 dropped. Now: 4416 * The server_main drops ipc from dead children. 4417 * The server_main drops ipc if xfrd dies. 4418 * The server_main drops xfrd(old) and all children ipc 4419 on reload. 4420 * The xfrd drops ipc to parent on a SOA_BEGIN from reload. 4421 So after reload, but parent and xfrd start with 4422 clean ipc buffers. 4423 442424 May 2006: Wouter 4425 - unit tests print progress while running to stderr. Included license 4426 of cutest with its source in svn repository. 4427 - stack type (for the IPC buffer of zone update dirty). And unit test. 4428 - only update zone-is_ok if needed to reduce memory copy on write. 4429 - split off conn_write() from xfrd tcp nonblocking write routines. 4430 - nonblocking writes for xfrd. 4431 443222 May 2006: Wouter 4433 - ported over minor nits from 2.3.5 NSD fixups. Cast to (void) 4434 unused function return values. 4435 - removed kill signal to children, superfluous due to quit cmd ipc. 4436 - moved is_ok for zones to the zone_type in namedb, not in 4437 the options, it is a runtime value not a config value. 4438 For zones that have no data, parent and children keep no state. 4439 444012 May 2006: Wouter 4441 - fixed up usage print for zonec to include -f option. 4442 - xfrd send notifies. 4443 - server no longer sends SOA INFO for master zones. 4444 - removed possible debug log print of a null string. 4445 444611 May 2006: Wouter 4447 - nsd.conf.sample shows defaults for ip4-only, ip6-only and debug-mode. 4448 - SOA_BEGIN message on start of reload sending soa info so that 4449 xfrd will not reply with expire-notifications and thus deadlock 4450 both on blocking writes (and no OS buffer on the pipes). 4451 445210 May 2006: Wouter 4453 - nsdc.sh is set +x after creation. 4454 - improved error message when zone in db has no config info. 4455 - support for broken nsec3 chains (if the one with the SOA bit 4456 is complete, it is OK for there to be other nsec3 chains 4457 with different parameters in the zone). 4458 44599 May 2006: Wouter 4460 - Fix for finding bad zone when populating SOA info on start. 4461 it would find a parent zone instead of the zone in question ( 4462 which is empty). 4463 - request-xfr: AXFR 10.0.0.153 keytouse syntax to interoperate 4464 with NSD machines. Will only send AXFR queries to the machine. 4465 - documented AXFR option in nsd.conf.5 manual page, 4466 and updated nsd-checkconf, nsd.conf.sample. 4467 - made 'skipping zone' log entry clearer (Sam Weiler asked). 4468 44698 May 2006: Wouter 4470 - updated zparser.y to handle empty nsec_seq lists. 4471 for empty nonterminals in NSEC3. 4472 - nicer without ambiguous grammar. 4473 44745 May 2006: Wouter 4475 - nsd-notify handles option -y key:secret to TSIG sign outgoing 4476 queries. 4477 - the acl checks now verify TSIG signatures on the query. 4478 - iterated_hash compiles with ssl disabled. 4479 - new ipc NSD_ZONE_STATE sent by xfrd to nsd process. notifies 4480 nsd of the state (ok or expired) of a zone. 4481 - reload process waits for the old server_main to exit to make 4482 sure there is no race condition listening to the NSD_ZONE_STATE 4483 messages generated when reload sends SOA_INFO to xfrd. 4484 - server_main and children all set zone_ok state in config options. 4485 also server_main so that newly forked children get the right state. 4486 - if a secondary zone is expired, NSD returns SERVFAIL. 4487 a transient error, so resolvers try again later. 4488 - SOA_END ipc message, sent by reload to xfrd, so it can repeat 4489 all zone states (which can have changed during reload). 4490 - zone_is_ok kept in config section so that state for zones 4491 without data is not lost. Those have no zone_type*. 4492 - secondary zones start in the expired state. 4493 - if expired zones are updated, then NSD gets the go ahead from 4494 xfrd after reload sends SOAINFO/SOAEND msg, so it is really 4495 updated in nsd memory. 4496 - fixed tpkg xfr_1 to have longer expiry times (from 0 and 3 4497 seconds to 2000 and 3000 seconds), so the zone does not expire 4498 during the test anymore. 4499 45004 May 2006: Wouter 4501 - when a new lease is acquired xfrd_packet_newlease result is used. 4502 - if a zone is lost in nsd db, xfrd will update state to match. 4503 - IXFR can use TSIG in queries and verify responses. 4504 - Fixed memory leak in xfrd tsig handling. 4505 45063 May 2006: Wouter 4507 - forward of 2.3.4 RELNOTES into trunk. 4508 - debug log statements to track xfrd request rounds. 4509 - removed memleak from handle_passed_packet in xfrd. 4510 - faster find_zone in difffile.c. 4511 - nsd-patch writes commit log entries into zone file. 4512 - took some tsig.c enhancements from 3 branch, 4513 -> if key or algo changes during connection, return bad_key, 4514 -> debug statement neater. 4515 - nsd adds tsig keys to tsig keyring at startup. 4516 45172 May 2006: Wouter 4518 - ifdef inet6 back on ss_family usage in server.c. 4519 - nsd-checkconf ip6 ifdefs improved. 4520 - xfrd tries servers 3 rounds, then waits for next retry. 4521 45221 May 2006: Wouter 4523 - off_t used for 64bit fileio. 4524 - searches for smallest unused part and sets diff_skip to that. 4525 - doc comment near the region_free_all for every query about 4526 malloc speed. 4527 - null ptr in strcmp does not work on bsd, fixed nsd-checkconf. 4528 - made nsd.conf.sample.in so the sample gets prefix-corrected. 4529 - removed nsd.zones.sample. 4530 - makedist.sh added manual pages for nsd-xfer nsd-patch. 4531 - install/uninstall nsd-patch, nsd-checkconf and manpage. 4532 small update readme. 4533 453428 Apr 2006: Wouter 4535 - ixfr >64k in xfrd. 4536 - fixed length of new commit parts. 4537 - fixed multiple ipc reads in xfrd. 4538 - fixed multiple packet ixfr read in diff file. 4539 Miek: 4540 - Forward port fixes for nsd-xfer and nsd-notify 4541 454227 Apr 2006: 4543 Wouter: 4544 - nsec3 review fixes. 4545 - diff file format expanded for >64kb transfer support. 4546 - diff reader adjusted for >64kb. 4547 Jelte: 4548 - small non-null options check in nsd.c. 4549 Miek: 4550 - updated nsd-checkconf for zone parse shell script support. 4551 455225 Apr 2006: Wouter 4553 - Tests on NSEC3 code. Fixed that the unsecure delegations also 4554 have _ds_ parent nsec3 prehashes, so that they get proper NSEC3s. 4555 NSD will serve NSEC3s to prove 'opt-out' also if the opt-out bit 4556 is (erroneously) not set. 4557 - For the 05pre2 draft section 5.4.8.1. QTYPE is NSEC3, only NSEC3 4558 RRsets at name. Fixed that RRSIGs present do not matter. 4559 And also the closest encloser proof in that case fixed. 4560 If wildcard exists below zone apex servfails (cannot disprove 4561 it and NSD cannot instantiate the wildcard at that point). 4562 456324 Apr 2006: Miek 4564 Miek: 4565 - forward port nsid (disabled by default) 4566 Wouter: 4567 - nsd-patch manual page. 4568 - minor MacOSX port fixes. 4569 - xfrd-reload-timeout: config option. 4570 - if you set the xfrd reload timeout to -1 it will not 4571 automatically reload after a transfer. User can reload. 4572 - reload timeout is a wait period after the reload is triggered. 4573 - more verbose acl logging. Validated acls are logged in detail. 4574 Invalid acls are only logged in debug mode, level >= 1. 4575 - log message when xfrd tcp connections max out. 4576 - if unknown NSEC3 hash type (not SHA-1), disable NSEC3. 4577 - xfrd randomizes the timeouts, within 10% of original, 4578 to spread out activity. Short timeouts < 10 seconds are not 4579 affected, and will give activity bursts (on startup for example). 4580 458121 Apr 2006: Wouter 4582 - put NSEC3 code in nsec3.c and nsec3.h. 4583 - iterated_hash only adds the salt if salt_len > 0. 4584 - added some assertions and cleanups to nsec3 code. 4585 - prehash also calcs the nsec3_last domain*. 4586 - dbaccess when reading in will set the rr_type.owner value. 4587 - changed namedb_find_zone to domain_find_zone, log msgs. 4588 - implemented logic from nsec draft 05-pre2 section 5.4.1 - 5.4.8. 4589 NSEC3 responses only happen for nsd compiled with --enable-nsec3 4590 and for zones where an NSEC3 with the SOA bit set exists. 4591 - added prehash pointer to ds parent side cover for opt out. 4592 - removed dynamic plugins. Dynamic plugin support is an explicit 4593 non-requirement (under creeping featurism). 4594 - in domain table create root nsec3 ptrs are NULL. 4595 459620 Apr 2006: Wouter 4597 - Unittest of base 32 encoding. 4598 - unittest start for iterated hash. 4599 - fixed for ctrlc in debug mode. 4600 - delete zparser_conv_long, not used, not needed 4601 - nsd-xfer will display NSEC3 correctly. zonec parses. 4602 - improved usage() line from zonec, about -c none, must be -C. 4603 - base32 printed in lowercase (canonical format for DNS). 4604 - NSEC3 added prehash pointers to the namedb. 4605 - NSEC3 autodetects presence of NSEC3 in zone and parameters. 4606 460719 Apr 2006: Wouter 4608 - port fix base10 in zonec conv short from 2_2 branch to trunk. 4609 and conv byte, algo, certificate, long. 4610 - configure option to enable NSEC3 (--enable-nsec3) support. 4611 - from Ben Laurie's NSEC3 patch, loaned the parse code, 4612 base32 conversion code and iterated_hash. 4613 With some small modifications. The type rrdescriptors are 4614 indexed by value below SPF, and in 4615 rdata_wireformat_to_rdata_atoms BINARYWITHLENGTH checks 4616 for end of buffer. Also parser checks for '-' salt. 4617 Some layout (spaces after ,s). And NSEC3 define is used. 4618 strtol used for iterations is base 10. 4619 - moved rrtype descriptor table sanity check to unittest. 4620 462118 Apr 2006: Wouter 4622 - Fixed check for SOA IN, bad ntohs in the check. 4623 - minimum timeout also enforced for very low expire times. 4624 - report the actual used length of the sockaddr to sento 4625 for FreeBSD. 4626 46277 Apr 2006: Wouter 4628 - modified the kill_nsd tpkg so that it waits up to 10x5 secs 4629 for nsd to make the pid file, and it wait up to 10x5 secs for 4630 nsd to exit after the kill signal is given. 4631 - xfrd checks on startup if there is trailing garbage in the 4632 diff file, left there by a previous xfrd killed in action. 4633 It then snips off any partial parts, so service can resume. 4634 Also the difffile_skip pos is set before any partial record there. 4635 - first version of nsd-patch; reads db and ixfrs and updates zones. 4636 - moved print_rdata from nsd-xfer to rdata.h to share code. 4637 - moved print_rr from nsd-xfer to util.h to share code. 4638 46396 Apr 2006: Wouter 4640 - notify handler passes acl number that matches to xfrd. 4641 - xfrd keeps a next_master for a zone, and sets it after notify. 4642 when notified nsd will try to contact the master that sent 4643 the notify, if send from an address that is both in acl 4644 allow-notify and request-xfr. 4645 - xfrd closes its tcp and udp sockets on exit. 4646 - default names for diff file and xfrd state nicer. 4647 - fixed up kill nsd grep on ps. 4648 - fixed up race conditions in test script for kill nsd 4649 wait for pid file creation by nsd, and grep -v grep in check. 4650 - in nsd signal-flags inherited from the parent are zeroed 4651 when a server_child starts. Also the server_child switches back 4652 to NSD_RUN mode when a bad mode happens. 4653 - check if ixfrs start from the version in memory. 4654 - if IXFR/AXFR ends in a serial that is newer than the serial 4655 that was sent in an notify, update the notified serial. 4656 46575 Apr 2006: Wouter 4658 - added lowerbound for retry timeout. 4659 - added extra assertions to xfrd-tcp.c, saying that the waiting line 4660 for tcp connections must be empty if the counter is below max. 4661 - setup so that the first master tried is the first in acl list. 4662 - diff file skips OPT and TSIG RRs if they are put into the answer 4663 section. 4664 - if IXFR contains an RR to delete that does not exist, nothing 4665 happens. 4666 - update zone for NS, RRSIG also if multiple RRs in the rrset. 4667 - difffile: create zone struct also if domain exists already. 4668 - difffile: destroy temp region on error. 4669 - difffile: in delete_RR, create temp region outside of the routine, 4670 so no alloc region, destroy region for every deleted RR. 4671 - difffile: for IXFR: do not delete final SOA RR. 4672 - difffile: unknown parts in file is an error. 4673 - difffile: EOF on last packet is ignored w/o giving an error. 4674 46754 Apr 2006: Wouter 4676 - Addes EACCES to the netio dispatch error bailout. 4677 - Removed EACCESS (probably due to log_msg), error on close 4678 xfrd pipe is small, main process closes its end, and hopes for 4679 the best). 4680 - review: return on error condition in xfrd_tcp_open fixed. 4681 - review: expired when time >= expire_time, so it will not wait 4682 for the retry after expire until it will detect the expiredness. 4683 - removed duplicate lines from xfrd_handle_zone_timeout. 4684 - review: copy of uint32_t using memcpy to avoid unaligned memory 4685 accesses. 4686 - review: fd=-1 removed from set_refresh_now; only does timer. 4687 - on a tcp timeout it will retry immediately (instead of waiting 4688 another retry timeout). This means if you set refresh_now, it will 4689 interrupt a tcp-timer for a fresh retry with the next master. 4690 - put null in buffer for xfrd read state. 4691 - log msg uses string that exists instead of overwritten buffer. 4692 - read entry sets refresh depending on current time, 4693 and makes sure not to check soa contents if none provided. 4694 added explanatory comments. 4695 - EACCES back in check. 4696 - server_main first checks for terminated children, then select(). 4697 So when select is interrupted, by kill or quitting children, 4698 it will first see if it has to quit itself, before restarting 4699 the children. 4700 - destroy tempregion xfrd read on error. 4701 - check for serial existence in xfrd_handle_incoming_soa. 4702 - handle_incoming_soa uses set_timer_refresh routine. 4703 and can handle expire times < refresh times. 4704 - log msg for udp socket() error. 4705 - review: xfrd_parse_soa_info email parse uses correct buffer spot. 4706 - added a lowerbound to refresh interval (=1 second now). 4707 - upon receipt of a IXFR, if the serial is older than the notified 4708 serial, the zone stays refreshing (but the ixfr is saved). 4709 47103 Apr 2006: Wouter 4711 - Added buffer length check to internal ipc. 4712 - split out packet_read_query_section from the process_query_section 4713 routine (and moved to packet.c/h). 4714 - xfrd reads passed packet via ipc. 4715 - ported over fix to 2_2 on missing rr types by removing the 4716 duplicate RRtype array, and using rrtype_to_string. 4717 - xfrd handles notifies. immediately starts updating. 4718 - xfrd state file format fix. 4719 - removed libwrap stuff - superseded by acls. 4720 use provide-xfr: statements for your zone in the config file. 4721 updated README for this. 4722 - updated tpkg tests for axfr to use provide-xfr: 127.0.0.1 NOKEY 4723 - review: move var create to start of function (xfrd_init()). 4724 472531 Mar 2006: Wouter 4726 - zone type has a pointer to zone options. 4727 - nsd options has an rbtree to find zone options in. 4728 - nsd checks acl for incoming notifies and replies 4729 error or confirmation. 4730 - nicer layout in options.c. 4731 - updated makefile dependencies. 4732 - fixed sz for SOA_INFO ipc, which was too small. 4733 - notify is sent to server_main, server_main sends it to xfrd. 4734 473530 Mar 2006: Wouter 4736 - include: documented in manual page. 4737 - MAXINCLUDES define in one place (config.h). 4738 - configure checks for strptime in include files. 4739 - use %d instead of %zd (sparc5 machine does not get zd). 4740 - use region_strdup in configlexer. 4741 - added a check for EINVAL in dispatch - will abort 4742 on the error instead of busy hang. 4743 474429 Mar 2006: Wouter 4745 - \r for config lexer. (similar changes to zonelexer). 4746 - forward port of fix to 2_2 branch: 4747 short int in var_arg is promoted to int, according to B. Laurie. 4748 The same logic for %o, %d %x would hold for %u I think. 4749 - in XFRD, soa prim_ns and email domain names are kept in a max 4750 size buffer. 4751 - split up dname_parse into parse from string to wireformat 4752 and parse from wireformat to memoryformat, so both can be called. 4753 - split up dname_make_from_packet into reading the wireformat 4754 from the packet and the dname_make, so both can be called. 4755 - xfrd reads all soa info from incoming xfr packets. 4756 - xfrd will ignore TC bit on tcp channels. 4757 - nsd sends xfrd all soa info, including ttl and dnames. 4758 - config file now has an include: filename directive. 4759 476028 Mar 2006: Miek 4761 - forward port fixes for zone compiler and \r. svn:1926-1927 4762 - add DO bit MASK and remove the !! construct 4763 476417 Mar 2006: Wouter 4765 - according to axfr-clarify, added comments that we check 4766 more leniently on further responses on a TCP stream. 4767 476816 Mar 2006: Wouter 4769 - Fixed up SOA INFO Send routines. Send from server works. 4770 - niced up xfrd state file. 4771 - Fixed up so that after a reload it will continue in diff file 4772 where it left off. 4773 - made send of SOA info use write_socket, in case of short writes. 4774 - redesigned xfrd_tcp_read to use the same code for ipc read. 4775 - no free()s before xfrd exit. 4776 - xfrd handles incoming SOA INFO ipc packets. 4777 - removed debug, updated zones get SOA INFO sent. 4778 477915 Mar 2006: Wouter 4780 - Fixed up domain table insert, it was being used in routines 4781 that originate from nsd-xfer that do not set compression numbers 4782 correctly. 4783 - memleak fix in difffile in case of error. 4784 - difffile processing works so that NSD can read an axfr saved 4785 into the nsd.diff file. (xfrd already request and save it there). 4786 - split off xfrd tcp handling into xfrd-tcp.c. 4787 - cleaned up send_udp in xfrd, and read_state. 4788 - removed xfrd tcp_send_blocking. 4789 - xfrd sets state from ok to refresh to expired based on timeout. 4790 - xfrd sets reload timeout. 4791 - Added zone updated to keep track of zones that are changed 4792 after a reload. These zones get their information notified 4793 to xfrd. 4794 - removed unused zprintrr declaration from zonec.h 4795 - nsd sends soa information to xfrd. 4796 479714 Mar 2006: Wouter 4798 - TODO updated 4799 - worked on reload ixfr. It will add/delete RRs and zones. 4800 - xfrd receive parse of xfr messages improved. writes commit. 4801 - server compressed_dname_offsets table is increased if reload 4802 creates extra names. 4803 - difffile will create zone and apex if not there (i.e. the zone 4804 is configured but no data file provided). 4805 - bit more verbose in error message for bad diff file. 4806 - Typo fix in sample config file. 4807 480813 Mar 2006: Wouter 4809 - configure sets fseek (fgetpos/fsetpos) to use 64 bit interface 4810 with _FILE_OFFSET_BITS=64. 4811 - nsd will skip loading the .db if the DB checksum is the same. 4812 - Miek added trace test and nsd kill test. 4813 - Wouter worked on diff file c. 4814 481510 Mar 2006: Wouter 4816 - Cleanup of UDP/TCP code in XFRD. 4817 - xfrd now has tcp max connections and managing. tcp read/write. 4818 - response TC on UDP ixfr, starts TCP. 4819 - sends correct ixfr and axfr queries, a bind server answers. 4820 - made packet_skip_dname() public. 4821 - sets read/write event flags for tcp fd right. 4822 48239 Mar 2006: Wouter 4824 - Removed header from DIFF file format. CRC not that important there, 4825 you have to check the packets anyway. 4826 - cutest rbtree removed unused clean_rbtree and always_fail routines. 4827 - xfrd timeout handler, more work. Checks expire. 4828 48298 Mar 2006: Wouter 4830 - xfrd sends UDP xfr request to master(s) with timeouts, and stores 4831 returned data on disk. 4832 - updated dependencies and declaration of write_soa_buffer. 4833 48347 Mar 2006: Wouter 4835 - Fixed printfs for size_t warnings on Mac OsX. 4836 48376 Mar 2006: nsd-team 4838 * Wouter: xfrd read and write work. Statefile is "nsd.xfst". 4839 * Wouter: nsd-checkconf checks dname parse of zone name:. 4840 * Wouter: updated difffile in parser.y, production in server: clause. 4841 * Wouter: zonec now takes -C for 'no config file' option. 4842 * Wouter: updated configyyrename.h for bison 1.875d on sparc. 4843 * Miek: zonec -h and nsd -h exit with exit code = 0. 4844 * Miek & Wouter: updated tpkgs to work again. 4845 * Wouter: xfrd read handle soas, handle soa_incoming part. 4846 * Wouter: moved compare_serial() from nsd-xfer to util.h. 4847 48484 Mar 2006: Wouter 4849 - xfrd zone and soa memory structure definitions. 4850 - xfrd init zones. 4851 - xfrd read and write state file code. 4852 - option for difffile: and xfrdfile: config lines. 4853 48543 Mar 2006: Wouter 4855 - Removed double kill after reload. Only socket cmd send. 4856 - Added code to handle race condition where xfrd is restarted 4857 during a successful reload. Afterwards, the new server_main 4858 only has the old xfrd pid, new xfrd is an orphan. 4859 Solution: when xfrd closes cmd channel (i.e. it quit) 4860 unexpectedly, send sighup to all processes in the group. 4861 This should quit the orphan & all children & reload the 4862 server_main, which will fork the children and xfrd again. 4863 48642 Mar 2006: Wouter 4865 - Added nsd-checkconf.8 to makedist.sh replace list. 4866 - DIFF file format updated. 4867 - removed tsigkey->server value, it was read in, but unused. 4868 - new function to add config file keys to tsig. 4869 - nsd-checkconf checks parsing of keys. 4870 - Updated sample key file with valid keys. 4871 - added first xfrd files. xfrd is started from server_main. 4872 xfrd listens to server and server to xfrd. xfrd is restarted 4873 if it dies unexpectedly. xfrd quits when server signals it. 4874 xfrd survives nsd reloads. 4875 - nsd_options no longer global variable. 4876 48771 Mar 2006: Wouter 4878 - Nicer text in nsd.8. 4879 - nsd.c prettier code in option handling. 4880 - zonec.c code prettier in option handling, also chdir bug removed. 4881 zonec uses the zone definitions in the config file. 4882 updated zonec.8 and usage(). 4883 - nsd also chdirs to the zonedir, otherwise nsd and zonec would 4884 try to read the database: file from different directories. 4885 .(it does the chdir before the chroot call.) 4886 - new calling syntax for zonec and nsd, because of new config file. 4887 - options added acl acceptance tests (no tsig yet). 4888 - added unit test for options.c - for acl tests. 4889 - zonec removed unused vars, nsd-checkconf print arguments. 4890 - nsd-checkconf.8 manual page. 4891 489228 Feb 2006: Wouter 4893 - checked in options.h and config parser code. 4894 - also nsd-checkconf that will test a config file 4895 .(and optionally show what was read). 4896 - default identity has a spelling error. 4897 - Small fix (typo in example) to config manual page. 4898 - Added ; to configparser.y to please bison 1.75 on bsd. 4899 - Will check for blocked addresses in outgoing acls. Also ranges. 4900 - Check configuration tpkg test added. Uses checkconf. 4901 - checkconf does extra semantic tests. i.e. enable absent features. 4902 - tcpcount and servercount cannot be negative. 4903 - updated nsd.conf.5 manpage for @port syntax. 4904 - changed config parser: allows empty server: part (defaults). 4905 - made nsd.conf.sample file. 4906 - put option to configure for CONFIG_FILE nsd.conf location. 4907 Note. Already nsdc.conf exists. Both exist now. 4908 - updated makefile dependencies (gcc -MM). 4909 - getopt optstring in nsd-checkconf updated ("v" only option). 4910 - Added config .o files to nsd and zonec. This compiles. 4911 - Added commandline option -c configfile to zonec and nsd. 4912 configure defaults < configfile < commandline options in importance. 4913 491424 Feb 2006: Wouter 4915 - Added compute_crc in util.h and unit tests for it. 4916 - in cutest.tpkg the number of unit tests was hardcoded 4917 in the tpkg package. Removed the dependency, cutest exit 4918 value indicates if any failures happened. 4919 - Added crc at end of NSD-database format. Unique per db. 4920 upped db version to 7 because of this. 4921 - Tested that crcs are big/little endian correct. 4922 - Added DIFF file spec 4923 - updated tpkg213 which compares md5 on a zonefile for new format. 4924 - added nsd.conf.5 manual page with a draft contents. 4925 492622 Feb 2006: nsd-team 4927 * Miek: Changed over to Cutest testing framework. 4928 * Miek: fixed typo in netio.h 4929 * Miek: fix syntax in rbtree.c put functions on multiple lines. 4930 * Miek: unit test tpkg for cutest. 4931 * Wouter: fixed ptr bug in rbtree unit test. 4932 493317 Feb 2006: Wouter 4934 - rbtree_delete is added and works. Unit tests are there too. 4935 - Changed tail recursion in rbtree_delete to while loop. 4936 - Tagged this version as NSD_3_signalsocket_solution. 4937 It is the stable 2_2 branch with cleanups, portable, and 4938 signalhandler solution by socket communication redesign. 4939 494015 Feb 2006: nsd-team 4941 * Wouter: Fixed server_child would wait for two kill signals before quit. 4942 * Miek: don't check for port==0 pkt, just try to send them. 4943 Forward Port of 2.3. 4944 * Wouter: Removed unused, not substituted, @nsdxfer@ from Makefile.in. 4945 494614 Feb 2006: Wouter 4947 - Added unit tests for rbtree. Extensive testing of all functions. 4948 - Added tpkg unit test. 4949 - configure tests for CUnit(optional lib for unit tests). Makefile 4950 cleanup so it works on non-gmake on freebsd. 4951 495213 Feb 2006: Wouter 4953 - Removed timespec_add(current_time) in server_main, the timeout was 4954 relative, not absolute. This fixes EINVAL on the timeout on freebsd. 4955 - Added check in configure for compiler flags. Used for -Wextra. 4956 - Added check in configure for va_list definition conflict between 4957 stdio and stdarg. This happens on DEC Alpha/Debian. 4958 - removed --enable-mmap configure option. There is no mmap support 4959 in the current codebase. 4960 - renamed local prev to next in domain_next() in namedb.h. 4961 - Removed heap.h. It was not used. Heap and rbtree are mingled anyway. 4962 - in netio.c, in dispatch, it would store the next pointer 'in case 4963 the handler removes itself'. But if the handler removes that next. 4964 Then it would fail. So stored the next in struct netio. 4965 This removes a potential bug. Netio_dispatch is not reentrant. 4966 Reentry would need a list of iterator* in struct netio. 4967 - Changed process_query() to server_process_query(). It is too 4968 similar to query_process(). 4969 497010 Feb 2006: nsd-team 4971 * Wouter: Improved configure.ac to detect pselect in sys/select. 4972 The check works on freebsd(yes) and fedoracore 3 and 4 (no). 4973 I hope it also works on Solaris. 4974 Also various other prototypes were implicit: chroot, strptime, ... 4975 These are also solved. 4976 * Wouter: Checked configure on sparc5(solaris). Added check for 4977 ctime_r in time.h (for tsig.c). This conf also works on freebsd/linux. 4978 * Wouter: Updated dependencies in makefile for plugin headers. 4979 These are included only when --enable-plugins is present. 4980 * Wouter: Added a send quit over socket to kill commands in server_main, 4981 These act when the fork children fails. If the kill fails, the 4982 socket command hopefully still works. 4983 * Wouter: Put reload code into a separate function. It communicates with 4984 a socket to the old parent, and sends it a quit command. This works 4985 and terminates the old nsd. Left in the kill as a double failsafe. 4986 If the reload process dies, then the parent closes the socket. 4987 * Wouter: Separated the signal mode from the socket-determined nsd->mode. 4988 Every signal function has a variable, so that multiple signals can 4989 arrive. Only the number of signals of the same type is lost, but not 4990 important for nsd. The signals are handled in turn by the run loop. 4991 This completes the coding to remove signal race conditions: 4992 - nsd uses sockets to communicate with its subprocesses(server,reload). 4993 - signal handler routine contains no lengthy system calls. 4994 - signals cannot overwrite a previous signal. 4995 * Wouter: fixed problem where nsd->mode and mode are different in 4996 server_main. Nsd would kill the children, but then restart them again. 4997 499809 Feb 2006: nsd-team 4999 * Wouter: Updated dependencies in Makefile (regenerated them with gcc -MM). 5000 * Wouter: Used splint on the source (with settings to reduce spam.) 5001 And came to the following changes: 5002 - In util.h, make it respect HAVE_CONFIG_H and HAVE_SYSLOG_H. 5003 Also it now defines fallback values for #defines in syslog h. 5004 - Added explicit cast to (unsigned int) in snprintf in dname.c, 5005 dname_to_string routine. 5006 * Wouter: Used extra warnings during gcc compile. -Wextra -Wall 5007 -pedantic -Wbad-function-cast -Wmissing-declarations 5008 -Wmissing-prototypes -Wnested-externs -Wold-style-definition 5009 -Wstrict-prototypes -Wdeclaration-after-statement. 5010 Using -Wtraditional gives too many warnings. 5011 * Wouter: Found a problem with pselect. sys/select.h does not by default 5012 provide the pselect function definition. configure script is 5013 adjusted to test for this and enable _XOPEN_SOURCE=600 to get it. 5014 Found this using the gcc warnings. 5015 * Wouter: dname and rbtree test apps were in make clean target, but 5016 do not exist anymore. Removed from make clean target. 5017 * Wouter: in util log_file() the epoch time_t is passed to printf 5018 without an int cast. Found using extra gcc warnings. 5019 * Wouter: In server.c fixed some signed-unsigned comparisons 5020 using the extra gcc warnings. 5021 - in shutdown and int was used instead of size_t. 5022 - in server_main timeout(signed) was compared with unsigned. 5023 - unused variable in new handler functions. 5024 - in handle_child_command int i instead of size_t was used. 5025 - in zonec the process_rr routine was missing (void) as paramlist. 5026 * Wouter: Added -Wall and -Wextra when --enable-checking is enabled. 5027 * Miek: Ported over the big fat enable checking configure warning. 5028 * Wouter: fixed configure check for pselect on freebsd. 5029 503008 Feb 2006: nsd-team 5031 * Wouter: In server.c also sockets from unexpectedly dead childs are closed. 5032 * Wouter: in nsd.c and server.c cleaned out the signal handler, so that 5033 it only includes two switch/if statements and alters only the mode. 5034 No more calls to alarm(), waitpid(), write(), log_msg(). 5035 Instead the work is done in the runloop in server.c and sent by socket. 5036 Also the parent now waits for children. Parent restarts them. 5037 * Wouter: Fixup, the children will quit if the parent closes the command 5038 socket. If parent is killed, they will exit too. 5039 * Wouter: The server_main now listens to children command channels. 5040 Included timeout to check for terminated processes. 5041 Test says that new signal handler works, and child->parent comm. 5042 504307 Feb 2006: nsd-team 5044 * Miek: configure.ac version to 3.0.0 5045 * Miek: looked at: buffer.{ch}, answer.{ch}, dns.{ch} 5046 those files don't have any changes, except for dns.{ch} for the 5047 explicit compression. 5048 * Miek: looked at: zlexer.lex and zparser.y; only changes there 5049 for the database changes. 5050 * Wouter: Changed buffer in write_pid from 16 bytes to 32 bytes, 5051 this makes 64 bit numbers fit in the buffer. 5052 * Wouter: Socket connection between parent and child nsds added. 5053 But sighandler now in worse shape. Need to close them. Remove kills. 5054 * Wouter: close the parent and child command channel sockets in shutdown(). 5055