<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[wolfSSL - Embedded SSL Library — sniffer memory leak]]></title>
		<link>https://www.wolfssl.com/forums/topic263-sniffer-memory-leak.html</link>
		<atom:link href="https://www.wolfssl.com/forums/feed-rss-topic263.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in sniffer memory leak.]]></description>
		<lastBuildDate>Wed, 03 Oct 2012 18:29:00 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: sniffer memory leak]]></title>
			<link>https://www.wolfssl.com/forums/post701.html#p701</link>
			<description><![CDATA[<p>If helps, I don&#039;t see drops in the capture but they are a lot of retransmission</p>]]></description>
			<author><![CDATA[null@example.com (lucadistefano)]]></author>
			<pubDate>Wed, 03 Oct 2012 18:29:00 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post701.html#p701</guid>
		</item>
		<item>
			<title><![CDATA[Re: sniffer memory leak]]></title>
			<link>https://www.wolfssl.com/forums/post699.html#p699</link>
			<description><![CDATA[<p>thanks Todd, there is still some other warnings, but I removed the -Werror from makefile.</p><p>it seems the memory leak is still here. I see a huge number of packets that cannot be decoded.</p>]]></description>
			<author><![CDATA[null@example.com (lucadistefano)]]></author>
			<pubDate>Tue, 02 Oct 2012 20:33:43 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post699.html#p699</guid>
		</item>
		<item>
			<title><![CDATA[Re: sniffer memory leak]]></title>
			<link>https://www.wolfssl.com/forums/post697.html#p697</link>
			<description><![CDATA[<p>Just commited a fix.</p><p>You can always remove -Werror from the Makefile to get past these warning errors as we&#039;re testing all compilers/versions/systems with the recent decision to treats warnings as errors in the source tree.&nbsp; The release versions won&#039;t have this restriction.</p>]]></description>
			<author><![CDATA[null@example.com (todd)]]></author>
			<pubDate>Mon, 01 Oct 2012 20:20:26 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post697.html#p697</guid>
		</item>
		<item>
			<title><![CDATA[Re: sniffer memory leak]]></title>
			<link>https://www.wolfssl.com/forums/post696.html#p696</link>
			<description><![CDATA[<p>I get the following error by compiling latest from git:</p><p>&nbsp; CC&nbsp; &nbsp; &nbsp;ctaocrypt/src/src_libcyassl_la-sha512.lo<br />&nbsp; CC&nbsp; &nbsp; &nbsp;src/src_libcyassl_la-sniffer.lo<br />src/sniffer.c: In function &#039;GetSnifferSession&#039;:<br />src/sniffer.c:848:5: error: comparison of unsigned expression &gt;= 0 is always true [-Werror=type-limits]<br />src/sniffer.c: In function &#039;RemoveSession&#039;:<br />src/sniffer.c:1588:5: error: comparison of unsigned expression &gt;= 0 is always true [-Werror=type-limits]<br />cc1: all warnings being treated as errors</p><p>make[1]: *** [src/src_libcyassl_la-sniffer.lo] Error 1<br />make[1]: Leaving directory `/home/luca/dev/cyassl&#039;<br />make: *** [all] Error 2</p><p>Luca</p>]]></description>
			<author><![CDATA[null@example.com (lucadistefano)]]></author>
			<pubDate>Mon, 01 Oct 2012 19:32:46 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post696.html#p696</guid>
		</item>
		<item>
			<title><![CDATA[Re: sniffer memory leak]]></title>
			<link>https://www.wolfssl.com/forums/post694.html#p694</link>
			<description><![CDATA[<p>Hi Chris,</p><p>thanks for the patch, tomorrow I can test it and I let you know if the problem is solved.</p><div class="quotebox"><blockquote><p>We&#039;ll have to work on adding early flushing of bad sessions and a way to flag missed packets as fatal.</p></blockquote></div><p>perfect!</p><p>Luca</p>]]></description>
			<author><![CDATA[null@example.com (lucadistefano)]]></author>
			<pubDate>Mon, 01 Oct 2012 16:41:19 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post694.html#p694</guid>
		</item>
		<item>
			<title><![CDATA[Re: sniffer memory leak]]></title>
			<link>https://www.wolfssl.com/forums/post679.html#p679</link>
			<description><![CDATA[<p>Hi Luca,</p><p>We just pushed a commit related to memory usage with the sniffer.&nbsp; Can you give our most recent GitHub code a try and see if you are still seeing the same problem?</p><div class="quotebox"><blockquote><p>There is an api for dump the buffer status?<br />Or maybe an api for flush connections not correctly decoded?</p></blockquote></div><p>We don&#039;t currently have these options available in our API, no.&nbsp; We&#039;ll have to work on adding early flushing of bad sessions and a way to flag missed packets as fatal.</p><p>- Chris</p>]]></description>
			<author><![CDATA[null@example.com (chrisc)]]></author>
			<pubDate>Fri, 28 Sep 2012 19:24:56 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post679.html#p679</guid>
		</item>
		<item>
			<title><![CDATA[Re: sniffer memory leak]]></title>
			<link>https://www.wolfssl.com/forums/post678.html#p678</link>
			<description><![CDATA[<p>Hi chris<br />it runs on a ubuntu 11.04 server, kernel 2.6.38-13-server #57-Ubuntu SMP<br />I tried with official 2.3.0 and the latest from git<br />At the moment I cannot say how many socket connections <br />I know I see an average of 60-80k http requests per minute<br />RAM 8G<br />I need to verify if we miss packets.<br />If packet are missed they can be 2 reasons:<br />1) span/tap port saturation<br />2) ssl decoding not enough fast?</p><p>Can only be a problem related to missed packets? If a connection gives a lot of errors (because unknown cypher or the ssl compression) cannot cause the same problem?</p><p>There is a way to make it more reliable?<br />The process crashes each 40/50 sec and the sniffer is unusable.<br />There is an api for dump the buffer status?<br />Or maybe an api for flush connections not correctly decoded?</p><p>thanks,<br />Luca</p>]]></description>
			<author><![CDATA[null@example.com (lucadistefano)]]></author>
			<pubDate>Thu, 27 Sep 2012 18:53:54 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post678.html#p678</guid>
		</item>
		<item>
			<title><![CDATA[Re: sniffer memory leak]]></title>
			<link>https://www.wolfssl.com/forums/post677.html#p677</link>
			<description><![CDATA[<p>Hi Luca,</p><p>Can you tell us more about your setup, including:</p><p>- Are you running in a VM?&nbsp; What OS and version of CyaSSL embedded SSL are you using?<br />- How many connections are you tracing?<br />- Are you noticing any missed packets or connection errors?<br />- How much RAM do you have available?</p><p>If you are missing packets, it may be possible that this is causing the sniffer connections to buffer lots of memory (thus the increase in memory you are seeing).</p><p>Thanks,<br />Chris</p>]]></description>
			<author><![CDATA[null@example.com (chrisc)]]></author>
			<pubDate>Thu, 27 Sep 2012 16:52:51 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post677.html#p677</guid>
		</item>
		<item>
			<title><![CDATA[Re: sniffer memory leak]]></title>
			<link>https://www.wolfssl.com/forums/post675.html#p675</link>
			<description><![CDATA[<p>the problem seems to be related to non decoded packets<br />when all data is decoded the memory usage seems to not increase</p>]]></description>
			<author><![CDATA[null@example.com (lucadistefano)]]></author>
			<pubDate>Thu, 27 Sep 2012 09:26:42 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post675.html#p675</guid>
		</item>
		<item>
			<title><![CDATA[sniffer memory leak]]></title>
			<link>https://www.wolfssl.com/forums/post666.html#p666</link>
			<description><![CDATA[<p>I use the sniffer on a production environment.<br />I configured 1 host to be sniffed.<br />the sniffertest process crashes after a while after the process have consumed all system memory.</p>]]></description>
			<author><![CDATA[null@example.com (lucadistefano)]]></author>
			<pubDate>Tue, 25 Sep 2012 13:39:21 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post666.html#p666</guid>
		</item>
	</channel>
</rss>
