<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">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>Bhavna<br><br><br>

<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.