[OpenSIPS-Users] attack from friendly-scanner

Engineer voip forvoip4 at gmail.com
Wed Oct 10 09:29:47 CEST 2012


Hi,
Thank you all for the reply.

2012/10/9 Adam Raszynski <netcentrica at gmail.com>

> 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
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>


-- 

Best Regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20121010/c7a48726/attachment.htm>


More information about the Users mailing list