Hi all,

I'am trying to encrypt a connection between two hosts using stunnel.
----- here is my config file ----
cert = /usr/local/etc/stunnel/stunnel.pem
chroot = /usr/local/var/lib/stunnel/
setuid = nobody
setgid = nogroup
pid = /stunnel.pid
socket = l:TCP_NODELAY=1
socket = r:TCP_NODELAY=1

debug = debug
output = stunnel.log
---
[rdps]
accept = 1957
connect = remote_machine:3389

Avery think was working fine until I tried to telnet to the port 1957 on the machine running stunnel, the process stunnel was killed alone leaving this in /var/log/messages :

Dec 20 16:58:01 alpha kernel: [4930384.164316] stunnel[14540]: segfault at 8 ip b7629b61 sp b758d16c error 6 in libc-2.7.so[b75bd000+138000]

Does anybody have an idea about this problem,

thanks in advance,

Yassine