Bug#561885: perdition: SSL (port 993 and 995) connections don't timeout

2009-12-21 Thread Russell Coker
On Mon, 21 Dec 2009, Simon Horman ho...@verge.net.au wrote: I'm quite happy to consider replacing openssl with GNUTLS. Although I don't know if it would solve the problem at hand nor how many bonus problems it might create. My past experience is that converting from OpenSSL to GNUTLS is not

Bug#561885: perdition: SSL (port 993 and 995) connections don't timeout

2009-12-21 Thread Simon Horman
On Mon, Dec 21, 2009 at 08:49:59PM +1100, Russell Coker wrote: On Mon, 21 Dec 2009, Simon Horman ho...@verge.net.au wrote: I'm quite happy to consider replacing openssl with GNUTLS. Although I don't know if it would solve the problem at hand nor how many bonus problems it might create.

Bug#561885: perdition: SSL (port 993 and 995) connections don't timeout

2009-12-21 Thread Simon Horman
On Mon, Dec 21, 2009 at 11:08:15PM +1100, Simon Horman wrote: On Mon, Dec 21, 2009 at 08:49:59PM +1100, Russell Coker wrote: On Mon, 21 Dec 2009, Simon Horman ho...@verge.net.au wrote: I'm quite happy to consider replacing openssl with GNUTLS. Although I don't know if it would solve the

Bug#561885: perdition: SSL (port 993 and 995) connections don't timeout

2009-12-20 Thread Russell Coker
Package: perdition Version: 1.17.1-2 Severity: normal I have Perdition running on an AMD64 system. Here is what happens with an idle port 110 session: # date ; telnet server0 110 ; date Sun Dec 20 23:30:34 GMT 2009 Trying 10.0.0.21... Connected to server0. Escape character is '^]'. +OK POP3

Bug#561885: perdition: SSL (port 993 and 995) connections don't timeout

2009-12-20 Thread Simon Horman
On Mon, Dec 21, 2009 at 11:54:25AM +1100, Russell Coker wrote: Package: perdition Version: 1.17.1-2 Severity: normal I have Perdition running on an AMD64 system. Here is what happens with an idle port 110 session: # date ; telnet server0 110 ; date Sun Dec 20 23:30:34 GMT 2009 Trying

Bug#561885: perdition: SSL (port 993 and 995) connections don't timeout

2009-12-20 Thread Russell Coker
On Mon, 21 Dec 2009, Simon Horman ho...@verge.net.au wrote: In the case of the test that you ran above it looks like the code is waiting forever inside the openssl call SSL_accept() which is made in __perdition_ssl_connection(). The timeouts in perdition actually only operate on select() and

Bug#561885: perdition: SSL (port 993 and 995) connections don't timeout

2009-12-20 Thread Simon Horman
On Mon, Dec 21, 2009 at 04:02:05PM +1100, Russell Coker wrote: On Mon, 21 Dec 2009, Simon Horman ho...@verge.net.au wrote: In the case of the test that you ran above it looks like the code is waiting forever inside the openssl call SSL_accept() which is made in __perdition_ssl_connection().