[serusers]: trusted table(permissions module)

Kamal.Mann at t-systems.com Kamal.Mann at t-systems.com
Wed Nov 1 09:34:27 CET 2006


Yes it is these. This is the block which send 407.

Regards
Kamal Mann

-----Original Message-----
From: Andrey Kuprianov [mailto:andrey.kouprianov at gmail.com] 
Sent: Wednesday, November 01, 2006 1:35 PM
To: serusers at iptel.org
Subject: Re: [serusers]: trusted table(permissions module)

Hi,

Did you add an additional "if" clause like below??

if(!allow_trusted()) { 	#!!! like this one !!!		
	
     if (!proxy_authorize("","subscriber")) {
          proxy_challenge("","0");
          break;
     }
     else if (!check_from()) {
          sl_send_reply("403", "Forbidden");
          break;
     };

     consume_credentials();
};

   Regards,

     Andrey.

On 11/1/06, Kamal.Mann at t-systems.com <Kamal.Mann at t-systems.com> wrote:
>
>
>
> Hi All
>
> I made an entry "10.25.119.156, any, ^sip:.*$" into trusted table so
that
> any packet sent from 10.25.119.156 would be trusted by SER and don't
ask for
> its credentials. But SER is replying 407- proxy auth needed!!  After
this I
> tried with permissions.allow file:
>
> "ALL : "sip:mann at imsfw.de$"" but still no progress same response from
SER.
>
>
>
> My ser.cfg entries:
>
> modparam("permissions", "db_mode", 1)
>
> modparam("permissions", "trusted_table", "trusted")
>
> modparam("permissions", "source_col", "src_ip")
>
> modparam("permissions", "proto_col", "proto")
>
> modparam("permissions", "from_col", "from_pattern")
>
> modparam("permissions",
> "default_deny_file","/usr/lib/ser/modules/permissions.deny")
>
> modparam("permissions",
> "default_allow_file","/usr/lib/ser/modules/permissions.allow")
>
> Is it correct? Please give your suggestions for the same.
>
>
>
> Thanks in anticipation
>
> Kamal Mann
> _______________________________________________
> Serusers mailing list
> Serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
>
>
>
_______________________________________________
Serusers mailing list
Serusers at lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers



More information about the sr-users mailing list