[Users] Connection 2 Openser with DNS record

Tsitsi mediatsitsi-ser at yahoo.fr
Wed Apr 18 16:36:33 CEST 2007


Hi Andrei, 

Thanks, it's work fine,

Regards,
Tsitsi


Bogdan-Andrei Iancu <bogdan at voice-system.ro> a écrit : Hi Tsitsi,

you should authenticate only users that pretend to belong to the local 
domain. So on .org server do not try to auth calls originated by a .com .

regards,
bogdan

Tsitsi wrote:
> Hi,
>
> I try to bypass this code :
>
>  if(!proxy_authorize("domain.org", "subscriber"))
>      {
>     
>         xlog("L_INFO", "Proxy authentication failed -  M=$rm RURI=$ru 
> F=$fu T=$tu IP=$si ID=$ci\n");
>         proxy_challenge("domain.org", "0");
>         exit;
>    
>      }
>    
>    
>     if(!check_from())
>     {
>        
>         xlog("L_INFO", "Spoofed From-URI detected - M=$rm RURI=$ru 
> F=$fu T=$tu IP=$si ID=$ci\n");
>         sl_send_reply("403", "Spoofed From-URI Detected");
>         exit;
>     }
>
>  
> and the dial is ok, but I worry that I can be a less security. What 
> about proxy_authorize() and check_from() for calling a foreign 
> domain?     
>
> Regards,
> Tsitsi
> */
> Tsitsi /* a écrit :
>
>     I have 2 OpenSER servers that I want to "connect" with each other:
>
>     Phone "a" <---> Server "A"(domain.com) <------------> Server
>     "B"(domain.org) <---> Phone "b"
>
>     I use X-Lite in phone 'a' and phone 'b', I can send IM but fail to
>     Dial
>
>     It say
>
>     Proxy authentication required.
>
>     What can  I do ?
>
>     Regards,
>     Tsitsi
>
>     ------------------------------------------------------------------------
>     Découvrez une nouvelle façon d'obtenir des réponses à toutes vos
>     questions ! Profitez des connaissances, des opinions et des
>     expériences des internautes sur Yahoo! Questions/Réponses
>     ._______________________________________________
>     Users mailing list
>     Users at openser.org
>     http://openser.org/cgi-bin/mailman/listinfo/users
>
>
> ------------------------------------------------------------------------
> Découvrez une nouvelle façon d'obtenir des réponses à toutes vos 
> questions ! Profitez des connaissances, des opinions et des 
> expériences des internautes sur Yahoo! Questions/Réponses 
> .
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>   



             
---------------------------------
 Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kamailio.org/pipermail/users/attachments/20070418/610b282e/attachment.htm 


More information about the Users mailing list