<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body>
<p>Jeroen Eeuwes писал 29.12.2011 07:29:</p>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px; width:100%"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<pre>&nbsp;</pre>
<pre>Probably my understanding is limited, but it seems to me that they
have already 'access' to your Asterisk for them to be able to try to
make outgoing calls. Wouldn't it be better to make sure they get the
"usual" errors like "Registration from failed - no matching peer
found"?

In other words, how did they get this far in the first place?

Best regards,
Jeroen Eeuwes

</pre>
</blockquote>
<p>Agreed. If you didn't get the "Failed to authenticate on INVITE" (or whatever error should Asterisk log for not authenticated user trying to place a call, I might be wrong here) - your problem is way more serious.</p>
<p>As I can advice you from my wast (despite not always successfull) intruders fighting experience - banning by useragent can help. I always dreamed of Asterisk to implement that, but until then - if all your users are like "Linksys blablabla" or "eyeBeam blablabla" and you see any other agent on the Asterisk log - just ban it. Ofcourse, there are 2 limitations:</p>
<p>1) If he doesnt register, Asterisk wont show his useragent in log. And as for yor issue - neither will it show IP. I think we might ask devs to correct that some day</p>
<p>2) if you dont have some standard for user sip devices and they use whatever they want to, it wont help either</p>
<div>
<pre><span class="sig"><span style="color: #999999;">-- </span><br /><span style="color: #999999;">With Best Regards</span><br /><span style="color: #999999;"><a title="mailto:mlischuk@itx.com.ua" href="mailto:mlischuk@itx.com.ua">Mikhail Lischuk</a></span><br /><br /><span style="color: #999999;">ITX Ukraine</span></span></pre>
<pre><span class="sig"><br /></span></pre>
</div>
</body></html>