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

Multiple connections support. #2

Open
TimonPost opened this issue Dec 26, 2019 · 0 comments
Open

Multiple connections support. #2

TimonPost opened this issue Dec 26, 2019 · 0 comments

Comments

@TimonPost
Copy link
Owner

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

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

No branches or pull requests

1 participant