Commit Graph

22 Commits

Author SHA1 Message Date
David Fort 7bf8669e6d [tools] improve smartcard traffic interpreter
This patch adds interpretations for more commands and adds a new application.
2024-06-18 15:38:17 +02:00
akallabeth 14ca8c736b [settings] assert invalid keys in getter 2023-11-24 14:54:56 +01:00
Armin Novak 8e9b6a9201 [settings] update test generator script 2023-11-24 14:54:56 +01:00
Armin Novak 81d7558184 [settings] remove obsolete generator script 2023-11-24 14:54:56 +01:00
akallabeth 5a6a2a17b1 [tools] fix settings update script 2023-09-21 10:30:09 +02:00
Armin Novak 8f6b42b817 [build] update clang build script 2023-06-08 08:13:16 +02:00
akallabeth b5fc019c64 [cmake] update clang toolchain 2023-05-24 08:24:32 +02:00
akallabeth da42a2141e [core,settings] update getter/setter generation
fix issues with const and non const string pointer update
2023-02-01 09:51:54 +01:00
Armin Novak 641022b795 [logging] remove __FUNCTION__ from actual message
prefer the log formatter to provide that information.
2023-01-25 16:26:39 +01:00
Armin Novak 204c43a22c [tools] fixed settings getter generator
use proper default error return values by type
2022-12-22 18:50:05 +01:00
akallabeth c1a9c19308 [settings] Fixed UTF16 helpers
Do not copy the already allocated buffer
2022-12-02 15:08:09 +01:00
akallabeth 58599c91a3 Add setting name for invalid function access
Try to be helpful and resolve the settings index with a readable
name if possible to help diagnose wrong function use
2022-10-27 10:46:58 +02:00
fifthdegree 5f3bc5842a nla: use winpr asn1 library 2022-07-26 09:38:53 +02:00
akallabeth 648612d6d3 Updated settings helper generator script 2022-06-23 09:18:37 +02:00
Armin Novak dfe89737a0 Fixed use after free 2022-04-28 08:42:09 +02:00
Armin Novak 1f9916eba2 Added settings comparison function 2022-04-22 10:20:09 +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
David Fort 44c82cd929 Fixes various akallabeth remarks 2022-02-24 08:52:25 +01:00
David Fort d545ab66e1 tscredential: generate automatically the file from a parser 2022-02-24 08:52:25 +01:00
David Fort f1e4cc7ee5 smartcard: add a script to do some basic interpretation if smartcard traffic
You can pipe WLOG_LEVEL=DEBUG xfreerdp <args> through the script and it will
try to parse and dump smartcard commands and results. The script has a basic
support for PIV and GIDS applications. The script can also operate on a saved
log file
2022-01-17 16:27:53 +01:00
David Fort 4ec6014964 RDPUDP dissector: cookie hash is present in SYN packet instead of SYN/ACK 2021-05-20 15:10:11 +02:00
David Fort d418c6ff09 tools: add a wireshark plugin to decode RDP-UDP
This wireshark plugin can decode RDPUDP traffic according to MS-RDPEUDP and MS-RDPEUDP2.
The plugin is statefull and is able to track protocol versions and does its best to
reassemble TLS and DTLS records, even when they are fragmented across different PDUs.
2021-05-17 12:13:49 +02:00