User Tools

Site Tools


tutorials:security:kamailio-security

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
tutorials:security:kamailio-security [2019/05/23 10:39] pepeluxtutorials:security:kamailio-security [2019/05/23 10:40] pepelux
Line 347: Line 347:
                 # -1 = error                 # -1 = error
                 # -2 = blacklisted                 # -2 = blacklisted
-                secf_check_country($gip(src=>cc));+                secf_check_country($gip2(src=>cc));
                 if ($? == -2) {                 if ($? == -2) {
-                        xalert("$rm from $si blocked because Country '$gip(src=>cc)' is blacklisted");+                        xalert("$rm from $si blocked because Country '$gip2(src=>cc)' is blacklisted");
                         exit;                         exit;
                 }                 }
tutorials/security/kamailio-security.txt · Last modified: 2019/05/23 10:42 by pepelux

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki