Commit Graph

212 Commits

Author SHA1 Message Date
Chieh Tai d2fe586f7b
chore: fix shield.io badge in README-zh.md (#272) 2023-07-07 18:57:55 +08:00
boenshao 7923dec9f5
docs: non root user with systemd (#269)
* doc: remove 'DynamicUser=yes', so the service can read config file with permission 600

* doc: add example for non-root systemd service

* fix(doc): should be 'app2.toml'
2023-07-07 18:57:26 +08:00
Yujia Qiao 9727e15377
chore: bump v0.4.8 2023-05-26 16:29:56 +08:00
dependabot[bot] 553ff381eb chore(deps): bump h2 from 0.3.15 to 0.3.18
Bumps [h2](https://github.com/hyperium/h2) from 0.3.15 to 0.3.18.
- [Release notes](https://github.com/hyperium/h2/releases)
- [Changelog](https://github.com/hyperium/h2/blob/master/CHANGELOG.md)
- [Commits](https://github.com/hyperium/h2/compare/v0.3.15...v0.3.18)

---
updated-dependencies:
- dependency-name: h2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-06 21:10:31 +08:00
reemaadeniyi d2960b5bde
chore: bump tracing-subscriber (#247)
Co-authored-by: evergreen-trading-systems <4870868+evergreen-trading-systems@users.noreply.github.com>
2023-05-06 12:57:13 +00:00
dependabot[bot] a1815900f9 chore(deps): bump openssl from 0.10.42 to 0.10.48
Bumps [openssl](https://github.com/sfackler/rust-openssl) from 0.10.42 to 0.10.48.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.42...openssl-v0.10.48)

---
updated-dependencies:
- dependency-name: openssl
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-27 12:00:54 +08:00
dependabot[bot] 540ebfc33b chore(deps): bump tokio from 1.21.2 to 1.24.2
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.21.2 to 1.24.2.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/commits)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-27 11:05:29 +08:00
Yujia Qiao 2acd62454d
fix: clippy 2023-03-27 10:48:12 +08:00
Yujia Qiao 9479b9a3a9 ci: upgrade to upx v4.0.2 2023-03-07 23:34:42 +08:00
dependabot[bot] 80a7266212 chore(deps): bump libgit2-sys from 0.13.4+1.4.2 to 0.13.5+1.4.5
Bumps [libgit2-sys](https://github.com/rust-lang/git2-rs) from 0.13.4+1.4.2 to 0.13.5+1.4.5.
- [Release notes](https://github.com/rust-lang/git2-rs/releases)
- [Commits](https://github.com/rust-lang/git2-rs/compare/libgit2-sys-0.13.4...libgit2-sys-0.13.5)

---
updated-dependencies:
- dependency-name: libgit2-sys
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-07 23:22:35 +08:00
Yujia Qiao 32a2c36fde
chore: fix the shield.io badge 2023-03-07 23:07:46 +08:00
Yujia Qiao 69d8185ab5
chore: updat README.md 2023-03-07 21:51:19 +08:00
Yujia Qiao d079d66223 chore: update tls cert for test 2023-03-07 21:38:20 +08:00
Yujia Qiao ee5c7b4a77
chore: bump v0.4.7 2022-11-30 11:49:01 +08:00
Yujia Qiao 1b5c892e24
fix: enable TCP_NODELAY by default (#210) 2022-11-30 11:42:16 +08:00
Yujia Qiao 96479e498d
chore: bump v0.4.6 2022-11-29 17:59:58 +08:00
Yujia Qiao d216d6380f
feat: configurable retry interval (#208) 2022-11-29 09:41:23 +00:00
Orhun Parmaksız 87d06c91b9
chore: bump `vergen` crate to support `SOURCE_DATE_EPOCH` (#204)
This commits updates the version of `vergen` which is responsible
for generating the build info. The basis of this change is to support
`SOURCE_DATE_EPOCH` timestamps for reproducible builds.
See <https://reproducible-builds.org/docs/source-date-epoch/>

Signed-off-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
2022-11-06 21:10:01 +08:00
Yujia Qiao 353d195529
chore: bump v0.4.5 2022-11-05 15:13:37 +08:00
Yujia Qiao e4c6c8abce
ci: upgrade upx to v4.0.0 (#203) 2022-11-04 14:49:31 +00:00
Yujia Qiao bf842b43d3
fix: update Dockerfile (#201) 2022-11-04 14:39:48 +00:00
Vincent Young 8fb9304549
chore: aarch64-apple-darwin CI 2022-10-29 20:44:42 +08:00
Yujia Qiao 5396d9e64d
chore: bump v0.4.4 2022-09-16 16:52:22 +08:00
Yujia Qiao 76f5c7227f
chore: update dependencies (#195) 2022-09-15 11:54:50 +00:00
Yujia Qiao ea01c42da7
refactor: ConfigChange (#191) 2022-09-15 11:40:15 +00:00
Peter Neumark 187f4f0335
feat: Allow use of system default TLS trusted root by omitting the trusted_root client config parameter. (#192) 2022-09-14 14:55:38 +00:00
Yujia Qiao 064bdcab8e
fix: clippy (#187) 2022-09-04 22:04:20 +08:00
inclyc 67182fbc10
docs: [example][systemd] use `DynamicUser=yes` (#186)
This patch fixes a warning generated by some new version of systemd. Use
"User=nobody" seems to be considered unsafe. So maybe we need to fix it
in our example files.

● ratholec@hitmc.service - Rathole Client Service
     Loaded: loaded (/etc/systemd/system/ratholec@.service; enabled; vendor preset: enabled)
     Active: active (running) since Sat 2022-09-03 23:38:43 CST; 1h 27min ago
   Main PID: 507903 (rathole)
      Tasks: 14 (limit: 76731)
     Memory: 6.9M
        CPU: 39.908s
     CGroup: /system.slice/system-ratholec.slice/ratholec@hitmc.service
             └─507903 /usr/local/bin/rathole -c /etc/rathole/hitmc.toml

Sep 03 23:38:43 <hostname> systemd[1]: Started Rathole Client Service.
...
Sep 03 23:39:25 <hostname> systemd[1]: /etc/systemd/system/ratholec@.service:7: Special user nobody configured, this is not safe!
                                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Link: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=969329
Link: https://github.com/trojan-gfw/trojan/issues/612
Link: https://www.vvave.net/archives/fix-the-systemd-error-special-user-nobody-configured-this-is-not-safe.html
2022-09-04 19:54:21 +08:00
fernvenue 881701d68f Update out-of-scope.md 2022-08-30 11:06:19 +08:00
Yujia Qiao 2e9e7374bc
chore: bump v0.4.3 2022-08-11 20:51:56 +08:00
Yujia Qiao 1f2fc5b28f
feat: cache dns result for one session (#166) 2022-06-11 11:39:11 +08:00
Yujia Qiao ee39a8e31e
chore: bump v0.4.2 2022-05-23 20:31:03 +08:00
Yujia Qiao 8c9527406e
chore: update snowstorm (#165) 2022-05-21 16:26:47 +00:00
Yujia Qiao 15a4183ba7
chore: update dependencies (#163) 2022-05-20 15:40:57 +00:00
Yujia Qiao f8c415c558
chore: add `feature_request.md` issue template 2022-05-20 23:26:29 +08:00
Victor C 8665e6a2cf
fix: make watcher's path absolute for notify's MacOS fsevent implementation (#155) 2022-04-15 16:47:55 +08:00
Yujia Qiao 8a24723895
chore: bump v0.4.1 2022-03-28 19:42:49 +08:00
Yujia Qiao feb8c2dbfa
fix: restart when heartbeat times out (#147) 2022-03-28 16:42:09 +08:00
Takayuki Maeda 636bdbd604
revert(ci): disable incremental compilation (#140) (#144)
This reverts commit f9ee8ec2f9.
2022-03-25 11:57:12 +08:00
Takayuki Maeda f9ee8ec2f9
ci: disable incremental compilation (#140) 2022-03-15 13:53:19 +00:00
Yujia Qiao 952c4134c3
chore: bump v0.4.0 2022-03-09 12:34:45 +08:00
Yujia Qiao 479260720e
chore: bump dependencies 2022-03-09 12:34:45 +08:00
Yujia Qiao d2c55cc99c
chore: make clippy happy 2022-03-09 12:34:45 +08:00
Yujia Qiao d842fbb2da
docs: update README.md 2022-03-09 12:22:01 +08:00
Yujia Qiao f5ec8422e1
ci: run checks for commits on branch dev 2022-03-08 23:38:18 +08:00
Yujia Qiao 2746a0ea88
feat: application layer heartbeat (#136)
* feat: application layer heartbeat

* feat: make heartbeat configurable

* fix: update keepalive params

* docs: update about heartbeat
2022-03-08 23:27:18 +08:00
Yujia Qiao 1ef7747019
feat: support SOCKS5 and HTTP proxy (#135)
* chore: add comments

* feat: support socks5/http proxy

* fix: clippy

* fix: always validate tcp config

* chore: rename directories
2022-03-08 23:25:51 +08:00
Yujia Qiao bec7533222 ci: fix missing artifacts 2022-03-08 22:53:22 +08:00
Yujia Qiao 702f6ac10a
ci: fix duplicated checks 2022-03-08 22:33:51 +08:00
Yujia Qiao 5f1479b226
ci: run checks on all branches 2022-03-08 22:24:08 +08:00