Commit Graph

6600 Commits

Author SHA1 Message Date
Armin Novak
f5435740d4 [utils,smartcard] assert and improve log 2025-04-14 13:56:24 +02:00
akallabeth
6d8d5e3ebe [core,caps] only warn in rdp_write_order_capability_set
warn about inconsistencies between settings and OrderSupport flags but
do not abort.
2025-04-11 10:16:36 +02:00
akallabeth
3805575c58 Merge pull request #11384 from akallabeth/rel-mouse-change
Rel mouse change
2025-04-11 08:21:14 +02:00
akallabeth
dfdd9f4fe1 [codec,rfx] fix invalid region calculation 2025-04-10 20:46:18 +02:00
akallabeth
25f54d866f [gdi] ignore empty rects in gdi_surface_bits 2025-04-10 19:06:31 +02:00
akallabeth
9961deb8e6 [core,gcc] ignore RNS_UD_CS_RELATIVE_MOUSE_INPUT
if the RDP protocol version is less than RDP_VERSION_10_12 (0x00080011)
ignore the flag.
2025-04-10 08:48:52 +02:00
akallabeth
7e11df73ba [client,common] add setting FreeRDP_MonitorOverrideFlags
use this mask to mark monitor settings set from command line.
2025-04-10 08:31:56 +02:00
akallabeth
3890c98c84 [core,gateway] fix string reading for TSG
The MaxCount field might be bigger than what is actually encoded, so
only read the ActualCount elements from the stream.
2025-04-09 22:32:54 +02:00
Armin Novak
de7d253e79 [utils,smartcard] only check return length if success 2025-04-09 10:22:02 +02:00
akallabeth
0601be648b [core,proxy] align no_proxy to curl
Since no_proxy is not really a standard orientate our implementation on
other popular software.
Additionally keep the support for CIDR notation.
2025-04-08 12:47:18 +02:00
akallabeth
ac09ac7074 [core,caps] fix rdp_apply_order_capability_set
Check local setting of BitmapCacheV3Enabled before enabling it.
2025-04-04 13:05:54 +02:00
akallabeth
87dbdae34b [core,settings] enforce OrderSupportFlags
After client preConnect callback and server peer initialize ensure that
the OrderSupportFlags are consistent with the other settings
2025-04-04 12:02:57 +02:00
akallabeth
7e4ac70211 [core,gateway] log tsg timeout 2025-04-03 16:17:25 +02:00
Richard Markiewicz
68f8c17b53 [core,tls] enable SNI when building with libreSSL 2025-04-01 08:48:11 -04:00
akallabeth
280c61061c [core,rdp] fix check for SEC_FLAGSHI_VALID 2025-03-31 22:16:05 +02:00
akallabeth
81131dddb9 [core,rdp-sec] unify security flags on UINT16 2025-03-31 19:32:06 +02:00
Eyal Tolchinsky
8c766370aa [core] synchronize standard RDP security encrypt and send
Had a race condition when using standard RDP security layer, where
encryption and send were not synchronized. This commit properly
synchronizes the above issue.
2025-03-31 17:46:12 +03:00
Eyal Tolchinsky
9be45a9fac [core] standard RDP race condition on sec_flags
Had a race condition when using standard RDP security layer, where
multiple threads accessed |rdp->sec_flags| and modified it. This commit
removes the above field and converts to using a stack variable.
2025-03-31 17:46:12 +03:00
poasun
036ccd1cdd [core,childsession] fix BIO_set_handle
* Set the HANDLE directly, not a HANDLE*
* Fix the setter function (wrong function signature)
2025-03-31 09:03:44 +02:00
akallabeth
eb4380d458 [core,info] only set HIDEF_RAIL if RdpVersion recent enough 2025-03-29 08:26:02 +01:00
David Fort
b67a1aed7e nla: send user and domain hints with smartcard logon
When logging with a smartcard logon, the TS Credentials packet can also contains
hints of the user and the domain that were used. This patch adds these informations.
2025-03-27 15:07:54 +01:00
akallabeth
89340f096f [gdi] clean up gdi_send_suppress_output 2025-03-26 20:34:57 +01:00
akallabeth
c06bf6ccb0 [warnings] fix format warnings 2025-03-24 21:23:10 +01:00
akallabeth
04b2cd9dcf [core,caps] remove unused define 2025-03-21 09:34:41 +01:00
akallabeth
48c38a2718 [core,gcc] simplify cleanup code 2025-03-21 09:29:35 +01:00
akallabeth
424a4f93c2 Merge pull request #11360 from akallabeth/dyn-log
Prefer Dynamic log
2025-03-20 08:49:28 +01:00
Armin Novak
e4df43a37a [freerdp] fix argument consistency, casts 2025-03-19 19:32:09 +01:00
akallabeth
97d359aafb Merge pull request #11377 from llyzs/fix-transport
[core,transport] fix transport written statistics overflowing.
2025-03-19 11:48:04 +01:00
Vic Lee
7338c52893 [core,transport] fix transport written statistics overflowing. 2025-03-19 18:26:28 +08:00
Armin Novak
01f01d3195 [core,gateway] extend HTTP to RPC fallback detection
* add HTTP_STATUS_GONE and HTTP_STATUS_FORBIDDEN to status codes on
  which to fall back to RPC
