Skip to content

feat(proto): XRAY_REALITY control contract (config + reality info + peer flow)#13

Merged
bodaay merged 1 commit into
mainfrom
feat/xray-proto
Jun 6, 2026
Merged

feat(proto): XRAY_REALITY control contract (config + reality info + peer flow)#13
bodaay merged 1 commit into
mainfrom
feat/xray-proto

Conversation

@bodaay

@bodaay bodaay commented Jun 6, 2026

Copy link
Copy Markdown
Contributor

feat(proto): XRAY_REALITY control contract (config + reality info + peer flow)

🤖 Generated with Claude Code

…eer flow)

Define the XRAY_REALITY control contract: XRayRealityConfig (PushConfig payload —
VLESS clients + REALITY decoy/serverNames/shortIds/port; node owns the keypair),
XRayRealityInfo (GetStatus — the node's REALITY public key), and Peer.flow (the
VLESS flow). Mirrors the AmneziaWG pattern (node owns secrets, coxswain pushes
peers + policy). Embed of xtls/xray-core validated: builds CGO_ENABLED=0 static,
a VLESS+REALITY server starts in-process.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: Khalefa <khalefa@alahmad.org>
@bodaay bodaay merged commit 882da51 into main Jun 6, 2026
1 of 2 checks passed
@bodaay bodaay deleted the feat/xray-proto branch June 6, 2026 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant