/freebsd/contrib/unbound/dnstap/ |
H A D | dnstap.m4 | 1 # dnstap.m4 5 # Check for required dnstap libraries and add dnstap configure args. 8 AC_ARG_ENABLE([dnstap], optenable 9 AS_HELP_STRING([--enable-dnstap], 10 [Enable dnstap support (requires protobuf-c)]), 14 AC_ARG_WITH([dnstap-socket-path], 15 AS_HELP_STRING([--with-dnstap-socket-path=pathname], 16 [set default dnstap socket path]), 26 … AS_HELP_STRING([--with-protobuf-c=path], [Path where protobuf-c is installed, for dnstap]),
|
H A D | dnstap.proto | 1 // dnstap: flexible, structured event replication format for DNS software 3 // This file contains the protobuf schemas for the "dnstap" structured event 18 package dnstap; package 20 // "Dnstap": this is the top-level dnstap type, which is a "union" type that 21 // contains other kinds of dnstap payloads, although currently only one type 22 // of dnstap payload is defined.
|
H A D | dnstap.c | 160 if(cfg->dnstap && cfg->dnstap_socket_path && cfg->dnstap_socket_path[0] && in dt_create() 235 if (!cfg->dnstap) in dt_apply_cfg()
|
H A D | dtstream.c | 339 if(!cfg->dnstap) { in dt_io_thread_apply_cfg()
|
/freebsd/contrib/unbound/util/ |
H A D | configlexer.lex | 493 dnstap{COLON} { YDVAR(0, VAR_DNSTAP) } 494 dnstap-enable{COLON} { YDVAR(1, VAR_DNSTAP_ENABLE) } 495 dnstap-bidirectional{COLON} { YDVAR(1, VAR_DNSTAP_BIDIRECTIONAL) } 496 dnstap-socket-path{COLON} { YDVAR(1, VAR_DNSTAP_SOCKET_PATH) } 497 dnstap-ip{COLON} { YDVAR(1, VAR_DNSTAP_IP) } 498 dnstap-tls{COLON} { YDVAR(1, VAR_DNSTAP_TLS) } 499 dnstap-tls-server-name{COLON} { YDVAR(1, VAR_DNSTAP_TLS_SERVER_NAME) } 500 dnstap-tls-cert-bundle{COLON} { YDVAR(1, VAR_DNSTAP_TLS_CERT_BUNDLE) } 501 dnstap-tls-client-key-file{COLON} { 503 dnstap-tls-client-cert-file{COLON} { [all …]
|
H A D | config_file.h | 579 int dnstap; member
|
H A D | config_file.c | 780 else S_YNO("dnstap-enable:", dnstap) in config_set_option() 1268 else O_YNO(opt, "dnstap-enable", dnstap) in config_get_option()
|
H A D | configparser.y | 3517 else cfg_parser->cfg->dnstap = (strcmp($2, "yes")==0);
|
H A D | configparser.c | 7062 else cfg_parser->cfg->dnstap = (strcmp((yyvsp[0].str), "yes")==0); in yyparse()
|
/freebsd/contrib/unbound/ |
H A D | Makefile.in | 261 DNSTAP_SOCKET_SRC=dnstap/unbound-dnstap-socket.c 262 DNSTAP_SOCKET_OBJ=unbound-dnstap-socket.lo 446 dnstap.lo dnstap.o: $(srcdir)/dnstap/dnstap.c config.h dnstap/dnstap_config.h \ 447 dnstap/dnstap.pb-c.c dnstap/dnstap.pb-c.h $(srcdir)/dnstap/dnstap.h \ 452 dnstap/dnstap.pb-c.c dnstap/dnstap.pb-c.h: $(srcdir)/dnstap/dnstap.proto 453 @-if test ! -d dnstap; then $(INSTALL) -d dnstap; fi 454 $(PROTOC_C) --c_out=. --proto_path=$(srcdir) $(srcdir)/dnstap/dnstap.proto 456 unbound-dnstap-socket$(EXEEXT): $(DNSTAP_SOCKET_OBJ_LINK) 459 dnstap.pb-c.lo dnstap.pb-c.o: dnstap/dnstap.pb-c.c dnstap/dnstap.pb-c.h 460 dtstream.lo dtstream.o: $(srcdir)/dnstap/dtstream.c config.h $(srcdir)/dnstap/dtstream.h [all …]
|
H A D | configure.ac | 8 sinclude(dnstap/dnstap.m4) 1968 # check for dnstap if requested 1969 dt_DNSTAP([$UNBOUND_RUN_DIR/dnstap.sock], 1971 AC_DEFINE([USE_DNSTAP], [1], [Define to 1 to enable dnstap support]) 1977 ["$hdr_dnstap_socket_path"], [default dnstap socket path]) 1979 AC_SUBST(DNSTAP_SOCKET_TESTBIN,['unbound-dnstap-socket$(EXEEXT)']) 1980 …AC_SUBST([DNSTAP_SRC], ["dnstap/dnstap.c dnstap/dnstap.pb-c.c dnstap/dnstap_fstrm.c dnstap/dtstrea… 1981 AC_SUBST([DNSTAP_OBJ], ["dnstap.lo dnstap.pb-c.lo dnstap_fstrm.lo dtstream.lo"]) 2439 …c/unbound-control.8 doc/unbound-host.1 smallapp/unbound-control-setup.sh dnstap/dnstap_config.h dn…
|
H A D | config.h.in | 40 /* default dnstap socket path */ 976 /* Define to 1 to enable dnstap support */
|
H A D | configure | 1634 --enable-dnstap Enable dnstap support (requires protobuf-c) 26001 "dnstap/dnstap_config.h") CONFIG_FILES="$CONFIG_FILES dnstap/dnstap_config.h" ;;
|
/freebsd/contrib/unbound/doc/ |
H A D | example.conf.in | 1333 # Dnstap logging support, if compiled in by using --enable-dnstap to configure. 1334 # To enable, set the dnstap-enable to yes and also some of 1335 # dnstap-log-..-messages to yes. And select an upstream log destination, by 1337 # dnstap: 1338 # dnstap-enable: no 1340 # dnstap-bidirectional: yes 1341 # dnstap-socket-path: "@DNSTAP_SOCKET_PATH@" 1342 # # if "" use the unix socket in dnstap-socket-path, otherwise, 1344 # dnstap-ip: "" 1345 # # if set to yes if you want to use TLS to dnstap-ip, no for TCP. [all …]
|
H A D | CREDITS | 23 Robert Edmonds - dnstap code.
|
H A D | README | 7 The DNSTAP code has BSD license in dnstap/dnstap.c.
|
H A D | Changelog | 2 - Fix for dnsoverquic and dnstap to use the correct dnstap 6 - Fix for dnstap with dnscrypt and dnstap without dnsoverquic. 36 - Fix for dnstap compile of doqclient with doq disabled. 54 - Fix unbound dnstap socket test program analyzer warnings about 100 - Fix config file read for dnstap-sample-rate. 179 - Fix dnstap test program, cleans up to have clean memory on exit, 183 free. Added internal unit test to unbound-dnstap-socket for that. 219 - Fix link of dnstap without openssl. 220 - Fix link of unbound-dnstap-socket without openssl. 223 - Add dnstap-sample-rate that logs only 1/N messages, for high volume [all …]
|
/freebsd/contrib/unbound/daemon/ |
H A D | worker.c | 2162 if(cfg->dnstap) { in worker_init() 2299 if(worker->daemon->cfg->dnstap in worker_init() 2355 if(worker->daemon->cfg->dnstap in worker_delete()
|
H A D | daemon.c | 578 if(daemon->cfg->dnstap) { in daemon_create_workers()
|
/freebsd/contrib/unbound/contrib/ |
H A D | fastrpz.patch | 71 sinclude(dnstap/dnstap.m4) 103 fatal_exit("dnstap enabled in config but not built with dnstap support"); 3207 @@ -467,6 +467,10 @@ dnstap-log-forwarder-query-messages{COLON} { 3209 dnstap-log-forwarder-response-messages{COLON} {
|