Ignacio Rodríguez
5c2311a50a
Remaining SonarCloud Bugs ( #6900 )
...
* (WIP)-all issues corrected, tests started
* first test passing
alternative solution for SonarCloud check
fixed for to while translation
added changelog item
adding tests and fixes
more tests; avoid compiling BSD Tests on Windows
attempting a BSD compile patch
more tests
borrowing symbol detection from another test
more ambitious testing
changed the order of assertions for better info
more tests
fixed clear errors before executing
expanding transformation to use string comparison
including terminator on translation count
a different flag for testing MS Windows
differente Windows flag
more tests
fixing platform encoding match
Windows compiler difference on #ifdef
Google Test macro usage fix
test added
added keymap test
test and initialisation fixed
ms cl issue with named init
test for keymap
exercising keystate
more configuration exercises
one more test for config
added Unicode test
an IPv6 test
more portable networking code
using our own platform switching code
avoiding strcpy
* Fixed typo in Changelog.
* +appropriate memory handling
* one more test for coverage
* a tad more coverage
* expanded test on Config
Co-authored-by: Max <maxmommersteeg@hotmail.com>
Co-authored-by: SerhiiGadzhilov <71632867+SerhiiGadzhilov@users.noreply.github.com>
2021-01-15 13:24:31 +02:00
Ignacio Rodriguez
6656e7337d
as per Sonar recommendations
2020-11-03 17:52:56 +07:00
Jamie Newbon
6684b8b09f
#6734 Added new cmd option --tls-cert
...
- Moved ArgsBase, ClientArgs, and ServerArgs to own namespace
- Added some Documentation to Args classes
Signed-off-by: Jamie Newbon <jamie@symless.com>
2020-07-27 13:29:58 +01:00
Jnewbon
e047cd66fa
Merge pull request #6435 from vifino/patch-1
...
Fixed missing SSL_get_client_ciphers with LibreSSL
2020-01-21 16:19:40 +00:00
Jamie Newbon
dc363d66ab
#6611 Updated untrusted server dialog to show sha256 fingerprint
2020-01-09 10:03:40 +00:00
Jamie Newbon
b641d4b337
Fixed build issue on Windows unable to find iterator
2019-11-14 16:14:11 +00:00
Jamie Newbon
e64e4c598d
Changed to stringstream as Mac had problems with regex
2019-11-14 11:29:17 +00:00
Jamie Newbon
27e5d3b084
Grabbed connection protocol from cipher for display to user
2019-11-13 10:01:27 +00:00
Jamie Newbon
4d3cf2c626
Preventing older insecure version of TLS/SSL
2019-11-12 17:06:44 +00:00
Jamie Newbon
021229879b
Removing updated function name
2019-11-04 19:31:53 +00:00
Jnewbon
3a05f732fc
#6390 Updated OpenSSL For better security with TLS1.3
2019-08-02 13:11:47 +01:00
walker0643
a205544b3d
#6526 Fixed crash when socket is null on handling TCP connection, and added some logging
2019-07-02 13:51:32 +01:00
walker0643
80e14562f7
#6525 Removed sleep before TLS socket delete, and fix race condition by removing socket from job queue
2019-07-02 13:49:09 +01:00
walker0643
fb27752e3e
#6521 Fixed access violation in SSL sockets
2019-07-02 13:30:16 +01:00
Jnewbon
a56abf68dd
#6488 Fixed a memory leak in the TLS socket code
2019-04-29 13:56:08 +01:00
Adrian Pistol
17d27a67d9
SecureSocket: Fix LibreSSL support.
...
Weirdly enough, LibreSSL has a high enough version, yet does not feature SSL_get_client_ciphers.
2018-10-24 21:54:12 +02:00
Nick Bolton
fc6cc78738
#6380 Fixed rogue include that I didn't end up using
2018-08-01 14:43:15 +01:00
Nick Bolton
8dc868a206
#6380 Fixed warnings for VS2017
2018-08-01 13:03:41 +01:00
Nick Bolton
89cc8a8daa
#6372 More user friendly and current logging for SecureSocket
2018-07-28 01:19:23 +01:00
Nick Bolton
46a5166fba
#6372 Force TLS 1.2 only in secure connection code
2018-07-27 09:20:20 +01:00
Jerry (Xinyu Hou)
fa82f5cdf3
#6178 Fix compiling error for adding IPv6 for secure socket
2018-03-20 16:05:30 +00:00
Jerry (Xinyu Hou)
e01acb30b6
#6178 Fix include syntax
2018-03-20 15:22:52 +00:00
Jerry (Xinyu Hou)
8446fe5395
#6178 Merge IPv6 PR
2018-03-20 13:53:38 +00:00
Andrew Nelless
c556184114
#6037 Remove pointless cast in TCPSocket
2017-05-12 19:50:38 +01:00
Andrew Nelless
58e8e06812
#6037 Unitialized member in SecureSocket
2017-05-12 19:47:03 +01:00
Andrew Nelless
a73b65431b
Fix showSecureCipherInfo() to build with OpenSSL 1.1.0
2017-05-05 01:27:25 +01:00
Andrew Nelless
fedbcb0f3a
Remove ../ includes in src/lib
2017-03-09 15:16:08 +00:00
Andrew Nelless
0cd45ba1ef
Remove unused include paths
2017-03-09 14:18:39 +00:00
XinyuHou
deea23f866
Apply tab to spaces filter to src folder
2017-02-07 01:24:59 +00:00
XinyuHou
0d8bc9d7e2
Remove all xcopy commands in cmake
2017-02-07 01:24:58 +00:00
Andrew Nelless
5fdf50ce93
Fix missing trailing slashes in xcopy command
2017-02-07 01:24:58 +00:00
Jerry (Xinyu Hou)
2a333b7fbf
Copy binaries and libs into ROOT/bin
2017-02-07 01:24:32 +00:00
Jerry (Xinyu Hou)
dc4beba9e9
#5680 Stop deleting socket twice if it's been adopted by PacketStream
2016-10-18 16:48:32 +01:00
Andrew Nelless
a13dc92f2e
Restore safe reinterpret_casts in SecureSocket
2016-10-05 12:46:16 +01:00
Andrew Nelless
90c3dd6622
Restore evil-enabling reinterpret_cast in SocketMultiplexer
2016-10-05 12:46:16 +01:00
Andrew Nelless
f3d1470e58
Brutally replace all reinterpret_casts with static_casts
2016-10-05 12:46:16 +01:00
Andrew Nelless
e6a3caaf75
#5628 Fix net lib linkage on Ubuntu
2016-10-04 15:51:07 +01:00
Andrew Nelless
176d7e4725
#5617 Don't copy plugins directory on Windows
2016-10-03 19:47:55 +01:00
Andrew Nelless
55a2d1231f
#5628 Initialize SSL on secure client sockets
2016-09-29 13:11:09 +01:00
Andrew Nelless
3b5940ac18
#5628 Restore copying of SSL libs on Windows
2016-09-29 13:11:09 +01:00
Andrew Nelless
5db78acab4
#5628 Link Synergy core against OpenSSL
2016-09-29 13:05:04 +01:00
Andrew Nelless
52c8763d97
#5617 Add SecureSocket to TCPSocketFactory
2016-09-29 13:05:04 +01:00
Andrew Nelless
77d6b83b0c
#5617 Remove stray PluginVersion includes
2016-09-29 13:05:04 +01:00
Andrew Nelless
dc93b063b7
#5617 Remove plugin infra from TCPSocketFactory
2016-09-29 13:05:03 +01:00
Andrew Nelless
665bd91dbd
#5628 Move SSL socket code from plugin to lib/net
2016-09-29 13:04:57 +01:00
Jerry (Xinyu Hou)
6d86a6033f
Removed dead code
2016-09-26 11:58:33 +01:00
Jerry (Xinyu Hou)
07902d623c
Removed dead code
2016-09-26 11:58:33 +01:00
Jerry (Xinyu Hou)
08a73218e6
Refactored secure read and write into SecureSocket
2016-09-26 11:58:33 +01:00
Jerry (Xinyu Hou)
61b489ab3d
Refactor write and read into functions
2016-09-26 11:58:33 +01:00
Jerry (Xinyu Hou)
95464d97cf
Conflicts:
...
src/lib/client/Client.cpp
src/lib/net/TCPSocketFactory.cpp
2016-09-26 11:58:33 +01:00