Re: NAS-IP-Address, rlm_perl, and loopback

2008-08-22 Thread A . L . M . Buxey
Hi, > Which explains what's going on. PEAP is really two things: an outer > TLS session, and inner EAP-MSCHAPv2 authentication. So there are *two* > streams of RADIUS packets. One that sets up the tunnel, and one that > does the authentication inside of the tunnel. yep - so if you only want

Re: NAS-IP-Address, rlm_perl, and loopback

2008-08-21 Thread Alan DeKok
Adam W. Sewell wrote: > I am using PEAP/MsChapv2. Exactly. There are multiple packet exchanges as part of one PEAP authentication. > I am using a perl script to authorize the user access to the network based on > some information that is pulled out of a database via our perl script. This > p

RE: NAS-IP-Address, rlm_perl, and loopback

2008-08-21 Thread Adam W. Sewell
NAS-Identifier = "BZRBAS_09614_M80" Thu Aug 21 12:57:15 2008 : NAS-Port-Id = "fe.0.8" Thu Aug 21 12:57:15 2008 : Using perl at 0x80116518 Thu Aug 21 12:57:15 2008 : rlm_perl: Added pair Filter-Id = Enterasys:version=1:policy=CCP_Student Thu Aug 21 12:57:15 2008

Re: NAS-IP-Address, rlm_perl, and loopback

2008-08-21 Thread Alan DeKok
Adam W. Sewell wrote: > I'm having a couple of issues particularly pertaining > to the NAS-IP-Address variable that is passed from the > switch. When a client sends the auth-request, we find > that the authorize function of our perl script is being > executed multiple times for the same request.

NAS-IP-Address, rlm_perl, and loopback

2008-08-21 Thread Adam W. Sewell
I'm having a couple of issues particularly pertaining to the NAS-IP-Address variable that is passed from the switch. When a client sends the auth-request, we find that the authorize function of our perl script is being executed multiple times for the same request. I would think that the authoriz

Re: Question regarding rlm_perl and Access-Challenge

2008-08-19 Thread Harry J Walsh
Yes, that worked a charm. Thanks for the help Alan! -- Harry On Tue, Aug 19, 2008 at 6:03 PM, Alan DeKok <[EMAIL PROTECTED]> wrote: > Harry J Walsh wrote: >> Thanks for the swift reply Dekok. I tried what you suggested and it >> doesn't work. > > Sorry... looking at the code again, the Respons

Re: Question regarding rlm_perl and Access-Challenge

2008-08-19 Thread Alan DeKok
Harry J Walsh wrote: > Thanks for the swift reply Dekok. I tried what you suggested and it > doesn't work. Sorry... looking at the code again, the Response-Packet-Type should go into the control/check items. ... > $RAD_REPLY{'Response-Packet-Type'} = "Access-Challenge"; Cha

Re: Question regarding rlm_perl and Access-Challenge

2008-08-19 Thread Harry J Walsh
_REPLY{'Response-Packet-Type'} = "Access-Challenge"; &log_request_attributes; return RLM_MODULE_HANDLED; } else { # Reject user and tell him why $RAD_REPLY{'Reply-Message'} = "Denied access by

Re: Question regarding rlm_perl and Access-Challenge

2008-08-19 Thread Alan DeKok
Harry J Walsh wrote: > I want to develop some test cases for a radius client I am developing > and I would like to be able to use rlm_perl to simulate various > scenarios. The one I am having major problems with is > Access-Challenge. I really like rlm_perl and the flexibility it &g

Question regarding rlm_perl and Access-Challenge

2008-08-19 Thread Harry J Walsh
Hi, I want to develop some test cases for a radius client I am developing and I would like to be able to use rlm_perl to simulate various scenarios. The one I am having major problems with is Access-Challenge. I really like rlm_perl and the flexibility it provides and I would like to be able to

Re: rlm_perl not working as expected on 2.0.5

2008-08-12 Thread Henry
On Tue, August 12, 2008 11:08 am, Ivan Kalik wrote: > You haven't got > > Auth-Type Perl { > perl > } > > in authentication section of inner-tunnel virtual server. You probably > added it just to default one. In default configuration users file is > common for all virtual servers. Excellent! Than

Re: rlm_perl not working as expected on 2.0.5

2008-08-12 Thread Ivan Kalik
L PROTECTED]> piše: >Greetings, > >I'm busy trying out Freeradius 2.0.5 before upgrading from 1.1.0, and so >far everything looks good. I would like to try out rlm_perl since it >presents some interesting possibilities, but am having a spot of bother. > >I foll

rlm_perl not working as expected on 2.0.5

