Commit Graph

4215 Commits

Author SHA1 Message Date
metalefty
2d78ee852c
Merge pull request #2958 from metalefty/v0.9-cherry-pick
[v0.9] cherry picks
2024-03-21 16:56:05 +09:00
metalefty
8948b95528
Merge branch 'v0.9' into v0.9-cherry-pick 2024-03-21 16:55:35 +09:00
metalefty
d7b7a3c231
Merge pull request #2995 from metalefty/v0.9-release
Release v0.9.25.1
2024-03-13 18:19:00 +09:00
Koichiro Iwao
41c79932c8 Bump version to v0.9.25.1 2024-03-13 13:30:06 +09:00
Koichiro Iwao
999dc3f968 Update NEWS for v0.9.25.1 2024-03-13 13:29:43 +09:00
metalefty
b913f0d4de
Merge pull request #2994 from metalefty/v0.9-vnc-scroll
[v0.9] Disable touch events on Xvnc Session
2024-03-13 13:21:39 +09:00
Koichiro Iwao
82bf205ef5 Remove XRDP_SESSION_CODE which is no longer used 2024-03-13 09:47:02 +09:00
sefler
14c21566dc Disabel touch events on XVNC session
Fixes:  #2993

(cherry picked from commit e97a66593b)
2024-03-13 09:42:44 +09:00
metalefty
18cb6ef0f1
Merge pull request #2988 from metalefty/v0.9-release
Release v0.9.25
2024-03-11 22:45:19 +09:00
Koichiro Iwao
a74747f162 Bump version to v0.9.25 2024-03-11 21:14:25 +09:00
Koichiro Iwao
318eba1c4b Update NEWS for v0.9.25 2024-03-11 21:14:25 +09:00
rowlap
aa05ddcf89 Remove duplicate DEBUG output
allow_multimon and new_cursors are printed twice

(cherry picked from commit bf81557cdc)
2024-03-06 17:19:27 +09:00
rowlap
8f970ca670 Remove tcutils channel from xrdp.ini
According to #1943 tcutils was removed, so update the channel section to match.

(cherry picked from commit 2a0c2a612f)
2024-02-27 22:33:57 +09:00
Koichiro Iwao
2de41e0e00 Migrate github actions to Node 20
Hand-apply of #2955, 4ba025b.
2024-02-26 19:08:34 +09:00
Derek Schrock
ba2202ef91 Fall back to IPv4 if IPv6 capable but don't have an IPv6 address set
When xrdp is built with IPv6 support it will only fall back to IPv4 if
IPv6 is not supported (EAFNOSUPPORT).  However, if the system is IPv6
capable but doesn't have an IPv6 address set (at least inside a FreeBSD
jail) EPROTONOSUPPORT is returned from socket().

(cherry picked from commit 5afbca4954)
2024-02-26 19:05:30 +09:00
Koichiro Iwao
84a747c42d Bump copyright year and make easier to bump
(cherry picked from commit ae249c6755)
2024-02-21 21:42:34 +09:00
metalefty
a56f088f4b
Merge pull request #2948 from metalefty/v0.9-inertial-scrolling
[v0.9] Backport touchpad intertial scrolling
2024-02-19 11:57:43 +09:00
metalefty
4114133bdb
Merge pull request #2947 from metalefty/v0.9-codec
[v0.9] Just log Image RemoteFX codec
2024-02-17 00:20:48 +09:00
sefler
34819ac504 Backport touchpad intertial scrolling 2024-02-15 17:40:57 +09:00
Koichiro Iwao
3ebbcdcb47 Just log Image RemoteFX codec 2024-02-15 13:37:09 +09:00
matt335672
ccee5af1f4
Merge pull request #2903 from matt335672/v0_9_test_suite_add_timeouts
[V0.9] test suite add timeouts
2024-01-07 14:29:10 +00:00
matt335672
64d36e078a Increase back-stop timeouts for some tests
The Debian build farm has a number of older and slower machines
which need to run the xrdp test suite.

On these platforms, we occasionally get timeouts where machine load is
high. This results in duplicate issues being raised. It is not obvious
that the issues are duplicates, which wastes time all round.

