best place for logic - users file or custom module?

2005-08-23 Thread Tariq Rashid
hi, i'm planning a significant migration from a different radius server (Radiator, perl based). one advantage of that server is that it is very easy to code custom hooks to apply business logic to post-(ldap)-search and post-auth points of the radius sequence. the disadvantage is the

Re: best place for logic - users file or custom module?

2005-08-23 Thread Thor Spruyt
Tariq Rashid wrote: hi, i'm planning a significant migration from a different radius server (Radiator, perl based). You might have a look at the rlm_perl module (persistent perl module to intervene in multiple stages). It's not marked stable yet, but it should be soon and it should be working

Re: best place for logic - users file or custom module?

2005-08-23 Thread Alan DeKok
Tariq Rashid [EMAIL PROTECTED] 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

RE: best place for logic - users file or custom module?

2005-08-23 Thread Tariq Rashid
: best place for logic - users file or custom module? Tariq Rashid [EMAIL PROTECTED] 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

Re: best place for logic - users file or custom module?

2005-08-23 Thread Nicolas Baradakis
Tariq Rashid wrote: 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. Use huntgroups to

Re: best place for logic - users file or custom module?

2005-08-23 Thread Thor Spruyt
Tariq Rashid wrote: is python more stable than the support for perl? i have much more experience in python than perl. rlm_python is not marked stable yet either. I don't know about it's stability, but I haven't seen much about rlm_python on the maillist, so maybe support could be very low;

Re: best place for logic - users file or custom module?

2005-08-23 Thread Alan DeKok
Tariq Rashid [EMAIL PROTECTED] wrote: is python more stable than the support for perl? i have much more experience in python than perl. See bugs.freeradius.org for an updated python module. There's been no feedback about it, so I'm leery of adding it in until people say it works. also is