1. 27 Sep, 2022 1 commit
    • Ondřej Surý's avatar
      Add autoconf option to enable memory leak detection in libraries · 3b31f7f5
      Ondřej Surý authored
      There's a known memory leak in the engine_pkcs11 at the time of writing
      this and it interferes with the named ability to check for memory leaks
      in the OpenSSL memory context by default.
      
      Add an autoconf option to explicitly enable the memory leak detection,
      and use it in the CI except for pkcs11 enabled builds.  When this gets
      fixed in the engine_pkc11, the option can be enabled by default.
      3b31f7f5
  2. 14 Mar, 2022 1 commit
    • Ondřej Surý's avatar
      Refactor isc_timer_create() to just create timer · c259cecc
      Ondřej Surý authored and Evan Hunt's avatar Evan Hunt committed
      The isc_timer_create() function was a bit conflated.  It could have been
      used to create a timer and start it at the same time.  As there was a
      single place where this was done before (see the previous commit for
      nta.c), this was cleaned up and the isc_timer_create() function was
      changed to only create new timer.
      c259cecc
  3. 09 Mar, 2022 2 commits
  4. 27 Jan, 2022 1 commit
    • Michal Nowak's avatar
      Drop runall.sh · 5d2dd94c
      Michal Nowak authored
      runall.sh was mainly used on Windows and as it's support was removed
      from the "main" branch the script is not needed anymore.
      
      Also, remove bin/tests/system/README text on running multiple system
      test suites simultaneously with runall.sh as that support was not
      present in the script anyway.
      5d2dd94c
  5. 18 Jan, 2022 3 commits
  6. 11 Jan, 2022 1 commit
    • Ondřej Surý's avatar
      Update the copyright information in all files in the repository · 58bd26b6
      Ondřej Surý authored
      This commit converts the license handling to adhere to the REUSE
      specification.  It specifically:
      
      1. Adds used licnses to LICENSES/ directory
      
      2. Add "isc" template for adding the copyright boilerplate
      
      3. Changes all source files to include copyright and SPDX license
         header, this includes all the C sources, documentation, zone files,
         configuration files.  There are notes in the doc/dev/copyrights file
         on how to add correct headers to the new files.
      
      4. Handle the rest that can't be modified via .reuse/dep5 file.  The
         binary (or otherwise unmodifiable) files could have license places
         next to them in <foo>.license file, but this would lead to cluttered
         repository and most of the files handled in the .reuse/dep5 file are
         system test files.
      58bd26b6
  7. 15 Oct, 2021 1 commit
  8. 07 Oct, 2021 1 commit
  9. 09 Jul, 2021 1 commit
  10. 24 Jun, 2021 1 commit
    • Matthijs Mekking's avatar
      Remove HISTORY file · 71c6d409
      Matthijs Mekking authored and Ondřej Surý's avatar Ondřej Surý committed
      We should drop the HISTORY file because it's confusing and the same
      information is covered by the release notes for .0 releases (or at
      least they should be).
      
      Remove references to the HISTORY file, update the README to tell
      people go look somewhere else.
      71c6d409
  11. 22 May, 2021 1 commit
  12. 30 Apr, 2020 1 commit
  13. 21 Apr, 2020 1 commit
    • Ondřej Surý's avatar
      Remove python based tools (dnssec-keymgr, dnssec-coverage, dnssec-checkds) · 98b3b937
      Ondřej Surý authored
      With the introduction of dnssec-policy, the aforementioned tools were
      either rendered obsolete, or they will be replaced with dnssec-policy
      based tools.  Remove the tools and the requirement to have Python
      installed.  Python 3 is still being used for tests, so keep the autoconf
      test, but make it much simpler.
      98b3b937
  14. 18 Mar, 2020 1 commit
    • Mark Andrews's avatar
      Refactor the isc_log API so it cannot fail on memory failures · 0b793166
      Mark Andrews authored and Ondřej Surý's avatar Ondřej Surý committed
      The isc_mem API now crashes on memory allocation failure, and this is
      the next commit in series to cleanup the code that could fail before,
      but cannot fail now, e.g. isc_result_t return type has been changed to
      void for the isc_log API functions that could only return ISC_R_SUCCESS.
      0b793166
  15. 21 Feb, 2020 2 commits
  16. 07 Nov, 2019 1 commit
  17. 12 Sep, 2019 1 commit
    • Ondřej Surý's avatar
      Simplify isc_mem_create() to always use defaults and never fail · 1b716a39
      Ondřej Surý authored
      Previously, the isc_mem_create() and isc_mem_createx() functions took `max_size`
      and `target_size` as first two arguments.  Those values were never used in the
      BIND 9 code.  The refactoring removes those arguments and let BIND 9 always use
      the default values.
      
      Previously, the isc_mem_create() and isc_mem_createx() functions could have
      failed because of failed memory allocation.  As this was no longer true and the
      functions have always returned ISC_R_SUCCESS, the have been refactored to return
      void.
      1b716a39
  18. 23 Jul, 2019 1 commit
  19. 15 Nov, 2018 1 commit
  20. 16 Aug, 2018 1 commit
  21. 08 Aug, 2018 1 commit
  22. 09 Apr, 2018 1 commit
    • Michał Kępień's avatar
      Use dns_fixedname_initname() where possible · 4df4a8e7
      Michał Kępień authored and Ondřej Surý's avatar Ondřej Surý committed
      Replace dns_fixedname_init() calls followed by dns_fixedname_name()
      calls with calls to dns_fixedname_initname() where it is possible
      without affecting current behavior and/or performance.
      
      This patch was mostly prepared using Coccinelle and the following
      semantic patch:
      
          @@
          expression fixedname, name;
          @@
          -	dns_fixedname_init(&fixedname);
          	...
          -	name = dns_fixedname_name(&fixedname);
          +	name = dns_fixedname_initname(&fixedname);
      
      The resulting set of changes was then manually reviewed to exclude false
      positives and apply minor tweaks.
      
      It is likely that more occurrences of this pattern can be refactored in
      an identical way.  This commit only takes care of the low-hanging fruit.
      4df4a8e7
  23. 26 Feb, 2018 1 commit
  24. 23 Feb, 2018 1 commit
  25. 26 Oct, 2017 1 commit
  26. 08 Sep, 2017 1 commit
    • Evan Hunt's avatar
      [master] add libns and remove liblwres · 8eb88aaf
      Evan Hunt authored
      4708.   [cleanup]       Legacy Windows builds (i.e. for XP and earlier)
                              are no longer supported. [RT #45186]
      
      4707.	[func]		The lightweight resolver daemon and library (lwresd
      			and liblwres) have been removed. [RT #45186]
      
      4706.	[func]		Code implementing name server query processing has
      			been moved from bin/named to a new library "libns".
      			Functions remaining in bin/named are now prefixed
      			with "named_" rather than "ns_".  This will make it
      			easier to write unit tests for name server code, or
      			link name server functionality into new tools.
      			[RT #45186]
      8eb88aaf
  27. 28 Apr, 2017 1 commit
  28. 24 Apr, 2017 1 commit
  29. 21 Apr, 2017 1 commit
  30. 27 Jun, 2016 1 commit
  31. 24 Nov, 2015 2 commits
  32. 31 Dec, 2014 1 commit