2008-08-11 Thread Henry
Greetings, I'm busy trying out Freeradius 2.0.5 before upgrading from 1.1.0, and so far everything looks good. I would like to try out rlm_perl since it presents some interesting possibilities, but am having a spot of bother. I followed the howto here: http://wiki.freeradius.org/Rlm

rlm_perl bug?

2008-08-08 Thread patrice . oliver
Bonjour, je suis actuellement en congés pour 3 semaines. Je suis de retour le 1er septembre 2008. En cas d'urgence, vous pouvez contacter Monsieur Tixier au 03 80 24 44 27 ou la maintenance informatique au 03 80 24 45 84. Cordialement. - List info/subscribe/unsubscribe? See http://www.freeradius

rlm_perl bug?

2008-08-08 Thread Alex Balashov
Greetings, I am running into a strange problem with the rlm_perl module. I am using some Perl middleware to do additional processing on some custom vendor accounting attributes and log them to MS-SQL via UnixODBC, in addition to using rlm_unixodbc for logging the basic accounting attributes

RE: freeradius 2.0.5 linking error with rlm_perl on solaris10

2008-07-15 Thread Ubale, Abhishek Amarnath
In src/main/Makefile, added the dynaloader library to the MODULE_LIBS: MODULE_LIBS = $(STATIC_MODULES) /usr/local/perl-5.8.3/lib/5.8.3/sun4-solaris/auto/DynaLoader/DynaLoader.a This fixed the make error. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.ht

Re: freeradius 2.0.5 linking error with rlm_perl on solaris10

2008-07-02 Thread Nicolas Goutte
Am 02.07.2008 um 14:05 schrieb Ubale, Abhishek Amarnath: Hi, Im trying to install freeradius 2.0.5 on solaris10 (sparc) and Im only interested in rlm_perl module. My configure script is ./configure --prefix=/usr/local/radius --with-static-modules=perl -- disable-shared --without-rlm_sql

freeradius 2.0.5 linking error with rlm_perl on solaris10

2008-07-02 Thread Ubale, Abhishek Amarnath
Hi, Im trying to install freeradius 2.0.5 on solaris10 (sparc) and Im only interested in rlm_perl module. My configure script is ./configure --prefix=/usr/local/radius --with-static-modules=perl --disable-shared --without-rlm_sql --without-rlm_eap --without-rlm_ldap --without-rlm_krb5

Re: Forcing lowercase User-Name with rlm_perl

2008-06-12 Thread Alan DeKok
oz wrote: > A small problem I just had when I recompiled my freeradius-2.0.3 with Answer: 2.0.5. > I decided to ignore it, because the symbolic link inner-tunnel > alread existed from my first compilation an that seems to cause the > error (is this fixed in 2.0.5 eventually?). Yes. Alan D

Re: Forcing lowercase User-Name with rlm_perl

2008-06-12 Thread oz
ower-cased in the auth AND acct packets. A small problem I just had when I recompiled my freeradius-2.0.3 with libperl-dev to make rlm_perl available. At the end of "make install" I've got: [...] if [ ! -f /usr/local/etc/raddb/sites-enabled/inner-tunnel ]; then \ cd /

Fwd: Help with Rewriting RAD_REQUEST in rlm_perl for proxy

2008-06-11 Thread Ken Gribble
Sorry, my bad, I upgraded to 2.0.5 and this all started to work fine :-) -Ken Begin forwarded message: Greetings! I'm using freeradius installed from the freeradius.i386 1.1.3-1.2.el rpm on CentOS 5 (recompiled RedHat). - List info/subscribe/unsubscribe? See http://www.freeradius.org/lis

Help with Rewriting RAD_REQUEST in rlm_perl for proxy

2008-06-11 Thread Ken Gribble
arrive at their final destination. I need to rewrite any reference to a username to a unique ID number (long story). I embarked on using rlm_perl for this task, I have the proxy working, but when the data arrives at it's destination the Attributes have not been changed. I'm hoping

Re: Forcing lowercase User-Name with rlm_perl

2008-06-11 Thread oz
> later. I haven't tried this but it works with other modules. > > On Jun 11, 2008, at 1:04 PM, oz wrote: > > > On Sat, 17 May 2008 18:09:09 -0700 > > Chris <[EMAIL PROTECTED]> wrote: > > > >> Thanks. I'll look at lc. > >> I was

Re: Forcing lowercase User-Name with rlm_perl

2008-06-11 Thread Chris
eeradius-2.0.x. Our database is an historically grown users-file. Were you or somebody else able to follow the advice of using rlm_perl and lc()? I must admit, I'm not able to program freeradius-perl-plugins :-/, but would test it if necessary. At the moment I don't even have the rl

Re: Forcing lowercase User-Name with rlm_perl

2008-06-11 Thread oz
witch to freeradius-2.0.x. Our database is an historically grown users-file. Were you or somebody else able to follow the advice of using rlm_perl and lc()? I must admit, I'm not able to program freeradius-perl-plugins :-/, but would test it if necessary. At the moment I don't even have t

Re: Forcing lowercase User-Name with rlm_perl

2008-05-17 Thread Chris
On May 17, 2008, at 6:31 AM, Krzysztof Olędzki wrote: On 2008-05-17 02:09, Chris wrote: I basically want User-Name to be forced to lowercase for the duration of the request. I have done the following: modules { perl { module = my_perl_module.pm } } authorize {

Re: Forcing lowercase User-Name with rlm_perl

2008-05-17 Thread Krzysztof Olędzki
On 2008-05-17 02:09, Chris wrote: I basically want User-Name to be forced to lowercase for the duration of the request. I have done the following: modules { perl { module = my_perl_module.pm } } authorize { preprocess perl ... } Pertin

Forcing lowercase User-Name with rlm_perl

2008-05-16 Thread Chris
I basically want User-Name to be forced to lowercase for the duration of the request. I have done the following: modules { perl { module = my_perl_module.pm } } authorize { preprocess perl ... } Pertinent contents of my_perl_module.pm:

Re: $RAD_REPLY - Add multiple pairs issue (rlm_perl)

2008-04-21 Thread Kinetix Tele.com Mailing Lists
mention it in case someone tries something like that. Kinetix Tele.com Mailing Lists wrote: I am using the following command to my authorize function (rlm_perl) : $RAD_REPLY{'Cisco-Command-Code'} = [EMAIL PROTECTED]; because I want to add more than one pair in the reply packet. (final_

$RAD_REPLY - Add multiple pairs issue (rlm_perl)

2008-04-21 Thread Kinetix Tele.com Mailing Lists
I am using the following command to my authorize function (rlm_perl) : $RAD_REPLY{'Cisco-Command-Code'} = [EMAIL PROTECTED]; because I want to add more than one pair in the reply packet. (final_routing is a perl array containing the desired values) These pairs are successfully ad

Re: rlm_perl , unlang and Exec-Wait with Perl

2008-04-18 Thread Alan DeKok
rsg wrote: > My particular problem is to compare > > IP address management(Authorization) > (1) 'solely' based on PerlVS (2) SQLIPPOOL + unlang > > Does it mean that SQLIPPOOL isn't a good choice for large scale > deployments requiring scalability & faster response time? No

Re: rlm_perl , unlang and Exec-Wait with Perl

2008-04-18 Thread rsg
My particular problem is to compare IP address management(Authorization) (1) 'solely' based on PerlVS (2) SQLIPPOOL + unlang Does it mean that SQLIPPOOL isn't a good choice for large scale deployments requiring scalability & faster response time? On Fri, Apr 18, 2008 at 11:3

rlm_perl - authorize - authenticate issue

2008-04-18 Thread Apostolos Pantsiopoulos
Hi, I am using freeradius (rlm_perl) for a VoIP system for a long time now and today I tried to use it for routing purposes as well. In my authorize function of my perl script I am assigning the routing info to $RAD_REPLY : ... my @final_routing

Re: rlm_perl , unlang and Exec-Wait with Perl

2008-04-18 Thread Alan DeKok
rsg wrote: > However my question is about performance and about how fast & scalable > this kind of a setup compared to a Perl based system. Perl will almost always be slower, for the simple reason that it has a lot more work to do in order to set up the interpreter, etc. for every request. Th

Re: rlm_perl , unlang and Exec-Wait with Perl

2008-04-18 Thread A . L . M . Buxey
Hi, > If things are done mainly using SQL, for eg. IP address management, > then unlang seems to be doing more or less the same work(easily) a > sophisticated Perl script could do. > > However my question is about performance and about how fast & scalable > this kind of a setup compared to a Pe

Re: rlm_perl , unlang and Exec-Wait with Perl

2008-04-18 Thread rsg
& scalable this kind of a setup compared to a Perl based system. Any ideas please? rg. On Thu, Apr 17, 2008 at 8:19 PM, <[EMAIL PROTECTED]> wrote: > > Hi, > > > How could one compare between Rlm_perl and Unlang(or any other > > relevant module) for performan

Re: rlm_perl , unlang and Exec-Wait with Perl

2008-04-17 Thread A . L . M . Buxey
Hi, > How could one compare between Rlm_perl and Unlang(or any other > relevant module) for performance. > > I've read in http://wiki.freeradius.org/index.php/Rlm_perl > > that rlm_perl supports muliple instances and threads allowing faster > processing. > > Ho

rlm_perl , unlang and Exec-Wait with Perl

2008-04-17 Thread rsg
Hi, How could one compare between Rlm_perl and Unlang(or any other relevant module) for performance. I've read in http://wiki.freeradius.org/index.php/Rlm_perl that rlm_perl supports muliple instances and threads allowing faster processing. How is it with policies done using u

Re: Unable to authenticate with rlm_perl

2008-04-02 Thread A . L . M . Buxey
Hi, > client. For the testing purpose I've put this simple script in the perl > program > > if ($RAD_REQUEST{'User-Name'} eq "john") > { > $RAD_REPLY{'A message'} = " Accepting John"; > return RLM_MODULE_OK; > >} >

Unable to authenticate with rlm_perl

2008-04-02 Thread johnson elangbam
hi, I am trying to used the rlm_perl for authentication, I've found reading all the perl modules, but wouldn't able to handle the username from the client. For the testing purpose I've put this simple script in the perl program if ($RAD_REQUEST{'

Re: Post-proxy and rlm_perl

2008-03-20 Thread Julien Leloup
database), but I can't find a equivalent of preproxy_user file to the post-proxy phase. I think that using a perl script with rlm_perl will do this work in the post-proxy function, but when I try to manipulate attributes from the home server response, I can't find them in the %R

Re: Post-proxy and rlm_perl

2008-03-20 Thread Boian Jordanov
reply comes from the home FreeRadius, I have to go through the same kind of process (add attributes which values are taken from a database), but I can't find a equivalent of preproxy_user file to the post- proxy phase. I think that using a perl script with rlm_perl will do this wo

Post-proxy and rlm_perl

2008-03-20 Thread Julien Leloup
that using a perl script with rlm_perl will do this work in the post-proxy function, but when I try to manipulate attributes from the home server response, I can't find them in the %RAD_REQUEST, %RAD_REPLY hashes, and I can see this kind of logs : rlm_perl: Added pair Attribute1 = Value1 ...

Re: Problem with authentication with rlm_perl

2008-03-15 Thread Phil Mayers
++[eap] returns noop ++[expiration] returns noop ++[logintime] returns noop You've removed the PAP module from the sites-available/default "authorize" stanza, so this happens: auth: No authenticate method (Auth-Type) configuration found for the Put the "pap" module back where it was. - Lis

Problem with authentication with rlm_perl

2008-03-15 Thread johnson elangbam
mespan " minimum-timeout = 60 } } radiusd: Loading Virtual Servers server { modules { Module: Checking authenticate {...} for more modules to load Module: Linked to module rlm_perl Module: Instantiating perl perl { module = "/usr/local/etc/raddb/example

Re: rlm_perl with huge load (~1000-1500 request per minute)

2008-02-11 Thread Phil Mayers
John S. Doe wrote: Hello! i use freeradiusd 1.7, rlm_perl with thread conf: thread pool { start_servers = 100 max_servers = 1500 min_spare_servers = 1 max_spare_servers = 10 max_requests_per_server = 10 } rlm_sql uses mysql. All works fine, but

Re: rlm_perl with huge load (~1000-1500 request per minute)

2008-02-11 Thread A . L . M . Buxey
Hi, > Hello! > > i use freeradiusd 1.7, rlm_perl with thread conf: > > thread pool { > start_servers = 100 > max_servers = 1500 > min_spare_servers = 1 > max_spare_servers = 10 > max_requests_per_server = 10 > } >

Re: rlm_perl with huge load (~1000-1500 request per minute)

2008-02-11 Thread Alan DeKok
John S. Doe wrote: > i use freeradiusd 1.7, rlm_perl with thread conf: > > thread pool { ... > max_requests_per_server = 10 This should always be zero. > and radiusd like "frozen", take 99% of CPU time, and not response for > client's request. Ru

rlm_perl with huge load (~1000-1500 request per minute)

2008-02-11 Thread John S. Doe
Hello! i use freeradiusd 1.7, rlm_perl with thread conf: thread pool { start_servers = 100 max_servers = 1500 min_spare_servers = 1 max_spare_servers = 10 max_requests_per_server = 10 } rlm_sql uses mysql. All works fine, but sometime, at moment with

Re: rlm_perl and RLM_MODULE_REJECT

2008-01-26 Thread Alan DeKok
Jean-Michel Caricand wrote: ... > I use freeradius-1.1.3 (Debian Etch package). I applied this patch to > radiusd.c to solve > my problem. That works. My question : my patch seems good or not ? It looks fine. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/

Re: rlm_perl and RLM_MODULE_REJECT

2008-01-26 Thread Jean-Michel Caricand
Le vendredi 25 janvier 2008 17:01, Alan DeKok a écrit : > Jean-Michel Caricand wrote: > > Well. I made a lot of tests without success. I'm not yet able to REJECT a > > request in a post_proxy function, but that works fine in a authorize > > function. > > > > Does someone have ideas ? > > In

Re: rlm_perl and RLM_MODULE_REJECT

2008-01-25 Thread Alan DeKok
Jean-Michel Caricand wrote: > Well. I made a lot of tests without success. I'm not yet able to REJECT a > request in a post_proxy function, but that works fine in a authorize > function. > > Does someone have ideas ? In 2.0, it looks like this isn't dealt with in src/main/event.c around line

Re: rlm_perl and RLM_MODULE_REJECT

2008-01-25 Thread Jean-Michel Caricand
> >> > >> Best Regards, > >> Boian Jordanov > >> SNE > >> Orbitel - Next Generation Telecom > >> tel. +359 2 4004 723 > >> tel. +359 2 4004 002 > >> > >> On Jan 25, 2008, at 11:52 AM, Jean-Michel Caricand wrote: > &g

Re: rlm_perl and RLM_MODULE_REJECT

2008-01-25 Thread Jean-Michel Caricand
> >> > >> Best Regards, > >> Boian Jordanov > >> SNE > >> Orbitel - Next Generation Telecom > >> tel. +359 2 4004 723 > >> tel. +359 2 4004 002 > >> > >> On Jan 25, 2008, at 11:52 AM, Jean-Michel Caricand wrote: > &g

Re: rlm_perl and RLM_MODULE_REJECT

2008-01-25 Thread Boian Jordanov
Best Regards, Boian Jordanov SNE Orbitel - Next Generation Telecom tel. +359 2 4004 723 tel. +359 2 4004 002 On Jan 25, 2008, at 11:52 AM, Jean-Michel Caricand wrote: I have a question on rlm_perl and RLM_MODULE_REJECT. If in a function (post_proxy) I return RLM_MODULE_REJECT I can see this i

Re: rlm_perl and RLM_MODULE_REJECT

2008-01-25 Thread Jean-Michel Caricand
gt; > > > On Jan 25, 2008, at 11:52 AM, Jean-Michel Caricand wrote: > >> I have a question on rlm_perl and RLM_MODULE_REJECT. If in a function >> (post_proxy) I return RLM_MODULE_REJECT I can see this in log : > > - > List info/subscribe/unsubscribe? See > ht

Re: rlm_perl and RLM_MODULE_REJECT

2008-01-25 Thread Boian Jordanov
ecide to # cancel the proxy. # # Only a few modules currently have this method. # Best Regards, Boian Jordanov SNE Orbitel - Next Generation Telecom tel. +359 2 4004 723 tel. +359 2 4004 002 On Jan 25, 2008, at 11:52 AM, Jean-Michel Caricand wrote: I have a question on rlm_per

rlm_perl and RLM_MODULE_REJECT

2008-01-25 Thread Jean-Michel Caricand
Hi, I have a question on rlm_perl and RLM_MODULE_REJECT. If in a function (post_proxy) I return RLM_MODULE_REJECT I can see this in log : modcall[post-proxy]: module "perl1" returns reject for request 1 ... but my request is still accepted : Access-Accept not Access-Reject ! How

Re: rlm_perl build on mac osx

2008-01-19 Thread Alan DeKok
Arran Cudbard-Bell wrote: > It is, but apple include 1.1.6 not 2.0.0, very few people have attempted > to build FR 2 on leopard server. Apple. :) It should build on a normal system, too, thanks to beta testing from them. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freerad

Re: rlm_perl build on mac osx

2008-01-19 Thread Arran Cudbard-Bell
EAP system in eg latest airport/timecapsule product (though I may be wrong on that aspect of usage! ;-) ) It is, but apple include 1.1.6 not 2.0.0, very few people have attempted to build FR 2 on leopard server. 2] Is perl only a build dependency for rlm_perl, or does the module make run

Re: rlm_perl build on mac osx

2008-01-18 Thread Info
that aspect of usage! ;-) ) 2] Is perl only a build dependency for rlm_perl, or does the module make runtime calls to external perl libs? correct. its only for rlm_perl 3] I've discovered with an install of perl 5.10 that, during configure (of freeradius 2), the linker chooses the /Sys

Re: rlm_perl build on mac osx

2008-01-18 Thread A . L . M . Buxey
Hi, several folk run FreeRADIUS on MacOSX already - and Apple even have added code themselves - I believe FR is the fundamental EAP system in eg latest airport/timecapsule product (though I may be wrong on that aspect of usage! ;-) ) > 2] Is perl only a build dependency for rlm_perl, or does

rlm_perl build on mac osx

2008-01-18 Thread Info
ary... Bug #471 shows this, and an example of my initial attempts showed much the same: ... (cd .libs && rm -f rlm_perl.so && ln -s rlm_perl-2.0.0.so rlm_perl.so) ar cru .libs/rlm_perl.a /System/Library/Perl/5.8.6/darwin-thread- multi-2level/auto/DynaLoader/DynaLoader.a rlm_per

Problem with rlm_perl module

2008-01-14 Thread serelk
Hello All I have spent few days trying to build freeradius with rlm_perl module on Solaris 10. Using both last versio 2.0.0 and 1.1.7 I'm getting vary similar problem. Does anybody get it running ? recvfrom0x4814 /usr/local/lib/perl5/5.8.8/sun4-solaris

Re: [Fwd: Re: rlm_perl (threads) performance question]

2007-10-17 Thread Boian Jordanov
I have a clue, maybe your client is not able to do more requests or your configuration on client side is wrong. Best Regards, Boian Jordanov SNE Orbitel - Next Generation Telecom tel. +359 2 4004 723 tel. +359 2 4004 002 On Oct 17, 2007, at 9:17 AM, Alan DeKok wrote: Apostolos Pantsiopoul

Re: [Fwd: Re: rlm_perl (threads) performance question]

2007-10-16 Thread Alan DeKok
Apostolos Pantsiopoulos wrote: > Well, yes that has been my main concern I must admit... because I have > seen so many replies in the mailing > list "urging" people to make the backend DB faster (and concentrating on > that aspect alone when the server performs poorly). There are many factors to

Re: [Fwd: Re: rlm_perl (threads) performance question]

2007-10-16 Thread Apostolos Pantsiopoulos
First of all thanks for your prompt replies Alan DeKok wrote: Apostolos Pantsiopoulos wrote: I did that. Actually it was the first thing I did. I got the same result. Also, the server does a LOT more than just running Perl. You are measuring the time taken to run your Perl scripts.

Re: [Fwd: Re: rlm_perl (threads) performance question]

2007-10-16 Thread Alan DeKok
Apostolos Pantsiopoulos wrote: > I did that. Actually it was the first thing I did. I got the same result. >> Also, the server does a LOT more than just running Perl. You are >> measuring the time taken to run your Perl scripts. The time taken to >> process a request can be VERY different. >

