Commit Graph

1636 Commits

Author SHA1 Message Date
akallabeth
e0484bcd40 [c,printf] fix wlog format string to match arguments 2026-01-16 11:42:29 +01:00
akallabeth
dffdfc16c4 [c,printf] fix wlog format string to match arguments 2026-01-16 11:42:27 +01:00
akallabeth
5cd12aed13 [server] add RLGR_MODE checks when read from settings 2026-01-09 09:37:58 +01:00
Armin Novak
68bbbcb2a6 [clang,warnings] fix Wjump-misses-init 2026-01-08 11:32:44 +01:00
Armin Novak
8aeb1c98b0 [clang,warnings] fix Wjump-misses-init 2026-01-08 11:32:44 +01:00
Armin Novak
c637a868ba [clang,warnings] fix Wjump-misses-init 2026-01-08 11:32:44 +01:00
Armin Novak
4fe941ee66 [clang,warnings] fix Wjump-misses-init 2026-01-08 11:32:43 +01:00
Armin Novak
60fffc91e1 [clang,warnings] fix Wjump-misses-init 2026-01-08 11:32:43 +01:00
Armin Novak
371da1cd2f [clang,warnings] fix Wjump-misses-init 2026-01-08 11:32:43 +01:00
Armin Novak
54f419c1b7 [clang,warnings] fix Wjump-misses-init 2026-01-08 11:32:43 +01:00
Armin Novak
e1b2998102 [clang,warnings] fix Wjump-misses-init 2026-01-08 11:32:43 +01:00
Armin Novak
2d2541119b [clang,warnings] fix Wjump-misses-init 2026-01-08 11:32:43 +01:00
Armin Novak
5c63f0e17b [server,sample] initialize struct as array
avoid gcc >= 15 and clang nonstring warnings
2026-01-08 09:45:33 +01:00
Armin Novak
902aee4df1 [c++,compat] rename variables clashing with c++ keywords 2026-01-08 09:24:31 +01:00
Eric
aba17d0cf9 [server,proxy] make peer_list access thread-safe and fix leaks 2026-01-08 14:46:28 +08:00
Armin Novak
65a7a5ee01 [server,proxy] refactor pf_context_create_client_context 2026-01-07 15:42:57 +01:00
Armin Novak
e7704bdd7c [server,proxy] fix channelTracker_update return values 2026-01-07 15:40:21 +01:00
akallabeth
f1f8ec2a7e [server,proxy] fix config free 2025-12-29 18:51:28 +01:00
Armin Novak
7ccb5994c0 [c++] replace std::lock_guard with std::scoped_lock 2025-12-03 15:10:56 +01:00
akallabeth
74648eb3a9 [c,standard] use C99 inline 2025-09-26 11:29:26 +02:00
akallabeth
74a3a7695c [cmake,pkg-config] properly set requires fields 2025-09-21 19:07:16 +02:00
akallabeth
a279a145df [server,proxy] check file exists before library load
To avoid spamming the log with errors check if the file exists (and log
at debug level)
2025-09-12 10:05:06 +02:00
akallabeth
919a569d56 [server,proxy] eliminate unused variable 2025-09-12 09:59:56 +02:00
akallabeth
eb793be9d3 [proxy,modules] extend dynamic module loader
Expect different naming schemes, so try all configurations.
2025-09-11 21:42:39 +02:00
Armin Novak
d355082c32 [cmake] static build: populate private
in pkg-config files only add Requires.private and Libs.private if we
build a static library.
2025-09-11 10:59:26 +02:00
Armin Novak
b84c15e8b6 [proxy,modules] fix entry point for dyn-channel-dump 2025-09-11 07:16:34 +02:00
Armin Novak
a7b7474742 [proxy,modules] generate pkg-config files for modules 2025-09-11 07:16:23 +02:00
Armin Novak
2d7bf81397 [proxy,channels] better NULL checks 2025-09-04 10:54:30 +02:00
akallabeth
343d270c5a [proxy,channels] fix unused parameter warning 2025-09-01 09:18:48 +02:00
akallabeth
2dd38aaeef [proxy,channels] drop drdynvc packets not tracked
When receiving dynamic channel packets that do not belong to an open
channel drop the packet.
2025-08-25 16:26:51 +02:00
akallabeth
dc463e1fcd [proxy,channels] refactor dynamic channel
* Split DynvcTrackerPeekFn into smaller fragments each handling one kind
  of packet
