[Serusers] permissions.so

Miklos Tirpak mtirpak at sztaki.hu
Mon Feb 2 10:56:53 CET 2004


Do you mean the deny rule did not work with ALL:ALL ?

What is in the debug output? You should see:
Allow file (/usr/local/etc/ser/permissions.allow) parsed
Deny file (/usr/local/etc/ser/permissions.deny) parsed

Miklos

On Mon, 2 Feb 2004, kapil dhawan wrote:
>
> Yes  I have done same,  and i hav tried by sip addresses also
>
>
>
> >From: Miklos Tirpak <mtirpak at sztaki.hu>
> >To: kapil dhawan <oswriter at hotmail.com>
> >CC: <serusers at lists.iptel.org>
> >Subject: Re: [Serusers] permissions.so
> >Date: Mon, 2 Feb 2004 10:43:42 +0100 (MET)
> >
> >Hello,
> >
> >The keywords are case sensitive, use ALL: ALL with upper case!
> >
> >Miklos
> >
> >On Mon, 2 Feb 2004, kapil dhawan wrote:
> >
> > > i am loading module permissons.so
> > >
> > > created two files permissions.allow and permissions.deny in sme folder
> >where
> > > my ser.cfg is....
> > >
> > > /usr/local/etc/ser
> > >
> > > i have set
> > >
> > > modparam("permissions", "allow_file",
> > > "/usr/local/etc/ser/permissions.allow")
> > > modparam("permissions", "deny_file",
> >"/usr/local/etc/ser/permissions.deny")
> > >
> > > also...
> > >
> > >
> > > permissions.allow
> > > # SIP Express Router permissions module config file
> > > #
> > > # Syntax:
> > > #       from_list [EXCEPT from_list] : to_list [EXCEPT to_list]
> > > #
> > > #       from_list and to_list are comma separated expressions
> > > #       Expressions are treated as case insensitive POSIX Extended
> >Regular
> > > Expressions.
> > > #       Keyword ALL matches any expression.
> > > #
> > > # Examples:
> > > #       ALL : "^sip:361[0-9]*@abc.com$" EXCEPT
> >"^sip:361[0-9]*3 at abc.com$",
> > > "^sip:361[0-9]*4 at abc.com$"
> > > #
> > > #       "^sip:3677[0-9]*@abc.com$" :  "^sip:361[0-9]*@abc.com$"
> > > #
> > > #       ALL : ALL
> > >
> > >
> > > permissions.deny
> > > All : All
> > >
> > >
> > > but it shud stop all my calls...its not doing that....any help
> > >
> > > _________________________________________________________________
> > > Games, MMS cards, ringtones. Operator logos, picture messages & more.
> > > http://server1.msn.co.in/sp03/mobilesms/ Jazz up your mobile!
> > >
> > > _______________________________________________
> > > Serusers mailing list
> > > serusers at lists.iptel.org
> > > http://lists.iptel.org/mailman/listinfo/serusers
> > >
> >
> >--
> >---------------------------------------------------------------------------
> >   Miklos Tirpak
> >   Computer and Automation Research Institute   e-mail : mtirpak at sztaki.hu
> >   Hungarian Academy of Sciences                phone  : (361) 279-6011
> >   H-1132. Budapest, Victor Hugo u 18-22        fax    : (361) 279-6021
> >
> >
>
> _________________________________________________________________
> MSN Hotmail now on your Mobile phone.
> http://server1.msn.co.in/sp03/mobilesms/ Click here.
>

-- 
---------------------------------------------------------------------------
  Miklos Tirpak
  Computer and Automation Research Institute   e-mail : mtirpak at sztaki.hu
  Hungarian Academy of Sciences                phone  : (361) 279-6011
  H-1132. Budapest, Victor Hugo u 18-22        fax    : (361) 279-6021





More information about the sr-users mailing list