Skip to content
This repository has been archived by the owner on Apr 17, 2021. It is now read-only.

Upgrade to Visual Studio 2017 #6

Open
wants to merge 68 commits into
base: master
Choose a base branch
from

Conversation

kdurkin77
Copy link

Upgrade to Visual Studio 2017, migration report shows successful with non-functional changes to DTLS.Net.sln. Change from xproj and .json files to csproj files

Ref: 3
Change-Id: I17eec959a62ff453ca0d8849f14a25f9a5687ceb
Signed-off-by: Krissy Miller [email protected]

Upgrade to Visual Studio 2017, migration report shows successful with non-functional changes to DTLS.Net.sln. Change from xproj and .json files to csproj files

Ref: 3
Change-Id: I17eec959a62ff453ca0d8849f14a25f9a5687ceb
Signed-off-by: Krissy Miller <[email protected]>
Upgraded to .Net Framework 4.7.
Improved null and parameter checking.
Other clean up including limiting the amount of nested ifs.
Added the ability to load a certificate from the certificate store.
Added client support for TLS_RSA_WITH_AES_256_CBC_SHA.
Added fragmentation handling on the client side, dependent on the fragments coming in order.
Commented out the client sending the extensions EncryptThenMAC and ExtendedMasterSecret as it does not seem to work properly.
Added a new test client to test out functionality with net-snmp and a certificate in the store

Change-Id: I228b5924676af5b4fac3bb6228d3dc7dfc49448e
… and net48.

Changed tests to be compatible with netcoreapp3.0, net47, net471, net472, and net48
Changed structure to a more straightforward design

Change-Id: I2cd489a1f2bd449986e8200c0d40aaa1148d4317
Change-Id: Id6b7da30c78dacda06c7b5670f41c6f994520e26
Change-Id: Iddedf37b084229c3bd9eb30dfdd2c68789800997
…README and LICENSE back in

Updated the pack information

Change-Id: I14bec350d5245d2a6e593ce0bf5fa2d7cc7ada04
Change-Id: Ia2767d59840218516af607b3cfdd839c05bcc19d
Change-Id: I7f5e5b58a16165285627ca911d86a84a686c8624
Change-Id: Id180f917134a16742a1d72617338818266c410e5
Change-Id: I750d940cd96dbf71e2b7f07f60c767727a414718
Change-Id: Ie1191a9be9dba61de7ad097bc634fe509ba1d5cd
Change-Id: I2142d4eec6292664444768eeaf16b80313890bab
Change-Id: I59b588cca68049bc233098d84fcb12852e8ac4b1
Change-Id: I3b74f32959333afefd2b4eec7a86bbeef7029b05
RSA is unavailable with STANDARD1_3
Added NET452 to NetSnmpTestClient
Added NET452 and STANDARD1_3 to TestClient and TestServer
Using the correct BouncyCastle now (BouncyCastle.NetCore is built by someone else, the correct one to use is Portable.BouncyCastle)
Updated System.Security.Cryptography.Cng
Updated assembly versions

Change-Id: I646e3fede9e05337b1b85e7ec2c575469bd8287d
… because now it will never be null

Use server version if it is < OR = to _Version
Use _Version instead of _SupportedVersion to get the premaster secret
Use _Version for the client hello since now it's defaulted to the supported version. This way when you send the client hello with the cookie, you'll have the correct version

Change-Id: I274f7ab92ac4f4edcb478f6df9eb7f6707a94510
Change-Id: I9c1afb54304fcc842a07b0bd98f3f8c483b019b8
@delmet
Copy link
Contributor

delmet commented Dec 18, 2019

@boyvinall Can you look at merging this

…it wasn't able to connect

Added more null checking

Change-Id: I8433346d598acfa4161beab16b23bd651c3c87cc
…445)

Change-Id: I2b537c0db4e322c39935e4a45c03379b883dbfae
Change-Id: Ia7c5972a10af08a4e017519ea32522f405400ab2
… thread when connecting to the server

Change-Id: I66403be440f37effa1eb3376e2348df4585cbc67
…unctions

Added socket extensions to be able to use Tasks - STANDARD1_3 is a bit different because the needed socket functions are not available. Disposing of the SocketAsyncEventArgs with STANDARD1_3 in case that was creating a memory issue

