Commit Graph

117 Commits

Author SHA1 Message Date
lysannkessler
f8430e246c moved final security connection step into nego_connect for consistency 2012-07-25 18:50:19 +02:00
lysannkessler
d9c260f221 added command line options to specify preconnection PDU information 2012-07-25 18:46:43 +02:00
lysannkessler
3c6df95978 added a setting and a command line flag to disable security layer negotiation 2012-07-25 12:35:52 +02:00
lysannkessler
664c870de8 move transport.h include from header into c file 2012-07-25 10:38:47 +02:00
Lysann Kessler
2068263193 Merge branch 'master' into spikes/hyperv 2012-07-24 18:27:20 +02:00
Marc-André Moreau
baa740d612 libfreerdp-core: fix server-side protocol security negotiation for TLS + NLA 2012-06-19 20:10:49 -04:00
Marc-André Moreau
72d2c7c1d8 libfreerdp-core: use DER for parts of TSRequest encoding, just like mstsc 2012-06-18 15:56:40 -04:00
Lysann Kessler
1d753aa5d7 yet another vm identifier. time to make this configurable... 2012-06-11 17:52:46 +02:00
Lysann Kessler
b119af583a introducing a bad hack to send the connection request after establishing a secure connection, and without a negotiation request 2012-06-02 21:39:29 +02:00
Lysann Kessler
ee9b0b93a1 choosing another VM instance in PCB 2012-06-02 21:34:06 +02:00
Lysann Kessler
8afdf99e61 first spooky attempts to implement Hyper-V VM connection support: sending a PCB and disabling security negotiation 2012-05-31 16:34:38 +02:00
Marc-André Moreau
d3dc1c780d wfreerdp: fix compilation 2012-05-21 16:01:24 -04:00
Marc-André Moreau
f142ac29d6 Merge pull request #581 from ArvidNorr/errorcode
Errorcode
2012-05-07 04:37:25 -07:00
Marc-André Moreau
84a8cb7dba libfreerdp-core: merge TSG changes with master 2012-04-28 15:56:26 -04:00
Pieterjan Camerlynck
3d330fbe15 libfreerdp-core: do not send SynchronizeEvent during connection finalization 2012-04-25 14:26:15 +02:00
norrarvid
86faf2d268 connect error codes added 2012-04-13 13:16:08 +02:00
Jay Sorg
d9b513b18c libfreerdp-core: fix connection issue where drawing functions were called in rdp_connect 2012-04-09 10:28:33 -07:00
Marc-André Moreau
7e3c9331ad libfreerdp-utils: add parsing of --tsg option 2012-03-26 03:04:47 -04:00
Mads Kiilerich
fe3c12d44a rdp redirect: do the necessary layering violation to avoid leaks 2012-03-16 18:12:49 +01:00
Julien Ropé
7a5c2bc8cc Slight modifications to existing comments to have them better displayed in doxygen's docs. 2012-02-25 21:56:49 +01:00
Marc-André Moreau
b8882a8ad2 libfreerdp-crypto: taking crypto code out of libfreerdp-core 2012-02-17 00:58:30 -05:00
Marc-André Moreau
4fe4cd35e3 libfreerdp-server: added server-side CredSSP stubs 2012-02-13 22:27:59 -05:00
Pawel Jakub Dawidek
957bad3d52 Rename secure_checksum settings field to salted_checksum (the same for --secure-checksum flag) to match ENC_SALTED_CHECKSUM flag's name. 2012-02-10 20:33:07 +01: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
Marc-André Moreau
b4e542ba46 libfreerdp-core: fix multiple memory leaks detected by valgrind 2012-02-01 18:42:20 -05:00
Norbert Federa
a3a4e9afa9 core: fixed segfault caused by double free of password_cookie blob 2012-02-01 17:58:06 +01:00
Adam Brand
927bc71780 Fixed issue with RDS farm redirection and passwords. 2012-01-30 20:49:27 -08:00
Adam Brand
4aeb52aace First attempt at fixing the password issue; this segfaults unfortunately. 2012-01-30 17:54:46 -08:00
Marc-André Moreau
bde353b635 libfreerdp-core: fix reconnection for non IP-based redirection 2012-01-29 14:49:54 -05:00
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