Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DTLS transport #164

Merged
merged 52 commits into from
Jul 26, 2023
Merged

Conversation

mingyech
Copy link
Contributor

@mingyech mingyech commented Apr 11, 2023

Implement a UDP transport based on DTLS.

  • Create DTLS dialer & listener to create connection based shared secret established during registration in pkg/dtls
    • Generate DTLS certificate on client and server using shared secret as seed
    • Set client hello random field in client and read it from station to identify client (in order to match incoming client connection with registration)
    • Create SCTP stream after establishing DTLS connection to make transport reliable
  • Add support for UDP transport in application from udp changes #141
  • Implement application Transport interface from the created listener

Closes #141

@jmwample jmwample merged commit 0acef79 into refraction-networking:master Jul 26, 2023
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants