2005 : rlm_perl:
rlm_perl::Detaching. Reloading. Done.
Wed Sep 28 07:50:45 2005 : Info: detach at 0x93af7a0
returned status 0
Wed Sep 28 07:50:45 2005 : Info: Detach perl 0x94b0ec8
Wed Sep 28 07:50:45 2005 : rlm_perl:
rlm_perl::Detaching. Reloading. Done.
Wed Sep 28 07:50:45 2005 : Info: detach
Could someone show me how to process an access-accept via rlm_perl?
The example in the script example.pl still causes an access-reject nomater what
I try.
Thanks.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Could someone show me how to process an access-accept via rlm_perl? The
example in the script example.pl still causes an access-reject nomater
what I try.
That isn't enough information, except to tell you to return a proper
value such as RLM_MODULE_OK. Please post debug output
Hi there,
I have been trying to understand the rlm_perl example script example.pl.
I have is setup that it returns RLM_MODULE_OK for anything, yet the nas client
(NTRadPing) always sees Access-Reject.
My understanding of how freeradius works is limited.
Could someone point me in the right
[EMAIL PROTECTED] wrote:
Could someone point me in the right direction on how to get a
rlm_perl script to send a Access-Accept message back to the client
or cause an Acess-Accept message to be sent back to the client.
Run the server in debugging mode, as suggested in the README,
INSTALL
Hi there,
Could someone tell me what versions of freeradius have rlm_perl?
I have a fedora box with freeradius 1.0.1 installed, I have downloaded the 1.0.4
version and it has references to rlm_perl in it.
Do I have to install the 1.0.4 version to get rlm_perl?
A very subjective question here
[EMAIL PROTECTED] wrote:
Hi there,
Could someone tell me what versions of freeradius have rlm_perl?
All latest version have it. But it's unstable and therefore you have to
compile from source using --with-experimental-modules
Do I have to install the 1.0.4 version to get rlm_perl
I think there's a bug in the latest perl versions.
When you are running Debian 3.1 (perl 5.8.4) and want experimental
package you may want to link libperl.so into freeradius, if you don't
you get an error when you start the freeradius server with rlm_perl
enabled
Like:
/usr/sbin/freeradius
Quoting Thor Spruyt [EMAIL PROTECTED]:
[EMAIL PROTECTED] wrote:
Hi there,
Could someone tell me what versions of freeradius have rlm_perl?
All latest version have it. But it's unstable and therefore you have to
compile from source using --with-experimental-modules
Do I have
On Fri, Sep 02, 2005 at 01:16:31AM +0200, Thor Spruyt wrote:
I'm wondering if rlm_perl will support pre/post-proxy functions in the next
release?
This is allready in CVS. You can checkout release 1.19 of rlm_perl and
use it with freeradius 1.0.4
--
Best Regards,
Boian Jordanov
SNE
Orbitel
Boian Jordanov wrote:
On Fri, Sep 02, 2005 at 01:16:31AM +0200, Thor Spruyt wrote:
I'm wondering if rlm_perl will support pre/post-proxy functions in
the next release?
This is allready in CVS. You can checkout release 1.19 of rlm_perl and
use it with freeradius 1.0.4
Sure
Thor Spruyt [EMAIL PROTECTED] wrote:
This is allready in CVS. You can checkout release 1.19 of rlm_perl and
use it with freeradius 1.0.4
Sure, but will it be in the next official release?
I'll take a look at it.
Alan DeKok.
-
List info/subscribe/unsubscribe? See http
Hi,
I'm wondering if rlm_perl will support pre/post-proxy functions in the next
release?
Also, is there any chance to get bug 275 into next release?
http://bugs.freeradius.org/show_bug.cgi?id=275
Or does it have to be discussed further on the list?
--
Groeten, Regards, Salutations,
Thor Spruyt
Roman Medina-Heigl Hernandez wrote:
One of the simmilar threads I've found is:
http://lists.cistron.nl/pipermail/freeradius-users/2005-April/042978.html
But I don't see the solution there.
So I wrote privately to Emil Wilmanski. He kindly provided me with the
following workaround/response:
Hi,
I'm trying to get FR 1.0.4 to work with new Debian stable distro (3.1).
I need rlm_perl so I run ./configure with --with-experimental-modules
and compiled it from source (latest .tgz downloaded from freeradius.org):
# tar zxvf freeradius-1.0.4.tar.gz
# chown -R root. freeradius-1.0.4
# cd
FR 1.0.4 to work with new Debian stable distro (3.1).
I need rlm_perl so I run ./configure with --with-experimental-modules
and compiled it from source (latest .tgz downloaded from freeradius.org):
# tar zxvf freeradius-1.0.4.tar.gz
# chown -R root. freeradius-1.0.4
# cd freeradius-1.0.4
Hi,
I'm still fighting with rlm_perl module. I try CVS version and still I
have the same problem to use Perl libs.
But now I try compile freeradius on Debian with
--with-threads=no
And I still have problem to use libs but now I don't have relocation
error but Naruszenie ochrony pamici (memory
1150824 2005-03-08 11:15 libperl.so.5.8.4
Check against which libperl is linked rlm_perl
from your next mail i see that rlm_perl is linked against
libperl.so.5.8 So infact you are using different libs and that's why you
have a rellocation problems. Maybe you have more that one perl on your
(0xb7e8f000)
/lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x8000)
Is the same.
from your next mail i see that rlm_perl is linked against
libperl.so.5.8 So infact you are using different libs and that's why you
have a rellocation problems. Maybe you have more that one perl on your
system ?
Hmmm
other flags. I just use dpkg-buildpackage.
Any idea? Maybe wrong path to libs? (how to set it?)
Check output of perl -V, see if it does include useshrplib=true? and
libperl=libperl.so. Check output of perl -MExtUtils::Embed -e ccopts
-e ldopts
Check against which libperl is linked rlm_perl
libperl.so.5.8 -
libperl.so.5.8.4
-rw-r--r-- 1 root root 1150824 2005-03-08 11:15 libperl.so.5.8.4
Check against which libperl is linked rlm_perl
Hmmm. how to test it??
--
EW
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Check against which libperl is linked rlm_perl
ldd rlm_perl-1.0.2.so
libperl.so.5.8 = /usr/lib/libperl.so.5.8 (0xb7ec3000)
libdl.so.2 = /lib/tls/i686/cmov/libdl.so.2 (0xb7ebf000)
libm.so.6 = /lib/tls/i686/cmov/libm.so.6 (0xb7e9d000)
libc.so.6 = /lib/tls
Hi,
Can I use any perl modules in rlm_perl script?
I try to use DBI and I get
freeradius: relocation error: /usr/lib/perl5/auto/DBI/DBI.so: undefined
symbol: Perl_Gthr_key_ptr
I try to use Socket and I get
freeradius: relocation error: /usr/lib/perl/5.8/auto/Socket/Socket.so:
undefined symbol
Dnia 19-04-2005, wto o godzinie 11:03 +0200, Emil Wilmanski napisa(a):
Can I use any perl modules in rlm_perl script?
I don't know what the problem is... noone of perl modules dos work...
Can't load '/usr/local/lib/perl/5.8.4/auto/Data/Dumper/Dumper.so' for
module
Data::Dumper: /usr/local/lib
Emil Wilmanski wrote:
Can I use any perl modules in rlm_perl script?
I try to use DBI and I get
I don't know about any, must normally they *should* work.
For example, I use the following:
use strict;
use DBI;
Write a normal perl script that uses the module's functions and see if that
works
On Tuesday 19 April 2005 11:03, Emil Wilmanski wrote:
Hi,
Can I use any perl modules in rlm_perl script?
Yes, you can.
I try to use DBI and I get
freeradius: relocation error: /usr/lib/perl5/auto/DBI/DBI.so: undefined
symbol: Perl_Gthr_key_ptr
I try to use Socket and I get
freeradius
I don't know about any, must normally they *should* work.
For example, I use the following:
use strict;
use DBI;
Hmmm... I need DBI to work :)
Write a normal perl script that uses the module's functions and see if that
works.
All of normal scripts work perfect with any module... Only
On Wed, Mar 23, 2005 at 05:13:14AM +0200, Chris Knipe wrote:
Lo all,
This has been to the perl mailing lists as well, there is nothing wrong
with the code as far as every one knows... rlm_perl just doesn't like this
for some reason
Snipets of the script in question
- Original Message -
From: Boian Jordanov [EMAIL PROTECTED]
To: freeradius-users@lists.freeradius.org
Sent: Wednesday, March 23, 2005 9:56 AM
Subject: Re: rlm_perl hash issue
On Wed, Mar 23, 2005 at 05:13:14AM +0200, Chris Knipe wrote:
Lo all,
This has been to the perl mailing lists
On Wednesday 23 March 2005 09:18, Chris Knipe wrote:
- Original Message -
From: Chris Knipe [EMAIL PROTECTED]
To: freeradius-users@lists.freeradius.org
Sent: Wednesday, March 23, 2005 5:31 AM
Subject: Re: rlm_perl hash issue
Chris Knipe [EMAIL PROTECTED] wrote:
So basically
as well, there is nothing wrong with
the code as far as every one knows... rlm_perl just doesn't like this for
some reason
Snipets of the script in question:
$RAD_REPLY{'Acct-Interim-Interval'} = 300;
$RAD_REPLY{'MS-MPPE-Encryption-Policy'} = 1;
$RAD_REPLY{'MS
On Wed, Mar 23, 2005 at 01:48:43PM +0200, Peter Nixon wrote:
On Wednesday 23 March 2005 09:18, Chris Knipe wrote:
- Original Message -
From: Chris Knipe [EMAIL PROTECTED]
To: freeradius-users@lists.freeradius.org
Sent: Wednesday, March 23, 2005 5:31 AM
Subject: Re: rlm_perl hash
Eeeek. There is definitely a bug somewhere :-(
Fixed in CVS. Please use recent cvs snapshot.
Before rlm_perl expects that scalar value of RAD_xxx hash is character
value, now it can be string or integer. There is only one limitation an
ip address should be returned as character value i.e
On Wed, Mar 23, 2005 at 04:22:34PM +0200, Boian Jordanov wrote:
Fixed in CVS. Please use recent cvs snapshot.
Before rlm_perl expects that scalar value of RAD_xxx hash is character
value, now it can be string or integer. There is only one limitation an
ip address should be returned
On Wed, Mar 23, 2005 at 07:42:20PM +0300, Alexander M. Pravking wrote:
- if ((sv != NULL) (SvPOK(sv))) {
- val = SvPV(sv, val_len);
+ if (SvTRUE(sv)) {
+ val = SvPV_nolen(sv);
What if sv is 0 (or 0)? SvTRUE would fail, I think...
SvLEN(sv) != 0
Lo all,
This has been to the perl mailing lists as well, there is nothing wrong with
the code as far as every one knows... rlm_perl just doesn't like this for
some reason
Snipets of the script in question:
$RAD_REPLY{'Acct-Interim-Interval'} = 300;
$RAD_REPLY{'MS-MPPE
... that looks like rlm_perl isn't looking in the right place for
the values of the perl variables. Not that I know anything about Perl
Strange as well, is that format_bytes successfully completes the formating
and the calculation. Thus, there is also nothing wrong in my code.
Perl keeps
... that looks like rlm_perl isn't looking in the right place for
the values of the perl variables. Not that I know anything about Perl
Strange as well, is that format_bytes successfully completes the
formating
and the calculation. Thus, there is also nothing wrong in my code.
Perl keeps values
- Original Message -
From: Chris Knipe [EMAIL PROTECTED]
To: freeradius-users@lists.freeradius.org
Sent: Wednesday, March 23, 2005 5:31 AM
Subject: Re: rlm_perl hash issue
Chris Knipe [EMAIL PROTECTED] wrote:
So basically:
$RAD_REPLY{'Recv-Limit'} = $BytesAvail - $BytesUsed
On Sat, 26 Feb 2005, Alexander M. Pravking wrote:
On Fri, Feb 25, 2005 at 02:26:12PM -0500, Dustin Doris wrote:
Is there a way to specify different operators when adding something to the
$RAD_REPLY hash?
Such as.
$RAD_REPLY{'Attribute'} = += Value;
Currently, no. But you can try:
On Fri, Feb 25, 2005 at 02:26:12PM -0500, Dustin Doris wrote:
Is there a way to specify different operators when adding something to the
$RAD_REPLY hash?
Such as.
$RAD_REPLY{'Attribute'} = += Value;
Currently, no. But you can try:
$RAD_REPLY{'Attribute'} = [ 'Value 1', 'Value 2' ];
I had
Is there a way to specify different operators when adding something to the
$RAD_REPLY hash?
Such as.
$RAD_REPLY{'Attribute'} = += Value;
Thanks
Dusty Doris
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Hi,
I was wondering when rlm_perl will become stable.
What needs to be done in order to get it there?
--
Groeten, Regards, Salutations,
Thor Spruyt
M: +32 (0)475 67 22 65
E: [EMAIL PROTECTED]
W: www.thor-spruyt.com
www.salesguide.be
www.telenethotspot.be
-
List info/subscribe/unsubscribe? See
Hello!
I've got a question: can be rlm_perl module compiled staticly?
Due compilation on linking step I've got: undefined symbol boot_DynaLoader
Best regards,
Serg
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
On Sat, Feb 12, 2005 at 01:02:34AM -0600, Dudley Atkinson wrote:
I'd like to implement the rlm_perl to rewrite some attributes, and I get a
segfault. I've included the debug and the perl -VV so maybe someone more
knowledgeable can tell me why it fails (or give me a good pointer).
First apply
files instead of 1.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Boian Jordanov
Sent: Saturday, February 12, 2005 11:31 AM
To: freeradius-users@lists.freeradius.org
Subject: Re: Rlm_perl causes segfault (want perl to rewrite
attributes
I'd like to implement the rlm_perl to rewrite some attributes, and I get a
segfault. I've included the debug and the perl -VV so maybe someone more
knowledgeable can tell me why it fails (or give me a good pointer).
I'll also mention what I'm trying to do.
We have a couple of SSID's on a Cisco
Thor Spruyt [EMAIL PROTECTED] wrote:
perl != myperl
perl = name of the module
myperl = name of the module instance
Yes. The name of the instance is myperl, not perl.
For authorize it works, but for authenticate I get that error.
That surprises me. It's the same code in both cases.
Hi,
What is rlm_perl?
I could not find any document for this in /doc of Freeradius source. Its can be
used for?
Amit Gupta
Mobile: 91-9891062552
Yahoo IM: amitguptainn
MSN IM : amitguptainn
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alan DeKok
Alan DeKok wrote:
Thor Spruyt [EMAIL PROTECTED] wrote:
perl != myperl
perl = name of the module
myperl = name of the module instance
Yes. The name of the instance is myperl, not perl.
For authorize it works, but for authenticate I get that error.
That surprises me. It's the same code in both
Amit Gupta wrote:
What is rlm_perl?
Same as rlm_python but for perl
It's still in experimental condition!
I could not find any document for this in /doc of Freeradius source.
There isn't any documenation in doc, feel free to write some.
There's a sample configuration in raddb/experimental.conf
Hi,
I have following configuration in radiusd.conf:
perl myperl {
module = /opt/radiustest/example.pl
}
And I have configured the myperl instance in the authorize and the
authenticate sections.
It does work when I don't use an instance name, but with this
Hi, all.
I'm using FreeRadius 1.0.1 with rlm_perl under Linux kernel 2.4.27
rlm_perl module using DBI makes AAA.
BUT, I found it increases its memory usage from 8Mb to 500Mb, so, what
will be the next??
And why?
Best regards,
AL
--
Best regards,
Serg Shipaev, IP TELephony EXchange Ltd.
e-mail
Hi!
I wrote about this leak sometime ago.
There was leakless rlm_perl in version 0.9.3.
In previous and in all 1.0.X versions memory leak exists.
So, now i use this rlm_perl with 1.0.1.
Attached version also have a little improvement - it
modifies all 3 items - reply, config but request.
Hi
Hi,
Thank you. I'll try to rebuild this module.
Is't works normally after?
AL
[EMAIL PROTECTED] wrote:
Hi!
I wrote about this leak sometime ago.
There was leakless rlm_perl in version 0.9.3.
In previous and in all 1.0.X versions memory leak exists.
So, now i use this rlm_perl with 1.0.1.
Attached
On Thu, Nov 11, 2004 at 09:40:01PM +0300, Admin wrote:
Hi, all.
I'm using FreeRadius 1.0.1 with rlm_perl under Linux kernel 2.4.27
rlm_perl module using DBI makes AAA.
BUT, I found it increases its memory usage from 8Mb to 500Mb, so, what
will be the next??
And why?
Look at http
On Mon, 25 Oct 2004 10:27:14 +0200
Nils Rønhovde [EMAIL PROTECTED] wrote:
On Tue, 14 Sep 2004 13:29:23 -0400
Alan DeKok [EMAIL PROTECTED] wrote:
=?ISO-8859-1?Q?Jo=E3o_S=E1?= [EMAIL PROTECTED] wrote:
Until now everything is fine but now I need to use a module in
perl to do credit
Hi,
I'm using freeradius 0.9.3.
Until now everything is fine but now I need to use a module in perl to
do credit control.
I verified that when I start, the freeradius process begins with about
26 Mb in memory growing until I eat all memory available (I already
had a process with 400 Mb).
In
=?ISO-8859-1?Q?Jo=E3o_S=E1?= [EMAIL PROTECTED] wrote:
Until now everything is fine but now I need to use a module in perl to
do credit control.
I verified that when I start, the freeradius process begins with about
26 Mb in memory growing until I eat all memory available (I already
had a
Hello!
Just now upgrade to 1.0.0. All works fine except check-radiusd-config
and rlm_perl.
1. check-radiusd-config doesn't work with 1.0.0.
because -p option is deprecated.
why? IMHO, check-radiusd-config is userfull, when need to check new config
while working instance is running. So option -p
I will be away on holidays until September 2. Should you require immediate assistance,
please contact Rod MacLeod or
George Gauthier.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
installing rlm_perl
from snapshot leak leaves me.
Hmm OK.
Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
to a better way of checking the configuration.
i.e. like having the server re-load it's configuration files into a
temporary structure, and then revert to the existing configuration
if there's a problem reading teh new one.
rlm_perl, have to reread scripts-file(s).
what happend with perl's
I need module freeradius-rlm_perl.
Any ideas where to get it? I have a RH ES 3 machine.
(Embedded image moved to file: pic24773.gif)attachment: pic24773.gif
Please apply latest patch to rlm_perl from cvs version 1.13,
and if any trouble please email me.
Boian.
On Fri, Jul 09, 2004 at 02:29:18PM -0700, Matthew Albright wrote:
We are using freeradius 1.0.0pre3 with rlm_perl, and have done
something (not sure what) to get it to hang using 100
We are using freeradius 1.0.0pre3 with rlm_perl, and have done
something (not sure what) to get it to hang using 100% of the CPU.
strace shows absolutely nothing, and when attached to with gdb, it
appears that it's stuck on one line (the program pointer never moves
when single stepping
Hi, I use freeradius rlm_perl - haven't ever had any crash (under have testing
also). I really like this module - I can do whatever I want, I can write billing the
way I want with this module...
Some time ago I read that it was on todo list to move this module into stable, but I
checked - it's
PS [EMAIL PROTECTED] wrote:
It's not essential for me, but my intention was to supply some
customized message (based on language etc) on accounting-stop saying
something like 1.35$ usd has been deducted from your account,
current ballance is 2.59$ usd. Thank you, hope to see you very soon
:))
PS [EMAIL PROTECTED] wrote:
It's not essential for me, but my intention was to supply some
customized message (based on language etc) on accounting-stop saying
something like 1.35$ usd has been deducted from your account,
current ballance is 2.59$ usd. Thank you, hope to see you very soon
:))
radiusd -X:
rlm_perl: %%% Connection is being freed for F5D98D0 BDEF1810 91E70050
8D49CC64
rlm_perl: Added pair Reply-Message = You exceded simultaneous usage limit.
rlm_perl: Added pair h323-credit-amount = h323-credit-amount=788
rlm_perl: Added pair h323-currency = h323-currency=USD
: rlm_perl: rlm_perl::Detaching. Reloading. Done.
How could we prevent perl module from detaching? If the radius runs
out of memory and restarts, why to detach perl module? It leaves
server without module which is needed for operation and since radiusd
process is still running, it does
Title: Message
I want to write a
perl script to control something in authorize session and authenticate session.
How can I do that?
Please give me a
small example.
where can I put the
line that declare the script. where and what I have to add to config file when I
want to use perl script.
19 2004 11:37 Truong Manh Cuong (a):
I want to write a perl script to control something in authorize session
and authenticate session. How can I do that?
Please give me a small example.
where can I put the line that declare the script. where and what I have
to add to config file when I
loz [EMAIL PROTECTED] wrote:
I'm trying to authorize a user by using the rlm_perl module only. I.e., I
only want the perl script to control the authorization.
That's nice. How will the user be authenticated?
and in the authorize part the files statement is commented (otherwise
freeradius
Mike Groeneweg [EMAIL PROTECTED] wrote:
I tried making your suggested config changes, but still no luck.
They won' work.
authenticate {
authtype perl_1 {
perl
}
files
}
That won't work. The files module doesn't do authentication.
What is the keyword
Michael Groeneweg [EMAIL PROTECTED] wrote:
Nor did I expect it, but it's the only bit of configuration that seems
to make radiusd even bother to call the designated Perl module for an
authentication request.
I don't understand why. You seem to be going out of your way to
create complex
Alan DeKok wrote:
Michael Groeneweg [EMAIL PROTECTED] wrote:
Nor did I expect it, but it's the only bit of configuration that seems
to make radiusd even bother to call the designated Perl module for an
authentication request.
I don't understand why. You seem to be going out of your
/eap modules work, so you might as well let them take care of
setting an Auth-Type for things they handle, and you only worry about
everything else.
On Tue, 2004-02-17 at 03:41, loz wrote:
Hi All,
I'm trying to authorize a user by using the rlm_perl module only. I.e., I
only want the perl
From: Mike Groeneweg [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: rlm_perl Auth-Type
Reply-To: [EMAIL PROTECTED]
This is a cryptographically signed message in MIME format.
--ms090006000508040404020402
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content
Hi All,
I'm trying to authorize a user by using the rlm_perl module only. I.e., I
only want the perl script to control the authorization.
In radiusd.conf I have set:
proxy_requests = no
and in the authorize part the files statement is commented (otherwise
freeradius will look at the file
PROTECTED]
To: [EMAIL PROTECTED]
Subject: rlm_perl Auth-Type
Reply-To: [EMAIL PROTECTED]
This is a cryptographically signed message in MIME format.
--ms090006000508040404020402
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Greetings,
Firstly
701 - 781 of 781 matches
Mail list logo