regression: server-host option for ssmanager

- fixes #767
- introduced since v1.13.0
This commit is contained in:
zonyitoo
2022-02-14 16:55:24 +08:00
parent e94681773d
commit e3c1da15e3
3 changed files with 8 additions and 17 deletions

22
Cargo.lock generated
View File

@@ -1597,14 +1597,13 @@ dependencies = [
[[package]]
name = "rand"
version = "0.8.4"
version = "0.8.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2e7573632e6454cf6b99d7aac4ccca54be06da05aca2ef7423d22d27d4d4bcd8"
checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"
dependencies = [
"libc",
"rand_chacha",
"rand_core",
"rand_hc",
]
[[package]]
@@ -1626,15 +1625,6 @@ dependencies = [
"getrandom",
]
[[package]]
name = "rand_hc"
version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d51e9f596de227fda2ea6c84607f5558e196eeaf43c986b724ba4fb8fdf497e7"
dependencies = [
"rand_core",
]
[[package]]
name = "redox_syscall"
version = "0.1.57"
@@ -1774,9 +1764,9 @@ dependencies = [
[[package]]
name = "rustls"
version = "0.20.2"
version = "0.20.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d37e5e2290f3e040b594b1a9e04377c2c671f1a1cfd9bfdef82106ac1c113f84"
checksum = "b323592e3164322f5b193dc4302e4e36cd8d37158a712d664efae1a5c2791700"
dependencies = [
"log",
"ring",
@@ -2056,7 +2046,7 @@ dependencies = [
[[package]]
name = "shadowsocks-rust"
version = "1.13.2"
version = "1.13.3"
dependencies = [
"build-time",
"byte_string",
@@ -2442,7 +2432,7 @@ version = "0.23.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a27d5f2b839802bd8267fa19b0530f5a08b9c08cd417976be2a65d130fe1c11b"
dependencies = [
"rustls 0.20.2",
"rustls 0.20.3",
"tokio",
"webpki 0.22.0",
]

View File

@@ -1,6 +1,6 @@
[package]
name = "shadowsocks-rust"
version = "1.13.2"
version = "1.13.3"
authors = ["Shadowsocks Contributors"]
description = "shadowsocks is a fast tunnel proxy that helps you bypass firewalls."
repository = "https://github.com/shadowsocks/shadowsocks-rust"

View File

@@ -66,6 +66,7 @@ pub fn define_command_line_options(mut app: App<'_>) -> App<'_> {
.takes_value(true)
.help("Set SO_BINDTODEVICE / IP_BOUND_IF / IP_UNICAST_IF option for outbound socket"),
)
.arg(Arg::new("SERVER_HOST").short('s').long("server-host").takes_value(true).help("Host name or IP address of your remote server"))
.arg(
Arg::new("MANAGER_ADDR")
.long("manager-addr")