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

Support racing handshakes on undirected 5-tuples #77

Open
bemasc opened this issue Jan 4, 2023 · 0 comments
Open

Support racing handshakes on undirected 5-tuples #77

bemasc opened this issue Jan 4, 2023 · 0 comments

Comments

@bemasc
Copy link
Collaborator

bemasc commented Jan 4, 2023

With DTLS and Connection IDs, it is possible in principle to establish connections with both polarities on a single 5-tuple simultaneously. With Datagram cTLS as currently specified, this does not work well, because a client who is expecting a ServerHello (CTLSServerPlaintext) might get another ClientHello (CTLSClientPlaintext) instead, and these structures rely on the directionality of the 5-tuple to determine the parsing.

We could add support for these kinds of racing handshakes by defining separate content types for CTLSServerPlaintext and CTLSClientPlaintext (at the cost of an additional registry entry), or by unifying these structures (at the cost of duplicating the profile_id).

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