zonyitoo
10e0c96ac1
delete unused manager nodelay
2021-02-02 13:42:16 +08:00
zonyitoo
a34ae200b3
fixed warning on Android
...
ref shadowsocks/shadowsocks-android#2667
2021-02-02 10:25:17 +08:00
dependabot-preview[bot]
6a65aae5b8
Bump notify from 5.0.0-pre.4 to 5.0.0-pre.5
...
Bumps [notify](https://github.com/notify-rs/notify ) from 5.0.0-pre.4 to 5.0.0-pre.5.
- [Release notes](https://github.com/notify-rs/notify/releases )
- [Changelog](https://github.com/notify-rs/notify/blob/main/CHANGELOG.md )
- [Commits](https://github.com/notify-rs/notify/compare/v5.0.0-pre.4...v5.0.0-pre.5 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2021-02-02 09:40:11 +08:00
dependabot-preview[bot]
1e2f68ab91
Bump tokio from 1.1.0 to 1.1.1
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.1.0...tokio-1.1.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2021-02-02 08:44:54 +08:00
dependabot-preview[bot]
4bb1792979
Bump libc from 0.2.83 to 0.2.84
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.83 to 0.2.84.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.83...0.2.84 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2021-02-02 08:44:43 +08:00
zonyitoo
be6049f35b
set timeout for VpnService.protect() for UDP sockets
...
ref shadowsocks/shadowsocks-android#2667
2021-02-01 09:19:01 +08:00
zonyitoo
b723abd616
use server's timeout setting as connect() timeout
2021-01-29 13:21:27 +08:00
zonyitoo
621d4740e2
set timeout for protect() of Android's VpnService
...
ref shadowsocks/shadowsocks-android#2667
2021-01-29 12:44:14 +08:00
zonyitoo
3e771f717e
renamed disable to disabled
...
ref https://github.com/shadowsocks/shadowsocks-rust/discussions/402
2021-01-28 15:11:00 +08:00
spyophobia
559db6599d
Lazy server disable implementation ( #401 )
...
* Lazy server disable implementation
See shadowsocks/shadowsocks-rust#394
* Don't use filter & collect
* Updated README
* Example in Configuration section
2021-01-27 20:35:39 +08:00
zonyitoo
7b2121045c
pass-through tcp & udp dns server's result to upper caller
2021-01-26 14:38:18 +08:00
dependabot-preview[bot]
05aca6974c
Bump tower from 0.4.3 to 0.4.4
...
Bumps [tower](https://github.com/tower-rs/tower ) from 0.4.3 to 0.4.4.
- [Release notes](https://github.com/tower-rs/tower/releases )
- [Commits](https://github.com/tower-rs/tower/compare/tower-0.4.3...tower-0.4.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2021-01-25 17:07:03 +08:00
dependabot-preview[bot]
dfa794b77b
Bump lru_time_cache from 0.11.3 to 0.11.5
...
Bumps [lru_time_cache](https://github.com/maidsafe/lru_time_cache ) from 0.11.3 to 0.11.5.
- [Release notes](https://github.com/maidsafe/lru_time_cache/releases )
- [Changelog](https://github.com/maidsafe/lru_time_cache/blob/master/CHANGELOG.md )
- [Commits](https://github.com/maidsafe/lru_time_cache/compare/v0.11.3...v0.11.5 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2021-01-25 16:42:02 +08:00
dependabot-preview[bot]
d73c29d214
Bump futures from 0.3.9 to 0.3.12
...
Bumps [futures](https://github.com/rust-lang/futures-rs ) from 0.3.9 to 0.3.12.
- [Release notes](https://github.com/rust-lang/futures-rs/releases )
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.9...0.3.12 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2021-01-25 16:41:51 +08:00
dependabot-preview[bot]
7eca69cba5
Bump serde from 1.0.118 to 1.0.122
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.118 to 1.0.122.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.118...v1.0.122 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2021-01-25 16:41:39 +08:00
dependabot-preview[bot]
97bd5ae24c
Bump tokio from 1.0.2 to 1.1.0
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.0.2 to 1.1.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.0.2...tokio-1.1.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2021-01-25 16:41:26 +08:00
zonyitoo
61de565486
socks5 UDP association should return fake UDP bind addr if tcp only
...
fixes shadowsocks/shadowsocks-android#2665
2021-01-23 11:28:10 +08:00
zonyitoo
bd7fcc236d
opt balancer TimeOut error message
2021-01-22 08:59:47 +08:00
database64128
c2adae933b
🏓 Ping balancer: treat ping timeouts as failures
...
- Treat timeouts as failures, so requests that receive no response count as failures.
- Increase check timeout from 2s to 5s to avoid penalties on slow servers.
- Increase check interval from 6s to 10s.
2021-01-22 08:56:42 +08:00
zonyitoo
3094ec62bb
Linux auto-reload /etc/resolv.conf when using trust-dns
...
- temporary bypassed bluejekyll/trust-dns#1132
2021-01-19 16:21:51 +08:00
dependabot-preview[bot] and ty
e8732dd37f
Bump rand from 0.8.1 to 0.8.2 ( #390 )
...
Bumps [rand](https://github.com/rust-random/rand ) from 0.8.1 to 0.8.2.
- [Release notes](https://github.com/rust-random/rand/releases )
- [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-random/rand/compare/0.8.1...0.8.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: ty <zonyitoo@users.noreply.github.com >
2021-01-18 17:50:12 +08:00
dependabot-preview[bot] and ty
504fe3b000
Bump tower from 0.4.2 to 0.4.3 ( #389 )
...
Bumps [tower](https://github.com/tower-rs/tower ) from 0.4.2 to 0.4.3.
- [Release notes](https://github.com/tower-rs/tower/releases )
- [Commits](https://github.com/tower-rs/tower/commits/tower-0.4.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: ty <zonyitoo@users.noreply.github.com >
2021-01-18 17:28:23 +08:00
dependabot-preview[bot] and ty
3a1c56a84b
Bump bytes from 1.0.0 to 1.0.1 ( #388 )
...
Bumps [bytes](https://github.com/tokio-rs/bytes ) from 1.0.0 to 1.0.1.
- [Release notes](https://github.com/tokio-rs/bytes/releases )
- [Changelog](https://github.com/tokio-rs/bytes/blob/master/CHANGELOG.md )
- [Commits](https://github.com/tokio-rs/bytes/compare/v1.0.0...v1.0.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: ty <zonyitoo@users.noreply.github.com >
2021-01-18 17:27:46 +08:00
dependabot-preview[bot] and ty
9b6ecb3cf4
Bump spin from 0.7.0 to 0.7.1 ( #387 )
...
Bumps [spin](https://github.com/mvdnes/spin-rs ) from 0.7.0 to 0.7.1.
- [Release notes](https://github.com/mvdnes/spin-rs/releases )
- [Changelog](https://github.com/mvdnes/spin-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mvdnes/spin-rs/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: ty <zonyitoo@users.noreply.github.com >
2021-01-18 17:27:29 +08:00
dependabot-preview[bot]
1d28f09c33
Bump tokio from 1.0.1 to 1.0.2 ( #386 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.0.1...tokio-1.0.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-01-18 17:25:54 +08:00
dependabot-preview[bot]
6c7c5fec1a
Bump tower from 0.3.1 to 0.4.2 ( #383 )
...
Bumps [tower](https://github.com/tower-rs/tower ) from 0.3.1 to 0.4.2.
- [Release notes](https://github.com/tower-rs/tower/releases )
- [Commits](https://github.com/tower-rs/tower/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-01-12 10:42:51 +08:00
dependabot-preview[bot] and ty
78aba280ca
Bump pin-project from 1.0.3 to 1.0.4 ( #381 )
...
Bumps [pin-project](https://github.com/taiki-e/pin-project ) from 1.0.3 to 1.0.4.
- [Release notes](https://github.com/taiki-e/pin-project/releases )
- [Changelog](https://github.com/taiki-e/pin-project/blob/master/CHANGELOG.md )
- [Commits](https://github.com/taiki-e/pin-project/compare/v1.0.3...v1.0.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: ty <zonyitoo@users.noreply.github.com >
2021-01-12 09:21:11 +08:00
zonyitoo
1ac8e2fd50
Bypasses local DNS queries including server domain names
...
- ref shadowsocks/shadowsocks-android#2301
2021-01-11 15:23:52 +08:00
zonyitoo
dd830c70ae
allow customizing worker-threads for multi-threaded scheduler
...
fixes #379
2021-01-09 10:43:11 +08:00
zonyitoo
9000b31ffb
Disable deprecated stream ciphers by default
...
- Enable stream ciphers explicitly with stream-cipher feature
- Upgraded shadowsocks-crypto to v0.1.2
fixes #373
2021-01-04 23:09:12 +08:00
zonyitoo
47169d6fc1
BREAKING: completely deprecated local-dns-relay and single-threaded features
2021-01-04 22:01:34 +08:00
zonyitoo
d41404cbf9
Revert deprecation of UDS local DNS
...
- ref shadowsocks/shadowsocks-android#2650
- Server's builtin DNS will not use local-dns-addr
2021-01-04 19:43:47 +08:00
zonyitoo
7bf6d320a7
uses multi-threaded to enable tokio's multi-thread runtime
...
- single-threaded is kept for compatible
2021-01-03 11:21:29 +08:00
zonyitoo
0cf0cf0ab2
pick best tcp server right before connect()
2021-01-03 02:32:42 +08:00
zonyitoo
1920fd0f39
add back warning for strea cipher deprecation
2021-01-03 01:32:46 +08:00
zonyitoo
9e4d43ccd3
acl regex rules should be case insensitive
2021-01-03 00:49:14 +08:00
zonyitoo
a1bfc0d15d
build release for mips-unknown-linux-gnu #370
2021-01-03 00:05:27 +08:00
zonyitoo
93c8133fb7
fix mips flow.rs build error
...
ref #370
2021-01-02 23:35:35 +08:00
zonyitoo
c1bb097cfa
Start single-threaded mode with command opt
2021-01-02 21:09:49 +08:00
zonyitoo
8fd7a00115
use nightly-2020-12-29
2020-12-31 22:32:35 +08:00
zonyitoo
c1b6bb5c50
compatible with MIPS and PowerPC for non-supported AtomicU64
2020-12-31 22:28:26 +08:00
zonyitoo
7467d51f99
update toolchain nightly-2020-12-30
2020-12-31 21:40:43 +08:00
zonyitoo
04791a5d85
disable non-commonly used CPU features
2020-12-31 21:09:02 +08:00
zonyitoo
9abf3847c1
check UDP packet's data length before decrypt_packet
...
fixes shadowsocks/crypto2#8
2020-12-31 19:58:22 +08:00
zonyitoo
474e57a331
unified local UDP association implementation
...
NOTE: Every time when sending packets back to local listener will
require an allocation of Box<Pin<Future>> because GAT is not stablized
yet.
2020-12-31 13:07:34 +08:00
zonyitoo
e048bc2f34
trust-dns-resolver requires explicit enables feature dns-over-https-rustls
...
fix #367
2020-12-30 15:36:09 +08:00
zonyitoo
2a92ab8324
ci tests with rust-toolchain file
2020-12-30 15:09:04 +08:00
zonyitoo
75c28313ea
disable https by default, let users to choose which TLS library to use
2020-12-30 10:09:34 +08:00
zonyitoo
38b5f831c7
enable h2 for native-tls https
2020-12-30 01:46:40 +00:00
zonyitoo
2bcc40c4f7
upgrade to trust-dns-resolver v0.20 release
2020-12-30 09:16:20 +08:00