Test Environment: Can PEAPv0 and PEAPv1 be setup together on the default instance?
Hi, I am fairly new to FreeRADIUS, so pelase bear with me a bit. I have searched the forums and websites to find an implementation that allows me to configure my server to process BOTH PEAP MSCHAP and PEAP/EAP-GTC (v0 and v1). I have not found anyone trying to do this, but I am not working on a production system this is for test purposes. My GOAL: I am working to setup a test environment that allows us to test our products using EAP-TLS, EAP-TTLS, LEAP, PEAP/MSChap, and PEAP/EAP-GTC. CURRENT: What I have so far is a working system that processes everything except PEAP/EAP-GTC. All authentication is performed through a local LDAP solution (setup with CLEAR-TEXT again testing not production). All of this is using the same client and the same certificates (i.e. the same certificate that is being used for PEAP/MSCHAP is being used for PEAP/EAP-GTC for tunnel authentication). What I am seeing in the logs is the standard check your certificates message (as seen below in the radiusd -X log). Like I said it is the same cert and client that works for PEAPv0... so I am guessing this is not the actual problem. I have run wireshark and grabbed the packet traces as well, when my client connects it requests PEAP as the preferred auth type but FR seems to be pushing v0 as the request type and does not seem to be allowing for v1. My client does not handle this gracefully. My QUESTION: Is there an easy way to configure FR to allow for both types of requests? I have been looking at the virtual server options without much luck in understanding how to configure a secondary virtual server to provide a GTC interface. If that is a recommendation, any guidance on setting up a straight EAP-GTC via LDAP virtual server would be appreciated. Thanks in advanced for any assistance. Logs below: FreeRADIUS Version 2.1.12, for host x86_64-suse-linux-gnu, built on Feb 13 2012 at 14:07:11 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 /etc/raddb/radiusd.conf including configuration file /etc/raddb/proxy.conf including configuration file /etc/raddb/clients.conf including files in directory /etc/raddb/modules/ including configuration file /etc/raddb/modules/cui including configuration file /etc/raddb/modules/pam including configuration file /etc/raddb/modules/pap including configuration file /etc/raddb/modules/otp including configuration file /etc/raddb/modules/soh including configuration file /etc/raddb/modules/chap including configuration file /etc/raddb/modules/echo including configuration file /etc/raddb/modules/exec including configuration file /etc/raddb/modules/expr including configuration file /etc/raddb/modules/ldap including configuration file /etc/raddb/modules/krb5 including configuration file /etc/raddb/modules/perl including configuration file /etc/raddb/modules/unix including configuration file /etc/raddb/modules/inner-eap including configuration file /etc/raddb/modules/radutmp including configuration file /etc/raddb/modules/counter including configuration file /etc/raddb/modules/opendirectory including configuration file /etc/raddb/modules/acct_unique including configuration file /etc/raddb/modules/files including configuration file /etc/raddb/modules/realm including configuration file /etc/raddb/modules/redis including configuration file /etc/raddb/modules/wimax including configuration file /etc/raddb/modules/mac2vlan including configuration file /etc/raddb/modules/replicate including configuration file /etc/raddb/modules/linelog including configuration file /etc/raddb/modules/sqlcounter_expire_on_login including configuration file /etc/raddb/modules/detail.example.com including configuration file /etc/raddb/modules/checkval including configuration file /etc/raddb/modules/ntlm_auth including configuration file /etc/raddb/modules/logintime including configuration file /etc/raddb/modules/sql_log including configuration file /etc/raddb/modules/sradutmp including configuration file /etc/raddb/modules/always including configuration file /etc/raddb/modules/attr_rewrite including configuration file /etc/raddb/modules/detail including configuration file /etc/raddb/modules/digest including configuration file /etc/raddb/modules/dynamic_clients including configuration file /etc/raddb/modules/ippool including configuration file /etc/raddb/modules/mac2ip including configuration file /etc/raddb/modules/mschap including configuration file /etc/raddb/modules/smbpasswd including configuration file /etc/raddb/modules/passwd including configuration file /etc/raddb/modules/policy including configuration file /etc/raddb/modules/smsotp including configuration file /etc/raddb/modules/etc_group including configuration file /etc/raddb/modules/preprocess including configuration file /etc/raddb/modules/attr_filter including configuration file /etc/raddb/modules/detail.log including configuration file /etc/raddb/modules/rediswho including configuration file /etc/raddb/modules/expiration including configuration file /etc/raddb/eap.conf including configuration file /etc/raddb/policy.conf 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 including configuration file /etc/raddb/sites-enabled/control-socket main { user = "radiusd" group = "radiusd" allow_core_dumps = no } including dictionary file /etc/raddb/dictionary 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 } 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 = no dead_time = 120 wake_all_if_all_dead = no } home_server localhost { ipaddr = 127.0.0.1 port = 1812 type = "auth" secret = "testing123" response_window = 20 max_outstanding = 65536 require_message_authenticator = yes zombie_period = 40 status_check = "status-server" ping_interval = 30 check_interval = 30 num_answers_to_alive = 3 num_pings_to_alive = 3 revive_interval = 120 status_check_timeout = 4 coa { irt = 2 mrt = 16 mrc = 5 mrd = 30 } } 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 = "testing123" nastype = "other" } client 10.0.12.100 { require_message_authenticator = no secret = "V0c0ll3ct" shortname = "SQA_WLC" } radiusd: #### Instantiating modules #### instantiate { Module: Linked to module rlm_exec Module: Instantiating module "exec" from file /etc/raddb/modules/exec exec { wait = no input_pairs = "request" shell_escape = yes } Module: Linked to module rlm_expr Module: Instantiating module "expr" from file /etc/raddb/modules/expr Module: Linked to module rlm_expiration Module: Instantiating module "expiration" from file /etc/raddb/modules/expiration expiration { reply-message = "Password Has Expired " } Module: Linked to module rlm_logintime Module: Instantiating module "logintime" from file /etc/raddb/modules/logintime logintime { reply-message = "You are calling outside your allowed timespan " minimum-timeout = 60 } } radiusd: #### Loading Virtual Servers #### server { # from file /etc/raddb/radiusd.conf modules { Module: Creating Auth-Type = digest Module: Creating Post-Auth-Type = REJECT Module: Checking authenticate {...} for more modules to load Module: Linked to module rlm_pap Module: Instantiating module "pap" from file /etc/raddb/modules/pap pap { encryption_scheme = "auto" auto_header = no } Module: Linked to module rlm_chap Module: Instantiating module "chap" from file /etc/raddb/modules/chap Module: Linked to module rlm_mschap Module: Instantiating module "mschap" from file /etc/raddb/modules/mschap mschap { use_mppe = yes require_encryption = no require_strong = no with_ntdomain_hack = no allow_retry = yes } Module: Linked to module rlm_digest Module: Instantiating module "digest" from file /etc/raddb/modules/digest Module: Linked to module rlm_unix Module: Instantiating module "unix" from file /etc/raddb/modules/unix unix { radwtmp = "/var/log/radius/radwtmp" } Module: Linked to module rlm_eap Module: Instantiating module "eap" from file /etc/raddb/eap.conf eap { default_eap_type = "md5" timer_expire = 60 ignore_unknown_eap_types = no cisco_accounting_username_bug = no max_sessions = 4096 } 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 CA_path = "/u02/security/EapCA" pem_file_type = yes private_key_file = "/u02/security/FreeRADIUS/FreeRADIUS.pem" certificate_file = "/u02/security/FreeRADIUS/FreeRADIUS.pem" CA_file = "/u02/security/EapCA/EapCA.pem" private_key_password = "FreeRADIUS" dh_file = "/u02/security/FreeRADIUS/dh" random_file = "/u02/security/FreeRADIUS/random" fragment_size = 1024 include_length = yes check_crl = no cipher_list = "DEFAULT" make_cert_command = "/u02/security/FreeRADIUS/bootstrap" ecdh_curve = "prime256v1" cache { enable = no lifetime = 0 max_entries = 255 } verify { } ocsp { enable = no override_cert_url = yes url = "http://127.0.0.1/ocsp/" } } Module: Linked to sub-module rlm_eap_ttls Module: Instantiating eap-ttls ttls { default_eap_type = "md5" copy_request_to_tunnel = no use_tunneled_reply = no virtual_server = "inner-tunnel" include_length = yes } Module: Linked to sub-module rlm_eap_peap Module: Instantiating eap-peap peap { default_eap_type = "mschapv2" copy_request_to_tunnel = no use_tunneled_reply = no proxy_tunneled_request_as_eap = yes virtual_server = "inner-tunnel" soh = no } Module: Linked to sub-module rlm_eap_mschapv2 Module: Instantiating eap-mschapv2 mschapv2 { with_ntdomain_hack = no send_error = no } Module: Checking authorize {...} for more modules to load Module: Linked to module rlm_preprocess Module: Instantiating module "preprocess" from file /etc/raddb/modules/preprocess preprocess { huntgroups = "/etc/raddb/huntgroups" hints = "/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: Linked to module rlm_realm Module: Instantiating module "suffix" from file /etc/raddb/modules/realm realm suffix { format = "suffix" delimiter = "@" ignore_default = no ignore_null = no } Module: Linked to module rlm_files Module: Instantiating module "files" from file /etc/raddb/modules/files files { usersfile = "/etc/raddb/users" acctusersfile = "/etc/raddb/acct_users" preproxy_usersfile = "/etc/raddb/preproxy_users" compat = "no" } Module: Linked to module rlm_ldap Module: Instantiating module "ldap" from file /etc/raddb/modules/ldap ldap { server = "eng-eap-auth" port = 389 password = "OpenDSAdmin" identity = "cn=OpenDSAdmin" net_timeout = 1 timeout = 4 timelimit = 3 tls_mode = no start_tls = no tls_require_cert = "allow" tls { start_tls = no require_cert = "allow" } basedn = "dc=eap,dc=eng" filter = "(uid=%{%{Stripped-User-Name}:-%{User-Name}})" base_filter = "(objectclass=radiusprofile)" auto_header = no access_attr_used_for_allow = yes groupname_attribute = "cn" groupmembership_filter = "(|(&(objectClass=GroupOfNames)(member=%{Ldap-UserDn}))(&(objectClass=GroupOfUniqueNames)(uniquemember=%{Ldap-UserDn})))" dictionary_mapping = "/etc/raddb/ldap.attrmap" ldap_debug = 0 ldap_connections_number = 5 compare_check_items = no do_xlat = yes edir_account_policy_check = no set_auth_type = yes keepalive { interval = 3 } } rlm_ldap: Registering ldap_groupcmp for Ldap-Group rlm_ldap: Registering ldap_xlat with xlat_name ldap rlm_ldap: Over-riding set_auth_type, as there is no module ldap listed in the "authenticate" section. rlm_ldap: reading ldap<->radius mappings from file /etc/raddb/ldap.attrmap rlm_ldap: LDAP radiusCheckItem mapped to RADIUS $GENERIC$ rlm_ldap: LDAP radiusReplyItem mapped to RADIUS $GENERIC$ rlm_ldap: LDAP radiusAuthType mapped to RADIUS Auth-Type rlm_ldap: LDAP radiusSimultaneousUse mapped to RADIUS Simultaneous-Use rlm_ldap: LDAP radiusCalledStationId mapped to RADIUS Called-Station-Id rlm_ldap: LDAP radiusCallingStationId mapped to RADIUS Calling-Station-Id rlm_ldap: LDAP lmPassword mapped to RADIUS LM-Password rlm_ldap: LDAP ntPassword mapped to RADIUS NT-Password rlm_ldap: LDAP sambaLmPassword mapped to RADIUS LM-Password rlm_ldap: LDAP sambaNtPassword mapped to RADIUS NT-Password rlm_ldap: LDAP dBCSPwd mapped to RADIUS LM-Password rlm_ldap: LDAP userPassword mapped to RADIUS Password-With-Header rlm_ldap: LDAP acctFlags mapped to RADIUS SMB-Account-CTRL-TEXT rlm_ldap: LDAP radiusExpiration mapped to RADIUS Expiration rlm_ldap: LDAP radiusNASIpAddress mapped to RADIUS NAS-IP-Address rlm_ldap: LDAP radiusServiceType mapped to RADIUS Service-Type rlm_ldap: LDAP radiusFramedProtocol mapped to RADIUS Framed-Protocol rlm_ldap: LDAP radiusFramedIPAddress mapped to RADIUS Framed-IP-Address rlm_ldap: LDAP radiusFramedIPNetmask mapped to RADIUS Framed-IP-Netmask rlm_ldap: LDAP radiusFramedRoute mapped to RADIUS Framed-Route rlm_ldap: LDAP radiusFramedRouting mapped to RADIUS Framed-Routing rlm_ldap: LDAP radiusFilterId mapped to RADIUS Filter-Id rlm_ldap: LDAP radiusFramedMTU mapped to RADIUS Framed-MTU rlm_ldap: LDAP radiusFramedCompression mapped to RADIUS Framed-Compression rlm_ldap: LDAP radiusLoginIPHost mapped to RADIUS Login-IP-Host rlm_ldap: LDAP radiusLoginService mapped to RADIUS Login-Service rlm_ldap: LDAP radiusLoginTCPPort mapped to RADIUS Login-TCP-Port rlm_ldap: LDAP radiusCallbackNumber mapped to RADIUS Callback-Number rlm_ldap: LDAP radiusCallbackId mapped to RADIUS Callback-Id rlm_ldap: LDAP radiusFramedIPXNetwork mapped to RADIUS Framed-IPX-Network rlm_ldap: LDAP radiusClass mapped to RADIUS Class rlm_ldap: LDAP radiusSessionTimeout mapped to RADIUS Session-Timeout rlm_ldap: LDAP radiusIdleTimeout mapped to RADIUS Idle-Timeout rlm_ldap: LDAP radiusTerminationAction mapped to RADIUS Termination-Action rlm_ldap: LDAP radiusLoginLATService mapped to RADIUS Login-LAT-Service rlm_ldap: LDAP radiusLoginLATNode mapped to RADIUS Login-LAT-Node rlm_ldap: LDAP radiusLoginLATGroup mapped to RADIUS Login-LAT-Group rlm_ldap: LDAP radiusFramedAppleTalkLink mapped to RADIUS Framed-AppleTalk-Link rlm_ldap: LDAP radiusFramedAppleTalkNetwork mapped to RADIUS Framed-AppleTalk-Network rlm_ldap: LDAP radiusFramedAppleTalkZone mapped to RADIUS Framed-AppleTalk-Zone rlm_ldap: LDAP radiusPortLimit mapped to RADIUS Port-Limit rlm_ldap: LDAP radiusLoginLATPort mapped to RADIUS Login-LAT-Port rlm_ldap: LDAP radiusReplyMessage mapped to RADIUS Reply-Message rlm_ldap: LDAP radiusTunnelType mapped to RADIUS Tunnel-Type rlm_ldap: LDAP radiusTunnelMediumType mapped to RADIUS Tunnel-Medium-Type rlm_ldap: LDAP radiusTunnelPrivateGroupId mapped to RADIUS Tunnel-Private-Group-Id conns: 0x6c9850 Module: Checking preacct {...} for more modules to load Module: Linked to module rlm_acct_unique Module: Instantiating module "acct_unique" from file /etc/raddb/modules/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 module "detail" from file /etc/raddb/modules/detail detail { detailfile = "/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d" header = "%t" detailperm = 384 dirperm = 493 locking = no log_packet_header = no } Module: Linked to module rlm_radutmp Module: Instantiating module "radutmp" from file /etc/raddb/modules/radutmp radutmp { filename = "/var/log/radius/radutmp" username = "%{User-Name}" case_sensitive = yes check_with_nas = yes perm = 384 callerid = yes } Module: Linked to module rlm_attr_filter Module: Instantiating module "attr_filter.accounting_response" from file /etc/raddb/modules/attr_filter attr_filter attr_filter.accounting_response { attrsfile = "/etc/raddb/attrs.accounting_response" key = "%{User-Name}" relaxed = no } 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 Module: Instantiating module "attr_filter.access_reject" from file /etc/raddb/modules/attr_filter attr_filter attr_filter.access_reject { attrsfile = "/etc/raddb/attrs.access_reject" key = "%{User-Name}" relaxed = no } } # modules } # server server inner-tunnel { # from file /etc/raddb/sites-enabled/inner-tunnel modules { Module: Checking authenticate {...} for more modules to load Module: Checking authorize {...} for more modules to load 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 = "/var/run/radiusd/radiusd.sock" } } listen { type = "auth" ipaddr = 127.0.0.1 port = 18120 } ... adding new socket proxy address * port 32774 Listening on authentication address * port 1812 Listening on accounting address * port 1813 Listening on command file /var/run/radiusd/radiusd.sock Listening on authentication address 127.0.0.1 port 18120 as server inner-tunnel Listening on proxy address * port 1814 Ready to process requests. rad_recv: Access-Request packet from host 10.0.12.100 port 32769, id=88, length=163 User-Name = "peapuser0" Calling-Station-Id = "00-17-23-00-09-61" Called-Station-Id = "00-0B-85-80-F7-F0:WARD_EAP" NAS-Port = 4 NAS-IP-Address = 10.0.12.100 NAS-Identifier = "SQA_WLC" Airespace-Wlan-Id = 15 Service-Type = Framed-User Framed-MTU = 1300 NAS-Port-Type = Wireless-802.11 EAP-Message = 0x0201000e01706561707573657230 Message-Authenticator = 0x96d7e61227c67c001087e31d038751dc # Executing section authorize from file /etc/raddb/sites-enabled/default +- entering group authorize {...} ++[preprocess] returns ok ++[chap] returns noop ++[mschap] returns noop ++[digest] returns noop [suffix] No '@' in User-Name = "peapuser0", looking up realm NULL [suffix] No such realm "NULL" ++[suffix] returns noop [eap] EAP packet type response id 1 length 14 [eap] No EAP Start, assuming it's an on-going EAP conversation ++[eap] returns updated ++[files] returns noop [ldap] performing user authorization for peapuser0 [ldap] expand: %{Stripped-User-Name} -> [ldap] ... expanding second conditional [ldap] expand: %{User-Name} -> peapuser0 [ldap] expand: (uid=%{%{Stripped-User-Name}:-%{User-Name}}) -> (uid=peapuser0) [ldap] expand: dc=eap,dc=eng -> dc=eap,dc=eng [ldap] ldap_get_conn: Checking Id: 0 [ldap] ldap_get_conn: Got Id: 0 [ldap] attempting LDAP reconnection [ldap] (re)connect to eng-eap-auth:389, authentication 0 [ldap] bind as cn=OpenDSAdmin/OpenDSAdmin to eng-eap-auth:389 [ldap] waiting for bind result ... [ldap] Bind was successful [ldap] performing search in dc=eap,dc=eng, with filter (uid=peapuser0) [ldap] No default NMAS login sequence [ldap] looking for check items in directory... [ldap] userPassword -> Password-With-Header == "{CLEAR}peapuser0" [ldap] looking for reply items in directory... [ldap] user peapuser0 authorized to use remote access [ldap] ldap_release_conn: Release Id: 0 ++[ldap] returns ok ++[expiration] returns noop ++[logintime] returns noop [pap] WARNING: Auth-Type already set. Not setting to PAP ++[pap] returns noop Found Auth-Type = EAP # Executing group from file /etc/raddb/sites-enabled/default +- entering group authenticate {...} [eap] EAP Identity [eap] processing type md5 rlm_eap_md5: Issuing Challenge ++[eap] returns handled Sending Access-Challenge of id 88 to 10.0.12.100 port 32769 EAP-Message = 0x0102001604106161c64876ee8e168904949a27509d24 Message-Authenticator = 0x00000000000000000000000000000000 State = 0x669d9c54669f980162c5c19a61c497cc Finished request 0. Going to the next request Waking up in 4.9 seconds. rad_recv: Access-Request packet from host 10.0.12.100 port 32769, id=89, length=173 User-Name = "peapuser0" Calling-Station-Id = "00-17-23-00-09-61" Called-Station-Id = "00-0B-85-80-F7-F0:WARD_EAP" NAS-Port = 4 NAS-IP-Address = 10.0.12.100 NAS-Identifier = "SQA_WLC" Airespace-Wlan-Id = 15 Service-Type = Framed-User Framed-MTU = 1300 NAS-Port-Type = Wireless-802.11 EAP-Message = 0x020200060319 State = 0x669d9c54669f980162c5c19a61c497cc Message-Authenticator = 0x09bf99497269530bdd70e1c66d4f4501 # Executing section authorize from file /etc/raddb/sites-enabled/default +- entering group authorize {...} ++[preprocess] returns ok ++[chap] returns noop ++[mschap] returns noop ++[digest] returns noop [suffix] No '@' in User-Name = "peapuser0", looking up realm NULL [suffix] No such realm "NULL" ++[suffix] returns noop [eap] EAP packet type response id 2 length 6 [eap] No EAP Start, assuming it's an on-going EAP conversation ++[eap] returns updated ++[files] returns noop [ldap] performing user authorization for peapuser0 [ldap] expand: %{Stripped-User-Name} -> [ldap] ... expanding second conditional [ldap] expand: %{User-Name} -> peapuser0 [ldap] expand: (uid=%{%{Stripped-User-Name}:-%{User-Name}}) -> (uid=peapuser0) [ldap] expand: dc=eap,dc=eng -> dc=eap,dc=eng [ldap] ldap_get_conn: Checking Id: 0 [ldap] ldap_get_conn: Got Id: 0 [ldap] performing search in dc=eap,dc=eng, with filter (uid=peapuser0) [ldap] No default NMAS login sequence [ldap] looking for check items in directory... [ldap] userPassword -> Password-With-Header == "{CLEAR}peapuser0" [ldap] looking for reply items in directory... [ldap] user peapuser0 authorized to use remote access [ldap] ldap_release_conn: Release Id: 0 ++[ldap] returns ok ++[expiration] returns noop ++[logintime] returns noop [pap] WARNING: Auth-Type already set. Not setting to PAP ++[pap] returns noop Found Auth-Type = EAP # Executing group from file /etc/raddb/sites-enabled/default +- entering group authenticate {...} [eap] Request found, released from the list [eap] EAP NAK [eap] EAP-NAK asked for EAP-Type/peap [eap] processing type tls [tls] Initiate [tls] Start returned 1 ++[eap] returns handled Sending Access-Challenge of id 89 to 10.0.12.100 port 32769 EAP-Message = 0x010300061920 Message-Authenticator = 0x00000000000000000000000000000000 State = 0x669d9c54679e850162c5c19a61c497cc Finished request 1. Going to the next request Waking up in 4.7 seconds. Cleaning up request 0 ID 88 with timestamp +59 Waking up in 0.2 seconds. Cleaning up request 1 ID 89 with timestamp +59 WARNING: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! WARNING: !! EAP session for state 0x669d9c54679e8501 did not finish! WARNING: !! Please read http://wiki.freeradius.org/Certificate_Compatibility WARNING: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Ready to process requests. rad_recv: Access-Request packet from host 10.0.12.100 port 32769, id=90, length=163 User-Name = "peapuser0" Calling-Station-Id = "00-17-23-00-09-61" Called-Station-Id = "00-0B-85-80-F7-F0:WARD_EAP" NAS-Port = 4 NAS-IP-Address = 10.0.12.100 NAS-Identifier = "SQA_WLC" Airespace-Wlan-Id = 15 Service-Type = Framed-User Framed-MTU = 1300 NAS-Port-Type = Wireless-802.11 EAP-Message = 0x0201000e01706561707573657230 Message-Authenticator = 0x27ced1e5a2a32a1a1345bd6c0d3d3266 # Executing section authorize from file /etc/raddb/sites-enabled/default +- entering group authorize {...} ++[preprocess] returns ok ++[chap] returns noop ++[mschap] returns noop ++[digest] returns noop [suffix] No '@' in User-Name = "peapuser0", looking up realm NULL [suffix] No such realm "NULL" ++[suffix] returns noop [eap] EAP packet type response id 1 length 14 [eap] No EAP Start, assuming it's an on-going EAP conversation ++[eap] returns updated ++[files] returns noop [ldap] performing user authorization for peapuser0 [ldap] expand: %{Stripped-User-Name} -> [ldap] ... expanding second conditional [ldap] expand: %{User-Name} -> peapuser0 [ldap] expand: (uid=%{%{Stripped-User-Name}:-%{User-Name}}) -> (uid=peapuser0) [ldap] expand: dc=eap,dc=eng -> dc=eap,dc=eng [ldap] ldap_get_conn: Checking Id: 0 [ldap] ldap_get_conn: Got Id: 0 [ldap] performing search in dc=eap,dc=eng, with filter (uid=peapuser0) [ldap] No default NMAS login sequence [ldap] looking for check items in directory... [ldap] userPassword -> Password-With-Header == "{CLEAR}peapuser0" [ldap] looking for reply items in directory... [ldap] user peapuser0 authorized to use remote access [ldap] ldap_release_conn: Release Id: 0 ++[ldap] returns ok ++[expiration] returns noop ++[logintime] returns noop [pap] WARNING: Auth-Type already set. Not setting to PAP ++[pap] returns noop Found Auth-Type = EAP # Executing group from file /etc/raddb/sites-enabled/default +- entering group authenticate {...} [eap] EAP Identity [eap] processing type md5 rlm_eap_md5: Issuing Challenge ++[eap] returns handled Sending Access-Challenge of id 90 to 10.0.12.100 port 32769 EAP-Message = 0x0102001604104a074f41e833b0dec10667681ba64e61 Message-Authenticator = 0x00000000000000000000000000000000 State = 0xbd9fddc6bd9dd9842b7990ab680bfb25 Finished request 2. Going to the next request Waking up in 4.9 seconds. rad_recv: Access-Request packet from host 10.0.12.100 port 32769, id=91, length=173 User-Name = "peapuser0" Calling-Station-Id = "00-17-23-00-09-61" Called-Station-Id = "00-0B-85-80-F7-F0:WARD_EAP" NAS-Port = 4 NAS-IP-Address = 10.0.12.100 NAS-Identifier = "SQA_WLC" Airespace-Wlan-Id = 15 Service-Type = Framed-User Framed-MTU = 1300 NAS-Port-Type = Wireless-802.11 EAP-Message = 0x020200060319 State = 0xbd9fddc6bd9dd9842b7990ab680bfb25 Message-Authenticator = 0xbd799dda9835151d9e485733a4e04643 # Executing section authorize from file /etc/raddb/sites-enabled/default +- entering group authorize {...} ++[preprocess] returns ok ++[chap] returns noop ++[mschap] returns noop ++[digest] returns noop [suffix] No '@' in User-Name = "peapuser0", looking up realm NULL [suffix] No such realm "NULL" ++[suffix] returns noop [eap] EAP packet type response id 2 length 6 [eap] No EAP Start, assuming it's an on-going EAP conversation ++[eap] returns updated ++[files] returns noop [ldap] performing user authorization for peapuser0 [ldap] expand: %{Stripped-User-Name} -> [ldap] ... expanding second conditional [ldap] expand: %{User-Name} -> peapuser0 [ldap] expand: (uid=%{%{Stripped-User-Name}:-%{User-Name}}) -> (uid=peapuser0) [ldap] expand: dc=eap,dc=eng -> dc=eap,dc=eng [ldap] ldap_get_conn: Checking Id: 0 [ldap] ldap_get_conn: Got Id: 0 [ldap] performing search in dc=eap,dc=eng, with filter (uid=peapuser0) [ldap] No default NMAS login sequence [ldap] looking for check items in directory... [ldap] userPassword -> Password-With-Header == "{CLEAR}peapuser0" [ldap] looking for reply items in directory... [ldap] user peapuser0 authorized to use remote access [ldap] ldap_release_conn: Release Id: 0 ++[ldap] returns ok ++[expiration] returns noop ++[logintime] returns noop [pap] WARNING: Auth-Type already set. Not setting to PAP ++[pap] returns noop Found Auth-Type = EAP # Executing group from file /etc/raddb/sites-enabled/default +- entering group authenticate {...} [eap] Request found, released from the list [eap] EAP NAK [eap] EAP-NAK asked for EAP-Type/peap [eap] processing type tls [tls] Initiate [tls] Start returned 1 ++[eap] returns handled Sending Access-Challenge of id 91 to 10.0.12.100 port 32769 EAP-Message = 0x010300061920 Message-Authenticator = 0x00000000000000000000000000000000 State = 0xbd9fddc6bc9cc4842b7990ab680bfb25 Finished request 3. Going to the next request Waking up in 4.7 seconds. Cleaning up request 2 ID 90 with timestamp +90 Waking up in 0.2 seconds. Cleaning up request 3 ID 91 with timestamp +90 WARNING: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! WARNING: !! EAP session for state 0xbd9fddc6bc9cc484 did not finish! WARNING: !! Please read http://wiki.freeradius.org/Certificate_Compatibility WARNING: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Ready to process requests. rad_recv: Access-Request packet from host 10.0.12.100 port 32769, id=92, length=163 User-Name = "peapuser0" Calling-Station-Id = "00-17-23-00-09-61" Called-Station-Id = "00-0B-85-80-F7-F0:WARD_EAP" NAS-Port = 4 NAS-IP-Address = 10.0.12.100 NAS-Identifier = "SQA_WLC" Airespace-Wlan-Id = 15 Service-Type = Framed-User Framed-MTU = 1300 NAS-Port-Type = Wireless-802.11 EAP-Message = 0x0201000e01706561707573657230 Message-Authenticator = 0xd0588889f2bc0833b103cacae5cad8a6 # Executing section authorize from file /etc/raddb/sites-enabled/default +- entering group authorize {...} ++[preprocess] returns ok ++[chap] returns noop ++[mschap] returns noop ++[digest] returns noop [suffix] No '@' in User-Name = "peapuser0", looking up realm NULL [suffix] No such realm "NULL" ++[suffix] returns noop [eap] EAP packet type response id 1 length 14 [eap] No EAP Start, assuming it's an on-going EAP conversation ++[eap] returns updated ++[files] returns noop [ldap] performing user authorization for peapuser0 [ldap] expand: %{Stripped-User-Name} -> [ldap] ... expanding second conditional [ldap] expand: %{User-Name} -> peapuser0 [ldap] expand: (uid=%{%{Stripped-User-Name}:-%{User-Name}}) -> (uid=peapuser0) [ldap] expand: dc=eap,dc=eng -> dc=eap,dc=eng [ldap] ldap_get_conn: Checking Id: 0 [ldap] ldap_get_conn: Got Id: 0 [ldap] performing search in dc=eap,dc=eng, with filter (uid=peapuser0) [ldap] No default NMAS login sequence [ldap] looking for check items in directory... [ldap] userPassword -> Password-With-Header == "{CLEAR}peapuser0" [ldap] looking for reply items in directory... [ldap] user peapuser0 authorized to use remote access [ldap] ldap_release_conn: Release Id: 0 ++[ldap] returns ok ++[expiration] returns noop ++[logintime] returns noop [pap] WARNING: Auth-Type already set. Not setting to PAP ++[pap] returns noop Found Auth-Type = EAP # Executing group from file /etc/raddb/sites-enabled/default +- entering group authenticate {...} [eap] EAP Identity [eap] processing type md5 rlm_eap_md5: Issuing Challenge ++[eap] returns handled Sending Access-Challenge of id 92 to 10.0.12.100 port 32769 EAP-Message = 0x0102001604108ed49b18ef352cd93a46d489c7659377 Message-Authenticator = 0x00000000000000000000000000000000 State = 0xf02e5ad7f02c5e675a0752e53820512b Finished request 4. Going to the next request Waking up in 4.9 seconds. rad_recv: Access-Request packet from host 10.0.12.100 port 32769, id=93, length=173 User-Name = "peapuser0" Calling-Station-Id = "00-17-23-00-09-61" Called-Station-Id = "00-0B-85-80-F7-F0:WARD_EAP" NAS-Port = 4 NAS-IP-Address = 10.0.12.100 NAS-Identifier = "SQA_WLC" Airespace-Wlan-Id = 15 Service-Type = Framed-User Framed-MTU = 1300 NAS-Port-Type = Wireless-802.11 EAP-Message = 0x020200060319 State = 0xf02e5ad7f02c5e675a0752e53820512b Message-Authenticator = 0x0c3fe3419ee874b2d8e44647580871db # Executing section authorize from file /etc/raddb/sites-enabled/default +- entering group authorize {...} ++[preprocess] returns ok ++[chap] returns noop ++[mschap] returns noop ++[digest] returns noop [suffix] No '@' in User-Name = "peapuser0", looking up realm NULL [suffix] No such realm "NULL" ++[suffix] returns noop [eap] EAP packet type response id 2 length 6 [eap] No EAP Start, assuming it's an on-going EAP conversation ++[eap] returns updated ++[files] returns noop [ldap] performing user authorization for peapuser0 [ldap] expand: %{Stripped-User-Name} -> [ldap] ... expanding second conditional [ldap] expand: %{User-Name} -> peapuser0 [ldap] expand: (uid=%{%{Stripped-User-Name}:-%{User-Name}}) -> (uid=peapuser0) [ldap] expand: dc=eap,dc=eng -> dc=eap,dc=eng [ldap] ldap_get_conn: Checking Id: 0 [ldap] ldap_get_conn: Got Id: 0 [ldap] performing search in dc=eap,dc=eng, with filter (uid=peapuser0) [ldap] No default NMAS login sequence [ldap] looking for check items in directory... [ldap] userPassword -> Password-With-Header == "{CLEAR}peapuser0" [ldap] looking for reply items in directory... [ldap] user peapuser0 authorized to use remote access [ldap] ldap_release_conn: Release Id: 0 ++[ldap] returns ok ++[expiration] returns noop ++[logintime] returns noop [pap] WARNING: Auth-Type already set. Not setting to PAP ++[pap] returns noop Found Auth-Type = EAP # Executing group from file /etc/raddb/sites-enabled/default +- entering group authenticate {...} [eap] Request found, released from the list [eap] EAP NAK [eap] EAP-NAK asked for EAP-Type/peap [eap] processing type tls [tls] Initiate [tls] Start returned 1 ++[eap] returns handled Sending Access-Challenge of id 93 to 10.0.12.100 port 32769 EAP-Message = 0x010300061920 Message-Authenticator = 0x00000000000000000000000000000000 State = 0xf02e5ad7f12d43675a0752e53820512b Finished request 5. Going to the next request Waking up in 4.6 seconds. Cleaning up request 4 ID 92 with timestamp +96 Waking up in 0.3 seconds. rad_recv: Access-Request packet from host 10.0.12.100 port 32769, id=94, length=163 User-Name = "peapuser0" Calling-Station-Id = "00-17-23-00-09-61" Called-Station-Id = "00-0B-85-80-F7-F0:WARD_EAP" NAS-Port = 4 NAS-IP-Address = 10.0.12.100 NAS-Identifier = "SQA_WLC" Airespace-Wlan-Id = 15 Service-Type = Framed-User Framed-MTU = 1300 NAS-Port-Type = Wireless-802.11 EAP-Message = 0x0201000e01706561707573657230 Message-Authenticator = 0x837a1edb18992340b636ade370f6a9e1 # Executing section authorize from file /etc/raddb/sites-enabled/default +- entering group authorize {...} ++[preprocess] returns ok ++[chap] returns noop ++[mschap] returns noop ++[digest] returns noop [suffix] No '@' in User-Name = "peapuser0", looking up realm NULL [suffix] No such realm "NULL" ++[suffix] returns noop [eap] EAP packet type response id 1 length 14 [eap] No EAP Start, assuming it's an on-going EAP conversation ++[eap] returns updated ++[files] returns noop [ldap] performing user authorization for peapuser0 [ldap] expand: %{Stripped-User-Name} -> [ldap] ... expanding second conditional [ldap] expand: %{User-Name} -> peapuser0 [ldap] expand: (uid=%{%{Stripped-User-Name}:-%{User-Name}}) -> (uid=peapuser0) [ldap] expand: dc=eap,dc=eng -> dc=eap,dc=eng [ldap] ldap_get_conn: Checking Id: 0 [ldap] ldap_get_conn: Got Id: 0 [ldap] performing search in dc=eap,dc=eng, with filter (uid=peapuser0) [ldap] No default NMAS login sequence [ldap] looking for check items in directory... [ldap] userPassword -> Password-With-Header == "{CLEAR}peapuser0" [ldap] looking for reply items in directory... [ldap] user peapuser0 authorized to use remote access [ldap] ldap_release_conn: Release Id: 0 ++[ldap] returns ok ++[expiration] returns noop ++[logintime] returns noop [pap] WARNING: Auth-Type already set. Not setting to PAP ++[pap] returns noop Found Auth-Type = EAP # Executing group from file /etc/raddb/sites-enabled/default +- entering group authenticate {...} [eap] EAP Identity [eap] processing type md5 rlm_eap_md5: Issuing Challenge ++[eap] returns handled Sending Access-Challenge of id 94 to 10.0.12.100 port 32769 EAP-Message = 0x010200160410b17289685d6bd1fb79aa16b845095665 Message-Authenticator = 0x00000000000000000000000000000000 State = 0xde2490a2de2694d19fa97aded2db7696 Finished request 6. Going to the next request Waking up in 0.2 seconds. Cleaning up request 5 ID 93 with timestamp +96 WARNING: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! WARNING: !! EAP session for state 0xf02e5ad7f12d4367 did not finish! WARNING: !! Please read http://wiki.freeradius.org/Certificate_Compatibility WARNING: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Waking up in 4.7 seconds. rad_recv: Access-Request packet from host 10.0.12.100 port 32769, id=95, length=173 User-Name = "peapuser0" Calling-Station-Id = "00-17-23-00-09-61" Called-Station-Id = "00-0B-85-80-F7-F0:WARD_EAP" NAS-Port = 4 NAS-IP-Address = 10.0.12.100 NAS-Identifier = "SQA_WLC" Airespace-Wlan-Id = 15 Service-Type = Framed-User Framed-MTU = 1300 NAS-Port-Type = Wireless-802.11 EAP-Message = 0x020200060319 State = 0xde2490a2de2694d19fa97aded2db7696 Message-Authenticator = 0x62895659920d2a77420c049fad099eb3 # Executing section authorize from file /etc/raddb/sites-enabled/default +- entering group authorize {...} ++[preprocess] returns ok ++[chap] returns noop ++[mschap] returns noop ++[digest] returns noop [suffix] No '@' in User-Name = "peapuser0", looking up realm NULL [suffix] No such realm "NULL" ++[suffix] returns noop [eap] EAP packet type response id 2 length 6 [eap] No EAP Start, assuming it's an on-going EAP conversation ++[eap] returns updated ++[files] returns noop [ldap] performing user authorization for peapuser0 [ldap] expand: %{Stripped-User-Name} -> [ldap] ... expanding second conditional [ldap] expand: %{User-Name} -> peapuser0 [ldap] expand: (uid=%{%{Stripped-User-Name}:-%{User-Name}}) -> (uid=peapuser0) [ldap] expand: dc=eap,dc=eng -> dc=eap,dc=eng [ldap] ldap_get_conn: Checking Id: 0 [ldap] ldap_get_conn: Got Id: 0 [ldap] performing search in dc=eap,dc=eng, with filter (uid=peapuser0) [ldap] No default NMAS login sequence [ldap] looking for check items in directory... [ldap] userPassword -> Password-With-Header == "{CLEAR}peapuser0" [ldap] looking for reply items in directory... [ldap] user peapuser0 authorized to use remote access [ldap] ldap_release_conn: Release Id: 0 ++[ldap] returns ok ++[expiration] returns noop ++[logintime] returns noop [pap] WARNING: Auth-Type already set. Not setting to PAP ++[pap] returns noop Found Auth-Type = EAP # Executing group from file /etc/raddb/sites-enabled/default +- entering group authenticate {...} [eap] Request found, released from the list [eap] EAP NAK [eap] EAP-NAK asked for EAP-Type/peap [eap] processing type tls [tls] Initiate [tls] Start returned 1 ++[eap] returns handled Sending Access-Challenge of id 95 to 10.0.12.100 port 32769 EAP-Message = 0x010300061920 Message-Authenticator = 0x00000000000000000000000000000000 State = 0xde2490a2df2789d19fa97aded2db7696 Finished request 7. Going to the next request Waking up in 4.7 seconds. Cleaning up request 6 ID 94 with timestamp +101 Waking up in 0.2 seconds. Cleaning up request 7 ID 95 with timestamp +101 WARNING: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! WARNING: !! EAP session for state 0xde2490a2df2789d1 did not finish! WARNING: !! Please read http://wiki.freeradius.org/Certificate_Compatibility WARNING: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Ready to process requests. rad_recv: Access-Request packet from host 10.0.12.100 port 32769, id=96, length=163 User-Name = "peapuser0" Calling-Station-Id = "00-17-23-00-09-61" Called-Station-Id = "00-0B-85-80-F7-F0:WARD_EAP" NAS-Port = 4 NAS-IP-Address = 10.0.12.100 NAS-Identifier = "SQA_WLC" Airespace-Wlan-Id = 15 Service-Type = Framed-User Framed-MTU = 1300 NAS-Port-Type = Wireless-802.11 EAP-Message = 0x0201000e01706561707573657230 Message-Authenticator = 0xeed47dd183d35ef705309aed280380b9 # Executing section authorize from file /etc/raddb/sites-enabled/default +- entering group authorize {...} ++[preprocess] returns ok ++[chap] returns noop ++[mschap] returns noop ++[digest] returns noop [suffix] No '@' in User-Name = "peapuser0", looking up realm NULL [suffix] No such realm "NULL" ++[suffix] returns noop [eap] EAP packet type response id 1 length 14 [eap] No EAP Start, assuming it's an on-going EAP conversation ++[eap] returns updated ++[files] returns noop [ldap] performing user authorization for peapuser0 [ldap] expand: %{Stripped-User-Name} -> [ldap] ... expanding second conditional [ldap] expand: %{User-Name} -> peapuser0 [ldap] expand: (uid=%{%{Stripped-User-Name}:-%{User-Name}}) -> (uid=peapuser0) [ldap] expand: dc=eap,dc=eng -> dc=eap,dc=eng [ldap] ldap_get_conn: Checking Id: 0 [ldap] ldap_get_conn: Got Id: 0 [ldap] performing search in dc=eap,dc=eng, with filter (uid=peapuser0) [ldap] No default NMAS login sequence [ldap] looking for check items in directory... [ldap] userPassword -> Password-With-Header == "{CLEAR}peapuser0" [ldap] looking for reply items in directory... [ldap] user peapuser0 authorized to use remote access [ldap] ldap_release_conn: Release Id: 0 ++[ldap] returns ok ++[expiration] returns noop ++[logintime] returns noop [pap] WARNING: Auth-Type already set. Not setting to PAP ++[pap] returns noop Found Auth-Type = EAP # Executing group from file /etc/raddb/sites-enabled/default +- entering group authenticate {...} [eap] EAP Identity [eap] processing type md5 rlm_eap_md5: Issuing Challenge ++[eap] returns handled Sending Access-Challenge of id 96 to 10.0.12.100 port 32769 EAP-Message = 0x0102001604104c1f599a051f9cf66475e0b201faec33 Message-Authenticator = 0x00000000000000000000000000000000 State = 0x40d9ea6940dbeeddc07bb829a9a246f2 Finished request 8. Going to the next request Waking up in 4.9 seconds. rad_recv: Access-Request packet from host 10.0.12.100 port 32769, id=97, length=173 User-Name = "peapuser0" Calling-Station-Id = "00-17-23-00-09-61" Called-Station-Id = "00-0B-85-80-F7-F0:WARD_EAP" NAS-Port = 4 NAS-IP-Address = 10.0.12.100 NAS-Identifier = "SQA_WLC" Airespace-Wlan-Id = 15 Service-Type = Framed-User Framed-MTU = 1300 NAS-Port-Type = Wireless-802.11 EAP-Message = 0x020200060319 State = 0x40d9ea6940dbeeddc07bb829a9a246f2 Message-Authenticator = 0xa5b48193ce88d45547ffe563f44cb38c # Executing section authorize from file /etc/raddb/sites-enabled/default +- entering group authorize {...} ++[preprocess] returns ok ++[chap] returns noop ++[mschap] returns noop ++[digest] returns noop [suffix] No '@' in User-Name = "peapuser0", looking up realm NULL [suffix] No such realm "NULL" ++[suffix] returns noop [eap] EAP packet type response id 2 length 6 [eap] No EAP Start, assuming it's an on-going EAP conversation ++[eap] returns updated ++[files] returns noop [ldap] performing user authorization for peapuser0 [ldap] expand: %{Stripped-User-Name} -> [ldap] ... expanding second conditional [ldap] expand: %{User-Name} -> peapuser0 [ldap] expand: (uid=%{%{Stripped-User-Name}:-%{User-Name}}) -> (uid=peapuser0) [ldap] expand: dc=eap,dc=eng -> dc=eap,dc=eng [ldap] ldap_get_conn: Checking Id: 0 [ldap] ldap_get_conn: Got Id: 0 [ldap] performing search in dc=eap,dc=eng, with filter (uid=peapuser0) [ldap] No default NMAS login sequence [ldap] looking for check items in directory... [ldap] userPassword -> Password-With-Header == "{CLEAR}peapuser0" [ldap] looking for reply items in directory... [ldap] user peapuser0 authorized to use remote access [ldap] ldap_release_conn: Release Id: 0 ++[ldap] returns ok ++[expiration] returns noop ++[logintime] returns noop [pap] WARNING: Auth-Type already set. Not setting to PAP ++[pap] returns noop Found Auth-Type = EAP # Executing group from file /etc/raddb/sites-enabled/default +- entering group authenticate {...} [eap] Request found, released from the list [eap] EAP NAK [eap] EAP-NAK asked for EAP-Type/peap [eap] processing type tls [tls] Initiate [tls] Start returned 1 ++[eap] returns handled Sending Access-Challenge of id 97 to 10.0.12.100 port 32769 EAP-Message = 0x010300061920 Message-Authenticator = 0x00000000000000000000000000000000 State = 0x40d9ea6941daf3ddc07bb829a9a246f2 Finished request 9. Going to the next request Waking up in 4.7 seconds. Cleaning up request 8 ID 96 with timestamp +106 Waking up in 0.2 seconds. Cleaning up request 9 ID 97 with timestamp +107 WARNING: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! WARNING: !! EAP session for state 0x40d9ea6941daf3dd did not finish! WARNING: !! Please read http://wiki.freeradius.org/Certificate_Compatibility WARNING: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Ready to process requests. rad_recv: Access-Request packet from host 10.0.12.100 port 32769, id=98, length=163 User-Name = "peapuser0" Calling-Station-Id = "00-17-23-00-09-61" Called-Station-Id = "00-0B-85-80-F7-F0:WARD_EAP" NAS-Port = 4 NAS-IP-Address = 10.0.12.100 NAS-Identifier = "SQA_WLC" Airespace-Wlan-Id = 15 Service-Type = Framed-User Framed-MTU = 1300 NAS-Port-Type = Wireless-802.11 EAP-Message = 0x0201000e01706561707573657230 Message-Authenticator = 0xa8260649541b620f4171c92fafe48574 # Executing section authorize from file /etc/raddb/sites-enabled/default +- entering group authorize {...} ++[preprocess] returns ok ++[chap] returns noop ++[mschap] returns noop ++[digest] returns noop [suffix] No '@' in User-Name = "peapuser0", looking up realm NULL [suffix] No such realm "NULL" ++[suffix] returns noop [eap] EAP packet type response id 1 length 14 [eap] No EAP Start, assuming it's an on-going EAP conversation ++[eap] returns updated ++[files] returns noop [ldap] performing user authorization for peapuser0 [ldap] expand: %{Stripped-User-Name} -> [ldap] ... expanding second conditional [ldap] expand: %{User-Name} -> peapuser0 [ldap] expand: (uid=%{%{Stripped-User-Name}:-%{User-Name}}) -> (uid=peapuser0) [ldap] expand: dc=eap,dc=eng -> dc=eap,dc=eng [ldap] ldap_get_conn: Checking Id: 0 [ldap] ldap_get_conn: Got Id: 0 [ldap] performing search in dc=eap,dc=eng, with filter (uid=peapuser0) [ldap] No default NMAS login sequence [ldap] looking for check items in directory... [ldap] userPassword -> Password-With-Header == "{CLEAR}peapuser0" [ldap] looking for reply items in directory... [ldap] user peapuser0 authorized to use remote access [ldap] ldap_release_conn: Release Id: 0 ++[ldap] returns ok ++[expiration] returns noop ++[logintime] returns noop [pap] WARNING: Auth-Type already set. Not setting to PAP ++[pap] returns noop Found Auth-Type = EAP # Executing group from file /etc/raddb/sites-enabled/default +- entering group authenticate {...} [eap] EAP Identity [eap] processing type md5 rlm_eap_md5: Issuing Challenge ++[eap] returns handled Sending Access-Challenge of id 98 to 10.0.12.100 port 32769 EAP-Message = 0x010200160410e38f1ec4355e8913dbd8852155eb8656 Message-Authenticator = 0x00000000000000000000000000000000 State = 0xc7b9e4c8c7bbe047683488285fa13096 Finished request 10. Going to the next request Waking up in 4.9 seconds. rad_recv: Access-Request packet from host 10.0.12.100 port 32769, id=99, length=173 User-Name = "peapuser0" Calling-Station-Id = "00-17-23-00-09-61" Called-Station-Id = "00-0B-85-80-F7-F0:WARD_EAP" NAS-Port = 4 NAS-IP-Address = 10.0.12.100 NAS-Identifier = "SQA_WLC" Airespace-Wlan-Id = 15 Service-Type = Framed-User Framed-MTU = 1300 NAS-Port-Type = Wireless-802.11 EAP-Message = 0x020200060319 State = 0xc7b9e4c8c7bbe047683488285fa13096 Message-Authenticator = 0x600121742fea5e5c198ef8919349b136 # Executing section authorize from file /etc/raddb/sites-enabled/default +- entering group authorize {...} ++[preprocess] returns ok ++[chap] returns noop ++[mschap] returns noop ++[digest] returns noop [suffix] No '@' in User-Name = "peapuser0", looking up realm NULL [suffix] No such realm "NULL" ++[suffix] returns noop [eap] EAP packet type response id 2 length 6 [eap] No EAP Start, assuming it's an on-going EAP conversation ++[eap] returns updated ++[files] returns noop [ldap] performing user authorization for peapuser0 [ldap] expand: %{Stripped-User-Name} -> [ldap] ... expanding second conditional [ldap] expand: %{User-Name} -> peapuser0 [ldap] expand: (uid=%{%{Stripped-User-Name}:-%{User-Name}}) -> (uid=peapuser0) [ldap] expand: dc=eap,dc=eng -> dc=eap,dc=eng [ldap] ldap_get_conn: Checking Id: 0 [ldap] ldap_get_conn: Got Id: 0 [ldap] performing search in dc=eap,dc=eng, with filter (uid=peapuser0) [ldap] No default NMAS login sequence [ldap] looking for check items in directory... [ldap] userPassword -> Password-With-Header == "{CLEAR}peapuser0" [ldap] looking for reply items in directory... [ldap] user peapuser0 authorized to use remote access [ldap] ldap_release_conn: Release Id: 0 ++[ldap] returns ok ++[expiration] returns noop ++[logintime] returns noop [pap] WARNING: Auth-Type already set. Not setting to PAP ++[pap] returns noop Found Auth-Type = EAP # Executing group from file /etc/raddb/sites-enabled/default +- entering group authenticate {...} [eap] Request found, released from the list [eap] EAP NAK [eap] EAP-NAK asked for EAP-Type/peap [eap] processing type tls [tls] Initiate [tls] Start returned 1 ++[eap] returns handled Sending Access-Challenge of id 99 to 10.0.12.100 port 32769 EAP-Message = 0x010300061920 Message-Authenticator = 0x00000000000000000000000000000000 State = 0xc7b9e4c8c6bafd47683488285fa13096 Finished request 11. Going to the next request Waking up in 4.9 seconds. rad_recv: Access-Request packet from host 10.0.12.100 port 32769, id=100, length=163 User-Name = "peapuser0" Calling-Station-Id = "00-17-23-00-09-61" Called-Station-Id = "00-0B-85-80-F7-F0:WARD_EAP" NAS-Port = 4 NAS-IP-Address = 10.0.12.100 NAS-Identifier = "SQA_WLC" Airespace-Wlan-Id = 15 Service-Type = Framed-User Framed-MTU = 1300 NAS-Port-Type = Wireless-802.11 EAP-Message = 0x0201000e01706561707573657230 Message-Authenticator = 0x1be2df4cc42d03da82f1072f3b742e22 # Executing section authorize from file /etc/raddb/sites-enabled/default +- entering group authorize {...} ++[preprocess] returns ok ++[chap] returns noop ++[mschap] returns noop ++[digest] returns noop [suffix] No '@' in User-Name = "peapuser0", looking up realm NULL [suffix] No such realm "NULL" ++[suffix] returns noop [eap] EAP packet type response id 1 length 14 [eap] No EAP Start, assuming it's an on-going EAP conversation ++[eap] returns updated ++[files] returns noop [ldap] performing user authorization for peapuser0 [ldap] expand: %{Stripped-User-Name} -> [ldap] ... expanding second conditional [ldap] expand: %{User-Name} -> peapuser0 [ldap] expand: (uid=%{%{Stripped-User-Name}:-%{User-Name}}) -> (uid=peapuser0) [ldap] expand: dc=eap,dc=eng -> dc=eap,dc=eng [ldap] ldap_get_conn: Checking Id: 0 [ldap] ldap_get_conn: Got Id: 0 [ldap] performing search in dc=eap,dc=eng, with filter (uid=peapuser0) [ldap] No default NMAS login sequence [ldap] looking for check items in directory... [ldap] userPassword -> Password-With-Header == "{CLEAR}peapuser0" [ldap] looking for reply items in directory... [ldap] user peapuser0 authorized to use remote access [ldap] ldap_release_conn: Release Id: 0 ++[ldap] returns ok ++[expiration] returns noop ++[logintime] returns noop [pap] WARNING: Auth-Type already set. Not setting to PAP ++[pap] returns noop Found Auth-Type = EAP # Executing group from file /etc/raddb/sites-enabled/default +- entering group authenticate {...} [eap] EAP Identity [eap] processing type md5 rlm_eap_md5: Issuing Challenge ++[eap] returns handled Sending Access-Challenge of id 100 to 10.0.12.100 port 32769 EAP-Message = 0x010200160410d1c7652fddc104874e938001b03b4d98 Message-Authenticator = 0x00000000000000000000000000000000 State = 0x29876a9b29856eba5ffb610f8ca69d4f Finished request 12. Going to the next request Waking up in 0.9 seconds. rad_recv: Access-Request packet from host 10.0.12.100 port 32769, id=101, length=173 User-Name = "peapuser0" Calling-Station-Id = "00-17-23-00-09-61" Called-Station-Id = "00-0B-85-80-F7-F0:WARD_EAP" NAS-Port = 4 NAS-IP-Address = 10.0.12.100 NAS-Identifier = "SQA_WLC" Airespace-Wlan-Id = 15 Service-Type = Framed-User Framed-MTU = 1300 NAS-Port-Type = Wireless-802.11 EAP-Message = 0x020200060319 State = 0x29876a9b29856eba5ffb610f8ca69d4f Message-Authenticator = 0x956d4ce62de7b261fbc37090e08216b8 # Executing section authorize from file /etc/raddb/sites-enabled/default +- entering group authorize {...} ++[preprocess] returns ok ++[chap] returns noop ++[mschap] returns noop ++[digest] returns noop [suffix] No '@' in User-Name = "peapuser0", looking up realm NULL [suffix] No such realm "NULL" ++[suffix] returns noop [eap] EAP packet type response id 2 length 6 [eap] No EAP Start, assuming it's an on-going EAP conversation ++[eap] returns updated ++[files] returns noop [ldap] performing user authorization for peapuser0 [ldap] expand: %{Stripped-User-Name} -> [ldap] ... expanding second conditional [ldap] expand: %{User-Name} -> peapuser0 [ldap] expand: (uid=%{%{Stripped-User-Name}:-%{User-Name}}) -> (uid=peapuser0) [ldap] expand: dc=eap,dc=eng -> dc=eap,dc=eng [ldap] ldap_get_conn: Checking Id: 0 [ldap] ldap_get_conn: Got Id: 0 [ldap] performing search in dc=eap,dc=eng, with filter (uid=peapuser0) [ldap] No default NMAS login sequence [ldap] looking for check items in directory... [ldap] userPassword -> Password-With-Header == "{CLEAR}peapuser0" [ldap] looking for reply items in directory... [ldap] user peapuser0 authorized to use remote access [ldap] ldap_release_conn: Release Id: 0 ++[ldap] returns ok ++[expiration] returns noop ++[logintime] returns noop [pap] WARNING: Auth-Type already set. Not setting to PAP ++[pap] returns noop Found Auth-Type = EAP # Executing group from file /etc/raddb/sites-enabled/default +- entering group authenticate {...} [eap] Request found, released from the list [eap] EAP NAK [eap] EAP-NAK asked for EAP-Type/peap [eap] processing type tls [tls] Initiate [tls] Start returned 1 ++[eap] returns handled Sending Access-Challenge of id 101 to 10.0.12.100 port 32769 EAP-Message = 0x010300061920 Message-Authenticator = 0x00000000000000000000000000000000 State = 0x29876a9b288473ba5ffb610f8ca69d4f Finished request 13. Going to the next request Waking up in 0.9 seconds. Cleaning up request 10 ID 98 with timestamp +113 Cleaning up request 11 ID 99 with timestamp +113 WARNING: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! WARNING: !! EAP session for state 0xc7b9e4c8c6bafd47 did not finish! WARNING: !! Please read http://wiki.freeradius.org/Certificate_Compatibility WARNING: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Waking up in 4.0 seconds. rad_recv: Access-Request packet from host 10.0.12.100 port 32769, id=102, length=163 User-Name = "peapuser0" Calling-Station-Id = "00-17-23-00-09-61" Called-Station-Id = "00-0B-85-80-F7-F0:WARD_EAP" NAS-Port = 4 NAS-IP-Address = 10.0.12.100 NAS-Identifier = "SQA_WLC" Airespace-Wlan-Id = 15 Service-Type = Framed-User Framed-MTU = 1300 NAS-Port-Type = Wireless-802.11 EAP-Message = 0x0201000e01706561707573657230 Message-Authenticator = 0x1d80cab28d231ff42da3476ff5a0881f # Executing section authorize from file /etc/raddb/sites-enabled/default +- entering group authorize {...} ++[preprocess] returns ok ++[chap] returns noop ++[mschap] returns noop ++[digest] returns noop [suffix] No '@' in User-Name = "peapuser0", looking up realm NULL [suffix] No such realm "NULL" ++[suffix] returns noop [eap] EAP packet type response id 1 length 14 [eap] No EAP Start, assuming it's an on-going EAP conversation ++[eap] returns updated ++[files] returns noop [ldap] performing user authorization for peapuser0 [ldap] expand: %{Stripped-User-Name} -> [ldap] ... expanding second conditional [ldap] expand: %{User-Name} -> peapuser0 [ldap] expand: (uid=%{%{Stripped-User-Name}:-%{User-Name}}) -> (uid=peapuser0) [ldap] expand: dc=eap,dc=eng -> dc=eap,dc=eng [ldap] ldap_get_conn: Checking Id: 0 [ldap] ldap_get_conn: Got Id: 0 [ldap] performing search in dc=eap,dc=eng, with filter (uid=peapuser0) [ldap] No default NMAS login sequence [ldap] looking for check items in directory... [ldap] userPassword -> Password-With-Header == "{CLEAR}peapuser0" [ldap] looking for reply items in directory... [ldap] user peapuser0 authorized to use remote access [ldap] ldap_release_conn: Release Id: 0 ++[ldap] returns ok ++[expiration] returns noop ++[logintime] returns noop [pap] WARNING: Auth-Type already set. Not setting to PAP ++[pap] returns noop Found Auth-Type = EAP # Executing group from file /etc/raddb/sites-enabled/default +- entering group authenticate {...} [eap] EAP Identity [eap] processing type md5 rlm_eap_md5: Issuing Challenge ++[eap] returns handled Sending Access-Challenge of id 102 to 10.0.12.100 port 32769 EAP-Message = 0x0102001604105726294855175db3790c84814633b804 Message-Authenticator = 0x00000000000000000000000000000000 State = 0x1ecf498d1ecd4dfa977d6d27468f439b Finished request 14. Going to the next request Waking up in 0.9 seconds. rad_recv: Access-Request packet from host 10.0.12.100 port 32769, id=103, length=173 User-Name = "peapuser0" Calling-Station-Id = "00-17-23-00-09-61" Called-Station-Id = "00-0B-85-80-F7-F0:WARD_EAP" NAS-Port = 4 NAS-IP-Address = 10.0.12.100 NAS-Identifier = "SQA_WLC" Airespace-Wlan-Id = 15 Service-Type = Framed-User Framed-MTU = 1300 NAS-Port-Type = Wireless-802.11 EAP-Message = 0x020200060319 State = 0x1ecf498d1ecd4dfa977d6d27468f439b Message-Authenticator = 0xb94ad161665a96e6f0f21abac0791105 # Executing section authorize from file /etc/raddb/sites-enabled/default +- entering group authorize {...} ++[preprocess] returns ok ++[chap] returns noop ++[mschap] returns noop ++[digest] returns noop [suffix] No '@' in User-Name = "peapuser0", looking up realm NULL [suffix] No such realm "NULL" ++[suffix] returns noop [eap] EAP packet type response id 2 length 6 [eap] No EAP Start, assuming it's an on-going EAP conversation ++[eap] returns updated ++[files] returns noop [ldap] performing user authorization for peapuser0 [ldap] expand: %{Stripped-User-Name} -> [ldap] ... expanding second conditional [ldap] expand: %{User-Name} -> peapuser0 [ldap] expand: (uid=%{%{Stripped-User-Name}:-%{User-Name}}) -> (uid=peapuser0) [ldap] expand: dc=eap,dc=eng -> dc=eap,dc=eng [ldap] ldap_get_conn: Checking Id: 0 [ldap] ldap_get_conn: Got Id: 0 [ldap] performing search in dc=eap,dc=eng, with filter (uid=peapuser0) [ldap] No default NMAS login sequence [ldap] looking for check items in directory... [ldap] userPassword -> Password-With-Header == "{CLEAR}peapuser0" [ldap] looking for reply items in directory... [ldap] user peapuser0 authorized to use remote access [ldap] ldap_release_conn: Release Id: 0 ++[ldap] returns ok ++[expiration] returns noop ++[logintime] returns noop [pap] WARNING: Auth-Type already set. Not setting to PAP ++[pap] returns noop Found Auth-Type = EAP # Executing group from file /etc/raddb/sites-enabled/default +- entering group authenticate {...} [eap] Request found, released from the list [eap] EAP NAK [eap] EAP-NAK asked for EAP-Type/peap [eap] processing type tls [tls] Initiate [tls] Start returned 1 ++[eap] returns handled Sending Access-Challenge of id 103 to 10.0.12.100 port 32769 EAP-Message = 0x010300061920 Message-Authenticator = 0x00000000000000000000000000000000 State = 0x1ecf498d1fcc50fa977d6d27468f439b Finished request 15. Going to the next request Waking up in 0.9 seconds. Cleaning up request 12 ID 100 with timestamp +117 Cleaning up request 13 ID 101 with timestamp +117 WARNING: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! WARNING: !! EAP session for state 0x29876a9b288473ba did not finish! WARNING: !! Please read http://wiki.freeradius.org/Certificate_Compatibility WARNING: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Waking up in 4.0 seconds. Cleaning up request 14 ID 102 with timestamp +121 Cleaning up request 15 ID 103 with timestamp +121 WARNING: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! WARNING: !! EAP session for state 0x1ecf498d1fcc50fa did not finish! WARNING: !! Please read http://wiki.freeradius.org/Certificate_Compatibility WARNING: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Ready to process requests. -- View this message in context: http://freeradius.1045715.n5.nabble.com/Test-Environment-Can-PEAPv0-and-PEAP... Sent from the FreeRadius - User mailing list archive at Nabble.com.
Hi, On Thu, Mar 01, 2012 at 10:25:13AM -0800, whopeman wrote:
I have run wireshark and grabbed the packet traces as well, when my client connects it requests PEAP as the preferred auth type but FR seems to be pushing v0 as the request type and does not seem to be allowing for v1. My client does not handle this gracefully.
Last I saw (looking at the comments in the FR rlm_eap_peap source), PEAPv1 is not supported, only v0. Matthew -- Matthew Newton, Ph.D. <mcn4@le.ac.uk> Systems Architect (UNIX and Networks), Network Services, I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom For IT help contact helpdesk extn. 2253, <ithelp@le.ac.uk>
On Fri, Mar 2, 2012 at 2:10 AM, Matthew Newton <mcn4@leicester.ac.uk> wrote:
Hi,
On Thu, Mar 01, 2012 at 10:25:13AM -0800, whopeman wrote:
I have run wireshark and grabbed the packet traces as well, when my client connects it requests PEAP as the preferred auth type but FR seems to be pushing v0 as the request type and does not seem to be allowing for v1. My client does not handle this gracefully.
Last I saw (looking at the comments in the FR rlm_eap_peap source), PEAPv1 is not supported, only v0.
Is there any documentation on where you need v1? IIRC both PEAP-GTC and PEAP-MSCHAP should work just fine -- Fajar
On Thu, Mar 01, 2012 at 10:25:13AM -0800, whopeman wrote:
connects it requests PEAP as the preferred auth type but FR seems to be pushing v0 as the request type and does not seem to be allowing for v1. My
I was slightly wrong - the rlm_eap2 module does support it, but it's experimental and not recommended for production use. http://freeradius.org/features/eap.html So you need to look at configuring eap2, rather than eap. Matthew -- Matthew Newton, Ph.D. <mcn4@le.ac.uk> Systems Architect (UNIX and Networks), Network Services, I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom For IT help contact helpdesk extn. 2253, <ithelp@le.ac.uk>
Hi Matthew, Thanks for the update. I do see now that it is listed as experimental. It is not very clear on that fact when looking at the wiki sites http://wiki.freeradius.org/EAP as they list it as a supported EAP type. I suppose I need to read foot notes more closely. Once I started searching on the eap2 module I noticed several comments about PEAPv1 support and that hostapd libraries need to be built. I guess it is off to go grab hostapd and work on getting that built so that I can recompile FR. Thanks for the pointer. Consider this question answered. --Ward PS. If i get a working solution I will post my steps for anyone else who is willing to work with the experimental eap2 feature. That is one thing I noted is lacking in most of the other posts. -- View this message in context: http://freeradius.1045715.n5.nabble.com/Test-Environment-Can-PEAPv0-and-PEAP... Sent from the FreeRadius - User mailing list archive at Nabble.com.
On 01/03/12 18:25, whopeman wrote:
Hi, I am fairly new to FreeRADIUS, so pelase bear with me a bit. I have searched the forums and websites to find an implementation that allows me to configure my server to process BOTH PEAP MSCHAP and PEAP/EAP-GTC (v0 and v1). I have not found anyone trying to do this, but I am not working on a production system this is for test purposes.
Virtually nothing uses PEAPv1, so it's not well supported. Do you really need PEAPv1?
whopeman wrote:
I am fairly new to FreeRADIUS, so pelase bear with me a bit. I have searched the forums and websites to find an implementation that allows me to configure my server to process BOTH PEAP MSCHAP and PEAP/EAP-GTC (v0 and v1). I have not found anyone trying to do this, but I am not working on a production system this is for test purposes.
Don't use PEAPv1. It's even less documented than PEAPv0. It's used by pretty much no one.
My GOAL: I am working to setup a test environment that allows us to test our products using EAP-TLS, EAP-TTLS, LEAP, PEAP/MSChap, and PEAP/EAP-GTC.
Don't use LEAP. It's insecure. Don't put it into new products, and don't allow people to configure it.
CURRENT: What I have so far is a working system that processes everything except PEAP/EAP-GTC. All authentication is performed through a local LDAP solution (setup with CLEAR-TEXT again testing not production).
FreeRADIUS does this in the default install, and contains EAP tests (src/tests) for all major EAP types.
I have run wireshark and grabbed the packet traces as well, when my client connects it requests PEAP as the preferred auth type but FR seems to be pushing v0 as the request type and does not seem to be allowing for v1. My client does not handle this gracefully.
Then the client is broken, and should be fixed.
My QUESTION: Is there an easy way to configure FR to allow for both types of requests?
Not really. By the time that the client has sent a PEAPv1 request, the EAP session has started. You can't switch EAP sessions from the "eap" module to the "eap2" module.
I have been looking at the virtual server options without much luck in understanding how to configure a secondary virtual server to provide a GTC interface. If that is a recommendation, any guidance on setting up a straight EAP-GTC via LDAP virtual server would be appreciated.
Read eap.conf. Look for "gtc". This is documented. It works in the default install. Alan DeKok.
Hi Alan,
FreeRADIUS does this in the default install, and contains EAP tests (src/tests) for all major EAP types.
I actually went and re-read the RFC for PEAP. I noted that a server that supports PEAP will reply with the highest supported version and the negotiation will go from there. So it should not be a matter of having to configure eap versus eap2. If I go with eap2 and get v1 working, it should support both v1 and v0. This is where I got confused, I missed the foot notes that PEAPv1 was only available in the experimental build with the eap2 module.
Don't use PEAPv1. It's even less documented than PEAPv0. It's used by pretty much no one.
This unfortunately is not by choice on my part. I am required to provide lab setups for testing our products, based on what is in the product requirement documents. This falls into what our product managers want to support.
Don't use LEAP. It's insecure. Don't put it into new products, and don't allow people to configure it.
As above, not really my choice, but I can't agree more. Fortunately this protocol seems to be for legacy support. I have been and continue to make recommendations to our product managers to remove support for unused and unsecure protocols.
Then the client is broken, and should be fixed.
The client is not falling back to PEAPv0 as one might expect, and when I questioned the developers on this they told me it was working as designed. They want to ensure that when it gets configured for a specific protocol, that it fails unless it meets the requirements. Since our products go into controlled install environments, they wanted to tighten up the authentication requirements. Not robust, or quite following the RFC, but as designed. In this case refer above as the client was expecting v1.
Not really. By the time that the client has sent a PEAPv1 request, the EAP session has started. You can't switch EAP sessions from the "eap" module to the "eap2" module.
Again refer above, if I get eap2 module running with PEAPv1 support, it should support both PEAPv0 and PEAPv1. I am assuming that configuring the eap2 module should replace the eap module with regards to protocols (ie. don't configure a protocol in both only in one or the other). It is a matter of getting FR setup to support a higher level of PEAP using the eap2 module. The protocol should then negotiate to the lower protocol if the client requests PEAPv0 instead of PEAPv1.
Read eap.conf. Look for "gtc". This is documented. It works in the default install.
Noted. Also based on the RFC it was a miss-understanding of the protocols by me. Once I re-read the RFC, I now understand that I was using GTC and PEAPv1 interchangeably when I should not have been. GTC is available under PEAPv0 and PEAPv1. I needed to refer to PEAPv1 not just GTC. Our product is designed to use PEAPv1/GTC or PEAPv0/MSCHAP, and that was where I got confused. Thanks for the info Alan. I will be working on the hostapd compile and recompile of FR to support PEAPv1. I hope that if anyone else stumbles across this thread they leave with a better understanding of how PEAP is supported in FreeRADIUS, and how a PEAP implementation should work with the client to negotiate the connection. -Ward Hopeman This message is intended only for the named recipient. If you are not the intended recipient, you are notified that disclosing, copying, distributing or taking any action based on the contents of this information is strictly prohibited.
Hopeman, Ward wrote:
This is where I got confused, I missed the foot notes that PEAPv1 was only available in the experimental build with the eap2 module.
Yes. FR doesn't support PEAPv1 natively.
Don't use PEAPv1. It's even less documented than PEAPv0. It's used by pretty much no one.
This unfortunately is not by choice on my part. I am required to provide lab setups for testing our products, based on what is in the product requirement documents. This falls into what our product managers want to support.
I'm familiar with product managers. Unfortunately, all I can do here is to talk about reality. Product managers live in another world.
Don't use LEAP. It's insecure. Don't put it into new products, and don't allow people to configure it.
As above, not really my choice, but I can't agree more. Fortunately this protocol seems to be for legacy support. I have been and continue to make recommendations to our product managers to remove support for unused and unsecure protocols.
Adding LEAP is like saying "use insecure protocol that allows anyone to access my network." I think that's bad. Product managers don't care.
The client is not falling back to PEAPv0 as one might expect, and when I questioned the developers on this they told me it was working as designed. They want to ensure that when it gets configured for a specific protocol, that it fails unless it meets the requirements. Since our products go into controlled install environments, they wanted to tighten up the authentication requirements. Not robust, or quite following the RFC, but as designed. In this case refer above as the client was expecting v1.
That makes sense. But it should be an option.
Again refer above, if I get eap2 module running with PEAPv1 support, it should support both PEAPv0 and PEAPv1. I am assuming that configuring the eap2 module should replace the eap module with regards to protocols (ie. don't configure a protocol in both only in one or the other). It is a matter of getting FR setup to support a higher level of PEAP using the eap2 module. The protocol should then negotiate to the lower protocol if the client requests PEAPv0 instead of PEAPv1.
Be aware that the eap2 module has *minimal* integration with the rest of the server. The "inner-tunnel" virtual server won't work, etc. Alan DeKok.
participants (6)
-
Alan DeKok -
Fajar A. Nugraha -
Hopeman, Ward -
Matthew Newton -
Phil Mayers -
whopeman