Commit Graph

98 Commits

Author SHA1 Message Date
Pawel Jakub Dawidek
3aa804f176 Before asking for element from the PRIMARY_DRAWING_ORDER_FIELD_BYTES[] array, check if the array is big enough. 2012-02-11 14:33:54 +01:00
Jay Sorg
d51db08c5c libfreerdp-core: fix memory leaks and double free 2012-02-10 12:35:22 -08:00
Pawel Jakub Dawidek
b75b5eb8a1 After DEACTIVATE ALL PDU server can send MCS Disconnect Provider Ultimatum PDU to disconnect.
Handle such condition and exit from xfreerdp gracefully (almost, exit status is still != 0).
2012-02-06 23:10:45 +01:00
Pawel Jakub Dawidek
d6592a17a9 Windows XP can send short (and non-standard) DEACTIVATE_ALL PDUs. Handle them properly. 2012-02-06 22:39:43 +01:00
Pawel Jakub Dawidek
4a950cedd7 Better packet length checking. 2012-02-06 22:39:33 +01:00
Pawel Jakub Dawidek
d37cff01ed White-space fixes. 2012-01-25 17:15:44 +01:00
Pawel Jakub Dawidek
ac87b066fb Correct style. 2012-01-25 17:15:35 +01:00
Pawel Jakub Dawidek
31b6968263 Add a comment explaining why we always encode length in two bytes, eventhough we could use one byte sometimes. 2012-01-25 17:15:25 +01:00
Pawel Jakub Dawidek
68b9f65e87 Add --secure-checksum option that will enable usage of salted checksums
with Standard RDP encryption.
2012-01-25 17:14:58 +01:00
Pawel Jakub Dawidek
af87360135 MCS data header might be 7 or 8 bytes long, depending on the length.
To reduce confusion a bit rename MCS_SEND_DATA_HEADER_LENGTH to
MCS_SEND_DATA_HEADER_MAX_LENGTH and also rename other defines that use
MCS_SEND_DATA_HEADER_MAX_LENGTH.
2012-01-25 17:14:44 +01:00
Pawel Jakub Dawidek
e2be360ec4 Add support for SEC_SECURE_CHECKSUM and FASTPATH_OUTPUT_SECURE_CHECKSUM flags. 2012-01-25 17:14:31 +01:00
Pawel Jakub Dawidek
4df52d7a42 Use rdp_read_security_header() to read security header. 2012-01-25 17:14:19 +01:00
Pawel Jakub Dawidek
8238f2369d - Simplify security_mac_signature() API.
- Introduce implementation of security_salted_mac_signature() that would be
  used to handle packets with SEC_SECURE_CHECKSUM flag.
2012-01-19 05:10:06 +01:00
Marc-André Moreau
277cbc3ccc libfreerdp-core: refactor header encoding fix 2012-01-15 15:16:32 -05:00
Marc-André Moreau
ccfb88b049 libfreerdp-core: apply RDP signature verification patch from Pawel Jakub Dawidek 2012-01-15 15:01:16 -05:00
Marc-André Moreau
5f7902dee4 libfreerdp-core: fix incorrect length in share control header, fix VRDP connectivity 2012-01-13 16:20:36 -05:00
Marc-André Moreau
7eff021771 libfreerdp-core: fix parsing bugs with synchronize, font map and session logon info PDUs 2012-01-08 16:02:59 -05:00
Anthony Tong
a65e562411 libfreerdp-core: fix server redirection when using rdp security 2011-12-21 14:59:31 -05:00
Marc-André Moreau
135503612d libfreerdp-core: fix race condition in connection finalization 2011-12-18 15:15:48 -05:00
Vic Lee
2ee03f035a libfreerdp-core: change channel_send argument in order to be shared with server code. 2011-12-10 16:23:27 +08:00
Mike Gilbert
4048ddce6d libfreerdp-core: More strings cleanup.
- Comment out unused lookup tables.
- ifdef tables where appropriate.
- Change declarations to produce read-only sections.

