Commit Graph

5 Commits

Author SHA1 Message Date
Marc-Andre Moreau 0b6f986698 feat: redirect RDP media, input, graphics, and session state to CEF
Connect the CEF remote device hooks and browser shell to RDP virtual
channels and session state:
- Redirect client cameras over MS-RDPECAM (I420, YUY2, NV12, MJPEG, and
  OpenH264 H.264), microphones over MS-RDPEAI, audio playback over
  RDPSND, WebAuthn ceremonies over MS-RDPEWA, and file clipboard copies
  over CLIPRDR.
- Stream desktop surfaces over MS-RDPEGFX (AVC420 and dirty-region
  fallback), forward MS-RDPEI multitouch and pen contacts, map browser
  cursors to RDP pointer updates, and export Ctrl/Cmd+P pages as PDFs to
  the restricted RDPDR download sink while blocking native print dialogs.
- Forward MS-RDPEL geolocation fixes, client time zones, and desktop
  scale factors through DevTools overrides while isolating the browser
  and renderer processes to UTC by default, and support cookie-based
  auto-reconnect.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
2026-11-16 12:31:36 -05:00
Marc-Andre Moreau 5abd9254a6 feat: add CEF remote device hooks
Patch CEF and Chromium so the RDP server can feed the browser's camera,
microphone, and WebAuthn authenticator, and paste files through the
process-private clipboard.
The browser never enumerates host capture devices or authenticators,
and desktop capture is always denied.

A device simulator and an end-to-end suite exercise every hook until the
RDPECAM, RDPEAI, RDPEWA, and CLIPRDR file-transfer channels feed them.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
2026-11-16 12:31:27 -05:00
Marc-Andre Moreau 103f8ca986 feat: isolate and redirect the CEF clipboard
Keep browser clipboard data in memory so remote sessions do not use the
host clipboard. Bridge text, HTML, and images to the RDP client through
CLIPRDR, and require a patched CEF runtime at startup.

Select headless Ozone on Linux and let Rust handle POSIX shutdown so
browser profiles can be cleaned up.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
2026-11-16 12:31:27 -05:00
Marc-Andre Moreau 2fe396786e feat: add a CEF-based browser server
Render CEF offscreen over RDP and forward browser input to it.
Deliver downloads through a restricted client-side RDPDR sink on
macOS, Linux, and Windows.

Keep the listener on loopback and use a fresh profile for each run.
Clipboard redirection and a production isolation boundary are not
provided.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
2026-11-16 12:31:27 -05:00
Marc-André Moreau cc63ef7d64 feat: add Windows TermService protocol provider (#2381)
Add a side-by-side WTS protocol provider and companion service to
connect IronRDP clients to authenticated Windows desktops.

Provide an indirect display driver, native desktop capture and input,
clipboard redirection, and native device and dynamic-channel bridges.
Include experimental RemoteApp support, authenticated control IPC, and
Windows deployment, signing, and diagnostics tools. Place the server and
an unsupported MSI packaging prototype under server/termsrv, apart from
the reusable crates.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
2026-11-09 12:15:44 -05:00