Jiri Sasek [Fri, 18 Aug 2017 17:17:17 +0000 (19:17 +0200)]
SOCKS proxy support
Martin Fleisz [Thu, 19 Apr 2018 09:04:08 +0000 (11:04 +0200)]
Merge pull request #4539 from p-pautov/rdg_fixes
RDG HTTP transport fixes and refactoring
Martin Fleisz [Wed, 18 Apr 2018 12:50:31 +0000 (14:50 +0200)]
Merge pull request #4543 from oshogbo/master
Fix variable passsed to HashCallback with MIC.
Mariusz Zaborski [Tue, 17 Apr 2018 13:03:27 +0000 (15:03 +0200)]
Remove MessageIntegrityCheck from context.
akallabeth [Tue, 17 Apr 2018 08:51:49 +0000 (10:51 +0200)]
Merge pull request #4572 from weberhofer/patch-1
Include geometry.h in video channel
Johannes Weberhofer [Tue, 17 Apr 2018 06:20:54 +0000 (08:20 +0200)]
Include geometry.h in video channel
Fix for #4562
Pavel Pautov [Thu, 5 Apr 2018 20:12:20 +0000 (13:12 -0700)]
Avoid buffer to struct cast.
Pavel Pautov [Thu, 5 Apr 2018 02:08:26 +0000 (19:08 -0700)]
Send correct packet size in case of PAA. Some cleanup.
Pavel Pautov [Thu, 5 Apr 2018 02:08:20 +0000 (19:08 -0700)]
Content-Length and Transfer-Encoding are mutually exclusive.
Pavel Pautov [Thu, 5 Apr 2018 02:08:08 +0000 (19:08 -0700)]
Consolidate IN/OUT data connections establishment into common function and clean up related code.
Pavel Pautov [Thu, 5 Apr 2018 02:08:00 +0000 (19:08 -0700)]
Move NTLM auth related code into dedicated functions.
Pavel Pautov [Thu, 5 Apr 2018 02:07:52 +0000 (19:07 -0700)]
Consolidate rdg_tls_out_connect/rdg_tls_in_connect into single function. This also fixes connections to RDG server via proxy.
Pavel Pautov [Thu, 5 Apr 2018 02:07:33 +0000 (19:07 -0700)]
Removed unused "readEvent" - no one checks if it was set.
Removed needless rdg_check_event_handles declaration.
Pavel Pautov [Thu, 5 Apr 2018 02:07:25 +0000 (19:07 -0700)]
Consolidate rdg_send_in_channel_request/rdg_send_out_channel_request into single function.
Pavel Pautov [Thu, 5 Apr 2018 02:07:11 +0000 (19:07 -0700)]
Explicitly skip "seed" payload on RDG OUT connection, to avoid issues when it's split over several SSL records.
Pavel Pautov [Thu, 5 Apr 2018 02:06:59 +0000 (19:06 -0700)]
Moved some repeated "read all" code into function.
Bernhard Miklautz [Thu, 12 Apr 2018 13:52:38 +0000 (15:52 +0200)]
Merge pull request #4567 from akallabeth/sanitizer_checks_refined
Refined checks for sanitizers.
David Fort [Thu, 12 Apr 2018 13:25:35 +0000 (15:25 +0200)]
Merge pull request #4568 from akallabeth/rails_bad_window_fix
Check for window existence in remote app mode before access
Armin Novak [Thu, 12 Apr 2018 12:39:37 +0000 (14:39 +0200)]
Check for window existence in remote app mode before access
X11 is asynchronous, so events arriving in xf_event_PropertyNotify
may access a window that has already been discarded. Check that before
reading properties.
Armin Novak [Thu, 12 Apr 2018 09:49:43 +0000 (11:49 +0200)]
Refined checks for sanitizers.
Martin Fleisz [Thu, 12 Apr 2018 10:10:56 +0000 (12:10 +0200)]
Merge pull request #4557 from akallabeth/connect_error_fix
Set connection error if TCP connect fails.
David Fort [Thu, 12 Apr 2018 09:11:57 +0000 (11:11 +0200)]
Merge pull request #4544 from oshogbo/nSize
Don't restrict the hostname size.
Martin Fleisz [Thu, 12 Apr 2018 08:43:34 +0000 (10:43 +0200)]
Merge pull request #4547 from andreesteve/gatewayip
Gateway client (RDG) must connect to same IP/server for both channels
Martin Fleisz [Wed, 11 Apr 2018 15:10:48 +0000 (17:10 +0200)]
Merge pull request #4563 from oshogbo/pointer
Don't assume that the pointer function are set.
Mariusz Zaborski [Wed, 11 Apr 2018 14:01:45 +0000 (16:01 +0200)]
Don't assume that the pointer function are set.
Norbert Federa [Wed, 11 Apr 2018 12:45:35 +0000 (14:45 +0200)]
Merge pull request #4561 from bmiklautz/200dev3
build: set version to 2.0.0-dev3
Bernhard Miklautz [Wed, 11 Apr 2018 11:36:33 +0000 (13:36 +0200)]
build: set version to 2.0.0-dev3
start 2.0.0-rc3 development cycle
Martin Fleisz [Wed, 11 Apr 2018 11:25:31 +0000 (13:25 +0200)]
Merge pull request #4560 from bmiklautz/200rc2
release: version 2.0.0-rc2
Bernhard Miklautz [Wed, 11 Apr 2018 10:44:06 +0000 (12:44 +0200)]
release: version 2.0.0-rc2
Bernhard Miklautz [Wed, 11 Apr 2018 09:01:38 +0000 (11:01 +0200)]
Merge pull request #3542 from akallabeth/thread_sanitizer
Added memory and thread sanitizer.
Bernhard Miklautz [Wed, 11 Apr 2018 08:59:27 +0000 (10:59 +0200)]
Merge pull request #4558 from mfleisz/openssl11_fix_win
cmake: Fix finding OpenSSL 1.1.0 libs on Windows platforms
Bernhard Miklautz [Wed, 11 Apr 2018 08:49:44 +0000 (10:49 +0200)]
Merge pull request #4322 from akallabeth/rail_fixes
Rail fixes for GFX mode
Martin Fleisz [Wed, 11 Apr 2018 08:18:46 +0000 (10:18 +0200)]
cmake: Fix finding OpenSSL 1.1.0 libs on Windows platforms
Armin Novak [Wed, 11 Apr 2018 07:00:32 +0000 (09:00 +0200)]
Set connection error if TCP connect fails.
Andre Esteve [Thu, 15 Mar 2018 05:37:30 +0000 (22:37 -0700)]
Gateway (RDG) use same IP for both channels
Martin Fleisz [Tue, 10 Apr 2018 09:12:31 +0000 (11:12 +0200)]
Merge pull request #4552 from perkerk/win-10-cursors-again
Fix Windows 10 cursors drawing as black
Eric Brown [Tue, 10 Apr 2018 07:55:15 +0000 (02:55 -0500)]
Fix issues found by build bot
Eric Brown [Mon, 9 Apr 2018 18:59:42 +0000 (13:59 -0500)]
Fix Windows 10 cursors drawing as black
akallabeth [Mon, 9 Apr 2018 17:00:48 +0000 (19:00 +0200)]
Merge pull request #4551 from oshogbo/nego_0
Fix setting of negotiated security protocol.
Mariusz Zaborski [Mon, 9 Apr 2018 15:13:22 +0000 (17:13 +0200)]
Fix setting of negotiated security protocol.
PROTOCOL_RDP is equals 0 so if we and it with anything is still 0.
Correct way of doing it is to compare two values.
Bernhard Miklautz [Mon, 9 Apr 2018 14:26:18 +0000 (16:26 +0200)]
Merge pull request #4549 from oshogbo/krb
Fix checking of krb in encrypt public key echo.
Mariusz Zaborski [Mon, 9 Apr 2018 13:04:52 +0000 (15:04 +0200)]
Fix checking of krb in encrypt public key echo.
In commit
0e1a073384ddd1382f6a0619177cf0b601ad973c there was a mistake -
originally code said different then kerberos. Because of that NLA authentication
of server side didn't work for me.
David Fort [Mon, 9 Apr 2018 07:22:18 +0000 (09:22 +0200)]
Merge pull request #4540 from akallabeth/warning_fixes_v2
Warning fixes v2
Mariusz Zaborski [Fri, 6 Apr 2018 19:15:15 +0000 (21:15 +0200)]
Fix variable passsed to HashCallback with MIC.
The value in the context is not set yet and we need one from
authentication message.
Mariusz Zaborski [Fri, 6 Apr 2018 19:07:51 +0000 (21:07 +0200)]
There is no reason to restrict nSize to 2 the hostname can be empty on
UNIX-like machines.
Armin Novak [Fri, 6 Apr 2018 09:34:24 +0000 (11:34 +0200)]
Fixed RDP debug message invalid function.
Armin Novak [Mon, 10 Oct 2016 17:17:21 +0000 (19:17 +0200)]
Added memory and thread sanitizer.
Armin Novak [Thu, 5 Apr 2018 08:49:24 +0000 (10:49 +0200)]
Fixed format string mismatch.
Armin Novak [Thu, 5 Apr 2018 08:48:45 +0000 (10:48 +0200)]
Fixed type mismatches with H264 backend buffer pointers.
Armin Novak [Thu, 5 Apr 2018 08:47:50 +0000 (10:47 +0200)]
Fix pointer type mismatch struct sockaddr_storage* and struct sockaddr*
MartinHaimberger [Thu, 5 Apr 2018 08:20:43 +0000 (10:20 +0200)]
Merge pull request #4535 from akallabeth/warning_fixes
Warning fixes
MartinHaimberger [Thu, 5 Apr 2018 08:17:51 +0000 (10:17 +0200)]
Merge pull request #4481 from akallabeth/fastpath_fix
Fastpath uncompressed length issue
akallabeth [Thu, 5 Apr 2018 05:35:40 +0000 (07:35 +0200)]
Merge pull request #4538 from mfleisz/win_ipv6_fix
core: Fix IPv6 handling on Windows
Martin Fleisz [Wed, 4 Apr 2018 15:19:18 +0000 (17:19 +0200)]
core: Fix IPv6 handling on Windows
On Windows the sockaddr struct is smaller than sockaddr_in6.
This causes getsockname to fail because the buffer is too small.
The new code uses sockaddr_storage which should be large enough to
hold any supported protocol address structure.
See: http://pubs.opengroup.org/onlinepubs/
009696699/basedefs/sys/socket.h.html
Armin Novak [Wed, 4 Apr 2018 11:23:14 +0000 (13:23 +0200)]
Simplified fastpath buffer handling.
Armin Novak [Tue, 13 Mar 2018 08:32:14 +0000 (09:32 +0100)]
Fixed missing return value checks.
MartinHaimberger [Wed, 4 Apr 2018 10:52:39 +0000 (12:52 +0200)]
Merge pull request #4514 from akallabeth/com_lpt_fix
Com lpt fix
Armin Novak [Wed, 4 Apr 2018 08:46:14 +0000 (10:46 +0200)]
Fixed XPixmap checks.
Armin Novak [Wed, 4 Apr 2018 08:45:57 +0000 (10:45 +0200)]
Fixed format string types.
Armin Novak [Wed, 4 Apr 2018 08:45:32 +0000 (10:45 +0200)]
Removed unnecessary range check.
Armin Novak [Wed, 4 Apr 2018 08:45:07 +0000 (10:45 +0200)]
Fixed integer to float type cast.
Armin Novak [Wed, 4 Apr 2018 08:44:51 +0000 (10:44 +0200)]
Fixed printf format string.
Armin Novak [Wed, 4 Apr 2018 08:43:31 +0000 (10:43 +0200)]
Fixed intrinsic integer overflow.
Adding 128 in 8bit is not possible due to range [-128,127].
Instead subtract -128, that should eliminate the overflow.
akallabeth [Wed, 4 Apr 2018 08:35:47 +0000 (10:35 +0200)]
Merge pull request #4457 from RangeeGmbH/fix_custom_sizes
Fix /size: /w: /h: with /monitors: (Fix custom sizes)
MartinHaimberger [Wed, 4 Apr 2018 08:12:04 +0000 (10:12 +0200)]
Merge pull request #4472 from akallabeth/win_mouse_button
[WIN] Added additional mouse mappings.
MartinHaimberger [Wed, 4 Apr 2018 08:06:07 +0000 (10:06 +0200)]
Merge pull request #4477 from akallabeth/command_line_fix
Detect command line flags in case RDP or MSINCIDENT files are used.
MartinHaimberger [Wed, 4 Apr 2018 08:04:58 +0000 (10:04 +0200)]
Merge pull request #4416 from akallabeth/audin_fix
Audin fix
Martin Fleisz [Wed, 4 Apr 2018 07:32:46 +0000 (09:32 +0200)]
Merge pull request #4529 from akallabeth/wlog_cleanup_fix
Fix #4524: Initialize with cleanup handler
akallabeth [Tue, 3 Apr 2018 13:52:35 +0000 (15:52 +0200)]
Merge pull request #4519 from mfleisz/cssp_nonce_fix
cssp: Fix handling of nonce
akallabeth [Tue, 3 Apr 2018 13:04:32 +0000 (15:04 +0200)]
Merge pull request #4532 from RangeeGmbH/cmdline_spelling
Fix spelling of network commandline values
Kai Harms [Tue, 3 Apr 2018 12:12:58 +0000 (12:12 +0000)]
Fix spelling of network commandline values
Armin Novak [Tue, 3 Apr 2018 12:04:22 +0000 (14:04 +0200)]
Use __attribute__((destructor)) on non windows systems.
atexit in shared libraries is not universally supported.
Armin Novak [Tue, 3 Apr 2018 11:06:41 +0000 (13:06 +0200)]
Removed all calls to WLog_Init and WLog_Uninit
Since the calls are no longer required remove their usage.
Armin Novak [Tue, 3 Apr 2018 10:55:17 +0000 (12:55 +0200)]
Removed winpr_exit
As the cleanup functions are called by atexit a dedicated
cleanup call is no longer required.
akallabeth [Tue, 3 Apr 2018 08:22:08 +0000 (10:22 +0200)]
Merge pull request #4527 from jkaivo/master
PCB support
Armin Novak [Tue, 3 Apr 2018 07:59:42 +0000 (09:59 +0200)]
Fix #4524: Initialize with cleanup handler
Use singleton initializer and register cleanup handler for logger.
Jakob Kaivo [Sun, 1 Apr 2018 02:15:39 +0000 (22:15 -0400)]
add support for the "pcb" block in .rdp files provided by Project Honolulu in the VM interface
Bernhard Miklautz [Fri, 30 Mar 2018 15:20:50 +0000 (17:20 +0200)]
Merge pull request #4522 from UndefBehavior/fix_SCardStatusW
Fix SCardStatusW function
UndefBehavior [Fri, 30 Mar 2018 14:11:24 +0000 (07:11 -0700)]
Fix SCardStatusW function
Terminating null character was inserted in the middle of readerNames instead of
last position in the unicode version of SCardStatus function.
This commit fix it.
Martin Fleisz [Thu, 29 Mar 2018 13:50:16 +0000 (15:50 +0200)]
cssp: Fix handling of nonce
Kai Harms [Mon, 26 Feb 2018 14:38:16 +0000 (14:38 +0000)]
Fix /size: /w: /h: with /monitor: (Fix custom sizes)
Fix weird rectangle by removing checks
Armin Novak [Fri, 9 Feb 2018 13:04:10 +0000 (14:04 +0100)]
Fixed #4412: memory corruption in audin channel.
Armin Novak [Fri, 9 Feb 2018 12:49:58 +0000 (13:49 +0100)]
Audin channel use dynamic logger where possible.
Bernhard Miklautz [Mon, 26 Mar 2018 12:31:14 +0000 (14:31 +0200)]
Merge pull request #4513 from chipitsine/travis-new
initial travis-ci support
akallabeth [Mon, 26 Mar 2018 11:09:11 +0000 (13:09 +0200)]
Merge pull request #4512 from chipitsine/master
resolve several possible null pointer dereference
Ilya Shipitsin [Sun, 25 Mar 2018 16:38:46 +0000 (21:38 +0500)]
initial travis-ci support
Ilya Shipitsin [Sat, 24 Mar 2018 12:46:39 +0000 (17:46 +0500)]
resolve several possible null pointer dereference
issue detected by cppcheck
[channels/drive/client/drive_main.c:454] -> [channels/drive/client/drive_main.c:443]: (warning) Either the condition '!irp' is redundant or there is possible null pointer dereference: irp.
[client/X11/xf_window.c:582] -> [client/X11/xf_window.c:580]: (warning) Either the condition '!xfc' is redundant or there is possible null pointer dereference: xfc.
[winpr/libwinpr/path/test/TestPathShell.c:40] -> [winpr/libwinpr/path/test/TestPathShell.c:43]: (warning) Either the condition '!path' is redundant or there is possible null pointer dereference: path.
[winpr/libwinpr/path/test/TestPathShell.c:49] -> [winpr/libwinpr/path/test/TestPathShell.c:52]: (warning) Either the condition '!path' is redundant or there is possible null pointer dereference: path.
akallabeth [Fri, 23 Mar 2018 13:12:19 +0000 (14:12 +0100)]
Merge pull request #4510 from mfleisz/cssp_version_fix
cssp: Separate client/server version handling (#4502)
Martin Fleisz [Fri, 23 Mar 2018 11:12:08 +0000 (12:12 +0100)]
cssp: Separate client/server version handling (#4502)
Armin Novak [Fri, 23 Mar 2018 10:21:13 +0000 (11:21 +0100)]
Added debug message.
Armin Novak [Fri, 23 Mar 2018 09:44:32 +0000 (10:44 +0100)]
Removed reserved COM and LPT check.
Bernhard Miklautz [Thu, 22 Mar 2018 16:03:52 +0000 (17:03 +0100)]
Merge pull request #4508 from h3xx/fix-ccache-support
Fix ccache support
Dan Church [Wed, 21 Mar 2018 16:57:36 +0000 (11:57 -0500)]
Fix ccache support
Setting the compiler launcher to "ccache" is the recommended way of
enabling ccache for the build.
If cmake is run with it defined, it causes an error when ccache tries to
run:
ccache: error: Recursive invocation (the name of the ccache binary must be "ccache")
This was because the compiler was getting invoked as
"ccache ccache [COMPILER]"
David Fort [Wed, 21 Mar 2018 13:19:51 +0000 (14:19 +0100)]
Merge pull request #4469 from akallabeth/win_server_fix
Fixed windows shadow server update copy.
akallabeth [Wed, 21 Mar 2018 12:36:46 +0000 (13:36 +0100)]
Merge pull request #4504 from mfleisz/cssp_warnings
cssp: Fix warnings (#4503)
Martin Fleisz [Wed, 21 Mar 2018 10:30:02 +0000 (11:30 +0100)]
cssp: Fix warnings (#4503)
akallabeth [Wed, 21 Mar 2018 11:34:46 +0000 (12:34 +0100)]
Merge pull request #4505 from bmiklautz/nightlies_bionic
pkg freerdp-nightly: fix build on bionic
Bernhard Miklautz [Wed, 21 Mar 2018 11:00:01 +0000 (12:00 +0100)]
pkg freerdp-nightly: fix build on bionic
akallabeth [Tue, 20 Mar 2018 10:02:40 +0000 (11:02 +0100)]
Merge pull request #4499 from mfleisz/cssp_v6
cssp: Add support for protocol version 6
Martin Fleisz [Tue, 20 Mar 2018 08:57:30 +0000 (09:57 +0100)]
cssp: Add support for protocol version 6