|
Electroneum
|
#include <config_file.h>

The configuration options. Strings are malloced.
Definition at line 68 of file config_file.h.
| struct config_str3list* config_file::acl_tag_actions |
list of aclname, tagname, localzonetype
Definition at line 366 of file config_file.h.
| struct config_str3list* config_file::acl_tag_datas |
list of aclname, tagname, redirectdata
Definition at line 368 of file config_file.h.
| struct config_strbytelist* config_file::acl_tags |
list of aclname, tagbitlist
Definition at line 364 of file config_file.h.
| struct config_str2list* config_file::acl_view |
list of aclname, view
Definition at line 370 of file config_file.h.
| struct config_str2list* config_file::acls |
list of access control entries, linked list
Definition at line 213 of file config_file.h.
| unsigned int config_file::add_holddown |
autotrust add holddown time, in seconds
Definition at line 332 of file config_file.h.
| int config_file::aggressive_nsec |
use cached NSEC records to synthesise (negative) answers
Definition at line 324 of file config_file.h.
| struct config_auth* config_file::auths |
the auth zone definitions, linked list
Definition at line 193 of file config_file.h.
| struct config_strlist* config_file::auto_trust_anchor_file_list |
files with 5011 autotrust tracked keys
Definition at line 293 of file config_file.h.
| int config_file::bogus_ttl |
this value sets the number of seconds before revalidating bogus
Definition at line 314 of file config_file.h.
| struct config_strlist* config_file::caps_whitelist |
0x20 whitelist, domains that do not use capsforid
Definition at line 234 of file config_file.h.
| char* config_file::chrootdir |
chrootdir, if not "" or chroot will be done
Definition at line 253 of file config_file.h.
| char* config_file::control_cert_file |
certificate file for unbound-control
Definition at line 397 of file config_file.h.
| struct config_strlist_head config_file::control_ifs |
the interfaces the remote control should listen on
Definition at line 385 of file config_file.h.
| char* config_file::control_key_file |
private key file for unbound-control
Definition at line 395 of file config_file.h.
| int config_file::control_port |
port number for the control port
Definition at line 389 of file config_file.h.
| int config_file::control_use_cert |
if the use-cert option is set
Definition at line 387 of file config_file.h.
| unsigned int config_file::del_holddown |
autotrust del holddown time, in seconds
Definition at line 334 of file config_file.h.
| int config_file::delay_close |
delay close of udp-timeouted ports, if 0 no delayclose. in msec
Definition at line 152 of file config_file.h.
| char* config_file::directory |
working directory
Definition at line 257 of file config_file.h.
| int config_file::disable_dnssec_lame_check |
true to disable DNSSEC lameness check in iterator
Definition at line 450 of file config_file.h.
| char* config_file::dlv_anchor_file |
DLV anchor file
Definition at line 297 of file config_file.h.
| struct config_strlist* config_file::dlv_anchor_list |
DLV anchor inline
Definition at line 299 of file config_file.h.
| char* config_file::dns64_prefix |
Definition at line 418 of file config_file.h.
| int config_file::dns64_synthall |
Definition at line 421 of file config_file.h.
| int config_file::dnscrypt |
DNSCrypt true to enable dnscrypt
Definition at line 485 of file config_file.h.
| size_t config_file::dnscrypt_nonce_cache_size |
memory size in bytes for dnscrypt nonces cache
Definition at line 503 of file config_file.h.
| size_t config_file::dnscrypt_nonce_cache_slabs |
number of slabs for dnscrypt nonces cache
Definition at line 505 of file config_file.h.
| int config_file::dnscrypt_port |
port on which to provide dnscrypt service
Definition at line 487 of file config_file.h.
| char* config_file::dnscrypt_provider |
provider name 2.dnscrypt-cert.example.com
Definition at line 489 of file config_file.h.
| struct config_strlist* config_file::dnscrypt_provider_cert |
dnscrypt provider certs 1.cert
Definition at line 493 of file config_file.h.
| struct config_strlist* config_file::dnscrypt_provider_cert_rotated |
dnscrypt provider certs 1.cert which have been rotated and should not be advertised through DNS's providername TXT record but are required to be able to handle existing traffic using the old cert.
Definition at line 497 of file config_file.h.
| struct config_strlist* config_file::dnscrypt_secret_key |
dnscrypt secret keys 1.key
Definition at line 491 of file config_file.h.
| size_t config_file::dnscrypt_shared_secret_cache_size |
memory size in bytes for dnscrypt shared secrets cache
Definition at line 499 of file config_file.h.
| size_t config_file::dnscrypt_shared_secret_cache_slabs |
number of slabs for dnscrypt shared secrets cache
Definition at line 501 of file config_file.h.
| int config_file::dnstap |
true to enable dnstap support
Definition at line 424 of file config_file.h.
| char* config_file::dnstap_identity |
dnstap "identity", hostname is used if "".
Definition at line 432 of file config_file.h.
| int config_file::dnstap_log_client_query_messages |
true to log dnstap CLIENT_QUERY message events
Definition at line 441 of file config_file.h.
| int config_file::dnstap_log_client_response_messages |
true to log dnstap CLIENT_RESPONSE message events
Definition at line 443 of file config_file.h.
| int config_file::dnstap_log_forwarder_query_messages |
true to log dnstap FORWARDER_QUERY message events
Definition at line 445 of file config_file.h.
| int config_file::dnstap_log_forwarder_response_messages |
true to log dnstap FORWARDER_RESPONSE message events
Definition at line 447 of file config_file.h.
| int config_file::dnstap_log_resolver_query_messages |
true to log dnstap RESOLVER_QUERY message events
Definition at line 437 of file config_file.h.
| int config_file::dnstap_log_resolver_response_messages |
true to log dnstap RESOLVER_RESPONSE message events
Definition at line 439 of file config_file.h.
| int config_file::dnstap_send_identity |
true to send "identity" via dnstap
Definition at line 428 of file config_file.h.
| int config_file::dnstap_send_version |
true to send "version" via dnstap
Definition at line 430 of file config_file.h.
| char* config_file::dnstap_socket_path |
dnstap socket path
Definition at line 426 of file config_file.h.
| char* config_file::dnstap_version |
dnstap "version", package version is used if "".
Definition at line 434 of file config_file.h.
| int config_file::do_daemonize |
daemonize, i.e. fork into the background.
Definition at line 406 of file config_file.h.
| int config_file::do_ip4 |
do ip4 query support.
Definition at line 85 of file config_file.h.
| int config_file::do_ip6 |
do ip6 query support.
Definition at line 87 of file config_file.h.
| int config_file::do_tcp |
do tcp query support.
Definition at line 93 of file config_file.h.
| int config_file::do_udp |
do udp query support.
Definition at line 91 of file config_file.h.
| struct config_strlist* config_file::domain_insecure |
insecure domain list
Definition at line 301 of file config_file.h.
| int config_file::donotquery_localhost |
use default localhost donotqueryaddr entries
Definition at line 215 of file config_file.h.
| struct config_strlist* config_file::donotqueryaddrs |
list of donotquery addresses, linked list
Definition at line 197 of file config_file.h.
| size_t config_file::edns_buffer_size |
EDNS buffer size to use
Definition at line 128 of file config_file.h.
| struct config_stub* config_file::forwards |
the forward zone definitions, linked list
Definition at line 191 of file config_file.h.
| int config_file::harden_algo_downgrade |
harden against algorithm downgrade
Definition at line 230 of file config_file.h.
| int config_file::harden_below_nxdomain |
harden against queries that fall under known nxdomain names
Definition at line 226 of file config_file.h.
| int config_file::harden_dnssec_stripped |
harden against receiving no DNSSEC data for trust anchor
Definition at line 224 of file config_file.h.
| int config_file::harden_glue |
harden against spoofed glue (out of zone data)
Definition at line 222 of file config_file.h.
| int config_file::harden_large_queries |
harden against very large query sizes
Definition at line 220 of file config_file.h.
| int config_file::harden_referral_path |
harden the referral path, query for NS,A,AAAA and validate
Definition at line 228 of file config_file.h.
| int config_file::harden_short_bufsize |
harden against very small edns buffer sizes
Definition at line 218 of file config_file.h.
| int config_file::hide_identity |
do not report identity (id.server, hostname.bind)
Definition at line 275 of file config_file.h.
| int config_file::hide_trustanchor |
do not report trustanchor (trustanchor.unbound)
Definition at line 279 of file config_file.h.
| int config_file::hide_version |
do not report version (version.server, version.bind)
Definition at line 277 of file config_file.h.
| int config_file::host_ttl |
host cache ttl in seconds
Definition at line 144 of file config_file.h.
| char* config_file::identity |
identity, hostname is returned if "".
Definition at line 281 of file config_file.h.
| int config_file::if_automatic |
automatic interface for incoming messages. Uses ipv6 remapping, and recvmsg/sendmsg ancillary data to detect interfaces, boolean
Definition at line 163 of file config_file.h.
| char** config_file::ifs |
interface description strings (IP addresses)
Definition at line 178 of file config_file.h.
| int config_file::ignore_cd |
ignore the CD flag in incoming queries and refuse them bogus data
Definition at line 326 of file config_file.h.
| size_t config_file::incoming_num_tcp |
number of incoming tcp buffers per (per thread)
Definition at line 123 of file config_file.h.
| int config_file::infra_cache_min_rtt |
min value for infra cache rtt
Definition at line 150 of file config_file.h.
| size_t config_file::infra_cache_numhosts |
max number of hosts in the infra cache
Definition at line 148 of file config_file.h.
| size_t config_file::infra_cache_slabs |
number of slabs in the infra host cache
Definition at line 146 of file config_file.h.
| int config_file::insecure_lan_zones |
insecure lan zones (don't validate AS112 zones)
Definition at line 360 of file config_file.h.
| int config_file::ip_freebind |
IP_FREEBIND socket option request on port 53 sockets
Definition at line 173 of file config_file.h.
| int config_file::ip_ratelimit |
ratelimit for ip addresses. 0 is off, otherwise qps (unless overridden)
Definition at line 453 of file config_file.h.
| int config_file::ip_ratelimit_factor |
ip_ratelimit factor, 0 blocks all, 10 allows 1/10 of traffic
Definition at line 459 of file config_file.h.
| size_t config_file::ip_ratelimit_size |
memory size in bytes for ip_ratelimit cache
Definition at line 457 of file config_file.h.
| size_t config_file::ip_ratelimit_slabs |
number of slabs for ip_ratelimit cache
Definition at line 455 of file config_file.h.
| int config_file::ip_transparent |
IP_TRANSPARENT socket option requested on port 53 sockets
Definition at line 171 of file config_file.h.
| size_t config_file::jostle_time |
number of msec to wait before items can be jostled out
Definition at line 138 of file config_file.h.
| unsigned int config_file::keep_missing |
autotrust keep_missing time, in seconds. 0 is forever.
Definition at line 336 of file config_file.h.
| size_t config_file::key_cache_size |
size of the key cache
Definition at line 341 of file config_file.h.
| size_t config_file::key_cache_slabs |
slabs in the key cache.
Definition at line 343 of file config_file.h.
| struct config_strlist* config_file::local_data |
local data RRs configured
Definition at line 354 of file config_file.h.
| struct config_str3list* config_file::local_zone_overrides |
local zone override types per netblock
Definition at line 356 of file config_file.h.
| struct config_strbytelist* config_file::local_zone_tags |
list of zonename, tagbitlist
Definition at line 362 of file config_file.h.
| struct config_str2list* config_file::local_zones |
local zones config
Definition at line 348 of file config_file.h.
| int config_file::local_zones_disable_default |
do not add any default local zone
Definition at line 352 of file config_file.h.
| struct config_strlist* config_file::local_zones_nodefault |
local zones nodefault list
Definition at line 350 of file config_file.h.
| char* config_file::log_identity |
log identity to report
Definition at line 272 of file config_file.h.
| int config_file::log_queries |
log queries with one line per query
Definition at line 268 of file config_file.h.
| int config_file::log_replies |
log replies with one line per reply
Definition at line 270 of file config_file.h.
| int config_file::log_time_ascii |
log timestamp in ascii UTC
Definition at line 266 of file config_file.h.
| char* config_file::logfile |
filename to log to.
Definition at line 259 of file config_file.h.
| int config_file::low_rtt |
what time in msec is a low rtt destination
Definition at line 159 of file config_file.h.
| int config_file::low_rtt_permil |
percent*10, how many times in 1000 to pick low rtt destinations
Definition at line 157 of file config_file.h.
| int config_file::max_negative_ttl |
the number of seconds maximal negative TTL for SOA in auth
Definition at line 246 of file config_file.h.
| int config_file::max_ttl |
the number of seconds maximal TTL used for RRsets and messages
Definition at line 242 of file config_file.h.
| size_t config_file::max_udp_size |
Definition at line 415 of file config_file.h.
| int config_file::min_ttl |
the number of seconds minimum TTL used for RRsets and messages
Definition at line 244 of file config_file.h.
| int config_file::minimal_responses |
Definition at line 409 of file config_file.h.
| char* config_file::module_conf |
the module configuration string
Definition at line 286 of file config_file.h.
| size_t config_file::msg_buffer_size |
number of bytes buffer size for DNS messages
Definition at line 130 of file config_file.h.
| size_t config_file::msg_cache_size |
size of the message cache
Definition at line 132 of file config_file.h.
| size_t config_file::msg_cache_slabs |
slabs in the message cache.
Definition at line 134 of file config_file.h.
| size_t config_file::neg_cache_size |
size of the neg cache
Definition at line 345 of file config_file.h.
| int config_file::num_ifs |
number of interfaces to open. If 0 default all interfaces.
Definition at line 176 of file config_file.h.
| int config_file::num_out_ifs |
number of outgoing interfaces to open. If 0 default all interfaces.
Definition at line 182 of file config_file.h.
| size_t config_file::num_queries_per_thread |
number of queries every thread can service
Definition at line 136 of file config_file.h.
| int config_file::num_tags |
number of items in the taglist
Definition at line 380 of file config_file.h.
| int config_file::num_threads |
number of threads to create
Definition at line 80 of file config_file.h.
| char** config_file::out_ifs |
outgoing interface description strings (IP addresses)
Definition at line 184 of file config_file.h.
| int* config_file::outgoing_avail_ports |
allowed udp port numbers, array with 0 if not allowed
Definition at line 125 of file config_file.h.
| int config_file::outgoing_num_ports |
outgoing port range number of ports (per thread)
Definition at line 119 of file config_file.h.
| size_t config_file::outgoing_num_tcp |
number of outgoing tcp buffers per (per thread)
Definition at line 121 of file config_file.h.
| int config_file::outgoing_tcp_mss |
maximum segment size of tcp socket for outgoing queries
Definition at line 101 of file config_file.h.
| int config_file::permit_small_holddown |
permit small holddown values, allowing 5011 rollover very fast
Definition at line 338 of file config_file.h.
| char* config_file::pidfile |
pidfile to write pid to.
Definition at line 261 of file config_file.h.
| int config_file::port |
port on which queries are answered.
Definition at line 83 of file config_file.h.
| int config_file::prefer_ip6 |
prefer ip6 upstream queries.
Definition at line 89 of file config_file.h.
| int config_file::prefetch |
if prefetching of messages should be performed.
Definition at line 248 of file config_file.h.
| int config_file::prefetch_key |
if prefetching of DNSKEYs should be performed.
Definition at line 250 of file config_file.h.
| struct config_strlist* config_file::private_address |
strip away these private addrs from answers, no DNS Rebinding
Definition at line 236 of file config_file.h.
| struct config_strlist* config_file::private_domain |
allow domain (and subdomains) to use private address space
Definition at line 238 of file config_file.h.
| char* config_file::python_script |
Python script file
Definition at line 400 of file config_file.h.
| int config_file::qname_minimisation |
minimise outgoing QNAME and hide original QTYPE if possible
Definition at line 474 of file config_file.h.
| int config_file::qname_minimisation_strict |
minimise QNAME in strict mode, minimise according to RFC. Do not apply fallback
Definition at line 477 of file config_file.h.
| int config_file::ratelimit |
ratelimit for domains. 0 is off, otherwise qps (unless overridden)
Definition at line 462 of file config_file.h.
| struct config_str2list* config_file::ratelimit_below_domain |
ratelimits below domain
Definition at line 470 of file config_file.h.
| int config_file::ratelimit_factor |
ratelimit factor, 0 blocks all, 10 allows 1/10 of traffic
Definition at line 472 of file config_file.h.
| struct config_str2list* config_file::ratelimit_for_domain |
ratelimits for domain (exact match)
Definition at line 468 of file config_file.h.
| size_t config_file::ratelimit_size |
memory size in bytes for ratelimit cache
Definition at line 466 of file config_file.h.
| size_t config_file::ratelimit_slabs |
number of slabs for ratelimit cache
Definition at line 464 of file config_file.h.
| int config_file::remote_control_enable |
remote control section. enable toggle.
Definition at line 383 of file config_file.h.
| struct config_str2list* config_file::respip_actions |
list of response-driven access control entries, linked list
Definition at line 374 of file config_file.h.
| struct config_str2list* config_file::respip_data |
RRs configured for response-driven access controls
Definition at line 376 of file config_file.h.
| struct config_strbytelist* config_file::respip_tags |
list of IP-netblock, tagbitlist
Definition at line 372 of file config_file.h.
| struct config_strlist* config_file::root_hints |
the root hints
Definition at line 187 of file config_file.h.
| int config_file::root_key_sentinel |
enable root key sentinel
Definition at line 305 of file config_file.h.
| size_t config_file::rrset_cache_size |
size of the rrset cache
Definition at line 140 of file config_file.h.
| size_t config_file::rrset_cache_slabs |
slabs in the rrset cache
Definition at line 142 of file config_file.h.
| int config_file::rrset_roundrobin |
Definition at line 412 of file config_file.h.
| int config_file::serve_expired |
serve expired entries and prefetch them
Definition at line 328 of file config_file.h.
| char* config_file::server_cert_file |
certificate file for server
Definition at line 393 of file config_file.h.
| char* config_file::server_key_file |
private key file for server
Definition at line 391 of file config_file.h.
| int config_file::shm_enable |
SHM data - true if shm is enabled
Definition at line 479 of file config_file.h.
| int config_file::shm_key |
SHM data - key for the shm
Definition at line 481 of file config_file.h.
| size_t config_file::so_rcvbuf |
SO_RCVBUF size to set on port 53 UDP socket
Definition at line 165 of file config_file.h.
| int config_file::so_reuseport |
SO_REUSEPORT requested on port 53 sockets
Definition at line 169 of file config_file.h.
| size_t config_file::so_sndbuf |
SO_SNDBUF size to set on port 53 UDP socket
Definition at line 167 of file config_file.h.
| int config_file::ssl_port |
port on which to provide ssl service
Definition at line 108 of file config_file.h.
| char* config_file::ssl_service_key |
private key file for dnstcp-ssl service (enabled if not NULL)
Definition at line 104 of file config_file.h.
| char* config_file::ssl_service_pem |
public key file for dnstcp-ssl service
Definition at line 106 of file config_file.h.
| int config_file::ssl_upstream |
if outgoing tcp connections use SSL
Definition at line 110 of file config_file.h.
| int config_file::stat_cumulative |
if false, statistics values are reset after printing them
Definition at line 75 of file config_file.h.
| int config_file::stat_extended |
if true, the statistics are kept in greater detail
Definition at line 77 of file config_file.h.
| int config_file::stat_interval |
statistics interval (in seconds)
Definition at line 73 of file config_file.h.
| struct config_stub* config_file::stubs |
the stub definitions, linked list
Definition at line 189 of file config_file.h.
| char** config_file::tagname |
tag list, array with tagname[i] is malloced string
Definition at line 378 of file config_file.h.
| char* config_file::target_fetch_policy |
the target fetch policy for the iterator
Definition at line 155 of file config_file.h.
| int config_file::tcp_mss |
maximum segment size of tcp socket which queries are answered
Definition at line 99 of file config_file.h.
| int config_file::tcp_upstream |
tcp upstream queries (no UDP upstream queries)
Definition at line 95 of file config_file.h.
| struct config_strlist* config_file::tls_additional_port |
additional tls ports
Definition at line 116 of file config_file.h.
| char* config_file::tls_cert_bundle |
cert bundle for outgoing connections
Definition at line 112 of file config_file.h.
| int config_file::tls_win_cert |
should the system certificate store get added to the cert bundle
Definition at line 114 of file config_file.h.
| struct config_strlist* config_file::trust_anchor_file_list |
files with trusted DS and DNSKEYs in zonefile format, list
Definition at line 289 of file config_file.h.
| struct config_strlist* config_file::trust_anchor_list |
list of trustanchor keys, linked list
Definition at line 291 of file config_file.h.
| int config_file::trust_anchor_signaling |
send key tag query
Definition at line 303 of file config_file.h.
| struct config_strlist* config_file::trusted_keys_file_list |
files with trusted DNSKEYs in named.conf format, list
Definition at line 295 of file config_file.h.
| int config_file::udp_upstream_without_downstream |
udp upstream enabled when no UDP downstream is enabled (do_udp no)
Definition at line 97 of file config_file.h.
| int config_file::unblock_lan_zones |
unblock lan zones (reverse lookups for AS112 zones)
Definition at line 358 of file config_file.h.
| size_t config_file::unwanted_threshold |
what threshold for unwanted action.
Definition at line 240 of file config_file.h.
| int config_file::use_caps_bits_for_id |
use 0x20 bits in query as random ID bits
Definition at line 232 of file config_file.h.
| int config_file::use_syslog |
should log messages be sent to syslogd
Definition at line 264 of file config_file.h.
| int config_file::use_systemd |
Use systemd socket activation.
Definition at line 403 of file config_file.h.
| char* config_file::username |
username to change to, if not "".
Definition at line 255 of file config_file.h.
| int config_file::val_clean_additional |
should validator clean additional section for secure msgs
Definition at line 316 of file config_file.h.
| int32_t config_file::val_date_override |
if not 0, this value is the validation date for RRSIGs
Definition at line 308 of file config_file.h.
| int config_file::val_log_level |
log bogus messages by the validator
Definition at line 318 of file config_file.h.
| int config_file::val_log_squelch |
squelch val_log_level to log - this is library goes to callback
Definition at line 320 of file config_file.h.
| char* config_file::val_nsec3_key_iterations |
nsec3 maximum iterations per key size, string
Definition at line 330 of file config_file.h.
| int config_file::val_permissive_mode |
should validator allow bogus messages to go through
Definition at line 322 of file config_file.h.
| int32_t config_file::val_sig_skew_max |
the maximum for signature clock skew
Definition at line 312 of file config_file.h.
| int32_t config_file::val_sig_skew_min |
the minimum for signature clock skew
Definition at line 310 of file config_file.h.
| int config_file::verbosity |
verbosity level as specified in the config file
Definition at line 70 of file config_file.h.
| char* config_file::version |
version, package version returned if "".
Definition at line 283 of file config_file.h.
| struct config_view* config_file::views |
the views definitions, linked list
Definition at line 195 of file config_file.h.