Making sure that we're receiving the entire record in the ReceiveCallback function. If we are not, we buffer the received data and receive more until we have a full record

Change-Id: I932fe53b19890e17c553c3e3453d08c4bfe13397
Change-Id: I5393d15288fa42d8e1c1771a3237da1c33a26a23
Added NETCOREAPP3_1 as a target in the test console apps

Change-Id: Icd3de0b3cb7c490236a7a5d95c58bde9858be50f
…g functions

Created a Task extension to await (non-blocking) for a task to complete within a timeout

Change-Id: I3d6bb00b7bfbcdf07a49b63b2681bd30f651f488
Change-Id: Id163215ba495de8ed12a6c595e0338d298390afc
…ed, removed the blocking functions

Created a Task extension to await (non-blocking) for a task to complete within a timeout
Replaced the ManualResetEvents with a boolean flag because it was blocking
Replaced NETSTANDARD1_3 with NETSTANDARD2_0
Added NETCOREAPP3_1 as a target in the test console apps

Change-Id: I476d2b0a8610be948aed32232ed6481d39247feb
…ame thing as NETSTANDARD2_1 rather than NETSTANDARD1_3

Updated all the send messages to async and added a timeout

Change-Id: Id3f8e871cfff37b18bc9aa134c13c16176f1283b
…e it was really used like that anyway

Created function to receive the data and to send and receive all in one with and without timeout

Change-Id: I9d6dffc0d68d656a9c65c1d2d8b4cc7e15ff529c
kdurkin77 and others added 30 commits June 11, 2020 09:04
…ax is 508 and for IPv6 max is 1212

Sending the fragments separately to avoid "Packet too big" failures

Change-Id: I816e84adb6cf7aafb8d41ab04d0af23a010c620d
Change-Id: I59766c643086a4ec388859bad163dea410774014
Change-Id: I07468142e619bb492f5ca53d18c769fd28a13912
Updated Portable.BouncyCastle and System.Security.Cryptograph.Cng for NETSTANDARD2_1

Change-Id: I5418ecc964b18acf56129a6f08b56aacd9fb4e8a
Change-Id: I3a25f31488426b8764c786eaef52072d919c2b86
Change-Id: Idd85fc8de1e63aeb3ec43cdae20eebffc6935f43
Change-Id: Ifdad9f1e1c9f8fa6ef606050862e889c68071f04
Updated client test project

Change-Id: I857da012e7179661934d39172c204e3bfbd6f08b
Change-Id: Ic732dc6a762e6e97f918ce964c29421e1fc98c2c
Change-Id: I3db5de3aa53992d51f68e91ea8f87038bc881082
Change-Id: I28ea85497366c50b5709317ac0895f59db7ef5ac
Change-Id: I3e9e42f51860dcdfe6e41673127943552841e95a
Change-Id: I75abd3a3d22db5e30ab7853ac83ef4ea7d94c3fd
Change-Id: I83f342851b01cf2cc5919d5b01d9d294b1160dfe
Change-Id: I0987415e5d078a8eadad17f3d7b08833ff56c012
Change-Id: I7f45843afc3c375c937e24208e1e1d46d6ca1511
… framework direct support

Change-Id: Idf2bd9bc8196d2ac7a6c222e4f4f13450ed2fb00
Change-Id: Ib1ac6e84418703507702f699d055d97d8d0aed65
Change-Id: Ie86922d2aea282ca970bce24e7a3115bcb4a16e9
Change-Id: I720796432e1289e78ba61d9ff222d89562f8862f
Change-Id: I0b8785af9cb77ba3dc7e2d1b8c7f9ea999868f26
Change-Id: I150b3bba66f397ceb8161fe7080dbe2bbf8d6133
Change-Id: I511e29ef176af0d7fd7cdbae96d83dc0c74c53bb
…ot actually supported and i can't seem to get it working

Change-Id: I4da6a5ba3c7bc2db52ea02c7251fa1ad1ebf3d03
Change-Id: I0a5ea4701a1bbb0b038991f0ec26d5d49af6a56f
Change-Id: Ic5dd6db521cc2e6e395cc631795213aed4e565a8
…he same in all target frameworks and is successful in .net8
Change-Id: Ie6a768b3868d819bdccdbb26f90420a924796ab6
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants