Ok, I tried using phase2 eap=md5 instead of autheap=md5, but the server still chooses mschapv2. Here is my supplicant config and radiusd output, thanks for taking a look... ctrl_interface=/var/run/wpa_supplicant fast_reauth=1 concurrent_assoc_ok=1 accept_external_scan_results=1 scan_cur_freq=1 min_scan_gap=5 p2p_disabled=1 bss_max_count=2000 network={ ssid="ac-vap-ch149" disable_ht=0 disable_vht=0 ieee80211w=0 disable_ht40=0 disable_sgi=0 ht_mcs="" disable_max_amsdu=-1 ampdu_factor=-1 ampdu_density=-1 proto=RSN key_mgmt=WPA-EAP eap=PEAP ocsp=0 pairwise=TKIP CCMP group=TKIP CCMP identity="testuser" password="testpasswd" phase2="eap=MD5" proactive_key_caching=0 } [1mradiusd: FreeRADIUS Version 3.0.3, for host x86_64-redhat-linux-gnu, built on Jun 3 2014 at 12:39:33[0m [1mCopyright (C) 1999-2014 The FreeRADIUS server project and contributors[0m [1mThere is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A[0m [1mPARTICULAR PURPOSE[0m [1mYou may redistribute copies of FreeRADIUS under the terms of the[0m [1mGNU General Public License[0m [1mFor more information about these matters, see the file named COPYRIGHT[0m [1mStarting - reading configuration files ...[0m including dictionary file /usr/share/freeradius/dictionary including dictionary file /usr/share/freeradius/dictionary.dhcp including dictionary file /usr/share/freeradius/dictionary.vqp including dictionary file /etc/raddb/dictionary including configuration file /etc/raddb/radiusd.conf including configuration file /etc/raddb/proxy.conf including configuration file /etc/raddb/clients.conf including files in directory /etc/raddb/mods-enabled/ including configuration file /etc/raddb/mods-enabled/soh including configuration file /etc/raddb/mods-enabled/linelog including configuration file /etc/raddb/mods-enabled/pap including configuration file /etc/raddb/mods-enabled/utf8 including configuration file /etc/raddb/mods-enabled/ntlm_auth including configuration file /etc/raddb/mods-enabled/eap including configuration file /etc/raddb/mods-enabled/mschap including configuration file /etc/raddb/mods-enabled/unix including configuration file /etc/raddb/mods-enabled/cache_eap including configuration file /etc/raddb/mods-enabled/files including configuration file /etc/raddb/mods-enabled/expiration including configuration file /etc/raddb/mods-enabled/chap including configuration file /etc/raddb/mods-enabled/passwd including configuration file /etc/raddb/mods-enabled/expr including configuration file /etc/raddb/mods-enabled/digest including configuration file /etc/raddb/mods-enabled/preprocess including configuration file /etc/raddb/mods-enabled/echo including configuration file /etc/raddb/mods-enabled/dhcp including configuration file /etc/raddb/mods-enabled/detail including configuration file /etc/raddb/mods-enabled/unpack including configuration file /etc/raddb/mods-enabled/logintime including configuration file /etc/raddb/mods-enabled/dynamic_clients including configuration file /etc/raddb/mods-enabled/attr_filter including configuration file /etc/raddb/mods-enabled/realm including configuration file /etc/raddb/mods-enabled/always including configuration file /etc/raddb/mods-enabled/exec including configuration file /etc/raddb/mods-enabled/replicate including configuration file /etc/raddb/mods-enabled/radutmp including configuration file /etc/raddb/mods-enabled/sradutmp including configuration file /etc/raddb/mods-enabled/detail.log including files in directory /etc/raddb/policy.d/ including configuration file /etc/raddb/policy.d/operator-name including configuration file /etc/raddb/policy.d/eap including configuration file /etc/raddb/policy.d/control including configuration file /etc/raddb/policy.d/filter including configuration file /etc/raddb/policy.d/canonicalization including configuration file /etc/raddb/policy.d/dhcp including configuration file /etc/raddb/policy.d/accounting including configuration file /etc/raddb/policy.d/cui including files in directory /etc/raddb/sites-enabled/ including configuration file /etc/raddb/sites-enabled/default including configuration file /etc/raddb/sites-enabled/inner-tunnel main { security { user = "radiusd" group = "radiusd" allow_core_dumps = no } } main { name = "radiusd" prefix = "/usr" localstatedir = "/var" sbindir = "/usr/sbin" logdir = "/var/log/radius" run_dir = "/var/run/radiusd" libdir = "/usr/lib64/freeradius" radacctdir = "/var/log/radius/radacct" hostname_lookups = no max_request_time = 30 cleanup_delay = 5 max_requests = 1024 pidfile = "/var/run/radiusd/radiusd.pid" checkrad = "/usr/sbin/checkrad" debug_level = 0 proxy_requests = yes log { stripped_names = no auth = no auth_badpass = no auth_goodpass = no colourise = yes msg_denied = "You are already logged in - access denied" } security { max_attributes = 200 reject_delay = 1 status_server = yes allow_vulnerable_openssl = "CVE-2014-0160" } } radiusd: #### Loading Realms and Home Servers #### proxy server { retry_delay = 5 retry_count = 3 default_fallback = no dead_time = 120 wake_all_if_all_dead = no } home_server localhost { ipaddr = 127.0.0.1 port = 1812 type = "auth" secret = <<< secret >>> response_window = 20 max_outstanding = 65536 zombie_period = 40 status_check = "status-server" ping_interval = 30 check_interval = 30 num_answers_to_alive = 3 revive_interval = 120 status_check_timeout = 4 coa { irt = 2 mrt = 16 mrc = 5 mrd = 30 } limit { max_connections = 16 max_requests = 0 lifetime = 0 idle_timeout = 0 } } home_server_pool my_auth_failover { type = fail-over home_server = localhost } realm example.com { auth_pool = my_auth_failover } realm LOCAL { } radiusd: #### Loading Clients #### client localhost { ipaddr = 127.0.0.1 require_message_authenticator = no secret = <<< secret >>> nas_type = "other" proto = "*" limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } radiusd: #### Instantiating modules #### instantiate { } modules { # Loaded module rlm_soh # Instantiating module "soh" from file /etc/raddb/mods-enabled/soh soh { dhcp = yes } # Loaded module rlm_linelog # Instantiating module "linelog" from file /etc/raddb/mods-enabled/linelog linelog { filename = "/var/log/radius/linelog" permissions = 384 format = "This is a log message for %{User-Name}" reference = "messages.%{%{Packet-Type}:-default}" } # Instantiating module "log_accounting" from file /etc/raddb/mods-enabled/linelog linelog log_accounting { filename = "/var/log/radius/linelog-accounting" permissions = 384 format = "" reference = "Accounting-Request.%{%{Acct-Status-Type}:-unknown}" } # Loaded module rlm_pap # Instantiating module "pap" from file /etc/raddb/mods-enabled/pap pap { normalise = yes } # Loaded module rlm_utf8 # Instantiating module "utf8" from file /etc/raddb/mods-enabled/utf8 # Loaded module rlm_exec # Instantiating module "ntlm_auth" from file /etc/raddb/mods-enabled/ntlm_auth exec ntlm_auth { wait = yes program = "/path/to/ntlm_auth --request-nt-key --domain=MYDOMAIN --username=%{mschap:User-Name} --password=%{User-Password}" shell_escape = yes } # Loaded module rlm_eap # Instantiating module "eap" from file /etc/raddb/mods-enabled/eap eap { default_eap_type = "md5" timer_expire = 60 ignore_unknown_eap_types = no mod_accounting_username_bug = no max_sessions = 1024 } # Linked to sub-module rlm_eap_md5 # Linked to sub-module rlm_eap_leap # Linked to sub-module rlm_eap_gtc gtc { challenge = "Password: " auth_type = "PAP" } # Linked to sub-module rlm_eap_tls tls { tls = "tls-common" } tls-config tls-common { rsa_key_exchange = no dh_key_exchange = yes rsa_key_length = 512 dh_key_length = 512 verify_depth = 0 ca_path = "/etc/raddb/certs" pem_file_type = yes private_key_file = "/etc/raddb/certs/server.pem" certificate_file = "/etc/raddb/certs/server.pem" ca_file = "/etc/raddb/certs/ca.pem" private_key_password = <<< secret >>> dh_file = "/etc/raddb/certs/dh" fragment_size = 1024 include_length = yes check_crl = no cipher_list = "DEFAULT" ecdh_curve = "prime256v1" cache { enable = yes lifetime = 24 max_entries = 255 } verify { } ocsp { enable = no override_cert_url = yes url = "http://127.0.0.1/ocsp/" use_nonce = yes timeout = 0 softfail = yes } } # Linked to sub-module rlm_eap_ttls ttls { tls = "tls-common" default_eap_type = "md5" copy_request_to_tunnel = no use_tunneled_reply = no virtual_server = "inner-tunnel" include_length = yes require_client_cert = no } Using cached TLS configuration from previous invocation # Linked to sub-module rlm_eap_peap peap { tls = "tls-common" default_method = "mschapv2" copy_request_to_tunnel = no use_tunneled_reply = no proxy_tunneled_request_as_eap = yes virtual_server = "inner-tunnel" soh = no require_client_cert = no } Using cached TLS configuration from previous invocation # Linked to sub-module rlm_eap_mschapv2 mschapv2 { with_ntdomain_hack = no send_error = no } # Loaded module rlm_mschap # Instantiating module "mschap" from file /etc/raddb/mods-enabled/mschap mschap { use_mppe = yes require_encryption = no require_strong = no with_ntdomain_hack = yes passchange { } allow_retry = yes } # Loaded module rlm_unix # Instantiating module "unix" from file /etc/raddb/mods-enabled/unix unix { radwtmp = "/var/log/radius/radwtmp" } # Loaded module rlm_cache # Instantiating module "cache_eap" from file /etc/raddb/mods-enabled/cache_eap cache cache_eap { key = "%{%{control:State}:-%{%{reply:State}:-%{State}}}" ttl = 15 max_entries = 16384 epoch = 0 add_stats = no } # Loaded module rlm_files # Instantiating module "files" from file /etc/raddb/mods-enabled/files files { filename = "/etc/raddb/mods-config/files/authorize" usersfile = "/etc/raddb/mods-config/files/authorize" acctusersfile = "/etc/raddb/mods-config/files/accounting" preproxy_usersfile = "/etc/raddb/mods-config/files/pre-proxy" compat = "cistron" } reading pairlist file /etc/raddb/mods-config/files/authorize [/etc/raddb/mods-config/files/authorize]:2 Cistron compatibility checks for entry lanforge ... [/etc/raddb/mods-config/files/authorize]:6 Cistron compatibility checks for entry testuser ... [/etc/raddb/mods-config/files/authorize]:188 Cistron compatibility checks for entry DEFAULT ... [/etc/raddb/mods-config/files/authorize]:195 Cistron compatibility checks for entry DEFAULT ... [/etc/raddb/mods-config/files/authorize]:202 Cistron compatibility checks for entry DEFAULT ... reading pairlist file /etc/raddb/mods-config/files/authorize [/etc/raddb/mods-config/files/authorize]:2 Cistron compatibility checks for entry lanforge ... [/etc/raddb/mods-config/files/authorize]:6 Cistron compatibility checks for entry testuser ... [/etc/raddb/mods-config/files/authorize]:188 Cistron compatibility checks for entry DEFAULT ... [/etc/raddb/mods-config/files/authorize]:195 Cistron compatibility checks for entry DEFAULT ... [/etc/raddb/mods-config/files/authorize]:202 Cistron compatibility checks for entry DEFAULT ... reading pairlist file /etc/raddb/mods-config/files/accounting reading pairlist file /etc/raddb/mods-config/files/pre-proxy # Loaded module rlm_expiration # Instantiating module "expiration" from file /etc/raddb/mods-enabled/expiration # Loaded module rlm_chap # Instantiating module "chap" from file /etc/raddb/mods-enabled/chap # Loaded module rlm_passwd # Instantiating module "etc_passwd" from file /etc/raddb/mods-enabled/passwd passwd etc_passwd { filename = "/etc/passwd" format = "*User-Name:Crypt-Password:" delimiter = ":" ignore_nislike = no ignore_empty = yes allow_multiple_keys = no hash_size = 100 } rlm_passwd: nfields: 3 keyfield 0(User-Name) listable: no # Loaded module rlm_expr # Instantiating module "expr" from file /etc/raddb/mods-enabled/expr expr { safe_characters = "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /" } # Loaded module rlm_digest # Instantiating module "digest" from file /etc/raddb/mods-enabled/digest # Loaded module rlm_preprocess # Instantiating module "preprocess" from file /etc/raddb/mods-enabled/preprocess preprocess { huntgroups = "/etc/raddb/mods-config/preprocess/huntgroups" hints = "/etc/raddb/mods-config/preprocess/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 } reading pairlist file /etc/raddb/mods-config/preprocess/huntgroups reading pairlist file /etc/raddb/mods-config/preprocess/hints # Instantiating module "echo" from file /etc/raddb/mods-enabled/echo exec echo { wait = yes program = "/bin/echo %{User-Name}" input_pairs = "request" output_pairs = "reply" shell_escape = yes } # Loaded module rlm_dhcp # Instantiating module "dhcp" from file /etc/raddb/mods-enabled/dhcp # Loaded module rlm_detail # Instantiating module "detail" from file /etc/raddb/mods-enabled/detail detail { filename = "/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d" header = "%t" permissions = 384 locking = no log_packet_header = no } # Loaded module rlm_unpack # Instantiating module "unpack" from file /etc/raddb/mods-enabled/unpack # Loaded module rlm_logintime # Instantiating module "logintime" from file /etc/raddb/mods-enabled/logintime logintime { minimum_timeout = 60 } # Loaded module rlm_dynamic_clients # Instantiating module "dynamic_clients" from file /etc/raddb/mods-enabled/dynamic_clients # Loaded module rlm_attr_filter # Instantiating module "attr_filter.post-proxy" from file /etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.post-proxy { filename = "/etc/raddb/mods-config/attr_filter/post-proxy" key = "%{Realm}" relaxed = no } reading pairlist file /etc/raddb/mods-config/attr_filter/post-proxy # Instantiating module "attr_filter.pre-proxy" from file /etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.pre-proxy { filename = "/etc/raddb/mods-config/attr_filter/pre-proxy" key = "%{Realm}" relaxed = no } reading pairlist file /etc/raddb/mods-config/attr_filter/pre-proxy # Instantiating module "attr_filter.access_reject" from file /etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.access_reject { filename = "/etc/raddb/mods-config/attr_filter/access_reject" key = "%{User-Name}" relaxed = no } reading pairlist file /etc/raddb/mods-config/attr_filter/access_reject # Instantiating module "attr_filter.access_challenge" from file /etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.access_challenge { filename = "/etc/raddb/mods-config/attr_filter/access_challenge" key = "%{User-Name}" relaxed = no } reading pairlist file /etc/raddb/mods-config/attr_filter/access_challenge # Instantiating module "attr_filter.accounting_response" from file /etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.accounting_response { filename = "/etc/raddb/mods-config/attr_filter/accounting_response" key = "%{User-Name}" relaxed = no } reading pairlist file /etc/raddb/mods-config/attr_filter/accounting_response # Loaded module rlm_realm # Instantiating module "IPASS" from file /etc/raddb/mods-enabled/realm realm IPASS { format = "prefix" delimiter = "/" ignore_default = no ignore_null = no } # Instantiating module "suffix" from file /etc/raddb/mods-enabled/realm realm suffix { format = "suffix" delimiter = "@" ignore_default = no ignore_null = no } # Instantiating module "realmpercent" from file /etc/raddb/mods-enabled/realm realm realmpercent { format = "suffix" delimiter = "%" ignore_default = no ignore_null = no } # Instantiating module "ntdomain" from file /etc/raddb/mods-enabled/realm realm ntdomain { format = "prefix" delimiter = "\" ignore_default = no ignore_null = no } # Loaded module rlm_always # Instantiating module "reject" from file /etc/raddb/mods-enabled/always always reject { rcode = "reject" simulcount = 0 mpp = no } # Instantiating module "fail" from file /etc/raddb/mods-enabled/always always fail { rcode = "fail" simulcount = 0 mpp = no } # Instantiating module "ok" from file /etc/raddb/mods-enabled/always always ok { rcode = "ok" simulcount = 0 mpp = no } # Instantiating module "handled" from file /etc/raddb/mods-enabled/always always handled { rcode = "handled" simulcount = 0 mpp = no } # Instantiating module "invalid" from file /etc/raddb/mods-enabled/always always invalid { rcode = "invalid" simulcount = 0 mpp = no } # Instantiating module "userlock" from file /etc/raddb/mods-enabled/always always userlock { rcode = "userlock" simulcount = 0 mpp = no } # Instantiating module "notfound" from file /etc/raddb/mods-enabled/always always notfound { rcode = "notfound" simulcount = 0 mpp = no } # Instantiating module "noop" from file /etc/raddb/mods-enabled/always always noop { rcode = "noop" simulcount = 0 mpp = no } # Instantiating module "updated" from file /etc/raddb/mods-enabled/always always updated { rcode = "updated" simulcount = 0 mpp = no } # Instantiating module "exec" from file /etc/raddb/mods-enabled/exec exec { wait = no input_pairs = "request" shell_escape = yes timeout = 10 } # Loaded module rlm_replicate # Instantiating module "replicate" from file /etc/raddb/mods-enabled/replicate # Loaded module rlm_radutmp # Instantiating module "radutmp" from file /etc/raddb/mods-enabled/radutmp radutmp { filename = "/var/log/radius/radutmp" username = "%{User-Name}" case_sensitive = yes check_with_nas = yes permissions = 384 caller_id = yes } # Instantiating module "sradutmp" from file /etc/raddb/mods-enabled/sradutmp radutmp sradutmp { filename = "/var/log/radius/sradutmp" username = "%{User-Name}" case_sensitive = yes check_with_nas = yes permissions = 420 caller_id = no } # Instantiating module "auth_log" from file /etc/raddb/mods-enabled/detail.log detail auth_log { filename = "/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d" header = "%t" permissions = 384 locking = no log_packet_header = no } rlm_detail (auth_log): 'User-Password' suppressed, will not appear in detail output # Instantiating module "reply_log" from file /etc/raddb/mods-enabled/detail.log detail reply_log { filename = "/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/reply-detail-%Y%m%d" header = "%t" permissions = 384 locking = no log_packet_header = no } # Instantiating module "pre_proxy_log" from file /etc/raddb/mods-enabled/detail.log detail pre_proxy_log { filename = "/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/pre-proxy-detail-%Y%m%d" header = "%t" permissions = 384 locking = no log_packet_header = no } # Instantiating module "post_proxy_log" from file /etc/raddb/mods-enabled/detail.log detail post_proxy_log { filename = "/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/post-proxy-detail-%Y%m%d" header = "%t" permissions = 384 locking = no log_packet_header = no } } # modules radiusd: #### Loading Virtual Servers #### server { # from file /etc/raddb/radiusd.conf } # server server default { # from file /etc/raddb/sites-enabled/default # Creating Auth-Type = digest # Loading authenticate {...} # Loading authorize {...} Ignoring "sql" (see raddb/mods-available/README.rst) Ignoring "ldap" (see raddb/mods-available/README.rst) # Loading preacct {...} # Loading accounting {...} # Loading post-proxy {...} # Loading post-auth {...} } # server default server inner-tunnel { # from file /etc/raddb/sites-enabled/inner-tunnel # Loading authenticate {...} # Loading authorize {...} # Loading session {...} # Loading post-proxy {...} # Loading post-auth {...} } # server inner-tunnel radiusd: #### Opening IP addresses and Ports #### listen { type = "auth" ipaddr = * port = 0 limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } listen { type = "acct" ipaddr = * port = 0 limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } listen { type = "auth" ipaddr = 127.0.0.1 port = 18120 } Listening on auth address * port 1812 as server default Listening on acct address * port 1813 as server default Listening on auth address 127.0.0.1 port 18120 as server inner-tunnel Opening new proxy socket 'proxy address * port 0' Listening on proxy address * port 14118 Ready to process requests. Received Access-Request Id 115 from 127.0.0.1:35433 to 127.0.0.1:1812 length 199 User-Name = 'testuser' NAS-IP-Address = 127.0.0.1 Called-Station-Id = '04-F0-21-17-94-44:ac-vap-ch149' NAS-Port-Type = Wireless-802.11 NAS-Port = 1 Calling-Station-Id = '04-F0-21-E7-56-41' Connect-Info = 'CONNECT 54Mbps 802.11a' Acct-Session-Id = '55DB92D7-0000000B' X-Ascend-Home-Agent-UDP-Port = 1027076 X-Ascend-Multilink-ID = 1027074 X-Ascend-Num-In-Multilink = 1027073 Framed-MTU = 1400 EAP-Message = 0x0264000d017465737475736572 Message-Authenticator = 0x5a43ead9f696947f84ed2658ddc077b2 (0) # Executing section authorize from file /etc/raddb/sites-enabled/default (0) authorize { (0) filter_username filter_username { (0) if (User-Name != "%{tolower:%{User-Name}}") (0) EXPAND %{tolower:%{User-Name}} (0) --> testuser (0) if (User-Name != "%{tolower:%{User-Name}}") -> FALSE (0) if (User-Name =~ / /) (0) if (User-Name =~ / /) -> FALSE (0) if (User-Name =~ /@.*@/ ) (0) if (User-Name =~ /@.*@/ ) -> FALSE (0) if (User-Name =~ /\\.\\./ ) (0) if (User-Name =~ /\\.\\./ ) -> FALSE (0) if ((User-Name =~ /@/) && (User-Name !~ /@(.+)\\.(.+)$/)) (0) if ((User-Name =~ /@/) && (User-Name !~ /@(.+)\\.(.+)$/)) -> FALSE (0) if (User-Name =~ /\\.$/) (0) if (User-Name =~ /\\.$/) -> FALSE (0) if (User-Name =~ /@\\./) (0) if (User-Name =~ /@\\./) -> FALSE (0) } # filter_username filter_username = notfound (0) [chap] = noop (0) [mschap] = noop (0) [digest] = noop (0) suffix : No '@' in User-Name = "testuser", looking up realm NULL (0) suffix : No such realm "NULL" (0) [suffix] = noop (0) eap : EAP packet type response id 100 length 13 (0) eap : EAP-Identity reply, returning 'ok' so we can short-circuit the rest of authorize (0) [eap] = ok (0) } # authorize = ok (0) Found Auth-Type = EAP (0) # Executing group from file /etc/raddb/sites-enabled/default (0) authenticate { (0) eap : Peer sent Identity (1) (0) eap : Calling eap_md5 to process EAP data (0) eap_md5 : Issuing MD5 Challenge (0) eap : New EAP session, adding 'State' attribute to reply 0x425c227b42392618 (0) [eap] = handled (0) } # authenticate = handled Sending Access-Challenge Id 115 from 127.0.0.1:1812 to 127.0.0.1:35433 EAP-Message = 0x016500160410a41c392327db84fc2f85202f3df189e3 Message-Authenticator = 0x00000000000000000000000000000000 State = 0x425c227b42392618d2ed423eb81d6eed (0) Finished request Waking up in 0.3 seconds. Received Access-Request Id 116 from 127.0.0.1:35433 to 127.0.0.1:1812 length 210 User-Name = 'testuser' NAS-IP-Address = 127.0.0.1 Called-Station-Id = '04-F0-21-17-94-44:ac-vap-ch149' NAS-Port-Type = Wireless-802.11 NAS-Port = 1 Calling-Station-Id = '04-F0-21-E7-56-41' Connect-Info = 'CONNECT 54Mbps 802.11a' Acct-Session-Id = '55DB92D7-0000000B' X-Ascend-Home-Agent-UDP-Port = 1027076 X-Ascend-Multilink-ID = 1027074 X-Ascend-Num-In-Multilink = 1027073 Framed-MTU = 1400 EAP-Message = 0x026500060319 State = 0x425c227b42392618d2ed423eb81d6eed Message-Authenticator = 0x1332bfacd1f9eaf7af985db132dd5563 (1) # Executing section authorize from file /etc/raddb/sites-enabled/default (1) authorize { (1) filter_username filter_username { (1) if (User-Name != "%{tolower:%{User-Name}}") (1) EXPAND %{tolower:%{User-Name}} (1) --> testuser (1) if (User-Name != "%{tolower:%{User-Name}}") -> FALSE (1) if (User-Name =~ / /) (1) if (User-Name =~ / /) -> FALSE (1) if (User-Name =~ /@.*@/ ) (1) if (User-Name =~ /@.*@/ ) -> FALSE (1) if (User-Name =~ /\\.\\./ ) (1) if (User-Name =~ /\\.\\./ ) -> FALSE (1) if ((User-Name =~ /@/) && (User-Name !~ /@(.+)\\.(.+)$/)) (1) if ((User-Name =~ /@/) && (User-Name !~ /@(.+)\\.(.+)$/)) -> FALSE (1) if (User-Name =~ /\\.$/) (1) if (User-Name =~ /\\.$/) -> FALSE (1) if (User-Name =~ /@\\./) (1) if (User-Name =~ /@\\./) -> FALSE (1) } # filter_username filter_username = notfound (1) [chap] = noop (1) [mschap] = noop (1) [digest] = noop (1) suffix : No '@' in User-Name = "testuser", looking up realm NULL (1) suffix : No such realm "NULL" (1) [suffix] = noop (1) eap : EAP packet type response id 101 length 6 (1) eap : No EAP Start, assuming it's an on-going EAP conversation (1) [eap] = updated (1) files : users: Matched entry testuser at line 6 (1) [files] = ok (1) [expiration] = noop (1) [logintime] = noop (1) WARNING: pap : Auth-Type already set. Not setting to PAP (1) [pap] = noop (1) } # authorize = updated (1) Found Auth-Type = EAP (1) # Executing group from file /etc/raddb/sites-enabled/default (1) authenticate { (1) eap : Expiring EAP session with state 0x425c227b42392618 (1) eap : Finished EAP session with state 0x425c227b42392618 (1) eap : Previous EAP request found for state 0x425c227b42392618, released from the list (1) eap : Peer sent NAK (3) (1) eap : Found mutually acceptable type PEAP (25) (1) eap : Calling eap_peap to process EAP data (1) eap_peap : Flushing SSL sessions (of #0) (1) eap_peap : Initiate (1) eap_peap : Start returned 1 (1) eap : New EAP session, adding 'State' attribute to reply 0x425c227b433a3b18 (1) [eap] = handled (1) } # authenticate = handled Sending Access-Challenge Id 116 from 127.0.0.1:1812 to 127.0.0.1:35433 EAP-Message = 0x016600061920 Message-Authenticator = 0x00000000000000000000000000000000 State = 0x425c227b433a3b18d2ed423eb81d6eed (1) Finished request Waking up in 0.3 seconds. Received Access-Request Id 117 from 127.0.0.1:35433 to 127.0.0.1:1812 length 461 User-Name = 'testuser' NAS-IP-Address = 127.0.0.1 Called-Station-Id = '04-F0-21-17-94-44:ac-vap-ch149' NAS-Port-Type = Wireless-802.11 NAS-Port = 1 Calling-Station-Id = '04-F0-21-E7-56-41' Connect-Info = 'CONNECT 54Mbps 802.11a' Acct-Session-Id = '55DB92D7-0000000B' X-Ascend-Home-Agent-UDP-Port = 1027076 X-Ascend-Multilink-ID = 1027074 X-Ascend-Num-In-Multilink = 1027073 Framed-MTU = 1400 EAP-Message = 0x026600ff1980000000f516030100f0010000ec030355dcd3750113b200f07c643937f33c4698fe2e65c8d563b41502b51c2cc7640a000084c030c02cc028c024c014c00a00a3009f006b006a0039003800880087c032c02ec02ac026c00fc005009d003d00350084c012c00800160013c00dc003000ac02fc02bc027c023c013c00900a2009e0067004000330032009a009900450044c031c02dc029c025c00ec004009c003c002f009600410007c011c007c00cc0020005000400ff0100003f000b000403000102000a00080006001900180017000d002200200601060206030501050205030401040204030301030203030201020202030101000f000101 State = 0x425c227b433a3b18d2ed423eb81d6eed Message-Authenticator = 0xa567fc532b5fe3932fc45396a7760976 (2) # Executing section authorize from file /etc/raddb/sites-enabled/default (2) authorize { (2) filter_username filter_username { (2) if (User-Name != "%{tolower:%{User-Name}}") (2) EXPAND %{tolower:%{User-Name}} (2) --> testuser (2) if (User-Name != "%{tolower:%{User-Name}}") -> FALSE (2) if (User-Name =~ / /) (2) if (User-Name =~ / /) -> FALSE (2) if (User-Name =~ /@.*@/ ) (2) if (User-Name =~ /@.*@/ ) -> FALSE (2) if (User-Name =~ /\\.\\./ ) (2) if (User-Name =~ /\\.\\./ ) -> FALSE (2) if ((User-Name =~ /@/) && (User-Name !~ /@(.+)\\.(.+)$/)) (2) if ((User-Name =~ /@/) && (User-Name !~ /@(.+)\\.(.+)$/)) -> FALSE (2) if (User-Name =~ /\\.$/) (2) if (User-Name =~ /\\.$/) -> FALSE (2) if (User-Name =~ /@\\./) (2) if (User-Name =~ /@\\./) -> FALSE (2) } # filter_username filter_username = notfound (2) [chap] = noop (2) [mschap] = noop (2) [digest] = noop (2) suffix : No '@' in User-Name = "testuser", looking up realm NULL (2) suffix : No such realm "NULL" (2) [suffix] = noop (2) eap : EAP packet type response id 102 length 255 (2) eap : Continuing tunnel setup. (2) [eap] = ok (2) } # authorize = ok (2) Found Auth-Type = EAP (2) # Executing group from file /etc/raddb/sites-enabled/default (2) authenticate { (2) eap : Expiring EAP session with state 0x425c227b433a3b18 (2) eap : Finished EAP session with state 0x425c227b433a3b18 (2) eap : Previous EAP request found for state 0x425c227b433a3b18, released from the list (2) eap : Peer sent PEAP (25) (2) eap : EAP PEAP (25) (2) eap : Calling eap_peap to process EAP data (2) eap_peap : processing EAP-TLS TLS Length 245 (2) eap_peap : Length Included (2) eap_peap : eaptls_verify returned 11 (2) eap_peap : (other): before/accept initialization (2) eap_peap : TLS_accept: before/accept initialization (2) eap_peap : <<< TLS 1.0 Handshake [length 00f0], ClientHello (2) eap_peap : TLS_accept: SSLv3 read client hello A (2) eap_peap : >>> TLS 1.0 Handshake [length 005e], ServerHello (2) eap_peap : TLS_accept: SSLv3 write server hello A (2) eap_peap : >>> TLS 1.0 Handshake [length 0919], Certificate (2) eap_peap : TLS_accept: SSLv3 write certificate A (2) eap_peap : >>> TLS 1.0 Handshake [length 014b], ServerKeyExchange (2) eap_peap : TLS_accept: SSLv3 write key exchange A (2) eap_peap : >>> TLS 1.0 Handshake [length 0004], ServerHelloDone (2) eap_peap : TLS_accept: SSLv3 write server done A (2) eap_peap : TLS_accept: SSLv3 flush data (2) eap_peap : TLS_accept: Need to read more data: SSLv3 read client certificate A In SSL Handshake Phase In SSL Accept mode (2) eap_peap : eaptls_process returned 13 (2) eap_peap : FR_TLS_HANDLED (2) eap : New EAP session, adding 'State' attribute to reply 0x425c227b403b3b18 (2) [eap] = handled (2) } # authenticate = handled Sending Access-Challenge Id 117 from 127.0.0.1:1812 to 127.0.0.1:35433 EAP-Message = 0x016703ec19c000000ada160301005e0200005a030155dcd375824a78b9c2950c0e97d6412dedea38e32402d480f31e19c2d8cfa988201fda4653cde1d52f5bbabdbde0c541b135031e28b1f622ec84e9a968ce43c70dc014000012ff01000100000b000403000102000f00010116030109190b0009150009120003fd308203f9308202e1a00302010202021004300d06092a864886f70d01010505003081a1310b3009060355040613025553310b30090603550408130257413111300f060355040713084665726e64616c6531223020060355040a131943616e64656c6120546563686e6f6c6f6769657320496e632e3126302406092a864886f70d0109011617737570706f72744063616e64656c61746563682e636f6d312630240603550403131d4578616d706c6520436572746966696361746520417574686f72697479301e170d3135303332343139303335385a170d3238313133303139303335385a30818b310b3009060355040613025553310b300906035504081302574131223020060355040a131943616e64656c6120546563686e6f6c6f6769657320496e632e312330210603550403131a4578616d706c65205365727665722043657274696669636174653126302406092a864886f70d0109011617737570706f72744063616e64656c61746563682e636f6d30820122300d06092 Message-Authenticator = 0x00000000000000000000000000000000 State = 0x425c227b403b3b18d2ed423eb81d6eed (2) Finished request Waking up in 0.3 seconds. Received Access-Request Id 118 from 127.0.0.1:35433 to 127.0.0.1:1812 length 210 User-Name = 'testuser' NAS-IP-Address = 127.0.0.1 Called-Station-Id = '04-F0-21-17-94-44:ac-vap-ch149' NAS-Port-Type = Wireless-802.11 NAS-Port = 1 Calling-Station-Id = '04-F0-21-E7-56-41' Connect-Info = 'CONNECT 54Mbps 802.11a' Acct-Session-Id = '55DB92D7-0000000B' X-Ascend-Home-Agent-UDP-Port = 1027076 X-Ascend-Multilink-ID = 1027074 X-Ascend-Num-In-Multilink = 1027073 Framed-MTU = 1400 EAP-Message = 0x026700061900 State = 0x425c227b403b3b18d2ed423eb81d6eed Message-Authenticator = 0x11c52c20e102c353349408ff505e89d1 (3) # Executing section authorize from file /etc/raddb/sites-enabled/default (3) authorize { (3) filter_username filter_username { (3) if (User-Name != "%{tolower:%{User-Name}}") (3) EXPAND %{tolower:%{User-Name}} (3) --> testuser (3) if (User-Name != "%{tolower:%{User-Name}}") -> FALSE (3) if (User-Name =~ / /) (3) if (User-Name =~ / /) -> FALSE (3) if (User-Name =~ /@.*@/ ) (3) if (User-Name =~ /@.*@/ ) -> FALSE (3) if (User-Name =~ /\\.\\./ ) (3) if (User-Name =~ /\\.\\./ ) -> FALSE (3) if ((User-Name =~ /@/) && (User-Name !~ /@(.+)\\.(.+)$/)) (3) if ((User-Name =~ /@/) && (User-Name !~ /@(.+)\\.(.+)$/)) -> FALSE (3) if (User-Name =~ /\\.$/) (3) if (User-Name =~ /\\.$/) -> FALSE (3) if (User-Name =~ /@\\./) (3) if (User-Name =~ /@\\./) -> FALSE (3) } # filter_username filter_username = notfound (3) [chap] = noop (3) [mschap] = noop (3) [digest] = noop (3) suffix : No '@' in User-Name = "testuser", looking up realm NULL (3) suffix : No such realm "NULL" (3) [suffix] = noop (3) eap : EAP packet type response id 103 length 6 (3) eap : Continuing tunnel setup. (3) [eap] = ok (3) } # authorize = ok (3) Found Auth-Type = EAP (3) # Executing group from file /etc/raddb/sites-enabled/default (3) authenticate { (3) eap : Expiring EAP session with state 0x425c227b403b3b18 (3) eap : Finished EAP session with state 0x425c227b403b3b18 (3) eap : Previous EAP request found for state 0x425c227b403b3b18, released from the list (3) eap : Peer sent PEAP (25) (3) eap : EAP PEAP (25) (3) eap : Calling eap_peap to process EAP data (3) eap_peap : processing EAP-TLS (3) eap_peap : Received TLS ACK (3) eap_peap : Received TLS ACK (3) eap_peap : ACK handshake fragment handler (3) eap_peap : eaptls_verify returned 1 (3) eap_peap : eaptls_process returned 13 (3) eap_peap : FR_TLS_HANDLED (3) eap : New EAP session, adding 'State' attribute to reply 0x425c227b41343b18 (3) [eap] = handled (3) } # authenticate = handled Sending Access-Challenge Id 118 from 127.0.0.1:1812 to 127.0.0.1:35433 EAP-Message = 0x016803e819400bb6c0da3a6f7818873f0279d606e0aeb56f2c2fff8928c6c5eef941db3bc116bbefb9eaa41733c0aa19ab2d764b47e75056a665144fbb09951b20559e50ad910303fd0f3c1eae82526b96e604e51e0e78c5b93b85044d1f27ef07b017dd151e74a778d28c73caa95dee831fc8fa6c02c98d0d8606d2f2a72e7aa15715a710ef07e3e73c76c87c5a5ddee6427a00050f3082050b308203f3a003020102020900a2f025aae13c9c30300d06092a864886f70d01010505003081a1310b3009060355040613025553310b30090603550408130257413111300f060355040713084665726e64616c6531223020060355040a131943616e64656c6120546563686e6f6c6f6769657320496e632e3126302406092a864886f70d0109011617737570706f72744063616e64656c61746563682e636f6d312630240603550403131d4578616d706c6520436572746966696361746520417574686f72697479301e170d3135303332343139303335385a170d3238313133303139303335385a3081a1310b3009060355040613025553310b30090603550408130257413111300f060355040713084665726e64616c6531223020060355040a131943616e64656c6120546563686e6f6c6f6769657320496e632e3126302406092a864886f70d0109011617737570706f72744063616e64656c61746 Message-Authenticator = 0x00000000000000000000000000000000 State = 0x425c227b41343b18d2ed423eb81d6eed (3) Finished request Waking up in 0.3 seconds. Received Access-Request Id 119 from 127.0.0.1:35433 to 127.0.0.1:1812 length 210 User-Name = 'testuser' NAS-IP-Address = 127.0.0.1 Called-Station-Id = '04-F0-21-17-94-44:ac-vap-ch149' NAS-Port-Type = Wireless-802.11 NAS-Port = 1 Calling-Station-Id = '04-F0-21-E7-56-41' Connect-Info = 'CONNECT 54Mbps 802.11a' Acct-Session-Id = '55DB92D7-0000000B' X-Ascend-Home-Agent-UDP-Port = 1027076 X-Ascend-Multilink-ID = 1027074 X-Ascend-Num-In-Multilink = 1027073 Framed-MTU = 1400 EAP-Message = 0x026800061900 State = 0x425c227b41343b18d2ed423eb81d6eed Message-Authenticator = 0xf0ae126288da340b2bb942f9613e1102 (4) # Executing section authorize from file /etc/raddb/sites-enabled/default (4) authorize { (4) filter_username filter_username { (4) if (User-Name != "%{tolower:%{User-Name}}") (4) EXPAND %{tolower:%{User-Name}} (4) --> testuser (4) if (User-Name != "%{tolower:%{User-Name}}") -> FALSE (4) if (User-Name =~ / /) (4) if (User-Name =~ / /) -> FALSE (4) if (User-Name =~ /@.*@/ ) (4) if (User-Name =~ /@.*@/ ) -> FALSE (4) if (User-Name =~ /\\.\\./ ) (4) if (User-Name =~ /\\.\\./ ) -> FALSE (4) if ((User-Name =~ /@/) && (User-Name !~ /@(.+)\\.(.+)$/)) (4) if ((User-Name =~ /@/) && (User-Name !~ /@(.+)\\.(.+)$/)) -> FALSE (4) if (User-Name =~ /\\.$/) (4) if (User-Name =~ /\\.$/) -> FALSE (4) if (User-Name =~ /@\\./) (4) if (User-Name =~ /@\\./) -> FALSE (4) } # filter_username filter_username = notfound (4) [chap] = noop (4) [mschap] = noop (4) [digest] = noop (4) suffix : No '@' in User-Name = "testuser", looking up realm NULL (4) suffix : No such realm "NULL" (4) [suffix] = noop (4) eap : EAP packet type response id 104 length 6 (4) eap : Continuing tunnel setup. (4) [eap] = ok (4) } # authorize = ok (4) Found Auth-Type = EAP (4) # Executing group from file /etc/raddb/sites-enabled/default (4) authenticate { (4) eap : Expiring EAP session with state 0x425c227b41343b18 (4) eap : Finished EAP session with state 0x425c227b41343b18 (4) eap : Previous EAP request found for state 0x425c227b41343b18, released from the list (4) eap : Peer sent PEAP (25) (4) eap : EAP PEAP (25) (4) eap : Calling eap_peap to process EAP data (4) eap_peap : processing EAP-TLS (4) eap_peap : Received TLS ACK (4) eap_peap : Received TLS ACK (4) eap_peap : ACK handshake fragment handler (4) eap_peap : eaptls_verify returned 1 (4) eap_peap : eaptls_process returned 13 (4) eap_peap : FR_TLS_HANDLED (4) eap : New EAP session, adding 'State' attribute to reply 0x425c227b46353b18 (4) [eap] = handled (4) } # authenticate = handled Sending Access-Challenge Id 119 from 127.0.0.1:1812 to 127.0.0.1:35433 EAP-Message = 0x0169031c190069657320496e632e3126302406092a864886f70d0109011617737570706f72744063616e64656c61746563682e636f6d312630240603550403131d4578616d706c6520436572746966696361746520417574686f72697479820900a2f025aae13c9c30300c0603551d13040530030101ff30360603551d1f042f302d302ba029a0278625687474703a2f2f7777772e6578616d706c652e636f6d2f6578616d706c655f63612e63726c300d06092a864886f70d0101050500038201010080f321d1943c002ab4437a720d11daec43be07fdd539a7a17ab1841578cb5c19382dfe5ddb526c247f057b0d6486f23336d7465d4f5bdbc1338c97ad3a4b39b7917a091ed5c8c5c9c16bf0eda8087251516e44a62cf70d7be0c2ab4a8e415e5b03e40d28e40a3d2ddb4e96affa65080ae19fea6a3f9fb6a7daf4a6b43cb901fc7f1446099a5fc80c530839222f948eab2c070e76e34f15e29abdd9f58bf6a84d3493137c3b9cce7f587bc4b32d9e17c587fc2fa0d73965277a12f9858557d303adbc2b59d566989bcfa43dafa87e5bab4d2ff5aa1755f65658bf4c35aec45b9b852dac4f89d7ad5038e4cd12c34b1d0da5e01f4f3b20626b81a1701adc84393e160301014b0c0001470300174104962cf9c6ed35a1005326abff6dd4fd22c00923e7d8537ffb7b546eacd81042d15c28f5f5237 Message-Authenticator = 0x00000000000000000000000000000000 State = 0x425c227b46353b18d2ed423eb81d6eed (4) Finished request Waking up in 0.2 seconds. Received Access-Request Id 120 from 127.0.0.1:35433 to 127.0.0.1:1812 length 348 User-Name = 'testuser' NAS-IP-Address = 127.0.0.1 Called-Station-Id = '04-F0-21-17-94-44:ac-vap-ch149' NAS-Port-Type = Wireless-802.11 NAS-Port = 1 Calling-Station-Id = '04-F0-21-E7-56-41' Connect-Info = 'CONNECT 54Mbps 802.11a' Acct-Session-Id = '55DB92D7-0000000B' X-Ascend-Home-Agent-UDP-Port = 1027076 X-Ascend-Multilink-ID = 1027074 X-Ascend-Num-In-Multilink = 1027073 Framed-MTU = 1400 EAP-Message = 0x026900901980000000861603010046100000424104e90f9c429a5928989ce5deabd47eea9b71a50008a51a6fb300ab606422aec0b29cee6080e071dd01d4b5c89adfbf267eeee24ad259b26db70ffe6cfbea0bfcac1403010001011603010030adeeb6881cca7a638895dab1733bff636f18b128c3496840377d560e2d650a18895e480aa7c9d6bd79ccb4523be8cf59 State = 0x425c227b46353b18d2ed423eb81d6eed Message-Authenticator = 0x3adafeb1542fe9cc79f88bdd0616530e (5) # Executing section authorize from file /etc/raddb/sites-enabled/default (5) authorize { (5) filter_username filter_username { (5) if (User-Name != "%{tolower:%{User-Name}}") (5) EXPAND %{tolower:%{User-Name}} (5) --> testuser (5) if (User-Name != "%{tolower:%{User-Name}}") -> FALSE (5) if (User-Name =~ / /) (5) if (User-Name =~ / /) -> FALSE (5) if (User-Name =~ /@.*@/ ) (5) if (User-Name =~ /@.*@/ ) -> FALSE (5) if (User-Name =~ /\\.\\./ ) (5) if (User-Name =~ /\\.\\./ ) -> FALSE (5) if ((User-Name =~ /@/) && (User-Name !~ /@(.+)\\.(.+)$/)) (5) if ((User-Name =~ /@/) && (User-Name !~ /@(.+)\\.(.+)$/)) -> FALSE (5) if (User-Name =~ /\\.$/) (5) if (User-Name =~ /\\.$/) -> FALSE (5) if (User-Name =~ /@\\./) (5) if (User-Name =~ /@\\./) -> FALSE (5) } # filter_username filter_username = notfound (5) [chap] = noop (5) [mschap] = noop (5) [digest] = noop (5) suffix : No '@' in User-Name = "testuser", looking up realm NULL (5) suffix : No such realm "NULL" (5) [suffix] = noop (5) eap : EAP packet type response id 105 length 144 (5) eap : Continuing tunnel setup. (5) [eap] = ok (5) } # authorize = ok (5) Found Auth-Type = EAP (5) # Executing group from file /etc/raddb/sites-enabled/default (5) authenticate { (5) eap : Expiring EAP session with state 0x425c227b46353b18 (5) eap : Finished EAP session with state 0x425c227b46353b18 (5) eap : Previous EAP request found for state 0x425c227b46353b18, released from the list (5) eap : Peer sent PEAP (25) (5) eap : EAP PEAP (25) (5) eap : Calling eap_peap to process EAP data (5) eap_peap : processing EAP-TLS TLS Length 134 (5) eap_peap : Length Included (5) eap_peap : eaptls_verify returned 11 (5) eap_peap : <<< TLS 1.0 Handshake [length 0046], ClientKeyExchange (5) eap_peap : TLS_accept: SSLv3 read client key exchange A (5) eap_peap : <<< TLS 1.0 ChangeCipherSpec [length 0001] (5) eap_peap : <<< TLS 1.0 Handshake [length 0010], Finished (5) eap_peap : TLS_accept: SSLv3 read finished A (5) eap_peap : >>> TLS 1.0 ChangeCipherSpec [length 0001] (5) eap_peap : TLS_accept: SSLv3 write change cipher spec A (5) eap_peap : >>> TLS 1.0 Handshake [length 0010], Finished (5) eap_peap : TLS_accept: SSLv3 write finished A (5) eap_peap : TLS_accept: SSLv3 flush data SSL: adding session 1fda4653cde1d52f5bbabdbde0c541b135031e28b1f622ec84e9a968ce43c70d to cache (5) eap_peap : (other): SSL negotiation finished successfully SSL Connection Established (5) eap_peap : eaptls_process returned 13 (5) eap_peap : FR_TLS_HANDLED (5) eap : New EAP session, adding 'State' attribute to reply 0x425c227b47363b18 (5) [eap] = handled (5) } # authenticate = handled Sending Access-Challenge Id 120 from 127.0.0.1:1812 to 127.0.0.1:35433 EAP-Message = 0x016a004119001403010001011603010030f61843ba50339b6bdbe12e9405baba2f792e568c604e8608a1c5b89c218df85292daff8a20602e5c851ac0825e2144ea Message-Authenticator = 0x00000000000000000000000000000000 State = 0x425c227b47363b18d2ed423eb81d6eed (5) Finished request Waking up in 0.2 seconds. Received Access-Request Id 121 from 127.0.0.1:35433 to 127.0.0.1:1812 length 210 User-Name = 'testuser' NAS-IP-Address = 127.0.0.1 Called-Station-Id = '04-F0-21-17-94-44:ac-vap-ch149' NAS-Port-Type = Wireless-802.11 NAS-Port = 1 Calling-Station-Id = '04-F0-21-E7-56-41' Connect-Info = 'CONNECT 54Mbps 802.11a' Acct-Session-Id = '55DB92D7-0000000B' X-Ascend-Home-Agent-UDP-Port = 1027076 X-Ascend-Multilink-ID = 1027074 X-Ascend-Num-In-Multilink = 1027073 Framed-MTU = 1400 EAP-Message = 0x026a00061900 State = 0x425c227b47363b18d2ed423eb81d6eed Message-Authenticator = 0x210395d8662bb9c9f3c9dc26769faa14 (6) # Executing section authorize from file /etc/raddb/sites-enabled/default (6) authorize { (6) filter_username filter_username { (6) if (User-Name != "%{tolower:%{User-Name}}") (6) EXPAND %{tolower:%{User-Name}} (6) --> testuser (6) if (User-Name != "%{tolower:%{User-Name}}") -> FALSE (6) if (User-Name =~ / /) (6) if (User-Name =~ / /) -> FALSE (6) if (User-Name =~ /@.*@/ ) (6) if (User-Name =~ /@.*@/ ) -> FALSE (6) if (User-Name =~ /\\.\\./ ) (6) if (User-Name =~ /\\.\\./ ) -> FALSE (6) if ((User-Name =~ /@/) && (User-Name !~ /@(.+)\\.(.+)$/)) (6) if ((User-Name =~ /@/) && (User-Name !~ /@(.+)\\.(.+)$/)) -> FALSE (6) if (User-Name =~ /\\.$/) (6) if (User-Name =~ /\\.$/) -> FALSE (6) if (User-Name =~ /@\\./) (6) if (User-Name =~ /@\\./) -> FALSE (6) } # filter_username filter_username = notfound (6) [chap] = noop (6) [mschap] = noop (6) [digest] = noop (6) suffix : No '@' in User-Name = "testuser", looking up realm NULL (6) suffix : No such realm "NULL" (6) [suffix] = noop (6) eap : EAP packet type response id 106 length 6 (6) eap : Continuing tunnel setup. (6) [eap] = ok (6) } # authorize = ok (6) Found Auth-Type = EAP (6) # Executing group from file /etc/raddb/sites-enabled/default (6) authenticate { (6) eap : Expiring EAP session with state 0x425c227b47363b18 (6) eap : Finished EAP session with state 0x425c227b47363b18 (6) eap : Previous EAP request found for state 0x425c227b47363b18, released from the list (6) eap : Peer sent PEAP (25) (6) eap : EAP PEAP (25) (6) eap : Calling eap_peap to process EAP data (6) eap_peap : processing EAP-TLS (6) eap_peap : Received TLS ACK (6) eap_peap : Received TLS ACK (6) eap_peap : ACK handshake is finished (6) eap_peap : eaptls_verify returned 3 (6) eap_peap : eaptls_process returned 3 (6) eap_peap : FR_TLS_SUCCESS (6) eap_peap : Session established. Decoding tunneled attributes. (6) eap_peap : Peap state TUNNEL ESTABLISHED (6) eap : New EAP session, adding 'State' attribute to reply 0x425c227b44373b18 (6) [eap] = handled (6) } # authenticate = handled Sending Access-Challenge Id 121 from 127.0.0.1:1812 to 127.0.0.1:35433 EAP-Message = 0x016b002b19001703010020a300688792f35674a17f6e9823f561329565822120fd9dac4a4e409ade314026 Message-Authenticator = 0x00000000000000000000000000000000 State = 0x425c227b44373b18d2ed423eb81d6eed (6) Finished request Waking up in 0.2 seconds. Received Access-Request Id 122 from 127.0.0.1:35433 to 127.0.0.1:1812 length 284 User-Name = 'testuser' NAS-IP-Address = 127.0.0.1 Called-Station-Id = '04-F0-21-17-94-44:ac-vap-ch149' NAS-Port-Type = Wireless-802.11 NAS-Port = 1 Calling-Station-Id = '04-F0-21-E7-56-41' Connect-Info = 'CONNECT 54Mbps 802.11a' Acct-Session-Id = '55DB92D7-0000000B' X-Ascend-Home-Agent-UDP-Port = 1027076 X-Ascend-Multilink-ID = 1027074 X-Ascend-Num-In-Multilink = 1027073 Framed-MTU = 1400 EAP-Message = 0x026b00501900170301002088de61ad184bfc580032a3c24039e3680228d239fee17c2953cfc06c0ca291641703010020b3878f21d76b3a1ed0630f9c9fe702c168c9799217367376213dd0d366f6911b State = 0x425c227b44373b18d2ed423eb81d6eed Message-Authenticator = 0x7bb921a5b4839ba06d0d86303c9f87c8 (7) # Executing section authorize from file /etc/raddb/sites-enabled/default (7) authorize { (7) filter_username filter_username { (7) if (User-Name != "%{tolower:%{User-Name}}") (7) EXPAND %{tolower:%{User-Name}} (7) --> testuser (7) if (User-Name != "%{tolower:%{User-Name}}") -> FALSE (7) if (User-Name =~ / /) (7) if (User-Name =~ / /) -> FALSE (7) if (User-Name =~ /@.*@/ ) (7) if (User-Name =~ /@.*@/ ) -> FALSE (7) if (User-Name =~ /\\.\\./ ) (7) if (User-Name =~ /\\.\\./ ) -> FALSE (7) if ((User-Name =~ /@/) && (User-Name !~ /@(.+)\\.(.+)$/)) (7) if ((User-Name =~ /@/) && (User-Name !~ /@(.+)\\.(.+)$/)) -> FALSE (7) if (User-Name =~ /\\.$/) (7) if (User-Name =~ /\\.$/) -> FALSE (7) if (User-Name =~ /@\\./) (7) if (User-Name =~ /@\\./) -> FALSE (7) } # filter_username filter_username = notfound (7) [chap] = noop (7) [mschap] = noop (7) [digest] = noop (7) suffix : No '@' in User-Name = "testuser", looking up realm NULL (7) suffix : No such realm "NULL" (7) [suffix] = noop (7) eap : EAP packet type response id 107 length 80 (7) eap : Continuing tunnel setup. (7) [eap] = ok (7) } # authorize = ok (7) Found Auth-Type = EAP (7) # Executing group from file /etc/raddb/sites-enabled/default (7) authenticate { (7) eap : Expiring EAP session with state 0x425c227b44373b18 (7) eap : Finished EAP session with state 0x425c227b44373b18 (7) eap : Previous EAP request found for state 0x425c227b44373b18, released from the list (7) eap : Peer sent PEAP (25) (7) eap : EAP PEAP (25) (7) eap : Calling eap_peap to process EAP data (7) eap_peap : processing EAP-TLS (7) eap_peap : eaptls_verify returned 7 (7) eap_peap : Done initial handshake (7) eap_peap : eaptls_process returned 7 (7) eap_peap : FR_TLS_OK (7) eap_peap : Session established. Decoding tunneled attributes. (7) eap_peap : Peap state WAITING FOR INNER IDENTITY (7) eap_peap : Identity - testuser (7) eap_peap : Got inner identity 'testuser' (7) eap_peap : Setting default EAP type for tunneled EAP session. (7) eap_peap : Got tunneled request EAP-Message = 0x026b000d017465737475736572 server default { (7) eap_peap : Setting User-Name to testuser Sending tunneled request EAP-Message = 0x026b000d017465737475736572 FreeRADIUS-Proxied-To = 127.0.0.1 User-Name = 'testuser' server inner-tunnel { (7) # Executing section authorize from file /etc/raddb/sites-enabled/inner-tunnel (7) authorize { (7) [chap] = noop (7) [mschap] = noop (7) suffix : No '@' in User-Name = "testuser", looking up realm NULL (7) suffix : No such realm "NULL" (7) [suffix] = noop (7) update control { (7) Proxy-To-Realm := 'LOCAL' (7) } # update control = noop (7) eap : EAP packet type response id 107 length 13 (7) eap : EAP-Identity reply, returning 'ok' so we can short-circuit the rest of authorize (7) [eap] = ok (7) } # authorize = ok (7) Found Auth-Type = EAP (7) # Executing group from file /etc/raddb/sites-enabled/inner-tunnel (7) authenticate { (7) eap : Peer sent Identity (1) (7) eap : Calling eap_mschapv2 to process EAP data (7) eap_mschapv2 : Issuing Challenge (7) eap : New EAP session, adding 'State' attribute to reply 0x53ea3fa1538625de (7) [eap] = handled (7) } # authenticate = handled } # server inner-tunnel (7) eap_peap : Got tunneled reply code 11 EAP-Message = 0x016c00221a016c001d10be47ef21294a10f9d8f6ee7a8a0996597465737475736572 Message-Authenticator = 0x00000000000000000000000000000000 State = 0x53ea3fa1538625de09092a4251eb4679 (7) eap_peap : Got tunneled reply RADIUS code 11 EAP-Message = 0x016c00221a016c001d10be47ef21294a10f9d8f6ee7a8a0996597465737475736572 Message-Authenticator = 0x00000000000000000000000000000000 State = 0x53ea3fa1538625de09092a4251eb4679 (7) eap_peap : Got tunneled Access-Challenge (7) eap : New EAP session, adding 'State' attribute to reply 0x425c227b45303b18 (7) [eap] = handled (7) } # authenticate = handled Sending Access-Challenge Id 122 from 127.0.0.1:1812 to 127.0.0.1:35433 EAP-Message = 0x016c004b19001703010040750f7c1e58996d24bc9c12dffef51996db1a81898e5a15e51111da089511c6d047d79109725fee185ade3117b7043d6aa9514c9466db9dd2499b090265ef495b Message-Authenticator = 0x00000000000000000000000000000000 State = 0x425c227b45303b18d2ed423eb81d6eed (7) Finished request Waking up in 0.2 seconds. Received Access-Request Id 123 from 127.0.0.1:35433 to 127.0.0.1:1812 length 348 User-Name = 'testuser' NAS-IP-Address = 127.0.0.1 Called-Station-Id = '04-F0-21-17-94-44:ac-vap-ch149' NAS-Port-Type = Wireless-802.11 NAS-Port = 1 Calling-Station-Id = '04-F0-21-E7-56-41' Connect-Info = 'CONNECT 54Mbps 802.11a' Acct-Session-Id = '55DB92D7-0000000B' X-Ascend-Home-Agent-UDP-Port = 1027076 X-Ascend-Multilink-ID = 1027074 X-Ascend-Num-In-Multilink = 1027073 Framed-MTU = 1400 EAP-Message = 0x026c00901900170301002073e5171a29121428879a71cb010668c1166967da3a4f68cdabe9d81a5858d24b1703010060da2fff26519a68cfe3a2a550c9932929718256ede2b03e73a59ce793ef744deedda9c5354042851363f97c6d777c6209909457738c2aee11a6f0e74c77dd485132f5a52bb3f98b5dfc6d4e0d915d75b0361c9375160b45d42b30aeb0ab77e460 State = 0x425c227b45303b18d2ed423eb81d6eed Message-Authenticator = 0x50612c9528f61891eb74c75a53f082c9 (8) # Executing section authorize from file /etc/raddb/sites-enabled/default (8) authorize { (8) filter_username filter_username { (8) if (User-Name != "%{tolower:%{User-Name}}") (8) EXPAND %{tolower:%{User-Name}} (8) --> testuser (8) if (User-Name != "%{tolower:%{User-Name}}") -> FALSE (8) if (User-Name =~ / /) (8) if (User-Name =~ / /) -> FALSE (8) if (User-Name =~ /@.*@/ ) (8) if (User-Name =~ /@.*@/ ) -> FALSE (8) if (User-Name =~ /\\.\\./ ) (8) if (User-Name =~ /\\.\\./ ) -> FALSE (8) if ((User-Name =~ /@/) && (User-Name !~ /@(.+)\\.(.+)$/)) (8) if ((User-Name =~ /@/) && (User-Name !~ /@(.+)\\.(.+)$/)) -> FALSE (8) if (User-Name =~ /\\.$/) (8) if (User-Name =~ /\\.$/) -> FALSE (8) if (User-Name =~ /@\\./) (8) if (User-Name =~ /@\\./) -> FALSE (8) } # filter_username filter_username = notfound (8) [chap] = noop (8) [mschap] = noop (8) [digest] = noop (8) suffix : No '@' in User-Name = "testuser", looking up realm NULL (8) suffix : No such realm "NULL" (8) [suffix] = noop (8) eap : EAP packet type response id 108 length 144 (8) eap : Continuing tunnel setup. (8) [eap] = ok (8) } # authorize = ok (8) Found Auth-Type = EAP (8) # Executing group from file /etc/raddb/sites-enabled/default (8) authenticate { (8) eap : Expiring EAP session with state 0x53ea3fa1538625de (8) eap : Finished EAP session with state 0x425c227b45303b18 (8) eap : Previous EAP request found for state 0x425c227b45303b18, released from the list (8) eap : Peer sent PEAP (25) (8) eap : EAP PEAP (25) (8) eap : Calling eap_peap to process EAP data (8) eap_peap : processing EAP-TLS (8) eap_peap : eaptls_verify returned 7 (8) eap_peap : Done initial handshake (8) eap_peap : eaptls_process returned 7 (8) eap_peap : FR_TLS_OK (8) eap_peap : Session established. Decoding tunneled attributes. (8) eap_peap : Peap state phase2 (8) eap_peap : EAP type MSCHAPv2 (26) (8) eap_peap : Got tunneled request EAP-Message = 0x026c00431a026c003e31eea61745ad6a21abc448fb4a2a87513500000000000000003dd565507533678da3a13d065a5f566632387edeea534b8a007465737475736572 server default { (8) eap_peap : Setting User-Name to testuser Sending tunneled request EAP-Message = 0x026c00431a026c003e31eea61745ad6a21abc448fb4a2a87513500000000000000003dd565507533678da3a13d065a5f566632387edeea534b8a007465737475736572 FreeRADIUS-Proxied-To = 127.0.0.1 User-Name = 'testuser' State = 0x53ea3fa1538625de09092a4251eb4679 server inner-tunnel { (8) # Executing section authorize from file /etc/raddb/sites-enabled/inner-tunnel (8) authorize { (8) [chap] = noop (8) [mschap] = noop (8) suffix : No '@' in User-Name = "testuser", looking up realm NULL (8) suffix : No such realm "NULL" (8) [suffix] = noop (8) update control { (8) Proxy-To-Realm := 'LOCAL' (8) } # update control = noop (8) eap : EAP packet type response id 108 length 67 (8) eap : No EAP Start, assuming it's an on-going EAP conversation (8) [eap] = updated (8) files : users: Matched entry testuser at line 6 (8) [files] = ok (8) [expiration] = noop (8) [logintime] = noop (8) WARNING: pap : Auth-Type already set. Not setting to PAP (8) [pap] = noop (8) } # authorize = updated (8) Found Auth-Type = EAP (8) # Executing group from file /etc/raddb/sites-enabled/inner-tunnel (8) authenticate { (8) eap : Expiring EAP session with state 0x53ea3fa1538625de (8) eap : Finished EAP session with state 0x53ea3fa1538625de (8) eap : Previous EAP request found for state 0x53ea3fa1538625de, released from the list (8) eap : Peer sent MSCHAPv2 (26) (8) eap : EAP MSCHAPv2 (26) (8) eap : Calling eap_mschapv2 to process EAP data (8) eap_mschapv2 : # Executing group from file /etc/raddb/sites-enabled/inner-tunnel (8) eap_mschapv2 : Auth-Type MS-CHAP { (8) mschap : Found Cleartext-Password, hashing to create LM-Password (8) mschap : Found Cleartext-Password, hashing to create NT-Password (8) mschap : Creating challenge hash with username: testuser (8) mschap : Client is using MS-CHAPv2 (8) mschap : Adding MS-CHAPv2 MPPE keys (8) [mschap] = ok (8) } # Auth-Type MS-CHAP = ok MSCHAP Success (8) eap : New EAP session, adding 'State' attribute to reply 0x53ea3fa1528725de (8) [eap] = handled (8) } # authenticate = handled } # server inner-tunnel (8) eap_peap : Got tunneled reply code 11 EAP-Message = 0x016d00331a036c002e533d44343737393032364532414336344531383244324130323937423531393938303535444546393144 Message-Authenticator = 0x00000000000000000000000000000000 State = 0x53ea3fa1528725de09092a4251eb4679 (8) eap_peap : Got tunneled reply RADIUS code 11 EAP-Message = 0x016d00331a036c002e533d44343737393032364532414336344531383244324130323937423531393938303535444546393144 Message-Authenticator = 0x00000000000000000000000000000000 State = 0x53ea3fa1528725de09092a4251eb4679 (8) eap_peap : Got tunneled Access-Challenge (8) eap : New EAP session, adding 'State' attribute to reply 0x425c227b4a313b18 (8) [eap] = handled (8) } # authenticate = handled Sending Access-Challenge Id 123 from 127.0.0.1:1812 to 127.0.0.1:35433 EAP-Message = 0x016d005b190017030100501324ee5069f4f71d359a6be896ba4c78c47992f88ce65b4d0f256f38dcb69bbea69123e4c3c2bb7ebad0b46f30daffcc7ba3609fba32f7d024341a1a5c19d023c70bb11b6865c1014082b8911b400588 Message-Authenticator = 0x00000000000000000000000000000000 State = 0x425c227b4a313b18d2ed423eb81d6eed (8) Finished request Waking up in 0.2 seconds. Received Access-Request Id 124 from 127.0.0.1:35433 to 127.0.0.1:1812 length 284 User-Name = 'testuser' NAS-IP-Address = 127.0.0.1 Called-Station-Id = '04-F0-21-17-94-44:ac-vap-ch149' NAS-Port-Type = Wireless-802.11 NAS-Port = 1 Calling-Station-Id = '04-F0-21-E7-56-41' Connect-Info = 'CONNECT 54Mbps 802.11a' Acct-Session-Id = '55DB92D7-0000000B' X-Ascend-Home-Agent-UDP-Port = 1027076 X-Ascend-Multilink-ID = 1027074 X-Ascend-Num-In-Multilink = 1027073 Framed-MTU = 1400 EAP-Message = 0x026d005019001703010020e2a96fc9d4af4670f0c1d5c237c6b3f475230a5fd9854d152d3c5da16f67396d170301002029a6d31e1f8e473c222ef7124067e0971a962ca7d7b3e794f1b715a0698ee3dd State = 0x425c227b4a313b18d2ed423eb81d6eed Message-Authenticator = 0x153d0eb6f56e3fa48143671f46bac967 (9) # Executing section authorize from file /etc/raddb/sites-enabled/default (9) authorize { (9) filter_username filter_username { (9) if (User-Name != "%{tolower:%{User-Name}}") (9) EXPAND %{tolower:%{User-Name}} (9) --> testuser (9) if (User-Name != "%{tolower:%{User-Name}}") -> FALSE (9) if (User-Name =~ / /) (9) if (User-Name =~ / /) -> FALSE (9) if (User-Name =~ /@.*@/ ) (9) if (User-Name =~ /@.*@/ ) -> FALSE (9) if (User-Name =~ /\\.\\./ ) (9) if (User-Name =~ /\\.\\./ ) -> FALSE (9) if ((User-Name =~ /@/) && (User-Name !~ /@(.+)\\.(.+)$/)) (9) if ((User-Name =~ /@/) && (User-Name !~ /@(.+)\\.(.+)$/)) -> FALSE (9) if (User-Name =~ /\\.$/) (9) if (User-Name =~ /\\.$/) -> FALSE (9) if (User-Name =~ /@\\./) (9) if (User-Name =~ /@\\./) -> FALSE (9) } # filter_username filter_username = notfound (9) [chap] = noop (9) [mschap] = noop (9) [digest] = noop (9) suffix : No '@' in User-Name = "testuser", looking up realm NULL (9) suffix : No such realm "NULL" (9) [suffix] = noop (9) eap : EAP packet type response id 109 length 80 (9) eap : Continuing tunnel setup. (9) [eap] = ok (9) } # authorize = ok (9) Found Auth-Type = EAP (9) # Executing group from file /etc/raddb/sites-enabled/default (9) authenticate { (9) eap : Expiring EAP session with state 0x53ea3fa1528725de (9) eap : Finished EAP session with state 0x425c227b4a313b18 (9) eap : Previous EAP request found for state 0x425c227b4a313b18, released from the list (9) eap : Peer sent PEAP (25) (9) eap : EAP PEAP (25) (9) eap : Calling eap_peap to process EAP data (9) eap_peap : processing EAP-TLS (9) eap_peap : eaptls_verify returned 7 (9) eap_peap : Done initial handshake (9) eap_peap : eaptls_process returned 7 (9) eap_peap : FR_TLS_OK (9) eap_peap : Session established. Decoding tunneled attributes. (9) eap_peap : Peap state phase2 (9) eap_peap : EAP type MSCHAPv2 (26) (9) eap_peap : Got tunneled request EAP-Message = 0x026d00061a03 server default { (9) eap_peap : Setting User-Name to testuser Sending tunneled request EAP-Message = 0x026d00061a03 FreeRADIUS-Proxied-To = 127.0.0.1 User-Name = 'testuser' State = 0x53ea3fa1528725de09092a4251eb4679 server inner-tunnel { (9) # Executing section authorize from file /etc/raddb/sites-enabled/inner-tunnel (9) authorize { (9) [chap] = noop (9) [mschap] = noop (9) suffix : No '@' in User-Name = "testuser", looking up realm NULL (9) suffix : No such realm "NULL" (9) [suffix] = noop (9) update control { (9) Proxy-To-Realm := 'LOCAL' (9) } # update control = noop (9) eap : EAP packet type response id 109 length 6 (9) eap : EAP-MSCHAPV2 success, returning short-circuit ok (9) [eap] = ok (9) } # authorize = ok (9) Found Auth-Type = EAP (9) # Executing group from file /etc/raddb/sites-enabled/inner-tunnel (9) authenticate { (9) eap : Expiring EAP session with state 0x53ea3fa1528725de (9) eap : Finished EAP session with state 0x53ea3fa1528725de (9) eap : Previous EAP request found for state 0x53ea3fa1528725de, released from the list (9) eap : Peer sent MSCHAPv2 (26) (9) eap : EAP MSCHAPv2 (26) (9) eap : Calling eap_mschapv2 to process EAP data (9) eap : Freeing handler (9) [eap] = ok (9) } # authenticate = ok (9) # Executing section post-auth from file /etc/raddb/sites-enabled/inner-tunnel (9) (null) post-auth { ... } # empty sub-section is ignored } # server inner-tunnel (9) eap_peap : Got tunneled reply code 2 MS-MPPE-Encryption-Policy = Encryption-Allowed MS-MPPE-Encryption-Types = RC4-40or128-bit-Allowed MS-MPPE-Send-Key = 0x97f26afcdecda3030377376dae06b577 MS-MPPE-Recv-Key = 0x660c4597c050f98f217d2d8cba3f782f EAP-Message = 0x036d0004 Message-Authenticator = 0x00000000000000000000000000000000 User-Name = 'testuser' (9) eap_peap : Got tunneled reply RADIUS code 2 MS-MPPE-Encryption-Policy = Encryption-Allowed MS-MPPE-Encryption-Types = RC4-40or128-bit-Allowed MS-MPPE-Send-Key = 0x97f26afcdecda3030377376dae06b577 MS-MPPE-Recv-Key = 0x660c4597c050f98f217d2d8cba3f782f EAP-Message = 0x036d0004 Message-Authenticator = 0x00000000000000000000000000000000 User-Name = 'testuser' (9) eap_peap : Tunneled authentication was successful. (9) eap_peap : SUCCESS (9) eap : New EAP session, adding 'State' attribute to reply 0x425c227b4b323b18 (9) [eap] = handled (9) } # authenticate = handled Sending Access-Challenge Id 124 from 127.0.0.1:1812 to 127.0.0.1:35433 EAP-Message = 0x016e002b190017030100205177fa5caa7b276de6c2b363ccb1ed0e9e04deff091a4a4840bf6ed9ec8a6cda Message-Authenticator = 0x00000000000000000000000000000000 State = 0x425c227b4b323b18d2ed423eb81d6eed (9) Finished request Waking up in 0.2 seconds. Received Access-Request Id 125 from 127.0.0.1:35433 to 127.0.0.1:1812 length 284 User-Name = 'testuser' NAS-IP-Address = 127.0.0.1 Called-Station-Id = '04-F0-21-17-94-44:ac-vap-ch149' NAS-Port-Type = Wireless-802.11 NAS-Port = 1 Calling-Station-Id = '04-F0-21-E7-56-41' Connect-Info = 'CONNECT 54Mbps 802.11a' Acct-Session-Id = '55DB92D7-0000000B' X-Ascend-Home-Agent-UDP-Port = 1027076 X-Ascend-Multilink-ID = 1027074 X-Ascend-Num-In-Multilink = 1027073 Framed-MTU = 1400 EAP-Message = 0x026e0050190017030100200a23b82c7d80b03fa45cbe3dc4b7340798b4fc812ee546910574bbe0197c4f191703010020f17bba5547e43a7779084e27f9dfc293f36cb9c5328a1faa4538a750ead019c8 State = 0x425c227b4b323b18d2ed423eb81d6eed Message-Authenticator = 0x141658dfcd6c4314cb35d070832a01bf (10) # Executing section authorize from file /etc/raddb/sites-enabled/default (10) authorize { (10) filter_username filter_username { (10) if (User-Name != "%{tolower:%{User-Name}}") (10) EXPAND %{tolower:%{User-Name}} (10) --> testuser (10) if (User-Name != "%{tolower:%{User-Name}}") -> FALSE (10) if (User-Name =~ / /) (10) if (User-Name =~ / /) -> FALSE (10) if (User-Name =~ /@.*@/ ) (10) if (User-Name =~ /@.*@/ ) -> FALSE (10) if (User-Name =~ /\\.\\./ ) (10) if (User-Name =~ /\\.\\./ ) -> FALSE (10) if ((User-Name =~ /@/) && (User-Name !~ /@(.+)\\.(.+)$/)) (10) if ((User-Name =~ /@/) && (User-Name !~ /@(.+)\\.(.+)$/)) -> FALSE (10) if (User-Name =~ /\\.$/) (10) if (User-Name =~ /\\.$/) -> FALSE (10) if (User-Name =~ /@\\./) (10) if (User-Name =~ /@\\./) -> FALSE (10) } # filter_username filter_username = notfound (10) [chap] = noop (10) [mschap] = noop (10) [digest] = noop (10) suffix : No '@' in User-Name = "testuser", looking up realm NULL (10) suffix : No such realm "NULL" (10) [suffix] = noop (10) eap : EAP packet type response id 110 length 80 (10) eap : Continuing tunnel setup. (10) [eap] = ok (10) } # authorize = ok (10) Found Auth-Type = EAP (10) # Executing group from file /etc/raddb/sites-enabled/default (10) authenticate { (10) eap : Expiring EAP session with state 0x425c227b4b323b18 (10) eap : Finished EAP session with state 0x425c227b4b323b18 (10) eap : Previous EAP request found for state 0x425c227b4b323b18, released from the list (10) eap : Peer sent PEAP (25) (10) eap : EAP PEAP (25) (10) eap : Calling eap_peap to process EAP data (10) eap_peap : processing EAP-TLS (10) eap_peap : eaptls_verify returned 7 (10) eap_peap : Done initial handshake (10) eap_peap : eaptls_process returned 7 (10) eap_peap : FR_TLS_OK (10) eap_peap : Session established. Decoding tunneled attributes. (10) eap_peap : Peap state send tlv success (10) eap_peap : Received EAP-TLV response. (10) eap_peap : Success (10) WARNING: eap_peap : No information to cache: session caching will be disabled for session 1fda4653cde1d52f5bbabdbde0c541b135031e28b1f622ec84e9a968ce43c70d SSL: Removing session 1fda4653cde1d52f5bbabdbde0c541b135031e28b1f622ec84e9a968ce43c70d from the cache (10) eap : Freeing handler (10) [eap] = ok (10) } # authenticate = ok (10) # Executing section post-auth from file /etc/raddb/sites-enabled/default (10) post-auth { (10) [exec] = noop (10) remove_reply_message_if_eap remove_reply_message_if_eap { (10) if (reply:EAP-Message && reply:Reply-Message) (10) if (reply:EAP-Message && reply:Reply-Message) -> FALSE (10) else else { (10) [noop] = noop (10) } # else else = noop (10) } # remove_reply_message_if_eap remove_reply_message_if_eap = noop (10) } # post-auth = noop Sending Access-Accept Id 125 from 127.0.0.1:1812 to 127.0.0.1:35433 MS-MPPE-Recv-Key = 0x431adfb5a9b7a7371bee0b05dd58569cf96811b5f94aa76cee60e0a19bc00dab MS-MPPE-Send-Key = 0x2db69fc38e71537b007e0eba61ac8eee671160978870a68ba6b1147412b9d072 EAP-Message = 0x036e0004 Message-Authenticator = 0x00000000000000000000000000000000 User-Name = 'testuser' (10) Finished request Waking up in 0.2 seconds. Waking up in 4.5 seconds. (0) Cleaning up request packet ID 115 with timestamp +12 (1) Cleaning up request packet ID 116 with timestamp +12 (2) Cleaning up request packet ID 117 with timestamp +12 (3) Cleaning up request packet ID 118 with timestamp +12 (4) Cleaning up request packet ID 119 with timestamp +12 (5) Cleaning up request packet ID 120 with timestamp +12 (6) Cleaning up request packet ID 121 with timestamp +12 (7) Cleaning up request packet ID 122 with timestamp +12 (8) Cleaning up request packet ID 123 with timestamp +12 (9) Cleaning up request packet ID 124 with timestamp +12 (10) Cleaning up request packet ID 125 with timestamp +12 Ready to process requests. On Tue, Aug 25, 2015 at 5:28 AM, Jouni Malinen <jkmalinen@gmail.com> wrote:
On Tue, Aug 25, 2015 at 2:30 AM, Isaac Konikoff <isaac.konikoff@gmail.com> wrote:
I'm trying to authenticate a wifi client (wpa_supplicant) using eap-peap with phase2 autheap=md5. In debug output, eap-peap appears to finalize with mschapv2 but eap-ttls uses eap-md5. Can I force eap-peap to use eap-md5?
What's the exact configuration parameter you used in the wpa_supplicant network profile to set this? If that "phase2 autheap=md5" is to be interpreted as the exact form, it would be incorrect. To configure PEAP with EAP-MD5 in Phase 2, you would need to use phase2="eap=MD5" (i.e., "eap" instead of "autheap" which is only used with EAP-TTLS and "MD5" instead of "md5"). Without the eap parameter in phase2, wpa_supplicant would accept whatever the server proposes first (which, most commonly, with PEAP is EAP-MSCHAPv2). With the phase2 eap=MD5 parameter included, wpa_supplicant will accept only the specified EAP method in Phase 2, i.e., the initial EAP-MSCHAPv2 attempt would be NAK'ed and if the server supports EAP-MD5, it would be used instead.
- Jouni - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html