* Unify logging with a custom logger function to have unified log
  entries with appropriate data logged.
2025-08-25 15:54:19 +02:00
akallabeth
896c8dbd75 [proxy,channels] improve drdynvc logging
* Split functions to make them more readable
* Improve logging details
2025-08-22 09:06:37 +02:00
akallabeth
5a188d3e8a [proxy,modules] ignore bitmap-filter skip remaining
There might be fragmented packets that need to be dropped. Ignore
remaining data on skip.
2025-08-19 07:37:59 +02:00
Armin Novak
bc1f6bd807 [proxy,modules] fix static entry point name 2025-08-18 11:30:52 +02:00
Armin Novak
93221680a5 [proxy,bitmap-filter] fix data skip check 2025-08-18 08:58:38 +02:00
Armin Novak
03ae8b242e [proxy,modules] add missing entries to pf_modules_get_filter_type_string 2025-08-18 08:49:25 +02:00
Armin Novak
ce6d3e7ea2 [proxy,modules] fix bitmap filter entry point 2025-08-18 08:36:19 +02:00
Armin Novak
4eed6a1ed9 [proxy,modules] use GetModuleHandleA to load static
when loading static modules use GetModuleHandleA to allow this to work
with windows as well.
2025-08-18 08:33:20 +02:00
akallabeth
00a5775fc4 [proxy,modules] Declare proxy module entry function
When building static proxy modules export the entry function name as
<module_name>_proxy_module_entry_point instead of only
proxy_module_entry_point when using shared linking
2025-08-14 08:32:38 +02:00
akallabeth
a2510d1f5d [proxy,modules] add support for statically linked
Look in proxy library/executable itself for a module entry point. This
allows statically linking in proxy modules.
2025-08-14 08:14:44 +02:00
akallabeth
65f18983ed [warnings] Fix format string errors
* Fix casts of format string arguments (%p requires void*)
* Fix format string to match type of arguments
2025-08-13 15:09:48 +02:00
akallabeth
c3e507a82e [winpr,wlog] Replace WLog_PrintMessage calls
Prefer WLog_PrintTextMessage to have proper format string checks in
place.
2025-08-13 15:08:01 +02:00
akallabeth
12d0e491f6 [cmake] add installWithRPATH
this new CMake function installs a target to a destination and adds the
correct relative RPATH to some desired locations
2025-07-17 13:59:51 +02:00
Armin Novak
b5b258c9f4 [winpr,path] fix NULL arguments for DeleteFile 2025-06-05 11:58:47 +02:00
gpotter2
a175640025 Support non-RDP security when shadow server running as Hyper-V console 2025-05-06 22:23:40 +02:00
gpotter2
0a10fe8ce3 Add 'restricted-admin' flag to shadow server 2025-05-06 22:08:36 +02:00
akallabeth
649fa67894 [server,mac] disable shadow if on mac
the mac implementation no longer compiles.
2025-04-29 12:55:48 +02:00
akallabeth
bb67da5411 [server,mac] disable platform server
the implementation for mac no longer compiles.
2025-04-29 12:12:34 +02:00
akallabeth
2fb2e5f9c5 [crypto,key] add function to export PEM and create a key
* freerdp_key_generate creates a new key
* freerdp_key_get_pem exports the key as PEM
2025-04-22 12:00:40 +02:00
akallabeth
3805575c58 Merge pull request #11384 from akallabeth/rel-mouse-change
Rel mouse change
2025-04-11 08:21:14 +02:00