fufesou
969ea28d06
feat(fs): delegate win --server file reading to CM ( #13736 )
...
- Route Windows server-to-client file reads through CM instead of the connection layer
- Add FS IPC commands (ReadFile, CancelRead, SendConfirmForRead, ReadAllFiles) and CM data messages
(ReadJobInitResult, FileBlockFromCM, FileReadDone, FileReadError, FileDigestFromCM, AllFilesResult)
- Track pending read validations and read jobs to coordinate CM-driven file transfers and clean them up
on completion, cancellation, and errors
- Enforce a configurable file-transfer-max-files limit for ReadAllFiles and add stronger file name/path
validation on the CM side
- Improve Flutter file transfer UX and robustness:
- Use explicit percent/percentText progress fields
- Derive speed and cancel actions from the active job
- Handle job errors via FileModel.handleJobError and complete pending recursive tasks on failure
- Wrap recursive directory operations in try/catch and await sendRemoveEmptyDir when removing empty directories
Signed-off-by: fufesou <linlong1266@gmail.com >
2025-12-28 15:39:35 +08:00
fufesou
5b2101e17d
fix(terminal): macos, env TERM ( #13901 )
...
Signed-off-by: fufesou <linlong1266@gmail.com >
2025-12-26 15:28:35 +08:00
RustDesk
b69e871f9a
Revert "fix: set TERM env variable for terminal to fix Delete key not working…" ( #13894 )
...
This reverts commit bba57069a8 .
2025-12-24 22:59:13 +08:00
lif
bba57069a8
fix: set TERM env variable for terminal to fix Delete key not working ( #13747 )
...
Set TERM=xterm-256color when spawning PTY shell to ensure proper
handling of control sequences. This fixes the issue where Delete/
Backspace keys were not working in terminal connections, particularly
from iPad to Linux.
Fixes #13621
2025-12-24 18:18:51 +08:00
fufesou
b2dff336ce
fix: wayland controlled side, cursor misalignment ( #13537 )
...
Signed-off-by: fufesou <linlong1266@gmail.com >
2025-11-18 00:37:15 +08:00
fufesou
ed39cc3038
fix: video service, wait timeout ( #13208 )
...
Use multiple frame fetched notifiers.
Signed-off-by: fufesou <linlong1266@gmail.com >
2025-10-22 13:19:08 +08:00
fufesou
48669cdb34
fix: alarm audit number, ipv6 prefix attempts ( #13097 )
...
Signed-off-by: fufesou <linlong1266@gmail.com >
2025-10-06 22:10:54 +08:00
Michael Bacarella
a953845ba7
feat: Add IPv6 prefix-based rate limiting on login failures ( #13070 )
...
Enhance security by implementing rate limiting on IPv6 prefixes (/64, /56, /48)
to prevent brute force attacks that exploit cheap IPv6 address generation.
* Add private get_ipv6_prefixes() to calculate network prefixes
* Implement private check_failure_ipv6_prefix() for prefix-specific limits
on IPv6 addresses
* Refactor check_failure() and update_failure() to support both IPs and prefixes
* Add ExceedIPv6PrefixAttempts to AlarmAuditType enum
Signed-off-by: Michael Bacarella <m@bacarella.com >
2025-10-05 23:43:29 +08:00
Nathan Saslavsky
eacb07988d
Add Wayland multi-monitor screen capture functionality ( #12900 )
...
* Add Wayland multi-monitor screen capture functionality
* fix wayland capture issues by reverting to CapturerPtr, the problem was that calling Display::all in get_capturer_for_display was dropping the pipewire capturer and causing the video to freeze.
* If running as AppImage or flatpak, ignore the 'multiple' argument
* Comment out warning log with unclear purpose Comment out warning log with unclear purpose
---------
Co-authored-by: fufesou <13586388+fufesou@users.noreply.github.com >
2025-09-22 21:53:14 +08:00
luzpaz
e14e850e10
fix: typos in src/ and subdirectories ( #11727 )
...
Found via codespell
2025-09-17 13:37:44 +08:00
fufesou
8d453010a4
fix: port forward, invalid msg ( #12881 )
...
Signed-off-by: fufesou <linlong1266@gmail.com >
2025-09-09 21:20:58 +08:00
fufesou
df0ff4f134
feat: cursor, linux, Xwayland ( #12859 )
...
Signed-off-by: fufesou <linlong1266@gmail.com >
2025-09-06 20:35:51 +08:00
fufesou
6c949a9602
feat: cursor, linux ( #12822 )
...
* feat: cursor, linux
Signed-off-by: fufesou <linlong1266@gmail.com >
* refact: cursor, text, white background
Signed-off-by: fufesou <linlong1266@gmail.com >
---------
Signed-off-by: fufesou <linlong1266@gmail.com >
2025-09-06 12:11:43 +08:00
fufesou
d499098c4f
Fix/cursor macos multi displays ( #12791 )
...
* fix: cursor, whiteboard, pos
Signed-off-by: fufesou <linlong1266@gmail.com >
* fix: whiteboard, macos, multi displays
Signed-off-by: fufesou <linlong1266@gmail.com >
---------
Signed-off-by: fufesou <linlong1266@gmail.com >
2025-09-01 13:02:06 +08:00
fufesou
e2ec6a5be8
feat: whiteboard, macos ( #12780 )
...
Signed-off-by: fufesou <linlong1266@gmail.com >
2025-08-30 22:16:35 +08:00
fufesou
7ca8e0d437
refact: show my cursor ( #12765 )
...
1. Show not supported on Win7.
2. Enabling "Show my cursor" automatically enables "View mode".
Signed-off-by: fufesou <linlong1266@gmail.com >
2025-08-29 01:06:37 +08:00
fufesou
d0e9c6dc57
feat: show my cursor ( #12745 )
...
Signed-off-by: fufesou <linlong1266@gmail.com >
2025-08-28 15:20:01 +08:00
fufesou
6381f43f01
feat: clipboard files, audit ( #12730 )
...
Signed-off-by: fufesou <linlong1266@gmail.com >
2025-08-25 22:29:53 +08:00
fufesou
f4fb31d7a1
feat: file transfer, resume ( #12626 )
...
Signed-off-by: fufesou <linlong1266@gmail.com >
2025-08-25 14:34:03 +08:00
fufesou
a22f2108c6
refact: suppress warns on macos ( #12449 )
...
Signed-off-by: fufesou <linlong1266@gmail.com >
2025-08-18 15:09:11 +08:00
RustDesk
53efaf125c
Revert "Feat: file transfer, resume ( #12557 )" ( #12620 )
...
This reverts commit 43ec57c769 .
2025-08-11 23:25:41 +08:00
fufesou
43ec57c769
Feat: file transfer, resume ( #12557 )
...
Signed-off-by: fufesou <linlong1266@gmail.com >
2025-08-09 23:47:19 +08:00
21pages
9409912344
update kcp-sys ( #12419 )
...
1. Update kcp-sys to send KCP in frames to avoid potential crashes.
2. Fix the issue when the controling side is closed, the kcp connection close is not immediately recognized by the controlled end.
* Unless the controling side receives the close reason, force the sending of the close reason to the controlled end when using KCP, and delay for 30ms to ensure the message is sent successfully.
* Move the CloseReason receiving forward, as this message needs to be received when unauthorized, especially for kcp.
Signed-off-by: 21pages <sunboeasy@gmail.com >
2025-07-25 13:22:52 +08:00
fufesou
247f0b7eb1
fix: terminal, check service_id ( #12384 )
...
Signed-off-by: fufesou <linlong1266@gmail.com >
2025-07-23 15:43:55 +08:00
fufesou
61194182eb
fix: debug, terminal web ( #12375 )
...
Signed-off-by: fufesou <linlong1266@gmail.com >
2025-07-22 19:26:50 +08:00
fufesou
b65ef36049
fix: terminal, restore, multi-sessions, msgs ( #12364 )
...
Signed-off-by: fufesou <linlong1266@gmail.com >
2025-07-22 09:59:20 +08:00
fufesou
391ef70007
fix: terminal, persistent ( #12357 )
...
Signed-off-by: fufesou <linlong1266@gmail.com >
2025-07-21 17:15:02 +08:00
fufesou
bdd3bb946e
refact: restore terminals ( #12334 )
...
Signed-off-by: fufesou <linlong1266@gmail.com >
2025-07-18 11:51:53 +08:00
fufesou
661be6ae36
fix: build ( #12313 )
...
Signed-off-by: fufesou <linlong1266@gmail.com >
2025-07-16 09:28:24 +08:00
fufesou
e31b04b6a7
fix: new translation message ( #12312 )
...
Signed-off-by: fufesou <linlong1266@gmail.com >
2025-07-16 09:25:47 +08:00
fufesou
d5eb87ee8b
fix: try to fix stuck on read ( #12310 )
...
Signed-off-by: fufesou <linlong1266@gmail.com >
2025-07-15 23:36:16 +08:00
fufesou
65c721e088
fix: terminal connection on Linux and MacOS ( #12307 )
...
Signed-off-by: fufesou <linlong1266@gmail.com >
2025-07-15 23:09:04 +08:00
fufesou
abb7748ee9
refact: terminal, win, run as admin ( #12300 )
...
Signed-off-by: fufesou <linlong1266@gmail.com >
2025-07-15 16:32:14 +08:00
fufesou
f766d28c36
Fix/linux keep terminal sessions ( #12222 )
...
* fix: linux, keep terminal sessions
Signed-off-by: fufesou <linlong1266@gmail.com >
* fix: terminal service stucked at reader join
Signed-off-by: fufesou <linlong1266@gmail.com >
---------
Signed-off-by: fufesou <linlong1266@gmail.com >
2025-07-03 17:27:50 +08:00
RustDesk
5faf0ad3cf
terminal works basically. ( #12189 )
...
* terminal works basically.
todo:
- persistent
- sessions restore
- web
- mobile
* missed terminal persistent option change
* android sdk 34 -> 35
* +#![cfg_attr(lt_1_77, feature(c_str_literals))]
* fixing ci
* fix ci
* fix ci for android
* try "Fix Android SDK Platform 35"
* fix android 34
* revert flutter_plugin_android_lifecycle to 2.0.17 which used in rustdesk 1.4.0
* refactor, but break something of desktop terminal (new tab showing loading)
* fix connecting...
2025-07-01 13:12:55 +08:00
fufesou
fd4e0146e1
fix: replace sh with CMD_SH ( #12173 )
...
Signed-off-by: fufesou <linlong1266@gmail.com >
2025-06-26 15:54:16 +08:00
fufesou
4d8bfab86e
fix: sequentially post conn audit ( #12152 )
...
* fix: sequentially post conn audit
Signed-off-by: fufesou <linlong1266@gmail.com >
* Update connection.rs
* refact: simplify loop
Signed-off-by: fufesou <linlong1266@gmail.com >
* Update connection.rs
---------
Signed-off-by: fufesou <linlong1266@gmail.com >
Co-authored-by: RustDesk <71636191+rustdesk@users.noreply.github.com >
2025-06-23 23:55:07 +08:00
rustdesk
7792ac1481
udp punch and ipv6 punch
2025-06-12 21:32:28 +08:00
fufesou
8b2643e060
refact: remove unnecessary printing ( #12000 )
...
Signed-off-by: fufesou <linlong1266@gmail.com >
2025-06-06 14:52:01 +08:00
fufesou
06ab987e32
fix: macos, hidpi, resolutions ( #11825 )
...
Signed-off-by: fufesou <linlong1266@gmail.com >
2025-05-21 16:53:02 +08:00
rustdesk
b4a30cac73
Try to fix https://github.com/rustdesk/rustdesk/discussions/5602#discussioncomment-12482865
2025-05-21 15:00:12 +08:00
fufesou
6144a1c97e
fix: osx, reset modifiers' state after locking screen ( #11806 )
...
https://github.com/rustdesk/rustdesk/issues/11802
Signed-off-by: fufesou <linlong1266@gmail.com >
2025-05-19 21:02:07 +08:00
fufesou
118552ad0e
refact: osx, handle key events, sleep ( #11798 )
...
Signed-off-by: fufesou <linlong1266@gmail.com >
2025-05-19 10:01:42 +08:00
rustdesk
9217205229
all key/mouse in QUEUE since --server has GUI too (--tray)
2025-05-17 14:40:44 +08:00
fufesou
4f6ae08110
fix: macos, key input lags, when service running ( #11786 )
...
Signed-off-by: fufesou <linlong1266@gmail.com >
2025-05-17 11:03:02 +08:00
fufesou
20fcddffbd
fix: build ( #11611 )
...
Signed-off-by: fufesou <linlong1266@gmail.com >
2025-04-30 23:49:18 +08:00
fufesou
c626c2414d
feat: take screenshot ( #11591 )
...
* feat: take screenshot
Signed-off-by: fufesou <linlong1266@gmail.com >
* screenshot, vram temp switch capturer
Signed-off-by: fufesou <linlong1266@gmail.com >
* fix: misspelling
Signed-off-by: fufesou <linlong1266@gmail.com >
* screenshot, taking
Signed-off-by: fufesou <linlong1266@gmail.com >
* screenshot, rgba stride
Signed-off-by: fufesou <linlong1266@gmail.com >
* Bumps 1.4.0
Signed-off-by: fufesou <linlong1266@gmail.com >
---------
Signed-off-by: fufesou <linlong1266@gmail.com >
2025-04-30 17:23:35 +08:00
fufesou
198967ea35
fix: allow logon screen password, on lock screen ( #11566 )
...
Signed-off-by: fufesou <linlong1266@gmail.com >
2025-04-25 10:37:09 +08:00
fufesou
23e70c0fd1
refact: remote printer, adapter dll, free data ptr ( #11279 )
...
Signed-off-by: fufesou <linlong1266@gmail.com >
2025-03-28 21:58:46 +08:00
fufesou
ee2478168c
fix: remote printer ( #11270 )
...
* fix: remote printer, log
Signed-off-by: fufesou <linlong1266@gmail.com >
* fix: remote printer, avoid double sign
Signed-off-by: fufesou <linlong1266@gmail.com >
* Spawn a new thread to handle the print job.
Signed-off-by: fufesou <linlong1266@gmail.com >
---------
Signed-off-by: fufesou <linlong1266@gmail.com >
2025-03-28 10:36:42 +08:00