Re: rlm_perl (threads) performance question

2007-10-16 Thread Boian Jordanov
On Oct 16, 2007, at 12:57 PM, Apostolos Pantsiopoulos wrote: "perl_pool total/active/spare [32/0/32]" Or you have wrong configuration or rlm_perl isn't your bottleneck. Check your configuration, remove any unwanted module. Best Regards, Boian Jordanov SNE Orbitel -

[Fwd: Re: rlm_perl (threads) performance question]

2007-10-16 Thread Apostolos Pantsiopoulos
Alan DeKok wrote: Apostolos Pantsiopoulos wrote: I am using the rlm_perl module for accounting purposes. ... The results I get (after 2-3 k requests) are these : Mean time for acct start : 0.005 secs Mean time for acct stop : 0.01 secs Since there is a 1:1 ratio of start/stop

Re: rlm_perl (threads) performance question

2007-10-16 Thread Alan DeKok
Apostolos Pantsiopoulos wrote: > I am using the rlm_perl module for accounting purposes. ... > The results I get (after 2-3 k requests) are these : > > Mean time for acct start : 0.005 secs > Mean time for acct stop : 0.01 secs > > Since there is a 1:1 ratio of start/stop

rlm_perl (threads) performance question

2007-10-16 Thread Apostolos Pantsiopoulos
I am using the rlm_perl module for accounting purposes. I tried to benchmark the whole process by doing something like this : sub accounting{ start_benchmark(); // acct start code here stop_benchmark(); send_bench_results_using_udp(); } sub stop_accounting{ start_benchmark

Re: final rlm_perl question, hopefully...

2007-07-26 Thread Peter Nixon
> Sent: Thursday, July 26, 2007 6:41:21 PM (GMT+0200) Asia/Jerusalem > Subject: Fwd: final rlm_perl question, hopefully... > > Hi All, > > Ok, after reviewing all the information that was received, I've setup my > FreeRadius as following: > > 1. The authorize and aut

Re: final rlm_perl question, hopefully...

2007-07-26 Thread FreeRadius-ML
Hi all, Please disregard, I've solved the thing ;-) Silly typo in the return. Z2L - Original Message - From: "FreeRadius-ML" <[EMAIL PROTECTED]> To: "freeradius-users" Sent: Thursday, July 26, 2007 6:41:21 PM (GMT+0200) Asia/Jerusalem Subject: Fwd: fin

Fwd: final rlm_perl question, hopefully...

2007-07-26 Thread FreeRadius-ML
Hi All, Ok, after reviewing all the information that was received, I've setup my FreeRadius as following: 1. The authorize and authenticate sections are setup to activate digest and perl. 2. My rlm_perl script utilizes the following lines in order to return the unencrypted user pas

rlm_perl examples

2007-07-18 Thread FreeRadius-ML
Hi All, Ok, after battling with OpenSER + FreeRadius digest authentication, I managed to make it work correctly. Now, i've decided to try moving to rlm_perl, and I was wondering if any of you guys may have examples or code/configuration snips of rlm_perl integration. I've manag

Re: RLM_PERL Integration Issue

2007-07-18 Thread FreeRadius-ML
good. Now, it's time to start thinking about the rlm_perl thingy ;-) Cheers, Z2L - Original Message - From: "Alan DeKok" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Cc: "FreeRadius users mailing list" Sent: Wednesday, July 18, 2007 11:24:19 AM (GMT+0

Re: RLM_PERL Integration Issue

2007-07-18 Thread tnt
to the next request >Waking up in 6 seconds... > >Which as much as I can tell, indicate that the digest >authentication/authorization process had completed correctly, >and our users had been successfully authed by the Radius Server. Currently, I >have an issue indicating that the &

Re: RLM_PERL Integration Issue

2007-07-18 Thread FreeRadius-ML
2l - Original Message - From: "FreeRadius-ML" <[EMAIL PROTECTED]> To: "Alan DeKok" <[EMAIL PROTECTED]> Cc: "FreeRadius users mailing list" Sent: Wednesday, July 18, 2007 11:26:38 AM (GMT+0200) Asia/Jerusalem

Re: RLM_PERL Integration Issue

2007-07-18 Thread FreeRadius-ML
est 18 is rejected. The silly part here is this, there is only a single IP Phone on the network, which is using a single OpenSER server. I'm kind'a struck with a silly question, where is the second request coming from? Z2L - Original Message - From: "Alan DeKok" &l

Re: RLM_PERL Integration Issue

2007-07-18 Thread Alan DeKok
FreeRadius-ML wrote: > Now, I'm basically re-learning everything, as the world of OpenSER + > FreeRadius is a little new to me, > and sometimes frustrates me. The amount of documentation in the configuration > files is great, but the lack > of updated examples is somewhat annoying. Even Asteris

Re: RLM_PERL Integration Issue

2007-07-18 Thread FreeRadius-ML
ust fine? I will follow this and will retry. z2l - Original Message - From: "Alan DeKok" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED], "FreeRadius users mailing list" Sent: Wednesday, July 18, 2007 9:12:07 AM (GMT+0200) Asia/Jerusalem Subject: Re: RLM_PERL Int

