Hi Scott,

I am not quite sure to understand your answer. Let me add some more info to make it clear onto how I get the segfault.: 

A java applet (from web browser) is invoking the stunnel machine on the port 1957 stunnel then redirects the traffic into the remote_machine, so I only have the server stunnel portion installed (in the stunnel machine ).

when I run a telnet on any machine connected to the internet this way: telnet stunnel_machine 1957
the stunnel on the stunnel machine dies...with the error posted previously.

Greetings,
--
Yassine

2011/12/21 Scott Damron <sdamron@gmail.com>
You need to have an IP address for the local connection and you need
the client portion enabled as well.

Scott

On Wed, Dec 21, 2011 at 10:51 AM, yassine ayachi
<ayachi.yassine@gmail.com> wrote:
> 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
>
>
> _______________________________________________
> stunnel-users mailing list
> stunnel-users@stunnel.org
> http://stunnel.mirt.net/mailman/listinfo/stunnel-users
>