<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "><div>Asterisk 1.4.31 IAX2/RSA BUG</div><div><br></div><div>If "A" tries to register on "B" and the RSA key from "A" does not match the key on "inkeys" on "B", "B" do not send a "REGREJ", instead it sends a "REGAUTH" with a new "CHALLENGE", then "A" send a new "REGREQ" for this "CHALLENGE" with the same wrong RSA key and it loops forever on this (with a storm of REGREQ <--> REGAUTH packets).</div>
<div><br></div><div>The same was true in version 1.2.31.1, but was corrected in a patch. (see issue <a href="https://issues.asterisk.org/view.php?id=14386" target="_blank" style="color: rgb(6, 88, 181); ">14386</a>). </div>
<div><br></div><div>I tested some patches but nothing worked.</div><div><br></div><div>The console from the server ("B") will be flooded with this:</div><div><br></div><div>[May 31 07:37:43] NOTICE[3774] chan_iax2.c: No registration for peer 'pfcliente' (from 189.19.36.253)</div>
<div>[May 31 07:37:43] NOTICE[3770] chan_iax2.c: No registration for peer 'pfcliente' (from 189.19.36.253)</div><div>[May 31 07:37:43] NOTICE[3766] chan_iax2.c: No registration for peer 'pfcliente' (from 189.19.36.253)</div>
<div>[May 31 07:37:43] NOTICE[3768] chan_iax2.c: No registration for peer 'pfcliente' (from 189.19.36.253)</div><div>[May 31 07:37:43] NOTICE[3771] chan_iax2.c: No registration for peer 'pfcliente' (from 189.19.36.253)</div>
<div><br></div><div>------------------------------------------------------------------------------------------------------------------------------------------------------------------</div></span>André Magalhães<br>"May the Source be With You!"<br>
<br>Linux user #433396<br><a href="http://counter.li.org">http://counter.li.org</a><br>