fork: REALITY transport for the router<->hub VLESS hop
Upstream ships the router<->hub hop as plain VLESS (tcp, security=none): UUID-authenticated but cleartext — LuCI credentials and logs inside the hop are readable by anyone on-path. This fork wraps the hop in VLESS+Reality (TLS handshake camouflaged against a public dest, no CA certs, no renewal): - vps/owrt-remote-hub.py: transport profile (STATE_DIR/transport.json, x25519 keypair via the xray binary), reality streamSettings in the server inbound and in make_router_xray_config(), uci transport lines in the generated OpenWrt config, transport block in heartbeat hub_update, and xray -test gate before swapping /etc/xray config. - files/usr/sbin/owrt-remote: security/reality_* uci options, validation, reality streamSettings in render_client_config, security-aware compat probe and core-compat checks. - files/etc/config/owrtremote, cgi form fields, PKG_RELEASE bump. Env on the hub: OWRT_REMOTE_TRANSPORT=reality|none, OWRT_REMOTE_REALITY_DEST/FINGERPRINT, OWRT_REMOTE_XRAY_BINARY. NOTE: xray-core >= 26.9.8 REALITY servers reject client hellos (XTLS/Xray-core#7259) — pin the hub core to 26.7.28 until upstream fixes it.
This commit is contained in:
1 parent
9dead7741d
commit
9b7a89257b
5 files changed
+192
-16
No files matched your search
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=luci-app-owrt-remote
|
||||
PKG_VERSION:=122
|
||||
PKG_RELEASE:=2
|
||||
PKG_RELEASE:=3
|
||||
PKG_LICENSE:=MIT
|
||||
PKG_MAINTAINER:=kzolotarev95
|
||||
PKGARCH:=all
|
||||
|
||||
Reference in new issue
Block a user