1. 21 Jul, 2020 1 commit
  2. 13 Feb, 2020 2 commits
    • Evan Hunt's avatar
      apply the modified style · e851ed0b
      Evan Hunt authored
    • Ondřej Surý's avatar
      Use clang-tidy to add curly braces around one-line statements · 056e133c
      Ondřej Surý authored
      The command used to reformat the files in this commit was:
      ./util/run-clang-tidy \
      	-clang-tidy-binary clang-tidy-11
      	-clang-apply-replacements-binary clang-apply-replacements-11 \
      	-checks=-*,readability-braces-around-statements \
      	-j 9 \
      	-fix \
      	-format \
      	-style=file \
      clang-format -i --style=format $(git ls-files '*.c' '*.h')
      uncrustify -c .uncrustify.cfg --replace --no-backup $(git ls-files '*.c' '*.h')
      clang-format -i --style=format $(git ls-files '*.c' '*.h')
  3. 12 Feb, 2020 1 commit
  4. 21 May, 2019 2 commits
  5. 08 Mar, 2019 1 commit
  6. 23 Aug, 2018 1 commit
  7. 08 Aug, 2018 2 commits
  8. 29 May, 2018 1 commit
    • Ondřej Surý's avatar
      Change isc_random() to be just PRNG, and add isc_nonce_buf() that uses CSPRNG · 99ba29bc
      Ondřej Surý authored
      This commit reverts the previous change to use system provided
      entropy, as (SYS_)getrandom is very slow on Linux because it is
      a syscall.
      The change introduced in this commit adds a new call isc_nonce_buf
      that uses CSPRNG from cryptographic library provider to generate
      secure data that can be and must be used for generating nonces.
      Example usage would be DNS cookies.
      The isc_random() API has been changed to use fast PRNG that is not
      cryptographically secure, but runs entirely in user space.  Two
      contestants have been considered xoroshiro family of the functions
      by Villa&Blackman and PCG by O'Neill.  After a consideration the
      xoshiro128starstar function has been used as uint32_t random number
      provider because it is very fast and has good enough properties
      for our usage pattern.
      The other change introduced in the commit is the more extensive usage
      of isc_random_uniform in places where the usage pattern was
      isc_random() % n to prevent modulo bias.  For usage patterns where
      only 16 or 8 bits are needed (DNS Message ID), the isc_random()
      functions has been renamed to isc_random32(), and isc_random16() and
      isc_random8() functions have been introduced by &-ing the
      isc_random32() output with 0xffff and 0xff.  Please note that the
      functions that uses stripped down bit count doesn't pass our
      NIST SP 800-22 based random test.
  9. 16 May, 2018 1 commit
    • Ondřej Surý's avatar
      Replace all random functions with isc_random, isc_random_buf and isc_random_uniform API. · 3a4f820d
      Ondřej Surý authored
      The three functions has been modeled after the arc4random family of
      functions, and they will always return random bytes.
      The isc_random family of functions internally use these CSPRNG (if available):
      1. getrandom() libc call (might be available on Linux and Solaris)
      2. SYS_getrandom syscall (might be available on Linux, detected at runtime)
      3. arc4random(), arc4random_buf() and arc4random_uniform() (available on BSDs and Mac OS X)
      4. crypto library function:
      4a. RAND_bytes in case OpenSSL
      4b. pkcs_C_GenerateRandom() in case PKCS#11 library
  10. 04 Apr, 2018 3 commits
  11. 23 Feb, 2018 1 commit
  12. 22 Apr, 2017 2 commits
  13. 29 Aug, 2016 1 commit
  14. 27 Jun, 2016 1 commit
  15. 04 Mar, 2016 1 commit
  16. 12 Feb, 2016 1 commit
  17. 08 Feb, 2016 1 commit
  18. 01 Feb, 2016 2 commits
  19. 09 Dec, 2015 1 commit
  20. 29 Sep, 2015 1 commit
    • Evan Hunt's avatar
      [master] merge dyndb · a00f9e2f
      Evan Hunt authored
      4224.	[func]		Added support for "dyndb", a new interface for loading
      			zone data from an external database, developed by
      			Red Hat for the FreeIPA project.
      			DynDB drivers fully implement the BIND database
      			API, and are capable of significantly better
      			performance and functionality than DLZ drivers,
      			while taking advantage of advanced database
      			features not available in BIND such as multi-master
      			Thanks to Adam Tkac and Petr Spacek of Red Hat.
      			[RT #35271]
  21. 12 Feb, 2015 2 commits
  22. 29 May, 2014 2 commits
    • Evan Hunt's avatar
    • Mukund Sivaraman's avatar
      [35904] Add various RBT unit tests · ce376a81
      Mukund Sivaraman authored
      No CHANGES entry was added as this commit mainly adds tests related
      Squashed commit of the following:
      commit d3d44508daa128fb8b60f64b3a8c81f80602273d
      Author: Evan Hunt <each@isc.org>
      Date:   Wed May 7 09:36:41 2014 -0700
          [rt35904] remove private non-static names from .def file
      commit dbca45661c3939f21c3bb3f405d08cfe1b35d7aa
      Author: Mukund Sivaraman <muks@isc.org>
      Date:   Wed May 7 21:39:32 2014 +0530
          Remove test for shortcut findnode()
          The implementation was not included in this review branch, but the tests
          erroneously made it through.
          This functionality will be addressed in a different ticket (RT#35906).
      commit 94ff14576ab3407f2612d34727b7eacfefc3668c
      Author: Mukund Sivaraman <muks@isc.org>
      Date:   Wed May 7 21:36:50 2014 +0530
          Minor indent fix
      commit 50972f17697bb222996e433faa8224843366f9b2
      Author: Evan Hunt <each@isc.org>
      Date:   Tue May 6 20:05:21 2014 -0700
          [rt35904] style
      commit 5c4d5d41fcc5bfecdeebc008896974385c841b8d
      Author: Mukund Sivaraman <muks@isc.org>
      Date:   Sun May 4 19:19:36 2014 +0530
          RBT related updates
          * Add various RBT unit tests
          * Add some helper methods useful in unit testing RBT code
          * General cleanup
  23. 04 Mar, 2014 1 commit
  24. 09 Jan, 2014 2 commits
  25. 04 Dec, 2013 1 commit
  26. 10 Apr, 2013 2 commits
  27. 01 Sep, 2009 1 commit
  28. 06 May, 2009 2 commits