Commit Graph

340 Commits

Author SHA1 Message Date
nathan
15be442cb2 Fixed session bootstrap for updated version of netty 2020-05-08 01:16:46 +02:00
nathan
0ef1d79298 Fixed comments 2020-05-07 14:58:13 +02:00
nathan
760ebf974f Cleaned up RMI registration validation 2020-05-07 14:56:41 +02:00
nathan
450f1aa5fb Fixed issue with RMI registration validation fragmentation count 2020-05-07 14:52:45 +02:00
nathan
1a63affdcc Prevent AES IV leak 2019-06-15 00:42:38 +02:00
nathan
786b00932e Updated version from 3.0 to 4.0 2019-06-14 22:02:57 +02:00
nathan
8010005323 Added ability to firewall (TCP/UDP) connections and to specify connection types (NOTHING, COMPRESS, COMPRESS_AND_ENCRYPT) 2019-06-14 20:36:26 +02:00
nathan
78d42e985a Optimized types and methods for the Registration wrapper 2019-06-14 20:35:36 +02:00
nathan
89d70f9255 Added support for optional encryption. Cleaned up connection registration process. 2019-06-14 13:05:28 +02:00
nathan
6ca4da2e23 For UDP, prep channel for messages pre-connection happens first 2019-06-14 12:40:38 +02:00
nathan
353164fac5 Code polish 2019-06-14 12:39:10 +02:00
nathan
682a069c19 Added reconnect throttling 2019-06-14 12:38:35 +02:00
nathan
c5c709407d Moved class registration fragmentation values to the serialization class 2019-06-14 10:57:36 +02:00
nathan
c697643562 Added deprecated warnings where appropriate 2019-06-14 10:56:28 +02:00
nathan
4e0e95fb44 Broadcast properly wraps the byte buffer (instead of unnecessary allocation) 2019-06-14 03:17:14 +02:00
nathan
050fa81aff Added logger to debug kryo read/write. Fixed compression buffer.read calculation error 2019-06-14 03:02:59 +02:00
nathan
2af14728e7 Comment clean up 2019-06-13 21:40:56 +02:00
nathan
4efa01b8fb Merge branch 'master' into crypto_step1
# Conflicts:
#	src/dorkbox/network/connection/RegistrationWrapper.java
2019-06-13 21:31:40 +02:00
nathan
8c3b98be33 Lowered class registration frame size to fix potential UDP issues 2019-06-13 21:31:19 +02:00
nathan
93a6c0c05e Merge branch 'master' into crypto_step1 2019-06-13 21:25:17 +02:00
nathan
b09ce4c650 Lowered class registration frame size to fix potential UDP issues 2019-06-13 21:24:53 +02:00
nathan
b4ff95b496 Cleaned up Kryo names + exceptions 2019-06-13 20:38:46 +02:00
nathan
6177912bb4 Crypto and compression is cleaner, uses Java native instead of bouncycastle 2019-06-13 20:37:24 +02:00
nathan
a52c67671d Cleaned up Kryo names + exceptions 2019-06-13 20:35:09 +02:00
nathan
7b74a730ba Fixed issues surrounding capacity and strings/byte arrays. (we should not be using capacity, require() should manage if we need to grow capacity or not 2019-06-13 01:42:09 +02:00
nathan
372a6a06ca Updated version from 2.17 to 3.0 2019-03-26 20:48:46 +01:00
nathan
8bd52dd202 Upgrade to Kryo 5rc2, updated to use utilities project as a maven release instead of compiling specific files 2019-03-26 20:47:40 +01:00
nathan
ec8d5d1926 Updated to java 8+ version of getting calling class 2019-02-11 23:31:28 +01:00
nathan
16019270c8 Updated version from 2.16 to 2.17 2019-02-11 15:46:42 +01:00
nathan
cdf34ac1dc Updated version from 2.15 to 2.16 2019-01-28 15:15:08 +01:00
nathan
518c98e3af Fixed RMI close method. Code polish 2019-01-28 09:53:42 +01:00
nathan
debd0716cd Method signature cleanup 2019-01-27 16:42:01 +01:00
nathan
273523fc96 Shortened grace period for shutdown 2019-01-27 16:36:02 +01:00
nathan
7e442f2f8a Consolidated multiple RMI support classes (local/network) 2019-01-25 17:04:12 +01:00
nathan
12a9293526 ConnectionRmiSupport refactor. Moved internal methods to Connection_ 2019-01-25 16:41:13 +01:00
nathan
db69e2f9c8 Updated copyright/formatting 2019-01-25 16:27:01 +01:00
nathan
2a4ae99390 RMI Optimizations, merged/renamed primary serialization interface. 2019-01-25 16:17:15 +01:00
nathan
a8fc584ae4 Server shutdown now tries harder to make sure the server is actually shutdown when aborting. Can also check UDP servers now 2019-01-25 16:16:03 +01:00
nathan
aac6e30ec9 DiscoverHost now throws IoException when host discovery fails 2019-01-25 16:15:11 +01:00
nathan
1a6540f360 Shortened shutdown timeout by a lot 2019-01-25 00:49:48 +01:00
nathan
1d3d794f99 Made logger optional for Host discovery. 2019-01-22 01:02:43 +01:00
nathan
463433ef45 Fixed countdown 2019-01-22 00:40:44 +01:00
nathan
0eb19e8c3f Clean up and optimize RMI network stack. 2019-01-20 22:44:27 +01:00
nathan
df73b839b4 Formatting 2019-01-20 21:36:22 +01:00
nathan
9d3cf9fdf5 Added additional checks to make sure the socket is UN-BOUND when shutting down a server. Added UDP checking for Server.isRunning(config) 2019-01-20 21:35:25 +01:00
nathan
bc67ca73a3 More explicit name for connection registration thread. Verified thread handoff is correct 2019-01-17 19:05:31 +01:00
nathan
66fe755bb5 Fixed comments and assignment of local variables 2019-01-17 17:14:42 +01:00
nathan
aa4fc5c44b Fixed issues with Client/Server worker thread pool sizes. 2019-01-17 16:15:59 +01:00
nathan
e6d8666862 Fixed number of worker threads for endpoint 2019-01-17 15:58:13 +01:00
nathan
52197975cd Better API calls for getting the string representation of an ip 2019-01-16 23:35:21 +01:00