Commit Graph

461 Commits

Author SHA1 Message Date
Marc-André Moreau
c6e6956a43 Merge branch 'master' of https://github.com/dpoe/FreeRDP 2013-01-18 19:28:55 -05:00
Marc-André Moreau
9ae698c1e5 Merge github.com:FreeRDP/FreeRDP 2013-01-18 19:28:03 -05:00
Marc-André Moreau
e00e14971e libfreerdp-core: disable sending frame ack (unknown pduType2 error) 2013-01-18 19:24:56 -05:00
Marc-André Moreau
7ed7e1c9aa freerdp: merging with master 2013-01-18 19:01:25 -05:00
Daryl Poe
b64408975d freerdp primitives library 2013-01-18 15:32:58 -07:00
Marc-André Moreau
930c9907ce libfreerdp-core: code style cleanup 2013-01-18 16:50:25 -05:00
Marc-André Moreau
3f3d30cd4d Merge pull request #911 from hardening/hardening10
Verbose message when processing fails
2013-01-18 11:30:25 -08:00
Marc-André Moreau
af5ea0e7fc Merge pull request #910 from hardening/hardening9
Fixed padding management when reading certificate
2013-01-18 11:29:41 -08:00
Marc-André Moreau
04c6f689cc Merge branch 'master' of github.com:awakecoding/FreeRDP 2013-01-18 13:50:59 -05:00
Marc-André Moreau
5b4aaf276f libfreerdp-core: added reference counter for receive buffers 2013-01-18 13:50:35 -05:00
rdp.effort
46e7d94bf8 Added error messages when orders processing fails
Added a check for exponent_length
Added error messages for certificate parsing
2013-01-18 14:36:49 +01:00
Marc-André Moreau
bc81ebfd63 Merge pull request #906 from hardening/hardening8
Correctly treat error case and memory management when reading certificate
2013-01-17 07:12:12 -08:00
rdp.effort
e8acf29a48 Fixed padding management 2013-01-17 15:09:46 +01:00
Vic Lee
6b91ed5830 Frame acknowledgement should be sent by client UI. 2013-01-17 12:58:01 +08:00
Vic Lee
39d7cc5b43 libfreerdp-core/peer: remove a printf message. 2013-01-17 10:51:08 +08:00
Marc-André Moreau
df01ba88d4 libfreerdp-core: change fastpath return codes 2013-01-16 18:01:10 -05:00
rdp.effort
9c5352cd10 Correctly treat error case and memory management 2013-01-16 18:10:54 +01:00
Martin Fleisz
6fde5c1a49 libfreerdp-core: fix server crash when accepting NLA connections 2013-01-16 03:58:37 -08:00
david
43cb13585d always initialize lpMultiByteStr parameter when calling ConvertFromUnicode 2013-01-16 01:14:03 +01:00
rdp.effort
71c37bdfc3 call time instead of gmtime (makes valgrind happy) 2013-01-16 00:06:56 +01:00
rdp.effort
0a6c6ec4f3 don't free xkb_layout or xkb_variant when it has not been set 2013-01-16 00:04:04 +01:00
Corey C
3737eb658b libfreerdp-core: removed left over printf 2013-01-15 13:31:11 -05:00
rdp.effort
0abf945a18 check or propagate return values when writing 2013-01-14 23:40:34 +01:00
Corey C
74c6df510a libfreerdp-core: fixed server side pdu receiving 2013-01-14 16:10:05 -05:00
Marc-André Moreau
0146b21eb5 libfreerdp-core: fix surface commands 2013-01-14 15:19:51 -05:00
Marc-André Moreau
3d77d5a497 freerdp: merging with master 2013-01-14 13:50:16 -05:00
Marc-André Moreau
9f4b41d377 Merge pull request #895 from bmiklautz/renamedebug
utils/debug: renamed DEBUG to DEBUG_MSG
2013-01-14 06:28:51 -08:00
Marc-André Moreau
8b3b635d99 Merge pull request #896 from hardening/hardening5
Don't break connection when receiving an invalid synchronize packet
2013-01-14 05:08:22 -08:00
Marc-André Moreau
a324873c40 Merge pull request #894 from ArvidNorr/waitfix
Wrong max socket value fix
2013-01-14 05:07:52 -08:00
rdp.effort
2c9412bb1c Don't break connection when receiving an invalid synchronize packet 2013-01-14 12:33:56 +01:00
Bernhard Miklautz
49c3641b6e utils/debug: renamed DEBUG to DEBUG_MSG 2013-01-14 11:47:24 +01:00
ArvidNorr
8bdeb78f06 Wrong max socket value fix 2013-01-14 02:12:30 -08:00
ArvidNorr
cea442f24e login and synchronize fix 2013-01-14 01:13:29 -08:00
rdp.effort
81c0e99ceb Misc fixes and result checks 2013-01-13 23:37:50 +01:00
rdp.effort
4d259b5c8e fixed a typo with stream_skip
according to GDI-2.2.2.2.1.2.4 numberColors is an UINT16
fixed a rewrite error in multi_patblt
2013-01-12 16:12:50 +01:00
rdp.effort
91a0b6bb98 fixed a typo in capabilities.c 2013-01-12 14:55:38 +01:00
rdp.effort
4d90284657 Renamed CODEC_ID_NONE to RDP_CODEC_ID_NONE as it is already defined in
avcodecs.h
Fixed a warning in schannel_openssl.c
Added checks for: input, mcs, tpdu, certificate, license
2013-01-12 14:49:01 +01:00
rdp.effort
869a1b9980 check return values when negotiating RDP connection 2013-01-12 14:37:21 +01:00
rdp.effort
df08643184 Fixed a bogus last time change 2013-01-12 14:31:53 +01:00
rdp.effort
98f3cf249b check stream size when processing update packets 2013-01-12 00:46:04 +01:00
rdp.effort
a30075b12d Added checks for RDP layer processing 2013-01-12 00:43:16 +01:00
rdp.effort
6fd03aba38 mechanize processing of graphical orders to improve security 2013-01-12 00:17:45 +01:00
rdp.effort
dc9777bea0 checks stream size when reading rail strings 2013-01-11 01:29:34 +01:00
rdp.effort
2a6c62520f checks BER decoding result and stream size when processing NLA packets 2013-01-11 01:27:19 +01:00
rdp.effort
6bc7da797b checks stream size when processing channel data 2013-01-11 01:25:26 +01:00
rdp.effort
0af0d3adfa checks stream sizes when reading GCC packets 2013-01-11 01:23:31 +01:00
rdp.effort
2f97638e98 checks stream sizes when reading redirection packets 2013-01-11 01:21:24 +01:00
rdp.effort
f320fc3530 check stream sizes when reading ClientInfoPDU 2013-01-11 01:18:11 +01:00
rdp.effort
dc967dcc89 adding const qualifiers for security.[c|h] helps understand inputs and
outputs
2013-01-11 01:15:52 +01:00
rdp.effort
376731315b Checks stream size when reading in BER format 2013-01-11 01:11:03 +01:00
rdp.effort
e53e8e524d Initialize lpWideCharStr parameter when using ConvertToUnicode
This patch ensure that lpWideCharStr is initialized by callers of
ConvertToUnicode
2013-01-10 21:30:32 +01:00
Marc-André Moreau
0fbf846671 libwinpr-sspi: NTLM extended protection cleanup 2013-01-10 11:19:57 -05:00
Marc-André Moreau
f0c94562cc libfreerdp-core: TS Gateway cleanup and NTLM SingleHostData implementation 2013-01-09 12:05:34 -05:00
Marc-André Moreau
1d893ed268 libwinpr-sspi: add support for NTLMv2 Channel Binding Token (CBT) 2013-01-09 00:20:08 -05:00
Marc-André Moreau
45d001ef8b libfreerdp-core: change return values for PDU processing 2013-01-08 17:18:10 -05:00
Marc-André Moreau
811ff44720 libfreerdp-core: change ReceiveCallback return values 2013-01-06 17:24:08 -05:00
Marc-André Moreau
dcf6c17e03 libfreerdp-core: transport cleanup 2012-12-21 15:49:02 -05:00
Marc-André Moreau
87451b38c2 libfreerdp-core: pool receive buffers 2012-12-21 15:36:10 -05:00
Marc-André Moreau
06f76ee0fe libfreerdp-core: fix receiving with expected lengths 2012-12-21 14:13:40 -05:00
Marc-André Moreau
f2f1c641a3 libwinpr-synch: merge with master 2012-12-21 12:22:37 -05:00
Marc-André Moreau
81c2782be3 libwinpr-sspi: start implementing Channel Bindings 2012-12-21 12:17:07 -05:00
Vic Lee
ed5ad30d4f libfreerdp-core/transport: select sockfd instead of sleep when blocking. 2012-12-21 16:24:26 +08:00
Marc-André Moreau
8c746976bb libfreerdp-core: return proper event handles on Windows 2012-12-21 11:27:44 +08:00
Marc-André Moreau
c8173c405d Merge pull request #866 from bmiklautz/keychanged_segfault
transport: fix segfault if host key changed
2012-12-20 08:02:39 -08:00
Marc-André Moreau
c6db4306af Merge pull request #867 from mfleisz/master
cmake: fixed errors with Android build
2012-12-20 08:02:24 -08:00
Vic Lee
2bfd06d7bc libfreerdp-core/listener: loopback address should consider local. 2012-12-20 21:57:55 +08:00
Martin Fleisz
30cb77835b cmake: fixed errors with Android build 2012-12-20 04:09:33 -08:00
Bernhard Miklautz
8fd6f63d14 transport: fix segfault if host key changed 2012-12-20 11:45:21 +01:00
Marc-André Moreau
05e6157d29 libfreerdp-core: return proper event handles on Windows 2012-12-19 12:16:39 -05:00
Marc-André Moreau
8267f2cb88 libfreerdp-core: fix usage of proper gateway credentials 2012-12-18 10:51:43 -05:00
LawrenceK
a6178d9297 ConvertToUnicode returns the number of wide characters including the NULL terminator. 2012-12-18 14:05:59 +00:00
Marc-André Moreau
d19e2042c3 libfreerdp-utils: remove deprecrated unicode utils in favor of WinPR 2012-12-17 10:20:25 -05:00
Marc-André Moreau
af9be28000 libfreerdp-utils: purge deprecated freerdp_UnicodeToAsciiAlloc util in favor of WinPR ConvertFromUnicode 2012-12-16 23:34:07 -05:00
Marc-André Moreau
a02090c09b libfreerdp-utils: fix unicode conversion 2012-12-16 23:00:40 -05:00
Marc-André Moreau
36a1683a5d libwinpr-crt: initial WideCharToMultiByte and MultiByteToWideChar replacement implementation 2012-12-16 16:21:48 -05:00
Marc-André Moreau
3e1ac9a55e libfreerdp-utils: fix build 2012-12-14 13:15:27 -05:00
Marc-André Moreau
6cdb09740c wfreerdp: fix build 2012-12-14 13:11:07 -05:00
Marc-André Moreau
92bf3e4ae0 libfreerdp-utils: remove sleep utils in favor of WinPR 2012-12-14 00:58:48 -05:00
Marc-André Moreau
2045a5aec8 libfreerdp-utils: remove print utils 2012-12-14 00:30:20 -05:00
Marc-André Moreau
709e66a596 libfreerdp: header cleanup 2012-12-14 00:25:48 -05:00
Marc-André Moreau
808fc210e3 libfreerdp-utils: remove hexdump utils in favor of WinPR utils 2012-12-13 23:54:54 -05:00
Marc-André Moreau
cfa2e169c1 libfreerdp-core: added missing codec GUIDs 2012-12-13 23:33:24 -05:00
Marc-André Moreau
b53bdba143 libfreerdp-core: TSG cleanup 2012-12-13 20:23:37 -05:00
Marc-André Moreau
72110807b1 libfreerdp-core: fix NLA 2012-12-13 16:29:16 -05:00
Marc-André Moreau
3e7824f393 libfreerdp-core: adding more monitor options 2012-12-13 14:38:02 -05:00
Marc-André Moreau
7d8ef00d6a libfreerdp-core: implement proper TS Gateway connection shutdown 2012-12-13 12:40:46 -05:00
Marc-André Moreau
c0d12b1b9e libfreerdp-core: implement RTS flow control ack PDU 2012-12-13 11:01:13 -05:00
Marc-André Moreau
c317c60275 libfreerdp-core: reply to TSG ping PDUs 2012-12-13 10:49:52 -05:00
Marc-André Moreau
26492f1cc7 libfreerdp-core: fix settings->HomePath leak (issue #810) 2012-12-13 07:48:16 -05:00
Marc-André Moreau
f43298d69b libfreerdp-core: set target name in RPC bind 2012-12-13 07:37:41 -05:00
Marc-André Moreau
a12925e0e8 libfreerdp-core: merging with master 2012-12-12 23:52:23 -05:00
Marc-André Moreau
c428d1c4de libfreerdp-core: fix build on linux 2012-12-12 23:36:15 -05:00
Marc-André Moreau
6450ecd67f libfreerdp-core: fix windows build 2012-12-12 23:18:20 -05:00
Marc-André Moreau
52353e2427 libfreerdp-core: TSG printf cleanup 2012-12-12 22:34:41 -05:00
Marc-André Moreau
7ff2be09b2 libfreerdp-core: more TSG memory cleanup 2012-12-12 22:03:40 -05:00
Marc-André Moreau
102abcbef2 libfreerdp-core: improve TSG memory cleanup 2012-12-12 20:02:56 -05:00
Marc-André Moreau
387a152299 libfreerdp-core: TSG reassembly refactoring 2012-12-12 15:55:42 -05:00
Marc-André Moreau
d3e0537d0d libfreerdp-core: more TSG memory cleanup 2012-12-12 00:49:15 -05:00
Marc-André Moreau
3aeb9eb197 libfreerdp-core: TSG partial cleanup 2012-12-11 23:34:51 -05:00
Marc-André Moreau
dc978a967c libfreerdp-core: improve receiving of TSG data 2012-12-11 19:17:57 -05:00
Marc-André Moreau
8aa1143cc6 libfreerdp-core: work around PDU corruption issue with TSG, still experience locking 2012-12-11 17:24:52 -05:00
Marc-André Moreau
db91555564 libfreerdp-core: improved TSG asynchronicity 2012-12-10 18:56:53 -05:00
Marc-André Moreau
0f3d80d63f libfreerdp-core: start implementation of asynchronous RPC fragment receive 2012-12-10 15:43:07 -05:00
Marc-André Moreau
6e07570dda libwinpr-utils: simplify stream utils 2012-12-10 14:23:27 -05:00
Jay Sorg
a5ae5d7c27 transport: handle blocking read, put debug print back 2012-12-08 15:27:08 -08:00
Marc-André Moreau
7f1a5ab7cd libfreerdp-core: fix TSG synchronous receive 2012-12-07 22:43:53 -05:00
Marc-André Moreau
db01d942a5 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2012-12-07 22:27:22 -05:00
Marc-André Moreau
282c950522 libfreerdp-core: fix pipe call id check 2012-12-07 22:27:05 -05:00
Jay Sorg
47fa5f28c4 when reading PDU, use header to know size 2012-12-07 19:18:50 -08:00
Marc-André Moreau
731e606c15 libfreerdp-core: start handling client call state 2012-12-07 21:09:55 -05:00
Marc-André Moreau
2f6192532f libfreerdp-core: map DCE error codes 2012-12-07 18:33:52 -05:00
Marc-André Moreau
2215e0a57a libfreerdp-core: improve comments for TS Gateway 2012-12-07 17:41:12 -05:00
Marc-André Moreau
98c4cb56a1 libfreerdp-core: set TSG non-blocking mode 2012-12-06 16:49:50 -05:00
Marc-André Moreau
875c556d13 libfreerdp-core: change interlocked singly-linked list to synchronized Queue 2012-12-05 16:04:01 -05:00
Marc-André Moreau
a3080bcd3a libfreerdp-client: add compatibility for --plugin command 2012-12-05 14:00:49 -05:00
Marc-André Moreau
0fcd7ea243 libfreerdp-core: fix build with WITH_DEBUG_TSG 2012-11-30 12:35:49 -05:00
Marc-André Moreau
7285700705 libfreerdp-core: revert to HTTP/ SPN settings for TS Gateway 2012-11-29 10:53:54 -05:00
Marc-André Moreau
4fe3501bc4 libfreerdp-core: refactoring of sequencing of TSG connection 2012-11-29 01:33:19 -05:00
Marc-André Moreau
dde2e60a56 libfreerdp-core: refactor RPC receiving as a synchronized queue 2012-11-28 22:03:18 -05:00
Marc-André Moreau
3634a1bbf1 libfreerdp-core: encapsulate received RPC PDU 2012-11-28 21:25:01 -05:00
Marc-André Moreau
5faebcd77a libfreerdp-core: start asynchronous receiving 2012-11-28 20:30:03 -05:00
Marc-André Moreau
3936a19914 libfreerdp-core: add asynchronous send queue 2012-11-28 13:38:01 -05:00
Marc-André Moreau
d0792ea4d1 libwinpr-synch: implement pipe-based semaphore 2012-11-28 12:47:04 -05:00
Marc-André Moreau
335add832d libfreerdp-core: split code from rpc.c to rpc_bind.c and rpc_fault.c 2012-11-28 00:32:12 -05:00
Marc-André Moreau
536d7be180 libfreerdp-core: move RTS pdu signature checking to separate file 2012-11-27 22:27:04 -05:00
Marc-André Moreau
4da0c0daa9 libfreerdp-core: refactor NTLM over HTTP authentication 2012-11-27 22:03:05 -05:00
Marc-André Moreau
83a9af128f libfreerdp-core: move TSG code in subdirectory 2012-11-27 18:52:08 -05:00
Marc-André Moreau
12f0afd1e0 libfreerdp-core: fix TSG socket blocking mode 2012-11-27 18:34:00 -05:00
Marc-André Moreau
2db4c27be7 libfreerdp-core: fix SPN for TS Gateway 2012-11-27 16:37:56 -05:00
Marc-André Moreau
cf5d55d3cf libfreerdp-core: attempt TsProxyCreateTunnelReadResponse fix 2012-11-27 04:05:41 -05:00
Marc-André Moreau
164f7bf7c0 libfreerdp-core: refactor TsProxyCreateTunnelReadResponse for fragmented responses 2012-11-27 03:04:25 -05:00
Marc-André Moreau
6cad536d34 libfreerdp-core: implement RPC response stub data reassembly 2012-11-27 02:49:44 -05:00
Marc-André Moreau
fbacea6bad winpr/tools/makecert: stubbed basic makecert wrapper 2012-11-26 22:42:40 -05:00
Marc-André Moreau
eea3414579 libfreerdp-utils: purge deprecated wait_obj utils 2012-11-26 20:15:48 -05:00
Marc-André Moreau
75a5b755fe libfreerdp-utils: remove wait_obj dependency in thread util 2012-11-26 19:31:20 -05:00
Marc-André Moreau
136282dae3 libfreerdp-utils: replace wait_obj struct with HANDLE 2012-11-26 19:21:19 -05:00
Marc-André Moreau
57d4a07af9 libfreerdp-utils: replace internal wait_obj implementation 2012-11-26 18:02:41 -05:00
Marc-André Moreau
6424599639 libfreerdp-utils: remove deprecated args utils 2012-11-26 16:52:41 -05:00
Marc-André Moreau
e0faf855d2 libfreerdp-client: extended command-line options 2012-11-26 16:49:12 -05:00
Marc-André Moreau
a716dfa7f6 server/sample: fix build 2012-11-26 12:38:28 -05:00
Marc-André Moreau
155f11cfc5 libfreerdp-utils: fix WITH_JPEG build 2012-11-26 12:25:22 -05:00
Marc-André Moreau
5fb6312a1f Merge github.com:FreeRDP/FreeRDP 2012-11-25 15:29:40 -05:00
Marc-André Moreau
84f358d3ce Merge pull request #812 from bmiklautz/versioning
build: fixed library versioning
2012-11-25 12:29:29 -08:00
Marc-André Moreau
6b2db2d103 macosx: update client 2012-11-22 15:32:21 -05:00
Marc-André Moreau
f6748dba3f wfreerdp: update client 2012-11-22 09:06:45 -05:00
Marc-André Moreau
01158f9a34 libfreerdp-utils: purge deprecrated load_plugin utils from source tree 2012-11-21 21:28:48 -05:00
Marc-André Moreau
8a32de3801 libfreerdp: purged source tree from deprecated memory utils 2012-11-21 21:22:06 -05:00
Marc-André Moreau
b3d8f79b5c libfreerdp-utils: replace ARRAY_SIZE custom macro with ARRAYSIZE() windows macro 2012-11-21 20:50:28 -05:00
Marc-André Moreau
2a16183f5d libfreerdp-utils: remove deprecated calls to xnew() macro 2012-11-21 20:21:08 -05:00
Marc-André Moreau
b2c3ca8cc4 libfreerdp-utils: replace all calls to deprecated function xzalloc 2012-11-21 19:22:41 -05:00