]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- rpz triggers, document statistics and fix comment about statistics.
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Fri, 12 Mar 2021 12:24:17 +0000 (13:24 +0100)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Fri, 12 Mar 2021 12:24:17 +0000 (13:24 +0100)
doc/unbound-control.8.in
services/rpz.c

index 20325abf214c963865c4d8364c82668142b3e070..bdb14cff0b08da40edda7b2218fd79ba752d14bb 100644 (file)
@@ -685,8 +685,8 @@ specific cache, after getting processed by the edns client subnet module.
 .TP
 .I num.rpz.action.<rpz_action>
 Number of queries answered using configured RPZ policy, per RPZ action type.
-Possible actions are: nxdomain, nodata, passthru, drop, local_data, disabled,
-and cname_override.
+Possible actions are: nxdomain, nodata, passthru, drop, tcp\-only, local\-data,
+disabled, and cname\-override.
 .SH "FILES"
 .TP
 .I @ub_conf_file@
index 1e6cc0bd2e9bc70868dc1cdfb505fc4742dc3dae..568ae9840426f3ee5f99f0ebbe0e8f721aa8e9f9 100644 (file)
@@ -1388,7 +1388,6 @@ rpz_resolve_client_action_and_zone(struct auth_zones* az, struct query_info* qin
                                log_rpz_apply(z->name,
                                        r->action_override,
                                        qinfo, repinfo, r->log_name);
-                       /* TODO only register stats when stats_extended? */
                        stats->rpz_action[r->action_override]++;
                        lock_rw_unlock(&z->lock);
                        z = NULL;