Viktor Liu
b1b96eeb89
Rename xauth_linux.go to xauth_x11.go so FreeBSD picks it up
2026-05-25 14:10:01 +02:00
Viktor Liu
0b27956b3e
Authenticate virtual X11 sessions with per-session MIT-MAGIC-COOKIE-1
2026-05-25 13:26:29 +02:00
Viktor Liu
ebbf052149
Reuse /var/run/netbird as VNC agent socket parent via configs.RuntimeDir
2026-05-25 11:11:07 +02:00
Viktor Liu
a31677e33b
Address CodeRabbit review on embedded VNC PR
2026-05-24 18:52:57 +02:00
Viktor Liu
e77e0de7d8
Surface VNC initiator in status, clarify proxy logs, dampen capture noise
2026-05-24 17:07:59 +02:00
Viktor Liu
9e84c998b3
Harden VNC server, IPC, and management plumbing
2026-05-24 16:02:36 +02:00
Viktor Liu
03cf48f8cc
Return error from gateApproval and log at the caller
2026-05-23 19:50:27 +02:00
Viktor Liu
5344b2cf8a
Address CodeRabbit review and fix CI on embedded-vnc
2026-05-23 19:44:21 +02:00
Viktor Liu
bde5c6fdcc
Decline VNC approval early when no console user is logged in
2026-05-23 19:15:01 +02:00
Viktor Liu
544ebb3575
Address codespell and Sonar findings on embedded-vnc
2026-05-23 19:06:02 +02:00
Viktor Liu
7b1b3709f5
Evict orphaned packet captures and annotate VNC streams
2026-05-23 18:33:55 +02:00
Viktor Liu
a70446b8af
Add per-connection user-approval prompts for VNC
2026-05-23 18:33:55 +02:00
Viktor Liu
613b886c78
Switch VNC daemon-to-agent IPC to Unix sockets and audit-log every connection
2026-05-22 15:32:35 +02:00
Viktor Liu
8ca5c2f4b4
Fold init-only VNC and SSH setters into Config-struct constructors
2026-05-22 13:32:25 +02:00
Viktor Liu
f00b34f3a7
Signal Zlib encode failure and fall back to Raw
2026-05-22 12:06:52 +02:00
Viktor Liu
185fccd7f8
Lower CreateTemporaryAccess complexity and emit VncAuth for session pubkeys
2026-05-22 12:01:18 +02:00
Viktor Liu
5be2607708
Address follow-up CodeRabbit VNC findings
2026-05-22 11:35:16 +02:00
Viktor Liu
d06ed64e59
Address CodeRabbit VNC review feedback
2026-05-21 18:09:07 +02:00
Viktor Liu
e2127b45f8
Address Sonar findings and move noise to direct dependency
2026-05-21 17:55:27 +02:00
Viktor Liu
ec464cb0ec
Abort VNC agent dial retry loop on server shutdown
2026-05-21 17:44:22 +02:00
Viktor Liu
c0a3a2ee6d
Replace VNC JWT auth with a Noise_IK handshake bound to ACL-pushed pubkeys
2026-05-21 17:36:15 +02:00
Viktor Liu
9fd977c000
Emit explicit Fn flagsChanged transitions around macOS navigation keys
2026-05-21 12:30:14 +02:00
Viktor Liu
3b39ee0a79
Address CodeRabbit feedback on VNC server agent matching and session lifecycle
2026-05-21 12:01:45 +02:00
Viktor Liu
353639b57c
Set Fn flag on macOS navigation keycodes so the next key isn't treated as Fn-modified
2026-05-20 18:03:38 +02:00
Viktor Liu
81beaf137f
Allow Cursor pseudo-encoding in session mode and cache last XFixes sprite
2026-05-20 17:39:07 +02:00
Viktor Liu
639d0a1723
Replace magic env-var and subcommand strings with named constants
2026-05-20 17:22:02 +02:00
Viktor Liu
273306d797
Address CodeRabbit feedback on VNC server
2026-05-20 17:16:55 +02:00
Viktor Liu
d52cf1d376
Fix VNC lint, 386 atomic alignment, and Sonar code smells
2026-05-20 16:34:29 +02:00
Viktor Liu
fd8a21d3a0
Resolve merge conflicts with main
2026-05-20 15:38:01 +02:00
Viktor Liu
d705dac572
Collapse X11 DISPLAY/XAUTHORITY auto-detect logs into one line
2026-05-20 15:36:26 +02:00
Viktor Liu
9192b4f029
[client] Bump macOS sleep callback timeout to 20s ( #6220 )
2026-05-20 13:09:22 +02:00
Maycon Santos
c784b02550
[misc] Update contribution guidelines ( #6219 )
...
Update contribution guidelines and PR template to require discussing impactful changes with the team
2026-05-20 12:21:03 +02:00
Viktor Liu
cb3269df4c
Add ExtendedMouseButtons for back/forward mouse buttons
2026-05-20 12:15:00 +02:00
Viktor Liu
2ce8ba1068
Enable IdP JWKS refresh in VNC JWT validator
2026-05-20 12:15:00 +02:00
Viktor Liu
e56dca74ca
Track macOS click count and pixel-scale wheel scroll
2026-05-20 12:14:53 +02:00
Viktor Liu
17b60b6c6b
Use pixel-mode scroll on macOS for smoother wheel events
2026-05-20 12:14:45 +02:00
Viktor Liu
46e3cf8daf
Drop unreliable Sequoia preflight from macOS Screen Recording check
2026-05-20 12:14:37 +02:00
Viktor Liu
88695f17cc
Proxy macOS VNC connections from the LaunchDaemon to a per-user agent via launchctl asuser
2026-05-20 12:12:20 +02:00
Viktor Liu
8092fe2f93
Extract daemon-to-agent loopback proxy and token helpers into a platform-neutral file
2026-05-20 12:11:15 +02:00
Viktor Liu
6193ed5b17
Drop pbpaste trace log that fires whenever the macOS pasteboard is empty
2026-05-20 12:11:15 +02:00
Viktor Liu
025c6109a5
Composite remote cursor into the framebuffer when the dashboard toggles it on
2026-05-20 12:11:15 +02:00
Viktor Liu
0b9c902ed4
Emit Cursor pseudo-encoding on Linux, Windows, and macOS
2026-05-20 12:11:15 +02:00
Viktor Liu
254b8033af
Treat ExtendedClipboard messages with the Caps bit as Caps regardless of co-set action bits
2026-05-20 12:11:15 +02:00
Viktor Liu
e274bb81c5
Collapse dirty rects to their bounding box when the bbox is densely dirty
2026-05-20 12:11:15 +02:00
Viktor Liu
f8ab072f3c
Honour client JPEG quality fully now that backpressure caps it dynamically
2026-05-20 12:11:15 +02:00
Viktor Liu
b1b3b6f12d
Throttle VNC encoder JPEG quality and skip frames under write backpressure
2026-05-20 12:11:15 +02:00
Viktor Liu
7e7e8d8b32
Surface DXGI fallback to GDI at warn level on Windows
2026-05-20 12:11:15 +02:00
Viktor Liu
56598571c3
Accept any RGB shift permutation as Tight-compatible per RFB 7.7.6
2026-05-20 12:11:15 +02:00
Viktor Liu
1b2353f907
Restore Hextile SolidFill and Zlib encoding paths
2026-05-20 12:11:15 +02:00
Maycon Santos
4e2ed2a4d7
[management] Add metrics for peer status updates and ephemeral cleanup ( #6196 )
...
* [management] Add metrics for peer status updates and ephemeral cleanup
The session-fenced MarkPeerConnected / MarkPeerDisconnected path and
the ephemeral peer cleanup loop both run silently today: when fencing
rejects a stale stream, when a cleanup tick deletes peers, or when a
batch delete fails, we have no operational signal beyond log lines.
Add OpenTelemetry counters and a histogram so the same SLO-style
dashboards that already exist for the network-map controller can cover
peer connect/disconnect and ephemeral cleanup too.
All new attributes are bounded enums: operation in {connect,disconnect}
and outcome in {applied,stale,error,peer_not_found}. No account, peer,
or user ID is ever written as a metric label — total cardinality is
fixed at compile time (8 counter series, 2 histogram series, 4 unlabeled
ephemeral series).
Metric methods are nil-receiver safe so test composition that doesn't
wire telemetry (the bulk of the existing tests) works unchanged. The
ephemeral manager exposes a SetMetrics setter rather than taking the
collector through its constructor, keeping the constructor signature
stable across all test call sites.
* [management] Add OpenTelemetry metrics for ephemeral peer cleanup
Introduce counters for tracking ephemeral peer cleanup, including peers pending deletion, cleanup runs, successful deletions, and failed batches. Metrics are nil-receiver safe to ensure compatibility with test setups without telemetry.
2026-05-20 12:11:15 +02:00