Commit Graph

876 Commits

Author SHA1 Message Date
Marc-André Moreau
e08da86efd libfreerdp-core: add unix timezone identifier detection 2012-02-16 17:09:14 -05:00
Marc-André Moreau
15c17e04cf libfreerdp-core: added generated Time Zone Redirection table 2012-02-16 02:08:39 -05:00
Marc-André Moreau
6cca235ae6 libfreerdp-core: move timezone code from info.c to timezone.c 2012-02-16 01:53:58 -05:00
Marc-André Moreau
aa7b83ff1e libfreerdp-core: fix issue #436 2012-02-15 16:33:51 -05:00
Marc-André Moreau
5d7e55fe9d libfreerdp-core: fix timezone redirection 2012-02-15 16:28:47 -05:00
Bernhard Miklautz
ab057141b0 core: Fixed segfault when connecting with nla 2012-02-14 16:00:13 +01:00
Marc-André Moreau
4fe4cd35e3 libfreerdp-server: added server-side CredSSP stubs 2012-02-13 22:27:59 -05:00
Marc-André Moreau
1d3e3a466d libfreerdp-core: started server-side NLA 2012-02-13 21:49:41 -05:00
Marc-André Moreau
06330a7cb3 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2012-02-13 17:51:56 -05:00
Marc-André Moreau
708ba9bd03 libfreerdp-core: expanded input API 2012-02-13 17:51:42 -05:00
Marc-André Moreau
e22023cc76 libfreerdp-cache: start NineGrid cache 2012-02-12 20:29:33 -05:00
Marc-André Moreau
233b0b6ef4 libfreerdp-gdi: add mem3blt support 2012-02-12 19:41:39 -05:00
Marc-André Moreau
f7a71079dd xfreerdp: reintroduce Polygon drawing 2012-02-12 17:14:59 -05:00
Pawel Jakub Dawidek
928dc74782 Remove tls->cert field, make tls_get_certificate() static and free certificate after use. 2012-02-12 19:08:16 +01:00
Marc-André Moreau
d37e6091b0 libfreerdp-core: verify TLS certificate with both TLS and NLA 2012-02-12 12:46:53 -05:00
Pawel Jakub Dawidek
3e464c3a7d Plug some resource leaks. 2012-02-12 18:09:09 +01:00
Pawel Jakub Dawidek
f74ea2f034 Write fingerprint to proper descriptor. 2012-02-12 18:09:03 +01:00
Pawel Jakub Dawidek
d2b82c4166 Advertise persistent bitmap cache only if it is enabled. 2012-02-11 15:11:10 +01:00
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
Pawel Jakub Dawidek
cb4668ca68 When acting as server, accepth client's color depth only if it is smaller than ours. This is what Windows server does. 2012-02-11 14:33:48 +01:00
Marc-André Moreau
5ae4d88c14 libfreerdp-core: don't call freerdp_context_free() from freerdp_free() 2012-02-10 15:50:29 -05:00
Jay Sorg
d51db08c5c libfreerdp-core: fix memory leaks and double free 2012-02-10 12:35:22 -08:00
Marc-André Moreau
6bddb08713 Merge pull request #415 from pjd/fixes
Advertise ENC_SALTED_CHECKSUM support.
2012-02-10 12:14:41 -08:00
Marc-André Moreau
79884c8b72 Revert "RDP6 compression"
This reverts commit 8302b724e1.
2012-02-10 15:06:58 -05:00
Pawel Jakub Dawidek
dd957c3097 Set ENC_SALTED_CHECKSUM flag when support for salted checksums is enabled. 2012-02-10 20:33:14 +01: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
cool
8302b724e1 RDP6 compression 2012-02-09 22:20:24 -11:00
Marc-André Moreau
caae69e980 libfreerdp-core: change source descriptor from MSTSC to FREERDP 2012-02-08 14:45:24 -05:00
Pawel Jakub Dawidek
e73a525ad5 Move the comment into correct place. 2012-02-08 12:47:22 +01:00
Pawel Jakub Dawidek
e9f89af8a5 The fastpath header can be two or three bytes long. Check also the latter case. 2012-02-08 12:03:39 +01:00
Marc-André Moreau
58e08a7726 Merge pull request #407 from hcgpalm/master
Fix info_packet misalignment
2012-02-07 20:27:16 -08:00
Marc-André Moreau
0975c0f07e libfreerdp-core: improve error checking in certificate validation 2012-02-07 22:16:57 -05:00
Otavio Salvador
986890b8b9 Merge pull request #404 from pjd/server_slow_path_input
Implement server-side support for slow-path Input Event PDU.
2012-02-07 05:01:53 -08:00
Pawel Jakub Dawidek
eb8c5c5f81 Implement server-side support for slow-path Input Event PDU. 2012-02-07 13:53:00 +01:00
Pawel Jakub Dawidek
1fa1331a54 Modify the UnicodeKeyboardEvent callback to also include flags argument.
According to the specification first two bytes contain keyboardFlags.
Those keyboardFlags are a bit different than in the regular (non-unicode)
Keyboard Event. There is no KBD_FLAGS_EXTENDED here and also when
key is pressed there is neither KBD_FLAGS_DOWN nor KBD_FLAGS_RELEASE flag
set. When key is released the KBD_FLAGS_RELEASE flag is set.
2012-02-07 12:22:01 +01:00
Pawel Jakub Dawidek
2ee9cc5e18 Simplify code by using per_read_length() instead of reimplementing it. 2012-02-07 11:16:47 +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
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
Christer Palm
ded92bc9cd Fix password field length 2012-02-06 01:27:21 +01:00
Marc-André Moreau
47de99062d libfreerdp-core: added --certificate-name option for explicitly specifying a certificate name 2012-02-04 15:16:41 -05:00
Marc-André Moreau
ffec1c2062 libfreerdp-core: improve and clarify certificate checking 2012-02-04 15:04:03 -05:00
Marc-André Moreau
4695faae38 libfreerdp-core: added check for certificate name against hostname 2012-02-04 02:21:39 -05:00
Pawel Jakub Dawidek
1619b43781 Fix problem where we check errno even for status == 0. This way when connection was properly terminated, but errno had EAGAIN value from before, we looped idenfiniately. 2012-02-03 14:44:45 +01:00
Pawel Jakub Dawidek
feb20edda7 Plug memory leak in case of an empty file and terminate string with '\0'. 2012-02-03 09:00:39 +01:00
Marc-André Moreau
9c81ff8022 libfreerdp-core: change certificate store directory name to match OpenSSL 2012-02-02 18:33:26 -05:00
Marc-André Moreau
521f956c00 libfreerdp-core: merging certificate.c with certstore.c 2012-02-02 18:20:17 -05:00
Marc-André Moreau
26d68997eb Merge branch 'master' of github.com:FreeRDP/FreeRDP 2012-02-02 17:36:16 -05:00
Marc-André Moreau
bae5de89e1 libfreerdp-utils: refactoring of certificate store 2012-02-02 17:36:07 -05:00
Pawel Jakub Dawidek
9d2ea6e937 According to specification bits from the first octet and bit 8 from the second octet (if there is more than one octet) shall not all be ones.
Before that change integer >= 0xFF80 was encoded into two bytes instead of three.
While here also add support for encoding integers into three bytes.
2012-02-02 22:46:23 +01:00
Pawel Jakub Dawidek
7c9bbcc8e1 Add missing two bytes for pad2Octets field in FASTPATH_UPDATETYPE_SYNCHRONIZE packet. 2012-02-02 17:54:36 +01:00
Marc-André Moreau
9e4d76648b libfreerdp-core: fix more memory leaks 2012-02-01 21:11:46 -05: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
Martin Fleisz
c872b4ca80 Init update->SuppressOutput for clients too 2012-01-31 08:11:22 -08:00
Marc-André Moreau
bb61820bfb Merge pull request #380 from pjd/stream
Use stream API instead of accessing stream fields directly.
2012-01-31 04:44:58 -08:00
Pawel Jakub Dawidek
d733924df8 Use stream API instead of accessing stream fields directly.
This include use of stream_attach(), so 'size' is properly set.
2012-01-31 13:36:53 +01:00
Pawel Jakub Dawidek
d2860f3210 Use stream_attach() so that the 'size' field in the stream structure
is properly set. This allows to assert in stream API that we don't
try to access memory outside stream buffer.
2012-01-31 12:15:54 +01:00
Marc-André Moreau
413fc774c5 Merge pull request #378 from adambprotiviti/redir-pw-fix
Fixed RDS Farm Redirection
2012-01-30 22:55:37 -08:00
Adam Brand
873e904abd Final commit for fixing password issue; removed debug strings. 2012-01-30 20:54:29 -08:00
Adam Brand
927bc71780 Fixed issue with RDS farm redirection and passwords. 2012-01-30 20:49:27 -08:00
Adam Brand
e11dd6d588 Fixed some obvious things; still doesn't work. 2012-01-30 18:33:46 -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
e33f21b958 libfreerdp-utils: extend file utils to do path detection 2012-01-30 17:47:55 -05:00
Marc-André Moreau
012825e3b6 libfreerdp-core: fix code style in gcc.c 2012-01-29 15:05:34 -05:00
Marc-André Moreau
bde353b635 libfreerdp-core: fix reconnection for non IP-based redirection 2012-01-29 14:49:54 -05:00
Marc-André Moreau
005ffa0bb0 wfreerdp: fix mingw64 cross-compilation (Felix Wolfheimer) 2012-01-29 11:11:13 -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
7207e945c3 - Ignore received encryption_method and encryption_level if we don't support encryption.
- Print a warning if we receive unregognized type.
2012-01-25 17:16:44 +01:00
Pawel Jakub Dawidek
daf565dbd3 Add complete implementation of gcc_write_server_security_data() function
that implements server-side 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
76f36461ff Add a note why we are skipping 8 bytes. 2012-01-25 17:16:44 +01:00
Pawel Jakub Dawidek
ee9739f490 Add API to load RSA key for Standard RDP Security in server mode. 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
86910c8401 Add missing decryption. 2012-01-25 17:16:44 +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
61aa1dfb79 Add Standard RDP encryption suport for fastpath. Both input and output. 2012-01-25 17:15:17 +01:00
Pawel Jakub Dawidek
9c8a6bd8e9 Add some FASTPATH_INPUT_* enums. 2012-01-25 17:15:09 +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
cea62dd9f6 Simplify code by using per_read_length() instead of reimplementing it. 2012-01-25 17:14:51 +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
b3a4be0298 We calculate checksum on plain text, so we must have already decrypt it, which means decrypt_use_count is off by one. Account for this. 2012-01-25 17:14:11 +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
609d177412 Handle short writes properly in transport_write().
Before this change if short write (send) occured, we were trying to
resend without updating length variable, so we were trying to send
too much and the following undefined data were causing the other
side to terminate connection.
2012-01-24 11:46:35 +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
164c8a0a67 Whitespace fixes. 2012-01-19 05:36:52 +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
Pawel Jakub Dawidek
ab4beb787f Implement signature verification in Server Security Data packet.
Because this signature doesn't protect against anything, only warn
the user if it is invalid.
2012-01-19 04:49:03 +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
a118afa879 Add Terminal Services Signing Keys. 2012-01-19 04:48:43 +01:00
Pawel Jakub Dawidek
3bbd2f28c7 Use CRYPTO_*_DIGEST_LENGTH defines instead of magic values. 2012-01-19 04:48:32 +01:00
Pawel Jakub Dawidek
af5501cdc5 Introduce CRYPTO_SHA1_DIGEST_LENGTH and CRYPTO_MD5_DIGEST_LENGTH that hold
number of bytes needed for a given hash.
2012-01-19 04:48:23 +01:00
Pawel Jakub Dawidek
9b07d525fb Introduce SIGNATURE_ALG_RSA and KEY_EXCHANGE_ALG_RSA defines and use them
instead of magic values.
2012-01-17 17:55:31 +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
1dd33b49d5 The ber_write_length() function can store variable number of bytes (one or
three). We can't tell until we write other data and know the length, so don't
assume how much space will by consumed to store length. Bug was observed with
the mcs_write_connect_response() function, where the function assumed that
application tag will take three bytes, but it was taking five.
2012-01-17 14:17:04 +01:00
Marc-André Moreau
949bce4d54 wfreerdp: fix warnings and color conversion 2012-01-16 11:40:18 -05:00
Marc-André Moreau
757e41a0d5 Merge pull request #347 from pjd/pullreq
Use of stream_read() / stream_write()
2012-01-16 07:18:50 -08:00
Pawel Jakub Dawidek
7056f5f5ef Make use of stream_read(). 2012-01-16 15:56:47 +01:00
Pawel Jakub Dawidek
4815924d0e Use stream_read() instead of memcpy() + stream_seek(). 2012-01-16 15:56:39 +01:00
Pawel Jakub Dawidek
74860814fc Use stream_write() instead of memcpy() + stream_seek(). 2012-01-16 15:56:31 +01:00
Pawel Jakub Dawidek
6a7fe3e520 If we are server, our encryption key is client's decryption key and vice-versa. 2012-01-16 15:55:06 +01:00
Marc-André Moreau
42dfd2627b libfreerdp-core: fix FreeBSD compilation 2012-01-16 08:27:07 -05:00
Marc-André Moreau
f42b5f6a42 Merge pull request #344 from atong/master
various glyph cache resource fixes
2012-01-16 03:51:15 -08:00
Anthony Tong
2c30b11be2 glyph-cache: free pixmap, cache entries, cache fragments, and reuse secondary glyph cache buffers 2012-01-15 15:35:08 -05:00
Marc-André Moreau
8ed44b4f17 libfreerdp-core: add integer overflow check in GCC 2012-01-15 15:20:39 -05: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
0c9db6a40a libfreerdp-core: pad larger portion of rdpSettings 2012-01-14 14:42:36 -05:00
Marc-André Moreau
3f91e24a4d libfreerdp-core: added freerdp_get_version() 2012-01-14 13:33:04 -05:00
Marc-André Moreau
c1291c3601 libfreerdp-core: cleanup warnings in mppc.c 2012-01-13 18:39:09 -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
Anthony Tong
7e8709ebbd libfreerdp-core: fix reuse issue with osb's deleteList 2012-01-11 13:24:01 -05:00
Marc-André Moreau
c3f1c325e5 libfreerdp-core: fix encoding of capability set headers 2012-01-10 23:04:10 -05:00
Marc-André Moreau
79ae6d7a0b libfreerdp-core: fix draw nine grid cache capability set encoding bug 2012-01-10 21:32:08 -05:00
Marc-André Moreau
dd39ed99c7 libfreerdp-core: fix fastpath parsing of synchronize pdu 2012-01-10 17:03:31 -05:00
Marc-André Moreau
3f345ce983 Merge pull request #337 from jiten19/mainstream
INFO_COMPR flags according to CompressionTypeMask
2012-01-10 07:21:24 -08:00
cool
83b39eea32 .. 2012-01-09 21:52:09 -11:00
cool
73a2ab9eaa INFO_COMPR flags according to CompressionTypeMask 2012-01-09 16:38:07 -11: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
Marc-André Moreau
2cdf1aa24a libfreerdp-core: fix issue #281 for slow-path pointer PDUs 2012-01-08 15:22:52 -05:00
Marc-André Moreau
78a517f171 libfreerdp-core: fix padding with pointer color update 2012-01-08 15:02:02 -05:00
Marc-André Moreau
f1c12c4eba libfreerdp-core: remove unused crypto_cert_verify function to avoid confusion 2012-01-06 20:51:20 -05:00
Marc-André Moreau
a3df68a3a3 libfreerdp-core: apply glyph cache v2 patch from Pawel Jakub Dawidek 2012-01-04 20:20:58 -05:00
Marc-André Moreau
5f28591d3a libfreerdp-cache: apply bitmap cache v1 patch from Pawel Jakub Dawidek 2012-01-04 20:17:11 -05:00
Marc-André Moreau
9dff0cd7f5 libfreerdp-core: clarification of bitmap decompression 2012-01-03 18:22:42 -05:00
Marc-André Moreau
3a3db9f20c libfreerdp-core: improve handling of create offscreen bitmap delete list indices 2011-12-31 15:36:04 -05:00
Marc-André Moreau
e95dcc4c5e libfreerdp-core: fix decompression of color brushes 2011-12-30 14:23:47 -05:00
Vic Lee
0975b4555c libfreerdp-core: move os type settings to the client.
Moving the osMajorType and osMinorType settings to the client so that the
client can set a real os type constant. This will give a more useful hint
to the server.
2011-12-24 15:48:33 +08:00
David Sundstrom
50dcc1138a Fix SEGV for X servers without XKB extension. 2011-12-21 16:58:56 -06:00
Anthony Tong
a65e562411 libfreerdp-core: fix server redirection when using rdp security 2011-12-21 14:59:31 -05:00
Marc-André Moreau
77bbd18d5c libfreerdp-core: fix input callback registration for slow-path input 2011-12-20 14:51:44 -05:00
Marc-André Moreau
216947a330 libfreerdp-core: disable fastpath output if server does not support it 2011-12-20 14:42:22 -05:00
Marc-André Moreau
39e4d1a092 libfreerdp-core: cleanup of fastpath input flags processing 2011-12-20 12:09:53 -05:00
Marc-André Moreau
3fb8e8fb58 libfreerdp-core: set code page 2011-12-19 20:52:22 -05:00
Marc-André Moreau
15a2567e87 libfreerdp-core: handle omission of bitmap compression header 2011-12-19 20:31:37 -05:00
Marc-André Moreau
0914eb071e libfreerdp-core: fix sending large pointer caps twice 2011-12-18 17:11:24 -05:00
Marc-André Moreau
135503612d libfreerdp-core: fix race condition in connection finalization 2011-12-18 15:15:48 -05:00
Marc-André Moreau
b913b1d1b8 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2011-12-18 12:11:05 -05:00
Vic Lee
3b3660898d server: fix pdu processing during reactivation. 2011-12-19 01:15:27 +08:00
Marc-André Moreau
30e8b63ab6 libfreerdp-core: fix sending of extended data blocks when supported only 2011-12-18 12:10:56 -05:00
David Sundstrom
49303c8969 Fix compile error on Solaris
Fix few small issues with local move race conditions
Add missing --gdi option to command-line help
2011-12-16 15:10:07 -06:00
Marc-André Moreau
5d1df8a342 libfreerdp-core: add connection type settings 2011-12-16 12:14:16 -05:00
Marc-André Moreau
338359eb36 libfreerdp-core: added more fine-tuned performance flag options 2011-12-16 12:04:09 -05:00
Vic Lee
5502cfe25a server: add frame marker update. 2011-12-16 07:26:32 +08:00
Vic Lee
f788581586 server: server must store the pointer cache size from client. 2011-12-16 07:08:40 +08:00
Marc-André Moreau
2edfcb50fb libfreerdp-core: fix glyph cache, enable it by default 2011-12-14 17:08:22 -05:00
Marc-André Moreau
0ed4709167 libfreerdp-core: add server-side capabilities callback 2011-12-14 15:08:09 -05:00
Marc-André Moreau
949fc88989 libfreerdp-core: fix performance flags for RemoteFX and smooth fonts 2011-12-14 14:35:37 -05:00
Bernhard Miklautz
a0fad066dc libfreerdp-utils/core: use "dylib" as plugin extension on OSX 2011-12-14 02:28:12 +01:00
Bernhard Miklautz
e902508e70 libfreerdp-core: fixed compilation issue on OSX 2011-12-14 01:42:10 +01:00
Marc-André Moreau
64f5ccaca2 libfreerdp-core: fix connection type if composition is enabled 2011-12-13 17:54:50 -05:00
Marc-André Moreau
fec031ebe5 libfreerdp-core: fix sending of font capabilities, fix encoding of bitmap cache cell info 2011-12-13 15:56:06 -05:00
Marc-André Moreau
d454037298 libfreerdp-kbd: fix keyboard layout detection based on locale 2011-12-12 21:29:18 -05:00
Marc-André Moreau
f2172bff70 libfreerdp-core: tweak capabilities to be closer to 0.9 2011-12-12 19:57:24 -05:00
Marc-André Moreau
243090323d libfreerdp-core: fix offscreen cache capabilities, add --composition option 2011-12-12 19:20:52 -05:00
Marc-André Moreau
654600dc91 Merge pull request #270 from llyzs/wtsvc
Server virtual channel API
2011-12-12 07:05:33 -08:00
Marc-André Moreau
9d1f13e82e libfreerdp-core: set SO_KEEPALIVE socket option 2011-12-11 19:51:58 -05:00
Marc-André Moreau
aec2b492e4 libfreerdp-core: set TCP_NODELAY socket option 2011-12-11 18:59:35 -05:00
Marc-André Moreau
fcd03260d6 xfreerdp: added select() timeout 2011-12-11 18:05:32 -05:00
Marc-André Moreau
2ef315820f libfreerdp-core: apply NTLMv2 authentication patch by Dmitrij Jasnov 2011-12-11 16:53:24 -05:00
Marc-André Moreau
25a3a6e68f libfreerdp-core: provide more descriptive warning message for certificate check failure 2011-12-10 11:23:48 -05:00
Marc-André Moreau
9e6a5d6821 libfreerdp-core: fix autologon for non-NLA authentication 2011-12-10 10:54:09 -05:00
Vic Lee
703e253e9f libfreerdp-core: add channel data sending/receiving for server. 2011-12-10 16:41:29 +08: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
Marc-André Moreau
904a9a7c6a xfreerdp: add -X option for reparenting window 2011-12-09 13:53:19 -05:00
Marc-André Moreau
a50ef84c21 wfreerdp: fix compilation and warnings 2011-12-03 17:24:18 -05:00
Vic Lee
28d1abdd62 fastpath: refactor fastpath updates and merge fragmented codes. 2011-12-03 14:55:17 +08:00
Vic Lee
667afaa8d3 server: add pointer updates. 2011-12-03 08:54:02 +08:00
Mike Gilbert
bc3f8dfa53 libfreerdp-core: Finish cleanup of constant string arrays. 2011-11-30 17:40:36 -05:00
Mike Gilbert
c676bd0ac8 ber: Add const to ber_write_octet_string input parameter. 2011-11-30 17:36:27 -05:00
Mike Gilbert
5b7fc71b37 security: Add const to table declarations. 2011-11-30 17:33:13 -05:00
Mike Gilbert
c8934ef028 crypto: Add const modifiers to input parameters. 2011-11-30 17:29:40 -05:00
Mike Gilbert
88be3c2184 ntlmssp: Remove accidental ifdef. 2011-11-29 21:26:05 -05: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
Mike Gilbert
3993f54474 ntlmssp: Optimize storage of constant strings.
Based on information in flameeyes blog.
http://blog.flameeyes.eu/2007/12/19/array-of-pointers-and-array-of-arrays
2011-11-29 21:08:07 -05:00
Mike Gilbert
f176059921 errinfo.c: Cleanup global variables and strings.
This moves constant data into a read-only section and cuts around 7k out
of the resulting object code.
2011-11-29 20:34:25 -05:00
Marc-André Moreau
ac9d584de5 ntlmssp: added more debug output for AV_PAIRS 2011-11-29 19:23:08 -05:00
Marc-André Moreau
37a4ed3859 ntlmssp: add better AV_PAIRS debug output 2011-11-29 18:36:22 -05:00
Marc-André Moreau
28cc3c6f11 ntlmssp: add command-line option to enabled WIP enhanced NTLMv2 security 2011-11-29 18:12:42 -05:00
Matthew Mosesohn
fca9ca8908 Try FDQN for redirect before trying netbios name 2011-11-29 16:32:22 -05:00
Marc-André Moreau
b2515f0729 ntlmssp: got NTLM authentication working with proper definitions 2011-11-29 15:29:59 -05:00
Marc-André Moreau
76f09de778 ntlmssp: refactor NEGOTIATE debug output 2011-11-29 15:16:42 -05:00
Marc-André Moreau
22ca2e06fd ntlmssp: added ALTERNATE_NTLMSSP 2011-11-29 14:41:04 -05:00
Marc-André Moreau
af6e914cf3 update: modify surface frame marker callback 2011-11-25 11:30:15 -05:00
Marc-André Moreau
7f9f2ea7a7 Merge pull request #226 from nfedera/dumpcaconlyfix
core: request RemoteFX-only data if --dump-rfx is specified
2011-11-25 07:08:56 -08:00
Marc-André Moreau
afd2569be0 Merge pull request #225 from nfedera/framemarkerupdate
core: add update callback for the surface frame marker command
2011-11-25 07:08:37 -08:00
Norbert Federa
c918cfb7af codec: support for specifying the RemoteFX mode (image or video) 2011-11-25 13:09:16 +01:00
Norbert Federa
6540b77534 core: request RemoteFX-only data if --dump-rfx is specified
The variable captureFlags was already correctly set if --dump-rfx
was specified but simply not used.
2011-11-25 12:23:44 +01:00
Norbert Federa
c2514dbcae core: add update callback for the surface frame marker command
- clients will need this to present the offscreen to the display
  in the correct state in order to avoid flickering and artefacts
  and to do frame acknowledgement.

