GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Implement RustDesk raw-stream splice through fleet proxy · Issue #6221 · developing-today/code

Implement RustDesk raw-stream splice through fleet proxy #6221

New issue
Copy link
New issue
Copy link
Closed
Closed
Implement RustDesk raw-stream splice through fleet proxy#6221
Copy link
Assignees
dezren39
Labels
epic/fleet-orchestrationReprioritization program epic (2026-11-12)status:done

Description

@dezren39
dezren39
opened on Nov 5, 2026
Issue body actions

Parent design: #5694. Related remote-GUI evaluation: #5924; dedicated SSH forward: #5509.

Goal

Implement the first-build recommendation from #5694: let the fleet proxy expose the laptop's RustDesk direct-access TCP endpoint through a loopback-only raw stream splice, using the existing CONNECT tunnel path. Keep forward.sh as the fallback until the splice is verified.

Current-main evidence

At current main (04f78696abfbdf6567f58e623d80520436f002fa), fleet-config registers laptop-agent port 4799 but not RustDesk 21118 (pkgs/fleet/crates/fleet-config/src/lib.rs:27,368); the proxy advertises ProxyServe only (pkgs/fleet/crates/fleet-proxy/src/serve.rs:488); and tunnel.rs applies a 660-second read timeout (pkgs/fleet/crates/fleet-proxy/src/tunnel.rs:22,196). PR #6088 is merged and explicitly says RustDesk remains on its SSH forward until this splice is built. PR #6140 is merged credential durability work, not transport.

Scope

  • Register the RustDesk TCP service at laptop port 21118.
  • Add an explicit raw-splice capability in the fleet proxy handshake; older brokers must not advertise it.
  • Add the client-side loopback listener at 127.0.0.1:21118; per accepted client, check out one CONNECT tunnel to laptop:21118 and relay bytes bidirectionally. Do not wrap as HTTP or return a spent stream to the pool.
  • Make the long-lived splice opt out of the HTTP tunnel read/write timeout.
  • Keep broker configuration and logs free of RustDesk credentials; the broker is only a byte pipe.

Non-goals

Do not change forward.sh until verified; do not pre-warm RustDesk sockets; do not run hbbs/hbbr; do not implement per-connection virtual desktops (separate design/follow-up).

