Skip to content

Multiple connections support. #2

@TimonPost

Description

@TimonPost

With rust-openssl we run into an issue that we have to be able to listen to multiple endpoints which we do not know in advance. We somehow have to listen like a TCP listener and create streams for incoming connections. As you know with UDP this is a bit difficult but not possible. There are some solutions to this. Either wait for rustls to finish their DTLS implementation. Or use openssl. Since this library works with openssl it will choose the second option.

Unfortunately, rust-openssl does not have implemented this dtls listening feature. See this issue for more information.

And so I am trying to implement this feature. It takes some extra work than I initially thought. It requires an update to libc, openssl-sys and OpenSSL and this library of course.

My working branches are:

libc: https://github.com/TimonPost/libc/tree/dtls_additions
rust openssl: https://github.com/TimonPost/rust-openssl/tree/dtls_listen
this library https://github.com/TimonPost/udp-dtls/tree/multiple_connections

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions