Armin Novak
9fcde2db74
[core,gateway] removed duplicate vc_state_str
2023-11-20 18:00:42 +01:00
Armin Novak
8990ffefca
[core,gateway] rpc dynamic logger
2023-11-20 18:00:42 +01:00
Armin Novak
36647567ac
[core,gateway] fix parsing of RTS PDU
...
* [MS-RPCH] 2.2.4.51 FlowControlAckWithDestination RTS PDU
2023-11-20 18:00:42 +01:00
Armin Novak
814ab2a212
[core,gateway] use dynamic logger in tsg
2023-11-20 18:00:42 +01:00
Armin Novak
6e7a35f8bc
[core,gateway] log rts_recv_out_of_sequence_pdu
2023-11-20 18:00:42 +01:00
Armin Novak
a0db106306
[core,gateway] add vc state logging
2023-11-20 18:00:42 +01:00
Armin Novak
fac9fa5f90
[core,gateway] add rpc stringify functions
2023-11-20 18:00:42 +01:00
Armin Novak
60ceff95c5
[fflush] remove of unnecessary fflush
2023-11-20 18:00:42 +01:00
Armin Novak
cf76e70e85
[core,gateway] fix rts_read_auth_verifier_with_stub
...
check offset against fragment size, not remaining size
2023-11-20 18:00:42 +01:00
Armin Novak
65d3c6fe9b
[core,gateway] update tsg parsing
2023-11-20 18:00:42 +01:00
Armin Novak
135c4cc78c
[core,gateway] try to parse remaining RPC PDU
...
if not all bytes have been parsed, try parsing again
2023-11-20 18:00:42 +01:00
Armin Novak
230563b337
[core,gateway] log incomplete parsed RPC PDU
2023-11-20 18:00:42 +01:00
Armin Novak
d36adb2654
[core,gateway] fix RTS_PDU_PING handling
...
ping messages might occur before connection is fully established, so
reply to incoming ping. Fixes #9505
2023-11-20 18:00:42 +01:00
Armin Novak
1807652975
[core,helpers] add new stringify functions
...
* freerdp_get_logon_error_info_type_ex
* freerdp_get_logon_error_info_data_ex
2023-11-20 18:00:42 +01:00
Armin Novak
957ec80443
[core,gatewayay] improve rpc error logging
2023-11-20 18:00:42 +01:00
David Fort
061148f856
[nla] initial server-side remote credential guard support
...
Adds support for server-side remote credential guard in NLA. When enabled that allows
the remote user to connect without shipping credentials in TSCred packets. Instead
it will send his TGT encoded with a TGS from the remote server. This way the server
is able to populate that TGT in a local credential cache without knowing the user's
password.
The patch only treats the NLA part and does not contain the associated RDPEAR channel
that allows to have the complete interaction to retrieve new access tokens.
2023-11-20 16:17:00 +01:00
akallabeth
20f09b2d34
[codec,aac] add NaN filter
...
ffmpeg format conversion from int16 to float sometimes produces values
that are NaN or Infinity.
Replace these values as these input values break the AAC encoder
2023-11-20 14:22:26 +01:00
Richard Markiewicz
a4e7aba97c
[cmake] fix winpr build with FREERDP_UNIFIED_BUILD off
2023-11-17 08:39:22 +01:00
Armin Novak
68a77b8156
[channels,cups] use PDF printer on mac os sonoma
...
apple removed postscript support, so switch to PDF printer if running on
mac os sonoma (14) or newer. Requires windows 10 or newer or a custom
PDF printer driver
2023-11-16 15:43:51 +01:00
Armin Novak
57b4f3df20
[channels,cups] add debug logging for failures
2023-11-16 15:43:51 +01:00
Armin Novak
f5d9c5f815
[channels,cups] remove support for CUPS < 2.0
2023-11-16 15:43:51 +01:00
Bernhard Miklautz
197581986f
fix [rpm]: nightly build for fedora 39
2023-11-16 12:12:52 +01:00
Armin Novak
e0e72f9c28
[cmake] use CMAKE_MSVC_RUNTIME_LIBRARY
...
* Increase required CMake version to 3.15 (windows only)
* Use
https://cmake.org/cmake/help/latest/prop_tgt/MSVC_RUNTIME_LIBRARY.html#prop_tgt:MSVC_RUNTIME_LIBRARY
to select windows runtime
2023-11-16 10:40:04 +01:00
Bernhard Miklautz
bd2ac8b11f
fix [rpm]: add missing dependency for freerdp-nightly build
2023-11-15 17:03:29 +01:00
Martin Fleisz
954f6d69cf
dvc: Add field for custom interface data
2023-11-15 14:53:55 +01:00
Martin Fleisz
1363462e7e
cmake: Revert warning compiler flag for MSVC
...
MSVC does not implemented /Wall very well as it floods the output with a
plethora of warnings from system headers.
This greatly reduces compile performance so this change reverts /Wall
back to /W3.
2023-11-15 14:53:55 +01:00
LucasMou
412c5c4ba6
fix abnormal exit: when removing the USB flash drive, the program abnormal exit
2023-11-15 10:46:42 +01:00
David Fort
d9fda957e7
[build] fix windows build under mingw
...
The path to resource file was wrong.
2023-11-13 19:43:44 +01:00
David Fort
4e2e7e0eae
[build] fix mingw build on Ubuntu 22.04
...
Seems like the version check was not ok and build was failing on Ubuntu 22.04.
2023-11-13 19:43:44 +01:00
David Fort
0d975f9c27
spnego: add NegoEx in known mechType and don't segfault with unknown mechType
...
NegoEx is a known and very common mechType when the client is mstsc.
The patch also fixes a segfault that was happening when we were logging a mech that
we don't support.
2023-11-13 19:43:44 +01:00
akallabeth
13b44b8b77
[ifdef] properly check for defined
2023-11-10 09:58:23 +01:00
Martin Fleisz
ad44573164
cient/common: Apply GatewayCredentialsSource setting read from rdp files
2023-11-09 13:54:20 +01:00
Raphaël ZHOU
ad7b41c997
(clipboard) Make sure there is always a Client Format List PUD after a Client Clipboard Capabilities PDU.
2023-11-09 11:40:00 +01:00
Armin Novak
e7f8c05bb6
[channel,rdpdr] relax state checks
...
ClientID confirm message might be sent async to userloggedon. So allow
these messages to arrive in any order
2023-11-09 10:12:16 +01:00
Armin Novak
43fc6bbfdc
[channel,rdpdr] use server general caps
...
* read server CAP_GENERAL_TYPE
* check if messages are allowed according to caps
2023-11-09 10:12:16 +01:00
akallabeth
694d95a58b
[utils,smartcard] fix reading of context ref
...
unify read of context and context pointer data for all calls.
fixes #9480
2023-11-07 16:07:17 +01:00
akallabeth
f0709d00a9
[channel,rail] move client_rail_server_start_cmd
...
the function needs access to channel internals, so move to channel
2023-11-07 14:42:56 +01:00
Armin Novak
16c4ede603
[client,common] add custom line parser option
...
freerdp_client_settings_parse_command_line_arguments_ex allows supplying
user defined options to be parsed with the default ones from
client/common.
A callback must be implemented to handle the supplied arguments.
2023-11-07 14:11:51 +01:00
Armin Novak
925e2bf5f1
[client,common] print command line sorted
...
* always sort the command line arguments before listing them.
* merege implementation defined and default arguments before sorting
2023-11-07 14:11:51 +01:00
akallabeth
57bec81019
[cmake] fix build with -DWITH_SERVER=OFF
2023-11-07 10:53:46 +01:00
Armin Novak
70a360bf38
[client,sdl] clear screen on resize
...
* clear screen on window resize
* redraw window on window resize
2023-11-06 08:48:49 +01:00
Armin Novak
98a4eb77ef
[core] VirtualChannelChunkSize adjustments
...
* add CHANNEL_CHUNK_MAX_LENGTH
* remove duplicate definitions
* default to CHANNEL_CHUNK_MAX_LENGTH
2023-11-03 12:43:25 +01:00
Armin Novak
1bb09089a7
[client,sdl] ignore LOGON_MSG_SESSION_CONTINUE
...
do not display a popup for this kind of message.
2023-11-03 08:25:02 +01:00
Igor V. Kovalenko
cfcb363c4a
rdpsnd_pulse: Use C99 constants
2023-11-03 08:12:12 +01:00
Igor V. Kovalenko
2867c806fc
rdpsnd_pulse: Allow reconnecting to pulseaudio server
...
Detect if pulseaudio context has lost connection to server and initiate
reconnection during play call.
2023-11-03 08:12:12 +01:00
Igor V. Kovalenko
087eb20431
rdpsnd_pulse: Eliminate synchronous write loop
...
Since complete sound frame is already available, just write it out to
pulseaudio stream using more efficient pa_stream_begin_write API.
This removes a few milliseconds of pure wait time from each play call and
makes audio playback a bit smoother.
2023-11-03 08:12:12 +01:00
Armin Novak
d000d9e957
[channels] add <NAME>_CHANNEL_NAME for each
...
* made <NAME>_CHANNEL_NAME defines consistent, each channel now has a
define for the library name.
* use these defines instead of string constants
2023-11-02 12:44:28 +01:00
Armin Novak
e622e26c70
[server,proxy] fix install location of proxy library
2023-11-02 11:30:55 +01:00
Armin Novak
e56fcb45cb
[core,aad] move cJSON related parsing to core
...
hide cJSON parser from freerdp-client library, link privately
2023-11-02 11:30:55 +01:00
Armin Novak
9e361b613d
[channels,rdpdr] fix user loggedon handling
...
PAKID_CORE_USER_LOGGEDON might happen in quite a lot of combinations not
obvious from the spec at first glance. Relax state checks so that all
valid combinations are allowed.
2023-11-02 11:21:32 +01:00