Vic Lee
02595df976
tls: WSAGetLastError should be used on Windows to check system socket error.
2014-04-29 23:05:30 +08:00
Vic Lee
c8848fe4c8
tls: do not kill the connection for non-fatal openssl error codes.
2014-04-29 21:48:11 +08:00
Bernhard Miklautz
b817e92e5e
cmake: mark required libraries for export
2014-04-23 10:16:02 +02:00
Marc-André Moreau
94f2a52196
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2014-04-14 14:17:37 -04:00
Hardening
1d1844aabd
Treat OOM cases
2014-04-09 16:07:06 +02:00
Benoit LeBlanc
6f99f252d9
Fix windows compilation
2014-04-04 10:08:44 -04:00
Marc-André Moreau
feea87b42f
libfreerdp-crypto: make distinction between TLS connection error and user cancellation
2014-04-01 16:23:27 -04:00
Hardening
ac7507ab8d
Adds some check to treat OOM problems + RDP security fix
...
Malloc can fail so it will, this patch adds some check in some places
where malloc/strdup results were not checked.
This patch also contains a server side fix for RDP security (credit to nfedera).
The signature len was badly set in the GCC packet. And some other RDP security
oriented fixes are also there.
2014-03-25 23:13:08 +01:00
Marc-André Moreau
14b75d1b27
libfreerdp-core: fix build warnings and windows broken build
2014-03-25 15:19:52 -04:00
Benoît LeBlanc
3e1dfc6311
updated context error messages. utility macros for getting error code CLASS/TYPE
2014-03-21 13:45:43 -04:00
Benoît LeBlanc
d1b9565f51
Added context-specific error management.
...
Added error codes to replace connectErrorCode.
2014-03-20 18:19:54 -04:00
Benoît LeBlanc
557c082458
Merge branch 'master' of git://github.com/awakecoding/FreeRDP
2014-03-05 16:35:22 -05:00
Marc-André Moreau
951368a1ce
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2014-02-27 13:58:29 -05:00
Christian Hofstaedtler
5a74bd7bdb
Fix assertion abort when no CN is present in certificate
...
Triggered by Windows Server 2012 Admin-Mode with MS-recommended AD CA
Certificate setup, which would cause the CN to be absent, and a single
subjectAltName to be present.
2014-02-14 15:25:48 +01:00
Marc-André Moreau
cdcd290c44
wfreerdp: fix most build warnings
2014-02-10 22:12:13 -05:00
Benoît LeBlanc
44e7d2f36c
error handling in rpc and transport functions
2013-12-20 17:56:59 -05:00
Marc-André Moreau
51ad85e0ee
libfreerdp-core: send Access Denied TLS alert when server-side NLA fails
2013-12-18 19:44:18 -05:00
Marc-André Moreau
9d745cc038
Merge branch 'master' of github.com:mrthebunny/FreeRDP
2013-12-11 12:22:33 -05:00
Marc-André Moreau
62199fc46a
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2013-12-10 11:54:03 -05:00
Benoît LeBlanc
8c1f836ac8
- SSL verification callback: send correct hostname and port
...
- Gateway Authentication callback.
- Handling “use same credentials”
2013-12-06 22:15:45 -05:00
Bernhard Miklautz
6763e059c3
tls: handle the case if endpoint has disconnected
2013-12-04 15:36:25 +01:00
Benoît LeBlanc
6a60f79e07
Merge branch 'master' of git://github.com/awakecoding/FreeRDP
...
# By Bernhard Miklautz (10) and others
# Via Marc-André Moreau (10) and Martin Fleisz (1)
* 'master' of git://github.com/awakecoding/FreeRDP: (32 commits)
libfreerdp-crypto: add robustness checks for VerifyX509Certificate
mfreerdp: fix possible crash on gdi termination
channels/cliprdr: add callback for data request response
channels/cliprdr: fix conflict with CLIPRDR_HEADER
fix a gdi leak bug.
channels/cliprdr: implement more of the callback interface
channels/cliprdr: start implementing clean callback interface
channels/rdpsnd: initial attempt at adding GSM610 support
winpr-thread: fixed bugs in _CreateProcessExA
ffmpeg-2 -- CodecID
ffmpeg-2 -- dsp_mask
ffmpeg-2 -- AVCODEC_MAX_AUDIO_FRAME_SIZE
check return value.
reformat coding styles.
fix name length to copy.
fix memory realloc size error.
libfreerdp-crypto: don't report SSL_ERROR_SYSCALL with errno value 0 as error
channels/rdpsnd: add wlog debug output
android toolchain: support for ndk r9b
android toolchain: fixed cmake syntax warning
...
2013-11-25 14:40:01 -05:00
Benoît LeBlanc
56c517170f
Added hostname and port to callback function for SSL certification verification.
2013-11-25 14:30:43 -05:00
Marc-André Moreau
4987f2b0e1
libfreerdp-crypto: add robustness checks for VerifyX509Certificate
2013-11-25 12:08:58 -05:00
Marc-André Moreau
690a6b624d
libfreerdp-crypto: don't report SSL_ERROR_SYSCALL with errno value 0 as error
2013-11-20 15:21:29 -05:00
Marc-André Moreau
b0369cf284
libfreerdp-core: add external certificate management, pass X509 PEM certificate through client callback
2013-11-18 13:54:33 -05:00
Armin Novak
6f43252c9a
Fixed argument check in <tls_disconnect>
2013-11-14 10:09:40 +01:00
Marc-André Moreau
1fc2d780f7
libfreerdp-core: fix memory leaks reported by valgrind
2013-10-31 23:35:24 -04:00
Marc-André Moreau
55565e056c
freerdp: export targets
2013-10-28 23:06:39 -04:00
Marc-André Moreau
8c4b1361d1
libfreerdp-core: merge with TSG TLS update
2013-10-28 20:20:18 -04:00
Dan Bungert
66ecabb647
Final cleanups - merge ready.
2013-10-28 16:59:02 -06:00
Dan Bungert
f02daaa2d5
More cleanups - remove LWD and all references.
2013-10-28 15:46:28 -06:00
Dan Bungert
cefcac3414
more debug
2013-10-25 15:29:46 -06:00
Dan Bungert
f13c8a0be7
Logging
2013-10-25 10:43:21 -06:00
Marc-André Moreau
b5dd670e73
libfreerdp-core: extend OpenSSL TSG BIO
2013-10-24 12:56:43 -06:00
Marc-André Moreau
bd6760bd13
libfreerdp-core: start implement TSG OpenSSL BIO
2013-10-24 12:56:43 -06:00
Marc-André Moreau
d30f66b1b7
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2013-10-23 14:18:40 -04:00
Benoît LeBlanc
5bfca61261
setting pointers to NULL after freeing memory to avoid crashes.
...
gitignore: only top-level "external" folder is ignored.
2013-10-22 17:05:41 -04:00
Daryl Poe
076b8a84c2
commandline session reconnect
2013-10-22 09:14:29 -06:00
Benoît LeBlanc
801c1fe1d6
- Fixed crash in tls_read (unchecked null pointer)
...
- also check for empty string on username and password to launch authentication callback
2013-10-18 16:23:29 -04:00
Marc-André Moreau
3fe3cdf876
libfreerdp-core: extend OpenSSL TSG BIO
2013-10-11 15:27:22 -04:00
Marc-André Moreau
08eadc2ee3
libfreerdp-core: start implement TSG OpenSSL BIO
2013-10-11 06:12:50 -04:00
Marc-André Moreau
c058095251
libfreerdp-core: cleanup TS Gateway code
2013-10-11 05:07:33 -04:00
Armin Novak
ddab90ece4
Fixed alt_names free, now using cleanup function to wrap details.
2013-09-05 12:14:35 +02:00
Armin Novak
e5c138a5b9
Fixed various memory leaks, allocation size issues and API misuse
...
warnings shown by clang as well as some compiler warnings.
2013-09-05 12:14:34 +02:00
Armin Novak
a3b531c036
Fixed issues found with clang-analyzer
2013-09-05 12:14:33 +02:00
Armin Novak
1e2455fa4a
Fixed various memory leaks and compiler warnings.
2013-09-05 12:14:33 +02:00
Armin Novak
e9be3e9500
Fixed coverity issue 1047607
2013-09-05 12:14:32 +02:00
Armin Novak
c7abfb8fa1
Fixed coverity issue 1047608
2013-09-05 12:14:32 +02:00
Armin Novak
0575197960
Fixed coverity issue 1047609
2013-09-05 12:14:32 +02:00
Daryl Poe
f71f179c28
fix per-device CAL licensing
...
(cherry picked from commit d6d0d81d08
)
2013-08-26 09:37:48 +02:00
Marc-André Moreau
5f4f3af98a
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2013-07-04 20:33:00 -04:00
Marc-André Moreau
bc631c93a8
freerdp: separate GatewayUsageMethod from GatewayEnabled
2013-07-03 15:07:12 -04:00
Bernhard Miklautz
87e9a24b1e
tls: updated certificate mismatch message
...
Added information to the message if the name found is an CN or an
alternative name. Also print a message if no CN was not found instead
of (null).
2013-07-01 19:21:57 +02:00
Marc-André Moreau
863b51f938
freerdp: merge with master
2013-06-28 12:50:24 -04:00
Chris
44f6f16953
Fixed a possible buffer overflow issue
2013-06-17 21:49:29 +02:00
Chris
cd548da226
Using the more efficient code for comparing host names
2013-06-17 21:26:35 +02:00
Chris
13466349bc
1) Add support for Wildcard Certificates
...
2) For Gateway connections compare against gateway host name instead of target host
2013-06-17 21:19:01 +02:00
Marc-André Moreau
e405fe2692
libfreerdp-crypto: create server directory for certificates
2013-06-06 16:45:19 -04:00
Marc-André Moreau
2bd6808432
freerdp: merge with master
2013-06-05 10:31:01 -04:00
Marc-André Moreau
6e0cbdddb1
Merge pull request #1261 from simon-engledew/master
...
Ber Encoding Issue
2013-06-03 16:41:29 -07:00
Hardening
f37cd53769
Fixed a memory leak with alternative names
2013-06-01 22:37:49 +02:00
Marc-André Moreau
2a08093e60
libfreerdp-crypto: fix openssl null pointer dereferencing in tls_accept
2013-05-30 19:44:58 -04:00
Simon Engledew
bceec08367
Finished merging missing changes from pull request #1257 ( https://github.com/FreeRDP/FreeRDP/pull/1257 - commit 0dc22d5
). Correctly report the length of ts_password_creds.
2013-05-22 14:29:33 +01:00
Marc-André Moreau
ac86310993
Merge pull request #1257 from simon-engledew/master
...
Ber Encoding Issue
2013-05-22 05:06:52 -07:00
Simon Engledew
0dc22d5a30
Fixed a range of BER boundary encoding bugs which would occur when any NLA packet hit the 127 character mark. Removed ber#get_content_length as it was not behaving deterministically.
2013-05-21 16:06:00 +01:00
Bernhard Miklautz
9e59fc905d
client: print detected path to known_host file
...
Use detected path instead of hard coded for error messages
2013-05-21 15:48:27 +02:00
Marc-André Moreau
3c2687b7d6
libfreerdp-crypto: handle EAGAIN with TLS
2013-05-15 20:19:26 -04:00
Marc-André Moreau
367ebf32a3
freerdp: make use of stream macros to access members
2013-05-15 12:14:26 -04:00
Marc-André Moreau
fdf3ddcf9e
freerdp: purge deprecated stream utils
2013-05-08 17:48:30 -04:00
Marc-André Moreau
5b92413843
freerdp: purge deprecated stream utils
2013-05-08 16:09:16 -04:00
Marc-André Moreau
51715636a5
freerdp: remove some deprecated stream utils
2013-04-29 22:35:15 -04:00
Marc-André Moreau
70dea34a90
Merge github.com:FreeRDP/FreeRDP
2013-04-29 13:59:24 -04:00
Marc-André Moreau
fae24b1ef9
xfreerdp-server: auto-generate self-signed certificate
2013-04-23 18:17:01 -04:00
Martin Fleisz
ce4e02ae48
iOS: Fixed possible crash on disconnect
2013-04-17 13:09:53 +02:00
Jason Mealins
e7b863d3f0
libfreerdp-crypto: add missing link libraries
2013-03-28 16:01:41 -07:00
Hardening
7701c9d934
Replace printf(...) by fprintf(stderr, ...)
2013-03-28 23:06:34 +01:00
Marc-André Moreau
e4e0b05784
libfreerdp-crypto: fix local directory creation
2013-03-27 20:10:18 -04:00
Marc-André Moreau
068f0de4d4
libfreerdp-utils: purge old file utils
2013-03-22 15:52:43 -04:00
Marc-André Moreau
edf6e7258d
libwinpr-path: add path detection functions
2013-03-22 00:42:09 -04:00
Marc-André Moreau
8c8a82c31f
libfreerdp-utils: purge old STREAM utils
2013-03-21 16:45:25 -04:00
Marc-André Moreau
a8201b0d1b
libwinpr-utils: combine old and new stream utils
2013-03-21 15:19:33 -04:00
Marc-André Moreau
62eec0c2b5
libfreerdp-utils: rename internal members of STREAM to match new wStream
2013-03-21 15:01:46 -04:00
hardening
132d736cd9
Fixed skip_length() methods
2013-02-27 00:01:03 +01:00
Alexander Gottwald
026e9996d3
Issue #847 : protocol deadlock in NLA
...
fix ber_get_content_length and der_get_content_length to work for values
around 0x80 and 0x100
Fix nego_token, auth_info and pub_key_auth content length calculation in
credssp_send to fix a lockup in NLA protocol.
2013-02-26 21:32:36 +01:00
Marc-André Moreau
edc2b1de9e
xfreerdp-server: fix encoding
2013-02-17 11:03:35 -05:00
Marc-André Moreau
4269ac5c14
xfreerdp: improve asynchronicity
2013-02-09 17:13:53 -05:00
Marc-André Moreau
593a9030d3
libfreerdp-core: cleanup licensing RSA public key code
2013-02-05 10:02:06 -05:00
Marc-André Moreau
db331d64f7
libfreerdp-core: fix message queue ids, fix async glyph messages
2013-02-03 12:41:59 -05:00
Marc-André Moreau
44bb1059ea
libfreerdp-crypto: replace Base64 implementation
2013-01-31 18:07:04 -05:00
Marc-André Moreau
51293f48e9
libfreerdp-crypto: fix build on windows
2013-01-31 16:36:56 -05:00
Marc-André Moreau
9c85f97137
libfreerdp-crypto: fix base64 encoding, fix TS Gateway HTTPS authentication
2013-01-31 16:11:37 -05:00
Marc-André Moreau
e1d0fad519
libfreerdp-core: fix memory leaks
2013-01-25 17:52:37 -05:00
david
4d01e2d4fe
Allow to read ber integers with fancy size when the result is ignored
2013-01-20 21:30:17 +01:00
Marc-André Moreau
d8875ae3e7
libfreerdp-core: fix windows build
2013-01-19 22:00:09 -05:00
david
ea43348ba3
Allow ignoring an 8 bytes integer
2013-01-19 23:32:04 +01:00
Marc-André Moreau
3d77d5a497
freerdp: merging with master
2013-01-14 13:50:16 -05:00
ArvidNorr
cea442f24e
login and synchronize fix
2013-01-14 01:13:29 -08:00
rdp.effort
376731315b
Checks stream size when reading in BER format
2013-01-11 01:11:03 +01:00
Marc-André Moreau
0fbf846671
libwinpr-sspi: NTLM extended protection cleanup
2013-01-10 11:19:57 -05:00
Marc-André Moreau
1d893ed268
libwinpr-sspi: add support for NTLMv2 Channel Binding Token (CBT)
2013-01-09 00:20:08 -05:00
Vic Lee
ed5ad30d4f
libfreerdp-core/transport: select sockfd instead of sleep when blocking.
2012-12-21 16:24:26 +08:00
Marc-André Moreau
387a152299
libfreerdp-core: TSG reassembly refactoring
2012-12-12 15:55:42 -05:00
Marc-André Moreau
12f0afd1e0
libfreerdp-core: fix TSG socket blocking mode
2012-11-27 18:34:00 -05:00
Marc-André Moreau
5fb6312a1f
Merge github.com:FreeRDP/FreeRDP
2012-11-25 15:29:40 -05:00
Marc-André Moreau
84f358d3ce
Merge pull request #812 from bmiklautz/versioning
...
build: fixed library versioning
2012-11-25 12:29:29 -08:00
Marc-André Moreau
6b2db2d103
macosx: update client
2012-11-22 15:32:21 -05:00
Marc-André Moreau
f6748dba3f
wfreerdp: update client
2012-11-22 09:06:45 -05:00
Marc-André Moreau
8a32de3801
libfreerdp: purged source tree from deprecated memory utils
2012-11-21 21:22:06 -05:00
Marc-André Moreau
b2c3ca8cc4
libfreerdp-utils: replace all calls to deprecated function xzalloc
2012-11-21 19:22:41 -05:00
Marc-André Moreau
83473d11d1
channels: patch memory leaks, load addins from list
2012-11-19 13:26:56 -05:00
Bernhard Miklautz
9a33dbe826
build: fixed library versioning
...
Split version numbers into:
FREERDP_API_VERSION - the version of the API which is major.minor
FREERDP_VERSION - version of a release consisting of major.minor.revision (e.g. 1.1.0)
FREERDP_VERSION_FULL - like FREERDP_VERSION but with an optional "build" suffix (e.g 1.1.0-dev)
2012-11-18 17:07:33 +01:00
Marc-André Moreau
f19f3a6024
libfreerdp-crypto: move nla.c to libfreerdp-core
2012-11-14 21:19:17 -05:00
Marc-André Moreau
98dcdcfb8f
libfreerdp-core: transport refactoring to split in/out channels
2012-11-14 20:46:51 -05:00
Marc-André Moreau
a3d3c3bc19
libfreerdp-core: TSG experiments
2012-11-13 11:06:33 -05:00
Marc-André Moreau
8544716104
libfreerdp-core: rdpSettings refactoring (part 3)
2012-11-07 18:23:33 -05:00
Marc-André Moreau
6427c9dd90
libfreerdp-core: rdpSettings refactoring (part 2)
2012-11-07 15:13:14 -05:00
Marc-André Moreau
187147d399
libfreerdp-core: cleanup of TSG definitions
2012-10-29 15:02:35 -04:00
Marc-André Moreau
639bb0d79d
cmake: started simplifying monolithic build option
2012-10-13 15:20:39 -04:00
Marc-André Moreau
9d064171a7
freerdp: get rid of old types
2012-10-09 03:26:39 -04:00
Marc-André Moreau
1bf8a45519
freerdp: change uint8, sint8, uint16, sint16 to BYTE, INT8, UINT16, INT16
2012-10-09 03:01:37 -04:00
Marc-André Moreau
1ed644786c
freerdp: change boolean type to BOOL type
2012-10-09 02:38:39 -04:00
Marc-André Moreau
5612bc43f8
freerdp: change true/false to TRUE/FALSE
2012-10-09 02:31:28 -04:00
Marc-André Moreau
2df7aaad39
libfreerdp-utils: get rid of xstrdup in favor of WinPR _strdup
2012-10-08 23:42:01 -04:00
Marc-André Moreau
9909a12af5
libfreerdp-utils: get rid of xmalloc, xrealloc and xfree
2012-10-08 23:21:26 -04:00
Marc-André Moreau
e60a092d81
freerdp: fix headers
2012-10-08 23:02:04 -04:00
Marc-André Moreau
40eea7c76b
cmake: rename WITH_MONOLITHIC_BUILD to MONOLITHIC_BUILD
2012-10-08 22:55:06 -04:00
Marc-André Moreau
e828feccb7
cmake: organize solution folders
2012-10-04 09:42:23 -04:00
Marc-André Moreau
fcc9f91302
cmake: add support for solution groups
2012-09-30 22:58:59 -04:00
Marc-André Moreau
6dcc8e73ee
libfreerdp-utils: get rid of rdpBlob
2012-09-24 04:40:32 -04:00
Marc-André Moreau
258f2c958a
cmake: add warnings for MSVC static runtime option
2012-09-22 17:10:08 -04:00
Marc-André Moreau
a11615aebd
wfreerdp-server: add PeerLogon callback for server logon
2012-09-16 15:30:11 -04:00
Marc-André Moreau
cee2fcc6f0
libfreerdp: fix debug output
2012-09-08 15:27:00 -04:00
Marc-André Moreau
12859c7eac
wfreerdp-server: merge with latest updates
2012-09-02 14:39:27 -04:00
Marc-André Moreau
07be541709
wfreerdp-server: fix build on Windows 8
2012-08-30 17:37:12 -04:00
Marc-André Moreau
971f38c336
wfreerdp: reintroduce free() statements in NLA code which was broken due to incorrect MSVC runtime linking
2012-08-29 16:45:39 -04:00
Marc-André Moreau
f8f1cddacf
wfreerdp: Windows 8 fixes
2012-08-28 18:01:42 -04:00
Marc-André Moreau
d211adceae
libfreerdp-crypto: temporarily disable free() operations causing crash in Windows FreeRDP server
2012-08-23 16:09:46 -04:00
LawrenceK
28813f3779
Merge branch 'master' of git://github.com/FreeRDP/FreeRDP
2012-08-20 19:37:37 +01:00
Marc-André Moreau
d5d1eb7762
libfreerdp: add proper config.h inclusions
2012-08-14 17:09:01 -04:00
Marc-André Moreau
cf7c65ba00
libwinpr: add support for monolithic build (single libwinpr.so)
2012-08-14 14:37:31 -04:00
Marc-André Moreau
c56f7064f2
libfreerdp: fix linking libraries for monolithic build
2012-08-14 00:31:06 -04:00
Marc-André Moreau
19028a27b0
libfreerdp: move all libraries to libfreerdp directory, one step closer to monolithic build option
2012-08-13 23:19:51 -04:00