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
- 10 participants
- 27050 discussions
Hello Team,
Do we have to enable anything in the bridge interface in Linux for
processing EAPOL packets ? Currently the bridge in my setup cannot
detect EAPOL packets. However the DSA lan ports are able to detect.
The bridge interface contains the lan ports.
Regards
Simon
3
8
Hello,
I developed a Bash script to automate the installation and configuration of
open-source software (i.e., launchpad.net/linuxha) I want to make sure the
syntax of this script is perfect so I can use it as a teaching tool to
educate people about Linux.
I need to know if there is anything misconfigured with my FreeRADIUS syntax.
If you find a bug in LinuxHA, please submit a bug report to
bugs.launchpad.net/linuxha/+filebug.
Kind regards,
Travis Bean
1
0
20 Apr '25
Hello,
As said on the other thread, I’m trying to use RadSec to provide EAP-TLS authentication for remote site. I’m mainly a NPS user during last years, it’s been a while since I haven’t used Freeradius.
I’m a little bit lost in the set of configuration to do here, especially since some parts seems redundant between RadSec and EAP-TLS.
Especially, I will have different intermediate certificates authority to authenticate access points on one side and wireless client on the other.
Also, the configuration for EAP-TLS will need to be PKI based only (authenticate and authorize if certificate based authentication works and if the certificate is not revoked). No per-user authorization expected, and the FreeRadius server is expected to not know the list of valid users, solely relying on PKI for that.
So if someone can lead me to a clean article about the use of RadSec + EAP-TLS in FreeRadius, or if someone can take the time to explain it to me, I’m really interested.
Thanks a lot
4
8
I'm using MAC address authentication against a FreeRADIUS Version 3.0.20 (RHEL8) server. My WLAN controller sends the MAC in the format 2c-7b-a0-2f-bb-f1 but FR seems to convert it to 2c7ba02fbbf1. My SQL database has the MACs in the 2c-7b-a0-2f-bb-f1 format. I added this to sites-enabled/default in the authorize section. I've tried many formats but can't seem to get it right. Can it be fixed or am I crazy and should just update the database with the expected format?
# Check if User-Name is a MAC address in the correct format
if ("%{User-Name}" =~ /^([0-9A-Fa-f:-]{12,17})$/) {
update request {
# Convert to lowercase (optional)
Tmp-String-0 := "%{tolower:%{User-Name}}"
# Remove non-alphanumeric characters (colons, dashes) using expr
Tmp-String-1 := "%{expr:%{Tmp-String-0}:s/[-:]//g}"
# Assign cleaned MAC address to User-Name
User-Name := "%{Tmp-String-1}"
}
}
The debug output is:
(0) suffix: Checking for suffix after "@"
(0) suffix: No '@' in User-Name = "2c7ba02fbbf1", looking up realm NULL
(0) suffix: No such realm "NULL"
(0) [suffix] = noop
(0) if ("%{User-Name}" =~ /^([0-9A-Fa-f:-]{12,17})$/) {
(0) EXPAND %{User-Name}
(0) --> 2c7ba02fbbf1
(0) if ("%{User-Name}" =~ /^([0-9A-Fa-f:-]{12,17})$/) -> TRUE
(0) if ("%{User-Name}" =~ /^([0-9A-Fa-f:-]{12,17})$/) {
(0) update request {
(0) EXPAND %{tolower:%{User-Name}}
(0) --> 2c7ba02fbbf1
(0) Tmp-String-0 := 2c7ba02fbbf1
(0) Expected operator at "c7ba02fbbf1:s/[-:]//g"
(0) EXPAND %{expr:%{Tmp-String-0}:s/[-:]//g}
(0) -->
(0) Tmp-String-1 :=
(0) EXPAND %{Tmp-String-1}
(0) -->
(0) User-Name :=
(0) } # update request = noop
(0) } # if ("%{User-Name}" =~ /^([0-9A-Fa-f:-]{12,17})$/) = noop
(0) eap: No EAP-Message, not doing EAP
(0) [eap] = noop
(0) [files] = noop
(0) sql: EXPAND %{User-Name}
-Mike
2
1
Hello,
I’m looking at the following Radsec documentation for FreeRadius and I’m lacking some details, maybe someone here can share some guidance?
https://www.freeradius.org/documentation/freeradius-server/3.2.8/howto/prot…
My goal here is to simplify the use of FreeRadius by solely relying on Certificate Based Authentication for the client, and so, finding a way to configure FreeRadius to accept all client, regardless of their IP, if they can authenticate with a certificate coming from a specific PKI and that is currently not revoked in the PKI’s CRL.
My goal here is to easily provide Cloud Radius for remote network who might by on non static IP address or behind CG-NAT.
Best regards
Yoann
2
1
17 Apr '25
Hi guys
I know, there is a documentation page about RadSec: https://www.freeradius.org/documentation/freeradius-server/3.2.8/howto/prot…
But I have some general questions about the RadSec implementation on FR 3.2.x, which I think are not answered in the above documentation page:
1. When I want to proxy RADIUS requests to other RADIUS servers over RadSec (TLS/2083):
a) do I have to configure the home servers in /etc/freeradius/sites-enabled/tls as well, only in the tls file or only in the proxy.conf?
--> I did a test with configuring them only in /etc/freeradius/proxy.conf and the requests were proxied over TLS/2083 to the configured RADIUS proxy servers:
home_server xyz-TLS {
type = auth+acct
ipaddr = 1.2.3.4
proto = tcp
port = 2083
secret = radsec
tls {
private_key_file = ${certdir}/radsec.key
certificate_file = ${certdir}/radsec.pem
ca_file = ${cadir}/radsec-ca.pem
fragment_size = 8192
}
response_window = 20
zombie_period = 40
status_check = status-server
check_interval = 30
num_answers_to_alive = 3
}
b) what about a mixed deployment, where some of the RADIUS proxy / home servers are accessed over RADIUS (UDP/1812) and some others are access over RadSec (TCP/2083)?
2. When I want to answer RADIUS requests from other RADIUS proxy servers over RadSec (TCP/2083):
a) do I have to configure the clients in /etc/freeradius/sites-enabled/tls as well or only in the tls file? If only in the tls file, I can remove them from the clients.conf file, correct?
b) same as 1.a), what about a mixed deployment; some RADIUS clients are RADIUS (UDP/1812), some are RadSec (TCP/2083)?
Thanks and 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
_________________________________
2
4
Hi,
Which method is better performance to limit for concurrent logins per
user, Simultaneous-Use checking or checkrad?
Since simultaneus-use check performs "select count(*) .." for each
session in query.conf, it causes performance loss in db. Which method is
suitable for the least performance loss?
Also, the NAS we use (Huawei-BNG) is not included in the NAS types list
on the checkrad man-page.
The Freeradius version is 3.0.20.
Regards
--
Can Paçacı
2
1
I am trying a simple TOTP authentication with the TOTP module. The idea is
that the user only has to enter the OTP via Radius and is authenticated.
Freeradius starts but the authentication does not work. See below config
and output.
Thanks itdeb
############################################################################
#clients.conf File
client pc1 {
ipaddr = 192.168.65.161
secret = testing12345
}
#users File
bw TOTP-Secret := "JBSWY3DPEHPK3PXP"
#default File
Auth-Type CHAP {
totp
}
#totp File
totp {
time_step = 30
otp_length = 6
lookback_steps = 1
lookback_interval = 30
}
############################################################################
############################################################################
Ready to process requests
(0) Received Access-Request Id 23 from 192.168.65.161:60716 to
192.168.65.160:1812 length 72
(0) NAS-Identifier = "vncserver"
(0) User-Name = "bw"
(0) CHAP-Password = 0x00549ccaa7d52c08fd1655bce475bdd1d9
(0) Message-Authenticator = 0x30156802c7f5b5504b3d1fdd42943c0b
(0) # Executing section authorize from file
/etc/freeradius/3.0/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: &control:Auth-Type := CHAP
(0) [chap] = ok
(0) [mschap] = noop
(0) [digest] = noop
(0) suffix: Checking for suffix after "@"
(0) suffix: No '@' in User-Name = "bw", looking up realm NULL
(0) suffix: No such realm "NULL"
(0) [suffix] = noop
(0) eap: No EAP-Message, not doing EAP
(0) [eap] = noop
(0) files: users: Matched entry bw at line 1
(0) [files] = ok
(0) [expiration] = noop
(0) [logintime] = noop
Not doing PAP as Auth-Type is already set.
(0) [pap] = noop
(0) } # authorize = ok
(0) Found Auth-Type = CHAP
(0) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(0) Auth-Type CHAP {
(0) [totp] = noop
(0) } # Auth-Type CHAP = noop
(0) Failed to authenticate the user
(0) Using Post-Auth-Type Reject
(0) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(0) Post-Auth-Type REJECT {
(0) attr_filter.access_reject: EXPAND %{User-Name}
(0) attr_filter.access_reject: --> bw
(0) attr_filter.access_reject: Matched entry DEFAULT at line 11
(0) [attr_filter.access_reject] = updated
(0) [eap] = noop
(0) policy remove_reply_message_if_eap {
(0) if (&reply:EAP-Message && &reply:Reply-Message) {
(0) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE
(0) else {
(0) [noop] = noop
(0) } # else = noop
(0) } # policy remove_reply_message_if_eap = noop
(0) } # Post-Auth-Type REJECT = updated
(0) Delaying response for 1.000000 seconds
Waking up in 0.3 seconds.
Waking up in 0.6 seconds.
(0) Sending delayed response
(0) Sent Access-Reject Id 23 from 192.168.65.160:1812 to
192.168.65.161:60716 length 20
Waking up in 3.9 seconds.
(0) Sending duplicate reply to client pc1 port 60716 - ID: 23
Waking up in 8.9 seconds.
(0) Cleaning up request packet ID 23 with timestamp +34 due to
cleanup_delay was reached
Ready to process requests
############################################################################
2
11
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