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

Telnet to SSL port = hang until disconnect #694

Open
emurphy42 opened this issue Jun 28, 2018 · 1 comment
Open

Telnet to SSL port = hang until disconnect #694

emurphy42 opened this issue Jun 28, 2018 · 1 comment

Comments

@emurphy42
Copy link

MUX 2.10.1.12 #9 [2012-JUL-07]

There's one regular port and one SSL port. Hitting the latter with a regular telnet connection causes the game session to hang. It generally resumes once the connection is dropped, but there have been a couple cases where it stays hung for minutes/hours, presumably because it didn't register the connection dropping. I could just turn SSL off (few actually use it) but I'd rather fix it.

  • Is this a known issue?
  • Is it fixed in a later version?
  • Is there a config option to impose a timeout limit on SSL negotiation?
@brazilofmux
Copy link
Owner

It's a known issue now, and there is a related issue that needs attention as well. The problem is that while sockets are eventually set non-blocking, the SSL negotiation happens earlier than that, so it blocks. The solution is to go through, add more states to a connection, and be ready to repeat SSL calls like SSL_accept() or whatever as more data is available. Doable, but not done, yet.

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

2 participants