Re: RLM_PERL Integration Issue

2007-07-18 Thread FreeRadius-ML
ust fine? I will follow this and will retry. z2l - Original Message - From: "Alan DeKok" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED], "FreeRadius users mailing list" Sent: Wednesday, July 18, 2007 9:12:07 AM (GMT+0200) Asia/Jerusalem Subject: Re: RLM_PERL Int

Re: RLM_PERL Integration Issue

2007-07-17 Thread Alan DeKok
FreeRadius-ML wrote: > I can understand now that authorize is working nicely, but the > Authentication section is wrong. > I know there's alot of shit in radiusd.conf, however, it shouldn't prevent > from the basics to work > correctly, no? The default configuration works. The "shit" that's

Re: RLM_PERL Integration Issue

2007-07-17 Thread FreeRadius-ML
rong. I know there's alot of shit in radiusd.conf, however, it shouldn't prevent from the basics to work correctly, no? Z2L - Original Message - From: "Alan DeKok" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED], "FreeRadius users mailing list" Sent: 21:31:08

Re: RLM_PERL Integration Issue

2007-07-17 Thread FreeRadius-ML
[EMAIL PROTECTED], "FreeRadius users mailing list" Sent: 21:52:47 (GMT+0200) Asia/Jerusalem יום שלישי 17 יולי 2007 Subject: Re: RLM_PERL Integration Issue On Tue 17 Jul 2007, FreeRadius-ML wrote: > Ok, > > i've modified the users file to say Cleartext-Password, and I've remove

Re: RLM_PERL Integration Issue

2007-07-17 Thread Peter Nixon
est 14 > > I've downloaded the code from the OpenSUSE package ftp server as a > source RPM, and built it on my system. > > Z2L > - Original Message - > From: "Alan DeKok" <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED], "FreeRadius users mailing

