Windows Mobile EAP-PEAP authentication with FreeRadius 2.1 problem

Anatoly Oreshkin Anatoly.Oreshkin at pnpi.spb.ru
Thu Nov 5 14:52:35 CET 2009


Hello,

I am using successfully EAP-PEAP/mschapv2 with FreeRaduis 2.1.6 to 
authenticate Windows Vista, Windows XP users. Now I would like to 
authenticate both Windows Vista, Windows XP users and Windows Mobile 6.1 users.
But when I tried to authenticate Windows Mobile 6.1 user then I failed.
The radiusd configuration is the same as for Windows Vista, Windows XP.

Below are extract from radiusd configuration files and 
the debug output of radiusd.


users
-----

shevel Cleartext-Password := "user password"


eap.conf
--------

eap {
      ...
      default_eap_type = peap
      ignore_unknown_eap_types = no
      ...

peap {
      default_eap_type = mschapv2
      copy_request_to_tunnel = yes
      use_tunneled_reply = no
      proxy_tunneled_request_as_eap = no
      virtual_server = "inner-tunnel"
      }

modules/mschap
--------------

use_mppe = yes
require_encryption = yes
require_strong = yes
with_ntdomain_hack = yes



modules/preprocess
------------------

with_ascend_hack = no
with_ntdomain_hack = no
with_specialix_jetstream_hack = no

sites-enabled/default
---------------------

authorize {
           preprocess
           mschap
           suffix
           ntdomain
           }

sites-enabled/inner-tunnel
--------------------------

server inner-tunnel {
            authorize {
                      mschap
                      ntdomain
                      ...
                      }
}


What is the reason of the Windows Mobile 6 authentication failure ?
Any ideas ?

May be I need to create 2 different configurations: one for Windows 
XP/Vista and another one for Windows Mobile ?

How to do this ?

And what modification to current configuration should I do to make
Windows Mobile authentication work ?

Thanks.

Below is the output of /usr/local/sbin/radiusd -X

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


FreeRADIUS Version 2.1.6, for host i686-pc-linux-gnu, built on Jun 25 2009 at 10:47:00
Copyright (C) 1999-2009 The FreeRADIUS server project and contributors. 
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A 
PARTICULAR PURPOSE. 
You may redistribute copies of FreeRADIUS under the terms of the 
GNU General Public License v2. 
Starting - reading configuration files ...
including configuration file /usr/local/etc/raddb/radiusd.conf
including configuration file /usr/local/etc/raddb/proxy.conf
including configuration file /usr/local/etc/raddb/clients.conf
including files in directory /usr/local/etc/raddb/modules/
including configuration file /usr/local/etc/raddb/modules/realm
including configuration file /usr/local/etc/raddb/modules/expiration
including configuration file /usr/local/etc/raddb/modules/radutmp
including configuration file /usr/local/etc/raddb/modules/exec
including configuration file /usr/local/etc/raddb/modules/policy
including configuration file /usr/local/etc/raddb/modules/expr
including configuration file /usr/local/etc/raddb/modules/linelog
including configuration file /usr/local/etc/raddb/modules/smsotp
including configuration file /usr/local/etc/raddb/modules/ldap
including configuration file /usr/local/etc/raddb/modules/counter
including configuration file /usr/local/etc/raddb/modules/wimax
including configuration file /usr/local/etc/raddb/modules/chap
including configuration file /usr/local/etc/raddb/modules/sql_log
including configuration file /usr/local/etc/raddb/modules/mac2ip
including configuration file /usr/local/etc/raddb/modules/krb5
including configuration file /usr/local/etc/raddb/modules/digest
including configuration file /usr/local/etc/raddb/modules/mschap
including configuration file /usr/local/etc/raddb/modules/perl
including configuration file /usr/local/etc/raddb/modules/mac2vlan
including configuration file /usr/local/etc/raddb/modules/unix
including configuration file /usr/local/etc/raddb/modules/inner-eap
including configuration file /usr/local/etc/raddb/modules/checkval
including configuration file /usr/local/etc/raddb/modules/acct_unique
including configuration file /usr/local/etc/raddb/modules/logintime
including configuration file /usr/local/etc/raddb/modules/detail.example.com
including configuration file /usr/local/etc/raddb/modules/attr_rewrite
including configuration file /usr/local/etc/raddb/modules/always
including configuration file /usr/local/etc/raddb/modules/attr_filter
including configuration file /usr/local/etc/raddb/modules/smbpasswd
including configuration file /usr/local/etc/raddb/modules/etc_group
including configuration file /usr/local/etc/raddb/modules/echo
including configuration file /usr/local/etc/raddb/modules/ippool
including configuration file /usr/local/etc/raddb/modules/preprocess
including configuration file /usr/local/etc/raddb/modules/sqlcounter_expire_on_login
including configuration file /usr/local/etc/raddb/modules/pam
including configuration file /usr/local/etc/raddb/modules/otp
including configuration file /usr/local/etc/raddb/modules/detail
including configuration file /usr/local/etc/raddb/modules/sradutmp
including configuration file /usr/local/etc/raddb/modules/pap
including configuration file /usr/local/etc/raddb/modules/files
including configuration file /usr/local/etc/raddb/modules/passwd
including configuration file /usr/local/etc/raddb/modules/detail.log
including configuration file /usr/local/etc/raddb/eap.conf
including configuration file /usr/local/etc/raddb/policy.conf
including files in directory /usr/local/etc/raddb/sites-enabled/
including configuration file /usr/local/etc/raddb/sites-enabled/inner-tunnel
including configuration file /usr/local/etc/raddb/sites-enabled/control-socket
including configuration file /usr/local/etc/raddb/sites-enabled/default
group = radiusd
user = radiusd
including dictionary file /usr/local/etc/raddb/dictionary
main {
 	prefix = "/usr/local"
 	localstatedir = "/usr/local/var"
 	logdir = "/usr/local/var/log/radius"
 	libdir = "/usr/local/lib"
 	radacctdir = "/usr/local/var/log/radius/radacct"
 	hostname_lookups = no
 	max_request_time = 30
 	cleanup_delay = 5
 	max_requests = 1024
 	allow_core_dumps = no
 	pidfile = "/usr/local/var/run/radiusd/radiusd.pid"
 	checkrad = "/usr/local/sbin/checkrad"
 	debug_level = 0
 	proxy_requests = yes
  log {
 	stripped_names = no
 	auth = yes
 	auth_badpass = no
 	auth_goodpass = no
  }
  security {
 	max_attributes = 200
 	reject_delay = 1
 	status_server = yes
  }
}
radiusd: #### Loading Realms and Home Servers ####
  proxy server {
 	retry_delay = 5
 	retry_count = 3
 	default_fallback = yes
 	dead_time = 120
 	wake_all_if_all_dead = no
  }
  realm LOCAL {
 	authhost = LOCAL
 	accthost = LOCAL
  }
  realm DEFAULT {
 	authhost = LOCAL
 	accthost = LOCAL
  }
radiusd: #### Loading Clients ####
  client 127.0.0.1 {
 	require_message_authenticator = no
 	secret = "testing123"
 	shortname = "localhost"
 	nastype = "other"
  }
  client 192.168.14.240 {
 	require_message_authenticator = no
 	secret = "HEPD_AP_7760"
 	shortname = "3com7760"
 	nastype = "other"
  }
  client 192.168.14.241 {
 	require_message_authenticator = no
 	secret = "HEPD_AP_9150"
 	shortname = "3com9150"
 	nastype = "other"
  }
radiusd: #### Instantiating modules ####
  instantiate {
  Module: Linked to module rlm_exec
  Module: Instantiating exec
   exec {
 	wait = no
 	input_pairs = "request"
 	shell_escape = yes
   }
  Module: Linked to module rlm_expr
  Module: Instantiating expr
  Module: Linked to module rlm_expiration
  Module: Instantiating expiration
   expiration {
 	reply-message = "Password Has Expired  "
   }
  Module: Linked to module rlm_logintime
  Module: Instantiating logintime
   logintime {
 	reply-message = "You are calling outside your allowed timespan  "
 	minimum-timeout = 60
   }
  }
radiusd: #### Loading Virtual Servers ####
server inner-tunnel {
  modules {
  Module: Checking authenticate {...} for more modules to load
  Module: Linked to module rlm_pap
  Module: Instantiating pap
   pap {
 	encryption_scheme = "auto"
 	auto_header = no
   }
  Module: Linked to module rlm_chap
  Module: Instantiating chap
  Module: Linked to module rlm_mschap
  Module: Instantiating mschap
   mschap {
 	use_mppe = yes
 	require_encryption = yes
 	require_strong = yes
 	with_ntdomain_hack = yes
   }
  Module: Linked to module rlm_unix
  Module: Instantiating unix
   unix {
 	radwtmp = "/usr/local/var/log/radius/radwtmp"
   }
  Module: Linked to module rlm_eap
  Module: Instantiating eap
   eap {
 	default_eap_type = "peap"
 	timer_expire = 60
 	ignore_unknown_eap_types = no
 	cisco_accounting_username_bug = no
 	max_sessions = 2048
   }
  Module: Linked to sub-module rlm_eap_md5
  Module: Instantiating eap-md5
  Module: Linked to sub-module rlm_eap_leap
  Module: Instantiating eap-leap
  Module: Linked to sub-module rlm_eap_gtc
  Module: Instantiating eap-gtc
    gtc {
 	challenge = "Password: "
 	auth_type = "PAP"
    }
  Module: Linked to sub-module rlm_eap_tls
  Module: Instantiating eap-tls
    tls {
 	rsa_key_exchange = no
 	dh_key_exchange = yes
 	rsa_key_length = 512
 	dh_key_length = 512
 	verify_depth = 0
 	pem_file_type = yes
 	private_key_file = "/usr/local/etc/raddb/certs/server.pem"
 	certificate_file = "/usr/local/etc/raddb/certs/server.pem"
 	CA_file = "/usr/local/etc/raddb/certs/ca.pem"
 	private_key_password = "whatever"
 	dh_file = "/usr/local/etc/raddb/certs/dh"
 	random_file = "/usr/local/etc/raddb/certs/random"
 	fragment_size = 1024
 	include_length = yes
 	check_crl = no
 	cipher_list = "DEFAULT"
 	make_cert_command = "/usr/local/etc/raddb/certs/bootstrap"
     cache {
 	enable = no
 	lifetime = 24
 	max_entries = 255
     }
    }
  Module: Linked to sub-module rlm_eap_peap
  Module: Instantiating eap-peap
    peap {
 	default_eap_type = "mschapv2"
 	copy_request_to_tunnel = yes
 	use_tunneled_reply = no
 	proxy_tunneled_request_as_eap = no
 	virtual_server = "inner-tunnel"
    }
  Module: Linked to sub-module rlm_eap_mschapv2
  Module: Instantiating eap-mschapv2
    mschapv2 {
 	with_ntdomain_hack = no
    }
  Module: Checking authorize {...} for more modules to load
  Module: Linked to module rlm_realm
  Module: Instantiating ntdomain
   realm ntdomain {
 	format = "prefix"
 	delimiter = "\"
 	ignore_default = no
 	ignore_null = no
   }
  Module: Linked to module rlm_files
  Module: Instantiating files
   files {
 	usersfile = "/usr/local/etc/raddb/users"
 	acctusersfile = "/usr/local/etc/raddb/acct_users"
 	preproxy_usersfile = "/usr/local/etc/raddb/preproxy_users"
 	compat = "no"
   }
  Module: Checking session {...} for more modules to load
  Module: Linked to module rlm_radutmp
  Module: Instantiating radutmp
   radutmp {
 	filename = "/usr/local/var/log/radius/radutmp"
 	username = "%{User-Name}"
 	case_sensitive = yes
 	check_with_nas = yes
 	perm = 384
 	callerid = yes
   }
  Module: Checking post-proxy {...} for more modules to load
  Module: Checking post-auth {...} for more modules to load
  Module: Linked to module rlm_attr_filter
  Module: Instantiating attr_filter.access_reject
   attr_filter attr_filter.access_reject {
 	attrsfile = "/usr/local/etc/raddb/attrs.access_reject"
 	key = "%{User-Name}"
   }
  } # modules
} # server
server {
  modules {
  Module: Checking authenticate {...} for more modules to load
  Module: Checking authorize {...} for more modules to load
  Module: Linked to module rlm_preprocess
  Module: Instantiating preprocess
   preprocess {
 	huntgroups = "/usr/local/etc/raddb/huntgroups"
 	hints = "/usr/local/etc/raddb/hints"
 	with_ascend_hack = no
 	ascend_channels_per_line = 23
 	with_ntdomain_hack = no
 	with_specialix_jetstream_hack = no
 	with_cisco_vsa_hack = no
 	with_alvarion_vsa_hack = no
   }
  Module: Instantiating suffix
   realm suffix {
 	format = "suffix"
 	delimiter = "@"
 	ignore_default = no
 	ignore_null = no
   }
  Module: Checking preacct {...} for more modules to load
  Module: Linked to module rlm_acct_unique
  Module: Instantiating acct_unique
   acct_unique {
 	key = "User-Name, Acct-Session-Id, NAS-IP-Address, Client-IP-Address, NAS-Port"
   }
  Module: Checking accounting {...} for more modules to load
  Module: Linked to module rlm_detail
  Module: Instantiating detail
   detail {
 	detailfile = "/usr/local/var/log/radius/radacct/%{Client-IP-Address}/detail-%Y%m%d"
 	header = "%t"
 	detailperm = 384
 	dirperm = 493
 	locking = no
 	log_packet_header = no
   }
  Module: Instantiating attr_filter.accounting_response
   attr_filter attr_filter.accounting_response {
 	attrsfile = "/usr/local/etc/raddb/attrs.accounting_response"
 	key = "%{User-Name}"
   }
  Module: Checking session {...} for more modules to load
  Module: Checking post-proxy {...} for more modules to load
  Module: Checking post-auth {...} for more modules to load
  } # modules
} # server
radiusd: #### Opening IP addresses and Ports ####
listen {
 	type = "auth"
 	ipaddr = *
 	port = 0
}
listen {
 	type = "acct"
 	ipaddr = *
 	port = 0
}
listen {
 	type = "control"
  listen {
 	socket = "/usr/local/var/run/radiusd/radiusd.sock"
  }
}
Listening on authentication address * port 1812
Listening on accounting address * port 1813
Listening on command file /usr/local/var/run/radiusd/radiusd.sock
Listening on proxy address * port 1814
Ready to process requests.
rad_recv: Access-Request packet from host 192.168.14.241 port 3073, id=95, length=169
 	User-Name = "shevel at 123456"
 	NAS-IP-Address = 192.168.14.241
 	NAS-Port = 0
 	Called-Station-Id = "00-1E-C1-AE-56-22:HEPD-COMMON"
 	Calling-Station-Id = "00-0B-6C-AD-EF-3F"
 	Framed-MTU = 1400
 	NAS-Port-Type = Wireless-802.11
 	Connect-Info = "CONNECT 0Mbps 802.11"
 	EAP-Message = 0x020000120173686576656c40313233343536
 	Message-Authenticator = 0xd0bc1d686e458563ba88ceea73826f17
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
[suffix] Looking up realm "123456" for User-Name = "shevel at 123456"
[suffix] Found realm "DEFAULT"
[suffix] Adding Stripped-User-Name = "shevel"
[suffix] Adding Realm = "DEFAULT"
[suffix] Authentication realm is LOCAL.
++[suffix] returns ok
[ntdomain] Request already proxied.  Ignoring.
++[ntdomain] returns ok
[eap] EAP packet type response id 0 length 18
[eap] No EAP Start, assuming it's an on-going EAP conversation
++[eap] returns updated
++[unix] returns notfound
[files] users: Matched entry DEFAULT at line 159
[files] users: Matched entry shevel at line 229
++[files] returns ok
++[expiration] returns noop
++[logintime] returns noop
[pap] Found existing Auth-Type, not changing it.
++[pap] returns noop
Found Auth-Type = EAP
+- entering group authenticate {...}
[eap] EAP Identity
[eap] processing type tls
[tls] Initiate
[tls] Start returned 1
++[eap] returns handled
Sending Access-Challenge of id 95 to 192.168.14.241 port 3073
 	EAP-Message = 0x010100061920
 	Message-Authenticator = 0x00000000000000000000000000000000
 	State = 0xcb3f8684cb3e9f3a0f548964cc34d2be
Finished request 0.
Going to the next request
Waking up in 4.9 seconds.
rad_recv: Access-Request packet from host 192.168.14.241 port 3073, id=96, length=247
 	User-Name = "shevel at 123456"
 	NAS-IP-Address = 192.168.14.241
 	NAS-Port = 0
 	Called-Station-Id = "00-1E-C1-AE-56-22:HEPD-COMMON"
 	Calling-Station-Id = "00-0B-6C-AD-EF-3F"
 	Framed-MTU = 1400
 	NAS-Port-Type = Wireless-802.11
 	Connect-Info = "CONNECT 0Mbps 802.11"
 	EAP-Message = 0x0201004e198000000044160301003f0100003b03010c7a36c9f1c7d88151e657837f6715deef58fc35e23045d0cab91ee65c434223000014002f003500040005000a000900640062000300060100
 	State = 0xcb3f8684cb3e9f3a0f548964cc34d2be
 	Message-Authenticator = 0xf0df16de8a7c92acef3ce1ef6f557e96
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
[suffix] Looking up realm "123456" for User-Name = "shevel at 123456"
[suffix] Found realm "DEFAULT"
[suffix] Adding Stripped-User-Name = "shevel"
[suffix] Adding Realm = "DEFAULT"
[suffix] Authentication realm is LOCAL.
++[suffix] returns ok
[ntdomain] Request already proxied.  Ignoring.
++[ntdomain] returns ok
[eap] EAP packet type response id 1 length 78
[eap] Continuing tunnel setup.
++[eap] returns ok
Found Auth-Type = EAP
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP/peap
[eap] processing type peap
[peap] processing EAP-TLS
   TLS Length 68
[peap] Length Included
[peap] eaptls_verify returned 11 
[peap]     (other): before/accept initialization 
[peap]     TLS_accept: before/accept initialization 
[peap] <<< TLS 1.0 Handshake [length 003f], ClientHello 
[peap]     TLS_accept: SSLv3 read client hello A 
[peap] >>> TLS 1.0 Handshake [length 002a], ServerHello 
[peap]     TLS_accept: SSLv3 write server hello A 
[peap] >>> TLS 1.0 Handshake [length 084e], Certificate 
[peap]     TLS_accept: SSLv3 write certificate A 
[peap] >>> TLS 1.0 Handshake [length 0004], ServerHelloDone 
[peap]     TLS_accept: SSLv3 write server done A 
[peap]     TLS_accept: SSLv3 flush data 
[peap]     TLS_accept: Need to read more data: SSLv3 read client certificate A
In SSL Handshake Phase 
In SSL Accept mode 
[peap] eaptls_process returned 13 
[peap] EAPTLS_HANDLED
++[eap] returns handled
Sending Access-Challenge of id 96 to 192.168.14.241 port 3073
 	EAP-Message = 0x0102040019c00000088b160301002a0200002603014aefe47e8c9f469ed24a9d7a1916697b61369ff3aa31c4b6de3375ec738b63b200002f00160301084e0b00084a0008470003a6308203a23082028aa003020102020101300d06092a864886f70d0101040500308193310b3009060355040613024652310f300d060355040813065261646975733112301006035504071309536f6d65776865726531153013060355040a130c4578616d706c6520496e632e3120301e06092a864886f70d010901161161646d696e406578616d706c652e636f6d312630240603550403131d4578616d706c6520436572746966696361746520417574686f72697479
 	EAP-Message = 0x301e170d3039303632353038343934325a170d3130303632353038343934325a307c310b3009060355040613024652310f300d0603550408130652616469757331153013060355040a130c4578616d706c6520496e632e312330210603550403131a4578616d706c65205365727665722043657274696669636174653120301e06092a864886f70d010901161161646d696e406578616d706c652e636f6d30820122300d06092a864886f70d01010105000382010f003082010a0282010100afa137c1faa18184c11783fd931dbf08e3b3aab700e05e2d16471c85e470302c6d9db3068b833e463ff3cdaa6b2140447d2b7d151704863ad7439873ea51
 	EAP-Message = 0xe98c8abecfdd6268e021a8a17fb6966857f052859cef7a6bdcec12d2127ab2bc72c2b785a25f33c61aec0ff80079a53fb35cdbaebbfa29de9b24841a9a6c46a08073d66b09f3149fc840696c56ef61943d5e2679be18fc2733a012e261b9e9e6ae20c7ba01e2c6e4bfb3ce39325000bc51a2230319e4f8b16bffa46deb80631149f3e97333105b307b101958e9b83407c4398deb9cb32f7c23bdba70c091e79258f0c191edd239290beb26d0aaa8adf6f5ece5f633aef45ef0d4fea2c52b56fc39110203010001a317301530130603551d25040c300a06082b06010505070301300d06092a864886f70d01010405000382010100973882c5663e2d6b29
 	EAP-Message = 0xf37acb064274e515f88c05490e81fcb594b8678a665ae9d17134a3e3fdb2df801547f84071730fa696eef58f5c1d73841e52aa2c9a4074cf288ef7158e4f3ae68db182c1798f3da6d86bda0a8a9c54de39f2d94d3e0687a8fa46faedcd36bcc64fd9f2cd74055682782684f674d377c0e2457f5ad4efa4ec460c7527c80769a270128e0a6d12cb79d0bb12fe0a1bb81f6c20b98873ac6718cd0d02ebb7de1cdd720360252cc736c2e84bfe1c87a695dcb7e2b4d982f0736305017d65ec72506bed1578f806479bedc2b5bfa83f0e15ccc03bbe908e734351e5843806e9dcb659b98056909aeed953e9e24d7e0e1f8163deb5f4f5076e5c00049b308204
 	EAP-Message = 0x973082037fa0030201020201
 	Message-Authenticator = 0x00000000000000000000000000000000
 	State = 0xcb3f8684ca3d9f3a0f548964cc34d2be
Finished request 1.
Going to the next request
Waking up in 4.6 seconds.
rad_recv: Access-Request packet from host 192.168.14.241 port 3073, id=97, length=175
 	User-Name = "shevel at 123456"
 	NAS-IP-Address = 192.168.14.241
 	NAS-Port = 0
 	Called-Station-Id = "00-1E-C1-AE-56-22:HEPD-COMMON"
 	Calling-Station-Id = "00-0B-6C-AD-EF-3F"
 	Framed-MTU = 1400
 	NAS-Port-Type = Wireless-802.11
 	Connect-Info = "CONNECT 0Mbps 802.11"
 	EAP-Message = 0x020200061900
 	State = 0xcb3f8684ca3d9f3a0f548964cc34d2be
 	Message-Authenticator = 0x17627a403a68c19a5d33a1e312e5c6a6
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
[suffix] Looking up realm "123456" for User-Name = "shevel at 123456"
[suffix] Found realm "DEFAULT"
[suffix] Adding Stripped-User-Name = "shevel"
[suffix] Adding Realm = "DEFAULT"
[suffix] Authentication realm is LOCAL.
++[suffix] returns ok
[ntdomain] Request already proxied.  Ignoring.
++[ntdomain] returns ok
[eap] EAP packet type response id 2 length 6
[eap] Continuing tunnel setup.
++[eap] returns ok
Found Auth-Type = EAP
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP/peap
[eap] processing type peap
[peap] processing EAP-TLS
[peap] Received TLS ACK
[peap] ACK handshake fragment handler
[peap] eaptls_verify returned 1 
[peap] eaptls_process returned 13 
[peap] EAPTLS_HANDLED
++[eap] returns handled
Sending Access-Challenge of id 97 to 192.168.14.241 port 3073
 	EAP-Message = 0x010303fc194000300d06092a864886f70d0101040500308193310b3009060355040613024652310f300d060355040813065261646975733112301006035504071309536f6d65776865726531153013060355040a130c4578616d706c6520496e632e3120301e06092a864886f70d010901161161646d696e406578616d706c652e636f6d312630240603550403131d4578616d706c6520436572746966696361746520417574686f72697479301e170d3039303632353038343934325a170d3130303632353038343934325a308193310b3009060355040613024652310f300d060355040813065261646975733112301006035504071309536f6d6577
 	EAP-Message = 0x6865726531153013060355040a130c4578616d706c6520496e632e3120301e06092a864886f70d010901161161646d696e406578616d706c652e636f6d312630240603550403131d4578616d706c6520436572746966696361746520417574686f7269747930820122300d06092a864886f70d01010105000382010f003082010a0282010100a056d1cfe5b95120cfb2ad67638c20cceb3feca1d22665f5d0379648340127cf5ffe26f48f46c04a1132b032d93b7f49417851f2e110fee7b457fbe2f99b47d3389b630dd2f78acf290b4ecb6d43466a19cb17063f1b2a1eefe1e6f34e1b0a20fa92fa17809a58e7120bc1a87db8865230df04775af5e1
 	EAP-Message = 0x16b46a471819383d8be674378c3d33bdc0a8d6686542a3ba1c32a97249786aea2c38a22a49992fcfaf54806b50415060a433e9dc013696f9c0240657098f46782b1d0536f691d9667f6c153a4d2982cb2f75a3a9ebfa4831caea445f4bff1ae6fe4ad8eec82213b2a20d02dd1b6cb2dc425698f21ede7c2917aa6f103749084b755046bb83a3746e2f0203010001a381f33081f0301d0603551d0e04160414d64b150fdb7f312ac6c3982680da07466046ab9f3081c00603551d230481b83081b58014d64b150fdb7f312ac6c3982680da07466046ab9fa18199a48196308193310b3009060355040613024652310f300d060355040813065261646975
 	EAP-Message = 0x733112301006035504071309536f6d65776865726531153013060355040a130c4578616d706c6520496e632e3120301e06092a864886f70d010901161161646d696e406578616d706c652e636f6d312630240603550403131d4578616d706c6520436572746966696361746520417574686f72697479820100300c0603551d13040530030101ff300d06092a864886f70d010104050003820101008d3084a08170518ab145f6969d1e61d2a228d5ffa21a60c154ab30774674df42fb32f5a22dad55d75ef2c7f44c93bb3e52c92763901b1299530780e1f195a85ccbbd78d8b527b3263bfa340a459ac472b90360b4408e11c10e81afbc325c10ec91fa
 	EAP-Message = 0xde231ca42761b9ba
 	Message-Authenticator = 0x00000000000000000000000000000000
 	State = 0xcb3f8684c93c9f3a0f548964cc34d2be
Finished request 2.
Going to the next request
Waking up in 4.6 seconds.
rad_recv: Access-Request packet from host 192.168.14.241 port 3073, id=98, length=175
 	User-Name = "shevel at 123456"
 	NAS-IP-Address = 192.168.14.241
 	NAS-Port = 0
 	Called-Station-Id = "00-1E-C1-AE-56-22:HEPD-COMMON"
 	Calling-Station-Id = "00-0B-6C-AD-EF-3F"
 	Framed-MTU = 1400
 	NAS-Port-Type = Wireless-802.11
 	Connect-Info = "CONNECT 0Mbps 802.11"
 	EAP-Message = 0x020300061900
 	State = 0xcb3f8684c93c9f3a0f548964cc34d2be
 	Message-Authenticator = 0x5d9480ba43e30c98f2bf76bf2d51c014
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
[suffix] Looking up realm "123456" for User-Name = "shevel at 123456"
[suffix] Found realm "DEFAULT"
[suffix] Adding Stripped-User-Name = "shevel"
[suffix] Adding Realm = "DEFAULT"
[suffix] Authentication realm is LOCAL.
++[suffix] returns ok
[ntdomain] Request already proxied.  Ignoring.
++[ntdomain] returns ok
[eap] EAP packet type response id 3 length 6
[eap] Continuing tunnel setup.
++[eap] returns ok
Found Auth-Type = EAP
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP/peap
[eap] processing type peap
[peap] processing EAP-TLS
[peap] Received TLS ACK
[peap] ACK handshake fragment handler
[peap] eaptls_verify returned 1 
[peap] eaptls_process returned 13 
[peap] EAPTLS_HANDLED
++[eap] returns handled
Sending Access-Challenge of id 98 to 192.168.14.241 port 3073
 	EAP-Message = 0x010400a51900504fbacfc37f212076882bd7b098391319a08e59fc4d3dee5493579716c999ee20be7eed64f3b465e8ff5b718e9751b2c4ca5d1cd6700ccf0341f6a270aed40707094b7b6c39c78c581fa330b26bfb74042202fde6398f0fa591d0e164f5980d197175a49c7b9769cebfa4eef1f5527383f230b4df20935fa3903e171a05d038c6effefc1bf76e95dd86d637a53fc8ae83bdc13ea56d16030100040e000000
 	Message-Authenticator = 0x00000000000000000000000000000000
 	State = 0xcb3f8684c83b9f3a0f548964cc34d2be
Finished request 3.
Going to the next request
Waking up in 4.6 seconds.
Cleaning up request 0 ID 95 with timestamp +47
Waking up in 0.3 seconds.
Cleaning up request 1 ID 96 with timestamp +48
Cleaning up request 2 ID 97 with timestamp +48
Cleaning up request 3 ID 98 with timestamp +48
Ready to process requests.
rad_recv: Access-Request packet from host 192.168.14.241 port 3073, id=99, length=186
 	User-Name = "shevel at 123456"
 	NAS-IP-Address = 192.168.14.241
 	NAS-Port = 0
 	Called-Station-Id = "00-1E-C1-AE-56-22:HEPD-COMMON"
 	Calling-Station-Id = "00-0B-6C-AD-EF-3F"
 	Framed-MTU = 1400
 	NAS-Port-Type = Wireless-802.11
 	Connect-Info = "CONNECT 0Mbps 802.11"
 	EAP-Message = 0x0204001119800000000715030100020231
 	State = 0xcb3f8684c83b9f3a0f548964cc34d2be
 	Message-Authenticator = 0x732c429f6f96f54209caaa0dd97a2a0b
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
[suffix] Looking up realm "123456" for User-Name = "shevel at 123456"
[suffix] Found realm "DEFAULT"
[suffix] Adding Stripped-User-Name = "shevel"
[suffix] Adding Realm = "DEFAULT"
[suffix] Authentication realm is LOCAL.
++[suffix] returns ok
[ntdomain] Request already proxied.  Ignoring.
++[ntdomain] returns ok
[eap] EAP packet type response id 4 length 17
[eap] Continuing tunnel setup.
++[eap] returns ok
Found Auth-Type = EAP
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP/peap
[eap] processing type peap
[peap] processing EAP-TLS
   TLS Length 7
[peap] Length Included
[peap] eaptls_verify returned 11 
[peap] <<< TLS 1.0 Alert [length 0002], fatal access_denied 
TLS Alert read:fatal:access denied
     TLS_accept:failed in SSLv3 read client certificate A 
rlm_eap: SSL error error:14094419:SSL routines:SSL3_READ_BYTES:tlsv1 alert access denied
SSL: SSL_read failed inside of TLS (-1), TLS session fails.
TLS receive handshake failed during operation
[peap] eaptls_process returned 4 
[peap] EAPTLS_OTHERS
[eap] Handler failed in EAP/peap
[eap] Failed in EAP select
++[eap] returns invalid
Failed to authenticate the user.
Login incorrect: [shevel at 123456] (from client 3com9150 port 0 cli 00-0B-6C-AD-EF-3F)
Using Post-Auth-Type Reject
+- entering group REJECT {...}
[attr_filter.access_reject] 	expand: %{User-Name} -> shevel at 123456
  attr_filter: Matched entry DEFAULT at line 11
++[attr_filter.access_reject] returns updated
Delaying reject of request 4 for 1 seconds
Going to the next request
Waking up in 0.9 seconds.
Sending delayed reject for request 4
Sending Access-Reject of id 99 to 192.168.14.241 port 3073
 	EAP-Message = 0x04040004
 	Message-Authenticator = 0x00000000000000000000000000000000
Waking up in 4.9 seconds.
Cleaning up request 4 ID 99 with timestamp +57
Ready to process requests.





More information about the Freeradius-Users mailing list