PEAP without MAC is OK but with MAC...

Rudi Verago [vlain] vlain at libero.it
Fri Dec 2 01:13:19 CET 2005


I use the last version of freeradius on a Ubuntu box, my supplicant is a XP machine. I set PEAP and all works ok, this is the simple configuration for the file user

"rudi" 	User-Password == "xxxxx" 

All is perfect also with MySQL...so FreeRADIUS is great ;-)

My problem is using MAC address also, simply adding the parameter Calling-Station-Id doesn't work:

"rudi" 	User-Password == "xxxxx" Calling-Station-Id == "00-e3-44-5E-1A-B2"

I try to use different format for MAC, local auth, peap auth, proxy and others solution find on mailing list...but nothing. 
Any help?

The log for radius -X -A is below.

Thanks in advance and good work,

Rudi

---------------------------------------------

Starting - reading configuration files ...
reread_config:  reading radiusd.conf
Config:   including file: /usr/local/etc/raddb/proxy.conf
Config:   including file: /usr/local/etc/raddb/clients.conf
Config:   including file: /usr/local/etc/raddb/snmp.conf
Config:   including file: /usr/local/etc/raddb/eap.conf
Config:   including file: /usr/local/etc/raddb/sql.conf
 main: prefix = "/usr/local"
 main: localstatedir = "/usr/local/var"
 main: logdir = "/usr/local/var/log/radius"
 main: libdir = "/usr/local/lib"
 main: radacctdir = "/usr/local/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 = 0
 main: allow_core_dumps = no
 main: log_stripped_names = no
 main: log_file = "/usr/local/var/log/radius/radius.log"
 main: log_auth = no
 main: log_auth_badpass = no
 main: log_auth_goodpass = no
 main: pidfile = "/usr/local/var/run/radiusd/radiusd.pid"
 main: user = "(null)"
 main: group = "(null)"
 main: usercollide = no
 main: lower_user = "no"
 main: lower_pass = "no"
 main: nospace_user = "no"
 main: nospace_pass = "no"
 main: checkrad = "/usr/local/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
read_config_files:  reading realms
radiusd:  entering modules setup
Module: Library search path is /usr/local/lib
Module: Loaded exec 
 exec: wait = yes
 exec: program = "(null)"
 exec: input_pairs = "request"
 exec: output_pairs = "(null)"
 exec: packet_type = "(null)"
rlm_exec: Wait=yes but no output defined. Did you mean output=none?
Module: Instantiated exec (exec) 
Module: Loaded expr 
Module: Instantiated expr (expr) 
Module: Loaded PAP 
 pap: encryption_scheme = "crypt"
Module: Instantiated pap (pap) 
Module: Loaded CHAP 
Module: Instantiated chap (chap) 
Module: Loaded MS-CHAP 
 mschap: use_mppe = yes
 mschap: require_encryption = no
 mschap: require_strong = no
 mschap: with_ntdomain_hack = no
 mschap: passwd = "(null)"
 mschap: authtype = "MS-CHAP"
 mschap: ntlm_auth = "(null)"
Module: Instantiated mschap (mschap) 
Module: Loaded System 
 unix: cache = no
 unix: passwd = "(null)"
 unix: shadow = "(null)"
 unix: group = "(null)"
 unix: radwtmp = "/usr/local/var/log/radius/radwtmp"
 unix: usegroup = no
 unix: cache_reload = 600
Module: Instantiated unix (unix) 
Module: Loaded eap 
 eap: default_eap_type = "peap"
 eap: timer_expire = 60
 eap: ignore_unknown_eap_types = no
 eap: cisco_accounting_username_bug = no
rlm_eap: Loaded and initialized type md5
rlm_eap: Loaded and initialized type leap
 gtc: challenge = "Password: "
 gtc: auth_type = "PAP"
rlm_eap: Loaded and initialized type gtc
 tls: rsa_key_exchange = no
 tls: dh_key_exchange = yes
 tls: rsa_key_length = 512
 tls: dh_key_length = 512
 tls: verify_depth = 0
 tls: CA_path = "(null)"
 tls: pem_file_type = yes
 tls: private_key_file = "/usr/local/etc/raddb/certs/cert-srv.pem"
 tls: certificate_file = "/usr/local/etc/raddb/certs/cert-srv.pem"
 tls: CA_file = "/usr/local/etc/raddb/certs/demoCA/cacert.pem"
 tls: private_key_password = "whatever"
 tls: dh_file = "/usr/local/etc/raddb/certs/dh"
 tls: random_file = "/usr/local/etc/raddb/certs/random"
 tls: fragment_size = 1024
 tls: include_length = yes
 tls: check_crl = no
 tls: check_cert_cn = "(null)"
rlm_eap: Loaded and initialized type tls
 peap: default_eap_type = "mschapv2"
 peap: copy_request_to_tunnel = no
 peap: use_tunneled_reply = no
 peap: proxy_tunneled_request_as_eap = yes