- added empty callback to xfreerdp.
2011-11-25 11:48:51 +01:00
Jay Sorg
b32ea1b77e got fast index and fast glyph working 2011-11-24 15:32:49 -08:00
Vic Lee
0d17fbe785 server: add scrblt. 2011-11-25 00:48:53 +08: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
Jay Sorg
a5f878b536 got GLYPH_INDEX working 2011-11-23 13:11:28 -08:00
Jay Sorg
873b1fbf62 fix for read negative signed int 2011-11-23 12:48:49 -08:00
Marc-André Moreau
0e234de3ae update: aligning data structures to 4 byte 2011-11-21 22:11:31 -05:00
Marc-André Moreau
4ba59d8fcd update: move alternate secondary window drawing orders to sub-interface 2011-11-21 21:07:03 -05:00
Marc-André Moreau
0a9278bd32 update: move alternate secondary orders to sub-interface 2011-11-21 19:53:38 -05:00
Marc-André Moreau
587cc8eaaf update: move secondary drawing orders to sub-interface 2011-11-21 19:41:49 -05:00
Marc-André Moreau
f17a25e08d update: move primary orders into sub-interface 2011-11-21 18:11:43 -05:00
Marc-André Moreau
7899915c78 freerdp: separate pointer updates into sub-interface 2011-11-21 17:48:03 -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
150ff56f5f wfreerdp: fix compilation warnings and errors 2011-11-12 00:51:41 -05:00
Marc-André Moreau
0e95675da3 libfreerdp-core: add support for Refresh Rect and Suppress Output PDUs 2011-11-11 14:02:59 -05:00
Marc-André Moreau
809dbf7744 libfreerdp-core: fix capability set parsing for Windows XP 2011-11-11 01:24:55 -05:00
Marc-André Moreau
4221065c88 libfreerdp-core: port extension plugin interface (untested) 2011-11-09 15:59:03 -05:00
Marc-André Moreau
0043b16472 libfreerdp-core: started porting extension plugin interface 2011-11-09 15:33:58 -05:00
Marc-André Moreau
a1b8dfd79f libfreerdp-cache: got glyph drawing partially working 2011-11-09 12:16:09 -05:00
Marc-André Moreau
155446d11e libfreerdp-cache: moving glyph to a graphical object 2011-11-09 00:43:56 -05:00
Marc-André Moreau
a67096243b Merge branch 'master' of github.com:FreeRDP/FreeRDP 2011-11-08 23:26:53 -05:00
Marc-André Moreau
823e3414d6 libfreerdp-cache: initial glyph cache support 2011-11-08 23:26:44 -05:00
Marc-André Moreau
99a89bfcad xfreerdp-server: resize to server session resolution 2011-11-07 17:20:00 -05:00
Vic Lee
4b6dd6f14d server: follow context_size change. 2011-10-30 13:43:04 +08:00
Eduardo Beloni
6a5f584120 libfreerdp-core/info: [fix] read Length in rdp_recv_logon_info_extended
Now FreeRDP can receive the auto-reconnect cookie from the server
2011-10-28 17:06:59 -02:00
Anthony Tong
6f59d691a2 certstore: update verified certificates, be graceful on filesystem errors 2011-10-28 11:38:45 -04:00
Marc-André Moreau
d0b9478f45 wfreerdp: fix bitmap decompression 2011-10-26 15:38:50 -04:00
Alexis Moinet
a3bbe473d2 add cmake option for redirection debug and fix a segmentation fault in redirection 2011-10-26 10:47:32 +02:00
Marc-André Moreau
12705d36e5 libfreerdp-core: fix bitmap leak (call child destructor from parent destructor in graphics/bitmap) 2011-10-25 23:12:28 -04:00
Eduardo Beloni
b9a008ae8a libfreerdp-core: facilities for storing and retrieving 'error info' 2011-10-25 09:59:18 -02:00
Martin Fleisz
2fdb501458 core: Added missing \0 termination to crypto_print_name 2011-10-24 06:22:44 -07:00
Marc-André Moreau
9165505e0d xfreerdp: improved 8bpp support 2011-10-21 12:17:04 -04:00
Marc-André Moreau
55b32a9ea9 libfreerdp-core: fix credssp check for Authenticate callback 2011-10-21 11:18:11 -04:00
Otavio Salvador
162b33b254 Merge pull request #170 from mfleisz/cryptofix
core: Fixed error in crypto_print_name causing it to always return NULL
2011-10-21 06:42:52 -07:00
Marc-André Moreau
243e1c21ba Merge pull request #172 from mfleisz/authfix
core: correct processing of result from authenticate callback
2011-10-21 06:38:48 -07:00
Martin Fleisz
0c25bd4fd0 core: correct processing of result from authenticate callback 2011-10-21 04:02:46 -07:00
Martin Fleisz
4a6c0602d0 core: Fixed error in crypto_print_name causing it to always return NULL 2011-10-21 01:55:28 -07:00
Marc-André Moreau
488a4161f5 libfreerdp-core: refactoring of callback prefix 2011-10-20 23:15:18 -04:00
Marc-André Moreau
dac75fef83 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2011-10-20 21:38:21 -04:00
Marc-André Moreau
657fd998e5 xfreerdp: fix bitmap updates after refactoring 2011-10-20 21:34:55 -04:00
Marc-André Moreau
dbdbea9285 libfreerdp-core: added pointer object 2011-10-20 18:18:45 -04:00
Marc-André Moreau
b7e7067176 libfreerdp-core: refactoring of core bitmap objects 2011-10-20 17:28:59 -04:00
Marc-André Moreau
3c0ab49226 Merge pull request #168 from nfedera/pcapsegvfix
pcap: fix several segfaults with NULL pcap file handle
2011-10-20 09:23:25 -07:00
Norbert Federa
12245abfc8 pcap: fix several segfaults with NULL pcap file handle
- pcap_open did not return NULL if fopen failed
- libfreerdp-core, tfreerdp-serer and xfreerdp-server did not check the pcap_open result
- also fixed the sleep calculation in the xfreerdp-server
2011-10-20 14:25:25 +02:00
Martin Fleisz
08bb4aa5c1 transport: Leaking socket on disconnect when using TLS transport layer 2011-10-20 03:50:12 -07:00
Marc-André Moreau
505426e31f Merge pull request #161 from mfleisz/certcallback
settings: Added --ignore-certificates command line
2011-10-19 04:32:43 -07:00
Martin Fleisz
9356337474 Added --ignore-certificates command line 2011-10-19 00:42:53 -07:00
Norbert Federa
e0cf2a83f7 core: handle transport->recv_callback correctly
the boolean return value of transport->recv_callback was directly assigned to "int status" in transport_check_fds.
now status is set to -1 if transport_check_fds returns False.

