Re: [Quickfix-developers] Configuring stunnel with QuickFIX
Brought to you by:
orenmnero
|
From: Zoran C. <zo...@av...> - 2006-06-19 13:26:40
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> <title></title> </head> <body bgcolor="#ffffff" text="#000000"> Thank you - I actually figured it out - apparently one can't select the same port for accept and connect... which is odd to me (I don't see a reason why stunnel couldn't connect to the remote machine on a port X and accept connections on the local machine at the same port X), but what can one do. <br> <br> Alexey Zubko wrote: <blockquote cite="mid...@gm..." type="cite"> <pre wrap="">QuickFIX Documentation: <a class="moz-txt-link-freetext" href="http://www.quickfixengine.org/quickfix/doc/html/index.html">http://www.quickfixengine.org/quickfix/doc/html/index.html</a> QuickFIX Support: <a class="moz-txt-link-freetext" href="http://www.quickfixengine.org/services.html">http://www.quickfixengine.org/services.html</a> Hello Zoran, My connectivity to Currenex through stunnel works fine. I had such problem at the beginning also, but I think it was the certificate issue. I use stunnel 4.11, here is its configuration file: client = yes debug = err cert=crnx_stream_new.pem output=logs\crnx_stream.log [currenex_stream] accept = 127.0.0.1:1109 connect = 63.111.184.124:442 Regards, Alexey Zubko </pre> <blockquote type="cite"> <pre wrap="">Subject: [Quickfix-developers] Configuring stunnel with QuickFIX From: Zoran Cetusic <a class="moz-txt-link-rfc2396E" href="mailto:zo...@av..."><zo...@av...></a> Date: Fri, 16 Jun 2006 12:57:03 -0700 To: <a class="moz-txt-link-abbreviated" href="mailto:qui...@li...">qui...@li...</a> To: <a class="moz-txt-link-abbreviated" href="mailto:qui...@li...">qui...@li...</a> Hello, gentlemen. I'm hoping someone has had some experience configuring stunnel with QuickFIX. I have the following stunnel.conf settings cert = mycert.pem ; Service-level configuration [fixstream] connect = serviceprovider:442 accept = 442 When I direct my quickfix app to localhost on 442 (where stunnel accepts socket connections), stunnel reports the following, and terminates the connection : 2006.06.16 12:46:29 LOG5[2796:2988]: fixstream connected from 127.0.0.1:4307 2006.06.16 12:46:29 LOG7[2796:2988]: SSL state (accept): before/accept initialization 2006.06.16 12:46:31 LOG3[2796:2988]: SSL_accept: 140760FC: error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol 2006.06.16 12:46:31 LOG5[2796:2988]: Connection reset: 0 bytes sent to SSL, 0 bytes sent to socket 2006.06.16 12:46:31 LOG7[2796:2988]: fixstream finished (0 left) Obviously I'm missing something. Anyone care to enlighten me ? Best regards, -- *Zoran Cetusic* | President & CEO *phone* +1.858.218.4496 | *fax* +1.858.675.4504 *<a class="moz-txt-link-freetext" href="email:*">email:*</a> <a class="moz-txt-link-abbreviated" href="mailto:zo...@av...">zo...@av...</a> <a class="moz-txt-link-rfc2396E" href="mailto:zo...@av..."><mailto:zo...@av...></a>* | web * <a class="moz-txt-link-abbreviated" href="http://www.avalonsoft.com">www.avalonsoft.com</a> <a class="moz-txt-link-rfc2396E" href="http://www.avalonsoft.com/"><http://www.avalonsoft.com/></a> ------------------------------------------------------------------------ _______________________________________________ Quickfix-developers mailing list <a class="moz-txt-link-abbreviated" href="mailto:Qui...@li...">Qui...@li...</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/quickfix-developers">https://lists.sourceforge.net/lists/listinfo/quickfix-developers</a> </pre> </blockquote> <pre wrap=""><!----> _______________________________________________ Quickfix-developers mailing list <a class="moz-txt-link-abbreviated" href="mailto:Qui...@li...">Qui...@li...</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/quickfix-developers">https://lists.sourceforge.net/lists/listinfo/quickfix-developers</a> </pre> </blockquote> <br> <br> <div class="moz-signature">-- <br> <strong><span style="color: rgb(0, 0, 0);">Zoran Cetusic</span></strong><span style=""> </span><span style="font-size: 7.5pt; color: rgb(102, 102, 102);">| </span><span style="font-size: 7.5pt; color: blue;">President & CEO</span><br> <div class="moz-signature"><span style="font-size: 7.5pt; color: rgb(102, 102, 102);"><strong>phone</strong> +1.858.218.4496 | <strong>fax</strong> +1.858.675.4504</span><span style=""><o:p></o:p></span><br> <strong><span style="font-size: 7.5pt; color: rgb(102, 102, 102);">email:</span></strong><span style="font-size: 7.5pt; color: rgb(102, 102, 102);"> <a href="mailto:zo...@av..." title="mailto:zo...@av... zo...@av..."><span title="mailto:zo...@av...">zo...@av...</span></a><strong> | web </strong> <a href="http://www.avalonsoft.com/" title="http://www.avalonsoft.com">www.avalonsoft.com</a></span></div> </div> </body> </html> |