rlm_eap: Loaded and initialized type peap
 mschapv2: with_ntdomain_hack = no
rlm_eap: Loaded and initialized type mschapv2
Module: Instantiated eap (eap) 
Module: Loaded preprocess 
 preprocess: huntgroups = "/usr/local/etc/raddb/huntgroups"
 preprocess: hints = "/usr/local/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"
 realm: delimiter = "@"
 realm: ignore_default = no
 realm: ignore_null = no
Module: Instantiated realm (suffix) 
Module: Loaded files 
 files: usersfile = "/usr/local/etc/raddb/users"
 files: acctusersfile = "/usr/local/etc/raddb/acct_users"
 files: preproxy_usersfile = "/usr/local/etc/raddb/preproxy_users"
 files: compat = "no"
Module: Instantiated files (files) 
Module: Loaded Acct-Unique-Session-Id 
 acct_unique: key = "User-Name, Acct-Session-Id, NAS-IP-Address, Client-IP-Address, NAS-Port"
Module: Instantiated acct_unique (acct_unique) 
Module: Loaded detail 
 detail: detailfile = "/usr/local/var/log/radius/radacct/%{Client-IP-Address}/detail-%Y%m%d"
 detail: detailperm = 384
 detail: dirperm = 493
 detail: locking = no
Module: Instantiated detail (detail) 
Module: Loaded radutmp 
 radutmp: filename = "/usr/local/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 authentication *:1812
Listening on accounting *:1813
Ready to process requests.
rad_recv: Access-Request packet from host 192.168.0.100:1143, id=0, length=190
	Message-Authenticator = 0xd87583bdf395a663b9a67308180dc61d
	Service-Type = Framed-User
	User-Name = "rudi"
	Framed-MTU = 1488
	Called-Station-Id = "00-11-95-E6-77-87:IMTECH"
	Calling-Station-Id = "00-12-F0-1E-2A-B2"
	NAS-Identifier = "D-Link Access Point"
	NAS-Port-Type = Wireless-802.11
	Connect-Info = "CONNECT 54Mbps 802.11g"
	EAP-Message = 0x020000090172756469
	NAS-IP-Address = 192.168.0.100
	NAS-Port = 1
	NAS-Port-Id = "STA port # 1"
  Processing the authorize section of radiusd.conf
modcall: entering group authorize for request 0
  modcall[authorize]: module "preprocess" returns ok for request 0
  modcall[authorize]: module "chap" returns noop for request 0
  modcall[authorize]: module "mschap" returns noop for request 0
    rlm_realm: No '@' in User-Name = "rudi", looking up realm NULL
    rlm_realm: No such realm "NULL"
  modcall[authorize]: module "suffix" returns noop for request 0
  rlm_eap: EAP packet type response id 0 length 9
  rlm_eap: No EAP Start, assuming it's an on-going EAP conversation
  modcall[authorize]: module "eap" returns updated for request 0
    users: Matched entry rudi at line 101
  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"
  Processing the authenticate section of radiusd.conf
modcall: entering group authenticate for request 0
  rlm_eap: EAP Identity
  rlm_eap: processing type tls
  rlm_eap_tls: Initiate
  rlm_eap_tls: Start returned 1
  modcall[authenticate]: module "eap" returns handled for request 0
modcall: group authenticate returns handled for request 0
Sending Access-Challenge of id 0 to 192.168.0.100:1143
	EAP-Message = 0x010100061920
	Message-Authenticator = 0x00000000000000000000000000000000
	State = 0xde8d05c0e49d7edba8d0d222cab8b3ce
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 192.168.0.100:1143, id=1, length=279
	Message-Authenticator = 0x4316604de774b7306d299d3e55b8198c
	Service-Type = Framed-User
	User-Name = "rudi"
	Framed-MTU = 1488
	State = 0xde8d05c0e49d7edba8d0d222cab8b3ce
	Called-Station-Id = "00-11-95-E6-77-87:IMTECH"
	Calling-Station-Id = "00-12-F0-1E-2A-B2"
	NAS-Identifier = "D-Link Access Point"
	NAS-Port-Type = Wireless-802.11
	Connect-Info = "CONNECT 54Mbps 802.11g"
	EAP-Message = 0x0201005019800000004616030100410100003d0301438f8fd1de0dba3cf40cc34ab346ddb01173c54cab6ee58d0898091f77a565b800001600040005000a000900640062000300060013001200630100
	NAS-IP-Address = 192.168.0.100
	NAS-Port = 1
	NAS-Port-Id = "STA port # 1"
  Processing the authorize section of radiusd.conf
modcall: entering group authorize for request 1
  modcall[authorize]: module "preprocess" returns ok for request 1
  modcall[authorize]: module "chap" returns noop for request 1
  modcall[authorize]: module "mschap" returns noop for request 1
    rlm_realm: No '@' in User-Name = "rudi", looking up realm NULL
    rlm_realm: No such realm "NULL"
  modcall[authorize]: module "suffix" returns noop for request 1
  rlm_eap: EAP packet type response id 1 length 80
  rlm_eap: No EAP Start, assuming it's an on-going EAP conversation
  modcall[authorize]: module "eap" returns updated for request 1
    users: Matched entry rudi at line 101
  modcall[authorize]: module "files" returns ok for request 1
