thanks!

----- Original Message -----
From: "Boian Jordanov" <[EMAIL PROTECTED]>
To: "freeradius-user" <[EMAIL PROTECTED]>
Sent: Friday, March 28, 2003 6:09 PM
Subject: Re: rlm_perl using snapshot 20030327



On _ 2003-03-28 at 06:44, Martin Shears wrote:

>
> Just installed freeRADIUS from daily cvs snapshot 20030327.  I notice the
> rlm_perl has changed, so has the example file. I can install and start
> freeRADIUS but it gives a segmentation fault when running radtest on it.

There is bug or typo in CVS snapshot from 20030227 and thereis nothing
to deal with rlm_perl see a gdb trace included below.

gdb-trace

Listening on IP address *, ports 1645/udp and 1646/udp, with proxy on
1647/udp.
Ready to process requests.
rad_recv: Accounting-Request packet from host 127.0.0.1:32769, id=97,
length=59
User-Name = "apnf"

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 21855)]
0x400cd136 in rad_pwdecode (passwd=0x810e09c
"^HcóÇ·\232\214ã\020\207é\204]8_", pwlen=16, secret=0x810de60 "123",
    vector=0x18 <Address 0x18 out of bounds>) at radius.c:1511
1511 memcpy(buffer + secretlen, vector, AUTH_VECTOR_LEN);
(gdb) bt
#0  0x400cd136 in rad_pwdecode (passwd=0x810e09c
"^HcóÇ·\232\214ã\020\207é\204]8_", pwlen=16,
    secret=0x810de60 "123", vector=0x18 <Address 0x18 out of bounds>) at
radius.c:1511
#1  0x400cc8df in rad_decode (packet=0x810d8a8, original=0x0,
secret=0x810de60 "123") at radius.c:1306
#2  0x0804e088 in rad_respond (request=0x810de40, fun=0x8050520
<rad_accounting>) at radiusd.c:1416
#3  0x0804d6b4 in rad_process (request=0x810de40, dospawn=0) at
radiusd.c:1206
#4  0x0804d16b in main (argc=1, argv=0x810de40) at radiusd.c:982
#5  0x4022ea04 in __libc_start_main () from /lib/libc.so.6

--
Best Regards,

Boian Jordanov
SNE
Orbitel - the Internet Company
tel. +359 2 937 07 23



-
List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html




-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to