Mike McDonald
02c9d07bcf
Fixes to process new command line options (autodetect, heartbeat, multitransport), join the MCS message channel and process auto-detect PDUs during the connection sequence.
2014-01-29 22:53:32 -05:00
Marc-André Moreau
6bd4362e6d
Merge branch 'auto-detect' of github.com:vworkspace/FreeRDP
...
Conflicts:
include/freerdp/settings.h
libfreerdp/core/gcc.c
libfreerdp/core/gcc.h
libfreerdp/core/mcs.h
libfreerdp/core/rdp.c
2014-01-25 17:08:43 -05:00
Marc-André Moreau
3782c2ad72
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2014-01-25 16:34:34 -05:00
Marc-André Moreau
95634f3e4c
libfreerdp-core: improve encoding and decoding of GCC core data block
2014-01-24 13:03:37 -05:00
Mike McDonald
63f6947872
Added heartbeat to rdpRdp struct and added calls to heartbeat constructor and destructor
2014-01-24 08:38:28 -05:00
Mike McDonald
ac8fe6ad61
Added heartbeat code
2014-01-23 22:23:47 -05:00
Mike McDonald
07083acc97
First cut at network characteristics auto-detect and multitransport protocol
2014-01-23 18:01:31 -05:00
Marc-André Moreau
1c0e874b5b
libfreerdp-core: more GCC and MCS fixes
2014-01-23 17:41:05 -05:00
Marc-André Moreau
38b125f336
libfreerdp-core: fix and update parsing of server-side GCC client data blocks
2014-01-23 16:00:02 -05:00
Mike McDonald
a563362ea2
Changed #define for SOL_TCP to be IPPROTO_TCP instead of 6
2014-01-21 11:06:29 -05:00
Mike McDonald
c0d26443ce
Added #define for SOL_TCP to fix compilation error on iOS
2014-01-21 08:27:21 -05:00
Benoit LeBlanc
b142bd4e4d
Added PubSub notification on mouse events (only triggered in Windows)
2014-01-17 18:17:10 -05:00
Mike McDonald
c4f6dcc24f
Added auto reconnect to FreeRDP core and X11 client
2014-01-16 17:38:56 -05:00
Benoît LeBlanc
4dbe3126aa
Merge branch 'master' of git://github.com/awakecoding/FreeRDP
2014-01-13 14:53:15 -05:00
Marc-André Moreau
47f3b879db
libfreerdp-core: implement parsing of less frequent core rdp messages
2014-01-11 22:54:08 -05:00
Benoît LeBlanc
bb9fa6979d
Fix compilation on windows (variable declaration was not in standard C)
2014-01-08 21:02:40 -05:00
Marc-André Moreau
843953048c
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2014-01-08 11:16:35 -05:00
Hardening
f1d6afca6a
Fix CVE-2014-0791
...
This patch fixes CVE-2014-0791, the remaining length in the stream is checked
before doing some malloc().
2014-01-08 16:57:56 +01:00
Benoît LeBlanc
70cc837eaf
Transport: trigger OnErrorInfo if a read/write error forced the thread to closed.
2013-12-20 18:26:07 -05:00
Benoît LeBlanc
ac6385448b
tsg_write: return error when transport layer is closed
2013-12-20 18:24:29 -05:00
Benoît LeBlanc
3dddce811c
rpc client thread: added periodic check on transport layer state, replacing an infinite wait operation.
2013-12-20 18:23:57 -05:00
Benoît LeBlanc
ad4d5c1ce7
Added timeout on blocking send, receive operations
2013-12-20 18:22:29 -05:00
Benoît LeBlanc
44e7d2f36c
error handling in rpc and transport functions
2013-12-20 17:56:59 -05:00
Marc-André Moreau
05947dd0b2
libfreerdp-core: fix linux build
2013-12-18 22:02:59 -05:00
Marc-André Moreau
5e4f77b05f
Merge branch 'master' of github.com:mrthebunny/FreeRDP
2013-12-18 21:52:41 -05:00
Marc-André Moreau
51ad85e0ee
libfreerdp-core: send Access Denied TLS alert when server-side NLA fails
2013-12-18 19:44:18 -05:00
Benoît LeBlanc
9245d364cc
Fixed handling gateway authentication error
...
Handle NULL pdu
2013-12-18 12:59:53 -05:00
Benoît LeBlanc
5de7a4f082
Code cleanup
2013-12-18 12:44:40 -05:00
Hardening
33f0eb0915
More security fixes for capabilities
...
This patch fixes a security issue which would allow an attackant to set bytes to 1 at choosen places.
It also fixes a warning when DEBUG_CAPABILITIES is set.
2013-12-18 10:54:02 +01:00
Benoît LeBlanc
3adff0ec60
- added CANCELEDBYUSER error code.
...
- AUTHENTICATIONERROR error code correclty set on gateway authentication (http error 401)
- Better error handling on connection errors and user cancelation
2013-12-13 10:11:36 -05:00
Hardening
8767931431
Harden capability parsing
...
Don't check only the number of capabilities but also the remaining size in the stream
2013-12-13 15:08:43 +01:00
Benoît LeBlanc
469303a545
Fix: PromptCredentialsOnce / GatewayUseCredentials were always set to true regardless of the value present in the rdp file.
2013-12-12 11:32:36 -05:00
Benoît LeBlanc
72f58b220d
Remove deprecated ParamChanged event
2013-12-10 17:37:08 -05:00
Benoît LeBlanc
cb46bbade0
Merge branch 'master' of git://github.com/awakecoding/FreeRDP
2013-12-09 09:37:38 -05:00
Marc-André Moreau
6dfdc286ec
libfreerdp-core: disconnect client when accept fails
2013-12-08 14:43:11 -05:00
Hardening
98245b8177
Fixed typo in the initialization
2013-12-08 11:22:36 +01:00
Benoît LeBlanc
8c1f836ac8
- SSL verification callback: send correct hostname and port
...
- Gateway Authentication callback.
- Handling “use same credentials”
2013-12-06 22:15:45 -05:00
Hardening
d7b7fcc688
Parse the Surface frame marker flag
...
This patch adds the parsing for the surface framemarker flag, so that
we can test it later.
2013-12-06 23:25:31 +01:00
Marc-André Moreau
85b7ad90fe
libfreerdp-core: fix possible crash on unauthorized TS Gateway error
2013-12-05 17:31:33 -05:00
Hardening
1d6a07d2d5
More security in gcc.c
...
As strange as it looks, i have found more errors that could lead to
security issues in gcc.c.
2013-11-28 23:17:21 +01:00
Marc-André Moreau
f429b909a9
libfreerdp-core: fix transport_free in cases where transport thread was not started
2013-11-26 11:30:44 -05:00
Marc-André Moreau
128fb72ec6
mfreerdp: fix possible crash on gdi termination
2013-11-25 00:25:16 -05:00
Marc-André Moreau
83ad1730b8
Merge branch 'master' of github.com:FreeRDP/FreeRDP
...
Conflicts:
libfreerdp/core/input.c
libfreerdp/core/update.c
2013-11-23 16:39:29 -05:00
Benoît LeBlanc
d734bde420
Fix leak: free gdi object (if it wasn’t freed before)
2013-11-22 13:37:28 -05:00
Bernhard Miklautz
261651b43b
core: don't use c99 style initialization
...
fixes #1602
2013-11-18 20:29:00 +01:00
Marc-André Moreau
b0369cf284
libfreerdp-core: add external certificate management, pass X509 PEM certificate through client callback
2013-11-18 13:54:33 -05:00
Marc-André Moreau
5fc0f72c90
Merge branch 'master' of github.com:mrthebunny/FreeRDP
2013-11-15 09:36:39 -05:00
Benoît LeBlanc
c4de5a4e4b
Fixed compilation on windows (code was not standard C)
2013-11-15 08:21:36 -05:00
Marc-André Moreau
498227eb1b
libfreerdp-core: map more Disconnect Provider Ultimatum PDU reason codes to error info pdu
2013-11-14 23:41:46 -05:00
Marc-André Moreau
fa12414a4b
libfreerdp-core: fix parsing of MCS Disconnect Provider Ultimatum, workaround for 2008 R2 lack of error info pdu on user logoff
2013-11-14 23:05:29 -05:00