BIND 10 rrl, updated. 6b1d22e18e58ed34671eac9c303adb18b1ad0f7e [rrl] make rate-limit config non-optional, providing the default is false

BIND 10 source code commits bind10-changes at lists.isc.org
Fri May 3 17:15:22 UTC 2013


The branch, rrl has been updated
       via  6b1d22e18e58ed34671eac9c303adb18b1ad0f7e (commit)
      from  b9ebf9d052f93ee4286e294ac8cc73984489d050 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 6b1d22e18e58ed34671eac9c303adb18b1ad0f7e
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Fri May 3 10:08:46 2013 -0700

    [rrl] make rate-limit config non-optional, providing the default is false
    
    otherwise bindctl won't be able to modify the values initially.
    the concept of optional never stops confusing me...

-----------------------------------------------------------------------

Summary of changes:
 src/bin/auth/auth.spec.pre.in |   15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)

-----------------------------------------------------------------------
diff --git a/src/bin/auth/auth.spec.pre.in b/src/bin/auth/auth.spec.pre.in
index 9585b79..017794f 100644
--- a/src/bin/auth/auth.spec.pre.in
+++ b/src/bin/auth/auth.spec.pre.in
@@ -98,7 +98,20 @@
       },
       { "item_name": "rate-limit",
         "item_type": "map",
-	"item_optional": true,
+	"item_optional": false,
+	"item_default": {
+	  "enable": false,
+	  "min-table-size": 500,
+	  "max-table-size": 20000,
+	  "responses-per-second": 0,
+	  "errors-per-second": 0,
+	  "nxdomains-per-second": 0,
+	  "slip": 2,
+	  "window": 15,
+	  "ipv4-prefix-length": 24,
+	  "ipv6-prefix-length": 56,
+	  "log-only": false
+	},
 	"map_item_spec": [
 	  { "item_name": "enable",
 	    "item_type": "boolean",



More information about the bind10-changes mailing list