Граф коммитов

387 Коммитов

Автор SHA1 Сообщение Дата
Daniel Gosnell 8b1a90f094
Update LICENSE 2019-05-15 12:01:30 -04:00
DJGosnell 5d1ffd488a Updated version.
Updated all packages to latest versions.
Updated nuspec for correct project description.
2019-02-06 15:53:32 -05:00
DJGosnell 85d68da9f5 Updated version number 2019-02-06 14:53:18 -05:00
Daniel Gosnell 1a075f4947
Merge pull request #33 from Dtronix/logging-system
Logging system
2019-02-06 14:40:13 -05:00
DJGosnell 14a59cfbf0 Added documentation to classes.
Removed unused utility method.
2019-02-06 14:25:43 -05:00
DJGosnell ed98958f4c Fixed potential issue with integers being silently converted to shorts in the sending/receiving process.
Added additional low level logging for tracking down issues with the protocol.
Added tests for large payloads.
Added sending checks to prevent sending data from overflowing the SendAndReceiveBufferSize.
2019-02-06 12:02:02 -05:00
DJGosnell af844adbe6 Started initial work on logging events. 2019-02-05 18:04:45 -05:00
DJGosnell 189642523c Fixed bug when timeouts are disabled, the connecting clients immediately are disconnected. 2019-02-01 09:57:52 -05:00
DJGosnell 386a5009d6 Added tests to fix issue with large argument payloads not sending to RPC methods. 2019-01-31 18:03:29 -05:00
Daniel Gosnell 1207db3bbc
Corrected to 256 bit AES encryption 2018-07-23 11:22:04 -04:00
Daniel Gosnell 09e49d30d2
Update README.md 2018-06-21 17:23:55 -04:00
Daniel Gosnell ef59ff219a
Update secured-transport.md 2018-06-21 17:17:14 -04:00
Daniel Gosnell 7c84326ed6
Update secured-transport.md 2018-06-21 17:16:12 -04:00
Daniel Gosnell b1c37d6d94
Update secured-transport.md 2018-06-21 17:12:12 -04:00
DJGosnell d8bcfed7ce Updated documentation & performance tests. 2018-06-21 12:55:13 -04:00
Daniel Gosnell 85ce5ac328
Merge pull request #32 from Dtronix/secured-transport
Secured transport
2018-06-21 12:20:13 -04:00
DJGosnell b6f7f0edae Renamed threads to be more in-line with standards. 2018-06-21 12:10:22 -04:00
DJGosnell d238babb4e Removed unused file.
Renamed RpcConfiguration from MaxExecutionThreads to MinExecutionThreads since the ActionProcessor can spin more up on demand.
Implemented configuration for MinExecutionThreads.
2018-06-21 11:58:32 -04:00
DJGosnell 582bc48de3 Restored MQ performance tests. 2018-06-21 11:44:12 -04:00
DJGosnell 792fd8c798 Removed unused _config.yml
Updated for new version.
2018-06-21 11:34:32 -04:00
DJGosnell 8772920b4c Renamed tests to more reflect their actual contents.
BREAKING CHANGE: Removed logic for RPC method cancellation.
2018-06-21 10:44:05 -04:00
DJGosnell 695022fa13 Updated protobuf package.
Changed RPC processing to be sequential and to run on dedicated threads instead of the thread pool.
TODO: Fix broken tests.
2018-06-20 16:13:53 -04:00
DJGosnell 2250aebb39 Renamed PlainCryptoTransform to BlockCopyCryptoTransform. 2018-06-19 12:46:31 -04:00
DJGosnell 8695ddb52a Added documentation to the PainCryptoTransform.
Added additional documentation for the TcpSocketSession.
2018-06-19 12:45:26 -04:00
DJGosnell 5e6ccfcbee Adding documentation to TcpSocketSession.
TcpSocketSession.Send now contains a parameter to specify if the data should be padded to be aligned on 16 bytes.
2018-06-19 12:11:12 -04:00
DJGosnell 2c38313392 Added comparison of AES encryption speeds vs Buffer.BlockCopy. 2018-06-18 19:05:25 -04:00
DJGosnell 97b92d34cb Added reset method to set all header values to default.
If the session was closed during the reading process, it will now no longer go back to reading after.
Reset the header after reading the complete encryption key.
Fixed all tests.
2018-06-18 18:58:40 -04:00
DJGosnell 9de5df59f0 Moved securing process to use headers.
Temporarily removed version number from the negotiation.
Removed debugging code from TransformDataBuffer.
Simplified sending headers and bodies with SendWithHeader method.
Removed several unused methods.
2018-06-15 18:16:37 -04:00
DJGosnell 7dcbc3a161 Separated BufferManager to not be dependent upon SocketAsyncEventArgs.
Changed AsyncManager, OutboxProcessor & InboxProcessor to private fields.
Sessions now use a pre-made buffer for encryption transformations on receiving data.
2018-06-15 15:54:34 -04:00
DJGosnell 75e14ec0a6 Relocated CloseReason into TcpSocket directory. 2018-06-15 09:15:45 -04:00
DJGosnell 3076f2c906 Removed unused code.
ToDo: Relocate existing close code to tcp records.
2018-06-14 17:55:05 -04:00
DJGosnell 6561c24374 Updated packages for new versions of protobuf & nunit. 2018-06-14 16:08:57 -04:00
DJGosnell c6360a2905 Initial work to change from RSA to DH key setup.
TODO: Fix code for tests.
2018-06-14 16:05:48 -04:00
DJGosnell 7c5570fd32 Fixed issue with sockets overflowing their buffers.
Restored performance testing suites.
2018-06-12 17:51:25 -04:00
DJGosnell a01ff29f82 Added automatic padding to the end of each packet.
Started work on unifying SendReceiveBuffer size.
2018-06-11 17:33:05 -04:00
DJGosnell ee43b2ae5b Started documentation of the secured transport. 2018-06-08 16:56:35 -04:00
DJGosnell f68c971c4c Work to reduce the amount of required padding/flushes. 2018-06-07 18:19:34 -04:00
DJGosnell 77a7fe987d Completed first iteration of sending and receiving encrypted data.
Changed all data to be encrypted over the transport instead of just message data encryption.
TODO: Change to use DH key generation.
2018-06-06 18:10:01 -04:00
DJGosnell 8b7c168335 Work on debugging transport data loss. 2018-05-31 18:11:33 -04:00
DJGosnell 6fc4a0855c Added headers for all outgoing packets.
Work on reading incoming packets with the headers.
2018-05-29 17:36:23 -04:00
DJGosnell e45f64e922 Fixed issue of malformed data on send/receive after AES encryption.
Created dummy PlainCryptoTransform.cs to review transformations.
Started separation of the encryption layer from the transport layer.
2018-05-29 15:54:40 -04:00
DJGosnell 572a75693b Work to remove buffer copies. 2018-05-28 20:28:05 -04:00
DJGosnell fc9d0517f0 Completed basic Rsa -> Aes encryption channel.
Working on AES implementation of encryption/decryption.
2018-05-25 20:31:35 -04:00
DJGosnell 6428db5d87 Updated all projects to .net 4.6 to include new security classes. 2018-05-25 14:06:59 -04:00
DJGosnell fd85b2eed0 Fixed tests IP address connection. 2017-10-30 17:27:21 -04:00
DJGosnell e6d7b62029 Fixed memory leak in the new MemoryQueueStream where retrieving the stream length would inadvertently copy the queue bytes.
Added simple tests for the MemoryQueueStream.
2017-10-30 12:33:28 -04:00
DJGosnell 758c6d829d Removed running of tests for now on Mono. 2017-10-30 10:40:30 -04:00
DJGosnell c1e4b81c18 Removed some tests from running on failing on mono, but succeeding on the target OS of windows. 2017-10-30 09:59:46 -04:00
DJGosnell cbdbac5439 Renamed Socket classes to TcpSocket since that is all it is designed to handle at this point.
Migrated advancements from transport-protocol branch to master.
Added MemoryQueueBufferStream to buffer the stream data without moving it to another buffer.
Added new tools.
Added testing of via travis.
Translated all tests to nunit from xunit.
Removed Closing and Connecting from valid states as it was complicating the process.
Updated protobuf-net to 2.3.2.
Removed Port configuration
Renamed Ip configuration to Address.  Port is integrated into the Address. "IP:PORT".
2017-10-27 18:04:00 -04:00
Daniel Gosnell 77aee3211b Set theme jekyll-theme-minimal 2017-10-13 17:14:44 -04:00