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 support + optional ENet encryption #36296

Merged
merged 7 commits into from
Feb 18, 2020

Conversation

Faless
Copy link
Collaborator

@Faless Faless commented Feb 17, 2020

See #35091 but for the master branch. The other PR is left for reference and for people who want to try it in 3.2 (plus maybe, just maybe, it could be merged to that branch if we feel confident to do so in the coming months).

UDP sockets can be "connected" to filter packets from a specific source.
In case of a bound socket (e.g. server), a new socket can be created on
the same address/port that will receive all packets that are not
filtered by a more specific socket (e.g. the previously connect socket).

This way, a UDPServer can listen to new packets, and return a new
PacketPeerUDP when receiving one, knowing that is a "new client".
Custom instance implementation via the mbedtls module.
Non-DTLS implementation uses plain NetSocket for performance as before.
@akien-mga akien-mga added this to the 4.0 milestone Feb 17, 2020
@akien-mga akien-mga changed the title [master] DTLS support + optional ENet encryption DTLS support + optional ENet encryption Feb 18, 2020
@akien-mga akien-mga merged commit 27326f8 into godotengine:master Feb 18, 2020
@akien-mga
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants