fifthdegree
eb04eb0008
Support using smartcard for gateway authentication
2022-10-19 18:55:38 +02:00
fifthdegree
e847f159a6
Try to use the smartcard key name Windows uses
...
Windows expects the containerName field in TSSmartCardCreds to be what
it would use for a smartcard key's name. Try to accomodate that (at
least for PIV and GIDS cards).
2022-10-19 18:55:38 +02:00
fifthdegree
9d0beaccae
smartcardlogon: choose a single smartcard to use
...
Require a single smartcard certificate to be chosen and define a
callback to choose when more than one is available.
2022-10-19 18:55:38 +02:00
akallabeth
b58dd122b2
Disable functions that require WITH_CHANNEL if not defined
2022-10-13 14:38:06 +02:00
akallabeth
a38d584bf1
Do not compile client functions for encomsp if channel deactivated
2022-10-13 12:12:24 +02:00
akallabeth
b18ca128c8
Fixed missing encomsp check ( #8238 )
...
The channel might not have been initialized and the pointer NULL
2022-09-22 10:27:52 +02:00
garbb
940317282c
remember participantId for use with assistance set control request
2022-09-19 09:41:45 +02:00
garbb
488b52405a
change to c style comment
2022-09-15 10:25:35 +02:00
garbb
0413dfe7df
if /auto-request-control, only request control once upon connect
...
if auto-request-control setting is enabled then only request control once upon connect, otherwise it will auto request control again every time server turns off control which is a bit annoying.
2022-09-15 10:25:35 +02:00
Armin Novak
707b9348ee
Unify encomsp request control code
2022-09-13 09:22:41 +02:00
akallabeth
ebf5de1d1d
Preset LoadChannels function pointer
2022-06-29 09:18:53 +02:00
akallabeth
650a275ceb
Added new client callback LoadChannels and freerdp_client_load_channels
...
Split channel loading from PreConnect as it might be necessary to
reinitialize channels on redirect
2022-06-23 07:45:55 +02:00
akallabeth
1dcc5a180a
Fixed warnings
2022-04-28 11:24:51 +02:00
akallabeth
73cdcdfe09
Logging and parser fixes ( #7796 )
...
* Fixed remdesk settings pointer
* Fixed sign warnings in display_write_monitor_layout_pdu
* Use freerdp_abort_connect_context and freerdp_shall_disconnect_context
* Added and updates settings
* info assert/dynamic timezone
* mcs assert/log/flags
* Fixed and added assertions for wStream
* Unified stream length checks
* Added new function to check for lenght and log
* Replace all usages with this new function
* Cleaned up PER, added parser logging
* Cleaned up BER, added parser logging
* log messages
* Modified Stream_CheckAndLogRequiredLengthEx
* Allow custom format and options
* Add Stream_CheckAndLogRequiredLengthExVa for prepared va_list
* Improved Stream_CheckAndLogRequiredLength
* Now have log level adjustable
* Added function equivalents for existing logger
* Added a backtrace in case of a failure is detected
* Fixed public API input checks
2022-04-19 14:29:17 +02:00
akallabeth
d22ef1786b
Proper use of rdpSettings in client
...
* Use getter/setter
* Fix uninitialized uses
2022-03-28 15:52:32 +02:00
akallabeth
14568872a9
Instance cleanup ( #7738 )
...
* Cleaned up freerdp::autodetect
* Deprecate freerdp::input
* Deprecated freerdp::update
* Deprecated freerdp::settings
* Deprecated freerdp::autodetect
* Removed rdpTransport::settings
* Deprecated freerdp_per::update|settings|autodetect
* Fixed mac client and server compilation
* Fixed windows compilation
* Added deprecation warnings
* Fixed initialization of structs.
* Fixed android build
* Fixed freerdp_client_context_new const correctness
* Fixed checks for android implementation
Replaced checks with assertions where appropriate
* Fixed checks for windows client
Replaced checks with assertions where appropriate
* Fixed proxy client pointer dereference
2022-03-23 13:18:35 +01:00
akallabeth
fa59c4b705
Fixed compile warnings
2022-03-18 07:50:54 +01:00
Martin Fleisz
5b9290fc6c
client: Fix error when compiling with WITH_CHANNELS=OFF
2022-03-16 14:47:41 +01:00
akallabeth
704289ffee
Smartcard tls logon fix ( #7709 )
...
* Early return authenticate if TLS smartcard logon
* Removed obsolete SmartcardPin and unified AuthenticateEx calls
* Remove password-is-pin from command line
The setting is implied by smartcard-logon and only of interest in
server side code, so the setting is useless
* Rework AUTH_SMARTCARD_PIN
Just prompt for PIN and not user/domain if this is requested.
* Fixed a memory leak in nla.c
* Align credentail prompt
* Handle AUTH_NLA & smartcard, just ask for PIN
* Added assertions, removed duplicate password prompt check
* Move smartcard logon after credential prompt
2022-03-09 09:09:53 +01:00
Armin Novak
25e8a362b1
Abort autoreconnect if a user cancel action was triggered.
2022-03-07 15:13:34 +01:00
Armin Novak
4d03d7c0bf
Freerdp remove #ifdef HAVE_CONFIG_H
2022-03-03 11:26:48 +01:00
Armin Novak
b2ad47a809
Reorganized FreeRDP headers
2022-03-03 11:26:48 +01:00
David Fort
cb351a099d
Enable smartcard NLA logon
2022-02-24 08:52:25 +01:00
David Fort
62ac25ef54
smartcard_emu: enable to specify the smartcard pin
2022-02-24 08:52:25 +01:00
Armin Novak
f03059e718
Extended AINPUT API:
...
* Each event now has a timestamp
* Relative and absolute events are sent simultaneously
* Added a flag indicating relative events are available
2022-02-22 09:44:13 +01:00
akallabeth
e5592772ce
Check return of ainput mouse event
2022-02-22 09:44:13 +01:00
akallabeth
d3ee52b0f8
Fix conversion of mous wheel valuet
2022-02-22 09:44:13 +01:00
akallabeth
855c9d3f4c
Fixed broken format string
2022-02-22 09:44:13 +01:00
akallabeth
de81f54076
Add relative mouse input and no channel support
2022-02-22 09:44:13 +01:00
akallabeth
8a5bd522c7
Fixed scaling of discrete wheel input.
2022-02-22 09:44:13 +01:00
akallabeth
4d3157c9cc
Added common client mouse event functions
2022-02-22 09:44:13 +01:00
akallabeth
4ca5078027
Added common client channel handling
2022-02-22 09:44:13 +01:00
akallabeth
cdbfff87ea
Unified client stop
2022-02-22 09:44:13 +01:00
Armin Novak
cefb4e1237
Use freerdp_settings_set and _strdup
2022-02-02 13:43:31 +00:00
Armin Novak
0816d32823
Fixed varialbe integer type warning
2021-10-14 13:04:59 +02:00
akallabeth
1c84690c2f
Fixes from tests ( #7308 )
...
* Fixed memory leak in tls_verify_certificate
* Fixed missing NULL checks
* Fixed missing checks for FreeRDP_DeactivateClientDecoding
* Added WINPR_ASSERT for client common new/free
* Added /disable-output switch to deactivate client decoding
Allows low resource remote connections that do not require visual
feedback. (e.g. load testing/...)
2021-09-21 09:56:56 +02:00
Armin Novak
b336751861
Fixed AuthenticateEx issues
2021-09-09 08:53:20 +02:00
Armin Novak
610396e197
Fixed compilation warnings
...
Try to get the number of warnings down
2021-08-02 10:28:06 +02:00
akallabeth
b494a193db
Refactored certificate API:
...
* Proper encapsulation
* known_hosts2 backend extended (storing PEM)
* New backend storing each host certificate in a file
2021-05-11 08:00:18 +02:00
akallabeth
d4ae65dbb5
Added version to client log, removed build_date
2021-04-22 14:07:37 +02:00
akallabeth
9b8d16b332
Allow autoreconnect for ERRINFO_GRAPHICS_SUBSYSTEM_FAILED
...
As discussed in #4717 allow autoreconnect to succeed if that
specific error code was returned as disconnection reason.
2020-11-27 09:10:41 +01:00
Martin Fleisz
d87d351c00
Add GatewayMessageType to public API
2020-08-04 15:58:48 +02:00
Martin Fleisz
3753f0ea9c
Implement gateway message callback for Windows, Wayland and X11 clients
2020-08-04 15:58:48 +02:00
akallabeth
5b842bc7a7
Read newline from stdio on certificate accept
2020-05-20 11:57:01 +02:00
akallabeth
b094d52d0b
Fixed #6099 : Add a flag for legacy hash entries
...
If a legacy entry is found in certificate hash store print
additional information to the user informing about the change
with FreeRDP 2.0
2020-04-22 18:14:39 +02:00
akallabeth
82449a9c7d
Added buildconfig output to debug log level.
2020-03-20 13:05:01 +01:00
Armin Novak
72ca88f49c
Reformatted to new style
2019-11-07 10:53:54 +01:00
Armin Novak
05901280fe
Fixed unused argument warnings.
2019-04-05 09:14:35 +02:00
Armin Novak
e04c319d21
Added new default certificate callbacks with extended information.
...
The extended information provided by VerifyCertificateEx and
VerifyChangedCertificateEx is now exploited by the new functions
client_cli_verify_certificate_ex and client_cli_verify_changed_certificate_ex.
The old callbacks now print out deprecation warnings to inform the
user and developer about this deprecation.
2018-12-04 09:35:24 +01:00
Armin Novak
f79eeb7446
Fixed NULL access checks.
2018-11-22 11:19:12 +01:00