Commit Graph

10362 Commits

Author SHA1 Message Date
Tinderbox User
808bb5a170 update copyright notice / whitespace 2018-01-03 23:46:39 +00:00
Mark Andrews
cf0eda222d missing newline in comment
(cherry picked from commit 7258b852cf)
2018-01-03 17:11:59 +11:00
Tinderbox User
478c771590 update copyright notice / whitespace 2018-01-02 23:46:49 +00:00
Mark Andrews
743bb3b02b 4852. [bug] Add REQUIRE's and INSIST's to isc_time_formattimestamp,
isc_time_formathttptimestamp, isc_time_formatISO8601.
                        [RT #46892]
2018-01-02 10:49:09 +11:00
Tinderbox User
fc5764662b regen v9_10 2017-12-29 02:29:40 +00:00
Mark Andrews
30a04f1808 initalize sigsize to zero; ATF_CHECK_EQ(sigsize, tsig.siglen);
(cherry picked from commit 9f61f6b46b)
2017-12-22 08:59:09 +11:00
Mark Andrews
6f19384682 don't attempt to call isc_buffer_free(&buf) twice; don't attempt to call dns_message_destroy(&msg) twice; don't test for key != NULL
(cherry picked from commit cb8650d875)
2017-12-12 13:25:06 +11:00
Mark Andrews
728cc3be42 4842. [bug] Conditionally compile opensslecdsa_link.c to avoid
warnings about unused function. [RT #46790]

(cherry picked from commit 63459cdc05)
(cherry picked from commit 2d82ed9456)
2017-12-07 13:32:40 +11:00
Tinderbox User
4724ccdf11 update copyright notice / whitespace 2017-12-06 23:46:58 +00:00
Mark Andrews
58c86991ee 4841. [bug] Address -fsanitize=undefined warnings. [RT #46786]
(cherry picked from commit 9d5a0abe81)
2017-12-06 21:05:18 +11:00
Mark Andrews
0ebc93648f 4839. [bug] zone.c:zone_sign was not properly determining
if there were active KSK and ZSK keys for
                        a algorithm when update-check-ksk is true
                        (default) leaving records unsigned with one or
                        more DNSKEY algorithms. [RT #46774]

(cherry picked from commit 00f5ea91cf)
2017-12-05 16:12:00 +11:00
Mark Andrews
376a8e1fbc 4838. [bug] zone.c:add_sigs was not properly determining
if there were active KSK and ZSK keys for
                        a algorithm when update-check-ksk is true
                        (default) leaving records unsigned with one or
                        more DNSKEY algorithms. [RT #46754]

(cherry picked from commit 6fa2a0691e)
(cherry picked from commit 677f507de7)
2017-12-05 09:39:36 +11:00
Mark Andrews
5623f65cc4 4837. [bug] dns_update_signatures{inc} (add_sigs) was not
properly determining if there were active KSK and
                        ZSK keys for a algorithm when update-check-ksk is
                        true (default) leaving records unsigned. [RT #46743]

(cherry picked from commit 196e01da5f)
(cherry picked from commit bf459d24a1)
2017-12-04 10:09:29 +11:00
Tinderbox User
3beaa67016 update copyright notice / whitespace 2017-11-30 23:48:18 +00:00
Tinderbox User
5ad36b898d update copyright notice / whitespace 2017-11-29 23:46:59 +00:00
Mark Andrews
d2bd6061ee 4833. [bug] isc_event_free should check that the event is not
linked when called. [RT #46725]

4832.   [bug]           Events were not being removed from zone->rss_events.
                        [RT #46725]

(cherry picked from commit 9ddf7d6c4c)
2017-11-30 10:39:02 +11:00
Mark Andrews
42c82f1e6d 4831. [bug] Convert the RRSIG expirytime to 64 bits for
comparisions in diff.c:resign. [RT #46710]

(cherry picked from commit 0579a11658)
2017-11-29 15:20:56 +11:00
Tinderbox User
4c40d4ca56 update copyright notice / whitespace 2017-11-28 23:47:03 +00:00
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