Commit Graph
1359 Commits
Author SHA1 Message Date
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
database64128 22e26407ba 📚 Update README.md
- Remove references to deprecated simple-obfs
- Mention dual-stack socket listener
- Clarify how timeout works
- Hide stream ciphers list in an expandable session
2021-03-04 20:14:23 +08:00
zonyitoo 2ddf150999 set SO_REUSEPORT for UDP redir sockets for sending responds
different sources may receive packets from the same destination, so
SO_REUSEPORT have to be set, or we will get EADDRINUSE
2021-03-04 14:22:47 +08:00
zonyitoo 94ef9faec8 add release aarch64-unknown-linux-musl 2021-03-04 00:00:33 +08:00
kimw 5d8a2a5ed6 Update debian/changelog (v1.9.1) 2021-03-02 09:27:14 +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 510b4886b6 mips removes opt-level=z
binary size have no significant differences
2021-02-27 03:27:31 +08:00
zonyitoo a4c6081cc3 suppress warning when disable all features 2021-02-26 19:17:02 +08:00
zonyitoo f1f895e511 release v1.9.1 v1.9.1 2021-02-26 19:06:02 +08:00
zonyitoo 93506f00af Fixed bug, UdpSocket::from_std requires socket to be non-blocked 2021-02-26 18:34:35 +08:00
zonyitoo 7f86e362f0 remote AVX for compatibility of Intel based routers
ref #426
2021-02-26 11:46:02 +08:00
zonyitoo da2713eb37 comments about supported CPUs 2021-02-23 09:56:46 +08:00
kimw 22053c2336 Update debian/changelog 2021-02-22 19:05:29 +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 v1.9.0 2021-02-22 09:31:24 +08:00
zonyitoo 0f81561f2f suppress warning of unused Result 2021-02-19 11:20:11 +08:00
zonyitoo 61b36e71d0 set dual stack mode for IPv6 unspecified addr listener 2021-02-19 10:41:21 +08:00
zonyitoo 9927cf621b updated rust toolchain to 2021-02-14 2021-02-16 13:29:40 +08:00
zonyitoo 65d325ddc5 updated dependencies 2021-02-16 13:23:59 +08:00
dependabot-preview[bot] 55bf2544ae Bump env_logger from 0.8.2 to 0.8.3
Bumps [env_logger](https://github.com/env-logger-rs/env_logger) from 0.8.2 to 0.8.3.
- [Release notes](https://github.com/env-logger-rs/env_logger/releases)
- [Changelog](https://github.com/env-logger-rs/env_logger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/env-logger-rs/env_logger/compare/v0.8.2...v0.8.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-16 13:15:57 +08:00
dependabot-preview[bot] debc6823d8 Bump libc from 0.2.85 to 0.2.86
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.85 to 0.2.86.
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.85...0.2.86)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-16 13:15:46 +08:00
dependabot-preview[bot] 04cad929ec Bump lru_time_cache from 0.11.6 to 0.11.7
Bumps [lru_time_cache](https://github.com/maidsafe/lru_time_cache) from 0.11.6 to 0.11.7.
- [Release notes](https://github.com/maidsafe/lru_time_cache/releases)
- [Changelog](https://github.com/maidsafe/lru_time_cache/blob/master/CHANGELOG.md)
- [Commits](https://github.com/maidsafe/lru_time_cache/compare/v0.11.6...v0.11.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-16 13:15:39 +08:00
dependabot-preview[bot] 9a4f72e571 Bump tower from 0.4.4 to 0.4.5
Bumps [tower](https://github.com/tower-rs/tower) from 0.4.4 to 0.4.5.
- [Release notes](https://github.com/tower-rs/tower/releases)
- [Commits](https://github.com/tower-rs/tower/compare/tower-0.4.4...tower-0.4.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-16 13:15:26 +08:00
zonyitoo 39c8d5fb3c resolved OUTBOUND_BIND_INTERFACE duplication
ref shadowsocks/shadowsocks-android#2667
2021-02-08 09:33:53 +08:00
zonyitoo 63be38deca updated tokio 2021-02-07 09:33:17 +08:00
zonyitoo 0b9ad113ad updated dependencies 2021-02-06 00:04:03 +08:00
zonyitoo 1bb86e47b0 set IP_BOUND_IF for darwin (macos) 2021-02-06 00:03:08 +08:00
zonyitoo 4c2e212b8b update README 2021-02-04 11:02:05 +08:00
zonyitoo 26432b7ae5 update dependencies 2021-02-04 09:11:09 +08:00