<p>Fail2ban is a must. I was a victim of such attacks, and have implemented some other measures too, but fail2ban is a must have with the link posted by Matt which describes how to set it up for asterisk. Make sure you put your own ip address in ignore list otherwise it can block you too.</p>

<p><blockquote type="cite">On 2010-03-18 8:45 PM, &quot;Matt Riddell&quot; &lt;<a href="mailto:lists@venturevoip.com">lists@venturevoip.com</a>&gt; wrote:<br><br><p><font color="#500050">On 19/03/10 1:19 PM, Adrian Marsh wrote:<br>
&gt; Hello,<br>&gt;<br>&gt; I’m looking for some advice on securing Asteri...</font></p>Have a look at fail2ban:<br>
<br>
<a href="http://www.voip-info.org/wiki/view/Fail2Ban+%28with+iptables%29+And+Asterisk" target="_blank">http://www.voip-info.org/wiki/view/Fail2Ban+%28with+iptables%29+And+Asterisk</a><br>
<br>
--<br>
Cheers,<br>
<br>
Matt Riddell<br>
Managing Director<br>
_______________________________________________<br>
<br>
<a href="http://www.venturevoip.com/news.php" target="_blank">http://www.venturevoip.com/news.php</a> (Daily Asterisk News)<br>
<a href="http://www.venturevoip.com/exchange.php" target="_blank">http://www.venturevoip.com/exchange.php</a> (Full ITSP Solution)<br>
<a href="http://www.venturevoip.com/st.php" target="_blank">http://www.venturevoip.com/st.php</a> (SmoothTorque Predictive Dialer)<br>
<br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
               <a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</blockquote></p>