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

Commits on Feb 16, 2020

  1. Configuration menu
    Copy the full SHA
    2811f07 View commit details
    Browse the repository at this point in the history
  2. UDPServer and PacketPeerUDP connect_to_host.

    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".
    Faless committed Feb 16, 2020
    Configuration menu
    Copy the full SHA
    c4f6ab8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d06af89 View commit details
    Browse the repository at this point in the history

Commits on Feb 17, 2020

  1. New PacketPeerDTLS and DTLSServer classes.

    Custom instance implementation via the mbedtls module.
    Faless committed Feb 17, 2020
    Configuration menu
    Copy the full SHA
    6fc50d7 View commit details
    Browse the repository at this point in the history
  2. Custom godot sockets for ENet now support DTLS.

    Non-DTLS implementation uses plain NetSocket for performance as before.
    Faless committed Feb 17, 2020
    Configuration menu
    Copy the full SHA
    119c2a4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7d1a290 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9eea2cf View commit details
    Browse the repository at this point in the history