akallabeth
d9b03b45ed
[test] add executable suffix for TestConnect
2023-07-05 08:46:00 +02:00
Michael Saxl
a5a60c888b
[core,transport] free wst transport after use
2023-07-04 20:33:13 +02:00
Martin Fleisz
622a2a8df0
misc: More int to BOOL conversion fixes
...
This is a follow up to #9129 .
This PR fixes some problematic `int` to `BOOL` conversions that might
cause overflows when checking for bit flags.
2023-07-04 09:45:20 +02:00
Martin Fleisz
37f9d5b494
core: Fix flag check to enable/disable RDSTLS security
...
On some platforms (i.e. Mac) the BOOL type might be narrower than the
`RedirectionFlags` type leading to an overflow when just assigning the
logical AND result to the setting. This fix makes sure that the value is
correctly set to either `TRUE` or `FALSE`.
2023-07-04 09:17:05 +02:00
akallabeth
a01f3ec5ab
[client,common] allow adding a named keyboard pipe
...
This allows starting FreeRDP clients with a named pipe that will type in
text written to the named pipe as keyboard input
2023-07-03 13:21:43 +02:00
Armin Novak
382ef13b1d
[locale,xkb] cleaned up variant detection
2023-07-03 10:19:34 +02:00
akallabeth
32b60ae438
[pointer] unify mouse pointer settings
2023-07-03 10:00:29 +02:00
Michael Saxl
132ce797db
[core,gateway,wst] fix use after free in wst_connect
2023-07-03 10:00:12 +02:00
Konrad Bucheli
d4e2129cd4
the default Swiss keyboard layout is German, French is a variant
2023-07-03 09:52:14 +02:00
akallabeth
e03b6596c6
[build] fix unused but set variable warnings
2023-06-29 18:34:51 +02:00
akallabeth
2d16985d68
[primitives] fix typo, reading wrong buffer
2023-06-29 18:34:51 +02:00
akallabeth
851f9cce2d
[core,nla] fix unused variable warning
2023-06-29 18:34:51 +02:00
akallabeth
5dcd9fcb8a
[core,gateway] eliminate intermediate buffer
2023-06-29 18:34:51 +02:00
akallabeth
4fb7035242
[common,assistance] fix shadowed variable
2023-06-29 18:34:51 +02:00
Armin Novak
66cb8c68d4
[core,nego] change nego_set_routing_token argument
...
Use void* instead of BYTE* as the real type is unknown and warnings can
be avoided
2023-06-29 14:46:41 +02:00
akallabeth
37d9c891b4
[core,gateway] fix return value checks
2023-06-29 14:30:09 +02:00
akallabeth
b9ec4ef60d
[core,info] fix stream read check
...
read into variable of wrong type, fixed that.
2023-06-29 14:30:09 +02:00
Armin Novak
de7fea7347
[core,gcc] gcc_read_client_data_blocks update checks
...
* Update checks for stream consumed
* Update log messages, use stringified version of block type
2023-06-29 08:09:53 +02:00
akarl10
8d707adcb2
[core,gateway] make http authentication work again for websocket transport
2023-06-28 11:40:22 +02:00
David Fort
27a5ea64f0
[codecs] fix R and B inversion when decoding planar
2023-06-28 10:57:55 +02:00
akarl10
7f19fab76e
[core,gateway] only encode a cookie line if there is a cookie
2023-06-28 10:47:47 +02:00
akallabeth
3f78b3c379
[build] fix unused compiler warnings
2023-06-28 09:45:09 +02:00
Armin Novak
4d807a0bf0
[core,gateway] fix check for authentication
2023-06-27 21:15:08 +02:00
Armin Novak
ea66b23631
[core,gateway] fix various issues with arm transport
...
* fix possible leaks
* split big functions
* fix missing NULL checks
2023-06-27 21:15:08 +02:00
akallabeth
ca47058e8c
[core,gateway] use custom copy for listdictionary
2023-06-27 21:15:08 +02:00
akallabeth
84fabc49e2
[core,gateway] fix locking in http_encode_cookie_line
2023-06-27 21:15:08 +02:00
akarl10
d62b088527
[gateway,wst] Update log about supported url types
2023-06-27 21:15:08 +02:00
akarl10
1108d88fc4
[gateway,wst] make WWW-Authenticate: NTLM (without data) work again
...
This happens in wst.c because the first try is always anonymous
2023-06-27 21:15:08 +02:00
Michael Saxl
d55e035260
[gateway,arm] Azure Virtual Desktop Gateway support
...
This PR creates a new /gateway:type:arm transport.
It depends on CJSON
The arm transport is not a transport by itself but is responsible
for getting the websocket endpoint from a configuration url derived from
the configured gateway host in the rdpw file or cmdline
2023-06-27 21:15:08 +02:00
Vic Lee
5fffaf6cd2
[codec,rfx] missing palette setting api.
2023-06-27 08:54:54 +02:00
akallabeth
40dd43cb01
[core,gcc] use static substream for client data
2023-06-26 19:17:55 +02:00
akallabeth
b69c259967
[core,gcc] dump unknown GCC types with trace log
2023-06-26 19:17:55 +02:00
Hugues LEFEBVRE
b67afecf0f
CredSSP with early user auth (nla_ext) support
2023-06-26 11:53:46 +02:00
akallabeth
ff2b57c634
[core,peer] fixed invalid pointer to log function
2023-06-26 10:53:43 +02:00
akallabeth
4d350978dd
[core] assert rdp->context
2023-06-26 10:53:43 +02:00
akarl10
63c80423a9
[multitransport] Ignore unknown data
...
If the reserved filed is not 0 the request PDU seems to contain
some extra data. Two bytes of 0 (probably a version field) followed by a
JSON payload (not null terminated, until the end of the packet. There
seems to be no dedicated length field)
2023-06-26 09:09:47 +02:00
Armin Novak
52ec17309a
[core,caps] use settings getter/setter for unicode
2023-06-23 08:18:16 +02:00
Michael Saxl
44c1ec3276
[gateway,websocket] implement plain websocket transport
...
* factor out most websocket specific code parts into websocket.c
* create wst.c (Websocket Transport) as gateway transport implementation
* introduce GatewayUrl setting that holds the websocket url
* introduce GatewayHttpExtAuthBearer that holds the HTTP Bearer
* GatewayHttpExtAuthBearer can be used by both rdg and wst
2023-06-22 09:21:42 +02:00
Michael Saxl
6478edda5b
rdg bearer support
2023-06-22 09:21:42 +02:00
akallabeth
1fc0d5b4b1
[winpr] remove casts for winpr_RAND calls
2023-06-21 09:57:52 +02:00
Armin Novak
e264512220
[common,assistance] fix missing NULL check
2023-06-19 09:24:18 +02:00
Armin Novak
84320903c3
[common,assistance] add test case
2023-06-19 09:24:18 +02:00
fifthdegree
80f357ddcb
Add missing arg to aad token request format string
2023-06-19 08:42:33 +02:00
akallabeth
18df3176e1
[common,assistance] fix assistance file parser
...
* ensure a valid delimiter is following the token searched for
* add a test case to ensure this works
2023-06-16 09:14:10 +02:00
Armin Novak
df3c78a91d
[server,core] add CheckPeerAcceptRestrictions
...
the new (optional) callback CheckPeerAcceptRestrictions is used to check
for server implementation specific connection requirements before
accepting a client.
2023-06-14 17:15:21 +02:00
Richard Markiewicz
946cfb1068
[core,license] Fix build on msvnc with WITH_DEBUG_LICENSE
2023-06-14 17:14:45 +02:00
Armin Novak
3fd78adaed
[utils] fix variable name in wait_for_fd
...
if build without WINPR_HAVE_POLL_H there was a mistyped variable.
2023-06-14 13:50:59 +02:00
Armin Novak
010e1252c4
[common,assistance] fix NULL argument for strstr
2023-06-14 13:50:59 +02:00
Mikhail Kashin
aeb6ec6f97
[core] fix handling loadbalanceinfo tsv://MS Terminal Services Plugin
2023-06-14 09:06:50 +02:00
Marc-André Moreau
4d4dcd4511
Fix usage of explicit server name when different from connection host
2023-06-13 09:20:17 -04:00