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

Make TLS link listener accept connections concurrently #1570

Merged
merged 2 commits into from
Oct 31, 2024

Conversation

fuzzypixelz
Copy link
Member

The existing TLS link listener implementation is vulnerable to DoS attacks between accepting a TCP connection and completing the TLS handshake. In #1514 a timeout was added but this proved ineffective when the attacker re-establishes TCP connections at a high rate.

@fuzzypixelz fuzzypixelz added the enhancement Existing things could work better label Oct 29, 2024
@fuzzypixelz
Copy link
Member Author

aws-lc-rs is known to cause issues when cross compiling Zenoh, so I'll mark this as draft until the changes in tmccombs/tls-listener#46 are released in the next version of tls-listener.

@fuzzypixelz fuzzypixelz marked this pull request as draft October 29, 2024 13:34
@fuzzypixelz fuzzypixelz marked this pull request as ready for review October 31, 2024 08:04
@fuzzypixelz
Copy link
Member Author

aws-lc-rs is known to cause issues when cross compiling Zenoh, so I'll mark this as draft until the changes in tmccombs/tls-listener#46 are released in the next version of tls-listener.

All good now.

@Mallets Mallets merged commit bb24e95 into main Oct 31, 2024
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Existing things could work better
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants