-
Notifications
You must be signed in to change notification settings - Fork 370
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
sslh-select hangs when connecting towards an unresponsive server #258
Comments
We face the same issue in 1.21:
As you can see, the server is always unresponsive for about 130seconds. This is a big problem for us, as we are now unable to use sslh-select at all. Any idea how to solve this issue in sslh? |
Ok, I had a quick look. |
Ok, this commit should work. It may fail if the server name resolves to several addresses, one of which hangs while the others don't, as I expect the commit should apply to 1.21c straightfowardly, but I didn't try it. |
We will try the change. Name resolution is not a problem for us, as we only use local addresses as target. Thanks a lot for your work 👍 |
Use case: sslh forwards incoming HTTPS to a local LXC, which is not started. Connection towards the LXC hangs (e.g. telnet prints
Trying 192.168.0.3...
then waits for a long time).sslh
also hangs, which means no other connection are serviced.The text was updated successfully, but these errors were encountered: