Commit Graph
1421 Commits
Author SHA1 Message Date
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
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 50286dc9d9 free the memory of clap after parsing options
- --nofile is now only existed in *nix build except Android
2021-04-11 20:03:04 +08:00
zonyitoo 468207e0c1 support --udp-timeout and --udp-max-associations in ssmanager (#494)
- renamed --no-delay to --tcp-no-delay
2021-04-11 17:44:19 +08:00
zonyitoo f805b5d350 Fixed bug, concatenated buffer kept available before first write successfully v1.10.5 2021-04-10 09:22:53 +08:00
zonyitoo 1746c624fc release v1.10.4 v1.10.4 2021-04-09 17:25:04 +08:00
zonyitoo 8e54d9940e fixed bug. ProxyClientStream write may missed the addr if send() returns EAGAIN 2021-04-09 17:20:00 +08:00
zonyitoo c4f0687309 support "protocol" in basic configuration format
- fixes #485
2021-04-07 22:21:46 +08:00
zonyitoo fff5600d02 release v1.10.3 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
zonyitoo 470319d726 add homebrew build script 2021-04-06 10:01:49 +08:00
zonyitoo dee933e614 add ipset generataor 2021-04-06 09:12:10 +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
DuckSoft b0de896c16 don't panic when sip002 account is invalid 2021-04-01 17:05:19 +08:00
DuckSoft 8ff69772ee fix sip002 wiki url 2021-04-01 16:19:40 +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
v1.10.2
2021-03-28 11:13:01 +08:00
zonyitoo a2a5a66d10 fixed compile warnings 2021-03-27 00:16:51 +08:00
zonyitoo ff28d9b03c add changelog for deb 2021-03-27 00:13:23 +08:00