Hi,
Thank you all for the reply.

2012/10/9 Adam Raszynski <[email protected]>

> I use the following code on all my production OpenSIPS servers.
> It's CPU friendly and avoids being spotted by bots searching for
> open-relay VoIP servers.
>
> route{
>      # put it at the very beginning of route section
>      if($ua=~"friendly-scanner") {
>         xlog("L_ERROR", "Auth error for $fU@$fd from $si method $rm
> user-agent (friendly-scanner)\n");
>         drop();
>         exit;
>      }
> (...)
>
> Since I added that code problem with friendly scanner is over.
>
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>


-- 

Best Regards.
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to