| /src/external/bsd/unbound/dist/testdata/rpz_reload.tdir/ |
| rpz_reload.conf | 19 rpz: 20 name: "rpz.example.com" 21 zonefile: "rpz.example.com.zone" 22 rpz-action-override: cname 23 rpz-cname-override: "www.example.org" 24 rpz-log: yes 25 rpz-log-name: "example policy"
|
| /src/external/mpl/bind/dist/lib/dns/ |
| rpz.c | 1 /* $NetBSD: rpz.c,v 1.21 2026/09/17 18:01:15 christos Exp $ */ 48 #include <dns/rpz.h> 54 #define DNS_RPZ_ZONE_VALID(rpz) ISC_MAGIC_VALID(rpz, DNS_RPZ_ZONE_MAGIC) 63 * for rpz-ip policies or policies triggered by addresses in A or 65 * The second set is for rpz-nsip policies or policies triggered by addresses 108 dns__rpz_timer_start(dns_rpz_zone_t *rpz); 188 dns_rpz_zone_t *rpz; member in struct:rpz_update 205 rpz_add(dns_rpz_zone_t *rpz, dns_qp_t *qp, const dns_name_t *src_name); 207 rpz_del(dns_rpz_zone_t *rpz, dns_qp_t *qp, const dns_name_t *src_name) 1617 dns_rpz_zone_t *rpz = NULL; local 1668 dns_rpz_zone_t *rpz = (dns_rpz_zone_t *)fn_arg; local 1791 dns_rpz_zone_t *rpz = arg; local 1804 dns_rpz_zone_t *rpz = update->rpz; local 2048 dns_rpz_zone_t *rpz = update->rpz; local 2080 dns_rpz_zone_t *rpz = (dns_rpz_zone_t *)arg; local 2167 dns_rpz_zone_t *rpz = NULL; local [all...] |
| /src/external/bsd/unbound/dist/services/ |
| rpz.h | 2 * services/rpz.h - rpz service 39 * This file contains functions to enable RPZ service. 56 * RPZ triggers, only the QNAME trigger is currently supported in Unbound. 61 RPZ_CLIENT_IP_TRIGGER, /* rpz-client-ip */ 62 RPZ_RESPONSE_IP_TRIGGER, /* rpz-ip */ 63 RPZ_NSDNAME_TRIGGER, /* rpz-nsdname */ 64 RPZ_NSIP_TRIGGER, /* rpz-nsip */ 69 * RPZ actions. 74 RPZ_PASSTHRU_ACTION, /* CNAME rpz-passthru. * 111 struct rpz { struct [all...] |
| rpz.c | 2 * services/rpz.c - rpz service 39 * This file contains functions to enable RPZ service. 43 #include "services/rpz.h" 66 /** string for RPZ action enum */ 71 case RPZ_NXDOMAIN_ACTION: return "rpz-nxdomain"; 72 case RPZ_NODATA_ACTION: return "rpz-nodata"; 73 case RPZ_PASSTHRU_ACTION: return "rpz-passthru"; 74 case RPZ_DROP_ACTION: return "rpz-drop"; 75 case RPZ_TCP_ONLY_ACTION: return "rpz-tcp-only" [all...] |
| authzone.h | 49 #include "services/rpz.h" 82 /** first auth zone containing rpz item in linked list */ 84 /** rw lock for rpz linked list, needed when iterating or editing linked 138 /** RPZ zones */ 139 struct rpz* rpz; member in struct:auth_zone 158 /** next auth zone containing RPZ data, or NULL */ 160 /** previous auth zone containing RPZ data, or NULL */ 301 /** the zone is an rpz zone */ 517 * @param is_rpz: set to 1 if at least one RPZ zone is configured [all...] |
| /src/external/mpl/dhcp/bind/dist/lib/dns/ |
| rpz.c | 1 /* $NetBSD: rpz.c,v 1.1 2024/02/18 20:57:33 christos Exp $ */ 44 #include <dns/rpz.h> 53 * for rpz-ip policies or policies triggered by addresses in A or 55 * The second set is for rpz-nsip policies or policies triggered by addresses 99 dns_rpz_update_from_db(dns_rpz_zone_t *rpz); 197 "rpz hit failed: %s %s", str, tgt); 218 FATAL_ERROR(__FILE__, __LINE__, "impossible rpz type %d", type); 572 "computed RPZ qname_skip_recurse mask=0x%" PRIx64, 678 * bin/tests/system/rpz/tests.sh looks for "invalid rpz" 820 dns_rpz_zone_t *rpz; local 1005 dns_rpz_zone_t *rpz; local 1815 dns_rpz_zone_t *rpz = NULL; local 1918 dns_rpz_zone_t *rpz = NULL; local 2166 dns_rpz_zone_t *rpz; local 2270 dns_rpz_zone_t *rpz = rpzs->zones[rpz_num]; local 2340 dns_rpz_zone_t *rpz; local 2550 dns_rpz_zone_t *rpz; local [all...] |
| /src/external/mpl/bind/dist/bin/tests/system/rpz/ |
| setup.sh | 38 cp ns3/manual-update-rpz.db.in ns3/manual-update-rpz.db 39 cp ns8/manual-update-rpz.db.in ns8/manual-update-rpz.db 44 cp ns3/mixed-case-rpz-1.db.in ns3/mixed-case-rpz.db 46 cp ns3/include-rpz.db.in ns3/include-rpz.db 47 cp ns3/include-rpz.inc-1.in ns3/include-rpz.in [all...] |
| tests.sh | 16 # test response policy zones (RPZ) 19 # touch dnsrps-only to not test with classic RPZ 226 # $2 rebuild bl rpz zones if "rebuild-bl-rpz" 242 if [ "$2" = "rebuild-bl-rpz" ]; then 267 restart $CKALIVE_NS "rebuild-bl-rpz" 584 msg='invalid rpz IP address "128.2.0.0.0.0.3.2.2001.rpz-ip.bl" is not in canonical form 128.2.zz.3.2.2001.rpz-nsdname.bl' 730 # This is not a bug, because any data leaked by writing 24.4.3.2.10.rpz-i [all...] |
| /src/external/bsd/unbound/dist/testdata/fast_reload_most_options.tdir/ |
| fast_reload_most_options.conf | 134 rpz: 135 name: "rpz.nlnetlabs.nl" 136 zonefile: "rpz.nlnetlabs.nl.zone" 137 rpz-action-override: cname 138 rpz-cname-override: www.example.org 139 rpz-log: yes 140 rpz-log-name: "example policy" 141 rpz-signal-nxdomain-ra: no
|
| /src/external/mpl/bind/dist/bin/tests/system/rpz/ns7/ |
| named.conf.j2 | 32 logging { category rpz { default_debug; }; };
|
| /src/external/mpl/bind/dist/bin/tests/system/rpz/ns8/ |
| named.conf.j2 | 15 * Main rpz test DNS server. 27 zone "manual-update-rpz"; 43 logging { category rpz { default_debug; }; }; 49 zone "manual-update-rpz." { 51 file "manual-update-rpz.db";
|
| /src/external/mpl/bind/dist/bin/tests/system/rpz/ns9/ |
| named.conf.j2 | 15 * DNS64 / RPZ server. 28 zone "rpz"; 37 logging { category rpz { default_debug; }; }; 43 zone "rpz." { 45 file "rpz.db";
|
| /src/external/mpl/bind/dist/lib/dns/include/dns/ |
| dnsrps.h | 28 #include <dns/rpz.h> 40 * dns_rpsdb_t holds the state for a set of RPZ queries. 42 * rpsnode_t is a link to the dns_rpsdb_t for the set of RPZ queries 64 * Convert a dnsrps policy to a classic BIND9 RPZ policy. 70 * Convert a dnsrps trigger to a classic BIND9 RPZ rewrite or trigger type. 76 * Convert a classic BIND9 RPZ rewrite or trigger type to a librpz trigger type.
|
| rpz.h | 1 /* $NetBSD: rpz.h,v 1.14 2026/08/29 14:55:17 christos Exp $ */ 38 #define DNS_RPZ_PREFIX "rpz-" 235 * RPZ policy version number. 306 dns_rpz_zone_t *rpz; member in struct:__anon28::__anon29 345 * A copy of the 'have' and 'p' structures and the RPZ 346 * policy version as of the beginning of RPZ processing, 348 * RPZ recursion is ongoing. 399 dns_rpz_decode_cname(dns_rpz_zone_t *rpz, dns_rdataset_t *rdataset, 413 dns_rpz_dbupdate_unregister(dns_db_t *db, dns_rpz_zone_t *rpz); 415 dns_rpz_dbupdate_register(dns_db_t *db, dns_rpz_zone_t *rpz); [all...] |
| /src/external/mpl/dhcp/bind/dist/lib/dns/include/dns/ |
| dnsrps.h | 29 #include <dns/rpz.h> 41 * rpsdb_t holds the state for a set of RPZ queries. 43 * rpsnode_t is a link to the rpsdb_t for the set of RPZ queries 64 * Convert a dnsrps policy to a classic BIND9 RPZ policy. 70 * Convert a dnsrps trigger to a classic BIND9 RPZ rewrite or trigger type. 76 * Convert a classic BIND9 RPZ rewrite or trigger type to a librpz trigger type.
|
| rpz.h | 1 /* $NetBSD: rpz.h,v 1.1 2024/02/18 20:57:38 christos Exp $ */ 37 #define DNS_RPZ_PREFIX "rpz-" 224 * RPZ policy version number. 300 dns_rpz_zone_t *rpz; member in struct:__anon24276::__anon24277 339 * A copy of the 'have' and 'p' structures and the RPZ 340 * policy version as of the beginning of RPZ processing, 342 * RPZ recursion is ongoing. 390 dns_rpz_decode_cname(dns_rpz_zone_t *rpz, dns_rdataset_t *rdataset,
|
| /src/external/mpl/bind/dist/bin/tests/system/rpz/ns6/ |
| named.conf.j2 | 36 logging { category rpz { default_debug; }; };
|
| /src/external/mpl/bind/dist/bin/tests/system/rpzrecurse/ |
| testgen.pl | 58 return "32.1.0.0.127.rpz-client-ip CNAME .\n"; 67 return "32.255.255.255.255.rpz-ip CNAME .\n"; 71 return "ns.example.org.rpz-nsdname CNAME .\n"; 75 return "32.255.255.255.255.rpz-ip CNAME .\n"; 270 32.1.0.0.127.rpz-client-ip CNAME . 274 32.255.255.255.255.rpz-ip CNAME . 276 ns.example.org.rpz-nsdname CNAME . 278 32.255.255.255.255.rpz-nsip CNAME .
|
| /src/external/mpl/bind/dist/bin/tests/system/rpzextra/ns3/ |
| named.conf.j2 | 24 zone "rpz-extra.local"; 38 file "rpz.txt" versions 3 size 20m; 45 category rpz { rpz_log; default_debug; }; 46 category rpz-passthru { rpz_passthru; default_debug; }; 55 zone "rpz.local" { 57 file "first-rpz.local.db"; 62 zone "rpz.local"; 72 zone "rpz-external.local" { 75 file "second-rpz-external.local.db"; 79 zone "rpz-external.local" [all...] |
| /src/external/mpl/bind/dist/bin/tests/system/rpz/ns5/ |
| named.conf.j2 | 15 * Test rpz performance. 28 # turn rpz on or off 29 include "rpz-switch";
|
| /src/external/bsd/unbound/dist/testdata/acl_interface.tdir/ |
| acl_interface.conf | 8 module-config: "respip validator iterator" # respip for the RPZ part 11 define-tag: "one two refuse rpz-one rpz-two rpz-nx" 43 interface-tag: @IPV4_ADDR@@@PORT_RPZ_1@ "rpz-one" 44 interface-tag: @IPV4_ADDR@@@PORT_RPZ_2@ "rpz-two" 45 interface-tag: @IPV4_ADDR@@@PORT_RPZ_NX@ "rpz-nx" 86 interface-tag: @IPV6_ADDR@@@PORT_RPZ_1@ "rpz-one" 87 interface-tag: @IPV6_ADDR@@@PORT_RPZ_2@ "rpz-two" 88 interface-tag: @IPV6_ADDR@@@PORT_RPZ_NX@ "rpz-nx [all...] |
| /src/external/mpl/bind/dist/lib/ns/include/ns/ |
| query.h | 28 #include <dns/rpz.h> 202 bool dns64, dns64_exclude, rpz; member in struct:query_ctx 207 bool nxrewrite; /* negative answer from RPZ */ 230 dns_rpz_st_t *rpz_st; /* RPZ state */
|
| /src/external/bsd/unbound/lib/libunbound/ |
| Makefile | 77 rpz.c \
|
| /src/external/mpl/bind/dist/lib/ns/ |
| query.c | 396 * DNS64, RPZ, RRL, and the SERVFAIL cache. It also doesn't discuss 1310 /* It's possible to have a separate log channel for rpz passthru. */ 1337 * bin/tests/system/rpz/tests.sh looks for "rpz.*failed" for problems. 1367 level, "rpz %s%s%s rewrite %s%s%s%s%s%s%s", rpztypestr1, 1410 "try rpz %s rewrite %s via %s", 2833 * the earliest configured policy zone (rpz->num) 2841 zbits &= DNS_RPZ_ZMASK(st->m.rpz->num); 2843 zbits &= DNS_RPZ_ZMASK(st->m.rpz->num) >> 1; 2902 CTRACE(ISC_LOG_ERROR, "RPZ recursing") 3550 dns_rpz_zone_t *rpz; local 3876 dns_rpz_zone_t *rpz; local 6455 bool rpz = (qctx->rpz_st != NULL && local [all...] |
| /src/external/mpl/bind/dist/bin/tests/system/rpz/ns3/ |
| named.conf.j2 | 15 * Main rpz test DNS server. 46 zone "manual-update-rpz" ede forged; 47 zone "mixed-case-rpz"; 48 zone "include-rpz"; 51 zone "slow-rpz"; 69 logging { category rpz { default_debug; }; }; 108 zone "manual-update-rpz." { 110 file "manual-update-rpz.db"; 114 zone "mixed-case-rpz." { 116 file "mixed-case-rpz.db" [all...] |