This commit splits up some test cases into multiple cases and
adds larger timeouts for those cases that are CPU-intensive.
2024-01-04 15:22:34 +00:00
matt335672
2314ebe11d
Merge pull request #2897 from matt335672/v0_9_update_to_freebsd_13
[V0.9] Bump CI version of FreeBSD to 13.2
2024-01-02 11:06:34 +00:00
matt335672
b32a53bf94 Bump CI version of FreeBSD to 13.2 2024-01-02 10:38:04 +00:00
metalefty
85c863dba6
Merge pull request #2892 from metalefty/v0.9-release
Release v0.9.24
2023-12-30 22:05:13 +09:00
Koichiro Iwao
0f6b6e5aae Bump version to v0.9.24 2023-12-30 21:25:12 +09:00
Koichiro Iwao
5d15e44e96 Update NEWS for v0.9.24 2023-12-30 21:24:33 +09:00
matt335672
e775881c1b
Merge pull request #2887 from matt335672/v0_9_cppcheck_2_13
[V0.9] Bump cppcheck to v2.13.0
2023-12-23 14:21:20 +00:00
matt335672
0f3ca051cb Bump cppchck to v2.13.0 2023-12-23 13:38:54 +00:00
matt335672
111ee54453
Merge pull request #2860 from naruhito/neutrinordp-proxy-sidebutton-click
Update xrdp-neutrinordp.c to support side button (forward/back) click
2023-11-27 15:08:31 +00:00
Naruhito
ca049dcf24 Proxy extended mouse button 8, 9 events
https://github.com/neutrinolabs/xrdp/pull/2860#issuecomment-1818705074
2023-11-27 20:53:50 +09:00
matt335672
b610b41165
Merge pull request #2839 from matt335672/v0_9_fix_devredir_ordering
Fix message ordering in devredir
2023-10-26 15:37:11 +01:00
matt335672
6500949a18 Fix message ordering in devredir
The drive redirector is not compliant with the message ordering
in [MS-RDPEFS], causing FreeRDP 2.11.2 ro fail on redirecting drives.
2023-10-26 15:19:09 +01:00
matt335672
b782340456
Merge pull request #2830 from matt335672/v0_9_cppcheck-inc
[V0.9] updated Cppcheck to 2.12.1 / provide more includes to Cppcheck
2023-10-18 10:42:15 +01:00
firewave
2c0749d2cb bumped Cppcheck to 2.12.1
- build Cppcheck with matchcompiler for improved performance
- build Cppcheck with Boost for improved ValueFlow performance
2023-10-18 10:14:41 +01:00
firewave
90c7e72656 provide more includes to Cppcheck
- added (temporary) suppression of Cppcheck `shiftTooManyBits` false positives in `libxrdp/xrdp_mppc_enc.c`
- fix Cppcheck `nullPointerRedundantCheck` in `sesman/chansrv/clipboard.c`
2023-10-18 10:14:06 +01:00
matt335672
66c668c44b
Merge pull request #2826 from metalefty/v0.9-no-c99
Cherry-pick downstream patch from EPEL
2023-10-12 10:19:40 +01:00
Koichiro Iwao
37f206d2c8 Cherry-pick downstream patch from EPEL
Same as #2715

Obtained from: https://src.fedoraproject.org/rpms/xrdp/blob/014fe42/f/xrdp-0.9.22.1-no-c99.patch
2023-10-12 14:27:39 +09:00
matt335672
4e713c884f
Merge pull request #2824 from matt335672/v0_9_remove_ss_clipboard_code
[v0.9] remove ss clipboard code
2023-10-11 11:18:50 +01:00
matt335672
f6fa3fc5ba Remove client-server shortcut paste code
When significant amounts of data is coming from the client in a
fragmented CLIPRDR_DATA_RESPONSE PDU, this code provides a way to
start copying it to a requesting client before it is all read.

The only advantage of this code is to provide a slight speedup
before a paste is visible on the server.

There are significant problems with this code. Notably, it is
very difficult to parse Unicode text coming through this route. Each
UTF-16 character can occupy up to 4 bytes, and a fragmentation
boundary could occur at any point within a UTF-16 character.
2023-10-11 10:41:34 +01:00
matt335672
7603c5791b
Merge pull request #2817 from matt335672/v0_9_groups_patch
[V0.9] groups patch
2023-10-06 11:11:32 +01:00
matt335672
e6bc4db423 access_login_allowed: Remove primary group check
This check is now performed within g_check_user_in_group()
2023-10-06 10:56:14 +01:00
matt335672
8323e80668 Add getgrouplist() support to os_calls
On enterprise systems, using getgrouplist() (if available)
is more efficient than iterating over the members of the group,
and is also more likely to work
2023-10-06 10:52:08 +01:00
matt335672
1658d71ee3 Add getgrouplist() detection functionality
Defines the macro HAVE_GETGROUPLIST if getgrouplist() is
available, and defines the type passed to the GID array as
GETGROUPS_T
2023-10-06 10:51:43 +01:00
metalefty
1b49f82e39
Merge pull request #2808 from metalefty/v0.9-release
Release v0.9.23.1
2023-09-28 02:55:42 +09:00
Koichiro Iwao
82dbfa338a Bump version to v0.9.23.1 2023-09-27 21:12:15 +09:00
Koichiro Iwao
2b9b84fb81 Update NEWS for v0.9.23.1 2023-09-27 21:11:14 +09:00
metalefty
fd25fc546a
Merge pull request from GHSA-2hjx-rm4f-r9hw
[V0.9] CVE-2023-42822
2023-09-27 17:37:24 +09:00
matt335672
58c9c1f06a CVE-2023-42822
- font_items in struct xrdp_font renamed to chars to catch all
  accesses to it. This name is consistent with the type of
  the array elements (struct xrdp_font_char).
- Additional fields added to struct xrdp_font to allow for range
  checking and for a default character to be provided
- Additional checks and logic added to xrdp_font_create()
- New macro XRDP_FONT_GET_CHAR() added to perform checked access
  to chars field in struct xrdp_font
2023-09-25 14:02:30 +01:00
matt335672
4db9323413
Merge pull request #2784 from matt335672/v0_9_z3
Cppcheck 2.8 removed the dependency on z3
2023-09-04 10:33:36 +01:00