[prev in list] [next in list] [prev in thread] [next in thread] 

List:       stunnel-users
Subject:    [stunnel-users] Re: report
From:       <brent_kimberley () rogers ! com>
Date:       2020-12-31 12:42:41
Message-ID: 00d401d6df72$6e26f140$4a74d3c0$ () rogers ! com
[Download RAW message or body]

This is a multipart message in MIME format.

[Attachment #2 (multipart/alternative)]
This is a multipart message in MIME format.


Hi Danny.

Can you send me the Debian source code for OpenSSL (and Stunnel)?

 

I would like to compare Debian's source code with the following:

https://github.com/openssl/openssl/blob/OpenSSL_1_1_0g/crypto/stack/stack.c

https://github.com/openssl/openssl/blob/OpenSSL_1_1_0g/ssl/packet_locl.h

 

# define OPENSSL_memdup(str, s)   CRYPTO_memdup((str), s, OPENSSL_FILE, OPENSSL_LINE)

 

void *CRYPTO_memdup(const void *data, size_t siz, const char* file, int line)

https://github.com/openssl/openssl/blob/OpenSSL_1_1_1g/crypto/o_str.c

 

https://github.com/openssl/openssl/blob/master/include/openssl/err.h.in

# define CRYPTOerr(f, r) ERR_raise_data(ERR_LIB_CRYPTO, (r), NULL)

…

 

From: Danny Clowes <danny0809881@gmail.com> 
Sent: December 30, 2020 8:52 AM
To: brent_kimberley@rogers.com
Subject: Re: report

 

Hi,

 

soon hit the limit the " Stunnel goes offline wasn't like this on Windows?

 

tunnel4.service - LSB: Start or stop stunnel 4.x (TLS tunnel for network daemons)
   Loaded: loaded (/etc/init.d/stunnel4; generated; vendor preset: enabled)
   Active: active (running) since Wed 2020-12-30 13:40:35 GMT; 5min ago
     Docs: man:systemd-sysv-generator(8)
  Process: 20823 ExecStop=/etc/init.d/stunnel4 stop (code=exited, status=0/SUCCESS)
  Process: 20903 ExecStart=/etc/init.d/stunnel4 start (code=exited, status=0/SUCCESS)
    Tasks: 4915 (limit: 4915)
   CGroup: /system.slice/stunnel4.service
           └─20918 /usr/bin/stunnel4 /etc/stunnel/stunnel.conf

Dec 30 13:45:57 mobile-connection-server stunnel[20918]: LOG3[main]: pthread_create: \
Resource temporarily unavailable  (11)
Dec 30 13:45:57 mobile-connection-server stunnel[20918]: LOG3[main]: Connection \
                rejected: create_client failed
Dec 30 13:45:57 mobile-connection-server stunnel[20918]: LOG3[main]: pthread_create: \
Resource temporarily unavailable  (11)
Dec 30 13:45:57 mobile-connection-server stunnel[20918]: LOG3[main]: Connection \
                rejected: create_client failed
Dec 30 13:45:57 mobile-connection-server stunnel[20918]: LOG3[main]: pthread_create: \
Resource temporarily unavailable  (11)
Dec 30 13:45:57 mobile-connection-server stunnel[20918]: LOG3[main]: Connection \
                rejected: create_client failed
Dec 30 13:45:57 mobile-connection-server stunnel[20918]: LOG3[main]: pthread_create: \
Resource temporarily unavailable  (11)
Dec 30 13:45:57 mobile-connection-server stunnel[20918]: LOG3[main]: Connection \
                rejected: create_client failed
Dec 30 13:45:57 mobile-connection-server stunnel[20918]: LOG3[main]: pthread_create: \
Resource temporarily unavailable  (11)
Dec 30 13:45:57 mobile-connection-server stunnel[20918]: LOG3[main]: Connection \
rejected: create_client failed

 

On Tue, 29 Dec 2020 at 00:03, <brent_kimberley@rogers.com \
<mailto:brent_kimberley@rogers.com> > wrote:

Danny,

I think you would have more success sending the Debian guys lots of virtual beer.

Look at the files in question.

Start with the stunnel repository.  (Nope. The files aren't there!)
        Note that the files which you referenced are *not* part of stunnel.
        https://github.com/mtrojnar/stunnel/find/stunnel-5.57

Switch to the next repository, for example the OpenSSL Transport Layer Security \
repository.  (Nope. The files aren't there!)  Note that the files which you \
referenced are *not* part of TLS.  https://github.com/openssl/openssl

I wonder where those strange files are coming from? 
        Hmmm.  😉

----------------------------------------------------------------------


Hi,

I'm using 5.7 stunnel for Debian. I have clients connecting to the server we are \
getting the following error message.

I would be grateful if able to help?

* Unable to use the beta version as the R-limit don't work and gives me error \
messages.

Dec 28 08:44:33 debian stunnel: LOG4[129248]: Possible memory leak at
../ssl/packet_locl.h:385: 241533 allocations Dec 28 08:44:33 debian stunnel: \
                LOG4[128031]: Possible memory leak at
../crypto/stack/stack.c:108: 243008 allocations Dec 28 08:44:33 debian stunnel: \
                LOG4[129238]: Possible memory leak at
../crypto/stack/stack.c:108: 243008 allocations Dec 28 08:44:33 debian stunnel: \
                LOG4[128031]: Possible memory leak at
../ssl/packet_locl.h:385: 241533 allocations Dec 28 08:44:33 debian stunnel: \
                LOG4[129140]: Possible memory leak at
../crypto/stack/stack.c:108: 243008 allocations Dec 28 08:44:33 debian stunnel: \
                LOG4[129140]: Possible memory leak at
../ssl/packet_locl.h:385: 241533 allocations Dec 28 08:44:33 debian stunnel: \
                LOG4[129238]: Possible memory leak at
../ssl/packet_locl.h:385: 241533 allocations Dec 28 08:44:33 debian stunnel: \
                LOG4[129206]: Possible memory leak at
../crypto/stack/stack.c:108: 243008 allocations Dec 28 08:44:33 debian stunnel: \
                LOG4[129206]: Possible memory leak at
../ssl/packet_locl.h:385: 241533 allocations Dec 28 08:44:33 debian stunnel: \
                LOG4[128166]: Possible memory leak at
../crypto/stack/stack.c:108: 243008 allocations Dec 28 08:44:33 debian stunnel: \
                LOG4[128166]: Possible memory leak at
../ssl/packet_locl.h:385: 241533 allocations

Thanks.



Scanned by McAfee and confirmed virus-free.     
Find out more here: https://bit.ly/2zCJMrO

 

  _____  


 <https://home.mcafee.com/utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_ \
content=emailclient?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient> \


Scanned by McAfee <https://home.mcafee.com/utm_medium=email&utm_source=link&utm_campai \
gn=sig-email&utm_content=emailclient?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient> \
and confirmed virus-free.

 


[Attachment #5 (text/html)]

<html xmlns:v="urn:schemas-microsoft-com:vml" \
xmlns:o="urn:schemas-microsoft-com:office:office" \
xmlns:w="urn:schemas-microsoft-com:office:word" \
xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" \
xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type \
content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 \
(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:"Segoe UI Emoji";
	panose-1:2 11 5 2 4 2 4 2 2 3;}
@font-face
	{font-family:"Open Sans";
	panose-1:2 11 6 6 3 5 4 2 2 4;}
@font-face
	{font-family:"Trebuchet MS";
	panose-1:2 11 6 3 2 2 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
span.EmailStyle18
	{mso-style-type:personal-reply;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
span.pl-k
	{mso-style-name:pl-k;}
span.pl-en
	{mso-style-name:pl-en;}
span.pl-c1
	{mso-style-name:pl-c1;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@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]--></head><body lang=EN-CA link=blue vlink=purple \
style='word-wrap:break-word'><div class=WordSection1><p class=MsoNormal><span \
style='mso-fareast-language:EN-US'>Hi Danny.<o:p></o:p></span></p><p \
class=MsoNormal><span style='mso-fareast-language:EN-US'>Can you send me the Debian \
source code for OpenSSL (and Stunnel)?<o:p></o:p></span></p><p class=MsoNormal><span \
style='mso-fareast-language:EN-US'><o:p>&nbsp;</o:p></span></p><p \
class=MsoNormal><span style='mso-fareast-language:EN-US'>I would like to compare \
Debian's source code with the following:<o:p></o:p></span></p><p class=MsoNormal \
style='text-indent:36.0pt'><span style='mso-fareast-language:EN-US'><a \
href="https://github.com/openssl/openssl/blob/OpenSSL_1_1_0g/crypto/stack/stack.c">htt \
ps://github.com/openssl/openssl/blob/OpenSSL_1_1_0g/crypto/stack/stack.c</a><o:p></o:p></span></p><p \
class=MsoNormal style='text-indent:36.0pt'><span \
style='mso-fareast-language:EN-US'><a \
href="https://github.com/openssl/openssl/blob/OpenSSL_1_1_0g/ssl/packet_locl.h">https: \
//github.com/openssl/openssl/blob/OpenSSL_1_1_0g/ssl/packet_locl.h</a><o:p></o:p></span></p><p \
class=MsoNormal><span \
style='mso-fareast-language:EN-US'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal \
style='margin-left:36.0pt'><span style='mso-fareast-language:EN-US'># define \
OPENSSL_memdup(str, s) &nbsp;&nbsp;CRYPTO_memdup((str), s, OPENSSL_FILE, \
OPENSSL_LINE)<o:p></o:p></span></p><p class=MsoNormal \
style='margin-left:36.0pt'><span \
style='mso-fareast-language:EN-US'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal \
style='margin-left:36.0pt'><span class=pl-k>void</span> *<span \
class=pl-en>CRYPTO_memdup</span>(<span class=pl-k>const</span> <span \
class=pl-k>void</span> *data, <span class=pl-c1>size_t</span> siz, <span \
class=pl-k>const</span> <span class=pl-k>char</span>* file, <span \
class=pl-k>int</span> line)<span \
style='mso-fareast-language:EN-US'><o:p></o:p></span></p><p class=MsoNormal \
style='margin-left:36.0pt'><span style='mso-fareast-language:EN-US'><a \
href="https://github.com/openssl/openssl/blob/OpenSSL_1_1_1g/crypto/o_str.c">https://g \
ithub.com/openssl/openssl/blob/OpenSSL_1_1_1g/crypto/o_str.c</a><o:p></o:p></span></p><p \
class=MsoNormal style='margin-left:36.0pt'><span \
style='mso-fareast-language:EN-US'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal \
style='margin-left:36.0pt'><span style='mso-fareast-language:EN-US'><a \
href="https://github.com/openssl/openssl/blob/master/include/openssl/err.h.in">https:/ \
/github.com/openssl/openssl/blob/master/include/openssl/err.h.in</a><o:p></o:p></span></p><p \
class=MsoNormal style='margin-left:36.0pt'># define CRYPTOerr(f, r) \
ERR_raise_data(ERR_LIB_CRYPTO, (r), NULL)<o:p></o:p></p><p class=MsoNormal \
style='margin-left:36.0pt'>…<o:p></o:p></p><p class=MsoNormal><span \
style='mso-fareast-language:EN-US'><o:p>&nbsp;</o:p></span></p><div \
style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p \
class=MsoNormal><b><span lang=EN-US>From:</span></b><span lang=EN-US> Danny Clowes \
&lt;danny0809881@gmail.com&gt; <br><b>Sent:</b> December 30, 2020 8:52 \
AM<br><b>To:</b> brent_kimberley@rogers.com<br><b>Subject:</b> Re: \
report<o:p></o:p></span></p></div><p \
class=MsoNormal><o:p>&nbsp;</o:p></p><div><div><p class=MsoNormal><span \
style='font-size:12.0pt;font-family:"Trebuchet \
MS",sans-serif'>Hi,<o:p></o:p></span></p></div><div><p class=MsoNormal><span \
style='font-size:12.0pt;font-family:"Trebuchet \
MS",sans-serif'><o:p>&nbsp;</o:p></span></p></div><div><p class=MsoNormal><span \
style='font-size:12.0pt;font-family:"Trebuchet MS",sans-serif'>soon hit the limit the \
&quot; Stunnel goes offline wasn't like this on \
Windows?<o:p></o:p></span></p></div><div><p \
class=MsoNormal><o:p>&nbsp;</o:p></p></div><p class=MsoNormal>tunnel4.service - LSB: \
Start or stop stunnel 4.x (TLS tunnel for network daemons)<br>&nbsp; &nbsp;Loaded: \
loaded (/etc/init.d/stunnel4; generated; vendor preset: enabled)<br>&nbsp; \
&nbsp;Active: active (running) since Wed 2020-12-30 13:40:35 GMT; 5min ago<br>&nbsp; \
&nbsp; &nbsp;Docs: man:systemd-sysv-generator(8)<br>&nbsp; Process: 20823 \
ExecStop=/etc/init.d/stunnel4 stop (code=exited, status=0/SUCCESS)<br>&nbsp; Process: \
20903 ExecStart=/etc/init.d/stunnel4 start (code=exited, status=0/SUCCESS)<br>&nbsp; \
&nbsp; Tasks: 4915 (limit: 4915)<br>&nbsp; &nbsp;CGroup: \
/system.slice/stunnel4.service<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp;└─20918 /usr/bin/stunnel4 /etc/stunnel/stunnel.conf<br><br>Dec 30 13:45:57 \
mobile-connection-server stunnel[20918]: LOG3[main]: pthread_create: Resource \
temporarily unavailable<br>&nbsp;(11)<br>Dec 30 13:45:57 mobile-connection-server \
stunnel[20918]: LOG3[main]: Connection rejected: create_client failed<br>Dec 30 \
13:45:57 mobile-connection-server stunnel[20918]: LOG3[main]: pthread_create: \
Resource temporarily unavailable<br>&nbsp;(11)<br>Dec 30 13:45:57 \
mobile-connection-server stunnel[20918]: LOG3[main]: Connection rejected: \
create_client failed<br>Dec 30 13:45:57 mobile-connection-server stunnel[20918]: \
LOG3[main]: pthread_create: Resource temporarily unavailable<br>&nbsp;(11)<br>Dec 30 \
13:45:57 mobile-connection-server stunnel[20918]: LOG3[main]: Connection rejected: \
create_client failed<br>Dec 30 13:45:57 mobile-connection-server stunnel[20918]: \
LOG3[main]: pthread_create: Resource temporarily unavailable<br>&nbsp;(11)<br>Dec 30 \
13:45:57 mobile-connection-server stunnel[20918]: LOG3[main]: Connection rejected: \
create_client failed<br>Dec 30 13:45:57 mobile-connection-server stunnel[20918]: \
LOG3[main]: pthread_create: Resource temporarily unavailable<br>&nbsp;(11)<br>Dec 30 \
13:45:57 mobile-connection-server stunnel[20918]: LOG3[main]: Connection rejected: \
create_client failed<o:p></o:p></p></div><p \
class=MsoNormal><o:p>&nbsp;</o:p></p><div><div><p class=MsoNormal>On Tue, 29 Dec 2020 \
at 00:03, &lt;<a href="mailto:brent_kimberley@rogers.com">brent_kimberley@rogers.com</a>&gt; \
wrote:<o:p></o:p></p></div><blockquote style='border:none;border-left:solid #CCCCCC \
1.0pt;padding:0cm 0cm 0cm \
6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt'><p \
class=MsoNormal style='margin-bottom:12.0pt'>Danny,<br><br>I think you would have \
more success sending the Debian guys lots of virtual beer.<br><br>Look at the files \
in question.<br><br>Start with the stunnel repository.&nbsp; (Nope. The files aren't \
there!)<br>&nbsp; &nbsp; &nbsp; &nbsp; Note that the files which you referenced are \
*not* part of stunnel.<br>&nbsp; &nbsp; &nbsp; &nbsp; <a \
href="https://github.com/mtrojnar/stunnel/find/stunnel-5.57" \
target="_blank">https://github.com/mtrojnar/stunnel/find/stunnel-5.57</a><br><br>Switch \
to the next repository, for example the OpenSSL Transport Layer Security \
repository.&nbsp; (Nope. The files aren't there!)<br>&nbsp; &nbsp; &nbsp; &nbsp; Note \
that the files which you referenced are *not* part of TLS.<br>&nbsp; &nbsp; &nbsp; \
&nbsp; <a href="https://github.com/openssl/openssl" \
target="_blank">https://github.com/openssl/openssl</a><br><br>I wonder where those \
strange files are coming from? <br>&nbsp; &nbsp; &nbsp; &nbsp; Hmmm.&nbsp; <span \
style='font-family:"Segoe UI \
Emoji",sans-serif'>&#128521;</span><br><br>----------------------------------------------------------------------<br><br><br>Hi,<br><br>I'm \
using 5.7 stunnel for Debian. I have clients connecting to the server we are getting \
the following error message.<br><br>I would be grateful if able to help?<br><br>* \
Unable to use the beta version as the R-limit don't work and gives me error \
messages.<br><br>Dec 28 08:44:33 debian stunnel: LOG4[129248]: Possible memory leak \
at<br>../ssl/packet_locl.h:385: 241533 allocations Dec 28 08:44:33 debian stunnel: \
LOG4[128031]: Possible memory leak at<br>../crypto/stack/stack.c:108: 243008 \
allocations Dec 28 08:44:33 debian stunnel: LOG4[129238]: Possible memory leak \
at<br>../crypto/stack/stack.c:108: 243008 allocations Dec 28 08:44:33 debian stunnel: \
LOG4[128031]: Possible memory leak at<br>../ssl/packet_locl.h:385: 241533 allocations \
Dec 28 08:44:33 debian stunnel: LOG4[129140]: Possible memory leak \
at<br>../crypto/stack/stack.c:108: 243008 allocations Dec 28 08:44:33 debian stunnel: \
LOG4[129140]: Possible memory leak at<br>../ssl/packet_locl.h:385: 241533 allocations \
Dec 28 08:44:33 debian stunnel: LOG4[129238]: Possible memory leak \
at<br>../ssl/packet_locl.h:385: 241533 allocations Dec 28 08:44:33 debian stunnel: \
LOG4[129206]: Possible memory leak at<br>../crypto/stack/stack.c:108: 243008 \
allocations Dec 28 08:44:33 debian stunnel: LOG4[129206]: Possible memory leak \
at<br>../ssl/packet_locl.h:385: 241533 allocations Dec 28 08:44:33 debian stunnel: \
LOG4[128166]: Possible memory leak at<br>../crypto/stack/stack.c:108: 243008 \
allocations Dec 28 08:44:33 debian stunnel: LOG4[128166]: Possible memory leak \
at<br>../ssl/packet_locl.h:385: 241533 \
allocations<br><br>Thanks.<br><br><br><br>Scanned by McAfee and confirmed \
virus-free.&nbsp; &nbsp; &nbsp;<br>Find out more here: <a \
href="https://bit.ly/2zCJMrO" \
target="_blank">https://bit.ly/2zCJMrO</a><o:p></o:p></p></blockquote></div><p \
class=MsoNormal><o:p>&nbsp;</o:p></p><div class=MsoNormal align=center \
style='text-align:center'><hr size=2 width="100%" align=center></div><table \
class=MsoNormalTable border=0 cellpadding=0><tr><td width="16%" \
style='width:16.0%;padding:.75pt .75pt .75pt .75pt'><p class=MsoNormal><a \
href="https://home.mcafee.com/utm_medium=email&amp;utm_source=link&amp;utm_campaign=si \
g-email&amp;utm_content=emailclient?utm_medium=email&amp;utm_source=link&amp;utm_campaign=sig-email&amp;utm_content=emailclient"><span \
style='text-decoration:none'><img border=0 width=75 height=55 \
style='width:.7812in;height:.5729in' id="_x0000_i1026" \
src="https://secureimages.mcafee.com/common/affiliateImages/mfe/logo.png"></span></a><o:p></o:p></p></td><td \
style='padding:.75pt .75pt .75pt .75pt'><p class=MsoNormal><span \
style='font-family:"Open Sans",sans-serif'>Scanned by <a \
href="https://home.mcafee.com/utm_medium=email&amp;utm_source=link&amp;utm_campaign=si \
g-email&amp;utm_content=emailclient?utm_medium=email&amp;utm_source=link&amp;utm_campaign=sig-email&amp;utm_content=emailclient">McAfee</a> \
and confirmed virus-free.</span><o:p></o:p></p></td></tr></table><p \
class=MsoNormal><o:p>&nbsp;</o:p></p></div></body></html>



_______________________________________________
stunnel-users mailing list -- stunnel-users@stunnel.org
To unsubscribe send an email to stunnel-users-leave@stunnel.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic