2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-22 10:10:06 +00:00

Use DEFAULT_HMAC for rndc

This commit is contained in:
Mark Andrews 2022-07-01 16:11:02 +10:00
parent 972d7fd682
commit ce324ae8ba
247 changed files with 250 additions and 248 deletions

View File

@ -13,7 +13,7 @@
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -13,7 +13,7 @@
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -13,7 +13,7 @@
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -13,7 +13,7 @@
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -13,7 +13,7 @@
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -31,5 +31,5 @@ controls {
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};

View File

@ -31,7 +31,7 @@ controls {
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
zone "existing" {

View File

@ -13,7 +13,7 @@
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -22,7 +22,7 @@ options {
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -25,7 +25,7 @@ options {
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -25,7 +25,7 @@ options {
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -25,7 +25,7 @@ options {
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -28,7 +28,7 @@ options {
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -29,7 +29,7 @@ options {
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -33,7 +33,7 @@ options {
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -27,7 +27,7 @@ options {
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -32,7 +32,7 @@ options {
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -27,7 +27,7 @@ options {
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -27,7 +27,7 @@ options {
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -27,7 +27,7 @@ options {
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -27,7 +27,7 @@ options {
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -27,7 +27,7 @@ options {
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -27,7 +27,7 @@ options {
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -13,7 +13,7 @@
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -284,6 +284,7 @@ DISABLED_ALGORITHM_NUMBER=14
DISABLED_BITS=384
# Default HMAC algorithm.
# also update common/rndc.conf and common/rndc.key when updating DEFAULT_HMAC
DEFAULT_HMAC=hmac-sha256
#

View File

@ -13,7 +13,7 @@
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
key foo {

View File

@ -13,7 +13,7 @@
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -13,7 +13,7 @@
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -13,7 +13,7 @@
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -13,7 +13,7 @@
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -13,7 +13,7 @@
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -15,7 +15,7 @@
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -15,7 +15,7 @@
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -35,7 +35,7 @@ ret=0
import sys
sys.path.insert(0, '../../../../bin/python')
from isc import rndc
r = rndc(('10.53.0.2', 9953), 'hmac-sha256', '1234abcd8765')
r = rndc(('10.53.0.2', 9953), '${DEFAULT_HMAC}', '1234abcd8765')
for i in range(20000):
res = r.call('addzone z%d.example { type primary; file "added.db"; };' % i)
if 'text' in res:
@ -48,7 +48,7 @@ EOF
import sys
sys.path.insert(0, '../../../../bin/python')
from isc import rndc
r = rndc(('10.53.0.2', 9953), 'hmac-sha256', '1234abcd8765')
r = rndc(('10.53.0.2', 9953), '${DEFAULT_HMAC}', '1234abcd8765')
for i in range(20000):
res = r.call('delzone z%d.example' % i)
if 'text' in res:

View File

@ -13,7 +13,7 @@
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -13,7 +13,7 @@
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -27,7 +27,7 @@ options {
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
include "ddns.key";

View File

@ -30,7 +30,7 @@ options {
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -30,7 +30,7 @@ options {
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -41,7 +41,7 @@ options {
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -30,7 +30,7 @@ options {
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -30,7 +30,7 @@ options {
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -25,7 +25,7 @@ options {
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {
@ -34,7 +34,7 @@ controls {
key auth {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
include "trusted.conf";

View File

@ -26,7 +26,7 @@ options {
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -27,7 +27,7 @@ options {
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -15,7 +15,7 @@
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -30,7 +30,7 @@ options {
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -29,7 +29,7 @@ options {
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -34,7 +34,7 @@ options {
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -34,7 +34,7 @@ options {
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -37,7 +37,7 @@ server 10.53.0.1 { tcp-only yes; };
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -36,7 +36,7 @@ server 10.53.0.1 { tcp-only yes; };
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -28,7 +28,7 @@ options {
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -12,7 +12,7 @@
*/
key rndc_key {
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
secret "1234abcd8765";
};

View File

@ -12,7 +12,7 @@
*/
key rndc_key {
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
secret "1234abcd8765";
};

View File

@ -28,7 +28,7 @@ options {
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -26,7 +26,7 @@ options {
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -34,7 +34,7 @@ server 10.53.0.4 {
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -32,7 +32,7 @@ server 10.53.0.4 {
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -32,7 +32,7 @@ server 10.53.0.4 {
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -34,7 +34,7 @@ plugin query "../../../../plugins/.libs/filter-aaaa.so" {
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -32,7 +32,7 @@ plugin query "../../../../plugins/.libs/filter-aaaa.so" {
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -32,7 +32,7 @@ plugin query "../../../../plugins/.libs/filter-aaaa.so" {
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -32,7 +32,7 @@ plugin query "../../../../plugins/.libs/filter-aaaa.so" {
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -32,7 +32,7 @@ plugin query "../../../../plugins/.libs/filter-aaaa.so" {
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -32,7 +32,7 @@ plugin query "../../../../plugins/.libs/filter-aaaa.so" {
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -32,7 +32,7 @@ plugin query "../../../../plugins/.libs/filter-aaaa.so" {
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -32,7 +32,7 @@ plugin query "../../../../plugins/.libs/filter-aaaa.so" {
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -37,7 +37,7 @@ plugin query "../../../../plugins/.libs/filter-aaaa.so" {
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -29,7 +29,7 @@ options {
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -30,7 +30,7 @@ include "trusted.conf";
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -25,7 +25,7 @@ options {
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -25,7 +25,7 @@ options {
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -27,7 +27,7 @@ options {
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -25,7 +25,7 @@ options {
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -28,7 +28,7 @@ options {
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -28,7 +28,7 @@ options {
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -28,7 +28,7 @@ options {
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -28,7 +28,7 @@ options {
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -33,7 +33,7 @@ options {
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -28,7 +28,7 @@ options {
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -28,7 +28,7 @@ options {
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -28,7 +28,7 @@ options {
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -28,7 +28,7 @@ options {
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -28,7 +28,7 @@ options {
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -28,7 +28,7 @@ options {
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -28,7 +28,7 @@ options {
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -28,7 +28,7 @@ options {
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -28,7 +28,7 @@ plugin query "../driver/.libs/test-async.so";
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -25,7 +25,7 @@ options {
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -26,7 +26,7 @@ options {
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -25,7 +25,7 @@ options {
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -26,7 +26,7 @@ options {
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -28,7 +28,7 @@ options {
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -28,7 +28,7 @@ options {
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -28,7 +28,7 @@ options {
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -31,7 +31,7 @@ options {
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -15,7 +15,7 @@
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -15,7 +15,7 @@
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

View File

@ -31,7 +31,7 @@ options {
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
algorithm @DEFAULT_HMAC@;
};
controls {

Some files were not shown because too many files have changed in this diff Show More