2025-03-19 09:48:35 +01:00
Armin Novak
7bf010af22 [core,gateway] log http reponse location of call
in http_response_log_error_status log the location of where it was
called instead of the function itself
2025-03-19 09:48:29 +01:00
akallabeth
d529675f70 [cmake,primitives] mark WITH_OPENCL unmaintained 2025-03-17 16:23:53 +01:00
akallabeth
fea9e1d33d [core,licensing] use dynamic logger 2025-03-17 10:52:54 +01:00
akallabeth
7b9b47555f [core,capabilties] use dynamic logger 2025-03-17 10:52:52 +01:00
akallabeth
f843cb7815 [core,nego] use dynamic logger 2025-03-17 10:48:48 +01:00
akallabeth
5b908fcd52 [core,mcs] use dynamic logger 2025-03-17 10:48:46 +01:00
akallabeth
9aa19cc5ce [core,tpkt] use dynamic logger 2025-03-17 10:48:36 +01:00
akallabeth
994898be4a [primitives,sse] remove sse2_yCbCrToRGB_16s16s_P3P3
The SSE implementation did not produce divergent results due to rounding
errors. Since the function is unused in the project itself remove it.
2025-03-16 20:18:58 +01:00
akallabeth
b0393e434e [primitives] unify writing YUV data as RGB pixel 2025-03-16 20:18:36 +01:00
akallabeth
83cb4f1c53 [primitives,yuv] refactor yuv420 to RGB
the routine did have some out of bound read issues, refactor to avoid
that.
2025-03-16 20:18:30 +01:00
akallabeth
40e67d2d44 [codec,h264] assert function pointer 2025-03-15 20:55:49 +01:00
akallabeth
b46b67271e [primitives] fix optimized setup
only initialize once to generic implementation and then try the
optimized versions
2025-03-15 20:55:26 +01:00
Martin Fleisz
75166df167 core: Set instance pointer after channel reload 2025-03-14 10:10:00 +01:00
akallabeth
41b6d85a8e [core,gateway] additional RTS checks 2025-03-13 15:15:48 +01:00
akallabeth
264e8e8ab2 [core,info] limit user and domain length to UNLEN 2025-03-13 11:53:26 +01:00
akallabeth
37b5fa6562 [codec,dsp] fix missing integer casts 2025-03-13 11:39:15 +01:00
akallabeth
3ecbb7120e [core,gateway] add rts parser checks
Add some additional checks to [MS-RPCH] command parsing
2025-03-13 11:24:31 +01:00
akallabeth
885d3aa56f [codec,region] fix noinline warning 2025-03-13 11:24:27 +01:00
akallabeth
7e461a0327 [codec,progressive] fix region cleanup 2025-03-13 08:45:42 +01:00
Armin Novak
64a7b665f6 [codec,region] code cleanup 2025-03-12 19:49:50 +01:00