|
|
b7523e |
From 3f04cf343dbeb8819197702ce1be737e26e0638a Mon Sep 17 00:00:00 2001
|
|
|
b7523e |
From: =?UTF-8?q?Petr=20Men=C5=A1=C3=ADk?= <pemensik@redhat.com>
|
|
|
b7523e |
Date: Thu, 2 Aug 2018 23:46:45 +0200
|
|
|
b7523e |
Subject: [PATCH] FIPS tests changes
|
|
|
b7523e |
MIME-Version: 1.0
|
|
|
b7523e |
Content-Type: text/plain; charset=UTF-8
|
|
|
b7523e |
Content-Transfer-Encoding: 8bit
|
|
|
b7523e |
|
|
|
b7523e |
Squashed commit of the following:
|
|
|
b7523e |
|
|
|
b7523e |
commit 09e5eb48698d4fef2fc1031870de86c553b6bfaa
|
|
|
b7523e |
Author: Petr Menšík <pemensik@redhat.com>
|
|
|
b7523e |
Date: Wed Mar 7 20:35:13 2018 +0100
|
|
|
b7523e |
|
|
|
b7523e |
Fix nsupdate test. Do not use md5 by default for rndc, skip gracefully md5 if not available.
|
|
|
b7523e |
|
|
|
b7523e |
commit ab303db70082db76ecf36493d0b82ef3e8750cad
|
|
|
b7523e |
Author: Petr Menšík <pemensik@redhat.com>
|
|
|
b7523e |
Date: Wed Mar 7 18:11:10 2018 +0100
|
|
|
b7523e |
|
|
|
b7523e |
Changed root key to be RSASHA256
|
|
|
b7523e |
|
|
|
b7523e |
Change bad trusted key to be the same algorithm.
|
|
|
b7523e |
|
|
|
b7523e |
commit 88ab07c0e14cc71247e1f9d11a1ea832b64c1ee8
|
|
|
b7523e |
Author: Petr Menšík <pemensik@redhat.com>
|
|
|
b7523e |
Date: Wed Mar 7 16:56:17 2018 +0100
|
|
|
b7523e |
|
|
|
b7523e |
Change used key to not use hmac-md5
|
|
|
b7523e |
|
|
|
b7523e |
Fix upforwd test, do not use hmac-md5
|
|
|
b7523e |
|
|
|
b7523e |
commit aec891571626f053acfb4d0a247240cbc21a84e9
|
|
|
b7523e |
Author: Petr Menšík <pemensik@redhat.com>
|
|
|
b7523e |
Date: Wed Mar 7 15:54:11 2018 +0100
|
|
|
b7523e |
|
|
|
b7523e |
Increase bitsize of DSA key to pass FIPS 140-2 mode.
|
|
|
b7523e |
|
|
|
b7523e |
commit bca8e164fa0d9aff2f946b8b4eb0f1f7e0bf6696
|
|
|
b7523e |
Author: Petr Menšík <pemensik@redhat.com>
|
|
|
b7523e |
Date: Wed Mar 7 15:41:08 2018 +0100
|
|
|
b7523e |
|
|
|
b7523e |
Fix tsig and rndc tests for disabled md5
|
|
|
b7523e |
|
|
|
b7523e |
Use hmac-sha256 instead of hmac-md5.
|
|
|
b7523e |
|
|
|
b7523e |
commit 0d314c1ab6151aa13574a21ad22f28d3b7f42a67
|
|
|
b7523e |
Author: Petr Menšík <pemensik@redhat.com>
|
|
|
b7523e |
Date: Wed Mar 7 13:21:00 2018 +0100
|
|
|
b7523e |
|
|
|
b7523e |
Add md5 availability detection to featuretest
|
|
|
b7523e |
|
|
|
b7523e |
commit f389a918803e2853e4b55fed62765dc4a492e34f
|
|
|
b7523e |
Author: Petr Menšík <pemensik@redhat.com>
|
|
|
b7523e |
Date: Wed Mar 7 10:44:23 2018 +0100
|
|
|
b7523e |
|
|
|
b7523e |
Change tests to not use hmac-md5 algorithms if not required
|
|
|
b7523e |
|
|
|
b7523e |
Use hmac-sha256 instead of default hmac-md5 for allow-query
|
|
|
b7523e |
---
|
|
|
b7523e |
bin/tests/system/acl/ns2/named1.conf.in | 4 +-
|
|
|
b7523e |
bin/tests/system/acl/ns2/named2.conf.in | 4 +-
|
|
|
b7523e |
bin/tests/system/acl/ns2/named3.conf.in | 6 +-
|
|
|
b7523e |
bin/tests/system/acl/ns2/named4.conf.in | 4 +-
|
|
|
b7523e |
bin/tests/system/acl/ns2/named5.conf.in | 4 +-
|
|
|
b7523e |
bin/tests/system/acl/tests.sh | 32 ++++-----
|
|
|
b7523e |
.../system/allow-query/ns2/named10.conf.in | 2 +-
|
|
|
b7523e |
.../system/allow-query/ns2/named11.conf.in | 4 +-
|
|
|
b7523e |
.../system/allow-query/ns2/named12.conf.in | 2 +-
|
|
|
b7523e |
.../system/allow-query/ns2/named30.conf.in | 2 +-
|
|
|
b7523e |
.../system/allow-query/ns2/named31.conf.in | 4 +-
|
|
|
b7523e |
.../system/allow-query/ns2/named32.conf.in | 2 +-
|
|
|
b7523e |
.../system/allow-query/ns2/named40.conf.in | 4 +-
|
|
|
b7523e |
bin/tests/system/allow-query/tests.sh | 18 ++---
|
|
|
b7523e |
bin/tests/system/catz/ns1/named.conf.in | 2 +-
|
|
|
b7523e |
bin/tests/system/catz/ns2/named.conf.in | 2 +-
|
|
|
b7523e |
bin/tests/system/checkconf/bad-tsig.conf | 2 +-
|
|
|
b7523e |
bin/tests/system/checkconf/good.conf | 2 +-
|
|
|
b7523e |
bin/tests/system/feature-test.c | 14 ++++
|
|
|
b7523e |
bin/tests/system/notify/ns5/named.conf.in | 6 +-
|
|
|
b7523e |
bin/tests/system/notify/tests.sh | 6 +-
|
|
|
b7523e |
bin/tests/system/nsupdate/ns1/named.conf.in | 2 +-
|
|
|
b7523e |
bin/tests/system/nsupdate/ns2/named.conf.in | 2 +-
|
|
|
b7523e |
bin/tests/system/nsupdate/setup.sh | 6 +-
|
|
|
b7523e |
bin/tests/system/nsupdate/tests.sh | 15 +++--
|
|
|
b7523e |
bin/tests/system/rndc/setup.sh | 2 +-
|
|
|
b7523e |
bin/tests/system/rndc/tests.sh | 23 ++++---
|
|
|
b7523e |
bin/tests/system/tsig/ns1/named.conf.in | 10 +--
|
|
|
b7523e |
bin/tests/system/tsig/ns1/rndc5.conf.in | 10 +++
|
|
|
b7523e |
bin/tests/system/tsig/setup.sh | 5 ++
|
|
|
b7523e |
bin/tests/system/tsig/tests.sh | 65 ++++++++++++-------
|
|
|
b7523e |
bin/tests/system/upforwd/ns1/named.conf.in | 2 +-
|
|
|
b7523e |
bin/tests/system/upforwd/tests.sh | 2 +-
|
|
|
b7523e |
33 files changed, 162 insertions(+), 108 deletions(-)
|
|
|
b7523e |
create mode 100644 bin/tests/system/tsig/ns1/rndc5.conf.in
|
|
|
b7523e |
|
|
|
b7523e |
diff --git a/bin/tests/system/acl/ns2/named1.conf.in b/bin/tests/system/acl/ns2/named1.conf.in
|
|
|
b7523e |
index 60f22e1..249f672 100644
|
|
|
b7523e |
--- a/bin/tests/system/acl/ns2/named1.conf.in
|
|
|
b7523e |
+++ b/bin/tests/system/acl/ns2/named1.conf.in
|
|
|
b7523e |
@@ -33,12 +33,12 @@ options {
|
|
|
b7523e |
};
|
|
|
b7523e |
|
|
|
b7523e |
key one {
|
|
|
b7523e |
- algorithm hmac-md5;
|
|
|
b7523e |
+ algorithm hmac-sha256;
|
|
|
b7523e |
secret "1234abcd8765";
|
|
|
b7523e |
};
|
|
|
b7523e |
|
|
|
b7523e |
key two {
|
|
|
b7523e |
- algorithm hmac-md5;
|
|
|
b7523e |
+ algorithm hmac-sha256;
|
|
|
b7523e |
secret "1234abcd8765";
|
|
|
b7523e |
};
|
|
|
b7523e |
|
|
|
b7523e |
diff --git a/bin/tests/system/acl/ns2/named2.conf.in b/bin/tests/system/acl/ns2/named2.conf.in
|
|
|
b7523e |
index ada97bc..f82d858 100644
|
|
|
b7523e |
--- a/bin/tests/system/acl/ns2/named2.conf.in
|
|
|
b7523e |
+++ b/bin/tests/system/acl/ns2/named2.conf.in
|
|
|
b7523e |
@@ -33,12 +33,12 @@ options {
|
|
|
b7523e |
};
|
|
|
b7523e |
|
|
|
b7523e |
key one {
|
|
|
b7523e |
- algorithm hmac-md5;
|
|
|
b7523e |
+ algorithm hmac-sha256;
|
|
|
b7523e |
secret "1234abcd8765";
|
|
|
b7523e |
};
|
|
|
b7523e |
|
|
|
b7523e |
key two {
|
|
|
b7523e |
- algorithm hmac-md5;
|
|
|
b7523e |
+ algorithm hmac-sha256;
|
|
|
b7523e |
secret "1234abcd8765";
|
|
|
b7523e |
};
|
|
|
b7523e |
|
|
|
b7523e |
diff --git a/bin/tests/system/acl/ns2/named3.conf.in b/bin/tests/system/acl/ns2/named3.conf.in
|
|
|
b7523e |
index 97684e4..de6a2e9 100644
|
|
|
b7523e |
--- a/bin/tests/system/acl/ns2/named3.conf.in
|
|
|
b7523e |
+++ b/bin/tests/system/acl/ns2/named3.conf.in
|
|
|
b7523e |
@@ -33,17 +33,17 @@ options {
|
|
|
b7523e |
};
|
|
|
b7523e |
|
|
|
b7523e |
key one {
|
|
|
b7523e |
- algorithm hmac-md5;
|
|
|
b7523e |
+ algorithm hmac-sha256;
|
|
|
b7523e |
secret "1234abcd8765";
|
|
|
b7523e |
};
|
|
|
b7523e |
|
|
|
b7523e |
key two {
|
|
|
b7523e |
- algorithm hmac-md5;
|
|
|
b7523e |
+ algorithm hmac-sha256;
|
|
|
b7523e |
secret "1234abcd8765";
|
|
|
b7523e |
};
|
|
|
b7523e |
|
|
|
b7523e |
key three {
|
|
|
b7523e |
- algorithm hmac-md5;
|
|
|
b7523e |
+ algorithm hmac-sha256;
|
|
|
b7523e |
secret "1234abcd8765";
|
|
|
b7523e |
};
|
|
|
b7523e |
|
|
|
b7523e |
diff --git a/bin/tests/system/acl/ns2/named4.conf.in b/bin/tests/system/acl/ns2/named4.conf.in
|
|
|
b7523e |
index 462b3fa..994b35c 100644
|
|
|
b7523e |
--- a/bin/tests/system/acl/ns2/named4.conf.in
|
|
|
b7523e |
+++ b/bin/tests/system/acl/ns2/named4.conf.in
|
|
|
b7523e |
@@ -33,12 +33,12 @@ options {
|
|
|
b7523e |
};
|
|
|
b7523e |
|
|
|
b7523e |
key one {
|
|
|
b7523e |
- algorithm hmac-md5;
|
|
|
b7523e |
+ algorithm hmac-sha256;
|
|
|
b7523e |
secret "1234abcd8765";
|
|
|
b7523e |
};
|
|
|
b7523e |
|
|
|
b7523e |
key two {
|
|
|
b7523e |
- algorithm hmac-md5;
|
|
|
b7523e |
+ algorithm hmac-sha256;
|
|
|
b7523e |
secret "1234abcd8765";
|
|
|
b7523e |
};
|
|
|
b7523e |
|
|
|
b7523e |
diff --git a/bin/tests/system/acl/ns2/named5.conf.in b/bin/tests/system/acl/ns2/named5.conf.in
|
|
|
b7523e |
index 728da58..8f00d09 100644
|
|
|
b7523e |
--- a/bin/tests/system/acl/ns2/named5.conf.in
|
|
|
b7523e |
+++ b/bin/tests/system/acl/ns2/named5.conf.in
|
|
|
b7523e |
@@ -35,12 +35,12 @@ options {
|
|
|
b7523e |
};
|
|
|
b7523e |
|
|
|
b7523e |
key one {
|
|
|
b7523e |
- algorithm hmac-md5;
|
|
|
b7523e |
+ algorithm hmac-sha256;
|
|
|
b7523e |
secret "1234abcd8765";
|
|
|
b7523e |
};
|
|
|
b7523e |
|
|
|
b7523e |
key two {
|
|
|
b7523e |
- algorithm hmac-md5;
|
|
|
b7523e |
+ algorithm hmac-sha256;
|
|
|
b7523e |
secret "1234abcd8765";
|
|
|
b7523e |
};
|
|
|
b7523e |
|
|
|
b7523e |
diff --git a/bin/tests/system/acl/tests.sh b/bin/tests/system/acl/tests.sh
|
|
|
b7523e |
index be59d64..13d5bdc 100644
|
|
|
b7523e |
--- a/bin/tests/system/acl/tests.sh
|
|
|
b7523e |
+++ b/bin/tests/system/acl/tests.sh
|
|
|
b7523e |
@@ -22,14 +22,14 @@ echo_i "testing basic ACL processing"
|
|
|
b7523e |
# key "one" should fail
|
|
|
b7523e |
t=`expr $t + 1`
|
|
|
b7523e |
$DIG $DIGOPTS tsigzone. \
|
|
|
b7523e |
- @10.53.0.2 -b 10.53.0.1 axfr -y one:1234abcd8765 > dig.out.${t}
|
|
|
b7523e |
+ @10.53.0.2 -b 10.53.0.1 axfr -y hmac-sha256:one:1234abcd8765 > dig.out.${t}
|
|
|
b7523e |
grep "^;" dig.out.${t} > /dev/null 2>&1 || { echo_i "test $t failed" ; status=1; }
|
|
|
b7523e |
|
|
|
b7523e |
|
|
|
b7523e |
# any other key should be fine
|
|
|
b7523e |
t=`expr $t + 1`
|
|
|
b7523e |
$DIG $DIGOPTS tsigzone. \
|
|
|
b7523e |
- @10.53.0.2 -b 10.53.0.1 axfr -y two:1234abcd8765 > dig.out.${t}
|
|
|
b7523e |
+ @10.53.0.2 -b 10.53.0.1 axfr -y hmac-sha256:two:1234abcd8765 > dig.out.${t}
|
|
|
b7523e |
grep "^;" dig.out.${t} > /dev/null 2>&1 && { echo_i "test $t failed" ; status=1; }
|
|
|
b7523e |
|
|
|
b7523e |
copy_setports ns2/named2.conf.in ns2/named.conf
|
|
|
b7523e |
@@ -39,18 +39,18 @@ sleep 5
|
|
|
b7523e |
# prefix 10/8 should fail
|
|
|
b7523e |
t=`expr $t + 1`
|
|
|
b7523e |
$DIG $DIGOPTS tsigzone. \
|
|
|
b7523e |
- @10.53.0.2 -b 10.53.0.1 axfr -y one:1234abcd8765 > dig.out.${t}
|
|
|
b7523e |
+ @10.53.0.2 -b 10.53.0.1 axfr -y hmac-sha256:one:1234abcd8765 > dig.out.${t}
|
|
|
b7523e |
grep "^;" dig.out.${t} > /dev/null 2>&1 || { echo_i "test $t failed" ; status=1; }
|
|
|
b7523e |
|
|
|
b7523e |
# any other address should work, as long as it sends key "one"
|
|
|
b7523e |
t=`expr $t + 1`
|
|
|
b7523e |
$DIG $DIGOPTS tsigzone. \
|
|
|
b7523e |
- @10.53.0.2 -b 127.0.0.1 axfr -y two:1234abcd8765 > dig.out.${t}
|
|
|
b7523e |
+ @10.53.0.2 -b 127.0.0.1 axfr -y hmac-sha256:two:1234abcd8765 > dig.out.${t}
|
|
|
b7523e |
grep "^;" dig.out.${t} > /dev/null 2>&1 || { echo_i "test $t failed" ; status=1; }
|
|
|
b7523e |
|
|
|
b7523e |
t=`expr $t + 1`
|
|
|
b7523e |
$DIG $DIGOPTS tsigzone. \
|
|
|
b7523e |
- @10.53.0.2 -b 127.0.0.1 axfr -y one:1234abcd8765 > dig.out.${t}
|
|
|
b7523e |
+ @10.53.0.2 -b 127.0.0.1 axfr -y hmac-sha256:one:1234abcd8765 > dig.out.${t}
|
|
|
b7523e |
grep "^;" dig.out.${t} > /dev/null 2>&1 && { echo_i "test $t failed" ; status=1; }
|
|
|
b7523e |
|
|
|
b7523e |
echo_i "testing nested ACL processing"
|
|
|
b7523e |
@@ -62,31 +62,31 @@ sleep 5
|
|
|
b7523e |
# should succeed
|
|
|
b7523e |
t=`expr $t + 1`
|
|
|
b7523e |
$DIG $DIGOPTS tsigzone. \
|
|
|
b7523e |
- @10.53.0.2 -b 10.53.0.2 axfr -y two:1234abcd8765 > dig.out.${t}
|
|
|
b7523e |
+ @10.53.0.2 -b 10.53.0.2 axfr -y hmac-sha256:two:1234abcd8765 > dig.out.${t}
|
|
|
b7523e |
grep "^;" dig.out.${t} > /dev/null 2>&1 && { echo_i "test $t failed" ; status=1; }
|
|
|
b7523e |
|
|
|
b7523e |
# should succeed
|
|
|
b7523e |
t=`expr $t + 1`
|
|
|
b7523e |
$DIG $DIGOPTS tsigzone. \
|
|
|
b7523e |
- @10.53.0.2 -b 10.53.0.2 axfr -y one:1234abcd8765 > dig.out.${t}
|
|
|
b7523e |
+ @10.53.0.2 -b 10.53.0.2 axfr -y hmac-sha256:one:1234abcd8765 > dig.out.${t}
|
|
|
b7523e |
grep "^;" dig.out.${t} > /dev/null 2>&1 && { echo_i "test $t failed" ; status=1; }
|
|
|
b7523e |
|
|
|
b7523e |
# should succeed
|
|
|
b7523e |
t=`expr $t + 1`
|
|
|
b7523e |
$DIG $DIGOPTS tsigzone. \
|
|
|
b7523e |
- @10.53.0.2 -b 10.53.0.1 axfr -y two:1234abcd8765 > dig.out.${t}
|
|
|
b7523e |
+ @10.53.0.2 -b 10.53.0.1 axfr -y hmac-sha256:two:1234abcd8765 > dig.out.${t}
|
|
|
b7523e |
grep "^;" dig.out.${t} > /dev/null 2>&1 && { echo_i "test $t failed" ; status=1; }
|
|
|
b7523e |
|
|
|
b7523e |
# should succeed
|
|
|
b7523e |
t=`expr $t + 1`
|
|
|
b7523e |
$DIG $DIGOPTS tsigzone. \
|
|
|
b7523e |
- @10.53.0.2 -b 10.53.0.1 axfr -y two:1234abcd8765 > dig.out.${t}
|
|
|
b7523e |
+ @10.53.0.2 -b 10.53.0.1 axfr -y hmac-sha256:two:1234abcd8765 > dig.out.${t}
|
|
|
b7523e |
grep "^;" dig.out.${t} > /dev/null 2>&1 && { echo_i "test $t failed" ; status=1; }
|
|
|
b7523e |
|
|
|
b7523e |
# but only one or the other should fail
|
|
|
b7523e |
t=`expr $t + 1`
|
|
|
b7523e |
$DIG $DIGOPTS tsigzone. \
|
|
|
b7523e |
- @10.53.0.2 -b 127.0.0.1 axfr -y one:1234abcd8765 > dig.out.${t}
|
|
|
b7523e |
+ @10.53.0.2 -b 127.0.0.1 axfr -y hmac-sha256:one:1234abcd8765 > dig.out.${t}
|
|
|
b7523e |
grep "^;" dig.out.${t} > /dev/null 2>&1 || { echo_i "test $t failed" ; status=1; }
|
|
|
b7523e |
|
|
|
b7523e |
t=`expr $t + 1`
|
|
|
b7523e |
@@ -97,7 +97,7 @@ grep "^;" dig.out.${t} > /dev/null 2>&1 || { echo_i "test $tt failed" ; status=1
|
|
|
b7523e |
# and other values? right out
|
|
|
b7523e |
t=`expr $t + 1`
|
|
|
b7523e |
$DIG $DIGOPTS tsigzone. \
|
|
|
b7523e |
- @10.53.0.2 -b 127.0.0.1 axfr -y three:1234abcd8765 > dig.out.${t}
|
|
|
b7523e |
+ @10.53.0.2 -b 127.0.0.1 axfr -y hmac-sha256:three:1234abcd8765 > dig.out.${t}
|
|
|
b7523e |
grep "^;" dig.out.${t} > /dev/null 2>&1 || { echo_i "test $t failed" ; status=1; }
|
|
|
b7523e |
|
|
|
b7523e |
# now we only allow 10.53.0.1 *and* key one, or 10.53.0.2 *and* key two
|
|
|
b7523e |
@@ -108,31 +108,31 @@ sleep 5
|
|
|
b7523e |
# should succeed
|
|
|
b7523e |
t=`expr $t + 1`
|
|
|
b7523e |
$DIG $DIGOPTS tsigzone. \
|
|
|
b7523e |
- @10.53.0.2 -b 10.53.0.2 axfr -y two:1234abcd8765 > dig.out.${t}
|
|
|
b7523e |
+ @10.53.0.2 -b 10.53.0.2 axfr -y hmac-sha256:two:1234abcd8765 > dig.out.${t}
|
|
|
b7523e |
grep "^;" dig.out.${t} > /dev/null 2>&1 && { echo_i "test $t failed" ; status=1; }
|
|
|
b7523e |
|
|
|
b7523e |
# should succeed
|
|
|
b7523e |
t=`expr $t + 1`
|
|
|
b7523e |
$DIG $DIGOPTS tsigzone. \
|
|
|
b7523e |
- @10.53.0.2 -b 10.53.0.1 axfr -y one:1234abcd8765 > dig.out.${t}
|
|
|
b7523e |
+ @10.53.0.2 -b 10.53.0.1 axfr -y hmac-sha256:one:1234abcd8765 > dig.out.${t}
|
|
|
b7523e |
grep "^;" dig.out.${t} > /dev/null 2>&1 && { echo_i "test $t failed" ; status=1; }
|
|
|
b7523e |
|
|
|
b7523e |
# should fail
|
|
|
b7523e |
t=`expr $t + 1`
|
|
|
b7523e |
$DIG $DIGOPTS tsigzone. \
|
|
|
b7523e |
- @10.53.0.2 -b 10.53.0.2 axfr -y one:1234abcd8765 > dig.out.${t}
|
|
|
b7523e |
+ @10.53.0.2 -b 10.53.0.2 axfr -y hmac-sha256:one:1234abcd8765 > dig.out.${t}
|
|
|
b7523e |
grep "^;" dig.out.${t} > /dev/null 2>&1 || { echo_i "test $t failed" ; status=1; }
|
|
|
b7523e |
|
|
|
b7523e |
# should fail
|
|
|
b7523e |
t=`expr $t + 1`
|
|
|
b7523e |
$DIG $DIGOPTS tsigzone. \
|
|
|
b7523e |
- @10.53.0.2 -b 10.53.0.1 axfr -y two:1234abcd8765 > dig.out.${t}
|
|
|
b7523e |
+ @10.53.0.2 -b 10.53.0.1 axfr -y hmac-sha256:two:1234abcd8765 > dig.out.${t}
|
|
|
b7523e |
grep "^;" dig.out.${t} > /dev/null 2>&1 || { echo_i "test $t failed" ; status=1; }
|
|
|
b7523e |
|
|
|
b7523e |
# should fail
|
|
|
b7523e |
t=`expr $t + 1`
|
|
|
b7523e |
$DIG $DIGOPTS tsigzone. \
|
|
|
b7523e |
- @10.53.0.2 -b 10.53.0.3 axfr -y one:1234abcd8765 > dig.out.${t}
|
|
|
b7523e |
+ @10.53.0.2 -b 10.53.0.3 axfr -y hmac-sha256:one:1234abcd8765 > dig.out.${t}
|
|
|
b7523e |
grep "^;" dig.out.${t} > /dev/null 2>&1 || { echo_i "test $t failed" ; status=1; }
|
|
|
b7523e |
|
|
|
b7523e |
echo_i "testing allow-query-on ACL processing"
|
|
|
b7523e |
diff --git a/bin/tests/system/allow-query/ns2/named10.conf.in b/bin/tests/system/allow-query/ns2/named10.conf.in
|
|
|
b7523e |
index 7d43e36..f7b25f9 100644
|
|
|
b7523e |
--- a/bin/tests/system/allow-query/ns2/named10.conf.in
|
|
|
b7523e |
+++ b/bin/tests/system/allow-query/ns2/named10.conf.in
|
|
|
b7523e |
@@ -10,7 +10,7 @@
|
|
|
b7523e |
*/
|
|
|
b7523e |
|
|
|
b7523e |
key one {
|
|
|
b7523e |
- algorithm hmac-md5;
|
|
|
b7523e |
+ algorithm hmac-sha256;
|
|
|
b7523e |
secret "1234abcd8765";
|
|
|
b7523e |
};
|
|
|
b7523e |
|
|
|
b7523e |
diff --git a/bin/tests/system/allow-query/ns2/named11.conf.in b/bin/tests/system/allow-query/ns2/named11.conf.in
|
|
|
b7523e |
index 2952518..121557e 100644
|
|
|
b7523e |
--- a/bin/tests/system/allow-query/ns2/named11.conf.in
|
|
|
b7523e |
+++ b/bin/tests/system/allow-query/ns2/named11.conf.in
|
|
|
b7523e |
@@ -10,12 +10,12 @@
|
|
|
b7523e |
*/
|
|
|
b7523e |
|
|
|
b7523e |
key one {
|
|
|
b7523e |
- algorithm hmac-md5;
|
|
|
b7523e |
+ algorithm hmac-sha256;
|
|
|
b7523e |
secret "1234abcd8765";
|
|
|
b7523e |
};
|
|
|
b7523e |
|
|
|
b7523e |
key two {
|
|
|
b7523e |
- algorithm hmac-md5;
|
|
|
b7523e |
+ algorithm hmac-sha256;
|
|
|
b7523e |
secret "1234efgh8765";
|
|
|
b7523e |
};
|
|
|
b7523e |
|
|
|
b7523e |
diff --git a/bin/tests/system/allow-query/ns2/named12.conf.in b/bin/tests/system/allow-query/ns2/named12.conf.in
|
|
|
b7523e |
index 0c01071..ceabbb5 100644
|
|
|
b7523e |
--- a/bin/tests/system/allow-query/ns2/named12.conf.in
|
|
|
b7523e |
+++ b/bin/tests/system/allow-query/ns2/named12.conf.in
|
|
|
b7523e |
@@ -10,7 +10,7 @@
|
|
|
b7523e |
*/
|
|
|
b7523e |
|
|
|
b7523e |
key one {
|
|
|
b7523e |
- algorithm hmac-md5;
|
|
|
b7523e |
+ algorithm hmac-sha256;
|
|
|
b7523e |
secret "1234abcd8765";
|
|
|
b7523e |
};
|
|
|
b7523e |
|
|
|
b7523e |
diff --git a/bin/tests/system/allow-query/ns2/named30.conf.in b/bin/tests/system/allow-query/ns2/named30.conf.in
|
|
|
b7523e |
index 4c17292..9cd9d1f 100644
|
|
|
b7523e |
--- a/bin/tests/system/allow-query/ns2/named30.conf.in
|
|
|
b7523e |
+++ b/bin/tests/system/allow-query/ns2/named30.conf.in
|
|
|
b7523e |
@@ -10,7 +10,7 @@
|
|
|
b7523e |
*/
|
|
|
b7523e |
|
|
|
b7523e |
key one {
|
|
|
b7523e |
- algorithm hmac-md5;
|
|
|
b7523e |
+ algorithm hmac-sha256;
|
|
|
b7523e |
secret "1234abcd8765";
|
|
|
b7523e |
};
|
|
|
b7523e |
|
|
|
b7523e |
diff --git a/bin/tests/system/allow-query/ns2/named31.conf.in b/bin/tests/system/allow-query/ns2/named31.conf.in
|
|
|
b7523e |
index a2690a4..f488730 100644
|
|
|
b7523e |
--- a/bin/tests/system/allow-query/ns2/named31.conf.in
|
|
|
b7523e |
+++ b/bin/tests/system/allow-query/ns2/named31.conf.in
|
|
|
b7523e |
@@ -10,12 +10,12 @@
|
|
|
b7523e |
*/
|
|
|
b7523e |
|
|
|
b7523e |
key one {
|
|
|
b7523e |
- algorithm hmac-md5;
|
|
|
b7523e |
+ algorithm hmac-sha256;
|
|
|
b7523e |
secret "1234abcd8765";
|
|
|
b7523e |
};
|
|
|
b7523e |
|
|
|
b7523e |
key two {
|
|
|
b7523e |
- algorithm hmac-md5;
|
|
|
b7523e |
+ algorithm hmac-sha256;
|
|
|
b7523e |
secret "1234efgh8765";
|
|
|
b7523e |
};
|
|
|
b7523e |
|
|
|
b7523e |
diff --git a/bin/tests/system/allow-query/ns2/named32.conf.in b/bin/tests/system/allow-query/ns2/named32.conf.in
|
|
|
b7523e |
index a0708c8..51fa457 100644
|
|
|
b7523e |
--- a/bin/tests/system/allow-query/ns2/named32.conf.in
|
|
|
b7523e |
+++ b/bin/tests/system/allow-query/ns2/named32.conf.in
|
|
|
b7523e |
@@ -10,7 +10,7 @@
|
|
|
b7523e |
*/
|
|
|
b7523e |
|
|
|
b7523e |
key one {
|
|
|
b7523e |
- algorithm hmac-md5;
|
|
|
b7523e |
+ algorithm hmac-sha256;
|
|
|
b7523e |
secret "1234abcd8765";
|
|
|
b7523e |
};
|
|
|
b7523e |
|
|
|
b7523e |
diff --git a/bin/tests/system/allow-query/ns2/named40.conf.in b/bin/tests/system/allow-query/ns2/named40.conf.in
|
|
|
b7523e |
index 687768e..d24d6d2 100644
|
|
|
b7523e |
--- a/bin/tests/system/allow-query/ns2/named40.conf.in
|
|
|
b7523e |
+++ b/bin/tests/system/allow-query/ns2/named40.conf.in
|
|
|
b7523e |
@@ -14,12 +14,12 @@ acl accept { 10.53.0.2; };
|
|
|
b7523e |
acl badaccept { 10.53.0.1; };
|
|
|
b7523e |
|
|
|
b7523e |
key one {
|
|
|
b7523e |
- algorithm hmac-md5;
|
|
|
b7523e |
+ algorithm hmac-sha256;
|
|
|
b7523e |
secret "1234abcd8765";
|
|
|
b7523e |
};
|
|
|
b7523e |
|
|
|
b7523e |
key two {
|
|
|
b7523e |
- algorithm hmac-md5;
|
|
|
b7523e |
+ algorithm hmac-sha256;
|
|
|
b7523e |
secret "1234efgh8765";
|
|
|
b7523e |
};
|
|
|
b7523e |
|
|
|
b7523e |
diff --git a/bin/tests/system/allow-query/tests.sh b/bin/tests/system/allow-query/tests.sh
|
|
|
b7523e |
index fe40635..543c663 100644
|
|
|
b7523e |
--- a/bin/tests/system/allow-query/tests.sh
|
|
|
b7523e |
+++ b/bin/tests/system/allow-query/tests.sh
|
|
|
b7523e |
@@ -182,7 +182,7 @@ rndc_reload ns2 10.53.0.2
|
|
|
b7523e |
|
|
|
b7523e |
echo_i "test $n: key allowed - query allowed"
|
|
|
b7523e |
ret=0
|
|
|
b7523e |
-$DIG $DIGOPTS @10.53.0.2 -b 10.53.0.2 -y one:1234abcd8765 a.normal.example a > dig.out.ns2.$n || ret=1
|
|
|
b7523e |
+$DIG $DIGOPTS @10.53.0.2 -b 10.53.0.2 -y hmac-sha256:one:1234abcd8765 a.normal.example a > dig.out.ns2.$n || ret=1
|
|
|
b7523e |
grep 'status: NOERROR' dig.out.ns2.$n > /dev/null || ret=1
|
|
|
b7523e |
grep '^a.normal.example' dig.out.ns2.$n > /dev/null || ret=1
|
|
|
b7523e |
if [ $ret != 0 ]; then echo_i "failed"; fi
|
|
|
b7523e |
@@ -195,7 +195,7 @@ rndc_reload ns2 10.53.0.2
|
|
|
b7523e |
|
|
|
b7523e |
echo_i "test $n: key not allowed - query refused"
|
|
|
b7523e |
ret=0
|
|
|
b7523e |
-$DIG $DIGOPTS @10.53.0.2 -b 10.53.0.2 -y two:1234efgh8765 a.normal.example a > dig.out.ns2.$n || ret=1
|
|
|
b7523e |
+$DIG $DIGOPTS @10.53.0.2 -b 10.53.0.2 -y hmac-sha256:two:1234efgh8765 a.normal.example a > dig.out.ns2.$n || ret=1
|
|
|
b7523e |
grep 'status: REFUSED' dig.out.ns2.$n > /dev/null || ret=1
|
|
|
b7523e |
grep '^a.normal.example' dig.out.ns2.$n > /dev/null && ret=1
|
|
|
b7523e |
if [ $ret != 0 ]; then echo_i "failed"; fi
|
|
|
b7523e |
@@ -208,7 +208,7 @@ rndc_reload ns2 10.53.0.2
|
|
|
b7523e |
|
|
|
b7523e |
echo_i "test $n: key disallowed - query refused"
|
|
|
b7523e |
ret=0
|
|
|
b7523e |
-$DIG $DIGOPTS @10.53.0.2 -b 10.53.0.2 -y one:1234abcd8765 a.normal.example a > dig.out.ns2.$n || ret=1
|
|
|
b7523e |
+$DIG $DIGOPTS @10.53.0.2 -b 10.53.0.2 -y hmac-sha256:one:1234abcd8765 a.normal.example a > dig.out.ns2.$n || ret=1
|
|
|
b7523e |
grep 'status: REFUSED' dig.out.ns2.$n > /dev/null || ret=1
|
|
|
b7523e |
grep '^a.normal.example' dig.out.ns2.$n > /dev/null && ret=1
|
|
|
b7523e |
if [ $ret != 0 ]; then echo_i "failed"; fi
|
|
|
b7523e |
@@ -341,7 +341,7 @@ rndc_reload ns2 10.53.0.2
|
|
|
b7523e |
|
|
|
b7523e |
echo_i "test $n: views key allowed - query allowed"
|
|
|
b7523e |
ret=0
|
|
|
b7523e |
-$DIG $DIGOPTS @10.53.0.2 -b 10.53.0.2 -y one:1234abcd8765 a.normal.example a > dig.out.ns2.$n || ret=1
|
|
|
b7523e |
+$DIG $DIGOPTS @10.53.0.2 -b 10.53.0.2 -y hmac-sha256:one:1234abcd8765 a.normal.example a > dig.out.ns2.$n || ret=1
|
|
|
b7523e |
grep 'status: NOERROR' dig.out.ns2.$n > /dev/null || ret=1
|
|
|
b7523e |
grep '^a.normal.example' dig.out.ns2.$n > /dev/null || ret=1
|
|
|
b7523e |
if [ $ret != 0 ]; then echo_i "failed"; fi
|
|
|
b7523e |
@@ -354,7 +354,7 @@ rndc_reload ns2 10.53.0.2
|
|
|
b7523e |
|
|
|
b7523e |
echo_i "test $n: views key not allowed - query refused"
|
|
|
b7523e |
ret=0
|
|
|
b7523e |
-$DIG $DIGOPTS @10.53.0.2 -b 10.53.0.2 -y two:1234efgh8765 a.normal.example a > dig.out.ns2.$n || ret=1
|
|
|
b7523e |
+$DIG $DIGOPTS @10.53.0.2 -b 10.53.0.2 -y hmac-sha256:two:1234efgh8765 a.normal.example a > dig.out.ns2.$n || ret=1
|
|
|
b7523e |
grep 'status: REFUSED' dig.out.ns2.$n > /dev/null || ret=1
|
|
|
b7523e |
grep '^a.normal.example' dig.out.ns2.$n > /dev/null && ret=1
|
|
|
b7523e |
if [ $ret != 0 ]; then echo_i "failed"; fi
|
|
|
b7523e |
@@ -367,7 +367,7 @@ rndc_reload ns2 10.53.0.2
|
|
|
b7523e |
|
|
|
b7523e |
echo_i "test $n: views key disallowed - query refused"
|
|
|
b7523e |
ret=0
|
|
|
b7523e |
-$DIG $DIGOPTS @10.53.0.2 -b 10.53.0.2 -y one:1234abcd8765 a.normal.example a > dig.out.ns2.$n || ret=1
|
|
|
b7523e |
+$DIG $DIGOPTS @10.53.0.2 -b 10.53.0.2 -y hmac-sha256:one:1234abcd8765 a.normal.example a > dig.out.ns2.$n || ret=1
|
|
|
b7523e |
grep 'status: REFUSED' dig.out.ns2.$n > /dev/null || ret=1
|
|
|
b7523e |
grep '^a.normal.example' dig.out.ns2.$n > /dev/null && ret=1
|
|
|
b7523e |
if [ $ret != 0 ]; then echo_i "failed"; fi
|
|
|
b7523e |
@@ -500,7 +500,7 @@ status=`expr $status + $ret`
|
|
|
b7523e |
n=`expr $n + 1`
|
|
|
b7523e |
echo_i "test $n: zone key allowed - query allowed"
|
|
|
b7523e |
ret=0
|
|
|
b7523e |
-$DIG $DIGOPTS @10.53.0.2 -b 10.53.0.2 -y one:1234abcd8765 a.keyallow.example a > dig.out.ns2.$n || ret=1
|
|
|
b7523e |
+$DIG $DIGOPTS @10.53.0.2 -b 10.53.0.2 -y hmac-sha256:one:1234abcd8765 a.keyallow.example a > dig.out.ns2.$n || ret=1
|
|
|
b7523e |
grep 'status: NOERROR' dig.out.ns2.$n > /dev/null || ret=1
|
|
|
b7523e |
grep '^a.keyallow.example' dig.out.ns2.$n > /dev/null || ret=1
|
|
|
b7523e |
if [ $ret != 0 ]; then echo_i "failed"; fi
|
|
|
b7523e |
@@ -510,7 +510,7 @@ status=`expr $status + $ret`
|
|
|
b7523e |
n=`expr $n + 1`
|
|
|
b7523e |
echo_i "test $n: zone key not allowed - query refused"
|
|
|
b7523e |
ret=0
|
|
|
b7523e |
-$DIG $DIGOPTS @10.53.0.2 -b 10.53.0.2 -y two:1234efgh8765 a.keyallow.example a > dig.out.ns2.$n || ret=1
|
|
|
b7523e |
+$DIG $DIGOPTS @10.53.0.2 -b 10.53.0.2 -y hmac-sha256:two:1234efgh8765 a.keyallow.example a > dig.out.ns2.$n || ret=1
|
|
|
b7523e |
grep 'status: REFUSED' dig.out.ns2.$n > /dev/null || ret=1
|
|
|
b7523e |
grep '^a.keyallow.example' dig.out.ns2.$n > /dev/null && ret=1
|
|
|
b7523e |
if [ $ret != 0 ]; then echo_i "failed"; fi
|
|
|
b7523e |
@@ -520,7 +520,7 @@ status=`expr $status + $ret`
|
|
|
b7523e |
n=`expr $n + 1`
|
|
|
b7523e |
echo_i "test $n: zone key disallowed - query refused"
|
|
|
b7523e |
ret=0
|
|
|
b7523e |
-$DIG $DIGOPTS @10.53.0.2 -b 10.53.0.2 -y one:1234abcd8765 a.keydisallow.example a > dig.out.ns2.$n || ret=1
|
|
|
b7523e |
+$DIG $DIGOPTS @10.53.0.2 -b 10.53.0.2 -y hmac-sha256:one:1234abcd8765 a.keydisallow.example a > dig.out.ns2.$n || ret=1
|
|
|
b7523e |
grep 'status: REFUSED' dig.out.ns2.$n > /dev/null || ret=1
|
|
|
b7523e |
grep '^a.keydisallow.example' dig.out.ns2.$n > /dev/null && ret=1
|
|
|
b7523e |
if [ $ret != 0 ]; then echo_i "failed"; fi
|
|
|
b7523e |
diff --git a/bin/tests/system/catz/ns1/named.conf.in b/bin/tests/system/catz/ns1/named.conf.in
|
|
|
b7523e |
index 1218669..e62715e 100644
|
|
|
b7523e |
--- a/bin/tests/system/catz/ns1/named.conf.in
|
|
|
b7523e |
+++ b/bin/tests/system/catz/ns1/named.conf.in
|
|
|
b7523e |
@@ -61,5 +61,5 @@ zone "catalog4.example" {
|
|
|
b7523e |
|
|
|
b7523e |
key tsig_key. {
|
|
|
b7523e |
secret "LSAnCU+Z";
|
|
|
b7523e |
- algorithm hmac-md5;
|
|
|
b7523e |
+ algorithm hmac-sha256;
|
|
|
b7523e |
};
|
|
|
b7523e |
diff --git a/bin/tests/system/catz/ns2/named.conf.in b/bin/tests/system/catz/ns2/named.conf.in
|
|
|
b7523e |
index 30333e6..4005152 100644
|
|
|
b7523e |
--- a/bin/tests/system/catz/ns2/named.conf.in
|
|
|
b7523e |
+++ b/bin/tests/system/catz/ns2/named.conf.in
|
|
|
b7523e |
@@ -70,5 +70,5 @@ zone "catalog4.example" {
|
|
|
b7523e |
|
|
|
b7523e |
key tsig_key. {
|
|
|
b7523e |
secret "LSAnCU+Z";
|
|
|
b7523e |
- algorithm hmac-md5;
|
|
|
b7523e |
+ algorithm hmac-sha256;
|
|
|
b7523e |
};
|
|
|
b7523e |
diff --git a/bin/tests/system/checkconf/bad-tsig.conf b/bin/tests/system/checkconf/bad-tsig.conf
|
|
|
b7523e |
index 21be03e..e57c308 100644
|
|
|
b7523e |
--- a/bin/tests/system/checkconf/bad-tsig.conf
|
|
|
b7523e |
+++ b/bin/tests/system/checkconf/bad-tsig.conf
|
|
|
b7523e |
@@ -11,7 +11,7 @@
|
|
|
b7523e |
|
|
|
b7523e |
/* Bad secret */
|
|
|
b7523e |
key "badtsig" {
|
|
|
b7523e |
- algorithm hmac-md5;
|
|
|
b7523e |
+ algorithm hmac-sha256;
|
|
|
b7523e |
secret "jEdD+BPKg==";
|
|
|
b7523e |
};
|
|
|
b7523e |
|
|
|
b7523e |
diff --git a/bin/tests/system/checkconf/good.conf b/bin/tests/system/checkconf/good.conf
|
|
|
b7523e |
index e09b9e8..2e824b3 100644
|
|
|
b7523e |
--- a/bin/tests/system/checkconf/good.conf
|
|
|
b7523e |
+++ b/bin/tests/system/checkconf/good.conf
|
|
|
b7523e |
@@ -210,6 +210,6 @@ dyndb "name" "library.so" {
|
|
|
b7523e |
system;
|
|
|
b7523e |
};
|
|
|
b7523e |
key "mykey" {
|
|
|
b7523e |
- algorithm "hmac-md5";
|
|
|
b7523e |
+ algorithm "hmac-sha256";
|
|
|
b7523e |
secret "qwertyuiopasdfgh";
|
|
|
b7523e |
};
|
|
|
b7523e |
diff --git a/bin/tests/system/feature-test.c b/bin/tests/system/feature-test.c
|
|
|
b7523e |
index 877504f..577660a 100644
|
|
|
b7523e |
--- a/bin/tests/system/feature-test.c
|
|
|
b7523e |
+++ b/bin/tests/system/feature-test.c
|
|
|
b7523e |
@@ -14,6 +14,7 @@
|
|
|
b7523e |
#include <string.h>
|
|
|
b7523e |
#include <unistd.h>
|
|
|
b7523e |
|
|
|
b7523e |
+#include <isc/md.h>
|
|
|
b7523e |
#include <isc/net.h>
|
|
|
b7523e |
#include <isc/print.h>
|
|
|
b7523e |
#include <isc/util.h>
|
|
|
b7523e |
@@ -186,6 +187,19 @@ main(int argc, char **argv) {
|
|
|
b7523e |
#endif /* ifdef DLZ_FILESYSTEM */
|
|
|
b7523e |
}
|
|
|
b7523e |
|
|
|
b7523e |
+ if (strcmp(argv[1], "--md5") == 0) {
|
|
|
b7523e |
+ unsigned char digest[ISC_MAX_MD_SIZE];
|
|
|
b7523e |
+ const unsigned char test[] = "test";
|
|
|
b7523e |
+ unsigned int size = sizeof(digest);
|
|
|
b7523e |
+
|
|
|
b7523e |
+ if (isc_md(ISC_MD_MD5, test, sizeof(test),
|
|
|
b7523e |
+ digest, &size) == ISC_R_SUCCESS) {
|
|
|
b7523e |
+ return (0);
|
|
|
b7523e |
+ } else {
|
|
|
b7523e |
+ return (1);
|
|
|
b7523e |
+ }
|
|
|
b7523e |
+ }
|
|
|
b7523e |
+
|
|
|
b7523e |
if (strcmp(argv[1], "--with-idn") == 0) {
|
|
|
b7523e |
#ifdef HAVE_LIBIDN2
|
|
|
b7523e |
return (0);
|
|
|
b7523e |
diff --git a/bin/tests/system/notify/ns5/named.conf.in b/bin/tests/system/notify/ns5/named.conf.in
|
|
|
b7523e |
index 1ee8df4..2b75d9a 100644
|
|
|
b7523e |
--- a/bin/tests/system/notify/ns5/named.conf.in
|
|
|
b7523e |
+++ b/bin/tests/system/notify/ns5/named.conf.in
|
|
|
b7523e |
@@ -10,17 +10,17 @@
|
|
|
b7523e |
*/
|
|
|
b7523e |
|
|
|
b7523e |
key "a" {
|
|
|
b7523e |
- algorithm "hmac-md5";
|
|
|
b7523e |
+ algorithm "hmac-sha256";
|
|
|
b7523e |
secret "aaaaaaaaaaaaaaaaaaaa";
|
|
|
b7523e |
};
|
|
|
b7523e |
|
|
|
b7523e |
key "b" {
|
|
|
b7523e |
- algorithm "hmac-md5";
|
|
|
b7523e |
+ algorithm "hmac-sha256";
|
|
|
b7523e |
secret "bbbbbbbbbbbbbbbbbbbb";
|
|
|
b7523e |
};
|
|
|
b7523e |
|
|
|
b7523e |
key "c" {
|
|
|
b7523e |
- algorithm "hmac-md5";
|
|
|
b7523e |
+ algorithm "hmac-sha256";
|
|
|
b7523e |
secret "cccccccccccccccccccc";
|
|
|
b7523e |
};
|
|
|
b7523e |
|
|
|
b7523e |
diff --git a/bin/tests/system/notify/tests.sh b/bin/tests/system/notify/tests.sh
|
|
|
b7523e |
index 3d7e0b7..ec4d9a7 100644
|
|
|
b7523e |
--- a/bin/tests/system/notify/tests.sh
|
|
|
b7523e |
+++ b/bin/tests/system/notify/tests.sh
|
|
|
b7523e |
@@ -212,16 +212,16 @@ ret=0
|
|
|
b7523e |
$NSUPDATE << EOF
|
|
|
b7523e |
server 10.53.0.5 ${PORT}
|
|
|
b7523e |
zone x21
|
|
|
b7523e |
-key a aaaaaaaaaaaaaaaaaaaa
|
|
|
b7523e |
+key hmac-sha256:a aaaaaaaaaaaaaaaaaaaa
|
|
|
b7523e |
update add added.x21 0 in txt "test string"
|
|
|
b7523e |
send
|
|
|
b7523e |
EOF
|
|
|
b7523e |
|
|
|
b7523e |
for i in 1 2 3 4 5 6 7 8 9
|
|
|
b7523e |
do
|
|
|
b7523e |
- $DIG $DIGOPTS added.x21. -y b:bbbbbbbbbbbbbbbbbbbb @10.53.0.5 \
|
|
|
b7523e |
+ $DIG $DIGOPTS added.x21. -y hmac-sha256:b:bbbbbbbbbbbbbbbbbbbb @10.53.0.5 \
|
|
|
b7523e |
txt > dig.out.b.ns5.test$n || ret=1
|
|
|
b7523e |
- $DIG $DIGOPTS added.x21. -y c:cccccccccccccccccccc @10.53.0.5 \
|
|
|
b7523e |
+ $DIG $DIGOPTS added.x21. -y hmac-sha256:c:cccccccccccccccccccc @10.53.0.5 \
|
|
|
b7523e |
txt > dig.out.c.ns5.test$n || ret=1
|
|
|
b7523e |
grep "test string" dig.out.b.ns5.test$n > /dev/null &&
|
|
|
b7523e |
grep "test string" dig.out.c.ns5.test$n > /dev/null &&
|
|
|
b7523e |
diff --git a/bin/tests/system/nsupdate/ns1/named.conf.in b/bin/tests/system/nsupdate/ns1/named.conf.in
|
|
|
b7523e |
index b51e700..436c97d 100644
|
|
|
b7523e |
--- a/bin/tests/system/nsupdate/ns1/named.conf.in
|
|
|
b7523e |
+++ b/bin/tests/system/nsupdate/ns1/named.conf.in
|
|
|
b7523e |
@@ -37,7 +37,7 @@ controls {
|
|
|
b7523e |
};
|
|
|
b7523e |
|
|
|
b7523e |
key altkey {
|
|
|
b7523e |
- algorithm hmac-md5;
|
|
|
b7523e |
+ algorithm hmac-sha512;
|
|
|
b7523e |
secret "1234abcd8765";
|
|
|
b7523e |
};
|
|
|
b7523e |
|
|
|
b7523e |
diff --git a/bin/tests/system/nsupdate/ns2/named.conf.in b/bin/tests/system/nsupdate/ns2/named.conf.in
|
|
|
b7523e |
index da6b3b4..c547e47 100644
|
|
|
b7523e |
--- a/bin/tests/system/nsupdate/ns2/named.conf.in
|
|
|
b7523e |
+++ b/bin/tests/system/nsupdate/ns2/named.conf.in
|
|
|
b7523e |
@@ -32,7 +32,7 @@ controls {
|
|
|
b7523e |
};
|
|
|
b7523e |
|
|
|
b7523e |
key altkey {
|
|
|
b7523e |
- algorithm hmac-md5;
|
|
|
b7523e |
+ algorithm hmac-sha512;
|
|
|
b7523e |
secret "1234abcd8765";
|
|
|
b7523e |
};
|
|
|
b7523e |
|
|
|
b7523e |
diff --git a/bin/tests/system/nsupdate/setup.sh b/bin/tests/system/nsupdate/setup.sh
|
|
|
b7523e |
index c055da3..4e1242b 100644
|
|
|
b7523e |
--- a/bin/tests/system/nsupdate/setup.sh
|
|
|
b7523e |
+++ b/bin/tests/system/nsupdate/setup.sh
|
|
|
b7523e |
@@ -56,7 +56,11 @@ EOF
|
|
|
b7523e |
|
|
|
b7523e |
$DDNSCONFGEN -q -z example.nil > ns1/ddns.key
|
|
|
b7523e |
|
|
|
b7523e |
-$DDNSCONFGEN -q -a hmac-md5 -k md5-key -z keytests.nil > ns1/md5.key
|
|
|
b7523e |
+if $FEATURETEST --md5; then
|
|
|
b7523e |
+ $DDNSCONFGEN -q -a hmac-md5 -k md5-key -z keytests.nil > ns1/md5.key
|
|
|
b7523e |
+else
|
|
|
b7523e |
+ echo -n > ns1/md5.key
|
|
|
b7523e |
+fi
|
|
|
b7523e |
$DDNSCONFGEN -q -a hmac-sha1 -k sha1-key -z keytests.nil > ns1/sha1.key
|
|
|
b7523e |
$DDNSCONFGEN -q -a hmac-sha224 -k sha224-key -z keytests.nil > ns1/sha224.key
|
|
|
b7523e |
$DDNSCONFGEN -q -a hmac-sha256 -k sha256-key -z keytests.nil > ns1/sha256.key
|
|
|
b7523e |
diff --git a/bin/tests/system/nsupdate/tests.sh b/bin/tests/system/nsupdate/tests.sh
|
|
|
b7523e |
index b35d797..41c128e 100755
|
|
|
b7523e |
--- a/bin/tests/system/nsupdate/tests.sh
|
|
|
b7523e |
+++ b/bin/tests/system/nsupdate/tests.sh
|
|
|
b7523e |
@@ -797,7 +797,14 @@ fi
|
|
|
b7523e |
n=`expr $n + 1`
|
|
|
b7523e |
ret=0
|
|
|
b7523e |
echo_i "check TSIG key algorithms (nsupdate -k) ($n)"
|
|
|
b7523e |
-for alg in md5 sha1 sha224 sha256 sha384 sha512; do
|
|
|
b7523e |
+if $FEATURETEST --md5
|
|
|
b7523e |
+then
|
|
|
b7523e |
+ ALGS="md5 sha1 sha224 sha256 sha384 sha512"
|
|
|
b7523e |
+else
|
|
|
b7523e |
+ ALGS="sha1 sha224 sha256 sha384 sha512"
|
|
|
b7523e |
+ echo_i "skipping disabled md5 algorithm"
|
|
|
b7523e |
+fi
|
|
|
b7523e |
+for alg in $ALGS; do
|
|
|
b7523e |
$NSUPDATE -k ns1/${alg}.key <<END > /dev/null || ret=1
|
|
|
b7523e |
server 10.53.0.1 ${PORT}
|
|
|
b7523e |
update add ${alg}.keytests.nil. 600 A 10.10.10.3
|
|
|
b7523e |
@@ -805,7 +812,7 @@ send
|
|
|
b7523e |
END
|
|
|
b7523e |
done
|
|
|
b7523e |
sleep 2
|
|
|
b7523e |
-for alg in md5 sha1 sha224 sha256 sha384 sha512; do
|
|
|
b7523e |
+for alg in $ALGS; do
|
|
|
b7523e |
$DIG $DIGOPTS +short @10.53.0.1 ${alg}.keytests.nil | grep 10.10.10.3 > /dev/null 2>&1 || ret=1
|
|
|
b7523e |
done
|
|
|
b7523e |
if [ $ret -ne 0 ]; then
|
|
|
b7523e |
@@ -816,7 +823,7 @@ fi
|
|
|
b7523e |
n=`expr $n + 1`
|
|
|
b7523e |
ret=0
|
|
|
b7523e |
echo_i "check TSIG key algorithms (nsupdate -y) ($n)"
|
|
|
b7523e |
-for alg in md5 sha1 sha224 sha256 sha384 sha512; do
|
|
|
b7523e |
+for alg in $ALGS; do
|
|
|
b7523e |
secret=$(sed -n 's/.*secret "\(.*\)";.*/\1/p' ns1/${alg}.key)
|
|
|
b7523e |
$NSUPDATE -y "hmac-${alg}:${alg}-key:$secret" <<END > /dev/null || ret=1
|
|
|
b7523e |
server 10.53.0.1 ${PORT}
|
|
|
b7523e |
@@ -825,7 +832,7 @@ send
|
|
|
b7523e |
END
|
|
|
b7523e |
done
|
|
|
b7523e |
sleep 2
|
|
|
b7523e |
-for alg in md5 sha1 sha224 sha256 sha384 sha512; do
|
|
|
b7523e |
+for alg in $ALGS; do
|
|
|
b7523e |
$DIG $DIGOPTS +short @10.53.0.1 ${alg}.keytests.nil | grep 10.10.10.50 > /dev/null 2>&1 || ret=1
|
|
|
b7523e |
done
|
|
|
b7523e |
if [ $ret -ne 0 ]; then
|
|
|
b7523e |
diff --git a/bin/tests/system/rndc/setup.sh b/bin/tests/system/rndc/setup.sh
|
|
|
b7523e |
index b59e7a7..04d5f5a 100644
|
|
|
b7523e |
--- a/bin/tests/system/rndc/setup.sh
|
|
|
b7523e |
+++ b/bin/tests/system/rndc/setup.sh
|
|
|
b7523e |
@@ -33,7 +33,7 @@ make_key () {
|
|
|
b7523e |
sed 's/allow { 10.53.0.4/allow { any/' >> ns4/named.conf
|
|
|
b7523e |
}
|
|
|
b7523e |
|
|
|
b7523e |
-make_key 1 ${EXTRAPORT1} hmac-md5
|
|
|
b7523e |
+$FEATURETEST --md5 && make_key 1 ${EXTRAPORT1} hmac-md5
|
|
|
b7523e |
make_key 2 ${EXTRAPORT2} hmac-sha1
|
|
|
b7523e |
make_key 3 ${EXTRAPORT3} hmac-sha224
|
|
|
b7523e |
make_key 4 ${EXTRAPORT4} hmac-sha256
|
|
|
b7523e |
diff --git a/bin/tests/system/rndc/tests.sh b/bin/tests/system/rndc/tests.sh
|
|
|
b7523e |
index 9fd84ed..d0b188f 100644
|
|
|
b7523e |
--- a/bin/tests/system/rndc/tests.sh
|
|
|
b7523e |
+++ b/bin/tests/system/rndc/tests.sh
|
|
|
b7523e |
@@ -348,15 +348,20 @@ if [ $ret != 0 ]; then echo_i "failed"; fi
|
|
|
b7523e |
status=`expr $status + $ret`
|
|
|
b7523e |
|
|
|
b7523e |
n=`expr $n + 1`
|
|
|
b7523e |
-echo_i "testing rndc with hmac-md5 ($n)"
|
|
|
b7523e |
-ret=0
|
|
|
b7523e |
-$RNDC -s 10.53.0.4 -p ${EXTRAPORT1} -c ns4/key1.conf status > /dev/null 2>&1 || ret=1
|
|
|
b7523e |
-for i in 2 3 4 5 6
|
|
|
b7523e |
-do
|
|
|
b7523e |
- $RNDC -s 10.53.0.4 -p ${EXTRAPORT1} -c ns4/key${i}.conf status > /dev/null 2>&1 && ret=1
|
|
|
b7523e |
-done
|
|
|
b7523e |
-if [ $ret != 0 ]; then echo_i "failed"; fi
|
|
|
b7523e |
-status=`expr $status + $ret`
|
|
|
b7523e |
+if $FEATURETEST --md5
|
|
|
b7523e |
+then
|
|
|
b7523e |
+ echo_i "testing rndc with hmac-md5 ($n)"
|
|
|
b7523e |
+ ret=0
|
|
|
b7523e |
+ $RNDC -s 10.53.0.4 -p ${EXTRAPORT1} -c ns4/key1.conf status > /dev/null 2>&1 || ret=1
|
|
|
b7523e |
+ for i in 2 3 4 5 6
|
|
|
b7523e |
+ do
|
|
|
b7523e |
+ $RNDC -s 10.53.0.4 -p ${EXTRAPORT1} -c ns4/key${i}.conf status > /dev/null 2>&1 && ret=1
|
|
|
b7523e |
+ done
|
|
|
b7523e |
+ if [ $ret != 0 ]; then echo_i "failed"; fi
|
|
|
b7523e |
+ status=`expr $status + $ret`
|
|
|
b7523e |
+else
|
|
|
b7523e |
+ echo_i "skipping rndc with hmac-md5 ($n)"
|
|
|
b7523e |
+fi
|
|
|
b7523e |
|
|
|
b7523e |
n=`expr $n + 1`
|
|
|
b7523e |
echo_i "testing rndc with hmac-sha1 ($n)"
|
|
|
b7523e |
diff --git a/bin/tests/system/tsig/ns1/named.conf.in b/bin/tests/system/tsig/ns1/named.conf.in
|
|
|
b7523e |
index 3470c4f..cf539cd 100644
|
|
|
b7523e |
--- a/bin/tests/system/tsig/ns1/named.conf.in
|
|
|
b7523e |
+++ b/bin/tests/system/tsig/ns1/named.conf.in
|
|
|
b7523e |
@@ -21,10 +21,7 @@ options {
|
|
|
b7523e |
notify no;
|
|
|
b7523e |
};
|
|
|
b7523e |
|
|
|
b7523e |
-key "md5" {
|
|
|
b7523e |
- secret "97rnFx24Tfna4mHPfgnerA==";
|
|
|
b7523e |
- algorithm hmac-md5;
|
|
|
b7523e |
-};
|
|
|
b7523e |
+# md5 key appended by setup.sh at the end
|
|
|
b7523e |
|
|
|
b7523e |
key "sha1" {
|
|
|
b7523e |
secret "FrSt77yPTFx6hTs4i2tKLB9LmE0=";
|
|
|
b7523e |
@@ -51,10 +48,7 @@ key "sha512" {
|
|
|
b7523e |
algorithm hmac-sha512;
|
|
|
b7523e |
};
|
|
|
b7523e |
|
|
|
b7523e |
-key "md5-trunc" {
|
|
|
b7523e |
- secret "97rnFx24Tfna4mHPfgnerA==";
|
|
|
b7523e |
- algorithm hmac-md5-80;
|
|
|
b7523e |
-};
|
|
|
b7523e |
+# md5-trunc key appended by setup.sh at the end
|
|
|
b7523e |
|
|
|
b7523e |
key "sha1-trunc" {
|
|
|
b7523e |
secret "FrSt77yPTFx6hTs4i2tKLB9LmE0=";
|
|
|
b7523e |
diff --git a/bin/tests/system/tsig/ns1/rndc5.conf.in b/bin/tests/system/tsig/ns1/rndc5.conf.in
|
|
|
b7523e |
new file mode 100644
|
|
|
b7523e |
index 0000000..0682194
|
|
|
b7523e |
--- /dev/null
|
|
|
b7523e |
+++ b/bin/tests/system/tsig/ns1/rndc5.conf.in
|
|
|
b7523e |
@@ -0,0 +1,10 @@
|
|
|
b7523e |
+# Conditionally included when support for MD5 is available
|
|
|
b7523e |
+key "md5" {
|
|
|
b7523e |
+ secret "97rnFx24Tfna4mHPfgnerA==";
|
|
|
b7523e |
+ algorithm hmac-md5;
|
|
|
b7523e |
+};
|
|
|
b7523e |
+
|
|
|
b7523e |
+key "md5-trunc" {
|
|
|
b7523e |
+ secret "97rnFx24Tfna4mHPfgnerA==";
|
|
|
b7523e |
+ algorithm hmac-md5-80;
|
|
|
b7523e |
+};
|
|
|
b7523e |
diff --git a/bin/tests/system/tsig/setup.sh b/bin/tests/system/tsig/setup.sh
|
|
|
b7523e |
index e3b4a45..ae21d04 100644
|
|
|
b7523e |
--- a/bin/tests/system/tsig/setup.sh
|
|
|
b7523e |
+++ b/bin/tests/system/tsig/setup.sh
|
|
|
b7523e |
@@ -15,3 +15,8 @@ SYSTEMTESTTOP=..
|
|
|
b7523e |
$SHELL clean.sh
|
|
|
b7523e |
|
|
|
b7523e |
copy_setports ns1/named.conf.in ns1/named.conf
|
|
|
b7523e |
+
|
|
|
b7523e |
+if $FEATURETEST --md5
|
|
|
b7523e |
+then
|
|
|
b7523e |
+ cat ns1/rndc5.conf.in >> ns1/named.conf
|
|
|
b7523e |
+fi
|
|
|
b7523e |
diff --git a/bin/tests/system/tsig/tests.sh b/bin/tests/system/tsig/tests.sh
|
|
|
b7523e |
index 38d842a..668aa6f 100644
|
|
|
b7523e |
--- a/bin/tests/system/tsig/tests.sh
|
|
|
b7523e |
+++ b/bin/tests/system/tsig/tests.sh
|
|
|
b7523e |
@@ -26,20 +26,25 @@ sha512="jI/Pa4qRu96t76Pns5Z/Ndxbn3QCkwcxLOgt9vgvnJw5wqTRvNyk3FtD6yIMd1dWVlqZ+Y4f
|
|
|
b7523e |
|
|
|
b7523e |
status=0
|
|
|
b7523e |
|
|
|
b7523e |
-echo_i "fetching using hmac-md5 (old form)"
|
|
|
b7523e |
-ret=0
|
|
|
b7523e |
-$DIG $DIGOPTS example.nil. -y "md5:$md5" @10.53.0.1 soa > dig.out.md5.old || ret=1
|
|
|
b7523e |
-grep -i "md5.*TSIG.*NOERROR" dig.out.md5.old > /dev/null || ret=1
|
|
|
b7523e |
-if [ $ret -eq 1 ] ; then
|
|
|
b7523e |
- echo_i "failed"; status=1
|
|
|
b7523e |
-fi
|
|
|
b7523e |
+if $FEATURETEST --md5
|
|
|
b7523e |
+then
|
|
|
b7523e |
+ echo_i "fetching using hmac-md5 (old form)"
|
|
|
b7523e |
+ ret=0
|
|
|
b7523e |
+ $DIG $DIGOPTS example.nil. -y "md5:$md5" @10.53.0.1 soa > dig.out.md5.old || ret=1
|
|
|
b7523e |
+ grep -i "md5.*TSIG.*NOERROR" dig.out.md5.old > /dev/null || ret=1
|
|
|
b7523e |
+ if [ $ret -eq 1 ] ; then
|
|
|
b7523e |
+ echo_i "failed"; status=1
|
|
|
b7523e |
+ fi
|
|
|
b7523e |
|
|
|
b7523e |
-echo_i "fetching using hmac-md5 (new form)"
|
|
|
b7523e |
-ret=0
|
|
|
b7523e |
-$DIG $DIGOPTS example.nil. -y "hmac-md5:md5:$md5" @10.53.0.1 soa > dig.out.md5.new || ret=1
|
|
|
b7523e |
-grep -i "md5.*TSIG.*NOERROR" dig.out.md5.new > /dev/null || ret=1
|
|
|
b7523e |
-if [ $ret -eq 1 ] ; then
|
|
|
b7523e |
- echo_i "failed"; status=1
|
|
|
b7523e |
+ echo_i "fetching using hmac-md5 (new form)"
|
|
|
b7523e |
+ ret=0
|
|
|
b7523e |
+ $DIG $DIGOPTS example.nil. -y "hmac-md5:md5:$md5" @10.53.0.1 soa > dig.out.md5.new || ret=1
|
|
|
b7523e |
+ grep -i "md5.*TSIG.*NOERROR" dig.out.md5.new > /dev/null || ret=1
|
|
|
b7523e |
+ if [ $ret -eq 1 ] ; then
|
|
|
b7523e |
+ echo_i "failed"; status=1
|
|
|
b7523e |
+ fi
|
|
|
b7523e |
+else
|
|
|
b7523e |
+ echo_i "skipping using hmac-md5"
|
|
|
b7523e |
fi
|
|
|
b7523e |
|
|
|
b7523e |
echo_i "fetching using hmac-sha1"
|
|
|
b7523e |
@@ -87,12 +92,17 @@ fi
|
|
|
b7523e |
# Truncated TSIG
|
|
|
b7523e |
#
|
|
|
b7523e |
#
|
|
|
b7523e |
-echo_i "fetching using hmac-md5 (trunc)"
|
|
|
b7523e |
-ret=0
|
|
|
b7523e |
-$DIG $DIGOPTS example.nil. -y "hmac-md5-80:md5-trunc:$md5" @10.53.0.1 soa > dig.out.md5.trunc || ret=1
|
|
|
b7523e |
-grep -i "md5-trunc.*TSIG.*NOERROR" dig.out.md5.trunc > /dev/null || ret=1
|
|
|
b7523e |
-if [ $ret -eq 1 ] ; then
|
|
|
b7523e |
- echo_i "failed"; status=1
|
|
|
b7523e |
+if $FEATURETEST --md5
|
|
|
b7523e |
+then
|
|
|
b7523e |
+ echo_i "fetching using hmac-md5 (trunc)"
|
|
|
b7523e |
+ ret=0
|
|
|
b7523e |
+ $DIG $DIGOPTS example.nil. -y "hmac-md5-80:md5-trunc:$md5" @10.53.0.1 soa > dig.out.md5.trunc || ret=1
|
|
|
b7523e |
+ grep -i "md5-trunc.*TSIG.*NOERROR" dig.out.md5.trunc > /dev/null || ret=1
|
|
|
b7523e |
+ if [ $ret -eq 1 ] ; then
|
|
|
b7523e |
+ echo_i "failed"; status=1
|
|
|
b7523e |
+ fi
|
|
|
b7523e |
+else
|
|
|
b7523e |
+ echo_i "skipping using hmac-md5 (trunc)"
|
|
|
b7523e |
fi
|
|
|
b7523e |
|
|
|
b7523e |
echo_i "fetching using hmac-sha1 (trunc)"
|
|
|
b7523e |
@@ -141,12 +151,17 @@ fi
|
|
|
b7523e |
# Check for bad truncation.
|
|
|
b7523e |
#
|
|
|
b7523e |
#
|
|
|
b7523e |
-echo_i "fetching using hmac-md5-80 (BADTRUNC)"
|
|
|
b7523e |
-ret=0
|
|
|
b7523e |
-$DIG $DIGOPTS example.nil. -y "hmac-md5-80:md5:$md5" @10.53.0.1 soa > dig.out.md5-80 || ret=1
|
|
|
b7523e |
-grep -i "md5.*TSIG.*BADTRUNC" dig.out.md5-80 > /dev/null || ret=1
|
|
|
b7523e |
-if [ $ret -eq 1 ] ; then
|
|
|
b7523e |
- echo_i "failed"; status=1
|
|
|
b7523e |
+if $FEATURETEST --md5
|
|
|
b7523e |
+then
|
|
|
b7523e |
+ echo_i "fetching using hmac-md5-80 (BADTRUNC)"
|
|
|
b7523e |
+ ret=0
|
|
|
b7523e |
+ $DIG $DIGOPTS example.nil. -y "hmac-md5-80:md5:$md5" @10.53.0.1 soa > dig.out.md5-80 || ret=1
|
|
|
b7523e |
+ grep -i "md5.*TSIG.*BADTRUNC" dig.out.md5-80 > /dev/null || ret=1
|
|
|
b7523e |
+ if [ $ret -eq 1 ] ; then
|
|
|
b7523e |
+ echo_i "failed"; status=1
|
|
|
b7523e |
+ fi
|
|
|
b7523e |
+else
|
|
|
b7523e |
+ echo_i "skipping using hmac-md5-80 (BADTRUNC)"
|
|
|
b7523e |
fi
|
|
|
b7523e |
|
|
|
b7523e |
echo_i "fetching using hmac-sha1-80 (BADTRUNC)"
|
|
|
b7523e |
diff --git a/bin/tests/system/upforwd/ns1/named.conf.in b/bin/tests/system/upforwd/ns1/named.conf.in
|
|
|
b7523e |
index 3873c7c..b359a5a 100644
|
|
|
b7523e |
--- a/bin/tests/system/upforwd/ns1/named.conf.in
|
|
|
b7523e |
+++ b/bin/tests/system/upforwd/ns1/named.conf.in
|
|
|
b7523e |
@@ -10,7 +10,7 @@
|
|
|
b7523e |
*/
|
|
|
b7523e |
|
|
|
b7523e |
key "update.example." {
|
|
|
b7523e |
- algorithm "hmac-md5";
|
|
|
b7523e |
+ algorithm "hmac-sha256";
|
|
|
b7523e |
secret "c3Ryb25nIGVub3VnaCBmb3IgYSBtYW4gYnV0IG1hZGUgZm9yIGEgd29tYW4K";
|
|
|
b7523e |
};
|
|
|
b7523e |
|
|
|
b7523e |
diff --git a/bin/tests/system/upforwd/tests.sh b/bin/tests/system/upforwd/tests.sh
|
|
|
b7523e |
index a50c896..8062d68 100644
|
|
|
b7523e |
--- a/bin/tests/system/upforwd/tests.sh
|
|
|
b7523e |
+++ b/bin/tests/system/upforwd/tests.sh
|
|
|
b7523e |
@@ -79,7 +79,7 @@ if [ $ret != 0 ] ; then echo_i "failed"; status=`expr $status + $ret`; fi
|
|
|
b7523e |
|
|
|
b7523e |
echo_i "updating zone (signed) ($n)"
|
|
|
b7523e |
ret=0
|
|
|
b7523e |
-$NSUPDATE -y update.example:c3Ryb25nIGVub3VnaCBmb3IgYSBtYW4gYnV0IG1hZGUgZm9yIGEgd29tYW4K -- - <
|
|
|
b7523e |
+$NSUPDATE -y hmac-sha256:update.example:c3Ryb25nIGVub3VnaCBmb3IgYSBtYW4gYnV0IG1hZGUgZm9yIGEgd29tYW4K -- - <
|
|
|
b7523e |
server 10.53.0.3 ${PORT}
|
|
|
b7523e |
update add updated.example. 600 A 10.10.10.1
|
|
|
b7523e |
update add updated.example. 600 TXT Foo
|
|
|
b7523e |
--
|
|
|
b7523e |
2.26.2
|
|
|
b7523e |
|