[stunnel-users] stunnel 4.14 and zlib compression problem

David Cheung dwcheung at gmail.com
Tue Jan 3 23:45:25 CET 2006


I'm hoping that someone can shed some light on the following problem:

when I run stunnel:
[root at test stunnel]# stunnel /etc/stunnel/stunnel.conf
2006.01.03 10:49:27 LOG5[4619:1]: stunnel 4.14 on i686-pc-linux-gnu
UCONTEXT+POLL+IPv4+LIBWRAP with OpenSSL 0.9.7h 11 Oct 2005
2006.01.03 10:49:27 LOG3[4619:1]: Failed to initialize zlib compression
method

content of stunnel.conf:
foreground = yes
debug = 7
cert = /etc/stunnel/stunnel.pem
output = /dev/stdout
chroot = /var/run/stunnel/
setuid = nobody
setgid = nobody
pid = /stunnel.pid
socket = l:TCP_NODELAY=1
socket = r:TCP_NODELAY=1
compression = zlib
[demo]
accept  = 1443
connect = www:80
TIMEOUTclose = 0

It also appears that the libraries are properly linked in:
[root at test tmp]# ldd /usr/sbin/stunnel
        linux-gate.so.1 =>  (0xffffe000)
        libz.so.1 => /usr/lib/libz.so.1 (0xb7fc9000)
        libdl.so.2 => /lib/libdl.so.2 (0xb7fc5000)
        libutil.so.1 => /lib/libutil.so.1 (0xb7fc1000)
        libnsl.so.1 => /lib/libnsl.so.1 (0xb7fab000)
        libssl.so.0.9.7 => /usr/lib/libssl.so.0.9.7 (0xb7f78000)
        libcrypto.so.0.9.7 => /usr/lib/libcrypto.so.0.9.7 (0xb7e66000)
        libwrap.so.0 => /usr/lib/libwrap.so.0 (0xb7e5f000)
        libc.so.6 => /lib/tls/libc.so.6 (0xb7d40000)
        /lib/ld-linux.so.2 (0xb7fdf000)

I'm running this on Arch Linux with a stock 2.6.15 kernel. Any help
would be appreciated.





More information about the stunnel-users mailing list