]> git.deb.at Git - rhonda/impostor.hazel.git/log
rhonda/impostor.hazel.git
5 years agoAdd null record protection implementation
Matthew Endsley [Fri, 22 Jan 2021 18:39:08 +0000 (10:39 -0800)]
Add null record protection implementation

5 years agoMerge branch 'dtls_listener_update' into dtls
Matthew Endsley [Wed, 13 Jan 2021 18:32:09 +0000 (10:32 -0800)]
Merge branch 'dtls_listener_update' into dtls

5 years agoAllow TL connection listener to override incoming message processing
Matthew Endsley [Thu, 17 Dec 2020 18:00:50 +0000 (10:00 -0800)]
Allow TL connection listener to override incoming message processing

5 years agoMerge branch 'dtls_record_protection' into dtls
Matthew Endsley [Wed, 13 Jan 2021 12:25:01 +0000 (04:25 -0800)]
Merge branch 'dtls_record_protection' into dtls

5 years agoUpdate SendMessageInfo to hold byte span
Matthew Endsley [Sat, 19 Dec 2020 01:19:38 +0000 (17:19 -0800)]
Update SendMessageInfo to hold byte span

5 years agoAdd AesGcm record protection
Matthew Endsley [Wed, 13 Jan 2021 07:58:16 +0000 (23:58 -0800)]
Add AesGcm record protection

5 years agoAllow derived listener classes access to the logger
Matthew Endsley [Tue, 12 Jan 2021 15:14:53 +0000 (07:14 -0800)]
Allow derived listener classes access to the logger

5 years agoMerge branch 'dtls_record' into dtls
Matthew Endsley [Wed, 13 Jan 2021 09:35:12 +0000 (01:35 -0800)]
Merge branch 'dtls_record' into dtls

5 years agoAdd interface for record protection
Matthew Endsley [Wed, 13 Jan 2021 18:37:06 +0000 (10:37 -0800)]
Add interface for record protection

5 years agoMerge branch 'dtls_psuedo_random_function' into dtls
Matthew Endsley [Wed, 13 Jan 2021 08:56:28 +0000 (00:56 -0800)]
Merge branch 'dtls_psuedo_random_function' into dtls

5 years agoAdd record wire format conversions
Matthew Endsley [Wed, 13 Jan 2021 09:30:55 +0000 (01:30 -0800)]
Add record wire format conversions

5 years agoAdd common PRF labels as constants
Matthew Endsley [Wed, 13 Jan 2021 08:41:11 +0000 (00:41 -0800)]
Add common PRF labels as constants

5 years agoAdd ExpandSecret variant that takes label as a byte span
Matthew Endsley [Wed, 13 Jan 2021 08:39:21 +0000 (00:39 -0800)]
Add ExpandSecret variant that takes label as a byte span

5 years agoMerge branch 'key_exchange' into dtls
Matthew Endsley [Sat, 19 Dec 2020 06:33:57 +0000 (22:33 -0800)]
Merge branch 'key_exchange' into dtls

5 years agoAdd the psuedoranomm function P_SHA256
Matthew Endsley [Wed, 13 Jan 2021 08:18:45 +0000 (00:18 -0800)]
Add the psuedoranomm function P_SHA256

5 years agoMerge branch 'crypto_primitives' into dtls_new
Matthew Endsley [Sat, 23 Jan 2021 23:55:52 +0000 (15:55 -0800)]
Merge branch 'crypto_primitives' into dtls_new

5 years agoAdd x25519 version of ECDHE_RSA_256 cipher suite
Matthew Endsley [Sat, 19 Dec 2020 02:32:30 +0000 (18:32 -0800)]
Add x25519 version of ECDHE_RSA_256 cipher suite

This the portion of the cipher suite used during connection negotiation.

5 years agoAdd initial cipher suite interfaces
Matthew Endsley [Sat, 19 Dec 2020 02:21:34 +0000 (18:21 -0800)]
Add initial cipher suite interfaces

5 years agoAdd AES_GCM primitive
Matthew Endsley [Sat, 19 Dec 2020 02:10:32 +0000 (18:10 -0800)]
Add AES_GCM primitive

5 years agoAdd x25519 primitive
Matthew Endsley [Sat, 19 Dec 2020 01:59:52 +0000 (17:59 -0800)]
Add x25519 primitive

5 years agoAdd a few constant-time utilities
Matthew Endsley [Sat, 19 Dec 2020 02:02:49 +0000 (18:02 -0800)]
Add a few constant-time utilities

