Marc-André Moreau
1afeb448b4
libfreerdp-core: expose stubbed WtsApi function table from the core
2014-02-16 20:12:45 -05:00
Marc-André Moreau
de3156512c
libfreerdp-core: start including wtsapi.h
2014-02-16 18:02:50 -05:00
Marc-André Moreau
82b922a70d
channels: rename custom CHANNEL_ENTRY_POINTS_EX to CHANNEL_ENTRY_POINTS_FREERDP to fix conflict
2014-02-16 17:38:59 -05:00
Marc-André Moreau
b833073f57
libfreerdp-core: make client virtual channel API prototypes converge towards original API
2014-02-16 17:27:36 -05:00
Marc-André Moreau
bd1ba6e321
libfreerdp-core: get rid of useless wts_data_item in server-side virtual channels
2014-02-15 19:21:41 -05:00
Marc-André Moreau
6a04a7b43e
libfreerdp-core: make use of message queues for server-side virtual channels
2014-02-15 18:41:40 -05:00
Marc-André Moreau
8a81208059
libfreerdp-core: move server-side virtual channels back into core
2014-02-15 17:42:59 -05:00
Marc-André Moreau
db7a9d2e77
libfreerdp-core: start moving internal MCS variables out of rdpSettings*
2014-02-15 16:32:38 -05:00
Marc-André Moreau
4bbd78a80b
libfreerdp-core: remove unnecessary usage of freerdp_channels_data
2014-02-15 15:26:34 -05:00
Marc-André Moreau
7d54669a6e
libfreerdp-core: reduce amount of global table locking in client-side virtual channels
2014-02-15 14:57:10 -05:00
Marc-André Moreau
87be2e0f80
freerdp: add option to disable credentials delegation
2014-02-14 00:43:31 -05:00
Marc-André Moreau
22fbf48109
libwinpr-utils: add synchronized version of HashTable
2014-02-13 22:25:30 -05:00
Marc-André Moreau
c5b14a5e0a
libfreerdp-core: make use of rdpMcs* instead of rdpSettings* in most GCC functions
2014-02-13 17:50:38 -05:00
Marc-André Moreau
e5990fa60c
libfreerdp-core: MCS cleanup, better handling of domain parameters
2014-02-13 17:06:33 -05:00
Marc-André Moreau
8a44b2baa6
libfreerdp-core: add spn-class option
2014-02-12 00:43:02 -05:00
Marc-André Moreau
b665d892a0
libfreerdp-core: move client channels code to separate file
2014-02-11 15:42:28 -05:00
Marc-André Moreau
00ace94b94
libfreerdp-channels: start consolidating channels client code with core
2014-02-10 23:13:29 -05:00
Marc-André Moreau
e968bb584e
xfreerdp: fix build warnings
2014-02-10 22:23:59 -05:00
Marc-André Moreau
cdcd290c44
wfreerdp: fix most build warnings
2014-02-10 22:12:13 -05:00
Benoît LeBlanc
53f2b8511d
Merge branch 'master' of git://github.com/awakecoding/FreeRDP
2014-02-06 12:13:39 -05:00
Marc-André Moreau
e8a9b7ff14
libfreerdp-core: fix ignored port settings for TS Gateway and vmconnect
2014-02-05 11:54:42 -05:00
Benoît LeBlanc
9d929469d2
Merge branch 'master' of git://github.com/awakecoding/FreeRDP
...
# By Marc-André Moreau (27) and others
# Via Marc-André Moreau
* 'master' of git://github.com/awakecoding/FreeRDP: (48 commits)
afreerdp: fix build on Android
libwinpr-wtsapi: include wtsapi32.h on Windows
wfreerdp: fix target exporting
wfreerdp: fix building against OpenSSL with MONOLITHIC_BUILD and shared libraries
wfreerdp: fix test build issues
libwinpr-crypto: implement CryptProtectMemory/CryptUnprotectMemory
libwinpr-memory: add missing definitions
libwinpr-memory: start stubbing
Increased size of stream on GCC conference create request from 512 to 1024. For large numbers of static virtual channels, the stream was being overflowed and was causing crashes.
Fixes to process new command line options (autodetect, heartbeat, multitransport), join the MCS message channel and process auto-detect PDUs during the connection sequence.
wfreerdp: fix build against static openssl library
winpr-hash: fix building against openssl in static mode
libfreerdp-gdi: fix invalidation of region with line drawing
mfreerdp: fix hungarian keyboard '0' and 'i' key inversion
Fixes build issue on Windows
libwinpr-synch: add active/inactive linked list for timer queue
libwinpr-synch: improve timer queue implementation
libwinpr-synch: make use of head's expiration time in timer queue
libwinpr-synch: make use of timespec for timer queue
libwinpr-synch: improve timer queue implementation
...
Conflicts:
client/common/CMakeLists.txt
2014-02-04 11:37:40 -05:00
vworkspace
aca384992f
Increased size of stream on GCC conference create request from 512 to 1024. For large numbers of static virtual channels, the stream was being overflowed and was causing crashes.
2014-01-31 13:52:37 -05:00
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
Marc-André Moreau
c4492411e4
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2013-11-14 19:41:59 -05:00
Armin Novak
31ffb498f8
Fixed argument checks in <transport_disconnect>
2013-11-14 10:09:21 +01:00
Marc-André Moreau
b0b8b6aa9e
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2013-11-12 12:59:41 -05:00
Armin Novak
7cb0a70fd6
Added custom message resource free to update message queue.
2013-11-12 15:05:15 +01:00
Armin Novak
0ac908ba20
Added assertions to detect invalid call sequences of <transport_free>
...
and <transport_disconnect>.
2013-11-12 15:04:26 +01:00
Armin Novak
7ae5c8eeef
Added functions to free input and update queue messages.
2013-11-12 15:03:48 +01:00
Armin Novak
b6fff6a992
Split message handling and resource cleanup for input and update messages.
2013-11-12 15:03:07 +01:00
Armin Novak
f46a560e76
Added message queue custom free handler for input queue.
2013-11-12 15:02:25 +01:00
Armin Novak
800f946053
Added assertions to spot invalid call sequence for <freerdp_check_fds>
2013-11-12 15:01:25 +01:00
Marc-André Moreau
70aed3fa85
libfreerdp-core: minor style cleanup
2013-11-08 13:57:41 -05:00
Marc-André Moreau
5536033a8a
libfreerdp-core: transport refactoring
2013-11-07 17:37:58 -05:00
Marc-André Moreau
61f95fbe16
libfreerdp-core: transport code style cleanup
2013-11-07 15:14:59 -05:00
Marc-André Moreau
a04fd2c65f
libfreerdp-core: added missing error info values
2013-11-06 16:25:59 -05:00
Marc-André Moreau
0e1fd4a777
freerdp: merge with master
2013-11-06 13:53:10 -05:00
Bernhard Miklautz
a0161a12ac
moved version information to freerdp/version.h
...
fixed #1465
2013-11-06 17:29:33 +01:00
Marc-André Moreau
b8a1f7d6c0
freerdp: implement restricted admin mode pass-the-hash option
2013-11-06 10:02:58 -05:00
Marc-André Moreau
a3d0e271b5
freerdp: add restricted admin option
2013-11-06 01:51:55 -05:00
Marc-André Moreau
9921e519a9
mfreerdp: fix termination of MacFreeRDP
2013-11-05 11:49:42 -05:00
Marc-André Moreau
3d339b04d9
libfreerdp-core: modify parsing functions to return int instead of BOOL to propagate session redirection return code
2013-11-04 15:52:29 -05:00
Marc-André Moreau
1f31fd9ae1
libfreerdp-core: fix deadlock in transport thread
2013-11-04 14:16:59 -05:00
Marc-André Moreau
813a26a212
libfreerdp-core: change transport thread
2013-11-04 12:40:29 -05:00
Marc-André Moreau
5406ebd5d8
channels/drive: refactoring
2013-11-03 19:10:33 -05:00
Marc-André Moreau
13b6678977
libfreerdp-core: start untangling session redirection
2013-11-03 16:25:56 -05:00
Marc-André Moreau
3e3c0f1942
libfreerdp-core: fix potential asynchronous queuing memory problems for primary drawing orders
2013-11-03 13:29:48 -05:00
Marc-André Moreau
f34ab12778
libfreerdp-core: fix leak in freerdp_settings_clone
2013-11-03 12:34:55 -05:00
Marc-André Moreau
3caff4e460
libfreerdp-core: prevent multi-session crashes on Mac OS X
2013-11-01 20:23:56 -04:00
Marc-André Moreau
76414588b1
libfreerdp-core: fix transport failure case with session redirection
2013-11-01 14:13:09 -04:00
Marc-André Moreau
16f287015f
libfreerdp-core: fix redirection parsing bug
2013-11-01 11:45:28 -04:00
Marc-André Moreau
1bada90ab7
libfreerdp-core: fix redirection parsing bug, add logging
2013-11-01 11:33:59 -04:00
Marc-André Moreau
aea4960924
libfreerdp-core: get rid of rdpString in redirection module
2013-11-01 10:59:30 -04:00
Marc-André Moreau
9829504fc1
libfreerdp-core: start async transport thread after successful transport-level connection
2013-11-01 10:24:19 -04:00
Marc-André Moreau
3cdc490bf4
libfreerdp-cache: refactor glyph cache and add logging
2013-11-01 10:01:16 -04:00
Marc-André Moreau
1fc2d780f7
libfreerdp-core: fix memory leaks reported by valgrind
2013-10-31 23:35:24 -04:00
Marc-André Moreau
3bc47a2bf8
libfreerdp-core: fix leaks and potential use after free
2013-10-31 21:12:06 -04:00
Marc-André Moreau
938d423ec9
freerdp: fix build on Windows
2013-10-30 17:56:44 -04:00
Marc-André Moreau
55565e056c
freerdp: export targets
2013-10-28 23:06:39 -04:00
Marc-André Moreau
8c4b1361d1
libfreerdp-core: merge with TSG TLS update
2013-10-28 20:20:18 -04:00
Dan Bungert
66ecabb647
Final cleanups - merge ready.
2013-10-28 16:59:02 -06:00
Dan Bungert
f02daaa2d5
More cleanups - remove LWD and all references.
2013-10-28 15:46:28 -06:00
Dan Bungert
1dd2e649e3
Cleanup pass 1
2013-10-28 15:08:50 -06:00
Dan Bungert
a38c3ac794
Debug message fix for DEBUG_NLA
2013-10-28 14:54:00 -06:00
Dan Bungert
c025042d07
NLA over TLS support
...
Improve credssp transport layer handling, so that it works
with the correct TLS object.
2013-10-28 14:39:10 -06:00
Dan Bungert
426dc2cf84
fix blocking issues. Full TLS over TLS.
2013-10-25 17:17:36 -06:00
Dan Bungert
cefcac3414
more debug
2013-10-25 15:29:46 -06:00
Dan Bungert
f13c8a0be7
Logging
2013-10-25 10:43:21 -06:00
Dan Bungert
db890d9bf2
TLS over TLS baseline functionality.
...
TLS over TLS works and we get screen drawing and server interaction.
Network traffic flows in spurts with frequent apparent hangups.
2013-10-24 12:58:06 -06:00
Dan Bungert
eb25e45149
TLS over TLS maybe working.
2013-10-24 12:58:06 -06:00
Marc-André Moreau
b5dd670e73
libfreerdp-core: extend OpenSSL TSG BIO
2013-10-24 12:56:43 -06:00
Marc-André Moreau
bd6760bd13
libfreerdp-core: start implement TSG OpenSSL BIO
2013-10-24 12:56:43 -06:00
Marc-André Moreau
e9787c7a9d
libfreerdp-core: minor TS Gateway fixes
2013-10-24 12:56:43 -06:00
Marc-André Moreau
d30f66b1b7
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2013-10-23 14:18:40 -04:00
Marc-André Moreau
3cd5652c7d
libfreerdp-core: fix asynchronous queueing of RemoteApp messages
2013-10-22 16:28:23 -04:00
Daryl Poe
076b8a84c2
commandline session reconnect
2013-10-22 09:14:29 -06:00
Marc-André Moreau
3951a6e1c3
channels/rdpgfx: implement basic negotiation
2013-10-21 23:33:25 -04:00
Marc-André Moreau
5cf0d0218b
Merge branch 'master' of github.com:mrthebunny/FreeRDP
2013-10-18 22:43:18 -04:00
Marc-André Moreau
b1494322a9
libfreerdp-core: fix deep cloning of rdpSettings*
2013-10-18 22:42:50 -04:00
Benoît LeBlanc
801c1fe1d6
- Fixed crash in tls_read (unchecked null pointer)
...
- also check for empty string on username and password to launch authentication callback
2013-10-18 16:23:29 -04:00
Marc-André Moreau
8609a19cac
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2013-10-17 17:34:16 -04:00
Dan Bungert
04c2e4aef6
Gateway: Logoff crash fix
...
This addresses a race condition where the freerdp client
may crash on logoff.
2013-10-17 14:53:39 -06:00
Dan Bungert
486250b182
Gateway: Parsing fix for Create Tunnel Response
...
This fix addresses a logon issue that may occur when a logon
message is present.
2013-10-17 14:51:04 -06:00
Marc-André Moreau
970d8d2260
libfreerdp-core: add freerdp_settings_clone
2013-10-16 22:55:51 -04:00
Marc-André Moreau
3e41d5da87
libfreerdp-rail: minor cleanup
2013-10-15 22:42:07 -04:00
Marc-André Moreau
69345954b8
libfreerdp-core: fix decoupling of rdpSettings* from rdpContext*
2013-10-12 22:58:09 -04:00
Marc-André Moreau
b70ecbbf62
libfreerdp-core: decouple initialization of rdpSettings from freerdp* instance
2013-10-12 18:20:25 -04:00
Marc-André Moreau
3fe3cdf876
libfreerdp-core: extend OpenSSL TSG BIO
2013-10-11 15:27:22 -04:00
Marc-André Moreau
08eadc2ee3
libfreerdp-core: start implement TSG OpenSSL BIO
2013-10-11 06:12:50 -04:00
Marc-André Moreau
c058095251
libfreerdp-core: cleanup TS Gateway code
2013-10-11 05:07:33 -04:00
Marc-André Moreau
0dd5788266
libfreerdp-core: minor TS Gateway fixes
2013-10-11 02:10:02 -04:00
Marc-André Moreau
a24d31be31
libfreerdp-core: refactor and add new WLog debug output for graphical orders
2013-10-10 13:00:04 -04:00
Marc-André Moreau
7a7c967425
libfreerdp-rail: cleanup RAIL code
2013-10-09 22:38:26 -04:00
Marc-André Moreau
90b90ad496
libwinpr-utils: improve quality of data for reconstructed IP headers
2013-10-09 15:11:56 -04:00
Marc-André Moreau
a3f0f4c8dc
libfreerdp-core: started logging packets to pcap file
2013-10-08 23:43:57 -04:00
Marc-André Moreau
a0c0d7b998
libfreerdp-core: added debug output for surface commands
2013-10-08 20:40:58 -04:00
Marc-André Moreau
74c5fa8015
Merge pull request #1501 from bmiklautz/stable-sync
...
Merged changes from stable-1.1
2013-09-25 08:27:36 -07:00
Bernhard Miklautz
c99d9ee72b
core/glyph: copy data when adding glyph to cache
...
fixes #1500
2013-09-24 23:25:18 +02:00
Daryl Poe
fee219168a
send RDP_NEG_REQ also in the case of a null server certificate
...
(cherry picked from commit afec6957c4
)
2013-09-23 10:03:13 +02:00
Marc-André Moreau
d2b9d9f9d5
libfreerdp-common: add extra .rdp file options
2013-09-17 15:58:48 -04:00