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
+5-1
Original file line number
Diff line number
Diff line change
@@ -66,11 +66,11 @@ fn main() {
66
66
(@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
67
68
68
(@arg TCP_NO_DELAY: --("tcp-no-delay") !takes_value alias("no-delay")"Set TCP_NODELAY option for socket")
69
+
(@arg TCP_FAST_OPEN: --("tcp-fast-open") !takes_value alias("fast-open")"Enable TCP Fast Open (TFO)")
69
70
70
71
(@arg UDP_TIMEOUT: --("udp-timeout") +takes_value {validator::validate_u64}"Timeout seconds for UDP relay")
71
72
(@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
+5-1
Original file line number
Diff line number
Diff line change
@@ -51,7 +51,6 @@ fn main() {
51
51
(@arg BIND_ADDR: -b --("bind-addr") +takes_value {validator::validate_ip_addr}"Bind address, outbound socket will bind this address")
52
52
(@arg SERVER_HOST: -s --("server-host") +takes_value "Host name or IP address of your remote server")
53
53
54
-
55
54
(@arg MANAGER_ADDRESS: --("manager-address") +takes_value {validator::validate_manager_addr}"ShadowSocks Manager (ssmgr) address, could be ip:port, domain:port or /path/to/unix.sock")
(@arg TIMEOUT: --timeout +takes_value {validator::validate_u64}"Default timeout seconds for TCP relay")
@@ -60,6 +59,7 @@ fn main() {
60
59
(@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\"")
61
60
62
61
(@arg TCP_NO_DELAY: --("tcp-no-delay") !takes_value alias("no-delay")"Set TCP_NODELAY option for socket")
62
+
(@arg TCP_FAST_OPEN: --("tcp-fast-open") !takes_value alias("fast-open")"Enable TCP Fast Open (TFO)")
63
63
64
64
(@arg UDP_TIMEOUT: --("udp-timeout") +takes_value {validator::validate_u64}"Timeout seconds for UDP relay")
65
65
(@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/ssserver.rs
+5
Original file line number
Diff line number
Diff line change
@@ -61,6 +61,7 @@ fn main() {
61
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\"")
62
62
63
63
(@arg TCP_NO_DELAY: --("tcp-no-delay") !takes_value alias("no-delay")"Set TCP_NODELAY option for socket")
64
+
(@arg TCP_FAST_OPEN: --("tcp-fast-open") !takes_value alias("fast-open")"Enable TCP Fast Open (TFO)")
64
65
65
66
(@arg UDP_TIMEOUT: --("udp-timeout") +takes_value {validator::validate_u64}"Timeout seconds for UDP relay")
66
67
(@arg UDP_MAX_ASSOCIATIONS: --("udp-max-associations") +takes_value {validator::validate_u64}"Maximum associations to be kept simultaneously for UDP relay")
0 commit comments