bind9/lib/dns
Matthijs Mekking e233433772 Test keytimes on CSK rollover
This improves keytime testing on CSK rollover.  It now
tests for specific times, and also tests for SyncPublish and
Removed keytimes.

Since an "active key" for ZSK and KSK means something
different, this makes it tricky to decide when a CSK is
active. An "active key" intuitively means the key is signing
so we say a CSK is active when it is creating zone signatures.

This change means a lot of timings for the CSK rollover tests
need to be adjusted.

The keymgr code needs a slight change on calculating the
prepublication time: For a KSK we need to include the parent
registration delay, but for CSK we look at the zone signing
property and stick with the ZSK prepublication calculation.
2020-06-02 09:14:18 +02:00
..
include Reduce the number of fetches we make when looking up addresses 2020-05-19 12:30:29 +02:00
rdata Report Extended DNS Error codes 2020-05-12 22:01:54 +10:00
tests Provide unit test driver 2020-05-21 12:13:01 +02:00
win32 Move the dependencies from sln to vcxproj files 2020-05-28 08:08:30 +02:00
.gitignore 4394. [func] Add rndc command "dnstap-reopen" to close and 2016-06-24 09:37:04 +10:00
acl.c apply the modified style 2020-02-13 15:05:06 -08:00
adb.c change "expr == false" to "!expr" in conditionals 2020-05-25 16:09:57 -07:00
api prep 9.17.1 2020-04-16 23:03:54 +02:00
badcache.c Workaround for clang static analyzer bug. 2020-03-02 14:12:05 +01:00
byaddr.c apply the modified style 2020-02-13 15:05:06 -08:00
cache.c Reformat using the new rules 2020-02-14 09:31:05 +01:00
callbacks.c Reformat using the new rules 2020-02-14 09:31:05 +01:00
catz.c change "expr == false" to "!expr" in conditionals 2020-05-25 16:09:57 -07:00
client.c Stop using AC_C_FLEXIBLE_ARRAY_MEMBER, support for it is part of C99 2020-05-28 11:28:44 +02:00
clientinfo.c apply the modified style 2020-02-13 15:05:06 -08:00
compress.c change 'expr == true' to 'expr' in conditionals 2020-05-25 16:09:57 -07:00
db.c change 'expr == true' to 'expr' in conditionals 2020-05-25 16:09:57 -07:00
dbiterator.c apply the modified style 2020-02-13 15:05:06 -08:00
dbtable.c apply the modified style 2020-02-13 15:05:06 -08:00
diff.c apply the modified style 2020-02-13 15:05:06 -08:00
dispatch.c change 'expr == true' to 'expr' in conditionals 2020-05-25 16:09:57 -07:00
dlz.c apply the modified style 2020-02-13 15:05:06 -08:00
dns64.c apply the modified style 2020-02-13 15:05:06 -08:00
dnsrps.c fix spelling errors reported by Fossies. 2020-02-21 15:05:08 +11:00
dnssec.c Use the new sorting rules to regroup #include headers 2020-03-09 16:19:22 +01:00
dnstap.c Complete rewrite the BIND 9 build system 2020-04-21 14:19:48 +02:00
dnstap.proto fix spelling errors reported by Fossies. 2020-02-21 15:05:08 +11:00
ds.c Stop leaking OpenSSL types and defines in the isc/md.h 2020-03-17 09:11:13 +01:00
dst_api.c Set keytimes appropriately when using kasp 2020-06-02 09:12:47 +02:00
dst_internal.h Complete rewrite the BIND 9 build system 2020-04-21 14:19:48 +02:00
dst_openssl.h Use the new sorting rules to regroup #include headers 2020-03-09 16:19:22 +01:00
dst_parse.c Use the new sorting rules to regroup #include headers 2020-03-09 16:19:22 +01:00
dst_parse.h Reformat using the new rules 2020-02-14 09:31:05 +01:00
dst_pkcs11.h Use clang-format to reformat the source files 2020-02-12 15:04:17 +01:00
dst_result.c apply the modified style 2020-02-13 15:05:06 -08:00
dyndb.c change 'expr == true' to 'expr' in conditionals 2020-05-25 16:09:57 -07:00
ecs.c apply the modified style 2020-02-13 15:05:06 -08:00
fixedname.c apply the modified style 2020-02-13 15:05:06 -08:00
forward.c Reformat using the new rules 2020-02-14 09:31:05 +01:00
gen-unix.h Complete rewrite the BIND 9 build system 2020-04-21 14:19:48 +02:00
gen-win32.h Complete rewrite the BIND 9 build system 2020-04-21 14:19:48 +02:00
gen.c replace fputs() with fprintf() 2020-05-04 09:14:58 +02:00
geoip2.c Complete rewrite the BIND 9 build system 2020-04-21 14:19:48 +02:00
gssapi_link.c Restore the GSSAPI compilation on Windows (but we should really switch to SSPI/Kerberos) 2020-05-28 08:07:57 +02:00
gssapictx.c Restore the GSSAPI compilation on Windows (but we should really switch to SSPI/Kerberos) 2020-05-28 08:07:57 +02:00
hmac_link.c Stop leaking OpenSSL types and defines in the isc/md.h 2020-03-17 09:11:13 +01:00
ipkeylist.c apply the modified style 2020-02-13 15:05:06 -08:00
iptable.c Reformat using the new rules 2020-02-14 09:31:05 +01:00
journal.c dns_journal_iter_init() can now return the size of the delta 2020-03-05 17:20:16 -08:00
kasp.c Fix race condition dnssec-policy with views 2020-03-09 14:48:17 +01:00
key.c Use the new sorting rules to regroup #include headers 2020-03-09 16:19:22 +01:00
keydata.c apply the modified style 2020-02-13 15:05:06 -08:00
keymgr.c Test keytimes on CSK rollover 2020-06-02 09:14:18 +02:00
keytable.c apply the modified style 2020-02-13 15:05:06 -08:00
lib.c change "expr == false" to "!expr" in conditionals 2020-05-25 16:09:57 -07:00
log.c Added new logging category rpz-passthru 2020-05-07 11:44:48 -03:00
lookup.c Reformat using the new rules 2020-02-14 09:31:05 +01:00
Makefile.am Restore the GSSAPI compilation on Windows (but we should really switch to SSPI/Kerberos) 2020-05-28 08:07:57 +02:00
master.c fix spelling errors reported by Fossies. 2020-02-21 15:05:08 +11:00
masterdump.c change "expr == false" to "!expr" in conditionals 2020-05-25 16:09:57 -07:00
message.c change "expr == false" to "!expr" in conditionals 2020-05-25 16:09:57 -07:00
name.c Complete rewrite the BIND 9 build system 2020-04-21 14:19:48 +02:00
ncache.c Reformat using the new rules 2020-02-14 09:31:05 +01:00
nsec.c apply the modified style 2020-02-13 15:05:06 -08:00
nsec3.c apply the modified style 2020-02-13 15:05:06 -08:00
nta.c list "validate-except" entries in "rndc nta -d" and "rndc secroots" 2020-03-04 00:44:32 -08:00
openssl_link.c Use the new sorting rules to regroup #include headers 2020-03-09 16:19:22 +01:00
openssldh_link.c Remove unnecessary forward declarations. 2020-04-20 11:40:41 +02:00
opensslecdsa_link.c Add initial support for ECDSA keys via OpenSSL PKCS#11 engine 2020-05-01 10:36:45 +02:00
openssleddsa_link.c Add engine support to OpenSSL EdDSA implementation. 2020-05-01 14:11:08 +02:00
opensslrsa_link.c Simplify error handling 2020-05-01 10:36:45 +02:00
order.c apply the modified style 2020-02-13 15:05:06 -08:00
peer.c Move structure declarations from dns/peer.h into peer.c 2020-04-20 08:59:09 +00:00
pkcs11.c Complete rewrite the BIND 9 build system 2020-04-21 14:19:48 +02:00
pkcs11ecdsa_link.c Complete rewrite the BIND 9 build system 2020-04-21 14:19:48 +02:00
pkcs11eddsa_link.c Update EdDSA implementation to PKCS#11 v3.0. 2020-04-30 18:40:45 +02:00
pkcs11rsa_link.c Complete rewrite the BIND 9 build system 2020-04-21 14:19:48 +02:00
portlist.c apply the modified style 2020-02-13 15:05:06 -08:00
private.c apply the modified style 2020-02-13 15:05:06 -08:00
rbt.c Complete rewrite the BIND 9 build system 2020-04-21 14:19:48 +02:00
rbtdb.c Ensure tree lock is always held when dns_rbt_fullnamefromnode is called 2020-05-29 14:17:39 -07:00
rbtdb.h Use clang-tidy to add curly braces around one-line statements 2020-02-13 22:07:21 +01:00
rcode.c Use the new sorting rules to regroup #include headers 2020-03-09 16:19:22 +01:00
rdata.c change 'expr == true' to 'expr' in conditionals 2020-05-25 16:09:57 -07:00
rdatalist.c apply the modified style 2020-02-13 15:05:06 -08:00
rdatalist_p.h Use clang-format to reformat the source files 2020-02-12 15:04:17 +01:00
rdataset.c apply the modified style 2020-02-13 15:05:06 -08:00
rdatasetiter.c apply the modified style 2020-02-13 15:05:06 -08:00
rdataslab.c improve calculation of database transfer size 2020-03-05 17:20:16 -08:00
request.c Reformat using the new rules 2020-02-14 09:31:05 +01:00
resolver.c Improve the "hint" variable comment 2020-05-25 14:34:56 +02:00
result.c apply the modified style 2020-02-13 15:05:06 -08:00
rootns.c adjust the clang-format penalties to reduce string breaking 2020-02-17 14:23:58 -08:00
rpz.c change 'expr == true' to 'expr' in conditionals 2020-05-25 16:09:57 -07:00
rriterator.c apply the modified style 2020-02-13 15:05:06 -08:00
rrl.c fix spelling errors reported by Fossies. 2020-02-21 15:05:08 +11:00
sdb.c change "expr == false" to "!expr" in conditionals 2020-05-25 16:09:57 -07:00
sdlz.c change "expr == false" to "!expr" in conditionals 2020-05-25 16:09:57 -07:00
soa.c apply the modified style 2020-02-13 15:05:06 -08:00
ssu.c enforce record count maximums 2020-05-13 15:35:28 +10:00
ssu_external.c Complete rewrite the BIND 9 build system 2020-04-21 14:19:48 +02:00
stats.c Replace hard coded value with constant 2020-04-03 09:27:15 +02:00
tcpmsg.c Reformat using the new rules 2020-02-14 09:31:05 +01:00
time.c apply the modified style 2020-02-13 15:05:06 -08:00
timer.c apply the modified style 2020-02-13 15:05:06 -08:00
tkey.c change 'expr == true' to 'expr' in conditionals 2020-05-25 16:09:57 -07:00
tsec.c Use the new sorting rules to regroup #include headers 2020-03-09 16:19:22 +01:00
tsig.c change "expr == false" to "!expr" in conditionals 2020-05-25 16:09:57 -07:00
tsig_p.h Use clang-format to reformat the source files 2020-02-12 15:04:17 +01:00
ttl.c Reformat using the new rules 2020-02-14 09:31:05 +01:00
update.c change "expr == false" to "!expr" in conditionals 2020-05-25 16:09:57 -07:00
validator.c fix spelling errors reported by Fossies. 2020-02-21 15:05:08 +11:00
view.c change "expr == false" to "!expr" in conditionals 2020-05-25 16:09:57 -07:00
xfrin.c change "expr == false" to "!expr" in conditionals 2020-05-25 16:09:57 -07:00
zone.c change "expr == false" to "!expr" in conditionals 2020-05-25 16:09:57 -07:00
zone_p.h Reformat using the new rules 2020-02-14 09:31:05 +01:00
zonekey.c apply the modified style 2020-02-13 15:05:06 -08:00
zoneverify.c remove or comment empty conditional branches 2020-03-17 13:28:15 -07:00
zt.c Reformat using the new rules 2020-02-14 09:31:05 +01:00