1/* config.h.in. Generated from configure.ac by autoheader. */ 2 3/* apply the noreturn attribute to a function that exits the program */ 4#undef ATTR_NORETURN 5 6/* apply the weak attribute to a symbol */ 7#undef ATTR_WEAK 8 9/* Directory to chroot to */ 10#undef CHROOT_DIR 11 12/* Define this to enable client subnet option. */ 13#undef CLIENT_SUBNET 14 15/* Do sha512 definitions in config.h */ 16#undef COMPAT_SHA512 17 18/* Command line arguments used with configure */ 19#undef CONFCMDLINE 20 21/* Pathname to the Unbound configuration file */ 22#undef CONFIGFILE 23 24/* Define this if on macOSX10.4-darwin8 and setreuid and setregid do not work 25 */ 26#undef DARWIN_BROKEN_SETREUID 27 28/* Whether daemon is deprecated */ 29#undef DEPRECATED_DAEMON 30 31/* default dnstap socket path */ 32#undef DNSTAP_SOCKET_PATH 33 34/* Define if you want to use debug lock checking (slow). */ 35#undef ENABLE_LOCK_CHECKS 36 37/* Define this if you enabled-allsymbols from libunbound to link binaries to 38 it for smaller install size, but the libunbound export table is polluted by 39 internal symbols */ 40#undef EXPORT_ALL_SYMBOLS 41 42/* Define to 1 if you have the `accept4' function. */ 43#undef HAVE_ACCEPT4 44 45/* Define to 1 if you have the `arc4random' function. */ 46#undef HAVE_ARC4RANDOM 47 48/* Define to 1 if you have the `arc4random_uniform' function. */ 49#undef HAVE_ARC4RANDOM_UNIFORM 50 51/* Define to 1 if you have the <arpa/inet.h> header file. */ 52#undef HAVE_ARPA_INET_H 53 54/* Whether the C compiler accepts the "format" attribute */ 55#undef HAVE_ATTR_FORMAT 56 57/* Whether the C compiler accepts the "noreturn" attribute */ 58#undef HAVE_ATTR_NORETURN 59 60/* Whether the C compiler accepts the "unused" attribute */ 61#undef HAVE_ATTR_UNUSED 62 63/* Whether the C compiler accepts the "weak" attribute */ 64#undef HAVE_ATTR_WEAK 65 66/* If we have be64toh */ 67#undef HAVE_BE64TOH 68 69/* Define to 1 if you have the <bsd/stdlib.h> header file. */ 70#undef HAVE_BSD_STDLIB_H 71 72/* Define to 1 if you have the <bsd/string.h> header file. */ 73#undef HAVE_BSD_STRING_H 74 75/* Define to 1 if you have the `chown' function. */ 76#undef HAVE_CHOWN 77 78/* Define to 1 if you have the `chroot' function. */ 79#undef HAVE_CHROOT 80 81/* Define to 1 if you have the `CRYPTO_cleanup_all_ex_data' function. */ 82#undef HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 83 84/* Define to 1 if you have the `CRYPTO_THREADID_set_callback' function. */ 85#undef HAVE_CRYPTO_THREADID_SET_CALLBACK 86 87/* Define to 1 if you have the `ctime_r' function. */ 88#undef HAVE_CTIME_R 89 90/* Define to 1 if you have the `daemon' function. */ 91#undef HAVE_DAEMON 92 93/* Define to 1 if you have the declaration of `arc4random', and to 0 if you 94 don't. */ 95#undef HAVE_DECL_ARC4RANDOM 96 97/* Define to 1 if you have the declaration of `arc4random_uniform', and to 0 98 if you don't. */ 99#undef HAVE_DECL_ARC4RANDOM_UNIFORM 100 101/* Define to 1 if you have the declaration of `evsignal_assign', and to 0 if 102 you don't. */ 103#undef HAVE_DECL_EVSIGNAL_ASSIGN 104 105/* Define to 1 if you have the declaration of `inet_ntop', and to 0 if you 106 don't. */ 107#undef HAVE_DECL_INET_NTOP 108 109/* Define to 1 if you have the declaration of `inet_pton', and to 0 if you 110 don't. */ 111#undef HAVE_DECL_INET_PTON 112 113/* Define to 1 if you have the declaration of `NID_ED25519', and to 0 if you 114 don't. */ 115#undef HAVE_DECL_NID_ED25519 116 117/* Define to 1 if you have the declaration of `NID_ED448', and to 0 if you 118 don't. */ 119#undef HAVE_DECL_NID_ED448 120 121/* Define to 1 if you have the declaration of `NID_secp384r1', and to 0 if you 122 don't. */ 123#undef HAVE_DECL_NID_SECP384R1 124 125/* Define to 1 if you have the declaration of `NID_X9_62_prime256v1', and to 0 126 if you don't. */ 127#undef HAVE_DECL_NID_X9_62_PRIME256V1 128 129/* Define to 1 if you have the declaration of `reallocarray', and to 0 if you 130 don't. */ 131#undef HAVE_DECL_REALLOCARRAY 132 133/* Define to 1 if you have the declaration of `redisConnect', and to 0 if you 134 don't. */ 135#undef HAVE_DECL_REDISCONNECT 136 137/* Define to 1 if you have the declaration of `sk_SSL_COMP_pop_free', and to 0 138 if you don't. */ 139#undef HAVE_DECL_SK_SSL_COMP_POP_FREE 140 141/* Define to 1 if you have the declaration of 142 `SSL_COMP_get_compression_methods', and to 0 if you don't. */ 143#undef HAVE_DECL_SSL_COMP_GET_COMPRESSION_METHODS 144 145/* Define to 1 if you have the declaration of `SSL_CTX_set_ecdh_auto', and to 146 0 if you don't. */ 147#undef HAVE_DECL_SSL_CTX_SET_ECDH_AUTO 148 149/* Define to 1 if you have the declaration of `strlcat', and to 0 if you 150 don't. */ 151#undef HAVE_DECL_STRLCAT 152 153/* Define to 1 if you have the declaration of `strlcpy', and to 0 if you 154 don't. */ 155#undef HAVE_DECL_STRLCPY 156 157/* Define to 1 if you have the declaration of `XML_StopParser', and to 0 if 158 you don't. */ 159#undef HAVE_DECL_XML_STOPPARSER 160 161/* Define to 1 if you have the <dlfcn.h> header file. */ 162#undef HAVE_DLFCN_H 163 164/* Define to 1 if you have the `DSA_SIG_set0' function. */ 165#undef HAVE_DSA_SIG_SET0 166 167/* Define to 1 if you have the <endian.h> header file. */ 168#undef HAVE_ENDIAN_H 169 170/* Define to 1 if you have the `endprotoent' function. */ 171#undef HAVE_ENDPROTOENT 172 173/* Define to 1 if you have the `endpwent' function. */ 174#undef HAVE_ENDPWENT 175 176/* Define to 1 if you have the `endservent' function. */ 177#undef HAVE_ENDSERVENT 178 179/* Define to 1 if you have the `ERR_free_strings' function. */ 180#undef HAVE_ERR_FREE_STRINGS 181 182/* Define to 1 if you have the `ERR_load_crypto_strings' function. */ 183#undef HAVE_ERR_LOAD_CRYPTO_STRINGS 184 185/* Define to 1 if you have the `event_assign' function. */ 186#undef HAVE_EVENT_ASSIGN 187 188/* Define to 1 if you have the `event_base_free' function. */ 189#undef HAVE_EVENT_BASE_FREE 190 191/* Define to 1 if you have the `event_base_get_method' function. */ 192#undef HAVE_EVENT_BASE_GET_METHOD 193 194/* Define to 1 if you have the `event_base_new' function. */ 195#undef HAVE_EVENT_BASE_NEW 196 197/* Define to 1 if you have the `event_base_once' function. */ 198#undef HAVE_EVENT_BASE_ONCE 199 200/* Define to 1 if you have the <event.h> header file. */ 201#undef HAVE_EVENT_H 202 203/* Define to 1 if you have the `EVP_aes_256_cbc' function. */ 204#undef HAVE_EVP_AES_256_CBC 205 206/* Define to 1 if you have the `EVP_cleanup' function. */ 207#undef HAVE_EVP_CLEANUP 208 209/* Define to 1 if you have the `EVP_DigestVerify' function. */ 210#undef HAVE_EVP_DIGESTVERIFY 211 212/* Define to 1 if you have the `EVP_dss1' function. */ 213#undef HAVE_EVP_DSS1 214 215/* Define to 1 if you have the `EVP_EncryptInit_ex' function. */ 216#undef HAVE_EVP_ENCRYPTINIT_EX 217 218/* Define to 1 if you have the `EVP_MD_CTX_new' function. */ 219#undef HAVE_EVP_MD_CTX_NEW 220 221/* Define to 1 if you have the `EVP_sha1' function. */ 222#undef HAVE_EVP_SHA1 223 224/* Define to 1 if you have the `EVP_sha256' function. */ 225#undef HAVE_EVP_SHA256 226 227/* Define to 1 if you have the `EVP_sha512' function. */ 228#undef HAVE_EVP_SHA512 229 230/* Define to 1 if you have the `ev_default_loop' function. */ 231#undef HAVE_EV_DEFAULT_LOOP 232 233/* Define to 1 if you have the `ev_loop' function. */ 234#undef HAVE_EV_LOOP 235 236/* Define to 1 if you have the <expat.h> header file. */ 237#undef HAVE_EXPAT_H 238 239/* Define to 1 if you have the `explicit_bzero' function. */ 240#undef HAVE_EXPLICIT_BZERO 241 242/* Define to 1 if you have the `fcntl' function. */ 243#undef HAVE_FCNTL 244 245/* Define to 1 if you have the `FIPS_mode' function. */ 246#undef HAVE_FIPS_MODE 247 248/* Define to 1 if you have the `fork' function. */ 249#undef HAVE_FORK 250 251/* Define to 1 if fseeko (and presumably ftello) exists and is declared. */ 252#undef HAVE_FSEEKO 253 254/* Define to 1 if you have the `fsync' function. */ 255#undef HAVE_FSYNC 256 257/* Whether getaddrinfo is available */ 258#undef HAVE_GETADDRINFO 259 260/* Define to 1 if you have the `getauxval' function. */ 261#undef HAVE_GETAUXVAL 262 263/* Define to 1 if you have the `getentropy' function. */ 264#undef HAVE_GETENTROPY 265 266/* Define to 1 if you have the <getopt.h> header file. */ 267#undef HAVE_GETOPT_H 268 269/* Define to 1 if you have the `getpwnam' function. */ 270#undef HAVE_GETPWNAM 271 272/* Define to 1 if you have the `getrlimit' function. */ 273#undef HAVE_GETRLIMIT 274 275/* Define to 1 if you have the `glob' function. */ 276#undef HAVE_GLOB 277 278/* Define to 1 if you have the <glob.h> header file. */ 279#undef HAVE_GLOB_H 280 281/* Define to 1 if you have the `gmtime_r' function. */ 282#undef HAVE_GMTIME_R 283 284/* Define to 1 if you have the <grp.h> header file. */ 285#undef HAVE_GRP_H 286 287/* Define to 1 if you have the <hiredis/hiredis.h> header file. */ 288#undef HAVE_HIREDIS_HIREDIS_H 289 290/* Define to 1 if you have the `HMAC_Init_ex' function. */ 291#undef HAVE_HMAC_INIT_EX 292 293/* If you have HMAC_Update */ 294#undef HAVE_HMAC_UPDATE 295 296/* If we have htobe64 */ 297#undef HAVE_HTOBE64 298 299/* Define to 1 if you have the `inet_aton' function. */ 300#undef HAVE_INET_ATON 301 302/* Define to 1 if you have the `inet_ntop' function. */ 303#undef HAVE_INET_NTOP 304 305/* Define to 1 if you have the `inet_pton' function. */ 306#undef HAVE_INET_PTON 307 308/* Define to 1 if you have the `initgroups' function. */ 309#undef HAVE_INITGROUPS 310 311/* Define to 1 if you have the <inttypes.h> header file. */ 312#undef HAVE_INTTYPES_H 313 314/* if the function 'ioctlsocket' is available */ 315#undef HAVE_IOCTLSOCKET 316 317/* Define to 1 if you have the <iphlpapi.h> header file. */ 318#undef HAVE_IPHLPAPI_H 319 320/* Define to 1 if you have the `isblank' function. */ 321#undef HAVE_ISBLANK 322 323/* Define to 1 if you have the `kill' function. */ 324#undef HAVE_KILL 325 326/* Use portable libbsd functions */ 327#undef HAVE_LIBBSD 328 329/* Define to 1 if you have the <libkern/OSByteOrder.h> header file. */ 330#undef HAVE_LIBKERN_OSBYTEORDER_H 331 332/* Define if we have LibreSSL */ 333#undef HAVE_LIBRESSL 334 335/* Define to 1 if you have the `localtime_r' function. */ 336#undef HAVE_LOCALTIME_R 337 338/* Define to 1 if you have the <login_cap.h> header file. */ 339#undef HAVE_LOGIN_CAP_H 340 341/* If have GNU libc compatible malloc */ 342#undef HAVE_MALLOC 343 344/* Define to 1 if you have the `memmove' function. */ 345#undef HAVE_MEMMOVE 346 347/* Define to 1 if you have the <memory.h> header file. */ 348#undef HAVE_MEMORY_H 349 350/* Define to 1 if you have the <netdb.h> header file. */ 351#undef HAVE_NETDB_H 352 353/* Define to 1 if you have the <netinet/in.h> header file. */ 354#undef HAVE_NETINET_IN_H 355 356/* Define to 1 if you have the <netinet/tcp.h> header file. */ 357#undef HAVE_NETINET_TCP_H 358 359/* Use libnettle for crypto */ 360#undef HAVE_NETTLE 361 362/* Define to 1 if you have the <nettle/dsa-compat.h> header file. */ 363#undef HAVE_NETTLE_DSA_COMPAT_H 364 365/* Define to 1 if you have the <nettle/eddsa.h> header file. */ 366#undef HAVE_NETTLE_EDDSA_H 367 368/* Use libnss for crypto */ 369#undef HAVE_NSS 370 371/* Define to 1 if you have the `OpenSSL_add_all_digests' function. */ 372#undef HAVE_OPENSSL_ADD_ALL_DIGESTS 373 374/* Define to 1 if you have the <openssl/bn.h> header file. */ 375#undef HAVE_OPENSSL_BN_H 376 377/* Define to 1 if you have the `OPENSSL_config' function. */ 378#undef HAVE_OPENSSL_CONFIG 379 380/* Define to 1 if you have the <openssl/conf.h> header file. */ 381#undef HAVE_OPENSSL_CONF_H 382 383/* Define to 1 if you have the <openssl/dh.h> header file. */ 384#undef HAVE_OPENSSL_DH_H 385 386/* Define to 1 if you have the <openssl/dsa.h> header file. */ 387#undef HAVE_OPENSSL_DSA_H 388 389/* Define to 1 if you have the <openssl/engine.h> header file. */ 390#undef HAVE_OPENSSL_ENGINE_H 391 392/* Define to 1 if you have the <openssl/err.h> header file. */ 393#undef HAVE_OPENSSL_ERR_H 394 395/* Define to 1 if you have the `OPENSSL_init_crypto' function. */ 396#undef HAVE_OPENSSL_INIT_CRYPTO 397 398/* Define to 1 if you have the `OPENSSL_init_ssl' function. */ 399#undef HAVE_OPENSSL_INIT_SSL 400 401/* Define to 1 if you have the <openssl/rand.h> header file. */ 402#undef HAVE_OPENSSL_RAND_H 403 404/* Define to 1 if you have the <openssl/rsa.h> header file. */ 405#undef HAVE_OPENSSL_RSA_H 406 407/* Define to 1 if you have the <openssl/ssl.h> header file. */ 408#undef HAVE_OPENSSL_SSL_H 409 410/* Define if you have POSIX threads libraries and header files. */ 411#undef HAVE_PTHREAD 412 413/* Have PTHREAD_PRIO_INHERIT. */ 414#undef HAVE_PTHREAD_PRIO_INHERIT 415 416/* Define to 1 if the system has the type `pthread_rwlock_t'. */ 417#undef HAVE_PTHREAD_RWLOCK_T 418 419/* Define to 1 if the system has the type `pthread_spinlock_t'. */ 420#undef HAVE_PTHREAD_SPINLOCK_T 421 422/* Define to 1 if you have the <pwd.h> header file. */ 423#undef HAVE_PWD_H 424 425/* Define if you have Python libraries and header files. */ 426#undef HAVE_PYTHON 427 428/* Define to 1 if you have the `random' function. */ 429#undef HAVE_RANDOM 430 431/* Define to 1 if you have the `RAND_cleanup' function. */ 432#undef HAVE_RAND_CLEANUP 433 434/* If we have reallocarray(3) */ 435#undef HAVE_REALLOCARRAY 436 437/* Define to 1 if you have the `recvmsg' function. */ 438#undef HAVE_RECVMSG 439 440/* Define to 1 if you have the `sendmsg' function. */ 441#undef HAVE_SENDMSG 442 443/* Define to 1 if you have the `setregid' function. */ 444#undef HAVE_SETREGID 445 446/* Define to 1 if you have the `setresgid' function. */ 447#undef HAVE_SETRESGID 448 449/* Define to 1 if you have the `setresuid' function. */ 450#undef HAVE_SETRESUID 451 452/* Define to 1 if you have the `setreuid' function. */ 453#undef HAVE_SETREUID 454 455/* Define to 1 if you have the `setrlimit' function. */ 456#undef HAVE_SETRLIMIT 457 458/* Define to 1 if you have the `setsid' function. */ 459#undef HAVE_SETSID 460 461/* Define to 1 if you have the `setusercontext' function. */ 462#undef HAVE_SETUSERCONTEXT 463 464/* Define to 1 if you have the `SHA512_Update' function. */ 465#undef HAVE_SHA512_UPDATE 466 467/* Define to 1 if you have the `shmget' function. */ 468#undef HAVE_SHMGET 469 470/* Define to 1 if you have the `sigprocmask' function. */ 471#undef HAVE_SIGPROCMASK 472 473/* Define to 1 if you have the `sleep' function. */ 474#undef HAVE_SLEEP 475 476/* Define to 1 if you have the `snprintf' function. */ 477#undef HAVE_SNPRINTF 478 479/* Define to 1 if you have the `socketpair' function. */ 480#undef HAVE_SOCKETPAIR 481 482/* Using Solaris threads */ 483#undef HAVE_SOLARIS_THREADS 484 485/* Define to 1 if you have the `srandom' function. */ 486#undef HAVE_SRANDOM 487 488/* Define if you have the SSL libraries installed. */ 489#undef HAVE_SSL 490 491/* Define to 1 if you have the `SSL_CTX_set_ciphersuites' function. */ 492#undef HAVE_SSL_CTX_SET_CIPHERSUITES 493 494/* Define to 1 if you have the `SSL_CTX_set_security_level' function. */ 495#undef HAVE_SSL_CTX_SET_SECURITY_LEVEL 496 497/* Define to 1 if you have the `SSL_CTX_set_tlsext_ticket_key_cb' function. */ 498#undef HAVE_SSL_CTX_SET_TLSEXT_TICKET_KEY_CB 499 500/* Define to 1 if you have the `SSL_get0_peername' function. */ 501#undef HAVE_SSL_GET0_PEERNAME 502 503/* Define to 1 if you have the `SSL_set1_host' function. */ 504#undef HAVE_SSL_SET1_HOST 505 506/* Define to 1 if you have the <stdarg.h> header file. */ 507#undef HAVE_STDARG_H 508 509/* Define to 1 if you have the <stdbool.h> header file. */ 510#undef HAVE_STDBOOL_H 511 512/* Define to 1 if you have the <stdint.h> header file. */ 513#undef HAVE_STDINT_H 514 515/* Define to 1 if you have the <stdlib.h> header file. */ 516#undef HAVE_STDLIB_H 517 518/* Define to 1 if you have the `strftime' function. */ 519#undef HAVE_STRFTIME 520 521/* Define to 1 if you have the <strings.h> header file. */ 522#undef HAVE_STRINGS_H 523 524/* Define to 1 if you have the <string.h> header file. */ 525#undef HAVE_STRING_H 526 527/* Define to 1 if you have the `strlcat' function. */ 528#undef HAVE_STRLCAT 529 530/* Define to 1 if you have the `strlcpy' function. */ 531#undef HAVE_STRLCPY 532 533/* Define to 1 if you have the `strptime' function. */ 534#undef HAVE_STRPTIME 535 536/* Define to 1 if you have the `strsep' function. */ 537#undef HAVE_STRSEP 538 539/* Define to 1 if `ipi_spec_dst' is a member of `struct in_pktinfo'. */ 540#undef HAVE_STRUCT_IN_PKTINFO_IPI_SPEC_DST 541 542/* Define to 1 if `sun_len' is a member of `struct sockaddr_un'. */ 543#undef HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 544 545/* Define if you have Swig libraries and header files. */ 546#undef HAVE_SWIG 547 548/* Define to 1 if you have the <syslog.h> header file. */ 549#undef HAVE_SYSLOG_H 550 551/* Define to 1 if systemd should be used */ 552#undef HAVE_SYSTEMD 553 554/* Define to 1 if you have the <sys/endian.h> header file. */ 555#undef HAVE_SYS_ENDIAN_H 556 557/* Define to 1 if you have the <sys/ipc.h> header file. */ 558#undef HAVE_SYS_IPC_H 559 560/* Define to 1 if you have the <sys/param.h> header file. */ 561#undef HAVE_SYS_PARAM_H 562 563/* Define to 1 if you have the <sys/resource.h> header file. */ 564#undef HAVE_SYS_RESOURCE_H 565 566/* Define to 1 if you have the <sys/sha2.h> header file. */ 567#undef HAVE_SYS_SHA2_H 568 569/* Define to 1 if you have the <sys/shm.h> header file. */ 570#undef HAVE_SYS_SHM_H 571 572/* Define to 1 if you have the <sys/socket.h> header file. */ 573#undef HAVE_SYS_SOCKET_H 574 575/* Define to 1 if you have the <sys/stat.h> header file. */ 576#undef HAVE_SYS_STAT_H 577 578/* Define to 1 if you have the <sys/sysctl.h> header file. */ 579#undef HAVE_SYS_SYSCTL_H 580 581/* Define to 1 if you have the <sys/types.h> header file. */ 582#undef HAVE_SYS_TYPES_H 583 584/* Define to 1 if you have the <sys/uio.h> header file. */ 585#undef HAVE_SYS_UIO_H 586 587/* Define to 1 if you have the <sys/un.h> header file. */ 588#undef HAVE_SYS_UN_H 589 590/* Define to 1 if you have the <sys/wait.h> header file. */ 591#undef HAVE_SYS_WAIT_H 592 593/* Define to 1 if you have the <time.h> header file. */ 594#undef HAVE_TIME_H 595 596/* Define to 1 if you have the `tzset' function. */ 597#undef HAVE_TZSET 598 599/* Define to 1 if you have the <unistd.h> header file. */ 600#undef HAVE_UNISTD_H 601 602/* Define to 1 if you have the `usleep' function. */ 603#undef HAVE_USLEEP 604 605/* Define to 1 if you have the `vfork' function. */ 606#undef HAVE_VFORK 607 608/* Define to 1 if you have the <vfork.h> header file. */ 609#undef HAVE_VFORK_H 610 611/* Define to 1 if you have the <windows.h> header file. */ 612#undef HAVE_WINDOWS_H 613 614/* Using Windows threads */ 615#undef HAVE_WINDOWS_THREADS 616 617/* Define to 1 if you have the <winsock2.h> header file. */ 618#undef HAVE_WINSOCK2_H 619 620/* Define to 1 if `fork' works. */ 621#undef HAVE_WORKING_FORK 622 623/* Define to 1 if `vfork' works. */ 624#undef HAVE_WORKING_VFORK 625 626/* Define to 1 if you have the `writev' function. */ 627#undef HAVE_WRITEV 628 629/* Define to 1 if you have the <ws2tcpip.h> header file. */ 630#undef HAVE_WS2TCPIP_H 631 632/* Define to 1 if you have the `X509_VERIFY_PARAM_set1_host' function. */ 633#undef HAVE_X509_VERIFY_PARAM_SET1_HOST 634 635/* Define to 1 if you have the `_beginthreadex' function. */ 636#undef HAVE__BEGINTHREADEX 637 638/* If HMAC_Init_ex() returns void */ 639#undef HMAC_INIT_EX_RETURNS_VOID 640 641/* if lex has yylex_destroy */ 642#undef LEX_HAS_YYLEX_DESTROY 643 644/* Define to the sub-directory where libtool stores uninstalled libraries. */ 645#undef LT_OBJDIR 646 647/* Define to the maximum message length to pass to syslog. */ 648#undef MAXSYSLOGMSGLEN 649 650/* Define if memcmp() does not compare unsigned bytes */ 651#undef MEMCMP_IS_BROKEN 652 653/* Define if mkdir has one argument. */ 654#undef MKDIR_HAS_ONE_ARG 655 656/* Define if the network stack does not fully support nonblocking io (causes 657 lower performance). */ 658#undef NONBLOCKING_IS_BROKEN 659 660/* Put -D_ALL_SOURCE define in config.h */ 661#undef OMITTED__D_ALL_SOURCE 662 663/* Put -D_BSD_SOURCE define in config.h */ 664#undef OMITTED__D_BSD_SOURCE 665 666/* Put -D_DEFAULT_SOURCE define in config.h */ 667#undef OMITTED__D_DEFAULT_SOURCE 668 669/* Put -D_GNU_SOURCE define in config.h */ 670#undef OMITTED__D_GNU_SOURCE 671 672/* Put -D_LARGEFILE_SOURCE=1 define in config.h */ 673#undef OMITTED__D_LARGEFILE_SOURCE_1 674 675/* Put -D_POSIX_C_SOURCE=200112 define in config.h */ 676#undef OMITTED__D_POSIX_C_SOURCE_200112 677 678/* Put -D_XOPEN_SOURCE=600 define in config.h */ 679#undef OMITTED__D_XOPEN_SOURCE_600 680 681/* Put -D_XOPEN_SOURCE_EXTENDED=1 define in config.h */ 682#undef OMITTED__D_XOPEN_SOURCE_EXTENDED_1 683 684/* Put -D__EXTENSIONS__ define in config.h */ 685#undef OMITTED__D__EXTENSIONS__ 686 687/* Define to the address where bug reports for this package should be sent. */ 688#undef PACKAGE_BUGREPORT 689 690/* Define to the full name of this package. */ 691#undef PACKAGE_NAME 692 693/* Define to the full name and version of this package. */ 694#undef PACKAGE_STRING 695 696/* Define to the one symbol short name of this package. */ 697#undef PACKAGE_TARNAME 698 699/* Define to the home page for this package. */ 700#undef PACKAGE_URL 701 702/* Define to the version of this package. */ 703#undef PACKAGE_VERSION 704 705/* default pidfile location */ 706#undef PIDFILE 707 708/* Define to necessary symbol if this constant uses a non-standard name on 709 your system. */ 710#undef PTHREAD_CREATE_JOINABLE 711 712/* Define as the return type of signal handlers (`int' or `void'). */ 713#undef RETSIGTYPE 714 715/* if REUSEPORT is enabled by default */ 716#undef REUSEPORT_DEFAULT 717 718/* default rootkey location */ 719#undef ROOT_ANCHOR_FILE 720 721/* default rootcert location */ 722#undef ROOT_CERT_FILE 723 724/* version number for resource files */ 725#undef RSRC_PACKAGE_VERSION 726 727/* Directory to chdir to */ 728#undef RUN_DIR 729 730/* Shared data */ 731#undef SHARE_DIR 732 733/* The size of `size_t', as computed by sizeof. */ 734#undef SIZEOF_SIZE_T 735 736/* The size of `time_t', as computed by sizeof. */ 737#undef SIZEOF_TIME_T 738 739/* define if (v)snprintf does not return length needed, (but length used) */ 740#undef SNPRINTF_RET_BROKEN 741 742/* Define to 1 if libsodium supports sodium_set_misuse_handler */ 743#undef SODIUM_MISUSE_HANDLER 744 745/* Define to 1 if you have the ANSI C header files. */ 746#undef STDC_HEADERS 747 748/* use default strptime. */ 749#undef STRPTIME_WORKS 750 751/* Use win32 resources and API */ 752#undef UB_ON_WINDOWS 753 754/* the SYSLOG_FACILITY to use, default LOG_DAEMON */ 755#undef UB_SYSLOG_FACILITY 756 757/* default username */ 758#undef UB_USERNAME 759 760/* use to enable lightweight alloc assertions, for debug use */ 761#undef UNBOUND_ALLOC_LITE 762 763/* use malloc not regions, for debug use */ 764#undef UNBOUND_ALLOC_NONREGIONAL 765 766/* use statistics for allocs and frees, for debug use */ 767#undef UNBOUND_ALLOC_STATS 768 769/* define this to enable debug checks. */ 770#undef UNBOUND_DEBUG 771 772/* Define to 1 to use cachedb support */ 773#undef USE_CACHEDB 774 775/* Define to 1 to enable dnscrypt support */ 776#undef USE_DNSCRYPT 777 778/* Define to 1 to enable dnscrypt with xchacha20 support */ 779#undef USE_DNSCRYPT_XCHACHA20 780 781/* Define to 1 to enable dnstap support */ 782#undef USE_DNSTAP 783 784/* Define this to enable DSA support. */ 785#undef USE_DSA 786 787/* Define this to enable ECDSA support. */ 788#undef USE_ECDSA 789 790/* Define this to enable an EVP workaround for older openssl */ 791#undef USE_ECDSA_EVP_WORKAROUND 792 793/* Define this to enable ED25519 support. */ 794#undef USE_ED25519 795 796/* Define this to enable ED448 support. */ 797#undef USE_ED448 798 799/* Define this to enable GOST support. */ 800#undef USE_GOST 801 802/* Define to 1 to use ipsecmod support. */ 803#undef USE_IPSECMOD 804 805/* Define to 1 to use ipset support */ 806#undef USE_IPSET 807 808/* Define if you want to use internal select based events */ 809#undef USE_MINI_EVENT 810 811/* Define this to enable client TCP Fast Open. */ 812#undef USE_MSG_FASTOPEN 813 814/* Define this to enable client TCP Fast Open. */ 815#undef USE_OSX_MSG_FASTOPEN 816 817/* Define this to use hiredis client. */ 818#undef USE_REDIS 819 820/* Define this to enable SHA1 support. */ 821#undef USE_SHA1 822 823/* Define this to enable SHA256 and SHA512 support. */ 824#undef USE_SHA2 825 826/* Enable extensions on AIX 3, Interix. */ 827#ifndef _ALL_SOURCE 828# undef _ALL_SOURCE 829#endif 830/* Enable GNU extensions on systems that have them. */ 831#ifndef _GNU_SOURCE 832# undef _GNU_SOURCE 833#endif 834/* Enable threading extensions on Solaris. */ 835#ifndef _POSIX_PTHREAD_SEMANTICS 836# undef _POSIX_PTHREAD_SEMANTICS 837#endif 838/* Enable extensions on HP NonStop. */ 839#ifndef _TANDEM_SOURCE 840# undef _TANDEM_SOURCE 841#endif 842/* Enable general extensions on Solaris. */ 843#ifndef __EXTENSIONS__ 844# undef __EXTENSIONS__ 845#endif 846 847 848/* Define this to enable server TCP Fast Open. */ 849#undef USE_TCP_FASTOPEN 850 851/* Whether the windows socket API is used */ 852#undef USE_WINSOCK 853 854/* the version of the windows API enabled */ 855#undef WINVER 856 857/* Define if you want Python module. */ 858#undef WITH_PYTHONMODULE 859 860/* Define if you want PyUnbound. */ 861#undef WITH_PYUNBOUND 862 863/* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a 864 `char[]'. */ 865#undef YYTEXT_POINTER 866 867/* Enable large inode numbers on Mac OS X 10.5. */ 868#ifndef _DARWIN_USE_64_BIT_INODE 869# define _DARWIN_USE_64_BIT_INODE 1 870#endif 871 872/* Number of bits in a file offset, on hosts where this is settable. */ 873#undef _FILE_OFFSET_BITS 874 875/* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */ 876#undef _LARGEFILE_SOURCE 877 878/* Define for large files, on AIX-style hosts. */ 879#undef _LARGE_FILES 880 881/* Define to 1 if on MINIX. */ 882#undef _MINIX 883 884/* Enable for compile on Minix */ 885#undef _NETBSD_SOURCE 886 887/* Define to 2 if the system does not provide POSIX.1 features except with 888 this defined. */ 889#undef _POSIX_1_SOURCE 890 891/* Define to 1 if you need to in order for `stat' and other things to work. */ 892#undef _POSIX_SOURCE 893 894/* Define to empty if `const' does not conform to ANSI C. */ 895#undef const 896 897/* Define to `int' if <sys/types.h> doesn't define. */ 898#undef gid_t 899 900/* in_addr_t */ 901#undef in_addr_t 902 903/* in_port_t */ 904#undef in_port_t 905 906/* Define to `__inline__' or `__inline' if that's what the C compiler 907 calls it, or to nothing if 'inline' is not supported under any name. */ 908#ifndef __cplusplus 909#undef inline 910#endif 911 912/* Define to `short' if <sys/types.h> does not define. */ 913#undef int16_t 914 915/* Define to `int' if <sys/types.h> does not define. */ 916#undef int32_t 917 918/* Define to `long long' if <sys/types.h> does not define. */ 919#undef int64_t 920 921/* Define to `signed char' if <sys/types.h> does not define. */ 922#undef int8_t 923 924/* Define if replacement function should be used. */ 925#undef malloc 926 927/* Define to `long int' if <sys/types.h> does not define. */ 928#undef off_t 929 930/* Define to `int' if <sys/types.h> does not define. */ 931#undef pid_t 932 933/* Define to 'int' if not defined */ 934#undef rlim_t 935 936/* Define to `unsigned int' if <sys/types.h> does not define. */ 937#undef size_t 938 939/* Define to 'int' if not defined */ 940#undef socklen_t 941 942/* Define to `int' if <sys/types.h> does not define. */ 943#undef ssize_t 944 945/* Define to 'unsigned char if not defined */ 946#undef u_char 947 948/* Define to `int' if <sys/types.h> doesn't define. */ 949#undef uid_t 950 951/* Define to `unsigned short' if <sys/types.h> does not define. */ 952#undef uint16_t 953 954/* Define to `unsigned int' if <sys/types.h> does not define. */ 955#undef uint32_t 956 957/* Define to `unsigned long long' if <sys/types.h> does not define. */ 958#undef uint64_t 959 960/* Define to `unsigned char' if <sys/types.h> does not define. */ 961#undef uint8_t 962 963/* Define as `fork' if `vfork' does not work. */ 964#undef vfork 965 966#if defined(OMITTED__D_GNU_SOURCE) && !defined(_GNU_SOURCE) 967#define _GNU_SOURCE 1 968#endif 969 970#if defined(OMITTED__D_BSD_SOURCE) && !defined(_BSD_SOURCE) 971#define _BSD_SOURCE 1 972#endif 973 974#if defined(OMITTED__D_DEFAULT_SOURCE) && !defined(_DEFAULT_SOURCE) 975#define _DEFAULT_SOURCE 1 976#endif 977 978#if defined(OMITTED__D__EXTENSIONS__) && !defined(__EXTENSIONS__) 979#define __EXTENSIONS__ 1 980#endif 981 982#if defined(OMITTED__D_POSIX_C_SOURCE_200112) && !defined(_POSIX_C_SOURCE) 983#define _POSIX_C_SOURCE 200112 984#endif 985 986#if defined(OMITTED__D_XOPEN_SOURCE_600) && !defined(_XOPEN_SOURCE) 987#define _XOPEN_SOURCE 600 988#endif 989 990#if defined(OMITTED__D_XOPEN_SOURCE_EXTENDED_1) && !defined(_XOPEN_SOURCE_EXTENDED) 991#define _XOPEN_SOURCE_EXTENDED 1 992#endif 993 994#if defined(OMITTED__D_ALL_SOURCE) && !defined(_ALL_SOURCE) 995#define _ALL_SOURCE 1 996#endif 997 998#if defined(OMITTED__D_LARGEFILE_SOURCE_1) && !defined(_LARGEFILE_SOURCE) 999#define _LARGEFILE_SOURCE 1 1000#endif 1001 1002 1003 1004 1005#ifndef _OPENBSD_SOURCE 1006#define _OPENBSD_SOURCE 1 1007#endif 1008 1009#ifndef UNBOUND_DEBUG 1010# ifndef NDEBUG 1011# define NDEBUG 1012# endif 1013#endif 1014 1015/** Use small-ldns codebase */ 1016#define USE_SLDNS 1 1017#ifdef HAVE_SSL 1018# define LDNS_BUILD_CONFIG_HAVE_SSL 1 1019#endif 1020 1021#include <stdio.h> 1022#include <string.h> 1023#include <unistd.h> 1024#include <assert.h> 1025 1026#if STDC_HEADERS 1027#include <stdlib.h> 1028#include <stddef.h> 1029#endif 1030 1031#ifdef HAVE_STDARG_H 1032#include <stdarg.h> 1033#endif 1034 1035#ifdef HAVE_STDINT_H 1036#include <stdint.h> 1037#endif 1038 1039#include <errno.h> 1040 1041#if HAVE_SYS_PARAM_H 1042#include <sys/param.h> 1043#endif 1044 1045#ifdef HAVE_SYS_SOCKET_H 1046#include <sys/socket.h> 1047#endif 1048 1049#ifdef HAVE_SYS_UIO_H 1050#include <sys/uio.h> 1051#endif 1052 1053#ifdef HAVE_NETINET_IN_H 1054#include <netinet/in.h> 1055#endif 1056 1057#ifdef HAVE_NETINET_TCP_H 1058#include <netinet/tcp.h> 1059#endif 1060 1061#ifdef HAVE_ARPA_INET_H 1062#include <arpa/inet.h> 1063#endif 1064 1065#ifdef HAVE_WINSOCK2_H 1066#include <winsock2.h> 1067#endif 1068 1069#ifdef HAVE_WS2TCPIP_H 1070#include <ws2tcpip.h> 1071#endif 1072 1073#ifndef USE_WINSOCK 1074#define ARG_LL "%ll" 1075#else 1076#define ARG_LL "%I64" 1077#endif 1078 1079#ifndef AF_LOCAL 1080#define AF_LOCAL AF_UNIX 1081#endif 1082 1083 1084 1085#ifdef HAVE_ATTR_FORMAT 1086# define ATTR_FORMAT(archetype, string_index, first_to_check) \ 1087 __attribute__ ((format (archetype, string_index, first_to_check))) 1088#else /* !HAVE_ATTR_FORMAT */ 1089# define ATTR_FORMAT(archetype, string_index, first_to_check) /* empty */ 1090#endif /* !HAVE_ATTR_FORMAT */ 1091 1092 1093#if defined(DOXYGEN) 1094# define ATTR_UNUSED(x) x 1095#elif defined(__cplusplus) 1096# define ATTR_UNUSED(x) 1097#elif defined(HAVE_ATTR_UNUSED) 1098# define ATTR_UNUSED(x) x __attribute__((unused)) 1099#else /* !HAVE_ATTR_UNUSED */ 1100# define ATTR_UNUSED(x) x 1101#endif /* !HAVE_ATTR_UNUSED */ 1102 1103 1104#ifndef HAVE_FSEEKO 1105#define fseeko fseek 1106#define ftello ftell 1107#endif /* HAVE_FSEEKO */ 1108 1109 1110#ifndef MAXHOSTNAMELEN 1111#define MAXHOSTNAMELEN 256 1112#endif 1113 1114#if !defined(HAVE_SNPRINTF) || defined(SNPRINTF_RET_BROKEN) 1115#define snprintf snprintf_unbound 1116#define vsnprintf vsnprintf_unbound 1117#include <stdarg.h> 1118int snprintf (char *str, size_t count, const char *fmt, ...); 1119int vsnprintf (char *str, size_t count, const char *fmt, va_list arg); 1120#endif /* HAVE_SNPRINTF or SNPRINTF_RET_BROKEN */ 1121 1122#ifndef HAVE_INET_PTON 1123#define inet_pton inet_pton_unbound 1124int inet_pton(int af, const char* src, void* dst); 1125#endif /* HAVE_INET_PTON */ 1126 1127 1128#ifndef HAVE_INET_NTOP 1129#define inet_ntop inet_ntop_unbound 1130const char *inet_ntop(int af, const void *src, char *dst, size_t size); 1131#endif 1132 1133 1134#ifndef HAVE_INET_ATON 1135#define inet_aton inet_aton_unbound 1136int inet_aton(const char *cp, struct in_addr *addr); 1137#endif 1138 1139 1140#ifndef HAVE_MEMMOVE 1141#define memmove memmove_unbound 1142void *memmove(void *dest, const void *src, size_t n); 1143#endif 1144 1145 1146#ifndef HAVE_STRLCAT 1147#define strlcat strlcat_unbound 1148size_t strlcat(char *dst, const char *src, size_t siz); 1149#endif 1150 1151 1152#ifndef HAVE_STRLCPY 1153#define strlcpy strlcpy_unbound 1154size_t strlcpy(char *dst, const char *src, size_t siz); 1155#endif 1156 1157 1158#ifndef HAVE_GMTIME_R 1159#define gmtime_r gmtime_r_unbound 1160struct tm *gmtime_r(const time_t *timep, struct tm *result); 1161#endif 1162 1163 1164#ifndef HAVE_REALLOCARRAY 1165#define reallocarray reallocarrayunbound 1166void* reallocarray(void *ptr, size_t nmemb, size_t size); 1167#endif 1168 1169 1170#if !defined(HAVE_SLEEP) || defined(HAVE_WINDOWS_H) 1171#define sleep(x) Sleep((x)*1000) /* on win32 */ 1172#endif /* HAVE_SLEEP */ 1173 1174 1175#ifndef HAVE_USLEEP 1176#define usleep(x) Sleep((x)/1000 + 1) /* on win32 */ 1177#endif /* HAVE_USLEEP */ 1178 1179 1180#ifndef HAVE_RANDOM 1181#define random rand /* on win32, for tests only (bad random) */ 1182#endif /* HAVE_RANDOM */ 1183 1184 1185#ifndef HAVE_SRANDOM 1186#define srandom(x) srand(x) /* on win32, for tests only (bad random) */ 1187#endif /* HAVE_SRANDOM */ 1188 1189 1190/* detect if we need to cast to unsigned int for FD_SET to avoid warnings */ 1191#ifdef HAVE_WINSOCK2_H 1192#define FD_SET_T (u_int) 1193#else 1194#define FD_SET_T 1195#endif 1196 1197 1198#ifndef IPV6_MIN_MTU 1199#define IPV6_MIN_MTU 1280 1200#endif /* IPV6_MIN_MTU */ 1201 1202 1203#ifdef MEMCMP_IS_BROKEN 1204#include "compat/memcmp.h" 1205#define memcmp memcmp_unbound 1206int memcmp(const void *x, const void *y, size_t n); 1207#endif 1208 1209 1210 1211#ifndef HAVE_CTIME_R 1212#define ctime_r unbound_ctime_r 1213char *ctime_r(const time_t *timep, char *buf); 1214#endif 1215 1216#ifndef HAVE_STRSEP 1217#define strsep unbound_strsep 1218char *strsep(char **stringp, const char *delim); 1219#endif 1220 1221#ifndef HAVE_ISBLANK 1222#define isblank unbound_isblank 1223int isblank(int c); 1224#endif 1225 1226#ifndef HAVE_EXPLICIT_BZERO 1227#define explicit_bzero unbound_explicit_bzero 1228void explicit_bzero(void* buf, size_t len); 1229#endif 1230 1231#if defined(HAVE_INET_NTOP) && !HAVE_DECL_INET_NTOP 1232const char *inet_ntop(int af, const void *src, char *dst, size_t size); 1233#endif 1234 1235#if defined(HAVE_INET_PTON) && !HAVE_DECL_INET_PTON 1236int inet_pton(int af, const char* src, void* dst); 1237#endif 1238 1239#if !defined(HAVE_STRPTIME) || !defined(STRPTIME_WORKS) 1240#define strptime unbound_strptime 1241struct tm; 1242char *strptime(const char *s, const char *format, struct tm *tm); 1243#endif 1244 1245#if !HAVE_DECL_REALLOCARRAY 1246void *reallocarray(void *ptr, size_t nmemb, size_t size); 1247#endif 1248 1249#ifdef HAVE_LIBBSD 1250#include <bsd/string.h> 1251#include <bsd/stdlib.h> 1252#endif 1253 1254#ifdef HAVE_LIBRESSL 1255# if !HAVE_DECL_STRLCPY 1256size_t strlcpy(char *dst, const char *src, size_t siz); 1257# endif 1258# if !HAVE_DECL_STRLCAT 1259size_t strlcat(char *dst, const char *src, size_t siz); 1260# endif 1261# if !HAVE_DECL_ARC4RANDOM && defined(HAVE_ARC4RANDOM) 1262uint32_t arc4random(void); 1263# endif 1264# if !HAVE_DECL_ARC4RANDOM_UNIFORM && defined(HAVE_ARC4RANDOM_UNIFORM) 1265uint32_t arc4random_uniform(uint32_t upper_bound); 1266# endif 1267#endif /* HAVE_LIBRESSL */ 1268#ifndef HAVE_ARC4RANDOM 1269int getentropy(void* buf, size_t len); 1270uint32_t arc4random(void); 1271void arc4random_buf(void* buf, size_t n); 1272void _ARC4_LOCK(void); 1273void _ARC4_UNLOCK(void); 1274void _ARC4_LOCK_DESTROY(void); 1275#endif 1276#ifndef HAVE_ARC4RANDOM_UNIFORM 1277uint32_t arc4random_uniform(uint32_t upper_bound); 1278#endif 1279#ifdef COMPAT_SHA512 1280#ifndef SHA512_DIGEST_LENGTH 1281#define SHA512_BLOCK_LENGTH 128 1282#define SHA512_DIGEST_LENGTH 64 1283#define SHA512_DIGEST_STRING_LENGTH (SHA512_DIGEST_LENGTH * 2 + 1) 1284typedef struct _SHA512_CTX { 1285 uint64_t state[8]; 1286 uint64_t bitcount[2]; 1287 uint8_t buffer[SHA512_BLOCK_LENGTH]; 1288} SHA512_CTX; 1289#endif /* SHA512_DIGEST_LENGTH */ 1290void SHA512_Init(SHA512_CTX*); 1291void SHA512_Update(SHA512_CTX*, void*, size_t); 1292void SHA512_Final(uint8_t[SHA512_DIGEST_LENGTH], SHA512_CTX*); 1293unsigned char *SHA512(void* data, unsigned int data_len, unsigned char *digest); 1294#endif /* COMPAT_SHA512 */ 1295 1296 1297 1298#if defined(HAVE_EVENT_H) && !defined(HAVE_EVENT_BASE_ONCE) && !(defined(HAVE_EV_LOOP) || defined(HAVE_EV_DEFAULT_LOOP)) && (defined(HAVE_PTHREAD) || defined(HAVE_SOLARIS_THREADS)) 1299 /* using version of libevent that is not threadsafe. */ 1300# define LIBEVENT_SIGNAL_PROBLEM 1 1301#endif 1302 1303#ifndef CHECKED_INET6 1304# define CHECKED_INET6 1305# ifdef AF_INET6 1306# define INET6 1307# else 1308# define AF_INET6 28 1309# endif 1310#endif /* CHECKED_INET6 */ 1311 1312#ifndef HAVE_GETADDRINFO 1313struct sockaddr_storage; 1314#include "compat/fake-rfc2553.h" 1315#endif 1316 1317#ifdef UNBOUND_ALLOC_STATS 1318# define malloc(s) unbound_stat_malloc_log(s, __FILE__, __LINE__, __func__) 1319# define calloc(n,s) unbound_stat_calloc_log(n, s, __FILE__, __LINE__, __func__) 1320# define free(p) unbound_stat_free_log(p, __FILE__, __LINE__, __func__) 1321# define realloc(p,s) unbound_stat_realloc_log(p, s, __FILE__, __LINE__, __func__) 1322void *unbound_stat_malloc(size_t size); 1323void *unbound_stat_calloc(size_t nmemb, size_t size); 1324void unbound_stat_free(void *ptr); 1325void *unbound_stat_realloc(void *ptr, size_t size); 1326void *unbound_stat_malloc_log(size_t size, const char* file, int line, 1327 const char* func); 1328void *unbound_stat_calloc_log(size_t nmemb, size_t size, const char* file, 1329 int line, const char* func); 1330void unbound_stat_free_log(void *ptr, const char* file, int line, 1331 const char* func); 1332void *unbound_stat_realloc_log(void *ptr, size_t size, const char* file, 1333 int line, const char* func); 1334#elif defined(UNBOUND_ALLOC_LITE) 1335# include "util/alloc.h" 1336#endif /* UNBOUND_ALLOC_LITE and UNBOUND_ALLOC_STATS */ 1337 1338/** default port for DNS traffic. */ 1339#define UNBOUND_DNS_PORT 53 1340/** default port for DNS over TLS traffic. */ 1341#define UNBOUND_DNS_OVER_TLS_PORT 853 1342/** default port for unbound control traffic, registered port with IANA, 1343 ub-dns-control 8953/tcp unbound dns nameserver control */ 1344#define UNBOUND_CONTROL_PORT 8953 1345/** the version of unbound-control that this software implements */ 1346#define UNBOUND_CONTROL_VERSION 1 1347 1348 1349