[Serusers] IP Authentication

Tony Baartman bart at global.co.za
Wed Sep 7 00:40:13 CEST 2005


Thanks, looks spot on, thanks! 

 

I seem to be battling with Syntax though:

 

I've added the following:

 

loadmodule "/usr/local/lib/ser/modules/permissions.so"

modparam("permissions", "allow_trusted", "/tmp/trust_host")

 

if (allow_trusted()) {

                        log("GOT TRUSTED HOST");

break;

};

 

Error I get:

 

0(22784) parse error (69,20-21): Can't set module parameter

 

Line 69 is the modparam entry

 

Cheers

 

 

  _____  

From: Ricardo Martinez [mailto:rmartinez at redvoiss.net] 
Sent: Tuesday, September 06, 2005 11:44 PM
To: 'Tony Baartman'; serusers at lists.iptel.org
Subject: RE: [Serusers] IP Authentication

 

If you mean authenticate or trust an endpoint based on the source ip, 

Maybe the allow-trusted command could help you.

You can search more info in the README file from the permission module.

 

Regards,

 

Ricardo Martinez.-

 

-----Mensaje original-----
De: Tony Baartman [mailto:bart at global.co.za]
Enviado el: Martes, 06 de Septiembre de 2005 17:39
Para: serusers at lists.iptel.org
Asunto: [Serusers] IP Authentication

Hi All

 

Has anyone an idea on how to do SIP IP authentication based on originating
IP??

 

Please help

 

Thanx

 

Tony

 

 

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


More information about the sr-users mailing list