Re: RLM_PERL Integration Issue

2007-07-17 Thread FreeRadius-ML
sage - From: "Alan DeKok" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED], "FreeRadius users mailing list" Sent: 21:31:08 (GMT+0200) Asia/Jerusalem יום שלישי 17 יולי 2007 Subject: Re: RLM_PERL Integration Issue FreeRadius-ML wrote: > 1. I've removed all the rlm_perl c

Re: RLM_PERL Integration Issue

2007-07-17 Thread Alan DeKok
FreeRadius-ML wrote: > 1. I've removed all the rlm_perl configurations from the radiusd.conf file, > and >enabled the digest authentication back. > 2. I've added to my users file the following lines: > > [EMAIL PROTECTED] Auth-Type := Digest, User-Password == &

Re: RLM_PERL Integration Issue

2007-07-17 Thread FreeRadius-ML
Ok, Here's what I did: 1. I've removed all the rlm_perl configurations from the radiusd.conf file, and enabled the digest authentication back. 2. I've added to my users file the following lines: [EMAIL PROTECTED] Auth-Type := Digest, User-Password == "101&qu

Re: RLM_PERL Integration Issue

2007-07-17 Thread Alan DeKok
configuration, > I'm not that dimwitted. That's nice. Enabling it is one thing. Telling the server to *use* it is another. > Essentially, I need to work with rlm_perl because I don't want to use user > flat files or an SQL, as my end target is to authenticate to some

Re: RLM_PERL Integration Issue

2007-07-17 Thread FreeRadius-ML
Hi Alan, Well, the perl script is currently setup to return OK on every request. I had enabled the perl section in the authentication part of the configuration, I'm not that dimwitted. Essentially, I need to work with rlm_perl because I don't want to use user flat files or an

Re: RLM_PERL Integration Issue

2007-07-17 Thread Alan DeKok
would appear the the autorization portion of the process works just fine, and is being negotiated > via the rlm_perl module. However, it would appear that the authentication portion isn't even transfered > to the handling of the rlm_perl module for some reason. Because you didn'

RLM_PERL Integration Issue

2007-07-17 Thread FreeRadius-ML
60 NAS-IP-Address = 192.168.2.80 Processing the authorize section of radiusd.conf modcall: entering group authorize for request 255 perl_pool: item 0xa459b10 asigned new request. Handled so far: 8 found interpetator at address 0xa459b10 rlm_perl: RAD_REQUEST: X-Ascend-PW-Lifetime = 0x313031 rlm_

Re: RLM_PERL Integration Issue

2007-07-17 Thread Alan DeKok
FreeRadius-ML wrote: > Well, right now I would like to start of with something really simple. I'd > like to have OpenSER authenticate > on FreeRadius, Digest is not a must - for all I care at this point, it can be > clear-text. I'm currently using > the perl script example from the FreeRadius web

Re: RLM_PERL Integration Issue

2007-07-17 Thread tnt
s.org >Sent: 14:06:58 (GMT+0200) Asia/Jerusalem יום שלישי 17 יולי 2007 >Subject: Re: RLM_PERL Integration Issue > >I don't know what is your pearl script supposed to do. If you are doing >digest authentication (looking at that request) you need to uncomment >the digest

Re: RLM_PERL Integration Issue

2007-07-17 Thread FreeRadius-ML
יום שלישי 17 יולי 2007 Subject: Re: RLM_PERL Integration Issue I don't know what is your pearl script supposed to do. If you are doing digest authentication (looking at that request) you need to uncomment the digest entries in authentication and authorization sections od radiusd.conf. I

Re: RLM_PERL Integration Issue

2007-07-17 Thread tnt
Delaying request 6 for 1 seconds Finished request 6 Going >to the next request Waking up in 2 seconds... > >I think I have a section missing from FreeRadius configuration, is that >correct? > >Zap2Link > >-Original Message- >From: [EMAIL PROTECTED] [mailto:[EMAIL PR

RLM_PERL Integration Issue

2007-07-17 Thread FreeRadius-ML
Zap2Link -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, July 17, 2007 12:08 PM To: FreeRadius users mailing list Subject: Re: RLM_PERL integration issue radiusd -X Ivan Kalik Kalik Informatika ISP Dana 17/7/2007, &qu

Re: RLM_PERL integration issue

2007-07-17 Thread tnt
radiusd -X Ivan Kalik Kalik Informatika ISP Dana 17/7/2007, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> piše: >Hi All, > > > > I've followed the rlm_perl information to integrate a PERL based example >for Radius Authentication. > >I basically use

<    1   2   3   4   5   6   7   8   9   >