Hi,

after updating OpenSSL on a GNU/Linux system to the current version
0.9.6g, I didn't get QPopper work again using TSL. I compiled the
original sources of OpenSSL. 'openssl version -a' results in

OpenSSL 0.9.6g 9 Aug 2002
built on: Sun Oct 13 08:04:38 EDT 2002
platform: linux-elf
options:  bn(64,32) md2(int) rc4(idx,int) des(ptr,risc1,16,long) blowfish(idx) 
compiler: gcc -fPIC -DTHREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DNO_IDEA 
-DNO_RC5 -DNO_MDC2 -DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -m486 -Wall -DSHA1_ASM 
-DMD5_ASM -DRMD160_ASM

Then, I recompiled the original source of QPopper 4.0.4 as well as
4.0.5b1 without success. I used

./configure --enable-standalone --enable-specialauth --enable-with-pam \
 --with-openssl=/usr \
 --enable-bulldb --enable-log-login --enable-debugging --enable-warnings

The debug log contains:

Oct 13 15:32:46.622 2002 [1833] (v4.0.5b1) Servicing request from "xxx.teleweb.at" at 
xxx [pop_init.c:1174]
Oct 13 15:32:46.622 2002 [1833] before TLS; tls_support==1 [popper.c:181]
Oct 13 15:32:46.622 2002 [1833] ...Initializing OpenSSL library (version OpenSSL 
0.9.6g 9 Aug 2002) [pop_tls_openssl.c:230]
Oct 13 15:32:46.624 2002 [1833] ...have /dev/urandom; skipping PRNG seeding 
[pop_tls_openssl.c:288]
Oct 13 15:32:46.625 2002 [1833] ...setting method to SSLv23_server_method 
[pop_tls_openssl.c:312]
Oct 13 15:32:46.625 2002 [1833] ...allocating OpenSSL context [pop_tls_openssl.c:342]
Oct 13 15:32:46.625 2002 [1833] ...setting certificate file /xxx/xxx.crt 
[pop_tls_openssl.c:363]
Oct 13 15:32:46.626 2002 [1833] ...setting private key file /xxx/xxx.key 
[pop_tls_openssl.c:384]
Oct 13 15:32:46.626 2002 [1833] ...verifying private key against certificate 
[pop_tls_openssl.c:397]
Oct 13 15:32:46.626 2002 [1833] ...(tls_cipher_list not specified) 
[pop_tls_openssl.c:424]
Oct 13 15:32:46.626 2002 [1833] ...allocating OpenSSL connection 
[pop_tls_openssl.c:435]
Oct 13 15:32:46.626 2002 [1833] ...setting input (0) and output (0) file descriptors 
[pop_tls_openssl.c:446]
Oct 13 15:32:46.626 2002 [1833] ...successfully completed OpenSSL initialization 
[pop_tls_openssl.c:465]
Oct 13 15:32:46.626 2002 [1833] TLS Init [popper.c:202]
Oct 13 15:32:46.626 2002 [1833] Attempting OpenSSL handshake [pop_tls_openssl.c:514]
Oct 13 15:32:46.821 2002 [1833] tls accept returned 1 [pop_tls_openssl.c:517]
Oct 13 15:32:46.821 2002 [1833] SSL_get_error says SSL_ERROR_NONE (0) 
[pop_tls_openssl.c:524]
Oct 13 15:32:46.821 2002 [1833] (v4.0.5b1) TLSv1/SSLv3 handshake with client at 
xxx.teleweb.at (xxx); new session-id; cipher: DES-CBC3-SHA (DES-CBC3-SHA SSLv3 Kx=RSA 
Au=RSA Enc=3DES(168) Mac=SHA1), 168 bits [pop_tls_openssl.c:530]
Oct 13 15:32:46.822 2002 [1833] (v4.0.5b1) TLS OK [popper.c:218]
Oct 13 15:32:46.822 2002 [1833] TLS Done [popper.c:221]
Oct 13 15:32:46.822 2002 [1833] (v4.0.5b1) Intro [popper.c:247]
Oct 13 15:32:46.822 2002 [1833] +OK Qpopper (version 4.0.5b1) at xxx.at starting.   
[popper.c:260]
Oct 13 15:32:46.822 2002 [1833] tls write start 54 0xbfffd650 [pop_tls_openssl.c:690]
Oct 13 15:32:46.822 2002 [1833] tls write 54 2b 4f [pop_tls_openssl.c:694]
Oct 13 15:32:46.822 2002 [1833] SSL_get_error says SSL_ERROR_NONE (0) 
[pop_tls_openssl.c:698]
Oct 13 15:32:46.822 2002 [1833] Qpopper ready for input from (null) at xxx.at [xxx] 
[popper.c:294]
Oct 13 15:32:46.822 2002 [1833] tls read start 2048 0xbfffce3c [pop_tls_openssl.c:595]
Oct 13 15:32:47.355 2002 [1833] tls read 0 0 0 [pop_tls_openssl.c:599]

Oct 13 15:32:47.355 2002 [1833] SSL_get_error says SSL_ERROR_SYSCALL (5) 
[pop_tls_openssl.c:603]
Oct 13 15:32:47.355 2002 [1833] I/O Error [pop_tls_openssl.c:651]
Oct 13 15:32:47.355 2002 [1833] (null) at xxx.at (xxx): -ERR POP EOF or I/O Error 
[popper.c:820]
Oct 13 15:32:47.355 2002 [1833] tls write start 27 0xbfffd650 [pop_tls_openssl.c:690]
Oct 13 15:32:47.356 2002 [1833] tls write 27 2d 45 [pop_tls_openssl.c:694]
Oct 13 15:32:47.356 2002 [1833] SSL_get_error says SSL_ERROR_NONE (0) 
[pop_tls_openssl.c:698]
Oct 13 15:32:47.356 2002 [1833] +OK Pop server at xxx.at signing off. [popper.c:360]
Oct 13 15:32:47.356 2002 [1833] tls write start 40 0xbfffd650 [pop_tls_openssl.c:690]
Oct 13 15:32:47.356 2002 [1833] tls write 40 2b 4f [pop_tls_openssl.c:694]
Oct 13 15:32:47.356 2002 [1833] SSL_get_error says SSL_ERROR_NONE (0) 
[pop_tls_openssl.c:698]
Oct 13 15:32:47.356 2002 [1833] tls shutdown returned 0 [pop_tls_openssl.c:779]
Oct 13 15:32:47.356 2002 [1833] SSL_get_error says SSL_ERROR_SYSCALL (5) 
[pop_tls_openssl.c:783]
Oct 13 15:32:47.356 2002 [1833] TLS shutdown Error [pop_tls_openssl.c:805]
Oct 13 15:32:47.356 2002 [1833] freeing m_OpenSSLconn [pop_tls_openssl.c:827]
Oct 13 15:32:47.356 2002 [1833] freeing m_OpenSSLctx [pop_tls_openssl.c:833]
Oct 13 15:32:47.356 2002 [1833] openssl_shutdown returning -1 [pop_tls_openssl.c:838]
Oct 13 15:32:47.356 2002 [1833] (v4.0.5b1) Ending request from "" at (xxx.teleweb.at) 
xxx [popper.c:378]
Oct 13 15:32:47.356 2002 [1833] (v4.0.5b1) Timing for @xxx.teleweb.at (error) auth=0 
init=0 clean=0 [popper.c:384]


any ideas on how to solve this "I/O Error"?

-- 
Thanks,
 rob.

Reply via email to