Re: Digest authentication causes segmentation fault

2003-07-09 Thread jaime
Sorry if the question has been posted before. I'm new to the mailing list,
and tried to find the same problem in the archives with no luck. I'll have
a more careful look...

It seems that the below build error has already been reported and solved
in the next pre2.

> <[EMAIL PROTECTED]> wrote:
>> I am using freeradius-0.8.1 with digest authentication enabled. I just
>> followed the basic configuration steps included in doc/rlm_digest.
>> After starting the server, I use radclient to test the configuration,
>> using:
>>
>> >> radclient -f digest localhost auth testing123
>>
>> Just after receiving the message, the RADIUS server crashes with a
>> segmentation fault. Has anyone experienced this problem before?
>
>   Did you try searching the list archives?  I'm pretty sure it's come
> up before.
>
>> BTW, I tried 0.9.0-pre1 and could not get it to compile on a vanilla
>> RedHat 7.3.
>
>   The errors were... ?
>
>   It will be impossible to know if we've fixed those errors, if you
> don't tell say what they are.
>
>   Alan DeKok.
>
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html




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


Re: Digest authentication causes segmentation fault

2003-07-09 Thread Alan DeKok
<[EMAIL PROTECTED]> wrote:
> I am using freeradius-0.8.1 with digest authentication enabled. I just
> followed the basic configuration steps included in doc/rlm_digest. After
> starting the server, I use radclient to test the configuration, using:
> 
> >> radclient -f digest localhost auth testing123
> 
> Just after receiving the message, the RADIUS server crashes with a
> segmentation fault. Has anyone experienced this problem before? 

  Did you try searching the list archives?  I'm pretty sure it's come
up before.

> BTW, I tried 0.9.0-pre1 and could not get it to compile on a vanilla
> RedHat 7.3.

  The errors were... ?

  It will be impossible to know if we've fixed those errors, if you
don't tell say what they are.

  Alan DeKok.

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


Digest authentication causes segmentation fault

2003-07-09 Thread jaime
Hello,

I am using freeradius-0.8.1 with digest authentication enabled. I just
followed the basic configuration steps included in doc/rlm_digest. After
starting the server, I use radclient to test the configuration, using:

>> radclient -f digest localhost auth testing123

Just after receiving the message, the RADIUS server crashes with a
segmentation fault. Has anyone experienced this problem before? Any hints
to solve this problem are most welcome.

BTW, I tried 0.9.0-pre1 and could not get it to compile on a vanilla
RedHat 7.3.

Regards,

Jaime

-

The "users" configuration file looks like this:

[]

jaimeAuth-Type := Digest, User-Password = "lala"
Reply-Message = "Hello, test with digest"

[]

---

The logs from the server look like the following:

rad_recv: Access-Request packet from host 127.0.0.1:33422, id=131, length=175
Thread 1 assigned request 0
SMUX connect try 2
Can't connect to SNMP agent with SMUX: Connection refused
--- Walking the entire request list ---
Threads: total/active/spare threads = 5/1/4
Waking up in 5 seconds...
Thread 1 handling request 0, (1 handled so far)
User-Name = "[EMAIL PROTECTED]"
Digest-Response = "631d6d73147add2f9e437f59bbc3aeb7"
Digest-Attributes = 0x0115766f766964612e6f72616e67652e636f2e756b
Digest-Attributes = 0x020a3132333461626364
Digest-Attributes = 0x0308494e56495445
Digest-Attributes =
0x041f7369703a6a61696d6540766f766964612e6f72616e67652e636f2e756b
Digest-Attributes = 0x06054d4435
Digest-Attributes = 0x0a076a61696d65
modcall: entering group authorize
  modcall[authorize]: module "preprocess" returns ok
rlm_chap: Could not find proper Chap-Password attribute in request
  modcall[authorize]: module "chap" returns noop
  modcall[authorize]: module "mschap" returns notfound
rlm_realm: Looking up realm vovida.orange.co.uk for User-Name =
"[EMAIL PROTECTED]"
rlm_realm: Found realm vovida.orange.co.uk
rlm_realm: Adding Stripped-User-Name = "jaime"
  rlm_realm: Proxying request from user jaime to realm vovida.orange.co.uk
rlm_realm: Adding Realm = "vovida.orange.co.uk"
rlm_realm:  Authentication realm is LOCAL.
rlm_realm:  auth_port is not set.  proxy cancelled
  modcall[authorize]: module "suffix" returns noop
users: Matched jaime at 129
  modcall[authorize]: module "files" returns ok
Segmentation fault




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