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
Armin Novak
b4db02867a
Fixed resource cleanup on disconnect.
2015-02-09 17:33:55 +01:00
Armin Novak
e162784e34
Fixed resource cleanup on disconnect.
2015-02-09 17:33:43 +01:00
Martin Haimberger
256b420afc
wtsapi: extended wtsapi
...
- added missing definitions for session change notification
- extended wtsapi to allow remote logon and logoff against the wtsapi (this allows remote wtsapi usage)
2015-02-09 06:30:18 -08:00
Bernhard Miklautz
582856d142
winpr/process: handle pids <= 0
...
TerminateProcess shouldn't call kill if the PID is <=0 because this has
unwanted effects (and is not what TerminateProcess should do):
* with PID == 0 any process in the same process group gets the signal
sent
* with PID == -1 *every* processes that the running users has
permissions to gets the signal sent
* with PID < -1 the process within the same process group and -PID gets
the signal send
For more details see kill(2).
2015-02-09 14:07:14 +01:00
Marc-André Moreau
a214719a95
libwinpr-winsock: add WSAEventSelect, ioctlsocket
2015-02-08 22:29:52 -05:00
Marc-André Moreau
ed3d9526b2
Merge pull request #2368 from awakecoding/master
...
AutoReconnect Fixes
2015-02-06 18:29:33 -05:00
Marc-André Moreau
edb8b3055f
Merge pull request #2367 from eledoux/ports
...
fixed: serial redirect not work #2333
2015-02-06 18:02:16 -05:00
Marc-André Moreau
0054b6b134
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2015-02-06 18:02:10 -05:00
Marc-André Moreau
dc3c6be046
Merge pull request #2366 from xsumbe00/master
...
Fixes Solaris bus error on sparc.
2015-02-06 17:59:48 -05:00
Marc-André Moreau
8b524021f1
xfreerdp: fix egfx multimon on reconnect
2015-02-06 17:46:15 -05:00
Marc-André Moreau
3258c887a4
libfreerdp-core: add channel reconnect
2015-02-06 17:35:14 -05:00
Marc-André Moreau
b2d0aa128f
libfreerdp-core: refactor client info pdu functions
2015-02-06 16:55:21 -05:00
Marc-André Moreau
9a8f877396
libfreerdp-core: fix auto reconnect cookie security verifier computation
2015-02-06 16:37:28 -05:00
Marc-André Moreau
70e2862c50
libfreerdp-core: improve client core info debug output
2015-02-06 15:44:29 -05:00
Marc-André Moreau
fa06c4d401
libfreerdp-core: improve reconnection
2015-02-06 14:21:26 -05:00
Emmanuel Ledoux
cf3d857b89
serial: changed the default underlying ServerSerialDriverId from SerialDriverSerCx2Sys to SerialDriverSerialSys
2015-02-06 19:56:36 +01:00
Marc-André Moreau
82d58086db
xfreerdp: partial reconnect fixes
2015-02-05 17:01:56 -05:00
Marc-André Moreau
fdde017526
libfreerdp-codec: allow region_uninit to be called multiple times
2015-02-05 15:10:24 -05:00
Petr Sumbera
8510373b04
Fixes Solaris bus error on sparc.
2015-02-05 08:46:56 -08:00