Commit Graph

10344 Commits

Author SHA1 Message Date
Mark Andrews
bcaca54fcc 4829. [bug] isc_heap_delete did not zero the index value when
the heap was created with a callback to do that.
                        [RT #46709]

(cherry picked from commit 65a483106e)
2017-11-28 18:57:03 +11:00
Mark Andrews
c5c4b2c78d map more entry points to <name>64 2017-11-28 14:18:46 +11:00
Mark Andrews
50b6f54ba8 #define update_recordsandbytes update_recordsandbytes64 2017-11-28 14:14:35 +11:00
Tinderbox User
796d7d08c0 update copyright notice / whitespace 2017-11-27 23:48:26 +00:00
Mark Andrews
f55ce15ae3 restore setting header->heap_index to zero in setsigningtime
(cherry picked from commit c22b540e4c)
2017-11-28 06:47:44 +11:00
Mark Andrews
063500972f More:
4819.   [bug]           Fully backout the transaction when adding a RRset
                        to the resigning / removal heaps fails. [RT #46473]

(cherry picked from commit 19f6a63184)
2017-11-27 15:23:08 +11:00
Mark Andrews
72148d1505 add missing symbols 2017-11-27 15:01:13 +11:00
Mark Andrews
95cee77d5d 4817. [cleanup] Use DNS_NAME_INITABSOLUTE and DNS_NAME_INITNONABSOLUTE.
[RT #45433]
2017-11-27 13:26:27 +11:00
Mark Andrews
71829419e8 silence %lu vs size_t warning by casting to (unsigned long)
(cherry picked from commit 1dc8208a89)
2017-11-24 10:26:43 +11:00
Mark Andrews
80238870db in rdbdb.c:setsigningtime stop breaking heap invariant property unless we are going to restore the invariant property
(cherry picked from commit 6ead410268)
2017-11-24 08:51:08 +11:00
Mark Andrews
1bb97e8000 silence compiler warning [RT #46471] 2017-11-23 17:03:42 +11:00
Michał Kępień
1fd4803e84 [v9_10] Refactor reclimit system test
4823.	[test]		Refactor reclimit system test to improve its
			reliability and speed. [RT #46632]

(cherry picked from commit 6035d557c4)
2017-11-21 10:33:53 +01:00
Tinderbox User
fce2f40be2 update copyright notice / whitespace 2017-11-17 23:46:28 +00:00
Mark Andrews
f0313a348f remove out of date comment
(cherry picked from commit a197094d76)
2017-11-18 08:52:04 +11:00
Mark Andrews
8b7fcd2aee 4821. [bug] When resigning ensure that the SOA's expire time is
always later that the resigning time of other records.
                        [RT #46473]

4820.   [bug]           dns_db_subtractrdataset should transfer the resigning
                        information to the new header. [RT #46473]

4819.   [bug]           Fully backout the transaction when adding a RRset
                        to the resigning / removal heaps fail. [RT #46473]

(cherry picked from commit 656eed7c9b)
2017-11-18 07:22:29 +11:00
Tinderbox User
e96332743a update copyright notice / whitespace 2017-11-14 23:46:58 +00:00
Mark Andrews
03e9a9f3c3 Revert "more DNS_NAME_INITABSOLUTE cases"
This reverts commit ad6f6a1cbf.

DNS_NAME_INITABSOLUTE doesn't exist in BIND 9.10.x's <dns/name.h>
2017-11-14 12:19:00 +11:00
Mark Andrews
ad6f6a1cbf more DNS_NAME_INITABSOLUTE cases
(cherry picked from commit e2f9dcfd86)
2017-11-14 11:54:54 +11:00
Tinderbox User
72189c1df2 update copyright notice / whitespace 2017-11-13 23:47:00 +00:00
Mark Andrews
338659d8f1 4815. [bug] rbt_test.c:insert_and_delete needed to call
dns_rbt_addnode instead of dns_rbt_addname. [RT #46553]

(cherry picked from commit 04934b28ea)
2017-11-13 15:27:18 +11:00
Michał Kępień
54c1627c6f [v9_10] Minor improvements to code handling managed keys
4812.	[bug]		Minor improvements to stability and consistency of code
			handling managed keys. [RT #46468]

(cherry picked from commit eeb919b6f5)
2017-11-09 15:20:54 +01:00
Michał Kępień
570bab86b7 [v9_10] Prevent junk from being logged when using "also-notify { <ip> key <keyname>; };"
(cherry picked from commit 4034b098d8)
2017-11-08 09:22:20 +01:00
Mark Andrews
9246d12884 4805. [bug] TCP4Active and TCP6Active weren't being updated
correctly. [RT #46454]

(cherry picked from commit 92bbc9914c)
2017-11-02 10:43:47 +11:00
Mark Andrews
1668c3da6b don't use the ERR macro as GCC 7 only does a partial static analysis which generates false positives for fallthrough. [RT #46115]
(cherry picked from commit 0698ad8503)
2017-11-01 19:19:33 +11:00
Tinderbox User
2efc13b2f9 update copyright notice / whitespace 2017-10-31 23:47:18 +00:00
Mark Andrews
9f56e47984 4804. [port] win32: access() does not work on directories as
required by POSIX.  Supply a alternative in
                        isc_file_isdirwritable. [RT #46394]
2017-11-01 09:43:11 +11:00
Michał Kępień
406caf7b9c [v9_10] Backport fix for RT #46055
4803.   [bug]		Backport fix for RT #46055 from RT #46267. [RT #46430]

(cherry picked from commit 4b669b69ba)
2017-10-31 06:12:10 +01:00
Mark Andrews
99229636ca tmp should be a (struct in_addr) not (struct in_addr *)
(cherry picked from commit 6e02359034)
2017-10-31 10:35:57 +11:00
Mark Andrews
1c9cb8714c address resource leak [RT #46413]
(cherry picked from commit c341e524dc)
2017-10-27 10:01:50 +11:00
Evan Hunt
436ba0a39d [v9_10] check file and tree headers when loading map files
4792.	[bug]		Fix map file header correctness check. [RT #38418]

(cherry picked from commit 5b69d3da83)
2017-10-25 21:37:37 -07:00
Evan Hunt
d10e669c55 [v9_10] clean up DNS_MESSAGETEXTFLAG comments
(cherry picked from commit 89d1777560)
2017-10-25 21:34:24 -07:00
Tinderbox User
508337e118 update copyright notice / whitespace 2017-10-25 23:52:15 +00:00
Evan Hunt
2586526a0a [v9_10] log when update-policy local gets a key match from a remote host
4788.	[cleanup]	When using "update-policy local", log a warning
			when an update matching the session key is received
			from a remote host. [RT #46213]

- this completes change #4762.
2017-10-25 01:08:07 -07:00
Michał Kępień
54a43e9bf1 [v9_10] Rename nsec3param_salt_totext() to dns_nsec3param_salttotext(), make it public, add unit tests
4786.	[cleanup]	Turn nsec3param_salt_totext() into a public function,
			dns_nsec3param_salttotext(), and add unit tests for it.
			[RT #46289]

(cherry picked from commit 5e1ca7a326)
2017-10-25 09:50:58 +02:00
Michał Kępień
dadca599da [v9_10] Remove REQUIRE preventing change 4592 from working
Change 4592 was supposed to replace a REQUIRE with a conditional return.
While the latter was added, the former was not removed.  Remove the
relevant REQUIRE to fix RT #43822 for good.

(cherry picked from commit a94d68ce43)
2017-10-24 21:11:52 +02:00
Evan Hunt
a86bc0304a [v9_10] update B.ROOT-SERVERS.NET 2017-10-24 09:17:28 -07:00
Tinderbox User
3a3d6733ca update copyright notice / whitespace 2017-10-19 23:47:47 +00:00
Mark Andrews
e2a0aab747 s/REQUIRE/ISC_REQUIRE/; include <isc/assertions.h> if ISC_REQUIRE is used; include <isc/likely.h> if ISC_{UN}LIKELY is used
(cherry picked from commit 0fab171196)
2017-10-19 16:54:18 +11:00
Evan Hunt
d0d9b93391 [v9_10] remove reference to ht.h 2017-10-18 19:53:06 -07:00
Mark Andrews
20ea1dd8c8 4774. [bug] <isc/util.h> was incorrectly included in several
header files. [RT #46311]
2017-10-19 12:44:15 +11:00
Evan Hunt
b6b2b0b9b5 [v9_10] require writable managed keys directory
4769.	[bug]		Enforce the requirement that the managed keys
			directory (specified by "managed-keys-directory",
			and defaulting to the working directory if not
			specified) must be writable. [RT #46077]

(cherry picked from commit 56e30ebae6)
2017-10-17 21:35:19 -07:00
Tinderbox User
69b5243372 update copyright notice / whitespace 2017-10-17 23:50:51 +00:00
Michał Kępień
5e6d28e1b7 [v9_10] Doxygen fixes and cleanups
4773.	[doc]		Fixed generating Doxygen documentation for functions
			annotated using certain macros.  Miscellaneous
			Doxygen-related cleanups. [RT #46276]

(cherry picked from commit ad9772c559)
2017-10-17 08:11:55 +02:00
Tinderbox User
22663231d6 update copyright notice / whitespace 2017-10-11 23:47:07 +00:00
Mark Andrews
d3ccefd918 reserve subscription flags
(cherry picked from commit a9a983781e)
2017-10-12 09:20:25 +11:00
Evan Hunt
b8d1e3cd5d [v9_10] ignore cache when sending 5011 refresh queries
4771.	[bug]		When sending RFC 5011 refresh queries, disregard
			cached DNSKEY rrsets. [RT #46251]

(cherry picked from commit b2597ce86b)
2017-10-11 14:29:50 -07:00
Evan Hunt
07e25984b8 [v9_10] reduce unnecessary priming queries
4770.	[bug]		Cache additional data from priming queries as glue.
			Previously they were ignored as unsigned
			non-answer data from a secure zone, and never
			actually got added to the cache, causing hints
			to be used frequently for root-server
			addresses, which triggered re-priming. [RT #45241]

(cherry picked from commit 5de02a075b)
(cherry picked from commit 6216df5ccd)
2017-10-11 09:14:22 -07:00
Michał Kępień
eb0920f784 [v9_10] Sync draft-durand-doa-over-dns snippet in lib/dns/tests/rdata_test.c with draft version -03 2017-10-09 10:53:08 +02:00
Mark Andrews
7bca69210f 4766. [cleanup] Addresss Coverity warnings. [RT #46150]
(cherry picked from commit 5df3f839b2)
2017-10-09 18:38:23 +11:00
Evan Hunt
0e30df7847 [v9_10] add missing names 2017-10-06 17:39:05 -07:00