modcall: group authorize returns updated for request 1
  rad_check_password:  Found Auth-Type EAP
auth: type "EAP"
  Processing the authenticate section of radiusd.conf
modcall: entering group authenticate for request 1
  rlm_eap: Request found, released from the list
  rlm_eap: EAP/peap
  rlm_eap: processing type peap
  rlm_eap_peap: Authenticate
  rlm_eap_tls: processing TLS
rlm_eap_tls:  Length Included
  eaptls_verify returned 11 
    (other): before/accept initialization 
    TLS_accept: before/accept initialization 
  rlm_eap_tls: <<< TLS 1.0 Handshake [length 0041], ClientHello  
    TLS_accept: SSLv3 read client hello A 
  rlm_eap_tls: >>> TLS 1.0 Handshake [length 004a], ServerHello  
    TLS_accept: SSLv3 write server hello A 
  rlm_eap_tls: >>> TLS 1.0 Handshake [length 0552], Certificate  
    TLS_accept: SSLv3 write certificate A 
  rlm_eap_tls: >>> TLS 1.0 Handshake [length 0004], ServerHelloDone  
    TLS_accept: SSLv3 write server done A 
    TLS_accept: SSLv3 flush data 
    TLS_accept:error in SSLv3 read client certificate A 
In SSL Handshake Phase 
In SSL Accept mode  
  eaptls_process returned 13 
  rlm_eap_peap: EAPTLS_HANDLED
  modcall[authenticate]: module "eap" returns handled for request 1
modcall: group authenticate returns handled for request 1
Sending Access-Challenge of id 1 to 192.168.0.100:1143
	EAP-Message = 0x0102040a19c0000005af160301004a020000460301438f8fd8a520523b675257784d58c8386b3f37558a11ccddba4adc9cf3fb15f220abbd731ea80d7bbc7c2d651b30f151787172727002e269018589ecf389398c6700040016030105520b00054e00054b00024f3082024b308201b4a003020102020900f38118d0ad652d8a300d06092a864886f70d0101050500305a310b3009060355040613024974310b3009060355040813025044310f300d060355040a1306496d74656368310d300b06035504031304726f6f74311e301c06092a864886f70d010901160f766c61696e406c696265726f2e6974301e170d3035313132333032333130335a17
	EAP-Message = 0x0d3036313132333032333130335a305c310b3009060355040613024974310b3009060355040813025044310f300d060355040a1306496d74656368310f300d06035504031306736572766572311e301c06092a864886f70d010901160f766c61696e406c696265726f2e697430819f300d06092a864886f70d010101050003818d0030818902818100b4ba5fcde942ead9afe5d72ee7cd1c7728afcbc35c6f13402d388f27cfaf91f2e0fb9f646f19f06ad1264163663bb4f01be56b5a77943d6c7da7ea0615efdd0f73ea2fe48a73c2a0ec94d7b4e80ffaf9045d6dbdd6a7598b7bc04ea578462ea5c37fb861551b507409c923f7281a952b00529438
	EAP-Message = 0xf8d0d95afe4110d4d414587d0203010001a317301530130603551d25040c300a06082b06010505070301300d06092a864886f70d010105050003818100179b16a6218fc7c7ed5abf765de15bf2e41628d55ead746bc079aa4df49bf6e23c5f3bd57961b2f9995a286fba7baa5f8bf4e32da7b0aeac722854cea5d7df39f856732dd03228429c2e787801464875385c165aec6dc5f421a70fd2b252cd44c8c9aacd61e26617cd074fcc5c958736c33f46f32b8e56b31cc99caa98bef5890002f6308202f23082025ba003020102020900f38118d0ad652d88300d06092a864886f70d0101050500305a310b3009060355040613024974310b3009060355
	EAP-Message = 0x040813025044310f300d060355040a1306496d74656368310d300b06035504031304726f6f74311e301c06092a864886f70d010901160f766c61696e406c696265726f2e6974301e170d3035313132333032333032315a170d3037313132333032333032315a305a310b3009060355040613024974310b3009060355040813025044310f300d060355040a1306496d74656368310d300b06035504031304726f6f74311e301c06092a864886f70d010901160f766c61696e406c696265726f2e697430819f300d06092a864886f70d010101050003818d0030818902818100aee79505f48a78028de7b7b3c58fa3fce84149432fa0a1ef14752b333bb8
	EAP-Message = 0xd110ee0a186915f8dbb3240a087ea9153b99e468d03c
	Message-Authenticator = 0x00000000000000000000000000000000
	State = 0x179071aba06de19a0958315876b949ee