5 years agoAdd ByteSpan utility
Matthew Endsley [Thu, 17 Dec 2020 23:55:07 +0000 (15:55 -0800)]
Add ByteSpan utility

5 years agoMerge branch 'cleanup_tests' into fewerThreads2
Matthew Endsley [Wed, 16 Dec 2020 22:45:08 +0000 (14:45 -0800)]
Merge branch 'cleanup_tests' into fewerThreads2

5 years agoInitialize keepalive timer in constructor
Matthew Endsley [Wed, 16 Dec 2020 21:30:45 +0000 (13:30 -0800)]
Initialize keepalive timer in constructor

5 years agoFix disposal issues in ThreadLimitedUdpConnectionListener
Matthew Endsley [Wed, 16 Dec 2020 21:30:24 +0000 (13:30 -0800)]
Fix disposal issues in ThreadLimitedUdpConnectionListener

5 years agoAdd the ability to start a MessageWriter in the middle of a MessageReader
Forest [Tue, 15 Dec 2020 01:03:54 +0000 (17:03 -0800)]
Add the ability to start a MessageWriter in the middle of a MessageReader

5 years agoA bit of testing and pushing abstractions around. Readers and Writers now clear their...
Forest [Thu, 5 Nov 2020 07:00:13 +0000 (23:00 -0800)]
A bit of testing and pushing abstractions around. Readers and Writers now clear their buffer upon get.

5 years agoMerge branch 'rewritepkts' into fewerThreads2
Forest [Sat, 31 Oct 2020 23:00:40 +0000 (16:00 -0700)]
Merge branch 'rewritepkts' into fewerThreads2

5 years agoTest UnityUdpClientConnection a little
Forest [Sat, 31 Oct 2020 22:58:10 +0000 (15:58 -0700)]
Test UnityUdpClientConnection a little

5 years agoA little tidy
Forest [Sat, 31 Oct 2020 22:31:26 +0000 (15:31 -0700)]
A little tidy

5 years agoCleanup old, unused doc project and fix #7
Forest [Wed, 14 Oct 2020 05:42:18 +0000 (22:42 -0700)]
Cleanup old, unused doc project and fix #7

5 years agoMerge remote-tracking branch 'origin/fewerThreads2'
Forest [Sat, 31 Oct 2020 22:15:08 +0000 (15:15 -0700)]
Merge remote-tracking branch 'origin/fewerThreads2'

5 years agoRemove documentation project
Forest [Sat, 31 Oct 2020 22:07:30 +0000 (15:07 -0700)]
Remove documentation project

5 years agoAdd functionality to rewrite packets
Forest [Sat, 31 Oct 2020 22:04:38 +0000 (15:04 -0700)]
Add functionality to rewrite packets

5 years agoCleanup old, unused doc project and fix #7
Forest [Wed, 14 Oct 2020 05:42:18 +0000 (22:42 -0700)]
Cleanup old, unused doc project and fix #7

5 years agoMerge pull request #6 from willardf/bug-5
Forest [Thu, 8 Oct 2020 07:02:00 +0000 (00:02 -0700)]
Merge pull request #6 from willardf/bug-5

Test and fix bug #5: A malformed packet can be used to leak old packets

5 years agoMerge branch 'bug-5' into fewerThreads2
Forest [Thu, 8 Oct 2020 00:42:46 +0000 (17:42 -0700)]
Merge branch 'bug-5' into fewerThreads2

5 years agoTest and fix bug #5: A malformed packet can be used to leak old packets
Forest [Thu, 8 Oct 2020 00:37:28 +0000 (17:37 -0700)]
Test and fix bug #5: A malformed packet can be used to leak old packets

5 years agoA couple subtle changes
Forest [Thu, 8 Oct 2020 00:02:36 +0000 (17:02 -0700)]
A couple subtle changes

5 years agoPoll for socket avail and handle send errors
Forest [Thu, 24 Sep 2020 17:35:01 +0000 (10:35 -0700)]
Poll for socket avail and handle send errors

6 years agoAcceptable. Time to improve
Forest [Sun, 6 Sep 2020 18:46:42 +0000 (11:46 -0700)]
Acceptable. Time to improve

6 years agoHazel pretty good. 2020.9.1
Forest [Thu, 3 Sep 2020 22:31:52 +0000 (15:31 -0700)]
Hazel pretty good. 2020.9.1

