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
June 2024
- 29 participants
- 29 discussions
As we're working to finalize v4 (real soon now!) one question which came up is MongDB.
The Mongo team is currently looking into creating a fully async API for Mongo. We would need to use this in v4 in order to increase scalability. If we don't have such an API, then the Mongo drivers would be significantly slower than other databases.
Their forum as a poll available at: https://feedback.mongodb.com/forums/924286-drivers/suggestions/47080057-asy…
If you're interested in using Mongo with FreeRADIUS please vote on that page for their async API.
Alan DeKok.
5
7
All,
I've got authentication working nicely with MSCHAP, but now I'd like to
only allow users that are members of a certain AD group.
I would prefer to have this happen only when requests come from a
specific client (wireless access point). In this case the idea is to
have users only be able to get wireless access when they're in a
specific AD group.
How can I do this in freeradius?
Thanks,
Brian
7
18
03 Jan '25
Hi there,
I want to make some additional checks for RadSec connections.
After I’ve set `check_client_connections` to `yes`, the server is handling the connection over the auth type "Autz-Type New-TLS-Connection”. So far so good but after the connection has accepted, no further traffic is reaching the radius server.
I can see in packet captures that Access-Requests are send to the server and on the server netstat is also showing that packets are going to the socket which FreeRADIUS opens but only the queue is getting higher and never processed.
After seeing this behaviour, of course also tested the behaviour with the default config. Just enabled tls, changed the `check_client_connections` and added a ip wildcard to the radsec clients.
Since I haven’t found any open GitHub issue or something on this list I assume either no one is using the functionality or there is something I’ve overlooked.
The radius server is running as docker container but that shouldn't make any difference.
Output from $ netstat -apc:
```
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node PID/Program name Path
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:2083 0.0.0.0:* LISTEN 61/radiusd
tcp 468 0 ae7fb3711088:2083 192.168.215.1:19729 ESTABLISHED 61/radiusd
udp 0 0 0.0.0.0:45552 0.0.0.0:* 61/radiusd
udp 0 0 localhost:18120 0.0.0.0:* 61/radiusd
udp 0 0 0.0.0.0:radius 0.0.0.0:* 61/radiusd
udp 0 0 0.0.0.0:radius-acct 0.0.0.0:* 61/radiusd
udp6 0 0 [::]:radius [::]:* 61/radiusd
udp6 0 0 [::]:radius-acct [::]:* 61/radiusd
udp6 0 0 [::]:52860 [::]:* 61/radiusd
```
FreeRADIUS debug log:
FreeRADIUS Version 3.2.4
Copyright (C) 1999-2023 The FreeRADIUS server project and contributors
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE
You may redistribute copies of FreeRADIUS under the terms of the
GNU General Public License
For more information about these matters, see the file named COPYRIGHT
Starting - reading configuration files ...
including dictionary file /usr/local/share/freeradius/dictionary
including dictionary file /usr/local/share/freeradius/dictionary.dhcp
including dictionary file /usr/local/share/freeradius/dictionary.vqp
including dictionary file /usr/local/etc/raddb/dictionary
including configuration file /usr/local/etc/raddb/radiusd.conf
including configuration file /usr/local/etc/raddb/proxy.conf
including configuration file /usr/local/etc/raddb/clients.conf
including files in directory /usr/local/etc/raddb/mods-enabled/
including configuration file /usr/local/etc/raddb/mods-enabled/always
including configuration file /usr/local/etc/raddb/mods-enabled/attr_filter
including configuration file /usr/local/etc/raddb/mods-enabled/chap
including configuration file /usr/local/etc/raddb/mods-enabled/date
including configuration file /usr/local/etc/raddb/mods-enabled/detail
including configuration file /usr/local/etc/raddb/mods-enabled/detail.log
including configuration file /usr/local/etc/raddb/mods-enabled/digest
including configuration file /usr/local/etc/raddb/mods-enabled/dynamic_clients
including configuration file /usr/local/etc/raddb/mods-enabled/eap
including configuration file /usr/local/etc/raddb/mods-enabled/echo
including configuration file /usr/local/etc/raddb/mods-enabled/exec
including configuration file /usr/local/etc/raddb/mods-enabled/expiration
including configuration file /usr/local/etc/raddb/mods-enabled/expr
including configuration file /usr/local/etc/raddb/mods-enabled/files
including configuration file /usr/local/etc/raddb/mods-enabled/linelog
including configuration file /usr/local/etc/raddb/mods-enabled/logintime
including configuration file /usr/local/etc/raddb/mods-enabled/mschap
including configuration file /usr/local/etc/raddb/mods-enabled/ntlm_auth
including configuration file /usr/local/etc/raddb/mods-enabled/pap
including configuration file /usr/local/etc/raddb/mods-enabled/passwd
including configuration file /usr/local/etc/raddb/mods-enabled/preprocess
including configuration file /usr/local/etc/raddb/mods-enabled/radutmp
including configuration file /usr/local/etc/raddb/mods-enabled/realm
including configuration file /usr/local/etc/raddb/mods-enabled/replicate
including configuration file /usr/local/etc/raddb/mods-enabled/soh
including configuration file /usr/local/etc/raddb/mods-enabled/sradutmp
including configuration file /usr/local/etc/raddb/mods-enabled/totp
including configuration file /usr/local/etc/raddb/mods-enabled/unix
including configuration file /usr/local/etc/raddb/mods-enabled/unpack
including configuration file /usr/local/etc/raddb/mods-enabled/utf8
including files in directory /usr/local/etc/raddb/policy.d/
including configuration file /usr/local/etc/raddb/policy.d/abfab-tr
including configuration file /usr/local/etc/raddb/policy.d/accounting
including configuration file /usr/local/etc/raddb/policy.d/canonicalization
including configuration file /usr/local/etc/raddb/policy.d/control
including configuration file /usr/local/etc/raddb/policy.d/cui
including configuration file /usr/local/etc/raddb/policy.d/debug
including configuration file /usr/local/etc/raddb/policy.d/dhcp
including configuration file /usr/local/etc/raddb/policy.d/eap
including configuration file /usr/local/etc/raddb/policy.d/filter
including configuration file /usr/local/etc/raddb/policy.d/moonshot-targeted-ids
including configuration file /usr/local/etc/raddb/policy.d/operator-name
including configuration file /usr/local/etc/raddb/policy.d/rfc7542
including files in directory /usr/local/etc/raddb/sites-enabled/
including configuration file /usr/local/etc/raddb/sites-enabled/default
including configuration file /usr/local/etc/raddb/sites-enabled/inner-tunnel
including configuration file /usr/local/etc/raddb/sites-enabled/tls
main {
security {
allow_core_dumps = no
}
name = "radiusd"
prefix = "/usr/local"
localstatedir = "/usr/local/var"
logdir = "/usr/local/var/log/radius"
run_dir = "/usr/local/var/run/radiusd"
}
main {
name = "radiusd"
prefix = "/usr/local"
localstatedir = "/usr/local/var"
sbindir = "/usr/local/sbin"
logdir = "/usr/local/var/log/radius"
run_dir = "/usr/local/var/run/radiusd"
libdir = "/usr/local/lib"
radacctdir = "/usr/local/var/log/radius/radacct"
hostname_lookups = no
max_request_time = 30
proxy_dedup_window = 1
cleanup_delay = 5
max_requests = 16384
postauth_client_lost = no
pidfile = "/usr/local/var/run/radiusd/radiusd.pid"
checkrad = "/usr/local/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
allow_vulnerable_openssl = "no"
}
}
radiusd: #### Loading Realms and Home Servers ####
proxy server {
retry_delay = 5
retry_count = 3
default_fallback = no
dead_time = 120
wake_all_if_all_dead = no
}
home_server localhost {
nonblock = no
ipaddr = 127.0.0.1
port = 1812
type = "auth"
secret = <<< secret >>>
response_window = 20.000000
response_timeouts = 1
max_outstanding = 65536
zombie_period = 40
status_check = "status-server"
ping_interval = 30
check_interval = 30
check_timeout = 4
num_answers_to_alive = 3
revive_interval = 120
limit {
max_connections = 16
max_requests = 0
lifetime = 0
idle_timeout = 0
}
coa {
irt = 2
mrt = 16
mrc = 5
mrd = 30
}
}
home_server tls {
nonblock = no
ipaddr = 127.0.0.1
port = 2083
type = "auth"
proto = "tcp"
secret = <<< secret >>>
response_window = 30.000000
response_timeouts = 1
max_outstanding = 65536
zombie_period = 40
status_check = "none"
ping_interval = 30
check_timeout = 4
num_answers_to_alive = 3
revive_interval = 300
limit {
max_connections = 16
max_requests = 0
lifetime = 0
idle_timeout = 0
}
coa {
irt = 2
mrt = 16
mrc = 5
mrd = 30
}
}
tls {
verify_depth = 0
ca_path = "/usr/local/etc/raddb/certs"
pem_file_type = yes
private_key_file = "/usr/local/etc/raddb/certs/client.pem"
certificate_file = "/usr/local/etc/raddb/certs/client.pem"
ca_file = "/usr/local/etc/raddb/certs/ca.pem"
private_key_password = <<< secret >>>
fragment_size = 8192
include_length = yes
check_crl = no
cipher_list = "DEFAULT"
ca_path_reload_interval = 0
ecdh_curve = "prime256v1"
tls_min_version = "1.2"
}
connect_timeout = 30
home_server_pool my_auth_failover {
type = fail-over
home_server = localhost
}
realm example.com {
auth_pool = my_auth_failover
}
realm LOCAL {
}
home_server_pool tls {
type = fail-over
home_server = tls
}
realm tls {
auth_pool = tls
}
radiusd: #### Loading Clients ####
client localhost {
ipaddr = 127.0.0.1
require_message_authenticator = no
secret = <<< secret >>>
nas_type = "other"
proto = "*"
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client localhost_ipv6 {
ipv6addr = ::1
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
Debugger not attached
# Creating Auth-Type = mschap
# Creating Auth-Type = digest
# Creating Auth-Type = eap
# Creating Auth-Type = PAP
# Creating Auth-Type = CHAP
# Creating Auth-Type = MS-CHAP
# Creating Autz-Type = New-TLS-Connection
radiusd: #### Instantiating modules ####
modules {
# Loaded module rlm_always
# Loading module "reject" from file /usr/local/etc/raddb/mods-enabled/always
always reject {
rcode = "reject"
simulcount = 0
mpp = no
}
# Loading module "fail" from file /usr/local/etc/raddb/mods-enabled/always
always fail {
rcode = "fail"
simulcount = 0
mpp = no
}
# Loading module "ok" from file /usr/local/etc/raddb/mods-enabled/always
always ok {
rcode = "ok"
simulcount = 0
mpp = no
}
# Loading module "handled" from file /usr/local/etc/raddb/mods-enabled/always
always handled {
rcode = "handled"
simulcount = 0
mpp = no
}
# Loading module "invalid" from file /usr/local/etc/raddb/mods-enabled/always
always invalid {
rcode = "invalid"
simulcount = 0
mpp = no
}
# Loading module "userlock" from file /usr/local/etc/raddb/mods-enabled/always
always userlock {
rcode = "userlock"
simulcount = 0
mpp = no
}
# Loading module "notfound" from file /usr/local/etc/raddb/mods-enabled/always
always notfound {
rcode = "notfound"
simulcount = 0
mpp = no
}
# Loading module "noop" from file /usr/local/etc/raddb/mods-enabled/always
always noop {
rcode = "noop"
simulcount = 0
mpp = no
}
# Loading module "updated" from file /usr/local/etc/raddb/mods-enabled/always
always updated {
rcode = "updated"
simulcount = 0
mpp = no
}
# Loaded module rlm_attr_filter
# Loading module "attr_filter.post-proxy" from file /usr/local/etc/raddb/mods-enabled/attr_filter
attr_filter attr_filter.post-proxy {
filename = "/usr/local/etc/raddb/mods-config/attr_filter/post-proxy"
key = "%{Realm}"
relaxed = no
}
# Loading module "attr_filter.pre-proxy" from file /usr/local/etc/raddb/mods-enabled/attr_filter
attr_filter attr_filter.pre-proxy {
filename = "/usr/local/etc/raddb/mods-config/attr_filter/pre-proxy"
key = "%{Realm}"
relaxed = no
}
# Loading module "attr_filter.access_reject" from file /usr/local/etc/raddb/mods-enabled/attr_filter
attr_filter attr_filter.access_reject {
filename = "/usr/local/etc/raddb/mods-config/attr_filter/access_reject"
key = "%{User-Name}"
relaxed = no
}
# Loading module "attr_filter.access_challenge" from file /usr/local/etc/raddb/mods-enabled/attr_filter
attr_filter attr_filter.access_challenge {
filename = "/usr/local/etc/raddb/mods-config/attr_filter/access_challenge"
key = "%{User-Name}"
relaxed = no
}
# Loading module "attr_filter.accounting_response" from file /usr/local/etc/raddb/mods-enabled/attr_filter
attr_filter attr_filter.accounting_response {
filename = "/usr/local/etc/raddb/mods-config/attr_filter/accounting_response"
key = "%{User-Name}"
relaxed = no
}
# Loading module "attr_filter.coa" from file /usr/local/etc/raddb/mods-enabled/attr_filter
attr_filter attr_filter.coa {
filename = "/usr/local/etc/raddb/mods-config/attr_filter/coa"
key = "%{User-Name}"
relaxed = no
}
# Loaded module rlm_chap
# Loading module "chap" from file /usr/local/etc/raddb/mods-enabled/chap
# Loaded module rlm_date
# Loading module "date" from file /usr/local/etc/raddb/mods-enabled/date
date {
format = "%b %e %Y %H:%M:%S %Z"
utc = no
}
# Loading module "wispr2date" from file /usr/local/etc/raddb/mods-enabled/date
date wispr2date {
format = "%Y-%m-%dT%H:%M:%S"
utc = no
}
# Loaded module rlm_detail
# Loading module "detail" from file /usr/local/etc/raddb/mods-enabled/detail
detail {
filename = "/usr/local/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 "auth_log" from file /usr/local/etc/raddb/mods-enabled/detail.log
detail auth_log {
filename = "/usr/local/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 /usr/local/etc/raddb/mods-enabled/detail.log
detail reply_log {
filename = "/usr/local/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 /usr/local/etc/raddb/mods-enabled/detail.log
detail pre_proxy_log {
filename = "/usr/local/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 /usr/local/etc/raddb/mods-enabled/detail.log
detail post_proxy_log {
filename = "/usr/local/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_digest
# Loading module "digest" from file /usr/local/etc/raddb/mods-enabled/digest
# Loaded module rlm_dynamic_clients
# Loading module "dynamic_clients" from file /usr/local/etc/raddb/mods-enabled/dynamic_clients
# Loaded module rlm_eap
# Loading module "eap" from file /usr/local/etc/raddb/mods-enabled/eap
eap {
default_eap_type = "md5"
timer_expire = 60
max_eap_type = 52
ignore_unknown_eap_types = no
cisco_accounting_username_bug = no
max_sessions = 16384
dedup_key = ""
}
# Loaded module rlm_exec
# Loading module "echo" from file /usr/local/etc/raddb/mods-enabled/echo
exec echo {
wait = yes
program = "/bin/echo %{User-Name}"
input_pairs = "request"
output_pairs = "reply"
shell_escape = yes
}
# Loading module "exec" from file /usr/local/etc/raddb/mods-enabled/exec
exec {
wait = no
input_pairs = "request"
shell_escape = yes
timeout = 10
}
# Loaded module rlm_expiration
# Loading module "expiration" from file /usr/local/etc/raddb/mods-enabled/expiration
# Loaded module rlm_expr
# Loading module "expr" from file /usr/local/etc/raddb/mods-enabled/expr
expr {
safe_characters = "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /äéöüàâæçèéêëîïôœùûüaÿÄÉÖÜßÀÂÆÇÈÉÊËÎÏÔŒÙÛÜŸ"
}
# Loaded module rlm_files
# Loading module "files" from file /usr/local/etc/raddb/mods-enabled/files
files {
filename = "/usr/local/etc/raddb/mods-config/files/authorize"
acctusersfile = "/usr/local/etc/raddb/mods-config/files/accounting"
preproxy_usersfile = "/usr/local/etc/raddb/mods-config/files/pre-proxy"
}
# Loaded module rlm_linelog
# Loading module "linelog" from file /usr/local/etc/raddb/mods-enabled/linelog
linelog {
filename = "/usr/local/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 /usr/local/etc/raddb/mods-enabled/linelog
linelog log_accounting {
filename = "/usr/local/var/log/radius/linelog-accounting"
escape_filenames = no
syslog_severity = "info"
permissions = 384
format = ""
reference = "Accounting-Request.%{%{Acct-Status-Type}:-unknown}"
}
# Loaded module rlm_logintime
# Loading module "logintime" from file /usr/local/etc/raddb/mods-enabled/logintime
logintime {
minimum_timeout = 60
}
# Loaded module rlm_mschap
# Loading module "mschap" from file /usr/local/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
}
# Loading module "ntlm_auth" from file /usr/local/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_pap
# Loading module "pap" from file /usr/local/etc/raddb/mods-enabled/pap
pap {
normalise = yes
}
# Loaded module rlm_passwd
# Loading module "etc_passwd" from file /usr/local/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_preprocess
# Loading module "preprocess" from file /usr/local/etc/raddb/mods-enabled/preprocess
preprocess {
huntgroups = "/usr/local/etc/raddb/mods-config/preprocess/huntgroups"
hints = "/usr/local/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_radutmp
# Loading module "radutmp" from file /usr/local/etc/raddb/mods-enabled/radutmp
radutmp {
filename = "/usr/local/var/log/radius/radutmp"
username = "%{User-Name}"
case_sensitive = yes
check_with_nas = yes
permissions = 384
caller_id = yes
}
# Loaded module rlm_realm
# Loading module "IPASS" from file /usr/local/etc/raddb/mods-enabled/realm
realm IPASS {
format = "prefix"
delimiter = "/"
ignore_default = no
ignore_null = no
}
# Loading module "suffix" from file /usr/local/etc/raddb/mods-enabled/realm
realm suffix {
format = "suffix"
delimiter = "@"
ignore_default = no
ignore_null = no
}
# Loading module "bangpath" from file /usr/local/etc/raddb/mods-enabled/realm
realm bangpath {
format = "prefix"
delimiter = "!"
ignore_default = no
ignore_null = no
}
# Loading module "realmpercent" from file /usr/local/etc/raddb/mods-enabled/realm
realm realmpercent {
format = "suffix"
delimiter = "%"
ignore_default = no
ignore_null = no
}
# Loading module "ntdomain" from file /usr/local/etc/raddb/mods-enabled/realm
realm ntdomain {
format = "prefix"
delimiter = "\"
ignore_default = no
ignore_null = no
}
# Loaded module rlm_replicate
# Loading module "replicate" from file /usr/local/etc/raddb/mods-enabled/replicate
# Loaded module rlm_soh
# Loading module "soh" from file /usr/local/etc/raddb/mods-enabled/soh
soh {
dhcp = yes
}
# Loading module "sradutmp" from file /usr/local/etc/raddb/mods-enabled/sradutmp
radutmp sradutmp {
filename = "/usr/local/var/log/radius/sradutmp"
username = "%{User-Name}"
case_sensitive = yes
check_with_nas = yes
permissions = 420
caller_id = no
}
# Loaded module rlm_totp
# Loading module "totp" from file /usr/local/etc/raddb/mods-enabled/totp
totp {
time_step = 30
otp_length = 8
lookback_steps = 1
lookback_interval = 30
}
# Loaded module rlm_unix
# Loading module "unix" from file /usr/local/etc/raddb/mods-enabled/unix
unix {
radwtmp = "/usr/local/var/log/radius/radwtmp"
}
Creating attribute Unix-Group
# Loaded module rlm_unpack
# Loading module "unpack" from file /usr/local/etc/raddb/mods-enabled/unpack
# Loaded module rlm_utf8
# Loading module "utf8" from file /usr/local/etc/raddb/mods-enabled/utf8
instantiate {
}
# Instantiating module "reject" from file /usr/local/etc/raddb/mods-enabled/always
# Instantiating module "fail" from file /usr/local/etc/raddb/mods-enabled/always
# Instantiating module "ok" from file /usr/local/etc/raddb/mods-enabled/always
# Instantiating module "handled" from file /usr/local/etc/raddb/mods-enabled/always
# Instantiating module "invalid" from file /usr/local/etc/raddb/mods-enabled/always
# Instantiating module "userlock" from file /usr/local/etc/raddb/mods-enabled/always
# Instantiating module "notfound" from file /usr/local/etc/raddb/mods-enabled/always
# Instantiating module "noop" from file /usr/local/etc/raddb/mods-enabled/always
# Instantiating module "updated" from file /usr/local/etc/raddb/mods-enabled/always
# Instantiating module "attr_filter.post-proxy" from file /usr/local/etc/raddb/mods-enabled/attr_filter
reading pairlist file /usr/local/etc/raddb/mods-config/attr_filter/post-proxy
# Instantiating module "attr_filter.pre-proxy" from file /usr/local/etc/raddb/mods-enabled/attr_filter
reading pairlist file /usr/local/etc/raddb/mods-config/attr_filter/pre-proxy
# Instantiating module "attr_filter.access_reject" from file /usr/local/etc/raddb/mods-enabled/attr_filter
reading pairlist file /usr/local/etc/raddb/mods-config/attr_filter/access_reject
# Instantiating module "attr_filter.access_challenge" from file /usr/local/etc/raddb/mods-enabled/attr_filter
reading pairlist file /usr/local/etc/raddb/mods-config/attr_filter/access_challenge
# Instantiating module "attr_filter.accounting_response" from file /usr/local/etc/raddb/mods-enabled/attr_filter
reading pairlist file /usr/local/etc/raddb/mods-config/attr_filter/accounting_response
# Instantiating module "attr_filter.coa" from file /usr/local/etc/raddb/mods-enabled/attr_filter
reading pairlist file /usr/local/etc/raddb/mods-config/attr_filter/coa
# Instantiating module "detail" from file /usr/local/etc/raddb/mods-enabled/detail
# Instantiating module "auth_log" from file /usr/local/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 /usr/local/etc/raddb/mods-enabled/detail.log
# Instantiating module "pre_proxy_log" from file /usr/local/etc/raddb/mods-enabled/detail.log
# Instantiating module "post_proxy_log" from file /usr/local/etc/raddb/mods-enabled/detail.log
# Instantiating module "eap" from file /usr/local/etc/raddb/mods-enabled/eap
# Linked to sub-module rlm_eap_md5
# Linked to sub-module rlm_eap_gtc
gtc {
challenge = "Password: "
auth_type = "PAP"
}
# Linked to sub-module rlm_eap_tls
tls {
tls = "tls-common"
}
tls-config tls-common {
verify_depth = 0
ca_path = "/usr/local/etc/raddb/certs"
pem_file_type = yes
private_key_file = "/usr/local/etc/raddb/certs/server.pem"
certificate_file = "/usr/local/etc/raddb/certs/server.pem"
ca_file = "/usr/local/etc/raddb/certs/ca.pem"
private_key_password = <<< secret >>>
fragment_size = 1024
include_length = yes
auto_chain = yes
check_crl = no
check_all_crl = no
ca_path_reload_interval = 0
cipher_list = "DEFAULT"
cipher_server_preference = no
reject_unknown_intermediate_ca = no
ecdh_curve = ""
tls_max_version = "1.2"
tls_min_version = "1.2"
cache {
enable = no
lifetime = 24
max_entries = 255
}
verify {
skip_if_ocsp_ok = no
}
ocsp {
enable = no
override_cert_url = yes
url = "http://127.0.0.1/ocsp/"
use_nonce = yes
timeout = 0
softfail = no
}
}
# Linked to sub-module rlm_eap_ttls
ttls {
tls = "tls-common"
default_eap_type = "md5"
copy_request_to_tunnel = no
use_tunneled_reply = no
virtual_server = "inner-tunnel"
include_length = yes
require_client_cert = no
}
tls: Using cached TLS configuration from previous invocation
# Linked to sub-module rlm_eap_peap
peap {
tls = "tls-common"
default_eap_type = "mschapv2"
copy_request_to_tunnel = no
use_tunneled_reply = no
proxy_tunneled_request_as_eap = yes
virtual_server = "inner-tunnel"
soh = no
require_client_cert = no
}
tls: Using cached TLS configuration from previous invocation
# Linked to sub-module rlm_eap_mschapv2
mschapv2 {
with_ntdomain_hack = no
send_error = no
}
# Instantiating module "expiration" from file /usr/local/etc/raddb/mods-enabled/expiration
# Instantiating module "files" from file /usr/local/etc/raddb/mods-enabled/files
reading pairlist file /usr/local/etc/raddb/mods-config/files/authorize
reading pairlist file /usr/local/etc/raddb/mods-config/files/accounting
reading pairlist file /usr/local/etc/raddb/mods-config/files/pre-proxy
# Instantiating module "linelog" from file /usr/local/etc/raddb/mods-enabled/linelog
# Instantiating module "log_accounting" from file /usr/local/etc/raddb/mods-enabled/linelog
# Instantiating module "logintime" from file /usr/local/etc/raddb/mods-enabled/logintime
# Instantiating module "mschap" from file /usr/local/etc/raddb/mods-enabled/mschap
rlm_mschap (mschap): using internal authentication
# Instantiating module "pap" from file /usr/local/etc/raddb/mods-enabled/pap
# Instantiating module "etc_passwd" from file /usr/local/etc/raddb/mods-enabled/passwd
rlm_passwd: nfields: 3 keyfield 0(User-Name) listable: no
# Instantiating module "preprocess" from file /usr/local/etc/raddb/mods-enabled/preprocess
reading pairlist file /usr/local/etc/raddb/mods-config/preprocess/huntgroups
reading pairlist file /usr/local/etc/raddb/mods-config/preprocess/hints
# Instantiating module "IPASS" from file /usr/local/etc/raddb/mods-enabled/realm
# Instantiating module "suffix" from file /usr/local/etc/raddb/mods-enabled/realm
# Instantiating module "bangpath" from file /usr/local/etc/raddb/mods-enabled/realm
# Instantiating module "realmpercent" from file /usr/local/etc/raddb/mods-enabled/realm
# Instantiating module "ntdomain" from file /usr/local/etc/raddb/mods-enabled/realm
# Instantiating module "totp" from file /usr/local/etc/raddb/mods-enabled/totp
} # modules
radiusd: #### Loading Virtual Servers ####
server { # from file /usr/local/etc/raddb/radiusd.conf
} # server
server default { # from file /usr/local/etc/raddb/sites-enabled/default
# Loading authenticate {...}
Compiling Auth-Type PAP for attr Auth-Type
Compiling Auth-Type CHAP for attr Auth-Type
Compiling Auth-Type MS-CHAP for attr Auth-Type
# Loading authorize {...}
Ignoring "sql" (see raddb/mods-available/README.rst)
Ignoring "ldap" (see raddb/mods-available/README.rst)
Compiling Autz-Type New-TLS-Connection for attr Autz-Type
# Loading preacct {...}
# Loading accounting {...}
# Loading post-proxy {...}
# Loading post-auth {...}
Compiling Post-Auth-Type REJECT for attr Post-Auth-Type
Compiling Post-Auth-Type Challenge for attr Post-Auth-Type
Compiling Post-Auth-Type Client-Lost for attr Post-Auth-Type
} # server default
server inner-tunnel { # from file /usr/local/etc/raddb/sites-enabled/inner-tunnel
# Loading authenticate {...}
Compiling Auth-Type PAP for attr Auth-Type
Compiling Auth-Type CHAP for attr Auth-Type
Compiling Auth-Type MS-CHAP for attr Auth-Type
# Loading authorize {...}
# Loading session {...}
# Loading post-proxy {...}
# Loading post-auth {...}
# Skipping contents of 'if' as it is always 'false' -- /usr/local/etc/raddb/sites-enabled/inner-tunnel:366
Compiling Post-Auth-Type REJECT for attr Post-Auth-Type
} # server inner-tunnel
thread pool {
start_servers = 5
max_servers = 32
min_spare_servers = 3
max_spare_servers = 10
max_requests_per_server = 0
cleanup_delay = 5
max_queue_size = 65536
auto_limit_acct = no
}
Thread spawned new child 1. Total threads in pool: 1
Thread spawned new child 2. Total threads in pool: 2
Thread spawned new child 3. Total threads in pool: 3
Thread 1 waiting to be assigned a request
Thread spawned new child 4. Total threads in pool: 4
Thread 3 waiting to be assigned a request
Thread 4 waiting to be assigned a request
Thread spawned new child 5. Total threads in pool: 5
Thread pool initialized
radiusd: #### Opening IP addresses and Ports ####
Thread 2 waiting to be assigned a request
Thread 5 waiting to be assigned a request
listen {
type = "auth+acct"
virtual_server = "default"
ipaddr = *
port = 2083
proto = "tcp"
tls {
verify_depth = 0
ca_path = "/usr/local/etc/raddb/certs"
pem_file_type = yes
private_key_file = "/usr/local/etc/raddb/certs/server.pem"
certificate_file = "/usr/local/etc/raddb/certs/server.pem"
ca_file = "/usr/local/etc/raddb/certs/ca.pem"
private_key_password = <<< secret >>>
fragment_size = 8192
include_length = yes
auto_chain = yes
check_crl = no
check_all_crl = no
ca_path_reload_interval = 3600
cipher_list = "DEFAULT"
cipher_server_preference = no
require_client_cert = yes
reject_unknown_intermediate_ca = no
ecdh_curve = "prime256v1"
tls_max_version = "1.3"
tls_min_version = "1.2"
cache {
enable = no
lifetime = 24
max_entries = 255
}
verify {
skip_if_ocsp_ok = no
}
ocsp {
enable = no
override_cert_url = no
use_nonce = yes
timeout = 0
softfail = no
}
}
check_client_connections = yes
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
clients = "radsec"
client 127.0.0.1 {
ipaddr = *
require_message_authenticator = no
secret = <<< secret >>>
proto = "tls"
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
}
listen {
type = "auth"
ipaddr = *
port = 0
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
listen {
type = "acct"
ipaddr = *
port = 0
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
listen {
type = "auth"
ipv6addr = ::
port = 0
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
listen {
type = "acct"
ipv6addr = ::
port = 0
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
listen {
type = "auth"
ipaddr = 127.0.0.1
port = 18120
}
Listening on auth+acct proto tcp address * port 2083 (TLS) bound to server default
Listening on auth address * port 1812 bound to server default
Listening on acct address * port 1813 bound to server default
Listening on auth address :: port 1812 bound to server default
Listening on acct address :: port 1813 bound to server default
Listening on auth address 127.0.0.1 port 18120 bound to server inner-tunnel
Listening on proxy address * port 45552
Listening on proxy address :: port 52860
Ready to process requests
... new connection request on TCP socket
Listening on auth+acct from client (192.168.215.1, 19729) -> (*, 2083, virtual-server=default)
Waking up in 0.4 seconds.
(0) (TLS) RADIUS/TLS -Initiating new session
(0) (TLS) RADIUS/TLS - Setting verify mode to require certificate from client
(0) (TLS) RADIUS/TLS - Handshake state - before SSL initialization
(0) (TLS) RADIUS/TLS - Handshake state - Server before SSL initialization
(0) (TLS) RADIUS/TLS - Handshake state - Server before SSL initialization
(0) (TLS) RADIUS/TLS - recv TLS 1.3 Handshake, ClientHello
(0) (TLS) RADIUS/TLS - Handshake state - Server SSLv3/TLS read client hello
(0) (TLS) RADIUS/TLS - send TLS 1.3 Handshake, ServerHello
(0) (TLS) RADIUS/TLS - Handshake state - Server SSLv3/TLS write server hello
(0) (TLS) RADIUS/TLS - send TLS 1.3 ChangeCipherSpec
(0) (TLS) RADIUS/TLS - Handshake state - Server SSLv3/TLS write change cipher spec
(0) (TLS) RADIUS/TLS - Handshake state - Server TLSv1.3 early data
(0) (TLS) RADIUS/TLS - Server : Need to read more data: TLSv1.3 early data
(0) (TLS) RADIUS/TLS - In Handshake Phase
Waking up in 0.4 seconds.
(0) (TLS) RADIUS/TLS - Handshake state - Server TLSv1.3 early data
(0) (TLS) RADIUS/TLS - recv TLS 1.3 Handshake, ClientHello
(0) (TLS) RADIUS/TLS - Handshake state - Server SSLv3/TLS read client hello
(0) (TLS) RADIUS/TLS - send TLS 1.3 Handshake, ServerHello
(0) (TLS) RADIUS/TLS - Handshake state - Server SSLv3/TLS write server hello
(0) (TLS) RADIUS/TLS - send TLS 1.3 Handshake, EncryptedExtensions
(0) (TLS) RADIUS/TLS - Handshake state - Server TLSv1.3 write encrypted extensions
(0) (TLS) RADIUS/TLS - send TLS 1.3 Handshake, CertificateRequest
(0) (TLS) RADIUS/TLS - Handshake state - Server SSLv3/TLS write certificate request
(0) (TLS) RADIUS/TLS - send TLS 1.3 Handshake, Certificate
(0) (TLS) RADIUS/TLS - Handshake state - Server SSLv3/TLS write certificate
(0) (TLS) RADIUS/TLS - send TLS 1.3 Handshake, CertificateVerify
(0) (TLS) RADIUS/TLS - Handshake state - Server TLSv1.3 write server certificate verify
(0) (TLS) RADIUS/TLS - send TLS 1.3 Handshake, Finished
(0) (TLS) RADIUS/TLS - Handshake state - Server SSLv3/TLS write finished
(0) (TLS) RADIUS/TLS - Handshake state - Server TLSv1.3 early data
(0) (TLS) RADIUS/TLS - Server : Need to read more data: TLSv1.3 early data
(0) (TLS) RADIUS/TLS - In Handshake Phase
Waking up in 0.4 seconds.
(0) (TLS) RADIUS/TLS - Handshake state - Server TLSv1.3 early data
(0) (TLS) RADIUS/TLS - recv TLS 1.3 Handshake, Certificate
(0) (TLS) RADIUS/TLS - Creating attributes from client certificate
(0) TLS-Client-Cert-Serial := "2aef75f0ea7f49c68b28781d7a6a2ff9"
(0) TLS-Client-Cert-Expiration := "340208105559Z"
(0) TLS-Client-Cert-Valid-Since := "240208104559Z"
(0) TLS-Client-Cert-Subject := "/CN=BoilerPlate"
(0) TLS-Client-Cert-Issuer := "/CN=BoilerPlate"
(0) TLS-Client-Cert-Common-Name := "BoilerPlate"
(0) TLS-Client-Cert-Subject-Alt-Name-Dns := "radius.BoilerPlate.net"
(0) TLS-Client-Cert-X509v3-Basic-Constraints += "CA:FALSE"
(0) TLS-Client-Cert-X509v3-Authority-Key-Identifier += "73:D2:45:9F:1A:5B:BB:04:31:0D:2B:52:A8:66:F9:72:EB:12:D1:54"
(0) TLS-Client-Cert-X509v3-Subject-Key-Identifier += "73:D2:45:9F:1A:5B:BB:04:31:0D:2B:52:A8:66:F9:72:EB:12:D1:54"
Certificate chain - 0 intermediate CA cert(s) untrusted
To forbid these certificates see 'reject_unknown_intermediate_ca'
(TLS) untrusted certificate with depth [0] subject name /CN=BoilerPlate
(0) (TLS) RADIUS/TLS - Handshake state - Server SSLv3/TLS read client certificate
(0) (TLS) RADIUS/TLS - recv TLS 1.3 Handshake, CertificateVerify
(0) (TLS) RADIUS/TLS - Handshake state - Server SSLv3/TLS read certificate verify
(0) (TLS) RADIUS/TLS - recv TLS 1.3 Handshake, Finished
(0) (TLS) RADIUS/TLS - Handshake state - Server SSLv3/TLS read finished
(0) (TLS) RADIUS/TLS - Handshake state - SSL negotiation finished successfully
(0) (TLS) RADIUS/TLS - Connection Established
(0) TLS-Session-Cipher-Suite = "TLS_AES_256_GCM_SHA384"
(0) TLS-Session-Version = "TLS 1.3"
(0) (TLS) RADIUS/TLS - Application data.
Threads: total/active/spare threads = 5/0/5
Waking up in 0.3 seconds.
Thread 5 got semaphore
Thread 5 handling request 0, (1 handled so far)
(0) (TLS) Checking connection to see if it is authorized.
(0) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(0) Autz-Type New-TLS-Connection {
(0) [ok] = ok
(0) } # Autz-Type New-TLS-Connection = ok
(0) (TLS) Connection is authorized
(0) Sent Access-Accept Id 4294967295 from 0.0.0.0:2083 to 192.168.215.1:19729 length 0
(0) Finished request
Thread 5 waiting to be assigned a request
Waking up in 4.5 seconds.
(0) Cleaning up request packet ID 4294967295 with timestamp +7 due to cleanup_delay was reached
Ready to process requests
BR,
Lineconnect
3
11
Can I use diffrent root CA certificates while dynamic loading certificate chains?
by James Fan 28 Oct '24
by James Fan 28 Oct '24
28 Oct '24
Hi, we have a case that, with multi-tenancy, there will be multiple CA
certificates in our FreeRadius server, so we need to load the certificate
chains dynamically. But when I use the statements below, I can't include
the CA certificates in the certificate files I set. The TLS-Session-Cert-File
looks like it is only for the server certificate and intermediate CA
certificates. Is there any chance of dynamic loading certificate chains
with root CA certificates? Thanks.
authenticate {
...
Auth-Type eap {
if ("%{unpack:&EAP-Message 4 byte}" == 1) {
update control {
TLS-Session-Cert-File := "${certdir}/realms/%{Realm}"
}
}
eap
}
...
}
4
8
26 Sep '24
Hi guys
A few weeks back, I used FreeRADIUS 3.0.26 on Ubuntu 22.04.4 LTS before upgrading to FreeRADIUS 3.2.4 (NetworkRADIUS packages). Everything works great so far, except two attributes are missing in our logs since then: TLS-Session-Version and TLS-Session-Cipher-Suite.
My /etc/freeradius/mods-available/linelog configuration looked like this on FreeRADIUS 3.0.x:
sp {
Access-Accept = "%t : AuthZ: (%I) Access-Accept: [%{%{reply:User-Name}:-%{User-Name}}] TLS-Version=%{%{session-state:TLS-Session-Version}:-NULL} TLS-Ciphers=%{%{session-state:TLS-Session-Cipher-Suite}:-NULL} SSID=%{%{request:Called-Station-SSID}:-NULL} Calling-Station-Id=%{%{request:Calling-Station-Id}:-Unknown} Called-Station-Id=%{%{request:Called-Station-Id}:-Unknown} Filter-ID=%{%{reply:Filter-Id}:-NULL} VLAN=%{%{reply:Tunnel-Private-Group-Id}:-NULL} Class=%{%{reply:Class}:-NULL} (from client %{Client-Shortname} port %{%{request:Nas-Port}:-0} cli %{%{request:Calling-Station-Id}:-Unknown})"
}
When I start the debugging (see full output below), I can see the following attributes, which I could use / log now:
(10) eap_peap: TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(10) eap_peap: TLS-Session-Version = "TLS 1.2"
When I try to “access” them in the linelog configuration like this…
sp {
Access-Accept = "%t : AuthZ: (%I) Access-Accept: [%{%{reply:User-Name}:-%{User-Name}}] TLS-Test=%{%{eap_peap:TLS-Session-Version}:-NULL} TLS-Version=%{%{session-state:TLS-Session-Version}:-NULL} TLS-Ciphers=%{%{session-state:TLS-Session-Cipher-Suite}:-NULL} SSID=%{%{request:Called-Station-SSID}:-NULL} Calling-Station-Id=%{%{request:Calling-Station-Id}:-Unknown} Called-Station-Id=%{%{request:Called-Station-Id}:-Unknown} Filter-ID=%{%{reply:Filter-Id}:-NULL} VLAN=%{%{reply:Tunnel-Private-Group-Id}:-NULL} Class=%{%{reply:Class}:-NULL} (from client %{Client-Shortname} port %{%{request:Nas-Port}:-0} cli %{%{request:Calling-Station-Id}:-Unknown})"
}
}
…I get the following error in the debug output:
(21) 802.1x_authz_log: ERROR: %t : AuthZ: (%I) Access-Accept: [%{%{reply:User-Name}:-%{User-Name}}] TLS-Test=%{%{eap_peap:TLS-Session-Version}:-NULL} TLS-Version=%{%{session-state:TLS-Session-Version}:-NULL} TLS-Ciphers=%{%{session-state:TLS-Session-Cipher-Suite}:-NULL} SSID=%{%{request:Called-Station-SSID}:-NULL} Calling-Station-Id=%{%{request:Calling-Station-Id}:-Unknown} Called-Station-Id=%{%{request:Called-Station-Id}:-Unknown} Filter-ID=%{%{reply:Filter-Id}:-NULL} VLAN=%{%{reply:Tunnel-Private-Group-Id}:-NULL} Class=%{%{reply:Class}:-NULL} (from client %{Client-Shortname} port %{%{request:Nas-Port}:-0} cli %{%{request:Calling-Station-Id}:-Unknown})
(21) 802.1x_authz_log: ERROR: ^ Unknown module
Any hint, how I can “access” those two attributes in FreeRADIUS 3.2.4 correctly?
(10) eap_peap: TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(10) eap_peap: TLS-Session-Version = "TLS 1.2"
Thanks in advance and best regards
Dominic
***
Full debug output:
root@id-radiustest1:~# freeradius -X
FreeRADIUS Version 3.2.4
Copyright (C) 1999-2023 The FreeRADIUS server project and contributors
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE
You may redistribute copies of FreeRADIUS under the terms of the
GNU General Public License
For more information about these matters, see the file named COPYRIGHT
Starting - reading configuration files ...
including dictionary file /usr/share/freeradius/dictionary
including dictionary file /usr/share/freeradius/dictionary.dhcp
including dictionary file /usr/share/freeradius/dictionary.vqp
including dictionary file /etc/freeradius/dictionary
including configuration file /etc/freeradius/radiusd.conf
including configuration file /etc/freeradius/proxy.conf
including configuration file /etc/freeradius/clients.conf
including files in directory /etc/freeradius/mods-enabled/
including configuration file /etc/freeradius/mods-enabled/preprocess
including configuration file /etc/freeradius/mods-enabled/utf8
including configuration file /etc/freeradius/mods-enabled/expr
including configuration file /etc/freeradius/mods-enabled/expiration
including configuration file /etc/freeradius/mods-enabled/passwd
including configuration file /etc/freeradius/mods-enabled/sradutmp
including configuration file /etc/freeradius/mods-enabled/dynamic_clients
including configuration file /etc/freeradius/mods-enabled/digest
including configuration file /etc/freeradius/mods-enabled/chap
including configuration file /etc/freeradius/mods-enabled/unix
including configuration file /etc/freeradius/mods-enabled/always
including configuration file /etc/freeradius/mods-enabled/linelog
including configuration file /etc/freeradius/mods-enabled/soh
including configuration file /etc/freeradius/mods-enabled/date
including configuration file /etc/freeradius/mods-enabled/pap
including configuration file /etc/freeradius/mods-enabled/totp
including configuration file /etc/freeradius/mods-enabled/files
including configuration file /etc/freeradius/mods-enabled/echo
including configuration file /etc/freeradius/mods-enabled/cache_eap
including configuration file /etc/freeradius/mods-enabled/replicate
including configuration file /etc/freeradius/mods-enabled/exec
including configuration file /etc/freeradius/mods-enabled/eap
including configuration file /etc/freeradius/mods-enabled/ntlm_auth
including configuration file /etc/freeradius/mods-enabled/radutmp
including configuration file /etc/freeradius/mods-enabled/attr_filter
including configuration file /etc/freeradius/mods-enabled/mschap
including configuration file /etc/freeradius/mods-enabled/logintime
including configuration file /etc/freeradius/mods-enabled/realm
including configuration file /etc/freeradius/mods-enabled/detail
including configuration file /etc/freeradius/mods-enabled/unpack
including configuration file /etc/freeradius/mods-enabled/detail.log
including files in directory /etc/freeradius/policy.d/
including configuration file /etc/freeradius/policy.d/operator-name
including configuration file /etc/freeradius/policy.d/debug
including configuration file /etc/freeradius/policy.d/filter
including configuration file /etc/freeradius/policy.d/accounting
including configuration file /etc/freeradius/policy.d/canonicalization
including configuration file /etc/freeradius/policy.d/abfab-tr
including configuration file /etc/freeradius/policy.d/moonshot-targeted-ids
including configuration file /etc/freeradius/policy.d/rfc7542
including configuration file /etc/freeradius/policy.d/cui
including configuration file /etc/freeradius/policy.d/eap
including configuration file /etc/freeradius/policy.d/dhcp
including configuration file /etc/freeradius/policy.d/control
including files in directory /etc/freeradius/sites-enabled/
including configuration file /etc/freeradius/sites-enabled/inner-tunnel
including configuration file /etc/freeradius/sites-enabled/default
including configuration file /etc/freeradius/sites-enabled/proxy-inner-tunnel
including configuration file /etc/freeradius/sites-enabled/control-socket
main {
security {
user = "freerad"
group = "freerad"
allow_core_dumps = no
}
name = "freeradius"
prefix = "/usr"
localstatedir = "/var"
logdir = "/var/log/freeradius"
run_dir = "/var/run/freeradius"
}
main {
name = "freeradius"
prefix = "/usr"
localstatedir = "/var"
sbindir = "/usr/sbin"
logdir = "/var/log/freeradius"
run_dir = "/var/run/freeradius"
libdir = "/usr/lib/freeradius"
radacctdir = "/var/log/freeradius/radacct"
hostname_lookups = no
max_request_time = 30
proxy_dedup_window = 1
cleanup_delay = 5
max_requests = 16384
max_fds = 512
postauth_client_lost = no
pidfile = "/var/run/freeradius/freeradius.pid"
checkrad = "/usr/sbin/checkrad"
debug_level = 0
proxy_requests = yes
log {
stripped_names = no
auth = yes
auth_badpass = no
auth_goodpass = no
colourise = yes
msg_denied = "You are already logged in - access denied"
}
resources {
}
security {
max_attributes = 200
reject_delay = 1.000000
status_server = yes
}
}
radiusd: #### Loading Realms and Home Servers ####
proxy server {
retry_delay = 5
retry_count = 3
default_fallback = no
dead_time = 120
wake_all_if_all_dead = no
}
...
}
Debugger not attached
systemd watchdog is disabled
# Creating Auth-Type = mschap
# Creating Auth-Type = eap
radiusd: #### Instantiating modules ####
modules {
# Loaded module rlm_preprocess
# Loading module "preprocess" from file /etc/freeradius/mods-enabled/preprocess
preprocess {
huntgroups = "/etc/freeradius/mods-config/preprocess/huntgroups"
hints = "/etc/freeradius/mods-config/preprocess/hints"
with_ascend_hack = no
ascend_channels_per_line = 23
with_ntdomain_hack = no
with_specialix_jetstream_hack = no
with_cisco_vsa_hack = no
with_alvarion_vsa_hack = no
}
# Loaded module rlm_utf8
# Loading module "utf8" from file /etc/freeradius/mods-enabled/utf8
# Loaded module rlm_expr
# Loading module "expr" from file /etc/freeradius/mods-enabled/expr
expr {
safe_characters = "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /äéöüàâæçèéêëîïôœùûüaÿÄÉÖÜßÀÂÆÇÈÉÊËÎÏÔŒÙÛÜŸ"
}
# Loaded module rlm_expiration
# Loading module "expiration" from file /etc/freeradius/mods-enabled/expiration
# Loaded module rlm_passwd
# Loading module "etc_passwd" from file /etc/freeradius/mods-enabled/passwd
passwd etc_passwd {
filename = "/etc/passwd"
format = "*User-Name:Crypt-Password:"
delimiter = ":"
ignore_nislike = no
ignore_empty = yes
allow_multiple_keys = no
hash_size = 100
}
# Loaded module rlm_radutmp
# Loading module "sradutmp" from file /etc/freeradius/mods-enabled/sradutmp
radutmp sradutmp {
filename = "/var/log/freeradius/sradutmp"
username = "%{User-Name}"
case_sensitive = yes
check_with_nas = yes
permissions = 420
caller_id = no
}
# Loaded module rlm_dynamic_clients
# Loading module "dynamic_clients" from file /etc/freeradius/mods-enabled/dynamic_clients
# Loaded module rlm_digest
# Loading module "digest" from file /etc/freeradius/mods-enabled/digest
# Loaded module rlm_chap
# Loading module "chap" from file /etc/freeradius/mods-enabled/chap
# Loaded module rlm_unix
# Loading module "unix" from file /etc/freeradius/mods-enabled/unix
unix {
radwtmp = "/var/log/freeradius/radwtmp"
}
Creating attribute Unix-Group
# Loaded module rlm_always
# Loading module "reject" from file /etc/freeradius/mods-enabled/always
always reject {
rcode = "reject"
simulcount = 0
mpp = no
}
# Loading module "fail" from file /etc/freeradius/mods-enabled/always
always fail {
rcode = "fail"
simulcount = 0
mpp = no
}
# Loading module "ok" from file /etc/freeradius/mods-enabled/always
always ok {
rcode = "ok"
simulcount = 0
mpp = no
}
# Loading module "handled" from file /etc/freeradius/mods-enabled/always
always handled {
rcode = "handled"
simulcount = 0
mpp = no
}
# Loading module "invalid" from file /etc/freeradius/mods-enabled/always
always invalid {
rcode = "invalid"
simulcount = 0
mpp = no
}
# Loading module "userlock" from file /etc/freeradius/mods-enabled/always
always userlock {
rcode = "userlock"
simulcount = 0
mpp = no
}
# Loading module "notfound" from file /etc/freeradius/mods-enabled/always
always notfound {
rcode = "notfound"
simulcount = 0
mpp = no
}
# Loading module "noop" from file /etc/freeradius/mods-enabled/always
always noop {
rcode = "noop"
simulcount = 0
mpp = no
}
# Loading module "updated" from file /etc/freeradius/mods-enabled/always
always updated {
rcode = "updated"
simulcount = 0
mpp = no
}
# Loaded module rlm_linelog
# Loading module "802.1x_authz_log" from file /etc/freeradius/mods-enabled/linelog
linelog 802.1x_authz_log {
filename = "/var/log/freeradius/authz.log"
escape_filenames = no
syslog_severity = "info"
permissions = 384
reference = "sp.%{%{reply:Packet-Type}:-format}"
}
# Loading module "acct_log" from file /etc/freeradius/mods-enabled/linelog
linelog acct_log {
filename = "/var/log/freeradius/acct.log"
escape_filenames = no
syslog_severity = "info"
permissions = 384
reference = "Accounting-Request.%{%{Acct-Status-Type}:-unknown}"
}
# Loaded module rlm_soh
# Loading module "soh" from file /etc/freeradius/mods-enabled/soh
soh {
dhcp = yes
}
# Loaded module rlm_date
# Loading module "date" from file /etc/freeradius/mods-enabled/date
date {
format = "%b %e %Y %H:%M:%S %Z"
utc = no
}
# Loading module "wispr2date" from file /etc/freeradius/mods-enabled/date
date wispr2date {
format = "%Y-%m-%dT%H:%M:%S"
utc = no
}
# Loaded module rlm_pap
# Loading module "pap" from file /etc/freeradius/mods-enabled/pap
pap {
normalise = yes
}
# Loaded module rlm_totp
# Loading module "totp" from file /etc/freeradius/mods-enabled/totp
totp {
time_step = 30
otp_length = 6
lookback_steps = 1
lookback_interval = 30
lookforward_steps = 0
}
# Loaded module rlm_files
# Loading module "files" from file /etc/freeradius/mods-enabled/files
files {
filename = "/etc/freeradius/mods-config/files/authorize"
acctusersfile = "/etc/freeradius/mods-config/files/accounting"
preproxy_usersfile = "/etc/freeradius/mods-config/files/pre-proxy"
}
# Loaded module rlm_exec
# Loading module "echo" from file /etc/freeradius/mods-enabled/echo
exec echo {
wait = yes
program = "/bin/echo %{User-Name}"
input_pairs = "request"
output_pairs = "reply"
shell_escape = yes
}
# Loaded module rlm_cache
# Loading module "cache_eap" from file /etc/freeradius/mods-enabled/cache_eap
cache cache_eap {
driver = "rlm_cache_rbtree"
key = "%{%{control:State}:-%{%{reply:State}:-%{State}}}"
ttl = 15
max_entries = 0
epoch = 0
add_stats = no
}
# Loaded module rlm_replicate
# Loading module "replicate" from file /etc/freeradius/mods-enabled/replicate
# Loading module "exec" from file /etc/freeradius/mods-enabled/exec
exec {
wait = no
input_pairs = "request"
shell_escape = yes
timeout = 10
}
# Loaded module rlm_eap
# Loading module "eap" from file /etc/freeradius/mods-enabled/eap
eap {
default_eap_type = "PEAP"
timer_expire = 60
max_eap_type = 52
ignore_unknown_eap_types = yes
cisco_accounting_username_bug = no
max_sessions = 8192
dedup_key = ""
}
# Loading module "ntlm_auth" from file /etc/freeradius/mods-enabled/ntlm_auth
exec ntlm_auth {
wait = yes
program = "/path/to/ntlm_auth --request-nt-key --domain=MYDOMAIN --username=%{mschap:User-Name} --password=%{User-Password}"
shell_escape = yes
}
# Loading module "radutmp" from file /etc/freeradius/mods-enabled/radutmp
radutmp {
filename = "/var/log/freeradius/radutmp"
username = "%{User-Name}"
case_sensitive = yes
check_with_nas = yes
permissions = 384
caller_id = yes
}
# Loaded module rlm_attr_filter
# Loading module "attr_filter.post-proxy" from file /etc/freeradius/mods-enabled/attr_filter
attr_filter attr_filter.post-proxy {
filename = "/etc/freeradius/mods-config/attr_filter/post-proxy"
key = "%{Realm}"
relaxed = no
}
# Loading module "attr_filter.pre-proxy" from file /etc/freeradius/mods-enabled/attr_filter
attr_filter attr_filter.pre-proxy {
filename = "/etc/freeradius/mods-config/attr_filter/pre-proxy"
key = "%{Realm}"
relaxed = no
}
# Loading module "attr_filter.access_reject" from file /etc/freeradius/mods-enabled/attr_filter
attr_filter attr_filter.access_reject {
filename = "/etc/freeradius/mods-config/attr_filter/access_reject"
key = "%{User-Name}"
relaxed = no
}
# Loading module "attr_filter.access_challenge" from file /etc/freeradius/mods-enabled/attr_filter
attr_filter attr_filter.access_challenge {
filename = "/etc/freeradius/mods-config/attr_filter/access_challenge"
key = "%{User-Name}"
relaxed = no
}
# Loading module "attr_filter.accounting_response" from file /etc/freeradius/mods-enabled/attr_filter
attr_filter attr_filter.accounting_response {
filename = "/etc/freeradius/mods-config/attr_filter/accounting_response"
key = "%{User-Name}"
relaxed = no
}
# Loading module "attr_filter.coa" from file /etc/freeradius/mods-enabled/attr_filter
attr_filter attr_filter.coa {
filename = "/etc/freeradius/mods-config/attr_filter/coa"
key = "%{User-Name}"
relaxed = no
}
# Loaded module rlm_mschap
# Loading module "mschap" from file /etc/freeradius/mods-enabled/mschap
mschap {
use_mppe = yes
require_encryption = no
require_strong = no
with_ntdomain_hack = yes
passchange {
}
allow_retry = yes
winbind_retry_with_normalised_username = no
}
# Loaded module rlm_logintime
# Loading module "logintime" from file /etc/freeradius/mods-enabled/logintime
logintime {
minimum_timeout = 60
}
# Loaded module rlm_realm
# Loading module "IPASS" from file /etc/freeradius/mods-enabled/realm
realm IPASS {
format = "prefix"
delimiter = "/"
ignore_default = no
ignore_null = no
}
# Loading module "suffix" from file /etc/freeradius/mods-enabled/realm
realm suffix {
format = "suffix"
delimiter = "@"
ignore_default = no
ignore_null = no
}
# Loading module "bangpath" from file /etc/freeradius/mods-enabled/realm
realm bangpath {
format = "prefix"
delimiter = "!"
ignore_default = no
ignore_null = no
}
# Loading module "realmpercent" from file /etc/freeradius/mods-enabled/realm
realm realmpercent {
format = "suffix"
delimiter = "%"
ignore_default = no
ignore_null = no
}
# Loading module "ntdomain" from file /etc/freeradius/mods-enabled/realm
realm ntdomain {
format = "prefix"
delimiter = "\"
ignore_default = no
ignore_null = no
}
# Loaded module rlm_detail
# Loading module "detail" from file /etc/freeradius/mods-enabled/detail
detail {
filename = "/var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
dates_as_integer = no
escape_filenames = no
log_packet_header = no
}
# Loaded module rlm_unpack
# Loading module "unpack" from file /etc/freeradius/mods-enabled/unpack
# Loading module "auth_log" from file /etc/freeradius/mods-enabled/detail.log
detail auth_log {
filename = "/var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
dates_as_integer = no
escape_filenames = no
log_packet_header = no
}
# Loading module "reply_log" from file /etc/freeradius/mods-enabled/detail.log
detail reply_log {
filename = "/var/log/freeradius/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 /etc/freeradius/mods-enabled/detail.log
detail pre_proxy_log {
filename = "/var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/pre-proxy-detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
dates_as_integer = no
escape_filenames = no
log_packet_header = no
}
# Loading module "post_proxy_log" from file /etc/freeradius/mods-enabled/detail.log
detail post_proxy_log {
filename = "/var/log/freeradius/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
}
instantiate {
}
# Instantiating module "preprocess" from file /etc/freeradius/mods-enabled/preprocess
reading pairlist file /etc/freeradius/mods-config/preprocess/huntgroups
reading pairlist file /etc/freeradius/mods-config/preprocess/hints
# Instantiating module "expiration" from file /etc/freeradius/mods-enabled/expiration
# Instantiating module "etc_passwd" from file /etc/freeradius/mods-enabled/passwd
rlm_passwd: nfields: 3 keyfield 0(User-Name) listable: no
# Instantiating module "reject" from file /etc/freeradius/mods-enabled/always
# Instantiating module "fail" from file /etc/freeradius/mods-enabled/always
# Instantiating module "ok" from file /etc/freeradius/mods-enabled/always
# Instantiating module "handled" from file /etc/freeradius/mods-enabled/always
# Instantiating module "invalid" from file /etc/freeradius/mods-enabled/always
# Instantiating module "userlock" from file /etc/freeradius/mods-enabled/always
# Instantiating module "notfound" from file /etc/freeradius/mods-enabled/always
# Instantiating module "noop" from file /etc/freeradius/mods-enabled/always
# Instantiating module "updated" from file /etc/freeradius/mods-enabled/always
# Instantiating module "802.1x_authz_log" from file /etc/freeradius/mods-enabled/linelog
# Instantiating module "acct_log" from file /etc/freeradius/mods-enabled/linelog
# Instantiating module "pap" from file /etc/freeradius/mods-enabled/pap
# Instantiating module "totp" from file /etc/freeradius/mods-enabled/totp
# Instantiating module "files" from file /etc/freeradius/mods-enabled/files
reading pairlist file /etc/freeradius/mods-config/files/authorize
reading pairlist file /etc/freeradius/mods-config/files/accounting
reading pairlist file /etc/freeradius/mods-config/files/pre-proxy
# Instantiating module "cache_eap" from file /etc/freeradius/mods-enabled/cache_eap
rlm_cache (cache_eap): Driver rlm_cache_rbtree (module rlm_cache_rbtree) loaded and linked
# Instantiating module "eap" from file /etc/freeradius/mods-enabled/eap
# Linked to sub-module rlm_eap_peap
peap {
tls = "tls-common"
default_eap_type = "mschapv2"
copy_request_to_tunnel = yes
use_tunneled_reply = yes
proxy_tunneled_request_as_eap = yes
virtual_server = "proxy-inner-tunnel"
soh = no
require_client_cert = no
}
tls-config tls-common {
verify_depth = 0
ca_path = "/etc/freeradius/certs"
pem_file_type = yes
private_key_file = "/etc/freeradius/certs/server.key"
certificate_file = "/etc/freeradius/certs/server.crt"
fragment_size = 1024
include_length = yes
auto_chain = yes
check_crl = no
check_all_crl = no
ca_path_reload_interval = 0
cipher_list = "ECDHE-RSA-AES128-SHA ECDHE-RSA-AES256-SHA ECDHE-RSA-AES128-GCM-SHA256 ECDHE-RSA-AES256-GCM-SHA384 ECDHE-RSA-CHACHA20-POLY1305 TLS_AES_256_GCM_SHA384"
reject_unknown_intermediate_ca = no
ecdh_curve = "prime256v1"
tls_max_version = "1.3"
tls_min_version = "1.0"
cache {
enable = no
lifetime = 12
name = "EAP module"
max_entries = 0
persist_dir = "/var/log/freeradius/tlscache"
}
verify {
skip_if_ocsp_ok = no
}
ocsp {
enable = no
override_cert_url = no
use_nonce = yes
timeout = 0
softfail = no
}
}
tls: In order to use TLS 1.0 and/or TLS 1.1, you likely need to set: cipher_list = "DEFAULT@SECLEVEL=0"
# Linked to sub-module rlm_eap_mschapv2
mschapv2 {
with_ntdomain_hack = no
send_error = no
}
# Instantiating module "attr_filter.post-proxy" from file /etc/freeradius/mods-enabled/attr_filter
reading pairlist file /etc/freeradius/mods-config/attr_filter/post-proxy
# Instantiating module "attr_filter.pre-proxy" from file /etc/freeradius/mods-enabled/attr_filter
reading pairlist file /etc/freeradius/mods-config/attr_filter/pre-proxy
# Instantiating module "attr_filter.access_reject" from file /etc/freeradius/mods-enabled/attr_filter
reading pairlist file /etc/freeradius/mods-config/attr_filter/access_reject
# Instantiating module "attr_filter.access_challenge" from file /etc/freeradius/mods-enabled/attr_filter
reading pairlist file /etc/freeradius/mods-config/attr_filter/access_challenge
# Instantiating module "attr_filter.accounting_response" from file /etc/freeradius/mods-enabled/attr_filter
reading pairlist file /etc/freeradius/mods-config/attr_filter/accounting_response
# Instantiating module "attr_filter.coa" from file /etc/freeradius/mods-enabled/attr_filter
reading pairlist file /etc/freeradius/mods-config/attr_filter/coa
# Instantiating module "mschap" from file /etc/freeradius/mods-enabled/mschap
rlm_mschap (mschap): using internal authentication
# Instantiating module "logintime" from file /etc/freeradius/mods-enabled/logintime
# Instantiating module "IPASS" from file /etc/freeradius/mods-enabled/realm
# Instantiating module "suffix" from file /etc/freeradius/mods-enabled/realm
# Instantiating module "bangpath" from file /etc/freeradius/mods-enabled/realm
# Instantiating module "realmpercent" from file /etc/freeradius/mods-enabled/realm
# Instantiating module "ntdomain" from file /etc/freeradius/mods-enabled/realm
# Instantiating module "detail" from file /etc/freeradius/mods-enabled/detail
# Instantiating module "auth_log" from file /etc/freeradius/mods-enabled/detail.log
rlm_detail (auth_log): 'User-Password' suppressed, will not appear in detail output
# Instantiating module "reply_log" from file /etc/freeradius/mods-enabled/detail.log
# Instantiating module "pre_proxy_log" from file /etc/freeradius/mods-enabled/detail.log
# Instantiating module "post_proxy_log" from file /etc/freeradius/mods-enabled/detail.log
} # modules
radiusd: #### Loading Virtual Servers ####
server { # from file /etc/freeradius/radiusd.conf
} # server
server inner-tunnel { # from file /etc/freeradius/sites-enabled/inner-tunnel
# Loading authenticate {...}
# Loading authorize {...}
Ignoring "sql" (see raddb/mods-available/README.rst)
Ignoring "ldap" (see raddb/mods-available/README.rst)
# Loading session {...}
# Loading post-proxy {...}
# Loading post-auth {...}
# Skipping contents of 'if' as it is always 'false' -- /etc/freeradius/sites-enabled/inner-tunnel:336
Compiling Post-Auth-Type REJECT for attr Post-Auth-Type
} # server inner-tunnel
server default { # from file /etc/freeradius/sites-enabled/default
# Loading authenticate {...}
Compiling Auth-Type eap for attr Auth-Type
# Loading authorize {...}
# Loading preacct {...}
# Loading accounting {...}
# Loading pre-proxy {...}
# Loading post-proxy {...}
# Loading post-auth {...}
Compiling Post-Auth-Type REJECT for attr Post-Auth-Type
} # server default
server proxy-inner-tunnel { # from file /etc/freeradius/sites-enabled/proxy-inner-tunnel
# Loading authenticate {...}
Compiling Auth-Type mschap for attr Auth-Type
# Loading authorize {...}
} # server proxy-inner-tunnel
radiusd: #### Opening IP addresses and Ports ####
listen {
type = "control"
listen {
socket = "/var/run/freeradius/control/freeradius.sock"
uid = "freerad"
gid = "freerad"
mode = "rw"
peercred = no
}
}
listen {
type = "auth"
ipaddr = 127.0.0.1
port = 18120
}
listen {
type = "auth"
ipaddr = *
port = 1812
}
listen {
type = "acct"
ipaddr = *
port = 1813
}
Listening on command file /var/run/freeradius/control/freeradius.sock
Listening on auth address 127.0.0.1 port 18120 bound to server inner-tunnel
Listening on auth address * port 1812 bound to server default
Listening on acct address * port 1813 bound to server default
Listening on proxy address * port 44695
Ready to process requests
3
16
Alan,
thank you very much for your time and comments. I'm sorry I didn't
include all the necessary information.
> What we need to see is the debug output of the server. That tells us what is going on. Most of the rest of the information here isn't helpful. The documentation above also says "don't post the configuration files". It's not useful.
I attach it at the end of the message. Turn on freeradius and then
connect using the certificate issued to user1.
>> My main problem is the CRL not working.
> What does that mean?
>
> The server produces messages when it runs. Either it produces messages that there's an error with the CRL, or it produces messages that it's checking the CRL, or it produces no messages about the CRL.
>
> The actual error is in those messages. "It didn't work" is a description which is so vague as to be meaningless.
>
True, I did not specify what it means that the CRL is not working.
The certificate with which I connect to WiFi (user1) is on the CRL list
as revoked. Therefore, I expect the server to reject revoked
certificates and those issued by a CA other than mine.
> Those are just configuration files, used to create certs. They're not used for anything while the server is running. The documentation in that directory makes this clear.
Thank you for your explanation.
> Maybe it shows some other information. i.e. if you're not familiar with FreeRADIUS, then you can likely read that, and miss a meaningful message. That's why the documentation says to post the debug output to the list.
Thank you for your explanation. Exactly as you wrote, I'm just starting
to learn FreeRadius, so not everything is clear to me yet.
> That depends on the EAP method. TTLS and PEAP can do this (mostly, sometimes). But it depends on the client software.
Thank you for your explanation.
> Nearly all of this is not helpful.
>
> Please read the documentation. Please follow the instructions.
Thank you for your help. I've attached the debug below
FreeRADIUS Version 3.0.21
Copyright (C) 1999-2019 The FreeRADIUS server project and contributors
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE
You may redistribute copies of FreeRADIUS under the terms of the
GNU General Public License
For more information about these matters, see the file named COPYRIGHT
Starting - reading configuration files ...
including dictionary file /usr/share/freeradius/dictionary
including dictionary file /usr/share/freeradius/dictionary.dhcp
including dictionary file /usr/share/freeradius/dictionary.vqp
including dictionary file /etc/freeradius/3.0/dictionary
including configuration file /etc/freeradius/3.0/radiusd.conf
including configuration file /etc/freeradius/3.0/proxy.conf
including configuration file /etc/freeradius/3.0/clients.conf
including files in directory /etc/freeradius/3.0/mods-enabled/
including configuration file /etc/freeradius/3.0/mods-enabled/replicate
including configuration file /etc/freeradius/3.0/mods-enabled/ntlm_auth
including configuration file /etc/freeradius/3.0/mods-enabled/soh
including configuration file /etc/freeradius/3.0/mods-enabled/pap
including configuration file /etc/freeradius/3.0/mods-enabled/unpack
including configuration file /etc/freeradius/3.0/mods-enabled/files
including configuration file /etc/freeradius/3.0/mods-enabled/radutmp
including configuration file /etc/freeradius/3.0/mods-enabled/chap
including configuration file /etc/freeradius/3.0/mods-enabled/sradutmp
including configuration file /etc/freeradius/3.0/mods-enabled/unix
including configuration file /etc/freeradius/3.0/mods-enabled/digest
including configuration file /etc/freeradius/3.0/mods-enabled/cache_eap
including configuration file /etc/freeradius/3.0/mods-enabled/attr_filter
including configuration file /etc/freeradius/3.0/mods-enabled/realm
including configuration file /etc/freeradius/3.0/mods-enabled/utf8
including configuration file /etc/freeradius/3.0/mods-enabled/passwd
including configuration file /etc/freeradius/3.0/mods-enabled/detail
including configuration file /etc/freeradius/3.0/mods-enabled/eap
including configuration file /etc/freeradius/3.0/mods-enabled/linelog
including configuration file /etc/freeradius/3.0/mods-enabled/exec
including configuration file /etc/freeradius/3.0/mods-enabled/preprocess
including configuration file
/etc/freeradius/3.0/mods-enabled/dynamic_clients
including configuration file /etc/freeradius/3.0/mods-enabled/logintime
including configuration file /etc/freeradius/3.0/mods-enabled/always
including configuration file /etc/freeradius/3.0/mods-enabled/mschap
including configuration file /etc/freeradius/3.0/mods-enabled/echo
including configuration file /etc/freeradius/3.0/mods-enabled/detail.log
including configuration file /etc/freeradius/3.0/mods-enabled/expr
including configuration file /etc/freeradius/3.0/mods-enabled/expiration
including files in directory /etc/freeradius/3.0/policy.d/
including configuration file /etc/freeradius/3.0/policy.d/rfc7542
including configuration file
/etc/freeradius/3.0/policy.d/moonshot-targeted-ids
including configuration file /etc/freeradius/3.0/policy.d/dhcp
including configuration file /etc/freeradius/3.0/policy.d/operator-name
including configuration file /etc/freeradius/3.0/policy.d/filter
including configuration file /etc/freeradius/3.0/policy.d/accounting
including configuration file /etc/freeradius/3.0/policy.d/canonicalization
including configuration file /etc/freeradius/3.0/policy.d/eap
including configuration file /etc/freeradius/3.0/policy.d/cui
including configuration file /etc/freeradius/3.0/policy.d/control
including configuration file /etc/freeradius/3.0/policy.d/debug
including configuration file /etc/freeradius/3.0/policy.d/abfab-tr
including files in directory /etc/freeradius/3.0/sites-enabled/
including configuration file /etc/freeradius/3.0/sites-enabled/inner-tunnel
including configuration file /etc/freeradius/3.0/sites-enabled/default
main {
security {
user = "freerad"
group = "freerad"
allow_core_dumps = no
}
name = "freeradius"
prefix = "/usr"
localstatedir = "/var"
logdir = "/var/log/freeradius"
run_dir = "/var/run/freeradius"
}
main {
name = "freeradius"
prefix = "/usr"
localstatedir = "/var"
sbindir = "/usr/sbin"
logdir = "/var/log/freeradius"
run_dir = "/var/run/freeradius"
libdir = "/usr/lib/freeradius"
radacctdir = "/var/log/freeradius/radacct"
hostname_lookups = no
max_request_time = 30
cleanup_delay = 5
max_requests = 16384
pidfile = "/var/run/freeradius/freeradius.pid"
checkrad = "/usr/sbin/checkrad"
debug_level = 0
proxy_requests = yes
log {
stripped_names = no
auth = 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
}
}
radiusd: #### Loading Realms and Home Servers ####
proxy server {
retry_delay = 5
retry_count = 3
default_fallback = no
dead_time = 120
wake_all_if_all_dead = no
}
home_server localhost {
ipaddr = 127.0.0.1
port = 1812
type = "auth"
secret = <<< secret >>>
response_window = 20.000000
response_timeouts = 1
max_outstanding = 65536
zombie_period = 40
status_check = "status-server"
ping_interval = 30
check_interval = 30
check_timeout = 4
num_answers_to_alive = 3
revive_interval = 120
limit {
max_connections = 16
max_requests = 0
lifetime = 0
idle_timeout = 0
}
coa {
irt = 2
mrt = 16
mrc = 5
mrd = 30
}
}
home_server_pool my_auth_failover {
type = fail-over
home_server = localhost
}
realm example.com {
auth_pool = my_auth_failover
}
realm LOCAL {
}
radiusd: #### Loading Clients ####
client localhost {
ipaddr = 127.0.0.1
require_message_authenticator = no
secret = <<< secret >>>
nas_type = "other"
proto = "*"
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client localhost_ipv6 {
ipv6addr = ::1
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client UAP {
ipaddr = 192.168.80.50
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client UNIFI {
ipaddr = 192.168.80.51
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
Debugger not attached
systemd watchdog is disabled
# Creating Auth-Type = ntlm_auth
# Creating Auth-Type = mschap
# Creating Auth-Type = eap
# Creating Auth-Type = PAP
# Creating Auth-Type = CHAP
# Creating Auth-Type = MS-CHAP
# Creating Auth-Type = digest
radiusd: #### Instantiating modules ####
modules {
# Loaded module rlm_replicate
# Loading module "replicate" from file
/etc/freeradius/3.0/mods-enabled/replicate
# Loaded module rlm_exec
# Loading module "ntlm_auth" from file
/etc/freeradius/3.0/mods-enabled/ntlm_auth
exec ntlm_auth {
wait = yes
program = "/etc/freeradius/mods-enabled/ntlm_auth
--request-nt-key --domain=LAB.PC-IT.LAN --username=%{mschap:User-Name}
--password=%{User-Password}"
shell_escape = yes
}
# Loaded module rlm_soh
# Loading module "soh" from file /etc/freeradius/3.0/mods-enabled/soh
soh {
dhcp = yes
}
# Loaded module rlm_pap
# Loading module "pap" from file /etc/freeradius/3.0/mods-enabled/pap
pap {
normalise = yes
}
# Loaded module rlm_unpack
# Loading module "unpack" from file
/etc/freeradius/3.0/mods-enabled/unpack
# Loaded module rlm_files
# Loading module "files" from file /etc/freeradius/3.0/mods-enabled/files
files {
filename = "/etc/freeradius/3.0/mods-config/files/authorize"
acctusersfile = "/etc/freeradius/3.0/mods-config/files/accounting"
preproxy_usersfile =
"/etc/freeradius/3.0/mods-config/files/pre-proxy"
}
# Loaded module rlm_radutmp
# Loading module "radutmp" from file
/etc/freeradius/3.0/mods-enabled/radutmp
radutmp {
filename = "/var/log/freeradius/radutmp"
username = "%{User-Name}"
case_sensitive = yes
check_with_nas = yes
permissions = 384
caller_id = yes
}
# Loaded module rlm_chap
# Loading module "chap" from file /etc/freeradius/3.0/mods-enabled/chap
# Loading module "sradutmp" from file
/etc/freeradius/3.0/mods-enabled/sradutmp
radutmp sradutmp {
filename = "/var/log/freeradius/sradutmp"
username = "%{User-Name}"
case_sensitive = yes
check_with_nas = yes
permissions = 420
caller_id = no
}
# Loaded module rlm_unix
# Loading module "unix" from file /etc/freeradius/3.0/mods-enabled/unix
unix {
radwtmp = "/var/log/freeradius/radwtmp"
}
Creating attribute Unix-Group
# Loaded module rlm_digest
# Loading module "digest" from file
/etc/freeradius/3.0/mods-enabled/digest
# Loaded module rlm_cache
# Loading module "cache_eap" from file
/etc/freeradius/3.0/mods-enabled/cache_eap
cache cache_eap {
driver = "rlm_cache_rbtree"
key = "%{%{control:State}:-%{%{reply:State}:-%{State}}}"
ttl = 15
max_entries = 0
epoch = 0
add_stats = no
}
# Loaded module rlm_attr_filter
# Loading module "attr_filter.post-proxy" from file
/etc/freeradius/3.0/mods-enabled/attr_filter
attr_filter attr_filter.post-proxy {
filename = "/etc/freeradius/3.0/mods-config/attr_filter/post-proxy"
key = "%{Realm}"
relaxed = no
}
# Loading module "attr_filter.pre-proxy" from file
/etc/freeradius/3.0/mods-enabled/attr_filter
attr_filter attr_filter.pre-proxy {
filename = "/etc/freeradius/3.0/mods-config/attr_filter/pre-proxy"
key = "%{Realm}"
relaxed = no
}
# Loading module "attr_filter.access_reject" from file
/etc/freeradius/3.0/mods-enabled/attr_filter
attr_filter attr_filter.access_reject {
filename =
"/etc/freeradius/3.0/mods-config/attr_filter/access_reject"
key = "%{User-Name}"
relaxed = no
}
# Loading module "attr_filter.access_challenge" from file
/etc/freeradius/3.0/mods-enabled/attr_filter
attr_filter attr_filter.access_challenge {
filename =
"/etc/freeradius/3.0/mods-config/attr_filter/access_challenge"
key = "%{User-Name}"
relaxed = no
}
# Loading module "attr_filter.accounting_response" from file
/etc/freeradius/3.0/mods-enabled/attr_filter
attr_filter attr_filter.accounting_response {
filename =
"/etc/freeradius/3.0/mods-config/attr_filter/accounting_response"
key = "%{User-Name}"
relaxed = no
}
# Loaded module rlm_realm
# Loading module "IPASS" from file /etc/freeradius/3.0/mods-enabled/realm
realm IPASS {
format = "prefix"
delimiter = "/"
ignore_default = no
ignore_null = no
}
# Loading module "suffix" from file
/etc/freeradius/3.0/mods-enabled/realm
realm suffix {
format = "suffix"
delimiter = "@"
ignore_default = no
ignore_null = no
}
# Loading module "bangpath" from file
/etc/freeradius/3.0/mods-enabled/realm
realm bangpath {
format = "prefix"
delimiter = "!"
ignore_default = no
ignore_null = no
}
# Loading module "realmpercent" from file
/etc/freeradius/3.0/mods-enabled/realm
realm realmpercent {
format = "suffix"
delimiter = "%"
ignore_default = no
ignore_null = no
}
# Loading module "ntdomain" from file
/etc/freeradius/3.0/mods-enabled/realm
realm ntdomain {
format = "prefix"
delimiter = "\\"
ignore_default = no
ignore_null = no
}
# Loaded module rlm_utf8
# Loading module "utf8" from file /etc/freeradius/3.0/mods-enabled/utf8
# Loaded module rlm_passwd
# Loading module "etc_passwd" from file
/etc/freeradius/3.0/mods-enabled/passwd
passwd etc_passwd {
filename = "/etc/passwd"
format = "*User-Name:Crypt-Password:"
delimiter = ":"
ignore_nislike = no
ignore_empty = yes
allow_multiple_keys = no
hash_size = 100
}
# Loaded module rlm_detail
# Loading module "detail" from file
/etc/freeradius/3.0/mods-enabled/detail
detail {
filename =
"/var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
escape_filenames = no
log_packet_header = no
}
# Loaded module rlm_eap
# Loading module "eap" from file /etc/freeradius/3.0/mods-enabled/eap
eap {
default_eap_type = "peap"
timer_expire = 60
ignore_unknown_eap_types = no
cisco_accounting_username_bug = no
max_sessions = 16384
}
# Loaded module rlm_linelog
# Loading module "linelog" from file
/etc/freeradius/3.0/mods-enabled/linelog
linelog {
filename = "/var/log/freeradius/linelog"
escape_filenames = no
syslog_severity = "info"
permissions = 384
format = "This is a log message for %{User-Name}"
reference = "messages.%{%{reply:Packet-Type}:-default}"
}
# Loading module "log_accounting" from file
/etc/freeradius/3.0/mods-enabled/linelog
linelog log_accounting {
filename = "/var/log/freeradius/linelog-accounting"
escape_filenames = no
syslog_severity = "info"
permissions = 384
format = ""
reference = "Accounting-Request.%{%{Acct-Status-Type}:-unknown}"
}
# Loading module "exec" from file /etc/freeradius/3.0/mods-enabled/exec
exec {
wait = no
input_pairs = "request"
shell_escape = yes
timeout = 10
}
# Loaded module rlm_preprocess
# Loading module "preprocess" from file
/etc/freeradius/3.0/mods-enabled/preprocess
preprocess {
huntgroups = "/etc/freeradius/3.0/mods-config/preprocess/huntgroups"
hints = "/etc/freeradius/3.0/mods-config/preprocess/hints"
with_ascend_hack = no
ascend_channels_per_line = 23
with_ntdomain_hack = no
with_specialix_jetstream_hack = no
with_cisco_vsa_hack = no
with_alvarion_vsa_hack = no
}
# Loaded module rlm_dynamic_clients
# Loading module "dynamic_clients" from file
/etc/freeradius/3.0/mods-enabled/dynamic_clients
# Loaded module rlm_logintime
# Loading module "logintime" from file
/etc/freeradius/3.0/mods-enabled/logintime
logintime {
minimum_timeout = 60
}
# Loaded module rlm_always
# Loading module "reject" from file
/etc/freeradius/3.0/mods-enabled/always
always reject {
rcode = "reject"
simulcount = 0
mpp = no
}
# Loading module "fail" from file /etc/freeradius/3.0/mods-enabled/always
always fail {
rcode = "fail"
simulcount = 0
mpp = no
}
# Loading module "ok" from file /etc/freeradius/3.0/mods-enabled/always
always ok {
rcode = "ok"
simulcount = 0
mpp = no
}
# Loading module "handled" from file
/etc/freeradius/3.0/mods-enabled/always
always handled {
rcode = "handled"
simulcount = 0
mpp = no
}
# Loading module "invalid" from file
/etc/freeradius/3.0/mods-enabled/always
always invalid {
rcode = "invalid"
simulcount = 0
mpp = no
}
# Loading module "userlock" from file
/etc/freeradius/3.0/mods-enabled/always
always userlock {
rcode = "userlock"
simulcount = 0
mpp = no
}
# Loading module "notfound" from file
/etc/freeradius/3.0/mods-enabled/always
always notfound {
rcode = "notfound"
simulcount = 0
mpp = no
}
# Loading module "noop" from file /etc/freeradius/3.0/mods-enabled/always
always noop {
rcode = "noop"
simulcount = 0
mpp = no
}
# Loading module "updated" from file
/etc/freeradius/3.0/mods-enabled/always
always updated {
rcode = "updated"
simulcount = 0
mpp = no
}
# Loaded module rlm_mschap
# Loading module "mschap" from file
/etc/freeradius/3.0/mods-enabled/mschap
mschap {
use_mppe = yes
require_encryption = no
require_strong = no
with_ntdomain_hack = yes
ntlm_auth = "/usr/bin/ntlm_auth --request-nt-key
--username=%{%{Stripped-User-Name}:-%{%{User-Name}:-None}}
--challenge=%{%{mschap:Challenge}:-00}
--nt-response=%{%{mschap:NT-Response}:-00}
--domain=%{mschap:NT-Domain:-lab.pc-it.lan}"
passchange {
}
allow_retry = yes
winbind_retry_with_normalised_username = no
}
# Loading module "echo" from file /etc/freeradius/3.0/mods-enabled/echo
exec echo {
wait = yes
program = "/bin/echo %{User-Name}"
input_pairs = "request"
output_pairs = "reply"
shell_escape = yes
}
# Loading module "auth_log" from file
/etc/freeradius/3.0/mods-enabled/detail.log
detail auth_log {
filename =
"/var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
escape_filenames = no
log_packet_header = no
}
# Loading module "reply_log" from file
/etc/freeradius/3.0/mods-enabled/detail.log
detail reply_log {
filename =
"/var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/reply-detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
escape_filenames = no
log_packet_header = no
}
# Loading module "pre_proxy_log" from file
/etc/freeradius/3.0/mods-enabled/detail.log
detail pre_proxy_log {
filename =
"/var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/pre-proxy-detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
escape_filenames = no
log_packet_header = no
}
# Loading module "post_proxy_log" from file
/etc/freeradius/3.0/mods-enabled/detail.log
detail post_proxy_log {
filename =
"/var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/post-proxy-detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
escape_filenames = no
log_packet_header = no
}
# Loaded module rlm_expr
# Loading module "expr" from file /etc/freeradius/3.0/mods-enabled/expr
expr {
safe_characters =
"@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_:
/äéöüàâæçèéêëîïôœùûüaÿÄÉÖÜßÀÂÆÇÈÉÊËÎÏÔŒÙÛÜŸ"
}
# Loaded module rlm_expiration
# Loading module "expiration" from file
/etc/freeradius/3.0/mods-enabled/expiration
instantiate {
}
# Instantiating module "pap" from file
/etc/freeradius/3.0/mods-enabled/pap
# Instantiating module "files" from file
/etc/freeradius/3.0/mods-enabled/files
reading pairlist file /etc/freeradius/3.0/mods-config/files/authorize
reading pairlist file /etc/freeradius/3.0/mods-config/files/accounting
reading pairlist file /etc/freeradius/3.0/mods-config/files/pre-proxy
# Instantiating module "cache_eap" from file
/etc/freeradius/3.0/mods-enabled/cache_eap
rlm_cache (cache_eap): Driver rlm_cache_rbtree (module rlm_cache_rbtree)
loaded and linked
# Instantiating module "attr_filter.post-proxy" from file
/etc/freeradius/3.0/mods-enabled/attr_filter
reading pairlist file /etc/freeradius/3.0/mods-config/attr_filter/post-proxy
# Instantiating module "attr_filter.pre-proxy" from file
/etc/freeradius/3.0/mods-enabled/attr_filter
reading pairlist file /etc/freeradius/3.0/mods-config/attr_filter/pre-proxy
# Instantiating module "attr_filter.access_reject" from file
/etc/freeradius/3.0/mods-enabled/attr_filter
reading pairlist file
/etc/freeradius/3.0/mods-config/attr_filter/access_reject
# Instantiating module "attr_filter.access_challenge" from file
/etc/freeradius/3.0/mods-enabled/attr_filter
reading pairlist file
/etc/freeradius/3.0/mods-config/attr_filter/access_challenge
# Instantiating module "attr_filter.accounting_response" from file
/etc/freeradius/3.0/mods-enabled/attr_filter
reading pairlist file
/etc/freeradius/3.0/mods-config/attr_filter/accounting_response
# Instantiating module "IPASS" from file
/etc/freeradius/3.0/mods-enabled/realm
# Instantiating module "suffix" from file
/etc/freeradius/3.0/mods-enabled/realm
# Instantiating module "bangpath" from file
/etc/freeradius/3.0/mods-enabled/realm
# Instantiating module "realmpercent" from file
/etc/freeradius/3.0/mods-enabled/realm
# Instantiating module "ntdomain" from file
/etc/freeradius/3.0/mods-enabled/realm
# Instantiating module "etc_passwd" from file
/etc/freeradius/3.0/mods-enabled/passwd
rlm_passwd: nfields: 3 keyfield 0(User-Name) listable: no
# Instantiating module "detail" from file
/etc/freeradius/3.0/mods-enabled/detail
# Instantiating module "eap" from file
/etc/freeradius/3.0/mods-enabled/eap
# Linked to sub-module rlm_eap_tls
tls {
tls = "tls-common"
}
tls-config tls-common {
verify_depth = 0
ca_path = "/etc/freeradius/3.0/certs/labrootcacrl_and_CA.pem"
pem_file_type = yes
private_key_file = "/etc/certyfikaty/freerad.pem"
certificate_file = "/etc/certyfikaty/freerad.pem"
ca_file = "/etc/freeradius/3.0/certs/labrootcacrl_and_CA.pem"
dh_file = "/etc/freeradius/3.0/certs/dh"
fragment_size = 1024
include_length = yes
auto_chain = yes
check_crl = yes
check_all_crl = yes
allow_expired_crl = yes
cipher_list = "DEFAULT"
cipher_server_preference = no
ecdh_curve = "prime256v1"
tls_max_version = "1.2"
tls_min_version = "1.2"
cache {
enable = no
lifetime = 24
max_entries = 255
}
verify {
skip_if_ocsp_ok = no
}
ocsp {
enable = no
override_cert_url = yes
url = "http://127.0.0.1/ocsp/"
use_nonce = yes
timeout = 0
softfail = no
}
}
# Linked to sub-module rlm_eap_ttls
ttls {
tls = "tls-common"
default_eap_type = "md5"
copy_request_to_tunnel = no
use_tunneled_reply = no
virtual_server = "inner-tunnel"
include_length = yes
require_client_cert = yes
}
tls: Using cached TLS configuration from previous invocation
# Linked to sub-module rlm_eap_peap
peap {
tls = "tls-common"
default_eap_type = "mschapv2"
copy_request_to_tunnel = no
use_tunneled_reply = no
proxy_tunneled_request_as_eap = yes
virtual_server = "inner-tunnel"
soh = no
require_client_cert = no
}
tls: Using cached TLS configuration from previous invocation
# Linked to sub-module rlm_eap_mschapv2
mschapv2 {
with_ntdomain_hack = no
send_error = no
}
# Instantiating module "linelog" from file
/etc/freeradius/3.0/mods-enabled/linelog
# Instantiating module "log_accounting" from file
/etc/freeradius/3.0/mods-enabled/linelog
# Instantiating module "preprocess" from file
/etc/freeradius/3.0/mods-enabled/preprocess
reading pairlist file /etc/freeradius/3.0/mods-config/preprocess/huntgroups
reading pairlist file /etc/freeradius/3.0/mods-config/preprocess/hints
# Instantiating module "logintime" from file
/etc/freeradius/3.0/mods-enabled/logintime
# Instantiating module "reject" from file
/etc/freeradius/3.0/mods-enabled/always
# Instantiating module "fail" from file
/etc/freeradius/3.0/mods-enabled/always
# Instantiating module "ok" from file
/etc/freeradius/3.0/mods-enabled/always
# Instantiating module "handled" from file
/etc/freeradius/3.0/mods-enabled/always
# Instantiating module "invalid" from file
/etc/freeradius/3.0/mods-enabled/always
# Instantiating module "userlock" from file
/etc/freeradius/3.0/mods-enabled/always
# Instantiating module "notfound" from file
/etc/freeradius/3.0/mods-enabled/always
# Instantiating module "noop" from file
/etc/freeradius/3.0/mods-enabled/always
# Instantiating module "updated" from file
/etc/freeradius/3.0/mods-enabled/always
# Instantiating module "mschap" from file
/etc/freeradius/3.0/mods-enabled/mschap
rlm_mschap (mschap): Initialising connection pool
pool {
start = 5
min = 3
max = 32
spare = 10
uses = 0
lifetime = 86400
cleanup_interval = 300
idle_timeout = 600
retry_delay = 30
spread = no
}
rlm_mschap (mschap): Opening additional connection (0), 1 of 32 pending
slots used
rlm_mschap (mschap): Opening additional connection (1), 1 of 31 pending
slots used
rlm_mschap (mschap): Opening additional connection (2), 1 of 30 pending
slots used
rlm_mschap (mschap): Opening additional connection (3), 1 of 29 pending
slots used
rlm_mschap (mschap): Opening additional connection (4), 1 of 28 pending
slots used
rlm_mschap (mschap): authenticating by calling 'ntlm_auth'
# Instantiating module "auth_log" from file
/etc/freeradius/3.0/mods-enabled/detail.log
rlm_detail (auth_log): 'User-Password' suppressed, will not appear in
detail output
# Instantiating module "reply_log" from file
/etc/freeradius/3.0/mods-enabled/detail.log
# Instantiating module "pre_proxy_log" from file
/etc/freeradius/3.0/mods-enabled/detail.log
# Instantiating module "post_proxy_log" from file
/etc/freeradius/3.0/mods-enabled/detail.log
# Instantiating module "expiration" from file
/etc/freeradius/3.0/mods-enabled/expiration
} # modules
radiusd: #### Loading Virtual Servers ####
server { # from file /etc/freeradius/3.0/radiusd.conf
} # server
server inner-tunnel { # from file
/etc/freeradius/3.0/sites-enabled/inner-tunnel
# Loading authenticate {...}
# Loading authorize {...}
Ignoring "sql" (see raddb/mods-available/README.rst)
Ignoring "ldap" (see raddb/mods-available/README.rst)
# Loading session {...}
# Loading post-proxy {...}
# Loading post-auth {...}
# Skipping contents of 'if' as it is always 'false' --
/etc/freeradius/3.0/sites-enabled/inner-tunnel:338
} # server inner-tunnel
server default { # from file /etc/freeradius/3.0/sites-enabled/default
# Loading authenticate {...}
# Loading authorize {...}
# Loading preacct {...}
# Loading accounting {...}
# Loading post-proxy {...}
# Loading post-auth {...}
} # server default
radiusd: #### Opening IP addresses and Ports ####
listen {
type = "auth"
ipaddr = 127.0.0.1
port = 18120
}
listen {
type = "auth"
ipaddr = *
port = 0
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
listen {
type = "acct"
ipaddr = *
port = 0
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
listen {
type = "auth"
ipv6addr = ::
port = 0
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
listen {
type = "acct"
ipv6addr = ::
port = 0
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
Listening on auth address 127.0.0.1 port 18120 bound to server inner-tunnel
Listening on auth address * port 1812 bound to server default
Listening on acct address * port 1813 bound to server default
Listening on auth address :: port 1812 bound to server default
Listening on acct address :: port 1813 bound to server default
Listening on proxy address * port 58267
Listening on proxy address :: port 44304
Ready to process requests
(0) Received Access-Request Id 85 from 192.168.80.50:32963 to
192.168.80.68:1812 length 217
(0) User-Name = "aaa"
(0) NAS-IP-Address = 192.168.80.50
(0) NAS-Identifier = "822aa877177d"
(0) Called-Station-Id = "82-2A-A8-77-17-7D:uni-81-fr3"
(0) NAS-Port-Type = Wireless-802.11
(0) Service-Type = Framed-User
(0) Calling-Station-Id = "20-47-DA-F1-54-16"
(0) Connect-Info = "CONNECT 0Mbps 802.11b"
(0) Acct-Session-Id = "A29F6EA35DB6E4A8"
(0) Acct-Multi-Session-Id = "A4EEB85F84AC4780"
(0) WLAN-Pairwise-Cipher = 1027076
(0) WLAN-Group-Cipher = 1027076
(0) WLAN-AKM-Suite = 1027073
(0) Framed-MTU = 1400
(0) EAP-Message = 0x02e9000801616161
(0) Message-Authenticator = 0xa557f3d7ddcc8f66fbdea680482dc6f8
(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] = noop
(0) [mschap] = noop
(0) [digest] = noop
(0) suffix: Checking for suffix after "@"
(0) suffix: No '@' in User-Name = "aaa", looking up realm NULL
(0) suffix: No such realm "NULL"
(0) [suffix] = noop
(0) ntdomain: Checking for prefix before "\"
(0) ntdomain: No '\' in User-Name = "aaa", looking up realm NULL
(0) ntdomain: No such realm "NULL"
(0) [ntdomain] = noop
(0) eap: Peer sent EAP Response (code 2) ID 233 length 8
(0) eap: EAP-Identity reply, returning 'ok' so we can short-circuit the
rest of authorize
(0) [eap] = ok
(0) } # authorize = ok
(0) Found Auth-Type = eap
(0) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(0) authenticate {
(0) eap: Peer sent packet with method EAP Identity (1)
(0) eap: Calling submodule eap_peap to process data
(0) eap_peap: Initiating new TLS session
(0) eap_peap: [eaptls start] = request
(0) eap: Sending EAP Request (code 1) ID 234 length 6
(0) eap: EAP session adding &reply:State = 0xc5b51656c55f0f06
(0) [eap] = handled
(0) } # authenticate = handled
(0) Using Post-Auth-Type Challenge
(0) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(0) Challenge { ... } # empty sub-section is ignored
(0) Sent Access-Challenge Id 85 from 192.168.80.68:1812 to
192.168.80.50:32963 length 0
(0) EAP-Message = 0x01ea00061920
(0) Message-Authenticator = 0x00000000000000000000000000000000
(0) State = 0xc5b51656c55f0f062fd5566ed19722ea
(0) Finished request
Waking up in 4.9 seconds.
(1) Received Access-Request Id 86 from 192.168.80.50:32963 to
192.168.80.68:1812 length 233
(1) User-Name = "aaa"
(1) NAS-IP-Address = 192.168.80.50
(1) NAS-Identifier = "822aa877177d"
(1) Called-Station-Id = "82-2A-A8-77-17-7D:uni-81-fr3"
(1) NAS-Port-Type = Wireless-802.11
(1) Service-Type = Framed-User
(1) Calling-Station-Id = "20-47-DA-F1-54-16"
(1) Connect-Info = "CONNECT 0Mbps 802.11b"
(1) Acct-Session-Id = "A29F6EA35DB6E4A8"
(1) Acct-Multi-Session-Id = "A4EEB85F84AC4780"
(1) WLAN-Pairwise-Cipher = 1027076
(1) WLAN-Group-Cipher = 1027076
(1) WLAN-AKM-Suite = 1027073
(1) Framed-MTU = 1400
(1) EAP-Message = 0x02ea0006030d
(1) State = 0xc5b51656c55f0f062fd5566ed19722ea
(1) Message-Authenticator = 0xc46e3ccaae89e250145c6831d1066ffb
(1) session-state: No cached attributes
(1) # Executing section authorize from file
/etc/freeradius/3.0/sites-enabled/default
(1) authorize {
(1) policy filter_username {
(1) if (&User-Name) {
(1) if (&User-Name) -> TRUE
(1) if (&User-Name) {
(1) if (&User-Name =~ / /) {
(1) if (&User-Name =~ / /) -> FALSE
(1) if (&User-Name =~ /@[^@]*@/ ) {
(1) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(1) if (&User-Name =~ /\.\./ ) {
(1) if (&User-Name =~ /\.\./ ) -> FALSE
(1) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(1) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/))
-> FALSE
(1) if (&User-Name =~ /\.$/) {
(1) if (&User-Name =~ /\.$/) -> FALSE
(1) if (&User-Name =~ /(a)\./) {
(1) if (&User-Name =~ /(a)\./) -> FALSE
(1) } # if (&User-Name) = notfound
(1) } # policy filter_username = notfound
(1) [preprocess] = ok
(1) [chap] = noop
(1) [mschap] = noop
(1) [digest] = noop
(1) suffix: Checking for suffix after "@"
(1) suffix: No '@' in User-Name = "aaa", looking up realm NULL
(1) suffix: No such realm "NULL"
(1) [suffix] = noop
(1) ntdomain: Checking for prefix before "\"
(1) ntdomain: No '\' in User-Name = "aaa", looking up realm NULL
(1) ntdomain: No such realm "NULL"
(1) [ntdomain] = noop
(1) eap: Peer sent EAP Response (code 2) ID 234 length 6
(1) eap: No EAP Start, assuming it's an on-going EAP conversation
(1) [eap] = updated
(1) [files] = noop
(1) [expiration] = noop
(1) [logintime] = noop
Not doing PAP as Auth-Type is already set.
(1) [pap] = noop
(1) } # authorize = updated
(1) Found Auth-Type = eap
(1) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(1) authenticate {
(1) eap: Expiring EAP session with state 0xc5b51656c55f0f06
(1) eap: Finished EAP session with state 0xc5b51656c55f0f06
(1) eap: Previous EAP request found for state 0xc5b51656c55f0f06,
released from the list
(1) eap: Peer sent packet with method EAP NAK (3)
(1) eap: Found mutually acceptable type TLS (13)
(1) eap: Calling submodule eap_tls to process data
(1) eap_tls: Initiating new TLS session
(1) eap_tls: Setting verify mode to require certificate from client
(1) eap_tls: [eaptls start] = request
(1) eap: Sending EAP Request (code 1) ID 235 length 6
(1) eap: EAP session adding &reply:State = 0xc5b51656c45e1b06
(1) [eap] = handled
(1) } # authenticate = handled
(1) Using Post-Auth-Type Challenge
(1) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(1) Challenge { ... } # empty sub-section is ignored
(1) Sent Access-Challenge Id 86 from 192.168.80.68:1812 to
192.168.80.50:32963 length 0
(1) EAP-Message = 0x01eb00060d20
(1) Message-Authenticator = 0x00000000000000000000000000000000
(1) State = 0xc5b51656c45e1b062fd5566ed19722ea
(1) Finished request
Waking up in 4.9 seconds.
(2) Received Access-Request Id 87 from 192.168.80.50:32963 to
192.168.80.68:1812 length 376
(2) User-Name = "aaa"
(2) NAS-IP-Address = 192.168.80.50
(2) NAS-Identifier = "822aa877177d"
(2) Called-Station-Id = "82-2A-A8-77-17-7D:uni-81-fr3"
(2) NAS-Port-Type = Wireless-802.11
(2) Service-Type = Framed-User
(2) Calling-Station-Id = "20-47-DA-F1-54-16"
(2) Connect-Info = "CONNECT 0Mbps 802.11b"
(2) Acct-Session-Id = "A29F6EA35DB6E4A8"
(2) Acct-Multi-Session-Id = "A4EEB85F84AC4780"
(2) WLAN-Pairwise-Cipher = 1027076
(2) WLAN-Group-Cipher = 1027076
(2) WLAN-AKM-Suite = 1027073
(2) Framed-MTU = 1400
(2) EAP-Message =
0x02eb00950d00160301008a0100008603038797ac0af212ee3cc7f57adffaa08e44d54efaf4a3432c30cb30821581d669db00002ac02bc02fc02cc030cca9cca8c009c023c013c027c00ac024c014c028009c009d002f003c0035003d000a01000033ff0100010000170000000d00140012040308040401050308050501080606010201000b00020100000a00080006001d00170018
(2) State = 0xc5b51656c45e1b062fd5566ed19722ea
(2) Message-Authenticator = 0x8b322180f01326736d61be859235e4a2
(2) session-state: No cached attributes
(2) # Executing section authorize from file
/etc/freeradius/3.0/sites-enabled/default
(2) authorize {
(2) policy filter_username {
(2) if (&User-Name) {
(2) if (&User-Name) -> TRUE
(2) if (&User-Name) {
(2) if (&User-Name =~ / /) {
(2) if (&User-Name =~ / /) -> FALSE
(2) if (&User-Name =~ /@[^@]*@/ ) {
(2) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(2) if (&User-Name =~ /\.\./ ) {
(2) if (&User-Name =~ /\.\./ ) -> FALSE
(2) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(2) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/))
-> FALSE
(2) if (&User-Name =~ /\.$/) {
(2) if (&User-Name =~ /\.$/) -> FALSE
(2) if (&User-Name =~ /(a)\./) {
(2) if (&User-Name =~ /(a)\./) -> FALSE
(2) } # if (&User-Name) = notfound
(2) } # policy filter_username = notfound
(2) [preprocess] = ok
(2) [chap] = noop
(2) [mschap] = noop
(2) [digest] = noop
(2) suffix: Checking for suffix after "@"
(2) suffix: No '@' in User-Name = "aaa", looking up realm NULL
(2) suffix: No such realm "NULL"
(2) [suffix] = noop
(2) ntdomain: Checking for prefix before "\"
(2) ntdomain: No '\' in User-Name = "aaa", looking up realm NULL
(2) ntdomain: No such realm "NULL"
(2) [ntdomain] = noop
(2) eap: Peer sent EAP Response (code 2) ID 235 length 149
(2) eap: No EAP Start, assuming it's an on-going EAP conversation
(2) [eap] = updated
(2) [files] = noop
(2) [expiration] = noop
(2) [logintime] = noop
(2) [pap] = noop
(2) } # authorize = updated
(2) Found Auth-Type = eap
(2) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(2) authenticate {
(2) eap: Expiring EAP session with state 0xc5b51656c45e1b06
(2) eap: Finished EAP session with state 0xc5b51656c45e1b06
(2) eap: Previous EAP request found for state 0xc5b51656c45e1b06,
released from the list
(2) eap: Peer sent packet with method EAP TLS (13)
(2) eap: Calling submodule eap_tls to process data
(2) eap_tls: Continuing EAP-TLS
(2) eap_tls: [eaptls verify] = ok
(2) eap_tls: Done initial handshake
(2) eap_tls: (other): before SSL initialization
(2) eap_tls: TLS_accept: before SSL initialization
(2) eap_tls: TLS_accept: before SSL initialization
(2) eap_tls: <<< recv TLS 1.3 [length 008a]
(2) eap_tls: TLS_accept: SSLv3/TLS read client hello
(2) eap_tls: >>> send TLS 1.2 [length 003d]
(2) eap_tls: TLS_accept: SSLv3/TLS write server hello
(2) eap_tls: >>> send TLS 1.2 [length 07a0]
(2) eap_tls: TLS_accept: SSLv3/TLS write certificate
(2) eap_tls: >>> send TLS 1.2 [length 014d]
(2) eap_tls: TLS_accept: SSLv3/TLS write key exchange
(2) eap_tls: >>> send TLS 1.2 [length 0089]
(2) eap_tls: TLS_accept: SSLv3/TLS write certificate request
(2) eap_tls: >>> send TLS 1.2 [length 0004]
(2) eap_tls: TLS_accept: SSLv3/TLS write server done
(2) eap_tls: TLS_accept: Need to read more data: SSLv3/TLS write server done
(2) eap_tls: TLS - In Handshake Phase
(2) eap_tls: TLS - got 2512 bytes of data
(2) eap_tls: [eaptls process] = handled
(2) eap: Sending EAP Request (code 1) ID 236 length 1004
(2) eap: EAP session adding &reply:State = 0xc5b51656c7591b06
(2) [eap] = handled
(2) } # authenticate = handled
(2) Using Post-Auth-Type Challenge
(2) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(2) Challenge { ... } # empty sub-section is ignored
(2) Sent Access-Challenge Id 87 from 192.168.80.68:1812 to
192.168.80.50:32963 length 0
(2) EAP-Message =
0x01ec03ec0dc0000009d0160303003d020000390303aa3e80f3e846014e80fa651e096d86561cc64d1b960664181757418892c9543000c02f000011ff01000100000b0004030001020017000016030307a00b00079c0007990003f9308203f5308202dda00302010202083fd7a31fc4497c7b300d06092a864886f70d01010b05003051310b300906035504061302504c31163014060355040a130d6c61622e70632d69742e6c616e31163014060355040b130d6c61622e70632d69742e6c616e31123010060355040313096c6162726f6f746361301e170d3234303632323231313830305a170d3235303632323231313830305a304f310b300906035504061302504c31163014060355040a130d6c61622e70632d69742e6c616e31163014060355040b130d6c61622e70632d69742e6c616e3110300e060355040313076672656572616430820122300d06092a864886f70d01010105000382010f003082010a0282010100ca320ac3e88dca270b3bc2daf9cd8dec56
(2) Message-Authenticator = 0x00000000000000000000000000000000
(2) State = 0xc5b51656c7591b062fd5566ed19722ea
(2) Finished request
Waking up in 4.9 seconds.
(3) Received Access-Request Id 88 from 192.168.80.50:32963 to
192.168.80.68:1812 length 233
(3) User-Name = "aaa"
(3) NAS-IP-Address = 192.168.80.50
(3) NAS-Identifier = "822aa877177d"
(3) Called-Station-Id = "82-2A-A8-77-17-7D:uni-81-fr3"
(3) NAS-Port-Type = Wireless-802.11
(3) Service-Type = Framed-User
(3) Calling-Station-Id = "20-47-DA-F1-54-16"
(3) Connect-Info = "CONNECT 0Mbps 802.11b"
(3) Acct-Session-Id = "A29F6EA35DB6E4A8"
(3) Acct-Multi-Session-Id = "A4EEB85F84AC4780"
(3) WLAN-Pairwise-Cipher = 1027076
(3) WLAN-Group-Cipher = 1027076
(3) WLAN-AKM-Suite = 1027073
(3) Framed-MTU = 1400
(3) EAP-Message = 0x02ec00060d00
(3) State = 0xc5b51656c7591b062fd5566ed19722ea
(3) Message-Authenticator = 0x5b5885288a12b7120ba42214842c1a7d
(3) session-state: No cached attributes
(3) # Executing section authorize from file
/etc/freeradius/3.0/sites-enabled/default
(3) authorize {
(3) policy filter_username {
(3) if (&User-Name) {
(3) if (&User-Name) -> TRUE
(3) if (&User-Name) {
(3) if (&User-Name =~ / /) {
(3) if (&User-Name =~ / /) -> FALSE
(3) if (&User-Name =~ /@[^@]*@/ ) {
(3) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(3) if (&User-Name =~ /\.\./ ) {
(3) if (&User-Name =~ /\.\./ ) -> FALSE
(3) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(3) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/))
-> FALSE
(3) if (&User-Name =~ /\.$/) {
(3) if (&User-Name =~ /\.$/) -> FALSE
(3) if (&User-Name =~ /(a)\./) {
(3) if (&User-Name =~ /(a)\./) -> FALSE
(3) } # if (&User-Name) = notfound
(3) } # policy filter_username = notfound
(3) [preprocess] = ok
(3) [chap] = noop
(3) [mschap] = noop
(3) [digest] = noop
(3) suffix: Checking for suffix after "@"
(3) suffix: No '@' in User-Name = "aaa", looking up realm NULL
(3) suffix: No such realm "NULL"
(3) [suffix] = noop
(3) ntdomain: Checking for prefix before "\"
(3) ntdomain: No '\' in User-Name = "aaa", looking up realm NULL
(3) ntdomain: No such realm "NULL"
(3) [ntdomain] = noop
(3) eap: Peer sent EAP Response (code 2) ID 236 length 6
(3) eap: No EAP Start, assuming it's an on-going EAP conversation
(3) [eap] = updated
(3) [files] = noop
(3) [expiration] = noop
(3) [logintime] = noop
(3) [pap] = noop
(3) } # authorize = updated
(3) Found Auth-Type = eap
(3) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(3) authenticate {
(3) eap: Expiring EAP session with state 0xc5b51656c7591b06
(3) eap: Finished EAP session with state 0xc5b51656c7591b06
(3) eap: Previous EAP request found for state 0xc5b51656c7591b06,
released from the list
(3) eap: Peer sent packet with method EAP TLS (13)
(3) eap: Calling submodule eap_tls to process data
(3) eap_tls: Continuing EAP-TLS
(3) eap_tls: Peer ACKed our handshake fragment
(3) eap_tls: [eaptls verify] = request
(3) eap_tls: [eaptls process] = handled
(3) eap: Sending EAP Request (code 1) ID 237 length 1004
(3) eap: EAP session adding &reply:State = 0xc5b51656c6581b06
(3) [eap] = handled
(3) } # authenticate = handled
(3) Using Post-Auth-Type Challenge
(3) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(3) Challenge { ... } # empty sub-section is ignored
(3) Sent Access-Challenge Id 88 from 192.168.80.68:1812 to
192.168.80.50:32963 length 0
(3) EAP-Message =
0x01ed03ec0dc0000009d083bbbf63d3412eb67d2e9b76bc940c21bcd2d8fb0e0903edb96f942effbf10ea9e02061ed9e2e16b550cfec2b03861a4893803a40909ca2927a26464e80d3d412379118749142bdd6501a495016a792bca81198d00efa652e8bf23dcc47e1aca332cff830ea9c19400039a308203963082027ea00302010202085926eb742ef1ac6d300d06092a864886f70d01010b05003051310b300906035504061302504c31163014060355040a130d6c61622e70632d69742e6c616e31163014060355040b130d6c61622e70632d69742e6c616e31123010060355040313096c6162726f6f746361301e170d3234303632323230333730305a170d3334303632323230333730305a3051310b300906035504061302504c31163014060355040a130d6c61622e70632d69742e6c616e31163014060355040b130d6c61622e70632d69742e6c616e31123010060355040313096c6162726f6f74636130820122300d06092a864886f70d0101010500038201
(3) Message-Authenticator = 0x00000000000000000000000000000000
(3) State = 0xc5b51656c6581b062fd5566ed19722ea
(3) Finished request
Waking up in 4.9 seconds.
(4) Received Access-Request Id 89 from 192.168.80.50:32963 to
192.168.80.68:1812 length 233
(4) User-Name = "aaa"
(4) NAS-IP-Address = 192.168.80.50
(4) NAS-Identifier = "822aa877177d"
(4) Called-Station-Id = "82-2A-A8-77-17-7D:uni-81-fr3"
(4) NAS-Port-Type = Wireless-802.11
(4) Service-Type = Framed-User
(4) Calling-Station-Id = "20-47-DA-F1-54-16"
(4) Connect-Info = "CONNECT 0Mbps 802.11b"
(4) Acct-Session-Id = "A29F6EA35DB6E4A8"
(4) Acct-Multi-Session-Id = "A4EEB85F84AC4780"
(4) WLAN-Pairwise-Cipher = 1027076
(4) WLAN-Group-Cipher = 1027076
(4) WLAN-AKM-Suite = 1027073
(4) Framed-MTU = 1400
(4) EAP-Message = 0x02ed00060d00
(4) State = 0xc5b51656c6581b062fd5566ed19722ea
(4) Message-Authenticator = 0xea5939d6e35c8e1e6b84a14a5fd2a0d8
(4) session-state: No cached attributes
(4) # Executing section authorize from file
/etc/freeradius/3.0/sites-enabled/default
(4) authorize {
(4) policy filter_username {
(4) if (&User-Name) {
(4) if (&User-Name) -> TRUE
(4) if (&User-Name) {
(4) if (&User-Name =~ / /) {
(4) if (&User-Name =~ / /) -> FALSE
(4) if (&User-Name =~ /@[^@]*@/ ) {
(4) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(4) if (&User-Name =~ /\.\./ ) {
(4) if (&User-Name =~ /\.\./ ) -> FALSE
(4) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(4) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/))
-> FALSE
(4) if (&User-Name =~ /\.$/) {
(4) if (&User-Name =~ /\.$/) -> FALSE
(4) if (&User-Name =~ /(a)\./) {
(4) if (&User-Name =~ /(a)\./) -> FALSE
(4) } # if (&User-Name) = notfound
(4) } # policy filter_username = notfound
(4) [preprocess] = ok
(4) [chap] = noop
(4) [mschap] = noop
(4) [digest] = noop
(4) suffix: Checking for suffix after "@"
(4) suffix: No '@' in User-Name = "aaa", looking up realm NULL
(4) suffix: No such realm "NULL"
(4) [suffix] = noop
(4) ntdomain: Checking for prefix before "\"
(4) ntdomain: No '\' in User-Name = "aaa", looking up realm NULL
(4) ntdomain: No such realm "NULL"
(4) [ntdomain] = noop
(4) eap: Peer sent EAP Response (code 2) ID 237 length 6
(4) eap: No EAP Start, assuming it's an on-going EAP conversation
(4) [eap] = updated
(4) [files] = noop
(4) [expiration] = noop
(4) [logintime] = noop
(4) [pap] = noop
(4) } # authorize = updated
(4) Found Auth-Type = eap
(4) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(4) authenticate {
(4) eap: Expiring EAP session with state 0xc5b51656c6581b06
(4) eap: Finished EAP session with state 0xc5b51656c6581b06
(4) eap: Previous EAP request found for state 0xc5b51656c6581b06,
released from the list
(4) eap: Peer sent packet with method EAP TLS (13)
(4) eap: Calling submodule eap_tls to process data
(4) eap_tls: Continuing EAP-TLS
(4) eap_tls: Peer ACKed our handshake fragment
(4) eap_tls: [eaptls verify] = request
(4) eap_tls: [eaptls process] = handled
(4) eap: Sending EAP Request (code 1) ID 238 length 534
(4) eap: EAP session adding &reply:State = 0xc5b51656c15b1b06
(4) [eap] = handled
(4) } # authenticate = handled
(4) Using Post-Auth-Type Challenge
(4) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(4) Challenge { ... } # empty sub-section is ignored
(4) Sent Access-Challenge Id 89 from 192.168.80.68:1812 to
192.168.80.50:32963 length 0
(4) EAP-Message =
0x01ee02160d80000009d091697b897308ebb39a432223743568ad7a94cf65db25e5368c36f888841d11035e1485160303014d0c0001490300174104b6a97220f9d76adfa34b3c21922b3408801a9ffd0cd87d165b7f0d418e3915ee383fdef46fee31f1221a31c23f51a9196c3d7e88b3e0d77181f2137ae8d7e26508040100332dc9fe5a3c6d2ff5c9019753879edfc08a908dfbcc43f4b3fe494524162c7e2c462a79ec277d97dec7275c568137c13ed140685463d27a880d936bd655f10b7e9f0ce949817a4a9fdb296338bad5c50ad58ec69c3cc3a3880f9b660a0fb000c3df928c6f011a583ffbe0e28502c274acb8bc81ec0996b81b99e50e03f88c4538d89d1cbc7af636244ebebfc1511f02d3c47dca48dfe8f6ab4593fc33a7fdab1109e9ddfbf2a06f875efcb25bbcca8a88e7370a210bf379899f5fdc4e1bd4b2f30d4b7661dfd6f880532817bbddfd1c099dbde644af3bede64ede636342b291bb103bc9c1c873fecb2256f180e9c75335e39c659243b759
(4) Message-Authenticator = 0x00000000000000000000000000000000
(4) State = 0xc5b51656c15b1b062fd5566ed19722ea
(4) Finished request
Waking up in 4.9 seconds.
(5) Received Access-Request Id 90 from 192.168.80.50:32963 to
192.168.80.68:1812 length 1645
(5) User-Name = "aaa"
(5) NAS-IP-Address = 192.168.80.50
(5) NAS-Identifier = "822aa877177d"
(5) Called-Station-Id = "82-2A-A8-77-17-7D:uni-81-fr3"
(5) NAS-Port-Type = Wireless-802.11
(5) Service-Type = Framed-User
(5) Calling-Station-Id = "20-47-DA-F1-54-16"
(5) Connect-Info = "CONNECT 0Mbps 802.11b"
(5) Acct-Session-Id = "A29F6EA35DB6E4A8"
(5) Acct-Multi-Session-Id = "A4EEB85F84AC4780"
(5) WLAN-Pairwise-Cipher = 1027076
(5) WLAN-Group-Cipher = 1027076
(5) WLAN-AKM-Suite = 1027073
(5) Framed-MTU = 1400
(5) EAP-Message =
0x02ee05800dc00000091a160303078a0b0007860007830003e3308203df308202c7a00302010202080ee5d6cac71d375f300d06092a864886f70d01010b05003051310b300906035504061302504c31163014060355040a130d6c61622e70632d69742e6c616e31163014060355040b130d6c61622e70632d69742e6c616e31123010060355040313096c6162726f6f746361301e170d3234303632323231323730305a170d3235303632323231323730305a304d310b300906035504061302504c31163014060355040a130d6c61622e70632d69742e6c616e31163014060355040b130d6c61622e70632d69742e6c616e310e300c06035504031305757365723130820122300d06092a864886f70d01010105000382010f003082010a0282010100d6fbf7e3fcd4700c88ff513fc6b03e0e031148aee6642ddf3a48323e24ff3169ab433745d476f37144768e9de6155ddf0f92495d1b5f2a1dca3ad3be72f282a149f67c4a6a340a1bcf5520b21d385464caebbb657e
(5) State = 0xc5b51656c15b1b062fd5566ed19722ea
(5) Message-Authenticator = 0x3b75557e8d8a15b3a0deca13b66d54ce
(5) session-state: No cached attributes
(5) # Executing section authorize from file
/etc/freeradius/3.0/sites-enabled/default
(5) authorize {
(5) policy filter_username {
(5) if (&User-Name) {
(5) if (&User-Name) -> TRUE
(5) if (&User-Name) {
(5) if (&User-Name =~ / /) {
(5) if (&User-Name =~ / /) -> FALSE
(5) if (&User-Name =~ /@[^@]*@/ ) {
(5) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(5) if (&User-Name =~ /\.\./ ) {
(5) if (&User-Name =~ /\.\./ ) -> FALSE
(5) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(5) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/))
-> FALSE
(5) if (&User-Name =~ /\.$/) {
(5) if (&User-Name =~ /\.$/) -> FALSE
(5) if (&User-Name =~ /(a)\./) {
(5) if (&User-Name =~ /(a)\./) -> FALSE
(5) } # if (&User-Name) = notfound
(5) } # policy filter_username = notfound
(5) [preprocess] = ok
(5) [chap] = noop
(5) [mschap] = noop
(5) [digest] = noop
(5) suffix: Checking for suffix after "@"
(5) suffix: No '@' in User-Name = "aaa", looking up realm NULL
(5) suffix: No such realm "NULL"
(5) [suffix] = noop
(5) ntdomain: Checking for prefix before "\"
(5) ntdomain: No '\' in User-Name = "aaa", looking up realm NULL
(5) ntdomain: No such realm "NULL"
(5) [ntdomain] = noop
(5) eap: Peer sent EAP Response (code 2) ID 238 length 1408
(5) eap: No EAP Start, assuming it's an on-going EAP conversation
(5) [eap] = updated
(5) [files] = noop
(5) [expiration] = noop
(5) [logintime] = noop
(5) [pap] = noop
(5) } # authorize = updated
(5) Found Auth-Type = eap
(5) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(5) authenticate {
(5) eap: Expiring EAP session with state 0xc5b51656c15b1b06
(5) eap: Finished EAP session with state 0xc5b51656c15b1b06
(5) eap: Previous EAP request found for state 0xc5b51656c15b1b06,
released from the list
(5) eap: Peer sent packet with method EAP TLS (13)
(5) eap: Calling submodule eap_tls to process data
(5) eap_tls: Continuing EAP-TLS
(5) eap_tls: Peer indicated complete TLS record size will be 2330 bytes
(5) eap_tls: Expecting 2 TLS record fragments
(5) eap_tls: Got first TLS record fragment (1398 bytes). Peer indicated
more fragments to follow
(5) eap_tls: [eaptls verify] = first fragment
(5) eap_tls: ACKing Peer's TLS record fragment
(5) eap_tls: [eaptls process] = handled
(5) eap: Sending EAP Request (code 1) ID 239 length 6
(5) eap: EAP session adding &reply:State = 0xc5b51656c05a1b06
(5) [eap] = handled
(5) } # authenticate = handled
(5) Using Post-Auth-Type Challenge
(5) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(5) Challenge { ... } # empty sub-section is ignored
(5) Sent Access-Challenge Id 90 from 192.168.80.68:1812 to
192.168.80.50:32963 length 0
(5) EAP-Message = 0x01ef00060d00
(5) Message-Authenticator = 0x00000000000000000000000000000000
(5) State = 0xc5b51656c05a1b062fd5566ed19722ea
(5) Finished request
Waking up in 4.6 seconds.
(6) Received Access-Request Id 91 from 192.168.80.50:32963 to
192.168.80.68:1812 length 1171
(6) User-Name = "aaa"
(6) NAS-IP-Address = 192.168.80.50
(6) NAS-Identifier = "822aa877177d"
(6) Called-Station-Id = "82-2A-A8-77-17-7D:uni-81-fr3"
(6) NAS-Port-Type = Wireless-802.11
(6) Service-Type = Framed-User
(6) Calling-Station-Id = "20-47-DA-F1-54-16"
(6) Connect-Info = "CONNECT 0Mbps 802.11b"
(6) Acct-Session-Id = "A29F6EA35DB6E4A8"
(6) Acct-Multi-Session-Id = "A4EEB85F84AC4780"
(6) WLAN-Pairwise-Cipher = 1027076
(6) WLAN-Group-Cipher = 1027076
(6) WLAN-AKM-Suite = 1027073
(6) Framed-MTU = 1400
(6) EAP-Message =
0x02ef03aa0d00a31bd406bd419ac2c6c8c1558353382c2aa6808a2d507b5487a46bb5866af41575ff0bb0217e27719c75285337064bdaba8d9b3267aa1f7ae4b4dc9c46ba5b6f51da6c5fd40f9f52f59728a3f2c5d7a39254858fc74c1cf1ab7b26c753bf1cc49676e9ec6eb601f239b6e00ccab7d4205e6db52ee4b526d5a754d974978899b5d7b31e7607ffca67977c492d0203010001a3723070300f0603551d130101ff040530030101ff301d0603551d0e04160414af0d01ee364b6a74babdc79d7b47f2d6a11afb20300b0603551d0f040403020106301106096086480186f8420101040403020007301e06096086480186f842010d0411160f786361206365727469666963617465300d06092a864886f70d01010b05000382010100aab4f1cc959384cdc9af42af74841cd919fc9db3ff86ebb37c02fc4269cdf4092466bbf3da908b9e79b3b413a059bee72153d6da3ee6a8e4c39294b71fe826edd660137f4b60a70f7d3df14b8724a4671a2823ebee6c31d6
(6) State = 0xc5b51656c05a1b062fd5566ed19722ea
(6) Message-Authenticator = 0xa1f43a9397da1bf16cb84acc8d1b3051
(6) session-state: No cached attributes
(6) # Executing section authorize from file
/etc/freeradius/3.0/sites-enabled/default
(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) [chap] = noop
(6) [mschap] = noop
(6) [digest] = noop
(6) suffix: Checking for suffix after "@"
(6) suffix: No '@' in User-Name = "aaa", looking up realm NULL
(6) suffix: No such realm "NULL"
(6) [suffix] = noop
(6) ntdomain: Checking for prefix before "\"
(6) ntdomain: No '\' in User-Name = "aaa", looking up realm NULL
(6) ntdomain: No such realm "NULL"
(6) [ntdomain] = noop
(6) eap: Peer sent EAP Response (code 2) ID 239 length 938
(6) eap: No EAP Start, assuming it's an on-going EAP conversation
(6) [eap] = updated
(6) [files] = noop
(6) [expiration] = noop
(6) [logintime] = noop
(6) [pap] = noop
(6) } # authorize = updated
(6) Found Auth-Type = eap
(6) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(6) authenticate {
(6) eap: Expiring EAP session with state 0xc5b51656c05a1b06
(6) eap: Finished EAP session with state 0xc5b51656c05a1b06
(6) eap: Previous EAP request found for state 0xc5b51656c05a1b06,
released from the list
(6) eap: Peer sent packet with method EAP TLS (13)
(6) eap: Calling submodule eap_tls to process data
(6) eap_tls: Continuing EAP-TLS
(6) eap_tls: Got final TLS record fragment (932 bytes)
(6) eap_tls: [eaptls verify] = ok
(6) eap_tls: Done initial handshake
(6) eap_tls: TLS_accept: SSLv3/TLS write server done
(6) eap_tls: <<< recv TLS 1.2 [length 078a]
(6) eap_tls: TLS - Creating attributes from certificate OIDs
(6) eap_tls: TLS-Cert-Serial := "5926eb742ef1ac6d"
(6) eap_tls: TLS-Cert-Expiration := "340622203700Z"
(6) eap_tls: TLS-Cert-Valid-Since := "240622203700Z"
(6) eap_tls: TLS-Cert-Subject :=
"/C=PL/O=lab.pc-it.lan/OU=lab.pc-it.lan/CN=labrootca"
(6) eap_tls: TLS-Cert-Issuer :=
"/C=PL/O=lab.pc-it.lan/OU=lab.pc-it.lan/CN=labrootca"
(6) eap_tls: TLS-Cert-Common-Name := "labrootca"
(6) eap_tls: TLS - Creating attributes from certificate OIDs
(6) eap_tls: TLS-Client-Cert-Serial := "0ee5d6cac71d375f"
(6) eap_tls: TLS-Client-Cert-Expiration := "250622212700Z"
(6) eap_tls: TLS-Client-Cert-Valid-Since := "240622212700Z"
(6) eap_tls: TLS-Client-Cert-Subject :=
"/C=PL/O=lab.pc-it.lan/OU=lab.pc-it.lan/CN=user1"
(6) eap_tls: TLS-Client-Cert-Issuer :=
"/C=PL/O=lab.pc-it.lan/OU=lab.pc-it.lan/CN=labrootca"
(6) eap_tls: TLS-Client-Cert-Common-Name := "user1"
(6) eap_tls: TLS-Client-Cert-X509v3-Basic-Constraints += "CA:FALSE"
(6) eap_tls: TLS-Client-Cert-X509v3-Subject-Key-Identifier +=
"AA:85:94:68:EE:AB:8F:42:AD:84:46:E3:8F:52:E4:C0:FB:CE:2C:FB"
(6) eap_tls: TLS-Client-Cert-X509v3-Extended-Key-Usage += "TLS Web
Client Authentication"
(6) eap_tls: TLS-Client-Cert-X509v3-Extended-Key-Usage-OID +=
"1.3.6.1.5.5.7.3.2"
(6) eap_tls: TLS_accept: SSLv3/TLS read client certificate
(6) eap_tls: <<< recv TLS 1.2 [length 0046]
(6) eap_tls: TLS_accept: SSLv3/TLS read client key exchange
(6) eap_tls: <<< recv TLS 1.2 [length 0108]
(6) eap_tls: TLS_accept: SSLv3/TLS read certificate verify
(6) eap_tls: TLS_accept: SSLv3/TLS read change cipher spec
(6) eap_tls: <<< recv TLS 1.2 [length 0010]
(6) eap_tls: TLS_accept: SSLv3/TLS read finished
(6) eap_tls: >>> send TLS 1.2 [length 0001]
(6) eap_tls: TLS_accept: SSLv3/TLS write change cipher spec
(6) eap_tls: >>> send TLS 1.2 [length 0010]
(6) eap_tls: TLS_accept: SSLv3/TLS write finished
(6) eap_tls: (other): SSL negotiation finished successfully
(6) eap_tls: TLS - Connection Established
(6) eap_tls: TLS-Session-Cipher-Suite = "ECDHE-RSA-AES128-GCM-SHA256"
(6) eap_tls: TLS-Session-Version = "TLS 1.2"
(6) eap_tls: TLS - got 51 bytes of data
(6) eap_tls: [eaptls process] = handled
(6) eap: Sending EAP Request (code 1) ID 240 length 61
(6) eap: EAP session adding &reply:State = 0xc5b51656c3451b06
(6) [eap] = handled
(6) } # authenticate = handled
(6) Using Post-Auth-Type Challenge
(6) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(6) Challenge { ... } # empty sub-section is ignored
(6) session-state: Saving cached attributes
(6) TLS-Session-Cipher-Suite = "ECDHE-RSA-AES128-GCM-SHA256"
(6) TLS-Session-Version = "TLS 1.2"
(6) Sent Access-Challenge Id 91 from 192.168.80.68:1812 to
192.168.80.50:32963 length 0
(6) EAP-Message =
0x01f0003d0d800000003314030300010116030300281662faa733a21fdfe0137be5368e594fe764ee6670ae5ac0b92052209494cd1707069b09d1bef56c
(6) Message-Authenticator = 0x00000000000000000000000000000000
(6) State = 0xc5b51656c3451b062fd5566ed19722ea
(6) Finished request
Waking up in 4.6 seconds.
(7) Received Access-Request Id 92 from 192.168.80.50:32963 to
192.168.80.68:1812 length 233
(7) User-Name = "aaa"
(7) NAS-IP-Address = 192.168.80.50
(7) NAS-Identifier = "822aa877177d"
(7) Called-Station-Id = "82-2A-A8-77-17-7D:uni-81-fr3"
(7) NAS-Port-Type = Wireless-802.11
(7) Service-Type = Framed-User
(7) Calling-Station-Id = "20-47-DA-F1-54-16"
(7) Connect-Info = "CONNECT 0Mbps 802.11b"
(7) Acct-Session-Id = "A29F6EA35DB6E4A8"
(7) Acct-Multi-Session-Id = "A4EEB85F84AC4780"
(7) WLAN-Pairwise-Cipher = 1027076
(7) WLAN-Group-Cipher = 1027076
(7) WLAN-AKM-Suite = 1027073
(7) Framed-MTU = 1400
(7) EAP-Message = 0x02f000060d00
(7) State = 0xc5b51656c3451b062fd5566ed19722ea
(7) Message-Authenticator = 0x45abe55149eec9d435f068eae84e45ea
(7) Restoring &session-state
(7) &session-state:TLS-Session-Cipher-Suite =
"ECDHE-RSA-AES128-GCM-SHA256"
(7) &session-state:TLS-Session-Version = "TLS 1.2"
(7) # Executing section authorize from file
/etc/freeradius/3.0/sites-enabled/default
(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) [chap] = noop
(7) [mschap] = noop
(7) [digest] = noop
(7) suffix: Checking for suffix after "@"
(7) suffix: No '@' in User-Name = "aaa", looking up realm NULL
(7) suffix: No such realm "NULL"
(7) [suffix] = noop
(7) ntdomain: Checking for prefix before "\"
(7) ntdomain: No '\' in User-Name = "aaa", looking up realm NULL
(7) ntdomain: No such realm "NULL"
(7) [ntdomain] = noop
(7) eap: Peer sent EAP Response (code 2) ID 240 length 6
(7) eap: No EAP Start, assuming it's an on-going EAP conversation
(7) [eap] = updated
(7) [files] = noop
(7) [expiration] = noop
(7) [logintime] = noop
(7) [pap] = noop
(7) } # authorize = updated
(7) Found Auth-Type = eap
(7) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(7) authenticate {
(7) eap: Expiring EAP session with state 0xc5b51656c3451b06
(7) eap: Finished EAP session with state 0xc5b51656c3451b06
(7) eap: Previous EAP request found for state 0xc5b51656c3451b06,
released from the list
(7) eap: Peer sent packet with method EAP TLS (13)
(7) eap: Calling submodule eap_tls to process data
(7) eap_tls: Continuing EAP-TLS
(7) eap_tls: Peer ACKed our handshake fragment. handshake is finished
(7) eap_tls: [eaptls verify] = success
(7) eap_tls: [eaptls process] = success
(7) eap: Sending EAP Success (code 3) ID 240 length 4
(7) eap: Freeing handler
(7) [eap] = ok
(7) } # authenticate = ok
(7) # Executing section post-auth from file
/etc/freeradius/3.0/sites-enabled/default
(7) post-auth {
(7) if (session-state:User-Name && reply:User-Name &&
request:User-Name && (reply:User-Name == request:User-Name)) {
(7) if (session-state:User-Name && reply:User-Name &&
request:User-Name && (reply:User-Name == request:User-Name)) -> FALSE
(7) update {
(7) &reply::TLS-Session-Cipher-Suite +=
&session-state:TLS-Session-Cipher-Suite[*] -> 'ECDHE-RSA-AES128-GCM-SHA256'
(7) &reply::TLS-Session-Version +=
&session-state:TLS-Session-Version[*] -> 'TLS 1.2'
(7) } # update = noop
(7) [exec] = noop
(7) policy remove_reply_message_if_eap {
(7) if (&reply:EAP-Message && &reply:Reply-Message) {
(7) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE
(7) else {
(7) [noop] = noop
(7) } # else = noop
(7) } # policy remove_reply_message_if_eap = noop
(7) } # post-auth = noop
(7) Sent Access-Accept Id 92 from 192.168.80.68:1812 to
192.168.80.50:32963 length 0
(7) MS-MPPE-Recv-Key =
0x406733be33c96e20a4ad82593923dee8f714646847128f39978e739d51e5dc54
(7) MS-MPPE-Send-Key =
0x12bddabe72908fde73e92b19c4fe5dff6afa3d4ccc2dfb61d865ecc296783da8
(7) EAP-Message = 0x03f00004
(7) Message-Authenticator = 0x00000000000000000000000000000000
(7) User-Name = "aaa"
(7) Finished request
Waking up in 4.6 seconds.
(8) Received Accounting-Request Id 93 from 192.168.80.50:55237 to
192.168.80.68:1813 length 213
(8) Acct-Status-Type = Start
(8) Acct-Authentic = RADIUS
(8) User-Name = "aaa"
(8) NAS-IP-Address = 192.168.80.50
(8) Framed-IP-Address = 192.168.80.61
(8) NAS-Identifier = "822aa877177d"
(8) Called-Station-Id = "82-2A-A8-77-17-7D:uni-81-fr3"
(8) NAS-Port-Type = Wireless-802.11
(8) Service-Type = Framed-User
(8) Calling-Station-Id = "20-47-DA-F1-54-16"
(8) Connect-Info = "CONNECT 0Mbps 802.11b"
(8) Acct-Session-Id = "A29F6EA35DB6E4A8"
(8) Acct-Multi-Session-Id = "A4EEB85F84AC4780"
(8) WLAN-Pairwise-Cipher = 1027076
(8) WLAN-Group-Cipher = 1027076
(8) WLAN-AKM-Suite = 1027073
(8) Event-Timestamp = "Jun 30 2024 23:07:42 CEST"
(8) Acct-Delay-Time = 0
(8) # Executing section preacct from file
/etc/freeradius/3.0/sites-enabled/default
(8) preacct {
(8) [preprocess] = ok
(8) policy acct_unique {
(8) update request {
(8) &Tmp-String-9 := "ai:"
(8) } # update request = noop
(8) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) &&
("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) {
(8) EXPAND %{hex:&Class}
(8) -->
(8) EXPAND ^%{hex:&Tmp-String-9}
(8) --> ^61693a
(8) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) &&
("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE
(8) else {
(8) update request {
(8) EXPAND
%{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}}
(8) --> b48085220c535c93a65396983387809b
(8) &Acct-Unique-Session-Id := b48085220c535c93a65396983387809b
(8) } # update request = noop
(8) } # else = noop
(8) } # policy acct_unique = noop
(8) suffix: Checking for suffix after "@"
(8) suffix: No '@' in User-Name = "aaa", looking up realm NULL
(8) suffix: No such realm "NULL"
(8) [suffix] = noop
(8) [files] = noop
(8) } # preacct = ok
(8) # Executing section accounting from file
/etc/freeradius/3.0/sites-enabled/default
(8) accounting {
(8) detail: EXPAND
/var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d
(8) detail: --> /var/log/freeradius/radacct/192.168.80.50/detail-20240630
(8) detail:
/var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d
expands to /var/log/freeradius/radacct/192.168.80.50/detail-20240630
(8) detail: EXPAND %t
(8) detail: --> Sun Jun 30 23:07:42 2024
(8) [detail] = ok
(8) [unix] = ok
(8) [exec] = noop
(8) attr_filter.accounting_response: EXPAND %{User-Name}
(8) attr_filter.accounting_response: --> aaa
(8) attr_filter.accounting_response: Matched entry DEFAULT at line 12
(8) [attr_filter.accounting_response] = updated
(8) } # accounting = updated
(8) Sent Accounting-Response Id 93 from 192.168.80.68:1813 to
192.168.80.50:55237 length 0
(8) Finished request
(8) Cleaning up request packet ID 93 with timestamp +14
Waking up in 3.2 seconds.
(0) Cleaning up request packet ID 85 with timestamp +12
(1) Cleaning up request packet ID 86 with timestamp +12
(2) Cleaning up request packet ID 87 with timestamp +12
(3) Cleaning up request packet ID 88 with timestamp +12
(4) Cleaning up request packet ID 89 with timestamp +12
Waking up in 0.2 seconds.
(5) Cleaning up request packet ID 90 with timestamp +13
(6) Cleaning up request packet ID 91 with timestamp +13
(7) Cleaning up request packet ID 92 with timestamp +13
Ready to process requests
(9) Received Accounting-Request Id 94 from 192.168.80.50:55237 to
192.168.80.68:1813 length 261
(9) Acct-Status-Type = Stop
(9) Acct-Authentic = RADIUS
(9) User-Name = "aaa"
(9) NAS-IP-Address = 192.168.80.50
(9) Framed-IP-Address = 192.168.80.61
(9) NAS-Identifier = "822aa877177d"
(9) Called-Station-Id = "82-2A-A8-77-17-7D:uni-81-fr3"
(9) NAS-Port-Type = Wireless-802.11
(9) Service-Type = Framed-User
(9) Calling-Station-Id = "20-47-DA-F1-54-16"
(9) Connect-Info = "CONNECT 0Mbps 802.11b"
(9) Acct-Session-Id = "A29F6EA35DB6E4A8"
(9) Acct-Multi-Session-Id = "A4EEB85F84AC4780"
(9) WLAN-Pairwise-Cipher = 1027076
(9) WLAN-Group-Cipher = 1027076
(9) WLAN-AKM-Suite = 1027073
(9) Event-Timestamp = "Jun 30 2024 23:08:02 CEST"
(9) Acct-Delay-Time = 0
(9) Acct-Session-Time = 19
(9) Acct-Input-Packets = 1517
(9) Acct-Output-Packets = 2451
(9) Acct-Input-Octets = 280691
(9) Acct-Input-Gigawords = 0
(9) Acct-Output-Octets = 2382768
(9) Acct-Output-Gigawords = 0
(9) Acct-Terminate-Cause = User-Request
(9) # Executing section preacct from file
/etc/freeradius/3.0/sites-enabled/default
(9) preacct {
(9) [preprocess] = ok
(9) policy acct_unique {
(9) update request {
(9) &Tmp-String-9 := "ai:"
(9) } # update request = noop
(9) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) &&
("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) {
(9) EXPAND %{hex:&Class}
(9) -->
(9) EXPAND ^%{hex:&Tmp-String-9}
(9) --> ^61693a
(9) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) &&
("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE
(9) else {
(9) update request {
(9) EXPAND
%{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}}
(9) --> b48085220c535c93a65396983387809b
(9) &Acct-Unique-Session-Id := b48085220c535c93a65396983387809b
(9) } # update request = noop
(9) } # else = noop
(9) } # policy acct_unique = noop
(9) suffix: Checking for suffix after "@"
(9) suffix: No '@' in User-Name = "aaa", looking up realm NULL
(9) suffix: No such realm "NULL"
(9) [suffix] = noop
(9) [files] = noop
(9) } # preacct = ok
(9) # Executing section accounting from file
/etc/freeradius/3.0/sites-enabled/default
(9) accounting {
(9) detail: EXPAND
/var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d
(9) detail: --> /var/log/freeradius/radacct/192.168.80.50/detail-20240630
(9) detail:
/var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d
expands to /var/log/freeradius/radacct/192.168.80.50/detail-20240630
(9) detail: EXPAND %t
(9) detail: --> Sun Jun 30 23:08:02 2024
(9) [detail] = ok
(9) [unix] = ok
(9) [exec] = noop
(9) attr_filter.accounting_response: EXPAND %{User-Name}
(9) attr_filter.accounting_response: --> aaa
(9) attr_filter.accounting_response: Matched entry DEFAULT at line 12
(9) [attr_filter.accounting_response] = updated
(9) } # accounting = updated
(9) Sent Accounting-Response Id 94 from 192.168.80.68:1813 to
192.168.80.50:55237 length 0
(9) Finished request
(9) Cleaning up request packet ID 94 with timestamp +34
Ready to process requests
1
0
Matthew,
Thank you very much for your clear answer and your time.
W dniu 30.06.2024 o 14:00, freeradius-users-request(a)lists.freeradius.org
pisze:
>> Here is my second question - is it possible to set double authorization,
>> i.e. the user must have an installed certificate and then provide the
>> login and password from AD to connect to WiFi?
> Even though the EAP methods can potentially do it, for all intents and
> purposes nothing supports EAP-TTLS or PEAP (which would let you do
> username+password auth) together with client certificates. EAP-TLS is
> cert only.
>
> I'd expect doing both may only be possible using wpa-supplicant on Linux
> using the config files.
>
> So basically no.
>
> -- Matthew
1
0
Hello and welcome,
Dear community, I am asking for help. I've been struggling with
configuring Freeradius in my home lab for several days. And I've reached
a wall that I can't overcome.
What does the architecture look like:
AD Controller dc1.lab.lan
Freeradius 3.0.21 (Debian 11 bullseye)
Unifi Controller (on Debian)
AP Unifi
CA (using xCA - issuing certificates manually)
Everything is on one local network 192.168.80.x/24, Gateway 192.168.80.1
DNS 192.168.80.21 (dc1).
And so the goal is to authorize users using AD credentials or
certificates issued from xCA. Certificates in pem12 (for android). I
tested on Android 9 and 13.
What works - user authorization using login and password from AD.
EAP-PEAP
MSCHAPv2
Certificate – Imported p12 User+rootCA
Variant 2
EAP-PEAP
MSCHAPv2
Certificate – don't check
Certificates
user authorization through issued certificates works (signed directly by
rootCA for now, without an intermediate authority).
EAP-TLS
Device certificate - Imported p12 User+rootCA
User certificate - Imported p12 User+rootCA
Username: cannot be empty, I have to enter something to make it work,
e.g. AAA (in radius, if the check CN option is selected, it is required
to enter the correct username).
Case two
EAP-TLS
Device cert: labrootca (imported separately – rootCA)
User certificate – user1
Username: whatever
Password: blank
(user1 does not exist in AD or local configuration files and yet
freeradius authorizes it)
My main problem is the CRL not working.
I made a combined rootCA+CRL certificate in pem.
I deleted the .cnf files in /etc/freeradius/3.0/certs because I don't
want to use an external CA (xCA).
I only left bootstrap and dh. I did this before turning on freeradius
C_rehash /etc/freeradius/3.0/certs
New files (links) have appeared.
sudo freeradius -XC => Configuration appears to be OK
Then start freeradius -X => shows no errors
Here is my second question - is it possible to set double authorization,
i.e. the user must have an installed certificate and then provide the
login and password from AD to connect to WiFi?
First of all, please tell me what I can do wrong with this CRL list.
Below are the configuration files (most # comments removed, I left a few
for example)
Labrootca.crt
-----BEGIN CERTIFICATE-----
MIIDljCCAn6gAwIBAgIIWSbrdC7xrG0wDQYJKoZIhvcNAQELBQAwUTELMAkGA1UE
BhMCUEwxFjAUBgNVBAoTDWxhYi5wYy1pdC5sYW4xFjAUBgNVBAsTDWxhYi5wYy1p
(rest of cert)
sUTnIqKeufo9rhrL3V/1UPAJK0+2gj+RaXuJcwjrs5pDIiN0NWitepTPZdsl5TaM
NviIhB0RA14UhQ==
-----END CERTIFICATE-----
Labrootcacrl_and_CA.pem
-----BEGIN CERTIFICATE-----
MIIDljCCAn6gAwIBAgIIWSbrdC7xrG0wDQYJKoZIhvcNAQELBQAwUTELMAkGA1UE
BhMCUEwxFjAUBgNVBAoTDWxhYi5wYy1pdC5sYW4xFjAUBgNVBAsTDWxhYi5wYy1p
(rest of cert)
sUTnIqKeufo9rhrL3V/1UPAJK0+2gj+RaXuJcwjrs5pDIiN0NWitepTPZdsl5TaM
NviIhB0RA14UhQ==
-----END CERTIFICATE-----
-----BEGIN X509 CRL-----
MIIB4zCBzAIBATANBgkqhkiG9w0BAQsFADBRMQswCQYDVQQGEwJQTDEWMBQGA1UE
ChMNbGFiLnBjLWl0LmxhbjEWMBQGA1UECxMNbGFiLnBjLWl0LmxhbjESMBAGA1UE
(rest of CRL)
9xWxqQIS5Q==
-----END X509 CRL-----
---------EAP FILE---------
eap {
default_eap_type = peap
timer_expire = 60
ignore_unknown_eap_types = no
cisco_accounting_username_bug = no
max_sessions = ${max_requests}
#md5 {
#}
#leap {
#}
#gtc {
#challenge = "Password: "
#auth_type = PAP
#}
tls-config tls-common {
#freerad and key are in the same file so duplicated
private_key_file = /etc/certyfikaty/freerad.pem
certificate_file = /etc/certyfikaty/freerad.pem
ca_file = /etc/freeradius/3.0/certs/labrootcacrl_and_CA.pem
#auto_chain = yes
dh_file = ${certdir}/dh
#random_file = /dev/urandom
#fragment_size = 1024
#include_length = yes
#Check the Certificate Revocation List
#
#1) Copy CA certificates and CRLs to same directory.
#2) Execute 'c_rehash <CA certs&CRLs Directory>'.
#'c_rehash' is OpenSSL's command.
#3) uncomment the lines below.
#5) Restart radiusd
check_crl = yes
# Check if intermediate CAs have been revoked.
check_all_crl = yes
ca_path = /etc/freeradius/3.0/certs/labrootcacrl_and_CA.pem
allow_expired_crl = yes
#check_cert_issuer = "/C=GB/ST=Berkshire/L=Newbury/O=My Company Ltd"
#check_cert_cn = %{User-Name}
cipher_list = "DEFAULT"
cipher_server_preference = no
#disable_tlsv1_2 = no
#disable_tlsv1_1 = yes
#disable_tlsv1 = yes
tls_min_version = "1.2"
tls_max_version = "1.2"
ecdh_curve = "prime256v1"
cache {
enable = no
lifetime = 24 # hours
#name = "EAP module"
#persist_dir = "${logdir}/tlscache"
store {
Tunnel-Private-Group-Id
}
}
verify {
#skip_if_ocsp_ok = no
#tmpdir = /tmp/radiusd
#client = "/path/to/openssl verify -CApath ${..ca_path}
%{TLS-Client-Cert-Filename}"
}
ocsp {
enable = no
override_cert_url = yes
url = "http://127.0.0.1/ocsp/"
#use_nonce = yes
#timeout = 0
#softfail = no
}
}
tls {
tls = tls-common
#virtual_server = check-eap-tls
}
ttls {
tls = tls-common
default_eap_type = md5
copy_request_to_tunnel = no
use_tunneled_reply = no
virtual_server = "inner-tunnel"
#include_length = yes
require_client_cert = yes
}
peap {
tls = tls-common
default_eap_type = mschapv2
copy_request_to_tunnel = no
use_tunneled_reply = no
#proxy_tunneled_request_as_eap = yes
virtual_server = "inner-tunnel"
#soh = yes
#soh_virtual_server = "soh-server"
#require_client_cert = yes
}
mschapv2 {
#send_error = no
#identity = "FreeRADIUS"
}
}
----- SITES DEFAULT ---
server default {
listen {
type = auth
ipaddr = *
port = 0
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
listen {
ipaddr = *
#ipv6addr = ::
port = 0
type = acct
limit {
}
}
listen {
type = auth
ipv6addr = ::# any.::1 == localhost
port = 0
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
listen {
ipv6addr = ::
port = 0
type = acct
limit {
}
}
authorize {
filter_username
preprocess
chap
mschap
digest
suffix
ntdomain
eap {
ok = return
#updated = return
}
files
-sql
-ldap
expiration
logintime
pap
}
authenticate {
ntlm_auth
Auth-Type PAP {
pap
}
Auth-Type CHAP {
chap
}
Auth-Type MS-CHAP {
mschap
}
mschap
digest
#Auth-Type LDAP {
#ldap
#}
eap
}
preacct {
preprocess
acct_unique
suffix
#ntdomain
files
}
accounting {
detail
unix
-sql
exec
attr_filter.accounting_response
}
session {
}
post-auth {
if (session-state:User-Name && reply:User-Name && request:User-Name &&
(reply:User-Name == request:User-Name)) {
update reply {
&User-Name !* ANY
}
}
update {
&reply: += &session-state:
}
-sql
exec
remove_reply_message_if_eap
Post-Auth-Type REJECT {
# log failed authentications in SQL, too.
-sql
attr_filter.access_reject
eap
remove_reply_message_if_eap
}
Post-Auth-Type Challenge {
#remove_reply_message_if_eap
#attr_filter.access_challenge.post-auth
}
}
pre-proxy {
}
post-proxy {
eap
}
}
---INNER TUNNEL
server inner-tunnel {
listen {
ipaddr = 127.0.0.1
port = 18120
type = auth
}
authorize {
filter_username
chap
mschap
suffix
#ntdomain
update control {
&Proxy-To-Realm := LOCAL
}
eap {
ok = return
}
files
-sql
-ldap
expiration
logintime
pap
}
authenticate {
ntlm_auth
Auth-Type PAP {
pap
}
Auth-Type CHAP {
chap
}
Auth-Type MS-CHAP {
mschap
}
mschap
#Auth-Type LDAP {
#ldap
#}
eap
}
session {
radutmp
}
post-auth {
-sql
#ldap
if (0) {
update reply {
User-Name !* ANY
Message-Authenticator !* ANY
EAP-Message !* ANY
Proxy-State !* ANY
MS-MPPE-Encryption-Types !* ANY
MS-MPPE-Encryption-Policy !* ANY
MS-MPPE-Send-Key !* ANY
MS-MPPE-Recv-Key !* ANY
}
update {
&outer.session-state: += &reply:
}
}
Post-Auth-Type REJECT {
# log failed authentications in SQL, too.
-sql
attr_filter.access_reject
update outer.session-state {
&Module-Failure-Message := &request:Module-Failure-Message
}
}
}
pre-proxy {
}
post-proxy {
eap
}
} # inner-tunnel server block
3
2
Dear community
I read about the server statistics (https://freeradius.org/documentation/freeradius-server/3.2.4/howto/monitori…) but still don’t get it a 100%. I use this information as a reference:
Received Access-Accept Id 39 from 127.0.0.1:46c9 to 127.0.0.1:49906 length 596
FreeRADIUS-Total-Access-Requests = 592
FreeRADIUS-Total-Access-Accepts = 13
FreeRADIUS-Total-Access-Rejects = 0
FreeRADIUS-Total-Access-Challenges = 135
FreeRADIUS-Total-Auth-Responses = 148
FreeRADIUS-Total-Auth-Duplicate-Requests = 0
FreeRADIUS-Total-Auth-Malformed-Requests = 0
FreeRADIUS-Total-Auth-Invalid-Requests = 0
FreeRADIUS-Total-Auth-Dropped-Requests = 0
FreeRADIUS-Total-Auth-Unknown-Types = 0
FreeRADIUS-Total-Auth-Conflicts = 0
...
FreeRADIUS-Total-Proxy-Access-Requests = 39
FreeRADIUS-Total-Proxy-Access-Accepts = 0
FreeRADIUS-Total-Proxy-Access-Rejects = 0
FreeRADIUS-Total-Proxy-Access-Challenges = 39
FreeRADIUS-Total-Proxy-Auth-Responses = 39
FreeRADIUS-Total-Proxy-Auth-Duplicate-Requests = 0
FreeRADIUS-Total-Proxy-Auth-Malformed-Requests = 0
FreeRADIUS-Total-Proxy-Auth-Invalid-Requests = 0
FreeRADIUS-Total-Proxy-Auth-Dropped-Requests = 0
FreeRADIUS-Total-Proxy-Auth-Unknown-Types = 0
FreeRADIUS-Total-Proxy-Accounting-Requests = 0
FreeRADIUS-Total-Proxy-Accounting-Responses = 0
FreeRADIUS-Total-Proxy-Acct-Duplicate-Requests = 0
FreeRADIUS-Total-Proxy-Acct-Malformed-Requests = 0
FreeRADIUS-Total-Proxy-Acct-Invalid-Requests = 0
FreeRADIUS-Total-Proxy-Acct-Dropped-Requests = 0
FreeRADIUS-Total-Proxy-Acct-Unknown-Types = 0
FreeRADIUS-Stats-Start-Time = "Jun 21 2024 11:08:37 CEST"
Some questions you could maybe answer me:
1. The total numbers are an incremented total since “FreeRADIUS-Stats-Start-Time”, is that correct?
2. Based on which additional value could I calculate the percentage of successful RADIUS “tries” (“FreeRADIUS-Total-Access-Accepts” and ???)?
a) There is a massive difference between “FreeRADIUS-Total-Access-Accepts” and “FreeRADIUS-Total-Access-Requests” or “FreeRADIUS-Total-Auth-Responses” and why is that?
b) somehow the values for “FreeRADIUS-Total-Access-Accepts” and “FreeRADIUS-Total-Access-Rejects” should somehow correlate with any of the other total values; or I am completely wrong about this?
3. Concerning the Proxy-statistics:
a) Why are the values for FreeRADIUS-Total-Proxy-Access-Accepts and FreeRADIUS-Total-Proxy-Access-Rejects always = 0?
Thanks a lot for any help concerning the statistics; I am pretty new to FreeRADIUS and any help is appreciated.
Regards
Dominic
3
21
Hello, I am using Rest module and there is no problem with functionality.
However, I am experiencing encoding issues.
Two reproduction scenarios can be presented.
1. When the data item of the Rest module is directly specified
: In this case, there is no problem. This is because the encoding process
does not appear to be taking place.
★ 2. When the data item of Rest Module is not specified ★
Several Attributes that can be transmitted (set as default) are included in
the Data item.
And the items that are decided to be transferred are processed as follows.
(19) rest: Encoding attribute "User-Name"
(19) rest: Encoding attribute "NAS-IP-Address"
...
As a result of the transfer, my Rest Server received data encoded in
ISO-8859-1 format.
My server needs to work with UTF-8. I could decompose the received data
into bytes in ISO-8859-1 format and then reassemble them into UTF-8, but I
think there is a better way.
How can I specify the encoding format of the data sent to the REST module?
2
4
25 Jun '24
Dear all,
when debugging why PXE booting didn't work after switching from ISC-dhcp to
freeradius I noticed, that the "next-server" in ISC is in freeradius taken
from "DHCP-Server-IP-Address". This field "siaddr" in the DHCP Packets (not in the
option area) ist used by the clients.
A comment in raddb/sites-available/dhcp says:
# The source IP for unicast packets is chosen from the first
# one of the following items which returns a valid IP
# address:
#
# src_ipaddr
# ipaddr
# reply:DHCP-Server-IP-Address
# reply:DHCP-DHCP-Server-Identifier
So I never thought that I need to use "DHCP-Server-IP-Address" for the
TFTP server (which is not the same as the dhcp server at our site).
The first usefull hint was https://github.com/nagios-plugins/nagios-plugins/blob/master/plugins-root/c…:
/*
* RFC 2131 (2.) says: "DHCP clarifies the interpretation of the
* 'siaddr' field as the address of the server to use in the next step
* of the client's bootstrap process. A DHCP server may return its own
* address in the 'siaddr' field, if the server is prepared to supply
* the next bootstrap service (e.g., delivery of an operating system
* executable image). A DHCP server always returns its own address in
* the 'server identifier' option."
So the setting of "siaddr" in freeradius for pxe booting to a different server
seems to be not possible, if you need to set the DHCP-Server-IP-Address also dynamically
in freeradius processing.
Sorry if I misunderstand things - I'm not fluent in the RFC and PXE stuff in BIOS.
Thanks a lot,
greetings
Hermann
P.S: A quick check of v4 master seems to have a syntax change only in the raddb comment
--
Administration/Zentrale Dienste, Interdiziplinaeres
Zentrum fuer wissenschaftliches Rechnen der Universitaet Heidelberg
IWR; INF 205; 69120 Heidelberg; Tel: (06221)54-14405 Fax: -14427
Email: Hermann.Lauer(a)iwr.uni-heidelberg.de
3
5
Hi all,
I'm new to freeradius and it appears to be working but connections are not
always successful.
I have noticed the below issues with the certificates im using, i think due
them not being in a chain including the intermediate cert. However i don't
think this is causing the intermittent connection issue. Can anyone suggest
anything?
Certificate chain - 2 cert(s) untrusted
(TLS) untrusted certificate with depth [1] subject name
/DC=local/DC=universe/CN=Universe Issuing CA
(TLS) untrusted certificate with depth [0] subject name
/CN=xxxxxxxxxxxxxxxxxxx.local
See below logs
FreeRADIUS Version 3.2.3
Copyright (C) 1999-2022 The FreeRADIUS server project and contributors
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE
You may redistribute copies of FreeRADIUS under the terms of the
GNU General Public License
For more information about these matters, see the file named COPYRIGHT
Starting - reading configuration files ...
including dictionary file /usr/local/share/freeradius/dictionary
including dictionary file /usr/local/share/freeradius/dictionary.dhcp
including dictionary file /usr/local/share/freeradius/dictionary.vqp
including dictionary file /usr/local/etc/raddb/dictionary
including configuration file /usr/local/etc/raddb/radiusd.conf
including configuration file /usr/local/etc/raddb/proxy.conf
including configuration file /usr/local/etc/raddb/clients.conf
including files in directory /usr/local/etc/raddb/mods-enabled/
including configuration file /usr/local/etc/raddb/mods-enabled/always
including configuration file /usr/local/etc/raddb/mods-enabled/attr_filter
including configuration file /usr/local/etc/raddb/mods-enabled/chap
including configuration file /usr/local/etc/raddb/mods-enabled/date
including configuration file /usr/local/etc/raddb/mods-enabled/detail
including configuration file /usr/local/etc/raddb/mods-enabled/detail.log
including configuration file /usr/local/etc/raddb/mods-enabled/digest
including configuration file
/usr/local/etc/raddb/mods-enabled/dynamic_clients
including configuration file /usr/local/etc/raddb/mods-enabled/eap
including configuration file /usr/local/etc/raddb/mods-enabled/echo
including configuration file /usr/local/etc/raddb/mods-enabled/exec
including configuration file /usr/local/etc/raddb/mods-enabled/expiration
including configuration file /usr/local/etc/raddb/mods-enabled/expr
including configuration file /usr/local/etc/raddb/mods-enabled/files
including configuration file /usr/local/etc/raddb/mods-enabled/linelog
including configuration file /usr/local/etc/raddb/mods-enabled/logintime
including configuration file /usr/local/etc/raddb/mods-enabled/mschap
including configuration file /usr/local/etc/raddb/mods-enabled/ntlm_auth
including configuration file /usr/local/etc/raddb/mods-enabled/pap
including configuration file /usr/local/etc/raddb/mods-enabled/passwd
including configuration file /usr/local/etc/raddb/mods-enabled/preprocess
including configuration file /usr/local/etc/raddb/mods-enabled/radutmp
including configuration file /usr/local/etc/raddb/mods-enabled/realm
including configuration file /usr/local/etc/raddb/mods-enabled/replicate
including configuration file /usr/local/etc/raddb/mods-enabled/soh
including configuration file /usr/local/etc/raddb/mods-enabled/sradutmp
including configuration file /usr/local/etc/raddb/mods-enabled/totp
including configuration file /usr/local/etc/raddb/mods-enabled/unix
including configuration file /usr/local/etc/raddb/mods-enabled/unpack
including configuration file /usr/local/etc/raddb/mods-enabled/utf8
including files in directory /usr/local/etc/raddb/policy.d/
including configuration file /usr/local/etc/raddb/policy.d/abfab-tr
including configuration file /usr/local/etc/raddb/policy.d/accounting
including configuration file /usr/local/etc/raddb/policy.d/canonicalization
including configuration file /usr/local/etc/raddb/policy.d/control
including configuration file /usr/local/etc/raddb/policy.d/cui
including configuration file /usr/local/etc/raddb/policy.d/debug
including configuration file /usr/local/etc/raddb/policy.d/dhcp
including configuration file /usr/local/etc/raddb/policy.d/eap
including configuration file /usr/local/etc/raddb/policy.d/filter
including configuration file
/usr/local/etc/raddb/policy.d/moonshot-targeted-ids
including configuration file /usr/local/etc/raddb/policy.d/operator-name
including configuration file /usr/local/etc/raddb/policy.d/rfc7542
including files in directory /usr/local/etc/raddb/sites-enabled/
including configuration file /usr/local/etc/raddb/sites-enabled/default
including configuration file /usr/local/etc/raddb/sites-enabled/inner-tunnel
main {
security {
allow_core_dumps = no
}
name = "radiusd"
prefix = "/opt"
localstatedir = "/opt/var"
logdir = "/opt/var/log/radius"
run_dir = "/opt/var/run/radiusd"
}
main {
name = "radiusd"
prefix = "/opt"
localstatedir = "/opt/var"
sbindir = "/opt/sbin"
logdir = "/opt/var/log/radius"
run_dir = "/opt/var/run/radiusd"
libdir = "/opt/lib"
radacctdir = "/opt/var/log/radius/radacct"
hostname_lookups = no
max_request_time = 30
cleanup_delay = 5
max_requests = 16384
postauth_client_lost = no
pidfile = "/opt/var/run/radiusd/radiusd.pid"
checkrad = "/opt/sbin/checkrad"
debug_level = 0
proxy_requests = no
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
}
}
radiusd: #### Loading Realms and Home Servers ####
proxy server {
retry_delay = 5
retry_count = 3
default_fallback = no
dead_time = 120
wake_all_if_all_dead = no
}
home_server localhost {
nonblock = no
ipaddr = 127.0.0.1
port = 1812
type = "auth"
secret = <<< secret >>>
response_window = 20.000000
response_timeouts = 1
max_outstanding = 65536
zombie_period = 40
status_check = "status-server"
ping_interval = 30
check_interval = 30
check_timeout = 4
num_answers_to_alive = 3
revive_interval = 120
limit {
max_connections = 16
max_requests = 0
lifetime = 0
idle_timeout = 0
}
coa {
irt = 2
mrt = 16
mrc = 5
mrd = 30
}
recv_coa {
}
}
home_server_pool my_auth_failover {
type = fail-over
home_server = localhost
}
realm example.com {
auth_pool = my_auth_failover
}
realm LOCAL {
}
radiusd: #### Loading Clients ####
client localhost {
ipaddr = 127.0.0.1
require_message_authenticator = no
secret = <<< secret >>>
nas_type = "other"
proto = "*"
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client localhost_ipv6 {
ipv6addr = ::1
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client access-point-mgmt-network {
ipaddr = 82.20.92.138/32
require_message_authenticator = no
secret = <<< secret >>>
shortname = "BEARFORCE-STAGING"
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
Debugger not attached
# Creating Auth-Type = eap
# Creating Autz-Type = New-TLS-Connection
# Creating Auth-Type = mschap
# Creating Auth-Type = PAP
# Creating Auth-Type = CHAP
# Creating Auth-Type = MS-CHAP
radiusd: #### Instantiating modules ####
modules {
# Loaded module rlm_always
# Loading module "reject" from file
/usr/local/etc/raddb/mods-enabled/always
always reject {
rcode = "reject"
simulcount = 0
mpp = no
}
# Loading module "fail" from file /usr/local/etc/raddb/mods-enabled/always
always fail {
rcode = "fail"
simulcount = 0
mpp = no
}
# Loading module "ok" from file /usr/local/etc/raddb/mods-enabled/always
always ok {
rcode = "ok"
simulcount = 0
mpp = no
}
# Loading module "handled" from file
/usr/local/etc/raddb/mods-enabled/always
always handled {
rcode = "handled"
simulcount = 0
mpp = no
}
# Loading module "invalid" from file
/usr/local/etc/raddb/mods-enabled/always
always invalid {
rcode = "invalid"
simulcount = 0
mpp = no
}
# Loading module "userlock" from file
/usr/local/etc/raddb/mods-enabled/always
always userlock {
rcode = "userlock"
simulcount = 0
mpp = no
}
# Loading module "notfound" from file
/usr/local/etc/raddb/mods-enabled/always
always notfound {
rcode = "notfound"
simulcount = 0
mpp = no
}
# Loading module "noop" from file /usr/local/etc/raddb/mods-enabled/always
always noop {
rcode = "noop"
simulcount = 0
mpp = no
}
# Loading module "updated" from file
/usr/local/etc/raddb/mods-enabled/always
always updated {
rcode = "updated"
simulcount = 0
mpp = no
}
# Loaded module rlm_attr_filter
# Loading module "attr_filter.post-proxy" from file
/usr/local/etc/raddb/mods-enabled/attr_filter
attr_filter attr_filter.post-proxy {
filename = "/usr/local/etc/raddb/mods-config/attr_filter/post-proxy"
key = "%{Realm}"
relaxed = no
}
# Loading module "attr_filter.pre-proxy" from file
/usr/local/etc/raddb/mods-enabled/attr_filter
attr_filter attr_filter.pre-proxy {
filename = "/usr/local/etc/raddb/mods-config/attr_filter/pre-proxy"
key = "%{Realm}"
relaxed = no
}
# Loading module "attr_filter.access_reject" from file
/usr/local/etc/raddb/mods-enabled/attr_filter
attr_filter attr_filter.access_reject {
filename =
"/usr/local/etc/raddb/mods-config/attr_filter/access_reject"
key = "%{User-Name}"
relaxed = no
}
# Loading module "attr_filter.access_challenge" from file
/usr/local/etc/raddb/mods-enabled/attr_filter
attr_filter attr_filter.access_challenge {
filename =
"/usr/local/etc/raddb/mods-config/attr_filter/access_challenge"
key = "%{User-Name}"
relaxed = no
}
# Loading module "attr_filter.accounting_response" from file
/usr/local/etc/raddb/mods-enabled/attr_filter
attr_filter attr_filter.accounting_response {
filename =
"/usr/local/etc/raddb/mods-config/attr_filter/accounting_response"
key = "%{User-Name}"
relaxed = no
}
# Loading module "attr_filter.coa" from file
/usr/local/etc/raddb/mods-enabled/attr_filter
attr_filter attr_filter.coa {
filename = "/usr/local/etc/raddb/mods-config/attr_filter/coa"
key = "%{User-Name}"
relaxed = no
}
# Loaded module rlm_chap
# Loading module "chap" from file /usr/local/etc/raddb/mods-enabled/chap
# Loaded module rlm_date
# Loading module "date" from file /usr/local/etc/raddb/mods-enabled/date
date {
format = "%b %e %Y %H:%M:%S %Z"
utc = no
}
# Loading module "wispr2date" from file
/usr/local/etc/raddb/mods-enabled/date
date wispr2date {
format = "%Y-%m-%dT%H:%M:%S"
utc = no
}
# Loaded module rlm_detail
# Loading module "detail" from file
/usr/local/etc/raddb/mods-enabled/detail
detail {
filename =
"/opt/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
escape_filenames = no
log_packet_header = no
}
# Loading module "auth_log" from file
/usr/local/etc/raddb/mods-enabled/detail.log
detail auth_log {
filename =
"/opt/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
escape_filenames = no
log_packet_header = no
}
# Loading module "reply_log" from file
/usr/local/etc/raddb/mods-enabled/detail.log
detail reply_log {
filename =
"/opt/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/reply-detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
escape_filenames = no
log_packet_header = no
}
# Loading module "pre_proxy_log" from file
/usr/local/etc/raddb/mods-enabled/detail.log
detail pre_proxy_log {
filename =
"/opt/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/pre-proxy-detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
escape_filenames = no
log_packet_header = no
}
# Loading module "post_proxy_log" from file
/usr/local/etc/raddb/mods-enabled/detail.log
detail post_proxy_log {
filename =
"/opt/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/post-proxy-detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
escape_filenames = no
log_packet_header = no
}
# Loaded module rlm_digest
# Loading module "digest" from file
/usr/local/etc/raddb/mods-enabled/digest
# Loaded module rlm_dynamic_clients
# Loading module "dynamic_clients" from file
/usr/local/etc/raddb/mods-enabled/dynamic_clients
# Loaded module rlm_eap
# Loading module "eap" from file /usr/local/etc/raddb/mods-enabled/eap
eap {
default_eap_type = "tls"
timer_expire = 60
max_eap_type = 52
ignore_unknown_eap_types = no
cisco_accounting_username_bug = no
max_sessions = 16384
}
# Loaded module rlm_exec
# Loading module "echo" from file /usr/local/etc/raddb/mods-enabled/echo
exec echo {
wait = yes
program = "/bin/echo %{User-Name}"
input_pairs = "request"
output_pairs = "reply"
shell_escape = yes
}
# Loading module "exec" from file /usr/local/etc/raddb/mods-enabled/exec
exec {
wait = no
input_pairs = "request"
shell_escape = yes
timeout = 10
}
# Loaded module rlm_expiration
# Loading module "expiration" from file
/usr/local/etc/raddb/mods-enabled/expiration
# Loaded module rlm_expr
# Loading module "expr" from file /usr/local/etc/raddb/mods-enabled/expr
expr {
safe_characters =
"@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_:
/äéöüàâæçèéêëîïôœùûüaÿÄÉÖÜßÀÂÆÇÈÉÊËÎÏÔŒÙÛÜŸ"
}
# Loaded module rlm_files
# Loading module "files" from file /usr/local/etc/raddb/mods-enabled/files
files {
filename = "/usr/local/etc/raddb/mods-config/files/authorize"
acctusersfile = "/usr/local/etc/raddb/mods-config/files/accounting"
preproxy_usersfile =
"/usr/local/etc/raddb/mods-config/files/pre-proxy"
}
# Loaded module rlm_linelog
# Loading module "linelog" from file
/usr/local/etc/raddb/mods-enabled/linelog
linelog {
filename = "/opt/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
/usr/local/etc/raddb/mods-enabled/linelog
linelog log_accounting {
filename = "/opt/var/log/radius/linelog-accounting"
escape_filenames = no
syslog_severity = "info"
permissions = 384
format = ""
reference = "Accounting-Request.%{%{Acct-Status-Type}:-unknown}"
}
# Loaded module rlm_logintime
# Loading module "logintime" from file
/usr/local/etc/raddb/mods-enabled/logintime
logintime {
minimum_timeout = 60
}
# Loaded module rlm_mschap
# Loading module "mschap" from file
/usr/local/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
}
# Loading module "ntlm_auth" from file
/usr/local/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_pap
# Loading module "pap" from file /usr/local/etc/raddb/mods-enabled/pap
pap {
normalise = yes
}
# Loaded module rlm_passwd
# Loading module "etc_passwd" from file
/usr/local/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_preprocess
# Loading module "preprocess" from file
/usr/local/etc/raddb/mods-enabled/preprocess
preprocess {
huntgroups =
"/usr/local/etc/raddb/mods-config/preprocess/huntgroups"
hints = "/usr/local/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_radutmp
# Loading module "radutmp" from file
/usr/local/etc/raddb/mods-enabled/radutmp
radutmp {
filename = "/opt/var/log/radius/radutmp"
username = "%{User-Name}"
case_sensitive = yes
check_with_nas = yes
permissions = 384
caller_id = yes
}
# Loaded module rlm_realm
# Loading module "IPASS" from file /usr/local/etc/raddb/mods-enabled/realm
realm IPASS {
format = "prefix"
delimiter = "/"
ignore_default = no
ignore_null = no
}
# Loading module "suffix" from file
/usr/local/etc/raddb/mods-enabled/realm
realm suffix {
format = "suffix"
delimiter = "@"
ignore_default = no
ignore_null = no
}
# Loading module "bangpath" from file
/usr/local/etc/raddb/mods-enabled/realm
realm bangpath {
format = "prefix"
delimiter = "!"
ignore_default = no
ignore_null = no
}
# Loading module "realmpercent" from file
/usr/local/etc/raddb/mods-enabled/realm
realm realmpercent {
format = "suffix"
delimiter = "%"
ignore_default = no
ignore_null = no
}
# Loading module "ntdomain" from file
/usr/local/etc/raddb/mods-enabled/realm
realm ntdomain {
format = "prefix"
delimiter = "\\"
ignore_default = no
ignore_null = no
}
# Loaded module rlm_replicate
# Loading module "replicate" from file
/usr/local/etc/raddb/mods-enabled/replicate
# Loaded module rlm_soh
# Loading module "soh" from file /usr/local/etc/raddb/mods-enabled/soh
soh {
dhcp = yes
}
# Loading module "sradutmp" from file
/usr/local/etc/raddb/mods-enabled/sradutmp
radutmp sradutmp {
filename = "/opt/var/log/radius/sradutmp"
username = "%{User-Name}"
case_sensitive = yes
check_with_nas = yes
permissions = 420
caller_id = no
}
# Loaded module rlm_totp
# Loading module "totp" from file /usr/local/etc/raddb/mods-enabled/totp
# Loaded module rlm_unix
# Loading module "unix" from file /usr/local/etc/raddb/mods-enabled/unix
unix {
radwtmp = "/opt/var/log/radius/radwtmp"
}
Creating attribute Unix-Group
# Loaded module rlm_unpack
# Loading module "unpack" from file
/usr/local/etc/raddb/mods-enabled/unpack
# Loaded module rlm_utf8
# Loading module "utf8" from file /usr/local/etc/raddb/mods-enabled/utf8
instantiate {
}
# Instantiating module "reject" from file
/usr/local/etc/raddb/mods-enabled/always
# Instantiating module "fail" from file
/usr/local/etc/raddb/mods-enabled/always
# Instantiating module "ok" from file
/usr/local/etc/raddb/mods-enabled/always
# Instantiating module "handled" from file
/usr/local/etc/raddb/mods-enabled/always
# Instantiating module "invalid" from file
/usr/local/etc/raddb/mods-enabled/always
# Instantiating module "userlock" from file
/usr/local/etc/raddb/mods-enabled/always
# Instantiating module "notfound" from file
/usr/local/etc/raddb/mods-enabled/always
# Instantiating module "noop" from file
/usr/local/etc/raddb/mods-enabled/always
# Instantiating module "updated" from file
/usr/local/etc/raddb/mods-enabled/always
# Instantiating module "attr_filter.post-proxy" from file
/usr/local/etc/raddb/mods-enabled/attr_filter
reading pairlist file
/usr/local/etc/raddb/mods-config/attr_filter/post-proxy
# Instantiating module "attr_filter.pre-proxy" from file
/usr/local/etc/raddb/mods-enabled/attr_filter
reading pairlist file /usr/local/etc/raddb/mods-config/attr_filter/pre-proxy
# Instantiating module "attr_filter.access_reject" from file
/usr/local/etc/raddb/mods-enabled/attr_filter
reading pairlist file
/usr/local/etc/raddb/mods-config/attr_filter/access_reject
# Instantiating module "attr_filter.access_challenge" from file
/usr/local/etc/raddb/mods-enabled/attr_filter
reading pairlist file
/usr/local/etc/raddb/mods-config/attr_filter/access_challenge
# Instantiating module "attr_filter.accounting_response" from file
/usr/local/etc/raddb/mods-enabled/attr_filter
reading pairlist file
/usr/local/etc/raddb/mods-config/attr_filter/accounting_response
# Instantiating module "attr_filter.coa" from file
/usr/local/etc/raddb/mods-enabled/attr_filter
reading pairlist file /usr/local/etc/raddb/mods-config/attr_filter/coa
# Instantiating module "detail" from file
/usr/local/etc/raddb/mods-enabled/detail
# Instantiating module "auth_log" from file
/usr/local/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
/usr/local/etc/raddb/mods-enabled/detail.log
# Instantiating module "pre_proxy_log" from file
/usr/local/etc/raddb/mods-enabled/detail.log
# Instantiating module "post_proxy_log" from file
/usr/local/etc/raddb/mods-enabled/detail.log
# Instantiating module "eap" from file
/usr/local/etc/raddb/mods-enabled/eap
# Linked to sub-module rlm_eap_md5
# Linked to sub-module rlm_eap_gtc
gtc {
challenge = "Password: "
auth_type = "PAP"
}
# Linked to sub-module rlm_eap_tls
tls {
tls = "tls-common"
}
tls-config tls-common {
verify_depth = 0
ca_path = "/usr/local/etc/raddb/certs"
pem_file_type = yes
private_key_file = "/usr/local/etc/raddb/certs/server.key"
certificate_file = "/usr/local/etc/raddb/certs/server.crt"
ca_file = "/usr/local/etc/raddb/certs/ca.pem"
fragment_size = 1024
include_length = yes
auto_chain = yes
check_crl = no
check_all_crl = no
ca_path_reload_interval = 0
cipher_list = "HIGH"
cipher_server_preference = no
reject_unknown_intermediate_ca = no
ecdh_curve = "secp384r1"
tls_max_version = "1.3"
tls_min_version = "1.2"
cache {
enable = no
lifetime = 24
max_entries = 255
}
verify {
skip_if_ocsp_ok = no
}
ocsp {
enable = no
override_cert_url = no
url = "https://<OCSP-Responder-URL>/ocsp"
use_nonce = yes
timeout = 0
softfail = no
}
}
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! Most supplicants do not support EAP-TLS with TLS 1.3
!! Please set tls_max_version = "1.2"
!! FreeRADIUS only supports TLS 1.3 for special builds of wpa_supplicant
and Windows
!! This limitation is likely to change in late 2021.
!! If you are using this version of FreeRADIUS after 2021, you will
probably need to upgrade
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# Linked to sub-module rlm_eap_ttls
ttls {
tls = "tls-common"
default_eap_type = "md5"
copy_request_to_tunnel = no
use_tunneled_reply = no
virtual_server = "inner-tunnel"
include_length = yes
require_client_cert = no
}
tls: Using cached TLS configuration from previous invocation
# Linked to sub-module rlm_eap_peap
peap {
tls = "tls-common"
default_eap_type = "mschapv2"
copy_request_to_tunnel = no
use_tunneled_reply = no
proxy_tunneled_request_as_eap = yes
virtual_server = "inner-tunnel"
soh = no
require_client_cert = no
}
tls: Using cached TLS configuration from previous invocation
# Linked to sub-module rlm_eap_mschapv2
mschapv2 {
with_ntdomain_hack = no
send_error = no
}
# Instantiating module "expiration" from file
/usr/local/etc/raddb/mods-enabled/expiration
# Instantiating module "files" from file
/usr/local/etc/raddb/mods-enabled/files
reading pairlist file /usr/local/etc/raddb/mods-config/files/authorize
reading pairlist file /usr/local/etc/raddb/mods-config/files/accounting
reading pairlist file /usr/local/etc/raddb/mods-config/files/pre-proxy
# Instantiating module "linelog" from file
/usr/local/etc/raddb/mods-enabled/linelog
# Instantiating module "log_accounting" from file
/usr/local/etc/raddb/mods-enabled/linelog
# Instantiating module "logintime" from file
/usr/local/etc/raddb/mods-enabled/logintime
# Instantiating module "mschap" from file
/usr/local/etc/raddb/mods-enabled/mschap
rlm_mschap (mschap): using internal authentication
# Instantiating module "pap" from file
/usr/local/etc/raddb/mods-enabled/pap
# Instantiating module "etc_passwd" from file
/usr/local/etc/raddb/mods-enabled/passwd
rlm_passwd: nfields: 3 keyfield 0(User-Name) listable: no
# Instantiating module "preprocess" from file
/usr/local/etc/raddb/mods-enabled/preprocess
reading pairlist file /usr/local/etc/raddb/mods-config/preprocess/huntgroups
reading pairlist file /usr/local/etc/raddb/mods-config/preprocess/hints
# Instantiating module "IPASS" from file
/usr/local/etc/raddb/mods-enabled/realm
# Instantiating module "suffix" from file
/usr/local/etc/raddb/mods-enabled/realm
# Instantiating module "bangpath" from file
/usr/local/etc/raddb/mods-enabled/realm
# Instantiating module "realmpercent" from file
/usr/local/etc/raddb/mods-enabled/realm
# Instantiating module "ntdomain" from file
/usr/local/etc/raddb/mods-enabled/realm
} # modules
radiusd: #### Loading Virtual Servers ####
server { # from file /usr/local/etc/raddb/radiusd.conf
} # server
server default { # from file /usr/local/etc/raddb/sites-enabled/default
# Loading authenticate {...}
# Loading authorize {...}
Ignoring "sql" (see raddb/mods-available/README.rst)
Ignoring "ldap" (see raddb/mods-available/README.rst)
Compiling Autz-Type New-TLS-Connection for attr Autz-Type
# Loading preacct {...}
# Loading accounting {...}
# Loading post-auth {...}
Compiling Post-Auth-Type REJECT for attr Post-Auth-Type
Compiling Post-Auth-Type Challenge for attr Post-Auth-Type
Compiling Post-Auth-Type Client-Lost for attr Post-Auth-Type
} # server default
server inner-tunnel { # from file
/usr/local/etc/raddb/sites-enabled/inner-tunnel
# Loading authenticate {...}
Compiling Auth-Type PAP for attr Auth-Type
Compiling Auth-Type CHAP for attr Auth-Type
Compiling Auth-Type MS-CHAP for attr Auth-Type
# Loading authorize {...}
# Loading session {...}
# Loading post-auth {...}
# Skipping contents of 'if' as it is always 'false' --
/usr/local/etc/raddb/sites-enabled/inner-tunnel:366
Compiling Post-Auth-Type REJECT for attr Post-Auth-Type
} # server inner-tunnel
radiusd: #### Opening IP addresses and Ports ####
listen {
type = "auth"
ipaddr = *
port = 0
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
listen {
type = "acct"
ipaddr = *
port = 0
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
listen {
type = "auth"
ipv6addr = ::
port = 0
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
listen {
type = "acct"
ipv6addr = ::
port = 0
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
listen {
type = "auth"
ipaddr = 127.0.0.1
port = 18120
}
Listening on auth address * port 1812 bound to server default
Listening on acct address * port 1813 bound to server default
Listening on auth address :: port 1812 bound to server default
Listening on acct address :: port 1813 bound to server default
Listening on auth address 127.0.0.1 port 18120 bound to server inner-tunnel
Ready to process requests
(0) Received Access-Request Id 78 from 82.20.92.138:56245 to 10.0.0.4:1812
length 224
(0) Service-Type = Framed-User
(0) Framed-MTU = 1400
(0) User-Name = "host/xxxxxxxxxxxxxxxxxxx.local"
(0) NAS-Port-Id = "BEARFORCE-STAGING"
(0) NAS-Port-Type = Wireless-802.11
(0) Calling-Station-Id = "8C-E9-EE-2A-75-6F"
(0) Called-Station-Id = "76-4D-28-35-F9-1E:BEARFORCE-STAGING"
(0) EAP-Message =
0x0200002801686f73742f4c54415a2d59314959454b583352422e756e6976657273652e6c6f63616c
(0) Message-Authenticator = 0x15fa697117cf21ecb2a503e32c198e1c
(0) NAS-Identifier = "hAPac2"
(0) NAS-IP-Address = 82.20.92.138
(0) # Executing section authorize from file
/usr/local/etc/raddb/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) suffix: Checking for suffix after "@"
(0) suffix: No '@' in User-Name = "host/xxxxxxxxxxxxxxxxxxx.local", looking
up realm NULL
(0) suffix: No such realm "NULL"
(0) [suffix] = noop
(0) eap: Peer sent EAP Response (code 2) ID 0 length 40
(0) eap: EAP-Identity reply, returning 'ok' so we can short-circuit the
rest of authorize
(0) [eap] = ok
(0) } # authorize = ok
(0) Found Auth-Type = eap
(0) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(0) authenticate {
(0) eap: Peer sent packet with method EAP Identity (1)
(0) eap: Calling submodule eap_tls to process data
(0) eap_tls: (TLS) Initiating new session
(0) eap_tls: (TLS) Setting verify mode to require certificate from client
(0) eap: Sending EAP Request (code 1) ID 1 length 6
(0) eap: EAP session adding &reply:State = 0x4a27c5ed4a26c8fe
(0) [eap] = handled
(0) } # authenticate = handled
(0) Using Post-Auth-Type Challenge
(0) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(0) Challenge { ... } # empty sub-section is ignored
(0) session-state: Saving cached attributes
(0) Framed-MTU = 994
(0) Sent Access-Challenge Id 78 from 10.0.0.4:1812 to 82.20.92.138:56245
length 64
(0) EAP-Message = 0x010100060d20
(0) Message-Authenticator = 0x00000000000000000000000000000000
(0) State = 0x4a27c5ed4a26c8feafc22816468d6444
(0) Finished request
Waking up in 4.9 seconds.
(1) Received Access-Request Id 79 from 82.20.92.138:39401 to 10.0.0.4:1812
length 465
(1) Service-Type = Framed-User
(1) Framed-MTU = 1400
(1) User-Name = "host/xxxxxxxxxxxxxxxxxxx.local"
(1) State = 0x4a27c5ed4a26c8feafc22816468d6444
(1) NAS-Port-Id = "BEARFORCE-STAGING"
(1) NAS-Port-Type = Wireless-802.11
(1) Calling-Station-Id = "8C-E9-EE-2A-75-6F"
(1) Called-Station-Id = "76-4D-28-35-F9-1E:BEARFORCE-STAGING"
(1) EAP-Message =
0x020101050d80000000fb16030100f6010000f2030325ba4b8a2626427b6541d1970bba97f8a7011c7be729a8e95a34416c497c7330203f42c6b8161a8e5a21d7fb9502efeb1bf8426ddafcb698cf304ca7e585a1e116002813021301c02cc02bc030c02fc024c023c028c027c00ac009c014c013009d009c003d003c0035002f01000081000500050100000000002b0009080304030303020301000d001a001808040805080604010501020104030503020302020601060300230000000a00080006001d00170018003300260024001d0020eadbbec36e05c29e081804cf5ccd3718fad67510f7aa608bf7bf286e4564970b0031000000170000ff01000100002d00020101
(1) Message-Authenticator = 0x5ca96f5ae44df2c84b8c65927a3f6020
(1) NAS-Identifier = "hAPac2"
(1) NAS-IP-Address = 82.20.92.138
(1) Restoring &session-state
(1) &session-state:Framed-MTU = 994
(1) # Executing section authorize from file
/usr/local/etc/raddb/sites-enabled/default
(1) authorize {
(1) policy filter_username {
(1) if (&User-Name) {
(1) if (&User-Name) -> TRUE
(1) if (&User-Name) {
(1) if (&User-Name =~ / /) {
(1) if (&User-Name =~ / /) -> FALSE
(1) if (&User-Name =~ /@[^@]*@/ ) {
(1) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(1) if (&User-Name =~ /\.\./ ) {
(1) if (&User-Name =~ /\.\./ ) -> FALSE
(1) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(1) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) ->
FALSE
(1) if (&User-Name =~ /\.$/) {
(1) if (&User-Name =~ /\.$/) -> FALSE
(1) if (&User-Name =~ /(a)\./) {
(1) if (&User-Name =~ /(a)\./) -> FALSE
(1) } # if (&User-Name) = notfound
(1) } # policy filter_username = notfound
(1) [preprocess] = ok
(1) suffix: Checking for suffix after "@"
(1) suffix: No '@' in User-Name = "host/xxxxxxxxxxxxxxxxxxx.local", looking
up realm NULL
(1) suffix: No such realm "NULL"
(1) [suffix] = noop
(1) eap: Peer sent EAP Response (code 2) ID 1 length 261
(1) eap: No EAP Start, assuming it's an on-going EAP conversation
(1) [eap] = updated
(1) [files] = noop
(1) [expiration] = noop
(1) [logintime] = noop
(1) } # authorize = updated
(1) Found Auth-Type = eap
(1) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(1) authenticate {
(1) eap: Expiring EAP session with state 0x4a27c5ed4a26c8fe
(1) eap: Finished EAP session with state 0x4a27c5ed4a26c8fe
(1) eap: Previous EAP request found for state 0x4a27c5ed4a26c8fe, released
from the list
(1) eap: Peer sent packet with method EAP TLS (13)
(1) eap: Calling submodule eap_tls to process data
(1) eap_tls: (TLS) EAP Peer says that the final record size will be 251
bytes
(1) eap_tls: (TLS) EAP Got all data (251 bytes)
(1) eap_tls: (TLS) Handshake state - before SSL initialization
(1) eap_tls: (TLS) Handshake state - Server before SSL initialization
(1) eap_tls: (TLS) Handshake state - Server before SSL initialization
(1) eap_tls: (TLS) recv TLS 1.3 Handshake, ClientHello
(1) eap_tls: (TLS) Handshake state - Server SSLv3/TLS read client hello
(1) eap_tls: (TLS) send TLS 1.3 Handshake, ServerHello
(1) eap_tls: (TLS) Handshake state - Server SSLv3/TLS write server hello
(1) eap_tls: (TLS) send TLS 1.3 ChangeCipherSpec
(1) eap_tls: (TLS) Handshake state - Server SSLv3/TLS write change cipher
spec
(1) eap_tls: (TLS) Handshake state - Server TLSv1.3 early data
(1) eap_tls: (TLS) Server : Need to read more data: TLSv1.3 early data
(1) eap_tls: (TLS) In Handshake Phase
(1) eap: Sending EAP Request (code 1) ID 2 length 109
(1) eap: EAP session adding &reply:State = 0x4a27c5ed4b25c8fe
(1) [eap] = handled
(1) } # authenticate = handled
(1) Using Post-Auth-Type Challenge
(1) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(1) Challenge { ... } # empty sub-section is ignored
(1) session-state: Saving cached attributes
(1) Framed-MTU = 994
(1) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(1) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake, ServerHello"
(1) TLS-Session-Information = "(TLS) send TLS 1.3 ChangeCipherSpec"
(1) Sent Access-Challenge Id 79 from 10.0.0.4:1812 to 82.20.92.138:39401
length 167
(1) EAP-Message =
0x0102006d0d80000000631603030058020000540303cf21ad74e59a6111be1d8c021e65b891c2a211167abb8c5e079e09e2c8a8339c203f42c6b8161a8e5a21d7fb9502efeb1bf8426ddafcb698cf304ca7e585a1e116130200000c002b00020304003300020018140303000101
(1) Message-Authenticator = 0x00000000000000000000000000000000
(1) State = 0x4a27c5ed4b25c8feafc22816468d6444
(1) Finished request
Waking up in 4.8 seconds.
(2) Received Access-Request Id 80 from 82.20.92.138:50788 to 10.0.0.4:1812
length 536
(2) Service-Type = Framed-User
(2) Framed-MTU = 1400
(2) User-Name = "host/xxxxxxxxxxxxxxxxxxx.local"
(2) State = 0x4a27c5ed4b25c8feafc22816468d6444
(2) NAS-Port-Id = "BEARFORCE-STAGING"
(2) NAS-Port-Type = Wireless-802.11
(2) Calling-Station-Id = "8C-E9-EE-2A-75-6F"
(2) Called-Station-Id = "76-4D-28-35-F9-1E:BEARFORCE-STAGING"
(2) EAP-Message =
0x0202014c0d8000000142140303000101160303013701000133030325ba4b8a2626427b6541d1970bba97f8a7011c7be729a8e95a34416c497c7330203f42c6b8161a8e5a21d7fb9502efeb1bf8426ddafcb698cf304ca7e585a1e116002813021301c02cc02bc030c02fc024c023c028c027c00ac009c014c013009d009c003d003c0035002f010000c2000500050100000000002b0009080304030303020301000d001a001808040805080604010501020104030503020302020601060300230000000a00080006001d001700180033006700650018006104081a21d3a856ea45f7ac1b9432617837cc70547e9d6f48bcb76dcb5a37c6b6e92fd0f6950429fe6b7a667b462299ad36cb2adf1a976436f8e75bc3cc32eb4f735e66eafcd4a69b954c596bc60d066e72cb0b2f33f06bd068b4320234ea9d2fc60031000000170000ff01000100002d00020101
(2) Message-Authenticator = 0xfa97d8df1f8da8c5a3657fb974d3595e
(2) NAS-Identifier = "hAPac2"
(2) NAS-IP-Address = 82.20.92.138
(2) Restoring &session-state
(2) &session-state:Framed-MTU = 994
(2) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3
Handshake, ClientHello"
(2) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
Handshake, ServerHello"
(2) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
ChangeCipherSpec"
(2) # Executing section authorize from file
/usr/local/etc/raddb/sites-enabled/default
(2) authorize {
(2) policy filter_username {
(2) if (&User-Name) {
(2) if (&User-Name) -> TRUE
(2) if (&User-Name) {
(2) if (&User-Name =~ / /) {
(2) if (&User-Name =~ / /) -> FALSE
(2) if (&User-Name =~ /@[^@]*@/ ) {
(2) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(2) if (&User-Name =~ /\.\./ ) {
(2) if (&User-Name =~ /\.\./ ) -> FALSE
(2) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(2) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) ->
FALSE
(2) if (&User-Name =~ /\.$/) {
(2) if (&User-Name =~ /\.$/) -> FALSE
(2) if (&User-Name =~ /(a)\./) {
(2) if (&User-Name =~ /(a)\./) -> FALSE
(2) } # if (&User-Name) = notfound
(2) } # policy filter_username = notfound
(2) [preprocess] = ok
(2) suffix: Checking for suffix after "@"
(2) suffix: No '@' in User-Name = "host/xxxxxxxxxxxxxxxxxxx.local", looking
up realm NULL
(2) suffix: No such realm "NULL"
(2) [suffix] = noop
(2) eap: Peer sent EAP Response (code 2) ID 2 length 332
(2) eap: No EAP Start, assuming it's an on-going EAP conversation
(2) [eap] = updated
(2) [files] = noop
(2) [expiration] = noop
(2) [logintime] = noop
(2) } # authorize = updated
(2) Found Auth-Type = eap
(2) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(2) authenticate {
(2) eap: Expiring EAP session with state 0x4a27c5ed4b25c8fe
(2) eap: Finished EAP session with state 0x4a27c5ed4b25c8fe
(2) eap: Previous EAP request found for state 0x4a27c5ed4b25c8fe, released
from the list
(2) eap: Peer sent packet with method EAP TLS (13)
(2) eap: Calling submodule eap_tls to process data
(2) eap_tls: (TLS) EAP Peer says that the final record size will be 322
bytes
(2) eap_tls: (TLS) EAP Got all data (322 bytes)
(2) eap_tls: (TLS) Handshake state - Server TLSv1.3 early data
(2) eap_tls: (TLS) recv TLS 1.3 Handshake, ClientHello
(2) eap_tls: (TLS) Handshake state - Server SSLv3/TLS read client hello
(2) eap_tls: (TLS) send TLS 1.3 Handshake, ServerHello
(2) eap_tls: (TLS) Handshake state - Server SSLv3/TLS write server hello
(2) eap_tls: (TLS) send TLS 1.3 Handshake, EncryptedExtensions
(2) eap_tls: (TLS) Handshake state - Server TLSv1.3 write encrypted
extensions
(2) eap_tls: (TLS) send TLS 1.3 Handshake, CertificateRequest
(2) eap_tls: (TLS) Handshake state - Server SSLv3/TLS write certificate
request
(2) eap_tls: (TLS) send TLS 1.3 Handshake, Certificate
(2) eap_tls: (TLS) Handshake state - Server SSLv3/TLS write certificate
(2) eap_tls: (TLS) send TLS 1.3 Handshake, CertificateVerify
(2) eap_tls: (TLS) Handshake state - Server TLSv1.3 write server
certificate verify
(2) eap_tls: (TLS) send TLS 1.3 Handshake, Finished
(2) eap_tls: (TLS) Handshake state - Server SSLv3/TLS write finished
(2) eap_tls: (TLS) Handshake state - Server TLSv1.3 early data
(2) eap_tls: (TLS) Server : Need to read more data: TLSv1.3 early data
(2) eap_tls: (TLS) In Handshake Phase
(2) eap: Sending EAP Request (code 1) ID 3 length 1004
(2) eap: EAP session adding &reply:State = 0x4a27c5ed4824c8fe
(2) [eap] = handled
(2) } # authenticate = handled
(2) Using Post-Auth-Type Challenge
(2) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(2) Challenge { ... } # empty sub-section is ignored
(2) session-state: Saving cached attributes
(2) Framed-MTU = 994
(2) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(2) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake, ServerHello"
(2) TLS-Session-Information = "(TLS) send TLS 1.3 ChangeCipherSpec"
(2) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(2) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake, ServerHello"
(2) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake,
EncryptedExtensions"
(2) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake,
CertificateRequest"
(2) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake, Certificate"
(2) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake,
CertificateVerify"
(2) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake, Finished"
(2) Sent Access-Challenge Id 80 from 10.0.0.4:1812 to 82.20.92.138:50788
length 1068
(2) EAP-Message =
0x010303ec0dc00000077116030300bb020000b703039b7592b88f584508e1f52e90ca1e369dfb30b9c793b362fe459d2dab2e15ac83203f42c6b8161a8e5a21d7fb9502efeb1bf8426ddafcb698cf304ca7e585a1e116130200006f002b00020304003300650018006104617461dfe93533ead71dc9d2c72ada079bc61a568e1d16e7286d5259eef8c08f1ce616aa5e5656773c840e22dd46d4fbebfba3dc966afbda98c973b07c7a30bef942c1c9d423f0d70211236bb6e88c9cd7aad741c0fbd294b428b4d472d040d91703030017b9edcfeb8c7050716be62b533e22afcb80d50d020f5f9d17030300942327c869d976c607941365151e93f8de14ddd47082d798a6a300030381dba7e87c20a681dd319f1011833c78c21e02904adde6661fa7ebfafc2661487dc674d22a0202911b9f112a5f21054516c3b3982cf7e4aa1bea4d42739e2afe558fe17583ce8d5051d6b26ae1f005fb8c0f430ea65413d085491dd9b27a69172c9bc9495129844fbd2744e141691f3f
(2) Message-Authenticator = 0x00000000000000000000000000000000
(2) State = 0x4a27c5ed4824c8feafc22816468d6444
(2) Finished request
Waking up in 4.7 seconds.
(3) Received Access-Request Id 81 from 82.20.92.138:60606 to 10.0.0.4:1812
length 208
(3) Service-Type = Framed-User
(3) Framed-MTU = 1400
(3) User-Name = "host/xxxxxxxxxxxxxxxxxxx.local"
(3) State = 0x4a27c5ed4824c8feafc22816468d6444
(3) NAS-Port-Id = "BEARFORCE-STAGING"
(3) NAS-Port-Type = Wireless-802.11
(3) Calling-Station-Id = "8C-E9-EE-2A-75-6F"
(3) Called-Station-Id = "76-4D-28-35-F9-1E:BEARFORCE-STAGING"
(3) EAP-Message = 0x020300060d00
(3) Message-Authenticator = 0xd7f331b98ca28de570d31dc662a85175
(3) NAS-Identifier = "hAPac2"
(3) NAS-IP-Address = 82.20.92.138
(3) Restoring &session-state
(3) &session-state:Framed-MTU = 994
(3) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3
Handshake, ClientHello"
(3) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
Handshake, ServerHello"
(3) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
ChangeCipherSpec"
(3) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3
Handshake, ClientHello"
(3) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
Handshake, ServerHello"
(3) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
Handshake, EncryptedExtensions"
(3) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
Handshake, CertificateRequest"
(3) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
Handshake, Certificate"
(3) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
Handshake, CertificateVerify"
(3) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
Handshake, Finished"
(3) # Executing section authorize from file
/usr/local/etc/raddb/sites-enabled/default
(3) authorize {
(3) policy filter_username {
(3) if (&User-Name) {
(3) if (&User-Name) -> TRUE
(3) if (&User-Name) {
(3) if (&User-Name =~ / /) {
(3) if (&User-Name =~ / /) -> FALSE
(3) if (&User-Name =~ /@[^@]*@/ ) {
(3) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(3) if (&User-Name =~ /\.\./ ) {
(3) if (&User-Name =~ /\.\./ ) -> FALSE
(3) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(3) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) ->
FALSE
(3) if (&User-Name =~ /\.$/) {
(3) if (&User-Name =~ /\.$/) -> FALSE
(3) if (&User-Name =~ /(a)\./) {
(3) if (&User-Name =~ /(a)\./) -> FALSE
(3) } # if (&User-Name) = notfound
(3) } # policy filter_username = notfound
(3) [preprocess] = ok
(3) suffix: Checking for suffix after "@"
(3) suffix: No '@' in User-Name = "host/xxxxxxxxxxxxxxxxxxx.local", looking
up realm NULL
(3) suffix: No such realm "NULL"
(3) [suffix] = noop
(3) eap: Peer sent EAP Response (code 2) ID 3 length 6
(3) eap: No EAP Start, assuming it's an on-going EAP conversation
(3) [eap] = updated
(3) [files] = noop
(3) [expiration] = noop
(3) [logintime] = noop
(3) } # authorize = updated
(3) Found Auth-Type = eap
(3) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(3) authenticate {
(3) eap: Expiring EAP session with state 0x4a27c5ed4824c8fe
(3) eap: Finished EAP session with state 0x4a27c5ed4824c8fe
(3) eap: Previous EAP request found for state 0x4a27c5ed4824c8fe, released
from the list
(3) eap: Peer sent packet with method EAP TLS (13)
(3) eap: Calling submodule eap_tls to process data
(3) eap_tls: (TLS) Peer ACKed our handshake fragment
(3) eap: Sending EAP Request (code 1) ID 4 length 921
(3) eap: EAP session adding &reply:State = 0x4a27c5ed4923c8fe
(3) [eap] = handled
(3) } # authenticate = handled
(3) Using Post-Auth-Type Challenge
(3) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(3) Challenge { ... } # empty sub-section is ignored
(3) session-state: Saving cached attributes
(3) Framed-MTU = 994
(3) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(3) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake, ServerHello"
(3) TLS-Session-Information = "(TLS) send TLS 1.3 ChangeCipherSpec"
(3) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(3) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake, ServerHello"
(3) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake,
EncryptedExtensions"
(3) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake,
CertificateRequest"
(3) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake, Certificate"
(3) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake,
CertificateVerify"
(3) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake, Finished"
(3) Sent Access-Challenge Id 81 from 10.0.0.4:1812 to 82.20.92.138:60606
length 985
(3) EAP-Message =
0x010403990d800000077165e7834fd3c3fc5141b1e11bb77b5664d49e44fc7c6bfe965092d5ae6a3084db6aaf9076bd85462d905bcb74ba89cd1543bb218c7abe5065a1baecb15ce04985a4e83019510fa201f6d955eea6dbd000474e75e67f8885c3eeb245115f09481915c066d7ce8843b603067d94af5090da184240e41883f3eaa36f73ce7842feea829c73382bd6d1a0c8eef862ca90b02ad820652c6ec2bf7d121bb1d132f94e2c088125e06a4e383af1086f89d6d353c39ec3bcdaac6ce20141fba6d6cba1c98f5f9ac336fc2af6f017f01578d106032e68820bdc02caeec0d7836da4c61430ce76f19ec95651517fab4a23f847f1b44a081c71832f1704f9cf2abbf539fb4dc21b2adf9377b6decf0d4b664b268ff9f048dd33e27bb834afbfa4adef8f3f76bbd1a3ef3ce93d4b75927ef2372f69dbf56f099c5ee8d1bc766db16a33c4593b443244504fd36e485dd775d06c8b88efb18576800fa840d3d59af5becaa75cc84135e0f91aa048d327fbbb9d570c
(3) Message-Authenticator = 0x00000000000000000000000000000000
(3) State = 0x4a27c5ed4923c8feafc22816468d6444
(3) Finished request
Waking up in 4.6 seconds.
(4) Received Access-Request Id 83 from 82.20.92.138:45987 to 10.0.0.4:1812
length 224
(4) Service-Type = Framed-User
(4) Framed-MTU = 1400
(4) User-Name = "host/xxxxxxxxxxxxxxxxxxx.local"
(4) NAS-Port-Id = "BEARFORCE-STAGING"
(4) NAS-Port-Type = Wireless-802.11
(4) Calling-Station-Id = "8C-E9-EE-2A-75-6F"
(4) Called-Station-Id = "76-4D-28-35-F9-1E:BEARFORCE-STAGING"
(4) EAP-Message =
0x0200002801686f73742f4c54415a2d59314959454b583352422e756e6976657273652e6c6f63616c
(4) Message-Authenticator = 0x5ebe521f855bf7ca926a4bb60a8279f2
(4) NAS-Identifier = "hAPac2"
(4) NAS-IP-Address = 82.20.92.138
(4) # Executing section authorize from file
/usr/local/etc/raddb/sites-enabled/default
(4) authorize {
(4) policy filter_username {
(4) if (&User-Name) {
(4) if (&User-Name) -> TRUE
(4) if (&User-Name) {
(4) if (&User-Name =~ / /) {
(4) if (&User-Name =~ / /) -> FALSE
(4) if (&User-Name =~ /@[^@]*@/ ) {
(4) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(4) if (&User-Name =~ /\.\./ ) {
(4) if (&User-Name =~ /\.\./ ) -> FALSE
(4) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(4) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) ->
FALSE
(4) if (&User-Name =~ /\.$/) {
(4) if (&User-Name =~ /\.$/) -> FALSE
(4) if (&User-Name =~ /(a)\./) {
(4) if (&User-Name =~ /(a)\./) -> FALSE
(4) } # if (&User-Name) = notfound
(4) } # policy filter_username = notfound
(4) [preprocess] = ok
(4) suffix: Checking for suffix after "@"
(4) suffix: No '@' in User-Name = "host/xxxxxxxxxxxxxxxxxxx.local", looking
up realm NULL
(4) suffix: No such realm "NULL"
(4) [suffix] = noop
(4) eap: Peer sent EAP Response (code 2) ID 0 length 40
(4) eap: EAP-Identity reply, returning 'ok' so we can short-circuit the
rest of authorize
(4) [eap] = ok
(4) } # authorize = ok
(4) Found Auth-Type = eap
(4) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(4) authenticate {
(4) eap: Peer sent packet with method EAP Identity (1)
(4) eap: Calling submodule eap_tls to process data
(4) eap_tls: (TLS) Initiating new session
(4) eap_tls: (TLS) Setting verify mode to require certificate from client
(4) eap: Sending EAP Request (code 1) ID 1 length 6
(4) eap: EAP session adding &reply:State = 0xe25ec137e25fcc41
(4) [eap] = handled
(4) } # authenticate = handled
(4) Using Post-Auth-Type Challenge
(4) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(4) Challenge { ... } # empty sub-section is ignored
(4) session-state: Saving cached attributes
(4) Framed-MTU = 994
(4) Sent Access-Challenge Id 83 from 10.0.0.4:1812 to 82.20.92.138:45987
length 64
(4) EAP-Message = 0x010100060d20
(4) Message-Authenticator = 0x00000000000000000000000000000000
(4) State = 0xe25ec137e25fcc41e863aaa1420b4843
(4) Finished request
Waking up in 2.4 seconds.
(5) Received Access-Request Id 84 from 82.20.92.138:47328 to 10.0.0.4:1812
length 465
(5) Service-Type = Framed-User
(5) Framed-MTU = 1400
(5) User-Name = "host/xxxxxxxxxxxxxxxxxxx.local"
(5) State = 0xe25ec137e25fcc41e863aaa1420b4843
(5) NAS-Port-Id = "BEARFORCE-STAGING"
(5) NAS-Port-Type = Wireless-802.11
(5) Calling-Station-Id = "8C-E9-EE-2A-75-6F"
(5) Called-Station-Id = "76-4D-28-35-F9-1E:BEARFORCE-STAGING"
(5) EAP-Message =
0x020101050d80000000fb16030100f6010000f203035e3fee2d6ec1b35a8c18251ea34262936dba89fdea663e908d0409729acc96812042c79cf2c42d9e19f1cb1deb53056d4d1180be1271b6a5fee84f0386efc15e78002813021301c02cc02bc030c02fc024c023c028c027c00ac009c014c013009d009c003d003c0035002f01000081000500050100000000002b0009080304030303020301000d001a001808040805080604010501020104030503020302020601060300230000000a00080006001d00170018003300260024001d002028e8af56ac4e86ab223983b78542be3730a562a28fec3a95df69d16e967c69110031000000170000ff01000100002d00020101
(5) Message-Authenticator = 0xec42bb4c3ef0a6f2cfd7abaaf15d986f
(5) NAS-Identifier = "hAPac2"
(5) NAS-IP-Address = 82.20.92.138
(5) Restoring &session-state
(5) &session-state:Framed-MTU = 994
(5) # Executing section authorize from file
/usr/local/etc/raddb/sites-enabled/default
(5) authorize {
(5) policy filter_username {
(5) if (&User-Name) {
(5) if (&User-Name) -> TRUE
(5) if (&User-Name) {
(5) if (&User-Name =~ / /) {
(5) if (&User-Name =~ / /) -> FALSE
(5) if (&User-Name =~ /@[^@]*@/ ) {
(5) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(5) if (&User-Name =~ /\.\./ ) {
(5) if (&User-Name =~ /\.\./ ) -> FALSE
(5) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(5) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) ->
FALSE
(5) if (&User-Name =~ /\.$/) {
(5) if (&User-Name =~ /\.$/) -> FALSE
(5) if (&User-Name =~ /(a)\./) {
(5) if (&User-Name =~ /(a)\./) -> FALSE
(5) } # if (&User-Name) = notfound
(5) } # policy filter_username = notfound
(5) [preprocess] = ok
(5) suffix: Checking for suffix after "@"
(5) suffix: No '@' in User-Name = "host/xxxxxxxxxxxxxxxxxxx.local", looking
up realm NULL
(5) suffix: No such realm "NULL"
(5) [suffix] = noop
(5) eap: Peer sent EAP Response (code 2) ID 1 length 261
(5) eap: No EAP Start, assuming it's an on-going EAP conversation
(5) [eap] = updated
(5) [files] = noop
(5) [expiration] = noop
(5) [logintime] = noop
(5) } # authorize = updated
(5) Found Auth-Type = eap
(5) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(5) authenticate {
(5) eap: Expiring EAP session with state 0x4a27c5ed4923c8fe
(5) eap: Finished EAP session with state 0xe25ec137e25fcc41
(5) eap: Previous EAP request found for state 0xe25ec137e25fcc41, released
from the list
(5) eap: Peer sent packet with method EAP TLS (13)
(5) eap: Calling submodule eap_tls to process data
(5) eap_tls: (TLS) EAP Peer says that the final record size will be 251
bytes
(5) eap_tls: (TLS) EAP Got all data (251 bytes)
(5) eap_tls: (TLS) Handshake state - before SSL initialization
(5) eap_tls: (TLS) Handshake state - Server before SSL initialization
(5) eap_tls: (TLS) Handshake state - Server before SSL initialization
(5) eap_tls: (TLS) recv TLS 1.3 Handshake, ClientHello
(5) eap_tls: (TLS) Handshake state - Server SSLv3/TLS read client hello
(5) eap_tls: (TLS) send TLS 1.3 Handshake, ServerHello
(5) eap_tls: (TLS) Handshake state - Server SSLv3/TLS write server hello
(5) eap_tls: (TLS) send TLS 1.3 ChangeCipherSpec
(5) eap_tls: (TLS) Handshake state - Server SSLv3/TLS write change cipher
spec
(5) eap_tls: (TLS) Handshake state - Server TLSv1.3 early data
(5) eap_tls: (TLS) Server : Need to read more data: TLSv1.3 early data
(5) eap_tls: (TLS) In Handshake Phase
(5) eap: Sending EAP Request (code 1) ID 2 length 109
(5) eap: EAP session adding &reply:State = 0xe25ec137e35ccc41
(5) [eap] = handled
(5) } # authenticate = handled
(5) Using Post-Auth-Type Challenge
(5) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(5) Challenge { ... } # empty sub-section is ignored
(5) session-state: Saving cached attributes
(5) Framed-MTU = 994
(5) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(5) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake, ServerHello"
(5) TLS-Session-Information = "(TLS) send TLS 1.3 ChangeCipherSpec"
(5) Sent Access-Challenge Id 84 from 10.0.0.4:1812 to 82.20.92.138:47328
length 167
(5) EAP-Message =
0x0102006d0d80000000631603030058020000540303cf21ad74e59a6111be1d8c021e65b891c2a211167abb8c5e079e09e2c8a8339c2042c79cf2c42d9e19f1cb1deb53056d4d1180be1271b6a5fee84f0386efc15e78130200000c002b00020304003300020018140303000101
(5) Message-Authenticator = 0x00000000000000000000000000000000
(5) State = 0xe25ec137e35ccc41e863aaa1420b4843
(5) Finished request
Waking up in 2.3 seconds.
(6) Received Access-Request Id 85 from 82.20.92.138:54284 to 10.0.0.4:1812
length 536
(6) Service-Type = Framed-User
(6) Framed-MTU = 1400
(6) User-Name = "host/xxxxxxxxxxxxxxxxxxx.local"
(6) State = 0xe25ec137e35ccc41e863aaa1420b4843
(6) NAS-Port-Id = "BEARFORCE-STAGING"
(6) NAS-Port-Type = Wireless-802.11
(6) Calling-Station-Id = "8C-E9-EE-2A-75-6F"
(6) Called-Station-Id = "76-4D-28-35-F9-1E:BEARFORCE-STAGING"
(6) EAP-Message =
0x0202014c0d800000014214030300010116030301370100013303035e3fee2d6ec1b35a8c18251ea34262936dba89fdea663e908d0409729acc96812042c79cf2c42d9e19f1cb1deb53056d4d1180be1271b6a5fee84f0386efc15e78002813021301c02cc02bc030c02fc024c023c028c027c00ac009c014c013009d009c003d003c0035002f010000c2000500050100000000002b0009080304030303020301000d001a001808040805080604010501020104030503020302020601060300230000000a00080006001d0017001800330067006500180061044a1dc262f7b017fb19be91856d1ddb4b3586a772bff5f2ca98c945b5b6caeb7ffc3ff3eed9c8c01b57d15c669046ac59dc10811d7375e7c6c9896e4bd05f58118da72a1521f160b6fea691bcdc0b622569527ac1fde955457147d9bc889ffa840031000000170000ff01000100002d00020101
(6) Message-Authenticator = 0xe44f25f57de275df6b073e2041a9e9ba
(6) NAS-Identifier = "hAPac2"
(6) NAS-IP-Address = 82.20.92.138
(6) Restoring &session-state
(6) &session-state:Framed-MTU = 994
(6) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3
Handshake, ClientHello"
(6) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
Handshake, ServerHello"
(6) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
ChangeCipherSpec"
(6) # Executing section authorize from file
/usr/local/etc/raddb/sites-enabled/default
(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: No '@' in User-Name = "host/xxxxxxxxxxxxxxxxxxx.local", looking
up realm NULL
(6) suffix: No such realm "NULL"
(6) [suffix] = noop
(6) eap: Peer sent EAP Response (code 2) ID 2 length 332
(6) eap: No EAP Start, assuming it's an on-going EAP conversation
(6) [eap] = updated
(6) [files] = noop
(6) [expiration] = noop
(6) [logintime] = noop
(6) } # authorize = updated
(6) Found Auth-Type = eap
(6) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(6) authenticate {
(6) eap: Expiring EAP session with state 0x4a27c5ed4923c8fe
(6) eap: Finished EAP session with state 0xe25ec137e35ccc41
(6) eap: Previous EAP request found for state 0xe25ec137e35ccc41, released
from the list
(6) eap: Peer sent packet with method EAP TLS (13)
(6) eap: Calling submodule eap_tls to process data
(6) eap_tls: (TLS) EAP Peer says that the final record size will be 322
bytes
(6) eap_tls: (TLS) EAP Got all data (322 bytes)
(6) eap_tls: (TLS) Handshake state - Server TLSv1.3 early data
(6) eap_tls: (TLS) recv TLS 1.3 Handshake, ClientHello
(6) eap_tls: (TLS) Handshake state - Server SSLv3/TLS read client hello
(6) eap_tls: (TLS) send TLS 1.3 Handshake, ServerHello
(6) eap_tls: (TLS) Handshake state - Server SSLv3/TLS write server hello
(6) eap_tls: (TLS) send TLS 1.3 Handshake, EncryptedExtensions
(6) eap_tls: (TLS) Handshake state - Server TLSv1.3 write encrypted
extensions
(6) eap_tls: (TLS) send TLS 1.3 Handshake, CertificateRequest
(6) eap_tls: (TLS) Handshake state - Server SSLv3/TLS write certificate
request
(6) eap_tls: (TLS) send TLS 1.3 Handshake, Certificate
(6) eap_tls: (TLS) Handshake state - Server SSLv3/TLS write certificate
(6) eap_tls: (TLS) send TLS 1.3 Handshake, CertificateVerify
(6) eap_tls: (TLS) Handshake state - Server TLSv1.3 write server
certificate verify
(6) eap_tls: (TLS) send TLS 1.3 Handshake, Finished
(6) eap_tls: (TLS) Handshake state - Server SSLv3/TLS write finished
(6) eap_tls: (TLS) Handshake state - Server TLSv1.3 early data
(6) eap_tls: (TLS) Server : Need to read more data: TLSv1.3 early data
(6) eap_tls: (TLS) In Handshake Phase
(6) eap: Sending EAP Request (code 1) ID 3 length 1004
(6) eap: EAP session adding &reply:State = 0xe25ec137e05dcc41
(6) [eap] = handled
(6) } # authenticate = handled
(6) Using Post-Auth-Type Challenge
(6) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(6) Challenge { ... } # empty sub-section is ignored
(6) session-state: Saving cached attributes
(6) Framed-MTU = 994
(6) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(6) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake, ServerHello"
(6) TLS-Session-Information = "(TLS) send TLS 1.3 ChangeCipherSpec"
(6) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(6) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake, ServerHello"
(6) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake,
EncryptedExtensions"
(6) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake,
CertificateRequest"
(6) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake, Certificate"
(6) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake,
CertificateVerify"
(6) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake, Finished"
(6) Sent Access-Challenge Id 85 from 10.0.0.4:1812 to 82.20.92.138:54284
length 1068
(6) EAP-Message =
0x010303ec0dc00000077116030300bb020000b70303c31cbeb90ed5594a8f3559d2c48d8da66448765f893c73749ae2e21a9b5436222042c79cf2c42d9e19f1cb1deb53056d4d1180be1271b6a5fee84f0386efc15e78130200006f002b00020304003300650018006104e7682b91edb900c579cc3d22232a408a10fff50bfa31ff60ac862b0bf513f6b82ebb1c302e52ad12b77cac6294a644dfe82c3f87fba2aff01c2ed78cb5db465854cc25d210f515da42076c604ed9e6b4c7c84aa86fc0d179e04b5a1f1270b4441703030017672e6327192e85bd82ad1c486a37d88a3a9b2e041c3e6517030300941327f5cd81c99e1413a7424f62cb12307abe0dcc5c56e49e318fe7ec7eb8de6105817deb22882fb4c4d592fb45f55b7e84b5ff6af92388b77fcdb8dacce63aed68f3029e375e2d47aab598bdadd318c83eaa7cdbb80b5bed1a38e705215d6f18a47f61640fa9cbed5d7d9a0d72e822661d6e3838a694f09dad3e684510ca257d3c4d6ca155d8045a835ef2fa
(6) Message-Authenticator = 0x00000000000000000000000000000000
(6) State = 0xe25ec137e05dcc41e863aaa1420b4843
(6) Finished request
Waking up in 2.2 seconds.
(7) Received Access-Request Id 86 from 82.20.92.138:37131 to 10.0.0.4:1812
length 208
(7) Service-Type = Framed-User
(7) Framed-MTU = 1400
(7) User-Name = "host/xxxxxxxxxxxxxxxxxxx.local"
(7) State = 0xe25ec137e05dcc41e863aaa1420b4843
(7) NAS-Port-Id = "BEARFORCE-STAGING"
(7) NAS-Port-Type = Wireless-802.11
(7) Calling-Station-Id = "8C-E9-EE-2A-75-6F"
(7) Called-Station-Id = "76-4D-28-35-F9-1E:BEARFORCE-STAGING"
(7) EAP-Message = 0x020300060d00
(7) Message-Authenticator = 0x942f946577ef1885be3f13ea2dfe5aae
(7) NAS-Identifier = "hAPac2"
(7) NAS-IP-Address = 82.20.92.138
(7) Restoring &session-state
(7) &session-state:Framed-MTU = 994
(7) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3
Handshake, ClientHello"
(7) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
Handshake, ServerHello"
(7) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
ChangeCipherSpec"
(7) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3
Handshake, ClientHello"
(7) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
Handshake, ServerHello"
(7) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
Handshake, EncryptedExtensions"
(7) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
Handshake, CertificateRequest"
(7) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
Handshake, Certificate"
(7) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
Handshake, CertificateVerify"
(7) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
Handshake, Finished"
(7) # Executing section authorize from file
/usr/local/etc/raddb/sites-enabled/default
(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: No '@' in User-Name = "host/xxxxxxxxxxxxxxxxxxx.local", looking
up realm NULL
(7) suffix: No such realm "NULL"
(7) [suffix] = noop
(7) eap: Peer sent EAP Response (code 2) ID 3 length 6
(7) eap: No EAP Start, assuming it's an on-going EAP conversation
(7) [eap] = updated
(7) [files] = noop
(7) [expiration] = noop
(7) [logintime] = noop
(7) } # authorize = updated
(7) Found Auth-Type = eap
(7) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(7) authenticate {
(7) eap: Expiring EAP session with state 0x4a27c5ed4923c8fe
(7) eap: Finished EAP session with state 0xe25ec137e05dcc41
(7) eap: Previous EAP request found for state 0xe25ec137e05dcc41, released
from the list
(7) eap: Peer sent packet with method EAP TLS (13)
(7) eap: Calling submodule eap_tls to process data
(7) eap_tls: (TLS) Peer ACKed our handshake fragment
(7) eap: Sending EAP Request (code 1) ID 4 length 921
(7) eap: EAP session adding &reply:State = 0xe25ec137e15acc41
(7) [eap] = handled
(7) } # authenticate = handled
(7) Using Post-Auth-Type Challenge
(7) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(7) Challenge { ... } # empty sub-section is ignored
(7) session-state: Saving cached attributes
(7) Framed-MTU = 994
(7) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(7) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake, ServerHello"
(7) TLS-Session-Information = "(TLS) send TLS 1.3 ChangeCipherSpec"
(7) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(7) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake, ServerHello"
(7) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake,
EncryptedExtensions"
(7) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake,
CertificateRequest"
(7) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake, Certificate"
(7) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake,
CertificateVerify"
(7) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake, Finished"
(7) Sent Access-Challenge Id 86 from 10.0.0.4:1812 to 82.20.92.138:37131
length 985
(7) EAP-Message =
0x010403990d800000077142817dcfffba866ca7f54bf28deaa8df4d59721d30a5b9d5889891c43a3f77f8bcf18e79e77d7e1ae321030d2342767a46a85dbb41892a386ea566a682966f51ba4af4b9a935926f74ff71415a9630240be3fb216475911b05e7a2106aaaf127c217a27fc2ae8e562e9e28ec0ea947e48360cf8c863d6af91592a5398585dd14444ec76319b8043f9378a7d71518b8b7a1ad23ac854d31ac6a64c68df3378a28b5fd1ae55c528c330065df9cac2f0bd33d5e1d077131983f720df2a38d29e0e702c211d36ef46803b1f7a81108d549a9b2cc6a1e679029fec137e7404ef8c89d71822ece05c144f0670db04344b2e5897a84bd22cf18186614ef6ddf36b7dfc6a42bbe2f58bb3f2e0395567eb80b1f2fbef9e9403b5fc575cf403c3bfcfea60b4a395b697d031cd8bd8d3924f09d63bc5455f53d8a69fc223eeed6c6b74aabcdeb28133969c5829b14a5df242344a4f697c74a42ef55e0a618c37151cf7a3c1e08d099c61fd254bb83f868eca9
(7) Message-Authenticator = 0x00000000000000000000000000000000
(7) State = 0xe25ec137e15acc41e863aaa1420b4843
(7) Finished request
Waking up in 2.1 seconds.
(8) Received Access-Request Id 87 from 82.20.92.138:48965 to 10.0.0.4:1812
length 1704
(8) Service-Type = Framed-User
(8) Framed-MTU = 1400
(8) User-Name = "host/xxxxxxxxxxxxxxxxxxx.local"
(8) State = 0xe25ec137e15acc41e863aaa1420b4843
(8) NAS-Port-Id = "BEARFORCE-STAGING"
(8) NAS-Port-Type = Wireless-802.11
(8) Calling-Station-Id = "8C-E9-EE-2A-75-6F"
(8) Called-Station-Id = "76-4D-28-35-F9-1E:BEARFORCE-STAGING"
(8) EAP-Message =
0x020405d40dc000000f531703030f4e72879eed7aafeb8865ce5d5b25e8b23ace38f869ec3c28a57590d41f344e3e6be8405c31da352ed4901561053bdc3771034d0329aa00893a33adea7f425d0cc1bd1548b33a0ba12e3485adbd6050ef71ff2fa487c4e5e3dadb2ce11464533a7dec4101f77e46a4e1d35c37fc445fae7b135955c68ae973a89f62e2d78577607e4693b67baf4f75829f58550900b721c435dbac5cbda2c7163c9cafd19b16f3fbfd1bfced66fd0bb3d1d0647599451a65eae02625f7b3d6fcd204dd33c22b23480d1516935353cd3878ea0fd236c76e907ecbade8b6e278ae0a837e1a0fe433f6629dda80bf7504da465eb81d55621dc8f10c25f3f624503500f333338c3b58d28582c7ce791e97d37101f8b6e4eb562cb152df3e40ed5ed4090115ea21d15db0fed432071b00a4d1cebda065c3f76c19aa664e7adf214850f0648fcd3474563bcdfd7dc7fd564a6ff98b64b1d6a85358ae50bcbe3bd8b5cdc187fc2410df918058f933b917311113
(8) Message-Authenticator = 0x6466e69547e147558f3becf758f6e987
(8) NAS-Identifier = "hAPac2"
(8) NAS-IP-Address = 82.20.92.138
(8) Restoring &session-state
(8) &session-state:Framed-MTU = 994
(8) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3
Handshake, ClientHello"
(8) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
Handshake, ServerHello"
(8) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
ChangeCipherSpec"
(8) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3
Handshake, ClientHello"
(8) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
Handshake, ServerHello"
(8) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
Handshake, EncryptedExtensions"
(8) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
Handshake, CertificateRequest"
(8) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
Handshake, Certificate"
(8) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
Handshake, CertificateVerify"
(8) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
Handshake, Finished"
(8) # Executing section authorize from file
/usr/local/etc/raddb/sites-enabled/default
(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: No '@' in User-Name = "host/xxxxxxxxxxxxxxxxxxx.local", looking
up realm NULL
(8) suffix: No such realm "NULL"
(8) [suffix] = noop
(8) eap: Peer sent EAP Response (code 2) ID 4 length 1492
(8) eap: No EAP Start, assuming it's an on-going EAP conversation
(8) [eap] = updated
(8) [files] = noop
(8) [expiration] = noop
(8) [logintime] = noop
(8) } # authorize = updated
(8) Found Auth-Type = eap
(8) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(8) authenticate {
(8) eap: Expiring EAP session with state 0x4a27c5ed4923c8fe
(8) eap: Finished EAP session with state 0xe25ec137e15acc41
(8) eap: Previous EAP request found for state 0xe25ec137e15acc41, released
from the list
(8) eap: Peer sent packet with method EAP TLS (13)
(8) eap: Calling submodule eap_tls to process data
(8) eap_tls: (TLS) EAP Peer says that the final record size will be 3923
bytes
(8) eap_tls: (TLS) EAP Expecting 3 fragments
(8) eap_tls: (TLS) EAP Got first TLS fragment (1482 bytes). Peer says more
fragments will follow
(8) eap_tls: (TLS) EAP ACKing fragment, the peer should send more data.
(8) eap: Sending EAP Request (code 1) ID 5 length 6
(8) eap: EAP session adding &reply:State = 0xe25ec137e65bcc41
(8) [eap] = handled
(8) } # authenticate = handled
(8) Using Post-Auth-Type Challenge
(8) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(8) Challenge { ... } # empty sub-section is ignored
(8) session-state: Saving cached attributes
(8) Framed-MTU = 994
(8) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(8) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake, ServerHello"
(8) TLS-Session-Information = "(TLS) send TLS 1.3 ChangeCipherSpec"
(8) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(8) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake, ServerHello"
(8) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake,
EncryptedExtensions"
(8) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake,
CertificateRequest"
(8) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake, Certificate"
(8) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake,
CertificateVerify"
(8) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake, Finished"
(8) Sent Access-Challenge Id 87 from 10.0.0.4:1812 to 82.20.92.138:48965
length 64
(8) EAP-Message = 0x010500060d00
(8) Message-Authenticator = 0x00000000000000000000000000000000
(8) State = 0xe25ec137e65bcc41e863aaa1420b4843
(8) Finished request
Waking up in 0.6 seconds.
(0) Cleaning up request packet ID 78 with timestamp +13 due to
cleanup_delay was reached
(1) Cleaning up request packet ID 79 with timestamp +13 due to
cleanup_delay was reached
Waking up in 0.1 seconds.
(2) Cleaning up request packet ID 80 with timestamp +13 due to
cleanup_delay was reached
Waking up in 0.1 seconds.
(3) Cleaning up request packet ID 81 with timestamp +13 due to
cleanup_delay was reached
Waking up in 2.1 seconds.
(9) Received Access-Request Id 89 from 82.20.92.138:58324 to 10.0.0.4:1812
length 224
(9) Service-Type = Framed-User
(9) Framed-MTU = 1400
(9) User-Name = "host/xxxxxxxxxxxxxxxxxxx.local"
(9) NAS-Port-Id = "BEARFORCE-STAGING"
(9) NAS-Port-Type = Wireless-802.11
(9) Calling-Station-Id = "8C-E9-EE-2A-75-6F"
(9) Called-Station-Id = "76-4D-28-35-F9-1E:BEARFORCE-STAGING"
(9) EAP-Message =
0x0200002801686f73742f4c54415a2d59314959454b583352422e756e6976657273652e6c6f63616c
(9) Message-Authenticator = 0x9a7a2c562c8a89e12bb9c7be9459fc7c
(9) NAS-Identifier = "hAPac2"
(9) NAS-IP-Address = 82.20.92.138
(9) # Executing section authorize from file
/usr/local/etc/raddb/sites-enabled/default
(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: No '@' in User-Name = "host/xxxxxxxxxxxxxxxxxxx.local", looking
up realm NULL
(9) suffix: No such realm "NULL"
(9) [suffix] = noop
(9) eap: Peer sent EAP Response (code 2) ID 0 length 40
(9) eap: EAP-Identity reply, returning 'ok' so we can short-circuit the
rest of authorize
(9) [eap] = ok
(9) } # authorize = ok
(9) Found Auth-Type = eap
(9) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(9) authenticate {
(9) eap: Peer sent packet with method EAP Identity (1)
(9) eap: Calling submodule eap_tls to process data
(9) eap_tls: (TLS) Initiating new session
(9) eap_tls: (TLS) Setting verify mode to require certificate from client
(9) eap: Sending EAP Request (code 1) ID 1 length 6
(9) eap: EAP session adding &reply:State = 0xde897f38de88721a
(9) [eap] = handled
(9) } # authenticate = handled
(9) Using Post-Auth-Type Challenge
(9) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(9) Challenge { ... } # empty sub-section is ignored
(9) session-state: Saving cached attributes
(9) Framed-MTU = 994
(9) Sent Access-Challenge Id 89 from 10.0.0.4:1812 to 82.20.92.138:58324
length 64
(9) EAP-Message = 0x010100060d20
(9) Message-Authenticator = 0x00000000000000000000000000000000
(9) State = 0xde897f38de88721aabccaed4fc8a92ab
(9) Finished request
Waking up in 1.0 seconds.
(10) Received Access-Request Id 90 from 82.20.92.138:58267 to 10.0.0.4:1812
length 465
(10) Service-Type = Framed-User
(10) Framed-MTU = 1400
(10) User-Name = "host/xxxxxxxxxxxxxxxxxxx.local"
(10) State = 0xde897f38de88721aabccaed4fc8a92ab
(10) NAS-Port-Id = "BEARFORCE-STAGING"
(10) NAS-Port-Type = Wireless-802.11
(10) Calling-Station-Id = "8C-E9-EE-2A-75-6F"
(10) Called-Station-Id = "76-4D-28-35-F9-1E:BEARFORCE-STAGING"
(10) EAP-Message =
0x020101050d80000000fb16030100f6010000f20303ccefe8ee31854e33553366072fc1f3a2cdf7c558d96d4e0fd557ed4599ceff1420d1b822f3ecba8dccb279ce1d7ab8daa335c508d3533af0ebbeec59ae81df25f8002813021301c02cc02bc030c02fc024c023c028c027c00ac009c014c013009d009c003d003c0035002f01000081000500050100000000002b0009080304030303020301000d001a001808040805080604010501020104030503020302020601060300230000000a00080006001d00170018003300260024001d0020c0b09589d3a08a2c63d48eeb0013ce71bdf11b11ed378800672c82104bcc8a210031000000170000ff01000100002d00020101
(10) Message-Authenticator = 0xe72ab846faba55fbbb70447a7aef73bf
(10) NAS-Identifier = "hAPac2"
(10) NAS-IP-Address = 82.20.92.138
(10) Restoring &session-state
(10) &session-state:Framed-MTU = 994
(10) # Executing section authorize from file
/usr/local/etc/raddb/sites-enabled/default
(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: No '@' in User-Name = "host/xxxxxxxxxxxxxxxxxxx.local",
looking up realm NULL
(10) suffix: No such realm "NULL"
(10) [suffix] = noop
(10) eap: Peer sent EAP Response (code 2) ID 1 length 261
(10) eap: No EAP Start, assuming it's an on-going EAP conversation
(10) [eap] = updated
(10) [files] = noop
(10) [expiration] = noop
(10) [logintime] = noop
(10) } # authorize = updated
(10) Found Auth-Type = eap
(10) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(10) authenticate {
(10) eap: Expiring EAP session with state 0x4a27c5ed4923c8fe
(10) eap: Finished EAP session with state 0xde897f38de88721a
(10) eap: Previous EAP request found for state 0xde897f38de88721a, released
from the list
(10) eap: Peer sent packet with method EAP TLS (13)
(10) eap: Calling submodule eap_tls to process data
(10) eap_tls: (TLS) EAP Peer says that the final record size will be 251
bytes
(10) eap_tls: (TLS) EAP Got all data (251 bytes)
(10) eap_tls: (TLS) Handshake state - before SSL initialization
(10) eap_tls: (TLS) Handshake state - Server before SSL initialization
(10) eap_tls: (TLS) Handshake state - Server before SSL initialization
(10) eap_tls: (TLS) recv TLS 1.3 Handshake, ClientHello
(10) eap_tls: (TLS) Handshake state - Server SSLv3/TLS read client hello
(10) eap_tls: (TLS) send TLS 1.3 Handshake, ServerHello
(10) eap_tls: (TLS) Handshake state - Server SSLv3/TLS write server hello
(10) eap_tls: (TLS) send TLS 1.3 ChangeCipherSpec
(10) eap_tls: (TLS) Handshake state - Server SSLv3/TLS write change cipher
spec
(10) eap_tls: (TLS) Handshake state - Server TLSv1.3 early data
(10) eap_tls: (TLS) Server : Need to read more data: TLSv1.3 early data
(10) eap_tls: (TLS) In Handshake Phase
(10) eap: Sending EAP Request (code 1) ID 2 length 109
(10) eap: EAP session adding &reply:State = 0xde897f38df8b721a
(10) [eap] = handled
(10) } # authenticate = handled
(10) Using Post-Auth-Type Challenge
(10) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(10) Challenge { ... } # empty sub-section is ignored
(10) session-state: Saving cached attributes
(10) Framed-MTU = 994
(10) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(10) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake, ServerHello"
(10) TLS-Session-Information = "(TLS) send TLS 1.3 ChangeCipherSpec"
(10) Sent Access-Challenge Id 90 from 10.0.0.4:1812 to 82.20.92.138:58267
length 167
(10) EAP-Message =
0x0102006d0d80000000631603030058020000540303cf21ad74e59a6111be1d8c021e65b891c2a211167abb8c5e079e09e2c8a8339c20d1b822f3ecba8dccb279ce1d7ab8daa335c508d3533af0ebbeec59ae81df25f8130200000c002b00020304003300020018140303000101
(10) Message-Authenticator = 0x00000000000000000000000000000000
(10) State = 0xde897f38df8b721aabccaed4fc8a92ab
(10) Finished request
Waking up in 0.8 seconds.
(11) Received Access-Request Id 91 from 82.20.92.138:35826 to 10.0.0.4:1812
length 536
(11) Service-Type = Framed-User
(11) Framed-MTU = 1400
(11) User-Name = "host/xxxxxxxxxxxxxxxxxxx.local"
(11) State = 0xde897f38df8b721aabccaed4fc8a92ab
(11) NAS-Port-Id = "BEARFORCE-STAGING"
(11) NAS-Port-Type = Wireless-802.11
(11) Calling-Station-Id = "8C-E9-EE-2A-75-6F"
(11) Called-Station-Id = "76-4D-28-35-F9-1E:BEARFORCE-STAGING"
(11) EAP-Message =
0x0202014c0d80000001421403030001011603030137010001330303ccefe8ee31854e33553366072fc1f3a2cdf7c558d96d4e0fd557ed4599ceff1420d1b822f3ecba8dccb279ce1d7ab8daa335c508d3533af0ebbeec59ae81df25f8002813021301c02cc02bc030c02fc024c023c028c027c00ac009c014c013009d009c003d003c0035002f010000c2000500050100000000002b0009080304030303020301000d001a001808040805080604010501020104030503020302020601060300230000000a00080006001d001700180033006700650018006104570dcd3f6f4529498dc02309336155d5c4c3b03c0c77f7e573c82d7d256e372725ba8e82422c4455f37889b26c575cc1b06dc8c342412d872890002e023ce6200a226047627219d8ff2210437b871a9414e7d25c23bc8f0bfedc27672c231cf40031000000170000ff01000100002d00020101
(11) Message-Authenticator = 0xd7ce32e4a00280dbe5aabbf547385337
(11) NAS-Identifier = "hAPac2"
(11) NAS-IP-Address = 82.20.92.138
(11) Restoring &session-state
(11) &session-state:Framed-MTU = 994
(11) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3
Handshake, ClientHello"
(11) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
Handshake, ServerHello"
(11) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
ChangeCipherSpec"
(11) # Executing section authorize from file
/usr/local/etc/raddb/sites-enabled/default
(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: No '@' in User-Name = "host/xxxxxxxxxxxxxxxxxxx.local",
looking up realm NULL
(11) suffix: No such realm "NULL"
(11) [suffix] = noop
(11) eap: Peer sent EAP Response (code 2) ID 2 length 332
(11) eap: No EAP Start, assuming it's an on-going EAP conversation
(11) [eap] = updated
(11) [files] = noop
(11) [expiration] = noop
(11) [logintime] = noop
(11) } # authorize = updated
(11) Found Auth-Type = eap
(11) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(11) authenticate {
(11) eap: Expiring EAP session with state 0x4a27c5ed4923c8fe
(11) eap: Finished EAP session with state 0xde897f38df8b721a
(11) eap: Previous EAP request found for state 0xde897f38df8b721a, released
from the list
(11) eap: Peer sent packet with method EAP TLS (13)
(11) eap: Calling submodule eap_tls to process data
(11) eap_tls: (TLS) EAP Peer says that the final record size will be 322
bytes
(11) eap_tls: (TLS) EAP Got all data (322 bytes)
(11) eap_tls: (TLS) Handshake state - Server TLSv1.3 early data
(11) eap_tls: (TLS) recv TLS 1.3 Handshake, ClientHello
(11) eap_tls: (TLS) Handshake state - Server SSLv3/TLS read client hello
(11) eap_tls: (TLS) send TLS 1.3 Handshake, ServerHello
(11) eap_tls: (TLS) Handshake state - Server SSLv3/TLS write server hello
(11) eap_tls: (TLS) send TLS 1.3 Handshake, EncryptedExtensions
(11) eap_tls: (TLS) Handshake state - Server TLSv1.3 write encrypted
extensions
(11) eap_tls: (TLS) send TLS 1.3 Handshake, CertificateRequest
(11) eap_tls: (TLS) Handshake state - Server SSLv3/TLS write certificate
request
(11) eap_tls: (TLS) send TLS 1.3 Handshake, Certificate
(11) eap_tls: (TLS) Handshake state - Server SSLv3/TLS write certificate
(11) eap_tls: (TLS) send TLS 1.3 Handshake, CertificateVerify
(11) eap_tls: (TLS) Handshake state - Server TLSv1.3 write server
certificate verify
(11) eap_tls: (TLS) send TLS 1.3 Handshake, Finished
(11) eap_tls: (TLS) Handshake state - Server SSLv3/TLS write finished
(11) eap_tls: (TLS) Handshake state - Server TLSv1.3 early data
(11) eap_tls: (TLS) Server : Need to read more data: TLSv1.3 early data
(11) eap_tls: (TLS) In Handshake Phase
(11) eap: Sending EAP Request (code 1) ID 3 length 1004
(11) eap: EAP session adding &reply:State = 0xde897f38dc8a721a
(11) [eap] = handled
(11) } # authenticate = handled
(11) Using Post-Auth-Type Challenge
(11) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(11) Challenge { ... } # empty sub-section is ignored
(11) session-state: Saving cached attributes
(11) Framed-MTU = 994
(11) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(11) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake, ServerHello"
(11) TLS-Session-Information = "(TLS) send TLS 1.3 ChangeCipherSpec"
(11) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(11) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake, ServerHello"
(11) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake,
EncryptedExtensions"
(11) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake,
CertificateRequest"
(11) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake, Certificate"
(11) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake,
CertificateVerify"
(11) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake, Finished"
(11) Sent Access-Challenge Id 91 from 10.0.0.4:1812 to 82.20.92.138:35826
length 1068
(11) EAP-Message =
0x010303ec0dc00000077116030300bb020000b70303718f2e02f3718c3a58c3ab34a75f6c1848f4ad949992e1be7e3b451705045a7220d1b822f3ecba8dccb279ce1d7ab8daa335c508d3533af0ebbeec59ae81df25f8130200006f002b00020304003300650018006104d758a4550ab46428d046be646a48c0e11d24ff0cf7751142c2479750dc66618cfbd33479f84a9a594cbdc7fcb9ee6223116b792d03f6ce464255bdc663d540420c0748ddedc0a3bc1d5e3badf711d19738e35c574d9bf033fa3c9e8ac56317da170303001767bad6e3c023f8204c561e605b82e0727e2f37e731e8b21703030094af8e3b498f47b59969766368abf6309e7287cee2ec8f97e766860d213f68f419cf4739551ce78b0b8eae70abaf2c0aa23c43bcb8d98f8de6ec5c444568ec0070e842985218b64eb0aa651a79b24bf0d50256fb19f66e7d45dff6138686e0474c30c636c66ce8e3f4590523b8882a6cffe66da0e55d0397458fce719c36ce282d44227db275f890ebc2eef107
(11) Message-Authenticator = 0x00000000000000000000000000000000
(11) State = 0xde897f38dc8a721aabccaed4fc8a92ab
(11) Finished request
Waking up in 0.7 seconds.
(12) Received Access-Request Id 92 from 82.20.92.138:58293 to 10.0.0.4:1812
length 208
(12) Service-Type = Framed-User
(12) Framed-MTU = 1400
(12) User-Name = "host/xxxxxxxxxxxxxxxxxxx.local"
(12) State = 0xde897f38dc8a721aabccaed4fc8a92ab
(12) NAS-Port-Id = "BEARFORCE-STAGING"
(12) NAS-Port-Type = Wireless-802.11
(12) Calling-Station-Id = "8C-E9-EE-2A-75-6F"
(12) Called-Station-Id = "76-4D-28-35-F9-1E:BEARFORCE-STAGING"
(12) EAP-Message = 0x020300060d00
(12) Message-Authenticator = 0xb9a7d284338dc57c86e06976dfb6e16c
(12) NAS-Identifier = "hAPac2"
(12) NAS-IP-Address = 82.20.92.138
(12) Restoring &session-state
(12) &session-state:Framed-MTU = 994
(12) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3
Handshake, ClientHello"
(12) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
Handshake, ServerHello"
(12) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
ChangeCipherSpec"
(12) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3
Handshake, ClientHello"
(12) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
Handshake, ServerHello"
(12) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
Handshake, EncryptedExtensions"
(12) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
Handshake, CertificateRequest"
(12) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
Handshake, Certificate"
(12) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
Handshake, CertificateVerify"
(12) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
Handshake, Finished"
(12) # Executing section authorize from file
/usr/local/etc/raddb/sites-enabled/default
(12) authorize {
(12) policy filter_username {
(12) if (&User-Name) {
(12) if (&User-Name) -> TRUE
(12) if (&User-Name) {
(12) if (&User-Name =~ / /) {
(12) if (&User-Name =~ / /) -> FALSE
(12) if (&User-Name =~ /@[^@]*@/ ) {
(12) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(12) if (&User-Name =~ /\.\./ ) {
(12) if (&User-Name =~ /\.\./ ) -> FALSE
(12) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(12) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/))
-> FALSE
(12) if (&User-Name =~ /\.$/) {
(12) if (&User-Name =~ /\.$/) -> FALSE
(12) if (&User-Name =~ /(a)\./) {
(12) if (&User-Name =~ /(a)\./) -> FALSE
(12) } # if (&User-Name) = notfound
(12) } # policy filter_username = notfound
(12) [preprocess] = ok
(12) suffix: Checking for suffix after "@"
(12) suffix: No '@' in User-Name = "host/xxxxxxxxxxxxxxxxxxx.local",
looking up realm NULL
(12) suffix: No such realm "NULL"
(12) [suffix] = noop
(12) eap: Peer sent EAP Response (code 2) ID 3 length 6
(12) eap: No EAP Start, assuming it's an on-going EAP conversation
(12) [eap] = updated
(12) [files] = noop
(12) [expiration] = noop
(12) [logintime] = noop
(12) } # authorize = updated
(12) Found Auth-Type = eap
(12) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(12) authenticate {
(12) eap: Expiring EAP session with state 0x4a27c5ed4923c8fe
(12) eap: Finished EAP session with state 0xde897f38dc8a721a
(12) eap: Previous EAP request found for state 0xde897f38dc8a721a, released
from the list
(12) eap: Peer sent packet with method EAP TLS (13)
(12) eap: Calling submodule eap_tls to process data
(12) eap_tls: (TLS) Peer ACKed our handshake fragment
(12) eap: Sending EAP Request (code 1) ID 4 length 921
(12) eap: EAP session adding &reply:State = 0xde897f38dd8d721a
(12) [eap] = handled
(12) } # authenticate = handled
(12) Using Post-Auth-Type Challenge
(12) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(12) Challenge { ... } # empty sub-section is ignored
(12) session-state: Saving cached attributes
(12) Framed-MTU = 994
(12) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(12) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake, ServerHello"
(12) TLS-Session-Information = "(TLS) send TLS 1.3 ChangeCipherSpec"
(12) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(12) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake, ServerHello"
(12) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake,
EncryptedExtensions"
(12) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake,
CertificateRequest"
(12) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake, Certificate"
(12) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake,
CertificateVerify"
(12) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake, Finished"
(12) Sent Access-Challenge Id 92 from 10.0.0.4:1812 to 82.20.92.138:58293
length 985
(12) EAP-Message =
0x010403990d8000000771740eff3a511956998624e7ad9a5caea81094360690c7f9e668b79f6673ba2234929877e17c64beca572b3a89234151888f1c1c7ce6550c6c292fd03c6fee8eca15ac0804579d07ca9f62e9e54f2db4d131ae68258183fe0d50028e7a0671102b4fd004f873fef0a2481215e282e769a6616e2dbaa00c01ba48a46b88b6853745f5eeac41f0af1a66572f88516217db632f94d56c5424c08ba00afada046af84acf30bd0cf7fdd3853ff16d992871ed376005372d6db3631e4a581e44e12c83f264b47626b1b539888eb9dc223a8da3dde0d6ff2b8dc7f9488d611442b318bb714cf3bfc81d3e9b21e8f2d6d3ee0b67430244f04cd9880367615a9b1e2b0d0a287d51c12376e6a9a62793473e24bf22bee37a1f015529362dd1ea16f246ac3af0b887025e9ba91e689a8c09adde8905334a821ee9da88df09a60bcd42fac04e12fae9935cf2d2baac94892d974f11237d4d9393e70b645bb7632dce19326832f16f146e43d5728ef5df1b4934fc
(12) Message-Authenticator = 0x00000000000000000000000000000000
(12) State = 0xde897f38dd8d721aabccaed4fc8a92ab
(12) Finished request
Waking up in 0.6 seconds.
(13) Received Access-Request Id 93 from 82.20.92.138:48945 to 10.0.0.4:1812
length 1704
(13) Service-Type = Framed-User
(13) Framed-MTU = 1400
(13) User-Name = "host/xxxxxxxxxxxxxxxxxxx.local"
(13) State = 0xde897f38dd8d721aabccaed4fc8a92ab
(13) NAS-Port-Id = "BEARFORCE-STAGING"
(13) NAS-Port-Type = Wireless-802.11
(13) Calling-Station-Id = "8C-E9-EE-2A-75-6F"
(13) Called-Station-Id = "76-4D-28-35-F9-1E:BEARFORCE-STAGING"
(13) EAP-Message =
0x020405d40dc000000f531703030f4eb2b75f4f005f31cbd50c57e86eb3fafeab525228feca7ad8dcc9dc919d77ebb2bc98fbdc62a738de60e88eadff03de9f0db200c576ebfee2495c4b4d4c6389503db0fe691528ff401fb9c1c6f656146f5d62086885deac84fec4b48507c0b975c4510940b5797d3597b38c8dc5e90609127f10b87edc6270eaf37088b3eef43fee97b2c513cc51c1f95a4d254fcee5a1a662ed341fd36cecd85add2ac89c6c3ec6af6567fcf0e0f5610a86007ae752c2be05096f8342d79b60aa1c650e57a4cbd732b50432737761179b7fa74120b2119a459a0976a5174d32e44f6b9666c3dfcdb2b1af1c98bb54a7a541d995ee63dbf3bb643bac9f4ce0cef697cd982bd042522a4ac933525f0bff322fd87cd90f4e89bbee44e79a90781e56d18084952fdd846e80eea5f07bd6977858933959186ba4c4fc885343ab1b51f476220769e4153f837536d3311c69a57e6a7b318c48b669f679e7e472c2c61684adf753847779df2dbe927bccb690
(13) Message-Authenticator = 0x87eea948712e755698a46ec0d2e726ec
(13) NAS-Identifier = "hAPac2"
(13) NAS-IP-Address = 82.20.92.138
(13) Restoring &session-state
(13) &session-state:Framed-MTU = 994
(13) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3
Handshake, ClientHello"
(13) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
Handshake, ServerHello"
(13) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
ChangeCipherSpec"
(13) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3
Handshake, ClientHello"
(13) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
Handshake, ServerHello"
(13) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
Handshake, EncryptedExtensions"
(13) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
Handshake, CertificateRequest"
(13) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
Handshake, Certificate"
(13) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
Handshake, CertificateVerify"
(13) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
Handshake, Finished"
(13) # Executing section authorize from file
/usr/local/etc/raddb/sites-enabled/default
(13) authorize {
(13) policy filter_username {
(13) if (&User-Name) {
(13) if (&User-Name) -> TRUE
(13) if (&User-Name) {
(13) if (&User-Name =~ / /) {
(13) if (&User-Name =~ / /) -> FALSE
(13) if (&User-Name =~ /@[^@]*@/ ) {
(13) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(13) if (&User-Name =~ /\.\./ ) {
(13) if (&User-Name =~ /\.\./ ) -> FALSE
(13) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(13) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/))
-> FALSE
(13) if (&User-Name =~ /\.$/) {
(13) if (&User-Name =~ /\.$/) -> FALSE
(13) if (&User-Name =~ /(a)\./) {
(13) if (&User-Name =~ /(a)\./) -> FALSE
(13) } # if (&User-Name) = notfound
(13) } # policy filter_username = notfound
(13) [preprocess] = ok
(13) suffix: Checking for suffix after "@"
(13) suffix: No '@' in User-Name = "host/xxxxxxxxxxxxxxxxxxx.local",
looking up realm NULL
(13) suffix: No such realm "NULL"
(13) [suffix] = noop
(13) eap: Peer sent EAP Response (code 2) ID 4 length 1492
(13) eap: No EAP Start, assuming it's an on-going EAP conversation
(13) [eap] = updated
(13) [files] = noop
(13) [expiration] = noop
(13) [logintime] = noop
(13) } # authorize = updated
(13) Found Auth-Type = eap
(13) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(13) authenticate {
(13) eap: Expiring EAP session with state 0x4a27c5ed4923c8fe
(13) eap: Finished EAP session with state 0xde897f38dd8d721a
(13) eap: Previous EAP request found for state 0xde897f38dd8d721a, released
from the list
(13) eap: Peer sent packet with method EAP TLS (13)
(13) eap: Calling submodule eap_tls to process data
(13) eap_tls: (TLS) EAP Peer says that the final record size will be 3923
bytes
(13) eap_tls: (TLS) EAP Expecting 3 fragments
(13) eap_tls: (TLS) EAP Got first TLS fragment (1482 bytes). Peer says
more fragments will follow
(13) eap_tls: (TLS) EAP ACKing fragment, the peer should send more data.
(13) eap: Sending EAP Request (code 1) ID 5 length 6
(13) eap: EAP session adding &reply:State = 0xde897f38da8c721a
(13) [eap] = handled
(13) } # authenticate = handled
(13) Using Post-Auth-Type Challenge
(13) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(13) Challenge { ... } # empty sub-section is ignored
(13) session-state: Saving cached attributes
(13) Framed-MTU = 994
(13) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(13) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake, ServerHello"
(13) TLS-Session-Information = "(TLS) send TLS 1.3 ChangeCipherSpec"
(13) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(13) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake, ServerHello"
(13) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake,
EncryptedExtensions"
(13) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake,
CertificateRequest"
(13) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake, Certificate"
(13) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake,
CertificateVerify"
(13) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake, Finished"
(13) Sent Access-Challenge Id 93 from 10.0.0.4:1812 to 82.20.92.138:48945
length 64
(13) EAP-Message = 0x010500060d00
(13) Message-Authenticator = 0x00000000000000000000000000000000
(13) State = 0xde897f38da8c721aabccaed4fc8a92ab
(13) Finished request
Waking up in 0.3 seconds.
(4) Cleaning up request packet ID 83 with timestamp +15 due to
cleanup_delay was reached
Waking up in 0.1 seconds.
(5) Cleaning up request packet ID 84 with timestamp +15 due to
cleanup_delay was reached
Waking up in 0.1 seconds.
(6) Cleaning up request packet ID 85 with timestamp +15 due to
cleanup_delay was reached
(7) Cleaning up request packet ID 86 with timestamp +16 due to
cleanup_delay was reached
Waking up in 1.4 seconds.
(14) Received Access-Request Id 95 from 82.20.92.138:54820 to 10.0.0.4:1812
length 224
(14) Service-Type = Framed-User
(14) Framed-MTU = 1400
(14) User-Name = "host/xxxxxxxxxxxxxxxxxxx.local"
(14) NAS-Port-Id = "BEARFORCE-STAGING"
(14) NAS-Port-Type = Wireless-802.11
(14) Calling-Station-Id = "8C-E9-EE-2A-75-6F"
(14) Called-Station-Id = "76-4D-28-35-F9-1E:BEARFORCE-STAGING"
(14) EAP-Message =
0x0200002801686f73742f4c54415a2d59314959454b583352422e756e6976657273652e6c6f63616c
(14) Message-Authenticator = 0x489c23ccdde61385a3efdbb2ea74900d
(14) NAS-Identifier = "hAPac2"
(14) NAS-IP-Address = 82.20.92.138
(14) # Executing section authorize from file
/usr/local/etc/raddb/sites-enabled/default
(14) authorize {
(14) policy filter_username {
(14) if (&User-Name) {
(14) if (&User-Name) -> TRUE
(14) if (&User-Name) {
(14) if (&User-Name =~ / /) {
(14) if (&User-Name =~ / /) -> FALSE
(14) if (&User-Name =~ /@[^@]*@/ ) {
(14) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(14) if (&User-Name =~ /\.\./ ) {
(14) if (&User-Name =~ /\.\./ ) -> FALSE
(14) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(14) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/))
-> FALSE
(14) if (&User-Name =~ /\.$/) {
(14) if (&User-Name =~ /\.$/) -> FALSE
(14) if (&User-Name =~ /(a)\./) {
(14) if (&User-Name =~ /(a)\./) -> FALSE
(14) } # if (&User-Name) = notfound
(14) } # policy filter_username = notfound
(14) [preprocess] = ok
(14) suffix: Checking for suffix after "@"
(14) suffix: No '@' in User-Name = "host/xxxxxxxxxxxxxxxxxxx.local",
looking up realm NULL
(14) suffix: No such realm "NULL"
(14) [suffix] = noop
(14) eap: Peer sent EAP Response (code 2) ID 0 length 40
(14) eap: EAP-Identity reply, returning 'ok' so we can short-circuit the
rest of authorize
(14) [eap] = ok
(14) } # authorize = ok
(14) Found Auth-Type = eap
(14) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(14) authenticate {
(14) eap: Peer sent packet with method EAP Identity (1)
(14) eap: Calling submodule eap_tls to process data
(14) eap_tls: (TLS) Initiating new session
(14) eap_tls: (TLS) Setting verify mode to require certificate from client
(14) eap: Sending EAP Request (code 1) ID 1 length 6
(14) eap: EAP session adding &reply:State = 0x6edd84696edc89f3
(14) [eap] = handled
(14) } # authenticate = handled
(14) Using Post-Auth-Type Challenge
(14) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(14) Challenge { ... } # empty sub-section is ignored
(14) session-state: Saving cached attributes
(14) Framed-MTU = 994
(14) Sent Access-Challenge Id 95 from 10.0.0.4:1812 to 82.20.92.138:54820
length 64
(14) EAP-Message = 0x010100060d20
(14) Message-Authenticator = 0x00000000000000000000000000000000
(14) State = 0x6edd84696edc89f36cc8783607bfc8c5
(14) Finished request
Waking up in 0.2 seconds.
(15) Received Access-Request Id 96 from 82.20.92.138:59592 to 10.0.0.4:1812
length 465
(15) Service-Type = Framed-User
(15) Framed-MTU = 1400
(15) User-Name = "host/xxxxxxxxxxxxxxxxxxx.local"
(15) State = 0x6edd84696edc89f36cc8783607bfc8c5
(15) NAS-Port-Id = "BEARFORCE-STAGING"
(15) NAS-Port-Type = Wireless-802.11
(15) Calling-Station-Id = "8C-E9-EE-2A-75-6F"
(15) Called-Station-Id = "76-4D-28-35-F9-1E:BEARFORCE-STAGING"
(15) EAP-Message =
0x020101050d80000000fb16030100f6010000f2030307466ecbaa0220b3a1d5f7554b4af03da94550d1630d04f4147ba5e00c5a1b54202585727f8fec4d08f33676e7fdf9a9723343e22102b660983dd2417ef2dc5a82002813021301c02cc02bc030c02fc024c023c028c027c00ac009c014c013009d009c003d003c0035002f01000081000500050100000000002b0009080304030303020301000d001a001808040805080604010501020104030503020302020601060300230000000a00080006001d00170018003300260024001d0020d17c6e17248025f9ed298d135d2268636f214d678049cd82aadb934a9c7764370031000000170000ff01000100002d00020101
(15) Message-Authenticator = 0xc542e943594f5b89d2a8495ed5d742db
(15) NAS-Identifier = "hAPac2"
(15) NAS-IP-Address = 82.20.92.138
(15) Restoring &session-state
(15) &session-state:Framed-MTU = 994
(15) # Executing section authorize from file
/usr/local/etc/raddb/sites-enabled/default
(15) authorize {
(15) policy filter_username {
(15) if (&User-Name) {
(15) if (&User-Name) -> TRUE
(15) if (&User-Name) {
(15) if (&User-Name =~ / /) {
(15) if (&User-Name =~ / /) -> FALSE
(15) if (&User-Name =~ /@[^@]*@/ ) {
(15) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(15) if (&User-Name =~ /\.\./ ) {
(15) if (&User-Name =~ /\.\./ ) -> FALSE
(15) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(15) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/))
-> FALSE
(15) if (&User-Name =~ /\.$/) {
(15) if (&User-Name =~ /\.$/) -> FALSE
(15) if (&User-Name =~ /(a)\./) {
(15) if (&User-Name =~ /(a)\./) -> FALSE
(15) } # if (&User-Name) = notfound
(15) } # policy filter_username = notfound
(15) [preprocess] = ok
(15) suffix: Checking for suffix after "@"
(15) suffix: No '@' in User-Name = "host/xxxxxxxxxxxxxxxxxxx.local",
looking up realm NULL
(15) suffix: No such realm "NULL"
(15) [suffix] = noop
(15) eap: Peer sent EAP Response (code 2) ID 1 length 261
(15) eap: No EAP Start, assuming it's an on-going EAP conversation
(15) [eap] = updated
(15) [files] = noop
(15) [expiration] = noop
(15) [logintime] = noop
(15) } # authorize = updated
(15) Found Auth-Type = eap
(15) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(15) authenticate {
(15) eap: Expiring EAP session with state 0x4a27c5ed4923c8fe
(15) eap: Finished EAP session with state 0x6edd84696edc89f3
(15) eap: Previous EAP request found for state 0x6edd84696edc89f3, released
from the list
(15) eap: Peer sent packet with method EAP TLS (13)
(15) eap: Calling submodule eap_tls to process data
(15) eap_tls: (TLS) EAP Peer says that the final record size will be 251
bytes
(15) eap_tls: (TLS) EAP Got all data (251 bytes)
(15) eap_tls: (TLS) Handshake state - before SSL initialization
(15) eap_tls: (TLS) Handshake state - Server before SSL initialization
(15) eap_tls: (TLS) Handshake state - Server before SSL initialization
(15) eap_tls: (TLS) recv TLS 1.3 Handshake, ClientHello
(15) eap_tls: (TLS) Handshake state - Server SSLv3/TLS read client hello
(15) eap_tls: (TLS) send TLS 1.3 Handshake, ServerHello
(15) eap_tls: (TLS) Handshake state - Server SSLv3/TLS write server hello
(15) eap_tls: (TLS) send TLS 1.3 ChangeCipherSpec
(15) eap_tls: (TLS) Handshake state - Server SSLv3/TLS write change cipher
spec
(15) eap_tls: (TLS) Handshake state - Server TLSv1.3 early data
(15) eap_tls: (TLS) Server : Need to read more data: TLSv1.3 early data
(15) eap_tls: (TLS) In Handshake Phase
(15) eap: Sending EAP Request (code 1) ID 2 length 109
(15) eap: EAP session adding &reply:State = 0x6edd84696fdf89f3
(15) [eap] = handled
(15) } # authenticate = handled
(15) Using Post-Auth-Type Challenge
(15) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(15) Challenge { ... } # empty sub-section is ignored
(15) session-state: Saving cached attributes
(15) Framed-MTU = 994
(15) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(15) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake, ServerHello"
(15) TLS-Session-Information = "(TLS) send TLS 1.3 ChangeCipherSpec"
(15) Sent Access-Challenge Id 96 from 10.0.0.4:1812 to 82.20.92.138:59592
length 167
(15) EAP-Message =
0x0102006d0d80000000631603030058020000540303cf21ad74e59a6111be1d8c021e65b891c2a211167abb8c5e079e09e2c8a8339c202585727f8fec4d08f33676e7fdf9a9723343e22102b660983dd2417ef2dc5a82130200000c002b00020304003300020018140303000101
(15) Message-Authenticator = 0x00000000000000000000000000000000
(15) State = 0x6edd84696fdf89f36cc8783607bfc8c5
(15) Finished request
Waking up in 0.1 seconds.
(16) Received Access-Request Id 97 from 82.20.92.138:46775 to 10.0.0.4:1812
length 536
(16) Service-Type = Framed-User
(16) Framed-MTU = 1400
(16) User-Name = "host/xxxxxxxxxxxxxxxxxxx.local"
(16) State = 0x6edd84696fdf89f36cc8783607bfc8c5
(16) NAS-Port-Id = "BEARFORCE-STAGING"
(16) NAS-Port-Type = Wireless-802.11
(16) Calling-Station-Id = "8C-E9-EE-2A-75-6F"
(16) Called-Station-Id = "76-4D-28-35-F9-1E:BEARFORCE-STAGING"
(16) EAP-Message =
0x0202014c0d8000000142140303000101160303013701000133030307466ecbaa0220b3a1d5f7554b4af03da94550d1630d04f4147ba5e00c5a1b54202585727f8fec4d08f33676e7fdf9a9723343e22102b660983dd2417ef2dc5a82002813021301c02cc02bc030c02fc024c023c028c027c00ac009c014c013009d009c003d003c0035002f010000c2000500050100000000002b0009080304030303020301000d001a001808040805080604010501020104030503020302020601060300230000000a00080006001d001700180033006700650018006104316ea1b7bb3c79512d7e59b410dc7b2c569978f75bd6a359cd7890da2a86293245839041c5eaf932e7981a0fa478d42bc9765ce1eb097a7d17db7d8933cb94f6098b11cae1d41abbf12e3bf7d87d90785c612ecbb318a29746b3c57d5f119d020031000000170000ff01000100002d00020101
(16) Message-Authenticator = 0x1a1edda740da42d830607202bd9b88c6
(16) NAS-Identifier = "hAPac2"
(16) NAS-IP-Address = 82.20.92.138
(16) Restoring &session-state
(16) &session-state:Framed-MTU = 994
(16) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3
Handshake, ClientHello"
(16) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
Handshake, ServerHello"
(16) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
ChangeCipherSpec"
(16) # Executing section authorize from file
/usr/local/etc/raddb/sites-enabled/default
(16) authorize {
(16) policy filter_username {
(16) if (&User-Name) {
(16) if (&User-Name) -> TRUE
(16) if (&User-Name) {
(16) if (&User-Name =~ / /) {
(16) if (&User-Name =~ / /) -> FALSE
(16) if (&User-Name =~ /@[^@]*@/ ) {
(16) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(16) if (&User-Name =~ /\.\./ ) {
(16) if (&User-Name =~ /\.\./ ) -> FALSE
(16) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(16) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/))
-> FALSE
(16) if (&User-Name =~ /\.$/) {
(16) if (&User-Name =~ /\.$/) -> FALSE
(16) if (&User-Name =~ /(a)\./) {
(16) if (&User-Name =~ /(a)\./) -> FALSE
(16) } # if (&User-Name) = notfound
(16) } # policy filter_username = notfound
(16) [preprocess] = ok
(16) suffix: Checking for suffix after "@"
(16) suffix: No '@' in User-Name = "host/xxxxxxxxxxxxxxxxxxx.local",
looking up realm NULL
(16) suffix: No such realm "NULL"
(16) [suffix] = noop
(16) eap: Peer sent EAP Response (code 2) ID 2 length 332
(16) eap: No EAP Start, assuming it's an on-going EAP conversation
(16) [eap] = updated
(16) [files] = noop
(16) [expiration] = noop
(16) [logintime] = noop
(16) } # authorize = updated
(16) Found Auth-Type = eap
(16) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(16) authenticate {
(16) eap: Expiring EAP session with state 0x4a27c5ed4923c8fe
(16) eap: Finished EAP session with state 0x6edd84696fdf89f3
(16) eap: Previous EAP request found for state 0x6edd84696fdf89f3, released
from the list
(16) eap: Peer sent packet with method EAP TLS (13)
(16) eap: Calling submodule eap_tls to process data
(16) eap_tls: (TLS) EAP Peer says that the final record size will be 322
bytes
(16) eap_tls: (TLS) EAP Got all data (322 bytes)
(16) eap_tls: (TLS) Handshake state - Server TLSv1.3 early data
(16) eap_tls: (TLS) recv TLS 1.3 Handshake, ClientHello
(16) eap_tls: (TLS) Handshake state - Server SSLv3/TLS read client hello
(16) eap_tls: (TLS) send TLS 1.3 Handshake, ServerHello
(16) eap_tls: (TLS) Handshake state - Server SSLv3/TLS write server hello
(16) eap_tls: (TLS) send TLS 1.3 Handshake, EncryptedExtensions
(16) eap_tls: (TLS) Handshake state - Server TLSv1.3 write encrypted
extensions
(16) eap_tls: (TLS) send TLS 1.3 Handshake, CertificateRequest
(16) eap_tls: (TLS) Handshake state - Server SSLv3/TLS write certificate
request
(16) eap_tls: (TLS) send TLS 1.3 Handshake, Certificate
(16) eap_tls: (TLS) Handshake state - Server SSLv3/TLS write certificate
(16) eap_tls: (TLS) send TLS 1.3 Handshake, CertificateVerify
(16) eap_tls: (TLS) Handshake state - Server TLSv1.3 write server
certificate verify
(16) eap_tls: (TLS) send TLS 1.3 Handshake, Finished
(16) eap_tls: (TLS) Handshake state - Server SSLv3/TLS write finished
(16) eap_tls: (TLS) Handshake state - Server TLSv1.3 early data
(16) eap_tls: (TLS) Server : Need to read more data: TLSv1.3 early data
(16) eap_tls: (TLS) In Handshake Phase
(16) eap: Sending EAP Request (code 1) ID 3 length 1004
(16) eap: EAP session adding &reply:State = 0x6edd84696cde89f3
(16) [eap] = handled
(16) } # authenticate = handled
(16) Using Post-Auth-Type Challenge
(16) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(16) Challenge { ... } # empty sub-section is ignored
(16) session-state: Saving cached attributes
(16) Framed-MTU = 994
(16) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(16) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake, ServerHello"
(16) TLS-Session-Information = "(TLS) send TLS 1.3 ChangeCipherSpec"
(16) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(16) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake, ServerHello"
(16) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake,
EncryptedExtensions"
(16) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake,
CertificateRequest"
(16) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake, Certificate"
(16) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake,
CertificateVerify"
(16) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake, Finished"
(16) Sent Access-Challenge Id 97 from 10.0.0.4:1812 to 82.20.92.138:46775
length 1068
(16) EAP-Message =
0x010303ec0dc00000077116030300bb020000b703030fe622afe62357e324f079d0a4250aa2820761f5e3a329786f894e32afd18972202585727f8fec4d08f33676e7fdf9a9723343e22102b660983dd2417ef2dc5a82130200006f002b0002030400330065001800610477d7adc8287132cf03947986235678d08f2a194280a88f03476345018467fc8ec33db7922bba826e12f14e8cdfb5a0ba92fc7f9e326330b4a580ecc356761bec6f57ec7733ba9f516bbce2e29d82620f100c579594cb45d6de0ff07652f8bcc6170303001757071abf530b3c551bba23d477b5bcf2c8a4c0b7067fe3170303009402ff1b6fbe5f55001d03b7e30186d8ad43b5cd26f2eb0b86353c7065514600bb37de0cab31e84074bc09802215c5789905e8eecf43d16cf8f96d4c02af4beb530ea3c62ade82f482a1d3b83b4099709587f38bfd8929ac2f60dd2368eaa840591a5d1a31ce0e220bad94b0b501858cd92f7a2ca09e12feee57cc8ca37649972e2524940e4af2559e45ccbffd
(16) Message-Authenticator = 0x00000000000000000000000000000000
(16) State = 0x6edd84696cde89f36cc8783607bfc8c5
(16) Finished request
(8) Cleaning up request packet ID 87 with timestamp +17 due to
cleanup_delay was reached
Waking up in 2.1 seconds.
(17) Received Access-Request Id 98 from 82.20.92.138:45559 to 10.0.0.4:1812
length 208
(17) Service-Type = Framed-User
(17) Framed-MTU = 1400
(17) User-Name = "host/xxxxxxxxxxxxxxxxxxx.local"
(17) State = 0x6edd84696cde89f36cc8783607bfc8c5
(17) NAS-Port-Id = "BEARFORCE-STAGING"
(17) NAS-Port-Type = Wireless-802.11
(17) Calling-Station-Id = "8C-E9-EE-2A-75-6F"
(17) Called-Station-Id = "76-4D-28-35-F9-1E:BEARFORCE-STAGING"
(17) EAP-Message = 0x020300060d00
(17) Message-Authenticator = 0xd47038890ed9714e9e73d91da3da8a81
(17) NAS-Identifier = "hAPac2"
(17) NAS-IP-Address = 82.20.92.138
(17) Restoring &session-state
(17) &session-state:Framed-MTU = 994
(17) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3
Handshake, ClientHello"
(17) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
Handshake, ServerHello"
(17) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
ChangeCipherSpec"
(17) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3
Handshake, ClientHello"
(17) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
Handshake, ServerHello"
(17) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
Handshake, EncryptedExtensions"
(17) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
Handshake, CertificateRequest"
(17) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
Handshake, Certificate"
(17) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
Handshake, CertificateVerify"
(17) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
Handshake, Finished"
(17) # Executing section authorize from file
/usr/local/etc/raddb/sites-enabled/default
(17) authorize {
(17) policy filter_username {
(17) if (&User-Name) {
(17) if (&User-Name) -> TRUE
(17) if (&User-Name) {
(17) if (&User-Name =~ / /) {
(17) if (&User-Name =~ / /) -> FALSE
(17) if (&User-Name =~ /@[^@]*@/ ) {
(17) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(17) if (&User-Name =~ /\.\./ ) {
(17) if (&User-Name =~ /\.\./ ) -> FALSE
(17) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(17) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/))
-> FALSE
(17) if (&User-Name =~ /\.$/) {
(17) if (&User-Name =~ /\.$/) -> FALSE
(17) if (&User-Name =~ /(a)\./) {
(17) if (&User-Name =~ /(a)\./) -> FALSE
(17) } # if (&User-Name) = notfound
(17) } # policy filter_username = notfound
(17) [preprocess] = ok
(17) suffix: Checking for suffix after "@"
(17) suffix: No '@' in User-Name = "host/xxxxxxxxxxxxxxxxxxx.local",
looking up realm NULL
(17) suffix: No such realm "NULL"
(17) [suffix] = noop
(17) eap: Peer sent EAP Response (code 2) ID 3 length 6
(17) eap: No EAP Start, assuming it's an on-going EAP conversation
(17) [eap] = updated
(17) [files] = noop
(17) [expiration] = noop
(17) [logintime] = noop
(17) } # authorize = updated
(17) Found Auth-Type = eap
(17) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(17) authenticate {
(17) eap: Expiring EAP session with state 0x4a27c5ed4923c8fe
(17) eap: Finished EAP session with state 0x6edd84696cde89f3
(17) eap: Previous EAP request found for state 0x6edd84696cde89f3, released
from the list
(17) eap: Peer sent packet with method EAP TLS (13)
(17) eap: Calling submodule eap_tls to process data
(17) eap_tls: (TLS) Peer ACKed our handshake fragment
(17) eap: Sending EAP Request (code 1) ID 4 length 921
(17) eap: EAP session adding &reply:State = 0x6edd84696dd989f3
(17) [eap] = handled
(17) } # authenticate = handled
(17) Using Post-Auth-Type Challenge
(17) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(17) Challenge { ... } # empty sub-section is ignored
(17) session-state: Saving cached attributes
(17) Framed-MTU = 994
(17) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(17) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake, ServerHello"
(17) TLS-Session-Information = "(TLS) send TLS 1.3 ChangeCipherSpec"
(17) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(17) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake, ServerHello"
(17) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake,
EncryptedExtensions"
(17) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake,
CertificateRequest"
(17) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake, Certificate"
(17) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake,
CertificateVerify"
(17) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake, Finished"
(17) Sent Access-Challenge Id 98 from 10.0.0.4:1812 to 82.20.92.138:45559
length 985
(17) EAP-Message =
0x010403990d8000000771f4ba55c3b5ad2280bd055a3b4aa35ffa7e780b6bc6eeec9ee19727e78224f08c532d2e7ff94a4f5fa56212fe99b4aa67b4d05763e67172c317d178fc7ccfa5b538da216bf91ceb935389c5618bc9c493f3b636937da3fa5073dd29924e9fd445a1f75a6c366f93e1a904d3b4737867750289cfd0b401ab2c84e6874efcfc91cfb8c0a48932006d0113dc3e280ad77f638e2ef7977c48dfc0fee21d44f1adb185f8f801d0f27ed51f46fe7663858d8b4b36735805082758140cf665e8418beb55e34999e5694d6c9deb910e525a3fdfb000a50cc416f1060424cb2b36bfb19b245a25f428309315ee8a52cf527833850597c19c77ec05fc401a5d3bb8218d4107a03a8364abc0b0f943127d8d5f9a096b168606ff1c364908b6a73db214f2e30888271585ab9d70fb8208c0828eca841dde92eacb1e7a19ce70c9e455e0097a6d27a8872990499e7b17e65c975f20282ab2e0d37d53d4ef159e986e97669fbdce4c65bb56681fb8db5655c488b3
(17) Message-Authenticator = 0x00000000000000000000000000000000
(17) State = 0x6edd84696dd989f36cc8783607bfc8c5
(17) Finished request
Waking up in 2.0 seconds.
(18) Received Access-Request Id 99 from 82.20.92.138:47811 to 10.0.0.4:1812
length 1704
(18) Service-Type = Framed-User
(18) Framed-MTU = 1400
(18) User-Name = "host/xxxxxxxxxxxxxxxxxxx.local"
(18) State = 0x6edd84696dd989f36cc8783607bfc8c5
(18) NAS-Port-Id = "BEARFORCE-STAGING"
(18) NAS-Port-Type = Wireless-802.11
(18) Calling-Station-Id = "8C-E9-EE-2A-75-6F"
(18) Called-Station-Id = "76-4D-28-35-F9-1E:BEARFORCE-STAGING"
(18) EAP-Message =
0x020405d40dc000000f531703030f4ebe2f03c74f65a5de74ae51c85e8455ff66e19443a688d484b36957eb1a130a002a84b69c823a81ac913f48c586f6b8130ee811f96a82e1014b24e05404b0da092d0941cdd476269ddc6569aa93309c03eb1533758d171825294461206969eb237c265bb19b7d95bdaf02fe7776eae34ffbed611f42deac1cd0bc3a01e23c50576b1bb07dbd23afe5c4c4b3bb9739d1a07b8f6e9bd08a0c7d50536c1247b5e848e28f3f96782adf16094ef0c6418b00fde16a23df5b6c70fb9cf03a9e30d8f2d56c1700415c248a036b67e41f0163c5cc62169d8f1c7c6ce35cefeb3499e307bd2ab37eb0d29f528d5b325aa03d0fbcb12e02f5d06d8a535637f14f3f4611871007e7cbacaf534c4dc450b7506aa75f1d59ae8c20de7c66bc7504b2f2f7df4e2d0f76d71f4fef1c8e82604dddc861b114242163fc29753be7d589140bbd25630c37c9c7502a3a10429be2c0d5d23fb1fb82fd23a005b848421f764acef9775bb46442b98acc6b3a52
(18) Message-Authenticator = 0x9db9b30105baf019c698a8bd4f3335d4
(18) NAS-Identifier = "hAPac2"
(18) NAS-IP-Address = 82.20.92.138
(18) Restoring &session-state
(18) &session-state:Framed-MTU = 994
(18) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3
Handshake, ClientHello"
(18) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
Handshake, ServerHello"
(18) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
ChangeCipherSpec"
(18) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3
Handshake, ClientHello"
(18) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
Handshake, ServerHello"
(18) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
Handshake, EncryptedExtensions"
(18) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
Handshake, CertificateRequest"
(18) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
Handshake, Certificate"
(18) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
Handshake, CertificateVerify"
(18) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
Handshake, Finished"
(18) # Executing section authorize from file
/usr/local/etc/raddb/sites-enabled/default
(18) authorize {
(18) policy filter_username {
(18) if (&User-Name) {
(18) if (&User-Name) -> TRUE
(18) if (&User-Name) {
(18) if (&User-Name =~ / /) {
(18) if (&User-Name =~ / /) -> FALSE
(18) if (&User-Name =~ /@[^@]*@/ ) {
(18) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(18) if (&User-Name =~ /\.\./ ) {
(18) if (&User-Name =~ /\.\./ ) -> FALSE
(18) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(18) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/))
-> FALSE
(18) if (&User-Name =~ /\.$/) {
(18) if (&User-Name =~ /\.$/) -> FALSE
(18) if (&User-Name =~ /(a)\./) {
(18) if (&User-Name =~ /(a)\./) -> FALSE
(18) } # if (&User-Name) = notfound
(18) } # policy filter_username = notfound
(18) [preprocess] = ok
(18) suffix: Checking for suffix after "@"
(18) suffix: No '@' in User-Name = "host/xxxxxxxxxxxxxxxxxxx.local",
looking up realm NULL
(18) suffix: No such realm "NULL"
(18) [suffix] = noop
(18) eap: Peer sent EAP Response (code 2) ID 4 length 1492
(18) eap: No EAP Start, assuming it's an on-going EAP conversation
(18) [eap] = updated
(18) [files] = noop
(18) [expiration] = noop
(18) [logintime] = noop
(18) } # authorize = updated
(18) Found Auth-Type = eap
(18) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(18) authenticate {
(18) eap: Expiring EAP session with state 0x4a27c5ed4923c8fe
(18) eap: Finished EAP session with state 0x6edd84696dd989f3
(18) eap: Previous EAP request found for state 0x6edd84696dd989f3, released
from the list
(18) eap: Peer sent packet with method EAP TLS (13)
(18) eap: Calling submodule eap_tls to process data
(18) eap_tls: (TLS) EAP Peer says that the final record size will be 3923
bytes
(18) eap_tls: (TLS) EAP Expecting 3 fragments
(18) eap_tls: (TLS) EAP Got first TLS fragment (1482 bytes). Peer says
more fragments will follow
(18) eap_tls: (TLS) EAP ACKing fragment, the peer should send more data.
(18) eap: Sending EAP Request (code 1) ID 5 length 6
(18) eap: EAP session adding &reply:State = 0x6edd84696ad889f3
(18) [eap] = handled
(18) } # authenticate = handled
(18) Using Post-Auth-Type Challenge
(18) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(18) Challenge { ... } # empty sub-section is ignored
(18) session-state: Saving cached attributes
(18) Framed-MTU = 994
(18) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(18) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake, ServerHello"
(18) TLS-Session-Information = "(TLS) send TLS 1.3 ChangeCipherSpec"
(18) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(18) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake, ServerHello"
(18) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake,
EncryptedExtensions"
(18) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake,
CertificateRequest"
(18) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake, Certificate"
(18) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake,
CertificateVerify"
(18) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake, Finished"
(18) Sent Access-Challenge Id 99 from 10.0.0.4:1812 to 82.20.92.138:47811
length 64
(18) EAP-Message = 0x010500060d00
(18) Message-Authenticator = 0x00000000000000000000000000000000
(18) State = 0x6edd84696ad889f36cc8783607bfc8c5
(18) Finished request
Waking up in 1.7 seconds.
(19) Received Access-Request Id 100 from 82.20.92.138:59703 to 10.0.0.4:1812
length 1704
(19) Service-Type = Framed-User
(19) Framed-MTU = 1400
(19) User-Name = "host/xxxxxxxxxxxxxxxxxxx.local"
(19) State = 0x6edd84696ad889f36cc8783607bfc8c5
(19) NAS-Port-Id = "BEARFORCE-STAGING"
(19) NAS-Port-Type = Wireless-802.11
(19) Calling-Station-Id = "8C-E9-EE-2A-75-6F"
(19) Called-Station-Id = "76-4D-28-35-F9-1E:BEARFORCE-STAGING"
(19) EAP-Message =
0x020505d40d4036f56797cabc72123040da27648b16dd11440051c6053d080c48306445090aa60260e5ee71c947c16efdb202ebafc48e0b83b3fadabae52189582a8058c414cbeac9404c3a7ceb304a4a2d626593b59e0e0d81f1f5a083dbb854207346e2d8e65447f4af1c41d197f485419cfdfa0b5f3b205bc37092374f0a47bd46007694ee0453039526c3e7944e471f11dcd0c3447bfc8e048d595b224ea46cc08226b21908f34691756f0d806b5219202f40e26300844e5df0407d5e150d71a045b8f271527aaefa17de978b24196c3650a6cc19cdece292323c1a3c81a5aaddb80bf72d518453202fcb55d3b06db5da3893cd9f3a42d864c891b6bd1c2c9288e6ae090c7a31b925f77be05549a40e4780fb844134cdf00b05fea81acce843e083fa2f5651ea1f545ccae8c450d8ca653eea572007feb1b166e64a323ded6a26fbc04a43c744c90edba3a34b4f2405c2ac94176c66079c414b553cc263b78e4c9a96c77651c69f4067264d119a318ee693d7200749
(19) Message-Authenticator = 0x01107ebe21772be4516a0db3f7e7b4f5
(19) NAS-Identifier = "hAPac2"
(19) NAS-IP-Address = 82.20.92.138
(19) Restoring &session-state
(19) &session-state:Framed-MTU = 994
(19) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3
Handshake, ClientHello"
(19) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
Handshake, ServerHello"
(19) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
ChangeCipherSpec"
(19) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3
Handshake, ClientHello"
(19) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
Handshake, ServerHello"
(19) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
Handshake, EncryptedExtensions"
(19) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
Handshake, CertificateRequest"
(19) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
Handshake, Certificate"
(19) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
Handshake, CertificateVerify"
(19) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
Handshake, Finished"
(19) # Executing section authorize from file
/usr/local/etc/raddb/sites-enabled/default
(19) authorize {
(19) policy filter_username {
(19) if (&User-Name) {
(19) if (&User-Name) -> TRUE
(19) if (&User-Name) {
(19) if (&User-Name =~ / /) {
(19) if (&User-Name =~ / /) -> FALSE
(19) if (&User-Name =~ /@[^@]*@/ ) {
(19) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(19) if (&User-Name =~ /\.\./ ) {
(19) if (&User-Name =~ /\.\./ ) -> FALSE
(19) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(19) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/))
-> FALSE
(19) if (&User-Name =~ /\.$/) {
(19) if (&User-Name =~ /\.$/) -> FALSE
(19) if (&User-Name =~ /(a)\./) {
(19) if (&User-Name =~ /(a)\./) -> FALSE
(19) } # if (&User-Name) = notfound
(19) } # policy filter_username = notfound
(19) [preprocess] = ok
(19) suffix: Checking for suffix after "@"
(19) suffix: No '@' in User-Name = "host/xxxxxxxxxxxxxxxxxxx.local",
looking up realm NULL
(19) suffix: No such realm "NULL"
(19) [suffix] = noop
(19) eap: Peer sent EAP Response (code 2) ID 5 length 1492
(19) eap: No EAP Start, assuming it's an on-going EAP conversation
(19) [eap] = updated
(19) [files] = noop
(19) [expiration] = noop
(19) [logintime] = noop
(19) } # authorize = updated
(19) Found Auth-Type = eap
(19) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(19) authenticate {
(19) eap: Expiring EAP session with state 0x4a27c5ed4923c8fe
(19) eap: Finished EAP session with state 0x6edd84696ad889f3
(19) eap: Previous EAP request found for state 0x6edd84696ad889f3, released
from the list
(19) eap: Peer sent packet with method EAP TLS (13)
(19) eap: Calling submodule eap_tls to process data
(19) eap_tls: (TLS) EAP Got additional fragment (1486 bytes). Peer says
more fragments will follow
(19) eap_tls: (TLS) EAP ACKing fragment, the peer should send more data.
(19) eap: Sending EAP Request (code 1) ID 6 length 6
(19) eap: EAP session adding &reply:State = 0x6edd84696bdb89f3
(19) [eap] = handled
(19) } # authenticate = handled
(19) Using Post-Auth-Type Challenge
(19) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(19) Challenge { ... } # empty sub-section is ignored
(19) session-state: Saving cached attributes
(19) Framed-MTU = 994
(19) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(19) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake, ServerHello"
(19) TLS-Session-Information = "(TLS) send TLS 1.3 ChangeCipherSpec"
(19) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(19) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake, ServerHello"
(19) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake,
EncryptedExtensions"
(19) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake,
CertificateRequest"
(19) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake, Certificate"
(19) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake,
CertificateVerify"
(19) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake, Finished"
(19) Sent Access-Challenge Id 100 from 10.0.0.4:1812 to 82.20.92.138:59703
length 64
(19) EAP-Message = 0x010600060d00
(19) Message-Authenticator = 0x00000000000000000000000000000000
(19) State = 0x6edd84696bdb89f36cc8783607bfc8c5
(19) Finished request
Waking up in 1.6 seconds.
(20) Received Access-Request Id 101 from 82.20.92.138:51977 to 10.0.0.4:1812
length 1169
(20) Service-Type = Framed-User
(20) Framed-MTU = 1400
(20) User-Name = "host/xxxxxxxxxxxxxxxxxxx.local"
(20) State = 0x6edd84696bdb89f36cc8783607bfc8c5
(20) NAS-Port-Id = "BEARFORCE-STAGING"
(20) NAS-Port-Type = Wireless-802.11
(20) Calling-Station-Id = "8C-E9-EE-2A-75-6F"
(20) Called-Station-Id = "76-4D-28-35-F9-1E:BEARFORCE-STAGING"
(20) EAP-Message =
0x020603c10d001dd63f0507fe4b3a1b6fd7a3008c69e53618abad43d8de7f1d9ca822de7d6b4343113f5ee56b3320b4fe5bde2b506306f371d54f78dff5c8af24746f5b351a70547d7156269b81448b20ae1bd152b57130626e81a16e573456ca5ae3e5d3a02204ef7b60644b207198ba607b68c2bb8b6cc30fd2caf798f2dd6a2072ada5caef56fb6c2e6fcc4c5ad0733f7537c20e4bd468adc2dd9741fcc74a68c28302c61fb01058144d0a31dc766cc88c35b8f0912fce0a51361978037c56c17182d70ff11d594f1911d2b20f3d83b6c026dad0c94826c156bf6b7a8e46ca45ba57a6e045ede25d2596362ab33f31421ccffa2eb58f0b1b0c3b6a8a608e124dcdd20424dec12ea643d0b0a69e046a88ef9e20a56301e953c6662ae8a0c20cd1489aeb686f9414859a256639ca43fbfba66959b5c7f5fd9b782b6412f99923071a305c39139f0bde28f380240a179e56950f07c8fb445507967826e34ba301e708ee777c197ef5576fdb2eda04cf47ded038f5d3f809
(20) Message-Authenticator = 0xb90febdbbe50ab11c31b5c5459ed07f6
(20) NAS-Identifier = "hAPac2"
(20) NAS-IP-Address = 82.20.92.138
(20) Restoring &session-state
(20) &session-state:Framed-MTU = 994
(20) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3
Handshake, ClientHello"
(20) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
Handshake, ServerHello"
(20) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
ChangeCipherSpec"
(20) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3
Handshake, ClientHello"
(20) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
Handshake, ServerHello"
(20) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
Handshake, EncryptedExtensions"
(20) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
Handshake, CertificateRequest"
(20) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
Handshake, Certificate"
(20) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
Handshake, CertificateVerify"
(20) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
Handshake, Finished"
(20) # Executing section authorize from file
/usr/local/etc/raddb/sites-enabled/default
(20) authorize {
(20) policy filter_username {
(20) if (&User-Name) {
(20) if (&User-Name) -> TRUE
(20) if (&User-Name) {
(20) if (&User-Name =~ / /) {
(20) if (&User-Name =~ / /) -> FALSE
(20) if (&User-Name =~ /@[^@]*@/ ) {
(20) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(20) if (&User-Name =~ /\.\./ ) {
(20) if (&User-Name =~ /\.\./ ) -> FALSE
(20) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(20) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/))
-> FALSE
(20) if (&User-Name =~ /\.$/) {
(20) if (&User-Name =~ /\.$/) -> FALSE
(20) if (&User-Name =~ /(a)\./) {
(20) if (&User-Name =~ /(a)\./) -> FALSE
(20) } # if (&User-Name) = notfound
(20) } # policy filter_username = notfound
(20) [preprocess] = ok
(20) suffix: Checking for suffix after "@"
(20) suffix: No '@' in User-Name = "host/xxxxxxxxxxxxxxxxxxx.local",
looking up realm NULL
(20) suffix: No such realm "NULL"
(20) [suffix] = noop
(20) eap: Peer sent EAP Response (code 2) ID 6 length 961
(20) eap: No EAP Start, assuming it's an on-going EAP conversation
(20) [eap] = updated
(20) [files] = noop
(20) [expiration] = noop
(20) [logintime] = noop
(20) } # authorize = updated
(20) Found Auth-Type = eap
(20) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(20) authenticate {
(20) eap: Expiring EAP session with state 0x4a27c5ed4923c8fe
(20) eap: Finished EAP session with state 0x6edd84696bdb89f3
(20) eap: Previous EAP request found for state 0x6edd84696bdb89f3, released
from the list
(20) eap: Peer sent packet with method EAP TLS (13)
(20) eap: Calling submodule eap_tls to process data
(20) eap_tls: (TLS) EAP Got final fragment (955 bytes)
(20) eap_tls: (TLS) EAP Done initial handshake
(20) eap_tls: (TLS) Handshake state - Server TLSv1.3 early data
(20) eap_tls: (TLS) recv TLS 1.3 Handshake, Certificate
(20) eap_tls: (TLS) Creating attributes from ?)??~??? certificate
(20) eap_tls: (TLS) Creating attributes from server certificate
(20) eap_tls: TLS-Cert-Serial := "4e000000036d780612d135fae7000000000003"
(20) eap_tls: TLS-Cert-Expiration := "250921092830Z"
(20) eap_tls: TLS-Cert-Valid-Since := "230921091830Z"
(20) eap_tls: TLS-Cert-Subject := "/DC=local/DC=universe/CN=Universe
Issuing CA"
(20) eap_tls: TLS-Cert-Issuer := "/DC=local/DC=universe/CN=Universe Root
CA"
(20) eap_tls: TLS-Cert-Common-Name := "Universe Issuing CA"
(20) eap_tls: (TLS) Creating attributes from client certificate
(20) eap_tls: TLS-Client-Cert-Serial :=
"2c00011641222a8cceb373b7cc000400011641"
(20) eap_tls: TLS-Client-Cert-Expiration := "250502152633Z"
(20) eap_tls: TLS-Client-Cert-Valid-Since := "240502152633Z"
(20) eap_tls: TLS-Client-Cert-Subject := "/CN=xxxxxxxxxxxxxxxxxxx.local"
(20) eap_tls: TLS-Client-Cert-Issuer :=
"/DC=local/DC=universe/CN=Universe Issuing CA"
(20) eap_tls: TLS-Client-Cert-Common-Name := "xxxxxxxxxxxxxxxxxxx.local"
(20) eap_tls: TLS-Client-Cert-Subject-Alt-Name-Dns :=
"xxxxxxxxxxxxxxxxxxx.local"
(20) eap_tls: TLS-Client-Cert-X509v3-Extended-Key-Usage += "TLS Web
Client Authentication, E-mail Protection, Microsoft Encrypted File System"
(20) eap_tls: TLS-Client-Cert-X509v3-Subject-Key-Identifier +=
"30:92:01:55:0F:9E:FC:65:9A:CD:FC:BD:32:18:9F:A6:B6:8F:35:71"
(20) eap_tls: TLS-Client-Cert-X509v3-Authority-Key-Identifier +=
"08:20:84:9F:E8:05:90:64:EC:43:12:A1:61:F6:EA:D7:FF:30:72:88"
(20) eap_tls: TLS-Client-Cert-X509v3-Extended-Key-Usage-OID +=
"1.3.6.1.5.5.7.3.2"
(20) eap_tls: TLS-Client-Cert-X509v3-Extended-Key-Usage-OID +=
"1.3.6.1.5.5.7.3.4"
(20) eap_tls: TLS-Client-Cert-X509v3-Extended-Key-Usage-OID +=
"1.3.6.1.4.1.311.10.3.4"
Certificate chain - 2 cert(s) untrusted
(TLS) untrusted certificate with depth [1] subject name
/DC=local/DC=universe/CN=Universe Issuing CA
(TLS) untrusted certificate with depth [0] subject name
/CN=xxxxxxxxxxxxxxxxxxx.local
(20) eap_tls: (TLS) Handshake state - Server SSLv3/TLS read client
certificate
(20) eap_tls: (TLS) recv TLS 1.3 Handshake, CertificateVerify
(20) eap_tls: (TLS) Handshake state - Server SSLv3/TLS read certificate
verify
(20) eap_tls: (TLS) recv TLS 1.3 Handshake, Finished
(20) eap_tls: (TLS) Handshake state - Server SSLv3/TLS read finished
(20) eap_tls: (TLS) Handshake state - SSL negotiation finished successfully
(20) eap_tls: (TLS) Connection Established
(20) eap_tls: TLS-Session-Cipher-Suite = "TLS_AES_256_GCM_SHA384"
(20) eap_tls: TLS-Session-Version = "TLS 1.3"
(20) eap_tls: (TLS) Application data.
(20) eap_tls: (TLS) EAP Sending final Commitment Message.
(20) eap_tls: (TLS) send TLS 1.3 Handshake, Finished
(20) eap: Sending EAP Request (code 1) ID 7 length 33
(20) eap: EAP session adding &reply:State = 0x6edd846968da89f3
(20) [eap] = handled
(20) } # authenticate = handled
(20) Using Post-Auth-Type Challenge
(20) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(20) Challenge { ... } # empty sub-section is ignored
(20) session-state: Saving cached attributes
(20) Framed-MTU = 994
(20) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(20) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake, ServerHello"
(20) TLS-Session-Information = "(TLS) send TLS 1.3 ChangeCipherSpec"
(20) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(20) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake, ServerHello"
(20) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake,
EncryptedExtensions"
(20) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake,
CertificateRequest"
(20) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake, Certificate"
(20) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake,
CertificateVerify"
(20) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake, Finished"
(20) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, Certificate"
(20) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake,
CertificateVerify"
(20) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, Finished"
(20) TLS-Session-Cipher-Suite = "TLS_AES_256_GCM_SHA384"
(20) TLS-Session-Version = "TLS 1.3"
(20) TLS-Session-Information = "(TLS) send TLS 1.3 Handshake, Finished"
(20) Sent Access-Challenge Id 101 from 10.0.0.4:1812 to 82.20.92.138:51977
length 91
(20) EAP-Message =
0x010700210d80000000171703030012d2808d556cd6a6b1f62bfe0b1ceb6e9fef72
(20) Message-Authenticator = 0x00000000000000000000000000000000
(20) State = 0x6edd846968da89f36cc8783607bfc8c5
(20) Finished request
Waking up in 1.5 seconds.
(21) Received Access-Request Id 102 from 82.20.92.138:56945 to 10.0.0.4:1812
length 208
(21) Service-Type = Framed-User
(21) Framed-MTU = 1400
(21) User-Name = "host/xxxxxxxxxxxxxxxxxxx.local"
(21) State = 0x6edd846968da89f36cc8783607bfc8c5
(21) NAS-Port-Id = "BEARFORCE-STAGING"
(21) NAS-Port-Type = Wireless-802.11
(21) Calling-Station-Id = "8C-E9-EE-2A-75-6F"
(21) Called-Station-Id = "76-4D-28-35-F9-1E:BEARFORCE-STAGING"
(21) EAP-Message = 0x020700060d00
(21) Message-Authenticator = 0x6e3ac4d272fb80c5d2901edfc35d6170
(21) NAS-Identifier = "hAPac2"
(21) NAS-IP-Address = 82.20.92.138
(21) Restoring &session-state
(21) &session-state:Framed-MTU = 994
(21) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3
Handshake, ClientHello"
(21) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
Handshake, ServerHello"
(21) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
ChangeCipherSpec"
(21) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3
Handshake, ClientHello"
(21) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
Handshake, ServerHello"
(21) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
Handshake, EncryptedExtensions"
(21) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
Handshake, CertificateRequest"
(21) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
Handshake, Certificate"
(21) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
Handshake, CertificateVerify"
(21) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
Handshake, Finished"
(21) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3
Handshake, Certificate"
(21) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3
Handshake, CertificateVerify"
(21) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3
Handshake, Finished"
(21) &session-state:TLS-Session-Cipher-Suite = "TLS_AES_256_GCM_SHA384"
(21) &session-state:TLS-Session-Version = "TLS 1.3"
(21) &session-state:TLS-Session-Information = "(TLS) send TLS 1.3
Handshake, Finished"
(21) # Executing section authorize from file
/usr/local/etc/raddb/sites-enabled/default
(21) authorize {
(21) policy filter_username {
(21) if (&User-Name) {
(21) if (&User-Name) -> TRUE
(21) if (&User-Name) {
(21) if (&User-Name =~ / /) {
(21) if (&User-Name =~ / /) -> FALSE
(21) if (&User-Name =~ /@[^@]*@/ ) {
(21) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(21) if (&User-Name =~ /\.\./ ) {
(21) if (&User-Name =~ /\.\./ ) -> FALSE
(21) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(21) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/))
-> FALSE
(21) if (&User-Name =~ /\.$/) {
(21) if (&User-Name =~ /\.$/) -> FALSE
(21) if (&User-Name =~ /(a)\./) {
(21) if (&User-Name =~ /(a)\./) -> FALSE
(21) } # if (&User-Name) = notfound
(21) } # policy filter_username = notfound
(21) [preprocess] = ok
(21) suffix: Checking for suffix after "@"
(21) suffix: No '@' in User-Name = "host/xxxxxxxxxxxxxxxxxxx.local",
looking up realm NULL
(21) suffix: No such realm "NULL"
(21) [suffix] = noop
(21) eap: Peer sent EAP Response (code 2) ID 7 length 6
(21) eap: No EAP Start, assuming it's an on-going EAP conversation
(21) [eap] = updated
(21) [files] = noop
(21) [expiration] = noop
(21) [logintime] = noop
(21) } # authorize = updated
(21) Found Auth-Type = eap
(21) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(21) authenticate {
(21) eap: Expiring EAP session with state 0x4a27c5ed4923c8fe
(21) eap: Finished EAP session with state 0x6edd846968da89f3
(21) eap: Previous EAP request found for state 0x6edd846968da89f3, released
from the list
(21) eap: Peer sent packet with method EAP TLS (13)
(21) eap: Calling submodule eap_tls to process data
(21) eap_tls: (TLS) Peer ACKed our handshake fragment. handshake is
finished
(21) eap: Sending EAP Success (code 3) ID 7 length 4
(21) eap: Freeing handler
(21) [eap] = ok
(21) } # authenticate = ok
(21) # Executing section post-auth from file
/usr/local/etc/raddb/sites-enabled/default
(21) post-auth {
(21) if (session-state:User-Name && reply:User-Name &&
request:User-Name && (reply:User-Name == request:User-Name)) {
(21) if (session-state:User-Name && reply:User-Name &&
request:User-Name && (reply:User-Name == request:User-Name)) -> FALSE
(21) update {
(21) &reply::Framed-MTU += &session-state:Framed-MTU[*] -> 994
(21) &reply::TLS-Session-Information +=
&session-state:TLS-Session-Information[*] -> '(TLS) recv TLS 1.3 Handshake,
ClientHello'
(21) &reply::TLS-Session-Information +=
&session-state:TLS-Session-Information[*] -> '(TLS) send TLS 1.3 Handshake,
ServerHello'
(21) &reply::TLS-Session-Information +=
&session-state:TLS-Session-Information[*] -> '(TLS) send TLS 1.3
ChangeCipherSpec'
(21) &reply::TLS-Session-Information +=
&session-state:TLS-Session-Information[*] -> '(TLS) recv TLS 1.3 Handshake,
ClientHello'
(21) &reply::TLS-Session-Information +=
&session-state:TLS-Session-Information[*] -> '(TLS) send TLS 1.3 Handshake,
ServerHello'
(21) &reply::TLS-Session-Information +=
&session-state:TLS-Session-Information[*] -> '(TLS) send TLS 1.3 Handshake,
EncryptedExtensions'
(21) &reply::TLS-Session-Information +=
&session-state:TLS-Session-Information[*] -> '(TLS) send TLS 1.3 Handshake,
CertificateRequest'
(21) &reply::TLS-Session-Information +=
&session-state:TLS-Session-Information[*] -> '(TLS) send TLS 1.3 Handshake,
Certificate'
(21) &reply::TLS-Session-Information +=
&session-state:TLS-Session-Information[*] -> '(TLS) send TLS 1.3 Handshake,
CertificateVerify'
(21) &reply::TLS-Session-Information +=
&session-state:TLS-Session-Information[*] -> '(TLS) send TLS 1.3 Handshake,
Finished'
(21) &reply::TLS-Session-Information +=
&session-state:TLS-Session-Information[*] -> '(TLS) recv TLS 1.3 Handshake,
Certificate'
(21) &reply::TLS-Session-Information +=
&session-state:TLS-Session-Information[*] -> '(TLS) recv TLS 1.3 Handshake,
CertificateVerify'
(21) &reply::TLS-Session-Information +=
&session-state:TLS-Session-Information[*] -> '(TLS) recv TLS 1.3 Handshake,
Finished'
(21) &reply::TLS-Session-Cipher-Suite +=
&session-state:TLS-Session-Cipher-Suite[*] -> 'TLS_AES_256_GCM_SHA384'
(21) &reply::TLS-Session-Version +=
&session-state:TLS-Session-Version[*] -> 'TLS 1.3'
(21) &reply::TLS-Session-Information +=
&session-state:TLS-Session-Information[*] -> '(TLS) send TLS 1.3 Handshake,
Finished'
(21) } # update = noop
(21) [exec] = noop
(21) policy remove_reply_message_if_eap {
(21) if (&reply:EAP-Message && &reply:Reply-Message) {
(21) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE
(21) else {
(21) [noop] = noop
(21) } # else = noop
(21) } # policy remove_reply_message_if_eap = noop
(21) if (EAP-Key-Name && &reply:EAP-Session-Id) {
(21) if (EAP-Key-Name && &reply:EAP-Session-Id) -> FALSE
(21) } # post-auth = noop
(21) Sent Access-Accept Id 102 from 10.0.0.4:1812 to 82.20.92.138:56945
length 203
(21) MS-MPPE-Recv-Key =
0x5148734c959b35aa7a962a528bd8d652f7b7113bf75781984d1e419c323918ab
(21) MS-MPPE-Send-Key =
0x2dc8ba894304307772f528c1f1ac6a370917e40106eb15b03412473be406841e
(21) EAP-Message = 0x03070004
(21) Message-Authenticator = 0x00000000000000000000000000000000
(21) User-Name = "host/xxxxxxxxxxxxxxxxxxx.local"
(21) Framed-MTU += 994
(21) Finished request
Waking up in 1.4 seconds.
(9) Cleaning up request packet ID 89 with timestamp +19 due to
cleanup_delay was reached
Waking up in 0.1 seconds.
(10) Cleaning up request packet ID 90 with timestamp +19 due to
cleanup_delay was reached
Waking up in 0.1 seconds.
(11) Cleaning up request packet ID 91 with timestamp +19 due to
cleanup_delay was reached
Waking up in 0.1 seconds.
(12) Cleaning up request packet ID 92 with timestamp +20 due to
cleanup_delay was reached
Waking up in 0.2 seconds.
(13) Cleaning up request packet ID 93 with timestamp +20 due to
cleanup_delay was reached
Waking up in 1.9 seconds.
(14) Cleaning up request packet ID 95 with timestamp +22 due to
cleanup_delay was reached
(15) Cleaning up request packet ID 96 with timestamp +22 due to
cleanup_delay was reached
Waking up in 0.1 seconds.
(16) Cleaning up request packet ID 97 with timestamp +22 due to
cleanup_delay was reached
Waking up in 0.1 seconds.
(17) Cleaning up request packet ID 98 with timestamp +22 due to
cleanup_delay was reached
Waking up in 0.2 seconds.
(18) Cleaning up request packet ID 99 with timestamp +22 due to
cleanup_delay was reached
(19) Cleaning up request packet ID 100 with timestamp +23 due to
cleanup_delay was reached
(20) Cleaning up request packet ID 101 with timestamp +23 due to
cleanup_delay was reached
(21) Cleaning up request packet ID 102 with timestamp +23 due to
cleanup_delay was reached
Ready to process requests
2
1
I have setup freeradius in Azure running as a container, I'm using image
latest-3.2-alpine for this.
I have a self signed cert configured for the server and a root CA uploaded.
On my client I have trusted certs for both the self signed certificate and
the root CA.
My wireless profile is configured to use the root CA.
Constantly receiving this error when connection is attempted, can anyone
suggest anything?
eap_tls: ERROR: (TLS) Alert write:fatal:handshake failure
4
15
Hello all
We are just new to playing with the dhcp portion of
freeradius. We are trying to figure out where to vendor space options and
what the syntax is send a vendor specific reply attribute. Below are the
options if we were using an ISC DHCP server
option space ENTONE;
option vendor-class-identifier code 60 = string;
option ENTONE.SIGNATURE code 99 = text;
option ENTONE.FIRMWARE_VERSION code 100 = text;
option ENTONE.FIRMWARE_FILENAME code 101 = text;
option ENTONE.APP_URL code 102 = text;
option ENTONE.RFS_URL code 103 = text;
option ENTONE.CENT_FTP code 104 = text;
option ENTONE.ROUTER_APP_FALLBACK code 104 = text;
option ENTONE.DECODER_APP_FALLBACK code 105 = text;
option ENTONE.ENTONEINI code 106 = text;
option ENTONE.BIN_URL code 107 = text;
option ENTONE.DECODER_LOADER_VERSION code 110 = text;
option ENTONE.DECODER_LOADER_FILENAME code 111 = text;
option ENTONE.DECODER_LOADER_FALLBACK code 112 = text;
option ENTONE.DECODER_APP_VERSION code 113 = text;
option ENTONE.DECODER_APP_FILENAME code 114 = text;
option ENTONE.PRIMARY_LOADER_VERSION code 115 = text;
option ENTONE.PRIMARY_LOADER_FILENAME code 116 = text;
option ENTONE.PRIMARY_LOADER_FALLBACK code 117 = text;
option ENTONE.ROUTER_LOADER_VERSION code 118 = text;
option ENTONE.ROUTER_LOADER_FILENAME code 119 = text;
option ENTONE.ROUTER_LOADER_FALLBACK code 120 = text;
option ENTONE.TEST_MODE code 130 = text;
option ENTONE.ACS_URL code 140 = text;
option ENTONE.FORCE_RELEASE code 200 = integer 8;
option ENTONE.DHCP_FORCE_RELEASE code 200 = integer 8;
reply attributes
vendor-option-space ENTONE;
option ENTONE.ENTONEINI "http://10.4.1.5/amino/entone_boot.ini";
Mark Jones
Operations
Managed Network Systems
Windsor Desk 519-258-2333 x8417
Cell 226-340-1254
2
1
We have released FreeRADIUS version 3.2.4.
It's been a while since the last release, so there's a lot going on this
time. Some highlights:
- Better TLS debugging output
- Simple "radsecret" script to generate good RADIUS secrets
- Configurable look back/forward window for TOTP
- Preliminary support for TEAP
- Less confusing output when requesting client stats
- Many bug fixes
See doc/ChangeLog for details. There are some minor configuration fixes
which are unlikely to affect anyone, notably %{randstr:...} returns the
requested length of data, rather than one byte too many.
Download from the usual places:
https://freeradius.org/releases/
https://freeradius.org/ftp/pub/freeradius/
ftp://ftp.freeradius.org/pub/freeradius/
https://github.com/FreeRADIUS/freeradius-server/releases/tag/release_3_2_4
As usual, Network RADIUS is providing pre-built packages for common
Linux distributions:
https://packages.networkradius.com/
and, lastly, Docker images on Dockerhub:
https://hub.docker.com/r/freeradius/freeradius-server
--
Matthew
5
9
Segmentation fault (Core dumped) when running freeradius -X and using EAP-TLS (tls1.2)
by Marcus A Karlsson 20 Jun '24
by Marcus A Karlsson 20 Jun '24
20 Jun '24
Hello,
I am experiencing some issues while trying to debug freeradius with clients using EAP-TLS (tls1.2). When the client certificates are about to be presented, I receive a Segmentation fault (core dumped). I have tried to find if anyone has had similar issue, but I have been unable to find this.
Freeradius version 3.0.26
Openssl version 3.0.2
Ubuntu 22.04.3 LTS
Debug output from when the issue happens:
(24) EAP-Message = 0x029402030d000fd3573ba1c9c31412471c0b70aa407a1a1fb75abc7ce9cd492b08d5ba440682417a57bd41235068937d43380c0326180924e2f382cf3477ff3ed293e34f39c1c139f75fe87fcd35ee319af8f95118e47d0ce6de6c06df1d9e52d3220224b9d4424dc06a96af78714b83327ff34a192404b71603030046100000424104e972e5d822f78723e401167bb6f49d7e67cdec7101ad3ec46a024a55c64b2cd049b5dcc1e97b8be4e85764b672b5dd4961d5ed78960762936f4dc014f26ca4ea16030301080f00010408040100922eb787092c5546810772ecf79fda8d406a686b0787fd2ee51d8dc5d76c40e08f36909082eb7f18f011f7b16df2d895e92dc73ee104b42779ea2ac53f25b7450d97d0a4730c3b4fd76657ca7f33de1dfd80cf8a5b584cc5392b9fdee3401d03b035e24c00708db677cc38dae5257f417d76f7115c0c79fe5ee26b367765e7e77c72dcd01d5c6c54de6522c1e6ae1818b7b446d5b81ee2b98bfa9093ddbf36f727fcda36886c81
(24) State = 0x60a3028371370fa6834f625d14815302
(24) Message-Authenticator = 0x643ca45d989f3fee15467783c5145ba4
(24) Restoring &session-state
(24) &session-state:Framed-MTU = 994
(24) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(24) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(24) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(24) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(24) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, CertificateRequest"
(24) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(24) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default
(24) authorize {
(24) policy filter_username {
(24) if (&User-Name) {
(24) if (&User-Name) -> TRUE
(24) if (&User-Name) {
(24) if (&User-Name =~ / /) {
(24) if (&User-Name =~ / /) -> FALSE
(24) if (&User-Name =~ /@[^@]*@/ ) {
(24) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(24) if (&User-Name =~ /\.\./ ) {
(24) if (&User-Name =~ /\.\./ ) -> FALSE
(24) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)<mailto:/@(.+)\.(.+)$/)>) {
(24) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)<mailto:/@(.+)\.(.+)$/)>) -> FALSE
(24) if (&User-Name =~ /\.$/) {
(24) if (&User-Name =~ /\.$/) -> FALSE
(24) if (&User-Name =~ /(a)\./<mailto:/@\./>) {
(24) if (&User-Name =~ /(a)\./<mailto:/@\./>) -> FALSE
(24) } # if (&User-Name) = notfound
(24) } # policy filter_username = notfound
(24) [preprocess] = ok
(24) [chap] = noop
(24) [mschap] = noop
(24) [digest] = noop
(24) suffix: Checking for suffix after "@"
(24) suffix: No '@' in User-Name = "TEST_CLIENT", looking up realm NULL
(24) suffix: No such realm "NULL"
(24) [suffix] = noop
(24) eap: Peer sent EAP Response (code 2) ID 148 length 515
(24) eap: No EAP Start, assuming it's an on-going EAP conversation
(24) [eap] = updated
(24) [files] = noop
(24) [expiration] = noop
(24) [logintime] = noop
(24) [pap] = noop
(24) } # authorize = updated
(24) Found Auth-Type = eap
(24) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(24) authenticate {
(24) eap: Expiring EAP session with state 0x60a3028371370fa6
(24) eap: Finished EAP session with state 0x60a3028371370fa6
(24) eap: Previous EAP request found for state 0x60a3028371370fa6, released from the list
(24) eap: Peer sent packet with method EAP TLS (13)
(24) eap: Calling submodule eap_tls to process data
(24) eap_tls: (TLS) EAP Got final fragment (509 bytes)
(24) eap_tls: (TLS) EAP Done initial handshake
(24) eap_tls: (TLS) Handshake state - Server SSLv3/TLS write server done
(24) eap_tls: (TLS) recv TLS 1.2 Handshake, Certificate
Segmentation fault (core dumped)
Configuration:
FreeRADIUS Version 3.0.26
Copyright (C) 1999-2021 The FreeRADIUS server project and contributors
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE
You may redistribute copies of FreeRADIUS under the terms of the
GNU General Public License
For more information about these matters, see the file named COPYRIGHT
Starting - reading configuration files ...
including dictionary file /usr/share/freeradius/dictionary
including dictionary file /usr/share/freeradius/dictionary.dhcp
including dictionary file /usr/share/freeradius/dictionary.vqp
including dictionary file /etc/freeradius/3.0/dictionary
including configuration file /etc/freeradius/3.0/radiusd.conf
including configuration file /etc/freeradius/3.0/proxy.conf
including configuration file /etc/freeradius/3.0/clients.conf
including files in directory /etc/freeradius/3.0/mods-enabled/
including configuration file /etc/freeradius/3.0/mods-enabled/always
including configuration file /etc/freeradius/3.0/mods-enabled/attr_filter
including configuration file /etc/freeradius/3.0/mods-enabled/cache_eap
including configuration file /etc/freeradius/3.0/mods-enabled/chap
including configuration file /etc/freeradius/3.0/mods-enabled/detail
including configuration file /etc/freeradius/3.0/mods-enabled/detail.log
including configuration file /etc/freeradius/3.0/mods-enabled/digest
including configuration file /etc/freeradius/3.0/mods-enabled/dynamic_clients
including configuration file /etc/freeradius/3.0/mods-enabled/eap
including configuration file /etc/freeradius/3.0/mods-enabled/echo
including configuration file /etc/freeradius/3.0/mods-enabled/exec
including configuration file /etc/freeradius/3.0/mods-enabled/expiration
including configuration file /etc/freeradius/3.0/mods-enabled/expr
including configuration file /etc/freeradius/3.0/mods-enabled/files
including configuration file /etc/freeradius/3.0/mods-enabled/linelog
including configuration file /etc/freeradius/3.0/mods-enabled/logintime
including configuration file /etc/freeradius/3.0/mods-enabled/mschap
including configuration file /etc/freeradius/3.0/mods-enabled/ntlm_auth
including configuration file /etc/freeradius/3.0/mods-enabled/pap
including configuration file /etc/freeradius/3.0/mods-enabled/passwd
including configuration file /etc/freeradius/3.0/mods-enabled/preprocess
including configuration file /etc/freeradius/3.0/mods-enabled/radutmp
including configuration file /etc/freeradius/3.0/mods-enabled/realm
including configuration file /etc/freeradius/3.0/mods-enabled/replicate
including configuration file /etc/freeradius/3.0/mods-enabled/soh
including configuration file /etc/freeradius/3.0/mods-enabled/sradutmp
including configuration file /etc/freeradius/3.0/mods-enabled/unix
including configuration file /etc/freeradius/3.0/mods-enabled/unpack
including configuration file /etc/freeradius/3.0/mods-enabled/utf8
including files in directory /etc/freeradius/3.0/policy.d/
including configuration file /etc/freeradius/3.0/policy.d/abfab-tr
including configuration file /etc/freeradius/3.0/policy.d/accounting
including configuration file /etc/freeradius/3.0/policy.d/canonicalization
including configuration file /etc/freeradius/3.0/policy.d/control
including configuration file /etc/freeradius/3.0/policy.d/cui
including configuration file /etc/freeradius/3.0/policy.d/debug
including configuration file /etc/freeradius/3.0/policy.d/dhcp
including configuration file /etc/freeradius/3.0/policy.d/eap
including configuration file /etc/freeradius/3.0/policy.d/filter
including configuration file /etc/freeradius/3.0/policy.d/moonshot-targeted-ids
including configuration file /etc/freeradius/3.0/policy.d/operator-name
including configuration file /etc/freeradius/3.0/policy.d/rfc7542
including files in directory /etc/freeradius/3.0/sites-enabled/
including configuration file /etc/freeradius/3.0/sites-enabled/default
including configuration file /etc/freeradius/3.0/sites-enabled/inner-tunnel
main {
security {
user = "freerad"
group = "freerad"
allow_core_dumps = no
}
name = "freeradius"
prefix = "/usr"
localstatedir = "/var"
logdir = "/var/log/freeradius"
run_dir = "/var/run/freeradius"
}
main {
name = "freeradius"
prefix = "/usr"
localstatedir = "/var"
sbindir = "/usr/sbin"
logdir = "/var/log/freeradius"
run_dir = "/var/run/freeradius"
libdir = "/usr/lib/freeradius"
radacctdir = "/var/log/freeradius/radacct"
hostname_lookups = no
max_request_time = 30
cleanup_delay = 6
max_requests = 16384
postauth_client_lost = no
pidfile = "/var/run/freeradius/freeradius.pid"
checkrad = "/usr/sbin/checkrad"
debug_level = 0
proxy_requests = yes
log {
stripped_names = no
auth = yes
auth_badpass = no
auth_goodpass = no
msg_badpass = "Rejected user: %{User-Name} CN: %{TLS-Client-Cert-Common-Name} - %{NAS-Identifier} - %{Meraki-Ap-Name} - %{Connect-Info}"
msg_goodpass = "Accepted user: %{User-Name} CN: %{TLS-Client-Cert-Common-Name} - %{NAS-Identifier} - %{Meraki-Ap-Name} - %{Connect-Info}"
colourise = yes
msg_denied = "You are already logged in - access denied"
}
resources {
}
security {
max_attributes = 200
reject_delay = 1.000000
status_server = yes
}
}
radiusd: #### Loading Realms and Home Servers ####
proxy server {
retry_delay = 5
retry_count = 3
default_fallback = no
dead_time = 120
wake_all_if_all_dead = no
}
home_server localhost {
ipaddr = 127.0.0.1
port = 1812
type = "auth"
secret = <<< secret >>>
response_window = 20.000000
response_timeouts = 1
max_outstanding = 65536
zombie_period = 40
status_check = "status-server"
ping_interval = 30
check_interval = 30
check_timeout = 4
num_answers_to_alive = 3
revive_interval = 120
limit {
max_connections = 16
max_requests = 0
lifetime = 0
idle_timeout = 0
}
coa {
irt = 2
mrt = 16
mrc = 5
mrd = 30
}
}
home_server_pool my_auth_failover {
type = fail-over
home_server = localhost
}
realm example.com {
auth_pool = my_auth_failover
}
realm LOCAL {
}
radiusd: #### Loading Clients ####
client solarwinds {
ipaddr = ##.###.##.0/24
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client f5 {
ipaddr = ##.###.#.###/30
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
Debugger not attached
systemd watchdog is disabled
# Creating Auth-Type = mschap
# Creating Auth-Type = digest
# Creating Auth-Type = eap
# Creating Auth-Type = PAP
# Creating Auth-Type = CHAP
# Creating Auth-Type = MS-CHAP
# Creating Autz-Type = New-TLS-Connection
radiusd: #### Instantiating modules ####
modules {
# Loaded module rlm_always
# Loading module "reject" from file /etc/freeradius/3.0/mods-enabled/always
always reject {
rcode = "reject"
simulcount = 0
mpp = no
}
# Loading module "fail" from file /etc/freeradius/3.0/mods-enabled/always
always fail {
rcode = "fail"
simulcount = 0
mpp = no
}
# Loading module "ok" from file /etc/freeradius/3.0/mods-enabled/always
always ok {
rcode = "ok"
simulcount = 0
mpp = no
}
# Loading module "handled" from file /etc/freeradius/3.0/mods-enabled/always
always handled {
rcode = "handled"
simulcount = 0
mpp = no
}
# Loading module "invalid" from file /etc/freeradius/3.0/mods-enabled/always
always invalid {
rcode = "invalid"
simulcount = 0
mpp = no
}
# Loading module "userlock" from file /etc/freeradius/3.0/mods-enabled/always
always userlock {
rcode = "userlock"
simulcount = 0
mpp = no
}
# Loading module "notfound" from file /etc/freeradius/3.0/mods-enabled/always
always notfound {
rcode = "notfound"
simulcount = 0
mpp = no
}
# Loading module "noop" from file /etc/freeradius/3.0/mods-enabled/always
always noop {
rcode = "noop"
simulcount = 0
mpp = no
}
# Loading module "updated" from file /etc/freeradius/3.0/mods-enabled/always
always updated {
rcode = "updated"
simulcount = 0
mpp = no
}
# Loaded module rlm_attr_filter
# Loading module "attr_filter.post-proxy" from file /etc/freeradius/3.0/mods-enabled/attr_filter
attr_filter attr_filter.post-proxy {
filename = "/etc/freeradius/3.0/mods-config/attr_filter/post-proxy"
key = "%{Realm}"
relaxed = no
}
# Loading module "attr_filter.pre-proxy" from file /etc/freeradius/3.0/mods-enabled/attr_filter
attr_filter attr_filter.pre-proxy {
filename = "/etc/freeradius/3.0/mods-config/attr_filter/pre-proxy"
key = "%{Realm}"
relaxed = no
}
# Loading module "attr_filter.access_reject" from file /etc/freeradius/3.0/mods-enabled/attr_filter
attr_filter attr_filter.access_reject {
filename = "/etc/freeradius/3.0/mods-config/attr_filter/access_reject"
key = "%{User-Name}"
relaxed = no
}
# Loading module "attr_filter.access_challenge" from file /etc/freeradius/3.0/mods-enabled/attr_filter
attr_filter attr_filter.access_challenge {
filename = "/etc/freeradius/3.0/mods-config/attr_filter/access_challenge"
key = "%{User-Name}"
relaxed = no
}
# Loading module "attr_filter.accounting_response" from file /etc/freeradius/3.0/mods-enabled/attr_filter
attr_filter attr_filter.accounting_response {
filename = "/etc/freeradius/3.0/mods-config/attr_filter/accounting_response"
key = "%{User-Name}"
relaxed = no
}
# Loading module "attr_filter.coa" from file /etc/freeradius/3.0/mods-enabled/attr_filter
attr_filter attr_filter.coa {
filename = "/etc/freeradius/3.0/mods-config/attr_filter/coa"
key = "%{User-Name}"
relaxed = no
}
# Loaded module rlm_cache
# Loading module "cache_eap" from file /etc/freeradius/3.0/mods-enabled/cache_eap
cache cache_eap {
driver = "rlm_cache_rbtree"
key = "%{%{control:State}:-%{%{reply:State}:-%{State}}}"
ttl = 15
max_entries = 0
epoch = 0
add_stats = no
}
# Loaded module rlm_chap
# Loading module "chap" from file /etc/freeradius/3.0/mods-enabled/chap
# Loaded module rlm_detail
# Loading module "detail" from file /etc/freeradius/3.0/mods-enabled/detail
detail {
filename = "/var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
escape_filenames = no
log_packet_header = no
}
# Loading module "auth_log" from file /etc/freeradius/3.0/mods-enabled/detail.log
detail auth_log {
filename = "/var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
escape_filenames = no
log_packet_header = no
}
# Loading module "reply_log" from file /etc/freeradius/3.0/mods-enabled/detail.log
detail reply_log {
filename = "/var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/reply-detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
escape_filenames = no
log_packet_header = no
}
# Loading module "pre_proxy_log" from file /etc/freeradius/3.0/mods-enabled/detail.log
detail pre_proxy_log {
filename = "/var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/pre-proxy-detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
escape_filenames = no
log_packet_header = no
}
# Loading module "post_proxy_log" from file /etc/freeradius/3.0/mods-enabled/detail.log
detail post_proxy_log {
filename = "/var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/post-proxy-detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
escape_filenames = no
log_packet_header = no
}
# Loaded module rlm_digest
# Loading module "digest" from file /etc/freeradius/3.0/mods-enabled/digest
# Loaded module rlm_dynamic_clients
# Loading module "dynamic_clients" from file /etc/freeradius/3.0/mods-enabled/dynamic_clients
# Loaded module rlm_eap
# Loading module "eap" from file /etc/freeradius/3.0/mods-enabled/eap
eap {
default_eap_type = "tls"
timer_expire = 60
ignore_unknown_eap_types = no
cisco_accounting_username_bug = no
max_sessions = 16384
}
# Loaded module rlm_exec
# Loading module "echo" from file /etc/freeradius/3.0/mods-enabled/echo
exec echo {
wait = yes
program = "/bin/echo %{User-Name}"
input_pairs = "request"
output_pairs = "reply"
shell_escape = yes
}
# Loading module "exec" from file /etc/freeradius/3.0/mods-enabled/exec
exec {
wait = no
input_pairs = "request"
shell_escape = yes
timeout = 10
}
# Loaded module rlm_expiration
# Loading module "expiration" from file /etc/freeradius/3.0/mods-enabled/expiration
# Loaded module rlm_expr
# Loading module "expr" from file /etc/freeradius/3.0/mods-enabled/expr
expr {
safe_characters = "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /??????ae????????oe???a????????AE????????OE????"
}
# Loaded module rlm_files
# Loading module "files" from file /etc/freeradius/3.0/mods-enabled/files
files {
filename = "/etc/freeradius/3.0/mods-config/files/authorize"
acctusersfile = "/etc/freeradius/3.0/mods-config/files/accounting"
preproxy_usersfile = "/etc/freeradius/3.0/mods-config/files/pre-proxy"
}
# Loaded module rlm_linelog
# Loading module "linelog" from file /etc/freeradius/3.0/mods-enabled/linelog
linelog {
filename = "/var/log/freeradius/linelog"
escape_filenames = no
syslog_severity = "info"
permissions = 384
format = "This is a log message for %{User-Name}"
reference = "messages.%{%{reply:Packet-Type}:-default}"
}
# Loading module "log_accounting" from file /etc/freeradius/3.0/mods-enabled/linelog
linelog log_accounting {
filename = "/var/log/freeradius/linelog-accounting"
escape_filenames = no
syslog_severity = "info"
permissions = 384
format = ""
reference = "Accounting-Request.%{%{Acct-Status-Type}:-unknown}"
}
# Loaded module rlm_logintime
# Loading module "logintime" from file /etc/freeradius/3.0/mods-enabled/logintime
logintime {
minimum_timeout = 60
}
# Loaded module rlm_mschap
# Loading module "mschap" from file /etc/freeradius/3.0/mods-enabled/mschap
mschap {
use_mppe = yes
require_encryption = no
require_strong = no
with_ntdomain_hack = yes
passchange {
}
allow_retry = yes
winbind_retry_with_normalised_username = no
}
# Loading module "ntlm_auth" from file /etc/freeradius/3.0/mods-enabled/ntlm_auth
exec ntlm_auth {
wait = yes
program = "/path/to/ntlm_auth --request-nt-key --domain=MYDOMAIN --username=%{mschap:User-Name} --password=%{User-Password}"
shell_escape = yes
}
# Loaded module rlm_pap
# Loading module "pap" from file /etc/freeradius/3.0/mods-enabled/pap
pap {
normalise = yes
}
# Loaded module rlm_passwd
# Loading module "etc_passwd" from file /etc/freeradius/3.0/mods-enabled/passwd
passwd etc_passwd {
filename = "/etc/passwd"
format = "*User-Name:Crypt-Password:"
delimiter = ":"
ignore_nislike = no
ignore_empty = yes
allow_multiple_keys = no
hash_size = 100
}
# Loaded module rlm_preprocess
# Loading module "preprocess" from file /etc/freeradius/3.0/mods-enabled/preprocess
preprocess {
huntgroups = "/etc/freeradius/3.0/mods-config/preprocess/huntgroups"
hints = "/etc/freeradius/3.0/mods-config/preprocess/hints"
with_ascend_hack = no
ascend_channels_per_line = 23
with_ntdomain_hack = no
with_specialix_jetstream_hack = no
with_cisco_vsa_hack = no
with_alvarion_vsa_hack = no
}
# Loaded module rlm_radutmp
# Loading module "radutmp" from file /etc/freeradius/3.0/mods-enabled/radutmp
radutmp {
filename = "/var/log/freeradius/radutmp"
username = "%{User-Name}"
case_sensitive = yes
check_with_nas = yes
permissions = 384
caller_id = yes
}
# Loaded module rlm_realm
# Loading module "IPASS" from file /etc/freeradius/3.0/mods-enabled/realm
realm IPASS {
format = "prefix"
delimiter = "/"
ignore_default = no
ignore_null = no
}
# Loading module "suffix" from file /etc/freeradius/3.0/mods-enabled/realm
realm suffix {
format = "suffix"
delimiter = "@"
ignore_default = no
ignore_null = no
}
# Loading module "bangpath" from file /etc/freeradius/3.0/mods-enabled/realm
realm bangpath {
format = "prefix"
delimiter = "!"
ignore_default = no
ignore_null = no
}
# Loading module "realmpercent" from file /etc/freeradius/3.0/mods-enabled/realm
realm realmpercent {
format = "suffix"
delimiter = "%"
ignore_default = no
ignore_null = no
}
# Loading module "ntdomain" from file /etc/freeradius/3.0/mods-enabled/realm
realm ntdomain {
format = "prefix"
delimiter = "\\"
ignore_default = no
ignore_null = no
}
# Loaded module rlm_replicate
# Loading module "replicate" from file /etc/freeradius/3.0/mods-enabled/replicate
# Loaded module rlm_soh
# Loading module "soh" from file /etc/freeradius/3.0/mods-enabled/soh
soh {
dhcp = yes
}
# Loading module "sradutmp" from file /etc/freeradius/3.0/mods-enabled/sradutmp
radutmp sradutmp {
filename = "/var/log/freeradius/sradutmp"
username = "%{User-Name}"
case_sensitive = yes
check_with_nas = yes
permissions = 420
caller_id = no
}
# Loaded module rlm_unix
# Loading module "unix" from file /etc/freeradius/3.0/mods-enabled/unix
unix {
radwtmp = "/var/log/freeradius/radwtmp"
}
Creating attribute Unix-Group
# Loaded module rlm_unpack
# Loading module "unpack" from file /etc/freeradius/3.0/mods-enabled/unpack
# Loaded module rlm_utf8
# Loading module "utf8" from file /etc/freeradius/3.0/mods-enabled/utf8
instantiate {
}
# Instantiating module "reject" from file /etc/freeradius/3.0/mods-enabled/always
# Instantiating module "fail" from file /etc/freeradius/3.0/mods-enabled/always
# Instantiating module "ok" from file /etc/freeradius/3.0/mods-enabled/always
# Instantiating module "handled" from file /etc/freeradius/3.0/mods-enabled/always
# Instantiating module "invalid" from file /etc/freeradius/3.0/mods-enabled/always
# Instantiating module "userlock" from file /etc/freeradius/3.0/mods-enabled/always
# Instantiating module "notfound" from file /etc/freeradius/3.0/mods-enabled/always
# Instantiating module "noop" from file /etc/freeradius/3.0/mods-enabled/always
# Instantiating module "updated" from file /etc/freeradius/3.0/mods-enabled/always
# Instantiating module "attr_filter.post-proxy" from file /etc/freeradius/3.0/mods-enabled/attr_filter
reading pairlist file /etc/freeradius/3.0/mods-config/attr_filter/post-proxy
# Instantiating module "attr_filter.pre-proxy" from file /etc/freeradius/3.0/mods-enabled/attr_filter
reading pairlist file /etc/freeradius/3.0/mods-config/attr_filter/pre-proxy
# Instantiating module "attr_filter.access_reject" from file /etc/freeradius/3.0/mods-enabled/attr_filter
reading pairlist file /etc/freeradius/3.0/mods-config/attr_filter/access_reject
# Instantiating module "attr_filter.access_challenge" from file /etc/freeradius/3.0/mods-enabled/attr_filter
reading pairlist file /etc/freeradius/3.0/mods-config/attr_filter/access_challenge
# Instantiating module "attr_filter.accounting_response" from file /etc/freeradius/3.0/mods-enabled/attr_filter
reading pairlist file /etc/freeradius/3.0/mods-config/attr_filter/accounting_response
# Instantiating module "attr_filter.coa" from file /etc/freeradius/3.0/mods-enabled/attr_filter
reading pairlist file /etc/freeradius/3.0/mods-config/attr_filter/coa
# Instantiating module "cache_eap" from file /etc/freeradius/3.0/mods-enabled/cache_eap
rlm_cache (cache_eap): Driver rlm_cache_rbtree (module rlm_cache_rbtree) loaded and linked
# Instantiating module "detail" from file /etc/freeradius/3.0/mods-enabled/detail
# Instantiating module "auth_log" from file /etc/freeradius/3.0/mods-enabled/detail.log
rlm_detail (auth_log): 'User-Password' suppressed, will not appear in detail output
# Instantiating module "reply_log" from file /etc/freeradius/3.0/mods-enabled/detail.log
# Instantiating module "pre_proxy_log" from file /etc/freeradius/3.0/mods-enabled/detail.log
# Instantiating module "post_proxy_log" from file /etc/freeradius/3.0/mods-enabled/detail.log
# Instantiating module "eap" from file /etc/freeradius/3.0/mods-enabled/eap
# Linked to sub-module rlm_eap_md5
# Linked to sub-module rlm_eap_gtc
gtc {
challenge = "Password: "
auth_type = "PAP"
}
# Linked to sub-module rlm_eap_tls
tls {
tls = "tls-common"
}
tls-config tls-common {
verify_depth = 0
ca_path = "/etc/freeradius/3.0/certs/CA"
pem_file_type = yes
private_key_file = "/etc/freeradius/3.0/certs/"key".key"
certificate_file = "/etc/freeradius/3.0/certs/server_cert.pem"
ca_file = "/etc/freeradius/3.0/certs/ca.crt"
private_key_password = <<< secret >>>
fragment_size = 1024
include_length = yes
auto_chain = no
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"
cache {
enable = no
lifetime = 24
max_entries = 255
}
verify {
skip_if_ocsp_ok = no
}
ocsp {
enable = yes
override_cert_url = yes
url = "url"
use_nonce = yes
timeout = 0
softfail = yes
}
}
# Linked to sub-module rlm_eap_ttls
ttls {
tls = "tls-common"
default_eap_type = "md5"
copy_request_to_tunnel = no
use_tunneled_reply = no
virtual_server = "inner-tunnel"
include_length = yes
require_client_cert = no
}
tls: Using cached TLS configuration from previous invocation
# Linked to sub-module rlm_eap_peap
peap {
tls = "tls-common"
default_eap_type = "mschapv2"
copy_request_to_tunnel = no
use_tunneled_reply = no
proxy_tunneled_request_as_eap = yes
virtual_server = "inner-tunnel"
soh = no
require_client_cert = no
}
tls: Using cached TLS configuration from previous invocation
# Linked to sub-module rlm_eap_mschapv2
mschapv2 {
with_ntdomain_hack = no
send_error = no
}
# Instantiating module "expiration" from file /etc/freeradius/3.0/mods-enabled/expiration
# Instantiating module "files" from file /etc/freeradius/3.0/mods-enabled/files
reading pairlist file /etc/freeradius/3.0/mods-config/files/authorize
reading pairlist file /etc/freeradius/3.0/mods-config/files/accounting
reading pairlist file /etc/freeradius/3.0/mods-config/files/pre-proxy
# Instantiating module "linelog" from file /etc/freeradius/3.0/mods-enabled/linelog
# Instantiating module "log_accounting" from file /etc/freeradius/3.0/mods-enabled/linelog
# Instantiating module "logintime" from file /etc/freeradius/3.0/mods-enabled/logintime
# Instantiating module "mschap" from file /etc/freeradius/3.0/mods-enabled/mschap
rlm_mschap (mschap): using internal authentication
# Instantiating module "pap" from file /etc/freeradius/3.0/mods-enabled/pap
# Instantiating module "etc_passwd" from file /etc/freeradius/3.0/mods-enabled/passwd
rlm_passwd: nfields: 3 keyfield 0(User-Name) listable: no
# Instantiating module "preprocess" from file /etc/freeradius/3.0/mods-enabled/preprocess
reading pairlist file /etc/freeradius/3.0/mods-config/preprocess/huntgroups
reading pairlist file /etc/freeradius/3.0/mods-config/preprocess/hints
# Instantiating module "IPASS" from file /etc/freeradius/3.0/mods-enabled/realm
# Instantiating module "suffix" from file /etc/freeradius/3.0/mods-enabled/realm
# Instantiating module "bangpath" from file /etc/freeradius/3.0/mods-enabled/realm
# Instantiating module "realmpercent" from file /etc/freeradius/3.0/mods-enabled/realm
# Instantiating module "ntdomain" from file /etc/freeradius/3.0/mods-enabled/realm
} # modules
radiusd: #### Loading Virtual Servers ####
server { # from file /etc/freeradius/3.0/radiusd.conf
} # server
server default { # from file /etc/freeradius/3.0/sites-enabled/default
# Loading authenticate {...}
Compiling Auth-Type PAP for attr Auth-Type
Compiling Auth-Type CHAP for attr Auth-Type
Compiling Auth-Type MS-CHAP for attr Auth-Type
# Loading authorize {...}
Ignoring "sql" (see raddb/mods-available/README.rst)
Ignoring "ldap" (see raddb/mods-available/README.rst)
Compiling Autz-Type New-TLS-Connection for attr Autz-Type
# Loading preacct {...}
# Loading accounting {...}
# Loading post-proxy {...}
# Loading post-auth {...}
Compiling Post-Auth-Type REJECT for attr Post-Auth-Type
Compiling Post-Auth-Type Challenge for attr Post-Auth-Type
Compiling Post-Auth-Type Client-Lost for attr Post-Auth-Type
} # server default
server inner-tunnel { # from file /etc/freeradius/3.0/sites-enabled/inner-tunnel
# Loading authenticate {...}
Compiling Auth-Type PAP for attr Auth-Type
Compiling Auth-Type CHAP for attr Auth-Type
Compiling Auth-Type MS-CHAP for attr Auth-Type
# Loading authorize {...}
# Loading session {...}
# Loading post-proxy {...}
# Loading post-auth {...}
# Skipping contents of 'if' as it is always 'false' -- /etc/freeradius/3.0/sites-enabled/inner-tunnel:336
Compiling Post-Auth-Type REJECT for attr Post-Auth-Type
} # server inner-tunnel
radiusd: #### Opening IP addresses and Ports ####
listen {
type = "auth"
ipaddr = *
port = 0
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
listen {
type = "acct"
ipaddr = *
port = 0
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
listen {
type = "auth"
ipv6addr = ::
port = 0
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
listen {
type = "acct"
ipv6addr = ::
port = 0
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
listen {
type = "auth"
ipaddr = 127.0.0.1
port = 18120
}
Listening on auth address * port 1812 bound to server default
Listening on acct address * port 1813 bound to server default
Listening on auth address :: port 1812 bound to server default
Listening on acct address :: port 1813 bound to server default
Listening on auth address 127.0.0.1 port 18120 bound to server inner-tunnel
Listening on proxy address * port 54172
Listening on proxy address :: port 44477
Thanks!
Marcus
5
4
Hi
Just trying to get the TOTP module working on 3.2.x using the latest RPM
package of 3.2.4.1
However noticed that the default config is 8 digits for the OTP Length in
the 3.2 branch
https://github.com/FreeRADIUS/freeradius-server/blob/v3.2.x/raddb/mods-avai…
However this commit that was merged into master should be pulled into the
3.2 branch to default to 6 digits.
https://github.com/FreeRADIUS/freeradius-server/commit/534d165e71ec87a526e0…
If you wanted to follow the rfc6238 spec to the letter then the default is:
Hash: SHA1
Length: 6 Digits
Time-step Size: 30 Seconds
But I know there are various implementations that support:
Hash: SHA1 or SHA256
Digit: 6 or 8 Digits
Time-step Size: 30 or 60 Seconds
Additionally if hardware TOTP tokens are being used there is an issue where
the time set when manufactured can get wildly out of skew as I have had
more than one device that arrived that wasn't synced to UTC. The worst I
have seen was a hardware token over 3 minutes behind.
So if someone was looking to make changes in the module adding a per device
hardware skew with a set number of seconds plus or minus UTC such as:
TOTP-HardwareSkew = -180
Or similar to set the number of seconds the particular hardware token is
known to be out of skew.
I know patches are always welcome, but pulling the commit into 3.2 would be
appreciated.
Would you like me to raise an issue on Github about this? Or update
https://github.com/FreeRADIUS/freeradius-server/issues/4809
Cheers, Peter
2
2
Hi,
We are using latest master branch(#933d82589741cf7e70150eb01744735be3380f5c).
built the rpms on alma8 using redhat/freeradius.spec, noticed python was compiled successfully and installed on an alma8 machine.
we see following error when using python module.(when importing math in example.py).
# radiusd -X
Info : Copyright 1999-2024 The FreeRADIUS server project and contributors
Info : There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
Info : PARTICULAR PURPOSE
Info : You may redistribute copies of FreeRADIUS under the terms of the
Info : GNU General Public License
Info : For more information about these matters, see the file named COPYRIGHT
Info : Starting - reading configuration files ...
Debug : Including dictionary file "/etc/raddb/dictionary"
Debug : including configuration file /etc/raddb/radiusd.conf
Debug : Including files in directory "/etc/raddb/template.d/"
Debug : including configuration file /etc/raddb/template.d/default
Debug : including configuration file /etc/raddb/clients.conf
Debug : Including files in directory "/etc/raddb/global.d/"
Debug : including configuration file /etc/raddb/global.d/ldap
Debug : including configuration file /etc/raddb/global.d/python
Debug : Including files in directory "/etc/raddb/mods-enabled/"
Debug : including configuration file /etc/raddb/mods-enabled/always
Debug : including configuration file /etc/raddb/mods-enabled/python
Debug : Including files in directory "/etc/raddb/policy.d/"
Debug : including configuration file /etc/raddb/policy.d/abfab-tr
Debug : including configuration file /etc/raddb/policy.d/accounting
Debug : including configuration file /etc/raddb/policy.d/canonicalisation
Debug : including configuration file /etc/raddb/policy.d/control
Debug : including configuration file /etc/raddb/policy.d/cui
Debug : including configuration file /etc/raddb/policy.d/debug
Debug : including configuration file /etc/raddb/policy.d/dhcp
Debug : including configuration file /etc/raddb/policy.d/eap
Debug : including configuration file /etc/raddb/policy.d/filter
Debug : including configuration file /etc/raddb/policy.d/operator-name
Debug : including configuration file /etc/raddb/policy.d/time
Debug : including configuration file /etc/raddb/policy.d/vendor
Debug : Including files in directory "/etc/raddb/sites-enabled/"
Debug : including configuration file /etc/raddb/sites-enabled/dhcp
Debug : Loaded module process_dhcpv4
Debug : Parsing initial logging configuration.
Debug : main {
Debug : prefix = /usr
Debug : log {
Debug : destination = files
Debug : syslog_facility = daemon
Debug : local_state_dir = "/usr/var"
Debug : logdir = "/usr/var/log"
Debug : file = /var/log/radius/radius.log
Debug : suppress_secrets = no
Debug : }
Debug : }
Debug : Parsing security rules to bootstrap UID / GID / chroot / etc.
Debug : main {
Debug : log {
Debug : }
Debug : security {
Debug : allow_core_dumps = no
Debug : allow_vulnerable_openssl = no
Debug : openssl_fips_mode = no
Debug : }
Debug : name = radiusd
Debug : local_state_dir = "/usr/var"
Debug : run_dir = /var/run/radiusd
Debug : }
Debug : Parsing main configuration
Debug : main {
Debug : server dhcp {
Debug : namespace = dhcpv4
Debug : Loaded module proto_dhcpv4
Debug : listen {
Debug : type = Discover
Debug : type = Request
Debug : type = Inform
Debug : type = Release
Debug : type = Decline
Debug : transport = udp
Debug : Loaded module proto_dhcpv4_udp
Debug : udp {
Debug : ipaddr = 127.0.0.1
Debug : port = 6700
Debug : broadcast = no
Debug : networks {
Debug : }
Debug : max_packet_size = 4096
Debug : max_attributes = 255
Debug : }
Debug : limit {
Debug : cleanup_delay = 5.0
Debug : idle_timeout = 30.0
Debug : nak_lifetime = 30.0
Debug : max_connections = 1024
Debug : max_clients = 256
Debug : max_pending_packets = 256
Debug : priority {
Debug : Discover = normal
Debug : Request = normal
Debug : Decline = normal
Debug : Release = normal
Debug : Inform = normal
Debug : Lease-Query = low
Debug : Bulk-Lease-Query = low
Debug : }
Debug : }
Debug : }
Debug : }
Debug : log {
Debug : colourise = yes
Debug : }
Debug : security {
Debug : }
Debug : sbin_dir = "/usr/sbin"
Debug : logdir = /var/log/radius
Debug : radacctdir = /var/log/radius/radacct
Debug : reverse_lookups = no
Debug : hostname_lookups = yes
Debug : max_request_time = 30
Debug : pidfile = /var/run/radiusd/radiusd.pid
Debug : debug_level = 0
Debug : max_requests = 16384
Debug : resources {
Debug : }
Debug : thread pool {
Debug : num_networks = 1
Info : Dynamically determined thread.workers = 2
Debug : num_workers = 2
Debug : openssl_async_pool_init = 64
Debug : openssl_async_pool_max = 1024
Debug : }
Debug : migrate {
Debug : rewrite_update = false
Debug : forbid_update = false
Debug : }
Debug : }
Info : Switching to configured log settings
Debug : log debug {
Debug : destination = null
Debug : timestamp = yes
Debug : colourise = no
Debug : }
Debug : radiusd: #### Loading Clients ####
Debug : client localhost {
Debug : ipaddr = 127.0.0.1
Debug : secret = <<< secret >>>
Debug : require_message_authenticator = no
Debug : proto = *
Debug : limit {
Debug : max_connections = 16
Debug : lifetime = 0
Debug : idle_timeout = 30
Debug : }
Debug : }
Debug : client localhost_ipv6 {
Debug : ipv6addr = ::1
Debug : secret = <<< secret >>>
Debug : limit {
Debug : max_connections = 16
Debug : lifetime = 0
Debug : idle_timeout = 30s
Debug : }
Debug : }
Debug : client public_network {
Debug : ipv4addr = 0.0.0.0/0
Debug : shortname = allowAll
Debug : limit {
Debug : max_connections = 16
Debug : lifetime = 0
Debug : idle_timeout = 30s
Debug : }
Debug : }
Info : Debugger not attached
Info : systemd watchdog is disabled
Info : pre-suid-down capabilities: =ep
Warn : trigger { ... } subsection not found, triggers will be disabled
Debug : #### Instantiating libraries ####
Debug : #### Bootstrapping process modules ####
Debug : #### Bootstrapping protocol modules ####
Debug : #### Instantiating libraries ####
Debug : #### Bootstrapping static modules ####
Debug : modules {
Debug : static {
Debug : Loaded module rlm_always
Debug : always reject {
Debug : rcode = reject
Debug : }
Debug : always fail {
Debug : rcode = fail
Debug : }
Debug : always ok {
Debug : rcode = ok
Debug : }
Debug : always handled {
Debug : rcode = handled
Debug : }
Debug : always invalid {
Debug : rcode = invalid
Debug : }
Debug : always disallow {
Debug : rcode = disallow
Debug : }
Debug : always notfound {
Debug : rcode = notfound
Debug : }
Debug : always noop {
Debug : rcode = noop
Debug : }
Debug : always updated {
Debug : rcode = updated
Debug : }
Debug : Instantiating python
Debug : python {
Debug : path = /etc/raddb/mods-config/python
Debug : }
Info : rlm_python - Python version: 3.8.17 (default, Oct 17 2023, 14:11:04) [GCC 8.5.0 20210514 (Red Hat 8.5.0-20)]
Warn : rlm_python - Failed loading libpython symbols into global symbol table: Can't resolve symbol Py_IsInitialized
Info : rlm_python - Python path set to "/etc/raddb/mods-config/python:/usr/lib64/python38.zip:/usr/lib64/python3.8:/usr/lib64/python3.8/lib-dynload"
Debug : Loaded module rlm_python
Debug : python {
Debug : mod_instantiate = "example"
Debug : func_instantiate = instantiate
Debug : mod_authorize = "example"
Debug : func_authorize = authorize
Debug : mod_authenticate = "example"
Debug : mod_preacct = "example"
Debug : mod_accounting = "example"
Debug : mod_post_auth = "example"
Debug : func_post_auth = post_auth
Debug : mod_detach = "example"
Debug : func_detach = detach
Debug : }
Debug : } # static
Debug : #### Bootstrapping rlm modules ####
Debug : Bootstrapping rlm_always "disallow"
Debug : Bootstrapping rlm_always "fail"
Debug : Bootstrapping rlm_always "handled"
Debug : Bootstrapping rlm_always "invalid"
Debug : Bootstrapping rlm_always "noop"
Debug : Bootstrapping rlm_always "notfound"
Debug : Bootstrapping rlm_always "ok"
Debug : Bootstrapping rlm_always "reject"
Debug : Bootstrapping rlm_always "updated"
Debug : #### Instantiating listeners ####
Debug : Compiling policies in server dhcp { ... }
Debug : Compiling policies in - recv Discover {...}
Debug : Compiling policies in - recv Request {...}
Debug : Compiling policies in - recv Decline {...}
Debug : Compiling policies in - recv Release {...}
Debug : Compiling policies in - recv Inform {...}
Debug : Compiling policies in - recv Lease-Query {...}
Warn : /etc/raddb/sites-enabled/dhcp[296]: Skipping remaining instructions due to 'return'
Warn : /etc/raddb/sites-enabled/dhcp[308]: Skipping remaining instructions due to 'return'
Warn : dhcpv4 { ... } section is unused
Debug : #### Instantiating process modules ####
Debug : #### Instantiating protocol modules ####
Debug : Instantiating proto_dhcpv4 "dhcp.dhcpv4"
Debug : Instantiating proto_dhcpv4_udp "dhcp.dhcpv4.udp"
Debug : #### Instantiating rlm modules ####
Debug : Instantiating rlm_always "disallow"
Debug : Instantiating rlm_always "fail"
Debug : Instantiating rlm_always "handled"
Debug : Instantiating rlm_always "invalid"
Debug : Instantiating rlm_always "noop"
Debug : Instantiating rlm_always "notfound"
Debug : Instantiating rlm_always "ok"
Debug : Instantiating rlm_python "python"
Error : python - python_function_load - Module 'example' load failed
Error : python - <class 'ImportError'> (/usr/lib64/python3.8/lib-dynload/math.cpython-38-x86_64-linux-gnu.so: undefined symbol: PyExc_ValueError)
Error : python - [0] /etc/raddb/mods-config/python/example.py:9 at <module>()
Error : /etc/raddb/mods-enabled/python[1]: Instantiation failed for module "python"
Fatal Python error: PyInterpreterState_Delete: remaining subinterpreters
Python runtime state: finalizing (tstate=0x162cf00)
CAUGHT SIGNAL: Aborted
No panic action set
I could actually import math module when running python3.8 separately without any error,
# python3.8
Python 3.8.17 (default, Oct 17 2023, 14:11:04)
[GCC 8.5.0 20210514 (Red Hat 8.5.0-20)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import math
>>>
Regards,
Nagamani Chinnapaiyan
2
1
Hi all,
We have some radius server pods with an external load balancer in front of
them. So, when the TLS requests come from the load balancer, there will be
an error sometimes as follows:
ERROR: (2208) eap: ERROR: rlm_eap (EAP): No EAP session matching state
0x64000d7e672c0070
Can I save the session state in Redis and share it with multiple RADIUS
servers?
I noticed that there is a cache TLS session module in FreeRADIUS 4.0.0, but
I am using FreeRADIUS 3.2.0. Thanks.
James
3
3
Hi there
I wrote several modules which share similar logic and the same DB backend. Right now I'm using a source file for this purpose which is included in every module's SOURCES variable (all.mk).
I don't like this approach very much. But are there better alternatives?
I could add the shared code as a library. But it uses Freeradius functions, so I had to build it somewhere in the Freeradius source tree... At this point I am overwhelmed with my little knowledge...
Best regards,
Till
2
4
13 Jun '24
Hi All,
I am trying to anable MS Chap v2 auth from Radius in PHP with FreeRadius standalone without active Directory to test if the integration works.
The challenges keeps getting sent, irrespective if password is right or wrong. Logging is also not happening when doing a MSChapv2 auth. Logging is happening when doing ms-chap-v1, pap , chap-md5.
Tried clear password, MD5 and NT password and MS-CHAP-Use-NTLM-Auth with yes and 1.
authorise
bob Cleartext-Password := "test", MS-CHAP-Use-NTLM-Auth := yes
Reply-Message := "Hello, %{User-Name}"
bob_md5 MD5-Password:= "****", MS-CHAP-Use-NTLM-Auth := yes
Reply-Message := "Hello, %{User-Name}"
bob_ntp NT-Password:= "****", MS-CHAP-Use-NTLM-Auth := yes
Reply-Message := "Hello, %{User-Name}"
FreeRadius Server Debug
2024-06-13 21:07:14 DEBUG: Added Attribute 1 (User-Name), format S, value bob_ntp
2024-06-13 21:07:14 DEBUG: Added Attribute 79 (EAP-Message), format S, value �
bob_ntp
2024-06-13 21:07:14 DEBUG: Added Attribute 80 (Message-Authenticator), format S, value
2024-06-13 21:07:14 DEBUG: Added Attribute 6 (Service-Type), format I, value 1
2024-06-13 21:07:14 DEBUG: Packet type 1 (Access-Request) sent to 172.22.0.10
2024-06-13 21:07:14 DEBUG: Attribute 5 (NAS-Port), length (4), format I, value 20
2024-06-13 21:07:14 DEBUG: Attribute 1 (User-Name), length (7), format S, value bob_ntp
2024-06-13 21:07:14 DEBUG: Attribute 79 (EAP-Message), length (12), format S, value �
bob_ntp
2024-06-13 21:07:14 DEBUG: Attribute 80 (Message-Authenticator), length (16), format S, value
2024-06-13 21:07:14 DEBUG: Attribute 6 (Service-Type), length (4), format I, value 1
2024-06-13 21:07:14 DEBUG: Packet type 11 (Access-Challenge) received
2024-06-13 21:07:14 DEBUG: Attribute 79 (EAP-Message), length 6, format S, value �
2024-06-13 21:07:14 DEBUG: Attribute 80 (Message-Authenticator), length 16, format S, value ��G�a2���~~0�
2024-06-13 21:07:14 DEBUG: Attribute 24 (State), length 16, format S, value �b����[���X.
2024-06-13 21:07:14 DEBUG: Added Attribute 1 (User-Name), format S, value bob_ntp
2024-06-13 21:07:14 DEBUG: Added Attribute 79 (EAP-Message), format S, value �
2024-06-13 21:07:14 DEBUG: Added Attribute 80 (Message-Authenticator), format S, value
2024-06-13 21:07:14 DEBUG: Added Attribute 24 (State), format S, value �b����[���X.
2024-06-13 21:07:14 DEBUG: Packet type 1 (Access-Request) sent to 172.22.0.10
2024-06-13 21:07:14 DEBUG: Attribute 5 (NAS-Port), length (4), format I, value 20
2024-06-13 21:07:14 DEBUG: Attribute 1 (User-Name), length (7), format S, value bob_ntp
2024-06-13 21:07:14 DEBUG: Attribute 79 (EAP-Message), length (6), format S, value �
2024-06-13 21:07:14 DEBUG: Attribute 80 (Message-Authenticator), length (16), format S, value
2024-06-13 21:07:14 DEBUG: Attribute 24 (State), length (16), format S, value �b����[���X.
2024-06-13 21:07:14 DEBUG: Packet type 11 (Access-Challenge) received
2024-06-13 21:07:14 DEBUG: Attribute 18 (Reply-Message), length 14, format T, value Hello, bob_ntp
2024-06-13 21:07:14 DEBUG: Attribute 79 (EAP-Message), length 36, format S, value �$��V�vu�J�-z�a���FreeRADIUS
2024-06-13 21:07:14 DEBUG: Attribute 80 (Message-Authenticator), length 16, format S, value |�;Z鿽�c2*�8�
2024-06-13 21:07:14 DEBUG: Attribute 24 (State), length 16, format S, value �b����[���X.
freeradius -XC
FreeRADIUS Version 3.2.3
Copyright (C) 1999-2022 The FreeRADIUS server project and contributors
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE
You may redistribute copies of FreeRADIUS under the terms of the
GNU General Public License
For more information about these matters, see the file named COPYRIGHT
Starting - reading configuration files ...
including dictionary file /usr/share/freeradius/dictionary
including dictionary file /usr/share/freeradius/dictionary.dhcp
including dictionary file /usr/share/freeradius/dictionary.vqp
including dictionary file /etc/freeradius/dictionary
including configuration file /etc/freeradius/radiusd.conf
including configuration file /etc/freeradius/proxy.conf
including configuration file /etc/freeradius/clients.conf
including files in directory /etc/freeradius/mods-enabled/
including configuration file /etc/freeradius/mods-enabled/mschap
including configuration file /etc/freeradius/mods-enabled/preprocess
including configuration file /etc/freeradius/mods-enabled/soh
including configuration file /etc/freeradius/mods-enabled/unpack
including configuration file /etc/freeradius/mods-enabled/date
including configuration file /etc/freeradius/mods-enabled/passwd
including configuration file /etc/freeradius/mods-enabled/expr
including configuration file /etc/freeradius/mods-enabled/chap
including configuration file /etc/freeradius/mods-enabled/exec
including configuration file /etc/freeradius/mods-enabled/expiration
including configuration file /etc/freeradius/mods-enabled/digest
including configuration file /etc/freeradius/mods-enabled/always
including configuration file /etc/freeradius/mods-enabled/detail
including configuration file /etc/freeradius/mods-enabled/radutmp
including configuration file /etc/freeradius/mods-enabled/unix
including configuration file /etc/freeradius/mods-enabled/linelog
including configuration file /etc/freeradius/mods-enabled/pap
including configuration file /etc/freeradius/mods-enabled/replicate
including configuration file /etc/freeradius/mods-enabled/files
including configuration file /etc/freeradius/mods-enabled/dynamic_clients
including configuration file /etc/freeradius/mods-enabled/detail.log
including configuration file /etc/freeradius/mods-enabled/logintime
including configuration file /etc/freeradius/mods-enabled/ntlm_auth
including configuration file /etc/freeradius/mods-enabled/sradutmp
including configuration file /etc/freeradius/mods-enabled/totp
including configuration file /etc/freeradius/mods-enabled/echo
including configuration file /etc/freeradius/mods-enabled/utf8
including configuration file /etc/freeradius/mods-enabled/attr_filter
including configuration file /etc/freeradius/mods-enabled/eap
including configuration file /etc/freeradius/mods-enabled/realm
including files in directory /etc/freeradius/policy.d/
including configuration file /etc/freeradius/policy.d/operator-name
including configuration file /etc/freeradius/policy.d/canonicalization
including configuration file /etc/freeradius/policy.d/cui
including configuration file /etc/freeradius/policy.d/debug
including configuration file /etc/freeradius/policy.d/control
including configuration file /etc/freeradius/policy.d/filter
including configuration file /etc/freeradius/policy.d/moonshot-targeted-ids
including configuration file /etc/freeradius/policy.d/rfc7542
including configuration file /etc/freeradius/policy.d/dhcp
including configuration file /etc/freeradius/policy.d/abfab-tr
including configuration file /etc/freeradius/policy.d/eap
including configuration file /etc/freeradius/policy.d/accounting
including files in directory /etc/freeradius/sites-enabled/
including configuration file /etc/freeradius/sites-enabled/inner-tunnel
including configuration file /etc/freeradius/sites-enabled/default
main {
security {
user = "freerad"
group = "freerad"
allow_core_dumps = no
}
name = "freeradius"
prefix = "/usr"
localstatedir = "/var"
logdir = "/var/log/freeradius"
run_dir = "/var/run/freeradius"
}
main {
name = "freeradius"
prefix = "/usr"
localstatedir = "/var"
sbindir = "/usr/sbin"
logdir = "/var/log/freeradius"
run_dir = "/var/run/freeradius"
libdir = "/usr/lib/freeradius"
radacctdir = "/var/log/freeradius/radacct"
hostname_lookups = no
max_request_time = 30
cleanup_delay = 5
max_requests = 16384
postauth_client_lost = yes
pidfile = "/var/run/freeradius/freeradius.pid"
checkrad = "/usr/sbin/checkrad"
debug_level = 0
proxy_requests = yes
log {
stripped_names = no
auth = yes
auth_accept = yes
auth_reject = yes
auth_badpass = yes
auth_goodpass = yes
msg_badpass = "Password Rejected"
msg_goodpass = "Password Accepted"
colourise = yes
msg_denied = "You are already logged in - access denied"
}
resources {
}
security {
max_attributes = 200
reject_delay = 1.000000
status_server = yes
}
}
radiusd: #### Loading Realms and Home Servers ####
proxy server {
retry_delay = 5
retry_count = 3
default_fallback = no
dead_time = 120
wake_all_if_all_dead = no
}
home_server localhost {
nonblock = no
ipaddr = 127.0.0.1
port = 1812
type = "auth"
secret = <<< secret >>>
response_window = 20.000000
response_timeouts = 1
max_outstanding = 65536
zombie_period = 40
status_check = "status-server"
ping_interval = 30
check_interval = 30
check_timeout = 4
num_answers_to_alive = 3
revive_interval = 120
limit {
max_connections = 16
max_requests = 0
lifetime = 0
idle_timeout = 0
}
coa {
irt = 2
mrt = 16
mrc = 5
mrd = 30
}
recv_coa {
}
}
home_server_pool my_auth_failover {
type = fail-over
home_server = localhost
}
realm example.com {
auth_pool = my_auth_failover
}
realm LOCAL {
}
radiusd: #### Loading Clients ####
client localhost {
ipaddr = 127.0.0.1
require_message_authenticator = yes
secret = <<< secret >>>
shortname = "localhost"
nas_type = "other"
proto = "*"
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client localhost_ipv6 {
ipv6addr = ::1
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client sitelocal_ipv6 {
ipv6addr = fe80::/16
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client dockernet {
ipaddr = 172.22.0.0/16
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
Debug state unknown (cap_sys_ptrace capability not set)
# Creating Auth-Type = mschap
# Creating Auth-Type = eap
# Creating Auth-Type = PAP
# Creating Auth-Type = CHAP
# Creating Auth-Type = MS-CHAP
# Creating Auth-Type = digest
# Creating Autz-Type = New-TLS-Connection
radiusd: #### Instantiating modules ####
modules {
# Loaded module rlm_mschap
# Loading module "mschap" from file /etc/freeradius/mods-enabled/mschap
mschap {
use_mppe = yes
require_encryption = yes
require_strong = no
with_ntdomain_hack = yes
ntlm_auth = "/path/to/ntlm_auth --request-nt-key --allow-mschapv2 --username=%{%{Stripped-User-Name}:-%{%{User-Name}:-None}} --challenge=%{%{mschap:Challenge}:-00} --nt-response=%{%{mschap:NT-Response}:-00}"
passchange {
}
allow_retry = yes
retry_msg = "Re-enter (or reset) the password"
winbind_retry_with_normalised_username = no
}
# Loaded module rlm_preprocess
# Loading module "preprocess" from file /etc/freeradius/mods-enabled/preprocess
preprocess {
huntgroups = "/etc/freeradius/mods-config/preprocess/huntgroups"
hints = "/etc/freeradius/mods-config/preprocess/hints"
with_ascend_hack = no
ascend_channels_per_line = 23
with_ntdomain_hack = no
with_specialix_jetstream_hack = no
with_cisco_vsa_hack = no
with_alvarion_vsa_hack = no
}
# Loaded module rlm_soh
# Loading module "soh" from file /etc/freeradius/mods-enabled/soh
soh {
dhcp = yes
}
# Loaded module rlm_unpack
# Loading module "unpack" from file /etc/freeradius/mods-enabled/unpack
# Loaded module rlm_date
# Loading module "date" from file /etc/freeradius/mods-enabled/date
date {
format = "%b %e %Y %H:%M:%S %Z"
utc = no
}
# Loading module "wispr2date" from file /etc/freeradius/mods-enabled/date
date wispr2date {
format = "%Y-%m-%dT%H:%M:%S"
utc = no
}
# Loaded module rlm_passwd
# Loading module "etc_passwd" from file /etc/freeradius/mods-enabled/passwd
passwd etc_passwd {
filename = "/etc/passwd"
format = "*User-Name:Crypt-Password:"
delimiter = ":"
ignore_nislike = no
ignore_empty = yes
allow_multiple_keys = no
hash_size = 100
}
# Loaded module rlm_expr
# Loading module "expr" from file /etc/freeradius/mods-enabled/expr
expr {
safe_characters = "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /äéöüàâæçèéêëîïôœùûüaÿÄÉÖÜßÀÂÆÇÈÉÊËÎÏÔŒÙÛÜŸ"
}
# Loaded module rlm_chap
# Loading module "chap" from file /etc/freeradius/mods-enabled/chap
# Loaded module rlm_exec
# Loading module "exec" from file /etc/freeradius/mods-enabled/exec
exec {
wait = no
input_pairs = "request"
shell_escape = yes
timeout = 10
}
# Loaded module rlm_expiration
# Loading module "expiration" from file /etc/freeradius/mods-enabled/expiration
# Loaded module rlm_digest
# Loading module "digest" from file /etc/freeradius/mods-enabled/digest
# Loaded module rlm_always
# Loading module "reject" from file /etc/freeradius/mods-enabled/always
always reject {
rcode = "reject"
simulcount = 0
mpp = no
}
# Loading module "fail" from file /etc/freeradius/mods-enabled/always
always fail {
rcode = "fail"
simulcount = 0
mpp = no
}
# Loading module "ok" from file /etc/freeradius/mods-enabled/always
always ok {
rcode = "ok"
simulcount = 0
mpp = no
}
# Loading module "handled" from file /etc/freeradius/mods-enabled/always
always handled {
rcode = "handled"
simulcount = 0
mpp = no
}
# Loading module "invalid" from file /etc/freeradius/mods-enabled/always
always invalid {
rcode = "invalid"
simulcount = 0
mpp = no
}
# Loading module "userlock" from file /etc/freeradius/mods-enabled/always
always userlock {
rcode = "userlock"
simulcount = 0
mpp = no
}
# Loading module "notfound" from file /etc/freeradius/mods-enabled/always
always notfound {
rcode = "notfound"
simulcount = 0
mpp = no
}
# Loading module "noop" from file /etc/freeradius/mods-enabled/always
always noop {
rcode = "noop"
simulcount = 0
mpp = no
}
# Loading module "updated" from file /etc/freeradius/mods-enabled/always
always updated {
rcode = "updated"
simulcount = 0
mpp = no
}
# Loaded module rlm_detail
# Loading module "detail" from file /etc/freeradius/mods-enabled/detail
detail {
filename = "/var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
escape_filenames = no
log_packet_header = no
}
# Loaded module rlm_radutmp
# Loading module "radutmp" from file /etc/freeradius/mods-enabled/radutmp
radutmp {
filename = "/var/log/freeradius/radutmp"
username = "%{User-Name}"
case_sensitive = yes
check_with_nas = yes
permissions = 384
caller_id = yes
}
# Loaded module rlm_unix
# Loading module "unix" from file /etc/freeradius/mods-enabled/unix
unix {
radwtmp = "/var/log/freeradius/radwtmp"
}
Creating attribute Unix-Group
# Loaded module rlm_linelog
# Loading module "linelog" from file /etc/freeradius/mods-enabled/linelog
linelog {
filename = "/var/log/freeradius/linelog"
escape_filenames = no
syslog_severity = "info"
permissions = 384
format = "This is a log message for %{User-Name}"
reference = "messages.%{%{reply:Packet-Type}:-default}"
}
# Loading module "log_accounting" from file /etc/freeradius/mods-enabled/linelog
linelog log_accounting {
filename = "/var/log/freeradius/linelog-accounting"
escape_filenames = no
syslog_severity = "info"
permissions = 384
format = ""
reference = "Accounting-Request.%{%{Acct-Status-Type}:-unknown}"
}
# Loaded module rlm_pap
# Loading module "pap" from file /etc/freeradius/mods-enabled/pap
pap {
normalise = yes
}
# Loaded module rlm_replicate
# Loading module "replicate" from file /etc/freeradius/mods-enabled/replicate
# Loaded module rlm_files
# Loading module "files" from file /etc/freeradius/mods-enabled/files
files {
filename = "/etc/freeradius/mods-config/files/authorize"
acctusersfile = "/etc/freeradius/mods-config/files/accounting"
preproxy_usersfile = "/etc/freeradius/mods-config/files/pre-proxy"
}
# Loaded module rlm_dynamic_clients
# Loading module "dynamic_clients" from file /etc/freeradius/mods-enabled/dynamic_clients
# Loading module "auth_log" from file /etc/freeradius/mods-enabled/detail.log
detail auth_log {
filename = "/var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
escape_filenames = no
log_packet_header = no
}
# Loading module "reply_log" from file /etc/freeradius/mods-enabled/detail.log
detail reply_log {
filename = "/var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/reply-detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
escape_filenames = no
log_packet_header = no
}
# Loading module "pre_proxy_log" from file /etc/freeradius/mods-enabled/detail.log
detail pre_proxy_log {
filename = "/var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/pre-proxy-detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
escape_filenames = no
log_packet_header = no
}
# Loading module "post_proxy_log" from file /etc/freeradius/mods-enabled/detail.log
detail post_proxy_log {
filename = "/var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/post-proxy-detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
escape_filenames = no
log_packet_header = no
}
# Loaded module rlm_logintime
# Loading module "logintime" from file /etc/freeradius/mods-enabled/logintime
logintime {
minimum_timeout = 60
}
# Loading module "ntlm_auth" from file /etc/freeradius/mods-enabled/ntlm_auth
exec ntlm_auth {
wait = yes
program = "/path/to/ntlm_auth --request-nt-key --domain=MYDOMAIN --username=%{mschap:User-Name} --password=%{User-Password}"
shell_escape = yes
}
# Loading module "sradutmp" from file /etc/freeradius/mods-enabled/sradutmp
radutmp sradutmp {
filename = "/var/log/freeradius/sradutmp"
username = "%{User-Name}"
case_sensitive = yes
check_with_nas = yes
permissions = 420
caller_id = no
}
# Loaded module rlm_totp
# Loading module "totp" from file /etc/freeradius/mods-enabled/totp
# Loading module "echo" from file /etc/freeradius/mods-enabled/echo
exec echo {
wait = yes
program = "/bin/echo %{User-Name}"
input_pairs = "request"
output_pairs = "reply"
shell_escape = yes
}
# Loaded module rlm_utf8
# Loading module "utf8" from file /etc/freeradius/mods-enabled/utf8
# Loaded module rlm_attr_filter
# Loading module "attr_filter.post-proxy" from file /etc/freeradius/mods-enabled/attr_filter
attr_filter attr_filter.post-proxy {
filename = "/etc/freeradius/mods-config/attr_filter/post-proxy"
key = "%{Realm}"
relaxed = no
}
# Loading module "attr_filter.pre-proxy" from file /etc/freeradius/mods-enabled/attr_filter
attr_filter attr_filter.pre-proxy {
filename = "/etc/freeradius/mods-config/attr_filter/pre-proxy"
key = "%{Realm}"
relaxed = no
}
# Loading module "attr_filter.access_reject" from file /etc/freeradius/mods-enabled/attr_filter
attr_filter attr_filter.access_reject {
filename = "/etc/freeradius/mods-config/attr_filter/access_reject"
key = "%{User-Name}"
relaxed = no
}
# Loading module "attr_filter.access_challenge" from file /etc/freeradius/mods-enabled/attr_filter
attr_filter attr_filter.access_challenge {
filename = "/etc/freeradius/mods-config/attr_filter/access_challenge"
key = "%{User-Name}"
relaxed = no
}
# Loading module "attr_filter.accounting_response" from file /etc/freeradius/mods-enabled/attr_filter
attr_filter attr_filter.accounting_response {
filename = "/etc/freeradius/mods-config/attr_filter/accounting_response"
key = "%{User-Name}"
relaxed = no
}
# Loading module "attr_filter.coa" from file /etc/freeradius/mods-enabled/attr_filter
attr_filter attr_filter.coa {
filename = "/etc/freeradius/mods-config/attr_filter/coa"
key = "%{User-Name}"
relaxed = no
}
# Loaded module rlm_eap
# Loading module "eap" from file /etc/freeradius/mods-enabled/eap
eap {
default_eap_type = "peap"
timer_expire = 60
max_eap_type = 52
ignore_unknown_eap_types = no
cisco_accounting_username_bug = no
max_sessions = 16384
}
# Loaded module rlm_realm
# Loading module "IPASS" from file /etc/freeradius/mods-enabled/realm
realm IPASS {
format = "prefix"
delimiter = "/"
ignore_default = no
ignore_null = no
}
# Loading module "suffix" from file /etc/freeradius/mods-enabled/realm
realm suffix {
format = "suffix"
delimiter = "@"
ignore_default = no
ignore_null = no
}
# Loading module "bangpath" from file /etc/freeradius/mods-enabled/realm
realm bangpath {
format = "prefix"
delimiter = "!"
ignore_default = no
ignore_null = no
}
# Loading module "realmpercent" from file /etc/freeradius/mods-enabled/realm
realm realmpercent {
format = "suffix"
delimiter = "%"
ignore_default = no
ignore_null = no
}
# Loading module "ntdomain" from file /etc/freeradius/mods-enabled/realm
realm ntdomain {
format = "prefix"
delimiter = "\\"
ignore_default = no
ignore_null = no
}
instantiate {
}
# Instantiating module "mschap" from file /etc/freeradius/mods-enabled/mschap
rlm_mschap (mschap): authenticating by calling 'ntlm_auth'
# Instantiating module "preprocess" from file /etc/freeradius/mods-enabled/preprocess
reading pairlist file /etc/freeradius/mods-config/preprocess/huntgroups
reading pairlist file /etc/freeradius/mods-config/preprocess/hints
# Instantiating module "etc_passwd" from file /etc/freeradius/mods-enabled/passwd
rlm_passwd: nfields: 3 keyfield 0(User-Name) listable: no
# Instantiating module "expiration" from file /etc/freeradius/mods-enabled/expiration
# Instantiating module "reject" from file /etc/freeradius/mods-enabled/always
# Instantiating module "fail" from file /etc/freeradius/mods-enabled/always
# Instantiating module "ok" from file /etc/freeradius/mods-enabled/always
# Instantiating module "handled" from file /etc/freeradius/mods-enabled/always
# Instantiating module "invalid" from file /etc/freeradius/mods-enabled/always
# Instantiating module "userlock" from file /etc/freeradius/mods-enabled/always
# Instantiating module "notfound" from file /etc/freeradius/mods-enabled/always
# Instantiating module "noop" from file /etc/freeradius/mods-enabled/always
# Instantiating module "updated" from file /etc/freeradius/mods-enabled/always
# Instantiating module "detail" from file /etc/freeradius/mods-enabled/detail
# Instantiating module "linelog" from file /etc/freeradius/mods-enabled/linelog
# Instantiating module "log_accounting" from file /etc/freeradius/mods-enabled/linelog
# Instantiating module "pap" from file /etc/freeradius/mods-enabled/pap
# Instantiating module "files" from file /etc/freeradius/mods-enabled/files
reading pairlist file /etc/freeradius/mods-config/files/authorize
reading pairlist file /etc/freeradius/mods-config/files/accounting
reading pairlist file /etc/freeradius/mods-config/files/pre-proxy
# Instantiating module "auth_log" from file /etc/freeradius/mods-enabled/detail.log
rlm_detail (auth_log): 'User-Password' suppressed, will not appear in detail output
# Instantiating module "reply_log" from file /etc/freeradius/mods-enabled/detail.log
# Instantiating module "pre_proxy_log" from file /etc/freeradius/mods-enabled/detail.log
# Instantiating module "post_proxy_log" from file /etc/freeradius/mods-enabled/detail.log
# Instantiating module "logintime" from file /etc/freeradius/mods-enabled/logintime
# Instantiating module "attr_filter.post-proxy" from file /etc/freeradius/mods-enabled/attr_filter
reading pairlist file /etc/freeradius/mods-config/attr_filter/post-proxy
# Instantiating module "attr_filter.pre-proxy" from file /etc/freeradius/mods-enabled/attr_filter
reading pairlist file /etc/freeradius/mods-config/attr_filter/pre-proxy
# Instantiating module "attr_filter.access_reject" from file /etc/freeradius/mods-enabled/attr_filter
reading pairlist file /etc/freeradius/mods-config/attr_filter/access_reject
# Instantiating module "attr_filter.access_challenge" from file /etc/freeradius/mods-enabled/attr_filter
reading pairlist file /etc/freeradius/mods-config/attr_filter/access_challenge
# Instantiating module "attr_filter.accounting_response" from file /etc/freeradius/mods-enabled/attr_filter
reading pairlist file /etc/freeradius/mods-config/attr_filter/accounting_response
# Instantiating module "attr_filter.coa" from file /etc/freeradius/mods-enabled/attr_filter
reading pairlist file /etc/freeradius/mods-config/attr_filter/coa
# Instantiating module "eap" from file /etc/freeradius/mods-enabled/eap
# Linked to sub-module rlm_eap_md5
# Linked to sub-module rlm_eap_gtc
gtc {
challenge = "Password: "
auth_type = "PAP"
}
# Linked to sub-module rlm_eap_tls
tls {
tls = "tls-common"
}
tls-config tls-common {
verify_depth = 0
ca_path = "/etc/freeradius/certs"
pem_file_type = yes
private_key_file = "/etc/freeradius/certs/server.pem"
certificate_file = "/etc/freeradius/certs/server.pem"
ca_file = "/etc/freeradius/certs/ca.pem"
private_key_password = <<< secret >>>
fragment_size = 1024
include_length = yes
auto_chain = yes
check_crl = no
check_all_crl = no
ca_path_reload_interval = 0
cipher_list = "DEFAULT"
cipher_server_preference = no
reject_unknown_intermediate_ca = no
ecdh_curve = ""
tls_max_version = "1.2"
tls_min_version = "1.2"
cache {
enable = no
lifetime = 24
max_entries = 255
}
verify {
skip_if_ocsp_ok = no
}
ocsp {
enable = no
override_cert_url = yes
url = "http://127.0.0.1/ocsp/"
use_nonce = yes
timeout = 0
softfail = no
}
}
# Linked to sub-module rlm_eap_ttls
ttls {
tls = "tls-common"
default_eap_type = "md5"
copy_request_to_tunnel = yes
use_tunneled_reply = yes
virtual_server = "inner-tunnel"
include_length = yes
require_client_cert = no
}
tls: Using cached TLS configuration from previous invocation
# Linked to sub-module rlm_eap_peap
peap {
tls = "tls-common"
default_eap_type = "mschapv2"
copy_request_to_tunnel = yes
use_tunneled_reply = yes
proxy_tunneled_request_as_eap = yes
virtual_server = "inner-tunnel"
soh = no
require_client_cert = no
}
tls: Using cached TLS configuration from previous invocation
# Linked to sub-module rlm_eap_mschapv2
mschapv2 {
with_ntdomain_hack = no
send_error = no
identity = "FreeRADIUS"
}
# Instantiating module "IPASS" from file /etc/freeradius/mods-enabled/realm
# Instantiating module "suffix" from file /etc/freeradius/mods-enabled/realm
# Instantiating module "bangpath" from file /etc/freeradius/mods-enabled/realm
# Instantiating module "realmpercent" from file /etc/freeradius/mods-enabled/realm
# Instantiating module "ntdomain" from file /etc/freeradius/mods-enabled/realm
} # modules
radiusd: #### Loading Virtual Servers ####
server { # from file /etc/freeradius/radiusd.conf
} # server
server inner-tunnel { # from file /etc/freeradius/sites-enabled/inner-tunnel
# Loading authenticate {...}
Compiling Auth-Type PAP for attr Auth-Type
Compiling Auth-Type CHAP for attr Auth-Type
Compiling Auth-Type MS-CHAP for attr Auth-Type
# Loading authorize {...}
# Loading session {...}
# Loading pre-proxy {...}
# Loading post-proxy {...}
# Loading post-auth {...}
Ignoring "sql" (see raddb/mods-available/README.rst)
# Skipping contents of 'if' as it is always 'false' -- /etc/freeradius/sites-enabled/inner-tunnel:366
Compiling Post-Auth-Type REJECT for attr Post-Auth-Type
} # server inner-tunnel
server default { # from file /etc/freeradius/sites-enabled/default
# Loading authenticate {...}
Compiling Auth-Type PAP for attr Auth-Type
Compiling Auth-Type CHAP for attr Auth-Type
Compiling Auth-Type MS-CHAP for attr Auth-Type
# Loading authorize {...}
Ignoring "ldap" (see raddb/mods-available/README.rst)
Compiling Autz-Type New-TLS-Connection for attr Autz-Type
# Loading preacct {...}
# Loading accounting {...}
# Loading post-proxy {...}
# Loading post-auth {...}
Compiling Post-Auth-Type REJECT for attr Post-Auth-Type
Compiling Post-Auth-Type Challenge for attr Post-Auth-Type
Compiling Post-Auth-Type Client-Lost for attr Post-Auth-Type
} # server default
radiusd: #### Skipping IP addresses and Ports ####
listen {
type = "auth"
ipaddr = 127.0.0.1
port = 18120
}
listen {
type = "auth"
ipaddr = *
port = 1812
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
listen {
type = "acct"
ipaddr = *
port = 0
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
listen {
type = "auth"
ipv6addr = ::
port = 0
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
listen {
type = "acct"
ipv6addr = ::
port = 0
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
Configuration appears to be OK
2
1
We have tons of Red Hat 8 workstations that authenticate using a certificate / dot1x / freeradius and work perfectly. I cannot get the Windows 10 workstation to work, authenticate with dot1x, or receive its proper VLAN. I've searched around for answers and changed a few things noted below.
Added this line in the raddb/mods-config/preprocess/hints file:
DEFAULT Prefix == "host/", Strip-User-Name = Yes
Service-Type = Framed-User
Added this line in raddb/sites-enabled/default.noldap file:
authorize
if ("%{User-Name}" =~ /^host\/(.*)/) {
update request {
Stripped-User-Name = "%{1}"
}
}
This is the workstation in the raddb/users file:
wuk-emewks265a-swfo-san.ssd.goes
Service-Type = Framed-User,
Tunnel-Type = VLAN,
Tunnel-Medium-Type = IEEE-802,
Tunnel-Private-Group-ID = "602"
===NON-WORKING DEBUG OUTPUT (WINDOWS in lab), I stripped other unnecessary packets not relevant to my issue:===
FreeRADIUS Version 3.0.20
Copyright (C) 1999-2019 The FreeRADIUS server project and contributors
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE
You may redistribute copies of FreeRADIUS under the terms of the
GNU General Public License
For more information about these matters, see the file named COPYRIGHT
Starting - reading configuration files ...
including dictionary file /usr/share/freeradius/dictionary
including dictionary file /usr/share/freeradius/dictionary.dhcp
including dictionary file /usr/share/freeradius/dictionary.vqp
including dictionary file /etc/raddb/dictionary
including configuration file /etc/raddb/radiusd.conf
including configuration file /etc/raddb/proxy.conf
including configuration file /etc/raddb/clients.conf
including files in directory /etc/raddb/mods-enabled/
including configuration file /etc/raddb/mods-enabled/always
including configuration file /etc/raddb/mods-enabled/attr_filter
including configuration file /etc/raddb/mods-enabled/cache_eap
including configuration file /etc/raddb/mods-enabled/chap
including configuration file /etc/raddb/mods-enabled/date
including configuration file /etc/raddb/mods-enabled/detail
including configuration file /etc/raddb/mods-enabled/detail.log
including configuration file /etc/raddb/mods-enabled/digest
including configuration file /etc/raddb/mods-enabled/dynamic_clients
including configuration file /etc/raddb/mods-enabled/eap
including configuration file /etc/raddb/mods-enabled/echo
including configuration file /etc/raddb/mods-enabled/exec
including configuration file /etc/raddb/mods-enabled/expiration
including configuration file /etc/raddb/mods-enabled/expr
including configuration file /etc/raddb/mods-enabled/files
including configuration file /etc/raddb/mods-enabled/linelog
including configuration file /etc/raddb/mods-enabled/logintime
including configuration file /etc/raddb/mods-enabled/mschap
including configuration file /etc/raddb/mods-enabled/ntlm_auth
including configuration file /etc/raddb/mods-enabled/pap
including configuration file /etc/raddb/mods-enabled/passwd
including configuration file /etc/raddb/mods-enabled/preprocess
including configuration file /etc/raddb/mods-enabled/radutmp
including configuration file /etc/raddb/mods-enabled/realm
including configuration file /etc/raddb/mods-enabled/replicate
including configuration file /etc/raddb/mods-enabled/soh
including configuration file /etc/raddb/mods-enabled/sradutmp
including configuration file /etc/raddb/mods-enabled/unix
including configuration file /etc/raddb/mods-enabled/unpack
including configuration file /etc/raddb/mods-enabled/utf8
including configuration file /etc/raddb/mods-enabled/ldap
including files in directory /etc/raddb/policy.d/
including configuration file /etc/raddb/policy.d/accounting
including configuration file /etc/raddb/policy.d/canonicalization
including configuration file /etc/raddb/policy.d/control
including configuration file /etc/raddb/policy.d/cui
including configuration file /etc/raddb/policy.d/debug
including configuration file /etc/raddb/policy.d/dhcp
including configuration file /etc/raddb/policy.d/eap
including configuration file /etc/raddb/policy.d/filter
including configuration file /etc/raddb/policy.d/operator-name
including configuration file /etc/raddb/policy.d/rfc7542
including files in directory /etc/raddb/sites-enabled/
including configuration file /etc/raddb/sites-enabled/default
including configuration file /etc/raddb/sites-enabled/inner-tunnel
including configuration file /etc/raddb/sites-enabled/default.noldap
main {
security {
user = "radiusd"
group = "radiusd"
allow_core_dumps = no
}
name = "radiusd"
prefix = "/usr"
localstatedir = "/var"
logdir = "/var/log/radius"
run_dir = "/var/run/radiusd"
}
main {
name = "radiusd"
prefix = "/usr"
localstatedir = "/var"
sbindir = "/usr/sbin"
logdir = "/var/log/radius"
run_dir = "/var/run/radiusd"
libdir = "/usr/lib64/freeradius"
radacctdir = "/var/log/radius/radacct"
hostname_lookups = no
max_request_time = 30
cleanup_delay = 5
max_requests = 16384
pidfile = "/var/run/radiusd/radiusd.pid"
checkrad = "/usr/sbin/checkrad"
debug_level = 0
proxy_requests = yes
log {
stripped_names = no
auth = yes
auth_badpass = no
auth_goodpass = no
colourise = yes
msg_denied = "You are already logged in - access denied"
}
resources {
}
security {
max_attributes = 200
reject_delay = 1.000000
status_server = yes
}
}
radiusd: #### Loading Realms and Home Servers ####
proxy server {
retry_delay = 5
retry_count = 3
default_fallback = no
dead_time = 120
wake_all_if_all_dead = no
}
home_server localhost {
ipaddr = 127.0.0.1
port = 1812
type = "auth"
secret = <<< secret >>>
response_window = 20.000000
response_timeouts = 1
max_outstanding = 65536
zombie_period = 40
status_check = "status-server"
ping_interval = 30
check_interval = 30
check_timeout = 4
num_answers_to_alive = 3
revive_interval = 120
limit {
max_connections = 16
max_requests = 0
lifetime = 0
idle_timeout = 0
}
coa {
irt = 2
mrt = 16
mrc = 5
mrd = 30
}
}
realm ad.nsd.goes {
}
realm ad.ssd.goes {
}
home_server_pool my_auth_failover {
type = fail-over
home_server = localhost
}
realm example.com {
auth_pool = my_auth_failover
}
realm LOCAL {
}
radiusd: #### Loading Clients ####
client NS-MGMTnet {
ipaddr = 10.11.176.0/20
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client WS-MGMTnet {
ipaddr = 10.12.176.0/20
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client RS-MGMTnet {
ipaddr = 10.13.176.0/20
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client NUD-ISLOAD001A_POOL {
ipaddr = 10.11.244.112/32
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client NUD-ISLOAD001B_POOL {
ipaddr = 10.11.244.113/32
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client NUO-ISLOAD001A_POOL {
ipaddr = 10.11.212.112/32
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client NUO-ISLOAD001B_POOL {
ipaddr = 10.11.212.113/32
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client NUT-ISLOAD001A_POOL {
ipaddr = 10.11.228.112/32
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client NUT-ISLOAD001B_POOL {
ipaddr = 10.11.228.113/32
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client NU-GOES-SOZ-OE-LB-A {
ipaddr = 10.11.208.24/29
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client NU-GOES-SOZ-OE-LB-B {
ipaddr = 10.11.208.32/29
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client TEMP-NUD-ISLOAD001A_POOL {
ipaddr = 10.251.244.112/32
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client TEMP-NUD-ISLOAD001B_POOL {
ipaddr = 10.251.244.113/32
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client TEMP-NUO-ISLOAD001A_POOL {
ipaddr = 10.251.212.112/32
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client TEMP-NUO-ISLOAD001B_POOL {
ipaddr = 10.251.212.113/32
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client NTEMP-UT-ISLOAD001A_POOL {
ipaddr = 10.251.228.112/32
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client WUD-ISLOAD001A_POOL {
ipaddr = 10.12.244.112/32
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client WUD-ISLOAD001B_POOL {
ipaddr = 10.12.244.113/32
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client WUO-ISLOAD001A_POOL {
ipaddr = 10.12.212.112/32
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client WUO-ISLOAD001B_POOL {
ipaddr = 10.12.212.113/32
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client WUT-ISLOAD001A_POOL {
ipaddr = 10.12.228.112/32
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client WUT-ISLOAD001B_POOL {
ipaddr = 10.12.228.113/32
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client WU-GOES-SOZ-OE-LB-A {
ipaddr = 10.12.208.24/29
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client WU-GOES-SOZ-OE-LB-B {
ipaddr = 10.12.208.32/29
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client TEMP-WUD-ISLOAD001A_POOL {
ipaddr = 10.252.244.112/32
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client TEMP-WUD-ISLOAD001B_POOL {
ipaddr = 10.252.244.113/32
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client TEMP-WUO-ISLOAD001A_POOL {
ipaddr = 10.252.212.112/32
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client TEMP-WUO-ISLOAD001B_POOL {
ipaddr = 10.252.212.113/32
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client TEMP-WUT-ISLOAD001A_POOL {
ipaddr = 10.252.228.112/32
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client TEMP-WUT-ISLOAD001B_POOL {
ipaddr = 10.252.228.113/32
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client RUD-ISLOAD001A_POOL {
ipaddr = 10.13.244.112/32
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client RUD-ISLOAD001B_POOL {
ipaddr = 10.13.244.113/32
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client RUO-ISLOAD001A_POOL {
ipaddr = 10.13.212.112/32
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client RUO-ISLOAD001B_POOL {
ipaddr = 10.13.212.113/32
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client RUT-ISLOAD001A_POOL {
ipaddr = 10.13.228.112/32
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client RUT-ISLOAD001B_POOL {
ipaddr = 10.13.228.113/32
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client RU-GOES-SOZ-OE-LB-A {
ipaddr = 10.13.208.24/29
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client RU-GOES-SOZ-OE-LB-B {
ipaddr = 10.13.208.32/29
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client TEMP-RUD-ISLOAD001A_POOL {
ipaddr = 10.253.244.112/32
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client TEMP-RUD-ISLOAD001B_POOL {
ipaddr = 10.253.244.113/32
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client TEMP-RUO-ISLOAD001A_POOL {
ipaddr = 10.253.212.112/32
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client TEMP-RUO-ISLOAD001B_POOL {
ipaddr = 10.253.212.113/32
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client TEMP-RUT-ISLOAD001A_POOL {
ipaddr = 10.253.228.112/32
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client TEMP-RUT-ISLOAD001B_POOL {
ipaddr = 10.253.228.113/32
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client NUO-ISLOAD001_WSD {
ipaddr = 10.11.212.120/32
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client NUO-ISLOAD001_WSO {
ipaddr = 10.11.212.121/32
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client NUO-ISLOAD001_WST {
ipaddr = 10.11.212.122/32
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client TEMP-NUO-ISLOAD001_WSD {
ipaddr = 10.251.212.120/32
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client TEMP-NUO-ISLOAD001_WSO {
ipaddr = 10.251.212.121/32
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client TEMP-NUO-ISLOAD001_WST {
ipaddr = 10.251.212.122/32
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client WUO-ISLOAD001_WSD {
ipaddr = 10.12.212.120/32
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client WUO-ISLOAD001_WSO {
ipaddr = 10.12.212.121/32
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client WUO-ISLOAD001_WST {
ipaddr = 10.12.212.122/32
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client WUT-ISLOAD001_WST {
ipaddr = 10.12.228.122/32
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client TEMP-WUO-ISLOAD001_WSD {
ipaddr = 10.252.212.120/32
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client TEMP-WUO-ISLOAD001_WSO {
ipaddr = 10.252.212.121/32
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client TEMP-WUO-ISLOAD001_WST {
ipaddr = 10.252.212.122/32
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client TEMP-WUT-ISLOAD001_WST {
ipaddr = 10.252.228.122/32
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client RUO-ISLOAD001_WSD {
ipaddr = 10.13.212.120/32
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client RUO-ISLOAD001_WSO {
ipaddr = 10.13.212.121/32
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client RUO-ISLOAD001_WST {
ipaddr = 10.13.212.122/32
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client RUT-ISLOAD001_WST {
ipaddr = 10.13.228.122/32
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client RUO-ISLOAD001_WSD {
ipaddr = 10.253.212.120/32
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client RUO-ISLOAD001_WSO {
ipaddr = 10.253.212.121/32
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client RUO-ISLOAD001_WST {
ipaddr = 10.253.212.122/32
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client RUT-ISLOAD001_WST {
ipaddr = 10.253.228.122/32
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
Debugger not attached
# Creating Auth-Type = mschap
# Creating Auth-Type = eap
# Creating Auth-Type = PAP
# Creating Auth-Type = CHAP
# Creating Auth-Type = MS-CHAP
# Creating Auth-Type = LDAP
radiusd: #### Instantiating modules ####
modules {
# Loaded module rlm_always
# Loading module "reject" from file /etc/raddb/mods-enabled/always
always reject {
rcode = "reject"
simulcount = 0
mpp = no
}
# Loading module "fail" from file /etc/raddb/mods-enabled/always
always fail {
rcode = "fail"
simulcount = 0
mpp = no
}
# Loading module "ok" from file /etc/raddb/mods-enabled/always
always ok {
rcode = "ok"
simulcount = 0
mpp = no
}
# Loading module "handled" from file /etc/raddb/mods-enabled/always
always handled {
rcode = "handled"
simulcount = 0
mpp = no
}
# Loading module "invalid" from file /etc/raddb/mods-enabled/always
always invalid {
rcode = "invalid"
simulcount = 0
mpp = no
}
# Loading module "userlock" from file /etc/raddb/mods-enabled/always
always userlock {
rcode = "userlock"
simulcount = 0
mpp = no
}
# Loading module "notfound" from file /etc/raddb/mods-enabled/always
always notfound {
rcode = "notfound"
simulcount = 0
mpp = no
}
# Loading module "noop" from file /etc/raddb/mods-enabled/always
always noop {
rcode = "noop"
simulcount = 0
mpp = no
}
# Loading module "updated" from file /etc/raddb/mods-enabled/always
always updated {
rcode = "updated"
simulcount = 0
mpp = no
}
# Loaded module rlm_attr_filter
# Loading module "attr_filter.post-proxy" from file /etc/raddb/mods-enabled/attr_filter
attr_filter attr_filter.post-proxy {
filename = "/etc/raddb/mods-config/attr_filter/post-proxy"
key = "%{Realm}"
relaxed = no
}
# Loading module "attr_filter.pre-proxy" from file /etc/raddb/mods-enabled/attr_filter
attr_filter attr_filter.pre-proxy {
filename = "/etc/raddb/mods-config/attr_filter/pre-proxy"
key = "%{Realm}"
relaxed = no
}
# Loading module "attr_filter.access_reject" from file /etc/raddb/mods-enabled/attr_filter
attr_filter attr_filter.access_reject {
filename = "/etc/raddb/mods-config/attr_filter/access_reject"
key = "%{User-Name}"
relaxed = no
}
# Loading module "attr_filter.access_challenge" from file /etc/raddb/mods-enabled/attr_filter
attr_filter attr_filter.access_challenge {
filename = "/etc/raddb/mods-config/attr_filter/access_challenge"
key = "%{User-Name}"
relaxed = no
}
# Loading module "attr_filter.accounting_response" from file /etc/raddb/mods-enabled/attr_filter
attr_filter attr_filter.accounting_response {
filename = "/etc/raddb/mods-config/attr_filter/accounting_response"
key = "%{User-Name}"
relaxed = no
}
# Loaded module rlm_cache
# Loading module "cache_eap" from file /etc/raddb/mods-enabled/cache_eap
cache cache_eap {
driver = "rlm_cache_rbtree"
key = "%{%{control:State}:-%{%{reply:State}:-%{State}}}"
ttl = 15
max_entries = 0
epoch = 0
add_stats = no
}
# Loaded module rlm_chap
# Loading module "chap" from file /etc/raddb/mods-enabled/chap
# Loaded module rlm_date
# Loading module "date" from file /etc/raddb/mods-enabled/date
date {
format = "%b %e %Y %H:%M:%S %Z"
utc = no
}
# Loading module "wispr2date" from file /etc/raddb/mods-enabled/date
date wispr2date {
format = "%Y-%m-%dT%H:%M:%S"
utc = no
}
# Loaded module rlm_detail
# Loading module "detail" from file /etc/raddb/mods-enabled/detail
detail {
filename = "/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
escape_filenames = no
log_packet_header = no
}
# Loading module "auth_log" from file /etc/raddb/mods-enabled/detail.log
detail auth_log {
filename = "/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
escape_filenames = no
log_packet_header = no
}
# Loading module "reply_log" from file /etc/raddb/mods-enabled/detail.log
detail reply_log {
filename = "/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/reply-detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
escape_filenames = no
log_packet_header = no
}
# Loading module "pre_proxy_log" from file /etc/raddb/mods-enabled/detail.log
detail pre_proxy_log {
filename = "/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/pre-proxy-detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
escape_filenames = no
log_packet_header = no
}
# Loading module "post_proxy_log" from file /etc/raddb/mods-enabled/detail.log
detail post_proxy_log {
filename = "/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/post-proxy-detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
escape_filenames = no
log_packet_header = no
}
# Loaded module rlm_digest
# Loading module "digest" from file /etc/raddb/mods-enabled/digest
# Loaded module rlm_dynamic_clients
# Loading module "dynamic_clients" from file /etc/raddb/mods-enabled/dynamic_clients
# Loaded module rlm_eap
# Loading module "eap" from file /etc/raddb/mods-enabled/eap
eap {
default_eap_type = "md5"
timer_expire = 60
ignore_unknown_eap_types = no
cisco_accounting_username_bug = no
max_sessions = 16384
}
# Loaded module rlm_exec
# Loading module "echo" from file /etc/raddb/mods-enabled/echo
exec echo {
wait = yes
program = "/bin/echo %{User-Name}"
input_pairs = "request"
output_pairs = "reply"
shell_escape = yes
}
# Loading module "exec" from file /etc/raddb/mods-enabled/exec
exec {
wait = no
input_pairs = "request"
shell_escape = yes
timeout = 10
}
# Loaded module rlm_expiration
# Loading module "expiration" from file /etc/raddb/mods-enabled/expiration
# Loaded module rlm_expr
# Loading module "expr" from file /etc/raddb/mods-enabled/expr
expr {
safe_characters = "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /äéöüàâæçèéêëîïôœùûüaÿÄÉÖÜßÀÂÆÇÈÉÊËÎÏÔŒÙÛÜŸ"
}
# Loaded module rlm_files
# Loading module "files" from file /etc/raddb/mods-enabled/files
files {
filename = "/etc/raddb/mods-config/files/authorize"
acctusersfile = "/etc/raddb/mods-config/files/accounting"
preproxy_usersfile = "/etc/raddb/mods-config/files/pre-proxy"
}
# Loading module "authorized_macs" from file /etc/raddb/mods-enabled/files
files authorized_macs {
usersfile = "/etc/raddb/authorized_macs"
key = "%{Calling-Station-ID}"
}
# Loaded module rlm_linelog
# Loading module "linelog" from file /etc/raddb/mods-enabled/linelog
linelog {
filename = "/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 /etc/raddb/mods-enabled/linelog
linelog log_accounting {
filename = "/var/log/radius/linelog-accounting"
escape_filenames = no
syslog_severity = "info"
permissions = 384
format = ""
reference = "Accounting-Request.%{%{Acct-Status-Type}:-unknown}"
}
# Loaded module rlm_logintime
# Loading module "logintime" from file /etc/raddb/mods-enabled/logintime
logintime {
minimum_timeout = 60
}
# Loaded module rlm_mschap
# Loading module "mschap" from file /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
}
# Loading module "ntlm_auth" from file /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_pap
# Loading module "pap" from file /etc/raddb/mods-enabled/pap
pap {
normalise = yes
}
# Loaded module rlm_passwd
# Loading module "etc_passwd" from file /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_preprocess
# Loading module "preprocess" from file /etc/raddb/mods-enabled/preprocess
preprocess {
huntgroups = "/etc/raddb/mods-config/preprocess/huntgroups"
hints = "/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_radutmp
# Loading module "radutmp" from file /etc/raddb/mods-enabled/radutmp
radutmp {
filename = "/var/log/radius/radutmp"
username = "%{User-Name}"
case_sensitive = yes
check_with_nas = yes
permissions = 384
caller_id = yes
}
# Loaded module rlm_realm
# Loading module "IPASS" from file /etc/raddb/mods-enabled/realm
realm IPASS {
format = "prefix"
delimiter = "/"
ignore_default = no
ignore_null = no
}
# Loading module "suffix" from file /etc/raddb/mods-enabled/realm
realm suffix {
format = "suffix"
delimiter = "@"
ignore_default = no
ignore_null = no
}
# Loading module "bangpath" from file /etc/raddb/mods-enabled/realm
realm bangpath {
format = "prefix"
delimiter = "!"
ignore_default = no
ignore_null = no
}
# Loading module "realmpercent" from file /etc/raddb/mods-enabled/realm
realm realmpercent {
format = "suffix"
delimiter = "%"
ignore_default = no
ignore_null = no
}
# Loading module "ntdomain" from file /etc/raddb/mods-enabled/realm
realm ntdomain {
format = "prefix"
delimiter = "\\"
ignore_default = no
ignore_null = no
}
# Loaded module rlm_replicate
# Loading module "replicate" from file /etc/raddb/mods-enabled/replicate
# Loaded module rlm_soh
# Loading module "soh" from file /etc/raddb/mods-enabled/soh
soh {
dhcp = yes
}
# Loading module "sradutmp" from file /etc/raddb/mods-enabled/sradutmp
radutmp sradutmp {
filename = "/var/log/radius/sradutmp"
username = "%{User-Name}"
case_sensitive = yes
check_with_nas = yes
permissions = 420
caller_id = no
}
# Loaded module rlm_unix
# Loading module "unix" from file /etc/raddb/mods-enabled/unix
unix {
radwtmp = "/var/log/radius/radwtmp"
}
Creating attribute Unix-Group
# Loaded module rlm_unpack
# Loading module "unpack" from file /etc/raddb/mods-enabled/unpack
# Loaded module rlm_utf8
# Loading module "utf8" from file /etc/raddb/mods-enabled/utf8
# Loaded module rlm_ldap
# Loading module "ldap" from file /etc/raddb/mods-enabled/ldap
ldap {
server = "ldaps://ad.goes"
identity = "cn=radiusAuth,ou=goes bind,dc=ad,dc=ssd,dc=goes"
password = <<< secret >>>
sasl {
}
user_dn = "LDAP-UserDn"
user {
scope = "sub"
access_positive = yes
sasl {
}
}
group {
filter = "(objectClass=posixGroup)"
scope = "sub"
name_attribute = "cn"
membership_attribute = "memberOf"
membership_filter = "(|(member=%{control:Ldap-UserDn})(isMemberof=cn=nw_admin,ou=goes groups,dc=ad,dc=ssd,dc=goes))"
cacheable_name = no
cacheable_dn = no
allow_dangling_group_ref = no
}
client {
filter = "(objectClass=radiusClient)"
scope = "sub"
base_dn = "dc=ad,dc=ssd,dc=goes"
}
profile {
}
options {
ldap_debug = 0
chase_referrals = no
rebind = yes
net_timeout = 1
res_timeout = 10
srv_timelimit = 3
idle = 60
probes = 3
interval = 3
}
tls {
ca_path = "/etc/pki/tls/certs"
start_tls = no
require_cert = "allow"
}
}
Creating attribute LDAP-Group
instantiate {
}
# Instantiating module "reject" from file /etc/raddb/mods-enabled/always
# Instantiating module "fail" from file /etc/raddb/mods-enabled/always
# Instantiating module "ok" from file /etc/raddb/mods-enabled/always
# Instantiating module "handled" from file /etc/raddb/mods-enabled/always
# Instantiating module "invalid" from file /etc/raddb/mods-enabled/always
# Instantiating module "userlock" from file /etc/raddb/mods-enabled/always
# Instantiating module "notfound" from file /etc/raddb/mods-enabled/always
# Instantiating module "noop" from file /etc/raddb/mods-enabled/always
# Instantiating module "updated" from file /etc/raddb/mods-enabled/always
# Instantiating module "attr_filter.post-proxy" from file /etc/raddb/mods-enabled/attr_filter
reading pairlist file /etc/raddb/mods-config/attr_filter/post-proxy
# Instantiating module "attr_filter.pre-proxy" from file /etc/raddb/mods-enabled/attr_filter
reading pairlist file /etc/raddb/mods-config/attr_filter/pre-proxy
# Instantiating module "attr_filter.access_reject" from file /etc/raddb/mods-enabled/attr_filter
reading pairlist file /etc/raddb/mods-config/attr_filter/access_reject
# Instantiating module "attr_filter.access_challenge" from file /etc/raddb/mods-enabled/attr_filter
reading pairlist file /etc/raddb/mods-config/attr_filter/access_challenge
# Instantiating module "attr_filter.accounting_response" from file /etc/raddb/mods-enabled/attr_filter
reading pairlist file /etc/raddb/mods-config/attr_filter/accounting_response
# Instantiating module "cache_eap" from file /etc/raddb/mods-enabled/cache_eap
rlm_cache (cache_eap): Driver rlm_cache_rbtree (module rlm_cache_rbtree) loaded and linked
# Instantiating module "detail" from file /etc/raddb/mods-enabled/detail
# Instantiating module "auth_log" from file /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 /etc/raddb/mods-enabled/detail.log
# Instantiating module "pre_proxy_log" from file /etc/raddb/mods-enabled/detail.log
# Instantiating module "post_proxy_log" from file /etc/raddb/mods-enabled/detail.log
# Instantiating module "eap" from file /etc/raddb/mods-enabled/eap
# Linked to sub-module rlm_eap_md5
# Linked to sub-module rlm_eap_leap
# Linked to sub-module rlm_eap_gtc
gtc {
challenge = "Password: "
auth_type = "PAP"
}
# Linked to sub-module rlm_eap_tls
tls {
tls = "tls-common"
}
tls-config tls-common {
verify_depth = 0
ca_path = "/etc/pki/tls/certs"
pem_file_type = yes
private_key_file = "/etc/pki/tls/private/network-server.key"
certificate_file = "/etc/pki/tls/certs/network-server.crt"
ca_file = "/etc/pki/tls/certs/cosi-ca-bundle.crt"
dh_file = "/etc/raddb/certs/dh"
fragment_size = 768
include_length = yes
auto_chain = yes
check_crl = no
check_all_crl = no
cipher_list = "PROFILE=SYSTEM"
cipher_server_preference = no
ecdh_curve = "prime256v1"
disable_tlsv1 = yes
disable_tlsv1_1 = yes
tls_max_version = "1.2"
tls_min_version = "1.2"
cache {
enable = no
lifetime = 24
max_entries = 255
}
verify {
skip_if_ocsp_ok = no
}
ocsp {
enable = no
override_cert_url = no
url = "http://127.0.0.1/ocsp/"
use_nonce = yes
timeout = 0
softfail = yes
}
}
Please use tls_min_version and tls_max_version instead of disable_tlsv1
Please use tls_min_version and tls_max_version instead of disable_tlsv1_2
# Linked to sub-module rlm_eap_ttls
ttls {
tls = "tls-common"
default_eap_type = "md5"
copy_request_to_tunnel = no
use_tunneled_reply = no
virtual_server = "inner-tunnel"
include_length = yes
require_client_cert = no
}
tls: Using cached TLS configuration from previous invocation
# Linked to sub-module rlm_eap_peap
peap {
tls = "tls-common"
default_eap_type = "mschapv2"
copy_request_to_tunnel = no
use_tunneled_reply = no
proxy_tunneled_request_as_eap = yes
virtual_server = "inner-tunnel"
soh = no
require_client_cert = no
}
tls: Using cached TLS configuration from previous invocation
# Linked to sub-module rlm_eap_mschapv2
mschapv2 {
with_ntdomain_hack = no
send_error = no
}
# Instantiating module "expiration" from file /etc/raddb/mods-enabled/expiration
# Instantiating module "files" from file /etc/raddb/mods-enabled/files
reading pairlist file /etc/raddb/mods-config/files/authorize
reading pairlist file /etc/raddb/mods-config/files/accounting
reading pairlist file /etc/raddb/mods-config/files/pre-proxy
# Instantiating module "authorized_macs" from file /etc/raddb/mods-enabled/files
reading pairlist file /etc/raddb/authorized_macs
# Instantiating module "linelog" from file /etc/raddb/mods-enabled/linelog
# Instantiating module "log_accounting" from file /etc/raddb/mods-enabled/linelog
# Instantiating module "logintime" from file /etc/raddb/mods-enabled/logintime
# Instantiating module "mschap" from file /etc/raddb/mods-enabled/mschap
rlm_mschap (mschap): using internal authentication
# Instantiating module "pap" from file /etc/raddb/mods-enabled/pap
# Instantiating module "etc_passwd" from file /etc/raddb/mods-enabled/passwd
rlm_passwd: nfields: 3 keyfield 0(User-Name) listable: no
# Instantiating module "preprocess" from file /etc/raddb/mods-enabled/preprocess
reading pairlist file /etc/raddb/mods-config/preprocess/huntgroups
reading pairlist file /etc/raddb/mods-config/preprocess/hints
# Instantiating module "IPASS" from file /etc/raddb/mods-enabled/realm
# Instantiating module "suffix" from file /etc/raddb/mods-enabled/realm
# Instantiating module "bangpath" from file /etc/raddb/mods-enabled/realm
# Instantiating module "realmpercent" from file /etc/raddb/mods-enabled/realm
# Instantiating module "ntdomain" from file /etc/raddb/mods-enabled/realm
# Instantiating module "ldap" from file /etc/raddb/mods-enabled/ldap
rlm_ldap: libldap vendor: OpenLDAP, version: 20446
accounting {
reference = "%{tolower:type.%{Acct-Status-Type}}"
}
post-auth {
reference = "."
}
rlm_ldap (ldap): Initialising connection pool
pool {
start = 5
min = 3
max = 32
spare = 10
uses = 0
lifetime = 0
cleanup_interval = 30
idle_timeout = 60
retry_delay = 30
spread = no
}
rlm_ldap (ldap): Opening additional connection (0), 1 of 32 pending slots used
rlm_ldap (ldap): Connecting to ldaps://ad.goes:636
rlm_ldap (ldap): Waiting for bind result...
rlm_ldap (ldap): Bind successful
rlm_ldap (ldap): Opening additional connection (1), 1 of 31 pending slots used
rlm_ldap (ldap): Connecting to ldaps://ad.goes:636
rlm_ldap (ldap): Waiting for bind result...
rlm_ldap (ldap): Bind successful
rlm_ldap (ldap): Opening additional connection (2), 1 of 30 pending slots used
rlm_ldap (ldap): Connecting to ldaps://ad.goes:636
rlm_ldap (ldap): Waiting for bind result...
rlm_ldap (ldap): Bind successful
rlm_ldap (ldap): Opening additional connection (3), 1 of 29 pending slots used
rlm_ldap (ldap): Connecting to ldaps://ad.goes:636
rlm_ldap (ldap): Waiting for bind result...
rlm_ldap (ldap): Bind successful
rlm_ldap (ldap): Opening additional connection (4), 1 of 28 pending slots used
rlm_ldap (ldap): Connecting to ldaps://ad.goes:636
rlm_ldap (ldap): Waiting for bind result...
rlm_ldap (ldap): Bind successful
} # modules
radiusd: #### Loading Virtual Servers ####
server { # from file /etc/raddb/radiusd.conf
} # server
server default { # from file /etc/raddb/sites-enabled/default
# Loading authenticate {...}
# Loading authorize {...}
# Loading preacct {...}
# Loading accounting {...}
# Loading post-proxy {...}
# Loading post-auth {...}
} # server default
server inner-tunnel { # from file /etc/raddb/sites-enabled/inner-tunnel
# Loading authenticate {...}
# Loading authorize {...}
# Loading session {...}
# Loading post-proxy {...}
# Loading post-auth {...}
Ignoring "sql" (see raddb/mods-available/README.rst)
# Skipping contents of 'if' as it is always 'false' -- /etc/raddb/sites-enabled/inner-tunnel:336
} # server inner-tunnel
server no_ldap { # from file /etc/raddb/sites-enabled/default.noldap
# Loading authenticate {...}
# Loading authorize {...}
# Loading preacct {...}
# Loading accounting {...}
# Loading post-proxy {...}
# Loading post-auth {...}
} # server no_ldap
radiusd: #### Opening IP addresses and Ports ####
listen {
type = "auth"
ipaddr = *
port = 1812
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
listen {
type = "acct"
ipaddr = *
port = 0
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
listen {
type = "auth"
ipaddr = 127.0.0.1
port = 18120
}
listen {
type = "auth"
ipaddr = *
port = 1645
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
Listening on auth address * port 1812 bound to server default
Listening on acct address * port 1813 bound to server default
Listening on auth address 127.0.0.1 port 18120 bound to server inner-tunnel
Listening on auth address * port 1645 bound to server no_ldap
Listening on proxy address * port 50456
(17) Received Access-Request Id 167 from 10.12.228.122:1645 to 10.12.228.42:1645 length 314
(17) User-Name = "host/WUK-EMEWKS265a-swfo-san.ssd.goes"
(17) Service-Type = Framed-User
(17) Cisco-AVPair = "service-type=Framed"
(17) Framed-MTU = 1500
(17) Called-Station-Id = "50-57-A8-8B-B0-8D"
(17) Calling-Station-Id = "6C-2B-59-C9-51-57"
(17) EAP-Message = 0x0201002a01686f73742f57554b2d454d45574b53323635612d7377666f2d73616e2e7373642e676f6573
(17) Message-Authenticator = 0x21713ca859da1bdbfc7d29ea0ab4edc5
(17) Cisco-AVPair = "audit-session-id=0A0CB7C5000020C6B11F66B6"
(17) Cisco-AVPair = "method=dot1x"
(17) Framed-IP-Address = 10.12.173.9
(17) NAS-IP-Address = 10.12.183.197
(17) NAS-Port-Id = "GigabitEthernet0/13"
(17) NAS-Port-Type = Ethernet
(17) NAS-Port = 50113
(17) # Executing section authorize from file /etc/raddb/sites-enabled/default.noldap
(17) authorize {
(17) preprocess: hints: Matched DEFAULT at 45
(17) [preprocess] = ok
(17) auth_log: EXPAND /var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d
(17) auth_log: --> /var/log/radius/radacct/10.12.228.122/auth-detail-20240612
(17) auth_log: /var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d expands to /var/log/radius/radacct/10.12.228.122/auth-detail-20240612
(17) auth_log: EXPAND %t
(17) auth_log: --> Wed Jun 12 16:39:30 2024
(17) [auth_log] = ok
(17) [chap] = noop
(17) [mschap] = noop
(17) suffix: Checking for suffix after "@"
(17) suffix: No '@' in User-Name = "WUK-EMEWKS265a-swfo-san.ssd.goes", looking up realm NULL
(17) suffix: No such realm "NULL"
(17) [suffix] = noop
(17) if (!EAP-Message) {
(17) if (!EAP-Message) -> FALSE
(17) else {
(17) eap: Peer sent EAP Response (code 2) ID 1 length 42
(17) eap: EAP-Identity reply, returning 'ok' so we can short-circuit the rest of authorize
(17) [eap] = ok
(17) } # else = ok
(17) [files] = noop
(17) [expiration] = noop
(17) [logintime] = noop
Not doing PAP as Auth-Type is already set.
(17) [pap] = noop
(17) if ("%{User-Name}" =~ /^host\/(.*)/) {
(17) EXPAND %{User-Name}
(17) --> host/WUK-EMEWKS265a-swfo-san.ssd.goes
(17) if ("%{User-Name}" =~ /^host\/(.*)/) -> TRUE
(17) if ("%{User-Name}" =~ /^host\/(.*)/) {
(17) update request {
(17) EXPAND %{1}
(17) --> WUK-EMEWKS265a-swfo-san.ssd.goes
(17) Stripped-User-Name = WUK-EMEWKS265a-swfo-san.ssd.goes
(17) } # update request = noop
(17) } # if ("%{User-Name}" =~ /^host\/(.*)/) = noop
(17) } # authorize = ok
(17) Found Auth-Type = eap
(17) # Executing group from file /etc/raddb/sites-enabled/default.noldap
(17) authenticate {
(17) eap: Peer sent packet with method EAP Identity (1)
(17) eap: Calling submodule eap_md5 to process data
(17) eap_md5: Issuing MD5 Challenge
(17) eap: Sending EAP Request (code 1) ID 2 length 22
(17) eap: EAP session adding &reply:State = 0x3f4b3f973f493b51
(17) [eap] = handled
(17) } # authenticate = handled
(17) Using Post-Auth-Type Challenge
(17) # Executing group from file /etc/raddb/sites-enabled/default.noldap
(17) Challenge { ... } # empty sub-section is ignored
(17) Sent Access-Challenge Id 167 from 10.12.228.42:1645 to 10.12.228.122:1645 length 0
(17) EAP-Message = 0x0102001604101a09efd10b1ea9d5b163b799c5d84c7c
(17) Message-Authenticator = 0x00000000000000000000000000000000
(17) State = 0x3f4b3f973f493b51e75e0a8023831063
(17) Finished request
===WORKING DEBUG OUTPUT (RHEL8 in production), I stripped other unnecessary packets not relevant to my issue:====
FreeRADIUS Version 3.0.20
Copyright (C) 1999-2019 The FreeRADIUS server project and contributors
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE
You may redistribute copies of FreeRADIUS under the terms of the
GNU General Public License
For more information about these matters, see the file named COPYRIGHT
Starting - reading configuration files ...
including dictionary file /usr/share/freeradius/dictionary
including dictionary file /usr/share/freeradius/dictionary.dhcp
including dictionary file /usr/share/freeradius/dictionary.vqp
including dictionary file /etc/raddb/dictionary
including configuration file /etc/raddb/radiusd.conf
including configuration file /etc/raddb/proxy.conf
including configuration file /etc/raddb/clients.conf
including files in directory /etc/raddb/mods-enabled/
including configuration file /etc/raddb/mods-enabled/always
including configuration file /etc/raddb/mods-enabled/attr_filter
including configuration file /etc/raddb/mods-enabled/cache_eap
including configuration file /etc/raddb/mods-enabled/chap
including configuration file /etc/raddb/mods-enabled/date
including configuration file /etc/raddb/mods-enabled/detail
including configuration file /etc/raddb/mods-enabled/detail.log
including configuration file /etc/raddb/mods-enabled/digest
including configuration file /etc/raddb/mods-enabled/dynamic_clients
including configuration file /etc/raddb/mods-enabled/eap
including configuration file /etc/raddb/mods-enabled/echo
including configuration file /etc/raddb/mods-enabled/exec
including configuration file /etc/raddb/mods-enabled/expiration
including configuration file /etc/raddb/mods-enabled/expr
including configuration file /etc/raddb/mods-enabled/files
including configuration file /etc/raddb/mods-enabled/linelog
including configuration file /etc/raddb/mods-enabled/logintime
including configuration file /etc/raddb/mods-enabled/mschap
including configuration file /etc/raddb/mods-enabled/ntlm_auth
including configuration file /etc/raddb/mods-enabled/pap
including configuration file /etc/raddb/mods-enabled/passwd
including configuration file /etc/raddb/mods-enabled/preprocess
including configuration file /etc/raddb/mods-enabled/radutmp
including configuration file /etc/raddb/mods-enabled/realm
including configuration file /etc/raddb/mods-enabled/replicate
including configuration file /etc/raddb/mods-enabled/soh
including configuration file /etc/raddb/mods-enabled/sradutmp
including configuration file /etc/raddb/mods-enabled/unix
including configuration file /etc/raddb/mods-enabled/unpack
including configuration file /etc/raddb/mods-enabled/utf8
including configuration file /etc/raddb/mods-enabled/ldap
including files in directory /etc/raddb/policy.d/
including configuration file /etc/raddb/policy.d/accounting
including configuration file /etc/raddb/policy.d/canonicalization
including configuration file /etc/raddb/policy.d/control
including configuration file /etc/raddb/policy.d/cui
including configuration file /etc/raddb/policy.d/debug
including configuration file /etc/raddb/policy.d/dhcp
including configuration file /etc/raddb/policy.d/eap
including configuration file /etc/raddb/policy.d/filter
including configuration file /etc/raddb/policy.d/operator-name
including configuration file /etc/raddb/policy.d/rfc7542
including files in directory /etc/raddb/sites-enabled/
including configuration file /etc/raddb/sites-enabled/default
including configuration file /etc/raddb/sites-enabled/inner-tunnel
including configuration file /etc/raddb/sites-enabled/default.noldap
main {
security {
user = "radiusd"
group = "radiusd"
allow_core_dumps = no
}
name = "radiusd"
prefix = "/usr"
localstatedir = "/var"
logdir = "/var/log/radius"
run_dir = "/var/run/radiusd"
}
main {
name = "radiusd"
prefix = "/usr"
localstatedir = "/var"
sbindir = "/usr/sbin"
logdir = "/var/log/radius"
run_dir = "/var/run/radiusd"
libdir = "/usr/lib64/freeradius"
radacctdir = "/var/log/radius/radacct"
hostname_lookups = no
max_request_time = 30
cleanup_delay = 5
max_requests = 16384
pidfile = "/var/run/radiusd/radiusd.pid"
checkrad = "/usr/sbin/checkrad"
debug_level = 0
proxy_requests = yes
log {
stripped_names = no
auth = yes
auth_badpass = no
auth_goodpass = no
colourise = yes
msg_denied = "You are already logged in - access denied"
}
resources {
}
security {
max_attributes = 200
reject_delay = 1.000000
status_server = yes
}
}
radiusd: #### Loading Realms and Home Servers ####
proxy server {
retry_delay = 5
retry_count = 3
default_fallback = no
dead_time = 120
wake_all_if_all_dead = no
}
home_server localhost {
ipaddr = 127.0.0.1
port = 1812
type = "auth"
secret = <<< secret >>>
response_window = 20.000000
response_timeouts = 1
max_outstanding = 65536
zombie_period = 40
status_check = "status-server"
ping_interval = 30
check_interval = 30
check_timeout = 4
num_answers_to_alive = 3
revive_interval = 120
limit {
max_connections = 16
max_requests = 0
lifetime = 0
idle_timeout = 0
}
coa {
irt = 2
mrt = 16
mrc = 5
mrd = 30
}
}
realm ad.nsd.goes {
}
realm ad.ssd.goes {
}
home_server_pool my_auth_failover {
type = fail-over
home_server = localhost
}
realm example.com {
auth_pool = my_auth_failover
}
realm LOCAL {
}
radiusd: #### Loading Clients ####
client NS-MGMTnet {
ipaddr = 10.1.176.0/20
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client WS-MGMTnet {
ipaddr = 10.2.176.0/20
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client RS-MGMTnet {
ipaddr = 10.3.176.0/20
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client NSO-ISLOAD001A_POOL {
ipaddr = 10.1.212.112/32
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client NSO-ISLOAD001B_POOL {
ipaddr = 10.1.212.113/32
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client NST-ISLOAD001A_POOL {
ipaddr = 10.1.228.112/32
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client NST-ISLOAD001B_POOL {
ipaddr = 10.1.228.113/32
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client WSD-ISLOAD001A_POOL {
ipaddr = 10.2.244.112/32
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client WSD-ISLOAD001B_POOL {
ipaddr = 10.2.244.113/32
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client WSO-ISLOAD001A_POOL {
ipaddr = 10.2.212.112/32
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client WSO-ISLOAD001B_POOL {
ipaddr = 10.2.212.113/32
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client WST-ISLOAD001A_POOL {
ipaddr = 10.2.228.112/32
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client WST-ISLOAD001B_POOL {
ipaddr = 10.2.228.113/32
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client RSO-ISLOAD001A_POOL {
ipaddr = 10.3.212.112/32
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client RSO-ISLOAD001B_POOL {
ipaddr = 10.3.212.113/32
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client NSO-ISLOAD001_WSO {
ipaddr = 10.1.212.121/32
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client NSO-ISLOAD001_WST {
ipaddr = 10.1.212.122/32
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client NST-ISLOAD001_WST {
ipaddr = 10.1.228.122/32
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client WSO-ISLOAD001_WSD {
ipaddr = 10.2.212.120/32
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client WSO-ISLOAD001_WSO {
ipaddr = 10.2.212.121/32
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client WSO-ISLOAD001_WST {
ipaddr = 10.2.212.122/32
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client WST-ISLOAD001_WST {
ipaddr = 10.2.228.122/32
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client WSD-ISLOAD001_WSD {
ipaddr = 10.2.244.120/32
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client RSO-ISLOAD001_WSO {
ipaddr = 10.3.212.121/32
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
Debugger not attached
# Creating Auth-Type = mschap
# Creating Auth-Type = eap
# Creating Auth-Type = PAP
# Creating Auth-Type = CHAP
# Creating Auth-Type = MS-CHAP
# Creating Auth-Type = LDAP
radiusd: #### Instantiating modules ####
modules {
# Loaded module rlm_always
# Loading module "reject" from file /etc/raddb/mods-enabled/always
always reject {
rcode = "reject"
simulcount = 0
mpp = no
}
# Loading module "fail" from file /etc/raddb/mods-enabled/always
always fail {
rcode = "fail"
simulcount = 0
mpp = no
}
# Loading module "ok" from file /etc/raddb/mods-enabled/always
always ok {
rcode = "ok"
simulcount = 0
mpp = no
}
# Loading module "handled" from file /etc/raddb/mods-enabled/always
always handled {
rcode = "handled"
simulcount = 0
mpp = no
}
# Loading module "invalid" from file /etc/raddb/mods-enabled/always
always invalid {
rcode = "invalid"
simulcount = 0
mpp = no
}
# Loading module "userlock" from file /etc/raddb/mods-enabled/always
always userlock {
rcode = "userlock"
simulcount = 0
mpp = no
}
# Loading module "notfound" from file /etc/raddb/mods-enabled/always
always notfound {
rcode = "notfound"
simulcount = 0
mpp = no
}
# Loading module "noop" from file /etc/raddb/mods-enabled/always
always noop {
rcode = "noop"
simulcount = 0
mpp = no
}
# Loading module "updated" from file /etc/raddb/mods-enabled/always
always updated {
rcode = "updated"
simulcount = 0
mpp = no
}
# Loaded module rlm_attr_filter
# Loading module "attr_filter.post-proxy" from file /etc/raddb/mods-enabled/attr_filter
attr_filter attr_filter.post-proxy {
filename = "/etc/raddb/mods-config/attr_filter/post-proxy"
key = "%{Realm}"
relaxed = no
}
# Loading module "attr_filter.pre-proxy" from file /etc/raddb/mods-enabled/attr_filter
attr_filter attr_filter.pre-proxy {
filename = "/etc/raddb/mods-config/attr_filter/pre-proxy"
key = "%{Realm}"
relaxed = no
}
# Loading module "attr_filter.access_reject" from file /etc/raddb/mods-enabled/attr_filter
attr_filter attr_filter.access_reject {
filename = "/etc/raddb/mods-config/attr_filter/access_reject"
key = "%{User-Name}"
relaxed = no
}
# Loading module "attr_filter.access_challenge" from file /etc/raddb/mods-enabled/attr_filter
attr_filter attr_filter.access_challenge {
filename = "/etc/raddb/mods-config/attr_filter/access_challenge"
key = "%{User-Name}"
relaxed = no
}
# Loading module "attr_filter.accounting_response" from file /etc/raddb/mods-enabled/attr_filter
attr_filter attr_filter.accounting_response {
filename = "/etc/raddb/mods-config/attr_filter/accounting_response"
key = "%{User-Name}"
relaxed = no
}
# Loaded module rlm_cache
# Loading module "cache_eap" from file /etc/raddb/mods-enabled/cache_eap
cache cache_eap {
driver = "rlm_cache_rbtree"
key = "%{%{control:State}:-%{%{reply:State}:-%{State}}}"
ttl = 15
max_entries = 0
epoch = 0
add_stats = no
}
# Loaded module rlm_chap
# Loading module "chap" from file /etc/raddb/mods-enabled/chap
# Loaded module rlm_date
# Loading module "date" from file /etc/raddb/mods-enabled/date
date {
format = "%b %e %Y %H:%M:%S %Z"
utc = no
}
# Loading module "wispr2date" from file /etc/raddb/mods-enabled/date
date wispr2date {
format = "%Y-%m-%dT%H:%M:%S"
utc = no
}
# Loaded module rlm_detail
# Loading module "detail" from file /etc/raddb/mods-enabled/detail
detail {
filename = "/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
escape_filenames = no
log_packet_header = no
}
# Loading module "auth_log" from file /etc/raddb/mods-enabled/detail.log
detail auth_log {
filename = "/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
escape_filenames = no
log_packet_header = no
}
# Loading module "reply_log" from file /etc/raddb/mods-enabled/detail.log
detail reply_log {
filename = "/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/reply-detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
escape_filenames = no
log_packet_header = no
}
# Loading module "pre_proxy_log" from file /etc/raddb/mods-enabled/detail.log
detail pre_proxy_log {
filename = "/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/pre-proxy-detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
escape_filenames = no
log_packet_header = no
}
# Loading module "post_proxy_log" from file /etc/raddb/mods-enabled/detail.log
detail post_proxy_log {
filename = "/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/post-proxy-detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
escape_filenames = no
log_packet_header = no
}
# Loaded module rlm_digest
# Loading module "digest" from file /etc/raddb/mods-enabled/digest
# Loaded module rlm_dynamic_clients
# Loading module "dynamic_clients" from file /etc/raddb/mods-enabled/dynamic_clients
# Loaded module rlm_eap
# Loading module "eap" from file /etc/raddb/mods-enabled/eap
eap {
default_eap_type = "md5"
timer_expire = 60
ignore_unknown_eap_types = no
cisco_accounting_username_bug = no
max_sessions = 16384
}
# Loaded module rlm_exec
# Loading module "echo" from file /etc/raddb/mods-enabled/echo
exec echo {
wait = yes
program = "/bin/echo %{User-Name}"
input_pairs = "request"
output_pairs = "reply"
shell_escape = yes
}
# Loading module "exec" from file /etc/raddb/mods-enabled/exec
exec {
wait = no
input_pairs = "request"
shell_escape = yes
timeout = 10
}
# Loaded module rlm_expiration
# Loading module "expiration" from file /etc/raddb/mods-enabled/expiration
# Loaded module rlm_expr
# Loading module "expr" from file /etc/raddb/mods-enabled/expr
expr {
safe_characters = "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /äéöüàâæçèéêëîïôœùûüaÿÄÉÖÜßÀÂÆÇÈÉÊËÎÏÔŒÙÛÜŸ"
}
# Loaded module rlm_files
# Loading module "files" from file /etc/raddb/mods-enabled/files
files {
filename = "/etc/raddb/mods-config/files/authorize"
acctusersfile = "/etc/raddb/mods-config/files/accounting"
preproxy_usersfile = "/etc/raddb/mods-config/files/pre-proxy"
}
# Loading module "authorized_macs" from file /etc/raddb/mods-enabled/files
files authorized_macs {
usersfile = "/etc/raddb/authorized_macs"
key = "%{Calling-Station-ID}"
}
# Loaded module rlm_linelog
# Loading module "linelog" from file /etc/raddb/mods-enabled/linelog
linelog {
filename = "/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 /etc/raddb/mods-enabled/linelog
linelog log_accounting {
filename = "/var/log/radius/linelog-accounting"
escape_filenames = no
syslog_severity = "info"
permissions = 384
format = ""
reference = "Accounting-Request.%{%{Acct-Status-Type}:-unknown}"
}
# Loaded module rlm_logintime
# Loading module "logintime" from file /etc/raddb/mods-enabled/logintime
logintime {
minimum_timeout = 60
}
# Loaded module rlm_mschap
# Loading module "mschap" from file /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
}
# Loading module "ntlm_auth" from file /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_pap
# Loading module "pap" from file /etc/raddb/mods-enabled/pap
pap {
normalise = yes
}
# Loaded module rlm_passwd
# Loading module "etc_passwd" from file /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_preprocess
# Loading module "preprocess" from file /etc/raddb/mods-enabled/preprocess
preprocess {
huntgroups = "/etc/raddb/mods-config/preprocess/huntgroups"
hints = "/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_radutmp
# Loading module "radutmp" from file /etc/raddb/mods-enabled/radutmp
radutmp {
filename = "/var/log/radius/radutmp"
username = "%{User-Name}"
case_sensitive = yes
check_with_nas = yes
permissions = 384
caller_id = yes
}
# Loaded module rlm_realm
# Loading module "IPASS" from file /etc/raddb/mods-enabled/realm
realm IPASS {
format = "prefix"
delimiter = "/"
ignore_default = no
ignore_null = no
}
# Loading module "suffix" from file /etc/raddb/mods-enabled/realm
realm suffix {
format = "suffix"
delimiter = "@"
ignore_default = no
ignore_null = no
}
# Loading module "bangpath" from file /etc/raddb/mods-enabled/realm
realm bangpath {
format = "prefix"
delimiter = "!"
ignore_default = no
ignore_null = no
}
# Loading module "realmpercent" from file /etc/raddb/mods-enabled/realm
realm realmpercent {
format = "suffix"
delimiter = "%"
ignore_default = no
ignore_null = no
}
# Loading module "ntdomain" from file /etc/raddb/mods-enabled/realm
realm ntdomain {
format = "prefix"
delimiter = "\\"
ignore_default = no
ignore_null = no
}
# Loaded module rlm_replicate
# Loading module "replicate" from file /etc/raddb/mods-enabled/replicate
# Loaded module rlm_soh
# Loading module "soh" from file /etc/raddb/mods-enabled/soh
soh {
dhcp = yes
}
# Loading module "sradutmp" from file /etc/raddb/mods-enabled/sradutmp
radutmp sradutmp {
filename = "/var/log/radius/sradutmp"
username = "%{User-Name}"
case_sensitive = yes
check_with_nas = yes
permissions = 420
caller_id = no
}
# Loaded module rlm_unix
# Loading module "unix" from file /etc/raddb/mods-enabled/unix
unix {
radwtmp = "/var/log/radius/radwtmp"
}
Creating attribute Unix-Group
# Loaded module rlm_unpack
# Loading module "unpack" from file /etc/raddb/mods-enabled/unpack
# Loaded module rlm_utf8
# Loading module "utf8" from file /etc/raddb/mods-enabled/utf8
# Loaded module rlm_ldap
# Loading module "ldap" from file /etc/raddb/mods-enabled/ldap
ldap {
server = "ldaps://ad.goes"
identity = "cn=radiusAuth,ou=goes bind,dc=ad,dc=ssd,dc=goes"
password = <<< secret >>>
sasl {
}
user_dn = "LDAP-UserDn"
user {
scope = "sub"
access_positive = yes
sasl {
}
}
group {
filter = "(objectClass=posixGroup)"
scope = "sub"
name_attribute = "cn"
membership_attribute = "memberOf"
membership_filter = "(|(member=%{control:Ldap-UserDn})(isMemberof=cn=nw_admin,ou=goes groups,dc=ad,dc=ssd,dc=goes))"
cacheable_name = no
cacheable_dn = no
allow_dangling_group_ref = no
}
client {
filter = "(objectClass=radiusClient)"
scope = "sub"
base_dn = "dc=ad,dc=ssd,dc=goes"
}
profile {
}
options {
ldap_debug = 0
chase_referrals = no
rebind = yes
net_timeout = 1
res_timeout = 10
srv_timelimit = 3
idle = 60
probes = 3
interval = 3
}
tls {
ca_path = "/etc/pki/tls/certs"
start_tls = no
require_cert = "allow"
}
}
Creating attribute LDAP-Group
instantiate {
}
# Instantiating module "reject" from file /etc/raddb/mods-enabled/always
# Instantiating module "fail" from file /etc/raddb/mods-enabled/always
# Instantiating module "ok" from file /etc/raddb/mods-enabled/always
# Instantiating module "handled" from file /etc/raddb/mods-enabled/always
# Instantiating module "invalid" from file /etc/raddb/mods-enabled/always
# Instantiating module "userlock" from file /etc/raddb/mods-enabled/always
# Instantiating module "notfound" from file /etc/raddb/mods-enabled/always
# Instantiating module "noop" from file /etc/raddb/mods-enabled/always
# Instantiating module "updated" from file /etc/raddb/mods-enabled/always
# Instantiating module "attr_filter.post-proxy" from file /etc/raddb/mods-enabled/attr_filter
reading pairlist file /etc/raddb/mods-config/attr_filter/post-proxy
# Instantiating module "attr_filter.pre-proxy" from file /etc/raddb/mods-enabled/attr_filter
reading pairlist file /etc/raddb/mods-config/attr_filter/pre-proxy
# Instantiating module "attr_filter.access_reject" from file /etc/raddb/mods-enabled/attr_filter
reading pairlist file /etc/raddb/mods-config/attr_filter/access_reject
# Instantiating module "attr_filter.access_challenge" from file /etc/raddb/mods-enabled/attr_filter
reading pairlist file /etc/raddb/mods-config/attr_filter/access_challenge
# Instantiating module "attr_filter.accounting_response" from file /etc/raddb/mods-enabled/attr_filter
reading pairlist file /etc/raddb/mods-config/attr_filter/accounting_response
# Instantiating module "cache_eap" from file /etc/raddb/mods-enabled/cache_eap
rlm_cache (cache_eap): Driver rlm_cache_rbtree (module rlm_cache_rbtree) loaded and linked
# Instantiating module "detail" from file /etc/raddb/mods-enabled/detail
# Instantiating module "auth_log" from file /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 /etc/raddb/mods-enabled/detail.log
# Instantiating module "pre_proxy_log" from file /etc/raddb/mods-enabled/detail.log
# Instantiating module "post_proxy_log" from file /etc/raddb/mods-enabled/detail.log
# Instantiating module "eap" from file /etc/raddb/mods-enabled/eap
# Linked to sub-module rlm_eap_md5
# Linked to sub-module rlm_eap_leap
# Linked to sub-module rlm_eap_gtc
gtc {
challenge = "Password: "
auth_type = "PAP"
}
# Linked to sub-module rlm_eap_tls
tls {
tls = "tls-common"
}
tls-config tls-common {
verify_depth = 0
ca_path = "/etc/pki/tls/certs"
pem_file_type = yes
private_key_file = "/etc/pki/tls/private/network-server.key"
certificate_file = "/etc/pki/tls/certs/network-server.crt"
ca_file = "/etc/pki/tls/certs/cosi-ca-bundle.crt"
dh_file = "/etc/raddb/certs/dh"
fragment_size = 768
include_length = yes
auto_chain = yes
check_crl = no
check_all_crl = no
cipher_list = "PROFILE=SYSTEM"
cipher_server_preference = no
ecdh_curve = "prime256v1"
disable_tlsv1 = yes
disable_tlsv1_1 = yes
tls_max_version = "1.2"
tls_min_version = "1.2"
cache {
enable = no
lifetime = 24
max_entries = 255
}
verify {
skip_if_ocsp_ok = no
}
ocsp {
enable = no
override_cert_url = no
url = "http://127.0.0.1/ocsp/"
use_nonce = yes
timeout = 0
softfail = yes
}
}
Please use tls_min_version and tls_max_version instead of disable_tlsv1
Please use tls_min_version and tls_max_version instead of disable_tlsv1_2
# Linked to sub-module rlm_eap_ttls
ttls {
tls = "tls-common"
default_eap_type = "md5"
copy_request_to_tunnel = no
use_tunneled_reply = no
virtual_server = "inner-tunnel"
include_length = yes
require_client_cert = no
}
tls: Using cached TLS configuration from previous invocation
# Linked to sub-module rlm_eap_peap
peap {
tls = "tls-common"
default_eap_type = "mschapv2"
copy_request_to_tunnel = no
use_tunneled_reply = no
proxy_tunneled_request_as_eap = yes
virtual_server = "inner-tunnel"
soh = no
require_client_cert = no
}
tls: Using cached TLS configuration from previous invocation
# Linked to sub-module rlm_eap_mschapv2
mschapv2 {
with_ntdomain_hack = no
send_error = no
}
# Instantiating module "expiration" from file /etc/raddb/mods-enabled/expiration
# Instantiating module "files" from file /etc/raddb/mods-enabled/files
reading pairlist file /etc/raddb/mods-config/files/authorize
reading pairlist file /etc/raddb/mods-config/files/accounting
reading pairlist file /etc/raddb/mods-config/files/pre-proxy
# Instantiating module "authorized_macs" from file /etc/raddb/mods-enabled/files
reading pairlist file /etc/raddb/authorized_macs
# Instantiating module "linelog" from file /etc/raddb/mods-enabled/linelog
# Instantiating module "log_accounting" from file /etc/raddb/mods-enabled/linelog
# Instantiating module "logintime" from file /etc/raddb/mods-enabled/logintime
# Instantiating module "mschap" from file /etc/raddb/mods-enabled/mschap
rlm_mschap (mschap): using internal authentication
# Instantiating module "pap" from file /etc/raddb/mods-enabled/pap
# Instantiating module "etc_passwd" from file /etc/raddb/mods-enabled/passwd
rlm_passwd: nfields: 3 keyfield 0(User-Name) listable: no
# Instantiating module "preprocess" from file /etc/raddb/mods-enabled/preprocess
reading pairlist file /etc/raddb/mods-config/preprocess/huntgroups
reading pairlist file /etc/raddb/mods-config/preprocess/hints
# Instantiating module "IPASS" from file /etc/raddb/mods-enabled/realm
# Instantiating module "suffix" from file /etc/raddb/mods-enabled/realm
# Instantiating module "bangpath" from file /etc/raddb/mods-enabled/realm
# Instantiating module "realmpercent" from file /etc/raddb/mods-enabled/realm
# Instantiating module "ntdomain" from file /etc/raddb/mods-enabled/realm
# Instantiating module "ldap" from file /etc/raddb/mods-enabled/ldap
rlm_ldap: libldap vendor: OpenLDAP, version: 20446
accounting {
reference = "%{tolower:type.%{Acct-Status-Type}}"
}
post-auth {
reference = "."
}
rlm_ldap (ldap): Initialising connection pool
pool {
start = 5
min = 3
max = 32
spare = 10
uses = 0
lifetime = 0
cleanup_interval = 30
idle_timeout = 60
retry_delay = 30
spread = no
}
rlm_ldap (ldap): Opening additional connection (0), 1 of 32 pending slots used
rlm_ldap (ldap): Connecting to ldaps://ad.goes:636
rlm_ldap (ldap): Waiting for bind result...
rlm_ldap (ldap): Bind successful
rlm_ldap (ldap): Opening additional connection (1), 1 of 31 pending slots used
rlm_ldap (ldap): Connecting to ldaps://ad.goes:636
rlm_ldap (ldap): Waiting for bind result...
rlm_ldap (ldap): Bind successful
rlm_ldap (ldap): Opening additional connection (2), 1 of 30 pending slots used
rlm_ldap (ldap): Connecting to ldaps://ad.goes:636
rlm_ldap (ldap): Waiting for bind result...
rlm_ldap (ldap): Bind successful
rlm_ldap (ldap): Opening additional connection (3), 1 of 29 pending slots used
rlm_ldap (ldap): Connecting to ldaps://ad.goes:636
rlm_ldap (ldap): Waiting for bind result...
rlm_ldap (ldap): Bind successful
rlm_ldap (ldap): Opening additional connection (4), 1 of 28 pending slots used
rlm_ldap (ldap): Connecting to ldaps://ad.goes:636
rlm_ldap (ldap): Waiting for bind result...
rlm_ldap (ldap): Bind successful
} # modules
radiusd: #### Loading Virtual Servers ####
server { # from file /etc/raddb/radiusd.conf
} # server
server default { # from file /etc/raddb/sites-enabled/default
# Loading authenticate {...}
# Loading authorize {...}
# Loading preacct {...}
# Loading accounting {...}
# Loading post-proxy {...}
# Loading post-auth {...}
} # server default
server inner-tunnel { # from file /etc/raddb/sites-enabled/inner-tunnel
# Loading authenticate {...}
# Loading authorize {...}
# Loading session {...}
# Loading post-proxy {...}
# Loading post-auth {...}
Ignoring "sql" (see raddb/mods-available/README.rst)
# Skipping contents of 'if' as it is always 'false' -- /etc/raddb/sites-enabled/inner-tunnel:336
} # server inner-tunnel
server no_ldap { # from file /etc/raddb/sites-enabled/default.noldap
# Loading authenticate {...}
# Loading authorize {...}
# Loading preacct {...}
# Loading accounting {...}
# Loading post-proxy {...}
# Loading post-auth {...}
} # server no_ldap
radiusd: #### Opening IP addresses and Ports ####
listen {
type = "auth"
ipaddr = *
port = 1812
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
listen {
type = "acct"
ipaddr = *
port = 0
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
listen {
type = "auth"
ipaddr = 127.0.0.1
port = 18120
}
listen {
type = "auth"
ipaddr = *
port = 1645
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
Listening on auth address * port 1812 bound to server default
Listening on acct address * port 1813 bound to server default
Listening on auth address 127.0.0.1 port 18120 bound to server inner-tunnel
Listening on auth address * port 1645 bound to server no_ldap
Listening on proxy address * port 48283
Waking up in 3.2 seconds.
(45) Received Access-Request Id 145 from 10.2.212.121:50797 to 10.2.212.41:1645 length 292
(45) User-Name = "wsk-emewks218a-oe.ssd.goes"
(45) Service-Type = Framed-User
(45) Cisco-AVPair = "service-type=Framed"
(45) Framed-MTU = 1500
(45) Called-Station-Id = "50-57-A8-37-CF-0C"
(45) Calling-Station-Id = "E4-54-E8-50-D1-27"
(45) EAP-Message = 0x0201001f0177736b2d656d65776b73323138612d6f652e7373642e676f6573
(45) Message-Authenticator = 0x098b246847a14bf7921f8990a9bd9455
(45) Cisco-AVPair = "audit-session-id=000000000000023E1EC0D866"
(45) Cisco-AVPair = "method=dot1x"
(45) Framed-IP-Address = 10.2.222.218
(45) NAS-IP-Address = 10.2.183.68
(45) NAS-Port-Id = "GigabitEthernet0/12"
(45) NAS-Port-Type = Ethernet
(45) NAS-Port = 50112
(45) # Executing section authorize from file /etc/raddb/sites-enabled/default.noldap
(45) authorize {
(45) [preprocess] = ok
(45) auth_log: EXPAND /var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d
(45) auth_log: --> /var/log/radius/radacct/10.2.212.121/auth-detail-20240319
(45) auth_log: /var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d expands to /var/log/radius/radacct/10.2.212.121/auth-detail-20240319
(45) auth_log: EXPAND %t
(45) auth_log: --> Tue Mar 19 16:13:10 2024
(45) [auth_log] = ok
(45) [chap] = noop
(45) [mschap] = noop
(45) suffix: Checking for suffix after "@"
(45) suffix: No '@' in User-Name = "wsk-emewks218a-oe.ssd.goes", looking up realm NULL
(45) suffix: No such realm "NULL"
(45) [suffix] = noop
(45) if (!EAP-Message) {
(45) if (!EAP-Message) -> FALSE
(45) else {
(45) eap: Peer sent EAP Response (code 2) ID 1 length 31
(45) eap: EAP-Identity reply, returning 'ok' so we can short-circuit the rest of authorize
(45) [eap] = ok
(45) } # else = ok
(45) files: users: Matched entry wsk-emewks218a-oe.ssd.goes at line 74679
(45) [files] = ok
(45) [expiration] = noop
(45) [logintime] = noop
Not doing PAP as Auth-Type is already set.
(45) [pap] = noop
(45) } # authorize = ok
(45) Found Auth-Type = eap
(45) # Executing group from file /etc/raddb/sites-enabled/default.noldap
(45) authenticate {
(45) eap: Peer sent packet with method EAP Identity (1)
(45) eap: Calling submodule eap_md5 to process data
(45) eap_md5: Issuing MD5 Challenge
(45) eap: Sending EAP Request (code 1) ID 2 length 22
(45) eap: EAP session adding &reply:State = 0x2752195227501dda
(45) [eap] = handled
(45) } # authenticate = handled
(45) Using Post-Auth-Type Challenge
(45) # Executing group from file /etc/raddb/sites-enabled/default.noldap
(45) Challenge { ... } # empty sub-section is ignored
(45) Sent Access-Challenge Id 145 from 10.2.212.41:1645 to 10.2.212.121:50797 length 0
(45) Service-Type = Framed-User
(45) Tunnel-Type = VLAN
(45) Tunnel-Medium-Type = IEEE-802
(45) Tunnel-Private-Group-Id = "601"
(45) EAP-Message = 0x0102001604103bb9d2560819735654919640451304d8
(45) Message-Authenticator = 0x00000000000000000000000000000000
(45) State = 0x2752195227501ddab6bc75517460942a
(45) Finished request
Cordially,
Elizabeth Merritt
CONFIDENTIALITY NOTICE: This email and any attachments are for the sole use of the intended recipient and may contain material that is proprietary, confidential, privileged or otherwise legally protected or restricted under applicable government laws. Any review, disclosure, distributing or other use without expressed permission of the sender is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies without reading, printing, or saving.
2
1
Hi,
Is there a way to get a binary response from an http endpoint with the rest module so that it get’s base64 encoded as a attribute to process the response further?
BR,
Lineconnect
1
0
I got an error "Failed retrieving values required to evaluate condition"
when checking service-type in if condition in default config file. It seems
that the client does not send requests with service-type attributes. My
question is, is it necessary to send service-type attribute by client side
or do we need to check also if there is a service-type attribute?
Thanks for your suggestions.
2
2
Dear all
(FreeRADIUS 3.0.26 on Ubuntu 22.04)
I am trying to get a MFA setup working with an initial LDAP direct bind against Microsoft AD (MAD) and then a second
pass with the same username and a OTP. I can get both the LDAP and OTP working fine individually.
I am using the wiki Howto: https://wiki.freeradius.org/guide/2FA-Active-Directory-plus-Proxy as a model. This howto
uses "State" to determine which Auth-Type it is at in the process. At the end of the howto there is a section that
describes filtering out the State attribute for Pre-Proxy and I think this is where I am getting things wrong.
I'm not sure what "State" is. I am unable to find docs about it but it is the only input difference I can see when
running "freeradius -fX" so I think I need to filter it out. I'm not sure why I should filter it out either!
If attr_filter is what I should do to get this to work, I'd be grateful for some help. I've also deviated from the
howto example by trying to decompose "challenge" into what it actually does:
update control {
Response-Packet-Type := Access-Challenge
{
With the site-enabled config below, the debug logs show that the initial user/pass against LDAP works fine and State
gets set to a 16 random char. Then it tries to do a second pass and I can see the username and password (which is now
the PIN for the OTP) passed through and so is the "State" that got set by stage one. This second pass fails and when I
compare the logs against just the OTP method that works, "State" is the only additional input.
Cheers
Jon
# LDAP with direct bind as the user logging in - Active Directory
# then prompt for a PIN, and pass that to PrivacyIdea
# JG 04 Jun 2024
server active-directory {
listen {
type = auth
ipaddr = 10.77.10.10
port = 1812
clients = external
}
authorize {
if (!State) {
if (&User-Password) {
update control {
Ldap-UserDN := "%{User-Name}(a)blueloop.net"
Auth-Type := AD
}
}
else {
reject
}
}
else {
#### attr_filter.access_challenge ? #################### I think this is where I am going wrong
perl-privacyidea
if (ok || updated) {
update control {
Auth-Type := Perl
}
}
}
}
authenticate {
Auth-Type AD {
ldap
if (ok) {
update reply {
State := "%{randstr:aaaaaaaaaaaaaaaa}"
Reply-Message := "Please enter PIN"
}
update control {
Response-Packet-Type := Access-Challenge
}
}
}
Auth-Type Perl {
perl-privacyidea
}
}
}
2
5
Hi guys
First of all, I wanted to let you know, that I was – w/o any problems – able to upgrade from FreeRADIUS 3.0.26 (Ubuntu own packages: /etc/freeradius/3.0) to FreeRADIUS 3.2.4 (networkRADIUS packages: /etc/freeradius); thanks for that.
Now I would like to start from scratch with monitoring our FreeRADIUS infrastructure and would like to use Prometheus to export the data (primarly service status and RADIUS statistics) and Grafana to visualize it:
1. Does this setup sound reasonable to you guys?
2. I read, that FreeRADIUS does come with the Prometheus (exporter) module included, but I can not find it in /etc/freeradius/mods-available. If not, how can I install / enable the Prometheus module for a FreeRADIUS 3.2.4 version? The github repo for Prometheus says:
Prometheus exporter for FreeRADIUS metrics.
Supports FreeRADIUS 3.0.x.
3. Does anyone have FreeRADIUS 3.2 and Prometheus already working right now?
Thanks a lot for any help provided and best 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
2
Hi team,
I am trying to assign VLANs to different realms, and only a few users to be
part of a given realm.
E.g.: user1 and user2 are part of @staff and should be assigned VLAN 123
user3 and user4 are part of @student and should be assigned 98
If a user is not part of a realm, he should be denied.
Could you please help me on how I can assign a user to a realm? Thanks for
your help.
Regards,
*Deepansha Gaur*
2
6
Hello,
I have configured *EAP-AKA virtual-server in FreeRADIUS to
perform authentication. I have enabled eap cache so that fast reauth will
work and
session data will be stored in cache. However during store session i could
not restore Counter and hence reauth fails.
Logs are:
Debug : (0.0) h9-auth-server - store session {
Debug : (0.0) h9-auth-server - | debug_attr
INFO : (0.0) h9-auth-server - Attributes matching "&session-state"
INFO : (0.0) h9-auth-server - &session-State.session-State = {
INFO : (0.0) h9-auth-server - Permanent-Identity =
10026000000000(a)wlan.mnc11343.mcc0.3gppnetwork.org
INFO : (0.0) h9-auth-server - SIM-Ki =
0x465b5ce8b199b49faa5f0a2ee238a6bc
INFO : (0.0) h9-auth-server - SIM-OPc =
0xcd63cb71954a9f4e48a5994e37a02baf
INFO : (0.0) h9-auth-server - SIM-SQN = 528
INFO : (0.0) h9-auth-server - Identity =
27CL9C1yARfBU1l(a)wlan.mnc11343.mcc0.3gppnetwork.org
INFO : (0.0) h9-auth-server - Session-Data =
0xd9407284e28f09c788dd047dbd2350adcf91a5ef
INFO : (0.0) h9-auth-server - Counter = 0
>>>>>>>>>>>>>>>>> Counter is available here....>>>>>>
INFO : (0.0) h9-auth-server - }
Debug : (0.0) h9-auth-server - | eap-aka-sim.Session-ID
Debug : (0.0) h9-auth-server - | %{eap-aka-sim.Session-ID}
Debug : (0.0) h9-auth-server - | -->
0x34374631353345367a547775664157
Debug : (0.0) eap_aka_cache - No cache entry found for
"47F153E6zTwufAW"
Debug : (0.0) eap_aka_cache - Creating new cache entry
Debug : (0.0) eap_aka_cache - &session-State.Session-Data :=
&session-State.Session-Data -> 0xd9407284e28f09c788dd047dbd2350adcf91a5ef
Debug : (0.0) eap_aka_cache - EXPAND
%{session-state.Permanent-Identity}
Debug : (0.0) eap_aka_cache - | session-state.Permanent-Identity
Debug : (0.0) eap_aka_cache - |
%{session-state.Permanent-Identity}
Debug : (0.0) eap_aka_cache - | -->
10026000000000(a)wlan.mnc11343.mcc0.3gppnetwork.org
Debug : (0.0) eap_aka_cache - -->
10026000000000(a)wlan.mnc11343.mcc0.3gppnetwork.org
Debug : (0.0) eap_aka_cache - &session-State.Permanent-Identity :=
"10026000000000(a)wlan.mnc11343.mcc0.3gppnetwork.org"
Debug : (0.0) eap_aka_cache - EXPAND
%{session-state.Encr-Data.Counter}
Debug : (0.0) eap_aka_cache - | session-state.Encr-Data.Counter
Debug : (0.0) eap_aka_cache - |
%{session-state.Encr-Data.Counter}
Debug : (0.0) eap_aka_cache - (null)
Debug : (0.0) eap_aka_cache - -->
Debug : (0.0) eap_aka_cache - Skipping
%{session-state.Encr-Data.Counter}
Debug : (0.0) eap_aka_cache - Committed entry, TTL 150 seconds
Debug : (0.0) h9-auth-server - eap_aka_cache (updated)
Session is stored in eap cache however it could not store Counter as its
value is nil in Encr-Data and direct access to Counter in session-state is
failing.
During Reauth request , it could fetch the session from the cache but as
Counter is not there, fast reauth is failing...
Debug : (2.0) h9-auth-server - New EAP-AKA session
Debug : (2.0) h9-auth-server - Changed state INIT -> REAUTHENTICATION
Debug : (2.0) h9-auth-server - load session {
Debug : (2.0) h9-auth-server - | eap-aka-sim.Session-ID
Debug : (2.0) h9-auth-server - | %{eap-aka-sim.Session-ID}
Debug : (2.0) h9-auth-server - | -->
0x34374631353345367a547775664157
Debug : (2.0) eap_aka_cache - Found entry for "47F153E6zTwufAW"
Debug : (2.0) eap_aka_cache - Merging cache entry into request
Debug : (2.0) eap_aka_cache - &session-State.Session-Data :=
0xd9407284e28f09c788dd047dbd2350adcf91a5ef
Debug : (2.0) eap_aka_cache - &session-State.Permanent-Identity :=
'10026000000000(a)wlan.mnc11343.mcc0.3gppnetwork.org'
Debug : (2.0) h9-auth-server - eap_aka_cache (updated)
Debug : (2.0) h9-auth-server - ok (ok)
Debug : (2.0) h9-auth-server - | debug_attr
INFO : (2.0) h9-auth-server - Attributes matching "&session-state"
INFO : (2.0) h9-auth-server - &session-State.session-State = {
INFO : (2.0) h9-auth-server - Session-Data =
0xd9407284e28f09c788dd047dbd2350adcf91a5ef
INFO : (2.0) h9-auth-server - Permanent-Identity =
10026000000000(a)wlan.mnc11343.mcc0.3gppnetwork.org
INFO : (2.0) h9-auth-server - }
Debug : (2.0) h9-auth-server - | %debug_attr({&session-state})
Debug : (2.0) h9-auth-server - } # send Reauthentication-Request (ok)
Debug : (2.0) h9-auth-server - Generating new session keys
Debug : (2.0) h9-auth-server - No &session-state.Counter attribute
found, can't calculate re-auth keys
Debug : (2.0) h9-auth-server - Composing EAP-Request/Reauthentication
failed. Clearing reply attributes and requesting additional Identity
Debug : (2.0) h9-auth-server - Changed state REAUTHENTICATION ->
AKA-IDENTITY
Debug : (2.0) h9-auth-server - send Identity-Request {
Store session setting in virtual server:
store session {
"%(debug_attr:&session-state)"
eap_aka_cache
"%(debug_attr:&session-state)"
ok
}
Currently my eap_cache is
cache eap_aka_cache {
#
# key:: Cache key.
#
key = "%{eap-aka-sim.Session-ID}"
#
# ttl:: TTL for cache entries.
#
ttl = 150
#
# update <section> { ... }::
#
update session-state {
&session-state.Session-Data :=
&session-state.Session-Data
&Permanent-Identity := "%{session-state.Permanent-Identity}"
&Encr-Data.Counter :=
"%{session-state.Encr-Data.Counter}"
}
}
If i add accessing Counter, it fails as follows:
&session-state.Counter := &session-state.Counter
Debug : Compiling policies in - store session {...}
Error : /usr/local/etc/raddb/mods-enabled/eap-cache[22]: Failed parsing
attribute reference &session-state.Counter - Unresolved attributes are not
allowed here
Error : /usr/local/etc/raddb/mods-enabled/eap-cache[22]:
&session-state.Counter
Error : /usr/local/etc/raddb/mods-enabled/eap-cache[22]: ^
Error : /usr/local/etc/raddb/mods-enabled/eap-cache[22]: Failed creating
map from '&session-state.Counter = &session-state.Counter'
Error : /usr/local/etc/raddb/mods-enabled/eap-cache[1]: Failed parsing
configuration section update
Error : /usr/local/etc/raddb/sites-enabled/h9-auth-server[1006]: Invalid
keyword "eap_aka_cache".
Am i missing any configuration? Can anyone help?
Summary of my setup:
* FreeRadius version4 - Configured, compiled and installed from
master Branch synced on 10th May 2024.
* wpa_supplicant version 2.10
* Ubuntu 20.04 LTS
Thanks,
Deepika
2
4
Hi Team,
I would like to ask your help about IP address comparisons in FreeRADIUS 3.0.27.
I want to restrict a mac-address to a network, but comparison of ip address with a subnet doesn't seems to work as a check items :
11-22-33-44-55-66 NAS-IP-Address < 192.168.8.0/22
/etc/freeradius/3.0/authorized_macs[10]: Parse error (check) for entry 11-22-33-44-55-66: Invalid IPv4 mask length "/22". Only "/32" permitted for non-prefix types
Yet, documentation says it should be possible.
"The syntax allows conditions such as 192.0.2.1 < 192.0.2/24.
This condition will return true, as the IP address 192.0.2.1' is within the network `192.0.2/24."
I also tried casting the attribute, without success :
11-22-33-44-55-66 <ipaddr>NAS-IP-Address < "192.168.8.0/22"
/etc/freeradius/3.0/authorized_macs[10]: Parse error (check) for entry 11-22-33-44-55-66: Invalid attribute name
Do user files have a different behaviour for comparisons and casting ?
I could use regex as a backup solution but it's quickly going to get difficult to read in the file :
11-22-33-44-55-66 NAS-IP-Address =~ "/^192\.168\.(8|9|10|11)\./"
https://freeradius.org/documentation/freeradius-server/4.0.0/raddb/mods-con…
https://freeradius.org/documentation/freeradius-server/3.0.27/unlang/condit…
https://freeradius.org/documentation/freeradius-server/3.0.27/unlang/condit…
Regards,
Corentin BOUILLOUD
========================================================
This message has been scanned for malware. This message and any attachments (the "message") are confidential, intended solely for the addressees, and may contain legally privileged information. Any unauthorised use or dissemination is prohibited. E-mails are susceptible to alteration. Neither our company or any of its subsidiaries or affiliates shall be liable for the message if altered, changed or falsified.
=========================================================
Ce message a ete verifie et ne contient pas de programme malveillant. Ce message et toutes les pieces jointes (ci-apres le "message") sont confidentiels et susceptibles de contenir des informations couvertes par le secret professionnel. Ce message est etabli a l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisee est interdite. Tout message electronique est susceptible d'alteration. Notre societe et ses filiales declinent toute responsabilite au titre de ce message s'il a ete altere, deforme falsifie. O
=========================================================
3
5