Freeradius-Users
Threads by month
- ----- 2026 -----
- July
- June
- May
- April
- March
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2005 -----
- December
- November
- October
- September
- August
- July
- June
- May
April 2025
- 27 participants
- 32 discussions
Hi,
We are configuring a server to support/use multiple certificate chains for
EAP/TTLS. We would like all certificates chains to be pre-loaded at
start-up, with any added into our realms directory during runtime
dynamically loaded, and pre-loaded on next restart.
Using 3.2.7 and following the raddb/certs/realms/README we have this setup
and working with several realms/certificate chains.
I have some queries I hope someone can help me with.
1) Pre-loading certificates:
https://github.com/FreeRADIUS/freeradius-server/blob/release_3_2_7/raddb/ce…
I have set realm_dir in our eap module as suggested. As per:
>> Once the realm_dir configuration has been added, the selection of
certificates is identical to that described in the previous section. Just
set TLS-Session-Cert-File, and the server will figure it out.
… I have added the unlang statement suggested in
https://github.com/FreeRADIUS/freeradius-server/blob/release_3_2_7/raddb/ce…
Q: Is there a way to know if a certificate chain has been
pre-loaded/cached? I can’t find reference in the debug output at startup or
during the EAP/TTLS conversation. The file is definitely parsed by the
server (if I remove the private key from the chain the server will complain
if a corresponding key file is not present), but it would be useful for me
to see if a cached file is being used or not.
Unless I have misunderstood the documentation, my realm_dir and the
directory I have set in the unlang statement are the same. So certificate
chains are pre-loaded from this directory on startup, and also added to
that directory during runtime for dynamic loading.
Q: In the event that a certificate chain is pre-loaded/cached, and the file
in the realms directory changed during runtime (e.g. certificate renewal)
is it safe to assume the cached chain is used until a server restart?
2) File format
I have followed
https://github.com/FreeRADIUS/freeradius-server/blob/release_3_2_7/raddb/ce…
and
also placed the private key at the top of each file.
In the "preloading-certificate-chains" section it states:
>> Each file in that directory should be a PEM encoded certificate chain,
as described in the previous section. For safety, every file must have a
.pem as the filename extension. e.g. example.org.pem. If there is a
corresponding private key, it should be placed into a .key file. e.g.
example.org.key.
(emphasis on must)
Accordingly each of my certificate chain files have a '.pem' extension and
I have to change the unlang expression so the files are found on startup
and at runtime e.g.
"
…
TLS-Session-Cert-File := "${certdir}/realms/%{Realm}.pem"
…
"
Q: is the ".pem" file suffix still necessary? I ask as I have tested with
and without and both work the same. I also ask in case this bears relevance
to my first question.
Q: do I need to place my corresponding key in a separate file? I ask in
case it has relevance to my first question. The server seems to work out if
the private key is in the chain file or not, at startup.
regards,
Adam
-----
FreeRADIUS Version 3.2.7
Copyright (C) 1999-2023 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 /opt/freeradius/share/freeradius/dictionary
including dictionary file /opt/freeradius/share/freeradius/dictionary.dhcp
including dictionary file /opt/freeradius/share/freeradius/dictionary.vqp
including dictionary file /opt/freeradius/etc/raddb/dictionary
including configuration file /opt/freeradius/etc/raddb/radiusd.conf
including files in directory /opt/freeradius/etc/raddb/sites-enabled/
including configuration file /opt/freeradius/etc/raddb/sites-enabled/status
including configuration file /opt/freeradius/etc/raddb/sites-enabled/hs2
including configuration file
/opt/freeradius/etc/raddb/sites-enabled/hs2-inner-tunnel
including configuration file
/opt/freeradius/etc/raddb/sites-enabled/testserver
including configuration file
/opt/freeradius/etc/raddb/sites-enabled/dynamic-clients
including configuration file /opt/freeradius/etc/raddb/proxy.conf
including configuration file /opt/freeradius/etc/raddb/clients.conf
including files in directory /opt/freeradius/etc/raddb/mods-enabled/
including configuration file
/opt/freeradius/etc/raddb/mods-enabled/preprocess
including configuration file /opt/freeradius/etc/raddb/mods-enabled/passwd
including configuration file
/opt/freeradius/etc/raddb/mods-enabled/attr_filter
including configuration file
/opt/freeradius/etc/raddb/mods-enabled/dynamic_clients
including configuration file /opt/freeradius/etc/raddb/mods-enabled/always
including configuration file /opt/freeradius/etc/raddb/mods-enabled/pap
including configuration file /opt/freeradius/etc/raddb/mods-enabled/totp
including configuration file /opt/freeradius/etc/raddb/mods-enabled/mschap
including configuration file /opt/freeradius/etc/raddb/mods-enabled/date
including configuration file
/opt/freeradius/etc/raddb/mods-enabled/logintime
including configuration file /opt/freeradius/etc/raddb/mods-enabled/echo
including configuration file /opt/freeradius/etc/raddb/mods-enabled/sradutmp
including configuration file /opt/freeradius/etc/raddb/mods-enabled/digest
including configuration file /opt/freeradius/etc/raddb/mods-enabled/detail
including configuration file /opt/freeradius/etc/raddb/mods-enabled/radutmp
including configuration file /opt/freeradius/etc/raddb/mods-enabled/unpack
including configuration file /opt/freeradius/etc/raddb/mods-enabled/utf8
including configuration file
/opt/freeradius/etc/raddb/mods-enabled/ntlm_auth
including configuration file /opt/freeradius/etc/raddb/mods-enabled/soh
including configuration file /opt/freeradius/etc/raddb/mods-enabled/exec
including configuration file
/opt/freeradius/etc/raddb/mods-enabled/proxy_rate_limit
including configuration file
/opt/freeradius/etc/raddb/mods-enabled/detail.log
including configuration file /opt/freeradius/etc/raddb/mods-enabled/expr
including configuration file /opt/freeradius/etc/raddb/mods-enabled/realm
including configuration file
/opt/freeradius/etc/raddb/mods-enabled/expiration
including configuration file
/opt/freeradius/etc/raddb/mods-enabled/replicate
including configuration file /opt/freeradius/etc/raddb/mods-enabled/unix
including configuration file /opt/freeradius/etc/raddb/mods-enabled/files
including configuration file /opt/freeradius/etc/raddb/mods-enabled/chap
including configuration file /opt/freeradius/etc/raddb/mods-enabled/linelog
including configuration file /opt/freeradius/etc/raddb/mods-enabled/nmx-eap
including configuration file /opt/freeradius/etc/raddb/mods-enabled/raw
including configuration file /opt/freeradius/etc/raddb/mods-enabled/rest
including files in directory /opt/freeradius/etc/raddb/policy.d/
including configuration file
/opt/freeradius/etc/raddb/policy.d/canonicalization
including configuration file /opt/freeradius/etc/raddb/policy.d/dhcp
including configuration file
/opt/freeradius/etc/raddb/policy.d/operator-name
including configuration file
/opt/freeradius/etc/raddb/policy.d/moonshot-targeted-ids
including configuration file /opt/freeradius/etc/raddb/policy.d/cui
including configuration file /opt/freeradius/etc/raddb/policy.d/control
including configuration file /opt/freeradius/etc/raddb/policy.d/rfc7542
including configuration file /opt/freeradius/etc/raddb/policy.d/filter
including configuration file /opt/freeradius/etc/raddb/policy.d/abfab-tr
including configuration file /opt/freeradius/etc/raddb/policy.d/debug
including configuration file /opt/freeradius/etc/raddb/policy.d/accounting
including configuration file /opt/freeradius/etc/raddb/policy.d/eap
main {
security {
allow_core_dumps = no
}
name = "radiusd"
prefix = "/opt/freeradius"
localstatedir = "/opt/freeradius/var"
logdir = "/opt/freeradius/var/log/radius"
run_dir = "/opt/freeradius/var/run/radiusd"
}
main {
name = "radiusd"
prefix = "/opt/freeradius"
localstatedir = "/opt/freeradius/var"
sbindir = "/opt/freeradius/sbin"
logdir = "/opt/freeradius/var/log/radius"
run_dir = "/opt/freeradius/var/run/radiusd"
libdir = "/opt/freeradius/lib"
radacctdir = "/opt/freeradius/var/log/radius/radacct"
hostname_lookups = no
max_request_time = 30
proxy_dedup_window = 1
cleanup_delay = 5
max_requests = 32768
max_fds = 512
postauth_client_lost = no
pidfile = "/opt/freeradius/var/run/radiusd/radiusd.pid"
checkrad = "/opt/freeradius/sbin/checkrad"
debug_level = 0
proxy_requests = yes
log {
stripped_names = no
auth = no
auth_badpass = no
auth_goodpass = no
colourise = yes
msg_denied = "You are already logged in - access denied"
}
resources {
}
security {
max_attributes = 200
reject_delay = 1.000000
status_server = yes
require_message_authenticator = "auto"
limit_proxy_state = "auto"
allow_vulnerable_openssl = "no"
}
unlang {
group_stop_return = no
policy_stop_return = no
}
}
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
}
}
realm LOCAL {
}
realm ~.* {
}
home_server_pool my_auth_failover {
type = fail-over
home_server = localhost
}
radiusd: #### Loading Clients ####
client localhost {
ipv4addr = *
require_message_authenticator = "no"
secret = <<< secret >>>
nas_type = "other"
proto = "*"
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
Shared secret for client localhost is short, and likely can be broken by an
attacker.
Debugger not attached
Configuration version: a847-b501-6509-ec02
# Creating Autz-Type = Status-Server
# Creating Auth-Type = mschap
# Creating Auth-Type = PAP
# Creating Auth-Type = CHAP
# Creating Auth-Type = nmxeap
radiusd: #### Instantiating modules ####
modules {
# Loaded module rlm_preprocess
# Loading module "preprocess" from file
/opt/freeradius/etc/raddb/mods-enabled/preprocess
preprocess {
huntgroups = "/opt/freeradius/etc/raddb/mods-config/preprocess/huntgroups"
hints = "/opt/freeradius/etc/raddb/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_passwd
# Loading module "etc_passwd" from file
/opt/freeradius/etc/raddb/mods-enabled/passwd
passwd etc_passwd {
filename = "/etc/passwd"
format = "*User-Name:Crypt-Password:"
delimiter = ":"
ignore_nislike = no
ignore_empty = yes
allow_multiple_keys = no
hash_size = 100
}
# Loaded module rlm_attr_filter
# Loading module "attr_filter.post-proxy" from file
/opt/freeradius/etc/raddb/mods-enabled/attr_filter
attr_filter attr_filter.post-proxy {
filename = "/opt/freeradius/etc/raddb/mods-config/attr_filter/post-proxy"
key = "%{Realm}"
relaxed = no
}
# Loading module "attr_filter.pre-proxy" from file
/opt/freeradius/etc/raddb/mods-enabled/attr_filter
attr_filter attr_filter.pre-proxy {
filename = "/opt/freeradius/etc/raddb/mods-config/attr_filter/pre-proxy"
key = "%{Realm}"
relaxed = no
}
# Loading module "attr_filter.access_reject" from file
/opt/freeradius/etc/raddb/mods-enabled/attr_filter
attr_filter attr_filter.access_reject {
filename =
"/opt/freeradius/etc/raddb/mods-config/attr_filter/access_reject"
key = "%{User-Name}"
relaxed = no
}
# Loading module "attr_filter.access_challenge" from file
/opt/freeradius/etc/raddb/mods-enabled/attr_filter
attr_filter attr_filter.access_challenge {
filename =
"/opt/freeradius/etc/raddb/mods-config/attr_filter/access_challenge"
key = "%{User-Name}"
relaxed = no
}
# Loading module "attr_filter.accounting_response" from file
/opt/freeradius/etc/raddb/mods-enabled/attr_filter
attr_filter attr_filter.accounting_response {
filename =
"/opt/freeradius/etc/raddb/mods-config/attr_filter/accounting_response"
key = "%{User-Name}"
relaxed = no
}
# Loading module "attr_filter.coa" from file
/opt/freeradius/etc/raddb/mods-enabled/attr_filter
attr_filter attr_filter.coa {
filename = "/opt/freeradius/etc/raddb/mods-config/attr_filter/coa"
key = "%{User-Name}"
relaxed = no
}
# Loaded module rlm_dynamic_clients
# Loading module "dynamic_clients" from file
/opt/freeradius/etc/raddb/mods-enabled/dynamic_clients
# Loaded module rlm_always
# Loading module "reject" from file
/opt/freeradius/etc/raddb/mods-enabled/always
always reject {
rcode = "reject"
simulcount = 0
mpp = no
}
# Loading module "fail" from file
/opt/freeradius/etc/raddb/mods-enabled/always
always fail {
rcode = "fail"
simulcount = 0
mpp = no
}
# Loading module "ok" from file
/opt/freeradius/etc/raddb/mods-enabled/always
always ok {
rcode = "ok"
simulcount = 0
mpp = no
}
# Loading module "handled" from file
/opt/freeradius/etc/raddb/mods-enabled/always
always handled {
rcode = "handled"
simulcount = 0
mpp = no
}
# Loading module "invalid" from file
/opt/freeradius/etc/raddb/mods-enabled/always
always invalid {
rcode = "invalid"
simulcount = 0
mpp = no
}
# Loading module "userlock" from file
/opt/freeradius/etc/raddb/mods-enabled/always
always userlock {
rcode = "userlock"
simulcount = 0
mpp = no
}
# Loading module "notfound" from file
/opt/freeradius/etc/raddb/mods-enabled/always
always notfound {
rcode = "notfound"
simulcount = 0
mpp = no
}
# Loading module "noop" from file
/opt/freeradius/etc/raddb/mods-enabled/always
always noop {
rcode = "noop"
simulcount = 0
mpp = no
}
# Loading module "updated" from file
/opt/freeradius/etc/raddb/mods-enabled/always
always updated {
rcode = "updated"
simulcount = 0
mpp = no
}
# Loaded module rlm_pap
# Loading module "pap" from file
/opt/freeradius/etc/raddb/mods-enabled/pap
pap {
normalise = yes
}
# Loaded module rlm_totp
# Loading module "totp" from file
/opt/freeradius/etc/raddb/mods-enabled/totp
totp {
time_step = 30
otp_length = 6
lookback_steps = 1
lookback_interval = 30
lookforward_steps = 0
}
# Loaded module rlm_mschap
# Loading module "mschap" from file
/opt/freeradius/etc/raddb/mods-enabled/mschap
mschap {
use_mppe = yes
require_encryption = no
require_strong = no
with_ntdomain_hack = yes
passchange {
}
allow_retry = yes
winbind_retry_with_normalised_username = no
}
# Loaded module rlm_date
# Loading module "date" from file
/opt/freeradius/etc/raddb/mods-enabled/date
date {
format = "%b %e %Y %H:%M:%S %Z"
utc = no
}
# Loading module "wispr2date" from file
/opt/freeradius/etc/raddb/mods-enabled/date
date wispr2date {
format = "%Y-%m-%dT%H:%M:%S"
utc = no
}
# Loaded module rlm_logintime
# Loading module "logintime" from file
/opt/freeradius/etc/raddb/mods-enabled/logintime
logintime {
minimum_timeout = 60
}
# Loaded module rlm_exec
# Loading module "echo" from file
/opt/freeradius/etc/raddb/mods-enabled/echo
exec echo {
wait = yes
program = "/bin/echo %{User-Name}"
input_pairs = "request"
output_pairs = "reply"
shell_escape = yes
}
# Loaded module rlm_radutmp
# Loading module "sradutmp" from file
/opt/freeradius/etc/raddb/mods-enabled/sradutmp
radutmp sradutmp {
filename = "/opt/freeradius/var/log/radius/sradutmp"
username = "%{User-Name}"
case_sensitive = yes
check_with_nas = yes
permissions = 420
caller_id = no
}
# Loaded module rlm_digest
# Loading module "digest" from file
/opt/freeradius/etc/raddb/mods-enabled/digest
# Loaded module rlm_detail
# Loading module "detail" from file
/opt/freeradius/etc/raddb/mods-enabled/detail
detail {
filename =
"/opt/freeradius/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
dates_as_integer = no
escape_filenames = no
log_packet_header = no
}
# Loading module "radutmp" from file
/opt/freeradius/etc/raddb/mods-enabled/radutmp
radutmp {
filename = "/opt/freeradius/var/log/radius/radutmp"
username = "%{User-Name}"
case_sensitive = yes
check_with_nas = yes
permissions = 384
caller_id = yes
}
# Loaded module rlm_unpack
# Loading module "unpack" from file
/opt/freeradius/etc/raddb/mods-enabled/unpack
# Loaded module rlm_utf8
# Loading module "utf8" from file
/opt/freeradius/etc/raddb/mods-enabled/utf8
# Loading module "ntlm_auth" from file
/opt/freeradius/etc/raddb/mods-enabled/ntlm_auth
exec ntlm_auth {
wait = yes
program = "/path/to/ntlm_auth --request-nt-key --domain=MYDOMAIN
--username=%{mschap:User-Name} --password=%{User-Password}"
shell_escape = yes
}
# Loaded module rlm_soh
# Loading module "soh" from file
/opt/freeradius/etc/raddb/mods-enabled/soh
soh {
dhcp = yes
}
# Loading module "exec" from file
/opt/freeradius/etc/raddb/mods-enabled/exec
exec {
wait = no
input_pairs = "request"
shell_escape = yes
timeout = 10
}
# Loaded module rlm_proxy_rate_limit
# Loading module "proxy_rate_limit" from file
/opt/freeradius/etc/raddb/mods-enabled/proxy_rate_limit
proxy_rate_limit {
max_entries = 2048
idle_timeout = 10
num_subtables = 256
window = 1
}
# Loading module "auth_log" from file
/opt/freeradius/etc/raddb/mods-enabled/detail.log
detail auth_log {
filename =
"/opt/freeradius/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
dates_as_integer = no
escape_filenames = no
log_packet_header = no
}
# Loading module "reply_log" from file
/opt/freeradius/etc/raddb/mods-enabled/detail.log
detail reply_log {
filename =
"/opt/freeradius/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/reply-detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
dates_as_integer = no
escape_filenames = no
log_packet_header = no
}
# Loading module "pre_proxy_log" from file
/opt/freeradius/etc/raddb/mods-enabled/detail.log
detail pre_proxy_log {
filename =
"/opt/freeradius/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/pre-proxy-detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
dates_as_integer = no
escape_filenames = no
log_packet_header = no
}
# Loading module "post_proxy_log" from file
/opt/freeradius/etc/raddb/mods-enabled/detail.log
detail post_proxy_log {
filename =
"/opt/freeradius/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/post-proxy-detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
dates_as_integer = no
escape_filenames = no
log_packet_header = no
}
# Loaded module rlm_expr
# Loading module "expr" from file
/opt/freeradius/etc/raddb/mods-enabled/expr
expr {
safe_characters =
"@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_:
/äéöüàâæçèéêëîïôœùûüaÿÄÉÖÜßÀÂÆÇÈÉÊËÎÏÔŒÙÛÜŸ"
}
# Loaded module rlm_realm
# Loading module "IPASS" from file
/opt/freeradius/etc/raddb/mods-enabled/realm
realm IPASS {
format = "prefix"
delimiter = "/"
ignore_default = no
ignore_null = no
}
# Loading module "suffix" from file
/opt/freeradius/etc/raddb/mods-enabled/realm
realm suffix {
format = "suffix"
delimiter = "@"
ignore_default = no
ignore_null = no
}
# Loading module "bangpath" from file
/opt/freeradius/etc/raddb/mods-enabled/realm
realm bangpath {
format = "prefix"
delimiter = "!"
ignore_default = no
ignore_null = no
}
# Loading module "realmpercent" from file
/opt/freeradius/etc/raddb/mods-enabled/realm
realm realmpercent {
format = "suffix"
delimiter = "%"
ignore_default = no
ignore_null = no
}
# Loading module "ntdomain" from file
/opt/freeradius/etc/raddb/mods-enabled/realm
realm ntdomain {
format = "prefix"
delimiter = "\"
ignore_default = no
ignore_null = no
}
# Loaded module rlm_expiration
# Loading module "expiration" from file
/opt/freeradius/etc/raddb/mods-enabled/expiration
# Loaded module rlm_replicate
# Loading module "replicate" from file
/opt/freeradius/etc/raddb/mods-enabled/replicate
# Loaded module rlm_unix
# Loading module "unix" from file
/opt/freeradius/etc/raddb/mods-enabled/unix
unix {
radwtmp = "/opt/freeradius/var/log/radius/radwtmp"
}
Creating attribute Unix-Group
# Loaded module rlm_files
# Loading module "files" from file
/opt/freeradius/etc/raddb/mods-enabled/files
files {
filename = "/opt/freeradius/etc/raddb/mods-config/files/authorize"
acctusersfile = "/opt/freeradius/etc/raddb/mods-config/files/accounting"
preproxy_usersfile =
"/opt/freeradius/etc/raddb/mods-config/files/pre-proxy"
}
# Loaded module rlm_chap
# Loading module "chap" from file
/opt/freeradius/etc/raddb/mods-enabled/chap
# Loaded module rlm_linelog
# Loading module "linelog" from file
/opt/freeradius/etc/raddb/mods-enabled/linelog
linelog {
filename = "/opt/freeradius/var/log/radius/linelog"
escape_filenames = no
syslog_severity = "info"
permissions = 384
format = "This is a log message for %{User-Name}"
reference = "messages.%{%{reply:Packet-Type}:-default}"
}
# Loading module "log_accounting" from file
/opt/freeradius/etc/raddb/mods-enabled/linelog
linelog log_accounting {
filename = "/opt/freeradius/var/log/radius/linelog-accounting"
escape_filenames = no
syslog_severity = "info"
permissions = 384
format = ""
reference = "Accounting-Request.%{%{Acct-Status-Type}:-unknown}"
}
# Loaded module rlm_eap
# Loading module "nmxeap" from file
/opt/freeradius/etc/raddb/mods-enabled/nmx-eap
eap nmxeap {
default_eap_type = "ttls"
timer_expire = 60
max_eap_type = 52
ignore_unknown_eap_types = no
cisco_accounting_username_bug = no
max_sessions = 2048
dedup_key = ""
}
# Loaded module rlm_raw
# Loading module "raw" from file
/opt/freeradius/etc/raddb/mods-enabled/raw
# Loaded module rlm_rest
# Loading module "rest_clients" from file
/opt/freeradius/etc/raddb/mods-enabled/rest
rest rest_clients {
connect_uri = "http://rest:8080/"
connect_timeout = 5.000000
http_negotiation = "default"
}
# Loading module "rest_users" from file
/opt/freeradius/etc/raddb/mods-enabled/rest
rest rest_users {
connect_uri = "http://rest:8080/"
connect_timeout = 5.000000
http_negotiation = "default"
}
# Loading module "rest_hs2" from file
/opt/freeradius/etc/raddb/mods-enabled/rest
rest rest_hs2 {
connect_uri = "http://rest:8080/"
connect_timeout = 5.000000
http_negotiation = "default"
}
# Loading module "rest_log_passpoint" from file
/opt/freeradius/etc/raddb/mods-enabled/rest
rest rest_log_passpoint {
connect_uri = "http://rest:8080/"
connect_timeout = 5.000000
http_negotiation = "default"
}
# Loading module "rest_log_captive" from file
/opt/freeradius/etc/raddb/mods-enabled/rest
rest rest_log_captive {
connect_uri = "http://rest:8080/"
connect_timeout = 5.000000
http_negotiation = "default"
}
instantiate {
}
# Instantiating module "preprocess" from file
/opt/freeradius/etc/raddb/mods-enabled/preprocess
reading pairlist file
/opt/freeradius/etc/raddb/mods-config/preprocess/huntgroups
reading pairlist file /opt/freeradius/etc/raddb/mods-config/preprocess/hints
# Instantiating module "etc_passwd" from file
/opt/freeradius/etc/raddb/mods-enabled/passwd
rlm_passwd: nfields: 3 keyfield 0(User-Name) listable: no
# Instantiating module "attr_filter.post-proxy" from file
/opt/freeradius/etc/raddb/mods-enabled/attr_filter
reading pairlist file
/opt/freeradius/etc/raddb/mods-config/attr_filter/post-proxy
# Instantiating module "attr_filter.pre-proxy" from file
/opt/freeradius/etc/raddb/mods-enabled/attr_filter
reading pairlist file
/opt/freeradius/etc/raddb/mods-config/attr_filter/pre-proxy
# Instantiating module "attr_filter.access_reject" from file
/opt/freeradius/etc/raddb/mods-enabled/attr_filter
reading pairlist file
/opt/freeradius/etc/raddb/mods-config/attr_filter/access_reject
# Instantiating module "attr_filter.access_challenge" from file
/opt/freeradius/etc/raddb/mods-enabled/attr_filter
reading pairlist file
/opt/freeradius/etc/raddb/mods-config/attr_filter/access_challenge
# Instantiating module "attr_filter.accounting_response" from file
/opt/freeradius/etc/raddb/mods-enabled/attr_filter
reading pairlist file
/opt/freeradius/etc/raddb/mods-config/attr_filter/accounting_response
# Instantiating module "attr_filter.coa" from file
/opt/freeradius/etc/raddb/mods-enabled/attr_filter
reading pairlist file /opt/freeradius/etc/raddb/mods-config/attr_filter/coa
# Instantiating module "reject" from file
/opt/freeradius/etc/raddb/mods-enabled/always
# Instantiating module "fail" from file
/opt/freeradius/etc/raddb/mods-enabled/always
# Instantiating module "ok" from file
/opt/freeradius/etc/raddb/mods-enabled/always
# Instantiating module "handled" from file
/opt/freeradius/etc/raddb/mods-enabled/always
# Instantiating module "invalid" from file
/opt/freeradius/etc/raddb/mods-enabled/always
# Instantiating module "userlock" from file
/opt/freeradius/etc/raddb/mods-enabled/always
# Instantiating module "notfound" from file
/opt/freeradius/etc/raddb/mods-enabled/always
# Instantiating module "noop" from file
/opt/freeradius/etc/raddb/mods-enabled/always
# Instantiating module "updated" from file
/opt/freeradius/etc/raddb/mods-enabled/always
# Instantiating module "pap" from file
/opt/freeradius/etc/raddb/mods-enabled/pap
# Instantiating module "totp" from file
/opt/freeradius/etc/raddb/mods-enabled/totp
# Instantiating module "mschap" from file
/opt/freeradius/etc/raddb/mods-enabled/mschap
rlm_mschap (mschap): using internal authentication
# Instantiating module "logintime" from file
/opt/freeradius/etc/raddb/mods-enabled/logintime
# Instantiating module "detail" from file
/opt/freeradius/etc/raddb/mods-enabled/detail
# Instantiating module "proxy_rate_limit" from file
/opt/freeradius/etc/raddb/mods-enabled/proxy_rate_limit
# Instantiating module "auth_log" from file
/opt/freeradius/etc/raddb/mods-enabled/detail.log
rlm_detail (auth_log): 'User-Password' suppressed, will not appear in
detail output
# Instantiating module "reply_log" from file
/opt/freeradius/etc/raddb/mods-enabled/detail.log
# Instantiating module "pre_proxy_log" from file
/opt/freeradius/etc/raddb/mods-enabled/detail.log
# Instantiating module "post_proxy_log" from file
/opt/freeradius/etc/raddb/mods-enabled/detail.log
# Instantiating module "IPASS" from file
/opt/freeradius/etc/raddb/mods-enabled/realm
# Instantiating module "suffix" from file
/opt/freeradius/etc/raddb/mods-enabled/realm
# Instantiating module "bangpath" from file
/opt/freeradius/etc/raddb/mods-enabled/realm
# Instantiating module "realmpercent" from file
/opt/freeradius/etc/raddb/mods-enabled/realm
# Instantiating module "ntdomain" from file
/opt/freeradius/etc/raddb/mods-enabled/realm
# Instantiating module "expiration" from file
/opt/freeradius/etc/raddb/mods-enabled/expiration
# Instantiating module "files" from file
/opt/freeradius/etc/raddb/mods-enabled/files
reading pairlist file /opt/freeradius/etc/raddb/mods-config/files/authorize
reading pairlist file /opt/freeradius/etc/raddb/mods-config/files/accounting
reading pairlist file /opt/freeradius/etc/raddb/mods-config/files/pre-proxy
# Instantiating module "linelog" from file
/opt/freeradius/etc/raddb/mods-enabled/linelog
# Instantiating module "log_accounting" from file
/opt/freeradius/etc/raddb/mods-enabled/linelog
# Instantiating module "nmxeap" from file
/opt/freeradius/etc/raddb/mods-enabled/nmx-eap
# Linked to sub-module rlm_eap_ttls
ttls {
tls = "nmxeap"
default_eap_type = "mschapv2"
copy_request_to_tunnel = yes
use_tunneled_reply = no
virtual_server = "hs2-inner-tunnel"
include_length = yes
require_client_cert = no
}
tls-config nmxeap {
verify_depth = 0
pem_file_type = yes
private_key_file = "/opt/freeradius/etc/raddb/certs/realms/no***ud.pem"
certificate_file = "/opt/freeradius/etc/raddb/certs/realms/no***ud.pem"
private_key_password = <<< secret >>>
fragment_size = 1024
include_length = yes
auto_chain = yes
check_crl = no
check_all_crl = no
ca_path_reload_interval = 0
cipher_list = "DEFAULT"
cipher_server_preference = no
reject_unknown_intermediate_ca = no
ecdh_curve = "prime256v1"
tls_max_version = "1.2"
tls_min_version = "1.2"
realm_dir = "/opt/freeradius/etc/raddb/certs/realms"
cache {
enable = no
lifetime = 24
max_entries = 255
}
verify {
skip_if_ocsp_ok = no
}
ocsp {
enable = no
override_cert_url = no
use_nonce = yes
timeout = 0
softfail = no
}
}
# Linked to sub-module rlm_eap_mschapv2
mschapv2 {
with_ntdomain_hack = no
send_error = no
}
# Instantiating module "rest_clients" from file
/opt/freeradius/etc/raddb/mods-enabled/rest
authorize {
uri = "http://rest:8080/client_authorize"
method = "post"
body = "json"
attr_num = no
raw_value = no
data = "{"Called-Station-Id": "%{control:FreeRADIUS-Client-Shortname}",
"Packet-Src-IP-Address": "%{Packet-Src-IP-Address}", "NAS-Identifier":
"%{raw:NAS-Identifier}"}"
auth = "none"
require_auth = no
timeout = 5.000000
chunk = 0
tls {
check_cert = yes
check_cert_cn = yes
}
body_uri_encode = yes
}
rlm_rest: libcurl version: libcurl/7.81.0 OpenSSL/3.0.2 zlib/1.2.11
brotli/1.0.9 zstd/1.4.8 libidn2/2.3.2 libpsl/0.21.0 (+libidn2/2.3.2)
libssh/0.9.6/openssl/zlib nghttp2/1.43.0 librtmp/2.3 OpenLDAP/2.5.18
rlm_rest (rest_clients): Initialising connection pool
pool {
start = 0
min = 3
max = 64
spare = 10
uses = 0
lifetime = 0
cleanup_interval = 30
idle_timeout = 60
retry_delay = 30
max_retries = 5
spread = no
}
# Instantiating module "rest_users" from file
/opt/freeradius/etc/raddb/mods-enabled/rest
authorize {
uri = "http://rest:8080/user_authorize"
method = "post"
body = "json"
attr_num = no
raw_value = no
auth = "none"
require_auth = no
timeout = 5.000000
chunk = 0
tls {
check_cert = yes
check_cert_cn = yes
}
body_uri_encode = yes
}
accounting {
uri = "http://rest:8080/user_accounting"
method = "post"
body = "json"
attr_num = no
raw_value = no
auth = "none"
require_auth = no
timeout = 5.000000
chunk = 0
tls {
check_cert = yes
check_cert_cn = yes
}
body_uri_encode = yes
}
rlm_rest (rest_users): Initialising connection pool
pool {
start = 0
min = 3
max = 64
spare = 10
uses = 0
lifetime = 0
cleanup_interval = 30
idle_timeout = 60
retry_delay = 30
max_retries = 5
spread = no
}
# Instantiating module "rest_hs2" from file
/opt/freeradius/etc/raddb/mods-enabled/rest
authorize {
uri = "http://rest:8080/hs2_authorize"
method = "post"
body = "json"
attr_num = no
raw_value = no
auth = "none"
require_auth = no
timeout = 5.000000
chunk = 0
tls {
check_cert = yes
check_cert_cn = yes
}
body_uri_encode = yes
}
accounting {
uri = "http://rest:8080/hs2_accounting"
method = "post"
body = "json"
attr_num = no
raw_value = no
auth = "none"
require_auth = no
timeout = 5.000000
chunk = 0
tls {
check_cert = yes
check_cert_cn = yes
}
body_uri_encode = yes
}
rlm_rest (rest_hs2): Initialising connection pool
pool {
start = 0
min = 3
max = 64
spare = 10
uses = 0
lifetime = 0
cleanup_interval = 30
idle_timeout = 60
retry_delay = 30
max_retries = 5
spread = no
}
# Instantiating module "rest_log_passpoint" from file
/opt/freeradius/etc/raddb/mods-enabled/rest
post-auth {
uri = "http://rest:8080/log"
method = "post"
body = "json"
attr_num = no
raw_value = no
data = "{"event_type": "passpoint", "time": "%T", "msgtype":
"%{reply:Packet-Type}", "username": "%{User-Name}", "called_station_id":
"%{Called-Station-Id}", "calling_station_id": "%{Calling-Station-Id}",
"nas_identifier": "%{NAS-Identifier}", "cui":
"%{reply:Chargeable-User-Identity}", "nas_ip": "%{NAS-IP-Address}",
"module_reason": "%{Module-Failure-Message}", "reason":
"%{reply:Reply-Message}"}"
auth = "none"
require_auth = no
timeout = 5.000000
chunk = 0
tls {
check_cert = yes
check_cert_cn = yes
}
body_uri_encode = yes
}
rlm_rest (rest_log_passpoint): Initialising connection pool
pool {
start = 0
min = 3
max = 64
spare = 10
uses = 0
lifetime = 0
cleanup_interval = 30
idle_timeout = 60
retry_delay = 30
max_retries = 5
spread = no
}
# Instantiating module "rest_log_captive" from file
/opt/freeradius/etc/raddb/mods-enabled/rest
post-auth {
uri = "http://rest:8080/log"
method = "post"
body = "json"
attr_num = no
raw_value = no
data = "{"event_type": "captive", "time": "%T", "msgtype":
"%{reply:Packet-Type}", "request": "%{base64:%{pairs:request:[*]}}",
"reply": "%{base64:%{pairs:reply:[*]}}"}"
auth = "none"
require_auth = no
timeout = 5.000000
chunk = 0
tls {
check_cert = yes
check_cert_cn = yes
}
body_uri_encode = yes
}
rlm_rest (rest_log_captive): Initialising connection pool
pool {
start = 0
min = 3
max = 64
spare = 10
uses = 0
lifetime = 0
cleanup_interval = 30
idle_timeout = 60
retry_delay = 30
max_retries = 5
spread = no
}
} # modules
radiusd: #### Loading Virtual Servers ####
server { # from file /opt/freeradius/etc/raddb/radiusd.conf
} # server
server status { # from file /opt/freeradius/etc/raddb/sites-enabled/status
# Loading authorize {...}
Compiling Autz-Type Status-Server for attr Autz-Type
} # server status
server hs2 { # from file /opt/freeradius/etc/raddb/sites-enabled/hs2
# Loading authenticate {...}
Compiling Auth-Type PAP for attr Auth-Type
Compiling Auth-Type CHAP for attr Auth-Type
Compiling Auth-Type MSCHAP for attr Auth-Type
Compiling Auth-Type nmxeap for attr Auth-Type
# Loading authorize {...}
# Loading preacct {...}
# Loading accounting {...}
# Loading post-auth {...}
Compiling Post-Auth-Type REJECT for attr Post-Auth-Type
Compiling Post-Auth-Type Challenge for attr Post-Auth-Type
} # server hs2
server hs2-inner-tunnel { # from file
/opt/freeradius/etc/raddb/sites-enabled/hs2-inner-tunnel
# Loading authenticate {...}
Compiling Auth-Type MSCHAP for attr Auth-Type
# Loading authorize {...}
# Loading post-auth {...}
Compiling Post-Auth-Type REJECT for attr Post-Auth-Type
} # server hs2-inner-tunnel
server testserver { # from file
/opt/freeradius/etc/raddb/sites-enabled/testserver
# Loading authenticate {...}
Compiling Auth-Type PAP for attr Auth-Type
# Loading authorize {...}
} # server testserver
server dynamic_clients { # from file
/opt/freeradius/etc/raddb/sites-enabled/dynamic-clients
# Loading authorize {...}
} # server dynamic_clients
radiusd: #### Opening IP addresses and Ports ####
listen {
type = "status"
ipaddr = *
port = 18121
proto = "udp"
client admin {
ipaddr = 127.0.0.1/32
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
}
listen {
type = "auth"
ipaddr = *
port = 1812
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
client hs2_dynamic {
ipaddr = 0.0.0.0/0
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
dynamic_clients = "dynamic_clients"
lifetime = 3600
}
}
listen {
type = "acct"
ipaddr = *
port = 1813
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
listen {
type = "auth"
ipaddr = *
port = 1815
proto = "udp"
client randos {
ipaddr = 0.0.0.0/0
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
}
Listening on status address * port 18121 bound to server status
Listening on auth address * port 1812 bound to server hs2
Listening on acct address * port 1813 bound to server hs2
Listening on auth address * port 1815 bound to server testserver
Listening on proxy address * port 43223
Ready to process requests
Nomadix Cloud RADIUS-HEALTH started on port 8066
2025-04-08 16:33:16,692 INFO success: healthcheck entered RUNNING state,
process has stayed up for > than 1 seconds (startsecs)
2025-04-08 16:33:16,692 INFO success: radiusd entered RUNNING state,
process has stayed up for > than 1 seconds (startsecs)
(0) server dynamic_clients {
(0) # Executing section authorize from file
/opt/freeradius/etc/raddb/sites-enabled/dynamic-clients
(0) authorize {
(0) update control {
(0) EXPAND %{Packet-Src-IP-Address}
(0) --> 192.168.65.1
(0) &FreeRADIUS-Client-IP-Address = 192.168.65.1
(0) &FreeRADIUS-Client-Require-MA = false
(0) rlm_raw: Found, Called-Station-Id = AA:BB:CC:DD:EE:FF
(0) EXPAND %{raw:Called-Station-Id}
(0) --> AA:BB:CC:DD:EE:FF
(0) &FreeRADIUS-Client-Shortname = AA:BB:CC:DD:EE:FF
(0) &FreeRADIUS-Client-NAS-Type = "other"
(0) } # update control = noop
rlm_rest (rest_clients): 0 of 0 connections in use. You may need to
increase "spare"
rlm_rest (rest_clients): Opening additional connection (0), 1 of 64 pending
slots used
rlm_rest (rest_clients): Connecting to "http://rest:8080/"
rlm_rest (rest_clients): Reserved connection (0)
(0) rest_clients: Expanding URI components
(0) rest_clients: EXPAND http://rest:8080
(0) rest_clients: --> http://rest:8080
(0) rest_clients: EXPAND /client_authorize
(0) rest_clients: --> /client_authorize
(0) rest_clients: Sending HTTP POST to "http://rest:8080/client_authorize"
(0) rest_clients: rlm_raw: Found, NAS-Identifier = 214a01f4
(0) rest_clients: EXPAND {"Called-Station-Id":
"%{control:FreeRADIUS-Client-Shortname}", "Packet-Src-IP-Address":
"%{Packet-Src-IP-Address}", "NAS-Identifier": "%{raw:NAS-Identifier}"}
(0) rest_clients: --> {"Called-Station-Id": "AA:BB:CC:DD:EE:FF",
"Packet-Src-IP-Address": "192.168.65.1", "NAS-Identifier": "214a01f4"}
(0) rest_clients: Processing response header
(0) rest_clients: Status : 200 (OK)
(0) rest_clients: Type : json (application/json)
(0) rest_clients: Adding reply:REST-HTTP-Status-Code = "200"
(0) rest_clients: Parsing attribute "control:FreeRADIUS-Client-Secret"
(0) rest_clients: EXPAND 0ba9ad736c7a35017c55f6c43a912b4d
(0) rest_clients: --> 0ba9ad736c7a35017c55f6c43a912b4d
(0) rest_clients: FreeRADIUS-Client-Secret :=
"0ba9ad736c7a35017c55f6c43a912b4d"
rlm_rest (rest_clients): Released connection (0)
Need 2 more connections to reach min connections (3)
Need more connections to reach 10 spares
rlm_rest (rest_clients): Opening additional connection (1), 1 of 63 pending
slots used
rlm_rest (rest_clients): Connecting to "http://rest:8080/"
(0) [rest_clients] = updated
(0) [ok] = ok
(0) } # authorize = updated
(0) } # server dynamic_clients
(0) Converting control list to client fields
(0) ipv4addr = 192.168.65.1
(0) rate_limit = false
(0) secret = 0ba9ad736c7a35017c55f6c43a912b4d
(0) shortname = AA:BB:CC:DD:EE:FF
(0) nas_type = other
Adding client 192.168.65.1/32
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
BlastRADIUS check: Received packet without Proxy-State.
Setting "limit_proxy_state = true" for client AA:BB:CC:DD:EE:FF
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
The packet contains Message-Authenticator.
Please set "require_message_authenticator = true" for client
AA:BB:CC:DD:EE:FF
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
(0) Received Access-Request Id 0 from 192.168.65.1:30038 to 172.19.0.3:1812
length 171
(0) User-Name = "anonymous(a)an***rk.com"
(0) Calling-Station-Id = "11:22:33:44:55:66"
(0) NAS-Port = 1
(0) NAS-Port-Id = "test"
(0) NAS-Port-Type = Wireless-802.11
(0) NAS-IP-Address = 191.111.11.1
(0) NAS-Identifier = "214a01f4"
(0) Called-Station-Id = "AA:BB:CC:DD:EE:FF"
(0) EAP-Message =
0x0218001f01616e6f6e796d6f757340616e6769656e6574776f726b2e636f6d
(0) Message-Authenticator = 0x6631f5deb99ad33975b6d9d4db87a70c
(0) # Executing section authorize from file
/opt/freeradius/etc/raddb/sites-enabled/hs2
(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 !~ /(a)(.+)\.(.+)$/)) {
(0) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) ->
FALSE
(0) if (&User-Name =~ /\.$/) {
(0) if (&User-Name =~ /\.$/) -> FALSE
(0) if (&User-Name =~ /(a)\./) {
(0) if (&User-Name =~ /(a)\./) -> FALSE
(0) } # if (&User-Name) = notfound
(0) } # policy filter_username = notfound
(0) [preprocess] = ok
(0) suffix: Checking for suffix after "@"
(0) suffix: Looking up realm "an***rk.com" for User-Name = "anonymous@an***
rk.com"
(0) suffix: Found realm "~.*"
(0) suffix: Adding Stripped-User-Name = "anonymous"
(0) suffix: Adding Realm = "an***rk.com"
(0) suffix: Authentication realm is LOCAL
(0) [suffix] = ok
(0) nmxeap: Peer sent EAP Response (code 2) ID 24 length 31
(0) nmxeap: EAP-Identity reply, returning 'ok' so we can short-circuit the
rest of authorize
(0) [nmxeap] = ok
(0) } # authorize = ok
(0) Found Auth-Type = nmxeap
(0) # Executing group from file /opt/freeradius/etc/raddb/sites-enabled/hs2
(0) Auth-Type nmxeap {
(0) if ("%{unpack:&EAP-Message 4 byte}" == 1) {
(0) EXPAND %{unpack:&EAP-Message 4 byte}
(0) --> 1
(0) if ("%{unpack:&EAP-Message 4 byte}" == 1) -> TRUE
(0) if ("%{unpack:&EAP-Message 4 byte}" == 1) {
(0) update control {
(0) EXPAND /opt/freeradius/etc/raddb/certs/realms/%{Realm}.pem
(0) --> /opt/freeradius/etc/raddb/certs/realms/an***rk.com.pem
(0) TLS-Session-Cert-File :=
/opt/freeradius/etc/raddb/certs/realms/an***rk.com.pem
(0) } # update control = noop
(0) } # if ("%{unpack:&EAP-Message 4 byte}" == 1) = noop
(0) nmxeap: Peer sent packet with method EAP Identity (1)
(0) nmxeap: Using default_eap_type = TTLS
(0) nmxeap: Calling submodule eap_ttls to process data
(0) eap_ttls: (TLS) TTLS -Initiating new session
(0) eap_ttls: (TLS) TTLS - Loading session certificate file
"/opt/freeradius/etc/raddb/certs/realms/an***rk.com.pem"
(0) nmxeap: Sending EAP Request (code 1) ID 25 length 6
(0) nmxeap: EAP session adding &reply:State = 0xce864a98ce9f5f03
(0) [nmxeap] = handled
(0) } # Auth-Type nmxeap = handled
(0) Using Post-Auth-Type Challenge
(0) # Executing group from file /opt/freeradius/etc/raddb/sites-enabled/hs2
(0) Challenge { ... } # empty sub-section is ignored
(0) session-state: Saving cached attributes
(0) Framed-MTU = 1014
(0) Sent Access-Challenge Id 0 from 172.19.0.3:1812 to 192.168.65.1:30038
length 64
(0) EAP-Message = 0x011900061520
(0) Message-Authenticator = 0x00000000000000000000000000000000
(0) State = 0xce864a98ce9f5f034dd14839490e7d80
(0) Finished request
Waking up in 4.9 seconds.
(1) Received Access-Request Id 1 from 192.168.65.1:30038 to 172.19.0.3:1812
length 354
(1) User-Name = "anonymous(a)an***rk.com"
(1) Calling-Station-Id = "11:22:33:44:55:66"
(1) NAS-Port = 1
(1) NAS-Port-Id = "test"
(1) NAS-Port-Type = Wireless-802.11
(1) NAS-IP-Address = 191.111.11.1
(1) NAS-Identifier = "214a01f4"
(1) Called-Station-Id = "AA:BB:CC:DD:EE:FF"
(1) EAP-Message =
0x021900c4150016030100b9010000b50303137687b5429f8cfe915c964c30a9a869696f54b67915150a7e3b0f8e6333f965000038c02cc030009fcca9cca8ccaac02bc02f009ec024c028006bc023c0270067c00ac0140039c009c0130033009d009c003d003c0035002f00ff01000054000b000403000102000a000c000a001d0017001e001900180016000000170000000d0030002e040305030603080708080809080a080b080408050806040105010601030302030301020103020202040205020602
(1) State = 0xce864a98ce9f5f034dd14839490e7d80
(1) Message-Authenticator = 0x21fbb552049d8ab7a8a4cdf6103e719e
(1) Restoring &session-state
(1) &session-state:Framed-MTU = 1014
(1) # Executing section authorize from file
/opt/freeradius/etc/raddb/sites-enabled/hs2
(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 !~ /(a)(.+)\.(.+)$/)) {
(1) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) ->
FALSE
(1) if (&User-Name =~ /\.$/) {
(1) if (&User-Name =~ /\.$/) -> FALSE
(1) if (&User-Name =~ /(a)\./) {
(1) if (&User-Name =~ /(a)\./) -> FALSE
(1) } # if (&User-Name) = notfound
(1) } # policy filter_username = notfound
(1) [preprocess] = ok
(1) suffix: Checking for suffix after "@"
(1) suffix: Looking up realm "an***rk.com" for User-Name = "anonymous@an***
rk.com"
(1) suffix: Found realm "~.*"
(1) suffix: Adding Stripped-User-Name = "anonymous"
(1) suffix: Adding Realm = "an***rk.com"
(1) suffix: Authentication realm is LOCAL
(1) [suffix] = ok
(1) nmxeap: Peer sent EAP Response (code 2) ID 25 length 196
(1) nmxeap: Continuing tunnel setup
(1) [nmxeap] = ok
(1) } # authorize = ok
(1) Found Auth-Type = nmxeap
(1) # Executing group from file /opt/freeradius/etc/raddb/sites-enabled/hs2
(1) Auth-Type nmxeap {
(1) if ("%{unpack:&EAP-Message 4 byte}" == 1) {
(1) EXPAND %{unpack:&EAP-Message 4 byte}
(1) --> 21
(1) if ("%{unpack:&EAP-Message 4 byte}" == 1) -> FALSE
(1) nmxeap: Removing EAP session with state 0xce864a98ce9f5f03
(1) nmxeap: Previous EAP request found for state 0xce864a98ce9f5f03,
released from the list
(1) nmxeap: Peer sent packet with method EAP TTLS (21)
(1) nmxeap: Calling submodule eap_ttls to process data
(1) eap_ttls: Authenticate
(1) eap_ttls: (TLS) EAP Got final fragment (190 bytes) total 190
(1) eap_ttls: WARNING: (TLS) EAP Total received record fragments (190
bytes), does not equal expected expected data length (0 bytes)
(1) eap_ttls: (TLS) EAP Done initial handshake
(1) eap_ttls: (TLS) TTLS - Handshake state - before SSL initialization
(1) eap_ttls: (TLS) TTLS - Handshake state - Server before SSL
initialization
(1) eap_ttls: (TLS) TTLS - Handshake state - Server before SSL
initialization
(1) eap_ttls: (TLS) TTLS - recv TLS 1.3 Handshake, ClientHello
(1) eap_ttls: (TLS) TTLS - Handshake state - Server SSLv3/TLS read client
hello
(1) eap_ttls: (TLS) TTLS - send TLS 1.2 Handshake, ServerHello
(1) eap_ttls: (TLS) TTLS - Handshake state - Server SSLv3/TLS write server
hello
(1) eap_ttls: (TLS) TTLS - send TLS 1.2 Handshake, Certificate
(1) eap_ttls: (TLS) TTLS - Handshake state - Server SSLv3/TLS write
certificate
(1) eap_ttls: (TLS) TTLS - send TLS 1.2 Handshake, ServerKeyExchange
(1) eap_ttls: (TLS) TTLS - Handshake state - Server SSLv3/TLS write key
exchange
(1) eap_ttls: (TLS) TTLS - send TLS 1.2 Handshake, ServerHelloDone
(1) eap_ttls: (TLS) TTLS - Handshake state - Server SSLv3/TLS write server
done
(1) eap_ttls: (TLS) TTLS - Server : Need to read more data: SSLv3/TLS write
server done
(1) eap_ttls: (TLS) TTLS - In Handshake Phase
(1) nmxeap: Sending EAP Request (code 1) ID 26 length 1020
(1) nmxeap: EAP session adding &reply:State = 0xce864a98cf9c5f03
(1) [nmxeap] = handled
(1) } # Auth-Type nmxeap = handled
(1) Using Post-Auth-Type Challenge
(1) # Executing group from file /opt/freeradius/etc/raddb/sites-enabled/hs2
(1) Challenge { ... } # empty sub-section is ignored
(1) session-state: Saving cached attributes
(1) Framed-MTU = 1014
(1) TLS-Session-Information = "(TLS) TTLS - recv TLS 1.3 Handshake,
ClientHello"
(1) TLS-Session-Information = "(TLS) TTLS - send TLS 1.2 Handshake,
ServerHello"
(1) TLS-Session-Information = "(TLS) TTLS - send TLS 1.2 Handshake,
Certificate"
(1) TLS-Session-Information = "(TLS) TTLS - send TLS 1.2 Handshake,
ServerKeyExchange"
(1) TLS-Session-Information = "(TLS) TTLS - send TLS 1.2 Handshake,
ServerHelloDone"
(1) Sent Access-Challenge Id 1 from 172.19.0.3:1812 to 192.168.65.1:30038
length 1086
(1) EAP-Message =
0x011a03fc15c0000017cb160303003d0200003903038d22b465c8764fba1e3becba9784ef3d5fb96077dffb7a2b4bf31c20eaf7e89300c030000011ff01000100000b0004030001020017000016030316290b0016250016220006443082064030820528a00302010202104839e9cb361fa0d2838738a21b67bcf3300d06092a864886f70d01010b050030818f310b3009060355040613024742311b30190603550408131247726561746572204d616e636865737465723110300e0603550407130753616c666f726431183016060355040a130f5365637469676f204c696d69746564313730350603550403132e5365637469676f2052534120446f6d61696e2056616c69646174696f6e2053656375726520536572766572204341301e170d3235303331373030303030305a170d3236303430333233353935395a301b3119301706035504031310616e6769656e6574776f726b2e636f6d30820122300d06092a864886f70d01010105000382010f003082010a028201
(1) Message-Authenticator = 0x00000000000000000000000000000000
(1) State = 0xce864a98cf9c5f034dd14839490e7d80
(1) Finished request
Waking up in 4.9 seconds.
(2) Received Access-Request Id 2 from 192.168.65.1:30038 to 172.19.0.3:1812
length 164
(2) User-Name = "anonymous(a)an***rk.com"
(2) Calling-Station-Id = "11:22:33:44:55:66"
(2) NAS-Port = 1
(2) NAS-Port-Id = "test"
(2) NAS-Port-Type = Wireless-802.11
(2) NAS-IP-Address = 191.111.11.1
(2) NAS-Identifier = "214a01f4"
(2) Called-Station-Id = "AA:BB:CC:DD:EE:FF"
(2) EAP-Message = 0x021a00061500
(2) State = 0xce864a98cf9c5f034dd14839490e7d80
(2) Message-Authenticator = 0x78aea1b8ecf960aac347a172ca1d45f4
(2) Restoring &session-state
(2) &session-state:Framed-MTU = 1014
(2) &session-state:TLS-Session-Information = "(TLS) TTLS - recv TLS 1.3
Handshake, ClientHello"
(2) &session-state:TLS-Session-Information = "(TLS) TTLS - send TLS 1.2
Handshake, ServerHello"
(2) &session-state:TLS-Session-Information = "(TLS) TTLS - send TLS 1.2
Handshake, Certificate"
(2) &session-state:TLS-Session-Information = "(TLS) TTLS - send TLS 1.2
Handshake, ServerKeyExchange"
(2) &session-state:TLS-Session-Information = "(TLS) TTLS - send TLS 1.2
Handshake, ServerHelloDone"
(2) # Executing section authorize from file
/opt/freeradius/etc/raddb/sites-enabled/hs2
(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 !~ /(a)(.+)\.(.+)$/)) {
(2) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) ->
FALSE
(2) if (&User-Name =~ /\.$/) {
(2) if (&User-Name =~ /\.$/) -> FALSE
(2) if (&User-Name =~ /(a)\./) {
(2) if (&User-Name =~ /(a)\./) -> FALSE
(2) } # if (&User-Name) = notfound
(2) } # policy filter_username = notfound
(2) [preprocess] = ok
(2) suffix: Checking for suffix after "@"
(2) suffix: Looking up realm "an***rk.com" for User-Name = "anonymous@an***
rk.com"
(2) suffix: Found realm "~.*"
(2) suffix: Adding Stripped-User-Name = "anonymous"
(2) suffix: Adding Realm = "an***rk.com"
(2) suffix: Authentication realm is LOCAL
(2) [suffix] = ok
(2) nmxeap: Peer sent EAP Response (code 2) ID 26 length 6
(2) nmxeap: Continuing tunnel setup
(2) [nmxeap] = ok
(2) } # authorize = ok
(2) Found Auth-Type = nmxeap
(2) # Executing group from file /opt/freeradius/etc/raddb/sites-enabled/hs2
(2) Auth-Type nmxeap {
(2) if ("%{unpack:&EAP-Message 4 byte}" == 1) {
(2) EXPAND %{unpack:&EAP-Message 4 byte}
(2) --> 21
(2) if ("%{unpack:&EAP-Message 4 byte}" == 1) -> FALSE
(2) nmxeap: Removing EAP session with state 0xce864a98cf9c5f03
(2) nmxeap: Previous EAP request found for state 0xce864a98cf9c5f03,
released from the list
(2) nmxeap: Peer sent packet with method EAP TTLS (21)
(2) nmxeap: Calling submodule eap_ttls to process data
(2) eap_ttls: Authenticate
(2) eap_ttls: (TLS) Peer ACKed our handshake fragment
(2) nmxeap: Sending EAP Request (code 1) ID 27 length 1020
(2) nmxeap: EAP session adding &reply:State = 0xce864a98cc9d5f03
(2) [nmxeap] = handled
(2) } # Auth-Type nmxeap = handled
(2) Using Post-Auth-Type Challenge
(2) # Executing group from file /opt/freeradius/etc/raddb/sites-enabled/hs2
(2) Challenge { ... } # empty sub-section is ignored
(2) session-state: Saving cached attributes
(2) Framed-MTU = 1014
(2) TLS-Session-Information = "(TLS) TTLS - recv TLS 1.3 Handshake,
ClientHello"
(2) TLS-Session-Information = "(TLS) TTLS - send TLS 1.2 Handshake,
ServerHello"
(2) TLS-Session-Information = "(TLS) TTLS - send TLS 1.2 Handshake,
Certificate"
(2) TLS-Session-Information = "(TLS) TTLS - send TLS 1.2 Handshake,
ServerKeyExchange"
(2) TLS-Session-Information = "(TLS) TTLS - send TLS 1.2 Handshake,
ServerHelloDone"
(2) Sent Access-Challenge Id 2 from 172.19.0.3:1812 to 192.168.65.1:30038
length 1086
(2) EAP-Message =
0x011b03fc15c0000017cb656e6574776f726b2e636f6d3082017f060a2b06010401d6790204020482016f0482016b0169007600969764bf555897adf743876837084277e9f03ad5f6a4f3366e46a43f0fcaa9c600000195a4f668570000040300473045022100bf37a3bc8ed11b707cb4a17a18191759c55183e08c51c6c4fd5ef818256db49502207354c63233566d451010d64a10eb6d7066c9d3d3e03f903aa54b55851a8577ea0077001986d4c728aa6ffeba036f782a4d0191aace2d72310faece5d70412d254cc7d400000195a4f667ed0000040300483046022100b04f23c9774ad6d6936510e9d75051f94d5234b1a4b76958955d8d393ea59383022100c374fecfaa59e04be3bfffa487d9734ae6f9ea69a15d83ca12c8ae09365f2acb007600cb38f715897c84a1445f5bc1ddfbc96ef29a59cd470a690585b0cb14c31458e700000195a4f668770000040300473045022002cbd6e3f704a2d1d2f7f75f4cc7c950b56c8cdfa2fcacc5afc4b9e74a8578ca02
(2) Message-Authenticator = 0x00000000000000000000000000000000
(2) State = 0xce864a98cc9d5f034dd14839490e7d80
(2) Finished request
Waking up in 4.9 seconds.
(3) Received Access-Request Id 3 from 192.168.65.1:30038 to 172.19.0.3:1812
length 164
(3) User-Name = "anonymous(a)an***rk.com"
(3) Calling-Station-Id = "11:22:33:44:55:66"
(3) NAS-Port = 1
(3) NAS-Port-Id = "test"
(3) NAS-Port-Type = Wireless-802.11
(3) NAS-IP-Address = 191.111.11.1
(3) NAS-Identifier = "214a01f4"
(3) Called-Station-Id = "AA:BB:CC:DD:EE:FF"
(3) EAP-Message = 0x021b00061500
(3) State = 0xce864a98cc9d5f034dd14839490e7d80
(3) Message-Authenticator = 0xad3034f1c0603cfd00352b73e141b97e
(3) Restoring &session-state
(3) &session-state:Framed-MTU = 1014
(3) &session-state:TLS-Session-Information = "(TLS) TTLS - recv TLS 1.3
Handshake, ClientHello"
(3) &session-state:TLS-Session-Information = "(TLS) TTLS - send TLS 1.2
Handshake, ServerHello"
(3) &session-state:TLS-Session-Information = "(TLS) TTLS - send TLS 1.2
Handshake, Certificate"
(3) &session-state:TLS-Session-Information = "(TLS) TTLS - send TLS 1.2
Handshake, ServerKeyExchange"
(3) &session-state:TLS-Session-Information = "(TLS) TTLS - send TLS 1.2
Handshake, ServerHelloDone"
(3) # Executing section authorize from file
/opt/freeradius/etc/raddb/sites-enabled/hs2
(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 !~ /(a)(.+)\.(.+)$/)) {
(3) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) ->
FALSE
(3) if (&User-Name =~ /\.$/) {
(3) if (&User-Name =~ /\.$/) -> FALSE
(3) if (&User-Name =~ /(a)\./) {
(3) if (&User-Name =~ /(a)\./) -> FALSE
(3) } # if (&User-Name) = notfound
(3) } # policy filter_username = notfound
(3) [preprocess] = ok
(3) suffix: Checking for suffix after "@"
(3) suffix: Looking up realm "an***rk.com" for User-Name = "anonymous@an***
rk.com"
(3) suffix: Found realm "~.*"
(3) suffix: Adding Stripped-User-Name = "anonymous"
(3) suffix: Adding Realm = "an***rk.com"
(3) suffix: Authentication realm is LOCAL
(3) [suffix] = ok
(3) nmxeap: Peer sent EAP Response (code 2) ID 27 length 6
(3) nmxeap: Continuing tunnel setup
(3) [nmxeap] = ok
(3) } # authorize = ok
(3) Found Auth-Type = nmxeap
(3) # Executing group from file /opt/freeradius/etc/raddb/sites-enabled/hs2
(3) Auth-Type nmxeap {
(3) if ("%{unpack:&EAP-Message 4 byte}" == 1) {
(3) EXPAND %{unpack:&EAP-Message 4 byte}
(3) --> 21
(3) if ("%{unpack:&EAP-Message 4 byte}" == 1) -> FALSE
(3) nmxeap: Removing EAP session with state 0xce864a98cc9d5f03
(3) nmxeap: Previous EAP request found for state 0xce864a98cc9d5f03,
released from the list
(3) nmxeap: Peer sent packet with method EAP TTLS (21)
(3) nmxeap: Calling submodule eap_ttls to process data
(3) eap_ttls: Authenticate
(3) eap_ttls: (TLS) Peer ACKed our handshake fragment
(3) nmxeap: Sending EAP Request (code 1) ID 28 length 1020
(3) nmxeap: EAP session adding &reply:State = 0xce864a98cd9a5f03
(3) [nmxeap] = handled
(3) } # Auth-Type nmxeap = handled
(3) Using Post-Auth-Type Challenge
(3) # Executing group from file /opt/freeradius/etc/raddb/sites-enabled/hs2
(3) Challenge { ... } # empty sub-section is ignored
(3) session-state: Saving cached attributes
(3) Framed-MTU = 1014
(3) TLS-Session-Information = "(TLS) TTLS - recv TLS 1.3 Handshake,
ClientHello"
(3) TLS-Session-Information = "(TLS) TTLS - send TLS 1.2 Handshake,
ServerHello"
(3) TLS-Session-Information = "(TLS) TTLS - send TLS 1.2 Handshake,
Certificate"
(3) TLS-Session-Information = "(TLS) TTLS - send TLS 1.2 Handshake,
ServerKeyExchange"
(3) TLS-Session-Information = "(TLS) TTLS - send TLS 1.2 Handshake,
ServerHelloDone"
(3) Sent Access-Challenge Id 3 from 172.19.0.3:1812 to 192.168.65.1:30038
length 1086
(3) EAP-Message =
0x011c03fc15c0000017cb61696e2056616c69646174696f6e205365637572652053657276657220434130820122300d06092a864886f70d01010105000382010f003082010a0282010100d67333d6d73c20d000d21745b8d63e07a23fc741ee3230c9b06cfdf49fcb12980f2d3f8d4d010c820f177f622ee9b84879fb16834eadd7322593b707bfb9503fa94cc3402ae939ffd981ca1f163241da8026b9237a87201ee3ff209a3c95446f8775069040b4329316091008233ed2dd870f6f5d51146a0a69c54f017269cfd3934c6d04a0a31b827eb19ab9edc59ec537789f9a0834fb562e58c4090e06645bbc37dcf19f2868a856b092a35c9fbb8898081b241dab3085aeafb02e9e7a9dc1c0421ce202f0eae04ad2ef900eb4c14016f06f85424a64f7a430a0febf2ea3275a8e8b58b8adc319178463ed6f56fd83cb6034c474bee69ddbe1e4e5ca0c5f150203010001a382016e3082016a301f0603551d230418301680145379bf5aaa2b4acf5480e1d89bc09df2b20366
(3) Message-Authenticator = 0x00000000000000000000000000000000
(3) State = 0xce864a98cd9a5f034dd14839490e7d80
(3) Finished request
Waking up in 4.9 seconds.
(4) Received Access-Request Id 4 from 192.168.65.1:30038 to 172.19.0.3:1812
length 164
(4) User-Name = "anonymous(a)an***rk.com"
(4) Calling-Station-Id = "11:22:33:44:55:66"
(4) NAS-Port = 1
(4) NAS-Port-Id = "test"
(4) NAS-Port-Type = Wireless-802.11
(4) NAS-IP-Address = 191.111.11.1
(4) NAS-Identifier = "214a01f4"
(4) Called-Station-Id = "AA:BB:CC:DD:EE:FF"
(4) EAP-Message = 0x021c00061500
(4) State = 0xce864a98cd9a5f034dd14839490e7d80
(4) Message-Authenticator = 0x2dd5e9be8ae40d2d7e1f9e7024bede3e
(4) Restoring &session-state
(4) &session-state:Framed-MTU = 1014
(4) &session-state:TLS-Session-Information = "(TLS) TTLS - recv TLS 1.3
Handshake, ClientHello"
(4) &session-state:TLS-Session-Information = "(TLS) TTLS - send TLS 1.2
Handshake, ServerHello"
(4) &session-state:TLS-Session-Information = "(TLS) TTLS - send TLS 1.2
Handshake, Certificate"
(4) &session-state:TLS-Session-Information = "(TLS) TTLS - send TLS 1.2
Handshake, ServerKeyExchange"
(4) &session-state:TLS-Session-Information = "(TLS) TTLS - send TLS 1.2
Handshake, ServerHelloDone"
(4) # Executing section authorize from file
/opt/freeradius/etc/raddb/sites-enabled/hs2
(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 !~ /(a)(.+)\.(.+)$/)) {
(4) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) ->
FALSE
(4) if (&User-Name =~ /\.$/) {
(4) if (&User-Name =~ /\.$/) -> FALSE
(4) if (&User-Name =~ /(a)\./) {
(4) if (&User-Name =~ /(a)\./) -> FALSE
(4) } # if (&User-Name) = notfound
(4) } # policy filter_username = notfound
(4) [preprocess] = ok
(4) suffix: Checking for suffix after "@"
(4) suffix: Looking up realm "an***rk.com" for User-Name = "anonymous@an***
rk.com"
(4) suffix: Found realm "~.*"
(4) suffix: Adding Stripped-User-Name = "anonymous"
(4) suffix: Adding Realm = "an***rk.com"
(4) suffix: Authentication realm is LOCAL
(4) [suffix] = ok
(4) nmxeap: Peer sent EAP Response (code 2) ID 28 length 6
(4) nmxeap: Continuing tunnel setup
(4) [nmxeap] = ok
(4) } # authorize = ok
(4) Found Auth-Type = nmxeap
(4) # Executing group from file /opt/freeradius/etc/raddb/sites-enabled/hs2
(4) Auth-Type nmxeap {
(4) if ("%{unpack:&EAP-Message 4 byte}" == 1) {
(4) EXPAND %{unpack:&EAP-Message 4 byte}
(4) --> 21
(4) if ("%{unpack:&EAP-Message 4 byte}" == 1) -> FALSE
(4) nmxeap: Removing EAP session with state 0xce864a98cd9a5f03
(4) nmxeap: Previous EAP request found for state 0xce864a98cd9a5f03,
released from the list
(4) nmxeap: Peer sent packet with method EAP TTLS (21)
(4) nmxeap: Calling submodule eap_ttls to process data
(4) eap_ttls: Authenticate
(4) eap_ttls: (TLS) Peer ACKed our handshake fragment
(4) nmxeap: Sending EAP Request (code 1) ID 29 length 1020
(4) nmxeap: EAP session adding &reply:State = 0xce864a98ca9b5f03
(4) [nmxeap] = handled
(4) } # Auth-Type nmxeap = handled
(4) Using Post-Auth-Type Challenge
(4) # Executing group from file /opt/freeradius/etc/raddb/sites-enabled/hs2
(4) Challenge { ... } # empty sub-section is ignored
(4) session-state: Saving cached attributes
(4) Framed-MTU = 1014
(4) TLS-Session-Information = "(TLS) TTLS - recv TLS 1.3 Handshake,
ClientHello"
(4) TLS-Session-Information = "(TLS) TTLS - send TLS 1.2 Handshake,
ServerHello"
(4) TLS-Session-Information = "(TLS) TTLS - send TLS 1.2 Handshake,
Certificate"
(4) TLS-Session-Information = "(TLS) TTLS - send TLS 1.2 Handshake,
ServerKeyExchange"
(4) TLS-Session-Information = "(TLS) TTLS - send TLS 1.2 Handshake,
ServerHelloDone"
(4) Sent Access-Challenge Id 4 from 172.19.0.3:1812 to 192.168.65.1:30038
length 1086
(4) EAP-Message =
0x011d03fc15c0000017cb200b97a94585ddb38be589378e290dfc0617f638400e42e41206fb7bf3c6116862dfe398f413d8154f8bb169d91060bc642aea31b7e4b5a33a149b26e30b7bfd028eb699c138975936f6a874a286b65eebc664eacfa0a3f96e9eba2d11b6869808582dc9ac2564f25e75b438c1ae7f5a4683ea51cab6f19911356ba56a7bc600b0e7f8be64b2adc8c2f1ace351eaa493e079c8e18140c90a5be1123cc1602ae397c08942ca94cf46981269bb98d0c2d30d724b476ee593c43228638743e4b0323e0ad34bbf239b1429412b9a041f932df1c739483cad5a127f0005853082058130820469a00302010202103972443af922b751d7d36c10dd313595300d06092a864886f70d01010c0500307b310b3009060355040613024742311b301906035504080c1247726561746572204d616e636865737465723110300e06035504070c0753616c666f7264311a3018060355040a0c11436f6d6f646f204341204c696d697465643121301f0603550403
(4) Message-Authenticator = 0x00000000000000000000000000000000
(4) State = 0xce864a98ca9b5f034dd14839490e7d80
(4) Finished request
Waking up in 4.9 seconds.
(5) Received Access-Request Id 5 from 192.168.65.1:30038 to 172.19.0.3:1812
length 164
(5) User-Name = "anonymous(a)an***rk.com"
(5) Calling-Station-Id = "11:22:33:44:55:66"
(5) NAS-Port = 1
(5) NAS-Port-Id = "test"
(5) NAS-Port-Type = Wireless-802.11
(5) NAS-IP-Address = 191.111.11.1
(5) NAS-Identifier = "214a01f4"
(5) Called-Station-Id = "AA:BB:CC:DD:EE:FF"
(5) EAP-Message = 0x021d00061500
(5) State = 0xce864a98ca9b5f034dd14839490e7d80
(5) Message-Authenticator = 0x6dca2c57dfbc5e092b1c8c9c3b67b5fc
(5) Restoring &session-state
(5) &session-state:Framed-MTU = 1014
(5) &session-state:TLS-Session-Information = "(TLS) TTLS - recv TLS 1.3
Handshake, ClientHello"
(5) &session-state:TLS-Session-Information = "(TLS) TTLS - send TLS 1.2
Handshake, ServerHello"
(5) &session-state:TLS-Session-Information = "(TLS) TTLS - send TLS 1.2
Handshake, Certificate"
(5) &session-state:TLS-Session-Information = "(TLS) TTLS - send TLS 1.2
Handshake, ServerKeyExchange"
(5) &session-state:TLS-Session-Information = "(TLS) TTLS - send TLS 1.2
Handshake, ServerHelloDone"
(5) # Executing section authorize from file
/opt/freeradius/etc/raddb/sites-enabled/hs2
(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 !~ /(a)(.+)\.(.+)$/)) {
(5) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) ->
FALSE
(5) if (&User-Name =~ /\.$/) {
(5) if (&User-Name =~ /\.$/) -> FALSE
(5) if (&User-Name =~ /(a)\./) {
(5) if (&User-Name =~ /(a)\./) -> FALSE
(5) } # if (&User-Name) = notfound
(5) } # policy filter_username = notfound
(5) [preprocess] = ok
(5) suffix: Checking for suffix after "@"
(5) suffix: Looking up realm "an***rk.com" for User-Name = "anonymous@an***
rk.com"
(5) suffix: Found realm "~.*"
(5) suffix: Adding Stripped-User-Name = "anonymous"
(5) suffix: Adding Realm = "an***rk.com"
(5) suffix: Authentication realm is LOCAL
(5) [suffix] = ok
(5) nmxeap: Peer sent EAP Response (code 2) ID 29 length 6
(5) nmxeap: Continuing tunnel setup
(5) [nmxeap] = ok
(5) } # authorize = ok
(5) Found Auth-Type = nmxeap
(5) # Executing group from file /opt/freeradius/etc/raddb/sites-enabled/hs2
(5) Auth-Type nmxeap {
(5) if ("%{unpack:&EAP-Message 4 byte}" == 1) {
(5) EXPAND %{unpack:&EAP-Message 4 byte}
(5) --> 21
(5) if ("%{unpack:&EAP-Message 4 byte}" == 1) -> FALSE
(5) nmxeap: Removing EAP session with state 0xce864a98ca9b5f03
(5) nmxeap: Previous EAP request found for state 0xce864a98ca9b5f03,
released from the list
(5) nmxeap: Peer sent packet with method EAP TTLS (21)
(5) nmxeap: Calling submodule eap_ttls to process data
(5) eap_ttls: Authenticate
(5) eap_ttls: (TLS) Peer ACKed our handshake fragment
(5) nmxeap: Sending EAP Request (code 1) ID 30 length 1020
(5) nmxeap: EAP session adding &reply:State = 0xce864a98cb985f03
(5) [nmxeap] = handled
(5) } # Auth-Type nmxeap = handled
(5) Using Post-Auth-Type Challenge
(5) # Executing group from file /opt/freeradius/etc/raddb/sites-enabled/hs2
(5) Challenge { ... } # empty sub-section is ignored
(5) session-state: Saving cached attributes
(5) Framed-MTU = 1014
(5) TLS-Session-Information = "(TLS) TTLS - recv TLS 1.3 Handshake,
ClientHello"
(5) TLS-Session-Information = "(TLS) TTLS - send TLS 1.2 Handshake,
ServerHello"
(5) TLS-Session-Information = "(TLS) TTLS - send TLS 1.2 Handshake,
Certificate"
(5) TLS-Session-Information = "(TLS) TTLS - send TLS 1.2 Handshake,
ServerKeyExchange"
(5) TLS-Session-Information = "(TLS) TTLS - send TLS 1.2 Handshake,
ServerHelloDone"
(5) Sent Access-Challenge Id 5 from 172.19.0.3:1812 to 192.168.65.1:30038
length 1086
(5) EAP-Message =
0x011e03fc15c0000017cb415f40a94444f499e757879e501f5754a83efd74632fb1506509e658422e431a4cb4f0254759fa041e93d426464a5081b2debe78b7fc6715e1c957841e0f63d6e962bad65f552eea5cc62808042539b80e2ba9f24c971c073f0d52f5edef2f820f0203010001a381f23081ef301f0603551d23041830168014a0110a233e96f107ece2af29ef82a57fd030a4b4301d0603551d0e041604145379bf5aaa2b4acf5480e1d89bc09df2b20366cb300e0603551d0f0101ff040403020186300f0603551d130101ff040530030101ff30110603551d20040a300830060604551d200030430603551d1f043c303a3038a036a0348632687474703a2f2f63726c2e636f6d6f646f63612e636f6d2f414141436572746966696361746553657276696365732e63726c303406082b0601050507010104283026302406082b060105050730018618687474703a2f2f6f6373702e636f6d6f646f63612e636f6d300d06092a864886f70d01010c0500038201
(5) Message-Authenticator = 0x00000000000000000000000000000000
(5) State = 0xce864a98cb985f034dd14839490e7d80
(5) Finished request
Waking up in 4.9 seconds.
(6) Received Access-Request Id 6 from 192.168.65.1:30038 to 172.19.0.3:1812
length 164
(6) User-Name = "anonymous(a)an***rk.com"
(6) Calling-Station-Id = "11:22:33:44:55:66"
(6) NAS-Port = 1
(6) NAS-Port-Id = "test"
(6) NAS-Port-Type = Wireless-802.11
(6) NAS-IP-Address = 191.111.11.1
(6) NAS-Identifier = "214a01f4"
(6) Called-Station-Id = "AA:BB:CC:DD:EE:FF"
(6) EAP-Message = 0x021e00061500
(6) State = 0xce864a98cb985f034dd14839490e7d80
(6) Message-Authenticator = 0x50e6852e270111af905abb373b2ecccf
(6) Restoring &session-state
(6) &session-state:Framed-MTU = 1014
(6) &session-state:TLS-Session-Information = "(TLS) TTLS - recv TLS 1.3
Handshake, ClientHello"
(6) &session-state:TLS-Session-Information = "(TLS) TTLS - send TLS 1.2
Handshake, ServerHello"
(6) &session-state:TLS-Session-Information = "(TLS) TTLS - send TLS 1.2
Handshake, Certificate"
(6) &session-state:TLS-Session-Information = "(TLS) TTLS - send TLS 1.2
Handshake, ServerKeyExchange"
(6) &session-state:TLS-Session-Information = "(TLS) TTLS - send TLS 1.2
Handshake, ServerHelloDone"
(6) # Executing section authorize from file
/opt/freeradius/etc/raddb/sites-enabled/hs2
(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 !~ /(a)(.+)\.(.+)$/)) {
(6) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) ->
FALSE
(6) if (&User-Name =~ /\.$/) {
(6) if (&User-Name =~ /\.$/) -> FALSE
(6) if (&User-Name =~ /(a)\./) {
(6) if (&User-Name =~ /(a)\./) -> FALSE
(6) } # if (&User-Name) = notfound
(6) } # policy filter_username = notfound
(6) [preprocess] = ok
(6) suffix: Checking for suffix after "@"
(6) suffix: Looking up realm "an***rk.com" for User-Name = "anonymous@an***
rk.com"
(6) suffix: Found realm "~.*"
(6) suffix: Adding Stripped-User-Name = "anonymous"
(6) suffix: Adding Realm = "an***rk.com"
(6) suffix: Authentication realm is LOCAL
(6) [suffix] = ok
(6) nmxeap: Peer sent EAP Response (code 2) ID 30 length 6
(6) nmxeap: Continuing tunnel setup
(6) [nmxeap] = ok
(6) } # authorize = ok
(6) Found Auth-Type = nmxeap
(6) # Executing group from file /opt/freeradius/etc/raddb/sites-enabled/hs2
(6) Auth-Type nmxeap {
(6) if ("%{unpack:&EAP-Message 4 byte}" == 1) {
(6) EXPAND %{unpack:&EAP-Message 4 byte}
(6) --> 21
(6) if ("%{unpack:&EAP-Message 4 byte}" == 1) -> FALSE
(6) nmxeap: Removing EAP session with state 0xce864a98cb985f03
(6) nmxeap: Previous EAP request found for state 0xce864a98cb985f03,
released from the list
(6) nmxeap: Peer sent packet with method EAP TTLS (21)
(6) nmxeap: Calling submodule eap_ttls to process data
(6) eap_ttls: Authenticate
(6) eap_ttls: (TLS) Peer ACKed our handshake fragment
(6) nmxeap: Sending EAP Request (code 1) ID 31 length 1020
(6) nmxeap: EAP session adding &reply:State = 0xce864a98c8995f03
(6) [nmxeap] = handled
(6) } # Auth-Type nmxeap = handled
(6) Using Post-Auth-Type Challenge
(6) # Executing group from file /opt/freeradius/etc/raddb/sites-enabled/hs2
(6) Challenge { ... } # empty sub-section is ignored
(6) session-state: Saving cached attributes
(6) Framed-MTU = 1014
(6) TLS-Session-Information = "(TLS) TTLS - recv TLS 1.3 Handshake,
ClientHello"
(6) TLS-Session-Information = "(TLS) TTLS - send TLS 1.2 Handshake,
ServerHello"
(6) TLS-Session-Information = "(TLS) TTLS - send TLS 1.2 Handshake,
Certificate"
(6) TLS-Session-Information = "(TLS) TTLS - send TLS 1.2 Handshake,
ServerKeyExchange"
(6) TLS-Session-Information = "(TLS) TTLS - send TLS 1.2 Handshake,
ServerHelloDone"
(6) Sent Access-Challenge Id 6 from 172.19.0.3:1812 to 192.168.65.1:30038
length 1086
(6) EAP-Message =
0x011f03fc15c0000017cb06d0c57022cd492d5463ccb66e68460b53eacb4c24c0bc724eeaf115aef4549a120ac37ab23360e2da8955f32258f3dedccfef8386a28c944f9f68f29890468427c776bfe3cc352c8b5e07646582c048b0a891f9619f762050a891c766b5eb78620356f08a1a13ea31a31ea099fd38f6f62732586f07f56bb8fb142bafb7aaccd6635f738cda0599a838a8cb17783651ace99ef4783a8dcf0fd942e2980cab2f9f0e01deef9f9949f12ddfac744d1b98b547c5e529d1f99018c7629cbe83c7267b3e8a25c7c0dd9de6356810209d8fd8ded2c3849c0d5ee82fc90203010001a381c03081bd301d0603551d0e04160414a0110a233e96f107ece2af29ef82a57fd030a4b4300e0603551d0f0101ff040403020106300f0603551d130101ff040530030101ff307b0603551d1f047430723038a036a0348632687474703a2f2f63726c2e636f6d6f646f63612e636f6d2f414141436572746966696361746553657276696365732e63726c3036a0
(6) Message-Authenticator = 0x00000000000000000000000000000000
(6) State = 0xce864a98c8995f034dd14839490e7d80
(6) Finished request
Waking up in 4.9 seconds.
(7) Received Access-Request Id 7 from 192.168.65.1:30038 to 172.19.0.3:1812
length 164
(7) User-Name = "anonymous(a)an***rk.com"
(7) Calling-Station-Id = "11:22:33:44:55:66"
(7) NAS-Port = 1
(7) NAS-Port-Id = "test"
(7) NAS-Port-Type = Wireless-802.11
(7) NAS-IP-Address = 191.111.11.1
(7) NAS-Identifier = "214a01f4"
(7) Called-Station-Id = "AA:BB:CC:DD:EE:FF"
(7) EAP-Message = 0x021f00061500
(7) State = 0xce864a98c8995f034dd14839490e7d80
(7) Message-Authenticator = 0x0f5533a39b9f0cb39e56017948ccc15b
(7) Restoring &session-state
(7) &session-state:Framed-MTU = 1014
(7) &session-state:TLS-Session-Information = "(TLS) TTLS - recv TLS 1.3
Handshake, ClientHello"
(7) &session-state:TLS-Session-Information = "(TLS) TTLS - send TLS 1.2
Handshake, ServerHello"
(7) &session-state:TLS-Session-Information = "(TLS) TTLS - send TLS 1.2
Handshake, Certificate"
(7) &session-state:TLS-Session-Information = "(TLS) TTLS - send TLS 1.2
Handshake, ServerKeyExchange"
(7) &session-state:TLS-Session-Information = "(TLS) TTLS - send TLS 1.2
Handshake, ServerHelloDone"
(7) # Executing section authorize from file
/opt/freeradius/etc/raddb/sites-enabled/hs2
(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 !~ /(a)(.+)\.(.+)$/)) {
(7) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) ->
FALSE
(7) if (&User-Name =~ /\.$/) {
(7) if (&User-Name =~ /\.$/) -> FALSE
(7) if (&User-Name =~ /(a)\./) {
(7) if (&User-Name =~ /(a)\./) -> FALSE
(7) } # if (&User-Name) = notfound
(7) } # policy filter_username = notfound
(7) [preprocess] = ok
(7) suffix: Checking for suffix after "@"
(7) suffix: Looking up realm "an***rk.com" for User-Name = "anonymous@an***
rk.com"
(7) suffix: Found realm "~.*"
(7) suffix: Adding Stripped-User-Name = "anonymous"
(7) suffix: Adding Realm = "an***rk.com"
(7) suffix: Authentication realm is LOCAL
(7) [suffix] = ok
(7) nmxeap: Peer sent EAP Response (code 2) ID 31 length 6
(7) nmxeap: Continuing tunnel setup
(7) [nmxeap] = ok
(7) } # authorize = ok
(7) Found Auth-Type = nmxeap
(7) # Executing group from file /opt/freeradius/etc/raddb/sites-enabled/hs2
(7) Auth-Type nmxeap {
(7) if ("%{unpack:&EAP-Message 4 byte}" == 1) {
(7) EXPAND %{unpack:&EAP-Message 4 byte}
(7) --> 21
(7) if ("%{unpack:&EAP-Message 4 byte}" == 1) -> FALSE
(7) nmxeap: Removing EAP session with state 0xce864a98c8995f03
(7) nmxeap: Previous EAP request found for state 0xce864a98c8995f03,
released from the list
(7) nmxeap: Peer sent packet with method EAP TTLS (21)
(7) nmxeap: Calling submodule eap_ttls to process data
(7) eap_ttls: Authenticate
(7) eap_ttls: (TLS) Peer ACKed our handshake fragment
(7) nmxeap: Sending EAP Request (code 1) ID 32 length 41
(7) nmxeap: EAP session adding &reply:State = 0xce864a98c9a65f03
(7) [nmxeap] = handled
(7) } # Auth-Type nmxeap = handled
(7) Using Post-Auth-Type Challenge
(7) # Executing group from file /opt/freeradius/etc/raddb/sites-enabled/hs2
(7) Challenge { ... } # empty sub-section is ignored
(7) session-state: Saving cached attributes
(7) Framed-MTU = 1014
(7) TLS-Session-Information = "(TLS) TTLS - recv TLS 1.3 Handshake,
ClientHello"
(7) TLS-Session-Information = "(TLS) TTLS - send TLS 1.2 Handshake,
ServerHello"
(7) TLS-Session-Information = "(TLS) TTLS - send TLS 1.2 Handshake,
Certificate"
(7) TLS-Session-Information = "(TLS) TTLS - send TLS 1.2 Handshake,
ServerKeyExchange"
(7) TLS-Session-Information = "(TLS) TTLS - send TLS 1.2 Handshake,
ServerHelloDone"
(7) Sent Access-Challenge Id 7 from 172.19.0.3:1812 to 192.168.65.1:30038
length 99
(7) EAP-Message =
0x012000291580000017cb53c948e5ad3cb9958edc4b52ce8042f5616d7217a90416030300040e000000
(7) Message-Authenticator = 0x00000000000000000000000000000000
(7) State = 0xce864a98c9a65f034dd14839490e7d80
(7) Finished request
Waking up in 4.9 seconds.
(8) Received Access-Request Id 8 from 192.168.65.1:30038 to 172.19.0.3:1812
length 290
(8) User-Name = "anonymous(a)an***rk.com"
(8) Calling-Station-Id = "11:22:33:44:55:66"
(8) NAS-Port = 1
(8) NAS-Port-Id = "test"
(8) NAS-Port-Type = Wireless-802.11
(8) NAS-IP-Address = 191.111.11.1
(8) NAS-Identifier = "214a01f4"
(8) Called-Station-Id = "AA:BB:CC:DD:EE:FF"
(8) EAP-Message =
0x0220008415001603030046100000424104b04522dc717fe2025e161909e75b84d0c6113adf77fbef788f9438c91ea593db89fe0b4223eebb40bf00b14295d1b8aa5fe337e0a086e06fcfae892c5dcf9abf14030300010116030300289fac18176f3916dea1ce1609522e73392ce46f3e1905fc36d32fd1cb7feec972ec95fa0f73640e68
(8) State = 0xce864a98c9a65f034dd14839490e7d80
(8) Message-Authenticator = 0x39f45803214936c5cb8e8413dd999765
(8) Restoring &session-state
(8) &session-state:Framed-MTU = 1014
(8) &session-state:TLS-Session-Information = "(TLS) TTLS - recv TLS 1.3
Handshake, ClientHello"
(8) &session-state:TLS-Session-Information = "(TLS) TTLS - send TLS 1.2
Handshake, ServerHello"
(8) &session-state:TLS-Session-Information = "(TLS) TTLS - send TLS 1.2
Handshake, Certificate"
(8) &session-state:TLS-Session-Information = "(TLS) TTLS - send TLS 1.2
Handshake, ServerKeyExchange"
(8) &session-state:TLS-Session-Information = "(TLS) TTLS - send TLS 1.2
Handshake, ServerHelloDone"
(8) # Executing section authorize from file
/opt/freeradius/etc/raddb/sites-enabled/hs2
(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 !~ /(a)(.+)\.(.+)$/)) {
(8) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) ->
FALSE
(8) if (&User-Name =~ /\.$/) {
(8) if (&User-Name =~ /\.$/) -> FALSE
(8) if (&User-Name =~ /(a)\./) {
(8) if (&User-Name =~ /(a)\./) -> FALSE
(8) } # if (&User-Name) = notfound
(8) } # policy filter_username = notfound
(8) [preprocess] = ok
(8) suffix: Checking for suffix after "@"
(8) suffix: Looking up realm "an***rk.com" for User-Name = "anonymous@an***
rk.com"
(8) suffix: Found realm "~.*"
(8) suffix: Adding Stripped-User-Name = "anonymous"
(8) suffix: Adding Realm = "an***rk.com"
(8) suffix: Authentication realm is LOCAL
(8) [suffix] = ok
(8) nmxeap: Peer sent EAP Response (code 2) ID 32 length 132
(8) nmxeap: Continuing tunnel setup
(8) [nmxeap] = ok
(8) } # authorize = ok
(8) Found Auth-Type = nmxeap
(8) # Executing group from file /opt/freeradius/etc/raddb/sites-enabled/hs2
(8) Auth-Type nmxeap {
(8) if ("%{unpack:&EAP-Message 4 byte}" == 1) {
(8) EXPAND %{unpack:&EAP-Message 4 byte}
(8) --> 21
(8) if ("%{unpack:&EAP-Message 4 byte}" == 1) -> FALSE
(8) nmxeap: Removing EAP session with state 0xce864a98c9a65f03
(8) nmxeap: Previous EAP request found for state 0xce864a98c9a65f03,
released from the list
(8) nmxeap: Peer sent packet with method EAP TTLS (21)
(8) nmxeap: Calling submodule eap_ttls to process data
(8) eap_ttls: Authenticate
(8) eap_ttls: (TLS) EAP Done initial handshake
(8) eap_ttls: (TLS) TTLS - Handshake state - Server SSLv3/TLS write server
done
(8) eap_ttls: (TLS) TTLS - recv TLS 1.2 Handshake, ClientKeyExchange
(8) eap_ttls: (TLS) TTLS - Handshake state - Server SSLv3/TLS read client
key exchange
(8) eap_ttls: (TLS) TTLS - Handshake state - Server SSLv3/TLS read change
cipher spec
(8) eap_ttls: (TLS) TTLS - recv TLS 1.2 Handshake, Finished
(8) eap_ttls: (TLS) TTLS - Handshake state - Server SSLv3/TLS read finished
(8) eap_ttls: (TLS) TTLS - send TLS 1.2 ChangeCipherSpec
(8) eap_ttls: (TLS) TTLS - Handshake state - Server SSLv3/TLS write change
cipher spec
(8) eap_ttls: (TLS) TTLS - send TLS 1.2 Handshake, Finished
(8) eap_ttls: (TLS) TTLS - Handshake state - Server SSLv3/TLS write finished
(8) eap_ttls: (TLS) TTLS - Handshake state - SSL negotiation finished
successfully
(8) eap_ttls: (TLS) TTLS - Connection Established
(8) eap_ttls: TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(8) eap_ttls: TLS-Session-Version = "TLS 1.2"
(8) nmxeap: Sending EAP Request (code 1) ID 33 length 61
(8) nmxeap: EAP session adding &reply:State = 0xce864a98c6a75f03
(8) [nmxeap] = handled
(8) } # Auth-Type nmxeap = handled
(8) Using Post-Auth-Type Challenge
(8) # Executing group from file /opt/freeradius/etc/raddb/sites-enabled/hs2
(8) Challenge { ... } # empty sub-section is ignored
(8) session-state: Saving cached attributes
(8) Framed-MTU = 1014
(8) TLS-Session-Information = "(TLS) TTLS - recv TLS 1.3 Handshake,
ClientHello"
(8) TLS-Session-Information = "(TLS) TTLS - send TLS 1.2 Handshake,
ServerHello"
(8) TLS-Session-Information = "(TLS) TTLS - send TLS 1.2 Handshake,
Certificate"
(8) TLS-Session-Information = "(TLS) TTLS - send TLS 1.2 Handshake,
ServerKeyExchange"
(8) TLS-Session-Information = "(TLS) TTLS - send TLS 1.2 Handshake,
ServerHelloDone"
(8) TLS-Session-Information = "(TLS) TTLS - recv TLS 1.2 Handshake,
ClientKeyExchange"
(8) TLS-Session-Information = "(TLS) TTLS - recv TLS 1.2 Handshake,
Finished"
(8) TLS-Session-Information = "(TLS) TTLS - send TLS 1.2 ChangeCipherSpec"
(8) TLS-Session-Information = "(TLS) TTLS - send TLS 1.2 Handshake,
Finished"
(8) TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(8) TLS-Session-Version = "TLS 1.2"
(8) Sent Access-Challenge Id 8 from 172.19.0.3:1812 to 192.168.65.1:30038
length 119
(8) EAP-Message =
0x0121003d15800000003314030300010116030300285da4962daf7c7f622b7e57218ce6d53e8995bb81ff2d1332d548112cf2e7f585fc7556ee0e3b16da
(8) Message-Authenticator = 0x00000000000000000000000000000000
(8) State = 0xce864a98c6a75f034dd14839490e7d80
(8) Finished request
Waking up in 4.8 seconds.
(9) Received Access-Request Id 9 from 192.168.65.1:30038 to 172.19.0.3:1812
length 257
(9) User-Name = "anonymous(a)an***rk.com"
(9) Calling-Station-Id = "11:22:33:44:55:66"
(9) NAS-Port = 1
(9) NAS-Port-Id = "test"
(9) NAS-Port-Type = Wireless-802.11
(9) NAS-IP-Address = 191.111.11.1
(9) NAS-Identifier = "214a01f4"
(9) Called-Station-Id = "AA:BB:CC:DD:EE:FF"
(9) EAP-Message =
0x02210063150017030300589fac18176f3916df803e9189f2400c5b638ee7858daa35bbe3a70bf7a8be3f1d1b1c016d3e3f4fb4dcbd31f7ba9c996f194ae74770b91ace7f4134a9ecc94eb697fd9735d3069637cce40348b782d57d0c266e4b30a41260
(9) State = 0xce864a98c6a75f034dd14839490e7d80
(9) Message-Authenticator = 0xff1be9a01d48a5c4a50f3d0c13ed641e
(9) Restoring &session-state
(9) &session-state:Framed-MTU = 1014
(9) &session-state:TLS-Session-Information = "(TLS) TTLS - recv TLS 1.3
Handshake, ClientHello"
(9) &session-state:TLS-Session-Information = "(TLS) TTLS - send TLS 1.2
Handshake, ServerHello"
(9) &session-state:TLS-Session-Information = "(TLS) TTLS - send TLS 1.2
Handshake, Certificate"
(9) &session-state:TLS-Session-Information = "(TLS) TTLS - send TLS 1.2
Handshake, ServerKeyExchange"
(9) &session-state:TLS-Session-Information = "(TLS) TTLS - send TLS 1.2
Handshake, ServerHelloDone"
(9) &session-state:TLS-Session-Information = "(TLS) TTLS - recv TLS 1.2
Handshake, ClientKeyExchange"
(9) &session-state:TLS-Session-Information = "(TLS) TTLS - recv TLS 1.2
Handshake, Finished"
(9) &session-state:TLS-Session-Information = "(TLS) TTLS - send TLS 1.2
ChangeCipherSpec"
(9) &session-state:TLS-Session-Information = "(TLS) TTLS - send TLS 1.2
Handshake, Finished"
(9) &session-state:TLS-Session-Cipher-Suite =
"ECDHE-RSA-AES256-GCM-SHA384"
(9) &session-state:TLS-Session-Version = "TLS 1.2"
(9) # Executing section authorize from file
/opt/freeradius/etc/raddb/sites-enabled/hs2
(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 !~ /(a)(.+)\.(.+)$/)) {
(9) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) ->
FALSE
(9) if (&User-Name =~ /\.$/) {
(9) if (&User-Name =~ /\.$/) -> FALSE
(9) if (&User-Name =~ /(a)\./) {
(9) if (&User-Name =~ /(a)\./) -> FALSE
(9) } # if (&User-Name) = notfound
(9) } # policy filter_username = notfound
(9) [preprocess] = ok
(9) suffix: Checking for suffix after "@"
(9) suffix: Looking up realm "an***rk.com" for User-Name = "anonymous@an***
rk.com"
(9) suffix: Found realm "~.*"
(9) suffix: Adding Stripped-User-Name = "anonymous"
(9) suffix: Adding Realm = "an***rk.com"
(9) suffix: Authentication realm is LOCAL
(9) [suffix] = ok
(9) nmxeap: Peer sent EAP Response (code 2) ID 33 length 99
(9) nmxeap: Continuing tunnel setup
(9) [nmxeap] = ok
(9) } # authorize = ok
(9) Found Auth-Type = nmxeap
(9) # Executing group from file /opt/freeradius/etc/raddb/sites-enabled/hs2
(9) Auth-Type nmxeap {
(9) if ("%{unpack:&EAP-Message 4 byte}" == 1) {
(9) EXPAND %{unpack:&EAP-Message 4 byte}
(9) --> 21
(9) if ("%{unpack:&EAP-Message 4 byte}" == 1) -> FALSE
(9) nmxeap: Removing EAP session with state 0xce864a98c6a75f03
(9) nmxeap: Previous EAP request found for state 0xce864a98c6a75f03,
released from the list
(9) nmxeap: Peer sent packet with method EAP TTLS (21)
(9) nmxeap: Calling submodule eap_ttls to process data
(9) eap_ttls: Authenticate
(9) eap_ttls: (TLS) EAP Done initial handshake
(9) eap_ttls: Session established. Proceeding to decode tunneled attributes
(9) eap_ttls: Got tunneled request
(9) eap_ttls: EAP-Message =
0x020000370166313633653431622d636439642d343930362d396536342d303137663332356134666136406e6f6d616469782e636c6f7564
(9) eap_ttls: FreeRADIUS-Proxied-To = 127.0.0.1
(9) eap_ttls: Got tunneled identity of
f163e41b-cd9d-4906-9e64-017f325a4fa6@no***ud
(9) eap_ttls: Setting default EAP type for tunneled EAP session
(9) eap_ttls: Sending tunneled request
(9) Virtual server hs2-inner-tunnel received request
(9) EAP-Message =
0x020000370166313633653431622d636439642d343930362d396536342d303137663332356134666136406e6f6d616469782e636c6f7564
(9) FreeRADIUS-Proxied-To = 127.0.0.1
(9) User-Name = "f163e41b-cd9d-4906-9e64-017f325a4fa6@no***ud"
(9) Calling-Station-Id = "11:22:33:44:55:66"
(9) NAS-Port = 1
(9) NAS-Port-Id = "test"
(9) NAS-Port-Type = Wireless-802.11
(9) NAS-IP-Address = 191.111.11.1
(9) NAS-Identifier = "214a01f4"
(9) Called-Station-Id = "AA:BB:CC:DD:EE:FF"
(9) Event-Timestamp = "Apr 8 2025 16:33:20 UTC"
(9) WARNING: Possible spoofing: Inner realm and outer realms are different
(9) server hs2-inner-tunnel {
(9) # Executing section authorize from file
/opt/freeradius/etc/raddb/sites-enabled/hs2-inner-tunnel
(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 !~ /(a)(.+)\.(.+)$/)) {
(9) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/))
-> FALSE
(9) if (&User-Name =~ /\.$/) {
(9) if (&User-Name =~ /\.$/) -> FALSE
(9) if (&User-Name =~ /(a)\./) {
(9) if (&User-Name =~ /(a)\./) -> FALSE
(9) } # if (&User-Name) = notfound
(9) } # policy filter_username = notfound
(9) [mschap] = noop
(9) suffix: Checking for suffix after "@"
(9) suffix: Looking up realm "no***ud" for User-Name =
"f163e41b-cd9d-4906-9e64-017f325a4fa6@no***ud"
(9) suffix: Found realm "~.*"
(9) suffix: Adding Stripped-User-Name =
"f163e41b-cd9d-4906-9e64-017f325a4fa6"
(9) suffix: Adding Realm = "no***ud"
(9) suffix: Authentication realm is LOCAL
(9) [suffix] = ok
(9) update control {
(9) &Proxy-To-Realm := LOCAL
(9) } # update control = noop
(9) nmxeap: Peer sent EAP Response (code 2) ID 0 length 55
(9) nmxeap: EAP-Identity reply, returning 'ok' so we can short-circuit the
rest of authorize
(9) [nmxeap] = ok
(9) } # authorize = ok
(9) Found Auth-Type = nmxeap
(9) # Executing group from file
/opt/freeradius/etc/raddb/sites-enabled/hs2-inner-tunnel
(9) authenticate {
(9) nmxeap: Peer sent packet with method EAP Identity (1)
(9) nmxeap: Found &control:EAP-Type = MSCHAPv2
(9) nmxeap: Calling submodule eap_mschapv2 to process data
(9) eap_mschapv2: Issuing Challenge
(9) nmxeap: Sending EAP Request (code 1) ID 1 length 42
(9) nmxeap: EAP session adding &reply:State = 0xb3fadd93b3fbc795
(9) [nmxeap] = handled
(9) } # authenticate = handled
(9) Using Post-Auth-Type Challenge
(9) Post-Auth-Type sub-section not found. Ignoring.
(9) # Executing group from file
/opt/freeradius/etc/raddb/sites-enabled/hs2-inner-tunnel
(9) } # server hs2-inner-tunnel
(9) Virtual server sending reply
(9) EAP-Message =
0x0101002a1a0101002510d34e891723436b8376bae7b0a229ddba667265657261646975732d332e322e37
(9) Message-Authenticator = 0x00000000000000000000000000000000
(9) State = 0xb3fadd93b3fbc795dad7dff8de72cb1f
(9) eap_ttls: Got tunneled Access-Challenge
(9) nmxeap: Sending EAP Request (code 1) ID 34 length 91
(9) nmxeap: EAP session adding &reply:State = 0xce864a98c7a45f03
(9) [nmxeap] = handled
(9) } # Auth-Type nmxeap = handled
(9) Using Post-Auth-Type Challenge
(9) # Executing group from file /opt/freeradius/etc/raddb/sites-enabled/hs2
(9) Challenge { ... } # empty sub-section is ignored
(9) session-state: Saving cached attributes
(9) Framed-MTU = 1014
(9) TLS-Session-Information = "(TLS) TTLS - recv TLS 1.3 Handshake,
ClientHello"
(9) TLS-Session-Information = "(TLS) TTLS - send TLS 1.2 Handshake,
ServerHello"
(9) TLS-Session-Information = "(TLS) TTLS - send TLS 1.2 Handshake,
Certificate"
(9) TLS-Session-Information = "(TLS) TTLS - send TLS 1.2 Handshake,
ServerKeyExchange"
(9) TLS-Session-Information = "(TLS) TTLS - send TLS 1.2 Handshake,
ServerHelloDone"
(9) TLS-Session-Information = "(TLS) TTLS - recv TLS 1.2 Handshake,
ClientKeyExchange"
(9) TLS-Session-Information = "(TLS) TTLS - recv TLS 1.2 Handshake,
Finished"
(9) TLS-Session-Information = "(TLS) TTLS - send TLS 1.2 ChangeCipherSpec"
(9) TLS-Session-Information = "(TLS) TTLS - 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 9 from 172.19.0.3:1812 to 192.168.65.1:30038
length 149
(9) EAP-Message =
0x0122005b158000000051170303004c5da4962daf7c7f6342bdcc95b633b59b625aa7c408c6fbec68264ccfdccbd88a347ffd4b3221037c2ae209d69400bbf6c8178afa4f38140e6cd6c6a6c945e04c9abc9396d32dd2a214552b31
(9) Message-Authenticator = 0x00000000000000000000000000000000
(9) State = 0xce864a98c7a45f034dd14839490e7d80
(9) Finished request
Waking up in 4.8 seconds.
(10) Received Access-Request Id 10 from 192.168.65.1:30038 to
172.19.0.3:1812 length 313
(10) User-Name = "anonymous(a)an***rk.com"
(10) Calling-Station-Id = "11:22:33:44:55:66"
(10) NAS-Port = 1
(10) NAS-Port-Id = "test"
(10) NAS-Port-Type = Wireless-802.11
(10) NAS-IP-Address = 191.111.11.1
(10) NAS-Identifier = "214a01f4"
(10) Called-Station-Id = "AA:BB:CC:DD:EE:FF"
(10) EAP-Message =
0x0222009b150017030300909fac18176f3916e0f8b3c9f86bc7f76d08c57b64f86392ce4d2de41fc49c317debfe1269f4abe18fe93cb6732fb8d5ec22a7350d843ba24c7a0f05b4ae7f6148c753457c1e335752655ba459d42f880cc6a373dc361fdf784dc489d3883364d629089c0c206e70d4751bd0b164164663c0e8305923edfbc569d3ce4be228833e2a0061457fa99e088d1e260ff7ec6d8d
(10) State = 0xce864a98c7a45f034dd14839490e7d80
(10) Message-Authenticator = 0x607d31309fc676119bd4255ec8dfb61f
(10) Restoring &session-state
(10) &session-state:Framed-MTU = 1014
(10) &session-state:TLS-Session-Information = "(TLS) TTLS - recv TLS 1.3
Handshake, ClientHello"
(10) &session-state:TLS-Session-Information = "(TLS) TTLS - send TLS 1.2
Handshake, ServerHello"
(10) &session-state:TLS-Session-Information = "(TLS) TTLS - send TLS 1.2
Handshake, Certificate"
(10) &session-state:TLS-Session-Information = "(TLS) TTLS - send TLS 1.2
Handshake, ServerKeyExchange"
(10) &session-state:TLS-Session-Information = "(TLS) TTLS - send TLS 1.2
Handshake, ServerHelloDone"
(10) &session-state:TLS-Session-Information = "(TLS) TTLS - recv TLS 1.2
Handshake, ClientKeyExchange"
(10) &session-state:TLS-Session-Information = "(TLS) TTLS - recv TLS 1.2
Handshake, Finished"
(10) &session-state:TLS-Session-Information = "(TLS) TTLS - send TLS 1.2
ChangeCipherSpec"
(10) &session-state:TLS-Session-Information = "(TLS) TTLS - 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
/opt/freeradius/etc/raddb/sites-enabled/hs2
(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 !~ /(a)(.+)\.(.+)$/)) {
(10) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/))
-> FALSE
(10) if (&User-Name =~ /\.$/) {
(10) if (&User-Name =~ /\.$/) -> FALSE
(10) if (&User-Name =~ /(a)\./) {
(10) if (&User-Name =~ /(a)\./) -> FALSE
(10) } # if (&User-Name) = notfound
(10) } # policy filter_username = notfound
(10) [preprocess] = ok
(10) suffix: Checking for suffix after "@"
(10) suffix: Looking up realm "an***rk.com" for User-Name = "anonymous@an***
rk.com"
(10) suffix: Found realm "~.*"
(10) suffix: Adding Stripped-User-Name = "anonymous"
(10) suffix: Adding Realm = "an***rk.com"
(10) suffix: Authentication realm is LOCAL
(10) [suffix] = ok
(10) nmxeap: Peer sent EAP Response (code 2) ID 34 length 155
(10) nmxeap: Continuing tunnel setup
(10) [nmxeap] = ok
(10) } # authorize = ok
(10) Found Auth-Type = nmxeap
(10) # Executing group from file /opt/freeradius/etc/raddb/sites-enabled/hs2
(10) Auth-Type nmxeap {
(10) if ("%{unpack:&EAP-Message 4 byte}" == 1) {
(10) EXPAND %{unpack:&EAP-Message 4 byte}
(10) --> 21
(10) if ("%{unpack:&EAP-Message 4 byte}" == 1) -> FALSE
(10) nmxeap: Removing EAP session with state 0xce864a98c7a45f03
(10) nmxeap: Previous EAP request found for state 0xce864a98c7a45f03,
released from the list
(10) nmxeap: Peer sent packet with method EAP TTLS (21)
(10) nmxeap: Calling submodule eap_ttls to process data
(10) eap_ttls: Authenticate
(10) eap_ttls: (TLS) EAP Done initial handshake
(10) eap_ttls: Session established. Proceeding to decode tunneled
attributes
(10) eap_ttls: Got tunneled request
(10) eap_ttls: EAP-Message =
0x0201006d1a0201006831468f09fce488bcb1f6b4a2960951f81f0000000000000000e107436c0c57e4abef55b5f3bc90d307c7ee7691846fc3200066313633653431622d636439642d343930362d396536342d303137663332356134666136406e6f6d616469782e636c6f7564
(10) eap_ttls: FreeRADIUS-Proxied-To = 127.0.0.1
(10) eap_ttls: Sending tunneled request
(10) Virtual server hs2-inner-tunnel received request
(10) EAP-Message =
0x0201006d1a0201006831468f09fce488bcb1f6b4a2960951f81f0000000000000000e107436c0c57e4abef55b5f3bc90d307c7ee7691846fc3200066313633653431622d636439642d343930362d396536342d303137663332356134666136406e6f6d616469782e636c6f7564
(10) FreeRADIUS-Proxied-To = 127.0.0.1
(10) User-Name = "f163e41b-cd9d-4906-9e64-017f325a4fa6@no***ud"
(10) State = 0xb3fadd93b3fbc795dad7dff8de72cb1f
(10) Calling-Station-Id = "11:22:33:44:55:66"
(10) NAS-Port = 1
(10) NAS-Port-Id = "test"
(10) NAS-Port-Type = Wireless-802.11
(10) NAS-IP-Address = 191.111.11.1
(10) NAS-Identifier = "214a01f4"
(10) Called-Station-Id = "AA:BB:CC:DD:EE:FF"
(10) Event-Timestamp = "Apr 8 2025 16:33:20 UTC"
(10) WARNING: Possible spoofing: Inner realm and outer realms are different
(10) server hs2-inner-tunnel {
(10) session-state: No cached attributes
(10) # Executing section authorize from file
/opt/freeradius/etc/raddb/sites-enabled/hs2-inner-tunnel
(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 !~ /(a)(.+)\.(.+)$/)) {
(10) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/))
-> FALSE
(10) if (&User-Name =~ /\.$/) {
(10) if (&User-Name =~ /\.$/) -> FALSE
(10) if (&User-Name =~ /(a)\./) {
(10) if (&User-Name =~ /(a)\./) -> FALSE
(10) } # if (&User-Name) = notfound
(10) } # policy filter_username = notfound
(10) [mschap] = noop
(10) suffix: Checking for suffix after "@"
(10) suffix: Looking up realm "no***ud" for User-Name =
"f163e41b-cd9d-4906-9e64-017f325a4fa6@no***ud"
(10) suffix: Found realm "~.*"
(10) suffix: Adding Stripped-User-Name =
"f163e41b-cd9d-4906-9e64-017f325a4fa6"
(10) suffix: Adding Realm = "no***ud"
(10) suffix: Authentication realm is LOCAL
(10) [suffix] = ok
(10) update control {
(10) &Proxy-To-Realm := LOCAL
(10) } # update control = noop
(10) nmxeap: Peer sent EAP Response (code 2) ID 1 length 109
(10) nmxeap: No EAP Start, assuming it's an on-going EAP conversation
(10) [nmxeap] = updated
(10) policy acct_unique {
(10) update request {
(10) &Tmp-String-9 := "nc:"
(10) } # update request = noop
(10) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) &&
("%{string:&Class}" =~ /^nc:([0-9a-f]{32})/i)) {
(10) EXPAND %{hex:&Class}
(10) -->
(10) EXPAND ^%{hex:&Tmp-String-9}
(10) --> ^6e633a
(10) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) &&
("%{string:&Class}" =~ /^nc:([0-9a-f]{32})/i)) -> FALSE
(10) else {
(10) update request {
(10) EXPAND
%{md5:%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}}
(10) --> 37dce1ff3d533d42c851429289630519
(10) &Acct-Unique-Session-Id := 37dce1ff3d533d42c851429289630519
(10) } # update request = noop
(10) } # else = noop
(10) update request {
(10) &Tmp-String-9 !* ANY
(10) } # update request = noop
(10) } # policy acct_unique = noop
rlm_rest (rest_hs2): 0 of 0 connections in use. You may need to increase
"spare"
rlm_rest (rest_hs2): Opening additional connection (0), 1 of 64 pending
slots used
rlm_rest (rest_hs2): Connecting to "http://rest:8080/"
rlm_rest (rest_hs2): Reserved connection (0)
(10) rest_hs2: Expanding URI components
(10) rest_hs2: EXPAND http://rest:8080
(10) rest_hs2: --> http://rest:8080
(10) rest_hs2: EXPAND /hs2_authorize
(10) rest_hs2: --> /hs2_authorize
(10) rest_hs2: Sending HTTP POST to "http://rest:8080/hs2_authorize"
(10) rest_hs2: Encoding attribute "User-Name"
(10) rest_hs2: Encoding attribute "NAS-IP-Address"
(10) rest_hs2: Encoding attribute "NAS-Port"
(10) rest_hs2: Encoding attribute "State"
(10) rest_hs2: Encoding attribute "Called-Station-Id"
(10) rest_hs2: Encoding attribute "Calling-Station-Id"
(10) rest_hs2: Encoding attribute "NAS-Identifier"
(10) rest_hs2: Encoding attribute "NAS-Port-Type"
(10) rest_hs2: Encoding attribute "Event-Timestamp"
(10) rest_hs2: Encoding attribute "EAP-Message"
(10) rest_hs2: Encoding attribute "NAS-Port-Id"
(10) rest_hs2: Encoding attribute "FreeRADIUS-Proxied-To"
(10) rest_hs2: Encoding attribute "EAP-Type"
(10) rest_hs2: Encoding attribute "Stripped-User-Name"
(10) rest_hs2: Returning 999 bytes of JSON data (buffer full or chunk
exceeded)
(10) rest_hs2: Encoding attribute "Stripped-User-Name"
(10) rest_hs2: Encoding attribute "Realm"
(10) rest_hs2: Encoding attribute "Acct-Unique-Session-Id"
(10) rest_hs2: Processing response header
(10) rest_hs2: Status : 200 (OK)
(10) rest_hs2: Type : json (application/json)
(10) rest_hs2: Adding reply:REST-HTTP-Status-Code = "200"
(10) rest_hs2: Parsing attribute "control:NT-Password"
(10) rest_hs2: EXPAND 7d35db8ffa40d77b9cc14b74243d02b0
(10) rest_hs2: --> 7d35db8ffa40d77b9cc14b74243d02b0
(10) rest_hs2: NT-Password :=
0x3764333564623866666134306437376239636331346237343234336430326230
(10) rest_hs2: Parsing attribute "Chargeable-User-Identity"
(10) rest_hs2: EXPAND
c1a37d907645beb6747d239ada1aded17ded4782e7613dc973f9f2510967e33f
(10) rest_hs2: -->
c1a37d907645beb6747d239ada1aded17ded4782e7613dc973f9f2510967e33f
(10) rest_hs2: Chargeable-User-Identity :=
0x63316133376439303736343562656236373437643233396164613161646564313764656434373832653736313364633937336639663235313039363765333366
(10) rest_hs2: Parsing attribute "Class"
(10) rest_hs2: EXPAND
c1a37d907645beb6747d239ada1aded17ded4782e7613dc973f9f2510967e33f
(10) rest_hs2: -->
c1a37d907645beb6747d239ada1aded17ded4782e7613dc973f9f2510967e33f
(10) rest_hs2: Class :=
0x63316133376439303736343562656236373437643233396164613161646564313764656434373832653736313364633937336639663235313039363765333366
rlm_rest (rest_hs2): Released connection (0)
Need 2 more connections to reach min connections (3)
Need more connections to reach 10 spares
rlm_rest (rest_hs2): Opening additional connection (1), 1 of 63 pending
slots used
rlm_rest (rest_hs2): Connecting to "http://rest:8080/"
(10) [rest_hs2] = updated
(10) pap: Normalizing NT-Password from hex encoding, 32 bytes -> 16 bytes
(10) pap: WARNING: Auth-Type already set. Not setting to PAP
(10) [pap] = noop
(10) } # authorize = updated
(10) Found Auth-Type = nmxeap
(10) # Executing group from file
/opt/freeradius/etc/raddb/sites-enabled/hs2-inner-tunnel
(10) authenticate {
(10) nmxeap: Removing EAP session with state 0xb3fadd93b3fbc795
(10) nmxeap: Previous EAP request found for state 0xb3fadd93b3fbc795,
released from the list
(10) nmxeap: Peer sent packet with method EAP MSCHAPv2 (26)
(10) nmxeap: Calling submodule eap_mschapv2 to process data
(10) eap_mschapv2: # Executing group from file
/opt/freeradius/etc/raddb/sites-enabled/hs2-inner-tunnel
(10) eap_mschapv2: Auth-Type MSCHAP {
(10) mschap: Found NT-Password
(10) mschap: Creating challenge hash with username:
f163e41b-cd9d-4906-9e64-017f325a4fa6@no***ud
(10) mschap: Client is using MS-CHAPv2
(10) mschap: Adding MS-CHAPv2 MPPE keys
(10) eap_mschapv2: [mschap] = ok
(10) eap_mschapv2: } # Auth-Type MSCHAP = ok
(10) eap_mschapv2: MSCHAP Success
(10) nmxeap: Sending EAP Request (code 1) ID 2 length 51
(10) nmxeap: EAP session adding &reply:State = 0xb3fadd93b2f8c795
(10) [nmxeap] = handled
(10) } # authenticate = handled
(10) Using Post-Auth-Type Challenge
(10) Post-Auth-Type sub-section not found. Ignoring.
(10) # Executing group from file
/opt/freeradius/etc/raddb/sites-enabled/hs2-inner-tunnel
(10) } # server hs2-inner-tunnel
(10) Virtual server sending reply
(10) REST-HTTP-Status-Code = 200
(10) Chargeable-User-Identity =
0x63316133376439303736343562656236373437643233396164613161646564313764656434373832653736313364633937336639663235313039363765333366
(10) Class =
0x63316133376439303736343562656236373437643233396164613161646564313764656434373832653736313364633937336639663235313039363765333366
(10) EAP-Message =
0x010200331a0301002e533d35443342353338433531313739353134303646363544324333444646323730364130343537444346
(10) Message-Authenticator = 0x00000000000000000000000000000000
(10) State = 0xb3fadd93b2f8c795dad7dff8de72cb1f
(10) eap_ttls: Got tunneled Access-Challenge
(10) nmxeap: Sending EAP Request (code 1) ID 35 length 99
(10) nmxeap: EAP session adding &reply:State = 0xce864a98c4a55f03
(10) [nmxeap] = handled
(10) } # Auth-Type nmxeap = handled
(10) Using Post-Auth-Type Challenge
(10) # Executing group from file /opt/freeradius/etc/raddb/sites-enabled/hs2
(10) Challenge { ... } # empty sub-section is ignored
(10) session-state: Saving cached attributes
(10) Framed-MTU = 1014
(10) TLS-Session-Information = "(TLS) TTLS - recv TLS 1.3 Handshake,
ClientHello"
(10) TLS-Session-Information = "(TLS) TTLS - send TLS 1.2 Handshake,
ServerHello"
(10) TLS-Session-Information = "(TLS) TTLS - send TLS 1.2 Handshake,
Certificate"
(10) TLS-Session-Information = "(TLS) TTLS - send TLS 1.2 Handshake,
ServerKeyExchange"
(10) TLS-Session-Information = "(TLS) TTLS - send TLS 1.2 Handshake,
ServerHelloDone"
(10) TLS-Session-Information = "(TLS) TTLS - recv TLS 1.2 Handshake,
ClientKeyExchange"
(10) TLS-Session-Information = "(TLS) TTLS - recv TLS 1.2 Handshake,
Finished"
(10) TLS-Session-Information = "(TLS) TTLS - send TLS 1.2
ChangeCipherSpec"
(10) TLS-Session-Information = "(TLS) TTLS - 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 10 from 172.19.0.3:1812 to 192.168.65.1:30038
length 157
(10) EAP-Message =
0x0123006315800000005917030300545da4962daf7c7f6453e4c3aa59f47396cc4d8c88f27d31aeb82a402596b6510650db5c053ff20be423f49f6b2d9c3a683de1f99a63e04bed6b2bb5755fee3530e027b03cbd224ad829d7332300520abd1c8d5ca1
(10) Message-Authenticator = 0x00000000000000000000000000000000
(10) State = 0xce864a98c4a55f034dd14839490e7d80
(10) Finished request
Waking up in 4.8 seconds.
(11) Received Access-Request Id 11 from 192.168.65.1:30038 to
172.19.0.3:1812 length 209
(11) User-Name = "anonymous(a)an***rk.com"
(11) Calling-Station-Id = "11:22:33:44:55:66"
(11) NAS-Port = 1
(11) NAS-Port-Id = "test"
(11) NAS-Port-Type = Wireless-802.11
(11) NAS-IP-Address = 191.111.11.1
(11) NAS-Identifier = "214a01f4"
(11) Called-Station-Id = "AA:BB:CC:DD:EE:FF"
(11) EAP-Message =
0x02230033150017030300289fac18176f3916e11d3ac80e4cbdcec391b0ff418c48731f5e21d3b7953e2d6f50159c54364c700d
(11) State = 0xce864a98c4a55f034dd14839490e7d80
(11) Message-Authenticator = 0x900734e32df639980375e64c618297a3
(11) Restoring &session-state
(11) &session-state:Framed-MTU = 1014
(11) &session-state:TLS-Session-Information = "(TLS) TTLS - recv TLS 1.3
Handshake, ClientHello"
(11) &session-state:TLS-Session-Information = "(TLS) TTLS - send TLS 1.2
Handshake, ServerHello"
(11) &session-state:TLS-Session-Information = "(TLS) TTLS - send TLS 1.2
Handshake, Certificate"
(11) &session-state:TLS-Session-Information = "(TLS) TTLS - send TLS 1.2
Handshake, ServerKeyExchange"
(11) &session-state:TLS-Session-Information = "(TLS) TTLS - send TLS 1.2
Handshake, ServerHelloDone"
(11) &session-state:TLS-Session-Information = "(TLS) TTLS - recv TLS 1.2
Handshake, ClientKeyExchange"
(11) &session-state:TLS-Session-Information = "(TLS) TTLS - recv TLS 1.2
Handshake, Finished"
(11) &session-state:TLS-Session-Information = "(TLS) TTLS - send TLS 1.2
ChangeCipherSpec"
(11) &session-state:TLS-Session-Information = "(TLS) TTLS - 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
/opt/freeradius/etc/raddb/sites-enabled/hs2
(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 !~ /(a)(.+)\.(.+)$/)) {
(11) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/))
-> FALSE
(11) if (&User-Name =~ /\.$/) {
(11) if (&User-Name =~ /\.$/) -> FALSE
(11) if (&User-Name =~ /(a)\./) {
(11) if (&User-Name =~ /(a)\./) -> FALSE
(11) } # if (&User-Name) = notfound
(11) } # policy filter_username = notfound
(11) [preprocess] = ok
(11) suffix: Checking for suffix after "@"
(11) suffix: Looking up realm "an***rk.com" for User-Name = "anonymous@an***
rk.com"
(11) suffix: Found realm "~.*"
(11) suffix: Adding Stripped-User-Name = "anonymous"
(11) suffix: Adding Realm = "an***rk.com"
(11) suffix: Authentication realm is LOCAL
(11) [suffix] = ok
(11) nmxeap: Peer sent EAP Response (code 2) ID 35 length 51
(11) nmxeap: Continuing tunnel setup
(11) [nmxeap] = ok
(11) } # authorize = ok
(11) Found Auth-Type = nmxeap
(11) # Executing group from file /opt/freeradius/etc/raddb/sites-enabled/hs2
(11) Auth-Type nmxeap {
(11) if ("%{unpack:&EAP-Message 4 byte}" == 1) {
(11) EXPAND %{unpack:&EAP-Message 4 byte}
(11) --> 21
(11) if ("%{unpack:&EAP-Message 4 byte}" == 1) -> FALSE
(11) nmxeap: Removing EAP session with state 0xce864a98c4a55f03
(11) nmxeap: Previous EAP request found for state 0xce864a98c4a55f03,
released from the list
(11) nmxeap: Peer sent packet with method EAP TTLS (21)
(11) nmxeap: Calling submodule eap_ttls to process data
(11) eap_ttls: Authenticate
(11) eap_ttls: (TLS) EAP Done initial handshake
(11) eap_ttls: Session established. Proceeding to decode tunneled
attributes
(11) eap_ttls: Got tunneled request
(11) eap_ttls: EAP-Message = 0x020200061a03
(11) eap_ttls: FreeRADIUS-Proxied-To = 127.0.0.1
(11) eap_ttls: Sending tunneled request
(11) Virtual server hs2-inner-tunnel received request
(11) EAP-Message = 0x020200061a03
(11) FreeRADIUS-Proxied-To = 127.0.0.1
(11) User-Name = "f163e41b-cd9d-4906-9e64-017f325a4fa6@no***ud"
(11) State = 0xb3fadd93b2f8c795dad7dff8de72cb1f
(11) Calling-Station-Id = "11:22:33:44:55:66"
(11) NAS-Port = 1
(11) NAS-Port-Id = "test"
(11) NAS-Port-Type = Wireless-802.11
(11) NAS-IP-Address = 191.111.11.1
(11) NAS-Identifier = "214a01f4"
(11) Called-Station-Id = "AA:BB:CC:DD:EE:FF"
(11) Event-Timestamp = "Apr 8 2025 16:33:20 UTC"
(11) WARNING: Possible spoofing: Inner realm and outer realms are different
(11) server hs2-inner-tunnel {
(11) session-state: No cached attributes
(11) # Executing section authorize from file
/opt/freeradius/etc/raddb/sites-enabled/hs2-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 !~ /(a)(.+)\.(.+)$/)) {
(11) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/))
-> FALSE
(11) if (&User-Name =~ /\.$/) {
(11) if (&User-Name =~ /\.$/) -> FALSE
(11) if (&User-Name =~ /(a)\./) {
(11) if (&User-Name =~ /(a)\./) -> FALSE
(11) } # if (&User-Name) = notfound
(11) } # policy filter_username = notfound
(11) [mschap] = noop
(11) suffix: Checking for suffix after "@"
(11) suffix: Looking up realm "no***ud" for User-Name =
"f163e41b-cd9d-4906-9e64-017f325a4fa6@no***ud"
(11) suffix: Found realm "~.*"
(11) suffix: Adding Stripped-User-Name =
"f163e41b-cd9d-4906-9e64-017f325a4fa6"
(11) suffix: Adding Realm = "no***ud"
(11) suffix: Authentication realm is LOCAL
(11) [suffix] = ok
(11) update control {
(11) &Proxy-To-Realm := LOCAL
(11) } # update control = noop
(11) nmxeap: Peer sent EAP Response (code 2) ID 2 length 6
(11) nmxeap: No EAP Start, assuming it's an on-going EAP conversation
(11) [nmxeap] = updated
(11) policy acct_unique {
(11) update request {
(11) &Tmp-String-9 := "nc:"
(11) } # update request = noop
(11) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) &&
("%{string:&Class}" =~ /^nc:([0-9a-f]{32})/i)) {
(11) EXPAND %{hex:&Class}
(11) -->
(11) EXPAND ^%{hex:&Tmp-String-9}
(11) --> ^6e633a
(11) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) &&
("%{string:&Class}" =~ /^nc:([0-9a-f]{32})/i)) -> FALSE
(11) else {
(11) update request {
(11) EXPAND
%{md5:%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}}
(11) --> 37dce1ff3d533d42c851429289630519
(11) &Acct-Unique-Session-Id := 37dce1ff3d533d42c851429289630519
(11) } # update request = noop
(11) } # else = noop
(11) update request {
(11) &Tmp-String-9 !* ANY
(11) } # update request = noop
(11) } # policy acct_unique = noop
rlm_rest (rest_hs2): Reserved connection (0)
(11) rest_hs2: Expanding URI components
(11) rest_hs2: EXPAND http://rest:8080
(11) rest_hs2: --> http://rest:8080
(11) rest_hs2: EXPAND /hs2_authorize
(11) rest_hs2: --> /hs2_authorize
(11) rest_hs2: Sending HTTP POST to "http://rest:8080/hs2_authorize"
(11) rest_hs2: Encoding attribute "User-Name"
(11) rest_hs2: Encoding attribute "NAS-IP-Address"
(11) rest_hs2: Encoding attribute "NAS-Port"
(11) rest_hs2: Encoding attribute "State"
(11) rest_hs2: Encoding attribute "Called-Station-Id"
(11) rest_hs2: Encoding attribute "Calling-Station-Id"
(11) rest_hs2: Encoding attribute "NAS-Identifier"
(11) rest_hs2: Encoding attribute "NAS-Port-Type"
(11) rest_hs2: Encoding attribute "Event-Timestamp"
(11) rest_hs2: Encoding attribute "EAP-Message"
(11) rest_hs2: Encoding attribute "NAS-Port-Id"
(11) rest_hs2: Encoding attribute "FreeRADIUS-Proxied-To"
(11) rest_hs2: Encoding attribute "EAP-Type"
(11) rest_hs2: Encoding attribute "Stripped-User-Name"
(11) rest_hs2: Encoding attribute "Realm"
(11) rest_hs2: Encoding attribute "Acct-Unique-Session-Id"
(11) rest_hs2: Returning 1019 bytes of JSON data (buffer full or chunk
exceeded)
(11) rest_hs2: Processing response header
(11) rest_hs2: Status : 200 (OK)
(11) rest_hs2: Type : json (application/json)
(11) rest_hs2: Adding reply:REST-HTTP-Status-Code = "200"
(11) rest_hs2: Parsing attribute "control:NT-Password"
(11) rest_hs2: EXPAND 7d35db8ffa40d77b9cc14b74243d02b0
(11) rest_hs2: --> 7d35db8ffa40d77b9cc14b74243d02b0
(11) rest_hs2: NT-Password :=
0x3764333564623866666134306437376239636331346237343234336430326230
(11) rest_hs2: Parsing attribute "Chargeable-User-Identity"
(11) rest_hs2: EXPAND
c1a37d907645beb6747d239ada1aded17ded4782e7613dc973f9f2510967e33f
(11) rest_hs2: -->
c1a37d907645beb6747d239ada1aded17ded4782e7613dc973f9f2510967e33f
(11) rest_hs2: Chargeable-User-Identity :=
0x63316133376439303736343562656236373437643233396164613161646564313764656434373832653736313364633937336639663235313039363765333366
(11) rest_hs2: Parsing attribute "Class"
(11) rest_hs2: EXPAND
c1a37d907645beb6747d239ada1aded17ded4782e7613dc973f9f2510967e33f
(11) rest_hs2: -->
c1a37d907645beb6747d239ada1aded17ded4782e7613dc973f9f2510967e33f
(11) rest_hs2: Class :=
0x63316133376439303736343562656236373437643233396164613161646564313764656434373832653736313364633937336639663235313039363765333366
rlm_rest (rest_hs2): Released connection (0)
(11) [rest_hs2] = updated
(11) pap: Normalizing NT-Password from hex encoding, 32 bytes -> 16 bytes
(11) pap: WARNING: Auth-Type already set. Not setting to PAP
(11) [pap] = noop
(11) } # authorize = updated
(11) Found Auth-Type = nmxeap
(11) # Executing group from file
/opt/freeradius/etc/raddb/sites-enabled/hs2-inner-tunnel
(11) authenticate {
(11) nmxeap: Removing EAP session with state 0xb3fadd93b2f8c795
(11) nmxeap: Previous EAP request found for state 0xb3fadd93b2f8c795,
released from the list
(11) nmxeap: Peer sent packet with method EAP MSCHAPv2 (26)
(11) nmxeap: Calling submodule eap_mschapv2 to process data
(11) nmxeap: Sending EAP Success (code 3) ID 2 length 4
(11) nmxeap: Freeing handler
(11) [nmxeap] = ok
(11) } # authenticate = ok
(11) # Executing section post-auth from file
/opt/freeradius/etc/raddb/sites-enabled/hs2-inner-tunnel
(11) post-auth {
(11) if (1) {
(11) if (1) -> TRUE
(11) if (1) {
(11) update reply {
(11) User-Name !* ANY
(11) Message-Authenticator !* ANY
(11) EAP-Message !* ANY
(11) Proxy-State !* ANY
(11) MS-MPPE-Encryption-Types !* ANY
(11) MS-MPPE-Encryption-Policy !* ANY
(11) MS-MPPE-Send-Key !* ANY
(11) MS-MPPE-Recv-Key !* ANY
(11) } # update reply = noop
(11) update {
(11) &outer.session-state::REST-HTTP-Status-Code +=
&reply:REST-HTTP-Status-Code[*] -> 200
(11) &outer.session-state::Chargeable-User-Identity +=
&reply:Chargeable-User-Identity[*] ->
0x63316133376439303736343562656236373437643233396164613161646564313764656434373832653736313364633937336639663235313039363765333366
(11) &outer.session-state::Class += &reply:Class[*] ->
0x63316133376439303736343562656236373437643233396164613161646564313764656434373832653736313364633937336639663235313039363765333366
(11) } # update = noop
(11) } # if (1) = noop
rlm_rest (rest_log_passpoint): 0 of 0 connections in use. You may need to
increase "spare"
rlm_rest (rest_log_passpoint): Opening additional connection (0), 1 of 64
pending slots used
rlm_rest (rest_log_passpoint): Connecting to "http://rest:8080/"
rlm_rest (rest_log_passpoint): Reserved connection (0)
(11) rest_log_passpoint: Expanding URI components
(11) rest_log_passpoint: EXPAND http://rest:8080
(11) rest_log_passpoint: --> http://rest:8080
(11) rest_log_passpoint: EXPAND /log
(11) rest_log_passpoint: --> /log
(11) rest_log_passpoint: Sending HTTP POST to "http://rest:8080/log"
(11) rest_log_passpoint: EXPAND {"event_type": "passpoint", "time": "%T",
"msgtype": "%{reply:Packet-Type}", "username": "%{User-Name}",
"called_station_id": "%{Called-Station-Id}", "calling_station_id":
"%{Calling-Station-Id}", "nas_identifier": "%{NAS-Identifier}", "cui":
"%{reply:Chargeable-User-Identity}", "nas_ip": "%{NAS-IP-Address}",
"module_reason": "%{Module-Failure-Message}", "reason":
"%{reply:Reply-Message}"}
(11) rest_log_passpoint: --> {"event_type": "passpoint", "time":
"2025-04-08-16.33.20.681269", "msgtype": "Access-Accept", "username":
"f163e41b-cd9d-4906-9e64-017f325a4fa6@no***ud", "called_station_id":
"AA:BB:CC:DD:EE:FF", "calling_station_id": "11:22:33:44:55:66",
"nas_identifier": "214a01f4", "cui":
"0x63316133376439303736343562656236373437643233396164613161646564313764656434373832653736313364633937336639663235313039363765333366",
"nas_ip": "191.111.11.1", "module_reason": "", "reason": ""}
(11) rest_log_passpoint: Processing response header
(11) rest_log_passpoint: Status : 200 (OK)
(11) rest_log_passpoint: Adding reply:REST-HTTP-Status-Code = "200"
(11) rest_log_passpoint: Skipping attribute processing, no valid body data
received
rlm_rest (rest_log_passpoint): Released connection (0)
Need 2 more connections to reach min connections (3)
Need more connections to reach 10 spares
rlm_rest (rest_log_passpoint): Opening additional connection (1), 1 of 63
pending slots used
rlm_rest (rest_log_passpoint): Connecting to "http://rest:8080/"
(11) [rest_log_passpoint] = ok
(11) } # post-auth = ok
(11) } # server hs2-inner-tunnel
(11) Virtual server sending reply
(11) REST-HTTP-Status-Code = 200
(11) Chargeable-User-Identity =
0x63316133376439303736343562656236373437643233396164613161646564313764656434373832653736313364633937336639663235313039363765333366
(11) Class =
0x63316133376439303736343562656236373437643233396164613161646564313764656434373832653736313364633937336639663235313039363765333366
(11) REST-HTTP-Status-Code := 200
(11) eap_ttls: Got tunneled Access-Accept
(11) nmxeap: Sending EAP Success (code 3) ID 35 length 4
(11) nmxeap: Freeing handler
(11) [nmxeap] = ok
(11) } # Auth-Type nmxeap = ok
(11) # Executing section post-auth from file
/opt/freeradius/etc/raddb/sites-enabled/hs2
(11) post-auth {
(11) if (session-state:User-Name && reply:User-Name &&
request:User-Name && (reply:User-Name == request:User-Name)) {
(11) if (session-state:User-Name && reply:User-Name &&
request:User-Name && (reply:User-Name == request:User-Name)) -> FALSE
(11) update {
(11) &reply::Framed-MTU += &session-state:Framed-MTU[*] -> 1014
(11) &reply::TLS-Session-Information +=
&session-state:TLS-Session-Information[*] -> '(TLS) TTLS - recv TLS 1.3
Handshake, ClientHello'
(11) &reply::TLS-Session-Information +=
&session-state:TLS-Session-Information[*] -> '(TLS) TTLS - send TLS 1.2
Handshake, ServerHello'
(11) &reply::TLS-Session-Information +=
&session-state:TLS-Session-Information[*] -> '(TLS) TTLS - send TLS 1.2
Handshake, Certificate'
(11) &reply::TLS-Session-Information +=
&session-state:TLS-Session-Information[*] -> '(TLS) TTLS - send TLS 1.2
Handshake, ServerKeyExchange'
(11) &reply::TLS-Session-Information +=
&session-state:TLS-Session-Information[*] -> '(TLS) TTLS - send TLS 1.2
Handshake, ServerHelloDone'
(11) &reply::TLS-Session-Information +=
&session-state:TLS-Session-Information[*] -> '(TLS) TTLS - recv TLS 1.2
Handshake, ClientKeyExchange'
(11) &reply::TLS-Session-Information +=
&session-state:TLS-Session-Information[*] -> '(TLS) TTLS - recv TLS 1.2
Handshake, Finished'
(11) &reply::TLS-Session-Information +=
&session-state:TLS-Session-Information[*] -> '(TLS) TTLS - send TLS 1.2
ChangeCipherSpec'
(11) &reply::TLS-Session-Information +=
&session-state:TLS-Session-Information[*] -> '(TLS) TTLS - send TLS 1.2
Handshake, Finished'
(11) &reply::TLS-Session-Cipher-Suite +=
&session-state:TLS-Session-Cipher-Suite[*] -> 'ECDHE-RSA-AES256-GCM-SHA384'
(11) &reply::TLS-Session-Version +=
&session-state:TLS-Session-Version[*] -> 'TLS 1.2'
(11) &reply::REST-HTTP-Status-Code +=
&session-state:REST-HTTP-Status-Code[*] -> 200
(11) &reply::Chargeable-User-Identity +=
&session-state:Chargeable-User-Identity[*] ->
0x63316133376439303736343562656236373437643233396164613161646564313764656434373832653736313364633937336639663235313039363765333366
(11) &reply::Class += &session-state:Class[*] ->
0x63316133376439303736343562656236373437643233396164613161646564313764656434373832653736313364633937336639663235313039363765333366
(11) } # update = noop
(11) policy remove_reply_message_if_eap {
(11) if (&reply:EAP-Message && &reply:Reply-Message) {
(11) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE
(11) else {
(11) [noop] = noop
(11) } # else = noop
(11) } # policy remove_reply_message_if_eap = noop
(11) if (!&request:EAP-Message) {
(11) if (!&request:EAP-Message) -> FALSE
(11) } # post-auth = noop
(11) Sent Access-Accept Id 11 from 172.19.0.3:1812 to 192.168.65.1:30038
length 326
(11) MS-MPPE-Recv-Key =
0x3298df8adff947549eeb98f4e67a703fed1920a809e6e4c35340ad01add176f2
(11) MS-MPPE-Send-Key =
0xfbdcb54abd959da729f1ffede48f18eefc41aef3f9a5ad79383b22f7f6b70ddc
(11) EAP-Message = 0x03230004
(11) Message-Authenticator = 0x00000000000000000000000000000000
(11) User-Name = "anonymous(a)an***rk.com"
(11) Framed-MTU += 1014
(11) Chargeable-User-Identity +=
0x63316133376439303736343562656236373437643233396164613161646564313764656434373832653736313364633937336639663235313039363765333366
(11) Class +=
0x63316133376439303736343562656236373437643233396164613161646564313764656434373832653736313364633937336639663235313039363765333366
(11) Finished request
Waking up in 4.7 seconds.
(0) Cleaning up request packet ID 0 with timestamp +5 due to cleanup_delay
was reached
(1) Cleaning up request packet ID 1 with timestamp +5 due to cleanup_delay
was reached
(2) Cleaning up request packet ID 2 with timestamp +5 due to cleanup_delay
was reached
(3) Cleaning up request packet ID 3 with timestamp +5 due to cleanup_delay
was reached
(4) Cleaning up request packet ID 4 with timestamp +5 due to cleanup_delay
was reached
(5) Cleaning up request packet ID 5 with timestamp +5 due to cleanup_delay
was reached
(6) Cleaning up request packet ID 6 with timestamp +5 due to cleanup_delay
was reached
(7) Cleaning up request packet ID 7 with timestamp +5 due to cleanup_delay
was reached
(8) Cleaning up request packet ID 8 with timestamp +5 due to cleanup_delay
was reached
(9) Cleaning up request packet ID 9 with timestamp +5 due to cleanup_delay
was reached
(10) Cleaning up request packet ID 10 with timestamp +5 due to
cleanup_delay was reached
(11) Cleaning up request packet ID 11 with timestamp +5 due to
cleanup_delay was reached
Ready to process requests
2
1
On Apr 11, 2025, at 10:28 AM, Brent Kimberley <brent.kimberley77(a)gmail.com> wrote:
> I'm running into an issue where Android refuses to "EAP-TLS-authenticate" with WPA<#> enterprise . Is this to be expected?
Android works fine for many people.
> Client Cert-gen:
> •
> OpenSSL 3.0.15 (3 Sep 2024)
>
> Client cert config - three layers:
> ...
> Client recipe - template:
> ...
> Client recipe:
None of that is helpful.
http://wiki.freeradius.org/list-help
Alan DeKok.
1
0
I want to set up my FreeRADIUS server to check the supplied user name and
decide which DC to use for authentication. I have tried using the following
code in my authorize section of a custom sites-enabled file.
# Check if the User-Name contains an email
if ("%{User-Name}" =~ /(a)(.+)$/) {
# Extract domain from email and store in email_domain
set email_domain = "%{1}"
# Conditionally set dc based on the domain
if ("%{email_domain}" == "student.madeupdomain.com") {
update control {
LDAP-Base-DN := "dc=student,dc=madeupdomain,dc=com"
}
}
else {
update control {
LDAP-Base-DN := "dc=madeupdomain,dc=com"
}
}
}
With this code in the custom file, the server gives an error message of
"Expecting section start brace '{' after "set email_domain". I have tried
adding a start brace before the if statement to assign the DC to use, but
that has made no difference. To check, I tried ChatGPT and put this code
in. ChatGPT says the code is correct.
Wayne Sprouse
--
"The
foregoing electronic message and any files transmitted with it are
confidential and are intended only for the use of the intended recipient
named above. This communication may contain material protected by the
Family Educational Rights and Privacy Act (FERPA). If you are not the
intended recipient, copying, distribution or use of the contents of this
message is strictly prohibited. If you received this electronic
message
in error, please notify us immediately at (228-864-1146**)."**
2
5
Hi,
Sometimes occures "WARNING: Module rlm_sql became unblocked" in the
"Received Accounting-Request" on the FR server logs and dont sent back
the "Sent Accounting-Response" packet to the NAS. But when I checked the
db. radacct records, the acct. "Interim-Update" record was inserted into
the radacct table.
But NAS sends the "Accounting-Request" packet again and again a
duplicate error is logged because it has been entered into the db before.
I don't observe any slowdown in db. and server load is also quite low.
This creates unnecessary acct. traffic and causes radius server UP-DOWN
on the NAS side then switch into secondary FR server.
How can I solve this problem?
FreeRADIUS Version 3.0.20 and db. PostgreSQL 12.8, db. server and radius
server are on separate servers.
Regards
--
Can Paçacı
2
1
Re: [External Mail] Re: [External Mail] [External Mail] Issue with authentication for certain users
by Wayne Sprouse 07 Apr '25
by Wayne Sprouse 07 Apr '25
07 Apr '25
I have looked up documentation on configuring FreeRADIUS to
authenticate using the users' mail addresses. I have everything set up
correctly from looking at the documentation, I have the filter set to
mail={%User-Name}. The FreeRADIUS server looks for the user by the
email address when looking at the Google LDAP logs. Google's LDAP
server responds with the UID of the user. Then, the FreeRADIUS server
attempts to log in using the UID. I do not want this as this is
causing all the users in our subdomain to fail the bind. This is
because for the subdomain, it would need to be
dc=student,dc=madeupdomain,dc=com and that is not how Google responded
for the UID of the user. Do I have something configured wrong or is
there a way to force the mail address only?
Wayne Sprouse, CNA,CCNA,CEH,A+
Wayne Sprouse, CNA,CCNA,CEH,A+
Long Beach School District
Network Administrator
Work Phone: 228-575-4056
On Thu, Apr 3, 2025 at 1:38 PM Wayne Sprouse <wayne.sprouse(a)lbsdk12.com> wrote:
>
> > The point is to tell Google that you were using ldapsearch.
>
> My mistake, I didn't fully understand that. I have told Google about
> doing the ldapsearch and not being able to bind with the subdomain
> credentials.
>
> > Yes, you can configure the LDAP module to search using the User-Name. This is the default configuration.
>
> It is currently set to search using the filter of their email address.
> It then gets back the full UID DN from the Google LDAP. I was wanting
> it to not bother with the UID and instead use the email address as the
> complete User-Name to authenticate into LDAP.
>
>
> Wayne Sprouse, CNA,CCNA,CEH,A+
--
"The
foregoing electronic message and any files transmitted with it are
confidential and are intended only for the use of the intended recipient
named above. This communication may contain material protected by the
Family Educational Rights and Privacy Act (FERPA). If you are not the
intended recipient, copying, distribution or use of the contents of this
message is strictly prohibited. If you received this electronic
message
in error, please notify us immediately at (228-864-1146**)."**
2
1
1
0
Not sure what to do about this so I'm not proposing any solution. Just
wanted to describe the problem for future reference. Any maybe someone
smarter knows how to "fix" it. WHich is mostly about helping users
DTRT.
Our FR config does stupid(?) stuff like converting binary attributes to
strings and then saving the result to varchar fields in a mysql
database. The assumption is that the binary attribute (the actual
example is ADSL-Agent-Circuit-Id) really contains ascii strings. Which
it does most of the time. There are of course some exceptions with an
assorted set of L2 devices on all the different access technoligies you
can think of. These are escaped as quoted-printable chars by FR so we
don't need to care.
For historical reasons, the mysql table we write this field to has
DEFAULT CHARSET=latin1
After an OS upgrade (to RHEL9, FWIW) I ended up with a mysql client
library defaulting to utf8 connections. Should not be a problem since
mysql handles the translation. But then I hit some of those binary
sequencence which FreeRADIUS happend to validate as multibyte utf8, and
which therefore was NOT escaped.
However, mysql didn't know how to translate them into latin1 and bailed
out with:
rlm_sql_mysql: ERROR 1366 (Incorrect string value: '\xDF\xA4k=5C...' for column 'ADSLAgentCircuitId' at row 1): HY000
I know I shot myself in the foot. There are several workarounds for this
problem, and I have implemented one that works for me as suggested in
the default configuration files:
Create a my.cnf file with
[freeradius]
default-character-set = latin1
and set MYSQL_HOME to the directory with this file before starting FR.
But the reason I am posting this is that the sql_escape_func() in
rlm_sql suprised me, and I'm not sure the logic there makes sense? By
default it escapes any character outside the "safe_characters" set:
"@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /"
Except that it doesn't touch any byte sequence which validates as
multi-byte utf8:
/*
* Allow all multi-byte UTF8 characters.
*/
utf8_len = fr_utf8_char((uint8_t const *) in, -1);
if (utf8_len > 1) {
if (outlen <= utf8_len) break;
memcpy(out, in, utf8_len);
in += utf8_len;
out += utf8_len;
outlen -= utf8_len;
len += utf8_len;
continue;
}
And fr_utf8_char() implements
https://datatracker.ietf.org/doc/html/rfc2279#section-2
correctly as far as I can see. Meaning that for example any
two byte sequence matching the bit pattern
"110xxxxx 10xxxxxx"
is accepted as utf8 and therefor not escaped. My example above
'\xDF\xA4' matches this pattern. So the lack of escaping is expected.
This works as long as client and table use the same character set. But
as shown, it fails when there is a mismatch.
The failure can be easily demonstrated with a command line client using
a utf8 connection:
root(a)127.0.0.1 (foo)> \s
--------------
mysql Ver 8.0.41 for Linux on x86_64 (MySQL Community Server - GPL)
Connection id: 12610
Current database: foo
Current user: root@localhost
SSL: Cipher in use is TLS_AES_256_GCM_SHA384
Current pager: less
Using outfile: ''
Using delimiter: ;
Server version: 8.0.41 MySQL Community Server - GPL
Protocol version: 10
Connection: 127.0.0.1 via TCP/IP
Server characterset: utf8mb4
Db characterset: utf8mb4
Client characterset: utf8mb4
Conn. characterset: utf8mb4
TCP port: 15042
Binary data as: Hexadecimal
Uptime: 8 days 23 hours 17 min 24 sec
Threads: 12 Questions: 160166 Slow queries: 0 Opens: 275 Flush tables: 3 Open tables: 192 Queries per second avg: 0.206
--------------
Using two identical tables differing only in default charset:
root(a)127.0.0.1 (foo)> show create table bar\G
*************************** 1. row ***************************
Table: bar
Create Table: CREATE TABLE `bar` (
`baz` varchar(64) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1
1 row in set (0.00 sec)
root(a)127.0.0.1 (foo)> show create table bar2\G
*************************** 1. row ***************************
Table: bar2
Create Table: CREATE TABLE `bar2` (
`baz` varchar(64) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci
1 row in set (0.00 sec)
We can insert \uDFA4 into the second table, but not into the first one:
root(a)127.0.0.1 (foo)> insert into bar values ('ߤ');
ERROR 1366 (HY000): Incorrect string value: '\xDF\xA4' for column 'baz' at row 1
root(a)127.0.0.1 (foo)> insert into bar2 values ('ߤ');
Query OK, 1 row affected (0.00 sec)
I have several questions after hitting this hard:
Should FR handle the situation better, detecting the character set
mismatches and automatically escape utf8 multi-byte sequences when the
target table use a different charset?
Should there be a way to configure rlm_sql into always escaping utf8
multi-byte sequences?
Does the default aggressive ascii escaping really align with allowing
any multi-byte utf8? The end results look strange and unexpected IMHO.
Any thoughts outside "don't to that then"?
Bjørn
2
3
Hi,
Please can you advise why the connection is not succeeding?
The Problem:
A Windows client is not succeeding authentication and the debug does
not show that the TLS handshake completes over WAN; the server is
hosted in Azure Container Instance. I have tested the same container
locally on the LAN which is working OK (docker container running on a
VM with a separate laptop with 802.1x configured with a switch set as
the NAC).
I can see the TLS handshake when comparing to a working example seems
to be missing the below:
(6) &session-state:TLS-Session-Cipher-Suite = "TLS_AES_256_GCM_SHA384"
(6) &session-state:TLS-Session-Version = "TLS 1.3"
(6) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS
1.3 Handshake, Finished"
What you are trying to do: Authenticate a Windows client via 802.1X
with EAP-TLS over the internet to an Azure Container Instance running
freeRADIUS.
This is behind a load balancer with a public IP, which includes a
health check on port 8080. This works when using eapol_test but not
when using Windows authentication. Although, this works for both
Windows and eapol_test when running the container on the local
network.
why you are trying to do it: Understand why this fails the TLS
handshake over the internet.
what you expect the server to do: TLS handshake to complete and
authentication request to receive an Access-Accept
what the server does instead (i.e. debug output):
FreeRADIUS Version 3.2.7
Copyright (C) 1999-2023 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/always
including configuration file /etc/freeradius/mods-enabled/attr_filter
including configuration file /etc/freeradius/mods-enabled/chap
including configuration file /etc/freeradius/mods-enabled/date
including configuration file /etc/freeradius/mods-enabled/detail
including configuration file /etc/freeradius/mods-enabled/detail.log
including configuration file /etc/freeradius/mods-enabled/digest
including configuration file /etc/freeradius/mods-enabled/dynamic_clients
including configuration file /etc/freeradius/mods-enabled/eap
including configuration file /etc/freeradius/mods-enabled/echo
including configuration file /etc/freeradius/mods-enabled/exec
including configuration file /etc/freeradius/mods-enabled/expiration
including configuration file /etc/freeradius/mods-enabled/expr
including configuration file /etc/freeradius/mods-enabled/files
including configuration file /etc/freeradius/mods-enabled/linelog
including configuration file /etc/freeradius/mods-enabled/logintime
including configuration file /etc/freeradius/mods-enabled/mschap
including configuration file /etc/freeradius/mods-enabled/ntlm_auth
including configuration file /etc/freeradius/mods-enabled/pap
including configuration file /etc/freeradius/mods-enabled/passwd
including configuration file /etc/freeradius/mods-enabled/preprocess
including configuration file /etc/freeradius/mods-enabled/proxy_rate_limit
including configuration file /etc/freeradius/mods-enabled/radutmp
including configuration file /etc/freeradius/mods-enabled/realm
including configuration file /etc/freeradius/mods-enabled/replicate
including configuration file /etc/freeradius/mods-enabled/soh
including configuration file /etc/freeradius/mods-enabled/sradutmp
including configuration file /etc/freeradius/mods-enabled/totp
including configuration file /etc/freeradius/mods-enabled/unix
including configuration file /etc/freeradius/mods-enabled/unpack
including configuration file /etc/freeradius/mods-enabled/utf8
including files in directory /etc/freeradius/policy.d/
including configuration file /etc/freeradius/policy.d/abfab-tr
including configuration file /etc/freeradius/policy.d/accounting
including configuration file /etc/freeradius/policy.d/canonicalization
including configuration file /etc/freeradius/policy.d/control
including configuration file /etc/freeradius/policy.d/cui
including configuration file /etc/freeradius/policy.d/debug
including configuration file /etc/freeradius/policy.d/dhcp
including configuration file /etc/freeradius/policy.d/eap
including configuration file /etc/freeradius/policy.d/filter
including configuration file /etc/freeradius/policy.d/moonshot-targeted-ids
including configuration file /etc/freeradius/policy.d/operator-name
including configuration file /etc/freeradius/policy.d/rfc7542
including files in directory /etc/freeradius/sites-enabled/
including configuration file /etc/freeradius/sites-enabled/default
including configuration file /etc/freeradius/sites-enabled/inner-tunnel
including configuration file /etc/freeradius/sites-enabled/check-eap-tls
including configuration file /etc/freeradius/sites-enabled/status
main {
security {
allow_core_dumps = no
}
name = "radiusd"
prefix = "@prefix@"
localstatedir = "@localstatedir@"
logdir = "@logdir@"
run_dir = "@localstatedir@/run/radiusd"
}
main {
name = "radiusd"
prefix = "@prefix@"
localstatedir = "@localstatedir@"
sbindir = "@sbindir@"
logdir = "@logdir@"
run_dir = "@localstatedir@/run/radiusd"
libdir = "@libdir@"
radacctdir = "@radacctdir@"
hostname_lookups = no
max_request_time = 30
proxy_dedup_window = 1
cleanup_delay = 30
max_requests = 16384
max_fds = 512
postauth_client_lost = no
pidfile = "@localstatedir@/run/radiusd/radiusd.pid"
checkrad = "@sbindir@/checkrad"
debug_level = 0
proxy_requests = yes
log {
stripped_names = no
auth = no
auth_badpass = no
auth_goodpass = no
colourise = yes
msg_denied = "You are already logged in - access denied"
}
resources {
}
security {
max_attributes = 200
reject_delay = 1.000000
status_server = yes
require_message_authenticator = "auto"
limit_proxy_state = "auto"
}
unlang {
group_stop_return = no
policy_stop_return = no
}
}
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
}
}
home_server_pool my_auth_failover {
type = fail-over
home_server = localhost
}
realm example.com {
auth_pool = my_auth_failover
}
realm LOCAL {
}
radiusd: #### Loading Clients ####
client localhost {
ipaddr = 127.0.0.1
require_message_authenticator = "auto"
limit_proxy_state = "auto"
secret = <<< secret >>>
proto = "*"
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
Shared secret for client localhost is short, and likely can be broken
by an attacker.
client localhost_ipv6 {
ipv6addr = ::1
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
Shared secret for client localhost_ipv6 is short, and likely can be
broken by an attacker.
client radiustesting {
ipaddr = 185.241.224.187
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
Debug state unknown (cap_sys_ptrace capability not set)
Configuration version: 7161-5ad1-6c77-638f
systemd watchdog is disabled
# Creating Auth-Type = mschap
# Creating Auth-Type = digest
# Creating Auth-Type = eap
# Creating Auth-Type = PAP
# Creating Auth-Type = CHAP
# Creating Auth-Type = MS-CHAP
# Creating Autz-Type = New-TLS-Connection
# Creating Autz-Type = Status-Server
radiusd: #### Instantiating modules ####
modules {
# 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_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
}
# Loaded module rlm_chap
# Loading module "chap" from file /etc/freeradius/mods-enabled/chap
# 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_detail
# Loading module "detail" from file /etc/freeradius/mods-enabled/detail
detail {
filename =
"@radacctdir@/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
dates_as_integer = no
escape_filenames = no
log_packet_header = no
}
# Loading module "auth_log" from file /etc/freeradius/mods-enabled/detail.log
detail auth_log {
filename =
"@radacctdir@/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
dates_as_integer = no
escape_filenames = no
log_packet_header = no
}
# Loading module "reply_log" from file /etc/freeradius/mods-enabled/detail.log
detail reply_log {
filename =
"@radacctdir@/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/reply-detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
dates_as_integer = 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 =
"@radacctdir@/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/pre-proxy-detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
dates_as_integer = 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 =
"@radacctdir@/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/post-proxy-detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
dates_as_integer = no
escape_filenames = no
log_packet_header = no
}
# Loaded module rlm_digest
# Loading module "digest" from file /etc/freeradius/mods-enabled/digest
# Loaded module rlm_dynamic_clients
# Loading module "dynamic_clients" from file
/etc/freeradius/mods-enabled/dynamic_clients
# Loaded module rlm_eap
# Loading module "eap" from file /etc/freeradius/mods-enabled/eap
eap {
default_eap_type = "tls"
timer_expire = 60
max_eap_type = 52
ignore_unknown_eap_types = no
cisco_accounting_username_bug = no
max_sessions = 16384
dedup_key = "%{Calling-Station-Id}"
}
# Loaded module rlm_exec
# 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 "exec" from file /etc/freeradius/mods-enabled/exec
exec {
wait = no
input_pairs = "request"
shell_escape = yes
timeout = 10
}
# Loaded module rlm_expiration
# Loading module "expiration" from file
/etc/freeradius/mods-enabled/expiration
# Loaded module rlm_expr
# Loading module "expr" from file /etc/freeradius/mods-enabled/expr
expr {
safe_characters =
"@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_:
/äéöüàâæçèéêëîïôœùûüaÿÄÉÖÜßÀÂÆÇÈÉÊËÎÏÔŒÙÛÜŸ"
}
# 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_linelog
# Loading module "linelog" from file /etc/freeradius/mods-enabled/linelog
linelog {
filename = "@logdir@/linelog"
escape_filenames = no
syslog_severity = "info"
permissions = 384
format = "This is a log message for %{User-Name}"
reference = "messages.%{%{reply:Packet-Type}:-default}"
}
# Loading module "log_accounting" from file
/etc/freeradius/mods-enabled/linelog
linelog log_accounting {
filename = "@logdir@/linelog-accounting"
escape_filenames = no
syslog_severity = "info"
permissions = 384
format = ""
reference = "Accounting-Request.%{%{Acct-Status-Type}:-unknown}"
}
# Loaded module rlm_logintime
# Loading module "logintime" from file /etc/freeradius/mods-enabled/logintime
logintime {
minimum_timeout = 60
}
# 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
passchange {
}
allow_retry = yes
winbind_retry_with_normalised_username = no
}
# Loading module "ntlm_auth" from file /etc/freeradius/mods-enabled/ntlm_auth
exec ntlm_auth {
wait = yes
program = "/path/to/ntlm_auth --request-nt-key
--domain=MYDOMAIN --username=%{mschap:User-Name}
--password=%{User-Password}"
shell_escape = yes
}
# Loaded module rlm_pap
# Loading module "pap" from file /etc/freeradius/mods-enabled/pap
pap {
normalise = yes
}
# 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
}
# 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_proxy_rate_limit
# Loading module "proxy_rate_limit" from file
/etc/freeradius/mods-enabled/proxy_rate_limit
proxy_rate_limit {
max_entries = 2048
idle_timeout = 10
num_subtables = 256
window = 1
}
# Loaded module rlm_radutmp
# Loading module "radutmp" from file /etc/freeradius/mods-enabled/radutmp
radutmp {
filename = "@logdir@/radutmp"
username = "%{User-Name}"
case_sensitive = yes
check_with_nas = yes
permissions = 384
caller_id = yes
}
# 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_replicate
# Loading module "replicate" from file /etc/freeradius/mods-enabled/replicate
# Loaded module rlm_soh
# Loading module "soh" from file /etc/freeradius/mods-enabled/soh
soh {
dhcp = yes
}
# Loading module "sradutmp" from file /etc/freeradius/mods-enabled/sradutmp
radutmp sradutmp {
filename = "@logdir@/sradutmp"
username = "%{User-Name}"
case_sensitive = yes
check_with_nas = yes
permissions = 420
caller_id = no
}
# Loaded module rlm_totp
# Loading module "totp" from file /etc/freeradius/mods-enabled/totp
totp {
time_step = 30
otp_length = 6
lookback_steps = 1
lookback_interval = 30
lookforward_steps = 0
}
# Loaded module rlm_unix
# Loading module "unix" from file /etc/freeradius/mods-enabled/unix
unix {
radwtmp = "@logdir@/radwtmp"
}
Creating attribute Unix-Group
# Loaded module rlm_unpack
# Loading module "unpack" from file /etc/freeradius/mods-enabled/unpack
# Loaded module rlm_utf8
# Loading module "utf8" from file /etc/freeradius/mods-enabled/utf8
instantiate {
}
# 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 "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 "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
/etc/freeradius/mods-enabled/eap[56]: Found dynamic expansion in
string which will not be dynamically expanded
# 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-common"
virtual_server = "check-eap-tls"
}
tls-config tls-common {
verify_depth = 0
ca_path = "/etc/freeradius/certs"
pem_file_type = yes
private_key_file = "/etc/freeradius/certs/server.pem"
certificate_file = "/etc/freeradius/certs/server.pem"
ca_file = "/etc/freeradius/certs/ca.pem"
private_key_password = <<< secret >>>
fragment_size = 1024
include_length = yes
auto_chain = yes
check_crl = no
check_all_crl = no
ca_path_reload_interval = 0
cipher_list = "DEFAULT"
cipher_server_preference = no
reject_unknown_intermediate_ca = no
ecdh_curve = ""
tls_max_version = "1.3"
tls_min_version = "1.2"
cache {
enable = no
lifetime = 24
max_entries = 255
}
verify {
skip_if_ocsp_ok = no
}
ocsp {
enable = no
override_cert_url = yes
url = "http://127.0.0.1/ocsp/"
use_nonce = yes
timeout = 0
softfail = no
}
}
# Linked to sub-module rlm_eap_ttls
ttls {
tls = "tls-common"
default_eap_type = "md5"
copy_request_to_tunnel = no
use_tunneled_reply = no
virtual_server = "inner-tunnel"
include_length = yes
require_client_cert = no
}
tls: Using cached TLS configuration from previous invocation
# Linked to sub-module rlm_eap_peap
peap {
tls = "tls-common"
default_eap_type = "mschapv2"
copy_request_to_tunnel = no
use_tunneled_reply = no
proxy_tunneled_request_as_eap = yes
virtual_server = "inner-tunnel"
soh = no
require_client_cert = no
}
tls: Using cached TLS configuration from previous invocation
# Linked to sub-module rlm_eap_mschapv2
mschapv2 {
with_ntdomain_hack = no
send_error = no
}
# Instantiating module "expiration" from file
/etc/freeradius/mods-enabled/expiration
# 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 "linelog" from file
/etc/freeradius/mods-enabled/linelog
# Instantiating module "log_accounting" from file
/etc/freeradius/mods-enabled/linelog
# Instantiating module "logintime" from file
/etc/freeradius/mods-enabled/logintime
# Instantiating module "mschap" from file /etc/freeradius/mods-enabled/mschap
rlm_mschap (mschap): using internal authentication
# Instantiating module "pap" from file /etc/freeradius/mods-enabled/pap
# Instantiating module "etc_passwd" from file
/etc/freeradius/mods-enabled/passwd
rlm_passwd: nfields: 3 keyfield 0(User-Name) listable: no
# 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 "proxy_rate_limit" from file
/etc/freeradius/mods-enabled/proxy_rate_limit
# 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 "totp" from file /etc/freeradius/mods-enabled/totp
} # modules
radiusd: #### Loading Virtual Servers ####
server { # from file /etc/freeradius/radiusd.conf
} # server
server default { # from file /etc/freeradius/sites-enabled/default
# 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
# Loading authorize {...}
Ignoring "sql" (see raddb/mods-available/README.rst)
Ignoring "ldap" (see raddb/mods-available/README.rst)
Compiling Autz-Type New-TLS-Connection for attr Autz-Type
# Loading preacct {...}
# Loading accounting {...}
# Loading post-auth {...}
Compiling Post-Auth-Type REJECT for attr Post-Auth-Type
Compiling Post-Auth-Type Challenge for attr Post-Auth-Type
Compiling Post-Auth-Type Client-Lost for attr Post-Auth-Type
} # server default
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
# Loading authorize {...}
# Loading post-proxy {...}
# Loading post-auth {...}
# Skipping contents of 'if' as it is always 'false' --
/etc/freeradius/sites-enabled/inner-tunnel:366
Compiling Post-Auth-Type REJECT for attr Post-Auth-Type
} # server inner-tunnel
server check-eap-tls { # from file /etc/freeradius/sites-enabled/check-eap-tls
# Loading authorize {...}
} # server check-eap-tls
server status { # from file /etc/freeradius/sites-enabled/status
# Loading authorize {...}
Compiling Autz-Type Status-Server for attr Autz-Type
} # server status
radiusd: #### Opening IP addresses and Ports ####
listen {
type = "auth"
ipaddr = *
port = 0
limit {
max_connections = 128
lifetime = 30
idle_timeout = 60
}
Setting idle_timeout to 0
}
listen {
type = "acct"
ipaddr = *
port = 0
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
listen {
type = "auth"
ipv6addr = ::
port = 0
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
listen {
type = "acct"
ipv6addr = ::
port = 0
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
listen {
type = "auth"
ipaddr = 127.0.0.1
port = 18120
}
listen {
type = "status"
ipaddr = *
port = 8080
proto = "tcp"
limit {
max_connections = 64
lifetime = 15
idle_timeout = 30
}
Setting idle_timeout to 0
clients = "azure_lb"
client azure_lb {
ipaddr = 168.63.129.16
secret = <<< secret >>>
proto = "tcp"
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
}
Listening on auth address * port 1812 bound to server default
Listening on acct address * port 1813 bound to server default
Listening on auth address :: port 1812 bound to server default
Listening on acct address :: port 1813 bound to server default
Listening on auth address 127.0.0.1 port 18120 bound to server inner-tunnel
Listening on status proto tcp address * port 8080 bound to server status
Listening on proxy address * port 47097
Listening on proxy address :: port 33982
Ready to process requests
... new connection request on TCP socket
Listening on status from client (168.63.129.16, 54790) -> (*, 8080,
virtual-server=status)
Waking up in 0.8 seconds.
Waking up in 14.4 seconds.
Client has closed connection
... shutting down socket status from client (168.63.129.16, 54790) ->
(*, 8080, virtual-server=status)
Ready to process requests
... new connection request on TCP socket
Failed inserting TCP socket into parent list.
Listening on status from client (168.63.129.16, 54858) -> (*, 8080,
virtual-server=status)
Waking up in 0.8 seconds.
Waking up in 14.4 seconds.
Client has closed connection
... shutting down socket status from client (168.63.129.16, 54858) ->
(*, 8080, virtual-server=status)
Ready to process requests
... new connection request on TCP socket
Failed inserting TCP socket into parent list.
Listening on status from client (168.63.129.16, 54946) -> (*, 8080,
virtual-server=status)
Waking up in 0.8 seconds.
Waking up in 14.4 seconds.
Client has closed connection
... shutting down socket status from client (168.63.129.16, 54946) ->
(*, 8080, virtual-server=status)
Ready to process requests
... new connection request on TCP socket
Failed inserting TCP socket into parent list.
Listening on status from client (168.63.129.16, 55023) -> (*, 8080,
virtual-server=status)
Waking up in 0.8 seconds.
Waking up in 14.4 seconds.
Client has closed connection
... shutting down socket status from client (168.63.129.16, 55023) ->
(*, 8080, virtual-server=status)
Ready to process requests
... new connection request on TCP socket
Failed inserting TCP socket into parent list.
Listening on status from client (168.63.129.16, 55116) -> (*, 8080,
virtual-server=status)
Waking up in 0.8 seconds.
Waking up in 14.4 seconds.
Client has closed connection
... shutting down socket status from client (168.63.129.16, 55116) ->
(*, 8080, virtual-server=status)
Ready to process requests
... new connection request on TCP socket
Failed inserting TCP socket into parent list.
Listening on status from client (168.63.129.16, 55188) -> (*, 8080,
virtual-server=status)
Waking up in 0.8 seconds.
Waking up in 14.4 seconds.
Client has closed connection
... shutting down socket status from client (168.63.129.16, 55188) ->
(*, 8080, virtual-server=status)
Ready to process requests
... new connection request on TCP socket
Failed inserting TCP socket into parent list.
Listening on status from client (168.63.129.16, 55271) -> (*, 8080,
virtual-server=status)
Waking up in 0.8 seconds.
Waking up in 14.4 seconds.
Client has closed connection
... shutting down socket status from client (168.63.129.16, 55271) ->
(*, 8080, virtual-server=status)
Ready to process requests
... new connection request on TCP socket
Failed inserting TCP socket into parent list.
Listening on status from client (168.63.129.16, 55341) -> (*, 8080,
virtual-server=status)
Waking up in 0.7 seconds.
Waking up in 14.4 seconds.
Client has closed connection
... shutting down socket status from client (168.63.129.16, 55341) ->
(*, 8080, virtual-server=status)
Ready to process requests
... new connection request on TCP socket
Failed inserting TCP socket into parent list.
Listening on status from client (168.63.129.16, 55411) -> (*, 8080,
virtual-server=status)
Waking up in 0.7 seconds.
Waking up in 14.4 seconds.
Client has closed connection
... shutting down socket status from client (168.63.129.16, 55411) ->
(*, 8080, virtual-server=status)
Ready to process requests
... new connection request on TCP socket
Failed inserting TCP socket into parent list.
Listening on status from client (168.63.129.16, 55486) -> (*, 8080,
virtual-server=status)
Waking up in 0.7 seconds.
Waking up in 14.4 seconds.
Client has closed connection
... shutting down socket status from client (168.63.129.16, 55486) ->
(*, 8080, virtual-server=status)
Ready to process requests
... new connection request on TCP socket
Failed inserting TCP socket into parent list.
Listening on status from client (168.63.129.16, 55575) -> (*, 8080,
virtual-server=status)
Waking up in 0.7 seconds.
Waking up in 14.4 seconds.
Client has closed connection
... shutting down socket status from client (168.63.129.16, 55575) ->
(*, 8080, virtual-server=status)
Ready to process requests
... new connection request on TCP socket
Failed inserting TCP socket into parent list.
Listening on status from client (168.63.129.16, 55631) -> (*, 8080,
virtual-server=status)
Waking up in 0.7 seconds.
Waking up in 14.4 seconds.
Client has closed connection
... shutting down socket status from client (168.63.129.16, 55631) ->
(*, 8080, virtual-server=status)
Ready to process requests
... new connection request on TCP socket
Failed inserting TCP socket into parent list.
Listening on status from client (168.63.129.16, 55721) -> (*, 8080,
virtual-server=status)
Waking up in 0.7 seconds.
Waking up in 14.4 seconds.
Client has closed connection
... shutting down socket status from client (168.63.129.16, 55721) ->
(*, 8080, virtual-server=status)
Ready to process requests
... new connection request on TCP socket
Failed inserting TCP socket into parent list.
Listening on status from client (168.63.129.16, 55790) -> (*, 8080,
virtual-server=status)
Waking up in 0.7 seconds.
Waking up in 14.4 seconds.
Client has closed connection
... shutting down socket status from client (168.63.129.16, 55790) ->
(*, 8080, virtual-server=status)
Ready to process requests
... new connection request on TCP socket
Failed inserting TCP socket into parent list.
Listening on status from client (168.63.129.16, 55987) -> (*, 8080,
virtual-server=status)
Waking up in 0.7 seconds.
Waking up in 14.4 seconds.
Client has closed connection
... shutting down socket status from client (168.63.129.16, 55987) ->
(*, 8080, virtual-server=status)
Ready to process requests
... new connection request on TCP socket
Failed inserting TCP socket into parent list.
Listening on status from client (168.63.129.16, 56081) -> (*, 8080,
virtual-server=status)
Waking up in 0.7 seconds.
Waking up in 14.4 seconds.
Client has closed connection
... shutting down socket status from client (168.63.129.16, 56081) ->
(*, 8080, virtual-server=status)
Ready to process requests
... new connection request on TCP socket
Ignoring new connection due to client max_connections (16)
Ready to process requests
... new connection request on TCP socket
Ignoring new connection due to client max_connections (16)
Ready to process requests
... new connection request on TCP socket
Ignoring new connection due to client max_connections (16)
Ready to process requests
... new connection request on TCP socket
Ignoring new connection due to client max_connections (16)
Ready to process requests
... new connection request on TCP socket
Ignoring new connection due to client max_connections (16)
Ready to process requests
... new connection request on TCP socket
Ignoring new connection due to client max_connections (16)
Ready to process requests
(0) Received Access-Request Id 225 from 185.241.224.187:35356 to
10.0.0.5:1812 length 195
(0) NAS-IP-Address = 192.168.1.112
(0) NAS-Port-Type = Ethernet
(0) NAS-Port = 4
(0) User-Name = "host/353ec014-5c70-4e4c-a7c8-b9c8b5860352"
(0) Acct-Session-Id = "0500003F"
(0) Called-Station-Id = "A4-B2-39-CD-FE-3F"
(0) Calling-Station-Id = "28-00-AF-0F-A8-32"
(0) EAP-Message =
0x0201002e01686f73742f33353365633031342d356337302d346534632d613763382d623963386235383630333532
(0) Message-Authenticator = 0xfd9f875e95feb822675be4ee23747c02
(0) # Executing section authorize from file
/etc/freeradius/sites-enabled/default
(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 !~ /(a)(.+)\.(.+)$/)) {
(0) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/))
-> FALSE
(0) if (&User-Name =~ /\.$/) {
(0) if (&User-Name =~ /\.$/) -> FALSE
(0) if (&User-Name =~ /(a)\./) {
(0) if (&User-Name =~ /(a)\./) -> FALSE
(0) } # if (&User-Name) = notfound
(0) } # policy filter_username = notfound
(0) [preprocess] = ok
(0) [chap] = noop
(0) [mschap] = noop
(0) [digest] = noop
(0) suffix: Checking for suffix after "@"
(0) suffix: No '@' in User-Name =
"host/353ec014-5c70-4e4c-a7c8-b9c8b5860352", looking up realm NULL
(0) suffix: No such realm "NULL"
(0) [suffix] = noop
(0) eap: Peer sent EAP Response (code 2) ID 1 length 46
(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/default
(0) authenticate {
(0) eap: EXPAND %{Calling-Station-Id}
(0) eap: --> 28-00-AF-0F-A8-32
(0) eap: Peer sent packet with method EAP Identity (1)
(0) eap: Using default_eap_type = TLS
(0) eap: Calling submodule eap_tls to process data
(0) eap_tls: (TLS) TLS -Initiating new session
(0) eap_tls: (TLS) TLS - Setting verify mode to require certificate from client
(0) eap: Sending EAP Request (code 1) ID 2 length 6
(0) eap: EAP session adding &reply:State = 0xa960c76da962ca67
(0) [eap] = handled
(0) } # authenticate = handled
(0) Using Post-Auth-Type Challenge
(0) # Executing group from file /etc/freeradius/sites-enabled/default
(0) Challenge { ... } # empty sub-section is ignored
(0) session-state: Saving cached attributes
(0) Framed-MTU = 994
(0) Sent Access-Challenge Id 225 from 10.0.0.5:1812 to
185.241.224.187:35356 length 64
(0) EAP-Message = 0x010200060d20
(0) Message-Authenticator = 0x00000000000000000000000000000000
(0) State = 0xa960c76da962ca67c033c547c41b2362
(0) Finished request
Waking up in 29.9 seconds.
... new connection request on TCP socket
Ignoring new connection due to client max_connections (16)
Waking up in 25.3 seconds.
(1) Received Access-Request Id 226 from 185.241.224.187:35356 to
10.0.0.5:1812 length 436
(1) NAS-IP-Address = 192.168.1.112
(1) NAS-Port-Type = Ethernet
(1) NAS-Port = 4
(1) User-Name = "host/353ec014-5c70-4e4c-a7c8-b9c8b5860352"
(1) Acct-Session-Id = "0500003F"
(1) State = 0xa960c76da962ca67c033c547c41b2362
(1) Called-Station-Id = "A4-B2-39-CD-FE-3F"
(1) Calling-Station-Id = "28-00-AF-0F-A8-32"
(1) EAP-Message =
0x0202010b0d800000010116030100fc010000f803038005f5c1f744d3396f887f73d0f6ee32038ac5ea916872900f35e3a30829a89920a00f349108c0a3d8a1825562e0cfc7691b328ffe45f9025dc72d0170776b431f002813021301c02cc02bc030c02fc024c023c028c027c00ac009c014c013009d009c003d003c0035002f01000087000500050100000000002b0009080304030303020301000d001a001808040805080604010501020104030503020302020601060300230000000a00080006001d00170018000b00020100003300260024001d00200d9fc1fc2438e7552301836ca01472e47d655008f1650ff4e35dd57955b80b590031000000170000ff01000100002d00020101
(1) Message-Authenticator = 0xcc559b3212a95756ea6a742fc1963909
(1) Restoring &session-state
(1) &session-state:Framed-MTU = 994
(1) # Executing section authorize from file
/etc/freeradius/sites-enabled/default
(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 !~ /(a)(.+)\.(.+)$/)) {
(1) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/))
-> FALSE
(1) if (&User-Name =~ /\.$/) {
(1) if (&User-Name =~ /\.$/) -> FALSE
(1) if (&User-Name =~ /(a)\./) {
(1) if (&User-Name =~ /(a)\./) -> FALSE
(1) } # if (&User-Name) = notfound
(1) } # policy filter_username = notfound
(1) [preprocess] = ok
(1) [chap] = noop
(1) [mschap] = noop
(1) [digest] = noop
(1) suffix: Checking for suffix after "@"
(1) suffix: No '@' in User-Name =
"host/353ec014-5c70-4e4c-a7c8-b9c8b5860352", looking up realm NULL
(1) suffix: No such realm "NULL"
(1) [suffix] = noop
(1) eap: Peer sent EAP Response (code 2) ID 2 length 267
(1) eap: No EAP Start, assuming it's an on-going EAP conversation
(1) [eap] = updated
(1) [files] = noop
(1) [expiration] = noop
(1) [logintime] = noop
(1) [pap] = noop
(1) } # authorize = updated
(1) Found Auth-Type = eap
(1) # Executing group from file /etc/freeradius/sites-enabled/default
(1) authenticate {
(1) eap: Removing EAP session with state 0xa960c76da962ca67
(1) eap: Previous EAP request found for state 0xa960c76da962ca67,
released from the list
(1) eap: Peer sent packet with method EAP TLS (13)
(1) eap: Calling submodule eap_tls to process data
(1) eap_tls: (TLS) EAP Peer says that the final record size will be 257 bytes
(1) eap_tls: (TLS) EAP Got all data (257 bytes)
(1) eap_tls: (TLS) TLS - Handshake state - before SSL initialization
(1) eap_tls: (TLS) TLS - Handshake state - Server before SSL initialization
(1) eap_tls: (TLS) TLS - Handshake state - Server before SSL initialization
(1) eap_tls: (TLS) TLS - recv TLS 1.3 Handshake, ClientHello
(1) eap_tls: (TLS) TLS - Handshake state - Server SSLv3/TLS read client hello
(1) eap_tls: (TLS) TLS - send TLS 1.3 Handshake, ServerHello
(1) eap_tls: (TLS) TLS - Handshake state - Server SSLv3/TLS write server hello
(1) eap_tls: (TLS) TLS - send TLS 1.3 ChangeCipherSpec
(1) eap_tls: (TLS) TLS - Handshake state - Server SSLv3/TLS write
change cipher spec
(1) eap_tls: (TLS) TLS - send TLS 1.3 Handshake, EncryptedExtensions
(1) eap_tls: (TLS) TLS - Handshake state - Server TLSv1.3 write
encrypted extensions
(1) eap_tls: (TLS) TLS - send TLS 1.3 Handshake, CertificateRequest
(1) eap_tls: (TLS) TLS - Handshake state - Server SSLv3/TLS write
certificate request
(1) eap_tls: (TLS) TLS - send TLS 1.3 Handshake, Certificate
(1) eap_tls: (TLS) TLS - Handshake state - Server SSLv3/TLS write certificate
(1) eap_tls: (TLS) TLS - send TLS 1.3 Handshake, CertificateVerify
(1) eap_tls: (TLS) TLS - Handshake state - Server TLSv1.3 write server
certificate verify
(1) eap_tls: (TLS) TLS - send TLS 1.3 Handshake, Finished
(1) eap_tls: (TLS) TLS - Handshake state - Server SSLv3/TLS write finished
(1) eap_tls: (TLS) TLS - Handshake state - Server TLSv1.3 early data
(1) eap_tls: (TLS) TLS - Server : Need to read more data: TLSv1.3 early data
(1) eap_tls: (TLS) TLS - In Handshake Phase
(1) eap: Sending EAP Request (code 1) ID 3 length 1000
(1) eap: EAP session adding &reply:State = 0xa960c76da863ca67
(1) [eap] = handled
(1) } # authenticate = handled
(1) Using Post-Auth-Type Challenge
(1) # Executing group from file /etc/freeradius/sites-enabled/default
(1) Challenge { ... } # empty sub-section is ignored
(1) session-state: Saving cached attributes
(1) Framed-MTU = 994
(1) TLS-Session-Information = "(TLS) TLS - recv TLS 1.3 Handshake,
ClientHello"
(1) TLS-Session-Information = "(TLS) TLS - send TLS 1.3 Handshake,
ServerHello"
(1) TLS-Session-Information = "(TLS) TLS - send TLS 1.3 ChangeCipherSpec"
(1) TLS-Session-Information = "(TLS) TLS - send TLS 1.3 Handshake,
EncryptedExtensions"
(1) TLS-Session-Information = "(TLS) TLS - send TLS 1.3 Handshake,
CertificateRequest"
(1) TLS-Session-Information = "(TLS) TLS - send TLS 1.3 Handshake,
Certificate"
(1) TLS-Session-Information = "(TLS) TLS - send TLS 1.3 Handshake,
CertificateVerify"
(1) TLS-Session-Information = "(TLS) TLS - send TLS 1.3 Handshake, Finished"
(1) Sent Access-Challenge Id 226 from 10.0.0.5:1812 to
185.241.224.187:35356 length 1064
(1) EAP-Message =
0x010303e80dc000000fdb160303007a02000076030315b4bdf959e77a819ca5b04ba62a57391745e7bed4ed82f5b2439560cdb8d77120a00f349108c0a3d8a1825562e0cfc7691b328ffe45f9025dc72d0170776b431f130200002e002b0002030400330024001d00209639f2611dd7535b4db2fac1f7709482f843443278af0b934076fcb02adb07691403030001011703030017409bded55c5fc8075b8e54990bb1a5ed4c42044db7684a17030301374e577f3a09d50eb88f0faf4977b2c27762b050bce58ac056b15c39776ebb5b95a26cc8196b755d2cd2665ac7259691a99366935a39332f8f5da1eaa7c78ff13526f4ae124707f879a230e68b0f59b2993186a86c41085634dd4933ac77d752db76cbe073ca19402ddbdea29e830e8be189b692b124b9d0edfd5968d6859b86ac53e0dea8edf11683fec7c989c11829bb3d06e3fcd860fbf9bca4031b34066ad035591aa696988e6a7b4594ad4d96da7cb139927f81cf8b75785e86eb9865c2ec939a558bd7da98
(1) Message-Authenticator = 0x00000000000000000000000000000000
(1) State = 0xa960c76da863ca67c033c547c41b2362
(1) Finished request
Waking up in 20.9 seconds.
... new connection request on TCP socket
Ignoring new connection due to client max_connections (16)
Waking up in 20.3 seconds.
... new connection request on TCP socket
Ignoring new connection due to client max_connections (16)
Waking up in 15.3 seconds.
(2) Received Access-Request Id 227 from 185.241.224.187:35356 to
10.0.0.5:1812 length 173
(2) NAS-IP-Address = 192.168.1.112
(2) NAS-Port-Type = Ethernet
(2) NAS-Port = 4
(2) User-Name = "host/353ec014-5c70-4e4c-a7c8-b9c8b5860352"
(2) Acct-Session-Id = "0500003F"
(2) State = 0xa960c76da863ca67c033c547c41b2362
(2) Called-Station-Id = "A4-B2-39-CD-FE-3F"
(2) Calling-Station-Id = "28-00-AF-0F-A8-32"
(2) EAP-Message = 0x020300060d00
(2) Message-Authenticator = 0xbf0af695bb5ac349944293a07a61472c
(2) Restoring &session-state
(2) &session-state:Framed-MTU = 994
(2) &session-state:TLS-Session-Information = "(TLS) TLS - recv TLS
1.3 Handshake, ClientHello"
(2) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS
1.3 Handshake, ServerHello"
(2) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS
1.3 ChangeCipherSpec"
(2) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS
1.3 Handshake, EncryptedExtensions"
(2) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS
1.3 Handshake, CertificateRequest"
(2) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS
1.3 Handshake, Certificate"
(2) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS
1.3 Handshake, CertificateVerify"
(2) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS
1.3 Handshake, Finished"
(2) # Executing section authorize from file
/etc/freeradius/sites-enabled/default
(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 !~ /(a)(.+)\.(.+)$/)) {
(2) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/))
-> FALSE
(2) if (&User-Name =~ /\.$/) {
(2) if (&User-Name =~ /\.$/) -> FALSE
(2) if (&User-Name =~ /(a)\./) {
(2) if (&User-Name =~ /(a)\./) -> FALSE
(2) } # if (&User-Name) = notfound
(2) } # policy filter_username = notfound
(2) [preprocess] = ok
(2) [chap] = noop
(2) [mschap] = noop
(2) [digest] = noop
(2) suffix: Checking for suffix after "@"
(2) suffix: No '@' in User-Name =
"host/353ec014-5c70-4e4c-a7c8-b9c8b5860352", looking up realm NULL
(2) suffix: No such realm "NULL"
(2) [suffix] = noop
(2) eap: Peer sent EAP Response (code 2) ID 3 length 6
(2) eap: No EAP Start, assuming it's an on-going EAP conversation
(2) [eap] = updated
(2) [files] = noop
(2) [expiration] = noop
(2) [logintime] = noop
(2) [pap] = noop
(2) } # authorize = updated
(2) Found Auth-Type = eap
(2) # Executing group from file /etc/freeradius/sites-enabled/default
(2) authenticate {
(2) eap: Removing EAP session with state 0xa960c76da863ca67
(2) eap: Previous EAP request found for state 0xa960c76da863ca67,
released from the list
(2) eap: Peer sent packet with method EAP TLS (13)
(2) eap: Calling submodule eap_tls to process data
(2) eap_tls: (TLS) Peer ACKed our handshake fragment
(2) eap: Sending EAP Request (code 1) ID 4 length 1000
(2) eap: EAP session adding &reply:State = 0xa960c76dab64ca67
(2) [eap] = handled
(2) } # authenticate = handled
(2) Using Post-Auth-Type Challenge
(2) # Executing group from file /etc/freeradius/sites-enabled/default
(2) Challenge { ... } # empty sub-section is ignored
(2) session-state: Saving cached attributes
(2) Framed-MTU = 994
(2) TLS-Session-Information = "(TLS) TLS - recv TLS 1.3 Handshake,
ClientHello"
(2) TLS-Session-Information = "(TLS) TLS - send TLS 1.3 Handshake,
ServerHello"
(2) TLS-Session-Information = "(TLS) TLS - send TLS 1.3 ChangeCipherSpec"
(2) TLS-Session-Information = "(TLS) TLS - send TLS 1.3 Handshake,
EncryptedExtensions"
(2) TLS-Session-Information = "(TLS) TLS - send TLS 1.3 Handshake,
CertificateRequest"
(2) TLS-Session-Information = "(TLS) TLS - send TLS 1.3 Handshake,
Certificate"
(2) TLS-Session-Information = "(TLS) TLS - send TLS 1.3 Handshake,
CertificateVerify"
(2) TLS-Session-Information = "(TLS) TLS - send TLS 1.3 Handshake, Finished"
(2) Sent Access-Challenge Id 227 from 10.0.0.5:1812 to
185.241.224.187:35356 length 1064
(2) EAP-Message =
0x010403e80dc000000fdb84c7ccd063df8e12ce32a75073a57effe537a56c29818a6504d97dab790416413b46b17874bba4f1100faf0fc2d2794404aa403cb3fe415ae48beef376503db654447da19846fbc6dca88ff672bf7cf52411b8f42cd7ce4299213643779e3256bcc8b4209fd9fade5435a7e71b6d153be151825c1728fd9fe028c1c7fe9fe04fb257e10a2454579941cc4bef65d9df55242b70decd2f44985ee48067aee6da01461f7d86a46d0ecb29116e61491008a2cd180beca8f4321694f16a08f7644ac0eed1e86b62882ec874693f8a24c8f238edd83a65a8450ecd940d216eb93cf1be989493c72f316f39e9bd8b7c1e7eb504c51a94ce5ce4152d454a4132ce4cd4da25602148a1c9899b5dc3db9308da9b313a12707580e0185321c529dd5546826408b642fed98afee0181181f212df866466f4dfabaa6b1517e009b0c9af3ab43f0561fe38aa9bb2d02d85581f726562eac8099e62c51ec1575e1b19713a426667cbb555f02d0e14540ec47a4c65
(2) Message-Authenticator = 0x00000000000000000000000000000000
(2) State = 0xa960c76dab64ca67c033c547c41b2362
(2) Finished request
Waking up in 11.8 seconds.
... new connection request on TCP socket
Ignoring new connection due to client max_connections (16)
Waking up in 10.3 seconds.
... new connection request on TCP socket
Ignoring new connection due to client max_connections (16)
Waking up in 5.3 seconds.
(3) Received Access-Request Id 228 from 185.241.224.187:35356 to
10.0.0.5:1812 length 173
(3) NAS-IP-Address = 192.168.1.112
(3) NAS-Port-Type = Ethernet
(3) NAS-Port = 4
(3) User-Name = "host/353ec014-5c70-4e4c-a7c8-b9c8b5860352"
(3) Acct-Session-Id = "0500003F"
(3) State = 0xa960c76dab64ca67c033c547c41b2362
(3) Called-Station-Id = "A4-B2-39-CD-FE-3F"
(3) Calling-Station-Id = "28-00-AF-0F-A8-32"
(3) EAP-Message = 0x020400060d00
(3) Message-Authenticator = 0x038ead73ce4c8b0a455b6b5ffea2c726
(3) Restoring &session-state
(3) &session-state:Framed-MTU = 994
(3) &session-state:TLS-Session-Information = "(TLS) TLS - recv TLS
1.3 Handshake, ClientHello"
(3) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS
1.3 Handshake, ServerHello"
(3) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS
1.3 ChangeCipherSpec"
(3) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS
1.3 Handshake, EncryptedExtensions"
(3) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS
1.3 Handshake, CertificateRequest"
(3) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS
1.3 Handshake, Certificate"
(3) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS
1.3 Handshake, CertificateVerify"
(3) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS
1.3 Handshake, Finished"
(3) # Executing section authorize from file
/etc/freeradius/sites-enabled/default
(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 !~ /(a)(.+)\.(.+)$/)) {
(3) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/))
-> FALSE
(3) if (&User-Name =~ /\.$/) {
(3) if (&User-Name =~ /\.$/) -> FALSE
(3) if (&User-Name =~ /(a)\./) {
(3) if (&User-Name =~ /(a)\./) -> FALSE
(3) } # if (&User-Name) = notfound
(3) } # policy filter_username = notfound
(3) [preprocess] = ok
(3) [chap] = noop
(3) [mschap] = noop
(3) [digest] = noop
(3) suffix: Checking for suffix after "@"
(3) suffix: No '@' in User-Name =
"host/353ec014-5c70-4e4c-a7c8-b9c8b5860352", looking up realm NULL
(3) suffix: No such realm "NULL"
(3) [suffix] = noop
(3) eap: Peer sent EAP Response (code 2) ID 4 length 6
(3) eap: No EAP Start, assuming it's an on-going EAP conversation
(3) [eap] = updated
(3) [files] = noop
(3) [expiration] = noop
(3) [logintime] = noop
(3) [pap] = noop
(3) } # authorize = updated
(3) Found Auth-Type = eap
(3) # Executing group from file /etc/freeradius/sites-enabled/default
(3) authenticate {
(3) eap: Removing EAP session with state 0xa960c76dab64ca67
(3) eap: Previous EAP request found for state 0xa960c76dab64ca67,
released from the list
(3) eap: Peer sent packet with method EAP TLS (13)
(3) eap: Calling submodule eap_tls to process data
(3) eap_tls: (TLS) Peer ACKed our handshake fragment
(3) eap: Sending EAP Request (code 1) ID 5 length 1000
(3) eap: EAP session adding &reply:State = 0xa960c76daa65ca67
(3) [eap] = handled
(3) } # authenticate = handled
(3) Using Post-Auth-Type Challenge
(3) # Executing group from file /etc/freeradius/sites-enabled/default
(3) Challenge { ... } # empty sub-section is ignored
(3) session-state: Saving cached attributes
(3) Framed-MTU = 994
(3) TLS-Session-Information = "(TLS) TLS - recv TLS 1.3 Handshake,
ClientHello"
(3) TLS-Session-Information = "(TLS) TLS - send TLS 1.3 Handshake,
ServerHello"
(3) TLS-Session-Information = "(TLS) TLS - send TLS 1.3 ChangeCipherSpec"
(3) TLS-Session-Information = "(TLS) TLS - send TLS 1.3 Handshake,
EncryptedExtensions"
(3) TLS-Session-Information = "(TLS) TLS - send TLS 1.3 Handshake,
CertificateRequest"
(3) TLS-Session-Information = "(TLS) TLS - send TLS 1.3 Handshake,
Certificate"
(3) TLS-Session-Information = "(TLS) TLS - send TLS 1.3 Handshake,
CertificateVerify"
(3) TLS-Session-Information = "(TLS) TLS - send TLS 1.3 Handshake, Finished"
(3) Sent Access-Challenge Id 228 from 10.0.0.5:1812 to
185.241.224.187:35356 length 1064
(3) EAP-Message =
0x010503e80dc000000fdbfdab766478f6463a45aa0725242e5aac5c6de5a81c7a5bcdf1125abf8d15a3d47dc9e78f5ce707fc1038b6db94138a1e4ec53dd19ab470e420b2a3dec644d03d54d4887375596eebf2da1fb12bd224812df10fdaa9894b56b6659ccfed8754f9a842fa5800b4d6a99b4ab4004ec005e25ba1301b74ada5d51589796de8e21b482c9d02032bad52ce8e9d8d5b066b6261bd66d0a002c791ed18ca56a88fce85f07832b6a056be190b627d74030116c2e68266791db3a65391cea7149b66175d06b1cf01ccc3c3ee33bc83b2fe395b682d460944a8cad5aa1c3ba1a8332f129ed93f9f6e1e62e4f3098c0c51b04bded8f76ccb41538f865cd38429bd1e1fd29e74b727fae988371d89bc377ddbd58d1999d9b4f5408953930d6f2a9d2db76791726388811710c247f124ce94bb4284c064883e3bb525e539f7957e373b7e6cffbbb8790f7f1ef52db19cf876950d4eeb9218bd396d4844b8c56f9752308fc3ec27716a6f3b3676a1f0655d717ef1
(3) Message-Authenticator = 0x00000000000000000000000000000000
(3) State = 0xa960c76daa65ca67c033c547c41b2362
(3) Finished request
Waking up in 2.8 seconds.
... new connection request on TCP socket
Ignoring new connection due to client max_connections (16)
Waking up in 0.2 seconds.
(0) Cleaning up request packet ID 225 with timestamp +1392 due to
cleanup_delay was reached
Waking up in 9.0 seconds.
... new connection request on TCP socket
Ignoring new connection due to client max_connections (16)
Waking up in 4.3 seconds.
(4) Received Access-Request Id 229 from 185.241.224.187:35356 to
10.0.0.5:1812 length 173
(4) NAS-IP-Address = 192.168.1.112
(4) NAS-Port-Type = Ethernet
(4) NAS-Port = 4
(4) User-Name = "host/353ec014-5c70-4e4c-a7c8-b9c8b5860352"
(4) Acct-Session-Id = "0500003F"
(4) State = 0xa960c76daa65ca67c033c547c41b2362
(4) Called-Station-Id = "A4-B2-39-CD-FE-3F"
(4) Calling-Station-Id = "28-00-AF-0F-A8-32"
(4) EAP-Message = 0x020500060d00
(4) Message-Authenticator = 0xd41b050c3a3def192db05fd631f14607
(4) Restoring &session-state
(4) &session-state:Framed-MTU = 994
(4) &session-state:TLS-Session-Information = "(TLS) TLS - recv TLS
1.3 Handshake, ClientHello"
(4) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS
1.3 Handshake, ServerHello"
(4) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS
1.3 ChangeCipherSpec"
(4) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS
1.3 Handshake, EncryptedExtensions"
(4) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS
1.3 Handshake, CertificateRequest"
(4) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS
1.3 Handshake, Certificate"
(4) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS
1.3 Handshake, CertificateVerify"
(4) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS
1.3 Handshake, Finished"
(4) # Executing section authorize from file
/etc/freeradius/sites-enabled/default
(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 !~ /(a)(.+)\.(.+)$/)) {
(4) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/))
-> FALSE
(4) if (&User-Name =~ /\.$/) {
(4) if (&User-Name =~ /\.$/) -> FALSE
(4) if (&User-Name =~ /(a)\./) {
(4) if (&User-Name =~ /(a)\./) -> FALSE
(4) } # if (&User-Name) = notfound
(4) } # policy filter_username = notfound
(4) [preprocess] = ok
(4) [chap] = noop
(4) [mschap] = noop
(4) [digest] = noop
(4) suffix: Checking for suffix after "@"
(4) suffix: No '@' in User-Name =
"host/353ec014-5c70-4e4c-a7c8-b9c8b5860352", looking up realm NULL
(4) suffix: No such realm "NULL"
(4) [suffix] = noop
(4) eap: Peer sent EAP Response (code 2) ID 5 length 6
(4) eap: No EAP Start, assuming it's an on-going EAP conversation
(4) [eap] = updated
(4) [files] = noop
(4) [expiration] = noop
(4) [logintime] = noop
(4) [pap] = noop
(4) } # authorize = updated
(4) Found Auth-Type = eap
(4) # Executing group from file /etc/freeradius/sites-enabled/default
(4) authenticate {
(4) eap: Removing EAP session with state 0xa960c76daa65ca67
(4) eap: Previous EAP request found for state 0xa960c76daa65ca67,
released from the list
(4) eap: Peer sent packet with method EAP TLS (13)
(4) eap: Calling submodule eap_tls to process data
(4) eap_tls: (TLS) Peer ACKed our handshake fragment
(4) eap: Sending EAP Request (code 1) ID 6 length 1000
(4) eap: EAP session adding &reply:State = 0xa960c76dad66ca67
(4) [eap] = handled
(4) } # authenticate = handled
(4) Using Post-Auth-Type Challenge
(4) # Executing group from file /etc/freeradius/sites-enabled/default
(4) Challenge { ... } # empty sub-section is ignored
(4) session-state: Saving cached attributes
(4) Framed-MTU = 994
(4) TLS-Session-Information = "(TLS) TLS - recv TLS 1.3 Handshake,
ClientHello"
(4) TLS-Session-Information = "(TLS) TLS - send TLS 1.3 Handshake,
ServerHello"
(4) TLS-Session-Information = "(TLS) TLS - send TLS 1.3 ChangeCipherSpec"
(4) TLS-Session-Information = "(TLS) TLS - send TLS 1.3 Handshake,
EncryptedExtensions"
(4) TLS-Session-Information = "(TLS) TLS - send TLS 1.3 Handshake,
CertificateRequest"
(4) TLS-Session-Information = "(TLS) TLS - send TLS 1.3 Handshake,
Certificate"
(4) TLS-Session-Information = "(TLS) TLS - send TLS 1.3 Handshake,
CertificateVerify"
(4) TLS-Session-Information = "(TLS) TLS - send TLS 1.3 Handshake, Finished"
(4) Sent Access-Challenge Id 229 from 10.0.0.5:1812 to
185.241.224.187:35356 length 1064
(4) EAP-Message =
0x010603e80dc000000fdbe1eb6d5ccf7a723ba08e36e26cc364e3deb8d6a570bf850795cab4233696941f9631498e9c58b86901eb823cd8b9a6c479d350dde4ce24b459b27012d0784767279b319e50647f62280123ba9f59784873b7adf37470625b66682b6074d34ed54a620756b34d798ea85c9cbd42cda44701be40ef5b6bb3b570530225344fa2062790bdb7f8ff1e107336771e0692f5e335e845b5f518a4cae2d4020cdb84e0faf68d26a7c335894fec424289a9188d141a1c9db099c6695c6201ecf88a3859d396441695dab5920e9ffc39488580ffe4a8631abf86e18838128d72317aea08617286bd7f2f0495be883e0ce8b15df6ad7be59c40e08081f324c89653320d697861b2a81b1cb9d917560ed71164f704dc0921aad85e80683672ee66ccdffd1faf573e4bd49b223f16ce62335ae5e423d1ef816de71f77ea19585566ad22f1de9b6488a425a2d78aa387929d435c21f229ba698d79b0073e4c3b382abbbfbfcb3ad815b8d472398f53d6048ea3f4
(4) Message-Authenticator = 0x00000000000000000000000000000000
(4) State = 0xa960c76dad66ca67c033c547c41b2362
(4) Finished request
Waking up in 2.8 seconds.
(1) Cleaning up request packet ID 226 with timestamp +1401 due to
cleanup_delay was reached
Waking up in 9.0 seconds.
... new connection request on TCP socket
Ignoring new connection due to client max_connections (16)
Waking up in 8.3 seconds.
... new connection request on TCP socket
Ignoring new connection due to client max_connections (16)
Waking up in 3.3 seconds.
(5) Received Access-Request Id 230 from 185.241.224.187:35356 to
10.0.0.5:1812 length 173
(5) NAS-IP-Address = 192.168.1.112
(5) NAS-Port-Type = Ethernet
(5) NAS-Port = 4
(5) User-Name = "host/353ec014-5c70-4e4c-a7c8-b9c8b5860352"
(5) Acct-Session-Id = "0500003F"
(5) State = 0xa960c76dad66ca67c033c547c41b2362
(5) Called-Station-Id = "A4-B2-39-CD-FE-3F"
(5) Calling-Station-Id = "28-00-AF-0F-A8-32"
(5) EAP-Message = 0x020600060d00
(5) Message-Authenticator = 0x0dc4ca0033f30b31ea12f0a84c3615c3
(5) Restoring &session-state
(5) &session-state:Framed-MTU = 994
(5) &session-state:TLS-Session-Information = "(TLS) TLS - recv TLS
1.3 Handshake, ClientHello"
(5) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS
1.3 Handshake, ServerHello"
(5) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS
1.3 ChangeCipherSpec"
(5) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS
1.3 Handshake, EncryptedExtensions"
(5) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS
1.3 Handshake, CertificateRequest"
(5) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS
1.3 Handshake, Certificate"
(5) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS
1.3 Handshake, CertificateVerify"
(5) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS
1.3 Handshake, Finished"
(5) # Executing section authorize from file
/etc/freeradius/sites-enabled/default
(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 !~ /(a)(.+)\.(.+)$/)) {
(5) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/))
-> FALSE
(5) if (&User-Name =~ /\.$/) {
(5) if (&User-Name =~ /\.$/) -> FALSE
(5) if (&User-Name =~ /(a)\./) {
(5) if (&User-Name =~ /(a)\./) -> FALSE
(5) } # if (&User-Name) = notfound
(5) } # policy filter_username = notfound
(5) [preprocess] = ok
(5) [chap] = noop
(5) [mschap] = noop
(5) [digest] = noop
(5) suffix: Checking for suffix after "@"
(5) suffix: No '@' in User-Name =
"host/353ec014-5c70-4e4c-a7c8-b9c8b5860352", looking up realm NULL
(5) suffix: No such realm "NULL"
(5) [suffix] = noop
(5) eap: Peer sent EAP Response (code 2) ID 6 length 6
(5) eap: No EAP Start, assuming it's an on-going EAP conversation
(5) [eap] = updated
(5) [files] = noop
(5) [expiration] = noop
(5) [logintime] = noop
(5) [pap] = noop
(5) } # authorize = updated
(5) Found Auth-Type = eap
(5) # Executing group from file /etc/freeradius/sites-enabled/default
(5) authenticate {
(5) eap: Removing EAP session with state 0xa960c76dad66ca67
(5) eap: Previous EAP request found for state 0xa960c76dad66ca67,
released from the list
(5) eap: Peer sent packet with method EAP TLS (13)
(5) eap: Calling submodule eap_tls to process data
(5) eap_tls: (TLS) Peer ACKed our handshake fragment
(5) eap: Sending EAP Request (code 1) ID 7 length 109
(5) eap: EAP session adding &reply:State = 0xa960c76dac67ca67
(5) [eap] = handled
(5) } # authenticate = handled
(5) Using Post-Auth-Type Challenge
(5) # Executing group from file /etc/freeradius/sites-enabled/default
(5) Challenge { ... } # empty sub-section is ignored
(5) session-state: Saving cached attributes
(5) Framed-MTU = 994
(5) TLS-Session-Information = "(TLS) TLS - recv TLS 1.3 Handshake,
ClientHello"
(5) TLS-Session-Information = "(TLS) TLS - send TLS 1.3 Handshake,
ServerHello"
(5) TLS-Session-Information = "(TLS) TLS - send TLS 1.3 ChangeCipherSpec"
(5) TLS-Session-Information = "(TLS) TLS - send TLS 1.3 Handshake,
EncryptedExtensions"
(5) TLS-Session-Information = "(TLS) TLS - send TLS 1.3 Handshake,
CertificateRequest"
(5) TLS-Session-Information = "(TLS) TLS - send TLS 1.3 Handshake,
Certificate"
(5) TLS-Session-Information = "(TLS) TLS - send TLS 1.3 Handshake,
CertificateVerify"
(5) TLS-Session-Information = "(TLS) TLS - send TLS 1.3 Handshake, Finished"
(5) Sent Access-Challenge Id 230 from 10.0.0.5:1812 to
185.241.224.187:35356 length 167
(5) EAP-Message =
0x0107006d0d8000000fdbe33d32c6d71228255ebeafdd018899878a8fe0a80f886c4eb5170303004513e76f1ad52ae44957d10ac939c3d9a463013e536725fa716af274ae1ca18448ac2820e8abb26835729ebf1a1e0cca06c6553bba22f0249caa9e90802e54b60b89891323cb
(5) Message-Authenticator = 0x00000000000000000000000000000000
(5) State = 0xa960c76dac67ca67c033c547c41b2362
(5) Finished request
Waking up in 2.9 seconds.
(2) Cleaning up request packet ID 227 with timestamp +1410 due to
cleanup_delay was reached
Ready to process requests
2
2
Hi everybody
Recently, I upgraded from FreeRADIUS 3.2.6 to 3.2.7. I implemented a rest module call to our IPAM (Infoblox) on version 3.2.6. The rest module call is still in «evaluation» and was not used in production, that’s why it is not used frequently and I was not forced to troubleshoot the problem before.
But know I would need some help:
1. the rest module call to our IPAM (Infoblox) was working fine in FR 3.2.6.
2. The goal is to check, if a client with a given mac address (Calling-Station-Id) is listed in a given IP subnet on Infoblox, additionally to the 802.1x (PEAP) authentication on the given SSID
a) if yes (REST-HTTP-Status-Code = 200 and REST-HTTP-Body != []), then return an ACCESS-ACCEPT
b) if not (REST-HTTP-Status-Code != 200 or REST-HTTP-Body == []), then return an ACCESS-REJECT
As I stated above, it worked on FR 3.2.6, but since upgrading to 3.2.7, it SOMETIMES still works, but most of the time it DOESN’T and it returns a HTTP status code of 403 («Forbidden»). Stangely, I never get a HTTP status code of 403 with the exact same user credentials while trying the same API call in Postman:
[
{
"_ref": "record:host/ZG5zLmhvc3QkLl9kZWZhdWx0LmNoLnVuaWJlLnptay5wcnRnLXByb2JlLWZyZWVycmFkaXVzLXpta2Jlcm4:prtg-probe-freerradius-zmkbern.zmk.unibe.ch/default",
"ipv4addrs": [
{
"_ref": "record:host_ipv4addr/ZG5zLmhvc3RfYWRkcmVzcyQuX2RlZmF1bHQuY2gudW5pYmUuem1rLnBydGctcHJvYmUtZnJlZXJyYWRpdXMtem1rYmVybi4xNzIuMjUuOC4xMC4:172.25.8.10/prtg-probe-freerradius-zmkbern.zmk.unibe.ch/default",
"configure_for_dhcp": true,
"host": "prtg-probe-freerradius-zmkbern.zmk.unibe.ch",
"ipv4addr": "172.25.8.10",
"mac": "a1:b2:c3:d4:e5:f6"
}
],
"name": "prtg-probe-freeradius-ssid.domain.xy",
"view": "default"
}
]
Debug output of a working attempt (if you need the whole debug output, please let me know):
(3973) if (Service-Type == Call-Check) {
(3973) if (Service-Type == Call-Check) -> TRUE
(3973) if (Service-Type == Call-Check) {
(3973) switch &Called-Station-SSID {
(3973) case zmkbern-DEV {
(3973) update request {
(3973) &locMacAuth-IP-Subnet := "172.25.8.0/21"
(3973) } # update request = noop
rlm_rest (rest): Reserved connection (38)
(3973) rest: Expanding URI components
(3973) rest: EXPAND https://gridmaster.domain.xy <https://gridmaster.domain.xy/>
(3973) rest: --> https://gridmaster.domain.xy <https://gridmaster.domain.xy/>
(3973) rest: EXPAND /wapi/v2.11.3/record:host?network=%{locMacAuth-IP-Subnet}&mac=%{tolower:%{request:locMacAuth-Calling-Station-Id}}
(3973) rest: --> /wapi/v2.11.3/record:host?network=172.25.8.0%2F21&mac=a1%3Ab2%3Ac3%3Ad4%3Ae5%3Af6
(3973) rest: Sending HTTP GET to https://gridmaster.domain.xy/wapi/v2.11.3/record:host?network=172.25.8.0%2F…
(3973) rest: EXPAND id_svcinfobloxro_prod
(3973) rest: --> id_svcinfobloxro_prod
(3973) rest: EXPAND c1K25E9MyrXLC6fCyZ
(3973) rest: --> c1K25E9MyrXLC6fCyZ
(3973) rest: Processing response header
(3973) rest: Status : 200 (OK)
(3973) rest: Type : json (application/json)
(3973) rest: Adding reply:REST-HTTP-Status-Code = "200"
(3973) rest: Adding reply:REST-HTTP-Body += "[ { "_ref": "record:host/ZG5zLmhvc3QkLl9kZWZhdWx0LmNoLnVuaWJlLnptay5wcnRnLXByb2JlLWZyZWVycmFkaXVzLXpta2Jlcm4:prtg-probe-freerradius-zmkbern.zmk.unibe.ch/default", "ipv4addrs": [ { "_ref": "record:host_ipv4addr/ZG5zLmhvc3RfYWRkcmVzcyQuX2RlZmF1bHQuY2gudW5pYmUuem1rLnBydGctcHJvYmUtZnJlZXJyYWRpdXMtem1rYmVybi4xNzIuMjUuOC4xMC4:172.25.8.10/prtg-probe-freerradius-zmkbern.zmk.unibe.ch/default", "configure_for_dhcp": true, "host": "prtg-probe-freerradius-zmkbern.zmk.unibe.ch", "ipv4addr": "172.25.8.10", "mac": "a1:b2:c3:d4:e5:f6" } ], "name": "prtg-probe-freerradius-zmkbern.zmk.unibe.ch", "view": "default" } ]"
rlm_rest (rest): Released connection (38)
Need more connections to reach 10 spares
rlm_rest (rest): Opening additional connection (40), 1 of 29 pending slots used
rlm_rest (rest): Connecting to https://gridmaster.domain.xy <https://gridmaster.domain.xy/>
rlm_rest (rest): Closing expired connection (39) - Hit idle_timeout limit
rlm_rest (rest): You probably need to lower "min"
rlm_rest (rest): Closing expired connection (35) - Hit idle_timeout limit
(3973) [rest] = updated
(3973) } # case zmkbern-DEV = updated
(3973) } # switch &Called-Station-SSID = updated
(3973) if (reply:REST-HTTP-Status-Code == "200") {
(3973) if (reply:REST-HTTP-Status-Code == "200") -> TRUE
(3973) if (reply:REST-HTTP-Status-Code == "200") {
(3973) if (reply:REST-HTTP-Body == "[]") {
(3973) if (reply:REST-HTTP-Body == "[]") -> FALSE
(3973) else {
(3973) policy accept {
(3973) update control {
(3973) &Response-Packet-Type = Access-Accept
(3973) } # update control = noop
(3973) [handled] = handled
(3973) } # policy accept = handled
(3973) } # else = handled
(3973) } # if (reply:REST-HTTP-Status-Code == "200") = handled
(3973) } # if (Service-Type == Call-Check) = handled
(3973) } # authorize = handled
(3973) # Executing section post-auth from file /etc/freeradius/sites-enabled/default
Debug of a failing attempt:
(4245) if (Service-Type == Call-Check) {
(4245) if (Service-Type == Call-Check) -> TRUE
(4245) if (Service-Type == Call-Check) {
(4245) switch &Called-Station-SSID {
(4245) case zmkbern-DEV {
(4245) update request {
(4245) &locMacAuth-IP-Subnet := "172.25.8.0/21"
(4245) } # update request = noop
rlm_rest (rest): Reserved connection (40)
(4245) rest: Expanding URI components
(4245) rest: EXPAND https://gridmaster.domain.xy <https://gridmaster.domain.xy/>
(4245) rest: --> https://gridmaster.domain.xy <https://gridmaster.domain.xy/>
(4245) rest: EXPAND /wapi/v2.11.3/record:host?network=%{locMacAuth-IP-Subnet}&mac=%{tolower:%{request:locMacAuth-Calling-Station-Id}}
(4245) rest: --> /wapi/v2.11.3/record:host?network=172.25.8.0%2F21&mac=a1%3Ab2%3Ac3%3Ad4%3Ae5%3Af6
(4245) rest: Sending HTTP GET to https://gridmaster.domain.xy/wapi/v2.11.3/record:host?network=172.25.8.0%2F…
(4245) rest: EXPAND id_svcinfobloxro_prod
(4245) rest: --> id_svcinfobloxro_prod
(4245) rest: EXPAND c1K25E9MyrXLC6fCyZ
(4245) rest: --> c1K25E9MyrXLC6fCyZ
(4245) rest: Processing response header
(4245) rest: Status : 403 (Forbidden)
(4245) rest: Type : html (text/html)
(4245) rest: Adding reply:REST-HTTP-Status-Code = "403"
(4245) rest: ERROR: Server returned:
(4245) rest: ERROR: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
(4245) rest: ERROR: <html><head>
(4245) rest: ERROR: <title>403 Forbidden</title>
(4245) rest: ERROR: </head><body>
(4245) rest: ERROR: <h1>Forbidden</h1>
(4245) rest: ERROR: <p>You don't have permission to access this resource.</p>
(4245) rest: ERROR: </body></html>
rlm_rest (rest): Released connection (40)
Need more connections to reach 10 spares
rlm_rest (rest): Opening additional connection (45), 1 of 26 pending slots used
rlm_rest (rest): Connecting to https://gridmaster.domain.xy <https://gridmaster.domain.xy/>
(4245) [rest] = userlock
(4245) } # case zmkbern-DEV = userlock
(4245) } # switch &Called-Station-SSID = userlock
(4245) } # if (Service-Type == Call-Check) = userlock
(4245) } # authorize = userlock
(4245) Invalid user (Failed retrieving values required to evaluate condition): [<no User-Name attribute>] (from client localhost port 0 cli A1-B2-C3-D4-E5-F6)
(4245) Using Post-Auth-Type Reject
(4245) # Executing group from file /etc/freeradius/sites-enabled/default
(4245) Post-Auth-Type REJECT {
(4245) attr_filter.access_reject: EXPAND %{User-Name}
(4245) attr_filter.access_reject: -->
(4245) [attr_filter.access_reject] = noop
(4245) [eap] = noop
(4245) policy remove_reply_message_if_eap {
(4245) if (&reply:EAP-Message && &reply:Reply-Message) {
(4245) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE
(4245) else {
(4245) [noop] = noop
(4245) } # else = noop
(4245) } # policy remove_reply_message_if_eap = noop
(4245) if (Service-Type == Call-Check) {
(4245) if (Service-Type == Call-Check) -> TRUE
(4245) if (Service-Type == Call-Check) {
I also get the following debug output from time to time in correspondance to this rest module call:
rlm_rest (rest): Released connection (0)
Need more connections to reach 10 spares
rlm_rest (rest): Opening additional connection (11), 1 of 28 pending slots used
rlm_rest (rest): Connecting to https://gridmaster.domiain.xy <https://gridmaster.domiain.xy/>
rlm_rest (rest): Closing expired connection (10) - Hit idle_timeout limit
rlm_rest (rest): Closing expired connection (9) - Hit idle_timeout limit
rlm_rest (rest): You probably need to lower "min"
rlm_rest (rest): Closing expired connection (8) - Hit idle_timeout limit
(988) [rest] = userlock
(988) } # case zmkbern-DEV = userlock
(988) } # switch &Called-Station-SSID = userlock
(988) } # if (Service-Type == Call-Check) = userlock
(988) } # authorize = userlock
As I don’t really understand the rest / threading part, any help is welcome.
Regards
Dominic
1
0
03 Apr '25
Hi everybody
Recently, I upgraded from FreeRADIUS 3.2.6 to 3.2.7. I implemented a rest module call to our IPAM (Infoblox) on version 3.2.6. The rest module call is still in «evaluation» and was not used in production, that’s why it is not used frequently and I was not forced to troubleshoot the problem before.
But know I would need some help:
1. the rest module call to our IPAM (Infoblox) was working fine in FR 3.2.6.
2. The goal is to check, if a client with a given mac address (Calling-Station-Id) is listed in a given IP subnet on Infoblox, additionally to the 802.1x (PEAP) authentication on the given SSID
a) if yes (REST-HTTP-Status-Code = 200 and REST-HTTP-Body != []), then return an ACCESS-ACCEPT
b) if not (REST-HTTP-Status-Code != 200 or REST-HTTP-Body == []), then return an ACCESS-REJECT
As I stated above, it worked on FR 3.2.6, but since upgrading to 3.2.7, it SOMETIMES still works, but most of the time it DOESN’T and it returns a HTTP status code of 403 («Forbidden»). Stangely, I never get a HTTP status code of 403 with the exact same user credentials while trying the same API call in Postman:
[
{
"_ref": "record:host/ZG5zLmhvc3QkLl9kZWZhdWx0LmNoLnVuaWJlLnptay5wcnRnLXByb2JlLWZyZWVycmFkaXVzLXpta2Jlcm4:prtg-probe-freerradius-zmkbern.zmk.unibe.ch/default",
"ipv4addrs": [
{
"_ref": "record:host_ipv4addr/ZG5zLmhvc3RfYWRkcmVzcyQuX2RlZmF1bHQuY2gudW5pYmUuem1rLnBydGctcHJvYmUtZnJlZXJyYWRpdXMtem1rYmVybi4xNzIuMjUuOC4xMC4:172.25.8.10/prtg-probe-freerradius-zmkbern.zmk.unibe.ch/default",
"configure_for_dhcp": true,
"host": "prtg-probe-freerradius-zmkbern.zmk.unibe.ch",
"ipv4addr": "172.25.8.10",
"mac": "a1:b2:c3:d4:e5:f6"
}
],
"name": "prtg-probe-freeradius-ssid.domain.xy",
"view": "default"
}
]
Debug output of a working attempt (if you need the whole debug output, please let me know):
(3973) if (Service-Type == Call-Check) {
(3973) if (Service-Type == Call-Check) -> TRUE
(3973) if (Service-Type == Call-Check) {
(3973) switch &Called-Station-SSID {
(3973) case zmkbern-DEV {
(3973) update request {
(3973) &locMacAuth-IP-Subnet := "172.25.8.0/21"
(3973) } # update request = noop
rlm_rest (rest): Reserved connection (38)
(3973) rest: Expanding URI components
(3973) rest: EXPAND https://gridmaster.domain.xy
(3973) rest: --> https://gridmaster.domain.xy
(3973) rest: EXPAND /wapi/v2.11.3/record:host?network=%{locMacAuth-IP-Subnet}&mac=%{tolower:%{request:locMacAuth-Calling-Station-Id}}
(3973) rest: --> /wapi/v2.11.3/record:host?network=172.25.8.0%2F21&mac=a1%3Ab2%3Ac3%3Ad4%3Ae5%3Af6
(3973) rest: Sending HTTP GET to https://gridmaster.domain.xy/wapi/v2.11.3/record:host?network=172.25.8.0%2F…
(3973) rest: EXPAND id_svcinfobloxro_prod
(3973) rest: --> id_svcinfobloxro_prod
(3973) rest: EXPAND c1K25E9MyrXLC6fCyZ
(3973) rest: --> c1K25E9MyrXLC6fCyZ
(3973) rest: Processing response header
(3973) rest: Status : 200 (OK)
(3973) rest: Type : json (application/json)
(3973) rest: Adding reply:REST-HTTP-Status-Code = "200"
(3973) rest: Adding reply:REST-HTTP-Body += "[ { "_ref": "record:host/ZG5zLmhvc3QkLl9kZWZhdWx0LmNoLnVuaWJlLnptay5wcnRnLXByb2JlLWZyZWVycmFkaXVzLXpta2Jlcm4:prtg-probe-freerradius-zmkbern.zmk.unibe.ch/default", "ipv4addrs": [ { "_ref": "record:host_ipv4addr/ZG5zLmhvc3RfYWRkcmVzcyQuX2RlZmF1bHQuY2gudW5pYmUuem1rLnBydGctcHJvYmUtZnJlZXJyYWRpdXMtem1rYmVybi4xNzIuMjUuOC4xMC4:172.25.8.10/prtg-probe-freerradius-zmkbern.zmk.unibe.ch/default", "configure_for_dhcp": true, "host": "prtg-probe-freerradius-zmkbern.zmk.unibe.ch", "ipv4addr": "172.25.8.10", "mac": "a1:b2:c3:d4:e5:f6" } ], "name": "prtg-probe-freerradius-zmkbern.zmk.unibe.ch", "view": "default" } ]"
rlm_rest (rest): Released connection (38)
Need more connections to reach 10 spares
rlm_rest (rest): Opening additional connection (40), 1 of 29 pending slots used
rlm_rest (rest): Connecting to https://gridmaster.domain.xy
rlm_rest (rest): Closing expired connection (39) - Hit idle_timeout limit
rlm_rest (rest): You probably need to lower "min"
rlm_rest (rest): Closing expired connection (35) - Hit idle_timeout limit
(3973) [rest] = updated
(3973) } # case zmkbern-DEV = updated
(3973) } # switch &Called-Station-SSID = updated
(3973) if (reply:REST-HTTP-Status-Code == "200") {
(3973) if (reply:REST-HTTP-Status-Code == "200") -> TRUE
(3973) if (reply:REST-HTTP-Status-Code == "200") {
(3973) if (reply:REST-HTTP-Body == "[]") {
(3973) if (reply:REST-HTTP-Body == "[]") -> FALSE
(3973) else {
(3973) policy accept {
(3973) update control {
(3973) &Response-Packet-Type = Access-Accept
(3973) } # update control = noop
(3973) [handled] = handled
(3973) } # policy accept = handled
(3973) } # else = handled
(3973) } # if (reply:REST-HTTP-Status-Code == "200") = handled
(3973) } # if (Service-Type == Call-Check) = handled
(3973) } # authorize = handled
(3973) # Executing section post-auth from file /etc/freeradius/sites-enabled/default
Debug of a failing attempt:
(4245) if (Service-Type == Call-Check) {
(4245) if (Service-Type == Call-Check) -> TRUE
(4245) if (Service-Type == Call-Check) {
(4245) switch &Called-Station-SSID {
(4245) case zmkbern-DEV {
(4245) update request {
(4245) &locMacAuth-IP-Subnet := "172.25.8.0/21"
(4245) } # update request = noop
rlm_rest (rest): Reserved connection (40)
(4245) rest: Expanding URI components
(4245) rest: EXPAND https://gridmaster.domain.xy
(4245) rest: --> https://gridmaster.domain.xy
(4245) rest: EXPAND /wapi/v2.11.3/record:host?network=%{locMacAuth-IP-Subnet}&mac=%{tolower:%{request:locMacAuth-Calling-Station-Id}}
(4245) rest: --> /wapi/v2.11.3/record:host?network=172.25.8.0%2F21&mac=a1%3Ab2%3Ac3%3Ad4%3Ae5%3Af6
(4245) rest: Sending HTTP GET to https://gridmaster.domain.xy/wapi/v2.11.3/record:host?network=172.25.8.0%2F…
(4245) rest: EXPAND id_svcinfobloxro_prod
(4245) rest: --> id_svcinfobloxro_prod
(4245) rest: EXPAND c1K25E9MyrXLC6fCyZ
(4245) rest: --> c1K25E9MyrXLC6fCyZ
(4245) rest: Processing response header
(4245) rest: Status : 403 (Forbidden)
(4245) rest: Type : html (text/html)
(4245) rest: Adding reply:REST-HTTP-Status-Code = "403"
(4245) rest: ERROR: Server returned:
(4245) rest: ERROR: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
(4245) rest: ERROR: <html><head>
(4245) rest: ERROR: <title>403 Forbidden</title>
(4245) rest: ERROR: </head><body>
(4245) rest: ERROR: <h1>Forbidden</h1>
(4245) rest: ERROR: <p>You don't have permission to access this resource.</p>
(4245) rest: ERROR: </body></html>
rlm_rest (rest): Released connection (40)
Need more connections to reach 10 spares
rlm_rest (rest): Opening additional connection (45), 1 of 26 pending slots used
rlm_rest (rest): Connecting to https://gridmaster.domain.xy
(4245) [rest] = userlock
(4245) } # case zmkbern-DEV = userlock
(4245) } # switch &Called-Station-SSID = userlock
(4245) } # if (Service-Type == Call-Check) = userlock
(4245) } # authorize = userlock
(4245) Invalid user (Failed retrieving values required to evaluate condition): [<no User-Name attribute>] (from client localhost port 0 cli A1-B2-C3-D4-E5-F6)
(4245) Using Post-Auth-Type Reject
(4245) # Executing group from file /etc/freeradius/sites-enabled/default
(4245) Post-Auth-Type REJECT {
(4245) attr_filter.access_reject: EXPAND %{User-Name}
(4245) attr_filter.access_reject: -->
(4245) [attr_filter.access_reject] = noop
(4245) [eap] = noop
(4245) policy remove_reply_message_if_eap {
(4245) if (&reply:EAP-Message && &reply:Reply-Message) {
(4245) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE
(4245) else {
(4245) [noop] = noop
(4245) } # else = noop
(4245) } # policy remove_reply_message_if_eap = noop
(4245) if (Service-Type == Call-Check) {
(4245) if (Service-Type == Call-Check) -> TRUE
(4245) if (Service-Type == Call-Check) {
I also get the following debug output from time to time in correspondance to this rest module call:
rlm_rest (rest): Released connection (0)
Need more connections to reach 10 spares
rlm_rest (rest): Opening additional connection (11), 1 of 28 pending slots used
rlm_rest (rest): Connecting to https://gridmaster.domiain.xy
rlm_rest (rest): Closing expired connection (10) - Hit idle_timeout limit
rlm_rest (rest): Closing expired connection (9) - Hit idle_timeout limit
rlm_rest (rest): You probably need to lower "min"
rlm_rest (rest): Closing expired connection (8) - Hit idle_timeout limit
(988) [rest] = userlock
(988) } # case zmkbern-DEV = userlock
(988) } # switch &Called-Station-SSID = userlock
(988) } # if (Service-Type == Call-Check) = userlock
(988) } # authorize = userlock
As I don’t really understand the rest / threading part, any help is welcome.
Regards
Dominic
_________________________________
Universität Bern
Abteilung Informatikdienste
Dominic Stalder
Network Engineer
Hochschulstrasse 6
CH-3012 Bern
Tel. +41 (0)31 684 38 18
dominic.stalder(a)unibe.ch<mailto:dominic.stalder@unibe.ch>
www.id.unibe.ch
_________________________________
1
0