Commit Graph
1503 Commits
Author SHA1 Message Date
zonyitoo fc40cef2c3 ssmanager support default --plugin and --plugin-opts
- fixes #421
2021-08-17 17:35:36 +08:00
dependabot[bot] a5bf57a1de Bump nix from 0.22.0 to 0.22.1
Bumps [nix](https://github.com/nix-rust/nix) from 0.22.0 to 0.22.1.
- [Release notes](https://github.com/nix-rust/nix/releases)
- [Changelog](https://github.com/nix-rust/nix/blob/v0.22.1/CHANGELOG.md)
- [Commits](https://github.com/nix-rust/nix/compare/v0.22.0...v0.22.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-17 14:21:24 +08:00
dependabot[bot] cc047dfcef Bump native-tls from 0.2.7 to 0.2.8
Bumps [native-tls](https://github.com/sfackler/rust-native-tls) from 0.2.7 to 0.2.8.
- [Release notes](https://github.com/sfackler/rust-native-tls/releases)
- [Changelog](https://github.com/sfackler/rust-native-tls/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sfackler/rust-native-tls/compare/v0.2.7...v0.2.8)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-17 14:21:13 +08:00
dependabot[bot] b1eefe1a09 Bump socket2 from 0.4.0 to 0.4.1
Bumps [socket2](https://github.com/rust-lang/socket2) from 0.4.0 to 0.4.1.
- [Release notes](https://github.com/rust-lang/socket2/releases)
- [Changelog](https://github.com/rust-lang/socket2/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/socket2/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-02 22:26:59 +08:00
dependabot[bot] 32b8120473 Bump serde_json from 1.0.64 to 1.0.66
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.64 to 1.0.66.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.64...v1.0.66)

---
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-08-02 22:26:51 +08:00
dependabot[bot] 8c5cd04e6d Bump async-trait from 0.1.50 to 0.1.51
Bumps [async-trait](https://github.com/dtolnay/async-trait) from 0.1.50 to 0.1.51.
- [Release notes](https://github.com/dtolnay/async-trait/releases)
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.50...0.1.51)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-02 22:26:38 +08:00
zonyitoo 8ae5856a6e replaced AbortHandle in UDP redir & manager server 2021-08-01 23:03:32 +08:00
zonyitoo 059d7e5176 update toolchain nightly-2021-07-29 2021-07-31 01:50:05 +08:00
zonyitoo 5028f9a38b warn about dual-stack IPv4 port occupied 2021-07-30 11:36:25 +08:00
zonyitoo a2bcf88988 UDP server reply target address should be received source address
- fixes #579
2021-07-29 21:43:31 +08:00
zonyitoo f35762cbb7 release v1.11.2
- updated tokio to v1.8.0
- updated notify to 5.0.0-pre.11
v1.11.2
2021-07-24 12:00:14 +08:00
kallydev dfe999cb96 Add Docker image usage guide 2021-07-23 12:29:59 +08:00
kallydev e3e5acb266 Add multi-architecture Docker support 2021-07-21 22:49:53 +08:00
zonyitoo 97bb489293 set Mode::UdpOnly via command line -u
- fixes #577
- Why the original code use merge instead of replace?
2021-07-21 12:48:06 +08:00
zonyitoo e4dfd2f9d8 replaced future::abort with tokio JoinHandle abort
- MUST: tokio >= v1.8.2
2021-07-20 15:36:45 +08:00
zonyitoo d730c0e4ec nix Errno can be converted to i32 directly since 0.22 2021-07-20 14:57:08 +08:00
zonyitoo 2c71e201d6 updated tokio to v1.8.2 for possible future leaks
ref tokio-rs/tokio#3965
2021-07-20 14:31:16 +08:00
dependabot[bot] fcc943e583 Bump env_logger from 0.8.4 to 0.9.0
Bumps [env_logger](https://github.com/env-logger-rs/env_logger) from 0.8.4 to 0.9.0.
- [Release notes](https://github.com/env-logger-rs/env_logger/releases)
- [Changelog](https://github.com/env-logger-rs/env_logger/blob/main/CHANGELOG.md)
- [Commits](https://github.com/env-logger-rs/env_logger/compare/v0.8.4...v0.9.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>
2021-07-19 21:50:30 +08:00
dependabot[bot] 0433b3ec09 Bump nix from 0.21.0 to 0.22.0
Bumps [nix](https://github.com/nix-rust/nix) from 0.21.0 to 0.22.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/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-12 21:49:10 +08:00
dependabot[bot] ba6c5522e7 Bump spin from 0.9.1 to 0.9.2
Bumps [spin](https://github.com/mvdnes/spin-rs) from 0.9.1 to 0.9.2.
- [Release notes](https://github.com/mvdnes/spin-rs/releases)
- [Changelog](https://github.com/mvdnes/spin-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mvdnes/spin-rs/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-12 21:48:55 +08:00
zonyitoo 402cdcb1d9 updated exitcode as standard defined in sysexits.h 2021-07-11 21:35:34 +08:00
zonyitoo 5d232ca123 exit with code instead of panic! when loading config and ACL errors
- fixes #566
2021-07-10 02:33:30 +08:00
zonyitoo 0d2e7d5489 log peer addrs when getting SOCKS handshake error
- ref #336
2021-07-09 10:03:15 +08:00
zonyitoo f8f30e725b tokio PR merged, change to official repo 2021-07-08 20:21:05 +08:00
zonyitoo 889115eca0 tokio try_write_io merged into try_io 2021-07-08 10:23:09 +08:00
zonyitoo 42b55f1916 fixed windows TFO by using tokio try_write_io 2021-07-07 21:47:41 +08:00
zonyitoo 0f942ea5d1 check cached DnsClient connection state before query
- ref #567
2021-07-07 00:49:48 +08:00
Max Lv d4b10574fa Remove the reuse for UNIX stream DNS lookup.
Our UNIX stream based DNS lookup doesn't support connection reuse.
2021-07-06 23:56:53 +08:00
vidy 4f6035a909 It's supposed to be remove, not remote. 2021-07-02 18:06:09 +08:00
Mygod 19bc88bcb9 Log detected replay instead of dropping the connection 2021-06-29 16:36:35 +08:00
zonyitoo 9ce69e5b38 killing UDP association relay tasks properly when server is closed
- ref #557
- ref #271
2021-06-28 23:47:24 +08:00
zonyitoo 6490e34ec6 clearing write readiness if TFO connect returns EINPROGRESS
- ref #555
- imperfect until tokio-rs/tokio#3888 was merged
2021-06-26 02:54:51 +08:00
zonyitoo 3743ffe1c3 updated build scripts for empty features 2021-06-21 10:11:55 +08:00
zonyitoo 6583640d5f first write on TFO sockets may return EINPROGRESS
- Remote server doesn't support TFO
- First connect without TFO cookie

fallbacks to normal TCP connect()

ref #555
2021-06-19 01:25:12 +08:00
zonyitoo 05a3d6c499 http local listener initializing with accept_opts
- setting nodelay, keepalive and dualstack
2021-06-16 10:11:17 +08:00
dependabot[bot] 09ca20d6e7 Bump once_cell from 1.7.2 to 1.8.0 (#552)
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.7.2 to 1.8.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.7.2...v1.8.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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-14 23:34:21 +08:00
dependabot[bot] 7337e8177f Bump env_logger from 0.8.3 to 0.8.4 (#553)
Bumps [env_logger](https://github.com/env-logger-rs/env_logger) from 0.8.3 to 0.8.4.
- [Release notes](https://github.com/env-logger-rs/env_logger/releases)
- [Changelog](https://github.com/env-logger-rs/env_logger/blob/main/CHANGELOG.md)
- [Commits](https://github.com/env-logger-rs/env_logger/compare/v0.8.3...v0.8.4)

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

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-14 23:34:01 +08:00
zonyitoo 420e4511d3 add manager debug strings 2021-06-13 08:14:31 +08:00
zonyitoo 13c4fd1633 fix README typo 2021-06-10 11:47:40 +08:00
zonyitoo 4cd70ad7e4 passing features through command line arguments 2021-06-10 11:45:56 +08:00
dependabot[bot] cee91ef3ad Bump nix from 0.20.0 to 0.21.0 (#548)
Bumps [nix](https://github.com/nix-rust/nix) from 0.20.0 to 0.21.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.20.0...v0.21.0)

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

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-07 19:39:56 +08:00
zonyitoo d61d1028a5 add tcp-keep-alive command line option
- ref #546
2021-06-07 03:17:44 +08:00
zonyitoo 1271cc2ff8 updated build guide 2021-06-06 23:25:20 +08:00
zonyitoo 9e991eb6b8 updated v1.11.1 changelog 2021-06-06 23:17:01 +08:00
zonyitoo e32c869f00 set read timeout for half-open connections (one direction closed)
- ref #490
v1.11.1
2021-06-06 03:33:45 +08:00
zonyitoo a8de054871 all tcp sockets will set with default Keep Alive timeout 15s
- fixes #546
- ref #490
2021-06-06 01:42:41 +08:00
zonyitoo df87125212 allow customizing keep-alive seconds on TCP sockets
- ref #490
2021-06-05 18:19:07 +08:00
zonyitoo f1d312fd72 add opts for enabling keep-alive. and enabled by default
- ref #490
2021-06-05 12:48:08 +08:00
zonyitoo 86336c4c89 nightly artifacts put in different names 2021-06-04 23:26:49 +08:00
zonyitoo 6c3345f13e removed unused config method 2021-06-04 21:49:57 +08:00