Re: stunnel 5.55 - - - SSL_connect: Peer suddenly disconnected

Flo Rance <[email protected]> Fri, 6 Dec 2019 09:57:09 +0100
Newsgroups gmane.network.stunnel.user
Message-ID <CAHogYcUv3wrEBHW9vU07iuPTh_hGabudNq3hmTVog91Y55+c0g@mail.gmail.com>
--===============5489768224777373933==
Content-Type: multipart/alternative; boundary="00000000000045d74f0599053de0"

--00000000000045d74f0599053de0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

The full logs of both sides would still be useful.

Regards,
Flo

On Fri, 6 Dec 2019 at 09:48, simona vittori <[email protected]> wrote:

> Hi,
> port 41521 is the port of stunnel server istance that then redirect
> connection in clear on port 1521 of the listener.
>
> That's all
>
> Thanks
>
> Simona
>
> Il giorno ven 6 dic 2019 alle ore 09:37 Flo Rance <[email protected]>
> ha scritto:
>
>> Hi,
>>
>> The full logs of the client would be useful.
>>
>> What are you trying to connect to (on port 41521) ?
>>
>> Regards,
>> Flo
>>
>> On Thu, 5 Dec 2019 at 12:44, simona vittori <[email protected]> wrote:
>>
>>> Hello,
>>>
>>> I have stunnel v 5.55 on linux machine client e linux machine db server=
,
>>> Red Hat Enterprise Linux Server release 6.6. I have noticed that there =
are
>>> many many diconnections by side client (at the bottom of the page). Why
>>> there is this behavior?
>>>
>>> This is the configuration file of client machine:
>>>
>>> cert =3D /opt/stunnel-5.55/etc/stunnel/stunnel.pem
>>> verify =3D 3
>>> setuid =3D stunnel
>>>
>>> CAfile =3D /opt/stunnel-5.55/var/certs.pem
>>>
>>> pid =3D /opt/stunnel-5.55/var/lib/stunnel/stunnel_client.pid
>>>
>>> socket =3D l:TCP_NODELAY=3D1
>>> socket =3D r:TCP_NODELAY=3D1
>>>
>>> sslVersion =3D TLSv1
>>>
>>> TIMEOUTconnect =3D 30
>>> failover =3D rr
>>>
>>> ciphers =3D ECDH@STRENGTH:DH@STRENGTH:HIGH:!RC4:!MD5:!DES:!aNULL:!eNULL
>>>
>>> debug =3D 7
>>> output =3D /opt/stunnel-5.55/var/stunnel.log
>>>
>>> client =3D yes
>>>
>>> [connessione_a_EMPRMDB1-DB2]
>>> accept=3D127.0.0.1:10001
>>> connect=3D10.56.213.70:41521
>>> connect=3D10.56.213.72:41521
>>>
>>>
>>> #######################################################################=
################
>>>
>>> Dec  5 12:31:42 EMWBPAPP2b stunnel: []:LOG3[15001]: SSL_connect: Peer
>>> suddenly disconnected
>>> Dec  5 12:31:52 EMWBPAPP2b stunnel: []:LOG3[15007]: SSL_connect: Peer
>>> suddenly disconnected
>>> Dec  5 12:32:13 EMWBPAPP2b stunnel: []:LOG3[15013]: SSL_connect: Peer
>>> suddenly disconnected
>>> Dec  5 12:32:13 EMWBPAPP2b stunnel: []:LOG3[15014]: SSL_connect: Peer
>>> suddenly disconnected
>>> Dec  5 12:32:22 EMWBPAPP2b stunnel: []:LOG3[15019]: SSL_connect: Peer
>>> suddenly disconnected
>>> Dec  5 12:32:23 EMWBPAPP2b stunnel: []:LOG3[15021]: SSL_connect: Peer
>>> suddenly disconnected
>>> Dec  5 12:32:23 EMWBPAPP2b stunnel: []:LOG3[15023]: SSL_connect: Peer
>>> suddenly disconnected
>>> Dec  5 12:32:24 EMWBPAPP2b stunnel: []:LOG3[15024]: SSL_connect: Peer
>>> suddenly disconnected
>>> Dec  5 12:32:44 EMWBPAPP2b stunnel: []:LOG3[15033]: SSL_connect: Peer
>>> suddenly disconnected
>>> Dec  5 12:32:45 EMWBPAPP2b stunnel: []:LOG3[15035]: SSL_connect: Peer
>>> suddenly disconnected
>>> Dec  5 12:32:55 EMWBPAPP2b stunnel: []:LOG3[15041]: SSL_connect: Peer
>>> suddenly disconnected
>>> Dec  5 12:34:04 EMWBPAPP2b stunnel: []:LOG3[15062]: SSL_connect: Peer
>>> suddenly disconnected
>>> Dec  5 12:34:05 EMWBPAPP2b stunnel: []:LOG3[15063]: SSL_connect: Peer
>>> suddenly disconnected
>>> Dec  5 12:34:06 EMWBPAPP2b stunnel: []:LOG3[15065]: SSL_connect: Peer
>>> suddenly disconnected
>>> Dec  5 12:34:18 EMWBPAPP2b stunnel: []:LOG3[15069]: SSL_connect: Peer
>>> suddenly disconnected
>>>
>>> #####################################################################=
=C3=A0
>>>
>>> Thank for your help
>>>
>>> Simona
>>> _______________________________________________
>>> stunnel-users mailing list
>>> [email protected]
>>> https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users
>>>
>>