6 years agoAdd more tests, fix a bug when recycling unaware hello messages
Forest [Wed, 19 Aug 2020 21:50:55 +0000 (14:50 -0700)]
Add more tests, fix a bug when recycling unaware hello messages

6 years agoMore testing, some fixes
Forest [Mon, 6 Jul 2020 22:04:15 +0000 (15:04 -0700)]
More testing, some fixes

6 years agoFix a severe issue with redundant acks
Forest [Wed, 29 Apr 2020 22:46:21 +0000 (15:46 -0700)]
Fix a severe issue with redundant acks
Fix a potential issue in ObjectPool on Unity IL2CPP
Improve naming of thread limited classes.

6 years agoAdd 8x redundancy to acks
Forest [Thu, 2 Apr 2020 23:07:08 +0000 (16:07 -0700)]
Add 8x redundancy to acks

6 years agoRemove unused timeout param from ConnectAsync
Forest [Fri, 17 Jan 2020 23:04:20 +0000 (15:04 -0800)]
Remove unused timeout param from ConnectAsync

6 years agoAdded a listener with a fixed number of threads. Still testing how that works in...
Forest [Wed, 15 Jan 2020 21:08:15 +0000 (13:08 -0800)]
Added a listener with a fixed number of threads. Still testing how that works in practice

6 years agoAdd some UPnP capabilities, add an intercept for internal disconnect messages
Forest [Sat, 11 Jan 2020 23:37:26 +0000 (15:37 -0800)]
Add some UPnP capabilities, add an intercept for internal disconnect messages

6 years agoMerge remote-tracking branch 'origin/master'
Forest [Thu, 2 Jan 2020 22:16:50 +0000 (14:16 -0800)]
Merge remote-tracking branch 'origin/master'

6 years agoCreate a separate client connection better suited to unity. Tidy up a great many...
Forest [Tue, 17 Dec 2019 21:05:31 +0000 (13:05 -0800)]
Create a separate client connection better suited to unity. Tidy up a great many things

6 years agoMerge pull request #2 from shaunthesheep644/LoggerNullRefFix
Forest [Fri, 18 Oct 2019 19:39:19 +0000 (12:39 -0700)]
Merge pull request #2 from shaunthesheep644/LoggerNullRefFix

Fix a null-ref if not using the logger Action and a server receive completes synchronously.

6 years ago* Fix some issues that popped up in Hazel-Examples because of overzealous refactoring.
Forest [Fri, 18 Oct 2019 19:27:31 +0000 (12:27 -0700)]
* Fix some issues that popped up in Hazel-Examples because of overzealous refactoring.
* Add more data into the early AcceptConnectionCheck to benefit IP-based connection rejection.
* Add a metric for message resends
* Tune message resends a little more

6 years agologger nullref fix
Max Tiganov [Sat, 21 Sep 2019 11:47:09 +0000 (14:47 +0300)]
logger nullref fix

7 years agoImprove broadcast listener debugging and ignore some infrequent exceptions
Forest [Thu, 5 Sep 2019 21:14:26 +0000 (14:14 -0700)]
Improve broadcast listener debugging and ignore some infrequent exceptions

7 years agoBetter enable very early connection validation
Forest [Tue, 20 Aug 2019 22:33:13 +0000 (15:33 -0700)]
Better enable very early connection validation
Tidy up some broadcaster stuff
Fix a misreported statistic
Some logging for suspect stuff

7 years agoRevert some bad code that caused OnNewConnection to be called multiple times for...
Forest [Thu, 25 Jul 2019 23:42:40 +0000 (16:42 -0700)]
Revert some bad code that caused OnNewConnection to be called multiple times for some connections

7 years agoLots of code clean up, fixed an issue were a latent connection could cause packet...
Forest [Thu, 25 Jul 2019 21:47:08 +0000 (14:47 -0700)]
Lots of code clean up, fixed an issue were a latent connection could cause packet spamming

7 years agoFix and test disconnect message feature
Forest [Thu, 20 Jun 2019 21:38:47 +0000 (14:38 -0700)]
Fix and test disconnect message feature

7 years agoFix some flaky tests, clean up some style
Forest [Thu, 20 Jun 2019 21:30:09 +0000 (14:30 -0700)]
Fix some flaky tests, clean up some style

7 years agoAdd the ability to send extra data along side a disconnect message
Forest [Thu, 20 Jun 2019 21:13:36 +0000 (14:13 -0700)]
Add the ability to send extra data along side a disconnect message

