<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=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
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-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Hi,<o:p></o:p></p>
<p class="MsoNormal">I think there is a problem when  TURN nonce expires. <o:p></o:p></p>
<p class="MsoNormal">If the nonce expires the TURN server replies with error code 438 when libnice sends a TURN allocation refresh.  libnice should re-send the allocation refresh with the new nonce but libnice fails to validate the error code 438 (STUN_VALIDATION_UNAUTHORIZED).<o:p></o:p></p>
<p class="MsoNormal">Using turnserver.org the nonce expires after 1 hour.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I send a patch for review. I just added a check for error code 438 in stun validation (stun_agent_validate). Do you think the check for error 438 is missing elsewhere?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Regards,<o:p></o:p></p>
<p class="MsoNormal">Livio<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<style type="text/css">
<!--
span.GramE {mso-style-name:"";
        mso-gram-e:yes;}
-->
</style>
<table style="width:600px;">
<tbody>
<tr>
<td style="width:585px; font-family: Verdana, Arial; font-size:12px; color:#000; text-align: justify" width="395">
<div align="justify"><span class="MsoNormal" style="text-align:justify; line-height:normal"><span style="font-size:7.5pt;font-family:Verdana">Questo messaggio e i suoi allegati sono indirizzati esclusivamente alle persone indicate. La diffusione, copia o qualsiasi
 altra azione derivante dalla conoscenza di queste informazioni sono rigorosamente vietate. Qualora abbiate ricevuto questo documento per errore siete cortesemente pregati di darne immediata comunicazione al mittente e di provvedere alla sua distruzione, Grazie.
</span></span></div>
<p align="justify"><span class="MsoNormal" style="text-align:justify; line-height:normal"><i><span lang="EN-GB" style="font-size:7.5pt;font-family:Verdana;mso-ansi-language:EN-GB">This e-mail and any attachments</span></i><i><span lang="EN-GB" style="font-size:
  7.5pt;mso-bidi-font-size:11.0pt;font-family:Verdana;mso-ansi-language:EN-GB"> <span class="GramE">is</span> </span></i><i><span lang="EN-GB" style="font-size:
  7.5pt;font-family:Verdana;mso-ansi-language:EN-GB">confidential
 and may contain privileged information intended for the addressee(s) only. Dissemination, copying, printing or use by anybody else is unauthorised. If you are not the intended recipient, please delete this message and any attachments and advise the sender
 by return e-mail, Thanks.</span></i><span lang="EN-GB" style="mso-ansi-language:EN-GB">
</span></span></p>
<b><span style="font-size:7.5pt;
  font-family:Verdana"><img src="cid:00000000000000000000000000000003@TI.Disclaimer" alt="rispetta l'ambiente" width="26" height="40">Rispetta l'ambiente. Non stampare questa mail se non è necessario.</span></b>
<p></p>
</td>
</tr>
</tbody>
</table>
</body>
</html>