Re: Using NAS IP as part of auth

2004-01-19 Thread "P . P . "
Yes, whatever is possible with external call probably can be done with rlm_perl module - take a look inside experimental.conf > > Hiya > I am building a centralised authentication system for our routers, we are > using RADIUS (well freeRADIUS :) ) as the authentication and authorization

rlm_perl Questions.

2004-01-16 Thread "P . P . "
Hello freeradius users, Here I have some specific questions about rlm_perl module. In this module I do some mysql queries to retrive password and tarifs for the dialed destination (VoIP related) First thing I want to do - to establish permanent connection to db, e.g. not to connect and disconn

Re[5]: Rewrite function as in gnu radius.

2004-01-13 Thread "P . P . "
Ok, xlat is something different that I thought it is ;_)) I'm still having some troubles - it took me some time to figure out that authorize is called before authenticate (I saw output from -X but couldn't unrestand why authorize is before authenticate) Now I have another question - I want to av

Re[3]: Rewrite function as in gnu radius.

2004-01-13 Thread "P . P . "
Ok, I figured out how to make authenticate function or rlm_perl called! I use mysql module and I set Attribute field of radcheck table (in mysql database) to Auth-Type, op to '=' and Value to 'PERL' then I placed in authenticate section the following lines: Auth-Type PERL{ perl } Hope this he

Re[2]: Rewrite function as in gnu radius.

2004-01-12 Thread "P . P . "
I still have problems with perl module - I have no idea how to make authenticate procedure called (firs of all, in sample config there seem to be a mistake - it should be func_authenticate, not func_authentication) Another issue - as far as I understand xlat function is to be called on initializa

Re: Implementing a realtime-prepaid platform with freeradius

2004-01-07 Thread "P . P . "
Hi German, I'm sure you aren't alone - there are many people who think of this (including me). There are some projects started for opensource billing that supports prepaid You may try to look at Mike Tkachuk's http://sourceforge.net/projects/voipbill/, it's not finished yet though. Through perl s

Re[2]: Rewrite function as in gnu radius.

2004-01-04 Thread "P . P . "
> I would suggest using the Perl module. It does everything the > rewrite functions do, and more. > > Alan DeKok. Following this advice, I learned a bit of perl and tried this aproach. There were alot of problems I met, most of them are VoIP related. In my opinion the perl module is *exactly

Re[4]: Rewrite function as in gnu radius.

2004-01-03 Thread "P . P . "
> =?koi8-r?Q?=22?=P.P.=?koi8-r?Q?=22=20?= <[EMAIL PROTECTED]> wrote: > > Could you point out... Suppose I have an autorized user 'UserTest' > > with password 'UT_Pass'... Where should I place string something like > > Session-Timeout = /usr/myscipt/gettimeout.pl %{User-Name:-guest} > > %{User-Pass

Re[2]: Rewrite function as in gnu radius.

2004-01-03 Thread &quot;P . P . "
wrote: > > I'm a new user of freeradius. There were tons of problems with > > understanding how it works, luckily, some people from a mailing list > > (gnugk) helped me to start... > > I'm not sure you need to know how it works. The documentation which > comes with the server explains how to

Rewrite function as in gnu radius.

2004-01-03 Thread &quot;P . P . "
Hello everybody, I'm a new user of freeradius. There were tons of problems with understanding how it works, luckily, some people from a mailing list (gnugk) helped me to start... Many many my problems disapeared after I read documentation of gnu radius - it seems to be very similar to freeradius