|
|
|
@ -62,11 +62,11 @@ namespace config {
@@ -62,11 +62,11 @@ namespace config {
|
|
|
|
|
("floodfill", bool_switch()->default_value(false), "Router will be floodfill (default: disabled)") |
|
|
|
|
("bandwidth", value<std::string>()->default_value(""), "Bandwidth limit: integer in KBps or letters: L (32), O (256), P (2048), X (>9000)") |
|
|
|
|
("share", value<int>()->default_value(100), "Limit of transit traffic from max bandwidth in percents. (default: 100)") |
|
|
|
|
("ntcp", bool_switch()->default_value(false), "Ignored. Always false") |
|
|
|
|
("ntcp", bool_switch()->default_value(false), "Deprecated option. Always false") |
|
|
|
|
("ssu", bool_switch()->default_value(true), "Enable SSU transport (default: enabled)") |
|
|
|
|
("ntcpproxy", value<std::string>()->default_value(""), "Ignored") |
|
|
|
|
("ntcpproxy", value<std::string>()->default_value(""), "Deprecated option") |
|
|
|
|
#ifdef _WIN32 |
|
|
|
|
("svcctl", value<std::string>()->default_value(""), "Ignored") |
|
|
|
|
("svcctl", value<std::string>()->default_value(""), "Deprecated option") |
|
|
|
|
("insomnia", bool_switch()->default_value(false), "Prevent system from sleeping (default: disabled)") |
|
|
|
|
("close", value<std::string>()->default_value("ask"), "Action on close: minimize, exit, ask") |
|
|
|
|
#endif |
|
|
|
@ -77,9 +77,9 @@ namespace config {
@@ -77,9 +77,9 @@ namespace config {
|
|
|
|
|
("limits.coresize", value<uint32_t>()->default_value(0), "Maximum size of corefile in Kb (0 - use system limit)") |
|
|
|
|
("limits.openfiles", value<uint16_t>()->default_value(0), "Maximum number of open files (0 - use system default)") |
|
|
|
|
("limits.transittunnels", value<uint16_t>()->default_value(2500), "Maximum active transit sessions (default:2500)") |
|
|
|
|
("limits.ntcpsoft", value<uint16_t>()->default_value(0), "Threshold to start probabilistic backoff with ntcp sessions (default: use system limit)") |
|
|
|
|
("limits.ntcphard", value<uint16_t>()->default_value(0), "Maximum number of ntcp sessions (default: use system limit)") |
|
|
|
|
("limits.ntcpthreads", value<uint16_t>()->default_value(1), "Maximum number of threads used by NTCP DH worker (default: 1)") |
|
|
|
|
("limits.ntcpsoft", value<uint16_t>()->default_value(0), "Deprecated option") |
|
|
|
|
("limits.ntcphard", value<uint16_t>()->default_value(0), "Deprecated option") |
|
|
|
|
("limits.ntcpthreads", value<uint16_t>()->default_value(1), "Deprecated option") |
|
|
|
|
; |
|
|
|
|
|
|
|
|
|
options_description httpserver("HTTP Server options"); |
|
|
|
@ -281,7 +281,7 @@ namespace config {
@@ -281,7 +281,7 @@ namespace config {
|
|
|
|
|
|
|
|
|
|
options_description meshnets("Meshnet transports options"); |
|
|
|
|
meshnets.add_options() |
|
|
|
|
("meshnets.yggdrasil", bool_switch()->default_value(false), "Support transports through the Yggdrasil (deafult: false)") |
|
|
|
|
("meshnets.yggdrasil", bool_switch()->default_value(false), "Support transports through the Yggdrasil (default: false)") |
|
|
|
|
("meshnets.yggaddress", value<std::string>()->default_value(""), "Yggdrasil address to publish") |
|
|
|
|
; |
|
|
|
|
|
|
|
|
|