best place for logic - users file or custom module?
Tariq Rashid
tariq.rashid at uk.easynet.net
Tue Aug 23 17:58:59 CEST 2005
is python more stable than the support for perl? i have much more experience
in python than perl.
also is the "perl/python" stuff persistent - or is the interpreter invoked
for every request? i am asking as i think this is the main reason for
Radiator's performance issues - in theory even a big interpreter loaded into
RAM should run fine ... but I suspect something inefficent is happening with
Radiator.
tariq rashid
-----Original Message-----
From: freeradius-users-bounces at lists.freeradius.org
[mailto:freeradius-users-bounces at lists.freeradius.org]On Behalf Of Alan
DeKok
Sent: 23 August 2005 16:54
To: FreeRadius users mailing list
Subject: Re: best place for logic - users file or custom module?
Tariq Rashid <tariq.rashid at uk.easynet.net> wrote:
> hi, i'm planning a significant migration from a different radius server
> (Radiator, perl based).
That's good to hear!
> our tests with freeradius show a much lighter server - its faster, and
> easier on memory and cpu. however the downside is that applying custom
logic
> to the radius process is a bit more difficult.
Yes, there are trade-offs.
> i'd like some advide on the best place to implement this logic. for
example
> - a common scenario is for a request to come from A, and the reply to A
> contains instructions to extend a tunnel to a second device B. A second
> query from B is then received.
>
> this case is handled easily in perl using "if()" constructs.
My suggestion is to use Perl. :)
rlm_perl is in 1.0.4, but it's not stable. The CVS head is in
transition, too.
I would suggest grabbing revision 1.19 of rlm_perl from CVS, and
building it into 1.0.4. It should work, and it will get you the
custom logic you need. And, it will be multi-threaded, too.
Alan DeKok.
-
List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html
More information about the Freeradius-Users
mailing list