<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.0.6603.0">
<TITLE>RE: stunnel on Solaris 2.6 or 7?</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<P><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">I have more informaton on the problem. It is giving the following error when doing pthread_create() in create_client()</FONT>
</P>
<P><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">open(/dev/zero): No such file or directory</FONT>
<BR><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">libthread panic: alloc_chunk (PID: 8605 LWP 1)</FONT>
<BR><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">stacktrace:</FONT>
<BR><FONT COLOR="#0000FF" SIZE=2 FACE="Arial"> ef3c9938</FONT>
<BR><FONT COLOR="#0000FF" SIZE=2 FACE="Arial"> ef3c83e8</FONT>
<BR><FONT COLOR="#0000FF" SIZE=2 FACE="Arial"> ef3c8184</FONT>
<BR><FONT COLOR="#0000FF" SIZE=2 FACE="Arial"> ef3cebf0</FONT>
<BR><FONT COLOR="#0000FF" SIZE=2 FACE="Arial"> ef3cbdf8</FONT>
<BR><FONT COLOR="#0000FF" SIZE=2 FACE="Arial"> ef3cfe80</FONT>
<BR><FONT COLOR="#0000FF" SIZE=2 FACE="Arial"> 1ad24</FONT>
<BR><FONT COLOR="#0000FF" SIZE=2 FACE="Arial"> 1ba28</FONT>
<BR><FONT COLOR="#0000FF" SIZE=2 FACE="Arial"> 1bbb8</FONT>
<BR><FONT COLOR="#0000FF" SIZE=2 FACE="Arial"> 13e68</FONT>
<BR><FONT COLOR="#0000FF" SIZE=2 FACE="Arial"> 0</FONT>
</P>
<P><FONT COLOR="#0000FF" SIZE=2 FACE="Arial"></FONT><SPAN LANG="en-us"></SPAN><SPAN LANG="en-us"></SPAN><SPAN LANG="en-us"> <FONT SIZE=1 FACE="Tahoma">-----Original Message-----</FONT></SPAN>
<BR><SPAN LANG="en-us"><B><FONT SIZE=1 FACE="Tahoma">From: </FONT></B> <FONT SIZE=1 FACE="Tahoma">Garg, Jai V (Jai) </FONT></SPAN>
<BR><SPAN LANG="en-us"><B><FONT SIZE=1 FACE="Tahoma">Sent: </FONT></B> <FONT SIZE=1 FACE="Tahoma">Friday, October 08, 2004 3:42 PM</FONT></SPAN>
<BR><SPAN LANG="en-us"><B><FONT SIZE=1 FACE="Tahoma">To: </FONT></B> <FONT SIZE=1 FACE="Tahoma">stunnel-users@mirt.net</FONT></SPAN>
<BR><SPAN LANG="en-us"><B><FONT SIZE=1 FACE="Tahoma">Subject: </FONT></B> <FONT SIZE=1 FACE="Tahoma">stunnel on Solaris 2.6 or 7?</FONT></SPAN>
</P>
<P><SPAN LANG="en-us"><FONT SIZE=2 FACE="Arial">Hello,</FONT></SPAN>
<BR><SPAN LANG="en-us"> <FONT SIZE=2 FACE="Arial">Has anyone successfully used stunnel on Solaris 2.6 or Solaris 7? I would appreciate if you can provide the binary.</FONT></SPAN></P>
<P><SPAN LANG="en-us"> <FONT SIZE=2 FACE="Arial">I am using gcc (tried both 3.3.2 and 3.4.2) on 2.6. It compiles, but it seems to hang somewhere after accepting a connection. Here's the log:</FONT></SPAN></P>
<P><SPAN LANG="en-us"><FONT SIZE=2 FACE="Arial">2004.10.08 13:05:20 LOG5[21833:1]: stunnel 4.05 on sparc-sun-solaris2.6 PTHREAD with OpenSSL 0.9.7d 17 Mar 20</FONT></SPAN>
<BR><SPAN LANG="en-us"><FONT SIZE=2 FACE="Arial">04</FONT></SPAN>
<BR><SPAN LANG="en-us"><FONT SIZE=2 FACE="Arial">2004.10.08 13:05:20 LOG7[21833:1]: RAND_status claims sufficient entropy for the PRNG</FONT></SPAN>
<BR><SPAN LANG="en-us"><FONT SIZE=2 FACE="Arial">2004.10.08 13:05:20 LOG6[21833:1]: PRNG seeded successfully</FONT></SPAN>
<BR><SPAN LANG="en-us"><FONT SIZE=2 FACE="Arial">2004.10.08 13:05:20 LOG5[21833:1]: FD_SETSIZE=1024, file ulimit=64 -> 29 clients allowed</FONT></SPAN>
<BR><SPAN LANG="en-us"><FONT SIZE=2 FACE="Arial">2004.10.08 13:05:20 LOG7[21833:1]: FD 4 in non-blocking mode</FONT></SPAN>
<BR><SPAN LANG="en-us"><FONT SIZE=2 FACE="Arial">2004.10.08 13:05:20 LOG7[21833:1]: SO_REUSEADDR option set on accept socket</FONT></SPAN>
<BR><SPAN LANG="en-us"><FONT SIZE=2 FACE="Arial">2004.10.08 13:05:20 LOG7[21833:1]: SeS_SOCKS_NJ bound to 0.0.0.0:1373</FONT></SPAN>
<BR><SPAN LANG="en-us"><FONT SIZE=2 FACE="Arial">2004.10.08 13:05:20 LOG7[21833:1]: FD 5 in non-blocking mode</FONT></SPAN>
<BR><SPAN LANG="en-us"><FONT SIZE=2 FACE="Arial">2004.10.08 13:05:20 LOG7[21833:1]: FD 6 in non-blocking mode</FONT></SPAN>
<BR><SPAN LANG="en-us"><FONT SIZE=2 FACE="Arial">2004.10.08 13:05:20 LOG7[21834:1]: Created pid file /stunnel-client.pid</FONT></SPAN>
<BR><SPAN LANG="en-us"><FONT SIZE=2 FACE="Arial">2004.10.08 13:05:25 LOG7[21834:1]: SeS_SOCKS_NJ accepted FD=0 from 155.184.22.17:62844</FONT></SPAN>
<BR><SPAN LANG="en-us"><FONT SIZE=2 FACE="Arial">2004.10.08 13:05:25 LOG7[21834:1]: FD 0 in non-blocking mode</FONT></SPAN>
</P>
<P><SPAN LANG="en-us"> <FONT SIZE=2 FACE="Arial">I appreciate all help with this.</FONT></SPAN>
</P>
<P><SPAN LANG="en-us"><FONT SIZE=2 FACE="Arial">Jai</FONT></SPAN>
</P>
</BODY>
</HTML>