[Kamailio-Users] kamailio 1.4 INVITE authentication bypass

Asim Riaz ariaz78 at gmail.com
Mon Sep 7 12:40:20 CEST 2009


Hi Alex,
I am not worry about this message,  "ERROR:auth:consume_credentials: no
authorized credentials found (error in scripts)",
receivng because of consume_credentials,  my problem is the caller wasnt in
the trusted table  so he should receive challenge from proxy but he was able
to bypass authentication as his ip  was in trusted table.


       if(is_from_local()) {
               if(!allow_trusted()) {
                       xlog("L_INFO", "[ROUTE-2 !] Issuing proxy
challenge\n");

                       if(!proxy_authorize("", "subscriber")) {
                               proxy_challenge("", "1");
                               exit;
                       }
 any idea?
Thanks,

Asim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20090907/ce56b610/attachment.htm>


More information about the sr-users mailing list