[OpenSIPS-Users] attack from friendly-scanner

Adam Raszynski netcentrica at gmail.com
Tue Oct 9 19:55:41 CEST 2012

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.

     # 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");

Since I added that code problem with friendly scanner is over.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20121009/d09f44e7/attachment.htm>

More information about the Users mailing list