Commit Graph
259 Commits
Author SHA1 Message Date
dependabot[bot] 0842e2811b Bump thiserror from 1.0.24 to 1.0.25
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.24 to 1.0.25.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.24...1.0.25)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-24 18:54:26 +08:00
zonyitoo 3431d1a984 update rust toolchain to 2021-05-21, ref shadowsocks/crypto2#22 2021-05-22 12:10:37 +08:00
dependabot[bot] e9869ee2f8 Bump trust-dns-resolver from 0.20.2 to 0.20.3
Bumps [trust-dns-resolver](https://github.com/bluejekyll/trust-dns) from 0.20.2 to 0.20.3.
- [Release notes](https://github.com/bluejekyll/trust-dns/releases)
- [Changelog](https://github.com/bluejekyll/trust-dns/blob/v0.20.3/CHANGELOG.md)
- [Commits](https://github.com/bluejekyll/trust-dns/compare/v0.20.2...v0.20.3)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-17 21:50:46 +08:00
zonyitoo a3b74ee9d6 update toolchain nightly-2021-05-11 2021-05-16 01:08:53 +08:00
zonyitoo f0f1ab59cd properly set available redir types for TCP and UDP separately 2021-05-15 00:40:21 +08:00
zonyitoo 0af3aff112 release v1.11.0 2021-05-14 12:44:49 +08:00
dependabot[bot] 98833da94a Bump url from 2.2.1 to 2.2.2
Bumps [url](https://github.com/servo/rust-url) from 2.2.1 to 2.2.2.
- [Release notes](https://github.com/servo/rust-url/releases)
- [Commits](https://github.com/servo/rust-url/compare/v2.2.1...v2.2.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-10 18:54:30 +08:00
zonyitoo e8fd2c6a9d updated dependencies 2021-05-07 11:36:22 +08:00
zonyitoo 6c75ce19f4 support snmalloc and rpmalloc 2021-05-07 11:35:35 +08:00
zonyitoo e167d7814f reverted LFU strategy for UDP management
LFU cache was getting more troubles than benefits
2021-04-28 23:06:07 +08:00
ty 4dfcc8e036 Manage UDP associations with LFU strategy (#506)
* manage UDP associations with LFU

- DNS associations could be evicted firstly then others like HTTP/3

* UDP redir caches inbound non-local socket

- Optimization: prevent creating new sockets for the same remotes

* updated libc to v0.2.94 for unified TCP options

* make clippy happy

* Pin lfu-cache to v1.2.1 for edward-shen/lfu-cache#2

* UDP target should cache with expiration 1hrs

* UDP tunnel test with an echo server

- CI crashes occasionally because of 8.8.8.8:53 doesn't respond
2021-04-28 01:27:33 +08:00
ty 8a27bb296c support TFO on Linux, FreeBSD, macOS and Windows (#487)
- ref #184
2021-04-25 23:31:13 +08:00
zonyitoo df83d24c5f release v1.10.9 2021-04-23 23:58:08 +08:00
zonyitoo 665027a708 HTTP proxy preserves headers' title case
- fixes #491
- ref hyperium/hyper#2313
2021-04-23 10:27:04 +08:00
zonyitoo 49b7004d75 Removes non-standard AEAD ciphers that have variable nonce length
- ref shadowsocks-crypto v0.2.4
- release v1.10.8
2021-04-18 21:02:45 +08:00
zonyitoo c842557bc4 support sm4-gcm and sm4-ccm 2021-04-17 22:46:39 +08:00
zonyitoo 40764b70aa update shadowsocks-crypto to v0.2.1
- updated crypto2 to 0.1.2
- support AEAD extra ciphers with aead-cipher-extra
- fixes shadowsocks/shadowsocks-android#2663
- ref shadowsocks/shadowsocks-crypto#8
2021-04-17 21:28:24 +08:00
zonyitoo 67179c10ee rustls doesnt support webpki 0.22 2021-04-15 17:15:58 +08:00
zonyitoo ca85b6a65b make clippy happy
- allow clippy::collapsible_else_if, useful in separating feature blocks
2021-04-15 16:46:57 +08:00
dependabot-preview[bot] 18db10d766 Bump futures from 0.3.13 to 0.3.14
Bumps [futures](https://github.com/rust-lang/futures-rs) from 0.3.13 to 0.3.14.
- [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.13...0.3.14)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-12 17:33:42 +08:00
dependabot-preview[bot] e349a35b19 Bump webpki-roots from 0.21.1 to 0.22.0
Bumps [webpki-roots](https://github.com/ctz/webpki-roots) from 0.21.1 to 0.22.0.
- [Release notes](https://github.com/ctz/webpki-roots/releases)
- [Commits](https://github.com/ctz/webpki-roots/compare/v/0.21.1...v/0.22.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-12 17:33:38 +08:00
zonyitoo f805b5d350 Fixed bug, concatenated buffer kept available before first write successfully 2021-04-10 09:22:53 +08:00
zonyitoo 1746c624fc release v1.10.4 2021-04-09 17:25:04 +08:00
zonyitoo fff5600d02 release v1.10.3 2021-04-07 09:55:40 +08:00
zonyitoo 1bc978e86a updated dependencies
- libc v0.2.93, fixes #472, rust-lang/socket2#213
2021-04-07 09:48:16 +08:00
dependabot-preview[bot] f2413a3dc6 Bump webpki-roots from 0.21.0 to 0.21.1
Bumps [webpki-roots](https://github.com/ctz/webpki-roots) from 0.21.0 to 0.21.1.
- [Release notes](https://github.com/ctz/webpki-roots/releases)
- [Commits](https://github.com/ctz/webpki-roots/compare/v/0.21.0...v/0.21.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-05 16:52:46 +08:00
zonyitoo 81cd368172 replaced lazy_static with once_cell 2021-04-02 10:19:20 +08:00
dependabot-preview[bot] 7e08ccf152 Bump hyper from 0.14.4 to 0.14.5
Bumps [hyper](https://github.com/hyperium/hyper) from 0.14.4 to 0.14.5.
- [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.4...v0.14.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-29 21:53:55 +08:00
zonyitoo 7b493baa71 fixed basic config format mode for local instance
- release v1.10.2
2021-03-28 11:13:01 +08:00
zonyitoo 32640208fa release v1.10.1 2021-03-26 23:00:04 +08:00
zonyitoo 703a98b550 Updated rust 2021-03-25 14:26:16 +08:00
zonyitoo c6d70f3786 PingBalancer fixed 2nd check after sleep
- Updated shadowsocks-crypto to v0.2.0
- Updated other dependencies with minor changes
2021-03-23 14:21:42 +08:00
zonyitoo 614640ca14 updated tokio to v1.4 and bloomfilter to v1.0.5 2021-03-22 16:52:09 +08:00
dependabot-preview[bot] bf409c20a1 Bump spin from 0.8.0 to 0.9.0
Bumps [spin](https://github.com/mvdnes/spin-rs) from 0.8.0 to 0.9.0.
- [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>
2021-03-19 17:45:33 +08:00
zonyitoo d8e9d150c2 Updated dependencies, fixes #459 2021-03-19 12:29:40 +08:00
zonyitoo 4e8e4fe75e updated dependencies, spin v0.8, trust-dns supports quad9_https predefined DNS 2021-03-16 18:25:23 +08:00
zonyitoo fd926bb8d7 update socket2 to v0.4
- Domain uses IPV4 and IPV6
- Type uses DGRAM
- Protocol uses UDP and TCP
- into_udp_socket uses Into::into

fixes #456
2021-03-15 16:15:06 +08:00
zonyitoo 435de948b9 updated dependencies, tokio v1.3 2021-03-14 17:09:41 +08:00
zonyitoo 6bebb6c6c0 support multiple local servers in configuration file
ref #452

- support `locals` in configuration file, running multiple local server
  instance simultaneously
- support `unix://` in `dns` configuration

BREAKING CHANGE:

- `sslocal`'s `--dns-addr` is now only available in Android
- shadowsocks-service's `Config` struct have lots of changes
2021-03-14 17:09:41 +08:00
dependabot-preview[bot] 9b5de89db5 Bump mimalloc from 0.1.24 to 0.1.25
Bumps [mimalloc](https://github.com/purpleprotocol/mimalloc_rust) from 0.1.24 to 0.1.25.
- [Release notes](https://github.com/purpleprotocol/mimalloc_rust/releases)
- [Commits](https://github.com/purpleprotocol/mimalloc_rust/compare/v0.1.24...v0.1.25)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-08 20:24:57 +08:00
dependabot-preview[bot] 788797631a Bump serde from 1.0.123 to 1.0.124
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.123 to 1.0.124.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.123...v1.0.124)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-08 20:24:49 +08:00
dependabot-preview[bot] 4e23b37e52 Bump libc from 0.2.87 to 0.2.88
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.87 to 0.2.88.
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.87...0.2.88)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-08 20:24:43 +08:00
dependabot-preview[bot] 36c3de019e Bump async-trait from 0.1.45 to 0.1.47
Bumps [async-trait](https://github.com/dtolnay/async-trait) from 0.1.45 to 0.1.47.
- [Release notes](https://github.com/dtolnay/async-trait/releases)
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.45...0.1.47)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-08 20:24:35 +08:00
zonyitoo 4a08d400f3 release v1.9.2 2021-03-06 01:19:53 +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 f1f895e511 release v1.9.1 2021-02-26 19:06:02 +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 2021-02-22 09:31:24 +08:00
zonyitoo 65d325ddc5 updated dependencies 2021-02-16 13:23:59 +08:00