willardf / Hazel-Networking

Hazel Networking is a low level networking library for C# providing connection-oriented, message-based communication via RUDP.
MIT License
385 stars 60 forks source link

Repurpose DTLS session info for Hazel session info. #43

Closed willardf closed 2 years ago

willardf commented 2 years ago

This allows us to pivot Certificate fragmentation setting and maintain backcompat with the older broken version.

It probably deviates us from some spec on setting up sessions, but from a pure DTLS perspective, the session bytes can be safely ignored. Since Hazel defines the underlying "connection protocol" and DTLS provides a "secured connection", this seems like an acceptable deviation.