Commit Graph

2053 Commits

Author SHA1 Message Date
zonyitoo
16f280cd75 release v1.15.4 v1.15.4 2023-07-07 00:33:14 +08:00
zonyitoo
15c540d9fb fix buffer memory alignment
fix #1239

backport from v1.16
2023-07-07 00:28:04 +08:00
zonyitoo
9767c3b05e release v1.15.3 v1.15.3 2023-03-13 00:32:34 +08:00
zonyitoo
549ffd3a76 local-tun: Manage TCP socket state properly
- close() only once when shutting down sender
- read() returns EOF when local client closed our receiver
- ref #1138
2023-03-13 00:32:30 +08:00
zonyitoo
08bf30a285 local-tun: wake poll thread on every read/write calls
- ref #1138
2023-03-13 00:32:24 +08:00
vndroid
23182d0435 Update docker base image
- Update base image to alpine 3.17
2023-03-10 12:45:33 +08:00
zonyitoo
b382920c81 relax requirement of base64 padding in configuration
- allow non-canonical base64
- unify base64 engine in shadowsocks crate
- ref shadowsocks/shadowsocks-android#2995
- ref
  243cafd41d
2023-02-26 12:15:45 +08:00
bran
18c08de882 macOS fix netmask API (#1118)
Co-authored-by: Bran Liang <lby89757@hotmai.com>
2023-02-26 11:42:15 +08:00
zonyitoo
7ab8844ebf update dependencies 2023-02-21 06:47:24 +08:00
riKirsti
872e994fd1 Fix UPX compression issue.
1.Fix the UPX compression issue in GitHub Actions.
2.Use upx --lzma --best instead of upx -9 to get better compression ratio.
2023-02-21 06:39:05 +08:00
dependabot[bot]
49df0ebbed Bump smoltcp from 0.8.2 to 0.9.1 (#1117) 2023-02-17 16:23:35 +00:00
dependabot[bot]
39de3bae7d Bump serde_json from 1.0.92 to 1.0.93 (#1115) 2023-02-15 08:34:08 +00:00
dependabot[bot]
b03f52d43a Bump tokio-native-tls from 0.3.0 to 0.3.1 (#1114) 2023-02-15 08:16:36 +00:00
dependabot[bot]
9ff5b583a5 Bump spin from 0.9.4 to 0.9.5 (#1116) 2023-02-15 07:56:26 +00:00
zonyitoo
622f01a93c local-redir converts IPv4-mapped-IPv6 to IPv4 for retry 2023-02-06 04:59:07 +08:00
zonyitoo
58c1761630 local-redir UDP compatible with Linux < 2.6.37
fix #988

IPV6_TRANSPARENT was supported since Linux Kernel 2.6.37.
2023-02-06 04:49:15 +08:00
ty
c0cb586e42 Revert " config: deny unknown fields"
This reverts commit 29991bcf7d.
2023-02-06 03:52:06 +08:00
zonyitoo
a9601f30f9 update dependencies 2023-02-06 03:41:21 +08:00
database64128
29991bcf7d config: deny unknown fields 2023-02-04 16:10:46 +08:00
dependabot[bot]
92c218d828 Bump notify from 5.0.0 to 5.1.0 (#1103) 2023-01-31 15:05:14 +00:00
ty
164762499e Set missing ipv6_first in manager
fix #1101
2023-01-30 12:47:00 +08:00
zonyitoo
1c9bac427e update dependencies 2023-01-29 00:17:51 +08:00
Bran Liang
02f87ba9cc Enable tun destination configuration 2023-01-28 13:30:56 +08:00
dependabot[bot]
f514f4defc Bump windows-sys from 0.42.0 to 0.45.0 (#1096) 2023-01-23 17:44:35 +00:00
dependabot[bot]
a6ebdb6967 Bump async-trait from 0.1.61 to 0.1.63 (#1097) 2023-01-23 17:31:37 +00:00
dependabot[bot]
c3c0727850 Bump nix from 0.26.1 to 0.26.2 (#1098) 2023-01-23 17:16:31 +00:00
dependabot[bot]
c87eadbb72 Bump clap from 4.0.32 to 4.1.1 (#1091)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-16 23:49:05 +08:00
Kirill Fertikov
fe817a1cbb #1088 disable snap daemons by default 2023-01-16 16:40:29 +08:00
dependabot[bot]
5430fecc28 Bump base64 from 0.13.1 to 0.21.0 (#1081)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tim Xylon <zedifen@outlook.com>
Co-authored-by: zonyitoo <zonyitoo@gmail.com>
2023-01-15 22:50:14 +08:00
dependabot[bot]
de3b932cb4 Bump mimalloc from 0.1.32 to 0.1.34 (#1079) 2023-01-13 08:20:26 +00:00
dependabot[bot]
a47335e891 Bump ipnet from 2.7.0 to 2.7.1 (#1080) 2023-01-13 08:00:17 +00:00
hanwei
3948d6d496 bugfix: salt recheck will cause duplicated iv/salt error 2023-01-13 15:41:36 +08:00
zonyitoo
163b2d2a35 update dependencies 2023-01-07 21:37:05 +08:00
zonyitoo
d826b0a8d8 Support outbound socket options in configuration
- outbound_fwmark
- outbound_user_cookie
- outbound_bind_interface
- outbound_bind_addr
2023-01-07 21:33:00 +08:00
dependabot[bot]
8b3d1b5998 Bump sysexits from 0.3.4 to 0.4.0 (#1073) 2023-01-02 14:17:01 +00:00
dependabot[bot]
7faea232f8 Bump arc-swap from 1.5.1 to 1.6.0 (#1074) 2023-01-02 14:04:06 +00:00
dependabot[bot]
5545f4d7ab Bump once_cell from 1.16.0 to 1.17.0 (#1072) 2023-01-02 13:47:41 +00:00
dependabot[bot]
594a26356e Bump num_cpus from 1.14.0 to 1.15.0
Bumps [num_cpus](https://github.com/seanmonstar/num_cpus) from 1.14.0 to 1.15.0.
- [Release notes](https://github.com/seanmonstar/num_cpus/releases)
- [Changelog](https://github.com/seanmonstar/num_cpus/blob/master/CHANGELOG.md)
- [Commits](https://github.com/seanmonstar/num_cpus/compare/v1.14.0...v1.15.0)

---
updated-dependencies:
- dependency-name: num_cpus
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-26 21:12:56 +08:00
dependabot[bot]
fd26912c8b Bump clap from 4.0.29 to 4.0.32
Bumps [clap](https://github.com/clap-rs/clap) from 4.0.29 to 4.0.32.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v4.0.29...v4.0.32)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-26 21:10:34 +08:00
zonyitoo
acc80ee41c homebrew v1.15.2 2022-12-24 14:35:12 +08:00
zonyitoo
e5f0ab9518 release v1.15.2 v1.15.2 2022-12-24 14:28:36 +08:00
zonyitoo
0d44694e67 cargo fmt 2022-12-22 00:46:33 +08:00
zonyitoo
857da6d1bb clippy --fix style & potential bugs
- DNS /etc/resolv.conf auto reloader exit directly if file not exists
- socks5 PasswdAuthResponse::read_from didn't await
2022-12-22 00:44:05 +08:00
zonyitoo
85c99b9b32 ACL IP rules compatible with IPv4-mapped-IPv6
fix #1060
2022-12-20 14:57:51 +08:00
dependabot[bot]
9523eecb6c Bump serde_json from 1.0.89 to 1.0.91
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.89 to 1.0.91.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.89...v1.0.91)

---
updated-dependencies:
- dependency-name: serde_json
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-20 09:54:19 +08:00
dependabot[bot]
4d5f6c7b14 Bump thiserror from 1.0.37 to 1.0.38
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.37 to 1.0.38.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.37...1.0.38)

---
updated-dependencies:
- dependency-name: thiserror
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-20 09:54:09 +08:00
dependabot[bot]
ba0a3e0758 Bump async-trait from 0.1.59 to 0.1.60
Bumps [async-trait](https://github.com/dtolnay/async-trait) from 0.1.59 to 0.1.60.
- [Release notes](https://github.com/dtolnay/async-trait/releases)
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.59...0.1.60)

---
updated-dependencies:
- dependency-name: async-trait
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-20 09:53:39 +08:00
zonyitoo
e3855b4a8d clippy --fix 2022-12-18 11:32:46 +08:00
zonyitoo
26a04b9c0c build nightly with cargo-zigbuild 2022-12-17 21:09:58 +08:00
zonyitoo
3b802b0453 release v1.15.1, prebuilt releases use stable Rust
ref #1053
ref shadowsocks/shadowsocks-android#2966
v1.15.1
2022-12-17 20:26:47 +08:00