Austin English [Mon, 23 Feb 2015 01:09:58 +0000 (19:09 -0600)]
winpr/asn1: add ASN1_CreateDecoder stub
Marc-André Moreau [Fri, 20 Feb 2015 20:48:36 +0000 (15:48 -0500)]
Merge pull request #2411 from awakecoding/master
SCardTransmit pioRecvPci Fix
Marc-André Moreau [Fri, 20 Feb 2015 20:39:51 +0000 (15:39 -0500)]
channels/smartcard: fix SCardTransmit return encoding with pioRecvPci
Marc-André Moreau [Thu, 19 Feb 2015 21:15:35 +0000 (16:15 -0500)]
Merge pull request #2408 from dvincent-devolutions/gateway
TSGateway out channel recycling
Marc-André Moreau [Thu, 19 Feb 2015 21:06:20 +0000 (16:06 -0500)]
libfreerdp-core: improve RTS PDU receiving
Marc-André Moreau [Thu, 19 Feb 2015 20:06:57 +0000 (15:06 -0500)]
libfreerdp-core: cleanup channel recycling
Marc-André Moreau [Thu, 19 Feb 2015 19:11:12 +0000 (14:11 -0500)]
Merge branch 'gateway' of https://github.com/dvincent-devolutions/FreeRDP into gateway
Denis Vincent [Thu, 19 Feb 2015 18:41:00 +0000 (13:41 -0500)]
libfreerdp-core: add TS Gateway out channel recycling support
Marc-André Moreau [Thu, 19 Feb 2015 14:58:18 +0000 (09:58 -0500)]
Merge pull request #2405 from akallabeth/rdpsnd_winmm_silence
Debug messages now use WLog_DBG instead of WLog_ERR.
Marc-André Moreau [Thu, 19 Feb 2015 14:52:20 +0000 (09:52 -0500)]
Merge pull request #2406 from nfedera/fix-wlog-formats
wlog: wrong format specifiers, use LWP id on linux
Norbert Federa [Thu, 19 Feb 2015 13:47:03 +0000 (14:47 +0100)]
wlog: wrong format specifiers, use LWP id on linux
Armin Novak [Thu, 19 Feb 2015 07:45:45 +0000 (08:45 +0100)]
Debug messages now use WLog_DBG instead of WLog_ERR.
Marc-André Moreau [Wed, 18 Feb 2015 20:46:29 +0000 (15:46 -0500)]
Merge pull request #2404 from awakecoding/master
Fix BIO leaks
Marc-André Moreau [Wed, 18 Feb 2015 20:36:57 +0000 (15:36 -0500)]
libfreerdp-core: fix BIO leaks
Marc-André Moreau [Wed, 18 Feb 2015 18:56:25 +0000 (13:56 -0500)]
Merge pull request #2403 from awakecoding/master
Transport, Gateway, Sockets
Marc-André Moreau [Wed, 18 Feb 2015 18:50:03 +0000 (13:50 -0500)]
libfreerdp-core: fix tsg_get_event_handles
Marc-André Moreau [Wed, 18 Feb 2015 18:42:28 +0000 (13:42 -0500)]
Merge branch 'master' of github.com:FreeRDP/FreeRDP
Marc-André Moreau [Wed, 18 Feb 2015 18:42:19 +0000 (13:42 -0500)]
Merge pull request #2402 from nfedera/fix-2015-02-18-01
core: fix refreshRect/suppressOutput capabilities
Marc-André Moreau [Wed, 18 Feb 2015 18:35:33 +0000 (13:35 -0500)]
libwinpr-winsock: implement interface listing with WSAIoctl
Norbert Federa [Wed, 18 Feb 2015 18:33:19 +0000 (19:33 +0100)]
core: fix refreshRect/suppressOutput capabilities
refreshRectSupport and suppressOutputSupport of the General
Capability Set (MS-RDPBCGR 2.2.7.1.1) are server-only flags
that indicate whether the Refresh Rect or Suppress Output
PDUs are supported by the server.
Therefore in rdp_read_general_capability_set() we must only
change the respective settings if we are not in server mode.
Marc-André Moreau [Wed, 18 Feb 2015 14:51:11 +0000 (09:51 -0500)]
Merge branch 'master' of github.com:FreeRDP/FreeRDP
Marc-André Moreau [Wed, 18 Feb 2015 14:50:46 +0000 (09:50 -0500)]
Merge pull request #2397 from hardening/nego_fix2
Fix disconnection when negociation has failed
Marc-André Moreau [Wed, 18 Feb 2015 14:50:37 +0000 (09:50 -0500)]
Merge pull request #2398 from bjcollins/master
Fix the command line argument array setup for decorations flag
Marc-André Moreau [Wed, 18 Feb 2015 14:49:55 +0000 (09:49 -0500)]
Merge pull request #2401 from bmiklautz/extend_wtsapi
Extend wtsapi with WTSStartRemoteControlSessionEx
Marc-André Moreau [Wed, 18 Feb 2015 02:01:27 +0000 (21:01 -0500)]
libfreerdp-core: cleanup connect error codes, fix Win32 NLA
Marc-André Moreau [Tue, 17 Feb 2015 23:44:09 +0000 (18:44 -0500)]
libwinpr-synch: fix test build on Win32
Marc-André Moreau [Tue, 17 Feb 2015 21:36:01 +0000 (16:36 -0500)]
libfreerdp-core: initial support for tsg silent reauth
Marc-André Moreau [Tue, 17 Feb 2015 21:15:57 +0000 (16:15 -0500)]
libfreerdp-core: refactor TsProxy* calls
Marc-André Moreau [Tue, 17 Feb 2015 19:34:42 +0000 (14:34 -0500)]
libfreerdp-core: improve tsg debug output and reauth sequence
Marc-André Moreau [Tue, 17 Feb 2015 15:54:39 +0000 (10:54 -0500)]
libfreerdp-core: fix tsg buffer flushing
Marc-André Moreau [Mon, 16 Feb 2015 20:35:51 +0000 (15:35 -0500)]
libfreerdp-core: partial tsg reauth support
Bernhard Miklautz [Mon, 16 Feb 2015 11:16:54 +0000 (12:16 +0100)]
wtsapi: add WTSStartRemoteControlSessionEx
WTSStartRemoteControlSession doesn't allow to specify additional flags
therefore add a new extended version WTSStartRemoteControlSessionEx
with an additional "flags" parameter.
The following flags are defined:
REMOTECONTROL_FLAG_DISABLE_KEYBOARD - disable keyboard input
REMOTECONTROL_FLAG_DISABLE_MOUSE - disable mouse input
REMOTECONTROL_FLAG_DISABLE_INPUT - disable input (keyboard and mouse)
Bernhard Miklautz [Mon, 16 Feb 2015 11:14:20 +0000 (12:14 +0100)]
gitignore: ignore clion files
Marc-André Moreau [Sun, 15 Feb 2015 23:22:49 +0000 (18:22 -0500)]
libfreerdp-core: improve TSProxyCreateTunnelRequest
Marc-André Moreau [Sun, 15 Feb 2015 21:04:59 +0000 (16:04 -0500)]
libfreerdp-core: make NLA event-driven
Marc-André Moreau [Sun, 15 Feb 2015 19:54:10 +0000 (14:54 -0500)]
libfreerdp-core: prepare client-side NLA for event-driven structure
Marc-André Moreau [Sun, 15 Feb 2015 16:10:14 +0000 (11:10 -0500)]
libfreerdp-core: NLA cleanup
Marc-André Moreau [Sun, 15 Feb 2015 15:06:17 +0000 (10:06 -0500)]
libfreerdp-core: further abstract multiple connections used internally by tsg from rdpTransport
Marc-André Moreau [Sat, 14 Feb 2015 15:14:13 +0000 (10:14 -0500)]
libfreerdp-core: replace rdpTcp by BufferedSocket BIO
Marc-André Moreau [Fri, 13 Feb 2015 21:51:08 +0000 (16:51 -0500)]
libfreerdp-core: more rdpTcp refactoring
Marc-André Moreau [Fri, 13 Feb 2015 21:02:37 +0000 (16:02 -0500)]
libfreerdp-core: rewrite tls_write_all to use front BIO only
bjcollins [Fri, 13 Feb 2015 20:57:52 +0000 (14:57 -0600)]
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.
Marc-André Moreau [Fri, 13 Feb 2015 20:22:27 +0000 (15:22 -0500)]
libfreerdp-core: move wait_read/wait_write operations under BIO layer
Marc-André Moreau [Fri, 13 Feb 2015 19:26:02 +0000 (14:26 -0500)]
libfreerdp-core: move some rdpTcp operations under BIO layer
David FORT [Fri, 13 Feb 2015 17:25:50 +0000 (18:25 +0100)]
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.
Marc-André Moreau [Fri, 13 Feb 2015 14:27:54 +0000 (09:27 -0500)]
libfreerdp-core: fix transport crash, reduce rdpTcp usage
Marc-André Moreau [Fri, 13 Feb 2015 13:41:47 +0000 (08:41 -0500)]
libfreerdp-core: fix server-side transport_attach crash
Marc-André Moreau [Fri, 13 Feb 2015 12:09:39 +0000 (07:09 -0500)]
Merge pull request #2392 from nfedera/fix-2015-02-12-01
winpr: stream ctest and missing read/peek types
Marc-André Moreau [Thu, 12 Feb 2015 21:22:25 +0000 (16:22 -0500)]
libfreerdp-core: remove TlsIn/TlsOut from rdpTransport
Marc-André Moreau [Thu, 12 Feb 2015 19:52:48 +0000 (14:52 -0500)]
Merge pull request #2394 from awakecoding/master
TS Gateway Connection and ADM Refactoring
Marc-André Moreau [Thu, 12 Feb 2015 19:40:26 +0000 (14:40 -0500)]
libfreerdp-core: handle TCP/TLS connection at TSG RPC channel level
Marc-André Moreau [Thu, 12 Feb 2015 19:08:38 +0000 (14:08 -0500)]
libfreerdp-core: more tsg in/out channel refactoring
Marc-André Moreau [Thu, 12 Feb 2015 18:14:43 +0000 (13:14 -0500)]
libfreerdp-core: integrate new RTS pdu functions from denis
Norbert Federa [Thu, 12 Feb 2015 17:13:06 +0000 (18:13 +0100)]
winpr: stream ctest and missing read/peek types
Marc-André Moreau [Thu, 12 Feb 2015 17:03:15 +0000 (12:03 -0500)]
libfreerdp-core: improve TSG virtual connection and channel management
Marc-André Moreau [Thu, 12 Feb 2015 15:15:14 +0000 (10:15 -0500)]
Merge branch 'master' of github.com:FreeRDP/FreeRDP
Marc-André Moreau [Thu, 12 Feb 2015 15:14:23 +0000 (10:14 -0500)]
Merge pull request #2386 from bjcollins/master
Fix remote app in xfreerdp.
Marc-André Moreau [Thu, 12 Feb 2015 15:12:01 +0000 (10:12 -0500)]
Merge pull request #2385 from hardening/nego_fix
Fix server-side protocol negociation
Hardening [Thu, 12 Feb 2015 10:21:09 +0000 (11:21 +0100)]
Merge pull request #2377 from bmiklautz/wtsapi_tests
wtsapi: add TestWtsApiExtra
Bernhard Miklautz [Thu, 12 Feb 2015 09:45:43 +0000 (10:45 +0100)]
Merge pull request #2388 from MartinHaimberger/mh-wtsapi-handler
wtsapi: added handler for LogonUser and LogoffUser
Martin Fleisz [Thu, 12 Feb 2015 09:42:55 +0000 (10:42 +0100)]
Merge pull request #2379 from streetdragon/master
Replaced ternary operator with condition only
Martin Haimberger [Thu, 12 Feb 2015 09:31:00 +0000 (01:31 -0800)]
wtsapi: added handler for LogonUser and LogoffUser
bjcollins [Wed, 11 Feb 2015 23:24:06 +0000 (17:24 -0600)]
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.
David FORT [Wed, 11 Feb 2015 20:38:32 +0000 (21:38 +0100)]
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.
Marc-André Moreau [Wed, 11 Feb 2015 20:26:22 +0000 (15:26 -0500)]
libfreerdp-core: refactor tsg virtual connection, in/out channels
Marc-André Moreau [Wed, 11 Feb 2015 19:27:29 +0000 (14:27 -0500)]
libfreerdp-core: gateway connection refactoring
Marc-André Moreau [Wed, 11 Feb 2015 16:57:02 +0000 (11:57 -0500)]
libfreerdp-core: move stuff down from transport to tsg layer
Marc-André Moreau [Wed, 11 Feb 2015 16:04:14 +0000 (11:04 -0500)]
Merge pull request #2384 from awakecoding/master
Fix TS Gateway Disconnection (broken by #2383)
Marc-André Moreau [Wed, 11 Feb 2015 15:57:14 +0000 (10:57 -0500)]
libfreerdp-core: fix tsg crash on disconnect
Marc-André Moreau [Wed, 11 Feb 2015 15:05:33 +0000 (10:05 -0500)]
Merge branch 'master' of github.com:FreeRDP/FreeRDP
Marc-André Moreau [Wed, 11 Feb 2015 15:05:22 +0000 (10:05 -0500)]
Merge pull request #2383 from hardening/transport_cleanup
Cleanups
David FORT [Wed, 11 Feb 2015 14:47:43 +0000 (15:47 +0100)]
Fix socket leak when transport is disconnected
David FORT [Wed, 11 Feb 2015 14:23:14 +0000 (15:23 +0100)]
Fix compilation with valgrind helpers
Kurt McAlpine [Tue, 10 Feb 2015 22:15:25 +0000 (11:15 +1300)]
Replaced ternary operator with condition only
Marc-André Moreau [Tue, 10 Feb 2015 21:32:07 +0000 (16:32 -0500)]
xfreerdp: fix egfx multimonitor support
Marc-André Moreau [Tue, 10 Feb 2015 20:22:45 +0000 (15:22 -0500)]
Merge pull request #2378 from awakecoding/master
xfreerdp fullscreen fix
Marc-André Moreau [Tue, 10 Feb 2015 20:15:30 +0000 (15:15 -0500)]
xfreerdp: fix fullscreen mode
Bernhard Miklautz [Tue, 10 Feb 2015 17:05:40 +0000 (18:05 +0100)]
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.
Marc-André Moreau [Tue, 10 Feb 2015 15:43:59 +0000 (10:43 -0500)]
Merge branch 'master' of github.com:FreeRDP/FreeRDP
Marc-André Moreau [Tue, 10 Feb 2015 15:42:13 +0000 (10:42 -0500)]
Merge pull request #2372 from MartinHaimberger/wtsapiextension
wtsapi: extended wtsapi
Marc-André Moreau [Tue, 10 Feb 2015 15:41:10 +0000 (10:41 -0500)]
Merge pull request #2374 from bjcollins/master
Apply correct exit code to xfreerdp application for certain log offs
Marc-André Moreau [Tue, 10 Feb 2015 15:40:30 +0000 (10:40 -0500)]
Merge pull request #2373 from akallabeth/reconnect_resource_fix
Reconnect resource cleanup fix
Norbert Federa [Tue, 10 Feb 2015 13:57:57 +0000 (14:57 +0100)]
Merge pull request #2371 from bmiklautz/terminate_process
winpr/process: handle PIDs <= 0 in TerminateProcess
Norbert Federa [Tue, 10 Feb 2015 13:56:30 +0000 (14:56 +0100)]
Merge pull request #2375 from hardening/minimize_diff
Check return value for fcntl()
Norbert Federa [Tue, 10 Feb 2015 13:55:57 +0000 (14:55 +0100)]
Merge pull request #2376 from hardening/minimize_diff2
Handle OOM in Stream_New()
Hardening [Tue, 10 Feb 2015 09:26:32 +0000 (10:26 +0100)]
Handle OOM in Stream_New()
Hardening [Tue, 10 Feb 2015 09:08:39 +0000 (10:08 +0100)]
Check return value for fcntl()
bjcollins [Mon, 9 Feb 2015 23:15:07 +0000 (17:15 -0600)]
Apply correct exit code to xfreerdp application for log off from certain flavors of Windows.
Armin Novak [Mon, 9 Feb 2015 16:35:41 +0000 (17:35 +0100)]
Fixed codecs_free
Armin Novak [Mon, 9 Feb 2015 16:33:55 +0000 (17:33 +0100)]
Fixed resource cleanup on disconnect.
Armin Novak [Mon, 9 Feb 2015 16:33:43 +0000 (17:33 +0100)]
Fixed resource cleanup on disconnect.
Martin Haimberger [Mon, 9 Feb 2015 14:30:18 +0000 (06:30 -0800)]
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)
Bernhard Miklautz [Mon, 9 Feb 2015 13:07:14 +0000 (14:07 +0100)]
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).
Marc-André Moreau [Mon, 9 Feb 2015 03:29:52 +0000 (22:29 -0500)]
libwinpr-winsock: add WSAEventSelect, ioctlsocket
Marc-André Moreau [Fri, 6 Feb 2015 23:29:33 +0000 (18:29 -0500)]
Merge pull request #2368 from awakecoding/master
AutoReconnect Fixes
Marc-André Moreau [Fri, 6 Feb 2015 23:02:16 +0000 (18:02 -0500)]
Merge pull request #2367 from eledoux/ports
fixed: serial redirect not work #2333
Marc-André Moreau [Fri, 6 Feb 2015 23:02:10 +0000 (18:02 -0500)]
Merge branch 'master' of github.com:FreeRDP/FreeRDP
Marc-André Moreau [Fri, 6 Feb 2015 22:59:48 +0000 (17:59 -0500)]
Merge pull request #2366 from xsumbe00/master
Fixes Solaris bus error on sparc.
Marc-André Moreau [Fri, 6 Feb 2015 22:46:15 +0000 (17:46 -0500)]
xfreerdp: fix egfx multimon on reconnect
Marc-André Moreau [Fri, 6 Feb 2015 22:35:14 +0000 (17:35 -0500)]
libfreerdp-core: add channel reconnect