Home
last modified time | relevance | path

Searched refs:rpz (Results 1 – 17 of 17) sorted by relevance

/openbsd/src/sbin/unwind/libunbound/services/
Drpz.h111 struct rpz { struct
145 int rpz_insert_rr(struct rpz* r, uint8_t* azname, size_t aznamelen, uint8_t* dname,
161 void rpz_remove_rr(struct rpz* r, uint8_t* azname, size_t aznamelen,
213 void rpz_delete(struct rpz* r);
220 int rpz_clear(struct rpz* r);
226 struct rpz* rpz_create(struct config_auth* p);
234 int rpz_config(struct rpz* r, struct config_auth* p);
250 void rpz_finish_config(struct rpz* r);
264 void rpz_enable(struct rpz* r);
270 void rpz_disable(struct rpz* r);
Drpz.c383 rpz_delete(struct rpz* r) in rpz_delete()
399 rpz_clear(struct rpz* r) in rpz_clear()
432 rpz_finish_config(struct rpz* r) in rpz_finish_config()
495 delete_cname_override(struct rpz* r) in delete_cname_override()
506 rpz_apply_cfg_elements(struct rpz* r, struct config_auth* p) in rpz_apply_cfg_elements()
554 struct rpz*
557 struct rpz* r = calloc(1, sizeof(*r)); in rpz_create()
614 rpz_config(struct rpz* r, struct config_auth* p) in rpz_config()
749 rpz_insert_qname_trigger(struct rpz* r, uint8_t* dname, size_t dnamelen, in rpz_insert_qname_trigger()
800 rpz_insert_nsdname_trigger(struct rpz* r, uint8_t* dname, size_t dnamelen, in rpz_insert_nsdname_trigger()
[all …]
DMakefile.inc6 outbound_list.c outside_network.c rpz.c view.c
Dauthzone.h140 struct rpz* rpz; member
Dauthzone.c397 if(az && z->rpz) { in auth_zone_delete()
408 if(z->rpz) in auth_zone_delete()
409 rpz_delete(z->rpz); in auth_zone_delete()
1187 if(z->rpz) { in az_insert_rr()
1188 if(!(rpz_insert_rr(z->rpz, z->name, z->namelen, dname, in az_insert_rr()
1308 if(z->rpz) { in az_remove_rr()
1309 rpz_remove_rr(z->rpz, z->name, z->namelen, dname, dname_len, in az_remove_rr()
1605 if(z->rpz) in auth_zone_read_zonefile()
1606 rpz_clear(z->rpz); in auth_zone_read_zonefile()
1627 if(z->rpz) in auth_zone_read_zonefile()
[all …]
/openbsd/src/usr.sbin/unbound/services/
Drpz.h111 struct rpz { struct
145 int rpz_insert_rr(struct rpz* r, uint8_t* azname, size_t aznamelen, uint8_t* dname,
161 void rpz_remove_rr(struct rpz* r, uint8_t* azname, size_t aznamelen,
213 void rpz_delete(struct rpz* r);
220 int rpz_clear(struct rpz* r);
226 struct rpz* rpz_create(struct config_auth* p);
234 int rpz_config(struct rpz* r, struct config_auth* p);
250 void rpz_finish_config(struct rpz* r);
264 void rpz_enable(struct rpz* r);
270 void rpz_disable(struct rpz* r);
Drpz.c383 rpz_delete(struct rpz* r) in rpz_delete()
399 rpz_clear(struct rpz* r) in rpz_clear()
432 rpz_finish_config(struct rpz* r) in rpz_finish_config()
495 delete_cname_override(struct rpz* r) in delete_cname_override()
506 rpz_apply_cfg_elements(struct rpz* r, struct config_auth* p) in rpz_apply_cfg_elements()
554 struct rpz*
557 struct rpz* r = calloc(1, sizeof(*r)); in rpz_create()
614 rpz_config(struct rpz* r, struct config_auth* p) in rpz_config()
749 rpz_insert_qname_trigger(struct rpz* r, uint8_t* dname, size_t dnamelen, in rpz_insert_qname_trigger()
800 rpz_insert_nsdname_trigger(struct rpz* r, uint8_t* dname, size_t dnamelen, in rpz_insert_nsdname_trigger()
[all …]
Dauthzone.h140 struct rpz* rpz; member
Dauthzone.c397 if(az && z->rpz) { in auth_zone_delete()
408 if(z->rpz) in auth_zone_delete()
409 rpz_delete(z->rpz); in auth_zone_delete()
1187 if(z->rpz) { in az_insert_rr()
1188 if(!(rpz_insert_rr(z->rpz, z->name, z->namelen, dname, in az_insert_rr()
1308 if(z->rpz) { in az_remove_rr()
1309 rpz_remove_rr(z->rpz, z->name, z->namelen, dname, dname_len, in az_remove_rr()
1605 if(z->rpz) in auth_zone_read_zonefile()
1606 rpz_clear(z->rpz); in auth_zone_read_zonefile()
1627 if(z->rpz) in auth_zone_read_zonefile()
[all …]
/openbsd/src/usr.sbin/unbound/
DMakefile.in125 services/rpz.c util/rfc_1982.c \
151 autotrust.lo val_anchor.lo rpz.lo rfc_1982.lo proxy_protocol.lo \
752 $(srcdir)/services/modstack.h $(srcdir)/services/rpz.h $(srcdir)/services/localzone.h \
771 …$(srcdir)/services/modstack.h $(srcdir)/services/rpz.h $(srcdir)/services/localzone.h $(srcdir)/se…
821 …dir)/util/tube.h $(srcdir)/services/mesh.h $(srcdir)/services/modstack.h $(srcdir)/services/rpz.h \
833 $(srcdir)/services/modstack.h $(srcdir)/services/rpz.h $(srcdir)/services/localzone.h \
849 $(srcdir)/util/data/packed_rrset.h $(srcdir)/services/modstack.h $(srcdir)/services/rpz.h \
862 …$(srcdir)/services/mesh.h $(srcdir)/util/rbtree.h $(srcdir)/services/rpz.h $(srcdir)/services/loca…
872 rpz.lo rpz.o: $(srcdir)/services/rpz.c config.h $(srcdir)/services/rpz.h $(srcdir)/services/localzo…
894 …$(srcdir)/services/mesh.h $(srcdir)/services/modstack.h $(srcdir)/services/rpz.h $(srcdir)/service…
[all …]
/openbsd/src/usr.sbin/unbound/util/
Dconfiglexer.lex351 rpz{COLON} { YDVAR(0, VAR_RPZ) }
353 rpz-action-override{COLON} { YDVAR(1, VAR_RPZ_ACTION_OVERRIDE) }
354 rpz-cname-override{COLON} { YDVAR(1, VAR_RPZ_CNAME_OVERRIDE) }
355 rpz-log{COLON} { YDVAR(1, VAR_RPZ_LOG) }
356 rpz-log-name{COLON} { YDVAR(1, VAR_RPZ_LOG_NAME) }
357 rpz-signal-nxdomain-ra{COLON} { YDVAR(1, VAR_RPZ_SIGNAL_NXDOMAIN_RA) }
/openbsd/src/sbin/unwind/libunbound/util/
Dconfiglexer.lex351 rpz{COLON} { YDVAR(0, VAR_RPZ) }
353 rpz-action-override{COLON} { YDVAR(1, VAR_RPZ_ACTION_OVERRIDE) }
354 rpz-cname-override{COLON} { YDVAR(1, VAR_RPZ_CNAME_OVERRIDE) }
355 rpz-log{COLON} { YDVAR(1, VAR_RPZ_LOG) }
356 rpz-log-name{COLON} { YDVAR(1, VAR_RPZ_LOG_NAME) }
357 rpz-signal-nxdomain-ra{COLON} { YDVAR(1, VAR_RPZ_SIGNAL_NXDOMAIN_RA) }
/openbsd/src/usr.sbin/unbound/respip/
Drespip.c833 respip_use_rpz(struct resp_addr* raddr, struct rpz* r, in respip_use_rpz()
886 struct rpz* r; in respip_rewrite_reply()
945 r = a->rpz; in respip_rewrite_reply()
/openbsd/src/sbin/unwind/libunbound/respip/
Drespip.c833 respip_use_rpz(struct resp_addr* raddr, struct rpz* r, in respip_use_rpz()
886 struct rpz* r; in respip_rewrite_reply()
945 r = a->rpz; in respip_rewrite_reply()
/openbsd/src/usr.sbin/unbound/doc/
Dexample.conf.in42 # rpz-actions) from printing if their value is 0.
1354 # rpz:
1355 # name: "rpz.example.com"
1356 # zonefile: "rpz.example.com"
1359 # url: http://www.example.com/rpz.example.org.zone
1360 # rpz-action-override: cname
1361 # rpz-cname-override: www.example.org
1362 # rpz-log: yes
1363 # rpz-log-name: "example policy"
1364 # rpz-signal-nxdomain-ra: no
DChangelog191 - Fix #1079: tags from tagged rpz zones are no longer honored after
390 - Fix rpz so that rpz CNAME can apply after rpz CNAME. And fix that
392 - Fix localdata and rpz localdata to match CNAME only if no direct
396 - Fix that rpz CNAME content is limited to the max number of cnames.
397 - Fix rpz, it follows iterator CNAMEs for nsip and nsdname and sets
399 - Fix rpz that copies the cname override completely to the temp
400 region, so there are no references to the rpz region.
401 - Add rpz unit test for nsip action override.
402 - Fix rpz for qtype CNAME after nameserver trigger.
413 - Fix #1029: rpz trigger clientip and action rpz-passthru not working
[all …]
/openbsd/src/usr.sbin/unbound/daemon/
Dremote.c3171 if (!z->rpz) { in do_rpz_enable_disable()
3177 rpz_enable(z->rpz); in do_rpz_enable_disable()
3179 rpz_disable(z->rpz); in do_rpz_enable_disable()