Hi,<br>Thank you all for the reply.<br><br><div class="gmail_quote">2012/10/9 Adam Raszynski <span dir="ltr"><<a href="mailto:netcentrica@gmail.com" target="_blank">netcentrica@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I use the following code on all my production OpenSIPS servers.<div>It's CPU friendly and avoids being spotted by bots searching for open-relay VoIP servers.</div><div><br></div><div><div>route{</div><div> # put it at the very beginning of route section</div>
<div> if($ua=~"friendly-scanner") {</div><div> xlog("L_ERROR", "Auth error for $fU@$fd from $si method $rm user-agent (friendly-scanner)\n");</div><div> drop();</div><div> exit;</div>
<div> }</div></div><div>(...)</div><div><br></div><div>Since I added that code problem with friendly scanner is over.</div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><font color="#663300"><font face="comic sans ms,sans-serif"><br><span style="color:rgb(0,0,0)">Best Regards.</span><br></font></font><br><br>