You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: bin/sslocal.rs
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -64,6 +64,7 @@ fn main() {
64
64
(@arg NO_DELAY: --("no-delay") !takes_value "Set TCP_NODELAY option for socket")
65
65
(@arg NOFILE: -n --nofile +takes_value "Set RLIMIT_NOFILE with both soft and hard limit (only for *nix systems)")
66
66
(@arg ACL: --acl +takes_value "Path to ACL (Access Control List)")
67
+
(@arg DNS: --dns +takes_value "DNS nameservers, formatted like [(tcp|udp)://]host[:port][,host[:port]]..., or unix:///path/to/dns, or predefined keys like \"google\", \"cloudflare\"")
67
68
68
69
(@arg UDP_TIMEOUT: --("udp-timeout") +takes_value {validator::validate_u64}"Timeout seconds for UDP relay")
69
70
(@arg UDP_MAX_ASSOCIATIONS: --("udp-max-associations") +takes_value {validator::validate_u64}"Maximum associations to be kept simultaneously for UDP relay")
Copy file name to clipboardExpand all lines: bin/ssmanager.rs
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -58,6 +58,7 @@ fn main() {
58
58
59
59
(@arg NOFILE: -n --nofile +takes_value "Set RLIMIT_NOFILE with both soft and hard limit (only for *nix systems)")
60
60
(@arg ACL: --acl +takes_value "Path to ACL (Access Control List)")
61
+
(@arg DNS: --dns +takes_value "DNS nameservers, formatted like [(tcp|udp)://]host[:port][,host[:port]]..., or unix:///path/to/dns, or predefined keys like \"google\", \"cloudflare\"")
Copy file name to clipboardExpand all lines: bin/ssserver.rs
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -59,6 +59,7 @@ fn main() {
59
59
(@arg NO_DELAY: --("no-delay") !takes_value "Set TCP_NODELAY option for socket")
60
60
(@arg NOFILE: -n --nofile +takes_value "Set RLIMIT_NOFILE with both soft and hard limit (only for *nix systems)")
61
61
(@arg ACL: --acl +takes_value "Path to ACL (Access Control List)")
62
+
(@arg DNS: --dns +takes_value "DNS nameservers, formatted like [(tcp|udp)://]host[:port][,host[:port]]..., or unix:///path/to/dns, or predefined keys like \"google\", \"cloudflare\"")
62
63
63
64
(@arg UDP_TIMEOUT: --("udp-timeout") +takes_value {validator::validate_u64}"Timeout seconds for UDP relay")
64
65
(@arg UDP_MAX_ASSOCIATIONS: --("udp-max-associations") +takes_value {validator::validate_u64}"Maximum associations to be kept simultaneously for UDP relay")
"invalid `dns` value, can only be host[:port][,host[:port]]...",
1364
+
"invalid `dns` value, can only be [(tcp|udp)://]host[:port][,host[:port]]..., or unix:///path/to/dns, or predefined keys like \"google\", \"cloudflare\"",
0 commit comments