freeradius using linux user passwd
Julian Macassey
julian at tele.com
Tue Jul 9 20:29:19 CEST 2013
On 2013-07-09 at 09:16, Alan DeKok (aland at 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.
More information about the Freeradius-Users
mailing list