Finished request 1
Going to the next request
Waking up in 6 seconds...
rad_recv: Access-Request packet from host 192.168.0.100:1143, id=2, length=205
	Message-Authenticator = 0x97859340fec8fb806913d8ef90c5c65b
	Service-Type = Framed-User
	User-Name = "rudi"
	Framed-MTU = 1488
	State = 0x179071aba06de19a0958315876b949ee
	Called-Station-Id = "00-11-95-E6-77-87:IMTECH"
	Calling-Station-Id = "00-12-F0-1E-2A-B2"
	NAS-Identifier = "D-Link Access Point"
	NAS-Port-Type = Wireless-802.11
	Connect-Info = "CONNECT 54Mbps 802.11g"
	EAP-Message = 0x020200061900
	NAS-IP-Address = 192.168.0.100
	NAS-Port = 1
	NAS-Port-Id = "STA port # 1"
  Processing the authorize section of radiusd.conf
modcall: entering group authorize for request 2
  modcall[authorize]: module "preprocess" returns ok for request 2
  modcall[authorize]: module "chap" returns noop for request 2
  modcall[authorize]: module "mschap" returns noop for request 2
    rlm_realm: No '@' in User-Name = "rudi", looking up realm NULL
    rlm_realm: No such realm "NULL"
  modcall[authorize]: module "suffix" returns noop for request 2
  rlm_eap: EAP packet type response id 2 length 6
  rlm_eap: No EAP Start, assuming it's an on-going EAP conversation
  modcall[authorize]: module "eap" returns updated for request 2
    users: Matched entry rudi at line 101
  modcall[authorize]: module "files" returns ok for request 2
modcall: group authorize returns updated for request 2
  rad_check_password:  Found Auth-Type EAP
auth: type "EAP"
  Processing the authenticate section of radiusd.conf
modcall: entering group authenticate for request 2
  rlm_eap: Request found, released from the list
  rlm_eap: EAP/peap
  rlm_eap: processing type peap
  rlm_eap_peap: Authenticate
  rlm_eap_tls: processing TLS
rlm_eap_tls: Received EAP-TLS ACK message
  rlm_eap_tls: ack handshake fragment handler
  eaptls_verify returned 1 
  eaptls_process returned 13 
  rlm_eap_peap: EAPTLS_HANDLED
  modcall[authenticate]: module "eap" returns handled for request 2
modcall: group authenticate returns handled for request 2
Sending Access-Challenge of id 2 to 192.168.0.100:1143
	EAP-Message = 0x010301b5190048f2e9958c1dad57415c322d99da976059b925190118a0b6968263f0bbbce197d6c4ed0c3db0f06b8e41105244cacc9a2d97c4c18b56c25ae663ede1413c088ce4807286a633a742b10c61df0203010001a381bf3081bc301d0603551d0e0416041432ecae8aaa28e7e5d6f8e17669a549b893caef1430818c0603551d23048184308181801432ecae8aaa28e7e5d6f8e17669a549b893caef14a15ea45c305a310b3009060355040613024974310b3009060355040813025044310f300d060355040a1306496d74656368310d300b06035504031304726f6f74311e301c06092a864886f70d010901160f766c61696e406c696265726f
	EAP-Message = 0x2e6974820900f38118d0ad652d88300c0603551d13040530030101ff300d06092a864886f70d0101050500038181005f4867dea3b5fa4239419bcb875e2af572a77e7bf7c084480d919752ed530384a89daf7ff2223ed43636a5fb9f132d6d7f74b62b88c9c6331b11cf64a4cdf74200475b7677546a1c388d21d8831bb5ae50d96506fa326a6cfa22da33bd70e75ce33efa69d3c05497f18a998d297629244164eb1412f4e13ddff445c6f1b166dd16030100040e000000
	Message-Authenticator = 0x00000000000000000000000000000000
	State = 0x4a893a6285080cf5575b7da11c1ab084
Finished request 2
Going to the next request
Waking up in 6 seconds...
rad_recv: Access-Request packet from host 192.168.0.100:1143, id=3, length=391
	Message-Authenticator = 0x451d99411934d423a8b9b9d5f5244b5e
	Service-Type = Framed-User
	User-Name = "rudi"
	Framed-MTU = 1488
	State = 0x4a893a6285080cf5575b7da11c1ab084
	Called-Station-Id = "00-11-95-E6-77-87:IMTECH"
	Calling-Station-Id = "00-12-F0-1E-2A-B2"
	NAS-Identifier = "D-Link Access Point"
	NAS-Port-Type = Wireless-802.11
	Connect-Info = "CONNECT 54Mbps 802.11g"
	EAP-Message = 0x020300c01980000000b616030100861000008200807ee4cd8473260bc1e113ec94e036d308a018581ace9795d81b9c16c8e1f3d56bc411ad05509b6b0dee0996f994accd45132446533cd22cb83106837ec4bdd53010bd160a410bf55199f544af71fad9b3a269182e26095efe8f433e3ea5a257579969df4ee971e0555e46f1bcf2b886e7466fb4aa8b9c36f66682263a0ccf3c3e14030100010116030100200832777727f3a5290e93af5fd22fa8f29ef53c463cdad803837907668f2fc883
	NAS-IP-Address = 192.168.0.100
	NAS-Port = 1
	NAS-Port-Id = "STA port # 1"
  Processing the authorize section of radiusd.conf
modcall: entering group authorize for request 3
  modcall[authorize]: module "preprocess" returns ok for request 3
  modcall[authorize]: module "chap" returns noop for request 3
  modcall[authorize]: module "mschap" returns noop for request 3
    rlm_realm: No '@' in User-Name = "rudi", looking up realm NULL
    rlm_realm: No such realm "NULL"
  modcall[authorize]: module "suffix" returns noop for request 3
  rlm_eap: EAP packet type response id 3 length 192
  rlm_eap: No EAP Start, assuming it's an on-going EAP conversation
  modcall[authorize]: module "eap" returns updated for request 3
    users: Matched entry rudi at line 101
  modcall[authorize]: module "files" returns ok for request 3
modcall: group authorize returns updated for request 3
  rad_check_password:  Found Auth-Type EAP
auth: type "EAP"
  Processing the authenticate section of radiusd.conf
modcall: entering group authenticate for request 3
  rlm_eap: Request found, released from the list
  rlm_eap: EAP/peap
  rlm_eap: processing type peap
  rlm_eap_peap: Authenticate
  rlm_eap_tls: processing TLS
rlm_eap_tls:  Length Included
  eaptls_verify returned 11 
  rlm_eap_tls: <<< TLS 1.0 Handshake [length 0086], ClientKeyExchange  
    TLS_accept: SSLv3 read client key exchange A 
  rlm_eap_tls: <<< TLS 1.0 ChangeCipherSpec [length 0001]  
  rlm_eap_tls: <<< TLS 1.0 Handshake [length 0010], Finished  
    TLS_accept: SSLv3 read finished A 
  rlm_eap_tls: >>> TLS 1.0 ChangeCipherSpec [length 0001]  
    TLS_accept: SSLv3 write change cipher spec A 
  rlm_eap_tls: >>> TLS 1.0 Handshake [length 0010], Finished  
    TLS_accept: SSLv3 write finished A 
    TLS_accept: SSLv3 flush data 
    (other): SSL negotiation finished successfully 
SSL Connection Established 
  eaptls_process returned 13 
  rlm_eap_peap: EAPTLS_HANDLED
  modcall[authenticate]: module "eap" returns handled for request 3
modcall: group authenticate returns handled for request 3
Sending Access-Challenge of id 3 to 192.168.0.100:1143
	EAP-Message = 0x01040031190014030100010116030100200bb4a68cfcc4968939302a56e07f615e81fef7b372e451d7ebf1d3b4af23f914
	Message-Authenticator = 0x00000000000000000000000000000000
	State = 0x848271c657c7b72869965b8b9b1aa0e7
Finished request 3
Going to the next request
Waking up in 6 seconds...
rad_recv: Access-Request packet from host 192.168.0.100:1143, id=4, length=205
	Message-Authenticator = 0x8cbf322de5f1827b6de13925a6f80899
	Service-Type = Framed-User
	User-Name = "rudi"
	Framed-MTU = 1488
	State = 0x848271c657c7b72869965b8b9b1aa0e7
	Called-Station-Id = "00-11-95-E6-77-87:IMTECH"
	Calling-Station-Id = "00-12-F0-1E-2A-B2"
	NAS-Identifier = "D-Link Access Point"
	NAS-Port-Type = Wireless-802.11
	Connect-Info = "CONNECT 54Mbps 802.11g"
	EAP-Message = 0x020400061900
	NAS-IP-Address = 192.168.0.100
	NAS-Port = 1
	NAS-Port-Id = "STA port # 1"
  Processing the authorize section of radiusd.conf
modcall: entering group authorize for request 4
  modcall[authorize]: module "preprocess" returns ok for request 4
  modcall[authorize]: module "chap" returns noop for request 4
  modcall[authorize]: module "mschap" returns noop for request 4
    rlm_realm: No '@' in User-Name = "rudi", looking up realm NULL
    rlm_realm: No such realm "NULL"
  modcall[authorize]: module "suffix" returns noop for request 4
  rlm_eap: EAP packet type response id 4 length 6
  rlm_eap: No EAP Start, assuming it's an on-going EAP conversation
  modcall[authorize]: module "eap" returns updated for request 4
    users: Matched entry rudi at line 101
  modcall[authorize]: module "files" returns ok for request 4
modcall: group authorize returns updated for request 4
  rad_check_password:  Found Auth-Type EAP
auth: type "EAP"
  Processing the authenticate section of radiusd.conf
modcall: entering group authenticate for request 4
  rlm_eap: Request found, released from the list
  rlm_eap: EAP/peap
  rlm_eap: processing type peap
  rlm_eap_peap: Authenticate
  rlm_eap_tls: processing TLS
rlm_eap_tls: Received EAP-TLS ACK message
  rlm_eap_tls: ack handshake is finished
  eaptls_verify returned 3 
  eaptls_process returned 3 
  rlm_eap_peap: EAPTLS_SUCCESS
  modcall[authenticate]: module "eap" returns handled for request 4
modcall: group authenticate returns handled for request 4
Sending Access-Challenge of id 4 to 192.168.0.100:1143
	EAP-Message = 0x0105002019001703010015467fe443ab3108e93e16dd343d25757bd383eb3793
	Message-Authenticator = 0x00000000000000000000000000000000
	State = 0xdeb9a28614e38559a0a146be34580acb
Finished request 4
Going to the next request
Waking up in 6 seconds...
rad_recv: Access-Request packet from host 192.168.0.100:1143, id=5, length=231
	Message-Authenticator = 0x9010bc7a6769502afaebdfb5ea20c098
	Service-Type = Framed-User
	User-Name = "rudi"
	Framed-MTU = 1488
	State = 0xdeb9a28614e38559a0a146be34580acb
	Called-Station-Id = "00-11-95-E6-77-87:IMTECH"
	Calling-Station-Id = "00-12-F0-1E-2A-B2"
	NAS-Identifier = "D-Link Access Point"
	NAS-Port-Type = Wireless-802.11
	Connect-Info = "CONNECT 54Mbps 802.11g"
	EAP-Message = 0x02050020190017030100150a5b8130f55f9062962001b28d574a36da2da50864
	NAS-IP-Address = 192.168.0.100
	NAS-Port = 1
	NAS-Port-Id = "STA port # 1"
  Processing the authorize section of radiusd.conf
modcall: entering group authorize for request 5
  modcall[authorize]: module "preprocess" returns ok for request 5
  modcall[authorize]: module "chap" returns noop for request 5
  modcall[authorize]: module "mschap" returns noop for request 5
    rlm_realm: No '@' in User-Name = "rudi", looking up realm NULL
    rlm_realm: No such realm "NULL"
  modcall[authorize]: module "suffix" returns noop for request 5
  rlm_eap: EAP packet type response id 5 length 32
  rlm_eap: No EAP Start, assuming it's an on-going EAP conversation
  modcall[authorize]: module "eap" returns updated for request 5
    users: Matched entry rudi at line 101
  modcall[authorize]: module "files" returns ok for request 5
modcall: group authorize returns updated for request 5
  rad_check_password:  Found Auth-Type EAP
auth: type "EAP"
  Processing the authenticate section of radiusd.conf
modcall: entering group authenticate for request 5
  rlm_eap: Request found, released from the list
  rlm_eap: EAP/peap
  rlm_eap: processing type peap
  rlm_eap_peap: Authenticate
  rlm_eap_tls: processing TLS
  eaptls_verify returned 7 
  rlm_eap_tls: Done initial handshake
  eaptls_process returned 7 
  rlm_eap_peap: EAPTLS_OK
  rlm_eap_peap: Session established.  Decoding tunneled attributes.
  rlm_eap_peap: Identity - rudi
  rlm_eap_peap: Tunneled data is valid.
  PEAP: Got tunneled EAP-Message
	EAP-Message = 0x020500090172756469
  PEAP: Got tunneled identity of rudi
  PEAP: Setting default EAP type for tunneled EAP session.
  PEAP: Setting User-Name to rudi
  PEAP: Sending tunneled request
	EAP-Message = 0x020500090172756469
	FreeRADIUS-Proxied-To = 127.0.0.1
	User-Name = "rudi"
  Processing the authorize section of radiusd.conf
modcall: entering group authorize for request 5
  modcall[authorize]: module "preprocess" returns ok for request 5
  modcall[authorize]: module "chap" returns noop for request 5
  modcall[authorize]: module "mschap" returns noop for request 5
    rlm_realm: No '@' in User-Name = "rudi", looking up realm NULL
    rlm_realm: No such realm "NULL"
  modcall[authorize]: module "suffix" returns noop for request 5
  rlm_eap: EAP packet type response id 5 length 9
  rlm_eap: No EAP Start, assuming it's an on-going EAP conversation
  modcall[authorize]: module "eap" returns updated for request 5
    users: Matched entry DEFAULT at line 163
  modcall[authorize]: module "files" returns ok for request 5
modcall: group authorize returns updated for request 5
  rad_check_password:  Found Auth-Type EAP
auth: type "EAP"
  Processing the authenticate section of radiusd.conf
modcall: entering group authenticate for request 5
  rlm_eap: EAP Identity
  rlm_eap: processing type mschapv2
rlm_eap_mschapv2: Issuing Challenge
  modcall[authenticate]: module "eap" returns handled for request 5
