Home
last modified time | relevance | path

Searched refs:dnstap (Results 1 – 20 of 20) sorted by relevance

/freebsd/contrib/unbound/dnstap/
H A Ddnstap.m41 # 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 Ddnstap.proto1 // 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 Ddnstap.c160 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 Ddtstream.c339 if(!cfg->dnstap) { in dt_io_thread_apply_cfg()
/freebsd/contrib/unbound/util/
H A Dconfiglexer.lex493 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 Dconfig_file.h579 int dnstap; member
H A Dconfig_file.c780 else S_YNO("dnstap-enable:", dnstap) in config_set_option()
1268 else O_YNO(opt, "dnstap-enable", dnstap) in config_get_option()
H A Dconfigparser.y3517 else cfg_parser->cfg->dnstap = (strcmp($2, "yes")==0);
H A Dconfigparser.c7062 else cfg_parser->cfg->dnstap = (strcmp((yyvsp[0].str), "yes")==0); in yyparse()
/freebsd/contrib/unbound/
H A DMakefile.in261 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 Dconfigure.ac8 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 Dconfig.h.in40 /* default dnstap socket path */
976 /* Define to 1 to enable dnstap support */
H A Dconfigure1634 --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 Dexample.conf.in1333 # 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 DCREDITS23 Robert Edmonds - dnstap code.
H A DREADME7 The DNSTAP code has BSD license in dnstap/dnstap.c.
H A DChangelog2 - 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 Dworker.c2162 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 Ddaemon.c578 if(daemon->cfg->dnstap) { in daemon_create_workers()
/freebsd/contrib/unbound/contrib/
H A Dfastrpz.patch71 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} {