Commit Graph
1634 Commits
Author SHA1 Message Date
zonyitoo 48e822d104 fixed build warning on Windows 2021-11-27 00:22:23 +08:00
zonyitoo 3e04feda52 fixed UDP listener binds to dual-stack addresses (::)
ref #694
2021-11-27 00:20:35 +08:00
zonyitoo f28bee55ae trigger ci rebuild 2021-11-26 21:52:03 +08:00
zonyitoo 1eff9b1883 remove redundant clone and Into for RemoteDnsAddress v1.12.3 2021-11-26 00:43:05 +08:00
zonyitoo 1dc0c2a363 make clippy happy 2021-11-26 00:12:13 +08:00
zonyitoo 7aec233271 command line --password also support ${VAR_NAME} syntax
- use the original text instead of empty string if ${VAR_NAME} 's
VAR_NAME doesn't exist

ref #419
2021-11-25 23:54:23 +08:00
zonyitoo 3ee373cb2f revert rust-toolchain to 2021-09-10
regression: https://github.com/rust-lang/rust/issues/89626
2021-11-25 22:20:41 +08:00
zonyitoo 11262f5f99 refactored command line options getter with clap::value_t! 2021-11-25 20:21:50 +08:00
zonyitoo 0b5933b4b6 ssmanager won't use read_server_password 2021-11-25 17:33:14 +08:00
zonyitoo 74e8a4f8f5 Reading password from environment variable or TTY
- servers creating from command line options would use TTY,
SS_SERVER_PASSWORD and SS_SERVER_${SERVER_ADDR}_PASSWORD environment
variables
- servers in configuration file "password" would allow ${VAR_NAME} to
read from environment variable VAR_NAME

fixes #419
2021-11-25 17:19:16 +08:00
zonyitoo aaac00f208 SS_LOG_VERBOSE_LEVEL and SS_LOG_WITHOUT_TIME environment variable
ref #691
2021-11-25 16:15:49 +08:00
zonyitoo fa3a2a83d2 default configuration file (config.json) for Windows, Linux, macOS
- $XDG_CONFIG_PATH/shadowsocks-rust/config.json
- $HOME/.config/shadowsocks-rust/config.json
- {FOLDERID_RoamingAppData}\shadowsocks\shadowsocks-rust\config\config.json
- $HOME/Library/Application Support/org.shadowsocks.shadowsocks-rust/config.json

