windows 10 failing to connect to 802.1x wifi network
Gary Nevills
gary.nevills at kresa.org
Thu Feb 4 06:29:36 CET 2021
I've recently setup freeradius and configured an ssid to use 802.1x authentication with this server. So far android, ipad, chromebook, and macOS devices seem to be connecting fine. Windows 10 devices are not working (seem to be failing at the radius level), following is the freeradius debugging info for one of these failed connections from a Windows 10 laptop.
laptop: hp elitebook 750 g1
server: ubuntu 20.04.1 lts in aws
FreeRADIUS Version 3.0.20
OpenSSL 1.1.1f 31 Mar 2020
Configured for PEAP/MSCHAPv2
Does anyone have insight into what might be wrong? I’m not sure how to interpret the error message in the debug output.
Thanks,
Gary
root at radius1:~# freeradius -X
FreeRADIUS Version 3.0.20
Copyright (C) 1999-2019 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
For more information about these matters, see the file named COPYRIGHT
Starting - reading configuration files ...
including dictionary file /usr/share/freeradius/dictionary
including dictionary file /usr/share/freeradius/dictionary.dhcp
including dictionary file /usr/share/freeradius/dictionary.vqp
including dictionary file /etc/freeradius/3.0/dictionary
including configuration file /etc/freeradius/3.0/radiusd.conf
including configuration file /etc/freeradius/3.0/proxy.conf
including configuration file /etc/freeradius/3.0/clients.conf
including files in directory /etc/freeradius/3.0/mods-enabled/
including configuration file /etc/freeradius/3.0/mods-enabled/ldap
including configuration file /etc/freeradius/3.0/mods-enabled/digest
including configuration file /etc/freeradius/3.0/mods-enabled/exec
including configuration file /etc/freeradius/3.0/mods-enabled/soh
including configuration file /etc/freeradius/3.0/mods-enabled/utf8
including configuration file /etc/freeradius/3.0/mods-enabled/files
including configuration file /etc/freeradius/3.0/mods-enabled/detail
including configuration file /etc/freeradius/3.0/mods-enabled/realm
including configuration file /etc/freeradius/3.0/mods-enabled/unpack
including configuration file /etc/freeradius/3.0/mods-enabled/unix
including configuration file /etc/freeradius/3.0/mods-enabled/cache_eap
including configuration file /etc/freeradius/3.0/mods-enabled/passwd
including configuration file /etc/freeradius/3.0/mods-enabled/expiration
including configuration file /etc/freeradius/3.0/mods-enabled/mschap
including configuration file /etc/freeradius/3.0/mods-enabled/linelog
including configuration file /etc/freeradius/3.0/mods-enabled/always
including configuration file /etc/freeradius/3.0/mods-enabled/attr_filter
including configuration file /etc/freeradius/3.0/mods-enabled/preprocess
including configuration file /etc/freeradius/3.0/mods-enabled/sradutmp
including configuration file /etc/freeradius/3.0/mods-enabled/eap
including configuration file /etc/freeradius/3.0/mods-enabled/radutmp
including configuration file /etc/freeradius/3.0/mods-enabled/replicate
including configuration file /etc/freeradius/3.0/mods-enabled/chap
including configuration file /etc/freeradius/3.0/mods-enabled/echo
including configuration file /etc/freeradius/3.0/mods-enabled/dynamic_clients
including configuration file /etc/freeradius/3.0/mods-enabled/pap
including configuration file /etc/freeradius/3.0/mods-enabled/ntlm_auth
including configuration file /etc/freeradius/3.0/mods-enabled/expr
including configuration file /etc/freeradius/3.0/mods-enabled/logintime
including configuration file /etc/freeradius/3.0/mods-enabled/detail.log
including files in directory /etc/freeradius/3.0/policy.d/
including configuration file /etc/freeradius/3.0/policy.d/cui
including configuration file /etc/freeradius/3.0/policy.d/filter
including configuration file /etc/freeradius/3.0/policy.d/operator-name
including configuration file /etc/freeradius/3.0/policy.d/accounting
including configuration file /etc/freeradius/3.0/policy.d/canonicalization
including configuration file /etc/freeradius/3.0/policy.d/rules-default
including configuration file /etc/freeradius/3.0/policy.d/rfc7542
including configuration file /etc/freeradius/3.0/policy.d/eap
including configuration file /etc/freeradius/3.0/policy.d/abfab-tr
including configuration file /etc/freeradius/3.0/policy.d/control
including configuration file /etc/freeradius/3.0/policy.d/moonshot-targeted-ids
including configuration file /etc/freeradius/3.0/policy.d/debug
including configuration file /etc/freeradius/3.0/policy.d/dhcp
including files in directory /etc/freeradius/3.0/sites-enabled/
including configuration file /etc/freeradius/3.0/sites-enabled/default
including configuration file /etc/freeradius/3.0/sites-enabled/inner-tunnel
main {
security {
user = "freerad"
group = "freerad"
allow_core_dumps = no
}
name = "freeradius"
prefix = "/usr"
localstatedir = "/var"
logdir = "/var/log/freeradius"
run_dir = "/var/run/freeradius"
}
main {
name = "freeradius"
prefix = "/usr"
localstatedir = "/var"
sbindir = "/usr/sbin"
logdir = "/var/log/freeradius"
run_dir = "/var/run/freeradius"
libdir = "/usr/lib/freeradius"
radacctdir = "/var/log/freeradius/radacct"
hostname_lookups = no
max_request_time = 30
cleanup_delay = 5
max_requests = 16384
pidfile = "/var/run/freeradius/freeradius.pid"
checkrad = "/usr/sbin/checkrad"
debug_level = 0
proxy_requests = yes
log {
stripped_names = no
auth = yes
auth_badpass = no
auth_goodpass = no
colourise = yes
msg_denied = "You are already logged in - access denied"
}
resources {
}
security {
max_attributes = 200
reject_delay = 1.000000
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 = <<< secret >>>
response_window = 20.000000
response_timeouts = 1
max_outstanding = 65536
zombie_period = 40
status_check = "status-server"
ping_interval = 30
check_interval = 30
check_timeout = 4
num_answers_to_alive = 3
revive_interval = 120
limit {
max_connections = 16
max_requests = 0
lifetime = 0
idle_timeout = 0
}
coa {
irt = 2
mrt = 16
mrc = 5
mrd = 30
}
}
home_server_pool my_auth_failover {
type = fail-over
home_server = localhost
}
realm example.com {
auth_pool = my_auth_failover
}
realm LOCAL {
}
radiusd: #### Loading Clients ####
client localhost {
ipaddr = 127.0.0.1
require_message_authenticator = no
secret = <<< secret >>>
nas_type = "other"
proto = "*"
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client testwlc {
ipaddr = 10.1.251.2
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client testwlc {
ipaddr = 10.34.200.0
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client testwlc {
ipaddr = 10.253.195.60
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client testwlc {
ipaddr = 10.87.89.253
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client testwlc {
ipaddr = 10.100.102.254
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client localhost_ipv6 {
ipv6addr = ::1
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
Debugger not attached
systemd watchdog is disabled
# Creating Auth-Type = mschap
# Creating Auth-Type = ntlm_auth
# Creating Auth-Type = digest
# Creating Auth-Type = eap
# Creating Auth-Type = PAP
# Creating Auth-Type = CHAP
# Creating Auth-Type = MS-CHAP
radiusd: #### Instantiating modules ####
modules {
# Loaded module rlm_ldap
# Loading module "ldap" from file /etc/freeradius/3.0/mods-enabled/ldap
ldap {
server = "myadsrv.example.com"
port = 389
identity = "CN=FreeRADIUS Service Account,OU=Service Accounts,OU=Users,DC=example,DC=com"
password = <<< secret >>>
sasl {
}
user_dn = "LDAP-UserDn"
user {
scope = "sub"
access_positive = yes
sasl {
}
}
group {
filter = "(objectClass=posixGroup)"
scope = "sub"
name_attribute = "cn"
membership_attribute = "memberOf"
cacheable_name = no
cacheable_dn = no
allow_dangling_group_ref = no
}
client {
filter = "(objectClass=radiusClient)"
scope = "sub"
base_dn = "DC=example,DC=com"
}
profile {
}
options {
ldap_debug = 40
chase_referrals = yes
rebind = yes
net_timeout = 1
res_timeout = 10
srv_timelimit = 3
idle = 60
probes = 3
interval = 3
}
tls {
start_tls = no
}
}
Creating attribute LDAP-Group
# Loaded module rlm_digest
# Loading module "digest" from file /etc/freeradius/3.0/mods-enabled/digest
# Loaded module rlm_exec
# Loading module "exec" from file /etc/freeradius/3.0/mods-enabled/exec
exec {
wait = no
input_pairs = "request"
shell_escape = yes
timeout = 10
}
# Loaded module rlm_soh
# Loading module "soh" from file /etc/freeradius/3.0/mods-enabled/soh
soh {
dhcp = yes
}
# Loaded module rlm_utf8
# Loading module "utf8" from file /etc/freeradius/3.0/mods-enabled/utf8
# Loaded module rlm_files
# Loading module "files" from file /etc/freeradius/3.0/mods-enabled/files
files {
filename = "/etc/freeradius/3.0/mods-config/files/authorize"
acctusersfile = "/etc/freeradius/3.0/mods-config/files/accounting"
preproxy_usersfile = "/etc/freeradius/3.0/mods-config/files/pre-proxy"
}
# Loaded module rlm_detail
# Loading module "detail" from file /etc/freeradius/3.0/mods-enabled/detail
detail {
filename = "/var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
escape_filenames = no
log_packet_header = no
}
# Loaded module rlm_realm
# Loading module "IPASS" from file /etc/freeradius/3.0/mods-enabled/realm
realm IPASS {
format = "prefix"
delimiter = "/"
ignore_default = no
ignore_null = no
}
# Loading module "suffix" from file /etc/freeradius/3.0/mods-enabled/realm
realm suffix {
format = "suffix"
delimiter = "@"
ignore_default = no
ignore_null = no
}
# Loading module "bangpath" from file /etc/freeradius/3.0/mods-enabled/realm
realm bangpath {
format = "prefix"
delimiter = "!"
ignore_default = no
ignore_null = no
}
# Loading module "realmpercent" from file /etc/freeradius/3.0/mods-enabled/realm
realm realmpercent {
format = "suffix"
delimiter = "%"
ignore_default = no
ignore_null = no
}
# Loading module "ntdomain" from file /etc/freeradius/3.0/mods-enabled/realm
realm ntdomain {
format = "prefix"
delimiter = "\\"
ignore_default = no
ignore_null = no
}
# Loaded module rlm_unpack
# Loading module "unpack" from file /etc/freeradius/3.0/mods-enabled/unpack
# Loaded module rlm_unix
# Loading module "unix" from file /etc/freeradius/3.0/mods-enabled/unix
unix {
radwtmp = "/var/log/freeradius/radwtmp"
}
Creating attribute Unix-Group
# Loaded module rlm_cache
# Loading module "cache_eap" from file /etc/freeradius/3.0/mods-enabled/cache_eap
cache cache_eap {
driver = "rlm_cache_rbtree"
key = "%{%{control:State}:-%{%{reply:State}:-%{State}}}"
ttl = 15
max_entries = 0
epoch = 0
add_stats = no
}
# Loaded module rlm_passwd
# Loading module "etc_passwd" from file /etc/freeradius/3.0/mods-enabled/passwd
passwd etc_passwd {
filename = "/etc/passwd"
format = "*User-Name:Crypt-Password:"
delimiter = ":"
ignore_nislike = no
ignore_empty = yes
allow_multiple_keys = no
hash_size = 100
}
# Loaded module rlm_expiration
# Loading module "expiration" from file /etc/freeradius/3.0/mods-enabled/expiration
# Loaded module rlm_mschap
# Loading module "mschap" from file /etc/freeradius/3.0/mods-enabled/mschap
mschap {
use_mppe = yes
require_encryption = no
require_strong = no
with_ntdomain_hack = yes
ntlm_auth = "/usr/bin/ntlm_auth --allow-mschapv2 --request-nt-key --username=%{mschap:User-Name} --domain=example.com --challenge=%{%{mschap:Challenge}:-00} --nt-response=%{%{mschap:NT-Response}:-00}"
passchange {
}
allow_retry = yes
winbind_retry_with_normalised_username = no
}
# Loaded module rlm_linelog
# Loading module "linelog" from file /etc/freeradius/3.0/mods-enabled/linelog
linelog {
filename = "/var/log/freeradius/linelog"
escape_filenames = no
syslog_severity = "info"
permissions = 384
format = "This is a log message for %{User-Name}"
reference = "messages.%{%{reply:Packet-Type}:-default}"
}
# Loading module "log_accounting" from file /etc/freeradius/3.0/mods-enabled/linelog
linelog log_accounting {
filename = "/var/log/freeradius/linelog-accounting"
escape_filenames = no
syslog_severity = "info"
permissions = 384
format = ""
reference = "Accounting-Request.%{%{Acct-Status-Type}:-unknown}"
}
# Loaded module rlm_always
# Loading module "reject" from file /etc/freeradius/3.0/mods-enabled/always
always reject {
rcode = "reject"
simulcount = 0
mpp = no
}
# Loading module "fail" from file /etc/freeradius/3.0/mods-enabled/always
always fail {
rcode = "fail"
simulcount = 0
mpp = no
}
# Loading module "ok" from file /etc/freeradius/3.0/mods-enabled/always
always ok {
rcode = "ok"
simulcount = 0
mpp = no
}
# Loading module "handled" from file /etc/freeradius/3.0/mods-enabled/always
always handled {
rcode = "handled"
simulcount = 0
mpp = no
}
# Loading module "invalid" from file /etc/freeradius/3.0/mods-enabled/always
always invalid {
rcode = "invalid"
simulcount = 0
mpp = no
}
# Loading module "userlock" from file /etc/freeradius/3.0/mods-enabled/always
always userlock {
rcode = "userlock"
simulcount = 0
mpp = no
}
# Loading module "notfound" from file /etc/freeradius/3.0/mods-enabled/always
always notfound {
rcode = "notfound"
simulcount = 0
mpp = no
}
# Loading module "noop" from file /etc/freeradius/3.0/mods-enabled/always
always noop {
rcode = "noop"
simulcount = 0
mpp = no
}
# Loading module "updated" from file /etc/freeradius/3.0/mods-enabled/always
always updated {
rcode = "updated"
simulcount = 0
mpp = no
}
# Loaded module rlm_attr_filter
# Loading module "attr_filter.post-proxy" from file /etc/freeradius/3.0/mods-enabled/attr_filter
attr_filter attr_filter.post-proxy {
filename = "/etc/freeradius/3.0/mods-config/attr_filter/post-proxy"
key = "%{Realm}"
relaxed = no
}
# Loading module "attr_filter.pre-proxy" from file /etc/freeradius/3.0/mods-enabled/attr_filter
attr_filter attr_filter.pre-proxy {
filename = "/etc/freeradius/3.0/mods-config/attr_filter/pre-proxy"
key = "%{Realm}"
relaxed = no
}
# Loading module "attr_filter.access_reject" from file /etc/freeradius/3.0/mods-enabled/attr_filter
attr_filter attr_filter.access_reject {
filename = "/etc/freeradius/3.0/mods-config/attr_filter/access_reject"
key = "%{User-Name}"
relaxed = no
}
# Loading module "attr_filter.access_challenge" from file /etc/freeradius/3.0/mods-enabled/attr_filter
attr_filter attr_filter.access_challenge {
filename = "/etc/freeradius/3.0/mods-config/attr_filter/access_challenge"
key = "%{User-Name}"
relaxed = no
}
# Loading module "attr_filter.accounting_response" from file /etc/freeradius/3.0/mods-enabled/attr_filter
attr_filter attr_filter.accounting_response {
filename = "/etc/freeradius/3.0/mods-config/attr_filter/accounting_response"
key = "%{User-Name}"
relaxed = no
}
# Loaded module rlm_preprocess
# Loading module "preprocess" from file /etc/freeradius/3.0/mods-enabled/preprocess
preprocess {
huntgroups = "/etc/freeradius/3.0/mods-config/preprocess/huntgroups"
hints = "/etc/freeradius/3.0/mods-config/preprocess/hints"
with_ascend_hack = no
ascend_channels_per_line = 23
with_ntdomain_hack = no
with_specialix_jetstream_hack = no
with_cisco_vsa_hack = no
with_alvarion_vsa_hack = no
}
# Loaded module rlm_radutmp
# Loading module "sradutmp" from file /etc/freeradius/3.0/mods-enabled/sradutmp
radutmp sradutmp {
filename = "/var/log/freeradius/sradutmp"
username = "%{User-Name}"
case_sensitive = yes
check_with_nas = yes
permissions = 420
caller_id = no
}
# Loaded module rlm_eap
# Loading module "eap" from file /etc/freeradius/3.0/mods-enabled/eap
eap {
default_eap_type = "md5"
timer_expire = 60
ignore_unknown_eap_types = no
cisco_accounting_username_bug = no
max_sessions = 16384
}
# Loading module "radutmp" from file /etc/freeradius/3.0/mods-enabled/radutmp
radutmp {
filename = "/var/log/freeradius/radutmp"
username = "%{User-Name}"
case_sensitive = yes
check_with_nas = yes
permissions = 384
caller_id = yes
}
# Loaded module rlm_replicate
# Loading module "replicate" from file /etc/freeradius/3.0/mods-enabled/replicate
# Loaded module rlm_chap
# Loading module "chap" from file /etc/freeradius/3.0/mods-enabled/chap
# Loading module "echo" from file /etc/freeradius/3.0/mods-enabled/echo
exec echo {
wait = yes
program = "/bin/echo %{User-Name}"
input_pairs = "request"
output_pairs = "reply"
shell_escape = yes
}
# Loaded module rlm_dynamic_clients
# Loading module "dynamic_clients" from file /etc/freeradius/3.0/mods-enabled/dynamic_clients
# Loaded module rlm_pap
# Loading module "pap" from file /etc/freeradius/3.0/mods-enabled/pap
pap {
normalise = yes
}
# Loading module "ntlm_auth" from file /etc/freeradius/3.0/mods-enabled/ntlm_auth
exec ntlm_auth {
wait = yes
program = "/usr/bin/ntlm_auth --request-nt-key --domain=example.com --username=%{mschap:User-Name} --password=%{User-Password}"
shell_escape = yes
}
# Loaded module rlm_expr
# Loading module "expr" from file /etc/freeradius/3.0/mods-enabled/expr
expr {
safe_characters = "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /äéöüàâæçèéêëîïôœùûüaÿÄÉÖÜßÀÂÆÇÈÉÊËÎÏÔŒÙÛÜŸ"
}
# Loaded module rlm_logintime
# Loading module "logintime" from file /etc/freeradius/3.0/mods-enabled/logintime
logintime {
minimum_timeout = 60
}
# Loading module "auth_log" from file /etc/freeradius/3.0/mods-enabled/detail.log
detail auth_log {
filename = "/var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
escape_filenames = no
log_packet_header = no
}
# Loading module "reply_log" from file /etc/freeradius/3.0/mods-enabled/detail.log
detail reply_log {
filename = "/var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/reply-detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
escape_filenames = no
log_packet_header = no
}
# Loading module "pre_proxy_log" from file /etc/freeradius/3.0/mods-enabled/detail.log
detail pre_proxy_log {
filename = "/var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/pre-proxy-detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
escape_filenames = no
log_packet_header = no
}
# Loading module "post_proxy_log" from file /etc/freeradius/3.0/mods-enabled/detail.log
detail post_proxy_log {
filename = "/var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/post-proxy-detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
escape_filenames = no
log_packet_header = no
}
instantiate {
}
# Instantiating module "ldap" from file /etc/freeradius/3.0/mods-enabled/ldap
rlm_ldap: libldap vendor: OpenLDAP, version: 20449
accounting {
reference = "%{tolower:type.%{Acct-Status-Type}}"
}
post-auth {
reference = "."
}
rlm_ldap (ldap): Initialising connection pool
pool {
start = 5
min = 3
max = 32
spare = 10
uses = 0
lifetime = 0
cleanup_interval = 30
idle_timeout = 60
retry_delay = 30
spread = no
}
rlm_ldap (ldap): Opening additional connection (0), 1 of 32 pending slots used
rlm_ldap (ldap): Connecting to ldap://myadsrv.example.com:389
rlm_ldap (ldap): Waiting for bind result...
rlm_ldap (ldap): Bind successful
rlm_ldap (ldap): Opening additional connection (1), 1 of 31 pending slots used
rlm_ldap (ldap): Connecting to ldap://myadsrv.example.com:389
rlm_ldap (ldap): Waiting for bind result...
rlm_ldap (ldap): Bind successful
rlm_ldap (ldap): Opening additional connection (2), 1 of 30 pending slots used
rlm_ldap (ldap): Connecting to ldap://myadsrv.example.com:389
rlm_ldap (ldap): Waiting for bind result...
rlm_ldap (ldap): Bind successful
rlm_ldap (ldap): Opening additional connection (3), 1 of 29 pending slots used
rlm_ldap (ldap): Connecting to ldap://myadsrv.example.com:389
rlm_ldap (ldap): Waiting for bind result...
rlm_ldap (ldap): Bind successful
rlm_ldap (ldap): Opening additional connection (4), 1 of 28 pending slots used
rlm_ldap (ldap): Connecting to ldap://myadsrv.example.com:389
rlm_ldap (ldap): Waiting for bind result...
rlm_ldap (ldap): Bind successful
# Instantiating module "files" from file /etc/freeradius/3.0/mods-enabled/files
reading pairlist file /etc/freeradius/3.0/mods-config/files/authorize
reading pairlist file /etc/freeradius/3.0/mods-config/files/accounting
reading pairlist file /etc/freeradius/3.0/mods-config/files/pre-proxy
# Instantiating module "detail" from file /etc/freeradius/3.0/mods-enabled/detail
# Instantiating module "IPASS" from file /etc/freeradius/3.0/mods-enabled/realm
# Instantiating module "suffix" from file /etc/freeradius/3.0/mods-enabled/realm
# Instantiating module "bangpath" from file /etc/freeradius/3.0/mods-enabled/realm
# Instantiating module "realmpercent" from file /etc/freeradius/3.0/mods-enabled/realm
# Instantiating module "ntdomain" from file /etc/freeradius/3.0/mods-enabled/realm
# Instantiating module "cache_eap" from file /etc/freeradius/3.0/mods-enabled/cache_eap
rlm_cache (cache_eap): Driver rlm_cache_rbtree (module rlm_cache_rbtree) loaded and linked
# Instantiating module "etc_passwd" from file /etc/freeradius/3.0/mods-enabled/passwd
rlm_passwd: nfields: 3 keyfield 0(User-Name) listable: no
# Instantiating module "expiration" from file /etc/freeradius/3.0/mods-enabled/expiration
# Instantiating module "mschap" from file /etc/freeradius/3.0/mods-enabled/mschap
rlm_mschap (mschap): authenticating by calling 'ntlm_auth'
# Instantiating module "linelog" from file /etc/freeradius/3.0/mods-enabled/linelog
# Instantiating module "log_accounting" from file /etc/freeradius/3.0/mods-enabled/linelog
# Instantiating module "reject" from file /etc/freeradius/3.0/mods-enabled/always
# Instantiating module "fail" from file /etc/freeradius/3.0/mods-enabled/always
# Instantiating module "ok" from file /etc/freeradius/3.0/mods-enabled/always
# Instantiating module "handled" from file /etc/freeradius/3.0/mods-enabled/always
# Instantiating module "invalid" from file /etc/freeradius/3.0/mods-enabled/always
# Instantiating module "userlock" from file /etc/freeradius/3.0/mods-enabled/always
# Instantiating module "notfound" from file /etc/freeradius/3.0/mods-enabled/always
# Instantiating module "noop" from file /etc/freeradius/3.0/mods-enabled/always
# Instantiating module "updated" from file /etc/freeradius/3.0/mods-enabled/always
# Instantiating module "attr_filter.post-proxy" from file /etc/freeradius/3.0/mods-enabled/attr_filter
reading pairlist file /etc/freeradius/3.0/mods-config/attr_filter/post-proxy
# Instantiating module "attr_filter.pre-proxy" from file /etc/freeradius/3.0/mods-enabled/attr_filter
reading pairlist file /etc/freeradius/3.0/mods-config/attr_filter/pre-proxy
# Instantiating module "attr_filter.access_reject" from file /etc/freeradius/3.0/mods-enabled/attr_filter
reading pairlist file /etc/freeradius/3.0/mods-config/attr_filter/access_reject
# Instantiating module "attr_filter.access_challenge" from file /etc/freeradius/3.0/mods-enabled/attr_filter
reading pairlist file /etc/freeradius/3.0/mods-config/attr_filter/access_challenge
# Instantiating module "attr_filter.accounting_response" from file /etc/freeradius/3.0/mods-enabled/attr_filter
reading pairlist file /etc/freeradius/3.0/mods-config/attr_filter/accounting_response
# Instantiating module "preprocess" from file /etc/freeradius/3.0/mods-enabled/preprocess
reading pairlist file /etc/freeradius/3.0/mods-config/preprocess/huntgroups
reading pairlist file /etc/freeradius/3.0/mods-config/preprocess/hints
# Instantiating module "eap" from file /etc/freeradius/3.0/mods-enabled/eap
# Linked to sub-module rlm_eap_md5
# Linked to sub-module rlm_eap_leap
# Linked to sub-module rlm_eap_gtc
gtc {
challenge = "Password: "
auth_type = "PAP"
}
# Linked to sub-module rlm_eap_tls
tls {
tls = "tls-common"
}
tls-config tls-common {
verify_depth = 0
ca_path = "/etc/freeradius/3.0/certs"
pem_file_type = yes
private_key_file = "/etc/ssl/private/ssl-cert-snakeoil.key"
certificate_file = "/etc/ssl/certs/ssl-cert-snakeoil.pem"
ca_file = "/etc/ssl/certs/ca-certificates.crt"
private_key_password = <<< secret >>>
dh_file = "/etc/freeradius/3.0/certs/dh"
fragment_size = 1024
include_length = yes
auto_chain = yes
check_crl = no
check_all_crl = no
cipher_list = "DEFAULT"
cipher_server_preference = no
ecdh_curve = "prime256v1"
disable_tlsv1 = no
disable_tlsv1_1 = no
disable_tlsv1_2 = no
tls_max_version = "1.2"
tls_min_version = "1.0"
cache {
enable = no
lifetime = 24
max_entries = 255
}
verify {
skip_if_ocsp_ok = no
}
ocsp {
enable = no
override_cert_url = yes
url = "http://127.0.0.1/ocsp/"
use_nonce = yes
timeout = 0
softfail = no
}
}
The configuration allows TLS 1.0 and/or TLS 1.1. We STRONGLY recommned using only TLS 1.2 for security
Please set: min_tls_version = "1.2"
# Linked to sub-module rlm_eap_ttls
ttls {
tls = "tls-common"
default_eap_type = "md5"
copy_request_to_tunnel = no
use_tunneled_reply = no
virtual_server = "inner-tunnel"
include_length = yes
require_client_cert = no
}
tls: Using cached TLS configuration from previous invocation
# Linked to sub-module rlm_eap_peap
peap {
tls = "tls-peap"
default_eap_type = "mschapv2"
copy_request_to_tunnel = no
use_tunneled_reply = no
proxy_tunneled_request_as_eap = yes
virtual_server = "inner-tunnel"
soh = no
require_client_cert = no
}
tls-config tls-peap {
verify_depth = 0
pem_file_type = yes
private_key_file = "/etc/ssl/private/peap/server.pem"
certificate_file = "/etc/ssl/private/peap/server.pem"
ca_file = "/etc/ssl/certs/ca-certificates.crt"
fragment_size = 1024
include_length = yes
auto_chain = yes
check_crl = no
check_all_crl = no
cipher_list = "HIGH"
ecdh_curve = "prime256v1"
tls_max_version = ""
tls_min_version = "1.0"
cache {
enable = yes
lifetime = 24
max_entries = 255
}
verify {
skip_if_ocsp_ok = no
}
ocsp {
enable = no
override_cert_url = yes
url = "http://127.0.0.1/ocsp/"
use_nonce = yes
timeout = 0
softfail = no
}
}
The configuration allows TLS 1.0 and/or TLS 1.1. We STRONGLY recommned using only TLS 1.2 for security
Please set: min_tls_version = "1.2"
# Linked to sub-module rlm_eap_mschapv2
mschapv2 {
with_ntdomain_hack = no
send_error = no
}
# Instantiating module "pap" from file /etc/freeradius/3.0/mods-enabled/pap
# Instantiating module "logintime" from file /etc/freeradius/3.0/mods-enabled/logintime
# Instantiating module "auth_log" from file /etc/freeradius/3.0/mods-enabled/detail.log
rlm_detail (auth_log): 'User-Password' suppressed, will not appear in detail output
# Instantiating module "reply_log" from file /etc/freeradius/3.0/mods-enabled/detail.log
# Instantiating module "pre_proxy_log" from file /etc/freeradius/3.0/mods-enabled/detail.log
# Instantiating module "post_proxy_log" from file /etc/freeradius/3.0/mods-enabled/detail.log
} # modules
radiusd: #### Loading Virtual Servers ####
server { # from file /etc/freeradius/3.0/radiusd.conf
} # server
server default { # from file /etc/freeradius/3.0/sites-enabled/default
# Loading authenticate {...}
# Loading authorize {...}
Ignoring "sql" (see raddb/mods-available/README.rst)
# Loading preacct {...}
# Loading accounting {...}
# Loading post-proxy {...}
# Loading post-auth {...}
} # server default
server inner-tunnel { # from file /etc/freeradius/3.0/sites-enabled/inner-tunnel
# Loading authenticate {...}
# Loading authorize {...}
# Loading session {...}
# Loading post-proxy {...}
# Loading post-auth {...}
# Skipping contents of 'if' as it is always 'false' -- /etc/freeradius/3.0/sites-enabled/inner-tunnel:338
} # server inner-tunnel
radiusd: #### Opening IP addresses and Ports ####
listen {
type = "auth"
ipaddr = *
port = 0
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
listen {
type = "acct"
ipaddr = *
port = 0
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
listen {
type = "auth"
ipv6addr = ::
port = 0
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
listen {
type = "acct"
ipv6addr = ::
port = 0
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
listen {
type = "auth"
ipaddr = 127.0.0.1
port = 18120
}
Listening on auth address * port 1812 bound to server default
Listening on acct address * port 1813 bound to server default
Listening on auth address :: port 1812 bound to server default
Listening on acct address :: port 1813 bound to server default
Listening on auth address 127.0.0.1 port 18120 bound to server inner-tunnel
Listening on proxy address * port 42319
Listening on proxy address :: port 53610
Ready to process requests
(33) Received Access-Request Id 249 from 10.2.4.6:50660 to 10.3.5.7:1812 length 298
(33) User-Name = "tester"
(33) Chargeable-User-Identity = 0x02
(33) Location-Capable = Civic-Location
(33) Calling-Station-Id = "30-10-b3-c0-6b-a3"
(33) Called-Station-Id = "88-75-56-87-a7-b0:MYSSID"
(33) NAS-Port = 8
(33) Cisco-AVPair = "audit-session-id=02fb010a00455eafb3b61a60"
(33) Acct-Session-Id = "601ab6ac/30:10:b3:c0:6b:a3/4941445"
(33) Cisco-AVPair = "mDNS=true"
(33) NAS-IP-Address = 10.2.4.6
(33) NAS-Identifier = "cisco8540"
(33) Airespace-Wlan-Id = 201
(33) Service-Type = Framed-User
(33) Framed-MTU = 1300
(33) NAS-Port-Type = Wireless-802.11
(33) Tunnel-Type:0 = VLAN
(33) Tunnel-Medium-Type:0 = IEEE-802
(33) Tunnel-Private-Group-Id:0 = "99"
(33) EAP-Message = 0x0202000b01746573746572
(33) Message-Authenticator = 0xebc22bf667969727566cfad2c74234c1
(33) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default
(33) authorize {
(33) policy filter_username {
(33) if (&User-Name) {
(33) if (&User-Name) -> TRUE
(33) if (&User-Name) {
(33) if (&User-Name =~ / /) {
(33) if (&User-Name =~ / /) -> FALSE
(33) if (&User-Name =~ /@[^@]*@/ ) {
(33) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(33) if (&User-Name =~ /\.\./ ) {
(33) if (&User-Name =~ /\.\./ ) -> FALSE
(33) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)<mailto:/@(.+)\.(.+)$/)>) {
(33) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)<mailto:/@(.+)\.(.+)$/)>) -> FALSE
(33) if (&User-Name =~ /\.$/) {
(33) if (&User-Name =~ /\.$/) -> FALSE
(33) if (&User-Name =~ /@\./<mailto:/@\./>) {
(33) if (&User-Name =~ /@\./<mailto:/@\./>) -> FALSE
(33) } # if (&User-Name) = notfound
(33) } # policy filter_username = notfound
(33) [preprocess] = ok
(33) auth_log: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d
(33) auth_log: --> /var/log/freeradius/radacct/10.2.4.6/auth-detail-20210203
(33) auth_log: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d expands to /var/log/freeradius/radacct/10.2.4.6/auth-detail-20210203
(33) auth_log: EXPAND %t
(33) auth_log: --> Wed Feb 3 14:44:03 2021
(33) [auth_log] = ok
(33) [chap] = noop
(33) [mschap] = noop
(33) [digest] = noop
(33) suffix: Checking for suffix after "@"
(33) suffix: No '@' in User-Name = "tester", looking up realm NULL
(33) suffix: No such realm "NULL"
(33) [suffix] = noop
(33) eap: Peer sent EAP Response (code 2) ID 2 length 11
(33) eap: EAP-Identity reply, returning 'ok' so we can short-circuit the rest of authorize
(33) [eap] = ok
(33) } # authorize = ok
(33) Found Auth-Type = eap
(33) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(33) authenticate {
(33) eap: Peer sent packet with method EAP Identity (1)
(33) eap: Calling submodule eap_md5 to process data
(33) eap_md5: Issuing MD5 Challenge
(33) eap: Sending EAP Request (code 1) ID 3 length 22
(33) eap: EAP session adding &reply:State = 0x0f3943760f3a47ce
(33) [eap] = handled
(33) } # authenticate = handled
(33) Using Post-Auth-Type Challenge
(33) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(33) Challenge { ... } # empty sub-section is ignored
(33) Sent Access-Challenge Id 249 from 10.3.5.7:1812 to 10.2.4.6:50660 length 0
(33) EAP-Message = 0x01030016041039024b674355c37e8c5b8f5a83d48496
(33) Message-Authenticator = 0x00000000000000000000000000000000
(33) State = 0x0f3943760f3a47ce8318d8416286d92d
(33) Finished request
Waking up in 4.9 seconds.
(34) Received Access-Request Id 250 from 10.2.4.6:50660 to 10.3.5.7:1812 length 311
(34) User-Name = "tester"
(34) Chargeable-User-Identity = 0x02
(34) Location-Capable = Civic-Location
(34) Calling-Station-Id = "30-10-b3-c0-6b-a3"
(34) Called-Station-Id = "88-75-56-87-a7-b0:MYSSID"
(34) NAS-Port = 8
(34) Cisco-AVPair = "audit-session-id=02fb010a00455eafb3b61a60"
(34) Acct-Session-Id = "601ab6ac/30:10:b3:c0:6b:a3/4941445"
(34) Cisco-AVPair = "mDNS=true"
(34) NAS-IP-Address = 10.2.4.6
(34) NAS-Identifier = "cisco8540"
(34) Airespace-Wlan-Id = 201
(34) Service-Type = Framed-User
(34) Framed-MTU = 1300
(34) NAS-Port-Type = Wireless-802.11
(34) Tunnel-Type:0 = VLAN
(34) Tunnel-Medium-Type:0 = IEEE-802
(34) Tunnel-Private-Group-Id:0 = "99"
(34) EAP-Message = 0x020300060319
(34) State = 0x0f3943760f3a47ce8318d8416286d92d
(34) Message-Authenticator = 0x2642f2a3b5071ea72fbf703fabaadca0
(34) session-state: No cached attributes
(34) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default
(34) authorize {
(34) policy filter_username {
(34) if (&User-Name) {
(34) if (&User-Name) -> TRUE
(34) if (&User-Name) {
(34) if (&User-Name =~ / /) {
(34) if (&User-Name =~ / /) -> FALSE
(34) if (&User-Name =~ /@[^@]*@/ ) {
(34) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(34) if (&User-Name =~ /\.\./ ) {
(34) if (&User-Name =~ /\.\./ ) -> FALSE
(34) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)<mailto:/@(.+)\.(.+)$/)>) {
(34) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)<mailto:/@(.+)\.(.+)$/)>) -> FALSE
(34) if (&User-Name =~ /\.$/) {
(34) if (&User-Name =~ /\.$/) -> FALSE
(34) if (&User-Name =~ /@\./<mailto:/@\./>) {
(34) if (&User-Name =~ /@\./<mailto:/@\./>) -> FALSE
(34) } # if (&User-Name) = notfound
(34) } # policy filter_username = notfound
(34) [preprocess] = ok
(34) auth_log: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d
(34) auth_log: --> /var/log/freeradius/radacct/10.2.4.6/auth-detail-20210203
(34) auth_log: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d expands to /var/log/freeradius/radacct/10.2.4.6/auth-detail-20210203
(34) auth_log: EXPAND %t
(34) auth_log: --> Wed Feb 3 14:44:03 2021
(34) [auth_log] = ok
(34) [chap] = noop
(34) [mschap] = noop
(34) [digest] = noop
(34) suffix: Checking for suffix after "@"
(34) suffix: No '@' in User-Name = "tester", looking up realm NULL
(34) suffix: No such realm "NULL"
(34) [suffix] = noop
(34) eap: Peer sent EAP Response (code 2) ID 3 length 6
(34) eap: No EAP Start, assuming it's an on-going EAP conversation
(34) [eap] = updated
(34) [files] = noop
rlm_ldap (ldap): Closing connection (14): Hit idle_timeout, was idle for 906 seconds
rlm_ldap (ldap): You probably need to lower "min"
rlm_ldap (ldap): 0 of 0 connections in use. You may need to increase "spare"
rlm_ldap (ldap): Opening additional connection (15), 1 of 32 pending slots used
rlm_ldap (ldap): Connecting to ldap://myadsrv.example.com:389
rlm_ldap (ldap): Waiting for bind result...
rlm_ldap (ldap): Bind successful
rlm_ldap (ldap): Reserved connection (15)
(34) ldap: EXPAND (samaccountname=%{%{Stripped-User-Name}:-%{User-Name}})
(34) ldap: --> (samaccountname=tester)
(34) ldap: Performing search in "DC=example,DC=com" with filter "(samaccountname=tester)", scope "sub"
(34) ldap: Waiting for search result...
rlm_ldap (ldap): Rebinding to URL ldap://DomainDnsZones.example.com/DC=DomainDnsZones,DC=example,DC=com
rlm_ldap (ldap): Waiting for bind result...
rlm_ldap (ldap): Rebinding to URL ldap://ForestDnsZones.example.com/DC=ForestDnsZones,DC=example,DC=com
rlm_ldap (ldap): Waiting for bind result...
rlm_ldap (ldap): Rebinding to URL ldap://example.com/CN=Configuration,DC=example,DC=com
rlm_ldap (ldap): Waiting for bind result...
rlm_ldap (ldap): Bind successful
rlm_ldap (ldap): Bind successful
rlm_ldap (ldap): Bind successful
(34) ldap: Search returned no results
rlm_ldap (ldap): Deleting connection (15) - Was referred to a different LDAP server
Need 3 more connections to reach min connections (3)
rlm_ldap (ldap): Opening additional connection (16), 1 of 32 pending slots used
rlm_ldap (ldap): Connecting to ldap://myadsrv.example.com:389
rlm_ldap (ldap): Waiting for bind result...
rlm_ldap (ldap): Bind successful
(34) [ldap] = notfound
(34) [expiration] = noop
(34) [logintime] = noop
Not doing PAP as Auth-Type is already set.
(34) [pap] = noop
(34) } # authorize = updated
(34) Found Auth-Type = eap
(34) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(34) authenticate {
(34) eap: Expiring EAP session with state 0x0f3943760f3a47ce
(34) eap: Finished EAP session with state 0x0f3943760f3a47ce
(34) eap: Previous EAP request found for state 0x0f3943760f3a47ce, released from the list
(34) eap: Peer sent packet with method EAP NAK (3)
(34) eap: Found mutually acceptable type PEAP (25)
(34) eap: Calling submodule eap_peap to process data
(34) eap_peap: Initiating new TLS session
(34) eap_peap: [eaptls start] = request
(34) eap: Sending EAP Request (code 1) ID 4 length 6
(34) eap: EAP session adding &reply:State = 0x0f3943760e3d5ace
(34) [eap] = handled
(34) } # authenticate = handled
(34) Using Post-Auth-Type Challenge
(34) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(34) Challenge { ... } # empty sub-section is ignored
(34) Sent Access-Challenge Id 250 from 10.3.5.7:1812 to 10.2.4.6:50660 length 0
(34) EAP-Message = 0x010400061920
(34) Message-Authenticator = 0x00000000000000000000000000000000
(34) State = 0x0f3943760e3d5ace8318d8416286d92d
(34) Finished request
Waking up in 4.9 seconds.
(35) Received Access-Request Id 251 from 10.2.4.6:50660 to 10.3.5.7:1812 length 477
(35) User-Name = "tester"
(35) Chargeable-User-Identity = 0x02
(35) Location-Capable = Civic-Location
(35) Calling-Station-Id = "30-10-b3-c0-6b-a3"
(35) Called-Station-Id = "88-75-56-87-a7-b0:MYSSID"
(35) NAS-Port = 8
(35) Cisco-AVPair = "audit-session-id=02fb010a00455eafb3b61a60"
(35) Acct-Session-Id = "601ab6ac/30:10:b3:c0:6b:a3/4941445"
(35) Cisco-AVPair = "mDNS=true"
(35) NAS-IP-Address = 10.2.4.6
(35) NAS-Identifier = "cisco8540"
(35) Airespace-Wlan-Id = 201
(35) Service-Type = Framed-User
(35) Framed-MTU = 1300
(35) NAS-Port-Type = Wireless-802.11
(35) Tunnel-Type:0 = VLAN
(35) Tunnel-Medium-Type:0 = IEEE-802
(35) Tunnel-Private-Group-Id:0 = "99"
(35) EAP-Message = 0x020400ac1980000000a2160303009d010000990303601ab6b4c30eb5ea5382df19813f1039ff353d17ebedf8df0fa69d760bf733fb00002ac02cc02bc030c02f009f009ec024c023c028c027c00ac009c014c013009d009c003d003c0035002f000a01000046000500050100000000000a00080006001d00170018000b00020100000d001a00180804080508060401050102010403050302030202060106030023000000170000ff01000100
(35) State = 0x0f3943760e3d5ace8318d8416286d92d
(35) Message-Authenticator = 0xfad85de13cea9c228689b3cb2f8c3815
(35) session-state: No cached attributes
(35) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default
(35) authorize {
(35) policy filter_username {
(35) if (&User-Name) {
(35) if (&User-Name) -> TRUE
(35) if (&User-Name) {
(35) if (&User-Name =~ / /) {
(35) if (&User-Name =~ / /) -> FALSE
(35) if (&User-Name =~ /@[^@]*@/ ) {
(35) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(35) if (&User-Name =~ /\.\./ ) {
(35) if (&User-Name =~ /\.\./ ) -> FALSE
(35) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)<mailto:/@(.+)\.(.+)$/)>) {
(35) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)<mailto:/@(.+)\.(.+)$/)>) -> FALSE
(35) if (&User-Name =~ /\.$/) {
(35) if (&User-Name =~ /\.$/) -> FALSE
(35) if (&User-Name =~ /@\./<mailto:/@\./>) {
(35) if (&User-Name =~ /@\./<mailto:/@\./>) -> FALSE
(35) } # if (&User-Name) = notfound
(35) } # policy filter_username = notfound
(35) [preprocess] = ok
(35) auth_log: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d
(35) auth_log: --> /var/log/freeradius/radacct/10.2.4.6/auth-detail-20210203
(35) auth_log: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d expands to /var/log/freeradius/radacct/10.2.4.6/auth-detail-20210203
(35) auth_log: EXPAND %t
(35) auth_log: --> Wed Feb 3 14:44:03 2021
(35) [auth_log] = ok
(35) [chap] = noop
(35) [mschap] = noop
(35) [digest] = noop
(35) suffix: Checking for suffix after "@"
(35) suffix: No '@' in User-Name = "tester", looking up realm NULL
(35) suffix: No such realm "NULL"
(35) [suffix] = noop
(35) eap: Peer sent EAP Response (code 2) ID 4 length 172
(35) eap: Continuing tunnel setup
(35) [eap] = ok
(35) } # authorize = ok
(35) Found Auth-Type = eap
(35) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(35) authenticate {
(35) eap: Expiring EAP session with state 0x0f3943760e3d5ace
(35) eap: Finished EAP session with state 0x0f3943760e3d5ace
(35) eap: Previous EAP request found for state 0x0f3943760e3d5ace, released from the list
(35) eap: Peer sent packet with method EAP PEAP (25)
(35) eap: Calling submodule eap_peap to process data
(35) eap_peap: Continuing EAP-TLS
(35) eap_peap: Peer indicated complete TLS record size will be 162 bytes
(35) eap_peap: Got complete TLS record (162 bytes)
(35) eap_peap: [eaptls verify] = length included
(35) eap_peap: (other): before SSL initialization
(35) eap_peap: TLS_accept: before SSL initialization
(35) eap_peap: TLS_accept: before SSL initialization
(35) eap_peap: <<< recv TLS 1.3 [length 009d]
(35) eap_peap: TLS_accept: SSLv3/TLS read client hello
(35) eap_peap: >>> send TLS 1.2 [length 005d]
(35) eap_peap: TLS_accept: SSLv3/TLS write server hello
(35) eap_peap: >>> send TLS 1.2 [length 1240]
(35) eap_peap: TLS_accept: SSLv3/TLS write certificate
(35) eap_peap: >>> send TLS 1.2 [length 014d]
(35) eap_peap: TLS_accept: SSLv3/TLS write key exchange
(35) eap_peap: >>> send TLS 1.2 [length 0004]
(35) eap_peap: TLS_accept: SSLv3/TLS write server done
(35) eap_peap: TLS_accept: Need to read more data: SSLv3/TLS write server done
(35) eap_peap: TLS - In Handshake Phase
(35) eap_peap: TLS - got 5122 bytes of data
(35) eap_peap: [eaptls process] = handled
(35) eap: Sending EAP Request (code 1) ID 5 length 1024
(35) eap: EAP session adding &reply:State = 0x0f3943760d3c5ace
(35) [eap] = handled
(35) } # authenticate = handled
(35) Using Post-Auth-Type Challenge
(35) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(35) Challenge { ... } # empty sub-section is ignored
(35) Sent Access-Challenge Id 251 from 10.3.5.7:1812 to 10.2.4.6:50660 length 0
(35) EAP-Message = 0x0105040019c000001402160303005d0200005903034f0250382c532d016a5d968b9761bc1fc5bff2b00f4ba179ad79ca0fd13e78872033712b729dd40718aac3790aa98234f10192f9fa8821a186d1ce24c62abf4eb9c030000011ff01000100000b0004030001020017000016030312400b00123c001239000637308206333082051ba003020102021100f83991beacd77a68506c1157996b513b300d06092a864886f70d01010b050030818f310b3009060355040613024742311b30190603550408131247726561746572204d616e636865737465723110300e0603550407130753616c666f726431183016060355040a130f5365637469676f204c696d69746564313730350603550403132e5365637469676f2052534120446f6d61696e2056616c69646174696f6e2053656375726520536572766572204341301e170d3230303631373030303030305a170d3232303632343233353935395a30193117301506035504030c0e2a2e73776d69746563682e6f7267
(35) Message-Authenticator = 0x00000000000000000000000000000000
(35) State = 0x0f3943760d3c5ace8318d8416286d92d
(35) Finished request
Waking up in 4.9 seconds.
(36) Received Access-Request Id 252 from 10.2.4.6:50660 to 10.3.5.7:1812 length 311
(36) User-Name = "tester"
(36) Chargeable-User-Identity = 0x02
(36) Location-Capable = Civic-Location
(36) Calling-Station-Id = "30-10-b3-c0-6b-a3"
(36) Called-Station-Id = "88-75-56-87-a7-b0:MYSSID"
(36) NAS-Port = 8
(36) Cisco-AVPair = "audit-session-id=02fb010a00455eafb3b61a60"
(36) Acct-Session-Id = "601ab6ac/30:10:b3:c0:6b:a3/4941445"
(36) Cisco-AVPair = "mDNS=true"
(36) NAS-IP-Address = 10.2.4.6
(36) NAS-Identifier = "cisco8540"
(36) Airespace-Wlan-Id = 201
(36) Service-Type = Framed-User
(36) Framed-MTU = 1300
(36) NAS-Port-Type = Wireless-802.11
(36) Tunnel-Type:0 = VLAN
(36) Tunnel-Medium-Type:0 = IEEE-802
(36) Tunnel-Private-Group-Id:0 = "99"
(36) EAP-Message = 0x020500061900
(36) State = 0x0f3943760d3c5ace8318d8416286d92d
(36) Message-Authenticator = 0x8b811838408540589d046fd8f20f158c
(36) session-state: No cached attributes
(36) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default
(36) authorize {
(36) policy filter_username {
(36) if (&User-Name) {
(36) if (&User-Name) -> TRUE
(36) if (&User-Name) {
(36) if (&User-Name =~ / /) {
(36) if (&User-Name =~ / /) -> FALSE
(36) if (&User-Name =~ /@[^@]*@/ ) {
(36) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(36) if (&User-Name =~ /\.\./ ) {
(36) if (&User-Name =~ /\.\./ ) -> FALSE
(36) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)<mailto:/@(.+)\.(.+)$/)>) {
(36) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)<mailto:/@(.+)\.(.+)$/)>) -> FALSE
(36) if (&User-Name =~ /\.$/) {
(36) if (&User-Name =~ /\.$/) -> FALSE
(36) if (&User-Name =~ /@\./<mailto:/@\./>) {
(36) if (&User-Name =~ /@\./<mailto:/@\./>) -> FALSE
(36) } # if (&User-Name) = notfound
(36) } # policy filter_username = notfound
(36) [preprocess] = ok
(36) auth_log: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d
(36) auth_log: --> /var/log/freeradius/radacct/10.2.4.6/auth-detail-20210203
(36) auth_log: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d expands to /var/log/freeradius/radacct/10.2.4.6/auth-detail-20210203
(36) auth_log: EXPAND %t
(36) auth_log: --> Wed Feb 3 14:44:03 2021
(36) [auth_log] = ok
(36) [chap] = noop
(36) [mschap] = noop
(36) [digest] = noop
(36) suffix: Checking for suffix after "@"
(36) suffix: No '@' in User-Name = "tester", looking up realm NULL
(36) suffix: No such realm "NULL"
(36) [suffix] = noop
(36) eap: Peer sent EAP Response (code 2) ID 5 length 6
(36) eap: Continuing tunnel setup
(36) [eap] = ok
(36) } # authorize = ok
(36) Found Auth-Type = eap
(36) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(36) authenticate {
(36) eap: Expiring EAP session with state 0x0f3943760d3c5ace
(36) eap: Finished EAP session with state 0x0f3943760d3c5ace
(36) eap: Previous EAP request found for state 0x0f3943760d3c5ace, released from the list
(36) eap: Peer sent packet with method EAP PEAP (25)
(36) eap: Calling submodule eap_peap to process data
(36) eap_peap: Continuing EAP-TLS
(36) eap_peap: Peer ACKed our handshake fragment
(36) eap_peap: [eaptls verify] = request
(36) eap_peap: [eaptls process] = handled
(36) eap: Sending EAP Request (code 1) ID 6 length 1020
(36) eap: EAP session adding &reply:State = 0x0f3943760c3f5ace
(36) [eap] = handled
(36) } # authenticate = handled
(36) Using Post-Auth-Type Challenge
(36) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(36) Challenge { ... } # empty sub-section is ignored
(36) Sent Access-Challenge Id 252 from 10.3.5.7:1812 to 10.2.4.6:50660 length 0
(36) EAP-Message = 0x010603fc19400e2a2e73776d69746563682e6f7267820c73776d69746563682e6f72673082017d060a2b06010401d6790204020482016d04820169016700760046a555eb75fa912030b5a28969f4f37d112c4174befd49b885abf2fc70fe6d4700000172c36debdf000004030047304502203f82246edffd0ec1e2a6aac106125724d2bfdd812852f37d12195c8333a80cc3022100968a40c29f97b70a28c0c45f3cc543fddacf2ba3baa141e31393fafb6e989e91007500dfa55eab68824f1f6cadeeb85f4e3e5aeacda212a46a5e8e3b12c020445c2a7300000172c36dec100000040300463044022047bf38d631b55063523caa11f2a8e6a49ba342fec333a8e142d9e63aad9b887502201395abcaf887ee7a4e49d414a074bb49c2c14424e9e660ade1055f469a21a8c00076006f5376ac31f03119d89900a45115ff77151c11d902c10029068db2089a37d91300000172c36debd70000040300473045022100e823a5355123b4934b8d0a5d2b680e4f30d4913e06
(36) Message-Authenticator = 0x00000000000000000000000000000000
(36) State = 0x0f3943760c3f5ace8318d8416286d92d
(36) Finished request
Waking up in 4.8 seconds.
(37) Received Access-Request Id 253 from 10.2.4.6:50660 to 10.3.5.7:1812 length 311
(37) User-Name = "tester"
(37) Chargeable-User-Identity = 0x02
(37) Location-Capable = Civic-Location
(37) Calling-Station-Id = "30-10-b3-c0-6b-a3"
(37) Called-Station-Id = "88-75-56-87-a7-b0:MYSSID"
(37) NAS-Port = 8
(37) Cisco-AVPair = "audit-session-id=02fb010a00455eafb3b61a60"
(37) Acct-Session-Id = "601ab6ac/30:10:b3:c0:6b:a3/4941445"
(37) Cisco-AVPair = "mDNS=true"
(37) NAS-IP-Address = 10.2.4.6
(37) NAS-Identifier = "cisco8540"
(37) Airespace-Wlan-Id = 201
(37) Service-Type = Framed-User
(37) Framed-MTU = 1300
(37) NAS-Port-Type = Wireless-802.11
(37) Tunnel-Type:0 = VLAN
(37) Tunnel-Medium-Type:0 = IEEE-802
(37) Tunnel-Private-Group-Id:0 = "99"
(37) EAP-Message = 0x020600061900
(37) State = 0x0f3943760c3f5ace8318d8416286d92d
(37) Message-Authenticator = 0x0cfd3f79a0628bc4b1883f7d5aaa2209
(37) session-state: No cached attributes
(37) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default
(37) authorize {
(37) policy filter_username {
(37) if (&User-Name) {
(37) if (&User-Name) -> TRUE
(37) if (&User-Name) {
(37) if (&User-Name =~ / /) {
(37) if (&User-Name =~ / /) -> FALSE
(37) if (&User-Name =~ /@[^@]*@/ ) {
(37) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(37) if (&User-Name =~ /\.\./ ) {
(37) if (&User-Name =~ /\.\./ ) -> FALSE
(37) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)<mailto:/@(.+)\.(.+)$/)>) {
(37) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)<mailto:/@(.+)\.(.+)$/)>) -> FALSE
(37) if (&User-Name =~ /\.$/) {
(37) if (&User-Name =~ /\.$/) -> FALSE
(37) if (&User-Name =~ /@\./<mailto:/@\./>) {
(37) if (&User-Name =~ /@\./<mailto:/@\./>) -> FALSE
(37) } # if (&User-Name) = notfound
(37) } # policy filter_username = notfound
(37) [preprocess] = ok
(37) auth_log: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d
(37) auth_log: --> /var/log/freeradius/radacct/10.2.4.6/auth-detail-20210203
(37) auth_log: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d expands to /var/log/freeradius/radacct/10.2.4.6/auth-detail-20210203
(37) auth_log: EXPAND %t
(37) auth_log: --> Wed Feb 3 14:44:03 2021
(37) [auth_log] = ok
(37) [chap] = noop
(37) [mschap] = noop
(37) [digest] = noop
(37) suffix: Checking for suffix after "@"
(37) suffix: No '@' in User-Name = "tester", looking up realm NULL
(37) suffix: No such realm "NULL"
(37) [suffix] = noop
(37) eap: Peer sent EAP Response (code 2) ID 6 length 6
(37) eap: Continuing tunnel setup
(37) [eap] = ok
(37) } # authorize = ok
(37) Found Auth-Type = eap
(37) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(37) authenticate {
(37) eap: Expiring EAP session with state 0x0f3943760c3f5ace
(37) eap: Finished EAP session with state 0x0f3943760c3f5ace
(37) eap: Previous EAP request found for state 0x0f3943760c3f5ace, released from the list
(37) eap: Peer sent packet with method EAP PEAP (25)
(37) eap: Calling submodule eap_peap to process data
(37) eap_peap: Continuing EAP-TLS
(37) eap_peap: Peer ACKed our handshake fragment
(37) eap_peap: [eaptls verify] = request
(37) eap_peap: [eaptls process] = handled
(37) eap: Sending EAP Request (code 1) ID 7 length 1020
(37) eap: EAP session adding &reply:State = 0x0f3943760b3e5ace
(37) [eap] = handled
(37) } # authenticate = handled
(37) Using Post-Auth-Type Challenge
(37) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(37) Challenge { ... } # empty sub-section is ignored
(37) Sent Access-Challenge Id 253 from 10.3.5.7:1812 to 10.2.4.6:50660 length 0
(37) EAP-Message = 0x010703fc194069676f2052534120446f6d61696e2056616c69646174696f6e205365637572652053657276657220434130820122300d06092a864886f70d01010105000382010f003082010a0282010100d67333d6d73c20d000d21745b8d63e07a23fc741ee3230c9b06cfdf49fcb12980f2d3f8d4d010c820f177f622ee9b84879fb16834eadd7322593b707bfb9503fa94cc3402ae939ffd981ca1f163241da8026b9237a87201ee3ff209a3c95446f8775069040b4329316091008233ed2dd870f6f5d51146a0a69c54f017269cfd3934c6d04a0a31b827eb19ab9edc59ec537789f9a0834fb562e58c4090e06645bbc37dcf19f2868a856b092a35c9fbb8898081b241dab3085aeafb02e9e7a9dc1c0421ce202f0eae04ad2ef900eb4c14016f06f85424a64f7a430a0febf2ea3275a8e8b58b8adc319178463ed6f56fd83cb6034c474bee69ddbe1e4e5ca0c5f150203010001a382016e3082016a301f0603551d230418301680145379bf5aaa2b4acf5480e1d8
(37) Message-Authenticator = 0x00000000000000000000000000000000
(37) State = 0x0f3943760b3e5ace8318d8416286d92d
(37) Finished request
Waking up in 4.8 seconds.
(38) Received Access-Request Id 254 from 10.2.4.6:50660 to 10.3.5.7:1812 length 311
(38) User-Name = "tester"
(38) Chargeable-User-Identity = 0x02
(38) Location-Capable = Civic-Location
(38) Calling-Station-Id = "30-10-b3-c0-6b-a3"
(38) Called-Station-Id = "88-75-56-87-a7-b0:MYSSID"
(38) NAS-Port = 8
(38) Cisco-AVPair = "audit-session-id=02fb010a00455eafb3b61a60"
(38) Acct-Session-Id = "601ab6ac/30:10:b3:c0:6b:a3/4941445"
(38) Cisco-AVPair = "mDNS=true"
(38) NAS-IP-Address = 10.2.4.6
(38) NAS-Identifier = "cisco8540"
(38) Airespace-Wlan-Id = 201
(38) Service-Type = Framed-User
(38) Framed-MTU = 1300
(38) NAS-Port-Type = Wireless-802.11
(38) Tunnel-Type:0 = VLAN
(38) Tunnel-Medium-Type:0 = IEEE-802
(38) Tunnel-Private-Group-Id:0 = "99"
(38) EAP-Message = 0x020700061900
(38) State = 0x0f3943760b3e5ace8318d8416286d92d
(38) Message-Authenticator = 0x2c651601fc2adea7eddcf1c872d34305
(38) session-state: No cached attributes
(38) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default
(38) authorize {
(38) policy filter_username {
(38) if (&User-Name) {
(38) if (&User-Name) -> TRUE
(38) if (&User-Name) {
(38) if (&User-Name =~ / /) {
(38) if (&User-Name =~ / /) -> FALSE
(38) if (&User-Name =~ /@[^@]*@/ ) {
(38) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(38) if (&User-Name =~ /\.\./ ) {
(38) if (&User-Name =~ /\.\./ ) -> FALSE
(38) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)<mailto:/@(.+)\.(.+)$/)>) {
(38) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)<mailto:/@(.+)\.(.+)$/)>) -> FALSE
(38) if (&User-Name =~ /\.$/) {
(38) if (&User-Name =~ /\.$/) -> FALSE
(38) if (&User-Name =~ /@\./<mailto:/@\./>) {
(38) if (&User-Name =~ /@\./<mailto:/@\./>) -> FALSE
(38) } # if (&User-Name) = notfound
(38) } # policy filter_username = notfound
(38) [preprocess] = ok
(38) auth_log: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d
(38) auth_log: --> /var/log/freeradius/radacct/10.2.4.6/auth-detail-20210203
(38) auth_log: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d expands to /var/log/freeradius/radacct/10.2.4.6/auth-detail-20210203
(38) auth_log: EXPAND %t
(38) auth_log: --> Wed Feb 3 14:44:03 2021
(38) [auth_log] = ok
(38) [chap] = noop
(38) [mschap] = noop
(38) [digest] = noop
(38) suffix: Checking for suffix after "@"
(38) suffix: No '@' in User-Name = "tester", looking up realm NULL
(38) suffix: No such realm "NULL"
(38) [suffix] = noop
(38) eap: Peer sent EAP Response (code 2) ID 7 length 6
(38) eap: Continuing tunnel setup
(38) [eap] = ok
(38) } # authorize = ok
(38) Found Auth-Type = eap
(38) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(38) authenticate {
(38) eap: Expiring EAP session with state 0x0f3943760b3e5ace
(38) eap: Finished EAP session with state 0x0f3943760b3e5ace
(38) eap: Previous EAP request found for state 0x0f3943760b3e5ace, released from the list
(38) eap: Peer sent packet with method EAP PEAP (25)
(38) eap: Calling submodule eap_peap to process data
(38) eap_peap: Continuing EAP-TLS
(38) eap_peap: Peer ACKed our handshake fragment
(38) eap_peap: [eaptls verify] = request
(38) eap_peap: [eaptls process] = handled
(38) eap: Sending EAP Request (code 1) ID 8 length 1020
(38) eap: EAP session adding &reply:State = 0x0f3943760a315ace
(38) [eap] = handled
(38) } # authenticate = handled
(38) Using Post-Auth-Type Challenge
(38) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(38) Challenge { ... } # empty sub-section is ignored
(38) Sent Access-Challenge Id 254 from 10.3.5.7:1812 to 10.2.4.6:50660 length 0
(38) EAP-Message = 0x010803fc194005875ba9b7b8a3200b97a94585ddb38be589378e290dfc0617f638400e42e41206fb7bf3c6116862dfe398f413d8154f8bb169d91060bc642aea31b7e4b5a33a149b26e30b7bfd028eb699c138975936f6a874a286b65eebc664eacfa0a3f96e9eba2d11b6869808582dc9ac2564f25e75b438c1ae7f5a4683ea51cab6f19911356ba56a7bc600b0e7f8be64b2adc8c2f1ace351eaa493e079c8e18140c90a5be1123cc1602ae397c08942ca94cf46981269bb98d0c2d30d724b476ee593c43228638743e4b0323e0ad34bbf239b1429412b9a041f932df1c739483cad5a127f0005e2308205de308203c6a003020102021001fd6d30fca3ca51a81bbc640e35032d300d06092a864886f70d01010c0500308188310b3009060355040613025553311330110603550408130a4e6577204a6572736579311430120603550407130b4a65727365792043697479311e301c060355040a131554686520555345525452555354204e6574776f726b312e302c06
(38) Message-Authenticator = 0x00000000000000000000000000000000
(38) State = 0x0f3943760a315ace8318d8416286d92d
(38) Finished request
Waking up in 4.8 seconds.
(39) Received Access-Request Id 255 from 10.2.4.6:50660 to 10.3.5.7:1812 length 311
(39) User-Name = "tester"
(39) Chargeable-User-Identity = 0x02
(39) Location-Capable = Civic-Location
(39) Calling-Station-Id = "30-10-b3-c0-6b-a3"
(39) Called-Station-Id = "88-75-56-87-a7-b0:MYSSID"
(39) NAS-Port = 8
(39) Cisco-AVPair = "audit-session-id=02fb010a00455eafb3b61a60"
(39) Acct-Session-Id = "601ab6ac/30:10:b3:c0:6b:a3/4941445"
(39) Cisco-AVPair = "mDNS=true"
(39) NAS-IP-Address = 10.2.4.6
(39) NAS-Identifier = "cisco8540"
(39) Airespace-Wlan-Id = 201
(39) Service-Type = Framed-User
(39) Framed-MTU = 1300
(39) NAS-Port-Type = Wireless-802.11
(39) Tunnel-Type:0 = VLAN
(39) Tunnel-Medium-Type:0 = IEEE-802
(39) Tunnel-Private-Group-Id:0 = "99"
(39) EAP-Message = 0x020800061900
(39) State = 0x0f3943760a315ace8318d8416286d92d
(39) Message-Authenticator = 0x449b3a995bd9dddf8fd613af9dd5a333
(39) session-state: No cached attributes
(39) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default
(39) authorize {
(39) policy filter_username {
(39) if (&User-Name) {
(39) if (&User-Name) -> TRUE
(39) if (&User-Name) {
(39) if (&User-Name =~ / /) {
(39) if (&User-Name =~ / /) -> FALSE
(39) if (&User-Name =~ /@[^@]*@/ ) {
(39) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(39) if (&User-Name =~ /\.\./ ) {
(39) if (&User-Name =~ /\.\./ ) -> FALSE
(39) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)<mailto:/@(.+)\.(.+)$/)>) {
(39) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)<mailto:/@(.+)\.(.+)$/)>) -> FALSE
(39) if (&User-Name =~ /\.$/) {
(39) if (&User-Name =~ /\.$/) -> FALSE
(39) if (&User-Name =~ /@\./<mailto:/@\./>) {
(39) if (&User-Name =~ /@\./<mailto:/@\./>) -> FALSE
(39) } # if (&User-Name) = notfound
(39) } # policy filter_username = notfound
(39) [preprocess] = ok
(39) auth_log: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d
(39) auth_log: --> /var/log/freeradius/radacct/10.2.4.6/auth-detail-20210203
(39) auth_log: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d expands to /var/log/freeradius/radacct/10.2.4.6/auth-detail-20210203
(39) auth_log: EXPAND %t
(39) auth_log: --> Wed Feb 3 14:44:03 2021
(39) [auth_log] = ok
(39) [chap] = noop
(39) [mschap] = noop
(39) [digest] = noop
(39) suffix: Checking for suffix after "@"
(39) suffix: No '@' in User-Name = "tester", looking up realm NULL
(39) suffix: No such realm "NULL"
(39) [suffix] = noop
(39) eap: Peer sent EAP Response (code 2) ID 8 length 6
(39) eap: Continuing tunnel setup
(39) [eap] = ok
(39) } # authorize = ok
(39) Found Auth-Type = eap
(39) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(39) authenticate {
(39) eap: Expiring EAP session with state 0x0f3943760a315ace
(39) eap: Finished EAP session with state 0x0f3943760a315ace
(39) eap: Previous EAP request found for state 0x0f3943760a315ace, released from the list
(39) eap: Peer sent packet with method EAP PEAP (25)
(39) eap: Calling submodule eap_peap to process data
(39) eap_peap: Continuing EAP-TLS
(39) eap_peap: Peer ACKed our handshake fragment
(39) eap_peap: [eaptls verify] = request
(39) eap_peap: [eaptls process] = handled
(39) eap: Sending EAP Request (code 1) ID 9 length 1020
(39) eap: EAP session adding &reply:State = 0x0f39437609305ace
(39) [eap] = handled
(39) } # authenticate = handled
(39) Using Post-Auth-Type Challenge
(39) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(39) Challenge { ... } # empty sub-section is ignored
(39) Sent Access-Challenge Id 255 from 10.3.5.7:1812 to 10.2.4.6:50660 length 0
(39) EAP-Message = 0x010903fc1940e651920ef3267d1c4d17bcc9ec4326d0bf415f40a94444f499e757879e501f5754a83efd74632fb1506509e658422e431a4cb4f0254759fa041e93d426464a5081b2debe78b7fc6715e1c957841e0f63d6e962bad65f552eea5cc62808042539b80e2ba9f24c971c073f0d52f5edef2f820f0203010001a3423040301d0603551d0e041604145379bf5aaa2b4acf5480e1d89bc09df2b20366cb300e0603551d0f0101ff040403020106300f0603551d130101ff040530030101ff300d06092a864886f70d01010c050003820201005cd47c0dcff7017d4199650c73c5529fcbf8cf99067f1bda43159f9e0255579614f1523c27879428ed1f3a0137a276fc5350c0849bc66b4eba8c214fa28e556291f36915d8bc88e3c4aa0bfdefa8e94b552a06206d55782919ee5f305c4b241155ff249a6e5e2a2bee0b4d9f7ff70138941495430709fb60a9ee1cab128ca09a5ea7986a596d8b3f08fbc8d145af18156490120f73282ec5e2244efc58ecf0f445fe
(39) Message-Authenticator = 0x00000000000000000000000000000000
(39) State = 0x0f39437609305ace8318d8416286d92d
(39) Finished request
Waking up in 4.7 seconds.
(40) Received Access-Request Id 0 from 10.2.4.6:50660 to 10.3.5.7:1812 length 311
(40) User-Name = "tester"
(40) Chargeable-User-Identity = 0x02
(40) Location-Capable = Civic-Location
(40) Calling-Station-Id = "30-10-b3-c0-6b-a3"
(40) Called-Station-Id = "88-75-56-87-a7-b0:MYSSID"
(40) NAS-Port = 8
(40) Cisco-AVPair = "audit-session-id=02fb010a00455eafb3b61a60"
(40) Acct-Session-Id = "601ab6ac/30:10:b3:c0:6b:a3/4941445"
(40) Cisco-AVPair = "mDNS=true"
(40) NAS-IP-Address = 10.2.4.6
(40) NAS-Identifier = "cisco8540"
(40) Airespace-Wlan-Id = 201
(40) Service-Type = Framed-User
(40) Framed-MTU = 1300
(40) NAS-Port-Type = Wireless-802.11
(40) Tunnel-Type:0 = VLAN
(40) Tunnel-Medium-Type:0 = IEEE-802
(40) Tunnel-Private-Group-Id:0 = "99"
(40) EAP-Message = 0x020900061900
(40) State = 0x0f39437609305ace8318d8416286d92d
(40) Message-Authenticator = 0x4ef50fcb8cba71f9bd1deb1784b1de0f
(40) session-state: No cached attributes
(40) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default
(40) authorize {
(40) policy filter_username {
(40) if (&User-Name) {
(40) if (&User-Name) -> TRUE
(40) if (&User-Name) {
(40) if (&User-Name =~ / /) {
(40) if (&User-Name =~ / /) -> FALSE
(40) if (&User-Name =~ /@[^@]*@/ ) {
(40) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(40) if (&User-Name =~ /\.\./ ) {
(40) if (&User-Name =~ /\.\./ ) -> FALSE
(40) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)<mailto:/@(.+)\.(.+)$/)>) {
(40) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)<mailto:/@(.+)\.(.+)$/)>) -> FALSE
(40) if (&User-Name =~ /\.$/) {
(40) if (&User-Name =~ /\.$/) -> FALSE
(40) if (&User-Name =~ /@\./<mailto:/@\./>) {
(40) if (&User-Name =~ /@\./<mailto:/@\./>) -> FALSE
(40) } # if (&User-Name) = notfound
(40) } # policy filter_username = notfound
(40) [preprocess] = ok
(40) auth_log: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d
(40) auth_log: --> /var/log/freeradius/radacct/10.2.4.6/auth-detail-20210203
(40) auth_log: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d expands to /var/log/freeradius/radacct/10.2.4.6/auth-detail-20210203
(40) auth_log: EXPAND %t
(40) auth_log: --> Wed Feb 3 14:44:03 2021
(40) [auth_log] = ok
(40) [chap] = noop
(40) [mschap] = noop
(40) [digest] = noop
(40) suffix: Checking for suffix after "@"
(40) suffix: No '@' in User-Name = "tester", looking up realm NULL
(40) suffix: No such realm "NULL"
(40) [suffix] = noop
(40) eap: Peer sent EAP Response (code 2) ID 9 length 6
(40) eap: Continuing tunnel setup
(40) [eap] = ok
(40) } # authorize = ok
(40) Found Auth-Type = eap
(40) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(40) authenticate {
(40) eap: Expiring EAP session with state 0x0f39437609305ace
(40) eap: Finished EAP session with state 0x0f39437609305ace
(40) eap: Previous EAP request found for state 0x0f39437609305ace, released from the list
(40) eap: Peer sent packet with method EAP PEAP (25)
(40) eap: Calling submodule eap_peap to process data
(40) eap_peap: Continuing EAP-TLS
(40) eap_peap: Peer ACKed our handshake fragment
(40) eap_peap: [eaptls verify] = request
(40) eap_peap: [eaptls process] = handled
(40) eap: Sending EAP Request (code 1) ID 10 length 58
(40) eap: EAP session adding &reply:State = 0x0f39437608335ace
(40) [eap] = handled
(40) } # authenticate = handled
(40) Using Post-Auth-Type Challenge
(40) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(40) Challenge { ... } # empty sub-section is ignored
(40) Sent Access-Challenge Id 0 from 10.3.5.7:1812 to 10.2.4.6:50660 length 0
(40) EAP-Message = 0x010a003a1900714350ce9ae8bea32efb81e92d5c7acceed14e63079e79924ca0e6394fd21b02a61ddf05a5925bb7b579c916030300040e000000
(40) Message-Authenticator = 0x00000000000000000000000000000000
(40) State = 0x0f39437608335ace8318d8416286d92d
(40) Finished request
Waking up in 4.7 seconds.
(41) Received Access-Request Id 1 from 10.2.4.6:50660 to 10.3.5.7:1812 length 441
(41) User-Name = "tester"
(41) Chargeable-User-Identity = 0x02
(41) Location-Capable = Civic-Location
(41) Calling-Station-Id = "30-10-b3-c0-6b-a3"
(41) Called-Station-Id = "88-75-56-87-a7-b0:MYSSID"
(41) NAS-Port = 8
(41) Cisco-AVPair = "audit-session-id=02fb010a00455eafb3b61a60"
(41) Acct-Session-Id = "601ab6ac/30:10:b3:c0:6b:a3/4941445"
(41) Cisco-AVPair = "mDNS=true"
(41) NAS-IP-Address = 10.2.4.6
(41) NAS-Identifier = "cisco8540"
(41) Airespace-Wlan-Id = 201
(41) Service-Type = Framed-User
(41) Framed-MTU = 1300
(41) NAS-Port-Type = Wireless-802.11
(41) Tunnel-Type:0 = VLAN
(41) Tunnel-Medium-Type:0 = IEEE-802
(41) Tunnel-Private-Group-Id:0 = "99"
(41) EAP-Message = 0x020a008819800000007e1603030046100000424104e4918ae896cd0883124d5fb82b4e483f11343e26f5c6e76902e816885731cda43d81ebba864c3521250d811dbd5bc084fa1dca048d80c40c044d0452defa2aef14030300010116030300280000000000000000faf98b71dbfdffbbe75d7a6bd396ed19c88d88d7dc4d653db976fb5fb0fdeb54
(41) State = 0x0f39437608335ace8318d8416286d92d
(41) Message-Authenticator = 0xcde7aff53998d044439a04e3fbd39ca8
(41) session-state: No cached attributes
(41) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default
(41) authorize {
(41) policy filter_username {
(41) if (&User-Name) {
(41) if (&User-Name) -> TRUE
(41) if (&User-Name) {
(41) if (&User-Name =~ / /) {
(41) if (&User-Name =~ / /) -> FALSE
(41) if (&User-Name =~ /@[^@]*@/ ) {
(41) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(41) if (&User-Name =~ /\.\./ ) {
(41) if (&User-Name =~ /\.\./ ) -> FALSE
(41) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)<mailto:/@(.+)\.(.+)$/)>) {
(41) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)<mailto:/@(.+)\.(.+)$/)>) -> FALSE
(41) if (&User-Name =~ /\.$/) {
(41) if (&User-Name =~ /\.$/) -> FALSE
(41) if (&User-Name =~ /@\./<mailto:/@\./>) {
(41) if (&User-Name =~ /@\./<mailto:/@\./>) -> FALSE
(41) } # if (&User-Name) = notfound
(41) } # policy filter_username = notfound
(41) [preprocess] = ok
(41) auth_log: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d
(41) auth_log: --> /var/log/freeradius/radacct/10.2.4.6/auth-detail-20210203
(41) auth_log: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d expands to /var/log/freeradius/radacct/10.2.4.6/auth-detail-20210203
(41) auth_log: EXPAND %t
(41) auth_log: --> Wed Feb 3 14:44:03 2021
(41) [auth_log] = ok
(41) [chap] = noop
(41) [mschap] = noop
(41) [digest] = noop
(41) suffix: Checking for suffix after "@"
(41) suffix: No '@' in User-Name = "tester", looking up realm NULL
(41) suffix: No such realm "NULL"
(41) [suffix] = noop
(41) eap: Peer sent EAP Response (code 2) ID 10 length 136
(41) eap: Continuing tunnel setup
(41) [eap] = ok
(41) } # authorize = ok
(41) Found Auth-Type = eap
(41) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(41) authenticate {
(41) eap: Expiring EAP session with state 0x0f39437608335ace
(41) eap: Finished EAP session with state 0x0f39437608335ace
(41) eap: Previous EAP request found for state 0x0f39437608335ace, released from the list
(41) eap: Peer sent packet with method EAP PEAP (25)
(41) eap: Calling submodule eap_peap to process data
(41) eap_peap: Continuing EAP-TLS
(41) eap_peap: Peer indicated complete TLS record size will be 126 bytes
(41) eap_peap: Got complete TLS record (126 bytes)
(41) eap_peap: [eaptls verify] = length included
(41) eap_peap: TLS_accept: SSLv3/TLS write server done
(41) eap_peap: <<< recv TLS 1.2 [length 0046]
(41) eap_peap: TLS_accept: SSLv3/TLS read client key exchange
(41) eap_peap: TLS_accept: SSLv3/TLS read change cipher spec
(41) eap_peap: <<< recv TLS 1.2 [length 0010]
(41) eap_peap: TLS_accept: SSLv3/TLS read finished
(41) eap_peap: >>> send TLS 1.2 [length 0001]
(41) eap_peap: TLS_accept: SSLv3/TLS write change cipher spec
(41) eap_peap: >>> send TLS 1.2 [length 0010]
(41) eap_peap: TLS_accept: SSLv3/TLS write finished
(41) eap_peap: (other): SSL negotiation finished successfully
(41) eap_peap: TLS - Connection Established
(41) eap_peap: TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(41) eap_peap: TLS-Session-Version = "TLS 1.2"
(41) eap_peap: TLS - got 51 bytes of data
(41) eap_peap: [eaptls process] = handled
(41) eap: Sending EAP Request (code 1) ID 11 length 57
(41) eap: EAP session adding &reply:State = 0x0f39437607325ace
(41) [eap] = handled
(41) } # authenticate = handled
(41) Using Post-Auth-Type Challenge
(41) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(41) Challenge { ... } # empty sub-section is ignored
(41) session-state: Saving cached attributes
(41) TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(41) TLS-Session-Version = "TLS 1.2"
(41) Sent Access-Challenge Id 1 from 10.3.5.7:1812 to 10.2.4.6:50660 length 0
(41) EAP-Message = 0x010b0039190014030300010116030300286c036b714dcb4dcd3d17719728289e1c334a609895d945da69b9ab8e5066b534f1cb223ae9e1df47
(41) Message-Authenticator = 0x00000000000000000000000000000000
(41) State = 0x0f39437607325ace8318d8416286d92d
(41) Finished request
Waking up in 4.7 seconds.
(42) Received Access-Request Id 2 from 10.2.4.6:50660 to 10.3.5.7:1812 length 346
(42) User-Name = "tester"
(42) Chargeable-User-Identity = 0x02
(42) Location-Capable = Civic-Location
(42) Calling-Station-Id = "30-10-b3-c0-6b-a3"
(42) Called-Station-Id = "88-75-56-87-a7-b0:MYSSID"
(42) NAS-Port = 8
(42) Cisco-AVPair = "audit-session-id=02fb010a00455eafb3b61a60"
(42) Acct-Session-Id = "601ab6ac/30:10:b3:c0:6b:a3/4941445"
(42) Cisco-AVPair = "mDNS=true"
(42) NAS-IP-Address = 10.2.4.6
(42) NAS-Identifier = "cisco8540"
(42) Airespace-Wlan-Id = 201
(42) Service-Type = Framed-User
(42) Framed-MTU = 1300
(42) NAS-Port-Type = Wireless-802.11
(42) Tunnel-Type:0 = VLAN
(42) Tunnel-Medium-Type:0 = IEEE-802
(42) Tunnel-Private-Group-Id:0 = "99"
(42) EAP-Message = 0x020b002919800000001f150303001a0000000000000001643239a7d596b18fa6dacc588f2545a4baa8
(42) State = 0x0f39437607325ace8318d8416286d92d
(42) Message-Authenticator = 0x944cf0829ab223665478fb206a56c222
(42) Restoring &session-state
(42) &session-state:TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(42) &session-state:TLS-Session-Version = "TLS 1.2"
(42) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default
(42) authorize {
(42) policy filter_username {
(42) if (&User-Name) {
(42) if (&User-Name) -> TRUE
(42) if (&User-Name) {
(42) if (&User-Name =~ / /) {
(42) if (&User-Name =~ / /) -> FALSE
(42) if (&User-Name =~ /@[^@]*@/ ) {
(42) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(42) if (&User-Name =~ /\.\./ ) {
(42) if (&User-Name =~ /\.\./ ) -> FALSE
(42) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)<mailto:/@(.+)\.(.+)$/)>) {
(42) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)<mailto:/@(.+)\.(.+)$/)>) -> FALSE
(42) if (&User-Name =~ /\.$/) {
(42) if (&User-Name =~ /\.$/) -> FALSE
(42) if (&User-Name =~ /@\./<mailto:/@\./>) {
(42) if (&User-Name =~ /@\./<mailto:/@\./>) -> FALSE
(42) } # if (&User-Name) = notfound
(42) } # policy filter_username = notfound
(42) [preprocess] = ok
(42) auth_log: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d
(42) auth_log: --> /var/log/freeradius/radacct/10.2.4.6/auth-detail-20210203
(42) auth_log: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d expands to /var/log/freeradius/radacct/10.2.4.6/auth-detail-20210203
(42) auth_log: EXPAND %t
(42) auth_log: --> Wed Feb 3 14:44:03 2021
(42) [auth_log] = ok
(42) [chap] = noop
(42) [mschap] = noop
(42) [digest] = noop
(42) suffix: Checking for suffix after "@"
(42) suffix: No '@' in User-Name = "tester", looking up realm NULL
(42) suffix: No such realm "NULL"
(42) [suffix] = noop
(42) eap: Peer sent EAP Response (code 2) ID 11 length 41
(42) eap: Continuing tunnel setup
(42) [eap] = ok
(42) } # authorize = ok
(42) Found Auth-Type = eap
(42) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(42) authenticate {
(42) eap: Expiring EAP session with state 0x0f39437607325ace
(42) eap: Finished EAP session with state 0x0f39437607325ace
(42) eap: Previous EAP request found for state 0x0f39437607325ace, released from the list
(42) eap: Peer sent packet with method EAP PEAP (25)
(42) eap: Calling submodule eap_peap to process data
(42) eap_peap: Continuing EAP-TLS
(42) eap_peap: Peer indicated complete TLS record size will be 31 bytes
(42) eap_peap: Got complete TLS record (31 bytes)
(42) eap_peap: [eaptls verify] = length included
(42) eap_peap: <<< recv TLS 1.2 [length 0002]
(42) eap_peap: ERROR: TLS Alert read:fatal:access denied
(42) eap_peap: SSL_read Error
(42) eap_peap: ERROR: Error in fragmentation logic
(42) eap_peap: ERROR: Failed in __FUNCTION__ (SSL_read): error:14094419:SSL routines:ssl3_read_bytes:tlsv1 alert access denied
(42) eap_peap: ERROR: [eaptls process] = fail
(42) eap: ERROR: Failed continuing EAP PEAP (25) session. EAP sub-module failed
(42) eap: Sending EAP Failure (code 4) ID 11 length 4
(42) eap: Failed in EAP select
(42) [eap] = invalid
(42) } # authenticate = invalid
(42) Failed to authenticate the user
(42) Using Post-Auth-Type Reject
(42) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(42) Post-Auth-Type REJECT {
(42) attr_filter.access_reject: EXPAND %{User-Name}
(42) attr_filter.access_reject: --> tester
(42) attr_filter.access_reject: Matched entry DEFAULT at line 11
(42) [attr_filter.access_reject] = updated
(42) [eap] = noop
(42) policy remove_reply_message_if_eap {
(42) if (&reply:EAP-Message && &reply:Reply-Message) {
(42) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE
(42) else {
(42) [noop] = noop
(42) } # else = noop
(42) } # policy remove_reply_message_if_eap = noop
(42) } # Post-Auth-Type REJECT = updated
(42) Login incorrect (eap_peap: TLS Alert read:fatal:access denied): [tester] (from client testwlc port 8 cli 30-10-b3-c0-6b-a3)
(42) Delaying response for 1.000000 seconds
Waking up in 0.3 seconds.
Waking up in 0.6 seconds.
(42) Sending delayed response
(42) Sent Access-Reject Id 2 from 10.3.5.7:1812 to 10.2.4.6:50660 length 44
(42) EAP-Message = 0x040b0004
(42) Message-Authenticator = 0x00000000000000000000000000000000
Waking up in 3.6 seconds.
(33) Cleaning up request packet ID 249 with timestamp +1954
(34) Cleaning up request packet ID 250 with timestamp +1954
(35) Cleaning up request packet ID 251 with timestamp +1954
(36) Cleaning up request packet ID 252 with timestamp +1954
(37) Cleaning up request packet ID 253 with timestamp +1954
(38) Cleaning up request packet ID 254 with timestamp +1954
(39) Cleaning up request packet ID 255 with timestamp +1954
(40) Cleaning up request packet ID 0 with timestamp +1954
(41) Cleaning up request packet ID 1 with timestamp +1954
(42) Cleaning up request packet ID 2 with timestamp +1954
Ready to process requests
More information about the Freeradius-Users
mailing list