1*bf87c3c0Sflorian4 April 2024: Jeroen 2*bf87c3c0Sflorian - Use rooted temporary path in makedist.sh. 3*bf87c3c0Sflorian 4*bf87c3c0Sflorian3 April 2024: Jeroen 5*bf87c3c0Sflorian - Replace multiple strcat and strcpy by snprintf. 6*bf87c3c0Sflorian - Tag for 4.9.0. 7*bf87c3c0Sflorian 8*bf87c3c0Sflorian26 March 2024: Jeroen 9*bf87c3c0Sflorian - Test if debug is available in do-tests. 10*bf87c3c0Sflorian - Enforce timeout from NSD in ixfr_gone test. 11*bf87c3c0Sflorian - Update expressions in ixfr_and_restart test. 12*bf87c3c0Sflorian - Make algorithm explicit in control-repattern test. 13*bf87c3c0Sflorian - Switch algorithm to hmac-256 for testplan_mess test. 14*bf87c3c0Sflorian - Tag for 4.9.0rc1. 15*bf87c3c0Sflorian 16*bf87c3c0Sflorian25 March 2024: Jeroen 17*bf87c3c0Sflorian - Fix timing sensitivity in ixfr_outsync test. 18*bf87c3c0Sflorian 19*bf87c3c0Sflorian22 March 2024: Jeroen 20*bf87c3c0Sflorian - Set up doc/RELNOTES for upcoming release. 21*bf87c3c0Sflorian 22*bf87c3c0Sflorian26 February 2024: Willem 23*bf87c3c0Sflorian - Merge #316: Fix to reap defunct children by the reload process that 24*bf87c3c0Sflorian emerged when some serve child processes were still serving TCP 25*bf87c3c0Sflorian request while the others had already quit, while the reload process 26*bf87c3c0Sflorian was waiting for the signal from the backup/old main process that all 27*bf87c3c0Sflorian children exited. 28*bf87c3c0Sflorian - Fix (also from Merge #316) to reap exited children more frequently 29*bf87c3c0Sflorian from server main loop for processes that exited during reload, but 30*bf87c3c0Sflorian missed the initial reaping at start of the main loop because they 31*bf87c3c0Sflorian took somewhat longer to exit. 32*bf87c3c0Sflorian 33*bf87c3c0Sflorian16 February 2024: Wouter 34*bf87c3c0Sflorian - Fix compile with memclean for xfrd nsd.db close. 35*bf87c3c0Sflorian - In xfrd del secondary zone, the timer could perhaps have 36*bf87c3c0Sflorian event_added, and if so, it would not be event_del if a tcp connection 37*bf87c3c0Sflorian is active at the time. This could cause the libevent event lists 38*bf87c3c0Sflorian to fail. Also fix to make sure to set event_added for the 39*bf87c3c0Sflorian nsd-control ssl nonblocking handshake and check event_added there 40*bf87c3c0Sflorian too, for extra certainty. 41*bf87c3c0Sflorian 42*bf87c3c0Sflorian15 February 2024: Willem 43*bf87c3c0Sflorian - Merge #304: Support for Catalog zones version "2" as specified in 44*bf87c3c0Sflorian RFC 9432. Both the consumer as well as the producer role are 45*bf87c3c0Sflorian implemented, but only a single catalog consumer zone is allowed. 46*bf87c3c0Sflorian The "coo" property, only relevant with multiple catalog consumer, 47*bf87c3c0Sflorian is therefore not supported. The "group" property is supported. 48*bf87c3c0Sflorian Have a look at the nsd.conf man page for details on how to 49*bf87c3c0Sflorian configure and use catalog zones. 50*bf87c3c0Sflorian 51*bf87c3c0Sflorian12 February 2024: Willem 52*bf87c3c0Sflorian - Allow SOA apex queries to otherwise with allow-query protected zones 53*bf87c3c0Sflorian for clients matching a provide-xfr rule, because clients that are 54*bf87c3c0Sflorian allowed to transfer the zone need to be able to query SOA at the 55*bf87c3c0Sflorian apex preceding the actual transfer. 56*bf87c3c0Sflorian 57*bf87c3c0Sflorian6 February 2024: Wouter 58*bf87c3c0Sflorian - Fix #313: nsd 4.8 stats with implausible spikes. 59*bf87c3c0Sflorian 60*bf87c3c0Sflorian16 January 2024: Wouter 61*bf87c3c0Sflorian - Move acx_nlnetlabs.m4 to version 48, with ssp and getaddrinfo 62*bf87c3c0Sflorian include check. 63*bf87c3c0Sflorian 64*bf87c3c0Sflorian14 January 2024: Wouter 65*bf87c3c0Sflorian - Move acx_nlnetlabs.m4 to version 47, with crypt32 check. 66*bf87c3c0Sflorian 67*bf87c3c0Sflorian8 December 2023: Wouter 68*bf87c3c0Sflorian - Merge #309: More RFC 8499 compliance. 69*bf87c3c0Sflorian - Fix #310: NSD stats contain the terms "master" and "slave". 70*bf87c3c0Sflorian - Fix control-reconfig-xfrd test for zonestatus primary that is 71*bf87c3c0Sflorian printed by nsd-control zonestatus. 72*bf87c3c0Sflorian 73*bf87c3c0Sflorian7 December 2023: Wouter 74*bf87c3c0Sflorian - Merge #307 from anandb-ripencc: Many improvements to the nsd.conf 75*bf87c3c0Sflorian man page. 76*bf87c3c0Sflorian - Fix #308: Deprecate "multi-master-check" in favour of 77*bf87c3c0Sflorian "multi-primary-check". 78*bf87c3c0Sflorian 79*bf87c3c0Sflorian6 December 2023: Wouter 80*bf87c3c0Sflorian - Fix to sync the tests script file common.sh. 81*bf87c3c0Sflorian - Update test script file common.sh. 82*bf87c3c0Sflorian - Fix #306: Missing AC_SUBST(dbdir) breaks installation with 4.8.0. 83*bf87c3c0Sflorian - Fix for #306: Create directory for xfrd.state and zone.list files 84*bf87c3c0Sflorian in make install. 85*bf87c3c0Sflorian 86b71395eaSflorian29 November 2023: Wouter 87*bf87c3c0Sflorian - Tag for 4.8.0rc1. This became 4.8.0 release on 6 December 2023. 88*bf87c3c0Sflorian The repository continues with version 4.8.1 under development. 89b71395eaSflorian 90b71395eaSflorian28 November 2023: Wouter 91b71395eaSflorian - Set up doc/RELNOTES for upcoming release. 92b71395eaSflorian - Fix unit test kill_from_pidfile function for nonexistent files 93b71395eaSflorian because the argument is evaluated before the test expression. 94b71395eaSflorian - Fix rr-test to also convert the contents of the just written output 95b71395eaSflorian file. 96b71395eaSflorian - Fix test set to remove -f nsd.db and rm nsd.db commands. 97b71395eaSflorian - Fix test set to remove difffile option. 98b71395eaSflorian 99b71395eaSflorian27 November 2023: Jeroen 100b71395eaSflorian - Fix #14: Set timeout to 3s when servicing remaining TCP connections. 101b71395eaSflorian - Fix: Always instate write handler after reading queries from TCP. 102b71395eaSflorian - Answer first query on connections accepted just before reload. 103b71395eaSflorian 104b71395eaSflorian27 November 2023: Wouter 105b71395eaSflorian - Merge #305: faster stats. Statistics can be gathered while a reload 106b71395eaSflorian is in progress. 107b71395eaSflorian 108b71395eaSflorian27 November 2023: Willem 109b71395eaSflorian - Merge #302: Test package fixes. Correct Auxfiles, kill_from_pidfile 110b71395eaSflorian function and fix drop_updates, rr-test and xfr_update tests. 111b71395eaSflorian 112b71395eaSflorian1 November 2023: Jeroen 113b71395eaSflorian - Remove on-disk database. 114b71395eaSflorian 115b71395eaSflorian31 October 2023: Wouter 116b71395eaSflorian - Merge #301: improve the logging of ixfr fallbacks to axfr. 117b71395eaSflorian 118b71395eaSflorian30 October 2023: Jeroen 119b71395eaSflorian - Fix processing of consolidated IXFRs. 120b71395eaSflorian 121b71395eaSflorian30 October 2023: Wouter 122b71395eaSflorian - Fix for interprocess communication to set quit sync command from 123b71395eaSflorian main process explicitly. 124b71395eaSflorian 125b71395eaSflorian3 October 2023: Wouter 126b71395eaSflorian - Merge #281: Proxy protocol. An implementation of PROXYv2 for NSD. 127b71395eaSflorian It can be configured with proxy-protocol-port: portnum with the 128b71395eaSflorian port number of the interface on which proxy traffic is handled. 129b71395eaSflorian The interface can support proxy traffic for UDP, TCP and TLS. 130b71395eaSflorian 131b71395eaSflorian21 September 2023: Wouter 132b71395eaSflorian - Merge #295: Update e-mail addresses, add ref to support contracts 133b71395eaSflorian 134b71395eaSflorian31 August 2023: Wouter 135b71395eaSflorian - Fix autoconf 2.69 warnings in configure. 136b71395eaSflorian 137b71395eaSflorian14 July 2023: Wouter 138b71395eaSflorian - Merge #287: Update nsd.conf.5.in. 139b71395eaSflorian 140b71395eaSflorian11 July 2023: Wouter 141b71395eaSflorian - Fix unused variable warning in unit test of udb. 142b71395eaSflorian 143b71395eaSflorian22 June 2023: Wouter 144b71395eaSflorian - Fix #284: dnstap_collector.c: SOCK_NONBLOCK is not available on 145b71395eaSflorian Mac/Darwin. 146b71395eaSflorian 147b71395eaSflorian7 June 2023: Wouter 148b71395eaSflorian - Merge #282: Improve nsd.conf man page. 149b71395eaSflorian - Fix unused but set variable warning. 150b71395eaSflorian - Fix #283: Compile failure in remote.c when --disable-bind8-stats 151b71395eaSflorian and --without-ssl are specified. 152b71395eaSflorian 1533efee2e1Sflorian31 May 2023: Wouter 1543efee2e1Sflorian - Add missing items to doc/RELNOTES. 155b71395eaSflorian - Tag for 4.7.0rc1. It became release 4.7.0 on 7 june 2023. The code 156b71395eaSflorian repository continues with 4.7.1. 1573efee2e1Sflorian 1583efee2e1Sflorian30 May 2023: Jeroen 1593efee2e1Sflorian - Fix #240: Prefix messages originating from verifier. 1603efee2e1Sflorian - Fix #275: Drop unnecessary root server checks. 1613efee2e1Sflorian 1623efee2e1Sflorian30 May 2023: Wouter 1633efee2e1Sflorian - Next version is 4.7.0, instead of 4.6.2, because of the added 1643efee2e1Sflorian features, like TLS for DNSTAP. 1653efee2e1Sflorian - Fix unused variable warning in unit test, from clang compile. 1663efee2e1Sflorian 1673efee2e1Sflorian24 May 2023: Wouter 1683efee2e1Sflorian - For #279: Note that autoreconf -fi creates the configure script 1693efee2e1Sflorian and also the needed auxiliary files, for autoconf 2.69 and 2.71. 1703efee2e1Sflorian 1713efee2e1Sflorian4 May 2023: Wouter 1723efee2e1Sflorian - Fix to remove unused whitespace from acx_nlnetlabs.m4 and config.h. 1733efee2e1Sflorian 1743efee2e1Sflorian1 May 2023: Wouter 1753efee2e1Sflorian - make depend. 1763efee2e1Sflorian - Fix for build to run flex and bison before compiling code that needs 1773efee2e1Sflorian the headers. 1783efee2e1Sflorian 1793efee2e1Sflorian13 April 2023: Wouter 1803efee2e1Sflorian - Fix cirrus script for submit to coverity scan to libtoolize 1813efee2e1Sflorian the configure script components config.guess and config.sub. 1823efee2e1Sflorian - Fix readme status badge links. 1833efee2e1Sflorian 1843efee2e1Sflorian28 March 2023: Wouter 1853efee2e1Sflorian - Fix #273: Large TXT record breaks AXFR. 1863efee2e1Sflorian - Fix ixfr create from adding too many record types. 1873efee2e1Sflorian 1883efee2e1Sflorian16 March 2023: Wouter 1893efee2e1Sflorian - Fix include brackets for ssl.h include statements, instead of quotes. 1903efee2e1Sflorian - Fix static analyzer warning about nsd_event_method initialization. 1913efee2e1Sflorian 1923efee2e1Sflorian15 March 2023: Wouter 1933efee2e1Sflorian - Dnstap tls code fixes. 1943efee2e1Sflorian 1953efee2e1Sflorian14 March 2023: Wouter 1963efee2e1Sflorian - Fix dnstap to not check socket path when using IP address. 1973efee2e1Sflorian - dnstap over TLS, default enabled. Configured with the 1983efee2e1Sflorian options dnstap-tls, dnstap-tls-server-name, dnstap-tls-cert-bundle, 1993efee2e1Sflorian dnstap-tls-client-key-file and dnstap-tls-client-cert-file. 2003efee2e1Sflorian - Fix to compile without ssl with dnstap-tls code. 2013efee2e1Sflorian 2023efee2e1Sflorian9 March 2023: Wouter 2033efee2e1Sflorian - Fix #271: DNSTAP over TCP, with dnstap-ip: "127.0.0.1@3333". 2043efee2e1Sflorian - Fix to clean more memory on exit of dnstap collector. 2053efee2e1Sflorian 2063efee2e1Sflorian23 February 2023: Wouter 2073efee2e1Sflorian - Fix #270: reserved identifier violation. 2083efee2e1Sflorian 2093efee2e1Sflorian20 February 2023: Wouter 2103efee2e1Sflorian - Merge #269 from Fale: Add systemd service unit. 2113efee2e1Sflorian 2123efee2e1Sflorian16 February 2023: Wouter 2133efee2e1Sflorian - Fix #266: Fix build with --without-ssl. 2143efee2e1Sflorian - Fix #267: Allow unencrypted local operation of nsd-control. 2153efee2e1Sflorian - Fix for #267: neater variable definitions. 2163efee2e1Sflorian 2173efee2e1Sflorian2 February 2023: Wouter 2183efee2e1Sflorian - Merge #265: Fix C99 compatibility issue. 2193efee2e1Sflorian 2203efee2e1Sflorian30 January 2023: Wouter 2213efee2e1Sflorian - Merge #263: Add bash autocompletion script for nsd-control. 2223efee2e1Sflorian - Fix for #262: More error logging for SSL read failures for zone 2233efee2e1Sflorian transfers. 2243efee2e1Sflorian 2253efee2e1Sflorian27 January 2023: Wouter 2263efee2e1Sflorian - Fix #262: Zone(s) not synchronizing properly via TLS. 2273efee2e1Sflorian - Fix ixfr_and_restart test to wait for processes to come to a stop. 2283efee2e1Sflorian 2293efee2e1Sflorian26 January 2023: Wouter 2303efee2e1Sflorian - Fix configure for -Wstrict-prototypes. 2313efee2e1Sflorian 2323efee2e1Sflorian10 November 2022: Wouter 2333efee2e1Sflorian - Tag for NSD 4.6.1, the repository continues with version 4.6.2. 2343efee2e1Sflorian - Fix #239: -Wincompatible-pointer-types warning in remote.c. 2353efee2e1Sflorian - Fix unit tests to succeed with --disable-bind8-stats. 2363efee2e1Sflorian 237de04d855Ssthen1 November 2022: Wouter 238de04d855Ssthen - Fixup for non-trailing newline lexer change warnings. 239de04d855Ssthen - Update doc/RELNOTES for changes. 240de04d855Ssthen - Fix ixfr_gone unit test to not use system default zone list file. 241de04d855Ssthen - Fix credns tests for vm usage, and not use system default zone 242de04d855Ssthen list file. 243de04d855Ssthen - Fix verify tests to use more portable bash location in script. 244de04d855Ssthen - Fix verify_again test to use ipv4 address for test. 245de04d855Ssthen 246de04d855Ssthen1 November 2022: Tom 247de04d855Ssthen - Add SVCB dohpath support 248de04d855Ssthen 249de04d855Ssthen28 September 2022: Jeroen 250de04d855Ssthen - Set ALPN "dot" token during connection establishment as per RFC9103 251de04d855Ssthen section 7.1 (Thanks Cesar Kuroiwa). 252de04d855Ssthen 253de04d855Ssthen21 September 2022: Tom 254de04d855Ssthen - Change zone parsing to accept non-trailing newline. 255de04d855Ssthen 256de04d855Ssthen1 September 2022: Wouter 257de04d855Ssthen - Merge #231 from moritzbuhl: Fix checking if nonblocking sockets work 258de04d855Ssthen on OpenBSD. 259de04d855Ssthen 260de04d855Ssthen19 August 2022: Wouter 261de04d855Ssthen - Update cirrus build script for newer Ubuntu image, and FreeBSD 262de04d855Ssthen build with libtoolize to install auxiliary files. 263de04d855Ssthen - Update to clang 14 in cirrus build test on Ubuntu Jammy 22.04. 264de04d855Ssthen 265de04d855Ssthen7 July 2022: Tom 266de04d855Ssthen - Fix #212: Change commandline control actions to always log. 267de04d855Ssthen 268de04d855Ssthen1 July 2022: Wouter 269de04d855Ssthen - Fix static analyzer reports, fix wrong log print when skipping xfr, 270de04d855Ssthen fix to print error on pipe read fail, and assert an xfr is in 271de04d855Ssthen progress during packet checks. 272de04d855Ssthen 2733f21e8ccSflorian23 June 2022: Wouter 274de04d855Ssthen - Tag for 4.6.0rc1. It became 4.6.0 on 30 June 2022, and it continues 275de04d855Ssthen with version 4.6.1. 2763f21e8ccSflorian 2773f21e8ccSflorian17 June 2022: Wouter 2783f21e8ccSflorian - Fix compilation with libev, without event_base_loopbreak. 2793f21e8ccSflorian 2803f21e8ccSflorian16 June 2022: Wouter 2813f21e8ccSflorian - Fix that the unit test verify_repat cleans up nsd on exit. 2823f21e8ccSflorian - Fix to remove ixfrcreate.c asserts about uint16 within limits 2833f21e8ccSflorian because of warnings from analyzers. 2843f21e8ccSflorian 2853f21e8ccSflorian14 June 2022: Wouter 2863f21e8ccSflorian - Fix compilation without libevent and compilation of nsd-mem. 2873f21e8ccSflorian - Fix verify handler add of sigchld event for compilation without 2883f21e8ccSflorian libevent. 2893f21e8ccSflorian 2903f21e8ccSflorian3 June 2022: Wouter 2913f21e8ccSflorian - Fix static analyzer reports on ixfrcreate temp file. 2923f21e8ccSflorian - Fixup wrong ixfrcreate fread return check. 2933f21e8ccSflorian 2943f21e8ccSflorian13 May 2022: Wouter 2953f21e8ccSflorian - The code repo continues with version 4.5.1. 2963f21e8ccSflorian 2974564029fSflorian6 May 2022: Wouter 2984564029fSflorian - Merge PR #209: IXFR out 2994564029fSflorian This adds IXFR out functionality to NSD. NSD can copy IXFRs from 3004564029fSflorian upstream to downstream clients, or create IXFRs from zonefiles. 3014564029fSflorian The options store-ixfr: yes and create-ixfr: yes can be used to 3024564029fSflorian turn this on. Default is turned off. The options ixfr-number and 3034564029fSflorian ixfr-size can be used to tune the number of IXFR transfers and 3044564029fSflorian total data size stored. This is configured per zone, the IXFRs 3054564029fSflorian are served to the hosts that are allowed to perform zone transfers. 3064564029fSflorian And if TSIG is configured, signed with the same key. The content 3074564029fSflorian is stored to file if a zonefile is configured for the zone, in 3084564029fSflorian the zonefile.ixfr and zonefile.ixfr.2, .. files. They contain 3094564029fSflorian readable text format. The number of IXFRs is num.rixfr in 3104564029fSflorian statistics output, also per zone if per zone statistics are enabled. 3114564029fSflorian If offline, nsd-checkzone -i can create ixfr files. 3124564029fSflorian NSD already supports requesting IXFRs, this addition allows NSD 3134564029fSflorian to serve IXFR transfers to clients. 3144564029fSflorian NSD stops responding with NOTIMPL to IXFR requests, also for zones 3154564029fSflorian that do not have IXFR enabled. The clients gets a full zone reply 3164564029fSflorian or a status reply if the serial is up to date. 3174564029fSflorian - set version to 4.5.0 for feature change. 3184564029fSflorian - Tag for 4.5.0rc1 release. It became the 4.5.0 release on 13 May 2022. 3194564029fSflorian 3204564029fSflorian14 April 2022: Wouter 3214564029fSflorian - Update cirrus script FreeBSD version. 3224564029fSflorian 3234564029fSflorian25 March 2022: Wouter 3244564029fSflorian - Fix spelling error in comment in svcbparam_lookup_key. 3254564029fSflorian 3264564029fSflorian2 March 2022: Wouter 3274564029fSflorian - Fix code analyzer zero divide warning. 3284564029fSflorian - Fix code analyzer large value with assertion. 3294564029fSflorian - Fix another code analyzer zero divide warning. 3304564029fSflorian - Fix code analyzer warning about uninitialized temp storage in loop. 3314564029fSflorian 332bc6311d7Sflorian10 February 2022: Wouter 3334564029fSflorian - Tag for 4.4.0rc1 release. This became 4.4.0 release on 17 Feb 2022, 3344564029fSflorian the code repository continues with version 4.4.1. 335bc6311d7Sflorian 336bc6311d7Sflorian9 February 2022: Wouter 337bc6311d7Sflorian - Fix unit tests for nds-control-setup exit code and the 338bc6311d7Sflorian xfrd-tcp-max default. 339bc6311d7Sflorian 340bc6311d7Sflorian7 February 2022: Wouter 341bc6311d7Sflorian - Merge #207 Sync nsd-control-setup with unbound-control-setup to 342bc6311d7Sflorian generate certificates with SANs. 343bc6311d7Sflorian 344bc6311d7Sflorian28 January 2022: Wouter 345bc6311d7Sflorian - Fix #206: build with --without-ssl fails. 346bc6311d7Sflorian 347bc6311d7Sflorian27 January 2022: Wouter 348bc6311d7Sflorian - current code branch continues as version 4.4.0, because of added 349bc6311d7Sflorian feature. 350bc6311d7Sflorian 351bc6311d7Sflorian26 January 2022: Wouter 352bc6311d7Sflorian - Merge #193: Lower memory usage of the XFRD process by default. 353bc6311d7Sflorian Instead of preallocating all elements, they are allocated when used. 354bc6311d7Sflorian There are options for managing the memory usage, defaults are the 355bc6311d7Sflorian same as before. xfrd-tcp-max sets the number of sockets for tcp 356bc6311d7Sflorian connections that xfrd can make to download zone contents. And 357bc6311d7Sflorian xfrd-tcp-pipeline the number of simultaneous transfers over the 358bc6311d7Sflorian same connection. 359bc6311d7Sflorian 360bc6311d7Sflorian12 January 2022: Wouter 361bc6311d7Sflorian - Fix to document nsd-checkzone -p in the man page for nsd-checkzone. 362bc6311d7Sflorian 363bc6311d7Sflorian7 January 2022: Wouter 364bc6311d7Sflorian - Fix to change file mode before changing file owner for the 365bc6311d7Sflorian nsd-control unix socket file. 366bc6311d7Sflorian 367bc6311d7Sflorian3 January 2022: Wouter 368bc6311d7Sflorian - Merge #204 from jonathangray: correct some spelling mistakes. 369bc6311d7Sflorian 370bc6311d7Sflorian15 December 2021: Wouter 371bc6311d7Sflorian - Fix #200: nsd-checkzone succeeds even with incorrect serial in SOA 372bc6311d7Sflorian record. 373bc6311d7Sflorian 374efac4d30Sflorian2 December 2021: Wouter 375efac4d30Sflorian - Fix socket_partitioning unit test for FreeBSD. 376efac4d30Sflorian - Fix SVCB test to work around older dig with drill. 377bc6311d7Sflorian - Fix unit test to not syslog setlogin failures. 378efac4d30Sflorian 379efac4d30Sflorian1 December 2021: Wouter 380efac4d30Sflorian - Set up for branch for 4.3.9 release. 381bc6311d7Sflorian This became release 4.3.9 on 9 Dec 2021 and included the changes 382bc6311d7Sflorian until the SVCB fix on 2 dec 2021, but not the setlogin fix. 383bc6311d7Sflorian The main branch continues as 4.3.10. 384efac4d30Sflorian - Fix unit tests for new answer-cookie default. 385efac4d30Sflorian 386efac4d30Sflorian30 November 2021: Wouter 387efac4d30Sflorian - Fix to remove git tracking and ci information from release tarballs. 388efac4d30Sflorian 389efac4d30Sflorian3 November 2021: Wouter 390efac4d30Sflorian - Fix #198: nsd-control reconfig core dump. 391efac4d30Sflorian 392efac4d30Sflorian12 October 2021: Wouter 393efac4d30Sflorian - Tag for 4.3.8 release, from 4.3.8rc2. The main branch continues 394efac4d30Sflorian with version 4.3.9 in development. 395efac4d30Sflorian 396a904e103Sflorian7 October 2021: Wouter 397a904e103Sflorian - Set default for answer-cookie to no. Because in server deployments 398a904e103Sflorian with mixed server software, a default of yes causes issues. 399a904e103Sflorian - Tag for 4.3.8rc2, includes the new answer-cookie default. 400a904e103Sflorian 401a904e103Sflorian4 October 2021: Wouter 402a904e103Sflorian - Tag for 4.3.8rc1. 403a904e103Sflorian 404a904e103Sflorian29 September 2021: Wouter 405a904e103Sflorian - Fix unit tests for svcb and xot to not touch the default 406a904e103Sflorian zonelistfile. 407a904e103Sflorian - Fix unit test for xot tertiary config for zonelistfile default. 408a904e103Sflorian - Fix unit test for dns-cookies for no unshare, and allow-query 409a904e103Sflorian for no IPv6 loopback. 410a904e103Sflorian - Fix unit test allow query to check for IPv6. 411a904e103Sflorian 412a904e103Sflorian22 September 2021: Wouter 413a904e103Sflorian - Fix #194: Incorrect NSEC3 response for SOA query below delegation 414a904e103Sflorian point. 415a904e103Sflorian 416a904e103Sflorian13 September 2021: Wouter 417a904e103Sflorian - Fix compile failure with openssl 1.0.2. 418a904e103Sflorian 419a904e103Sflorian3 September 2021: Wouter 420a904e103Sflorian - Fix not reachable annotation in radix_find_prefix_node. 421a904e103Sflorian 422a904e103Sflorian31 August 2021: Willem 423a904e103Sflorian - Fix #191: dname_parse_wire() returns fqdn wireformat length. 424a904e103Sflorian 425a904e103Sflorian26 August 2021: Wouter 426a904e103Sflorian - Fix #190: NSD returns 3 NSEC3 records for NODATA response. 427a904e103Sflorian 428a904e103Sflorian23 August 2021: Wouter 429a904e103Sflorian - Fix #189: nsd 4.3.7 crash answer_delegation: Assertion 430a904e103Sflorian `query->delegation_rrset' failed. 431a904e103Sflorian 432a904e103Sflorian17 August 2021: Wouter 433a904e103Sflorian - Fix #188: NSD fails to build against openssl 1.1 on CentOS 7. 434a904e103Sflorian - Fix sed script in ssldir split handling. 435a904e103Sflorian 436a904e103Sflorian13 August 2021: Wouter 437a904e103Sflorian - Merge #187: Support using system-wide crypto policies. 438a904e103Sflorian 439a904e103Sflorian10 August 2021: Wouter 440a904e103Sflorian - Merge #185 by cesarkuroiwa: Mutual TLS. 441a904e103Sflorian - Fixes for #185: Document client-cert, client-key and client-key-pw 442a904e103Sflorian in the man page. Fix yacc semicolon. Fix unused variable warning. 443a904e103Sflorian Use strlcpy instead of strncpy. Fix spelling error in error 444a904e103Sflorian printout. 445a904e103Sflorian 446a904e103Sflorian2 August 2021: Wouter 447a904e103Sflorian - Quieter tpkg/do-tests shell script with -q flag. 448a904e103Sflorian - For #184: Note that all zones can be targeted by some nsd-control 449a904e103Sflorian commands in the man page. 450a904e103Sflorian 451a904e103Sflorian30 July 2021: Wouter 452a904e103Sflorian - Move acx_nlnetlabs.m4 to version 41, with lib64 openssl dir check. 453a904e103Sflorian - Fix to compile with OpenSSL 3.0.0beta2. 454a904e103Sflorian - Fix configure detection of SSL_CTX_set_security_level. 455a904e103Sflorian - Fix deprecated functions use from openssl 3.0.0beta2. 456a904e103Sflorian 457a904e103Sflorian23 July 2021: Wouter 458a904e103Sflorian - Fix free on shutdown of XoT SSL context. 459a904e103Sflorian 460063644e9Sflorian22 July 2021: Wouter 461063644e9Sflorian - tag 4.3.7 release, with the fixes between rc1 and this release. 462a904e103Sflorian - main branch continues for 4.3.8. 463063644e9Sflorian 464063644e9Sflorian20 July 2021: Wouter 465063644e9Sflorian - Fix typo in xfrd-tcp.c. 466063644e9Sflorian 467063644e9Sflorian15 July 2021: Wouter 468063644e9Sflorian - tag for 4.3.7rc1. 469063644e9Sflorian - Fix compile of cookies on FreeBSD without IPv6. 470063644e9Sflorian - Fix for loop initial declaration for nonc99 compiler. 471063644e9Sflorian 472063644e9Sflorian14 July 2021: Wouter 473063644e9Sflorian - Fix truncate test for EDNS COOKIE making one less RR is added. 474063644e9Sflorian - Attempt to fix gcc11 warning. 475063644e9Sflorian 476063644e9Sflorian13 July 2021: Willem 477063644e9Sflorian - Fixes for child server processes getting out of sync with the 478063644e9Sflorian dnstap-collector process 479063644e9Sflorian 480063644e9Sflorian13 July 2021: Willem 481063644e9Sflorian - Interoperable DNS Cookies support as per RFC7873 and RFC9018 482063644e9Sflorian 483063644e9Sflorian9 July 2021: Willem 484063644e9Sflorian - Client side DNS Zone Transfer-over-TLS (XoT) support as per 485063644e9Sflorian draft-ietf-dprive-xfr-over-tls 486063644e9Sflorian 487063644e9Sflorian29 June 2021: Willem 488063644e9Sflorian - Fix #168: Buffer overflow in the dname_to_string() function 489063644e9Sflorian 490063644e9Sflorian14 June 2021: Wouter 491063644e9Sflorian - Update configure nonblocking test to use host. 492063644e9Sflorian 493063644e9Sflorian25 May 2021: Wouter 494063644e9Sflorian - Fix #179: log notice and server-count. 495063644e9Sflorian 496063644e9Sflorian21 May 2021: Wouter 497063644e9Sflorian - Test code has -q option for quiet output. 498063644e9Sflorian 499063644e9Sflorian17 May 2021: Wouter 500063644e9Sflorian - Update the ACX_CHECK_NONBLOCKING_BROKEN test for the configure 501063644e9Sflorian script. 502063644e9Sflorian 503063644e9Sflorian7 May 2021: Wouter 504063644e9Sflorian - Fix #176: please review Loglevel on missing zonefile. 505063644e9Sflorian 506063644e9Sflorian6 May 2021: Wouter 507063644e9Sflorian - Fix #174: NS Records below delegation are not ignored (nsd-checkzone 508063644e9Sflorian also does not raise any issue). 509063644e9Sflorian 510063644e9Sflorian4 May 2021: Wouter 511063644e9Sflorian - Fix SVCB sort call sizeof to be the size of the elements sorted. 512063644e9Sflorian 513063644e9Sflorian29 April 2021: Tom 514063644e9Sflorian - Implement Syntax of SVCB and HTTPS RR type as per draft-ietf-dnsop-svcb-https 515063644e9Sflorian 516063644e9Sflorian13 April 2021: Wouter 517063644e9Sflorian - Fix for #128: Skip over sendmmsg invalid argument when port is zero. 518063644e9Sflorian - Fix #171: Invalid negative response (NSEC3) after IXFR. 519063644e9Sflorian - Fix to make nsec3_chain_find_prev return NULL if one nsec3 left. 520063644e9Sflorian - remove debug settings from unit test. 521063644e9Sflorian 522063644e9Sflorian9 April 2021: Wouter 523063644e9Sflorian - Fix for #170: Fix build warnings when IPv6 is disabled. 524063644e9Sflorian - Fix #170: Disabled IPv6 and DNSTAP enabled triggers a build error. 525063644e9Sflorian 52646ab5dc8Ssthen30 March 2021: Wouter 52746ab5dc8Ssthen - Fix configure failure for enable systemd because of autoconf. 528063644e9Sflorian - This became release 4.3.6, the repository continues for 4.3.7 529063644e9Sflorian in development. 53046ab5dc8Ssthen 5317633741dSsthen29 March 2021: Wouter 5327633741dSsthen - Note unlisted changes in RELNOTES and prepare for 4.3.6rc1 tag. 5337633741dSsthen 5347633741dSsthen29 March 2021: Willem 5357633741dSsthen - Per zone Access Control List for queries 5367633741dSsthen with an allow-query: option. 5377633741dSsthen 5387633741dSsthen24 March 2021: Wouter 5397633741dSsthen - Update acx_nlnetlabs.m4 to version 38, fix deprecation test. 5407633741dSsthen - Fix configure to use header checks with compile. 5417633741dSsthen - Fix warning about unused function log_addr. 5427633741dSsthen 5437633741dSsthen18 March 2021: Tom 5447633741dSsthen - Add Extended DNS Errors RFC8914 5457633741dSsthen 5467633741dSsthen15 March 2021: Wouter 5477633741dSsthen - Fix double config.h include in configlexer.c 5487633741dSsthen - Fix to remove configyyrename from makedist.sh and also 5497633741dSsthen update the flex and bison rules there to add the "c_" prefix. 5507633741dSsthen 5517633741dSsthen13 March 2021: Willem 5527633741dSsthen - Fix #154: TXT with parentheses fails in 4.3.5. 5537633741dSsthen - Align parsing of TXT elements with how bind does it. 5547633741dSsthen - A -p option to nsd-checkzone to print a successfully read zone. 5557633741dSsthen 5567633741dSsthen12 March 2021: Wouter 5577633741dSsthen - Fix that wildcard is printed as a star instead of escaped, in 5587633741dSsthen logs and in written zone files. 5597633741dSsthen - Fix unit test for wildcard printout change. 5607633741dSsthen 5617633741dSsthen11 March 2021: Wouter 5627633741dSsthen - Fix #163: A TSIG noncompliance with RFC 2845. 5637633741dSsthen 5647633741dSsthen9 March 2021: Willem 5657633741dSsthen - Enable configuring a control-interface by interface name. 5667633741dSsthen 5677633741dSsthen19 February 2021: Wouter 5687633741dSsthen - Fix segfault on high verbosity for TLS channels with dnstap log 5697633741dSsthen local address. 5707633741dSsthen 5717633741dSsthen18 February 2021: Wouter 5727633741dSsthen - Fix #146 with #147: DNSTAP log the local address of the server 5737633741dSsthen with the dnstap logs. 5747633741dSsthen 5757633741dSsthen16 February 2021: Wouter 5767633741dSsthen - Man page documentation for dnstap options. 5777633741dSsthen 5787633741dSsthen8 February 2021: Wouter 5797633741dSsthen - Fix AF_LOCAL compile error for Solaris. 5807633741dSsthen - Fix ifaddrs compile error for Solaris. 5817633741dSsthen - Fix ifaddrs.h compile error for Solaris. 5827633741dSsthen 5837633741dSsthen4 February 2021: Wouter 5847633741dSsthen - Merge PR #153 from fobser: Repair -fno-common linker errors 5857633741dSsthen automatically. 5867633741dSsthen - Fix uninitialized access of log_buf in error printout on apply ixfr. 5877633741dSsthen 5887633741dSsthen26 January 2021: Wouter 5897633741dSsthen - Prevent a few more yacc clashes. 5907633741dSsthen 5917633741dSsthen19 January 2021: Wouter 5927633741dSsthen - Set branch ready for 4.3.5 release. Tag for 4.3.5rc1. 5937633741dSsthen Became the 4.3.5 release on 26 january 2021. This branch continues 5947633741dSsthen with 4.3.6 in development. 5957633741dSsthen 5967633741dSsthen15 January 2021: Wouter 5977633741dSsthen - Fix #152: '*' in Rdata causes the return code to be NOERROR instead 5987633741dSsthen of NX. 5997633741dSsthen - Add config.guess and config.sub to .gitignore for autoconf 2.70. 6007633741dSsthen - Fix #150: TXT record validation difference with BIND. 6017633741dSsthen - Fixup TXT record validation fix for escaped quotes. 6027633741dSsthen - Fixup TXT record validation fix for escaped backslashes. 6037633741dSsthen - Fixup escape character parse for quoted strings. 6047633741dSsthen 6057633741dSsthen11 January 2021: Wouter 6067633741dSsthen - Fix #151: DNAME not applied more than once to resolve the query. 6077633741dSsthen - Fix dname test for #148. 6087633741dSsthen - For #151: fix to not produce loops in output. 6097633741dSsthen 6107633741dSsthen5 January 2021: Wouter 6117633741dSsthen - Fix configure.ac for autoconf 2.70. 6127633741dSsthen 6137633741dSsthen4 January 2021: Wouter 6147633741dSsthen - Fix #148: CNAME need not be followed after a synthesized CNAME 6157633741dSsthen for a CNAME query. 6167633741dSsthen 6177633741dSsthen11 December 2020: Wouter 6187633741dSsthen - Fix that nsd-control has timeout when connection is down. 6197633741dSsthen - remove windows socket ifdefs from nsd-control. 6207633741dSsthen 6217633741dSsthen3 December 2020: Wouter 6227633741dSsthen - For #145: Fix that service of remaining TCP and TLS connections 6237633741dSsthen does not allow new queries to be made, the connection is closed. 6247633741dSsthen Only existing queries and zone transfers are answered, new ones 6257633741dSsthen are rejected by a close of the channel. 6267633741dSsthen 6277633741dSsthen30 November 2020: Wouter 6287633741dSsthen - Fix #144: fix better. 6297633741dSsthen 6307633741dSsthen27 November 2020: Wouter 6317633741dSsthen - Fix #144: Typo fix in nsd.conf.5.in. 6327633741dSsthen 6337633741dSsthen26 November 2020: Wouter 6347633741dSsthen - Fix #143: xfrd no hysteresis with NOT IMPLEMENTED rcode. 6357633741dSsthen 636977db6e5Sflorian24 November 2020: Wouter 637977db6e5Sflorian - Merge PR #141: ZONEMD RR type. 6387633741dSsthen - tag for 4.3.4rc1. This became 4.3.4 release on 1 dec 2020. 6397633741dSsthen The code repo continues for 4.3.5 in development. 640977db6e5Sflorian 641977db6e5Sflorian23 November 2020: Wouter 642977db6e5Sflorian - Fix #142: NODATA answers missin SOA in authority section after 643977db6e5Sflorian CNAME chain. 644977db6e5Sflorian - Fix for CVE-2020-28935 : Fix that symlink does not interfere 645977db6e5Sflorian with chown of pidfile. 646977db6e5Sflorian - fix writepid for retvalue 0. 647977db6e5Sflorian 648977db6e5Sflorian9 November 2020: Wouter 649977db6e5Sflorian - Fix #138: NSD returns non-EDNS answer when QUESTION is empty. 650977db6e5Sflorian - Fix to check nscount in previous fix for EDNS in formerr response 651977db6e5Sflorian when there is no question. 652977db6e5Sflorian 653977db6e5Sflorian28 October 2020: Wouter 654977db6e5Sflorian - Remove unused init_cfg_parse routine from configlexer. 655977db6e5Sflorian 656977db6e5Sflorian20 October 2020: Wouter 657977db6e5Sflorian - Fix to add missing closest encloser NSEC3 for wildcard nodata type 658977db6e5Sflorian DS answer. 659977db6e5Sflorian 660977db6e5Sflorian14 October 2020: Wouter 661977db6e5Sflorian - Fix #134: IPV4_MINIMAL_RESPONSE_SIZE vs EDNS_MAX_MESSAGE_LEN. 662977db6e5Sflorian 663977db6e5Sflorian13 October 2020: Wouter 664977db6e5Sflorian - Fix missing parenthesis on size of fix to init buffer. 665977db6e5Sflorian 666977db6e5Sflorian12 October 2020: Wouter 667977db6e5Sflorian - Fix #127: two minor `-Wcast-qual` cleanups 668977db6e5Sflorian - Fix #126: minor header hygiene 669977db6e5Sflorian - Fix #125: include config.h in compat/setproctitle.c and fix prototype of `setproctitle` 670977db6e5Sflorian - Fix #133: fix 0-init of local ( stack ) buffer. 671977db6e5Sflorian 672977db6e5Sflorian8 October 2020: Wouter 673977db6e5Sflorian - tag for 4.3.3 release 674977db6e5Sflorian - current repository contains 4.3.4 in development. 675977db6e5Sflorian - Fix #129: ambiguous use of errno, in log message if sendmmsg fails. 676977db6e5Sflorian - Fix #128: Fix that the invalid port number is logged for sendmmsg 677977db6e5Sflorian failed: Invalid argument. 678977db6e5Sflorian 6793b24e79eSsthen1 October 2020: Wouter 6803b24e79eSsthen - tag for 4.3.3rc1 release. 6813b24e79eSsthen 6823b24e79eSsthen30 September 2020: Wouter 6833b24e79eSsthen - Updated date in nsd -v output. 6843b24e79eSsthen - Fixup bug013_truncate, checkconf and cutest_qroot tests for new 6853b24e79eSsthen default EDNS size. 6863b24e79eSsthen 6873b24e79eSsthen29 September 2020: Willem 6883b24e79eSsthen - Follow DNS flag day 2020 advice and 6893b24e79eSsthen set default EDNS message size to 1232. 6903b24e79eSsthen 6913b24e79eSsthen4 September 2020: Wouter 6923b24e79eSsthen - Remove unused space from LIBS on link line. 6933b24e79eSsthen 6943b24e79eSsthen3 September 2020: Wouter 6953b24e79eSsthen - Merge PR #121: Increase log level of recreated database from 6963b24e79eSsthen WARNING to ERR. 6973b24e79eSsthen 6983b24e79eSsthen1 September 2020: Wouter 6993b24e79eSsthen - Fix #119: fix compile warnings from new gcc. 7003b24e79eSsthen - Fix #119: warn when trying to parse a directory. 7013b24e79eSsthen 7023b24e79eSsthen27 August 2020: Wouter 7033b24e79eSsthen - Merged PR #113 with fixes. Instead of listing an IP-address to 7043b24e79eSsthen listen on, an interface name can be specified in nsd.conf, with 7053b24e79eSsthen ip-address: eth0. The IP-addresses for that interface are then used. 7063b24e79eSsthen 7073b24e79eSsthen26 August 2020: Wouter 7083b24e79eSsthen - Add xstrdup for PR #113. 7093b24e79eSsthen - Tidy up code like in PR #113. 7103b24e79eSsthen - Import code from PR #113. 7113b24e79eSsthen - Fix for unknown EVP_MAC_CTX_free function in openssl 3.0.0 tsig code. 7123b24e79eSsthen 7133b24e79eSsthen24 August 2020: Wouter 7143b24e79eSsthen - Fix that configure checks for EVP_sha256 to detect openssl, because 7153b24e79eSsthen HMAC_CTX_new is deprecated in 3.0.0. 7163b24e79eSsthen - Port TSIG code for openssl 3.0.0-alpha6. 7173b24e79eSsthen - Sync acx_nlnetlabs.m4 with the unbound repo. 7183b24e79eSsthen - Review fixes for tsig, defensive free and zero. 7193b24e79eSsthen 7203b24e79eSsthen4 August 2020: Wouter 7213b24e79eSsthen - Merge #117: mini_event.h (4.3.2 and 4.3.1) on OpenBSD cannot find 7223b24e79eSsthen fd_set - patch. 7233b24e79eSsthen 7243b24e79eSsthen23 July 2020: Wouter 7253b24e79eSsthen - Merge #115 from millert: Fix strlcpy() usage. From OpenBSD. 7263b24e79eSsthen 7273b24e79eSsthen15 July 2020: Wouter 7283b24e79eSsthen - Fix make install with --with-pidfile="". 7293b24e79eSsthen 7303b24e79eSsthen14 July 2020: Wouter 7313b24e79eSsthen - Tag for 4.3.2 release. Master branch contains the next version 7323b24e79eSsthen in development, 4.3.3. 7333b24e79eSsthen 734ac5517e4Sflorian7 July 2020: Wouter 735ac5517e4Sflorian - Tag for 4.3.2rc1. 736ac5517e4Sflorian 737ac5517e4Sflorian6 July 2020: Wouter 738ac5517e4Sflorian - Fix compile includes for xfr-inspect tool on FreeBSD. 739ac5517e4Sflorian - Add tpkg/run_vm.sh that runs test when in a virtual machine. 740ac5517e4Sflorian - Merge #112 from jaredmauch: log old and new serials when NSD 741ac5517e4Sflorian rejects an IXFR due to an old serial number. 742ac5517e4Sflorian - Fix bug034 test for vm test changes. 743ac5517e4Sflorian 744ac5517e4Sflorian22 June 2020: Wouter 745ac5517e4Sflorian - Remove errno reset behaviour from sendmmsg and recvmmsg 746ac5517e4Sflorian replacement functions. 747ac5517e4Sflorian - Fix unit test for different nsd-control-setup -h exit code. 748ac5517e4Sflorian 749ac5517e4Sflorian19 June 2020: Wouter 750ac5517e4Sflorian - Merge #108 from Nomis: Make the max-retry-time description clearer. 751ac5517e4Sflorian - Retry when udp send buffer is full to wait until buffer space is 752ac5517e4Sflorian available. 753ac5517e4Sflorian 754ac5517e4Sflorian18 June 2020: Wouter 755ac5517e4Sflorian - Do not log EAGAIN errors for sendmmsg, to stop log spam on OpenBSD. 756ac5517e4Sflorian 757ac5517e4Sflorian17 June 2020: Wouter 758ac5517e4Sflorian - Fix #107: nsd -v shows configure line, openssl version and libevent version. 759ac5517e4Sflorian 760ac5517e4Sflorian27 May 2020: Wouter 761ac5517e4Sflorian - Fix unlink of pidfile warning if not possible due to permissions, 762ac5517e4Sflorian nsd can display the message at high verbosity levels. 763ac5517e4Sflorian - Update contrib/nsd.service for chown of nsd.log and /var/log in 764ac5517e4Sflorian ReadWritePaths. 765ac5517e4Sflorian - Removed contrib/nsd.service, example is too complicated and not 766ac5517e4Sflorian useful. 767ac5517e4Sflorian 768ac5517e4Sflorian15 May 2020: Wouter 769ac5517e4Sflorian - Merge PR#102 from and0x000: add missing default in documentation 770ac5517e4Sflorian for drop-updates. 771ac5517e4Sflorian - Fix checkconf test for log-only-syslog option. 772ac5517e4Sflorian 773ac5517e4Sflorian14 May 2020: Wouter 774ac5517e4Sflorian - Document default value for tcp-timeout. 775ac5517e4Sflorian 776ac5517e4Sflorian13 May 2020: Jeroen 777ac5517e4Sflorian - Fix #99: Fix copying of socket properties with reuseport enabled. 778ac5517e4Sflorian 779ac5517e4Sflorian24 April 2020: Wouter 780ac5517e4Sflorian - Fix #97: EDNS unknown version: query not in response. 781ac5517e4Sflorian 782ac5517e4Sflorian21 April 2020: Wouter 783ac5517e4Sflorian - Fix #96: log-only-syslog: yes sets to only use syslog, fixes 784ac5517e4Sflorian that the default configuration and systemd results in duplicate 785ac5517e4Sflorian log messages. 786ac5517e4Sflorian 787ac5517e4Sflorian20 April 2020: Wouter 788ac5517e4Sflorian - Fix #95: Removed make test check because tpkg not included in 789ac5517e4Sflorian release tarballs. 790ac5517e4Sflorian - Fix unused parameter compile warnings. 791ac5517e4Sflorian 792ac5517e4Sflorian16 April 2020: Wouter 793ac5517e4Sflorian - Tag for 4.3.1 release and track 4.3.2 release in code repository. 794ac5517e4Sflorian - note sha256 digest algo use in makedist.sh. 795ac5517e4Sflorian - Fix for posix shell syntax for trap in nsd-control-setup. 796ac5517e4Sflorian - Fix to omit the listen-on lines from log at startup, unless verbose. 797ac5517e4Sflorian - Fix uninitialised values for bindtodevice option at startup with 798ac5517e4Sflorian reuseport and multiple interfaces. 799ac5517e4Sflorian 800308d2509Sflorian8 April 2020: Wouter 801308d2509Sflorian - Tag for 4.3.1rc2. 802308d2509Sflorian 803308d2509Sflorian7 April 2020: Wouter 804308d2509Sflorian - Merge PR #91 by gearnode: nsd-control-setup recreate certificates. 805308d2509Sflorian The '-r' option recreates certificates. Without it it creates them 806308d2509Sflorian if they do not exist, and does not modify them otherwise. 807308d2509Sflorian 808308d2509Sflorian6 April 2020: Wouter 809308d2509Sflorian - Merge PR #90 by phicoh: O_CLOEXEC should be FD_CLOEXEC. 810308d2509Sflorian - Merge PR #92 by tonysgi: Fix typo. 811308d2509Sflorian 812308d2509Sflorian2 April 2020: Wouter 813308d2509Sflorian - Tag for 4.3.1rc1. 814308d2509Sflorian 815308d2509Sflorian1 April 2020: Wouter 816308d2509Sflorian - Fix for whitespace in minimal responses test for FreeBSD. 817308d2509Sflorian 818308d2509Sflorian25 March 2020: Wouter 819308d2509Sflorian - Merge PR #86 from noloader: Use precious variables for GREP, EGREP, 820308d2509Sflorian SED, AWK, LEX and YACC. 821308d2509Sflorian - For PR #86: Fix that programs loaded after CFLAGS and stuff is 822308d2509Sflorian set, specifically the compiler, so that it can work if it needs 823308d2509Sflorian special flags from that. Fix that lex only needs to support -i 824308d2509Sflorian if actually defined, otherwise the output included in the source 825308d2509Sflorian tarball can be used. 826308d2509Sflorian - Merge PR #72 from noloader: Increase Travis testing coverage 827308d2509Sflorian 828308d2509Sflorian23 March 2020: Wouter 829308d2509Sflorian - Fix unterminated ifdef in nsd.h. 830308d2509Sflorian - Fix unknown u_long in util.c for Issue #80 . 831308d2509Sflorian 832308d2509Sflorian20 March 2020: Wouter 833308d2509Sflorian - Merge PR #83 from noloader: Fix GNU HURD sched_setaffinity compile. 834308d2509Sflorian - Fix #82: print error when system does not have setaffinity. 835308d2509Sflorian - Fix #80: NetBSD and implicit declaration of reallocarray. 836308d2509Sflorian - Fix for #80: Fix reallocarray test to define before include. 837308d2509Sflorian - Fix for #80: Define alternatives for IFNAMSIZ if it does not exist. 838308d2509Sflorian 839308d2509Sflorian19 March 2020: Wouter 840308d2509Sflorian - Fix #76: cpuid typedef for Hurd, DragonflyBSD compile. 841308d2509Sflorian - Fix #75: configure test for sched_setaffinity, and use 842308d2509Sflorian cpuset_setaffinity otherwise. Also test for presence of sysconf. 843308d2509Sflorian - Fix #74: GNU Hurd fix cast from pointer to integer of different size. 844308d2509Sflorian - Fix for #74, #75: cpuset test for header contents and provide code. 845308d2509Sflorian - Fix #78: Fix SO_SETFIB error on FreeBSD. 846308d2509Sflorian 847308d2509Sflorian18 March 2020: Wouter 848308d2509Sflorian - Fix #70: error: 'fd_set' undeclared. 849308d2509Sflorian - Fix #71: error: 'for' loop initial declaration used outside C99 850308d2509Sflorian mode. 851308d2509Sflorian - Fix to move declarations out of for loops in event test too. 852308d2509Sflorian - Fix to move declarations out of for loops in popen3 test too. 853308d2509Sflorian - Another fix to move declaration out of for loop for event test. 854308d2509Sflorian - Fix to move declarations out of for loops in cutest regex display. 855308d2509Sflorian 856308d2509Sflorian17 March 2020: Wouter 857308d2509Sflorian - tag for 4.3.0 release and master branch has version 4.3.1. 858308d2509Sflorian 859308d2509Sflorian10 March 2020: Wouter 860308d2509Sflorian - repository has version number 4.3.0. Tag for 4.3.0rc1. 861308d2509Sflorian 862308d2509Sflorian3 March 2020: Wouter 863308d2509Sflorian - Fix that the retry wait does not exceed one day for zone transfers. 864308d2509Sflorian 865308d2509Sflorian27 February 2020: Wouter 866308d2509Sflorian - Fix warning on FreeBSD about pointer size cast. 867308d2509Sflorian 868308d2509Sflorian26 February 2020: Wouter 869308d2509Sflorian - Fixup fix of reuseport TCP for server close of sockets not used 870308d2509Sflorian by it. And the unit test skips when the necessary debug output 871308d2509Sflorian is not enabled. 872308d2509Sflorian 873308d2509Sflorian25 February 2020: Wouter 874308d2509Sflorian - Fix event unit test, signal has to be registered with signal_add, 875308d2509Sflorian event_add not for every backend for signals. The event_initialized 876308d2509Sflorian is not possible for every backend, so event_added variable. The 877308d2509Sflorian agent write event fires after a timeout, instead of on event write 878308d2509Sflorian so that it does not trigger a sigpipe event when the handlers stop. 879308d2509Sflorian Timeout shorted to 0.1 second. event_get_fd was not implemented, 880308d2509Sflorian so used ev_fd. Debug output printfs added to see what happens. 881308d2509Sflorian - Fix checkconf test for new drop-updates config option. 882308d2509Sflorian - Fix errors with reuseport and TCP file descriptors, it was 883308d2509Sflorian closing them for server-1 in server-2 and server-3.. 884308d2509Sflorian 885308d2509Sflorian7 February 2020: Jeroen 886308d2509Sflorian - Add feature to drop queries with opcode UPDATE. 887308d2509Sflorian 888308d2509Sflorian6 February 2020: Jeroen 889308d2509Sflorian - Support SO_BINDTODEVICE on Linux. Specify bindtodevice: yes 890308d2509Sflorian to bind sockets directly to the network interface. 891308d2509Sflorian - Support SO_SETFIB on FreeBSD. Add setfib=<FIB> after an ip-address 892308d2509Sflorian option to use the specified FIB for that socket. 893308d2509Sflorian - Require user to add servers=<range> after an ip-address option to 894308d2509Sflorian specify the servers that must listen on that socket. 895308d2509Sflorian 896308d2509Sflorian6 February 2020: Wouter 897308d2509Sflorian - Merge PR#60: Minor portability fixes from michaelforney, with 898308d2509Sflorian avoid pointer arithmetic on void* and avoid unnecessary VLA. 899308d2509Sflorian 900308d2509Sflorian4 February 2020: Wouter 901308d2509Sflorian - Merge PR#22: minimise-any: prefer polular and not large RRset, 902308d2509Sflorian from Daisuke Higashi. 903308d2509Sflorian - Fix responses for IXFR so that the authority section is not echoed 904308d2509Sflorian in the response. 905308d2509Sflorian 906308d2509Sflorian21 January 2020: Wouter 907308d2509Sflorian - Fix leak in server bitset setup. 908308d2509Sflorian 909308d2509Sflorian16 January 2020: Jeroen 910308d2509Sflorian - Add zone resource record iterator for future zone-verification port. 911308d2509Sflorian - Set FD_CLOEXEC on opened sockets. 912308d2509Sflorian - Add popen3 implementation for future zone-verification port. 913308d2509Sflorian - Add -r option to cutest so that a subset of tests can be run. 914308d2509Sflorian 915308d2509Sflorian15 January 2020: Jeroen 916308d2509Sflorian - Add feature to pin server proccesses to specific cpus. 917308d2509Sflorian - Add feature to pin IP addresses to selected server processes. 918308d2509Sflorian - Set process title to identify individual processes. 919308d2509Sflorian 920308d2509Sflorian13 January 2020: Wouter 921308d2509Sflorian - Merge pull request #59 from buddyns: add FreeBSD support 922308d2509Sflorian for conf key ip-transparent. 923308d2509Sflorian 924308d2509Sflorian10 January 2020: Wouter 925308d2509Sflorian - Fix unreachable code in ssl set options code. 926308d2509Sflorian - Fix bad shift in assertion code analyzer complaint. 927308d2509Sflorian 928308d2509Sflorian6 January 2020: Wouter 929308d2509Sflorian - Fix #56: Drop sparse TSIG signing support in NSD. 930308d2509Sflorian Sign every axfr packet with TSIG, according to the latest 931308d2509Sflorian draft-ietf-dnsop-rfc2845bis-06, Section 5.3.1. 932308d2509Sflorian 933308d2509Sflorian12 December 2019: Wouter 934308d2509Sflorian - Note that use-systemd is not necessary and ignored in man page. 935308d2509Sflorian 936308d2509Sflorian11 December 2019: Wouter 937308d2509Sflorian - Fix whitespace in nsd.conf.sample.in, patch from Paul Wouters. 938308d2509Sflorian - use-systemd is ignored in nsd.conf, when NSD is compiled with 939308d2509Sflorian libsystemd it always signals readiness, if possible. 940308d2509Sflorian 941308d2509Sflorian9 December 2019: Wouter 942308d2509Sflorian - Fix to define upper bounds on rr counts read from untrusted packet 943308d2509Sflorian data. 944308d2509Sflorian - Try different annotation for radix_find_prefix_node not reachable. 945308d2509Sflorian - Separate acl_addr_match_range functions for ip4 and ip6, to 946308d2509Sflorian please checkers. 947308d2509Sflorian - Avoid unused variable warning in new match_range_v4 function. 948308d2509Sflorian 949308d2509Sflorian6 December 2019: Wouter 950308d2509Sflorian - Fix to define max number of EDNS records we are willing to 951308d2509Sflorian spend time on. 952308d2509Sflorian - Fix size of string len and capacity type cast in udbradtree. 953308d2509Sflorian - Fix to protect rrcount in tsig_find_rr from overflow. 954308d2509Sflorian - Annotate radix_find_prefix_node not reachable trail code. 955308d2509Sflorian - Fix to protect rrcount in packet_find_notify_serial from overflow. 956308d2509Sflorian - Fix to close socket on error in create_tcp_accept_sock. 957308d2509Sflorian - Fix to log on failure to chmod for socket for remote control. 958308d2509Sflorian - Fix to remove unneeded if in open of socket for remote control. 959308d2509Sflorian - Fix to restore input parameter on call failure in create_dirs. 960308d2509Sflorian - Please checker by terminating and initialising string read 961308d2509Sflorian by remote control. 962308d2509Sflorian - Fixup of random_generate negative modulo, from previous commit, 963308d2509Sflorian and return srandom when random is used if no getrandom. 964308d2509Sflorian 965308d2509Sflorian5 December 2019: Wouter 966308d2509Sflorian - Fix fname null check of fname in namedb_read_zonefile. 967308d2509Sflorian - Fix implicit cast of size in udb_radnode_array_grow. 968308d2509Sflorian - Fix ignore of return value of ssl_printf in remote.c. 969308d2509Sflorian - Fix unused check of fd in parent_handle_reload_command. 970308d2509Sflorian - Fix to use getrandom() for randomness, if available. 971308d2509Sflorian - Attempt to fix signedness of nscount lookup in ixfr query_process. 972308d2509Sflorian - Fix identical branches for ssl_print of errors in remote.c. 973308d2509Sflorian - Fix type cast bounds, signedness of opt_rdlen in edns_parse_record. 974308d2509Sflorian - Fix to separate header and data lines in parse_zone_list_file. 975308d2509Sflorian 976a3a6752bSflorian3 December 2019: Wouter 977a3a6752bSflorian - Fix #52: do not log transient network full errors unless higher 978a3a6752bSflorian verbosity is set. 979a3a6752bSflorian - Fix checkconf test for new error output string. 980308d2509Sflorian - tag for 4.2.4rc1 release. This became the 4.2.4 release, 981308d2509Sflorian and the master branch continues with 4.2.5 in development. 982a3a6752bSflorian 983a3a6752bSflorian27 November 2017 Jeroen 984a3a6752bSflorian - Fix regressions in configparser.y 985a3a6752bSflorian 986a3a6752bSflorian22 November 2019: Wouter 987a3a6752bSflorian - Fix #48: Add make distclean that removes config.h made by configure. 988a3a6752bSflorian And add maintainer-clean that removes bison and flex output. 989a3a6752bSflorian 990a3a6752bSflorian18 November 2019: Wouter 991a3a6752bSflorian - Detect fixed time memcmp for openssl 0.9.8 compatibility. 992a3a6752bSflorian - Detect EC_KEY_new_by_curve_name for openssl 0.9.8. 993a3a6752bSflorian - include limits.h for UINT_MAX. 994a3a6752bSflorian - If no recvmmsg, dont use msg_flags member, but errno for error, 995a3a6752bSflorian where our fallback function left it, msg_flags also does not exist 996a3a6752bSflorian on some systems. 997a3a6752bSflorian - Remove unused variable warning for portability. 998a3a6752bSflorian 999a3a6752bSflorian14 November 2019: Wouter 1000a3a6752bSflorian - Fix checkconf test with filenames that sort in the same order. 1001a3a6752bSflorian - Tag for 4.2.3rc1. Branch master is 4.2.4 in development. 1002a3a6752bSflorian 1003a3a6752bSflorian11 November 2019: Wouter 1004a3a6752bSflorian - Fix #44: document that remote-control is a top-level nsd.conf 1005a3a6752bSflorian attribute. 1006a3a6752bSflorian - Fix compile on OSX. 1007a3a6752bSflorian - Fix for #44: nicer top-level clause documentation. 1008a3a6752bSflorian 1009a3a6752bSflorian22 October 2019: Jeroen 1010a3a6752bSflorian - Number of different UDP handlers has been reduced to one. recvmmsg 1011a3a6752bSflorian and sendmmsg implementations are now used on all platforms. 1012a3a6752bSflorian Compatible implementations are in place for systems that lack the 1013a3a6752bSflorian system calls. 1014a3a6752bSflorian - Socket options are now set in designated functions for easy reuse. 1015a3a6752bSflorian - Socket setup has been simplified for easy reuse. 1016a3a6752bSflorian - Configuration parser is now aware of the context in which an option 1017a3a6752bSflorian was specified. 1018a3a6752bSflorian 1019a3a6752bSflorian21 October 2019: Wouter 1020a3a6752bSflorian - For #21 add 1021a3a6752bSflorian contrib/patch_for_s6_startup_and_other_service_supervisors.diff 1022a3a6752bSflorian that adds support for readiness notification with READY_FD from 1023a3a6752bSflorian Cameron Nemo. 1024a3a6752bSflorian 1025a3a6752bSflorian17 October 2019: Jeroen 1026a3a6752bSflorian - Fix #40: Merge small fixes for confine-to-zone by Greg Bock. 1027a3a6752bSflorian 1028a3a6752bSflorian15 October 2019: Jeroen 1029a3a6752bSflorian - For #39: Merge confine-to-zone feature contributes by Greg Bock. 1030a3a6752bSflorian 1031a3a6752bSflorian26 September 2019: Wouter 1032a3a6752bSflorian - Fix #38: log address and failure reason with tls handshake errors, 1033a3a6752bSflorian squelches (the same as unbound) some unless high verbosity is used. 1034a3a6752bSflorian - Fixup clang analysis warning in xfrd_parse_received_xfr_packet 1035a3a6752bSflorian master dereference. 1036a3a6752bSflorian 1037a3a6752bSflorian25 September 2019: Wouter 1038a3a6752bSflorian - The nsd.conf includes are sorted ascending, for include statements 1039a3a6752bSflorian with a '*' from glob. 1040a3a6752bSflorian 1041a3a6752bSflorian16 September 2019: Wouter 1042a3a6752bSflorian - Fixup warnings during --disable-ipv6 compile. 1043a3a6752bSflorian - Fixup unit test executable to run without IPv6. 1044a3a6752bSflorian 1045a3a6752bSflorian4 September 2019: Wouter 1046a3a6752bSflorian - Fix #35: excessive logging of ixfr failures, it stops the log when 1047a3a6752bSflorian fallback to axfr is possible. log is enabled at high verbosity. 1048a3a6752bSflorian 1049a3a6752bSflorian2 September 2019: Wouter 1050a3a6752bSflorian - For #21: pidfile "" allows to run NSD without a pidfile, for 1051a3a6752bSflorian startup management tools like daemontools. 1052a3a6752bSflorian 1053a3a6752bSflorian28 August 2019: Wouter 1054a3a6752bSflorian - In tests check for tls test tool availability. 1055a3a6752bSflorian 1056a3a6752bSflorian19 August 2019: Wouter 1057a3a6752bSflorian - Tag for 4.2.2 release. Git master contains 4.2.3 in development. 1058a3a6752bSflorian 105966225e4dSsthen13 August 2019: Wouter 106066225e4dSsthen - Fix error message for out of zone data to have more information. 1061a3a6752bSflorian - Tag for 4.2.2rc2. 106266225e4dSsthen 106366225e4dSsthen12 August 2019: Wouter 106466225e4dSsthen - Fix #33: Fix segfault in service of remaining streams on exit. 106566225e4dSsthen 106666225e4dSsthen6 August 2019: Wouter 106766225e4dSsthen - Tag for 4.2.2rc1. 106866225e4dSsthen 106966225e4dSsthen5 August 2019: Wouter 107066225e4dSsthen - PR #31: nsd-control: Add missing stdio header. 107166225e4dSsthen - PR #32: tsig: Fix compilation without HAVE_SSL. 107266225e4dSsthen - Cleanup tls context on xfrd exit. 107366225e4dSsthen 107466225e4dSsthen31 July 2019: Wouter 107566225e4dSsthen - Fix #29: SSHFP check NULL pointer dereference. 107666225e4dSsthen - Fix #30: SSHFP check failure due to missing domain name. 107766225e4dSsthen - Fix to timeval_add in minievent for remaining second in microseconds. 107866225e4dSsthen 107966225e4dSsthen22 July 2019: Wouter 108066225e4dSsthen - Set timeout for refetch immediately, only spread load when there 108166225e4dSsthen are retries. 108266225e4dSsthen 108366225e4dSsthen19 July 2019: Wouter 108466225e4dSsthen - Set no renegotiation on the SSL context to stop client 108566225e4dSsthen session renegotiation. 108666225e4dSsthen 108766225e4dSsthen18 July 2019: Wouter 108866225e4dSsthen - Fix #25: NSD doesn't refresh zones after extended downtime, 108966225e4dSsthen it refreshes the old zones, with a random delay of a couple of 109066225e4dSsthen seconds to spread the load. 109166225e4dSsthen - Fix so that expired zones stay expired when server is down a 109266225e4dSsthen long time. 109366225e4dSsthen 109466225e4dSsthen17 July 2019: Wouter 109566225e4dSsthen - Fix that NSD warns for wrong length of the hash in SSHFP records. 109666225e4dSsthen 109766225e4dSsthen15 July 2019: Wouter 109866225e4dSsthen - PR #23: Fix typo in nsd.conf man-page. 109966225e4dSsthen 110066225e4dSsthen4 July 2019: Wouter 110166225e4dSsthen - Set version to 4.2.2 in development. 110266225e4dSsthen - clean memory on exit of nsd-checkzone for memory debug. 110366225e4dSsthen - Fix #20: CVE-2019-13207 Stack-based Buffer Overflow in the 110466225e4dSsthen dname_concatenate() function. Reported by Frederic Cambus. 110566225e4dSsthen It causes the zone parser to crash on a malformed zone file, 110666225e4dSsthen with assertions enabled, an assertion catches it. 110766225e4dSsthen - Fix #19: Out-of-bounds read caused by improper validation of 110866225e4dSsthen array index. Reported by Frederic Cambus. The zone parser 110966225e4dSsthen fails on type SIG because of mismatched definition with RRSIG. 111066225e4dSsthen 111166225e4dSsthen2 July 2019: Wouter 111266225e4dSsthen - Tag for 4.2.1rc1 111366225e4dSsthen 111466225e4dSsthen27 June 2019: Wouter 111566225e4dSsthen - Fix unit test for added options and no dot after zone updated 111666225e4dSsthen log message. 111766225e4dSsthen - Fix compile without accept4. 111866225e4dSsthen 111966225e4dSsthen21 June 2019: Wouter 112066225e4dSsthen - Omit remaining tcp processing if the list is empty. 112166225e4dSsthen - Fix output of nsd-checkconf -h. 112266225e4dSsthen 112366225e4dSsthen20 June 2019: Wouter 112466225e4dSsthen - Initialize event structures before event_set, to stop uninitialized 112566225e4dSsthen values from setting event library lists and assertions, that would 112666225e4dSsthen sometimes also show after event_del. 112766225e4dSsthen - Added num.tls and num.tls6 stat counters. 112866225e4dSsthen - PR #12: send-buffer-size, receive-buffer-size, 112966225e4dSsthen tcp-reject-overflow options for nsd.conf, from Jeroen Koekkoek. 113066225e4dSsthen - Do not use symbol from libc, instead use own replacement, if not 113166225e4dSsthen available, for accept4. 113266225e4dSsthen - Fix #14, tcp connections have 1/10 to be active and have to work 113366225e4dSsthen every second, and then they get time to complete during a reload, 113466225e4dSsthen this is a process that lingers with the old version during a version 113566225e4dSsthen update. 113666225e4dSsthen 113766225e4dSsthen19 June 2019: Wouter 113866225e4dSsthen - Fix tls handshake event callback function mistake, reported 113966225e4dSsthen by Mykhailo Danylenko. 114066225e4dSsthen 114166225e4dSsthen18 June 2019: Wouter 114266225e4dSsthen - Fix #15: crash in SSL library, initialize variables for TCP access 114366225e4dSsthen when TLS is configured. 114466225e4dSsthen 114566225e4dSsthen14 June 2019: Wouter 114666225e4dSsthen - Fix to init event not pointer, in reassignment. 114766225e4dSsthen 114866225e4dSsthen12 June 2019: Wouter 114966225e4dSsthen - Fix to init event structure for reassignment. 115066225e4dSsthen 115166225e4dSsthen11 June 2019: Wouter 115266225e4dSsthen - NSD 4.2.0 release. Current development is 4.2.1. 115366225e4dSsthen - Fixup of RELNOTES, corrected RFC reference for 4892. 115466225e4dSsthen - Fix #13: Stray dot at the end of some log entries, removes dot 115566225e4dSsthen after updated serial number in log entry. 115666225e4dSsthen - Fix TLS cipher selection, the previous was redundant, prefers 115766225e4dSsthen CHACHA20-POLY1305 over AESGCM and was not as readable as it could be. 115866225e4dSsthen - Consolidate server tls context create and remote control context 115966225e4dSsthen create, with hardening for the remote control tls context too. 116066225e4dSsthen 116166225e4dSsthen6 June 2019: Wouter 116266225e4dSsthen - NSD 4.2.0rc1 tag. 116366225e4dSsthen 116466225e4dSsthen4 June 2019: Wouter 116566225e4dSsthen - Fix unit test for outgoing interface to use random port numbers for 116666225e4dSsthen the outgoing interface config. 116766225e4dSsthen 116866225e4dSsthen29 May 2019: Wouter 116966225e4dSsthen - Fix to guard _OPENBSD_SOURCE from redefinition. 117066225e4dSsthen 117166225e4dSsthen28 May 2019: Wouter 117266225e4dSsthen - Fix to define _OPENBSD_SOURCE to get reallocarray on NetBSD. 117366225e4dSsthen 117466225e4dSsthen16 May 2019: Wouter 117566225e4dSsthen - Fix #10: Fix memory leaks caused by duplicate rr and include 117666225e4dSsthen instructions. 117766225e4dSsthen 117866225e4dSsthen6 May 2019: Wouter 117966225e4dSsthen - Note CII best practices badge for NSD on the README.md. 118066225e4dSsthen 118166225e4dSsthen2 May 2019: Wouter 118266225e4dSsthen - Fix .gitignore for unit test generated files. 118366225e4dSsthen - Fix checkconf unit test for hide-identity and tls. 118466225e4dSsthen 118566225e4dSsthen1 May 2019: Wouter 118666225e4dSsthen - Fix makedist.sh for use with git. 118766225e4dSsthen - Nicer output on travis for clang analysis. 118866225e4dSsthen - Add .gitignore file to exclude built files from version tracking. 118966225e4dSsthen - Add README.md file in repository with compile instructions. 119066225e4dSsthen - Fix .gitignore for dnstap files and aclocal temp. 119166225e4dSsthen - Add aclocal to README.md for pkgconfig for some configure options. 119266225e4dSsthen 119366225e4dSsthen25 April 2019: Wouter 119466225e4dSsthen - Add tls.tpkg unit test for DNS over TLS functionality. 119566225e4dSsthen 119666225e4dSsthen18 April 2019: Wouter 119766225e4dSsthen - Fix to avoid buffer alloc with global buffer in tls write handler. 119866225e4dSsthen - Fix to initialize event structure when accepting TCP connection. 119966225e4dSsthen - Use travis for build check, initial unit test and clang analysis. 120066225e4dSsthen - Disable SSLv2,3,TLSv1.0,1.1 if TLS1.2 is available in libssl. 120166225e4dSsthen - Disable weak ciphers, enable CIPHER_SERVER_PREFERENCE. 120266225e4dSsthen - further setup ssl ctx after the keys are loaded, for ECDH. 120366225e4dSsthen - TLS OCSP stapling support, enabled with tls-service-ocsp: filename, 120466225e4dSsthen patch from Andreas Schulze. 120566225e4dSsthen 120666225e4dSsthen17 April 2019: Wouter 120766225e4dSsthen - Fix to share openssl init code, and perform it once. 120866225e4dSsthen 120966225e4dSsthen16 April 2019: Andreas via Sara 121066225e4dSsthen - Patch to add support for TCP Fast Open 121166225e4dSsthen - Patch to add support for tls service on a specified tls port 121266225e4dSsthen 121366225e4dSsthen16 April 2019: Wouter 121466225e4dSsthen - Fix #4249: The option hide-identity: yes stops NSD from responding 121566225e4dSsthen with the hostname for chaos class queries. Implements the RFC4829 121666225e4dSsthen security considerations. 121766225e4dSsthen - Remove starttls, this signalling method was not standardized. 121866225e4dSsthen - Remove TO bit, this signalling method was not standardized. 121966225e4dSsthen - Remove unused first_query and tls_ok states. 122066225e4dSsthen - Remove sign-compare warning in tls packet send code. 122166225e4dSsthen - Fix spelling in comment and log printout. 122266225e4dSsthen - Fix potential uninitialized variable. 122366225e4dSsthen - Fix documentation for DNS over TLS, and set default port 853. 122466225e4dSsthen - Fix to add missing comment. 122566225e4dSsthen - Fix that the TLS handshake routine sets the correct event to 122666225e4dSsthen continue when done. 122766225e4dSsthen - Fix that TLS renegotiation calls the read and write routines again 122866225e4dSsthen with the same parameters when the desired event has been satisfied. 122966225e4dSsthen - Fix that TCP Fastopen has better error message and supports OSX. 123066225e4dSsthen - Fix log for fastopen with verbosity. 123166225e4dSsthen - Squelch TLS handshake failure log until verbosity 3. 123266225e4dSsthen - Add per-zone statistics for TLS queries, and dnstap for TLS queries, 123366225e4dSsthen and rcode and TCflag statistics for TCP and TLS queries. 123466225e4dSsthen 123566225e4dSsthen25 March 2019: Wouter 123666225e4dSsthen - Print IP address when bind socket fails with error. 123766225e4dSsthen 123866225e4dSsthen21 March 2019: Wouter 123966225e4dSsthen - Fix spelling error in release notes. 124066225e4dSsthen - Fix to delete unused zparser.default_apex member. 124166225e4dSsthen 124266225e4dSsthen19 March 2019: Wouter 124366225e4dSsthen - tag 4.1.27rc1. This became 4.1.27 on 25 March 2019 and trunk has 124466225e4dSsthen 4.1.28 in development. 124566225e4dSsthen 124666225e4dSsthen18 March 2019: Wouter 124766225e4dSsthen - Fix unit test bug013_truncate for new truncation with EDNS size, 124866225e4dSsthen it is one RR smaller for the truncated response in the test. 124966225e4dSsthen 125066225e4dSsthen14 March 2019: Wouter 125166225e4dSsthen - Fixed radtree_insert memory leak. 125266225e4dSsthen - Fixed access recycled variable. 125366225e4dSsthen 125466225e4dSsthen11 March 2019: Wouter 125566225e4dSsthen - Fix #6: nsd-control-setup: Change validity time to a shorter 125666225e4dSsthen period (<2038). 125766225e4dSsthen - Fix unused definition in header remote.h. 125866225e4dSsthen - Fix #4236: IPV4_MINIMAL_RESPONSE_SIZE=1480 is slightly too big. 125966225e4dSsthen - Fix #4235: IP_PMTUDISC_OMIT on IPv4/UDP sockets. 126066225e4dSsthen 126166225e4dSsthen18 February 2019: Wouter 126266225e4dSsthen - Fix to remove unused code. 126366225e4dSsthen 126466225e4dSsthen15 February 2019: Wouter 126566225e4dSsthen - tentative robustness, delete stats items from list twice if needed. 126666225e4dSsthen 126766225e4dSsthen14 February 2019: Wouter 126866225e4dSsthen - Fix #4: setusercontext() is in libutil on NetBSD, and also 126966225e4dSsthen include login_cap.h only if it exists. 127066225e4dSsthen - Fix #4215: fixup for state update for TSIG information in server 127166225e4dSsthen processes, nicer printout for tsig_print, tsig_print without 127266225e4dSsthen arguments and no leaks. 127366225e4dSsthen - nicer logging for update_tsig. 127466225e4dSsthen 127566225e4dSsthen1 February 2019: Wouter 127666225e4dSsthen - Fix for tsig assoc_tsig command on acl with nokey elements. 127766225e4dSsthen 127866225e4dSsthen29 January 2019: Wouter 127966225e4dSsthen - Fix #4215: on-the-fly change of TSIG keys with patch from Igor, adds 128066225e4dSsthen nsd-control print_tsig, update_tsig, add_tsig, assoc_tsig 128166225e4dSsthen and del_tsig. These changes are gone after reload, edit the 128266225e4dSsthen config file (or a file included from it) to make changes that 128366225e4dSsthen last after restart. 128466225e4dSsthen - documentation for tsig nsd-control options. 128566225e4dSsthen 128666225e4dSsthen24 January 2019: Wouter 128766225e4dSsthen - Deny ANY with only one RR in response, by default. Patch from 128866225e4dSsthen Daisuke Higashi. The deny-any statement in nsd.conf sets ANY 128966225e4dSsthen queries over UDP to be further moved to TCP as well. 129066225e4dSsthen Also no additional section processig for type ANY, reducing 129166225e4dSsthen the response size. 129266225e4dSsthen - assertions for clang analysis. 129366225e4dSsthen 129466225e4dSsthen10 December 2018: Wouter 129566225e4dSsthen - Fix for FreeBSD port with dnstap enabled. 129666225e4dSsthen 129766225e4dSsthen6 December 2018: Wouter 129866225e4dSsthen - Fix to reduce region_log_stats if condition, this removes a 129966225e4dSsthen debug statement. 130066225e4dSsthen 130166225e4dSsthen5 December 2018: Wouter 130266225e4dSsthen - Fix #4213: disable-ipv6 and dnstap compile error. 130366225e4dSsthen 130466225e4dSsthen3 December 2018: Wouter 130566225e4dSsthen - Note that the content_list member is unused; and could be removed 130666225e4dSsthen if the database format is modified or updated. 130766225e4dSsthen - Fix that dnstap logs CQ and CR like BIND does. 130866225e4dSsthen - Revert that, it looks wrong, AQ and AR are for the authoritative. 130966225e4dSsthen 131066225e4dSsthen29 November 2018: Wouter 131166225e4dSsthen - Tag for 4.1.26rc1. Which became 4.1.26 on 4 dec 2018. 131266225e4dSsthen Trunk has 4.1.27 in development. 131366225e4dSsthen - Fix clang analysis warning on null in closest encloser for wildcard 131466225e4dSsthen denial nsec. 131566225e4dSsthen - Fix clang analysis warnings. 131666225e4dSsthen 131766225e4dSsthen27 November 2018: Wouter 131866225e4dSsthen - Fix parsezone failure in 4194 fix. 131966225e4dSsthen 132066225e4dSsthen26 November 2018: Wouter 132166225e4dSsthen - Fix to not set GLOB_NOSORT so the nsd.conf include: files are 132266225e4dSsthen sorted and in a predictable order. 132366225e4dSsthen - Added nsd-control changezone. nsd-control changezone name pattern 132466225e4dSsthen allows the change of a zone pattern option without downtime for 132566225e4dSsthen the zone, in one operation. 132666225e4dSsthen - Fix #3433: document that reconfig does not change per-zone stats. 132766225e4dSsthen 132866225e4dSsthen20 November 2018: Wouter 132966225e4dSsthen - Fix #4205: enable-recvmmsg in mixed IPv4/IPv6 environment fails. 133066225e4dSsthen This sets the msg_hdr.msg_namelen correctly after receipt. 133166225e4dSsthen 133266225e4dSsthen19 November 2018: Wouter 133366225e4dSsthen - Support SO_REUSEPORT_LB in FreeBSD 12 with the reuseport: yes 133466225e4dSsthen option in nsd.conf. 133566225e4dSsthen - Fix #4202: nsd-control delzone incorrect exit code on error. 133666225e4dSsthen - Tab style fix to use tab for 8 spaces, from Xiaobo Liu. 133766225e4dSsthen 133866225e4dSsthen25 October 2018: Wouter 133966225e4dSsthen - Adjust dnstap socket path for chroot. 134066225e4dSsthen 134166225e4dSsthen22 October 2018: Wouter 134266225e4dSsthen - Fix #4194: Zone file parser derailed by non-FQDN names in RHS of 134366225e4dSsthen DNSSEC RRs. 134466225e4dSsthen - Fix some more, neater code and checks for domain length limit. 134566225e4dSsthen - check that the dnstap socket file can be opened and exists, print 134666225e4dSsthen error if not. 134766225e4dSsthen 134866225e4dSsthen4 October 2018: Wouter 134966225e4dSsthen - dnstap work, the dnstap.proto is a copy of the file from Unbound, 135066225e4dSsthen also dnstap.m4 configure include file. 135166225e4dSsthen - dnstap collector: free eventbase and memclean nicer. 135266225e4dSsthen - dnstap collector: send data and read it in collector. 135366225e4dSsthen - dnstap/dnstap.c and .h from Unbound's contribution from 135466225e4dSsthen Farsight Security, added to then adapt it for dnstap logging in NSD. 135566225e4dSsthen - dnstap.c with auth query and auth response, and called from 135666225e4dSsthen the collector. 135766225e4dSsthen - dnstap work, config nsd.conf parse. 135866225e4dSsthen - dnstap example config. 135966225e4dSsthen 136066225e4dSsthen25 September 2018: Wouter 136166225e4dSsthen - NSD 4.1.25 released, trunk has 4.1.26 in development. 136266225e4dSsthen 136366225e4dSsthen18 September 2018: Wouter 136466225e4dSsthen - tag for NSD 4.1.25rc1. 136566225e4dSsthen 136666225e4dSsthen17 September 2018: Wouter 136766225e4dSsthen - Fix #4156: Fix systemd service manager state change notification 136866225e4dSsthen 136966225e4dSsthen14 September 2018: Wouter 137066225e4dSsthen - Remove unused if clause during server service startup. 137166225e4dSsthen 137266225e4dSsthen13 September 2018: Wouter 137366225e4dSsthen - Fix typo in clang analysis test. 137466225e4dSsthen - Annotate exit functions with noreturn. 137566225e4dSsthen - nsd-control prints neater errors for file failures. 137666225e4dSsthen 137766225e4dSsthen12 September 2018: Wouter 137866225e4dSsthen - clang analysis test. 137966225e4dSsthen 138066225e4dSsthen11 September 2018: Wouter 138166225e4dSsthen - Fix to combine the same error function into one, from Xiaobo Liu. 138266225e4dSsthen - Fix initialisation in remote.c. 138366225e4dSsthen - please clang analyzer and fix parse of IPSECKEY with bad gateway. 138466225e4dSsthen - Fix unit test code for clang analyzer. 138566225e4dSsthen - Fix nsd-checkconf fail on bad zone name. 138666225e4dSsthen 138766225e4dSsthen10 September 2018: Wouter 138866225e4dSsthen - Fix coding style in nsd.c 138966225e4dSsthen 139066225e4dSsthen7 September 2018: Wouter 139166225e4dSsthen - append_trailing_slash has one implementation and is not repeated 139266225e4dSsthen differently. 139366225e4dSsthen 139466225e4dSsthen4 September 2018: Wouter 139566225e4dSsthen - Fix codingstyle in nsd-checkconf.c in patch from Sharp Liu. 139666225e4dSsthen 139766225e4dSsthen15 August 2018: Wouter 139866225e4dSsthen - Fix use_systemd typo/leftover in remote.c. 139966225e4dSsthen 140066225e4dSsthen13 August 2018: Wouter 140166225e4dSsthen - tag for 4.1.24 release. 140266225e4dSsthen - trunk is 4.1.25 in development. 140366225e4dSsthen - Fix that nsec3 precompile deletion happens before the RRs of 140466225e4dSsthen the zone are deleted. 140566225e4dSsthen - Fix printout of accepted remote control connection for unix sockets. 140666225e4dSsthen 140766225e4dSsthen6 August 2018: Wouter 140866225e4dSsthen - tag for 4.1.24rc1 release. 140966225e4dSsthen 141066225e4dSsthen30 July 2018: Wouter 141166225e4dSsthen - Tag for NSD 4.1.23 release, trunk is 4.1.24, includes 141266225e4dSsthen fix NSD time sensitive TSIG compare vulnerability. 141366225e4dSsthen - Fix checkconf test for use-systemd option. 141466225e4dSsthen 141566225e4dSsthen25 July 2018: Wouter 141666225e4dSsthen - #4133: Fix that when IXFR contains a zone with broken NSEC3PARAM 141766225e4dSsthen chain, NSD leniently attempts to find a working NSEC3PARAM. 141866225e4dSsthen 141966225e4dSsthen23 July 2018: Wouter 142066225e4dSsthen - Remove socket activation from systemd code, it was reported as 142166225e4dSsthen not useful to enable. The readiness signalling is still there, 142266225e4dSsthen and can be enabled with use-systemd: yes. 142366225e4dSsthen - Only call sd_notify from systemd when use-systemd is yes. 142466225e4dSsthen 142566225e4dSsthen6 July 2018: Wouter 142666225e4dSsthen - RFC8162 support, for record type SMIMEA. 142766225e4dSsthen - Fix that type CAA (and URI) in the zone file can contain 142866225e4dSsthen dots when not in quotes. 142966225e4dSsthen 143066225e4dSsthen26 June 2018: Wouter 143166225e4dSsthen - configure --enable-systemd (needs pkg-config and libsystemd) can 143266225e4dSsthen be used to then use-systemd: yes in nsd.conf and use socket 143366225e4dSsthen activation and readiness signalling with systemd. 143466225e4dSsthen 143566225e4dSsthen19 June 2018: Wouter 143666225e4dSsthen - #4106: Fix that stats printed from nsd-control are recast from 143766225e4dSsthen unsigned long to unsigned (remote.c). 143866225e4dSsthen 143966225e4dSsthen14 June 2018: Wouter 144066225e4dSsthen - Fix that first control-interface determines if TLS is used. Warn 144166225e4dSsthen when IP address interfaces are used without TLS. 144266225e4dSsthen 144366225e4dSsthen12 June 2018: Wouter 144466225e4dSsthen - #4102: control interface via local socket. 144566225e4dSsthen configure it with control-interface: "/path/nsd.ctl" The path 144666225e4dSsthen has to start with a / to separate it from an IP address. 144766225e4dSsthen The local socket does not use SSL, but unencrypted traffic, use 144866225e4dSsthen file and containing directory permissions to restrict access. 144966225e4dSsthen 145066225e4dSsthen6 June 2018: Wouter 145166225e4dSsthen - Patch to fix openwrt for mac os build darwin detection in configure. 145266225e4dSsthen 145366225e4dSsthen4 June 2018: Wouter 145466225e4dSsthen - tag for 4.1.22rc1. Became 4.1.22 on 11 June, trunk is 4.1.23 in 145566225e4dSsthen development from this point. 145666225e4dSsthen 145766225e4dSsthen31 May 2018: Wouter 145866225e4dSsthen - Fix to use same condition for nsec3 hash allocation and free. 145966225e4dSsthen 146066225e4dSsthen23 May 2018: Wouter 146166225e4dSsthen - Use accept4 to speed up answer of TCP queries, on Linux and FreeBSD 146266225e4dSsthen and OpenBSD. 146366225e4dSsthen 146466225e4dSsthen22 May 2018: Wouter 146566225e4dSsthen - Fix nsec3 hash of parent and child co-hosted nsec3 enabled zones. 146666225e4dSsthen 146766225e4dSsthen15 May 2018: Wouter 146866225e4dSsthen - Fix memory free in unit test. 146966225e4dSsthen 147066225e4dSsthen14 May 2018: Wouter 147166225e4dSsthen - Tag for 4.1.21 release. 147266225e4dSsthen - trunk has 4.1.22 in development. 147366225e4dSsthen - refuse-any sends truncation (+TC) in reply to ANY queries over UDP, 147466225e4dSsthen and allows TCP queries like normal. 147566225e4dSsthen 147666225e4dSsthen7 May 2018: Wouter 147766225e4dSsthen - Tag for 4.1.21rc1 release. 147866225e4dSsthen 147966225e4dSsthen4 May 2018: Wouter 148066225e4dSsthen - Fix #4093: Release notes not using 2018. 148166225e4dSsthen 148266225e4dSsthen3 May 2018: Wouter 148366225e4dSsthen - Fix buffer size warnings from compiler on filename lengths. 148466225e4dSsthen 148566225e4dSsthen26 April 2018: Wouter 148666225e4dSsthen - lower memory usage for tcp connections, so tcp-count can be higher. 148766225e4dSsthen - Fix checkconf test for refuse-any option. 148866225e4dSsthen 148966225e4dSsthen3 April 2018: Wouter 149066225e4dSsthen - refuse-any nsd.conf option that refuses queries of type ANY. 149166225e4dSsthen 149266225e4dSsthen5 March 2018: Wouter 149366225e4dSsthen - Fix #3562: explain build error when flex missing. 149466225e4dSsthen 149566225e4dSsthen20 February 2018: Wouter 149666225e4dSsthen - For more clang warnings 149766225e4dSsthen - Fix spelling error in xfr-inspect. 149866225e4dSsthen 149966225e4dSsthen19 February 2018: Wouter 150066225e4dSsthen - Fix for clang analysis complaints. 150166225e4dSsthen 150266225e4dSsthen15 February 2018: Wouter 150366225e4dSsthen - --enable-memclean cleans up memory for use with memory checkers, 150466225e4dSsthen eg. valgrind. 150566225e4dSsthen - Fix unused variable warnings from clang analyzer. 150666225e4dSsthen 150766225e4dSsthen14 February 2018: Wouter 150866225e4dSsthen - updated RELNOTES for upcoming release. 150966225e4dSsthen - tag 4.1.20rc1, became release on 20 feb, trunk has 4.1.21 in 151066225e4dSsthen development. 151166225e4dSsthen 151266225e4dSsthen9 February 2018: Wouter 151366225e4dSsthen - make depend: updated the make dependencies in the Makefile. 151466225e4dSsthen 151566225e4dSsthen8 February 2018: Wouter 151666225e4dSsthen - Fix memory leak when rehashing nsec3 after axfr or zonefile read, 151766225e4dSsthen in the selectively allocated precompiled nsec3 hashes. 151866225e4dSsthen 151966225e4dSsthen6 February 2018: Wouter 152066225e4dSsthen - Fix memory leak in zone file read of unknown rr formatted RRs. 152166225e4dSsthen 152266225e4dSsthen11 December 2017: Wouter 152366225e4dSsthen - Add test for support of -Wno-address-of-packed-member for 152466225e4dSsthen --enable-packed. 152566225e4dSsthen - tag for release 4.1.19 152666225e4dSsthen - trunk has 4.1.20 in development. 152766225e4dSsthen 152866225e4dSsthen8 December 2017: Wouter 152966225e4dSsthen - tag for 4.1.19rc1 153066225e4dSsthen 153166225e4dSsthen7 December 2017: Wouter 153266225e4dSsthen - Fixup lexer warning for gcc 4.2. 153366225e4dSsthen 153466225e4dSsthen6 December 2017: Wouter 153566225e4dSsthen - Fix 3392: Fix regression in 4.1.18 for notify lists with ip4 153666225e4dSsthen and ip6 targets. 153766225e4dSsthen 153866225e4dSsthen5 December 2017: Wouter 153966225e4dSsthen - Fix spelling error in xfr-inspect. 154066225e4dSsthen 154166225e4dSsthen1 December 2017: Wouter 154266225e4dSsthen - Fix warnings emitted by clang for --enable-packed. Alignment is not 154366225e4dSsthen a problem for x86_64, don't enable packed when the platform 154466225e4dSsthen requires aligned access. 154566225e4dSsthen 154666225e4dSsthen30 November 2017: Wouter 154766225e4dSsthen - tag for 4.1.18 release. 154866225e4dSsthen - trunk has 4.1.19 in development. 154966225e4dSsthen - ignore fallthrough compiler warning in flex EOF rule. 155066225e4dSsthen 155166225e4dSsthen27 November 2017: Wouter 155266225e4dSsthen - Fix crash for DS query when parent and child zones both configured 155366225e4dSsthen in nsd.conf and parent zone has not loaded properly. 155466225e4dSsthen - tag for 4.1.18rc2. 155566225e4dSsthen 155666225e4dSsthen16 November 2017: Wouter 155766225e4dSsthen - tag for 4.1.18rc1. 155866225e4dSsthen 155966225e4dSsthen14 November 2017: Wouter 156066225e4dSsthen - Fix #2871: Increase number of sockets for xfrd transfers. 156166225e4dSsthen 156266225e4dSsthen6 November 2017: Wouter 156366225e4dSsthen - Set usage counts in namedb tree to uint32 to save memory. 156466225e4dSsthen - Fix up debug content from nsec3 collision printout work. 156566225e4dSsthen 156666225e4dSsthen2 November 2016: Wouter 156766225e4dSsthen - make ip-transparent option work on OpenBSD. 156866225e4dSsthen 156966225e4dSsthen11 October 2016: Wouter 157066225e4dSsthen - Fix #1567: Change crit to err log level for gettimeofday failure. 157166225e4dSsthen Add defines for compile without syslog. 157266225e4dSsthen 157366225e4dSsthen9 October 2016: Wouter 157466225e4dSsthen - Fix collision printout of nsec3 to print name, hash and reverse. 157566225e4dSsthen 157666225e4dSsthen2 October 2016: Wouter 157766225e4dSsthen - nsd-control zonestatus prints wait time between attempts, for zones 157866225e4dSsthen that are in that waiting time. 157966225e4dSsthen 158066225e4dSsthen19 September 2016: Wouter 158166225e4dSsthen - merges feature branch branches/alloced_prehashes into trunk. 158266225e4dSsthen 158366225e4dSsthen18 September 2016: Wouter 158466225e4dSsthen - Fix #1446: A corrupted zone file "propagates" to good ones. 158566225e4dSsthen 158666225e4dSsthen14 September 2016: Wouter 158766225e4dSsthen - Fix layout in xfrd.c. 158866225e4dSsthen 158966225e4dSsthen6 September 2017: Willem 159066225e4dSsthen - Save memory by selectively allocate precompiled nsec3 hashes 159166225e4dSsthen 159266225e4dSsthen29 August 2016: Wouter 159366225e4dSsthen - With --enable-packed save memory, at expense of unaligned reads. 159466225e4dSsthen - Fix writev compile warning on FreeBSD. 159566225e4dSsthen 159666225e4dSsthen25 July 2016: Wouter 159766225e4dSsthen - NSD sends up to 16 notifies simultaneously for up to 64 zones, 159866225e4dSsthen to increase rate of notification for large master configurations. 159966225e4dSsthen 160066225e4dSsthen24 July 2016: Wouter 160166225e4dSsthen - Fix gcc 7.1.1 warnings. 160266225e4dSsthen 160366225e4dSsthen17 July 2016: Wouter 160466225e4dSsthen - Trunk has 4.1.18 160566225e4dSsthen - xfr-inspect is part of source dir, but not made or installed by 160666225e4dSsthen default. 160766225e4dSsthen - retry timeout between sending notifies dropped from 15 to 3 sec. 160866225e4dSsthen 160966225e4dSsthen13 July 2016: Wouter 161066225e4dSsthen - tag 4.1.17rc1, and that became the 4.1.17 release on 21 July 2017. 161166225e4dSsthen 161266225e4dSsthen29 June 2016: Wouter 161366225e4dSsthen - make depend. 161466225e4dSsthen 161566225e4dSsthen26 June 2016: Wouter 161666225e4dSsthen - Fix text format of deletes for CDS and CDNSKEY, single 0 to represent 161766225e4dSsthen empty base64 or hex string. 161866225e4dSsthen 161966225e4dSsthen23 June 2016: Wouter 162066225e4dSsthen - Fix potential null pointer in nsec3 adjustment tree. 162166225e4dSsthen 162266225e4dSsthen15 June 2016: Wouter 162366225e4dSsthen - xfr-inspect debug tool prints out xfr contents of files in tmp. 162466225e4dSsthen 162566225e4dSsthen6 June 2016: Wouter 162666225e4dSsthen - Fix #1272: use writev to put tcp length field with data for outgoing 162766225e4dSsthen zone transfer requests. 162866225e4dSsthen 162966225e4dSsthen16 May 2016: Wouter 163066225e4dSsthen - zone parser parses type AVC (it has TXT format). 163166225e4dSsthen 163266225e4dSsthen25 April 2016: Wouter 163366225e4dSsthen - 4.1.16 release tag. 163466225e4dSsthen - trunk contains 4.1.17 in development. 163566225e4dSsthen 163666225e4dSsthen11 April 2016: Wouter 163766225e4dSsthen - 4.1.16 rc1 tag for release. 163866225e4dSsthen - minor manpage fix. 163966225e4dSsthen 164066225e4dSsthen5 April 2016: Wouter 164166225e4dSsthen - Patch for expire state in multi-master when masters includes 164266225e4dSsthen broken master. 164366225e4dSsthen 164466225e4dSsthen27 March 2016: Wouter 164566225e4dSsthen - Fix 1243: Option to make NSD emit really minimal responses, 164666225e4dSsthen minimal-responses: yes in nsd.conf. 164766225e4dSsthen - but they give additional information for priming queries (type NS). 164866225e4dSsthen 164966225e4dSsthen6 March 2016: Wouter 165066225e4dSsthen - Fix 1228: OpenSSL include is not guarded with HAVE_SSL 165166225e4dSsthen 165266225e4dSsthen28 February 2016: Wouter 165366225e4dSsthen - Printout serial error with hint it may be too big. 165466225e4dSsthen 165566225e4dSsthen20 February 2016: Wouter 165666225e4dSsthen - Fix missing _t to _type conversion for disable-radix-tree option. 165766225e4dSsthen 165866225e4dSsthen15 February 2016: Wouter 165966225e4dSsthen - zone parser can parse acronyms for algorithms ED25519 and ED448. 166066225e4dSsthen 166166225e4dSsthen13 February 2016: Wouter 166266225e4dSsthen - Calculate new udb index after growing the array, fix from 166366225e4dSsthen Chaofeng Liu. 166466225e4dSsthen 166566225e4dSsthen7 February 2016: Wouter 166666225e4dSsthen - tag for 4.1.15 rc1. Which became 4.1.15 on 16 Feb. Trunk 4.1.16. 166766225e4dSsthen 166866225e4dSsthen19 January 2016: Wouter 166966225e4dSsthen - Fix to rename _t typedefs because POSIX reserves them. 167066225e4dSsthen 167166225e4dSsthen3 January 2016: Wouter 167266225e4dSsthen - Fix #1195: Fix so that NSD fails on non-compliant values for Serial. 167366225e4dSsthen 167466225e4dSsthen14 December 2016: Wouter 167566225e4dSsthen - Squelch zone transfer error address family not supported by protocol 167666225e4dSsthen at low verbosity levels. 167766225e4dSsthen 167866225e4dSsthen13 December 2016: Wouter 167966225e4dSsthen - Fix nsd-control and ipv6 only. 168066225e4dSsthen 168166225e4dSsthen8 December 2016: Wouter 168266225e4dSsthen - tag 4.1.14 168366225e4dSsthen - trunk contains 4.1.15 in development. 168466225e4dSsthen 168566225e4dSsthen1 December 2016: Wouter 168666225e4dSsthen - Fix restart of zone transfers when new config becomes available. 168766225e4dSsthen - tag 4.1.14rc1 168866225e4dSsthen 168966225e4dSsthen25 October 2016: Wouter 169066225e4dSsthen - Fix #1132 for SERVFAIL zones perform backoff, and remembers the 169166225e4dSsthen timeout on next startup. 169266225e4dSsthen - Save backoff timeout into xfrd.state file, this file has a higher 169366225e4dSsthen version number now. Old files are skipped silently (causes 169466225e4dSsthen refresh) and created as new files upon exit. 169566225e4dSsthen - Set number of rounds to 1; NSD will try every master once, then 169666225e4dSsthen wait for timeout or notify. 169766225e4dSsthen - Fix axfr fallback for rounds to 1. 169866225e4dSsthen 169966225e4dSsthen20 October 2016: Wouter 170066225e4dSsthen - suppress compile warning in lex files. 170166225e4dSsthen 170266225e4dSsthen18 October 2016: Wouter 170366225e4dSsthen - Robust fix against missing master in tcp_open for xfrd. 170466225e4dSsthen - More in depth fix for the previous. 170566225e4dSsthen - Fix wildcards in include: config statements with chroot enabled. 170666225e4dSsthen 170766225e4dSsthen27 September 2016: Wouter 170866225e4dSsthen - NSD 4.1.13 tag. 170966225e4dSsthen - trunk has 4.1.14 in development. 171066225e4dSsthen - Fix null memcpy for radixtree with single link element. 171166225e4dSsthen 171266225e4dSsthen19 September 2016: Wouter 171366225e4dSsthen - Review comments Ralph: wrapped long lines and nicer example conf. 171466225e4dSsthen 171566225e4dSsthen16 September 2016: Wouter 171666225e4dSsthen - NSD 4.1.13rc1 tag. 171766225e4dSsthen 171866225e4dSsthen15 September 2016: Wouter 171966225e4dSsthen - Test for openssl init_crypto and init_ssl functions. 172066225e4dSsthen 172166225e4dSsthen14 September 2016: Ralph 172266225e4dSsthen - Fix OPENSSL_INIT_ADD_ALL_DIGESTS compatibility check 172366225e4dSsthen 172466225e4dSsthen13 September 2016: Wouter 172566225e4dSsthen - Fix double const in dname_const() function. 172666225e4dSsthen - Silenced flex-generated sign-unsigned warning print with gcc 172766225e4dSsthen diagnostic pragma. 172866225e4dSsthen 172966225e4dSsthen8 September 2016: Wouter 173066225e4dSsthen - more extensible edns option handling. 173166225e4dSsthen 173266225e4dSsthen2 September 2016: Wouter 173366225e4dSsthen - Release of 4.1.12; trunk is 4.1.13 and the patch for 4.1.12 (that 173466225e4dSsthen does not contain the other changes to the trunk) is folded into 173566225e4dSsthen the trunk. 173666225e4dSsthen - Fix #827: fix compile with openssl 1.1.0 with api=1.1.0. 173766225e4dSsthen 173866225e4dSsthen25 August 2016: Wouter 173966225e4dSsthen - Fix multimaster for not tried full zone transfer for a expired zone. 174066225e4dSsthen - Explain --disable-radix tree uses some more CPU. 174166225e4dSsthen 174266225e4dSsthen22 August 2016: Wouter 174366225e4dSsthen - Fix README spelling error of BSD license (reported by Joerg Jung). 174466225e4dSsthen 174566225e4dSsthen19 August 2016: Wouter 174666225e4dSsthen - for type SRV add A/AAAA to the additional section (if possible), 174766225e4dSsthen just like we already do for type MX. 174866225e4dSsthen 174966225e4dSsthen17 August 2016: Wouter 175066225e4dSsthen - Add robustness against unallocated data in nsec3 trees. 175166225e4dSsthen 175266225e4dSsthen16 August 2016: Wouter 175366225e4dSsthen - configure --disable-radix-tree for about 15% lower memory usage. 175466225e4dSsthen 175566225e4dSsthen12 August 2016: Wouter 175666225e4dSsthen - Fix #817: xfrd update failed loop. 175766225e4dSsthen 175866225e4dSsthen9 August 2016: Wouter 175966225e4dSsthen - Can config key algorithms with the digest name, eg. 'sha256'. 176066225e4dSsthen - default tsig algorithm is sha256. 176166225e4dSsthen - Fix typo in log output, 'transfered' -> 'transferred'. 176266225e4dSsthen - Fix compile warnings about signcompare in minmax retrytime. 176366225e4dSsthen 176466225e4dSsthen8 August 2016: Wouter 176566225e4dSsthen - Support syntax of RR type OPENPGPKEY from RFC 7929. 176666225e4dSsthen 176766225e4dSsthen5 August 2016: Wouter 176866225e4dSsthen - multi-master-check: yes can be used to check all masters for the 176966225e4dSsthen last version, using the higher version from the configured masters, 177066225e4dSsthen from Manabu Sonoda. 177166225e4dSsthen - small fixups on patch. And fix spacing and remove configure flag. 177266225e4dSsthen - Fix #812: make depend fails after distribution. 177366225e4dSsthen 177466225e4dSsthen2 August 2016: Wouter 177566225e4dSsthen - Fix unused result warnings from write and strtol. 177666225e4dSsthen 177766225e4dSsthen1 August 2016: Wouter 177866225e4dSsthen - Tag 4.1.11rc1. 177966225e4dSsthen - Fix nsec3 missing for nsec3 signed parent and child for DS at zonecut. 178066225e4dSsthen - Tag 4.1.11rc2. 178166225e4dSsthen - trunk is 4.1.12 in development. 178266225e4dSsthen 178366225e4dSsthen8 July 2016: Wouter 178466225e4dSsthen - Note down tracking numbers for issue JVN#63359718 JPCERT#91251865. 178566225e4dSsthen 178666225e4dSsthen5 July 2016: Wouter 178766225e4dSsthen - Fix #790: size-limit-xfr can stop NSD from downloading infinite zone 178866225e4dSsthen transfer data size, from Toshifumi Sakaguchi. 178966225e4dSsthen 179066225e4dSsthen27 June 2016: Wouter 179166225e4dSsthen - Set default for min-refresh-time and min-retry-time to 0. Behaves 179266225e4dSsthen just like before, but has a configurable option in nsd.conf. 179366225e4dSsthen - Fix #783: Trying to run a root server without having configured it 179466225e4dSsthen silently gives wrong answers. 179566225e4dSsthen 179666225e4dSsthen16 June 2016: Wouter 179766225e4dSsthen - When tcp is more than half full, use short timeout for tcp session. 179866225e4dSsthen - Patch for {max,min}-{refresh,retry}-time from YAMAGUCHI Takanori. 179966225e4dSsthen - man page entries for max-refresh-time patch. 180066225e4dSsthen 180166225e4dSsthen15 June 2016: Wouter 180266225e4dSsthen - Fix build without IPv6, patch from Zdenek Kaspar. 180366225e4dSsthen 180466225e4dSsthen14 June 2016: Wouter 180566225e4dSsthen - release 4.1.10 and tag for that. 180666225e4dSsthen - trunk has 4.1.11 in development. 180766225e4dSsthen 180866225e4dSsthen7 June 2016: Wouter 180966225e4dSsthen - Fix NSEC3 ent fix to use closest encloser, not wildcard denial. 181066225e4dSsthen 181166225e4dSsthen2 June 2016: Wouter 181266225e4dSsthen - Fix for NSEC3 with zone signed without exact match for empty 181366225e4dSsthen nonterminals, the answer for that domain gets wildcard denial. 181466225e4dSsthen - #772 Document that recvmmsg has IPv6 problems on some linux kernels. 181566225e4dSsthen - tag for 4.1.10rc1. 181666225e4dSsthen 181766225e4dSsthen31 May 2016: Wouter 181866225e4dSsthen - print notice that nsd is starting before taking off. 181966225e4dSsthen 182066225e4dSsthen20 May 2016: Wouter 182166225e4dSsthen - Updated fix for nonterminal nsec3 answers. 182266225e4dSsthen 182366225e4dSsthen19 May 2016: Wouter 182466225e4dSsthen - Fix empty nonterminal nsec3 cover answers. 182566225e4dSsthen 182666225e4dSsthen12 May 2016: Wouter 182766225e4dSsthen - NSD includes AAAA before A for queries over IPV6 (in delegations). 182866225e4dSsthen And TC is set if no glue can be provided with a delegation because 182966225e4dSsthen of packet size. 183066225e4dSsthen 183166225e4dSsthen19 April 2016: Wouter 183266225e4dSsthen - Fix #755: NSD spins after a zone update and a lot of TCP queries. 183366225e4dSsthen 183466225e4dSsthen7 April 2016: Wouter 183566225e4dSsthen - If set without nsd.db print "" as the default in the man pages. 183666225e4dSsthen 183766225e4dSsthen4 April 2016: Wouter 183866225e4dSsthen - Fix #751: NSD fails to occlude names below a DNAME. 183966225e4dSsthen 184066225e4dSsthen24 March 2016: Wouter 184166225e4dSsthen - Fix for openssl 1.1.0, HMAC_CTX size not exported from openssl. 184266225e4dSsthen 184366225e4dSsthen21 March 2016: Wouter 184466225e4dSsthen - Update acx_nlnetlabs.m4 to version 33 with HMAC_Update test. 184566225e4dSsthen - acx_nlnetlabs.m4 to v34, with -ldl -pthread test for libcrypto. 184666225e4dSsthen 184766225e4dSsthen15 March 2016: Wouter 184866225e4dSsthen - ip-freebind: yesno option in nsd.conf sets IP_FREEBIND socket option 184966225e4dSsthen for Linux, binds to interfaces and addresses that are down. 185066225e4dSsthen - Change the nsd.db file version because of nanosecond precision fix. 185166225e4dSsthen - 4.1.9 release with the nsd.db file version fix (but not freebind), 185266225e4dSsthen trunk contains 4.1.10 in development. 185366225e4dSsthen 185466225e4dSsthen10 March 2016: Wouter 185566225e4dSsthen - Tag 4.1.8 185666225e4dSsthen - Trunk contains 4.1.9 in development. 185766225e4dSsthen 185866225e4dSsthen2 March 2016: Wouter 185966225e4dSsthen - Tag 4.1.8rc1 186066225e4dSsthen 186166225e4dSsthen1 March 2016: Wouter 186266225e4dSsthen - #744: Fix that NSD replies for configured but unloaded zone 186366225e4dSsthen with SERVFAIL, not REFUSED. 186466225e4dSsthen 186566225e4dSsthen16 February 2016: Wouter 186666225e4dSsthen - RR type CSYNC (RFC7477) syntax is supported. 186766225e4dSsthen 186866225e4dSsthen29 January 2016: Wouter 186966225e4dSsthen - #739: zonefile changes when mtime is small are detected on reload, 187066225e4dSsthen if filesystem supports precision mtime values. 187166225e4dSsthen 187266225e4dSsthen19 January 2016: Wouter 187366225e4dSsthen - Fix #736: segfault during zone transfer. 187466225e4dSsthen 187566225e4dSsthen08 January 2016: Wouter 187666225e4dSsthen - Define _DEFAULT_SOURCE with _BSD_SOURCE for recent Linuxes. 187766225e4dSsthen 187866225e4dSsthen05 January 2016: Wouter 187966225e4dSsthen - #732: tcp-mss, outgoing-tcp-mss options for nsd.conf, patch 188066225e4dSsthen from Daisuke Higashi. 188166225e4dSsthen 188266225e4dSsthen04 January 2016: Wouter 188366225e4dSsthen - Updated acx_nlnetlabs to version 32. 188466225e4dSsthen 188566225e4dSsthen11 December 2015: Wouter 188666225e4dSsthen - Fix flto check for OSX clang. 188766225e4dSsthen 188866225e4dSsthen10 December 2015: Wouter 188966225e4dSsthen - 4.1.7 release 189066225e4dSsthen - trunk has 4.1.8 in development. 189166225e4dSsthen - take advantage of arc4random_uniform if available, patch from 189266225e4dSsthen Loganaden Velvindron. 189366225e4dSsthen 189466225e4dSsthen3 December 2015: Wouter 189566225e4dSsthen - tag for 4.1.7rc1 prerelease. 189666225e4dSsthen 189766225e4dSsthen2 December 2015: Wouter 189866225e4dSsthen - configure --enable-ratelimit-default-is-off with --enable-ratelimit 189966225e4dSsthen to set the default ratelimit to disabled but available in nsd.conf. 190066225e4dSsthen - Document that ratelimit qps and slip are updated in reconfig. 190166225e4dSsthen - version: "string" option to set chaos version query reply string. 190266225e4dSsthen - Fix up defaults in manpage. 190366225e4dSsthen 190466225e4dSsthen1 December 2015: Wouter 190566225e4dSsthen - Explain rrl-slip better in documentation. 190666225e4dSsthen 190766225e4dSsthen30 November 2015: Wouter 190866225e4dSsthen - Fix TCP responses when REUSEPORT is in use by turning it off. 190966225e4dSsthen - reuseport: no is the default, because the feature is not troublefree. 191066225e4dSsthen - Document default in manpage for rrl-slip, ip4 and 6 prefixlength. 191166225e4dSsthen 191266225e4dSsthen24 November 2015: Wouter 191366225e4dSsthen - Fix zonec ttl mismatch printout to include more information. 191466225e4dSsthen 191566225e4dSsthen18 November 2015: Wouter 191666225e4dSsthen - RELNOTES more descriptive. 191766225e4dSsthen - newer acx_nlnetlabs.m4. 191866225e4dSsthen - spelling fixes from Igor Sobrado Delgado. 191966225e4dSsthen 192066225e4dSsthen17 November 2015: Wouter 192166225e4dSsthen - Fix #721: Fix wrong error code (FORMERR) returned for unknown 192266225e4dSsthen opcode. NOTIMP expected. 192366225e4dSsthen 192466225e4dSsthen16 November 2015: Wouter 192566225e4dSsthen - Allocate less memory for TSIG digest. 192666225e4dSsthen 192766225e4dSsthen6 November 2015: Wouter 192866225e4dSsthen - Fixup for newer acx_nlnetlabs.m4, test for openssl version after 192966225e4dSsthen testing for libdl need. 193066225e4dSsthen 193166225e4dSsthen5 November 2015: Wouter 193266225e4dSsthen - newer acx_nlnetlabs.m4, does not needlessly link with -ldl. 193366225e4dSsthen 193466225e4dSsthen30 October 2015: Wouter 193566225e4dSsthen - Fix tpkg tests for portability. 193666225e4dSsthen 193766225e4dSsthen29 October 2015: Wouter 193866225e4dSsthen - patch from Doug Hogan for SSL_OP_NO_SSLvx options. 193966225e4dSsthen - updated contrib/nsd.spec, from Bálint Szigeti. 194066225e4dSsthen - support configure --with-dbfile="" for nodb mode by default, where 194166225e4dSsthen there is no binary database, but nsd reads and writes zonefiles. 194266225e4dSsthen 194366225e4dSsthen27 October 2015: Wouter 194466225e4dSsthen - portability fixes. 194566225e4dSsthen 194666225e4dSsthen26 October 2015: Wouter 194766225e4dSsthen - Init pfd for handlers added during handler-event-walk. 194866225e4dSsthen 194966225e4dSsthen23 October 2015: Wouter 195066225e4dSsthen - Fix many interfaces and zones updates from nsd parent event loop. 195166225e4dSsthen 195266225e4dSsthen22 October 2015: Wouter 195366225e4dSsthen - 4.1.6 release tag. 195466225e4dSsthen - trunk contain 4.1.7 in development. 195566225e4dSsthen 195666225e4dSsthen20 October 2015: Wouter 195766225e4dSsthen - 4.1.6rc2 tag created. 195866225e4dSsthen 195966225e4dSsthen19 October 2015: Wouter 196066225e4dSsthen - Fix compile of zonec error message on FreeBSD. 196166225e4dSsthen 196266225e4dSsthen15 October 2015: Wouter 196366225e4dSsthen - 4.1.6rc1 tag created. 196466225e4dSsthen 196566225e4dSsthen13 October 2015: Wouter 196666225e4dSsthen - nsd-checkconf warns for master zones with no zonefile statement. 196766225e4dSsthen - Fix start failure when many file descriptors are in use. 196866225e4dSsthen - The servfail rcode is not printed with a space in the middle. 196966225e4dSsthen - fixup file descriptor fixup nicer. 197066225e4dSsthen - print failed token for config syntax error or parse error. 197166225e4dSsthen 197266225e4dSsthen12 October 2015: Wouter 197366225e4dSsthen - Fix #711: Document that debug-mode yes is used for staying 197466225e4dSsthen attached to the supervisor console. 197566225e4dSsthen - Document verbosity 3 prints more information. 197666225e4dSsthen 197766225e4dSsthen30 September 2015: Wouter 197866225e4dSsthen - makedist.sh print on pgp signature creation. 197966225e4dSsthen 198066225e4dSsthen28 September 2015: Wouter 198166225e4dSsthen - Fix typo in zonec.c inside error message. 198266225e4dSsthen 198366225e4dSsthen24 September 2015: Wouter 198466225e4dSsthen - Fix #701: Fix that AD=1 set in a BADVERS response. 198566225e4dSsthen 198666225e4dSsthen21 September 2015: Wouter 198766225e4dSsthen - Fix #706: default port 53 not opened on ip4 because of getaddrinfo 198866225e4dSsthen hints initialisation failure. 198966225e4dSsthen - 4.1.5 release tag 199066225e4dSsthen - trunk contains 4.1.6 in development. 199166225e4dSsthen 199266225e4dSsthen9 September 2015: Wouter 199366225e4dSsthen - 4.1.4 release tag created. 199466225e4dSsthen - trunk contains 4.1.5 in development. 199566225e4dSsthen 199666225e4dSsthen31 August 2015: Wouter 199766225e4dSsthen - 4.1.4rc1 tag created. 199866225e4dSsthen 199966225e4dSsthen28 August 2015: Wouter 200066225e4dSsthen - Fix #698 formatting errors and typos in nsd.8.in. 200166225e4dSsthen - Add --enable-pie and --enable-relro-now options. 200266225e4dSsthen 200366225e4dSsthen18 August 2015: Wouter 200466225e4dSsthen - Admitted axfrs are logged at verbosity 1. Refused at verbosity 2. 200566225e4dSsthen 200666225e4dSsthen17 August 2015: Wouter 200766225e4dSsthen - Fixed checkconf test for reuseport setting. 200866225e4dSsthen 200966225e4dSsthen14 August 2015: Wouter 201066225e4dSsthen - SO_REUSEPORT does not work on FreeBSD. Enabled by default on Linux, 201166225e4dSsthen not enabled by default on other OSes. 201266225e4dSsthen 201366225e4dSsthen5 August 2015: Wouter 201466225e4dSsthen - Fix that notify from nsd-control contains soa serial. 201566225e4dSsthen 201666225e4dSsthen3 August 2015: Wouter 201766225e4dSsthen - squelch SO_REUSEPORT failure on verbosity less than 3. 201866225e4dSsthen 201966225e4dSsthen31 July 2015: Wouter 202066225e4dSsthen - removed hardcoded interface limit, --with-max-ips removed. 202166225e4dSsthen - SO_REUSEPORT support. 202266225e4dSsthen 202366225e4dSsthen16 July 2015: Wouter 202466225e4dSsthen - Fix #618: documented need to list ip-addresses separately in 202566225e4dSsthen nsd.conf if there are multiple, because the source address of 202666225e4dSsthen replies can otherwise go wrong. 202766225e4dSsthen 202866225e4dSsthen10 July 2015: Wouter 202966225e4dSsthen - Fix that for expired zones NSD performs an AXFR and accepts newer 203066225e4dSsthen and older serial numbers. 203166225e4dSsthen - Document that minimal responses only minimizes responses to fit 203266225e4dSsthen in one datagram. It does not minimize smaller responses. 203366225e4dSsthen 203466225e4dSsthen2 July 2015: Wouter 203566225e4dSsthen - Fix NSID response for short edns sizes. 203666225e4dSsthen 203766225e4dSsthen23 June 2015: Wouter 203866225e4dSsthen - Trunk contains 4.1.4 in development. 203966225e4dSsthen 204066225e4dSsthen4 June 2015: Wouter 204166225e4dSsthen - Tag 4.1.3rc1 204266225e4dSsthen - improve nsd-control usage text. (23 june - added to 4.1.3) 204366225e4dSsthen - RFC7553 RR Type URI support. 204466225e4dSsthen 204566225e4dSsthen2 June 2015: Wouter 204666225e4dSsthen - Fix redefined macro lex warning for freebsd flex. 204766225e4dSsthen 204866225e4dSsthen29 May 2015: Wouter 204966225e4dSsthen - Fix that formerrors are ratelimited. 205066225e4dSsthen 205166225e4dSsthen19 May 2015: Wouter 205266225e4dSsthen - max-interfaces raised to 32. 205366225e4dSsthen 205466225e4dSsthen18 May 2015: Wouter 205566225e4dSsthen - removed unused defines for unofficial tsig-hmac algorithm codes. 205666225e4dSsthen The TSIG algorithm is identified by name in the config file. 205766225e4dSsthen 205866225e4dSsthen14 May 2015: Wouter 205966225e4dSsthen - hmac sha224, sha384 and sha512 support, patch from David Gwynne. 206066225e4dSsthen 206166225e4dSsthen23 April 2015: Wouter 206266225e4dSsthen - Fix crash in zone parser for relative dname after error in origin. 206366225e4dSsthen - Test for zone parser failures 206466225e4dSsthen 206566225e4dSsthen21 April 2015: Wouter 206666225e4dSsthen - nsd-control addzones and delzones read list of zones from stdin. 206766225e4dSsthen - Fix task and zonestat files to be stored in a subdirectory in tmp 206866225e4dSsthen to stop privilege elevation. 206966225e4dSsthen - printout names for successful addition and removal with bulk command. 207066225e4dSsthen 207166225e4dSsthen20 April 2015: Wouter 207266225e4dSsthen - Fix #665: when removing subdomain, nsd does not reparse parent zone. 207366225e4dSsthen 207466225e4dSsthen14 April 2015: Wouter 207566225e4dSsthen - trunk contains 4.1.3(upcoming). 207666225e4dSsthen 207766225e4dSsthen7 April 2015: Wouter 207866225e4dSsthen - Tag 4.1.2rc2. 207966225e4dSsthen 208066225e4dSsthen2 April 2015: Wouter 208166225e4dSsthen - Made log message more consistent, changed 'axfr refused' log message 208266225e4dSsthen to be more consistent with other messages. Also notify refused. 208366225e4dSsthen - verbosity 2 logs axfr refused and notify refused. 208466225e4dSsthen verbosity 1 contains less log messages. 208566225e4dSsthen 208666225e4dSsthen31 March 2015: Wouter 208766225e4dSsthen - Tag 4.1.2rc1. 208866225e4dSsthen 208966225e4dSsthen24 March 2015: Wouter 209066225e4dSsthen - Fix #654: Fix contradiction in notify logging verbosity level. 209166225e4dSsthen - Incoming notifies have serial number logged (at verbosity 1). 209266225e4dSsthen - Fix #655: Fix contradiction in verbosity for zone transfers. 209366225e4dSsthen 209466225e4dSsthen17 March 2015: Wouter 209566225e4dSsthen - Use reallocarray for integer overflow protection, patch submitted 209666225e4dSsthen by Loganaden Velvindron. 209766225e4dSsthen - Fix allocation integer overflow checks. 209866225e4dSsthen 209966225e4dSsthen13 March 2015: Wouter 210066225e4dSsthen - Fix buffer overflow in config parse of domain name, 210166225e4dSsthen reported by John Van de Meulebrouck Brendgard. 210266225e4dSsthen 210366225e4dSsthen12 March 2015: Wouter 210466225e4dSsthen - Updated default keylength in nsd-control-setup to 3k. 210566225e4dSsthen 210666225e4dSsthen10 March 2015: Wouter 210766225e4dSsthen - Fix use after free after zonefile syntax error followed by ttl 210866225e4dSsthen or origin directive, reported by John Van de Meulebrouck Brendgard. 210966225e4dSsthen - Fix syntax error followed by too many TXT elements parse crash 211066225e4dSsthen reported by John Van de Meulebrouck Brendgard. 211166225e4dSsthen 211266225e4dSsthen9 March 2015: Wouter 211366225e4dSsthen - Fix origin directive from unused old value and subdomain parser 211466225e4dSsthen failure, reported by John Van de Meulebrouck Brendgard. 211566225e4dSsthen 211666225e4dSsthen2 March 2015: Wouter 211766225e4dSsthen - Fix b64pton out of bounds error on invalid zonefile input 211866225e4dSsthen reported by John Van de Meulebrouck Brendgard. 211966225e4dSsthen 212066225e4dSsthen20 February 2015: Wouter 212166225e4dSsthen - Fix segfault on double origin in zone reader (thanks John Van de 212266225e4dSsthen Meulebrouck Brendgard). 212366225e4dSsthen 212466225e4dSsthen19 February 2015: Wouter 212566225e4dSsthen - Remove dead code domain_table_iterate. 212666225e4dSsthen - Fix segfault in zone reader on invalid input 212766225e4dSsthen reported by John Van de Meulebrouck Brendgard. 212866225e4dSsthen 212966225e4dSsthen5 February 2015: Wouter 213066225e4dSsthen - Fix #642: Change 'zone read with no errors' to '.. with success'. 213166225e4dSsthen Patch from Benedikt Heine. 213266225e4dSsthen 213366225e4dSsthen3 February 2015: Wouter 213466225e4dSsthen - Tag 4.1.1 release 213566225e4dSsthen - Trunk is 4.1.2 in development. 213666225e4dSsthen - Remove some duplicate header includes (from Brad Smith). 213766225e4dSsthen - Fix tcp waiting list for zone transfers where the bind and connect 213866225e4dSsthen calls fail. 213966225e4dSsthen 214066225e4dSsthen29 January 2015: Wouter 214166225e4dSsthen - Fix zonesdir chroot error message. 214266225e4dSsthen 214366225e4dSsthen28 January 2015: Wouter 214466225e4dSsthen - correct some hyphen-used-as-minus-sign (from Andreas Schulze) in 214566225e4dSsthen man pages. 214666225e4dSsthen 214766225e4dSsthen27 January 2015: Wouter 214866225e4dSsthen - Tag 4.1.1rc1 214966225e4dSsthen 215066225e4dSsthen21 January 2015: Wouter 215166225e4dSsthen - Synthesize CNAMEs with same TTL as DNAME. 215266225e4dSsthen 215366225e4dSsthen12 January 2015: Wouter 215466225e4dSsthen - Fix casts for ctype functions (from Todd Miller). 215566225e4dSsthen - nsd-checkconf -f prints out full name of pidfile (with dir). 215666225e4dSsthen 215766225e4dSsthen9 January 2015: Wouter 215866225e4dSsthen - Fix bug#637: fix that nsd.db grows limitlessly, an off by one 215966225e4dSsthen on one megabyte free chunks, created during AXFRs of large zones, 216066225e4dSsthen that caused the one megabyte chunk to be leaked. 216166225e4dSsthen - Fix udb-inspect for one megabyte chunks, counts and statistics. 216266225e4dSsthen 216366225e4dSsthen6 January 2015: Wouter 216466225e4dSsthen - Fix spinning NSD with lots of failing transfers, due to pointer 216566225e4dSsthen comparison using void pointer subtraction (from Otto Moerbeek). 216666225e4dSsthen 216766225e4dSsthen5 January 2015: Wouter 216866225e4dSsthen - Patch nsd_munin_ from Philip Paeps to use type ABSOLUTE. 216966225e4dSsthen 217066225e4dSsthen4 Nov 2014: Wouter 217166225e4dSsthen - Document zonestat config, and nsd-checkconf access. 217266225e4dSsthen 217366225e4dSsthen3 Nov 2014: Wouter 217466225e4dSsthen - Fix that failure to add tcp to tcp base does not leak the socket. 217566225e4dSsthen 217666225e4dSsthen27 Oct 2014: Wouter 217766225e4dSsthen - Disabled use of SSLv3 in nsd-control. 217866225e4dSsthen - zonestats are cleared (or not, with stats_noreset). 217966225e4dSsthen 218066225e4dSsthen22 Oct 2014: Wouter 218166225e4dSsthen - Test for wildcard fix (from 3.2). 218266225e4dSsthen 218366225e4dSsthen16 Oct 2014: Wouter 218466225e4dSsthen - Fixes for wildcard addition and deletion, speedup for some cases. 218566225e4dSsthen 218666225e4dSsthen15 Oct 2014: Wouter 218766225e4dSsthen - Fix that queries for noname CH TXT are REFUSED instead of nodata. 218866225e4dSsthen 218966225e4dSsthen14 Oct 2014: Wouter 219066225e4dSsthen - per zone statistics with --enable-zone-stats, configure with 219166225e4dSsthen zonestats: "zonestatidentifier", zones with the same id are added. 219266225e4dSsthen 219366225e4dSsthen10 Oct 2014: Wouter 219466225e4dSsthen - Fix #616: retry xfer for zones with no content after command. 219566225e4dSsthen - Fix char used as array index warnings on NetBSD. 219666225e4dSsthen 219766225e4dSsthen8 Oct 2014: Wouter 219866225e4dSsthen - Fix "xfrd_handle_ipc: bad mode" log errors when compiled 219966225e4dSsthen with --disable-bind8-stats. 220066225e4dSsthen 220166225e4dSsthen18 Sep 2014: Wouter 220266225e4dSsthen - Fix that expired zones stay expired after a server restart. 220366225e4dSsthen 220466225e4dSsthen15 Sep 2014: Wouter 220566225e4dSsthen - RFC 7344: CDS and CDNSKEY (read in). 220666225e4dSsthen 220766225e4dSsthen4 Sep 2014: Wouter 220866225e4dSsthen - Tag 4.1.0. 220966225e4dSsthen - trunk is 4.1.1 in development. 221066225e4dSsthen - fix manpage for nsd-checkzone to have version and date. 221166225e4dSsthen 221266225e4dSsthen29 Aug 2014: Wouter 221366225e4dSsthen - Fix install of the nsd-checkconf man page. 221466225e4dSsthen 221566225e4dSsthen28 Aug 2014: Wouter 221666225e4dSsthen - Tag 4.1.0rc1 221766225e4dSsthen 221866225e4dSsthen25 Aug 2014: Wouter 221966225e4dSsthen - Increased default --with-max-ips from 8 to 16, this increases the 222066225e4dSsthen number of interfaces you can specify in nsd.conf to listen to. 222166225e4dSsthen 222266225e4dSsthen19 Aug 2014: Wouter 222366225e4dSsthen - Remove .LP after .SH in man pages. 222466225e4dSsthen 222566225e4dSsthen7 Aug 2014: Wouter 222666225e4dSsthen - Fix for process swap of main and reload, reload failure from the 222766225e4dSsthen pipe is acted on, and reload fail not cause nsd to shutdown, also 222866225e4dSsthen ignore sigchlds from the servermain in reload, that would cause 222966225e4dSsthen EINTR to break file reads. 223066225e4dSsthen - trunk has version 4.1. 223166225e4dSsthen 223266225e4dSsthen5 Aug 2014: Wouter 223366225e4dSsthen - Fix #600: document that provide-xfr provides AXFR and not IXFR. 223466225e4dSsthen - remove program group fix, because it is not needed. 223566225e4dSsthen - Fix rising-load-average or memory-leaks in OSes (Linux since 2.6), 223666225e4dSsthen that keep track of all past process parents, or leak memory 223766225e4dSsthen for them. Fix makes it so there is no very deep string of 223866225e4dSsthen process parents. 223966225e4dSsthen The reload process is now the process parent of servermain. That 224066225e4dSsthen makes signals for children arrive at the reload, and servermain 224166225e4dSsthen has to use closed pipes to detect that children have exited. 224266225e4dSsthen 224366225e4dSsthen1 Aug 2014: Wouter 224466225e4dSsthen - Set program group on main process and its child processes, and 224566225e4dSsthen kill them on a reload. 224666225e4dSsthen 224766225e4dSsthen20 July 2014: Wouter 224866225e4dSsthen - Fix endian.h include for OpenBSD. 224966225e4dSsthen 225066225e4dSsthen15 July 2014: Wouter 225166225e4dSsthen - Fix -O3 compile flag to -O2 to avoid miscompilations. 225266225e4dSsthen - Allow user to override the -g -O2 CFLAGS in ./configure. 225366225e4dSsthen 225466225e4dSsthen11 July 2014: Wouter 225566225e4dSsthen - fix strptime implicit declaration error on OpenBSD. 225666225e4dSsthen 225766225e4dSsthen9 July 2014: Wouter 225866225e4dSsthen - removed unnecessary arc4random_uniform. 225966225e4dSsthen 226066225e4dSsthen8 July 2014: Matthijs 226166225e4dSsthen - fake-rfc2553 patch (thanks Benjamin Baier). 226266225e4dSsthen 226366225e4dSsthen8 July 2014: Wouter 226466225e4dSsthen - wait and reap processes that are not part of the process group. 226566225e4dSsthen 226666225e4dSsthen7 July 2014: Wouter 226766225e4dSsthen - Code review fixup from NSD3. 226866225e4dSsthen 226966225e4dSsthen30 Jun 2014: Wouter 227066225e4dSsthen - Fix #590: rrl log does not print wildcard as a star but escaped. 227166225e4dSsthen - Fix #591: rrl log messages at verbosity level 1. 227266225e4dSsthen (If that does not work for everyone, we need rrl-log: yesno option). 227366225e4dSsthen 227466225e4dSsthen27 Jun 2014: Wouter 227566225e4dSsthen - Fixup rr-test test so that it does not fail on the #553 string. 227666225e4dSsthen 227766225e4dSsthen17 Jun 2014: Matthijs 227866225e4dSsthen - Fix #587: Default value for statistics is 0. 227966225e4dSsthen - Remove the shift-reduce conflicts from the bug#553 fix. 228066225e4dSsthen 228166225e4dSsthen5 Jun 2014: Wouter 228266225e4dSsthen - Fix roundrobin cornercase for truncated packets. 228366225e4dSsthen - round-robin: yesno in nsd.conf enabled round robin rotation. 228466225e4dSsthen 228566225e4dSsthen28 May 2014: Wouter 228666225e4dSsthen - Fix #585: yylex_destroy missing, cannot compile on RHEL 5.x. 228766225e4dSsthen - Fix #583: Round-robin for records in the Answer section. 228866225e4dSsthen 228966225e4dSsthen22 May 2014: Wouter 229066225e4dSsthen - Fix zonefile parse with no whitespace before semicolon comments. 229166225e4dSsthen 229266225e4dSsthen16 May 2014: Wouter 229366225e4dSsthen - xfrd reaps children on a timer as well, similar to server_parent. 229466225e4dSsthen 229566225e4dSsthen8 May 2014: Wouter 229666225e4dSsthen - Fix #564: nsd-checkzone tool to check zonefile correctness. 229766225e4dSsthen 229866225e4dSsthen7 May 2014: Wouter 229966225e4dSsthen - Fix #577: makefile incorrectly installed manpages from srcdir. 230066225e4dSsthen 230166225e4dSsthen30 April 2014: Wouter 230266225e4dSsthen - Fix that xfrd reaps all children on every eventloop, because some 230366225e4dSsthen exited reloads may attach here and need reaping, also if the signal 230466225e4dSsthen is lost. 230566225e4dSsthen 230666225e4dSsthen23 April 2014: Wouter 230766225e4dSsthen - Fix progress printout for very large zones (numeric overflow). 230866225e4dSsthen 230966225e4dSsthen10 April 2014: Wouter 231066225e4dSsthen - Fix write_socket return value check in server.c (Thanks Brad Smith, 231166225e4dSsthen Mark Kettenis). 231266225e4dSsthen 231366225e4dSsthen8 April 2014: Wouter 231466225e4dSsthen - nsd-control addzone reports if zone already exists. 231566225e4dSsthen 231666225e4dSsthen7 April 2014: Wouter 231766225e4dSsthen - Fix #571: unused variable and incompatible pointer warnings when 231866225e4dSsthen compiled on a system without INET6. 231966225e4dSsthen 232066225e4dSsthen27 March 2014: Wouter 232166225e4dSsthen - Fix delete or rename of a lot of zones and make it take a 232266225e4dSsthen non-enormous time. Database compaction is deferred. 232366225e4dSsthen - Speed up deletion of zone contents a lot, (56s to 1s), speeds up 232466225e4dSsthen delete, rename and AXFR for zones. Defer emptynonterminal checks. 232566225e4dSsthen - Better example config in nsd.conf manual page. 232666225e4dSsthen - log-time-ascii option, default yes, with readable timestamp in log. 232766225e4dSsthen 232866225e4dSsthen25 March 2014: Wouter 232966225e4dSsthen - nsd shuts down during init process if given signal. 233066225e4dSsthen - shorter logging for zone transfer fail rcodes. 233166225e4dSsthen 233266225e4dSsthen24 March 2014: Wouter 233366225e4dSsthen - include: "foo/nsd.d/*.conf" works, wildcard glob on includes. 233466225e4dSsthen - Fix print filename of encompassing config file on read failure. 233566225e4dSsthen 233666225e4dSsthen21 March 2014: Wouter 233766225e4dSsthen - Fix bug in nodatabase mode with ixfrs that change nsec3param 233866225e4dSsthen (Thanks Anand Buddhdev). 233966225e4dSsthen - Changed maxbackoff for no-content secondary zones from 4h to 24h. 234066225e4dSsthen - nocontent zones are checked on startup, but continue backoff 234166225e4dSsthen from stored xfrd.state values. 234266225e4dSsthen 234366225e4dSsthen19 March 2014: Wouter 234466225e4dSsthen - made database: "" set the 3600 default for zonefileswrite only 234566225e4dSsthen if it is also at its default, so that user settings override. 234666225e4dSsthen - Unit test for zonefiles-write. 234766225e4dSsthen - Write xfrd.state for nodb mode again. Disable xfrd.state with 234866225e4dSsthen xfrdfile: "" in config. Does not check slave zone if state is 234966225e4dSsthen same as last time on startup. 235066225e4dSsthen - Fixed shutdown message sporadically not printed on exit. 235166225e4dSsthen - Documented zonefile %s syntax in nsd.conf man page. 235266225e4dSsthen - Fix manpage to put colon after zonefiles check and write. 235366225e4dSsthen - Change from 'Zone" to "zone" with ".. serial .. is updated" log 235466225e4dSsthen message. 235566225e4dSsthen 235666225e4dSsthen18 March 2014: Wouter 235766225e4dSsthen - unit test for nodb mode. 235866225e4dSsthen - Speed up zone write (.nl zonefile 30% faster). 235966225e4dSsthen The memory alloc-dealloc in print_rr has been moved to print_rrs. 236066225e4dSsthen - (from 3.2), fix for #553 and for other TXT string syntax. 236166225e4dSsthen - in nodb mode, xfrd.state is not written out, because the zones 236266225e4dSsthen are refreshed upon next startup anyway, so keeping timers and state 236366225e4dSsthen is unnecessary. 236466225e4dSsthen - zonefiles-write option in nsd.conf, enabled when database is "". 236566225e4dSsthen The server writes changed zonefiles to disk every hour. 236666225e4dSsthen 236766225e4dSsthen17 March 2014: Wouter 236866225e4dSsthen - Speed up zone parsing (.nl reads 40% faster). 236966225e4dSsthen The rrtype_from_string routine is called often, optimised it. 237066225e4dSsthen 237166225e4dSsthen14 March 2014: Wouter 237266225e4dSsthen - tag 4.0.3 237366225e4dSsthen - trunk has 4.0.4 in development. 237466225e4dSsthen - database: "" starts without mmap of database. Less memory is used, 237566225e4dSsthen zones are read from text zonefile. 237666225e4dSsthen 237766225e4dSsthen13 March 2014: Wouter 237866225e4dSsthen - Fix nsd.db unclean close check. Previous databases are considered 237966225e4dSsthen unclean by the code and are created anew. 238066225e4dSsthen - Adds nsd.db larger than 400Tb check for sanity. Also test if 238166225e4dSsthen filesize as documented in the file is correct. 238266225e4dSsthen - nsd waits for tasks to complete on stop, prevents nsd.db corruption. 238366225e4dSsthen - fix to not delete tmpdir too early in shutdown process. 238466225e4dSsthen 238566225e4dSsthen12 March 2014: Wouter 238666225e4dSsthen - tag 4.0.2 238766225e4dSsthen - trunk has 4.0.3 in development. 238866225e4dSsthen - disabled udb checking functionality that made it very slow, 238966225e4dSsthen this was enabled when enable-checking was turned on. 239066225e4dSsthen 239166225e4dSsthen27 February 2014: Wouter 239266225e4dSsthen - tag 4.0.2rc1 239366225e4dSsthen 239466225e4dSsthen26 February 2014: Wouter 239566225e4dSsthen - Fix that NSD will delete and recreate not-clean-closed databases. 239666225e4dSsthen 239766225e4dSsthen20 February 2014: Wouter 239866225e4dSsthen - Fix from 3.2: make SOA RDATA comparisons in XFR more lenient (only 239966225e4dSsthen check serial). 240066225e4dSsthen 240166225e4dSsthen18 February 2014: Wouter 240266225e4dSsthen - Fix leak of zone name after zonefile read. 240366225e4dSsthen - Fix malloc too large that would be leaked in the radix tree. 240466225e4dSsthen 240566225e4dSsthen14 February 2014: Wouter 240666225e4dSsthen - configure change for easier compile on Minix. 240766225e4dSsthen 240866225e4dSsthen10 February 2014: Wouter 240966225e4dSsthen - Fix #552: zonefile loads on nsd-control reconfig when the name 241066225e4dSsthen of the file has changed. 241166225e4dSsthen 241266225e4dSsthen7 February 2014: Wouter 241366225e4dSsthen - Fix #551: change Regent to Copyright holder in the LICENSE, 241466225e4dSsthen to match the definition on opensource.org for the BSD License. 241566225e4dSsthen 241666225e4dSsthen3 February 2014: Wouter 241766225e4dSsthen - Disabled recvmmsg and sendmmsg usage by default because kernel 241866225e4dSsthen versions have implementation issues: ipv6 ignored, security issues. 241966225e4dSsthen - Detect libevent2 install automatically by configure, and use 242066225e4dSsthen event2 header files if necessary. 242166225e4dSsthen - Fixup link with lib/event2 subdir. 242266225e4dSsthen 242366225e4dSsthen30 January 2014: Wouter 242466225e4dSsthen - Fix expired zones to give SERVFAIL, also when parent zone loaded. 242566225e4dSsthen 242666225e4dSsthen27 January 2014: Wouter 242766225e4dSsthen - tag 4.0.1. 242866225e4dSsthen - trunk is 4.0.2 in development. 242966225e4dSsthen - rcode REFUSED for queries to non-hosted zones. 243066225e4dSsthen - documented nsd-control zonestatus output in nsd-control manpage. 243166225e4dSsthen - remove mention of nsdc from nsd-checkconf manpage. 243266225e4dSsthen 243366225e4dSsthen21 January 2014: Wouter 243466225e4dSsthen - tag 4.0.1rc2 243566225e4dSsthen 243666225e4dSsthen20 January 2014: Wouter 243766225e4dSsthen - Fix #546: output format errors in nsd_munin_ (Thanks Tom Hendrikx). 243866225e4dSsthen 243966225e4dSsthen17 January 2014: Wouter 244066225e4dSsthen - Fix type CAA. 244166225e4dSsthen - Fix type EUI48. 244266225e4dSsthen - nsid can be set with "ascii_somestring" in ascii. 244366225e4dSsthen - Fix printout of high-chars in TXT on NetBSD. 244466225e4dSsthen 244566225e4dSsthen16 January 2014: Wouter 244666225e4dSsthen - Unit test for WKS failure. 244766225e4dSsthen 244866225e4dSsthen15 January 2014: Wouter 244966225e4dSsthen - tag 4.0.1rc1 245066225e4dSsthen 245166225e4dSsthen13 January 2014: Wouter 245266225e4dSsthen - Check if configure in srcdir collides with outofdir build. 245366225e4dSsthen 245466225e4dSsthen10 January 2014: Wouter 245566225e4dSsthen - Fix that chroot is removed from zonefile names (for absolute names). 245666225e4dSsthen 245766225e4dSsthen9 January 2014: Wouter 245866225e4dSsthen - Fix that bad IXFR updates do not result in double SOA records, 245966225e4dSsthen and that an AXFR is started (attempted) when the zone state seems 246066225e4dSsthen to be inconsistent with the master's zone state. 246166225e4dSsthen 246266225e4dSsthen8 January 2014: Matthijs 246366225e4dSsthen - Bugfix #542: Match RRSIG TTL with SOA TTL in negative response. 246466225e4dSsthen 246566225e4dSsthen7 January 2014: Wouter 246666225e4dSsthen - Fix xfrd when zone transfer TCP contains zero length packets. 246766225e4dSsthen - Fix for NSEC3 zones where parent zone is co-hosted, also NSEC3, 246866225e4dSsthen because AXFRs overwrote nsec3 administration in the child zone. 246966225e4dSsthen 247066225e4dSsthen2 January 2014: Wouter 247166225e4dSsthen - Log ip address for sendto and sendmmsg failures. 247266225e4dSsthen 247366225e4dSsthen4 December 2013: Matthijs 247466225e4dSsthen - Support for CAA RRtype (RFC 6844). 247566225e4dSsthen 247666225e4dSsthen26 November 2013: Wouter 247766225e4dSsthen - Fix segfaults after read of zones with rr type WKS from zonefile. 247866225e4dSsthen - Seed PRNG for openssl at start of daemon, fixes SSL connection issue. 247966225e4dSsthen 248066225e4dSsthen25 November 2013: Wouter 248166225e4dSsthen - (same as in 3.2.16): fix wildcard cname to nxdomain repeated rrset. 248266225e4dSsthen 248366225e4dSsthen11 November 2013: Wouter 248466225e4dSsthen - Fix bug#534: IXFR query loop over UDP for zones that are unchanged. 248566225e4dSsthen 248666225e4dSsthen11 November 2013: Matthijs 248766225e4dSsthen - EUI48 and EUI64 is now RFC 7043 248866225e4dSsthen 248966225e4dSsthen5 November 2013: Wouter 249066225e4dSsthen - Accept interface: as an alternative for ip-address: for 249166225e4dSsthen consistency with unbound.conf syntax. 249266225e4dSsthen 249366225e4dSsthen29 October 2013: Wouter 249466225e4dSsthen - tag for 4.0.0 release. 249566225e4dSsthen - trunk has 4.0.1 in development, for bug fixes. 249666225e4dSsthen 249766225e4dSsthen24 October 2013: Wouter 249866225e4dSsthen - Fixup zone change code. 249966225e4dSsthen - tag 4.0.0rc3. 250066225e4dSsthen 250166225e4dSsthen21 October 2013: Matthijs 250266225e4dSsthen - Initialize xfrd zone when changing zone from master to slave 250366225e4dSsthen and delete xfrd zone when changing zone from slave to master. 250466225e4dSsthen 250566225e4dSsthen14 October 2013: Wouter 250666225e4dSsthen - tag 4.0.0rc2. 250766225e4dSsthen 250866225e4dSsthen14 October 2013: Matthijs 250966225e4dSsthen - Additional log messages with reason why RR to be deleted cannot be 251066225e4dSsthen found. 251166225e4dSsthen 251266225e4dSsthen14 October 2013: Wouter 251366225e4dSsthen - Fix for zone transfer that has different-cased RRSIG signer names 251466225e4dSsthen or NSEC next-owner names. 251566225e4dSsthen 251666225e4dSsthen9 October 2013: Wouter 251766225e4dSsthen - tsig errors on incoming tsig print key name and source IP of query. 251866225e4dSsthen 251966225e4dSsthen8 October 2013: Wouter 252066225e4dSsthen - Update documentation for nsd -d option. 252166225e4dSsthen 252266225e4dSsthen7 October 2013: Wouter 252366225e4dSsthen - Fix mini_event ev_once flag to be prettier (review comments Yuri). 252466225e4dSsthen - tag 4.0.0rc1 recreated. 252566225e4dSsthen 252666225e4dSsthen4 October 2013: Wouter 252766225e4dSsthen - Fix bug where if you do not have flex, and then install flex, it 252866225e4dSsthen would not make without a re-untar of the source. 252966225e4dSsthen 253066225e4dSsthen3 October 2013: Wouter 253166225e4dSsthen - Review changes from Matthijs. 253266225e4dSsthen - doc/README updated, 'nsdc' is now removed. 253366225e4dSsthen 253466225e4dSsthen1 October 2013: Wouter 253566225e4dSsthen - Review commits from Matthijs. 253666225e4dSsthen - doc/UPGRADING updated, review Yuri. 253766225e4dSsthen 253866225e4dSsthen30 September 2013: Wouter 253966225e4dSsthen - tag 4.0.0rc1 254066225e4dSsthen - updated doc/RELNOTES 254166225e4dSsthen 254266225e4dSsthen19 September 2013: Wouter 254366225e4dSsthen - configure --disable-recvmmsg for compat with older Linux kernels, 254466225e4dSsthen by default it autodetects support in the kernel on the buildmachine. 254566225e4dSsthen 254666225e4dSsthen20 Aug 2013: Wouter 254766225e4dSsthen - Fix time at 2038, uint32s changed to time_t, support 64bit time_t. 254866225e4dSsthen 254966225e4dSsthen19 Aug 2013: Wouter 255066225e4dSsthen - Fix use of 32bit time, for 2038, thanks to Theo de Raadt for patch. 255166225e4dSsthen 255266225e4dSsthen13 Aug 2013: Wouter 255366225e4dSsthen - Bugfix#518 Incorrect RRL prefix length option names in nsd.conf 255466225e4dSsthen man page from Ville Mattila. 255566225e4dSsthen 255666225e4dSsthen9 Aug 2013: Wouter 255766225e4dSsthen - Fix that xfrd, and nsd-control, does not stop responding when reload 255866225e4dSsthen errors out. The pid is sent like it should by server_main. 255966225e4dSsthen - Fix that EOF in quoted string error does not cause reload to exit. 256066225e4dSsthen - Fixup errors from the stack code checker. 256166225e4dSsthen 256266225e4dSsthen6 Aug 2013: Wouter 256366225e4dSsthen - Removed use of random when arc4random is available. Thus, random 256466225e4dSsthen and srandom are then not linked with the executable. 256566225e4dSsthen 256666225e4dSsthen16 Jul 2013: Wouter 256766225e4dSsthen - Fix segfault with no logfile and chroot (Thanks Patrik Lundin). 256866225e4dSsthen 256966225e4dSsthen15 Jul 2013: Wouter 257066225e4dSsthen - beta 5 tag. 257166225e4dSsthen - trunk has beta6 named in configure. 257266225e4dSsthen 257366225e4dSsthen9 Jul 2013: Wouter 257466225e4dSsthen - unlink xfr file if transfer is stopped, timeouted or interrupted. 257566225e4dSsthen And unlink xfr file in progress when the zone is deleted. 257666225e4dSsthen 257766225e4dSsthen8 Jul 2013: Wouter 257866225e4dSsthen - Increase tcpbacklog default to 256 (silently capped to 128 on BSD). 257966225e4dSsthen For remote control keep it at 16, it has less TCP load. 258066225e4dSsthen It does not actually increase TCP performance (some except), but 258166225e4dSsthen reduces connection loss when there is a spike in TCP connections. 258266225e4dSsthen 258366225e4dSsthen5 Jul 2013: Wouter 258466225e4dSsthen - nsd-mem stores temp files in current dir because /tmp is too small. 258566225e4dSsthen - printout pct parsed, read, nsec3 and written every 100.000 elements 258666225e4dSsthen and after 5 seconds. For big zones. 258766225e4dSsthen 258866225e4dSsthen3 Jul 2013: Wouter 258966225e4dSsthen - region-allocator has list of large allocations, so delete is in O(1). 259066225e4dSsthen - recursive readroutine for speedup of nsd.db reads (30%). 259166225e4dSsthen - udb-inspect prints type summary of nodes in nsd.db. 259266225e4dSsthen 259366225e4dSsthen28 Jun 2013: Matthijs 259466225e4dSsthen - Update tmp serial in xfr checking. 259566225e4dSsthen 259666225e4dSsthen28 Jun 2013: Wouter 259766225e4dSsthen - nsd.db 12% smaller, no nsec3 hash storage. Also ups udb version 259866225e4dSsthen because of the format change. printout udb write complete for 259966225e4dSsthen debug. 260066225e4dSsthen - Fix warning in labellength 0 code. 260166225e4dSsthen 260266225e4dSsthen27 Jun 2013: Matthijs 260366225e4dSsthen - Better XFR checking, fallback to AXFR (if allowed) if three 260466225e4dSsthen malformed XFR packets have been seen. 260566225e4dSsthen - zonec: Don't crash on domain names with label length 0. 260666225e4dSsthen 260766225e4dSsthen25 Jun 2013: Matthijs 260866225e4dSsthen - Rename --enable-eui-rrtypes to --enable-draft-rrtypes. 260966225e4dSsthen 261066225e4dSsthen25 Jun 2013: Wouter 261166225e4dSsthen - acx_nlnetlabs.m4 update, --disable-flto. 261266225e4dSsthen 261366225e4dSsthen20 Jun 2013: Matthijs 261466225e4dSsthen - Use IPV6 minimum MTU settings with TCP to reduce failures that 261566225e4dSsthen are caused by delays in learning working PMTU when communicating 261666225e4dSsthen through a tunnel. 261766225e4dSsthen - Improved RRL logging: also print triggering query src addr and qtype 261866225e4dSsthen (thanks Klaus Darilion). 261966225e4dSsthen - Merge some minor stuff from NSD3.2 262066225e4dSsthen 262166225e4dSsthen18 Jun 2013: Matthijs 262266225e4dSsthen - Add rrl-slip config option (thanks Stephane Bortzmeyer). 262366225e4dSsthen - Add rrl-ipv{4,6}-prefix-length config option. 262466225e4dSsthen - Bug #496: Support for EUI48 and EUI64 RR types. 262566225e4dSsthen 262666225e4dSsthen14 Jun 2013: Wouter 262766225e4dSsthen - Optimizations: -O3 if possible (user can override CFLAGS), udp 262866225e4dSsthen buffers are set to 1m by default (if socket options exist), 262966225e4dSsthen use recvmmsg and sendmmsg, or only recvmmsg, or recvfrom. 263066225e4dSsthen 263166225e4dSsthen11 Jun 2013: Wouter 263266225e4dSsthen - Fix memory leak in zone parser for txt record (since the large 263366225e4dSsthen number of txt subsections fix). 263466225e4dSsthen - Fix zone parser allocations to be in db region. 263566225e4dSsthen - nsd-mem prints advice 263666225e4dSsthen 263766225e4dSsthen5 Jun 2013: Wouter 263866225e4dSsthen - Fix segfault on repeated reconfigs, double free of zone apex name. 263966225e4dSsthen 264066225e4dSsthen4 Jun 2013: Wouter 264166225e4dSsthen - Remove duplicate zlfile variable from options structure. 264266225e4dSsthen 264366225e4dSsthen30 May 2013: Wouter 264466225e4dSsthen - Fix nsd-mem for printout of values above 4G. 264566225e4dSsthen 264666225e4dSsthen16 May 2013: Wouter 264766225e4dSsthen - Patch from Lukas Wunner that makes chroot more consistent. 264866225e4dSsthen Make all paths absolute with the chrootdir in front, or use 264966225e4dSsthen an absolute zonesdir with other patsh relative to that. 265066225e4dSsthen 265166225e4dSsthen3 May 2013: Wouter 265266225e4dSsthen - Fix race on exit of nsd, for restarts, so that the pidfile-pid 265366225e4dSsthen process waits until port53 has been closed before exiting. 265466225e4dSsthen - update acx_nlnetlabs.m4 to v23, sleep w32 fix. 265566225e4dSsthen 265666225e4dSsthen29 April 2013: Wouter 265766225e4dSsthen - Remove unused pointer and fixup chroot include for trail slash. 265866225e4dSsthen 265966225e4dSsthen26 April 2013: Wouter 266066225e4dSsthen - Patch from Lukas Wunner that makes nsd.conf include files work 266166225e4dSsthen inside chroot/etc environments on repattern and reconfig. 266266225e4dSsthen 266366225e4dSsthen25 April 2013: Matthijs 266466225e4dSsthen - New config option "ip-transparent:", to bind to non local addresses 266566225e4dSsthen (thanks Arjen Zonneveld). 266666225e4dSsthen - RRtypes ASFDB, RP, RT should not compress dnames (thanks Peter 266766225e4dSsthen van Dijk). 266866225e4dSsthen 266966225e4dSsthen19 April 2013: Wouter 267066225e4dSsthen - own snprintf, fix use of snprintf return value (in debug print). 267166225e4dSsthen 267266225e4dSsthen18 April 2013: Wouter 267366225e4dSsthen - fix bug #491: pick program name (0th argument) as syslog identity. 267466225e4dSsthen 267566225e4dSsthen9 April 2013: Wouter 267666225e4dSsthen - Bug #494: Exit with return code 1 if socket code fails. (from 3.2) 267766225e4dSsthen - Fix B64_NTOP replacement definitions in configure.ac. 267866225e4dSsthen 267966225e4dSsthen26 March 2013: Wouter 268066225e4dSsthen - update lookup3.c with better endianness detection. 268166225e4dSsthen 268266225e4dSsthen25 March 2013: Wouter 268366225e4dSsthen - faster nsec3 updates. 268466225e4dSsthen - Fixup contrib/bug390.patch for 4.0.0b4. 268566225e4dSsthen - remove leak of nsec3. 268666225e4dSsthen - allocate radixtree in region for small (5%) total savings and 268766225e4dSsthen about 15% savings in the radixtree itself (due to many small alloc 268866225e4dSsthen savings in region). 268966225e4dSsthen 269066225e4dSsthen22 March 2013: Wouter 269166225e4dSsthen - use less memory for non-nsec3, nsec3tree. 269266225e4dSsthen 269366225e4dSsthen18 March 2013: Wouter 269466225e4dSsthen - update nsd-mem with pretty printout and RRL count. 269566225e4dSsthen 269666225e4dSsthen14 March 2013: Wouter 269766225e4dSsthen - Fix memory statistics in nsd_munin_. 269866225e4dSsthen 269966225e4dSsthen8 March 2013: Wouter 270066225e4dSsthen - nsd-mem tool initial commit. 270166225e4dSsthen 270266225e4dSsthen7 March 2013: Wouter 270366225e4dSsthen - notify information is logged at correct verbosity level, 1. 270466225e4dSsthen 270566225e4dSsthen5 March 2013: Matthijs 270666225e4dSsthen - Add hash to rrl bucket 270766225e4dSsthen 270866225e4dSsthen5 March 2013: Wouter 270966225e4dSsthen - Fixup the growth and shrinkage of nsd.db. This should use less 271066225e4dSsthen calls to remap and change the file and mmap size. 271166225e4dSsthen 271266225e4dSsthen15 February 2013: Wouter 271366225e4dSsthen - Fix compile on bigendian netbsd alpha. 271466225e4dSsthen - Fixup tests for older dig (check if +noedns option is supported) 271566225e4dSsthen 271666225e4dSsthen11 February 2013: Matthijs 271766225e4dSsthen - Fix outgoing-interface: Don't fail if family is IPv6 but 271866225e4dSsthen only IPv4 outgoing-interface is set, or vice versa. 271966225e4dSsthen 272066225e4dSsthen11 February 2013: Wouter 272166225e4dSsthen - fix tcp zonetransfer pipeline lookup function. 272266225e4dSsthen - remove compiler warning for memset from tsig read. 272366225e4dSsthen 272466225e4dSsthen7 February 2013: Wouter 272566225e4dSsthen - detect endianness in lookup3 on BSD, patch from Brad Smith. 272666225e4dSsthen - nsd-control verbosity prints out verbosity level without argument. 272766225e4dSsthen - nsd-control status prints out ratelimit if ratelimit is enabled. 272866225e4dSsthen 272966225e4dSsthen5 February 2013: Wouter 273066225e4dSsthen - Fix that old zonefile does not override newer AXFR for slave zones. 273166225e4dSsthen - Nicer printout of notify. 273266225e4dSsthen - beta4 273366225e4dSsthen 273466225e4dSsthen4 February 2013: Wouter 273566225e4dSsthen - Fix AXFR of NSEC3 slave zone. 273666225e4dSsthen 273766225e4dSsthen1 February 2013: Wouter 273866225e4dSsthen - Less printout of 'bad transfer'. 273966225e4dSsthen 274066225e4dSsthen31 January 2013: Wouter 274166225e4dSsthen - Fix that nsec3 zones are precompiled when read from udb. This 274266225e4dSsthen caused assertion failures. 274366225e4dSsthen - Fix is_apex flag for zones read from udb. 274466225e4dSsthen 274566225e4dSsthen29 January 2013: Matthijs 274666225e4dSsthen - RRL documented in nsd.conf.sample 274766225e4dSsthen 274866225e4dSsthen29 January 2013: Wouter 274966225e4dSsthen - printout log less verbosely, not every axfr packet. 275066225e4dSsthen - remove printout of "bad transfer" to the log for notimpl. 275166225e4dSsthen - fixup tests for new netstat and new netcat. 275266225e4dSsthen 275366225e4dSsthen25 January 2013: Wouter 275466225e4dSsthen - fix gcc warning, do not use uninit value for rng init. 275566225e4dSsthen - fix zonefiles-check: entry in nsd.conf 275666225e4dSsthen - remove -fwhole-program gcc flag usage. We cannot reliably detect 275766225e4dSsthen if it works without failure. 275866225e4dSsthen 275966225e4dSsthen23 January 2013: Wouter 276066225e4dSsthen - beta3 276166225e4dSsthen 276266225e4dSsthen22 January 2013: Wouter 276366225e4dSsthen - Fix time calculation of zone transfer. 276466225e4dSsthen - log ip address with tcp failure. 276566225e4dSsthen 276666225e4dSsthen21 January 2013: Wouter 276766225e4dSsthen - Improve tabs in sample nsd.conf for different tabsizes. 276866225e4dSsthen - Fix segv if xfrdir does not exit. 276966225e4dSsthen - create xfrdir on make install (does not remove on make uninstall, 277066225e4dSsthen because this could be /tmp). 277166225e4dSsthen - do not leave task files in /tmp if nsd fails to startup because 277266225e4dSsthen of file permissions. 277366225e4dSsthen - do-ip4 and do-ip6 nsd.conf options just like unbound. 277466225e4dSsthen - fixed testset for dig9 default with edns. 277566225e4dSsthen 277666225e4dSsthen18 January 2013: Wouter 277766225e4dSsthen - Fix configure for gentoo gcc and headers. 277866225e4dSsthen - List libevent in README. 277966225e4dSsthen - Tabs and spaces nicer in nsd.conf.sample. 278066225e4dSsthen - Fix spurious assertion failure for some rrl blocks. 278166225e4dSsthen 278266225e4dSsthen16 January 2013: Wouter 278366225e4dSsthen - Added zonefiles-check option, default yes, check mtimes of zone files 278466225e4dSsthen on sighup and startup (from Robin Hack). 278566225e4dSsthen 278666225e4dSsthen15 January 2013: Wouter 278766225e4dSsthen - documented that the _implicit_ pattern names are used internally. 278866225e4dSsthen 278966225e4dSsthen10 January 2013: Wouter 279066225e4dSsthen - updated RELNOTES. 279166225e4dSsthen - applied patch from Robin Hack to remove double pid file truncation. 279266225e4dSsthen - repattern is called reconfig (because most config options are 279366225e4dSsthen picked up, except for superuser options (chroot, logfile, port)). 279466225e4dSsthen - document that the zonefile attribute can be empty. 279566225e4dSsthen 279666225e4dSsthen9 January 2013: Wouter 279766225e4dSsthen - 4.0.0b2 is beta2 version tag. 279866225e4dSsthen 279966225e4dSsthen8 January 2013: Matthijs 280066225e4dSsthen - Merge changes from 3.2.15 with trunk: 280166225e4dSsthen * Update docs: CREDITS, NEW-CFG-OPTION, REQUIREMENTS, 280266225e4dSsthen RELNOTES, TODO 280366225e4dSsthen * Update dname_test.tpkg test. 280466225e4dSsthen * TSIG init only fails if no digests at all can be found. 280566225e4dSsthen * Remove unused tsig_get_algorithm_by_id code (was used by 280666225e4dSsthen nsd-xfer). 280766225e4dSsthen * Fix some fd leaks. 280866225e4dSsthen * Bug #485: Fallback to DEFAULT_TTL if MSB is set. 280966225e4dSsthen * Fix RCODE when xNAME loop final answer not exist to NXDOMAIN. 281066225e4dSsthen 281166225e4dSsthen8 January 2013: Wouter 281266225e4dSsthen - Fix make outside of source directory. 281366225e4dSsthen 281466225e4dSsthen7 January 2013: Wouter 281566225e4dSsthen - fixed uninit variable for empty zone axfr request 281666225e4dSsthen - fixed alloc of acl options for config zones so they can be deleted. 281766225e4dSsthen - fixed that pattern name is copied, so that patterns stay the same. 281866225e4dSsthen - repattern also rereads the zones in the config file and applies that 281966225e4dSsthen to the running server. 282066225e4dSsthen 282166225e4dSsthen21 December 2012: Wouter 282266225e4dSsthen - --with-logfile sets the logfile inside the example documentation. 282366225e4dSsthen - Fixed addzone and delzone inside chroot (thanks Will Pressly). 282466225e4dSsthen 282566225e4dSsthen19 December 2012: Wouter 282666225e4dSsthen - Fixup for libevent-2.1.2. 282766225e4dSsthen 282866225e4dSsthen18 December 2012: Wouter 282966225e4dSsthen - makedist makes sha256 for tarballs. 283066225e4dSsthen - nsd-control start runs an absolute path to start sbin/nsd. 283166225e4dSsthen 283266225e4dSsthen17 December 2012: Wouter 283366225e4dSsthen - Fix for use with libev (no use of event.ev_flags). 283466225e4dSsthen 283566225e4dSsthen12 December 2012: Wouter 283666225e4dSsthen - 4.0.0b1 is beta1 version. 283766225e4dSsthen 283866225e4dSsthen11 December 2012: Matthijs 283966225e4dSsthen - Better ILNP RR parsing (thanks Stephane Bortzmeyer). 284066225e4dSsthen 284166225e4dSsthen11 December 2012: Wouter 284266225e4dSsthen - fix libevent=no signals on Solaris. 284366225e4dSsthen - Fix handle of activated zones from timeout event. 284466225e4dSsthen - contrib/nsd_munin_ updated with memory lookup for BSD. 284566225e4dSsthen 284666225e4dSsthen10 December 2012: Wouter 284766225e4dSsthen - implement --with-libevent=no. 284866225e4dSsthen 284966225e4dSsthen10 December 2012: Matthijs 285066225e4dSsthen - Bug #483: Better error messages for TSIG errors. 285166225e4dSsthen - RFC 2845: If BADKEY or BADSIG, RCODE should be NOTAUTH. 285266225e4dSsthen Also, continue TSIG verification if NOTAUTH. 285366225e4dSsthen 285466225e4dSsthen7 December 2012: Wouter 285566225e4dSsthen - stable pidfile, xfrd is process leader and forks server-parent. 285666225e4dSsthen 285766225e4dSsthen5 December 2012: Wouter 285866225e4dSsthen - NSD4_imp_6 tag. 285966225e4dSsthen - trunk has imp_7 implementation. 286066225e4dSsthen 286166225e4dSsthen4 December 2012: Wouter 286266225e4dSsthen - NSD-RRL documented in manpage. 286366225e4dSsthen 286466225e4dSsthen3 December 2012: Wouter 286566225e4dSsthen - Fixup exit of server-child while notifies are incoming. 286666225e4dSsthen 286766225e4dSsthen28 November 2012: Wouter 286866225e4dSsthen - RRL implements classification type RRSIG. 286966225e4dSsthen 287066225e4dSsthen26 November 2012: Wouter 287166225e4dSsthen - Fix to make nsd.udb portable between 32bit and 64bit machines. 287266225e4dSsthen - Fix to make udb mmap work for FreeBSD8 when it grows significantly. 287366225e4dSsthen 287466225e4dSsthen23 November 2012: Wouter 287566225e4dSsthen - Fix compiler warnings and fix blocking pipes. 287666225e4dSsthen - default tcp-count set to 100. 287766225e4dSsthen 287866225e4dSsthen21 November 2012: Wouter 287966225e4dSsthen - Implement rrl log of unblock for collision. 288066225e4dSsthen - imported TLSA and ILNP support from NSD3. 288166225e4dSsthen 288266225e4dSsthen19 November 2012: Wouter 288366225e4dSsthen - Fix bug 480: libevent use when tcp-count is hit caused hang (in NSD4). 288466225e4dSsthen 288566225e4dSsthen9 November 2012: Wouter 288666225e4dSsthen - Log when NSD-RRL stops a stream from being blocked. 288766225e4dSsthen 288866225e4dSsthen8 November 2012: Willem 288966225e4dSsthen - Fix AXFR. Loop through the zone to transfer only. 289066225e4dSsthen 289166225e4dSsthen2 November 2012: Wouter 289266225e4dSsthen - Fix bug 478: declaration after statement (for gcc 2.95). 289366225e4dSsthen 289466225e4dSsthen1 November 2012: Wouter 289566225e4dSsthen - Fix default settings for RRL. 289666225e4dSsthen 289766225e4dSsthen30 October 2012: Wouter 289866225e4dSsthen - review fixup of RRL SLIP response. 289966225e4dSsthen - RRL uses dev/random at start, nonRRL does not. 290066225e4dSsthen 290166225e4dSsthen26 October 2012: Wouter 290266225e4dSsthen - nsd-control repattern also changes rrl-ratelimit and whitelist limit. 290366225e4dSsthen 290466225e4dSsthen17 October 2012: Wouter 290566225e4dSsthen - Fix alignment problem in zone transfer pipeline code. 290666225e4dSsthen - Fix random generator generating negative. 290766225e4dSsthen - Fix udb radtree strspace creation bug. 290866225e4dSsthen 290966225e4dSsthen15 October 2012: Wouter 291066225e4dSsthen - Fix activated zone does not interrupt transfer. 291166225e4dSsthen - Log of connection failure for zone transfer is neater. 291266225e4dSsthen 291366225e4dSsthen12 October 2012: Wouter 291466225e4dSsthen - Fix invalid time argument in nsd control (for OpenBSD). 291566225e4dSsthen 291666225e4dSsthen11 October 2012: Wouter 291766225e4dSsthen - Fix build on OpenBSD (Thanks Oliver Peter). 291866225e4dSsthen - tpkg for RRL. 291966225e4dSsthen 292066225e4dSsthen10 October 2012: Wouter 292166225e4dSsthen - implement nsd-checkconf option use of rrl-whitelist. 292266225e4dSsthen 292366225e4dSsthen9 October 2012: Wouter 292466225e4dSsthen - with --enable-ratelimit you enable ratelimiting, with verbosity 2 292566225e4dSsthen it logs what is ratelimited for operational inspection. 292666225e4dSsthen - unit test for rrl. 292766225e4dSsthen - rrl uses mmap to save state across reloads. 292866225e4dSsthen - rrl enum and u16 flags (dnskey type). 292966225e4dSsthen - rrl whitelist and config. 293066225e4dSsthen 293166225e4dSsthen8 October 2012: Wouter 293266225e4dSsthen - Sync with unbound lookup3, has raninit value. 293366225e4dSsthen 293466225e4dSsthen5 October 2012: Wouter 293566225e4dSsthen - fix bug with event loop in zone transfer pipeline. 293666225e4dSsthen - close xfrd_sock_p in server_child because otherwise due to use of 293766225e4dSsthen kqueue, it gets a broken pipe when that process exits (on FreeBSD). 293866225e4dSsthen 293966225e4dSsthen4 October 2012: Wouter 294066225e4dSsthen - Fixup no use of internals ev_flags of libevent. 294166225e4dSsthen 294266225e4dSsthen1 October 2012: Wouter 294366225e4dSsthen - fix xfrd tcp skip. 294466225e4dSsthen 294566225e4dSsthen21 September 2012: Wouter 294666225e4dSsthen - tzset before chroot for correct timezone (from Camiel Dobbelaar). 294766225e4dSsthen - pipeline support for AXFR and IXFR tcp queries. 294866225e4dSsthen 294966225e4dSsthen11 September 2012: Wouter 295066225e4dSsthen - writev support for TCP. 295166225e4dSsthen 295266225e4dSsthen28 August 2012: Wouter 295366225e4dSsthen - TXT records with components longer than 255 fail to parse, 295466225e4dSsthen but without segfault, it continues processing with non NULL value. 295566225e4dSsthen 295666225e4dSsthen27 August 2012: Wouter 295766225e4dSsthen - libevent in server_child. 295866225e4dSsthen 295966225e4dSsthen21 August 2012: Matthijs 296066225e4dSsthen - Fix bug#464: Conditionally define MAXHOSTNAMELEN 296166225e4dSsthen 296266225e4dSsthen20 August 2012: Wouter 296366225e4dSsthen - Fix hang on exit in xfrd. 296466225e4dSsthen - optimized socket counts for zone transfer speed. 296566225e4dSsthen 296666225e4dSsthen13 August 2012: Wouter 296766225e4dSsthen - Fix xfrd libevent events. 296866225e4dSsthen 296966225e4dSsthen10 August 2012: Wouter 297066225e4dSsthen - libevent in xfrd. 297166225e4dSsthen 297266225e4dSsthen26 July 2012: Yuri 297366225e4dSsthen - Prioritize notify sender for requesting XFR. 297466225e4dSsthen (thanks Ilya Bakulin) 297566225e4dSsthen 297666225e4dSsthen19 July 2012: Willem 297766225e4dSsthen - Fix for VU#624931 CVE-2012-2978: NSD denial of service 297866225e4dSsthen vulnerability from non-standard DNS packet from any host 297966225e4dSsthen on the internet. 298066225e4dSsthen http://www.nlnetlabs.nl/downloads/CVE-2012-2978.txt 298166225e4dSsthen 298266225e4dSsthen18 July 2012: Wouter 298366225e4dSsthen - Fix bug#460: man page correction - identity. 298466225e4dSsthen 298566225e4dSsthen9 July 2012: Wouter 298666225e4dSsthen - delete temporary transfer files on exit of xfrd and reload. 298766225e4dSsthen - when tasks are applied, reload checks if it must exit between 298866225e4dSsthen tasks, so that it can quickly exit when NSD is told to quit. 298966225e4dSsthen - fix bug in apply_xfr that must use an udb_ptr because it shifts 299066225e4dSsthen when new allocations are made. 299166225e4dSsthen 299266225e4dSsthen6 July 2012: Wouter 299366225e4dSsthen - add xfrdir: "/tmp" option and configure --with-xfrdir="/tmp". 299466225e4dSsthen The nsd.task files and a subdirectory for zone transfers are 299566225e4dSsthen created there. 299666225e4dSsthen 299766225e4dSsthen2 July 2012: Wouter 299866225e4dSsthen - fix checkconf unit test and add test for backwards compatibility 299966225e4dSsthen for difffile: "x" statement. 300066225e4dSsthen 300166225e4dSsthen29 June 2012: Wouter 300266225e4dSsthen - Implemented /tmp/nsd.xfr.xxx/ to replace ixfr.db. So that nsdc 300366225e4dSsthen patch is no longer needed. 300466225e4dSsthen 300566225e4dSsthen8 June 2012: Wouter 300666225e4dSsthen - Fix tpkg test cutest_qroot and rr-test for printout of algorithms 300766225e4dSsthen as numbers, and copy of DO flag to the answer. 300866225e4dSsthen - pick up fd fix from 3_2 branch: Some more fd >= 0 to fd != -1 fixes 300966225e4dSsthen 301066225e4dSsthen31 May 2012: Matthijs 301166225e4dSsthen - Sync with 3.2 branch 301266225e4dSsthen 301366225e4dSsthen24 February 2012: Wouter 301466225e4dSsthen - Fix for qtype ANY for a wildcard domain in NSEC signed zone. 301566225e4dSsthen 301666225e4dSsthen9 February 2012: Wouter 301766225e4dSsthen - Update acxnlnetlabs.m4 version 21, fixed MEMCMP_BROKEN #undef line. 301866225e4dSsthen 301966225e4dSsthen23 January 2012: Wouter 302066225e4dSsthen - remove clang security warning about %n in format string. 302166225e4dSsthen 302266225e4dSsthen20 January 2012: Wouter 302366225e4dSsthen - Fix bug #430: segfault when MAX_INTERFACES set to more than 65K. 302466225e4dSsthen - Fix configure for OpenIndiana sunos 5.11, acx_nlnetlabs.m4 update. 302566225e4dSsthen 302666225e4dSsthen12 January 2012: Matthijs 302766225e4dSsthen - Fix bug #421: truncate pidfile on shutdown, before unlink. 302866225e4dSsthen 302966225e4dSsthen10 January 2012: Wouter 303066225e4dSsthen - removed unused variables. 303166225e4dSsthen 303266225e4dSsthen10 November 2011: Wouter 303366225e4dSsthen - acxnlnetlabs.m4 updated to version 16, better lto check (a.out drop). 303466225e4dSsthen 303566225e4dSsthen3 November 2011: Wouter 303666225e4dSsthen - fflush zonelistfile after zone add or delete. 303766225e4dSsthen 303866225e4dSsthen1 November 2011: Wouter 303966225e4dSsthen - Fix -flto detection for llvm compiler on Lion. 304066225e4dSsthen 304166225e4dSsthen10 October 2011: Matthijs 304266225e4dSsthen - Don't clear the AA bit if there is an authoritative CNAME in the 304366225e4dSsthen answer section (as shown in RFC 1034, Section 6.2.7, 2nd example). 304466225e4dSsthen 304566225e4dSsthen10 October 2011: Wouter 304666225e4dSsthen - squelch EPIPE when writing AXFR, enable with verbosity 2. 304766225e4dSsthen 304866225e4dSsthen26 September 2011: (Matthijs, from NSD3_2 branch) 304966225e4dSsthen - Copy the DO bit to the response. 305066225e4dSsthen - Don't return SERVFAIL on a domain that looks like a NSEC3 305166225e4dSsthen domain but is actually a empty non-terminal. 305266225e4dSsthen 305366225e4dSsthen19 August 2011: Wouter 305466225e4dSsthen - Fix segfault if no logfile is used. 305566225e4dSsthen 305666225e4dSsthen5 August 2011: Wouter 305766225e4dSsthen - Fix make from repeating action already taken. 305866225e4dSsthen - Fix compile without openssl. 305966225e4dSsthen 306066225e4dSsthen3 August 2011: Wouter 306166225e4dSsthen - silence 'Broken pipe' messages in log (visible with verbosity 2). 306266225e4dSsthen - fix makedist.sh for removal of patch, notify, xfer. new nsd-control. 306366225e4dSsthen - tag 4.0.0-imp-5 created. 306466225e4dSsthen - trunk is 4.0.0-imp-6 under development. 306566225e4dSsthen - added nsd_munin_ script for statistics monitoring to contrib. 306666225e4dSsthen 306766225e4dSsthen2 August 2011: Wouter 306866225e4dSsthen - fix compile on Ubuntu 11.04 systems, detects cc system header issue. 306966225e4dSsthen 307066225e4dSsthen1 August 2011: Wouter 307166225e4dSsthen - fix checkconf test for remote control options. 307266225e4dSsthen - fix warning on Ubuntu 10.04, fix autoconf 2.68 warning on NetBSD. 307366225e4dSsthen 307466225e4dSsthen29 July 2011: Wouter 307566225e4dSsthen - zones with no zonefile are not written to text (assumes you can 307666225e4dSsthen get AXFR and IXFR for the contents). They are stored in nsd.db. 307766225e4dSsthen - test for repattern. 307866225e4dSsthen 307966225e4dSsthen28 July 2011: Wouter 308066225e4dSsthen - nsd-control repattern reads TSIG and pattern configuration. 308166225e4dSsthen 308266225e4dSsthen25 July 2011: Wouter 308366225e4dSsthen - fixed tests for removed tools from nsd, with replacements. 308466225e4dSsthen replaced nsd-patch with nsd-control write. replaced nsd-notify with 308566225e4dSsthen ldns-notify. replaced nsd-xfer with dig -t axfr. 308666225e4dSsthen - fix for xfrd restart if crashed. xfrd knows if a reload is 308766225e4dSsthen active at that time so it cannot start another one at the same 308866225e4dSsthen time. New shortsoa track for start that does not use taskdb 308966225e4dSsthen in use by reload. taskdb in use by crashed xfrd is recreated, 309066225e4dSsthen in case it is corrupt. This keeps the nsd.db intact, keeps 309166225e4dSsthen reload running with its updated and keeps service from the 309266225e4dSsthen server processes active. 309366225e4dSsthen 309466225e4dSsthen22 July 2011: Wouter 309566225e4dSsthen - added contrib/nsd.init (nsdc.sh that only does start,stop). 309666225e4dSsthen - removed nsdc.sh, nsd-xfer, nsd-notify, nsd-patch. 309766225e4dSsthen for rc.d: contrib/nsd.init, or platform specific init script. 309866225e4dSsthen nsd-xfer: see nsd-control transfer, or force_transfer. 309966225e4dSsthen nsd-notify: see nsd-control notify. 310066225e4dSsthen nsd-patch: see (cron job to) nsd-control write. 310166225e4dSsthen 310266225e4dSsthen21 July 2011: Wouter 310366225e4dSsthen - nsd-control notify, transfer and force_transfer. 310466225e4dSsthen - fix for bug in write and reload zone option. 310566225e4dSsthen - nsd-control zonestatus command. 310666225e4dSsthen 310766225e4dSsthen20 July 2011: Wouter 310866225e4dSsthen - reload can be given optional zone argument. 310966225e4dSsthen - nsd-control reopen_logfile. 311066225e4dSsthen - nsd-control write changed zonefiles. 311166225e4dSsthen 311266225e4dSsthen18 July 2011: Wouter 311366225e4dSsthen - Fix xfrd activation of zones to not break running zone transfers. 311466225e4dSsthen 311566225e4dSsthen13 July 2011: Wouter 311666225e4dSsthen - fix that signal causes stats to be printed to log. 311766225e4dSsthen - fix stats without remotecontrol. 311866225e4dSsthen - ignore notify and soainfo for deleted zone, if due to race they 311966225e4dSsthen arrive after the deletion. 312066225e4dSsthen - tpkg test for nsd-control, addzone and delzone 312166225e4dSsthen 312266225e4dSsthen5 July 2011: Wouter 312366225e4dSsthen - fix link to ssl with FreeBSD make. 312466225e4dSsthen 312566225e4dSsthen1 July 2011: Wouter 312666225e4dSsthen - fix optimize compile to link with ssl. 312766225e4dSsthen 312866225e4dSsthen29 June 2011: Wouter 312966225e4dSsthen - nsd-control delzone zone. Removes zone from zonelist. 313066225e4dSsthen - stats includes number of zones. 313166225e4dSsthen - RAXFR stat, which has not worked since NSD 1.2.4, reinstated. 313266225e4dSsthen - print more memory statistics, for xfrd and config. 313366225e4dSsthen 313466225e4dSsthen28 June 2011: Wouter 313566225e4dSsthen - nsd-control addzone zone pattern. Adds new zone, slave or master. 313666225e4dSsthen 313766225e4dSsthen27 June 2011: Wouter 313866225e4dSsthen - nsd-control stats and stats_noreset (if enabled at compile time). 313966225e4dSsthen nsd does not print statistics to logfile if period is 0. 314066225e4dSsthen 314166225e4dSsthen23 June 2011: Wouter 314266225e4dSsthen - -flto check supports clang compiler. 314366225e4dSsthen 314466225e4dSsthen22 June 2011: Wouter 314566225e4dSsthen - remote control, config, client, setup and status command. 314666225e4dSsthen - reload nsd-control command. 314766225e4dSsthen - stop nsd-control command. 314866225e4dSsthen - verbosity nsd-control command. 314966225e4dSsthen 315066225e4dSsthen14 June 2011: Wouter 315166225e4dSsthen - Fix to have no authority NS set processing for CNAMEs. 315266225e4dSsthen 315366225e4dSsthen9 June 2011: Wouter 315466225e4dSsthen - fix bug that relptrs have to be initialized with rel_ptr_init() when 315566225e4dSsthen created and zeroed with rptr_zero before deletion. 315666225e4dSsthen - tag 4.0.0-imp4 created 315766225e4dSsthen - trunk is 4.0.0-imp5 under development. 315866225e4dSsthen 315966225e4dSsthen8 June 2011: Wouter 316066225e4dSsthen - nsd reads the zonelist file on start. 316166225e4dSsthen - updated acx_nlnetlabs.m4 to version 11. 316266225e4dSsthen - configure checks size of off_t and increase region-allocator 316366225e4dSsthen alignment to 8 if it is 64bit and alignment at 4. 316466225e4dSsthen - fixed bug where not all references were removed before mmap was 316566225e4dSsthen synced to another process. 316666225e4dSsthen 316766225e4dSsthen7 June 2011: Wouter 316866225e4dSsthen - code to add and remove zonelist entries, and unit test. 316966225e4dSsthen 317066225e4dSsthen6 June 2011: Wouter 317166225e4dSsthen - fix unit tests for mmap with TODO and removal of -f in nsd-patch. 317266225e4dSsthen - zone expiry is communicated via the mmap, and not via the pipes, 317366225e4dSsthen simplifying the code significantly as well as making a large number 317466225e4dSsthen of zones more feasible. 317566225e4dSsthen 317666225e4dSsthen1 June 2011: Wouter 317766225e4dSsthen - mmap used for parent-xfrd communication of tasks and task results. 317866225e4dSsthen SIGHUP is sent to xfrd so it can become a task in the normal 317966225e4dSsthen workflow. This can process about 4500 zones per second (this was 318066225e4dSsthen with lots of debug prints per zone, in debug compile). The mmaps 318166225e4dSsthen are file-backed with /tmp/ files. They are removed on a clean exit. 318266225e4dSsthen - nsd.db and tmp mmaps are created with mode 0600 for safety. 318366225e4dSsthen - updated flag removed, nsd-patch always in -f force mode (-f removed) 318466225e4dSsthen and writes all zones always. Its role is taken over by task results. 318566225e4dSsthen 318666225e4dSsthen30 May 2011: Wouter 318766225e4dSsthen - Fix Makefile for U in environment, since wrong U is more common than 318866225e4dSsthen deansification necessity. 318966225e4dSsthen 319066225e4dSsthen27 May 2011: Wouter 319166225e4dSsthen - xfrd is forked before the database is read in, thus it does not 319266225e4dSsthen consume the memory of the database. It can be reforked on a crash, 319366225e4dSsthen which is like the current case. Difffile is cleaned by main process 319466225e4dSsthen and the soa serials are all sent via pipe instead of via forkmem. 319566225e4dSsthen 319666225e4dSsthen24 May 2011: Wouter 319766225e4dSsthen - implemented patterns in the nsd.conf file. 319866225e4dSsthen they can be instantiated with include-pattern: x. 319966225e4dSsthen existing zone definitions keep working (backwards compatible), such 320066225e4dSsthen zones really have an implicit pattern and cannot_delete flag set. 320166225e4dSsthen - work on zonelist read and storage. 320266225e4dSsthen 320366225e4dSsthen20 May 2011: Wouter 320466225e4dSsthen - from NSD_3_2 branch the fix: bug if the zonefile is changed for a 320566225e4dSsthen secondary but stored transfers are applied, and stop ixfr to empty. 320666225e4dSsthen The zone is flagged with error, and the good zone is still in nsd.db 320766225e4dSsthen for NSD4. 320866225e4dSsthen 320966225e4dSsthen17 May 2011: Wouter 321066225e4dSsthen - unit test for code coverage on nsec3 ixfr. 321166225e4dSsthen - tag 4.0.0-imp3 created 321266225e4dSsthen - trunk is 4.0.0-imp4 under development. 321366225e4dSsthen 321466225e4dSsthen13 May 2011: Matthijs 321566225e4dSsthen - Fix bug #381 - Binary escaped and transfers. 321666225e4dSsthen 321766225e4dSsthen13 May 2011: Wouter 321866225e4dSsthen - Unit test nsec3 salt change and fix for sanity check of nsec3 chain. 321966225e4dSsthen pretty prints the nsec3 parameters if verbose. 322066225e4dSsthen 322166225e4dSsthen12 May 2011: Wouter 322266225e4dSsthen - more unit test for nsec3 precompile changes. 322366225e4dSsthen - unit test for salt change, rehash in udb fix, remove last NSEC3 322466225e4dSsthen from chain works, NSEC3PARAM RR fixed up if RR added or removed 322566225e4dSsthen from NSEC3PARAM RRset, hashtrees cleared properly, precompile clear 322666225e4dSsthen more thorough (not dependant on nsec3_conditions). 322766225e4dSsthen 322866225e4dSsthen11 May 2011: Wouter 322966225e4dSsthen - fixes for nsec3 precompile code: precompile for empty nonterminals 323066225e4dSsthen created when an RR is added. If SOA removed, precompile stays 323166225e4dSsthen coherent even though domain_find_zone no longer returns correct zone. 323266225e4dSsthen 323366225e4dSsthen21 April 2011: Wouter 323466225e4dSsthen - unit test and fixes in nsec3 precompile code. 323566225e4dSsthen 323666225e4dSsthen20 April 2011: Wouter 323766225e4dSsthen - incremental NSEC3 precompile. 323866225e4dSsthen 323966225e4dSsthen14 April 2011: Wouter 324066225e4dSsthen - remove chnum. Added numlist sorted by domain.number. 324166225e4dSsthen domains that are not used are removed. 324266225e4dSsthen 324366225e4dSsthen13 April 2011: Wouter 324466225e4dSsthen - Fix is_existing flag for ENT when domain that has a shared ENT 324566225e4dSsthen is deleted by IXFR. 324666225e4dSsthen - zonec can parse strings with RR in it. 324766225e4dSsthen - unit test for namedb. 324866225e4dSsthen 324966225e4dSsthen8 April 2011: Wouter 325066225e4dSsthen - porting complete. 325166225e4dSsthen - tag 4.0.0-imp2 created 325266225e4dSsthen - trunk is version 4.0.0-imp3. 325366225e4dSsthen 325466225e4dSsthen7 April 2011: Wouter 325566225e4dSsthen - ported to sunos 4.1.4, the unit test works (udb, radtree in mmap). 325666225e4dSsthen 325766225e4dSsthen6 April 2011: Wouter 325866225e4dSsthen - UDB_CHECK is enabled if --enable-checking is used. 325966225e4dSsthen Because it checks the pointer-administration lists it slows down. 326066225e4dSsthen - udb-inspect has feature -l that lists zones (and RRs) in nsd.db. 326166225e4dSsthen - fix memory leak by zonec; the region_cleanup triggers too late. 326266225e4dSsthen - set listen TCP_BACKLOG to 16 by default, it avoids connect reset 326366225e4dSsthen by peer in 1000-zones transfer on an ultra10, thus for many-zones. 326466225e4dSsthen - default xfrd-reload-timeout to 1 second. 326566225e4dSsthen 326666225e4dSsthen5 April 2011: Wouter 326766225e4dSsthen - Fix uninitialised value in xfrd nsd_soa, the rdata_count. 326866225e4dSsthen - Unit test for update of the nsd.db with new contents. 326966225e4dSsthen - Fix array bounds check in radtree-search function. 327066225e4dSsthen 327166225e4dSsthen4 April 2011: Wouter 327266225e4dSsthen - removed zonec from tests. fix unknown_rr test, enable ipseckey test. 327366225e4dSsthen increased timeouts on tests that are hard on the filesystem. 327466225e4dSsthen - Fixed IPSECKEY printout by nsd-patch. 327566225e4dSsthen 327666225e4dSsthen30 March 2011: Wouter 327766225e4dSsthen - nsd edits nsd.db for IXFR and AXFR messages. since xfrd already 327866225e4dSsthen checks zone transfers completely for syntax those errors cannot 327966225e4dSsthen happen, if they do (memory, disk error) the file is left dirty, 328066225e4dSsthen to be recreated on the next start (and the process dies). 328166225e4dSsthen 328266225e4dSsthen29 March 2011: Wouter 328366225e4dSsthen - nsd recreates nsd.db if it has not been closed properly or is 328466225e4dSsthen corrupted (bad header or wrong file format). 328566225e4dSsthen 328666225e4dSsthen28 March 2011: Wouter 328766225e4dSsthen - NSD without zonec. NSD loads zonefiles on start. 328866225e4dSsthen NSD stores NSEC3hashes on disk. 328966225e4dSsthen 329066225e4dSsthen25 March 2011: Wouter 329166225e4dSsthen - Fix bug #365, you can set NSDC_ZONEC_VERBOSE and NSDC_PATCH_STYLE 329266225e4dSsthen in the environment where nsdc runs. 329366225e4dSsthen - Fix bug #375, typos in nsd.conf.5. 329466225e4dSsthen - First step of bug #369: RRSIG DNSKEY sets zone to be treated DNSSEC. 329566225e4dSsthen - Fix bug #302, nsd accepts XFR but refuses to re-read the slave zone. 329666225e4dSsthen - NSD4 work: removed zonec, nsdc patch does not write text files 329766225e4dSsthen for slave zones (as if option is always to binary, this capability 329866225e4dSsthen returns later), nsdc patch deletes the ixfr.db. 329966225e4dSsthen kill-HUP rereads zone files that have changed. 330066225e4dSsthen 330166225e4dSsthen24 March 2011: Wouter 330266225e4dSsthen - compile fixes for BSD. preserve RRset order. 330366225e4dSsthen 330466225e4dSsthen23 March 2011: Wouter 330566225e4dSsthen - udbzone, store and read zone data in the random-access udb format. 330666225e4dSsthen 330766225e4dSsthen21 March 2011: Wouter 330866225e4dSsthen - udbradtree works. udb-inspect tool can print radtree details. 330966225e4dSsthen 331066225e4dSsthen16 March 2011: Matthijs 331166225e4dSsthen - undo fix bug#325: messes up dname compression 331266225e4dSsthen 331366225e4dSsthen14 March 2011: Wouter 331466225e4dSsthen - udb code added. uses lookup3 from unbound (public domain). 331566225e4dSsthen - unit test for radix tree in cutest. 331666225e4dSsthen - unit test for udb in cutest. 331766225e4dSsthen - udb-inspect tool to printout internals of udb files. 331866225e4dSsthen for debug, not installed or built by default. 331966225e4dSsthen - removed --disable-radixtree option. 332066225e4dSsthen 332166225e4dSsthen11 March 2011: Wouter 332266225e4dSsthen - Removed precompile features, speed gain took too much memory. 332366225e4dSsthen - domain number to size_t. 332466225e4dSsthen 332566225e4dSsthen9 March 2011: Wouter 332666225e4dSsthen - DNAME synthesis of CNAME. Uses TTL of the DNAME record. 332766225e4dSsthen - nsec3 and wildcard code. No additional section for wildcards. 332866225e4dSsthen Also CNAME and DNAME replies contain only that record (and synth 332966225e4dSsthen CNAME), the chain is not followed. 333066225e4dSsthen 333166225e4dSsthen8 March 2011: Wouter 333266225e4dSsthen - precompile work: 333366225e4dSsthen class ANY gets AA flag, SOA and type-NS processing, just 333466225e4dSsthen like BIND (9.6) and it simplifies processing for NSD. 333566225e4dSsthen other than compression difference (precompile compresses smaller), 333666225e4dSsthen there are no differences in a 49000 query testset against the root, 333766225e4dSsthen without EDNS. 333866225e4dSsthen 333966225e4dSsthen7 March 2011: Wouter 334066225e4dSsthen - check chown value and report high verbosity its error. 334166225e4dSsthen 334266225e4dSsthen3 March 2011: Matthijs 334366225e4dSsthen - fix #bug352: fix hardcoded paths in manpages. 334466225e4dSsthen 334566225e4dSsthen2 March 2011: Matthijs 334666225e4dSsthen - fix #bug354: make realclean cleans too much 334766225e4dSsthen - added make devclean for cleaning up autoconf and automake stuff 334866225e4dSsthen - Fix hardcoded paths in nsd.conf.sample and nsd.conf.5 334966225e4dSsthen 335066225e4dSsthen24 February 2011: Matthijs 335166225e4dSsthen - fix #bug350: refused notifies should log client ip. 335266225e4dSsthen 335366225e4dSsthen2 March 2011: Wouter 335466225e4dSsthen - Fix AXFR service with radix tree. 335566225e4dSsthen - cutest for speed of answer encoding, and format of answers for root. 335666225e4dSsthen 335766225e4dSsthen1 March 2011: Wouter 335866225e4dSsthen - after merge, remove double -I. from makefile. 335966225e4dSsthen - radixtree is default. Nicer makefile and no warnings from unused 336066225e4dSsthen flex functions. 336166225e4dSsthen 336266225e4dSsthen1 March 2011: Wouter 336366225e4dSsthen - merge with trunk r3181: 336466225e4dSsthen 24 February 2011: Matthijs 336566225e4dSsthen - fix #bug350: refused notifies should log client ip. 336666225e4dSsthen 24 February 2011: Wouter 336766225e4dSsthen - fix bug#362: outgoing-interface and v4 vs. v6 leads to spurious 336866225e4dSsthen warning messages. 336966225e4dSsthen - fix bug#363: nsd-checkconf -v does not print outgoing-interface ok. 337066225e4dSsthen - fix that nsd-checkconf -o outgoing-interface omits NOKEY. 337166225e4dSsthen 23 February 2011: Wouter 337266225e4dSsthen - fix for bug#357, make xfrd quit with many zones. 337366225e4dSsthen 337466225e4dSsthen23 February 2011: Wouter 337566225e4dSsthen - Merge trunk r3151. 337666225e4dSsthen 22 February 2011: Matthijs 337766225e4dSsthen - Patch Jakob Schlyter (setusercontext before chroot). 337866225e4dSsthen 18 February 2011: Wouter 337966225e4dSsthen - overhaul of testset, with port uniqueness and fast start and stop. 338066225e4dSsthen 11 February 2011: Wouter 338166225e4dSsthen - added test case to do with bug357. 338266225e4dSsthen 24 January 2011: Matthijs 338366225e4dSsthen - Patch Tom Hendrikx (only errors to stderr when doing nsdc patch). 338466225e4dSsthen 338566225e4dSsthen17 February 2011: Wouter 338666225e4dSsthen - Fix leak of compressiontable when the domain table increases in size. 338766225e4dSsthen - added test case to do with bug357. 338866225e4dSsthen 338966225e4dSsthen10 February 2011: Wouter 339066225e4dSsthen - Merged with trunk r3115 changes: 339166225e4dSsthen 20 January 2011: Wouter 339266225e4dSsthen - Fix on shutdown, then getaddrinfo acquired data uses freeaddrinfo. 339366225e4dSsthen 19 January 2011: Wouter 339466225e4dSsthen - Bug #348: no -I/usr and -L/usr for libcrypto in /usr. 339566225e4dSsthen 5 January 2011: Matthijs 339666225e4dSsthen - Fix nsdc update and nsdc notify 339766225e4dSsthen - Force outgoing interface to be a single range acl 339866225e4dSsthen - Update documentation about acl options 339966225e4dSsthen - Code review 340066225e4dSsthen - Fix nsdc so it can use hmac-sha* tsigs 340166225e4dSsthen - Bug #347: NSEC3 nodata QTYPE=DS not at delegation mismatch 340266225e4dSsthen 4 January 2011: Yuri 340366225e4dSsthen - Doc spelling error, bug#345 340466225e4dSsthen 15 December 2010: Wouter 340566225e4dSsthen - fix race condition when nsd is stopped while a reload is in 340666225e4dSsthen progress, often when rc.d does nsdc patch; nsdc stop in sequence. 340766225e4dSsthen reload is now signalled to stop too. 340866225e4dSsthen 10 December 2010: Matthijs 340966225e4dSsthen - fix bug#306: applied documentation patch 341066225e4dSsthen - fix bug#253: now also for QTYPE=DS. 341166225e4dSsthen 12 October 2010: Wouter 341266225e4dSsthen - Fix compilation on SunOS4. 341366225e4dSsthen 24 September 2010: Matthijs 341466225e4dSsthen - Bug #328: nsd-checkconf overrun 341566225e4dSsthen 1 September 2010: Yuri 341666225e4dSsthen - Support for huge TXT records. 341766225e4dSsthen 23 Aug 2010: Wouter 341866225e4dSsthen - fix bug#325: remove stale files from cvs from repo. 341966225e4dSsthen 16 Aug 2010: Yuri 342066225e4dSsthen - zonec, MAXRDATALEN check was off by one. 342166225e4dSsthen 9 Aug 2010: Matthijs 342266225e4dSsthen - nsdc return 1 outside function, should be exit 1 342366225e4dSsthen - Bug #320: arc4random 342466225e4dSsthen 2 Aug 2010: Matthijs 342566225e4dSsthen - Bump to 3.2.7. 342666225e4dSsthen 21 July 2010: Wouter 342766225e4dSsthen - NUM_RECV_PER_SELECT 100 implemented, configure check if kernel 342866225e4dSsthen supports this. 342966225e4dSsthen 343066225e4dSsthen17 January 2011: Matthijs 343166225e4dSsthen - Bump to 3.2.8. 343266225e4dSsthen 343366225e4dSsthen5 January 2011: Matthijs 343466225e4dSsthen - Fix nsdc update and nsdc notify 343566225e4dSsthen - Force outgoing interface to be a single range acl 343666225e4dSsthen - Update documentation about acl options 343766225e4dSsthen - Code review 343866225e4dSsthen - Fix nsdc so it can use hmac-sha* tsigs 343966225e4dSsthen - Bug #347: NSEC3 nodata QTYPE=DS not at delegation mismatch 344066225e4dSsthen 344166225e4dSsthen20 July 2010: Wouter 344266225e4dSsthen - Branched from trunk. Added radix tree. 344366225e4dSsthen - use -fwhole-program if gcc supports it. 344466225e4dSsthen 344566225e4dSsthen19 July 2010: Matthijs 344666225e4dSsthen - fix bug#314, NSEC next field now correctly escapes spaces. 344766225e4dSsthen Also fixes label overflow issue. 344866225e4dSsthen - Put back HAVE_SSL. 344966225e4dSsthen - Code reviews. 345066225e4dSsthen - Add donor text. 345166225e4dSsthen 345266225e4dSsthen6 July 2010: Wouter 345366225e4dSsthen - Compiles on Minix 3.1.7; checks ss_family, suseconds_t, some 345466225e4dSsthen warning fixes. Needs socketpair to work, e.g. 345566225e4dSsthen http://wiki.minix3.org/en/SummerOfCode2010/UnixDomainSockets. 345666225e4dSsthen 345766225e4dSsthen2 July 2010: Wouter 345866225e4dSsthen - Put back CHECK_SSL in configure (removed with disable-tsig). 345966225e4dSsthen 346066225e4dSsthen17 June 2010: Matthijs 346166225e4dSsthen - Expand command line option '-a' and config option 'ip-address:' 346266225e4dSsthen with port number. 346366225e4dSsthen - Removed --disable-nsid, --disable-dnssec, --disable-tsig 346466225e4dSsthen 346566225e4dSsthen14 April 2010: Matthijs 346666225e4dSsthen - Bump to 3.2.6. 346766225e4dSsthen 346866225e4dSsthen14 April 2010: Matthijs 346966225e4dSsthen - uintptr_t fallback value to void* 347066225e4dSsthen - Backwards compatibility for MAP_ANONYMOUS 347166225e4dSsthen - Tag 3.2.5. 347266225e4dSsthen 347366225e4dSsthen31 March 2010: Matthijs 347466225e4dSsthen - Commit b64_pton optimalized compat code (Martin Svec). 347566225e4dSsthen - Commit (experimental) mmap-alloc-namedb patch (Martin Svec). 347666225e4dSsthen - Commit parse-token-leaks patch (Martin Svec). 347766225e4dSsthen 347866225e4dSsthen27 March 2010: Wouter 347966225e4dSsthen - fix bug#303: misspelled error message. 348066225e4dSsthen 348166225e4dSsthen19 March 2010: Wouter 348266225e4dSsthen - documented nsid: "hex string" setting in nsd.conf.sample. 348366225e4dSsthen 348466225e4dSsthen24 February 2010: Matthijs 348566225e4dSsthen - nsid: option 348666225e4dSsthen - Enable NSID support by default 348766225e4dSsthen - --with-chroot configure option 348866225e4dSsthen - Less stupid chroot error handling 348966225e4dSsthen 349066225e4dSsthen15 February 2010: Matthijs 349166225e4dSsthen - Skip memory cleanup to speed up reload (Martin Svec) 349266225e4dSsthen 349366225e4dSsthen1 February 2010: Wouter 349466225e4dSsthen - compat code for memcmp unsigned comparisons. 349566225e4dSsthen 349666225e4dSsthen21 January 2010: Wouter 349766225e4dSsthen - fixup debug sprintf to snprintf. 349866225e4dSsthen 349966225e4dSsthen21 January 2010: Matthijs 350066225e4dSsthen - Secure string functions, including compat code for strlcat. 350166225e4dSsthen - Randomness utility function 350266225e4dSsthen - Prepare for default chroot 350366225e4dSsthen 350466225e4dSsthen6 January 2010: Wouter 350566225e4dSsthen - check write errors when marking commit failed when difffile is broken. 350666225e4dSsthen 350766225e4dSsthen6 January 2010: Matthijs 350866225e4dSsthen - Move to 3.2.5 350966225e4dSsthen 351066225e4dSsthen23 December 2009: Matthijs 351166225e4dSsthen - Store new options in nsd structure. 351266225e4dSsthen 351366225e4dSsthen22 December 2009: Matthijs 351466225e4dSsthen - New options 'ipv4-edns-size:' and 'ipv6-edns-size'. 351566225e4dSsthen - Bug 276 351666225e4dSsthen - Bug 286 351766225e4dSsthen - Bug 288 351866225e4dSsthen 351966225e4dSsthen21 December 2009: Matthijs 352066225e4dSsthen - New option 'tcp-query-count:'. 352166225e4dSsthen - New option 'tcp-timeout:' and configure option '--with-tcp-timeout'. 352266225e4dSsthen - New zone option 'notify-retry:'. 352366225e4dSsthen 352466225e4dSsthen11 December 2009: Wouter 352566225e4dSsthen - Disable UDP IPv4 DF flag on Linux/FreeBSD/AIX with socket option. 352666225e4dSsthen 352766225e4dSsthen20 November 2009: Matthijs 352866225e4dSsthen - NSID bugfix: NSD did not recognize NSID in the query. 352966225e4dSsthen 353066225e4dSsthen9 September 2009: Matthijs 353166225e4dSsthen - DLV support 353266225e4dSsthen 353366225e4dSsthen18 August 2009: Matthijs 353466225e4dSsthen - Bug 269. 353566225e4dSsthen - Typo: logincap.h -> login_cap.h 353666225e4dSsthen 353766225e4dSsthen12 August 2009: Matthijs 353866225e4dSsthen - Maintainers feedback 353966225e4dSsthen 354066225e4dSsthen10 August 2009: Matthijs 354166225e4dSsthen - Code review. 354266225e4dSsthen - Also send errors to /dev/null in controlled_stop. 354366225e4dSsthen - chown nsd.db 354466225e4dSsthen 354566225e4dSsthen7 August 2009: Matthijs 354666225e4dSsthen - Bug 266: don't have strptime build error 354766225e4dSsthen 354866225e4dSsthen28 July 2009: Matthijs 354966225e4dSsthen - Bug 263: make TSIG algorithms comparison case insensitive. 355066225e4dSsthen 355166225e4dSsthen23 July 2009: Matthijs 355266225e4dSsthen - Patch Paul Wouters for NSD using hardcoded name. 355366225e4dSsthen 355466225e4dSsthen13 July 2009: Matthijs 355566225e4dSsthen - Bug 236: allow RRs before the SOA RR. 355666225e4dSsthen - Bug 253: No need for NS RRset in authority section, when returning 355766225e4dSsthen final answer for QTYPE=DNSKEY. 355866225e4dSsthen 355966225e4dSsthen29 June 2009: Wouter 356066225e4dSsthen - patch for use of Linux IPV6_MTU option, so that on linux the default 356166225e4dSsthen EDNS UDP size advertised becomes 4096 over IPv6. It fragments the 356266225e4dSsthen packets using the IPv6 minimum MTU. 356366225e4dSsthen 356466225e4dSsthen19 May 2009: Matthijs 356566225e4dSsthen - Clean up configure script (install hickup) 356666225e4dSsthen - Bug 249: Remove unnecessary LLONG_MIN and LLONG_MAX code. 356766225e4dSsthen - Replace strtoll code with own strtoserial function. 356866225e4dSsthen - Move up to 3.2.3. 356966225e4dSsthen 357066225e4dSsthen11 May 2009: Matthijs 357166225e4dSsthen - Add Off-by-one test 357266225e4dSsthen 357366225e4dSsthen6 May 2009: Matthijs 357466225e4dSsthen - Small fix in SO_REUSEADDR warning log message. 357566225e4dSsthen - Off-by-one bugfix (thanks Ilja van Sprundel, IOActive) 357666225e4dSsthen 357766225e4dSsthen29 April 2009: Matthijs 357866225e4dSsthen - A more ensured do_stop (useful fo nsdc restart). 357966225e4dSsthen 358066225e4dSsthen2 February 2009: Matthijs 358166225e4dSsthen - Bugfix #234. 358266225e4dSsthen - Bugfix #235. 358366225e4dSsthen - Reset 'error occurred' after notifying an error occurred at the $TTL or 358466225e4dSsthen $ORIGIN directive (Otherwise, the whole zone is skipped because the 358566225e4dSsthen error is reset after reading the SOA). 358666225e4dSsthen 358766225e4dSsthen2 February 2009: Matthijs 358866225e4dSsthen - Bugfix: return BADVERS when EDNS version > 0, instead of 0x1<FORMERR>. 358966225e4dSsthen 359066225e4dSsthen19 January 2009: Matthijs 359166225e4dSsthen - Bug 230: nsd-*: use stdout for non-error output (instead of stderr). 359266225e4dSsthen - Don't do strptime test when cross compiling. 359366225e4dSsthen 359466225e4dSsthen17 January 2009: Jelte 359566225e4dSsthen - Fix file rotation when no logfile but chroot. 359666225e4dSsthen 359766225e4dSsthen8 January 2009: Matthijs 359866225e4dSsthen - New nsd-patch option -o dbfile (set output.db) 359966225e4dSsthen - update nsdc to deal with the new nsd-patch options 360066225e4dSsthen - strptime compat fix 360166225e4dSsthen 360266225e4dSsthen6 January 2009: Matthijs 360366225e4dSsthen - New nsd-patch option -s (skip writing zonefiles) 360466225e4dSsthen - Removed some region_create memchecks (not needed) 360566225e4dSsthen 360666225e4dSsthen5 January 2009: Matthijs 360766225e4dSsthen - Bug 218 360866225e4dSsthen - Bug 222 360966225e4dSsthen - Replace SHA256_DIGEST_LENGTH with nicer HAVE_EVP_SHA256 361066225e4dSsthen 361166225e4dSsthen10 December 2008: Matthijs 361266225e4dSsthen - Bugfix: better error message when ixfr.db cannot be read 361366225e4dSsthen 361466225e4dSsthen18 November 2008: Matthijs 361566225e4dSsthen - chown logfile, don't do file rotation if logfile is outside absolute 361666225e4dSsthen and outside chroot. 361766225e4dSsthen 361866225e4dSsthen17 November 2008: Matthijs 361966225e4dSsthen - File rotation for nsd.log when owned by nsd (+ tpkg test). 362066225e4dSsthen - Only AXFR fallback if master responded NOTIMPL or FORMATERR on IXFR 362166225e4dSsthen request. 362266225e4dSsthen - allow-axfr-fallback option. 362366225e4dSsthen 362466225e4dSsthen7 November 2008: Matthijs 362566225e4dSsthen - Bugfix: don't fclose if logfile == NULL. 362666225e4dSsthen 362766225e4dSsthen30 October 2008: Matthijs 362866225e4dSsthen - Allow escape characters in literal dnames 362966225e4dSsthen - Fix typo in zonec manpage 363066225e4dSsthen - Some fixes from code review 363166225e4dSsthen 363266225e4dSsthen20 October 2008: Matthijs 363366225e4dSsthen - Redo bugfix literal domain names in rdata (code adjustment) 363466225e4dSsthen - Added tests for case sensitive dns names and "Bug #162" 363566225e4dSsthen - Adjust nsd-patch to new ixfr.db format 363666225e4dSsthen 363766225e4dSsthen14 October 2008: Matthijs 363866225e4dSsthen - Only SO_LINGER when outgoing port is set 363966225e4dSsthen - Reset diff_skip when a new difffile is created (parts in the difffile 364066225e4dSsthen now have a timestamp). 364166225e4dSsthen - Undo bugfix literal domain names in rdata (code adjustment) 364266225e4dSsthen - Split up dname_parse to parse literal dnames and normalized dnames. 364366225e4dSsthen 364466225e4dSsthen3 October 2008: Matthijs 364566225e4dSsthen - setsockopt SO_LINGER, for portability outgoing-interface (BSD/Solaris) 364666225e4dSsthen 364766225e4dSsthen1 October 2008: Matthijs 364866225e4dSsthen - Configure the source ip-address for notifies by the master and zone 364966225e4dSsthen transfer requests by the slave in nsd.conf. 365066225e4dSsthen - Previously added source hostname/ip and port configuration for 365166225e4dSsthen nsd-notify and nsd-xfer 365266225e4dSsthen - Finetuned nsdc for nsdc notify and nsdc update 365366225e4dSsthen 365466225e4dSsthen29 September 2008: Matthijs 365566225e4dSsthen - Bugfix: only normalize domain names in rdatas when rrtype is listed in 365666225e4dSsthen RFC 4034, section 6.2: Canonical RR Form. 365766225e4dSsthen - Update TODO list 365866225e4dSsthen 365966225e4dSsthen25 September 2008: Matthijs 366066225e4dSsthen - Fix bug where hmac-sha256 was in algorithm table, but could not be 366166225e4dSsthen retrieved by name or id. 366266225e4dSsthen - Additional arguments for nsd-notify and nsd-xfer: set outgoing 366366225e4dSsthen hostname/ip-address and source port. 366466225e4dSsthen - Additional TODO entry: optimize code in nsd-* programs. 366566225e4dSsthen 366666225e4dSsthen8 September 2008: Matthijs 366766225e4dSsthen - RFC 4635, bugfix #130: support for hmac-sha1 and hmac-sha256 tsig 366866225e4dSsthen algorithms. 366966225e4dSsthen - modify and add tpkg tests for hmac-sha1 algorithms. 367066225e4dSsthen 367166225e4dSsthen2 September 2008: Matthijs 367266225e4dSsthen - AXFR fallback when IXFR/UDP failed on all masters 367366225e4dSsthen - Bugfix: strip off chroot value in corner cases 367466225e4dSsthen - Additional debug and verbose log messages 367566225e4dSsthen 367666225e4dSsthen29 August 2008: Matthijs 367766225e4dSsthen - IXFR allow UDP option 367866225e4dSsthen 367966225e4dSsthen26 August 2008: Matthijs 368066225e4dSsthen - Code layout, additional comments and documentation typo fixes 368166225e4dSsthen - IXFR over TCP, no longer UDP 368266225e4dSsthen 368366225e4dSsthen17 July 2008: Matthijs 368466225e4dSsthen - Make the maximum number of interfaces configurable. 368566225e4dSsthen - Write pidfile *after* successful server initialization, 368666225e4dSsthen instead of writing, and unlink if fail. 368766225e4dSsthen 368866225e4dSsthen16 July 2008: Matthijs 368966225e4dSsthen - Set upcoming release to 3.1.1 369066225e4dSsthen - Wouter: fixed memory leaks that happened on error, mostly on 369166225e4dSsthen zone transfer errors. 369266225e4dSsthen 369366225e4dSsthen11 July 2008: Matthijs 369466225e4dSsthen - Avoid race condition in nsdc: let nsd server update pidfile before 369566225e4dSsthen closing old parent process. 369666225e4dSsthen 369766225e4dSsthen8 July 2008: Jelte 369866225e4dSsthen - Fixed NSEC3 memory leak in the case NSEC3 is not needed. 369966225e4dSsthen 370066225e4dSsthen7 July 2008: Matthijs 370166225e4dSsthen - Bugfix #191 370266225e4dSsthen 370366225e4dSsthen9 June 2008: Matthijs 370466225e4dSsthen - When comparing RRs, do not compare TTL values (since the same record 370566225e4dSsthen with different TTL values are considered equal). 370666225e4dSsthen - Fixup some more unaligned memory access that could occur when 370766225e4dSsthen reading ixfr.db. 370866225e4dSsthen 370966225e4dSsthen19 May 2008: Matthijs 371066225e4dSsthen - Do not always log tcp read errors, only when real error or high verbosity 371166225e4dSsthen 371266225e4dSsthen28 April 2008: Matthijs 371366225e4dSsthen - Bugfix #172 (misleading error from zonec) 371466225e4dSsthen 371566225e4dSsthen27 March 2008: Matthijs 371666225e4dSsthen - Port some branch modifications to trunk 371766225e4dSsthen 371866225e4dSsthen28 February 2008: Matthijs 371966225e4dSsthen - Do not answer nsec3 wildcard information when DO bit is not set 372066225e4dSsthen 372166225e4dSsthen19 February 2008: Matthijs 372266225e4dSsthen - Fixed strptime bug (for MacOS Leopard) 372366225e4dSsthen 372466225e4dSsthen22 January 2008: Matthijs 372566225e4dSsthen - Add configuration for chkconfig to control nsd service (bug 164) 372666225e4dSsthen 372766225e4dSsthen15 January 2008: Matthijs 372866225e4dSsthen - Fixed bug 157 where nsd would return FORMERR if edns query is 372966225e4dSsthen received with version set to zero and rdlen is larger than zero. 373066225e4dSsthen 373166225e4dSsthen8 January 2008: Wouter 373266225e4dSsthen - no warning about optout records. also no warning about missing 373366225e4dSsthen nsec3 records. 373466225e4dSsthen - check for hash(apex)==nsec3 with SOA bit was done in duplicate. 373566225e4dSsthen - removed old commented out code 373666225e4dSsthen - using SOA bit in NSEC3 typemap to detect parameters 373766225e4dSsthen - using nonhashed NSEC3 to prove qtype=NSEC3 nxdomains 373866225e4dSsthen - prints for debugging. 373966225e4dSsthen - nicer comment on nsec3_lookup. 374066225e4dSsthen 374166225e4dSsthen7 January 2008: Wouter 374266225e4dSsthen - Fixup nsec3 tests, they need zonesdir: "." in conf files. 374366225e4dSsthen The tests pass. 374466225e4dSsthen - configure default is --enable-nsec3. Disabling this will save 20% more 374566225e4dSsthen memory (for very large zones). Moved tests to test on commit. 374666225e4dSsthen - set RRTYPE numbers for NSEC3=50, NSEC3PARAM=51. 374766225e4dSsthen - fixup checkconf test - updated parser lexer gives syntax error 374866225e4dSsthen on some garbage instead of parse error. Parselexer is updated for 374966225e4dSsthen new options (hide-version, verbosity). 375066225e4dSsthen - removed highrange rrtype code. fixup cutest for that. 375166225e4dSsthen - speedup of prehash code. 375266225e4dSsthen - skip nonexistent domains (operator.example.com). 375366225e4dSsthen - skip only-nsec3 domains (that could be 2x speedup) 375466225e4dSsthen - skip glue nameserver domains (for TLD with 2 glue per 375566225e4dSsthen delegation this is a 3x speedup). 375666225e4dSsthen - skip the prehash_domain for delegation points, which saves 375766225e4dSsthen another 2/3 hash operations, 3x speedup. 375866225e4dSsthen - printout how long nsec3 prepare took (verbosity >= 1). 375966225e4dSsthen 376066225e4dSsthen3 December 2007: Matthijs 376166225e4dSsthen - Fixup bug where data related files are looked up in the wrong 376266225e4dSsthen directory when chrooted with chrootdir ending with a slash. 376366225e4dSsthen 376466225e4dSsthen26 November 2007: Matthijs 376566225e4dSsthen - Fixup bug start nsd while already running: do not initialize server, 376666225e4dSsthen since it is already running. 376766225e4dSsthen 376866225e4dSsthen15 November 2007: Matthijs 376966225e4dSsthen - Changed man pages format from mdoc to mansun, to support the Solaris OS. 377066225e4dSsthen - Better logging for nsd-notify (show 'broken' zone) 377166225e4dSsthen 377266225e4dSsthen13 November 2007: Wouter 377366225e4dSsthen - CREDITS and RELNOTES now in utf-8. 377466225e4dSsthen 377566225e4dSsthen12 November 2007: Matthijs 377666225e4dSsthen - Changed man pages according to bug 162. 377766225e4dSsthen 377866225e4dSsthen30 October 2007: Wouter 377966225e4dSsthen - Fixup for skip after unknown deleted IXFR RR, otherwise processing 378066225e4dSsthen would continue at the wrong spot in the packet and process the IXFR 378166225e4dSsthen as if it were malformed. 378266225e4dSsthen - added unit test for this in long (needs ldns-testns, updated it). 378366225e4dSsthen - added unit test for rollback of malformed zone transfers. 378466225e4dSsthen Fixup for it, and fixup in ldns-testns to be randomport and 378566225e4dSsthen copy id for hex packets. 378666225e4dSsthen 378766225e4dSsthen29 October 2007: Wouter 378866225e4dSsthen - Fixup bug where malformed IXFR replies cause partial processing in 378966225e4dSsthen reload (or nsd-patch or nsd-startup). One result is multiple SOA 379066225e4dSsthen records in zone apex. Fixup rolls back the zone transfer, and waits 379166225e4dSsthen for NSD to try to load again. 379266225e4dSsthen 379366225e4dSsthen26 October 2008: Wouter 379466225e4dSsthen - small fix in descriptive text in sample config for debug-mode. 379566225e4dSsthen 379666225e4dSsthen9 October 2007: Mark 379766225e4dSsthen - Change default location of: nsd.db, ixfr.db & xfrd.state to 379866225e4dSsthen /var/db/nsd. 379966225e4dSsthen 380066225e4dSsthen5 October 2007: Wouter 380166225e4dSsthen - Fixup manual page entry for allow AXFR to anyone. 380266225e4dSsthen 380366225e4dSsthen3 August 2007: Mark 380466225e4dSsthen - Report source and zone for denied AXFR attempts. 380566225e4dSsthen 380666225e4dSsthen25 July 2007: Wouter 380766225e4dSsthen - bind2nsd to 0.5.0, fixup of includes, key{} handling. 380866225e4dSsthen 380966225e4dSsthen19 July 2007: Wouter 381066225e4dSsthen - bind2nsd to 0.4.8, fixup of include bug. 381166225e4dSsthen 381266225e4dSsthen18 July 2007: Wouter 381366225e4dSsthen - added contrib for bind2nsd, Al Stone provided an abridged version 381466225e4dSsthen that neatly fits for contrib. 381566225e4dSsthen 381666225e4dSsthen17 July 2007: Wouter 381766225e4dSsthen - fixup commithooks. 381866225e4dSsthen 381966225e4dSsthen16 July 2007: Wouter 382066225e4dSsthen - Added reference to http://bind2nsd.sourceforge.net/ to 382166225e4dSsthen contrib/README. 382266225e4dSsthen 382366225e4dSsthen3 July 2007: Mark 382466225e4dSsthen - Zone compiler now gives more sane error message when out of 382566225e4dSsthen diskspace. 382666225e4dSsthen - Fixed a call to drill in tpkg that made a test check bind instead of 382766225e4dSsthen nsd. 382866225e4dSsthen 382966225e4dSsthen2 July 2007: Mark 383066225e4dSsthen - Remove last traces of mmap usage. 383166225e4dSsthen - Some cleanups in tpkg. 383266225e4dSsthen 383366225e4dSsthen24 April 2007: Mark 383466225e4dSsthen - Added "hide-version" configuration setting. Enabling this feature 383566225e4dSsthen stops NSD from answering to CHAOS class version requests. 383666225e4dSsthen 383766225e4dSsthen19 April 2007: Wouter 383866225e4dSsthen - Compiled on minix 3.1.3 and make some adjustments to ease porting. 383966225e4dSsthen ECONNABORTED is checked for. sys/select.h included in nsd-notify. 384066225e4dSsthen SO_REUSEADDR failure is not fatal. PF_INET compat code added. 384166225e4dSsthen If you compile yourself; strptime and socketpair need compat code. 384266225e4dSsthen 384366225e4dSsthen13 April 2007: Wouter 384466225e4dSsthen - Minor tweak to nsec3.c, more elegant handling of malformed nsec3 384566225e4dSsthen records from a zone transfer. 384666225e4dSsthen 384766225e4dSsthen10 April 2007: Wouter 384866225e4dSsthen - Fixup ignored return value in region-allocator. Now returns a NULL 384966225e4dSsthen memory allocation failure and leaves region in a consistent state. 385066225e4dSsthen 385166225e4dSsthen20 March 2007: Wouter 385266225e4dSsthen - Released 3.0.5. 385366225e4dSsthen - (for 3.0.6) -O2 test for Alpha moved to saner position. 385466225e4dSsthen 385566225e4dSsthen16 March 2007: Wouter 385666225e4dSsthen - port configure to AIX, removed warning on ALIGNMENT in region code. 385766225e4dSsthen defined _ALL_SOURCE to get recent C definitions on AIX. 385866225e4dSsthen - improved nsec3.h comments. 385966225e4dSsthen 386066225e4dSsthen22 February 2007: Wouter 386166225e4dSsthen - Zonesdir default is now /etc/nsd. 386266225e4dSsthen So that the invocation directory is not used to dump files into. 386366225e4dSsthen The user can change the zonesdir by editing the config file. 386466225e4dSsthen The directory is created by install, if not an error is printed. 386566225e4dSsthen - updated tpkg tests to use current dir for testing. 386666225e4dSsthen - tcp connections that drop do not spam the log file. 386766225e4dSsthen Unless verbosity is set high. 386866225e4dSsthen 386966225e4dSsthen19 February 2007: Wouter 387066225e4dSsthen - Fix empty line printed with warning on 'force zone transfer'. 387166225e4dSsthen 387266225e4dSsthen15 February 2007: Wouter 387366225e4dSsthen - Check for EPROTO definition to compile on FreeBSD4/Alpha. 387466225e4dSsthen 387566225e4dSsthen13 February 2007: Mark 387666225e4dSsthen - Debug flag (-d) behavior changed. Nsd now also forks children when 387766225e4dSsthen run in debug mode. 387866225e4dSsthen - Added verbosity mode (-V <level>) for extra operational logging. 387966225e4dSsthen 388066225e4dSsthen8 January 2007: Wouter 388166225e4dSsthen - README text on interface configuration added. 388266225e4dSsthen 388366225e4dSsthen2 January 2007: Wouter 388466225e4dSsthen - Fixup accept() that could block due to already closed connection. 388566225e4dSsthen Made listen() nonblocking, ignores errcodes that indicate closed tcp. 388666225e4dSsthen 388766225e4dSsthen29 January 2007: Mark 388866225e4dSsthen - Handle the new CERT RDATA types defined in RFC 4398 (submitted 388966225e4dSsthen by Mans Nilsson). 389066225e4dSsthen - Change nsd-notify retry timer from linear into exponential backoff 389166225e4dSsthen (submitted by Mans Nilsson). 389266225e4dSsthen - Due to a small bug in a comparison statement, zonec would fail 389366225e4dSsthen on the parsing of unknown CERT types. This got triggered by the 389466225e4dSsthen first bugfix today, as that one shouldn't have been discovered in 389566225e4dSsthen the first place. Took the opportunity to sanitize two other 389666225e4dSsthen comparison statements related to strtol(). 389766225e4dSsthen 389866225e4dSsthen24 January 2007: Wouter 389966225e4dSsthen - Tentative change to set UDP sockets nonblocking. Perhaps it 390066225e4dSsthen helps Howard. 390166225e4dSsthen 390266225e4dSsthen19 January 2007: Wouter 390366225e4dSsthen - NSEC3 work. prehash printed only once with time taken to prepare. 390466225e4dSsthen - prints are now only in DEBUG mode (except errors). 390566225e4dSsthen - rr descriptor counts for NSEC3 updated, has an extra field flags. 390666225e4dSsthen - now NSEC3PARAMs with flags!=0 are ignored, as per draft-09. 390766225e4dSsthen - Fixed where only first NSEC3PARAM was properly detected. 390866225e4dSsthen - Added tpkg in manual (because you need to compile with nsec3) 390966225e4dSsthen that performs the test queries from draft-09 and checks them. 391066225e4dSsthen - Made tpkg to test NSEC3 parameter detection. NSD will skip any 391166225e4dSsthen NSEC3PARAMs that don't work until the first working one is found. 391266225e4dSsthen Also, this means unknown hash algorithms are simply ignored. 391366225e4dSsthen A zone that uses exclusively unknown hash algorithms for NSEC3 391466225e4dSsthen will give errors on loading (or after zone transfer) but NSD 391566225e4dSsthen will load and serve the zone (but no NSEC3s are returned). 391666225e4dSsthen - added tpkg in manual to test parent side DS answers. 391766225e4dSsthen These follow a different code path than child side DS. 391866225e4dSsthen - Will allow NSEC3s(and signatures) below a DNAME. 391966225e4dSsthen - A query for an NSEC3 ownername will lead to DNAME redirection 392066225e4dSsthen as if the NSEC3 did not exist. 392166225e4dSsthen - Test package in manual that tests NSEC3 and DNAME in the apex. 392266225e4dSsthen - Changed NSEC3 memory requirements from 5 pointers per domain name 392366225e4dSsthen to 3 pointers and 2 bits. 392466225e4dSsthen - Added jumpstart for nsec3 search, will greatly speed up optout 392566225e4dSsthen zone nxdomains. At the cost of one ptr per domain name. 392666225e4dSsthen The speedup also speeds up the nsec3 prepare stage. 392766225e4dSsthen 392866225e4dSsthen18 January 2007: Wouter 392966225e4dSsthen - Created 3.0.4 release tag. 393066225e4dSsthen - 3.0.5 number in trunk. 393166225e4dSsthen - add nsd.spec patch from Farkas Levente to contrib. 393266225e4dSsthen - NSEC3 new wireformat and presentation format from draft-09. 393366225e4dSsthen 393466225e4dSsthen11 January 2007: Wouter 393566225e4dSsthen - The message 'server .. closed cmd channel' is now priority INFO. 393666225e4dSsthen This to reduce the 'error' amount in the logs. 393766225e4dSsthen - On error in a tcp request, set to retry next instead of waiting 393866225e4dSsthen for the tcp timeout. 393966225e4dSsthen 394066225e4dSsthen9 January 2007: Wouter 394166225e4dSsthen - TSIG acl matching changed so that NOKEY allow-notify entries match 394266225e4dSsthen only queries without a tsig. Otherwise NSD would crash. 394366225e4dSsthen This only affects servers that have allow-notify: ip NOKEY and 394466225e4dSsthen someone sends a TSIG signed notify from that ip. 394566225e4dSsthen - test package for that. 394666225e4dSsthen - Fix for reply to notify messages with ANCOUNT wrong. The ack 394766225e4dSsthen to notify messages that passed the ACL, and had a SOA in the answer 394866225e4dSsthen section of the query, included wrong RR counts in the header. 394966225e4dSsthen - test package for notify reply wireformat. 395066225e4dSsthen 395166225e4dSsthen8 January 2007: Wouter 395266225e4dSsthen - ipc_send_blocked will not lead to busy waiting on it, but will block 395366225e4dSsthen in select, until SOA_END comes by. 395466225e4dSsthen - server_main sends SOA_END if reload crashes, to xfrd. So that xfrd 395566225e4dSsthen can set ipc_blocked=0 and can_send_reload=1; and thus resume service, 395666225e4dSsthen assuming that the crash was a temporary condition. 395766225e4dSsthen This will lead to trying every reload-timeout seconds to reload 395866225e4dSsthen if it is a permanent condition. Which is more obvious to the 395966225e4dSsthen operator. 396066225e4dSsthen - put the error "error: diff: RR ns.kiev.ua. already exists" in 396166225e4dSsthen debug mode only. Zone transfers with this error are liberally 396266225e4dSsthen accepted, and we should not spam the logfile. 396366225e4dSsthen - empty zones will not be retried forever every 10 seconds, 396466225e4dSsthen but exponential backoff to a max of every 4 hours. 396566225e4dSsthen The exact value is randomised to spread out attempts. 396666225e4dSsthen 396766225e4dSsthen5 January 2007: Wouter 396866225e4dSsthen - Fixed --zonesdir=<path> for configure. The value did not get used 396966225e4dSsthen as a default value. Now it is used as a default value. If a 397066225e4dSsthen default value is set for zonesdir, you can go to a 'no value 397166225e4dSsthen specified' by giving the empty string, zonesdir: "" in nsd.config. 397266225e4dSsthen - Fixed checkconf.tpkg for this change. nsd-checkconf will 397366225e4dSsthen output zonesdir: "" as this is the default for --zonesdir. 397466225e4dSsthen 397566225e4dSsthen2 January 2007: Wouter 397666225e4dSsthen - Added contrib script from Stephane Bortzmeyer to convert NSD 2 to 397766225e4dSsthen NSD 3 config files. Converts secondary zones and TSIG keys. 397866225e4dSsthen - Made config conversion script skip empty lines. 397966225e4dSsthen - Made config conversion script convert primary zones (and notify). 398066225e4dSsthen - Nsdc control script will exit with 'nsd startup failed.' if nsd 398166225e4dSsthen fails to start (due to bad config file for example). 398266225e4dSsthen 398366225e4dSsthen15 December 2006: Wouter 398466225e4dSsthen - Removed dlopen() checks from configure.ac, NSD3 no longer has 398566225e4dSsthen dynamic plugin support (since 3.0.0). 398666225e4dSsthen - added .rpm spec file to contrib. 398766225e4dSsthen - Updated README to remove reference to buildzones script. 398866225e4dSsthen 398966225e4dSsthen12 December 2006: Wouter 399066225e4dSsthen - Added missing include to ipc.c to compile on SunOS. 399166225e4dSsthen - Cast to avoid signed/unsigned comparison in compat/inet_ntop.c. 399266225e4dSsthen 399366225e4dSsthen11 December 2006: Wouter 399466225e4dSsthen - Added test to check for CNAME and other data error by zonec. 399566225e4dSsthen Currently NSEC, NSEC3, RRSIG, SIG, NXT are allowed next to CNAME. 399666225e4dSsthen - Fixup unaligned memory access that could occur when reading ixfr.db 399766225e4dSsthen with a partial transfer inside. 399866225e4dSsthen - RR type WKS (well known service) was not printed correctly, 399966225e4dSsthen htons() was forgotten when calling getservbyport. 400066225e4dSsthen - NSD does not complain about not being able to read the db CRC 400166225e4dSsthen when all that happens is the file became longer or shorter. 400266225e4dSsthen 400366225e4dSsthen8 December 2006: Wouter 400466225e4dSsthen - Moved down max XFRD UDP sockets for zone transfer queries to 100 400566225e4dSsthen down from 300. This makes the total socket max at 200, so it fits 400666225e4dSsthen easily under 256 ulimit (a common default). 400766225e4dSsthen 400866225e4dSsthen7 December 2006: Wouter 400966225e4dSsthen - Improved error message to help operator. 401066225e4dSsthen - created 3.0.3 svn tag. 401166225e4dSsthen - default of zonesdir corrected (no directory is default). 401266225e4dSsthen 401366225e4dSsthen4 December 2006: Wouter 401466225e4dSsthen - updated test packages. Moved 213_large from manual to long. 401566225e4dSsthen size_0, source_port_0 made more working (needs root permission). 401666225e4dSsthen 401766225e4dSsthen1 December 2006: Wouter 401866225e4dSsthen - Moved xfrd ipc and reload handlers to front of event handler 401966225e4dSsthen lists for a 10% speedup in xfrd. 402066225e4dSsthen - Fixed so that NSD no longer interrupts zone transfers when 402166225e4dSsthen a notify comes in for that zone. Added package to test it. 402266225e4dSsthen - Fixed warning on Solaris 10. 402366225e4dSsthen 402466225e4dSsthen30 November 2006: Wouter 402566225e4dSsthen - Test for fallback in getaddrinfo more portable. 402666225e4dSsthen Ported to FreeBSD 6.1 without inet6. 402766225e4dSsthen - New quit sync had a problem with blocking in dispatch. Fixed. 402866225e4dSsthen - reload will retry quit_sync if nothing happens. 402966225e4dSsthen - parent tries to empty the pipes before closing them on quitsync. 403066225e4dSsthen - xfrd does not send reload when previous reload request busy. 403166225e4dSsthen - netio will only deliver the number of bits from select 403266225e4dSsthen and then stop. Optimisation. 403366225e4dSsthen 403466225e4dSsthen29 November 2006: Wouter 403566225e4dSsthen - Fixed getaddrinfo error message to be more descriptive. 403666225e4dSsthen - Fallback to ip4 also if getaddrinfo fails for ip6. 403766225e4dSsthen - instead of EAI_ADDRFAMILY uses EAI_FAMILY which is portable 403866225e4dSsthen to FreeBSD. 403966225e4dSsthen - signed/unsigned warning fix for FD_SETSIZE comparison. 404066225e4dSsthen - Lots of debug statements and new quit sync feature, where 404166225e4dSsthen the server children are synced with. So as not to lose buffers. 404266225e4dSsthen 404366225e4dSsthen28 November 2006: Wouter 404466225e4dSsthen - Debugging 10k zones transfer, set so that zones waiting for a 404566225e4dSsthen socket do not get timeouts. 404666225e4dSsthen - Debug change so that an event is only returned to one handler 404766225e4dSsthen by netio. 404866225e4dSsthen Reversed this. Netio will not deliver events you do not listen 404966225e4dSsthen to, and since xfrd first listens to write then read, it will 405066225e4dSsthen not have problems with stale events (for the fd from the previous 405166225e4dSsthen select) because these are always read, while it needs a write. 405266225e4dSsthen Re-Reversed it: netio will deliver events only once. 405366225e4dSsthen This is easier to understand for the poor hapless developer. 405466225e4dSsthen - Need to set notify_current for notify on waiting list. Fixed. 405566225e4dSsthen 405666225e4dSsthen27 November 2006: Wouter 405766225e4dSsthen - Debugging 10k zones transfer, noticed that it is possible for 405866225e4dSsthen netio to give a callback for an event that you were not listening 405966225e4dSsthen to. Now no longer does that. 406066225e4dSsthen 406166225e4dSsthen16 November 2006: Wouter 406266225e4dSsthen - Bug #153: now checks for FD_SETSIZE when adding fd to select fdset. 406366225e4dSsthen - Easy overview of socket allocation for xfrd in xfrd.h 406466225e4dSsthen - Upped the default xfrd socket limits a bit. 406566225e4dSsthen - Log message that the TCP connection limit is reach is now only 406666225e4dSsthen in -L 2 logging. It is spammy. 406766225e4dSsthen - updated dependencies. 406866225e4dSsthen - Added test for notify-socketcount, and removed unused files from 406966225e4dSsthen bug153 test package. 407066225e4dSsthen - Notify udp sockets are also capped at a max number. The rest 407166225e4dSsthen has to wait in a queue. 407266225e4dSsthen 407366225e4dSsthen15 November 2006: Wouter 407466225e4dSsthen - Fixed bug #152: identity keyword in nsd.conf did not work. 407566225e4dSsthen What happened was that the hostname() from the computer 407666225e4dSsthen was overriding the nsd.conf identity. Fixed now. 407766225e4dSsthen If commandline is given that is used. 407866225e4dSsthen Else nsd.conf entry is used. 407966225e4dSsthen Else hostname() detected from computer is used. 408066225e4dSsthen Else default string "unidentified" is used. 408166225e4dSsthen 408266225e4dSsthen14 November 2006: Wouter 408366225e4dSsthen - Fixed bug where NSD tries to create 10000 udp sockets, 408466225e4dSsthen when starting with 10000 secondary zones. Limited to 50 408566225e4dSsthen at a time. The XFRD_MAX_UDP constant controls this. 408666225e4dSsthen 408766225e4dSsthen3 November 2006: Wouter 408866225e4dSsthen - Created tags/NSD_3_0_2_REL. 408966225e4dSsthen 409066225e4dSsthen2 November 2006: Wouter 409166225e4dSsthen - Added pdf for differences.tex for ease of use. 409266225e4dSsthen - Updated text in readme on memory usage. 409366225e4dSsthen 409466225e4dSsthen24 October 2006: Wouter 409566225e4dSsthen - Recycle rrset memory after doing special processing on the deleted 409666225e4dSsthen rrset data. 409766225e4dSsthen - log message clearer for 'duplicate xfr part' to 'discarding partial 409866225e4dSsthen xfr part'. 409966225e4dSsthen - if you have a server that has IXFR turned off but sends a TC flag 410066225e4dSsthen for IXFR queries, xfrd will retry to TCP. This makes the use of 410166225e4dSsthen 'AXFR' flag in nsd.conf file not needed in certain cases. 410266225e4dSsthen - Be thrifty and save up the memory that was lost at end of chunks 410366225e4dSsthen in the recycle bin. Saved 1.3Mb on 170(rrs)/220(total) Mb dataset. 410466225e4dSsthen 410566225e4dSsthen23 October 2006: Wouter 410666225e4dSsthen - Added checks for out of memory in reload (diff file). And it exits 410766225e4dSsthen if so neatly. 410866225e4dSsthen 410966225e4dSsthen13 October 2006: Wouter 411066225e4dSsthen - Bug #149: Wrong text for NOTAUTH error code. When notify is not 411166225e4dSsthen authorised REFUSED error code returned instead. 411266225e4dSsthen 411366225e4dSsthen4 October 2006: Wouter 411466225e4dSsthen - More fixes from Koh-ichi Ito (kohi@iri.co.jp now), for bug #146, 411566225e4dSsthen his bash does not do $(( )), so nsdc.sh has to use test of course. 411666225e4dSsthen 411766225e4dSsthen29 September 2006: Wouter 411866225e4dSsthen - recyclebin works, added a test that uses it (about 3 Mb goes 411966225e4dSsthen through the recyclebin). This resolves bug #147. 412066225e4dSsthen - Made -L 1 logging is little less verbose (-L 2 gets it all). 412166225e4dSsthen - added search path for openssl on Solaris 10 (/usr/sfw). 412266225e4dSsthen 412366225e4dSsthen28 September 2006: Wouter 412466225e4dSsthen - Removed unused global variable current_region, 412566225e4dSsthen and routines for it in region-allocator.c and .h. 412666225e4dSsthen - Added recycle option to regions. It will keep track of small 412766225e4dSsthen objects in a recycle bin. Large objects are deallocated. 412866225e4dSsthen No calls to recycle yet, unit test it first. 412966225e4dSsthen - added unit test for region recycle. 413066225e4dSsthen 413166225e4dSsthen27 September 2006: Wouter 413266225e4dSsthen - Further suggestion from Koh-ichi Ito, I've set opt->xfrdfile 413366225e4dSsthen to XFRDFILE in options_create. So opt->xfrdfile and opt->difffile 413466225e4dSsthen are never NULL. This simplifies code elsewhere. 413566225e4dSsthen And also handles chroot case (+=l) for default values. 413666225e4dSsthen - Fix for bug #145. The skip file position in the diff file was used 413766225e4dSsthen inconsistently - one part of the code skipped to before the 'IXFR' 413866225e4dSsthen type code and another part skipped to after that. Now all skip to 413966225e4dSsthen before the type code. This bug only happens if your diff file 414066225e4dSsthen is like: zone1_part1, zone2_part_1, zone1_part2, zone1_commit, 414166225e4dSsthen zone2_part2, zone2_commit. The skip over zone1_part1 failed. 414266225e4dSsthen - tpkg test in long dir that tests for the bugfix. Takes a long time 414366225e4dSsthen and uses ldns-testns feature to wait partway through an AXFR. 414466225e4dSsthen - removed debug log of strerror on diff read failure, when the errno 414566225e4dSsthen was already output to the logfile (resulting in a nonsense error). 414666225e4dSsthen 414766225e4dSsthen26 September 2006: Wouter 414866225e4dSsthen - NSD compiles on Solaris 10 with the sun cc compiler. 414966225e4dSsthen Added a define for _STDC_C99 for that. 415066225e4dSsthen - Checked that the patch for solaris for bug 143 indeed fixes the bug. 415166225e4dSsthen - Fixed bug #146 reported by Koh-ichi Ito: when chrooted nsd failed 415266225e4dSsthen to write xfrdfile/difffile. 415366225e4dSsthen 415466225e4dSsthen18 September 2006: Wouter 415566225e4dSsthen - no queries for NSEC3, RRSIG, ANY succeed for nsec3 only domains. 415666225e4dSsthen 415766225e4dSsthen15 September 2006: Wouter 415866225e4dSsthen - Fixed LOC parsing of integer overflow causing maximum values. 415966225e4dSsthen Added to test and backported fix to 2.3.6. 416066225e4dSsthen - NSEC3 qtype queries get noerror/nodata or nxdomain answers. 416166225e4dSsthen You can query for NSEC3PARAM. 416266225e4dSsthen - warnings for printf format on maxOS (sizet needs cast to int). 416366225e4dSsthen 416466225e4dSsthen13 September 2006: Wouter 416566225e4dSsthen - added fsync to AF_UNIX sockets to write last command (QUIT) before 416666225e4dSsthen closing them. 416766225e4dSsthen - sent explicit QUIT command to xfrd on final shutdown of the server. 416866225e4dSsthen 416966225e4dSsthen12 September 2006: Wouter 417066225e4dSsthen - Bug #144: LOC defaults for unspecified values wrong. Error in zonec. 417166225e4dSsthen Set defaults. Also fixed parser if LOC has no minutes or seconds. 417266225e4dSsthen - Also fixed rounding error in seconds 0.001 decimal. 417366225e4dSsthen - Test tpkg for bug 144. 417466225e4dSsthen 417566225e4dSsthen11 September 2006: Wouter 417666225e4dSsthen - nsdc now more portable in use of 'which'. 417766225e4dSsthen Does not only look at exit code but also checks for '^no ' string. 417866225e4dSsthen - nsd-patch does a chdir to zonesdir for relative difffile or dbfile 417966225e4dSsthen path names. 418066225e4dSsthen - nsdc handles zonesdir: for relative pidfile, dbfile, difffile 418166225e4dSsthen pathnames. 418266225e4dSsthen 418366225e4dSsthen7 September 2006: Wouter 418466225e4dSsthen - bumped version to 3.0.2. 418566225e4dSsthen - Nice configuration error when you had the wrong zone name in the 418666225e4dSsthen nsd.conf file. Zonec will give an error already. 418766225e4dSsthen - When you start a secondary zone without a zone file, you get 418866225e4dSsthen a much nicer error message, warning you of the zone transfer. 418966225e4dSsthen - Credits for prerelease testers; Thanks guys! 419066225e4dSsthen 419166225e4dSsthen6 September 2006: Wouter 419266225e4dSsthen - Fixed nsd-patch so that it writes the SOA at the start of the file. 419366225e4dSsthen - test tpkg that tests for the bug, has multiple rrsets at zone apex 419466225e4dSsthen and does nsd-patch followed by zonec. 419566225e4dSsthen Previous tests did not catch this: they used nsd-xfer to test zone 419666225e4dSsthen contents, or only checked the zone-file after nsd-patch. 419766225e4dSsthen - version number bumped to 3.0.1. 419866225e4dSsthen - svn tag 3_0_1 made. 419966225e4dSsthen 420066225e4dSsthen5 September 2006: Wouter 420166225e4dSsthen - differences file improvements. 420266225e4dSsthen - created 3.0.0 release in svn tags. 420366225e4dSsthen 420466225e4dSsthen4 September 2006: Wouter 420566225e4dSsthen - From suggestions by Bin Zhang: 420666225e4dSsthen - nsdc restart does not fail if nsd was not running. 420766225e4dSsthen - fixes to man pages, wrong locations for files. 420866225e4dSsthen - NSEC3-PARAM has no optout bit in presentation format. 420966225e4dSsthen - NSEC3PARAM spelling. 421066225e4dSsthen - differences in latex format (needs nlnetlabs housestyle). 421166225e4dSsthen 421266225e4dSsthen31 August 2006: Wouter 421366225e4dSsthen - Fix for tsig size still set when data is null ptr. 421466225e4dSsthen - Fix configure for NetBSD (1.6 - 2.0) to find struct timespec. 421566225e4dSsthen - DIFFERENCES file completion. 421666225e4dSsthen 421766225e4dSsthen30 August 2006: Wouter 421866225e4dSsthen - Print error nicely when nonblocking connect fails on systems 421966225e4dSsthen in a portable way. 422066225e4dSsthen - doc/UPGRADING document to assist NSD 2 to 3 upgrades. 422166225e4dSsthen - updates of error print - ignore EINPROGRESS if we check too early. 422266225e4dSsthen - wait for select writable before testing for connect error. 422366225e4dSsthen - echo "" >&2 is not as portable as we would like, removed from nsdc. 422466225e4dSsthen - fixed debug print of a null ptr. 422566225e4dSsthen - fixed bug where query for CNAME that points to unserved zone caused 422666225e4dSsthen nullptr exception on empty zone ptr. Now original zone is restored 422766225e4dSsthen after CNAME-pointed data is added to the packet. 422866225e4dSsthen Test in dname.tpkg. Reported by Kai. 422966225e4dSsthen - fixed stack corruption when ipv6 disabled. 423066225e4dSsthen 423166225e4dSsthen29 August 2006: Wouter 423266225e4dSsthen - NSEC3 made it so it can handle the case where the NSEC3 RRSET 423366225e4dSsthen with the SOA bit on does not have the RR with the soa bit set 423466225e4dSsthen as the first RR. 423566225e4dSsthen - Handle NSEC3-PARAM type. Checks to see if any of them work: 423666225e4dSsthen zone apex hashed exists, with NSEC3 type, and RR that has 423766225e4dSsthen the same parameters and the SOA bit set. 423866225e4dSsthen - in presentation format of NSEC3, NSEC3-PARAM reversed hash, optout. 423966225e4dSsthen - update to the DIFFERENCES file, bind 9.3.2 vs NSD 3 and 424066225e4dSsthen NSD 2 and 3 comparisons are completed. 424166225e4dSsthen 424266225e4dSsthen28 August 2006: Wouter 424366225e4dSsthen - echo messages in nsdc made clearer. nsdc notify and nsdc update 424466225e4dSsthen only send notify messages to slaves / localhost to force transfers. 424566225e4dSsthen - initial NSEC3-PARAM type code entry. parsed, ignored. 424666225e4dSsthen 424766225e4dSsthen25 August 2006: Wouter 424866225e4dSsthen - disabled make test target as tests are not shipped. 424966225e4dSsthen - performed prerelease static snapshot. 425066225e4dSsthen - updates to the DIFFERENCES document. 425166225e4dSsthen 425266225e4dSsthen24 August 2006: Wouter 425366225e4dSsthen - Fix bug 141 port from 2.3.6, copies behaviour from bind 9.3.2. 425466225e4dSsthen - Added a test for bug 141. 425566225e4dSsthen - Bug141: save the opcode from the query. 425666225e4dSsthen 425766225e4dSsthen23 August 2006: Wouter 425866225e4dSsthen - Fixed % by 0 exception in the bugfix #139. 425966225e4dSsthen - Fixed RFC 4035 says CD flag SHOULD be cleared on authoritative 426066225e4dSsthen responses, now NSD clears the CD flag. This is bug #140. 426166225e4dSsthen RFC 4035 could be confusing on this, as it states 'all servers 426266225e4dSsthen MUST copy the CD bit' more than once, but then makes clear only 426366225e4dSsthen recursive servers are meant with that statement. 426466225e4dSsthen - Differences document updates for bind 9.3.2 and nsd 3. 426566225e4dSsthen 426666225e4dSsthen22 August 2006: Wouter 426766225e4dSsthen - version number to 3.0.0 in preparation for release. 426866225e4dSsthen - Bug #139: resync stats to whole period. Fixed. 426966225e4dSsthen 427066225e4dSsthen21 August 2006: Wouter 427166225e4dSsthen - check for error in ftruncate call. 427266225e4dSsthen - replaced fwrite call with write_data call from util that does 427366225e4dSsthen error checking. 427466225e4dSsthen 427566225e4dSsthen15 August 2006: Wouter 427666225e4dSsthen - removed unused struct nsd.named8_stats variable. 427766225e4dSsthen - Bug #138: nsd aborts trying to bind all interfaces if ip6 is not 427866225e4dSsthen enabled, instead it will fallback to ip4. 427966225e4dSsthen 428066225e4dSsthen14 August 2006: Wouter 428166225e4dSsthen - Added test for rollback of an IXFR transfer by xfrd. 428266225e4dSsthen - Added test for reload timeout in xfrd, the reload does happen after 428366225e4dSsthen a while, but not immediately. 428466225e4dSsthen - Test that makes xfrd connect to ip6 address. 428566225e4dSsthen - Test that overloads the number of tcp connections in xfrd, 428666225e4dSsthen simulating a slow master, so that zones have to queue up to get it. 428766225e4dSsthen - code coverage is now 2514 of 10636 uncovered. Still a lot uncovered. 428866225e4dSsthen - ixfr queries return NOT_IMPL errors. 428966225e4dSsthen 429066225e4dSsthen11 August 2006: Wouter 429166225e4dSsthen - srandom to init random() in xfrd based on PID and time. 429266225e4dSsthen - improved usage() information to be more helpful, and with version. 429366225e4dSsthen - in makedist.sh, flex and bison called like in Makefile. 429466225e4dSsthen - test for tcp underrun and overrun of the buffer. 429566225e4dSsthen 429666225e4dSsthen10 August 2006: Wouter 429766225e4dSsthen - added more tests to increase code coverage of testset. 429866225e4dSsthen - moved acl parsing code from configparser.c to options.c to help 429966225e4dSsthen unit testing. 430066225e4dSsthen - nsd-checkconf echod wrong difffile filename with -v. 430166225e4dSsthen - nsd-patch can now be used with -f to force printing of all RRs. 430266225e4dSsthen - TYPE_NULL crashed NSD when it printed it, arg was ZF_DNAME, 430366225e4dSsthen now ZF_UNKNOWN. 430466225e4dSsthen - unknown rr test was faulty on input, the length was in nibbles 430566225e4dSsthen not in octets, but rfc specifies octets for unknown rrs. 430666225e4dSsthen NSD does not look at the length, and prints the length correctly. 430766225e4dSsthen - added type NXT to the rr-test for weird RRs. 430866225e4dSsthen - added printing test to rr-test, ipseckey and unknown-rr tests. 430966225e4dSsthen checks if NSD prints the same RR on output as it read in. 431066225e4dSsthen - put -x option for nsd-patch in usage(). 431166225e4dSsthen - test that kills an nsd child server and checks that it is 431266225e4dSsthen restarted. 431366225e4dSsthen 431466225e4dSsthen9 August 2006: Wouter 431566225e4dSsthen - tested nsdc functionality, make install and make uninstall. 431666225e4dSsthen - set O_NONBLOCKING on xfrd tcp sockets before the connect call, 431766225e4dSsthen because the handshaking can take very long too. 431866225e4dSsthen - difffile and xfrdfile set via configure, to absolute pathnames, 431966225e4dSsthen so that chroot checks work for them. 432066225e4dSsthen - updated tpkgs, they need to set relative paths now for difffile. 432166225e4dSsthen - gcov says 2821 of 10617 total code lines are not covered. 432266225e4dSsthen compiled with --coverage, not -O2, ran tpkg/* and long/testplan*. 432366225e4dSsthen counted grep '#####:' *.gcov | wc and grep '^ *[0-9]*:' *.gcov | wc. 432466225e4dSsthen - cleaned up the log functions, NSD no longer spams the syslog with 432566225e4dSsthen debug messages. The standard NSD debug util is used, -F -1 -L 2 for 432666225e4dSsthen a compile configured with --enable-checking will enable them again. 432766225e4dSsthen Errors are logged, as is the automated reload of a new serial. 432866225e4dSsthen - tpkgs for bug077 and bug107 were silently failing to test properly. 432966225e4dSsthen 433066225e4dSsthen8 August 2006: Wouter 433166225e4dSsthen - fixes for checkconf test, more portable. 433266225e4dSsthen - removed items from TODO that have been tested. 433366225e4dSsthen for multihomed servers you have to bind to each interface 433466225e4dSsthen explicitly to get outgoing ip-address the same as query 433566225e4dSsthen destination ip-address. 433666225e4dSsthen Forks and if-existing are tested and ok in testplan tests. 433766225e4dSsthen close_all_sockets is called by child, if tcponly, so leave it. 433866225e4dSsthen - user name check is hard portably with shell scripts, and 433966225e4dSsthen packaging could set a default user that does not exist on a machine. 434066225e4dSsthen - empty nodes (nonterminals) give no nxdomain any more (todo item done). 434166225e4dSsthen - removed (old) from TODO. 434266225e4dSsthen - removed contrib/buildzones.pl, it is outdated. 434366225e4dSsthen 434466225e4dSsthen7 August 2006: Wouter 434566225e4dSsthen - Made the tests a little more portable. 434666225e4dSsthen - fixed mempcy unable to handle unaligned memory addresses on Solaris, 434766225e4dSsthen used memmove instead of memcpy in zonec LOC conversion code. 434866225e4dSsthen - another unaligned memory access, when storing off_t pointer in 434966225e4dSsthen difffile.c, used memmove. 435066225e4dSsthen 435166225e4dSsthen4 August 2006: Wouter 435266225e4dSsthen - nsd will start if diff file is corrupt, with a log message. 435366225e4dSsthen It ignores the bad data. 435466225e4dSsthen - tpkg files do not override PATH, svnhook sets it. So user can 435566225e4dSsthen set path to utilities on the system to run the tests. 435666225e4dSsthen - running testset on DecAlpha discovered uninitialised variable 435766225e4dSsthen in NSD. Fixed. 435866225e4dSsthen - Jakob Schlyter asked for building nsd3 in an obj dir, i.e. 435966225e4dSsthen mkdir obj; cd obj; ../configure && make. Fixed up makefile for that. 436066225e4dSsthen - and bug137.tpkg for separate obj dir building. 436166225e4dSsthen 436266225e4dSsthen3 August 2006: Wouter 436366225e4dSsthen - more tests in mesh test. 436466225e4dSsthen - changed test packages to put nsd log to test result "/dev/stdout". 436566225e4dSsthen - test packages more portable - use default 'dig' location. 436666225e4dSsthen also, path is appended to, instead of replaced. 436766225e4dSsthen 436866225e4dSsthen2 August 2006: Wouter 436966225e4dSsthen - Region can be customised for detailed memory handling. 437066225e4dSsthen Especially if you set large_object_size=0, chunk_size=0, 437166225e4dSsthen the region will perform individual allocs, and 'save memory'. 437266225e4dSsthen The region still keeps tracks of allocations so that at 437366225e4dSsthen region_free time all memory is released. 437466225e4dSsthen - tsig.region removed, it was not used after attaching a cleanup 437566225e4dSsthen at creation. tsig creation uses custom region settings. 437666225e4dSsthen - xfrd inits the tsig records with memory saving settings, 437766225e4dSsthen so the regions alloced for tsig take up about 60 + 4*8 bytes. 437866225e4dSsthen - new custom region for query region - to make chunksize larger 437966225e4dSsthen there. The chunksize for the query region is important, if 438066225e4dSsthen all allocations for a query fit in it, no mallocs are needed. 438166225e4dSsthen - TSIG other_data field size according to RFC 2845 is 0 or 6. 438266225e4dSsthen In tsig implementation put a maximum to the field of 16, 438366225e4dSsthen otherwise a formerror results. 438466225e4dSsthen - query with IXFR appended SOA not formerror. 438566225e4dSsthen IXFR queries not reach the handler in axfr.c for IXFR queries. 438666225e4dSsthen - removed annoying debug message of added tsig key. 438766225e4dSsthen - added test that starts 7 servers in a mesh and lets them fight out 438866225e4dSsthen what zones to transfer and serve. 438966225e4dSsthen - xfrd logic bug: if notified a slave would not see the renewal 439066225e4dSsthen of its current zone. 439166225e4dSsthen 439266225e4dSsthen1 August 2006: Wouter 439366225e4dSsthen - Test for remove domains with IXFR. 439466225e4dSsthen - Fix for empty nonterminals and IXFR deletes. 439566225e4dSsthen - Test for timeouts, including expiry, and expiry and zone updates. 439666225e4dSsthen - Test for axfr refused authorisation. 439766225e4dSsthen - Test for deadlock in ipc. 439866225e4dSsthen 439966225e4dSsthen31 July 2006: Wouter 440066225e4dSsthen - Test plan ixfr test in tpkg/long directory. 440166225e4dSsthen - IXFR with many packets tested (one RR per packet). 440266225e4dSsthen 440366225e4dSsthen28 July 2006: Wouter 440466225e4dSsthen - tentative change, that preserves ordering of rrtypes for a domain. 440566225e4dSsthen - fix for serial rollover (old_serial + 2**31), now works, is seen 440666225e4dSsthen as new serial and rolled over to new. 440766225e4dSsthen - serial numbers, and time values, printed as unsigned to logfile. 440866225e4dSsthen - set so that if info is provided by operator, refreshing state 440966225e4dSsthen not expired is used. 441066225e4dSsthen - forgot to * a pointer to boolean, is_ixfr in the difffile reader. 441166225e4dSsthen This fixes the testplan_ixfr test 1. 441266225e4dSsthen 441366225e4dSsthen27 July 2006: Wouter 441466225e4dSsthen - fixup desc of tsig xfer test, remove debug from xfr_huge. 441566225e4dSsthen - fixed compressed dname tables cleanup, to set ptr to NULL. 441666225e4dSsthen - initialised xfrd_listener.fd to -1. 441766225e4dSsthen - fixed difffile handling of very short AXFRs, with no data. 441866225e4dSsthen 441966225e4dSsthen26 July 2006: Wouter 442066225e4dSsthen - Updated the requirements with comments from Olaf. 442166225e4dSsthen - README discourages use of experimental nsec3 rr a bit more. 442266225e4dSsthen - typo in DNAME code, used original qname instead of CNAME 442366225e4dSsthen adapted qname variable. 442466225e4dSsthen - added IPSECKEY RR type, RFC 4025. 442566225e4dSsthen - tpkg test with sample ipseckey rrs. 442666225e4dSsthen - wireformat for IPSECKEY depends on the value of a rdata atom, added 442766225e4dSsthen WF_IPSECGATEWAY to handle that. 442866225e4dSsthen - DHCID type, data is encoded in one binary/b64 blob. 442966225e4dSsthen 443066225e4dSsthen25 July 2006: Wouter 443166225e4dSsthen - max number of tries for nsd-notify is 15, so that the 443266225e4dSsthen total time for sending is about 75 seconds. 443366225e4dSsthen - forward port of fixes for bug 105 and 135 in nsdc. 443466225e4dSsthen forward port of test for bug 105. 443566225e4dSsthen - fixed nasty bug with configure --prefix=<...> where config.h 443666225e4dSsthen was wrong. Now double evaluate the shell expansion on the defines. 443766225e4dSsthen 443866225e4dSsthen5 July 2006: Wouter 443966225e4dSsthen - helped in README with gnu make; need to make clean 444066225e4dSsthen so that botched attempts by make to create the lexer files 444166225e4dSsthen do not stay around. 444266225e4dSsthen - removed %zd, replaced by casts to int. 444366225e4dSsthen - updated REQUIREMENTS file, the sections on RR types, on what 444466225e4dSsthen algorithm NSD follows and on which RFCs are supported are updated. 444566225e4dSsthen 444666225e4dSsthen3 July 2006: Wouter 444766225e4dSsthen - 'make depend' target in makefile. (updates both Makefile.in 444866225e4dSsthen and Makefile, so it works for users and for svn). 444966225e4dSsthen - doc minor update. 445066225e4dSsthen 445166225e4dSsthen2 July 2006: Wouter 445266225e4dSsthen - TESTPLAN, README, bugzilla-bugs docs updated. 445366225e4dSsthen - NSD for BIND users update. 445466225e4dSsthen 445566225e4dSsthen29 June 2006: Wouter 445666225e4dSsthen - removed --zonesfile nsd.zones configure option. 445766225e4dSsthen - doc/README updated for 3.0. 445866225e4dSsthen - doc update. NSD_FOR_BIND_USERS document. 445966225e4dSsthen - moved from -Ds to the config.h header, cleaner compilation output. 446066225e4dSsthen - use autoconfs built in large file support enabler. 446166225e4dSsthen 446266225e4dSsthen28 June 2006: Wouter 446366225e4dSsthen - nsdc neater, checks for BLOCKED ips more strictly. 446466225e4dSsthen - nsd -d also disables xfrd forking, and thus all reloads 446566225e4dSsthen and secondary zone treatment. Stated so in manual page. 446666225e4dSsthen - fixup, apart from ip4 need to allow ip6 in example.conf 446766225e4dSsthen line showing how to allow access for everyone to axfr. 446866225e4dSsthen 446966225e4dSsthen27 June 2006: Wouter 447066225e4dSsthen - Fixed read in server.c to be a blocking read for sure, 447166225e4dSsthen even if ipc is not blocking on the OS. 447266225e4dSsthen - nsd-notify tries to send notify 5 times, then exits with error. 447366225e4dSsthen - nsd-checkconf can lookup key secrets by name from a config file. 447466225e4dSsthen - difffile option is always set in options struct with default 447566225e4dSsthen or config value. 447666225e4dSsthen - nsd-patch uses dnames to compare zone names (for trailing .). 447766225e4dSsthen - nsdc updated to work with config file. 447866225e4dSsthen 447966225e4dSsthen26 June 2006: Wouter 448066225e4dSsthen - Nicer check in autoconf for struct timespec type. 448166225e4dSsthen - NSEC3 next hashed ownername is a length byte followed by data. 448266225e4dSsthen - nsd-checkconf more quiet, clearer error message. 448366225e4dSsthen - NSEC3 does not complain about glue records without nsec3. 448466225e4dSsthen - nsdc work (did start, stop, running, rebuild, restart, reload, stats). 448566225e4dSsthen 448666225e4dSsthen21 June 2006: Wouter 448766225e4dSsthen - nsid commandline parsed using hex_pton routine. 448866225e4dSsthen - unit test for hex_pton. 448966225e4dSsthen - added include stdlib, needed for free() on sunos4. 449066225e4dSsthen - fixup of disable-ipv6 compilation. 449166225e4dSsthen - memmove compat implementation (created fresh). 449266225e4dSsthen - yy_set_bol() for old flex compat define. 449366225e4dSsthen - compat implementation from openssh4.3p2 for 449466225e4dSsthen strlcpy, inet_aton, and inet_ntop routines. 449566225e4dSsthen - changed ctime_r usage to ctime() call, nsd is not threaded. 449666225e4dSsthen - compiles on SunOS4/gcc-2.95. 449766225e4dSsthen - debug statements go to the log_msg route instead of the 449866225e4dSsthen fprintf route, so they will get to a nice logfile even if 449966225e4dSsthen we forked away, with xfrd. logfile=/dev/stderr gives old way. 450066225e4dSsthen - minor changes to cutest to make unit test compile 450166225e4dSsthen on SunOS4/gcc-2.95, it checks out fine there. 450266225e4dSsthen 450366225e4dSsthen20 June 2006: Wouter 450466225e4dSsthen - updated configure to disable -O2 on platforms where gcc 450566225e4dSsthen does not like it (such as dec-alpha). 450666225e4dSsthen - nsd-notify used recvfrom and passed addrinfo.ai_addrlen 450766225e4dSsthen which is a size_t, but recfrom needs a socklen_t*. On dec 450866225e4dSsthen alpha these types differ in size (size_t is 64bit, 450966225e4dSsthen socklen_t is 32bit). Therefore, used a wrapper variable 451066225e4dSsthen to pass to recvfrom. 451166225e4dSsthen - changed long int to time_t in nsd-patch.c to please compiler 451266225e4dSsthen on dec alpha. 451366225e4dSsthen - dec alpha complains if statements are in front of variable 451466225e4dSsthen definitions. Fixed code for some mixups on this. 451566225e4dSsthen - Fixup cutest for dec alpha. Code, lowercase filename, %lf->%f. 451666225e4dSsthen - cutest fixup uses (size_t) cast and %zx to print ptrs (for debug). 451766225e4dSsthen - for SunOS4 configure detects ssize_t and struct timespec. 451866225e4dSsthen - removed usage of fpos_t, instead using fseeko/ftello for 64bit. 451966225e4dSsthen - configure will define fseeko/ftello with fseek/ftell if unavailable. 452066225e4dSsthen - added missing include from buffer.c (stdlib for free()). 452166225e4dSsthen - defines for snprintf and vsnprintf in config.h if needed. 452266225e4dSsthen - configlexer flex is called more cleanly with -t to write stdout. 452366225e4dSsthen - missing include from configparser, stdlib for atoi. 452466225e4dSsthen - config.h provide inet_pton define if it is not available. 452566225e4dSsthen - fixup of INET6 defines, where sockaddr_storage is used 452666225e4dSsthen outside of INET6 defines, in xfrd-tcp. 452766225e4dSsthen - edns_init_nsid was not defined in edns.h. 452866225e4dSsthen - added compat/fake-rfc2553.c and h from openssh 4.3p2. That has 452966225e4dSsthen a BSD license as well. They replace getaddrinfo() (and friends) 453066225e4dSsthen when those are missing. 453166225e4dSsthen 453266225e4dSsthen19 June 2006: Wouter 453366225e4dSsthen - updated the tpkg/manual tests for NSD 3 config files. 453466225e4dSsthen Some need root privileges to run (using hping), they all pass. 453566225e4dSsthen - also the tpkg/long test bug_sighup. 453666225e4dSsthen - nsec3 code will warn at prehash time for missing exact nsec3 453766225e4dSsthen records. So faulty signed zones are more easily spotted. 453866225e4dSsthen - fixed NSEC3 and CNAME/DNAME chains, it will disprove the new qname. 453966225e4dSsthen - removed for() look in CNAME processing, only first CNAME is 454066225e4dSsthen processed now. 454166225e4dSsthen - zonec will error on a zone with multiple CNAMEs for one name. 454266225e4dSsthen 454366225e4dSsthen16 June 2006: Wouter 454466225e4dSsthen - Swapped read and write ops in xfrd_handle_ipc, so that a read 454566225e4dSsthen of a signal from main can stop further writes. 454666225e4dSsthen - xfrd will complete its last message before shutting down 454766225e4dSsthen the ipc writes and then acknowledge the reload-sync. 454866225e4dSsthen This resolves the race where half of ipc messages caused bad 454966225e4dSsthen modes from the main. 455066225e4dSsthen 455166225e4dSsthen15 June 2006: Wouter 455266225e4dSsthen - In preparation of notify send overhaul, moved the notify 455366225e4dSsthen send code to xfrd-notify.c and h files. 455466225e4dSsthen - created cleaner split of notify send and xfr code. 455566225e4dSsthen Still in the xfr process, because it is a convenient location. 455666225e4dSsthen - fixed bug where notify sending would read from wrong fd. 455766225e4dSsthen - send master zone notifies. 455866225e4dSsthen Does not skips master zone SOA INFO updates. 455966225e4dSsthen - fixed bug where port number acls did not match. 456066225e4dSsthen - fixed bug where tsig keys are checked for twice, but not error_code. 456166225e4dSsthen - fixed notify send retry counting. 456266225e4dSsthen - added test tpkg for notifies from nsd master to nsd slave. 456366225e4dSsthen - nsd-checkconf flags if you set allow-notify without request-xfr. 456466225e4dSsthen 456566225e4dSsthen14 June 2006: Wouter 456666225e4dSsthen - fixed crash bug when dnssec/NSEC enabled and query DNAME 456766225e4dSsthen target did not exist. 456866225e4dSsthen 456966225e4dSsthen13 June 2006: Wouter 457066225e4dSsthen - created doc subdirectory for documentation. 457166225e4dSsthen - removed unused DIFF FILE MAGIC string. 457266225e4dSsthen 457366225e4dSsthen12 June 2006: Wouter 457466225e4dSsthen - dname_test tpkg with very extensive DNAME testing. 457566225e4dSsthen - moved sizes of zone_name buffers to 3072 - for escaped names. 457666225e4dSsthen - nsd-patch has a debug option to list the contents of the 457766225e4dSsthen difffile/ixfr.db/transfer patch log in a journal fashion. You can 457866225e4dSsthen then manually inspect the contents. 457966225e4dSsthen 458066225e4dSsthen9 June 2006: Wouter 458166225e4dSsthen - after a reload NSD will report the memory churn: number of bytes 458266225e4dSsthen of memory wasted by the zone transfer code. 458366225e4dSsthen 458466225e4dSsthen8 June 2006: Wouter 458566225e4dSsthen - When zone is re-chosen after a CNAME/DNAME no SERVFAIL is set, 458666225e4dSsthen noerror is returned instead. 458766225e4dSsthen - zonec will error on multiple DNAMEs for the same name. 458866225e4dSsthen - zonec will error on DNAME and CNAME together. 458966225e4dSsthen - improved loop log message. 459066225e4dSsthen 459166225e4dSsthen7 June 2006: Wouter 459266225e4dSsthen - after DNAME the closest_match is set correctly for another DNAME. 459366225e4dSsthen - in case of a loop returns gracefully instead of crash. 459466225e4dSsthen - nsec3 checks if it is enabled for the zone for wildcards. 459566225e4dSsthen - NSD will give referrals for zone cuts encountered after a CNAME 459666225e4dSsthen or a DNAME. This also fixed various subtle stuff with CNAME/DNAME 459766225e4dSsthen and TYPE_DS at zone cuts. It basically re-determines the zone 459866225e4dSsthen to use after the CNAME/DNAME. 459966225e4dSsthen 460066225e4dSsthen6 June 2066: Wouter 460166225e4dSsthen - zonec checks for data below a DNAME, and will not create the db, 460266225e4dSsthen as per rfc 2672. Tpkg test to make sure such a zone is not loaded. 460366225e4dSsthen - updated rr-test tpkg so it has no data below a DNAME. 460466225e4dSsthen - DNAME synthesis of CNAME records, including compression for cname. 460566225e4dSsthen - included cname creation in dname test. 460666225e4dSsthen - preallocate the extra temporary domain_type structures. 460766225e4dSsthen - too many temp domains returns OK packet so that the resolver 460866225e4dSsthen will recurse and ask us again with the last name in the chain. 460966225e4dSsthen - fixed bug introduced in preallocation on temp domain numbering. 461066225e4dSsthen 461166225e4dSsthen2 June 2006: Wouter 461266225e4dSsthen - dname_replace function that does DNAME replace and unit tests. 461366225e4dSsthen - added error codes from DNSUPD rfc2136 to constants in dns.h. 461466225e4dSsthen - in query.c added DNAME following code. 461566225e4dSsthen - fixed bug 134: hints[i] in nsd.c to hints[0]. 461666225e4dSsthen - added tpkg small test for DNAME. 461766225e4dSsthen - tpkg to test bug 134 (starts 100 processes). 461866225e4dSsthen 461966225e4dSsthen1 June 2006: Wouter 462066225e4dSsthen - tsig test with NSD master and NSD slave server. Tsig AXFR transfer. 462166225e4dSsthen nsd-xfer used to test slave zone contents. 462266225e4dSsthen - fixed bug where buffer_flip() is done before appending tsig rr. 462366225e4dSsthen - version printed at start of nsd in logfile. 462466225e4dSsthen - xfrd prints name of tsig key used during transfer in commit comments 462566225e4dSsthen so it appears in the log file and in zonefile after nsd-patch. 462666225e4dSsthen - prints RRs from diff file only if debug level >= 1. 462766225e4dSsthen - scalable transfer test xfr_gig added, you can set the size to try 462866225e4dSsthen in the .pre file. Now set very small. 462966225e4dSsthen 463066225e4dSsthen31 May 2006: Wouter 463166225e4dSsthen - xfrd check for failed updates. It compares the time it wrote the 463266225e4dSsthen commit to disk with the time of the last reload command. 463366225e4dSsthen Failed updates are restarted like the zone is notified of the soa. 463466225e4dSsthen It also catches reloads that have been lost (reload cmd while reload 463566225e4dSsthen is running, or a crashed reload process, for example). 463666225e4dSsthen - when reload is issued, times at that second are put back one second, 463766225e4dSsthen so that after a reload all the zones that should have been loaded 463866225e4dSsthen have a time from before the reload. 463966225e4dSsthen - if a reload crashes, NSD will continue with the old database, 464066225e4dSsthen xfrd is not informed, since it cannot fix that. 464166225e4dSsthen - nsd-checkconf strdups arg strings before writing to it. 464266225e4dSsthen - tsig error replies contain error data, but no signature. 464366225e4dSsthen also crashproof, badly formatted tsigs get a format error. 464466225e4dSsthen - tsig error print knows about DNS rcodes in tsig error field. 464566225e4dSsthen - added tpkg tests for tsig. 464666225e4dSsthen - tpkg test for nsd-xfer with TSIG from nsd. 464766225e4dSsthen - small stuff with makedist.sh, CREDITS, Features, make test. 464866225e4dSsthen 464966225e4dSsthen30 May 2006: Wouter 465066225e4dSsthen - tsig pre-allocs the rr_region, not at runtime, tsig_create_record(). 465166225e4dSsthen - redid some region work for tsig. Now has another temporary region 465266225e4dSsthen for the context data. User is only aware of the region passed at 465366225e4dSsthen start that exists for the lifetime of the struct. 465466225e4dSsthen During TSIG checks no more mallocs are done, only region_free_all 465566225e4dSsthen and region allocs (of small size). 465666225e4dSsthen - checkconf, port is stored as a string. 465766225e4dSsthen - tsig now keeps a max_digest_size for giving reserved space. 465866225e4dSsthen - AXFR does tsig every 96 packets (and first and last packet). 465966225e4dSsthen - tsig signing works for all queries. SOA queries, ... 466066225e4dSsthen If you configured the key in the config file, you can use 466166225e4dSsthen that key for any query for any zone. 466266225e4dSsthen Except for NOTIFY and AXFR queries; those are only allowed for 466366225e4dSsthen the zone (and source ip address) which are configured in the config. 466466225e4dSsthen - cleaner compile with tsig disabled. 466566225e4dSsthen - fixed unknown key error reply in tsig. 466666225e4dSsthen 466766225e4dSsthen29 May 2006: Wouter 466866225e4dSsthen - The nonblocking write routines disable silently if they have 466966225e4dSsthen nothing to do. 467066225e4dSsthen - put xfrd read/write state routines (almost 500 lines of code) 467166225e4dSsthen into xfrd-disk.c file. 467266225e4dSsthen - little readme blurb on xfrd state file for the operator. 467366225e4dSsthen - put ipc code in its own file for ease of reading. 467466225e4dSsthen - removed --disable-axfr, you can control this via acls. 467566225e4dSsthen With no provide-xfr: statements, a zone will not do axfr. 467666225e4dSsthen 467766225e4dSsthen25 May 2006: Wouter 467866225e4dSsthen - fixed reload sending; it checks for EAGAIN and EINTR. 467966225e4dSsthen - reload sends parent quit command blocking to make sure of arrival. 468066225e4dSsthen - send_children_quit in parent uses nonblocking writes and closes 468166225e4dSsthen the pipe to signal the child to quit (even if the write does not 468266225e4dSsthen come through, the closed pipe will cause the child to quit). 468366225e4dSsthen - need_to_send_STATS flag in parent. 468466225e4dSsthen - reload has its own ipc-listening handler in server_main. 468566225e4dSsthen - nonblocking writes for server_main; this solved write-blocking race. 468666225e4dSsthen - another race condition solved, if a process dies, half a read or 468766225e4dSsthen write buffer could be left behind on another process. These are 468866225e4dSsthen dropped. Now: 468966225e4dSsthen * The server_main drops ipc from dead children. 469066225e4dSsthen * The server_main drops ipc if xfrd dies. 469166225e4dSsthen * The server_main drops xfrd(old) and all children ipc 469266225e4dSsthen on reload. 469366225e4dSsthen * The xfrd drops ipc to parent on a SOA_BEGIN from reload. 469466225e4dSsthen So after reload, but parent and xfrd start with 469566225e4dSsthen clean ipc buffers. 469666225e4dSsthen 469766225e4dSsthen24 May 2006: Wouter 469866225e4dSsthen - unit tests print progress while running to stderr. Included license 469966225e4dSsthen of cutest with its source in svn repository. 470066225e4dSsthen - stack type (for the IPC buffer of zone update dirty). And unit test. 470166225e4dSsthen - only update zone-is_ok if needed to reduce memory copy on write. 470266225e4dSsthen - split off conn_write() from xfrd tcp nonblocking write routines. 470366225e4dSsthen - nonblocking writes for xfrd. 470466225e4dSsthen 470566225e4dSsthen22 May 2006: Wouter 470666225e4dSsthen - ported over minor nits from 2.3.5 NSD fixups. Cast to (void) 470766225e4dSsthen unused function return values. 470866225e4dSsthen - removed kill signal to children, superfluous due to quit cmd ipc. 470966225e4dSsthen - moved is_ok for zones to the zone_type in namedb, not in 471066225e4dSsthen the options, it is a runtime value not a config value. 471166225e4dSsthen For zones that have no data, parent and children keep no state. 471266225e4dSsthen 471366225e4dSsthen12 May 2006: Wouter 471466225e4dSsthen - fixed up usage print for zonec to include -f option. 471566225e4dSsthen - xfrd send notifies. 471666225e4dSsthen - server no longer sends SOA INFO for master zones. 471766225e4dSsthen - removed possible debug log print of a null string. 471866225e4dSsthen 471966225e4dSsthen11 May 2006: Wouter 472066225e4dSsthen - nsd.conf.sample shows defaults for ip4-only, ip6-only and debug-mode. 472166225e4dSsthen - SOA_BEGIN message on start of reload sending soa info so that 472266225e4dSsthen xfrd will not reply with expire-notifications and thus deadlock 472366225e4dSsthen both on blocking writes (and no OS buffer on the pipes). 472466225e4dSsthen 472566225e4dSsthen10 May 2006: Wouter 472666225e4dSsthen - nsdc.sh is set +x after creation. 472766225e4dSsthen - improved error message when zone in db has no config info. 472866225e4dSsthen - support for broken nsec3 chains (if the one with the SOA bit 472966225e4dSsthen is complete, it is OK for there to be other nsec3 chains 473066225e4dSsthen with different parameters in the zone). 473166225e4dSsthen 473266225e4dSsthen9 May 2006: Wouter 473366225e4dSsthen - Fix for finding bad zone when populating SOA info on start. 473466225e4dSsthen it would find a parent zone instead of the zone in question ( 473566225e4dSsthen which is empty). 473666225e4dSsthen - request-xfr: AXFR 10.0.0.153 keytouse syntax to interoperate 473766225e4dSsthen with NSD machines. Will only send AXFR queries to the machine. 473866225e4dSsthen - documented AXFR option in nsd.conf.5 manual page, 473966225e4dSsthen and updated nsd-checkconf, nsd.conf.sample. 474066225e4dSsthen - made 'skipping zone' log entry clearer (Sam Weiler asked). 474166225e4dSsthen 474266225e4dSsthen8 May 2006: Wouter 474366225e4dSsthen - updated zparser.y to handle empty nsec_seq lists. 474466225e4dSsthen for empty nonterminals in NSEC3. 474566225e4dSsthen - nicer without ambiguous grammar. 474666225e4dSsthen 474766225e4dSsthen5 May 2006: Wouter 474866225e4dSsthen - nsd-notify handles option -y key:secret to TSIG sign outgoing 474966225e4dSsthen queries. 475066225e4dSsthen - the acl checks now verify TSIG signatures on the query. 475166225e4dSsthen - iterated_hash compiles with ssl disabled. 475266225e4dSsthen - new ipc NSD_ZONE_STATE sent by xfrd to nsd process. notifies 475366225e4dSsthen nsd of the state (ok or expired) of a zone. 475466225e4dSsthen - reload process waits for the old server_main to exit to make 475566225e4dSsthen sure there is no race condition listening to the NSD_ZONE_STATE 475666225e4dSsthen messages generated when reload sends SOA_INFO to xfrd. 475766225e4dSsthen - server_main and children all set zone_ok state in config options. 475866225e4dSsthen also server_main so that newly forked children get the right state. 475966225e4dSsthen - if a secondary zone is expired, NSD returns SERVFAIL. 476066225e4dSsthen a transient error, so resolvers try again later. 476166225e4dSsthen - SOA_END ipc message, sent by reload to xfrd, so it can repeat 476266225e4dSsthen all zone states (which can have changed during reload). 476366225e4dSsthen - zone_is_ok kept in config section so that state for zones 476466225e4dSsthen without data is not lost. Those have no zone_type*. 476566225e4dSsthen - secondary zones start in the expired state. 476666225e4dSsthen - if expired zones are updated, then NSD gets the go ahead from 476766225e4dSsthen xfrd after reload sends SOAINFO/SOAEND msg, so it is really 476866225e4dSsthen updated in nsd memory. 476966225e4dSsthen - fixed tpkg xfr_1 to have longer expiry times (from 0 and 3 477066225e4dSsthen seconds to 2000 and 3000 seconds), so the zone does not expire 477166225e4dSsthen during the test anymore. 477266225e4dSsthen 477366225e4dSsthen4 May 2006: Wouter 477466225e4dSsthen - when a new lease is acquired xfrd_packet_newlease result is used. 477566225e4dSsthen - if a zone is lost in nsd db, xfrd will update state to match. 477666225e4dSsthen - IXFR can use TSIG in queries and verify responses. 477766225e4dSsthen - Fixed memory leak in xfrd tsig handling. 477866225e4dSsthen 477966225e4dSsthen3 May 2006: Wouter 478066225e4dSsthen - forward of 2.3.4 RELNOTES into trunk. 478166225e4dSsthen - debug log statements to track xfrd request rounds. 478266225e4dSsthen - removed memleak from handle_passed_packet in xfrd. 478366225e4dSsthen - faster find_zone in difffile.c. 478466225e4dSsthen - nsd-patch writes commit log entries into zone file. 478566225e4dSsthen - took some tsig.c enhancements from 3 branch, 478666225e4dSsthen -> if key or algo changes during connection, return bad_key, 478766225e4dSsthen -> debug statement neater. 478866225e4dSsthen - nsd adds tsig keys to tsig keyring at startup. 478966225e4dSsthen 479066225e4dSsthen2 May 2006: Wouter 479166225e4dSsthen - ifdef inet6 back on ss_family usage in server.c. 479266225e4dSsthen - nsd-checkconf ip6 ifdefs improved. 479366225e4dSsthen - xfrd tries servers 3 rounds, then waits for next retry. 479466225e4dSsthen 479566225e4dSsthen1 May 2006: Wouter 479666225e4dSsthen - off_t used for 64bit fileio. 479766225e4dSsthen - searches for smallest unused part and sets diff_skip to that. 479866225e4dSsthen - doc comment near the region_free_all for every query about 479966225e4dSsthen malloc speed. 480066225e4dSsthen - null ptr in strcmp does not work on bsd, fixed nsd-checkconf. 480166225e4dSsthen - made nsd.conf.sample.in so the sample gets prefix-corrected. 480266225e4dSsthen - removed nsd.zones.sample. 480366225e4dSsthen - makedist.sh added manual pages for nsd-xfer nsd-patch. 480466225e4dSsthen - install/uninstall nsd-patch, nsd-checkconf and manpage. 480566225e4dSsthen small update readme. 480666225e4dSsthen 480766225e4dSsthen28 Apr 2006: Wouter 480866225e4dSsthen - ixfr >64k in xfrd. 480966225e4dSsthen - fixed length of new commit parts. 481066225e4dSsthen - fixed multiple ipc reads in xfrd. 481166225e4dSsthen - fixed multiple packet ixfr read in diff file. 481266225e4dSsthen Miek: 481366225e4dSsthen - Forward port fixes for nsd-xfer and nsd-notify 481466225e4dSsthen 481566225e4dSsthen27 Apr 2006: 481666225e4dSsthen Wouter: 481766225e4dSsthen - nsec3 review fixes. 481866225e4dSsthen - diff file format expanded for >64kb transfer support. 481966225e4dSsthen - diff reader adjusted for >64kb. 482066225e4dSsthen Jelte: 482166225e4dSsthen - small non-null options check in nsd.c. 482266225e4dSsthen Miek: 482366225e4dSsthen - updated nsd-checkconf for zone parse shell script support. 482466225e4dSsthen 482566225e4dSsthen25 Apr 2006: Wouter 482666225e4dSsthen - Tests on NSEC3 code. Fixed that the unsecure delegations also 482766225e4dSsthen have _ds_ parent nsec3 prehashes, so that they get proper NSEC3s. 482866225e4dSsthen NSD will serve NSEC3s to prove 'opt-out' also if the opt-out bit 482966225e4dSsthen is (erroneously) not set. 483066225e4dSsthen - For the 05pre2 draft section 5.4.8.1. QTYPE is NSEC3, only NSEC3 483166225e4dSsthen RRsets at name. Fixed that RRSIGs present do not matter. 483266225e4dSsthen And also the closest encloser proof in that case fixed. 483366225e4dSsthen If wildcard exists below zone apex servfails (cannot disprove 483466225e4dSsthen it and NSD cannot instantiate the wildcard at that point). 483566225e4dSsthen 483666225e4dSsthen24 Apr 2006: Miek 483766225e4dSsthen Miek: 483866225e4dSsthen - forward port nsid (disabled by default) 483966225e4dSsthen Wouter: 484066225e4dSsthen - nsd-patch manual page. 484166225e4dSsthen - minor MacOSX port fixes. 484266225e4dSsthen - xfrd-reload-timeout: config option. 484366225e4dSsthen - if you set the xfrd reload timeout to -1 it will not 484466225e4dSsthen automatically reload after a transfer. User can reload. 484566225e4dSsthen - reload timeout is a wait period after the reload is triggered. 484666225e4dSsthen - more verbose acl logging. Validated acls are logged in detail. 484766225e4dSsthen Invalid acls are only logged in debug mode, level >= 1. 484866225e4dSsthen - log message when xfrd tcp connections max out. 484966225e4dSsthen - if unknown NSEC3 hash type (not SHA-1), disable NSEC3. 485066225e4dSsthen - xfrd randomizes the timeouts, within 10% of original, 485166225e4dSsthen to spread out activity. Short timeouts < 10 seconds are not 485266225e4dSsthen affected, and will give activity bursts (on startup for example). 485366225e4dSsthen 485466225e4dSsthen21 Apr 2006: Wouter 485566225e4dSsthen - put NSEC3 code in nsec3.c and nsec3.h. 485666225e4dSsthen - iterated_hash only adds the salt if salt_len > 0. 485766225e4dSsthen - added some assertions and cleanups to nsec3 code. 485866225e4dSsthen - prehash also calcs the nsec3_last domain*. 485966225e4dSsthen - dbaccess when reading in will set the rr_type.owner value. 486066225e4dSsthen - changed namedb_find_zone to domain_find_zone, log msgs. 486166225e4dSsthen - implemented logic from nsec draft 05-pre2 section 5.4.1 - 5.4.8. 486266225e4dSsthen NSEC3 responses only happen for nsd compiled with --enable-nsec3 486366225e4dSsthen and for zones where an NSEC3 with the SOA bit set exists. 486466225e4dSsthen - added prehash pointer to ds parent side cover for opt out. 486566225e4dSsthen - removed dynamic plugins. Dynamic plugin support is an explicit 486666225e4dSsthen non-requirement (under creeping featurism). 486766225e4dSsthen - in domain table create root nsec3 ptrs are NULL. 486866225e4dSsthen 486966225e4dSsthen20 Apr 2006: Wouter 487066225e4dSsthen - Unittest of base 32 encoding. 487166225e4dSsthen - unittest start for iterated hash. 487266225e4dSsthen - fixed for ctrlc in debug mode. 487366225e4dSsthen - delete zparser_conv_long, not used, not needed 487466225e4dSsthen - nsd-xfer will display NSEC3 correctly. zonec parses. 487566225e4dSsthen - improved usage() line from zonec, about -c none, must be -C. 487666225e4dSsthen - base32 printed in lowercase (canonical format for DNS). 487766225e4dSsthen - NSEC3 added prehash pointers to the namedb. 487866225e4dSsthen - NSEC3 autodetects presence of NSEC3 in zone and parameters. 487966225e4dSsthen 488066225e4dSsthen19 Apr 2006: Wouter 488166225e4dSsthen - port fix base10 in zonec conv short from 2_2 branch to trunk. 488266225e4dSsthen and conv byte, algo, certificate, long. 488366225e4dSsthen - configure option to enable NSEC3 (--enable-nsec3) support. 488466225e4dSsthen - from Ben Laurie's NSEC3 patch, loaned the parse code, 488566225e4dSsthen base32 conversion code and iterated_hash. 488666225e4dSsthen With some small modifications. The type rrdescriptors are 488766225e4dSsthen indexed by value below SPF, and in 488866225e4dSsthen rdata_wireformat_to_rdata_atoms BINARYWITHLENGTH checks 488966225e4dSsthen for end of buffer. Also parser checks for '-' salt. 489066225e4dSsthen Some layout (spaces after ,s). And NSEC3 define is used. 489166225e4dSsthen strtol used for iterations is base 10. 489266225e4dSsthen - moved rrtype descriptor table sanity check to unittest. 489366225e4dSsthen 489466225e4dSsthen18 Apr 2006: Wouter 489566225e4dSsthen - Fixed check for SOA IN, bad ntohs in the check. 489666225e4dSsthen - minimum timeout also enforced for very low expire times. 489766225e4dSsthen - report the actual used length of the sockaddr to sento 489866225e4dSsthen for FreeBSD. 489966225e4dSsthen 490066225e4dSsthen7 Apr 2006: Wouter 490166225e4dSsthen - modified the kill_nsd tpkg so that it waits up to 10x5 secs 490266225e4dSsthen for nsd to make the pid file, and it wait up to 10x5 secs for 490366225e4dSsthen nsd to exit after the kill signal is given. 490466225e4dSsthen - xfrd checks on startup if there is trailing garbage in the 490566225e4dSsthen diff file, left there by a previous xfrd killed in action. 490666225e4dSsthen It then snips off any partial parts, so service can resume. 490766225e4dSsthen Also the difffile_skip pos is set before any partial record there. 490866225e4dSsthen - first version of nsd-patch; reads db and ixfrs and updates zones. 490966225e4dSsthen - moved print_rdata from nsd-xfer to rdata.h to share code. 491066225e4dSsthen - moved print_rr from nsd-xfer to util.h to share code. 491166225e4dSsthen 491266225e4dSsthen6 Apr 2006: Wouter 491366225e4dSsthen - notify handler passes acl number that matches to xfrd. 491466225e4dSsthen - xfrd keeps a next_master for a zone, and sets it after notify. 491566225e4dSsthen when notified nsd will try to contact the master that sent 491666225e4dSsthen the notify, if send from an address that is both in acl 491766225e4dSsthen allow-notify and request-xfr. 491866225e4dSsthen - xfrd closes its tcp and udp sockets on exit. 491966225e4dSsthen - default names for diff file and xfrd state nicer. 492066225e4dSsthen - fixed up kill nsd grep on ps. 492166225e4dSsthen - fixed up race conditions in test script for kill nsd 492266225e4dSsthen wait for pid file creation by nsd, and grep -v grep in check. 492366225e4dSsthen - in nsd signal-flags inherited from the parent are zeroed 492466225e4dSsthen when a server_child starts. Also the server_child switches back 492566225e4dSsthen to NSD_RUN mode when a bad mode happens. 492666225e4dSsthen - check if ixfrs start from the version in memory. 492766225e4dSsthen - if IXFR/AXFR ends in a serial that is newer than the serial 492866225e4dSsthen that was sent in an notify, update the notified serial. 492966225e4dSsthen 493066225e4dSsthen5 Apr 2006: Wouter 493166225e4dSsthen - added lowerbound for retry timeout. 493266225e4dSsthen - added extra assertions to xfrd-tcp.c, saying that the waiting line 493366225e4dSsthen for tcp connections must be empty if the counter is below max. 493466225e4dSsthen - setup so that the first master tried is the first in acl list. 493566225e4dSsthen - diff file skips OPT and TSIG RRs if they are put into the answer 493666225e4dSsthen section. 493766225e4dSsthen - if IXFR contains an RR to delete that does not exist, nothing 493866225e4dSsthen happens. 493966225e4dSsthen - update zone for NS, RRSIG also if multiple RRs in the rrset. 494066225e4dSsthen - difffile: create zone struct also if domain exists already. 494166225e4dSsthen - difffile: destroy temp region on error. 494266225e4dSsthen - difffile: in delete_RR, create temp region outside of the routine, 494366225e4dSsthen so no alloc region, destroy region for every deleted RR. 494466225e4dSsthen - difffile: for IXFR: do not delete final SOA RR. 494566225e4dSsthen - difffile: unknown parts in file is an error. 494666225e4dSsthen - difffile: EOF on last packet is ignored w/o giving an error. 494766225e4dSsthen 494866225e4dSsthen4 Apr 2006: Wouter 494966225e4dSsthen - Addes EACCES to the netio dispatch error bailout. 495066225e4dSsthen - Removed EACCESS (probably due to log_msg), error on close 495166225e4dSsthen xfrd pipe is small, main process closes its end, and hopes for 495266225e4dSsthen the best). 495366225e4dSsthen - review: return on error condition in xfrd_tcp_open fixed. 495466225e4dSsthen - review: expired when time >= expire_time, so it will not wait 495566225e4dSsthen for the retry after expire until it will detect the expiredness. 495666225e4dSsthen - removed duplicate lines from xfrd_handle_zone_timeout. 495766225e4dSsthen - review: copy of uint32_t using memcpy to avoid unaligned memory 495866225e4dSsthen accesses. 495966225e4dSsthen - review: fd=-1 removed from set_refresh_now; only does timer. 496066225e4dSsthen - on a tcp timeout it will retry immediately (instead of waiting 496166225e4dSsthen another retry timeout). This means if you set refresh_now, it will 496266225e4dSsthen interrupt a tcp-timer for a fresh retry with the next master. 496366225e4dSsthen - put null in buffer for xfrd read state. 496466225e4dSsthen - log msg uses string that exists instead of overwritten buffer. 496566225e4dSsthen - read entry sets refresh depending on current time, 496666225e4dSsthen and makes sure not to check soa contents if none provided. 496766225e4dSsthen added explanatory comments. 496866225e4dSsthen - EACCES back in check. 496966225e4dSsthen - server_main first checks for terminated children, then select(). 497066225e4dSsthen So when select is interrupted, by kill or quitting children, 497166225e4dSsthen it will first see if it has to quit itself, before restarting 497266225e4dSsthen the children. 497366225e4dSsthen - destroy tempregion xfrd read on error. 497466225e4dSsthen - check for serial existence in xfrd_handle_incoming_soa. 497566225e4dSsthen - handle_incoming_soa uses set_timer_refresh routine. 497666225e4dSsthen and can handle expire times < refresh times. 497766225e4dSsthen - log msg for udp socket() error. 497866225e4dSsthen - review: xfrd_parse_soa_info email parse uses correct buffer spot. 497966225e4dSsthen - added a lowerbound to refresh interval (=1 second now). 498066225e4dSsthen - upon receipt of a IXFR, if the serial is older than the notified 498166225e4dSsthen serial, the zone stays refreshing (but the ixfr is saved). 498266225e4dSsthen 498366225e4dSsthen3 Apr 2006: Wouter 498466225e4dSsthen - Added buffer length check to internal ipc. 498566225e4dSsthen - split out packet_read_query_section from the process_query_section 498666225e4dSsthen routine (and moved to packet.c/h). 498766225e4dSsthen - xfrd reads passed packet via ipc. 498866225e4dSsthen - ported over fix to 2_2 on missing rr types by removing the 498966225e4dSsthen duplicate RRtype array, and using rrtype_to_string. 499066225e4dSsthen - xfrd handles notifies. immediately starts updating. 499166225e4dSsthen - xfrd state file format fix. 499266225e4dSsthen - removed libwrap stuff - superseded by acls. 499366225e4dSsthen use provide-xfr: statements for your zone in the config file. 499466225e4dSsthen updated README for this. 499566225e4dSsthen - updated tpkg tests for axfr to use provide-xfr: 127.0.0.1 NOKEY 499666225e4dSsthen - review: move var create to start of function (xfrd_init()). 499766225e4dSsthen 499866225e4dSsthen31 Mar 2006: Wouter 499966225e4dSsthen - zone type has a pointer to zone options. 500066225e4dSsthen - nsd options has an rbtree to find zone options in. 500166225e4dSsthen - nsd checks acl for incoming notifies and replies 500266225e4dSsthen error or confirmation. 500366225e4dSsthen - nicer layout in options.c. 500466225e4dSsthen - updated makefile dependencies. 500566225e4dSsthen - fixed sz for SOA_INFO ipc, which was too small. 500666225e4dSsthen - notify is sent to server_main, server_main sends it to xfrd. 500766225e4dSsthen 500866225e4dSsthen30 Mar 2006: Wouter 500966225e4dSsthen - include: documented in manual page. 501066225e4dSsthen - MAXINCLUDES define in one place (config.h). 501166225e4dSsthen - configure checks for strptime in include files. 501266225e4dSsthen - use %d instead of %zd (sparc5 machine does not get zd). 501366225e4dSsthen - use region_strdup in configlexer. 501466225e4dSsthen - added a check for EINVAL in dispatch - will abort 501566225e4dSsthen on the error instead of busy hang. 501666225e4dSsthen 501766225e4dSsthen29 Mar 2006: Wouter 501866225e4dSsthen - \r for config lexer. (similar changes to zonelexer). 501966225e4dSsthen - forward port of fix to 2_2 branch: 502066225e4dSsthen short int in var_arg is promoted to int, according to B. Laurie. 502166225e4dSsthen The same logic for %o, %d %x would hold for %u I think. 502266225e4dSsthen - in XFRD, soa prim_ns and email domain names are kept in a max 502366225e4dSsthen size buffer. 502466225e4dSsthen - split up dname_parse into parse from string to wireformat 502566225e4dSsthen and parse from wireformat to memoryformat, so both can be called. 502666225e4dSsthen - split up dname_make_from_packet into reading the wireformat 502766225e4dSsthen from the packet and the dname_make, so both can be called. 502866225e4dSsthen - xfrd reads all soa info from incoming xfr packets. 502966225e4dSsthen - xfrd will ignore TC bit on tcp channels. 503066225e4dSsthen - nsd sends xfrd all soa info, including ttl and dnames. 503166225e4dSsthen - config file now has an include: filename directive. 503266225e4dSsthen 503366225e4dSsthen28 Mar 2006: Miek 503466225e4dSsthen - forward port fixes for zone compiler and \r. svn:1926-1927 503566225e4dSsthen - add DO bit MASK and remove the !! construct 503666225e4dSsthen 503766225e4dSsthen17 Mar 2006: Wouter 503866225e4dSsthen - according to axfr-clarify, added comments that we check 503966225e4dSsthen more leniently on further responses on a TCP stream. 504066225e4dSsthen 504166225e4dSsthen16 Mar 2006: Wouter 504266225e4dSsthen - Fixed up SOA INFO Send routines. Send from server works. 504366225e4dSsthen - niced up xfrd state file. 504466225e4dSsthen - Fixed up so that after a reload it will continue in diff file 504566225e4dSsthen where it left off. 504666225e4dSsthen - made send of SOA info use write_socket, in case of short writes. 504766225e4dSsthen - redesigned xfrd_tcp_read to use the same code for ipc read. 504866225e4dSsthen - no free()s before xfrd exit. 504966225e4dSsthen - xfrd handles incoming SOA INFO ipc packets. 505066225e4dSsthen - removed debug, updated zones get SOA INFO sent. 505166225e4dSsthen 505266225e4dSsthen15 Mar 2006: Wouter 505366225e4dSsthen - Fixed up domain table insert, it was being used in routines 505466225e4dSsthen that originate from nsd-xfer that do not set compression numbers 505566225e4dSsthen correctly. 505666225e4dSsthen - memleak fix in difffile in case of error. 505766225e4dSsthen - difffile processing works so that NSD can read an axfr saved 505866225e4dSsthen into the nsd.diff file. (xfrd already request and save it there). 505966225e4dSsthen - split off xfrd tcp handling into xfrd-tcp.c. 506066225e4dSsthen - cleaned up send_udp in xfrd, and read_state. 506166225e4dSsthen - removed xfrd tcp_send_blocking. 506266225e4dSsthen - xfrd sets state from ok to refresh to expired based on timeout. 506366225e4dSsthen - xfrd sets reload timeout. 506466225e4dSsthen - Added zone updated to keep track of zones that are changed 506566225e4dSsthen after a reload. These zones get their information notified 506666225e4dSsthen to xfrd. 506766225e4dSsthen - removed unused zprintrr declaration from zonec.h 506866225e4dSsthen - nsd sends soa information to xfrd. 506966225e4dSsthen 507066225e4dSsthen14 Mar 2006: Wouter 507166225e4dSsthen - TODO updated 507266225e4dSsthen - worked on reload ixfr. It will add/delete RRs and zones. 507366225e4dSsthen - xfrd receive parse of xfr messages improved. writes commit. 507466225e4dSsthen - server compressed_dname_offsets table is increased if reload 507566225e4dSsthen creates extra names. 507666225e4dSsthen - difffile will create zone and apex if not there (i.e. the zone 507766225e4dSsthen is configured but no data file provided). 507866225e4dSsthen - bit more verbose in error message for bad diff file. 507966225e4dSsthen - Typo fix in sample config file. 508066225e4dSsthen 508166225e4dSsthen13 Mar 2006: Wouter 508266225e4dSsthen - configure sets fseek (fgetpos/fsetpos) to use 64 bit interface 508366225e4dSsthen with _FILE_OFFSET_BITS=64. 508466225e4dSsthen - nsd will skip loading the .db if the DB checksum is the same. 508566225e4dSsthen - Miek added trace test and nsd kill test. 508666225e4dSsthen - Wouter worked on diff file c. 508766225e4dSsthen 508866225e4dSsthen10 Mar 2006: Wouter 508966225e4dSsthen - Cleanup of UDP/TCP code in XFRD. 509066225e4dSsthen - xfrd now has tcp max connections and managing. tcp read/write. 509166225e4dSsthen - response TC on UDP ixfr, starts TCP. 509266225e4dSsthen - sends correct ixfr and axfr queries, a bind server answers. 509366225e4dSsthen - made packet_skip_dname() public. 509466225e4dSsthen - sets read/write event flags for tcp fd right. 509566225e4dSsthen 509666225e4dSsthen9 Mar 2006: Wouter 509766225e4dSsthen - Removed header from DIFF file format. CRC not that important there, 509866225e4dSsthen you have to check the packets anyway. 509966225e4dSsthen - cutest rbtree removed unused clean_rbtree and always_fail routines. 510066225e4dSsthen - xfrd timeout handler, more work. Checks expire. 510166225e4dSsthen 510266225e4dSsthen8 Mar 2006: Wouter 510366225e4dSsthen - xfrd sends UDP xfr request to master(s) with timeouts, and stores 510466225e4dSsthen returned data on disk. 510566225e4dSsthen - updated dependencies and declaration of write_soa_buffer. 510666225e4dSsthen 510766225e4dSsthen7 Mar 2006: Wouter 510866225e4dSsthen - Fixed printfs for size_t warnings on Mac OsX. 510966225e4dSsthen 511066225e4dSsthen6 Mar 2006: nsd-team 511166225e4dSsthen * Wouter: xfrd read and write work. Statefile is "nsd.xfst". 511266225e4dSsthen * Wouter: nsd-checkconf checks dname parse of zone name:. 511366225e4dSsthen * Wouter: updated difffile in parser.y, production in server: clause. 511466225e4dSsthen * Wouter: zonec now takes -C for 'no config file' option. 511566225e4dSsthen * Wouter: updated configyyrename.h for bison 1.875d on sparc. 511666225e4dSsthen * Miek: zonec -h and nsd -h exit with exit code = 0. 511766225e4dSsthen * Miek & Wouter: updated tpkgs to work again. 511866225e4dSsthen * Wouter: xfrd read handle soas, handle soa_incoming part. 511966225e4dSsthen * Wouter: moved compare_serial() from nsd-xfer to util.h. 512066225e4dSsthen 512166225e4dSsthen4 Mar 2006: Wouter 512266225e4dSsthen - xfrd zone and soa memory structure definitions. 512366225e4dSsthen - xfrd init zones. 512466225e4dSsthen - xfrd read and write state file code. 512566225e4dSsthen - option for difffile: and xfrdfile: config lines. 512666225e4dSsthen 512766225e4dSsthen3 Mar 2006: Wouter 512866225e4dSsthen - Removed double kill after reload. Only socket cmd send. 512966225e4dSsthen - Added code to handle race condition where xfrd is restarted 513066225e4dSsthen during a successful reload. Afterwards, the new server_main 513166225e4dSsthen only has the old xfrd pid, new xfrd is an orphan. 513266225e4dSsthen Solution: when xfrd closes cmd channel (i.e. it quit) 513366225e4dSsthen unexpectedly, send sighup to all processes in the group. 513466225e4dSsthen This should quit the orphan & all children & reload the 513566225e4dSsthen server_main, which will fork the children and xfrd again. 513666225e4dSsthen 513766225e4dSsthen2 Mar 2006: Wouter 513866225e4dSsthen - Added nsd-checkconf.8 to makedist.sh replace list. 513966225e4dSsthen - DIFF file format updated. 514066225e4dSsthen - removed tsigkey->server value, it was read in, but unused. 514166225e4dSsthen - new function to add config file keys to tsig. 514266225e4dSsthen - nsd-checkconf checks parsing of keys. 514366225e4dSsthen - Updated sample key file with valid keys. 514466225e4dSsthen - added first xfrd files. xfrd is started from server_main. 514566225e4dSsthen xfrd listens to server and server to xfrd. xfrd is restarted 514666225e4dSsthen if it dies unexpectedly. xfrd quits when server signals it. 514766225e4dSsthen xfrd survives nsd reloads. 514866225e4dSsthen - nsd_options no longer global variable. 514966225e4dSsthen 515066225e4dSsthen1 Mar 2006: Wouter 515166225e4dSsthen - Nicer text in nsd.8. 515266225e4dSsthen - nsd.c prettier code in option handling. 515366225e4dSsthen - zonec.c code prettier in option handling, also chdir bug removed. 515466225e4dSsthen zonec uses the zone definitions in the config file. 515566225e4dSsthen updated zonec.8 and usage(). 515666225e4dSsthen - nsd also chdirs to the zonedir, otherwise nsd and zonec would 515766225e4dSsthen try to read the database: file from different directories. 515866225e4dSsthen .(it does the chdir before the chroot call.) 515966225e4dSsthen - new calling syntax for zonec and nsd, because of new config file. 516066225e4dSsthen - options added acl acceptance tests (no tsig yet). 516166225e4dSsthen - added unit test for options.c - for acl tests. 516266225e4dSsthen - zonec removed unused vars, nsd-checkconf print arguments. 516366225e4dSsthen - nsd-checkconf.8 manual page. 516466225e4dSsthen 516566225e4dSsthen28 Feb 2006: Wouter 516666225e4dSsthen - checked in options.h and config parser code. 516766225e4dSsthen - also nsd-checkconf that will test a config file 516866225e4dSsthen .(and optionally show what was read). 516966225e4dSsthen - default identity has a spelling error. 517066225e4dSsthen - Small fix (typo in example) to config manual page. 517166225e4dSsthen - Added ; to configparser.y to please bison 1.75 on bsd. 517266225e4dSsthen - Will check for blocked addresses in outgoing acls. Also ranges. 517366225e4dSsthen - Check configuration tpkg test added. Uses checkconf. 517466225e4dSsthen - checkconf does extra semantic tests. i.e. enable absent features. 517566225e4dSsthen - tcpcount and servercount cannot be negative. 517666225e4dSsthen - updated nsd.conf.5 manpage for @port syntax. 517766225e4dSsthen - changed config parser: allows empty server: part (defaults). 517866225e4dSsthen - made nsd.conf.sample file. 517966225e4dSsthen - put option to configure for CONFIG_FILE nsd.conf location. 518066225e4dSsthen Note. Already nsdc.conf exists. Both exist now. 518166225e4dSsthen - updated makefile dependencies (gcc -MM). 518266225e4dSsthen - getopt optstring in nsd-checkconf updated ("v" only option). 518366225e4dSsthen - Added config .o files to nsd and zonec. This compiles. 518466225e4dSsthen - Added commandline option -c configfile to zonec and nsd. 518566225e4dSsthen configure defaults < configfile < commandline options in importance. 518666225e4dSsthen 518766225e4dSsthen24 Feb 2006: Wouter 518866225e4dSsthen - Added compute_crc in util.h and unit tests for it. 518966225e4dSsthen - in cutest.tpkg the number of unit tests was hardcoded 519066225e4dSsthen in the tpkg package. Removed the dependency, cutest exit 519166225e4dSsthen value indicates if any failures happened. 519266225e4dSsthen - Added crc at end of NSD-database format. Unique per db. 519366225e4dSsthen upped db version to 7 because of this. 519466225e4dSsthen - Tested that crcs are big/little endian correct. 519566225e4dSsthen - Added DIFF file spec 519666225e4dSsthen - updated tpkg213 which compares md5 on a zonefile for new format. 519766225e4dSsthen - added nsd.conf.5 manual page with a draft contents. 519866225e4dSsthen 519966225e4dSsthen22 Feb 2006: nsd-team 520066225e4dSsthen * Miek: Changed over to Cutest testing framework. 520166225e4dSsthen * Miek: fixed typo in netio.h 520266225e4dSsthen * Miek: fix syntax in rbtree.c put functions on multiple lines. 520366225e4dSsthen * Miek: unit test tpkg for cutest. 520466225e4dSsthen * Wouter: fixed ptr bug in rbtree unit test. 520566225e4dSsthen 520666225e4dSsthen17 Feb 2006: Wouter 520766225e4dSsthen - rbtree_delete is added and works. Unit tests are there too. 520866225e4dSsthen - Changed tail recursion in rbtree_delete to while loop. 520966225e4dSsthen - Tagged this version as NSD_3_signalsocket_solution. 521066225e4dSsthen It is the stable 2_2 branch with cleanups, portable, and 521166225e4dSsthen signalhandler solution by socket communication redesign. 521266225e4dSsthen 521366225e4dSsthen15 Feb 2006: nsd-team 521466225e4dSsthen * Wouter: Fixed server_child would wait for two kill signals before quit. 521566225e4dSsthen * Miek: don't check for port==0 pkt, just try to send them. 521666225e4dSsthen Forward Port of 2.3. 521766225e4dSsthen * Wouter: Removed unused, not substituted, @nsdxfer@ from Makefile.in. 521866225e4dSsthen 521966225e4dSsthen14 Feb 2006: Wouter 522066225e4dSsthen - Added unit tests for rbtree. Extensive testing of all functions. 522166225e4dSsthen - Added tpkg unit test. 522266225e4dSsthen - configure tests for CUnit(optional lib for unit tests). Makefile 522366225e4dSsthen cleanup so it works on non-gmake on freebsd. 522466225e4dSsthen 522566225e4dSsthen13 Feb 2006: Wouter 522666225e4dSsthen - Removed timespec_add(current_time) in server_main, the timeout was 522766225e4dSsthen relative, not absolute. This fixes EINVAL on the timeout on freebsd. 522866225e4dSsthen - Added check in configure for compiler flags. Used for -Wextra. 522966225e4dSsthen - Added check in configure for va_list definition conflict between 523066225e4dSsthen stdio and stdarg. This happens on DEC Alpha/Debian. 523166225e4dSsthen - removed --enable-mmap configure option. There is no mmap support 523266225e4dSsthen in the current codebase. 523366225e4dSsthen - renamed local prev to next in domain_next() in namedb.h. 523466225e4dSsthen - Removed heap.h. It was not used. Heap and rbtree are mingled anyway. 523566225e4dSsthen - in netio.c, in dispatch, it would store the next pointer 'in case 523666225e4dSsthen the handler removes itself'. But if the handler removes that next. 523766225e4dSsthen Then it would fail. So stored the next in struct netio. 523866225e4dSsthen This removes a potential bug. Netio_dispatch is not reentrant. 523966225e4dSsthen Reentry would need a list of iterator* in struct netio. 524066225e4dSsthen - Changed process_query() to server_process_query(). It is too 524166225e4dSsthen similar to query_process(). 524266225e4dSsthen 524366225e4dSsthen10 Feb 2006: nsd-team 524466225e4dSsthen * Wouter: Improved configure.ac to detect pselect in sys/select. 524566225e4dSsthen The check works on freebsd(yes) and fedoracore 3 and 4 (no). 524666225e4dSsthen I hope it also works on Solaris. 524766225e4dSsthen Also various other prototypes were implicit: chroot, strptime, ... 524866225e4dSsthen These are also solved. 524966225e4dSsthen * Wouter: Checked configure on sparc5(solaris). Added check for 525066225e4dSsthen ctime_r in time.h (for tsig.c). This conf also works on freebsd/linux. 525166225e4dSsthen * Wouter: Updated dependencies in makefile for plugin headers. 525266225e4dSsthen These are included only when --enable-plugins is present. 525366225e4dSsthen * Wouter: Added a send quit over socket to kill commands in server_main, 525466225e4dSsthen These act when the fork children fails. If the kill fails, the 525566225e4dSsthen socket command hopefully still works. 525666225e4dSsthen * Wouter: Put reload code into a separate function. It communicates with 525766225e4dSsthen a socket to the old parent, and sends it a quit command. This works 525866225e4dSsthen and terminates the old nsd. Left in the kill as a double failsafe. 525966225e4dSsthen If the reload process dies, then the parent closes the socket. 526066225e4dSsthen * Wouter: Separated the signal mode from the socket-determined nsd->mode. 526166225e4dSsthen Every signal function has a variable, so that multiple signals can 526266225e4dSsthen arrive. Only the number of signals of the same type is lost, but not 526366225e4dSsthen important for nsd. The signals are handled in turn by the run loop. 526466225e4dSsthen This completes the coding to remove signal race conditions: 526566225e4dSsthen - nsd uses sockets to communicate with its subprocesses(server,reload). 526666225e4dSsthen - signal handler routine contains no lengthy system calls. 526766225e4dSsthen - signals cannot overwrite a previous signal. 526866225e4dSsthen * Wouter: fixed problem where nsd->mode and mode are different in 526966225e4dSsthen server_main. Nsd would kill the children, but then restart them again. 527066225e4dSsthen 527166225e4dSsthen09 Feb 2006: nsd-team 527266225e4dSsthen * Wouter: Updated dependencies in Makefile (regenerated them with gcc -MM). 527366225e4dSsthen * Wouter: Used splint on the source (with settings to reduce spam.) 527466225e4dSsthen And came to the following changes: 527566225e4dSsthen - In util.h, make it respect HAVE_CONFIG_H and HAVE_SYSLOG_H. 527666225e4dSsthen Also it now defines fallback values for #defines in syslog h. 527766225e4dSsthen - Added explicit cast to (unsigned int) in snprintf in dname.c, 527866225e4dSsthen dname_to_string routine. 527966225e4dSsthen * Wouter: Used extra warnings during gcc compile. -Wextra -Wall 528066225e4dSsthen -pedantic -Wbad-function-cast -Wmissing-declarations 528166225e4dSsthen -Wmissing-prototypes -Wnested-externs -Wold-style-definition 528266225e4dSsthen -Wstrict-prototypes -Wdeclaration-after-statement. 528366225e4dSsthen Using -Wtraditional gives too many warnings. 528466225e4dSsthen * Wouter: Found a problem with pselect. sys/select.h does not by default 528566225e4dSsthen provide the pselect function definition. configure script is 528666225e4dSsthen adjusted to test for this and enable _XOPEN_SOURCE=600 to get it. 528766225e4dSsthen Found this using the gcc warnings. 528866225e4dSsthen * Wouter: dname and rbtree test apps were in make clean target, but 528966225e4dSsthen do not exist anymore. Removed from make clean target. 529066225e4dSsthen * Wouter: in util log_file() the epoch time_t is passed to printf 529166225e4dSsthen without an int cast. Found using extra gcc warnings. 529266225e4dSsthen * Wouter: In server.c fixed some signed-unsigned comparisons 529366225e4dSsthen using the extra gcc warnings. 529466225e4dSsthen - in shutdown and int was used instead of size_t. 529566225e4dSsthen - in server_main timeout(signed) was compared with unsigned. 529666225e4dSsthen - unused variable in new handler functions. 529766225e4dSsthen - in handle_child_command int i instead of size_t was used. 529866225e4dSsthen - in zonec the process_rr routine was missing (void) as paramlist. 529966225e4dSsthen * Wouter: Added -Wall and -Wextra when --enable-checking is enabled. 530066225e4dSsthen * Miek: Ported over the big fat enable checking configure warning. 530166225e4dSsthen * Wouter: fixed configure check for pselect on freebsd. 530266225e4dSsthen 530366225e4dSsthen08 Feb 2006: nsd-team 530466225e4dSsthen * Wouter: In server.c also sockets from unexpectedly dead childs are closed. 530566225e4dSsthen * Wouter: in nsd.c and server.c cleaned out the signal handler, so that 530666225e4dSsthen it only includes two switch/if statements and alters only the mode. 530766225e4dSsthen No more calls to alarm(), waitpid(), write(), log_msg(). 530866225e4dSsthen Instead the work is done in the runloop in server.c and sent by socket. 530966225e4dSsthen Also the parent now waits for children. Parent restarts them. 531066225e4dSsthen * Wouter: Fixup, the children will quit if the parent closes the command 531166225e4dSsthen socket. If parent is killed, they will exit too. 531266225e4dSsthen * Wouter: The server_main now listens to children command channels. 531366225e4dSsthen Included timeout to check for terminated processes. 531466225e4dSsthen Test says that new signal handler works, and child->parent comm. 531566225e4dSsthen 531666225e4dSsthen07 Feb 2006: nsd-team 531766225e4dSsthen * Miek: configure.ac version to 3.0.0 531866225e4dSsthen * Miek: looked at: buffer.{ch}, answer.{ch}, dns.{ch} 531966225e4dSsthen those files don't have any changes, except for dns.{ch} for the 532066225e4dSsthen explicit compression. 532166225e4dSsthen * Miek: looked at: zlexer.lex and zparser.y; only changes there 532266225e4dSsthen for the database changes. 532366225e4dSsthen * Wouter: Changed buffer in write_pid from 16 bytes to 32 bytes, 532466225e4dSsthen this makes 64 bit numbers fit in the buffer. 532566225e4dSsthen * Wouter: Socket connection between parent and child nsds added. 532666225e4dSsthen But sighandler now in worse shape. Need to close them. Remove kills. 532766225e4dSsthen * Wouter: close the parent and child command channel sockets in shutdown(). 5328