Users in SQL not accepted, AD works.
it at wehle.dev
it at wehle.dev
Tue Jan 9 20:29:26 UTC 2024
Hi Alan,
> It's easy to set up a testing system. Or, run the same server on a different port from the command line.
Well, that part is easy yes, but I still had to setup a second WLAN and network access to the second server which I didn't have time for yesterday, sorry. Anyway, done. :-)
> No.
>
> The devices are doing EAP-TLS because they've been configured to do EAP-TLS.
Alright, so what I just did: I set up a new WLAN with a new SSID. I then connected with my client (again, Windows 10) to it, without any manual configuration of the WLAN or anything; just selecting the entry in the wireless network settings. I used the credentials stored in SQL. No surprises here, it fails again.
I then did the very same thing with the credentials stored in AD. WLAN is immediately connected and everything works.
I then disconnected, made the system forget the credentials and tried to connect again with the guest-credentials. Again, doesn't work.
> The devices have no idea which database is configured for FreeRADIUS.
Since the client doesn't handle the two usernames differently and it does not know about the database, it would be my understanding that both accounts should work iff both databases work the same way?
> Configure the devices properly. The wiki page I linked to explains this in detail.
I'm not configuring the devices any different when switching from one configuration to the other. Why does it work with one set of credentials and not with the other set?
My default TLS configuration uses PEAP with LetsEncrypt certificates and that worked without any issues for the last few months, so I would assume that this configuration works in general - so what is it that is changed by including the SQL module? Is there any difference when SQL is used rather than NTLM that could explain this?
I attached the full log for the test I described above. The "********************************* Waited for 1-2 minutes" were added by me, where I waited a while; also, they separate the individual stages of the test described above?
I'm sorry for being so focused on the server configuration rather than the clients despite your clear recommendations, but I just do not yet understand how this is a client issue ...
Thanks
Sebastian
FreeRADIUS Version 3.2.3
Copyright (C) 1999-2022 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/dictionary
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/mods-enabled/
including configuration file /etc/freeradius/mods-enabled/logintime
including configuration file /etc/freeradius/mods-enabled/chap
including configuration file /etc/freeradius/mods-enabled/realm
including configuration file /etc/freeradius/mods-enabled/dynamic_clients
including configuration file /etc/freeradius/mods-enabled/expr
including configuration file /etc/freeradius/mods-enabled/unpack
including configuration file /etc/freeradius/mods-enabled/cache_eap
including configuration file /etc/freeradius/mods-enabled/always
including configuration file /etc/freeradius/mods-enabled/linelog
including configuration file /etc/freeradius/mods-enabled/totp
including configuration file /etc/freeradius/mods-enabled/exec
including configuration file /etc/freeradius/mods-enabled/preprocess
including configuration file /etc/freeradius/mods-enabled/date
including configuration file /etc/freeradius/mods-enabled/files
including configuration file /etc/freeradius/mods-enabled/sql
including configuration file /etc/freeradius/mods-config/sql/main/mysql/queries.conf
including configuration file /etc/freeradius/mods-enabled/pap
including configuration file /etc/freeradius/mods-enabled/unix
including configuration file /etc/freeradius/mods-enabled/radutmp
including configuration file /etc/freeradius/mods-enabled/digest
including configuration file /etc/freeradius/mods-enabled/eap
including configuration file /etc/freeradius/mods-enabled/replicate
including configuration file /etc/freeradius/mods-enabled/ldap
including configuration file /etc/freeradius/mods-enabled/passwd
including configuration file /etc/freeradius/mods-enabled/ntlm_auth
including configuration file /etc/freeradius/mods-enabled/expiration
including configuration file /etc/freeradius/mods-enabled/counter
including configuration file /etc/freeradius/mods-enabled/attr_filter
including configuration file /etc/freeradius/mods-enabled/sradutmp
including configuration file /etc/freeradius/mods-enabled/mschap
including configuration file /etc/freeradius/mods-enabled/detail
including configuration file /etc/freeradius/mods-enabled/utf8
including configuration file /etc/freeradius/mods-enabled/echo
including configuration file /etc/freeradius/mods-enabled/detail.log
including configuration file /etc/freeradius/mods-enabled/soh
including files in directory /etc/freeradius/policy.d/
including configuration file /etc/freeradius/policy.d/dhcp
including configuration file /etc/freeradius/policy.d/canonicalization
including configuration file /etc/freeradius/policy.d/control
including configuration file /etc/freeradius/policy.d/filter
including configuration file /etc/freeradius/policy.d/cui
including configuration file /etc/freeradius/policy.d/eap
including configuration file /etc/freeradius/policy.d/rfc7542
including configuration file /etc/freeradius/policy.d/moonshot-targeted-ids
including configuration file /etc/freeradius/policy.d/abfab-tr
including configuration file /etc/freeradius/policy.d/operator-name
including configuration file /etc/freeradius/policy.d/group_check
including configuration file /etc/freeradius/policy.d/debug
including configuration file /etc/freeradius/policy.d/accounting
including files in directory /etc/freeradius/sites-enabled/
including configuration file /etc/freeradius/sites-enabled/status
including configuration file /etc/freeradius/sites-enabled/school_8021x
including configuration file /etc/freeradius/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
postauth_client_lost = no
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
msg_badpass = " (%{Calling-Station-ID})"
msg_goodpass = " (%{Calling-Station-ID})"
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 {
nonblock = no
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
}
recv_coa {
}
}
realm NULL {
}
realm LOCAL {
}
realm domain.tld {
}
realm DEFAULT {
nostrip
}
home_server_pool my_auth_failover {
type = fail-over
home_server = localhost
}
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 localhost_ipv6 {
ipv6addr = ::1
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client school_8021x {
ipaddr = 0.0.0.0/0
require_message_authenticator = no
secret = <<< secret >>>
virtual_server = "school_8021x"
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
Debugger not attached
systemd watchdog is disabled
# Creating Autz-Type = Status-Server
# Creating Auth-Type = digest
# Creating Auth-Type = eap
# Creating Auth-Type = PAP
# Creating Auth-Type = CHAP
# Creating Auth-Type = MS-CHAP
# Creating Auth-Type = ntlm_auth
# Creating Auth-Type = linelog
# Creating Auth-Type = mschap
/etc/freeradius/sites-enabled/inner-tunnel[205]: Duplicate module 'linelog'
radiusd: #### Instantiating modules ####
modules {
# Loaded module rlm_logintime
# Loading module "logintime" from file /etc/freeradius/mods-enabled/logintime
logintime {
minimum_timeout = 60
}
# Loaded module rlm_chap
# Loading module "chap" from file /etc/freeradius/mods-enabled/chap
# Loaded module rlm_realm
# Loading module "IPASS" from file /etc/freeradius/mods-enabled/realm
realm IPASS {
format = "prefix"
delimiter = "/"
ignore_default = no
ignore_null = no
}
# Loading module "suffix" from file /etc/freeradius/mods-enabled/realm
realm suffix {
format = "suffix"
delimiter = "@"
ignore_default = no
ignore_null = no
}
# Loading module "bangpath" from file /etc/freeradius/mods-enabled/realm
realm bangpath {
format = "prefix"
delimiter = "!"
ignore_default = no
ignore_null = no
}
# Loading module "realmpercent" from file /etc/freeradius/mods-enabled/realm
realm realmpercent {
format = "suffix"
delimiter = "%"
ignore_default = no
ignore_null = no
}
# Loading module "ntdomain" from file /etc/freeradius/mods-enabled/realm
realm ntdomain {
format = "prefix"
delimiter = "\\"
ignore_default = no
ignore_null = no
}
# Loaded module rlm_dynamic_clients
# Loading module "dynamic_clients" from file /etc/freeradius/mods-enabled/dynamic_clients
# Loaded module rlm_expr
# Loading module "expr" from file /etc/freeradius/mods-enabled/expr
expr {
safe_characters = "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /äéöüàâæçèéêëîïôœùûüaÿÄÉÖÜßÀÂÆÇÈÉÊËÎÏÔŒÙÛÜŸ"
}
# Loaded module rlm_unpack
# Loading module "unpack" from file /etc/freeradius/mods-enabled/unpack
# Loaded module rlm_cache
# Loading module "cache_eap" from file /etc/freeradius/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_always
# Loading module "reject" from file /etc/freeradius/mods-enabled/always
always reject {
rcode = "reject"
simulcount = 0
mpp = no
}
# Loading module "fail" from file /etc/freeradius/mods-enabled/always
always fail {
rcode = "fail"
simulcount = 0
mpp = no
}
# Loading module "ok" from file /etc/freeradius/mods-enabled/always
always ok {
rcode = "ok"
simulcount = 0
mpp = no
}
# Loading module "handled" from file /etc/freeradius/mods-enabled/always
always handled {
rcode = "handled"
simulcount = 0
mpp = no
}
# Loading module "invalid" from file /etc/freeradius/mods-enabled/always
always invalid {
rcode = "invalid"
simulcount = 0
mpp = no
}
# Loading module "userlock" from file /etc/freeradius/mods-enabled/always
always userlock {
rcode = "userlock"
simulcount = 0
mpp = no
}
# Loading module "notfound" from file /etc/freeradius/mods-enabled/always
always notfound {
rcode = "notfound"
simulcount = 0
mpp = no
}
# Loading module "noop" from file /etc/freeradius/mods-enabled/always
always noop {
rcode = "noop"
simulcount = 0
mpp = no
}
# Loading module "updated" from file /etc/freeradius/mods-enabled/always
always updated {
rcode = "updated"
simulcount = 0
mpp = no
}
# Loaded module rlm_linelog
# Loading module "linelog" from file /etc/freeradius/mods-enabled/linelog
linelog {
filename = "/var/log/freeradius/linelog"
escape_filenames = no
syslog_severity = "info"
permissions = 384
format = "Login attempt for %{User-Name}"
reference = "messages.%{%{Packet-Type}:-default}"
}
# Loading module "log_accounting" from file /etc/freeradius/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_totp
# Loading module "totp" from file /etc/freeradius/mods-enabled/totp
# Loaded module rlm_exec
# Loading module "exec" from file /etc/freeradius/mods-enabled/exec
exec {
wait = no
input_pairs = "request"
shell_escape = yes
timeout = 10
}
# Loaded module rlm_preprocess
# Loading module "preprocess" from file /etc/freeradius/mods-enabled/preprocess
preprocess {
huntgroups = "/etc/freeradius/mods-config/preprocess/huntgroups"
hints = "/etc/freeradius/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_date
# Loading module "date" from file /etc/freeradius/mods-enabled/date
date {
format = "%b %e %Y %H:%M:%S %Z"
utc = no
}
# Loading module "wispr2date" from file /etc/freeradius/mods-enabled/date
date wispr2date {
format = "%Y-%m-%dT%H:%M:%S"
utc = no
}
# Loaded module rlm_files
# Loading module "files" from file /etc/freeradius/mods-enabled/files
files {
filename = "/etc/freeradius/mods-config/files/authorize"
acctusersfile = "/etc/freeradius/mods-config/files/accounting"
preproxy_usersfile = "/etc/freeradius/mods-config/files/pre-proxy"
}
# Loaded module rlm_sql
# Loading module "sql" from file /etc/freeradius/mods-enabled/sql
sql {
driver = "rlm_sql_mysql"
server = "localhost"
port = 3306
login = "radius"
password = <<< secret >>>
radius_db = "radius"
read_groups = yes
read_profiles = yes
read_clients = no
delete_stale_sessions = yes
sql_user_name = "%{%{Stripped-User-Name}:-%{%{User-Name}:-DEFAULT}}"
default_user_profile = ""
client_query = "SELECT id, nasname, shortname, type, secret, server FROM nas"
authorize_check_query = "SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id"
authorize_reply_query = "SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id"
authorize_group_check_query = "SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id"
authorize_group_reply_query = "SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id"
group_membership_query = "SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority"
simul_count_query = "SELECT COUNT(*) FROM radacct a LEFT OUTER JOIN nasreload n USING (nasipaddress) WHERE username = '%{SQL-User-Name}' AND acctstoptime IS NULL AND (a.acctstarttime > n.reloadtime OR n.reloadtime IS NULL)"
simul_verify_query = "SELECT radacctid, acctsessionid, username, nasipaddress, nasportid, framedipaddress, callingstationid, framedprotocol FROM radacct a LEFT OUTER JOIN nasreload n USING (nasipaddress) WHERE username = '%{SQL-User-Name}' AND acctstoptime IS NULL AND (a.acctstarttime > n.reloadtime OR n.reloadtime IS NULL)"
safe_characters = "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /"
auto_escape = no
accounting {
reference = "%{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query}"
type {
accounting-on {
query = "UPDATE radacct SET acctstoptime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctsessiontime = '%{%{integer:Event-Timestamp}:-%l}' - UNIX_TIMESTAMP(acctstarttime), acctterminatecause = '%{%{Acct-Terminate-Cause}:-NAS-Reboot}' WHERE acctstoptime IS NULL AND nasipaddress = '%{NAS-IP-Address}' AND acctstarttime <= FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l})"
}
accounting-off {
query = "UPDATE radacct SET acctstoptime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctsessiontime = '%{%{integer:Event-Timestamp}:-%l}' - UNIX_TIMESTAMP(acctstarttime), acctterminatecause = '%{%{Acct-Terminate-Cause}:-NAS-Reboot}' WHERE acctstoptime IS NULL AND nasipaddress = '%{NAS-IP-Address}' AND acctstarttime <= FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l})"
}
start {
query = "INSERT INTO radacct (acctsessionid, acctuniqueid, username, realm, nasipaddress, nasportid, nasporttype, acctstarttime, acctupdatetime, acctstoptime, acctsessiontime, acctauthentic, connectinfo_start, connectinfo_stop, acctinputoctets, acctoutputoctets, calledstationid, callingstationid, acctterminatecause, servicetype, framedprotocol, framedipaddress, framedipv6address, framedipv6prefix, framedinterfaceid, delegatedipv6prefix ) VALUES ('%{Acct-Session-Id}', '%{Acct-Unique-Session-Id}', '%{SQL-User-Name}', '%{Realm}', '%{NAS-IP-Address}', '%{%{NAS-Port-ID}:-%{NAS-Port}}', '%{NAS-Port-Type}', FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), NULL, '0', '%{Acct-Authentic}', '%{Connect-Info}', '', '0', '0', '%{Called-Station-Id}', '%{Calling-Station-Id}', '', '%{Service-Type}', '%{Framed-Protocol}', '%{Framed-IP-Address}', '%{Framed-IPv6-Address}', '%{Framed-IPv6-Prefix}', '%{Framed-Interface-Id}', '%{Delegated-IPv6-Prefix}' )"
}
interim-update {
query = "UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}'"
}
stop {
query = "UPDATE radacct SET acctstoptime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}', acctterminatecause = '%{Acct-Terminate-Cause}', connectinfo_stop = '%{Connect-Info}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}'"
}
}
}
post-auth {
reference = ".query"
query = "INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( '%{SQL-User-Name}', '%{%{User-Password}:-%{Chap-Password}}', '%{reply:Packet-Type}', '%S.%M' )"
}
}
rlm_sql (sql): Driver rlm_sql_mysql (module rlm_sql_mysql) loaded and linked
Creating attribute SQL-Group
# Loaded module rlm_pap
# Loading module "pap" from file /etc/freeradius/mods-enabled/pap
pap {
normalise = yes
}
# Loaded module rlm_unix
# Loading module "unix" from file /etc/freeradius/mods-enabled/unix
unix {
radwtmp = "/var/log/freeradius/radwtmp"
}
Creating attribute Unix-Group
# Loaded module rlm_radutmp
# Loading module "radutmp" from file /etc/freeradius/mods-enabled/radutmp
radutmp {
filename = "/var/lib/freeradius/radutmp"
username = "%{User-Name}"
case_sensitive = yes
check_with_nas = yes
permissions = 384
caller_id = yes
}
# Loaded module rlm_digest
# Loading module "digest" from file /etc/freeradius/mods-enabled/digest
# Loaded module rlm_eap
# Loading module "eap" from file /etc/freeradius/mods-enabled/eap
eap {
default_eap_type = "peap"
timer_expire = 60
max_eap_type = 52
ignore_unknown_eap_types = no
cisco_accounting_username_bug = no
max_sessions = 16384
}
# Loaded module rlm_replicate
# Loading module "replicate" from file /etc/freeradius/mods-enabled/replicate
# Loaded module rlm_ldap
# Loading module "ldap" from file /etc/freeradius/mods-enabled/ldap
ldap {
server = "ldaps://172.16.8.200:636/"
identity = "CN=radius-binduser,OU=Management,DC=etc"
password = <<< secret >>>
sasl {
}
user_dn = "LDAP-UserDn"
user {
scope = "sub"
access_positive = yes
sasl {
}
}
group {
filter = "(objectClass=group)"
scope = "sub"
name_attribute = "cn"
membership_attribute = "memberOf"
membership_filter = "(member=%{control:LDAP-UserDn})"
cacheable_name = no
cacheable_dn = no
allow_dangling_group_ref = no
}
client {
filter = "(objectClass=radiusClient)"
scope = "sub"
base_dn = "###"
}
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 {
check_crl = no
start_tls = no
}
}
Creating attribute LDAP-Group
# Loaded module rlm_passwd
# Loading module "etc_passwd" from file /etc/freeradius/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
}
# Loading module "ntlm_auth" from file /etc/freeradius/mods-enabled/ntlm_auth
exec ntlm_auth {
wait = yes
program = "/usr/bin/ntlm_auth --allow-mschapv2 --request-nt-key --domain=lmn --require-membership-of=lmn\wifi --username=%{mschap:User-Name} --password=%{User-Password}"
shell_escape = yes
}
# Loaded module rlm_expiration
# Loading module "expiration" from file /etc/freeradius/mods-enabled/expiration
# Loaded module rlm_counter
# Loading module "daily" from file /etc/freeradius/mods-enabled/counter
counter daily {
filename = "/var/lib/freeradius/db.daily"
key = "User-Name"
reset = "daily"
count_attribute = "Acct-Session-Time"
counter_name = "Daily-Session-Time"
check_name = "Max-Daily-Session"
reply_name = "Session-Timeout"
allowed_service_type = "Framed-User"
cache_size = 5000
}
# Loaded module rlm_attr_filter
# Loading module "attr_filter.post-proxy" from file /etc/freeradius/mods-enabled/attr_filter
attr_filter attr_filter.post-proxy {
filename = "/etc/freeradius/mods-config/attr_filter/post-proxy"
key = "%{Realm}"
relaxed = no
}
# Loading module "attr_filter.pre-proxy" from file /etc/freeradius/mods-enabled/attr_filter
attr_filter attr_filter.pre-proxy {
filename = "/etc/freeradius/mods-config/attr_filter/pre-proxy"
key = "%{Realm}"
relaxed = no
}
# Loading module "attr_filter.access_reject" from file /etc/freeradius/mods-enabled/attr_filter
attr_filter attr_filter.access_reject {
filename = "/etc/freeradius/mods-config/attr_filter/access_reject"
key = "%{User-Name}"
relaxed = no
}
# Loading module "attr_filter.access_challenge" from file /etc/freeradius/mods-enabled/attr_filter
attr_filter attr_filter.access_challenge {
filename = "/etc/freeradius/mods-config/attr_filter/access_challenge"
key = "%{User-Name}"
relaxed = no
}
# Loading module "attr_filter.accounting_response" from file /etc/freeradius/mods-enabled/attr_filter
attr_filter attr_filter.accounting_response {
filename = "/etc/freeradius/mods-config/attr_filter/accounting_response"
key = "%{User-Name}"
relaxed = no
}
# Loading module "attr_filter.coa" from file /etc/freeradius/mods-enabled/attr_filter
attr_filter attr_filter.coa {
filename = "/etc/freeradius/mods-config/attr_filter/coa"
key = "%{User-Name}"
relaxed = no
}
# Loading module "sradutmp" from file /etc/freeradius/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_mschap
# Loading module "mschap" from file /etc/freeradius/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 --domain=lmn --require-membership-of=lmn\wifi --username=%{%{Stripped-User-Name}:-%{%{User-Name}:-None}} --challenge=%{%{mschap:Challenge}:-00} --nt-response=%{%{mschap:NT-Response}:-00}"
passchange {
}
allow_retry = yes
winbind_retry_with_normalised_username = no
}
# Loaded module rlm_detail
# Loading module "detail" from file /etc/freeradius/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_utf8
# Loading module "utf8" from file /etc/freeradius/mods-enabled/utf8
# Loading module "echo" from file /etc/freeradius/mods-enabled/echo
exec echo {
wait = yes
program = "/bin/echo %{User-Name}"
input_pairs = "request"
output_pairs = "reply"
shell_escape = yes
}
# Loading module "auth_log" from file /etc/freeradius/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/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/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/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
}
# Loaded module rlm_soh
# Loading module "soh" from file /etc/freeradius/mods-enabled/soh
soh {
dhcp = yes
}
instantiate {
}
# Instantiating module "logintime" from file /etc/freeradius/mods-enabled/logintime
# Instantiating module "IPASS" from file /etc/freeradius/mods-enabled/realm
# Instantiating module "suffix" from file /etc/freeradius/mods-enabled/realm
# Instantiating module "bangpath" from file /etc/freeradius/mods-enabled/realm
# Instantiating module "realmpercent" from file /etc/freeradius/mods-enabled/realm
# Instantiating module "ntdomain" from file /etc/freeradius/mods-enabled/realm
# Instantiating module "cache_eap" from file /etc/freeradius/mods-enabled/cache_eap
rlm_cache (cache_eap): Driver rlm_cache_rbtree (module rlm_cache_rbtree) loaded and linked
# Instantiating module "reject" from file /etc/freeradius/mods-enabled/always
# Instantiating module "fail" from file /etc/freeradius/mods-enabled/always
# Instantiating module "ok" from file /etc/freeradius/mods-enabled/always
# Instantiating module "handled" from file /etc/freeradius/mods-enabled/always
# Instantiating module "invalid" from file /etc/freeradius/mods-enabled/always
# Instantiating module "userlock" from file /etc/freeradius/mods-enabled/always
# Instantiating module "notfound" from file /etc/freeradius/mods-enabled/always
# Instantiating module "noop" from file /etc/freeradius/mods-enabled/always
# Instantiating module "updated" from file /etc/freeradius/mods-enabled/always
# Instantiating module "linelog" from file /etc/freeradius/mods-enabled/linelog
# Instantiating module "log_accounting" from file /etc/freeradius/mods-enabled/linelog
# Instantiating module "preprocess" from file /etc/freeradius/mods-enabled/preprocess
reading pairlist file /etc/freeradius/mods-config/preprocess/huntgroups
reading pairlist file /etc/freeradius/mods-config/preprocess/hints
# Instantiating module "files" from file /etc/freeradius/mods-enabled/files
reading pairlist file /etc/freeradius/mods-config/files/authorize
reading pairlist file /etc/freeradius/mods-config/files/accounting
reading pairlist file /etc/freeradius/mods-config/files/pre-proxy
# Instantiating module "sql" from file /etc/freeradius/mods-enabled/sql
rlm_sql_mysql: libmysql version: 3.3.5
mysql {
tls {
tls_required = no
check_cert = no
check_cert_cn = no
}
warnings = "auto"
}
rlm_sql (sql): Attempting to connect to database "radius"
rlm_sql (sql): 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
max_retries = 5
spread = no
}
rlm_sql (sql): Opening additional connection (0), 1 of 32 pending slots used
rlm_sql_mysql: Starting connect to MySQL server
rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 10.11.4-MariaDB-1~deb12u1, protocol version 10
rlm_sql (sql): Opening additional connection (1), 1 of 31 pending slots used
rlm_sql_mysql: Starting connect to MySQL server
rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 10.11.4-MariaDB-1~deb12u1, protocol version 10
rlm_sql (sql): Opening additional connection (2), 1 of 30 pending slots used
rlm_sql_mysql: Starting connect to MySQL server
rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 10.11.4-MariaDB-1~deb12u1, protocol version 10
rlm_sql (sql): Opening additional connection (3), 1 of 29 pending slots used
rlm_sql_mysql: Starting connect to MySQL server
rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 10.11.4-MariaDB-1~deb12u1, protocol version 10
rlm_sql (sql): Opening additional connection (4), 1 of 28 pending slots used
rlm_sql_mysql: Starting connect to MySQL server
rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 10.11.4-MariaDB-1~deb12u1, protocol version 10
# Instantiating module "pap" from file /etc/freeradius/mods-enabled/pap
# Instantiating module "eap" from file /etc/freeradius/mods-enabled/eap
# Linked to sub-module rlm_eap_md5
# Linked to sub-module rlm_eap_gtc
gtc {
challenge = "Password: "
auth_type = "PAP"
}
# Linked to sub-module rlm_eap_tls
tls {
tls = "tls-eap-tls"
virtual_server = "check-eap-tls"
}
tls-config tls-eap-tls {
verify_depth = 0
ca_path = "/etc/freeradius/certs"
pem_file_type = yes
private_key_file = "/etc/freeradius/certs/server_local.pem"
certificate_file = "/etc/freeradius/certs/server_local.pem"
ca_file = "/etc/freeradius/certs/ca.pem"
private_key_password = <<< secret >>>
fragment_size = 1000
include_length = yes
auto_chain = yes
check_crl = no
check_all_crl = no
ca_path_reload_interval = 0
cipher_list = "DEFAULT at SECLEVEL=1:TLSv1 at SECLEVEL=0"
cipher_server_preference = no
reject_unknown_intermediate_ca = no
ecdh_curve = "prime256v1"
tls_max_version = "1.3"
tls_min_version = "1.0"
cache {
enable = no
lifetime = 12
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
}
}
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! Most supplicants do not support EAP-TLS with TLS 1.3
!! Please set tls_max_version = "1.2"
!! FreeRADIUS only supports TLS 1.3 for special builds of wpa_supplicant and Windows
!! This limitation is likely to change in late 2021.
!! If you are using this version of FreeRADIUS after 2021, you will probably need to upgrade
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# Linked to sub-module rlm_eap_ttls
ttls {
tls = "tls-eap-tls"
default_eap_type = "md5"
copy_request_to_tunnel = yes
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-eap-peap"
default_eap_type = "mschapv2"
copy_request_to_tunnel = yes
use_tunneled_reply = no
proxy_tunneled_request_as_eap = yes
virtual_server = "inner-tunnel"
soh = no
require_client_cert = no
}
tls-config tls-eap-peap {
verify_depth = 0
ca_path = "/etc/freeradius/certs"
pem_file_type = yes
private_key_file = "/etc/freeradius/certs/privkey.pem"
certificate_file = "/etc/freeradius/certs/fullchain.pem"
fragment_size = 1024
include_length = yes
auto_chain = yes
check_crl = no
check_all_crl = no
ca_path_reload_interval = 0
cipher_list = "DEFAULT at SECLEVEL=1"
cipher_server_preference = no
reject_unknown_intermediate_ca = no
ecdh_curve = "prime256v1"
tls_max_version = "1.3"
tls_min_version = "1.0"
cache {
enable = no
lifetime = 12
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
}
}
tls: In order to use TLS 1.0 and/or TLS 1.1, you likely need to set: cipher_list = "DEFAULT at SECLEVEL=0"
# Linked to sub-module rlm_eap_mschapv2
mschapv2 {
with_ntdomain_hack = no
send_error = yes
identity = "RADIUS"
}
# Linked to sub-module rlm_eap_fast
fast {
tls = "tls-eap-peap"
default_eap_type = "mschapv2"
virtual_server = "inner-tunnel"
cipher_list = "ALL:!EXPORT:!eNULL:!SSLv2 at SECLEVEL=0"
require_client_cert = no
pac_lifetime = 604800
authority_identity = "school.tld"
pac_opaque_key = "4f971fe7d4f45bbda3a518eef331156a"
copy_request_to_tunnel = no
use_tunneled_reply = no
}
tls: Using cached TLS configuration from previous invocation
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! There is no standard for using EAP-FAST with TLS 1.3
!! Please set tls_max_version = "1.2"
!! FreeRADIUS only supports TLS 1.3 for special builds of wpa_supplicant and Windows
!! This limitation is likely to change in late 2021.
!! If you are using this version of FreeRADIUS after 2021, you will probably need to upgrade
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# Instantiating module "ldap" from file /etc/freeradius/mods-enabled/ldap
rlm_ldap: libldap vendor: OpenLDAP, version: 20513
accounting {
reference = "%{tolower:type.%{Acct-Status-Type}}"
}
post-auth {
reference = "."
}
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! libldap is using GnuTLS, while FreeRADIUS is using OpenSSL
!! There may be random issues with TLS connections due to this conflict.
!! The server may also crash.
!! See https://wiki.freeradius.org/modules/Rlm_ldap for more information.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
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
max_retries = 5
spread = no
}
rlm_ldap (ldap): Opening additional connection (0), 1 of 32 pending slots used
rlm_ldap (ldap): Connecting to ldaps://172.16.8.200:636
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 ldaps://172.16.8.200:636
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 ldaps://172.16.8.200:636
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 ldaps://172.16.8.200:636
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 ldaps://172.16.8.200:636
rlm_ldap (ldap): Waiting for bind result...
rlm_ldap (ldap): Bind successful
# Instantiating module "etc_passwd" from file /etc/freeradius/mods-enabled/passwd
rlm_passwd: nfields: 3 keyfield 0(User-Name) listable: no
# Instantiating module "expiration" from file /etc/freeradius/mods-enabled/expiration
# Instantiating module "daily" from file /etc/freeradius/mods-enabled/counter
rlm_counter: Current Time: 1704829168 [2024-01-09 20:39:28], Next reset 1704841200 [2024-01-10 00:00:00]
rlm_counter: add_defaults: Start
rlm_counter: DEFAULT1 set to 1704841200
rlm_counter: DEFAULT2 set to 1704829168
rlm_counter: add_defaults: End
# Instantiating module "attr_filter.post-proxy" from file /etc/freeradius/mods-enabled/attr_filter
reading pairlist file /etc/freeradius/mods-config/attr_filter/post-proxy
# Instantiating module "attr_filter.pre-proxy" from file /etc/freeradius/mods-enabled/attr_filter
reading pairlist file /etc/freeradius/mods-config/attr_filter/pre-proxy
# Instantiating module "attr_filter.access_reject" from file /etc/freeradius/mods-enabled/attr_filter
reading pairlist file /etc/freeradius/mods-config/attr_filter/access_reject
# Instantiating module "attr_filter.access_challenge" from file /etc/freeradius/mods-enabled/attr_filter
reading pairlist file /etc/freeradius/mods-config/attr_filter/access_challenge
# Instantiating module "attr_filter.accounting_response" from file /etc/freeradius/mods-enabled/attr_filter
reading pairlist file /etc/freeradius/mods-config/attr_filter/accounting_response
# Instantiating module "attr_filter.coa" from file /etc/freeradius/mods-enabled/attr_filter
reading pairlist file /etc/freeradius/mods-config/attr_filter/coa
# Instantiating module "mschap" from file /etc/freeradius/mods-enabled/mschap
rlm_mschap (mschap): authenticating by calling 'ntlm_auth'
# Instantiating module "detail" from file /etc/freeradius/mods-enabled/detail
# Instantiating module "auth_log" from file /etc/freeradius/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/mods-enabled/detail.log
# Instantiating module "pre_proxy_log" from file /etc/freeradius/mods-enabled/detail.log
# Instantiating module "post_proxy_log" from file /etc/freeradius/mods-enabled/detail.log
} # modules
radiusd: #### Loading Virtual Servers ####
server { # from file /etc/freeradius/radiusd.conf
} # server
server status { # from file /etc/freeradius/sites-enabled/status
# Loading authorize {...}
Compiling Autz-Type Status-Server for attr Autz-Type
} # server status
server school_8021x { # from file /etc/freeradius/sites-enabled/school_8021x
# Loading authenticate {...}
Compiling Auth-Type PAP for attr Auth-Type
Compiling Auth-Type CHAP for attr Auth-Type
Compiling Auth-Type MS-CHAP for attr Auth-Type
Compiling Auth-Type ntlm_auth for attr Auth-Type
# Loading authorize {...}
# Loading preacct {...}
# Loading accounting {...}
# Loading session {...}
# Loading post-proxy {...}
# Loading post-auth {...}
Compiling Post-Auth-Type REJECT for attr Post-Auth-Type
Compiling Post-Auth-Type Challenge for attr Post-Auth-Type
} # server school_8021x
server inner-tunnel { # from file /etc/freeradius/sites-enabled/inner-tunnel
# Loading authenticate {...}
Compiling Auth-Type PAP for attr Auth-Type
Compiling Auth-Type CHAP for attr Auth-Type
Compiling Auth-Type MS-CHAP for attr Auth-Type
Compiling Auth-Type ntlm_auth for attr Auth-Type
# Loading authorize {...}
# Loading session {...}
# Loading post-proxy {...}
# Loading post-auth {...}
Compiling Post-Auth-Type REJECT for attr Post-Auth-Type
} # server inner-tunnel
radiusd: #### Opening IP addresses and Ports ####
listen {
type = "status"
ipaddr = 127.0.0.1
port = 18121
client admin {
ipaddr = 127.0.0.1
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
}
listen {
type = "auth"
ipaddr = 0.0.0.0
port = 1812
}
listen {
type = "auth"
ipaddr = 127.0.0.1
port = 18120
}
Listening on status address 127.0.0.1 port 18121 bound to server status
Listening on auth address * port 1812 bound to server school_8021x
Listening on auth address 127.0.0.1 port 18120 bound to server inner-tunnel
Listening on proxy address * port 33723
Ready to process requests
(0) Received Access-Request Id 127 from 172.16.5.252:60626 to 172.16.8.20:1812 length 390
(0) User-Name = "guest1234"
(0) Service-Type = Framed-User
(0) Cisco-AVPair = "service-type=Framed"
(0) Framed-MTU = 1485
(0) EAP-Message = 0x0201000e01677565737431323334
(0) Message-Authenticator = 0xf3eb4133efcf9d9899a4ca7affa2f18c
(0) Cisco-AVPair = "audit-session-id=FC0510AC0008D39DEFB40307"
(0) Cisco-AVPair = "method=dot1x"
(0) Cisco-AVPair = "client-iif-id=100927089"
(0) Cisco-AVPair = "vlan-id=10"
(0) NAS-IP-Address = 172.16.5.252
(0) NAS-Port-Type = Wireless-802.11
(0) NAS-Port = 518
(0) Cisco-AVPair = "cisco-wlan-ssid=WTest"
(0) Cisco-AVPair = "wlan-profile-name=WTest"
(0) Called-Station-Id = "50-2f-a8-ce-da-20:WTest"
(0) Calling-Station-Id = "dc-39-6f-9e-dc-d1"
(0) Airespace-Wlan-Id = 5
(0) NAS-Identifier = "wlc-rz"
(0) WLAN-Group-Cipher = 1027076
(0) WLAN-Pairwise-Cipher = 1027076
(0) WLAN-AKM-Suite = 1027073
(0) WLAN-Group-Mgmt-Cipher = 1027078
(0) # Executing section authorize from file /etc/freeradius/sites-enabled/school_8021x
(0) authorize {
(0) policy filter_username {
(0) if (&User-Name) {
(0) if (&User-Name) -> TRUE
(0) if (&User-Name) {
(0) if (&User-Name =~ / /) {
(0) if (&User-Name =~ / /) -> FALSE
(0) if (&User-Name =~ /@[^@]*@/ ) {
(0) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(0) if (&User-Name =~ /\.\./ ) {
(0) if (&User-Name =~ /\.\./ ) -> FALSE
(0) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) {
(0) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE
(0) if (&User-Name =~ /\.$/) {
(0) if (&User-Name =~ /\.$/) -> FALSE
(0) if (&User-Name =~ /@\./) {
(0) if (&User-Name =~ /@\./) -> FALSE
(0) } # if (&User-Name) = notfound
(0) } # policy filter_username = notfound
(0) [preprocess] = ok
(0) [digest] = noop
(0) suffix: Checking for suffix after "@"
(0) suffix: No '@' in User-Name = "guest1234", looking up realm NULL
(0) suffix: Found realm "NULL"
(0) suffix: Adding Stripped-User-Name = "guest1234"
(0) suffix: Adding Realm = "NULL"
(0) suffix: Authentication realm is LOCAL
(0) [suffix] = ok
(0) [chap] = noop
(0) sql: EXPAND %{%{Stripped-User-Name}:-%{%{User-Name}:-DEFAULT}}
(0) sql: --> guest1234
(0) sql: SQL-User-Name set to 'guest1234'
rlm_sql (sql): Reserved connection (0)
(0) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id
(0) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'guest1234' ORDER BY id
(0) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'guest1234' ORDER BY id
(0) sql: User found in radcheck table
(0) sql: Conditional check items matched, merging assignment check items
(0) sql: Cleartext-Password := "guest1324"
(0) sql: EXPAND SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id
(0) sql: --> SELECT id, username, attribute, value, op FROM radreply WHERE username = 'guest1234' ORDER BY id
(0) sql: Executing select query: SELECT id, username, attribute, value, op FROM radreply WHERE username = 'guest1234' ORDER BY id
(0) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority
(0) sql: --> SELECT groupname FROM radusergroup WHERE username = 'guest1234' ORDER BY priority
(0) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'guest1234' ORDER BY priority
(0) sql: User found in the group table
(0) sql: EXPAND SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id
(0) sql: --> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'guest' ORDER BY id
(0) sql: Executing select query: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'guest' ORDER BY id
(0) sql: Group "guest": Conditional check items matched
(0) sql: Group "guest": Merging assignment check items
(0) sql: EXPAND SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id
(0) sql: --> SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'guest' ORDER BY id
(0) sql: Executing select query: SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'guest' ORDER BY id
(0) sql: Group "guest": Merging reply items
(0) sql: Tunnel-Medium-Type := IEEE-802
(0) sql: Tunnel-Private-Group-Id := "13"
(0) sql: Tunnel-Type := VLAN
rlm_sql (sql): Released connection (0)
Need more connections to reach 10 spares
rlm_sql (sql): Opening additional connection (5), 1 of 27 pending slots used
rlm_sql_mysql: Starting connect to MySQL server
rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 10.11.4-MariaDB-1~deb12u1, protocol version 10
(0) [sql] = ok
(0) [mschap] = noop
(0) eap: Peer sent EAP Response (code 2) ID 1 length 14
(0) eap: EAP-Identity reply, returning 'ok' so we can short-circuit the rest of authorize
(0) [eap] = ok
(0) } # authorize = ok
(0) Found Auth-Type = eap
(0) # Executing group from file /etc/freeradius/sites-enabled/school_8021x
(0) authenticate {
(0) eap: Peer sent packet with method EAP Identity (1)
(0) eap: Calling submodule eap_peap to process data
(0) eap_peap: (TLS) Initiating new session
(0) eap: Sending EAP Request (code 1) ID 2 length 6
(0) eap: EAP session adding &reply:State = 0xba320227ba301bfd
(0) [eap] = handled
(0) } # authenticate = handled
(0) Using Post-Auth-Type Challenge
(0) # Executing group from file /etc/freeradius/sites-enabled/school_8021x
(0) Challenge { ... } # empty sub-section is ignored
(0) session-state: Saving cached attributes
(0) Framed-MTU = 1004
(0) Sent Access-Challenge Id 127 from 172.16.8.20:1812 to 172.16.5.252:60626 length 80
(0) Tunnel-Medium-Type = IEEE-802
(0) Tunnel-Private-Group-Id = "13"
(0) Tunnel-Type = VLAN
(0) EAP-Message = 0x010200061920
(0) Message-Authenticator = 0x00000000000000000000000000000000
(0) State = 0xba320227ba301bfd331e2470818158ed
(0) Finished request
Waking up in 4.9 seconds.
(1) Received Access-Request Id 135 from 172.16.5.252:60626 to 172.16.8.20:1812 length 566
(1) User-Name = "guest1234"
(1) Service-Type = Framed-User
(1) Cisco-AVPair = "service-type=Framed"
(1) Framed-MTU = 1485
(1) EAP-Message = 0x020200ac1980000000a2160303009d010000990303659da0fbf987eb9d971e12bb03aff13b093d7ad27ffcc71f4e748d13f3e4a3c600002ac02cc02bc030c02f009f009ec024c023c028c027c00ac009c014c013009d009c003d003c0035002f000a01000046000500050100000000000a00080006001d00170018000b00020100000d001a00180804080508060401050102010403050302030202060106030023000000170000ff01000100
(1) Message-Authenticator = 0x41b111195b1ed014cc35b96d7a431887
(1) Cisco-AVPair = "audit-session-id=FC0510AC0008D39DEFB40307"
(1) Cisco-AVPair = "method=dot1x"
(1) Cisco-AVPair = "client-iif-id=100927089"
(1) Cisco-AVPair = "vlan-id=10"
(1) NAS-IP-Address = 172.16.5.252
(1) NAS-Port-Type = Wireless-802.11
(1) NAS-Port = 518
(1) State = 0xba320227ba301bfd331e2470818158ed
(1) Cisco-AVPair = "cisco-wlan-ssid=WTest"
(1) Cisco-AVPair = "wlan-profile-name=WTest"
(1) Called-Station-Id = "50-2f-a8-ce-da-20:WTest"
(1) Calling-Station-Id = "dc-39-6f-9e-dc-d1"
(1) Airespace-Wlan-Id = 5
(1) NAS-Identifier = "wlc-rz"
(1) WLAN-Group-Cipher = 1027076
(1) WLAN-Pairwise-Cipher = 1027076
(1) WLAN-AKM-Suite = 1027073
(1) WLAN-Group-Mgmt-Cipher = 1027078
(1) Restoring &session-state
(1) &session-state:Framed-MTU = 1004
(1) # Executing section authorize from file /etc/freeradius/sites-enabled/school_8021x
(1) authorize {
(1) policy filter_username {
(1) if (&User-Name) {
(1) if (&User-Name) -> TRUE
(1) if (&User-Name) {
(1) if (&User-Name =~ / /) {
(1) if (&User-Name =~ / /) -> FALSE
(1) if (&User-Name =~ /@[^@]*@/ ) {
(1) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(1) if (&User-Name =~ /\.\./ ) {
(1) if (&User-Name =~ /\.\./ ) -> FALSE
(1) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) {
(1) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE
(1) if (&User-Name =~ /\.$/) {
(1) if (&User-Name =~ /\.$/) -> FALSE
(1) if (&User-Name =~ /@\./) {
(1) if (&User-Name =~ /@\./) -> FALSE
(1) } # if (&User-Name) = notfound
(1) } # policy filter_username = notfound
(1) [preprocess] = ok
(1) [digest] = noop
(1) suffix: Checking for suffix after "@"
(1) suffix: No '@' in User-Name = "guest1234", looking up realm NULL
(1) suffix: Found realm "NULL"
(1) suffix: Adding Stripped-User-Name = "guest1234"
(1) suffix: Adding Realm = "NULL"
(1) suffix: Authentication realm is LOCAL
(1) [suffix] = ok
(1) [chap] = noop
(1) sql: EXPAND %{%{Stripped-User-Name}:-%{%{User-Name}:-DEFAULT}}
(1) sql: --> guest1234
(1) sql: SQL-User-Name set to 'guest1234'
rlm_sql (sql): Reserved connection (1)
(1) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id
(1) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'guest1234' ORDER BY id
(1) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'guest1234' ORDER BY id
(1) sql: User found in radcheck table
(1) sql: Conditional check items matched, merging assignment check items
(1) sql: Cleartext-Password := "guest1324"
(1) sql: EXPAND SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id
(1) sql: --> SELECT id, username, attribute, value, op FROM radreply WHERE username = 'guest1234' ORDER BY id
(1) sql: Executing select query: SELECT id, username, attribute, value, op FROM radreply WHERE username = 'guest1234' ORDER BY id
(1) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority
(1) sql: --> SELECT groupname FROM radusergroup WHERE username = 'guest1234' ORDER BY priority
(1) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'guest1234' ORDER BY priority
(1) sql: User found in the group table
(1) sql: EXPAND SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id
(1) sql: --> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'guest' ORDER BY id
(1) sql: Executing select query: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'guest' ORDER BY id
(1) sql: Group "guest": Conditional check items matched
(1) sql: Group "guest": Merging assignment check items
(1) sql: EXPAND SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id
(1) sql: --> SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'guest' ORDER BY id
(1) sql: Executing select query: SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'guest' ORDER BY id
(1) sql: Group "guest": Merging reply items
(1) sql: Tunnel-Medium-Type := IEEE-802
(1) sql: Tunnel-Private-Group-Id := "13"
(1) sql: Tunnel-Type := VLAN
rlm_sql (sql): Released connection (1)
(1) [sql] = ok
(1) [mschap] = noop
(1) eap: Peer sent EAP Response (code 2) ID 2 length 172
(1) eap: Continuing tunnel setup
(1) [eap] = ok
(1) } # authorize = ok
(1) Found Auth-Type = eap
(1) # Executing group from file /etc/freeradius/sites-enabled/school_8021x
(1) authenticate {
(1) eap: Expiring EAP session with state 0xba320227ba301bfd
(1) eap: Finished EAP session with state 0xba320227ba301bfd
(1) eap: Previous EAP request found for state 0xba320227ba301bfd, released from the list
(1) eap: Peer sent packet with method EAP PEAP (25)
(1) eap: Calling submodule eap_peap to process data
(1) eap_peap: (TLS) EAP Peer says that the final record size will be 162 bytes
(1) eap_peap: (TLS) EAP Got all data (162 bytes)
(1) eap_peap: (TLS) Handshake state - before SSL initialization
(1) eap_peap: (TLS) Handshake state - Server before SSL initialization
(1) eap_peap: (TLS) Handshake state - Server before SSL initialization
(1) eap_peap: (TLS) recv TLS 1.3 Handshake, ClientHello
(1) eap_peap: (TLS) Handshake state - Server SSLv3/TLS read client hello
(1) eap_peap: (TLS) send TLS 1.2 Handshake, ServerHello
(1) eap_peap: (TLS) Handshake state - Server SSLv3/TLS write server hello
(1) eap_peap: (TLS) send TLS 1.2 Handshake, Certificate
(1) eap_peap: (TLS) Handshake state - Server SSLv3/TLS write certificate
(1) eap_peap: (TLS) send TLS 1.2 Handshake, ServerKeyExchange
(1) eap_peap: (TLS) Handshake state - Server SSLv3/TLS write key exchange
(1) eap_peap: (TLS) send TLS 1.2 Handshake, ServerHelloDone
(1) eap_peap: (TLS) Handshake state - Server SSLv3/TLS write server done
(1) eap_peap: (TLS) Server : Need to read more data: SSLv3/TLS write server done
(1) eap_peap: (TLS) In Handshake Phase
(1) eap: Sending EAP Request (code 1) ID 3 length 1014
(1) eap: EAP session adding &reply:State = 0xba320227bb311bfd
(1) [eap] = handled
(1) } # authenticate = handled
(1) Using Post-Auth-Type Challenge
(1) # Executing group from file /etc/freeradius/sites-enabled/school_8021x
(1) Challenge { ... } # empty sub-section is ignored
(1) session-state: Saving cached attributes
(1) Framed-MTU = 1004
(1) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(1) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(1) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(1) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(1) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(1) Sent Access-Challenge Id 135 from 172.16.8.20:1812 to 172.16.5.252:60626 length 1096
(1) Tunnel-Medium-Type = IEEE-802
(1) Tunnel-Private-Group-Id = "13"
(1) Tunnel-Type = VLAN
(1) EAP-Message = 0x010303f619c000001e0d160303003d0200003903033965c51d082a103cb5ae3e809f199d309cb57cdbe9c5730f444f574e4752440100c030000011ff01000100000b000403000102001700001603031c6b0b001c67001c640004f9308204f5308203dda0030201020212042926c418ea01b0d1f5c2840ddfd29795e1300d06092a864886f70d01010b05003032310b300906035504061302555331163014060355040a130d4c6574277320456e6372797074310b3009060355040313025233301e170d3233313131323032333434395a170d3234303231303032333434385a301f311d301b060355040313147261646975732e6c656e6465722e736368756c6530820122300d06092a864886f70d01010105000382010f003082010a0282010100cfb3dce5f106298287ab2ded73bdcd2ab2da13f02234bd1cf8f250f0b9e10ef5b6ffcccc57e4c136f30313160897175c8ce15a1ea450a4cf403c057e1771360ed2e668ab906e240cc020bb426441c63470b261e55f38
(1) Message-Authenticator = 0x00000000000000000000000000000000
(1) State = 0xba320227bb311bfd331e2470818158ed
(1) Finished request
Waking up in 4.9 seconds.
(2) Received Access-Request Id 143 from 172.16.5.252:60626 to 172.16.8.20:1812 length 400
(2) User-Name = "guest1234"
(2) Service-Type = Framed-User
(2) Cisco-AVPair = "service-type=Framed"
(2) Framed-MTU = 1485
(2) EAP-Message = 0x020300061900
(2) Message-Authenticator = 0xc72861c22b4853d8a152dfb4a931446d
(2) Cisco-AVPair = "audit-session-id=FC0510AC0008D39DEFB40307"
(2) Cisco-AVPair = "method=dot1x"
(2) Cisco-AVPair = "client-iif-id=100927089"
(2) Cisco-AVPair = "vlan-id=10"
(2) NAS-IP-Address = 172.16.5.252
(2) NAS-Port-Type = Wireless-802.11
(2) NAS-Port = 518
(2) State = 0xba320227bb311bfd331e2470818158ed
(2) Cisco-AVPair = "cisco-wlan-ssid=WTest"
(2) Cisco-AVPair = "wlan-profile-name=WTest"
(2) Called-Station-Id = "50-2f-a8-ce-da-20:WTest"
(2) Calling-Station-Id = "dc-39-6f-9e-dc-d1"
(2) Airespace-Wlan-Id = 5
(2) NAS-Identifier = "wlc-rz"
(2) WLAN-Group-Cipher = 1027076
(2) WLAN-Pairwise-Cipher = 1027076
(2) WLAN-AKM-Suite = 1027073
(2) WLAN-Group-Mgmt-Cipher = 1027078
(2) Restoring &session-state
(2) &session-state:Framed-MTU = 1004
(2) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(2) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(2) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(2) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(2) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(2) # Executing section authorize from file /etc/freeradius/sites-enabled/school_8021x
(2) authorize {
(2) policy filter_username {
(2) if (&User-Name) {
(2) if (&User-Name) -> TRUE
(2) if (&User-Name) {
(2) if (&User-Name =~ / /) {
(2) if (&User-Name =~ / /) -> FALSE
(2) if (&User-Name =~ /@[^@]*@/ ) {
(2) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(2) if (&User-Name =~ /\.\./ ) {
(2) if (&User-Name =~ /\.\./ ) -> FALSE
(2) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) {
(2) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE
(2) if (&User-Name =~ /\.$/) {
(2) if (&User-Name =~ /\.$/) -> FALSE
(2) if (&User-Name =~ /@\./) {
(2) if (&User-Name =~ /@\./) -> FALSE
(2) } # if (&User-Name) = notfound
(2) } # policy filter_username = notfound
(2) [preprocess] = ok
(2) [digest] = noop
(2) suffix: Checking for suffix after "@"
(2) suffix: No '@' in User-Name = "guest1234", looking up realm NULL
(2) suffix: Found realm "NULL"
(2) suffix: Adding Stripped-User-Name = "guest1234"
(2) suffix: Adding Realm = "NULL"
(2) suffix: Authentication realm is LOCAL
(2) [suffix] = ok
(2) [chap] = noop
(2) sql: EXPAND %{%{Stripped-User-Name}:-%{%{User-Name}:-DEFAULT}}
(2) sql: --> guest1234
(2) sql: SQL-User-Name set to 'guest1234'
rlm_sql (sql): Reserved connection (2)
(2) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id
(2) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'guest1234' ORDER BY id
(2) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'guest1234' ORDER BY id
(2) sql: User found in radcheck table
(2) sql: Conditional check items matched, merging assignment check items
(2) sql: Cleartext-Password := "guest1324"
(2) sql: EXPAND SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id
(2) sql: --> SELECT id, username, attribute, value, op FROM radreply WHERE username = 'guest1234' ORDER BY id
(2) sql: Executing select query: SELECT id, username, attribute, value, op FROM radreply WHERE username = 'guest1234' ORDER BY id
(2) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority
(2) sql: --> SELECT groupname FROM radusergroup WHERE username = 'guest1234' ORDER BY priority
(2) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'guest1234' ORDER BY priority
(2) sql: User found in the group table
(2) sql: EXPAND SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id
(2) sql: --> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'guest' ORDER BY id
(2) sql: Executing select query: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'guest' ORDER BY id
(2) sql: Group "guest": Conditional check items matched
(2) sql: Group "guest": Merging assignment check items
(2) sql: EXPAND SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id
(2) sql: --> SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'guest' ORDER BY id
(2) sql: Executing select query: SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'guest' ORDER BY id
(2) sql: Group "guest": Merging reply items
(2) sql: Tunnel-Medium-Type := IEEE-802
(2) sql: Tunnel-Private-Group-Id := "13"
(2) sql: Tunnel-Type := VLAN
rlm_sql (sql): Released connection (2)
(2) [sql] = ok
(2) [mschap] = noop
(2) eap: Peer sent EAP Response (code 2) ID 3 length 6
(2) eap: Continuing tunnel setup
(2) [eap] = ok
(2) } # authorize = ok
(2) Found Auth-Type = eap
(2) # Executing group from file /etc/freeradius/sites-enabled/school_8021x
(2) authenticate {
(2) eap: Expiring EAP session with state 0xba320227bb311bfd
(2) eap: Finished EAP session with state 0xba320227bb311bfd
(2) eap: Previous EAP request found for state 0xba320227bb311bfd, released from the list
(2) eap: Peer sent packet with method EAP PEAP (25)
(2) eap: Calling submodule eap_peap to process data
(2) eap_peap: (TLS) Peer ACKed our handshake fragment
(2) eap: Sending EAP Request (code 1) ID 4 length 1010
(2) eap: EAP session adding &reply:State = 0xba320227b8361bfd
(2) [eap] = handled
(2) } # authenticate = handled
(2) Using Post-Auth-Type Challenge
(2) # Executing group from file /etc/freeradius/sites-enabled/school_8021x
(2) Challenge { ... } # empty sub-section is ignored
(2) session-state: Saving cached attributes
(2) Framed-MTU = 1004
(2) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(2) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(2) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(2) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(2) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(2) Sent Access-Challenge Id 143 from 172.16.8.20:1812 to 172.16.5.252:60626 length 1090
(2) Tunnel-Medium-Type = IEEE-802
(2) Tunnel-Private-Group-Id = "13"
(2) Tunnel-Type = VLAN
(2) EAP-Message = 0x010403f219400300473045022021d86d99c514e86ea5d3a44852f734ac4f925072d0aaf7a337d6f92e614d6eec022100e912879e5f209fa42e24cd76df09f98c3ef2bb5265d1c205d5e5ae2226f9314a300d06092a864886f70d01010b050003820101009922dd5305695329c64db33f8f5667c95c4cddd0b78bd509b208bfb9f60b5f7da92b8e9df0f08bc0f217e8a3f2c2325c598de59708d1ab23e1e0bbac6ccca9ee0dc5d7d6b615bd222dd7e4cec69758ba7ca279b864a3afac2839be1cdb8d4e3ef438b8d9dc856d261b52da679870f84306cb9caf54f533c4090b372c033d5b808f42e195bd992048ca9a0fb199f1f24ea9f6d26b0a08726996c70a41f57e2009b99728be07bce33f2b789d271eea5bff132dc7f4b260603b559fdb1955cf410003428e50f493e8183bfbe030a0711d89d71427f996db7bddb06e56ad33ca9f7c93b603dab8e6e2fa915d554746f2a7baff627112a3bafdbaed08d22d7acdce5f00056f3082056b30820353a003020102021100
(2) Message-Authenticator = 0x00000000000000000000000000000000
(2) State = 0xba320227b8361bfd331e2470818158ed
(2) Finished request
Waking up in 4.9 seconds.
(3) Received Access-Request Id 151 from 172.16.5.252:60626 to 172.16.8.20:1812 length 400
(3) User-Name = "guest1234"
(3) Service-Type = Framed-User
(3) Cisco-AVPair = "service-type=Framed"
(3) Framed-MTU = 1485
(3) EAP-Message = 0x020400061900
(3) Message-Authenticator = 0x760bd3f3e40a71cb05ef42b743f2603f
(3) Cisco-AVPair = "audit-session-id=FC0510AC0008D39DEFB40307"
(3) Cisco-AVPair = "method=dot1x"
(3) Cisco-AVPair = "client-iif-id=100927089"
(3) Cisco-AVPair = "vlan-id=10"
(3) NAS-IP-Address = 172.16.5.252
(3) NAS-Port-Type = Wireless-802.11
(3) NAS-Port = 518
(3) State = 0xba320227b8361bfd331e2470818158ed
(3) Cisco-AVPair = "cisco-wlan-ssid=WTest"
(3) Cisco-AVPair = "wlan-profile-name=WTest"
(3) Called-Station-Id = "50-2f-a8-ce-da-20:WTest"
(3) Calling-Station-Id = "dc-39-6f-9e-dc-d1"
(3) Airespace-Wlan-Id = 5
(3) NAS-Identifier = "wlc-rz"
(3) WLAN-Group-Cipher = 1027076
(3) WLAN-Pairwise-Cipher = 1027076
(3) WLAN-AKM-Suite = 1027073
(3) WLAN-Group-Mgmt-Cipher = 1027078
(3) Restoring &session-state
(3) &session-state:Framed-MTU = 1004
(3) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(3) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(3) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(3) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(3) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(3) # Executing section authorize from file /etc/freeradius/sites-enabled/school_8021x
(3) authorize {
(3) policy filter_username {
(3) if (&User-Name) {
(3) if (&User-Name) -> TRUE
(3) if (&User-Name) {
(3) if (&User-Name =~ / /) {
(3) if (&User-Name =~ / /) -> FALSE
(3) if (&User-Name =~ /@[^@]*@/ ) {
(3) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(3) if (&User-Name =~ /\.\./ ) {
(3) if (&User-Name =~ /\.\./ ) -> FALSE
(3) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) {
(3) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE
(3) if (&User-Name =~ /\.$/) {
(3) if (&User-Name =~ /\.$/) -> FALSE
(3) if (&User-Name =~ /@\./) {
(3) if (&User-Name =~ /@\./) -> FALSE
(3) } # if (&User-Name) = notfound
(3) } # policy filter_username = notfound
(3) [preprocess] = ok
(3) [digest] = noop
(3) suffix: Checking for suffix after "@"
(3) suffix: No '@' in User-Name = "guest1234", looking up realm NULL
(3) suffix: Found realm "NULL"
(3) suffix: Adding Stripped-User-Name = "guest1234"
(3) suffix: Adding Realm = "NULL"
(3) suffix: Authentication realm is LOCAL
(3) [suffix] = ok
(3) [chap] = noop
(3) sql: EXPAND %{%{Stripped-User-Name}:-%{%{User-Name}:-DEFAULT}}
(3) sql: --> guest1234
(3) sql: SQL-User-Name set to 'guest1234'
rlm_sql (sql): Reserved connection (3)
(3) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id
(3) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'guest1234' ORDER BY id
(3) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'guest1234' ORDER BY id
(3) sql: User found in radcheck table
(3) sql: Conditional check items matched, merging assignment check items
(3) sql: Cleartext-Password := "guest1324"
(3) sql: EXPAND SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id
(3) sql: --> SELECT id, username, attribute, value, op FROM radreply WHERE username = 'guest1234' ORDER BY id
(3) sql: Executing select query: SELECT id, username, attribute, value, op FROM radreply WHERE username = 'guest1234' ORDER BY id
(3) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority
(3) sql: --> SELECT groupname FROM radusergroup WHERE username = 'guest1234' ORDER BY priority
(3) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'guest1234' ORDER BY priority
(3) sql: User found in the group table
(3) sql: EXPAND SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id
(3) sql: --> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'guest' ORDER BY id
(3) sql: Executing select query: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'guest' ORDER BY id
(3) sql: Group "guest": Conditional check items matched
(3) sql: Group "guest": Merging assignment check items
(3) sql: EXPAND SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id
(3) sql: --> SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'guest' ORDER BY id
(3) sql: Executing select query: SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'guest' ORDER BY id
(3) sql: Group "guest": Merging reply items
(3) sql: Tunnel-Medium-Type := IEEE-802
(3) sql: Tunnel-Private-Group-Id := "13"
(3) sql: Tunnel-Type := VLAN
rlm_sql (sql): Released connection (3)
(3) [sql] = ok
(3) [mschap] = noop
(3) eap: Peer sent EAP Response (code 2) ID 4 length 6
(3) eap: Continuing tunnel setup
(3) [eap] = ok
(3) } # authorize = ok
(3) Found Auth-Type = eap
(3) # Executing group from file /etc/freeradius/sites-enabled/school_8021x
(3) authenticate {
(3) eap: Expiring EAP session with state 0xba320227b8361bfd
(3) eap: Finished EAP session with state 0xba320227b8361bfd
(3) eap: Previous EAP request found for state 0xba320227b8361bfd, released from the list
(3) eap: Peer sent packet with method EAP PEAP (25)
(3) eap: Calling submodule eap_peap to process data
(3) eap_peap: (TLS) Peer ACKed our handshake fragment
(3) eap: Sending EAP Request (code 1) ID 5 length 1010
(3) eap: EAP session adding &reply:State = 0xba320227b9371bfd
(3) [eap] = handled
(3) } # authenticate = handled
(3) Using Post-Auth-Type Challenge
(3) # Executing group from file /etc/freeradius/sites-enabled/school_8021x
(3) Challenge { ... } # empty sub-section is ignored
(3) session-state: Saving cached attributes
(3) Framed-MTU = 1004
(3) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(3) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(3) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(3) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(3) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(3) Sent Access-Challenge Id 151 from 172.16.8.20:1812 to 172.16.5.252:60626 length 1090
(3) Tunnel-Medium-Type = IEEE-802
(3) Tunnel-Private-Group-Id = "13"
(3) Tunnel-Type = VLAN
(3) EAP-Message = 0x010503f219407b4a1c4b730512fcc6eae050137c439374b3ca74e78e1f0108d030d45b7136b407bac130305c48b7823b98a67d608aa2a32982ccbabd83041ba2830341a1d605f11bc2b6f0a87c863b46a8482a88dc769a76bf1f6aa53d198feb38f364dec82b0d0a28fff7dbe21542d422d0275de179fe18e77088ad4ee6d98b3ac6dd27516effbc64f533434f0203010001a3423040300e0603551d0f0101ff040403020106300f0603551d130101ff040530030101ff301d0603551d0e0416041479b459e67bb6e5e40173800888c81a58f6e99b6e300d06092a864886f70d01010b05000382020100551f58a9bcb2a850d00cb1d81a6920272908ac61755c8a6ef882e5692fd5f6564bb9b8731059d321977ee74c71fbb2d260ad39a80bea17215685f1500e59ebcee059e9bac915ef869d8f8480f6e4e99190dc179b621b45f06695d27c6fc2ea3bef1fcfcbd6ae27f1a9b0c8aefd7d7e9afa2204ebffd97fea912b22b1170e8ff28a345b58d8fc01c954b9b826cc
(3) Message-Authenticator = 0x00000000000000000000000000000000
(3) State = 0xba320227b9371bfd331e2470818158ed
(3) Finished request
Waking up in 4.9 seconds.
(4) Received Access-Request Id 159 from 172.16.5.252:60626 to 172.16.8.20:1812 length 400
(4) User-Name = "guest1234"
(4) Service-Type = Framed-User
(4) Cisco-AVPair = "service-type=Framed"
(4) Framed-MTU = 1485
(4) EAP-Message = 0x020500061900
(4) Message-Authenticator = 0x8450479538fd251a80b2ab78c6669555
(4) Cisco-AVPair = "audit-session-id=FC0510AC0008D39DEFB40307"
(4) Cisco-AVPair = "method=dot1x"
(4) Cisco-AVPair = "client-iif-id=100927089"
(4) Cisco-AVPair = "vlan-id=10"
(4) NAS-IP-Address = 172.16.5.252
(4) NAS-Port-Type = Wireless-802.11
(4) NAS-Port = 518
(4) State = 0xba320227b9371bfd331e2470818158ed
(4) Cisco-AVPair = "cisco-wlan-ssid=WTest"
(4) Cisco-AVPair = "wlan-profile-name=WTest"
(4) Called-Station-Id = "50-2f-a8-ce-da-20:WTest"
(4) Calling-Station-Id = "dc-39-6f-9e-dc-d1"
(4) Airespace-Wlan-Id = 5
(4) NAS-Identifier = "wlc-rz"
(4) WLAN-Group-Cipher = 1027076
(4) WLAN-Pairwise-Cipher = 1027076
(4) WLAN-AKM-Suite = 1027073
(4) WLAN-Group-Mgmt-Cipher = 1027078
(4) Restoring &session-state
(4) &session-state:Framed-MTU = 1004
(4) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(4) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(4) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(4) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(4) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(4) # Executing section authorize from file /etc/freeradius/sites-enabled/school_8021x
(4) authorize {
(4) policy filter_username {
(4) if (&User-Name) {
(4) if (&User-Name) -> TRUE
(4) if (&User-Name) {
(4) if (&User-Name =~ / /) {
(4) if (&User-Name =~ / /) -> FALSE
(4) if (&User-Name =~ /@[^@]*@/ ) {
(4) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(4) if (&User-Name =~ /\.\./ ) {
(4) if (&User-Name =~ /\.\./ ) -> FALSE
(4) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) {
(4) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE
(4) if (&User-Name =~ /\.$/) {
(4) if (&User-Name =~ /\.$/) -> FALSE
(4) if (&User-Name =~ /@\./) {
(4) if (&User-Name =~ /@\./) -> FALSE
(4) } # if (&User-Name) = notfound
(4) } # policy filter_username = notfound
(4) [preprocess] = ok
(4) [digest] = noop
(4) suffix: Checking for suffix after "@"
(4) suffix: No '@' in User-Name = "guest1234", looking up realm NULL
(4) suffix: Found realm "NULL"
(4) suffix: Adding Stripped-User-Name = "guest1234"
(4) suffix: Adding Realm = "NULL"
(4) suffix: Authentication realm is LOCAL
(4) [suffix] = ok
(4) [chap] = noop
(4) sql: EXPAND %{%{Stripped-User-Name}:-%{%{User-Name}:-DEFAULT}}
(4) sql: --> guest1234
(4) sql: SQL-User-Name set to 'guest1234'
rlm_sql (sql): Reserved connection (4)
(4) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id
(4) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'guest1234' ORDER BY id
(4) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'guest1234' ORDER BY id
(4) sql: User found in radcheck table
(4) sql: Conditional check items matched, merging assignment check items
(4) sql: Cleartext-Password := "guest1324"
(4) sql: EXPAND SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id
(4) sql: --> SELECT id, username, attribute, value, op FROM radreply WHERE username = 'guest1234' ORDER BY id
(4) sql: Executing select query: SELECT id, username, attribute, value, op FROM radreply WHERE username = 'guest1234' ORDER BY id
(4) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority
(4) sql: --> SELECT groupname FROM radusergroup WHERE username = 'guest1234' ORDER BY priority
(4) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'guest1234' ORDER BY priority
(4) sql: User found in the group table
(4) sql: EXPAND SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id
(4) sql: --> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'guest' ORDER BY id
(4) sql: Executing select query: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'guest' ORDER BY id
(4) sql: Group "guest": Conditional check items matched
(4) sql: Group "guest": Merging assignment check items
(4) sql: EXPAND SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id
(4) sql: --> SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'guest' ORDER BY id
(4) sql: Executing select query: SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'guest' ORDER BY id
(4) sql: Group "guest": Merging reply items
(4) sql: Tunnel-Medium-Type := IEEE-802
(4) sql: Tunnel-Private-Group-Id := "13"
(4) sql: Tunnel-Type := VLAN
rlm_sql (sql): Released connection (4)
(4) [sql] = ok
(4) [mschap] = noop
(4) eap: Peer sent EAP Response (code 2) ID 5 length 6
(4) eap: Continuing tunnel setup
(4) [eap] = ok
(4) } # authorize = ok
(4) Found Auth-Type = eap
(4) # Executing group from file /etc/freeradius/sites-enabled/school_8021x
(4) authenticate {
(4) eap: Expiring EAP session with state 0xba320227b9371bfd
(4) eap: Finished EAP session with state 0xba320227b9371bfd
(4) eap: Previous EAP request found for state 0xba320227b9371bfd, released from the list
(4) eap: Peer sent packet with method EAP PEAP (25)
(4) eap: Calling submodule eap_peap to process data
(4) eap_peap: (TLS) Peer ACKed our handshake fragment
(4) eap: Sending EAP Request (code 1) ID 6 length 1010
(4) eap: EAP session adding &reply:State = 0xba320227be341bfd
(4) [eap] = handled
(4) } # authenticate = handled
(4) Using Post-Auth-Type Challenge
(4) # Executing group from file /etc/freeradius/sites-enabled/school_8021x
(4) Challenge { ... } # empty sub-section is ignored
(4) session-state: Saving cached attributes
(4) Framed-MTU = 1004
(4) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(4) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(4) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(4) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(4) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(4) Sent Access-Challenge Id 159 from 172.16.8.20:1812 to 172.16.5.252:60626 length 1090
(4) Tunnel-Medium-Type = IEEE-802
(4) Tunnel-Private-Group-Id = "13"
(4) Tunnel-Type = VLAN
(4) EAP-Message = 0x010603f21940cd9bd59f80830aec094af3164a3e5ccf77acde67050d1d07b6dc16fb5a8b14dbe27160c4ba459511898eea06dff72a161ca4b9c5c532e003e01e8218388bd745d80a6a6ee60077fb02517d22d80a6e9a5b77dff0fa41ec39dc75ca68070c1feaa3423040300e0603551d0f0101ff040403020106300f0603551d130101ff040530030101ff301d0603551d0e041604147c4296aede4b483bfa92f89e8ccf6d8ba9723795300a06082a8648ce3d040303036800306502307b794e465084c24487461b4570ff5899def4fda4d255a6202d74d634bc41a3505f012756b4be277506af122e75988dfc0231008bf5776cd4c865aae00b2cee149d2737a4f953a551e42983d7f890315b429f0af5feae0068e78c490fb66f5b5b15f2e70002ca308202c63082024da003020102021100b3bddff8a7845bbce903a04135b34a45300a06082a8648ce3d040303304f310b300906035504061302555331293027060355040a1320496e7465726e6574205365637572
(4) Message-Authenticator = 0x00000000000000000000000000000000
(4) State = 0xba320227be341bfd331e2470818158ed
(4) Finished request
Waking up in 4.9 seconds.
(5) Received Access-Request Id 167 from 172.16.5.252:60626 to 172.16.8.20:1812 length 400
(5) User-Name = "guest1234"
(5) Service-Type = Framed-User
(5) Cisco-AVPair = "service-type=Framed"
(5) Framed-MTU = 1485
(5) EAP-Message = 0x020600061900
(5) Message-Authenticator = 0x715e921f54736fd06a82494aa17d052d
(5) Cisco-AVPair = "audit-session-id=FC0510AC0008D39DEFB40307"
(5) Cisco-AVPair = "method=dot1x"
(5) Cisco-AVPair = "client-iif-id=100927089"
(5) Cisco-AVPair = "vlan-id=10"
(5) NAS-IP-Address = 172.16.5.252
(5) NAS-Port-Type = Wireless-802.11
(5) NAS-Port = 518
(5) State = 0xba320227be341bfd331e2470818158ed
(5) Cisco-AVPair = "cisco-wlan-ssid=WTest"
(5) Cisco-AVPair = "wlan-profile-name=WTest"
(5) Called-Station-Id = "50-2f-a8-ce-da-20:WTest"
(5) Calling-Station-Id = "dc-39-6f-9e-dc-d1"
(5) Airespace-Wlan-Id = 5
(5) NAS-Identifier = "wlc-rz"
(5) WLAN-Group-Cipher = 1027076
(5) WLAN-Pairwise-Cipher = 1027076
(5) WLAN-AKM-Suite = 1027073
(5) WLAN-Group-Mgmt-Cipher = 1027078
(5) Restoring &session-state
(5) &session-state:Framed-MTU = 1004
(5) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(5) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(5) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(5) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(5) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(5) # Executing section authorize from file /etc/freeradius/sites-enabled/school_8021x
(5) authorize {
(5) policy filter_username {
(5) if (&User-Name) {
(5) if (&User-Name) -> TRUE
(5) if (&User-Name) {
(5) if (&User-Name =~ / /) {
(5) if (&User-Name =~ / /) -> FALSE
(5) if (&User-Name =~ /@[^@]*@/ ) {
(5) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(5) if (&User-Name =~ /\.\./ ) {
(5) if (&User-Name =~ /\.\./ ) -> FALSE
(5) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) {
(5) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE
(5) if (&User-Name =~ /\.$/) {
(5) if (&User-Name =~ /\.$/) -> FALSE
(5) if (&User-Name =~ /@\./) {
(5) if (&User-Name =~ /@\./) -> FALSE
(5) } # if (&User-Name) = notfound
(5) } # policy filter_username = notfound
(5) [preprocess] = ok
(5) [digest] = noop
(5) suffix: Checking for suffix after "@"
(5) suffix: No '@' in User-Name = "guest1234", looking up realm NULL
(5) suffix: Found realm "NULL"
(5) suffix: Adding Stripped-User-Name = "guest1234"
(5) suffix: Adding Realm = "NULL"
(5) suffix: Authentication realm is LOCAL
(5) [suffix] = ok
(5) [chap] = noop
(5) sql: EXPAND %{%{Stripped-User-Name}:-%{%{User-Name}:-DEFAULT}}
(5) sql: --> guest1234
(5) sql: SQL-User-Name set to 'guest1234'
rlm_sql (sql): Reserved connection (0)
(5) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id
(5) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'guest1234' ORDER BY id
(5) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'guest1234' ORDER BY id
(5) sql: User found in radcheck table
(5) sql: Conditional check items matched, merging assignment check items
(5) sql: Cleartext-Password := "guest1324"
(5) sql: EXPAND SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id
(5) sql: --> SELECT id, username, attribute, value, op FROM radreply WHERE username = 'guest1234' ORDER BY id
(5) sql: Executing select query: SELECT id, username, attribute, value, op FROM radreply WHERE username = 'guest1234' ORDER BY id
(5) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority
(5) sql: --> SELECT groupname FROM radusergroup WHERE username = 'guest1234' ORDER BY priority
(5) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'guest1234' ORDER BY priority
(5) sql: User found in the group table
(5) sql: EXPAND SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id
(5) sql: --> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'guest' ORDER BY id
(5) sql: Executing select query: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'guest' ORDER BY id
(5) sql: Group "guest": Conditional check items matched
(5) sql: Group "guest": Merging assignment check items
(5) sql: EXPAND SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id
(5) sql: --> SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'guest' ORDER BY id
(5) sql: Executing select query: SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'guest' ORDER BY id
(5) sql: Group "guest": Merging reply items
(5) sql: Tunnel-Medium-Type := IEEE-802
(5) sql: Tunnel-Private-Group-Id := "13"
(5) sql: Tunnel-Type := VLAN
rlm_sql (sql): Released connection (0)
(5) [sql] = ok
(5) [mschap] = noop
(5) eap: Peer sent EAP Response (code 2) ID 6 length 6
(5) eap: Continuing tunnel setup
(5) [eap] = ok
(5) } # authorize = ok
(5) Found Auth-Type = eap
(5) # Executing group from file /etc/freeradius/sites-enabled/school_8021x
(5) authenticate {
(5) eap: Expiring EAP session with state 0xba320227be341bfd
(5) eap: Finished EAP session with state 0xba320227be341bfd
(5) eap: Previous EAP request found for state 0xba320227be341bfd, released from the list
(5) eap: Peer sent packet with method EAP PEAP (25)
(5) eap: Calling submodule eap_peap to process data
(5) eap_peap: (TLS) Peer ACKed our handshake fragment
(5) eap: Sending EAP Request (code 1) ID 7 length 1010
(5) eap: EAP session adding &reply:State = 0xba320227bf351bfd
(5) [eap] = handled
(5) } # authenticate = handled
(5) Using Post-Auth-Type Challenge
(5) # Executing group from file /etc/freeradius/sites-enabled/school_8021x
(5) Challenge { ... } # empty sub-section is ignored
(5) session-state: Saving cached attributes
(5) Framed-MTU = 1004
(5) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(5) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(5) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(5) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(5) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(5) Sent Access-Challenge Id 167 from 172.16.8.20:1812 to 172.16.5.252:60626 length 1090
(5) Tunnel-Medium-Type = IEEE-802
(5) Tunnel-Private-Group-Id = "13"
(5) Tunnel-Type = VLAN
(5) EAP-Message = 0x010703f2194002c63082024ca00302010202104ed23df6af7ec7f9b0c4726ff9512a77300a06082a8648ce3d040303304f310b300906035504061302555331293027060355040a1320496e7465726e65742053656375726974792052657365617263682047726f7570311530130603550403130c4953524720526f6f74205832301e170d3230303930343030303030305a170d3235303931353136303030305a3032310b300906035504061302555331163014060355040a130d4c6574277320456e6372797074310b30090603550403130245323076301006072a8648ce3d020106052b8104002203620004239a2cede58b198d61559ec7e65560e8932e08b44a0356b54e21b9f939d15538669fcb6c1543c42b27b08eefb9fe31a780aef844cd820184c81a89de3f225307b962dfea7d2ad17f5fc3e51e7c76e689f88bcb457780491a842fe5640d7ad6dea382010830820104300e0603551d0f0101ff040403020186301d0603551d250416301406082b0601050507
(5) Message-Authenticator = 0x00000000000000000000000000000000
(5) State = 0xba320227bf351bfd331e2470818158ed
(5) Finished request
Waking up in 4.9 seconds.
(6) Received Access-Request Id 175 from 172.16.5.252:60626 to 172.16.8.20:1812 length 400
(6) User-Name = "guest1234"
(6) Service-Type = Framed-User
(6) Cisco-AVPair = "service-type=Framed"
(6) Framed-MTU = 1485
(6) EAP-Message = 0x020700061900
(6) Message-Authenticator = 0x2ff90b8c924d238bb54c9eab6270df7d
(6) Cisco-AVPair = "audit-session-id=FC0510AC0008D39DEFB40307"
(6) Cisco-AVPair = "method=dot1x"
(6) Cisco-AVPair = "client-iif-id=100927089"
(6) Cisco-AVPair = "vlan-id=10"
(6) NAS-IP-Address = 172.16.5.252
(6) NAS-Port-Type = Wireless-802.11
(6) NAS-Port = 518
(6) State = 0xba320227bf351bfd331e2470818158ed
(6) Cisco-AVPair = "cisco-wlan-ssid=WTest"
(6) Cisco-AVPair = "wlan-profile-name=WTest"
(6) Called-Station-Id = "50-2f-a8-ce-da-20:WTest"
(6) Calling-Station-Id = "dc-39-6f-9e-dc-d1"
(6) Airespace-Wlan-Id = 5
(6) NAS-Identifier = "wlc-rz"
(6) WLAN-Group-Cipher = 1027076
(6) WLAN-Pairwise-Cipher = 1027076
(6) WLAN-AKM-Suite = 1027073
(6) WLAN-Group-Mgmt-Cipher = 1027078
(6) Restoring &session-state
(6) &session-state:Framed-MTU = 1004
(6) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(6) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(6) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(6) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(6) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(6) # Executing section authorize from file /etc/freeradius/sites-enabled/school_8021x
(6) authorize {
(6) policy filter_username {
(6) if (&User-Name) {
(6) if (&User-Name) -> TRUE
(6) if (&User-Name) {
(6) if (&User-Name =~ / /) {
(6) if (&User-Name =~ / /) -> FALSE
(6) if (&User-Name =~ /@[^@]*@/ ) {
(6) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(6) if (&User-Name =~ /\.\./ ) {
(6) if (&User-Name =~ /\.\./ ) -> FALSE
(6) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) {
(6) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE
(6) if (&User-Name =~ /\.$/) {
(6) if (&User-Name =~ /\.$/) -> FALSE
(6) if (&User-Name =~ /@\./) {
(6) if (&User-Name =~ /@\./) -> FALSE
(6) } # if (&User-Name) = notfound
(6) } # policy filter_username = notfound
(6) [preprocess] = ok
(6) [digest] = noop
(6) suffix: Checking for suffix after "@"
(6) suffix: No '@' in User-Name = "guest1234", looking up realm NULL
(6) suffix: Found realm "NULL"
(6) suffix: Adding Stripped-User-Name = "guest1234"
(6) suffix: Adding Realm = "NULL"
(6) suffix: Authentication realm is LOCAL
(6) [suffix] = ok
(6) [chap] = noop
(6) sql: EXPAND %{%{Stripped-User-Name}:-%{%{User-Name}:-DEFAULT}}
(6) sql: --> guest1234
(6) sql: SQL-User-Name set to 'guest1234'
rlm_sql (sql): Reserved connection (5)
(6) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id
(6) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'guest1234' ORDER BY id
(6) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'guest1234' ORDER BY id
(6) sql: User found in radcheck table
(6) sql: Conditional check items matched, merging assignment check items
(6) sql: Cleartext-Password := "guest1324"
(6) sql: EXPAND SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id
(6) sql: --> SELECT id, username, attribute, value, op FROM radreply WHERE username = 'guest1234' ORDER BY id
(6) sql: Executing select query: SELECT id, username, attribute, value, op FROM radreply WHERE username = 'guest1234' ORDER BY id
(6) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority
(6) sql: --> SELECT groupname FROM radusergroup WHERE username = 'guest1234' ORDER BY priority
(6) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'guest1234' ORDER BY priority
(6) sql: User found in the group table
(6) sql: EXPAND SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id
(6) sql: --> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'guest' ORDER BY id
(6) sql: Executing select query: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'guest' ORDER BY id
(6) sql: Group "guest": Conditional check items matched
(6) sql: Group "guest": Merging assignment check items
(6) sql: EXPAND SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id
(6) sql: --> SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'guest' ORDER BY id
(6) sql: Executing select query: SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'guest' ORDER BY id
(6) sql: Group "guest": Merging reply items
(6) sql: Tunnel-Medium-Type := IEEE-802
(6) sql: Tunnel-Private-Group-Id := "13"
(6) sql: Tunnel-Type := VLAN
rlm_sql (sql): Released connection (5)
(6) [sql] = ok
(6) [mschap] = noop
(6) eap: Peer sent EAP Response (code 2) ID 7 length 6
(6) eap: Continuing tunnel setup
(6) [eap] = ok
(6) } # authorize = ok
(6) Found Auth-Type = eap
(6) # Executing group from file /etc/freeradius/sites-enabled/school_8021x
(6) authenticate {
(6) eap: Expiring EAP session with state 0xba320227bf351bfd
(6) eap: Finished EAP session with state 0xba320227bf351bfd
(6) eap: Previous EAP request found for state 0xba320227bf351bfd, released from the list
(6) eap: Peer sent packet with method EAP PEAP (25)
(6) eap: Calling submodule eap_peap to process data
(6) eap_peap: (TLS) Peer ACKed our handshake fragment
(6) eap: Sending EAP Request (code 1) ID 8 length 1010
(6) eap: EAP session adding &reply:State = 0xba320227bc3a1bfd
(6) [eap] = handled
(6) } # authenticate = handled
(6) Using Post-Auth-Type Challenge
(6) # Executing group from file /etc/freeradius/sites-enabled/school_8021x
(6) Challenge { ... } # empty sub-section is ignored
(6) session-state: Saving cached attributes
(6) Framed-MTU = 1004
(6) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(6) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(6) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(6) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(6) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(6) Sent Access-Challenge Id 175 from 172.16.8.20:1812 to 172.16.5.252:60626 length 1090
(6) Tunnel-Medium-Type = IEEE-802
(6) Tunnel-Private-Group-Id = "13"
(6) Tunnel-Type = VLAN
(6) EAP-Message = 0x010803f2194094145535578c9ea8a23919f5823c42a94e6ef53bc32edb8dc0b05cf35938e7edcf69f05a0b1bbec094242587fa3771b313e71cace19befdbe43b45524596a9c153ce34c852eeb5aeed8fde6070e2a554abb66d0e97a540346b2bd3bc66eb66347cfa6b8b8f572999f830175dba726ffb81c5add286583d17c7e709bbf12bf786dcc1da715dd446e3ccad25c188bc60677566b3f118f7a25ce653ff3a88b647a5ff1318ea9809773f9d53f9cf01e5f5a6701714af63a4ff99b3939ddc53a706fe48851da169ae2575bb13cc5203f5ed51a18bdb150203010001a382010830820104300e0603551d0f0101ff040403020186301d0603551d250416301406082b0601050507030206082b0601050507030130120603551d130101ff040830060101ff020100301d0603551d0e04160414142eb317b75856cbae500940e61faf9d8b14c2c6301f0603551d2304183016801479b459e67bb6e5e40173800888c81a58f6e99b6e303206082b0601050507010104
(6) Message-Authenticator = 0x00000000000000000000000000000000
(6) State = 0xba320227bc3a1bfd331e2470818158ed
(6) Finished request
Waking up in 4.9 seconds.
(7) Received Access-Request Id 183 from 172.16.5.252:60626 to 172.16.8.20:1812 length 400
(7) User-Name = "guest1234"
(7) Service-Type = Framed-User
(7) Cisco-AVPair = "service-type=Framed"
(7) Framed-MTU = 1485
(7) EAP-Message = 0x020800061900
(7) Message-Authenticator = 0x18ffe8e2f1cf77c19876027facbde39c
(7) Cisco-AVPair = "audit-session-id=FC0510AC0008D39DEFB40307"
(7) Cisco-AVPair = "method=dot1x"
(7) Cisco-AVPair = "client-iif-id=100927089"
(7) Cisco-AVPair = "vlan-id=10"
(7) NAS-IP-Address = 172.16.5.252
(7) NAS-Port-Type = Wireless-802.11
(7) NAS-Port = 518
(7) State = 0xba320227bc3a1bfd331e2470818158ed
(7) Cisco-AVPair = "cisco-wlan-ssid=WTest"
(7) Cisco-AVPair = "wlan-profile-name=WTest"
(7) Called-Station-Id = "50-2f-a8-ce-da-20:WTest"
(7) Calling-Station-Id = "dc-39-6f-9e-dc-d1"
(7) Airespace-Wlan-Id = 5
(7) NAS-Identifier = "wlc-rz"
(7) WLAN-Group-Cipher = 1027076
(7) WLAN-Pairwise-Cipher = 1027076
(7) WLAN-AKM-Suite = 1027073
(7) WLAN-Group-Mgmt-Cipher = 1027078
(7) Restoring &session-state
(7) &session-state:Framed-MTU = 1004
(7) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(7) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(7) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(7) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(7) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(7) # Executing section authorize from file /etc/freeradius/sites-enabled/school_8021x
(7) authorize {
(7) policy filter_username {
(7) if (&User-Name) {
(7) if (&User-Name) -> TRUE
(7) if (&User-Name) {
(7) if (&User-Name =~ / /) {
(7) if (&User-Name =~ / /) -> FALSE
(7) if (&User-Name =~ /@[^@]*@/ ) {
(7) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(7) if (&User-Name =~ /\.\./ ) {
(7) if (&User-Name =~ /\.\./ ) -> FALSE
(7) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) {
(7) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE
(7) if (&User-Name =~ /\.$/) {
(7) if (&User-Name =~ /\.$/) -> FALSE
(7) if (&User-Name =~ /@\./) {
(7) if (&User-Name =~ /@\./) -> FALSE
(7) } # if (&User-Name) = notfound
(7) } # policy filter_username = notfound
(7) [preprocess] = ok
(7) [digest] = noop
(7) suffix: Checking for suffix after "@"
(7) suffix: No '@' in User-Name = "guest1234", looking up realm NULL
(7) suffix: Found realm "NULL"
(7) suffix: Adding Stripped-User-Name = "guest1234"
(7) suffix: Adding Realm = "NULL"
(7) suffix: Authentication realm is LOCAL
(7) [suffix] = ok
(7) [chap] = noop
(7) sql: EXPAND %{%{Stripped-User-Name}:-%{%{User-Name}:-DEFAULT}}
(7) sql: --> guest1234
(7) sql: SQL-User-Name set to 'guest1234'
rlm_sql (sql): Reserved connection (1)
(7) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id
(7) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'guest1234' ORDER BY id
(7) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'guest1234' ORDER BY id
(7) sql: User found in radcheck table
(7) sql: Conditional check items matched, merging assignment check items
(7) sql: Cleartext-Password := "guest1324"
(7) sql: EXPAND SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id
(7) sql: --> SELECT id, username, attribute, value, op FROM radreply WHERE username = 'guest1234' ORDER BY id
(7) sql: Executing select query: SELECT id, username, attribute, value, op FROM radreply WHERE username = 'guest1234' ORDER BY id
(7) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority
(7) sql: --> SELECT groupname FROM radusergroup WHERE username = 'guest1234' ORDER BY priority
(7) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'guest1234' ORDER BY priority
(7) sql: User found in the group table
(7) sql: EXPAND SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id
(7) sql: --> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'guest' ORDER BY id
(7) sql: Executing select query: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'guest' ORDER BY id
(7) sql: Group "guest": Conditional check items matched
(7) sql: Group "guest": Merging assignment check items
(7) sql: EXPAND SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id
(7) sql: --> SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'guest' ORDER BY id
(7) sql: Executing select query: SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'guest' ORDER BY id
(7) sql: Group "guest": Merging reply items
(7) sql: Tunnel-Medium-Type := IEEE-802
(7) sql: Tunnel-Private-Group-Id := "13"
(7) sql: Tunnel-Type := VLAN
rlm_sql (sql): Released connection (1)
(7) [sql] = ok
(7) [mschap] = noop
(7) eap: Peer sent EAP Response (code 2) ID 8 length 6
(7) eap: Continuing tunnel setup
(7) [eap] = ok
(7) } # authorize = ok
(7) Found Auth-Type = eap
(7) # Executing group from file /etc/freeradius/sites-enabled/school_8021x
(7) authenticate {
(7) eap: Expiring EAP session with state 0xba320227bc3a1bfd
(7) eap: Finished EAP session with state 0xba320227bc3a1bfd
(7) eap: Previous EAP request found for state 0xba320227bc3a1bfd, released from the list
(7) eap: Peer sent packet with method EAP PEAP (25)
(7) eap: Calling submodule eap_peap to process data
(7) eap_peap: (TLS) Peer ACKed our handshake fragment
(7) eap: Sending EAP Request (code 1) ID 9 length 1010
(7) eap: EAP session adding &reply:State = 0xba320227bd3b1bfd
(7) [eap] = handled
(7) } # authenticate = handled
(7) Using Post-Auth-Type Challenge
(7) # Executing group from file /etc/freeradius/sites-enabled/school_8021x
(7) Challenge { ... } # empty sub-section is ignored
(7) session-state: Saving cached attributes
(7) Framed-MTU = 1004
(7) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(7) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(7) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(7) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(7) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(7) Sent Access-Challenge Id 183 from 172.16.8.20:1812 to 172.16.5.252:60626 length 1090
(7) Tunnel-Medium-Type = IEEE-802
(7) Tunnel-Private-Group-Id = "13"
(7) Tunnel-Type = VLAN
(7) EAP-Message = 0x010903f219404eca979cb45bc073a8abb847c200051a30820516308202fea0030201020211008a792250abe52c526ceecf7fc942dd62300d06092a864886f70d01010b0500304f310b300906035504061302555331293027060355040a1320496e7465726e65742053656375726974792052657365617263682047726f7570311530130603550403130c4953524720526f6f74205831301e170d3230303930343030303030305a170d3235303931353136303030305a3032310b300906035504061302555331163014060355040a130d4c6574277320456e6372797074310b300906035504031302523430820122300d06092a864886f70d01010105000382010f003082010a0282010100b328dc7729d3e791bef3b70a00c7fbf2550b2522635336afe90820df0daf283ecdc6ab57b69da42519a5d2326d49a608b9c72fa19b93c520406b843120a28e30602560efd91a893f1f6971b2daea3f7341c4906f66fd7d9e58d877cfcd597544c9a10a7b9f3f1b0e3a666fb6
(7) Message-Authenticator = 0x00000000000000000000000000000000
(7) State = 0xba320227bd3b1bfd331e2470818158ed
(7) Finished request
Waking up in 4.9 seconds.
(8) Received Access-Request Id 191 from 172.16.5.252:60626 to 172.16.8.20:1812 length 400
(8) User-Name = "guest1234"
(8) Service-Type = Framed-User
(8) Cisco-AVPair = "service-type=Framed"
(8) Framed-MTU = 1485
(8) EAP-Message = 0x020900061900
(8) Message-Authenticator = 0xe356ceadb450e558cadcf7c186173aa2
(8) Cisco-AVPair = "audit-session-id=FC0510AC0008D39DEFB40307"
(8) Cisco-AVPair = "method=dot1x"
(8) Cisco-AVPair = "client-iif-id=100927089"
(8) Cisco-AVPair = "vlan-id=10"
(8) NAS-IP-Address = 172.16.5.252
(8) NAS-Port-Type = Wireless-802.11
(8) NAS-Port = 518
(8) State = 0xba320227bd3b1bfd331e2470818158ed
(8) Cisco-AVPair = "cisco-wlan-ssid=WTest"
(8) Cisco-AVPair = "wlan-profile-name=WTest"
(8) Called-Station-Id = "50-2f-a8-ce-da-20:WTest"
(8) Calling-Station-Id = "dc-39-6f-9e-dc-d1"
(8) Airespace-Wlan-Id = 5
(8) NAS-Identifier = "wlc-rz"
(8) WLAN-Group-Cipher = 1027076
(8) WLAN-Pairwise-Cipher = 1027076
(8) WLAN-AKM-Suite = 1027073
(8) WLAN-Group-Mgmt-Cipher = 1027078
(8) Restoring &session-state
(8) &session-state:Framed-MTU = 1004
(8) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(8) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(8) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(8) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(8) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(8) # Executing section authorize from file /etc/freeradius/sites-enabled/school_8021x
(8) authorize {
(8) policy filter_username {
(8) if (&User-Name) {
(8) if (&User-Name) -> TRUE
(8) if (&User-Name) {
(8) if (&User-Name =~ / /) {
(8) if (&User-Name =~ / /) -> FALSE
(8) if (&User-Name =~ /@[^@]*@/ ) {
(8) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(8) if (&User-Name =~ /\.\./ ) {
(8) if (&User-Name =~ /\.\./ ) -> FALSE
(8) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) {
(8) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE
(8) if (&User-Name =~ /\.$/) {
(8) if (&User-Name =~ /\.$/) -> FALSE
(8) if (&User-Name =~ /@\./) {
(8) if (&User-Name =~ /@\./) -> FALSE
(8) } # if (&User-Name) = notfound
(8) } # policy filter_username = notfound
(8) [preprocess] = ok
(8) [digest] = noop
(8) suffix: Checking for suffix after "@"
(8) suffix: No '@' in User-Name = "guest1234", looking up realm NULL
(8) suffix: Found realm "NULL"
(8) suffix: Adding Stripped-User-Name = "guest1234"
(8) suffix: Adding Realm = "NULL"
(8) suffix: Authentication realm is LOCAL
(8) [suffix] = ok
(8) [chap] = noop
(8) sql: EXPAND %{%{Stripped-User-Name}:-%{%{User-Name}:-DEFAULT}}
(8) sql: --> guest1234
(8) sql: SQL-User-Name set to 'guest1234'
rlm_sql (sql): Reserved connection (2)
(8) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id
(8) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'guest1234' ORDER BY id
(8) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'guest1234' ORDER BY id
(8) sql: User found in radcheck table
(8) sql: Conditional check items matched, merging assignment check items
(8) sql: Cleartext-Password := "guest1324"
(8) sql: EXPAND SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id
(8) sql: --> SELECT id, username, attribute, value, op FROM radreply WHERE username = 'guest1234' ORDER BY id
(8) sql: Executing select query: SELECT id, username, attribute, value, op FROM radreply WHERE username = 'guest1234' ORDER BY id
(8) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority
(8) sql: --> SELECT groupname FROM radusergroup WHERE username = 'guest1234' ORDER BY priority
(8) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'guest1234' ORDER BY priority
(8) sql: User found in the group table
(8) sql: EXPAND SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id
(8) sql: --> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'guest' ORDER BY id
(8) sql: Executing select query: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'guest' ORDER BY id
(8) sql: Group "guest": Conditional check items matched
(8) sql: Group "guest": Merging assignment check items
(8) sql: EXPAND SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id
(8) sql: --> SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'guest' ORDER BY id
(8) sql: Executing select query: SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'guest' ORDER BY id
(8) sql: Group "guest": Merging reply items
(8) sql: Tunnel-Medium-Type := IEEE-802
(8) sql: Tunnel-Private-Group-Id := "13"
(8) sql: Tunnel-Type := VLAN
rlm_sql (sql): Released connection (2)
(8) [sql] = ok
(8) [mschap] = noop
(8) eap: Peer sent EAP Response (code 2) ID 9 length 6
(8) eap: Continuing tunnel setup
(8) [eap] = ok
(8) } # authorize = ok
(8) Found Auth-Type = eap
(8) # Executing group from file /etc/freeradius/sites-enabled/school_8021x
(8) authenticate {
(8) eap: Expiring EAP session with state 0xba320227bd3b1bfd
(8) eap: Finished EAP session with state 0xba320227bd3b1bfd
(8) eap: Previous EAP request found for state 0xba320227bd3b1bfd, released from the list
(8) eap: Peer sent packet with method EAP PEAP (25)
(8) eap: Calling submodule eap_peap to process data
(8) eap_peap: (TLS) Peer ACKed our handshake fragment
(8) eap: Sending EAP Request (code 1) ID 10 length 671
(8) eap: EAP session adding &reply:State = 0xba320227b2381bfd
(8) [eap] = handled
(8) } # authenticate = handled
(8) Using Post-Auth-Type Challenge
(8) # Executing group from file /etc/freeradius/sites-enabled/school_8021x
(8) Challenge { ... } # empty sub-section is ignored
(8) session-state: Saving cached attributes
(8) Framed-MTU = 1004
(8) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(8) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(8) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(8) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(8) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(8) Sent Access-Challenge Id 191 from 172.16.8.20:1812 to 172.16.5.252:60626 length 749
(8) Tunnel-Medium-Type = IEEE-802
(8) Tunnel-Private-Group-Id = "13"
(8) Tunnel-Type = VLAN
(8) EAP-Message = 0x010a029f1900a23c4b2ebe6fce241cfecfb4ef92e0893c47693b65e325135266c418bf3d953ceb4625c13f3fa8e613a021d5c838e1bfcaaeb5b7f6427525dd257cead876235410135e2cd32ec27401dc1e4c37b0011e606930080ef830ef9516d9d86dff41d8904e872c966f9d3ceeb1b38adbb9313016e355fd0f04de5c483e6b6e2d01e86df98d4c8a89c75306b88fb141fedacddc59dbfebf74fb83fae9911354811c8ec79448c1cec3acaabf5d3f1ff770ffcaf61035229dc0415f7a3d0cbdd269daab6a090acbde87b4c88b72a30c1803e6d20b62d5be9f6e7bce76bd26ac8548297e67cce78664e45a60ba120f80bcaaf153ed4f949ba0cca37e9c54336c3e6905e7be7fb370b60b11a208f42a5713e07cd4a1fb608f7765efd3894d7aec3a806f3d0e53a11eea052919663e7a26fa0c2a873dd95cc7f34df9af8eb06893308808160303014d0c0001490300174104075d2a249b772afd2d137893d9d868faf742d50f5cf3dc1c925fff36e0aa69f23844bf9e5c
(8) Message-Authenticator = 0x00000000000000000000000000000000
(8) State = 0xba320227b2381bfd331e2470818158ed
(8) Finished request
Waking up in 4.9 seconds.
(9) Received Access-Request Id 199 from 172.16.5.252:60626 to 172.16.8.20:1812 length 530
(9) User-Name = "guest1234"
(9) Service-Type = Framed-User
(9) Cisco-AVPair = "service-type=Framed"
(9) Framed-MTU = 1485
(9) EAP-Message = 0x020a008819800000007e1603030046100000424104bf63119f840d657cb63f5c33cf3db8324ada801088abd3589be1c8f80472bc441a1306e2edcd929b146a4476dc28af2439ed663a7aaea385d2ad31ed7d54a4f51403030001011603030028000000000000000069cf877f29e0b92f95fe9e92ab7d67844776f7dad8ea9e0c526f9fcde384ee29
(9) Message-Authenticator = 0x7834c589ea9f7f019eed5bac02e8f696
(9) Cisco-AVPair = "audit-session-id=FC0510AC0008D39DEFB40307"
(9) Cisco-AVPair = "method=dot1x"
(9) Cisco-AVPair = "client-iif-id=100927089"
(9) Cisco-AVPair = "vlan-id=10"
(9) NAS-IP-Address = 172.16.5.252
(9) NAS-Port-Type = Wireless-802.11
(9) NAS-Port = 518
(9) State = 0xba320227b2381bfd331e2470818158ed
(9) Cisco-AVPair = "cisco-wlan-ssid=WTest"
(9) Cisco-AVPair = "wlan-profile-name=WTest"
(9) Called-Station-Id = "50-2f-a8-ce-da-20:WTest"
(9) Calling-Station-Id = "dc-39-6f-9e-dc-d1"
(9) Airespace-Wlan-Id = 5
(9) NAS-Identifier = "wlc-rz"
(9) WLAN-Group-Cipher = 1027076
(9) WLAN-Pairwise-Cipher = 1027076
(9) WLAN-AKM-Suite = 1027073
(9) WLAN-Group-Mgmt-Cipher = 1027078
(9) Restoring &session-state
(9) &session-state:Framed-MTU = 1004
(9) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(9) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(9) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(9) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(9) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(9) # Executing section authorize from file /etc/freeradius/sites-enabled/school_8021x
(9) authorize {
(9) policy filter_username {
(9) if (&User-Name) {
(9) if (&User-Name) -> TRUE
(9) if (&User-Name) {
(9) if (&User-Name =~ / /) {
(9) if (&User-Name =~ / /) -> FALSE
(9) if (&User-Name =~ /@[^@]*@/ ) {
(9) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(9) if (&User-Name =~ /\.\./ ) {
(9) if (&User-Name =~ /\.\./ ) -> FALSE
(9) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) {
(9) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE
(9) if (&User-Name =~ /\.$/) {
(9) if (&User-Name =~ /\.$/) -> FALSE
(9) if (&User-Name =~ /@\./) {
(9) if (&User-Name =~ /@\./) -> FALSE
(9) } # if (&User-Name) = notfound
(9) } # policy filter_username = notfound
(9) [preprocess] = ok
(9) [digest] = noop
(9) suffix: Checking for suffix after "@"
(9) suffix: No '@' in User-Name = "guest1234", looking up realm NULL
(9) suffix: Found realm "NULL"
(9) suffix: Adding Stripped-User-Name = "guest1234"
(9) suffix: Adding Realm = "NULL"
(9) suffix: Authentication realm is LOCAL
(9) [suffix] = ok
(9) [chap] = noop
(9) sql: EXPAND %{%{Stripped-User-Name}:-%{%{User-Name}:-DEFAULT}}
(9) sql: --> guest1234
(9) sql: SQL-User-Name set to 'guest1234'
rlm_sql (sql): Reserved connection (3)
(9) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id
(9) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'guest1234' ORDER BY id
(9) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'guest1234' ORDER BY id
(9) sql: User found in radcheck table
(9) sql: Conditional check items matched, merging assignment check items
(9) sql: Cleartext-Password := "guest1324"
(9) sql: EXPAND SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id
(9) sql: --> SELECT id, username, attribute, value, op FROM radreply WHERE username = 'guest1234' ORDER BY id
(9) sql: Executing select query: SELECT id, username, attribute, value, op FROM radreply WHERE username = 'guest1234' ORDER BY id
(9) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority
(9) sql: --> SELECT groupname FROM radusergroup WHERE username = 'guest1234' ORDER BY priority
(9) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'guest1234' ORDER BY priority
(9) sql: User found in the group table
(9) sql: EXPAND SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id
(9) sql: --> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'guest' ORDER BY id
(9) sql: Executing select query: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'guest' ORDER BY id
(9) sql: Group "guest": Conditional check items matched
(9) sql: Group "guest": Merging assignment check items
(9) sql: EXPAND SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id
(9) sql: --> SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'guest' ORDER BY id
(9) sql: Executing select query: SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'guest' ORDER BY id
(9) sql: Group "guest": Merging reply items
(9) sql: Tunnel-Medium-Type := IEEE-802
(9) sql: Tunnel-Private-Group-Id := "13"
(9) sql: Tunnel-Type := VLAN
rlm_sql (sql): Released connection (3)
(9) [sql] = ok
(9) [mschap] = noop
(9) eap: Peer sent EAP Response (code 2) ID 10 length 136
(9) eap: Continuing tunnel setup
(9) [eap] = ok
(9) } # authorize = ok
(9) Found Auth-Type = eap
(9) # Executing group from file /etc/freeradius/sites-enabled/school_8021x
(9) authenticate {
(9) eap: Expiring EAP session with state 0xba320227b2381bfd
(9) eap: Finished EAP session with state 0xba320227b2381bfd
(9) eap: Previous EAP request found for state 0xba320227b2381bfd, released from the list
(9) eap: Peer sent packet with method EAP PEAP (25)
(9) eap: Calling submodule eap_peap to process data
(9) eap_peap: (TLS) EAP Peer says that the final record size will be 126 bytes
(9) eap_peap: (TLS) EAP Got all data (126 bytes)
(9) eap_peap: (TLS) Handshake state - Server SSLv3/TLS write server done
(9) eap_peap: (TLS) recv TLS 1.2 Handshake, ClientKeyExchange
(9) eap_peap: (TLS) Handshake state - Server SSLv3/TLS read client key exchange
(9) eap_peap: (TLS) Handshake state - Server SSLv3/TLS read change cipher spec
(9) eap_peap: (TLS) recv TLS 1.2 Handshake, Finished
(9) eap_peap: (TLS) Handshake state - Server SSLv3/TLS read finished
(9) eap_peap: (TLS) send TLS 1.2 ChangeCipherSpec
(9) eap_peap: (TLS) Handshake state - Server SSLv3/TLS write change cipher spec
(9) eap_peap: (TLS) send TLS 1.2 Handshake, Finished
(9) eap_peap: (TLS) Handshake state - Server SSLv3/TLS write finished
(9) eap_peap: (TLS) Handshake state - SSL negotiation finished successfully
(9) eap_peap: (TLS) Connection Established
(9) eap_peap: TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(9) eap_peap: TLS-Session-Version = "TLS 1.2"
(9) eap: Sending EAP Request (code 1) ID 11 length 57
(9) eap: EAP session adding &reply:State = 0xba320227b3391bfd
(9) [eap] = handled
(9) } # authenticate = handled
(9) Using Post-Auth-Type Challenge
(9) # Executing group from file /etc/freeradius/sites-enabled/school_8021x
(9) Challenge { ... } # empty sub-section is ignored
(9) session-state: Saving cached attributes
(9) Framed-MTU = 1004
(9) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(9) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(9) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(9) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(9) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(9) TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, ClientKeyExchange"
(9) TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, Finished"
(9) TLS-Session-Information = "(TLS) send TLS 1.2 ChangeCipherSpec"
(9) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Finished"
(9) TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(9) TLS-Session-Version = "TLS 1.2"
(9) Sent Access-Challenge Id 199 from 172.16.8.20:1812 to 172.16.5.252:60626 length 131
(9) Tunnel-Medium-Type = IEEE-802
(9) Tunnel-Private-Group-Id = "13"
(9) Tunnel-Type = VLAN
(9) EAP-Message = 0x010b00391900140303000101160303002816a0550c21008e0f2a1316491693b8144b2ef754766874849a10f68e958a350a01a42a4a2141afca
(9) Message-Authenticator = 0x00000000000000000000000000000000
(9) State = 0xba320227b3391bfd331e2470818158ed
(9) Finished request
Waking up in 4.9 seconds.
(10) Received Access-Request Id 207 from 172.16.5.252:60626 to 172.16.8.20:1812 length 400
(10) User-Name = "guest1234"
(10) Service-Type = Framed-User
(10) Cisco-AVPair = "service-type=Framed"
(10) Framed-MTU = 1485
(10) EAP-Message = 0x020b00061900
(10) Message-Authenticator = 0x6dcfe39004f6b69e7a62d483c2a38a94
(10) Cisco-AVPair = "audit-session-id=FC0510AC0008D39DEFB40307"
(10) Cisco-AVPair = "method=dot1x"
(10) Cisco-AVPair = "client-iif-id=100927089"
(10) Cisco-AVPair = "vlan-id=10"
(10) NAS-IP-Address = 172.16.5.252
(10) NAS-Port-Type = Wireless-802.11
(10) NAS-Port = 518
(10) State = 0xba320227b3391bfd331e2470818158ed
(10) Cisco-AVPair = "cisco-wlan-ssid=WTest"
(10) Cisco-AVPair = "wlan-profile-name=WTest"
(10) Called-Station-Id = "50-2f-a8-ce-da-20:WTest"
(10) Calling-Station-Id = "dc-39-6f-9e-dc-d1"
(10) Airespace-Wlan-Id = 5
(10) NAS-Identifier = "wlc-rz"
(10) WLAN-Group-Cipher = 1027076
(10) WLAN-Pairwise-Cipher = 1027076
(10) WLAN-AKM-Suite = 1027073
(10) WLAN-Group-Mgmt-Cipher = 1027078
(10) Restoring &session-state
(10) &session-state:Framed-MTU = 1004
(10) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(10) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(10) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(10) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(10) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(10) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, ClientKeyExchange"
(10) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, Finished"
(10) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 ChangeCipherSpec"
(10) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Finished"
(10) &session-state:TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(10) &session-state:TLS-Session-Version = "TLS 1.2"
(10) # Executing section authorize from file /etc/freeradius/sites-enabled/school_8021x
(10) authorize {
(10) policy filter_username {
(10) if (&User-Name) {
(10) if (&User-Name) -> TRUE
(10) if (&User-Name) {
(10) if (&User-Name =~ / /) {
(10) if (&User-Name =~ / /) -> FALSE
(10) if (&User-Name =~ /@[^@]*@/ ) {
(10) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(10) if (&User-Name =~ /\.\./ ) {
(10) if (&User-Name =~ /\.\./ ) -> FALSE
(10) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) {
(10) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE
(10) if (&User-Name =~ /\.$/) {
(10) if (&User-Name =~ /\.$/) -> FALSE
(10) if (&User-Name =~ /@\./) {
(10) if (&User-Name =~ /@\./) -> FALSE
(10) } # if (&User-Name) = notfound
(10) } # policy filter_username = notfound
(10) [preprocess] = ok
(10) [digest] = noop
(10) suffix: Checking for suffix after "@"
(10) suffix: No '@' in User-Name = "guest1234", looking up realm NULL
(10) suffix: Found realm "NULL"
(10) suffix: Adding Stripped-User-Name = "guest1234"
(10) suffix: Adding Realm = "NULL"
(10) suffix: Authentication realm is LOCAL
(10) [suffix] = ok
(10) [chap] = noop
(10) sql: EXPAND %{%{Stripped-User-Name}:-%{%{User-Name}:-DEFAULT}}
(10) sql: --> guest1234
(10) sql: SQL-User-Name set to 'guest1234'
rlm_sql (sql): Reserved connection (4)
(10) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id
(10) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'guest1234' ORDER BY id
(10) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'guest1234' ORDER BY id
(10) sql: User found in radcheck table
(10) sql: Conditional check items matched, merging assignment check items
(10) sql: Cleartext-Password := "guest1324"
(10) sql: EXPAND SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id
(10) sql: --> SELECT id, username, attribute, value, op FROM radreply WHERE username = 'guest1234' ORDER BY id
(10) sql: Executing select query: SELECT id, username, attribute, value, op FROM radreply WHERE username = 'guest1234' ORDER BY id
(10) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority
(10) sql: --> SELECT groupname FROM radusergroup WHERE username = 'guest1234' ORDER BY priority
(10) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'guest1234' ORDER BY priority
(10) sql: User found in the group table
(10) sql: EXPAND SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id
(10) sql: --> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'guest' ORDER BY id
(10) sql: Executing select query: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'guest' ORDER BY id
(10) sql: Group "guest": Conditional check items matched
(10) sql: Group "guest": Merging assignment check items
(10) sql: EXPAND SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id
(10) sql: --> SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'guest' ORDER BY id
(10) sql: Executing select query: SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'guest' ORDER BY id
(10) sql: Group "guest": Merging reply items
(10) sql: Tunnel-Medium-Type := IEEE-802
(10) sql: Tunnel-Private-Group-Id := "13"
(10) sql: Tunnel-Type := VLAN
rlm_sql (sql): Released connection (4)
Need more connections to reach 10 spares
rlm_sql (sql): Opening additional connection (6), 1 of 26 pending slots used
rlm_sql_mysql: Starting connect to MySQL server
rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 10.11.4-MariaDB-1~deb12u1, protocol version 10
(10) [sql] = ok
(10) [mschap] = noop
(10) eap: Peer sent EAP Response (code 2) ID 11 length 6
(10) eap: Continuing tunnel setup
(10) [eap] = ok
(10) } # authorize = ok
(10) Found Auth-Type = eap
(10) # Executing group from file /etc/freeradius/sites-enabled/school_8021x
(10) authenticate {
(10) eap: Expiring EAP session with state 0xba320227b3391bfd
(10) eap: Finished EAP session with state 0xba320227b3391bfd
(10) eap: Previous EAP request found for state 0xba320227b3391bfd, released from the list
(10) eap: Peer sent packet with method EAP PEAP (25)
(10) eap: Calling submodule eap_peap to process data
(10) eap_peap: (TLS) Peer ACKed our handshake fragment. handshake is finished
(10) eap_peap: Session established. Decoding tunneled attributes
(10) eap_peap: PEAP state TUNNEL ESTABLISHED
(10) eap: Sending EAP Request (code 1) ID 12 length 40
(10) eap: EAP session adding &reply:State = 0xba320227b03e1bfd
(10) [eap] = handled
(10) } # authenticate = handled
(10) Using Post-Auth-Type Challenge
(10) # Executing group from file /etc/freeradius/sites-enabled/school_8021x
(10) Challenge { ... } # empty sub-section is ignored
(10) session-state: Saving cached attributes
(10) Framed-MTU = 1004
(10) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(10) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(10) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(10) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(10) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(10) TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, ClientKeyExchange"
(10) TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, Finished"
(10) TLS-Session-Information = "(TLS) send TLS 1.2 ChangeCipherSpec"
(10) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Finished"
(10) TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(10) TLS-Session-Version = "TLS 1.2"
(10) Sent Access-Challenge Id 207 from 172.16.8.20:1812 to 172.16.5.252:60626 length 114
(10) Tunnel-Medium-Type = IEEE-802
(10) Tunnel-Private-Group-Id = "13"
(10) Tunnel-Type = VLAN
(10) EAP-Message = 0x010c00281900170303001d16a0550c21008e100b8b566b7db1bbca7c3f55e93b2a11807376d1b9b3
(10) Message-Authenticator = 0x00000000000000000000000000000000
(10) State = 0xba320227b03e1bfd331e2470818158ed
(10) Finished request
Waking up in 2.8 seconds.
(11) Received Access-Request Id 215 from 172.16.5.252:60626 to 172.16.8.20:1812 length 439
(11) User-Name = "guest1234"
(11) Service-Type = Framed-User
(11) Cisco-AVPair = "service-type=Framed"
(11) Framed-MTU = 1485
(11) EAP-Message = 0x020c002d190017030300220000000000000001e132b44fe095fada796f4e085542faa7da5bb1734ed66f7da99f
(11) Message-Authenticator = 0x1dd25bede4f165b54d009caf8b533564
(11) Cisco-AVPair = "audit-session-id=FC0510AC0008D39DEFB40307"
(11) Cisco-AVPair = "method=dot1x"
(11) Cisco-AVPair = "client-iif-id=100927089"
(11) Cisco-AVPair = "vlan-id=10"
(11) NAS-IP-Address = 172.16.5.252
(11) NAS-Port-Type = Wireless-802.11
(11) NAS-Port = 518
(11) State = 0xba320227b03e1bfd331e2470818158ed
(11) Cisco-AVPair = "cisco-wlan-ssid=WTest"
(11) Cisco-AVPair = "wlan-profile-name=WTest"
(11) Called-Station-Id = "50-2f-a8-ce-da-20:WTest"
(11) Calling-Station-Id = "dc-39-6f-9e-dc-d1"
(11) Airespace-Wlan-Id = 5
(11) NAS-Identifier = "wlc-rz"
(11) WLAN-Group-Cipher = 1027076
(11) WLAN-Pairwise-Cipher = 1027076
(11) WLAN-AKM-Suite = 1027073
(11) WLAN-Group-Mgmt-Cipher = 1027078
(11) Restoring &session-state
(11) &session-state:Framed-MTU = 1004
(11) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(11) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(11) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(11) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(11) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(11) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, ClientKeyExchange"
(11) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, Finished"
(11) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 ChangeCipherSpec"
(11) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Finished"
(11) &session-state:TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(11) &session-state:TLS-Session-Version = "TLS 1.2"
(11) # Executing section authorize from file /etc/freeradius/sites-enabled/school_8021x
(11) authorize {
(11) policy filter_username {
(11) if (&User-Name) {
(11) if (&User-Name) -> TRUE
(11) if (&User-Name) {
(11) if (&User-Name =~ / /) {
(11) if (&User-Name =~ / /) -> FALSE
(11) if (&User-Name =~ /@[^@]*@/ ) {
(11) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(11) if (&User-Name =~ /\.\./ ) {
(11) if (&User-Name =~ /\.\./ ) -> FALSE
(11) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) {
(11) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE
(11) if (&User-Name =~ /\.$/) {
(11) if (&User-Name =~ /\.$/) -> FALSE
(11) if (&User-Name =~ /@\./) {
(11) if (&User-Name =~ /@\./) -> FALSE
(11) } # if (&User-Name) = notfound
(11) } # policy filter_username = notfound
(11) [preprocess] = ok
(11) [digest] = noop
(11) suffix: Checking for suffix after "@"
(11) suffix: No '@' in User-Name = "guest1234", looking up realm NULL
(11) suffix: Found realm "NULL"
(11) suffix: Adding Stripped-User-Name = "guest1234"
(11) suffix: Adding Realm = "NULL"
(11) suffix: Authentication realm is LOCAL
(11) [suffix] = ok
(11) [chap] = noop
(11) sql: EXPAND %{%{Stripped-User-Name}:-%{%{User-Name}:-DEFAULT}}
(11) sql: --> guest1234
(11) sql: SQL-User-Name set to 'guest1234'
rlm_sql (sql): Reserved connection (0)
(11) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id
(11) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'guest1234' ORDER BY id
(11) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'guest1234' ORDER BY id
(11) sql: User found in radcheck table
(11) sql: Conditional check items matched, merging assignment check items
(11) sql: Cleartext-Password := "guest1324"
(11) sql: EXPAND SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id
(11) sql: --> SELECT id, username, attribute, value, op FROM radreply WHERE username = 'guest1234' ORDER BY id
(11) sql: Executing select query: SELECT id, username, attribute, value, op FROM radreply WHERE username = 'guest1234' ORDER BY id
(11) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority
(11) sql: --> SELECT groupname FROM radusergroup WHERE username = 'guest1234' ORDER BY priority
(11) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'guest1234' ORDER BY priority
(11) sql: User found in the group table
(11) sql: EXPAND SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id
(11) sql: --> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'guest' ORDER BY id
(11) sql: Executing select query: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'guest' ORDER BY id
(11) sql: Group "guest": Conditional check items matched
(11) sql: Group "guest": Merging assignment check items
(11) sql: EXPAND SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id
(11) sql: --> SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'guest' ORDER BY id
(11) sql: Executing select query: SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'guest' ORDER BY id
(11) sql: Group "guest": Merging reply items
(11) sql: Tunnel-Medium-Type := IEEE-802
(11) sql: Tunnel-Private-Group-Id := "13"
(11) sql: Tunnel-Type := VLAN
rlm_sql (sql): Released connection (0)
(11) [sql] = ok
(11) [mschap] = noop
(11) eap: Peer sent EAP Response (code 2) ID 12 length 45
(11) eap: Continuing tunnel setup
(11) [eap] = ok
(11) } # authorize = ok
(11) Found Auth-Type = eap
(11) # Executing group from file /etc/freeradius/sites-enabled/school_8021x
(11) authenticate {
(11) eap: Expiring EAP session with state 0xba320227b03e1bfd
(11) eap: Finished EAP session with state 0xba320227b03e1bfd
(11) eap: Previous EAP request found for state 0xba320227b03e1bfd, released from the list
(11) eap: Peer sent packet with method EAP PEAP (25)
(11) eap: Calling submodule eap_peap to process data
(11) eap_peap: (TLS) EAP Done initial handshake
(11) eap_peap: Session established. Decoding tunneled attributes
(11) eap_peap: PEAP state WAITING FOR INNER IDENTITY
(11) eap_peap: Identity - guest1234
(11) eap_peap: Got inner identity 'guest1234'
(11) eap_peap: Setting default EAP type for tunneled EAP session
(11) eap_peap: Got tunneled request
(11) eap_peap: EAP-Message = 0x020c000e01677565737431323334
(11) eap_peap: Setting User-Name to guest1234
(11) eap_peap: Sending tunneled request to inner-tunnel
(11) eap_peap: EAP-Message = 0x020c000e01677565737431323334
(11) eap_peap: FreeRADIUS-Proxied-To = 127.0.0.1
(11) eap_peap: User-Name = "guest1234"
(11) eap_peap: Service-Type = Framed-User
(11) eap_peap: Cisco-AVPair = "service-type=Framed"
(11) eap_peap: Cisco-AVPair = "audit-session-id=FC0510AC0008D39DEFB40307"
(11) eap_peap: Cisco-AVPair = "method=dot1x"
(11) eap_peap: Cisco-AVPair = "client-iif-id=100927089"
(11) eap_peap: Cisco-AVPair = "vlan-id=10"
(11) eap_peap: Cisco-AVPair = "cisco-wlan-ssid=WTest"
(11) eap_peap: Cisco-AVPair = "wlan-profile-name=WTest"
(11) eap_peap: Framed-MTU = 1485
(11) eap_peap: NAS-IP-Address = 172.16.5.252
(11) eap_peap: NAS-Port-Type = Wireless-802.11
(11) eap_peap: NAS-Port = 518
(11) eap_peap: Called-Station-Id = "50-2f-a8-ce-da-20:WTest"
(11) eap_peap: Calling-Station-Id = "dc-39-6f-9e-dc-d1"
(11) eap_peap: Airespace-Wlan-Id = 5
(11) eap_peap: NAS-Identifier = "wlc-rz"
(11) eap_peap: WLAN-Group-Cipher = 1027076
(11) eap_peap: WLAN-Pairwise-Cipher = 1027076
(11) eap_peap: WLAN-AKM-Suite = 1027073
(11) eap_peap: WLAN-Group-Mgmt-Cipher = 1027078
(11) eap_peap: Event-Timestamp = "Jan 9 2024 20:39:43 CET"
(11) Virtual server inner-tunnel received request
(11) EAP-Message = 0x020c000e01677565737431323334
(11) FreeRADIUS-Proxied-To = 127.0.0.1
(11) User-Name = "guest1234"
(11) Service-Type = Framed-User
(11) Cisco-AVPair = "service-type=Framed"
(11) Cisco-AVPair = "audit-session-id=FC0510AC0008D39DEFB40307"
(11) Cisco-AVPair = "method=dot1x"
(11) Cisco-AVPair = "client-iif-id=100927089"
(11) Cisco-AVPair = "vlan-id=10"
(11) Cisco-AVPair = "cisco-wlan-ssid=WTest"
(11) Cisco-AVPair = "wlan-profile-name=WTest"
(11) Framed-MTU = 1485
(11) NAS-IP-Address = 172.16.5.252
(11) NAS-Port-Type = Wireless-802.11
(11) NAS-Port = 518
(11) Called-Station-Id = "50-2f-a8-ce-da-20:WTest"
(11) Calling-Station-Id = "dc-39-6f-9e-dc-d1"
(11) Airespace-Wlan-Id = 5
(11) NAS-Identifier = "wlc-rz"
(11) WLAN-Group-Cipher = 1027076
(11) WLAN-Pairwise-Cipher = 1027076
(11) WLAN-AKM-Suite = 1027073
(11) WLAN-Group-Mgmt-Cipher = 1027078
(11) Event-Timestamp = "Jan 9 2024 20:39:43 CET"
(11) WARNING: Outer and inner identities are the same. User privacy is compromised.
(11) server inner-tunnel {
(11) # Executing section authorize from file /etc/freeradius/sites-enabled/inner-tunnel
(11) authorize {
(11) policy filter_username {
(11) if (&User-Name) {
(11) if (&User-Name) -> TRUE
(11) if (&User-Name) {
(11) if (&User-Name =~ / /) {
(11) if (&User-Name =~ / /) -> FALSE
(11) if (&User-Name =~ /@[^@]*@/ ) {
(11) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(11) if (&User-Name =~ /\.\./ ) {
(11) if (&User-Name =~ /\.\./ ) -> FALSE
(11) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) {
(11) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE
(11) if (&User-Name =~ /\.$/) {
(11) if (&User-Name =~ /\.$/) -> FALSE
(11) if (&User-Name =~ /@\./) {
(11) if (&User-Name =~ /@\./) -> FALSE
(11) } # if (&User-Name) = notfound
(11) } # policy filter_username = notfound
(11) [chap] = noop
(11) [mschap] = noop
(11) suffix: Checking for suffix after "@"
(11) suffix: No '@' in User-Name = "guest1234", looking up realm NULL
(11) suffix: Found realm "NULL"
(11) suffix: Adding Stripped-User-Name = "guest1234"
(11) suffix: Adding Realm = "NULL"
(11) suffix: Authentication realm is LOCAL
(11) [suffix] = ok
(11) update control {
(11) &Proxy-To-Realm := LOCAL
(11) } # update control = noop
(11) eap: Peer sent EAP Response (code 2) ID 12 length 14
(11) eap: EAP-Identity reply, returning 'ok' so we can short-circuit the rest of authorize
(11) [eap] = ok
(11) } # authorize = ok
(11) Found Auth-Type = eap
(11) # Executing group from file /etc/freeradius/sites-enabled/inner-tunnel
(11) authenticate {
(11) eap: Peer sent packet with method EAP Identity (1)
(11) eap: Calling submodule eap_mschapv2 to process data
(11) eap_mschapv2: Issuing Challenge
(11) eap: Sending EAP Request (code 1) ID 13 length 50
(11) eap: EAP session adding &reply:State = 0x6a7f40936a725a2f
(11) [eap] = handled
(11) } # authenticate = handled
(11) } # server inner-tunnel
(11) Virtual server sending reply
(11) EAP-Message = 0x010d00321a010d002d106ff32971bd3c1b09af42c3769168d537524144495553204865696d736368756c65204c656e646572
(11) Message-Authenticator = 0x00000000000000000000000000000000
(11) State = 0x6a7f40936a725a2f961d4ea7c3cab567
(11) eap_peap: Got tunneled reply code 11
(11) eap_peap: EAP-Message = 0x010d00321a010d002d106ff32971bd3c1b09af42c3769168d537524144495553204865696d736368756c65204c656e646572
(11) eap_peap: Message-Authenticator = 0x00000000000000000000000000000000
(11) eap_peap: State = 0x6a7f40936a725a2f961d4ea7c3cab567
(11) eap_peap: Got tunneled reply RADIUS code 11
(11) eap_peap: EAP-Message = 0x010d00321a010d002d106ff32971bd3c1b09af42c3769168d537524144495553204865696d736368756c65204c656e646572
(11) eap_peap: Message-Authenticator = 0x00000000000000000000000000000000
(11) eap_peap: State = 0x6a7f40936a725a2f961d4ea7c3cab567
(11) eap_peap: Got tunneled Access-Challenge
(11) eap: Sending EAP Request (code 1) ID 13 length 81
(11) eap: EAP session adding &reply:State = 0xba320227b13f1bfd
(11) [eap] = handled
(11) } # authenticate = handled
(11) Using Post-Auth-Type Challenge
(11) # Executing group from file /etc/freeradius/sites-enabled/school_8021x
(11) Challenge { ... } # empty sub-section is ignored
(11) session-state: Saving cached attributes
(11) Framed-MTU = 1004
(11) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(11) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(11) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(11) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(11) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(11) TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, ClientKeyExchange"
(11) TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, Finished"
(11) TLS-Session-Information = "(TLS) send TLS 1.2 ChangeCipherSpec"
(11) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Finished"
(11) TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(11) TLS-Session-Version = "TLS 1.2"
(11) Sent Access-Challenge Id 215 from 172.16.8.20:1812 to 172.16.5.252:60626 length 155
(11) Tunnel-Medium-Type = IEEE-802
(11) Tunnel-Private-Group-Id = "13"
(11) Tunnel-Type = VLAN
(11) EAP-Message = 0x010d00511900170303004616a0550c21008e11e55daa7d78cc27c3ad0aab13ff1cd73abfff96adc1779ff2c4bb791db632efc76990d13aefb9faad58be5577238408de03adca6d1a0bddeb88b3ba1d7376
(11) Message-Authenticator = 0x00000000000000000000000000000000
(11) State = 0xba320227b13f1bfd331e2470818158ed
(11) Finished request
Waking up in 2.8 seconds.
(12) Received Access-Request Id 223 from 172.16.5.252:60626 to 172.16.8.20:1812 length 493
(12) User-Name = "guest1234"
(12) Service-Type = Framed-User
(12) Cisco-AVPair = "service-type=Framed"
(12) Framed-MTU = 1485
(12) EAP-Message = 0x020d006319001703030058000000000000000237922cbb3406e6d493501aed956740ab5c17020313bff8a2d7666c97e51b43f08d7083c2b9e9dc312c6cf583bd30b533f4c3287ef10ca0a6fcecfeec98fc1587a4f3714db4c30940ecac4fac6483a28f
(12) Message-Authenticator = 0x2cca684c209f3b3e396a89f2d96558fa
(12) Cisco-AVPair = "audit-session-id=FC0510AC0008D39DEFB40307"
(12) Cisco-AVPair = "method=dot1x"
(12) Cisco-AVPair = "client-iif-id=100927089"
(12) Cisco-AVPair = "vlan-id=10"
(12) NAS-IP-Address = 172.16.5.252
(12) NAS-Port-Type = Wireless-802.11
(12) NAS-Port = 518
(12) State = 0xba320227b13f1bfd331e2470818158ed
(12) Cisco-AVPair = "cisco-wlan-ssid=WTest"
(12) Cisco-AVPair = "wlan-profile-name=WTest"
(12) Called-Station-Id = "50-2f-a8-ce-da-20:WTest"
(12) Calling-Station-Id = "dc-39-6f-9e-dc-d1"
(12) Airespace-Wlan-Id = 5
(12) NAS-Identifier = "wlc-rz"
(12) WLAN-Group-Cipher = 1027076
(12) WLAN-Pairwise-Cipher = 1027076
(12) WLAN-AKM-Suite = 1027073
(12) WLAN-Group-Mgmt-Cipher = 1027078
(12) Restoring &session-state
(12) &session-state:Framed-MTU = 1004
(12) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(12) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(12) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(12) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(12) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(12) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, ClientKeyExchange"
(12) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, Finished"
(12) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 ChangeCipherSpec"
(12) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Finished"
(12) &session-state:TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(12) &session-state:TLS-Session-Version = "TLS 1.2"
(12) # Executing section authorize from file /etc/freeradius/sites-enabled/school_8021x
(12) authorize {
(12) policy filter_username {
(12) if (&User-Name) {
(12) if (&User-Name) -> TRUE
(12) if (&User-Name) {
(12) if (&User-Name =~ / /) {
(12) if (&User-Name =~ / /) -> FALSE
(12) if (&User-Name =~ /@[^@]*@/ ) {
(12) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(12) if (&User-Name =~ /\.\./ ) {
(12) if (&User-Name =~ /\.\./ ) -> FALSE
(12) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) {
(12) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE
(12) if (&User-Name =~ /\.$/) {
(12) if (&User-Name =~ /\.$/) -> FALSE
(12) if (&User-Name =~ /@\./) {
(12) if (&User-Name =~ /@\./) -> FALSE
(12) } # if (&User-Name) = notfound
(12) } # policy filter_username = notfound
(12) [preprocess] = ok
(12) [digest] = noop
(12) suffix: Checking for suffix after "@"
(12) suffix: No '@' in User-Name = "guest1234", looking up realm NULL
(12) suffix: Found realm "NULL"
(12) suffix: Adding Stripped-User-Name = "guest1234"
(12) suffix: Adding Realm = "NULL"
(12) suffix: Authentication realm is LOCAL
(12) [suffix] = ok
(12) [chap] = noop
(12) sql: EXPAND %{%{Stripped-User-Name}:-%{%{User-Name}:-DEFAULT}}
(12) sql: --> guest1234
(12) sql: SQL-User-Name set to 'guest1234'
rlm_sql (sql): Reserved connection (5)
(12) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id
(12) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'guest1234' ORDER BY id
(12) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'guest1234' ORDER BY id
(12) sql: User found in radcheck table
(12) sql: Conditional check items matched, merging assignment check items
(12) sql: Cleartext-Password := "guest1324"
(12) sql: EXPAND SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id
(12) sql: --> SELECT id, username, attribute, value, op FROM radreply WHERE username = 'guest1234' ORDER BY id
(12) sql: Executing select query: SELECT id, username, attribute, value, op FROM radreply WHERE username = 'guest1234' ORDER BY id
(12) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority
(12) sql: --> SELECT groupname FROM radusergroup WHERE username = 'guest1234' ORDER BY priority
(12) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'guest1234' ORDER BY priority
(12) sql: User found in the group table
(12) sql: EXPAND SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id
(12) sql: --> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'guest' ORDER BY id
(12) sql: Executing select query: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'guest' ORDER BY id
(12) sql: Group "guest": Conditional check items matched
(12) sql: Group "guest": Merging assignment check items
(12) sql: EXPAND SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id
(12) sql: --> SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'guest' ORDER BY id
(12) sql: Executing select query: SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'guest' ORDER BY id
(12) sql: Group "guest": Merging reply items
(12) sql: Tunnel-Medium-Type := IEEE-802
(12) sql: Tunnel-Private-Group-Id := "13"
(12) sql: Tunnel-Type := VLAN
rlm_sql (sql): Released connection (5)
(12) [sql] = ok
(12) [mschap] = noop
(12) eap: Peer sent EAP Response (code 2) ID 13 length 99
(12) eap: Continuing tunnel setup
(12) [eap] = ok
(12) } # authorize = ok
(12) Found Auth-Type = eap
(12) # Executing group from file /etc/freeradius/sites-enabled/school_8021x
(12) authenticate {
(12) eap: Expiring EAP session with state 0x6a7f40936a725a2f
(12) eap: Finished EAP session with state 0xba320227b13f1bfd
(12) eap: Previous EAP request found for state 0xba320227b13f1bfd, released from the list
(12) eap: Peer sent packet with method EAP PEAP (25)
(12) eap: Calling submodule eap_peap to process data
(12) eap_peap: (TLS) EAP Done initial handshake
(12) eap_peap: Session established. Decoding tunneled attributes
(12) eap_peap: PEAP state phase2
(12) eap_peap: EAP method MSCHAPv2 (26)
(12) eap_peap: Got tunneled request
(12) eap_peap: EAP-Message = 0x020d00441a020d003f3144ccd647dec7aa3c66c8e41b7ea34fa400000000000000008d2a80be178467595ec50cc054df9e4f657354b8c30568e500677565737431323334
(12) eap_peap: Setting User-Name to guest1234
(12) eap_peap: Sending tunneled request to inner-tunnel
(12) eap_peap: EAP-Message = 0x020d00441a020d003f3144ccd647dec7aa3c66c8e41b7ea34fa400000000000000008d2a80be178467595ec50cc054df9e4f657354b8c30568e500677565737431323334
(12) eap_peap: FreeRADIUS-Proxied-To = 127.0.0.1
(12) eap_peap: User-Name = "guest1234"
(12) eap_peap: State = 0x6a7f40936a725a2f961d4ea7c3cab567
(12) eap_peap: Service-Type = Framed-User
(12) eap_peap: Cisco-AVPair = "service-type=Framed"
(12) eap_peap: Cisco-AVPair = "audit-session-id=FC0510AC0008D39DEFB40307"
(12) eap_peap: Cisco-AVPair = "method=dot1x"
(12) eap_peap: Cisco-AVPair = "client-iif-id=100927089"
(12) eap_peap: Cisco-AVPair = "vlan-id=10"
(12) eap_peap: Cisco-AVPair = "cisco-wlan-ssid=WTest"
(12) eap_peap: Cisco-AVPair = "wlan-profile-name=WTest"
(12) eap_peap: Framed-MTU = 1485
(12) eap_peap: NAS-IP-Address = 172.16.5.252
(12) eap_peap: NAS-Port-Type = Wireless-802.11
(12) eap_peap: NAS-Port = 518
(12) eap_peap: Called-Station-Id = "50-2f-a8-ce-da-20:WTest"
(12) eap_peap: Calling-Station-Id = "dc-39-6f-9e-dc-d1"
(12) eap_peap: Airespace-Wlan-Id = 5
(12) eap_peap: NAS-Identifier = "wlc-rz"
(12) eap_peap: WLAN-Group-Cipher = 1027076
(12) eap_peap: WLAN-Pairwise-Cipher = 1027076
(12) eap_peap: WLAN-AKM-Suite = 1027073
(12) eap_peap: WLAN-Group-Mgmt-Cipher = 1027078
(12) eap_peap: Event-Timestamp = "Jan 9 2024 20:39:43 CET"
(12) Virtual server inner-tunnel received request
(12) EAP-Message = 0x020d00441a020d003f3144ccd647dec7aa3c66c8e41b7ea34fa400000000000000008d2a80be178467595ec50cc054df9e4f657354b8c30568e500677565737431323334
(12) FreeRADIUS-Proxied-To = 127.0.0.1
(12) User-Name = "guest1234"
(12) State = 0x6a7f40936a725a2f961d4ea7c3cab567
(12) Service-Type = Framed-User
(12) Cisco-AVPair = "service-type=Framed"
(12) Cisco-AVPair = "audit-session-id=FC0510AC0008D39DEFB40307"
(12) Cisco-AVPair = "method=dot1x"
(12) Cisco-AVPair = "client-iif-id=100927089"
(12) Cisco-AVPair = "vlan-id=10"
(12) Cisco-AVPair = "cisco-wlan-ssid=WTest"
(12) Cisco-AVPair = "wlan-profile-name=WTest"
(12) Framed-MTU = 1485
(12) NAS-IP-Address = 172.16.5.252
(12) NAS-Port-Type = Wireless-802.11
(12) NAS-Port = 518
(12) Called-Station-Id = "50-2f-a8-ce-da-20:WTest"
(12) Calling-Station-Id = "dc-39-6f-9e-dc-d1"
(12) Airespace-Wlan-Id = 5
(12) NAS-Identifier = "wlc-rz"
(12) WLAN-Group-Cipher = 1027076
(12) WLAN-Pairwise-Cipher = 1027076
(12) WLAN-AKM-Suite = 1027073
(12) WLAN-Group-Mgmt-Cipher = 1027078
(12) Event-Timestamp = "Jan 9 2024 20:39:43 CET"
(12) WARNING: Outer and inner identities are the same. User privacy is compromised.
(12) server inner-tunnel {
(12) session-state: No cached attributes
(12) # Executing section authorize from file /etc/freeradius/sites-enabled/inner-tunnel
(12) authorize {
(12) policy filter_username {
(12) if (&User-Name) {
(12) if (&User-Name) -> TRUE
(12) if (&User-Name) {
(12) if (&User-Name =~ / /) {
(12) if (&User-Name =~ / /) -> FALSE
(12) if (&User-Name =~ /@[^@]*@/ ) {
(12) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(12) if (&User-Name =~ /\.\./ ) {
(12) if (&User-Name =~ /\.\./ ) -> FALSE
(12) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) {
(12) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE
(12) if (&User-Name =~ /\.$/) {
(12) if (&User-Name =~ /\.$/) -> FALSE
(12) if (&User-Name =~ /@\./) {
(12) if (&User-Name =~ /@\./) -> FALSE
(12) } # if (&User-Name) = notfound
(12) } # policy filter_username = notfound
(12) [chap] = noop
(12) [mschap] = noop
(12) suffix: Checking for suffix after "@"
(12) suffix: No '@' in User-Name = "guest1234", looking up realm NULL
(12) suffix: Found realm "NULL"
(12) suffix: Adding Stripped-User-Name = "guest1234"
(12) suffix: Adding Realm = "NULL"
(12) suffix: Authentication realm is LOCAL
(12) [suffix] = ok
(12) update control {
(12) &Proxy-To-Realm := LOCAL
(12) } # update control = noop
(12) eap: Peer sent EAP Response (code 2) ID 13 length 68
(12) eap: No EAP Start, assuming it's an on-going EAP conversation
(12) [eap] = updated
(12) [files] = noop
(12) sql: EXPAND %{%{Stripped-User-Name}:-%{%{User-Name}:-DEFAULT}}
(12) sql: --> guest1234
(12) sql: SQL-User-Name set to 'guest1234'
rlm_sql (sql): Reserved connection (1)
(12) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id
(12) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'guest1234' ORDER BY id
(12) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'guest1234' ORDER BY id
(12) sql: User found in radcheck table
(12) sql: Conditional check items matched, merging assignment check items
(12) sql: Cleartext-Password := "guest1324"
(12) sql: EXPAND SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id
(12) sql: --> SELECT id, username, attribute, value, op FROM radreply WHERE username = 'guest1234' ORDER BY id
(12) sql: Executing select query: SELECT id, username, attribute, value, op FROM radreply WHERE username = 'guest1234' ORDER BY id
(12) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority
(12) sql: --> SELECT groupname FROM radusergroup WHERE username = 'guest1234' ORDER BY priority
(12) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'guest1234' ORDER BY priority
(12) sql: User found in the group table
(12) sql: EXPAND SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id
(12) sql: --> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'guest' ORDER BY id
(12) sql: Executing select query: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'guest' ORDER BY id
(12) sql: Group "guest": Conditional check items matched
(12) sql: Group "guest": Merging assignment check items
(12) sql: EXPAND SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id
(12) sql: --> SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'guest' ORDER BY id
(12) sql: Executing select query: SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'guest' ORDER BY id
(12) sql: Group "guest": Merging reply items
(12) sql: Tunnel-Medium-Type := IEEE-802
(12) sql: Tunnel-Private-Group-Id := "13"
(12) sql: Tunnel-Type := VLAN
rlm_sql (sql): Released connection (1)
(12) [sql] = ok
(12) [expiration] = noop
(12) [logintime] = noop
(12) pap: WARNING: Auth-Type already set. Not setting to PAP
(12) [pap] = noop
(12) } # authorize = updated
(12) Found Auth-Type = eap
(12) # Executing group from file /etc/freeradius/sites-enabled/inner-tunnel
(12) authenticate {
(12) eap: Expiring EAP session with state 0x6a7f40936a725a2f
(12) eap: Finished EAP session with state 0x6a7f40936a725a2f
(12) eap: Previous EAP request found for state 0x6a7f40936a725a2f, released from the list
(12) eap: Peer sent packet with method EAP MSCHAPv2 (26)
(12) eap: Calling submodule eap_mschapv2 to process data
(12) eap_mschapv2: # Executing group from file /etc/freeradius/sites-enabled/inner-tunnel
(12) eap_mschapv2: authenticate {
(12) mschap: Found Cleartext-Password, hashing to create NT-Password
(12) mschap: Creating challenge hash with username: guest1234
(12) mschap: Client is using MS-CHAPv2
(12) mschap: Executing: /usr/bin/ntlm_auth --allow-mschapv2 --request-nt-key --domain=lmn --require-membership-of=lmn\wifi --username=%{%{Stripped-User-Name}:-%{%{User-Name}:-None}} --challenge=%{%{mschap:Challenge}:-00} --nt-response=%{%{mschap:NT-Response}:-00}:
(12) mschap: EXPAND --username=%{%{Stripped-User-Name}:-%{%{User-Name}:-None}}
(12) mschap: --> --username=guest1234
(12) mschap: Creating challenge hash with username: guest1234
(12) mschap: EXPAND --challenge=%{%{mschap:Challenge}:-00}
(12) mschap: --> --challenge=4ece93c0aaef9173
(12) mschap: EXPAND --nt-response=%{%{mschap:NT-Response}:-00}
(12) mschap: --> --nt-response=8d2a80be178467595ec50cc054df9e4f657354b8c30568e5
(12) mschap: ERROR: Program returned code (1) and output 'The attempted logon is invalid. This is either due to a bad username or authentication information. (0xc000006d)'
(12) mschap: External script failed
(12) mschap: ERROR: External script says: The attempted logon is invalid. This is either due to a bad username or authentication information. (0xc000006d)
(12) mschap: ERROR: MS-CHAP2-Response is incorrect
(12) eap_mschapv2: [mschap] = reject
(12) eap_mschapv2: } # authenticate = reject
(12) eap_mschapv2: MSCHAP-Error: E=691 R=1 C=d3a1f29042c1edc1011c510bfb78d2a1 V=3 M=Authentication rejected
(12) eap_mschapv2: Found new challenge from MS-CHAP-Error: err=691 retry=1 challenge=d3a1f29042c1edc1011c510bfb78d2a1
(12) eap_mschapv2: ERROR: MSCHAP Failure
(12) eap: Sending EAP Request (code 1) ID 14 length 83
(12) eap: EAP session adding &reply:State = 0x6a7f40936b715a2f
(12) [eap] = handled
(12) } # authenticate = handled
(12) } # server inner-tunnel
(12) Virtual server sending reply
(12) Tunnel-Medium-Type = IEEE-802
(12) Tunnel-Private-Group-Id = "13"
(12) Tunnel-Type = VLAN
(12) EAP-Message = 0x010e00531a040d004e453d36393120523d3120433d643361316632393034326331656463313031316335313062666237386432613120563d33204d3d41757468656e7469636174696f6e2072656a6563746564
(12) Message-Authenticator = 0x00000000000000000000000000000000
(12) State = 0x6a7f40936b715a2f961d4ea7c3cab567
(12) eap_peap: Got tunneled reply code 11
(12) eap_peap: Tunnel-Medium-Type = IEEE-802
(12) eap_peap: Tunnel-Private-Group-Id = "13"
(12) eap_peap: Tunnel-Type = VLAN
(12) eap_peap: EAP-Message = 0x010e00531a040d004e453d36393120523d3120433d643361316632393034326331656463313031316335313062666237386432613120563d33204d3d41757468656e7469636174696f6e2072656a6563746564
(12) eap_peap: Message-Authenticator = 0x00000000000000000000000000000000
(12) eap_peap: State = 0x6a7f40936b715a2f961d4ea7c3cab567
(12) eap_peap: Got tunneled reply RADIUS code 11
(12) eap_peap: Tunnel-Medium-Type = IEEE-802
(12) eap_peap: Tunnel-Private-Group-Id = "13"
(12) eap_peap: Tunnel-Type = VLAN
(12) eap_peap: EAP-Message = 0x010e00531a040d004e453d36393120523d3120433d643361316632393034326331656463313031316335313062666237386432613120563d33204d3d41757468656e7469636174696f6e2072656a6563746564
(12) eap_peap: Message-Authenticator = 0x00000000000000000000000000000000
(12) eap_peap: State = 0x6a7f40936b715a2f961d4ea7c3cab567
(12) eap_peap: Got tunneled Access-Challenge
(12) eap: Sending EAP Request (code 1) ID 14 length 114
(12) eap: EAP session adding &reply:State = 0xba320227b63c1bfd
(12) [eap] = handled
(12) } # authenticate = handled
(12) Using Post-Auth-Type Challenge
(12) # Executing group from file /etc/freeradius/sites-enabled/school_8021x
(12) Challenge { ... } # empty sub-section is ignored
(12) session-state: Saving cached attributes
(12) Framed-MTU = 1004
(12) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(12) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(12) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(12) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(12) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(12) TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, ClientKeyExchange"
(12) TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, Finished"
(12) TLS-Session-Information = "(TLS) send TLS 1.2 ChangeCipherSpec"
(12) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Finished"
(12) TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(12) TLS-Session-Version = "TLS 1.2"
(12) Sent Access-Challenge Id 223 from 172.16.8.20:1812 to 172.16.5.252:60626 length 188
(12) Tunnel-Medium-Type = IEEE-802
(12) Tunnel-Private-Group-Id = "13"
(12) Tunnel-Type = VLAN
(12) EAP-Message = 0x010e00721900170303006716a0550c21008e126a3c3f9bf1468f80d3bea1ef6a522a806921291e7ada426d474c6e74f20ab498c62bd7eb721b2442e6bb234a1bb4d966aace0a610b1db8abaf4ef660b6f6676d6b5e81d98807128c7e66a279355a98b344ea3b464854a778b5a589e3eb43d6
(12) Message-Authenticator = 0x00000000000000000000000000000000
(12) State = 0xba320227b63c1bfd331e2470818158ed
(12) Finished request
Waking up in 2.7 seconds.
(0) Cleaning up request packet ID 127 with timestamp +12 due to cleanup_delay was reached
(1) Cleaning up request packet ID 135 with timestamp +12 due to cleanup_delay was reached
(2) Cleaning up request packet ID 143 with timestamp +12 due to cleanup_delay was reached
(3) Cleaning up request packet ID 151 with timestamp +12 due to cleanup_delay was reached
(4) Cleaning up request packet ID 159 with timestamp +12 due to cleanup_delay was reached
(5) Cleaning up request packet ID 167 with timestamp +12 due to cleanup_delay was reached
(6) Cleaning up request packet ID 175 with timestamp +12 due to cleanup_delay was reached
(7) Cleaning up request packet ID 183 with timestamp +12 due to cleanup_delay was reached
(8) Cleaning up request packet ID 191 with timestamp +12 due to cleanup_delay was reached
(9) Cleaning up request packet ID 199 with timestamp +12 due to cleanup_delay was reached
Waking up in 2.1 seconds.
(13) Received Access-Request Id 231 from 172.16.5.252:60626 to 172.16.8.20:1812 length 493
(13) User-Name = "guest1234"
(13) Service-Type = Framed-User
(13) Cisco-AVPair = "service-type=Framed"
(13) Framed-MTU = 1485
(13) EAP-Message = 0x020e0063190017030300580000000000000003e8f6775c806693d4d8772ec605f83ee6eb6dc711af59b74e4346760f7dafa19beb6e35e067888e67cee50deab2a0f83e84d4c052523856c2291654dada513cb86f480cc0737adcc84208d66cd64df61b
(13) Message-Authenticator = 0x1e0eadf115065476676f62768ce8e878
(13) Cisco-AVPair = "audit-session-id=FC0510AC0008D39DEFB40307"
(13) Cisco-AVPair = "method=dot1x"
(13) Cisco-AVPair = "client-iif-id=100927089"
(13) Cisco-AVPair = "vlan-id=10"
(13) NAS-IP-Address = 172.16.5.252
(13) NAS-Port-Type = Wireless-802.11
(13) NAS-Port = 518
(13) State = 0xba320227b63c1bfd331e2470818158ed
(13) Cisco-AVPair = "cisco-wlan-ssid=WTest"
(13) Cisco-AVPair = "wlan-profile-name=WTest"
(13) Called-Station-Id = "50-2f-a8-ce-da-20:WTest"
(13) Calling-Station-Id = "dc-39-6f-9e-dc-d1"
(13) Airespace-Wlan-Id = 5
(13) NAS-Identifier = "wlc-rz"
(13) WLAN-Group-Cipher = 1027076
(13) WLAN-Pairwise-Cipher = 1027076
(13) WLAN-AKM-Suite = 1027073
(13) WLAN-Group-Mgmt-Cipher = 1027078
(13) Restoring &session-state
(13) &session-state:Framed-MTU = 1004
(13) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(13) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(13) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(13) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(13) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(13) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, ClientKeyExchange"
(13) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, Finished"
(13) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 ChangeCipherSpec"
(13) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Finished"
(13) &session-state:TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(13) &session-state:TLS-Session-Version = "TLS 1.2"
(13) # Executing section authorize from file /etc/freeradius/sites-enabled/school_8021x
(13) authorize {
(13) policy filter_username {
(13) if (&User-Name) {
(13) if (&User-Name) -> TRUE
(13) if (&User-Name) {
(13) if (&User-Name =~ / /) {
(13) if (&User-Name =~ / /) -> FALSE
(13) if (&User-Name =~ /@[^@]*@/ ) {
(13) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(13) if (&User-Name =~ /\.\./ ) {
(13) if (&User-Name =~ /\.\./ ) -> FALSE
(13) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) {
(13) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE
(13) if (&User-Name =~ /\.$/) {
(13) if (&User-Name =~ /\.$/) -> FALSE
(13) if (&User-Name =~ /@\./) {
(13) if (&User-Name =~ /@\./) -> FALSE
(13) } # if (&User-Name) = notfound
(13) } # policy filter_username = notfound
(13) [preprocess] = ok
(13) [digest] = noop
(13) suffix: Checking for suffix after "@"
(13) suffix: No '@' in User-Name = "guest1234", looking up realm NULL
(13) suffix: Found realm "NULL"
(13) suffix: Adding Stripped-User-Name = "guest1234"
(13) suffix: Adding Realm = "NULL"
(13) suffix: Authentication realm is LOCAL
(13) [suffix] = ok
(13) [chap] = noop
(13) sql: EXPAND %{%{Stripped-User-Name}:-%{%{User-Name}:-DEFAULT}}
(13) sql: --> guest1234
(13) sql: SQL-User-Name set to 'guest1234'
rlm_sql (sql): Reserved connection (2)
(13) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id
(13) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'guest1234' ORDER BY id
(13) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'guest1234' ORDER BY id
(13) sql: User found in radcheck table
(13) sql: Conditional check items matched, merging assignment check items
(13) sql: Cleartext-Password := "guest1324"
(13) sql: EXPAND SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id
(13) sql: --> SELECT id, username, attribute, value, op FROM radreply WHERE username = 'guest1234' ORDER BY id
(13) sql: Executing select query: SELECT id, username, attribute, value, op FROM radreply WHERE username = 'guest1234' ORDER BY id
(13) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority
(13) sql: --> SELECT groupname FROM radusergroup WHERE username = 'guest1234' ORDER BY priority
(13) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'guest1234' ORDER BY priority
(13) sql: User found in the group table
(13) sql: EXPAND SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id
(13) sql: --> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'guest' ORDER BY id
(13) sql: Executing select query: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'guest' ORDER BY id
(13) sql: Group "guest": Conditional check items matched
(13) sql: Group "guest": Merging assignment check items
(13) sql: EXPAND SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id
(13) sql: --> SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'guest' ORDER BY id
(13) sql: Executing select query: SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'guest' ORDER BY id
(13) sql: Group "guest": Merging reply items
(13) sql: Tunnel-Medium-Type := IEEE-802
(13) sql: Tunnel-Private-Group-Id := "13"
(13) sql: Tunnel-Type := VLAN
rlm_sql (sql): Released connection (2)
Need more connections to reach 10 spares
rlm_sql (sql): Opening additional connection (7), 1 of 25 pending slots used
rlm_sql_mysql: Starting connect to MySQL server
rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 10.11.4-MariaDB-1~deb12u1, protocol version 10
(13) [sql] = ok
(13) [mschap] = noop
(13) eap: Peer sent EAP Response (code 2) ID 14 length 99
(13) eap: Continuing tunnel setup
(13) [eap] = ok
(13) } # authorize = ok
(13) Found Auth-Type = eap
(13) # Executing group from file /etc/freeradius/sites-enabled/school_8021x
(13) authenticate {
(13) eap: Expiring EAP session with state 0x6a7f40936b715a2f
(13) eap: Finished EAP session with state 0xba320227b63c1bfd
(13) eap: Previous EAP request found for state 0xba320227b63c1bfd, released from the list
(13) eap: Peer sent packet with method EAP PEAP (25)
(13) eap: Calling submodule eap_peap to process data
(13) eap_peap: (TLS) EAP Done initial handshake
(13) eap_peap: Session established. Decoding tunneled attributes
(13) eap_peap: PEAP state phase2
(13) eap_peap: EAP method MSCHAPv2 (26)
(13) eap_peap: Got tunneled request
(13) eap_peap: EAP-Message = 0x020e00441a020e003f3122a8ccdefb698b37ef26afe8eb4ad99a00000000000000005ede9cef1623c88542470e12a288006c40f50b27d83ed2a400677565737431323334
(13) eap_peap: Setting User-Name to guest1234
(13) eap_peap: Sending tunneled request to inner-tunnel
(13) eap_peap: EAP-Message = 0x020e00441a020e003f3122a8ccdefb698b37ef26afe8eb4ad99a00000000000000005ede9cef1623c88542470e12a288006c40f50b27d83ed2a400677565737431323334
(13) eap_peap: FreeRADIUS-Proxied-To = 127.0.0.1
(13) eap_peap: User-Name = "guest1234"
(13) eap_peap: State = 0x6a7f40936b715a2f961d4ea7c3cab567
(13) eap_peap: Service-Type = Framed-User
(13) eap_peap: Cisco-AVPair = "service-type=Framed"
(13) eap_peap: Cisco-AVPair = "audit-session-id=FC0510AC0008D39DEFB40307"
(13) eap_peap: Cisco-AVPair = "method=dot1x"
(13) eap_peap: Cisco-AVPair = "client-iif-id=100927089"
(13) eap_peap: Cisco-AVPair = "vlan-id=10"
(13) eap_peap: Cisco-AVPair = "cisco-wlan-ssid=WTest"
(13) eap_peap: Cisco-AVPair = "wlan-profile-name=WTest"
(13) eap_peap: Framed-MTU = 1485
(13) eap_peap: NAS-IP-Address = 172.16.5.252
(13) eap_peap: NAS-Port-Type = Wireless-802.11
(13) eap_peap: NAS-Port = 518
(13) eap_peap: Called-Station-Id = "50-2f-a8-ce-da-20:WTest"
(13) eap_peap: Calling-Station-Id = "dc-39-6f-9e-dc-d1"
(13) eap_peap: Airespace-Wlan-Id = 5
(13) eap_peap: NAS-Identifier = "wlc-rz"
(13) eap_peap: WLAN-Group-Cipher = 1027076
(13) eap_peap: WLAN-Pairwise-Cipher = 1027076
(13) eap_peap: WLAN-AKM-Suite = 1027073
(13) eap_peap: WLAN-Group-Mgmt-Cipher = 1027078
(13) eap_peap: Event-Timestamp = "Jan 9 2024 20:39:47 CET"
(13) Virtual server inner-tunnel received request
(13) EAP-Message = 0x020e00441a020e003f3122a8ccdefb698b37ef26afe8eb4ad99a00000000000000005ede9cef1623c88542470e12a288006c40f50b27d83ed2a400677565737431323334
(13) FreeRADIUS-Proxied-To = 127.0.0.1
(13) User-Name = "guest1234"
(13) State = 0x6a7f40936b715a2f961d4ea7c3cab567
(13) Service-Type = Framed-User
(13) Cisco-AVPair = "service-type=Framed"
(13) Cisco-AVPair = "audit-session-id=FC0510AC0008D39DEFB40307"
(13) Cisco-AVPair = "method=dot1x"
(13) Cisco-AVPair = "client-iif-id=100927089"
(13) Cisco-AVPair = "vlan-id=10"
(13) Cisco-AVPair = "cisco-wlan-ssid=WTest"
(13) Cisco-AVPair = "wlan-profile-name=WTest"
(13) Framed-MTU = 1485
(13) NAS-IP-Address = 172.16.5.252
(13) NAS-Port-Type = Wireless-802.11
(13) NAS-Port = 518
(13) Called-Station-Id = "50-2f-a8-ce-da-20:WTest"
(13) Calling-Station-Id = "dc-39-6f-9e-dc-d1"
(13) Airespace-Wlan-Id = 5
(13) NAS-Identifier = "wlc-rz"
(13) WLAN-Group-Cipher = 1027076
(13) WLAN-Pairwise-Cipher = 1027076
(13) WLAN-AKM-Suite = 1027073
(13) WLAN-Group-Mgmt-Cipher = 1027078
(13) Event-Timestamp = "Jan 9 2024 20:39:47 CET"
(13) WARNING: Outer and inner identities are the same. User privacy is compromised.
(13) server inner-tunnel {
(13) session-state: No cached attributes
(13) # Executing section authorize from file /etc/freeradius/sites-enabled/inner-tunnel
(13) authorize {
(13) policy filter_username {
(13) if (&User-Name) {
(13) if (&User-Name) -> TRUE
(13) if (&User-Name) {
(13) if (&User-Name =~ / /) {
(13) if (&User-Name =~ / /) -> FALSE
(13) if (&User-Name =~ /@[^@]*@/ ) {
(13) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(13) if (&User-Name =~ /\.\./ ) {
(13) if (&User-Name =~ /\.\./ ) -> FALSE
(13) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) {
(13) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE
(13) if (&User-Name =~ /\.$/) {
(13) if (&User-Name =~ /\.$/) -> FALSE
(13) if (&User-Name =~ /@\./) {
(13) if (&User-Name =~ /@\./) -> FALSE
(13) } # if (&User-Name) = notfound
(13) } # policy filter_username = notfound
(13) [chap] = noop
(13) [mschap] = noop
(13) suffix: Checking for suffix after "@"
(13) suffix: No '@' in User-Name = "guest1234", looking up realm NULL
(13) suffix: Found realm "NULL"
(13) suffix: Adding Stripped-User-Name = "guest1234"
(13) suffix: Adding Realm = "NULL"
(13) suffix: Authentication realm is LOCAL
(13) [suffix] = ok
(13) update control {
(13) &Proxy-To-Realm := LOCAL
(13) } # update control = noop
(13) eap: Peer sent EAP Response (code 2) ID 14 length 68
(13) eap: No EAP Start, assuming it's an on-going EAP conversation
(13) [eap] = updated
(13) [files] = noop
(13) sql: EXPAND %{%{Stripped-User-Name}:-%{%{User-Name}:-DEFAULT}}
(13) sql: --> guest1234
(13) sql: SQL-User-Name set to 'guest1234'
rlm_sql (sql): Reserved connection (3)
(13) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id
(13) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'guest1234' ORDER BY id
(13) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'guest1234' ORDER BY id
(13) sql: User found in radcheck table
(13) sql: Conditional check items matched, merging assignment check items
(13) sql: Cleartext-Password := "guest1324"
(13) sql: EXPAND SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id
(13) sql: --> SELECT id, username, attribute, value, op FROM radreply WHERE username = 'guest1234' ORDER BY id
(13) sql: Executing select query: SELECT id, username, attribute, value, op FROM radreply WHERE username = 'guest1234' ORDER BY id
(13) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority
(13) sql: --> SELECT groupname FROM radusergroup WHERE username = 'guest1234' ORDER BY priority
(13) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'guest1234' ORDER BY priority
(13) sql: User found in the group table
(13) sql: EXPAND SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id
(13) sql: --> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'guest' ORDER BY id
(13) sql: Executing select query: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'guest' ORDER BY id
(13) sql: Group "guest": Conditional check items matched
(13) sql: Group "guest": Merging assignment check items
(13) sql: EXPAND SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id
(13) sql: --> SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'guest' ORDER BY id
(13) sql: Executing select query: SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'guest' ORDER BY id
(13) sql: Group "guest": Merging reply items
(13) sql: Tunnel-Medium-Type := IEEE-802
(13) sql: Tunnel-Private-Group-Id := "13"
(13) sql: Tunnel-Type := VLAN
rlm_sql (sql): Released connection (3)
(13) [sql] = ok
(13) [expiration] = noop
(13) [logintime] = noop
(13) pap: WARNING: Auth-Type already set. Not setting to PAP
(13) [pap] = noop
(13) } # authorize = updated
(13) Found Auth-Type = eap
(13) # Executing group from file /etc/freeradius/sites-enabled/inner-tunnel
(13) authenticate {
(13) eap: Expiring EAP session with state 0x6a7f40936b715a2f
(13) eap: Finished EAP session with state 0x6a7f40936b715a2f
(13) eap: Previous EAP request found for state 0x6a7f40936b715a2f, released from the list
(13) eap: Peer sent packet with method EAP MSCHAPv2 (26)
(13) eap: Calling submodule eap_mschapv2 to process data
(13) eap_mschapv2: Authentication re-try from client after we sent a failure
(13) eap_mschapv2: # Executing group from file /etc/freeradius/sites-enabled/inner-tunnel
(13) eap_mschapv2: authenticate {
(13) mschap: Found Cleartext-Password, hashing to create NT-Password
(13) mschap: Creating challenge hash with username: guest1234
(13) mschap: Client is using MS-CHAPv2
(13) mschap: Executing: /usr/bin/ntlm_auth --allow-mschapv2 --request-nt-key --domain=lmn --require-membership-of=lmn\wifi --username=%{%{Stripped-User-Name}:-%{%{User-Name}:-None}} --challenge=%{%{mschap:Challenge}:-00} --nt-response=%{%{mschap:NT-Response}:-00}:
(13) mschap: EXPAND --username=%{%{Stripped-User-Name}:-%{%{User-Name}:-None}}
(13) mschap: --> --username=guest1234
(13) mschap: Creating challenge hash with username: guest1234
(13) mschap: EXPAND --challenge=%{%{mschap:Challenge}:-00}
(13) mschap: --> --challenge=24c443b3c1f27423
(13) mschap: EXPAND --nt-response=%{%{mschap:NT-Response}:-00}
(13) mschap: --> --nt-response=5ede9cef1623c88542470e12a288006c40f50b27d83ed2a4
(13) mschap: ERROR: Program returned code (1) and output 'The attempted logon is invalid. This is either due to a bad username or authentication information. (0xc000006d)'
(13) mschap: External script failed
(13) mschap: ERROR: External script says: The attempted logon is invalid. This is either due to a bad username or authentication information. (0xc000006d)
(13) mschap: ERROR: MS-CHAP2-Response is incorrect
(13) eap_mschapv2: [mschap] = reject
(13) eap_mschapv2: } # authenticate = reject
(13) eap_mschapv2: MSCHAP-Error: ?E=691 R=1 C=4ac41e1609ba12831b1c7387bccab01a V=3 M=Authentication rejected
(13) eap_mschapv2: Found new challenge from MS-CHAP-Error: err=691 retry=1 challenge=4ac41e1609ba12831b1c7387bccab01a
(13) eap_mschapv2: ERROR: MSCHAP Failure
(13) eap: Sending EAP Request (code 1) ID 15 length 83
(13) eap: EAP session adding &reply:State = 0x6a7f409368705a2f
(13) [eap] = handled
(13) } # authenticate = handled
(13) } # server inner-tunnel
(13) Virtual server sending reply
(13) Tunnel-Medium-Type = IEEE-802
(13) Tunnel-Private-Group-Id = "13"
(13) Tunnel-Type = VLAN
(13) EAP-Message = 0x010f00531a040e004e453d36393120523d3120433d346163343165313630396261313238333162316337333837626363616230316120563d33204d3d41757468656e7469636174696f6e2072656a6563746564
(13) Message-Authenticator = 0x00000000000000000000000000000000
(13) State = 0x6a7f409368705a2f961d4ea7c3cab567
(13) eap_peap: Got tunneled reply code 11
(13) eap_peap: Tunnel-Medium-Type = IEEE-802
(13) eap_peap: Tunnel-Private-Group-Id = "13"
(13) eap_peap: Tunnel-Type = VLAN
(13) eap_peap: EAP-Message = 0x010f00531a040e004e453d36393120523d3120433d346163343165313630396261313238333162316337333837626363616230316120563d33204d3d41757468656e7469636174696f6e2072656a6563746564
(13) eap_peap: Message-Authenticator = 0x00000000000000000000000000000000
(13) eap_peap: State = 0x6a7f409368705a2f961d4ea7c3cab567
(13) eap_peap: Got tunneled reply RADIUS code 11
(13) eap_peap: Tunnel-Medium-Type = IEEE-802
(13) eap_peap: Tunnel-Private-Group-Id = "13"
(13) eap_peap: Tunnel-Type = VLAN
(13) eap_peap: EAP-Message = 0x010f00531a040e004e453d36393120523d3120433d346163343165313630396261313238333162316337333837626363616230316120563d33204d3d41757468656e7469636174696f6e2072656a6563746564
(13) eap_peap: Message-Authenticator = 0x00000000000000000000000000000000
(13) eap_peap: State = 0x6a7f409368705a2f961d4ea7c3cab567
(13) eap_peap: Got tunneled Access-Challenge
(13) eap: Sending EAP Request (code 1) ID 15 length 114
(13) eap: EAP session adding &reply:State = 0xba320227b73d1bfd
(13) [eap] = handled
(13) } # authenticate = handled
(13) Using Post-Auth-Type Challenge
(13) # Executing group from file /etc/freeradius/sites-enabled/school_8021x
(13) Challenge { ... } # empty sub-section is ignored
(13) session-state: Saving cached attributes
(13) Framed-MTU = 1004
(13) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(13) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(13) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(13) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(13) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(13) TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, ClientKeyExchange"
(13) TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, Finished"
(13) TLS-Session-Information = "(TLS) send TLS 1.2 ChangeCipherSpec"
(13) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Finished"
(13) TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(13) TLS-Session-Version = "TLS 1.2"
(13) Sent Access-Challenge Id 231 from 172.16.8.20:1812 to 172.16.5.252:60626 length 188
(13) Tunnel-Medium-Type = IEEE-802
(13) Tunnel-Private-Group-Id = "13"
(13) Tunnel-Type = VLAN
(13) EAP-Message = 0x010f00721900170303006716a0550c21008e1319e78511708cc48a678c2394b8c92a9318a855072bfc5d298bb2540b60a6b9ccc99dfa9587f6dfb14aa00f1edf47db96709b16a84249be5823c46455d1301ab1cf19e53dddc29b7b3532850f11c9b4dd251917948904352e5d33bd135a0e37
(13) Message-Authenticator = 0x00000000000000000000000000000000
(13) State = 0xba320227b73d1bfd331e2470818158ed
(13) Finished request
Waking up in 0.4 seconds.
(10) Cleaning up request packet ID 207 with timestamp +15 due to cleanup_delay was reached
(11) Cleaning up request packet ID 215 with timestamp +15 due to cleanup_delay was reached
(12) Cleaning up request packet ID 223 with timestamp +15 due to cleanup_delay was reached
Waking up in 4.4 seconds.
(13) Cleaning up request packet ID 231 with timestamp +19 due to cleanup_delay was reached
Ready to process requests
********************************* Waited for 1-2 minutes
(14) Received Access-Request Id 223 from 172.16.5.252:60626 to 172.16.8.20:1812 length 388
(14) User-Name = "sebastian"
(14) Service-Type = Framed-User
(14) Cisco-AVPair = "service-type=Framed"
(14) Framed-MTU = 1485
(14) EAP-Message = 0x0201000d017365737473656261
(14) Message-Authenticator = 0xf99ca7bb7d5ff578dec2f8be5d67913f
(14) Cisco-AVPair = "audit-session-id=FC0510AC0008D39DEFB40307"
(14) Cisco-AVPair = "method=dot1x"
(14) Cisco-AVPair = "client-iif-id=100927089"
(14) Cisco-AVPair = "vlan-id=10"
(14) NAS-IP-Address = 172.16.5.252
(14) NAS-Port-Type = Wireless-802.11
(14) NAS-Port = 518
(14) Cisco-AVPair = "cisco-wlan-ssid=WTest"
(14) Cisco-AVPair = "wlan-profile-name=WTest"
(14) Called-Station-Id = "50-2f-a8-ce-da-20:WTest"
(14) Calling-Station-Id = "dc-39-6f-9e-dc-d1"
(14) Airespace-Wlan-Id = 5
(14) NAS-Identifier = "wlc-rz"
(14) WLAN-Group-Cipher = 1027076
(14) WLAN-Pairwise-Cipher = 1027076
(14) WLAN-AKM-Suite = 1027073
(14) WLAN-Group-Mgmt-Cipher = 1027078
(14) # Executing section authorize from file /etc/freeradius/sites-enabled/school_8021x
(14) authorize {
(14) policy filter_username {
(14) if (&User-Name) {
(14) if (&User-Name) -> TRUE
(14) if (&User-Name) {
(14) if (&User-Name =~ / /) {
(14) if (&User-Name =~ / /) -> FALSE
(14) if (&User-Name =~ /@[^@]*@/ ) {
(14) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(14) if (&User-Name =~ /\.\./ ) {
(14) if (&User-Name =~ /\.\./ ) -> FALSE
(14) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) {
(14) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE
(14) if (&User-Name =~ /\.$/) {
(14) if (&User-Name =~ /\.$/) -> FALSE
(14) if (&User-Name =~ /@\./) {
(14) if (&User-Name =~ /@\./) -> FALSE
(14) } # if (&User-Name) = notfound
(14) } # policy filter_username = notfound
(14) [preprocess] = ok
(14) [digest] = noop
(14) suffix: Checking for suffix after "@"
(14) suffix: No '@' in User-Name = "sebastian", looking up realm NULL
(14) suffix: Found realm "NULL"
(14) suffix: Adding Stripped-User-Name = "sebastian"
(14) suffix: Adding Realm = "NULL"
(14) suffix: Authentication realm is LOCAL
(14) [suffix] = ok
(14) [chap] = noop
(14) sql: EXPAND %{%{Stripped-User-Name}:-%{%{User-Name}:-DEFAULT}}
(14) sql: --> sebastian
(14) sql: SQL-User-Name set to 'sebastian'
rlm_sql (sql): Reserved connection (4)
(14) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id
(14) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'sebastian' ORDER BY id
(14) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'sebastian' ORDER BY id
(14) sql: WARNING: User not found in radcheck table.
(14) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority
(14) sql: --> SELECT groupname FROM radusergroup WHERE username = 'sebastian' ORDER BY priority
(14) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'sebastian' ORDER BY priority
(14) sql: User not found in any groups
rlm_sql (sql): Released connection (4)
Need more connections to reach 10 spares
rlm_sql (sql): Opening additional connection (8), 1 of 24 pending slots used
rlm_sql_mysql: Starting connect to MySQL server
rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 10.11.4-MariaDB-1~deb12u1, protocol version 10
rlm_sql (sql): Closing expired connection (7) - Hit idle_timeout limit
rlm_sql_mysql: Socket destructor called, closing socket
rlm_sql (sql): Closing expired connection (6) - Hit idle_timeout limit
rlm_sql_mysql: Socket destructor called, closing socket
rlm_sql (sql): Closing expired connection (5) - Hit idle_timeout limit
rlm_sql_mysql: Socket destructor called, closing socket
rlm_sql (sql): Closing expired connection (3) - Hit idle_timeout limit
rlm_sql_mysql: Socket destructor called, closing socket
rlm_sql (sql): Closing expired connection (2) - Hit idle_timeout limit
rlm_sql_mysql: Socket destructor called, closing socket
rlm_sql (sql): Closing expired connection (1) - Hit idle_timeout limit
rlm_sql_mysql: Socket destructor called, closing socket
rlm_sql (sql): You probably need to lower "min"
rlm_sql (sql): Closing expired connection (0) - Hit idle_timeout limit
rlm_sql_mysql: Socket destructor called, closing socket
(14) [sql] = notfound
(14) [mschap] = noop
(14) eap: Peer sent EAP Response (code 2) ID 1 length 13
(14) eap: EAP-Identity reply, returning 'ok' so we can short-circuit the rest of authorize
(14) [eap] = ok
(14) } # authorize = ok
(14) Found Auth-Type = eap
(14) # Executing group from file /etc/freeradius/sites-enabled/school_8021x
(14) authenticate {
(14) eap: Peer sent packet with method EAP Identity (1)
(14) eap: Calling submodule eap_peap to process data
(14) eap_peap: (TLS) Initiating new session
(14) eap: Sending EAP Request (code 1) ID 2 length 6
(14) eap: EAP session adding &reply:State = 0xe560871be5629e90
(14) [eap] = handled
(14) } # authenticate = handled
(14) Using Post-Auth-Type Challenge
(14) # Executing group from file /etc/freeradius/sites-enabled/school_8021x
(14) Challenge { ... } # empty sub-section is ignored
(14) session-state: Saving cached attributes
(14) Framed-MTU = 1004
(14) Sent Access-Challenge Id 223 from 172.16.8.20:1812 to 172.16.5.252:60626 length 64
(14) EAP-Message = 0x010200061920
(14) Message-Authenticator = 0x00000000000000000000000000000000
(14) State = 0xe560871be5629e90aab05f7604c82849
(14) Finished request
Waking up in 4.9 seconds.
(15) Received Access-Request Id 231 from 172.16.5.252:60626 to 172.16.8.20:1812 length 565
(15) User-Name = "sebastian"
(15) Service-Type = Framed-User
(15) Cisco-AVPair = "service-type=Framed"
(15) Framed-MTU = 1485
(15) EAP-Message = 0x020200ac1980000000a2160303009d010000990303659da179c54137c79130ac5b05426699aa375786c25ebb2be6399e29d5e3187a00002ac02cc02bc030c02f009f009ec024c023c028c027c00ac009c014c013009d009c003d003c0035002f000a01000046000500050100000000000a00080006001d00170018000b00020100000d001a00180804080508060401050102010403050302030202060106030023000000170000ff01000100
(15) Message-Authenticator = 0xfc87861753fd5bb2a55f08ac27251807
(15) Cisco-AVPair = "audit-session-id=FC0510AC0008D39DEFB40307"
(15) Cisco-AVPair = "method=dot1x"
(15) Cisco-AVPair = "client-iif-id=100927089"
(15) Cisco-AVPair = "vlan-id=10"
(15) NAS-IP-Address = 172.16.5.252
(15) NAS-Port-Type = Wireless-802.11
(15) NAS-Port = 518
(15) State = 0xe560871be5629e90aab05f7604c82849
(15) Cisco-AVPair = "cisco-wlan-ssid=WTest"
(15) Cisco-AVPair = "wlan-profile-name=WTest"
(15) Called-Station-Id = "50-2f-a8-ce-da-20:WTest"
(15) Calling-Station-Id = "dc-39-6f-9e-dc-d1"
(15) Airespace-Wlan-Id = 5
(15) NAS-Identifier = "wlc-rz"
(15) WLAN-Group-Cipher = 1027076
(15) WLAN-Pairwise-Cipher = 1027076
(15) WLAN-AKM-Suite = 1027073
(15) WLAN-Group-Mgmt-Cipher = 1027078
(15) Restoring &session-state
(15) &session-state:Framed-MTU = 1004
(15) # Executing section authorize from file /etc/freeradius/sites-enabled/school_8021x
(15) authorize {
(15) policy filter_username {
(15) if (&User-Name) {
(15) if (&User-Name) -> TRUE
(15) if (&User-Name) {
(15) if (&User-Name =~ / /) {
(15) if (&User-Name =~ / /) -> FALSE
(15) if (&User-Name =~ /@[^@]*@/ ) {
(15) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(15) if (&User-Name =~ /\.\./ ) {
(15) if (&User-Name =~ /\.\./ ) -> FALSE
(15) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) {
(15) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE
(15) if (&User-Name =~ /\.$/) {
(15) if (&User-Name =~ /\.$/) -> FALSE
(15) if (&User-Name =~ /@\./) {
(15) if (&User-Name =~ /@\./) -> FALSE
(15) } # if (&User-Name) = notfound
(15) } # policy filter_username = notfound
(15) [preprocess] = ok
(15) [digest] = noop
(15) suffix: Checking for suffix after "@"
(15) suffix: No '@' in User-Name = "sebastian", looking up realm NULL
(15) suffix: Found realm "NULL"
(15) suffix: Adding Stripped-User-Name = "sebastian"
(15) suffix: Adding Realm = "NULL"
(15) suffix: Authentication realm is LOCAL
(15) [suffix] = ok
(15) [chap] = noop
(15) sql: EXPAND %{%{Stripped-User-Name}:-%{%{User-Name}:-DEFAULT}}
(15) sql: --> sebastian
(15) sql: SQL-User-Name set to 'sebastian'
rlm_sql (sql): Reserved connection (4)
(15) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id
(15) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'sebastian' ORDER BY id
(15) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'sebastian' ORDER BY id
(15) sql: WARNING: User not found in radcheck table.
(15) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority
(15) sql: --> SELECT groupname FROM radusergroup WHERE username = 'sebastian' ORDER BY priority
(15) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'sebastian' ORDER BY priority
(15) sql: User not found in any groups
rlm_sql (sql): Released connection (4)
(15) [sql] = notfound
(15) [mschap] = noop
(15) eap: Peer sent EAP Response (code 2) ID 2 length 172
(15) eap: Continuing tunnel setup
(15) [eap] = ok
(15) } # authorize = ok
(15) Found Auth-Type = eap
(15) # Executing group from file /etc/freeradius/sites-enabled/school_8021x
(15) authenticate {
(15) eap: Expiring EAP session with state 0x6a7f409368705a2f
(15) eap: Expiring EAP session with state 0xba320227b73d1bfd
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! EAP session with state 0xba320227b73d1bfd331e2470818158ed did not finish! !!
!! Please read http://wiki.freeradius.org/guide/Certificate_Compatibility !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
(15) eap: Expiring EAP session with state 0xe560871be5629e90
(15) eap: Finished EAP session with state 0xe560871be5629e90
(15) eap: Previous EAP request found for state 0xe560871be5629e90, released from the list
(15) eap: Peer sent packet with method EAP PEAP (25)
(15) eap: Calling submodule eap_peap to process data
(15) eap_peap: (TLS) EAP Peer says that the final record size will be 162 bytes
(15) eap_peap: (TLS) EAP Got all data (162 bytes)
(15) eap_peap: (TLS) Handshake state - before SSL initialization
(15) eap_peap: (TLS) Handshake state - Server before SSL initialization
(15) eap_peap: (TLS) Handshake state - Server before SSL initialization
(15) eap_peap: (TLS) recv TLS 1.3 Handshake, ClientHello
(15) eap_peap: (TLS) Handshake state - Server SSLv3/TLS read client hello
(15) eap_peap: (TLS) send TLS 1.2 Handshake, ServerHello
(15) eap_peap: (TLS) Handshake state - Server SSLv3/TLS write server hello
(15) eap_peap: (TLS) send TLS 1.2 Handshake, Certificate
(15) eap_peap: (TLS) Handshake state - Server SSLv3/TLS write certificate
(15) eap_peap: (TLS) send TLS 1.2 Handshake, ServerKeyExchange
(15) eap_peap: (TLS) Handshake state - Server SSLv3/TLS write key exchange
(15) eap_peap: (TLS) send TLS 1.2 Handshake, ServerHelloDone
(15) eap_peap: (TLS) Handshake state - Server SSLv3/TLS write server done
(15) eap_peap: (TLS) Server : Need to read more data: SSLv3/TLS write server done
(15) eap_peap: (TLS) In Handshake Phase
(15) eap: Sending EAP Request (code 1) ID 3 length 1014
(15) eap: EAP session adding &reply:State = 0xe560871be4639e90
(15) [eap] = handled
(15) } # authenticate = handled
(15) Using Post-Auth-Type Challenge
(15) # Executing group from file /etc/freeradius/sites-enabled/school_8021x
(15) Challenge { ... } # empty sub-section is ignored
(15) session-state: Saving cached attributes
(15) Framed-MTU = 1004
(15) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(15) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(15) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(15) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(15) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(15) Sent Access-Challenge Id 231 from 172.16.8.20:1812 to 172.16.5.252:60626 length 1080
(15) EAP-Message = 0x010303f619c000001e0d160303003d0200003903039772c82eaca3b1283e263f0343957f9ad90e7987964b4400444f574e4752440100c030000011ff01000100000b000403000102001700001603031c6b0b001c67001c640004f9308204f5308203dda0030201020212042926c418ea01b0d1f5c2840ddfd29795e1300d06092a864886f70d01010b05003032310b300906035504061302555331163014060355040a130d4c6574277320456e6372797074310b3009060355040313025233301e170d3233313131323032333434395a170d3234303231303032333434385a301f311d301b060355040313147261646975732e6c656e6465722e736368756c6530820122300d06092a864886f70d01010105000382010f003082010a0282010100cfb3dce5f106298287ab2ded73bdcd2ab2da13f02234bd1cf8f250f0b9e10ef5b6ffcccc57e4c136f30313160897175c8ce15a1ea450a4cf403c057e1771360ed2e668ab906e240cc020bb426441c63470b261e55f38
(15) Message-Authenticator = 0x00000000000000000000000000000000
(15) State = 0xe560871be4639e90aab05f7604c82849
(15) Finished request
Waking up in 4.9 seconds.
(16) Received Access-Request Id 239 from 172.16.5.252:60626 to 172.16.8.20:1812 length 399
(16) User-Name = "sebastian"
(16) Service-Type = Framed-User
(16) Cisco-AVPair = "service-type=Framed"
(16) Framed-MTU = 1485
(16) EAP-Message = 0x020300061900
(16) Message-Authenticator = 0x1964bd1bf4dba1d994048f6d254b19fb
(16) Cisco-AVPair = "audit-session-id=FC0510AC0008D39DEFB40307"
(16) Cisco-AVPair = "method=dot1x"
(16) Cisco-AVPair = "client-iif-id=100927089"
(16) Cisco-AVPair = "vlan-id=10"
(16) NAS-IP-Address = 172.16.5.252
(16) NAS-Port-Type = Wireless-802.11
(16) NAS-Port = 518
(16) State = 0xe560871be4639e90aab05f7604c82849
(16) Cisco-AVPair = "cisco-wlan-ssid=WTest"
(16) Cisco-AVPair = "wlan-profile-name=WTest"
(16) Called-Station-Id = "50-2f-a8-ce-da-20:WTest"
(16) Calling-Station-Id = "dc-39-6f-9e-dc-d1"
(16) Airespace-Wlan-Id = 5
(16) NAS-Identifier = "wlc-rz"
(16) WLAN-Group-Cipher = 1027076
(16) WLAN-Pairwise-Cipher = 1027076
(16) WLAN-AKM-Suite = 1027073
(16) WLAN-Group-Mgmt-Cipher = 1027078
(16) Restoring &session-state
(16) &session-state:Framed-MTU = 1004
(16) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(16) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(16) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(16) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(16) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(16) # Executing section authorize from file /etc/freeradius/sites-enabled/school_8021x
(16) authorize {
(16) policy filter_username {
(16) if (&User-Name) {
(16) if (&User-Name) -> TRUE
(16) if (&User-Name) {
(16) if (&User-Name =~ / /) {
(16) if (&User-Name =~ / /) -> FALSE
(16) if (&User-Name =~ /@[^@]*@/ ) {
(16) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(16) if (&User-Name =~ /\.\./ ) {
(16) if (&User-Name =~ /\.\./ ) -> FALSE
(16) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) {
(16) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE
(16) if (&User-Name =~ /\.$/) {
(16) if (&User-Name =~ /\.$/) -> FALSE
(16) if (&User-Name =~ /@\./) {
(16) if (&User-Name =~ /@\./) -> FALSE
(16) } # if (&User-Name) = notfound
(16) } # policy filter_username = notfound
(16) [preprocess] = ok
(16) [digest] = noop
(16) suffix: Checking for suffix after "@"
(16) suffix: No '@' in User-Name = "sebastian", looking up realm NULL
(16) suffix: Found realm "NULL"
(16) suffix: Adding Stripped-User-Name = "sebastian"
(16) suffix: Adding Realm = "NULL"
(16) suffix: Authentication realm is LOCAL
(16) [suffix] = ok
(16) [chap] = noop
(16) sql: EXPAND %{%{Stripped-User-Name}:-%{%{User-Name}:-DEFAULT}}
(16) sql: --> sebastian
(16) sql: SQL-User-Name set to 'sebastian'
rlm_sql (sql): Reserved connection (8)
(16) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id
(16) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'sebastian' ORDER BY id
(16) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'sebastian' ORDER BY id
(16) sql: WARNING: User not found in radcheck table.
(16) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority
(16) sql: --> SELECT groupname FROM radusergroup WHERE username = 'sebastian' ORDER BY priority
(16) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'sebastian' ORDER BY priority
(16) sql: User not found in any groups
rlm_sql (sql): Released connection (8)
(16) [sql] = notfound
(16) [mschap] = noop
(16) eap: Peer sent EAP Response (code 2) ID 3 length 6
(16) eap: Continuing tunnel setup
(16) [eap] = ok
(16) } # authorize = ok
(16) Found Auth-Type = eap
(16) # Executing group from file /etc/freeradius/sites-enabled/school_8021x
(16) authenticate {
(16) eap: Expiring EAP session with state 0xe560871be4639e90
(16) eap: Finished EAP session with state 0xe560871be4639e90
(16) eap: Previous EAP request found for state 0xe560871be4639e90, released from the list
(16) eap: Peer sent packet with method EAP PEAP (25)
(16) eap: Calling submodule eap_peap to process data
(16) eap_peap: (TLS) Peer ACKed our handshake fragment
(16) eap: Sending EAP Request (code 1) ID 4 length 1010
(16) eap: EAP session adding &reply:State = 0xe560871be7649e90
(16) [eap] = handled
(16) } # authenticate = handled
(16) Using Post-Auth-Type Challenge
(16) # Executing group from file /etc/freeradius/sites-enabled/school_8021x
(16) Challenge { ... } # empty sub-section is ignored
(16) session-state: Saving cached attributes
(16) Framed-MTU = 1004
(16) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(16) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(16) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(16) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(16) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(16) Sent Access-Challenge Id 239 from 172.16.8.20:1812 to 172.16.5.252:60626 length 1074
(16) EAP-Message = 0x010403f219400300473045022021d86d99c514e86ea5d3a44852f734ac4f925072d0aaf7a337d6f92e614d6eec022100e912879e5f209fa42e24cd76df09f98c3ef2bb5265d1c205d5e5ae2226f9314a300d06092a864886f70d01010b050003820101009922dd5305695329c64db33f8f5667c95c4cddd0b78bd509b208bfb9f60b5f7da92b8e9df0f08bc0f217e8a3f2c2325c598de59708d1ab23e1e0bbac6ccca9ee0dc5d7d6b615bd222dd7e4cec69758ba7ca279b864a3afac2839be1cdb8d4e3ef438b8d9dc856d261b52da679870f84306cb9caf54f533c4090b372c033d5b808f42e195bd992048ca9a0fb199f1f24ea9f6d26b0a08726996c70a41f57e2009b99728be07bce33f2b789d271eea5bff132dc7f4b260603b559fdb1955cf410003428e50f493e8183bfbe030a0711d89d71427f996db7bddb06e56ad33ca9f7c93b603dab8e6e2fa915d554746f2a7baff627112a3bafdbaed08d22d7acdce5f00056f3082056b30820353a003020102021100
(16) Message-Authenticator = 0x00000000000000000000000000000000
(16) State = 0xe560871be7649e90aab05f7604c82849
(16) Finished request
Waking up in 4.9 seconds.
(17) Received Access-Request Id 247 from 172.16.5.252:60626 to 172.16.8.20:1812 length 399
(17) User-Name = "sebastian"
(17) Service-Type = Framed-User
(17) Cisco-AVPair = "service-type=Framed"
(17) Framed-MTU = 1485
(17) EAP-Message = 0x020400061900
(17) Message-Authenticator = 0xc3bacf1b4216367c55d83eb87ced94dc
(17) Cisco-AVPair = "audit-session-id=FC0510AC0008D39DEFB40307"
(17) Cisco-AVPair = "method=dot1x"
(17) Cisco-AVPair = "client-iif-id=100927089"
(17) Cisco-AVPair = "vlan-id=10"
(17) NAS-IP-Address = 172.16.5.252
(17) NAS-Port-Type = Wireless-802.11
(17) NAS-Port = 518
(17) State = 0xe560871be7649e90aab05f7604c82849
(17) Cisco-AVPair = "cisco-wlan-ssid=WTest"
(17) Cisco-AVPair = "wlan-profile-name=WTest"
(17) Called-Station-Id = "50-2f-a8-ce-da-20:WTest"
(17) Calling-Station-Id = "dc-39-6f-9e-dc-d1"
(17) Airespace-Wlan-Id = 5
(17) NAS-Identifier = "wlc-rz"
(17) WLAN-Group-Cipher = 1027076
(17) WLAN-Pairwise-Cipher = 1027076
(17) WLAN-AKM-Suite = 1027073
(17) WLAN-Group-Mgmt-Cipher = 1027078
(17) Restoring &session-state
(17) &session-state:Framed-MTU = 1004
(17) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(17) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(17) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(17) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(17) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(17) # Executing section authorize from file /etc/freeradius/sites-enabled/school_8021x
(17) authorize {
(17) policy filter_username {
(17) if (&User-Name) {
(17) if (&User-Name) -> TRUE
(17) if (&User-Name) {
(17) if (&User-Name =~ / /) {
(17) if (&User-Name =~ / /) -> FALSE
(17) if (&User-Name =~ /@[^@]*@/ ) {
(17) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(17) if (&User-Name =~ /\.\./ ) {
(17) if (&User-Name =~ /\.\./ ) -> FALSE
(17) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) {
(17) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE
(17) if (&User-Name =~ /\.$/) {
(17) if (&User-Name =~ /\.$/) -> FALSE
(17) if (&User-Name =~ /@\./) {
(17) if (&User-Name =~ /@\./) -> FALSE
(17) } # if (&User-Name) = notfound
(17) } # policy filter_username = notfound
(17) [preprocess] = ok
(17) [digest] = noop
(17) suffix: Checking for suffix after "@"
(17) suffix: No '@' in User-Name = "sebastian", looking up realm NULL
(17) suffix: Found realm "NULL"
(17) suffix: Adding Stripped-User-Name = "sebastian"
(17) suffix: Adding Realm = "NULL"
(17) suffix: Authentication realm is LOCAL
(17) [suffix] = ok
(17) [chap] = noop
(17) sql: EXPAND %{%{Stripped-User-Name}:-%{%{User-Name}:-DEFAULT}}
(17) sql: --> sebastian
(17) sql: SQL-User-Name set to 'sebastian'
rlm_sql (sql): Reserved connection (4)
(17) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id
(17) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'sebastian' ORDER BY id
(17) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'sebastian' ORDER BY id
(17) sql: WARNING: User not found in radcheck table.
(17) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority
(17) sql: --> SELECT groupname FROM radusergroup WHERE username = 'sebastian' ORDER BY priority
(17) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'sebastian' ORDER BY priority
(17) sql: User not found in any groups
rlm_sql (sql): Released connection (4)
(17) [sql] = notfound
(17) [mschap] = noop
(17) eap: Peer sent EAP Response (code 2) ID 4 length 6
(17) eap: Continuing tunnel setup
(17) [eap] = ok
(17) } # authorize = ok
(17) Found Auth-Type = eap
(17) # Executing group from file /etc/freeradius/sites-enabled/school_8021x
(17) authenticate {
(17) eap: Expiring EAP session with state 0xe560871be7649e90
(17) eap: Finished EAP session with state 0xe560871be7649e90
(17) eap: Previous EAP request found for state 0xe560871be7649e90, released from the list
(17) eap: Peer sent packet with method EAP PEAP (25)
(17) eap: Calling submodule eap_peap to process data
(17) eap_peap: (TLS) Peer ACKed our handshake fragment
(17) eap: Sending EAP Request (code 1) ID 5 length 1010
(17) eap: EAP session adding &reply:State = 0xe560871be6659e90
(17) [eap] = handled
(17) } # authenticate = handled
(17) Using Post-Auth-Type Challenge
(17) # Executing group from file /etc/freeradius/sites-enabled/school_8021x
(17) Challenge { ... } # empty sub-section is ignored
(17) session-state: Saving cached attributes
(17) Framed-MTU = 1004
(17) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(17) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(17) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(17) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(17) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(17) Sent Access-Challenge Id 247 from 172.16.8.20:1812 to 172.16.5.252:60626 length 1074
(17) EAP-Message = 0x010503f219407b4a1c4b730512fcc6eae050137c439374b3ca74e78e1f0108d030d45b7136b407bac130305c48b7823b98a67d608aa2a32982ccbabd83041ba2830341a1d605f11bc2b6f0a87c863b46a8482a88dc769a76bf1f6aa53d198feb38f364dec82b0d0a28fff7dbe21542d422d0275de179fe18e77088ad4ee6d98b3ac6dd27516effbc64f533434f0203010001a3423040300e0603551d0f0101ff040403020106300f0603551d130101ff040530030101ff301d0603551d0e0416041479b459e67bb6e5e40173800888c81a58f6e99b6e300d06092a864886f70d01010b05000382020100551f58a9bcb2a850d00cb1d81a6920272908ac61755c8a6ef882e5692fd5f6564bb9b8731059d321977ee74c71fbb2d260ad39a80bea17215685f1500e59ebcee059e9bac915ef869d8f8480f6e4e99190dc179b621b45f06695d27c6fc2ea3bef1fcfcbd6ae27f1a9b0c8aefd7d7e9afa2204ebffd97fea912b22b1170e8ff28a345b58d8fc01c954b9b826cc
(17) Message-Authenticator = 0x00000000000000000000000000000000
(17) State = 0xe560871be6659e90aab05f7604c82849
(17) Finished request
Waking up in 4.9 seconds.
(18) Received Access-Request Id 255 from 172.16.5.252:60626 to 172.16.8.20:1812 length 399
(18) User-Name = "sebastian"
(18) Service-Type = Framed-User
(18) Cisco-AVPair = "service-type=Framed"
(18) Framed-MTU = 1485
(18) EAP-Message = 0x020500061900
(18) Message-Authenticator = 0x786f133b2f9db78faf70a6bd8f845e3d
(18) Cisco-AVPair = "audit-session-id=FC0510AC0008D39DEFB40307"
(18) Cisco-AVPair = "method=dot1x"
(18) Cisco-AVPair = "client-iif-id=100927089"
(18) Cisco-AVPair = "vlan-id=10"
(18) NAS-IP-Address = 172.16.5.252
(18) NAS-Port-Type = Wireless-802.11
(18) NAS-Port = 518
(18) State = 0xe560871be6659e90aab05f7604c82849
(18) Cisco-AVPair = "cisco-wlan-ssid=WTest"
(18) Cisco-AVPair = "wlan-profile-name=WTest"
(18) Called-Station-Id = "50-2f-a8-ce-da-20:WTest"
(18) Calling-Station-Id = "dc-39-6f-9e-dc-d1"
(18) Airespace-Wlan-Id = 5
(18) NAS-Identifier = "wlc-rz"
(18) WLAN-Group-Cipher = 1027076
(18) WLAN-Pairwise-Cipher = 1027076
(18) WLAN-AKM-Suite = 1027073
(18) WLAN-Group-Mgmt-Cipher = 1027078
(18) Restoring &session-state
(18) &session-state:Framed-MTU = 1004
(18) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(18) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(18) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(18) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(18) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(18) # Executing section authorize from file /etc/freeradius/sites-enabled/school_8021x
(18) authorize {
(18) policy filter_username {
(18) if (&User-Name) {
(18) if (&User-Name) -> TRUE
(18) if (&User-Name) {
(18) if (&User-Name =~ / /) {
(18) if (&User-Name =~ / /) -> FALSE
(18) if (&User-Name =~ /@[^@]*@/ ) {
(18) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(18) if (&User-Name =~ /\.\./ ) {
(18) if (&User-Name =~ /\.\./ ) -> FALSE
(18) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) {
(18) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE
(18) if (&User-Name =~ /\.$/) {
(18) if (&User-Name =~ /\.$/) -> FALSE
(18) if (&User-Name =~ /@\./) {
(18) if (&User-Name =~ /@\./) -> FALSE
(18) } # if (&User-Name) = notfound
(18) } # policy filter_username = notfound
(18) [preprocess] = ok
(18) [digest] = noop
(18) suffix: Checking for suffix after "@"
(18) suffix: No '@' in User-Name = "sebastian", looking up realm NULL
(18) suffix: Found realm "NULL"
(18) suffix: Adding Stripped-User-Name = "sebastian"
(18) suffix: Adding Realm = "NULL"
(18) suffix: Authentication realm is LOCAL
(18) [suffix] = ok
(18) [chap] = noop
(18) sql: EXPAND %{%{Stripped-User-Name}:-%{%{User-Name}:-DEFAULT}}
(18) sql: --> sebastian
(18) sql: SQL-User-Name set to 'sebastian'
rlm_sql (sql): Reserved connection (8)
(18) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id
(18) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'sebastian' ORDER BY id
(18) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'sebastian' ORDER BY id
(18) sql: WARNING: User not found in radcheck table.
(18) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority
(18) sql: --> SELECT groupname FROM radusergroup WHERE username = 'sebastian' ORDER BY priority
(18) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'sebastian' ORDER BY priority
(18) sql: User not found in any groups
rlm_sql (sql): Released connection (8)
(18) [sql] = notfound
(18) [mschap] = noop
(18) eap: Peer sent EAP Response (code 2) ID 5 length 6
(18) eap: Continuing tunnel setup
(18) [eap] = ok
(18) } # authorize = ok
(18) Found Auth-Type = eap
(18) # Executing group from file /etc/freeradius/sites-enabled/school_8021x
(18) authenticate {
(18) eap: Expiring EAP session with state 0xe560871be6659e90
(18) eap: Finished EAP session with state 0xe560871be6659e90
(18) eap: Previous EAP request found for state 0xe560871be6659e90, released from the list
(18) eap: Peer sent packet with method EAP PEAP (25)
(18) eap: Calling submodule eap_peap to process data
(18) eap_peap: (TLS) Peer ACKed our handshake fragment
(18) eap: Sending EAP Request (code 1) ID 6 length 1010
(18) eap: EAP session adding &reply:State = 0xe560871be1669e90
(18) [eap] = handled
(18) } # authenticate = handled
(18) Using Post-Auth-Type Challenge
(18) # Executing group from file /etc/freeradius/sites-enabled/school_8021x
(18) Challenge { ... } # empty sub-section is ignored
(18) session-state: Saving cached attributes
(18) Framed-MTU = 1004
(18) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(18) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(18) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(18) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(18) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(18) Sent Access-Challenge Id 255 from 172.16.8.20:1812 to 172.16.5.252:60626 length 1074
(18) EAP-Message = 0x010603f21940cd9bd59f80830aec094af3164a3e5ccf77acde67050d1d07b6dc16fb5a8b14dbe27160c4ba459511898eea06dff72a161ca4b9c5c532e003e01e8218388bd745d80a6a6ee60077fb02517d22d80a6e9a5b77dff0fa41ec39dc75ca68070c1feaa3423040300e0603551d0f0101ff040403020106300f0603551d130101ff040530030101ff301d0603551d0e041604147c4296aede4b483bfa92f89e8ccf6d8ba9723795300a06082a8648ce3d040303036800306502307b794e465084c24487461b4570ff5899def4fda4d255a6202d74d634bc41a3505f012756b4be277506af122e75988dfc0231008bf5776cd4c865aae00b2cee149d2737a4f953a551e42983d7f890315b429f0af5feae0068e78c490fb66f5b5b15f2e70002ca308202c63082024da003020102021100b3bddff8a7845bbce903a04135b34a45300a06082a8648ce3d040303304f310b300906035504061302555331293027060355040a1320496e7465726e6574205365637572
(18) Message-Authenticator = 0x00000000000000000000000000000000
(18) State = 0xe560871be1669e90aab05f7604c82849
(18) Finished request
Waking up in 4.9 seconds.
(19) Received Access-Request Id 7 from 172.16.5.252:60626 to 172.16.8.20:1812 length 399
(19) User-Name = "sebastian"
(19) Service-Type = Framed-User
(19) Cisco-AVPair = "service-type=Framed"
(19) Framed-MTU = 1485
(19) EAP-Message = 0x020600061900
(19) Message-Authenticator = 0xa0b2d6e65031ade4244f1798a0dc1c95
(19) Cisco-AVPair = "audit-session-id=FC0510AC0008D39DEFB40307"
(19) Cisco-AVPair = "method=dot1x"
(19) Cisco-AVPair = "client-iif-id=100927089"
(19) Cisco-AVPair = "vlan-id=10"
(19) NAS-IP-Address = 172.16.5.252
(19) NAS-Port-Type = Wireless-802.11
(19) NAS-Port = 518
(19) State = 0xe560871be1669e90aab05f7604c82849
(19) Cisco-AVPair = "cisco-wlan-ssid=WTest"
(19) Cisco-AVPair = "wlan-profile-name=WTest"
(19) Called-Station-Id = "50-2f-a8-ce-da-20:WTest"
(19) Calling-Station-Id = "dc-39-6f-9e-dc-d1"
(19) Airespace-Wlan-Id = 5
(19) NAS-Identifier = "wlc-rz"
(19) WLAN-Group-Cipher = 1027076
(19) WLAN-Pairwise-Cipher = 1027076
(19) WLAN-AKM-Suite = 1027073
(19) WLAN-Group-Mgmt-Cipher = 1027078
(19) Restoring &session-state
(19) &session-state:Framed-MTU = 1004
(19) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(19) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(19) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(19) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(19) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(19) # Executing section authorize from file /etc/freeradius/sites-enabled/school_8021x
(19) authorize {
(19) policy filter_username {
(19) if (&User-Name) {
(19) if (&User-Name) -> TRUE
(19) if (&User-Name) {
(19) if (&User-Name =~ / /) {
(19) if (&User-Name =~ / /) -> FALSE
(19) if (&User-Name =~ /@[^@]*@/ ) {
(19) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(19) if (&User-Name =~ /\.\./ ) {
(19) if (&User-Name =~ /\.\./ ) -> FALSE
(19) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) {
(19) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE
(19) if (&User-Name =~ /\.$/) {
(19) if (&User-Name =~ /\.$/) -> FALSE
(19) if (&User-Name =~ /@\./) {
(19) if (&User-Name =~ /@\./) -> FALSE
(19) } # if (&User-Name) = notfound
(19) } # policy filter_username = notfound
(19) [preprocess] = ok
(19) [digest] = noop
(19) suffix: Checking for suffix after "@"
(19) suffix: No '@' in User-Name = "sebastian", looking up realm NULL
(19) suffix: Found realm "NULL"
(19) suffix: Adding Stripped-User-Name = "sebastian"
(19) suffix: Adding Realm = "NULL"
(19) suffix: Authentication realm is LOCAL
(19) [suffix] = ok
(19) [chap] = noop
(19) sql: EXPAND %{%{Stripped-User-Name}:-%{%{User-Name}:-DEFAULT}}
(19) sql: --> sebastian
(19) sql: SQL-User-Name set to 'sebastian'
rlm_sql (sql): Reserved connection (4)
(19) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id
(19) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'sebastian' ORDER BY id
(19) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'sebastian' ORDER BY id
(19) sql: WARNING: User not found in radcheck table.
(19) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority
(19) sql: --> SELECT groupname FROM radusergroup WHERE username = 'sebastian' ORDER BY priority
(19) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'sebastian' ORDER BY priority
(19) sql: User not found in any groups
rlm_sql (sql): Released connection (4)
(19) [sql] = notfound
(19) [mschap] = noop
(19) eap: Peer sent EAP Response (code 2) ID 6 length 6
(19) eap: Continuing tunnel setup
(19) [eap] = ok
(19) } # authorize = ok
(19) Found Auth-Type = eap
(19) # Executing group from file /etc/freeradius/sites-enabled/school_8021x
(19) authenticate {
(19) eap: Expiring EAP session with state 0xe560871be1669e90
(19) eap: Finished EAP session with state 0xe560871be1669e90
(19) eap: Previous EAP request found for state 0xe560871be1669e90, released from the list
(19) eap: Peer sent packet with method EAP PEAP (25)
(19) eap: Calling submodule eap_peap to process data
(19) eap_peap: (TLS) Peer ACKed our handshake fragment
(19) eap: Sending EAP Request (code 1) ID 7 length 1010
(19) eap: EAP session adding &reply:State = 0xe560871be0679e90
(19) [eap] = handled
(19) } # authenticate = handled
(19) Using Post-Auth-Type Challenge
(19) # Executing group from file /etc/freeradius/sites-enabled/school_8021x
(19) Challenge { ... } # empty sub-section is ignored
(19) session-state: Saving cached attributes
(19) Framed-MTU = 1004
(19) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(19) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(19) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(19) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(19) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(19) Sent Access-Challenge Id 7 from 172.16.8.20:1812 to 172.16.5.252:60626 length 1074
(19) EAP-Message = 0x010703f2194002c63082024ca00302010202104ed23df6af7ec7f9b0c4726ff9512a77300a06082a8648ce3d040303304f310b300906035504061302555331293027060355040a1320496e7465726e65742053656375726974792052657365617263682047726f7570311530130603550403130c4953524720526f6f74205832301e170d3230303930343030303030305a170d3235303931353136303030305a3032310b300906035504061302555331163014060355040a130d4c6574277320456e6372797074310b30090603550403130245323076301006072a8648ce3d020106052b8104002203620004239a2cede58b198d61559ec7e65560e8932e08b44a0356b54e21b9f939d15538669fcb6c1543c42b27b08eefb9fe31a780aef844cd820184c81a89de3f225307b962dfea7d2ad17f5fc3e51e7c76e689f88bcb457780491a842fe5640d7ad6dea382010830820104300e0603551d0f0101ff040403020186301d0603551d250416301406082b0601050507
(19) Message-Authenticator = 0x00000000000000000000000000000000
(19) State = 0xe560871be0679e90aab05f7604c82849
(19) Finished request
Waking up in 4.9 seconds.
(20) Received Access-Request Id 15 from 172.16.5.252:60626 to 172.16.8.20:1812 length 399
(20) User-Name = "sebastian"
(20) Service-Type = Framed-User
(20) Cisco-AVPair = "service-type=Framed"
(20) Framed-MTU = 1485
(20) EAP-Message = 0x020700061900
(20) Message-Authenticator = 0x85ed00b30538aa9cd404c90ab5aa9eaf
(20) Cisco-AVPair = "audit-session-id=FC0510AC0008D39DEFB40307"
(20) Cisco-AVPair = "method=dot1x"
(20) Cisco-AVPair = "client-iif-id=100927089"
(20) Cisco-AVPair = "vlan-id=10"
(20) NAS-IP-Address = 172.16.5.252
(20) NAS-Port-Type = Wireless-802.11
(20) NAS-Port = 518
(20) State = 0xe560871be0679e90aab05f7604c82849
(20) Cisco-AVPair = "cisco-wlan-ssid=WTest"
(20) Cisco-AVPair = "wlan-profile-name=WTest"
(20) Called-Station-Id = "50-2f-a8-ce-da-20:WTest"
(20) Calling-Station-Id = "dc-39-6f-9e-dc-d1"
(20) Airespace-Wlan-Id = 5
(20) NAS-Identifier = "wlc-rz"
(20) WLAN-Group-Cipher = 1027076
(20) WLAN-Pairwise-Cipher = 1027076
(20) WLAN-AKM-Suite = 1027073
(20) WLAN-Group-Mgmt-Cipher = 1027078
(20) Restoring &session-state
(20) &session-state:Framed-MTU = 1004
(20) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(20) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(20) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(20) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(20) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(20) # Executing section authorize from file /etc/freeradius/sites-enabled/school_8021x
(20) authorize {
(20) policy filter_username {
(20) if (&User-Name) {
(20) if (&User-Name) -> TRUE
(20) if (&User-Name) {
(20) if (&User-Name =~ / /) {
(20) if (&User-Name =~ / /) -> FALSE
(20) if (&User-Name =~ /@[^@]*@/ ) {
(20) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(20) if (&User-Name =~ /\.\./ ) {
(20) if (&User-Name =~ /\.\./ ) -> FALSE
(20) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) {
(20) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE
(20) if (&User-Name =~ /\.$/) {
(20) if (&User-Name =~ /\.$/) -> FALSE
(20) if (&User-Name =~ /@\./) {
(20) if (&User-Name =~ /@\./) -> FALSE
(20) } # if (&User-Name) = notfound
(20) } # policy filter_username = notfound
(20) [preprocess] = ok
(20) [digest] = noop
(20) suffix: Checking for suffix after "@"
(20) suffix: No '@' in User-Name = "sebastian", looking up realm NULL
(20) suffix: Found realm "NULL"
(20) suffix: Adding Stripped-User-Name = "sebastian"
(20) suffix: Adding Realm = "NULL"
(20) suffix: Authentication realm is LOCAL
(20) [suffix] = ok
(20) [chap] = noop
(20) sql: EXPAND %{%{Stripped-User-Name}:-%{%{User-Name}:-DEFAULT}}
(20) sql: --> sebastian
(20) sql: SQL-User-Name set to 'sebastian'
rlm_sql (sql): Reserved connection (8)
(20) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id
(20) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'sebastian' ORDER BY id
(20) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'sebastian' ORDER BY id
(20) sql: WARNING: User not found in radcheck table.
(20) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority
(20) sql: --> SELECT groupname FROM radusergroup WHERE username = 'sebastian' ORDER BY priority
(20) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'sebastian' ORDER BY priority
(20) sql: User not found in any groups
rlm_sql (sql): Released connection (8)
(20) [sql] = notfound
(20) [mschap] = noop
(20) eap: Peer sent EAP Response (code 2) ID 7 length 6
(20) eap: Continuing tunnel setup
(20) [eap] = ok
(20) } # authorize = ok
(20) Found Auth-Type = eap
(20) # Executing group from file /etc/freeradius/sites-enabled/school_8021x
(20) authenticate {
(20) eap: Expiring EAP session with state 0xe560871be0679e90
(20) eap: Finished EAP session with state 0xe560871be0679e90
(20) eap: Previous EAP request found for state 0xe560871be0679e90, released from the list
(20) eap: Peer sent packet with method EAP PEAP (25)
(20) eap: Calling submodule eap_peap to process data
(20) eap_peap: (TLS) Peer ACKed our handshake fragment
(20) eap: Sending EAP Request (code 1) ID 8 length 1010
(20) eap: EAP session adding &reply:State = 0xe560871be3689e90
(20) [eap] = handled
(20) } # authenticate = handled
(20) Using Post-Auth-Type Challenge
(20) # Executing group from file /etc/freeradius/sites-enabled/school_8021x
(20) Challenge { ... } # empty sub-section is ignored
(20) session-state: Saving cached attributes
(20) Framed-MTU = 1004
(20) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(20) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(20) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(20) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(20) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(20) Sent Access-Challenge Id 15 from 172.16.8.20:1812 to 172.16.5.252:60626 length 1074
(20) EAP-Message = 0x010803f2194094145535578c9ea8a23919f5823c42a94e6ef53bc32edb8dc0b05cf35938e7edcf69f05a0b1bbec094242587fa3771b313e71cace19befdbe43b45524596a9c153ce34c852eeb5aeed8fde6070e2a554abb66d0e97a540346b2bd3bc66eb66347cfa6b8b8f572999f830175dba726ffb81c5add286583d17c7e709bbf12bf786dcc1da715dd446e3ccad25c188bc60677566b3f118f7a25ce653ff3a88b647a5ff1318ea9809773f9d53f9cf01e5f5a6701714af63a4ff99b3939ddc53a706fe48851da169ae2575bb13cc5203f5ed51a18bdb150203010001a382010830820104300e0603551d0f0101ff040403020186301d0603551d250416301406082b0601050507030206082b0601050507030130120603551d130101ff040830060101ff020100301d0603551d0e04160414142eb317b75856cbae500940e61faf9d8b14c2c6301f0603551d2304183016801479b459e67bb6e5e40173800888c81a58f6e99b6e303206082b0601050507010104
(20) Message-Authenticator = 0x00000000000000000000000000000000
(20) State = 0xe560871be3689e90aab05f7604c82849
(20) Finished request
Waking up in 4.9 seconds.
(21) Received Access-Request Id 23 from 172.16.5.252:60626 to 172.16.8.20:1812 length 399
(21) User-Name = "sebastian"
(21) Service-Type = Framed-User
(21) Cisco-AVPair = "service-type=Framed"
(21) Framed-MTU = 1485
(21) EAP-Message = 0x020800061900
(21) Message-Authenticator = 0x2215f9dee3f12c61bc9af8f567f376bc
(21) Cisco-AVPair = "audit-session-id=FC0510AC0008D39DEFB40307"
(21) Cisco-AVPair = "method=dot1x"
(21) Cisco-AVPair = "client-iif-id=100927089"
(21) Cisco-AVPair = "vlan-id=10"
(21) NAS-IP-Address = 172.16.5.252
(21) NAS-Port-Type = Wireless-802.11
(21) NAS-Port = 518
(21) State = 0xe560871be3689e90aab05f7604c82849
(21) Cisco-AVPair = "cisco-wlan-ssid=WTest"
(21) Cisco-AVPair = "wlan-profile-name=WTest"
(21) Called-Station-Id = "50-2f-a8-ce-da-20:WTest"
(21) Calling-Station-Id = "dc-39-6f-9e-dc-d1"
(21) Airespace-Wlan-Id = 5
(21) NAS-Identifier = "wlc-rz"
(21) WLAN-Group-Cipher = 1027076
(21) WLAN-Pairwise-Cipher = 1027076
(21) WLAN-AKM-Suite = 1027073
(21) WLAN-Group-Mgmt-Cipher = 1027078
(21) Restoring &session-state
(21) &session-state:Framed-MTU = 1004
(21) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(21) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(21) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(21) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(21) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(21) # Executing section authorize from file /etc/freeradius/sites-enabled/school_8021x
(21) authorize {
(21) policy filter_username {
(21) if (&User-Name) {
(21) if (&User-Name) -> TRUE
(21) if (&User-Name) {
(21) if (&User-Name =~ / /) {
(21) if (&User-Name =~ / /) -> FALSE
(21) if (&User-Name =~ /@[^@]*@/ ) {
(21) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(21) if (&User-Name =~ /\.\./ ) {
(21) if (&User-Name =~ /\.\./ ) -> FALSE
(21) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) {
(21) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE
(21) if (&User-Name =~ /\.$/) {
(21) if (&User-Name =~ /\.$/) -> FALSE
(21) if (&User-Name =~ /@\./) {
(21) if (&User-Name =~ /@\./) -> FALSE
(21) } # if (&User-Name) = notfound
(21) } # policy filter_username = notfound
(21) [preprocess] = ok
(21) [digest] = noop
(21) suffix: Checking for suffix after "@"
(21) suffix: No '@' in User-Name = "sebastian", looking up realm NULL
(21) suffix: Found realm "NULL"
(21) suffix: Adding Stripped-User-Name = "sebastian"
(21) suffix: Adding Realm = "NULL"
(21) suffix: Authentication realm is LOCAL
(21) [suffix] = ok
(21) [chap] = noop
(21) sql: EXPAND %{%{Stripped-User-Name}:-%{%{User-Name}:-DEFAULT}}
(21) sql: --> sebastian
(21) sql: SQL-User-Name set to 'sebastian'
rlm_sql (sql): Reserved connection (4)
(21) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id
(21) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'sebastian' ORDER BY id
(21) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'sebastian' ORDER BY id
(21) sql: WARNING: User not found in radcheck table.
(21) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority
(21) sql: --> SELECT groupname FROM radusergroup WHERE username = 'sebastian' ORDER BY priority
(21) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'sebastian' ORDER BY priority
(21) sql: User not found in any groups
rlm_sql (sql): Released connection (4)
(21) [sql] = notfound
(21) [mschap] = noop
(21) eap: Peer sent EAP Response (code 2) ID 8 length 6
(21) eap: Continuing tunnel setup
(21) [eap] = ok
(21) } # authorize = ok
(21) Found Auth-Type = eap
(21) # Executing group from file /etc/freeradius/sites-enabled/school_8021x
(21) authenticate {
(21) eap: Expiring EAP session with state 0xe560871be3689e90
(21) eap: Finished EAP session with state 0xe560871be3689e90
(21) eap: Previous EAP request found for state 0xe560871be3689e90, released from the list
(21) eap: Peer sent packet with method EAP PEAP (25)
(21) eap: Calling submodule eap_peap to process data
(21) eap_peap: (TLS) Peer ACKed our handshake fragment
(21) eap: Sending EAP Request (code 1) ID 9 length 1010
(21) eap: EAP session adding &reply:State = 0xe560871be2699e90
(21) [eap] = handled
(21) } # authenticate = handled
(21) Using Post-Auth-Type Challenge
(21) # Executing group from file /etc/freeradius/sites-enabled/school_8021x
(21) Challenge { ... } # empty sub-section is ignored
(21) session-state: Saving cached attributes
(21) Framed-MTU = 1004
(21) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(21) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(21) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(21) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(21) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(21) Sent Access-Challenge Id 23 from 172.16.8.20:1812 to 172.16.5.252:60626 length 1074
(21) EAP-Message = 0x010903f219404eca979cb45bc073a8abb847c200051a30820516308202fea0030201020211008a792250abe52c526ceecf7fc942dd62300d06092a864886f70d01010b0500304f310b300906035504061302555331293027060355040a1320496e7465726e65742053656375726974792052657365617263682047726f7570311530130603550403130c4953524720526f6f74205831301e170d3230303930343030303030305a170d3235303931353136303030305a3032310b300906035504061302555331163014060355040a130d4c6574277320456e6372797074310b300906035504031302523430820122300d06092a864886f70d01010105000382010f003082010a0282010100b328dc7729d3e791bef3b70a00c7fbf2550b2522635336afe90820df0daf283ecdc6ab57b69da42519a5d2326d49a608b9c72fa19b93c520406b843120a28e30602560efd91a893f1f6971b2daea3f7341c4906f66fd7d9e58d877cfcd597544c9a10a7b9f3f1b0e3a666fb6
(21) Message-Authenticator = 0x00000000000000000000000000000000
(21) State = 0xe560871be2699e90aab05f7604c82849
(21) Finished request
Waking up in 4.9 seconds.
(22) Received Access-Request Id 31 from 172.16.5.252:60626 to 172.16.8.20:1812 length 399
(22) User-Name = "sebastian"
(22) Service-Type = Framed-User
(22) Cisco-AVPair = "service-type=Framed"
(22) Framed-MTU = 1485
(22) EAP-Message = 0x020900061900
(22) Message-Authenticator = 0x9da42ee279308e283f5ee8d36b028c27
(22) Cisco-AVPair = "audit-session-id=FC0510AC0008D39DEFB40307"
(22) Cisco-AVPair = "method=dot1x"
(22) Cisco-AVPair = "client-iif-id=100927089"
(22) Cisco-AVPair = "vlan-id=10"
(22) NAS-IP-Address = 172.16.5.252
(22) NAS-Port-Type = Wireless-802.11
(22) NAS-Port = 518
(22) State = 0xe560871be2699e90aab05f7604c82849
(22) Cisco-AVPair = "cisco-wlan-ssid=WTest"
(22) Cisco-AVPair = "wlan-profile-name=WTest"
(22) Called-Station-Id = "50-2f-a8-ce-da-20:WTest"
(22) Calling-Station-Id = "dc-39-6f-9e-dc-d1"
(22) Airespace-Wlan-Id = 5
(22) NAS-Identifier = "wlc-rz"
(22) WLAN-Group-Cipher = 1027076
(22) WLAN-Pairwise-Cipher = 1027076
(22) WLAN-AKM-Suite = 1027073
(22) WLAN-Group-Mgmt-Cipher = 1027078
(22) Restoring &session-state
(22) &session-state:Framed-MTU = 1004
(22) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(22) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(22) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(22) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(22) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(22) # Executing section authorize from file /etc/freeradius/sites-enabled/school_8021x
(22) authorize {
(22) policy filter_username {
(22) if (&User-Name) {
(22) if (&User-Name) -> TRUE
(22) if (&User-Name) {
(22) if (&User-Name =~ / /) {
(22) if (&User-Name =~ / /) -> FALSE
(22) if (&User-Name =~ /@[^@]*@/ ) {
(22) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(22) if (&User-Name =~ /\.\./ ) {
(22) if (&User-Name =~ /\.\./ ) -> FALSE
(22) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) {
(22) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE
(22) if (&User-Name =~ /\.$/) {
(22) if (&User-Name =~ /\.$/) -> FALSE
(22) if (&User-Name =~ /@\./) {
(22) if (&User-Name =~ /@\./) -> FALSE
(22) } # if (&User-Name) = notfound
(22) } # policy filter_username = notfound
(22) [preprocess] = ok
(22) [digest] = noop
(22) suffix: Checking for suffix after "@"
(22) suffix: No '@' in User-Name = "sebastian", looking up realm NULL
(22) suffix: Found realm "NULL"
(22) suffix: Adding Stripped-User-Name = "sebastian"
(22) suffix: Adding Realm = "NULL"
(22) suffix: Authentication realm is LOCAL
(22) [suffix] = ok
(22) [chap] = noop
(22) sql: EXPAND %{%{Stripped-User-Name}:-%{%{User-Name}:-DEFAULT}}
(22) sql: --> sebastian
(22) sql: SQL-User-Name set to 'sebastian'
rlm_sql (sql): Reserved connection (8)
(22) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id
(22) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'sebastian' ORDER BY id
(22) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'sebastian' ORDER BY id
(22) sql: WARNING: User not found in radcheck table.
(22) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority
(22) sql: --> SELECT groupname FROM radusergroup WHERE username = 'sebastian' ORDER BY priority
(22) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'sebastian' ORDER BY priority
(22) sql: User not found in any groups
rlm_sql (sql): Released connection (8)
(22) [sql] = notfound
(22) [mschap] = noop
(22) eap: Peer sent EAP Response (code 2) ID 9 length 6
(22) eap: Continuing tunnel setup
(22) [eap] = ok
(22) } # authorize = ok
(22) Found Auth-Type = eap
(22) # Executing group from file /etc/freeradius/sites-enabled/school_8021x
(22) authenticate {
(22) eap: Expiring EAP session with state 0xe560871be2699e90
(22) eap: Finished EAP session with state 0xe560871be2699e90
(22) eap: Previous EAP request found for state 0xe560871be2699e90, released from the list
(22) eap: Peer sent packet with method EAP PEAP (25)
(22) eap: Calling submodule eap_peap to process data
(22) eap_peap: (TLS) Peer ACKed our handshake fragment
(22) eap: Sending EAP Request (code 1) ID 10 length 671
(22) eap: EAP session adding &reply:State = 0xe560871bed6a9e90
(22) [eap] = handled
(22) } # authenticate = handled
(22) Using Post-Auth-Type Challenge
(22) # Executing group from file /etc/freeradius/sites-enabled/school_8021x
(22) Challenge { ... } # empty sub-section is ignored
(22) session-state: Saving cached attributes
(22) Framed-MTU = 1004
(22) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(22) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(22) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(22) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(22) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(22) Sent Access-Challenge Id 31 from 172.16.8.20:1812 to 172.16.5.252:60626 length 733
(22) EAP-Message = 0x010a029f1900a23c4b2ebe6fce241cfecfb4ef92e0893c47693b65e325135266c418bf3d953ceb4625c13f3fa8e613a021d5c838e1bfcaaeb5b7f6427525dd257cead876235410135e2cd32ec27401dc1e4c37b0011e606930080ef830ef9516d9d86dff41d8904e872c966f9d3ceeb1b38adbb9313016e355fd0f04de5c483e6b6e2d01e86df98d4c8a89c75306b88fb141fedacddc59dbfebf74fb83fae9911354811c8ec79448c1cec3acaabf5d3f1ff770ffcaf61035229dc0415f7a3d0cbdd269daab6a090acbde87b4c88b72a30c1803e6d20b62d5be9f6e7bce76bd26ac8548297e67cce78664e45a60ba120f80bcaaf153ed4f949ba0cca37e9c54336c3e6905e7be7fb370b60b11a208f42a5713e07cd4a1fb608f7765efd3894d7aec3a806f3d0e53a11eea052919663e7a26fa0c2a873dd95cc7f34df9af8eb06893308808160303014d0c0001490300174104f57097865ea3200b6998cacea7941a6288b517096435b9fedbf27eb1d99d420787c19fe46c
(22) Message-Authenticator = 0x00000000000000000000000000000000
(22) State = 0xe560871bed6a9e90aab05f7604c82849
(22) Finished request
Waking up in 4.9 seconds.
(23) Received Access-Request Id 39 from 172.16.5.252:60626 to 172.16.8.20:1812 length 529
(23) User-Name = "sebastian"
(23) Service-Type = Framed-User
(23) Cisco-AVPair = "service-type=Framed"
(23) Framed-MTU = 1485
(23) EAP-Message = 0x020a008819800000007e1603030046100000424104db4f196d77a926f47d6c7b66ec0be1e10133e24313e7544afd320fd1385917c315f3e1673aa4ca900541e6347e2f2b3d7646414dbb51823977af9bf1047b8cea140303000101160303002800000000000000001e0dee3b20539627f82a010c8e59bab33e8f7eb35769ca5ebd10675eea9891d2
(23) Message-Authenticator = 0x4e0c2dd8e9e5c7318ad1467e5229c5e7
(23) Cisco-AVPair = "audit-session-id=FC0510AC0008D39DEFB40307"
(23) Cisco-AVPair = "method=dot1x"
(23) Cisco-AVPair = "client-iif-id=100927089"
(23) Cisco-AVPair = "vlan-id=10"
(23) NAS-IP-Address = 172.16.5.252
(23) NAS-Port-Type = Wireless-802.11
(23) NAS-Port = 518
(23) State = 0xe560871bed6a9e90aab05f7604c82849
(23) Cisco-AVPair = "cisco-wlan-ssid=WTest"
(23) Cisco-AVPair = "wlan-profile-name=WTest"
(23) Called-Station-Id = "50-2f-a8-ce-da-20:WTest"
(23) Calling-Station-Id = "dc-39-6f-9e-dc-d1"
(23) Airespace-Wlan-Id = 5
(23) NAS-Identifier = "wlc-rz"
(23) WLAN-Group-Cipher = 1027076
(23) WLAN-Pairwise-Cipher = 1027076
(23) WLAN-AKM-Suite = 1027073
(23) WLAN-Group-Mgmt-Cipher = 1027078
(23) Restoring &session-state
(23) &session-state:Framed-MTU = 1004
(23) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(23) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(23) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(23) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(23) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(23) # Executing section authorize from file /etc/freeradius/sites-enabled/school_8021x
(23) authorize {
(23) policy filter_username {
(23) if (&User-Name) {
(23) if (&User-Name) -> TRUE
(23) if (&User-Name) {
(23) if (&User-Name =~ / /) {
(23) if (&User-Name =~ / /) -> FALSE
(23) if (&User-Name =~ /@[^@]*@/ ) {
(23) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(23) if (&User-Name =~ /\.\./ ) {
(23) if (&User-Name =~ /\.\./ ) -> FALSE
(23) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) {
(23) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE
(23) if (&User-Name =~ /\.$/) {
(23) if (&User-Name =~ /\.$/) -> FALSE
(23) if (&User-Name =~ /@\./) {
(23) if (&User-Name =~ /@\./) -> FALSE
(23) } # if (&User-Name) = notfound
(23) } # policy filter_username = notfound
(23) [preprocess] = ok
(23) [digest] = noop
(23) suffix: Checking for suffix after "@"
(23) suffix: No '@' in User-Name = "sebastian", looking up realm NULL
(23) suffix: Found realm "NULL"
(23) suffix: Adding Stripped-User-Name = "sebastian"
(23) suffix: Adding Realm = "NULL"
(23) suffix: Authentication realm is LOCAL
(23) [suffix] = ok
(23) [chap] = noop
(23) sql: EXPAND %{%{Stripped-User-Name}:-%{%{User-Name}:-DEFAULT}}
(23) sql: --> sebastian
(23) sql: SQL-User-Name set to 'sebastian'
rlm_sql (sql): Reserved connection (4)
(23) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id
(23) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'sebastian' ORDER BY id
(23) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'sebastian' ORDER BY id
(23) sql: WARNING: User not found in radcheck table.
(23) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority
(23) sql: --> SELECT groupname FROM radusergroup WHERE username = 'sebastian' ORDER BY priority
(23) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'sebastian' ORDER BY priority
(23) sql: User not found in any groups
rlm_sql (sql): Released connection (4)
(23) [sql] = notfound
(23) [mschap] = noop
(23) eap: Peer sent EAP Response (code 2) ID 10 length 136
(23) eap: Continuing tunnel setup
(23) [eap] = ok
(23) } # authorize = ok
(23) Found Auth-Type = eap
(23) # Executing group from file /etc/freeradius/sites-enabled/school_8021x
(23) authenticate {
(23) eap: Expiring EAP session with state 0xe560871bed6a9e90
(23) eap: Finished EAP session with state 0xe560871bed6a9e90
(23) eap: Previous EAP request found for state 0xe560871bed6a9e90, released from the list
(23) eap: Peer sent packet with method EAP PEAP (25)
(23) eap: Calling submodule eap_peap to process data
(23) eap_peap: (TLS) EAP Peer says that the final record size will be 126 bytes
(23) eap_peap: (TLS) EAP Got all data (126 bytes)
(23) eap_peap: (TLS) Handshake state - Server SSLv3/TLS write server done
(23) eap_peap: (TLS) recv TLS 1.2 Handshake, ClientKeyExchange
(23) eap_peap: (TLS) Handshake state - Server SSLv3/TLS read client key exchange
(23) eap_peap: (TLS) Handshake state - Server SSLv3/TLS read change cipher spec
(23) eap_peap: (TLS) recv TLS 1.2 Handshake, Finished
(23) eap_peap: (TLS) Handshake state - Server SSLv3/TLS read finished
(23) eap_peap: (TLS) send TLS 1.2 ChangeCipherSpec
(23) eap_peap: (TLS) Handshake state - Server SSLv3/TLS write change cipher spec
(23) eap_peap: (TLS) send TLS 1.2 Handshake, Finished
(23) eap_peap: (TLS) Handshake state - Server SSLv3/TLS write finished
(23) eap_peap: (TLS) Handshake state - SSL negotiation finished successfully
(23) eap_peap: (TLS) Connection Established
(23) eap_peap: TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(23) eap_peap: TLS-Session-Version = "TLS 1.2"
(23) eap: Sending EAP Request (code 1) ID 11 length 57
(23) eap: EAP session adding &reply:State = 0xe560871bec6b9e90
(23) [eap] = handled
(23) } # authenticate = handled
(23) Using Post-Auth-Type Challenge
(23) # Executing group from file /etc/freeradius/sites-enabled/school_8021x
(23) Challenge { ... } # empty sub-section is ignored
(23) session-state: Saving cached attributes
(23) Framed-MTU = 1004
(23) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(23) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(23) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(23) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(23) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(23) TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, ClientKeyExchange"
(23) TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, Finished"
(23) TLS-Session-Information = "(TLS) send TLS 1.2 ChangeCipherSpec"
(23) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Finished"
(23) TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(23) TLS-Session-Version = "TLS 1.2"
(23) Sent Access-Challenge Id 39 from 172.16.8.20:1812 to 172.16.5.252:60626 length 115
(23) EAP-Message = 0x010b003919001403030001011603030028c047004377c1766b7135758ec6eac6ff2d0334775b209ebe56792f100d74b6a271f42ea6e613b31f
(23) Message-Authenticator = 0x00000000000000000000000000000000
(23) State = 0xe560871bec6b9e90aab05f7604c82849
(23) Finished request
Waking up in 4.9 seconds.
(24) Received Access-Request Id 47 from 172.16.5.252:60626 to 172.16.8.20:1812 length 399
(24) User-Name = "sebastian"
(24) Service-Type = Framed-User
(24) Cisco-AVPair = "service-type=Framed"
(24) Framed-MTU = 1485
(24) EAP-Message = 0x020b00061900
(24) Message-Authenticator = 0xd9b380cd86349bb57ed1c4d465d00abd
(24) Cisco-AVPair = "audit-session-id=FC0510AC0008D39DEFB40307"
(24) Cisco-AVPair = "method=dot1x"
(24) Cisco-AVPair = "client-iif-id=100927089"
(24) Cisco-AVPair = "vlan-id=10"
(24) NAS-IP-Address = 172.16.5.252
(24) NAS-Port-Type = Wireless-802.11
(24) NAS-Port = 518
(24) State = 0xe560871bec6b9e90aab05f7604c82849
(24) Cisco-AVPair = "cisco-wlan-ssid=WTest"
(24) Cisco-AVPair = "wlan-profile-name=WTest"
(24) Called-Station-Id = "50-2f-a8-ce-da-20:WTest"
(24) Calling-Station-Id = "dc-39-6f-9e-dc-d1"
(24) Airespace-Wlan-Id = 5
(24) NAS-Identifier = "wlc-rz"
(24) WLAN-Group-Cipher = 1027076
(24) WLAN-Pairwise-Cipher = 1027076
(24) WLAN-AKM-Suite = 1027073
(24) WLAN-Group-Mgmt-Cipher = 1027078
(24) Restoring &session-state
(24) &session-state:Framed-MTU = 1004
(24) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(24) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(24) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(24) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(24) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(24) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, ClientKeyExchange"
(24) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, Finished"
(24) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 ChangeCipherSpec"
(24) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Finished"
(24) &session-state:TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(24) &session-state:TLS-Session-Version = "TLS 1.2"
(24) # Executing section authorize from file /etc/freeradius/sites-enabled/school_8021x
(24) authorize {
(24) policy filter_username {
(24) if (&User-Name) {
(24) if (&User-Name) -> TRUE
(24) if (&User-Name) {
(24) if (&User-Name =~ / /) {
(24) if (&User-Name =~ / /) -> FALSE
(24) if (&User-Name =~ /@[^@]*@/ ) {
(24) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(24) if (&User-Name =~ /\.\./ ) {
(24) if (&User-Name =~ /\.\./ ) -> FALSE
(24) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) {
(24) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE
(24) if (&User-Name =~ /\.$/) {
(24) if (&User-Name =~ /\.$/) -> FALSE
(24) if (&User-Name =~ /@\./) {
(24) if (&User-Name =~ /@\./) -> FALSE
(24) } # if (&User-Name) = notfound
(24) } # policy filter_username = notfound
(24) [preprocess] = ok
(24) [digest] = noop
(24) suffix: Checking for suffix after "@"
(24) suffix: No '@' in User-Name = "sebastian", looking up realm NULL
(24) suffix: Found realm "NULL"
(24) suffix: Adding Stripped-User-Name = "sebastian"
(24) suffix: Adding Realm = "NULL"
(24) suffix: Authentication realm is LOCAL
(24) [suffix] = ok
(24) [chap] = noop
(24) sql: EXPAND %{%{Stripped-User-Name}:-%{%{User-Name}:-DEFAULT}}
(24) sql: --> sebastian
(24) sql: SQL-User-Name set to 'sebastian'
rlm_sql (sql): Reserved connection (8)
(24) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id
(24) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'sebastian' ORDER BY id
(24) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'sebastian' ORDER BY id
(24) sql: WARNING: User not found in radcheck table.
(24) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority
(24) sql: --> SELECT groupname FROM radusergroup WHERE username = 'sebastian' ORDER BY priority
(24) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'sebastian' ORDER BY priority
(24) sql: User not found in any groups
rlm_sql (sql): Released connection (8)
Need 1 more connections to reach min connections (3)
Need more connections to reach 10 spares
rlm_sql (sql): Opening additional connection (9), 1 of 30 pending slots used
rlm_sql_mysql: Starting connect to MySQL server
rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 10.11.4-MariaDB-1~deb12u1, protocol version 10
(24) [sql] = notfound
(24) [mschap] = noop
(24) eap: Peer sent EAP Response (code 2) ID 11 length 6
(24) eap: Continuing tunnel setup
(24) [eap] = ok
(24) } # authorize = ok
(24) Found Auth-Type = eap
(24) # Executing group from file /etc/freeradius/sites-enabled/school_8021x
(24) authenticate {
(24) eap: Expiring EAP session with state 0xe560871bec6b9e90
(24) eap: Finished EAP session with state 0xe560871bec6b9e90
(24) eap: Previous EAP request found for state 0xe560871bec6b9e90, released from the list
(24) eap: Peer sent packet with method EAP PEAP (25)
(24) eap: Calling submodule eap_peap to process data
(24) eap_peap: (TLS) Peer ACKed our handshake fragment. handshake is finished
(24) eap_peap: Session established. Decoding tunneled attributes
(24) eap_peap: PEAP state TUNNEL ESTABLISHED
(24) eap: Sending EAP Request (code 1) ID 12 length 40
(24) eap: EAP session adding &reply:State = 0xe560871bef6c9e90
(24) [eap] = handled
(24) } # authenticate = handled
(24) Using Post-Auth-Type Challenge
(24) # Executing group from file /etc/freeradius/sites-enabled/school_8021x
(24) Challenge { ... } # empty sub-section is ignored
(24) session-state: Saving cached attributes
(24) Framed-MTU = 1004
(24) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(24) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(24) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(24) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(24) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(24) TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, ClientKeyExchange"
(24) TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, Finished"
(24) TLS-Session-Information = "(TLS) send TLS 1.2 ChangeCipherSpec"
(24) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Finished"
(24) TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(24) TLS-Session-Version = "TLS 1.2"
(24) Sent Access-Challenge Id 47 from 172.16.8.20:1812 to 172.16.5.252:60626 length 98
(24) EAP-Message = 0x010c00281900170303001dc047004377c1766cacad98624d834e47f2714205f82feba1e277a1ca05
(24) Message-Authenticator = 0x00000000000000000000000000000000
(24) State = 0xe560871bef6c9e90aab05f7604c82849
(24) Finished request
Waking up in 3.7 seconds.
(25) Received Access-Request Id 55 from 172.16.5.252:60626 to 172.16.8.20:1812 length 437
(25) User-Name = "sebastian"
(25) Service-Type = Framed-User
(25) Cisco-AVPair = "service-type=Framed"
(25) Framed-MTU = 1485
(25) EAP-Message = 0x020c002c190017030300210000000000000001609d1883a039d29fcd66f1c9c74023e9fca25775d814adcddc
(25) Message-Authenticator = 0x407568d3211a8ef578de7271e2c2ba0d
(25) Cisco-AVPair = "audit-session-id=FC0510AC0008D39DEFB40307"
(25) Cisco-AVPair = "method=dot1x"
(25) Cisco-AVPair = "client-iif-id=100927089"
(25) Cisco-AVPair = "vlan-id=10"
(25) NAS-IP-Address = 172.16.5.252
(25) NAS-Port-Type = Wireless-802.11
(25) NAS-Port = 518
(25) State = 0xe560871bef6c9e90aab05f7604c82849
(25) Cisco-AVPair = "cisco-wlan-ssid=WTest"
(25) Cisco-AVPair = "wlan-profile-name=WTest"
(25) Called-Station-Id = "50-2f-a8-ce-da-20:WTest"
(25) Calling-Station-Id = "dc-39-6f-9e-dc-d1"
(25) Airespace-Wlan-Id = 5
(25) NAS-Identifier = "wlc-rz"
(25) WLAN-Group-Cipher = 1027076
(25) WLAN-Pairwise-Cipher = 1027076
(25) WLAN-AKM-Suite = 1027073
(25) WLAN-Group-Mgmt-Cipher = 1027078
(25) Restoring &session-state
(25) &session-state:Framed-MTU = 1004
(25) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(25) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(25) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(25) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(25) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(25) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, ClientKeyExchange"
(25) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, Finished"
(25) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 ChangeCipherSpec"
(25) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Finished"
(25) &session-state:TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(25) &session-state:TLS-Session-Version = "TLS 1.2"
(25) # Executing section authorize from file /etc/freeradius/sites-enabled/school_8021x
(25) authorize {
(25) policy filter_username {
(25) if (&User-Name) {
(25) if (&User-Name) -> TRUE
(25) if (&User-Name) {
(25) if (&User-Name =~ / /) {
(25) if (&User-Name =~ / /) -> FALSE
(25) if (&User-Name =~ /@[^@]*@/ ) {
(25) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(25) if (&User-Name =~ /\.\./ ) {
(25) if (&User-Name =~ /\.\./ ) -> FALSE
(25) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) {
(25) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE
(25) if (&User-Name =~ /\.$/) {
(25) if (&User-Name =~ /\.$/) -> FALSE
(25) if (&User-Name =~ /@\./) {
(25) if (&User-Name =~ /@\./) -> FALSE
(25) } # if (&User-Name) = notfound
(25) } # policy filter_username = notfound
(25) [preprocess] = ok
(25) [digest] = noop
(25) suffix: Checking for suffix after "@"
(25) suffix: No '@' in User-Name = "sebastian", looking up realm NULL
(25) suffix: Found realm "NULL"
(25) suffix: Adding Stripped-User-Name = "sebastian"
(25) suffix: Adding Realm = "NULL"
(25) suffix: Authentication realm is LOCAL
(25) [suffix] = ok
(25) [chap] = noop
(25) sql: EXPAND %{%{Stripped-User-Name}:-%{%{User-Name}:-DEFAULT}}
(25) sql: --> sebastian
(25) sql: SQL-User-Name set to 'sebastian'
rlm_sql (sql): Reserved connection (4)
(25) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id
(25) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'sebastian' ORDER BY id
(25) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'sebastian' ORDER BY id
(25) sql: WARNING: User not found in radcheck table.
(25) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority
(25) sql: --> SELECT groupname FROM radusergroup WHERE username = 'sebastian' ORDER BY priority
(25) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'sebastian' ORDER BY priority
(25) sql: User not found in any groups
rlm_sql (sql): Released connection (4)
(25) [sql] = notfound
(25) [mschap] = noop
(25) eap: Peer sent EAP Response (code 2) ID 12 length 44
(25) eap: Continuing tunnel setup
(25) [eap] = ok
(25) } # authorize = ok
(25) Found Auth-Type = eap
(25) # Executing group from file /etc/freeradius/sites-enabled/school_8021x
(25) authenticate {
(25) eap: Expiring EAP session with state 0xe560871bef6c9e90
(25) eap: Finished EAP session with state 0xe560871bef6c9e90
(25) eap: Previous EAP request found for state 0xe560871bef6c9e90, released from the list
(25) eap: Peer sent packet with method EAP PEAP (25)
(25) eap: Calling submodule eap_peap to process data
(25) eap_peap: (TLS) EAP Done initial handshake
(25) eap_peap: Session established. Decoding tunneled attributes
(25) eap_peap: PEAP state WAITING FOR INNER IDENTITY
(25) eap_peap: Identity - sebastian
(25) eap_peap: Got inner identity 'sebastian'
(25) eap_peap: Setting default EAP type for tunneled EAP session
(25) eap_peap: Got tunneled request
(25) eap_peap: EAP-Message = 0x020c000d017365737473656261
(25) eap_peap: Setting User-Name to sebastian
(25) eap_peap: Sending tunneled request to inner-tunnel
(25) eap_peap: EAP-Message = 0x020c000d017365737473656261
(25) eap_peap: FreeRADIUS-Proxied-To = 127.0.0.1
(25) eap_peap: User-Name = "sebastian"
(25) eap_peap: Service-Type = Framed-User
(25) eap_peap: Cisco-AVPair = "service-type=Framed"
(25) eap_peap: Cisco-AVPair = "audit-session-id=FC0510AC0008D39DEFB40307"
(25) eap_peap: Cisco-AVPair = "method=dot1x"
(25) eap_peap: Cisco-AVPair = "client-iif-id=100927089"
(25) eap_peap: Cisco-AVPair = "vlan-id=10"
(25) eap_peap: Cisco-AVPair = "cisco-wlan-ssid=WTest"
(25) eap_peap: Cisco-AVPair = "wlan-profile-name=WTest"
(25) eap_peap: Framed-MTU = 1485
(25) eap_peap: NAS-IP-Address = 172.16.5.252
(25) eap_peap: NAS-Port-Type = Wireless-802.11
(25) eap_peap: NAS-Port = 518
(25) eap_peap: Called-Station-Id = "50-2f-a8-ce-da-20:WTest"
(25) eap_peap: Calling-Station-Id = "dc-39-6f-9e-dc-d1"
(25) eap_peap: Airespace-Wlan-Id = 5
(25) eap_peap: NAS-Identifier = "wlc-rz"
(25) eap_peap: WLAN-Group-Cipher = 1027076
(25) eap_peap: WLAN-Pairwise-Cipher = 1027076
(25) eap_peap: WLAN-AKM-Suite = 1027073
(25) eap_peap: WLAN-Group-Mgmt-Cipher = 1027078
(25) eap_peap: Event-Timestamp = "Jan 9 2024 20:41:48 CET"
(25) Virtual server inner-tunnel received request
(25) EAP-Message = 0x020c000d017365737473656261
(25) FreeRADIUS-Proxied-To = 127.0.0.1
(25) User-Name = "sebastian"
(25) Service-Type = Framed-User
(25) Cisco-AVPair = "service-type=Framed"
(25) Cisco-AVPair = "audit-session-id=FC0510AC0008D39DEFB40307"
(25) Cisco-AVPair = "method=dot1x"
(25) Cisco-AVPair = "client-iif-id=100927089"
(25) Cisco-AVPair = "vlan-id=10"
(25) Cisco-AVPair = "cisco-wlan-ssid=WTest"
(25) Cisco-AVPair = "wlan-profile-name=WTest"
(25) Framed-MTU = 1485
(25) NAS-IP-Address = 172.16.5.252
(25) NAS-Port-Type = Wireless-802.11
(25) NAS-Port = 518
(25) Called-Station-Id = "50-2f-a8-ce-da-20:WTest"
(25) Calling-Station-Id = "dc-39-6f-9e-dc-d1"
(25) Airespace-Wlan-Id = 5
(25) NAS-Identifier = "wlc-rz"
(25) WLAN-Group-Cipher = 1027076
(25) WLAN-Pairwise-Cipher = 1027076
(25) WLAN-AKM-Suite = 1027073
(25) WLAN-Group-Mgmt-Cipher = 1027078
(25) Event-Timestamp = "Jan 9 2024 20:41:48 CET"
(25) WARNING: Outer and inner identities are the same. User privacy is compromised.
(25) server inner-tunnel {
(25) # Executing section authorize from file /etc/freeradius/sites-enabled/inner-tunnel
(25) authorize {
(25) policy filter_username {
(25) if (&User-Name) {
(25) if (&User-Name) -> TRUE
(25) if (&User-Name) {
(25) if (&User-Name =~ / /) {
(25) if (&User-Name =~ / /) -> FALSE
(25) if (&User-Name =~ /@[^@]*@/ ) {
(25) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(25) if (&User-Name =~ /\.\./ ) {
(25) if (&User-Name =~ /\.\./ ) -> FALSE
(25) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) {
(25) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE
(25) if (&User-Name =~ /\.$/) {
(25) if (&User-Name =~ /\.$/) -> FALSE
(25) if (&User-Name =~ /@\./) {
(25) if (&User-Name =~ /@\./) -> FALSE
(25) } # if (&User-Name) = notfound
(25) } # policy filter_username = notfound
(25) [chap] = noop
(25) [mschap] = noop
(25) suffix: Checking for suffix after "@"
(25) suffix: No '@' in User-Name = "sebastian", looking up realm NULL
(25) suffix: Found realm "NULL"
(25) suffix: Adding Stripped-User-Name = "sebastian"
(25) suffix: Adding Realm = "NULL"
(25) suffix: Authentication realm is LOCAL
(25) [suffix] = ok
(25) update control {
(25) &Proxy-To-Realm := LOCAL
(25) } # update control = noop
(25) eap: Peer sent EAP Response (code 2) ID 12 length 13
(25) eap: EAP-Identity reply, returning 'ok' so we can short-circuit the rest of authorize
(25) [eap] = ok
(25) } # authorize = ok
(25) Found Auth-Type = eap
(25) # Executing group from file /etc/freeradius/sites-enabled/inner-tunnel
(25) authenticate {
(25) eap: Peer sent packet with method EAP Identity (1)
(25) eap: Calling submodule eap_mschapv2 to process data
(25) eap_mschapv2: Issuing Challenge
(25) eap: Sending EAP Request (code 1) ID 13 length 50
(25) eap: EAP session adding &reply:State = 0x8327165e832a0c90
(25) [eap] = handled
(25) } # authenticate = handled
(25) } # server inner-tunnel
(25) Virtual server sending reply
(25) EAP-Message = 0x010d00321a010d002d10199b4ec9641f51b9b9100b5d6bc5990e524144495553204865696d736368756c65204c656e646572
(25) Message-Authenticator = 0x00000000000000000000000000000000
(25) State = 0x8327165e832a0c90b0f5a62095c1841e
(25) eap_peap: Got tunneled reply code 11
(25) eap_peap: EAP-Message = 0x010d00321a010d002d10199b4ec9641f51b9b9100b5d6bc5990e524144495553204865696d736368756c65204c656e646572
(25) eap_peap: Message-Authenticator = 0x00000000000000000000000000000000
(25) eap_peap: State = 0x8327165e832a0c90b0f5a62095c1841e
(25) eap_peap: Got tunneled reply RADIUS code 11
(25) eap_peap: EAP-Message = 0x010d00321a010d002d10199b4ec9641f51b9b9100b5d6bc5990e524144495553204865696d736368756c65204c656e646572
(25) eap_peap: Message-Authenticator = 0x00000000000000000000000000000000
(25) eap_peap: State = 0x8327165e832a0c90b0f5a62095c1841e
(25) eap_peap: Got tunneled Access-Challenge
(25) eap: Sending EAP Request (code 1) ID 13 length 81
(25) eap: EAP session adding &reply:State = 0xe560871bee6d9e90
(25) [eap] = handled
(25) } # authenticate = handled
(25) Using Post-Auth-Type Challenge
(25) # Executing group from file /etc/freeradius/sites-enabled/school_8021x
(25) Challenge { ... } # empty sub-section is ignored
(25) session-state: Saving cached attributes
(25) Framed-MTU = 1004
(25) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(25) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(25) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(25) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(25) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(25) TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, ClientKeyExchange"
(25) TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, Finished"
(25) TLS-Session-Information = "(TLS) send TLS 1.2 ChangeCipherSpec"
(25) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Finished"
(25) TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(25) TLS-Session-Version = "TLS 1.2"
(25) Sent Access-Challenge Id 55 from 172.16.8.20:1812 to 172.16.5.252:60626 length 139
(25) EAP-Message = 0x010d005119001703030046c047004377c1766d27a4e019c91cee23ca61418af49ad3dbe6e4c5e6f67e4a102b7136544c9bcce8c02356cd656484c3441111c590277fb152b94fa0b747b2d239bdb6d13a4a
(25) Message-Authenticator = 0x00000000000000000000000000000000
(25) State = 0xe560871bee6d9e90aab05f7604c82849
(25) Finished request
Waking up in 3.7 seconds.
(26) Received Access-Request Id 63 from 172.16.5.252:60626 to 172.16.8.20:1812 length 491
(26) User-Name = "sebastian"
(26) Service-Type = Framed-User
(26) Cisco-AVPair = "service-type=Framed"
(26) Framed-MTU = 1485
(26) EAP-Message = 0x020d0062190017030300570000000000000002e3840b480288472f68aeba58d5eee27af72a698bfffe007f49a88b2d31f72c9002bcadd439553bd08d6d11d430ec4bf1dd35b3ae837ddf677ef801f9e5e4601b16f47f37cbbe0af93b55f0e8a9e8e7
(26) Message-Authenticator = 0x5d1b51f46b09f47d56364fc133a7302d
(26) Cisco-AVPair = "audit-session-id=FC0510AC0008D39DEFB40307"
(26) Cisco-AVPair = "method=dot1x"
(26) Cisco-AVPair = "client-iif-id=100927089"
(26) Cisco-AVPair = "vlan-id=10"
(26) NAS-IP-Address = 172.16.5.252
(26) NAS-Port-Type = Wireless-802.11
(26) NAS-Port = 518
(26) State = 0xe560871bee6d9e90aab05f7604c82849
(26) Cisco-AVPair = "cisco-wlan-ssid=WTest"
(26) Cisco-AVPair = "wlan-profile-name=WTest"
(26) Called-Station-Id = "50-2f-a8-ce-da-20:WTest"
(26) Calling-Station-Id = "dc-39-6f-9e-dc-d1"
(26) Airespace-Wlan-Id = 5
(26) NAS-Identifier = "wlc-rz"
(26) WLAN-Group-Cipher = 1027076
(26) WLAN-Pairwise-Cipher = 1027076
(26) WLAN-AKM-Suite = 1027073
(26) WLAN-Group-Mgmt-Cipher = 1027078
(26) Restoring &session-state
(26) &session-state:Framed-MTU = 1004
(26) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(26) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(26) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(26) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(26) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(26) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, ClientKeyExchange"
(26) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, Finished"
(26) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 ChangeCipherSpec"
(26) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Finished"
(26) &session-state:TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(26) &session-state:TLS-Session-Version = "TLS 1.2"
(26) # Executing section authorize from file /etc/freeradius/sites-enabled/school_8021x
(26) authorize {
(26) policy filter_username {
(26) if (&User-Name) {
(26) if (&User-Name) -> TRUE
(26) if (&User-Name) {
(26) if (&User-Name =~ / /) {
(26) if (&User-Name =~ / /) -> FALSE
(26) if (&User-Name =~ /@[^@]*@/ ) {
(26) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(26) if (&User-Name =~ /\.\./ ) {
(26) if (&User-Name =~ /\.\./ ) -> FALSE
(26) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) {
(26) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE
(26) if (&User-Name =~ /\.$/) {
(26) if (&User-Name =~ /\.$/) -> FALSE
(26) if (&User-Name =~ /@\./) {
(26) if (&User-Name =~ /@\./) -> FALSE
(26) } # if (&User-Name) = notfound
(26) } # policy filter_username = notfound
(26) [preprocess] = ok
(26) [digest] = noop
(26) suffix: Checking for suffix after "@"
(26) suffix: No '@' in User-Name = "sebastian", looking up realm NULL
(26) suffix: Found realm "NULL"
(26) suffix: Adding Stripped-User-Name = "sebastian"
(26) suffix: Adding Realm = "NULL"
(26) suffix: Authentication realm is LOCAL
(26) [suffix] = ok
(26) [chap] = noop
(26) sql: EXPAND %{%{Stripped-User-Name}:-%{%{User-Name}:-DEFAULT}}
(26) sql: --> sebastian
(26) sql: SQL-User-Name set to 'sebastian'
rlm_sql (sql): Reserved connection (8)
(26) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id
(26) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'sebastian' ORDER BY id
(26) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'sebastian' ORDER BY id
(26) sql: WARNING: User not found in radcheck table.
(26) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority
(26) sql: --> SELECT groupname FROM radusergroup WHERE username = 'sebastian' ORDER BY priority
(26) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'sebastian' ORDER BY priority
(26) sql: User not found in any groups
rlm_sql (sql): Released connection (8)
(26) [sql] = notfound
(26) [mschap] = noop
(26) eap: Peer sent EAP Response (code 2) ID 13 length 98
(26) eap: Continuing tunnel setup
(26) [eap] = ok
(26) } # authorize = ok
(26) Found Auth-Type = eap
(26) # Executing group from file /etc/freeradius/sites-enabled/school_8021x
(26) authenticate {
(26) eap: Expiring EAP session with state 0x8327165e832a0c90
(26) eap: Finished EAP session with state 0xe560871bee6d9e90
(26) eap: Previous EAP request found for state 0xe560871bee6d9e90, released from the list
(26) eap: Peer sent packet with method EAP PEAP (25)
(26) eap: Calling submodule eap_peap to process data
(26) eap_peap: (TLS) EAP Done initial handshake
(26) eap_peap: Session established. Decoding tunneled attributes
(26) eap_peap: PEAP state phase2
(26) eap_peap: EAP method MSCHAPv2 (26)
(26) eap_peap: Got tunneled request
(26) eap_peap: EAP-Message = 0x020d00431a020d003e318277a18f1c7e8b906fe3265a9b5070f200000000000000006453fe0e62ca01825fd5b69944963d038d44d0939e728322007365737473656261
(26) eap_peap: Setting User-Name to sebastian
(26) eap_peap: Sending tunneled request to inner-tunnel
(26) eap_peap: EAP-Message = 0x020d00431a020d003e318277a18f1c7e8b906fe3265a9b5070f200000000000000006453fe0e62ca01825fd5b69944963d038d44d0939e728322007365737473656261
(26) eap_peap: FreeRADIUS-Proxied-To = 127.0.0.1
(26) eap_peap: User-Name = "sebastian"
(26) eap_peap: State = 0x8327165e832a0c90b0f5a62095c1841e
(26) eap_peap: Service-Type = Framed-User
(26) eap_peap: Cisco-AVPair = "service-type=Framed"
(26) eap_peap: Cisco-AVPair = "audit-session-id=FC0510AC0008D39DEFB40307"
(26) eap_peap: Cisco-AVPair = "method=dot1x"
(26) eap_peap: Cisco-AVPair = "client-iif-id=100927089"
(26) eap_peap: Cisco-AVPair = "vlan-id=10"
(26) eap_peap: Cisco-AVPair = "cisco-wlan-ssid=WTest"
(26) eap_peap: Cisco-AVPair = "wlan-profile-name=WTest"
(26) eap_peap: Framed-MTU = 1485
(26) eap_peap: NAS-IP-Address = 172.16.5.252
(26) eap_peap: NAS-Port-Type = Wireless-802.11
(26) eap_peap: NAS-Port = 518
(26) eap_peap: Called-Station-Id = "50-2f-a8-ce-da-20:WTest"
(26) eap_peap: Calling-Station-Id = "dc-39-6f-9e-dc-d1"
(26) eap_peap: Airespace-Wlan-Id = 5
(26) eap_peap: NAS-Identifier = "wlc-rz"
(26) eap_peap: WLAN-Group-Cipher = 1027076
(26) eap_peap: WLAN-Pairwise-Cipher = 1027076
(26) eap_peap: WLAN-AKM-Suite = 1027073
(26) eap_peap: WLAN-Group-Mgmt-Cipher = 1027078
(26) eap_peap: Event-Timestamp = "Jan 9 2024 20:41:48 CET"
(26) Virtual server inner-tunnel received request
(26) EAP-Message = 0x020d00431a020d003e318277a18f1c7e8b906fe3265a9b5070f200000000000000006453fe0e62ca01825fd5b69944963d038d44d0939e728322007365737473656261
(26) FreeRADIUS-Proxied-To = 127.0.0.1
(26) User-Name = "sebastian"
(26) State = 0x8327165e832a0c90b0f5a62095c1841e
(26) Service-Type = Framed-User
(26) Cisco-AVPair = "service-type=Framed"
(26) Cisco-AVPair = "audit-session-id=FC0510AC0008D39DEFB40307"
(26) Cisco-AVPair = "method=dot1x"
(26) Cisco-AVPair = "client-iif-id=100927089"
(26) Cisco-AVPair = "vlan-id=10"
(26) Cisco-AVPair = "cisco-wlan-ssid=WTest"
(26) Cisco-AVPair = "wlan-profile-name=WTest"
(26) Framed-MTU = 1485
(26) NAS-IP-Address = 172.16.5.252
(26) NAS-Port-Type = Wireless-802.11
(26) NAS-Port = 518
(26) Called-Station-Id = "50-2f-a8-ce-da-20:WTest"
(26) Calling-Station-Id = "dc-39-6f-9e-dc-d1"
(26) Airespace-Wlan-Id = 5
(26) NAS-Identifier = "wlc-rz"
(26) WLAN-Group-Cipher = 1027076
(26) WLAN-Pairwise-Cipher = 1027076
(26) WLAN-AKM-Suite = 1027073
(26) WLAN-Group-Mgmt-Cipher = 1027078
(26) Event-Timestamp = "Jan 9 2024 20:41:48 CET"
(26) WARNING: Outer and inner identities are the same. User privacy is compromised.
(26) server inner-tunnel {
(26) session-state: No cached attributes
(26) # Executing section authorize from file /etc/freeradius/sites-enabled/inner-tunnel
(26) authorize {
(26) policy filter_username {
(26) if (&User-Name) {
(26) if (&User-Name) -> TRUE
(26) if (&User-Name) {
(26) if (&User-Name =~ / /) {
(26) if (&User-Name =~ / /) -> FALSE
(26) if (&User-Name =~ /@[^@]*@/ ) {
(26) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(26) if (&User-Name =~ /\.\./ ) {
(26) if (&User-Name =~ /\.\./ ) -> FALSE
(26) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) {
(26) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE
(26) if (&User-Name =~ /\.$/) {
(26) if (&User-Name =~ /\.$/) -> FALSE
(26) if (&User-Name =~ /@\./) {
(26) if (&User-Name =~ /@\./) -> FALSE
(26) } # if (&User-Name) = notfound
(26) } # policy filter_username = notfound
(26) [chap] = noop
(26) [mschap] = noop
(26) suffix: Checking for suffix after "@"
(26) suffix: No '@' in User-Name = "sebastian", looking up realm NULL
(26) suffix: Found realm "NULL"
(26) suffix: Adding Stripped-User-Name = "sebastian"
(26) suffix: Adding Realm = "NULL"
(26) suffix: Authentication realm is LOCAL
(26) [suffix] = ok
(26) update control {
(26) &Proxy-To-Realm := LOCAL
(26) } # update control = noop
(26) eap: Peer sent EAP Response (code 2) ID 13 length 67
(26) eap: No EAP Start, assuming it's an on-going EAP conversation
(26) [eap] = updated
(26) [files] = noop
(26) sql: EXPAND %{%{Stripped-User-Name}:-%{%{User-Name}:-DEFAULT}}
(26) sql: --> sebastian
(26) sql: SQL-User-Name set to 'sebastian'
rlm_sql (sql): Reserved connection (9)
(26) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id
(26) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'sebastian' ORDER BY id
(26) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'sebastian' ORDER BY id
(26) sql: WARNING: User not found in radcheck table.
(26) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority
(26) sql: --> SELECT groupname FROM radusergroup WHERE username = 'sebastian' ORDER BY priority
(26) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'sebastian' ORDER BY priority
(26) sql: User not found in any groups
rlm_sql (sql): Released connection (9)
(26) [sql] = notfound
(26) [expiration] = noop
(26) [logintime] = noop
(26) [pap] = noop
(26) } # authorize = updated
(26) Found Auth-Type = eap
(26) # Executing group from file /etc/freeradius/sites-enabled/inner-tunnel
(26) authenticate {
(26) eap: Expiring EAP session with state 0x8327165e832a0c90
(26) eap: Finished EAP session with state 0x8327165e832a0c90
(26) eap: Previous EAP request found for state 0x8327165e832a0c90, released from the list
(26) eap: Peer sent packet with method EAP MSCHAPv2 (26)
(26) eap: Calling submodule eap_mschapv2 to process data
(26) eap_mschapv2: # Executing group from file /etc/freeradius/sites-enabled/inner-tunnel
(26) eap_mschapv2: authenticate {
(26) mschap: Creating challenge hash with username: sebastian
(26) mschap: Client is using MS-CHAPv2
(26) mschap: Executing: /usr/bin/ntlm_auth --allow-mschapv2 --request-nt-key --domain=lmn --require-membership-of=lmn\wifi --username=%{%{Stripped-User-Name}:-%{%{User-Name}:-None}} --challenge=%{%{mschap:Challenge}:-00} --nt-response=%{%{mschap:NT-Response}:-00}:
(26) mschap: EXPAND --username=%{%{Stripped-User-Name}:-%{%{User-Name}:-None}}
(26) mschap: --> --username=sebastian
(26) mschap: Creating challenge hash with username: sebastian
(26) mschap: EXPAND --challenge=%{%{mschap:Challenge}:-00}
(26) mschap: --> --challenge=062eec088d4c74ce
(26) mschap: EXPAND --nt-response=%{%{mschap:NT-Response}:-00}
(26) mschap: --> --nt-response=6453fe0e62ca01825fd5b69944963d038d44d0939e728322
(26) mschap: Program returned code (0) and output 'NT_KEY: 09050B5AD5FA6FDACA045ACB71195CE4'
(26) mschap: Adding MS-CHAPv2 MPPE keys
(26) eap_mschapv2: [mschap] = ok
(26) eap_mschapv2: } # authenticate = ok
(26) eap_mschapv2: MSCHAP Success
(26) eap: Sending EAP Request (code 1) ID 14 length 51
(26) eap: EAP session adding &reply:State = 0x8327165e82290c90
(26) [eap] = handled
(26) } # authenticate = handled
(26) } # server inner-tunnel
(26) Virtual server sending reply
(26) EAP-Message = 0x010e00331a030d002e533d38343433443130304633393335324241374641424631353942464436464534334246463646443632
(26) Message-Authenticator = 0x00000000000000000000000000000000
(26) State = 0x8327165e82290c90b0f5a62095c1841e
(26) eap_peap: Got tunneled reply code 11
(26) eap_peap: EAP-Message = 0x010e00331a030d002e533d38343433443130304633393335324241374641424631353942464436464534334246463646443632
(26) eap_peap: Message-Authenticator = 0x00000000000000000000000000000000
(26) eap_peap: State = 0x8327165e82290c90b0f5a62095c1841e
(26) eap_peap: Got tunneled reply RADIUS code 11
(26) eap_peap: EAP-Message = 0x010e00331a030d002e533d38343433443130304633393335324241374641424631353942464436464534334246463646443632
(26) eap_peap: Message-Authenticator = 0x00000000000000000000000000000000
(26) eap_peap: State = 0x8327165e82290c90b0f5a62095c1841e
(26) eap_peap: Got tunneled Access-Challenge
(26) eap: Sending EAP Request (code 1) ID 14 length 82
(26) eap: EAP session adding &reply:State = 0xe560871be96e9e90
(26) [eap] = handled
(26) } # authenticate = handled
(26) Using Post-Auth-Type Challenge
(26) # Executing group from file /etc/freeradius/sites-enabled/school_8021x
(26) Challenge { ... } # empty sub-section is ignored
(26) session-state: Saving cached attributes
(26) Framed-MTU = 1004
(26) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(26) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(26) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(26) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(26) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(26) TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, ClientKeyExchange"
(26) TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, Finished"
(26) TLS-Session-Information = "(TLS) send TLS 1.2 ChangeCipherSpec"
(26) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Finished"
(26) TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(26) TLS-Session-Version = "TLS 1.2"
(26) Sent Access-Challenge Id 63 from 172.16.8.20:1812 to 172.16.5.252:60626 length 140
(26) EAP-Message = 0x010e005219001703030047c047004377c1766e21405f5045e7cfa026c1a43f094f3bb16877730403e94eeb81b7efd68d5d2e8cbe40275fa963f9862f6f57d6685fdaaa37a01ea3558a433afd219f9070d428
(26) Message-Authenticator = 0x00000000000000000000000000000000
(26) State = 0xe560871be96e9e90aab05f7604c82849
(26) Finished request
Waking up in 3.6 seconds.
(27) Received Access-Request Id 71 from 172.16.5.252:60626 to 172.16.8.20:1812 length 430
(27) User-Name = "sebastian"
(27) Service-Type = Framed-User
(27) Cisco-AVPair = "service-type=Framed"
(27) Framed-MTU = 1485
(27) EAP-Message = 0x020e00251900170303001a0000000000000003b5423b5ce113cfb43d20a7650dd3b651e01b
(27) Message-Authenticator = 0x547eaff8e01fd111453032482bcb02f7
(27) Cisco-AVPair = "audit-session-id=FC0510AC0008D39DEFB40307"
(27) Cisco-AVPair = "method=dot1x"
(27) Cisco-AVPair = "client-iif-id=100927089"
(27) Cisco-AVPair = "vlan-id=10"
(27) NAS-IP-Address = 172.16.5.252
(27) NAS-Port-Type = Wireless-802.11
(27) NAS-Port = 518
(27) State = 0xe560871be96e9e90aab05f7604c82849
(27) Cisco-AVPair = "cisco-wlan-ssid=WTest"
(27) Cisco-AVPair = "wlan-profile-name=WTest"
(27) Called-Station-Id = "50-2f-a8-ce-da-20:WTest"
(27) Calling-Station-Id = "dc-39-6f-9e-dc-d1"
(27) Airespace-Wlan-Id = 5
(27) NAS-Identifier = "wlc-rz"
(27) WLAN-Group-Cipher = 1027076
(27) WLAN-Pairwise-Cipher = 1027076
(27) WLAN-AKM-Suite = 1027073
(27) WLAN-Group-Mgmt-Cipher = 1027078
(27) Restoring &session-state
(27) &session-state:Framed-MTU = 1004
(27) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(27) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(27) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(27) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(27) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(27) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, ClientKeyExchange"
(27) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, Finished"
(27) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 ChangeCipherSpec"
(27) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Finished"
(27) &session-state:TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(27) &session-state:TLS-Session-Version = "TLS 1.2"
(27) # Executing section authorize from file /etc/freeradius/sites-enabled/school_8021x
(27) authorize {
(27) policy filter_username {
(27) if (&User-Name) {
(27) if (&User-Name) -> TRUE
(27) if (&User-Name) {
(27) if (&User-Name =~ / /) {
(27) if (&User-Name =~ / /) -> FALSE
(27) if (&User-Name =~ /@[^@]*@/ ) {
(27) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(27) if (&User-Name =~ /\.\./ ) {
(27) if (&User-Name =~ /\.\./ ) -> FALSE
(27) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) {
(27) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE
(27) if (&User-Name =~ /\.$/) {
(27) if (&User-Name =~ /\.$/) -> FALSE
(27) if (&User-Name =~ /@\./) {
(27) if (&User-Name =~ /@\./) -> FALSE
(27) } # if (&User-Name) = notfound
(27) } # policy filter_username = notfound
(27) [preprocess] = ok
(27) [digest] = noop
(27) suffix: Checking for suffix after "@"
(27) suffix: No '@' in User-Name = "sebastian", looking up realm NULL
(27) suffix: Found realm "NULL"
(27) suffix: Adding Stripped-User-Name = "sebastian"
(27) suffix: Adding Realm = "NULL"
(27) suffix: Authentication realm is LOCAL
(27) [suffix] = ok
(27) [chap] = noop
(27) sql: EXPAND %{%{Stripped-User-Name}:-%{%{User-Name}:-DEFAULT}}
(27) sql: --> sebastian
(27) sql: SQL-User-Name set to 'sebastian'
rlm_sql (sql): Reserved connection (4)
(27) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id
(27) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'sebastian' ORDER BY id
(27) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'sebastian' ORDER BY id
(27) sql: WARNING: User not found in radcheck table.
(27) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority
(27) sql: --> SELECT groupname FROM radusergroup WHERE username = 'sebastian' ORDER BY priority
(27) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'sebastian' ORDER BY priority
(27) sql: User not found in any groups
rlm_sql (sql): Released connection (4)
(27) [sql] = notfound
(27) [mschap] = noop
(27) eap: Peer sent EAP Response (code 2) ID 14 length 37
(27) eap: Continuing tunnel setup
(27) [eap] = ok
(27) } # authorize = ok
(27) Found Auth-Type = eap
(27) # Executing group from file /etc/freeradius/sites-enabled/school_8021x
(27) authenticate {
(27) eap: Expiring EAP session with state 0x8327165e82290c90
(27) eap: Finished EAP session with state 0xe560871be96e9e90
(27) eap: Previous EAP request found for state 0xe560871be96e9e90, released from the list
(27) eap: Peer sent packet with method EAP PEAP (25)
(27) eap: Calling submodule eap_peap to process data
(27) eap_peap: (TLS) EAP Done initial handshake
(27) eap_peap: Session established. Decoding tunneled attributes
(27) eap_peap: PEAP state phase2
(27) eap_peap: EAP method MSCHAPv2 (26)
(27) eap_peap: Got tunneled request
(27) eap_peap: EAP-Message = 0x020e00061a03
(27) eap_peap: Setting User-Name to sebastian
(27) eap_peap: Sending tunneled request to inner-tunnel
(27) eap_peap: EAP-Message = 0x020e00061a03
(27) eap_peap: FreeRADIUS-Proxied-To = 127.0.0.1
(27) eap_peap: User-Name = "sebastian"
(27) eap_peap: State = 0x8327165e82290c90b0f5a62095c1841e
(27) eap_peap: Service-Type = Framed-User
(27) eap_peap: Cisco-AVPair = "service-type=Framed"
(27) eap_peap: Cisco-AVPair = "audit-session-id=FC0510AC0008D39DEFB40307"
(27) eap_peap: Cisco-AVPair = "method=dot1x"
(27) eap_peap: Cisco-AVPair = "client-iif-id=100927089"
(27) eap_peap: Cisco-AVPair = "vlan-id=10"
(27) eap_peap: Cisco-AVPair = "cisco-wlan-ssid=WTest"
(27) eap_peap: Cisco-AVPair = "wlan-profile-name=WTest"
(27) eap_peap: Framed-MTU = 1485
(27) eap_peap: NAS-IP-Address = 172.16.5.252
(27) eap_peap: NAS-Port-Type = Wireless-802.11
(27) eap_peap: NAS-Port = 518
(27) eap_peap: Called-Station-Id = "50-2f-a8-ce-da-20:WTest"
(27) eap_peap: Calling-Station-Id = "dc-39-6f-9e-dc-d1"
(27) eap_peap: Airespace-Wlan-Id = 5
(27) eap_peap: NAS-Identifier = "wlc-rz"
(27) eap_peap: WLAN-Group-Cipher = 1027076
(27) eap_peap: WLAN-Pairwise-Cipher = 1027076
(27) eap_peap: WLAN-AKM-Suite = 1027073
(27) eap_peap: WLAN-Group-Mgmt-Cipher = 1027078
(27) eap_peap: Event-Timestamp = "Jan 9 2024 20:41:48 CET"
(27) Virtual server inner-tunnel received request
(27) EAP-Message = 0x020e00061a03
(27) FreeRADIUS-Proxied-To = 127.0.0.1
(27) User-Name = "sebastian"
(27) State = 0x8327165e82290c90b0f5a62095c1841e
(27) Service-Type = Framed-User
(27) Cisco-AVPair = "service-type=Framed"
(27) Cisco-AVPair = "audit-session-id=FC0510AC0008D39DEFB40307"
(27) Cisco-AVPair = "method=dot1x"
(27) Cisco-AVPair = "client-iif-id=100927089"
(27) Cisco-AVPair = "vlan-id=10"
(27) Cisco-AVPair = "cisco-wlan-ssid=WTest"
(27) Cisco-AVPair = "wlan-profile-name=WTest"
(27) Framed-MTU = 1485
(27) NAS-IP-Address = 172.16.5.252
(27) NAS-Port-Type = Wireless-802.11
(27) NAS-Port = 518
(27) Called-Station-Id = "50-2f-a8-ce-da-20:WTest"
(27) Calling-Station-Id = "dc-39-6f-9e-dc-d1"
(27) Airespace-Wlan-Id = 5
(27) NAS-Identifier = "wlc-rz"
(27) WLAN-Group-Cipher = 1027076
(27) WLAN-Pairwise-Cipher = 1027076
(27) WLAN-AKM-Suite = 1027073
(27) WLAN-Group-Mgmt-Cipher = 1027078
(27) Event-Timestamp = "Jan 9 2024 20:41:48 CET"
(27) WARNING: Outer and inner identities are the same. User privacy is compromised.
(27) server inner-tunnel {
(27) session-state: No cached attributes
(27) # Executing section authorize from file /etc/freeradius/sites-enabled/inner-tunnel
(27) authorize {
(27) policy filter_username {
(27) if (&User-Name) {
(27) if (&User-Name) -> TRUE
(27) if (&User-Name) {
(27) if (&User-Name =~ / /) {
(27) if (&User-Name =~ / /) -> FALSE
(27) if (&User-Name =~ /@[^@]*@/ ) {
(27) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(27) if (&User-Name =~ /\.\./ ) {
(27) if (&User-Name =~ /\.\./ ) -> FALSE
(27) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) {
(27) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE
(27) if (&User-Name =~ /\.$/) {
(27) if (&User-Name =~ /\.$/) -> FALSE
(27) if (&User-Name =~ /@\./) {
(27) if (&User-Name =~ /@\./) -> FALSE
(27) } # if (&User-Name) = notfound
(27) } # policy filter_username = notfound
(27) [chap] = noop
(27) [mschap] = noop
(27) suffix: Checking for suffix after "@"
(27) suffix: No '@' in User-Name = "sebastian", looking up realm NULL
(27) suffix: Found realm "NULL"
(27) suffix: Adding Stripped-User-Name = "sebastian"
(27) suffix: Adding Realm = "NULL"
(27) suffix: Authentication realm is LOCAL
(27) [suffix] = ok
(27) update control {
(27) &Proxy-To-Realm := LOCAL
(27) } # update control = noop
(27) eap: Peer sent EAP Response (code 2) ID 14 length 6
(27) eap: No EAP Start, assuming it's an on-going EAP conversation
(27) [eap] = updated
(27) [files] = noop
(27) sql: EXPAND %{%{Stripped-User-Name}:-%{%{User-Name}:-DEFAULT}}
(27) sql: --> sebastian
(27) sql: SQL-User-Name set to 'sebastian'
rlm_sql (sql): Reserved connection (8)
(27) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id
(27) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'sebastian' ORDER BY id
(27) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'sebastian' ORDER BY id
(27) sql: WARNING: User not found in radcheck table.
(27) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority
(27) sql: --> SELECT groupname FROM radusergroup WHERE username = 'sebastian' ORDER BY priority
(27) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'sebastian' ORDER BY priority
(27) sql: User not found in any groups
rlm_sql (sql): Released connection (8)
(27) [sql] = notfound
(27) [expiration] = noop
(27) [logintime] = noop
(27) [pap] = noop
(27) } # authorize = updated
(27) Found Auth-Type = eap
(27) # Executing group from file /etc/freeradius/sites-enabled/inner-tunnel
(27) authenticate {
(27) eap: Expiring EAP session with state 0x8327165e82290c90
(27) eap: Finished EAP session with state 0x8327165e82290c90
(27) eap: Previous EAP request found for state 0x8327165e82290c90, released from the list
(27) eap: Peer sent packet with method EAP MSCHAPv2 (26)
(27) eap: Calling submodule eap_mschapv2 to process data
(27) eap: Sending EAP Success (code 3) ID 14 length 4
(27) eap: Freeing handler
(27) [eap] = ok
(27) } # authenticate = ok
(27) # Executing section post-auth from file /etc/freeradius/sites-enabled/inner-tunnel
(27) post-auth {
(27) update outer.session-state {
(27) &User-Name = &User-Name -> 'sebastian'
(27) } # update outer.session-state = noop
(27) sql: EXPAND .query
(27) sql: --> .query
(27) sql: Using query template 'query'
rlm_sql (sql): Reserved connection (9)
(27) sql: EXPAND %{%{Stripped-User-Name}:-%{%{User-Name}:-DEFAULT}}
(27) sql: --> sebastian
(27) sql: SQL-User-Name set to 'sebastian'
(27) sql: EXPAND INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( '%{SQL-User-Name}', '%{%{User-Password}:-%{Chap-Password}}', '%{reply:Packet-Type}', '%S.%M' )
(27) sql: --> INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'sebastian', '', 'Access-Accept', '2024-01-09 20:41:48.182943' )
(27) sql: Executing query: INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'sebastian', '', 'Access-Accept', '2024-01-09 20:41:48.182943' )
(27) sql: SQL query returned: success
(27) sql: 1 record(s) updated
rlm_sql (sql): Released connection (9)
(27) [sql] = ok
(27) if (1) {
(27) if (1) -> TRUE
(27) if (1) {
(27) update reply {
(27) User-Name !* ANY
(27) Message-Authenticator !* ANY
(27) EAP-Message !* ANY
(27) Proxy-State !* ANY
(27) MS-MPPE-Encryption-Types !* ANY
(27) MS-MPPE-Encryption-Policy !* ANY
(27) MS-MPPE-Send-Key !* ANY
(27) MS-MPPE-Recv-Key !* ANY
(27) } # update reply = noop
(27) update {
(27) No attributes updated for RHS &reply:
(27) } # update = noop
(27) } # if (1) = noop
(27) } # post-auth = ok
(27) EXPAND (%{Calling-Station-ID})
(27) --> (dc-39-6f-9e-dc-d1)
(27) Login OK: [sebastian] (from client school_8021x port 518 cli dc-39-6f-9e-dc-d1 via TLS tunnel) (dc-39-6f-9e-dc-d1)
(27) } # server inner-tunnel
(27) Virtual server sending reply
(27) eap_peap: Got tunneled reply code 2
(27) eap_peap: Got tunneled reply RADIUS code 2
(27) eap_peap: Tunneled authentication was successful
(27) eap_peap: SUCCESS
(27) eap: Sending EAP Request (code 1) ID 15 length 46
(27) eap: EAP session adding &reply:State = 0xe560871be86f9e90
(27) [eap] = handled
(27) } # authenticate = handled
(27) Using Post-Auth-Type Challenge
(27) # Executing group from file /etc/freeradius/sites-enabled/school_8021x
(27) Challenge { ... } # empty sub-section is ignored
(27) session-state: Saving cached attributes
(27) Framed-MTU = 1004
(27) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(27) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(27) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(27) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(27) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(27) TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, ClientKeyExchange"
(27) TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, Finished"
(27) TLS-Session-Information = "(TLS) send TLS 1.2 ChangeCipherSpec"
(27) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Finished"
(27) TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(27) TLS-Session-Version = "TLS 1.2"
(27) User-Name = "sebastian"
(27) Sent Access-Challenge Id 71 from 172.16.8.20:1812 to 172.16.5.252:60626 length 104
(27) EAP-Message = 0x010f002e19001703030023c047004377c1766f9e87b36371bd529f879add909653d7c820065b9eae595b8e5ae550
(27) Message-Authenticator = 0x00000000000000000000000000000000
(27) State = 0xe560871be86f9e90aab05f7604c82849
(27) Finished request
Waking up in 3.6 seconds.
(28) Received Access-Request Id 79 from 172.16.5.252:60626 to 172.16.8.20:1812 length 439
(28) User-Name = "sebastian"
(28) Service-Type = Framed-User
(28) Cisco-AVPair = "service-type=Framed"
(28) Framed-MTU = 1485
(28) EAP-Message = 0x020f002e1900170303002300000000000000046ead409b2adcd57bd2b071dbde771fec8c8df77867e36753e42a46
(28) Message-Authenticator = 0xcb063f0bd175742c71ab7e031faca3d9
(28) Cisco-AVPair = "audit-session-id=FC0510AC0008D39DEFB40307"
(28) Cisco-AVPair = "method=dot1x"
(28) Cisco-AVPair = "client-iif-id=100927089"
(28) Cisco-AVPair = "vlan-id=10"
(28) NAS-IP-Address = 172.16.5.252
(28) NAS-Port-Type = Wireless-802.11
(28) NAS-Port = 518
(28) State = 0xe560871be86f9e90aab05f7604c82849
(28) Cisco-AVPair = "cisco-wlan-ssid=WTest"
(28) Cisco-AVPair = "wlan-profile-name=WTest"
(28) Called-Station-Id = "50-2f-a8-ce-da-20:WTest"
(28) Calling-Station-Id = "dc-39-6f-9e-dc-d1"
(28) Airespace-Wlan-Id = 5
(28) NAS-Identifier = "wlc-rz"
(28) WLAN-Group-Cipher = 1027076
(28) WLAN-Pairwise-Cipher = 1027076
(28) WLAN-AKM-Suite = 1027073
(28) WLAN-Group-Mgmt-Cipher = 1027078
(28) Restoring &session-state
(28) &session-state:Framed-MTU = 1004
(28) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(28) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(28) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(28) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(28) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(28) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, ClientKeyExchange"
(28) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, Finished"
(28) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 ChangeCipherSpec"
(28) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Finished"
(28) &session-state:TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(28) &session-state:TLS-Session-Version = "TLS 1.2"
(28) &session-state:User-Name = "sebastian"
(28) # Executing section authorize from file /etc/freeradius/sites-enabled/school_8021x
(28) authorize {
(28) policy filter_username {
(28) if (&User-Name) {
(28) if (&User-Name) -> TRUE
(28) if (&User-Name) {
(28) if (&User-Name =~ / /) {
(28) if (&User-Name =~ / /) -> FALSE
(28) if (&User-Name =~ /@[^@]*@/ ) {
(28) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(28) if (&User-Name =~ /\.\./ ) {
(28) if (&User-Name =~ /\.\./ ) -> FALSE
(28) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) {
(28) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE
(28) if (&User-Name =~ /\.$/) {
(28) if (&User-Name =~ /\.$/) -> FALSE
(28) if (&User-Name =~ /@\./) {
(28) if (&User-Name =~ /@\./) -> FALSE
(28) } # if (&User-Name) = notfound
(28) } # policy filter_username = notfound
(28) [preprocess] = ok
(28) [digest] = noop
(28) suffix: Checking for suffix after "@"
(28) suffix: No '@' in User-Name = "sebastian", looking up realm NULL
(28) suffix: Found realm "NULL"
(28) suffix: Adding Stripped-User-Name = "sebastian"
(28) suffix: Adding Realm = "NULL"
(28) suffix: Authentication realm is LOCAL
(28) [suffix] = ok
(28) [chap] = noop
(28) sql: EXPAND %{%{Stripped-User-Name}:-%{%{User-Name}:-DEFAULT}}
(28) sql: --> sebastian
(28) sql: SQL-User-Name set to 'sebastian'
rlm_sql (sql): Reserved connection (4)
(28) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id
(28) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'sebastian' ORDER BY id
(28) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'sebastian' ORDER BY id
(28) sql: WARNING: User not found in radcheck table.
(28) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority
(28) sql: --> SELECT groupname FROM radusergroup WHERE username = 'sebastian' ORDER BY priority
(28) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'sebastian' ORDER BY priority
(28) sql: User not found in any groups
rlm_sql (sql): Released connection (4)
(28) [sql] = notfound
(28) [mschap] = noop
(28) eap: Peer sent EAP Response (code 2) ID 15 length 46
(28) eap: Continuing tunnel setup
(28) [eap] = ok
(28) } # authorize = ok
(28) Found Auth-Type = eap
(28) # Executing group from file /etc/freeradius/sites-enabled/school_8021x
(28) authenticate {
(28) eap: Expiring EAP session with state 0xe560871be86f9e90
(28) eap: Finished EAP session with state 0xe560871be86f9e90
(28) eap: Previous EAP request found for state 0xe560871be86f9e90, released from the list
(28) eap: Peer sent packet with method EAP PEAP (25)
(28) eap: Calling submodule eap_peap to process data
(28) eap_peap: (TLS) EAP Done initial handshake
(28) eap_peap: Session established. Decoding tunneled attributes
(28) eap_peap: PEAP state send tlv success
(28) eap_peap: Received EAP-TLV response
(28) eap_peap: Success
(28) eap: Sending EAP Success (code 3) ID 15 length 4
(28) eap: Freeing handler
(28) [eap] = ok
(28) } # authenticate = ok
(28) # Executing section post-auth from file /etc/freeradius/sites-enabled/school_8021x
(28) post-auth {
(28) update {
(28) User-Name := &session-state:User-Name -> 'sebastian'
(28) } # update = noop
(28) policy get_user_role {
(28) if (&LDAP-Group[*] == "CN=teachers,OU=Teachers,DC=etc") {
(28) Searching for user in group "CN=teachers,OU=Teachers,DC=etc"
rlm_ldap (ldap): Reserved connection (0)
(28) EXPAND (&(objectclass=person)(cn=%{%{Stripped-User-Name}:-%{mschap:User-Name}}))
(28) --> (&(objectclass=person)(cn=sebastian))
(28) Performing search in "###" with filter "(&(objectclass=person)(cn=sebastian))", scope "sub"
(28) Waiting for search result...
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
rlm_ldap (ldap): Rebinding to URL ldap://172.16.8.200/CN=Configuration,###
rlm_ldap (ldap): Waiting for bind result...
rlm_ldap (ldap): Bind successful
(28) User object found at DN "CN=sebastian,OU=k2,OU=Students,DC=etc"
(28) Checking for user in group objects
(28) EXPAND (&(objectClass=group)(member=%{control:LDAP-UserDn}))
(28) --> (&(objectClass=group)(member=CN\3dsebastian\2cOU\3dk2\2cOU\3dStudents\2cOU\3ddefault-school\2cOU###))
(28) Performing search in "CN=teachers,OU=Teachers,DC=etc" with filter "(&(objectClass=group)(member=CN\3dsebastian\2cOU\3dk2\2cOU\3dStudents\2cOU\3ddefault-school\2cOU###))", scope "sub"
(28) Waiting for search result...
(28) Search returned no results
(28) Checking user object's memberOf attributes
(28) Performing unfiltered search in "CN=sebastian,OU=k2,OU=Students,DC=etc", scope "base"
(28) Waiting for search result...
(28) Processing memberOf value "CN=role-student,OU=Groups,OU=GLOBAL,###" as a DN
(28) Processing memberOf value "CN=k2,OU=k2,OU=Students,DC=etc" as a DN
(28) Processing memberOf value "CN=internet,OU=Management,DC=etc" as a DN
(28) Processing memberOf value "CN=wifi,OU=Management,DC=etc" as a DN
(28) Processing memberOf value "CN=webfilter,OU=Management,DC=etc" as a DN
(28) Processing memberOf value "CN=intranet,OU=Management,DC=etc" as a DN
(28) Processing memberOf value "CN=printing,OU=Management,DC=etc" as a DN
rlm_ldap (ldap): Released connection (0)
Need more connections to reach 10 spares
rlm_ldap (ldap): Opening additional connection (5), 1 of 27 pending slots used
rlm_ldap (ldap): Connecting to ldaps://172.16.8.200:636
rlm_ldap (ldap): Waiting for bind result...
rlm_ldap (ldap): Bind successful
rlm_ldap (ldap): Closing expired connection (4) - Hit idle_timeout limit
rlm_ldap (ldap): Closing expired connection (3) - Hit idle_timeout limit
rlm_ldap (ldap): Closing expired connection (2) - Hit idle_timeout limit
rlm_ldap (ldap): You probably need to lower "min"
rlm_ldap (ldap): Closing expired connection (1) - Hit idle_timeout limit
(28) User is not a member of "CN=teachers,OU=Teachers,DC=etc"
(28) if (&LDAP-Group[*] == "CN=teachers,OU=Teachers,DC=etc") -> FALSE
(28) elsif (&LDAP-Group[*] == "CN=staff,OU=staff,OU=Students,DC=etc") {
(28) Searching for user in group "CN=staff,OU=staff,OU=Students,DC=etc"
rlm_ldap (ldap): Reserved connection (0)
(28) Using user DN from request "CN=sebastian,OU=k2,OU=Students,DC=etc"
(28) Checking for user in group objects
(28) EXPAND (&(objectClass=group)(member=%{control:LDAP-UserDn}))
(28) --> (&(objectClass=group)(member=CN\3dsebastian\2cOU\3dk2\2cOU\3dStudents\2cOU\3ddefault-school\2cOU###))
(28) Performing search in "CN=staff,OU=staff,OU=Students,DC=etc" with filter "(&(objectClass=group)(member=CN\3dsebastian\2cOU\3dk2\2cOU\3dStudents\2cOU\3ddefault-school\2cOU###))", scope "sub"
(28) Waiting for search result...
(28) Search returned no results
(28) Checking user object's memberOf attributes
(28) Performing unfiltered search in "CN=sebastian,OU=k2,OU=Students,DC=etc", scope "base"
(28) Waiting for search result...
(28) Processing memberOf value "CN=role-student,OU=Groups,OU=GLOBAL,###" as a DN
(28) Processing memberOf value "CN=k2,OU=k2,OU=Students,DC=etc" as a DN
(28) Processing memberOf value "CN=internet,OU=Management,DC=etc" as a DN
(28) Processing memberOf value "CN=wifi,OU=Management,DC=etc" as a DN
(28) Processing memberOf value "CN=webfilter,OU=Management,DC=etc" as a DN
(28) Processing memberOf value "CN=intranet,OU=Management,DC=etc" as a DN
(28) Processing memberOf value "CN=printing,OU=Management,DC=etc" as a DN
rlm_ldap (ldap): Released connection (0)
(28) User is not a member of "CN=staff,OU=staff,OU=Students,DC=etc"
(28) elsif (&LDAP-Group[*] == "CN=staff,OU=staff,OU=Students,DC=etc") -> FALSE
(28) elsif (&LDAP-Group[*] == "CN=airtame,OU=Airtame,OU=Students,DC=etc") {
(28) Searching for user in group "CN=airtame,OU=Airtame,OU=Students,DC=etc"
rlm_ldap (ldap): Reserved connection (5)
(28) Using user DN from request "CN=sebastian,OU=k2,OU=Students,DC=etc"
(28) Checking for user in group objects
(28) EXPAND (&(objectClass=group)(member=%{control:LDAP-UserDn}))
(28) --> (&(objectClass=group)(member=CN\3dsebastian\2cOU\3dk2\2cOU\3dStudents\2cOU\3ddefault-school\2cOU###))
(28) Performing search in "CN=airtame,OU=Airtame,OU=Students,DC=etc" with filter "(&(objectClass=group)(member=CN\3dsebastian\2cOU\3dk2\2cOU\3dStudents\2cOU\3ddefault-school\2cOU###))", scope "sub"
(28) Waiting for search result...
(28) Search returned no results
(28) Checking user object's memberOf attributes
(28) Performing unfiltered search in "CN=sebastian,OU=k2,OU=Students,DC=etc", scope "base"
(28) Waiting for search result...
(28) Processing memberOf value "CN=role-student,OU=Groups,OU=GLOBAL,###" as a DN
(28) Processing memberOf value "CN=k2,OU=k2,OU=Students,DC=etc" as a DN
(28) Processing memberOf value "CN=internet,OU=Management,DC=etc" as a DN
(28) Processing memberOf value "CN=wifi,OU=Management,DC=etc" as a DN
(28) Processing memberOf value "CN=webfilter,OU=Management,DC=etc" as a DN
(28) Processing memberOf value "CN=intranet,OU=Management,DC=etc" as a DN
(28) Processing memberOf value "CN=printing,OU=Management,DC=etc" as a DN
rlm_ldap (ldap): Released connection (5)
(28) User is not a member of "CN=airtame,OU=Airtame,OU=Students,DC=etc"
(28) elsif (&LDAP-Group[*] == "CN=airtame,OU=Airtame,OU=Students,DC=etc") -> FALSE
(28) elsif (&LDAP-Group[*] == "CN=technik,OU=Technik,OU=Students,DC=etc") {
(28) Searching for user in group "CN=technik,OU=Technik,OU=Students,DC=etc"
rlm_ldap (ldap): Reserved connection (0)
(28) Using user DN from request "CN=sebastian,OU=k2,OU=Students,DC=etc"
(28) Checking for user in group objects
(28) EXPAND (&(objectClass=group)(member=%{control:LDAP-UserDn}))
(28) --> (&(objectClass=group)(member=CN\3dsebastian\2cOU\3dk2\2cOU\3dStudents\2cOU\3ddefault-school\2cOU###))
(28) Performing search in "CN=technik,OU=Technik,OU=Students,DC=etc" with filter "(&(objectClass=group)(member=CN\3dsebastian\2cOU\3dk2\2cOU\3dStudents\2cOU\3ddefault-school\2cOU###))", scope "sub"
(28) Waiting for search result...
(28) Search returned no results
(28) Checking user object's memberOf attributes
(28) Performing unfiltered search in "CN=sebastian,OU=k2,OU=Students,DC=etc", scope "base"
(28) Waiting for search result...
(28) Processing memberOf value "CN=role-student,OU=Groups,OU=GLOBAL,###" as a DN
(28) Processing memberOf value "CN=k2,OU=k2,OU=Students,DC=etc" as a DN
(28) Processing memberOf value "CN=internet,OU=Management,DC=etc" as a DN
(28) Processing memberOf value "CN=wifi,OU=Management,DC=etc" as a DN
(28) Processing memberOf value "CN=webfilter,OU=Management,DC=etc" as a DN
(28) Processing memberOf value "CN=intranet,OU=Management,DC=etc" as a DN
(28) Processing memberOf value "CN=printing,OU=Management,DC=etc" as a DN
rlm_ldap (ldap): Released connection (0)
(28) User is not a member of "CN=technik,OU=Technik,OU=Students,DC=etc"
(28) elsif (&LDAP-Group[*] == "CN=technik,OU=Technik,OU=Students,DC=etc") -> FALSE
(28) elsif (&LDAP-Group[*] == "CN=ipad,OU=Ipad,OU=Students,DC=etc") {
(28) Searching for user in group "CN=ipad,OU=Ipad,OU=Students,DC=etc"
rlm_ldap (ldap): Reserved connection (5)
(28) Using user DN from request "CN=sebastian,OU=k2,OU=Students,DC=etc"
(28) Checking for user in group objects
(28) EXPAND (&(objectClass=group)(member=%{control:LDAP-UserDn}))
(28) --> (&(objectClass=group)(member=CN\3dsebastian\2cOU\3dk2\2cOU\3dStudents\2cOU\3ddefault-school\2cOU###))
(28) Performing search in "CN=ipad,OU=Ipad,OU=Students,DC=etc" with filter "(&(objectClass=group)(member=CN\3dsebastian\2cOU\3dk2\2cOU\3dStudents\2cOU\3ddefault-school\2cOU###))", scope "sub"
(28) Waiting for search result...
(28) Search returned no results
(28) Checking user object's memberOf attributes
(28) Performing unfiltered search in "CN=sebastian,OU=k2,OU=Students,DC=etc", scope "base"
(28) Waiting for search result...
(28) Processing memberOf value "CN=role-student,OU=Groups,OU=GLOBAL,###" as a DN
(28) Processing memberOf value "CN=k2,OU=k2,OU=Students,DC=etc" as a DN
(28) Processing memberOf value "CN=internet,OU=Management,DC=etc" as a DN
(28) Processing memberOf value "CN=wifi,OU=Management,DC=etc" as a DN
(28) Processing memberOf value "CN=webfilter,OU=Management,DC=etc" as a DN
(28) Processing memberOf value "CN=intranet,OU=Management,DC=etc" as a DN
(28) Processing memberOf value "CN=printing,OU=Management,DC=etc" as a DN
rlm_ldap (ldap): Released connection (5)
(28) User is not a member of "CN=ipad,OU=Ipad,OU=Students,DC=etc"
(28) elsif (&LDAP-Group[*] == "CN=ipad,OU=Ipad,OU=Students,DC=etc") -> FALSE
(28) elsif (&LDAP-Group[*] == "CN=fake-ipad,OU=Ipad,OU=Students,DC=etc") {
(28) Searching for user in group "CN=fake-ipad,OU=Ipad,OU=Students,DC=etc"
rlm_ldap (ldap): Reserved connection (0)
(28) Using user DN from request "CN=sebastian,OU=k2,OU=Students,DC=etc"
(28) Checking for user in group objects
(28) EXPAND (&(objectClass=group)(member=%{control:LDAP-UserDn}))
(28) --> (&(objectClass=group)(member=CN\3dsebastian\2cOU###))
(28) Performing search in "CN=fake-ipad,OU=Ipad,OU=Students,DC=etc" with filter "(&(objectClass=group)(member=CN\3dsebastian\2cOU\3dk2\2cOU\3dStudents\2cOU\3ddefault-school\2cOU###))", scope "sub"
(28) Waiting for search result...
(28) The specified DN wasn't found
(28) Search returned no results
(28) Checking user object's memberOf attributes
(28) Performing unfiltered search in "CN=sebastian,OU=k2,OU=Students,DC=etc", scope "base"
(28) Waiting for search result...
(28) Processing memberOf value "CN=role-student,OU=Groups,OU=GLOBAL,###" as a DN
(28) Processing memberOf value "CN=k2,OU=k2,OU=Students,DC=etc" as a DN
(28) Processing memberOf value "CN=internet,OU=Management,DC=etc" as a DN
(28) Processing memberOf value "CN=wifi,OU=Management,DC=etc" as a DN
(28) Processing memberOf value "CN=webfilter,OU=Management,DC=etc" as a DN
(28) Processing memberOf value "CN=intranet,OU=Management,DC=etc" as a DN
(28) Processing memberOf value "CN=printing,OU=Management,DC=etc" as a DN
rlm_ldap (ldap): Released connection (0)
(28) User is not a member of "CN=fake-ipad,OU=Ipad,OU=Students,DC=etc"
(28) elsif (&LDAP-Group[*] == "CN=fake-ipad,OU=Ipad,OU=Students,DC=etc") -> FALSE
(28) elsif (&LDAP-Group[*] == "CN=role-student,OU=Groups,OU=GLOBAL,###") {
(28) Searching for user in group "CN=role-student,OU=Groups,OU=GLOBAL,###"
rlm_ldap (ldap): Reserved connection (5)
(28) Using user DN from request "CN=sebastian,OU=k2,OU=Students,DC=etc"
(28) Checking for user in group objects
(28) EXPAND (&(objectClass=group)(member=%{control:LDAP-UserDn}))
(28) --> (&(objectClass=group)(member=CN\3dsebastian\2cOU\3dk2\2cOU###))
(28) Performing search in "CN=role-student,OU=Groups,OU=GLOBAL,###" with filter "(&(objectClass=group)(member=CN\3dsebastian\2cOU\3dk2\2cOU\3dStudents\2cOU\3ddefault-school\2cOU###))", scope "sub"
(28) Waiting for search result...
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
ber_get_next failed, errno=11.
(28) User found in group object "CN=role-student,OU=Groups,OU=GLOBAL,###"
rlm_ldap (ldap): Released connection (5)
(28) elsif (&LDAP-Group[*] == "CN=role-student,OU=Groups,OU=GLOBAL,###") -> TRUE
(28) elsif (&LDAP-Group[*] == "CN=role-student,OU=Groups,OU=GLOBAL,###") {
(28) update reply {
(28) UserRole := "student"
(28) } # update reply = noop
(28) } # elsif (&LDAP-Group[*] == "CN=role-student,OU=Groups,OU=GLOBAL,###") = noop
(28) } # policy get_user_role = noop
(28) if (&session-state:User-Name == "cisco-wlan-ap") {
(28) if (&session-state:User-Name == "cisco-wlan-ap") -> FALSE
(28) else {
(28) if (UserRole == "staff") {
(28) ERROR: Failed retrieving values required to evaluate condition
(28) elsif (&reply:UserRole == "staff") {
(28) elsif (&reply:UserRole == "staff") -> FALSE
(28) elsif (UserRole == "airtame") {
(28) ERROR: Failed retrieving values required to evaluate condition
(28) elsif (&reply:UserRole == "airtame") {
(28) elsif (&reply:UserRole == "airtame") -> FALSE
(28) elsif (UserRole == "technik") {
(28) ERROR: Failed retrieving values required to evaluate condition
(28) elsif (&reply:UserRole == "technik") {
(28) elsif (&reply:UserRole == "technik") -> FALSE
(28) elsif (UserRole == "ipad") {
(28) ERROR: Failed retrieving values required to evaluate condition
(28) elsif (&reply:UserRole == "ipad") {
(28) elsif (&reply:UserRole == "ipad") -> FALSE
(28) elsif (&reply:UserRole == "student") {
(28) elsif (&reply:UserRole == "student") -> TRUE
(28) elsif (&reply:UserRole == "student") {
(28) if (&reply:UserSophomorixRole == "staff") {
(28) ERROR: Failed retrieving values required to evaluate condition
(28) elsif (&reply:UserSophomorixRole == "airtame") {
(28) ERROR: Failed retrieving values required to evaluate condition
(28) elsif (&reply:UserSophomorixRole == "technik") {
(28) ERROR: Failed retrieving values required to evaluate condition
(28) elsif (&reply:UserSophomorixRole == "ipad") {
(28) ERROR: Failed retrieving values required to evaluate condition
(28) else {
(28) update reply {
(28) Tunnel-Medium-Type := IEEE-802
(28) Tunnel-Private-Group-ID := 12
(28) Tunnel-Type := VLAN
(28) } # update reply = noop
(28) } # else = noop
(28) } # elsif (&reply:UserRole == "student") = noop
(28) ... skipping elsif: Preceding "if" was taken
(28) } # else = noop
(28) update reply {
(28) &UserRole !* ANY
(28) } # update reply = noop
(28) if (session-state:User-Name && reply:User-Name && request:User-Name && (reply:User-Name == request:User-Name)) {
(28) if (session-state:User-Name && reply:User-Name && request:User-Name && (reply:User-Name == request:User-Name)) -> TRUE
(28) if (session-state:User-Name && reply:User-Name && request:User-Name && (reply:User-Name == request:User-Name)) {
(28) update reply {
(28) &User-Name !* ANY
(28) } # update reply = noop
(28) } # if (session-state:User-Name && reply:User-Name && request:User-Name && (reply:User-Name == request:User-Name)) = noop
(28) update {
(28) &reply::Framed-MTU += &session-state:Framed-MTU[*] -> 1004
(28) &reply::TLS-Session-Information += &session-state:TLS-Session-Information[*] -> '(TLS) recv TLS 1.3 Handshake, ClientHello'
(28) &reply::TLS-Session-Information += &session-state:TLS-Session-Information[*] -> '(TLS) send TLS 1.2 Handshake, ServerHello'
(28) &reply::TLS-Session-Information += &session-state:TLS-Session-Information[*] -> '(TLS) send TLS 1.2 Handshake, Certificate'
(28) &reply::TLS-Session-Information += &session-state:TLS-Session-Information[*] -> '(TLS) send TLS 1.2 Handshake, ServerKeyExchange'
(28) &reply::TLS-Session-Information += &session-state:TLS-Session-Information[*] -> '(TLS) send TLS 1.2 Handshake, ServerHelloDone'
(28) &reply::TLS-Session-Information += &session-state:TLS-Session-Information[*] -> '(TLS) recv TLS 1.2 Handshake, ClientKeyExchange'
(28) &reply::TLS-Session-Information += &session-state:TLS-Session-Information[*] -> '(TLS) recv TLS 1.2 Handshake, Finished'
(28) &reply::TLS-Session-Information += &session-state:TLS-Session-Information[*] -> '(TLS) send TLS 1.2 ChangeCipherSpec'
(28) &reply::TLS-Session-Information += &session-state:TLS-Session-Information[*] -> '(TLS) send TLS 1.2 Handshake, Finished'
(28) &reply::TLS-Session-Cipher-Suite += &session-state:TLS-Session-Cipher-Suite[*] -> 'ECDHE-RSA-AES256-GCM-SHA384'
(28) &reply::TLS-Session-Version += &session-state:TLS-Session-Version[*] -> 'TLS 1.2'
(28) &reply::User-Name += &session-state:User-Name[*] -> 'sebastian'
(28) } # update = noop
(28) [exec] = noop
(28) policy remove_reply_message_if_eap {
(28) if (&reply:EAP-Message && &reply:Reply-Message) {
(28) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE
(28) else {
(28) [noop] = noop
(28) } # else = noop
(28) } # policy remove_reply_message_if_eap = noop
(28) } # post-auth = noop
(28) EXPAND (%{Calling-Station-ID})
(28) --> (dc-39-6f-9e-dc-d1)
(28) Login OK: [sebastian] (from client school_8021x port 518 cli dc-39-6f-9e-dc-d1) (dc-39-6f-9e-dc-d1)
(28) Sent Access-Accept Id 79 from 172.16.8.20:1812 to 172.16.5.252:60626 length 192
(28) MS-MPPE-Recv-Key = 0xfcd76cfadd66d39f57f5cc37eb084ec665113946ddb4015d255978dbe29140c9
(28) MS-MPPE-Send-Key = 0x513769c774bbbcf0fa89e3d381440929d3f60b634eb29d3948b6f0028cd254bb
(28) EAP-Message = 0x030f0004
(28) Message-Authenticator = 0x00000000000000000000000000000000
(28) Tunnel-Medium-Type := IEEE-802
(28) Tunnel-Private-Group-Id := "12"
(28) Tunnel-Type := VLAN
(28) Framed-MTU += 1004
(28) User-Name += "sebastian"
(28) Finished request
Waking up in 3.3 seconds.
(14) Cleaning up request packet ID 223 with timestamp +138 due to cleanup_delay was reached
(15) Cleaning up request packet ID 231 with timestamp +138 due to cleanup_delay was reached
(16) Cleaning up request packet ID 239 with timestamp +138 due to cleanup_delay was reached
(17) Cleaning up request packet ID 247 with timestamp +138 due to cleanup_delay was reached
(18) Cleaning up request packet ID 255 with timestamp +138 due to cleanup_delay was reached
(19) Cleaning up request packet ID 7 with timestamp +138 due to cleanup_delay was reached
(20) Cleaning up request packet ID 15 with timestamp +138 due to cleanup_delay was reached
(21) Cleaning up request packet ID 23 with timestamp +138 due to cleanup_delay was reached
(22) Cleaning up request packet ID 31 with timestamp +138 due to cleanup_delay was reached
(23) Cleaning up request packet ID 39 with timestamp +138 due to cleanup_delay was reached
Waking up in 1.2 seconds.
(24) Cleaning up request packet ID 47 with timestamp +140 due to cleanup_delay was reached
(25) Cleaning up request packet ID 55 with timestamp +140 due to cleanup_delay was reached
(26) Cleaning up request packet ID 63 with timestamp +140 due to cleanup_delay was reached
(27) Cleaning up request packet ID 71 with timestamp +140 due to cleanup_delay was reached
Waking up in 0.2 seconds.
(28) Cleaning up request packet ID 79 with timestamp +140 due to cleanup_delay was reached
Ready to process requests
********************************* Waited for 1-2 minutes
(29) Received Access-Request Id 71 from 172.16.5.252:60626 to 172.16.8.20:1812 length 575
(29) User-Name = "guest1234"
(29) Service-Type = Framed-User
(29) Cisco-AVPair = "service-type=Framed"
(29) Framed-MTU = 1485
(29) EAP-Message = 0x0201000e01677565737431323334
(29) Message-Authenticator = 0x1947bae52f46acdfd5eaf6fca8918233
(29) Cisco-AVPair = "audit-session-id=FC0510AC0008D39DEFB40307"
(29) Cisco-AVPair = "method=dot1x"
(29) Framed-IP-Address = 172.16.16.3
(29) Cisco-AVPair = "addrv6=fe80::9484:ecbd:23fd:8218"
(29) Cisco-AVPair = "addrv6=2001:470:7370:a00::e35"
(29) Cisco-AVPair = "addrv6=2001:470:7370:a00:cbc:cf89:d740:b3ef"
(29) Cisco-AVPair = "addrv6=2001:470:7370:a00:129:c260:f361:6f28"
(29) Cisco-AVPair = "client-iif-id=100927089"
(29) Cisco-AVPair = "vlan-id=12"
(29) NAS-IP-Address = 172.16.5.252
(29) NAS-Port-Type = Wireless-802.11
(29) NAS-Port = 518
(29) Cisco-AVPair = "cisco-wlan-ssid=WTest"
(29) Cisco-AVPair = "wlan-profile-name=WTest"
(29) Called-Station-Id = "50-2f-a8-ce-da-20:WTest"
(29) Calling-Station-Id = "dc-39-6f-9e-dc-d1"
(29) Airespace-Wlan-Id = 5
(29) NAS-Identifier = "wlc-rz"
(29) WLAN-Group-Cipher = 1027076
(29) WLAN-Pairwise-Cipher = 1027076
(29) WLAN-AKM-Suite = 1027073
(29) WLAN-Group-Mgmt-Cipher = 1027078
(29) # Executing section authorize from file /etc/freeradius/sites-enabled/school_8021x
(29) authorize {
(29) policy filter_username {
(29) if (&User-Name) {
(29) if (&User-Name) -> TRUE
(29) if (&User-Name) {
(29) if (&User-Name =~ / /) {
(29) if (&User-Name =~ / /) -> FALSE
(29) if (&User-Name =~ /@[^@]*@/ ) {
(29) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(29) if (&User-Name =~ /\.\./ ) {
(29) if (&User-Name =~ /\.\./ ) -> FALSE
(29) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) {
(29) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE
(29) if (&User-Name =~ /\.$/) {
(29) if (&User-Name =~ /\.$/) -> FALSE
(29) if (&User-Name =~ /@\./) {
(29) if (&User-Name =~ /@\./) -> FALSE
(29) } # if (&User-Name) = notfound
(29) } # policy filter_username = notfound
(29) [preprocess] = ok
(29) [digest] = noop
(29) suffix: Checking for suffix after "@"
(29) suffix: No '@' in User-Name = "guest1234", looking up realm NULL
(29) suffix: Found realm "NULL"
(29) suffix: Adding Stripped-User-Name = "guest1234"
(29) suffix: Adding Realm = "NULL"
(29) suffix: Authentication realm is LOCAL
(29) [suffix] = ok
(29) [chap] = noop
(29) sql: EXPAND %{%{Stripped-User-Name}:-%{%{User-Name}:-DEFAULT}}
(29) sql: --> guest1234
(29) sql: SQL-User-Name set to 'guest1234'
rlm_sql (sql): Reserved connection (8)
(29) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id
(29) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'guest1234' ORDER BY id
(29) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'guest1234' ORDER BY id
(29) sql: User found in radcheck table
(29) sql: Conditional check items matched, merging assignment check items
(29) sql: Cleartext-Password := "guest1324"
(29) sql: EXPAND SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id
(29) sql: --> SELECT id, username, attribute, value, op FROM radreply WHERE username = 'guest1234' ORDER BY id
(29) sql: Executing select query: SELECT id, username, attribute, value, op FROM radreply WHERE username = 'guest1234' ORDER BY id
(29) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority
(29) sql: --> SELECT groupname FROM radusergroup WHERE username = 'guest1234' ORDER BY priority
(29) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'guest1234' ORDER BY priority
(29) sql: User found in the group table
(29) sql: EXPAND SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id
(29) sql: --> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'guest' ORDER BY id
(29) sql: Executing select query: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'guest' ORDER BY id
(29) sql: Group "guest": Conditional check items matched
(29) sql: Group "guest": Merging assignment check items
(29) sql: EXPAND SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id
(29) sql: --> SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'guest' ORDER BY id
(29) sql: Executing select query: SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'guest' ORDER BY id
(29) sql: Group "guest": Merging reply items
(29) sql: Tunnel-Medium-Type := IEEE-802
(29) sql: Tunnel-Private-Group-Id := "13"
(29) sql: Tunnel-Type := VLAN
rlm_sql (sql): Released connection (8)
Need more connections to reach 10 spares
rlm_sql (sql): Opening additional connection (10), 1 of 29 pending slots used
rlm_sql_mysql: Starting connect to MySQL server
rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 10.11.4-MariaDB-1~deb12u1, protocol version 10
rlm_sql (sql): Closing expired connection (9) - Hit idle_timeout limit
rlm_sql_mysql: Socket destructor called, closing socket
rlm_sql (sql): You probably need to lower "min"
rlm_sql (sql): Closing expired connection (4) - Hit idle_timeout limit
rlm_sql_mysql: Socket destructor called, closing socket
(29) [sql] = ok
(29) [mschap] = noop
(29) eap: Peer sent EAP Response (code 2) ID 1 length 14
(29) eap: EAP-Identity reply, returning 'ok' so we can short-circuit the rest of authorize
(29) [eap] = ok
(29) } # authorize = ok
(29) Found Auth-Type = eap
(29) # Executing group from file /etc/freeradius/sites-enabled/school_8021x
(29) authenticate {
(29) eap: Peer sent packet with method EAP Identity (1)
(29) eap: Calling submodule eap_peap to process data
(29) eap_peap: (TLS) Initiating new session
(29) eap: Sending EAP Request (code 1) ID 2 length 6
(29) eap: EAP session adding &reply:State = 0xbe5c1190be5e0859
(29) [eap] = handled
(29) } # authenticate = handled
(29) Using Post-Auth-Type Challenge
(29) # Executing group from file /etc/freeradius/sites-enabled/school_8021x
(29) Challenge { ... } # empty sub-section is ignored
(29) session-state: Saving cached attributes
(29) Framed-MTU = 1004
(29) Sent Access-Challenge Id 71 from 172.16.8.20:1812 to 172.16.5.252:60626 length 80
(29) Tunnel-Medium-Type = IEEE-802
(29) Tunnel-Private-Group-Id = "13"
(29) Tunnel-Type = VLAN
(29) EAP-Message = 0x010200061920
(29) Message-Authenticator = 0x00000000000000000000000000000000
(29) State = 0xbe5c1190be5e08594a17b1279266c3a5
(29) Finished request
Waking up in 4.9 seconds.
(30) Received Access-Request Id 79 from 172.16.5.252:60626 to 172.16.8.20:1812 length 751
(30) User-Name = "guest1234"
(30) Service-Type = Framed-User
(30) Cisco-AVPair = "service-type=Framed"
(30) Framed-MTU = 1485
(30) EAP-Message = 0x020200ac1980000000a2160303009d010000990303659da1c5fd0d10a3f7439e52882f4257ee44c6a585d156eb1d6d64e88867b46e00002ac02cc02bc030c02f009f009ec024c023c028c027c00ac009c014c013009d009c003d003c0035002f000a01000046000500050100000000000a00080006001d00170018000b00020100000d001a00180804080508060401050102010403050302030202060106030023000000170000ff01000100
(30) Message-Authenticator = 0x0df3571cfb09cb02601a20adada88d7d
(30) Cisco-AVPair = "audit-session-id=FC0510AC0008D39DEFB40307"
(30) Cisco-AVPair = "method=dot1x"
(30) Framed-IP-Address = 172.16.16.3
(30) Cisco-AVPair = "addrv6=fe80::9484:ecbd:23fd:8218"
(30) Cisco-AVPair = "addrv6=2001:470:7370:a00::e35"
(30) Cisco-AVPair = "addrv6=2001:470:7370:a00:cbc:cf89:d740:b3ef"
(30) Cisco-AVPair = "addrv6=2001:470:7370:a00:129:c260:f361:6f28"
(30) Cisco-AVPair = "client-iif-id=100927089"
(30) Cisco-AVPair = "vlan-id=12"
(30) NAS-IP-Address = 172.16.5.252
(30) NAS-Port-Type = Wireless-802.11
(30) NAS-Port = 518
(30) State = 0xbe5c1190be5e08594a17b1279266c3a5
(30) Cisco-AVPair = "cisco-wlan-ssid=WTest"
(30) Cisco-AVPair = "wlan-profile-name=WTest"
(30) Called-Station-Id = "50-2f-a8-ce-da-20:WTest"
(30) Calling-Station-Id = "dc-39-6f-9e-dc-d1"
(30) Airespace-Wlan-Id = 5
(30) NAS-Identifier = "wlc-rz"
(30) WLAN-Group-Cipher = 1027076
(30) WLAN-Pairwise-Cipher = 1027076
(30) WLAN-AKM-Suite = 1027073
(30) WLAN-Group-Mgmt-Cipher = 1027078
(30) Restoring &session-state
(30) &session-state:Framed-MTU = 1004
(30) # Executing section authorize from file /etc/freeradius/sites-enabled/school_8021x
(30) authorize {
(30) policy filter_username {
(30) if (&User-Name) {
(30) if (&User-Name) -> TRUE
(30) if (&User-Name) {
(30) if (&User-Name =~ / /) {
(30) if (&User-Name =~ / /) -> FALSE
(30) if (&User-Name =~ /@[^@]*@/ ) {
(30) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(30) if (&User-Name =~ /\.\./ ) {
(30) if (&User-Name =~ /\.\./ ) -> FALSE
(30) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) {
(30) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE
(30) if (&User-Name =~ /\.$/) {
(30) if (&User-Name =~ /\.$/) -> FALSE
(30) if (&User-Name =~ /@\./) {
(30) if (&User-Name =~ /@\./) -> FALSE
(30) } # if (&User-Name) = notfound
(30) } # policy filter_username = notfound
(30) [preprocess] = ok
(30) [digest] = noop
(30) suffix: Checking for suffix after "@"
(30) suffix: No '@' in User-Name = "guest1234", looking up realm NULL
(30) suffix: Found realm "NULL"
(30) suffix: Adding Stripped-User-Name = "guest1234"
(30) suffix: Adding Realm = "NULL"
(30) suffix: Authentication realm is LOCAL
(30) [suffix] = ok
(30) [chap] = noop
(30) sql: EXPAND %{%{Stripped-User-Name}:-%{%{User-Name}:-DEFAULT}}
(30) sql: --> guest1234
(30) sql: SQL-User-Name set to 'guest1234'
rlm_sql (sql): Reserved connection (8)
(30) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id
(30) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'guest1234' ORDER BY id
(30) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'guest1234' ORDER BY id
(30) sql: User found in radcheck table
(30) sql: Conditional check items matched, merging assignment check items
(30) sql: Cleartext-Password := "guest1324"
(30) sql: EXPAND SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id
(30) sql: --> SELECT id, username, attribute, value, op FROM radreply WHERE username = 'guest1234' ORDER BY id
(30) sql: Executing select query: SELECT id, username, attribute, value, op FROM radreply WHERE username = 'guest1234' ORDER BY id
(30) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority
(30) sql: --> SELECT groupname FROM radusergroup WHERE username = 'guest1234' ORDER BY priority
(30) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'guest1234' ORDER BY priority
(30) sql: User found in the group table
(30) sql: EXPAND SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id
(30) sql: --> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'guest' ORDER BY id
(30) sql: Executing select query: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'guest' ORDER BY id
(30) sql: Group "guest": Conditional check items matched
(30) sql: Group "guest": Merging assignment check items
(30) sql: EXPAND SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id
(30) sql: --> SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'guest' ORDER BY id
(30) sql: Executing select query: SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'guest' ORDER BY id
(30) sql: Group "guest": Merging reply items
(30) sql: Tunnel-Medium-Type := IEEE-802
(30) sql: Tunnel-Private-Group-Id := "13"
(30) sql: Tunnel-Type := VLAN
rlm_sql (sql): Released connection (8)
(30) [sql] = ok
(30) [mschap] = noop
(30) eap: Peer sent EAP Response (code 2) ID 2 length 172
(30) eap: Continuing tunnel setup
(30) [eap] = ok
(30) } # authorize = ok
(30) Found Auth-Type = eap
(30) # Executing group from file /etc/freeradius/sites-enabled/school_8021x
(30) authenticate {
(30) eap: Expiring EAP session with state 0xbe5c1190be5e0859
(30) eap: Finished EAP session with state 0xbe5c1190be5e0859
(30) eap: Previous EAP request found for state 0xbe5c1190be5e0859, released from the list
(30) eap: Peer sent packet with method EAP PEAP (25)
(30) eap: Calling submodule eap_peap to process data
(30) eap_peap: (TLS) EAP Peer says that the final record size will be 162 bytes
(30) eap_peap: (TLS) EAP Got all data (162 bytes)
(30) eap_peap: (TLS) Handshake state - before SSL initialization
(30) eap_peap: (TLS) Handshake state - Server before SSL initialization
(30) eap_peap: (TLS) Handshake state - Server before SSL initialization
(30) eap_peap: (TLS) recv TLS 1.3 Handshake, ClientHello
(30) eap_peap: (TLS) Handshake state - Server SSLv3/TLS read client hello
(30) eap_peap: (TLS) send TLS 1.2 Handshake, ServerHello
(30) eap_peap: (TLS) Handshake state - Server SSLv3/TLS write server hello
(30) eap_peap: (TLS) send TLS 1.2 Handshake, Certificate
(30) eap_peap: (TLS) Handshake state - Server SSLv3/TLS write certificate
(30) eap_peap: (TLS) send TLS 1.2 Handshake, ServerKeyExchange
(30) eap_peap: (TLS) Handshake state - Server SSLv3/TLS write key exchange
(30) eap_peap: (TLS) send TLS 1.2 Handshake, ServerHelloDone
(30) eap_peap: (TLS) Handshake state - Server SSLv3/TLS write server done
(30) eap_peap: (TLS) Server : Need to read more data: SSLv3/TLS write server done
(30) eap_peap: (TLS) In Handshake Phase
(30) eap: Sending EAP Request (code 1) ID 3 length 1014
(30) eap: EAP session adding &reply:State = 0xbe5c1190bf5f0859
(30) [eap] = handled
(30) } # authenticate = handled
(30) Using Post-Auth-Type Challenge
(30) # Executing group from file /etc/freeradius/sites-enabled/school_8021x
(30) Challenge { ... } # empty sub-section is ignored
(30) session-state: Saving cached attributes
(30) Framed-MTU = 1004
(30) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(30) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(30) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(30) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(30) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(30) Sent Access-Challenge Id 79 from 172.16.8.20:1812 to 172.16.5.252:60626 length 1096
(30) Tunnel-Medium-Type = IEEE-802
(30) Tunnel-Private-Group-Id = "13"
(30) Tunnel-Type = VLAN
(30) EAP-Message = 0x010303f619c000001e0d160303003d020000390303ea2123b4e24ca18e126c24f1ccdfd6ddab65ea0dd528145d444f574e4752440100c030000011ff01000100000b000403000102001700001603031c6b0b001c67001c640004f9308204f5308203dda0030201020212042926c418ea01b0d1f5c2840ddfd29795e1300d06092a864886f70d01010b05003032310b300906035504061302555331163014060355040a130d4c6574277320456e6372797074310b3009060355040313025233301e170d3233313131323032333434395a170d3234303231303032333434385a301f311d301b060355040313147261646975732e6c656e6465722e736368756c6530820122300d06092a864886f70d01010105000382010f003082010a0282010100cfb3dce5f106298287ab2ded73bdcd2ab2da13f02234bd1cf8f250f0b9e10ef5b6ffcccc57e4c136f30313160897175c8ce15a1ea450a4cf403c057e1771360ed2e668ab906e240cc020bb426441c63470b261e55f38
(30) Message-Authenticator = 0x00000000000000000000000000000000
(30) State = 0xbe5c1190bf5f08594a17b1279266c3a5
(30) Finished request
Waking up in 4.9 seconds.
(31) Received Access-Request Id 87 from 172.16.5.252:60626 to 172.16.8.20:1812 length 585
(31) User-Name = "guest1234"
(31) Service-Type = Framed-User
(31) Cisco-AVPair = "service-type=Framed"
(31) Framed-MTU = 1485
(31) EAP-Message = 0x020300061900
(31) Message-Authenticator = 0x5f9a5c66d5bdbee79be588fb557d0324
(31) Cisco-AVPair = "audit-session-id=FC0510AC0008D39DEFB40307"
(31) Cisco-AVPair = "method=dot1x"
(31) Framed-IP-Address = 172.16.16.3
(31) Cisco-AVPair = "addrv6=fe80::9484:ecbd:23fd:8218"
(31) Cisco-AVPair = "addrv6=2001:470:7370:a00::e35"
(31) Cisco-AVPair = "addrv6=2001:470:7370:a00:cbc:cf89:d740:b3ef"
(31) Cisco-AVPair = "addrv6=2001:470:7370:a00:129:c260:f361:6f28"
(31) Cisco-AVPair = "client-iif-id=100927089"
(31) Cisco-AVPair = "vlan-id=12"
(31) NAS-IP-Address = 172.16.5.252
(31) NAS-Port-Type = Wireless-802.11
(31) NAS-Port = 518
(31) State = 0xbe5c1190bf5f08594a17b1279266c3a5
(31) Cisco-AVPair = "cisco-wlan-ssid=WTest"
(31) Cisco-AVPair = "wlan-profile-name=WTest"
(31) Called-Station-Id = "50-2f-a8-ce-da-20:WTest"
(31) Calling-Station-Id = "dc-39-6f-9e-dc-d1"
(31) Airespace-Wlan-Id = 5
(31) NAS-Identifier = "wlc-rz"
(31) WLAN-Group-Cipher = 1027076
(31) WLAN-Pairwise-Cipher = 1027076
(31) WLAN-AKM-Suite = 1027073
(31) WLAN-Group-Mgmt-Cipher = 1027078
(31) Restoring &session-state
(31) &session-state:Framed-MTU = 1004
(31) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(31) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(31) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(31) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(31) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(31) # Executing section authorize from file /etc/freeradius/sites-enabled/school_8021x
(31) authorize {
(31) policy filter_username {
(31) if (&User-Name) {
(31) if (&User-Name) -> TRUE
(31) if (&User-Name) {
(31) if (&User-Name =~ / /) {
(31) if (&User-Name =~ / /) -> FALSE
(31) if (&User-Name =~ /@[^@]*@/ ) {
(31) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(31) if (&User-Name =~ /\.\./ ) {
(31) if (&User-Name =~ /\.\./ ) -> FALSE
(31) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) {
(31) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE
(31) if (&User-Name =~ /\.$/) {
(31) if (&User-Name =~ /\.$/) -> FALSE
(31) if (&User-Name =~ /@\./) {
(31) if (&User-Name =~ /@\./) -> FALSE
(31) } # if (&User-Name) = notfound
(31) } # policy filter_username = notfound
(31) [preprocess] = ok
(31) [digest] = noop
(31) suffix: Checking for suffix after "@"
(31) suffix: No '@' in User-Name = "guest1234", looking up realm NULL
(31) suffix: Found realm "NULL"
(31) suffix: Adding Stripped-User-Name = "guest1234"
(31) suffix: Adding Realm = "NULL"
(31) suffix: Authentication realm is LOCAL
(31) [suffix] = ok
(31) [chap] = noop
(31) sql: EXPAND %{%{Stripped-User-Name}:-%{%{User-Name}:-DEFAULT}}
(31) sql: --> guest1234
(31) sql: SQL-User-Name set to 'guest1234'
rlm_sql (sql): Reserved connection (10)
(31) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id
(31) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'guest1234' ORDER BY id
(31) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'guest1234' ORDER BY id
(31) sql: User found in radcheck table
(31) sql: Conditional check items matched, merging assignment check items
(31) sql: Cleartext-Password := "guest1324"
(31) sql: EXPAND SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id
(31) sql: --> SELECT id, username, attribute, value, op FROM radreply WHERE username = 'guest1234' ORDER BY id
(31) sql: Executing select query: SELECT id, username, attribute, value, op FROM radreply WHERE username = 'guest1234' ORDER BY id
(31) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority
(31) sql: --> SELECT groupname FROM radusergroup WHERE username = 'guest1234' ORDER BY priority
(31) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'guest1234' ORDER BY priority
(31) sql: User found in the group table
(31) sql: EXPAND SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id
(31) sql: --> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'guest' ORDER BY id
(31) sql: Executing select query: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'guest' ORDER BY id
(31) sql: Group "guest": Conditional check items matched
(31) sql: Group "guest": Merging assignment check items
(31) sql: EXPAND SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id
(31) sql: --> SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'guest' ORDER BY id
(31) sql: Executing select query: SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'guest' ORDER BY id
(31) sql: Group "guest": Merging reply items
(31) sql: Tunnel-Medium-Type := IEEE-802
(31) sql: Tunnel-Private-Group-Id := "13"
(31) sql: Tunnel-Type := VLAN
rlm_sql (sql): Released connection (10)
(31) [sql] = ok
(31) [mschap] = noop
(31) eap: Peer sent EAP Response (code 2) ID 3 length 6
(31) eap: Continuing tunnel setup
(31) [eap] = ok
(31) } # authorize = ok
(31) Found Auth-Type = eap
(31) # Executing group from file /etc/freeradius/sites-enabled/school_8021x
(31) authenticate {
(31) eap: Expiring EAP session with state 0xbe5c1190bf5f0859
(31) eap: Finished EAP session with state 0xbe5c1190bf5f0859
(31) eap: Previous EAP request found for state 0xbe5c1190bf5f0859, released from the list
(31) eap: Peer sent packet with method EAP PEAP (25)
(31) eap: Calling submodule eap_peap to process data
(31) eap_peap: (TLS) Peer ACKed our handshake fragment
(31) eap: Sending EAP Request (code 1) ID 4 length 1010
(31) eap: EAP session adding &reply:State = 0xbe5c1190bc580859
(31) [eap] = handled
(31) } # authenticate = handled
(31) Using Post-Auth-Type Challenge
(31) # Executing group from file /etc/freeradius/sites-enabled/school_8021x
(31) Challenge { ... } # empty sub-section is ignored
(31) session-state: Saving cached attributes
(31) Framed-MTU = 1004
(31) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(31) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(31) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(31) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(31) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(31) Sent Access-Challenge Id 87 from 172.16.8.20:1812 to 172.16.5.252:60626 length 1090
(31) Tunnel-Medium-Type = IEEE-802
(31) Tunnel-Private-Group-Id = "13"
(31) Tunnel-Type = VLAN
(31) EAP-Message = 0x010403f219400300473045022021d86d99c514e86ea5d3a44852f734ac4f925072d0aaf7a337d6f92e614d6eec022100e912879e5f209fa42e24cd76df09f98c3ef2bb5265d1c205d5e5ae2226f9314a300d06092a864886f70d01010b050003820101009922dd5305695329c64db33f8f5667c95c4cddd0b78bd509b208bfb9f60b5f7da92b8e9df0f08bc0f217e8a3f2c2325c598de59708d1ab23e1e0bbac6ccca9ee0dc5d7d6b615bd222dd7e4cec69758ba7ca279b864a3afac2839be1cdb8d4e3ef438b8d9dc856d261b52da679870f84306cb9caf54f533c4090b372c033d5b808f42e195bd992048ca9a0fb199f1f24ea9f6d26b0a08726996c70a41f57e2009b99728be07bce33f2b789d271eea5bff132dc7f4b260603b559fdb1955cf410003428e50f493e8183bfbe030a0711d89d71427f996db7bddb06e56ad33ca9f7c93b603dab8e6e2fa915d554746f2a7baff627112a3bafdbaed08d22d7acdce5f00056f3082056b30820353a003020102021100
(31) Message-Authenticator = 0x00000000000000000000000000000000
(31) State = 0xbe5c1190bc5808594a17b1279266c3a5
(31) Finished request
Waking up in 4.9 seconds.
(32) Received Access-Request Id 95 from 172.16.5.252:60626 to 172.16.8.20:1812 length 585
(32) User-Name = "guest1234"
(32) Service-Type = Framed-User
(32) Cisco-AVPair = "service-type=Framed"
(32) Framed-MTU = 1485
(32) EAP-Message = 0x020400061900
(32) Message-Authenticator = 0xcd5e3b77c2e5d7ccb482ba0ac29c4f51
(32) Cisco-AVPair = "audit-session-id=FC0510AC0008D39DEFB40307"
(32) Cisco-AVPair = "method=dot1x"
(32) Framed-IP-Address = 172.16.16.3
(32) Cisco-AVPair = "addrv6=fe80::9484:ecbd:23fd:8218"
(32) Cisco-AVPair = "addrv6=2001:470:7370:a00::e35"
(32) Cisco-AVPair = "addrv6=2001:470:7370:a00:cbc:cf89:d740:b3ef"
(32) Cisco-AVPair = "addrv6=2001:470:7370:a00:129:c260:f361:6f28"
(32) Cisco-AVPair = "client-iif-id=100927089"
(32) Cisco-AVPair = "vlan-id=12"
(32) NAS-IP-Address = 172.16.5.252
(32) NAS-Port-Type = Wireless-802.11
(32) NAS-Port = 518
(32) State = 0xbe5c1190bc5808594a17b1279266c3a5
(32) Cisco-AVPair = "cisco-wlan-ssid=WTest"
(32) Cisco-AVPair = "wlan-profile-name=WTest"
(32) Called-Station-Id = "50-2f-a8-ce-da-20:WTest"
(32) Calling-Station-Id = "dc-39-6f-9e-dc-d1"
(32) Airespace-Wlan-Id = 5
(32) NAS-Identifier = "wlc-rz"
(32) WLAN-Group-Cipher = 1027076
(32) WLAN-Pairwise-Cipher = 1027076
(32) WLAN-AKM-Suite = 1027073
(32) WLAN-Group-Mgmt-Cipher = 1027078
(32) Restoring &session-state
(32) &session-state:Framed-MTU = 1004
(32) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(32) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(32) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(32) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(32) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(32) # Executing section authorize from file /etc/freeradius/sites-enabled/school_8021x
(32) authorize {
(32) policy filter_username {
(32) if (&User-Name) {
(32) if (&User-Name) -> TRUE
(32) if (&User-Name) {
(32) if (&User-Name =~ / /) {
(32) if (&User-Name =~ / /) -> FALSE
(32) if (&User-Name =~ /@[^@]*@/ ) {
(32) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(32) if (&User-Name =~ /\.\./ ) {
(32) if (&User-Name =~ /\.\./ ) -> FALSE
(32) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) {
(32) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE
(32) if (&User-Name =~ /\.$/) {
(32) if (&User-Name =~ /\.$/) -> FALSE
(32) if (&User-Name =~ /@\./) {
(32) if (&User-Name =~ /@\./) -> FALSE
(32) } # if (&User-Name) = notfound
(32) } # policy filter_username = notfound
(32) [preprocess] = ok
(32) [digest] = noop
(32) suffix: Checking for suffix after "@"
(32) suffix: No '@' in User-Name = "guest1234", looking up realm NULL
(32) suffix: Found realm "NULL"
(32) suffix: Adding Stripped-User-Name = "guest1234"
(32) suffix: Adding Realm = "NULL"
(32) suffix: Authentication realm is LOCAL
(32) [suffix] = ok
(32) [chap] = noop
(32) sql: EXPAND %{%{Stripped-User-Name}:-%{%{User-Name}:-DEFAULT}}
(32) sql: --> guest1234
(32) sql: SQL-User-Name set to 'guest1234'
rlm_sql (sql): Reserved connection (8)
(32) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id
(32) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'guest1234' ORDER BY id
(32) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'guest1234' ORDER BY id
(32) sql: User found in radcheck table
(32) sql: Conditional check items matched, merging assignment check items
(32) sql: Cleartext-Password := "guest1324"
(32) sql: EXPAND SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id
(32) sql: --> SELECT id, username, attribute, value, op FROM radreply WHERE username = 'guest1234' ORDER BY id
(32) sql: Executing select query: SELECT id, username, attribute, value, op FROM radreply WHERE username = 'guest1234' ORDER BY id
(32) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority
(32) sql: --> SELECT groupname FROM radusergroup WHERE username = 'guest1234' ORDER BY priority
(32) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'guest1234' ORDER BY priority
(32) sql: User found in the group table
(32) sql: EXPAND SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id
(32) sql: --> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'guest' ORDER BY id
(32) sql: Executing select query: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'guest' ORDER BY id
(32) sql: Group "guest": Conditional check items matched
(32) sql: Group "guest": Merging assignment check items
(32) sql: EXPAND SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id
(32) sql: --> SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'guest' ORDER BY id
(32) sql: Executing select query: SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'guest' ORDER BY id
(32) sql: Group "guest": Merging reply items
(32) sql: Tunnel-Medium-Type := IEEE-802
(32) sql: Tunnel-Private-Group-Id := "13"
(32) sql: Tunnel-Type := VLAN
rlm_sql (sql): Released connection (8)
(32) [sql] = ok
(32) [mschap] = noop
(32) eap: Peer sent EAP Response (code 2) ID 4 length 6
(32) eap: Continuing tunnel setup
(32) [eap] = ok
(32) } # authorize = ok
(32) Found Auth-Type = eap
(32) # Executing group from file /etc/freeradius/sites-enabled/school_8021x
(32) authenticate {
(32) eap: Expiring EAP session with state 0xbe5c1190bc580859
(32) eap: Finished EAP session with state 0xbe5c1190bc580859
(32) eap: Previous EAP request found for state 0xbe5c1190bc580859, released from the list
(32) eap: Peer sent packet with method EAP PEAP (25)
(32) eap: Calling submodule eap_peap to process data
(32) eap_peap: (TLS) Peer ACKed our handshake fragment
(32) eap: Sending EAP Request (code 1) ID 5 length 1010
(32) eap: EAP session adding &reply:State = 0xbe5c1190bd590859
(32) [eap] = handled
(32) } # authenticate = handled
(32) Using Post-Auth-Type Challenge
(32) # Executing group from file /etc/freeradius/sites-enabled/school_8021x
(32) Challenge { ... } # empty sub-section is ignored
(32) session-state: Saving cached attributes
(32) Framed-MTU = 1004
(32) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(32) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(32) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(32) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(32) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(32) Sent Access-Challenge Id 95 from 172.16.8.20:1812 to 172.16.5.252:60626 length 1090
(32) Tunnel-Medium-Type = IEEE-802
(32) Tunnel-Private-Group-Id = "13"
(32) Tunnel-Type = VLAN
(32) EAP-Message = 0x010503f219407b4a1c4b730512fcc6eae050137c439374b3ca74e78e1f0108d030d45b7136b407bac130305c48b7823b98a67d608aa2a32982ccbabd83041ba2830341a1d605f11bc2b6f0a87c863b46a8482a88dc769a76bf1f6aa53d198feb38f364dec82b0d0a28fff7dbe21542d422d0275de179fe18e77088ad4ee6d98b3ac6dd27516effbc64f533434f0203010001a3423040300e0603551d0f0101ff040403020106300f0603551d130101ff040530030101ff301d0603551d0e0416041479b459e67bb6e5e40173800888c81a58f6e99b6e300d06092a864886f70d01010b05000382020100551f58a9bcb2a850d00cb1d81a6920272908ac61755c8a6ef882e5692fd5f6564bb9b8731059d321977ee74c71fbb2d260ad39a80bea17215685f1500e59ebcee059e9bac915ef869d8f8480f6e4e99190dc179b621b45f06695d27c6fc2ea3bef1fcfcbd6ae27f1a9b0c8aefd7d7e9afa2204ebffd97fea912b22b1170e8ff28a345b58d8fc01c954b9b826cc
(32) Message-Authenticator = 0x00000000000000000000000000000000
(32) State = 0xbe5c1190bd5908594a17b1279266c3a5
(32) Finished request
Waking up in 4.9 seconds.
(33) Received Access-Request Id 103 from 172.16.5.252:60626 to 172.16.8.20:1812 length 585
(33) User-Name = "guest1234"
(33) Service-Type = Framed-User
(33) Cisco-AVPair = "service-type=Framed"
(33) Framed-MTU = 1485
(33) EAP-Message = 0x020500061900
(33) Message-Authenticator = 0x9c2996c3e9fd2468e1bfbb619ef84029
(33) Cisco-AVPair = "audit-session-id=FC0510AC0008D39DEFB40307"
(33) Cisco-AVPair = "method=dot1x"
(33) Framed-IP-Address = 172.16.16.3
(33) Cisco-AVPair = "addrv6=fe80::9484:ecbd:23fd:8218"
(33) Cisco-AVPair = "addrv6=2001:470:7370:a00::e35"
(33) Cisco-AVPair = "addrv6=2001:470:7370:a00:cbc:cf89:d740:b3ef"
(33) Cisco-AVPair = "addrv6=2001:470:7370:a00:129:c260:f361:6f28"
(33) Cisco-AVPair = "client-iif-id=100927089"
(33) Cisco-AVPair = "vlan-id=12"
(33) NAS-IP-Address = 172.16.5.252
(33) NAS-Port-Type = Wireless-802.11
(33) NAS-Port = 518
(33) State = 0xbe5c1190bd5908594a17b1279266c3a5
(33) Cisco-AVPair = "cisco-wlan-ssid=WTest"
(33) Cisco-AVPair = "wlan-profile-name=WTest"
(33) Called-Station-Id = "50-2f-a8-ce-da-20:WTest"
(33) Calling-Station-Id = "dc-39-6f-9e-dc-d1"
(33) Airespace-Wlan-Id = 5
(33) NAS-Identifier = "wlc-rz"
(33) WLAN-Group-Cipher = 1027076
(33) WLAN-Pairwise-Cipher = 1027076
(33) WLAN-AKM-Suite = 1027073
(33) WLAN-Group-Mgmt-Cipher = 1027078
(33) Restoring &session-state
(33) &session-state:Framed-MTU = 1004
(33) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(33) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(33) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(33) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(33) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(33) # Executing section authorize from file /etc/freeradius/sites-enabled/school_8021x
(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 !~ /@(.+)\.(.+)$/)) {
(33) if ((&User-Name =~ /@/) && (&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) = notfound
(33) } # policy filter_username = notfound
(33) [preprocess] = ok
(33) [digest] = noop
(33) suffix: Checking for suffix after "@"
(33) suffix: No '@' in User-Name = "guest1234", looking up realm NULL
(33) suffix: Found realm "NULL"
(33) suffix: Adding Stripped-User-Name = "guest1234"
(33) suffix: Adding Realm = "NULL"
(33) suffix: Authentication realm is LOCAL
(33) [suffix] = ok
(33) [chap] = noop
(33) sql: EXPAND %{%{Stripped-User-Name}:-%{%{User-Name}:-DEFAULT}}
(33) sql: --> guest1234
(33) sql: SQL-User-Name set to 'guest1234'
rlm_sql (sql): Reserved connection (10)
(33) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id
(33) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'guest1234' ORDER BY id
(33) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'guest1234' ORDER BY id
(33) sql: User found in radcheck table
(33) sql: Conditional check items matched, merging assignment check items
(33) sql: Cleartext-Password := "guest1324"
(33) sql: EXPAND SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id
(33) sql: --> SELECT id, username, attribute, value, op FROM radreply WHERE username = 'guest1234' ORDER BY id
(33) sql: Executing select query: SELECT id, username, attribute, value, op FROM radreply WHERE username = 'guest1234' ORDER BY id
(33) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority
(33) sql: --> SELECT groupname FROM radusergroup WHERE username = 'guest1234' ORDER BY priority
(33) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'guest1234' ORDER BY priority
(33) sql: User found in the group table
(33) sql: EXPAND SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id
(33) sql: --> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'guest' ORDER BY id
(33) sql: Executing select query: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'guest' ORDER BY id
(33) sql: Group "guest": Conditional check items matched
(33) sql: Group "guest": Merging assignment check items
(33) sql: EXPAND SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id
(33) sql: --> SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'guest' ORDER BY id
(33) sql: Executing select query: SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'guest' ORDER BY id
(33) sql: Group "guest": Merging reply items
(33) sql: Tunnel-Medium-Type := IEEE-802
(33) sql: Tunnel-Private-Group-Id := "13"
(33) sql: Tunnel-Type := VLAN
rlm_sql (sql): Released connection (10)
(33) [sql] = ok
(33) [mschap] = noop
(33) eap: Peer sent EAP Response (code 2) ID 5 length 6
(33) eap: Continuing tunnel setup
(33) [eap] = ok
(33) } # authorize = ok
(33) Found Auth-Type = eap
(33) # Executing group from file /etc/freeradius/sites-enabled/school_8021x
(33) authenticate {
(33) eap: Expiring EAP session with state 0xbe5c1190bd590859
(33) eap: Finished EAP session with state 0xbe5c1190bd590859
(33) eap: Previous EAP request found for state 0xbe5c1190bd590859, released from the list
(33) eap: Peer sent packet with method EAP PEAP (25)
(33) eap: Calling submodule eap_peap to process data
(33) eap_peap: (TLS) Peer ACKed our handshake fragment
(33) eap: Sending EAP Request (code 1) ID 6 length 1010
(33) eap: EAP session adding &reply:State = 0xbe5c1190ba5a0859
(33) [eap] = handled
(33) } # authenticate = handled
(33) Using Post-Auth-Type Challenge
(33) # Executing group from file /etc/freeradius/sites-enabled/school_8021x
(33) Challenge { ... } # empty sub-section is ignored
(33) session-state: Saving cached attributes
(33) Framed-MTU = 1004
(33) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(33) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(33) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(33) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(33) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(33) Sent Access-Challenge Id 103 from 172.16.8.20:1812 to 172.16.5.252:60626 length 1090
(33) Tunnel-Medium-Type = IEEE-802
(33) Tunnel-Private-Group-Id = "13"
(33) Tunnel-Type = VLAN
(33) EAP-Message = 0x010603f21940cd9bd59f80830aec094af3164a3e5ccf77acde67050d1d07b6dc16fb5a8b14dbe27160c4ba459511898eea06dff72a161ca4b9c5c532e003e01e8218388bd745d80a6a6ee60077fb02517d22d80a6e9a5b77dff0fa41ec39dc75ca68070c1feaa3423040300e0603551d0f0101ff040403020106300f0603551d130101ff040530030101ff301d0603551d0e041604147c4296aede4b483bfa92f89e8ccf6d8ba9723795300a06082a8648ce3d040303036800306502307b794e465084c24487461b4570ff5899def4fda4d255a6202d74d634bc41a3505f012756b4be277506af122e75988dfc0231008bf5776cd4c865aae00b2cee149d2737a4f953a551e42983d7f890315b429f0af5feae0068e78c490fb66f5b5b15f2e70002ca308202c63082024da003020102021100b3bddff8a7845bbce903a04135b34a45300a06082a8648ce3d040303304f310b300906035504061302555331293027060355040a1320496e7465726e6574205365637572
(33) Message-Authenticator = 0x00000000000000000000000000000000
(33) State = 0xbe5c1190ba5a08594a17b1279266c3a5
(33) Finished request
Waking up in 4.9 seconds.
(34) Received Access-Request Id 111 from 172.16.5.252:60626 to 172.16.8.20:1812 length 585
(34) User-Name = "guest1234"
(34) Service-Type = Framed-User
(34) Cisco-AVPair = "service-type=Framed"
(34) Framed-MTU = 1485
(34) EAP-Message = 0x020600061900
(34) Message-Authenticator = 0x620334d1d6f6f594f268f3bd8fa32991
(34) Cisco-AVPair = "audit-session-id=FC0510AC0008D39DEFB40307"
(34) Cisco-AVPair = "method=dot1x"
(34) Framed-IP-Address = 172.16.16.3
(34) Cisco-AVPair = "addrv6=fe80::9484:ecbd:23fd:8218"
(34) Cisco-AVPair = "addrv6=2001:470:7370:a00::e35"
(34) Cisco-AVPair = "addrv6=2001:470:7370:a00:cbc:cf89:d740:b3ef"
(34) Cisco-AVPair = "addrv6=2001:470:7370:a00:129:c260:f361:6f28"
(34) Cisco-AVPair = "client-iif-id=100927089"
(34) Cisco-AVPair = "vlan-id=12"
(34) NAS-IP-Address = 172.16.5.252
(34) NAS-Port-Type = Wireless-802.11
(34) NAS-Port = 518
(34) State = 0xbe5c1190ba5a08594a17b1279266c3a5
(34) Cisco-AVPair = "cisco-wlan-ssid=WTest"
(34) Cisco-AVPair = "wlan-profile-name=WTest"
(34) Called-Station-Id = "50-2f-a8-ce-da-20:WTest"
(34) Calling-Station-Id = "dc-39-6f-9e-dc-d1"
(34) Airespace-Wlan-Id = 5
(34) NAS-Identifier = "wlc-rz"
(34) WLAN-Group-Cipher = 1027076
(34) WLAN-Pairwise-Cipher = 1027076
(34) WLAN-AKM-Suite = 1027073
(34) WLAN-Group-Mgmt-Cipher = 1027078
(34) Restoring &session-state
(34) &session-state:Framed-MTU = 1004
(34) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(34) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(34) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(34) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(34) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(34) # Executing section authorize from file /etc/freeradius/sites-enabled/school_8021x
(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 !~ /@(.+)\.(.+)$/)) {
(34) if ((&User-Name =~ /@/) && (&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) = notfound
(34) } # policy filter_username = notfound
(34) [preprocess] = ok
(34) [digest] = noop
(34) suffix: Checking for suffix after "@"
(34) suffix: No '@' in User-Name = "guest1234", looking up realm NULL
(34) suffix: Found realm "NULL"
(34) suffix: Adding Stripped-User-Name = "guest1234"
(34) suffix: Adding Realm = "NULL"
(34) suffix: Authentication realm is LOCAL
(34) [suffix] = ok
(34) [chap] = noop
(34) sql: EXPAND %{%{Stripped-User-Name}:-%{%{User-Name}:-DEFAULT}}
(34) sql: --> guest1234
(34) sql: SQL-User-Name set to 'guest1234'
rlm_sql (sql): Reserved connection (8)
(34) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id
(34) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'guest1234' ORDER BY id
(34) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'guest1234' ORDER BY id
(34) sql: User found in radcheck table
(34) sql: Conditional check items matched, merging assignment check items
(34) sql: Cleartext-Password := "guest1324"
(34) sql: EXPAND SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id
(34) sql: --> SELECT id, username, attribute, value, op FROM radreply WHERE username = 'guest1234' ORDER BY id
(34) sql: Executing select query: SELECT id, username, attribute, value, op FROM radreply WHERE username = 'guest1234' ORDER BY id
(34) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority
(34) sql: --> SELECT groupname FROM radusergroup WHERE username = 'guest1234' ORDER BY priority
(34) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'guest1234' ORDER BY priority
(34) sql: User found in the group table
(34) sql: EXPAND SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id
(34) sql: --> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'guest' ORDER BY id
(34) sql: Executing select query: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'guest' ORDER BY id
(34) sql: Group "guest": Conditional check items matched
(34) sql: Group "guest": Merging assignment check items
(34) sql: EXPAND SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id
(34) sql: --> SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'guest' ORDER BY id
(34) sql: Executing select query: SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'guest' ORDER BY id
(34) sql: Group "guest": Merging reply items
(34) sql: Tunnel-Medium-Type := IEEE-802
(34) sql: Tunnel-Private-Group-Id := "13"
(34) sql: Tunnel-Type := VLAN
rlm_sql (sql): Released connection (8)
(34) [sql] = ok
(34) [mschap] = noop
(34) eap: Peer sent EAP Response (code 2) ID 6 length 6
(34) eap: Continuing tunnel setup
(34) [eap] = ok
(34) } # authorize = ok
(34) Found Auth-Type = eap
(34) # Executing group from file /etc/freeradius/sites-enabled/school_8021x
(34) authenticate {
(34) eap: Expiring EAP session with state 0xbe5c1190ba5a0859
(34) eap: Finished EAP session with state 0xbe5c1190ba5a0859
(34) eap: Previous EAP request found for state 0xbe5c1190ba5a0859, released from the list
(34) eap: Peer sent packet with method EAP PEAP (25)
(34) eap: Calling submodule eap_peap to process data
(34) eap_peap: (TLS) Peer ACKed our handshake fragment
(34) eap: Sending EAP Request (code 1) ID 7 length 1010
(34) eap: EAP session adding &reply:State = 0xbe5c1190bb5b0859
(34) [eap] = handled
(34) } # authenticate = handled
(34) Using Post-Auth-Type Challenge
(34) # Executing group from file /etc/freeradius/sites-enabled/school_8021x
(34) Challenge { ... } # empty sub-section is ignored
(34) session-state: Saving cached attributes
(34) Framed-MTU = 1004
(34) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(34) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(34) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(34) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(34) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(34) Sent Access-Challenge Id 111 from 172.16.8.20:1812 to 172.16.5.252:60626 length 1090
(34) Tunnel-Medium-Type = IEEE-802
(34) Tunnel-Private-Group-Id = "13"
(34) Tunnel-Type = VLAN
(34) EAP-Message = 0x010703f2194002c63082024ca00302010202104ed23df6af7ec7f9b0c4726ff9512a77300a06082a8648ce3d040303304f310b300906035504061302555331293027060355040a1320496e7465726e65742053656375726974792052657365617263682047726f7570311530130603550403130c4953524720526f6f74205832301e170d3230303930343030303030305a170d3235303931353136303030305a3032310b300906035504061302555331163014060355040a130d4c6574277320456e6372797074310b30090603550403130245323076301006072a8648ce3d020106052b8104002203620004239a2cede58b198d61559ec7e65560e8932e08b44a0356b54e21b9f939d15538669fcb6c1543c42b27b08eefb9fe31a780aef844cd820184c81a89de3f225307b962dfea7d2ad17f5fc3e51e7c76e689f88bcb457780491a842fe5640d7ad6dea382010830820104300e0603551d0f0101ff040403020186301d0603551d250416301406082b0601050507
(34) Message-Authenticator = 0x00000000000000000000000000000000
(34) State = 0xbe5c1190bb5b08594a17b1279266c3a5
(34) Finished request
Waking up in 4.9 seconds.
(35) Received Access-Request Id 119 from 172.16.5.252:60626 to 172.16.8.20:1812 length 585
(35) User-Name = "guest1234"
(35) Service-Type = Framed-User
(35) Cisco-AVPair = "service-type=Framed"
(35) Framed-MTU = 1485
(35) EAP-Message = 0x020700061900
(35) Message-Authenticator = 0xba5018444232493a57b38224de61d01d
(35) Cisco-AVPair = "audit-session-id=FC0510AC0008D39DEFB40307"
(35) Cisco-AVPair = "method=dot1x"
(35) Framed-IP-Address = 172.16.16.3
(35) Cisco-AVPair = "addrv6=fe80::9484:ecbd:23fd:8218"
(35) Cisco-AVPair = "addrv6=2001:470:7370:a00::e35"
(35) Cisco-AVPair = "addrv6=2001:470:7370:a00:cbc:cf89:d740:b3ef"
(35) Cisco-AVPair = "addrv6=2001:470:7370:a00:129:c260:f361:6f28"
(35) Cisco-AVPair = "client-iif-id=100927089"
(35) Cisco-AVPair = "vlan-id=12"
(35) NAS-IP-Address = 172.16.5.252
(35) NAS-Port-Type = Wireless-802.11
(35) NAS-Port = 518
(35) State = 0xbe5c1190bb5b08594a17b1279266c3a5
(35) Cisco-AVPair = "cisco-wlan-ssid=WTest"
(35) Cisco-AVPair = "wlan-profile-name=WTest"
(35) Called-Station-Id = "50-2f-a8-ce-da-20:WTest"
(35) Calling-Station-Id = "dc-39-6f-9e-dc-d1"
(35) Airespace-Wlan-Id = 5
(35) NAS-Identifier = "wlc-rz"
(35) WLAN-Group-Cipher = 1027076
(35) WLAN-Pairwise-Cipher = 1027076
(35) WLAN-AKM-Suite = 1027073
(35) WLAN-Group-Mgmt-Cipher = 1027078
(35) Restoring &session-state
(35) &session-state:Framed-MTU = 1004
(35) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(35) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(35) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(35) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(35) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(35) # Executing section authorize from file /etc/freeradius/sites-enabled/school_8021x
(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 !~ /@(.+)\.(.+)$/)) {
(35) if ((&User-Name =~ /@/) && (&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) = notfound
(35) } # policy filter_username = notfound
(35) [preprocess] = ok
(35) [digest] = noop
(35) suffix: Checking for suffix after "@"
(35) suffix: No '@' in User-Name = "guest1234", looking up realm NULL
(35) suffix: Found realm "NULL"
(35) suffix: Adding Stripped-User-Name = "guest1234"
(35) suffix: Adding Realm = "NULL"
(35) suffix: Authentication realm is LOCAL
(35) [suffix] = ok
(35) [chap] = noop
(35) sql: EXPAND %{%{Stripped-User-Name}:-%{%{User-Name}:-DEFAULT}}
(35) sql: --> guest1234
(35) sql: SQL-User-Name set to 'guest1234'
rlm_sql (sql): Reserved connection (10)
(35) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id
(35) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'guest1234' ORDER BY id
(35) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'guest1234' ORDER BY id
(35) sql: User found in radcheck table
(35) sql: Conditional check items matched, merging assignment check items
(35) sql: Cleartext-Password := "guest1324"
(35) sql: EXPAND SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id
(35) sql: --> SELECT id, username, attribute, value, op FROM radreply WHERE username = 'guest1234' ORDER BY id
(35) sql: Executing select query: SELECT id, username, attribute, value, op FROM radreply WHERE username = 'guest1234' ORDER BY id
(35) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority
(35) sql: --> SELECT groupname FROM radusergroup WHERE username = 'guest1234' ORDER BY priority
(35) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'guest1234' ORDER BY priority
(35) sql: User found in the group table
(35) sql: EXPAND SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id
(35) sql: --> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'guest' ORDER BY id
(35) sql: Executing select query: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'guest' ORDER BY id
(35) sql: Group "guest": Conditional check items matched
(35) sql: Group "guest": Merging assignment check items
(35) sql: EXPAND SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id
(35) sql: --> SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'guest' ORDER BY id
(35) sql: Executing select query: SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'guest' ORDER BY id
(35) sql: Group "guest": Merging reply items
(35) sql: Tunnel-Medium-Type := IEEE-802
(35) sql: Tunnel-Private-Group-Id := "13"
(35) sql: Tunnel-Type := VLAN
rlm_sql (sql): Released connection (10)
(35) [sql] = ok
(35) [mschap] = noop
(35) eap: Peer sent EAP Response (code 2) ID 7 length 6
(35) eap: Continuing tunnel setup
(35) [eap] = ok
(35) } # authorize = ok
(35) Found Auth-Type = eap
(35) # Executing group from file /etc/freeradius/sites-enabled/school_8021x
(35) authenticate {
(35) eap: Expiring EAP session with state 0xbe5c1190bb5b0859
(35) eap: Finished EAP session with state 0xbe5c1190bb5b0859
(35) eap: Previous EAP request found for state 0xbe5c1190bb5b0859, 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: (TLS) Peer ACKed our handshake fragment
(35) eap: Sending EAP Request (code 1) ID 8 length 1010
(35) eap: EAP session adding &reply:State = 0xbe5c1190b8540859
(35) [eap] = handled
(35) } # authenticate = handled
(35) Using Post-Auth-Type Challenge
(35) # Executing group from file /etc/freeradius/sites-enabled/school_8021x
(35) Challenge { ... } # empty sub-section is ignored
(35) session-state: Saving cached attributes
(35) Framed-MTU = 1004
(35) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(35) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(35) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(35) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(35) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(35) Sent Access-Challenge Id 119 from 172.16.8.20:1812 to 172.16.5.252:60626 length 1090
(35) Tunnel-Medium-Type = IEEE-802
(35) Tunnel-Private-Group-Id = "13"
(35) Tunnel-Type = VLAN
(35) EAP-Message = 0x010803f2194094145535578c9ea8a23919f5823c42a94e6ef53bc32edb8dc0b05cf35938e7edcf69f05a0b1bbec094242587fa3771b313e71cace19befdbe43b45524596a9c153ce34c852eeb5aeed8fde6070e2a554abb66d0e97a540346b2bd3bc66eb66347cfa6b8b8f572999f830175dba726ffb81c5add286583d17c7e709bbf12bf786dcc1da715dd446e3ccad25c188bc60677566b3f118f7a25ce653ff3a88b647a5ff1318ea9809773f9d53f9cf01e5f5a6701714af63a4ff99b3939ddc53a706fe48851da169ae2575bb13cc5203f5ed51a18bdb150203010001a382010830820104300e0603551d0f0101ff040403020186301d0603551d250416301406082b0601050507030206082b0601050507030130120603551d130101ff040830060101ff020100301d0603551d0e04160414142eb317b75856cbae500940e61faf9d8b14c2c6301f0603551d2304183016801479b459e67bb6e5e40173800888c81a58f6e99b6e303206082b0601050507010104
(35) Message-Authenticator = 0x00000000000000000000000000000000
(35) State = 0xbe5c1190b85408594a17b1279266c3a5
(35) Finished request
Waking up in 4.9 seconds.
(36) Received Access-Request Id 127 from 172.16.5.252:60626 to 172.16.8.20:1812 length 585
(36) User-Name = "guest1234"
(36) Service-Type = Framed-User
(36) Cisco-AVPair = "service-type=Framed"
(36) Framed-MTU = 1485
(36) EAP-Message = 0x020800061900
(36) Message-Authenticator = 0xa000186734083e7060ab362844c94194
(36) Cisco-AVPair = "audit-session-id=FC0510AC0008D39DEFB40307"
(36) Cisco-AVPair = "method=dot1x"
(36) Framed-IP-Address = 172.16.16.3
(36) Cisco-AVPair = "addrv6=fe80::9484:ecbd:23fd:8218"
(36) Cisco-AVPair = "addrv6=2001:470:7370:a00::e35"
(36) Cisco-AVPair = "addrv6=2001:470:7370:a00:cbc:cf89:d740:b3ef"
(36) Cisco-AVPair = "addrv6=2001:470:7370:a00:129:c260:f361:6f28"
(36) Cisco-AVPair = "client-iif-id=100927089"
(36) Cisco-AVPair = "vlan-id=12"
(36) NAS-IP-Address = 172.16.5.252
(36) NAS-Port-Type = Wireless-802.11
(36) NAS-Port = 518
(36) State = 0xbe5c1190b85408594a17b1279266c3a5
(36) Cisco-AVPair = "cisco-wlan-ssid=WTest"
(36) Cisco-AVPair = "wlan-profile-name=WTest"
(36) Called-Station-Id = "50-2f-a8-ce-da-20:WTest"
(36) Calling-Station-Id = "dc-39-6f-9e-dc-d1"
(36) Airespace-Wlan-Id = 5
(36) NAS-Identifier = "wlc-rz"
(36) WLAN-Group-Cipher = 1027076
(36) WLAN-Pairwise-Cipher = 1027076
(36) WLAN-AKM-Suite = 1027073
(36) WLAN-Group-Mgmt-Cipher = 1027078
(36) Restoring &session-state
(36) &session-state:Framed-MTU = 1004
(36) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(36) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(36) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(36) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(36) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(36) # Executing section authorize from file /etc/freeradius/sites-enabled/school_8021x
(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 !~ /@(.+)\.(.+)$/)) {
(36) if ((&User-Name =~ /@/) && (&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) = notfound
(36) } # policy filter_username = notfound
(36) [preprocess] = ok
(36) [digest] = noop
(36) suffix: Checking for suffix after "@"
(36) suffix: No '@' in User-Name = "guest1234", looking up realm NULL
(36) suffix: Found realm "NULL"
(36) suffix: Adding Stripped-User-Name = "guest1234"
(36) suffix: Adding Realm = "NULL"
(36) suffix: Authentication realm is LOCAL
(36) [suffix] = ok
(36) [chap] = noop
(36) sql: EXPAND %{%{Stripped-User-Name}:-%{%{User-Name}:-DEFAULT}}
(36) sql: --> guest1234
(36) sql: SQL-User-Name set to 'guest1234'
rlm_sql (sql): Reserved connection (8)
(36) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id
(36) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'guest1234' ORDER BY id
(36) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'guest1234' ORDER BY id
(36) sql: User found in radcheck table
(36) sql: Conditional check items matched, merging assignment check items
(36) sql: Cleartext-Password := "guest1324"
(36) sql: EXPAND SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id
(36) sql: --> SELECT id, username, attribute, value, op FROM radreply WHERE username = 'guest1234' ORDER BY id
(36) sql: Executing select query: SELECT id, username, attribute, value, op FROM radreply WHERE username = 'guest1234' ORDER BY id
(36) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority
(36) sql: --> SELECT groupname FROM radusergroup WHERE username = 'guest1234' ORDER BY priority
(36) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'guest1234' ORDER BY priority
(36) sql: User found in the group table
(36) sql: EXPAND SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id
(36) sql: --> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'guest' ORDER BY id
(36) sql: Executing select query: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'guest' ORDER BY id
(36) sql: Group "guest": Conditional check items matched
(36) sql: Group "guest": Merging assignment check items
(36) sql: EXPAND SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id
(36) sql: --> SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'guest' ORDER BY id
(36) sql: Executing select query: SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'guest' ORDER BY id
(36) sql: Group "guest": Merging reply items
(36) sql: Tunnel-Medium-Type := IEEE-802
(36) sql: Tunnel-Private-Group-Id := "13"
(36) sql: Tunnel-Type := VLAN
rlm_sql (sql): Released connection (8)
(36) [sql] = ok
(36) [mschap] = noop
(36) eap: Peer sent EAP Response (code 2) ID 8 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/sites-enabled/school_8021x
(36) authenticate {
(36) eap: Expiring EAP session with state 0xbe5c1190b8540859
(36) eap: Finished EAP session with state 0xbe5c1190b8540859
(36) eap: Previous EAP request found for state 0xbe5c1190b8540859, 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: (TLS) Peer ACKed our handshake fragment
(36) eap: Sending EAP Request (code 1) ID 9 length 1010
(36) eap: EAP session adding &reply:State = 0xbe5c1190b9550859
(36) [eap] = handled
(36) } # authenticate = handled
(36) Using Post-Auth-Type Challenge
(36) # Executing group from file /etc/freeradius/sites-enabled/school_8021x
(36) Challenge { ... } # empty sub-section is ignored
(36) session-state: Saving cached attributes
(36) Framed-MTU = 1004
(36) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(36) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(36) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(36) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(36) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(36) Sent Access-Challenge Id 127 from 172.16.8.20:1812 to 172.16.5.252:60626 length 1090
(36) Tunnel-Medium-Type = IEEE-802
(36) Tunnel-Private-Group-Id = "13"
(36) Tunnel-Type = VLAN
(36) EAP-Message = 0x010903f219404eca979cb45bc073a8abb847c200051a30820516308202fea0030201020211008a792250abe52c526ceecf7fc942dd62300d06092a864886f70d01010b0500304f310b300906035504061302555331293027060355040a1320496e7465726e65742053656375726974792052657365617263682047726f7570311530130603550403130c4953524720526f6f74205831301e170d3230303930343030303030305a170d3235303931353136303030305a3032310b300906035504061302555331163014060355040a130d4c6574277320456e6372797074310b300906035504031302523430820122300d06092a864886f70d01010105000382010f003082010a0282010100b328dc7729d3e791bef3b70a00c7fbf2550b2522635336afe90820df0daf283ecdc6ab57b69da42519a5d2326d49a608b9c72fa19b93c520406b843120a28e30602560efd91a893f1f6971b2daea3f7341c4906f66fd7d9e58d877cfcd597544c9a10a7b9f3f1b0e3a666fb6
(36) Message-Authenticator = 0x00000000000000000000000000000000
(36) State = 0xbe5c1190b95508594a17b1279266c3a5
(36) Finished request
Waking up in 4.9 seconds.
(37) Received Access-Request Id 135 from 172.16.5.252:60626 to 172.16.8.20:1812 length 585
(37) User-Name = "guest1234"
(37) Service-Type = Framed-User
(37) Cisco-AVPair = "service-type=Framed"
(37) Framed-MTU = 1485
(37) EAP-Message = 0x020900061900
(37) Message-Authenticator = 0x879d9feb40689d703ef866077e4831f8
(37) Cisco-AVPair = "audit-session-id=FC0510AC0008D39DEFB40307"
(37) Cisco-AVPair = "method=dot1x"
(37) Framed-IP-Address = 172.16.16.3
(37) Cisco-AVPair = "addrv6=fe80::9484:ecbd:23fd:8218"
(37) Cisco-AVPair = "addrv6=2001:470:7370:a00::e35"
(37) Cisco-AVPair = "addrv6=2001:470:7370:a00:cbc:cf89:d740:b3ef"
(37) Cisco-AVPair = "addrv6=2001:470:7370:a00:129:c260:f361:6f28"
(37) Cisco-AVPair = "client-iif-id=100927089"
(37) Cisco-AVPair = "vlan-id=12"
(37) NAS-IP-Address = 172.16.5.252
(37) NAS-Port-Type = Wireless-802.11
(37) NAS-Port = 518
(37) State = 0xbe5c1190b95508594a17b1279266c3a5
(37) Cisco-AVPair = "cisco-wlan-ssid=WTest"
(37) Cisco-AVPair = "wlan-profile-name=WTest"
(37) Called-Station-Id = "50-2f-a8-ce-da-20:WTest"
(37) Calling-Station-Id = "dc-39-6f-9e-dc-d1"
(37) Airespace-Wlan-Id = 5
(37) NAS-Identifier = "wlc-rz"
(37) WLAN-Group-Cipher = 1027076
(37) WLAN-Pairwise-Cipher = 1027076
(37) WLAN-AKM-Suite = 1027073
(37) WLAN-Group-Mgmt-Cipher = 1027078
(37) Restoring &session-state
(37) &session-state:Framed-MTU = 1004
(37) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(37) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(37) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(37) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(37) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(37) # Executing section authorize from file /etc/freeradius/sites-enabled/school_8021x
(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 !~ /@(.+)\.(.+)$/)) {
(37) if ((&User-Name =~ /@/) && (&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) = notfound
(37) } # policy filter_username = notfound
(37) [preprocess] = ok
(37) [digest] = noop
(37) suffix: Checking for suffix after "@"
(37) suffix: No '@' in User-Name = "guest1234", looking up realm NULL
(37) suffix: Found realm "NULL"
(37) suffix: Adding Stripped-User-Name = "guest1234"
(37) suffix: Adding Realm = "NULL"
(37) suffix: Authentication realm is LOCAL
(37) [suffix] = ok
(37) [chap] = noop
(37) sql: EXPAND %{%{Stripped-User-Name}:-%{%{User-Name}:-DEFAULT}}
(37) sql: --> guest1234
(37) sql: SQL-User-Name set to 'guest1234'
rlm_sql (sql): Reserved connection (10)
(37) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id
(37) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'guest1234' ORDER BY id
(37) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'guest1234' ORDER BY id
(37) sql: User found in radcheck table
(37) sql: Conditional check items matched, merging assignment check items
(37) sql: Cleartext-Password := "guest1324"
(37) sql: EXPAND SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id
(37) sql: --> SELECT id, username, attribute, value, op FROM radreply WHERE username = 'guest1234' ORDER BY id
(37) sql: Executing select query: SELECT id, username, attribute, value, op FROM radreply WHERE username = 'guest1234' ORDER BY id
(37) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority
(37) sql: --> SELECT groupname FROM radusergroup WHERE username = 'guest1234' ORDER BY priority
(37) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'guest1234' ORDER BY priority
(37) sql: User found in the group table
(37) sql: EXPAND SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id
(37) sql: --> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'guest' ORDER BY id
(37) sql: Executing select query: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'guest' ORDER BY id
(37) sql: Group "guest": Conditional check items matched
(37) sql: Group "guest": Merging assignment check items
(37) sql: EXPAND SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id
(37) sql: --> SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'guest' ORDER BY id
(37) sql: Executing select query: SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'guest' ORDER BY id
(37) sql: Group "guest": Merging reply items
(37) sql: Tunnel-Medium-Type := IEEE-802
(37) sql: Tunnel-Private-Group-Id := "13"
(37) sql: Tunnel-Type := VLAN
rlm_sql (sql): Released connection (10)
(37) [sql] = ok
(37) [mschap] = noop
(37) eap: Peer sent EAP Response (code 2) ID 9 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/sites-enabled/school_8021x
(37) authenticate {
(37) eap: Expiring EAP session with state 0xbe5c1190b9550859
(37) eap: Finished EAP session with state 0xbe5c1190b9550859
(37) eap: Previous EAP request found for state 0xbe5c1190b9550859, 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: (TLS) Peer ACKed our handshake fragment
(37) eap: Sending EAP Request (code 1) ID 10 length 671
(37) eap: EAP session adding &reply:State = 0xbe5c1190b6560859
(37) [eap] = handled
(37) } # authenticate = handled
(37) Using Post-Auth-Type Challenge
(37) # Executing group from file /etc/freeradius/sites-enabled/school_8021x
(37) Challenge { ... } # empty sub-section is ignored
(37) session-state: Saving cached attributes
(37) Framed-MTU = 1004
(37) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(37) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(37) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(37) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(37) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(37) Sent Access-Challenge Id 135 from 172.16.8.20:1812 to 172.16.5.252:60626 length 749
(37) Tunnel-Medium-Type = IEEE-802
(37) Tunnel-Private-Group-Id = "13"
(37) Tunnel-Type = VLAN
(37) EAP-Message = 0x010a029f1900a23c4b2ebe6fce241cfecfb4ef92e0893c47693b65e325135266c418bf3d953ceb4625c13f3fa8e613a021d5c838e1bfcaaeb5b7f6427525dd257cead876235410135e2cd32ec27401dc1e4c37b0011e606930080ef830ef9516d9d86dff41d8904e872c966f9d3ceeb1b38adbb9313016e355fd0f04de5c483e6b6e2d01e86df98d4c8a89c75306b88fb141fedacddc59dbfebf74fb83fae9911354811c8ec79448c1cec3acaabf5d3f1ff770ffcaf61035229dc0415f7a3d0cbdd269daab6a090acbde87b4c88b72a30c1803e6d20b62d5be9f6e7bce76bd26ac8548297e67cce78664e45a60ba120f80bcaaf153ed4f949ba0cca37e9c54336c3e6905e7be7fb370b60b11a208f42a5713e07cd4a1fb608f7765efd3894d7aec3a806f3d0e53a11eea052919663e7a26fa0c2a873dd95cc7f34df9af8eb06893308808160303014d0c0001490300174104e82e683be0a1b050e4fbfd9278e46a7890cfd48d188194d1932a2bc722c8d17e8f63239539
(37) Message-Authenticator = 0x00000000000000000000000000000000
(37) State = 0xbe5c1190b65608594a17b1279266c3a5
(37) Finished request
Waking up in 4.9 seconds.
(38) Received Access-Request Id 143 from 172.16.5.252:60626 to 172.16.8.20:1812 length 715
(38) User-Name = "guest1234"
(38) Service-Type = Framed-User
(38) Cisco-AVPair = "service-type=Framed"
(38) Framed-MTU = 1485
(38) EAP-Message = 0x020a008819800000007e1603030046100000424104bfeb734827220b0464cee83ac8fb92baa075d28a501770289dd0cdf4b8d79de1f05d6ea748b9f2b37edcb6ad034eddfa2f9dcf7fb96c6b4aa056850904ad419214030300010116030300280000000000000000be989c7b93a28e361223c034b865ef79525f7b34af1cdbe57eb89e76f790ae1e
(38) Message-Authenticator = 0xd642d150173a0b5d792245944734b5ae
(38) Cisco-AVPair = "audit-session-id=FC0510AC0008D39DEFB40307"
(38) Cisco-AVPair = "method=dot1x"
(38) Framed-IP-Address = 172.16.16.3
(38) Cisco-AVPair = "addrv6=fe80::9484:ecbd:23fd:8218"
(38) Cisco-AVPair = "addrv6=2001:470:7370:a00::e35"
(38) Cisco-AVPair = "addrv6=2001:470:7370:a00:cbc:cf89:d740:b3ef"
(38) Cisco-AVPair = "addrv6=2001:470:7370:a00:129:c260:f361:6f28"
(38) Cisco-AVPair = "client-iif-id=100927089"
(38) Cisco-AVPair = "vlan-id=12"
(38) NAS-IP-Address = 172.16.5.252
(38) NAS-Port-Type = Wireless-802.11
(38) NAS-Port = 518
(38) State = 0xbe5c1190b65608594a17b1279266c3a5
(38) Cisco-AVPair = "cisco-wlan-ssid=WTest"
(38) Cisco-AVPair = "wlan-profile-name=WTest"
(38) Called-Station-Id = "50-2f-a8-ce-da-20:WTest"
(38) Calling-Station-Id = "dc-39-6f-9e-dc-d1"
(38) Airespace-Wlan-Id = 5
(38) NAS-Identifier = "wlc-rz"
(38) WLAN-Group-Cipher = 1027076
(38) WLAN-Pairwise-Cipher = 1027076
(38) WLAN-AKM-Suite = 1027073
(38) WLAN-Group-Mgmt-Cipher = 1027078
(38) Restoring &session-state
(38) &session-state:Framed-MTU = 1004
(38) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(38) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(38) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(38) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(38) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(38) # Executing section authorize from file /etc/freeradius/sites-enabled/school_8021x
(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 !~ /@(.+)\.(.+)$/)) {
(38) if ((&User-Name =~ /@/) && (&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) = notfound
(38) } # policy filter_username = notfound
(38) [preprocess] = ok
(38) [digest] = noop
(38) suffix: Checking for suffix after "@"
(38) suffix: No '@' in User-Name = "guest1234", looking up realm NULL
(38) suffix: Found realm "NULL"
(38) suffix: Adding Stripped-User-Name = "guest1234"
(38) suffix: Adding Realm = "NULL"
(38) suffix: Authentication realm is LOCAL
(38) [suffix] = ok
(38) [chap] = noop
(38) sql: EXPAND %{%{Stripped-User-Name}:-%{%{User-Name}:-DEFAULT}}
(38) sql: --> guest1234
(38) sql: SQL-User-Name set to 'guest1234'
rlm_sql (sql): Reserved connection (8)
(38) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id
(38) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'guest1234' ORDER BY id
(38) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'guest1234' ORDER BY id
(38) sql: User found in radcheck table
(38) sql: Conditional check items matched, merging assignment check items
(38) sql: Cleartext-Password := "guest1324"
(38) sql: EXPAND SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id
(38) sql: --> SELECT id, username, attribute, value, op FROM radreply WHERE username = 'guest1234' ORDER BY id
(38) sql: Executing select query: SELECT id, username, attribute, value, op FROM radreply WHERE username = 'guest1234' ORDER BY id
(38) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority
(38) sql: --> SELECT groupname FROM radusergroup WHERE username = 'guest1234' ORDER BY priority
(38) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'guest1234' ORDER BY priority
(38) sql: User found in the group table
(38) sql: EXPAND SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id
(38) sql: --> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'guest' ORDER BY id
(38) sql: Executing select query: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'guest' ORDER BY id
(38) sql: Group "guest": Conditional check items matched
(38) sql: Group "guest": Merging assignment check items
(38) sql: EXPAND SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id
(38) sql: --> SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'guest' ORDER BY id
(38) sql: Executing select query: SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'guest' ORDER BY id
(38) sql: Group "guest": Merging reply items
(38) sql: Tunnel-Medium-Type := IEEE-802
(38) sql: Tunnel-Private-Group-Id := "13"
(38) sql: Tunnel-Type := VLAN
rlm_sql (sql): Released connection (8)
(38) [sql] = ok
(38) [mschap] = noop
(38) eap: Peer sent EAP Response (code 2) ID 10 length 136
(38) eap: Continuing tunnel setup
(38) [eap] = ok
(38) } # authorize = ok
(38) Found Auth-Type = eap
(38) # Executing group from file /etc/freeradius/sites-enabled/school_8021x
(38) authenticate {
(38) eap: Expiring EAP session with state 0xbe5c1190b6560859
(38) eap: Finished EAP session with state 0xbe5c1190b6560859
(38) eap: Previous EAP request found for state 0xbe5c1190b6560859, 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: (TLS) EAP Peer says that the final record size will be 126 bytes
(38) eap_peap: (TLS) EAP Got all data (126 bytes)
(38) eap_peap: (TLS) Handshake state - Server SSLv3/TLS write server done
(38) eap_peap: (TLS) recv TLS 1.2 Handshake, ClientKeyExchange
(38) eap_peap: (TLS) Handshake state - Server SSLv3/TLS read client key exchange
(38) eap_peap: (TLS) Handshake state - Server SSLv3/TLS read change cipher spec
(38) eap_peap: (TLS) recv TLS 1.2 Handshake, Finished
(38) eap_peap: (TLS) Handshake state - Server SSLv3/TLS read finished
(38) eap_peap: (TLS) send TLS 1.2 ChangeCipherSpec
(38) eap_peap: (TLS) Handshake state - Server SSLv3/TLS write change cipher spec
(38) eap_peap: (TLS) send TLS 1.2 Handshake, Finished
(38) eap_peap: (TLS) Handshake state - Server SSLv3/TLS write finished
(38) eap_peap: (TLS) Handshake state - SSL negotiation finished successfully
(38) eap_peap: (TLS) Connection Established
(38) eap_peap: TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(38) eap_peap: TLS-Session-Version = "TLS 1.2"
(38) eap: Sending EAP Request (code 1) ID 11 length 57
(38) eap: EAP session adding &reply:State = 0xbe5c1190b7570859
(38) [eap] = handled
(38) } # authenticate = handled
(38) Using Post-Auth-Type Challenge
(38) # Executing group from file /etc/freeradius/sites-enabled/school_8021x
(38) Challenge { ... } # empty sub-section is ignored
(38) session-state: Saving cached attributes
(38) Framed-MTU = 1004
(38) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(38) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(38) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(38) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(38) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(38) TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, ClientKeyExchange"
(38) TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, Finished"
(38) TLS-Session-Information = "(TLS) send TLS 1.2 ChangeCipherSpec"
(38) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Finished"
(38) TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(38) TLS-Session-Version = "TLS 1.2"
(38) Sent Access-Challenge Id 143 from 172.16.8.20:1812 to 172.16.5.252:60626 length 131
(38) Tunnel-Medium-Type = IEEE-802
(38) Tunnel-Private-Group-Id = "13"
(38) Tunnel-Type = VLAN
(38) EAP-Message = 0x010b0039190014030300010116030300280644172af1b961efbe72df51103b0c9c7b69cb1e04a3b5e22f02d21bfc10ce1a9b913610d3bc49b6
(38) Message-Authenticator = 0x00000000000000000000000000000000
(38) State = 0xbe5c1190b75708594a17b1279266c3a5
(38) Finished request
Waking up in 4.9 seconds.
(39) Received Access-Request Id 151 from 172.16.5.252:60626 to 172.16.8.20:1812 length 585
(39) User-Name = "guest1234"
(39) Service-Type = Framed-User
(39) Cisco-AVPair = "service-type=Framed"
(39) Framed-MTU = 1485
(39) EAP-Message = 0x020b00061900
(39) Message-Authenticator = 0x803364e632465ea76439b0cf5165abe0
(39) Cisco-AVPair = "audit-session-id=FC0510AC0008D39DEFB40307"
(39) Cisco-AVPair = "method=dot1x"
(39) Framed-IP-Address = 172.16.16.3
(39) Cisco-AVPair = "addrv6=fe80::9484:ecbd:23fd:8218"
(39) Cisco-AVPair = "addrv6=2001:470:7370:a00::e35"
(39) Cisco-AVPair = "addrv6=2001:470:7370:a00:cbc:cf89:d740:b3ef"
(39) Cisco-AVPair = "addrv6=2001:470:7370:a00:129:c260:f361:6f28"
(39) Cisco-AVPair = "client-iif-id=100927089"
(39) Cisco-AVPair = "vlan-id=12"
(39) NAS-IP-Address = 172.16.5.252
(39) NAS-Port-Type = Wireless-802.11
(39) NAS-Port = 518
(39) State = 0xbe5c1190b75708594a17b1279266c3a5
(39) Cisco-AVPair = "cisco-wlan-ssid=WTest"
(39) Cisco-AVPair = "wlan-profile-name=WTest"
(39) Called-Station-Id = "50-2f-a8-ce-da-20:WTest"
(39) Calling-Station-Id = "dc-39-6f-9e-dc-d1"
(39) Airespace-Wlan-Id = 5
(39) NAS-Identifier = "wlc-rz"
(39) WLAN-Group-Cipher = 1027076
(39) WLAN-Pairwise-Cipher = 1027076
(39) WLAN-AKM-Suite = 1027073
(39) WLAN-Group-Mgmt-Cipher = 1027078
(39) Restoring &session-state
(39) &session-state:Framed-MTU = 1004
(39) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(39) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(39) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(39) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(39) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(39) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, ClientKeyExchange"
(39) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, Finished"
(39) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 ChangeCipherSpec"
(39) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Finished"
(39) &session-state:TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(39) &session-state:TLS-Session-Version = "TLS 1.2"
(39) # Executing section authorize from file /etc/freeradius/sites-enabled/school_8021x
(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 !~ /@(.+)\.(.+)$/)) {
(39) if ((&User-Name =~ /@/) && (&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) = notfound
(39) } # policy filter_username = notfound
(39) [preprocess] = ok
(39) [digest] = noop
(39) suffix: Checking for suffix after "@"
(39) suffix: No '@' in User-Name = "guest1234", looking up realm NULL
(39) suffix: Found realm "NULL"
(39) suffix: Adding Stripped-User-Name = "guest1234"
(39) suffix: Adding Realm = "NULL"
(39) suffix: Authentication realm is LOCAL
(39) [suffix] = ok
(39) [chap] = noop
(39) sql: EXPAND %{%{Stripped-User-Name}:-%{%{User-Name}:-DEFAULT}}
(39) sql: --> guest1234
(39) sql: SQL-User-Name set to 'guest1234'
rlm_sql (sql): Reserved connection (10)
(39) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id
(39) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'guest1234' ORDER BY id
(39) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'guest1234' ORDER BY id
(39) sql: User found in radcheck table
(39) sql: Conditional check items matched, merging assignment check items
(39) sql: Cleartext-Password := "guest1324"
(39) sql: EXPAND SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id
(39) sql: --> SELECT id, username, attribute, value, op FROM radreply WHERE username = 'guest1234' ORDER BY id
(39) sql: Executing select query: SELECT id, username, attribute, value, op FROM radreply WHERE username = 'guest1234' ORDER BY id
(39) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority
(39) sql: --> SELECT groupname FROM radusergroup WHERE username = 'guest1234' ORDER BY priority
(39) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'guest1234' ORDER BY priority
(39) sql: User found in the group table
(39) sql: EXPAND SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id
(39) sql: --> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'guest' ORDER BY id
(39) sql: Executing select query: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'guest' ORDER BY id
(39) sql: Group "guest": Conditional check items matched
(39) sql: Group "guest": Merging assignment check items
(39) sql: EXPAND SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id
(39) sql: --> SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'guest' ORDER BY id
(39) sql: Executing select query: SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'guest' ORDER BY id
(39) sql: Group "guest": Merging reply items
(39) sql: Tunnel-Medium-Type := IEEE-802
(39) sql: Tunnel-Private-Group-Id := "13"
(39) sql: Tunnel-Type := VLAN
rlm_sql (sql): Released connection (10)
Need 1 more connections to reach min connections (3)
Need more connections to reach 10 spares
rlm_sql (sql): Opening additional connection (11), 1 of 30 pending slots used
rlm_sql_mysql: Starting connect to MySQL server
rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 10.11.4-MariaDB-1~deb12u1, protocol version 10
(39) [sql] = ok
(39) [mschap] = noop
(39) eap: Peer sent EAP Response (code 2) ID 11 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/sites-enabled/school_8021x
(39) authenticate {
(39) eap: Expiring EAP session with state 0xbe5c1190b7570859
(39) eap: Finished EAP session with state 0xbe5c1190b7570859
(39) eap: Previous EAP request found for state 0xbe5c1190b7570859, 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: (TLS) Peer ACKed our handshake fragment. handshake is finished
(39) eap_peap: Session established. Decoding tunneled attributes
(39) eap_peap: PEAP state TUNNEL ESTABLISHED
(39) eap: Sending EAP Request (code 1) ID 12 length 40
(39) eap: EAP session adding &reply:State = 0xbe5c1190b4500859
(39) [eap] = handled
(39) } # authenticate = handled
(39) Using Post-Auth-Type Challenge
(39) # Executing group from file /etc/freeradius/sites-enabled/school_8021x
(39) Challenge { ... } # empty sub-section is ignored
(39) session-state: Saving cached attributes
(39) Framed-MTU = 1004
(39) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(39) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(39) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(39) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(39) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(39) TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, ClientKeyExchange"
(39) TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, Finished"
(39) TLS-Session-Information = "(TLS) send TLS 1.2 ChangeCipherSpec"
(39) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Finished"
(39) TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(39) TLS-Session-Version = "TLS 1.2"
(39) Sent Access-Challenge Id 151 from 172.16.8.20:1812 to 172.16.5.252:60626 length 114
(39) Tunnel-Medium-Type = IEEE-802
(39) Tunnel-Private-Group-Id = "13"
(39) Tunnel-Type = VLAN
(39) EAP-Message = 0x010c00281900170303001d0644172af1b961f0c88dd326495835c096554cc2bfca0ae138e4becb17
(39) Message-Authenticator = 0x00000000000000000000000000000000
(39) State = 0xbe5c1190b45008594a17b1279266c3a5
(39) Finished request
Waking up in 2.4 seconds.
(40) Received Access-Request Id 159 from 172.16.5.252:60626 to 172.16.8.20:1812 length 624
(40) User-Name = "guest1234"
(40) Service-Type = Framed-User
(40) Cisco-AVPair = "service-type=Framed"
(40) Framed-MTU = 1485
(40) EAP-Message = 0x020c002d190017030300220000000000000001e11305a7f181a87ada30a0141af5a8c014a31f55fd20ef26d544
(40) Message-Authenticator = 0x335d2030d5e8e9c3a2f0ecdaef7d6c48
(40) Cisco-AVPair = "audit-session-id=FC0510AC0008D39DEFB40307"
(40) Cisco-AVPair = "method=dot1x"
(40) Framed-IP-Address = 172.16.16.3
(40) Cisco-AVPair = "addrv6=fe80::9484:ecbd:23fd:8218"
(40) Cisco-AVPair = "addrv6=2001:470:7370:a00::e35"
(40) Cisco-AVPair = "addrv6=2001:470:7370:a00:cbc:cf89:d740:b3ef"
(40) Cisco-AVPair = "addrv6=2001:470:7370:a00:129:c260:f361:6f28"
(40) Cisco-AVPair = "client-iif-id=100927089"
(40) Cisco-AVPair = "vlan-id=12"
(40) NAS-IP-Address = 172.16.5.252
(40) NAS-Port-Type = Wireless-802.11
(40) NAS-Port = 518
(40) State = 0xbe5c1190b45008594a17b1279266c3a5
(40) Cisco-AVPair = "cisco-wlan-ssid=WTest"
(40) Cisco-AVPair = "wlan-profile-name=WTest"
(40) Called-Station-Id = "50-2f-a8-ce-da-20:WTest"
(40) Calling-Station-Id = "dc-39-6f-9e-dc-d1"
(40) Airespace-Wlan-Id = 5
(40) NAS-Identifier = "wlc-rz"
(40) WLAN-Group-Cipher = 1027076
(40) WLAN-Pairwise-Cipher = 1027076
(40) WLAN-AKM-Suite = 1027073
(40) WLAN-Group-Mgmt-Cipher = 1027078
(40) Restoring &session-state
(40) &session-state:Framed-MTU = 1004
(40) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(40) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(40) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(40) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(40) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(40) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, ClientKeyExchange"
(40) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, Finished"
(40) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 ChangeCipherSpec"
(40) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Finished"
(40) &session-state:TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(40) &session-state:TLS-Session-Version = "TLS 1.2"
(40) # Executing section authorize from file /etc/freeradius/sites-enabled/school_8021x
(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 !~ /@(.+)\.(.+)$/)) {
(40) if ((&User-Name =~ /@/) && (&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) = notfound
(40) } # policy filter_username = notfound
(40) [preprocess] = ok
(40) [digest] = noop
(40) suffix: Checking for suffix after "@"
(40) suffix: No '@' in User-Name = "guest1234", looking up realm NULL
(40) suffix: Found realm "NULL"
(40) suffix: Adding Stripped-User-Name = "guest1234"
(40) suffix: Adding Realm = "NULL"
(40) suffix: Authentication realm is LOCAL
(40) [suffix] = ok
(40) [chap] = noop
(40) sql: EXPAND %{%{Stripped-User-Name}:-%{%{User-Name}:-DEFAULT}}
(40) sql: --> guest1234
(40) sql: SQL-User-Name set to 'guest1234'
rlm_sql (sql): Reserved connection (8)
(40) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id
(40) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'guest1234' ORDER BY id
(40) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'guest1234' ORDER BY id
(40) sql: User found in radcheck table
(40) sql: Conditional check items matched, merging assignment check items
(40) sql: Cleartext-Password := "guest1324"
(40) sql: EXPAND SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id
(40) sql: --> SELECT id, username, attribute, value, op FROM radreply WHERE username = 'guest1234' ORDER BY id
(40) sql: Executing select query: SELECT id, username, attribute, value, op FROM radreply WHERE username = 'guest1234' ORDER BY id
(40) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority
(40) sql: --> SELECT groupname FROM radusergroup WHERE username = 'guest1234' ORDER BY priority
(40) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'guest1234' ORDER BY priority
(40) sql: User found in the group table
(40) sql: EXPAND SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id
(40) sql: --> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'guest' ORDER BY id
(40) sql: Executing select query: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'guest' ORDER BY id
(40) sql: Group "guest": Conditional check items matched
(40) sql: Group "guest": Merging assignment check items
(40) sql: EXPAND SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id
(40) sql: --> SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'guest' ORDER BY id
(40) sql: Executing select query: SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'guest' ORDER BY id
(40) sql: Group "guest": Merging reply items
(40) sql: Tunnel-Medium-Type := IEEE-802
(40) sql: Tunnel-Private-Group-Id := "13"
(40) sql: Tunnel-Type := VLAN
rlm_sql (sql): Released connection (8)
(40) [sql] = ok
(40) [mschap] = noop
(40) eap: Peer sent EAP Response (code 2) ID 12 length 45
(40) eap: Continuing tunnel setup
(40) [eap] = ok
(40) } # authorize = ok
(40) Found Auth-Type = eap
(40) # Executing group from file /etc/freeradius/sites-enabled/school_8021x
(40) authenticate {
(40) eap: Expiring EAP session with state 0xbe5c1190b4500859
(40) eap: Finished EAP session with state 0xbe5c1190b4500859
(40) eap: Previous EAP request found for state 0xbe5c1190b4500859, 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: (TLS) EAP Done initial handshake
(40) eap_peap: Session established. Decoding tunneled attributes
(40) eap_peap: PEAP state WAITING FOR INNER IDENTITY
(40) eap_peap: Identity - guest1234
(40) eap_peap: Got inner identity 'guest1234'
(40) eap_peap: Setting default EAP type for tunneled EAP session
(40) eap_peap: Got tunneled request
(40) eap_peap: EAP-Message = 0x020c000e01677565737431323334
(40) eap_peap: Setting User-Name to guest1234
(40) eap_peap: Sending tunneled request to inner-tunnel
(40) eap_peap: EAP-Message = 0x020c000e01677565737431323334
(40) eap_peap: FreeRADIUS-Proxied-To = 127.0.0.1
(40) eap_peap: User-Name = "guest1234"
(40) eap_peap: Service-Type = Framed-User
(40) eap_peap: Cisco-AVPair = "service-type=Framed"
(40) eap_peap: Cisco-AVPair = "audit-session-id=FC0510AC0008D39DEFB40307"
(40) eap_peap: Cisco-AVPair = "method=dot1x"
(40) eap_peap: Cisco-AVPair = "addrv6=fe80::9484:ecbd:23fd:8218"
(40) eap_peap: Cisco-AVPair = "addrv6=2001:470:7370:a00::e35"
(40) eap_peap: Cisco-AVPair = "addrv6=2001:470:7370:a00:cbc:cf89:d740:b3ef"
(40) eap_peap: Cisco-AVPair = "addrv6=2001:470:7370:a00:129:c260:f361:6f28"
(40) eap_peap: Cisco-AVPair = "client-iif-id=100927089"
(40) eap_peap: Cisco-AVPair = "vlan-id=12"
(40) eap_peap: Cisco-AVPair = "cisco-wlan-ssid=WTest"
(40) eap_peap: Cisco-AVPair = "wlan-profile-name=WTest"
(40) eap_peap: Framed-MTU = 1485
(40) eap_peap: Framed-IP-Address = 172.16.16.3
(40) eap_peap: NAS-IP-Address = 172.16.5.252
(40) eap_peap: NAS-Port-Type = Wireless-802.11
(40) eap_peap: NAS-Port = 518
(40) eap_peap: Called-Station-Id = "50-2f-a8-ce-da-20:WTest"
(40) eap_peap: Calling-Station-Id = "dc-39-6f-9e-dc-d1"
(40) eap_peap: Airespace-Wlan-Id = 5
(40) eap_peap: NAS-Identifier = "wlc-rz"
(40) eap_peap: WLAN-Group-Cipher = 1027076
(40) eap_peap: WLAN-Pairwise-Cipher = 1027076
(40) eap_peap: WLAN-AKM-Suite = 1027073
(40) eap_peap: WLAN-Group-Mgmt-Cipher = 1027078
(40) eap_peap: Event-Timestamp = "Jan 9 2024 20:43:06 CET"
(40) Virtual server inner-tunnel received request
(40) EAP-Message = 0x020c000e01677565737431323334
(40) FreeRADIUS-Proxied-To = 127.0.0.1
(40) User-Name = "guest1234"
(40) Service-Type = Framed-User
(40) Cisco-AVPair = "service-type=Framed"
(40) Cisco-AVPair = "audit-session-id=FC0510AC0008D39DEFB40307"
(40) Cisco-AVPair = "method=dot1x"
(40) Cisco-AVPair = "addrv6=fe80::9484:ecbd:23fd:8218"
(40) Cisco-AVPair = "addrv6=2001:470:7370:a00::e35"
(40) Cisco-AVPair = "addrv6=2001:470:7370:a00:cbc:cf89:d740:b3ef"
(40) Cisco-AVPair = "addrv6=2001:470:7370:a00:129:c260:f361:6f28"
(40) Cisco-AVPair = "client-iif-id=100927089"
(40) Cisco-AVPair = "vlan-id=12"
(40) Cisco-AVPair = "cisco-wlan-ssid=WTest"
(40) Cisco-AVPair = "wlan-profile-name=WTest"
(40) Framed-MTU = 1485
(40) Framed-IP-Address = 172.16.16.3
(40) NAS-IP-Address = 172.16.5.252
(40) NAS-Port-Type = Wireless-802.11
(40) NAS-Port = 518
(40) Called-Station-Id = "50-2f-a8-ce-da-20:WTest"
(40) Calling-Station-Id = "dc-39-6f-9e-dc-d1"
(40) Airespace-Wlan-Id = 5
(40) NAS-Identifier = "wlc-rz"
(40) WLAN-Group-Cipher = 1027076
(40) WLAN-Pairwise-Cipher = 1027076
(40) WLAN-AKM-Suite = 1027073
(40) WLAN-Group-Mgmt-Cipher = 1027078
(40) Event-Timestamp = "Jan 9 2024 20:43:06 CET"
(40) WARNING: Outer and inner identities are the same. User privacy is compromised.
(40) server inner-tunnel {
(40) # Executing section authorize from file /etc/freeradius/sites-enabled/inner-tunnel
(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 !~ /@(.+)\.(.+)$/)) {
(40) if ((&User-Name =~ /@/) && (&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) = notfound
(40) } # policy filter_username = notfound
(40) [chap] = noop
(40) [mschap] = noop
(40) suffix: Checking for suffix after "@"
(40) suffix: No '@' in User-Name = "guest1234", looking up realm NULL
(40) suffix: Found realm "NULL"
(40) suffix: Adding Stripped-User-Name = "guest1234"
(40) suffix: Adding Realm = "NULL"
(40) suffix: Authentication realm is LOCAL
(40) [suffix] = ok
(40) update control {
(40) &Proxy-To-Realm := LOCAL
(40) } # update control = noop
(40) eap: Peer sent EAP Response (code 2) ID 12 length 14
(40) eap: EAP-Identity reply, returning 'ok' so we can short-circuit the rest of authorize
(40) [eap] = ok
(40) } # authorize = ok
(40) Found Auth-Type = eap
(40) # Executing group from file /etc/freeradius/sites-enabled/inner-tunnel
(40) authenticate {
(40) eap: Peer sent packet with method EAP Identity (1)
(40) eap: Calling submodule eap_mschapv2 to process data
(40) eap_mschapv2: Issuing Challenge
(40) eap: Sending EAP Request (code 1) ID 13 length 50
(40) eap: EAP session adding &reply:State = 0x3ae9c95c3ae4d3b9
(40) [eap] = handled
(40) } # authenticate = handled
(40) } # server inner-tunnel
(40) Virtual server sending reply
(40) EAP-Message = 0x010d00321a010d002d106aff60c4cff2eda4a422d4a74f22e9e5524144495553204865696d736368756c65204c656e646572
(40) Message-Authenticator = 0x00000000000000000000000000000000
(40) State = 0x3ae9c95c3ae4d3b9379e40b34ad6711b
(40) eap_peap: Got tunneled reply code 11
(40) eap_peap: EAP-Message = 0x010d00321a010d002d106aff60c4cff2eda4a422d4a74f22e9e5524144495553204865696d736368756c65204c656e646572
(40) eap_peap: Message-Authenticator = 0x00000000000000000000000000000000
(40) eap_peap: State = 0x3ae9c95c3ae4d3b9379e40b34ad6711b
(40) eap_peap: Got tunneled reply RADIUS code 11
(40) eap_peap: EAP-Message = 0x010d00321a010d002d106aff60c4cff2eda4a422d4a74f22e9e5524144495553204865696d736368756c65204c656e646572
(40) eap_peap: Message-Authenticator = 0x00000000000000000000000000000000
(40) eap_peap: State = 0x3ae9c95c3ae4d3b9379e40b34ad6711b
(40) eap_peap: Got tunneled Access-Challenge
(40) eap: Sending EAP Request (code 1) ID 13 length 81
(40) eap: EAP session adding &reply:State = 0xbe5c1190b5510859
(40) [eap] = handled
(40) } # authenticate = handled
(40) Using Post-Auth-Type Challenge
(40) # Executing group from file /etc/freeradius/sites-enabled/school_8021x
(40) Challenge { ... } # empty sub-section is ignored
(40) session-state: Saving cached attributes
(40) Framed-MTU = 1004
(40) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(40) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(40) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(40) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(40) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(40) TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, ClientKeyExchange"
(40) TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, Finished"
(40) TLS-Session-Information = "(TLS) send TLS 1.2 ChangeCipherSpec"
(40) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Finished"
(40) TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(40) TLS-Session-Version = "TLS 1.2"
(40) Sent Access-Challenge Id 159 from 172.16.8.20:1812 to 172.16.5.252:60626 length 155
(40) Tunnel-Medium-Type = IEEE-802
(40) Tunnel-Private-Group-Id = "13"
(40) Tunnel-Type = VLAN
(40) EAP-Message = 0x010d0051190017030300460644172af1b961f1c8597bf67782429deb97a4fdd9269b6d885afd327e7b45946ee235db4113fa3de70297811e4ee1c72290746eadf779dd37f18e0c859ba1d7ca54d2a825d8
(40) Message-Authenticator = 0x00000000000000000000000000000000
(40) State = 0xbe5c1190b55108594a17b1279266c3a5
(40) Finished request
Waking up in 2.4 seconds.
(41) Received Access-Request Id 167 from 172.16.5.252:60626 to 172.16.8.20:1812 length 678
(41) User-Name = "guest1234"
(41) Service-Type = Framed-User
(41) Cisco-AVPair = "service-type=Framed"
(41) Framed-MTU = 1485
(41) EAP-Message = 0x020d0063190017030300580000000000000002194d3b3730246198398167f04bc0c34fe45de0867942b85fc0b8d712534c76cd726bfc93eaef8eb2f62e749017f9d0483605e1db3c5282dd033d311bd1da34f4a23f6878611b8513edc81dbbb4179921
(41) Message-Authenticator = 0x7eaf03a097e85f5102ff5b9957bcb15f
(41) Cisco-AVPair = "audit-session-id=FC0510AC0008D39DEFB40307"
(41) Cisco-AVPair = "method=dot1x"
(41) Framed-IP-Address = 172.16.16.3
(41) Cisco-AVPair = "addrv6=fe80::9484:ecbd:23fd:8218"
(41) Cisco-AVPair = "addrv6=2001:470:7370:a00::e35"
(41) Cisco-AVPair = "addrv6=2001:470:7370:a00:cbc:cf89:d740:b3ef"
(41) Cisco-AVPair = "addrv6=2001:470:7370:a00:129:c260:f361:6f28"
(41) Cisco-AVPair = "client-iif-id=100927089"
(41) Cisco-AVPair = "vlan-id=12"
(41) NAS-IP-Address = 172.16.5.252
(41) NAS-Port-Type = Wireless-802.11
(41) NAS-Port = 518
(41) State = 0xbe5c1190b55108594a17b1279266c3a5
(41) Cisco-AVPair = "cisco-wlan-ssid=WTest"
(41) Cisco-AVPair = "wlan-profile-name=WTest"
(41) Called-Station-Id = "50-2f-a8-ce-da-20:WTest"
(41) Calling-Station-Id = "dc-39-6f-9e-dc-d1"
(41) Airespace-Wlan-Id = 5
(41) NAS-Identifier = "wlc-rz"
(41) WLAN-Group-Cipher = 1027076
(41) WLAN-Pairwise-Cipher = 1027076
(41) WLAN-AKM-Suite = 1027073
(41) WLAN-Group-Mgmt-Cipher = 1027078
(41) Restoring &session-state
(41) &session-state:Framed-MTU = 1004
(41) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(41) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(41) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(41) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(41) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(41) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, ClientKeyExchange"
(41) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, Finished"
(41) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 ChangeCipherSpec"
(41) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Finished"
(41) &session-state:TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(41) &session-state:TLS-Session-Version = "TLS 1.2"
(41) # Executing section authorize from file /etc/freeradius/sites-enabled/school_8021x
(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 !~ /@(.+)\.(.+)$/)) {
(41) if ((&User-Name =~ /@/) && (&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) = notfound
(41) } # policy filter_username = notfound
(41) [preprocess] = ok
(41) [digest] = noop
(41) suffix: Checking for suffix after "@"
(41) suffix: No '@' in User-Name = "guest1234", looking up realm NULL
(41) suffix: Found realm "NULL"
(41) suffix: Adding Stripped-User-Name = "guest1234"
(41) suffix: Adding Realm = "NULL"
(41) suffix: Authentication realm is LOCAL
(41) [suffix] = ok
(41) [chap] = noop
(41) sql: EXPAND %{%{Stripped-User-Name}:-%{%{User-Name}:-DEFAULT}}
(41) sql: --> guest1234
(41) sql: SQL-User-Name set to 'guest1234'
rlm_sql (sql): Reserved connection (10)
(41) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id
(41) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'guest1234' ORDER BY id
(41) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'guest1234' ORDER BY id
(41) sql: User found in radcheck table
(41) sql: Conditional check items matched, merging assignment check items
(41) sql: Cleartext-Password := "guest1324"
(41) sql: EXPAND SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id
(41) sql: --> SELECT id, username, attribute, value, op FROM radreply WHERE username = 'guest1234' ORDER BY id
(41) sql: Executing select query: SELECT id, username, attribute, value, op FROM radreply WHERE username = 'guest1234' ORDER BY id
(41) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority
(41) sql: --> SELECT groupname FROM radusergroup WHERE username = 'guest1234' ORDER BY priority
(41) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'guest1234' ORDER BY priority
(41) sql: User found in the group table
(41) sql: EXPAND SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id
(41) sql: --> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'guest' ORDER BY id
(41) sql: Executing select query: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'guest' ORDER BY id
(41) sql: Group "guest": Conditional check items matched
(41) sql: Group "guest": Merging assignment check items
(41) sql: EXPAND SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id
(41) sql: --> SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'guest' ORDER BY id
(41) sql: Executing select query: SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'guest' ORDER BY id
(41) sql: Group "guest": Merging reply items
(41) sql: Tunnel-Medium-Type := IEEE-802
(41) sql: Tunnel-Private-Group-Id := "13"
(41) sql: Tunnel-Type := VLAN
rlm_sql (sql): Released connection (10)
(41) [sql] = ok
(41) [mschap] = noop
(41) eap: Peer sent EAP Response (code 2) ID 13 length 99
(41) eap: Continuing tunnel setup
(41) [eap] = ok
(41) } # authorize = ok
(41) Found Auth-Type = eap
(41) # Executing group from file /etc/freeradius/sites-enabled/school_8021x
(41) authenticate {
(41) eap: Expiring EAP session with state 0x3ae9c95c3ae4d3b9
(41) eap: Finished EAP session with state 0xbe5c1190b5510859
(41) eap: Previous EAP request found for state 0xbe5c1190b5510859, 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: (TLS) EAP Done initial handshake
(41) eap_peap: Session established. Decoding tunneled attributes
(41) eap_peap: PEAP state phase2
(41) eap_peap: EAP method MSCHAPv2 (26)
(41) eap_peap: Got tunneled request
(41) eap_peap: EAP-Message = 0x020d00441a020d003f3185ee5baa84bb193dcd0b395ba9e9f99400000000000000008164e9d9290f5b879dda19925dd7e55cdbcfd2333b232d2e00677565737431323334
(41) eap_peap: Setting User-Name to guest1234
(41) eap_peap: Sending tunneled request to inner-tunnel
(41) eap_peap: EAP-Message = 0x020d00441a020d003f3185ee5baa84bb193dcd0b395ba9e9f99400000000000000008164e9d9290f5b879dda19925dd7e55cdbcfd2333b232d2e00677565737431323334
(41) eap_peap: FreeRADIUS-Proxied-To = 127.0.0.1
(41) eap_peap: User-Name = "guest1234"
(41) eap_peap: State = 0x3ae9c95c3ae4d3b9379e40b34ad6711b
(41) eap_peap: Service-Type = Framed-User
(41) eap_peap: Cisco-AVPair = "service-type=Framed"
(41) eap_peap: Cisco-AVPair = "audit-session-id=FC0510AC0008D39DEFB40307"
(41) eap_peap: Cisco-AVPair = "method=dot1x"
(41) eap_peap: Cisco-AVPair = "addrv6=fe80::9484:ecbd:23fd:8218"
(41) eap_peap: Cisco-AVPair = "addrv6=2001:470:7370:a00::e35"
(41) eap_peap: Cisco-AVPair = "addrv6=2001:470:7370:a00:cbc:cf89:d740:b3ef"
(41) eap_peap: Cisco-AVPair = "addrv6=2001:470:7370:a00:129:c260:f361:6f28"
(41) eap_peap: Cisco-AVPair = "client-iif-id=100927089"
(41) eap_peap: Cisco-AVPair = "vlan-id=12"
(41) eap_peap: Cisco-AVPair = "cisco-wlan-ssid=WTest"
(41) eap_peap: Cisco-AVPair = "wlan-profile-name=WTest"
(41) eap_peap: Framed-MTU = 1485
(41) eap_peap: Framed-IP-Address = 172.16.16.3
(41) eap_peap: NAS-IP-Address = 172.16.5.252
(41) eap_peap: NAS-Port-Type = Wireless-802.11
(41) eap_peap: NAS-Port = 518
(41) eap_peap: Called-Station-Id = "50-2f-a8-ce-da-20:WTest"
(41) eap_peap: Calling-Station-Id = "dc-39-6f-9e-dc-d1"
(41) eap_peap: Airespace-Wlan-Id = 5
(41) eap_peap: NAS-Identifier = "wlc-rz"
(41) eap_peap: WLAN-Group-Cipher = 1027076
(41) eap_peap: WLAN-Pairwise-Cipher = 1027076
(41) eap_peap: WLAN-AKM-Suite = 1027073
(41) eap_peap: WLAN-Group-Mgmt-Cipher = 1027078
(41) eap_peap: Event-Timestamp = "Jan 9 2024 20:43:06 CET"
(41) Virtual server inner-tunnel received request
(41) EAP-Message = 0x020d00441a020d003f3185ee5baa84bb193dcd0b395ba9e9f99400000000000000008164e9d9290f5b879dda19925dd7e55cdbcfd2333b232d2e00677565737431323334
(41) FreeRADIUS-Proxied-To = 127.0.0.1
(41) User-Name = "guest1234"
(41) State = 0x3ae9c95c3ae4d3b9379e40b34ad6711b
(41) Service-Type = Framed-User
(41) Cisco-AVPair = "service-type=Framed"
(41) Cisco-AVPair = "audit-session-id=FC0510AC0008D39DEFB40307"
(41) Cisco-AVPair = "method=dot1x"
(41) Cisco-AVPair = "addrv6=fe80::9484:ecbd:23fd:8218"
(41) Cisco-AVPair = "addrv6=2001:470:7370:a00::e35"
(41) Cisco-AVPair = "addrv6=2001:470:7370:a00:cbc:cf89:d740:b3ef"
(41) Cisco-AVPair = "addrv6=2001:470:7370:a00:129:c260:f361:6f28"
(41) Cisco-AVPair = "client-iif-id=100927089"
(41) Cisco-AVPair = "vlan-id=12"
(41) Cisco-AVPair = "cisco-wlan-ssid=WTest"
(41) Cisco-AVPair = "wlan-profile-name=WTest"
(41) Framed-MTU = 1485
(41) Framed-IP-Address = 172.16.16.3
(41) NAS-IP-Address = 172.16.5.252
(41) NAS-Port-Type = Wireless-802.11
(41) NAS-Port = 518
(41) Called-Station-Id = "50-2f-a8-ce-da-20:WTest"
(41) Calling-Station-Id = "dc-39-6f-9e-dc-d1"
(41) Airespace-Wlan-Id = 5
(41) NAS-Identifier = "wlc-rz"
(41) WLAN-Group-Cipher = 1027076
(41) WLAN-Pairwise-Cipher = 1027076
(41) WLAN-AKM-Suite = 1027073
(41) WLAN-Group-Mgmt-Cipher = 1027078
(41) Event-Timestamp = "Jan 9 2024 20:43:06 CET"
(41) WARNING: Outer and inner identities are the same. User privacy is compromised.
(41) server inner-tunnel {
(41) session-state: No cached attributes
(41) # Executing section authorize from file /etc/freeradius/sites-enabled/inner-tunnel
(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 !~ /@(.+)\.(.+)$/)) {
(41) if ((&User-Name =~ /@/) && (&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) = notfound
(41) } # policy filter_username = notfound
(41) [chap] = noop
(41) [mschap] = noop
(41) suffix: Checking for suffix after "@"
(41) suffix: No '@' in User-Name = "guest1234", looking up realm NULL
(41) suffix: Found realm "NULL"
(41) suffix: Adding Stripped-User-Name = "guest1234"
(41) suffix: Adding Realm = "NULL"
(41) suffix: Authentication realm is LOCAL
(41) [suffix] = ok
(41) update control {
(41) &Proxy-To-Realm := LOCAL
(41) } # update control = noop
(41) eap: Peer sent EAP Response (code 2) ID 13 length 68
(41) eap: No EAP Start, assuming it's an on-going EAP conversation
(41) [eap] = updated
(41) [files] = noop
(41) sql: EXPAND %{%{Stripped-User-Name}:-%{%{User-Name}:-DEFAULT}}
(41) sql: --> guest1234
(41) sql: SQL-User-Name set to 'guest1234'
rlm_sql (sql): Reserved connection (11)
(41) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id
(41) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'guest1234' ORDER BY id
(41) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'guest1234' ORDER BY id
(41) sql: User found in radcheck table
(41) sql: Conditional check items matched, merging assignment check items
(41) sql: Cleartext-Password := "guest1324"
(41) sql: EXPAND SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id
(41) sql: --> SELECT id, username, attribute, value, op FROM radreply WHERE username = 'guest1234' ORDER BY id
(41) sql: Executing select query: SELECT id, username, attribute, value, op FROM radreply WHERE username = 'guest1234' ORDER BY id
(41) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority
(41) sql: --> SELECT groupname FROM radusergroup WHERE username = 'guest1234' ORDER BY priority
(41) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'guest1234' ORDER BY priority
(41) sql: User found in the group table
(41) sql: EXPAND SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id
(41) sql: --> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'guest' ORDER BY id
(41) sql: Executing select query: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'guest' ORDER BY id
(41) sql: Group "guest": Conditional check items matched
(41) sql: Group "guest": Merging assignment check items
(41) sql: EXPAND SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id
(41) sql: --> SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'guest' ORDER BY id
(41) sql: Executing select query: SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'guest' ORDER BY id
(41) sql: Group "guest": Merging reply items
(41) sql: Tunnel-Medium-Type := IEEE-802
(41) sql: Tunnel-Private-Group-Id := "13"
(41) sql: Tunnel-Type := VLAN
rlm_sql (sql): Released connection (11)
(41) [sql] = ok
(41) [expiration] = noop
(41) [logintime] = noop
(41) pap: WARNING: Auth-Type already set. Not setting to PAP
(41) [pap] = noop
(41) } # authorize = updated
(41) Found Auth-Type = eap
(41) # Executing group from file /etc/freeradius/sites-enabled/inner-tunnel
(41) authenticate {
(41) eap: Expiring EAP session with state 0x3ae9c95c3ae4d3b9
(41) eap: Finished EAP session with state 0x3ae9c95c3ae4d3b9
(41) eap: Previous EAP request found for state 0x3ae9c95c3ae4d3b9, released from the list
(41) eap: Peer sent packet with method EAP MSCHAPv2 (26)
(41) eap: Calling submodule eap_mschapv2 to process data
(41) eap_mschapv2: # Executing group from file /etc/freeradius/sites-enabled/inner-tunnel
(41) eap_mschapv2: authenticate {
(41) mschap: Found Cleartext-Password, hashing to create NT-Password
(41) mschap: Creating challenge hash with username: guest1234
(41) mschap: Client is using MS-CHAPv2
(41) mschap: Executing: /usr/bin/ntlm_auth --allow-mschapv2 --request-nt-key --domain=lmn --require-membership-of=lmn\wifi --username=%{%{Stripped-User-Name}:-%{%{User-Name}:-None}} --challenge=%{%{mschap:Challenge}:-00} --nt-response=%{%{mschap:NT-Response}:-00}:
(41) mschap: EXPAND --username=%{%{Stripped-User-Name}:-%{%{User-Name}:-None}}
(41) mschap: --> --username=guest1234
(41) mschap: Creating challenge hash with username: guest1234
(41) mschap: EXPAND --challenge=%{%{mschap:Challenge}:-00}
(41) mschap: --> --challenge=bfd30a805630ffca
(41) mschap: EXPAND --nt-response=%{%{mschap:NT-Response}:-00}
(41) mschap: --> --nt-response=8164e9d9290f5b879dda19925dd7e55cdbcfd2333b232d2e
(41) mschap: ERROR: Program returned code (1) and output 'The attempted logon is invalid. This is either due to a bad username or authentication information. (0xc000006d)'
(41) mschap: External script failed
(41) mschap: ERROR: External script says: The attempted logon is invalid. This is either due to a bad username or authentication information. (0xc000006d)
(41) mschap: ERROR: MS-CHAP2-Response is incorrect
(41) eap_mschapv2: [mschap] = reject
(41) eap_mschapv2: } # authenticate = reject
(41) eap_mschapv2: MSCHAP-Error: E=691 R=1 C=283fd425912588c711f0aa0a90fae2e3 V=3 M=Authentication rejected
(41) eap_mschapv2: Found new challenge from MS-CHAP-Error: err=691 retry=1 challenge=283fd425912588c711f0aa0a90fae2e3
(41) eap_mschapv2: ERROR: MSCHAP Failure
(41) eap: Sending EAP Request (code 1) ID 14 length 83
(41) eap: EAP session adding &reply:State = 0x3ae9c95c3be7d3b9
(41) [eap] = handled
(41) } # authenticate = handled
(41) } # server inner-tunnel
(41) Virtual server sending reply
(41) Tunnel-Medium-Type = IEEE-802
(41) Tunnel-Private-Group-Id = "13"
(41) Tunnel-Type = VLAN
(41) EAP-Message = 0x010e00531a040d004e453d36393120523d3120433d323833666434323539313235383863373131663061613061393066616532653320563d33204d3d41757468656e7469636174696f6e2072656a6563746564
(41) Message-Authenticator = 0x00000000000000000000000000000000
(41) State = 0x3ae9c95c3be7d3b9379e40b34ad6711b
(41) eap_peap: Got tunneled reply code 11
(41) eap_peap: Tunnel-Medium-Type = IEEE-802
(41) eap_peap: Tunnel-Private-Group-Id = "13"
(41) eap_peap: Tunnel-Type = VLAN
(41) eap_peap: EAP-Message = 0x010e00531a040d004e453d36393120523d3120433d323833666434323539313235383863373131663061613061393066616532653320563d33204d3d41757468656e7469636174696f6e2072656a6563746564
(41) eap_peap: Message-Authenticator = 0x00000000000000000000000000000000
(41) eap_peap: State = 0x3ae9c95c3be7d3b9379e40b34ad6711b
(41) eap_peap: Got tunneled reply RADIUS code 11
(41) eap_peap: Tunnel-Medium-Type = IEEE-802
(41) eap_peap: Tunnel-Private-Group-Id = "13"
(41) eap_peap: Tunnel-Type = VLAN
(41) eap_peap: EAP-Message = 0x010e00531a040d004e453d36393120523d3120433d323833666434323539313235383863373131663061613061393066616532653320563d33204d3d41757468656e7469636174696f6e2072656a6563746564
(41) eap_peap: Message-Authenticator = 0x00000000000000000000000000000000
(41) eap_peap: State = 0x3ae9c95c3be7d3b9379e40b34ad6711b
(41) eap_peap: Got tunneled Access-Challenge
(41) eap: Sending EAP Request (code 1) ID 14 length 114
(41) eap: EAP session adding &reply:State = 0xbe5c1190b2520859
(41) [eap] = handled
(41) } # authenticate = handled
(41) Using Post-Auth-Type Challenge
(41) # Executing group from file /etc/freeradius/sites-enabled/school_8021x
(41) Challenge { ... } # empty sub-section is ignored
(41) session-state: Saving cached attributes
(41) Framed-MTU = 1004
(41) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(41) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(41) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(41) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(41) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(41) TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, ClientKeyExchange"
(41) TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, Finished"
(41) TLS-Session-Information = "(TLS) send TLS 1.2 ChangeCipherSpec"
(41) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Finished"
(41) TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(41) TLS-Session-Version = "TLS 1.2"
(41) Sent Access-Challenge Id 167 from 172.16.8.20:1812 to 172.16.5.252:60626 length 188
(41) Tunnel-Medium-Type = IEEE-802
(41) Tunnel-Private-Group-Id = "13"
(41) Tunnel-Type = VLAN
(41) EAP-Message = 0x010e0072190017030300670644172af1b961f240fbdbe60c7311cda74c0296b5d0ab74ffa53609224a0bf943eb950a01cc02336533eaa42661f78e8f8a4f3e3982d074ff4b5dd90c6139a74de18e3e82cf9f67870b06fb534bcc7a53e9cc1830caa4c197492125d2e36a4c9b3fd774fbf0d1
(41) Message-Authenticator = 0x00000000000000000000000000000000
(41) State = 0xbe5c1190b25208594a17b1279266c3a5
(41) Finished request
Waking up in 2.4 seconds.
(29) Cleaning up request packet ID 71 with timestamp +215 due to cleanup_delay was reached
(30) Cleaning up request packet ID 79 with timestamp +215 due to cleanup_delay was reached
(31) Cleaning up request packet ID 87 with timestamp +215 due to cleanup_delay was reached
(32) Cleaning up request packet ID 95 with timestamp +215 due to cleanup_delay was reached
(33) Cleaning up request packet ID 103 with timestamp +215 due to cleanup_delay was reached
(34) Cleaning up request packet ID 111 with timestamp +215 due to cleanup_delay was reached
(35) Cleaning up request packet ID 119 with timestamp +215 due to cleanup_delay was reached
(36) Cleaning up request packet ID 127 with timestamp +215 due to cleanup_delay was reached
(37) Cleaning up request packet ID 135 with timestamp +215 due to cleanup_delay was reached
(38) Cleaning up request packet ID 143 with timestamp +215 due to cleanup_delay was reached
Waking up in 2.4 seconds.
(39) Cleaning up request packet ID 151 with timestamp +218 due to cleanup_delay was reached
(40) Cleaning up request packet ID 159 with timestamp +218 due to cleanup_delay was reached
(41) Cleaning up request packet ID 167 with timestamp +218 due to cleanup_delay was reached
Ready to process requests
(42) Received Access-Request Id 175 from 172.16.5.252:60626 to 172.16.8.20:1812 length 678
(42) User-Name = "guest1234"
(42) Service-Type = Framed-User
(42) Cisco-AVPair = "service-type=Framed"
(42) Framed-MTU = 1485
(42) EAP-Message = 0x020e0063190017030300580000000000000003f6aee15c33b3041406dbac0950a818df2109568e0f02c7d5a85ad621ab356bed6b5374170dabdbcee9b74df8e6444a997e312060b96edfc77331cedc8da4d618bb15affd08a4740b1642f38821673610
(42) Message-Authenticator = 0xfea46a52096208fbf61fcee52c7b6f97
(42) Cisco-AVPair = "audit-session-id=FC0510AC0008D39DEFB40307"
(42) Cisco-AVPair = "method=dot1x"
(42) Framed-IP-Address = 172.16.16.3
(42) Cisco-AVPair = "addrv6=fe80::9484:ecbd:23fd:8218"
(42) Cisco-AVPair = "addrv6=2001:470:7370:a00::e35"
(42) Cisco-AVPair = "addrv6=2001:470:7370:a00:cbc:cf89:d740:b3ef"
(42) Cisco-AVPair = "addrv6=2001:470:7370:a00:129:c260:f361:6f28"
(42) Cisco-AVPair = "client-iif-id=100927089"
(42) Cisco-AVPair = "vlan-id=12"
(42) NAS-IP-Address = 172.16.5.252
(42) NAS-Port-Type = Wireless-802.11
(42) NAS-Port = 518
(42) State = 0xbe5c1190b25208594a17b1279266c3a5
(42) Cisco-AVPair = "cisco-wlan-ssid=WTest"
(42) Cisco-AVPair = "wlan-profile-name=WTest"
(42) Called-Station-Id = "50-2f-a8-ce-da-20:WTest"
(42) Calling-Station-Id = "dc-39-6f-9e-dc-d1"
(42) Airespace-Wlan-Id = 5
(42) NAS-Identifier = "wlc-rz"
(42) WLAN-Group-Cipher = 1027076
(42) WLAN-Pairwise-Cipher = 1027076
(42) WLAN-AKM-Suite = 1027073
(42) WLAN-Group-Mgmt-Cipher = 1027078
(42) Restoring &session-state
(42) &session-state:Framed-MTU = 1004
(42) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(42) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(42) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(42) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(42) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(42) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, ClientKeyExchange"
(42) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, Finished"
(42) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 ChangeCipherSpec"
(42) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Finished"
(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/sites-enabled/school_8021x
(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 !~ /@(.+)\.(.+)$/)) {
(42) if ((&User-Name =~ /@/) && (&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) = notfound
(42) } # policy filter_username = notfound
(42) [preprocess] = ok
(42) [digest] = noop
(42) suffix: Checking for suffix after "@"
(42) suffix: No '@' in User-Name = "guest1234", looking up realm NULL
(42) suffix: Found realm "NULL"
(42) suffix: Adding Stripped-User-Name = "guest1234"
(42) suffix: Adding Realm = "NULL"
(42) suffix: Authentication realm is LOCAL
(42) [suffix] = ok
(42) [chap] = noop
(42) sql: EXPAND %{%{Stripped-User-Name}:-%{%{User-Name}:-DEFAULT}}
(42) sql: --> guest1234
(42) sql: SQL-User-Name set to 'guest1234'
rlm_sql (sql): Reserved connection (8)
(42) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id
(42) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'guest1234' ORDER BY id
(42) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'guest1234' ORDER BY id
(42) sql: User found in radcheck table
(42) sql: Conditional check items matched, merging assignment check items
(42) sql: Cleartext-Password := "guest1324"
(42) sql: EXPAND SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id
(42) sql: --> SELECT id, username, attribute, value, op FROM radreply WHERE username = 'guest1234' ORDER BY id
(42) sql: Executing select query: SELECT id, username, attribute, value, op FROM radreply WHERE username = 'guest1234' ORDER BY id
(42) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority
(42) sql: --> SELECT groupname FROM radusergroup WHERE username = 'guest1234' ORDER BY priority
(42) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'guest1234' ORDER BY priority
(42) sql: User found in the group table
(42) sql: EXPAND SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id
(42) sql: --> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'guest' ORDER BY id
(42) sql: Executing select query: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'guest' ORDER BY id
(42) sql: Group "guest": Conditional check items matched
(42) sql: Group "guest": Merging assignment check items
(42) sql: EXPAND SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id
(42) sql: --> SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'guest' ORDER BY id
(42) sql: Executing select query: SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'guest' ORDER BY id
(42) sql: Group "guest": Merging reply items
(42) sql: Tunnel-Medium-Type := IEEE-802
(42) sql: Tunnel-Private-Group-Id := "13"
(42) sql: Tunnel-Type := VLAN
rlm_sql (sql): Released connection (8)
Need more connections to reach 10 spares
rlm_sql (sql): Opening additional connection (12), 1 of 29 pending slots used
rlm_sql_mysql: Starting connect to MySQL server
rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 10.11.4-MariaDB-1~deb12u1, protocol version 10
(42) [sql] = ok
(42) [mschap] = noop
(42) eap: Peer sent EAP Response (code 2) ID 14 length 99
(42) eap: Continuing tunnel setup
(42) [eap] = ok
(42) } # authorize = ok
(42) Found Auth-Type = eap
(42) # Executing group from file /etc/freeradius/sites-enabled/school_8021x
(42) authenticate {
(42) eap: Expiring EAP session with state 0x3ae9c95c3be7d3b9
(42) eap: Finished EAP session with state 0xbe5c1190b2520859
(42) eap: Previous EAP request found for state 0xbe5c1190b2520859, 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: (TLS) EAP Done initial handshake
(42) eap_peap: Session established. Decoding tunneled attributes
(42) eap_peap: PEAP state phase2
(42) eap_peap: EAP method MSCHAPv2 (26)
(42) eap_peap: Got tunneled request
(42) eap_peap: EAP-Message = 0x020e00441a020e003f31602b6238d544998b98309bd29ddc8c9b00000000000000000a0f6be51874062973be11af92b26784940cbeb57e47cabd00677565737431323334
(42) eap_peap: Setting User-Name to guest1234
(42) eap_peap: Sending tunneled request to inner-tunnel
(42) eap_peap: EAP-Message = 0x020e00441a020e003f31602b6238d544998b98309bd29ddc8c9b00000000000000000a0f6be51874062973be11af92b26784940cbeb57e47cabd00677565737431323334
(42) eap_peap: FreeRADIUS-Proxied-To = 127.0.0.1
(42) eap_peap: User-Name = "guest1234"
(42) eap_peap: State = 0x3ae9c95c3be7d3b9379e40b34ad6711b
(42) eap_peap: Service-Type = Framed-User
(42) eap_peap: Cisco-AVPair = "service-type=Framed"
(42) eap_peap: Cisco-AVPair = "audit-session-id=FC0510AC0008D39DEFB40307"
(42) eap_peap: Cisco-AVPair = "method=dot1x"
(42) eap_peap: Cisco-AVPair = "addrv6=fe80::9484:ecbd:23fd:8218"
(42) eap_peap: Cisco-AVPair = "addrv6=2001:470:7370:a00::e35"
(42) eap_peap: Cisco-AVPair = "addrv6=2001:470:7370:a00:cbc:cf89:d740:b3ef"
(42) eap_peap: Cisco-AVPair = "addrv6=2001:470:7370:a00:129:c260:f361:6f28"
(42) eap_peap: Cisco-AVPair = "client-iif-id=100927089"
(42) eap_peap: Cisco-AVPair = "vlan-id=12"
(42) eap_peap: Cisco-AVPair = "cisco-wlan-ssid=WTest"
(42) eap_peap: Cisco-AVPair = "wlan-profile-name=WTest"
(42) eap_peap: Framed-MTU = 1485
(42) eap_peap: Framed-IP-Address = 172.16.16.3
(42) eap_peap: NAS-IP-Address = 172.16.5.252
(42) eap_peap: NAS-Port-Type = Wireless-802.11
(42) eap_peap: NAS-Port = 518
(42) eap_peap: Called-Station-Id = "50-2f-a8-ce-da-20:WTest"
(42) eap_peap: Calling-Station-Id = "dc-39-6f-9e-dc-d1"
(42) eap_peap: Airespace-Wlan-Id = 5
(42) eap_peap: NAS-Identifier = "wlc-rz"
(42) eap_peap: WLAN-Group-Cipher = 1027076
(42) eap_peap: WLAN-Pairwise-Cipher = 1027076
(42) eap_peap: WLAN-AKM-Suite = 1027073
(42) eap_peap: WLAN-Group-Mgmt-Cipher = 1027078
(42) eap_peap: Event-Timestamp = "Jan 9 2024 20:43:13 CET"
(42) Virtual server inner-tunnel received request
(42) EAP-Message = 0x020e00441a020e003f31602b6238d544998b98309bd29ddc8c9b00000000000000000a0f6be51874062973be11af92b26784940cbeb57e47cabd00677565737431323334
(42) FreeRADIUS-Proxied-To = 127.0.0.1
(42) User-Name = "guest1234"
(42) State = 0x3ae9c95c3be7d3b9379e40b34ad6711b
(42) Service-Type = Framed-User
(42) Cisco-AVPair = "service-type=Framed"
(42) Cisco-AVPair = "audit-session-id=FC0510AC0008D39DEFB40307"
(42) Cisco-AVPair = "method=dot1x"
(42) Cisco-AVPair = "addrv6=fe80::9484:ecbd:23fd:8218"
(42) Cisco-AVPair = "addrv6=2001:470:7370:a00::e35"
(42) Cisco-AVPair = "addrv6=2001:470:7370:a00:cbc:cf89:d740:b3ef"
(42) Cisco-AVPair = "addrv6=2001:470:7370:a00:129:c260:f361:6f28"
(42) Cisco-AVPair = "client-iif-id=100927089"
(42) Cisco-AVPair = "vlan-id=12"
(42) Cisco-AVPair = "cisco-wlan-ssid=WTest"
(42) Cisco-AVPair = "wlan-profile-name=WTest"
(42) Framed-MTU = 1485
(42) Framed-IP-Address = 172.16.16.3
(42) NAS-IP-Address = 172.16.5.252
(42) NAS-Port-Type = Wireless-802.11
(42) NAS-Port = 518
(42) Called-Station-Id = "50-2f-a8-ce-da-20:WTest"
(42) Calling-Station-Id = "dc-39-6f-9e-dc-d1"
(42) Airespace-Wlan-Id = 5
(42) NAS-Identifier = "wlc-rz"
(42) WLAN-Group-Cipher = 1027076
(42) WLAN-Pairwise-Cipher = 1027076
(42) WLAN-AKM-Suite = 1027073
(42) WLAN-Group-Mgmt-Cipher = 1027078
(42) Event-Timestamp = "Jan 9 2024 20:43:13 CET"
(42) WARNING: Outer and inner identities are the same. User privacy is compromised.
(42) server inner-tunnel {
(42) session-state: No cached attributes
(42) # Executing section authorize from file /etc/freeradius/sites-enabled/inner-tunnel
(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 !~ /@(.+)\.(.+)$/)) {
(42) if ((&User-Name =~ /@/) && (&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) = notfound
(42) } # policy filter_username = notfound
(42) [chap] = noop
(42) [mschap] = noop
(42) suffix: Checking for suffix after "@"
(42) suffix: No '@' in User-Name = "guest1234", looking up realm NULL
(42) suffix: Found realm "NULL"
(42) suffix: Adding Stripped-User-Name = "guest1234"
(42) suffix: Adding Realm = "NULL"
(42) suffix: Authentication realm is LOCAL
(42) [suffix] = ok
(42) update control {
(42) &Proxy-To-Realm := LOCAL
(42) } # update control = noop
(42) eap: Peer sent EAP Response (code 2) ID 14 length 68
(42) eap: No EAP Start, assuming it's an on-going EAP conversation
(42) [eap] = updated
(42) [files] = noop
(42) sql: EXPAND %{%{Stripped-User-Name}:-%{%{User-Name}:-DEFAULT}}
(42) sql: --> guest1234
(42) sql: SQL-User-Name set to 'guest1234'
rlm_sql (sql): Reserved connection (10)
(42) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id
(42) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'guest1234' ORDER BY id
(42) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'guest1234' ORDER BY id
(42) sql: User found in radcheck table
(42) sql: Conditional check items matched, merging assignment check items
(42) sql: Cleartext-Password := "guest1324"
(42) sql: EXPAND SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id
(42) sql: --> SELECT id, username, attribute, value, op FROM radreply WHERE username = 'guest1234' ORDER BY id
(42) sql: Executing select query: SELECT id, username, attribute, value, op FROM radreply WHERE username = 'guest1234' ORDER BY id
(42) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority
(42) sql: --> SELECT groupname FROM radusergroup WHERE username = 'guest1234' ORDER BY priority
(42) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'guest1234' ORDER BY priority
(42) sql: User found in the group table
(42) sql: EXPAND SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id
(42) sql: --> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'guest' ORDER BY id
(42) sql: Executing select query: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'guest' ORDER BY id
(42) sql: Group "guest": Conditional check items matched
(42) sql: Group "guest": Merging assignment check items
(42) sql: EXPAND SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id
(42) sql: --> SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'guest' ORDER BY id
(42) sql: Executing select query: SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'guest' ORDER BY id
(42) sql: Group "guest": Merging reply items
(42) sql: Tunnel-Medium-Type := IEEE-802
(42) sql: Tunnel-Private-Group-Id := "13"
(42) sql: Tunnel-Type := VLAN
rlm_sql (sql): Released connection (10)
(42) [sql] = ok
(42) [expiration] = noop
(42) [logintime] = noop
(42) pap: WARNING: Auth-Type already set. Not setting to PAP
(42) [pap] = noop
(42) } # authorize = updated
(42) Found Auth-Type = eap
(42) # Executing group from file /etc/freeradius/sites-enabled/inner-tunnel
(42) authenticate {
(42) eap: Expiring EAP session with state 0x3ae9c95c3be7d3b9
(42) eap: Finished EAP session with state 0x3ae9c95c3be7d3b9
(42) eap: Previous EAP request found for state 0x3ae9c95c3be7d3b9, released from the list
(42) eap: Peer sent packet with method EAP MSCHAPv2 (26)
(42) eap: Calling submodule eap_mschapv2 to process data
(42) eap_mschapv2: Authentication re-try from client after we sent a failure
(42) eap_mschapv2: # Executing group from file /etc/freeradius/sites-enabled/inner-tunnel
(42) eap_mschapv2: authenticate {
(42) mschap: Found Cleartext-Password, hashing to create NT-Password
(42) mschap: Creating challenge hash with username: guest1234
(42) mschap: Client is using MS-CHAPv2
(42) mschap: Executing: /usr/bin/ntlm_auth --allow-mschapv2 --request-nt-key --domain=lmn --require-membership-of=lmn\wifi --username=%{%{Stripped-User-Name}:-%{%{User-Name}:-None}} --challenge=%{%{mschap:Challenge}:-00} --nt-response=%{%{mschap:NT-Response}:-00}:
(42) mschap: EXPAND --username=%{%{Stripped-User-Name}:-%{%{User-Name}:-None}}
(42) mschap: --> --username=guest1234
(42) mschap: Creating challenge hash with username: guest1234
(42) mschap: EXPAND --challenge=%{%{mschap:Challenge}:-00}
(42) mschap: --> --challenge=b1c5ebf80f3d2e3f
(42) mschap: EXPAND --nt-response=%{%{mschap:NT-Response}:-00}
(42) mschap: --> --nt-response=0a0f6be51874062973be11af92b26784940cbeb57e47cabd
(42) mschap: ERROR: Program returned code (1) and output 'The attempted logon is invalid. This is either due to a bad username or authentication information. (0xc000006d)'
(42) mschap: External script failed
(42) mschap: ERROR: External script says: The attempted logon is invalid. This is either due to a bad username or authentication information. (0xc000006d)
(42) mschap: ERROR: MS-CHAP2-Response is incorrect
(42) eap_mschapv2: [mschap] = reject
(42) eap_mschapv2: } # authenticate = reject
(42) eap_mschapv2: MSCHAP-Error: ?E=691 R=1 C=3b3f55e3fdcb1c899b342bbce9d6fcf8 V=3 M=Authentication rejected
(42) eap_mschapv2: Found new challenge from MS-CHAP-Error: err=691 retry=1 challenge=3b3f55e3fdcb1c899b342bbce9d6fcf8
(42) eap_mschapv2: ERROR: MSCHAP Failure
(42) eap: Sending EAP Request (code 1) ID 15 length 83
(42) eap: EAP session adding &reply:State = 0x3ae9c95c38e6d3b9
(42) [eap] = handled
(42) } # authenticate = handled
(42) } # server inner-tunnel
(42) Virtual server sending reply
(42) Tunnel-Medium-Type = IEEE-802
(42) Tunnel-Private-Group-Id = "13"
(42) Tunnel-Type = VLAN
(42) EAP-Message = 0x010f00531a040e004e453d36393120523d3120433d336233663535653366646362316338393962333432626263653964366663663820563d33204d3d41757468656e7469636174696f6e2072656a6563746564
(42) Message-Authenticator = 0x00000000000000000000000000000000
(42) State = 0x3ae9c95c38e6d3b9379e40b34ad6711b
(42) eap_peap: Got tunneled reply code 11
(42) eap_peap: Tunnel-Medium-Type = IEEE-802
(42) eap_peap: Tunnel-Private-Group-Id = "13"
(42) eap_peap: Tunnel-Type = VLAN
(42) eap_peap: EAP-Message = 0x010f00531a040e004e453d36393120523d3120433d336233663535653366646362316338393962333432626263653964366663663820563d33204d3d41757468656e7469636174696f6e2072656a6563746564
(42) eap_peap: Message-Authenticator = 0x00000000000000000000000000000000
(42) eap_peap: State = 0x3ae9c95c38e6d3b9379e40b34ad6711b
(42) eap_peap: Got tunneled reply RADIUS code 11
(42) eap_peap: Tunnel-Medium-Type = IEEE-802
(42) eap_peap: Tunnel-Private-Group-Id = "13"
(42) eap_peap: Tunnel-Type = VLAN
(42) eap_peap: EAP-Message = 0x010f00531a040e004e453d36393120523d3120433d336233663535653366646362316338393962333432626263653964366663663820563d33204d3d41757468656e7469636174696f6e2072656a6563746564
(42) eap_peap: Message-Authenticator = 0x00000000000000000000000000000000
(42) eap_peap: State = 0x3ae9c95c38e6d3b9379e40b34ad6711b
(42) eap_peap: Got tunneled Access-Challenge
(42) eap: Sending EAP Request (code 1) ID 15 length 114
(42) eap: EAP session adding &reply:State = 0xbe5c1190b3530859
(42) [eap] = handled
(42) } # authenticate = handled
(42) Using Post-Auth-Type Challenge
(42) # Executing group from file /etc/freeradius/sites-enabled/school_8021x
(42) Challenge { ... } # empty sub-section is ignored
(42) session-state: Saving cached attributes
(42) Framed-MTU = 1004
(42) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(42) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(42) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(42) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(42) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(42) TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, ClientKeyExchange"
(42) TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, Finished"
(42) TLS-Session-Information = "(TLS) send TLS 1.2 ChangeCipherSpec"
(42) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Finished"
(42) TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(42) TLS-Session-Version = "TLS 1.2"
(42) Sent Access-Challenge Id 175 from 172.16.8.20:1812 to 172.16.5.252:60626 length 188
(42) Tunnel-Medium-Type = IEEE-802
(42) Tunnel-Private-Group-Id = "13"
(42) Tunnel-Type = VLAN
(42) EAP-Message = 0x010f0072190017030300670644172af1b961f3cf66f75d99107d3b1e03ae589b83f5b94770efdea2e7235d672cf7608f577e1f50cd2bbe4d838768419d2313d96b0d6560e3506106aaba9d14fa4f7ab48d30eb6037d6bc2ee23a0b9fd9cc888b47cc5834b53367b373603136f4a65db9deac
(42) Message-Authenticator = 0x00000000000000000000000000000000
(42) State = 0xbe5c1190b35308594a17b1279266c3a5
(42) Finished request
Waking up in 4.9 seconds.
(42) Cleaning up request packet ID 175 with timestamp +225 due to cleanup_delay was reached
Ready to process requests
********************************* Waited for 1-2 minutes
More information about the Freeradius-Users
mailing list