Commit Graph
1938 Commits
Author SHA1 Message Date
zonyitoo c2bc06c2ba check AtomicU64 with target_has_atomic, fixed #924 2022-08-16 18:04:17 +08:00
dependabot[bot] 027ef081ce Bump clap from 3.2.14 to 3.2.16
Bumps [clap](https://github.com/clap-rs/clap) from 3.2.14 to 3.2.16.
- [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.14...v3.2.16)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-03 13:21:05 +08:00
dependabot[bot] 64e9176478 Bump async-trait from 0.1.56 to 0.1.57
Bumps [async-trait](https://github.com/dtolnay/async-trait) from 0.1.56 to 0.1.57.
- [Release notes](https://github.com/dtolnay/async-trait/releases)
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.56...0.1.57)

---
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-08-03 13:20:57 +08:00
dependabot[bot] 059dca6d0a Bump arc-swap from 1.5.0 to 1.5.1
Bumps [arc-swap](https://github.com/vorner/arc-swap) from 1.5.0 to 1.5.1.
- [Release notes](https://github.com/vorner/arc-swap/releases)
- [Changelog](https://github.com/vorner/arc-swap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/vorner/arc-swap/compare/v1.5.0...v1.5.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-03 13:20:49 +08:00
dependabot[bot] 7b1e792bd7 Bump bytes from 1.2.0 to 1.2.1
Bumps [bytes](https://github.com/tokio-rs/bytes) from 1.2.0 to 1.2.1.
- [Release notes](https://github.com/tokio-rs/bytes/releases)
- [Changelog](https://github.com/tokio-rs/bytes/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tokio-rs/bytes/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-03 13:20:37 +08:00
dependabot[bot] 5ba94dcf53 Bump etherparse from 0.11.0 to 0.12.0
Bumps [etherparse](https://github.com/JulianSchmid/etherparse) from 0.11.0 to 0.12.0.
- [Release notes](https://github.com/JulianSchmid/etherparse/releases)
- [Changelog](https://github.com/JulianSchmid/etherparse/blob/master/changelog.md)
- [Commits](https://github.com/JulianSchmid/etherparse/compare/0.11.0...0.12.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-25 22:19:26 +08:00
zonyitoo f8a957bcd4 updated dependencies 2022-07-22 22:54:29 +08:00
zonyitoo ca0e85d367 put CC inline v1.15.0-alpha.8 2022-07-20 01:23:50 +08:00
zonyitoo b0af7df6b2 override before add target 2022-07-20 00:52:21 +08:00
zonyitoo 04166795f6 docker build with nightly 2022-07-20 00:38:51 +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
v1.15.0-alpha.7
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
dependabot[bot] 60668a55d4 Bump etherparse from 0.10.1 to 0.11.0
Bumps [etherparse](https://github.com/JulianSchmid/etherparse) from 0.10.1 to 0.11.0.
- [Release notes](https://github.com/JulianSchmid/etherparse/releases)
- [Changelog](https://github.com/JulianSchmid/etherparse/blob/master/changelog.md)
- [Commits](https://github.com/JulianSchmid/etherparse/compare/0.10.1...0.11.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-19 11:16:19 +08:00
dependabot[bot] f6fd547684 Bump nix from 0.24.1 to 0.24.2
Bumps [nix](https://github.com/nix-rust/nix) from 0.24.1 to 0.24.2.
- [Release notes](https://github.com/nix-rust/nix/releases)
- [Changelog](https://github.com/nix-rust/nix/blob/v0.24.2/CHANGELOG.md)
- [Commits](https://github.com/nix-rust/nix/compare/v0.24.1...v0.24.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-19 11:16:05 +08:00
zonyitoo ee4430112e v1.15.0-alpha.6 v1.15.0-alpha.6 2022-07-18 00:12:37 +08:00
zonyitoo f533195d01 updated dependencies 2022-07-17 20:45:07 +08:00
zonyitoo e972f082e5 ignore TCP_REDIR, UDP_REDIR if not supported on the current platform 2022-07-17 20:33:17 +08:00
Hotaru Oyng 0540912d47 Fix typo in file 'dns_resolver.rs'. 2022-07-12 18:18:01 +08:00
ValdikSS c5f7caab8d Update broken Wiki/documentation URLs 2022-07-07 17:14:48 +08:00
zonyitoo bfd043735e no warning for running from root user
It is Ok to run sslocal, ssmanager, ssserver from root user unless there
are bugs and security holes in these programs which are lethal to the
system.
2022-07-06 06:15:47 +08:00
dependabot[bot] 50459340e7 Bump once_cell from 1.12.1 to 1.13.0
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.12.1 to 1.13.0.
- [Release notes](https://github.com/matklad/once_cell/releases)
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.12.1...v1.13.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-05 13:30:34 +08:00
dependabot[bot] 739b49bc4b Bump once_cell from 1.12.0 to 1.12.1
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.12.0 to 1.12.1.
- [Release notes](https://github.com/matklad/once_cell/releases)
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.12.0...v1.12.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-05 08:30:37 +08:00
dependabot[bot] 87bdacc2db Bump pin-project from 1.0.10 to 1.0.11
Bumps [pin-project](https://github.com/taiki-e/pin-project) from 1.0.10 to 1.0.11.
- [Release notes](https://github.com/taiki-e/pin-project/releases)
- [Changelog](https://github.com/taiki-e/pin-project/blob/main/CHANGELOG.md)
- [Commits](https://github.com/taiki-e/pin-project/compare/v1.0.10...v1.0.11)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-05 08:30:28 +08:00
dependabot[bot] 8655fa3fa6 Bump sendfd from 0.4.1 to 0.4.3
Bumps [sendfd](https://github.com/standard-ai/sendfd) from 0.4.1 to 0.4.3.
- [Release notes](https://github.com/standard-ai/sendfd/releases)
- [Commits](https://github.com/standard-ai/sendfd/compare/0.4.1...0.4.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-05 08:30:18 +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
dependabot[bot] 7f527412ce Bump serde_json from 1.0.81 to 1.0.82
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.81 to 1.0.82.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.81...v1.0.82)

---
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-07-05 08:29:51 +08:00
ty 5916909ebd Revert "add yield to loop for udp relay down stream speed low"
This reverts commit fd4f1f178a.
2022-06-29 16:58:09 +08:00
vndroid ed4bea6558 Update
- Builder based environment move to Alpine
- Final image update to 3.16
2022-06-29 16:46:27 +08:00
vndroid 7ce6945c78 Minor update
- Remove useless configuration.
- Docker container running as root user, the program running as nobody user
2022-06-29 16:46:27 +08:00
zonyitoo 59e80ff1fe move Dockerfile to workspace root 2022-06-29 01:36:34 +08:00
zonyitoo 0f72001378 fallback getpwnam if uid not exists 2022-06-29 00:41:50 +08:00
zonyitoo 64ad58bd61 switch user with -a, docker adds entrypoint script, #876 2022-06-29 00:31:57 +08:00
Loki Wang fd4f1f178a add yield to loop for udp relay down stream speed low 2022-06-29 00:19:40 +08:00
zonyitoo b7afef5b68 aead-2022 tcp client no check nonce replay 2022-06-28 18:10:03 +08:00
zonyitoo a4955a198b improve ServerUser log format 2022-06-25 16:26:03 +08:00
zonyitoo 66dec4eed2 udp eih user opt with Arc shared instance 2022-06-25 01:59:06 +08:00
zonyitoo 2c9b313e17 remove unnecessary hint in recv log 2022-06-24 23:46:50 +08:00
zonyitoo d7c0c48376 update dependencies 2022-06-24 12:54:17 +08:00
zonyitoo 03ce36fc55 make clippy happy 2022-06-24 12:49:36 +08:00
zonyitoo cab8d0fa2b chosen 2022-06-24 09:56:38 +08:00
spyophobia 1efb02ee6b Binaries spit out correct exit codes 2022-06-23 23:38:03 +08:00
zonyitoo a354622e83 precise ProtocolError representation 2022-06-23 23:34:16 +08:00
zonyitoo 83c400505f blake3 deps by config.rs 2022-06-20 20:22:33 +08:00
zonyitoo ac225f0f36 EXPERIMENTAL: AEAD-2022 Extensible Identity Headers
- https://github.com/Shadowsocks-NET/shadowsocks-specs/blob/main/2022-2-shadowsocks-2022-extensible-identity-headers.md

This is an experimental feature, which may be change in the future.

Supported methods: 2022-blake3-aes-128-gcm, 2022-blake3-aes-256-gcm
2022-06-20 16:30:05 +08:00
zonyitoo 92536e6bce update dependencies, MSRV 1.61 2022-06-18 00:48:09 +08:00
dependabot[bot] 9583f6b523 Bump snmalloc-rs from 0.3.0 to 0.3.1
Bumps [snmalloc-rs](https://github.com/SchrodingerZhu/snmalloc-rs) from 0.3.0 to 0.3.1.
- [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-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-14 10:00:11 +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
zonyitoo a1bfdd2864 Android tun doesn't have PI (#856) 2022-06-11 21:15:27 +08:00
zonyitoo 28be25ee75 Android doesn't support obtaining MTU from tun fd (#856) 2022-06-11 00:03:19 +08:00