7 years agoImprove debuggability, and maybe fix a case where the disconnect handler wasn't getti...
Forest [Thu, 13 Jun 2019 23:07:35 +0000 (16:07 -0700)]
Improve debuggability, and maybe fix a case where the disconnect handler wasn't getting called

7 years agoClean up a slow leak of ping packets when connections are dispose
Forest [Thu, 6 Jun 2019 21:20:56 +0000 (14:20 -0700)]
Clean up a slow leak of ping packets when connections are dispose

7 years agoClean up some stuff, fix some bugs, add a new type of copy to MessageReader, add...
Forest [Wed, 29 May 2019 04:26:52 +0000 (21:26 -0700)]
Clean up some stuff, fix some bugs, add a new type of copy to MessageReader, add a new stat counter. Revise pings so they aren't so chatty over lossy connections.

7 years agoRe-remove TCP (this time for good), add a counter to track potentionally fragmented...
Forest [Fri, 26 Apr 2019 19:26:53 +0000 (12:26 -0700)]
Re-remove TCP (this time for good), add a counter to track potentionally fragmented (by MTU) packets, catch a small crash-causer caused by disposing client connections

7 years agoRemove obvious allocation from UdpClientConnection. How did I miss that?
Forest [Mon, 15 Apr 2019 23:35:15 +0000 (16:35 -0700)]
Remove obvious allocation from UdpClientConnection. How did I miss that?

7 years agoRemove the accidentally added benchmark project
Forest [Mon, 15 Apr 2019 23:09:00 +0000 (16:09 -0700)]
Remove the accidentally added benchmark project

7 years agoMake TCP dispose consistent
Forest [Wed, 10 Apr 2019 19:53:34 +0000 (12:53 -0700)]
Make TCP dispose consistent

7 years agoUpdate README.md
Forest [Wed, 10 Apr 2019 19:50:49 +0000 (12:50 -0700)]
Update README.md

7 years agoRemove unneeded lock, optimize connection statistics to be more x86 friendly
Forest [Thu, 4 Apr 2019 23:20:09 +0000 (16:20 -0700)]
Remove unneeded lock, optimize connection statistics to be more x86 friendly

7 years agoResolve an iOS bug due to setting buffers too large, standardize some socket shutdown...
Forest [Mon, 25 Mar 2019 21:41:04 +0000 (14:41 -0700)]
Resolve an iOS bug due to setting buffers too large, standardize some socket shutdown, relax some reliable message disconnect defaults/tolerances

7 years agoFix a very dumb Position < Length bug, put a semaphore around something that supposed...
Forest [Sun, 17 Mar 2019 21:44:38 +0000 (14:44 -0700)]
Fix a very dumb Position < Length bug, put a semaphore around something that supposedly could be a bug

7 years agoClean up some stuff, fix a thing where 0 retries wasn't infinite
Forest [Thu, 7 Mar 2019 04:00:02 +0000 (20:00 -0800)]
Clean up some stuff, fix a thing where 0 retries wasn't infinite

7 years agoFix some tests, fix a bug in UDP client where reliable packets were being forgotten
Forest [Tue, 8 Jan 2019 22:58:06 +0000 (14:58 -0800)]
Fix some tests, fix a bug in UDP client where reliable packets were being forgotten

7 years agoReadd TCP capability, this helps deal with the lack of fragmented messaging in UDP...
Forest [Sat, 5 Jan 2019 00:57:43 +0000 (16:57 -0800)]
Readd TCP capability, this helps deal with the lack of fragmented messaging in UDP. My usage is only server side when connections should be very reliable. I'll never use TCP in a game.

7 years agoClean up some stuff
Forest [Wed, 2 Jan 2019 19:27:16 +0000 (11:27 -0800)]
Clean up some stuff

7 years agoSlight optimizations to disconnect
Forest [Mon, 31 Dec 2018 05:02:44 +0000 (21:02 -0800)]
Slight optimizations to disconnect

7 years agoRemove extraneous wrapper around IPEndpoint
Forest [Mon, 31 Dec 2018 03:55:01 +0000 (19:55 -0800)]
Remove extraneous wrapper around IPEndpoint

7 years agoFix some tests I didn't notice I broke
Forest [Fri, 28 Dec 2018 07:23:03 +0000 (23:23 -0800)]
Fix some tests I didn't notice I broke

7 years agoUpdate license according to heavy modifications
Forest [Thu, 27 Dec 2018 23:18:50 +0000 (15:18 -0800)]
Update license according to heavy modifications

