Commit Graph

18996 Commits

Author SHA1 Message Date
akallabeth
4099bd4e45
[warnings] integer casts/checks 2024-07-02 12:38:00 +02:00
akallabeth
d6949721c6
Merge pull request #10330 from akallabeth/fix_argument
[core,gateway] fix freerdp_tls_new call
2024-07-02 12:03:16 +02:00
akallabeth
438cf4b333
[core,gateway] fix freerdp_tls_new call 2024-07-02 11:48:54 +02:00
Martin Fleisz
b6c8b4d9a4
Merge pull request #10321 from akallabeth/drive-fix
[channel,drive] fix directory traversal detection
2024-07-02 08:50:42 +02:00
akallabeth
31257b1710
Merge pull request #10328 from akallabeth/win-scheme-stub
[client,sdl] add_scheme_handler stub for windows
2024-07-02 08:43:15 +02:00
akallabeth
e69fe29a9f
[ci,windows] enable WITH_WEBVIEW 2024-07-02 08:31:56 +02:00
akallabeth
95eefc7fb8
[client,sdl] add_scheme_handler stub for windows 2024-07-02 08:31:51 +02:00
akallabeth
23c8f36358
Merge pull request #10315 from akallabeth/shadow_speedup
[server,shadow] optimize image comparison
2024-07-02 08:23:28 +02:00
akallabeth
00e15e736c
[server,shadow] optimize image comparison
Implement per format comparison functions
2024-07-02 08:06:18 +02:00
akallabeth
15e49da638
Merge pull request #10322 from akallabeth/proxy-del-config
[server,proxy] remove sample config.ini
2024-07-01 17:33:01 +02:00
akallabeth
e020e6c5d9
Merge pull request #10323 from akallabeth/pkcs11-log
[winpr,ncrypt] improve pkcs11 logging
2024-07-01 17:24:42 +02:00
akallabeth
7b7bea276c
Merge pull request #10327 from mfleisz/fix/auth-last-error
core: Fix handling of logon errors during nla_client_begin
2024-07-01 17:16:38 +02:00
akallabeth
9a2a1c3717
[channel,drive] fix directory traversal detection
filter out .. part of the file or directory name.
2024-07-01 17:10:23 +02:00
Martin Fleisz
f0e20bc1d2
Merge pull request #10325 from akallabeth/tcp-leak
[core,tcp] fix memory leak
2024-07-01 16:22:17 +02:00
Martin Fleisz
c1d543685b
Merge pull request #10324 from hardening/ms_port
add Hebrew (Standard) keyboard layout ID (#3)
2024-07-01 16:14:24 +02:00
akallabeth
2debe3becc
Merge pull request #10326 from akallabeth/drop-gfx-config
[server,proxy] remove unused section from config
2024-07-01 15:48:32 +02:00
Martin Fleisz
d8cd7c2f38 core: Fix handling of logon errors during nla_client_begin
Under certain circumstances `InitializeSecurityContext` returns an error
if a wrong password was provided. This PR checks the returned status
code and correctly sets the last error code. This allows a client
application to ask the user again for credentials.

A scenario where this happens is when a user tries to connect with a wrong
password and both machines are joined to the same domain.
2024-07-01 14:54:53 +02:00
akallabeth
8f4d105f50
[server,proxy] remove unused section from config
Remote GFXSettings and Clipboard section as it was no longer used. This
is a non breaking change, existing entries will be ignored (just like up
until now) but the generated config now no longer contains it.
2024-07-01 11:40:10 +02:00
akallabeth
ab39072ce9
[core,tcp] fix memory leak 2024-07-01 11:07:39 +02:00
akallabeth
b3f268ef86
[winpr,ncrypt] improve pkcs11 logging 2024-07-01 10:25:28 +02:00
akallabeth
605395028c
[server,proxy] remove sample config.ini
the sample can be dynamically generated by proxy binary, do not leave an
(outdated) config example in the repo.
2024-07-01 09:58:45 +02:00
Hideyuki Nagase
ac00064647 add Hebrew (Standard) keyboard layout ID (#3)
Co-authored-by: Hideyuki Nagase <hideyukn@ntdev.microsoft.com>
2024-07-01 09:43:46 +02:00
akallabeth
b00b38abc2
Merge pull request #10319 from akallabeth/safe_atom_name_log
[client,X11] log atom numbers passed to XGetAtomName
2024-06-28 11:06:17 +02:00
akallabeth
34a23467c5
Merge pull request #10318 from akallabeth/ipv6-fix
[core,tcp] Improve IPv4 or IPv6 connect
2024-06-28 10:49:32 +02:00
akallabeth
357a92ce55
[client,X11] log atom numbers passed to XGetAtomName 2024-06-28 09:21:17 +02:00
akallabeth
562fa8a03d
[core,tcp] Improve IPv4 or IPv6 connect
* Fix +ipv6 option, now fall back to IPv4 if no IPv6 entry found
* Add new option ForceIPvX to fail connect if no such entry is found
2024-06-28 09:07:33 +02:00
Martin Fleisz
c9aa349c52
Merge pull request #10312 from akallabeth/http_timeout
[gateway,http] implement proper timeouts
2024-06-27 10:17:40 +02:00
Martin Fleisz
9b7fe9183a
Merge pull request #10313 from akallabeth/tz-trace-log
[winpr,timezone] reduce log verbosity
2024-06-27 10:04:20 +02:00
akallabeth
6e1e35590e
[winpr,timezone] reduce log verbosity 2024-06-27 09:48:34 +02:00
akallabeth
431a96fe85
[core,gateway] properly log location 2024-06-27 08:46:48 +02:00
akallabeth
1de8f5a7aa
[core,gateway] pass rdpContext
* pass rdpContext to freerdp_tls_new
* check freerdp_shall_disconnect_context in http_response_recv
2024-06-27 08:42:08 +02:00
akallabeth
559e770982
[gateway,http] implement proper timeouts
Implement request timeouts in http_response_recv, use TcpConnectTimeout
as default
2024-06-26 22:53:09 +02:00
akallabeth
4bf3eac357
Merge pull request #10311 from akallabeth/timezone_fixes
Timezone fixes
2024-06-26 21:13:47 +02:00
akallabeth
3c4c827358
[winpr,timezone] Fix GetDynamicTimeZoneInformation
* Improve logging, use single function to dump data.
* Use GetDynamicTimeZoneInformation as man getter,
  GetTimeZoneInformation only retrieves a subset.
2024-06-26 20:59:43 +02:00
akallabeth
9b89d8fa23
[core,timezone] improve timezone logging
* Unify logging to single function
* Add helpers to format magic numbers as strings
2024-06-26 20:37:41 +02:00
Martin Fleisz
d1f0e2a0e2
Merge pull request #10306 from akallabeth/static-link-fix
[freerdp,cmake] fix linking of object library
2024-06-25 16:02:00 +02:00
akallabeth
b0f7ab7d16
[freerdp,cmake] fix linking of object library
do add to source files so that static linking does not look for a static
library once installed.
2024-06-25 15:44:57 +02:00
akallabeth
724b3a7188
Merge pull request #10305 from akallabeth/drdynvc-thread-prio
[channels,drdynvc] only set thread priority if we have one
2024-06-25 14:56:35 +02:00
akallabeth
8e81d24e14
[channels,drdynvc] only set thread priority if we have one 2024-06-25 14:38:12 +02:00
Martin Fleisz
a01639e3c4
Merge pull request #10304 from akallabeth/neon-sse-guard
Neon sse guard
2024-06-25 11:52:27 +02:00
akallabeth
7abf5eb3a7
[cmake,codec] fix WITH_OPUS
detect Opus in libfreerdp directly.
The target definition is there and if we run detection in a subdirectory
the required symbols are not visible
2024-06-25 11:30:42 +02:00
akallabeth
9b65c1109f
[build,mac] enable sse+neon
enable SSE and NEON optimized code for universal build
2024-06-25 10:16:17 +02:00
akallabeth
4cd5fe48ed
[build,mac] update dependency versions
update bundle-mac-os.sh versions checked out
2024-06-25 10:16:14 +02:00
akallabeth
8020efcd0b
[primitives,codec] guard NEON code with platform
NEON optimized code might be used in multiarch/universal builds.
So not only guard with WITH_NEON but also with architecture defines from
winpr/platform.h
2024-06-25 10:00:41 +02:00
akallabeth
896ea3c445
[primitives,codec] guard SSE code with platform
SSE optimized code might be used in multiarch/universal builds.
So not only guard with WITH_SSE2 but also with architecture defines from
winpr/platform.h
2024-06-25 09:56:52 +02:00
Martin Fleisz
628f045de6
Merge pull request #10303 from akallabeth/fix_clang_detect
[cmake] unify clang detection
2024-06-25 09:44:35 +02:00
akallabeth
370975cbd4
Merge pull request #10288 from akallabeth/http_read_timeout
[core,gateway] use TcpConnectTimeout for read as well
2024-06-25 09:17:06 +02:00
akallabeth
26e570e9fe
[cmake] unify clang detection
* Move Clang detection to own CMake file
* Check for Clang and AppleClang
* Use CMAKE_COMPILER_IS_CLANG to check for Clang in code
2024-06-25 09:09:50 +02:00
Martin Fleisz
55258cd9eb
Merge pull request #10299 from akallabeth/tzid-fix
Tzid fix
2024-06-24 15:04:48 +02:00
Armin Novak
85078bf8c8
[winpr,timezone] fix transition date detection 2024-06-24 14:45:09 +02:00