--00000000000045d74f0599053de0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>The full logs of both sides would still be useful.</d=
iv><div><br></div><div>Regards,</div><div>Flo<br></div></div><br><div class=
=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Fri, 6 Dec 2019 a=
t 09:48, simona vittori &lt;<a href=3D"mailto:[email protected]">svittori@=
gmail.com</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=
=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding=
-left:1ex"><div dir=3D"ltr">Hi,<div>port 41521 is the port of stunnel serve=
r istance that then redirect connection in clear on port 1521 of the listen=
er.</div><div><br></div><div>That&#39;s all</div><div><br></div><div>Thanks=
</div><div><br></div><div>Simona</div></div><br><div class=3D"gmail_quote">=
<div dir=3D"ltr" class=3D"gmail_attr">Il giorno ven 6 dic 2019 alle ore 09:=
37 Flo Rance &lt;<a href=3D"mailto:[email protected]" target=3D"_blank">t=
[email protected]</a>&gt; ha scritto:<br></div><blockquote class=3D"gmail_=
quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,=
204);padding-left:1ex"><div dir=3D"ltr"><div>Hi,</div><div><br></div><div>T=
he full logs of the client would be useful.</div><div><br></div><div>What a=
re you trying to connect to (on port 41521) ?</div><div><br></div><div>Rega=
rds,</div><div>Flo<br></div></div><br><div class=3D"gmail_quote"><div dir=
=3D"ltr" class=3D"gmail_attr">On Thu, 5 Dec 2019 at 12:44, simona vittori &=
lt;<a href=3D"mailto:[email protected]" target=3D"_blank">[email protected]=
om</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margi=
n:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex=
"><div dir=3D"ltr"><div>Hello,</div><div><br></div><div>I have stunnel v 5.=
55 on linux machine client e linux machine db server, Red Hat Enterprise Li=
nux Server release 6.6. I have noticed that there are many many diconnectio=
ns by side client (at the bottom of the page). Why there is this behavior?<=
/div><div><br></div><div>This is the configuration file of client machine:<=
/div><div><br></div><div>cert =3D /opt/stunnel-5.55/etc/stunnel/stunnel.pem=
<br>verify =3D 3<br>setuid =3D stunnel</div><div><br>CAfile =3D /opt/stunne=
l-5.55/var/certs.pem</div><div><br>pid =3D /opt/stunnel-5.55/var/lib/stunne=
l/stunnel_client.pid</div><div><br>socket =3D l:TCP_NODELAY=3D1<br>socket =
=3D r:TCP_NODELAY=3D1</div><div><br>sslVersion =3D TLSv1</div><div><br>TIME=
OUTconnect =3D 30<br>failover =3D rr<br><br>ciphers =3D ECDH@STRENGTH:DH@ST=
RENGTH:HIGH:!RC4:!MD5:!DES:!aNULL:!eNULL<br><br>debug =3D 7<br>output =3D /=
opt/stunnel-5.55/var/stunnel.log<br><br>client =3D yes<br><br>[connessione_=
a_EMPRMDB1-DB2]<br>accept=3D<a href=3D"http://127.0.0.1:10001" target=3D"_b=
lank">127.0.0.1:10001</a><br>connect=3D<a href=3D"http://10.56.213.70:41521=
" target=3D"_blank">10.56.213.70:41521</a><br>connect=3D<a href=3D"http://1=
0.56.213.72:41521" target=3D"_blank">10.56.213.72:41521</a><br></div><div><=
br></div><div>#############################################################=
##########################</div><div><br></div>Dec =C2=A05 12:31:42 EMWBPAP=
P2b stunnel: []:LOG3[15001]: SSL_connect: Peer suddenly disconnected<br>Dec=
 =C2=A05 12:31:52 EMWBPAPP2b stunnel: []:LOG3[15007]: SSL_connect: Peer sud=
