1. 09 Aug, 2019 3 commits
    • Evan Hunt's avatar
      update docbook grammar, removing dnssec-looksaide · 02d95d0b
      Evan Hunt authored
      - this required modification to the code that generates grammar text for
        the documentation, because the "dnssec-lookaside" option spanned more
        than one line in doc/misc/options, so grepping out only the lines
        marked "// obsolete" didn't remove the whole option.  this commit adds
        an option to cfg_test to print named.conf clauses only if they don't
        have the obsolete, ancient, test-only, or not-yet-implemented flags
    • Evan Hunt's avatar
      remove DLV system tests · 2c87ab1c
      Evan Hunt authored
    • Evan Hunt's avatar
      remove DLV support from dnssec-checkds · 0b2b6b2e
      Evan Hunt authored
  2. 31 Jul, 2019 1 commit
    • Ondřej Surý's avatar
      The BIND 9 libraries are now internal-only, so remove isc-config.sh · 4b44351e
      Ondřej Surý authored
      The isc-config.sh script was introduced before pkg-config as is a purely
      historical thing.  There are two reason for removal of isc-config.sh scripts:
      a) The BIND 9 libraries are now meant to be used only from BIND 9, so there's no
         reason to provide convenience script to link with the libraries.
      b) Even if that was not the case, we should and would replace the isc-config.sh
         with respective pkg-config (.pc) file for every library.
  3. 12 Jul, 2019 1 commit
  4. 09 Jul, 2019 1 commit
  5. 04 Jul, 2019 1 commit
  6. 28 Jun, 2019 1 commit
    • Michał Kępień's avatar
      dnstap-read: clear buffer before expanding it · 3549abe8
      Michał Kępień authored
      When printing a packet, dnstap-read checks whether its text form takes
      up more than the 2048 bytes allocated for the output buffer by default.
      If that is the case, the output buffer is automatically expanded, but
      the truncated output is left in the buffer, resulting in malformed data
      being printed.  Clear the output buffer before expanding it to prevent
      this issue from occurring.
  7. 27 Jun, 2019 2 commits
    • Evan Hunt's avatar
      add geoip2 system test · 9a1caf99
      Evan Hunt authored
    • Evan Hunt's avatar
      add a search for GeoIP2 libraries in configure · fea6b5bf
      Evan Hunt authored
      - "--with-geoip" is used to enable the legacy GeoIP library.
      - "--with-geoip2" is used to enable the new GeoIP2 library
        (libmaxminddb), and is on by default if the library is found.
      - using both "--with-geoip" and "--with-geoip2" at the same time
        is an error.
      - an attempt is made to determine the default GeoIP2 database path at
        compile time if pkg-config is able to report the module prefix. if
        this fails, it will be necessary to set the path in named.conf with
      - Makefiles have been updated, and a stub lib/dns/geoip2.c has been
        added for the eventual GeoIP2 search implementation.
  8. 25 Jun, 2019 3 commits
    • Ondřej Surý's avatar
      Make the usage of json-c objects opaque to the caller · e3e68889
      Ondřej Surý authored
      The json-c have previously leaked into the global namespace leading
      to forced -I<include_path> for every compilation unit using isc/xml.h
      header.  This MR fixes the usage making the caller object opaque.
    • Ondřej Surý's avatar
      Make the usage of libxml2 opaque to the caller · 0771dd3b
      Ondřej Surý authored
      The libxml2 have previously leaked into the global namespace leading
      to forced -I<include_path> for every compilation unit using isc/xml.h
      header.  This MR fixes the usage making the caller object opaque.
    • Matthijs Mekking's avatar
      Add tests for DNSSEC sign statistics · a8750a88
      Matthijs Mekking authored
      This adds tests to the statschannel system test for testing if
      the dnskey sign operation counters are incremented correctly.
      It tests three cases:
      1. A zone maintenance event where all the signatures that are about
         to expire are resigned.
      2. A dynamic update event where the new RR and other relevant records
         (SOA, NSEC) are resigned.
      3. Adding a standby key, that means the DNSKEY and SOA RRset are
  9. 20 Jun, 2019 1 commit
    • Ondřej Surý's avatar
      Merge unix/app.c and win32/app.c · 5098c954
      Ondřej Surý authored
      The differences between two files are very minimal and most of the
      code is common.  Merge those two files and use #ifdef WIN32 to include
      the right bits on Windows.
  10. 05 Jun, 2019 1 commit
    • Evan Hunt's avatar
      update documentation · 3853b3cf
      Evan Hunt authored
      - change references to trusted-keys to dnssec-keys with static-key
      - rebuild doc/misc/options and other generated grammar doc
      - add a "see MANAGED-KEYS" note when building named.conf.docbook
  11. 30 May, 2019 1 commit
  12. 20 May, 2019 2 commits
  13. 13 May, 2019 1 commit
  14. 09 May, 2019 1 commit
    • Mark Andrews's avatar
      dns_rdata_fromwire_text fuzzer · 8ffdf675
      Mark Andrews authored
      Fuzz input to dns_rdata_fromwire(). Then convert the result
      to text, back to wire format, to multiline text, and back to wire
      format again, checking for consistency throughout the sequence.
  15. 06 May, 2019 1 commit
    • Evan Hunt's avatar
      enable parallel system tests on windows · bbae24c1
      Evan Hunt authored
      this moves the creation of "parallel.mk" into a separate shell script
      instead of bin/tests/system/Makefile. that shell script can now be
      executed by runall.sh, allowing us to make use of the cygwin "make"
      command, which supports parallel execution.
  16. 25 Apr, 2019 1 commit
  17. 18 Apr, 2019 1 commit
  18. 19 Mar, 2019 3 commits
  19. 14 Mar, 2019 1 commit
  20. 08 Mar, 2019 1 commit
  21. 06 Mar, 2019 1 commit
    • Michał Kępień's avatar
      Add ns_plugin_expandpath() · d181c28c
      Michał Kępień authored
      Implement a helper function which, given an input string:
        - copies it verbatim if it contains at least one path separator,
        - prepends the named plugin installation directory to it otherwise.
      This function will allow configuration parsing code to conveniently
      determine the full path to a plugin module given either a path or a
      While other, simpler ways exist for making sure filenames passed to
      dlopen() cause the latter to look for shared objects in a specific
      directory, they are very platform-specific.  Using full paths is thus
      likely the most portable and reliable solution.
      Also added unit tests for ns_plugin_expandpath() to ensure it behaves
      as expected for absolute paths, relative paths, and filenames, for
      various target buffer sizes.
      (Note: plugins share a directory with named on Windows; there is no
      default plugin path. Therefore the source path is copied to the
      destination path with no modification.)
  22. 05 Mar, 2019 1 commit
  23. 04 Mar, 2019 2 commits
    • Matthijs Mekking's avatar
      Ensure all system tests run clean.sh from setup.sh · e4108039
      Matthijs Mekking authored
      For consistency between all system tests, add missing setup.sh scripts
      for tests which do not have one yet and ensure every setup.sh script
      calls its respective clean.sh script.
    • Matthijs Mekking's avatar
      Only perform test cleanups in clean.sh scripts · c64ed484
      Matthijs Mekking authored
      Temporary files created by a given system test should be removed by its
      clean.sh script, not its setup.sh script.  Remove redundant "rm"
      invocations from setup.sh scripts.  Move required "rm" invocations from
      setup.sh scripts to their corresponding clean.sh scripts.
  24. 01 Mar, 2019 1 commit
  25. 22 Feb, 2019 1 commit
  26. 21 Feb, 2019 1 commit
  27. 20 Feb, 2019 1 commit
    • Evan Hunt's avatar
      remove contrib/sdb · c79e2f12
      Evan Hunt authored
      removed the SDB databases in contrib/sdb as they hadn't been
      maintained in some time, and were no longer able to link to named
      without modification.  also:
      - cleaned up contrib/README, which still referred to contrib
        subdirectores that were removed already, and linked to an obsolete URL.
      - removed references to sdb in doc/misc/roadmap and doc/misc/sdb.
  28. 11 Feb, 2019 1 commit
  29. 08 Feb, 2019 3 commits