Adding to the info below:<div>Its a Mac OS with</div><div><br></div><div><div>> gcc -v</div><div>Using built-in specs.</div><div>Target: x86_64-redhat-linux</div><div>Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=x86_64-redhat-linux</div>
<div>Thread model: posix</div><div>gcc version 4.1.2 20080704 (Red Hat 4.1.2-48)</div><div><br></div><div><br></div><div>> openssl version</div><div>OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008</div><div><br></div><br><div class="gmail_quote">
On Thu, Jun 17, 2010 at 11:43 AM, Bhavna Jhunjhunwala <span dir="ltr"><<a href="mailto:bhavnaj@quantitativebrokers.com">bhavnaj@quantitativebrokers.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div>Hi,</div><div><br></div><div>I am using quickfix application to connect to an exchange and receive market data. The connectivity to exchange is through SSL and am using�stunnel 4.15.</div><div>I see that stunnel dies, every time my quickfix application is restarted or sends a logout to server.</div>
<div>Please let me know if a solution is in place.</div><div><br></div><div><b>Below is the stunnel.conf file:</b></div><div><div>cert = /home/bhavna/workspace/stunnel/str10100str.pem</div><div>key = /home/bhavna/workspace/stunnel/str10100str.pem</div>
<div><br></div><div>; Some performance tunings</div><div>socket = l:TCP_NODELAY=1</div><div>socket = r:TCP_NODELAY=1</div><div><br></div><div>; Some debugging stuff useful for troubleshooting</div><div>debug = 7</div><div>
output = /home/bhavna/workspace/stunnel/stunnel.log</div><div><br></div><div>pid = /home/bhavna/workspace/stunnel/stunnel.pid</div><div><br></div><div>; Use it for client mode</div><div>client = yes</div><div><br></div><div>
; Service-level configuration</div><div><br></div><div>[currenex_stream]</div><div>;accept �= <a href="http://127.0.0.1:1109" target="_blank">127.0.0.1:1109</a></div><div>accept �= 1110</div><div>;prod details</div><div>
connect = server_IP:port</div>
<div>TIMEOUTclose = 10</div><div><br></div></div><div><b>Below are the version details of stunnel:</b></div><div><br></div><div><div>> ./stunnel -version</div></div><div>stunnel 4.15 on x86_64-redhat-linux-gnu with OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008</div>
<div>Threading:PTHREAD SSL:ENGINE Sockets:POLL,IPv6 Auth:LIBWRAP</div><div>�</div><div>Global options</div><div>debug � � � � � = 5</div><div>pid � � � � � � = /var/run/stunnel.pid</div><div>RNDbytes � � � �= 64</div><div>
RNDfile � � � � = /dev/urandom</div><div>RNDoverwrite � �= yes</div><div>�</div><div>Service-level options</div><div>cert � � � � � �= /etc/stunnel/stunnel.pem</div><div>ciphers � � � � = AES:ALL:!aNULL:!eNULL:+RC4:@STRENGTH</div>
<div>key � � � � � � = /etc/stunnel/stunnel.pem</div><div>session � � � � = 300 seconds</div><div>TIMEOUTbusy � � = 300 seconds</div><div>TIMEOUTclose � �= 60 seconds</div><div>TIMEOUTconnect �= 10 seconds</div><div>TIMEOUTidle � � = 43200 seconds</div>
<div>verify � � � � �= none</div><div><br></div><div><b>Logs:</b></div><div><br></div><div><div>2010.06.16 18:59:23 LOG7[6401:1084586304]: SSL alert (read): warning: close notify</div><div>2010.06.16 18:59:23 LOG7[6401:1084586304]: SSL closed on SSL_read</div>
<div>2010.06.16 18:59:23 LOG7[6401:1084586304]: Socket write shutdown</div><div>2010.06.16 18:59:23 LOG7[6401:1084586304]: SSL write shutdown</div><div>2010.06.16 18:59:23 LOG7[6401:1084586304]: SSL alert (write): warning: close notify</div>
<div>2010.06.16 18:59:23 LOG6[6401:1084586304]: SSL_shutdown successfully sent close_notify</div><div>2010.06.16 18:59:23 LOG5[6401:1084586304]: Connection closed: 109 bytes sent to SSL, 129 bytes sent to socket</div><div>
2010.06.16 18:59:23 LOG7[6401:1084586304]: currenex_stream finished (0 left)</div><div><br></div></div><br>-- <br>Thanks,<br><font color="#888888">Bhavna<br><br><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Thanks,<br>Bhavna<br>Quantitative Brokers<br>646 293 1808<br>
</div>
<pre>
DISCLAIMER:
This e-mail and any attachments are for the confidential use of the
intended recipient. If you are not the intended recipient of this
message you are hereby notified that any review, dissemination,
distribution or copying of this message is strictly prohibited. This
communication is for information purposes only and should not be
regarded as an offer to sell or as a solicitation of an offer to buy
any investment product, an official confirmation of any transaction
or an official statement of Quantitative Brokers, LLC.
E-mail transmissions cannot be guaranteed to be secure or error-free.
Therefore, we do not represent that this information is complete or
accurate and it should not be relied upon as such.
All information is subject to change without notice.
Quantitative Brokers may, at its discretion, monitor and review the
content of all e-mail communications.