|
|
|
@ -1,4 +1,4 @@ |
|
|
|
|
From c23daf334d5487fa53fef88c82312e439a2d8523 Mon Sep 17 00:00:00 2001
|
|
|
|
|
From 14ad3e0b42bc999072d30268396412bec158a22d Mon Sep 17 00:00:00 2001
|
|
|
|
|
From: =?UTF-8?q?Petr=20Men=C5=A1=C3=ADk?= <pemensik@redhat.com>
|
|
|
|
|
Date: Thu, 2 Aug 2018 23:46:45 +0200
|
|
|
|
|
Subject: [PATCH] FIPS tests changes
|
|
|
|
@ -80,7 +80,7 @@ Date: Wed Mar 7 10:44:23 2018 +0100 |
|
|
|
|
bin/tests/system/digdelv/tests.sh | 20 +++---
|
|
|
|
|
bin/tests/system/dlv/ns1/sign.sh | 4 +-
|
|
|
|
|
bin/tests/system/dlv/ns2/sign.sh | 4 +-
|
|
|
|
|
bin/tests/system/dlv/ns6/sign.sh | 66 +++++++++---------
|
|
|
|
|
bin/tests/system/dlv/ns6/sign.sh | 66 ++++++++++---------
|
|
|
|
|
bin/tests/system/dnssec/ns2/sign.sh | 8 +--
|
|
|
|
|
bin/tests/system/dnssec/ns5/trusted.conf.bad | 2 +-
|
|
|
|
|
bin/tests/system/dnssec/tests.sh | 4 +-
|
|
|
|
@ -92,22 +92,19 @@ Date: Wed Mar 7 10:44:23 2018 +0100 |
|
|
|
|
bin/tests/system/nsupdate/ns1/named.conf.in | 2 +-
|
|
|
|
|
bin/tests/system/nsupdate/ns2/named.conf.in | 2 +-
|
|
|
|
|
bin/tests/system/nsupdate/setup.sh | 7 +-
|
|
|
|
|
bin/tests/system/nsupdate/tests.sh | 11 ++-
|
|
|
|
|
bin/tests/system/nsupdate/tests.sh | 11 +++-
|
|
|
|
|
bin/tests/system/rndc/setup.sh | 2 +-
|
|
|
|
|
bin/tests/system/rndc/tests.sh | 23 ++++---
|
|
|
|
|
bin/tests/system/tsig/clean.sh | 1 +
|
|
|
|
|
bin/tests/system/tsig/ns1/named.conf.in | 10 +--
|
|
|
|
|
bin/tests/system/tsig/setup.sh | 5 ++
|
|
|
|
|
bin/tests/system/tsig/tests.sh | 67 ++++++++++++-------
|
|
|
|
|
bin/tests/system/tsig/tests.sh | 65 +++++++++++-------
|
|
|
|
|
bin/tests/system/tsiggss/setup.sh | 2 +-
|
|
|
|
|
bin/tests/system/upforwd/ns1/named.conf.in | 2 +-
|
|
|
|
|
bin/tests/system/upforwd/tests.sh | 2 +-
|
|
|
|
|
bin/tests/system/tsig/ns1/rndc5.conf.in | 10 +++
|
|
|
|
|
45 files changed, 232 insertions(+), 171 deletions(-)
|
|
|
|
|
create mode 100644 bin/tests/system/tsig/ns1/rndc5.conf.in
|
|
|
|
|
43 files changed, 220 insertions(+), 170 deletions(-)
|
|
|
|
|
|
|
|
|
|
diff --git a/bin/tests/system/acl/ns2/named1.conf.in b/bin/tests/system/acl/ns2/named1.conf.in
|
|
|
|
|
index 0ea6502..026db3f 100644
|
|
|
|
|
index 9999ada..e3f8d0e 100644
|
|
|
|
|
--- a/bin/tests/system/acl/ns2/named1.conf.in
|
|
|
|
|
+++ b/bin/tests/system/acl/ns2/named1.conf.in
|
|
|
|
|
@@ -33,12 +33,12 @@ options {
|
|
|
|
@ -126,7 +123,7 @@ index 0ea6502..026db3f 100644 |
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
diff --git a/bin/tests/system/acl/ns2/named2.conf.in b/bin/tests/system/acl/ns2/named2.conf.in
|
|
|
|
|
index b877880..d8f50be 100644
|
|
|
|
|
index f8ec34e..d2d6ad3 100644
|
|
|
|
|
--- a/bin/tests/system/acl/ns2/named2.conf.in
|
|
|
|
|
+++ b/bin/tests/system/acl/ns2/named2.conf.in
|
|
|
|
|
@@ -33,12 +33,12 @@ options {
|
|
|
|
@ -145,7 +142,7 @@ index b877880..d8f50be 100644 |
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
diff --git a/bin/tests/system/acl/ns2/named3.conf.in b/bin/tests/system/acl/ns2/named3.conf.in
|
|
|
|
|
index 0a95062..aa54088 100644
|
|
|
|
|
index 2acb813..6a00344 100644
|
|
|
|
|
--- a/bin/tests/system/acl/ns2/named3.conf.in
|
|
|
|
|
+++ b/bin/tests/system/acl/ns2/named3.conf.in
|
|
|
|
|
@@ -33,17 +33,17 @@ options {
|
|
|
|
@ -170,7 +167,7 @@ index 0a95062..aa54088 100644 |
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
diff --git a/bin/tests/system/acl/ns2/named4.conf.in b/bin/tests/system/acl/ns2/named4.conf.in
|
|
|
|
|
index 7cdcb6e..606a345 100644
|
|
|
|
|
index bca3ee1..5913420 100644
|
|
|
|
|
--- a/bin/tests/system/acl/ns2/named4.conf.in
|
|
|
|
|
+++ b/bin/tests/system/acl/ns2/named4.conf.in
|
|
|
|
|
@@ -33,12 +33,12 @@ options {
|
|
|
|
@ -189,7 +186,7 @@ index 7cdcb6e..606a345 100644 |
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
diff --git a/bin/tests/system/acl/ns2/named5.conf.in b/bin/tests/system/acl/ns2/named5.conf.in
|
|
|
|
|
index 4b4e050..0e679a8 100644
|
|
|
|
|
index 9ef8171..5ae8d38 100644
|
|
|
|
|
--- a/bin/tests/system/acl/ns2/named5.conf.in
|
|
|
|
|
+++ b/bin/tests/system/acl/ns2/named5.conf.in
|
|
|
|
|
@@ -34,12 +34,12 @@ options {
|
|
|
|
@ -208,7 +205,7 @@ index 4b4e050..0e679a8 100644 |
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
diff --git a/bin/tests/system/acl/tests.sh b/bin/tests/system/acl/tests.sh
|
|
|
|
|
index 09f31f2..f88f0d4 100644
|
|
|
|
|
index 2ee34a0..a73a54e 100644
|
|
|
|
|
--- a/bin/tests/system/acl/tests.sh
|
|
|
|
|
+++ b/bin/tests/system/acl/tests.sh
|
|
|
|
|
@@ -22,14 +22,14 @@ echo_i "testing basic ACL processing"
|
|
|
|
@ -334,7 +331,7 @@ index 09f31f2..f88f0d4 100644 |
|
|
|
|
|
|
|
|
|
echo_i "testing allow-query-on ACL processing"
|
|
|
|
|
diff --git a/bin/tests/system/allow-query/ns2/named10.conf.in b/bin/tests/system/allow-query/ns2/named10.conf.in
|
|
|
|
|
index 1569913..e9c5c2d 100644
|
|
|
|
|
index a579f32..3b8f853 100644
|
|
|
|
|
--- a/bin/tests/system/allow-query/ns2/named10.conf.in
|
|
|
|
|
+++ b/bin/tests/system/allow-query/ns2/named10.conf.in
|
|
|
|
|
@@ -12,7 +12,7 @@
|
|
|
|
@ -347,7 +344,7 @@ index 1569913..e9c5c2d 100644 |
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
diff --git a/bin/tests/system/allow-query/ns2/named11.conf.in b/bin/tests/system/allow-query/ns2/named11.conf.in
|
|
|
|
|
index 18ac91c..2b1c873 100644
|
|
|
|
|
index 166afa1..997ece9 100644
|
|
|
|
|
--- a/bin/tests/system/allow-query/ns2/named11.conf.in
|
|
|
|
|
+++ b/bin/tests/system/allow-query/ns2/named11.conf.in
|
|
|
|
|
@@ -12,12 +12,12 @@
|
|
|
|
@ -366,7 +363,7 @@ index 18ac91c..2b1c873 100644 |
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
diff --git a/bin/tests/system/allow-query/ns2/named12.conf.in b/bin/tests/system/allow-query/ns2/named12.conf.in
|
|
|
|
|
index b824844..dd48945 100644
|
|
|
|
|
index 25271a5..a9cb65d 100644
|
|
|
|
|
--- a/bin/tests/system/allow-query/ns2/named12.conf.in
|
|
|
|
|
+++ b/bin/tests/system/allow-query/ns2/named12.conf.in
|
|
|
|
|
@@ -12,7 +12,7 @@
|
|
|
|
@ -379,7 +376,7 @@ index b824844..dd48945 100644 |
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
diff --git a/bin/tests/system/allow-query/ns2/named30.conf.in b/bin/tests/system/allow-query/ns2/named30.conf.in
|
|
|
|
|
index aeb1540..bfce58b 100644
|
|
|
|
|
index c7c8254..f165e65 100644
|
|
|
|
|
--- a/bin/tests/system/allow-query/ns2/named30.conf.in
|
|
|
|
|
+++ b/bin/tests/system/allow-query/ns2/named30.conf.in
|
|
|
|
|
@@ -12,7 +12,7 @@
|
|
|
|
@ -392,7 +389,7 @@ index aeb1540..bfce58b 100644 |
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
diff --git a/bin/tests/system/allow-query/ns2/named31.conf.in b/bin/tests/system/allow-query/ns2/named31.conf.in
|
|
|
|
|
index d4b7432..e0f5252 100644
|
|
|
|
|
index 567bbcc..4fd2035 100644
|
|
|
|
|
--- a/bin/tests/system/allow-query/ns2/named31.conf.in
|
|
|
|
|
+++ b/bin/tests/system/allow-query/ns2/named31.conf.in
|
|
|
|
|
@@ -12,12 +12,12 @@
|
|
|
|
@ -411,7 +408,7 @@ index d4b7432..e0f5252 100644 |
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
diff --git a/bin/tests/system/allow-query/ns2/named32.conf.in b/bin/tests/system/allow-query/ns2/named32.conf.in
|
|
|
|
|
index c025938..87afb3f 100644
|
|
|
|
|
index b75161f..7b254e6 100644
|
|
|
|
|
--- a/bin/tests/system/allow-query/ns2/named32.conf.in
|
|
|
|
|
+++ b/bin/tests/system/allow-query/ns2/named32.conf.in
|
|
|
|
|
@@ -12,7 +12,7 @@
|
|
|
|
@ -424,7 +421,7 @@ index c025938..87afb3f 100644 |
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
diff --git a/bin/tests/system/allow-query/ns2/named40.conf.in b/bin/tests/system/allow-query/ns2/named40.conf.in
|
|
|
|
|
index d83b376..d726b94 100644
|
|
|
|
|
index 9e17818..22f5001 100644
|
|
|
|
|
--- a/bin/tests/system/allow-query/ns2/named40.conf.in
|
|
|
|
|
+++ b/bin/tests/system/allow-query/ns2/named40.conf.in
|
|
|
|
|
@@ -16,12 +16,12 @@ acl accept { 10.53.0.2; };
|
|
|
|
@ -443,7 +440,7 @@ index d83b376..d726b94 100644 |
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
diff --git a/bin/tests/system/allow-query/tests.sh b/bin/tests/system/allow-query/tests.sh
|
|
|
|
|
index fb6059d..f960156 100644
|
|
|
|
|
index 791a1a4..95cd971 100644
|
|
|
|
|
--- a/bin/tests/system/allow-query/tests.sh
|
|
|
|
|
+++ b/bin/tests/system/allow-query/tests.sh
|
|
|
|
|
@@ -190,7 +190,7 @@ rndc_reload
|
|
|
|
@ -528,7 +525,7 @@ index fb6059d..f960156 100644 |
|
|
|
|
grep '^a.keydisallow.example' dig.out.ns2.$n > /dev/null && ret=1
|
|
|
|
|
if [ $ret != 0 ]; then echo_i "failed"; fi
|
|
|
|
|
diff --git a/bin/tests/system/catz/ns1/named.conf.in b/bin/tests/system/catz/ns1/named.conf.in
|
|
|
|
|
index 74b7d37..c353766 100644
|
|
|
|
|
index 6856ec7..0ac1fa3 100644
|
|
|
|
|
--- a/bin/tests/system/catz/ns1/named.conf.in
|
|
|
|
|
+++ b/bin/tests/system/catz/ns1/named.conf.in
|
|
|
|
|
@@ -61,5 +61,5 @@ zone "catalog4.example" {
|
|
|
|
@ -539,7 +536,7 @@ index 74b7d37..c353766 100644 |
|
|
|
|
+ algorithm hmac-sha256;
|
|
|
|
|
};
|
|
|
|
|
diff --git a/bin/tests/system/catz/ns2/named.conf.in b/bin/tests/system/catz/ns2/named.conf.in
|
|
|
|
|
index ee83efb..35ced08 100644
|
|
|
|
|
index dd3a9dc..77b8d96 100644
|
|
|
|
|
--- a/bin/tests/system/catz/ns2/named.conf.in
|
|
|
|
|
+++ b/bin/tests/system/catz/ns2/named.conf.in
|
|
|
|
|
@@ -70,5 +70,5 @@ zone "catalog4.example" {
|
|
|
|
@ -550,7 +547,7 @@ index ee83efb..35ced08 100644 |
|
|
|
|
+ algorithm hmac-sha256;
|
|
|
|
|
};
|
|
|
|
|
diff --git a/bin/tests/system/checkconf/bad-tsig.conf b/bin/tests/system/checkconf/bad-tsig.conf
|
|
|
|
|
index 21be03e..e57c308 100644
|
|
|
|
|
index 338dddb..90cd424 100644
|
|
|
|
|
--- a/bin/tests/system/checkconf/bad-tsig.conf
|
|
|
|
|
+++ b/bin/tests/system/checkconf/bad-tsig.conf
|
|
|
|
|
@@ -11,7 +11,7 @@
|
|
|
|
@ -563,10 +560,10 @@ index 21be03e..e57c308 100644 |
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
diff --git a/bin/tests/system/checkconf/good.conf b/bin/tests/system/checkconf/good.conf
|
|
|
|
|
index 9ab35b3..486551a 100644
|
|
|
|
|
index 2282f87..1359cf3 100644
|
|
|
|
|
--- a/bin/tests/system/checkconf/good.conf
|
|
|
|
|
+++ b/bin/tests/system/checkconf/good.conf
|
|
|
|
|
@@ -153,6 +153,6 @@ dyndb "name" "library.so" {
|
|
|
|
|
@@ -159,6 +159,6 @@ dyndb "name" "library.so" {
|
|
|
|
|
system;
|
|
|
|
|
};
|
|
|
|
|
key "mykey" {
|
|
|
|
@ -575,7 +572,7 @@ index 9ab35b3..486551a 100644 |
|
|
|
|
secret "qwertyuiopasdfgh";
|
|
|
|
|
};
|
|
|
|
|
diff --git a/bin/tests/system/digdelv/ns2/example.db b/bin/tests/system/digdelv/ns2/example.db
|
|
|
|
|
index f4e30f5..9f53e31 100644
|
|
|
|
|
index b66207a..359b220 100644
|
|
|
|
|
--- a/bin/tests/system/digdelv/ns2/example.db
|
|
|
|
|
+++ b/bin/tests/system/digdelv/ns2/example.db
|
|
|
|
|
@@ -38,12 +38,15 @@ foo SSHFP 2 1 123456789abcdef67890123456789abcdef67890
|
|
|
|
@ -601,10 +598,10 @@ index f4e30f5..9f53e31 100644 |
|
|
|
|
; TTL of 3 weeks
|
|
|
|
|
weeks 1814400 A 10.53.0.2
|
|
|
|
|
diff --git a/bin/tests/system/digdelv/tests.sh b/bin/tests/system/digdelv/tests.sh
|
|
|
|
|
index ade45ce..d3aff24 100644
|
|
|
|
|
index 2109001..ded5557 100644
|
|
|
|
|
--- a/bin/tests/system/digdelv/tests.sh
|
|
|
|
|
+++ b/bin/tests/system/digdelv/tests.sh
|
|
|
|
|
@@ -106,7 +106,7 @@ if [ -x "$DIG" ] ; then
|
|
|
|
|
@@ -155,7 +155,7 @@ if [ -x "$DIG" ] ; then
|
|
|
|
|
echo_i "checking dig +rrcomments works for DNSKEY($n)"
|
|
|
|
|
ret=0
|
|
|
|
|
$DIG $DIGOPTS +tcp @10.53.0.3 +rrcomments DNSKEY dnskey.example > dig.out.test$n || ret=1
|
|
|
|
@ -613,7 +610,7 @@ index ade45ce..d3aff24 100644 |
|
|
|
|
check_ttl_range dig.out.test$n "DNSKEY" 300 || ret=1
|
|
|
|
|
if [ $ret != 0 ]; then echo_i "failed"; fi
|
|
|
|
|
status=`expr $status + $ret`
|
|
|
|
|
@@ -115,7 +115,7 @@ if [ -x "$DIG" ] ; then
|
|
|
|
|
@@ -164,7 +164,7 @@ if [ -x "$DIG" ] ; then
|
|
|
|
|
echo_i "checking dig +short +rrcomments works for DNSKEY ($n)"
|
|
|
|
|
ret=0
|
|
|
|
|
$DIG $DIGOPTS +tcp @10.53.0.3 +short +rrcomments DNSKEY dnskey.example > dig.out.test$n || ret=1
|
|
|
|
@ -622,7 +619,7 @@ index ade45ce..d3aff24 100644 |
|
|
|
|
if [ $ret != 0 ]; then echo_i "failed"; fi
|
|
|
|
|
status=`expr $status + $ret`
|
|
|
|
|
|
|
|
|
|
@@ -123,7 +123,7 @@ if [ -x "$DIG" ] ; then
|
|
|
|
|
@@ -172,7 +172,7 @@ if [ -x "$DIG" ] ; then
|
|
|
|
|
echo_i "checking dig +short +nosplit works($n)"
|
|
|
|
|
ret=0
|
|
|
|
|
$DIG $DIGOPTS +tcp @10.53.0.3 +short +nosplit DNSKEY dnskey.example > dig.out.test$n || ret=1
|
|
|
|
@ -631,7 +628,7 @@ index ade45ce..d3aff24 100644 |
|
|
|
|
if [ $ret != 0 ]; then echo_i "failed"; fi
|
|
|
|
|
status=`expr $status + $ret`
|
|
|
|
|
|
|
|
|
|
@@ -131,7 +131,7 @@ if [ -x "$DIG" ] ; then
|
|
|
|
|
@@ -180,7 +180,7 @@ if [ -x "$DIG" ] ; then
|
|
|
|
|
echo_i "checking dig +short +rrcomments works($n)"
|
|
|
|
|
ret=0
|
|
|
|
|
$DIG $DIGOPTS +tcp @10.53.0.3 +short +rrcomments DNSKEY dnskey.example > dig.out.test$n || ret=1
|
|
|
|
@ -640,7 +637,7 @@ index ade45ce..d3aff24 100644 |
|
|
|
|
if [ $ret != 0 ]; then echo_i "failed"; fi
|
|
|
|
|
status=`expr $status + $ret`
|
|
|
|
|
|
|
|
|
|
@@ -148,7 +148,7 @@ if [ -x "$DIG" ] ; then
|
|
|
|
|
@@ -197,7 +197,7 @@ if [ -x "$DIG" ] ; then
|
|
|
|
|
echo_i "checking dig +short +rrcomments works($n)"
|
|
|
|
|
ret=0
|
|
|
|
|
$DIG $DIGOPTS +tcp @10.53.0.3 +short +rrcomments DNSKEY dnskey.example > dig.out.test$n || ret=1
|
|
|
|
@ -649,7 +646,7 @@ index ade45ce..d3aff24 100644 |
|
|
|
|
if [ $ret != 0 ]; then echo_i "failed"; fi
|
|
|
|
|
status=`expr $status + $ret`
|
|
|
|
|
|
|
|
|
|
@@ -695,7 +695,7 @@ if [ -x ${DELV} ] ; then
|
|
|
|
|
@@ -827,7 +827,7 @@ if [ -x ${DELV} ] ; then
|
|
|
|
|
echo_i "checking delv +rrcomments works for DNSKEY($n)"
|
|
|
|
|
ret=0
|
|
|
|
|
$DELV $DELVOPTS +tcp @10.53.0.3 +rrcomments DNSKEY dnskey.example > delv.out.test$n || ret=1
|
|
|
|
@ -658,7 +655,7 @@ index ade45ce..d3aff24 100644 |
|
|
|
|
check_ttl_range delv.out.test$n "DNSKEY" 300 || ret=1
|
|
|
|
|
if [ $ret != 0 ]; then echo_i "failed"; fi
|
|
|
|
|
status=`expr $status + $ret`
|
|
|
|
|
@@ -704,7 +704,7 @@ if [ -x ${DELV} ] ; then
|
|
|
|
|
@@ -836,7 +836,7 @@ if [ -x ${DELV} ] ; then
|
|
|
|
|
echo_i "checking delv +short +rrcomments works for DNSKEY ($n)"
|
|
|
|
|
ret=0
|
|
|
|
|
$DELV $DELVOPTS +tcp @10.53.0.3 +short +rrcomments DNSKEY dnskey.example > delv.out.test$n || ret=1
|
|
|
|
@ -667,7 +664,7 @@ index ade45ce..d3aff24 100644 |
|
|
|
|
if [ $ret != 0 ]; then echo_i "failed"; fi
|
|
|
|
|
status=`expr $status + $ret`
|
|
|
|
|
|
|
|
|
|
@@ -712,7 +712,7 @@ if [ -x ${DELV} ] ; then
|
|
|
|
|
@@ -844,7 +844,7 @@ if [ -x ${DELV} ] ; then
|
|
|
|
|
echo_i "checking delv +short +rrcomments works ($n)"
|
|
|
|
|
ret=0
|
|
|
|
|
$DELV $DELVOPTS +tcp @10.53.0.3 +short +rrcomments DNSKEY dnskey.example > delv.out.test$n || ret=1
|
|
|
|
@ -676,7 +673,7 @@ index ade45ce..d3aff24 100644 |
|
|
|
|
if [ $ret != 0 ]; then echo_i "failed"; fi
|
|
|
|
|
status=`expr $status + $ret`
|
|
|
|
|
|
|
|
|
|
@@ -720,7 +720,7 @@ if [ -x ${DELV} ] ; then
|
|
|
|
|
@@ -852,7 +852,7 @@ if [ -x ${DELV} ] ; then
|
|
|
|
|
echo_i "checking delv +short +nosplit works ($n)"
|
|
|
|
|
ret=0
|
|
|
|
|
$DELV $DELVOPTS +tcp @10.53.0.3 +short +nosplit DNSKEY dnskey.example > delv.out.test$n || ret=1
|
|
|
|
@ -685,7 +682,7 @@ index ade45ce..d3aff24 100644 |
|
|
|
|
if test `wc -l < delv.out.test$n` != 1 ; then ret=1 ; fi
|
|
|
|
|
f=`awk '{print NF}' < delv.out.test$n`
|
|
|
|
|
test "${f:-0}" -eq 14 || ret=1
|
|
|
|
|
@@ -731,7 +731,7 @@ if [ -x ${DELV} ] ; then
|
|
|
|
|
@@ -863,7 +863,7 @@ if [ -x ${DELV} ] ; then
|
|
|
|
|
echo_i "checking delv +short +nosplit +norrcomments works ($n)"
|
|
|
|
|
ret=0
|
|
|
|
|
$DELV $DELVOPTS +tcp @10.53.0.3 +short +nosplit +norrcomments DNSKEY dnskey.example > delv.out.test$n || ret=1
|
|
|
|
@ -695,7 +692,7 @@ index ade45ce..d3aff24 100644 |
|
|
|
|
f=`awk '{print NF}' < delv.out.test$n`
|
|
|
|
|
test "${f:-0}" -eq 4 || ret=1
|
|
|
|
|
diff --git a/bin/tests/system/dlv/ns1/sign.sh b/bin/tests/system/dlv/ns1/sign.sh
|
|
|
|
|
index 606e7cc..a3a0d60 100755
|
|
|
|
|
index 14ca5db..3f522d0 100755
|
|
|
|
|
--- a/bin/tests/system/dlv/ns1/sign.sh
|
|
|
|
|
+++ b/bin/tests/system/dlv/ns1/sign.sh
|
|
|
|
|
@@ -23,8 +23,8 @@ infile=root.db.in
|
|
|
|
@ -710,7 +707,7 @@ index 606e7cc..a3a0d60 100755 |
|
|
|
|
cat $infile $keyname1.key $keyname2.key >$zonefile
|
|
|
|
|
|
|
|
|
|
diff --git a/bin/tests/system/dlv/ns2/sign.sh b/bin/tests/system/dlv/ns2/sign.sh
|
|
|
|
|
index 9825c57..202c978 100755
|
|
|
|
|
index d870798..b0ab372 100755
|
|
|
|
|
--- a/bin/tests/system/dlv/ns2/sign.sh
|
|
|
|
|
+++ b/bin/tests/system/dlv/ns2/sign.sh
|
|
|
|
|
@@ -24,8 +24,8 @@ zonefile=druz.db
|
|
|
|
@ -725,7 +722,7 @@ index 9825c57..202c978 100755 |
|
|
|
|
cat $infile $keyname1.key $keyname2.key >$zonefile
|
|
|
|
|
|
|
|
|
|
diff --git a/bin/tests/system/dlv/ns6/sign.sh b/bin/tests/system/dlv/ns6/sign.sh
|
|
|
|
|
index 1e39862..4ed19ac 100755
|
|
|
|
|
index ba39f90..f20a2dd 100755
|
|
|
|
|
--- a/bin/tests/system/dlv/ns6/sign.sh
|
|
|
|
|
+++ b/bin/tests/system/dlv/ns6/sign.sh
|
|
|
|
|
@@ -16,13 +16,15 @@ SYSTESTDIR=dlv
|
|
|
|
@ -912,7 +909,7 @@ index 1e39862..4ed19ac 100755 |
|
|
|
|
cat $infile $keyname1.key $keyname2.key >$zonefile
|
|
|
|
|
|
|
|
|
|
diff --git a/bin/tests/system/dnssec/ns2/sign.sh b/bin/tests/system/dnssec/ns2/sign.sh
|
|
|
|
|
index 13fb924..1ffa279 100644
|
|
|
|
|
index e28b3f1..29c169b 100644
|
|
|
|
|
--- a/bin/tests/system/dnssec/ns2/sign.sh
|
|
|
|
|
+++ b/bin/tests/system/dnssec/ns2/sign.sh
|
|
|
|
|
@@ -126,8 +126,8 @@ zone=in-addr.arpa.
|
|
|
|
@ -945,7 +942,7 @@ index 13fb924..1ffa279 100644 |
|
|
|
|
cat $dlvinfile $dlvkeyname.key $dlvsetfile > $dlvzonefile
|
|
|
|
|
|
|
|
|
|
diff --git a/bin/tests/system/dnssec/ns5/trusted.conf.bad b/bin/tests/system/dnssec/ns5/trusted.conf.bad
|
|
|
|
|
index ed30460..e6b1126 100644
|
|
|
|
|
index 75cf699..b4d848c 100644
|
|
|
|
|
--- a/bin/tests/system/dnssec/ns5/trusted.conf.bad
|
|
|
|
|
+++ b/bin/tests/system/dnssec/ns5/trusted.conf.bad
|
|
|
|
|
@@ -10,5 +10,5 @@
|
|
|
|
@ -956,10 +953,10 @@ index ed30460..e6b1126 100644 |
|
|
|
|
+ "." 256 3 8 "AwEAAarwAdjV4gIhpBCjXVAScRFEx3co7k8smJdxrnqoGsl5NB7EZ9jRdgvCXbJn6v8y9jlNWVHvaC8ilhfhLh0A1vLWiWv4ijd/12xcnrY7xpG7Cu3YkxUxaXJ7Jdg/Iw1+9mGgXF1v4UbCIcw/3U3cxyk7OxYg+VSb5KBAQSR0upxV";
|
|
|
|
|
};
|
|
|
|
|
diff --git a/bin/tests/system/dnssec/tests.sh b/bin/tests/system/dnssec/tests.sh
|
|
|
|
|
index b31c1b4..a5e237b 100644
|
|
|
|
|
index 3e8e4d5..da692f9 100644
|
|
|
|
|
--- a/bin/tests/system/dnssec/tests.sh
|
|
|
|
|
+++ b/bin/tests/system/dnssec/tests.sh
|
|
|
|
|
@@ -3235,8 +3235,8 @@ do
|
|
|
|
|
@@ -3257,8 +3257,8 @@ do
|
|
|
|
|
alg=`expr $alg + 1`
|
|
|
|
|
continue;;
|
|
|
|
|
3) size="-b 512";;
|
|
|
|
@ -971,7 +968,7 @@ index b31c1b4..a5e237b 100644 |
|
|
|
|
8) size="-b 512";;
|
|
|
|
|
10) size="-b 1024";;
|
|
|
|
|
diff --git a/bin/tests/system/feature-test.c b/bin/tests/system/feature-test.c
|
|
|
|
|
index c1249ed..20a3139 100644
|
|
|
|
|
index 5e473ab..b08692e 100644
|
|
|
|
|
--- a/bin/tests/system/feature-test.c
|
|
|
|
|
+++ b/bin/tests/system/feature-test.c
|
|
|
|
|
@@ -19,6 +19,7 @@
|
|
|
|
@ -983,14 +980,14 @@ index c1249ed..20a3139 100644 |
|
|
|
|
|
|
|
|
|
#ifdef WIN32
|
|
|
|
|
@@ -47,6 +48,7 @@ usage() {
|
|
|
|
|
fprintf(stderr, " --have-geoip2\n");
|
|
|
|
|
fprintf(stderr, " --have-libxml2\n");
|
|
|
|
|
fprintf(stderr, " --ipv6only=no\n");
|
|
|
|
|
+ fprintf(stderr, " --md5\n");
|
|
|
|
|
fprintf(stderr, " --rpz-nsdname\n");
|
|
|
|
|
fprintf(stderr, " --rpz-nsip\n");
|
|
|
|
|
fprintf(stderr, " --with-idn\n");
|
|
|
|
|
@@ -155,6 +157,18 @@ main(int argc, char **argv) {
|
|
|
|
|
fprintf(stderr, "\t--have-geoip\n");
|
|
|
|
|
fprintf(stderr, "\t--have-libxml2\n");
|
|
|
|
|
fprintf(stderr, "\t--ipv6only=no\n");
|
|
|
|
|
+ fprintf(stderr, "\t--md5\n");
|
|
|
|
|
fprintf(stderr, "\t--rpz-log-qtype-qclass\n");
|
|
|
|
|
fprintf(stderr, "\t--rpz-nsdname\n");
|
|
|
|
|
fprintf(stderr, "\t--rpz-nsip\n");
|
|
|
|
|
@@ -194,6 +196,18 @@ main(int argc, char **argv) {
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -1010,7 +1007,7 @@ index c1249ed..20a3139 100644 |
|
|
|
|
#ifdef ENABLE_RPZ_NSIP
|
|
|
|
|
return (0);
|
|
|
|
|
diff --git a/bin/tests/system/filter-aaaa/ns1/sign.sh b/bin/tests/system/filter-aaaa/ns1/sign.sh
|
|
|
|
|
index f755581..4a7d890 100755
|
|
|
|
|
index 479f98c..4d4a765 100755
|
|
|
|
|
--- a/bin/tests/system/filter-aaaa/ns1/sign.sh
|
|
|
|
|
+++ b/bin/tests/system/filter-aaaa/ns1/sign.sh
|
|
|
|
|
@@ -21,8 +21,8 @@ infile=signed.db.in
|
|
|
|
@ -1025,7 +1022,7 @@ index f755581..4a7d890 100755 |
|
|
|
|
cat $infile $keyname1.key $keyname2.key >$zonefile
|
|
|
|
|
|
|
|
|
|
diff --git a/bin/tests/system/filter-aaaa/ns4/sign.sh b/bin/tests/system/filter-aaaa/ns4/sign.sh
|
|
|
|
|
index f755581..4a7d890 100755
|
|
|
|
|
index 479f98c..4d4a765 100755
|
|
|
|
|
--- a/bin/tests/system/filter-aaaa/ns4/sign.sh
|
|
|
|
|
+++ b/bin/tests/system/filter-aaaa/ns4/sign.sh
|
|
|
|
|
@@ -21,8 +21,8 @@ infile=signed.db.in
|
|
|
|
@ -1040,7 +1037,7 @@ index f755581..4a7d890 100755 |
|
|
|
|
cat $infile $keyname1.key $keyname2.key >$zonefile
|
|
|
|
|
|
|
|
|
|
diff --git a/bin/tests/system/notify/ns5/named.conf.in b/bin/tests/system/notify/ns5/named.conf.in
|
|
|
|
|
index cfcfe8f..0a1614d 100644
|
|
|
|
|
index 157ef16..b802288 100644
|
|
|
|
|
--- a/bin/tests/system/notify/ns5/named.conf.in
|
|
|
|
|
+++ b/bin/tests/system/notify/ns5/named.conf.in
|
|
|
|
|
@@ -10,17 +10,17 @@
|
|
|
|
@ -1065,7 +1062,7 @@ index cfcfe8f..0a1614d 100644 |
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
diff --git a/bin/tests/system/notify/tests.sh b/bin/tests/system/notify/tests.sh
|
|
|
|
|
index 1f6e6d0..c08bd25 100644
|
|
|
|
|
index f9fd3f5..916af75 100644
|
|
|
|
|
--- a/bin/tests/system/notify/tests.sh
|
|
|
|
|
+++ b/bin/tests/system/notify/tests.sh
|
|
|
|
|
@@ -212,16 +212,16 @@ ret=0
|
|
|
|
@ -1089,7 +1086,7 @@ index 1f6e6d0..c08bd25 100644 |
|
|
|
|
grep "test string" dig.out.b.ns5.test$n > /dev/null &&
|
|
|
|
|
grep "test string" dig.out.c.ns5.test$n > /dev/null &&
|
|
|
|
|
diff --git a/bin/tests/system/nsupdate/ns1/named.conf.in b/bin/tests/system/nsupdate/ns1/named.conf.in
|
|
|
|
|
index 1d999ad..26b6b7c 100644
|
|
|
|
|
index b0ded3a..cb80269 100644
|
|
|
|
|
--- a/bin/tests/system/nsupdate/ns1/named.conf.in
|
|
|
|
|
+++ b/bin/tests/system/nsupdate/ns1/named.conf.in
|
|
|
|
|
@@ -32,7 +32,7 @@ controls {
|
|
|
|
@ -1102,7 +1099,7 @@ index 1d999ad..26b6b7c 100644 |
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
diff --git a/bin/tests/system/nsupdate/ns2/named.conf.in b/bin/tests/system/nsupdate/ns2/named.conf.in
|
|
|
|
|
index 4549184..cb7dccd 100644
|
|
|
|
|
index e6e2382..b0a94e0 100644
|
|
|
|
|
--- a/bin/tests/system/nsupdate/ns2/named.conf.in
|
|
|
|
|
+++ b/bin/tests/system/nsupdate/ns2/named.conf.in
|
|
|
|
|
@@ -33,7 +33,7 @@ controls {
|
|
|
|
@ -1115,10 +1112,10 @@ index 4549184..cb7dccd 100644 |
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
diff --git a/bin/tests/system/nsupdate/setup.sh b/bin/tests/system/nsupdate/setup.sh
|
|
|
|
|
index 21805c5..0d3d85c 100644
|
|
|
|
|
index 6fbf1d7..a712b17 100644
|
|
|
|
|
--- a/bin/tests/system/nsupdate/setup.sh
|
|
|
|
|
+++ b/bin/tests/system/nsupdate/setup.sh
|
|
|
|
|
@@ -58,7 +58,12 @@ EOF
|
|
|
|
|
@@ -53,7 +53,12 @@ EOF
|
|
|
|
|
|
|
|
|
|
$DDNSCONFGEN -q -r $RANDFILE -z example.nil > ns1/ddns.key
|
|
|
|
|
|
|
|
|
@ -1133,10 +1130,10 @@ index 21805c5..0d3d85c 100644 |
|
|
|
|
$DDNSCONFGEN -q -r $RANDFILE -a hmac-sha224 -k sha224-key -z keytests.nil > ns1/sha224.key
|
|
|
|
|
$DDNSCONFGEN -q -r $RANDFILE -a hmac-sha256 -k sha256-key -z keytests.nil > ns1/sha256.key
|
|
|
|
|
diff --git a/bin/tests/system/nsupdate/tests.sh b/bin/tests/system/nsupdate/tests.sh
|
|
|
|
|
index 4da4849..b3bc807 100755
|
|
|
|
|
index 6b2c8f6..96ad95e 100755
|
|
|
|
|
--- a/bin/tests/system/nsupdate/tests.sh
|
|
|
|
|
+++ b/bin/tests/system/nsupdate/tests.sh
|
|
|
|
|
@@ -708,7 +708,14 @@ fi
|
|
|
|
|
@@ -788,7 +788,14 @@ fi
|
|
|
|
|
n=`expr $n + 1`
|
|
|
|
|
ret=0
|
|
|
|
|
echo_i "check TSIG key algorithms ($n)"
|
|
|
|
@ -1152,7 +1149,7 @@ index 4da4849..b3bc807 100755 |
|
|
|
|
$NSUPDATE -k ns1/${alg}.key <<END > /dev/null || ret=1
|
|
|
|
|
server 10.53.0.1 ${PORT}
|
|
|
|
|
update add ${alg}.keytests.nil. 600 A 10.10.10.3
|
|
|
|
|
@@ -716,7 +723,7 @@ send
|
|
|
|
|
@@ -796,7 +803,7 @@ send
|
|
|
|
|
END
|
|
|
|
|
done
|
|
|
|
|
sleep 2
|
|
|
|
@ -1162,10 +1159,10 @@ index 4da4849..b3bc807 100755 |
|
|
|
|
done
|
|
|
|
|
if [ $ret -ne 0 ]; then
|
|
|
|
|
diff --git a/bin/tests/system/rndc/setup.sh b/bin/tests/system/rndc/setup.sh
|
|
|
|
|
index 343869e..c30efb0 100644
|
|
|
|
|
index 2eb2cd5..36f5114 100644
|
|
|
|
|
--- a/bin/tests/system/rndc/setup.sh
|
|
|
|
|
+++ b/bin/tests/system/rndc/setup.sh
|
|
|
|
|
@@ -37,7 +37,7 @@ make_key () {
|
|
|
|
|
@@ -35,7 +35,7 @@ make_key () {
|
|
|
|
|
sed 's/allow { 10.53.0.4/allow { any/' >> ns4/named.conf
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -1175,7 +1172,7 @@ index 343869e..c30efb0 100644 |
|
|
|
|
make_key 3 ${EXTRAPORT3} hmac-sha224
|
|
|
|
|
make_key 4 ${EXTRAPORT4} hmac-sha256
|
|
|
|
|
diff --git a/bin/tests/system/rndc/tests.sh b/bin/tests/system/rndc/tests.sh
|
|
|
|
|
index 57e066d..186a723 100644
|
|
|
|
|
index 4e25e51..cb8934c 100644
|
|
|
|
|
--- a/bin/tests/system/rndc/tests.sh
|
|
|
|
|
+++ b/bin/tests/system/rndc/tests.sh
|
|
|
|
|
@@ -348,15 +348,20 @@ if [ $ret != 0 ]; then echo_i "failed"; fi
|
|
|
|
@ -1208,17 +1205,8 @@ index 57e066d..186a723 100644 |
|
|
|
|
|
|
|
|
|
n=`expr $n + 1`
|
|
|
|
|
echo_i "testing rndc with hmac-sha1 ($n)"
|
|
|
|
|
diff --git a/bin/tests/system/tsig/clean.sh b/bin/tests/system/tsig/clean.sh
|
|
|
|
|
index 576ec70..cb7a852 100644
|
|
|
|
|
--- a/bin/tests/system/tsig/clean.sh
|
|
|
|
|
+++ b/bin/tests/system/tsig/clean.sh
|
|
|
|
|
@@ -20,3 +20,4 @@ rm -f */named.run
|
|
|
|
|
rm -f ns*/named.lock
|
|
|
|
|
rm -f Kexample.net.+163+*
|
|
|
|
|
rm -f keygen.out?
|
|
|
|
|
+rm -f ns1/named.conf
|
|
|
|
|
diff --git a/bin/tests/system/tsig/ns1/named.conf.in b/bin/tests/system/tsig/ns1/named.conf.in
|
|
|
|
|
index fbf30c6..f61657d 100644
|
|
|
|
|
index 4905ffd..958d9fb 100644
|
|
|
|
|
--- a/bin/tests/system/tsig/ns1/named.conf.in
|
|
|
|
|
+++ b/bin/tests/system/tsig/ns1/named.conf.in
|
|
|
|
|
@@ -21,10 +21,7 @@ options {
|
|
|
|
@ -1246,10 +1234,10 @@ index fbf30c6..f61657d 100644 |
|
|
|
|
key "sha1-trunc" {
|
|
|
|
|
secret "FrSt77yPTFx6hTs4i2tKLB9LmE0=";
|
|
|
|
|
diff --git a/bin/tests/system/tsig/setup.sh b/bin/tests/system/tsig/setup.sh
|
|
|
|
|
index 4dd4a25..aa0f966 100644
|
|
|
|
|
index f42aa79..bfcf4a6 100644
|
|
|
|
|
--- a/bin/tests/system/tsig/setup.sh
|
|
|
|
|
+++ b/bin/tests/system/tsig/setup.sh
|
|
|
|
|
@@ -17,3 +17,8 @@ $SHELL clean.sh
|
|
|
|
|
@@ -15,3 +15,8 @@ SYSTEMTESTTOP=..
|
|
|
|
|
copy_setports ns1/named.conf.in ns1/named.conf
|
|
|
|
|
|
|
|
|
|
test -r $RANDFILE || $GENRANDOM $RANDOMSIZE $RANDFILE
|
|
|
|
@ -1259,7 +1247,7 @@ index 4dd4a25..aa0f966 100644 |
|
|
|
|
+ cat ns1/rndc5.conf.in >> ns1/named.conf
|
|
|
|
|
+fi
|
|
|
|
|
diff --git a/bin/tests/system/tsig/tests.sh b/bin/tests/system/tsig/tests.sh
|
|
|
|
|
index f731fa6..cade35b 100644
|
|
|
|
|
index ed41e1d..98c542e 100644
|
|
|
|
|
--- a/bin/tests/system/tsig/tests.sh
|
|
|
|
|
+++ b/bin/tests/system/tsig/tests.sh
|
|
|
|
|
@@ -26,20 +26,25 @@ sha512="jI/Pa4qRu96t76Pns5Z/Ndxbn3QCkwcxLOgt9vgvnJw5wqTRvNyk3FtD6yIMd1dWVlqZ+Y4f
|
|