Commit Graph
21 Commits
Author SHA1 Message Date
cyril 05972f8c24 fork: security=tls (self-signed + pinnedPeerCertSha256) becomes the default hop transport
reverse-over-REALITY is broken on xray >= 26.7 (Rvs control channel never
registers; XTLS/Xray-core #6242/#6248 family). Verified loopback e2e with
hub-generated configs on 26.11.9<->26.11.9 and 26.11.9<->26.7.28: portal
entry-* -> reverse mux -> router-admin redirect = HTTP 200 over pinned TLS.

- hub: OWRT_REMOTE_TRANSPORT=tls|reality|none (default tls); generates
  self-signed cert (openssl) + exposes pin; serves tls streamSettings.
- agent: uci tls_sni/tls_pin, validation, tls branch in render_client_config.
- CGI: reality_short_id/tls_sni/tls_pin fields; uci config lines extended.
- docs: REALITY_TRANSPORT.md extended with the bisect results and pitfalls
  (freedom finalRules for reverse egress, bridge registers ~2s late,
  legacy reverse objects removed).
2026-11-22 12:28:43 +03:00
cyril-fork 9b7a89257b 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.
2026-11-22 11:22:49 +03:00
kzolotarev95 6cf3ae7c0f Add heartbeat Xray remote control and v121 2026-11-05 23:40:08 +04:00
kzolotarev95 e738d6fa69 Fix persistent log collector liveness and BusyBox lock waits 2026-10-16 00:12:54 +04:00
kzolotarev95 b62db40daf Release v117 with persistent logs and WAN tunnel recovery 2026-10-15 23:08:19 +04:00
kzolotarev95 aa7970c98c Release v116 with VPS router logs and reliable log delivery
Add per-router VPS log archives available offline, live delivery and last reported service state. Keep router logs in RAM with bounded rotation and deduplication. Align log pages and mobile statistics, and bump application and deployment tools to v116.
2026-10-14 08:05:52 +04:00
kzolotarev95 4ceb3d031a Release v115 with router global logs and mobile header layout 2026-10-14 03:39:33 +04:00
kzolotarev95 bcbcb071cc Add multi-WAN failover and release v112 2026-10-09 08:45:30 +04:00
kzolotarev95 b854d3a001 Fix VPS host persistence and direct WAN routing in v111 2026-10-08 09:20:35 +04:00
kzolotarev95 8420f38540 Avoid router tunnel restarts during SSH 2026-07-27 20:58:28 +04:00
kzolotarev95 2c7bfde758 Refresh VPS reverse tunnel on WAN reconnect 2026-07-27 01:50:49 +04:00
kzolotarev95 c98322364d Stabilize WAN reconnect tunnel recovery 2026-07-27 01:37:43 +04:00
kzolotarev95 fdd12f3880 Restart router tunnel after WAN reconnect 2026-07-27 01:15:45 +04:00
kzolotarev95 a14ffeaf4a Sync stopped router status on hub 2026-06-30 12:10:30 +04:00
kzolotarev95 deb82b6104 Fix OpenWrt init ash syntax 2026-06-30 11:59:46 +04:00
kzolotarev95 13290bf8ab Fix router stop action and center status cards 2026-06-30 11:53:48 +04:00
kzolotarev95 8627f4fe57 Add SSH HTTP fallback and persistent tmp Xray 2026-06-29 23:51:47 +04:00
kzolotarev95 16aec94771 Separate SSH reverse tunnel from LuCI 2026-06-29 13:16:41 +04:00
kzolotarev95 63b7fb7459 Add SSH terminal and fix LuCI proxy 2026-06-29 13:06:01 +04:00
kzolotarev95 38a92b0b1f Add OpenWrt remote hub 2026-06-29 02:14:50 +04:00
kzolotarev95 59979e9dba Add direct web panel installer 2026-06-28 16:45:20 +04:00