Commit Graph
1388 Commits
Author SHA1 Message Date
DuckSoft 0151f6ac71 workaround(http): make http header case sensitive
https://github.com/shadowsocks/shadowsocks-rust/discussions/491
2021-04-11 07:54:15 +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
zonyitoo 32640208fa release v1.10.1 v1.10.1 2021-03-26 23:00:04 +08:00
zonyitoo ab7d19df64 ProtocolType::Dns exists only if feature local-dns enabled
- fixes #469
2021-03-26 19:59:34 +08:00
zonyitoo 7cd59966e3 sslocal checks instance argument requirements 2021-03-26 16:17:15 +08:00
zonyitoo d5dd6305a2 Updated changelog 2021-03-25 18:10:33 +08:00
zonyitoo 703a98b550 Updated rust v1.10.0 2021-03-25 14:26:16 +08:00
zonyitoo 0b1630d1c6 msg_controllen has type socklen_t in musl and ulibc arm 2021-03-23 22:00:48 +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
zonyitoo 74bbd385de improve README.md 2021-03-22 09:42:15 +08:00
zonyitoo 587e566fa3 convert libc sockaddr to SocketAddr explicitly
SocketAddr may not have the same layout as libc, rust-lang/rust#78802

- fixes #462
- ref tokio-rs/mio#1388, rust-lang/socket2#120
2021-03-22 09:35:45 +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 46a51c877f manager mode should be set after parameter MANAGER_ADDRESS 2021-03-14 20:57:48 +08:00
zonyitoo 4ee01c7c50 changes "locals" example to 4 spaces indentation 2021-03-14 18:05:38 +08:00
zonyitoo bdebe4a2a4 warning for misleading "local_address" in servers 2021-03-14 18:03:52 +08:00
zonyitoo 68d315ecd6 expose dns in command line options 2021-03-14 17:59:27 +08:00
zonyitoo 072f89d7c0 Updated README for extended local configuration, #452 2021-03-14 17:29:22 +08:00
zonyitoo 435de948b9 updated dependencies, tokio v1.3 2021-03-14 17:09:41 +08:00
zonyitoo dbe51e466d check server config is_basic 2021-03-14 17:09:41 +08:00
zonyitoo 0ac0f15459 allow setting mode independently for every locals and servers
ref #452

- adding `mode` in `locals` and `servers` extended format`
redir and tunnel supports customizing UDP binding address by `udp_addr`

BREAKING CHANGES:

- `sslocal` and `ssserver` command line option `-u` and `-U` can only
  control mode of command line specified local or server instance`
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
zonyitoo b632d35689 redir local converts IPv4-mapped IPv6 addresses to IPv4
- Dual-stack IPv6 will always return destination addresses in IPv4-mapped
  IPv6 addresses
2021-03-12 01:08:21 +08:00
Tianling Shen c2a6c20715 add release i386
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-11 09:26:11 +08:00
zonyitoo 7700c94ae0 print server remarks info when switching 2021-03-08 22:07:09 +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 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