Commit Graph
1396 Commits
Author SHA1 Message Date
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
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