<div dir="ltr">Hi all,<div><br></div><div>I'am trying to encrypt a connection between two hosts using stunnel.<div>----- here is my config file ----</div><div><span style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">cert = /usr/local/etc/stunnel/</span><span style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">stunnel.pem</span><br style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<span style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">chroot = /usr/local/var/lib/stunnel/</span><br style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<span style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">setuid = nobody</span><br style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><span style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">setgid = nogroup</span><br style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<span style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">pid = /stunnel.pid</span><font face="arial, sans-serif"><br></font><span style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">socket = l:TCP_NODELAY=1</span><br style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<span style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">socket = r:TCP_NODELAY=1</span><br style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><br style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<span style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">debug = debug</span><br style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><span style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">output = stunnel.log</span><br style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<font face="arial, sans-serif">---<br></font><span style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">[rdps]</span><br style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<span style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">accept = 1957</span><br style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><span style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">connect = remote_machine</span>:3389<br style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<font face="arial, sans-serif"><br></font><div>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 :</div>
<div><br> Dec 20 16:58:01 alpha kernel: [4930384.164316] stunnel[14540]:
segfault at 8 ip b7629b61 sp b758d16c error 6 in <a href="http://libc-2.7.so">libc-2.7.so</a>[b75bd000+138000]<br clear="all"><div><br></div>Does anybody have an idea about this problem,<div><br></div><div>thanks in advance,</div>
<div><br></div>Yassine<br><br>
</div></div></div></div>