Hi there, 

after installing Freeradius (CVS-Snapshot  20040328) i got problems with
radius-authentication.
The only authentication i use is eap-md5.

(In the Main - Section EAP{..} i use "default_eap_type = md5")

In my eap.conf the tls / ttls section is uncommented. (If i comment this
section out, authentication doesn't     work). Don't know where is the
combination between eap-md5 and tls/ttls.

i compiled openssl with following command:
./config --openssldir=/usr/local/openssl no-shared

and Freeradius:
./configure --localstatedir=/var --sysconfdir=/etc
--with-openssl-includes=/usr/local/openssl/include/ 
--with-openssl-libraries=/usr/local/openssl/lib/

(I installed openssl again, because there where few problems with openssl
some times ago)

Now, if the server sends me a Access-Reject nothing happens.
But if i got Access-Accept, the server crashs with a segmentation fault.


[...] only the end [...]

 TTLS: Got tunneled request
        EAP-Message = 0x0201001a0410653c407c662fd2255f2619e9c29141dc616c6578
        Message-Authenticator = 0x00000000000000000000000000000000
        FreeRADIUS-Proxied-To = 127.0.0.1
  TTLS: Adding old state with 6a 75
  TTLS: Sending tunneled request
        EAP-Message = 0x0201001a0410653c407c662fd2255f2619e9c29141dc616c6578
        Message-Authenticator = 0x00000000000000000000000000000000
        FreeRADIUS-Proxied-To = 127.0.0.1
        User-Name = "alex"
        State = 0x6a75225242bf81b57bfcbbfc199e89f2
  Processing the authorize section of radiusd.conf
modcall: entering group authorize for request 6
  modcall[authorize]: module "preprocess" returns ok for request 6
  modcall[authorize]: module "chap" returns noop for request 6
  modcall[authorize]: module "mschap" returns noop for request 6
    rlm_realm: No '@' in User-Name = "alex", looking up realm NULL
    rlm_realm: Found realm "NULL"
    rlm_realm: Adding Stripped-User-Name = "alex"
    rlm_realm: Proxying request from user alex to realm NULL
    rlm_realm: Adding Realm = "NULL"
    rlm_realm: Authentication realm is LOCAL.
  modcall[authorize]: module "suffix" returns noop for request 6
  rlm_eap: EAP packet type response id 1 length 26
  rlm_eap: No EAP Start, assuming it's an on-going EAP conversation
  modcall[authorize]: module "eap" returns updated for request 6
    users: Matched alex at 75
  modcall[authorize]: module "files" returns ok for request 6
modcall: group authorize returns updated for request 6
  rad_check_password:  Found Auth-Type EAP
auth: type "EAP"
  Processing the authenticate section of radiusd.conf
modcall: entering group authenticate for request 6
  rlm_eap: Request found, released from the list
  rlm_eap: EAP/md5
  rlm_eap: processing type md5
  rlm_eap: Freeing handler
  modcall[authenticate]: module "eap" returns ok for request 6
modcall: group authenticate returns ok for request 6
  TTLS: Got tunneled reply RADIUS code 2
        EAP-Message = 0x03010004
        Message-Authenticator = 0x00000000000000000000000000000000
        User-Name = "alex"
  TTLS: Got tunneled Access-Accept
Segmentation fault
Foo:/etc/raddb #


Thanks in advance
Alex Dornhoefer

-- 
+++ NEU bei GMX und erstmalig in Deutschland: TÜV-geprüfter Virenschutz +++
100% Virenerkennung nach Wildlist. Infos: http://www.gmx.net/virenschutz


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

Reply via email to