Commit Graph

21656 Commits

Author SHA1 Message Date
akallabeth
040a1fa254 Merge pull request #11735 from akallabeth/cmdline-escape-strings
Cmdline escape strings
2025-07-09 11:00:25 +02:00
Armin Novak
2f617c9e39 [client,common] Unescape /gateway option values
To support escaped characters with /gateway all values are now
unuescaped before use.
2025-07-09 09:56:55 +02:00
Armin Novak
45b3cbf120 [winpr,utils] Add escaped quote support
In CommandLineParseCommaSeparatedValues[Ex] now escaped characters are
respected, so a single quote in a string does not break parsing.
2025-07-09 09:55:57 +02:00
akallabeth
bdc845cade Merge pull request #11723 from hardening/kerb_nla_fixes
kerberos: do various tries for TGT retrieval in u2u
2025-07-03 18:38:00 +02:00
David Fort
20686345da kerberos: do various tries for TGT retrieval in u2u
In a server-side user2user scenario, you can have either a configuration with
a service mapped to a user or something host based. So your keytab will contain
either a TERMSRV/<host>@<realm> entry that is able to retrieve a TGT, or the
machine account associated with <host>$@<realm>.

This patch makes the kerberos SSPI first try to retrieved a TGT as if it was
a service mapped to a user. And if it doesn't work (or if the entry is missing),
it goes for a host based attempt.
2025-07-03 14:28:49 +02:00
akallabeth
31c5405cd0 Merge pull request #11724 from akallabeth/clip-format-translate-fix
[client,x11] fix clipboard issues
2025-07-03 07:55:35 +02:00
akallabeth
671381da74 [client,x11] fix clipboard issues
* better logging of requested formats
* properly remember local format ID to paste
2025-07-03 07:36:48 +02:00
akallabeth
e486ca9c56 Merge pull request #11722 from hardening/kerb_nla_fixes
Some fixes in Negotiate and NLA
2025-07-02 10:27:02 +02:00
David Fort
6e7f5c6355 negotiate: add user2user filtering
This patch adds the possibility to disable kerberos user2user in the SPnego SSPI
module, so you can set "!u2u" in the authPackageList to disable user2user kerberos.
It also does a few cleanups (FALSE instead of 0, and defaulting to no kerberos when
kerberos support is not compiled in).
2025-07-02 10:01:57 +02:00
David Fort
a7b051b590 nla: fix reading of TsCspDetail
Due to a bug in the tag comparison, ReaderName, CardName, CspName and containerName
were not read on server side during a smartcard logon, leading to incomplete settings.
2025-07-02 09:47:02 +02:00
akallabeth
3752167265 Merge pull request #11718 from steelman/master
[manpages] Add example of keyboard remapping
2025-07-01 12:28:01 +02:00
Łukasz Stelmach
d1ddba3857 [manpages] Add example of keyboard remapping
Show how to swap Ctrl and CapsLock keys using /kbd:remap.
2025-07-01 12:00:13 +02:00
David Fort
d1818d808f Merge pull request #11715 from akallabeth/copy_force
[common,settings] force reallocation on caps copy
2025-07-01 11:24:51 +02:00
akallabeth
ec8f2b5dde [common,settings] force reallocation on caps copy 2025-07-01 09:49:44 +02:00
Martin Fleisz
b1f0b2b00f Merge pull request #11711 from akallabeth/unify-versioning
[cmake] unify version creation
2025-06-27 13:29:55 +02:00
akallabeth
f3e1f20018 [cmake] unify version creation
* move to common cmake/GetProjectVersion.cmake for both, WinPR and
  FreeRDP
