<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to bugs</title><link>https://sourceforge.net/p/stun/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/stun/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Thu, 23 Sep 2010 19:18:44 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/stun/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>some typos in stun-client-0-96.exe</title><link>https://sourceforge.net/p/stun/bugs/23/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;for example:&lt;br /&gt;
Primary: Independedt Mapping, Address Dependendent Filter,&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Thu, 23 Sep 2010 19:18:44 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net927c87f01619a8106a17347cabe31e6edc0f7cd6</guid></item><item><title>Wrong Attribute: SOURCE-ADDRESS</title><link>https://sourceforge.net/p/stun/bugs/22/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Problem occures when then server receives a message on the alternate ip.&lt;br /&gt;
The port on which it sends the message is ok; but the field in the SOURCE-ADDRESS is wrong.&lt;/p&gt;
&lt;p&gt;I have tested this on some public servers with twinkle as a client.&lt;/p&gt;
&lt;p&gt;I have attached a wireshark output; see frame 18 (line 296 and line 280):&lt;br /&gt;
Src Port: stun (3478)     as reported by wireshark and is correct behavior&lt;br /&gt;
Port: 3479                     as reported by SOURCE_ADDRESS and is wrong&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Razvan</dc:creator><pubDate>Fri, 28 Aug 2009 10:03:49 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net636c2c173450a21987e0de72d0aa355bc29c7e67</guid></item><item><title>Client hangs if no answer comes from the server</title><link>https://sourceforge.net/p/stun/bugs/21/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I'm using the stun client to monitor public IP changes in a modem-router. I found that if no answer arrives from the stun server, the client "hangs" inside getMessage() in udp.cxx. The reason is this function calls recvfrom() to wait INDEFINITELY for the packet from the server.&lt;br /&gt;
I believe a "reasonable" timeout should be used in this function. What do you think? Do you want me to introduce the change? Is there a CVS for this project?&lt;br /&gt;
I wait for your comments. Bye,&lt;/p&gt;
&lt;p&gt;Daniel&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Tue, 04 Nov 2008 01:54:31 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netd70ac145ad3c7db2398b77315ae066112c405a46</guid></item><item><title>-p option not working in stun client</title><link>https://sourceforge.net/p/stun/bugs/20/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hardcoded value of port used instead of STUN_PORT&lt;/p&gt;
&lt;p&gt;Line number 969 in stun.cxx&lt;/p&gt;
&lt;p&gt;Please fix&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Hansson</dc:creator><pubDate>Tue, 28 Aug 2007 09:05:46 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netd8901ee1a16b4a80fd1a035e496793192e0a8719</guid></item><item><title>compilation error: stun.cxx:681:7: error: #error Need some w</title><link>https://sourceforge.net/p/stun/bugs/19/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I tried to compile server under 32 bit and 64 CPU machine under Debian OS.&lt;br /&gt;
On the first 32 bit machine there was no error but on the second 64 bit CPU there was the following one:&lt;/p&gt;
&lt;p&gt;stun.cxx:681:7: error: #error Need some way to seed the random number generator&lt;br /&gt;
stun.cxx: In function ‘int stunRand()’:&lt;br /&gt;
stun.cxx:683: warning: ‘tick’ is used uninitialized in this function&lt;br /&gt;
make: *** [stun.o]&lt;/p&gt;
&lt;p&gt;My machine:&lt;/p&gt;
&lt;p&gt;stun@sen:~/src/stund$ uname -a&lt;br /&gt;
Linux sen 2.6.18-4-amd64 #1 SMP Wed Feb 21 14:29:38 UTC 2007 x86_64 GNU/Linux&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tomasz Zieleniewski</dc:creator><pubDate>Mon, 12 Mar 2007 08:47:13 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net15067792aff1fc657ccf1c0092ad77a212a8eda6</guid></item><item><title>File descriptors not closed</title><link>https://sourceforge.net/p/stun/bugs/18/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The file descriptors for client sockets (from where stun requests are sent) are not closed. This causes a problem when this the utility is invoked as a library call rather than a standalone app.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Fri, 09 Feb 2007 18:38:08 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netb5f3a48f624b74823d9921edfb3dc35c4c921ff4</guid></item><item><title>License text missing</title><link>https://sourceforge.net/p/stun/bugs/17/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;The project page states the license to be the Vovida&lt;br /&gt;
Software License 1.0, but neither the source archive&lt;br /&gt;
nor the SF.net pages show the content of the license.&lt;br /&gt;
What's worse is that no source code file shows a&lt;br /&gt;
copyright notice and especially no copyright notice&lt;br /&gt;
referencing the license text. What this essentially&lt;br /&gt;
means is that depending on local law, the source code&lt;br /&gt;
either can't be used or distributed at all or is put&lt;br /&gt;
into the public domain (i.e. absolutely no liability&lt;br /&gt;
but also no use or distribution restrictions).&lt;/p&gt;
&lt;p&gt;Please fix this. Hints on how to fix this can be taken&lt;br /&gt;
from the GNU docs of how to apply the GPL to some code&lt;br /&gt;
(though taking the instructions with a grain of salt,&lt;br /&gt;
i.e. replacing the GPL with the Vovida Software License&lt;br /&gt;
1.0)&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;
Sven&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sven M.</dc:creator><pubDate>Mon, 16 Oct 2006 15:24:28 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net0951976b649d412480bf94c3ef4cf487a3966f0e</guid></item><item><title>background option -b not working on linux</title><link>https://sourceforge.net/p/stun/bugs/16/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;concearning STUN server version 0.96 &lt;/p&gt;
&lt;p&gt;When running the stun server with the -b option the&lt;br /&gt;
child process created is killed after a few seconds. &lt;br /&gt;
Reason of this is that a child process is created and&lt;br /&gt;
the parent stopped after that. &lt;br /&gt;
In Linux when a parent is killed (or stopped) all its&lt;br /&gt;
child processes are killed as wel. &lt;br /&gt;
This has as result that the child process to run in&lt;br /&gt;
background is terminated a few seconds after it is&lt;br /&gt;
created. &lt;/p&gt;
&lt;p&gt;To fix this the child should be daemonized. &lt;br /&gt;
this can be done by adding the following code in&lt;br /&gt;
server.cxx: &lt;/p&gt;
&lt;p&gt;#ifndef WIN32 &lt;br /&gt;
... &lt;br /&gt;
/* adding following includes after line 12 in server.cxx*/ &lt;br /&gt;
#include &amp;lt;fcntl.h&amp;gt; &lt;br /&gt;
... &lt;br /&gt;
#endif &lt;/p&gt;
&lt;p&gt;... &lt;br /&gt;
/* in the main function (line 214 file server.cxx) */ &lt;br /&gt;
if (pid == 0) //child or not using background &lt;br /&gt;
{ &lt;br /&gt;
if(background) &lt;br /&gt;
{ &lt;br /&gt;
pid_t sid; &lt;/p&gt;
&lt;p&gt;/* Create a new SID for the&lt;br /&gt;
child process */ &lt;br /&gt;
sid = setsid(); &lt;br /&gt;
if (sid &amp;lt; 0) &lt;br /&gt;
{ &lt;br /&gt;
exit(-1); &lt;br /&gt;
} &lt;/p&gt;
&lt;p&gt;verbose = false; &lt;/p&gt;
&lt;p&gt;/* close standard file&lt;br /&gt;
descriptors and redirect them to /dev/null */ &lt;br /&gt;
close(0); &lt;br /&gt;
close(1); &lt;br /&gt;
close(2); &lt;br /&gt;
int si = open("/dev/null",&lt;br /&gt;
O_RDWR); &lt;br /&gt;
dup(si); &lt;br /&gt;
dup(si); &lt;br /&gt;
} &lt;br /&gt;
} &lt;/p&gt;
&lt;p&gt;StunServerInfo info; &lt;br /&gt;
bool ok = stunInitServer(info, myAddr, altAddr,&lt;br /&gt;
myMediaPort, verbose); &lt;/p&gt;
&lt;p&gt;... &lt;/p&gt;
&lt;p&gt;With this it can be used in a script in the /etc/init.d&lt;br /&gt;
directory to automatically start it up when the linux&lt;br /&gt;
server is restarted. &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Mon, 27 Feb 2006 17:29:46 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netd58c6d23323461c26748b68b9eda2b51a6153c4d</guid></item><item><title>stunServer can't work for long time?</title><link>https://sourceforge.net/p/stun/bugs/15/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;when stunServer working for long time,then it can't &lt;br /&gt;
ack to stunClient? why?&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">oldfriend2001</dc:creator><pubDate>Tue, 29 Nov 2005 07:47:48 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net266fd262a51e1226e9482f41baad4f8f956622f5</guid></item><item><title>stunServerProcessMsg incorrect in stun.h</title><link>https://sourceforge.net/p/stun/bugs/14/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;stunServerProcessMsg declaration in stun.h takes 11&lt;br /&gt;
parameters whereas the actual implementation in&lt;br /&gt;
stun.cxx takes 12.&lt;/p&gt;
&lt;p&gt;stun.h:&lt;br /&gt;
bool&lt;br /&gt;
stunServerProcessMsg( char* buf,&lt;br /&gt;
unsigned int bufLen,&lt;br /&gt;
StunAddress4&amp;amp; from, &lt;br /&gt;
StunAddress4&amp;amp; myAddr,&lt;br /&gt;
StunAddress4&amp;amp; altAddr, &lt;br /&gt;
StunMessage* resp,&lt;br /&gt;
StunAddress4* destination,&lt;br /&gt;
StunAtrString* hmacPassword,&lt;br /&gt;
bool* changePort,&lt;br /&gt;
bool* changeIp,&lt;br /&gt;
bool verbose);&lt;/p&gt;
&lt;p&gt;stun.cxx:&lt;br /&gt;
bool&lt;br /&gt;
stunServerProcessMsg( char* buf,&lt;br /&gt;
unsigned int bufLen,&lt;br /&gt;
StunAddress4&amp;amp; from, &lt;br /&gt;
StunAddress4&amp;amp; secondary,&lt;br /&gt;
StunAddress4&amp;amp; myAddr,&lt;br /&gt;
StunAddress4&amp;amp; altAddr, &lt;br /&gt;
StunMessage* resp,&lt;br /&gt;
StunAddress4* destination,&lt;br /&gt;
StunAtrString* hmacPassword,&lt;br /&gt;
bool* changePort,&lt;br /&gt;
bool* changeIp,&lt;br /&gt;
bool verbose)&lt;/p&gt;
&lt;p&gt;The missing parameter is: StunAddress4&amp;amp; secondary.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Tue, 08 Nov 2005 09:36:35 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netf2ca20248c826df9f0512d9f17c4be7577493805</guid></item></channel></rss>