zonyitoo
18d042fa57
default config relative path only required if $PWD doesnt exist
2021-11-27 21:24:41 +08:00
zonyitoo
5292a25db3
refine documents
2021-11-27 19:21:41 +08:00
zonyitoo
2767f4ecdd
shadowsocks-service v1.12.3 should deps on shadowsocks v1.12.2
2021-11-27 17:51:39 +08:00
zonyitoo
9a5b90db50
fixed ssservice in Makefile
2021-11-27 17:45:33 +08:00
zonyitoo
89d9e66338
ssservice support symlinked by sslocal, ssserver, ssmanager
2021-11-27 17:36:16 +08:00
zonyitoo
77b2489a80
add missing logs from binaries
2021-11-27 17:36:16 +08:00
zonyitoo
8e84b51b6d
default configuration path includes $PWD/config.json
...
ref #700
2021-11-27 17:36:16 +08:00
zonyitoo
02b9ad74ca
make clippy happy
2021-11-27 17:36:16 +08:00
zonyitoo
e0bdcd76da
logging default configuration file path
...
ref #668 , #700
2021-11-27 17:36:16 +08:00
zonyitoo
c0c41a0670
add missing AcceptOpts on Windows TCP redir
2021-11-27 17:36:16 +08:00
zonyitoo
486e1d7279
Local, Server & Manager unified binary ssservice
...
- fixes #698
- Refactored shadowsocks-rust crate structure. Common code are put into
a separated library
2021-11-27 17:36:16 +08:00
zonyitoo
17d8475ceb
support ipv6_only socket option (IPV6_V6ONLY)
...
This is useful for creating multiple local / server instances listening
on both `::` and `0.0.0.0` with the same port.`
Listener sockets (both TCP and UDP) in redir local is now
IPV6_V6ONLY=1 because transparent proxies couldn't handle V4 and V6
packets simultaneously properly.
2021-11-27 15:10:07 +08:00
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 Li and Zimo 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