dodo040
3e897a63cb
remove useless includes
2017-11-13 16:20:56 +01:00
dodo040
e0a9999fb2
fix: GSS API init, enterprise name management, variable names and format code
2017-11-13 16:20:56 +01:00
dodo040
0a3c61d305
fix undefined symbol references at linking stage
2017-11-13 16:20:56 +01:00
dodo040
b81f168f0e
initial commit for kerberos support
2017-11-13 16:20:55 +01:00
akallabeth
ff59cf028c
Merge pull request #4122 from ben-cohen/sshagent
...
Forward ssh-agent data between ssh-agent and RDP
2017-11-13 10:01:01 +01:00
David Fort
b85287fb62
Merge pull request #4212 from SriRamanujam/ffmpeg_encoder_fixes
...
Fix libavcodec encoding errors and set tunables.
2017-11-13 09:30:28 +01:00
Sri Ramanujam
fef3865ff2
Fallback #ifdefs for older versions of libavcodec
2017-11-12 17:31:22 -05:00
Ben Cohen
8d54945b96
Remove underscores from define in sshagent_main.h
2017-11-10 20:16:00 +00:00
Ben Cohen
6093ec62e0
Fix comments at the start of these files and adjust copyrights
2017-11-10 20:16:00 +00:00
Ben Cohen
badb70174a
Add server side plugin [UNTESTED]
...
This is based on xrdpapi/xrdp-ssh-agent.c from xrdp PR #867 .
2017-11-10 20:16:00 +00:00
Ben Cohen
c27541e9ac
Add rdpcontext so read thread can report channel error
...
Also fix copyright dates...
2017-11-10 20:16:00 +00:00
Ben Cohen
639930869a
Remove EAGAIN/EWOULDBLOCK from blocking read/write
2017-11-10 20:16:00 +00:00
Ben Cohen
7e262213ca
Fix socket fd leak and other changes
...
1. In connect_to_sshagent() if connect() fails, the socket agent_fd is
leaked. It needs to be closed before returning.
2. Fix copyright messages.
3. Make if statement with call to CreateThread() clearer to read.
2017-11-10 20:16:00 +00:00
Ben Cohen
0e90841a18
Forward ssh-agent data between ssh-agent and RDP
...
Add the sshagent plugin to forward the ssh-agent protocol over an RDP
dynamic virtual channel, just as the normal ssh-agent forwards it over
an SSH channel. Add the "/ssh-agent" command line option to enable it.
Usage:
Run FreeRDP with the ssh-agent plugin enabled:
xfreerdp /ssh-agent ...
In the remote desktop session run xrdp-ssh-agent and evaluate the output
in the shell as for ssh-agent to set the required environment variables
(specifically $SSH_AUTH_SOCK):
eval "$(xrdp-ssh-agent -s)"
This is the same as for the normal ssh-agent. You would typically do
this in your Xsession or /etc/xrdp/startwm.sh.
Limitations:
1. Error checking and handling could be improved.
2. This is only tested on Linux and will only work on systems where
clients talk to the ssh-agent via Unix domain sockets. It won't
currently work on Windows but it could be ported.
2017-11-10 20:16:00 +00:00
akallabeth
fcc9419922
Merge pull request #4225 from krisztian-kovacs-balabit/use-redirection-pdu-password-on-reconnect
...
core/connection: use redirection password when reconnecting
2017-11-10 09:32:39 +01:00
David Fort
dcafd4dacd
Merge pull request #4226 from krisztian-kovacs-balabit/open-x509-keyfile-readonly
...
libfreerdp/core/certificate: open key file for reading only
2017-11-09 18:11:12 +01:00
Sri Ramanujam
66c925c9e4
Fix libavcodec encoding errors and set tunables.
2017-11-09 11:39:54 -05:00
KOVACS Krisztian
c13c9035eb
libfreerdp/core/certificate: open key file for reading only
...
There's no point in writing the key file for read-write, and it makes it
impossible to run the shadow server with the key file being read only.
2017-11-09 16:54:22 +01:00
Martin Fleisz
7717a42f6c
Merge pull request #4224 from krisztian-kovacs-balabit/nsc-memory-corruption-fix
...
codec/nsc: fix memory corruption in case of chroma subsampling
2017-11-09 16:24:46 +01:00
David Fort
da6562acae
Merge pull request #4163 from rjcorrig/tzscripts
...
winpr: Convert time zone generator programs to C# scripts
2017-11-09 15:26:06 +01:00
David Fort
960b992f76
Merge pull request #4151 from ondrejholy/manpages-update-master
...
Manpage and /help update
2017-11-09 15:24:27 +01:00
KOVACS Krisztian
70c65e70d1
core/connection: use redirection password when reconnecting
...
According to MS-RDPBCGR the server might send a password in the Redirection PDU
that then must be sent by the client to the server as password.
Since the field either contains a password string (unicode) or a binary cookie,
we try to convert the password from unicode and use it only if conversion
succeeds.
2017-11-09 14:46:38 +01:00
KOVACS Krisztian
d396258866
codec/nsc: fix memory corruption in case of chroma subsampling
...
For odd number of rows, the memory copy operation was broken: after exiting
the loop, yplane points to the end of the last row data, and thus (yplane +
rw) points *after* the end of the last row.
2017-11-09 14:38:46 +01:00
David Fort
5189814930
Merge pull request #4223 from akallabeth/mac_client_crash_fix
...
Added missing pointer callback.
2017-11-09 13:35:56 +01:00
Armin Novak
83bcdc56b1
Added missing pointer callback.
2017-11-09 10:22:54 +01:00
Martin Fleisz
d5344c3396
Merge pull request #4219 from akallabeth/various_fixes
...
Various fixes
2017-11-09 09:37:18 +01:00
Martin Fleisz
ed1934cafe
Merge pull request #4211 from akallabeth/silence_duplicate_warnings
...
Silence WLog_ERR messages if last error is set.
2017-11-08 13:34:26 +01:00
Martin Fleisz
bd218470fd
Merge pull request #4214 from hardening/serial_fixes
...
Serial fixes
2017-11-08 13:04:04 +01:00
Armin Novak
5dc8763b2c
Fixed compilation errors with old FFMPEG versions.
2017-11-08 12:55:11 +01:00
Armin Novak
b86c0ba548
Fixed NLA default error to FREERDP_ERROR_AUTHENTICATION_FAILED
2017-11-08 11:32:34 +01:00
David Fort
de7d7e43c9
serial redirection: implement event char
...
The signotec signature device requires the eventChar support to work properly in
serial redirection mode. This implementation is basic but does the job for this
device.
Sponsored by: Rangee GmbH (http://www.rangee.de )
2017-11-06 22:26:17 +01:00
David Fort
ff8f7e9474
Disambiguate USB error messages and fix a typo
2017-11-06 22:09:01 +01:00
David Fort
2aa71ea7e4
Added some checks for the serial redirection channel
...
Sponsored by: Rangee GmbH (http://www.rangee.de )
2017-11-06 22:06:43 +01:00
David Fort
b216e91cdd
Merge pull request #4210 from akallabeth/nla_errors_extended
...
Added additional NLA error mappings.
2017-11-06 14:23:50 +01:00
Armin Novak
ce00f4dd8f
Silence WLog_ERR messages if last error is set.
2017-11-06 14:02:22 +01:00
David Fort
504b771686
Merge pull request #4053 from akallabeth/ffmpeg_encoder
...
Implemented FFMPEG based encoder.
2017-11-06 11:25:48 +01:00
akallabeth
6845974cc1
Merge pull request #4200 from cedrozor/upstream-master
...
Windows client: refresh only updated region(s) instead of whole screen
2017-11-06 10:22:37 +01:00
akallabeth
e7b8833e9e
Merge pull request #4187 from hardening/multimon_fix
...
Multimonitor fix
2017-11-06 10:02:07 +01:00
Armin Novak
7a73a0eb1b
Added additional NLA error mappings.
2017-11-06 09:49:03 +01:00
David Fort
c4aaf5bc6c
Merge pull request #4206 from akallabeth/x_window_title
...
X11 window title fix
2017-11-03 21:34:18 +01:00
Armin Novak
afb08c9dfb
X11 window title fix
2017-10-31 18:00:15 +01:00
Martin Fleisz
5416c2724b
Merge pull request #4205 from akallabeth/WIN32_FIND_DATA
...
Fixed #4199 : ConvertFindDataAToW string length
2017-10-31 17:17:43 +01:00
Armin Novak
269c78802d
Fixed #4199 : ConvertFindDataAToW string length
2017-10-31 16:52:08 +01:00
akallabeth
716ce5feb2
Merge pull request #4159 from aleksei-klv/dex
...
Optimized aFreeRDP for Samsung DeX
2017-10-31 15:36:22 +01:00
Martin Fleisz
3f6b8b786d
Merge pull request #4179 from akallabeth/android_cleanup_fix
...
[android] Ensure native session is disconnected before resource free.
2017-10-31 11:42:58 +01:00
Martin Fleisz
b52a6f7b3c
Merge pull request #4204 from lunixoid/master
...
Fixed twice assigned values
2017-10-31 09:55:43 +01:00
Roman Kalashnikov
40d84d4be1
Fixed twice assigned values
2017-10-31 00:11:25 +03:00
Mike Gilbert
5b34c033a7
Merge pull request #4203 from floppym/mkdir-error
...
winpr: _IoCreateDeviceEx: fix mkdir error check
2017-10-30 12:29:58 -04:00
Mike Gilbert
5cd230ac74
winpr: _IoCreateDeviceEx: fix mkdir error check
...
The mkdir(2) function returns 0 on success, and -1 on error.
This resolves an error in TestIoDevice when /tmp/.device/ does not
exist.
Bug: https://bugs.gentoo.org/635838
2017-10-30 11:59:35 -04:00
akallabeth
edd6ca0d7c
Merge pull request #4201 from kakaroto/listener-unlink-bugfix
...
Do not delete the listener socket right after creating it.
2017-10-30 15:47:02 +01:00