I've posted recently a mail for "problems with EAP-MD5".

I've realized new tests with lastest version of xsupplicant, freeradius and openssl :
xsupplicant version : 0.8b
freeradius version : 0.9.3
openssl version : 0.9.7c


I want authenticate a machine on Lan (Switch Cisco 2950).
My radius server and my supplicant are linux box (redhat 7.3).

The authentication is reject by radiusd.

Thank for any suggestion.
JP.
---

See below ethereal output (summary) on the supplicant :
-------------------------------------------------------
No. Time Source Destination Protocol Info
1 0.000000 CompaqHp_ac:7a:fa Spanning-tree-(for-bridges)_03 EAPOL start
2 0.002669 Cisco_83:8d:d3 CompaqHp_ac:7a:fa EAP Request, Identity [RFC2284]
3 3.185771 CompaqHp_ac:7a:fa Spanning-tree-(for-bridges)_03 EAP Response, Identity [RFC2284]
4 3.218286 Cisco_83:8d:d3 CompaqHp_ac:7a:fa EAP Request, MD5-Challenge [RFC2284]
5 3.344476 Cisco_83:8d:d3 Cisco_83:8d:d3 LOOP Loopback
6 3.463671 CompaqHp_ac:7a:fa Spanning-tree-(for-bridges)_03 EAP Response, MD5-Challenge [RFC2284]
7 6.481459 Cisco_83:8d:d3 CompaqHp_ac:7a:fa EAP Failure
8 6.512325 CompaqHp_ac:7a:fa Spanning-tree-(for-bridges)_03 EAPOL Start


