]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Move the NSEC3 max iterations count in line with the 150 value
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Tue, 25 May 2021 12:35:19 +0000 (14:35 +0200)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Tue, 25 May 2021 12:35:19 +0000 (14:35 +0200)
  used by BIND, Knot and PowerDNS. This sets the default value
  for it in the configuration to 150 for all key sizes.

doc/Changelog
doc/example.conf.in
doc/unbound.conf.5.in
util/config_file.c

index fec5e9ab487b3c46f97cd75e154967eb4fc7c1fc..7e0383db3aaa776c698404cfe7c6c6a0cb6a0d7d 100644 (file)
@@ -1,3 +1,8 @@
+25 May 2021: Wouter
+       - Move the NSEC3 max iterations count in line with the 150 value
+         used by BIND, Knot and PowerDNS. This sets the default value
+         for it in the configuration to 150 for all key sizes.
+
 21 May 2021: Wouter
        - Test code has -q option for quiet output.
 
index f968184a94f4b9e05e86086d9a231831c2cf15a3..96eeebd59ee5d2d16744bdf40eaee6723132a59f 100644 (file)
@@ -614,7 +614,7 @@ server:
        # keysize. Keep this table very short, as linear search is done.
        # A message with an NSEC3 with larger count is marked insecure.
        # List in ascending order the keysize and count values.
-       # val-nsec3-keysize-iterations: "1024 150 2048 500 4096 2500"
+       # val-nsec3-keysize-iterations: "1024 150 2048 150 4096 150"
 
        # if enabled, ZONEMD verification failures do not block the zone.
        # zonemd-permissive-mode: no
index 9aa12c65c80391afb72fd35d56efa4800231c7ad..efd17c0deaddf07ef56fe5e8d24ddae9216580e5 100644 (file)
@@ -1215,7 +1215,7 @@ Default is "no".
 .TP
 .B val\-nsec3\-keysize\-iterations: \fI<"list of values">
 List of keysize and iteration count values, separated by spaces, surrounded
-by quotes. Default is "1024 150 2048 500 4096 2500". This determines the
+by quotes. Default is "1024 150 2048 150 4096 150". This determines the
 maximum allowed NSEC3 iteration count before a message is simply marked
 insecure instead of performing the many hashing iterations. The list must
 be in ascending order and have at least one entry. If you set it to
index 1d63741566600407e4c052322cab5e9f4b51650e..341978d9756fe566ad50ae3d5aad03894bd9ab8b 100644 (file)
@@ -309,7 +309,7 @@ config_create(void)
        if(!(cfg->module_conf = strdup("validator iterator"))) goto error_exit;
 #endif
        if(!(cfg->val_nsec3_key_iterations = 
-               strdup("1024 150 2048 500 4096 2500"))) goto error_exit;
+               strdup("1024 150 2048 150 4096 150"))) goto error_exit;
 #if defined(DNSTAP_SOCKET_PATH)
        if(!(cfg->dnstap_socket_path = strdup(DNSTAP_SOCKET_PATH)))
                goto error_exit;