See also:
http://blog.flameeyes.eu/2007/12/19/array-of-pointers-and-array-of-arrays
2011-11-29 21:08:07 -05:00
Marc-André Moreau
a63a196f53 types: refactoring to make use of standard data types when available 2011-11-19 12:19:16 -05:00
Marc-André Moreau
666fbb0405 freerdp: pad multiple interfaces for improved ABI stability 2011-11-19 02:33:49 -05:00
Vic Lee
eb66ede91d libfreerdp-core/extension: fix segfaults. 2011-11-17 10:41:42 +08:00
Marc-André Moreau
4221065c88 libfreerdp-core: port extension plugin interface (untested) 2011-11-09 15:59:03 -05:00
Eduardo Beloni
b9a008ae8a libfreerdp-core: facilities for storing and retrieving 'error info' 2011-10-25 09:59:18 -02:00
Marc-André Moreau
c639ec8593 libfreerdp-core: refactoring of context pointers into rdpContext 2011-10-16 00:50:10 -04:00
Marc-André Moreau
10331c5c44 libfreerdp-core: added authenticate callback 2011-09-29 01:03:07 -04:00
Jay Sorg
78fd201ab8 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2011-09-26 22:31:11 -07:00
Jay Sorg
769508bd7d code cleanup 2011-09-26 22:30:58 -07:00
Marc-André Moreau
347f626a61 wfreerdp: fix tcp non-blocking read 2011-09-25 14:54:07 -04:00
Jay Sorg
b773c7e728 move non settings security items out of settings 2011-09-23 23:09:29 -07:00
Anthony Tong
052e870597 initial fips encryption work 2011-09-15 18:54:03 -05:00
Jay Sorg
fa4aa9f297 remove some debugging messages 2011-09-14 21:37:37 -07:00
Marc-André Moreau
405026575b libfreerdp-core: merging jsorg71's work on old encryption support 2011-09-14 22:09:33 -04:00
Jay Sorg
a406cd6619 got rdp encryption working 2011-09-14 14:14:50 -07:00
Jay Sorg
2ac4a5fa96 work on rdp encryption 2011-09-12 23:40:27 -07:00
Vic Lee
58bf3d14ee libfreerdp-core/mppc: fix memory corruption due to incorrect free order. 2011-09-10 19:41:59 +08:00
Vic Lee
1c8cbd6d75 libfreerdp-core: fix missing header seeking when mpcc is not active. 2011-09-09 21:50:16 +08:00
Marc-André Moreau
1bc97f60c3 merge pull request #87 2011-09-08 18:25:07 -04:00
Laxmikant Rashinkar
e73c54204f hooked up RDP 5 decompression with -z option;
more testing needs to be done
2011-09-07 22:17:58 -07:00
Jay Sorg
afc9ac89ae work on Proprietary Certificate 2011-09-05 11:02:52 -07:00
Marc-André Moreau
bca678dd61 libfreerdp-core: test and fix server redirection (IP-based, not token-based yet) 2011-09-03 17:59:52 -04:00
Marc-André Moreau
ac128313a9 libfreerdp-core: further improvements to server redirection code 2011-09-03 16:36:27 -04:00
Marc-André Moreau
54c5e06e47 libfreerdp-core: started implementation of server redirection 2011-09-02 21:34:51 -04:00
Marc-André Moreau
6fdecdb01b debug: cleanup printf's all over the place 2011-09-02 13:29:17 -04:00
Vic Lee
025e7f9c9b libfreerdp-core: fix memory leaks. 2011-08-25 13:45:43 +08:00
Marc-André Moreau
c03b98f3fa libfreerdp-core: fix licensing debug output 2011-08-24 16:54:32 -04:00
Marc-André Moreau
e5fb626d75 libfreerdp-core: add support for play sound (system beep) updates 2011-08-24 02:54:46 -04:00
Marc-André Moreau
cd6eb6a266 libfreerdp-core: add support for pointer updates 2011-08-24 02:38:39 -04:00