sunmy2019
4ac53a5a39
feat: optional rustls support ( #330 )
...
* initial implementation of rustls support
* Refactor create_self_signed_cert.sh script
* resolve lint errors
* Fix handling of Option in tls.rs
* Update cargo-hack check command and feature dependencies
* fix missing point
* Add conditional check to skip test if client or server is not enabled
* clean up things
* fix for windows CI
* try fixing Windows CI
* Update src/main.rs
* Update src/transport/websocket.rs
* add missing messages
* split the tls mod
Co-authored-by: Ning Sun <n@sunng.info>
2024-02-18 17:17:17 +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
d079d66223
chore: update tls cert for test
2023-03-07 21:38: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
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
fcfb0bc701
test: adapt to openssl 3 ( #126 )
2022-02-08 01:35:19 +00:00
Yujia Qiao
ef154cb56b
docs: fix a typo
2022-01-26 21:11:48 +08:00
Yujia Qiao
ea6a607706
docs: fix examples
2022-01-18 22:03:31 +08:00
Yujia Qiao
fc0ee93ef0
docs: use formal tone
2022-01-05 19:20:17 +08:00
Shirshak
e3bb124873
docs: add instruction to run as service ( #61 )
2022-01-05 18:59:07 +08:00
mgt
3c5160c19b
feat: add systemd unit files
2021-12-25 18:23:13 +08:00
Yujia Qiao
f472814013
feat: add noise protocol support
2021-12-24 22:01:54 +08:00
Yujia Qiao
46b0b6b9cc
docs: add iperf3 example
...
docs: update README.md and add comments
2021-12-23 19:01:42 +08:00
Yujia Qiao
443f763800
feat: UDP support
2021-12-23 19:01:42 +08:00
Yujia Qiao
ed3b3a9831
test: add tests for config parsing and examples
2021-12-19 18:02:51 +08:00
Yujia Qiao
58d3a8c96c
chore: rename directories
2021-12-19 18:02:51 +08:00