Commit Graph
1441 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
zonyitoo 2a5cdb0ec3 separated local configuration 2021-05-21 13:06:47 +08:00
zonyitoo 1fc226594d update README client command line options, fixes #532 2021-05-21 10:14:57 +08:00
zonyitoo 016d40cd29 better format of genipset 2021-05-19 23:56:28 +08:00
zonyitoo a8a2f0f8bc add local-dns feature in README, fixes #530 2021-05-19 15:31:41 +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 c9b81c3dbe add ip6tables config for redir 2021-05-16 22:22:03 +08:00
zonyitoo 39c484f264 fixed clippy warnings 2021-05-16 01:27:14 +08:00
zonyitoo a3b74ee9d6 update toolchain nightly-2021-05-11 2021-05-16 01:08:53 +08:00
zonyitoo a213db5b3a add release script for nightly builds 2021-05-15 00:54:29 +08:00
zonyitoo d74e607fba update readme 2021-05-15 00:43:31 +08:00
zonyitoo f0f1ab59cd properly set available redir types for TCP and UDP separately 2021-05-15 00:40:21 +08:00
kimw c7c4557101 Update changelog 2021-05-14 12:48:12 +08:00
zonyitoo 0af3aff112 release v1.11.0 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 7342501a73 compiling with stable rustc is back to TODO
- fixes #512
2021-05-08 17:26:24 +08:00
zonyitoo 9ef26b57e4 avoid divide by zero, limits user weight to EPSILON 2021-05-07 13:43:40 +08:00
zonyitoo b06391c7b3 bypassing DNS queries of remote servers' address
- ref shadowsocks/shadowsocks-android#2722
2021-05-07 13:32:47 +08:00
zonyitoo d476ef35b0 fixed score calculation, user_weight should be divider 2021-05-07 12:44:14 +08:00
zonyitoo 032aba58fa make clippy happy 2021-05-07 11:55:16 +08:00
zonyitoo e8fd2c6a9d updated dependencies 2021-05-07 11:36:22 +08:00
zonyitoo e8772950fb allow customizing servers' weight for balancer
- fixes #510
2021-05-07 11:35:35 +08:00
zonyitoo 6c75ce19f4 support snmalloc and rpmalloc 2021-05-07 11:35:35 +08:00
dependabot-preview[bot] 13fc28d23c Upgrade to GitHub-native Dependabot 2021-04-29 10:04:42 +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
zonyitoo f86fbe4fad upgrade toolchain to 2021-04-24 2021-04-28 16:20:13 +08:00
zonyitoo 10f8e30b92 tests based on HTTP should read status line only 2021-04-28 15:59:11 +08:00
zonyitoo 04bddab6c0 record every resolved target SocketAddr 2021-04-28 14:48:39 +08:00
zonyitoo 7b3415f3b4 trigger CI to address dead lock 2021-04-28 14:29:38 +08:00
zonyitoo d69a2fa544 add recv log for UDP remote-to-local task 2021-04-28 13:06:34 +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
zonyitoo 89b329c1ed send syn after 500ms if TFO is enabled for server
- ref #232
2021-04-26 00:38:08 +08:00
ty 8a27bb296c support TFO on Linux, FreeBSD, macOS and Windows (#487)
- ref #184
2021-04-25 23:31:13 +08:00
kimw 3d2ff1f5f3 Update changelog
1. Add new line on change log v1.10.6 which is required
2. Remove miss adding change log v1.10.2
3. Fix sign line, which should leading with only one space, not two spaces
4. Add change log time from v1.10.2 to v1.10.9, BTW.

PS. the sign line, for example `-- Y. T. Chung <zonyitoo@gmail.com>  Thu, 25 Mar 2021 18:10:00 +0800`, should  lead by one space only.
2021-04-25 10:02:55 +08:00
zonyitoo 423bde10a9 enable features for docrs 2021-04-24 00:24:35 +08:00
zonyitoo abfd9edb58 updated debian changelog 2021-04-24 00:05:09 +08:00
zonyitoo df83d24c5f release v1.10.9 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
v1.10.8
2021-04-18 21:02:45 +08:00
zonyitoo 9977eb724e update README about aead-cipher-extra 2021-04-17 23:42:11 +08:00
pexcn 5d5ea2b679 changelog: fix typo 2021-04-17 23:39:21 +08:00
zonyitoo c842557bc4 support sm4-gcm and sm4-ccm v1.10.7 2021-04-17 22:46:39 +08:00
zonyitoo 682b685235 release v1.10.6 v1.10.6 2021-04-17 21:45:46 +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 bbf8fb30a3 make clippy happier 2021-04-15 18:44:59 +08:00
zonyitoo 1d3e6b77fe fixed local-redir compatibility build on windows 2021-04-15 17:58:29 +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
zonyitoo a79517af6c Lower log level of early EOF while handshaking
- ref #490
- Enable clippy on github action
2021-04-15 14:12:46 +08:00