Commit Graph
1691 Commits
Author SHA1 Message Date
zonyitoo 7db23b38f4 local-tun also obey "mode" configuration 2022-01-16 04:24:51 +08:00
zonyitoo 9c9cde4156 drive interface.poll() when received packet 2022-01-16 04:12:00 +08:00
zonyitoo 00c926d282 refactored tun local with smoltcp (user-space network stack)
ref #744, probably could fix compatibility issue on R4S (OpenWRT) and
IPv6 support.
2022-01-16 03:54:52 +08:00
zonyitoo 312faea756 SECURITY: Printable IV prefix could be enabled by security-iv-printable-prefix 2022-01-14 20:34:02 +08:00
zonyitoo 53aab484f8 SECURITY: First 6 bytes of payload should be printable characters
Observation shows that prepending 6 bytes of printable characters to random payload will exempt it from blocking.
by 2022-01-13 gfw.report et al.
2022-01-14 15:11:24 +08:00
zonyitoo 19f7653729 log saddr and daddr if type unmatch 2022-01-12 14:24:19 +08:00
zonyitoo 379b71a6a9 run check_all until scores are stable 2022-01-11 23:06:58 +08:00
zonyitoo 14186d10f5 LOCAL_ADDR is not required for -U
ref #744
2022-01-11 16:33:24 +08:00
zonyitoo 9c07998c60 LOCAL_ADDR is required only in protocol except tun
fixes #744
2022-01-11 12:47:51 +08:00
dependabot[bot] 07d1a81d6e Bump clap from 3.0.4 to 3.0.5
Bumps [clap](https://github.com/clap-rs/clap) from 3.0.4 to 3.0.5.
- [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.0.4...v3.0.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-11 12:35:52 +08:00
longkai 5228ef339a chore(k8s): change default image to ghcr latest
also:

- remove the unrecognized nameserver and timeout field
- server address default to "::"
2022-01-10 12:28:47 +08:00
longkai e269bcb0e6 feat(deploy): support k8s deployment (#739)
- helm chart
- kubectl with raw manifest which generated via helm
- update README
2022-01-09 23:43:47 +08:00
zonyitoo 03bf2fb5e7 switch server immediately in best checker 2022-01-08 20:47:01 +08:00
zonyitoo a10681175a check best server individually configured with check_best_interval
- ref #706
2022-01-08 20:34:08 +08:00
zonyitoo 77bc0fc7ec make clippy happy 2022-01-06 13:12:47 +08:00
zonyitoo d31b6633ee clap::ErrorKind only used when multi-threaded feature is enabled 2022-01-06 09:52:25 +08:00
zonyitoo 9ef0b31f91 upgrade clap to v3.0 2022-01-05 20:12:53 +08:00
dependabot[bot] 3438a47376 Bump serde_json from 1.0.73 to 1.0.74
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.73 to 1.0.74.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.73...v1.0.74)

---
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-01-03 22:46:47 +08:00
dependabot[bot] 928ebb0b66 Bump pin-project from 1.0.8 to 1.0.10
Bumps [pin-project](https://github.com/taiki-e/pin-project) from 1.0.8 to 1.0.10.
- [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.8...v1.0.10)

---
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-01-03 22:46:34 +08:00
dependabot[bot] 0c1cbc551c Bump webpki-roots from 0.22.1 to 0.22.2
Bumps [webpki-roots](https://github.com/rustls/webpki-roots) from 0.22.1 to 0.22.2.
- [Release notes](https://github.com/rustls/webpki-roots/releases)
- [Commits](https://github.com/rustls/webpki-roots/compare/v/0.22.1...v/0.22.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-03 22:46:20 +08:00
wevsty 17ae98899d update service file use ssservice.
remove some wrong parameters.
2022-01-03 22:46:10 +08:00
wevsty 15a0a3a172 update changelog.
fix dpkg-buildpackage warning.
2022-01-03 22:46:10 +08:00
wevsty a7d7b2e838 Add AmbientCapabilities for all service. 2022-01-03 22:46:10 +08:00
dependabot[bot] 93f0fb7fa9 Bump futures from 0.3.17 to 0.3.19
Bumps [futures](https://github.com/rust-lang/futures-rs) from 0.3.17 to 0.3.19.
- [Release notes](https://github.com/rust-lang/futures-rs/releases)
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.17...0.3.19)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-21 01:11:17 +08:00
dependabot[bot] fd2e3925f4 Bump nix from 0.23.0 to 0.23.1
Bumps [nix](https://github.com/nix-rust/nix) from 0.23.0 to 0.23.1.
- [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.23.0...v0.23.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-12-21 01:10:38 +08:00
zonyitoo 1012067ea2 updated tokio-tfo to v0.1.9 fixing FreeBSD build v1.12.5 2021-12-17 00:38:26 +08:00
zonyitoo cd1abfacbe updated tokio-tfo to v0.1.8
fixes #725
2021-12-17 00:13:26 +08:00
zonyitoo 03dac08850 update toolchain 404c8471a 2021-12-14 2021-12-15 23:29:40 +08:00
zonyitoo 56729138b3 updated dependencies 2021-12-15 23:22:01 +08:00
dependabot[bot] 8e62882fbe Bump async-trait from 0.1.51 to 0.1.52
Bumps [async-trait](https://github.com/dtolnay/async-trait) from 0.1.51 to 0.1.52.
- [Release notes](https://github.com/dtolnay/async-trait/releases)
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.51...0.1.52)

---
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-12-14 00:53:53 +08:00
dependabot[bot] 91d5d031be Bump hyper from 0.14.15 to 0.14.16
Bumps [hyper](https://github.com/hyperium/hyper) from 0.14.15 to 0.14.16.
- [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.15...v0.14.16)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-14 00:53:38 +08:00
Joshua Abraham 8cd7b96cd5 Update sslocal server-url help string 2021-12-12 21:51:08 +08:00
riKirsti ae434f7022 Compress ssservice for mips targets
compress the new added ssservice for mips targets.
2021-12-12 00:25:12 +08:00
kda2000 232eee552b Update tcprelay.rs
Correct spelling. reply -> replay
2021-12-09 09:09:33 +08:00
dependabot[bot] 5dacd16040 Bump clap from 2.33.3 to 2.34.0
Bumps [clap](https://github.com/clap-rs/clap) from 2.33.3 to 2.34.0.
- [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/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-06 21:29:22 +08:00
John 9342fccd0e fixed pr #714 2021-12-06 11:27:41 +08:00
John 43d2597a68 remove duplicate codes in udp association 2021-12-06 11:00:11 +08:00
John 8ad1811df9 remove duplicate code in local http connector 2021-12-06 10:55:52 +08:00
John 1c14504fd5 optimize dns code 2021-12-06 10:54:44 +08:00
John 24152304f4 optimize logging code 2021-12-06 00:27:24 +08:00
John 401f558459 remove duplicate code for local http 2021-12-05 22:52:04 +08:00
John 2d530f3a2a remove duplicate code in client_cache for local dns 2021-12-05 22:51:31 +08:00
zonyitoo 9b33ffca5d upgrade etherparse 0.10 2021-11-30 20:20:35 +08:00
zonyitoo d5c54af96b release v1.12.4 v1.12.4 2021-11-28 15:01:54 +08:00
ty d90fb8a906 "log" and "runtime" specific options configurable in file (#702) 2021-11-28 14:49:53 +08:00
zonyitoo 18d042fa57 default config relative path only required if $PWD doesnt exist 2021-11-27 21:24:41 +08:00
zonyitoo 5292a25db3 refine documents 2021-11-27 19:21:41 +08:00
zonyitoo 2767f4ecdd shadowsocks-service v1.12.3 should deps on shadowsocks v1.12.2 2021-11-27 17:51:39 +08:00
zonyitoo 9a5b90db50 fixed ssservice in Makefile 2021-11-27 17:45:33 +08:00
zonyitoo 89d9e66338 ssservice support symlinked by sslocal, ssserver, ssmanager 2021-11-27 17:36:16 +08:00