this was also the reason for the long delays on logoff followed by these messages:
"SSL_read: I/O error" (with --sec nla|tls)
"recv: Connection reset by peer" + "send: Broken pipe" (with --sec rdp)
2011-10-18 23:47:44 +02:00
Martin Fleisz
cc210f5591 core: Added ui callback to verify certificates 2011-10-18 08:02:05 -07:00
Vic Lee
296d5ea753 server: use rdpContext for server-side components. 2011-10-18 15:10:12 +08:00
Anthony Tong
cd9328db4f dont advertise compression support in the vchan capabilities,
as it's not supported yet
2011-10-17 20:41:02 -05:00
Marc-André Moreau
5d9e8b2e28 libfreerdp-core: cleanup of freerdp interface 2011-10-16 21:02:28 -04:00
Marc-André Moreau
0549380c28 libfreerdp-channels: rename from libfreerdp-chanman 2011-10-16 14:57:15 -04:00
Marc-André Moreau
c639ec8593 libfreerdp-core: refactoring of context pointers into rdpContext 2011-10-16 00:50:10 -04:00
Marc-André Moreau
be6d043dd6 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2011-10-13 15:51:20 -04:00
Marc-André Moreau
8999bd8599 libfreerdp-cache: refactoring of bitmap and offscreen bitmap cache, fix major memory leaks 2011-10-13 15:51:07 -04:00