fixes #688
2021-11-25 15:14:07 +08:00
zonyitoo 05d1b0715e updated rust-toolchain and dependencies 2021-11-23 17:01:51 +08:00
dependabot[bot] e0481c44f5 Bump hyper from 0.14.14 to 0.14.15
Bumps [hyper](https://github.com/hyperium/hyper) from 0.14.14 to 0.14.15.
- [Release notes](https://github.com/hyperium/hyper/releases)
- [Changelog](https://github.com/hyperium/hyper/blob/master/CHANGELOG.md)
- [Commits](https://github.com/hyperium/hyper/compare/v0.14.14...v0.14.15)

---
updated-dependencies:
- dependency-name: hyper
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-23 00:05:18 +08:00
dependabot[bot] 0f5290a05b Bump serde_json from 1.0.70 to 1.0.71
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.70 to 1.0.71.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.70...v1.0.71)

---
updated-dependencies:
- dependency-name: serde_json
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-23 00:05:03 +08:00
zonyitoo 52f88b2d84 release v1.12.2 v1.12.2 2021-11-16 15:55:24 +08:00
zonyitoo 182f48530d bump shadowsocks to v1.12.1 2021-11-16 00:11:44 +08:00
zonyitoo 2ab714db31 sendfd only works on UNIX platforms 2021-11-16 00:08:26 +08:00
zonyitoo e56c08267d remove direct dependency of mio 2021-11-16 00:04:18 +08:00
dependabot[bot] 0000be096d Bump serde_json from 1.0.69 to 1.0.70
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.69 to 1.0.70.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.69...v1.0.70)

---
updated-dependencies:
- dependency-name: serde_json
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-15 22:20:00 +08:00
zonyitoo 7b1b67fe44 local-dns remote-dns-addr will have default port 53
fixes #683
2021-11-15 12:27:47 +08:00
zonyitoo 54e834a116 release v1.12.1 v1.12.1 2021-11-11 17:07:00 +08:00
zonyitoo dbb1dadf37 release v1.12.1-alpha.1 v1.12.1-alpha.1 2021-11-09 23:37:08 +08:00
zonyitoo e8a8f65a9b install upx when building mips targets, fixes #674 2021-11-09 23:26:56 +08:00
zonyitoo b7387858cc ACL regex auto-converting support rules like ^\.*\.eu$ 2021-11-09 12:37:34 +08:00
zonyitoo 7b30cddcb8 bump shadowsocks-service to v1.12.1 2021-11-09 10:35:15 +08:00
zonyitoo 0135ca6151 skip ACL rules with non-ASCII characters
ref #669
2021-11-09 10:35:15 +08:00
zonyitoo 2022ca6670 ACL regex rules convert to tree-rules or set-rules
ref #669
2021-11-09 10:35:15 +08:00
dependabot[bot] fc6c8f466b Bump serde_json from 1.0.68 to 1.0.69
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.68 to 1.0.69.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.68...v1.0.69)

---
updated-dependencies:
- dependency-name: serde_json
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-08 23:26:16 +08:00
dependabot[bot] a7d7bc43bd Bump iprange from 0.6.4 to 0.6.6
Bumps [iprange](https://github.com/sticnarf/iprange-rs) from 0.6.4 to 0.6.6.
- [Release notes](https://github.com/sticnarf/iprange-rs/releases)
- [Commits](https://github.com/sticnarf/iprange-rs/compare/v0.6.4...v0.6.6)

---
updated-dependencies:
- dependency-name: iprange
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-08 23:26:03 +08:00
zonyitoo da6473be09 servers created from command-line should have tcp_only default mode
fixes #670
2021-11-08 18:30:47 +08:00
Zimo Li 4ba514ebf6 spelling: simultaneously 2021-11-05 08:42:31 +08:00
Zimo LiandZimo Li 183b4bf0ca Fix spelling (#667)
* spelling: active

* spelling: availability

* spelling: because

* spelling: behavior

* spelling: browsers

* spelling: excessive

* spelling: extended

* spelling: insecure

* spelling: miscellaneous

* *spelling: negotiate

* spelling: particular

* spelling: readiness

* spelling: recommended

* spelling: response

* spelling: respectively

* spelling: reassemble

* spelling: Shadowsocks

* spelling: simultaneously

* spelling: silent

* spelling: stabilized

* spelling: unexpectedly

* *spelling: UNEXPECTEDLY

Co-authored-by: Zimo Li <lzm0@users.noreply.github.com>
2021-11-05 01:17:24 +08:00
zonyitoo cfd6863502 release v1.12.0 v1.12.0 2021-11-04 11:56:12 +08:00
zonyitoo e84c0a6393 reference to showcase projects, #375, #393, #664 2021-11-02 12:53:34 +08:00
realies fc3696e1d5 add v2ray-plugin image example 2021-11-01 01:07:57 +08:00
zonyitoo 577b526564 upgrade tokio-tfo v0.1.6 2021-10-31 02:15:50 +08:00
zonyitoo cea69c2d15 upgrade rustls 0.20 2021-10-31 00:44:49 +08:00
zonyitoo 1e36f6865b remove unnecessary half-open timeout in 5 seconds
TCP allows half open connections. And all we need is keep-alive.
2021-10-30 20:33:08 +08:00
zonyitoo 94001ed2b8 put ErrorKind into Android only blocks 2021-10-25 22:23:22 +08:00
zonyitoo 6945ccfb1f fix build on Android
fixes #659
2021-10-25 22:15:20 +08:00
dependabot[bot] 991dc536c6 Bump tokio-tfo from 0.1.3 to 0.1.4
Bumps [tokio-tfo](https://github.com/zonyitoo/tokio-tfo) from 0.1.3 to 0.1.4.
- [Release notes](https://github.com/zonyitoo/tokio-tfo/releases)
- [Commits](https://github.com/zonyitoo/tokio-tfo/compare/v0.1.3...v0.1.4)

---
updated-dependencies:
- dependency-name: tokio-tfo
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-25 22:12:43 +08:00
dependabot[bot] 9899a366c6 Bump hyper from 0.14.13 to 0.14.14
Bumps [hyper](https://github.com/hyperium/hyper) from 0.14.13 to 0.14.14.
- [Release notes](https://github.com/hyperium/hyper/releases)
- [Changelog](https://github.com/hyperium/hyper/blob/master/CHANGELOG.md)
- [Commits](https://github.com/hyperium/hyper/compare/v0.14.13...v0.14.14)

---
updated-dependencies:
- dependency-name: hyper
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-25 22:12:29 +08:00
Prajwal Koirala 68521d52e2 Update rustfmt.toml 2021-10-25 12:58:26 +08:00
Prajwal Koirala 6e4d435637 Update Cargo.toml 2021-10-25 12:58:26 +08:00
zonyitoo 34ccb5e165 release v1.12.0-alpha.10 v1.12.0-alpha.10 2021-10-23 21:16:25 +08:00
zonyitoo e46d57936f support outbound-bind-interface for Windows 2021-10-23 17:32:15 +08:00
John 949310edaa update for deprecating u8::MAX and usize::max_value() 2021-10-23 16:06:39 +08:00
zonyitoo 0be46acf0f fix manager windows build warnings 2021-10-23 13:23:42 +08:00
zonyitoo bf4664e7c2 migrate TFO to separate tokio-tfo crate 2021-10-23 11:53:01 +08:00