1. 25 Mar, 2020 1 commit
    • Ondřej Surý's avatar
      Fix 'Dereference of null pointer' from scan-build-10 · 9b76eea0
      Ondřej Surý authored
      These are mostly false positives, the clang-analyzer FAQ[1] specifies
      why and how to fix it:
      
      > The reason the analyzer often thinks that a pointer can be null is
      > because the preceding code checked compared it against null. So if you
      > are absolutely sure that it cannot be null, remove the preceding check
      > and, preferably, add an assertion as well.
      
      The 2 warnings reported are:
      
      byname_test.c:308:34: warning: Access to field 'fwdtable' results in a dereference of a null pointer (loaded from variable 'view')
                      RUNTIME_CHECK(dns_fwdtable_add(view->fwdtable, dns_rootname,
                                                     ^~~~~~~~~~~~~~
      /builds/isc-projects/bind9/lib/isc/include/isc/util.h:318:52: note: expanded from macro 'RUNTIME_CHECK'
                                                         ^~~~
      /builds/isc-projects/bind9/lib/isc/include/isc/error.h:50:21: note: expanded from macro 'ISC_ERROR_RUNTIMECHECK'
              ((void)(ISC_LIKELY(cond) ||  \
                                 ^~~~
      /builds/isc-projects/bind9/lib/isc/include/isc/likely.h:23:43: note: expanded from macro 'ISC_LIKELY'
                                                  ^
      1 warning generated.
      
      --
      
      ./rndc.c:255:6: warning: Dereference of null pointer (loaded from variable 'host')
              if (*host == '/') {
                  ^~~~~
      1 warning generated.
      
      References:
      1. https://clang-analyzer.llvm.org/faq.html#null_pointer
      
      (cherry picked from commit ddd0d356)
      9b76eea0
  2. 10 Aug, 2018 2 commits
  3. 11 May, 2018 1 commit
  4. 14 Mar, 2018 1 commit
  5. 18 Jan, 2018 2 commits
  6. 01 Dec, 2017 2 commits
  7. 28 Sep, 2016 1 commit
  8. 23 Aug, 2016 1 commit
  9. 18 Aug, 2016 1 commit
  10. 15 Aug, 2016 1 commit
  11. 27 Jun, 2016 1 commit
  12. 18 Feb, 2016 2 commits
  13. 27 Aug, 2015 1 commit
  14. 21 Jul, 2015 1 commit
    • Mukund Sivaraman's avatar
      Update rndc usage output (#40010) · fc39b6a9
      Mukund Sivaraman authored
      Squashed commit of the following:
      
      commit 73f0bba7d8d4763763ff88731c739ac646714ac8
      Author: Mukund Sivaraman <muks@isc.org>
      Date:   Mon Jul 13 05:40:35 2015 +0530
      
          Update rndc usage output
      
          This is based on a patch sent by Tony Finch.
      fc39b6a9
  15. 10 Jul, 2015 1 commit
  16. 09 Jul, 2015 1 commit
    • Evan Hunt's avatar
      [master] DDoS mitigation features · 1479200a
      Evan Hunt authored
      3938.	[func]		Added quotas to be used in recursive resolvers
      			that are under high query load for names in zones
      			whose authoritative servers are nonresponsive or
      			are experiencing a denial of service attack.
      
      			- "fetches-per-server" limits the number of
      			  simultaneous queries that can be sent to any
      			  single authoritative server.  The configured
      			  value is a starting point; it is automatically
      			  adjusted downward if the server is partially or
      			  completely non-responsive. The algorithm used to
      			  adjust the quota can be configured via the
      			  "fetch-quota-params" option.
      			- "fetches-per-zone" limits the number of
      			  simultaneous queries that can be sent for names
      			  within a single domain.  (Note: Unlike
      			  "fetches-per-server", this value is not
      			  self-tuning.)
      			- New stats counters have been added to count
      			  queries spilled due to these quotas.
      
      			See the ARM for details of these options. [RT #37125]
      1479200a
  17. 23 May, 2015 1 commit
  18. 05 May, 2015 2 commits
  19. 20 Jan, 2015 2 commits
  20. 14 Nov, 2014 1 commit
    • Evan Hunt's avatar
      [master] allow arbitrary-size rndc output · e32d354f
      Evan Hunt authored
      4005.	[func]		The buffer used for returning text from rndc
      			commands is now dynamically resizable, allowing
      			arbitrarily large amounts of text to be sent back
      			to the client. (Prior to this change, it was
      			possible for the output of "rndc tsig-list" to be
      			truncated.) [RT #37731]
      e32d354f
  21. 01 Aug, 2014 2 commits
  22. 31 Jul, 2014 1 commit
  23. 01 Jul, 2014 1 commit
  24. 04 Mar, 2014 1 commit
    • Evan Hunt's avatar
      [master] rndc -q · e7c0d42b
      Evan Hunt authored
      3776.	[bug]		"rndc -q" suppresses output from successful
      			rndc commands. Errors are printed on stderr.
                              [RT #21393]
      e7c0d42b
  25. 07 Feb, 2014 1 commit
  26. 09 Jan, 2014 2 commits
  27. 10 Jul, 2013 1 commit
  28. 05 Jun, 2013 1 commit
  29. 30 May, 2013 1 commit
  30. 14 Mar, 2013 2 commits
    • Tinderbox User's avatar
      update copyright notice · cfa2326b
      Tinderbox User authored
      cfa2326b
    • Evan Hunt's avatar
      [master] algorithm flexibility for rndc · 4eb99892
      Evan Hunt authored
      3525.	[func]		Support for additional signing algorithms in rndc:
      			hmac-sha1, -sha224, -sha256, -sha384, and -sha512.
      			The -A option to rndc-confgen can be used to
      			select the algorithm for the generated key.
      			(The default is still hmac-md5; this may
      			change in a future release.) [RT #20363]
      4eb99892
  31. 24 Oct, 2012 1 commit