denly disconnected<br>Dec =C2=A05 12:32:13 EMWBPAPP2b stunnel: []:LOG3[1501=
3]: SSL_connect: Peer suddenly disconnected<br>Dec =C2=A05 12:32:13 EMWBPAP=
P2b stunnel: []:LOG3[15014]: SSL_connect: Peer suddenly disconnected<br>Dec=
 =C2=A05 12:32:22 EMWBPAPP2b stunnel: []:LOG3[15019]: SSL_connect: Peer sud=
denly disconnected<br>Dec =C2=A05 12:32:23 EMWBPAPP2b stunnel: []:LOG3[1502=
1]: SSL_connect: Peer suddenly disconnected<br>Dec =C2=A05 12:32:23 EMWBPAP=
P2b stunnel: []:LOG3[15023]: SSL_connect: Peer suddenly disconnected<br>Dec=
 =C2=A05 12:32:24 EMWBPAPP2b stunnel: []:LOG3[15024]: SSL_connect: Peer sud=
denly disconnected<br>Dec =C2=A05 12:32:44 EMWBPAPP2b stunnel: []:LOG3[1503=
3]: SSL_connect: Peer suddenly disconnected<br>Dec =C2=A05 12:32:45 EMWBPAP=
P2b stunnel: []:LOG3[15035]: SSL_connect: Peer suddenly disconnected<br>Dec=
 =C2=A05 12:32:55 EMWBPAPP2b stunnel: []:LOG3[15041]: SSL_connect: Peer sud=
denly disconnected<br>Dec =C2=A05 12:34:04 EMWBPAPP2b stunnel: []:LOG3[1506=
2]: SSL_connect: Peer suddenly disconnected<br>Dec =C2=A05 12:34:05 EMWBPAP=
P2b stunnel: []:LOG3[15063]: SSL_connect: Peer suddenly disconnected<br>Dec=
 =C2=A05 12:34:06 EMWBPAPP2b stunnel: []:LOG3[15065]: SSL_connect: Peer sud=
denly disconnected<br>Dec =C2=A05 12:34:18 EMWBPAPP2b stunnel: []:LOG3[1506=
9]: SSL_connect: Peer suddenly disconnected<br><div><br></div><div>########=
#############################################################=C3=A0</div><d=
iv><br></div><div>Thank for your help</div><div><br></div><div>Simona</div>=
</div>
_______________________________________________<br>
stunnel-users mailing list<br>
<a href=3D"mailto:[email protected]" target=3D"_blank">stunnel-user=
[email protected]</a><br>
<a href=3D"https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users" =
rel=3D"noreferrer" target=3D"_blank">https://www.stunnel.org/cgi-bin/mailma=
n/listinfo/stunnel-users</a><br>
</blockquote></div>
</blockquote></div>
</blockquote></div>

--00000000000045d74f0599053de0--

--===============5489768224777373933==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
stunnel-users mailing list
[email protected]
https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users

--===============5489768224777373933==--