[OpenSIPS-Users] Issue with permission module in opensip 1.6
Jai Rangi
jprangi at gmail.com
Thu Dec 10 09:43:50 CET 2009
Bogda,
Wow that was quick. Thank you,
I found one more issue,
I have this entry in address table
944 0 65.211.120.237 32 0 any ^sip:.*$ *NULL* 0 some descriptiond
Here is a check in my route block
if (check_source_address("0","$avp(i:9)")) {
t_rely();
} else {
xlog("Monitor Request not from trusted source from $fu to $ru from IP $si
");
sl_send_reply("403", "Forbidden, we dont trust you");
}
../../sbin/opensipsctl fifo address_dump | grep "65.211.120.237"
12 <65.211.120.237,0, 0, 0, ^sip:.*$, NULL>
I always get 403.
Is there a limit in address table.
-Jai
On Thu, Dec 10, 2009 at 12:24 AM, Bogdan-Andrei Iancu <
bogdan at voice-system.ro> wrote:
> Hi Jai,
>
> I think you are correct - the permission table should also be more
> permissive when comes to the errors and skip bogus entries. I will ask
> the maintainer (Irina) to fix this problem.
>
> Thanks for the report,
> Bogdan
>
> Jai Rangi wrote:
> > Not sure if this this the right place for this post. May be I should
> > post it on developers mailing list. Please suggest.
> >
> > Just installed opensip1.6 with Mysql, drouting and permissions module.
> > Did not take long to get it configure and get it going. Documentations
> > is wonderful.
> > While testing I noticed that,
> >
> > 1. If there is any invalid entry in dr_routing tables, and I reload
> > the dr_routing it spit the error for the mistyped/wrong entry and
> > loads rest of the valid entries. Same thing with startup. Opensip will
> > start up just fine even if there are some invalid rules in the table
> > and throws the error with ruleid.
> >
> > 2. On the other hand address table does not work that way. If there is
> > any space (Typo) in the IP address, opensip wont start and wont reload
> > the address table.
> > I have to put the valid IP address, there is not option for dynamic
> > domain names. (For people who does not have static IP). Not only that
> > it does not even tell which IP has a problem that makes it even harder
> > to debug when you have thousands of IPs in the trusted tables.
> >
> > I was wondering if there is a work around for this. I would like
> > opensip to startup (or successful address_reload) with all the valid
> > entries and throw an error for invalid entries. Also having the
> > ability to add an domain would be nice.
> >
> > Any thoughts??
> >
> > -Jai
> >
> >
> >
> >
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Users mailing list
> > Users at lists.opensips.org
> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> >
>
>
> --
> Bogdan-Andrei Iancu
> www.voice-system.ro
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20091210/ad9e26cb/attachment.htm
More information about the Users
mailing list