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
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
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
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
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
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
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