<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix"><br>
Hi,<br>
port 7999 is really meaningless in your problem :<br>
your client app should connect to 8000, so the local stunel on
CLIENT SIDE should wait for incoming connection on port 8000, not
7999.<br>
<br>
More over your client should connect to "machine" 127.0.0.1, to
its local stunnel.<br>
<br>
then client stunnel connect to server stunnel on ANOTHER machine,
on port, say 8001...<br>
<br>
and then remote stunnel server should connect to ITS LOCAL SERVER
APP, on port...8000.<br>
<br>
that's all.<br>
<br>
in TCP of course...<br>
<br>
Pierre<br>
<br>
<br>
Le 17/11/2012 11:13, Hal Hovland a écrit :<br>
</div>
<blockquote cite="mid:002701cdc4ac$36cbd740$a46385c0$@com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 12 (filtered
medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]-->
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p
{mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hi
Brian, thanks for taking a look. The client .conf uses 7999
and 8001. On the accept side I’ve tried 7999 and
192.168.1.158:7999 and 0.0.0.0:7999.<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I
should also say I tried all this with Ncat (same result) and
that the machines have the latest .NET Framework installed,
viz., 4.5 – could that be the problem?<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Regards,
Hal<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF
1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif""
lang="EN-US">From:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif""
lang="EN-US"> Brian Wilkins [<a class="moz-txt-link-freetext" href="mailto:bwilkins@gmail.com">mailto:bwilkins@gmail.com</a>] <br>
<b>Sent:</b> 16 November 2012 23:25<br>
<b>To:</b> Hal Hovland<br>
<b>Cc:</b> <a class="moz-txt-link-abbreviated" href="mailto:stunnel-users@stunnel.org">stunnel-users@stunnel.org</a><br>
<b>Subject:</b> Re: [stunnel-users] Problem using stunnel
on Windows 7<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p>I didn't see a port setting in the clients stunnel.conf<o:p></o:p></p>
<div>
<p class="MsoNormal">On Nov 16, 2012 6:18 PM, "Hal Hovland"
<<a moz-do-not-send="true"
href="mailto:hhovland@btconnect.com">hhovland@btconnect.com</a>>
wrote:<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">I’ve
spent days googling this and read everything relevant in
the archives.<o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">I’m
developing a Windows 7 program that connects to a
financial trading exchange that expects all
communication to be SSL’d. Everything I read said that
stunnel is the answer because of ease of installation
and use. After a day of abortive attempts to link to the
exchange, I decided to create a much simpler test
environment involving two Windows 7 computers next to
each other here.<o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">One,
let’s call it Riven-II (192.168.1.9), is set up with a
simple Listener program that listens on port 8000. From
stunnel’s viewpoint this will be a server. The second
machine, Lightning (192.168.1.158), has a simple Sender
program that sends a text message via port 7999 to
Riven-II (<a moz-do-not-send="true"
href="http://192.168.1.9:8000" target="_blank">192.168.1.9:8000</a>)
– this will be the Client. In the absence of stunnel,
all messages sent from Lightning/Sender appears on the
window of Listener. So far so good.<o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">I’ve
downloaded and installed the very latest version (4.54)
of stunnel on both machines. On installation I entered
the same responses to the certificate generating
process.<o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">On
the Server machine, hard wired to a Broadband Router, I
configured stunnel.conf as (removing comments for
simplicity)<o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i>debug
= 7</i><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i>output
= stunnel.log</i><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i> </i><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i>socket
= l:TCP_NODELAY=1</i><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i>socket
= r:TCP_NODELAY=1</i><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i> </i><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i>cert
= stunnel.pem</i><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i>key
= stunnel.pem</i><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i> </i><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i>options
= NO_SSLv2</i><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i> </i><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i>taskbar=yes</i><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i> </i><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i>[Listener]</i><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i>connect=8000</i><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i>accept=8001</i><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">On
the Client machine, connected to the router via wi-fi,
we have in stunnel.conf<o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i>debug
= 7</i><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i>output
= stunnel.log</i><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i> </i><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i>cert
= stunnel.pem</i><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i> </i><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i>socket
= l:TCP_NODELAY=1</i><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i>socket
= r:TCP_NODELAY=1</i><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i> </i><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i>fips=no</i><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i> </i><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i>options
= NO_SSLv2</i><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i> </i><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i>delay=yes</i><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i>taskbar=yes</i><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i> </i><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i>client=yes</i><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i> </i><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i>[sender]</i><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i>accept
= <a moz-do-not-send="true"
href="http://0.0.0.0:7999" target="_blank">0.0.0.0:7999</a>
(I’ve tried just 7999 and <a moz-do-not-send="true"
href="http://192.168.1.158:7999" target="_blank">192.168.1.158:7999</a>,
here. Makes no difference)</i><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i>connect
= <a moz-do-not-send="true"
href="http://192.168.1.9:8001" target="_blank">192.168.1.9:8001</a></i><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">I’ve
tried many variations with the same result, but the
above is where they have ended up.<o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">My
understanding of this is that stunnel both ends will be
intercepting port 8000 on the Server and port 7999 on
the Client and presenting/receiving SSL encoded messages
across the wire on port 8001.<o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Starting
stunnel in the Server (not as a Windows service,
although I did try that as well) the following log
appears:<o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i><a
moz-do-not-send="true" href="tel:2012.11.16%2022"
target="_blank">2012.11.16 22</a>:34:08
LOG7[3484:6184]: No limit detected for the number of
clients</i><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i><a
moz-do-not-send="true" href="tel:2012.11.16%2022"
target="_blank">2012.11.16 22</a>:34:08
LOG5[3484:6184]: stunnel 4.54 on x86-pc-msvc-1500
platform</i><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i><a
moz-do-not-send="true" href="tel:2012.11.16%2022"
target="_blank">2012.11.16 22</a>:34:08
LOG5[3484:6184]: Compiled/running with OpenSSL
1.0.1c-fips 10 May 2012</i><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i><a
moz-do-not-send="true" href="tel:2012.11.16%2022"
target="_blank">2012.11.16 22</a>:34:08
LOG5[3484:6184]: Threading:WIN32 SSL:+ENGINE+OCSP+FIPS
Auth:none Sockets:SELECT+IPv6</i><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i><a
moz-do-not-send="true" href="tel:2012.11.16%2022"
target="_blank">2012.11.16 22</a>:34:08
LOG5[3484:6184]: Reading configuration from file
stunnel.conf</i><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i><a
moz-do-not-send="true" href="tel:2012.11.16%2022"
target="_blank">2012.11.16 22</a>:34:08
LOG5[3484:6184]: FIPS mode is enabled</i><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i><a
moz-do-not-send="true" href="tel:2012.11.16%2022"
target="_blank">2012.11.16 22</a>:34:08
LOG7[3484:6184]: Compression not enabled</i><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i><a
moz-do-not-send="true" href="tel:2012.11.16%2022"
target="_blank">2012.11.16 22</a>:34:08
LOG7[3484:6184]: Snagged 64 random bytes from C:/.rnd</i><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i><a
moz-do-not-send="true" href="tel:2012.11.16%2022"
target="_blank">2012.11.16 22</a>:34:08
LOG7[3484:6184]: Wrote 1024 new random bytes to
C:/.rnd</i><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i><a
moz-do-not-send="true" href="tel:2012.11.16%2022"
target="_blank">2012.11.16 22</a>:34:08
LOG7[3484:6184]: PRNG seeded successfully</i><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i><a
moz-do-not-send="true" href="tel:2012.11.16%2022"
target="_blank">2012.11.16 22</a>:34:08
LOG6[3484:6184]: Initializing service [Listener]</i><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i>2012.11.16
22:34:08 LOG7[3484:6184]: Certificate: stunnel.pem</i><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i>2012.11.16
22:34:08 LOG7[3484:6184]: Certificate loaded</i><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i>2012.11.16
22:34:08 LOG7[3484:6184]: Key file: stunnel.pem</i><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i>2012.11.16
22:34:08 LOG7[3484:6184]: Private key loaded</i><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i>2012.11.16
22:34:08 LOG7[3484:6184]: Could not load DH parameters
from stunnel.pem</i><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i>2012.11.16
22:34:08 LOG7[3484:6184]: Using hardcoded DH
parameters</i><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i>2012.11.16
22:34:08 LOG7[3484:6184]: DH initialized with 2048-bit
key</i><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i>2012.11.16
22:34:08 LOG7[3484:6184]: ECDH initialized with curve
prime256v1</i><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i>2012.11.16
22:34:08 LOG7[3484:6184]: SSL options set: 0x01000004</i><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i>2012.11.16
22:34:08 LOG5[3484:6184]: Configuration successful</i><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i>2012.11.16
22:34:08 LOG7[3484:6184]: Service [Listener] (FD=272)
bound to <a moz-do-not-send="true"
href="http://0.0.0.0:8001" target="_blank">0.0.0.0:8001</a></i><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">On
the Client, the log shows:<o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i>2012.11.16
22:25:53 LOG7[4184:4948]: No limit detected for the
number of clients</i><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i>2012.11.16
22:25:53 LOG5[4184:4948]: stunnel 4.54 on
x86-pc-msvc-1500 platform</i><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i>2012.11.16
22:25:53 LOG5[4184:4948]: Compiled/running with
OpenSSL 1.0.1c-fips 10 May 2012</i><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i>2012.11.16
22:25:53 LOG5[4184:4948]: Threading:WIN32
SSL:+ENGINE+OCSP+FIPS Auth:none Sockets:SELECT+IPv6</i><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i>2012.11.16
22:25:53 LOG5[4184:4948]: Reading configuration from
file stunnel.conf</i><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i>2012.11.16
22:25:53 LOG5[4184:4948]: FIPS mode is disabled</i><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i>2012.11.16
22:25:53 LOG7[4184:4948]: Compression not enabled</i><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i>2012.11.16
22:25:53 LOG7[4184:4948]: Snagged 64 random bytes from
C:/.rnd</i><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i>2012.11.16
22:25:53 LOG7[4184:4948]: Wrote 1024 new random bytes
to C:/.rnd</i><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i>2012.11.16
22:25:53 LOG7[4184:4948]: PRNG seeded successfully</i><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i>2012.11.16
22:25:53 LOG6[4184:4948]: Initializing service
[sender]</i><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i>2012.11.16
22:25:53 LOG7[4184:4948]: Certificate: stunnel.pem</i><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i>2012.11.16
22:25:53 LOG7[4184:4948]: Certificate loaded</i><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i>2012.11.16
22:25:53 LOG7[4184:4948]: Key file: stunnel.pem</i><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i>2012.11.16
22:25:53 LOG7[4184:4948]: Private key loaded</i><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i>2012.11.16
22:25:53 LOG7[4184:4948]: SSL options set: 0x01000004</i><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i>2012.11.16
22:25:53 LOG5[4184:4948]: Configuration successful</i><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i>2012.11.16
22:25:53 LOG7[4184:4948]: Service [sender] (FD=224)
bound to <a moz-do-not-send="true"
href="http://0.0.0.0:7999" target="_blank">0.0.0.0:7999</a>
</i><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Running
the Listener on the Server and Sender on the Client adds
nothing to the log, and port sniffers on both machines
show traffic between 7999 and 8000 (exactly the same as
when stunnel is not running). No sign of the use of port
8001.<o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">I’d
appreciate any input on this. I’m sure I must be doing
something stupid, but I’ve watched hours of YouTube
videos, read many hundreds of web pages, and been
through the documentation quite a few times, to no
avail.<o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">I
have a Java based version, running in a JVM in the same
Windows machines, that talks perfectly to the exchange
using some inbuilt SSL capabilities of an included
library, so that should probably eliminate any
hardware/router issues?<o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Regards,
Hal<o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
_______________________________________________<br>
stunnel-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:stunnel-users@stunnel.org">stunnel-users@stunnel.org</a><br>
<a moz-do-not-send="true"
href="https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users"
target="_blank">https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users</a><o:p></o:p></p>
</div>
<div class="MsoNormal" style="text-align:center" align="center">
<hr style="color:#A0A0A0" align="center" noshade="noshade"
size="1" width="100%"></div>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">No
virus found in this message.<br>
Checked by AVG - <a moz-do-not-send="true"
href="http://www.avg.com">www.avg.com</a><br>
Version: 2012.0.2221 / Virus Database: 2629/5400 - Release
Date: 11/16/12<o:p></o:p></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
stunnel-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:stunnel-users@stunnel.org">stunnel-users@stunnel.org</a>
<a class="moz-txt-link-freetext" href="https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users">https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users</a>
</pre>
</blockquote>
<br>
</body>
</html>