Acceptance

  • New and old broker capability negotiation is tested; old brokers keep existing behavior.
  • A local loopback RustDesk client can establish a session through the splice; a bidirectional byte-stream test proves framing is transparent and concurrent splices work.
  • An idle session remains connected beyond the current 660-second timeout (the acceptance target in design: remote desktop through the fleet brokers (RustDesk transport, secrets, pre-warming, virtual desktops) #5694 is >30 minutes).
  • No RustDesk password/proof is added to broker config or logs; the existing SSH forward remains an available fallback.
  • Targeted tests and applicable Nix/build checks pass; findings and any activation caveat are recorded on design: remote desktop through the fleet brokers (RustDesk transport, secrets, pre-warming, virtual desktops) #5694.

Activity

Next
  1. developing-today commented on Nov 5, 2026

    @developing-today
    developing-todayBot
    on Nov 5, 2026 – with developing.today
    Contributor
    More actions

    CODE-1819

  2. dezren39
    added
    queue/queuedHas a queued queue task
    status/needs-triageNot yet triaged; needs a first look
    on Nov 5, 2026
  3. dezren39 commented on Nov 5, 2026

    @dezren39
    dezren39
    on Nov 5, 2026
    MemberAuthor
    More actions

    agent-note:v1 agent=repo-worker-code state=queued task=10516 at=2026-11-05T13:03:44Z

    Follow-up implementation packet 10516 is queued in repo-health-code-pilot. Scope and acceptance are in this issue; parent design is #5694.

  4. github-actions
    assigned
    dezren39
    on Nov 5, 2026
  5. developing-today
    added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    and removed
    status/needs-triageNot yet triaged; needs a first look
    queue/queuedHas a queued queue task
    on Nov 5, 2026
  6. developing-today commented on Nov 5, 2026

    @developing-today
    developing-todayBot
    on Nov 5, 2026 – with developing.today
    Contributor
    More actions

    🤖 Agent note · state: handed off

    • Agent: queue worker (repo-worker-code), lane code-m
    • Session / ID: task 10516
    • Found via: queue claim (task 10516 resumed after a prior handoff)
    • Task: Issue Implement RustDesk raw-stream splice through fleet proxy #6221 (RustDesk raw-stream splice through fleet proxy, small_fix) is assigned to the opencode execution lane — handed off to the opencode claimant, which launches a bound session to drive task 10516 to its terminal state. Note: task 10516 is at its attempt cap (2/2); if it returns unworked it will need a cap raise to be claimable again.
    • Expectation: claimant launches the bound opencode session during the park window.
    • Links: issue Implement RustDesk raw-stream splice through fleet proxy #6221
  7. developing-today
    added
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    status/parkedDeliberately paused with a recorded resume condition
    and removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    on Nov 5, 2026
  8. 235 remaining items

    Load more actions
  9. dezren39
    removed
    user/escalatedRequires a Drew decision or access
    queue/blockedQueue or user escalation state
    on Nov 12, 2026
  10. dezren39 commented on Nov 12, 2026

    @dezren39
    dezren39
    on Nov 12, 2026
    MemberAuthor
    More actions

    🤖 Agent note · picked up for existing PR verification

    • Agent: repo-worker-code · lane code-h · task 10516
    • Fresh state: Implement RustDesk raw-stream splice through fleet proxy #6221 OPEN; exact implementation PR feat(fleet-proxy): raw byte splice for RustDesk direct-access port (#6221) #7703 is OPEN/non-draft at head 5fb62b1e91.
    • Ownership correction: latest issue comment 6833535165 explicitly retracts the prior escalation: dezren39 authorship is fleet work product, not a personal hold. No hard-stop labels appear on the PR. Removed stale user/escalated / blocked labels and synchronized claim labels.
    • Remaining: fresh PR checks show Python 3.14 failure and Python 3.12 cancellation; the required >660-second idle relay proof is not recorded. No code or PR changes made.
    • Next: park with a resume brief for CI triage and the activation check; do not redo the existing implementation.
  11. dezren39
    added
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    status/parkedDeliberately paused with a recorded resume condition
    and removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    on Nov 12, 2026
  12. dezren39 commented on Nov 12, 2026

    @dezren39
    dezren39
    on Nov 12, 2026
    MemberAuthor
    More actions

    🤖 Agent note · parked — existing PR needs verification

    • Agent: repo-worker-code · lane code-h · task 10516
    • Fresh state: Implement RustDesk raw-stream splice through fleet proxy #6221 OPEN; PR feat(fleet-proxy): raw byte splice for RustDesk direct-access port (#6221) #7703 OPEN/non-draft at head 5fb62b1e91; no hard-stop labels. The latest correction comment 6833535165 confirms the old user/escalated framing was wrong; labels are synchronized to the actual parked queue state.
    • No reimplementation: PR feat(fleet-proxy): raw byte splice for RustDesk direct-access port (#6221) #7703 contains the complete raw-stream splice implementation and targeted tests. No branch/PR changes were made this run.
    • Remaining: fresh PR rollup shows scripts-test (3.14) FAILURE and (3.12) CANCELLED; compare against clean main or fix if PR-caused. The >660-second live idle splice activation test is explicitly still unverified.
    • Resume: inspect those checks, establish CI/merge readiness, run the live activation proof, then merge only when all standing criteria pass.
  13. dezren39
    added a commit that references this issue on Nov 12, 2026

    fix(fleet-proxy): keep broker alive during splices; refuse splice whe…

    c98c33d
  14. dezren39 commented on Nov 12, 2026

    @dezren39
    dezren39
    on Nov 12, 2026
    MemberAuthor
    More actions

    🤖 Agent note · closing — implemented on main by PR #8618, live-verified today

    • Agent: queue worker (repo-worker-code), lane code-a, task 10516
    • Implementation: PR feat(fleet-proxy): raw TCP splice for RustDesk direct access (salvage of #7338) #8618 (merged 2026-11-11, salvage of PR Archive disposition: archive/janitor-2026-11-07/10516 #7338) landed the Implement RustDesk raw-stream splice through fleet proxy #6221 first build on main: PORT_RUSTDESK (21118) in the fleet-config services table, proxy-raw-splice capability negotiation gated on the rustdesk service, fleet proxy splice loopback listener (127.0.0.1:21118, one raw tunnel per connection, SSH forward kept as fallback), and connect_raw_tunnel (bounded setup deadline, no read/write timeouts after handshake). PR feat(fleet-proxy): raw byte splice for RustDesk direct-access port (#6221) #7703, this issue's original implementation PR, was closed today as a superseded duplicate after a point-by-point salvage diff (nothing unique; note on PR feat(fleet-proxy): raw TCP splice for RustDesk direct access (salvage of #7338) #8618, comment 6836754924).
    • Live verification (>660s, the remaining acceptance item): ran today against main's build (fleet @ 338c6cf) in a network namespace on the laptop — broker (direct=true, target 127.0.0.2, idle_exit_secs=120) + fleet proxy splice + TCP echo target. Result: echo round-trip, 700 seconds of splice idleness, second round-trip intact, broker still alive. Log: laptop /tmp/splice-live-10516b.log ("LIVE SPLICE TEST PASS").
    • Scope kept: no socket pre-warming, no fleet hbbs/hbbr, forward.sh not retired — as this issue's scope states.
    • Links: task 10516 · PR feat(fleet-proxy): raw TCP splice for RustDesk direct access (salvage of #7338) #8618 · PR feat(fleet-proxy): raw byte splice for RustDesk direct-access port (#6221) #7703 (closed, superseded)
  15. dezren39
    closed this as completedon Nov 12, 2026
  16. dezren39
    removed
    status/parkedDeliberately paused with a recorded resume condition
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    work/assignedQueue worker lifecycle state
    on Nov 12, 2026
  17. developing-today
    added
    status:done
    on Nov 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @dezren39
    dezren39

Labels

epic/fleet-orchestrationReprioritization program epic (2026-11-12)status:done

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.