Re: [David Engel: Bug#43196: SSL telnet sessions pause unexpectedly]
Create an SSL connection to localhost. View a file with less or emacs. For best results, use a file with long lines that fill the screen. Hit ^L to redraw the screen repeatedly, Eventually, only a partial redraw will take place and won't complete until another key is pressed. FWIW, this problem has existed since the switch to the openssl based libssl09 and telnet(d)-ssl packages were introduced. At which version did the problem begin? I think there were some changes with regard to non-blocking IO. __ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
Re: [David Engel: Bug#43196: SSL telnet sessions pause unexpectedly]
Create an SSL connection to localhost. View a file with less or emacs. For best results, use a file with long lines that fill the screen. Hit ^L to redraw the screen repeatedly, Eventually, only a partial redraw will take place and won't complete until another key is pressed. FWIW, this problem has existed since the switch to the openssl based libssl09 and telnet(d)-ssl packages were introduced. This sounds like an application bug -- probably it uses select() when the SSL buffers still have data. (Even s_client had this bug.) Solution: Use non-blocking I/O and try SSL_read just in case (or skip it if SSL_pending returns 0 -- but SSL_pending returning non-0 does not mean that there's actually any application data available); use select() only if SSL_read asks for it. __ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
[David Engel: Bug#43196: SSL telnet sessions pause unexpectedly]
Hi, I suppose we have a problem with the openssl library. telnet-ssl comes from netkit-telnet, which itself does not show the problems. telnet-ssl has the patches from the former SSLtelnet included. I have reproduced the problem with openssl 0.9.3a and 0.9.4. You can get the sources from nonus.debian.org: pub/debian-non-US/dists/potato/non-US/main/source/netkit-telnet-ssl_0.12-4.diff.gz pub/debian-non-US/dists/potato/non-US/main/source/netkit-telnet-ssl_0.12.orig.tar.gz I really don't know where the problem might be. Perhaps someone can help here. Thanks Christoph Package: telnet-ssl Version: 0.12-3 Package: telnetd-ssl Version: 0.12-3 Package: libssl09 Version: 0.9.3a-1 Severity: important My SSL telnet sessions keep pausing unexpectedly. By pausing, I mean that the screen freezes part way through a large update and won't unstick until further keyboard input is made. I can reliably reproduce the problem by doing the following: Create an SSL connection to localhost. View a file with less or emacs. For best results, use a file with long lines that fill the screen. Hit ^L to redraw the screen repeatedly, Eventually, only a partial redraw will take place and won't complete until another key is pressed. FWIW, this problem has existed since the switch to the openssl based libssl09 and telnet(d)-ssl packages were introduced. The problem does not, and still doesn't, exist in the older ssleay based libssl09 and ssltelnet packages. David -- David Engel [EMAIL PROTECTED]