]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
2202. [security] The default acls for allow-query-cache and
authorMark Andrews <marka@isc.org>
Mon, 25 Jun 2007 02:42:24 +0000 (02:42 +0000)
committerMark Andrews <marka@isc.org>
Mon, 25 Jun 2007 02:42:24 +0000 (02:42 +0000)
                        allow-recursion were not being applied. [RT #16960]

CHANGES
bin/named/server.c

diff --git a/CHANGES b/CHANGES
index 28d5e54d737919946b292b4de626b0d145ce5b07..3351024a1ee151c3807e92104c611b94144815b3 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,6 @@
+2202.  [security]      The default acls for allow-query-cache and 
+                       allow-recursion were not being applied. [RT #16960]
+
 2200.  [bug]           The search for cached NSEC records was stopping to
                        early leading to excessive DLV queries. [RT #16930]
 
index a683da71f76df7705a1cd1a9cf7558f1894d899f..f66ee12574924b74fcef2cd7b919877b99ba1c3b 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: server.c,v 1.419.18.54 2007/05/15 02:31:05 marka Exp $ */
+/* $Id: server.c,v 1.419.18.55 2007/06/25 02:42:24 marka Exp $ */
 
 /*! \file */
 
@@ -1438,7 +1438,7 @@ configure_view(dns_view_t *view, const cfg_obj_t *config,
        CHECK(configure_view_acl(vconfig, config, "allow-query-cache",
                                 actx, ns_g_mctx, &view->queryacl));
        if (view->queryacl == NULL)
-               CHECK(configure_view_acl(NULL, ns_g_defaults,
+               CHECK(configure_view_acl(NULL, ns_g_config,
                                         "allow-query-cache", actx,
                                         ns_g_mctx, &view->queryacl));
 
@@ -1463,7 +1463,7 @@ configure_view(dns_view_t *view, const cfg_obj_t *config,
         * Set default "allow-recursion" acl.
         */
        if (view->recursionacl == NULL && view->recursion)
-               CHECK(configure_view_acl(NULL, ns_g_defaults, "allow-recursion",
+               CHECK(configure_view_acl(NULL, ns_g_config, "allow-recursion",
                                         actx, ns_g_mctx, &view->recursionacl));
 
        CHECK(configure_view_acl(vconfig, config, "sortlist",