Commit Graph

150 Commits

Author SHA1 Message Date
RustDesk
63f3f05b52 Revert "harden IPC path layout & permissions (per-UID dirs + service-scoped sockets)" 2026-03-19 21:10:13 +08:00
RustDesk
f89e9af072 Merge pull request #502 from fufesou/fix/ipc-unauthorized-access
harden IPC path layout & permissions (per-UID dirs + service-scoped sockets)
2026-03-19 20:43:39 +08:00
fufesou
204359b8cf hbb_common: harden ipc path permissions
Signed-off-by: fufesou <linlong1266@gmail.com>
2026-03-15 09:53:13 +08:00
21pages
035c3198c8 option hide-stop-service
Signed-off-by: 21pages <sunboeasy@gmail.com>
2026-03-05 17:21:21 +08:00
RustDesk
ae3726dd5f Add OPTION_AVATAR constant to config 2026-03-02 11:59:42 +08:00
fufesou
9b0cff8c76 feat(config): allow auto update
Signed-off-by: fufesou <linlong1266@gmail.com>
2026-02-27 21:02:55 +08:00
RustDesk
0b60b9ffa0 Add display_name field to configuration struct 2026-02-19 09:42:48 +08:00
RustDesk
da339dca64 Merge pull request #489 from 21pages/fix_key_pair_set
fix: invalidate key_pair cache instead of setting directly
2026-02-14 17:46:02 +08:00
21pages
13c4fb3f7d fix: invalidate key_pair cache instead of setting directly
Signed-off-by: 21pages <sunboeasy@gmail.com>
2026-02-14 12:48:15 +08:00
21pages
5d2acc7340 fix: improve machine_uid handling and add pk decryption fallback
- Cache machine_uid in get_uuid with retry logic for macOS
  - Fallback to pk decryption when machine_uid decryption fails
  - Add is_encrypted check to prevent duplicate encryption
  - Add get_existing_key_pair to get key pair without generating new one

Signed-off-by: 21pages <sunboeasy@gmail.com>
2026-02-14 11:11:03 +08:00
21pages
de0d7fded0 update key pair when set config
Signed-off-by: 21pages <sunboeasy@gmail.com>
2026-01-29 20:26:00 +08:00
fufesou
1f5ec1219f refact(crate): libloading x11
Signed-off-by: fufesou <linlong1266@gmail.com>
2026-01-21 11:09:44 +08:00
RustDesk
7d93d5af48 OPTION_KEEP_AWAKE_DURING_INCOMING_SESSIONS 2026-01-19 18:34:54 +08:00
21pages
73ab9575fd add options: disable-change-permanent-password, disable-change-id, disable-unlock-pin
Signed-off-by: 21pages <sunboeasy@gmail.com>
2025-12-30 22:53:40 +08:00
RustDesk
fa157108be Merge pull request #466 from fufesou/feat/linux_get_home_trusted
feat: linux, get_home_trusted
2025-12-23 00:17:12 +08:00
fufesou
6df5c2c0ce feat: linux, get_home_trusted
Signed-off-by: fufesou <linlong1266@gmail.com>
2025-12-22 23:18:35 +08:00
RustDesk
fe48b5e8e8 Merge pull request #458 from fufesou/feat/fs_read_cm
feat(fs): add init_data_stream_for_cm for cm reading
2025-12-18 15:41:59 +08:00
21pages
af5227a537 support restore preset password except clear password
Signed-off-by: 21pages <sunboeasy@gmail.com>
2025-12-16 11:33:10 +08:00
fufesou
98f58b97f2 feat(fs): add init_data_stream_for_cm for cm reading
Add new method `init_data_stream_for_cm()` to TransferJob to support
file reading and digest handling in Connection Manager (CM) context.