* add preference for git tag or commit
* move options to this common file
2025-06-27 12:48:52 +02:00
akallabeth
29f0145b6a Merge pull request #11708 from akallabeth/desktop-fix
[client,desktop] fix StartupWMClass setting
2025-06-26 18:48:04 +02:00
akallabeth
f48b129414 [client,desktop] fix StartupWMClass setting 2025-06-26 10:23:43 +02:00
akallabeth
049c34bd0f Merge pull request #11704 from akallabeth/cert-ignore-warn
[crypto,tls] pring big warning for /cert:ignore
2025-06-25 09:37:35 +02:00
Armin Novak
efd89c0354 [channels,drdynvc] IWTSVirtualChannelCallback log trace 2025-06-25 09:36:54 +02:00
Armin Novak
daeec1f98d [crypto,tls] pring big warning for /cert:ignore 2025-06-25 09:26:41 +02:00
akallabeth
03903d3b2b Merge pull request #11701 from akallabeth/sdl
[client,sdl] print current video driver
2025-06-24 15:44:29 +02:00
akallabeth
a86e3dc53c [client,sdl] print current video driver 2025-06-24 15:43:57 +02:00
akallabeth
2400b745cb Merge pull request #11697 from akallabeth/autodetect-fixes
[core,connection] fix log level of several messages
2025-06-24 10:54:05 +02:00
akallabeth
2386bda6a0 [core,connection] fix log level of several messages
WARN messages that occur during normal operation have been downgraded to
debug.
2025-06-24 10:35:00 +02:00
akallabeth
37a9ce2323 Merge pull request #11699 from akallabeth/bigendian-fix
[common,settings] fix int casts
2025-06-24 09:52:01 +02:00
akallabeth
efbc9f7cbc [common,settings] fix int casts 2025-06-24 09:38:23 +02:00
akallabeth
efe9f6fbe8 Merge pull request #11693 from akallabeth/log-fixes
Log fixes
2025-06-23 11:39:38 +02:00
Martin Fleisz
ddf11cc547 Merge pull request #11696 from akallabeth/regression-fix2
Regression fix2
2025-06-23 11:14:53 +02:00
akallabeth
419ad81aa7 Revert "[core,settings] default MonitorIds size to MonitorDefArray size"
This reverts commit 90a737d48f.

The array is initially empty. Only via command line option or RDP file
setting it will be populated.

Any use by a client later on requires the client to initialize the array
according to its needs
2025-06-23 11:01:55 +02:00
akallabeth
59bfe47ef7 [core,gateway] less verbose logging
Do not log HTTP_DENIED as warning, this is expected on unauthenticated
connection attempts.
2025-06-20 11:45:23 +02:00
akallabeth
82f2488375 Merge pull request #11692 from akallabeth/proxy-fix
[core,proxy] fix IPv4 and IPv6 length
2025-06-20 09:10:07 +02:00
akallabeth
bee5edeb31 [core,proxy] fix IPv4 and IPv6 length 2025-06-19 23:24:09 +02:00
akallabeth
f40c3df170 Merge pull request #11690 from akallabeth/mouse-motion
[client,common] fix -mouse-motion
2025-06-18 13:03:43 +02:00
akallabeth
4dc6091fde [client,common] fix -mouse-motion
* Move code to client/common to have it in place for all clients without
  modification
* Remember if a button was pressed and only suppress move events if no
  button is pressed.
2025-06-18 12:46:56 +02:00
akallabeth
a845647627 Merge pull request #11689 from akallabeth/warn-args
Warn args
2025-06-18 10:43:58 +02:00
akallabeth
8e38600298 [client,common] document FREERDP_ASKPASS in manpages 2025-06-18 10:16:58 +02:00
akallabeth
40c988e2da [client,common] warn on insecure argument passing
When credentials or other secrets are passed via command line print out
a warning presenting more secure alternatives
2025-06-18 10:16:56 +02:00
akallabeth
d67e1ec17b Merge pull request #11688 from Pollux42/reset-channel-error
Clear channel error prior to call channel init event proc
2025-06-18 07:37:33 +02:00
Simon Nivault
5d32afcdd0 Don't bypass PubSub_OnChannelDisconnected in case of channel error 2025-06-17 18:21:50 +02:00
akallabeth
d5bfa9d8f8 Merge pull request #11687 from akallabeth/ntlm-fix
[core,nla] use wcslen for password length
2025-06-16 21:16:41 +02:00
akallabeth
6f03b25f8e [core,nla] use wcslen for password length 2025-06-16 19:07:53 +02:00
akallabeth
940bd4c0c7 Merge pull request #11685 from akallabeth/sdl2-fix
[client,sdl2] fix build with webview
2025-06-16 13:16:35 +02:00
akallabeth
281b924596 [client,sdl2] fix build with webview 2025-06-16 12:50:18 +02:00
akallabeth
1c762c9d7e Merge pull request #11676 from akallabeth/release-3.16.0
Release 3.16.0
2025-06-16 11:59:27 +02:00
akallabeth
813715d85e start dev cycle 3.16.1-dev0 2025-06-16 11:56:14 +02:00
akallabeth
fcdf4c6c7e release 3.16.0 2025-06-16 11:56:11 +02:00
akallabeth
70e5607975 changelog 2025-06-16 11:56:08 +02:00
akallabeth
ded07fa31e [client,man] improve manpages (see #11357) 2025-06-16 11:56:06 +02:00
akallabeth
9b21bc8fc2 [primitives,neon] fix YUV conversion, handle odd x/y 2025-06-16 10:59:35 +02:00