<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to patches</title><link href="https://sourceforge.net/p/stun/patches/" rel="alternate"/><link href="https://sourceforge.net/p/stun/patches/feed.atom" rel="self"/><id>https://sourceforge.net/p/stun/patches/</id><updated>2015-03-29T14:36:05.519000Z</updated><subtitle>Recent changes to patches</subtitle><entry><title>#5 use /dev/urandom not /dev/random</title><link href="https://sourceforge.net/p/stun/patches/5/?limit=25#8402" rel="alternate"/><published>2015-03-29T14:36:05.519000Z</published><updated>2015-03-29T14:36:05.519000Z</updated><author><name>Jan Willamowius</name><uri>https://sourceforge.net/u/willamowius/</uri></author><id>https://sourceforge.net5d040991232a3a2a3d2023917bab28f4fc7478f0</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: accepted --&amp;gt; closed&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</summary></entry><entry><title>#5 use /dev/urandom not /dev/random</title><link href="https://sourceforge.net/p/stun/patches/5/?limit=25#b6d6" rel="alternate"/><published>2015-03-29T14:35:29.798000Z</published><updated>2015-03-29T14:35:29.798000Z</updated><author><name>Jan Willamowius</name><uri>https://sourceforge.net/u/willamowius/</uri></author><id>https://sourceforge.net030f7c9cfe161fa7a592aaea3455965e51caf4fe</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; accepted&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Group&lt;/strong&gt;:  --&amp;gt; Unstable (example)&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</summary></entry><entry><title>#6 Server loop far too busy...</title><link href="https://sourceforge.net/p/stun/patches/6/?limit=25#41d3" rel="alternate"/><published>2015-03-29T13:47:14.957000Z</published><updated>2015-03-29T13:47:14.957000Z</updated><author><name>Jan Willamowius</name><uri>https://sourceforge.net/u/willamowius/</uri></author><id>https://sourceforge.net94521339afdd56d5dbd57cf7f524feeaa89d590c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; closed&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</summary></entry><entry><title>Server loop far too busy...</title><link href="https://sourceforge.net/p/stun/patches/6/" rel="alternate"/><published>2015-03-24T00:04:32.497000Z</published><updated>2015-03-24T00:04:32.497000Z</updated><author><name>Dr. Uwe Meyer-Gruhl</name><uri>https://sourceforge.net/u/meyergru/</uri></author><id>https://sourceforge.net45dfb8a3a27933148d8026861740f1cdb06d2831</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The main server loop is far too busy, since the select() timeout is only 1 ms. Thus, the main loop is executed a thousand times per second, even when the process should only wait for input and be idle.&lt;/p&gt;
&lt;p&gt;In stun.cxx, line 1408 should read something like:&lt;/p&gt;
&lt;p&gt;tv.tv_usec = 50000;&lt;/p&gt;
&lt;p&gt;instead of&lt;/p&gt;
&lt;p&gt;tc.tv_usec = 1000;&lt;/p&gt;
&lt;p&gt;That would give 20 loop executions per second at most (which should be more than ever needed).&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Server loop far too busy...</title><link href="https://sourceforge.net/p/stun/patches/6/" rel="alternate"/><published>2015-03-24T00:04:32.497000Z</published><updated>2015-03-24T00:04:32.497000Z</updated><author><name>Dr. Uwe Meyer-Gruhl</name><uri>https://sourceforge.net/u/meyergru/</uri></author><id>https://sourceforge.net155da26fd8944361b2a3134af1fe641249a58593</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Ticket 6 has been modified: Server loop far too busy...&lt;br /&gt;
Edited By: Jan Willamowius (willamowius)&lt;br /&gt;
Status updated: u'open' =&amp;gt; u'closed'&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>use /dev/urandom not /dev/random</title><link href="https://sourceforge.net/p/stun/patches/5/" rel="alternate"/><published>2012-12-27T17:16:15Z</published><updated>2012-12-27T17:16:15Z</updated><author><name>Michael Madsen</name><uri>https://sourceforge.net/u/michaelmadsen5/</uri></author><id>https://sourceforge.netead3b71f23ecd8269ccf2245a4fa044fea198ef1</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;/dev/random runs out of bytes and the stun client hangs. To fix this use /dev/urandom instead.&lt;/p&gt;
&lt;p&gt;In stun.cxx apply the following patch&lt;br /&gt;
677c677&lt;br /&gt;
&amp;lt;       int fd=open("/dev/urandom",O_RDONLY);&lt;br /&gt;
---&lt;br /&gt;
&amp;gt;       int fd=open("/dev/random",O_RDONLY);&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>use /dev/urandom not /dev/random</title><link href="https://sourceforge.net/p/stun/patches/5/" rel="alternate"/><published>2012-12-27T17:16:15Z</published><updated>2012-12-27T17:16:15Z</updated><author><name>Michael Madsen</name><uri>https://sourceforge.net/u/michaelmadsen5/</uri></author><id>https://sourceforge.net0fe22155335653222bded342624eac6adbe9d78d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Ticket 5 has been modified: use /dev/urandom not /dev/random&lt;br /&gt;
Edited By: Jan Willamowius (willamowius)&lt;br /&gt;
Status updated: u'open' =&amp;gt; u'accepted'&lt;br /&gt;
_milestone updated: '' =&amp;gt; u'Unstable (example)'&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>use /dev/urandom not /dev/random</title><link href="https://sourceforge.net/p/stun/patches/5/" rel="alternate"/><published>2012-12-27T17:16:15Z</published><updated>2012-12-27T17:16:15Z</updated><author><name>Michael Madsen</name><uri>https://sourceforge.net/u/michaelmadsen5/</uri></author><id>https://sourceforge.net2b2a3f8839155ea0f0133c6ee7ede6c263dfd802</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Ticket 5 has been modified: use /dev/urandom not /dev/random&lt;br /&gt;
Edited By: Jan Willamowius (willamowius)&lt;br /&gt;
Status updated: u'accepted' =&amp;gt; u'closed'&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>[PATCH] Client hangs if no answer comes from the se</title><link href="https://sourceforge.net/p/stun/patches/4/" rel="alternate"/><published>2009-04-22T23:22:41Z</published><updated>2009-04-22T23:22:41Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net2c1990dfad96484b4ae66bc623e77b2aa72a372a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;This patch, applied to udp.cxx, solves issue 2219800 (Client hangs if no answer comes from the server). It uses a fixed 10 seconds timeout.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>checking return code of stunInitServer on startup</title><link href="https://sourceforge.net/p/stun/patches/3/" rel="alternate"/><published>2007-03-26T14:20:09Z</published><updated>2007-03-26T14:20:09Z</updated><author><name>jcedata</name><uri>https://sourceforge.net/u/jcedata/</uri></author><id>https://sourceforge.netc1366d7aa618747ed75d9cd1f20c7019dd8cbdf6</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The server does not check the return status of stunInitServer before forking to background. This causes the server to silently die after start instead of failing on startup when for example a faulty ip address is supplied. &lt;/p&gt;
&lt;p&gt;This patch fixes that.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>