Signed-off-by: fufesou <linlong1266@gmail.com>
2025-12-07 16:20:15 +08:00
lc
812fc3a5cb fix too much webrtc logs 2025-11-27 20:06:19 +08:00
RustDesk
047356d949 Merge pull request #436 from lichon/main
add webrtc stream
2025-11-26 09:37:53 +08:00
lc
4e16783824 remove dummy webrtc stream,
add api to get webrtc stream
2025-11-20 14:58:10 +08:00
fufesou
44462174cf Refact: Remove unused code to avoid confusion.
Signed-off-by: fufesou <linlong1266@gmail.com>
2025-11-17 15:48:20 +08:00
lc
e4224a19bc Apply suggestions from code review 2025-11-17 15:19:20 +08:00
lichon
2dc15df250 Update src/webrtc.rs
webrtc session clean fallback

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-17 14:55:52 +08:00
lc
3282977e66 Apply suggestions from code review 2025-11-17 13:18:27 +08:00
fufesou
4f7cae670e fix: linux is_kde()
Signed-off-by: fufesou <linlong1266@gmail.com>
2025-11-17 10:25:30 +08:00
lc
7cb29b1117 add ice-servers config 2025-11-16 18:43:31 +08:00
lc
0da5d379fc support turn relay config, and force_relay option 2025-11-16 04:04:25 +08:00
lichon
483cf9d225 Apply suggestions from code review 2025-11-15 16:37:34 +08:00
lichon
b10a96b7bc Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-15 16:04:59 +08:00
lc
3a919aef54 minor change 2025-11-15 00:27:09 +08:00
lc
955e49dc4b use webrtc sdp fingerprint as session key 2025-11-14 20:32:49 +08:00
lc
5dcfea1ee4 support send_timeout 2025-11-14 16:03:02 +08:00
RustDesk
47dc73de1e Update src/webrtc.rs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-14 11:46:59 +08:00
lc
f8d1d4207d move out dummy webrtc mod 2025-11-14 01:09:08 +08:00
lc
67ad83a2b2 fix webrtc example when webrtc disabled 2025-11-13 23:25:53 +08:00
lc
c406111c66 make compiler happy 2025-11-13 23:22:41 +08:00
lc
f9e70f3d46 remove typo 2025-11-13 23:11:33 +08:00
lc
f5f78c84d5 remove unwraps 2025-11-13 23:07:01 +08:00
lichon
7f1941332b Merge branch 'rustdesk:main' into main 2025-11-13 21:00:36 +08:00
lc
4cea3a7769 better example support local dc stream
fix read/write issue
clear sessions after close
2025-11-13 20:59:32 +08:00
lc
8ae4651bc7 make webrtc-rs optional feature 2025-11-13 16:53:07 +08:00
RustDesk
6e2671e951 Merge pull request #437 from fufesou/fix/wayland_resolution
fix: Wayland mouse misalignment
2025-11-13 11:46:21 +08:00
21pages
c0b279f80a local option allow-ask-for-note
Signed-off-by: 21pages <sunboeasy@gmail.com>
2025-11-13 11:06:17 +08:00
fufesou
4fe91763b7 fix: Wayland resolution
1. Add filed `scale` in `message SwitchDisplay`(`message.proto`).
2. Add new function to get all display info.
3. Add help link of KDE Plasma Wayland.

Signed-off-by: fufesou <linlong1266@gmail.com>
2025-11-12 23:16:04 +08:00
lc
442160d704 add webrtc stream 2025-11-12 19:46:55 +08:00
RustDesk
9b53baeffe Merge pull request #430 from 21pages/refactor-edge-scroll-edge-thickness
optioin `edge-scroll-edge-thickness`
2025-11-06 23:06:49 +08:00
21pages
48042dd916 optioin edge-scroll-edge-thickness
Signed-off-by: 21pages <sunboeasy@gmail.com>
2025-11-06 18:35:26 +08:00
fufesou
2be0b865b9 fix: advanced option tls fallback
Signed-off-by: fufesou <linlong1266@gmail.com>
2025-11-04 20:52:50 +08:00