Viktor Liu
3bcacffd2c
Rename xauth_linux.go to xauth_x11.go so FreeBSD picks it up
2026-05-25 14:10:01 +02:00
Viktor Liu
65f302b698
Authenticate virtual X11 sessions with per-session MIT-MAGIC-COOKIE-1
2026-05-25 13:26:29 +02:00
Viktor Liu
2f67841b1e
Reuse /var/run/netbird as VNC agent socket parent via configs.RuntimeDir
2026-05-25 11:11:07 +02:00
Viktor Liu
bf2fb2fd44
Address CodeRabbit review on embedded VNC PR
2026-05-24 18:52:57 +02:00
Viktor Liu
4e3e3ce6d3
Surface VNC initiator in status, clarify proxy logs, dampen capture noise
2026-05-24 17:07:59 +02:00
Viktor Liu
5e2830be8a
Harden VNC server, IPC, and management plumbing
2026-05-24 16:02:36 +02:00
Viktor Liu
f557e665a5
Return error from gateApproval and log at the caller
2026-05-23 19:50:27 +02:00
Viktor Liu
fa57eedaf5
Address CodeRabbit review and fix CI on embedded-vnc
2026-05-23 19:44:21 +02:00
Viktor Liu
7cb6388349
Decline VNC approval early when no console user is logged in
2026-05-23 19:15:01 +02:00
Viktor Liu
1f912be673
Address codespell and Sonar findings on embedded-vnc
2026-05-23 19:06:02 +02:00
Viktor Liu
8d329da591
Evict orphaned packet captures and annotate VNC streams
2026-05-23 18:33:55 +02:00
Viktor Liu
8e72967bbe
Add per-connection user-approval prompts for VNC
2026-05-23 18:33:55 +02:00
Viktor Liu
c29ef638f4
Switch VNC daemon-to-agent IPC to Unix sockets and audit-log every connection
2026-05-22 15:32:35 +02:00
Viktor Liu
97b7b010f5
Fold init-only VNC and SSH setters into Config-struct constructors
2026-05-22 13:32:25 +02:00
Viktor Liu
030c57150f
Signal Zlib encode failure and fall back to Raw
2026-05-22 12:06:52 +02:00
Viktor Liu
0f03c612d1
Lower CreateTemporaryAccess complexity and emit VncAuth for session pubkeys
2026-05-22 12:01:18 +02:00
Viktor Liu
1cc5967198
Address follow-up CodeRabbit VNC findings
2026-05-22 11:35:16 +02:00
Viktor Liu
412193c602
Address CodeRabbit VNC review feedback
2026-05-21 18:09:07 +02:00
Viktor Liu
5e67febf57
Address Sonar findings and move noise to direct dependency
2026-05-21 17:55:27 +02:00
Viktor Liu
ee348ba007
Abort VNC agent dial retry loop on server shutdown
2026-05-21 17:44:22 +02:00
Viktor Liu
3d3055dc7f
Replace VNC JWT auth with a Noise_IK handshake bound to ACL-pushed pubkeys
2026-05-21 17:36:15 +02:00
Viktor Liu
2f4ddf0796
Emit explicit Fn flagsChanged transitions around macOS navigation keys
2026-05-21 12:30:14 +02:00
Viktor Liu
98d533c8e8
Address CodeRabbit feedback on VNC server agent matching and session lifecycle
2026-05-21 12:01:45 +02:00
Viktor Liu
ef4ea2e311
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
b41d11bbbe
Allow Cursor pseudo-encoding in session mode and cache last XFixes sprite
2026-05-20 17:39:07 +02:00
Viktor Liu
f37e228cc2
Replace magic env-var and subcommand strings with named constants
2026-05-20 17:22:02 +02:00
Viktor Liu
640a267556
Address CodeRabbit feedback on VNC server
2026-05-20 17:16:55 +02:00
Viktor Liu
17359cdc1e
Fix VNC lint, 386 atomic alignment, and Sonar code smells
2026-05-20 16:34:29 +02:00
Viktor Liu
7e5846a1ee
Resolve merge conflicts with main
2026-05-20 15:38:01 +02:00
Viktor Liu
517bea0daf
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
896530fd82
Add ExtendedMouseButtons for back/forward mouse buttons
2026-05-20 12:15:00 +02:00
Viktor Liu
354fd004c7
Enable IdP JWKS refresh in VNC JWT validator
2026-05-20 12:15:00 +02:00
Viktor Liu
c28e41e82b
Track macOS click count and pixel-scale wheel scroll
2026-05-20 12:14:53 +02:00
Viktor Liu
02b9fe704b
Use pixel-mode scroll on macOS for smoother wheel events
2026-05-20 12:14:45 +02:00
Viktor Liu
5e200fa571
Drop unreliable Sequoia preflight from macOS Screen Recording check
2026-05-20 12:14:37 +02:00
Viktor Liu
7d61975f6c
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
62b36112ea
Extract daemon-to-agent loopback proxy and token helpers into a platform-neutral file
2026-05-20 12:11:15 +02:00
Viktor Liu
df9a6fb020
Drop pbpaste trace log that fires whenever the macOS pasteboard is empty
2026-05-20 12:11:15 +02:00
Viktor Liu
b1b04f9ec6
Composite remote cursor into the framebuffer when the dashboard toggles it on
2026-05-20 12:11:15 +02:00
Viktor Liu
fe15688f20
Emit Cursor pseudo-encoding on Linux, Windows, and macOS
2026-05-20 12:11:15 +02:00
Viktor Liu
2285db2b62
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
b3f0f53a23
Collapse dirty rects to their bounding box when the bbox is densely dirty
2026-05-20 12:11:15 +02:00
Viktor Liu
5eec9962ba
Honour client JPEG quality fully now that backpressure caps it dynamically
2026-05-20 12:11:15 +02:00
Viktor Liu
393c102f45
Throttle VNC encoder JPEG quality and skip frames under write backpressure
2026-05-20 12:11:15 +02:00
Viktor Liu
b41fbad5e1
Surface DXGI fallback to GDI at warn level on Windows
2026-05-20 12:11:15 +02:00
Viktor Liu
24a5f2252c
Accept any RGB shift permutation as Tight-compatible per RFB 7.7.6
2026-05-20 12:11:15 +02:00
Viktor Liu
9d189bb3e8
Restore Hextile SolidFill and Zlib encoding paths
2026-05-20 12:11:15 +02:00
Maycon Santos
8e2505b59c
[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