7 years agoUpdate readme to reflect my personal heading for this fork.
Forest [Thu, 27 Dec 2018 23:07:44 +0000 (15:07 -0800)]
Update readme to reflect my personal heading for this fork.

7 years agoUndo an accidental class name change
Forest [Thu, 27 Dec 2018 22:32:59 +0000 (14:32 -0800)]
Undo an accidental class name change

7 years agoStrip away a bunch of Interlocked debug stuff, add a bit more logging during exceptions
Forest [Thu, 27 Dec 2018 22:29:43 +0000 (14:29 -0800)]
Strip away a bunch of Interlocked debug stuff, add a bit more logging during exceptions

7 years agoHave I been making mistakes this whole time?
Forest [Tue, 25 Dec 2018 07:46:06 +0000 (23:46 -0800)]
Have I been making mistakes this whole time?

7 years agoThis is what I'm using now, 1100 users on my single core, but after moving to multico...
Forest [Sat, 22 Dec 2018 22:03:36 +0000 (14:03 -0800)]
This is what I'm using now, 1100 users on my single core, but after moving to multicore, I'm seeing a lot of lock contention, not sure if Hazel or my game server code

7 years agoChange some more stuff, let's use strings instead of exceptions because I don't like...
Forest [Thu, 20 Dec 2018 22:28:18 +0000 (14:28 -0800)]
Change some more stuff, let's use strings instead of exceptions because I don't like stack unwind for disconnects

7 years agoMany of the recent changes are very good, some I'm not so sure about, but unfortunate...
Forest [Wed, 19 Dec 2018 21:35:03 +0000 (13:35 -0800)]
Many of the recent changes are very good, some I'm not so sure about, but unfortunately my optimizations were influenced by an unknown, outside force (AWS was capping my CPU and I didn't know). So now that that problem is fixed, we'll see how much I undo/alter.

7 years agoClean up some enumerators, try a single timer per connection for packets
Forest [Wed, 19 Dec 2018 03:20:21 +0000 (19:20 -0800)]
Clean up some enumerators, try a single timer per connection for packets

7 years agoAllow for a little more instrumenting, maybe stop a race
Forest [Tue, 18 Dec 2018 23:57:24 +0000 (15:57 -0800)]
Allow for a little more instrumenting, maybe stop a race

7 years agoI like this idea, but why memmory?
Forest [Tue, 18 Dec 2018 20:00:26 +0000 (12:00 -0800)]
I like this idea, but why memmory?

7 years agoGot everything pretty stable now
Forest [Tue, 18 Dec 2018 09:56:45 +0000 (01:56 -0800)]
Got everything pretty stable now

7 years agoRemove unused fragmented code, reduce more allocations, fix tests that wouldn't fail
Forest [Mon, 17 Dec 2018 07:04:21 +0000 (23:04 -0800)]
Remove unused fragmented code, reduce more allocations, fix tests that wouldn't fail

7 years agoReduce allocations when receiving packets
Forest [Mon, 17 Dec 2018 00:29:14 +0000 (16:29 -0800)]
Reduce allocations when receiving packets

7 years agoStabilize everything
Forest [Sun, 16 Dec 2018 20:01:06 +0000 (12:01 -0800)]
Stabilize everything

7 years agoRemove a test that didn't belong in this project, work towards separating hello from...
Forest [Wed, 28 Nov 2018 22:39:20 +0000 (14:39 -0800)]
Remove a test that didn't belong in this project, work towards separating hello from ping packets

7 years agoClean up some stuff, make some stuff public for easier statistics. There's a memory...
Forest [Wed, 24 Oct 2018 05:48:14 +0000 (22:48 -0700)]
Clean up some stuff, make some stuff public for easier statistics. There's a memory leak somewhere, just gotta find it.

7 years agoFix some null refs and other weird bugs
Forest [Sun, 14 Oct 2018 19:45:47 +0000 (12:45 -0700)]
Fix some null refs and other weird bugs

7 years agoApparently I have made a lot of changes that were not committed. But I fixed a bug...
Forest [Wed, 3 Oct 2018 19:54:16 +0000 (12:54 -0700)]
Apparently I have made a lot of changes that were not committed. But I fixed a bug. NICE

8 years agoMore or less require a message at base level
Forest [Thu, 9 Aug 2018 23:41:22 +0000 (16:41 -0700)]
More or less require a message at base level

8 years agoMake disconnect send synchronous so it's more likely to actually send
Forest [Thu, 9 Aug 2018 18:29:04 +0000 (11:29 -0700)]
Make disconnect send synchronous so it's more likely to actually send