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
zonyitoo
8114301555
UDP requests doesnt need replay protect
2021-09-29 09:59:27 +08:00
zonyitoo
9535f30755
Extendable replay attack protector
...
- Disable replay attack detecting by default
2021-09-29 02:55:14 +08:00
zonyitoo
1a3aac0c10
Revert "completely remove the behavior of replay attack detection"
...
This reverts commit 90f05a5a0b .
We still need replay attack protection in the future, so the Context
is still required in the whole API design.
2021-09-29 01:31:50 +08:00
zonyitoo
90f05a5a0b
completely remove the behavior of replay attack detection
...
ref #556
2021-09-28 16:02:33 +08:00
zonyitoo
3c63ecc9c5
make clippy happy, ResolverOpts initlalize with Default::default()
2021-09-26 21:26:10 +08:00
zonyitoo
94ba553336
fixed bug, TFO bind dummy IPv6 address should use SOCKADDR_IN6
2021-09-26 20:47:03 +08:00
Dean Li
1525a2463c
ci: Fix build release
2021-09-26 20:20:41 +08:00
zonyitoo
c0180289fa
set TFO queue length to 1024 in Linux for matching backlogs
2021-09-26 14:29:20 +08:00
zonyitoo
049c5c4374
lookup_then sorts resolved addrs by ipv6_first
v1.12.0-alpha.6
2021-09-25 23:51:37 +08:00
zonyitoo
c8d81dfca8
trust-dns lookup strategy Ipv4AndIpv6
2021-09-25 23:30:54 +08:00
zonyitoo
0c96cf5840
log BUILD_TIME and bump version to v1.12.0-alpha.5
v1.12.0-alpha.5
2021-09-25 23:20:33 +08:00
zonyitoo
e8acd8c6cf
Happy Eyeballs follows RFC6555 300ms
2021-09-25 22:10:42 +08:00
zonyitoo
00d2ecf902
make clippy happy
2021-09-25 02:51:49 +08:00
zonyitoo
2ff753562b
make clippy happy
2021-09-25 02:41:45 +08:00
zonyitoo
91a0386a5c
TCP connect with Happy Eyeballs strategy
...
- connect v4/v6 first respects to ipv6_first config key
- fixed 200ms delay after first connect try
2021-09-25 02:26:36 +08:00
Dean Li
ea868fcedf
CI: build check and release for Apple Silicon
2021-09-25 01:45:26 +08:00
database64128
afb94fced0
📛 OOCv1: name -> remarks
2021-09-23 12:25:01 +08:00
zonyitoo
6a88f30400
release v1.12.0-alpha.4
v1.12.0-alpha.4
2021-09-22 12:57:12 +08:00
zonyitoo
5029279f72
Partially support OOCv1 shadowsocks server block
...
OOCv1: https://github.com/Shadowsocks-NET/OpenOnlineConfig/blob/master/docs/0002-open-online-config-v1-shadowsocks.md
Couldn't support "pluginName" because "plugin" is now used as a path
2021-09-21 19:04:40 +08:00
dependabot[bot]
0522f5784c
Bump json5 from 0.3.0 to 0.4.0
...
Bumps [json5](https://github.com/callum-oakley/json5-rs ) from 0.3.0 to 0.4.0.
- [Release notes](https://github.com/callum-oakley/json5-rs/releases )
- [Commits](https://github.com/callum-oakley/json5-rs/compare/0.3.0...0.4.0 )
---
updated-dependencies:
- dependency-name: json5
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-09-21 18:17:03 +08:00
zonyitoo
799922c775
update dependencies
2021-09-19 12:32:06 +08:00
Y0ba and zonyitoo
b2167b6289
Only match lowercase and ascii domains ( #630 )
...
* Only match lowercase and ascii domains
* Fix clippy warnings
* Make conversion in check_outbound_blocked to
* unified ACL public APIs to convert hosts to ASCII
* trim FQDN last dot
* optimize Rules Debug message length
* DNS server check ACL FQDN directly
* trim whitespaces in rules
* fix comment
Co-authored-by: zonyitoo <zonyitoo@gmail.com >
2021-09-19 12:28:07 +08:00
Y0ba
731e613a60
Refactor AccessControl::load_from_file and add ascii check for all matchers
2021-09-19 01:08:38 +08:00
Y0ba
9121583ce6
Use byte regexes to fix compiltation error
2021-09-19 01:08:38 +08:00
Y0ba
4500d46e3e
Disable unicode matching in ACL rules
2021-09-18 15:22:03 +08:00
Y0ba
afa143db50
Add hashset and domains tree support to ACL rules
2021-09-18 15:22:03 +08:00
dependabot[bot]
abdf7edf89
Bump notify from 5.0.0-pre.12 to 5.0.0-pre.13
...
Bumps [notify](https://github.com/notify-rs/notify ) from 5.0.0-pre.12 to 5.0.0-pre.13.
- [Release notes](https://github.com/notify-rs/notify/releases )
- [Changelog](https://github.com/notify-rs/notify/blob/main/CHANGELOG.md )
- [Commits](https://github.com/notify-rs/notify/commits )
---
updated-dependencies:
- dependency-name: notify
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-09-14 09:58:22 +08:00
zonyitoo
c4a660f07b
release v1.12.0-alpha.3
v1.12.0-alpha.3
2021-09-11 17:20:19 +08:00
zonyitoo
885c32d41b
update rust toolchain to 2021-09-10
2021-09-11 16:30:53 +08:00
zonyitoo
21e2a4a65b
prevent unnecessary ping probing when servers configured with mode
...
ref #620
2021-09-10 17:44:37 +08:00