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
Andrew Nelless
c3c0913633
Update company copyright notice
2016-09-26 11:58:33 +01:00
Jerry (Xinyu Hou)
945ccfdb75
Refactored plugin names #4866
2015-08-03 15:56:21 -07:00
Xinyu Hou
b105bc8f42
Unified secure socket name across platforms #4866
2015-08-03 15:56:03 -07:00
Jerry (Xinyu Hou)
14046db32a
Merge remote-tracking branch 'origin/master' into jerry-sandbox
2015-06-15 09:59:38 -07:00
Jerry (Xinyu Hou)
667b6f13c7
Enforced secure socket rewrite on the same buffer address #4712
2015-06-12 18:03:28 -07:00
Jerry (Xinyu Hou)
3e32d9fbee
Improved secure socket intensive try operations #4796
2015-06-12 16:53:41 -07:00
Adam Potolsky
6bb44fbc59
Merge pull request #4228 from galkinvv/fix2866
...
High client CPU usage and laggy mouse
2015-06-11 16:12:40 -07:00
Jerry (Xinyu Hou)
bbf53bb9b8
Return the same job on retry #4584
2015-06-05 15:21:26 -07:00
Adam Potolsky
35e09c46b9
Changed secureSocket routines to return a status, and modify an argument for num of bytes handled #4697
2015-05-22 16:09:59 -07:00
Adam Potolsky
5b3fa48902
Made socket self-aware of when it is in a fatal state #4697
...
Added code to cleanly terminate connection on fatal socket state #4697
2015-05-22 10:56:13 -07:00
Nigel Armstrong
d71304ee55
Modified header of every file COPYING to LICENSE
...
Modified to match the updated name of the license file
2015-05-06 22:12:44 -04:00
XinyuHou
586a893201
Made retry secure write/read use the exactly last parameters #4539
2015-04-17 14:01:35 +01:00
XinyuHou
f60e98c8cd
Fixed error from merge
2015-04-14 17:52:08 +01:00
XinyuHou
916a4c75af
Refactored no or wrong ssl certificate error handling #4410
...
Conflicts:
src/lib/net/TCPListenSocket.cpp
src/lib/plugin/ns/SecureListenSocket.cpp
src/lib/plugin/ns/SecureSocket.cpp
src/lib/plugin/ns/SecureSocket.h
2015-04-14 17:52:00 +01:00
XinyuHou
28eb85660f
Fixed error from merge
2015-04-14 17:51:41 +01:00
XinyuHou
b4665b9cd5
Passed args into client and socket
...
Conflicts:
src/lib/client/Client.cpp
src/lib/client/Client.h
src/lib/synergy/ClientApp.cpp
src/test/integtests/net/NetworkTests.cpp
2015-04-14 17:51:31 +01:00
XinyuHou
10e6b5ad63
removed client connection when SSL handshake failed #4313
2015-02-02 14:18:34 +00:00
XinyuHou
622e40e5d7
managed secure socket allocation and deallocation #4313
2015-01-28 13:07:03 +00:00
XinyuHou
10cddb97a8
fixed misused read and write #4313
2015-01-26 13:23:11 +00:00
Xinyu Hou
141b778477
refactored SecureSocket to use interface #4313
2015-01-14 17:25:53 +00:00
XinyuHou
be2b87fd39
fixed code style
2015-01-12 10:51:16 +00:00
XinyuHou
f973d1498d
dropped prefix C
2015-01-12 10:33:29 +00:00
Vasily Galkin
06df954366
fix removing jobs for closed sockets from m_socketJobs (patch by Brian Vincent from synergy issue tracker #2866 )
2014-11-14 18:29:28 +04:00
Xinyu Hou
1aaa55163c
Fixed "c" prefix compile error on Windows
2014-11-11 14:50:09 +00:00
Nick Bolton
41d6080028
changed company name in copyright notice
2014-11-11 13:52:03 +00:00
Nick Bolton
e8e156f0e2
dropped "c" prefix from class names
2014-11-11 13:51:47 +00:00
Nick Bolton
0745d5884b
Task #3969 - Merge String.cpp and StringUtil.cpp
2014-03-21 08:32:36 +00:00
Nick Bolton
d5b25069be
fixed: extending std::runtime_error instead, as std::exception ctor is undefined. also fixed some mac warnings from inheriting runtime_error.
2014-03-14 20:33:18 +00:00
Nick Bolton
abe108195d
Task #3953 - Inherit XArch and XBase from std::exception
2014-03-14 18:30:21 +00:00
Nick Bolton
4675f29a4c
code style fixes:
...
- reordered includes to prevent accidental dependencies.
- moved arch specific files into their own folder (easier to include with cmake).
- renamed non-class files to reflect new code style (lower case with underscores).
- using full relative paths for includes (easier for understanding dependencies).
- using #pragma once instead of classic-style header guards.
2014-02-28 12:36:45 +00:00
Nick Bolton
8e74710dad
code style: dropped C prefix
2014-02-27 17:45:17 +00:00
Nick Bolton
f11c660efb
used glob instead of manually specifying files. cmake does not recommend this, but we always re-run cmake anyway after adding files since we use vs.
2014-02-26 17:46:02 +00:00
Nick Bolton
c44971b43d
fixed: warnings on mac os x
2014-02-25 15:03:43 +00:00
Nick Bolton
c368013f13
Patch by Jerry for issue 46:
...
- Unit test for sending file data from server to client.
- Removed singleton pattern from CSocketMultiplexer for easier unit testing.
- Incremented protocol version from 1.4 to 1.5 (new file chunk message).
- Storing pointer to CConfig instead of copying in CServer (so we can mock it).
- Created a common event queue for testing (timeout, quit event, etc).
- Fixed code style.
2013-07-16 19:02:30 +00:00
Nick Bolton
608074c041
- made unit testing easier by (mostly) removing the event queue singleton.
...
- fixed code style in many places (mostly indentation).
2013-06-29 14:17:49 +00:00
Nick Bolton
7f6eca9eb4
corrected license and author attribution (cs 2002-2012, nb 2008-2012)
2012-09-04 02:09:56 +00:00
Nick Bolton
3d6551f708
moved stream into synergy namespace (to prevent naming collision in win libs)
...
implemented ipc "hello" message (to identify client type)
integ tests working for hello message, but use of ipc in main program has problem with events.
2012-07-05 18:05:35 +00:00
Nick Bolton
218e98398f
ipc client connect test with working unit tests.
2012-06-29 11:33:21 +00:00
Nick Bolton
488241850c
moving 1.4 to trunk
2012-06-10 16:50:54 +00:00
Nick Bolton
e65886857d
removed trunk; please commit to (and build patches against) release branches instead.
2011-10-05 00:10:22 +00:00
Nick Bolton
5a315324ca
merged 1.4 r1007:1008 into trunk
2011-05-21 00:30:08 +00:00
Nick Bolton
8472fec34d
removed 'lib' prefix from libraries (cmake does this for us automatically on UNIX)
2011-04-25 22:21:32 +00:00
Nick Bolton
66c4bdc356
fixed library linkage on linux
2011-04-25 22:10:46 +00:00
Nick Bolton
143c4cd297
restructured source code, put CMakeLists.txt in more conventional locations, and split the libraries up
2011-04-25 21:09:32 +00:00