modcall: group authenticate returns handled for request 5
  PEAP: Got tunneled reply RADIUS code 11
	EAP-Message = 0x0106001e1a0106001910d536b9291afdf00621dcfc6a51bc86dc72756469
	Message-Authenticator = 0x00000000000000000000000000000000
	State = 0x32911aa2856cc4631f2b54871272d85f
  PEAP: Processing from tunneled session code 0x8123b48 11
	EAP-Message = 0x0106001e1a0106001910d536b9291afdf00621dcfc6a51bc86dc72756469
	Message-Authenticator = 0x00000000000000000000000000000000
	State = 0x32911aa2856cc4631f2b54871272d85f
  PEAP: Got tunneled Access-Challenge
  modcall[authenticate]: module "eap" returns handled for request 5
modcall: group authenticate returns handled for request 5
Sending Access-Challenge of id 5 to 192.168.0.100:1143
	EAP-Message = 0x010600351900170301002a269c325eb8730d5264be98ca62699f87ca0e4005766d0e6a68c1fde618bb76bbe0ac67b24f9e4bfb03ba
	Message-Authenticator = 0x00000000000000000000000000000000
	State = 0xc079ddee6f5011d526cd9f176e7bcdfa
Finished request 5
Going to the next request
Waking up in 6 seconds...
rad_recv: Access-Request packet from host 192.168.0.100:1143, id=6, length=285
	Message-Authenticator = 0x44d126e6c63d26d44e8162bb569ee110
	Service-Type = Framed-User
	User-Name = "rudi"
	Framed-MTU = 1488
	State = 0xc079ddee6f5011d526cd9f176e7bcdfa
	Called-Station-Id = "00-11-95-E6-77-87:IMTECH"
	Calling-Station-Id = "00-12-F0-1E-2A-B2"
	NAS-Identifier = "D-Link Access Point"
	NAS-Port-Type = Wireless-802.11
	Connect-Info = "CONNECT 54Mbps 802.11g"
	EAP-Message = 0x020600561900170301004b717cf225414fc50e7f65402ad3d01a726987fe92004513ac270be6036677a7cb61f0df0fdd733dc620fae4661cae926dde7f3d4ed3cc1f1ca424bd0d78322763289c982838443c13a11d1a
	NAS-IP-Address = 192.168.0.100
	NAS-Port = 1
	NAS-Port-Id = "STA port # 1"
  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 = "rudi", looking up realm NULL
    rlm_realm: No such realm "NULL"
  modcall[authorize]: module "suffix" returns noop for request 6
  rlm_eap: EAP packet type response id 6 length 86
  rlm_eap: No EAP Start, assuming it's an on-going EAP conversation
  modcall[authorize]: module "eap" returns updated for request 6
    users: Matched entry rudi at line 101
  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/peap
  rlm_eap: processing type peap
  rlm_eap_peap: Authenticate
  rlm_eap_tls: processing TLS
  eaptls_verify returned 7 
  rlm_eap_tls: Done initial handshake
  eaptls_process returned 7 
  rlm_eap_peap: EAPTLS_OK
  rlm_eap_peap: Session established.  Decoding tunneled attributes.
  rlm_eap_peap: EAP type mschapv2
  rlm_eap_peap: Tunneled data is valid.
  PEAP: Got tunneled EAP-Message
	EAP-Message = 0x0206003f1a0206003a317856a82853fc381ff5633d33ce7bb6bd0000000000000000649941400aec4c84b5738f58640b70957cdfa61712c1052d0072756469
  PEAP: Setting User-Name to rudi
  PEAP: Adding old state with 32 91
  PEAP: Sending tunneled request
	EAP-Message = 0x0206003f1a0206003a317856a82853fc381ff5633d33ce7bb6bd0000000000000000649941400aec4c84b5738f58640b70957cdfa61712c1052d0072756469
	FreeRADIUS-Proxied-To = 127.0.0.1
	User-Name = "rudi"
	State = 0x32911aa2856cc4631f2b54871272d85f
  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 = "rudi", looking up realm NULL
    rlm_realm: No such realm "NULL"
  modcall[authorize]: module "suffix" returns noop for request 6
  rlm_eap: EAP packet type response id 6 length 63
  rlm_eap: No EAP Start, assuming it's an on-going EAP conversation
  modcall[authorize]: module "eap" returns updated for request 6
    users: Matched entry DEFAULT at line 163
  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/mschapv2
  rlm_eap: processing type mschapv2
  Processing the authenticate section of radiusd.conf
modcall: entering group Auth-Type for request 6
  rlm_mschap: No User-Password configured.  Cannot create LM-Password.
  rlm_mschap: No User-Password configured.  Cannot create NT-Password.
  rlm_mschap: Told to do MS-CHAPv2 for rudi with NT-Password
  rlm_mschap: FAILED: No NT/LM-Password.  Cannot perform authentication.
  rlm_mschap: FAILED: MS-CHAP2-Response is incorrect
  modcall[authenticate]: module "mschap" returns reject for request 6
modcall: group Auth-Type returns reject for request 6
  rlm_eap: Freeing handler
  modcall[authenticate]: module "eap" returns reject for request 6