See below radius.log on the server :
------------------------------------
Starting - reading configuration files ...
reread_config: reading radiusd.conf
Config: including file: /opt/freeradius/etc/raddb/proxy.conf
Config: including file: /opt/freeradius/etc/raddb/clients.conf
Config: including file: /opt/freeradius/etc/raddb/snmp.conf
Config: including file: /opt/freeradius/etc/raddb/sql.conf
main: prefix = "/opt/freeradius"
main: localstatedir = "/opt/freeradius/var"
main: logdir = "/opt/freeradius/var/log/radius"
main: libdir = "/opt/freeradius/lib"
main: radacctdir = "/opt/freeradius/var/log/radius/radacct"
main: hostname_lookups = no
main: max_request_time = 30
main: cleanup_delay = 5
main: max_requests = 1024
main: delete_blocked_requests = 0
main: port = 1812
main: allow_core_dumps = no
main: log_stripped_names = yes
main: log_file = "/opt/freeradius/var/log/radius/radius.log"
main: log_auth = yes
main: log_auth_badpass = no
main: log_auth_goodpass = no
main: pidfile = "/opt/freeradius/var/run/radiusd/radiusd.pid"
main: user = "radiusd"
main: group = "radiusd"
main: usercollide = yes
main: lower_user = "no"
main: lower_pass = "no"
main: nospace_user = "no"
main: nospace_pass = "no"
main: checkrad = "/opt/freeradius/sbin/checkrad"
main: proxy_requests = yes
proxy: retry_delay = 5
proxy: retry_count = 3
proxy: synchronous = no
proxy: default_fallback = yes
proxy: dead_time = 120
proxy: post_proxy_authorize = yes
proxy: wake_all_if_all_dead = no
security: max_attributes = 200
security: reject_delay = 1
security: status_server = no
main: debug_level = 0
read_config_files: reading dictionary
read_config_files: reading naslist
Using deprecated naslist file. Support for this will go away soon.
read_config_files: reading clients
Using deprecated clients file. Support for this will go away soon.
read_config_files: reading realms
Using deprecated realms file. Support for this will go away soon.
radiusd: entering modules setup
Module: Library search path is /opt/freeradius/lib
Module: Loaded eap
eap: default_eap_type = "md5"
eap: timer_expire = 60
rlm_eap: Loaded and initialized the type md5
Module: Instantiated eap (eap)
Module: Loaded preprocess
preprocess: huntgroups = "/opt/freeradius/etc/raddb/huntgroups"
preprocess: hints = "/opt/freeradius/etc/raddb/hints"
preprocess: with_ascend_hack = no
preprocess: ascend_channels_per_line = 23
preprocess: with_ntdomain_hack = no
preprocess: with_specialix_jetstream_hack = no
preprocess: with_cisco_vsa_hack = no
Module: Instantiated preprocess (preprocess)
Module: Loaded realm
realm: format = "suffix"
odule: Instantiated realm (suffix)
Module: Loaded files
files: usersfile = "/opt/freeradius/etc/raddb/users"
files: acctusersfile = "/opt/freeradius/etc/raddb/acct_users"
files: preproxy_usersfile = "/opt/freeradius/etc/raddb/preproxy_users"
files: compat = "no"
Module: Instantiated files (files)
Module: Loaded detail
detail: detailfile = "/opt/freeradius/var/log/radius/radacct/%{Client-IP-Address}/detail"
detail: detailperm = 384
detail: dirperm = 493
detail: locking = no
Module: Instantiated detail (detail)
Module: Loaded radutmp
radutmp: filename = "/opt/freeradius/var/log/radius/radutmp"
radutmp: username = "%{User-Name}"
radutmp: case_sensitive = yes
radutmp: check_with_nas = yes
radutmp: perm = 384
radutmp: callerid = yes
Module: Instantiated radutmp (radutmp)
Listening on IP address *, ports 1812/udp and 1813/udp, with proxy on 1814/udp.
Ready to process requests.
rad_recv: Access-Request packet from host 10.154.253.18:1812, id=93, length=114
NAS-IP-Address = 10.154.253.18
NAS-Port = 50019
NAS-Port-Type = Ethernet
User-Name = "chapalain"
Calling-Station-Id = "00-0B-CD-AC-7A-FA"
Service-Type = Framed-User
Framed-MTU = 1500
EAP-Message = 0x0201000e0163686170616c61696e
Message-Authenticator = 0x9d2a09dcb0b971d6429fc79d29f23f1f
modcall: entering group authorize for request 0
modcall[authorize]: module "preprocess" returns ok for request 0
rlm_eap: EAP packet type notification id 1 length 14
rlm_eap: EAP Start not found
modcall[authorize]: module "eap" returns updated for request 0
rlm_realm: No '@' in User-Name = "chapalain", looking up realm NULL
rlm_realm: No such realm "NULL"
modcall[authorize]: module "suffix" returns noop for request 0
users: Checking chapalain at 10
rad_check_password: Found Auth-Type eap
auth: type "EAP"
rlm_eap: EAP packet type notification id 1 length 14
rlm_eap: EAP Start not found
rlm_eap: EAP Identity
rlm_eap: processing type md5
rlm_eap_md5: Issuing Challenge
modcall[authenticate]: module "eap" returns ok for request 0
modcall: group authenticate returns ok for request 0
users: Matched chapalain at 10
modcall[authorize]: module "files" returns ok for request 0
modcall: group authorize returns updated for request 0
rad_check_password: Found Auth-Type eap
auth: type "EAP"
modcall: entering group authenticate for request 0
rlm_eap: EAP packet type notification id 1 length 14
rlm_eap: EAP Start not found
rlm_eap: EAP Identity
rlm_eap: processing type md5
rlm_eap_md5: Issuing Challenge
modcall[authenticate]: module "eap" returns ok for request 0
modcall: group authenticate returns ok for request 0
Login OK: [chapalain] (from client sw-info-ouest-test port 50019 cli 00-0B-CD-AC-7A-FA)
Sending Access-Challenge of id 93 to 10.154.253.18:1812
EAP-Message = 0x010200160410449a5f2293076eda80c81fdefd653fb2
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x45eed0b8d6e2b50db95da43ae647c0755150e83fdce64de05663238177d6ca6e2643d5bf
Service-Type = Framed-User
EAP-Message = 0x010200160410d53a6f6c318fd7907f49b72eb13057b6
State = 0xaf08d826d39c5b0342d06aac00aa8df95150e83ff30f9d06eeb139a5233bebc38a293aff
Finished request 0
Going to the next request
--- Walking the entire request list ---
Waking up in 6 seconds...
rad_recv: Access-Request packet from host 10.154.253.18:1812, id=94, length=170
NAS-IP-Address = 10.154.253.18
NAS-Port = 50019
NAS-Port-Type = Ethernet
User-Name = "chapalain"
Calling-Station-Id = "00-0B-CD-AC-7A-FA"
Service-Type = Framed-User
Framed-MTU = 1500
State = 0xaf08d826d39c5b0342d06aac00aa8df95150e83ff30f9d06eeb139a5233bebc38a293aff
EAP-Message = 0x0202002004106373b3a6447183d233f2ced333c7cf2d63686170616c61696e00
Message-Authenticator = 0x6ce844da386ccf9c9555397d27e519d0
modcall: entering group authorize for request 1
modcall[authorize]: module "preprocess" returns ok for request 1
rlm_eap: EAP packet type notification id 2 length 32
rlm_eap: EAP Start not found
modcall[authorize]: module "eap" returns updated for request 1
rlm_realm: No '@' in User-Name = "chapalain", looking up realm NULL
rlm_realm: No such realm "NULL"
modcall[authorize]: module "suffix" returns noop for request 1
users: Checking chapalain at 10
rad_check_password: Found Auth-Type eap
auth: type "EAP"
modcall: entering group authenticate for request 1
rlm_eap: EAP packet type notification id 2 length 32
rlm_eap: EAP Start not found
rlm_eap: Request not found in the list
rlm_eap: Either EAP-request timed out OR EAP-response to an unknown EAP-request
modcall[authenticate]: module "eap" returns invalid for request 1
modcall: group authenticate returns invalid for request 1
modcall[authorize]: module "files" returns notfound for request 1
modcall: group authorize returns updated for request 1
rad_check_password: Found Auth-Type EAP
auth: type "EAP"
modcall: entering group authenticate for request 1
rlm_eap: EAP packet type notification id 2 length 32
rlm_eap: EAP Start not found
rlm_eap: Request not found in the list
rlm_eap: Either EAP-request timed out OR EAP-response to an unknown EAP-request
modcall[authenticate]: module "eap" returns invalid for request 1
modcall: group authenticate returns invalid for request 1
auth: Failed to validate the user.
Login incorrect: [chapalain] (from client sw-info-ouest-test port 50019 cli 00-0B-CD-AC-7A-FA)
Delaying request 1 for 1 seconds
Finished request 1
Going to the next request
Waking up in 6 seconds...
rad_recv: Access-Request packet from host 10.154.253.18:1812, id=94, length=170
Sending Access-Reject of id 94 to 10.154.253.18:1812
--- Walking the entire request list ---
Waking up in 3 seconds...
--- Walking the entire request list ---
Cleaning up request 0 ID 93 with timestamp 3fe85051
Cleaning up request 1 ID 94 with timestamp 3fe85051


--
--  Jean-Paul Chapalain - GICM -  Resp. Reseaux et Infrastructure
--  32 rue Mirabeau - Le Relecq-Kerhuon - 29808 Brest Cedex 9, FRANCE
--  Tel +33298002873 - Fax +33298284005 - [EMAIL PROTECTED]
--  Key Fingerprint: 192C 1CFE F24A 050D F280 A086 AF15 8631 3ABB 4C7D


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

Reply via email to