Commit Graph
1607 Commits
Author SHA1 Message Date
zonyitoo 2022ca6670 ACL regex rules convert to tree-rules or set-rules
ref #669
2021-11-09 10:35:15 +08:00
dependabot[bot] fc6c8f466b Bump serde_json from 1.0.68 to 1.0.69
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.68 to 1.0.69.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.68...v1.0.69)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-08 23:26:16 +08:00
dependabot[bot] a7d7bc43bd Bump iprange from 0.6.4 to 0.6.6
Bumps [iprange](https://github.com/sticnarf/iprange-rs) from 0.6.4 to 0.6.6.
- [Release notes](https://github.com/sticnarf/iprange-rs/releases)
- [Commits](https://github.com/sticnarf/iprange-rs/compare/v0.6.4...v0.6.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-08 23:26:03 +08:00
zonyitoo da6473be09 servers created from command-line should have tcp_only default mode
fixes #670
2021-11-08 18:30:47 +08:00
Zimo Li 4ba514ebf6 spelling: simultaneously 2021-11-05 08:42:31 +08:00
Zimo LiandZimo Li 183b4bf0ca Fix spelling (#667)
* spelling: active

* spelling: availability

* spelling: because

* spelling: behavior

* spelling: browsers

* spelling: excessive

* spelling: extended

* spelling: insecure

* spelling: miscellaneous

* *spelling: negotiate

* spelling: particular

* spelling: readiness

* spelling: recommended

* spelling: response

* spelling: respectively

* spelling: reassemble

* spelling: Shadowsocks

* spelling: simultaneously

* spelling: silent

* spelling: stabilized

* spelling: unexpectedly

* *spelling: UNEXPECTEDLY

Co-authored-by: Zimo Li <lzm0@users.noreply.github.com>
2021-11-05 01:17:24 +08:00
zonyitoo cfd6863502 release v1.12.0 v1.12.0 2021-11-04 11:56:12 +08:00
zonyitoo e84c0a6393 reference to showcase projects, #375, #393, #664 2021-11-02 12:53:34 +08:00
realies fc3696e1d5 add v2ray-plugin image example 2021-11-01 01:07:57 +08:00
zonyitoo 577b526564 upgrade tokio-tfo v0.1.6 2021-10-31 02:15:50 +08:00
zonyitoo cea69c2d15 upgrade rustls 0.20 2021-10-31 00:44:49 +08:00
zonyitoo 1e36f6865b remove unnecessary half-open timeout in 5 seconds
TCP allows half open connections. And all we need is keep-alive.
2021-10-30 20:33:08 +08:00
zonyitoo 94001ed2b8 put ErrorKind into Android only blocks 2021-10-25 22:23:22 +08:00
zonyitoo 6945ccfb1f fix build on Android
fixes #659
2021-10-25 22:15:20 +08:00
dependabot[bot] 991dc536c6 Bump tokio-tfo from 0.1.3 to 0.1.4
Bumps [tokio-tfo](https://github.com/zonyitoo/tokio-tfo) from 0.1.3 to 0.1.4.
- [Release notes](https://github.com/zonyitoo/tokio-tfo/releases)
- [Commits](https://github.com/zonyitoo/tokio-tfo/compare/v0.1.3...v0.1.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-25 22:12:43 +08:00
dependabot[bot] 9899a366c6 Bump hyper from 0.14.13 to 0.14.14
Bumps [hyper](https://github.com/hyperium/hyper) from 0.14.13 to 0.14.14.
- [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.13...v0.14.14)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-25 22:12:29 +08:00
Prajwal Koirala 68521d52e2 Update rustfmt.toml 2021-10-25 12:58:26 +08:00
Prajwal Koirala 6e4d435637 Update Cargo.toml 2021-10-25 12:58:26 +08:00
zonyitoo 34ccb5e165 release v1.12.0-alpha.10 v1.12.0-alpha.10 2021-10-23 21:16:25 +08:00
zonyitoo e46d57936f support outbound-bind-interface for Windows 2021-10-23 17:32:15 +08:00
John 949310edaa update for deprecating u8::MAX and usize::max_value() 2021-10-23 16:06:39 +08:00
zonyitoo 0be46acf0f fix manager windows build warnings 2021-10-23 13:23:42 +08:00
zonyitoo bf4664e7c2 migrate TFO to separate tokio-tfo crate 2021-10-23 11:53:01 +08:00
dependabot[bot] 6915ce9591 Bump mio from 0.7.13 to 0.7.14
Bumps [mio](https://github.com/tokio-rs/mio) from 0.7.13 to 0.7.14.
- [Release notes](https://github.com/tokio-rs/mio/releases)
- [Changelog](https://github.com/tokio-rs/mio/blob/v0.7.14/CHANGELOG.md)
- [Commits](https://github.com/tokio-rs/mio/compare/v0.7.13...v0.7.14)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-18 22:21:13 +08:00
zonyitoo fe7fbfc382 fixed ssserver reporting to manager listening on UDS
- fixes #649
2021-10-16 14:29:09 +08:00
zonyitoo fa4a6928c1 fixed warning & update dependencies 2021-10-15 20:30:25 +08:00
zonyitoo a9e2f372c4 support ssmanager server standalone mode
- fixes #648
- allow restarting ssmanager without killing all running ssservers
2021-10-15 19:02:18 +08:00
dependabot[bot] 9cba0ba85b Bump thiserror from 1.0.29 to 1.0.30
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.29 to 1.0.30.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.29...1.0.30)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-11 23:26:06 +08:00
dependabot[bot] e744255f4f Bump snmalloc-rs from 0.2.27 to 0.2.28
Bumps [snmalloc-rs](https://github.com/SchrodingerZhu/snmalloc-rs) from 0.2.27 to 0.2.28.
- [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>
2021-10-11 23:25:53 +08:00
zonyitoo c21e12cc26 check http TCP mode in check_integrity 2021-10-08 08:26:55 +08:00
zonyitoo e2b3477952 release v1.12.0-alpha.9 v1.12.0-alpha.9 2021-10-08 08:21:28 +08:00
spyophobia cba7fa4c3b daemon starts in pwd (#640)
This is the default behavior when not daemonizing.
2021-10-08 03:44:47 +08:00
zonyitoo 964102391b fixed bug, check TCP mode enabled only for HTTP 2021-10-08 01:28:43 +08:00
zonyitoo a77ea0b304 make clippy happy, update dependencies 2021-10-08 01:24:07 +08:00
zonyitoo 593630833c Revert "remove chroot when daemonizing (#640)"
This reverts commit 862a8a78b7.
2021-10-08 01:16:06 +08:00
zonyitoo 42451a3e39 fixed bug. auto-reload "servers" should also reload plugins 2021-10-08 01:10:58 +08:00
zonyitoo 862a8a78b7 remove chroot when daemonizing (#640) 2021-10-08 00:13:55 +08:00
zonyitoo 76dfdbaaf6 print errno if daemonize failed 2021-10-08 00:03:24 +08:00
zonyitoo edfea66783 release v1.12.0-alpha.8 v1.12.0-alpha.8 2021-10-06 23:36:05 +08:00
zonyitoo 27f4493ab3 fix windows build issue 2021-10-06 21:02:12 +08:00
zonyitoo eff38530d7 replace checker task according to servers number
- optimize memory consumption
2021-10-06 20:54:02 +08:00
zonyitoo 62d14451db compatible with old API run_local 2021-10-06 02:40:14 +08:00
zonyitoo 3fdad5a401 reload config "servers" in runtime for sslocal
- Trigger reload with signal SIGUSR1
- run_local is replaced by create_local then call run() on Server
instance
- DNS resolver reloader won't trigger multiple time when
/etc/resolv.conf changed in 1 second
2021-10-06 02:33:00 +08:00
dependabot[bot] 52eb8c4f32 Bump nix from 0.22.2 to 0.23.0
Bumps [nix](https://github.com/nix-rust/nix) from 0.22.2 to 0.23.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/compare/v0.22.2...v0.23.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-04 23:06:24 +08:00
zonyitoo e431722561 configurable balancer max_server_rtt, check_interval 2021-10-04 00:37:15 +08:00
zonyitoo 665e717531 Aarch64 +aes implicit pmull feature
https://gcc.gnu.org/onlinedocs/gcc/AArch64-Options.html#aarch64-feature-modifiers

https://github.com/rust-lang/rust/issues/89365
2021-09-30 10:48:38 +08:00
zonyitoo 0470360af2 override nightly toolchain for project build 2021-09-29 12:49:32 +08:00
zonyitoo 3d6e4dd5a4 aarch64-apple-darwin release script fix 2021-09-29 12:25:08 +08:00
zonyitoo 1c14bc9855 release v1.12.0-alpha.7 v1.12.0-alpha.7 2021-09-29 10:08:59 +08:00
zonyitoo 15d29d132f update dependencies 2021-09-29 10:02:54 +08:00