Marc-André Moreau
e904195e49
libfreerdp-core: more rdpTcp refactoring
2015-02-13 16:51:08 -05:00
Marc-André Moreau
e241330daf
libfreerdp-core: rewrite tls_write_all to use front BIO only
2015-02-13 16:02:37 -05:00
bjcollins
ad3cb384d4
Fix the command line argument array setup for decorations argument. The initial value was set for the wrong field in the structure. The decorations is correctly initialized to on
...
anyways, but this is the correct formatting for the array element.
2015-02-13 14:57:52 -06:00
Marc-André Moreau
c001a69d50
libfreerdp-core: move wait_read/wait_write operations under BIO layer
2015-02-13 15:22:27 -05:00
Marc-André Moreau
b7a619ff8a
libfreerdp-core: move some rdpTcp operations under BIO layer
2015-02-13 14:26:02 -05:00
David FORT
bb9ba34f1d
Fix disconnection when negociation has failed
...
This patch fixes a bug with mstsc connecting to a RDP security only FreeRDP server.
It seems like the mstsc shipped with Windows Seven considers packets after the nego_failure
packet as an error. So after trying to do TLS, depending on the timing, mstsc can print an
error message instead of retrying to connect with RDP security. With this patch, we
don't send the MCS disconnect message when the negociation has failed.
2015-02-13 18:25:50 +01:00
Marc-André Moreau
69b93c322d
libfreerdp-core: fix transport crash, reduce rdpTcp usage
2015-02-13 09:27:54 -05:00
Marc-André Moreau
3e414f1840
libfreerdp-core: fix server-side transport_attach crash
2015-02-13 08:41:47 -05:00
Marc-André Moreau
486433f193
Merge pull request #2392 from nfedera/fix-2015-02-12-01
...
winpr: stream ctest and missing read/peek types
2015-02-13 07:09:39 -05:00
Marc-André Moreau
889ccefe0d
libfreerdp-core: remove TlsIn/TlsOut from rdpTransport
2015-02-12 16:22:25 -05:00
Marc-André Moreau
6fff998b54
Merge pull request #2394 from awakecoding/master
...
TS Gateway Connection and ADM Refactoring
2015-02-12 14:52:48 -05:00
Marc-André Moreau
0d85dfd395
libfreerdp-core: handle TCP/TLS connection at TSG RPC channel level
2015-02-12 14:40:26 -05:00
Marc-André Moreau
4ecff39eb6
libfreerdp-core: more tsg in/out channel refactoring
2015-02-12 14:08:38 -05:00
Marc-André Moreau
8f2b2be9f2
libfreerdp-core: integrate new RTS pdu functions from denis
2015-02-12 13:14:43 -05:00
Norbert Federa
6f3a07d510
winpr: stream ctest and missing read/peek types
2015-02-12 18:13:06 +01:00
Marc-André Moreau
c92e82b3dc
libfreerdp-core: improve TSG virtual connection and channel management
2015-02-12 12:03:15 -05:00
Marc-André Moreau
d330570e62
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2015-02-12 10:15:14 -05:00
Marc-André Moreau
c817da07e1
Merge pull request #2386 from bjcollins/master
...
Fix remote app in xfreerdp.
2015-02-12 10:14:23 -05:00
Marc-André Moreau
9263e42120
Merge pull request #2385 from hardening/nego_fix
...
Fix server-side protocol negociation
2015-02-12 10:12:01 -05:00
Hardening
0393624af8
Merge pull request #2377 from bmiklautz/wtsapi_tests
...
wtsapi: add TestWtsApiExtra
2015-02-12 11:21:09 +01:00
Bernhard Miklautz
7135fb38fb
Merge pull request #2388 from MartinHaimberger/mh-wtsapi-handler
...
wtsapi: added handler for LogonUser and LogoffUser
2015-02-12 10:45:43 +01:00
Martin Fleisz
66deaf8cfe
Merge pull request #2379 from streetdragon/master
...
Replaced ternary operator with condition only
2015-02-12 10:42:55 +01:00
Martin Haimberger
b302da2e92
wtsapi: added handler for LogonUser and LogoffUser
2015-02-12 01:31:00 -08:00
bjcollins
ee8d0a6440
Fix remote app in xfreerdp.
...
Remove use of the visibleOffset, this completely breaks the display of all windows except for the main application window. Instead,
just maintain a local offset correction of the windowOffset.
Apply workaround to determining the workArea for remote app mode.
2015-02-11 17:24:06 -06:00
David FORT
6a8d21cab9
Fix server-side protocol negociation
...
Before this patch, RDP security was (wrongly) the fallback when negociating a
security protocol between the client and the server. For example when a client
was claiming TLS-only when connecting to a FreeRDP based-server with RDP security only,
the result of the negociation was that the server started to do RDP security.
The expected behaviour is to send a nego failure packet with error code
SSL_NOT_ALLOWED_BY_SERVER. This patch fixes this.
We also try to handle all cases of failed negociation and return the corresponding
error code.
2015-02-11 21:38:32 +01:00
Marc-André Moreau
75cad064f1
libfreerdp-core: refactor tsg virtual connection, in/out channels
2015-02-11 15:26:22 -05:00
Marc-André Moreau
70fab69347
libfreerdp-core: gateway connection refactoring
2015-02-11 14:27:29 -05:00
Marc-André Moreau
aa8b843250
libfreerdp-core: move stuff down from transport to tsg layer
2015-02-11 11:57:02 -05:00
Marc-André Moreau
5becf70fe9
Merge pull request #2384 from awakecoding/master
...
Fix TS Gateway Disconnection (broken by #2383 )
2015-02-11 11:04:14 -05:00
Marc-André Moreau
46724b0c75
libfreerdp-core: fix tsg crash on disconnect
2015-02-11 10:57:14 -05:00
Marc-André Moreau
94494511cc
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2015-02-11 10:05:33 -05:00
Marc-André Moreau
23b7d3bbe2
Merge pull request #2383 from hardening/transport_cleanup
...
Cleanups
2015-02-11 10:05:22 -05:00
David FORT
5c2d5337c0
Fix socket leak when transport is disconnected
2015-02-11 15:47:43 +01:00
David FORT
58f33247bd
Fix compilation with valgrind helpers
2015-02-11 15:23:14 +01:00
Kurt McAlpine
9b1450f759
Replaced ternary operator with condition only
2015-02-11 11:15:25 +13:00
Marc-André Moreau
22ac46957a
xfreerdp: fix egfx multimonitor support
2015-02-10 16:32:07 -05:00
Marc-André Moreau
39c13b127d
Merge pull request #2378 from awakecoding/master
...
xfreerdp fullscreen fix
2015-02-10 15:22:45 -05:00
Marc-André Moreau
9b9fbd2ab1
xfreerdp: fix fullscreen mode
2015-02-10 15:15:30 -05:00
Bernhard Miklautz
67fb97f68f
wtsapi: add TestWtsApiExtra
...
Move wtsapi tests that only make sense when run within a session
("interactive") to TestWtsApiExtra since they either brake automated
builds or don't make sense if the return value isn't checked.
TestWtsApiExtra is not build by default but can be enabled by specifying
-DTESTS_WTSAPI_EXTRA=ON (this option is only available if BUILD_TESTING
is enabled).
The tests set the ctest label WTSAPI_EXTRA and can therefore also
be run explicitly with ctest -L WTSAPI_EXTRA.
2015-02-10 18:05:40 +01:00
Marc-André Moreau
b918e18a40
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2015-02-10 10:43:59 -05:00
Marc-André Moreau
fc0a2e529d
Merge pull request #2372 from MartinHaimberger/wtsapiextension
...
wtsapi: extended wtsapi
2015-02-10 10:42:13 -05:00
Marc-André Moreau
b025d83919
Merge pull request #2374 from bjcollins/master
...
Apply correct exit code to xfreerdp application for certain log offs
2015-02-10 10:41:10 -05:00
Marc-André Moreau
4004470277
Merge pull request #2373 from akallabeth/reconnect_resource_fix
...
Reconnect resource cleanup fix
2015-02-10 10:40:30 -05:00
Norbert Federa
30716c182d
Merge pull request #2371 from bmiklautz/terminate_process
...
winpr/process: handle PIDs <= 0 in TerminateProcess
2015-02-10 14:57:57 +01:00
Norbert Federa
cc0db37725
Merge pull request #2375 from hardening/minimize_diff
...
Check return value for fcntl()
2015-02-10 14:56:30 +01:00
Norbert Federa
0c2b145dcd
Merge pull request #2376 from hardening/minimize_diff2
...
Handle OOM in Stream_New()
2015-02-10 14:55:57 +01:00
Hardening
129c2084d7
Handle OOM in Stream_New()
2015-02-10 10:26:32 +01:00
Hardening
5dddd977f2
Check return value for fcntl()
2015-02-10 10:08:39 +01:00
bjcollins
bb87599f80
Apply correct exit code to xfreerdp application for log off from certain flavors of Windows.
2015-02-09 17:15:07 -06:00
Armin Novak
c66d0ccff8
Fixed codecs_free
2015-02-09 17:35:41 +01:00