# Configuration Variables for core

## core.debug

debug level.

Default value: 0.

Type: integer.

## core.log_facility

syslog facility, see "man 3 syslog".

Default value: 24.

Type: string.

## core.memdbg

log level for memory debugging messages.

Default value: 4.

Type: integer.

## core.use_dst_blocklist

enable/disable destination blocklisting.

Default value: 0.

Range: 0 - 1.

Type: integer.

## core.dst_blocklist_expire

how much time (in s) a blocklisted destination is kept in the list.

Default value: 60.

Type: integer.

## core.dst_blocklist_mem

maximum shared memory amount (in KB) used for keeping the blocklisted destinations.

Default value: 250.

Type: integer.

## core.dst_blocklist_udp_imask

blocklist event ignore mask for UDP.

Default value: 0.

Type: integer.

## core.dst_blocklist_tcp_imask

blocklist event ignore mask for TCP.

Default value: 0.

Type: integer.

## core.dst_blocklist_tls_imask

blocklist event ignore mask for TLS.

Default value: 0.

Type: integer.

## core.dst_blocklist_sctp_imask

blocklist event ignore mask for SCTP.

Default value: 0.

Type: integer.

## core.dns_try_ipv6

enable/disable IPv6 DNS lookups.

Default value: 1.

Range: 0 - 1.

Type: integer.

## core.dns_try_naptr

enable/disable NAPTR DNS lookups.

Default value: 0.

Range: 0 - 1.

Type: integer.

## core.dns_udp_pref

udp protocol preference when doing NAPTR lookups.

Default value: 30.

Type: integer.

## core.dns_tcp_pref

tcp protocol preference when doing NAPTR lookups.

Default value: 20.

Type: integer.

## core.dns_tls_pref

tls protocol preference when doing NAPTR lookups.

Default value: 10.

Type: integer.

## core.dns_sctp_pref

sctp protocol preference when doing NAPTR lookups.

Default value: 20.

Type: integer.

## core.dns_retr_time

time in s before retrying a dns request.

Default value: -1.

Type: integer.

## core.dns_retr_no

number of dns retransmissions before giving up.

Default value: -1.

Type: integer.

## core.dns_servers_no

how many dns servers from the ones defined in /etc/resolv.conf will be used.

Default value: -1.

Type: integer.

## core.dns_use_search_list

if set to 0, the search list in /etc/resolv.conf is ignored.

Default value: 1.

Range: 0 - 1.

Type: integer.

## core.dns_search_full_match

enable/disable domain name checks against the search list in DNS answers.

Default value: 1.

Range: 0 - 1.

Type: integer.

## core.dns_reinit

set to 1 in order to reinitialize the DNS resolver.

Default value: 0.

Range: 1 - 1.

Type: integer.

## core.dns_naptr_ignore_rfc

ignore the Order field required by RFC 2915.

Default value: 1.

Type: integer.

## core.use_dns_cache

enable/disable the dns cache.

Default value: 1.

Range: 0 - 1.

Type: integer.

## core.dns_cache_flags

dns cache specific resolver flags (1=ipv4 only, 2=ipv6 only, 4=prefer ipv6.

Default value: 0.

Range: 0 - 4.

Type: integer.

## core.use_dns_failover

enable/disable dns failover in case the destination resolves to multiple ip addresses and/or multiple SRV records (depends on use_dns_cache).

Default value: 0.

Range: 0 - 1.

Type: integer.

## core.dns_srv_lb

enable/disable load balancing to different srv records of the same priority based on the srv records weights (depends on dns_failover).

Default value: 0.

Range: 0 - 1.

Type: integer.

## core.dns_cache_negative_ttl

time to live for negative results ("not found") in seconds. Use 0 to disable.

Default value: 60.

Type: integer.

## core.dns_cache_min_ttl

minimum accepted time to live for a record, in seconds.

Default value: 0.

Type: integer.

## core.dns_cache_max_ttl

maximum accepted time to live for a record, in seconds.

Default value: -1.

Type: integer.

## core.dns_cache_mem

maximum memory used for the dns cache in Kb.

Default value: 500.

Type: integer.

## core.dns_cache_del_nonexp

allow deletion of non-expired records from the cache when there is no more space left for new ones.

Default value: 0.

Range: 0 - 1.

Type: integer.

## core.dns_cache_rec_pref

DNS cache record preference: 0 - do not check duplicates 1 - prefer old records 2 - prefer new records 3 - prefer records with longer lifetime.

Default value: 0.

Range: 0 - 3.

Type: integer.

## core.mem_dump_pkg

dump process memory status, parameter: pid_number.

Default value: 0.

Type: integer.

## core.mem_dump_shm

dump shared memory status.

Default value: 0.

Type: integer.

## core.max_while_loops

maximum iterations allowed for a while loop.

Default value: 100.

Type: integer.

## core.udp_mtu

fallback to a congestion controlled protocol if send size exceeds udp_mtu.

Default value: 0.

Range: 0 - 65535.

Type: integer.

## core.udp_mtu_try_proto

if send size > udp_mtu use proto (1 udp, 2 tcp, 3 tls, 4 sctp).

Default value: 0.

Range: 1 - 4.

Type: integer.

## core.udp4_raw

enable/disable using a raw socket for sending UDP IPV4 packets. Should be faster on multi-CPU linux running machines..

Default value: 0.

Range: -1 - 1.

Type: integer.

## core.udp4_raw_mtu

set the MTU used when using raw sockets for udp sending. This value will be used when deciding whether or not to fragment the packets..

Default value: 1500.

Range: 28 - 65535.

Type: integer.

## core.udp4_raw_ttl

set the IP TTL used when using raw sockets for udp sending. -1 will use the same value as for normal udp sockets..

Default value: -1.

Range: -1 - 255.

Type: integer.

## core.force_rport

force rport for all the received messages.

Default value: 0.

Range: 0 - 1.

Type: integer.

## core.memlog

log level for memory status/summary information.

Default value: 4.

Type: integer.

## core.mem_summary

memory debugging information displayed on exit (flags): 0 - off, 1 - dump all the pkg used blocks (status), 2 - dump all the shm used blocks (status), 4 - summary of pkg used blocks, 8 - summary of shm used blocks, 16 - short status instead of dump.

Default value: 3.

Range: 0 - 31.

Type: integer.

## core.mem_safety

safety level for memory operations.

Default value: 0.

Type: integer.

## core.mem_join

join free memory fragments.

Default value: 0.

Type: integer.

## core.mem_status_mode

print status for free or all memory fragments.

Default value: 0.

Type: integer.

## core.corelog

log level for non-critical core error messages.

Default value: -1.

Type: integer.

## core.latency_cfg_log

log level for printing latency of routing blocks.

Default value: 3.

Type: integer.

## core.latency_log

log level for latency limits alert messages.

Default value: -1.

Type: integer.

## core.latency_limit_db

limit is ms for alerting on time consuming db commands.

Default value: 0.

Type: integer.

## core.latency_limit_action

limit is ms for alerting on time consuming config actions.

Default value: 0.

Type: integer.