Armin Novak [Wed, 11 Jun 2014 12:41:31 +0000 (14:41 +0200)]
OnDataReceived function now uses a reference counted stream as argument.
Armin Novak [Wed, 11 Jun 2014 12:40:38 +0000 (14:40 +0200)]
svc_plugin now uses reference counted StreamPool.
Added termination function to clean up allocated resources.
Armin Novak [Wed, 11 Jun 2014 12:38:20 +0000 (14:38 +0200)]
Added stream pool shrinking if large parts are unused.
Marc-André Moreau [Tue, 10 Jun 2014 22:16:51 +0000 (18:16 -0400)]
Merge pull request #1896 from awakecoding/sspi
WinPR SSPI Cleanup + Hardening
Marc-André Moreau [Tue, 10 Jun 2014 22:09:51 +0000 (18:09 -0400)]
libwinpr-sspi: fix failing test
Marc-André Moreau [Tue, 10 Jun 2014 20:40:58 +0000 (16:40 -0400)]
Merge branch 'master' of github.com:awakecoding/FreeRDP into sspi
Conflicts:
winpr/include/winpr/timezone.h
winpr/libwinpr/timezone/timezone.c
Marc-André Moreau [Tue, 10 Jun 2014 20:38:16 +0000 (16:38 -0400)]
libwinpr-sspi: add support for querying user+domain and setting NTLM hash
Marc-André Moreau [Tue, 10 Jun 2014 18:38:17 +0000 (14:38 -0400)]
libwinpr-sspi: fix server-side NLA
Marc-André Moreau [Tue, 10 Jun 2014 18:16:02 +0000 (14:16 -0400)]
libwinpr-sspi: fix memory leaks
Marc-André Moreau [Tue, 10 Jun 2014 12:40:04 +0000 (08:40 -0400)]
libwinpr-sspi: patch some memory leaks
Marc-André Moreau [Tue, 10 Jun 2014 12:24:20 +0000 (08:24 -0400)]
winpr: remove installable config.h header
Marc-André Moreau [Mon, 9 Jun 2014 19:25:00 +0000 (15:25 -0400)]
libwinpr-sspi: add custom API for passing NTLM hashes and credentials dynamically
Marc-André Moreau [Sun, 8 Jun 2014 13:14:49 +0000 (09:14 -0400)]
libwinpr-sspi: fix NTLM SPN context helper
Marc-André Moreau [Sat, 7 Jun 2014 22:28:02 +0000 (18:28 -0400)]
libwinpr-sspi: add tests for NTLM
Marc-André Moreau [Sat, 7 Jun 2014 21:08:07 +0000 (17:08 -0400)]
libwinpr-sspi: fix server-side negotiate module
Marc-André Moreau [Sat, 7 Jun 2014 20:46:32 +0000 (16:46 -0400)]
libwinpr-sspi: fix build on Linux
Marc-André Moreau [Sat, 7 Jun 2014 20:26:57 +0000 (16:26 -0400)]
libwinpr-sspi: start implementing and using negotiate sspi module
Marc-André Moreau [Sat, 7 Jun 2014 18:43:02 +0000 (14:43 -0400)]
libwinpr-sspi: fix exporting of SSPI API
Marc-André Moreau [Sat, 7 Jun 2014 17:48:01 +0000 (13:48 -0400)]
Merge pull request #1892 from alexpilotti/master
Fixes timezone API definition issues on Windows
Alessandro Pilotti [Sat, 7 Jun 2014 17:11:32 +0000 (20:11 +0300)]
Fixes timezone API definition issues on Windows
GetDynamicTimeZoneInformation, SetDynamicTimeZoneInformation and
GetTimeZoneInformationForYear are provided by the Windows SDK accordingly
with ethe MSDN cocumentation for SDK with versions above 7.1A.
Those functions are incorrectly included by the 7.1A SDK if _WIN32_WINNT
>= 0x0501 instead of _WIN32_WINNT >= 0x0600.
The issue arises when building with an XP compatible toolset (e.g.
v120_xp).
Marc-André Moreau [Sat, 7 Jun 2014 14:50:51 +0000 (10:50 -0400)]
libwinpr-sspi: improve link interface
Marc-André Moreau [Sat, 7 Jun 2014 04:17:11 +0000 (00:17 -0400)]
libwinpr-sspi: even more code hardening
Marc-André Moreau [Fri, 6 Jun 2014 21:20:34 +0000 (17:20 -0400)]
libwinpr-sspi: code hardening
Marc-André Moreau [Fri, 6 Jun 2014 19:34:12 +0000 (15:34 -0400)]
libwinpr-sspi: make native sspi option dynamic
Marc-André Moreau [Fri, 6 Jun 2014 02:54:31 +0000 (22:54 -0400)]
libwinpr-sspi: isolate winpr implementation
Marc-André Moreau [Fri, 6 Jun 2014 02:10:08 +0000 (22:10 -0400)]
libwinpr-sspi: fix native sspi build
Marc-André Moreau [Wed, 4 Jun 2014 16:41:08 +0000 (12:41 -0400)]
Merge pull request #1885 from awakecoding/master
SmartCard fixes and workarounds
Marc-André Moreau [Wed, 4 Jun 2014 16:02:30 +0000 (12:02 -0400)]
Merge pull request #1875 from jbd1986/fix-rdp-file-fullscreen
Reading RDP File: changed fullscreen constants to reflect the current states from Technet
Marc-André Moreau [Wed, 4 Jun 2014 16:01:40 +0000 (12:01 -0400)]
Merge branch 'master' of github.com:FreeRDP/FreeRDP
Marc-André Moreau [Wed, 4 Jun 2014 16:00:05 +0000 (12:00 -0400)]
Merge pull request #1872 from nfedera/fix-2014-05-28-01
winpr: rewrite named pipe sharing
Marc-André Moreau [Wed, 4 Jun 2014 15:59:58 +0000 (11:59 -0400)]
Merge pull request #1868 from akallabeth/x11_shutdown_fix
X11 aync input shutdown fix
Marc-André Moreau [Wed, 4 Jun 2014 15:56:37 +0000 (11:56 -0400)]
Merge branch 'master' of github.com:FreeRDP/FreeRDP
Vic Lee [Wed, 4 Jun 2014 07:57:27 +0000 (15:57 +0800)]
transport: fix incorrect retval that caused unexpected redirect.
Martin Fleisz [Wed, 4 Jun 2014 07:30:34 +0000 (09:30 +0200)]
Merge pull request #1882 from hardening/nla_fix
Nla fix
Martin Fleisz [Tue, 3 Jun 2014 14:40:05 +0000 (16:40 +0200)]
Merge pull request #1873 from hardening/WTSVirtualChannelWriteCallers
Don't use NULL for pWrittenBytes when calling WTSVirtualChannelWrite()
Hardening [Tue, 3 Jun 2014 13:19:00 +0000 (15:19 +0200)]
Don't leak cert in case of failure
Hardening [Tue, 3 Jun 2014 12:59:58 +0000 (14:59 +0200)]
Fix certificate leak
There were a leak when doing TLS in server mode
Hardening [Tue, 3 Jun 2014 12:54:56 +0000 (14:54 +0200)]
Fix metrics leak
Hardening [Tue, 3 Jun 2014 09:04:35 +0000 (11:04 +0200)]
Fix NLA authentication for server-side
This patch make copies of the server public key so that the NLA
authentication can be performed server-side.
Hardening [Tue, 3 Jun 2014 09:04:12 +0000 (11:04 +0200)]
Drop unused field
Marc-André Moreau [Tue, 3 Jun 2014 01:49:49 +0000 (21:49 -0400)]
libwinpr-smartcard: avoid using pcsc-lite's buggy transaction system
Marc-André Moreau [Mon, 2 Jun 2014 21:20:01 +0000 (17:20 -0400)]
channels/smartcard: experiment with multiple card contexts
Marc-André Moreau [Mon, 2 Jun 2014 16:08:19 +0000 (12:08 -0400)]
Merge branch 'awakecoding' of github.com:vworkspace/FreeRDP
Mike McDonald [Mon, 2 Jun 2014 15:08:32 +0000 (11:08 -0400)]
Modified SCardConnect/SCardDisconnect logic to prevent more than one card from being connected to a context. Trying to connect more than once to a context without doing a disconnect can cause a deadlock in the pcsclite daemon (pcscd).
Marc-André Moreau [Mon, 2 Jun 2014 02:35:13 +0000 (22:35 -0400)]
Merge pull request #1879 from awakecoding/master
Async Transport BIO full duplex support
Marc-André Moreau [Mon, 2 Jun 2014 02:25:19 +0000 (22:25 -0400)]
libwinpr-winsock: fix non-monolithic build
Marc-André Moreau [Mon, 2 Jun 2014 01:52:33 +0000 (21:52 -0400)]
libwinpr-winsock: fix build on Windows
Marc-André Moreau [Mon, 2 Jun 2014 01:37:20 +0000 (21:37 -0400)]
libfreerdp-core: replace all OpenSSL built-in BIOs by new full duplex BIOs
Marc-André Moreau [Sun, 1 Jun 2014 19:04:28 +0000 (15:04 -0400)]
libwinpr-winsock: initial winsock implementation
Marc-André Moreau [Sun, 1 Jun 2014 15:20:13 +0000 (11:20 -0400)]
libfreerdp-core: remove ineffective full duplex locks
Marc-André Moreau [Sun, 1 Jun 2014 14:46:58 +0000 (10:46 -0400)]
Merge branch 'master' of github.com:awakecoding/FreeRDP
Marc-André Moreau [Sun, 1 Jun 2014 14:46:43 +0000 (10:46 -0400)]
libfreerdp-core: fail more gracefully when transport thread dies
Marc-André Moreau [Sat, 31 May 2014 14:10:19 +0000 (10:10 -0400)]
libwinpr-utils: add WLog support for Win32 debugger console output
Marc-André Moreau [Fri, 30 May 2014 19:35:46 +0000 (15:35 -0400)]
Merge pull request #1877 from awakecoding/master
WLog, Transport, Gateway, Time
Marc-André Moreau [Fri, 30 May 2014 19:29:06 +0000 (15:29 -0400)]
libfreerdp-core: fix build on Windows
Marc-André Moreau [Fri, 30 May 2014 19:06:07 +0000 (15:06 -0400)]
Merge branch 'master' of github.com:FreeRDP/FreeRDP
Conflicts:
libfreerdp/core/transport.c
Marc-André Moreau [Fri, 30 May 2014 18:53:10 +0000 (14:53 -0400)]
libfreerdp-core: add locks to disable full duplex BIOs (currently unsafe)
Marc-André Moreau [Fri, 30 May 2014 18:36:18 +0000 (14:36 -0400)]
libfreerdp-core: fix VerifyX509Certificate to make distinction between gateway and direct connection
Marc-André Moreau [Fri, 30 May 2014 18:03:20 +0000 (14:03 -0400)]
libfreerdp-core: add connection timeout, fix gateway bypass local
Vic Lee [Fri, 30 May 2014 17:08:00 +0000 (01:08 +0800)]
transport: add another null pointer check.
Marc-André Moreau [Fri, 30 May 2014 16:55:17 +0000 (12:55 -0400)]
libfreerdp-common: add freerdp_update_gateway_usage_method helper
Marc-André Moreau [Fri, 30 May 2014 16:31:26 +0000 (12:31 -0400)]
libfreerdp-core: add gateway-usage-method command line option, avoid resetting BIO flags we shouldn't reset
Vic Lee [Fri, 30 May 2014 15:34:04 +0000 (23:34 +0800)]
transport: add a null pointer check.
Vic Lee [Fri, 30 May 2014 15:00:15 +0000 (23:00 +0800)]
rdpsnd/server: fix incorrect use of channe handle.
Vic Lee [Fri, 30 May 2014 14:30:21 +0000 (22:30 +0800)]
tcp: add timeout to prevent buggy client from hanging.
Marc-André Moreau [Fri, 30 May 2014 02:28:13 +0000 (22:28 -0400)]
Merge pull request #1874 from hardening/CVE-2014-0250
Fixes for CVE-2014-0250
Marc-André Moreau [Fri, 30 May 2014 01:29:24 +0000 (21:29 -0400)]
libwinpr-timezone: fix build on Windows
Marc-André Moreau [Thu, 29 May 2014 23:27:11 +0000 (19:27 -0400)]
Merge branch 'master' of github.com:FreeRDP/FreeRDP
Marc-André Moreau [Thu, 29 May 2014 19:45:48 +0000 (15:45 -0400)]
Merge github.com:mrthebunny/FreeRDP
Marc-André Moreau [Thu, 29 May 2014 19:42:32 +0000 (15:42 -0400)]
libwinpr-utils: add WLOG_PREFIX environment variable
Marc-André Moreau [Thu, 29 May 2014 19:23:15 +0000 (15:23 -0400)]
libwinpr-utils: add support for fine grained wlog filter
Marc-André Moreau [Thu, 29 May 2014 16:39:09 +0000 (12:39 -0400)]
libwinpr-sysinfo: implement GetSystemTime, GetLocalTime
Marc-André Moreau [Thu, 29 May 2014 15:58:53 +0000 (11:58 -0400)]
libwinpr-timezone: stub functions
Justin DeFields [Thu, 29 May 2014 15:48:38 +0000 (11:48 -0400)]
Changed fullscreen value to reflect the current states from technet.microsoft.com/en-us/library/
ff393692(v=ws.10).aspx
Hardening [Thu, 29 May 2014 08:12:02 +0000 (10:12 +0200)]
Check that bpp has reasonable value
As bpp is often used for malloc computations, let's check that it has
a reasonable value.
Hardening [Thu, 29 May 2014 07:24:59 +0000 (09:24 +0200)]
Check for bpp > 0
Bpp == 0 just makes no sense
Benoît LeBlanc [Thu, 29 May 2014 01:33:30 +0000 (21:33 -0400)]
tls_prepare: suppressed a warning on Mac
Hardening [Wed, 28 May 2014 22:12:48 +0000 (00:12 +0200)]
Set checks to be strict and also check xorBpp field
This patch:
* renames bpp to xorBpp ;
* changes checks to strict ;
* adds checks on the xorBpp field
Hardening [Wed, 28 May 2014 21:07:00 +0000 (23:07 +0200)]
Fixes for CVE-2014-0250
This patch introduce misc checks when receiving pointer updates. We check
that the cursor are in the bounds defined by the spec. We also check that
the announced mask sizes are what they should be.
Hardening [Wed, 28 May 2014 15:04:24 +0000 (17:04 +0200)]
Don't use NULL for pWrittenBytes when calling WTSVirtualChannelWrite()
Nothing in the MSDN API says that setting NULL is safe. And if the
implementation uses WriteFile directly, it crashes.
Marc-André Moreau [Wed, 28 May 2014 14:38:32 +0000 (10:38 -0400)]
libwinpr-utils: extend wlog prefix format
Norbert Federa [Wed, 28 May 2014 14:22:32 +0000 (16:22 +0200)]
winpr: fixed non monolithic build issue
Norbert Federa [Wed, 28 May 2014 11:54:08 +0000 (13:54 +0200)]
winpr: rewrite named pipe sharing
Since commit
5e09e37d42bd8896a687df830a95f5cb56e4d47c was basically unfixable,
here is a slightly different approach that should hopefully solve all
discovered issues and race conditions.
Armin Novak [Tue, 27 May 2014 07:32:58 +0000 (09:32 +0200)]
Abortion check now just tests for quit in the queue.
Marc-André Moreau [Mon, 26 May 2014 21:54:39 +0000 (17:54 -0400)]
libwinpr-smartcard: add logging for each calls in smartcard inspector
Armin Novak [Mon, 26 May 2014 20:54:34 +0000 (22:54 +0200)]
Now processing input messages in async thread.
Marc-André Moreau [Mon, 26 May 2014 20:20:28 +0000 (16:20 -0400)]
Merge pull request #1866 from nfedera/fix-2014-05-26-01
winpr: fixed incorrect pipe reference count usage
Marc-André Moreau [Mon, 26 May 2014 19:57:37 +0000 (15:57 -0400)]
libwinpr-smartcard: start smartcard API inspector
Norbert Federa [Mon, 26 May 2014 19:24:34 +0000 (21:24 +0200)]
winpr: fixed incorrect pipe reference count usage
- refcount is only relevant for servermode
- refcount was used uninitialized in clientmode
- credit for fix goes to @bmiklautz
Bug was introduced by
5e09e37d42bd8896a687df830a95f5cb56e4d47c
Marc-André Moreau [Mon, 26 May 2014 18:46:42 +0000 (14:46 -0400)]
cmake: add option to override default library type for complex submodules
Armin Novak [Mon, 26 May 2014 17:09:25 +0000 (19:09 +0200)]
Fixed input_thread shutdown issue if not initiated by user.
Marc-André Moreau [Mon, 26 May 2014 17:01:40 +0000 (13:01 -0400)]
Merge pull request #1865 from awakecoding/master
Compression Cleanup
Marc-André Moreau [Mon, 26 May 2014 16:43:43 +0000 (12:43 -0400)]
Merge branch 'master' of github.com:FreeRDP/FreeRDP
Marc-André Moreau [Mon, 26 May 2014 16:43:30 +0000 (12:43 -0400)]
libfreerdp-codec: cleanup context state flushing
Marc-André Moreau [Mon, 26 May 2014 16:30:58 +0000 (12:30 -0400)]
libfreerdp-core: add new protocol metrics module
Marc-André Moreau [Mon, 26 May 2014 12:10:28 +0000 (08:10 -0400)]
Merge pull request #1864 from MartinHaimberger/namedpipefix
fixed introduced winpr bug in namedpipes
Martin Haimberger [Mon, 26 May 2014 10:04:22 +0000 (03:04 -0700)]
fixed introduced winpr bug in namedpipes
Bug was introduced by
5e09e37d42bd8896a687df830a95f5cb56e4d47c
Marc-André Moreau [Mon, 26 May 2014 01:59:36 +0000 (21:59 -0400)]
Merge pull request #1863 from awakecoding/master
RDP6.1 XCrush Bulk Compression
Marc-André Moreau [Mon, 26 May 2014 01:39:25 +0000 (21:39 -0400)]
libfreerdp-codec: fix xcrush level-1 compressor
Marc-André Moreau [Mon, 26 May 2014 01:21:51 +0000 (21:21 -0400)]
libfreerdp-codec: cleanup and fix XCrush context flush synchronization