I have a Netgear WiFi router set up for WPA2 Enterprise. It is pointed at a freeradius server. I am trying to use the username and password of that server to authenticate. It fails consistenty with: [pap] WARNING! No "known good" password found for the user. Authentication may fail because of this. ++[pap] returns noop ERROR: No authenticate method (Auth-Type) found for the request: Rejecting the user Failed to authenticate the user. ---------- FreeRADIUS Version 2.1.10, for host x86_64-pc-linux-gnu, built on Sep 24 2012 at 17:58:57 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/freeradius/radiusd.conf including configuration file /etc/freeradius/proxy.conf including configuration file /etc/freeradius/clients.conf including files in directory /etc/freeradius/modules/ including configuration file /etc/freeradius/modules/sradutmp including configuration file /etc/freeradius/modules/radutmp including configuration file /etc/freeradius/modules/expr including configuration file /etc/freeradius/modules/expiration including configuration file /etc/freeradius/modules/counter including configuration file /etc/freeradius/modules/mschap including configuration file /etc/freeradius/modules/mac2ip including configuration file /etc/freeradius/modules/pap including configuration file /etc/freeradius/modules/acct_unique including configuration file /etc/freeradius/modules/etc_group including configuration file /etc/freeradius/modules/files including configuration file /etc/freeradius/modules/inner-eap including configuration file /etc/freeradius/modules/passwd including configuration file /etc/freeradius/modules/detail including configuration file /etc/freeradius/modules/echo including configuration file /etc/freeradius/modules/digest including configuration file /etc/freeradius/modules/realm including configuration file /etc/freeradius/modules/ldap including configuration file /etc/freeradius/modules/mac2vlan including configuration file /etc/freeradius/modules/linelog including configuration file /etc/freeradius/modules/unix including configuration file /etc/freeradius/modules/logintime including configuration file /etc/freeradius/modules/pam including configuration file /etc/freeradius/modules/ippool including configuration file /etc/freeradius/modules/wimax including configuration file /etc/freeradius/modules/exec including configuration file /etc/freeradius/modules/krb5 including configuration file /etc/freeradius/modules/detail.example.com including configuration file /etc/freeradius/modules/always including configuration file /etc/freeradius/modules/dynamic_clients including configuration file /etc/freeradius/modules/preprocess including configuration file /etc/freeradius/modules/policy including configuration file /etc/freeradius/modules/perl including configuration file /etc/freeradius/modules/attr_filter including configuration file /etc/freeradius/modules/detail.log including configuration file /etc/freeradius/modules/checkval including configuration file /etc/freeradius/modules/opendirectory including configuration file /etc/freeradius/modules/attr_rewrite including configuration file /etc/freeradius/modules/smbpasswd including configuration file /etc/freeradius/modules/otp including configuration file /etc/freeradius/modules/sql_log including configuration file /etc/freeradius/modules/smsotp including configuration file /etc/freeradius/modules/sqlcounter_expire_on_login including configuration file /etc/freeradius/modules/ntlm_auth including configuration file /etc/freeradius/modules/cui including configuration file /etc/freeradius/modules/chap including configuration file /etc/freeradius/eap.conf including configuration file /etc/freeradius/policy.conf including files in directory /etc/freeradius/sites-enabled/ including configuration file /etc/freeradius/sites-enabled/default including configuration file /etc/freeradius/sites-enabled/inner-tunnel main { user = "freerad" group = "freerad" allow_core_dumps = no } including dictionary file /etc/freeradius/dictionary main { prefix = "/usr" localstatedir = "/var" logdir = "/var/log/freeradius" libdir = "/usr/lib/freeradius" radacctdir = "/var/log/freeradius/radacct" hostname_lookups = no max_request_time = 30 cleanup_delay = 5 max_requests = 1024 pidfile = "/var/run/plumgrid-radius1/plumgrid-radius1.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 = "d1sc0verplum" 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 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 = "d1sc0verplum" nastype = "other" } client 10.1.1.211 { ipaddr = 10.1.1.211 require_message_authenticator = no secret = "d1sc0verplum" shortname = "wifi" nastype = "other" } radiusd: #### Instantiating modules #### instantiate { Module: Linked to module rlm_exec Module: Instantiating module "exec" from file /etc/freeradius/modules/exec exec { wait = no input_pairs = "request" shell_escape = yes } Module: Linked to module rlm_expr Module: Instantiating module "expr" from file /etc/freeradius/modules/expr Module: Linked to module rlm_expiration Module: Instantiating module "expiration" from file /etc/freeradius/modules/expiration expiration { reply-message = "Password Has Expired " } Module: Linked to module rlm_logintime Module: Instantiating module "logintime" from file /etc/freeradius/modules/logintime logintime { reply-message = "You are calling outside your allowed timespan " minimum-timeout = 60 } } radiusd: #### Loading Virtual Servers #### server inner-tunnel { # from file /etc/freeradius/sites-enabled/inner-tunnel modules { Module: Checking authenticate {...} for more modules to load Module: Linked to module rlm_pap Module: Instantiating module "pap" from file /etc/freeradius/modules/pap pap { encryption_scheme = "auto" auto_header = yes } Module: Linked to module rlm_chap Module: Instantiating module "chap" from file /etc/freeradius/modules/chap Module: Linked to module rlm_mschap Module: Instantiating module "mschap" from file /etc/freeradius/modules/mschap mschap { use_mppe = yes require_encryption = no require_strong = no with_ntdomain_hack = no } Module: Linked to module rlm_unix Module: Instantiating module "unix" from file /etc/freeradius/modules/unix unix { radwtmp = "/var/log/freeradius/radwtmp" } Module: Linked to module rlm_eap Module: Instantiating module "eap" from file /etc/freeradius/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 = "/etc/freeradius/certs" pem_file_type = yes private_key_file = "/etc/freeradius/certs/server.key" certificate_file = "/etc/freeradius/certs/server.pem" CA_file = "/etc/freeradius/certs/ca.pem" private_key_password = "whatever" dh_file = "/etc/freeradius/certs/dh" random_file = "/dev/urandom" fragment_size = 1024 include_length = yes check_crl = no cipher_list = "DEFAULT" make_cert_command = "/etc/freeradius/certs/bootstrap" cache { enable = no lifetime = 24 max_entries = 255 } verify { } } 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" } Module: Linked to sub-module rlm_eap_mschapv2 Module: Instantiating eap-mschapv2 mschapv2 { with_ntdomain_hack = no } Module: Checking authorize {...} for more modules to load Module: Linked to module rlm_realm Module: Instantiating module "suffix" from file /etc/freeradius/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/freeradius/modules/files files { usersfile = "/etc/freeradius/users" acctusersfile = "/etc/freeradius/acct_users" preproxy_usersfile = "/etc/freeradius/preproxy_users" compat = "no" } Module: Checking session {...} for more modules to load Module: Linked to module rlm_radutmp Module: Instantiating module "radutmp" from file /etc/freeradius/modules/radutmp radutmp { filename = "/var/log/freeradius/radutmp" username = "%{User-Name}" case_sensitive = yes check_with_nas = yes perm = 384 callerid = yes } Module: Checking post-proxy {...} for more modules to load Module: Checking post-auth {...} for more modules to load Module: Linked to module rlm_attr_filter Module: Instantiating module "attr_filter.access_reject" from file /etc/freeradius/modules/attr_filter attr_filter attr_filter.access_reject { attrsfile = "/etc/freeradius/attrs.access_reject" key = "%{User-Name}" } } # modules } # server server { # from file /etc/freeradius/radiusd.conf modules { Module: Checking authenticate {...} for more modules to load Module: Linked to module rlm_digest Module: Instantiating module "digest" from file /etc/freeradius/modules/digest Module: Checking authorize {...} for more modules to load Module: Linked to module rlm_preprocess Module: Instantiating module "preprocess" from file /etc/freeradius/modules/preprocess preprocess { huntgroups = "/etc/freeradius/huntgroups" hints = "/etc/freeradius/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: Checking preacct {...} for more modules to load Module: Linked to module rlm_acct_unique Module: Instantiating module "acct_unique" from file /etc/freeradius/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/freeradius/modules/detail detail { detailfile = "/var/log/freeradius/radacct/%{Client-IP-Address}/detail-%Y%m%d" header = "%t" detailperm = 384 dirperm = 493 locking = no log_packet_header = no } Module: Instantiating module "attr_filter.accounting_response" from file /etc/freeradius/modules/attr_filter attr_filter attr_filter.accounting_response { attrsfile = "/etc/freeradius/attrs.accounting_response" key = "%{User-Name}" } Module: Checking session {...} 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 = "auth" ipaddr = 127.0.0.1 port = 18120 } Listening on authentication address * port 1812 Listening on accounting address * port 1813 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.1.1.211 port 35032, id=73, length=162 User-Name = "evergreen" NAS-IP-Address = 192.168.1.1 NAS-Port = 0 Called-Station-Id = "28-C6-8E-A4-2B-6A:plum-radius" Calling-Station-Id = "00-1F-5B-C1-AB-24" Framed-MTU = 1400 NAS-Port-Type = Wireless-802.11 Connect-Info = "CONNECT 0Mbps 802.11b" EAP-Message = 0x02b1000e0165766572677265656e Message-Authenticator = 0x6f0e884ab22ca3b623c88cb2a8bab823 # Executing section authorize from file /etc/freeradius/sites-enabled/default +- entering group authorize {...} ++[preprocess] returns ok ++[digest] returns noop [suffix] No '@' in User-Name = "evergreen", looking up realm NULL [suffix] No such realm "NULL" ++[suffix] returns noop ++[unix] returns notfound ++[files] returns noop ++[expiration] returns noop ++[logintime] returns noop [pap] WARNING! No "known good" password found for the user. Authentication may fail because of this. ++[pap] returns noop ERROR: No authenticate method (Auth-Type) found for the request: Rejecting the user Failed to authenticate the user. Using Post-Auth-Type Reject # Executing group from file /etc/freeradius/sites-enabled/default +- entering group REJECT {...} [attr_filter.access_reject] expand: %{User-Name} -> evergreen attr_filter: Matched entry DEFAULT at line 11 ++[attr_filter.access_reject] returns updated Delaying reject of request 0 for 1 seconds Going to the next request Waking up in 0.9 seconds. Sending delayed reject for request 0 Sending Access-Reject of id 73 to 10.1.1.211 port 35032 Waking up in 4.9 seconds. --
On Mon, Jul 08, 2013 at 01:49:47PM -0700, Julian Macassey wrote:
I have a Netgear WiFi router set up for WPA2 Enterprise. It is pointed at a freeradius server. I am trying to use the username and password of that server to authenticate. It fails consistenty with:
[pap] WARNING! No "known good" password found for the user. Authentication may fail because of this. ++[pap] returns noop ERROR: No authenticate method (Auth-Type) found for the request: Rejecting the user Failed to authenticate the user.
It looks like you've removed 'eap' from your default server configuration. As WPA uses eap, you won't get far without it. However, if you want to authenticate using the system (/etc/passwd or shadow) database, then the only EAP type that's going to work is EAP-TTLS/PAP. Windows older than Win8 don't support that without a 3rd party supplicant, which is a barrier for many people wanting to use it, so most dont. In short the most likely things you want to do after adding eap back in again are to use either a database with cleartext passwords in it or use mschap (NTLM hash) passwords. Matthew
rad_recv: Access-Request packet from host 10.1.1.211 port 35032, id=73, length=162 User-Name = "evergreen" NAS-IP-Address = 192.168.1.1 NAS-Port = 0 Called-Station-Id = "28-C6-8E-A4-2B-6A:plum-radius" Calling-Station-Id = "00-1F-5B-C1-AB-24" Framed-MTU = 1400 NAS-Port-Type = Wireless-802.11 Connect-Info = "CONNECT 0Mbps 802.11b" EAP-Message = 0x02b1000e0165766572677265656e Message-Authenticator = 0x6f0e884ab22ca3b623c88cb2a8bab823 # Executing section authorize from file /etc/freeradius/sites-enabled/default +- entering group authorize {...} ++[preprocess] returns ok ++[digest] returns noop [suffix] No '@' in User-Name = "evergreen", looking up realm NULL [suffix] No such realm "NULL" ++[suffix] returns noop ++[unix] returns notfound ++[files] returns noop ++[expiration] returns noop ++[logintime] returns noop [pap] WARNING! No "known good" password found for the user. Authentication may fail because of this. ++[pap] returns noop ERROR: No authenticate method (Auth-Type) found for the request: Rejecting the user Failed to authenticate the user. Using Post-Auth-Type Reject # Executing group from file /etc/freeradius/sites-enabled/default +- entering group REJECT {...} [attr_filter.access_reject] expand: %{User-Name} -> evergreen attr_filter: Matched entry DEFAULT at line 11 ++[attr_filter.access_reject] returns updated Delaying reject of request 0 for 1 seconds Going to the next request Waking up in 0.9 seconds. Sending delayed reject for request 0 Sending Access-Reject of id 73 to 10.1.1.211 port 35032 Waking up in 4.9 seconds.
-- Matthew Newton, Ph.D. <mcn4@le.ac.uk> Systems Specialist, Infrastructure Services, I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom For IT help contact helpdesk extn. 2253, <ithelp@le.ac.uk>
On 2013-07-08 at 22:16, Matthew Newton (mcn4@leicester.ac.uk) wrote:
On Mon, Jul 08, 2013 at 01:49:47PM -0700, Julian Macassey wrote:
I have a Netgear WiFi router set up for WPA2 Enterprise. It is pointed at a freeradius server. I am trying to use the username and password of that server to authenticate. It fails consistenty with:
[pap] WARNING! No "known good" password found for the user. Authentication may fail because of this. ++[pap] returns noop ERROR: No authenticate method (Auth-Type) found for the request: Rejecting the user Failed to authenticate the user.
It looks like you've removed 'eap' from your default server configuration. As WPA uses eap, you won't get far without it.
So, I put it back in. I took it out earlier as 1. I couldn't connect with it. 2. My understanding from reading the docs was that pap alone would do the job.
However, if you want to authenticate using the system (/etc/passwd or shadow) database, then the only EAP type that's going to work is EAP-TTLS/PAP.
Now it, and everything else, seems to be there.
Windows older than Win8 don't support that without a 3rd party supplicant, which is a barrier for many people wanting to use it, so most dont.
In short the most likely things you want to do after adding eap back in again are to use either a database with cleartext passwords in it or use mschap (NTLM hash) passwords.
I'm just trying to do a bog standard username and password for OS X and Linux users on laptops - Plus the ubiquitous smartphones of course. I have no Microsoft gear on the LAN. Here is my latest output: FreeRADIUS Version 2.1.10, for host x86_64-pc-linux-gnu, built on Sep 24 2012 at 17:58:57 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/freeradius/radiusd.conf including configuration file /etc/freeradius/proxy.conf including configuration file /etc/freeradius/clients.conf including files in directory /etc/freeradius/modules/ including configuration file /etc/freeradius/modules/sradutmp including configuration file /etc/freeradius/modules/radutmp including configuration file /etc/freeradius/modules/expr including configuration file /etc/freeradius/modules/expiration including configuration file /etc/freeradius/modules/counter including configuration file /etc/freeradius/modules/mschap including configuration file /etc/freeradius/modules/mac2ip including configuration file /etc/freeradius/modules/pap including configuration file /etc/freeradius/modules/acct_unique including configuration file /etc/freeradius/modules/etc_group including configuration file /etc/freeradius/modules/files including configuration file /etc/freeradius/modules/inner-eap including configuration file /etc/freeradius/modules/passwd including configuration file /etc/freeradius/modules/detail including configuration file /etc/freeradius/modules/echo including configuration file /etc/freeradius/modules/digest including configuration file /etc/freeradius/modules/realm including configuration file /etc/freeradius/modules/ldap including configuration file /etc/freeradius/modules/mac2vlan including configuration file /etc/freeradius/modules/linelog including configuration file /etc/freeradius/modules/unix including configuration file /etc/freeradius/modules/logintime including configuration file /etc/freeradius/modules/pam including configuration file /etc/freeradius/modules/ippool including configuration file /etc/freeradius/modules/wimax including configuration file /etc/freeradius/modules/exec including configuration file /etc/freeradius/modules/krb5 including configuration file /etc/freeradius/modules/detail.example.com including configuration file /etc/freeradius/modules/always including configuration file /etc/freeradius/modules/dynamic_clients including configuration file /etc/freeradius/modules/preprocess including configuration file /etc/freeradius/modules/policy including configuration file /etc/freeradius/modules/perl including configuration file /etc/freeradius/modules/attr_filter including configuration file /etc/freeradius/modules/detail.log including configuration file /etc/freeradius/modules/checkval including configuration file /etc/freeradius/modules/opendirectory including configuration file /etc/freeradius/modules/attr_rewrite including configuration file /etc/freeradius/modules/smbpasswd including configuration file /etc/freeradius/modules/otp including configuration file /etc/freeradius/modules/sql_log including configuration file /etc/freeradius/modules/smsotp including configuration file /etc/freeradius/modules/sqlcounter_expire_on_login including configuration file /etc/freeradius/modules/ntlm_auth including configuration file /etc/freeradius/modules/cui including configuration file /etc/freeradius/modules/chap including configuration file /etc/freeradius/eap.conf including configuration file /etc/freeradius/policy.conf including files in directory /etc/freeradius/sites-enabled/ including configuration file /etc/freeradius/sites-enabled/default including configuration file /etc/freeradius/sites-enabled/inner-tunnel main { user = "freerad" group = "freerad" allow_core_dumps = no } including dictionary file /etc/freeradius/dictionary main { prefix = "/usr" localstatedir = "/var" logdir = "/var/log/freeradius" libdir = "/usr/lib/freeradius" radacctdir = "/var/log/freeradius/radacct" hostname_lookups = no max_request_time = 30 cleanup_delay = 5 max_requests = 1024 pidfile = "/var/run/plumgrid-radius1/plumgrid-radius1.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 = "d1sc0verplum" 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 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 = "d1sc0verplum" nastype = "other" } client 10.1.1.211 { ipaddr = 10.1.1.211 require_message_authenticator = no secret = "d1sc0verplum" shortname = "wifi" nastype = "other" } radiusd: #### Instantiating modules #### instantiate { Module: Linked to module rlm_exec Module: Instantiating module "exec" from file /etc/freeradius/modules/exec exec { wait = no input_pairs = "request" shell_escape = yes } Module: Linked to module rlm_expr Module: Instantiating module "expr" from file /etc/freeradius/modules/expr Module: Linked to module rlm_expiration Module: Instantiating module "expiration" from file /etc/freeradius/modules/expiration expiration { reply-message = "Password Has Expired " } Module: Linked to module rlm_logintime Module: Instantiating module "logintime" from file /etc/freeradius/modules/logintime logintime { reply-message = "You are calling outside your allowed timespan " minimum-timeout = 60 } } radiusd: #### Loading Virtual Servers #### server inner-tunnel { # from file /etc/freeradius/sites-enabled/inner-tunnel modules { Module: Checking authenticate {...} for more modules to load Module: Linked to module rlm_pap Module: Instantiating module "pap" from file /etc/freeradius/modules/pap pap { encryption_scheme = "auto" auto_header = yes } Module: Linked to module rlm_chap Module: Instantiating module "chap" from file /etc/freeradius/modules/chap Module: Linked to module rlm_mschap Module: Instantiating module "mschap" from file /etc/freeradius/modules/mschap mschap { use_mppe = yes require_encryption = no require_strong = no with_ntdomain_hack = no } Module: Linked to module rlm_unix Module: Instantiating module "unix" from file /etc/freeradius/modules/unix unix { radwtmp = "/var/log/freeradius/radwtmp" } Module: Linked to module rlm_eap Module: Instantiating module "eap" from file /etc/freeradius/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 = "/etc/freeradius/certs" pem_file_type = yes private_key_file = "/etc/freeradius/certs/server.key" certificate_file = "/etc/freeradius/certs/server.pem" CA_file = "/etc/freeradius/certs/ca.pem" private_key_password = "whatever" dh_file = "/etc/freeradius/certs/dh" random_file = "/dev/urandom" fragment_size = 1024 include_length = yes check_crl = no cipher_list = "DEFAULT" make_cert_command = "/etc/freeradius/certs/bootstrap" cache { enable = no lifetime = 24 max_entries = 255 } verify { } } 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" } Module: Linked to sub-module rlm_eap_mschapv2 Module: Instantiating eap-mschapv2 mschapv2 { with_ntdomain_hack = no } Module: Checking authorize {...} for more modules to load Module: Linked to module rlm_realm Module: Instantiating module "suffix" from file /etc/freeradius/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/freeradius/modules/files files { usersfile = "/etc/freeradius/users" acctusersfile = "/etc/freeradius/acct_users" preproxy_usersfile = "/etc/freeradius/preproxy_users" compat = "no" } Module: Checking session {...} for more modules to load Module: Linked to module rlm_radutmp Module: Instantiating module "radutmp" from file /etc/freeradius/modules/radutmp radutmp { filename = "/var/log/freeradius/radutmp" username = "%{User-Name}" case_sensitive = yes check_with_nas = yes perm = 384 callerid = yes } Module: Checking post-proxy {...} for more modules to load Module: Checking post-auth {...} for more modules to load Module: Linked to module rlm_attr_filter Module: Instantiating module "attr_filter.access_reject" from file /etc/freeradius/modules/attr_filter attr_filter attr_filter.access_reject { attrsfile = "/etc/freeradius/attrs.access_reject" key = "%{User-Name}" } } # modules } # server server { # from file /etc/freeradius/radiusd.conf modules { Module: Checking authenticate {...} for more modules to load Module: Linked to module rlm_digest Module: Instantiating module "digest" from file /etc/freeradius/modules/digest Module: Checking authorize {...} for more modules to load Module: Linked to module rlm_preprocess Module: Instantiating module "preprocess" from file /etc/freeradius/modules/preprocess preprocess { huntgroups = "/etc/freeradius/huntgroups" hints = "/etc/freeradius/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: Checking preacct {...} for more modules to load Module: Linked to module rlm_acct_unique Module: Instantiating module "acct_unique" from file /etc/freeradius/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/freeradius/modules/detail detail { detailfile = "/var/log/freeradius/radacct/%{Client-IP-Address}/detail-%Y%m%d" header = "%t" detailperm = 384 dirperm = 493 locking = no log_packet_header = no } Module: Instantiating module "attr_filter.accounting_response" from file /etc/freeradius/modules/attr_filter attr_filter attr_filter.accounting_response { attrsfile = "/etc/freeradius/attrs.accounting_response" key = "%{User-Name}" } Module: Checking session {...} for more modules to load Module: Checking post-proxy {...} for more modules to load Module: Checking post-auth {...} for more modules to load } # modules } # server radiusd: #### Opening IP addresses and Ports #### listen { type = "auth" ipaddr = * port = 0 } listen { type = "acct" ipaddr = * port = 0 } listen { type = "auth" ipaddr = 127.0.0.1 port = 18120 } Listening on authentication address * port 1812 Listening on accounting address * port 1813 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.1.1.211 port 35032, id=124, length=162 User-Name = "evergreen" NAS-IP-Address = 192.168.1.1 NAS-Port = 0 Called-Station-Id = "28-C6-8E-A4-2B-6A:plum-radius" Calling-Station-Id = "00-1F-5B-C1-AB-24" Framed-MTU = 1400 NAS-Port-Type = Wireless-802.11 Connect-Info = "CONNECT 0Mbps 802.11b" EAP-Message = 0x0222000e0165766572677265656e Message-Authenticator = 0x971cc295e4f37b509240d5450ed9c594 # Executing section authorize from file /etc/freeradius/sites-enabled/default +- entering group authorize {...} ++[preprocess] returns ok ++[digest] returns noop [suffix] No '@' in User-Name = "evergreen", looking up realm NULL [suffix] No such realm "NULL" ++[suffix] returns noop [eap] EAP packet type response id 34 length 14 [eap] No EAP Start, assuming it's an on-going EAP conversation ++[eap] returns updated ++[unix] returns notfound ++[files] returns noop ++[expiration] returns noop ++[logintime] returns noop [pap] WARNING! No "known good" password found for the user. Authentication may fail because of this. ++[pap] returns noop Found Auth-Type = EAP # Executing group from file /etc/freeradius/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 124 to 10.1.1.211 port 35032 EAP-Message = 0x012300160410eaaba32e48f9a3cff74043ca97a6cd70 Message-Authenticator = 0x00000000000000000000000000000000 State = 0x94fb950894d891fe1477c70ff2bf2308 Finished request 0. Going to the next request Waking up in 4.9 seconds. rad_recv: Access-Request packet from host 10.1.1.211 port 35032, id=125, length=172 User-Name = "evergreen" NAS-IP-Address = 192.168.1.1 NAS-Port = 0 Called-Station-Id = "28-C6-8E-A4-2B-6A:plum-radius" Calling-Station-Id = "00-1F-5B-C1-AB-24" Framed-MTU = 1400 NAS-Port-Type = Wireless-802.11 Connect-Info = "CONNECT 0Mbps 802.11b" EAP-Message = 0x022300060319 State = 0x94fb950894d891fe1477c70ff2bf2308 Message-Authenticator = 0x31a90e82ac4971b87149b06a414c6f94 # Executing section authorize from file /etc/freeradius/sites-enabled/default +- entering group authorize {...} ++[preprocess] returns ok ++[digest] returns noop [suffix] No '@' in User-Name = "evergreen", looking up realm NULL [suffix] No such realm "NULL" ++[suffix] returns noop [eap] EAP packet type response id 35 length 6 [eap] No EAP Start, assuming it's an on-going EAP conversation ++[eap] returns updated ++[unix] returns notfound ++[files] returns noop ++[expiration] returns noop ++[logintime] returns noop [pap] WARNING! No "known good" password found for the user. Authentication may fail because of this. ++[pap] returns noop Found Auth-Type = EAP # Executing group from file /etc/freeradius/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 125 to 10.1.1.211 port 35032 EAP-Message = 0x012400061920 Message-Authenticator = 0x00000000000000000000000000000000 State = 0x94fb950895df8cfe1477c70ff2bf2308 Finished request 1. Going to the next request Waking up in 4.9 seconds. rad_recv: Access-Request packet from host 10.1.1.211 port 35032, id=126, length=298 User-Name = "evergreen" NAS-IP-Address = 192.168.1.1 NAS-Port = 0 Called-Station-Id = "28-C6-8E-A4-2B-6A:plum-radius" Calling-Station-Id = "00-1F-5B-C1-AB-24" Framed-MTU = 1400 NAS-Port-Type = Wireless-802.11 Connect-Info = "CONNECT 0Mbps 802.11b" EAP-Message = 0x0224008419800000007a160301007501000071030151db3692ab24ff2974fadd30e7f746344f43d23b57876c584d2f4bbcffe21a77000036c00ac009c007c008c013c014c011c012c004c005c002c003c00ec00fc00cc00d002f000500040035000a00320033003800390016001301000012000a00080006001700180019000b00020100 State = 0x94fb950895df8cfe1477c70ff2bf2308 Message-Authenticator = 0x1035bc59d348c3f030a370357439e1ab # Executing section authorize from file /etc/freeradius/sites-enabled/default +- entering group authorize {...} ++[preprocess] returns ok ++[digest] returns noop [suffix] No '@' in User-Name = "evergreen", looking up realm NULL [suffix] No such realm "NULL" ++[suffix] returns noop [eap] EAP packet type response id 36 length 132 [eap] Continuing tunnel setup. ++[eap] returns ok Found Auth-Type = EAP # Executing group from file /etc/freeradius/sites-enabled/default +- entering group authenticate {...} [eap] Request found, released from the list [eap] EAP/peap [eap] processing type peap [peap] processing EAP-TLS TLS Length 122 [peap] Length Included [peap] eaptls_verify returned 11 [peap] (other): before/accept initialization [peap] TLS_accept: before/accept initialization [peap] <<< TLS 1.0 Handshake [length 0075], ClientHello [peap] TLS_accept: SSLv3 read client hello A [peap] >>> TLS 1.0 Handshake [length 002a], ServerHello [peap] TLS_accept: SSLv3 write server hello A [peap] >>> TLS 1.0 Handshake [length 085e], Certificate [peap] TLS_accept: SSLv3 write certificate A [peap] >>> TLS 1.0 Handshake [length 0004], ServerHelloDone [peap] TLS_accept: SSLv3 write server done A [peap] TLS_accept: SSLv3 flush data [peap] TLS_accept: Need to read more data: SSLv3 read client certificate A In SSL Handshake Phase In SSL Accept mode [peap] eaptls_process returned 13 [peap] EAPTLS_HANDLED ++[eap] returns handled Sending Access-Challenge of id 126 to 10.1.1.211 port 35032 EAP-Message = 0x0125040019c00000089b160301002a02000026030151db366edec4cd37c2c9de7c70687423e7985701f5c9f226faf8876b2da0a6e400002f00160301085e0b00085a0008570003a6308203a23082028aa003020102020101300d06092a864886f70d0101040500308193310b3009060355040613024652310f300d060355040813065261646975733112301006035504071309536f6d65776865726531153013060355040a130c4578616d706c6520496e632e3120301e06092a864886f70d010901161161646d696e406578616d706c652e636f6d312630240603550403131d4578616d706c6520436572746966696361746520417574686f72697479 EAP-Message = 0x301e170d3133303730383139333834305a170d3134303730383139333834305a307c310b3009060355040613024652310f300d0603550408130652616469757331153013060355040a130c4578616d706c6520496e632e312330210603550403131a4578616d706c65205365727665722043657274696669636174653120301e06092a864886f70d010901161161646d696e406578616d706c652e636f6d30820122300d06092a864886f70d01010105000382010f003082010a0282010100e0af0a8d6daefc6d3dfa2aeb1e1c8b372d649a84366dbc6fc1272eaa48b8b2ca7538485aa97f1dc687ac0ce85af6e20f4edef1f0a13269a46e9747bff07e EAP-Message = 0x25aa3372093de129a21dd65a9805254a6202a608d25bb720daa93c20e642ef960ea5ec7b056e12cbd5cc67e1244d0a91e4cf83a6bbb3f876d6b8f066562c7589b124e7e272d08e70aad01ce342f18495c33b5e1e883a65fbc95173198fcefc8b25e375855ef28475541922d285e61c5ee953c0484cf909bfb2cbf0ccd71f6d5a10d57fc3e60d6d2d653cd7de2141b36f9496a83bbaf06c85debb6e452b84546e63314075c5ecd5675b2d318c18a3c1d676f1ff78e9a40c8c29151cdda0f541d8f9fb0203010001a317301530130603551d25040c300a06082b06010505070301300d06092a864886f70d0101040500038201010050d81d2de1440f8bc8 EAP-Message = 0x77a488be467952d2cfc2ec90173c8b5f096f489918bf4a8bdf86e55dc8d5d710b163340fe89373518b49d1fb7d96c25a9d48d99e7c72cf968ca5b3fbac58c650929f331d60650303bde6f7bd4636a7b0e567f251ee11f17908d5101c33a276ce9f446bd3ff2b4030f4b98c108d28a737ac4142a25e4557ed0a6f019dd6f7b73c77d0287d71ac7bc0d93ef1dce30251ef80457e61e22ad7e0f15c80ffa604d5cf1aad8a880c5f15c5a4248d2f292db14e029e9ac38482983f328c3ec21fd7ab5474689ac5975033f834b517bf78052563cc905d17aa52f0834c5047040890eb24552a0ee791b2839e6b88c5feeb9e8f586d5391b13322860004ab308204 EAP-Message = 0xa73082038fa0030201020209 Message-Authenticator = 0x00000000000000000000000000000000 State = 0x94fb950896de8cfe1477c70ff2bf2308 Finished request 2. Going to the next request Waking up in 4.9 seconds. rad_recv: Access-Request packet from host 10.1.1.211 port 35032, id=127, length=172 User-Name = "evergreen" NAS-IP-Address = 192.168.1.1 NAS-Port = 0 Called-Station-Id = "28-C6-8E-A4-2B-6A:plum-radius" Calling-Station-Id = "00-1F-5B-C1-AB-24" Framed-MTU = 1400 NAS-Port-Type = Wireless-802.11 Connect-Info = "CONNECT 0Mbps 802.11b" EAP-Message = 0x022500061900 State = 0x94fb950896de8cfe1477c70ff2bf2308 Message-Authenticator = 0xa5dd14379b6c04a6d4f9e4c2ac6e79a1 # Executing section authorize from file /etc/freeradius/sites-enabled/default +- entering group authorize {...} ++[preprocess] returns ok ++[digest] returns noop [suffix] No '@' in User-Name = "evergreen", looking up realm NULL [suffix] No such realm "NULL" ++[suffix] returns noop [eap] EAP packet type response id 37 length 6 [eap] Continuing tunnel setup. ++[eap] returns ok Found Auth-Type = EAP # Executing group from file /etc/freeradius/sites-enabled/default +- entering group authenticate {...} [eap] Request found, released from the list [eap] EAP/peap [eap] processing type peap [peap] processing EAP-TLS [peap] Received TLS ACK [peap] ACK handshake fragment handler [peap] eaptls_verify returned 1 [peap] eaptls_process returned 13 [peap] EAPTLS_HANDLED ++[eap] returns handled Sending Access-Challenge of id 127 to 10.1.1.211 port 35032 EAP-Message = 0x012603fc194000f4d32f255cc0c348300d06092a864886f70d0101050500308193310b3009060355040613024652310f300d060355040813065261646975733112301006035504071309536f6d65776865726531153013060355040a130c4578616d706c6520496e632e3120301e06092a864886f70d010901161161646d696e406578616d706c652e636f6d312630240603550403131d4578616d706c6520436572746966696361746520417574686f72697479301e170d3133303730383139333834305a170d3134303730383139333834305a308193310b3009060355040613024652310f300d060355040813065261646975733112301006035504 EAP-Message = 0x071309536f6d65776865726531153013060355040a130c4578616d706c6520496e632e3120301e06092a864886f70d010901161161646d696e406578616d706c652e636f6d312630240603550403131d4578616d706c6520436572746966696361746520417574686f7269747930820122300d06092a864886f70d01010105000382010f003082010a0282010100eb807f1fd3cdb98ff7b2f777a95978d266049d6ab32321fd58a94fb0d52aa634ba90594211a99af6ffe7113bc15cf5fdbdc8bdf2c8ecd8d078fae7408a76f3816e725527c3606804cea0ced3ec70bbefd219ca812106414220c3134a998dadcf0b5529c14465df968b674ec4fd0a9a EAP-Message = 0x35a2d186c881b8fae5a72795edfee73b2a9f1674de1016c4f6fb26f658301c9bebeacc53a727313f787f03e0b98bb50925e08c71d0f70f0bed575758cde31c77cf34867f59fb04e042e442f278b6c44cdf991ed6a295799e923cb0c97b1097f9814b06b4c5c31d945c8b983837307777d343360fa5118fec602a3579cb0056737a2b850a3fa7d05baa6ca2b408d04a1a7b0203010001a381fb3081f8301d0603551d0e04160414d8240032936cdc231d88499a7eed6216431c60263081c80603551d230481c03081bd8014d8240032936cdc231d88499a7eed6216431c6026a18199a48196308193310b3009060355040613024652310f300d06035504 EAP-Message = 0x0813065261646975733112301006035504071309536f6d65776865726531153013060355040a130c4578616d706c6520496e632e3120301e06092a864886f70d010901161161646d696e406578616d706c652e636f6d312630240603550403131d4578616d706c6520436572746966696361746520417574686f72697479820900f4d32f255cc0c348300c0603551d13040530030101ff300d06092a864886f70d010105050003820101000b45b9ef3e89cff871a8afa66317465b27b832e27e470d88f657f81e6158a709600426240e2a8de1b2416644959f1dbe63e3f1c09a850213fad8c569191b22e178b5c08f9a4398ab81375f9e812186e00753 EAP-Message = 0xd2ca375f069b9b31 Message-Authenticator = 0x00000000000000000000000000000000 State = 0x94fb950897dd8cfe1477c70ff2bf2308 Finished request 3. Going to the next request Waking up in 4.9 seconds. rad_recv: Access-Request packet from host 10.1.1.211 port 35032, id=128, length=172 User-Name = "evergreen" NAS-IP-Address = 192.168.1.1 NAS-Port = 0 Called-Station-Id = "28-C6-8E-A4-2B-6A:plum-radius" Calling-Station-Id = "00-1F-5B-C1-AB-24" Framed-MTU = 1400 NAS-Port-Type = Wireless-802.11 Connect-Info = "CONNECT 0Mbps 802.11b" EAP-Message = 0x022600061900 State = 0x94fb950897dd8cfe1477c70ff2bf2308 Message-Authenticator = 0xa875cace5dda858e41ea71c11bad415c # Executing section authorize from file /etc/freeradius/sites-enabled/default +- entering group authorize {...} ++[preprocess] returns ok ++[digest] returns noop [suffix] No '@' in User-Name = "evergreen", looking up realm NULL [suffix] No such realm "NULL" ++[suffix] returns noop [eap] EAP packet type response id 38 length 6 [eap] Continuing tunnel setup. ++[eap] returns ok Found Auth-Type = EAP # Executing group from file /etc/freeradius/sites-enabled/default +- entering group authenticate {...} [eap] Request found, released from the list [eap] EAP/peap [eap] processing type peap [peap] processing EAP-TLS [peap] Received TLS ACK [peap] ACK handshake fragment handler [peap] eaptls_verify returned 1 [peap] eaptls_process returned 13 [peap] EAPTLS_HANDLED ++[eap] returns handled Sending Access-Challenge of id 128 to 10.1.1.211 port 35032 EAP-Message = 0x012700b519002782cf9825b84ae3e45b9cbc6882857730a54c1b56ae56c0395d529f545d8b605b210dbfd0985cde611bb8c55142f3113d2b5b6017ff5d972a579d0426036134e10aafdc036195223a3c16d25fe9d181b1007ccf2dd7f8588d0436fb1123222754e59d4f7ac6daa05e17d2407d8426181d55b23f3c8b4aaf178ae754b80273464aa76fa3f814f3f3492ef248d0a83a17a763da5cb5d022fcb0e7c4cf54c04580a222ad3eea0116030100040e000000 Message-Authenticator = 0x00000000000000000000000000000000 State = 0x94fb950890dc8cfe1477c70ff2bf2308 Finished request 4. Going to the next request Waking up in 4.9 seconds. rad_recv: Access-Request packet from host 10.1.1.211 port 35032, id=129, length=504 User-Name = "evergreen" NAS-IP-Address = 192.168.1.1 NAS-Port = 0 Called-Station-Id = "28-C6-8E-A4-2B-6A:plum-radius" Calling-Station-Id = "00-1F-5B-C1-AB-24" Framed-MTU = 1400 NAS-Port-Type = Wireless-802.11 Connect-Info = "CONNECT 0Mbps 802.11b" EAP-Message = 0x022701501980000001461603010106100001020100c34bcc8150e8c8d5df12bbb80fd474cd3541f104956c0a438880de306033f69b478baa473580203c8499c31a7696ee0640d9b49307584bc907426690c4aacec6dde59994969dd93861aa249957489bf442134cebff66b0e0200f68e290a5f5111ea29b2b9409b6d82d6e53e97da5b37dca907b4fd7f73735a88d389d9df20deeda155d5998aa72932a472c55c34b91cd14cd9760c508943eb9f2e20aedf401640e1b6613992855834d3169fb5de01dd7d6634d0163126b778fec6ef22de0f85a540c52160b78b65b08958cb7b9b4a7169dc63073ae9ea18c935394f7da46d070263e3b8358f2ee5e EAP-Message = 0x761de73dae90a1133563dc06945541a2f926b698bc9452a214030100010116030100302e635bbd4d8afdd87c7f67adc20550f334617b7ff417dc15a1687d5174470c8553d5eac5386b92aa8957feea182b2488 State = 0x94fb950890dc8cfe1477c70ff2bf2308 Message-Authenticator = 0xe3e2f1c119248b200ce367aac3727971 # Executing section authorize from file /etc/freeradius/sites-enabled/default +- entering group authorize {...} ++[preprocess] returns ok ++[digest] returns noop [suffix] No '@' in User-Name = "evergreen", looking up realm NULL [suffix] No such realm "NULL" ++[suffix] returns noop [eap] EAP packet type response id 39 length 253 [eap] Continuing tunnel setup. ++[eap] returns ok Found Auth-Type = EAP # Executing group from file /etc/freeradius/sites-enabled/default +- entering group authenticate {...} [eap] Request found, released from the list [eap] EAP/peap [eap] processing type peap [peap] processing EAP-TLS TLS Length 326 [peap] Length Included [peap] eaptls_verify returned 11 [peap] <<< TLS 1.0 Handshake [length 0106], ClientKeyExchange [peap] TLS_accept: SSLv3 read client key exchange A [peap] <<< TLS 1.0 ChangeCipherSpec [length 0001] [peap] <<< TLS 1.0 Handshake [length 0010], Finished [peap] TLS_accept: SSLv3 read finished A [peap] >>> TLS 1.0 ChangeCipherSpec [length 0001] [peap] TLS_accept: SSLv3 write change cipher spec A [peap] >>> TLS 1.0 Handshake [length 0010], Finished [peap] TLS_accept: SSLv3 write finished A [peap] TLS_accept: SSLv3 flush data [peap] (other): SSL negotiation finished successfully SSL Connection Established [peap] eaptls_process returned 13 [peap] EAPTLS_HANDLED ++[eap] returns handled Sending Access-Challenge of id 129 to 10.1.1.211 port 35032 EAP-Message = 0x01280041190014030100010116030100307df7b3495e22ef9c1dac0bcee7feda3c496009b5055839a35f54be624426631b66c03a43ab68fe2fe26e5a2c4ad81bf2 Message-Authenticator = 0x00000000000000000000000000000000 State = 0x94fb950891d38cfe1477c70ff2bf2308 Finished request 5. Going to the next request Waking up in 4.8 seconds. rad_recv: Access-Request packet from host 10.1.1.211 port 35032, id=130, length=172 User-Name = "evergreen" NAS-IP-Address = 192.168.1.1 NAS-Port = 0 Called-Station-Id = "28-C6-8E-A4-2B-6A:plum-radius" Calling-Station-Id = "00-1F-5B-C1-AB-24" Framed-MTU = 1400 NAS-Port-Type = Wireless-802.11 Connect-Info = "CONNECT 0Mbps 802.11b" EAP-Message = 0x022800061900 State = 0x94fb950891d38cfe1477c70ff2bf2308 Message-Authenticator = 0xdff25c2e931ec03c6571ba44c0c343b8 # Executing section authorize from file /etc/freeradius/sites-enabled/default +- entering group authorize {...} ++[preprocess] returns ok ++[digest] returns noop [suffix] No '@' in User-Name = "evergreen", looking up realm NULL [suffix] No such realm "NULL" ++[suffix] returns noop [eap] EAP packet type response id 40 length 6 [eap] Continuing tunnel setup. ++[eap] returns ok Found Auth-Type = EAP # Executing group from file /etc/freeradius/sites-enabled/default +- entering group authenticate {...} [eap] Request found, released from the list [eap] EAP/peap [eap] processing type peap [peap] processing EAP-TLS [peap] Received TLS ACK [peap] ACK handshake is finished [peap] eaptls_verify returned 3 [peap] eaptls_process returned 3 [peap] EAPTLS_SUCCESS [peap] Session established. Decoding tunneled attributes. [peap] Peap state TUNNEL ESTABLISHED ++[eap] returns handled Sending Access-Challenge of id 130 to 10.1.1.211 port 35032 EAP-Message = 0x0129002b1900170301002081d7d9527f298efa1fe2231ab7767690726678787b1ef906df809acbf19a2b41 Message-Authenticator = 0x00000000000000000000000000000000 State = 0x94fb950892d28cfe1477c70ff2bf2308 Finished request 6. Going to the next request Waking up in 4.8 seconds. rad_recv: Access-Request packet from host 10.1.1.211 port 35032, id=131, length=209 User-Name = "evergreen" NAS-IP-Address = 192.168.1.1 NAS-Port = 0 Called-Station-Id = "28-C6-8E-A4-2B-6A:plum-radius" Calling-Station-Id = "00-1F-5B-C1-AB-24" Framed-MTU = 1400 NAS-Port-Type = Wireless-802.11 Connect-Info = "CONNECT 0Mbps 802.11b" EAP-Message = 0x0229002b19001703010020f32c0d57ca9e9aeff37fc8e25aeac15f766362c5390e6d333f1a35d7dc2a0124 State = 0x94fb950892d28cfe1477c70ff2bf2308 Message-Authenticator = 0x93edbb3fa37b4fb8c8f583facdff2dfd # Executing section authorize from file /etc/freeradius/sites-enabled/default +- entering group authorize {...} ++[preprocess] returns ok ++[digest] returns noop [suffix] No '@' in User-Name = "evergreen", looking up realm NULL [suffix] No such realm "NULL" ++[suffix] returns noop [eap] EAP packet type response id 41 length 43 [eap] Continuing tunnel setup. ++[eap] returns ok Found Auth-Type = EAP # Executing group from file /etc/freeradius/sites-enabled/default +- entering group authenticate {...} [eap] Request found, released from the list [eap] EAP/peap [eap] processing type peap [peap] processing EAP-TLS [peap] eaptls_verify returned 7 [peap] Done initial handshake [peap] eaptls_process returned 7 [peap] EAPTLS_OK [peap] Session established. Decoding tunneled attributes. [peap] Peap state WAITING FOR INNER IDENTITY [peap] Identity - evergreen [peap] Got inner identity 'evergreen' [peap] Setting default EAP type for tunneled EAP session. [peap] Got tunneled request EAP-Message = 0x0229000e0165766572677265656e server { PEAP: Setting User-Name to evergreen Sending tunneled request EAP-Message = 0x0229000e0165766572677265656e FreeRADIUS-Proxied-To = 127.0.0.1 User-Name = "evergreen" server inner-tunnel { # Executing section authorize from file /etc/freeradius/sites-enabled/inner-tunnel +- entering group authorize {...} ++[chap] returns noop ++[mschap] returns noop [suffix] No '@' in User-Name = "evergreen", looking up realm NULL [suffix] No such realm "NULL" ++[suffix] returns noop ++[control] returns noop [eap] EAP packet type response id 41 length 14 [eap] No EAP Start, assuming it's an on-going EAP conversation ++[eap] returns updated ++[files] returns noop ++[expiration] returns noop ++[logintime] returns noop ++[pap] returns noop Found Auth-Type = EAP # Executing group from file /etc/freeradius/sites-enabled/inner-tunnel +- entering group authenticate {...} [eap] EAP Identity [eap] processing type mschapv2 rlm_eap_mschapv2: Issuing Challenge ++[eap] returns handled } # server inner-tunnel [peap] Got tunneled reply code 11 EAP-Message = 0x012a00231a012a001e1062b1047c531ad557fbce1ca39300531e65766572677265656e Message-Authenticator = 0x00000000000000000000000000000000 State = 0x84873f8084ad259f85a24a928585c30e [peap] Got tunneled reply RADIUS code 11 EAP-Message = 0x012a00231a012a001e1062b1047c531ad557fbce1ca39300531e65766572677265656e Message-Authenticator = 0x00000000000000000000000000000000 State = 0x84873f8084ad259f85a24a928585c30e [peap] Got tunneled Access-Challenge ++[eap] returns handled Sending Access-Challenge of id 131 to 10.1.1.211 port 35032 EAP-Message = 0x012a004b19001703010040d12bb79ef84b4d6d33940e5cc65b6ec0585ac6bc5479eb1555d14d8e7ba7972cf374e37a10a705189fb909b87c7393afa40cf81fc8ba7a2fb389a2bd31ce20eb Message-Authenticator = 0x00000000000000000000000000000000 State = 0x94fb950893d18cfe1477c70ff2bf2308 Finished request 7. Going to the next request Waking up in 4.8 seconds. rad_recv: Access-Request packet from host 10.1.1.211 port 35032, id=132, length=273 User-Name = "evergreen" NAS-IP-Address = 192.168.1.1 NAS-Port = 0 Called-Station-Id = "28-C6-8E-A4-2B-6A:plum-radius" Calling-Station-Id = "00-1F-5B-C1-AB-24" Framed-MTU = 1400 NAS-Port-Type = Wireless-802.11 Connect-Info = "CONNECT 0Mbps 802.11b" EAP-Message = 0x022a006b190017030100605c5d176dec06ee45d4d4daea33e4792577914d7f804e26739832d61290734264dfa9782f30b23e386765a8f19001936f8c66dcd2ea2f02eb4364ef8daaae2b46cfaba84893effe6c4e4e677d568bbf64a8a79dbe0bf171f00d4d118821d8494a State = 0x94fb950893d18cfe1477c70ff2bf2308 Message-Authenticator = 0xaae8e93ec4baedb57226f5857fbeefcf # Executing section authorize from file /etc/freeradius/sites-enabled/default +- entering group authorize {...} ++[preprocess] returns ok ++[digest] returns noop [suffix] No '@' in User-Name = "evergreen", looking up realm NULL [suffix] No such realm "NULL" ++[suffix] returns noop [eap] EAP packet type response id 42 length 107 [eap] Continuing tunnel setup. ++[eap] returns ok Found Auth-Type = EAP # Executing group from file /etc/freeradius/sites-enabled/default +- entering group authenticate {...} [eap] Request found, released from the list [eap] EAP/peap [eap] processing type peap [peap] processing EAP-TLS [peap] eaptls_verify returned 7 [peap] Done initial handshake [peap] eaptls_process returned 7 [peap] EAPTLS_OK [peap] Session established. Decoding tunneled attributes. [peap] Peap state phase2 [peap] EAP type mschapv2 [peap] Got tunneled request EAP-Message = 0x022a00441a022a003f314218e8aafbcedebcaa680a818e2c69530000000000000000cb6a372ed7a55bc851177ce70298c4a87bf9075a371534c40065766572677265656e server { PEAP: Setting User-Name to evergreen Sending tunneled request EAP-Message = 0x022a00441a022a003f314218e8aafbcedebcaa680a818e2c69530000000000000000cb6a372ed7a55bc851177ce70298c4a87bf9075a371534c40065766572677265656e FreeRADIUS-Proxied-To = 127.0.0.1 User-Name = "evergreen" State = 0x84873f8084ad259f85a24a928585c30e server inner-tunnel { # Executing section authorize from file /etc/freeradius/sites-enabled/inner-tunnel +- entering group authorize {...} ++[chap] returns noop ++[mschap] returns noop [suffix] No '@' in User-Name = "evergreen", looking up realm NULL [suffix] No such realm "NULL" ++[suffix] returns noop ++[control] returns noop [eap] EAP packet type response id 42 length 68 [eap] No EAP Start, assuming it's an on-going EAP conversation ++[eap] returns updated ++[files] returns noop ++[expiration] returns noop ++[logintime] returns noop ++[pap] returns noop Found Auth-Type = EAP # Executing group from file /etc/freeradius/sites-enabled/inner-tunnel +- entering group authenticate {...} [eap] Request found, released from the list [eap] EAP/mschapv2 [eap] processing type mschapv2 [mschapv2] # Executing group from file /etc/freeradius/sites-enabled/inner-tunnel [mschapv2] +- entering group MS-CHAP {...} [mschap] No Cleartext-Password configured. Cannot create LM-Password. [mschap] No Cleartext-Password configured. Cannot create NT-Password. [mschap] Creating challenge hash with username: evergreen [mschap] Told to do MS-CHAPv2 for evergreen with NT-Password [mschap] FAILED: No NT/LM-Password. Cannot perform authentication. [mschap] FAILED: MS-CHAP2-Response is incorrect ++[mschap] returns reject [eap] Freeing handler ++[eap] returns reject Failed to authenticate the user. } # server inner-tunnel [peap] Got tunneled reply code 3 MS-CHAP-Error = "*E=691 R=1" EAP-Message = 0x042a0004 Message-Authenticator = 0x00000000000000000000000000000000 [peap] Got tunneled reply RADIUS code 3 MS-CHAP-Error = "*E=691 R=1" EAP-Message = 0x042a0004 Message-Authenticator = 0x00000000000000000000000000000000 [peap] Tunneled authentication was rejected. [peap] FAILURE ++[eap] returns handled Sending Access-Challenge of id 132 to 10.1.1.211 port 35032 EAP-Message = 0x012b002b19001703010020ff10092adaa9fdacb79530b044899aabc8899262b7ae726656391f88a3911b25 Message-Authenticator = 0x00000000000000000000000000000000 State = 0x94fb95089cd08cfe1477c70ff2bf2308 Finished request 8. Going to the next request Waking up in 4.7 seconds. rad_recv: Access-Request packet from host 10.1.1.211 port 35032, id=133, length=209 User-Name = "evergreen" NAS-IP-Address = 192.168.1.1 NAS-Port = 0 Called-Station-Id = "28-C6-8E-A4-2B-6A:plum-radius" Calling-Station-Id = "00-1F-5B-C1-AB-24" Framed-MTU = 1400 NAS-Port-Type = Wireless-802.11 Connect-Info = "CONNECT 0Mbps 802.11b" EAP-Message = 0x022b002b190017030100208e327eb0489d3827eac9d59af7e4e298ae6cfbb307128bdf4eac86347d5a3c3f State = 0x94fb95089cd08cfe1477c70ff2bf2308 Message-Authenticator = 0x46ed47a21c5bc33ea610f9f3583bc9cb # Executing section authorize from file /etc/freeradius/sites-enabled/default +- entering group authorize {...} ++[preprocess] returns ok ++[digest] returns noop [suffix] No '@' in User-Name = "evergreen", looking up realm NULL [suffix] No such realm "NULL" ++[suffix] returns noop [eap] EAP packet type response id 43 length 43 [eap] Continuing tunnel setup. ++[eap] returns ok Found Auth-Type = EAP # Executing group from file /etc/freeradius/sites-enabled/default +- entering group authenticate {...} [eap] Request found, released from the list [eap] EAP/peap [eap] processing type peap [peap] processing EAP-TLS [peap] eaptls_verify returned 7 [peap] Done initial handshake [peap] eaptls_process returned 7 [peap] EAPTLS_OK [peap] Session established. Decoding tunneled attributes. [peap] Peap state send tlv failure [peap] Received EAP-TLV response. [peap] The users session was previously rejected: returning reject (again.) [peap] *** This means you need to read the PREVIOUS messages in the debug output [peap] *** to find out the reason why the user was rejected. [peap] *** Look for "reject" or "fail". Those earlier messages will tell you. [peap] *** what went wrong, and how to fix the problem. [eap] Handler failed in EAP/peap [eap] Failed in EAP select ++[eap] returns invalid Failed to authenticate the user. Using Post-Auth-Type Reject # Executing group from file /etc/freeradius/sites-enabled/default +- entering group REJECT {...} [attr_filter.access_reject] expand: %{User-Name} -> evergreen attr_filter: Matched entry DEFAULT at line 11 ++[attr_filter.access_reject] returns updated Delaying reject of request 9 for 1 seconds Going to the next request Waking up in 0.9 seconds. Sending delayed reject for request 9 Sending Access-Reject of id 133 to 10.1.1.211 port 35032 EAP-Message = 0x042b0004 Message-Authenticator = 0x00000000000000000000000000000000 Waking up in 3.7 seconds. Cleaning up request 0 ID 124 with timestamp +42 Cleaning up request 1 ID 125 with timestamp +42 Cleaning up request 2 ID 126 with timestamp +42 Cleaning up request 3 ID 127 with timestamp +42 Cleaning up request 4 ID 128 with timestamp +42 Cleaning up request 5 ID 129 with timestamp +42 Cleaning up request 6 ID 130 with timestamp +43 Cleaning up request 7 ID 131 with timestamp +43 Cleaning up request 8 ID 132 with timestamp +43 Waking up in 1.0 seconds. Cleaning up request 9 ID 133 with timestamp +43 Ready to process requests.
rad_recv: Access-Request packet from host 10.1.1.211 port 35032, id=73, length=162 User-Name = "evergreen" NAS-IP-Address = 192.168.1.1 NAS-Port = 0 Called-Station-Id = "28-C6-8E-A4-2B-6A:plum-radius" Calling-Station-Id = "00-1F-5B-C1-AB-24" Framed-MTU = 1400 NAS-Port-Type = Wireless-802.11 Connect-Info = "CONNECT 0Mbps 802.11b" EAP-Message = 0x02b1000e0165766572677265656e Message-Authenticator = 0x6f0e884ab22ca3b623c88cb2a8bab823 # Executing section authorize from file /etc/freeradius/sites-enabled/default +- entering group authorize {...} ++[preprocess] returns ok ++[digest] returns noop [suffix] No '@' in User-Name = "evergreen", looking up realm NULL [suffix] No such realm "NULL" ++[suffix] returns noop ++[unix] returns notfound ++[files] returns noop ++[expiration] returns noop ++[logintime] returns noop [pap] WARNING! No "known good" password found for the user. Authentication may fail because of this. ++[pap] returns noop ERROR: No authenticate method (Auth-Type) found for the request: Rejecting the user Failed to authenticate the user. Using Post-Auth-Type Reject # Executing group from file /etc/freeradius/sites-enabled/default +- entering group REJECT {...} [attr_filter.access_reject] expand: %{User-Name} -> evergreen attr_filter: Matched entry DEFAULT at line 11 ++[attr_filter.access_reject] returns updated Delaying reject of request 0 for 1 seconds Going to the next request Waking up in 0.9 seconds. Sending delayed reject for request 0 Sending Access-Reject of id 73 to 10.1.1.211 port 35032 Waking up in 4.9 seconds.
-- Matthew Newton, Ph.D. <mcn4@le.ac.uk>
Systems Specialist, Infrastructure Services, I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom
For IT help contact helpdesk extn. 2253, <ithelp@le.ac.uk> - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Julian Macassey wrote:
So, I put it back in. I took it out earlier as 1. I couldn't connect with it. 2. My understanding from reading the docs was that pap alone would do the job.
(1) No, and (2) Not for 8021.X
I'm just trying to do a bog standard username and password for OS X and Linux users on laptops - Plus the ubiquitous smartphones of course. I have no Microsoft gear on the LAN.
Here is my latest output:
Which indicates that you didn't tell the server what the *good* password is for the user. Why not? Read the FAQ. It has instructions for configuring a sample user. When you've done that, it *will* authenticate that user. Getting 802.1X to work requires a number of steps. You've missed some. My guide goes through this in detail, and following it will *always* work: http://deployingradius.com/ Alan DeKok.
On 2013-07-09 at 00:52, Alan DeKok (aland@deployingradius.com) wrote:
Julian Macassey wrote:
So, I put it back in. I took it out earlier as 1. I couldn't connect with it. 2. My understanding from reading the docs was that pap alone would do the job.
(1) No, and (2) Not for 8021.X
I'm just trying to do a bog standard username and password for OS X and Linux users on laptops - Plus the ubiquitous smartphones of course. I have no Microsoft gear on the LAN.
Here is my latest output:
Which indicates that you didn't tell the server what the *good* password is for the user. Why not?
In the Wifi sign on window of both a Macbook and an iPhone, I enter the username and the password. So, from my sign on I have told the server both.
Read the FAQ. It has instructions for configuring a sample user. When you've done that, it *will* authenticate that user.
I have done that, if you mean putting username and password, plus shared secret in the /etc/freeradius/users file. Using radtest as described in the documentation I have done it and it works. What doesn't work is getting a Macbook to connect to a Netgear N600 WiFi Router using WPA2 Enterprise and freeradius using the username and login available to any user logging into the freeradius machine via the conole or ssh.
Getting 802.1X to work requires a number of steps. You've missed some. My guide goes through this in detail, and following it will *always* work:
I have read and followed http://deployingradius.com/documents/configuration/setup.html What I haven't yet done is replace the "snake oil" certs with production certs: http://deployingradius.com/documents/configuration/certificates.html But get the output I have sent before. The instructions above are for Microsoft Windows, but Linux and Mac OSX should be pretty standard. Yours
Julian Macassey wrote:
In the Wifi sign on window of both a Macbook and an iPhone, I enter the username and the password. So, from my sign on I have told the server both.
Well, no. That's telling the *client* what the password is. You need to tell the *server* the correct password, too.
I have done that, if you mean putting username and password, plus shared secret in the /etc/freeradius/users file.
That's not what the debug output shows. Read it. It's pretty simple. The "files" module returns "noop", which means it didn't match the User-Name in the Access-Request.
Using radtest as described in the documentation I have done it and it works.
Read raddb/sites-available/inner-tunnel. It describes how to get the "inner-tunnel" portion working.
I have read and followed http://deployingradius.com/documents/configuration/setup.html
You didn't follow all of the steps to get EAP to work. If you had, you would see an Access-Accept. Alan DeKok.
On 2013-07-09 at 09:16, Alan DeKok (aland@deployingradius.com) wrote:
Julian Macassey wrote:
In the Wifi sign on window of both a Macbook and an iPhone, I enter the username and the password. So, from my sign on I have told the server both.
Well, no. That's telling the *client* what the password is.
You need to tell the *server* the correct password, too.
I have done that, if you mean putting username and password, plus shared secret in the /etc/freeradius/users file.
That's not what the debug output shows. Read it. It's pretty simple. The "files" module returns "noop", which means it didn't match the User-Name in the Access-Request.
It does when it is all in the 'users' file, in fact, when I put my username and password in the users file, my laptop and smartphone authenticate and connect to the WiFi. But, I want to get that info from /etc/password. I note from looking around that there used to be (Version 1?) an Auth-Type= System that did just that.
Using radtest as described in the documentation I have done it and it works.
Read raddb/sites-available/inner-tunnel. It describes how to get the "inner-tunnel" portion working.
I have that working and tested via radtest using the protocols noted in the radtest man page (-t pap/chap/mschap/eap-md5) I have also tested all the above in the default radtest port 1812. All nice and happy.
I have read and followed http://deployingradius.com/documents/configuration/setup.html
You didn't follow all of the steps to get EAP to work. If you had, you would see an Access-Accept.
Obviously I am missing something. That is why I am asking for help. If I knew what I was missing, I wouldn't ask for help. The freeradius docs do say, if you can't get it working, post to this list. What I do see is: # Executing section authorize from file # /etc/freeradius/sites-enabled/default +- entering group authorize {...} ++[preprocess] returns ok ++[digest] returns noop [suffix] No '@' in User-Name = "evergreen", looking up realm NULL [suffix] No such realm "NULL" ++[suffix] returns noop -------- So, doing the obvious and fixing proxy.conf to: realm NULL { authhost = localhost:1600 accthost = localhost:1601 secret = d1sc0verplum } My output now looks like: Ready to process requests. rad_recv: Access-Request packet from host 10.1.1.211 port 33453, id=15, length=162 User-Name = "evergreen" NAS-IP-Address = 192.168.1.1 NAS-Port = 0 Called-Station-Id = "28-C6-8E-A4-2B-6A:plum-radius" Calling-Station-Id = "00-1F-5B-C1-AB-24" Framed-MTU = 1400 NAS-Port-Type = Wireless-802.11 Connect-Info = "CONNECT 0Mbps 802.11b" EAP-Message = 0x02e7000e0165766572677265656e Message-Authenticator = 0x1c9b53af7363480742ec3c5cf3346a62 # Executing section authorize from file # /etc/freeradius/sites-enabled/default +- entering group authorize {...} ++[preprocess] returns ok ++[digest] returns noop [suffix] No '@' in User-Name = "evergreen", looking up realm NULL [suffix] Found realm "NULL" [suffix] Adding Stripped-User-Name = "evergreen" [suffix] Adding Realm = "NULL" [suffix] Proxying request from user evergreen to realm NULL [suffix] Preparing to proxy authentication request to realm "NULL" ++[suffix] returns updated Further down: Waking up in 4.9 seconds. Cleaning up request 0 ID 15 with timestamp +4 Marking home server 127.0.0.1 port 1600 as zombie (it looks like it is dead). Ready to process requests. So... Works with the users file, doesn't work when I try to get it to use /etc/passwd Below are my debug outputs with and with the proxy.conf NULL [With proxy.conf NULL commented out] FreeRADIUS Version 2.1.10, for host x86_64-pc-linux-gnu, built on Sep 24 2012 at 17:58:57 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/freeradius/radiusd.conf including configuration file /etc/freeradius/proxy.conf including configuration file /etc/freeradius/clients.conf including files in directory /etc/freeradius/modules/ including configuration file /etc/freeradius/modules/sradutmp including configuration file /etc/freeradius/modules/radutmp including configuration file /etc/freeradius/modules/expr including configuration file /etc/freeradius/modules/expiration including configuration file /etc/freeradius/modules/counter including configuration file /etc/freeradius/modules/mschap including configuration file /etc/freeradius/modules/mac2ip including configuration file /etc/freeradius/modules/pap including configuration file /etc/freeradius/modules/acct_unique including configuration file /etc/freeradius/modules/etc_group including configuration file /etc/freeradius/modules/files including configuration file /etc/freeradius/modules/inner-eap including configuration file /etc/freeradius/modules/passwd including configuration file /etc/freeradius/modules/detail including configuration file /etc/freeradius/modules/echo including configuration file /etc/freeradius/modules/digest including configuration file /etc/freeradius/modules/realm including configuration file /etc/freeradius/modules/ldap including configuration file /etc/freeradius/modules/mac2vlan including configuration file /etc/freeradius/modules/linelog including configuration file /etc/freeradius/modules/unix including configuration file /etc/freeradius/modules/logintime including configuration file /etc/freeradius/modules/pam including configuration file /etc/freeradius/modules/ippool including configuration file /etc/freeradius/modules/wimax including configuration file /etc/freeradius/modules/exec including configuration file /etc/freeradius/modules/krb5 including configuration file /etc/freeradius/modules/detail.example.com including configuration file /etc/freeradius/modules/always including configuration file /etc/freeradius/modules/dynamic_clients including configuration file /etc/freeradius/modules/preprocess including configuration file /etc/freeradius/modules/policy including configuration file /etc/freeradius/modules/perl including configuration file /etc/freeradius/modules/attr_filter including configuration file /etc/freeradius/modules/detail.log including configuration file /etc/freeradius/modules/checkval including configuration file /etc/freeradius/modules/opendirectory including configuration file /etc/freeradius/modules/attr_rewrite including configuration file /etc/freeradius/modules/smbpasswd including configuration file /etc/freeradius/modules/otp including configuration file /etc/freeradius/modules/sql_log including configuration file /etc/freeradius/modules/smsotp including configuration file /etc/freeradius/modules/sqlcounter_expire_on_login including configuration file /etc/freeradius/modules/ntlm_auth including configuration file /etc/freeradius/modules/cui including configuration file /etc/freeradius/modules/chap including configuration file /etc/freeradius/eap.conf including configuration file /etc/freeradius/policy.conf including files in directory /etc/freeradius/sites-enabled/ including configuration file /etc/freeradius/sites-enabled/default including configuration file /etc/freeradius/sites-enabled/inner-tunnel main { user = "freerad" group = "freerad" allow_core_dumps = no } including dictionary file /etc/freeradius/dictionary main { prefix = "/usr" localstatedir = "/var" logdir = "/var/log/freeradius" libdir = "/usr/lib/freeradius" radacctdir = "/var/log/freeradius/radacct" hostname_lookups = no max_request_time = 30 cleanup_delay = 5 max_requests = 1024 pidfile = "/var/run/plumgrid-radius1/plumgrid-radius1.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 = "d1sc0verplum" 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 irt = 2 mrt = 16 mrc = 5 mrd = 30 } home_server_pool my_auth_failover { type = fail-over home_server = localhost } realm PLUMGRID.COM { auth_pool = my_auth_failover } realm LOCAL { } radiusd: #### Loading Clients #### client localhost { ipaddr = 127.0.0.1 require_message_authenticator = no secret = "d1sc0verplum" nastype = "other" } client 10.1.1.211 { ipaddr = 10.1.1.211 require_message_authenticator = no secret = "d1sc0verplum" shortname = "wifi" nastype = "other" } radiusd: #### Instantiating modules #### instantiate { Module: Linked to module rlm_exec Module: Instantiating module "exec" from file /etc/freeradius/modules/exec exec { wait = no input_pairs = "request" shell_escape = yes } Module: Linked to module rlm_expr Module: Instantiating module "expr" from file /etc/freeradius/modules/expr Module: Linked to module rlm_expiration Module: Instantiating module "expiration" from file /etc/freeradius/modules/expiration expiration { reply-message = "Password Has Expired " } Module: Linked to module rlm_logintime Module: Instantiating module "logintime" from file /etc/freeradius/modules/logintime logintime { reply-message = "You are calling outside your allowed timespan " minimum-timeout = 60 } } radiusd: #### Loading Virtual Servers #### server inner-tunnel { # from file /etc/freeradius/sites-enabled/inner-tunnel modules { Module: Checking authenticate {...} for more modules to load Module: Linked to module rlm_pap Module: Instantiating module "pap" from file /etc/freeradius/modules/pap pap { encryption_scheme = "auto" auto_header = yes } Module: Linked to module rlm_chap Module: Instantiating module "chap" from file /etc/freeradius/modules/chap Module: Linked to module rlm_mschap Module: Instantiating module "mschap" from file /etc/freeradius/modules/mschap mschap { use_mppe = yes require_encryption = no require_strong = no with_ntdomain_hack = no } Module: Linked to module rlm_pam Module: Instantiating module "pam" from file /etc/freeradius/modules/pam pam { pam_auth = "radiusd" } Module: Linked to module rlm_unix Module: Instantiating module "unix" from file /etc/freeradius/modules/unix unix { radwtmp = "/var/log/freeradius/radwtmp" } Module: Linked to module rlm_eap Module: Instantiating module "eap" from file /etc/freeradius/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 = "/etc/freeradius/certs" pem_file_type = yes private_key_file = "/etc/freeradius/certs/server.key" certificate_file = "/etc/freeradius/certs/server.pem" CA_file = "/etc/freeradius/certs/ca.pem" private_key_password = "whatever" dh_file = "/etc/freeradius/certs/dh" random_file = "/dev/urandom" fragment_size = 1024 include_length = yes check_crl = no cipher_list = "DEFAULT" make_cert_command = "/etc/freeradius/certs/bootstrap" cache { enable = no lifetime = 24 max_entries = 255 } verify { } } 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" } Module: Linked to sub-module rlm_eap_mschapv2 Module: Instantiating eap-mschapv2 mschapv2 { with_ntdomain_hack = no } Module: Checking authorize {...} for more modules to load Module: Linked to module rlm_realm Module: Instantiating module "suffix" from file /etc/freeradius/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/freeradius/modules/files files { usersfile = "/etc/freeradius/users" acctusersfile = "/etc/freeradius/acct_users" preproxy_usersfile = "/etc/freeradius/preproxy_users" compat = "no" } Module: Checking session {...} for more modules to load Module: Linked to module rlm_radutmp Module: Instantiating module "radutmp" from file /etc/freeradius/modules/radutmp radutmp { filename = "/var/log/freeradius/radutmp" username = "%{User-Name}" case_sensitive = yes check_with_nas = yes perm = 384 callerid = yes } Module: Checking post-proxy {...} for more modules to load Module: Checking post-auth {...} for more modules to load Module: Linked to module rlm_attr_filter Module: Instantiating module "attr_filter.access_reject" from file /etc/freeradius/modules/attr_filter attr_filter attr_filter.access_reject { attrsfile = "/etc/freeradius/attrs.access_reject" key = "%{User-Name}" } } # modules } # server server { # from file /etc/freeradius/radiusd.conf modules { Module: Checking authenticate {...} for more modules to load Module: Linked to module rlm_digest Module: Instantiating module "digest" from file /etc/freeradius/modules/digest Module: Checking authorize {...} for more modules to load Module: Linked to module rlm_preprocess Module: Instantiating module "preprocess" from file /etc/freeradius/modules/preprocess preprocess { huntgroups = "/etc/freeradius/huntgroups" hints = "/etc/freeradius/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: Checking preacct {...} for more modules to load Module: Linked to module rlm_acct_unique Module: Instantiating module "acct_unique" from file /etc/freeradius/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/freeradius/modules/detail detail { detailfile = "/var/log/freeradius/radacct/%{Client-IP-Address}/detail-%Y%m%d" header = "%t" detailperm = 384 dirperm = 493 locking = no log_packet_header = no } Module: Instantiating module "attr_filter.accounting_response" from file /etc/freeradius/modules/attr_filter attr_filter attr_filter.accounting_response { attrsfile = "/etc/freeradius/attrs.accounting_response" key = "%{User-Name}" } Module: Checking session {...} for more modules to load Module: Checking post-proxy {...} for more modules to load Module: Checking post-auth {...} for more modules to load } # modules } # server radiusd: #### Opening IP addresses and Ports #### listen { type = "auth" ipaddr = * port = 0 } listen { type = "acct" ipaddr = * port = 0 } listen { type = "auth" ipaddr = 127.0.0.1 port = 18120 } Listening on authentication address * port 1812 Listening on accounting address * port 1813 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.1.1.211 port 33453, id=0, length=162 User-Name = "evergreen" NAS-IP-Address = 192.168.1.1 NAS-Port = 0 Called-Station-Id = "28-C6-8E-A4-2B-6A:plum-radius" Calling-Station-Id = "00-1F-5B-C1-AB-24" Framed-MTU = 1400 NAS-Port-Type = Wireless-802.11 Connect-Info = "CONNECT 0Mbps 802.11b" EAP-Message = 0x0267000e0165766572677265656e Message-Authenticator = 0x22a0956c36205f47bb5657fcb4a46e5d # Executing section authorize from file /etc/freeradius/sites-enabled/default +- entering group authorize {...} ++[preprocess] returns ok ++[digest] returns noop [suffix] No '@' in User-Name = "evergreen", looking up realm NULL [suffix] No such realm "NULL" ++[suffix] returns noop [eap] EAP packet type response id 103 length 14 [eap] No EAP Start, assuming it's an on-going EAP conversation ++[eap] returns updated ++[unix] returns notfound ++[files] returns noop ++[expiration] returns noop ++[logintime] returns noop [pap] WARNING! No "known good" password found for the user. Authentication may fail because of this. ++[pap] returns noop Found Auth-Type = EAP # Executing group from file /etc/freeradius/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 0 to 10.1.1.211 port 33453 EAP-Message = 0x016800160410d98eda04dc49ec0d45549f4b6bda47ff Message-Authenticator = 0x00000000000000000000000000000000 State = 0x69c94c0769a148bcce1871e76dc2b0ab Finished request 0. Going to the next request Waking up in 4.9 seconds. rad_recv: Access-Request packet from host 10.1.1.211 port 33453, id=1, length=172 User-Name = "evergreen" NAS-IP-Address = 192.168.1.1 NAS-Port = 0 Called-Station-Id = "28-C6-8E-A4-2B-6A:plum-radius" Calling-Station-Id = "00-1F-5B-C1-AB-24" Framed-MTU = 1400 NAS-Port-Type = Wireless-802.11 Connect-Info = "CONNECT 0Mbps 802.11b" EAP-Message = 0x026800060319 State = 0x69c94c0769a148bcce1871e76dc2b0ab Message-Authenticator = 0x5b11f9cc189299fd9a1f53a361505708 # Executing section authorize from file /etc/freeradius/sites-enabled/default +- entering group authorize {...} ++[preprocess] returns ok ++[digest] returns noop [suffix] No '@' in User-Name = "evergreen", looking up realm NULL [suffix] No such realm "NULL" ++[suffix] returns noop [eap] EAP packet type response id 104 length 6 [eap] No EAP Start, assuming it's an on-going EAP conversation ++[eap] returns updated ++[unix] returns notfound ++[files] returns noop ++[expiration] returns noop ++[logintime] returns noop [pap] WARNING! No "known good" password found for the user. Authentication may fail because of this. ++[pap] returns noop Found Auth-Type = EAP # Executing group from file /etc/freeradius/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 1 to 10.1.1.211 port 33453 EAP-Message = 0x016900061920 Message-Authenticator = 0x00000000000000000000000000000000 State = 0x69c94c0768a055bcce1871e76dc2b0ab Finished request 1. Going to the next request Waking up in 4.9 seconds. rad_recv: Access-Request packet from host 10.1.1.211 port 33453, id=2, length=298 User-Name = "evergreen" NAS-IP-Address = 192.168.1.1 NAS-Port = 0 Called-Station-Id = "28-C6-8E-A4-2B-6A:plum-radius" Calling-Station-Id = "00-1F-5B-C1-AB-24" Framed-MTU = 1400 NAS-Port-Type = Wireless-802.11 Connect-Info = "CONNECT 0Mbps 802.11b" EAP-Message = 0x0269008419800000007a160301007501000071030151dc51645e6f740fde3fc6550b0e72d1aa0388bad9f50b10cba5864aa23fab23000036c00ac009c007c008c013c014c011c012c004c005c002c003c00ec00fc00cc00d002f000500040035000a00320033003800390016001301000012000a00080006001700180019000b00020100 State = 0x69c94c0768a055bcce1871e76dc2b0ab Message-Authenticator = 0x67328db89fe5b9128e284069ccf163fd # Executing section authorize from file /etc/freeradius/sites-enabled/default +- entering group authorize {...} ++[preprocess] returns ok ++[digest] returns noop [suffix] No '@' in User-Name = "evergreen", looking up realm NULL [suffix] No such realm "NULL" ++[suffix] returns noop [eap] EAP packet type response id 105 length 132 [eap] Continuing tunnel setup. ++[eap] returns ok Found Auth-Type = EAP # Executing group from file /etc/freeradius/sites-enabled/default +- entering group authenticate {...} [eap] Request found, released from the list [eap] EAP/peap [eap] processing type peap [peap] processing EAP-TLS TLS Length 122 [peap] Length Included [peap] eaptls_verify returned 11 [peap] (other): before/accept initialization [peap] TLS_accept: before/accept initialization [peap] <<< TLS 1.0 Handshake [length 0075], ClientHello [peap] TLS_accept: SSLv3 read client hello A [peap] >>> TLS 1.0 Handshake [length 002a], ServerHello [peap] TLS_accept: SSLv3 write server hello A [peap] >>> TLS 1.0 Handshake [length 085e], Certificate [peap] TLS_accept: SSLv3 write certificate A [peap] >>> TLS 1.0 Handshake [length 0004], ServerHelloDone [peap] TLS_accept: SSLv3 write server done A [peap] TLS_accept: SSLv3 flush data [peap] TLS_accept: Need to read more data: SSLv3 read client certificate A In SSL Handshake Phase In SSL Accept mode [peap] eaptls_process returned 13 [peap] EAPTLS_HANDLED ++[eap] returns handled Sending Access-Challenge of id 2 to 10.1.1.211 port 33453 EAP-Message = 0x016a040019c00000089b160301002a02000026030151dc5147d2f17dd317ab43ee3ea4c800a3bf2a960e4b3c339b8e08a5c07b572800002f00160301085e0b00085a0008570003a6308203a23082028aa003020102020101300d06092a864886f70d0101040500308193310b3009060355040613024652310f300d060355040813065261646975733112301006035504071309536f6d65776865726531153013060355040a130c4578616d706c6520496e632e3120301e06092a864886f70d010901161161646d696e406578616d706c652e636f6d312630240603550403131d4578616d706c6520436572746966696361746520417574686f72697479 EAP-Message = 0x301e170d3133303730383139333834305a170d3134303730383139333834305a307c310b3009060355040613024652310f300d0603550408130652616469757331153013060355040a130c4578616d706c6520496e632e312330210603550403131a4578616d706c65205365727665722043657274696669636174653120301e06092a864886f70d010901161161646d696e406578616d706c652e636f6d30820122300d06092a864886f70d01010105000382010f003082010a0282010100e0af0a8d6daefc6d3dfa2aeb1e1c8b372d649a84366dbc6fc1272eaa48b8b2ca7538485aa97f1dc687ac0ce85af6e20f4edef1f0a13269a46e9747bff07e EAP-Message = 0x25aa3372093de129a21dd65a9805254a6202a608d25bb720daa93c20e642ef960ea5ec7b056e12cbd5cc67e1244d0a91e4cf83a6bbb3f876d6b8f066562c7589b124e7e272d08e70aad01ce342f18495c33b5e1e883a65fbc95173198fcefc8b25e375855ef28475541922d285e61c5ee953c0484cf909bfb2cbf0ccd71f6d5a10d57fc3e60d6d2d653cd7de2141b36f9496a83bbaf06c85debb6e452b84546e63314075c5ecd5675b2d318c18a3c1d676f1ff78e9a40c8c29151cdda0f541d8f9fb0203010001a317301530130603551d25040c300a06082b06010505070301300d06092a864886f70d0101040500038201010050d81d2de1440f8bc8 EAP-Message = 0x77a488be467952d2cfc2ec90173c8b5f096f489918bf4a8bdf86e55dc8d5d710b163340fe89373518b49d1fb7d96c25a9d48d99e7c72cf968ca5b3fbac58c650929f331d60650303bde6f7bd4636a7b0e567f251ee11f17908d5101c33a276ce9f446bd3ff2b4030f4b98c108d28a737ac4142a25e4557ed0a6f019dd6f7b73c77d0287d71ac7bc0d93ef1dce30251ef80457e61e22ad7e0f15c80ffa604d5cf1aad8a880c5f15c5a4248d2f292db14e029e9ac38482983f328c3ec21fd7ab5474689ac5975033f834b517bf78052563cc905d17aa52f0834c5047040890eb24552a0ee791b2839e6b88c5feeb9e8f586d5391b13322860004ab308204 EAP-Message = 0xa73082038fa0030201020209 Message-Authenticator = 0x00000000000000000000000000000000 State = 0x69c94c076ba355bcce1871e76dc2b0ab Finished request 2. Going to the next request Waking up in 4.9 seconds. rad_recv: Access-Request packet from host 10.1.1.211 port 33453, id=3, length=172 User-Name = "evergreen" NAS-IP-Address = 192.168.1.1 NAS-Port = 0 Called-Station-Id = "28-C6-8E-A4-2B-6A:plum-radius" Calling-Station-Id = "00-1F-5B-C1-AB-24" Framed-MTU = 1400 NAS-Port-Type = Wireless-802.11 Connect-Info = "CONNECT 0Mbps 802.11b" EAP-Message = 0x026a00061900 State = 0x69c94c076ba355bcce1871e76dc2b0ab Message-Authenticator = 0xc2e9b2fb922dac0e779847d8ecf8982d # Executing section authorize from file /etc/freeradius/sites-enabled/default +- entering group authorize {...} ++[preprocess] returns ok ++[digest] returns noop [suffix] No '@' in User-Name = "evergreen", looking up realm NULL [suffix] No such realm "NULL" ++[suffix] returns noop [eap] EAP packet type response id 106 length 6 [eap] Continuing tunnel setup. ++[eap] returns ok Found Auth-Type = EAP # Executing group from file /etc/freeradius/sites-enabled/default +- entering group authenticate {...} [eap] Request found, released from the list [eap] EAP/peap [eap] processing type peap [peap] processing EAP-TLS [peap] Received TLS ACK [peap] ACK handshake fragment handler [peap] eaptls_verify returned 1 [peap] eaptls_process returned 13 [peap] EAPTLS_HANDLED ++[eap] returns handled Sending Access-Challenge of id 3 to 10.1.1.211 port 33453 EAP-Message = 0x016b03fc194000f4d32f255cc0c348300d06092a864886f70d0101050500308193310b3009060355040613024652310f300d060355040813065261646975733112301006035504071309536f6d65776865726531153013060355040a130c4578616d706c6520496e632e3120301e06092a864886f70d010901161161646d696e406578616d706c652e636f6d312630240603550403131d4578616d706c6520436572746966696361746520417574686f72697479301e170d3133303730383139333834305a170d3134303730383139333834305a308193310b3009060355040613024652310f300d060355040813065261646975733112301006035504 EAP-Message = 0x071309536f6d65776865726531153013060355040a130c4578616d706c6520496e632e3120301e06092a864886f70d010901161161646d696e406578616d706c652e636f6d312630240603550403131d4578616d706c6520436572746966696361746520417574686f7269747930820122300d06092a864886f70d01010105000382010f003082010a0282010100eb807f1fd3cdb98ff7b2f777a95978d266049d6ab32321fd58a94fb0d52aa634ba90594211a99af6ffe7113bc15cf5fdbdc8bdf2c8ecd8d078fae7408a76f3816e725527c3606804cea0ced3ec70bbefd219ca812106414220c3134a998dadcf0b5529c14465df968b674ec4fd0a9a EAP-Message = 0x35a2d186c881b8fae5a72795edfee73b2a9f1674de1016c4f6fb26f658301c9bebeacc53a727313f787f03e0b98bb50925e08c71d0f70f0bed575758cde31c77cf34867f59fb04e042e442f278b6c44cdf991ed6a295799e923cb0c97b1097f9814b06b4c5c31d945c8b983837307777d343360fa5118fec602a3579cb0056737a2b850a3fa7d05baa6ca2b408d04a1a7b0203010001a381fb3081f8301d0603551d0e04160414d8240032936cdc231d88499a7eed6216431c60263081c80603551d230481c03081bd8014d8240032936cdc231d88499a7eed6216431c6026a18199a48196308193310b3009060355040613024652310f300d06035504 EAP-Message = 0x0813065261646975733112301006035504071309536f6d65776865726531153013060355040a130c4578616d706c6520496e632e3120301e06092a864886f70d010901161161646d696e406578616d706c652e636f6d312630240603550403131d4578616d706c6520436572746966696361746520417574686f72697479820900f4d32f255cc0c348300c0603551d13040530030101ff300d06092a864886f70d010105050003820101000b45b9ef3e89cff871a8afa66317465b27b832e27e470d88f657f81e6158a709600426240e2a8de1b2416644959f1dbe63e3f1c09a850213fad8c569191b22e178b5c08f9a4398ab81375f9e812186e00753 EAP-Message = 0xd2ca375f069b9b31 Message-Authenticator = 0x00000000000000000000000000000000 State = 0x69c94c076aa255bcce1871e76dc2b0ab Finished request 3. Going to the next request Waking up in 4.9 seconds. rad_recv: Access-Request packet from host 10.1.1.211 port 33453, id=4, length=172 User-Name = "evergreen" NAS-IP-Address = 192.168.1.1 NAS-Port = 0 Called-Station-Id = "28-C6-8E-A4-2B-6A:plum-radius" Calling-Station-Id = "00-1F-5B-C1-AB-24" Framed-MTU = 1400 NAS-Port-Type = Wireless-802.11 Connect-Info = "CONNECT 0Mbps 802.11b" EAP-Message = 0x026b00061900 State = 0x69c94c076aa255bcce1871e76dc2b0ab Message-Authenticator = 0x4b1123ca56e570a236770a0e4a6997bc # Executing section authorize from file /etc/freeradius/sites-enabled/default +- entering group authorize {...} ++[preprocess] returns ok ++[digest] returns noop [suffix] No '@' in User-Name = "evergreen", looking up realm NULL [suffix] No such realm "NULL" ++[suffix] returns noop [eap] EAP packet type response id 107 length 6 [eap] Continuing tunnel setup. ++[eap] returns ok Found Auth-Type = EAP # Executing group from file /etc/freeradius/sites-enabled/default +- entering group authenticate {...} [eap] Request found, released from the list [eap] EAP/peap [eap] processing type peap [peap] processing EAP-TLS [peap] Received TLS ACK [peap] ACK handshake fragment handler [peap] eaptls_verify returned 1 [peap] eaptls_process returned 13 [peap] EAPTLS_HANDLED ++[eap] returns handled Sending Access-Challenge of id 4 to 10.1.1.211 port 33453 EAP-Message = 0x016c00b519002782cf9825b84ae3e45b9cbc6882857730a54c1b56ae56c0395d529f545d8b605b210dbfd0985cde611bb8c55142f3113d2b5b6017ff5d972a579d0426036134e10aafdc036195223a3c16d25fe9d181b1007ccf2dd7f8588d0436fb1123222754e59d4f7ac6daa05e17d2407d8426181d55b23f3c8b4aaf178ae754b80273464aa76fa3f814f3f3492ef248d0a83a17a763da5cb5d022fcb0e7c4cf54c04580a222ad3eea0116030100040e000000 Message-Authenticator = 0x00000000000000000000000000000000 State = 0x69c94c076da555bcce1871e76dc2b0ab Finished request 4. Going to the next request Waking up in 4.8 seconds. rad_recv: Access-Request packet from host 10.1.1.211 port 33453, id=5, length=504 User-Name = "evergreen" NAS-IP-Address = 192.168.1.1 NAS-Port = 0 Called-Station-Id = "28-C6-8E-A4-2B-6A:plum-radius" Calling-Station-Id = "00-1F-5B-C1-AB-24" Framed-MTU = 1400 NAS-Port-Type = Wireless-802.11 Connect-Info = "CONNECT 0Mbps 802.11b" EAP-Message = 0x026c0150198000000146160301010610000102010015edecda11637c76a75cf8651befdb7c0ad4c103ba419268b9b05f75cd1fe5f619764730df296cf60f3c02b772784fa478f07a5179674a915a235a75a90b1a5dea6b91956a28edabdf60a606794b25c0beb2091c17137818797ede68fabd8095e33c09746422421946226662491eef71f6e5830f6db60d666d8631b73cf4d34e96315c3955683d99d13d0e7023a94ee6f431e457160318960ed9782552bb91343f95c9608e261a6b33885fafca6cd321e6c31993927c2cf6449231ae6230751d3a014a2f978b600c7ae3a741cd209513cea217eb04cc6a8450b8b5fc1a10d025abed79af76d033b5 EAP-Message = 0x305a4f72a2c7fec8dd7968481d986b93d8ac4e26fbc21faa1403010001011603010030dc79187ba36a7e7c7f19a820fec4a0dbcf7821c9bbdcf807f844798355cb14a4b54c9d199ca07d67dd6297460c386f59 State = 0x69c94c076da555bcce1871e76dc2b0ab Message-Authenticator = 0xae31c090b6c86a7f9dac2590204563bb # Executing section authorize from file /etc/freeradius/sites-enabled/default +- entering group authorize {...} ++[preprocess] returns ok ++[digest] returns noop [suffix] No '@' in User-Name = "evergreen", looking up realm NULL [suffix] No such realm "NULL" ++[suffix] returns noop [eap] EAP packet type response id 108 length 253 [eap] Continuing tunnel setup. ++[eap] returns ok Found Auth-Type = EAP # Executing group from file /etc/freeradius/sites-enabled/default +- entering group authenticate {...} [eap] Request found, released from the list [eap] EAP/peap [eap] processing type peap [peap] processing EAP-TLS TLS Length 326 [peap] Length Included [peap] eaptls_verify returned 11 [peap] <<< TLS 1.0 Handshake [length 0106], ClientKeyExchange [peap] TLS_accept: SSLv3 read client key exchange A [peap] <<< TLS 1.0 ChangeCipherSpec [length 0001] [peap] <<< TLS 1.0 Handshake [length 0010], Finished [peap] TLS_accept: SSLv3 read finished A [peap] >>> TLS 1.0 ChangeCipherSpec [length 0001] [peap] TLS_accept: SSLv3 write change cipher spec A [peap] >>> TLS 1.0 Handshake [length 0010], Finished [peap] TLS_accept: SSLv3 write finished A [peap] TLS_accept: SSLv3 flush data [peap] (other): SSL negotiation finished successfully SSL Connection Established [peap] eaptls_process returned 13 [peap] EAPTLS_HANDLED ++[eap] returns handled Sending Access-Challenge of id 5 to 10.1.1.211 port 33453 EAP-Message = 0x016d0041190014030100010116030100302cde7801b8ce9bde6de2c88b3fd03e7ccae3de52a433124d72ebf6f626577339b83f032365cbc05c65a4a482f6d03203 Message-Authenticator = 0x00000000000000000000000000000000 State = 0x69c94c076ca455bcce1871e76dc2b0ab Finished request 5. Going to the next request Waking up in 4.8 seconds. rad_recv: Access-Request packet from host 10.1.1.211 port 33453, id=6, length=172 User-Name = "evergreen" NAS-IP-Address = 192.168.1.1 NAS-Port = 0 Called-Station-Id = "28-C6-8E-A4-2B-6A:plum-radius" Calling-Station-Id = "00-1F-5B-C1-AB-24" Framed-MTU = 1400 NAS-Port-Type = Wireless-802.11 Connect-Info = "CONNECT 0Mbps 802.11b" EAP-Message = 0x026d00061900 State = 0x69c94c076ca455bcce1871e76dc2b0ab Message-Authenticator = 0x9c9d33eb49aa9adcda578fc0c1523e99 # Executing section authorize from file /etc/freeradius/sites-enabled/default +- entering group authorize {...} ++[preprocess] returns ok ++[digest] returns noop [suffix] No '@' in User-Name = "evergreen", looking up realm NULL [suffix] No such realm "NULL" ++[suffix] returns noop [eap] EAP packet type response id 109 length 6 [eap] Continuing tunnel setup. ++[eap] returns ok Found Auth-Type = EAP # Executing group from file /etc/freeradius/sites-enabled/default +- entering group authenticate {...} [eap] Request found, released from the list [eap] EAP/peap [eap] processing type peap [peap] processing EAP-TLS [peap] Received TLS ACK [peap] ACK handshake is finished [peap] eaptls_verify returned 3 [peap] eaptls_process returned 3 [peap] EAPTLS_SUCCESS [peap] Session established. Decoding tunneled attributes. [peap] Peap state TUNNEL ESTABLISHED ++[eap] returns handled Sending Access-Challenge of id 6 to 10.1.1.211 port 33453 EAP-Message = 0x016e002b19001703010020fba600953b9a05c04fc7253520b32efdf9dbc092f07025084c6a1ce4cd0a18a3 Message-Authenticator = 0x00000000000000000000000000000000 State = 0x69c94c076fa755bcce1871e76dc2b0ab Finished request 6. Going to the next request Waking up in 4.7 seconds. rad_recv: Access-Request packet from host 10.1.1.211 port 33453, id=7, length=209 User-Name = "evergreen" NAS-IP-Address = 192.168.1.1 NAS-Port = 0 Called-Station-Id = "28-C6-8E-A4-2B-6A:plum-radius" Calling-Station-Id = "00-1F-5B-C1-AB-24" Framed-MTU = 1400 NAS-Port-Type = Wireless-802.11 Connect-Info = "CONNECT 0Mbps 802.11b" EAP-Message = 0x026e002b19001703010020fd371875e1623085de84678a0f0243191d8bc074eaf64ea2fd397627cc9c7b9c State = 0x69c94c076fa755bcce1871e76dc2b0ab Message-Authenticator = 0xd5c82d58aff48858519121ec7e457bc2 # Executing section authorize from file /etc/freeradius/sites-enabled/default +- entering group authorize {...} ++[preprocess] returns ok ++[digest] returns noop [suffix] No '@' in User-Name = "evergreen", looking up realm NULL [suffix] No such realm "NULL" ++[suffix] returns noop [eap] EAP packet type response id 110 length 43 [eap] Continuing tunnel setup. ++[eap] returns ok Found Auth-Type = EAP # Executing group from file /etc/freeradius/sites-enabled/default +- entering group authenticate {...} [eap] Request found, released from the list [eap] EAP/peap [eap] processing type peap [peap] processing EAP-TLS [peap] eaptls_verify returned 7 [peap] Done initial handshake [peap] eaptls_process returned 7 [peap] EAPTLS_OK [peap] Session established. Decoding tunneled attributes. [peap] Peap state WAITING FOR INNER IDENTITY [peap] Identity - evergreen [peap] Got inner identity 'evergreen' [peap] Setting default EAP type for tunneled EAP session. [peap] Got tunneled request EAP-Message = 0x026e000e0165766572677265656e server { PEAP: Setting User-Name to evergreen Sending tunneled request EAP-Message = 0x026e000e0165766572677265656e FreeRADIUS-Proxied-To = 127.0.0.1 User-Name = "evergreen" server inner-tunnel { # Executing section authorize from file /etc/freeradius/sites-enabled/inner-tunnel +- entering group authorize {...} ++[chap] returns noop ++[mschap] returns noop ++[unix] returns notfound [suffix] No '@' in User-Name = "evergreen", looking up realm NULL [suffix] No such realm "NULL" ++[suffix] returns noop ++[control] returns noop [eap] EAP packet type response id 110 length 14 [eap] No EAP Start, assuming it's an on-going EAP conversation ++[eap] returns updated ++[files] returns noop ++[expiration] returns noop ++[logintime] returns noop ++[pap] returns noop Found Auth-Type = EAP # Executing group from file /etc/freeradius/sites-enabled/inner-tunnel +- entering group authenticate {...} [eap] EAP Identity [eap] processing type mschapv2 rlm_eap_mschapv2: Issuing Challenge ++[eap] returns handled } # server inner-tunnel [peap] Got tunneled reply code 11 EAP-Message = 0x016f00231a016f001e10e43bf0a04015945c42014752026cf9c565766572677265656e Message-Authenticator = 0x00000000000000000000000000000000 State = 0xf607cd32f668d72c5e7d57f2dadef3ab [peap] Got tunneled reply RADIUS code 11 EAP-Message = 0x016f00231a016f001e10e43bf0a04015945c42014752026cf9c565766572677265656e Message-Authenticator = 0x00000000000000000000000000000000 State = 0xf607cd32f668d72c5e7d57f2dadef3ab [peap] Got tunneled Access-Challenge ++[eap] returns handled Sending Access-Challenge of id 7 to 10.1.1.211 port 33453 EAP-Message = 0x016f004b19001703010040e08fe2f2e69ef3d7b57a4486e892ae8e2a1487ce00191ae7a07089c999ed01fc0f3b14823cbe2b6f710b1f83298d72eb6be6b31f7786d040d28ccb97dba25811 Message-Authenticator = 0x00000000000000000000000000000000 State = 0x69c94c076ea655bcce1871e76dc2b0ab Finished request 7. Going to the next request Waking up in 4.7 seconds. rad_recv: Access-Request packet from host 10.1.1.211 port 33453, id=8, length=273 User-Name = "evergreen" NAS-IP-Address = 192.168.1.1 NAS-Port = 0 Called-Station-Id = "28-C6-8E-A4-2B-6A:plum-radius" Calling-Station-Id = "00-1F-5B-C1-AB-24" Framed-MTU = 1400 NAS-Port-Type = Wireless-802.11 Connect-Info = "CONNECT 0Mbps 802.11b" EAP-Message = 0x026f006b19001703010060d6530b3fa7a8907b372d39474c2d5ca18fbb8acc94afefd3511eba21eec0e47f868b46e27070c6c7dc3e91c1f70252eefef6a4c86bde41f295a007a12ff8833d0f27eada3018fa5a9c3bf259ecdf9f224bbcd874cddfeb4d030b07862c1cc174 State = 0x69c94c076ea655bcce1871e76dc2b0ab Message-Authenticator = 0xf3d429331a5a6497819d8334b814b39b # Executing section authorize from file /etc/freeradius/sites-enabled/default +- entering group authorize {...} ++[preprocess] returns ok ++[digest] returns noop [suffix] No '@' in User-Name = "evergreen", looking up realm NULL [suffix] No such realm "NULL" ++[suffix] returns noop [eap] EAP packet type response id 111 length 107 [eap] Continuing tunnel setup. ++[eap] returns ok Found Auth-Type = EAP # Executing group from file /etc/freeradius/sites-enabled/default +- entering group authenticate {...} [eap] Request found, released from the list [eap] EAP/peap [eap] processing type peap [peap] processing EAP-TLS [peap] eaptls_verify returned 7 [peap] Done initial handshake [peap] eaptls_process returned 7 [peap] EAPTLS_OK [peap] Session established. Decoding tunneled attributes. [peap] Peap state phase2 [peap] EAP type mschapv2 [peap] Got tunneled request EAP-Message = 0x026f00441a026f003f31e75934b1a310df8275477e6d9f3dacff000000000000000089d9adc5a140eb765b65e4c4157f6245433c6006fcc0fc790065766572677265656e server { PEAP: Setting User-Name to evergreen Sending tunneled request EAP-Message = 0x026f00441a026f003f31e75934b1a310df8275477e6d9f3dacff000000000000000089d9adc5a140eb765b65e4c4157f6245433c6006fcc0fc790065766572677265656e FreeRADIUS-Proxied-To = 127.0.0.1 User-Name = "evergreen" State = 0xf607cd32f668d72c5e7d57f2dadef3ab server inner-tunnel { # Executing section authorize from file /etc/freeradius/sites-enabled/inner-tunnel +- entering group authorize {...} ++[chap] returns noop ++[mschap] returns noop ++[unix] returns notfound [suffix] No '@' in User-Name = "evergreen", looking up realm NULL [suffix] No such realm "NULL" ++[suffix] returns noop ++[control] returns noop [eap] EAP packet type response id 111 length 68 [eap] No EAP Start, assuming it's an on-going EAP conversation ++[eap] returns updated ++[files] returns noop ++[expiration] returns noop ++[logintime] returns noop ++[pap] returns noop Found Auth-Type = EAP # Executing group from file /etc/freeradius/sites-enabled/inner-tunnel +- entering group authenticate {...} [eap] Request found, released from the list [eap] EAP/mschapv2 [eap] processing type mschapv2 [mschapv2] # Executing group from file /etc/freeradius/sites-enabled/inner-tunnel [mschapv2] +- entering group MS-CHAP {...} [mschap] No Cleartext-Password configured. Cannot create LM-Password. [mschap] No Cleartext-Password configured. Cannot create NT-Password. [mschap] Creating challenge hash with username: evergreen [mschap] Told to do MS-CHAPv2 for evergreen with NT-Password [mschap] FAILED: No NT/LM-Password. Cannot perform authentication. [mschap] FAILED: MS-CHAP2-Response is incorrect ++[mschap] returns reject [eap] Freeing handler ++[eap] returns reject Failed to authenticate the user. } # server inner-tunnel [peap] Got tunneled reply code 3 MS-CHAP-Error = "oE=691 R=1" EAP-Message = 0x046f0004 Message-Authenticator = 0x00000000000000000000000000000000 [peap] Got tunneled reply RADIUS code 3 MS-CHAP-Error = "oE=691 R=1" EAP-Message = 0x046f0004 Message-Authenticator = 0x00000000000000000000000000000000 [peap] Tunneled authentication was rejected. [peap] FAILURE ++[eap] returns handled Sending Access-Challenge of id 8 to 10.1.1.211 port 33453 EAP-Message = 0x0170002b190017030100200bc75cd64052987dd467a298fba44adbd06f8bd75ad5316c99ad90bbe9dc5bf4 Message-Authenticator = 0x00000000000000000000000000000000 State = 0x69c94c0761b955bcce1871e76dc2b0ab Finished request 8. Going to the next request Waking up in 4.6 seconds. rad_recv: Access-Request packet from host 10.1.1.211 port 33453, id=9, length=209 User-Name = "evergreen" NAS-IP-Address = 192.168.1.1 NAS-Port = 0 Called-Station-Id = "28-C6-8E-A4-2B-6A:plum-radius" Calling-Station-Id = "00-1F-5B-C1-AB-24" Framed-MTU = 1400 NAS-Port-Type = Wireless-802.11 Connect-Info = "CONNECT 0Mbps 802.11b" EAP-Message = 0x0270002b19001703010020e0429a82a2a578008487fe1bb1b404b8560e3ee180d48e1a058977a7106a3e88 State = 0x69c94c0761b955bcce1871e76dc2b0ab Message-Authenticator = 0x959e1382a37ae3ceefe6fcd73e1640fa # Executing section authorize from file /etc/freeradius/sites-enabled/default +- entering group authorize {...} ++[preprocess] returns ok ++[digest] returns noop [suffix] No '@' in User-Name = "evergreen", looking up realm NULL [suffix] No such realm "NULL" ++[suffix] returns noop [eap] EAP packet type response id 112 length 43 [eap] Continuing tunnel setup. ++[eap] returns ok Found Auth-Type = EAP # Executing group from file /etc/freeradius/sites-enabled/default +- entering group authenticate {...} [eap] Request found, released from the list [eap] EAP/peap [eap] processing type peap [peap] processing EAP-TLS [peap] eaptls_verify returned 7 [peap] Done initial handshake [peap] eaptls_process returned 7 [peap] EAPTLS_OK [peap] Session established. Decoding tunneled attributes. [peap] Peap state send tlv failure [peap] Received EAP-TLV response. [peap] The users session was previously rejected: returning reject (again.) [peap] *** This means you need to read the PREVIOUS messages in the debug output [peap] *** to find out the reason why the user was rejected. [peap] *** Look for "reject" or "fail". Those earlier messages will tell you. [peap] *** what went wrong, and how to fix the problem. [eap] Handler failed in EAP/peap [eap] Failed in EAP select ++[eap] returns invalid Failed to authenticate the user. Using Post-Auth-Type Reject # Executing group from file /etc/freeradius/sites-enabled/default +- entering group REJECT {...} [attr_filter.access_reject] expand: %{User-Name} -> evergreen attr_filter: Matched entry DEFAULT at line 11 ++[attr_filter.access_reject] returns updated Delaying reject of request 9 for 1 seconds Going to the next request Waking up in 0.9 seconds. Sending delayed reject for request 9 Sending Access-Reject of id 9 to 10.1.1.211 port 33453 EAP-Message = 0x04700004 Message-Authenticator = 0x00000000000000000000000000000000 Waking up in 3.6 seconds. Cleaning up request 0 ID 0 with timestamp +7 Cleaning up request 1 ID 1 with timestamp +7 Cleaning up request 2 ID 2 with timestamp +7 Cleaning up request 3 ID 3 with timestamp +7 Cleaning up request 4 ID 4 with timestamp +7 Cleaning up request 5 ID 5 with timestamp +7 Waking up in 0.1 seconds. Cleaning up request 6 ID 6 with timestamp +7 Cleaning up request 7 ID 7 with timestamp +7 Cleaning up request 8 ID 8 with timestamp +7 Waking up in 1.0 seconds. Cleaning up request 9 ID 9 with timestamp +7 Ready to process requests. [With proxy.conf enabled] FreeRADIUS Version 2.1.10, for host x86_64-pc-linux-gnu, built on Sep 24 2012 at 17:58:57 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/freeradius/radiusd.conf including configuration file /etc/freeradius/proxy.conf including configuration file /etc/freeradius/clients.conf including files in directory /etc/freeradius/modules/ including configuration file /etc/freeradius/modules/sradutmp including configuration file /etc/freeradius/modules/radutmp including configuration file /etc/freeradius/modules/expr including configuration file /etc/freeradius/modules/expiration including configuration file /etc/freeradius/modules/counter including configuration file /etc/freeradius/modules/mschap including configuration file /etc/freeradius/modules/mac2ip including configuration file /etc/freeradius/modules/pap including configuration file /etc/freeradius/modules/acct_unique including configuration file /etc/freeradius/modules/etc_group including configuration file /etc/freeradius/modules/files including configuration file /etc/freeradius/modules/inner-eap including configuration file /etc/freeradius/modules/passwd including configuration file /etc/freeradius/modules/detail including configuration file /etc/freeradius/modules/echo including configuration file /etc/freeradius/modules/digest including configuration file /etc/freeradius/modules/realm including configuration file /etc/freeradius/modules/ldap including configuration file /etc/freeradius/modules/mac2vlan including configuration file /etc/freeradius/modules/linelog including configuration file /etc/freeradius/modules/unix including configuration file /etc/freeradius/modules/logintime including configuration file /etc/freeradius/modules/pam including configuration file /etc/freeradius/modules/ippool including configuration file /etc/freeradius/modules/wimax including configuration file /etc/freeradius/modules/exec including configuration file /etc/freeradius/modules/krb5 including configuration file /etc/freeradius/modules/detail.example.com including configuration file /etc/freeradius/modules/always including configuration file /etc/freeradius/modules/dynamic_clients including configuration file /etc/freeradius/modules/preprocess including configuration file /etc/freeradius/modules/policy including configuration file /etc/freeradius/modules/perl including configuration file /etc/freeradius/modules/attr_filter including configuration file /etc/freeradius/modules/detail.log including configuration file /etc/freeradius/modules/checkval including configuration file /etc/freeradius/modules/opendirectory including configuration file /etc/freeradius/modules/attr_rewrite including configuration file /etc/freeradius/modules/smbpasswd including configuration file /etc/freeradius/modules/otp including configuration file /etc/freeradius/modules/sql_log including configuration file /etc/freeradius/modules/smsotp including configuration file /etc/freeradius/modules/sqlcounter_expire_on_login including configuration file /etc/freeradius/modules/ntlm_auth including configuration file /etc/freeradius/modules/cui including configuration file /etc/freeradius/modules/chap including configuration file /etc/freeradius/eap.conf including configuration file /etc/freeradius/policy.conf including files in directory /etc/freeradius/sites-enabled/ including configuration file /etc/freeradius/sites-enabled/default including configuration file /etc/freeradius/sites-enabled/inner-tunnel main { user = "freerad" group = "freerad" allow_core_dumps = no } including dictionary file /etc/freeradius/dictionary main { prefix = "/usr" localstatedir = "/var" logdir = "/var/log/freeradius" libdir = "/usr/lib/freeradius" radacctdir = "/var/log/freeradius/radacct" hostname_lookups = no max_request_time = 30 cleanup_delay = 5 max_requests = 1024 pidfile = "/var/run/plumgrid-radius1/plumgrid-radius1.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 = "d1sc0verplum" 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 irt = 2 mrt = 16 mrc = 5 mrd = 30 } home_server_pool my_auth_failover { type = fail-over home_server = localhost } realm PLUMGRID.COM { auth_pool = my_auth_failover } realm LOCAL { } realm NULL { authhost = localhost:1600 accthost = localhost:1601 secret = d1sc0verplum } radiusd: #### Loading Clients #### client localhost { ipaddr = 127.0.0.1 require_message_authenticator = no secret = "d1sc0verplum" nastype = "other" } client 10.1.1.211 { ipaddr = 10.1.1.211 require_message_authenticator = no secret = "d1sc0verplum" shortname = "wifi" nastype = "other" } radiusd: #### Instantiating modules #### instantiate { Module: Linked to module rlm_exec Module: Instantiating module "exec" from file /etc/freeradius/modules/exec exec { wait = no input_pairs = "request" shell_escape = yes } Module: Linked to module rlm_expr Module: Instantiating module "expr" from file /etc/freeradius/modules/expr Module: Linked to module rlm_expiration Module: Instantiating module "expiration" from file /etc/freeradius/modules/expiration expiration { reply-message = "Password Has Expired " } Module: Linked to module rlm_logintime Module: Instantiating module "logintime" from file /etc/freeradius/modules/logintime logintime { reply-message = "You are calling outside your allowed timespan " minimum-timeout = 60 } } radiusd: #### Loading Virtual Servers #### server inner-tunnel { # from file /etc/freeradius/sites-enabled/inner-tunnel modules { Module: Checking authenticate {...} for more modules to load Module: Linked to module rlm_pap Module: Instantiating module "pap" from file /etc/freeradius/modules/pap pap { encryption_scheme = "auto" auto_header = yes } Module: Linked to module rlm_chap Module: Instantiating module "chap" from file /etc/freeradius/modules/chap Module: Linked to module rlm_mschap Module: Instantiating module "mschap" from file /etc/freeradius/modules/mschap mschap { use_mppe = yes require_encryption = no require_strong = no with_ntdomain_hack = no } Module: Linked to module rlm_pam Module: Instantiating module "pam" from file /etc/freeradius/modules/pam pam { pam_auth = "radiusd" } Module: Linked to module rlm_unix Module: Instantiating module "unix" from file /etc/freeradius/modules/unix unix { radwtmp = "/var/log/freeradius/radwtmp" } Module: Linked to module rlm_eap Module: Instantiating module "eap" from file /etc/freeradius/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 = "/etc/freeradius/certs" pem_file_type = yes private_key_file = "/etc/freeradius/certs/server.key" certificate_file = "/etc/freeradius/certs/server.pem" CA_file = "/etc/freeradius/certs/ca.pem" private_key_password = "whatever" dh_file = "/etc/freeradius/certs/dh" random_file = "/dev/urandom" fragment_size = 1024 include_length = yes check_crl = no cipher_list = "DEFAULT" make_cert_command = "/etc/freeradius/certs/bootstrap" cache { enable = no lifetime = 24 max_entries = 255 } verify { } } 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" } Module: Linked to sub-module rlm_eap_mschapv2 Module: Instantiating eap-mschapv2 mschapv2 { with_ntdomain_hack = no } Module: Checking authorize {...} for more modules to load Module: Linked to module rlm_realm Module: Instantiating module "suffix" from file /etc/freeradius/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/freeradius/modules/files files { usersfile = "/etc/freeradius/users" acctusersfile = "/etc/freeradius/acct_users" preproxy_usersfile = "/etc/freeradius/preproxy_users" compat = "no" } Module: Checking session {...} for more modules to load Module: Linked to module rlm_radutmp Module: Instantiating module "radutmp" from file /etc/freeradius/modules/radutmp radutmp { filename = "/var/log/freeradius/radutmp" username = "%{User-Name}" case_sensitive = yes check_with_nas = yes perm = 384 callerid = yes } Module: Checking post-proxy {...} for more modules to load Module: Checking post-auth {...} for more modules to load Module: Linked to module rlm_attr_filter Module: Instantiating module "attr_filter.access_reject" from file /etc/freeradius/modules/attr_filter attr_filter attr_filter.access_reject { attrsfile = "/etc/freeradius/attrs.access_reject" key = "%{User-Name}" } } # modules } # server server { # from file /etc/freeradius/radiusd.conf modules { Module: Checking authenticate {...} for more modules to load Module: Linked to module rlm_digest Module: Instantiating module "digest" from file /etc/freeradius/modules/digest Module: Checking authorize {...} for more modules to load Module: Linked to module rlm_preprocess Module: Instantiating module "preprocess" from file /etc/freeradius/modules/preprocess preprocess { huntgroups = "/etc/freeradius/huntgroups" hints = "/etc/freeradius/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: Checking preacct {...} for more modules to load Module: Linked to module rlm_acct_unique Module: Instantiating module "acct_unique" from file /etc/freeradius/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/freeradius/modules/detail detail { detailfile = "/var/log/freeradius/radacct/%{Client-IP-Address}/detail-%Y%m%d" header = "%t" detailperm = 384 dirperm = 493 locking = no log_packet_header = no } Module: Instantiating module "attr_filter.accounting_response" from file /etc/freeradius/modules/attr_filter attr_filter attr_filter.accounting_response { attrsfile = "/etc/freeradius/attrs.accounting_response" key = "%{User-Name}" } Module: Checking session {...} for more modules to load Module: Checking post-proxy {...} for more modules to load Module: Checking post-auth {...} for more modules to load } # modules } # server radiusd: #### Opening IP addresses and Ports #### listen { type = "auth" ipaddr = * port = 0 } listen { type = "acct" ipaddr = * port = 0 } listen { type = "auth" ipaddr = 127.0.0.1 port = 18120 } Listening on authentication address * port 1812 Listening on accounting address * port 1813 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.1.1.211 port 33453, id=15, length=162 User-Name = "evergreen" NAS-IP-Address = 192.168.1.1 NAS-Port = 0 Called-Station-Id = "28-C6-8E-A4-2B-6A:plum-radius" Calling-Station-Id = "00-1F-5B-C1-AB-24" Framed-MTU = 1400 NAS-Port-Type = Wireless-802.11 Connect-Info = "CONNECT 0Mbps 802.11b" EAP-Message = 0x02e7000e0165766572677265656e Message-Authenticator = 0x1c9b53af7363480742ec3c5cf3346a62 # Executing section authorize from file /etc/freeradius/sites-enabled/default +- entering group authorize {...} ++[preprocess] returns ok ++[digest] returns noop [suffix] No '@' in User-Name = "evergreen", looking up realm NULL [suffix] Found realm "NULL" [suffix] Adding Stripped-User-Name = "evergreen" [suffix] Adding Realm = "NULL" [suffix] Proxying request from user evergreen to realm NULL [suffix] Preparing to proxy authentication request to realm "NULL" ++[suffix] returns updated [eap] Request is supposed to be proxied to Realm NULL. Not doing EAP. ++[eap] returns noop ++[unix] returns notfound ++[files] returns noop ++[expiration] returns noop ++[logintime] returns noop ++[pap] returns noop WARNING: Empty pre-proxy section. Using default return values. Sending Access-Request of id 85 to 127.0.0.1 port 1600 User-Name = "evergreen" NAS-IP-Address = 192.168.1.1 NAS-Port = 0 Called-Station-Id = "28-C6-8E-A4-2B-6A:plum-radius" Calling-Station-Id = "00-1F-5B-C1-AB-24" Framed-MTU = 1400 NAS-Port-Type = Wireless-802.11 Connect-Info = "CONNECT 0Mbps 802.11b" EAP-Message = 0x02e7000e0165766572677265656e Message-Authenticator = 0x00000000000000000000000000000000 Proxy-State = 0x3135 Proxying request 0 to home server 127.0.0.1 port 1600 Sending Access-Request of id 85 to 127.0.0.1 port 1600 User-Name = "evergreen" NAS-IP-Address = 192.168.1.1 NAS-Port = 0 Called-Station-Id = "28-C6-8E-A4-2B-6A:plum-radius" Calling-Station-Id = "00-1F-5B-C1-AB-24" Framed-MTU = 1400 NAS-Port-Type = Wireless-802.11 Connect-Info = "CONNECT 0Mbps 802.11b" EAP-Message = 0x02e7000e0165766572677265656e Message-Authenticator = 0x00000000000000000000000000000000 Proxy-State = 0x3135 Going to the next request Waking up in 0.9 seconds. Waking up in 13.0 seconds. rad_recv: Access-Request packet from host 10.1.1.211 port 33453, id=15, length=162 Sending duplicate proxied request to home server 127.0.0.1 port 1600 - ID: 85 Sending Access-Request of id 85 to 127.0.0.1 port 1600 User-Name = "evergreen" NAS-IP-Address = 192.168.1.1 NAS-Port = 0 Called-Station-Id = "28-C6-8E-A4-2B-6A:plum-radius" Calling-Station-Id = "00-1F-5B-C1-AB-24" Framed-MTU = 1400 NAS-Port-Type = Wireless-802.11 Connect-Info = "CONNECT 0Mbps 802.11b" EAP-Message = 0x02e7000e0165766572677265656e Message-Authenticator = 0x00000000000000000000000000000000 Proxy-State = 0x3135 Waking up in 11.0 seconds. rad_recv: Access-Request packet from host 10.1.1.211 port 33453, id=15, length=162 Sending duplicate proxied request to home server 127.0.0.1 port 1600 - ID: 85 Sending Access-Request of id 85 to 127.0.0.1 port 1600 User-Name = "evergreen" NAS-IP-Address = 192.168.1.1 NAS-Port = 0 Called-Station-Id = "28-C6-8E-A4-2B-6A:plum-radius" Calling-Station-Id = "00-1F-5B-C1-AB-24" Framed-MTU = 1400 NAS-Port-Type = Wireless-802.11 Connect-Info = "CONNECT 0Mbps 802.11b" EAP-Message = 0x02e7000e0165766572677265656e Message-Authenticator = 0x00000000000000000000000000000000 Proxy-State = 0x3135 Waking up in 4.9 seconds. Cleaning up request 0 ID 15 with timestamp +4 Marking home server 127.0.0.1 port 1600 as zombie (it looks like it is dead). Ready to process requests. rad_recv: Access-Request packet from host 10.1.1.211 port 33453, id=15, length=162 User-Name = "evergreen" NAS-IP-Address = 192.168.1.1 NAS-Port = 0 Called-Station-Id = "28-C6-8E-A4-2B-6A:plum-radius" Calling-Station-Id = "00-1F-5B-C1-AB-24" Framed-MTU = 1400 NAS-Port-Type = Wireless-802.11 Connect-Info = "CONNECT 0Mbps 802.11b" EAP-Message = 0x02e7000e0165766572677265656e Message-Authenticator = 0x1c9b53af7363480742ec3c5cf3346a62 # Executing section authorize from file /etc/freeradius/sites-enabled/default +- entering group authorize {...} ++[preprocess] returns ok ++[digest] returns noop [suffix] No '@' in User-Name = "evergreen", looking up realm NULL [suffix] Found realm "NULL" [suffix] Adding Stripped-User-Name = "evergreen" [suffix] Adding Realm = "NULL" [suffix] Proxying request from user evergreen to realm NULL [suffix] Preparing to proxy authentication request to realm "NULL" ++[suffix] returns updated [eap] Request is supposed to be proxied to Realm NULL. Not doing EAP. ++[eap] returns noop ++[unix] returns notfound ++[files] returns noop ++[expiration] returns noop ++[logintime] returns noop ++[pap] returns noop WARNING: Empty pre-proxy section. Using default return values. Sending Access-Request of id 26 to 127.0.0.1 port 1600 User-Name = "evergreen" NAS-IP-Address = 192.168.1.1 NAS-Port = 0 Called-Station-Id = "28-C6-8E-A4-2B-6A:plum-radius" Calling-Station-Id = "00-1F-5B-C1-AB-24" Framed-MTU = 1400 NAS-Port-Type = Wireless-802.11 Connect-Info = "CONNECT 0Mbps 802.11b" EAP-Message = 0x02e7000e0165766572677265656e Message-Authenticator = 0x00000000000000000000000000000000 Proxy-State = 0x3135 Proxying request 1 to home server 127.0.0.1 port 1600 Sending Access-Request of id 26 to 127.0.0.1 port 1600 User-Name = "evergreen" NAS-IP-Address = 192.168.1.1 NAS-Port = 0 Called-Station-Id = "28-C6-8E-A4-2B-6A:plum-radius" Calling-Station-Id = "00-1F-5B-C1-AB-24" Framed-MTU = 1400 NAS-Port-Type = Wireless-802.11 Connect-Info = "CONNECT 0Mbps 802.11b" EAP-Message = 0x02e7000e0165766572677265656e Message-Authenticator = 0x00000000000000000000000000000000 Proxy-State = 0x3135 Going to the next request Waking up in 0.9 seconds. Waking up in 13.0 seconds.
Julian Macassey wrote:
It does when it is all in the 'users' file, in fact, when I put my username and password in the users file, my laptop and smartphone authenticate and connect to the WiFi.
That's good.
But, I want to get that info from /etc/password. I note from looking around that there used to be (Version 1?) an Auth-Type= System that did just that.
As has been said, that won't work. So don't do it.
Read raddb/sites-available/inner-tunnel. It describes how to get the "inner-tunnel" portion working.
I have that working and tested via radtest using the protocols noted in the radtest man page (-t pap/chap/mschap/eap-md5)
Not for /etc/passwd. Because it's impossible.
What I do see is:
# Executing section authorize from file # /etc/freeradius/sites-enabled/default +- entering group authorize {...} ++[preprocess] returns ok ++[digest] returns noop [suffix] No '@' in User-Name = "evergreen", looking up realm NULL [suffix] No such realm "NULL" ++[suffix] returns noop
--------
So, doing the obvious and fixing proxy.conf to:
realm NULL {
Don't do that. It's not needed.
authhost = localhost:1600 accthost = localhost:1601
Were did you get these values from?
My output now looks like: ... Waking up in 4.9 seconds. Cleaning up request 0 ID 15 with timestamp +4 Marking home server 127.0.0.1 port 1600 as zombie (it looks like it is dead).
So... you don't have a RADIUS server running on localhost, port 1600. Why then did you configure it to proxy requests to there? It looks like you're trying random things in the hope that something will magically start working. Well, it won't. You need to understand what's going on. Proxying packets to a server that doesn't exist shows you're not understanding it.
So... Works with the users file, doesn't work when I try to get it to use /etc/passwd
Because (among other things), it's impossible to do PEAP / MSCHAP with /etc/passwd. So don't try. And undo your changes for the NULL realm. They're not necessary. They're causing *additional* problems. Alan DeKok.
Julian, On Mon, Jul 08, 2013 at 03:10:31PM -0700, Julian Macassey wrote:
I'm just trying to do a bog standard username and password for OS X and Linux users on laptops - Plus the ubiquitous smartphones of course. I have no Microsoft gear on the LAN.
Try adding the following to the *top* of your users file: evergreen Cleartext-Password := "pa55word", MS-CHAP-Use-NTLM-Auth := 0 Then restart FR and try logging in again with the password 'pa55word'.
[eap] processing type peap [peap] processing EAP-TLS [peap] eaptls_verify returned 7
... your client is set to do PEAP/EAP-MSCHAPv2 - which is what most things (including Windows) will do by default. It can't auth against /etc/passwd, but it can if it knows the cleartext password as shown above.
[eap] Request found, released from the list [eap] EAP/mschapv2 [eap] processing type mschapv2 [mschapv2] # Executing group from file /etc/freeradius/sites-enabled/inner-tunnel [mschapv2] +- entering group MS-CHAP {...} [mschap] No Cleartext-Password configured. Cannot create LM-Password. [mschap] No Cleartext-Password configured. Cannot create NT-Password. [mschap] Creating challenge hash with username: evergreen [mschap] Told to do MS-CHAPv2 for evergreen with NT-Password [mschap] FAILED: No NT/LM-Password. Cannot perform authentication. [mschap] FAILED: MS-CHAP2-Response is incorrect
This is the EAP-MSCHAPv2 bit (inside the PEAP inner tunnel) telling you it's got no cleartext password or NTLM hash, so it can't authenticate the user. Given a cleartext password as above, you should be good to go. Matthew -- Matthew Newton, Ph.D. <mcn4@le.ac.uk> Systems Specialist, Infrastructure Services, I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom For IT help contact helpdesk extn. 2253, <ithelp@le.ac.uk>
On 2013-07-09 at 10:18, Matthew Newton (mcn4@leicester.ac.uk) wrote:
Julian,
On Mon, Jul 08, 2013 at 03:10:31PM -0700, Julian Macassey wrote:
I'm just trying to do a bog standard username and password for OS X and Linux users on laptops - Plus the ubiquitous smartphones of course. I have no Microsoft gear on the LAN.
Try adding the following to the *top* of your users file:
evergreen Cleartext-Password := "pa55word", MS-CHAP-Use-NTLM-Auth := 0
When I use the users file, it works. In fact, every possible auth protocol works: The line you have above does work. But, that's when I have the user in the users file. When I comment it out so I can use the /etc/password file - Nothing radtest evergreen Y0V2T2VAKI 127.0.0.1:18120 0 d1sc0verplum Which tests the inner tunnel works using: radtest -t mschap evergreen Y0V2T2VAKI 127.0.0.1:18120 0 d1sc0verplum And every -t option (-t pap/chap/mschap/eap-md5) works. It also works with every port 1812 too: radtest -t mschap evergreen Y0V2T2VAKI 127.0.0.1 0 d1sc0verplum And, here's the proof, with the line: evergreen Cleartext-Password := "Y0V2T2VAKI" in users I can connect to the WiFi router with a Macbook and an iPhone.
...
your client is set to do PEAP/EAP-MSCHAPv2 - which is what most things (including Windows) will do by default. It can't auth against /etc/passwd, but it can if it knows the cleartext password as shown above.
But, it needs to auth against /etc/password rather than put every damn user into /etc/freeradius/users. Then if I give someone a username and password on my server, freeradius will let them use the WiFi too with no hassles.
This is the EAP-MSCHAPv2 bit (inside the PEAP inner tunnel) telling you it's got no cleartext password or NTLM hash, so it can't authenticate the user.
Given a cleartext password as above, you should be good to go.
Yup, works like a charm with the username password in users. That would be ideal at home, where it is just my wife and I and maybe a "guest" login for friends and relations. I will persevere. I have seen that in the 1.* release there was an "Auth-Type System", which was for system username password. Thanks for the help.
Hi, On Tue, Jul 09, 2013 at 10:58:15AM -0700, Julian Macassey wrote:
On 2013-07-09 at 10:18, Matthew Newton (mcn4@leicester.ac.uk) wrote:
Try adding the following to the *top* of your users file:
evergreen Cleartext-Password := "pa55word", MS-CHAP-Use-NTLM-Auth := 0
When I use the users file, it works. In fact, every possible auth protocol works: ... I will persevere. I have seen that in the 1.* release there was an "Auth-Type System", which was for system username password.
Auth-Type System is obsolete and likely won't do what you want. What you want can be done, but you need to fixup some things. First to note (as said before) and importantly, your client is configured to use PEAP/MS-CHAPv2. That *won't* work with /etc/password, full stop. There is no way to get that to work, so there's no point looking any more. If you change your client to use EAP-TTLS/PAP, then you should be able to get it to work. This is because the client will then send the cleartext password (inside the TTLS encrypted tunnel) which can be used to check against the /etc/shadow hash. In your modules directory, configure 'passwd' to read the /etc/passwd or /etc/shadow file appropriately. Make sure that freeradius has permission to read shadow, which is normally restricted. In your sites-enabled/inner-tunnel file, add 'etc_passwd' (or whatever the name of the passwd module is in modules/passwd) into the authorize section near the top (definitely above 'pap'). In your eap.conf you can edit default_eap_type to be 'ttls' to save a bit of negotiation time when connecting, and then in the ttls{} section set default_eap_type to pap. Then watch the debug output and make sure that the client is doing EAP-TTLS/PAP. If not, fix the client as otherwise there's no chance of getting it to work. Macs and Linux should be OK. You might have problems if the system is using the newer $n$.... type passwords. It will be possible to get working, but might be harder to check if the password is OK. Try the above and send full debug output if it's still failing. Cheers Matthew -- Matthew Newton, Ph.D. <mcn4@le.ac.uk> Systems Specialist, Infrastructure Services, I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom For IT help contact helpdesk extn. 2253, <ithelp@le.ac.uk>
participants (3)
-
Alan DeKok -
Julian Macassey -
Matthew Newton