1341 Commits
Author SHA1 Message Date
zonyitoo 4a08d400f3 release v1.9.2 v1.9.2 2021-03-06 01:19:53 +08:00
zonyitoo ac192d32e9 setting SO_MARK on redir send-back socket 2021-03-06 00:04:01 +08:00
zonyitoo a021cc4c1e check repeated salt after first successful decryption
fixes #442
2021-03-05 16:44:33 +08:00
database64128 22e26407ba 📚 Update README.md
- Remove references to deprecated simple-obfs
- Mention dual-stack socket listener
- Clarify how timeout works
- Hide stream ciphers list in an expandable session
2021-03-04 20:14:23 +08:00
zonyitoo 2ddf150999 set SO_REUSEPORT for UDP redir sockets for sending responds
different sources may receive packets from the same destination, so
SO_REUSEPORT have to be set, or we will get EADDRINUSE
2021-03-04 14:22:47 +08:00
zonyitoo 94ef9faec8 add release aarch64-unknown-linux-musl 2021-03-04 00:00:33 +08:00
kimw 5d8a2a5ed6 Update debian/changelog (v1.9.1) 2021-03-02 09:27:14 +08:00
dependabot-preview[bot] 414aafcadf Bump tower from 0.4.5 to 0.4.6
Bumps [tower](https://github.com/tower-rs/tower) from 0.4.5 to 0.4.6.
- [Release notes](https://github.com/tower-rs/tower/releases)
- [Commits](https://github.com/tower-rs/tower/compare/tower-0.4.5...tower-0.4.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-01 18:32:38 +08:00
dependabot-preview[bot] 12d87bf26e Bump serde_json from 1.0.63 to 1.0.64
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.63 to 1.0.64.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.63...v1.0.64)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-01 18:32:28 +08:00
zonyitoo 510b4886b6 mips removes opt-level=z
binary size have no significant differences
2021-02-27 03:27:31 +08:00
zonyitoo a4c6081cc3 suppress warning when disable all features 2021-02-26 19:17:02 +08:00
zonyitoo f1f895e511 release v1.9.1 v1.9.1 2021-02-26 19:06:02 +08:00
zonyitoo 93506f00af Fixed bug, UdpSocket::from_std requires socket to be non-blocked 2021-02-26 18:34:35 +08:00
zonyitoo 7f86e362f0 remote AVX for compatibility of Intel based routers
ref #426
2021-02-26 11:46:02 +08:00
zonyitoo da2713eb37 comments about supported CPUs 2021-02-23 09:56:46 +08:00
kimw 22053c2336 Update debian/changelog 2021-02-22 19:05:29 +08:00
dependabot-preview[bot] ec927e6f1f Bump nix from 0.19.1 to 0.20.0
Bumps [nix](https://github.com/nix-rust/nix) from 0.19.1 to 0.20.0.
- [Release notes](https://github.com/nix-rust/nix/releases)
- [Changelog](https://github.com/nix-rust/nix/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nix-rust/nix/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-22 16:09:27 +08:00
zonyitoo b3de247652 ready for publishing v1.9.0 v1.9.0 2021-02-22 09:31:24 +08:00
zonyitoo 0f81561f2f suppress warning of unused Result 2021-02-19 11:20:11 +08:00
zonyitoo 61b36e71d0 set dual stack mode for IPv6 unspecified addr listener 2021-02-19 10:41:21 +08:00
zonyitoo 9927cf621b updated rust toolchain to 2021-02-14 2021-02-16 13:29:40 +08:00
zonyitoo 65d325ddc5 updated dependencies 2021-02-16 13:23:59 +08:00
dependabot-preview[bot] 55bf2544ae Bump env_logger from 0.8.2 to 0.8.3
Bumps [env_logger](https://github.com/env-logger-rs/env_logger) from 0.8.2 to 0.8.3.
- [Release notes](https://github.com/env-logger-rs/env_logger/releases)
- [Changelog](https://github.com/env-logger-rs/env_logger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/env-logger-rs/env_logger/compare/v0.8.2...v0.8.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-16 13:15:57 +08:00
dependabot-preview[bot] debc6823d8 Bump libc from 0.2.85 to 0.2.86
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.85 to 0.2.86.
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.85...0.2.86)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-16 13:15:46 +08:00
dependabot-preview[bot] 04cad929ec Bump lru_time_cache from 0.11.6 to 0.11.7
Bumps [lru_time_cache](https://github.com/maidsafe/lru_time_cache) from 0.11.6 to 0.11.7.
- [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.6...v0.11.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-16 13:15:39 +08:00
dependabot-preview[bot] 9a4f72e571 Bump tower from 0.4.4 to 0.4.5
Bumps [tower](https://github.com/tower-rs/tower) from 0.4.4 to 0.4.5.
- [Release notes](https://github.com/tower-rs/tower/releases)
- [Commits](https://github.com/tower-rs/tower/compare/tower-0.4.4...tower-0.4.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-16 13:15:26 +08:00
zonyitoo 39c8d5fb3c resolved OUTBOUND_BIND_INTERFACE duplication
ref shadowsocks/shadowsocks-android#2667
2021-02-08 09:33:53 +08:00
zonyitoo 63be38deca updated tokio 2021-02-07 09:33:17 +08:00
zonyitoo 0b9ad113ad updated dependencies 2021-02-06 00:04:03 +08:00
zonyitoo 1bb86e47b0 set IP_BOUND_IF for darwin (macos) 2021-02-06 00:03:08 +08:00
zonyitoo 4c2e212b8b update README 2021-02-04 11:02:05 +08:00
zonyitoo 26432b7ae5 update dependencies 2021-02-04 09:11:09 +08:00
zonyitoo 69fea0a9c9 enables "std" feature of "spin" for yielding threads when spinning
fixes #408
2021-02-04 09:09:03 +08:00
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