1 /* SPDX-License-Identifier: GPL-3.0-or-later 2 * Copyright © 2016-2018 The TokTok team. 3 * Copyright © 2014-2016 Tox project. 4 */ 5 6 /* 7 * Tox DHT bootstrap daemon. 8 * Default config options for when they are missing in the config file. 9 */ 10 #ifndef C_TOXCORE_OTHER_BOOTSTRAP_DAEMON_SRC_CONFIG_DEFAULTS_H 11 #define C_TOXCORE_OTHER_BOOTSTRAP_DAEMON_SRC_CONFIG_DEFAULTS_H 12 13 #include "global.h" 14 15 #define DEFAULT_PID_FILE_PATH "tox-bootstrapd.pid" 16 #define DEFAULT_KEYS_FILE_PATH "tox-bootstrapd.keys" 17 #define DEFAULT_PORT 33445 18 #define DEFAULT_ENABLE_IPV6 1 // 1 - true, 0 - false 19 #define DEFAULT_ENABLE_IPV4_FALLBACK 1 // 1 - true, 0 - false 20 #define DEFAULT_ENABLE_LAN_DISCOVERY 1 // 1 - true, 0 - false 21 #define DEFAULT_ENABLE_TCP_RELAY 1 // 1 - true, 0 - false 22 #define DEFAULT_TCP_RELAY_PORTS 443, 3389, 33445 // comma-separated list of ports. make sure to adjust DEFAULT_TCP_RELAY_PORTS_COUNT accordingly 23 #define DEFAULT_TCP_RELAY_PORTS_COUNT 3 24 #define DEFAULT_ENABLE_MOTD 1 // 1 - true, 0 - false 25 #define DEFAULT_MOTD DAEMON_NAME 26 27 #endif // C_TOXCORE_OTHER_BOOTSTRAP_DAEMON_SRC_CONFIG_DEFAULTS_H 28