Commit Graph

876 Commits

Author SHA1 Message Date
Vic Lee
f5bafd6711 libfreerdp-core: fix server crash in case rdp key file is not provided. 2012-05-30 11:24:39 +08:00
Vic Lee
20fda49c4e libfreerdp-core: send suppress output and refresh rect only if server supports it. 2012-05-28 20:20:42 +08:00
Vic Lee
3477f34479 server: support RefreshRect and SuppressOutput. 2012-05-26 21:34:09 +08:00
Marc-André Moreau
ae6f331570 Merge branch 'master' of github.com:FreeRDP/FreeRDP into winpr 2012-05-25 18:45:12 -04:00
Marc-André Moreau
337bcf7605 winpr: fix compilation on Windows 2012-05-25 16:42:35 -04:00
Marc-André Moreau
b70683af9e libwinpr-sspi: move NLA code out of CredSSP module 2012-05-25 01:50:46 -04:00
Marc-André Moreau
f897159058 libwinpr-sspi: parse CredSSP plaintext credentials 2012-05-24 15:52:20 -04:00
Vic Lee
a43378ff86 libfreerdp-core/server: unix socket listener must be nonblocking. 2012-05-23 14:26:41 +08:00
Vic Lee
95f5e1156e libfreerdp-core/server: do not force encryption for local unix connection. 2012-05-22 23:21:09 +08:00
Vic Lee
ada9936a66 libfreerdp-core/server: add local flag for unix connection. 2012-05-22 23:10:52 +08:00
Vic Lee
20f038581b libfreerdp-core: add client unix domain socket. 2012-05-22 22:37:01 +08:00
Vic Lee
f4c8ebf13f libfreerdp-core: add server unix domain socket. 2012-05-22 18:53:11 +08:00
Marc-André Moreau
fbcce67cd8 libwinpr-crt: expand string functions 2012-05-21 22:04:14 -04:00
Marc-André Moreau
733fc24a48 libwinpr-sspi: data type cleanup 2012-05-21 20:39:45 -04:00
Marc-André Moreau
d3dc1c780d wfreerdp: fix compilation 2012-05-21 16:01:24 -04:00
Marc-André Moreau
23cbda9468 Merge branch 'master' of github.com:FreeRDP/FreeRDP into winpr 2012-05-20 17:04:28 -04:00
Julien Ropé
80f16c6201 Small fixes from static analysis:
- Potential NULL dereference in tsmf_ifman.c
- Check return value for our functions in tsmf_media.c and rdp.c
- Bad binary operator used in gcc.c
- Unreachable code in ntlm.c
- Bad free operation on SCOPE_LIST object in license.c
2012-05-16 15:29:35 +02:00
Julien Ropé
98d5b98465 Memory leak fixes.
Passed the code through a static analyzer and fixed all reported (and verified) potential memory leaks.
2012-05-16 11:33:57 +02:00
Marc-André Moreau
e77782d64c Merge pull request #590 from pykoder/master
fix client_hostname argument truncated: fix issues #570, #555
2012-05-15 15:14:25 -07:00
Marc-André Moreau
4c81674faa Merge pull request #586 from littlejawa/master
More comments and xmalloc validation
2012-05-15 15:13:52 -07:00
christophe grosjean
15ad1f2589 Fix client_hostname 2012-05-15 15:35:03 +02:00
Bernhard Miklautz
b0475a5e81 Only sent frame acknowledge if the server supports it
If the servers doesn't announce CAPSET_TYPE_FRAME_ACKNOWLEDGE
frame acknowledgements should not be sent.
2012-05-14 15:39:17 +02:00
Vic Lee
4050944f6e server: implement frame acknowledge PDU. 2012-05-11 16:35:11 +08:00
Vic Lee
4a6c5a72c4 libfreerdp-core: implement frame acknowledge. 2012-05-11 15:34:51 +08:00
Julien Ropé
dd16629644 Added some validation to xmalloc calls 2012-05-09 14:10:54 +02:00
Marc-André Moreau
f142ac29d6 Merge pull request #581 from ArvidNorr/errorcode
Errorcode
2012-05-07 04:37:25 -07:00
Marc-André Moreau
bfa4e5b1a2 libfreerdp-core: fix a few memory leaks in HTTP and RPC code 2012-05-06 00:53:07 -04:00
Marc-André Moreau
d317b62cd0 libfreerdp-core: make MSRPC engine usage optional 2012-05-05 18:51:23 -04:00
Marc-André Moreau
24eb2f46fe libwinpr-rpc: fix compilation on Linux 2012-05-05 18:42:35 -04:00
Marc-André Moreau
31f2fd3a8a libwinpr-sspi: rename from libfreerdp-sspi 2012-05-04 19:48:53 -04:00
Marc-André Moreau
e1e3f12114 winpr: move wtypes.h and windows.h 2012-05-04 19:36:35 -04:00
Marc-André Moreau
be1e7f8291 libwinpr-rpc: initial commit 2012-05-04 18:32:34 -04:00
Marc-André Moreau
95b6e2e04b libfreerdp-core: fix compilation on windows 2012-05-04 17:23:26 -04:00
Marc-André Moreau
62a7615535 libfreerdp-core: implement embedded pointer sizing 2012-05-03 22:04:14 -04:00
Marc-André Moreau
a078c82905 libfreerdp-core: start implementing Ndrp* private helpers 2012-05-03 16:38:48 -04:00
Marc-André Moreau
8a877a8362 libfreerdp-core: start implementation of NdrComplexStruct* 2012-05-02 04:28:44 -04:00
Marc-André Moreau
599fcb87fe libfreerdp-core: stub more NDR data types 2012-05-02 00:17:44 -04:00
Marc-André Moreau
a135206af9 libfreerdp-core: start implement NDR buffer size methods 2012-05-01 23:09:18 -04:00
Marc-André Moreau
a8fb709b35 libfreerdp-core: improve generated NDR header parsing 2012-04-30 21:12:34 -04:00
Marc-André Moreau
e9e8e51332 libfreerdp-core: expand NDR API 2012-04-28 23:37:07 -04:00
Marc-André Moreau
3e2b185989 libfreerdp-core: started implementing NdrClientCall2 2012-04-28 22:27:04 -04:00
Marc-André Moreau
d615aa44da libfreerdp-core: added TSGU MIDL generated code with structure definitions 2012-04-28 20:48:26 -04:00
Marc-André Moreau
56c1e4889f libfreerdp-core: added NDR annotations to hex dump samples 2012-04-28 18:28:10 -04: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
Marc-André Moreau
0c66c7f5e2 libfreerdp-core: cleanup debug output for auth_3 pdu 2012-04-24 02:02:43 -04:00
Marc-André Moreau
d068dcdedc libfreerdp-core: refactor tsg_write() 2012-04-23 20:13:06 -04:00
Marc-André Moreau
a8580e0f4b libfreerdp-core: refactoring of NTLM over HTTP authentication 2012-04-23 16:33:18 -04:00
Marc-André Moreau
351fb11521 libfreerdp-core: fix signing of messages with TSG 2012-04-23 15:10:18 -04:00
Vic Lee
e2b7788143 libfreerdp-core: server fix sending zero length update pdu.
System pointer update PDU (default pointer or null pointer) has
zero length update body. This will fix fastpath module to be able
to send out such packets.
2012-04-23 18:00:52 +08:00
Jay Sorg
8aaa182b32 libfreerdp-core: server fix for compressed, fragmented, PDUs 2012-04-21 21:17:00 -07:00
Marc-André Moreau
60da98cea0 libfreerdp-core: start fixing TunnelContext creation 2012-04-21 21:43:30 -04:00
Marc-André Moreau
0b35c71b34 libfreerdp-core: complete second TSG NTLM authentication 2012-04-21 20:16:48 -04:00
Marc-André Moreau
c3d7d553e7 libfreerdp-core: improve second TSG NTLM authentication phase 2012-04-21 16:29:49 -04:00
Marc-André Moreau
3b37d2262a libfreerdp-core: separate RTS and RPC PDU receiving 2012-04-21 16:18:07 -04:00
Marc-André Moreau
2e5215ba3a libfreerdp-core: document MS-RPCH connection establishment 2012-04-21 14:27:13 -04:00
Marc-André Moreau
25efe0f20f libfreerdp-core: perform HTTP authentication in a separate step instead of implicitly 2012-04-21 13:45:25 -04:00
Marc-André Moreau
81460cb33d libfreerdp-core: started implementing RTS abstract data model elements 2012-04-21 13:28:20 -04:00
Marc-André Moreau
21eea06a75 libfreerdp-core: NTLM support for non-sealing usage, RTS improvements 2012-04-20 17:00:00 -04:00
Marc-André Moreau
97391dc782 libfreerdp-core: cleanup RTS header encoding 2012-04-19 15:43:20 -04:00
Marc-André Moreau
de14b532a6 libfreerdp-core: start rts.c 2012-04-19 14:09:27 -04:00
Marc-André Moreau
e73a9c83a7 libfreerdp-core: fix first RTS packets sent 2012-04-19 13:40:57 -04:00
Marc-André Moreau
1961412941 libfreerdp-core: fix NTLM HTTP authentication 2012-04-19 11:29:53 -04:00
Marc-André Moreau
88b8380b4c libfreerdp-core: simplify HTTPS sending 2012-04-18 02:28:05 -04:00
Marc-André Moreau
2df6c9c316 libfreerdp-core: RPCH cleanup 2012-04-18 01:53:12 -04:00
Marc-André Moreau
fa7900d293 libfreerdp-core: start using HTTP utils for NTLM HTTP authentication 2012-04-16 16:21:46 -04:00
Marc-André Moreau
883b04d51f libfreerdp-core: start HTTP utils 2012-04-14 14:19:31 -04:00
norrarvid
86faf2d268 connect error codes added 2012-04-13 13:16:08 +02:00
Vic Lee
3a407c24b8 server: implement user-initiated disconnection sequence on server. 2012-04-13 15:58:28 +08:00
Raphal Rigo
02439d3168 fix TLS free logic, fixing double free in issue #531 2012-04-10 22:05:35 +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
632472f7f6 Merge pull request #544 from bmiklautz/static_inline
Changed some functions from inline to static inline
2012-04-06 12:36:15 -07:00
Pawel Jakub Dawidek
a064c7caa6 Set user_id in a way that matches Windows behaviour. 2012-04-06 20:57:41 +02:00
Bernhard Miklautz
1d32894775 Changed some functions from inline to static inline
This fixes inline build issues with clang.
http://clang.llvm.org/compatibility.html#inline
2012-04-04 15:23:16 +02:00
Marc-André Moreau
0d9e65ea06 libfreerdp-core: align rdpSettings structure to 8 bytes 2012-04-02 20:38:58 -04:00
Marc-André Moreau
9cd6a8e87e libfreerdp-core: started annotating TSG packets 2012-04-01 02:11:07 -04:00
Marc-André Moreau
b6af8cd206 libfreerdp-core: added MS-TSGU interface definitions 2012-03-31 21:32:13 -04:00
Trou
7be0dd6e67 Merge branch 'master' of git://github.com/FreeRDP/FreeRDP 2012-03-31 16:15:09 +02:00
Trou
79e191f78b REALLY fix negociation this time 2012-03-31 16:09:19 +02:00
Trou
fef87a0bd5 fix negotiation with NLA 2012-03-31 02:55:13 +02:00
Mads Kiilerich
704ff7d01b core: use valid default values for Client Core Data keyboardType and keyboardFunctionKey 2012-03-30 21:37:39 +02:00
Raphael Rigo
6d9b73972b enable secure checksums by default 2012-03-30 11:44:36 +02:00
Raphael Rigo
ddf5be5542 Merge branch 'master' of git://github.com/FreeRDP/FreeRDP 2012-03-30 11:17:17 +02:00
Jay Sorg
6aa7eaf627 mppc: moved to libfreerdp-codec 2012-03-29 20:57:26 -07:00
Raphael Rigo
efda0c2038 fix negociation check 2012-03-29 20:09:21 +02:00
Raphael Rigo
3bbf4133c2 fix negociation when standard rdp security is disabled 2012-03-29 20:06:17 +02:00
Marc-André Moreau
e9aee05684 libfreerdp-core: cleanup rpch_in_send() HTTP encoding 2012-03-28 15:26:33 -04:00
Marc-André Moreau
fb0d09080d libfreerdp-core: start separating HTTP encoding methods (TSG) 2012-03-28 15:07:57 -04:00
Marc-André Moreau
57fbe60d33 libfreerdp-core: add extra debug output for TSG integration 2012-03-28 13:14:18 -04:00
Marc-André Moreau
dcf6c3dc64 libfreerdp-core: continue NTLM integration with TSG 2012-03-28 10:34:23 -04:00
Jay Sorg
3996620064 mppc_enc: add hash tables to speed up mppc encoder 2012-03-27 00:43:53 -07:00
Marc-André Moreau
809cc99b82 libfreerdp-core: start TSG integration with libfreerdp-sspi 2012-03-26 23:20:25 -04:00
Marc-André Moreau
1743a9464f libfreerdp-core: add TSG to transport layer 2012-03-26 12:20:38 -04:00
Marc-André Moreau
7e3c9331ad libfreerdp-utils: add parsing of --tsg option 2012-03-26 03:04:47 -04:00
Marc-André Moreau
f5b91f0b84 libfreerdp-core: start integrating terminal server gateway code 2012-03-26 02:45:01 -04:00
Marc-André Moreau
8e5802bc2b Merge pull request #510 from jiten19/rdp6
add RDP6 decompression
2012-03-23 18:26:58 -07:00
Mads Kiilerich
ab051e5cee core: reset crypto key counters when the keys are initialized
This fixes --sec rdp --salted-checksum in combination with farm redirect.

The counters are implicitly set to 0 in rdp_new, but they also has to be reset
after redirects. Resetting the counters when the keys are reset seems like the
cleanest solution.
2012-03-24 01:57:09 +01:00
Mads Kiilerich
53ab60dcb3 x: tell politely why xfreerdp is closing without making it look like an error 2012-03-22 21:30:39 +01:00
Mads Kiilerich
592a99de3c core: tweak rdp debugging 2012-03-22 14:34:08 +01:00
qubit
4c29dd9e3e add RDP6 decompression 2012-03-21 22:48:40 +05:30