I use the following code on all my production OpenSIPS servers.<div>It&#39;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=~&quot;friendly-scanner&quot;) {</div><div>        xlog(&quot;L_ERROR&quot;, &quot;Auth error for $fU@$fd from $si method $rm user-agent (friendly-scanner)\n&quot;);</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>