modcall: group authenticate returns reject for request 6
auth: Failed to validate the user.
  PEAP: Got tunneled reply RADIUS code 3
	MS-CHAP-Error = "\006E=691 R=1"
	EAP-Message = 0x04060004
	Message-Authenticator = 0x00000000000000000000000000000000
  PEAP: Processing from tunneled session code 0x8123020 3
	MS-CHAP-Error = "\006E=691 R=1"
	EAP-Message = 0x04060004
	Message-Authenticator = 0x00000000000000000000000000000000
  PEAP: Tunneled authentication was rejected.
  rlm_eap_peap: FAILURE
  modcall[authenticate]: module "eap" returns handled for request 6
modcall: group authenticate returns handled for request 6
Sending Access-Challenge of id 6 to 192.168.0.100:1143
	EAP-Message = 0x010700261900170301001ba019fb828bb271211545e1863a0054813d58ee90ffb3a68fdfd93e
	Message-Authenticator = 0x00000000000000000000000000000000
	State = 0xf4c68d8303984625b6d877b06f4a70d0
Finished request 6
Going to the next request
Waking up in 6 seconds...
rad_recv: Access-Request packet from host 192.168.0.100:1143, id=7, length=237
	Message-Authenticator = 0x84092205643db6f1a95bf152ed6aa7fe
	Service-Type = Framed-User
	User-Name = "rudi"
	Framed-MTU = 1488
	State = 0xf4c68d8303984625b6d877b06f4a70d0
	Called-Station-Id = "00-11-95-E6-77-87:IMTECH"
	Calling-Station-Id = "00-12-F0-1E-2A-B2"
	NAS-Identifier = "D-Link Access Point"
	NAS-Port-Type = Wireless-802.11
	Connect-Info = "CONNECT 54Mbps 802.11g"
	EAP-Message = 0x020700261900170301001bd235f4d049b5a4d047f7a3e9d766112db6141b4b5d0239ac82239d
	NAS-IP-Address = 192.168.0.100
	NAS-Port = 1
	NAS-Port-Id = "STA port # 1"
  Processing the authorize section of radiusd.conf
modcall: entering group authorize for request 7
  modcall[authorize]: module "preprocess" returns ok for request 7
  modcall[authorize]: module "chap" returns noop for request 7
  modcall[authorize]: module "mschap" returns noop for request 7
    rlm_realm: No '@' in User-Name = "rudi", looking up realm NULL
    rlm_realm: No such realm "NULL"
  modcall[authorize]: module "suffix" returns noop for request 7
  rlm_eap: EAP packet type response id 7 length 38
  rlm_eap: No EAP Start, assuming it's an on-going EAP conversation
  modcall[authorize]: module "eap" returns updated for request 7
    users: Matched entry rudi at line 101
  modcall[authorize]: module "files" returns ok for request 7
modcall: group authorize returns updated for request 7
  rad_check_password:  Found Auth-Type EAP
auth: type "EAP"
  Processing the authenticate section of radiusd.conf
modcall: entering group authenticate for request 7
  rlm_eap: Request found, released from the list
  rlm_eap: EAP/peap
  rlm_eap: processing type peap
  rlm_eap_peap: Authenticate
  rlm_eap_tls: processing TLS
  eaptls_verify returned 7 
  rlm_eap_tls: Done initial handshake
  eaptls_process returned 7 
  rlm_eap_peap: EAPTLS_OK
  rlm_eap_peap: Session established.  Decoding tunneled attributes.
  rlm_eap_peap: Received EAP-TLV response.
  rlm_eap_peap: Tunneled data is valid.
  rlm_eap_peap:  Had sent TLV failure, rejecting.
 rlm_eap: Handler failed in EAP/peap
  rlm_eap: Failed in EAP select
  modcall[authenticate]: module "eap" returns invalid for request 7
modcall: group authenticate returns invalid for request 7
auth: Failed to validate the user.
Delaying request 7 for 1 seconds
Finished request 7
Going to the next request
Waking up in 6 seconds...
rad_recv: Access-Request packet from host 192.168.0.100:1143, id=7, length=237
Sending Access-Reject of id 7 to 192.168.0.100:1143
	EAP-Message = 0x04070004
	Message-Authenticator = 0x00000000000000000000000000000000
--- Walking the entire request list ---
Waking up in 3 seconds...
--- Walking the entire request list ---
Cleaning up request 0 ID 0 with timestamp 438f8fd8
Cleaning up request 1 ID 1 with timestamp 438f8fd8
Cleaning up request 2 ID 2 with timestamp 438f8fd8
Cleaning up request 3 ID 3 with timestamp 438f8fd8
Cleaning up request 4 ID 4 with timestamp 438f8fd8
Cleaning up request 5 ID 5 with timestamp 438f8fd8
Cleaning up request 6 ID 6 with timestamp 438f8fd8
Cleaning up request 7 ID 7 with timestamp 438f8fd8
Nothing to do.  Sleeping until we see a request.

-----------------------------------------------------------------





More information about the Freeradius-Users mailing list