Commit Graph

88 Commits

Author SHA1 Message Date
Pawel Jakub Dawidek
31529071fd Add glue that enables server-side support for Standard RDP Security. 2012-01-25 17:16:44 +01:00
Pawel Jakub Dawidek
0a97242b3c Add rdp_server_establish_keys() function that is responsible for
establishing encryption keys for server-side Standard RDP Security.
2012-01-25 17:16:44 +01:00
Pawel Jakub Dawidek
f5033b1a7c - Don't fill client_random with 0x5e, we are going to fill it up with
random data in the next line.
- Use less magic numbers.
2012-01-25 17:16:44 +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
207cb9b818 Fix typo: use & instead of | to check for flags. This fixes detection of requested protocols. 2012-01-25 17:13:53 +01:00
Pawel Jakub Dawidek
8e91faf139 - Rename rdp_establish_keys() to rdp_client_establish_keys() as it is only
responsible for establishing keys on the client side.
- Simplify rdp_client_establish_keys() by using rdp_write_header() and
  rdp_write_security_header() function instead of reimplementing them
  and by using existing defines instead of magic values.
2012-01-23 18:23:52 +01:00
Pawel Jakub Dawidek
44663ab332 Introduce more complete RSA API that implements:
- crypto_rsa_public_encrypt()
- crypto_rsa_public_decrypt()
- crypto_rsa_private_encrypt()
- crypto_rsa_private_decrypt()
2012-01-19 04:48:52 +01:00
Pawel Jakub Dawidek
6f418cb20b PROTOCOL_RDP is 0, so don't perform bitwise operations on it. 2012-01-17 17:52:12 +01:00
Pawel Jakub Dawidek
74860814fc Use stream_write() instead of memcpy() + stream_seek(). 2012-01-16 15:56:31 +01: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
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
3b3660898d server: fix pdu processing during reactivation. 2011-12-19 01:15:27 +08:00
Marc-André Moreau
0ed4709167 libfreerdp-core: add server-side capabilities callback 2011-12-14 15:08:09 -05:00
Marc-André Moreau
9e6a5d6821 libfreerdp-core: fix autologon for non-NLA authentication 2011-12-10 10:54:09 -05:00
Matthew Mosesohn
fca9ca8908 Try FDQN for redirect before trying netbios name 2011-11-29 16:32:22 -05:00
Alexis Moinet
4777d8f021 fix a double free in redirection.c/settings.c and a memory leak in connection.c 2011-11-24 16:45:34 +01:00
Marc-André Moreau
587cc8eaaf update: move secondary drawing orders to sub-interface 2011-11-21 19:41:49 -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
0549380c28 libfreerdp-channels: rename from libfreerdp-chanman 2011-10-16 14:57:15 -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
Marc-André Moreau
997ecbd112 libfreerdp-core: fix orders state reset on deactivate all pdu 2011-09-20 17:01:38 -04:00
Vic Lee
d7d7c8a352 libfreerdp-core: add more checking in nego phase. 2011-09-16 23:16:16 +08: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
2e2875966f client / server random fix 2011-09-13 18:52:10 -07:00
Jay Sorg
2ac4a5fa96 work on rdp encryption 2011-09-12 23:40:27 -07:00
Vic Lee
64d85e181e libfreerdp-core: avoid noise pdu which might break the reactivation sequence. 2011-09-06 21:45:52 +08:00
Vic Lee
1cb5a73922 server: add desktop resize support. 2011-09-06 17:19:16 +08:00
Vic Lee
2150325421 libfreerdp-core: process desktop resize sequence. 2011-09-06 16:22:08 +08:00
Jay Sorg
afc9ac89ae work on Proprietary Certificate 2011-09-05 11:02:52 -07:00
Marc-André Moreau
08765a910d libfreerdp-core: parsing of glyph fragments 2011-09-04 16:49:22 -04:00
Marc-André Moreau
d53bd1cafa libfreerdp-core: add support for token-based server redirection 2011-09-03 18:21:21 -04: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
e4c7662148 libfreerdp-core: initial server redirection support 2011-09-03 17:02:26 -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
Jay Sorg
5d094c7dbd fix for PROTOCOL_RDP 2011-08-31 18:51:55 -07:00
Marc-André Moreau
c03b98f3fa libfreerdp-core: fix licensing debug output 2011-08-24 16:54:32 -04:00
Vic Lee
3178d27848 Rename more functions. 2011-08-23 13:26:24 +08:00
Vic Lee
9880650557 Rename functions. 2011-08-23 12:58:10 +08:00
Vic Lee
c08fef7d33 libfreerdp-core: change client connection sequence using nonblocking. 2011-08-22 17:11:50 +08:00
Vic Lee
9a7f56a2a1 server: send synchronize and control cooperate pdu. 2011-08-21 21:48:42 +08:00
Vic Lee
82bed4a0e8 server: receive client capabilities. 2011-08-21 15:52:44 +08:00