|
|
@ -59,7 +59,6 @@ namespace config { |
|
|
|
("ntcp", value<bool>()->default_value(true), "Enable NTCP transport (default: enabled)") |
|
|
|
("ntcp", value<bool>()->default_value(true), "Enable NTCP transport (default: enabled)") |
|
|
|
("ssu", value<bool>()->default_value(true), "Enable SSU transport (default: enabled)") |
|
|
|
("ssu", value<bool>()->default_value(true), "Enable SSU transport (default: enabled)") |
|
|
|
("ntcpproxy", value<std::string>()->default_value(""), "Proxy URL for NTCP transport") |
|
|
|
("ntcpproxy", value<std::string>()->default_value(""), "Proxy URL for NTCP transport") |
|
|
|
("ntcp2", value<bool>()->default_value(false), "Enable NTCP2 (experimental, default: disabled)") |
|
|
|
|
|
|
|
#ifdef _WIN32 |
|
|
|
#ifdef _WIN32 |
|
|
|
("svcctl", value<std::string>()->default_value(""), "Windows service management ('install' or 'remove')") |
|
|
|
("svcctl", value<std::string>()->default_value(""), "Windows service management ('install' or 'remove')") |
|
|
|
("insomnia", bool_switch()->default_value(false), "Prevent system from sleeping (default: disabled)") |
|
|
|
("insomnia", bool_switch()->default_value(false), "Prevent system from sleeping (default: disabled)") |
|
|
@ -232,6 +231,11 @@ namespace config { |
|
|
|
("exploratory.outbound.quantity", value<int>()->default_value(3), "Exploratory outbound tunnels quantity") |
|
|
|
("exploratory.outbound.quantity", value<int>()->default_value(3), "Exploratory outbound tunnels quantity") |
|
|
|
; |
|
|
|
; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
options_description ntcp2("NTCP2 Options"); |
|
|
|
|
|
|
|
ntcp2.add_options() |
|
|
|
|
|
|
|
("ntcp2.enabled", value<bool>()->default_value(false), "Enable NTCP2 (experimental, default: disabled)") |
|
|
|
|
|
|
|
; |
|
|
|
|
|
|
|
|
|
|
|
m_OptionsDesc |
|
|
|
m_OptionsDesc |
|
|
|
.add(general) |
|
|
|
.add(general) |
|
|
|
.add(limits) |
|
|
|
.add(limits) |
|
|
@ -249,6 +253,7 @@ namespace config { |
|
|
|
.add(trust) |
|
|
|
.add(trust) |
|
|
|
.add(websocket) |
|
|
|
.add(websocket) |
|
|
|
.add(exploratory) |
|
|
|
.add(exploratory) |
|
|
|
|
|
|
|
.add(ntcp2) |
|
|
|
; |
|
|
|
; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|