Commit Graph
432 Commits
Author SHA1 Message Date
dependabot[bot] d4d6581322 chore(deps): bump byteorder from 1.4.3 to 1.5.0 (#1320) 2023-10-09 15:26:16 +00:00
zonyitoo 0c5f693e9a release v1.16.2 2023-09-23 14:41:57 +08:00
dependabot[bot] 202174108c chore(deps): bump clap from 4.4.2 to 4.4.4 (#1307) 2023-09-19 01:50:22 +00:00
zonyitoo 268e520a72 feat(sswinservice): Running ssservice as a Windows Service
ref #1292

https://learn.microsoft.com/en-us/windows/win32/services/about-services
2023-09-19 00:29:35 +08:00
zonyitoo c0ba7f044d fix(ssurl): make outline url optional
ref #1287
2023-09-12 01:26:06 +08:00
zonyitoo e8ea40c25e fix(ssurl): enable rustls only for x86, x86_64, aarch64 targets
ref #1287

Rustls (deps by reqwest) doesn't support all platforms, like MIPS.
2023-09-12 01:00:50 +08:00
zonyitoo e50635ce5f fix(ssurl): remove default dependency of OpenSSL 2023-09-11 23:40:36 +08:00
Sorochan Ilyaandk0tran a47fc19e08 ssurl: add support for SIP008 links (ssconf links with ss contents) (#1287)
Co-authored-by: k0tran <>
2023-09-07 13:25:48 +08:00
dependabot[bot] e9311b6767 chore(deps): bump sysexits from 0.6.3 to 0.7.1 (#1289) 2023-09-05 03:48:26 +00:00
zonyitoo 173cc6c858 release v1.16.1 2023-09-01 12:11:26 +08:00
dependabot[bot] fbe81b76ca chore(deps): bump nix from 0.26.2 to 0.27.1 (#1284) 2023-08-28 14:26:51 +00:00
dependabot[bot] 3815db5302 chore(deps): bump clap from 4.2.7 to 4.3.0 (#1199) 2023-05-30 01:20:27 +00:00
dependabot[bot] f19dc42bb1 chore(deps): bump sysexits from 0.5.0 to 0.6.0 (#1192) 2023-05-17 14:02:45 +00:00
dependabot[bot] a7af1c49e9 Bump xdg from 2.4.1 to 2.5.0 (#1181) 2023-05-02 14:36:26 +00:00
zonyitoo 2dff4ec4da trust-dns setsockopt with outbound socket configs
Outbound configurations, like outbound-fwmark, outbound-bind-interface,
         outbound-bind-addr, ... will also applies to the TCP/UDP
         sockets created by trust-dns DNS resolver.

NOTE: On Android platform, DNS sockets will also be protected.
2023-04-15 17:28:15 +08:00
dependabot[bot] 05b4d68901 Bump clap from 4.1.11 to 4.2.1 (#1166) 2023-04-04 02:03:40 +00:00
dependabot[bot] 4b2b64a78a Bump sysexits from 0.4.1 to 0.5.0 (#1168) 2023-04-04 01:50:03 +00:00
dependabot[bot] 91028db4a3 Bump directories from 4.0.1 to 5.0.0 (#1154) 2023-03-20 16:33:43 +00:00
dependabot[bot] 75f3522ad0 Bump daemonize from 0.4.1 to 0.5.0 (#1125) 2023-03-14 14:53:29 +00: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
  https://github.com/shadowsocks/shadowsocks-android/commit/243cafd41d0712da1f5693067f1f9b0fc6408645
2023-02-26 12:15:45 +08: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
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] 8b3d1b5998 Bump sysexits from 0.3.4 to 0.4.0 (#1073) 2023-01-02 14:17:01 +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
zonyitoo e5f0ab9518 release v1.15.2 2022-12-24 14:28:36 +08:00
zonyitoo 3b802b0453 release v1.15.1, prebuilt releases use stable Rust
ref #1053
ref shadowsocks/shadowsocks-android#2966
2022-12-17 20:26:47 +08:00
zonyitoo 8cfe8c1088 Build with stable Rust >= 1.64 2022-12-17 19:45:48 +08:00
zonyitoo 26696823bd release v1.15.0 2022-12-17 09:39:15 +08:00
dependabot[bot] 6ae23e1450 Bump ipnet from 2.6.0 to 2.7.0
Bumps [ipnet](https://github.com/krisprice/ipnet) from 2.6.0 to 2.7.0.
- [Release notes](https://github.com/krisprice/ipnet/releases)
- [Changelog](https://github.com/krisprice/ipnet/blob/master/RELEASES.md)
- [Commits](https://github.com/krisprice/ipnet/compare/2.6.0...2.7.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-13 10:01:10 +08:00
dependabot[bot] e1f96d4bed Bump env_logger from 0.9.3 to 0.10.0
Bumps [env_logger](https://github.com/rust-cli/env_logger) from 0.9.3 to 0.10.0.
- [Release notes](https://github.com/rust-cli/env_logger/releases)
- [Changelog](https://github.com/rust-cli/env_logger/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rust-cli/env_logger/compare/v0.9.3...v0.10.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-10 12:24:50 +08:00
zonyitoo bd5badbc2f upgrade shadowsocks-crypto
- AArch64 intrinsics are now available on stable rust since v1.59
- Upgrades rust-crypto to v0.10
2022-12-10 12:15:39 +08:00
zonyitoo c78e632954 removed unused shadowsocks-tools 2022-10-29 20:32:59 +08:00
zonyitoo 45cc770ef4 ssservice genkey, helper for generate encryption key 2022-10-17 22:29:35 +08:00
dependabot[bot] 10ff0e60e3 Bump log4rs from 1.1.1 to 1.2.0
Bumps [log4rs](https://github.com/estk/log4rs) from 1.1.1 to 1.2.0.
- [Release notes](https://github.com/estk/log4rs/releases)
- [Changelog](https://github.com/estk/log4rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/estk/log4rs/compare/v1.1.1...v1.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-17 22:01:28 +08:00
zonyitoo 7ddd09170a release v1.15.0-alpha.9 2022-10-08 20:32:57 +08:00
zonyitoo 817f106777 upgrade clap v4.0 2022-10-07 15:51:58 +08:00
database64128 26b2a1d657 🚮 Remove security-iv-printable-prefix feature
For https://github.com/shadowsocks/shadowsocks-org/issues/204.
2022-09-12 19:24:47 +08:00
zonyitoo afdbdd922c set PATH with MUSL bin 2022-07-20 00:10:36 +08:00
zonyitoo e1fc984fae v1.15.0-alpha.7
- https://github.com/shadowsocks/shadowsocks-crypto/issues/16
- Removed md5-asm, sha1-asm dependencies
2022-07-19 13:19:20 +08:00
dependabot[bot] 15920735f8 Bump rpassword from 6.0.1 to 7.0.0
Bumps [rpassword](https://github.com/conradkleinespel/rpassword) from 6.0.1 to 7.0.0.
- [Release notes](https://github.com/conradkleinespel/rpassword/releases)
- [Commits](https://github.com/conradkleinespel/rpassword/compare/v6.0.1...v7.0.0)

---
updated-dependencies:
- dependency-name: rpassword
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-19 11:16:27 +08:00
zonyitoo ee4430112e v1.15.0-alpha.6 2022-07-18 00:12:37 +08:00
dependabot[bot] 0ce1131d09 Bump clap from 3.2.7 to 3.2.8
Bumps [clap](https://github.com/clap-rs/clap) from 3.2.7 to 3.2.8.
- [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/v3.2.7...v3.2.8)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-05 08:30:04 +08:00
zonyitoo 92536e6bce update dependencies, MSRV 1.61 2022-06-18 00:48:09 +08:00
Shun Sakai f57d50659f Change the return type of the main function
Since Rust 1.61.0, the `main` function can return a type that
implements the `Termination` trait.
By this, the `main` function can return custom exit codes, so use this.
2022-06-13 11:26:50 +08:00
dependabot[bot] e84e76a682 Bump snmalloc-rs from 0.2.28 to 0.3.0
Bumps [snmalloc-rs](https://github.com/SchrodingerZhu/snmalloc-rs) from 0.2.28 to 0.3.0.
- [Release notes](https://github.com/SchrodingerZhu/snmalloc-rs/releases)
- [Changelog](https://github.com/SchrodingerZhu/snmalloc-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/SchrodingerZhu/snmalloc-rs/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-06 21:46:45 +08:00
zonyitoo c9f7a7b8ae properly handle IPv4-mapped-IPv6 target addresses in response
redir local will always use IPv6 sockets for sending back UDP packets.

server will convert IPv4-mapped-IPv6 to IPv4 for maximum compatibilty.

ref #855
2022-06-03 00:35:32 +08:00
dependabot[bot] 2107d3d6ae Bump jemallocator from 0.3.2 to 0.5.0
Bumps [jemallocator](https://github.com/tikv/jemallocator) from 0.3.2 to 0.5.0.
- [Release notes](https://github.com/tikv/jemallocator/releases)
- [Changelog](https://github.com/tikv/jemallocator/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tikv/jemallocator/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-30 21:54:41 +08:00
zonyitoo 2048cb1d51 AEAD-2022 TCP protocol breaking changes
1. Request Header (TYPE + TIMESTAMP + LENGTH) encrypted into 1 AEAD
   chunk
2. Response Header (TYPE + TIMESTAMP + REQUEST_SALT + LENGTH) encrypted
   into 1 AEAD chunk
3. Header MUST be read by 1 read() call
4. Reject with EOF/RST if failed to decrypt header

BREAKING: Not compatible with v1.15.0-alpha.1, v1.15.0-alpha.2,
  v1.15.0-alpha.3
2022-05-15 00:13:25 +08:00
zonyitoo fbb2090274 libc extra_traits have to be enabled 2022-05-08 21:46:32 +08:00
zonyitoo d4f2230094 nix 0.24.0 build failed on mips*-unknown-linux-musl targets
- https://github.com/nix-rust/nix/issues/1719
2022-05-08 21:32:17 +08:00