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
November 2021
- 36 participants
- 40 discussions
Hello,
FreeRADIUS has been working well for us but we've started to see an increase in attempts to login to some of our devices from unsavory characters.
We have a lot of devices so it would really be useful if FreeRADIUS could log what client the request comes from.
Currently, this is what it looks like when we see a failed login attempt.
1. Login incorrect (pap: Crypt digest does not match "known good" digest): [drew] (from client localhost port 0)
Does anybody know how I can adjust it so that it says something like
1. Login incorrect (pap: Crypt digest does not match "known good" digest): [drew] (from client localhost port 0) from 192.168.55.2
Where 192.168.55.2 is the IP address that sent the RADIUS auth request?
I believe that the information inside of the ( ) is sent from the device itself, I am working with the device MFG to see if they can actually fix their implementation so that it makes the device identifiable that way as well.
Any way to speed up the process of remediation is tremendously helpful.
Thanks,
-Drew
4
12
I uncovered a segfault when no home proxy servers are present. I
boiled down my configuration to an easily reproducible test case, and
made a Docker image to test:
https://github.com/normelton/freeradius-crash/tree/main/raddb
I have a dummy eduroam server configured at the bottom of proxy.conf
and my sites-enabled/default file simply proxies all requests to that
server. Otherwise pretty much everything is right out of the default
config.
Using radclient, my first request is proxied to example.org, which
obviously doesn't respond. Eventually the home server is marked dead.
Then I send a second request, and freeradius crashes. I'll include the
complete debug output below.
Here's the mystery ... this is reproducible in 3.0.20, but is
seemingly fixed in 3.0.21. I reviewed the release notes for 3.0.21,
and don't see anything obviously related. Can anyone confirm this was
actually fixed, versus something that might reappear one day?
If it were a minor bug, I probably wouldn't care. But a segfault is
worth a little more digging.
Thanks!
Norman
FreeRADIUS Version 3.0.20
Copyright (C) 1999-2019 The FreeRADIUS server project and contributors
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE
You may redistribute copies of FreeRADIUS under the terms of the
GNU General Public License
For more information about these matters, see the file named COPYRIGHT
Starting - reading configuration files ...
including dictionary file /usr/share/freeradius/dictionary
including dictionary file /usr/share/freeradius/dictionary.dhcp
including dictionary file /usr/share/freeradius/dictionary.vqp
including dictionary file /etc/freeradius/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/soh
including configuration file /etc/freeradius/mods-enabled/unix
including configuration file /etc/freeradius/mods-enabled/unpack
including configuration file /etc/freeradius/mods-enabled/detail
including configuration file /etc/freeradius/mods-enabled/pap
including configuration file /etc/freeradius/mods-enabled/sradutmp
including configuration file /etc/freeradius/mods-enabled/dynamic_clients
including configuration file /etc/freeradius/mods-enabled/passwd
including configuration file /etc/freeradius/mods-enabled/digest
including configuration file /etc/freeradius/mods-enabled/date
including configuration file /etc/freeradius/mods-enabled/preprocess
including configuration file /etc/freeradius/mods-enabled/files
including configuration file /etc/freeradius/mods-enabled/expiration
including configuration file /etc/freeradius/mods-enabled/eap
including configuration file /etc/freeradius/mods-enabled/echo
including configuration file /etc/freeradius/mods-enabled/cache_eap
including configuration file /etc/freeradius/mods-enabled/always
including configuration file /etc/freeradius/mods-enabled/detail.log
including configuration file /etc/freeradius/mods-enabled/realm
including configuration file /etc/freeradius/mods-enabled/utf8
including configuration file /etc/freeradius/mods-enabled/mschap
including configuration file /etc/freeradius/mods-enabled/chap
including configuration file /etc/freeradius/mods-enabled/linelog
including configuration file /etc/freeradius/mods-enabled/ntlm_auth
including configuration file /etc/freeradius/mods-enabled/logintime
including configuration file /etc/freeradius/mods-enabled/radutmp
including configuration file /etc/freeradius/mods-enabled/replicate
including configuration file /etc/freeradius/mods-enabled/exec
including configuration file /etc/freeradius/mods-enabled/attr_filter
including configuration file /etc/freeradius/mods-enabled/expr
including files in directory /etc/freeradius/policy.d/
including configuration file /etc/freeradius/policy.d/control
including configuration file /etc/freeradius/policy.d/rfc7542
including configuration file /etc/freeradius/policy.d/operator-name
including configuration file /etc/freeradius/policy.d/canonicalization
including configuration file /etc/freeradius/policy.d/moonshot-targeted-ids
including configuration file /etc/freeradius/policy.d/debug
including configuration file /etc/freeradius/policy.d/dhcp
including configuration file /etc/freeradius/policy.d/abfab-tr
including configuration file /etc/freeradius/policy.d/filter
including configuration file /etc/freeradius/policy.d/eap
including configuration file /etc/freeradius/policy.d/accounting
including configuration file /etc/freeradius/policy.d/cui
including files in directory /etc/freeradius/sites-enabled/
including configuration file /etc/freeradius/sites-enabled/default
including configuration file /etc/freeradius/sites-enabled/inner-tunnel
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 eduroam-1 {
ipaddr = www.example.org IPv4 address [93.184.216.34]
port = 1812
type = "auth+acct"
secret = <<< secret >>>
response_window = 5.000000
response_timeouts = 1
max_outstanding = 65536
zombie_period = 20
status_check = "none"
ping_interval = 30
check_interval = 10
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 {
}
home_server_pool eduroam-pool {
type = client-balance
home_server = eduroam-1
}
realm eduroam {
pool = eduroam-pool
nostrip
}
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 docker-network {
ipaddr = 172.18.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)
systemd watchdog is disabled
# Creating Auth-Type = mschap
# Creating Auth-Type = eap
# Creating Auth-Type = PAP
# Creating Auth-Type = CHAP
# Creating Auth-Type = MS-CHAP
radiusd: #### Instantiating modules ####
modules {
# Loaded module rlm_soh
# Loading module "soh" from file /etc/freeradius/mods-enabled/soh
soh {
dhcp = 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_unpack
# Loading module "unpack" from file /etc/freeradius/mods-enabled/unpack
# 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_pap
# Loading module "pap" from file /etc/freeradius/mods-enabled/pap
pap {
normalise = yes
}
# 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_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_digest
# Loading module "digest" from file /etc/freeradius/mods-enabled/digest
# 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_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_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_expiration
# Loading module "expiration" from file /etc/freeradius/mods-enabled/expiration
# Loaded module rlm_eap
# Loading module "eap" from file /etc/freeradius/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/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_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
}
# 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_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_utf8
# Loading module "utf8" from file /etc/freeradius/mods-enabled/utf8
# 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_chap
# Loading module "chap" from file /etc/freeradius/mods-enabled/chap
# 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}"
}
# Loading module "ntlm_auth" from file /etc/freeradius/mods-enabled/ntlm_auth
exec ntlm_auth {
wait = yes
program = "/path/to/ntlm_auth --request-nt-key --domain=MYDOMAIN
--username=%{mschap:User-Name} --password=%{User-Password}"
shell_escape = yes
}
# Loaded module rlm_logintime
# Loading module "logintime" from file /etc/freeradius/mods-enabled/logintime
logintime {
minimum_timeout = 60
}
# 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_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_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
}
# Loaded module rlm_expr
# Loading module "expr" from file /etc/freeradius/mods-enabled/expr
expr {
safe_characters =
"@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_:
/äéöüàâæçèéêëîïôœùûüaÿÄÉÖÜßÀÂÆÇÈÉÊËÎÏÔŒÙÛÜŸ"
}
instantiate {
}
# Instantiating module "detail" from file /etc/freeradius/mods-enabled/detail
# Instantiating module "pap" from file /etc/freeradius/mods-enabled/pap
# Instantiating module "etc_passwd" from file
/etc/freeradius/mods-enabled/passwd
rlm_passwd: nfields: 3 keyfield 0(User-Name) listable: no
# Instantiating module "preprocess" from file
/etc/freeradius/mods-enabled/preprocess
reading pairlist file /etc/freeradius/mods-config/preprocess/huntgroups
reading pairlist file /etc/freeradius/mods-config/preprocess/hints
# Instantiating module "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 "expiration" from file
/etc/freeradius/mods-enabled/expiration
# Instantiating module "eap" from file /etc/freeradius/mods-enabled/eap
# Linked to sub-module rlm_eap_md5
# Linked to sub-module rlm_eap_leap
# Linked to sub-module rlm_eap_gtc
gtc {
challenge = "Password: "
auth_type = "PAP"
}
# Linked to sub-module rlm_eap_tls
tls {
tls = "tls-common"
}
tls-config tls-common {
verify_depth = 0
ca_path = "/etc/freeradius/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 >>>
dh_file = "/etc/freeradius/certs/dh"
fragment_size = 1024
include_length = yes
auto_chain = yes
check_crl = no
check_all_crl = no
cipher_list = "DEFAULT"
cipher_server_preference = no
ecdh_curve = "prime256v1"
disable_tlsv1 = 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 = yes
url = "http://127.0.0.1/ocsp/"
use_nonce = yes
timeout = 0
softfail = no
}
}
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 "cache_eap" from file
/etc/freeradius/mods-enabled/cache_eap
rlm_cache (cache_eap): Driver rlm_cache_rbtree (module
rlm_cache_rbtree) loaded and linked
# Instantiating module "reject" from file /etc/freeradius/mods-enabled/always
# Instantiating module "fail" from file /etc/freeradius/mods-enabled/always
# Instantiating module "ok" from file /etc/freeradius/mods-enabled/always
# Instantiating module "handled" from file /etc/freeradius/mods-enabled/always
# Instantiating module "invalid" from file /etc/freeradius/mods-enabled/always
# Instantiating module "userlock" from file /etc/freeradius/mods-enabled/always
# Instantiating module "notfound" from file /etc/freeradius/mods-enabled/always
# Instantiating module "noop" from file /etc/freeradius/mods-enabled/always
# Instantiating module "updated" from file /etc/freeradius/mods-enabled/always
# Instantiating module "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 "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 "mschap" from file /etc/freeradius/mods-enabled/mschap
rlm_mschap (mschap): using internal authentication
# Instantiating module "linelog" from file /etc/freeradius/mods-enabled/linelog
# Instantiating module "log_accounting" from file
/etc/freeradius/mods-enabled/linelog
# Instantiating module "logintime" from file
/etc/freeradius/mods-enabled/logintime
# Instantiating module "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
} # modules
radiusd: #### Loading Virtual Servers ####
server { # from file /etc/freeradius/radiusd.conf
} # server
server default { # from file /etc/freeradius/sites-enabled/default
# Loading authorize {...}
} # server default
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
} # server inner-tunnel
radiusd: #### Opening IP addresses and Ports ####
listen {
type = "auth"
ipaddr = *
port = 0
}
listen {
type = "auth"
ipaddr = 127.0.0.1
port = 18120
}
Listening on auth address * port 1812 bound to server default
Listening on auth address 127.0.0.1 port 18120 bound to server inner-tunnel
Listening on proxy address * port 53271
Ready to process requests
(0) Received Access-Request Id 204 from 172.18.0.3:48457 to
172.18.0.2:1812 length 41
(0) User-Name = "testuser(a)realm.edu"
(0) # Executing section authorize from file
/etc/freeradius/sites-enabled/default
(0) authorize {
(0) [preprocess] = ok
(0) update control {
(0) Proxy-To-Realm := "eduroam"
(0) } # update control = noop
(0) } # authorize = ok
(0) Starting proxy to home server 93.184.216.34 port 1812
(0) server default {
(0) }
(0) Proxying request to home server 93.184.216.34 port 1812 timeout 5.000000
(0) Sent Access-Request Id 228 from 0.0.0.0:53271 to
93.184.216.34:1812 length 76
(0) User-Name = "testuser(a)realm.edu"
(0) Event-Timestamp = "Nov 22 2021 01:25:39 UTC"
(0) NAS-IP-Address = 172.18.0.3
(0) Message-Authenticator := 0x00
(0) Proxy-State = 0x323034
Waking up in 0.3 seconds.
(0) Expecting proxy response no later than 4.663611 seconds from now
Waking up in 4.6 seconds.
(0) No proxy response, giving up on request and marking it done
Marking home server 93.184.216.34 port 1812 as zombie (it has not
responded in 5.000000 seconds).
(0) ERROR: Failing proxied request for user "testuser(a)realm.edu", due
to lack of any response from home server 93.184.216.34 port 1812
(0) Clearing existing &reply: attributes
(0) Found Post-Proxy-Type Fail-Authentication
(0) server default {
(0) Post-Proxy-Type sub-section not found. Ignoring.
(0) }
(0) Login incorrect (Home Server failed to respond):
[testuser(a)realm.edu] (from client docker-network port 0)
(0) There was no response configured: rejecting request
(0) Using Post-Auth-Type Reject
(0) Post-Auth-Type sub-section not found. Ignoring.
(0) Sent Access-Reject Id 204 from 172.18.0.2:1812 to 172.18.0.3:48457 length 0
(0) Finished request
Waking up in 4.9 seconds.
(0) Cleaning up request packet ID 204 with timestamp +2
Waking up in 9.7 seconds.
PING: Zombie period is over for home server eduroam-1
Marking home server 93.184.216.34 port 1812 as dead.
PING: Reviving home server eduroam-1 in 120 seconds
Waking up in 119.9 seconds.
(1) Received Access-Request Id 39 from 172.18.0.3:46573 to
172.18.0.2:1812 length 41
(1) User-Name = "testuser(a)realm.edu"
(1) # Executing section authorize from file
/etc/freeradius/sites-enabled/default
(1) authorize {
(1) [preprocess] = ok
(1) update control {
(1) Proxy-To-Realm := "eduroam"
(1) } # update control = noop
(1) } # authorize = ok
(1) ERROR: Failed to find live home server: Cancelling proxy
(1) WARNING: No home server selected
(1) Clearing existing &reply: attributes
(1) Found Post-Proxy-Type Fail-Authentication
Segmentation fault
2
2
Re: rlm_python works in -X, fatal signal when started using systemctl (pRet is NULL)
by Aren Sandersen 19 Nov '21
by Aren Sandersen 19 Nov '21
19 Nov '21
This might be as simple as adding a parameter to your detach() function in
your Python code, or commenting it out the func_detach line entirely in
mods-enabled/python3:
See
https://github.com/FreeRADIUS/freeradius-server/commit/a6d33ebd51851a8d0c1d…
Which fixes a bug in the sample code.
Aren
Python 3.8.10
> Ubuntu 20.04.3 LTS
> FreeRADIUS 3.0.20
>
> When I go to start freeradius with systemctl I get the following:
>
> Job for freeradius.service failed because a fatal signal was delivered to
> the control process.
>
> See "systemctl status freeradius.service" and "journalctl -xe" for details.
>
> in journalctl -xe I find:
>
> Nov 13 16:28:51 radius-2.tor2 freeradius[318065]: # Skipping contents of
> 'if' as it is always 'false' --
> /etc/freeradius/3.0/sites-enabled/inner-tunnel:3>
> Nov 13 16:28:51 radius-2.tor2 freeradius[318065]: radiusd: #### Skipping
> IP addresses and Ports ####
> Nov 13 16:28:51 radius-2.tor2 freeradius[318065]: Configuration appears to
> be OK
> Nov 13 16:28:51 radius-2.tor2 freeradius[318065]: do_python_single:568,
> detach - pRet is NULL
> Nov 13 16:28:51 radius-2.tor2 freeradius[318065]: python_error_log:200,
> Exception type: <class 'TypeError'>, Exception value: detach() takes 0
> positional >
>
3
5
** WiFi Spoofing for fun and profit
--------------------------------------------
You can spend as much time as you want securing your RADIUS infrastructure and the rest of your network. But are you really secure?
In this article, we show just how easy it is to convince supplicants to send user credentials such as names and passwords to pretty much anyone. Ouch!
Spoiler alert: It’s really easy.
Read the full article...
https://networkradius.com/articles/2021/08/04/wifi-spoofing.html
** Sign up to get this content directly
---------------------------------------------
Want to get these articles in all their HTML glory?
Sign up here: http://eepurl.com/hwuWrn
** Need RADIUS help?
---------------------------------------------
Get commercial support from the team behind FreeRADIUS.
https://networkradius.com/contact/
** What is the relationship between Network RADIUS and FreeRADIUS?
----------------------------------------------
FreeRADIUS is an open source implementation of the RADIUS protocol and was written by Alan DeKok in 1999.
Network RADIUS is a private, for-profit company founded by Alan DeKok which provides commercial support for FreeRADIUS. The Network RADIUS team has been the primary contributor to FreeRADIUS for the last 20 years. The FreeRADIUS mailing list, wiki, and documentation are all moderated and maintained by the Network RADIUS team.
FreeRADIUS has always been, and will always continue to be, open source. The Network RADIUS team provides commercial support to paying clients, and free product development for the FreeRADIUS community at large.
All of our software development for FreeRADIUS is integrated into the Open Source platform, and will always continue to be.
1
0
19 Nov '21
freeradius-users(a)lists.freeradius.org.
Hi Experts,
I am currently testing FR4 with EAP-SIM but I got an issue during the
testing.
I was using rlm_passwd to authenticate an EAP-SIM on Freeradius version
3.0.25 without any issue.
Below is the captured from FR3.0.25
##############################################
# Executing section authorize from file
/usr/local/etc/raddb/sites-enabled/poc
(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) passwd: Added EAP-Sim-Rand1: '0x8BE6041AB9AE4949AAB34C2E697D4330' to
config
(4) passwd: Added EAP-Sim-SRES1: '0xACad2feb' to config
(4) passwd: Added EAP-Sim-KC1: '0xC6af97f7648c353c' to config
(4) passwd: Added EAP-Sim-Rand2: '0x46B91FCA6A114040BA815D1B4B6404A5' to
config
(4) passwd: Added EAP-Sim-SRES2: '0x0644dc96' to config
(4) passwd: Added EAP-Sim-KC2: '0xD1bd98aa5Eef2ccb' to config
(4) passwd: Added EAP-Sim-Rand3: '0x41B39F18DD9D43c2A2BC0E1F40CA1B6D' to
config
(4) passwd: Added EAP-Sim-SRES3: '0x985ae7d5' to config
(4) passwd: Added EAP-Sim-KC3: '0x7768bbc0ED32df07' to config
(4) [passwd] = ok
##############################################
But with Freeradius version 4, I got an error like this.* eap-sim - ERROR:
Failed retrieving SIM vectors and it doesn’t hit the passwd file like what
I did from version 3.0.25*
##############################################
(1) policy filter_username {
(1) if (&State) {
(1) if (&User-Name) {
(1) if (!&session-state.Session-State-User-Name) {
(1) ...
(1) }
(1) if (&User-Name != &session-state.Session-State-User-Name) {
(1) ...
(1) }
(1) } # if (&User-Name) (noop)
(1) } # if (&State) (noop)
(1) } # policy filter_username (noop)
(1*) passwd (notfound)*
(1) chap (noop)
(1) mschap (noop)
(1) digest (noop)
(1) eap - Peer sent EAP Response (code 2) ID 2 length 7
(1) eap - Continuing on-going EAP conversation
(1) eap - Setting &control.Auth-Type = eap
(1) eap (updated)
(1) files - EXPAND %{%{Stripped-User-Name}:-%{User-Name}}
(1) files - --> 1525016105897825(a)wlan.mnc001.mcc525.3gppnetwork.org
*(1) files - WARNING: Failed evaluating check item, skipping entry: No
matching "Framed-Protocol" pairs found*
(1) files - Found match "DEFAULT" on line 153 of
/usr/local/etc/raddb/mods-config/files/authorize
(1) files (ok)
(1) policy expiration {
(1) if (&control.Expiration) {
(1) ...
(1) }
(1) } # policy expiration (updated)
(1) logintime (noop)
(1) pap (noop)
(1) } # recv Access-Request (updated)
(1) radius - Running 'authenticate eap' from file
/usr/local/etc/raddb/sites-enabled/aruba
(1) authenticate eap {
(1) eap - Continuing EAP session
(1) eap - Peer sent packet with EAP method NAK (3)
(1) eap - Found mutually acceptable type SIM (18)
(1) eap - Calling submodule eap_sim
(1) subrequest {
(1.0) eap-sim - Stripping 'hint' byte from Permanent-Identity
(1.0) eap-sim - &session-state.Permanent-Identity = "
525016105897825(a)wlan.mnc001.mcc525.3gppnetwork.org"
(1.0) recv Identity-Response {
(1.0) ok (ok)
(1.0) } # recv Identity-Response (ok)
(1.0) eap-sim - New EAP-SIM session
(1.0) eap-sim - Changed state INIT -> SIM-CHALLENGE
(1.0) send Challenge-Request {
(1.0) ok (ok)
(1.0) } # send Challenge-Request (ok)
(1.0) eap-sim - Acquiring GSM vector(s)
*(1.0) eap-sim - WARNING: Could not find or derive data for GSM
vector[0]*
*(1.0) eap-sim - ERROR: Failed retrieving SIM vectors*
(1.0) eap-sim (fail)
(1.0) eap.sim (fail)
(1) subrequest - Resuming execution
(1) } # subrequest (noop)
##############################################
anyone can guide me where to look for this issue?
-VK
2
1
Hello to all,
I state that I am a beginner and I followed some guidelines to install the
freeradius, I wanted to connect wifi via radius to the active directories,
but when I configured ldap I always find this error
rlm_ldap (ldap): Opening additional connection (0), 1 of 32 pending slots
used
rlm_ldap (ldap): Connecting to ldap//xxx.xxxxx.local:389
rlm_ldap (ldap): Waiting for bind result...
rlm_ldap (ldap): Bind credentials incorrect: Invalid credentials
rlm_ldap (ldap): Server said: 80090308: LdapErr: DSID-0C090439, comment:
AcceptSecurityContext error, data 52e, v4563.
rlm_ldap (ldap): Opening connection failed (0)
whit
ldapsearch -H ldap://xxx.xxx.local -x -D
'cn=xxxxx,cn=users,dc=xxxxxxx,dc=local' -w P12344555551 -b
"DC=bxxxxxxxx,DC=local" -a always "(objectClass=User)" cn
it works perfectly
I don't know what to feel anymore, I find nothing to help me overcome the
rock,
the ad server is a windows server 2019.
you can help me ?
3
7
rlm_python works in -X, fatal signal when started using systemctl (pRet is NULL)
by Jonathan Davis 16 Nov '21
by Jonathan Davis 16 Nov '21
16 Nov '21
Python 3.8.10
Ubuntu 20.04.3 LTS
FreeRADIUS 3.0.20
When I go to start freeradius with systemctl I get the following:
Job for freeradius.service failed because a fatal signal was delivered to the control process.
See "systemctl status freeradius.service" and "journalctl -xe" for details.
in journalctl -xe I find:
Nov 13 16:28:51 radius-2.tor2 freeradius[318065]: # Skipping contents of 'if' as it is always 'false' -- /etc/freeradius/3.0/sites-enabled/inner-tunnel:3>
Nov 13 16:28:51 radius-2.tor2 freeradius[318065]: radiusd: #### Skipping IP addresses and Ports ####
Nov 13 16:28:51 radius-2.tor2 freeradius[318065]: Configuration appears to be OK
Nov 13 16:28:51 radius-2.tor2 freeradius[318065]: do_python_single:568, detach - pRet is NULL
Nov 13 16:28:51 radius-2.tor2 freeradius[318065]: python_error_log:200, Exception type: <class 'TypeError'>, Exception value: detach() takes 0 positional >
Nov 13 16:28:51 radius-2.tor2 freeradius[318065]: do_python_single:676, detach - RLM_MODULE_FAIL
Nov 13 16:28:51 radius-2.tor2 freeradius[318065]: Fatal Python error: drop_gil: GIL is not locked
Nov 13 16:28:51 radius-2.tor2 freeradius[318065]: Python runtime state: finalizing (tstate=0x5645a861ef50)
Nov 13 16:28:51 radius-2.tor2 freeradius[318065]: Current thread 0x00007fbf9fc1c340 (most recent call first):
Nov 13 16:28:51 radius-2.tor2 freeradius[318065]: <no Python frame>
Nov 13 16:28:51 radius-2.tor2 systemd[1]: freeradius.service: Control process exited, code=killed, status=6/ABRT
-- Subject: Unit process exited
-- Defined-By: systemd
-- Support:http://www.ubuntu.com/support
When running freeradius -Xx the I find the following warning:
Sat Nov 13 16:23:49 2021 : Debug: # Instantiating module "python3" from file /etc/freeradius/3.0/mods-enabled/python3
Sat Nov 13 16:23:49 2021 : Info: Python version: 3.8.10 (default, Sep 28 2021, 16:10:42) [GCC 9.3.0]
Sat Nov 13 16:23:49 2021 : Warning: Libpython is not found among linked libraries
Sat Nov 13 16:23:49 2021 : Warning: Failed loading libpython symbols into global symbol table
Looking for libpython:
10233824 0 lrwxrwxrwx 1 root root 40 Sep 28 16:10 /usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.so -> ../../x86_64-linux-gnu/libpython3.8.so.1
10224821 5324 -rw-r--r-- 1 root root 5449112 Sep 28 16:10 /usr/lib/x86_64-linux-gnu/libpython3.8.so.1.0
10233826 0 lrwxrwxrwx 1 root root 19 Sep 28 16:10 /usr/lib/x86_64-linux-gnu/libpython3.8.so.1 -> libpython3.8.so.1.0
10226896 0 lrwxrwxrwx 1 root root 17 Sep 28 16:10 /usr/lib/x86_64-linux-gnu/libpython3.8.so -> libpython3.8.so.1
I'm not sure where exactly to start, or if the pRet is NULL error is
releated to the libpython warning.
In rlm_python3.c I see the following:
541 if (pass_all_vps_dict) {
542 pDictInput = PyDict_New();
543 if (pDictInput == NULL ||
544 PyDict_SetItemString(pDictInput, "request", PyTuple_GET_ITEM(pArgs,
0)) ||
545 PyDict_SetItemString(pDictInput, "reply", PyTuple_GET_ITEM(pArgs, 1)) ||
546 PyDict_SetItemString(pDictInput, "config", PyTuple_GET_ITEM(pArgs,
2)) ||
547 PyDict_SetItemString(pDictInput, "session-state",
PyTuple_GET_ITEM(pArgs, 3))
548 #ifdef WITH_PROXY
549 ||
550 PyDict_SetItemString(pDictInput, "proxy-request",
PyTuple_GET_ITEM(pArgs, 4)) ||
551 PyDict_SetItemString(pDictInput, "proxy-reply",
PyTuple_GET_ITEM(pArgs, 5))
552 #endif
553 ) {
554
555 ERROR("%s:%d, %s - PyDict_SetItemString failed", __func__, __LINE__,
funcname);
556 ret = RLM_MODULE_FAIL;
557 goto finish;
558 }
559 pRet = PyObject_CallFunctionObjArgs(pFunc, pDictInput, NULL);
560 }
561 else if (pass_all_vps)
562 pRet = PyObject_CallFunctionObjArgs(pFunc, pArgs, NULL);
563 else
564 pRet = PyObject_CallFunctionObjArgs(pFunc, PyTuple_GET_ITEM(pArgs,
0), NULL);
565
566 if (!pRet) {
567 ERROR("%s:%d, %s - pRet is NULL", __func__, __LINE__, funcname);
568 if (PyErr_Occurred()) {
569 python_error_log();
570 }
571 ret = RLM_MODULE_FAIL;
572 goto finish;
573 }
Which leads me to believe neither a tuple or dictionary is being
returned by a python module?
My mods-enabled/python3:
#
# Make sure the PYTHONPATH environmental variable contains the
# directory(s) for the modules listed below.
#
# Uncomment any func_* which are included in your module. If
# rlm_python is called for a section which does not have
# a function defined, it will return NOOP.
#
python3 {
# Path to the python modules
#
# Note that due to limitations on Python, this configuration
# item is GLOBAL TO THE SERVER. That is, you cannot have two
# instances of the python module, each with a different path.
#
# python_path="/path/to/python/files:/another_path/to/python_files/"
module = dr_yubikey
python_path = ${modconfdir}/${.:name}
# Pass all VPS lists as a 6-tuple to the callbacks
# (request, reply, config, state, proxy_req, proxy_reply)
#pass_all_vps = yes
# Pass all VPS lists as a dictionary to the callbacks
# Keys: "request", "reply", "config", "session-state", "proxy-request",
# "proxy-reply"
# This option prevales over "pass_all_vps"
#pass_all_vps_dict = no
mod_instantiate = ${.module}
func_instantiate = instantiate
mod_detach = ${.module}
func_detach = detach
mod_authorize = ${.module}
# func_authorize = authorize
mod_authenticate = ${.module}
func_authenticate = authenticate
mod_preacct = ${.module}
# func_preacct = preacct
mod_accounting = ${.module}
# func_accounting = accounting
mod_checksimul = ${.module}
# func_checksimul = checksimul
mod_pre_proxy = ${.module}
# func_pre_proxy = pre_proxy
mod_post_proxy = ${.module}
# func_post_proxy = post_proxy
mod_post_auth = ${.module}
# func_post_auth = post_auth
mod_recv_coa = ${.module}
# func_recv_coa = recv_coa
mod_send_coa = ${.module}
# func_send_coa = send_coa
}
Full debug from freeradius -Xx:
root@radius-2:/etc/freeradius/3.0# freeradius -Xx
Sat Nov 13 16:43:31 2021 : Debug: Server was built with:
Sat Nov 13 16:43:31 2021 : Debug: accounting : yes
Sat Nov 13 16:43:31 2021 : Debug: authentication : yes
Sat Nov 13 16:43:31 2021 : Debug: ascend-binary-attributes : yes
Sat Nov 13 16:43:31 2021 : Debug: coa : yes
Sat Nov 13 16:43:31 2021 : Debug: control-socket : yes
Sat Nov 13 16:43:31 2021 : Debug: detail : yes
Sat Nov 13 16:43:31 2021 : Debug: dhcp : yes
Sat Nov 13 16:43:31 2021 : Debug: dynamic-clients : yes
Sat Nov 13 16:43:31 2021 : Debug: osfc2 : no
Sat Nov 13 16:43:31 2021 : Debug: proxy : yes
Sat Nov 13 16:43:31 2021 : Debug: regex-pcre : yes
Sat Nov 13 16:43:31 2021 : Debug: regex-posix : no
Sat Nov 13 16:43:31 2021 : Debug: regex-posix-extended : no
Sat Nov 13 16:43:31 2021 : Debug: session-management : yes
Sat Nov 13 16:43:31 2021 : Debug: stats : yes
Sat Nov 13 16:43:31 2021 : Debug: systemd : yes
Sat Nov 13 16:43:31 2021 : Debug: tcp : yes
Sat Nov 13 16:43:31 2021 : Debug: threads : yes
Sat Nov 13 16:43:31 2021 : Debug: tls : yes
Sat Nov 13 16:43:31 2021 : Debug: unlang : yes
Sat Nov 13 16:43:31 2021 : Debug: vmps : yes
Sat Nov 13 16:43:31 2021 : Debug: developer : no
Sat Nov 13 16:43:31 2021 : Debug: Server core libs:
Sat Nov 13 16:43:31 2021 : Debug: freeradius-server : 3.0.20
Sat Nov 13 16:43:31 2021 : Debug: talloc : 2.3.*
Sat Nov 13 16:43:31 2021 : Debug: ssl : 1.1.1f release
Sat Nov 13 16:43:31 2021 : Debug: pcre : 8.39 2016-06-14
Sat Nov 13 16:43:31 2021 : Debug: Endianness:
Sat Nov 13 16:43:31 2021 : Debug: little
Sat Nov 13 16:43:31 2021 : Debug: Compilation flags:
Sat Nov 13 16:43:31 2021 : Debug: cppflags : -Wdate-time -D_FORTIFY_SOURCE=2
Sat Nov 13 16:43:31 2021 : Debug: cflags : -I. -Isrc -include src/freeradius-devel/autoconf.h -include src/freeradius-devel/build.h -include src/freeradius-devel/features.h -include src/freeradius-devel/radpaths.h -fno-strict-aliasing -Wno-date-time -g -O2 -fdebug-prefix-map=/build/freeradius-bYNMsp/freeradius-3.0.20+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -std=c99 -D_GNU_SOURCE -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DOPENSSL_NO_KRB5 -DNDEBUG -DIS_MODULE=1
Sat Nov 13 16:43:31 2021 : Debug: ldflags : -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now
Sat Nov 13 16:43:31 2021 : Debug: libs : -lcrypto -lssl -ltalloc -latomic -lpcre -lcap -lnsl -lresolv -ldl -lpthread -lreadline
Sat Nov 13 16:43:31 2021 : Debug:
Sat Nov 13 16:43:31 2021 : Info: FreeRADIUS Version 3.0.20
Sat Nov 13 16:43:31 2021 : Info: Copyright (C) 1999-2019 The FreeRADIUS server project and contributors
Sat Nov 13 16:43:31 2021 : Info: There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
Sat Nov 13 16:43:31 2021 : Info: PARTICULAR PURPOSE
Sat Nov 13 16:43:31 2021 : Info: You may redistribute copies of FreeRADIUS under the terms of the
Sat Nov 13 16:43:31 2021 : Info: GNU General Public License
Sat Nov 13 16:43:31 2021 : Info: For more information about these matters, see the file named COPYRIGHT
Sat Nov 13 16:43:31 2021 : Info: Starting - reading configuration files ...
Sat Nov 13 16:43:31 2021 : Debug: including dictionary file /usr/share/freeradius/dictionary
Sat Nov 13 16:43:31 2021 : Debug: including dictionary file /usr/share/freeradius/dictionary.dhcp
Sat Nov 13 16:43:31 2021 : Debug: including dictionary file /usr/share/freeradius/dictionary.vqp
Sat Nov 13 16:43:31 2021 : Debug: including dictionary file /etc/freeradius/3.0/dictionary
Sat Nov 13 16:43:31 2021 : Debug: including configuration file /etc/freeradius/3.0/radiusd.conf
Sat Nov 13 16:43:31 2021 : Debug: including configuration file /etc/freeradius/3.0/proxy.conf
Sat Nov 13 16:43:31 2021 : Debug: including configuration file /etc/freeradius/3.0/clients.conf
Sat Nov 13 16:43:31 2021 : Debug: including files in directory /etc/freeradius/3.0/clients/
Sat Nov 13 16:43:31 2021 : Debug: including configuration file /etc/freeradius/3.0/clients/raritans.conf
Sat Nov 13 16:43:31 2021 : Debug: including configuration file /etc/freeradius/3.0/clients/sc.conf
Sat Nov 13 16:43:31 2021 : Debug: including configuration file /etc/freeradius/3.0/clients/linux-servers.conf
Sat Nov 13 16:43:31 2021 : Debug: including files in directory /etc/freeradius/3.0/mods-enabled/
Sat Nov 13 16:43:31 2021 : Debug: including configuration file /etc/freeradius/3.0/mods-enabled/exec
Sat Nov 13 16:43:31 2021 : Debug: including configuration file /etc/freeradius/3.0/mods-enabled/chap
Sat Nov 13 16:43:31 2021 : Debug: including configuration file /etc/freeradius/3.0/mods-enabled/cache_eap
Sat Nov 13 16:43:31 2021 : Debug: including configuration file /etc/freeradius/3.0/mods-enabled/ntlm_auth
Sat Nov 13 16:43:31 2021 : Debug: including configuration file /etc/freeradius/3.0/mods-enabled/sradutmp
Sat Nov 13 16:43:31 2021 : Debug: including configuration file /etc/freeradius/3.0/mods-enabled/pap
Sat Nov 13 16:43:31 2021 : Debug: including configuration file /etc/freeradius/3.0/mods-enabled/preprocess
Sat Nov 13 16:43:31 2021 : Debug: including configuration file /etc/freeradius/3.0/mods-enabled/logintime
Sat Nov 13 16:43:31 2021 : Debug: including configuration file /etc/freeradius/3.0/mods-enabled/attr_filter
Sat Nov 13 16:43:31 2021 : Debug: including configuration file /etc/freeradius/3.0/mods-enabled/passwd
Sat Nov 13 16:43:31 2021 : Debug: including configuration file /etc/freeradius/3.0/mods-enabled/always
Sat Nov 13 16:43:31 2021 : Debug: including configuration file /etc/freeradius/3.0/mods-enabled/unpack
Sat Nov 13 16:43:31 2021 : Debug: including configuration file /etc/freeradius/3.0/mods-enabled/detail.log
Sat Nov 13 16:43:31 2021 : Debug: including configuration file /etc/freeradius/3.0/mods-enabled/soh
Sat Nov 13 16:43:31 2021 : Debug: including configuration file /etc/freeradius/3.0/mods-enabled/utf8
Sat Nov 13 16:43:31 2021 : Debug: including configuration file /etc/freeradius/3.0/mods-enabled/echo
Sat Nov 13 16:43:31 2021 : Debug: including configuration file /etc/freeradius/3.0/mods-enabled/detail
Sat Nov 13 16:43:31 2021 : Debug: including configuration file /etc/freeradius/3.0/mods-enabled/python3
Sat Nov 13 16:43:31 2021 : Debug: including configuration file /etc/freeradius/3.0/mods-enabled/mschap
Sat Nov 13 16:43:31 2021 : Debug: including configuration file /etc/freeradius/3.0/mods-enabled/radutmp
Sat Nov 13 16:43:31 2021 : Debug: including configuration file /etc/freeradius/3.0/mods-enabled/expiration
Sat Nov 13 16:43:31 2021 : Debug: including configuration file /etc/freeradius/3.0/mods-enabled/realm
Sat Nov 13 16:43:31 2021 : Debug: including configuration file /etc/freeradius/3.0/mods-enabled/linelog
Sat Nov 13 16:43:31 2021 : Debug: including configuration file /etc/freeradius/3.0/mods-enabled/sql
Sat Nov 13 16:43:31 2021 : Debug: including configuration file /etc/freeradius/3.0/mods-config/sql/main/sqlite/queries.conf
Sat Nov 13 16:43:31 2021 : Debug: including configuration file /etc/freeradius/3.0/mods-config/sql/main/sqlite/queries.conf
Sat Nov 13 16:43:31 2021 : Debug: including configuration file /etc/freeradius/3.0/mods-config/sql/main/sqlite/queries.conf
Sat Nov 13 16:43:31 2021 : Debug: including configuration file /etc/freeradius/3.0/mods-enabled/dynamic_clients
Sat Nov 13 16:43:31 2021 : Debug: including configuration file /etc/freeradius/3.0/mods-enabled/replicate
Sat Nov 13 16:43:31 2021 : Debug: including configuration file /etc/freeradius/3.0/mods-enabled/digest
Sat Nov 13 16:43:31 2021 : Debug: including configuration file /etc/freeradius/3.0/mods-enabled/pam
Sat Nov 13 16:43:31 2021 : Debug: including configuration file /etc/freeradius/3.0/mods-enabled/unix
Sat Nov 13 16:43:31 2021 : Debug: including configuration file /etc/freeradius/3.0/mods-enabled/files
Sat Nov 13 16:43:31 2021 : Debug: including configuration file /etc/freeradius/3.0/mods-enabled/expr
Sat Nov 13 16:43:31 2021 : Debug: including files in directory /etc/freeradius/3.0/policy.d/
Sat Nov 13 16:43:31 2021 : Debug: including configuration file /etc/freeradius/3.0/policy.d/rfc7542
Sat Nov 13 16:43:31 2021 : Debug: including configuration file /etc/freeradius/3.0/policy.d/eap
Sat Nov 13 16:43:31 2021 : Debug: including configuration file /etc/freeradius/3.0/policy.d/operator-name
Sat Nov 13 16:43:31 2021 : Debug: including configuration file /etc/freeradius/3.0/policy.d/abfab-tr
Sat Nov 13 16:43:31 2021 : Debug: including configuration file /etc/freeradius/3.0/policy.d/dhcp
Sat Nov 13 16:43:31 2021 : Debug: including configuration file /etc/freeradius/3.0/policy.d/filter
Sat Nov 13 16:43:31 2021 : Debug: including configuration file /etc/freeradius/3.0/policy.d/accounting
Sat Nov 13 16:43:31 2021 : Debug: including configuration file /etc/freeradius/3.0/policy.d/debug
Sat Nov 13 16:43:31 2021 : Debug: including configuration file /etc/freeradius/3.0/policy.d/cui
Sat Nov 13 16:43:31 2021 : Debug: OPTIMIZING (${policy.cui_require_operator_name} == yes) --> FALSE
Sat Nov 13 16:43:31 2021 : Debug: OPTIMIZING (no == yes) --> FALSE
Sat Nov 13 16:43:31 2021 : Debug: OPTIMIZING (${policy.cui_require_operator_name} == yes) --> FALSE
Sat Nov 13 16:43:31 2021 : Debug: OPTIMIZING (no == yes) --> FALSE
Sat Nov 13 16:43:31 2021 : Debug: including configuration file /etc/freeradius/3.0/policy.d/canonicalization
Sat Nov 13 16:43:31 2021 : Debug: including configuration file /etc/freeradius/3.0/policy.d/moonshot-targeted-ids
Sat Nov 13 16:43:31 2021 : Debug: including configuration file /etc/freeradius/3.0/policy.d/control
Sat Nov 13 16:43:31 2021 : Debug: including files in directory /etc/freeradius/3.0/sites-enabled/
Sat Nov 13 16:43:31 2021 : Debug: including configuration file /etc/freeradius/3.0/sites-enabled/default
Sat Nov 13 16:43:31 2021 : Debug: including configuration file /etc/freeradius/3.0/sites-enabled/linux-servers
Sat Nov 13 16:43:31 2021 : Debug: including configuration file /etc/freeradius/3.0/sites-enabled/sc
Sat Nov 13 16:43:31 2021 : Debug: including configuration file /etc/freeradius/3.0/sites-enabled/raritans
Sat Nov 13 16:43:31 2021 : Debug: including configuration file /etc/freeradius/3.0/sites-enabled/inner-tunnel
Sat Nov 13 16:43:31 2021 : Debug: main {
Sat Nov 13 16:43:31 2021 : Debug: security {
Sat Nov 13 16:43:31 2021 : Debug: user = "root"
Sat Nov 13 16:43:31 2021 : Debug: group = "root"
Sat Nov 13 16:43:31 2021 : Debug: allow_core_dumps = no
Sat Nov 13 16:43:31 2021 : Warning: /etc/freeradius/3.0/radiusd.conf[528]: The item 'max_attributes' is defined, but is unused by the configuration
Sat Nov 13 16:43:31 2021 : Warning: /etc/freeradius/3.0/radiusd.conf[546]: The item 'reject_delay' is defined, but is unused by the configuration
Sat Nov 13 16:43:31 2021 : Warning: /etc/freeradius/3.0/radiusd.conf[566]: The item 'status_server' is defined, but is unused by the configuration
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: name = "radiusd"
Sat Nov 13 16:43:31 2021 : Debug: prefix = "/usr"
Sat Nov 13 16:43:31 2021 : Debug: localstatedir = "/var"
Sat Nov 13 16:43:31 2021 : Debug: logdir = "/var/log/radius"
Sat Nov 13 16:43:31 2021 : Debug: run_dir = "/var/run/radiusd"
Sat Nov 13 16:43:31 2021 : Warning: /etc/freeradius/3.0/radiusd.conf[84]: The item 'exec_prefix' is defined, but is unused by the configuration
Sat Nov 13 16:43:31 2021 : Warning: /etc/freeradius/3.0/radiusd.conf[97]: The item 'confdir' is defined, but is unused by the configuration
Sat Nov 13 16:43:31 2021 : Warning: /etc/freeradius/3.0/radiusd.conf[99]: The item 'certdir' is defined, but is unused by the configuration
Sat Nov 13 16:43:31 2021 : Warning: /etc/freeradius/3.0/radiusd.conf[100]: The item 'cadir' is defined, but is unused by the configuration
Sat Nov 13 16:43:31 2021 : Warning: /etc/freeradius/3.0/radiusd.conf[103]: The item 'db_dir' is defined, but is unused by the configuration
Sat Nov 13 16:43:31 2021 : Warning: /etc/freeradius/3.0/radiusd.conf[137]: The item 'libdir' is defined, but is unused by the configuration
Sat Nov 13 16:43:31 2021 : Warning: /etc/freeradius/3.0/radiusd.conf[148]: The item 'pidfile' is defined, but is unused by the configuration
Sat Nov 13 16:43:31 2021 : Warning: /etc/freeradius/3.0/radiusd.conf[169]: The item 'correct_escapes' is defined, but is unused by the configuration
Sat Nov 13 16:43:31 2021 : Warning: /etc/freeradius/3.0/radiusd.conf[223]: The item 'max_request_time' is defined, but is unused by the configuration
Sat Nov 13 16:43:31 2021 : Warning: /etc/freeradius/3.0/radiusd.conf[242]: The item 'cleanup_delay' is defined, but is unused by the configuration
Sat Nov 13 16:43:31 2021 : Warning: /etc/freeradius/3.0/radiusd.conf[261]: The item 'max_requests' is defined, but is unused by the configuration
Sat Nov 13 16:43:31 2021 : Warning: /etc/freeradius/3.0/radiusd.conf[279]: The item 'hostname_lookups' is defined, but is unused by the configuration
Sat Nov 13 16:43:31 2021 : Warning: /etc/freeradius/3.0/radiusd.conf[382]: The item 'checkrad' is defined, but is unused by the configuration
Sat Nov 13 16:43:31 2021 : Warning: /etc/freeradius/3.0/radiusd.conf[587]: The item 'proxy_requests' is defined, but is unused by the configuration
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: main {
Sat Nov 13 16:43:31 2021 : Debug: name = "radiusd"
Sat Nov 13 16:43:31 2021 : Debug: prefix = "/usr"
Sat Nov 13 16:43:31 2021 : Debug: localstatedir = "/var"
Sat Nov 13 16:43:31 2021 : Debug: sbindir = "/usr/sbin"
Sat Nov 13 16:43:31 2021 : Debug: logdir = "/var/log/radius"
Sat Nov 13 16:43:31 2021 : Debug: run_dir = "/var/run/radiusd"
Sat Nov 13 16:43:31 2021 : Debug: libdir = "/usr/lib64/freeradius"
Sat Nov 13 16:43:31 2021 : Debug: radacctdir = "/var/log/radius/radacct"
Sat Nov 13 16:43:31 2021 : Debug: hostname_lookups = no
Sat Nov 13 16:43:31 2021 : Debug: max_request_time = 30
Sat Nov 13 16:43:31 2021 : Debug: cleanup_delay = 5
Sat Nov 13 16:43:31 2021 : Debug: max_requests = 16384
Sat Nov 13 16:43:31 2021 : Debug: pidfile = "/var/run/radiusd/radiusd.pid"
Sat Nov 13 16:43:31 2021 : Debug: checkrad = "/usr/sbin/checkrad"
Sat Nov 13 16:43:31 2021 : Debug: debug_level = 0
Sat Nov 13 16:43:31 2021 : Debug: proxy_requests = yes
Sat Nov 13 16:43:31 2021 : Debug: log {
Sat Nov 13 16:43:31 2021 : Debug: stripped_names = no
Sat Nov 13 16:43:31 2021 : Debug: auth = no
Sat Nov 13 16:43:31 2021 : Debug: auth_badpass = no
Sat Nov 13 16:43:31 2021 : Debug: auth_goodpass = no
Sat Nov 13 16:43:31 2021 : Debug: colourise = yes
Sat Nov 13 16:43:31 2021 : Debug: msg_denied = "You are already logged in - access denied"
Sat Nov 13 16:43:31 2021 : Warning: /etc/freeradius/3.0/radiusd.conf[297]: The item 'destination' is defined, but is unused by the configuration
Sat Nov 13 16:43:31 2021 : Warning: /etc/freeradius/3.0/radiusd.conf[314]: The item 'file' is defined, but is unused by the configuration
Sat Nov 13 16:43:31 2021 : Warning: /etc/freeradius/3.0/radiusd.conf[322]: The item 'syslog_facility' is defined, but is unused by the configuration
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: resources {
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: security {
Sat Nov 13 16:43:31 2021 : Debug: max_attributes = 200
Sat Nov 13 16:43:31 2021 : Debug: reject_delay = 1.000000
Sat Nov 13 16:43:31 2021 : Debug: status_server = yes
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Warning: /etc/freeradius/3.0/radiusd.conf[84]: The item 'exec_prefix' is defined, but is unused by the configuration
Sat Nov 13 16:43:31 2021 : Warning: /etc/freeradius/3.0/radiusd.conf[97]: The item 'confdir' is defined, but is unused by the configuration
Sat Nov 13 16:43:31 2021 : Warning: /etc/freeradius/3.0/radiusd.conf[99]: The item 'certdir' is defined, but is unused by the configuration
Sat Nov 13 16:43:31 2021 : Warning: /etc/freeradius/3.0/radiusd.conf[100]: The item 'cadir' is defined, but is unused by the configuration
Sat Nov 13 16:43:31 2021 : Warning: /etc/freeradius/3.0/radiusd.conf[103]: The item 'db_dir' is defined, but is unused by the configuration
Sat Nov 13 16:43:31 2021 : Warning: /etc/freeradius/3.0/radiusd.conf[169]: The item 'correct_escapes' is defined, but is unused by the configuration
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: radiusd: #### Loading Realms and Home Servers ####
Sat Nov 13 16:43:31 2021 : Debug: proxy server {
Sat Nov 13 16:43:31 2021 : Debug: retry_delay = 5
Sat Nov 13 16:43:31 2021 : Debug: retry_count = 3
Sat Nov 13 16:43:31 2021 : Debug: default_fallback = no
Sat Nov 13 16:43:31 2021 : Debug: dead_time = 120
Sat Nov 13 16:43:31 2021 : Debug: wake_all_if_all_dead = no
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: home_server localhost {
Sat Nov 13 16:43:31 2021 : Debug: ipaddr = 127.0.0.1
Sat Nov 13 16:43:31 2021 : Debug: port = 1812
Sat Nov 13 16:43:31 2021 : Debug: type = "auth"
Sat Nov 13 16:43:31 2021 : Debug: secret = "testing123"
Sat Nov 13 16:43:31 2021 : Debug: response_window = 20.000000
Sat Nov 13 16:43:31 2021 : Debug: response_timeouts = 1
Sat Nov 13 16:43:31 2021 : Debug: max_outstanding = 65536
Sat Nov 13 16:43:31 2021 : Debug: zombie_period = 40
Sat Nov 13 16:43:31 2021 : Debug: status_check = "status-server"
Sat Nov 13 16:43:31 2021 : Debug: ping_interval = 30
Sat Nov 13 16:43:31 2021 : Debug: check_interval = 30
Sat Nov 13 16:43:31 2021 : Debug: check_timeout = 4
Sat Nov 13 16:43:31 2021 : Debug: num_answers_to_alive = 3
Sat Nov 13 16:43:31 2021 : Debug: revive_interval = 120
Sat Nov 13 16:43:31 2021 : Debug: limit {
Sat Nov 13 16:43:31 2021 : Debug: max_connections = 16
Sat Nov 13 16:43:31 2021 : Debug: max_requests = 0
Sat Nov 13 16:43:31 2021 : Debug: lifetime = 0
Sat Nov 13 16:43:31 2021 : Debug: idle_timeout = 0
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: coa {
Sat Nov 13 16:43:31 2021 : Debug: irt = 2
Sat Nov 13 16:43:31 2021 : Debug: mrt = 16
Sat Nov 13 16:43:31 2021 : Debug: mrc = 5
Sat Nov 13 16:43:31 2021 : Debug: mrd = 30
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: home_server_pool my_auth_failover {
Sat Nov 13 16:43:31 2021 : Debug: type = fail-over
Sat Nov 13 16:43:31 2021 : Debug: home_server = localhost
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: realm example.com {
Sat Nov 13 16:43:31 2021 : Debug: auth_pool = my_auth_failover
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: realm LOCAL {
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: radiusd: #### Loading Clients ####
Sat Nov 13 16:43:31 2021 : Debug: client localhost {
Sat Nov 13 16:43:31 2021 : Debug: ipaddr = 127.0.0.1
Sat Nov 13 16:43:31 2021 : Debug: require_message_authenticator = no
Sat Nov 13 16:43:31 2021 : Debug: secret = "testing123"
Sat Nov 13 16:43:31 2021 : Debug: nas_type = "other"
Sat Nov 13 16:43:31 2021 : Debug: proto = "*"
Sat Nov 13 16:43:31 2021 : Debug: limit {
Sat Nov 13 16:43:31 2021 : Debug: max_connections = 16
Sat Nov 13 16:43:31 2021 : Debug: lifetime = 0
Sat Nov 13 16:43:31 2021 : Debug: idle_timeout = 30
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: Adding client 127.0.0.1/32 (127.0.0.1) to prefix tree 32
Sat Nov 13 16:43:31 2021 : Debug: client localhost_ipv6 {
Sat Nov 13 16:43:31 2021 : Debug: ipv6addr = ::1
Sat Nov 13 16:43:31 2021 : Debug: require_message_authenticator = no
Sat Nov 13 16:43:31 2021 : Debug: secret = "testing123"
Sat Nov 13 16:43:31 2021 : Debug: limit {
Sat Nov 13 16:43:31 2021 : Debug: max_connections = 16
Sat Nov 13 16:43:31 2021 : Debug: lifetime = 0
Sat Nov 13 16:43:31 2021 : Debug: idle_timeout = 30
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: Adding client XX.XX.XX.XX/32 (XX.XX.XX.XX) to prefix tree 32
Sat Nov 13 16:43:31 2021 : Debug: client raritan-001 {
Sat Nov 13 16:43:31 2021 : Debug: ipaddr = XX.XX.XX.XX
Sat Nov 13 16:43:31 2021 : Debug: require_message_authenticator = no
Sat Nov 13 16:43:31 2021 : Debug: secret = "******"
Sat Nov 13 16:43:31 2021 : Debug: nas_type = "other"
Sat Nov 13 16:43:31 2021 : Debug: virtual_server = "raritans"
Sat Nov 13 16:43:31 2021 : Debug: proto = "*"
Sat Nov 13 16:43:31 2021 : Debug: limit {
Sat Nov 13 16:43:31 2021 : Debug: max_connections = 8
Sat Nov 13 16:43:31 2021 : Debug: lifetime = 0
Sat Nov 13 16:43:31 2021 : Debug: idle_timeout = 30
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Info: Debugger not attached
Sat Nov 13 16:43:31 2021 : Info: systemd watchdog is disabled
Sat Nov 13 16:43:31 2021 : Debug: # Creating Auth-Type = PAP
Sat Nov 13 16:43:31 2021 : Debug: # Creating Auth-Type = CHAP
Sat Nov 13 16:43:31 2021 : Debug: # Creating Auth-Type = pam
Sat Nov 13 16:43:31 2021 : Debug: radiusd: #### Instantiating modules ####
Sat Nov 13 16:43:31 2021 : Debug: modules {
Sat Nov 13 16:43:31 2021 : Debug: Loaded rlm_exec, checking if it's valid
Sat Nov 13 16:43:31 2021 : Debug: # Loaded module rlm_exec
Sat Nov 13 16:43:31 2021 : Debug: # Loading module "exec" from file /etc/freeradius/3.0/mods-enabled/exec
Sat Nov 13 16:43:31 2021 : Debug: exec {
Sat Nov 13 16:43:31 2021 : Debug: wait = no
Sat Nov 13 16:43:31 2021 : Debug: input_pairs = "request"
Sat Nov 13 16:43:31 2021 : Debug: shell_escape = yes
Sat Nov 13 16:43:31 2021 : Debug: timeout = 10
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: Loaded rlm_chap, checking if it's valid
Sat Nov 13 16:43:31 2021 : Debug: # Loaded module rlm_chap
Sat Nov 13 16:43:31 2021 : Debug: # Loading module "chap" from file /etc/freeradius/3.0/mods-enabled/chap
Sat Nov 13 16:43:31 2021 : Debug: Loaded rlm_cache, checking if it's valid
Sat Nov 13 16:43:31 2021 : Debug: # Loaded module rlm_cache
Sat Nov 13 16:43:31 2021 : Debug: # Loading module "cache_eap" from file /etc/freeradius/3.0/mods-enabled/cache_eap
Sat Nov 13 16:43:31 2021 : Debug: cache cache_eap {
Sat Nov 13 16:43:31 2021 : Debug: driver = "rlm_cache_rbtree"
Sat Nov 13 16:43:31 2021 : Debug: key = "%{%{control:State}:-%{%{reply:State}:-%{State}}}"
Sat Nov 13 16:43:31 2021 : Debug: ttl = 15
Sat Nov 13 16:43:31 2021 : Debug: max_entries = 0
Sat Nov 13 16:43:31 2021 : Debug: epoch = 0
Sat Nov 13 16:43:31 2021 : Debug: add_stats = no
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: # Loading module "ntlm_auth" from file /etc/freeradius/3.0/mods-enabled/ntlm_auth
Sat Nov 13 16:43:31 2021 : Debug: exec ntlm_auth {
Sat Nov 13 16:43:31 2021 : Debug: wait = yes
Sat Nov 13 16:43:31 2021 : Debug: program = "/path/to/ntlm_auth --request-nt-key --domain=MYDOMAIN --username=%{mschap:User-Name} --password=%{User-Password}"
Sat Nov 13 16:43:31 2021 : Debug: shell_escape = yes
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: Loaded rlm_radutmp, checking if it's valid
Sat Nov 13 16:43:31 2021 : Debug: # Loaded module rlm_radutmp
Sat Nov 13 16:43:31 2021 : Debug: # Loading module "sradutmp" from file /etc/freeradius/3.0/mods-enabled/sradutmp
Sat Nov 13 16:43:31 2021 : Debug: radutmp sradutmp {
Sat Nov 13 16:43:31 2021 : Debug: filename = "/var/log/radius/sradutmp"
Sat Nov 13 16:43:31 2021 : Debug: username = "%{User-Name}"
Sat Nov 13 16:43:31 2021 : Debug: case_sensitive = yes
Sat Nov 13 16:43:31 2021 : Debug: check_with_nas = yes
Sat Nov 13 16:43:31 2021 : Debug: permissions = 420
Sat Nov 13 16:43:31 2021 : Debug: caller_id = no
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: Loaded rlm_pap, checking if it's valid
Sat Nov 13 16:43:31 2021 : Debug: # Loaded module rlm_pap
Sat Nov 13 16:43:31 2021 : Debug: # Loading module "pap" from file /etc/freeradius/3.0/mods-enabled/pap
Sat Nov 13 16:43:31 2021 : Debug: pap {
Sat Nov 13 16:43:31 2021 : Debug: normalise = yes
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: Loaded rlm_preprocess, checking if it's valid
Sat Nov 13 16:43:31 2021 : Debug: # Loaded module rlm_preprocess
Sat Nov 13 16:43:31 2021 : Debug: # Loading module "preprocess" from file /etc/freeradius/3.0/mods-enabled/preprocess
Sat Nov 13 16:43:31 2021 : Debug: preprocess {
Sat Nov 13 16:43:31 2021 : Debug: huntgroups = "/etc/freeradius/3.0/mods-config/preprocess/huntgroups"
Sat Nov 13 16:43:31 2021 : Debug: hints = "/etc/freeradius/3.0/mods-config/preprocess/hints"
Sat Nov 13 16:43:31 2021 : Debug: with_ascend_hack = no
Sat Nov 13 16:43:31 2021 : Debug: ascend_channels_per_line = 23
Sat Nov 13 16:43:31 2021 : Debug: with_ntdomain_hack = no
Sat Nov 13 16:43:31 2021 : Debug: with_specialix_jetstream_hack = no
Sat Nov 13 16:43:31 2021 : Debug: with_cisco_vsa_hack = no
Sat Nov 13 16:43:31 2021 : Debug: with_alvarion_vsa_hack = no
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: Loaded rlm_logintime, checking if it's valid
Sat Nov 13 16:43:31 2021 : Debug: # Loaded module rlm_logintime
Sat Nov 13 16:43:31 2021 : Debug: # Loading module "logintime" from file /etc/freeradius/3.0/mods-enabled/logintime
Sat Nov 13 16:43:31 2021 : Debug: logintime {
Sat Nov 13 16:43:31 2021 : Debug: minimum_timeout = 60
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: Loaded rlm_attr_filter, checking if it's valid
Sat Nov 13 16:43:31 2021 : Debug: # Loaded module rlm_attr_filter
Sat Nov 13 16:43:31 2021 : Debug: # Loading module "attr_filter.post-proxy" from file /etc/freeradius/3.0/mods-enabled/attr_filter
Sat Nov 13 16:43:31 2021 : Debug: attr_filter attr_filter.post-proxy {
Sat Nov 13 16:43:31 2021 : Debug: filename = "/etc/freeradius/3.0/mods-config/attr_filter/post-proxy"
Sat Nov 13 16:43:31 2021 : Debug: key = "%{Realm}"
Sat Nov 13 16:43:31 2021 : Debug: relaxed = no
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: # Loading module "attr_filter.pre-proxy" from file /etc/freeradius/3.0/mods-enabled/attr_filter
Sat Nov 13 16:43:31 2021 : Debug: attr_filter attr_filter.pre-proxy {
Sat Nov 13 16:43:31 2021 : Debug: filename = "/etc/freeradius/3.0/mods-config/attr_filter/pre-proxy"
Sat Nov 13 16:43:31 2021 : Debug: key = "%{Realm}"
Sat Nov 13 16:43:31 2021 : Debug: relaxed = no
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: # Loading module "attr_filter.access_reject" from file /etc/freeradius/3.0/mods-enabled/attr_filter
Sat Nov 13 16:43:31 2021 : Debug: attr_filter attr_filter.access_reject {
Sat Nov 13 16:43:31 2021 : Debug: filename = "/etc/freeradius/3.0/mods-config/attr_filter/access_reject"
Sat Nov 13 16:43:31 2021 : Debug: key = "%{User-Name}"
Sat Nov 13 16:43:31 2021 : Debug: relaxed = no
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: # Loading module "attr_filter.access_challenge" from file /etc/freeradius/3.0/mods-enabled/attr_filter
Sat Nov 13 16:43:31 2021 : Debug: attr_filter attr_filter.access_challenge {
Sat Nov 13 16:43:31 2021 : Debug: filename = "/etc/freeradius/3.0/mods-config/attr_filter/access_challenge"
Sat Nov 13 16:43:31 2021 : Debug: key = "%{User-Name}"
Sat Nov 13 16:43:31 2021 : Debug: relaxed = no
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: # Loading module "attr_filter.accounting_response" from file /etc/freeradius/3.0/mods-enabled/attr_filter
Sat Nov 13 16:43:31 2021 : Debug: attr_filter attr_filter.accounting_response {
Sat Nov 13 16:43:31 2021 : Debug: filename = "/etc/freeradius/3.0/mods-config/attr_filter/accounting_response"
Sat Nov 13 16:43:31 2021 : Debug: key = "%{User-Name}"
Sat Nov 13 16:43:31 2021 : Debug: relaxed = no
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: Loaded rlm_passwd, checking if it's valid
Sat Nov 13 16:43:31 2021 : Debug: # Loaded module rlm_passwd
Sat Nov 13 16:43:31 2021 : Debug: # Loading module "etc_passwd" from file /etc/freeradius/3.0/mods-enabled/passwd
Sat Nov 13 16:43:31 2021 : Debug: passwd etc_passwd {
Sat Nov 13 16:43:31 2021 : Debug: filename = "/etc/passwd"
Sat Nov 13 16:43:31 2021 : Debug: format = "*User-Name:Crypt-Password:"
Sat Nov 13 16:43:31 2021 : Debug: delimiter = ":"
Sat Nov 13 16:43:31 2021 : Debug: ignore_nislike = no
Sat Nov 13 16:43:31 2021 : Debug: ignore_empty = yes
Sat Nov 13 16:43:31 2021 : Debug: allow_multiple_keys = no
Sat Nov 13 16:43:31 2021 : Debug: hash_size = 100
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: Loaded rlm_always, checking if it's valid
Sat Nov 13 16:43:31 2021 : Debug: # Loaded module rlm_always
Sat Nov 13 16:43:31 2021 : Debug: # Loading module "reject" from file /etc/freeradius/3.0/mods-enabled/always
Sat Nov 13 16:43:31 2021 : Debug: always reject {
Sat Nov 13 16:43:31 2021 : Debug: rcode = "reject"
Sat Nov 13 16:43:31 2021 : Debug: simulcount = 0
Sat Nov 13 16:43:31 2021 : Debug: mpp = no
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: # Loading module "fail" from file /etc/freeradius/3.0/mods-enabled/always
Sat Nov 13 16:43:31 2021 : Debug: always fail {
Sat Nov 13 16:43:31 2021 : Debug: rcode = "fail"
Sat Nov 13 16:43:31 2021 : Debug: simulcount = 0
Sat Nov 13 16:43:31 2021 : Debug: mpp = no
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: # Loading module "ok" from file /etc/freeradius/3.0/mods-enabled/always
Sat Nov 13 16:43:31 2021 : Debug: always ok {
Sat Nov 13 16:43:31 2021 : Debug: rcode = "ok"
Sat Nov 13 16:43:31 2021 : Debug: simulcount = 0
Sat Nov 13 16:43:31 2021 : Debug: mpp = no
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: # Loading module "handled" from file /etc/freeradius/3.0/mods-enabled/always
Sat Nov 13 16:43:31 2021 : Debug: always handled {
Sat Nov 13 16:43:31 2021 : Debug: rcode = "handled"
Sat Nov 13 16:43:31 2021 : Debug: simulcount = 0
Sat Nov 13 16:43:31 2021 : Debug: mpp = no
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: # Loading module "invalid" from file /etc/freeradius/3.0/mods-enabled/always
Sat Nov 13 16:43:31 2021 : Debug: always invalid {
Sat Nov 13 16:43:31 2021 : Debug: rcode = "invalid"
Sat Nov 13 16:43:31 2021 : Debug: simulcount = 0
Sat Nov 13 16:43:31 2021 : Debug: mpp = no
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: # Loading module "userlock" from file /etc/freeradius/3.0/mods-enabled/always
Sat Nov 13 16:43:31 2021 : Debug: always userlock {
Sat Nov 13 16:43:31 2021 : Debug: rcode = "userlock"
Sat Nov 13 16:43:31 2021 : Debug: simulcount = 0
Sat Nov 13 16:43:31 2021 : Debug: mpp = no
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: # Loading module "notfound" from file /etc/freeradius/3.0/mods-enabled/always
Sat Nov 13 16:43:31 2021 : Debug: always notfound {
Sat Nov 13 16:43:31 2021 : Debug: rcode = "notfound"
Sat Nov 13 16:43:31 2021 : Debug: simulcount = 0
Sat Nov 13 16:43:31 2021 : Debug: mpp = no
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: # Loading module "noop" from file /etc/freeradius/3.0/mods-enabled/always
Sat Nov 13 16:43:31 2021 : Debug: always noop {
Sat Nov 13 16:43:31 2021 : Debug: rcode = "noop"
Sat Nov 13 16:43:31 2021 : Debug: simulcount = 0
Sat Nov 13 16:43:31 2021 : Debug: mpp = no
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: # Loading module "updated" from file /etc/freeradius/3.0/mods-enabled/always
Sat Nov 13 16:43:31 2021 : Debug: always updated {
Sat Nov 13 16:43:31 2021 : Debug: rcode = "updated"
Sat Nov 13 16:43:31 2021 : Debug: simulcount = 0
Sat Nov 13 16:43:31 2021 : Debug: mpp = no
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: Loaded rlm_unpack, checking if it's valid
Sat Nov 13 16:43:31 2021 : Debug: # Loaded module rlm_unpack
Sat Nov 13 16:43:31 2021 : Debug: # Loading module "unpack" from file /etc/freeradius/3.0/mods-enabled/unpack
Sat Nov 13 16:43:31 2021 : Debug: Loaded rlm_detail, checking if it's valid
Sat Nov 13 16:43:31 2021 : Debug: # Loaded module rlm_detail
Sat Nov 13 16:43:31 2021 : Debug: # Loading module "auth_log" from file /etc/freeradius/3.0/mods-enabled/detail.log
Sat Nov 13 16:43:31 2021 : Debug: detail auth_log {
Sat Nov 13 16:43:31 2021 : Debug: filename = "/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d"
Sat Nov 13 16:43:31 2021 : Debug: header = "%t"
Sat Nov 13 16:43:31 2021 : Debug: permissions = 384
Sat Nov 13 16:43:31 2021 : Debug: locking = no
Sat Nov 13 16:43:31 2021 : Debug: escape_filenames = no
Sat Nov 13 16:43:31 2021 : Debug: log_packet_header = no
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: # Loading module "reply_log" from file /etc/freeradius/3.0/mods-enabled/detail.log
Sat Nov 13 16:43:31 2021 : Debug: detail reply_log {
Sat Nov 13 16:43:31 2021 : Debug: filename = "/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/reply-detail-%Y%m%d"
Sat Nov 13 16:43:31 2021 : Debug: header = "%t"
Sat Nov 13 16:43:31 2021 : Debug: permissions = 384
Sat Nov 13 16:43:31 2021 : Debug: locking = no
Sat Nov 13 16:43:31 2021 : Debug: escape_filenames = no
Sat Nov 13 16:43:31 2021 : Debug: log_packet_header = no
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: # Loading module "pre_proxy_log" from file /etc/freeradius/3.0/mods-enabled/detail.log
Sat Nov 13 16:43:31 2021 : Debug: detail pre_proxy_log {
Sat Nov 13 16:43:31 2021 : Debug: filename = "/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/pre-proxy-detail-%Y%m%d"
Sat Nov 13 16:43:31 2021 : Debug: header = "%t"
Sat Nov 13 16:43:31 2021 : Debug: permissions = 384
Sat Nov 13 16:43:31 2021 : Debug: locking = no
Sat Nov 13 16:43:31 2021 : Debug: escape_filenames = no
Sat Nov 13 16:43:31 2021 : Debug: log_packet_header = no
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: # Loading module "post_proxy_log" from file /etc/freeradius/3.0/mods-enabled/detail.log
Sat Nov 13 16:43:31 2021 : Debug: detail post_proxy_log {
Sat Nov 13 16:43:31 2021 : Debug: filename = "/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/post-proxy-detail-%Y%m%d"
Sat Nov 13 16:43:31 2021 : Debug: header = "%t"
Sat Nov 13 16:43:31 2021 : Debug: permissions = 384
Sat Nov 13 16:43:31 2021 : Debug: locking = no
Sat Nov 13 16:43:31 2021 : Debug: escape_filenames = no
Sat Nov 13 16:43:31 2021 : Debug: log_packet_header = no
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: Loaded rlm_soh, checking if it's valid
Sat Nov 13 16:43:31 2021 : Debug: # Loaded module rlm_soh
Sat Nov 13 16:43:31 2021 : Debug: # Loading module "soh" from file /etc/freeradius/3.0/mods-enabled/soh
Sat Nov 13 16:43:31 2021 : Debug: soh {
Sat Nov 13 16:43:31 2021 : Debug: dhcp = yes
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: Loaded rlm_utf8, checking if it's valid
Sat Nov 13 16:43:31 2021 : Debug: # Loaded module rlm_utf8
Sat Nov 13 16:43:31 2021 : Debug: # Loading module "utf8" from file /etc/freeradius/3.0/mods-enabled/utf8
Sat Nov 13 16:43:31 2021 : Debug: # Loading module "echo" from file /etc/freeradius/3.0/mods-enabled/echo
Sat Nov 13 16:43:31 2021 : Debug: exec echo {
Sat Nov 13 16:43:31 2021 : Debug: wait = yes
Sat Nov 13 16:43:31 2021 : Debug: program = "/bin/echo %{User-Name}"
Sat Nov 13 16:43:31 2021 : Debug: input_pairs = "request"
Sat Nov 13 16:43:31 2021 : Debug: output_pairs = "reply"
Sat Nov 13 16:43:31 2021 : Debug: shell_escape = yes
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: # Loading module "detail" from file /etc/freeradius/3.0/mods-enabled/detail
Sat Nov 13 16:43:31 2021 : Debug: detail {
Sat Nov 13 16:43:31 2021 : Debug: filename = "/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d"
Sat Nov 13 16:43:31 2021 : Debug: header = "%t"
Sat Nov 13 16:43:31 2021 : Debug: permissions = 384
Sat Nov 13 16:43:31 2021 : Debug: locking = no
Sat Nov 13 16:43:31 2021 : Debug: escape_filenames = no
Sat Nov 13 16:43:31 2021 : Debug: log_packet_header = no
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: Loaded rlm_python3, checking if it's valid
Sat Nov 13 16:43:31 2021 : Debug: # Loaded module rlm_python3
Sat Nov 13 16:43:31 2021 : Debug: # Loading module "python3" from file /etc/freeradius/3.0/mods-enabled/python3
Sat Nov 13 16:43:31 2021 : Debug: python3 {
Sat Nov 13 16:43:31 2021 : Debug: mod_instantiate = "dr_yubikey"
Sat Nov 13 16:43:31 2021 : Debug: func_instantiate = "instantiate"
Sat Nov 13 16:43:31 2021 : Debug: mod_authorize = "dr_yubikey"
Sat Nov 13 16:43:31 2021 : Debug: mod_authenticate = "dr_yubikey"
Sat Nov 13 16:43:31 2021 : Debug: func_authenticate = "authenticate"
Sat Nov 13 16:43:31 2021 : Debug: mod_preacct = "dr_yubikey"
Sat Nov 13 16:43:31 2021 : Debug: mod_accounting = "dr_yubikey"
Sat Nov 13 16:43:31 2021 : Debug: mod_checksimul = "dr_yubikey"
Sat Nov 13 16:43:31 2021 : Debug: mod_pre_proxy = "dr_yubikey"
Sat Nov 13 16:43:31 2021 : Debug: mod_post_proxy = "dr_yubikey"
Sat Nov 13 16:43:31 2021 : Debug: mod_post_auth = "dr_yubikey"
Sat Nov 13 16:43:31 2021 : Debug: mod_recv_coa = "dr_yubikey"
Sat Nov 13 16:43:31 2021 : Debug: mod_send_coa = "dr_yubikey"
Sat Nov 13 16:43:31 2021 : Debug: mod_detach = "dr_yubikey"
Sat Nov 13 16:43:31 2021 : Debug: func_detach = "detach"
Sat Nov 13 16:43:31 2021 : Debug: python_path = "/etc/freeradius/3.0/mods-config/python3"
Sat Nov 13 16:43:31 2021 : Debug: cext_compat = yes
Sat Nov 13 16:43:31 2021 : Debug: pass_all_vps = no
Sat Nov 13 16:43:31 2021 : Debug: pass_all_vps_dict = no
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: Loaded rlm_mschap, checking if it's valid
Sat Nov 13 16:43:31 2021 : Debug: # Loaded module rlm_mschap
Sat Nov 13 16:43:31 2021 : Debug: # Loading module "mschap" from file /etc/freeradius/3.0/mods-enabled/mschap
Sat Nov 13 16:43:31 2021 : Debug: mschap {
Sat Nov 13 16:43:31 2021 : Debug: use_mppe = yes
Sat Nov 13 16:43:31 2021 : Debug: require_encryption = no
Sat Nov 13 16:43:31 2021 : Debug: require_strong = no
Sat Nov 13 16:43:31 2021 : Debug: with_ntdomain_hack = yes
Sat Nov 13 16:43:31 2021 : Debug: passchange {
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: allow_retry = yes
Sat Nov 13 16:43:31 2021 : Debug: winbind_retry_with_normalised_username = no
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: # Loading module "radutmp" from file /etc/freeradius/3.0/mods-enabled/radutmp
Sat Nov 13 16:43:31 2021 : Debug: radutmp {
Sat Nov 13 16:43:31 2021 : Debug: filename = "/var/log/radius/radutmp"
Sat Nov 13 16:43:31 2021 : Debug: username = "%{User-Name}"
Sat Nov 13 16:43:31 2021 : Debug: case_sensitive = yes
Sat Nov 13 16:43:31 2021 : Debug: check_with_nas = yes
Sat Nov 13 16:43:31 2021 : Debug: permissions = 384
Sat Nov 13 16:43:31 2021 : Debug: caller_id = yes
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: Loaded rlm_expiration, checking if it's valid
Sat Nov 13 16:43:31 2021 : Debug: # Loaded module rlm_expiration
Sat Nov 13 16:43:31 2021 : Debug: # Loading module "expiration" from file /etc/freeradius/3.0/mods-enabled/expiration
Sat Nov 13 16:43:31 2021 : Debug: Loaded rlm_realm, checking if it's valid
Sat Nov 13 16:43:31 2021 : Debug: # Loaded module rlm_realm
Sat Nov 13 16:43:31 2021 : Debug: # Loading module "IPASS" from file /etc/freeradius/3.0/mods-enabled/realm
Sat Nov 13 16:43:31 2021 : Debug: realm IPASS {
Sat Nov 13 16:43:31 2021 : Debug: format = "prefix"
Sat Nov 13 16:43:31 2021 : Debug: delimiter = "/"
Sat Nov 13 16:43:31 2021 : Debug: ignore_default = no
Sat Nov 13 16:43:31 2021 : Debug: ignore_null = no
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: # Loading module "suffix" from file /etc/freeradius/3.0/mods-enabled/realm
Sat Nov 13 16:43:31 2021 : Debug: realm suffix {
Sat Nov 13 16:43:31 2021 : Debug: format = "suffix"
Sat Nov 13 16:43:31 2021 : Debug: delimiter = "@"
Sat Nov 13 16:43:31 2021 : Debug: ignore_default = no
Sat Nov 13 16:43:31 2021 : Debug: ignore_null = no
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: # Loading module "bangpath" from file /etc/freeradius/3.0/mods-enabled/realm
Sat Nov 13 16:43:31 2021 : Debug: realm bangpath {
Sat Nov 13 16:43:31 2021 : Debug: format = "prefix"
Sat Nov 13 16:43:31 2021 : Debug: delimiter = "!"
Sat Nov 13 16:43:31 2021 : Debug: ignore_default = no
Sat Nov 13 16:43:31 2021 : Debug: ignore_null = no
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: # Loading module "realmpercent" from file /etc/freeradius/3.0/mods-enabled/realm
Sat Nov 13 16:43:31 2021 : Debug: realm realmpercent {
Sat Nov 13 16:43:31 2021 : Debug: format = "suffix"
Sat Nov 13 16:43:31 2021 : Debug: delimiter = "%"
Sat Nov 13 16:43:31 2021 : Debug: ignore_default = no
Sat Nov 13 16:43:31 2021 : Debug: ignore_null = no
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: # Loading module "ntdomain" from file /etc/freeradius/3.0/mods-enabled/realm
Sat Nov 13 16:43:31 2021 : Debug: realm ntdomain {
Sat Nov 13 16:43:31 2021 : Debug: format = "prefix"
Sat Nov 13 16:43:31 2021 : Debug: delimiter = "\\"
Sat Nov 13 16:43:31 2021 : Debug: ignore_default = no
Sat Nov 13 16:43:31 2021 : Debug: ignore_null = no
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: Loaded rlm_linelog, checking if it's valid
Sat Nov 13 16:43:31 2021 : Debug: # Loaded module rlm_linelog
Sat Nov 13 16:43:31 2021 : Debug: # Loading module "linelog" from file /etc/freeradius/3.0/mods-enabled/linelog
Sat Nov 13 16:43:31 2021 : Debug: linelog {
Sat Nov 13 16:43:31 2021 : Debug: filename = "/var/log/radius/linelog"
Sat Nov 13 16:43:31 2021 : Debug: escape_filenames = no
Sat Nov 13 16:43:31 2021 : Debug: syslog_severity = "info"
Sat Nov 13 16:43:31 2021 : Debug: permissions = 384
Sat Nov 13 16:43:31 2021 : Debug: format = "This is a log message for %{User-Name}"
Sat Nov 13 16:43:31 2021 : Debug: reference = "messages.%{%{reply:Packet-Type}:-default}"
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: # Loading module "log_accounting" from file /etc/freeradius/3.0/mods-enabled/linelog
Sat Nov 13 16:43:31 2021 : Debug: linelog log_accounting {
Sat Nov 13 16:43:31 2021 : Debug: filename = "/var/log/radius/linelog-accounting"
Sat Nov 13 16:43:31 2021 : Debug: escape_filenames = no
Sat Nov 13 16:43:31 2021 : Debug: syslog_severity = "info"
Sat Nov 13 16:43:31 2021 : Debug: permissions = 384
Sat Nov 13 16:43:31 2021 : Debug: format = ""
Sat Nov 13 16:43:31 2021 : Debug: reference = "Accounting-Request.%{%{Acct-Status-Type}:-unknown}"
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: Loaded rlm_sql, checking if it's valid
Sat Nov 13 16:43:31 2021 : Debug: # Loaded module rlm_sql
Sat Nov 13 16:43:31 2021 : Debug: # Loading module "sql" from file /etc/freeradius/3.0/mods-enabled/sql
Sat Nov 13 16:43:31 2021 : Debug: sql {
Sat Nov 13 16:43:31 2021 : Debug: driver = "rlm_sql_sqlite"
Sat Nov 13 16:43:31 2021 : Debug: server = ""
Sat Nov 13 16:43:31 2021 : Debug: port = 0
Sat Nov 13 16:43:31 2021 : Debug: login = ""
Sat Nov 13 16:43:31 2021 : Debug: password = ""
Sat Nov 13 16:43:31 2021 : Debug: radius_db = "radius"
Sat Nov 13 16:43:31 2021 : Debug: read_groups = yes
Sat Nov 13 16:43:31 2021 : Debug: read_profiles = yes
Sat Nov 13 16:43:31 2021 : Debug: read_clients = no
Sat Nov 13 16:43:31 2021 : Debug: delete_stale_sessions = yes
Sat Nov 13 16:43:31 2021 : Debug: sql_user_name = "%{User-Name}"
Sat Nov 13 16:43:31 2021 : Debug: default_user_profile = ""
Sat Nov 13 16:43:31 2021 : Debug: client_query = "SELECT id, nasname, shortname, type, secret, server FROM nas"
Sat Nov 13 16:43:31 2021 : Debug: authorize_check_query = "SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id"
Sat Nov 13 16:43:31 2021 : Debug: authorize_reply_query = "SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id"
Sat Nov 13 16:43:31 2021 : Debug: authorize_group_check_query = "SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id"
Sat Nov 13 16:43:31 2021 : Debug: authorize_group_reply_query = "SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id"
Sat Nov 13 16:43:31 2021 : Debug: group_membership_query = "SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority"
Sat Nov 13 16:43:31 2021 : Debug: simul_count_query = "SELECT COUNT(*) FROM radacct WHERE username = '%{SQL-User-Name}' AND acctstoptime IS NULL"
Sat Nov 13 16:43:31 2021 : Debug: simul_verify_query = "SELECT radacctid, acctsessionid, username, nasipaddress, nasportid, framedipaddress, callingstationid, framedprotocol FROM radacct WHERE username = '%{SQL-Group}' AND acctstoptime IS NULL"
Sat Nov 13 16:43:31 2021 : Debug: safe_characters = "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /"
Sat Nov 13 16:43:31 2021 : Debug: auto_escape = no
Sat Nov 13 16:43:31 2021 : Debug: accounting {
Sat Nov 13 16:43:31 2021 : Debug: reference = "%{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query}"
Sat Nov 13 16:43:31 2021 : Debug: type {
Sat Nov 13 16:43:31 2021 : Debug: accounting-on {
Sat Nov 13 16:43:31 2021 : Debug: query = "UPDATE radacct SET acctstoptime = %{%{integer:Event-Timestamp}:-date('now')}, acctsessiontime = (%{%{integer:Event-Timestamp}:-strftime('%%s', 'now')} - strftime('%%s', acctstarttime)), acctterminatecause = '%{Acct-Terminate-Cause}' WHERE acctstoptime IS NULL AND nasipaddress = '%{NAS-IP-Address}' AND acctstarttime <= %{integer:Event-Timestamp}"
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: accounting-off {
Sat Nov 13 16:43:31 2021 : Debug: query = "UPDATE radacct SET acctstoptime = %{%{integer:Event-Timestamp}:-date('now')}, acctsessiontime = (%{%{integer:Event-Timestamp}:-strftime('%%s', 'now')} - strftime('%%s', acctstarttime)), acctterminatecause = '%{Acct-Terminate-Cause}' WHERE acctstoptime IS NULL AND nasipaddress = '%{NAS-IP-Address}' AND acctstarttime <= %{integer:Event-Timestamp}"
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: start {
Sat Nov 13 16:43:31 2021 : Debug: query = "INSERT INTO radacct (acctsessionid, acctuniqueid, username, realm, nasipaddress, nasportid, nasporttype, acctstarttime, acctupdatetime, acctstoptime, acctsessiontime, acctauthentic, connectinfo_start, connectinfo_stop, acctinputoctets, acctoutputoctets, calledstationid, callingstationid, acctterminatecause, servicetype, framedprotocol, framedipaddress, framedipv6address, framedipv6prefix, framedinterfaceid, delegatedipv6prefix) VALUES ('%{Acct-Session-Id}', '%{Acct-Unique-Session-Id}', '%{SQL-User-Name}', '%{Realm}', '%{NAS-IP-Address}', '%{%{NAS-Port-ID}:-%{NAS-Port}}', '%{NAS-Port-Type}', %{%{integer:Event-Timestamp}:-date('now')}, %{%{integer:Event-Timestamp}:-date('now')}, NULL, '0', '%{Acct-Authentic}', '%{Connect-Info}', '', '0', '0', '%{Called-Station-Id}', '%{Calling-Station-Id}', '', '%{Service-Type}', '%{Framed-Protocol}', '%{Framed-IP-Address}', '%{Framed-IPv6-Address}', '%{Framed-IPv6-Prefix}', '%{Framed-Interface-Id}', '%{Delegated-IPv6-Prefix}')"
Sat Nov 13 16:43:31 2021 : Warning: /etc/freeradius/3.0/mods-config/sql/main/sqlite/queries.conf[355]: The item '-query' is defined, but is unused by the configuration
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: interim-update {
Sat Nov 13 16:43:31 2021 : Debug: query = "UPDATE radacct SET acctupdatetime = %{%{integer:Event-Timestamp}:-date('now')}, acctinterval = 0, framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = %{%{Acct-Input-Gigawords}:-0} << 32 | %{%{Acct-Input-Octets}:-0}, acctoutputoctets = %{%{Acct-Output-Gigawords}:-0} << 32 | %{%{Acct-Output-Octets}:-0} WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}'"
Sat Nov 13 16:43:31 2021 : Warning: /etc/freeradius/3.0/mods-config/sql/main/sqlite/queries.conf[462]: The item '-query' is defined, but is unused by the configuration
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: stop {
Sat Nov 13 16:43:31 2021 : Debug: query = "UPDATE radacct SET acctstoptime = %{%{integer:Event-Timestamp}:-date('now')}, acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = %{%{Acct-Input-Gigawords}:-0} << 32 | %{%{Acct-Input-Octets}:-0}, acctoutputoctets = %{%{Acct-Output-Gigawords}:-0} << 32 | %{%{Acct-Output-Octets}:-0}, acctterminatecause = '%{Acct-Terminate-Cause}', connectinfo_stop = '%{Connect-Info}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}'"
Sat Nov 13 16:43:31 2021 : Warning: /etc/freeradius/3.0/mods-config/sql/main/sqlite/queries.conf[555]: The item '-query' is defined, but is unused by the configuration
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: post-auth {
Sat Nov 13 16:43:31 2021 : Debug: reference = ".query"
Sat Nov 13 16:43:31 2021 : Debug: query = "INSERT INTO radpostauth (username, pass, reply, authdate) VALUES ( '%{SQL-User-Name}', '%{%{User-Password}:-%{Chap-Password}}', '%{reply:Packet-Type}', '%S')"
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Info: rlm_sql (sql): Driver rlm_sql_sqlite (module rlm_sql_sqlite) loaded and linked
Sat Nov 13 16:43:31 2021 : Debug: Creating attribute SQL-Group
Sat Nov 13 16:43:31 2021 : Debug: # Loading module "sql_raritans" from file /etc/freeradius/3.0/mods-enabled/sql
Sat Nov 13 16:43:31 2021 : Debug: sql sql_raritans {
Sat Nov 13 16:43:31 2021 : Debug: driver = "rlm_sql_sqlite"
Sat Nov 13 16:43:31 2021 : Debug: server = ""
Sat Nov 13 16:43:31 2021 : Debug: port = 0
Sat Nov 13 16:43:31 2021 : Debug: login = ""
Sat Nov 13 16:43:31 2021 : Debug: password = ""
Sat Nov 13 16:43:31 2021 : Debug: radius_db = "radius"
Sat Nov 13 16:43:31 2021 : Debug: read_groups = yes
Sat Nov 13 16:43:31 2021 : Debug: read_profiles = yes
Sat Nov 13 16:43:31 2021 : Debug: read_clients = no
Sat Nov 13 16:43:31 2021 : Debug: delete_stale_sessions = yes
Sat Nov 13 16:43:31 2021 : Debug: sql_user_name = "%{User-Name}"
Sat Nov 13 16:43:31 2021 : Debug: logfile = "/var/log/radius/sql_raritans_log.sql"
Sat Nov 13 16:43:31 2021 : Debug: default_user_profile = ""
Sat Nov 13 16:43:31 2021 : Debug: client_query = "SELECT id, nasname, shortname, type, secret, server FROM nas"
Sat Nov 13 16:43:31 2021 : Debug: authorize_check_query = "SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id"
Sat Nov 13 16:43:31 2021 : Debug: authorize_reply_query = "SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id"
Sat Nov 13 16:43:31 2021 : Debug: authorize_group_check_query = "SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id"
Sat Nov 13 16:43:31 2021 : Debug: authorize_group_reply_query = "SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id"
Sat Nov 13 16:43:31 2021 : Debug: group_membership_query = "SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority"
Sat Nov 13 16:43:31 2021 : Debug: simul_count_query = "SELECT COUNT(*) FROM radacct WHERE username = '%{SQL-User-Name}' AND acctstoptime IS NULL"
Sat Nov 13 16:43:31 2021 : Debug: simul_verify_query = "SELECT radacctid, acctsessionid, username, nasipaddress, nasportid, framedipaddress, callingstationid, framedprotocol FROM radacct WHERE username = '%{SQL-Group}' AND acctstoptime IS NULL"
Sat Nov 13 16:43:31 2021 : Debug: safe_characters = "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /"
Sat Nov 13 16:43:31 2021 : Debug: auto_escape = no
Sat Nov 13 16:43:31 2021 : Debug: accounting {
Sat Nov 13 16:43:31 2021 : Debug: reference = "%{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query}"
Sat Nov 13 16:43:31 2021 : Debug: type {
Sat Nov 13 16:43:31 2021 : Debug: accounting-on {
Sat Nov 13 16:43:31 2021 : Debug: query = "UPDATE radacct SET acctstoptime = %{%{integer:Event-Timestamp}:-date('now')}, acctsessiontime = (%{%{integer:Event-Timestamp}:-strftime('%%s', 'now')} - strftime('%%s', acctstarttime)), acctterminatecause = '%{Acct-Terminate-Cause}' WHERE acctstoptime IS NULL AND nasipaddress = '%{NAS-IP-Address}' AND acctstarttime <= %{integer:Event-Timestamp}"
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: accounting-off {
Sat Nov 13 16:43:31 2021 : Debug: query = "UPDATE radacct SET acctstoptime = %{%{integer:Event-Timestamp}:-date('now')}, acctsessiontime = (%{%{integer:Event-Timestamp}:-strftime('%%s', 'now')} - strftime('%%s', acctstarttime)), acctterminatecause = '%{Acct-Terminate-Cause}' WHERE acctstoptime IS NULL AND nasipaddress = '%{NAS-IP-Address}' AND acctstarttime <= %{integer:Event-Timestamp}"
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: start {
Sat Nov 13 16:43:31 2021 : Debug: query = "INSERT INTO radacct (acctsessionid, acctuniqueid, username, realm, nasipaddress, nasportid, nasporttype, acctstarttime, acctupdatetime, acctstoptime, acctsessiontime, acctauthentic, connectinfo_start, connectinfo_stop, acctinputoctets, acctoutputoctets, calledstationid, callingstationid, acctterminatecause, servicetype, framedprotocol, framedipaddress, framedipv6address, framedipv6prefix, framedinterfaceid, delegatedipv6prefix) VALUES ('%{Acct-Session-Id}', '%{Acct-Unique-Session-Id}', '%{SQL-User-Name}', '%{Realm}', '%{NAS-IP-Address}', '%{%{NAS-Port-ID}:-%{NAS-Port}}', '%{NAS-Port-Type}', %{%{integer:Event-Timestamp}:-date('now')}, %{%{integer:Event-Timestamp}:-date('now')}, NULL, '0', '%{Acct-Authentic}', '%{Connect-Info}', '', '0', '0', '%{Called-Station-Id}', '%{Calling-Station-Id}', '', '%{Service-Type}', '%{Framed-Protocol}', '%{Framed-IP-Address}', '%{Framed-IPv6-Address}', '%{Framed-IPv6-Prefix}', '%{Framed-Interface-Id}', '%{Delegated-IPv6-Prefix}')"
Sat Nov 13 16:43:31 2021 : Warning: /etc/freeradius/3.0/mods-config/sql/main/sqlite/queries.conf[355]: The item '-query' is defined, but is unused by the configuration
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: interim-update {
Sat Nov 13 16:43:31 2021 : Debug: query = "UPDATE radacct SET acctupdatetime = %{%{integer:Event-Timestamp}:-date('now')}, acctinterval = 0, framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = %{%{Acct-Input-Gigawords}:-0} << 32 | %{%{Acct-Input-Octets}:-0}, acctoutputoctets = %{%{Acct-Output-Gigawords}:-0} << 32 | %{%{Acct-Output-Octets}:-0} WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}'"
Sat Nov 13 16:43:31 2021 : Warning: /etc/freeradius/3.0/mods-config/sql/main/sqlite/queries.conf[462]: The item '-query' is defined, but is unused by the configuration
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: stop {
Sat Nov 13 16:43:31 2021 : Debug: query = "UPDATE radacct SET acctstoptime = %{%{integer:Event-Timestamp}:-date('now')}, acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = %{%{Acct-Input-Gigawords}:-0} << 32 | %{%{Acct-Input-Octets}:-0}, acctoutputoctets = %{%{Acct-Output-Gigawords}:-0} << 32 | %{%{Acct-Output-Octets}:-0}, acctterminatecause = '%{Acct-Terminate-Cause}', connectinfo_stop = '%{Connect-Info}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}'"
Sat Nov 13 16:43:31 2021 : Warning: /etc/freeradius/3.0/mods-config/sql/main/sqlite/queries.conf[555]: The item '-query' is defined, but is unused by the configuration
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: post-auth {
Sat Nov 13 16:43:31 2021 : Debug: reference = ".query"
Sat Nov 13 16:43:31 2021 : Debug: query = "INSERT INTO radpostauth (username, pass, reply, authdate) VALUES ( '%{SQL-User-Name}', '%{%{User-Password}:-%{Chap-Password}}', '%{reply:Packet-Type}', '%S')"
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Info: rlm_sql (sql_raritans): Driver rlm_sql_sqlite (module rlm_sql_sqlite) loaded and linked
Sat Nov 13 16:43:31 2021 : Debug: Creating attribute sql_raritans-SQL-Group
Sat Nov 13 16:43:31 2021 : Debug: # Loading module "sql_sc" from file /etc/freeradius/3.0/mods-enabled/sql
Sat Nov 13 16:43:31 2021 : Debug: sql sql_sc {
Sat Nov 13 16:43:31 2021 : Debug: driver = "rlm_sql_sqlite"
Sat Nov 13 16:43:31 2021 : Debug: server = ""
Sat Nov 13 16:43:31 2021 : Debug: port = 0
Sat Nov 13 16:43:31 2021 : Debug: login = ""
Sat Nov 13 16:43:31 2021 : Debug: password = ""
Sat Nov 13 16:43:31 2021 : Debug: radius_db = "radius"
Sat Nov 13 16:43:31 2021 : Debug: read_groups = yes
Sat Nov 13 16:43:31 2021 : Debug: read_profiles = yes
Sat Nov 13 16:43:31 2021 : Debug: read_clients = no
Sat Nov 13 16:43:31 2021 : Debug: delete_stale_sessions = yes
Sat Nov 13 16:43:31 2021 : Debug: sql_user_name = "%{User-Name}"
Sat Nov 13 16:43:31 2021 : Debug: logfile = "/var/log/radius/sql_sc_log.sql"
Sat Nov 13 16:43:31 2021 : Debug: default_user_profile = ""
Sat Nov 13 16:43:31 2021 : Debug: client_query = "SELECT id, nasname, shortname, type, secret, server FROM nas"
Sat Nov 13 16:43:31 2021 : Debug: authorize_check_query = "SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id"
Sat Nov 13 16:43:31 2021 : Debug: authorize_reply_query = "SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id"
Sat Nov 13 16:43:31 2021 : Debug: authorize_group_check_query = "SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id"
Sat Nov 13 16:43:31 2021 : Debug: authorize_group_reply_query = "SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id"
Sat Nov 13 16:43:31 2021 : Debug: group_membership_query = "SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority"
Sat Nov 13 16:43:31 2021 : Debug: simul_count_query = "SELECT COUNT(*) FROM radacct WHERE username = '%{SQL-User-Name}' AND acctstoptime IS NULL"
Sat Nov 13 16:43:31 2021 : Debug: simul_verify_query = "SELECT radacctid, acctsessionid, username, nasipaddress, nasportid, framedipaddress, callingstationid, framedprotocol FROM radacct WHERE username = '%{SQL-Group}' AND acctstoptime IS NULL"
Sat Nov 13 16:43:31 2021 : Debug: safe_characters = "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /"
Sat Nov 13 16:43:31 2021 : Debug: auto_escape = no
Sat Nov 13 16:43:31 2021 : Debug: accounting {
Sat Nov 13 16:43:31 2021 : Debug: reference = "%{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query}"
Sat Nov 13 16:43:31 2021 : Debug: type {
Sat Nov 13 16:43:31 2021 : Debug: accounting-on {
Sat Nov 13 16:43:31 2021 : Debug: query = "UPDATE radacct SET acctstoptime = %{%{integer:Event-Timestamp}:-date('now')}, acctsessiontime = (%{%{integer:Event-Timestamp}:-strftime('%%s', 'now')} - strftime('%%s', acctstarttime)), acctterminatecause = '%{Acct-Terminate-Cause}' WHERE acctstoptime IS NULL AND nasipaddress = '%{NAS-IP-Address}' AND acctstarttime <= %{integer:Event-Timestamp}"
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: accounting-off {
Sat Nov 13 16:43:31 2021 : Debug: query = "UPDATE radacct SET acctstoptime = %{%{integer:Event-Timestamp}:-date('now')}, acctsessiontime = (%{%{integer:Event-Timestamp}:-strftime('%%s', 'now')} - strftime('%%s', acctstarttime)), acctterminatecause = '%{Acct-Terminate-Cause}' WHERE acctstoptime IS NULL AND nasipaddress = '%{NAS-IP-Address}' AND acctstarttime <= %{integer:Event-Timestamp}"
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: start {
Sat Nov 13 16:43:31 2021 : Debug: query = "INSERT INTO radacct (acctsessionid, acctuniqueid, username, realm, nasipaddress, nasportid, nasporttype, acctstarttime, acctupdatetime, acctstoptime, acctsessiontime, acctauthentic, connectinfo_start, connectinfo_stop, acctinputoctets, acctoutputoctets, calledstationid, callingstationid, acctterminatecause, servicetype, framedprotocol, framedipaddress, framedipv6address, framedipv6prefix, framedinterfaceid, delegatedipv6prefix) VALUES ('%{Acct-Session-Id}', '%{Acct-Unique-Session-Id}', '%{SQL-User-Name}', '%{Realm}', '%{NAS-IP-Address}', '%{%{NAS-Port-ID}:-%{NAS-Port}}', '%{NAS-Port-Type}', %{%{integer:Event-Timestamp}:-date('now')}, %{%{integer:Event-Timestamp}:-date('now')}, NULL, '0', '%{Acct-Authentic}', '%{Connect-Info}', '', '0', '0', '%{Called-Station-Id}', '%{Calling-Station-Id}', '', '%{Service-Type}', '%{Framed-Protocol}', '%{Framed-IP-Address}', '%{Framed-IPv6-Address}', '%{Framed-IPv6-Prefix}', '%{Framed-Interface-Id}', '%{Delegated-IPv6-Prefix}')"
Sat Nov 13 16:43:31 2021 : Warning: /etc/freeradius/3.0/mods-config/sql/main/sqlite/queries.conf[355]: The item '-query' is defined, but is unused by the configuration
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: interim-update {
Sat Nov 13 16:43:31 2021 : Debug: query = "UPDATE radacct SET acctupdatetime = %{%{integer:Event-Timestamp}:-date('now')}, acctinterval = 0, framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = %{%{Acct-Input-Gigawords}:-0} << 32 | %{%{Acct-Input-Octets}:-0}, acctoutputoctets = %{%{Acct-Output-Gigawords}:-0} << 32 | %{%{Acct-Output-Octets}:-0} WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}'"
Sat Nov 13 16:43:31 2021 : Warning: /etc/freeradius/3.0/mods-config/sql/main/sqlite/queries.conf[462]: The item '-query' is defined, but is unused by the configuration
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: stop {
Sat Nov 13 16:43:31 2021 : Debug: query = "UPDATE radacct SET acctstoptime = %{%{integer:Event-Timestamp}:-date('now')}, acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = %{%{Acct-Input-Gigawords}:-0} << 32 | %{%{Acct-Input-Octets}:-0}, acctoutputoctets = %{%{Acct-Output-Gigawords}:-0} << 32 | %{%{Acct-Output-Octets}:-0}, acctterminatecause = '%{Acct-Terminate-Cause}', connectinfo_stop = '%{Connect-Info}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}'"
Sat Nov 13 16:43:31 2021 : Warning: /etc/freeradius/3.0/mods-config/sql/main/sqlite/queries.conf[555]: The item '-query' is defined, but is unused by the configuration
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: post-auth {
Sat Nov 13 16:43:31 2021 : Debug: reference = ".query"
Sat Nov 13 16:43:31 2021 : Debug: query = "INSERT INTO radpostauth (username, pass, reply, authdate) VALUES ( '%{SQL-User-Name}', '%{%{User-Password}:-%{Chap-Password}}', '%{reply:Packet-Type}', '%S')"
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Info: rlm_sql (sql_sc): Driver rlm_sql_sqlite (module rlm_sql_sqlite) loaded and linked
Sat Nov 13 16:43:31 2021 : Debug: Creating attribute sql_sc-SQL-Group
Sat Nov 13 16:43:31 2021 : Debug: Loaded rlm_dynamic_clients, checking if it's valid
Sat Nov 13 16:43:31 2021 : Debug: # Loaded module rlm_dynamic_clients
Sat Nov 13 16:43:31 2021 : Debug: # Loading module "dynamic_clients" from file /etc/freeradius/3.0/mods-enabled/dynamic_clients
Sat Nov 13 16:43:31 2021 : Debug: Loaded rlm_replicate, checking if it's valid
Sat Nov 13 16:43:31 2021 : Debug: # Loaded module rlm_replicate
Sat Nov 13 16:43:31 2021 : Debug: # Loading module "replicate" from file /etc/freeradius/3.0/mods-enabled/replicate
Sat Nov 13 16:43:31 2021 : Debug: Loaded rlm_digest, checking if it's valid
Sat Nov 13 16:43:31 2021 : Debug: # Loaded module rlm_digest
Sat Nov 13 16:43:31 2021 : Debug: # Loading module "digest" from file /etc/freeradius/3.0/mods-enabled/digest
Sat Nov 13 16:43:31 2021 : Debug: Loaded rlm_pam, checking if it's valid
Sat Nov 13 16:43:31 2021 : Debug: # Loaded module rlm_pam
Sat Nov 13 16:43:31 2021 : Debug: # Loading module "pam" from file /etc/freeradius/3.0/mods-enabled/pam
Sat Nov 13 16:43:31 2021 : Debug: pam {
Sat Nov 13 16:43:31 2021 : Debug: pam_auth = "radiusd"
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: Loaded rlm_unix, checking if it's valid
Sat Nov 13 16:43:31 2021 : Debug: # Loaded module rlm_unix
Sat Nov 13 16:43:31 2021 : Debug: # Loading module "unix" from file /etc/freeradius/3.0/mods-enabled/unix
Sat Nov 13 16:43:31 2021 : Debug: unix {
Sat Nov 13 16:43:31 2021 : Debug: radwtmp = "/var/log/radius/radwtmp"
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: Creating attribute Unix-Group
Sat Nov 13 16:43:31 2021 : Debug: Loaded rlm_files, checking if it's valid
Sat Nov 13 16:43:31 2021 : Debug: # Loaded module rlm_files
Sat Nov 13 16:43:31 2021 : Debug: # Loading module "files" from file /etc/freeradius/3.0/mods-enabled/files
Sat Nov 13 16:43:31 2021 : Debug: files {
Sat Nov 13 16:43:31 2021 : Debug: filename = "/etc/freeradius/3.0/mods-config/files/authorize"
Sat Nov 13 16:43:31 2021 : Debug: acctusersfile = "/etc/freeradius/3.0/mods-config/files/accounting"
Sat Nov 13 16:43:31 2021 : Debug: preproxy_usersfile = "/etc/freeradius/3.0/mods-config/files/pre-proxy"
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: Loaded rlm_expr, checking if it's valid
Sat Nov 13 16:43:31 2021 : Debug: # Loaded module rlm_expr
Sat Nov 13 16:43:31 2021 : Debug: # Loading module "expr" from file /etc/freeradius/3.0/mods-enabled/expr
Sat Nov 13 16:43:31 2021 : Debug: expr {
Sat Nov 13 16:43:31 2021 : Debug: safe_characters = "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /äéöüàâæçèéêëîïôœùûüaÿÄÉÖÜßÀÂÆÇÈÉÊËÎÏÔŒÙÛÜŸ"
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: instantiate {
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: # Instantiating module "cache_eap" from file /etc/freeradius/3.0/mods-enabled/cache_eap
Sat Nov 13 16:43:31 2021 : Debug: rlm_cache (cache_eap): Driver rlm_cache_rbtree (module rlm_cache_rbtree) loaded and linked
Sat Nov 13 16:43:31 2021 : Debug: # Instantiating module "pap" from file /etc/freeradius/3.0/mods-enabled/pap
Sat Nov 13 16:43:31 2021 : Debug: # Instantiating module "preprocess" from file /etc/freeradius/3.0/mods-enabled/preprocess
Sat Nov 13 16:43:31 2021 : Debug: reading pairlist file /etc/freeradius/3.0/mods-config/preprocess/huntgroups
Sat Nov 13 16:43:31 2021 : Debug: reading pairlist file /etc/freeradius/3.0/mods-config/preprocess/hints
Sat Nov 13 16:43:31 2021 : Debug: # Instantiating module "logintime" from file /etc/freeradius/3.0/mods-enabled/logintime
Sat Nov 13 16:43:31 2021 : Debug: # Instantiating module "attr_filter.post-proxy" from file /etc/freeradius/3.0/mods-enabled/attr_filter
Sat Nov 13 16:43:31 2021 : Debug: reading pairlist file /etc/freeradius/3.0/mods-config/attr_filter/post-proxy
Sat Nov 13 16:43:31 2021 : Debug: # Instantiating module "attr_filter.pre-proxy" from file /etc/freeradius/3.0/mods-enabled/attr_filter
Sat Nov 13 16:43:31 2021 : Debug: reading pairlist file /etc/freeradius/3.0/mods-config/attr_filter/pre-proxy
Sat Nov 13 16:43:31 2021 : Debug: # Instantiating module "attr_filter.access_reject" from file /etc/freeradius/3.0/mods-enabled/attr_filter
Sat Nov 13 16:43:31 2021 : Debug: reading pairlist file /etc/freeradius/3.0/mods-config/attr_filter/access_reject
Sat Nov 13 16:43:31 2021 : Debug: # Instantiating module "attr_filter.access_challenge" from file /etc/freeradius/3.0/mods-enabled/attr_filter
Sat Nov 13 16:43:31 2021 : Debug: reading pairlist file /etc/freeradius/3.0/mods-config/attr_filter/access_challenge
Sat Nov 13 16:43:31 2021 : Debug: # Instantiating module "attr_filter.accounting_response" from file /etc/freeradius/3.0/mods-enabled/attr_filter
Sat Nov 13 16:43:31 2021 : Debug: reading pairlist file /etc/freeradius/3.0/mods-config/attr_filter/accounting_response
Sat Nov 13 16:43:31 2021 : Debug: # Instantiating module "etc_passwd" from file /etc/freeradius/3.0/mods-enabled/passwd
Sat Nov 13 16:43:31 2021 : Debug: rlm_passwd: nfields: 3 keyfield 0(User-Name) listable: no
Sat Nov 13 16:43:31 2021 : Debug: # Instantiating module "reject" from file /etc/freeradius/3.0/mods-enabled/always
Sat Nov 13 16:43:31 2021 : Debug: # Instantiating module "fail" from file /etc/freeradius/3.0/mods-enabled/always
Sat Nov 13 16:43:31 2021 : Debug: # Instantiating module "ok" from file /etc/freeradius/3.0/mods-enabled/always
Sat Nov 13 16:43:31 2021 : Debug: # Instantiating module "handled" from file /etc/freeradius/3.0/mods-enabled/always
Sat Nov 13 16:43:31 2021 : Debug: # Instantiating module "invalid" from file /etc/freeradius/3.0/mods-enabled/always
Sat Nov 13 16:43:31 2021 : Debug: # Instantiating module "userlock" from file /etc/freeradius/3.0/mods-enabled/always
Sat Nov 13 16:43:31 2021 : Debug: # Instantiating module "notfound" from file /etc/freeradius/3.0/mods-enabled/always
Sat Nov 13 16:43:31 2021 : Debug: # Instantiating module "noop" from file /etc/freeradius/3.0/mods-enabled/always
Sat Nov 13 16:43:31 2021 : Debug: # Instantiating module "updated" from file /etc/freeradius/3.0/mods-enabled/always
Sat Nov 13 16:43:31 2021 : Debug: # Instantiating module "auth_log" from file /etc/freeradius/3.0/mods-enabled/detail.log
Sat Nov 13 16:43:31 2021 : Debug: rlm_detail (auth_log): 'User-Password' suppressed, will not appear in detail output
Sat Nov 13 16:43:31 2021 : Debug: # Instantiating module "reply_log" from file /etc/freeradius/3.0/mods-enabled/detail.log
Sat Nov 13 16:43:31 2021 : Debug: # Instantiating module "pre_proxy_log" from file /etc/freeradius/3.0/mods-enabled/detail.log
Sat Nov 13 16:43:31 2021 : Debug: # Instantiating module "post_proxy_log" from file /etc/freeradius/3.0/mods-enabled/detail.log
Sat Nov 13 16:43:31 2021 : Debug: # Instantiating module "detail" from file /etc/freeradius/3.0/mods-enabled/detail
Sat Nov 13 16:43:31 2021 : Debug: # Instantiating module "python3" from file /etc/freeradius/3.0/mods-enabled/python3
Sat Nov 13 16:43:31 2021 : Info: Python version: 3.8.10 (default, Sep 28 2021, 16:10:42) [GCC 9.3.0]
Sat Nov 13 16:43:31 2021 : Warning: Libpython is not found among linked libraries
Sat Nov 13 16:43:31 2021 : Warning: Failed loading libpython symbols into global symbol table
*** instantiate ***
None
Sat Nov 13 16:43:31 2021 : Debug: # Instantiating module "mschap" from file /etc/freeradius/3.0/mods-enabled/mschap
Sat Nov 13 16:43:31 2021 : Debug: rlm_mschap (mschap): using internal authentication
Sat Nov 13 16:43:31 2021 : Debug: # Instantiating module "expiration" from file /etc/freeradius/3.0/mods-enabled/expiration
Sat Nov 13 16:43:31 2021 : Debug: # Instantiating module "IPASS" from file /etc/freeradius/3.0/mods-enabled/realm
Sat Nov 13 16:43:31 2021 : Debug: # Instantiating module "suffix" from file /etc/freeradius/3.0/mods-enabled/realm
Sat Nov 13 16:43:31 2021 : Debug: # Instantiating module "bangpath" from file /etc/freeradius/3.0/mods-enabled/realm
Sat Nov 13 16:43:31 2021 : Debug: # Instantiating module "realmpercent" from file /etc/freeradius/3.0/mods-enabled/realm
Sat Nov 13 16:43:31 2021 : Debug: # Instantiating module "ntdomain" from file /etc/freeradius/3.0/mods-enabled/realm
Sat Nov 13 16:43:31 2021 : Debug: # Instantiating module "linelog" from file /etc/freeradius/3.0/mods-enabled/linelog
Sat Nov 13 16:43:31 2021 : Debug: # Instantiating module "log_accounting" from file /etc/freeradius/3.0/mods-enabled/linelog
Sat Nov 13 16:43:31 2021 : Debug: # Instantiating module "sql" from file /etc/freeradius/3.0/mods-enabled/sql
Sat Nov 13 16:43:31 2021 : Warning: rlm_sql_sqlite: libsqlite version changed since the server was built
Sat Nov 13 16:43:31 2021 : Warning: rlm_sql_sqlite: linked: 3.31.1 built: 3.30.1
Sat Nov 13 16:43:31 2021 : Info: rlm_sql_sqlite: libsqlite version: 3.31.1
Sat Nov 13 16:43:31 2021 : Debug: sqlite {
Sat Nov 13 16:43:31 2021 : Debug: filename = "/tmp/freeradius.db"
Sat Nov 13 16:43:31 2021 : Debug: busy_timeout = 200
Sat Nov 13 16:43:31 2021 : Warning: /etc/freeradius/3.0/mods-enabled/sql[82]: The item 'bootstrap' is defined, but is unused by the configuration
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Info: rlm_sql (sql): Attempting to connect to database "radius"
Sat Nov 13 16:43:31 2021 : Debug: rlm_sql (sql): Initialising connection pool
Sat Nov 13 16:43:31 2021 : Debug: pool {
Sat Nov 13 16:43:31 2021 : Debug: start = 5
Sat Nov 13 16:43:31 2021 : Debug: min = 3
Sat Nov 13 16:43:31 2021 : Debug: max = 32
Sat Nov 13 16:43:31 2021 : Debug: spare = 10
Sat Nov 13 16:43:31 2021 : Debug: uses = 0
Sat Nov 13 16:43:31 2021 : Debug: lifetime = 0
Sat Nov 13 16:43:31 2021 : Debug: cleanup_interval = 30
Sat Nov 13 16:43:31 2021 : Debug: idle_timeout = 60
Sat Nov 13 16:43:31 2021 : Debug: retry_delay = 30
Sat Nov 13 16:43:31 2021 : Debug: spread = no
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Info: rlm_sql (sql): Opening additional connection (0), 1 of 32 pending slots used
Sat Nov 13 16:43:31 2021 : Info: rlm_sql_sqlite: Opening SQLite database "/tmp/freeradius.db"
Sat Nov 13 16:43:31 2021 : Info: rlm_sql (sql): Opening additional connection (1), 1 of 31 pending slots used
Sat Nov 13 16:43:31 2021 : Info: rlm_sql_sqlite: Opening SQLite database "/tmp/freeradius.db"
Sat Nov 13 16:43:31 2021 : Info: rlm_sql (sql): Opening additional connection (2), 1 of 30 pending slots used
Sat Nov 13 16:43:31 2021 : Info: rlm_sql_sqlite: Opening SQLite database "/tmp/freeradius.db"
Sat Nov 13 16:43:31 2021 : Info: rlm_sql (sql): Opening additional connection (3), 1 of 29 pending slots used
Sat Nov 13 16:43:31 2021 : Info: rlm_sql_sqlite: Opening SQLite database "/tmp/freeradius.db"
Sat Nov 13 16:43:31 2021 : Info: rlm_sql (sql): Opening additional connection (4), 1 of 28 pending slots used
Sat Nov 13 16:43:31 2021 : Info: rlm_sql_sqlite: Opening SQLite database "/tmp/freeradius.db"
Sat Nov 13 16:43:31 2021 : Debug: # Instantiating module "sql_raritans" from file /etc/freeradius/3.0/mods-enabled/sql
Sat Nov 13 16:43:31 2021 : Debug: sqlite {
Sat Nov 13 16:43:31 2021 : Debug: filename = "/etc/freeradius/3.0/databases/radius_raritans.db"
Sat Nov 13 16:43:31 2021 : Debug: busy_timeout = 200
Sat Nov 13 16:43:31 2021 : Warning: /etc/freeradius/3.0/mods-enabled/sql[352]: The item 'bootstrap' is defined, but is unused by the configuration
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Info: rlm_sql (sql_raritans): Attempting to connect to database "radius"
Sat Nov 13 16:43:31 2021 : Debug: rlm_sql (sql_raritans): Initialising connection pool
Sat Nov 13 16:43:31 2021 : Debug: pool {
Sat Nov 13 16:43:31 2021 : Debug: start = 5
Sat Nov 13 16:43:31 2021 : Debug: min = 3
Sat Nov 13 16:43:31 2021 : Debug: max = 32
Sat Nov 13 16:43:31 2021 : Debug: spare = 10
Sat Nov 13 16:43:31 2021 : Debug: uses = 0
Sat Nov 13 16:43:31 2021 : Debug: lifetime = 0
Sat Nov 13 16:43:31 2021 : Debug: cleanup_interval = 30
Sat Nov 13 16:43:31 2021 : Debug: idle_timeout = 60
Sat Nov 13 16:43:31 2021 : Debug: retry_delay = 30
Sat Nov 13 16:43:31 2021 : Debug: spread = no
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Info: rlm_sql (sql_raritans): Opening additional connection (0), 1 of 32 pending slots used
Sat Nov 13 16:43:31 2021 : Info: rlm_sql_sqlite: Opening SQLite database "/etc/freeradius/3.0/databases/radius_raritans.db"
Sat Nov 13 16:43:31 2021 : Info: rlm_sql (sql_raritans): Opening additional connection (1), 1 of 31 pending slots used
Sat Nov 13 16:43:31 2021 : Info: rlm_sql_sqlite: Opening SQLite database "/etc/freeradius/3.0/databases/radius_raritans.db"
Sat Nov 13 16:43:31 2021 : Info: rlm_sql (sql_raritans): Opening additional connection (2), 1 of 30 pending slots used
Sat Nov 13 16:43:31 2021 : Info: rlm_sql_sqlite: Opening SQLite database "/etc/freeradius/3.0/databases/radius_raritans.db"
Sat Nov 13 16:43:31 2021 : Info: rlm_sql (sql_raritans): Opening additional connection (3), 1 of 29 pending slots used
Sat Nov 13 16:43:31 2021 : Info: rlm_sql_sqlite: Opening SQLite database "/etc/freeradius/3.0/databases/radius_raritans.db"
Sat Nov 13 16:43:31 2021 : Info: rlm_sql (sql_raritans): Opening additional connection (4), 1 of 28 pending slots used
Sat Nov 13 16:43:31 2021 : Info: rlm_sql_sqlite: Opening SQLite database "/etc/freeradius/3.0/databases/radius_raritans.db"
Sat Nov 13 16:43:31 2021 : Debug: # Instantiating module "sql_sc" from file /etc/freeradius/3.0/mods-enabled/sql
Sat Nov 13 16:43:31 2021 : Debug: sqlite {
Sat Nov 13 16:43:31 2021 : Debug: filename = "/etc/freeradius/3.0/databases/radius_sc.db"
Sat Nov 13 16:43:31 2021 : Debug: busy_timeout = 200
Sat Nov 13 16:43:31 2021 : Warning: /etc/freeradius/3.0/mods-enabled/sql[398]: The item 'bootstrap' is defined, but is unused by the configuration
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Info: rlm_sql (sql_sc): Attempting to connect to database "radius"
Sat Nov 13 16:43:31 2021 : Debug: rlm_sql (sql_sc): Initialising connection pool
Sat Nov 13 16:43:31 2021 : Debug: pool {
Sat Nov 13 16:43:31 2021 : Debug: start = 5
Sat Nov 13 16:43:31 2021 : Debug: min = 3
Sat Nov 13 16:43:31 2021 : Debug: max = 32
Sat Nov 13 16:43:31 2021 : Debug: spare = 10
Sat Nov 13 16:43:31 2021 : Debug: uses = 0
Sat Nov 13 16:43:31 2021 : Debug: lifetime = 0
Sat Nov 13 16:43:31 2021 : Debug: cleanup_interval = 30
Sat Nov 13 16:43:31 2021 : Debug: idle_timeout = 60
Sat Nov 13 16:43:31 2021 : Debug: retry_delay = 30
Sat Nov 13 16:43:31 2021 : Debug: spread = no
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Info: rlm_sql (sql_sc): Opening additional connection (0), 1 of 32 pending slots used
Sat Nov 13 16:43:31 2021 : Info: rlm_sql_sqlite: Opening SQLite database "/etc/freeradius/3.0/databases/radius_sc.db"
Sat Nov 13 16:43:31 2021 : Info: rlm_sql (sql_sc): Opening additional connection (1), 1 of 31 pending slots used
Sat Nov 13 16:43:31 2021 : Info: rlm_sql_sqlite: Opening SQLite database "/etc/freeradius/3.0/databases/radius_sc.db"
Sat Nov 13 16:43:31 2021 : Info: rlm_sql (sql_sc): Opening additional connection (2), 1 of 30 pending slots used
Sat Nov 13 16:43:31 2021 : Info: rlm_sql_sqlite: Opening SQLite database "/etc/freeradius/3.0/databases/radius_sc.db"
Sat Nov 13 16:43:31 2021 : Info: rlm_sql (sql_sc): Opening additional connection (3), 1 of 29 pending slots used
Sat Nov 13 16:43:31 2021 : Info: rlm_sql_sqlite: Opening SQLite database "/etc/freeradius/3.0/databases/radius_sc.db"
Sat Nov 13 16:43:31 2021 : Info: rlm_sql (sql_sc): Opening additional connection (4), 1 of 28 pending slots used
Sat Nov 13 16:43:31 2021 : Info: rlm_sql_sqlite: Opening SQLite database "/etc/freeradius/3.0/databases/radius_sc.db"
Sat Nov 13 16:43:31 2021 : Debug: # Instantiating module "files" from file /etc/freeradius/3.0/mods-enabled/files
Sat Nov 13 16:43:31 2021 : Debug: reading pairlist file /etc/freeradius/3.0/mods-config/files/authorize
Sat Nov 13 16:43:31 2021 : Debug: reading pairlist file /etc/freeradius/3.0/mods-config/files/accounting
Sat Nov 13 16:43:31 2021 : Debug: reading pairlist file /etc/freeradius/3.0/mods-config/files/pre-proxy
Sat Nov 13 16:43:31 2021 : Debug: } # modules
Sat Nov 13 16:43:31 2021 : Debug: radiusd: #### Loading Virtual Servers ####
Sat Nov 13 16:43:31 2021 : Debug: server { # from file /etc/freeradius/3.0/radiusd.conf
Sat Nov 13 16:43:31 2021 : Debug: } # server
Sat Nov 13 16:43:31 2021 : Debug: server default { # from file /etc/freeradius/3.0/sites-enabled/default
Sat Nov 13 16:43:31 2021 : Debug: # Loading authenticate {...}
Sat Nov 13 16:43:31 2021 : Debug: # Loading authorize {...}
Sat Nov 13 16:43:31 2021 : Debug: policy filter_username {
Sat Nov 13 16:43:31 2021 : Debug: if (&User-Name) {
Sat Nov 13 16:43:31 2021 : Debug: if (&User-Name =~ / /) {
Sat Nov 13 16:43:31 2021 : Debug: update {
Sat Nov 13 16:43:31 2021 : Debug: &Module-Failure-Message += 'Rejected: User-Name contains whitespace'
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: reject
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: if (&User-Name =~ /@[^@]*@/) {
Sat Nov 13 16:43:31 2021 : Debug: update {
Sat Nov 13 16:43:31 2021 : Debug: &Module-Failure-Message += 'Rejected: Multiple @ in User-Name'
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: reject
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: if (&User-Name =~ /\.\./) {
Sat Nov 13 16:43:31 2021 : Debug: update {
Sat Nov 13 16:43:31 2021 : Debug: &Module-Failure-Message += 'Rejected: User-Name contains multiple ..s'
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: reject
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: if (&User-Name =~ /@/ && !&User-Name =~ /(a)(.+)\.(.+)$/) {
Sat Nov 13 16:43:31 2021 : Debug: update {
Sat Nov 13 16:43:31 2021 : Debug: &Module-Failure-Message += 'Rejected: Realm does not have at least one dot separator'
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: reject
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: if (&User-Name =~ /\.$/) {
Sat Nov 13 16:43:31 2021 : Debug: update {
Sat Nov 13 16:43:31 2021 : Debug: &Module-Failure-Message += 'Rejected: Realm ends with a dot'
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: reject
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: if (&User-Name =~ /(a)\./) {
Sat Nov 13 16:43:31 2021 : Debug: update {
Sat Nov 13 16:43:31 2021 : Debug: &Module-Failure-Message += 'Rejected: Realm begins with a dot'
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: reject
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: preprocess
Sat Nov 13 16:43:31 2021 : Debug: auth_log
Sat Nov 13 16:43:31 2021 : Debug: chap
Sat Nov 13 16:43:31 2021 : Debug: mschap
Sat Nov 13 16:43:31 2021 : Debug: files
Sat Nov 13 16:43:31 2021 : Debug: sql
Sat Nov 13 16:43:31 2021 : Debug: pap
Sat Nov 13 16:43:31 2021 : Debug: # Loading preacct {...}
Sat Nov 13 16:43:31 2021 : Debug: preprocess
Sat Nov 13 16:43:31 2021 : Debug: policy acct_unique {
Sat Nov 13 16:43:31 2021 : Debug: update {
Sat Nov 13 16:43:31 2021 : Debug: &Tmp-String-9 := "ai:"
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: if ("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/ && "%{string:&Class}" =~ /^ai:([0-9a-f]{32})/) {
Sat Nov 13 16:43:31 2021 : Debug: update {
Sat Nov 13 16:43:31 2021 : Debug: &Acct-Unique-Session-Id := "%{md5:%{1},%{Acct-Session-ID}}"
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: else {
Sat Nov 13 16:43:31 2021 : Debug: update {
Sat Nov 13 16:43:31 2021 : Debug: &Acct-Unique-Session-Id := "%{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}}"
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: files
Sat Nov 13 16:43:31 2021 : Debug: # Loading accounting {...}
Sat Nov 13 16:43:31 2021 : Debug: detail
Sat Nov 13 16:43:31 2021 : Debug: unix
Sat Nov 13 16:43:31 2021 : Debug: exec
Sat Nov 13 16:43:31 2021 : Debug: attr_filter.accounting_response
Sat Nov 13 16:43:31 2021 : Debug: # Loading post-auth {...}
Sat Nov 13 16:43:31 2021 : Debug: if (&session-state:User-Name && &reply:User-Name && &User-Name && &reply:User-Name == &User-Name) {
Sat Nov 13 16:43:31 2021 : Debug: update {
Sat Nov 13 16:43:31 2021 : Debug: &reply:User-Name !* ANY
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: update {
Sat Nov 13 16:43:31 2021 : Debug: &reply:[*] += &session-state:[*]
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: exec
Sat Nov 13 16:43:31 2021 : Debug: policy remove_reply_message_if_eap {
Sat Nov 13 16:43:31 2021 : Debug: if (&reply:EAP-Message && &reply:Reply-Message) {
Sat Nov 13 16:43:31 2021 : Debug: update {
Sat Nov 13 16:43:31 2021 : Debug: &reply:Reply-Message !* ANY
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: else {
Sat Nov 13 16:43:31 2021 : Debug: noop
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: } # server default
Sat Nov 13 16:43:31 2021 : Debug: server linux-servers { # from file /etc/freeradius/3.0/sites-enabled/linux-servers
Sat Nov 13 16:43:31 2021 : Debug: # Loading authenticate {...}
Sat Nov 13 16:43:31 2021 : Debug: pam
Sat Nov 13 16:43:31 2021 : Debug: # Loading authorize {...}
Sat Nov 13 16:43:31 2021 : Debug: policy filter_username {
Sat Nov 13 16:43:31 2021 : Debug: if (&User-Name) {
Sat Nov 13 16:43:31 2021 : Debug: if (&User-Name =~ / /) {
Sat Nov 13 16:43:31 2021 : Debug: update {
Sat Nov 13 16:43:31 2021 : Debug: &Module-Failure-Message += 'Rejected: User-Name contains whitespace'
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: reject
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: if (&User-Name =~ /@[^@]*@/) {
Sat Nov 13 16:43:31 2021 : Debug: update {
Sat Nov 13 16:43:31 2021 : Debug: &Module-Failure-Message += 'Rejected: Multiple @ in User-Name'
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: reject
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: if (&User-Name =~ /\.\./) {
Sat Nov 13 16:43:31 2021 : Debug: update {
Sat Nov 13 16:43:31 2021 : Debug: &Module-Failure-Message += 'Rejected: User-Name contains multiple ..s'
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: reject
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: if (&User-Name =~ /@/ && !&User-Name =~ /(a)(.+)\.(.+)$/) {
Sat Nov 13 16:43:31 2021 : Debug: update {
Sat Nov 13 16:43:31 2021 : Debug: &Module-Failure-Message += 'Rejected: Realm does not have at least one dot separator'
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: reject
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: if (&User-Name =~ /\.$/) {
Sat Nov 13 16:43:31 2021 : Debug: update {
Sat Nov 13 16:43:31 2021 : Debug: &Module-Failure-Message += 'Rejected: Realm ends with a dot'
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: reject
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: if (&User-Name =~ /(a)\./) {
Sat Nov 13 16:43:31 2021 : Debug: update {
Sat Nov 13 16:43:31 2021 : Debug: &Module-Failure-Message += 'Rejected: Realm begins with a dot'
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: reject
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: update {
Sat Nov 13 16:43:31 2021 : Debug: &control:Pam-Auth := "radiusd_linux_servers"
Sat Nov 13 16:43:31 2021 : Debug: &control:Auth-Type := pam
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: if ("%{client:allow_users_without_yubikeys}" == yes) {
Sat Nov 13 16:43:31 2021 : Debug: update {
Sat Nov 13 16:43:31 2021 : Debug: &control:Pam-Auth := "radiusd_linux_servers_nullok"
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: update {
Sat Nov 13 16:43:31 2021 : Debug: &User-Name := "%{Client-Shortname}_%{User-Name}"
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: preprocess
Sat Nov 13 16:43:31 2021 : Debug: auth_log
Sat Nov 13 16:43:31 2021 : Debug: # Loading post-auth {...}
Sat Nov 13 16:43:31 2021 : Debug: exec
Sat Nov 13 16:43:31 2021 : Debug: } # server linux-servers
Sat Nov 13 16:43:31 2021 : Debug: server sc { # from file /etc/freeradius/3.0/sites-enabled/sc
Sat Nov 13 16:43:31 2021 : Debug: # Loading authenticate {...}
Sat Nov 13 16:43:31 2021 : Debug: # Loading authorize {...}
Sat Nov 13 16:43:31 2021 : Debug: policy filter_username {
Sat Nov 13 16:43:31 2021 : Debug: if (&User-Name) {
Sat Nov 13 16:43:31 2021 : Debug: if (&User-Name =~ / /) {
Sat Nov 13 16:43:31 2021 : Debug: update {
Sat Nov 13 16:43:31 2021 : Debug: &Module-Failure-Message += 'Rejected: User-Name contains whitespace'
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: reject
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: if (&User-Name =~ /@[^@]*@/) {
Sat Nov 13 16:43:31 2021 : Debug: update {
Sat Nov 13 16:43:31 2021 : Debug: &Module-Failure-Message += 'Rejected: Multiple @ in User-Name'
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: reject
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: if (&User-Name =~ /\.\./) {
Sat Nov 13 16:43:31 2021 : Debug: update {
Sat Nov 13 16:43:31 2021 : Debug: &Module-Failure-Message += 'Rejected: User-Name contains multiple ..s'
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: reject
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: if (&User-Name =~ /@/ && !&User-Name =~ /(a)(.+)\.(.+)$/) {
Sat Nov 13 16:43:31 2021 : Debug: update {
Sat Nov 13 16:43:31 2021 : Debug: &Module-Failure-Message += 'Rejected: Realm does not have at least one dot separator'
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: reject
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: if (&User-Name =~ /\.$/) {
Sat Nov 13 16:43:31 2021 : Debug: update {
Sat Nov 13 16:43:31 2021 : Debug: &Module-Failure-Message += 'Rejected: Realm ends with a dot'
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: reject
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: if (&User-Name =~ /(a)\./) {
Sat Nov 13 16:43:31 2021 : Debug: update {
Sat Nov 13 16:43:31 2021 : Debug: &Module-Failure-Message += 'Rejected: Realm begins with a dot'
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: reject
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Warning: /etc/freeradius/3.0/sites-enabled/sc[11]: Please change attribute reference to '&Pam-Auth := ...'
Sat Nov 13 16:43:31 2021 : Debug: update {
Sat Nov 13 16:43:31 2021 : Debug: &control:Pam-Auth := "radiusd_sc"
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: update {
Sat Nov 13 16:43:31 2021 : Debug: &User-Name := "%{Client-Shortname}_%{User-Name}"
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: preprocess
Sat Nov 13 16:43:31 2021 : Debug: auth_log
Sat Nov 13 16:43:31 2021 : Debug: sql_sc
Sat Nov 13 16:43:31 2021 : Debug: pap
Sat Nov 13 16:43:31 2021 : Debug: # Loading post-auth {...}
Sat Nov 13 16:43:31 2021 : Debug: exec
Sat Nov 13 16:43:31 2021 : Debug: } # server sc
Sat Nov 13 16:43:31 2021 : Debug: server raritans { # from file /etc/freeradius/3.0/sites-enabled/raritans
Sat Nov 13 16:43:31 2021 : Debug: # Loading authenticate {...}
Sat Nov 13 16:43:31 2021 : Debug: # Loading authorize {...}
Sat Nov 13 16:43:31 2021 : Debug: policy filter_username {
Sat Nov 13 16:43:31 2021 : Debug: if (&User-Name) {
Sat Nov 13 16:43:31 2021 : Debug: if (&User-Name =~ / /) {
Sat Nov 13 16:43:31 2021 : Debug: update {
Sat Nov 13 16:43:31 2021 : Debug: &Module-Failure-Message += 'Rejected: User-Name contains whitespace'
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: reject
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: if (&User-Name =~ /@[^@]*@/) {
Sat Nov 13 16:43:31 2021 : Debug: update {
Sat Nov 13 16:43:31 2021 : Debug: &Module-Failure-Message += 'Rejected: Multiple @ in User-Name'
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: reject
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: if (&User-Name =~ /\.\./) {
Sat Nov 13 16:43:31 2021 : Debug: update {
Sat Nov 13 16:43:31 2021 : Debug: &Module-Failure-Message += 'Rejected: User-Name contains multiple ..s'
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: reject
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: if (&User-Name =~ /@/ && !&User-Name =~ /(a)(.+)\.(.+)$/) {
Sat Nov 13 16:43:31 2021 : Debug: update {
Sat Nov 13 16:43:31 2021 : Debug: &Module-Failure-Message += 'Rejected: Realm does not have at least one dot separator'
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: reject
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: if (&User-Name =~ /\.$/) {
Sat Nov 13 16:43:31 2021 : Debug: update {
Sat Nov 13 16:43:31 2021 : Debug: &Module-Failure-Message += 'Rejected: Realm ends with a dot'
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: reject
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: if (&User-Name =~ /(a)\./) {
Sat Nov 13 16:43:31 2021 : Debug: update {
Sat Nov 13 16:43:31 2021 : Debug: &Module-Failure-Message += 'Rejected: Realm begins with a dot'
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: reject
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: update {
Sat Nov 13 16:43:31 2021 : Debug: &Yubikey-Map := "radiusd_raritans"
Sat Nov 13 16:43:31 2021 : Debug: &Raritan-Group := "%{User-Name}"
Sat Nov 13 16:43:31 2021 : Debug: &User-Name := "%{Client-Shortname}_%{User-Name}"
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: if ("%{client:allow_users_without_yubikeys}" == yes) {
Sat Nov 13 16:43:31 2021 : Debug: update {
Sat Nov 13 16:43:31 2021 : Debug: &Yubikey-Null-Ok := "yes"
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: preprocess
Sat Nov 13 16:43:31 2021 : Debug: auth_log
Sat Nov 13 16:43:31 2021 : Debug: sql_raritans
Sat Nov 13 16:43:31 2021 : Debug: pap
Sat Nov 13 16:43:31 2021 : Debug: # Loading post-auth {...}
Sat Nov 13 16:43:31 2021 : Debug: exec
Sat Nov 13 16:43:31 2021 : Debug: update {
Sat Nov 13 16:43:31 2021 : Debug: &reply:Filter-Id = "Raritan:G{%{Raritan-Group}}"
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: } # server raritans
Sat Nov 13 16:43:31 2021 : Debug: server inner-tunnel { # from file /etc/freeradius/3.0/sites-enabled/inner-tunnel
Sat Nov 13 16:43:31 2021 : Debug: # Loading authenticate {...}
Sat Nov 13 16:43:31 2021 : Debug: # Loading authorize {...}
Sat Nov 13 16:43:31 2021 : Debug: policy filter_username {
Sat Nov 13 16:43:31 2021 : Debug: if (&User-Name) {
Sat Nov 13 16:43:31 2021 : Debug: if (&User-Name =~ / /) {
Sat Nov 13 16:43:31 2021 : Debug: update {
Sat Nov 13 16:43:31 2021 : Debug: &Module-Failure-Message += 'Rejected: User-Name contains whitespace'
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: reject
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: if (&User-Name =~ /@[^@]*@/) {
Sat Nov 13 16:43:31 2021 : Debug: update {
Sat Nov 13 16:43:31 2021 : Debug: &Module-Failure-Message += 'Rejected: Multiple @ in User-Name'
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: reject
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: if (&User-Name =~ /\.\./) {
Sat Nov 13 16:43:31 2021 : Debug: update {
Sat Nov 13 16:43:31 2021 : Debug: &Module-Failure-Message += 'Rejected: User-Name contains multiple ..s'
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: reject
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: if (&User-Name =~ /@/ && !&User-Name =~ /(a)(.+)\.(.+)$/) {
Sat Nov 13 16:43:31 2021 : Debug: update {
Sat Nov 13 16:43:31 2021 : Debug: &Module-Failure-Message += 'Rejected: Realm does not have at least one dot separator'
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: reject
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: if (&User-Name =~ /\.$/) {
Sat Nov 13 16:43:31 2021 : Debug: update {
Sat Nov 13 16:43:31 2021 : Debug: &Module-Failure-Message += 'Rejected: Realm ends with a dot'
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: reject
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: if (&User-Name =~ /(a)\./) {
Sat Nov 13 16:43:31 2021 : Debug: update {
Sat Nov 13 16:43:31 2021 : Debug: &Module-Failure-Message += 'Rejected: Realm begins with a dot'
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: reject
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: suffix
Sat Nov 13 16:43:31 2021 : Debug: update {
Sat Nov 13 16:43:31 2021 : Debug: &control:Proxy-To-Realm := LOCAL
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: files
Sat Nov 13 16:43:31 2021 : Debug: sql
Sat Nov 13 16:43:31 2021 : Warning: Ignoring "ldap" (see raddb/mods-available/README.rst)
Sat Nov 13 16:43:31 2021 : Debug: expiration
Sat Nov 13 16:43:31 2021 : Debug: logintime
Sat Nov 13 16:43:31 2021 : Debug: pap
Sat Nov 13 16:43:31 2021 : Debug: # Loading session {...}
Sat Nov 13 16:43:31 2021 : Debug: radutmp
Sat Nov 13 16:43:31 2021 : Debug: # Loading post-auth {...}
Sat Nov 13 16:43:31 2021 : Info: # Skipping contents of 'if' as it is always 'false' -- /etc/freeradius/3.0/sites-enabled/inner-tunnel:337
Sat Nov 13 16:43:31 2021 : Debug: if (false) {
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: } # server inner-tunnel
Sat Nov 13 16:43:31 2021 : Debug: radiusd: #### Opening IP addresses and Ports ####
Sat Nov 13 16:43:31 2021 : Debug: listen {
Sat Nov 13 16:43:31 2021 : Debug: type = "auth"
Sat Nov 13 16:43:31 2021 : Debug: ipaddr = *
Sat Nov 13 16:43:31 2021 : Debug: port = 0
Sat Nov 13 16:43:31 2021 : Debug: limit {
Sat Nov 13 16:43:31 2021 : Debug: max_connections = 16
Sat Nov 13 16:43:31 2021 : Debug: lifetime = 0
Sat Nov 13 16:43:31 2021 : Debug: idle_timeout = 30
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: listen {
Sat Nov 13 16:43:31 2021 : Debug: type = "acct"
Sat Nov 13 16:43:31 2021 : Debug: ipaddr = *
Sat Nov 13 16:43:31 2021 : Debug: port = 0
Sat Nov 13 16:43:31 2021 : Debug: limit {
Sat Nov 13 16:43:31 2021 : Debug: max_connections = 16
Sat Nov 13 16:43:31 2021 : Debug: lifetime = 0
Sat Nov 13 16:43:31 2021 : Debug: idle_timeout = 30
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: listen {
Sat Nov 13 16:43:31 2021 : Debug: type = "auth"
Sat Nov 13 16:43:31 2021 : Debug: ipaddr = 127.0.0.1
Sat Nov 13 16:43:31 2021 : Debug: port = 18120
Sat Nov 13 16:43:31 2021 : Debug: }
Sat Nov 13 16:43:31 2021 : Debug: Listening on auth address * port 1812 bound to server default
Sat Nov 13 16:43:31 2021 : Debug: Listening on acct address * port 1813 bound to server default
Sat Nov 13 16:43:31 2021 : Debug: Listening on auth address 127.0.0.1 port 18120 bound to server inner-tunnel
Sat Nov 13 16:43:31 2021 : Debug: Opened new proxy socket 'proxy address * port 53587'
Sat Nov 13 16:43:31 2021 : Debug: Listening on proxy address * port 53587
Sat Nov 13 16:43:31 2021 : Info: Ready to process requests
3
3
Hi,
I am configuring a Freeradius server on Ubuntu 20.04 to authenticate
against an Active Directory Domain. I searched online and found many
documentation pages, like this one:
http://deployingradius.com/documents/configuration/active_directory.html but
I did not find any recently produced page, every page that I found dates
back to 5+ years ago and relies on Samba and ntlm_auth command.
So my question is: is this procedure still recommended? Or are there any
newer procedures? Can't I query AD domain as an LDAP server, avoiding
joining my Ubuntu server to the domain?
4
3
Hello,
I have a question - what is the most effective way to update Accounting-Request and populate it with Class (ldap group membership) information.
A bit of description before ending up to the actual question:
An enduser device (pc / ios / android .. you name it) does a EAP-PEAP + mschapv2 auth. It could be WLAN or LAN.
FR does the ntlm_auth (in mschap module) and also ldap module will go and ask from LDAP in what groups that user is.
In default site at post-auth section I’m updating the reply and ending up having the following in the Reponse packet.
...
> Class = 0x6f7f68f6f8f67
> Class = 0x6f7f1340080f789f790f8
…
It works. All the NAS devices are happy, they see the group info and proceed on their own.
Now the actual issue.
All my NAS devices are being asked to do accounting and the reason for that is firewall needs to have this to do on-the-fly L3 and UTM rules.
I’m using replicate module in FR to forward all Accounting-Request packets to multiple firewalls over the organisation.
In order this to work Accounting-Request (start / interim / stop) must include the following:
User-Name
Framed-IP-Address
Class (group info)
The first two are coming from NAS naturally but I can’t find a good way to populate Class in accounting section.
If i'm not misunderstood, ldap module are not designed to fetch group information in accounting section other than “write something back to ldap”.
With some help I managed call out external script that will do ldapsearch and return series of Class = value but is this the only and most effective way?
FTR: vendors Fortigate & Juniper
--
Harry
2
1
Help in configuring freeradius to support two server certificates in EAP-TLS
by Hello Users 11 Nov '21
by Hello Users 11 Nov '21
11 Nov '21
Hi all,
I am new to freeradius. I need to configure the radius server to support
clients authenticating using two different certificate authorities.Already
existing server certificate is about to expire and the requirement is to
support both new and old certificates during the transition period.
The Freeradius version used is 3.0.20 and testing done in raspberry pi 3.
I found a similar query over
https://marc.info/?l=freeradius-users&m=118050256411524&w=2 and tried to
configure it as mentioned.
eap eap1 {
...
tls {
certificate = Cert1.pem
...
}
}
eap eap2 {
...
tls {
certificate = Cert2.pem
...
}
}
authenticate {
...
eap1
eap2
}
But in the authorize {} section, I could configure either eap1 or eap2. If
both are configured I am getting errors as below while authenticating.
(1) Found Auth-Type = eap1
(1) Found Auth-Type = eap2
"ERROR: Warning: Found 2 auth-types on request for user 'hellouser'"
Attaching the full log for reference.
So my doubts are
1) Do we need to mention explicitly in the user file which eap method to be
used as below ? Even I tried it, but it's not working. Can anyone help me
with this.
DEFAULT Called-Station-ID = "00112233445566:SSID1", Auth-Type := eap1
DEFAULT Called-Station-ID = "00112233445566:SSID2", Auth-Type := eap2
2) Also in my case, I won't be able to configure stations IDs as above.
Is there any way to configure radius server like it should try with eap1
first and if it fails then try with eap2. Can anyone please help
Thanks in advance.
Regards,
Jnx
2
1