Freeradius-Users
Threads by month
- ----- 2026 -----
- August
- 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
- 2 participants
- 27050 discussions
Hi, I’m trying to implement Simultaneous-Use with postgreSQL. I add Simultaneous-Use for every group at radgroupcheck. Uncommented simultaneous use checking queries at queries.conf. Uncommented sql in default and inner-tunnel at session section. Trying to simulate Simultaneous-Use from proxy. I know NAS sending accounting-request. I’m sending manual Access-Request and I sent Accounting-Response before that and I see at my radacct table I have accounting record with acctstoptime is null. So at the end of the day, I have access-request, I have accounting at the radacct table which it has acctstoptime is null. I expect to see when I send Access-Request RADIUS should return Access-Reject because user already have session with acctstoptime is null. Here is my radius debug and Im not seeing executing of session section in my debug.
FreeRADIUS Version 3.2.1
Copyright (C) 1999-2022 The FreeRADIUS server project and contributors
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE
You may redistribute copies of FreeRADIUS under the terms of the
GNU General Public License
For more information about these matters, see the file named COPYRIGHT
Starting - reading configuration files ...
including dictionary file /usr/share/freeradius/dictionary
including dictionary file /usr/share/freeradius/dictionary.dhcp
including dictionary file /usr/share/freeradius/dictionary.vqp
including dictionary file /etc/freeradius/dictionary
including configuration file /etc/freeradius/radiusd.conf
including configuration file /etc/freeradius/proxy.conf
including configuration file /etc/freeradius/clients.conf
including files in directory /etc/freeradius/mods-enabled/
including configuration file /etc/freeradius/mods-enabled/preprocess
including configuration file /etc/freeradius/mods-enabled/python3
including configuration file /etc/freeradius/mods-enabled/radutmp
including configuration file /etc/freeradius/mods-enabled/realm
including configuration file /etc/freeradius/mods-enabled/replicate
including configuration file /etc/freeradius/mods-enabled/soh
including configuration file /etc/freeradius/mods-enabled/sql
including configuration file /etc/freeradius/mods-config/sql/main/postgresql/queries.conf
including configuration file /etc/freeradius/mods-config/sql/main/postgresql/queries.conf
including configuration file /etc/freeradius/mods-enabled/sqlcounter
including configuration file /etc/freeradius/mods-config/sql/counter/postgresql/dailycounter.conf
including configuration file /etc/freeradius/mods-config/sql/counter/postgresql/monthlycounter.conf
including configuration file /etc/freeradius/mods-config/sql/counter/postgresql/noresetcounter.conf
including configuration file /etc/freeradius/mods-config/sql/counter/postgresql/expire_on_login.conf
including configuration file /etc/freeradius/mods-enabled/sqlippool
including configuration file /etc/freeradius/mods-config/sql/ippool/postgresql/queries.conf
including configuration file /etc/freeradius/mods-config/sql/ippool/postgresql/ippoolv6DelegatedQuery.conf
including configuration file /etc/freeradius/mods-config/sql/ippool/postgresql/ippoolv6FramedQuery.conf
including configuration file /etc/freeradius/mods-enabled/sradutmp
including configuration file /etc/freeradius/mods-enabled/totp
including configuration file /etc/freeradius/mods-enabled/unix
including configuration file /etc/freeradius/mods-enabled/unpack
including configuration file /etc/freeradius/mods-enabled/utf8
including configuration file /etc/freeradius/mods-enabled/detail.log
including configuration file /etc/freeradius/mods-enabled/eap
including configuration file /etc/freeradius/mods-enabled/always
including configuration file /etc/freeradius/mods-enabled/attr_filter
including configuration file /etc/freeradius/mods-enabled/cache
including configuration file /etc/freeradius/mods-enabled/chap
including configuration file /etc/freeradius/mods-enabled/date
including configuration file /etc/freeradius/mods-enabled/detail
including configuration file /etc/freeradius/mods-enabled/digest
including configuration file /etc/freeradius/mods-enabled/dynamic_clients
including configuration file /etc/freeradius/mods-enabled/echo
including configuration file /etc/freeradius/mods-enabled/exec
including configuration file /etc/freeradius/mods-enabled/expiration
including configuration file /etc/freeradius/mods-enabled/expr
including configuration file /etc/freeradius/mods-enabled/files
including configuration file /etc/freeradius/mods-enabled/linelog
including configuration file /etc/freeradius/mods-enabled/logintime
including configuration file /etc/freeradius/mods-enabled/mschap
including configuration file /etc/freeradius/mods-enabled/ntlm_auth
including configuration file /etc/freeradius/mods-enabled/pap
including configuration file /etc/freeradius/mods-enabled/passwd
including files in directory /etc/freeradius/policy.d/
including configuration file /etc/freeradius/policy.d/abfab-tr
including configuration file /etc/freeradius/policy.d/accounting
including configuration file /etc/freeradius/policy.d/canonicalization
including configuration file /etc/freeradius/policy.d/control
including configuration file /etc/freeradius/policy.d/cui
including configuration file /etc/freeradius/policy.d/debug
including configuration file /etc/freeradius/policy.d/dhcp
including configuration file /etc/freeradius/policy.d/eap
including configuration file /etc/freeradius/policy.d/filter
including configuration file /etc/freeradius/policy.d/moonshot-targeted-ids
including configuration file /etc/freeradius/policy.d/operator-name
including configuration file /etc/freeradius/policy.d/rfc7542
including configuration file /etc/freeradius/policy.d/reject_attributes
including configuration file /etc/freeradius/policy.d/accounting.dpkg-old
including configuration file /etc/freeradius/policy.d/eap.dpkg-old
including configuration file /etc/freeradius/policy.d/bng_forwarding_attributes
including files in directory /etc/freeradius/sites-enabled/
including configuration file /etc/freeradius/sites-enabled/status
including configuration file /etc/freeradius/sites-enabled/monitor-socket
including configuration file /etc/freeradius/sites-enabled/default
including configuration file /etc/freeradius/sites-enabled/coa
including configuration file /etc/freeradius/sites-enabled/inner-tunnel
main {
security {
user = "freerad"
group = "freerad"
allow_core_dumps = no
}
name = "freeradius"
prefix = "/usr"
localstatedir = "/var"
logdir = "/var/log/freeradius"
run_dir = "/var/run/freeradius"
}
main {
name = "freeradius"
prefix = "/usr"
localstatedir = "/var"
sbindir = "/usr/sbin"
logdir = "/var/log/freeradius"
run_dir = "/var/run/freeradius"
libdir = "/usr/lib/freeradius"
radacctdir = "/var/log/freeradius/radacct"
hostname_lookups = no
max_request_time = 30
cleanup_delay = 5
max_requests = 16384
postauth_client_lost = no
pidfile = "/var/run/freeradius/freeradius.pid"
checkrad = "/usr/sbin/checkrad"
debug_level = 0
proxy_requests = no
log {
stripped_names = no
auth = yes
auth_badpass = yes
auth_goodpass = yes
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
}
recv_coa {
}
}
home_server_pool my_auth_failover {
type = fail-over
home_server = localhost
}
realm example.com {
auth_pool = my_auth_failover
}
realm LOCAL {
}
realm turk.net {
}
realm netoneadsl {
}
realm netonesdsl {
}
radiusd: #### Loading Clients ####
client local {
ipaddr = 10.2.105.0/0
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
lifetime = 3600
}
client local {
ipaddr = 10.2.134.249/32
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
lifetime = 3600
}
Debugger not attached
systemd watchdog is disabled
# Creating Autz-Type = Status-Server
# Creating Auth-Type = PAP
# Creating Auth-Type = mschap
# Creating Auth-Type = eap
# Creating Auth-Type = CHAP
# Creating Auth-Type = MS-CHAP
radiusd: #### Instantiating modules ####
modules {
# Loaded module rlm_preprocess
# Loading module "preprocess" from file /etc/freeradius/mods-enabled/preprocess
preprocess {
huntgroups = "/etc/freeradius/mods-config/preprocess/huntgroups"
hints = "/etc/freeradius/mods-config/preprocess/hints"
with_ascend_hack = no
ascend_channels_per_line = 23
with_ntdomain_hack = no
with_specialix_jetstream_hack = no
with_cisco_vsa_hack = yes
with_alvarion_vsa_hack = no
}
# Loaded module rlm_python3
# Loading module "python3" from file /etc/freeradius/mods-enabled/python3
python3 {
mod_instantiate = "example"
func_instantiate = "instantiate"
mod_authenticate = "example"
func_authenticate = "authenticate"
mod_accounting = "example"
func_accounting = "accounting"
mod_detach = "example"
func_detach = "detach"
python_path = "/etc/freeradius/mods-config/python3"
cext_compat = yes
pass_all_vps = no
pass_all_vps_dict = no
}
# Loaded module rlm_radutmp
# Loading module "radutmp" from file /etc/freeradius/mods-enabled/radutmp
radutmp {
filename = "/var/log/freeradius/radutmp"
username = "%{User-Name}"
case_sensitive = yes
check_with_nas = yes
permissions = 384
caller_id = yes
}
# Loaded module rlm_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 "realmpercent" from file /etc/freeradius/mods-enabled/realm
realm realmpercent {
format = "suffix"
delimiter = "%"
ignore_default = no
ignore_null = no
}
# Loading module "ntdomain" from file /etc/freeradius/mods-enabled/realm
realm ntdomain {
format = "prefix"
delimiter = "\\"
ignore_default = no
ignore_null = no
}
# Loaded module rlm_replicate
# Loading module "replicate" from file /etc/freeradius/mods-enabled/replicate
# Loaded module rlm_soh
# Loading module "soh" from file /etc/freeradius/mods-enabled/soh
soh {
dhcp = yes
}
# Loaded module rlm_sql
# Loading module "sqlrw" from file /etc/freeradius/mods-enabled/sql
sql sqlrw {
driver = "rlm_sql_postgresql"
server = "10.2.134.251"
port = 5432
login = "au_freeradius"
password = <<< secret >>>
radius_db = "radius"
read_groups = yes
read_profiles = yes
read_clients = no
delete_stale_sessions = yes
sql_user_name = "%{User-Name}"
default_user_profile = ""
client_query = "SELECT A.id, A.nasname, CONCAT(shortname, '|', groupname, '|', servicepolicyenabled) as shortname, type, secret, server FROM nas A JOIN radhuntgroup B ON B.nasipaddress = A.nasname"
authorize_check_query = "SELECT id, UserName, Attribute, Value, Op FROM radcheck WHERE Username = '%{SQL-User-Name}' ORDER BY id"
authorize_reply_query = "SELECT id, UserName, Attribute, Value, Op FROM radreply WHERE Username = '%{SQL-User-Name}' and devicetype IN ( '%{&Bng-Model}','OTHER') and ((isservicepolicyenabled = 1 and '%{&Huntgroup-Name}' = 'CGNAT' and iscgnat = 1 and '%{&Customer-Static-IP}' != 1 ) or (iscgnat =0) or (isservicepolicyenabled=2)) and not ( '%{&User-Group-Name}' in ('Suspend','Freeze') and Attribute in ('Framed-IP-Address','Framed-Ipv6-Prefix','Framed-Route')) ORDER BY id"
authorize_group_check_query = " SELECT id, GroupName, Attribute, case when ( Attribute= 'Pool-Name-DelegatedIPV6' or Attribute= 'Pool-Name-FramedIPV6' ) and '%{&Customer-Static-IP}' = 1 then REPLACE(Value,'Dinamic','Static') when ( Attribute= 'Pool-Name-DelegatedIPV6' or Attribute= 'Pool-Name-FramedIPV6' ) then Value when Attribute='Pool-Name' and '%{&Huntgroup-Name}' = 'CGNAT' then REPLACE(Value,'internet','cgnat') ELSE Value END as Value , op FROM radgroupcheck WHERE GroupName = '%{&User-Group-Name}' and ( '%{&Customer-Static-IPv6}' = 1 or ('%{&Customer-Static-IPv6}' = 0 and not ( Attribute= 'Pool-Name-DelegatedIPV6' or Attribute= 'Pool-Name-FramedIPV6'))) ORDER BY id"
authorize_group_reply_query = "SELECT id, GroupName, Attribute, case when '%{&Customer-Static-IP}' = 1 and GroupName like 'Secure%%' THEN REPLACE(Value,'INTERNET_','STATIC_') when '%{&Customer-Static-IP}' = 1 and GroupName ='CGNAT' THEN REPLACE(Value,'CGNAT','INTERNET') when '%{&Customer-Static-IP}' = 1 and GroupName ='CGNATIPV6' THEN REPLACE(Value,'CGNAT','INTERNET') ELSE Value End as Value, op FROM radgroupreply WHERE GroupName = '%{&User-Group-Name}' and devicetype IN ( '%{&Bng-Model}','OTHER') ORDER BY id"
group_membership_query = " SELECT '' as GroupName "
simul_count_query = "SELECT COUNT(*) FROM radacct WHERE UserName='%{SQL-User-Name}' AND AcctStopTime IS NULL"
simul_verify_query = "SELECT RadAcctId, AcctSessionId, UserName, NASIPAddress, NASPortId, FramedIPAddress, CallingStationId, FramedProtocol FROM radacct WHERE UserName='%{SQL-User-Name}' AND AcctStopTime IS NULL"
safe_characters = "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /"
auto_escape = no
accounting {
reference = "%{tolower:type.%{%{Acct-Status-Type}:-none}.query}"
type {
accounting-on {
query = "UPDATE radacct SET AcctStopTime = TO_TIMESTAMP(%{integer:Event-Timestamp}), AcctUpdateTime = TO_TIMESTAMP(%{integer:Event-Timestamp}), AcctSessionTime = (%{integer:Event-Timestamp} - EXTRACT(EPOCH FROM(AcctStartTime))), AcctTerminateCause = '%{%{Acct-Terminate-Cause}:-NAS-Reboot}' WHERE AcctStopTime IS NULL AND NASIPAddress= '%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}}' AND AcctStartTime <= '%S'::timestamp"
}
accounting-off {
query = "UPDATE radacct SET AcctStopTime = TO_TIMESTAMP(%{integer:Event-Timestamp}), AcctUpdateTime = TO_TIMESTAMP(%{integer:Event-Timestamp}), AcctSessionTime = (%{integer:Event-Timestamp} - EXTRACT(EPOCH FROM(AcctStartTime))), AcctTerminateCause = '%{%{Acct-Terminate-Cause}:-NAS-Reboot}' WHERE AcctStopTime IS NULL AND NASIPAddress= '%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}}' AND AcctStartTime <= '%S'::timestamp"
}
start {
query = "INSERT INTO radacct (AcctSessionId, AcctUniqueId, UserName, Realm, NASIPAddress, NASPortId, NASPortType, AcctStartTime, AcctUpdateTime, AcctStopTime, AcctSessionTime, AcctAuthentic, ConnectInfo_start, ConnectInfo_Stop, AcctInputOctets, AcctOutputOctets, CalledStationId, CallingStationId, AcctTerminateCause, ServiceType, FramedProtocol, FramedIpAddress, portbegin, portend, realipaddress, acctid, iscgnat, tunneltype, tunnelclientid, tunnelserver, tunnelclient, tunnelserverid, tunnellastid, actual_data_rate_upstream, actual_data_rate_downstream, minimum_data_rate_upstream, minimum_data_rate_downstream, maximum_data_rate_upstream, maximum_data_rate_downstream, attainable_data_rate_upstream, attainable_data_rate_downstream, framedipv6prefix, delegatedipv6prefix, modemmacaddress, acctinputoctetsipv6, acctoutputoctetsipv6 ) VALUES('%{Acct-Session-Id}', '%{Acct-Unique-Session-Id}', '%{SQL-User-Name}', NULLIF('%{Realm}', ''), '%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}}', NULLIF('%{%{NAS-Port-ID}:-%{NAS-Port}}', ''), '%{NAS-Port-Type}', TO_TIMESTAMP(%{integer:Event-Timestamp}), TO_TIMESTAMP(%{integer:Event-Timestamp}), NULL, 0, '%{Acct-Authentic}', '%{Connect-Info}', NULL, 0, 0, '%{Called-Station-Id}', '%{Calling-Station-Id}', NULL, '%{Service-Type}', '%{Framed-Protocol}', NULLIF('%{Framed-IP-Address}', '')::inet, %{Port-Begin}, %{Port-End}, NULLIF('%{Real-IpAddress}', ''), isnumeric(%{Account-Id}), %{Is-CgNat}, '%{Tunnel-Type}', '%{Tunnel-Server-Auth-Id}', '%{Tunnel-Server-Endpoint}', '%{Tunnel-Client-Endpoint}', '%{Tunnel-Assignment-Id}', '%{Tunnel-Client-Auth-Id}', isnumeric(%{actual-data-rate-upstream}), isnumeric(%{actual-data-rate-downstream}), isnumeric(%{minimum-data-rate-upstream}), isnumeric(%{minimum-data-rate-downstream}), isnumeric(%{maximum-data-rate-upstream}), isnumeric(%{maximum-data-rate-downstream}), isnumeric(%{attainable-data-rate-upstream}), isnumeric(%{attainable-data-rate-downstream}), NULLIF('%{Framed-IPv6-Prefix}','')::inet, NULLIF('%{Delegated-IPv6-Prefix}','')::inet, '%{client-mac-address}', 0, 0)"
}
interim-update {
query = "UPDATE radacct SET FramedIPAddress = NULLIF('%{Framed-IP-Address}', '')::inet, AcctSessionTime = %{%{Acct-Session-Time}:-NULL}, AcctInterval = (%{integer:Event-Timestamp} - EXTRACT(EPOCH FROM (COALESCE(AcctUpdateTime, AcctStartTime)))), AcctUpdateTime = TO_TIMESTAMP(%{integer:Event-Timestamp}), AcctInputOctets = (('%{%{Acct-Input-Gigawords}:-0}'::bigint << 32) + '%{%{Acct-Input-Octets}:-0}'::bigint), AcctOutputOctets = (('%{%{Acct-Output-Gigawords}:-0}'::bigint << 32) + '%{%{Acct-Output-Octets}:-0}'::bigint), AcctInputOctetsIpV6 = (('%{%{Acct-Input-Gigawords-IPv6}:-0}'::bigint << 32) + '%{%{Acct-Input-Octets-IPv6}:-0}'::bigint), AcctOutputOctetsIpV6 = (('%{%{Acct-Output-Gigawords-IPv6}:-0}'::bigint << 32) + '%{%{Acct-Output-Octets-IPv6}:-0}'::bigint) WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' AND AcctStopTime IS NULL"
}
stop {
query = "UPDATE radacct SET AcctStopTime = TO_TIMESTAMP(%{integer:Event-Timestamp}), AcctUpdateTime = TO_TIMESTAMP(%{integer:Event-Timestamp}), AcctSessionTime = COALESCE(%{%{Acct-Session-Time}:-NULL}, (%{integer:Event-Timestamp} - EXTRACT(EPOCH FROM(AcctStartTime)))), AcctInputOctets = (('%{%{Acct-Input-Gigawords}:-0}'::bigint << 32) + '%{%{Acct-Input-Octets}:-0}'::bigint), AcctOutputOctets = (('%{%{Acct-Output-Gigawords}:-0}'::bigint << 32) + '%{%{Acct-Output-Octets}:-0}'::bigint), AcctTerminateCause = '%{Acct-Terminate-Cause}', FramedIPAddress = NULLIF('%{Framed-IP-Address}', '')::inet, ConnectInfo_stop = '%{Connect-Info}', AcctInputOctetsIpV6 = (('%{%{Acct-Input-Gigawords-IPv6}:-0}'::bigint << 32) + '%{%{Acct-Input-Octets-IPv6}:-0}'::bigint), AcctOutputOctetsIpV6 = (('%{%{Acct-Output-Gigawords-IPv6}:-0}'::bigint << 32) + '%{%{Acct-Output-Octets-IPv6}:-0}'::bigint) WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' AND AcctStopTime IS NULL"
}
}
}
post-auth {
reference = ".query"
query = "INSERT INTO radpostauth (username, pass, reply, callingstationid, authdate) VALUES('%{User-Name}', '%{%{User-Password}:-Chap-Password}', '%{reply:Packet-Type}', '%{Calling-Station-Id}', NOW())"
}
}
rlm_sql (sqlrw): Driver rlm_sql_postgresql (module rlm_sql_postgresql) loaded and linked
Creating attribute sqlrw-SQL-Group
# Loading module "sqlro" from file /etc/freeradius/mods-enabled/sql
sql sqlro {
driver = "rlm_sql_postgresql"
server = "10.2.134.251"
port = 5432
login = "au_freeradius"
password = <<< secret >>>
radius_db = "radius"
read_groups = yes
read_profiles = yes
read_clients = yes
delete_stale_sessions = yes
sql_user_name = "%{User-Name}"
default_user_profile = ""
client_query = "SELECT A.id, A.nasname, CONCAT(shortname, '|', groupname, '|', servicepolicyenabled) as shortname, type, secret, server FROM nas A JOIN radhuntgroup B ON B.nasipaddress = A.nasname"
authorize_check_query = "SELECT id, UserName, Attribute, Value, Op FROM radcheck WHERE Username = '%{SQL-User-Name}' ORDER BY id"
authorize_reply_query = "SELECT id, UserName, Attribute, Value, Op FROM radreply WHERE Username = '%{SQL-User-Name}' and devicetype IN ( '%{&Bng-Model}','OTHER') and ((isservicepolicyenabled = 1 and '%{&Huntgroup-Name}' = 'CGNAT' and iscgnat = 1 and '%{&Customer-Static-IP}' != 1 ) or (iscgnat =0) or (isservicepolicyenabled=2)) and not ( '%{&User-Group-Name}' in ('Suspend','Freeze') and Attribute in ('Framed-IP-Address','Framed-Ipv6-Prefix','Framed-Route')) ORDER BY id"
authorize_group_check_query = " SELECT id, GroupName, Attribute, case when ( Attribute= 'Pool-Name-DelegatedIPV6' or Attribute= 'Pool-Name-FramedIPV6' ) and '%{&Customer-Static-IP}' = 1 then REPLACE(Value,'Dinamic','Static') when ( Attribute= 'Pool-Name-DelegatedIPV6' or Attribute= 'Pool-Name-FramedIPV6' ) then Value when Attribute='Pool-Name' and '%{&Huntgroup-Name}' = 'CGNAT' then REPLACE(Value,'internet','cgnat') ELSE Value END as Value , op FROM radgroupcheck WHERE GroupName = '%{&User-Group-Name}' and ( '%{&Customer-Static-IPv6}' = 1 or ('%{&Customer-Static-IPv6}' = 0 and not ( Attribute= 'Pool-Name-DelegatedIPV6' or Attribute= 'Pool-Name-FramedIPV6'))) ORDER BY id"
authorize_group_reply_query = "SELECT id, GroupName, Attribute, case when '%{&Customer-Static-IP}' = 1 and GroupName like 'Secure%%' THEN REPLACE(Value,'INTERNET_','STATIC_') when '%{&Customer-Static-IP}' = 1 and GroupName ='CGNAT' THEN REPLACE(Value,'CGNAT','INTERNET') when '%{&Customer-Static-IP}' = 1 and GroupName ='CGNATIPV6' THEN REPLACE(Value,'CGNAT','INTERNET') ELSE Value End as Value, op FROM radgroupreply WHERE GroupName = '%{&User-Group-Name}' and devicetype IN ( '%{&Bng-Model}','OTHER') ORDER BY id"
group_membership_query = " SELECT '' as GroupName "
simul_count_query = "SELECT COUNT(*) FROM radacct WHERE UserName='%{SQL-User-Name}' AND AcctStopTime IS NULL"
simul_verify_query = "SELECT RadAcctId, AcctSessionId, UserName, NASIPAddress, NASPortId, FramedIPAddress, CallingStationId, FramedProtocol FROM radacct WHERE UserName='%{SQL-User-Name}' AND AcctStopTime IS NULL"
safe_characters = "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /"
auto_escape = no
accounting {
reference = "%{tolower:type.%{%{Acct-Status-Type}:-none}.query}"
type {
accounting-on {
query = "UPDATE radacct SET AcctStopTime = TO_TIMESTAMP(%{integer:Event-Timestamp}), AcctUpdateTime = TO_TIMESTAMP(%{integer:Event-Timestamp}), AcctSessionTime = (%{integer:Event-Timestamp} - EXTRACT(EPOCH FROM(AcctStartTime))), AcctTerminateCause = '%{%{Acct-Terminate-Cause}:-NAS-Reboot}' WHERE AcctStopTime IS NULL AND NASIPAddress= '%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}}' AND AcctStartTime <= '%S'::timestamp"
}
accounting-off {
query = "UPDATE radacct SET AcctStopTime = TO_TIMESTAMP(%{integer:Event-Timestamp}), AcctUpdateTime = TO_TIMESTAMP(%{integer:Event-Timestamp}), AcctSessionTime = (%{integer:Event-Timestamp} - EXTRACT(EPOCH FROM(AcctStartTime))), AcctTerminateCause = '%{%{Acct-Terminate-Cause}:-NAS-Reboot}' WHERE AcctStopTime IS NULL AND NASIPAddress= '%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}}' AND AcctStartTime <= '%S'::timestamp"
}
start {
query = "INSERT INTO radacct (AcctSessionId, AcctUniqueId, UserName, Realm, NASIPAddress, NASPortId, NASPortType, AcctStartTime, AcctUpdateTime, AcctStopTime, AcctSessionTime, AcctAuthentic, ConnectInfo_start, ConnectInfo_Stop, AcctInputOctets, AcctOutputOctets, CalledStationId, CallingStationId, AcctTerminateCause, ServiceType, FramedProtocol, FramedIpAddress, portbegin, portend, realipaddress, acctid, iscgnat, tunneltype, tunnelclientid, tunnelserver, tunnelclient, tunnelserverid, tunnellastid, actual_data_rate_upstream, actual_data_rate_downstream, minimum_data_rate_upstream, minimum_data_rate_downstream, maximum_data_rate_upstream, maximum_data_rate_downstream, attainable_data_rate_upstream, attainable_data_rate_downstream, framedipv6prefix, delegatedipv6prefix, modemmacaddress, acctinputoctetsipv6, acctoutputoctetsipv6 ) VALUES('%{Acct-Session-Id}', '%{Acct-Unique-Session-Id}', '%{SQL-User-Name}', NULLIF('%{Realm}', ''), '%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}}', NULLIF('%{%{NAS-Port-ID}:-%{NAS-Port}}', ''), '%{NAS-Port-Type}', TO_TIMESTAMP(%{integer:Event-Timestamp}), TO_TIMESTAMP(%{integer:Event-Timestamp}), NULL, 0, '%{Acct-Authentic}', '%{Connect-Info}', NULL, 0, 0, '%{Called-Station-Id}', '%{Calling-Station-Id}', NULL, '%{Service-Type}', '%{Framed-Protocol}', NULLIF('%{Framed-IP-Address}', '')::inet, %{Port-Begin}, %{Port-End}, NULLIF('%{Real-IpAddress}', ''), isnumeric(%{Account-Id}), %{Is-CgNat}, '%{Tunnel-Type}', '%{Tunnel-Server-Auth-Id}', '%{Tunnel-Server-Endpoint}', '%{Tunnel-Client-Endpoint}', '%{Tunnel-Assignment-Id}', '%{Tunnel-Client-Auth-Id}', isnumeric(%{actual-data-rate-upstream}), isnumeric(%{actual-data-rate-downstream}), isnumeric(%{minimum-data-rate-upstream}), isnumeric(%{minimum-data-rate-downstream}), isnumeric(%{maximum-data-rate-upstream}), isnumeric(%{maximum-data-rate-downstream}), isnumeric(%{attainable-data-rate-upstream}), isnumeric(%{attainable-data-rate-downstream}), NULLIF('%{Framed-IPv6-Prefix}','')::inet, NULLIF('%{Delegated-IPv6-Prefix}','')::inet, '%{client-mac-address}', 0, 0)"
}
interim-update {
query = "UPDATE radacct SET FramedIPAddress = NULLIF('%{Framed-IP-Address}', '')::inet, AcctSessionTime = %{%{Acct-Session-Time}:-NULL}, AcctInterval = (%{integer:Event-Timestamp} - EXTRACT(EPOCH FROM (COALESCE(AcctUpdateTime, AcctStartTime)))), AcctUpdateTime = TO_TIMESTAMP(%{integer:Event-Timestamp}), AcctInputOctets = (('%{%{Acct-Input-Gigawords}:-0}'::bigint << 32) + '%{%{Acct-Input-Octets}:-0}'::bigint), AcctOutputOctets = (('%{%{Acct-Output-Gigawords}:-0}'::bigint << 32) + '%{%{Acct-Output-Octets}:-0}'::bigint), AcctInputOctetsIpV6 = (('%{%{Acct-Input-Gigawords-IPv6}:-0}'::bigint << 32) + '%{%{Acct-Input-Octets-IPv6}:-0}'::bigint), AcctOutputOctetsIpV6 = (('%{%{Acct-Output-Gigawords-IPv6}:-0}'::bigint << 32) + '%{%{Acct-Output-Octets-IPv6}:-0}'::bigint) WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' AND AcctStopTime IS NULL"
}
stop {
query = "UPDATE radacct SET AcctStopTime = TO_TIMESTAMP(%{integer:Event-Timestamp}), AcctUpdateTime = TO_TIMESTAMP(%{integer:Event-Timestamp}), AcctSessionTime = COALESCE(%{%{Acct-Session-Time}:-NULL}, (%{integer:Event-Timestamp} - EXTRACT(EPOCH FROM(AcctStartTime)))), AcctInputOctets = (('%{%{Acct-Input-Gigawords}:-0}'::bigint << 32) + '%{%{Acct-Input-Octets}:-0}'::bigint), AcctOutputOctets = (('%{%{Acct-Output-Gigawords}:-0}'::bigint << 32) + '%{%{Acct-Output-Octets}:-0}'::bigint), AcctTerminateCause = '%{Acct-Terminate-Cause}', FramedIPAddress = NULLIF('%{Framed-IP-Address}', '')::inet, ConnectInfo_stop = '%{Connect-Info}', AcctInputOctetsIpV6 = (('%{%{Acct-Input-Gigawords-IPv6}:-0}'::bigint << 32) + '%{%{Acct-Input-Octets-IPv6}:-0}'::bigint), AcctOutputOctetsIpV6 = (('%{%{Acct-Output-Gigawords-IPv6}:-0}'::bigint << 32) + '%{%{Acct-Output-Octets-IPv6}:-0}'::bigint) WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' AND AcctStopTime IS NULL"
}
}
}
post-auth {
reference = ".query"
query = "INSERT INTO radpostauth (username, pass, reply, callingstationid, authdate) VALUES('%{User-Name}', '%{%{User-Password}:-Chap-Password}', '%{reply:Packet-Type}', '%{Calling-Station-Id}', NOW())"
}
}
rlm_sql (sqlro): Driver rlm_sql_postgresql (module rlm_sql_postgresql) loaded and linked
Creating attribute sqlro-SQL-Group
# Loaded module rlm_sqlcounter
# Loading module "dailycounter" from file /etc/freeradius/mods-enabled/sqlcounter
sqlcounter dailycounter {
sql_module_instance = "sql"
key = "User-Name"
query = "SELECT SUM(AcctSessionTime - GREATER((%%b - AcctStartTime::ABSTIME::INT4), 0)) FROM radacct WHERE UserName='%{User-Name}' AND AcctStartTime::ABSTIME::INT4 + AcctSessionTime > '%%b'"
reset = "daily"
reset_day = 1
counter_name = "Daily-Session-Time"
check_name = "Max-Daily-Session"
reply_name = "Session-Timeout"
}
# Loading module "monthlycounter" from file /etc/freeradius/mods-enabled/sqlcounter
sqlcounter monthlycounter {
sql_module_instance = "sql"
key = "User-Name"
query = "SELECT SUM(AcctSessionTime - GREATER((%%b - AcctStartTime::ABSTIME::INT4), 0)) FROM radacct WHERE UserName='%{User-Name}' AND AcctStartTime::ABSTIME::INT4 + AcctSessionTime > '%%b'"
reset = "monthly"
reset_day = 1
counter_name = "Monthly-Session-Time"
check_name = "Max-Monthly-Session"
reply_name = "Session-Timeout"
}
# Loading module "noresetcounter" from file /etc/freeradius/mods-enabled/sqlcounter
sqlcounter noresetcounter {
sql_module_instance = "sql"
key = "User-Name"
query = "SELECT SUM(AcctSessionTime) FROM radacct WHERE UserName='%{User-Name}'"
reset = "never"
reset_day = 1
counter_name = "Max-All-Session-Time"
check_name = "Max-All-Session"
reply_name = "Session-Timeout"
}
# Loading module "expire_on_login" from file /etc/freeradius/mods-enabled/sqlcounter
sqlcounter expire_on_login {
sql_module_instance = "sql"
key = "User-Name"
query = "SELECT EXTRACT(EPOCH FROM (NOW() - acctstarttime)) FROM radacct WHERE UserName='%{User-Name}' ORDER BY acctstarttime LIMIT 1;"
reset = "never"
reset_day = 1
counter_name = "Expire-After-Initial-Login"
check_name = "Expire-After"
reply_name = "Session-Timeout"
}
# Loaded module rlm_sqlippool
# Loading module "ippoolv4" from file /etc/freeradius/mods-enabled/sqlippool
sqlippool ippoolv4 {
sql_module_instance = "sqlrw"
lease_duration = 28800
pool_name = "Pool-Name"
default_pool = "main_pool"
attribute_name = "Framed-IP-Address"
allocate_begin = ""
allocate_clear = ""
allocate_clear_timeout = 1
allocate_existing = ""
allocate_requested = ""
allocate_find = "SELECT fr_allocate_previous_or_new_framedipaddress( '%{control:Pool-Name}', '%{User-Name}', '%{NAS-IP-Address}', 28800 )"
allocate_update = ""
allocate_commit = ""
pool_check = "SELECT id FROM radippool WHERE pool_name='%{control:Pool-Name}' LIMIT 1"
start_begin = ""
start_update = "UPDATE radippool SET expiry_time = 'now'::timestamp(0) + '28800 second'::interval, acctsessionid = '%{Acct-Unique-Session-Id}' WHERE framedipaddress = '%{Framed-IP-Address}'"
start_commit = ""
alive_begin = ""
alive_update = "UPDATE radippool SET expiry_time = 'now'::timestamp(0) + '28800 seconds'::interval WHERE framedipaddress = case when '%{Framed-IP-Address}' = '' then '1.1.1.1'::inet else '%{Framed-IP-Address}'::inet end"
alive_commit = ""
stop_begin = ""
stop_clear = "UPDATE radippool SET callingstationid = '', username = '', expiry_time = 'now'::timestamp(0) + '5 minute'::interval, acctsessionid = '' WHERE framedipaddress = case when '%{Framed-IP-Address}' = '' then '1.1.1.1'::inet else '%{Framed-IP-Address}'::inet end and acctsessionid = '%{Acct-Unique-Session-Id}'"
stop_commit = ""
on_begin = ""
on_clear = "UPDATE radippool SET username = '' , callingstationid = '', expiry_time = 'now'::timestamp(0) - '1 second'::interval WHERE nasipaddress = '%{%{Nas-IP-Address}:-%{Nas-IPv6-Address}}'"
on_commit = ""
off_begin = ""
off_clear = "UPDATE radippool SET username = '', callingstationid = '', expiry_time = 'now'::timestamp(0) - '1 second'::interval WHERE nasipaddress = '%{%{Nas-IP-Address}:-%{Nas-IPv6-Address}}'"
off_commit = ""
messages {
exists = "Existing IP: %{reply:Framed-IP-Address} (did %{Called-Station-Id} cli %{Calling-Station-Id} port %{NAS-Port} user %{User-Name})"
success = "Allocated IP: %{reply:Framed-IP-Address} from %{control:Pool-Name} (did %{Called-Station-Id} cli %{Calling-Station-Id} port %{NAS-Port} user %{User-Name})"
clear = "Released IP Framed-IP-Address (did %{Called-Station-Id} cli %{Calling-Station-Id} user %{User-Name})"
failed = "IP Allocation FAILED from %{control:Pool-Name} (did %{Called-Station-Id} cli %{Calling-Station-Id} port %{NAS-Port} user %{User-Name})"
nopool = "No Pool-Name defined (did %{Called-Station-Id} cli %{Calling-Station-Id} port %{NAS-Port} user %{User-Name})"
}
}
# Loading module "ippoolv6Delegated" from file /etc/freeradius/mods-enabled/sqlippool
sqlippool ippoolv6Delegated {
sql_module_instance = "sqlrw"
lease_duration = 14400
pool_name = "Pool-Name"
default_pool = "main_pool"
attribute_name = "Delegated-IPv6-Prefix"
allocate_begin = ""
allocate_clear = ""
allocate_clear_timeout = 1
allocate_existing = ""
allocate_requested = ""
allocate_find = "SELECT fr_allocate_previous_or_new_framedipV6address( '%{control:Pool-Name-DelegatedIPV6}', '%{User-Name}', '%{NAS-IP-Address}', 14400 )"
allocate_update = ""
allocate_commit = ""
pool_check = "SELECT id FROM radipv6pool WHERE pool_name='%{control:Pool-Name-DelegatedIPV6}' LIMIT 1"
start_begin = ""
start_update = "UPDATE radipv6pool SET expiry_time = 'now'::timestamp(0) + '14400 second'::interval WHERE framedipaddress = '%{Delegated-IPv6-Prefix}'"
start_commit = ""
alive_begin = ""
alive_update = "UPDATE radipv6pool SET expiry_time = 'now'::timestamp(0) + '14400 seconds'::interval WHERE framedipaddress = '%{Delegated-IPv6-Prefix}' "
alive_commit = ""
stop_begin = ""
stop_clear = "UPDATE radipv6pool SET username = '', expiry_time = 'now'::timestamp(0) + '1 minute'::interval WHERE username = '%{SQL-User-Name}'"
stop_commit = ""
on_begin = ""
on_clear = ""
on_commit = ""
off_begin = ""
off_clear = ""
off_commit = ""
messages {
exists = "Existing IP: %{reply:Delegated-IPv6-Prefix} (did %{Called-Station-Id} cli %{Calling-Station-Id} port %{NAS-Port} user %{User-Name})"
success = "Allocated IP: %{reply:Delegated-IPv6-Prefix} from %{control:Pool-Name-DelegatedIPV6} (did %{Called-Station-Id} cli %{Calling-Station-Id} port %{NAS-Port} user %{User-Name})"
clear = "Released IP Delegated-IPv6-Prefix (did %{Called-Station-Id} cli %{Calling-Station-Id} user %{User-Name})"
failed = "IP Allocation FAILED from %{control:Pool-Name-DelegatedIPV6} (did %{Called-Station-Id} cli %{Calling-Station-Id} port %{NAS-Port} user %{User-Name})"
nopool = "No Pool-Name-DelegatedIPV6 defined (did %{Called-Station-Id} cli %{Calling-Station-Id} port %{NAS-Port} user %{User-Name})"
}
}
# Loading module "ippoolv6Framed" from file /etc/freeradius/mods-enabled/sqlippool
sqlippool ippoolv6Framed {
sql_module_instance = "sqlrw"
lease_duration = 14400
pool_name = "Pool-Name"
default_pool = "main_pool"
attribute_name = "Framed-Ipv6-Prefix"
allocate_begin = ""
allocate_clear = ""
allocate_clear_timeout = 1
allocate_existing = ""
allocate_requested = ""
allocate_find = "SELECT fr_allocate_previous_or_new_framedipV6address( '%{control:Pool-Name-FramedIPV6}', '%{User-Name}', '%{NAS-IP-Address}', 14400 )"
allocate_update = ""
allocate_commit = ""
pool_check = "SELECT id FROM radipv6pool WHERE pool_name='%{control:Pool-Name-FramedIPV6}' LIMIT 1"
start_begin = ""
start_update = "UPDATE radipv6pool SET expiry_time = 'now'::timestamp(0) + '14400 second'::interval WHERE framedipaddress = '%{Framed-Ipv6-Prefix}'"
start_commit = ""
alive_begin = ""
alive_update = "UPDATE radipv6pool SET expiry_time = 'now'::timestamp(0) + '14400 seconds'::interval WHERE framedipaddress = '%{Framed-Ipv6-Prefix}' "
alive_commit = ""
stop_begin = ""
stop_clear = "UPDATE radipv6pool SET username = '', expiry_time = 'now'::timestamp(0) + '1 minute'::interval WHERE username = '%{SQL-User-Name}'"
stop_commit = ""
on_begin = ""
on_clear = "UPDATE radipv6pool SET username = '' , expiry_time = 'now'::timestamp(0) - '1 second'::interval WHERE nasipaddress = '%{%{Nas-IP-Address}:-%{Nas-IPv6-Address}}'"
on_commit = ""
off_begin = ""
off_clear = "UPDATE radipv6pool SET username = '', expiry_time = 'now'::timestamp(0) - '1 second'::interval WHERE nasipaddress = '%{%{Nas-IP-Address}:-%{Nas-IPv6-Address}}'"
off_commit = ""
messages {
exists = "Existing IP: %{reply:Framed-Ipv6-Prefix} (did %{Called-Station-Id} cli %{Calling-Station-Id} port %{NAS-Port} user %{User-Name})"
success = "Allocated IP: %{reply:Framed-Ipv6-Prefix} from %{control:Pool-Name-FramedIPV6} (did %{Called-Station-Id} cli %{Calling-Station-Id} port %{NAS-Port} user %{User-Name})"
clear = "Released IP Framed-Ipv6-Prefix (did %{Called-Station-Id} cli %{Calling-Station-Id} user %{User-Name})"
failed = "IP Allocation FAILED from %{control:Pool-Name-FramedIPV6} (did %{Called-Station-Id} cli %{Calling-Station-Id} port %{NAS-Port} user %{User-Name})"
nopool = "No Pool-Name-FramedIPV6 defined (did %{Called-Station-Id} cli %{Calling-Station-Id} port %{NAS-Port} user %{User-Name})"
}
}
# Loading module "sradutmp" from file /etc/freeradius/mods-enabled/sradutmp
radutmp sradutmp {
filename = "/var/log/freeradius/sradutmp"
username = "%{User-Name}"
case_sensitive = yes
check_with_nas = yes
permissions = 420
caller_id = no
}
# Loaded module rlm_totp
# Loading module "totp" from file /etc/freeradius/mods-enabled/totp
# 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_utf8
# Loading module "utf8" from file /etc/freeradius/mods-enabled/utf8
# Loaded module rlm_detail
# 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_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_always
# Loading module "reject" from file /etc/freeradius/mods-enabled/always
always reject {
rcode = "reject"
simulcount = 0
mpp = no
}
# Loading module "fail" from file /etc/freeradius/mods-enabled/always
always fail {
rcode = "fail"
simulcount = 0
mpp = no
}
# Loading module "ok" from file /etc/freeradius/mods-enabled/always
always ok {
rcode = "ok"
simulcount = 0
mpp = no
}
# Loading module "handled" from file /etc/freeradius/mods-enabled/always
always handled {
rcode = "handled"
simulcount = 0
mpp = no
}
# Loading module "invalid" from file /etc/freeradius/mods-enabled/always
always invalid {
rcode = "invalid"
simulcount = 0
mpp = no
}
# Loading module "userlock" from file /etc/freeradius/mods-enabled/always
always userlock {
rcode = "userlock"
simulcount = 0
mpp = no
}
# Loading module "notfound" from file /etc/freeradius/mods-enabled/always
always notfound {
rcode = "notfound"
simulcount = 0
mpp = no
}
# Loading module "noop" from file /etc/freeradius/mods-enabled/always
always noop {
rcode = "noop"
simulcount = 0
mpp = no
}
# Loading module "updated" from file /etc/freeradius/mods-enabled/always
always updated {
rcode = "updated"
simulcount = 0
mpp = no
}
# Loaded module rlm_attr_filter
# Loading module "attr_filter.post-proxy" from file /etc/freeradius/mods-enabled/attr_filter
attr_filter attr_filter.post-proxy {
filename = "/etc/freeradius/mods-config/attr_filter/post-proxy"
key = "%{Realm}"
relaxed = no
}
# Loading module "attr_filter.pre-proxy" from file /etc/freeradius/mods-enabled/attr_filter
attr_filter attr_filter.pre-proxy {
filename = "/etc/freeradius/mods-config/attr_filter/pre-proxy"
key = "%{Realm}"
relaxed = no
}
# Loading module "attr_filter.access_reject" from file /etc/freeradius/mods-enabled/attr_filter
attr_filter attr_filter.access_reject {
filename = "/etc/freeradius/mods-config/attr_filter/access_reject"
key = "%{User-Name}"
relaxed = no
}
# Loading module "attr_filter.access_challenge" from file /etc/freeradius/mods-enabled/attr_filter
attr_filter attr_filter.access_challenge {
filename = "/etc/freeradius/mods-config/attr_filter/access_challenge"
key = "%{User-Name}"
relaxed = no
}
# Loading module "attr_filter.accounting_response" from file /etc/freeradius/mods-enabled/attr_filter
attr_filter attr_filter.accounting_response {
filename = "/etc/freeradius/mods-config/attr_filter/accounting_response"
key = "%{User-Name}"
relaxed = no
}
# Loaded module rlm_cache
# Loading module "cache" from file /etc/freeradius/mods-enabled/cache
cache {
driver = "rlm_cache_rbtree"
key = "%{User-Name}"
ttl = 10
max_entries = 0
epoch = 0
add_stats = no
}
# Loaded module rlm_chap
# Loading module "chap" from file /etc/freeradius/mods-enabled/chap
# Loaded module rlm_date
# Loading module "date" from file /etc/freeradius/mods-enabled/date
date {
format = "%b %e %Y %H:%M:%S %Z"
utc = no
}
# Loading module "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_digest
# Loading module "digest" from file /etc/freeradius/mods-enabled/digest
# Loaded module rlm_dynamic_clients
# Loading module "dynamic_clients" from file /etc/freeradius/mods-enabled/dynamic_clients
# Loaded module rlm_exec
# Loading module "echo" from file /etc/freeradius/mods-enabled/echo
exec echo {
wait = yes
program = "/bin/echo %{User-Name}"
input_pairs = "request"
output_pairs = "reply"
shell_escape = yes
}
# Loading module "exec" from file /etc/freeradius/mods-enabled/exec
exec {
wait = no
input_pairs = "request"
shell_escape = yes
timeout = 10
}
# Loaded module rlm_expiration
# Loading module "expiration" from file /etc/freeradius/mods-enabled/expiration
# Loaded module rlm_expr
# Loading module "expr" from file /etc/freeradius/mods-enabled/expr
expr {
safe_characters = "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /äéöüàâæçèéêëîïôœùûüaÿÄÉÖÜßÀÂÆÇÈÉÊËÎÏÔŒÙÛÜŸ"
}
# Loaded module rlm_files
# Loading module "files" from file /etc/freeradius/mods-enabled/files
files {
filename = "/etc/freeradius/mods-config/files/authorize"
acctusersfile = "/etc/freeradius/mods-config/files/accounting"
preproxy_usersfile = "/etc/freeradius/mods-config/files/pre-proxy"
}
# Loaded module rlm_linelog
# Loading module "linelog" from file /etc/freeradius/mods-enabled/linelog
linelog {
filename = "/var/log/freeradius/linelog"
escape_filenames = no
syslog_severity = "info"
permissions = 384
format = "This is a log message for %{User-Name}"
reference = "messages.%{%{reply:Packet-Type}:-default}"
}
# Loading module "log_accounting" from file /etc/freeradius/mods-enabled/linelog
linelog log_accounting {
filename = "/var/log/freeradius/linelog-accounting"
escape_filenames = no
syslog_severity = "info"
permissions = 384
format = ""
reference = "Accounting-Request.%{%{Acct-Status-Type}:-unknown}"
}
# Loaded module rlm_logintime
# Loading module "logintime" from file /etc/freeradius/mods-enabled/logintime
logintime {
minimum_timeout = 60
}
# Loaded module rlm_mschap
# Loading module "mschap" from file /etc/freeradius/mods-enabled/mschap
mschap {
use_mppe = yes
require_encryption = no
require_strong = no
with_ntdomain_hack = yes
passchange {
}
allow_retry = yes
winbind_retry_with_normalised_username = no
}
# Loading module "ntlm_auth" from file /etc/freeradius/mods-enabled/ntlm_auth
exec ntlm_auth {
wait = yes
program = "/path/to/ntlm_auth --request-nt-key --domain=MYDOMAIN --username=%{mschap:User-Name} --password=%{User-Password}"
shell_escape = yes
}
# Loaded module rlm_pap
# Loading module "pap" from file /etc/freeradius/mods-enabled/pap
pap {
normalise = yes
}
# Loaded module rlm_passwd
# Loading module "etc_passwd" from file /etc/freeradius/mods-enabled/passwd
passwd etc_passwd {
filename = "/etc/passwd"
format = "*User-Name:Crypt-Password:"
delimiter = ":"
ignore_nislike = no
ignore_empty = yes
allow_multiple_keys = no
hash_size = 100
}
instantiate {
# Instantiating module "sqlro" from file /etc/freeradius/mods-enabled/sql
postgresql {
send_application_name = no
}
rlm_sql (sqlro): Attempting to connect to database "radius"
rlm_sql (sqlro): Initialising connection pool
pool {
start = 5
min = 3
max = 32
spare = 10
uses = 0
lifetime = 0
cleanup_interval = 30
idle_timeout = 60
retry_delay = 30
spread = no
}
rlm_sql_postgresql: Connecting using parameters: dbname='radius' host='10.2.134.251' port=5432 user='au_freeradius' password='Patates5'
Connected to database 'radius' on '10.2.134.251' server version 120012, protocol version 3, backend PID 3465472
# Instantiating module "sqlrw" from file /etc/freeradius/mods-enabled/sql
postgresql {
send_application_name = no
}
rlm_sql (sqlrw): Attempting to connect to database "radius"
rlm_sql (sqlrw): Initialising connection pool
pool {
start = 5
min = 3
max = 32
spare = 10
uses = 0
lifetime = 0
cleanup_interval = 30
idle_timeout = 60
retry_delay = 30
spread = no
}
rlm_sql (sqlrw): Opening additional connection (0), 1 of 32 pending slots used
rlm_sql_postgresql: Connecting using parameters: dbname='radius' host='10.2.134.251' port=5432 user='au_freeradius' password='Patates5'
Connected to database 'radius' on '10.2.134.251' server version 120012, protocol version 3, backend PID 3465473
rlm_sql (sqlrw): Opening additional connection (1), 1 of 31 pending slots used
rlm_sql_postgresql: Connecting using parameters: dbname='radius' host='10.2.134.251' port=5432 user='au_freeradius' password='Patates5'
Connected to database 'radius' on '10.2.134.251' server version 120012, protocol version 3, backend PID 3465474
rlm_sql (sqlrw): Opening additional connection (2), 1 of 30 pending slots used
rlm_sql_postgresql: Connecting using parameters: dbname='radius' host='10.2.134.251' port=5432 user='au_freeradius' password='Patates5'
Connected to database 'radius' on '10.2.134.251' server version 120012, protocol version 3, backend PID 3465475
rlm_sql (sqlrw): Opening additional connection (3), 1 of 29 pending slots used
rlm_sql_postgresql: Connecting using parameters: dbname='radius' host='10.2.134.251' port=5432 user='au_freeradius' password='Patates5'
Connected to database 'radius' on '10.2.134.251' server version 120012, protocol version 3, backend PID 3465476
rlm_sql (sqlrw): Opening additional connection (4), 1 of 28 pending slots used
rlm_sql_postgresql: Connecting using parameters: dbname='radius' host='10.2.134.251' port=5432 user='au_freeradius' password='Patates5'
Connected to database 'radius' on '10.2.134.251' server version 120012, protocol version 3, backend PID 3465477
}
# 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 "python3" from file /etc/freeradius/mods-enabled/python3
Python version: 3.8.10 (default, Nov 7 2024, 13:10:47) [GCC 9.4.0]
# Instantiating module "IPASS" from file /etc/freeradius/mods-enabled/realm
# Instantiating module "suffix" 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 "dailycounter" from file /etc/freeradius/mods-enabled/sqlcounter
rlm_sqlcounter: Current Time: 1736607085 [2025-01-11 17:51:25], Prev reset 1736542800 [2025-01-11 00:00:00]
# Instantiating module "monthlycounter" from file /etc/freeradius/mods-enabled/sqlcounter
rlm_sqlcounter: Current Time: 1736607085 [2025-01-11 17:51:25], Prev reset 1735678800 [2025-01-01 00:00:00], Reset day [1]
# Instantiating module "noresetcounter" from file /etc/freeradius/mods-enabled/sqlcounter
rlm_sqlcounter: Current Time: 1736607085 [2025-01-11 17:51:25], Prev reset 0 [2025-01-11 17:00:00]
# Instantiating module "expire_on_login" from file /etc/freeradius/mods-enabled/sqlcounter
rlm_sqlcounter: Current Time: 1736607085 [2025-01-11 17:51:25], Prev reset 0 [2025-01-11 17:00:00]
# Instantiating module "ippoolv4" from file /etc/freeradius/mods-enabled/sqlippool
Ignoring "allocate_clear_timeout = 1", forcing to "allocate_clear_timeout = 1"
# Instantiating module "ippoolv6Delegated" from file /etc/freeradius/mods-enabled/sqlippool
Ignoring "allocate_clear_timeout = 1", forcing to "allocate_clear_timeout = 1"
# Instantiating module "ippoolv6Framed" from file /etc/freeradius/mods-enabled/sqlippool
Ignoring "allocate_clear_timeout = 1", forcing to "allocate_clear_timeout = 1"
# 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 "eap" from file /etc/freeradius/mods-enabled/eap
# Linked to sub-module rlm_eap_md5
rlm_eap (EAP): Ignoring EAP method 'leap', because it is no longer supported
# 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/ssl/private/ssl-cert-snakeoil.key"
certificate_file = "/etc/ssl/certs/ssl-cert-snakeoil.pem"
ca_file = "/etc/ssl/certs/ca-certificates.crt"
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
ca_path_reload_interval = 0
cipher_list = "DEFAULT"
cipher_server_preference = no
reject_unknown_intermediate_ca = 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
}
}
tls: Please use 'tls_min_version' and 'tls_max_version' instead of 'disable_tlsv1'
tls: Please use 'tls_min_version' and 'tls_max_version' instead of 'disable_tlsv1_1'
tls: Setting DH parameters from /etc/freeradius/certs/dh - this is no longer necessary.
tls: You should comment out the 'dh_file' configuration item.
# 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 "reject" from file /etc/freeradius/mods-enabled/always
# Instantiating module "fail" from file /etc/freeradius/mods-enabled/always
# Instantiating module "ok" from file /etc/freeradius/mods-enabled/always
# Instantiating module "handled" from file /etc/freeradius/mods-enabled/always
# Instantiating module "invalid" from file /etc/freeradius/mods-enabled/always
# Instantiating module "userlock" from file /etc/freeradius/mods-enabled/always
# Instantiating module "notfound" from file /etc/freeradius/mods-enabled/always
# Instantiating module "noop" from file /etc/freeradius/mods-enabled/always
# Instantiating module "updated" from file /etc/freeradius/mods-enabled/always
# Instantiating module "attr_filter.post-proxy" from file /etc/freeradius/mods-enabled/attr_filter
reading pairlist file /etc/freeradius/mods-config/attr_filter/post-proxy
# Instantiating module "attr_filter.pre-proxy" from file /etc/freeradius/mods-enabled/attr_filter
reading pairlist file /etc/freeradius/mods-config/attr_filter/pre-proxy
# Instantiating module "attr_filter.access_reject" from file /etc/freeradius/mods-enabled/attr_filter
reading pairlist file /etc/freeradius/mods-config/attr_filter/access_reject
[/etc/freeradius/mods-config/attr_filter/access_reject]:11 Check item "FreeRADIUS-Response-Delay"found in filter list for realm "DEFAULT".
[/etc/freeradius/mods-config/attr_filter/access_reject]:11 Check item "FreeRADIUS-Response-Delay-USec"found in filter list for realm "DEFAULT".
# Instantiating module "attr_filter.access_challenge" from file /etc/freeradius/mods-enabled/attr_filter
reading pairlist file /etc/freeradius/mods-config/attr_filter/access_challenge
# Instantiating module "attr_filter.accounting_response" from file /etc/freeradius/mods-enabled/attr_filter
reading pairlist file /etc/freeradius/mods-config/attr_filter/accounting_response
# Instantiating module "cache" from file /etc/freeradius/mods-enabled/cache
rlm_cache (cache): Driver rlm_cache_rbtree (module rlm_cache_rbtree) loaded and linked
# Instantiating module "detail" from file /etc/freeradius/mods-enabled/detail
# Instantiating module "expiration" from file /etc/freeradius/mods-enabled/expiration
# Instantiating module "files" from file /etc/freeradius/mods-enabled/files
reading pairlist file /etc/freeradius/mods-config/files/authorize
reading pairlist file /etc/freeradius/mods-config/files/accounting
reading pairlist file /etc/freeradius/mods-config/files/pre-proxy
# Instantiating module "linelog" from file /etc/freeradius/mods-enabled/linelog
# Instantiating module "log_accounting" from file /etc/freeradius/mods-enabled/linelog
# Instantiating module "logintime" from file /etc/freeradius/mods-enabled/logintime
# Instantiating module "mschap" from file /etc/freeradius/mods-enabled/mschap
rlm_mschap (mschap): using internal authentication
# Instantiating module "pap" from file /etc/freeradius/mods-enabled/pap
# Instantiating module "etc_passwd" from file /etc/freeradius/mods-enabled/passwd
rlm_passwd: nfields: 3 keyfield 0(User-Name) listable: no
} # modules
radiusd: #### Loading Virtual Servers ####
server { # from file /etc/freeradius/radiusd.conf
} # server
server status { # from file /etc/freeradius/sites-enabled/status
# Loading authorize {...}
Compiling Autz-Type Status-Server for attr Autz-Type
} # server status
server default { # from file /etc/freeradius/sites-enabled/default
# Loading authenticate {...}
Compiling Auth-Type PAP for attr Auth-Type
# Loading authorize {...}
Compiling Autz-Type Status-Server for attr Autz-Type
# Loading preacct {...}
# Loading accounting {...}
# Loading session {...}
# Loading post-auth {...}
Compiling Post-Auth-Type REJECT for attr Post-Auth-Type
Compiling Post-Auth-Type Challenge for attr Post-Auth-Type
} # server default
server coa { # from file /etc/freeradius/sites-enabled/coa
# Loading recv-coa {...}
# Loading send-coa {...}
} # server coa
server inner-tunnel { # from file /etc/freeradius/sites-enabled/inner-tunnel
# Loading authenticate {...}
Compiling Auth-Type PAP for attr Auth-Type
Compiling Auth-Type CHAP for attr Auth-Type
Compiling Auth-Type MS-CHAP for attr Auth-Type
# Loading authorize {...}
Ignoring "sql" (see raddb/mods-available/README.rst)
Ignoring "ldap" (see raddb/mods-available/README.rst)
# Loading session {...}
# Loading post-auth {...}
# Skipping contents of 'if' as it is always 'false' -- /etc/freeradius/sites-enabled/inner-tunnel:331
Compiling Post-Auth-Type REJECT for attr Post-Auth-Type
} # server inner-tunnel
radiusd: #### Opening IP addresses and Ports ####
listen {
type = "control"
listen {
socket = "/var/run/freeradius/monitor/monitor.sock"
uid = "freerad"
gid = "freerad"
mode = "rw"
peercred = yes
}
}
listen {
type = "coa"
virtual_server = "coa"
ipaddr = *
port = 3799
}
listen {
type = "status"
ipaddr = 127.0.0.1
port = 18121
client admin {
ipaddr = 127.0.0.1
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
}
listen {
type = "auth"
ipaddr = *
port = 1812
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
listen {
type = "acct"
ipaddr = *
port = 0
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
listen {
type = "acct"
ipv6addr = ::
port = 0
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
listen {
type = "auth"
ipaddr = 127.0.0.1
port = 18120
}
Listening on command file /var/run/freeradius/monitor/monitor.sock
Listening on coa address * port 3799 bound to server coa
Listening on status address 127.0.0.1 port 18121 bound to server status
Listening on auth address * port 1812 bound to server default
Listening on acct address * port 1813 bound to server default
Listening on acct address :: port 1813 bound to server default
Listening on auth address 127.0.0.1 port 18120 bound to server inner-tunnel
Ready to process requests
(0) Received Access-Request Id 123 from 10.2.134.249:51420 to 10.2.134.250:1812 length 136
(0) Framed-Protocol = PPP
(0) User-Name = "2518932data(a)turk.net"
(0) User-Password = "f89cedf00c"
(0) Connect-Info = "4294967295/0"
(0) NAS-Port-Type = Virtual
(0) Service-Type = Framed-User
(0) NAS-IP-Address = 193.192.126.219
(0) NAS-Identifier = "CISCO|CGNAT|0"
(0) Message-Authenticator = 0x5617c937f3b28aba37ca5298db078ae5
(0) Proxy-State = 0x323134
(0) # Executing section authorize from file /etc/freeradius/sites-enabled/default
(0) authorize {
(0) policy filter_username {
(0) if (&User-Name) {
(0) if (&User-Name) -> TRUE
(0) if (&User-Name) {
(0) if (&User-Name =~ / /) {
(0) if (&User-Name =~ / /) -> FALSE
(0) if (&User-Name =~ /@[^@]*@/ ) {
(0) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(0) if (&User-Name =~ /\.\./ ) {
(0) if (&User-Name =~ /\.\./ ) -> FALSE
(0) if (&User-Name =~ /\.$/) {
(0) if (&User-Name =~ /\.$/) -> FALSE
(0) if (&User-Name =~ /(a)\./) {
(0) if (&User-Name =~ /(a)\./) -> FALSE
(0) } # if (&User-Name) = notfound
(0) } # policy filter_username = notfound
(0) [preprocess] = ok
(0) update request {
(0) Customer-Static-IP := 0
(0) Customer-Static-IPv6 := 0
(0) } # update request = noop
(0) if ("%{NAS-Identifier}" =~ /^([^|]+)\|([^|]+)\|([^|]+)$/) {
(0) EXPAND %{NAS-Identifier}
(0) --> CISCO|CGNAT|0
(0) if ("%{NAS-Identifier}" =~ /^([^|]+)\|([^|]+)\|([^|]+)$/) -> TRUE
(0) if ("%{NAS-Identifier}" =~ /^([^|]+)\|([^|]+)\|([^|]+)$/) {
(0) update request {
(0) EXPAND %{1}
(0) --> CISCO
(0) &Bng-Model := CISCO
(0) EXPAND %{2}
(0) --> CGNAT
(0) &Huntgroup-Name := CGNAT
(0) EXPAND %{3}
(0) --> 0
(0) &Service-Policy-Enabled := 0
rlm_sql (sqlro): Reserved connection (1)
rlm_sql (sqlro): Released connection (1)
Need more connections to reach 10 spares
rlm_sql (sqlro): Opening additional connection (6), 1 of 26 pending slots used
rlm_sql_postgresql: Connecting using parameters: dbname='radius' host='10.2.134.251' port=5432 user='au_freeradius' password='Patates5'
Connected to database 'radius' on '10.2.134.251' server version 120012, protocol version 3, backend PID 3465480
rlm_sql (sqlro): Reserved connection (2)
rlm_sql (sqlro): Released connection (2)
rlm_sql (sqlro): Reserved connection (3)
rlm_sql (sqlro): Released connection (3)
rlm_sql (sqlro): Reserved connection (4)
rlm_sql (sqlro): Released connection (4)
(0) EXPAND %{User-Name}
(0) --> 2518932data(a)turk.net
(0) SQL-User-Name set to '2518932data(a)turk.net'
rlm_sql (sqlro): Reserved connection (0)
(0) Executing select query: SELECT CASE WHEN GroupName = 'Internet' THEN 'CGNAT' WHEN GroupName ='ServicePolicy' and 'CGNAT'= 'CGNAT' THEN 'ServicePolicyCgnat' WHEN GroupName = 'InternetIPV6' THEN 'CGNAT'||'IPV6' ELSE GroupName END FROM radusergroup WHERE UserName='2518932data(a)turk.net' ORDER BY priority
rlm_sql_postgresql: Status: PGRES_TUPLES_OK
rlm_sql_postgresql: query affected rows = 1 , fields = 1
rlm_sql (sqlro): Released connection (0)
(0) EXPAND %{sqlro:SELECT CASE WHEN GroupName = 'Internet' THEN '%{Huntgroup-Name}' WHEN GroupName ='ServicePolicy' and '%{Huntgroup-Name}'= 'CGNAT' THEN 'ServicePolicyCgnat' WHEN GroupName = 'InternetIPV6' THEN '%{Huntgroup-Name}'||'IPV6' ELSE GroupName END FROM radusergroup WHERE UserName='%{User-Name}' ORDER BY priority}
(0) --> CGNAT
(0) User-Group-Name := CGNAT
(0) } # update request = noop
(0) } # if ("%{NAS-Identifier}" =~ /^([^|]+)\|([^|]+)\|([^|]+)$/) = noop
(0) if (&Huntgroup-Name == "CGNAT") {
(0) if (&Huntgroup-Name == "CGNAT") -> TRUE
(0) if (&Huntgroup-Name == "CGNAT") {
(0) update request {
rlm_sql (sqlro): Reserved connection (5)
rlm_sql (sqlro): Released connection (5)
(0) EXPAND %{User-Name}
(0) --> 2518932data(a)turk.net
(0) SQL-User-Name set to '2518932data(a)turk.net'
rlm_sql (sqlro): Reserved connection (1)
(0) Executing select query: SELECT COUNT(id) FROM radreply WHERE username='2518932data(a)turk.net' and attribute='Framed-IP-Address' limit 1
rlm_sql_postgresql: Status: PGRES_TUPLES_OK
rlm_sql_postgresql: query affected rows = 1 , fields = 1
rlm_sql (sqlro): Released connection (1)
(0) EXPAND %{sqlro:SELECT COUNT(id) FROM radreply WHERE username='%{User-Name}' and attribute='Framed-IP-Address' limit 1}
(0) --> 0
(0) Customer-Static-IP := 0
(0) } # update request = noop
(0) update request {
rlm_sql (sqlro): Reserved connection (6)
rlm_sql (sqlro): Released connection (6)
(0) EXPAND %{User-Name}
(0) --> 2518932data(a)turk.net
(0) SQL-User-Name set to '2518932data(a)turk.net'
rlm_sql (sqlro): Reserved connection (2)
(0) Executing select query: SELECT case when ( isautomaticassignmentipv6 = true ) then 1 else 0 end FROM tcxdsl WHERE usernamewithrealm='2518932data(a)turk.net' limit 1
rlm_sql_postgresql: Status: PGRES_TUPLES_OK
rlm_sql_postgresql: query affected rows = 1 , fields = 1
rlm_sql (sqlro): Released connection (2)
(0) EXPAND %{sqlro:SELECT case when ( isautomaticassignmentipv6 = true ) then 1 else 0 end FROM tcxdsl WHERE usernamewithrealm='%{User-Name}' limit 1}
(0) --> 0
(0) Customer-Static-IPv6 := 0
(0) } # update request = noop
(0) } # if (&Huntgroup-Name == "CGNAT") = noop
(0) suffix: Checking for suffix after "@"
(0) suffix: Looking up realm "turk.net" for User-Name = "2518932data(a)turk.net"
(0) suffix: Found realm "turk.net"
(0) suffix: Adding Stripped-User-Name = "2518932data"
(0) suffix: Adding Realm = "turk.net"
(0) suffix: Authentication realm is LOCAL
(0) [suffix] = ok
(0) sqlrw: EXPAND %{User-Name}
(0) sqlrw: --> 2518932data(a)turk.net
(0) sqlrw: SQL-User-Name set to '2518932data(a)turk.net'
rlm_sql (sqlrw): Reserved connection (0)
(0) sqlrw: EXPAND SELECT id, UserName, Attribute, Value, Op FROM radcheck WHERE Username = '%{SQL-User-Name}' ORDER BY id
(0) sqlrw: --> SELECT id, UserName, Attribute, Value, Op FROM radcheck WHERE Username = '2518932data(a)turk.net' ORDER BY id
(0) sqlrw: Executing select query: SELECT id, UserName, Attribute, Value, Op FROM radcheck WHERE Username = '2518932data(a)turk.net' ORDER BY id
rlm_sql_postgresql: Status: PGRES_TUPLES_OK
rlm_sql_postgresql: query affected rows = 1 , fields = 5
(0) sqlrw: User found in radcheck table
(0) sqlrw: Conditional check items matched, merging assignment check items
(0) sqlrw: Cleartext-Password := "f89cedf00c"
(0) sqlrw: EXPAND SELECT id, UserName, Attribute, Value, Op FROM radreply WHERE Username = '%{SQL-User-Name}' and devicetype IN ( '%{&Bng-Model}','OTHER') and ((isservicepolicyenabled = 1 and '%{&Huntgroup-Name}' = 'CGNAT' and iscgnat = 1 and '%{&Customer-Static-IP}' != 1 ) or (iscgnat =0) or (isservicepolicyenabled=2)) and not ( '%{&User-Group-Name}' in ('Suspend','Freeze') and Attribute in ('Framed-IP-Address','Framed-Ipv6-Prefix','Framed-Route')) ORDER BY id
(0) sqlrw: --> SELECT id, UserName, Attribute, Value, Op FROM radreply WHERE Username = '2518932data(a)turk.net' and devicetype IN ( 'CISCO','OTHER') and ((isservicepolicyenabled = 1 and 'CGNAT' = 'CGNAT' and iscgnat = 1 and '0' != 1 ) or (iscgnat =0) or (isservicepolicyenabled=2)) and not ( 'CGNAT' in ('Suspend','Freeze') and Attribute in ('Framed-IP-Address','Framed-Ipv6-Prefix','Framed-Route')) ORDER BY id
(0) sqlrw: Executing select query: SELECT id, UserName, Attribute, Value, Op FROM radreply WHERE Username = '2518932data(a)turk.net' and devicetype IN ( 'CISCO','OTHER') and ((isservicepolicyenabled = 1 and 'CGNAT' = 'CGNAT' and iscgnat = 1 and '0' != 1 ) or (iscgnat =0) or (isservicepolicyenabled=2)) and not ( 'CGNAT' in ('Suspend','Freeze') and Attribute in ('Framed-IP-Address','Framed-Ipv6-Prefix','Framed-Route')) ORDER BY id
rlm_sql_postgresql: Status: PGRES_TUPLES_OK
rlm_sql_postgresql: query affected rows = 3 , fields = 5
(0) sqlrw: User found in radreply table, merging reply items
(0) sqlrw: Cisco-AVPair := "ip:ip-unnumbered=Loopback 10"
(0) sqlrw: Cisco-AVPair := "ip:dns-servers=193.192.98.8 212.154.100.18"
(0) sqlrw: Cisco-Account-Info := "AINTERNET"
(0) sqlrw: EXPAND SELECT '' as GroupName
(0) sqlrw: --> SELECT '' as GroupName
(0) sqlrw: Executing select query: SELECT '' as GroupName
rlm_sql_postgresql: Status: PGRES_TUPLES_OK
rlm_sql_postgresql: query affected rows = 1 , fields = 1
(0) sqlrw: User found in the group table
(0) sqlrw: EXPAND SELECT id, GroupName, Attribute, case when ( Attribute= 'Pool-Name-DelegatedIPV6' or Attribute= 'Pool-Name-FramedIPV6' ) and '%{&Customer-Static-IP}' = 1 then REPLACE(Value,'Dinamic','Static') when ( Attribute= 'Pool-Name-DelegatedIPV6' or Attribute= 'Pool-Name-FramedIPV6' ) then Value when Attribute='Pool-Name' and '%{&Huntgroup-Name}' = 'CGNAT' then REPLACE(Value,'internet','cgnat') ELSE Value END as Value , op FROM radgroupcheck WHERE GroupName = '%{&User-Group-Name}' and ( '%{&Customer-Static-IPv6}' = 1 or ('%{&Customer-Static-IPv6}' = 0 and not ( Attribute= 'Pool-Name-DelegatedIPV6' or Attribute= 'Pool-Name-FramedIPV6'))) ORDER BY id
(0) sqlrw: --> SELECT id, GroupName, Attribute, case when ( Attribute= 'Pool-Name-DelegatedIPV6' or Attribute= 'Pool-Name-FramedIPV6' ) and '0' = 1 then REPLACE(Value,'Dinamic','Static') when ( Attribute= 'Pool-Name-DelegatedIPV6' or Attribute= 'Pool-Name-FramedIPV6' ) then Value when Attribute='Pool-Name' and 'CGNAT' = 'CGNAT' then REPLACE(Value,'internet','cgnat') ELSE Value END as Value , op FROM radgroupcheck WHERE GroupName = 'CGNAT' and ( '0' = 1 or ('0' = 0 and not ( Attribute= 'Pool-Name-DelegatedIPV6' or Attribute= 'Pool-Name-FramedIPV6'))) ORDER BY id
(0) sqlrw: Executing select query: SELECT id, GroupName, Attribute, case when ( Attribute= 'Pool-Name-DelegatedIPV6' or Attribute= 'Pool-Name-FramedIPV6' ) and '0' = 1 then REPLACE(Value,'Dinamic','Static') when ( Attribute= 'Pool-Name-DelegatedIPV6' or Attribute= 'Pool-Name-FramedIPV6' ) then Value when Attribute='Pool-Name' and 'CGNAT' = 'CGNAT' then REPLACE(Value,'internet','cgnat') ELSE Value END as Value , op FROM radgroupcheck WHERE GroupName = 'CGNAT' and ( '0' = 1 or ('0' = 0 and not ( Attribute= 'Pool-Name-DelegatedIPV6' or Attribute= 'Pool-Name-FramedIPV6'))) ORDER BY id
rlm_sql_postgresql: Status: PGRES_TUPLES_OK
rlm_sql_postgresql: query affected rows = 2 , fields = 5
(0) sqlrw: Group "": Conditional check items matched
(0) sqlrw: Group "": Merging assignment check items
(0) sqlrw: Simultaneous-Use := 1
(0) sqlrw: Pool-Name := "cgnat_pool"
(0) sqlrw: EXPAND SELECT id, GroupName, Attribute, case when '%{&Customer-Static-IP}' = 1 and GroupName like 'Secure%%' THEN REPLACE(Value,'INTERNET_','STATIC_') when '%{&Customer-Static-IP}' = 1 and GroupName ='CGNAT' THEN REPLACE(Value,'CGNAT','INTERNET') when '%{&Customer-Static-IP}' = 1 and GroupName ='CGNATIPV6' THEN REPLACE(Value,'CGNAT','INTERNET') ELSE Value End as Value, op FROM radgroupreply WHERE GroupName = '%{&User-Group-Name}' and devicetype IN ( '%{&Bng-Model}','OTHER') ORDER BY id
(0) sqlrw: --> SELECT id, GroupName, Attribute, case when '0' = 1 and GroupName like 'Secure%' THEN REPLACE(Value,'INTERNET_','STATIC_') when '0' = 1 and GroupName ='CGNAT' THEN REPLACE(Value,'CGNAT','INTERNET') when '0' = 1 and GroupName ='CGNATIPV6' THEN REPLACE(Value,'CGNAT','INTERNET') ELSE Value End as Value, op FROM radgroupreply WHERE GroupName = 'CGNAT' and devicetype IN ( 'CISCO','OTHER') ORDER BY id
(0) sqlrw: Executing select query: SELECT id, GroupName, Attribute, case when '0' = 1 and GroupName like 'Secure%' THEN REPLACE(Value,'INTERNET_','STATIC_') when '0' = 1 and GroupName ='CGNAT' THEN REPLACE(Value,'CGNAT','INTERNET') when '0' = 1 and GroupName ='CGNATIPV6' THEN REPLACE(Value,'CGNAT','INTERNET') ELSE Value End as Value, op FROM radgroupreply WHERE GroupName = 'CGNAT' and devicetype IN ( 'CISCO','OTHER') ORDER BY id
rlm_sql_postgresql: Status: PGRES_TUPLES_OK
rlm_sql_postgresql: query affected rows = 6 , fields = 5
(0) sqlrw: Group "": Merging reply items
(0) sqlrw: Service-Type := Framed-User
(0) sqlrw: Framed-Protocol := PPP
(0) sqlrw: Cisco-AVPair := "ip:dns-servers=193.192.98.8 212.154.100.18"
(0) sqlrw: Cisco-AVPair := "ip:vrf-id=CGNAT"
(0) sqlrw: Cisco-AVPair := "ip:ip-unnumbered=Loopback 10"
(0) sqlrw: Cisco-AVPair := "ipv6-dns-servers-addr=2A02:FF0:2:327:193:192:98:30"
rlm_sql (sqlrw): Released connection (0)
Need more connections to reach 10 spares
rlm_sql (sqlrw): Opening additional connection (5), 1 of 27 pending slots used
rlm_sql_postgresql: Connecting using parameters: dbname='radius' host='10.2.134.251' port=5432 user='au_freeradius' password='Patates5'
Connected to database 'radius' on '10.2.134.251' server version 120012, protocol version 3, backend PID 3465481
(0) [sqlrw] = ok
(0) if (notfound) {
(0) if (notfound) -> FALSE
(0) if (reject) {
(0) if (reject) -> FALSE
(0) update control {
(0) Auth-Type := PAP
(0) } # update control = noop
(0) if (&User-Group-Name == "BngForwarding" ) {
(0) if (&User-Group-Name == "BngForwarding" ) -> FALSE
(0) [expiration] = noop
(0) [logintime] = noop
(0) pap: WARNING: Auth-Type already set. Not setting to PAP
(0) [pap] = noop
(0) } # authorize = ok
(0) Found Auth-Type = PAP
(0) # Executing group from file /etc/freeradius/sites-enabled/default
(0) Auth-Type PAP {
(0) pap: Login attempt with password
(0) pap: Comparing with "known good" Cleartext-Password
(0) pap: User authenticated successfully
(0) [pap] = ok
(0) if (noop) {
(0) if (noop) -> FALSE
(0) if (reject) {
(0) if (reject) -> FALSE
(0) if (fail) {
(0) if (fail) -> FALSE
(0) update request {
rlm_sql (sqlro): Reserved connection (3)
rlm_sql (sqlro): Released connection (3)
(0) EXPAND %{User-Name}
(0) --> 2518932data(a)turk.net
(0) SQL-User-Name set to '2518932data(a)turk.net'
rlm_sql (sqlro): Reserved connection (4)
(0) Executing select query: SELECT VALUE FROM RADCHECK WHERE USERNAME = '2518932data(a)turk.net' AND ATTRIBUTE IN ('Calling-Station-Id', 'NAS-Port-Id') ORDER BY ATTRIBUTE DESC LIMIT 1
rlm_sql_postgresql: Status: PGRES_TUPLES_OK
rlm_sql_postgresql: query affected rows = 0 , fields = 1
(0) SQL query returned no results
rlm_sql (sqlro): Released connection (4)
(0) EXPAND %{sqlro:SELECT VALUE FROM RADCHECK WHERE USERNAME = '%{User-Name}' AND ATTRIBUTE IN ('Calling-Station-Id', 'NAS-Port-Id') ORDER BY ATTRIBUTE DESC LIMIT 1}
(0) -->
(0) InventoryPortInfo :=
(0) } # update request = noop
(0) [python3] = ok
(0) if (reject){
(0) if (reject) -> FALSE
(0) policy accept {
(0) update control {
(0) &Response-Packet-Type = Access-Accept
(0) } # update control = noop
(0) [handled] = handled
(0) } # policy accept = handled
(0) } # Auth-Type PAP = handled
(0) # Executing section post-auth from file /etc/freeradius/sites-enabled/default
(0) post-auth {
(0) update {
(0) No attributes updated for RHS &session-state:
(0) } # update = noop
(0) if (&Customer-Static-IP == 1 && (&User-Group-Name == "Closed" || &User-Group-Name == "Freeze")){
(0) if (&Customer-Static-IP == 1 && (&User-Group-Name == "Closed" || &User-Group-Name == "Freeze")) -> FALSE
rlm_sql (sqlrw): Reserved connection (1)
(0) ippoolv4: EXPAND %{User-Name}
(0) ippoolv4: --> 2518932data(a)turk.net
(0) ippoolv4: SQL-User-Name set to '2518932data(a)turk.net'
(0) ippoolv4: EXPAND SELECT fr_allocate_previous_or_new_framedipaddress( '%{control:Pool-Name}', '%{User-Name}', '%{NAS-IP-Address}', 28800 )
(0) ippoolv4: --> SELECT fr_allocate_previous_or_new_framedipaddress( 'cgnat_pool', '2518932data(a)turk.net', '193.192.126.219', 28800 )
(0) ippoolv4: Executing select query: SELECT fr_allocate_previous_or_new_framedipaddress( 'cgnat_pool', '2518932data(a)turk.net', '193.192.126.219', 28800 )
rlm_sql_postgresql: Status: PGRES_TUPLES_OK
rlm_sql_postgresql: query affected rows = 1 , fields = 1
(0) ippoolv4: Allocated IP 100.101.163.110
rlm_sql (sqlrw): Released connection (1)
(0) ippoolv4: EXPAND Allocated IP: %{reply:Framed-IP-Address} from %{control:Pool-Name} (did %{Called-Station-Id} cli %{Calling-Station-Id} port %{NAS-Port} user %{User-Name})
(0) ippoolv4: --> Allocated IP: 100.101.163.110 from cgnat_pool (did cli port user 2518932data(a)turk.net)
(0) [ippoolv4] = ok
(0) if ( &Customer-Static-IPv6 == 1 && &User-Group-Name != "Suspend" && &User-Group-Name != "Closed" && &User-Group-Name != "Freeze" ) {
(0) if ( &Customer-Static-IPv6 == 1 && &User-Group-Name != "Suspend" && &User-Group-Name != "Closed" && &User-Group-Name != "Freeze" ) -> FALSE
(0) sqlrw: EXPAND .query
(0) sqlrw: --> .query
(0) sqlrw: Using query template 'query'
rlm_sql (sqlrw): Reserved connection (2)
(0) sqlrw: EXPAND %{User-Name}
(0) sqlrw: --> 2518932data(a)turk.net
(0) sqlrw: SQL-User-Name set to '2518932data(a)turk.net'
(0) sqlrw: EXPAND INSERT INTO radpostauth (username, pass, reply, callingstationid, authdate) VALUES('%{User-Name}', '%{%{User-Password}:-Chap-Password}', '%{reply:Packet-Type}', '%{Calling-Station-Id}', NOW())
(0) sqlrw: --> INSERT INTO radpostauth (username, pass, reply, callingstationid, authdate) VALUES('2518932data(a)turk.net', 'f89cedf00c', 'Access-Accept', '', NOW())
(0) sqlrw: Executing query: INSERT INTO radpostauth (username, pass, reply, callingstationid, authdate) VALUES('2518932data(a)turk.net', 'f89cedf00c', 'Access-Accept', '', NOW())
rlm_sql_postgresql: Status: PGRES_COMMAND_OK
rlm_sql_postgresql: query affected rows = 1
(0) sqlrw: SQL query returned: success
(0) sqlrw: 1 record(s) updated
rlm_sql (sqlrw): Released connection (2)
(0) [sqlrw] = ok
(0) policy remove_reply_message_if_eap {
(0) if (&reply:EAP-Message && &reply:Reply-Message) {
(0) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE
(0) else {
(0) [noop] = noop
(0) } # else = noop
(0) } # policy remove_reply_message_if_eap = noop
(0) } # post-auth = ok
(0) Login OK: [2518932data(a)turk.net/f89cedf00c] (from client local port 0)
(0) Sent Access-Accept Id 123 from 10.2.134.250:1812 to 10.2.134.249:51420 length 227
(0) Cisco-AVPair = "ip:dns-servers=193.192.98.8 212.154.100.18"
(0) Cisco-AVPair = "ip:vrf-id=CGNAT"
(0) Cisco-Account-Info = "AINTERNET"
(0) Service-Type = Framed-User
(0) Framed-Protocol = PPP
(0) Cisco-AVPair = "ip:ip-unnumbered=Loopback 10"
(0) Cisco-AVPair = "ipv6-dns-servers-addr=2A02:FF0:2:327:193:192:98:30"
(0) Proxy-State = 0x323134
(0) Framed-IP-Address = 100.101.163.110
(0) Finished request
Waking up in 4.9 seconds.
(0) Cleaning up request packet ID 123 with timestamp +3 due to cleanup_delay was reached
Ready to process requests
Best Regards,
2
3
In process of authorization user when user has a list of group, and one of
them too long as example:
memberOf: cn=DMB - System Administration Department - System
Administrator,cn= DMB - System Administration Department,cn=DMB - Internal
IT Support Departmen t,cn=DMB - Infrastructure Department,cn=DMB - Global
Finance Department,cn=DM B - Global Services,cn=DMB -
Corporate,cn=Departments,cn=Example,cn=Tenants,cn
=Access Control Root,ou=Keycloak,ou=Groups,dc=example,dc=com
and target group for authorization located after that group, freeradius
authorization process rejecting request with login incorrect:
Auth: (0) Login incorrect (Group DN "cn=DMB - System Administration
Department - System Administrator,cn=DMB - System Administration
Department,cn=DMB - Internal IT Support Department,cn=DMB - Infrastructure
Department,cn=DMB - Global Finance Department,cn=DMB - Global Services,cn=:
[username] (from client Incubator_switch port 0)
2
3
I've pushed a large number of changes which fix a whole lot of things in TEAP.
There are also sample eapol_test configuration files in src/tests/eap-teap-*.conf. These work with the lasted commit of hostap / wpa_supplicant / eapol_test.
i..e Jouni Malinen and I spent about a week over the holidays going through all kinds of crazy TEAP issues. He's pushed fixes to wpa_supplicant, and I've pushed fixes to FreeRADIUS.
Alan DeKok.
1
0
03 Jan '25
Hi there,
I want to make some additional checks for RadSec connections.
After I’ve set `check_client_connections` to `yes`, the server is handling the connection over the auth type "Autz-Type New-TLS-Connection”. So far so good but after the connection has accepted, no further traffic is reaching the radius server.
I can see in packet captures that Access-Requests are send to the server and on the server netstat is also showing that packets are going to the socket which FreeRADIUS opens but only the queue is getting higher and never processed.
After seeing this behaviour, of course also tested the behaviour with the default config. Just enabled tls, changed the `check_client_connections` and added a ip wildcard to the radsec clients.
Since I haven’t found any open GitHub issue or something on this list I assume either no one is using the functionality or there is something I’ve overlooked.
The radius server is running as docker container but that shouldn't make any difference.
Output from $ netstat -apc:
```
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node PID/Program name Path
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:2083 0.0.0.0:* LISTEN 61/radiusd
tcp 468 0 ae7fb3711088:2083 192.168.215.1:19729 ESTABLISHED 61/radiusd
udp 0 0 0.0.0.0:45552 0.0.0.0:* 61/radiusd
udp 0 0 localhost:18120 0.0.0.0:* 61/radiusd
udp 0 0 0.0.0.0:radius 0.0.0.0:* 61/radiusd
udp 0 0 0.0.0.0:radius-acct 0.0.0.0:* 61/radiusd
udp6 0 0 [::]:radius [::]:* 61/radiusd
udp6 0 0 [::]:radius-acct [::]:* 61/radiusd
udp6 0 0 [::]:52860 [::]:* 61/radiusd
```
FreeRADIUS debug log:
FreeRADIUS Version 3.2.4
Copyright (C) 1999-2023 The FreeRADIUS server project and contributors
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE
You may redistribute copies of FreeRADIUS under the terms of the
GNU General Public License
For more information about these matters, see the file named COPYRIGHT
Starting - reading configuration files ...
including dictionary file /usr/local/share/freeradius/dictionary
including dictionary file /usr/local/share/freeradius/dictionary.dhcp
including dictionary file /usr/local/share/freeradius/dictionary.vqp
including dictionary file /usr/local/etc/raddb/dictionary
including configuration file /usr/local/etc/raddb/radiusd.conf
including configuration file /usr/local/etc/raddb/proxy.conf
including configuration file /usr/local/etc/raddb/clients.conf
including files in directory /usr/local/etc/raddb/mods-enabled/
including configuration file /usr/local/etc/raddb/mods-enabled/always
including configuration file /usr/local/etc/raddb/mods-enabled/attr_filter
including configuration file /usr/local/etc/raddb/mods-enabled/chap
including configuration file /usr/local/etc/raddb/mods-enabled/date
including configuration file /usr/local/etc/raddb/mods-enabled/detail
including configuration file /usr/local/etc/raddb/mods-enabled/detail.log
including configuration file /usr/local/etc/raddb/mods-enabled/digest
including configuration file /usr/local/etc/raddb/mods-enabled/dynamic_clients
including configuration file /usr/local/etc/raddb/mods-enabled/eap
including configuration file /usr/local/etc/raddb/mods-enabled/echo
including configuration file /usr/local/etc/raddb/mods-enabled/exec
including configuration file /usr/local/etc/raddb/mods-enabled/expiration
including configuration file /usr/local/etc/raddb/mods-enabled/expr
including configuration file /usr/local/etc/raddb/mods-enabled/files
including configuration file /usr/local/etc/raddb/mods-enabled/linelog
including configuration file /usr/local/etc/raddb/mods-enabled/logintime
including configuration file /usr/local/etc/raddb/mods-enabled/mschap
including configuration file /usr/local/etc/raddb/mods-enabled/ntlm_auth
including configuration file /usr/local/etc/raddb/mods-enabled/pap
including configuration file /usr/local/etc/raddb/mods-enabled/passwd
including configuration file /usr/local/etc/raddb/mods-enabled/preprocess
including configuration file /usr/local/etc/raddb/mods-enabled/radutmp
including configuration file /usr/local/etc/raddb/mods-enabled/realm
including configuration file /usr/local/etc/raddb/mods-enabled/replicate
including configuration file /usr/local/etc/raddb/mods-enabled/soh
including configuration file /usr/local/etc/raddb/mods-enabled/sradutmp
including configuration file /usr/local/etc/raddb/mods-enabled/totp
including configuration file /usr/local/etc/raddb/mods-enabled/unix
including configuration file /usr/local/etc/raddb/mods-enabled/unpack
including configuration file /usr/local/etc/raddb/mods-enabled/utf8
including files in directory /usr/local/etc/raddb/policy.d/
including configuration file /usr/local/etc/raddb/policy.d/abfab-tr
including configuration file /usr/local/etc/raddb/policy.d/accounting
including configuration file /usr/local/etc/raddb/policy.d/canonicalization
including configuration file /usr/local/etc/raddb/policy.d/control
including configuration file /usr/local/etc/raddb/policy.d/cui
including configuration file /usr/local/etc/raddb/policy.d/debug
including configuration file /usr/local/etc/raddb/policy.d/dhcp
including configuration file /usr/local/etc/raddb/policy.d/eap
including configuration file /usr/local/etc/raddb/policy.d/filter
including configuration file /usr/local/etc/raddb/policy.d/moonshot-targeted-ids
including configuration file /usr/local/etc/raddb/policy.d/operator-name
including configuration file /usr/local/etc/raddb/policy.d/rfc7542
including files in directory /usr/local/etc/raddb/sites-enabled/
including configuration file /usr/local/etc/raddb/sites-enabled/default
including configuration file /usr/local/etc/raddb/sites-enabled/inner-tunnel
including configuration file /usr/local/etc/raddb/sites-enabled/tls
main {
security {
allow_core_dumps = no
}
name = "radiusd"
prefix = "/usr/local"
localstatedir = "/usr/local/var"
logdir = "/usr/local/var/log/radius"
run_dir = "/usr/local/var/run/radiusd"
}
main {
name = "radiusd"
prefix = "/usr/local"
localstatedir = "/usr/local/var"
sbindir = "/usr/local/sbin"
logdir = "/usr/local/var/log/radius"
run_dir = "/usr/local/var/run/radiusd"
libdir = "/usr/local/lib"
radacctdir = "/usr/local/var/log/radius/radacct"
hostname_lookups = no
max_request_time = 30
proxy_dedup_window = 1
cleanup_delay = 5
max_requests = 16384
postauth_client_lost = no
pidfile = "/usr/local/var/run/radiusd/radiusd.pid"
checkrad = "/usr/local/sbin/checkrad"
debug_level = 0
proxy_requests = yes
log {
stripped_names = no
auth = no
auth_badpass = no
auth_goodpass = no
colourise = yes
msg_denied = "You are already logged in - access denied"
}
resources {
}
security {
max_attributes = 200
reject_delay = 1.000000
status_server = yes
allow_vulnerable_openssl = "no"
}
}
radiusd: #### Loading Realms and Home Servers ####
proxy server {
retry_delay = 5
retry_count = 3
default_fallback = no
dead_time = 120
wake_all_if_all_dead = no
}
home_server localhost {
nonblock = no
ipaddr = 127.0.0.1
port = 1812
type = "auth"
secret = <<< secret >>>
response_window = 20.000000
response_timeouts = 1
max_outstanding = 65536
zombie_period = 40
status_check = "status-server"
ping_interval = 30
check_interval = 30
check_timeout = 4
num_answers_to_alive = 3
revive_interval = 120
limit {
max_connections = 16
max_requests = 0
lifetime = 0
idle_timeout = 0
}
coa {
irt = 2
mrt = 16
mrc = 5
mrd = 30
}
}
home_server tls {
nonblock = no
ipaddr = 127.0.0.1
port = 2083
type = "auth"
proto = "tcp"
secret = <<< secret >>>
response_window = 30.000000
response_timeouts = 1
max_outstanding = 65536
zombie_period = 40
status_check = "none"
ping_interval = 30
check_timeout = 4
num_answers_to_alive = 3
revive_interval = 300
limit {
max_connections = 16
max_requests = 0
lifetime = 0
idle_timeout = 0
}
coa {
irt = 2
mrt = 16
mrc = 5
mrd = 30
}
}
tls {
verify_depth = 0
ca_path = "/usr/local/etc/raddb/certs"
pem_file_type = yes
private_key_file = "/usr/local/etc/raddb/certs/client.pem"
certificate_file = "/usr/local/etc/raddb/certs/client.pem"
ca_file = "/usr/local/etc/raddb/certs/ca.pem"
private_key_password = <<< secret >>>
fragment_size = 8192
include_length = yes
check_crl = no
cipher_list = "DEFAULT"
ca_path_reload_interval = 0
ecdh_curve = "prime256v1"
tls_min_version = "1.2"
}
connect_timeout = 30
home_server_pool my_auth_failover {
type = fail-over
home_server = localhost
}
realm example.com {
auth_pool = my_auth_failover
}
realm LOCAL {
}
home_server_pool tls {
type = fail-over
home_server = tls
}
realm tls {
auth_pool = tls
}
radiusd: #### Loading Clients ####
client localhost {
ipaddr = 127.0.0.1
require_message_authenticator = no
secret = <<< secret >>>
nas_type = "other"
proto = "*"
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client localhost_ipv6 {
ipv6addr = ::1
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
Debugger not attached
# Creating Auth-Type = mschap
# Creating Auth-Type = digest
# Creating Auth-Type = eap
# Creating Auth-Type = PAP
# Creating Auth-Type = CHAP
# Creating Auth-Type = MS-CHAP
# Creating Autz-Type = New-TLS-Connection
radiusd: #### Instantiating modules ####
modules {
# Loaded module rlm_always
# Loading module "reject" from file /usr/local/etc/raddb/mods-enabled/always
always reject {
rcode = "reject"
simulcount = 0
mpp = no
}
# Loading module "fail" from file /usr/local/etc/raddb/mods-enabled/always
always fail {
rcode = "fail"
simulcount = 0
mpp = no
}
# Loading module "ok" from file /usr/local/etc/raddb/mods-enabled/always
always ok {
rcode = "ok"
simulcount = 0
mpp = no
}
# Loading module "handled" from file /usr/local/etc/raddb/mods-enabled/always
always handled {
rcode = "handled"
simulcount = 0
mpp = no
}
# Loading module "invalid" from file /usr/local/etc/raddb/mods-enabled/always
always invalid {
rcode = "invalid"
simulcount = 0
mpp = no
}
# Loading module "userlock" from file /usr/local/etc/raddb/mods-enabled/always
always userlock {
rcode = "userlock"
simulcount = 0
mpp = no
}
# Loading module "notfound" from file /usr/local/etc/raddb/mods-enabled/always
always notfound {
rcode = "notfound"
simulcount = 0
mpp = no
}
# Loading module "noop" from file /usr/local/etc/raddb/mods-enabled/always
always noop {
rcode = "noop"
simulcount = 0
mpp = no
}
# Loading module "updated" from file /usr/local/etc/raddb/mods-enabled/always
always updated {
rcode = "updated"
simulcount = 0
mpp = no
}
# Loaded module rlm_attr_filter
# Loading module "attr_filter.post-proxy" from file /usr/local/etc/raddb/mods-enabled/attr_filter
attr_filter attr_filter.post-proxy {
filename = "/usr/local/etc/raddb/mods-config/attr_filter/post-proxy"
key = "%{Realm}"
relaxed = no
}
# Loading module "attr_filter.pre-proxy" from file /usr/local/etc/raddb/mods-enabled/attr_filter
attr_filter attr_filter.pre-proxy {
filename = "/usr/local/etc/raddb/mods-config/attr_filter/pre-proxy"
key = "%{Realm}"
relaxed = no
}
# Loading module "attr_filter.access_reject" from file /usr/local/etc/raddb/mods-enabled/attr_filter
attr_filter attr_filter.access_reject {
filename = "/usr/local/etc/raddb/mods-config/attr_filter/access_reject"
key = "%{User-Name}"
relaxed = no
}
# Loading module "attr_filter.access_challenge" from file /usr/local/etc/raddb/mods-enabled/attr_filter
attr_filter attr_filter.access_challenge {
filename = "/usr/local/etc/raddb/mods-config/attr_filter/access_challenge"
key = "%{User-Name}"
relaxed = no
}
# Loading module "attr_filter.accounting_response" from file /usr/local/etc/raddb/mods-enabled/attr_filter
attr_filter attr_filter.accounting_response {
filename = "/usr/local/etc/raddb/mods-config/attr_filter/accounting_response"
key = "%{User-Name}"
relaxed = no
}
# Loading module "attr_filter.coa" from file /usr/local/etc/raddb/mods-enabled/attr_filter
attr_filter attr_filter.coa {
filename = "/usr/local/etc/raddb/mods-config/attr_filter/coa"
key = "%{User-Name}"
relaxed = no
}
# Loaded module rlm_chap
# Loading module "chap" from file /usr/local/etc/raddb/mods-enabled/chap
# Loaded module rlm_date
# Loading module "date" from file /usr/local/etc/raddb/mods-enabled/date
date {
format = "%b %e %Y %H:%M:%S %Z"
utc = no
}
# Loading module "wispr2date" from file /usr/local/etc/raddb/mods-enabled/date
date wispr2date {
format = "%Y-%m-%dT%H:%M:%S"
utc = no
}
# Loaded module rlm_detail
# Loading module "detail" from file /usr/local/etc/raddb/mods-enabled/detail
detail {
filename = "/usr/local/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
dates_as_integer = no
escape_filenames = no
log_packet_header = no
}
# Loading module "auth_log" from file /usr/local/etc/raddb/mods-enabled/detail.log
detail auth_log {
filename = "/usr/local/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
dates_as_integer = no
escape_filenames = no
log_packet_header = no
}
# Loading module "reply_log" from file /usr/local/etc/raddb/mods-enabled/detail.log
detail reply_log {
filename = "/usr/local/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/reply-detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
dates_as_integer = no
escape_filenames = no
log_packet_header = no
}
# Loading module "pre_proxy_log" from file /usr/local/etc/raddb/mods-enabled/detail.log
detail pre_proxy_log {
filename = "/usr/local/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/pre-proxy-detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
dates_as_integer = no
escape_filenames = no
log_packet_header = no
}
# Loading module "post_proxy_log" from file /usr/local/etc/raddb/mods-enabled/detail.log
detail post_proxy_log {
filename = "/usr/local/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/post-proxy-detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
dates_as_integer = no
escape_filenames = no
log_packet_header = no
}
# Loaded module rlm_digest
# Loading module "digest" from file /usr/local/etc/raddb/mods-enabled/digest
# Loaded module rlm_dynamic_clients
# Loading module "dynamic_clients" from file /usr/local/etc/raddb/mods-enabled/dynamic_clients
# Loaded module rlm_eap
# Loading module "eap" from file /usr/local/etc/raddb/mods-enabled/eap
eap {
default_eap_type = "md5"
timer_expire = 60
max_eap_type = 52
ignore_unknown_eap_types = no
cisco_accounting_username_bug = no
max_sessions = 16384
dedup_key = ""
}
# Loaded module rlm_exec
# Loading module "echo" from file /usr/local/etc/raddb/mods-enabled/echo
exec echo {
wait = yes
program = "/bin/echo %{User-Name}"
input_pairs = "request"
output_pairs = "reply"
shell_escape = yes
}
# Loading module "exec" from file /usr/local/etc/raddb/mods-enabled/exec
exec {
wait = no
input_pairs = "request"
shell_escape = yes
timeout = 10
}
# Loaded module rlm_expiration
# Loading module "expiration" from file /usr/local/etc/raddb/mods-enabled/expiration
# Loaded module rlm_expr
# Loading module "expr" from file /usr/local/etc/raddb/mods-enabled/expr
expr {
safe_characters = "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /äéöüàâæçèéêëîïôœùûüaÿÄÉÖÜßÀÂÆÇÈÉÊËÎÏÔŒÙÛÜŸ"
}
# Loaded module rlm_files
# Loading module "files" from file /usr/local/etc/raddb/mods-enabled/files
files {
filename = "/usr/local/etc/raddb/mods-config/files/authorize"
acctusersfile = "/usr/local/etc/raddb/mods-config/files/accounting"
preproxy_usersfile = "/usr/local/etc/raddb/mods-config/files/pre-proxy"
}
# Loaded module rlm_linelog
# Loading module "linelog" from file /usr/local/etc/raddb/mods-enabled/linelog
linelog {
filename = "/usr/local/var/log/radius/linelog"
escape_filenames = no
syslog_severity = "info"
permissions = 384
format = "This is a log message for %{User-Name}"
reference = "messages.%{%{reply:Packet-Type}:-default}"
}
# Loading module "log_accounting" from file /usr/local/etc/raddb/mods-enabled/linelog
linelog log_accounting {
filename = "/usr/local/var/log/radius/linelog-accounting"
escape_filenames = no
syslog_severity = "info"
permissions = 384
format = ""
reference = "Accounting-Request.%{%{Acct-Status-Type}:-unknown}"
}
# Loaded module rlm_logintime
# Loading module "logintime" from file /usr/local/etc/raddb/mods-enabled/logintime
logintime {
minimum_timeout = 60
}
# Loaded module rlm_mschap
# Loading module "mschap" from file /usr/local/etc/raddb/mods-enabled/mschap
mschap {
use_mppe = yes
require_encryption = no
require_strong = no
with_ntdomain_hack = yes
passchange {
}
allow_retry = yes
winbind_retry_with_normalised_username = no
}
# Loading module "ntlm_auth" from file /usr/local/etc/raddb/mods-enabled/ntlm_auth
exec ntlm_auth {
wait = yes
program = "/path/to/ntlm_auth --request-nt-key --domain=MYDOMAIN --username=%{mschap:User-Name} --password=%{User-Password}"
shell_escape = yes
}
# Loaded module rlm_pap
# Loading module "pap" from file /usr/local/etc/raddb/mods-enabled/pap
pap {
normalise = yes
}
# Loaded module rlm_passwd
# Loading module "etc_passwd" from file /usr/local/etc/raddb/mods-enabled/passwd
passwd etc_passwd {
filename = "/etc/passwd"
format = "*User-Name:Crypt-Password:"
delimiter = ":"
ignore_nislike = no
ignore_empty = yes
allow_multiple_keys = no
hash_size = 100
}
# Loaded module rlm_preprocess
# Loading module "preprocess" from file /usr/local/etc/raddb/mods-enabled/preprocess
preprocess {
huntgroups = "/usr/local/etc/raddb/mods-config/preprocess/huntgroups"
hints = "/usr/local/etc/raddb/mods-config/preprocess/hints"
with_ascend_hack = no
ascend_channels_per_line = 23
with_ntdomain_hack = no
with_specialix_jetstream_hack = no
with_cisco_vsa_hack = no
with_alvarion_vsa_hack = no
}
# Loaded module rlm_radutmp
# Loading module "radutmp" from file /usr/local/etc/raddb/mods-enabled/radutmp
radutmp {
filename = "/usr/local/var/log/radius/radutmp"
username = "%{User-Name}"
case_sensitive = yes
check_with_nas = yes
permissions = 384
caller_id = yes
}
# Loaded module rlm_realm
# Loading module "IPASS" from file /usr/local/etc/raddb/mods-enabled/realm
realm IPASS {
format = "prefix"
delimiter = "/"
ignore_default = no
ignore_null = no
}
# Loading module "suffix" from file /usr/local/etc/raddb/mods-enabled/realm
realm suffix {
format = "suffix"
delimiter = "@"
ignore_default = no
ignore_null = no
}
# Loading module "bangpath" from file /usr/local/etc/raddb/mods-enabled/realm
realm bangpath {
format = "prefix"
delimiter = "!"
ignore_default = no
ignore_null = no
}
# Loading module "realmpercent" from file /usr/local/etc/raddb/mods-enabled/realm
realm realmpercent {
format = "suffix"
delimiter = "%"
ignore_default = no
ignore_null = no
}
# Loading module "ntdomain" from file /usr/local/etc/raddb/mods-enabled/realm
realm ntdomain {
format = "prefix"
delimiter = "\"
ignore_default = no
ignore_null = no
}
# Loaded module rlm_replicate
# Loading module "replicate" from file /usr/local/etc/raddb/mods-enabled/replicate
# Loaded module rlm_soh
# Loading module "soh" from file /usr/local/etc/raddb/mods-enabled/soh
soh {
dhcp = yes
}
# Loading module "sradutmp" from file /usr/local/etc/raddb/mods-enabled/sradutmp
radutmp sradutmp {
filename = "/usr/local/var/log/radius/sradutmp"
username = "%{User-Name}"
case_sensitive = yes
check_with_nas = yes
permissions = 420
caller_id = no
}
# Loaded module rlm_totp
# Loading module "totp" from file /usr/local/etc/raddb/mods-enabled/totp
totp {
time_step = 30
otp_length = 8
lookback_steps = 1
lookback_interval = 30
}
# Loaded module rlm_unix
# Loading module "unix" from file /usr/local/etc/raddb/mods-enabled/unix
unix {
radwtmp = "/usr/local/var/log/radius/radwtmp"
}
Creating attribute Unix-Group
# Loaded module rlm_unpack
# Loading module "unpack" from file /usr/local/etc/raddb/mods-enabled/unpack
# Loaded module rlm_utf8
# Loading module "utf8" from file /usr/local/etc/raddb/mods-enabled/utf8
instantiate {
}
# Instantiating module "reject" from file /usr/local/etc/raddb/mods-enabled/always
# Instantiating module "fail" from file /usr/local/etc/raddb/mods-enabled/always
# Instantiating module "ok" from file /usr/local/etc/raddb/mods-enabled/always
# Instantiating module "handled" from file /usr/local/etc/raddb/mods-enabled/always
# Instantiating module "invalid" from file /usr/local/etc/raddb/mods-enabled/always
# Instantiating module "userlock" from file /usr/local/etc/raddb/mods-enabled/always
# Instantiating module "notfound" from file /usr/local/etc/raddb/mods-enabled/always
# Instantiating module "noop" from file /usr/local/etc/raddb/mods-enabled/always
# Instantiating module "updated" from file /usr/local/etc/raddb/mods-enabled/always
# Instantiating module "attr_filter.post-proxy" from file /usr/local/etc/raddb/mods-enabled/attr_filter
reading pairlist file /usr/local/etc/raddb/mods-config/attr_filter/post-proxy
# Instantiating module "attr_filter.pre-proxy" from file /usr/local/etc/raddb/mods-enabled/attr_filter
reading pairlist file /usr/local/etc/raddb/mods-config/attr_filter/pre-proxy
# Instantiating module "attr_filter.access_reject" from file /usr/local/etc/raddb/mods-enabled/attr_filter
reading pairlist file /usr/local/etc/raddb/mods-config/attr_filter/access_reject
# Instantiating module "attr_filter.access_challenge" from file /usr/local/etc/raddb/mods-enabled/attr_filter
reading pairlist file /usr/local/etc/raddb/mods-config/attr_filter/access_challenge
# Instantiating module "attr_filter.accounting_response" from file /usr/local/etc/raddb/mods-enabled/attr_filter
reading pairlist file /usr/local/etc/raddb/mods-config/attr_filter/accounting_response
# Instantiating module "attr_filter.coa" from file /usr/local/etc/raddb/mods-enabled/attr_filter
reading pairlist file /usr/local/etc/raddb/mods-config/attr_filter/coa
# Instantiating module "detail" from file /usr/local/etc/raddb/mods-enabled/detail
# Instantiating module "auth_log" from file /usr/local/etc/raddb/mods-enabled/detail.log
rlm_detail (auth_log): 'User-Password' suppressed, will not appear in detail output
# Instantiating module "reply_log" from file /usr/local/etc/raddb/mods-enabled/detail.log
# Instantiating module "pre_proxy_log" from file /usr/local/etc/raddb/mods-enabled/detail.log
# Instantiating module "post_proxy_log" from file /usr/local/etc/raddb/mods-enabled/detail.log
# Instantiating module "eap" from file /usr/local/etc/raddb/mods-enabled/eap
# Linked to sub-module rlm_eap_md5
# Linked to sub-module rlm_eap_gtc
gtc {
challenge = "Password: "
auth_type = "PAP"
}
# Linked to sub-module rlm_eap_tls
tls {
tls = "tls-common"
}
tls-config tls-common {
verify_depth = 0
ca_path = "/usr/local/etc/raddb/certs"
pem_file_type = yes
private_key_file = "/usr/local/etc/raddb/certs/server.pem"
certificate_file = "/usr/local/etc/raddb/certs/server.pem"
ca_file = "/usr/local/etc/raddb/certs/ca.pem"
private_key_password = <<< secret >>>
fragment_size = 1024
include_length = yes
auto_chain = yes
check_crl = no
check_all_crl = no
ca_path_reload_interval = 0
cipher_list = "DEFAULT"
cipher_server_preference = no
reject_unknown_intermediate_ca = no
ecdh_curve = ""
tls_max_version = "1.2"
tls_min_version = "1.2"
cache {
enable = no
lifetime = 24
max_entries = 255
}
verify {
skip_if_ocsp_ok = no
}
ocsp {
enable = no
override_cert_url = yes
url = "http://127.0.0.1/ocsp/"
use_nonce = yes
timeout = 0
softfail = no
}
}
# Linked to sub-module rlm_eap_ttls
ttls {
tls = "tls-common"
default_eap_type = "md5"
copy_request_to_tunnel = no
use_tunneled_reply = no
virtual_server = "inner-tunnel"
include_length = yes
require_client_cert = no
}
tls: Using cached TLS configuration from previous invocation
# Linked to sub-module rlm_eap_peap
peap {
tls = "tls-common"
default_eap_type = "mschapv2"
copy_request_to_tunnel = no
use_tunneled_reply = no
proxy_tunneled_request_as_eap = yes
virtual_server = "inner-tunnel"
soh = no
require_client_cert = no
}
tls: Using cached TLS configuration from previous invocation
# Linked to sub-module rlm_eap_mschapv2
mschapv2 {
with_ntdomain_hack = no
send_error = no
}
# Instantiating module "expiration" from file /usr/local/etc/raddb/mods-enabled/expiration
# Instantiating module "files" from file /usr/local/etc/raddb/mods-enabled/files
reading pairlist file /usr/local/etc/raddb/mods-config/files/authorize
reading pairlist file /usr/local/etc/raddb/mods-config/files/accounting
reading pairlist file /usr/local/etc/raddb/mods-config/files/pre-proxy
# Instantiating module "linelog" from file /usr/local/etc/raddb/mods-enabled/linelog
# Instantiating module "log_accounting" from file /usr/local/etc/raddb/mods-enabled/linelog
# Instantiating module "logintime" from file /usr/local/etc/raddb/mods-enabled/logintime
# Instantiating module "mschap" from file /usr/local/etc/raddb/mods-enabled/mschap
rlm_mschap (mschap): using internal authentication
# Instantiating module "pap" from file /usr/local/etc/raddb/mods-enabled/pap
# Instantiating module "etc_passwd" from file /usr/local/etc/raddb/mods-enabled/passwd
rlm_passwd: nfields: 3 keyfield 0(User-Name) listable: no
# Instantiating module "preprocess" from file /usr/local/etc/raddb/mods-enabled/preprocess
reading pairlist file /usr/local/etc/raddb/mods-config/preprocess/huntgroups
reading pairlist file /usr/local/etc/raddb/mods-config/preprocess/hints
# Instantiating module "IPASS" from file /usr/local/etc/raddb/mods-enabled/realm
# Instantiating module "suffix" from file /usr/local/etc/raddb/mods-enabled/realm
# Instantiating module "bangpath" from file /usr/local/etc/raddb/mods-enabled/realm
# Instantiating module "realmpercent" from file /usr/local/etc/raddb/mods-enabled/realm
# Instantiating module "ntdomain" from file /usr/local/etc/raddb/mods-enabled/realm
# Instantiating module "totp" from file /usr/local/etc/raddb/mods-enabled/totp
} # modules
radiusd: #### Loading Virtual Servers ####
server { # from file /usr/local/etc/raddb/radiusd.conf
} # server
server default { # from file /usr/local/etc/raddb/sites-enabled/default
# Loading authenticate {...}
Compiling Auth-Type PAP for attr Auth-Type
Compiling Auth-Type CHAP for attr Auth-Type
Compiling Auth-Type MS-CHAP for attr Auth-Type
# Loading authorize {...}
Ignoring "sql" (see raddb/mods-available/README.rst)
Ignoring "ldap" (see raddb/mods-available/README.rst)
Compiling Autz-Type New-TLS-Connection for attr Autz-Type
# Loading preacct {...}
# Loading accounting {...}
# Loading post-proxy {...}
# Loading post-auth {...}
Compiling Post-Auth-Type REJECT for attr Post-Auth-Type
Compiling Post-Auth-Type Challenge for attr Post-Auth-Type
Compiling Post-Auth-Type Client-Lost for attr Post-Auth-Type
} # server default
server inner-tunnel { # from file /usr/local/etc/raddb/sites-enabled/inner-tunnel
# Loading authenticate {...}
Compiling Auth-Type PAP for attr Auth-Type
Compiling Auth-Type CHAP for attr Auth-Type
Compiling Auth-Type MS-CHAP for attr Auth-Type
# Loading authorize {...}
# Loading session {...}
# Loading post-proxy {...}
# Loading post-auth {...}
# Skipping contents of 'if' as it is always 'false' -- /usr/local/etc/raddb/sites-enabled/inner-tunnel:366
Compiling Post-Auth-Type REJECT for attr Post-Auth-Type
} # server inner-tunnel
thread pool {
start_servers = 5
max_servers = 32
min_spare_servers = 3
max_spare_servers = 10
max_requests_per_server = 0
cleanup_delay = 5
max_queue_size = 65536
auto_limit_acct = no
}
Thread spawned new child 1. Total threads in pool: 1
Thread spawned new child 2. Total threads in pool: 2
Thread spawned new child 3. Total threads in pool: 3
Thread 1 waiting to be assigned a request
Thread spawned new child 4. Total threads in pool: 4
Thread 3 waiting to be assigned a request
Thread 4 waiting to be assigned a request
Thread spawned new child 5. Total threads in pool: 5
Thread pool initialized
radiusd: #### Opening IP addresses and Ports ####
Thread 2 waiting to be assigned a request
Thread 5 waiting to be assigned a request
listen {
type = "auth+acct"
virtual_server = "default"
ipaddr = *
port = 2083
proto = "tcp"
tls {
verify_depth = 0
ca_path = "/usr/local/etc/raddb/certs"
pem_file_type = yes
private_key_file = "/usr/local/etc/raddb/certs/server.pem"
certificate_file = "/usr/local/etc/raddb/certs/server.pem"
ca_file = "/usr/local/etc/raddb/certs/ca.pem"
private_key_password = <<< secret >>>
fragment_size = 8192
include_length = yes
auto_chain = yes
check_crl = no
check_all_crl = no
ca_path_reload_interval = 3600
cipher_list = "DEFAULT"
cipher_server_preference = no
require_client_cert = yes
reject_unknown_intermediate_ca = no
ecdh_curve = "prime256v1"
tls_max_version = "1.3"
tls_min_version = "1.2"
cache {
enable = no
lifetime = 24
max_entries = 255
}
verify {
skip_if_ocsp_ok = no
}
ocsp {
enable = no
override_cert_url = no
use_nonce = yes
timeout = 0
softfail = no
}
}
check_client_connections = yes
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
clients = "radsec"
client 127.0.0.1 {
ipaddr = *
require_message_authenticator = no
secret = <<< secret >>>
proto = "tls"
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
}
listen {
type = "auth"
ipaddr = *
port = 0
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
listen {
type = "acct"
ipaddr = *
port = 0
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
listen {
type = "auth"
ipv6addr = ::
port = 0
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
listen {
type = "acct"
ipv6addr = ::
port = 0
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
listen {
type = "auth"
ipaddr = 127.0.0.1
port = 18120
}
Listening on auth+acct proto tcp address * port 2083 (TLS) bound to server default
Listening on auth address * port 1812 bound to server default
Listening on acct address * port 1813 bound to server default
Listening on auth address :: port 1812 bound to server default
Listening on acct address :: port 1813 bound to server default
Listening on auth address 127.0.0.1 port 18120 bound to server inner-tunnel
Listening on proxy address * port 45552
Listening on proxy address :: port 52860
Ready to process requests
... new connection request on TCP socket
Listening on auth+acct from client (192.168.215.1, 19729) -> (*, 2083, virtual-server=default)
Waking up in 0.4 seconds.
(0) (TLS) RADIUS/TLS -Initiating new session
(0) (TLS) RADIUS/TLS - Setting verify mode to require certificate from client
(0) (TLS) RADIUS/TLS - Handshake state - before SSL initialization
(0) (TLS) RADIUS/TLS - Handshake state - Server before SSL initialization
(0) (TLS) RADIUS/TLS - Handshake state - Server before SSL initialization
(0) (TLS) RADIUS/TLS - recv TLS 1.3 Handshake, ClientHello
(0) (TLS) RADIUS/TLS - Handshake state - Server SSLv3/TLS read client hello
(0) (TLS) RADIUS/TLS - send TLS 1.3 Handshake, ServerHello
(0) (TLS) RADIUS/TLS - Handshake state - Server SSLv3/TLS write server hello
(0) (TLS) RADIUS/TLS - send TLS 1.3 ChangeCipherSpec
(0) (TLS) RADIUS/TLS - Handshake state - Server SSLv3/TLS write change cipher spec
(0) (TLS) RADIUS/TLS - Handshake state - Server TLSv1.3 early data
(0) (TLS) RADIUS/TLS - Server : Need to read more data: TLSv1.3 early data
(0) (TLS) RADIUS/TLS - In Handshake Phase
Waking up in 0.4 seconds.
(0) (TLS) RADIUS/TLS - Handshake state - Server TLSv1.3 early data
(0) (TLS) RADIUS/TLS - recv TLS 1.3 Handshake, ClientHello
(0) (TLS) RADIUS/TLS - Handshake state - Server SSLv3/TLS read client hello
(0) (TLS) RADIUS/TLS - send TLS 1.3 Handshake, ServerHello
(0) (TLS) RADIUS/TLS - Handshake state - Server SSLv3/TLS write server hello
(0) (TLS) RADIUS/TLS - send TLS 1.3 Handshake, EncryptedExtensions
(0) (TLS) RADIUS/TLS - Handshake state - Server TLSv1.3 write encrypted extensions
(0) (TLS) RADIUS/TLS - send TLS 1.3 Handshake, CertificateRequest
(0) (TLS) RADIUS/TLS - Handshake state - Server SSLv3/TLS write certificate request
(0) (TLS) RADIUS/TLS - send TLS 1.3 Handshake, Certificate
(0) (TLS) RADIUS/TLS - Handshake state - Server SSLv3/TLS write certificate
(0) (TLS) RADIUS/TLS - send TLS 1.3 Handshake, CertificateVerify
(0) (TLS) RADIUS/TLS - Handshake state - Server TLSv1.3 write server certificate verify
(0) (TLS) RADIUS/TLS - send TLS 1.3 Handshake, Finished
(0) (TLS) RADIUS/TLS - Handshake state - Server SSLv3/TLS write finished
(0) (TLS) RADIUS/TLS - Handshake state - Server TLSv1.3 early data
(0) (TLS) RADIUS/TLS - Server : Need to read more data: TLSv1.3 early data
(0) (TLS) RADIUS/TLS - In Handshake Phase
Waking up in 0.4 seconds.
(0) (TLS) RADIUS/TLS - Handshake state - Server TLSv1.3 early data
(0) (TLS) RADIUS/TLS - recv TLS 1.3 Handshake, Certificate
(0) (TLS) RADIUS/TLS - Creating attributes from client certificate
(0) TLS-Client-Cert-Serial := "2aef75f0ea7f49c68b28781d7a6a2ff9"
(0) TLS-Client-Cert-Expiration := "340208105559Z"
(0) TLS-Client-Cert-Valid-Since := "240208104559Z"
(0) TLS-Client-Cert-Subject := "/CN=BoilerPlate"
(0) TLS-Client-Cert-Issuer := "/CN=BoilerPlate"
(0) TLS-Client-Cert-Common-Name := "BoilerPlate"
(0) TLS-Client-Cert-Subject-Alt-Name-Dns := "radius.BoilerPlate.net"
(0) TLS-Client-Cert-X509v3-Basic-Constraints += "CA:FALSE"
(0) TLS-Client-Cert-X509v3-Authority-Key-Identifier += "73:D2:45:9F:1A:5B:BB:04:31:0D:2B:52:A8:66:F9:72:EB:12:D1:54"
(0) TLS-Client-Cert-X509v3-Subject-Key-Identifier += "73:D2:45:9F:1A:5B:BB:04:31:0D:2B:52:A8:66:F9:72:EB:12:D1:54"
Certificate chain - 0 intermediate CA cert(s) untrusted
To forbid these certificates see 'reject_unknown_intermediate_ca'
(TLS) untrusted certificate with depth [0] subject name /CN=BoilerPlate
(0) (TLS) RADIUS/TLS - Handshake state - Server SSLv3/TLS read client certificate
(0) (TLS) RADIUS/TLS - recv TLS 1.3 Handshake, CertificateVerify
(0) (TLS) RADIUS/TLS - Handshake state - Server SSLv3/TLS read certificate verify
(0) (TLS) RADIUS/TLS - recv TLS 1.3 Handshake, Finished
(0) (TLS) RADIUS/TLS - Handshake state - Server SSLv3/TLS read finished
(0) (TLS) RADIUS/TLS - Handshake state - SSL negotiation finished successfully
(0) (TLS) RADIUS/TLS - Connection Established
(0) TLS-Session-Cipher-Suite = "TLS_AES_256_GCM_SHA384"
(0) TLS-Session-Version = "TLS 1.3"
(0) (TLS) RADIUS/TLS - Application data.
Threads: total/active/spare threads = 5/0/5
Waking up in 0.3 seconds.
Thread 5 got semaphore
Thread 5 handling request 0, (1 handled so far)
(0) (TLS) Checking connection to see if it is authorized.
(0) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(0) Autz-Type New-TLS-Connection {
(0) [ok] = ok
(0) } # Autz-Type New-TLS-Connection = ok
(0) (TLS) Connection is authorized
(0) Sent Access-Accept Id 4294967295 from 0.0.0.0:2083 to 192.168.215.1:19729 length 0
(0) Finished request
Thread 5 waiting to be assigned a request
Waking up in 4.5 seconds.
(0) Cleaning up request packet ID 4294967295 with timestamp +7 due to cleanup_delay was reached
Ready to process requests
BR,
Lineconnect
3
11
Hi all,
FreeRADIUS v3.2.6
I'm trying to setup the rest module to authenticate with data to an API but
using a fixed API token every time to authenticate the API request itself.
I've configured the authenticate section of the rest config to have a
username = xxx and password = yyy as per the example/docs.
modules {
rest {
tls {
check_cert = no
check_cert_cn = no
}
connect_uri = https://xxx
connect_timeout = 4.0
authenticate {
uri = "${..connect_uri}/api/v1/auth"
method = "post"
body = "json"
auth = "basic"
username = "api-user123"
password = "api-password123"
data = '{"username": "%{User-Name}", "password":
"%{User-Password}"}'
tls = ${..tls}
}
}
}
But. the API post basic auth header always has the username and password of
the end user being checked (%{User-Name}:%{User-Password}), not my
configured static username and password (api-user123:api-password123).
I'm not using an authorize section, but as a test I've also configured it as
above and this correctly EXPANDs the configured static username and password
in the auth header.
The freeradius -X log shows them EXPANDed correctly in the authorize call,
but not mentioned in the authenticate call.
(0) authorize {
rlm_rest (rest): Reserved connection (0)
(0) rest: Expanding URI components
(0) rest: EXPAND https://xxx
(0) rest: --> https://xxx
(0) rest: EXPAND /api/v1/auth
(0) rest: --> /api/v1/auth
(0) rest: Sending HTTP POST to https://xxx/api/v1/auth
(0) rest: EXPAND api-user123
(0) rest: --> api-user123
(0) rest: EXPAND api-password123
(0) rest: --> api-password123
(0) rest: EXPAND {"username": "%{User-Name}", "password":
"%{User-Password}"}
(0) rest: --> {"username": "user555", "password": "pass555"}
(0) rest: Processing response header
(0) rest: Status : 204 (User authenticated successfully)
But the authenticate section gives:
(0) authenticate {
rlm_rest (rest): Reserved connection (1)
(0) rest: Expanding URI components
(0) rest: EXPAND https://xxx
(0) rest: --> https://xxx
(0) rest: EXPAND /api/v1/auth
(0) rest: --> /api/v1/auth
(0) rest: Sending HTTP POST to https://xxx/api/v1/auth
(0) rest: EXPAND {"username": "%{User-Name}", "password":
"%{User-Password}"}
(0) rest: --> {"username": "user555", "password": "pass555"}
(0) rest: Processing response header
(0) rest: Status : 401 (AUTHENTICATION FAILED)
No EXPAND lines for the username or password this time.
The example mods-available/rest file contains:
# The following config items may be listed in any of the sections:
<snip>
# username - User to authenticate as, will be expanded.
# password - Password to use for authentication, will be
expanded.
It says you can add them to 'any' of the sections but doesn't seen to work
in authenticate.
So.
Q: Is there a way to configure the rest module authenticate section to use
configured static credentials?
And.
One other idea I had was not to use the builtin auth and just add my own
additional header containing the basic auth base64 static credentials.
But no matter what I try in the authenticate (or authorize for that) section
I can't get any additional headers to appear at all.
I'm using:
control:REST-HTTP-Header := "Authorization: Basic abc123<snip>=="
control:REST-HTTP-Header := "X-KP-TEST: testing123"
And even if I put an invalid value format for the header I don't get any
config error or warning.
Have I done something wrong here?
Thanks all!
Kev/.
3
2
Thank you for the confirmation Nick, any ETA about 3.2.7?
Regards,
Rahman Duran
Bilgi İşlem Daire Başkanlığı
Erzurum Teknik Üniversitesi
444 5 388 - 2730
<freeradius-users-request(a)lists.freeradius.org> adresine sahip kullanıcı 24
Ara 2024 Sal, 15:00 tarihinde şunu yazdı:
> Send Freeradius-Users mailing list submissions to
> freeradius-users(a)lists.freeradius.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.freeradius.org/mailman/listinfo/freeradius-users
> or, via email, send a message with subject or body 'help' to
> freeradius-users-request(a)lists.freeradius.org
>
> You can reach the person managing the list at
> freeradius-users-owner(a)lists.freeradius.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Freeradius-Users digest..."
>
>
> Today's Topics:
>
> 1. Re: Broken proxy requests with 3.2.6 Docker Container image?
> (Nick Porter)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 24 Dec 2024 10:54:07 +0000
> From: Nick Porter <nick(a)portercomputing.co.uk>
> To: freeradius-users(a)lists.freeradius.org
> Subject: Re: Broken proxy requests with 3.2.6 Docker Container image?
> Message-ID:
> <a664b346-db56-4f04-b752-1b640c97d0a5(a)portercomputing.co.uk>
> Content-Type: text/plain; charset="utf-8"; Format="flowed"
>
> On 24/12/2024 10:46, Rahman DURAN via Freeradius-Users wrote:
> > It just disables unused things and copies over my custom config from my
> git
> > repo. It was working without any problem until version 3.2.6. After I
> > upgraded to 3.2.6 outgoing eduroam proxy requests all started to fail
> with
> > same error:
> >
> > "Tue Dec 24 06:05:10 2024 : Auth: (1) Login incorrect (No Auth-Type
> found:
> > rejecting the user via Post-Auth-Type = Reject): [test08(a)artvin.edu.tr]
> > (from client etu_wifi_rektorluk port 0 cli 7e8623ae0401)"
> >
> > Returning back to the 3.2.5 version container fixes the problem.
> >
> > I just tried to debug the problem and started the 3.2.6 version container
> > with "-X" but surprisingly it works ok in debug mode. It is reproducible
> > every time. If I run the container normally without "-X" it all fails
> with
> > the above error. If I run the same container with the same config with
> "-X"
> > it all works as expected.
> >
> > Is this a known problem? I tried the official "freeradius/freeradius-dev"
> > image with "v3.2.x" tag to see if the development image works and it
> works
> > without any problem too in normal mode (without debug mode).
>
> There is a known issue in 3.2.6 where proxying uses Home-Server-Pool or
> Home-Server-Name to direct the proxying - using Proxy-To-Realm works as
> expected.
>
> The issue will be resolved in 3.2.7 - hence the dev image working.
>
> Nick
>
> --
> Nick Porter
>
> Porter Computing Ltd
> Registered in England No 12659380
>
>
1
0
Hi,
I am using official Freeradius Docker container for my custom container
image: https://hub.docker.com/r/freeradius/freeradius-server
Here is my DockerFile:
FROM docker.io/freeradius/freeradius-server:3.2.6### Kullanmayacağımız
Freeradius site ve modüllerini devre dışı bırakalımRUN rm -rf
/etc/raddb/certs/* && \ rm -rf /etc/raddb/sites-enabled/* && \
rm -rf /etc/raddb/mods-enabled/eap && \ rm -rf
/etc/raddb/mods-enabled/files && \ rm -rf
/etc/raddb/mods-enabled/ldap && \ rm -rf
/etc/raddb/mods-enabled/linelog && \ rm -rf
/etc/raddb/mods-enabled/sql && \ rm -rf /etc/raddb/dictionaryRUN mv
/etc/raddb/proxy.conf /etc/raddb/proxy.conf.orig && \ mv
/etc/raddb/radiusd.conf /etc/raddb/radiusd.conf.orig && \ mv
/etc/raddb/clients.conf /etc/raddb/clients.conf.orig### Bize ait
özelleşmiş dosyaları yerlerine kopyalayalımWORKDIR /etc/raddbCOPY
--chown=root:freerad --chmod=640 raddb/certs/* certs/COPY
--chown=root:freerad --chmod=640 raddb/mods-available/*
mods-available/COPY --chown=root:freerad --chmod=640
raddb/mods-config/files.etu/* mods-config/files.etu/COPY
--chown=root:freerad --chmod=640 raddb/policy.d/* policy.d/COPY
--chown=root:freerad --chmod=640 raddb/sites-available/*
sites-available/COPY --chown=root:freerad --chmod=640
raddb/proxy.etu.conf ./COPY --chown=root:freerad --chmod=640
raddb/clients.etu.conf ./COPY --chown=root:freerad --chmod=640
raddb/dictionary ./COPY --chown=root:freerad --chmod=640
raddb/radiusd.etu.conf ./radiusd.confWORKDIR
/etc/raddb/sites-enabledRUN ln -s ../sites-available/default.etu
default.etu && \ ln -s ../sites-available/inner-tunnel.etu
inner-tunnel.etuWORKDIR /etc/raddb/mods-enabledRUN ln -s
../mods-available/eap.etu eap.etu && \ ln -s
../mods-available/files.etu files.etu && \ ln -s
../mods-available/ldap.etu ldap.etu && \ ln -s
../mods-available/linelog.etu linelog.etu && \ ln -s
../mods-available/sql.etu sql.etuWORKDIR /etc/raddb/
It just disables unused things and copies over my custom config from my git
repo. It was working without any problem until version 3.2.6. After I
upgraded to 3.2.6 outgoing eduroam proxy requests all started to fail with
same error:
"Tue Dec 24 06:05:10 2024 : Auth: (1) Login incorrect (No Auth-Type found:
rejecting the user via Post-Auth-Type = Reject): [test08(a)artvin.edu.tr]
(from client etu_wifi_rektorluk port 0 cli 7e8623ae0401)"
Returning back to the 3.2.5 version container fixes the problem.
I just tried to debug the problem and started the 3.2.6 version container
with "-X" but surprisingly it works ok in debug mode. It is reproducible
every time. If I run the container normally without "-X" it all fails with
the above error. If I run the same container with the same config with "-X"
it all works as expected.
Is this a known problem? I tried the official "freeradius/freeradius-dev"
image with "v3.2.x" tag to see if the development image works and it works
without any problem too in normal mode (without debug mode).
I attach the 3.2.6 container debug mod logs if it has any value (as it is
working in debug mode)
Regards,
Rahman Duran
Bilgi İşlem Daire Başkanlığı
Erzurum Teknik Üniversitesi
444 5 388 - 2730
[root@radius-test ~]# podman run --name etu-nac-debug -it -p 1812:1812/udp
-p 1812:1812/udp gitlab.erzurum.edu.tr:5050/sysadmin/freeradius-nac:latest
-X
FreeRADIUS Version 3.2.6
Copyright (C) 1999-2023 The FreeRADIUS server project and contributors
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE
You may redistribute copies of FreeRADIUS under the terms of the
GNU General Public License
For more information about these matters, see the file named COPYRIGHT
Starting - reading configuration files ...
including dictionary file /usr/share/freeradius/dictionary
including dictionary file /usr/share/freeradius/dictionary.dhcp
including dictionary file /usr/share/freeradius/dictionary.vqp
including dictionary file /etc/freeradius/dictionary
including configuration file /etc/freeradius/radiusd.conf
including configuration file /etc/freeradius/proxy.etu.conf
including configuration file /etc/freeradius/clients.etu.conf
including files in directory /etc/freeradius/mods-enabled/
including configuration file /etc/freeradius/mods-enabled/always
including configuration file /etc/freeradius/mods-enabled/attr_filter
including configuration file /etc/freeradius/mods-enabled/chap
including configuration file /etc/freeradius/mods-enabled/date
including configuration file /etc/freeradius/mods-enabled/detail
including configuration file /etc/freeradius/mods-enabled/detail.log
including configuration file /etc/freeradius/mods-enabled/digest
including configuration file /etc/freeradius/mods-enabled/dynamic_clients
including configuration file /etc/freeradius/mods-enabled/echo
including configuration file /etc/freeradius/mods-enabled/exec
including configuration file /etc/freeradius/mods-enabled/expiration
including configuration file /etc/freeradius/mods-enabled/expr
including configuration file /etc/freeradius/mods-enabled/logintime
including configuration file /etc/freeradius/mods-enabled/mschap
including configuration file /etc/freeradius/mods-enabled/ntlm_auth
including configuration file /etc/freeradius/mods-enabled/pap
including configuration file /etc/freeradius/mods-enabled/passwd
including configuration file /etc/freeradius/mods-enabled/preprocess
including configuration file /etc/freeradius/mods-enabled/radutmp
including configuration file /etc/freeradius/mods-enabled/realm
including configuration file /etc/freeradius/mods-enabled/replicate
including configuration file /etc/freeradius/mods-enabled/soh
including configuration file /etc/freeradius/mods-enabled/sradutmp
including configuration file /etc/freeradius/mods-enabled/totp
including configuration file /etc/freeradius/mods-enabled/unix
including configuration file /etc/freeradius/mods-enabled/unpack
including configuration file /etc/freeradius/mods-enabled/utf8
including configuration file /etc/freeradius/mods-enabled/eap.etu
including configuration file /etc/freeradius/mods-enabled/files.etu
including configuration file /etc/freeradius/mods-enabled/ldap.etu
including configuration file /etc/freeradius/mods-enabled/linelog.etu
including configuration file /etc/freeradius/mods-enabled/sql.etu
including configuration file
/etc/freeradius/mods-config/sql/main/mysql/queries.conf
including configuration file /etc/freeradius/policy.d/canonicalization
including configuration file /etc/freeradius/policy.d/canonicalization.etu
including files in directory /etc/freeradius/policy.d/
including configuration file /etc/freeradius/policy.d/abfab-tr
including configuration file /etc/freeradius/policy.d/accounting
including configuration file /etc/freeradius/policy.d/control
including configuration file /etc/freeradius/policy.d/cui
including configuration file /etc/freeradius/policy.d/debug
including configuration file /etc/freeradius/policy.d/dhcp
including configuration file /etc/freeradius/policy.d/eap
including configuration file /etc/freeradius/policy.d/filter
including configuration file /etc/freeradius/policy.d/moonshot-targeted-ids
including configuration file /etc/freeradius/policy.d/operator-name
including configuration file /etc/freeradius/policy.d/rfc7542
including configuration file /etc/freeradius/policy.d/policy.etu
including files in directory /etc/freeradius/sites-enabled/
including configuration file /etc/freeradius/sites-enabled/default.etu
including configuration file /etc/freeradius/sites-enabled/inner-tunnel.etu
main {
security {
user = "freerad"
group = "freerad"
allow_core_dumps = no
}
name = "freeradius"
prefix = "/usr"
localstatedir = "/var"
logdir = "/var/log/freeradius"
run_dir = "/var/run/freeradius"
}
main {
name = "freeradius"
prefix = "/usr"
localstatedir = "/var"
sbindir = "/usr/sbin"
logdir = "/var/log/freeradius"
run_dir = "/var/run/freeradius"
libdir = "/usr/lib/freeradius"
radacctdir = "/var/log/freeradius/radacct"
hostname_lookups = no
max_request_time = 30
proxy_dedup_window = 1
cleanup_delay = 5
max_requests = 16384
max_fds = 512
postauth_client_lost = yes
pidfile = "/var/run/freeradius/freeradius.pid"
checkrad = "/usr/sbin/checkrad"
debug_level = 0
proxy_requests = yes
log {
stripped_names = no
auth = yes
auth_badpass = no
auth_goodpass = no
colourise = yes
msg_denied = "You are already logged in - access denied"
}
resources {
}
security {
max_attributes = 200
reject_delay = 1.000000
status_server = yes
require_message_authenticator = "auto"
limit_proxy_state = "auto"
}
}
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 trrad01 {
nonblock = no
ipaddr = 193.140.83.100
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 = 300
limit {
max_connections = 16
max_requests = 0
lifetime = 0
idle_timeout = 0
}
coa {
irt = 2
mrt = 16
mrc = 5
mrd = 30
}
}
home_server trrad02 {
nonblock = no
ipaddr = 193.140.100.35
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 = 300
limit {
max_connections = 16
max_requests = 0
lifetime = 0
idle_timeout = 0
}
coa {
irt = 2
mrt = 16
mrc = 5
mrd = 30
}
}
realm LOCAL {
nostrip
}
realm NULL {
}
realm DEFAULT {
nostrip
}
home_server_pool eduroam_trrrad_pool {
type = fail-over
home_server = trrad01
home_server = trrad02
}
radiusd: #### Loading Clients ####
client localhost {
ipaddr = 127.0.0.1
secret = <<< secret >>>
nas_type = "other"
proto = "*"
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
Shared secret for client localhost is short, and likely can be broken by an
attacker.
client localhost_ipv6 {
ipv6addr = ::1
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
Shared secret for client localhost_ipv6 is short, and likely can be broken
by an attacker.
client ulakbim_eduroamtr_a {
ipaddr = 193.140.83.100
limit_proxy_state = "no"
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client ulakbim_eduroamtr_b {
ipaddr = 193.140.100.35
limit_proxy_state = "no"
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client ulakbim_eduroam_monitor {
ipv4addr = 193.140.12.244
limit_proxy_state = "no"
secret = <<< secret >>>
shortname = "TRmonitor"
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client etu_wifi_cisco5500 {
ipaddr = 172.31.0.1
secret = <<< secret >>>
nas_type = "other"
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
Shared secret for client etu_wifi_cisco5500 is short, and likely can be
broken by an attacker.
client etu_wifi_konukevi {
ipaddr = 10.10.250.0/24
secret = <<< secret >>>
nas_type = "other"
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
Shared secret for client etu_wifi_konukevi is short, and likely can be
broken by an attacker.
client etu_wifi_konukevi_captive {
ipaddr = 10.0.10.182
secret = <<< secret >>>
nas_type = "other"
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
Shared secret for client etu_wifi_konukevi_captive is short, and likely can
be broken by an attacker.
client etu_wifi_konukevi_captive {
ipaddr = 10.0.10.181
secret = <<< secret >>>
nas_type = "other"
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
Shared secret for client etu_wifi_konukevi_captive is short, and likely can
be broken by an attacker.
client etu_wifi_muhendislik {
ipaddr = 10.10.249.0/24
secret = <<< secret >>>
nas_type = "other"
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
Shared secret for client etu_wifi_muhendislik is short, and likely can be
broken by an attacker.
client etu_wifi_yutam {
ipaddr = 10.10.248.0/24
secret = <<< secret >>>
nas_type = "other"
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
Shared secret for client etu_wifi_yutam is short, and likely can be broken
by an attacker.
client etu_wifi_bakimatölyesi {
ipaddr = 10.10.247.0/24
secret = <<< secret >>>
nas_type = "other"
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
Shared secret for client etu_wifi_bakimatölyesi is short, and likely can be
broken by an attacker.
client etu_wifi_yemekhane {
ipaddr = 10.10.246.0/24
secret = <<< secret >>>
nas_type = "other"
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
Shared secret for client etu_wifi_yemekhane is short, and likely can be
broken by an attacker.
client etu_wifi_etukristal {
ipaddr = 10.10.245.0/24
secret = <<< secret >>>
nas_type = "other"
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
Shared secret for client etu_wifi_etukristal is short, and likely can be
broken by an attacker.
client etu_wifi_yasammerkezi {
ipaddr = 10.10.244.0/24
secret = <<< secret >>>
nas_type = "other"
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
Shared secret for client etu_wifi_yasammerkezi is short, and likely can be
broken by an attacker.
client etu_wifi_rektorluk {
ipaddr = 10.10.243.0/24
secret = <<< secret >>>
nas_type = "other"
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
Shared secret for client etu_wifi_rektorluk is short, and likely can be
broken by an attacker.
client etu_wifi_kutuphane {
ipaddr = 10.10.242.0/24
secret = <<< secret >>>
nas_type = "other"
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
Shared secret for client etu_wifi_kutuphane is short, and likely can be
broken by an attacker.
client etu_wifi_sporsalonu {
ipaddr = 10.10.241.0/24
secret = <<< secret >>>
nas_type = "other"
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
Shared secret for client etu_wifi_sporsalonu is short, and likely can be
broken by an attacker.
client etu_wifi_fenfakultesi {
ipaddr = 10.10.238.0/24
secret = <<< secret >>>
nas_type = "other"
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
Shared secret for client etu_wifi_fenfakultesi is short, and likely can be
broken by an attacker.
client etu_wifi_saglikbilimleri {
ipaddr = 10.10.237.0/24
secret = <<< secret >>>
nas_type = "other"
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
Shared secret for client etu_wifi_saglikbilimleri is short, and likely can
be broken by an attacker.
client etu_wired {
ipaddr = 192.168.10.0/24
secret = <<< secret >>>
nas_type = "other"
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client etu_nms {
ipaddr = 10.0.1.95/32
secret = <<< secret >>>
nas_type = "other"
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.etu
# Creating Auth-Type = PAP
# Creating Auth-Type = MS-CHAP
# Creating Auth-Type = eap
# Creating Autz-Type = New-TLS-Connection
radiusd: #### Instantiating modules ####
modules {
# Loaded module rlm_always
# Loading module "reject" from file /etc/freeradius/mods-enabled/always
always reject {
rcode = "reject"
simulcount = 0
mpp = no
}
# Loading module "fail" from file /etc/freeradius/mods-enabled/always
always fail {
rcode = "fail"
simulcount = 0
mpp = no
}
# Loading module "ok" from file /etc/freeradius/mods-enabled/always
always ok {
rcode = "ok"
simulcount = 0
mpp = no
}
# Loading module "handled" from file /etc/freeradius/mods-enabled/always
always handled {
rcode = "handled"
simulcount = 0
mpp = no
}
# Loading module "invalid" from file /etc/freeradius/mods-enabled/always
always invalid {
rcode = "invalid"
simulcount = 0
mpp = no
}
# Loading module "userlock" from file /etc/freeradius/mods-enabled/always
always userlock {
rcode = "userlock"
simulcount = 0
mpp = no
}
# Loading module "notfound" from file /etc/freeradius/mods-enabled/always
always notfound {
rcode = "notfound"
simulcount = 0
mpp = no
}
# Loading module "noop" from file /etc/freeradius/mods-enabled/always
always noop {
rcode = "noop"
simulcount = 0
mpp = no
}
# Loading module "updated" from file /etc/freeradius/mods-enabled/always
always updated {
rcode = "updated"
simulcount = 0
mpp = no
}
# Loaded module rlm_attr_filter
# Loading module "attr_filter.post-proxy" from file
/etc/freeradius/mods-enabled/attr_filter
attr_filter attr_filter.post-proxy {
filename = "/etc/freeradius/mods-config/attr_filter/post-proxy"
key = "%{Realm}"
relaxed = no
}
# Loading module "attr_filter.pre-proxy" from file
/etc/freeradius/mods-enabled/attr_filter
attr_filter attr_filter.pre-proxy {
filename = "/etc/freeradius/mods-config/attr_filter/pre-proxy"
key = "%{Realm}"
relaxed = no
}
# Loading module "attr_filter.access_reject" from file
/etc/freeradius/mods-enabled/attr_filter
attr_filter attr_filter.access_reject {
filename = "/etc/freeradius/mods-config/attr_filter/access_reject"
key = "%{User-Name}"
relaxed = no
}
# Loading module "attr_filter.access_challenge" from file
/etc/freeradius/mods-enabled/attr_filter
attr_filter attr_filter.access_challenge {
filename =
"/etc/freeradius/mods-config/attr_filter/access_challenge"
key = "%{User-Name}"
relaxed = no
}
# Loading module "attr_filter.accounting_response" from file
/etc/freeradius/mods-enabled/attr_filter
attr_filter attr_filter.accounting_response {
filename =
"/etc/freeradius/mods-config/attr_filter/accounting_response"
key = "%{User-Name}"
relaxed = no
}
# Loading module "attr_filter.coa" from file
/etc/freeradius/mods-enabled/attr_filter
attr_filter attr_filter.coa {
filename = "/etc/freeradius/mods-config/attr_filter/coa"
key = "%{User-Name}"
relaxed = no
}
# Loaded module rlm_chap
# Loading module "chap" from file /etc/freeradius/mods-enabled/chap
# Loaded module rlm_date
# Loading module "date" from file /etc/freeradius/mods-enabled/date
date {
format = "%b %e %Y %H:%M:%S %Z"
utc = no
}
# Loading module "wispr2date" from file /etc/freeradius/mods-enabled/date
date wispr2date {
format = "%Y-%m-%dT%H:%M:%S"
utc = no
}
# Loaded module rlm_detail
# Loading module "detail" from file /etc/freeradius/mods-enabled/detail
detail {
filename =
"/var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
dates_as_integer = no
escape_filenames = no
log_packet_header = no
}
# Loading module "auth_log" from file
/etc/freeradius/mods-enabled/detail.log
detail auth_log {
filename =
"/var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
dates_as_integer = no
escape_filenames = no
log_packet_header = no
}
# Loading module "reply_log" from file
/etc/freeradius/mods-enabled/detail.log
detail reply_log {
filename =
"/var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/reply-detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
dates_as_integer = no
escape_filenames = no
log_packet_header = no
}
# Loading module "pre_proxy_log" from file
/etc/freeradius/mods-enabled/detail.log
detail pre_proxy_log {
filename =
"/var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/pre-proxy-detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
dates_as_integer = no
escape_filenames = no
log_packet_header = no
}
# Loading module "post_proxy_log" from file
/etc/freeradius/mods-enabled/detail.log
detail post_proxy_log {
filename =
"/var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/post-proxy-detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
dates_as_integer = no
escape_filenames = no
log_packet_header = no
}
# Loaded module rlm_digest
# Loading module "digest" from file /etc/freeradius/mods-enabled/digest
# Loaded module rlm_dynamic_clients
# Loading module "dynamic_clients" from file
/etc/freeradius/mods-enabled/dynamic_clients
# Loaded module rlm_exec
# Loading module "echo" from file /etc/freeradius/mods-enabled/echo
exec echo {
wait = yes
program = "/bin/echo %{User-Name}"
input_pairs = "request"
output_pairs = "reply"
shell_escape = yes
}
# Loading module "exec" from file /etc/freeradius/mods-enabled/exec
exec {
wait = no
input_pairs = "request"
shell_escape = yes
timeout = 10
}
# Loaded module rlm_expiration
# Loading module "expiration" from file
/etc/freeradius/mods-enabled/expiration
# Loaded module rlm_expr
# Loading module "expr" from file /etc/freeradius/mods-enabled/expr
expr {
safe_characters =
"@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_:
/äéöüàâæçèéêëîïôœùûüaÿÄÉÖÜßÀÂÆÇÈÉÊËÎÏÔŒÙÛÜŸ"
}
# Loaded module rlm_logintime
# Loading module "logintime" from file
/etc/freeradius/mods-enabled/logintime
logintime {
minimum_timeout = 60
}
# Loaded module rlm_mschap
# Loading module "mschap" from file /etc/freeradius/mods-enabled/mschap
mschap {
use_mppe = yes
require_encryption = no
require_strong = no
with_ntdomain_hack = yes
passchange {
}
allow_retry = yes
winbind_retry_with_normalised_username = no
}
# Loading module "ntlm_auth" from file
/etc/freeradius/mods-enabled/ntlm_auth
exec ntlm_auth {
wait = yes
program = "/path/to/ntlm_auth --request-nt-key --domain=MYDOMAIN
--username=%{mschap:User-Name} --password=%{User-Password}"
shell_escape = yes
}
# Loaded module rlm_pap
# Loading module "pap" from file /etc/freeradius/mods-enabled/pap
pap {
normalise = yes
}
# Loaded module rlm_passwd
# Loading module "etc_passwd" from file
/etc/freeradius/mods-enabled/passwd
passwd etc_passwd {
filename = "/etc/passwd"
format = "*User-Name:Crypt-Password:"
delimiter = ":"
ignore_nislike = no
ignore_empty = yes
allow_multiple_keys = no
hash_size = 100
}
# Loaded module rlm_preprocess
# Loading module "preprocess" from file
/etc/freeradius/mods-enabled/preprocess
preprocess {
huntgroups = "/etc/freeradius/mods-config/preprocess/huntgroups"
hints = "/etc/freeradius/mods-config/preprocess/hints"
with_ascend_hack = no
ascend_channels_per_line = 23
with_ntdomain_hack = no
with_specialix_jetstream_hack = no
with_cisco_vsa_hack = no
with_alvarion_vsa_hack = no
}
# Loaded module rlm_radutmp
# Loading module "radutmp" from file /etc/freeradius/mods-enabled/radutmp
radutmp {
filename = "/var/log/freeradius/radutmp"
username = "%{User-Name}"
case_sensitive = yes
check_with_nas = yes
permissions = 384
caller_id = yes
}
# Loaded module rlm_realm
# Loading module "IPASS" from file /etc/freeradius/mods-enabled/realm
realm IPASS {
format = "prefix"
delimiter = "/"
ignore_default = no
ignore_null = no
}
# Loading module "suffix" from file /etc/freeradius/mods-enabled/realm
realm suffix {
format = "suffix"
delimiter = "@"
ignore_default = no
ignore_null = no
}
# Loading module "bangpath" from file /etc/freeradius/mods-enabled/realm
realm bangpath {
format = "prefix"
delimiter = "!"
ignore_default = no
ignore_null = no
}
# Loading module "realmpercent" from file
/etc/freeradius/mods-enabled/realm
realm realmpercent {
format = "suffix"
delimiter = "%"
ignore_default = no
ignore_null = no
}
# Loading module "ntdomain" from file /etc/freeradius/mods-enabled/realm
realm ntdomain {
format = "prefix"
delimiter = "\"
ignore_default = no
ignore_null = no
}
# Loaded module rlm_replicate
# Loading module "replicate" from file
/etc/freeradius/mods-enabled/replicate
# Loaded module rlm_soh
# Loading module "soh" from file /etc/freeradius/mods-enabled/soh
soh {
dhcp = yes
}
# Loading module "sradutmp" from file
/etc/freeradius/mods-enabled/sradutmp
radutmp sradutmp {
filename = "/var/log/freeradius/sradutmp"
username = "%{User-Name}"
case_sensitive = yes
check_with_nas = yes
permissions = 420
caller_id = no
}
# Loaded module rlm_totp
# Loading module "totp" from file /etc/freeradius/mods-enabled/totp
totp {
time_step = 30
otp_length = 6
lookback_steps = 1
lookback_interval = 30
lookforward_steps = 0
}
# Loaded module rlm_unix
# Loading module "unix" from file /etc/freeradius/mods-enabled/unix
unix {
radwtmp = "/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_utf8
# Loading module "utf8" from file /etc/freeradius/mods-enabled/utf8
# Loaded module rlm_eap
# Loading module "eap.etu" from file /etc/freeradius/mods-enabled/eap.etu
eap eap.etu {
default_eap_type = "peap"
timer_expire = 60
max_eap_type = 52
ignore_unknown_eap_types = no
cisco_accounting_username_bug = no
max_sessions = 16384
dedup_key = ""
}
# Loaded module rlm_files
# Loading module "files_saglik_bilimleri_sim_lab_mac_list" from file
/etc/freeradius/mods-enabled/files.etu
files files_saglik_bilimleri_sim_lab_mac_list {
filename =
"/etc/freeradius/mods-config/files.etu/saglik_bilimleri_sim_lab_mac_list"
}
# Loading module "files_bidb_test_mac_list" from file
/etc/freeradius/mods-enabled/files.etu
files files_bidb_test_mac_list {
filename =
"/etc/freeradius/mods-config/files.etu/bidb_test_mac_list"
}
# Loading module "files_yutam_lab_cihaz_mac_list" from file
/etc/freeradius/mods-enabled/files.etu
files files_yutam_lab_cihaz_mac_list {
filename =
"/etc/freeradius/mods-config/files.etu/yutam_lab_cihaz_mac_list"
}
# Loaded module rlm_ldap
# Loading module "ldap_tek_hesap" from file
/etc/freeradius/mods-enabled/ldap.etu
ldap ldap_tek_hesap {
server = "ldaps://95.183.213.8"
identity = "cn=ro,cn=admin,dc=etu"
password = <<< secret >>>
sasl {
}
user_dn = "ldap_tek_hesap-LDAP-UserDn"
user {
scope = "sub"
access_positive = yes
sasl {
}
}
group {
scope = "sub"
name_attribute = "cn"
cacheable_name = no
cacheable_dn = no
allow_dangling_group_ref = no
}
client {
scope = "sub"
base_dn = ""
}
profile {
}
options {
ldap_debug = 40
chase_referrals = yes
rebind = yes
net_timeout = 1
res_timeout = 10
srv_timelimit = 3
idle = 60
probes = 3
interval = 3
}
tls {
ca_file = "/etc/freeradius/certs/ldap_ca.pem"
ca_path = "/etc/freeradius/certs"
tls_min_version = "1.2"
cipher_list = "DEFAULT"
check_crl = no
start_tls = no
require_cert = "demand"
}
}
Creating attribute ldap_tek_hesap-LDAP-Group
# Loading module "ldap_librenms_login" from file
/etc/freeradius/mods-enabled/ldap.etu
ldap ldap_librenms_login {
server = "ldaps://95.183.213.8"
identity = "cn=ro,cn=admin,dc=etu"
password = <<< secret >>>
sasl {
}
user_dn = "ldap_librenms_login-LDAP-UserDn"
user {
scope = "sub"
access_positive = yes
sasl {
}
}
group {
scope = "sub"
name_attribute = "cn"
cacheable_name = no
cacheable_dn = no
allow_dangling_group_ref = no
}
client {
scope = "sub"
base_dn = ""
}
profile {
}
options {
ldap_debug = 40
chase_referrals = yes
rebind = yes
net_timeout = 1
res_timeout = 10
srv_timelimit = 3
idle = 60
probes = 3
interval = 3
}
tls {
ca_file = "/etc/freeradius/certs/ldap_ca.pem"
ca_path = "/etc/freeradius/certs"
tls_min_version = "1.2"
cipher_list = "DEFAULT"
check_crl = no
start_tls = no
require_cert = "demand"
}
}
Creating attribute ldap_librenms_login-LDAP-Group
# Loaded module rlm_linelog
# Loading module "linelog.etu" from file
/etc/freeradius/mods-enabled/linelog.etu
linelog linelog.etu {
filename = "/dev/stdout"
escape_filenames = no
syslog_severity = "info"
permissions = 384
format = "This is a log message for %{User-Name}"
reference = "Access-Request.%{%{reply:Packet-Type}:-default}"
}
# Loading module "linelog_accounting.etu" from file
/etc/freeradius/mods-enabled/linelog.etu
linelog linelog_accounting.etu {
filename = "/dev/stdout"
escape_filenames = no
syslog_severity = "info"
permissions = 384
format = ""
reference = "Accounting-Request.%{%{Acct-Status-Type}:-unknown}"
}
# Loading module "linelog_client_lost.etu" from file
/etc/freeradius/mods-enabled/linelog.etu
linelog linelog_client_lost.etu {
filename = "/dev/stdout"
escape_filenames = no
syslog_severity = "info"
permissions = 384
format = "Client lost: [%{&session-state:ETU-Outer-User-Name}]
calling_station_id: [%{&session-state:Calling-Station-Id}]
called_station_id: [%{&session-state:Called-Station-Id}] ssid:
[%{&session-state:Called-Station-SSID}] etu_service:
[%{&session-state:ETU-Radius-Service-Name}]"
}
# Loaded module rlm_sql
# Loading module "sql_konukevi" from file
/etc/freeradius/mods-enabled/sql.etu
sql sql_konukevi {
driver = "rlm_sql_mysql"
server = "maria.db.erzurum.edu.tr"
port = 3306
login = "konukeviwifi"
password = <<< secret >>>
radius_db = "konukeviwifi"
read_groups = yes
read_profiles = yes
read_clients = no
delete_stale_sessions = yes
sql_user_name = "%{User-Name}"
default_user_profile = ""
client_query = "SELECT id, nasname, shortname, type, secret, server
FROM nas"
authorize_check_query = "SELECT id, username, attribute, value, op
FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id"
authorize_reply_query = "SELECT id, username, attribute, value, op
FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id"
authorize_group_check_query = "SELECT id, groupname, attribute,
Value, op FROM radgroupcheck WHERE groupname = '%{sql_konukevi-SQL-Group}'
ORDER BY id"
authorize_group_reply_query = "SELECT id, groupname, attribute,
value, op FROM radgroupreply WHERE groupname = '%{sql_konukevi-SQL-Group}'
ORDER BY id"
group_membership_query = "SELECT groupname FROM radusergroup WHERE
username = '%{SQL-User-Name}' ORDER BY priority"
simul_count_query = "SELECT COUNT(*) FROM radacct a LEFT OUTER JOIN
nasreload n USING (nasipaddress) WHERE username = '%{SQL-User-Name}' AND
acctstoptime IS NULL AND (a.acctstarttime > n.reloadtime OR n.reloadtime IS
NULL)"
simul_verify_query = "SELECT radacctid, acctsessionid, username,
nasipaddress, nasportid, framedipaddress, callingstationid, framedprotocol
FROM radacct a LEFT OUTER JOIN nasreload n USING (nasipaddress) WHERE
username = '%{SQL-User-Name}' AND acctstoptime IS NULL AND (a.acctstarttime
> n.reloadtime OR n.reloadtime IS NULL)"
safe_characters =
"@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /"
auto_escape = no
accounting {
reference =
"%{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query}"
type {
accounting-on {
query = "UPDATE radacct SET acctstoptime =
FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctsessiontime =
'%{%{integer:Event-Timestamp}:-%l}' - UNIX_TIMESTAMP(acctstarttime),
acctterminatecause = '%{%{Acct-Terminate-Cause}:-NAS-Reboot}' WHERE
acctstoptime IS NULL AND nasipaddress = '%{NAS-IP-Address}' AND
acctstarttime <= FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l})"
}
accounting-off {
query = "UPDATE radacct SET acctstoptime =
FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctsessiontime =
'%{%{integer:Event-Timestamp}:-%l}' - UNIX_TIMESTAMP(acctstarttime),
acctterminatecause = '%{%{Acct-Terminate-Cause}:-NAS-Reboot}' WHERE
acctstoptime IS NULL AND nasipaddress = '%{NAS-IP-Address}' AND
acctstarttime <= FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l})"
}
start {
query = "INSERT INTO radacct (acctsessionid,
acctuniqueid, username, realm,
nasipaddress, nasportid, nasporttype, acctstarttime,
acctupdatetime, acctstoptime, acctsessiontime,
acctauthentic, connectinfo_start, connectinfo_stop,
acctinputoctets, acctoutputoctets, calledstationid,
callingstationid, acctterminatecause, servicetype,
framedprotocol, framedipaddress, framedipv6address,
framedipv6prefix, framedinterfaceid, delegatedipv6prefix ) VALUES
('%{Acct-Session-Id}', '%{Acct-Unique-Session-Id}', '%{SQL-User-Name}',
'%{Realm}', '%{NAS-IP-Address}', '%{%{NAS-Port-ID}:-%{NAS-Port}}',
'%{NAS-Port-Type}', FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}),
FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), NULL, '0',
'%{Acct-Authentic}', '%{Connect-Info}', '', '0', '0',
'%{Called-Station-Id}', '%{Calling-Station-Id}', '', '%{Service-Type}',
'%{Framed-Protocol}', '%{Framed-IP-Address}', '%{Framed-IPv6-Address}',
'%{Framed-IPv6-Prefix}', '%{Framed-Interface-Id}',
'%{Delegated-IPv6-Prefix}' )"
}
interim-update {
query = "UPDATE radacct SET acctupdatetime =
(@acctupdatetime_old:=acctupdatetime), acctupdatetime =
FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval =
%{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old),
framedipaddress = '%{Framed-IP-Address}', framedipv6address =
'%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}',
framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix =
'%{Delegated-IPv6-Prefix}', acctsessiontime =
%{%{Acct-Session-Time}:-NULL}, acctinputoctets =
'%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}',
acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 |
'%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId =
'%{Acct-Unique-Session-Id}'"
}
stop {
query = "UPDATE radacct SET acctstoptime =
FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctsessiontime =
%{%{Acct-Session-Time}:-NULL}, acctinputoctets =
'%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}',
acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 |
'%{%{Acct-Output-Octets}:-0}', acctterminatecause =
'%{Acct-Terminate-Cause}', connectinfo_stop = '%{Connect-Info}' WHERE
AcctUniqueId = '%{Acct-Unique-Session-Id}'"
}
}
}
post-auth {
reference = ".query"
query = "INSERT INTO radpostauth (username, pass, reply, authdate )
VALUES ( '%{SQL-User-Name}', '%{%{User-Password}:-%{Chap-Password}}',
'%{reply:Packet-Type}', '%S.%M' )"
}
}
rlm_sql (sql_konukevi): Driver rlm_sql_mysql (module rlm_sql_mysql) loaded
and linked
Creating attribute sql_konukevi-SQL-Group
instantiate {
}
# Instantiating module "reject" from file
/etc/freeradius/mods-enabled/always
# Instantiating module "fail" from file
/etc/freeradius/mods-enabled/always
# Instantiating module "ok" from file /etc/freeradius/mods-enabled/always
# Instantiating module "handled" from file
/etc/freeradius/mods-enabled/always
# Instantiating module "invalid" from file
/etc/freeradius/mods-enabled/always
# Instantiating module "userlock" from file
/etc/freeradius/mods-enabled/always
# Instantiating module "notfound" from file
/etc/freeradius/mods-enabled/always
# Instantiating module "noop" from file
/etc/freeradius/mods-enabled/always
# Instantiating module "updated" from file
/etc/freeradius/mods-enabled/always
# Instantiating module "attr_filter.post-proxy" from file
/etc/freeradius/mods-enabled/attr_filter
reading pairlist file /etc/freeradius/mods-config/attr_filter/post-proxy
# Instantiating module "attr_filter.pre-proxy" from file
/etc/freeradius/mods-enabled/attr_filter
reading pairlist file /etc/freeradius/mods-config/attr_filter/pre-proxy
# Instantiating module "attr_filter.access_reject" from file
/etc/freeradius/mods-enabled/attr_filter
reading pairlist file /etc/freeradius/mods-config/attr_filter/access_reject
# Instantiating module "attr_filter.access_challenge" from file
/etc/freeradius/mods-enabled/attr_filter
reading pairlist file
/etc/freeradius/mods-config/attr_filter/access_challenge
# Instantiating module "attr_filter.accounting_response" from file
/etc/freeradius/mods-enabled/attr_filter
reading pairlist file
/etc/freeradius/mods-config/attr_filter/accounting_response
# Instantiating module "attr_filter.coa" from file
/etc/freeradius/mods-enabled/attr_filter
reading pairlist file /etc/freeradius/mods-config/attr_filter/coa
# Instantiating module "detail" from file
/etc/freeradius/mods-enabled/detail
# Instantiating module "auth_log" from file
/etc/freeradius/mods-enabled/detail.log
rlm_detail (auth_log): 'User-Password' suppressed, will not appear in
detail output
# Instantiating module "reply_log" from file
/etc/freeradius/mods-enabled/detail.log
# Instantiating module "pre_proxy_log" from file
/etc/freeradius/mods-enabled/detail.log
# Instantiating module "post_proxy_log" from file
/etc/freeradius/mods-enabled/detail.log
# Instantiating module "expiration" from file
/etc/freeradius/mods-enabled/expiration
# Instantiating module "logintime" from file
/etc/freeradius/mods-enabled/logintime
# Instantiating module "mschap" from file
/etc/freeradius/mods-enabled/mschap
rlm_mschap (mschap): using internal authentication
# Instantiating module "pap" from file /etc/freeradius/mods-enabled/pap
# Instantiating module "etc_passwd" from file
/etc/freeradius/mods-enabled/passwd
rlm_passwd: nfields: 3 keyfield 0(User-Name) listable: no
# Instantiating module "preprocess" from file
/etc/freeradius/mods-enabled/preprocess
reading pairlist file /etc/freeradius/mods-config/preprocess/huntgroups
reading pairlist file /etc/freeradius/mods-config/preprocess/hints
# Instantiating module "IPASS" from file
/etc/freeradius/mods-enabled/realm
# Instantiating module "suffix" from file
/etc/freeradius/mods-enabled/realm
# Instantiating module "bangpath" from file
/etc/freeradius/mods-enabled/realm
# Instantiating module "realmpercent" from file
/etc/freeradius/mods-enabled/realm
# Instantiating module "ntdomain" from file
/etc/freeradius/mods-enabled/realm
# Instantiating module "totp" from file /etc/freeradius/mods-enabled/totp
# Instantiating module "eap.etu" from file
/etc/freeradius/mods-enabled/eap.etu
# Linked to sub-module rlm_eap_md5
# 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/etu.server.key"
certificate_file = "/etc/freeradius/certs/etu.server.pem"
ca_file = "/etc/freeradius/certs/etu.ca.pem"
private_key_password = <<< secret >>>
fragment_size = 1024
include_length = yes
auto_chain = yes
check_crl = no
check_all_crl = no
ca_path_reload_interval = 0
cipher_list = "DEFAULT@SECLEVEL=0"
cipher_server_preference = no
reject_unknown_intermediate_ca = no
ecdh_curve = ""
tls_max_version = "1.3"
tls_min_version = "1.0"
cache {
enable = no
lifetime = 24
max_entries = 255
}
verify {
skip_if_ocsp_ok = no
}
ocsp {
enable = no
override_cert_url = yes
url = "http://127.0.0.1/ocsp/"
use_nonce = yes
timeout = 0
softfail = no
}
}
# Linked to sub-module rlm_eap_ttls
ttls {
tls = "tls-common"
default_eap_type = "md5"
copy_request_to_tunnel = yes
use_tunneled_reply = no
virtual_server = "inner-tunnel.etu"
include_length = yes
require_client_cert = no
}
tls: Using cached TLS configuration from previous invocation
# Linked to sub-module rlm_eap_peap
peap {
tls = "tls-common"
default_eap_type = "mschapv2"
copy_request_to_tunnel = yes
use_tunneled_reply = no
proxy_tunneled_request_as_eap = yes
virtual_server = "inner-tunnel.etu"
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 "files_saglik_bilimleri_sim_lab_mac_list" from
file /etc/freeradius/mods-enabled/files.etu
reading pairlist file
/etc/freeradius/mods-config/files.etu/saglik_bilimleri_sim_lab_mac_list
# Instantiating module "files_bidb_test_mac_list" from file
/etc/freeradius/mods-enabled/files.etu
reading pairlist file
/etc/freeradius/mods-config/files.etu/bidb_test_mac_list
# Instantiating module "files_yutam_lab_cihaz_mac_list" from file
/etc/freeradius/mods-enabled/files.etu
reading pairlist file
/etc/freeradius/mods-config/files.etu/yutam_lab_cihaz_mac_list
# Instantiating module "ldap_tek_hesap" from file
/etc/freeradius/mods-enabled/ldap.etu
rlm_ldap: libldap vendor: OpenLDAP, version: 20518
accounting {
reference = "."
}
post-auth {
reference = "."
}
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! libldap is using GnuTLS, while FreeRADIUS is using OpenSSL
!! There may be random issues with TLS connections due to this conflict.
!! The server may also crash.
!! See https://wiki.freeradius.org/modules/Rlm_ldap for more information.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
rlm_ldap (ldap_tek_hesap): Initialising connection pool
pool {
start = 5
min = 3
max = 32
spare = 10
uses = 0
lifetime = 0
cleanup_interval = 30
idle_timeout = 60
retry_delay = 30
max_retries = 5
spread = no
}
rlm_ldap (ldap_tek_hesap): Opening additional connection (0), 1 of 32
pending slots used
rlm_ldap (ldap_tek_hesap): Connecting to ldaps://95.183.213.8:636
rlm_ldap (ldap_tek_hesap): Waiting for bind result...
rlm_ldap (ldap_tek_hesap): Bind successful
rlm_ldap (ldap_tek_hesap): Opening additional connection (1), 1 of 31
pending slots used
rlm_ldap (ldap_tek_hesap): Connecting to ldaps://95.183.213.8:636
rlm_ldap (ldap_tek_hesap): Waiting for bind result...
rlm_ldap (ldap_tek_hesap): Bind successful
rlm_ldap (ldap_tek_hesap): Opening additional connection (2), 1 of 30
pending slots used
rlm_ldap (ldap_tek_hesap): Connecting to ldaps://95.183.213.8:636
rlm_ldap (ldap_tek_hesap): Waiting for bind result...
rlm_ldap (ldap_tek_hesap): Bind successful
rlm_ldap (ldap_tek_hesap): Opening additional connection (3), 1 of 29
pending slots used
rlm_ldap (ldap_tek_hesap): Connecting to ldaps://95.183.213.8:636
rlm_ldap (ldap_tek_hesap): Waiting for bind result...
rlm_ldap (ldap_tek_hesap): Bind successful
rlm_ldap (ldap_tek_hesap): Opening additional connection (4), 1 of 28
pending slots used
rlm_ldap (ldap_tek_hesap): Connecting to ldaps://95.183.213.8:636
rlm_ldap (ldap_tek_hesap): Waiting for bind result...
rlm_ldap (ldap_tek_hesap): Bind successful
# Instantiating module "ldap_librenms_login" from file
/etc/freeradius/mods-enabled/ldap.etu
accounting {
reference = "."
}
post-auth {
reference = "."
}
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! libldap is using GnuTLS, while FreeRADIUS is using OpenSSL
!! There may be random issues with TLS connections due to this conflict.
!! The server may also crash.
!! See https://wiki.freeradius.org/modules/Rlm_ldap for more information.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
rlm_ldap (ldap_librenms_login): Initialising connection pool
pool {
start = 5
min = 3
max = 32
spare = 10
uses = 0
lifetime = 0
cleanup_interval = 30
idle_timeout = 60
retry_delay = 30
max_retries = 5
spread = no
}
rlm_ldap (ldap_librenms_login): Opening additional connection (0), 1 of 32
pending slots used
rlm_ldap (ldap_librenms_login): Connecting to ldaps://95.183.213.8:636
rlm_ldap (ldap_librenms_login): Waiting for bind result...
rlm_ldap (ldap_librenms_login): Bind successful
rlm_ldap (ldap_librenms_login): Opening additional connection (1), 1 of 31
pending slots used
rlm_ldap (ldap_librenms_login): Connecting to ldaps://95.183.213.8:636
rlm_ldap (ldap_librenms_login): Waiting for bind result...
rlm_ldap (ldap_librenms_login): Bind successful
rlm_ldap (ldap_librenms_login): Opening additional connection (2), 1 of 30
pending slots used
rlm_ldap (ldap_librenms_login): Connecting to ldaps://95.183.213.8:636
rlm_ldap (ldap_librenms_login): Waiting for bind result...
rlm_ldap (ldap_librenms_login): Bind successful
rlm_ldap (ldap_librenms_login): Opening additional connection (3), 1 of 29
pending slots used
rlm_ldap (ldap_librenms_login): Connecting to ldaps://95.183.213.8:636
rlm_ldap (ldap_librenms_login): Waiting for bind result...
rlm_ldap (ldap_librenms_login): Bind successful
rlm_ldap (ldap_librenms_login): Opening additional connection (4), 1 of 28
pending slots used
rlm_ldap (ldap_librenms_login): Connecting to ldaps://95.183.213.8:636
rlm_ldap (ldap_librenms_login): Waiting for bind result...
rlm_ldap (ldap_librenms_login): Bind successful
# Instantiating module "linelog.etu" from file
/etc/freeradius/mods-enabled/linelog.etu
# Instantiating module "linelog_accounting.etu" from file
/etc/freeradius/mods-enabled/linelog.etu
# Instantiating module "linelog_client_lost.etu" from file
/etc/freeradius/mods-enabled/linelog.etu
# Instantiating module "sql_konukevi" from file
/etc/freeradius/mods-enabled/sql.etu
rlm_sql_mysql: libmysql version: 8.0.39
mysql {
tls {
tls_required = no
check_cert = no
check_cert_cn = no
}
warnings = "auto"
}
rlm_sql (sql_konukevi): Attempting to connect to database "konukeviwifi"
rlm_sql (sql_konukevi): Initialising connection pool
pool {
start = 5
min = 3
max = 32
spare = 10
uses = 0
lifetime = 0
cleanup_interval = 30
idle_timeout = 60
retry_delay = 30
max_retries = 5
spread = no
}
rlm_sql (sql_konukevi): Opening additional connection (0), 1 of 32 pending
slots used
rlm_sql_mysql: Starting connect to MySQL server
WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future
version.
rlm_sql_mysql: Connected to database 'konukeviwifi' on
maria.db.erzurum.edu.tr via TCP/IP, server version
11.2.3-MariaDB-1:11.2.3+maria~ubu2204, protocol version 10
rlm_sql (sql_konukevi): Opening additional connection (1), 1 of 31 pending
slots used
rlm_sql_mysql: Starting connect to MySQL server
WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future
version.
rlm_sql_mysql: Connected to database 'konukeviwifi' on
maria.db.erzurum.edu.tr via TCP/IP, server version
11.2.3-MariaDB-1:11.2.3+maria~ubu2204, protocol version 10
rlm_sql (sql_konukevi): Opening additional connection (2), 1 of 30 pending
slots used
rlm_sql_mysql: Starting connect to MySQL server
WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future
version.
rlm_sql_mysql: Connected to database 'konukeviwifi' on
maria.db.erzurum.edu.tr via TCP/IP, server version
11.2.3-MariaDB-1:11.2.3+maria~ubu2204, protocol version 10
rlm_sql (sql_konukevi): Opening additional connection (3), 1 of 29 pending
slots used
rlm_sql_mysql: Starting connect to MySQL server
WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future
version.
rlm_sql_mysql: Connected to database 'konukeviwifi' on
maria.db.erzurum.edu.tr via TCP/IP, server version
11.2.3-MariaDB-1:11.2.3+maria~ubu2204, protocol version 10
rlm_sql (sql_konukevi): Opening additional connection (4), 1 of 28 pending
slots used
rlm_sql_mysql: Starting connect to MySQL server
WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future
version.
rlm_sql_mysql: Connected to database 'konukeviwifi' on
maria.db.erzurum.edu.tr via TCP/IP, server version
11.2.3-MariaDB-1:11.2.3+maria~ubu2204, protocol version 10
} # modules
radiusd: #### Loading Virtual Servers ####
server { # from file /etc/freeradius/radiusd.conf
} # server
server default.etu { # from file /etc/freeradius/sites-enabled/default.etu
# Loading authenticate {...}
Compiling Auth-Type PAP for attr Auth-Type
Compiling Auth-Type MS-CHAP for attr Auth-Type
Compiling Auth-Type eap for attr Auth-Type
# Loading authorize {...}
Compiling Autz-Type New-TLS-Connection for attr Autz-Type
# Loading preacct {...}
# Loading accounting {...}
# Loading post-proxy {...}
Compiling Post-Proxy-Type Fail-Authentication for attr Post-Proxy-Type
# Loading post-auth {...}
Compiling Post-Auth-Type REJECT for attr Post-Auth-Type
Compiling Post-Auth-Type Challenge for attr Post-Auth-Type
Compiling Post-Auth-Type Client-Lost for attr Post-Auth-Type
} # server default.etu
server inner-tunnel.etu { # from file
/etc/freeradius/sites-enabled/inner-tunnel.etu
# Loading authenticate {...}
Compiling Auth-Type PAP for attr Auth-Type
Compiling Auth-Type MS-CHAP for attr Auth-Type
# Loading authorize {...}
# Loading post-auth {...}
Compiling Post-Auth-Type REJECT for attr Post-Auth-Type
} # server inner-tunnel.etu
radiusd: #### Opening IP addresses and Ports ####
listen {
type = "auth"
ipaddr = *
port = 0
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
listen {
type = "acct"
ipaddr = *
port = 0
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
listen {
type = "auth"
ipaddr = 127.0.0.1
port = 18120
}
Listening on auth address * port 1812 bound to server default.etu
Listening on acct address * port 1813 bound to server default.etu
Listening on auth address 127.0.0.1 port 18120 bound to server
inner-tunnel.etu
Listening on proxy address * port 49432
Ready to process requests
(0) Received Access-Request Id 109 from 10.10.243.69:50507 to
10.88.0.10:1812 length 233
(0) User-Name = "test08(a)artvin.edu.tr"
(0) NAS-IP-Address = 10.10.243.69
(0) NAS-Port = 0
(0) NAS-Identifier = "10.10.243.69"
(0) NAS-Port-Type = Wireless-802.11
(0) Calling-Station-Id = "7e8623ae0401"
(0) Called-Station-Id = "a8bd27c5752c"
(0) Service-Type = Login-User
(0) Framed-MTU = 1100
(0) EAP-Message = 0x02010019017465737430384061727476696e2e6564752e7472
(0) Aruba-Essid-Name = "bidb-test"
(0) Aruba-Location-Id = "REKTORLUK_KAT1R_MEHMETRASIMODA"
(0) Aruba-AP-Group = "Rektörlük"
(0) Message-Authenticator = 0x05053dceaccd74ceb91725e22f1872f5
(0) # Executing section authorize from file
/etc/freeradius/sites-enabled/default.etu
(0) authorize {
(0) policy filter_username {
(0) if (&User-Name) {
(0) if (&User-Name) -> TRUE
(0) if (&User-Name) {
(0) if (&User-Name =~ / /) {
(0) if (&User-Name =~ / /) -> FALSE
(0) if (&User-Name =~ /@[^@]*@/ ) {
(0) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(0) if (&User-Name =~ /\.\./ ) {
(0) if (&User-Name =~ /\.\./ ) -> FALSE
(0) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(0) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) ->
FALSE
(0) if (&User-Name =~ /\.$/) {
(0) if (&User-Name =~ /\.$/) -> FALSE
(0) if (&User-Name =~ /(a)\./) {
(0) if (&User-Name =~ /(a)\./) -> FALSE
(0) } # if (&User-Name) = notfound
(0) } # policy filter_username = notfound
(0) [preprocess] = ok
(0) policy etu_extract_ssid {
(0) if (&Called-Station-Id && (&Called-Station-Id =~
/^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))$/i))
{
(0) if (&Called-Station-Id && (&Called-Station-Id =~
/^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))$/i))
-> FALSE
(0) elsif (&Aruba-Essid-Name) {
(0) elsif (&Aruba-Essid-Name) -> TRUE
(0) elsif (&Aruba-Essid-Name) {
(0) update request {
(0) EXPAND %{Aruba-Essid-Name}
(0) --> bidb-test
(0) &Called-Station-SSID := bidb-test
(0) } # update request = noop
(0) [updated] = updated
(0) } # elsif (&Aruba-Essid-Name) = updated
(0) ... skipping elsif: Preceding "if" was taken
(0) ... skipping else: Preceding "if" was taken
(0) } # policy etu_extract_ssid = updated
(0) policy etu_policy_service_selector {
(0) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name =~
/^.+(a)erzurum\.edu\.tr$/i) ) {
(0) EXPAND %{client:shortname}
(0) --> etu_wifi_rektorluk
(0) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name =~
/^.+(a)erzurum\.edu\.tr$/i) ) -> FALSE
(0) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) {
(0) EXPAND %{client:shortname}
(0) --> etu_wifi_rektorluk
(0) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) -> TRUE
(0) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) {
(0) update request {
(0) &ETU-Radius-Service-Name := "etu_service_bidb_test_eduroam"
(0) } # update request = noop
(0) if (&Virtual-Server == "inner-tunnel.etu") {
(0) EXPAND &Virtual-Server
(0) --> default.etu
(0) if (&Virtual-Server == "inner-tunnel.etu") -> FALSE
(0) [updated] = updated
(0) } # if ( ("%{client:shortname}" == "etu_wifi_rektorluk")
&& (&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) = updated
(0) ... skipping elsif: Preceding "if" was taken
(0) ... skipping elsif: Preceding "if" was taken
(0) ... skipping elsif: Preceding "if" was taken
(0) ... skipping elsif: Preceding "if" was taken
(0) ... skipping elsif: Preceding "if" was taken
(0) ... skipping elsif: Preceding "if" was taken
(0) ... skipping elsif: Preceding "if" was taken
(0) ... skipping elsif: Preceding "if" was taken
(0) ... skipping elsif: Preceding "if" was taken
(0) ... skipping elsif: Preceding "if" was taken
(0) ... skipping elsif: Preceding "if" was taken
(0) ... skipping elsif: Preceding "if" was taken
(0) ... skipping else: Preceding "if" was taken
(0) } # policy etu_policy_service_selector = updated
(0) policy etu_session_state_populate {
(0) if (&Virtual-Server != "inner-tunnel.etu") {
(0) EXPAND &Virtual-Server
(0) --> default.etu
(0) if (&Virtual-Server != "inner-tunnel.etu") -> TRUE
(0) if (&Virtual-Server != "inner-tunnel.etu") {
(0) if (!(&session-state:Calling-Station-Id)) {
(0) if (!(&session-state:Calling-Station-Id)) -> TRUE
(0) if (!(&session-state:Calling-Station-Id)) {
(0) update session-state {
(0) &Calling-Station-Id := request:Calling-Station-Id ->
'7e8623ae0401'
(0) } # update session-state = noop
(0) } # if (!(&session-state:Calling-Station-Id)) = noop
(0) if (!(&session-state:Called-Station-Id)) {
(0) if (!(&session-state:Called-Station-Id)) -> TRUE
(0) if (!(&session-state:Called-Station-Id)) {
(0) update session-state {
(0) &Called-Station-Id := request:Called-Station-Id ->
'a8bd27c5752c'
(0) } # update session-state = noop
(0) } # if (!(&session-state:Called-Station-Id)) = noop
(0) if (!(&session-state:Called-Station-SSID)) {
(0) if (!(&session-state:Called-Station-SSID)) -> TRUE
(0) if (!(&session-state:Called-Station-SSID)) {
(0) update session-state {
(0) &Called-Station-SSID := request:Called-Station-SSID ->
'bidb-test'
(0) } # update session-state = noop
(0) } # if (!(&session-state:Called-Station-SSID)) = noop
(0) if (!(&session-state:ETU-Radius-Service-Name)) {
(0) if (!(&session-state:ETU-Radius-Service-Name)) -> TRUE
(0) if (!(&session-state:ETU-Radius-Service-Name)) {
(0) update session-state {
(0) &ETU-Radius-Service-Name := request:ETU-Radius-Service-Name
-> 'etu_service_bidb_test_eduroam'
(0) } # update session-state = noop
(0) } # if (!(&session-state:ETU-Radius-Service-Name)) = noop
(0) if (!(&session-state:ETU-Outer-User-Name)) {
(0) if (!(&session-state:ETU-Outer-User-Name)) -> TRUE
(0) if (!(&session-state:ETU-Outer-User-Name)) {
(0) update session-state {
(0) &ETU-Outer-User-Name := request:User-Name -> '
test08(a)artvin.edu.tr'
(0) } # update session-state = noop
(0) } # if (!(&session-state:ETU-Outer-User-Name)) = noop
(0) } # if (&Virtual-Server != "inner-tunnel.etu") = noop
(0) } # policy etu_session_state_populate = noop
(0) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test" ) {
(0) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test" ) -> FALSE
(0) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test_eduroam" ) {
(0) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test_eduroam" )
-> TRUE
(0) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test_eduroam" )
{
(0) group {
(0) policy etu_proxy_to_eduroam_trrad {
(0) update control {
(0) Home-Server-Pool = "eduroam_trrrad_pool"
(0) } # update control = noop
(0) [updated] = updated
(0) } # policy etu_proxy_to_eduroam_trrad = updated
(0) } # group = updated
(0) etu_auth_modules { ... } # empty sub-section is ignored
(0) return
(0) } # if ( &ETU-Radius-Service-Name ==
"etu_service_bidb_test_eduroam" ) = updated
(0) } # authorize = updated
(0) Proxying due to Home-Server-Pool = "eduroam_trrrad_pool"
(0) Starting proxy to home server 193.140.83.100 port 1812
(0) server default.etu {
(0) }
(0) Proxying request to home server 193.140.83.100 port 1812 timeout
20.000000
(0) Sent Access-Request Id 166 from 0.0.0.0:49432 to 193.140.83.100:1812
length 244
(0) User-Name = "test08(a)artvin.edu.tr"
(0) NAS-IP-Address = 10.10.243.69
(0) NAS-Port = 0
(0) NAS-Identifier = "10.10.243.69"
(0) NAS-Port-Type = Wireless-802.11
(0) Calling-Station-Id = "7e8623ae0401"
(0) Called-Station-Id = "a8bd27c5752c"
(0) Service-Type = Login-User
(0) Framed-MTU = 1100
(0) EAP-Message = 0x02010019017465737430384061727476696e2e6564752e7472
(0) Aruba-Essid-Name = "bidb-test"
(0) Aruba-Location-Id = "REKTORLUK_KAT1R_MEHMETRASIMODA"
(0) Aruba-AP-Group = "Rektörlük"
(0) Message-Authenticator = 0x05053dceaccd74ceb91725e22f1872f5
(0) Event-Timestamp = "Dec 24 2024 06:14:06 UTC"
(0) Proxy-State = 0x313039
Waking up in 0.3 seconds.
(0) Marking home server 193.140.83.100 port 1812 alive
(0) Clearing existing &reply: attributes
(0) Received Access-Challenge Id 166 from 193.140.83.100:1812 to
10.88.0.10:49432 length 93
(0) Message-Authenticator = 0x8584a1cfa5969ec47be156cad9042152
(0) EAP-Message = 0x010200061921
(0) State =
0x414e774172514144414b7072536b3043506e3153544e346c34634a3075543153706a795657673d3d
(0) Proxy-State = 0x313039
(0) server default.etu {
(0) # Executing section post-proxy from file
/etc/freeradius/sites-enabled/default.etu
(0) post-proxy {
(0) if ("%{proxy-reply:Packet-Type}" == "Access-Reject" ){
(0) EXPAND %{proxy-reply:Packet-Type}
(0) --> Access-Challenge
(0) if ("%{proxy-reply:Packet-Type}" == "Access-Reject" ) -> FALSE
(0) } # post-proxy = noop
(0) }
(0) session-state: Saving cached attributes
(0) Calling-Station-Id := "7e8623ae0401"
(0) Called-Station-Id := "a8bd27c5752c"
(0) Called-Station-SSID := "bidb-test"
(0) ETU-Radius-Service-Name := "etu_service_bidb_test_eduroam"
(0) ETU-Outer-User-Name := "test08(a)artvin.edu.tr"
(0) Using Post-Auth-Type Challenge
(0) # Executing group from file /etc/freeradius/sites-enabled/default.etu
(0) Challenge { ... } # empty sub-section is ignored
(0) Sent Access-Challenge Id 109 from 10.88.0.10:1812 to 10.10.243.69:50507
length 88
(0) Message-Authenticator = 0x8584a1cfa5969ec47be156cad9042152
(0) EAP-Message = 0x010200061921
(0) State =
0x414e774172514144414b7072536b3043506e3153544e346c34634a3075543153706a795657673d3d
(0) Finished request
Waking up in 4.9 seconds.
(1) Received Access-Request Id 100 from 10.10.243.69:50507 to
10.88.0.10:1812 length 387
(1) User-Name = "test08(a)artvin.edu.tr"
(1) NAS-IP-Address = 10.10.243.69
(1) NAS-Port = 0
(1) NAS-Identifier = "10.10.243.69"
(1) NAS-Port-Type = Wireless-802.11
(1) Calling-Station-Id = "7e8623ae0401"
(1) Called-Station-Id = "a8bd27c5752c"
(1) Service-Type = Login-User
(1) Framed-MTU = 1100
(1) EAP-Message =
0x020200891901160301007e0100007a030329622b9a892a27bb05701168ab1d2403bd515343d080acc995606e487db0f88200001ec02bc02fc02cc030cca9cca8c009c013c00ac014009c009d002f0035000a0100003300170000ff01000100000a00080006001d00170018000b00020100000d00140012040308040401050308050501080606010201
(1) State =
0x414e774172514144414b7072536b3043506e3153544e346c34634a3075543153706a795657673d3d
(1) Aruba-Essid-Name = "bidb-test"
(1) Aruba-Location-Id = "REKTORLUK_KAT1R_MEHMETRASIMODA"
(1) Aruba-AP-Group = "Rektörlük"
(1) Message-Authenticator = 0x0897461dae4fdc947b7d149232280fca
(1) Restoring &session-state
(1) &session-state:Calling-Station-Id := "7e8623ae0401"
(1) &session-state:Called-Station-Id := "a8bd27c5752c"
(1) &session-state:Called-Station-SSID := "bidb-test"
(1) &session-state:ETU-Radius-Service-Name :=
"etu_service_bidb_test_eduroam"
(1) &session-state:ETU-Outer-User-Name := "test08(a)artvin.edu.tr"
(1) # Executing section authorize from file
/etc/freeradius/sites-enabled/default.etu
(1) authorize {
(1) policy filter_username {
(1) if (&User-Name) {
(1) if (&User-Name) -> TRUE
(1) if (&User-Name) {
(1) if (&User-Name =~ / /) {
(1) if (&User-Name =~ / /) -> FALSE
(1) if (&User-Name =~ /@[^@]*@/ ) {
(1) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(1) if (&User-Name =~ /\.\./ ) {
(1) if (&User-Name =~ /\.\./ ) -> FALSE
(1) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(1) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) ->
FALSE
(1) if (&User-Name =~ /\.$/) {
(1) if (&User-Name =~ /\.$/) -> FALSE
(1) if (&User-Name =~ /(a)\./) {
(1) if (&User-Name =~ /(a)\./) -> FALSE
(1) } # if (&User-Name) = notfound
(1) } # policy filter_username = notfound
(1) [preprocess] = ok
(1) policy etu_extract_ssid {
(1) if (&Called-Station-Id && (&Called-Station-Id =~
/^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))$/i))
{
(1) if (&Called-Station-Id && (&Called-Station-Id =~
/^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))$/i))
-> FALSE
(1) elsif (&Aruba-Essid-Name) {
(1) elsif (&Aruba-Essid-Name) -> TRUE
(1) elsif (&Aruba-Essid-Name) {
(1) update request {
(1) EXPAND %{Aruba-Essid-Name}
(1) --> bidb-test
(1) &Called-Station-SSID := bidb-test
(1) } # update request = noop
(1) [updated] = updated
(1) } # elsif (&Aruba-Essid-Name) = updated
(1) ... skipping elsif: Preceding "if" was taken
(1) ... skipping else: Preceding "if" was taken
(1) } # policy etu_extract_ssid = updated
(1) policy etu_policy_service_selector {
(1) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name =~
/^.+(a)erzurum\.edu\.tr$/i) ) {
(1) EXPAND %{client:shortname}
(1) --> etu_wifi_rektorluk
(1) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name =~
/^.+(a)erzurum\.edu\.tr$/i) ) -> FALSE
(1) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) {
(1) EXPAND %{client:shortname}
(1) --> etu_wifi_rektorluk
(1) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) -> TRUE
(1) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) {
(1) update request {
(1) &ETU-Radius-Service-Name := "etu_service_bidb_test_eduroam"
(1) } # update request = noop
(1) if (&Virtual-Server == "inner-tunnel.etu") {
(1) EXPAND &Virtual-Server
(1) --> default.etu
(1) if (&Virtual-Server == "inner-tunnel.etu") -> FALSE
(1) [updated] = updated
(1) } # if ( ("%{client:shortname}" == "etu_wifi_rektorluk")
&& (&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) = updated
(1) ... skipping elsif: Preceding "if" was taken
(1) ... skipping elsif: Preceding "if" was taken
(1) ... skipping elsif: Preceding "if" was taken
(1) ... skipping elsif: Preceding "if" was taken
(1) ... skipping elsif: Preceding "if" was taken
(1) ... skipping elsif: Preceding "if" was taken
(1) ... skipping elsif: Preceding "if" was taken
(1) ... skipping elsif: Preceding "if" was taken
(1) ... skipping elsif: Preceding "if" was taken
(1) ... skipping elsif: Preceding "if" was taken
(1) ... skipping elsif: Preceding "if" was taken
(1) ... skipping elsif: Preceding "if" was taken
(1) ... skipping else: Preceding "if" was taken
(1) } # policy etu_policy_service_selector = updated
(1) policy etu_session_state_populate {
(1) if (&Virtual-Server != "inner-tunnel.etu") {
(1) EXPAND &Virtual-Server
(1) --> default.etu
(1) if (&Virtual-Server != "inner-tunnel.etu") -> TRUE
(1) if (&Virtual-Server != "inner-tunnel.etu") {
(1) if (!(&session-state:Calling-Station-Id)) {
(1) if (!(&session-state:Calling-Station-Id)) -> FALSE
(1) if (!(&session-state:Called-Station-Id)) {
(1) if (!(&session-state:Called-Station-Id)) -> FALSE
(1) if (!(&session-state:Called-Station-SSID)) {
(1) if (!(&session-state:Called-Station-SSID)) -> FALSE
(1) if (!(&session-state:ETU-Radius-Service-Name)) {
(1) if (!(&session-state:ETU-Radius-Service-Name)) -> FALSE
(1) if (!(&session-state:ETU-Outer-User-Name)) {
(1) if (!(&session-state:ETU-Outer-User-Name)) -> FALSE
(1) } # if (&Virtual-Server != "inner-tunnel.etu") = updated
(1) } # policy etu_session_state_populate = updated
(1) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test" ) {
(1) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test" ) -> FALSE
(1) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test_eduroam" ) {
(1) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test_eduroam" )
-> TRUE
(1) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test_eduroam" )
{
(1) group {
(1) policy etu_proxy_to_eduroam_trrad {
(1) update control {
(1) Home-Server-Pool = "eduroam_trrrad_pool"
(1) } # update control = noop
(1) [updated] = updated
(1) } # policy etu_proxy_to_eduroam_trrad = updated
(1) } # group = updated
(1) etu_auth_modules { ... } # empty sub-section is ignored
(1) return
(1) } # if ( &ETU-Radius-Service-Name ==
"etu_service_bidb_test_eduroam" ) = updated
(1) } # authorize = updated
(1) Proxying due to Home-Server-Pool = "eduroam_trrrad_pool"
(1) Starting proxy to home server 193.140.83.100 port 1812
(1) server default.etu {
(1) }
(1) Proxying request to home server 193.140.83.100 port 1812 timeout
20.000000
(1) Sent Access-Request Id 94 from 0.0.0.0:49432 to 193.140.83.100:1812
length 398
(1) User-Name = "test08(a)artvin.edu.tr"
(1) NAS-IP-Address = 10.10.243.69
(1) NAS-Port = 0
(1) NAS-Identifier = "10.10.243.69"
(1) NAS-Port-Type = Wireless-802.11
(1) Calling-Station-Id = "7e8623ae0401"
(1) Called-Station-Id = "a8bd27c5752c"
(1) Service-Type = Login-User
(1) Framed-MTU = 1100
(1) EAP-Message =
0x020200891901160301007e0100007a030329622b9a892a27bb05701168ab1d2403bd515343d080acc995606e487db0f88200001ec02bc02fc02cc030cca9cca8c009c013c00ac014009c009d002f0035000a0100003300170000ff01000100000a00080006001d00170018000b00020100000d00140012040308040401050308050501080606010201
(1) State =
0x414e774172514144414b7072536b3043506e3153544e346c34634a3075543153706a795657673d3d
(1) Aruba-Essid-Name = "bidb-test"
(1) Aruba-Location-Id = "REKTORLUK_KAT1R_MEHMETRASIMODA"
(1) Aruba-AP-Group = "Rektörlük"
(1) Message-Authenticator = 0x0897461dae4fdc947b7d149232280fca
(1) Event-Timestamp = "Dec 24 2024 06:14:06 UTC"
(1) Proxy-State = 0x313030
Waking up in 0.3 seconds.
(1) Clearing existing &reply: attributes
(1) Received Access-Challenge Id 94 from 193.140.83.100:1812 to
10.88.0.10:49432 length 1129
(1) Message-Authenticator = 0xe4ace9bc70bfefcd54c6c6c86b7599fb
(1) EAP-Message =
0x0103040a19c100000e5a16030300540200005003034dc272c6e90197033657e046420ddbeb69528b4c2fece38b017fa43f2cb8c96520fb3e827412cd75542dd9e0d9243582b911635cc629cf28a2394a25e19e861adcc030000008000b0004030001021603030ca10b000c9d000c9a0006c7308206c3308204aba00302010202137500000003104e8caca674f11d000000000003300d06092a864886f70d01010b0500306b31123010060a0992268993f22c6401191602747231133011060a0992268993f22c640119160365647531163014060a0992268993f22c640119160661727476696e31123010060a0992268993f22c64011916026164311430120603550403130b6163754144526f6f744341301e170d3137313031313037303630325a170d3237313031313037313630325a3081bc310b3009060355040613025452310f300d0603550408130641727476696e310f300d0603550407130641727476696e31223020060355040a131941727476696e20436f72
(1) State =
0x414867413867425141437873536b3043423653384366306f5739557a6f62412f484d35696d773d3d
(1) Proxy-State = 0x313030
(1) server default.etu {
(1) # Executing section post-proxy from file
/etc/freeradius/sites-enabled/default.etu
(1) post-proxy {
(1) if ("%{proxy-reply:Packet-Type}" == "Access-Reject" ){
(1) EXPAND %{proxy-reply:Packet-Type}
(1) --> Access-Challenge
(1) if ("%{proxy-reply:Packet-Type}" == "Access-Reject" ) -> FALSE
(1) } # post-proxy = noop
(1) }
(1) session-state: Saving cached attributes
(1) Calling-Station-Id := "7e8623ae0401"
(1) Called-Station-Id := "a8bd27c5752c"
(1) Called-Station-SSID := "bidb-test"
(1) ETU-Radius-Service-Name := "etu_service_bidb_test_eduroam"
(1) ETU-Outer-User-Name := "test08(a)artvin.edu.tr"
(1) Using Post-Auth-Type Challenge
(1) # Executing group from file /etc/freeradius/sites-enabled/default.etu
(1) Challenge { ... } # empty sub-section is ignored
(1) Sent Access-Challenge Id 100 from 10.88.0.10:1812 to 10.10.243.69:50507
length 1124
(1) Message-Authenticator = 0xe4ace9bc70bfefcd54c6c6c86b7599fb
(1) EAP-Message =
0x0103040a19c100000e5a16030300540200005003034dc272c6e90197033657e046420ddbeb69528b4c2fece38b017fa43f2cb8c96520fb3e827412cd75542dd9e0d9243582b911635cc629cf28a2394a25e19e861adcc030000008000b0004030001021603030ca10b000c9d000c9a0006c7308206c3308204aba00302010202137500000003104e8caca674f11d000000000003300d06092a864886f70d01010b0500306b31123010060a0992268993f22c6401191602747231133011060a0992268993f22c640119160365647531163014060a0992268993f22c640119160661727476696e31123010060a0992268993f22c64011916026164311430120603550403130b6163754144526f6f744341301e170d3137313031313037303630325a170d3237313031313037313630325a3081bc310b3009060355040613025452310f300d0603550408130641727476696e310f300d0603550407130641727476696e31223020060355040a131941727476696e20436f72
(1) State =
0x414867413867425141437873536b3043423653384366306f5739557a6f62412f484d35696d773d3d
(1) Finished request
Waking up in 4.9 seconds.
(2) Received Access-Request Id 110 from 10.10.243.69:50507 to
10.88.0.10:1812 length 256
(2) User-Name = "test08(a)artvin.edu.tr"
(2) NAS-IP-Address = 10.10.243.69
(2) NAS-Port = 0
(2) NAS-Identifier = "10.10.243.69"
(2) NAS-Port-Type = Wireless-802.11
(2) Calling-Station-Id = "7e8623ae0401"
(2) Called-Station-Id = "a8bd27c5752c"
(2) Service-Type = Login-User
(2) Framed-MTU = 1100
(2) EAP-Message = 0x020300061901
(2) State =
0x414867413867425141437873536b3043423653384366306f5739557a6f62412f484d35696d773d3d
(2) Aruba-Essid-Name = "bidb-test"
(2) Aruba-Location-Id = "REKTORLUK_KAT1R_MEHMETRASIMODA"
(2) Aruba-AP-Group = "Rektörlük"
(2) Message-Authenticator = 0x4fd35950ae854c104be9ab8eb17e5287
(2) Restoring &session-state
(2) &session-state:Calling-Station-Id := "7e8623ae0401"
(2) &session-state:Called-Station-Id := "a8bd27c5752c"
(2) &session-state:Called-Station-SSID := "bidb-test"
(2) &session-state:ETU-Radius-Service-Name :=
"etu_service_bidb_test_eduroam"
(2) &session-state:ETU-Outer-User-Name := "test08(a)artvin.edu.tr"
(2) # Executing section authorize from file
/etc/freeradius/sites-enabled/default.etu
(2) authorize {
(2) policy filter_username {
(2) if (&User-Name) {
(2) if (&User-Name) -> TRUE
(2) if (&User-Name) {
(2) if (&User-Name =~ / /) {
(2) if (&User-Name =~ / /) -> FALSE
(2) if (&User-Name =~ /@[^@]*@/ ) {
(2) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(2) if (&User-Name =~ /\.\./ ) {
(2) if (&User-Name =~ /\.\./ ) -> FALSE
(2) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(2) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) ->
FALSE
(2) if (&User-Name =~ /\.$/) {
(2) if (&User-Name =~ /\.$/) -> FALSE
(2) if (&User-Name =~ /(a)\./) {
(2) if (&User-Name =~ /(a)\./) -> FALSE
(2) } # if (&User-Name) = notfound
(2) } # policy filter_username = notfound
(2) [preprocess] = ok
(2) policy etu_extract_ssid {
(2) if (&Called-Station-Id && (&Called-Station-Id =~
/^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))$/i))
{
(2) if (&Called-Station-Id && (&Called-Station-Id =~
/^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))$/i))
-> FALSE
(2) elsif (&Aruba-Essid-Name) {
(2) elsif (&Aruba-Essid-Name) -> TRUE
(2) elsif (&Aruba-Essid-Name) {
(2) update request {
(2) EXPAND %{Aruba-Essid-Name}
(2) --> bidb-test
(2) &Called-Station-SSID := bidb-test
(2) } # update request = noop
(2) [updated] = updated
(2) } # elsif (&Aruba-Essid-Name) = updated
(2) ... skipping elsif: Preceding "if" was taken
(2) ... skipping else: Preceding "if" was taken
(2) } # policy etu_extract_ssid = updated
(2) policy etu_policy_service_selector {
(2) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name =~
/^.+(a)erzurum\.edu\.tr$/i) ) {
(2) EXPAND %{client:shortname}
(2) --> etu_wifi_rektorluk
(2) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name =~
/^.+(a)erzurum\.edu\.tr$/i) ) -> FALSE
(2) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) {
(2) EXPAND %{client:shortname}
(2) --> etu_wifi_rektorluk
(2) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) -> TRUE
(2) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) {
(2) update request {
(2) &ETU-Radius-Service-Name := "etu_service_bidb_test_eduroam"
(2) } # update request = noop
(2) if (&Virtual-Server == "inner-tunnel.etu") {
(2) EXPAND &Virtual-Server
(2) --> default.etu
(2) if (&Virtual-Server == "inner-tunnel.etu") -> FALSE
(2) [updated] = updated
(2) } # if ( ("%{client:shortname}" == "etu_wifi_rektorluk")
&& (&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) = updated
(2) ... skipping elsif: Preceding "if" was taken
(2) ... skipping elsif: Preceding "if" was taken
(2) ... skipping elsif: Preceding "if" was taken
(2) ... skipping elsif: Preceding "if" was taken
(2) ... skipping elsif: Preceding "if" was taken
(2) ... skipping elsif: Preceding "if" was taken
(2) ... skipping elsif: Preceding "if" was taken
(2) ... skipping elsif: Preceding "if" was taken
(2) ... skipping elsif: Preceding "if" was taken
(2) ... skipping elsif: Preceding "if" was taken
(2) ... skipping elsif: Preceding "if" was taken
(2) ... skipping elsif: Preceding "if" was taken
(2) ... skipping else: Preceding "if" was taken
(2) } # policy etu_policy_service_selector = updated
(2) policy etu_session_state_populate {
(2) if (&Virtual-Server != "inner-tunnel.etu") {
(2) EXPAND &Virtual-Server
(2) --> default.etu
(2) if (&Virtual-Server != "inner-tunnel.etu") -> TRUE
(2) if (&Virtual-Server != "inner-tunnel.etu") {
(2) if (!(&session-state:Calling-Station-Id)) {
(2) if (!(&session-state:Calling-Station-Id)) -> FALSE
(2) if (!(&session-state:Called-Station-Id)) {
(2) if (!(&session-state:Called-Station-Id)) -> FALSE
(2) if (!(&session-state:Called-Station-SSID)) {
(2) if (!(&session-state:Called-Station-SSID)) -> FALSE
(2) if (!(&session-state:ETU-Radius-Service-Name)) {
(2) if (!(&session-state:ETU-Radius-Service-Name)) -> FALSE
(2) if (!(&session-state:ETU-Outer-User-Name)) {
(2) if (!(&session-state:ETU-Outer-User-Name)) -> FALSE
(2) } # if (&Virtual-Server != "inner-tunnel.etu") = updated
(2) } # policy etu_session_state_populate = updated
(2) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test" ) {
(2) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test" ) -> FALSE
(2) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test_eduroam" ) {
(2) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test_eduroam" )
-> TRUE
(2) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test_eduroam" )
{
(2) group {
(2) policy etu_proxy_to_eduroam_trrad {
(2) update control {
(2) Home-Server-Pool = "eduroam_trrrad_pool"
(2) } # update control = noop
(2) [updated] = updated
(2) } # policy etu_proxy_to_eduroam_trrad = updated
(2) } # group = updated
(2) etu_auth_modules { ... } # empty sub-section is ignored
(2) return
(2) } # if ( &ETU-Radius-Service-Name ==
"etu_service_bidb_test_eduroam" ) = updated
(2) } # authorize = updated
(2) Proxying due to Home-Server-Pool = "eduroam_trrrad_pool"
(2) Starting proxy to home server 193.140.83.100 port 1812
(2) server default.etu {
(2) }
(2) Proxying request to home server 193.140.83.100 port 1812 timeout
20.000000
(2) Sent Access-Request Id 209 from 0.0.0.0:49432 to 193.140.83.100:1812
length 267
(2) User-Name = "test08(a)artvin.edu.tr"
(2) NAS-IP-Address = 10.10.243.69
(2) NAS-Port = 0
(2) NAS-Identifier = "10.10.243.69"
(2) NAS-Port-Type = Wireless-802.11
(2) Calling-Station-Id = "7e8623ae0401"
(2) Called-Station-Id = "a8bd27c5752c"
(2) Service-Type = Login-User
(2) Framed-MTU = 1100
(2) EAP-Message = 0x020300061901
(2) State =
0x414867413867425141437873536b3043423653384366306f5739557a6f62412f484d35696d773d3d
(2) Aruba-Essid-Name = "bidb-test"
(2) Aruba-Location-Id = "REKTORLUK_KAT1R_MEHMETRASIMODA"
(2) Aruba-AP-Group = "Rektörlük"
(2) Message-Authenticator = 0x4fd35950ae854c104be9ab8eb17e5287
(2) Event-Timestamp = "Dec 24 2024 06:14:06 UTC"
(2) Proxy-State = 0x313130
Waking up in 0.3 seconds.
(2) Clearing existing &reply: attributes
(2) Received Access-Challenge Id 209 from 193.140.83.100:1812 to
10.88.0.10:49432 length 1125
(2) Message-Authenticator = 0x02c3c8ac71afafc1e8b4cc4723fab5c6
(2) EAP-Message =
0x010404061941696f6e4c6973743f626173653f6f626a656374436c6173733d63524c446973747269627574696f6e506f696e743081c806082b060105050701010481bb3081b83081b506082b060105050730028681a86c6461703a2f2f2f434e3d6163754144526f6f7443412c434e3d4149412c434e3d5075626c69632532304b657925323053657276696365732c434e3d53657276696365732c434e3d436f6e66696775726174696f6e2c44433d61642c44433d61727476696e2c44433d6564752c44433d74723f634143657274696669636174653f626173653f6f626a656374436c6173733d63657274696669636174696f6e417574686f72697479300c0603551d130101ff0402300030130603551d25040c300a06082b06010505070301300d06092a864886f70d01010b050003820201002497742a9faca4a2fe689bc265e37f3adeda2e66ed32491a99e85026a879d10e97513940d36f4eafd397fb0d95ad458757e2ca94f4dee5ecaffb8d20e882829ed7be
(2) State =
0x414a59416967417741454a74536b304371624c2f3455615536684c395345356b5953344370513d3d
(2) Proxy-State = 0x313130
(2) server default.etu {
(2) # Executing section post-proxy from file
/etc/freeradius/sites-enabled/default.etu
(2) post-proxy {
(2) if ("%{proxy-reply:Packet-Type}" == "Access-Reject" ){
(2) EXPAND %{proxy-reply:Packet-Type}
(2) --> Access-Challenge
(2) if ("%{proxy-reply:Packet-Type}" == "Access-Reject" ) -> FALSE
(2) } # post-proxy = noop
(2) }
(2) session-state: Saving cached attributes
(2) Calling-Station-Id := "7e8623ae0401"
(2) Called-Station-Id := "a8bd27c5752c"
(2) Called-Station-SSID := "bidb-test"
(2) ETU-Radius-Service-Name := "etu_service_bidb_test_eduroam"
(2) ETU-Outer-User-Name := "test08(a)artvin.edu.tr"
(2) Using Post-Auth-Type Challenge
(2) # Executing group from file /etc/freeradius/sites-enabled/default.etu
(2) Challenge { ... } # empty sub-section is ignored
(2) Sent Access-Challenge Id 110 from 10.88.0.10:1812 to 10.10.243.69:50507
length 1120
(2) Message-Authenticator = 0x02c3c8ac71afafc1e8b4cc4723fab5c6
(2) EAP-Message =
0x010404061941696f6e4c6973743f626173653f6f626a656374436c6173733d63524c446973747269627574696f6e506f696e743081c806082b060105050701010481bb3081b83081b506082b060105050730028681a86c6461703a2f2f2f434e3d6163754144526f6f7443412c434e3d4149412c434e3d5075626c69632532304b657925323053657276696365732c434e3d53657276696365732c434e3d436f6e66696775726174696f6e2c44433d61642c44433d61727476696e2c44433d6564752c44433d74723f634143657274696669636174653f626173653f6f626a656374436c6173733d63657274696669636174696f6e417574686f72697479300c0603551d130101ff0402300030130603551d25040c300a06082b06010505070301300d06092a864886f70d01010b050003820201002497742a9faca4a2fe689bc265e37f3adeda2e66ed32491a99e85026a879d10e97513940d36f4eafd397fb0d95ad458757e2ca94f4dee5ecaffb8d20e882829ed7be
(2) State =
0x414a59416967417741454a74536b304371624c2f3455615536684c395345356b5953344370513d3d
(2) Finished request
Waking up in 4.8 seconds.
(3) Received Access-Request Id 112 from 10.10.243.69:50507 to
10.88.0.10:1812 length 256
(3) User-Name = "test08(a)artvin.edu.tr"
(3) NAS-IP-Address = 10.10.243.69
(3) NAS-Port = 0
(3) NAS-Identifier = "10.10.243.69"
(3) NAS-Port-Type = Wireless-802.11
(3) Calling-Station-Id = "7e8623ae0401"
(3) Called-Station-Id = "a8bd27c5752c"
(3) Service-Type = Login-User
(3) Framed-MTU = 1100
(3) EAP-Message = 0x020400061901
(3) State =
0x414a59416967417741454a74536b304371624c2f3455615536684c395345356b5953344370513d3d
(3) Aruba-Essid-Name = "bidb-test"
(3) Aruba-Location-Id = "REKTORLUK_KAT1R_MEHMETRASIMODA"
(3) Aruba-AP-Group = "Rektörlük"
(3) Message-Authenticator = 0xc08719c46cf552296574e1603c4cab4e
(3) Restoring &session-state
(3) &session-state:Calling-Station-Id := "7e8623ae0401"
(3) &session-state:Called-Station-Id := "a8bd27c5752c"
(3) &session-state:Called-Station-SSID := "bidb-test"
(3) &session-state:ETU-Radius-Service-Name :=
"etu_service_bidb_test_eduroam"
(3) &session-state:ETU-Outer-User-Name := "test08(a)artvin.edu.tr"
(3) # Executing section authorize from file
/etc/freeradius/sites-enabled/default.etu
(3) authorize {
(3) policy filter_username {
(3) if (&User-Name) {
(3) if (&User-Name) -> TRUE
(3) if (&User-Name) {
(3) if (&User-Name =~ / /) {
(3) if (&User-Name =~ / /) -> FALSE
(3) if (&User-Name =~ /@[^@]*@/ ) {
(3) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(3) if (&User-Name =~ /\.\./ ) {
(3) if (&User-Name =~ /\.\./ ) -> FALSE
(3) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(3) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) ->
FALSE
(3) if (&User-Name =~ /\.$/) {
(3) if (&User-Name =~ /\.$/) -> FALSE
(3) if (&User-Name =~ /(a)\./) {
(3) if (&User-Name =~ /(a)\./) -> FALSE
(3) } # if (&User-Name) = notfound
(3) } # policy filter_username = notfound
(3) [preprocess] = ok
(3) policy etu_extract_ssid {
(3) if (&Called-Station-Id && (&Called-Station-Id =~
/^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))$/i))
{
(3) if (&Called-Station-Id && (&Called-Station-Id =~
/^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))$/i))
-> FALSE
(3) elsif (&Aruba-Essid-Name) {
(3) elsif (&Aruba-Essid-Name) -> TRUE
(3) elsif (&Aruba-Essid-Name) {
(3) update request {
(3) EXPAND %{Aruba-Essid-Name}
(3) --> bidb-test
(3) &Called-Station-SSID := bidb-test
(3) } # update request = noop
(3) [updated] = updated
(3) } # elsif (&Aruba-Essid-Name) = updated
(3) ... skipping elsif: Preceding "if" was taken
(3) ... skipping else: Preceding "if" was taken
(3) } # policy etu_extract_ssid = updated
(3) policy etu_policy_service_selector {
(3) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name =~
/^.+(a)erzurum\.edu\.tr$/i) ) {
(3) EXPAND %{client:shortname}
(3) --> etu_wifi_rektorluk
(3) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name =~
/^.+(a)erzurum\.edu\.tr$/i) ) -> FALSE
(3) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) {
(3) EXPAND %{client:shortname}
(3) --> etu_wifi_rektorluk
(3) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) -> TRUE
(3) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) {
(3) update request {
(3) &ETU-Radius-Service-Name := "etu_service_bidb_test_eduroam"
(3) } # update request = noop
(3) if (&Virtual-Server == "inner-tunnel.etu") {
(3) EXPAND &Virtual-Server
(3) --> default.etu
(3) if (&Virtual-Server == "inner-tunnel.etu") -> FALSE
(3) [updated] = updated
(3) } # if ( ("%{client:shortname}" == "etu_wifi_rektorluk")
&& (&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) = updated
(3) ... skipping elsif: Preceding "if" was taken
(3) ... skipping elsif: Preceding "if" was taken
(3) ... skipping elsif: Preceding "if" was taken
(3) ... skipping elsif: Preceding "if" was taken
(3) ... skipping elsif: Preceding "if" was taken
(3) ... skipping elsif: Preceding "if" was taken
(3) ... skipping elsif: Preceding "if" was taken
(3) ... skipping elsif: Preceding "if" was taken
(3) ... skipping elsif: Preceding "if" was taken
(3) ... skipping elsif: Preceding "if" was taken
(3) ... skipping elsif: Preceding "if" was taken
(3) ... skipping elsif: Preceding "if" was taken
(3) ... skipping else: Preceding "if" was taken
(3) } # policy etu_policy_service_selector = updated
(3) policy etu_session_state_populate {
(3) if (&Virtual-Server != "inner-tunnel.etu") {
(3) EXPAND &Virtual-Server
(3) --> default.etu
(3) if (&Virtual-Server != "inner-tunnel.etu") -> TRUE
(3) if (&Virtual-Server != "inner-tunnel.etu") {
(3) if (!(&session-state:Calling-Station-Id)) {
(3) if (!(&session-state:Calling-Station-Id)) -> FALSE
(3) if (!(&session-state:Called-Station-Id)) {
(3) if (!(&session-state:Called-Station-Id)) -> FALSE
(3) if (!(&session-state:Called-Station-SSID)) {
(3) if (!(&session-state:Called-Station-SSID)) -> FALSE
(3) if (!(&session-state:ETU-Radius-Service-Name)) {
(3) if (!(&session-state:ETU-Radius-Service-Name)) -> FALSE
(3) if (!(&session-state:ETU-Outer-User-Name)) {
(3) if (!(&session-state:ETU-Outer-User-Name)) -> FALSE
(3) } # if (&Virtual-Server != "inner-tunnel.etu") = updated
(3) } # policy etu_session_state_populate = updated
(3) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test" ) {
(3) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test" ) -> FALSE
(3) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test_eduroam" ) {
(3) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test_eduroam" )
-> TRUE
(3) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test_eduroam" )
{
(3) group {
(3) policy etu_proxy_to_eduroam_trrad {
(3) update control {
(3) Home-Server-Pool = "eduroam_trrrad_pool"
(3) } # update control = noop
(3) [updated] = updated
(3) } # policy etu_proxy_to_eduroam_trrad = updated
(3) } # group = updated
(3) etu_auth_modules { ... } # empty sub-section is ignored
(3) return
(3) } # if ( &ETU-Radius-Service-Name ==
"etu_service_bidb_test_eduroam" ) = updated
(3) } # authorize = updated
(3) Proxying due to Home-Server-Pool = "eduroam_trrrad_pool"
(3) Starting proxy to home server 193.140.83.100 port 1812
(3) server default.etu {
(3) }
(3) Proxying request to home server 193.140.83.100 port 1812 timeout
20.000000
(3) Sent Access-Request Id 27 from 0.0.0.0:49432 to 193.140.83.100:1812
length 267
(3) User-Name = "test08(a)artvin.edu.tr"
(3) NAS-IP-Address = 10.10.243.69
(3) NAS-Port = 0
(3) NAS-Identifier = "10.10.243.69"
(3) NAS-Port-Type = Wireless-802.11
(3) Calling-Station-Id = "7e8623ae0401"
(3) Called-Station-Id = "a8bd27c5752c"
(3) Service-Type = Login-User
(3) Framed-MTU = 1100
(3) EAP-Message = 0x020400061901
(3) State =
0x414a59416967417741454a74536b304371624c2f3455615536684c395345356b5953344370513d3d
(3) Aruba-Essid-Name = "bidb-test"
(3) Aruba-Location-Id = "REKTORLUK_KAT1R_MEHMETRASIMODA"
(3) Aruba-AP-Group = "Rektörlük"
(3) Message-Authenticator = 0xc08719c46cf552296574e1603c4cab4e
(3) Event-Timestamp = "Dec 24 2024 06:14:06 UTC"
(3) Proxy-State = 0x313132
Waking up in 0.3 seconds.
(3) Clearing existing &reply: attributes
(3) Received Access-Challenge Id 27 from 193.140.83.100:1812 to
10.88.0.10:49432 length 1125
(3) Message-Authenticator = 0x4e8e6e7e2094ac20cd23e893c35983dd
(3) EAP-Message =
0x01050406194102747231133011060a0992268993f22c640119160365647531163014060a0992268993f22c640119160661727476696e31123010060a0992268993f22c64011916026164311430120603550403130b6163754144526f6f74434130820222300d06092a864886f70d01010105000382020f003082020a028202010099f0addf573c39633b5eb931112970675f658b57fc80a063f8b9c25946af5f46b38d45b39fc748445e14a71e39a9bf37dbc9a7809cbacd31cbbeeec695a778df60852ec97147b7a9834e4aa6919c671604eb74e62b0d7b472743c855c49958edfef0917135b482f2928a7bb32f3705056b1cd3a7e001ea60502e1c5df78adb3c4ac56494bf4b53ade9a4a30f162cd031a7633c9ae5efb54b3193f7a28bb03f44604120f4eddf0a82e0dfcaf8b92bd76ac89226e9f37c2aab5779330e70e09da117b6affaca6683fbd14f069148d6b9479442ab942cf6f34a7d33f7ad55101841fe9d584c11b46af461efb66bb025a5f284f06c75de43
(3) State =
0x414a59416f41426d414e4a75536b30434f4d3376384d417a74456e2f30756f6e76574c7a66413d3d
(3) Proxy-State = 0x313132
(3) server default.etu {
(3) # Executing section post-proxy from file
/etc/freeradius/sites-enabled/default.etu
(3) post-proxy {
(3) if ("%{proxy-reply:Packet-Type}" == "Access-Reject" ){
(3) EXPAND %{proxy-reply:Packet-Type}
(3) --> Access-Challenge
(3) if ("%{proxy-reply:Packet-Type}" == "Access-Reject" ) -> FALSE
(3) } # post-proxy = noop
(3) }
(3) session-state: Saving cached attributes
(3) Calling-Station-Id := "7e8623ae0401"
(3) Called-Station-Id := "a8bd27c5752c"
(3) Called-Station-SSID := "bidb-test"
(3) ETU-Radius-Service-Name := "etu_service_bidb_test_eduroam"
(3) ETU-Outer-User-Name := "test08(a)artvin.edu.tr"
(3) Using Post-Auth-Type Challenge
(3) # Executing group from file /etc/freeradius/sites-enabled/default.etu
(3) Challenge { ... } # empty sub-section is ignored
(3) Sent Access-Challenge Id 112 from 10.88.0.10:1812 to 10.10.243.69:50507
length 1120
(3) Message-Authenticator = 0x4e8e6e7e2094ac20cd23e893c35983dd
(3) EAP-Message =
0x01050406194102747231133011060a0992268993f22c640119160365647531163014060a0992268993f22c640119160661727476696e31123010060a0992268993f22c64011916026164311430120603550403130b6163754144526f6f74434130820222300d06092a864886f70d01010105000382020f003082020a028202010099f0addf573c39633b5eb931112970675f658b57fc80a063f8b9c25946af5f46b38d45b39fc748445e14a71e39a9bf37dbc9a7809cbacd31cbbeeec695a778df60852ec97147b7a9834e4aa6919c671604eb74e62b0d7b472743c855c49958edfef0917135b482f2928a7bb32f3705056b1cd3a7e001ea60502e1c5df78adb3c4ac56494bf4b53ade9a4a30f162cd031a7633c9ae5efb54b3193f7a28bb03f44604120f4eddf0a82e0dfcaf8b92bd76ac89226e9f37c2aab5779330e70e09da117b6affaca6683fbd14f069148d6b9479442ab942cf6f34a7d33f7ad55101841fe9d584c11b46af461efb66bb025a5f284f06c75de43
(3) State =
0x414a59416f41426d414e4a75536b30434f4d3376384d417a74456e2f30756f6e76574c7a66413d3d
(3) Finished request
Waking up in 4.8 seconds.
(4) Received Access-Request Id 117 from 10.10.243.69:50507 to
10.88.0.10:1812 length 256
(4) User-Name = "test08(a)artvin.edu.tr"
(4) NAS-IP-Address = 10.10.243.69
(4) NAS-Port = 0
(4) NAS-Identifier = "10.10.243.69"
(4) NAS-Port-Type = Wireless-802.11
(4) Calling-Station-Id = "7e8623ae0401"
(4) Called-Station-Id = "a8bd27c5752c"
(4) Service-Type = Login-User
(4) Framed-MTU = 1100
(4) EAP-Message = 0x020500061901
(4) State =
0x414a59416f41426d414e4a75536b30434f4d3376384d417a74456e2f30756f6e76574c7a66413d3d
(4) Aruba-Essid-Name = "bidb-test"
(4) Aruba-Location-Id = "REKTORLUK_KAT1R_MEHMETRASIMODA"
(4) Aruba-AP-Group = "Rektörlük"
(4) Message-Authenticator = 0x55b615610933ad424a669c0591d03c35
(4) Restoring &session-state
(4) &session-state:Calling-Station-Id := "7e8623ae0401"
(4) &session-state:Called-Station-Id := "a8bd27c5752c"
(4) &session-state:Called-Station-SSID := "bidb-test"
(4) &session-state:ETU-Radius-Service-Name :=
"etu_service_bidb_test_eduroam"
(4) &session-state:ETU-Outer-User-Name := "test08(a)artvin.edu.tr"
(4) # Executing section authorize from file
/etc/freeradius/sites-enabled/default.etu
(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) policy etu_extract_ssid {
(4) if (&Called-Station-Id && (&Called-Station-Id =~
/^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))$/i))
{
(4) if (&Called-Station-Id && (&Called-Station-Id =~
/^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))$/i))
-> FALSE
(4) elsif (&Aruba-Essid-Name) {
(4) elsif (&Aruba-Essid-Name) -> TRUE
(4) elsif (&Aruba-Essid-Name) {
(4) update request {
(4) EXPAND %{Aruba-Essid-Name}
(4) --> bidb-test
(4) &Called-Station-SSID := bidb-test
(4) } # update request = noop
(4) [updated] = updated
(4) } # elsif (&Aruba-Essid-Name) = updated
(4) ... skipping elsif: Preceding "if" was taken
(4) ... skipping else: Preceding "if" was taken
(4) } # policy etu_extract_ssid = updated
(4) policy etu_policy_service_selector {
(4) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name =~
/^.+(a)erzurum\.edu\.tr$/i) ) {
(4) EXPAND %{client:shortname}
(4) --> etu_wifi_rektorluk
(4) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name =~
/^.+(a)erzurum\.edu\.tr$/i) ) -> FALSE
(4) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) {
(4) EXPAND %{client:shortname}
(4) --> etu_wifi_rektorluk
(4) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) -> TRUE
(4) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) {
(4) update request {
(4) &ETU-Radius-Service-Name := "etu_service_bidb_test_eduroam"
(4) } # update request = noop
(4) if (&Virtual-Server == "inner-tunnel.etu") {
(4) EXPAND &Virtual-Server
(4) --> default.etu
(4) if (&Virtual-Server == "inner-tunnel.etu") -> FALSE
(4) [updated] = updated
(4) } # if ( ("%{client:shortname}" == "etu_wifi_rektorluk")
&& (&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) = updated
(4) ... skipping elsif: Preceding "if" was taken
(4) ... skipping elsif: Preceding "if" was taken
(4) ... skipping elsif: Preceding "if" was taken
(4) ... skipping elsif: Preceding "if" was taken
(4) ... skipping elsif: Preceding "if" was taken
(4) ... skipping elsif: Preceding "if" was taken
(4) ... skipping elsif: Preceding "if" was taken
(4) ... skipping elsif: Preceding "if" was taken
(4) ... skipping elsif: Preceding "if" was taken
(4) ... skipping elsif: Preceding "if" was taken
(4) ... skipping elsif: Preceding "if" was taken
(4) ... skipping elsif: Preceding "if" was taken
(4) ... skipping else: Preceding "if" was taken
(4) } # policy etu_policy_service_selector = updated
(4) policy etu_session_state_populate {
(4) if (&Virtual-Server != "inner-tunnel.etu") {
(4) EXPAND &Virtual-Server
(4) --> default.etu
(4) if (&Virtual-Server != "inner-tunnel.etu") -> TRUE
(4) if (&Virtual-Server != "inner-tunnel.etu") {
(4) if (!(&session-state:Calling-Station-Id)) {
(4) if (!(&session-state:Calling-Station-Id)) -> FALSE
(4) if (!(&session-state:Called-Station-Id)) {
(4) if (!(&session-state:Called-Station-Id)) -> FALSE
(4) if (!(&session-state:Called-Station-SSID)) {
(4) if (!(&session-state:Called-Station-SSID)) -> FALSE
(4) if (!(&session-state:ETU-Radius-Service-Name)) {
(4) if (!(&session-state:ETU-Radius-Service-Name)) -> FALSE
(4) if (!(&session-state:ETU-Outer-User-Name)) {
(4) if (!(&session-state:ETU-Outer-User-Name)) -> FALSE
(4) } # if (&Virtual-Server != "inner-tunnel.etu") = updated
(4) } # policy etu_session_state_populate = updated
(4) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test" ) {
(4) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test" ) -> FALSE
(4) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test_eduroam" ) {
(4) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test_eduroam" )
-> TRUE
(4) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test_eduroam" )
{
(4) group {
(4) policy etu_proxy_to_eduroam_trrad {
(4) update control {
(4) Home-Server-Pool = "eduroam_trrrad_pool"
(4) } # update control = noop
(4) [updated] = updated
(4) } # policy etu_proxy_to_eduroam_trrad = updated
(4) } # group = updated
(4) etu_auth_modules { ... } # empty sub-section is ignored
(4) return
(4) } # if ( &ETU-Radius-Service-Name ==
"etu_service_bidb_test_eduroam" ) = updated
(4) } # authorize = updated
(4) Proxying due to Home-Server-Pool = "eduroam_trrrad_pool"
(4) Starting proxy to home server 193.140.83.100 port 1812
(4) server default.etu {
(4) }
(4) Proxying request to home server 193.140.83.100 port 1812 timeout
20.000000
(4) Sent Access-Request Id 75 from 0.0.0.0:49432 to 193.140.83.100:1812
length 267
(4) User-Name = "test08(a)artvin.edu.tr"
(4) NAS-IP-Address = 10.10.243.69
(4) NAS-Port = 0
(4) NAS-Identifier = "10.10.243.69"
(4) NAS-Port-Type = Wireless-802.11
(4) Calling-Station-Id = "7e8623ae0401"
(4) Called-Station-Id = "a8bd27c5752c"
(4) Service-Type = Login-User
(4) Framed-MTU = 1100
(4) EAP-Message = 0x020500061901
(4) State =
0x414a59416f41426d414e4a75536b30434f4d3376384d417a74456e2f30756f6e76574c7a66413d3d
(4) Aruba-Essid-Name = "bidb-test"
(4) Aruba-Location-Id = "REKTORLUK_KAT1R_MEHMETRASIMODA"
(4) Aruba-AP-Group = "Rektörlük"
(4) Message-Authenticator = 0x55b615610933ad424a669c0591d03c35
(4) Event-Timestamp = "Dec 24 2024 06:14:06 UTC"
(4) Proxy-State = 0x313137
Waking up in 0.3 seconds.
(4) Clearing existing &reply: attributes
(4) Received Access-Challenge Id 75 from 193.140.83.100:1812 to
10.88.0.10:49432 length 699
(4) Message-Authenticator = 0x88fb5ab7dbb8242734f5286eaa6aa3a1
(4) EAP-Message =
0x010602601901205506965200034e766a6f39c94875d01ddd1094e2c0c538a3ee12fc8027d03c185d378acb6b7b89b065bde63201a41c29f91cfc20605ad42527d17fbb658793776fed289a5fa1fdb0cd6d885ff05affcc7830f1bc6ec5e8ad47f3bbe26ca6d3cf4c1512545c07f2624b75bf242421fe4a95f00e7661c5278d446b8fef734b1796ea2170113d660a6ed179d2d1828c7b98506c372941ad7401ddab9f4a35933c3c6b6b082308a2b80fa2635c1d7a4ca6a264a360b7a9ed9dfec73c4a338872245d540ca4a28e8f643a705d7dbeb137f7baca10915991d9ff582abeefa2aca85b10f422e5a3e3a8da23299fb4d0220770dbf15052bb4f823949db2f209750a8160303014d0c0001490300174104106eaf3e1c6ef74030e81596eaa653b6a86c5fb632c081b5abb4af86ea29eebbcef582be8f27c97706cfe5af2b2f6c1cdff1a8da440ac5655a6e32f0454323dc0601010087f5cbac588f425db24105f8277b656333d4150fff17547dea2ddc711743e25e
(4) State =
0x414a6b417351442b414f3576536b30434c6f677571567971763350616e61446e4b68766176673d3d
(4) Proxy-State = 0x313137
(4) server default.etu {
(4) # Executing section post-proxy from file
/etc/freeradius/sites-enabled/default.etu
(4) post-proxy {
(4) if ("%{proxy-reply:Packet-Type}" == "Access-Reject" ){
(4) EXPAND %{proxy-reply:Packet-Type}
(4) --> Access-Challenge
(4) if ("%{proxy-reply:Packet-Type}" == "Access-Reject" ) -> FALSE
(4) } # post-proxy = noop
(4) }
(4) session-state: Saving cached attributes
(4) Calling-Station-Id := "7e8623ae0401"
(4) Called-Station-Id := "a8bd27c5752c"
(4) Called-Station-SSID := "bidb-test"
(4) ETU-Radius-Service-Name := "etu_service_bidb_test_eduroam"
(4) ETU-Outer-User-Name := "test08(a)artvin.edu.tr"
(4) Using Post-Auth-Type Challenge
(4) # Executing group from file /etc/freeradius/sites-enabled/default.etu
(4) Challenge { ... } # empty sub-section is ignored
(4) Sent Access-Challenge Id 117 from 10.88.0.10:1812 to 10.10.243.69:50507
length 694
(4) Message-Authenticator = 0x88fb5ab7dbb8242734f5286eaa6aa3a1
(4) EAP-Message =
0x010602601901205506965200034e766a6f39c94875d01ddd1094e2c0c538a3ee12fc8027d03c185d378acb6b7b89b065bde63201a41c29f91cfc20605ad42527d17fbb658793776fed289a5fa1fdb0cd6d885ff05affcc7830f1bc6ec5e8ad47f3bbe26ca6d3cf4c1512545c07f2624b75bf242421fe4a95f00e7661c5278d446b8fef734b1796ea2170113d660a6ed179d2d1828c7b98506c372941ad7401ddab9f4a35933c3c6b6b082308a2b80fa2635c1d7a4ca6a264a360b7a9ed9dfec73c4a338872245d540ca4a28e8f643a705d7dbeb137f7baca10915991d9ff582abeefa2aca85b10f422e5a3e3a8da23299fb4d0220770dbf15052bb4f823949db2f209750a8160303014d0c0001490300174104106eaf3e1c6ef74030e81596eaa653b6a86c5fb632c081b5abb4af86ea29eebbcef582be8f27c97706cfe5af2b2f6c1cdff1a8da440ac5655a6e32f0454323dc0601010087f5cbac588f425db24105f8277b656333d4150fff17547dea2ddc711743e25e
(4) State =
0x414a6b417351442b414f3576536b30434c6f677571567971763350616e61446e4b68766176673d3d
(4) Finished request
Waking up in 4.7 seconds.
(5) Received Access-Request Id 118 from 10.10.243.69:50507 to
10.88.0.10:1812 length 382
(5) User-Name = "test08(a)artvin.edu.tr"
(5) NAS-IP-Address = 10.10.243.69
(5) NAS-Port = 0
(5) NAS-Identifier = "10.10.243.69"
(5) NAS-Port-Type = Wireless-802.11
(5) Calling-Station-Id = "7e8623ae0401"
(5) Called-Station-Id = "a8bd27c5752c"
(5) Service-Type = Login-User
(5) Framed-MTU = 1100
(5) EAP-Message =
0x02060084190116030300461000004241048079a7f4a60a8433cb6d2315436400d8eab4c80993e103cfe7a2ddbf574549f2d6a212fbe90ef4fc11777976cb9e66a4068aaa304a1092300dd4dd996dcb720714030300010116030300280000000000000000d4887f60ad67b5d1b91f0ea200ed18bc5c928a58b13f20b19a282796262fdba9
(5) State =
0x414a6b417351442b414f3576536b30434c6f677571567971763350616e61446e4b68766176673d3d
(5) Aruba-Essid-Name = "bidb-test"
(5) Aruba-Location-Id = "REKTORLUK_KAT1R_MEHMETRASIMODA"
(5) Aruba-AP-Group = "Rektörlük"
(5) Message-Authenticator = 0xc30601e67af6d63784abb654cf80f06b
(5) Restoring &session-state
(5) &session-state:Calling-Station-Id := "7e8623ae0401"
(5) &session-state:Called-Station-Id := "a8bd27c5752c"
(5) &session-state:Called-Station-SSID := "bidb-test"
(5) &session-state:ETU-Radius-Service-Name :=
"etu_service_bidb_test_eduroam"
(5) &session-state:ETU-Outer-User-Name := "test08(a)artvin.edu.tr"
(5) # Executing section authorize from file
/etc/freeradius/sites-enabled/default.etu
(5) authorize {
(5) policy filter_username {
(5) if (&User-Name) {
(5) if (&User-Name) -> TRUE
(5) if (&User-Name) {
(5) if (&User-Name =~ / /) {
(5) if (&User-Name =~ / /) -> FALSE
(5) if (&User-Name =~ /@[^@]*@/ ) {
(5) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(5) if (&User-Name =~ /\.\./ ) {
(5) if (&User-Name =~ /\.\./ ) -> FALSE
(5) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(5) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) ->
FALSE
(5) if (&User-Name =~ /\.$/) {
(5) if (&User-Name =~ /\.$/) -> FALSE
(5) if (&User-Name =~ /(a)\./) {
(5) if (&User-Name =~ /(a)\./) -> FALSE
(5) } # if (&User-Name) = notfound
(5) } # policy filter_username = notfound
(5) [preprocess] = ok
(5) policy etu_extract_ssid {
(5) if (&Called-Station-Id && (&Called-Station-Id =~
/^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))$/i))
{
(5) if (&Called-Station-Id && (&Called-Station-Id =~
/^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))$/i))
-> FALSE
(5) elsif (&Aruba-Essid-Name) {
(5) elsif (&Aruba-Essid-Name) -> TRUE
(5) elsif (&Aruba-Essid-Name) {
(5) update request {
(5) EXPAND %{Aruba-Essid-Name}
(5) --> bidb-test
(5) &Called-Station-SSID := bidb-test
(5) } # update request = noop
(5) [updated] = updated
(5) } # elsif (&Aruba-Essid-Name) = updated
(5) ... skipping elsif: Preceding "if" was taken
(5) ... skipping else: Preceding "if" was taken
(5) } # policy etu_extract_ssid = updated
(5) policy etu_policy_service_selector {
(5) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name =~
/^.+(a)erzurum\.edu\.tr$/i) ) {
(5) EXPAND %{client:shortname}
(5) --> etu_wifi_rektorluk
(5) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name =~
/^.+(a)erzurum\.edu\.tr$/i) ) -> FALSE
(5) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) {
(5) EXPAND %{client:shortname}
(5) --> etu_wifi_rektorluk
(5) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) -> TRUE
(5) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) {
(5) update request {
(5) &ETU-Radius-Service-Name := "etu_service_bidb_test_eduroam"
(5) } # update request = noop
(5) if (&Virtual-Server == "inner-tunnel.etu") {
(5) EXPAND &Virtual-Server
(5) --> default.etu
(5) if (&Virtual-Server == "inner-tunnel.etu") -> FALSE
(5) [updated] = updated
(5) } # if ( ("%{client:shortname}" == "etu_wifi_rektorluk")
&& (&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) = updated
(5) ... skipping elsif: Preceding "if" was taken
(5) ... skipping elsif: Preceding "if" was taken
(5) ... skipping elsif: Preceding "if" was taken
(5) ... skipping elsif: Preceding "if" was taken
(5) ... skipping elsif: Preceding "if" was taken
(5) ... skipping elsif: Preceding "if" was taken
(5) ... skipping elsif: Preceding "if" was taken
(5) ... skipping elsif: Preceding "if" was taken
(5) ... skipping elsif: Preceding "if" was taken
(5) ... skipping elsif: Preceding "if" was taken
(5) ... skipping elsif: Preceding "if" was taken
(5) ... skipping elsif: Preceding "if" was taken
(5) ... skipping else: Preceding "if" was taken
(5) } # policy etu_policy_service_selector = updated
(5) policy etu_session_state_populate {
(5) if (&Virtual-Server != "inner-tunnel.etu") {
(5) EXPAND &Virtual-Server
(5) --> default.etu
(5) if (&Virtual-Server != "inner-tunnel.etu") -> TRUE
(5) if (&Virtual-Server != "inner-tunnel.etu") {
(5) if (!(&session-state:Calling-Station-Id)) {
(5) if (!(&session-state:Calling-Station-Id)) -> FALSE
(5) if (!(&session-state:Called-Station-Id)) {
(5) if (!(&session-state:Called-Station-Id)) -> FALSE
(5) if (!(&session-state:Called-Station-SSID)) {
(5) if (!(&session-state:Called-Station-SSID)) -> FALSE
(5) if (!(&session-state:ETU-Radius-Service-Name)) {
(5) if (!(&session-state:ETU-Radius-Service-Name)) -> FALSE
(5) if (!(&session-state:ETU-Outer-User-Name)) {
(5) if (!(&session-state:ETU-Outer-User-Name)) -> FALSE
(5) } # if (&Virtual-Server != "inner-tunnel.etu") = updated
(5) } # policy etu_session_state_populate = updated
(5) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test" ) {
(5) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test" ) -> FALSE
(5) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test_eduroam" ) {
(5) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test_eduroam" )
-> TRUE
(5) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test_eduroam" )
{
(5) group {
(5) policy etu_proxy_to_eduroam_trrad {
(5) update control {
(5) Home-Server-Pool = "eduroam_trrrad_pool"
(5) } # update control = noop
(5) [updated] = updated
(5) } # policy etu_proxy_to_eduroam_trrad = updated
(5) } # group = updated
(5) etu_auth_modules { ... } # empty sub-section is ignored
(5) return
(5) } # if ( &ETU-Radius-Service-Name ==
"etu_service_bidb_test_eduroam" ) = updated
(5) } # authorize = updated
(5) Proxying due to Home-Server-Pool = "eduroam_trrrad_pool"
(5) Starting proxy to home server 193.140.83.100 port 1812
(5) server default.etu {
(5) }
(5) Proxying request to home server 193.140.83.100 port 1812 timeout
20.000000
(5) Sent Access-Request Id 186 from 0.0.0.0:49432 to 193.140.83.100:1812
length 393
(5) User-Name = "test08(a)artvin.edu.tr"
(5) NAS-IP-Address = 10.10.243.69
(5) NAS-Port = 0
(5) NAS-Identifier = "10.10.243.69"
(5) NAS-Port-Type = Wireless-802.11
(5) Calling-Station-Id = "7e8623ae0401"
(5) Called-Station-Id = "a8bd27c5752c"
(5) Service-Type = Login-User
(5) Framed-MTU = 1100
(5) EAP-Message =
0x02060084190116030300461000004241048079a7f4a60a8433cb6d2315436400d8eab4c80993e103cfe7a2ddbf574549f2d6a212fbe90ef4fc11777976cb9e66a4068aaa304a1092300dd4dd996dcb720714030300010116030300280000000000000000d4887f60ad67b5d1b91f0ea200ed18bc5c928a58b13f20b19a282796262fdba9
(5) State =
0x414a6b417351442b414f3576536b30434c6f677571567971763350616e61446e4b68766176673d3d
(5) Aruba-Essid-Name = "bidb-test"
(5) Aruba-Location-Id = "REKTORLUK_KAT1R_MEHMETRASIMODA"
(5) Aruba-AP-Group = "Rektörlük"
(5) Message-Authenticator = 0xc30601e67af6d63784abb654cf80f06b
(5) Event-Timestamp = "Dec 24 2024 06:14:06 UTC"
(5) Proxy-State = 0x313138
Waking up in 0.3 seconds.
(5) Clearing existing &reply: attributes
(5) Received Access-Challenge Id 186 from 193.140.83.100:1812 to
10.88.0.10:49432 length 148
(5) Message-Authenticator = 0xaac7c43ac3b3aa592ef027d5f2b66267
(5) EAP-Message =
0x0107003d1981000000331403030001011603030028523415c4b57440d875377c81cd5aabb426c6f531205df1b99a1b9538107ac7c67b46c3ea9e8e3365
(5) State =
0x414751416c41437641414a77536b3043523672515530756d5a706d75627746387453744a53773d3d
(5) Proxy-State = 0x313138
(5) server default.etu {
(5) # Executing section post-proxy from file
/etc/freeradius/sites-enabled/default.etu
(5) post-proxy {
(5) if ("%{proxy-reply:Packet-Type}" == "Access-Reject" ){
(5) EXPAND %{proxy-reply:Packet-Type}
(5) --> Access-Challenge
(5) if ("%{proxy-reply:Packet-Type}" == "Access-Reject" ) -> FALSE
(5) } # post-proxy = noop
(5) }
(5) session-state: Saving cached attributes
(5) Calling-Station-Id := "7e8623ae0401"
(5) Called-Station-Id := "a8bd27c5752c"
(5) Called-Station-SSID := "bidb-test"
(5) ETU-Radius-Service-Name := "etu_service_bidb_test_eduroam"
(5) ETU-Outer-User-Name := "test08(a)artvin.edu.tr"
(5) Using Post-Auth-Type Challenge
(5) # Executing group from file /etc/freeradius/sites-enabled/default.etu
(5) Challenge { ... } # empty sub-section is ignored
(5) Sent Access-Challenge Id 118 from 10.88.0.10:1812 to 10.10.243.69:50507
length 143
(5) Message-Authenticator = 0xaac7c43ac3b3aa592ef027d5f2b66267
(5) EAP-Message =
0x0107003d1981000000331403030001011603030028523415c4b57440d875377c81cd5aabb426c6f531205df1b99a1b9538107ac7c67b46c3ea9e8e3365
(5) State =
0x414751416c41437641414a77536b3043523672515530756d5a706d75627746387453744a53773d3d
(5) Finished request
Waking up in 4.7 seconds.
(6) Received Access-Request Id 119 from 10.10.243.69:50507 to
10.88.0.10:1812 length 256
(6) User-Name = "test08(a)artvin.edu.tr"
(6) NAS-IP-Address = 10.10.243.69
(6) NAS-Port = 0
(6) NAS-Identifier = "10.10.243.69"
(6) NAS-Port-Type = Wireless-802.11
(6) Calling-Station-Id = "7e8623ae0401"
(6) Called-Station-Id = "a8bd27c5752c"
(6) Service-Type = Login-User
(6) Framed-MTU = 1100
(6) EAP-Message = 0x020700061901
(6) State =
0x414751416c41437641414a77536b3043523672515530756d5a706d75627746387453744a53773d3d
(6) Aruba-Essid-Name = "bidb-test"
(6) Aruba-Location-Id = "REKTORLUK_KAT1R_MEHMETRASIMODA"
(6) Aruba-AP-Group = "Rektörlük"
(6) Message-Authenticator = 0xc6a2458f05043e36649bcd9d50b0e010
(6) Restoring &session-state
(6) &session-state:Calling-Station-Id := "7e8623ae0401"
(6) &session-state:Called-Station-Id := "a8bd27c5752c"
(6) &session-state:Called-Station-SSID := "bidb-test"
(6) &session-state:ETU-Radius-Service-Name :=
"etu_service_bidb_test_eduroam"
(6) &session-state:ETU-Outer-User-Name := "test08(a)artvin.edu.tr"
(6) # Executing section authorize from file
/etc/freeradius/sites-enabled/default.etu
(6) authorize {
(6) policy filter_username {
(6) if (&User-Name) {
(6) if (&User-Name) -> TRUE
(6) if (&User-Name) {
(6) if (&User-Name =~ / /) {
(6) if (&User-Name =~ / /) -> FALSE
(6) if (&User-Name =~ /@[^@]*@/ ) {
(6) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(6) if (&User-Name =~ /\.\./ ) {
(6) if (&User-Name =~ /\.\./ ) -> FALSE
(6) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(6) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) ->
FALSE
(6) if (&User-Name =~ /\.$/) {
(6) if (&User-Name =~ /\.$/) -> FALSE
(6) if (&User-Name =~ /(a)\./) {
(6) if (&User-Name =~ /(a)\./) -> FALSE
(6) } # if (&User-Name) = notfound
(6) } # policy filter_username = notfound
(6) [preprocess] = ok
(6) policy etu_extract_ssid {
(6) if (&Called-Station-Id && (&Called-Station-Id =~
/^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))$/i))
{
(6) if (&Called-Station-Id && (&Called-Station-Id =~
/^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))$/i))
-> FALSE
(6) elsif (&Aruba-Essid-Name) {
(6) elsif (&Aruba-Essid-Name) -> TRUE
(6) elsif (&Aruba-Essid-Name) {
(6) update request {
(6) EXPAND %{Aruba-Essid-Name}
(6) --> bidb-test
(6) &Called-Station-SSID := bidb-test
(6) } # update request = noop
(6) [updated] = updated
(6) } # elsif (&Aruba-Essid-Name) = updated
(6) ... skipping elsif: Preceding "if" was taken
(6) ... skipping else: Preceding "if" was taken
(6) } # policy etu_extract_ssid = updated
(6) policy etu_policy_service_selector {
(6) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name =~
/^.+(a)erzurum\.edu\.tr$/i) ) {
(6) EXPAND %{client:shortname}
(6) --> etu_wifi_rektorluk
(6) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name =~
/^.+(a)erzurum\.edu\.tr$/i) ) -> FALSE
(6) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) {
(6) EXPAND %{client:shortname}
(6) --> etu_wifi_rektorluk
(6) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) -> TRUE
(6) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) {
(6) update request {
(6) &ETU-Radius-Service-Name := "etu_service_bidb_test_eduroam"
(6) } # update request = noop
(6) if (&Virtual-Server == "inner-tunnel.etu") {
(6) EXPAND &Virtual-Server
(6) --> default.etu
(6) if (&Virtual-Server == "inner-tunnel.etu") -> FALSE
(6) [updated] = updated
(6) } # if ( ("%{client:shortname}" == "etu_wifi_rektorluk")
&& (&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) = updated
(6) ... skipping elsif: Preceding "if" was taken
(6) ... skipping elsif: Preceding "if" was taken
(6) ... skipping elsif: Preceding "if" was taken
(6) ... skipping elsif: Preceding "if" was taken
(6) ... skipping elsif: Preceding "if" was taken
(6) ... skipping elsif: Preceding "if" was taken
(6) ... skipping elsif: Preceding "if" was taken
(6) ... skipping elsif: Preceding "if" was taken
(6) ... skipping elsif: Preceding "if" was taken
(6) ... skipping elsif: Preceding "if" was taken
(6) ... skipping elsif: Preceding "if" was taken
(6) ... skipping elsif: Preceding "if" was taken
(6) ... skipping else: Preceding "if" was taken
(6) } # policy etu_policy_service_selector = updated
(6) policy etu_session_state_populate {
(6) if (&Virtual-Server != "inner-tunnel.etu") {
(6) EXPAND &Virtual-Server
(6) --> default.etu
(6) if (&Virtual-Server != "inner-tunnel.etu") -> TRUE
(6) if (&Virtual-Server != "inner-tunnel.etu") {
(6) if (!(&session-state:Calling-Station-Id)) {
(6) if (!(&session-state:Calling-Station-Id)) -> FALSE
(6) if (!(&session-state:Called-Station-Id)) {
(6) if (!(&session-state:Called-Station-Id)) -> FALSE
(6) if (!(&session-state:Called-Station-SSID)) {
(6) if (!(&session-state:Called-Station-SSID)) -> FALSE
(6) if (!(&session-state:ETU-Radius-Service-Name)) {
(6) if (!(&session-state:ETU-Radius-Service-Name)) -> FALSE
(6) if (!(&session-state:ETU-Outer-User-Name)) {
(6) if (!(&session-state:ETU-Outer-User-Name)) -> FALSE
(6) } # if (&Virtual-Server != "inner-tunnel.etu") = updated
(6) } # policy etu_session_state_populate = updated
(6) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test" ) {
(6) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test" ) -> FALSE
(6) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test_eduroam" ) {
(6) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test_eduroam" )
-> TRUE
(6) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test_eduroam" )
{
(6) group {
(6) policy etu_proxy_to_eduroam_trrad {
(6) update control {
(6) Home-Server-Pool = "eduroam_trrrad_pool"
(6) } # update control = noop
(6) [updated] = updated
(6) } # policy etu_proxy_to_eduroam_trrad = updated
(6) } # group = updated
(6) etu_auth_modules { ... } # empty sub-section is ignored
(6) return
(6) } # if ( &ETU-Radius-Service-Name ==
"etu_service_bidb_test_eduroam" ) = updated
(6) } # authorize = updated
(6) Proxying due to Home-Server-Pool = "eduroam_trrrad_pool"
(6) Starting proxy to home server 193.140.83.100 port 1812
(6) server default.etu {
(6) }
(6) Proxying request to home server 193.140.83.100 port 1812 timeout
20.000000
(6) Sent Access-Request Id 184 from 0.0.0.0:49432 to 193.140.83.100:1812
length 267
(6) User-Name = "test08(a)artvin.edu.tr"
(6) NAS-IP-Address = 10.10.243.69
(6) NAS-Port = 0
(6) NAS-Identifier = "10.10.243.69"
(6) NAS-Port-Type = Wireless-802.11
(6) Calling-Station-Id = "7e8623ae0401"
(6) Called-Station-Id = "a8bd27c5752c"
(6) Service-Type = Login-User
(6) Framed-MTU = 1100
(6) EAP-Message = 0x020700061901
(6) State =
0x414751416c41437641414a77536b3043523672515530756d5a706d75627746387453744a53773d3d
(6) Aruba-Essid-Name = "bidb-test"
(6) Aruba-Location-Id = "REKTORLUK_KAT1R_MEHMETRASIMODA"
(6) Aruba-AP-Group = "Rektörlük"
(6) Message-Authenticator = 0xc6a2458f05043e36649bcd9d50b0e010
(6) Event-Timestamp = "Dec 24 2024 06:14:06 UTC"
(6) Proxy-State = 0x313139
Waking up in 0.3 seconds.
(6) Clearing existing &reply: attributes
(6) Received Access-Challenge Id 184 from 193.140.83.100:1812 to
10.88.0.10:49432 length 127
(6) Message-Authenticator = 0x78cd5ca47cf7432584122dee26601d6b
(6) EAP-Message =
0x010800281901170303001d523415c4b57440d94bd61f2a9284330698b4680f8cbac64031a647494f
(6) State =
0x414434413967434a414d4e78536b3043672b684c4f364a6d2f44704b735948506568574750513d3d
(6) Proxy-State = 0x313139
(6) server default.etu {
(6) # Executing section post-proxy from file
/etc/freeradius/sites-enabled/default.etu
(6) post-proxy {
(6) if ("%{proxy-reply:Packet-Type}" == "Access-Reject" ){
(6) EXPAND %{proxy-reply:Packet-Type}
(6) --> Access-Challenge
(6) if ("%{proxy-reply:Packet-Type}" == "Access-Reject" ) -> FALSE
(6) } # post-proxy = noop
(6) }
(6) session-state: Saving cached attributes
(6) Calling-Station-Id := "7e8623ae0401"
(6) Called-Station-Id := "a8bd27c5752c"
(6) Called-Station-SSID := "bidb-test"
(6) ETU-Radius-Service-Name := "etu_service_bidb_test_eduroam"
(6) ETU-Outer-User-Name := "test08(a)artvin.edu.tr"
(6) Using Post-Auth-Type Challenge
(6) # Executing group from file /etc/freeradius/sites-enabled/default.etu
(6) Challenge { ... } # empty sub-section is ignored
(6) Sent Access-Challenge Id 119 from 10.88.0.10:1812 to 10.10.243.69:50507
length 122
(6) Message-Authenticator = 0x78cd5ca47cf7432584122dee26601d6b
(6) EAP-Message =
0x010800281901170303001d523415c4b57440d94bd61f2a9284330698b4680f8cbac64031a647494f
(6) State =
0x414434413967434a414d4e78536b3043672b684c4f364a6d2f44704b735948506568574750513d3d
(6) Finished request
Waking up in 4.6 seconds.
(7) Received Access-Request Id 120 from 10.10.243.69:50507 to
10.88.0.10:1812 length 310
(7) User-Name = "test08(a)artvin.edu.tr"
(7) NAS-IP-Address = 10.10.243.69
(7) NAS-Port = 0
(7) NAS-Identifier = "10.10.243.69"
(7) NAS-Port-Type = Wireless-802.11
(7) Calling-Station-Id = "7e8623ae0401"
(7) Called-Station-Id = "a8bd27c5752c"
(7) Service-Type = Login-User
(7) Framed-MTU = 1100
(7) EAP-Message =
0x0208003c19011703030031000000000000000131022bcc5af23b15b2c9b2aa206c16386816b3260591e18ecb3ec6916eea86c8aee4d37f8a5beb999e
(7) State =
0x414434413967434a414d4e78536b3043672b684c4f364a6d2f44704b735948506568574750513d3d
(7) Aruba-Essid-Name = "bidb-test"
(7) Aruba-Location-Id = "REKTORLUK_KAT1R_MEHMETRASIMODA"
(7) Aruba-AP-Group = "Rektörlük"
(7) Message-Authenticator = 0x2724e90a42f763a0c9c93513355ff95f
(7) Restoring &session-state
(7) &session-state:Calling-Station-Id := "7e8623ae0401"
(7) &session-state:Called-Station-Id := "a8bd27c5752c"
(7) &session-state:Called-Station-SSID := "bidb-test"
(7) &session-state:ETU-Radius-Service-Name :=
"etu_service_bidb_test_eduroam"
(7) &session-state:ETU-Outer-User-Name := "test08(a)artvin.edu.tr"
(7) # Executing section authorize from file
/etc/freeradius/sites-enabled/default.etu
(7) authorize {
(7) policy filter_username {
(7) if (&User-Name) {
(7) if (&User-Name) -> TRUE
(7) if (&User-Name) {
(7) if (&User-Name =~ / /) {
(7) if (&User-Name =~ / /) -> FALSE
(7) if (&User-Name =~ /@[^@]*@/ ) {
(7) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(7) if (&User-Name =~ /\.\./ ) {
(7) if (&User-Name =~ /\.\./ ) -> FALSE
(7) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(7) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) ->
FALSE
(7) if (&User-Name =~ /\.$/) {
(7) if (&User-Name =~ /\.$/) -> FALSE
(7) if (&User-Name =~ /(a)\./) {
(7) if (&User-Name =~ /(a)\./) -> FALSE
(7) } # if (&User-Name) = notfound
(7) } # policy filter_username = notfound
(7) [preprocess] = ok
(7) policy etu_extract_ssid {
(7) if (&Called-Station-Id && (&Called-Station-Id =~
/^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))$/i))
{
(7) if (&Called-Station-Id && (&Called-Station-Id =~
/^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))$/i))
-> FALSE
(7) elsif (&Aruba-Essid-Name) {
(7) elsif (&Aruba-Essid-Name) -> TRUE
(7) elsif (&Aruba-Essid-Name) {
(7) update request {
(7) EXPAND %{Aruba-Essid-Name}
(7) --> bidb-test
(7) &Called-Station-SSID := bidb-test
(7) } # update request = noop
(7) [updated] = updated
(7) } # elsif (&Aruba-Essid-Name) = updated
(7) ... skipping elsif: Preceding "if" was taken
(7) ... skipping else: Preceding "if" was taken
(7) } # policy etu_extract_ssid = updated
(7) policy etu_policy_service_selector {
(7) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name =~
/^.+(a)erzurum\.edu\.tr$/i) ) {
(7) EXPAND %{client:shortname}
(7) --> etu_wifi_rektorluk
(7) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name =~
/^.+(a)erzurum\.edu\.tr$/i) ) -> FALSE
(7) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) {
(7) EXPAND %{client:shortname}
(7) --> etu_wifi_rektorluk
(7) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) -> TRUE
(7) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) {
(7) update request {
(7) &ETU-Radius-Service-Name := "etu_service_bidb_test_eduroam"
(7) } # update request = noop
(7) if (&Virtual-Server == "inner-tunnel.etu") {
(7) EXPAND &Virtual-Server
(7) --> default.etu
(7) if (&Virtual-Server == "inner-tunnel.etu") -> FALSE
(7) [updated] = updated
(7) } # if ( ("%{client:shortname}" == "etu_wifi_rektorluk")
&& (&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) = updated
(7) ... skipping elsif: Preceding "if" was taken
(7) ... skipping elsif: Preceding "if" was taken
(7) ... skipping elsif: Preceding "if" was taken
(7) ... skipping elsif: Preceding "if" was taken
(7) ... skipping elsif: Preceding "if" was taken
(7) ... skipping elsif: Preceding "if" was taken
(7) ... skipping elsif: Preceding "if" was taken
(7) ... skipping elsif: Preceding "if" was taken
(7) ... skipping elsif: Preceding "if" was taken
(7) ... skipping elsif: Preceding "if" was taken
(7) ... skipping elsif: Preceding "if" was taken
(7) ... skipping elsif: Preceding "if" was taken
(7) ... skipping else: Preceding "if" was taken
(7) } # policy etu_policy_service_selector = updated
(7) policy etu_session_state_populate {
(7) if (&Virtual-Server != "inner-tunnel.etu") {
(7) EXPAND &Virtual-Server
(7) --> default.etu
(7) if (&Virtual-Server != "inner-tunnel.etu") -> TRUE
(7) if (&Virtual-Server != "inner-tunnel.etu") {
(7) if (!(&session-state:Calling-Station-Id)) {
(7) if (!(&session-state:Calling-Station-Id)) -> FALSE
(7) if (!(&session-state:Called-Station-Id)) {
(7) if (!(&session-state:Called-Station-Id)) -> FALSE
(7) if (!(&session-state:Called-Station-SSID)) {
(7) if (!(&session-state:Called-Station-SSID)) -> FALSE
(7) if (!(&session-state:ETU-Radius-Service-Name)) {
(7) if (!(&session-state:ETU-Radius-Service-Name)) -> FALSE
(7) if (!(&session-state:ETU-Outer-User-Name)) {
(7) if (!(&session-state:ETU-Outer-User-Name)) -> FALSE
(7) } # if (&Virtual-Server != "inner-tunnel.etu") = updated
(7) } # policy etu_session_state_populate = updated
(7) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test" ) {
(7) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test" ) -> FALSE
(7) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test_eduroam" ) {
(7) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test_eduroam" )
-> TRUE
(7) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test_eduroam" )
{
(7) group {
(7) policy etu_proxy_to_eduroam_trrad {
(7) update control {
(7) Home-Server-Pool = "eduroam_trrrad_pool"
(7) } # update control = noop
(7) [updated] = updated
(7) } # policy etu_proxy_to_eduroam_trrad = updated
(7) } # group = updated
(7) etu_auth_modules { ... } # empty sub-section is ignored
(7) return
(7) } # if ( &ETU-Radius-Service-Name ==
"etu_service_bidb_test_eduroam" ) = updated
(7) } # authorize = updated
(7) Proxying due to Home-Server-Pool = "eduroam_trrrad_pool"
(7) Starting proxy to home server 193.140.83.100 port 1812
(7) server default.etu {
(7) }
(7) Proxying request to home server 193.140.83.100 port 1812 timeout
20.000000
(7) Sent Access-Request Id 209 from 0.0.0.0:49432 to 193.140.83.100:1812
length 321
(7) User-Name = "test08(a)artvin.edu.tr"
(7) NAS-IP-Address = 10.10.243.69
(7) NAS-Port = 0
(7) NAS-Identifier = "10.10.243.69"
(7) NAS-Port-Type = Wireless-802.11
(7) Calling-Station-Id = "7e8623ae0401"
(7) Called-Station-Id = "a8bd27c5752c"
(7) Service-Type = Login-User
(7) Framed-MTU = 1100
(7) EAP-Message =
0x0208003c19011703030031000000000000000131022bcc5af23b15b2c9b2aa206c16386816b3260591e18ecb3ec6916eea86c8aee4d37f8a5beb999e
(7) State =
0x414434413967434a414d4e78536b3043672b684c4f364a6d2f44704b735948506568574750513d3d
(7) Aruba-Essid-Name = "bidb-test"
(7) Aruba-Location-Id = "REKTORLUK_KAT1R_MEHMETRASIMODA"
(7) Aruba-AP-Group = "Rektörlük"
(7) Message-Authenticator = 0x2724e90a42f763a0c9c93513355ff95f
(7) Event-Timestamp = "Dec 24 2024 06:14:06 UTC"
(7) Proxy-State = 0x313230
Waking up in 0.3 seconds.
(7) Clearing existing &reply: attributes
(7) Received Access-Challenge Id 209 from 193.140.83.100:1812 to
10.88.0.10:49432 length 168
(7) Message-Authenticator = 0x9a32743d40407b035ecfc0f0ad080dea
(7) EAP-Message =
0x0109005119011703030046523415c4b57440da4ce72a8d062129ea3ec0f02f435f757067200c2775411e4a4f99a7e1abb84d8501e14bd809978f532a06761a62d438ca8fb162e54b79823812fe159690b4
(7) State =
0x414751416d41446d41494a79536b3043716d5033366c485564794b5854652f67533631616e513d3d
(7) Proxy-State = 0x313230
(7) server default.etu {
(7) # Executing section post-proxy from file
/etc/freeradius/sites-enabled/default.etu
(7) post-proxy {
(7) if ("%{proxy-reply:Packet-Type}" == "Access-Reject" ){
(7) EXPAND %{proxy-reply:Packet-Type}
(7) --> Access-Challenge
(7) if ("%{proxy-reply:Packet-Type}" == "Access-Reject" ) -> FALSE
(7) } # post-proxy = noop
(7) }
(7) session-state: Saving cached attributes
(7) Calling-Station-Id := "7e8623ae0401"
(7) Called-Station-Id := "a8bd27c5752c"
(7) Called-Station-SSID := "bidb-test"
(7) ETU-Radius-Service-Name := "etu_service_bidb_test_eduroam"
(7) ETU-Outer-User-Name := "test08(a)artvin.edu.tr"
(7) Using Post-Auth-Type Challenge
(7) # Executing group from file /etc/freeradius/sites-enabled/default.etu
(7) Challenge { ... } # empty sub-section is ignored
(7) Sent Access-Challenge Id 120 from 10.88.0.10:1812 to 10.10.243.69:50507
length 163
(7) Message-Authenticator = 0x9a32743d40407b035ecfc0f0ad080dea
(7) EAP-Message =
0x0109005119011703030046523415c4b57440da4ce72a8d062129ea3ec0f02f435f757067200c2775411e4a4f99a7e1abb84d8501e14bd809978f532a06761a62d438ca8fb162e54b79823812fe159690b4
(7) State =
0x414751416d41446d41494a79536b3043716d5033366c485564794b5854652f67533631616e513d3d
(7) Finished request
Waking up in 4.6 seconds.
(8) Received Access-Request Id 121 from 10.10.243.69:50507 to
10.88.0.10:1812 length 364
(8) User-Name = "test08(a)artvin.edu.tr"
(8) NAS-IP-Address = 10.10.243.69
(8) NAS-Port = 0
(8) NAS-Identifier = "10.10.243.69"
(8) NAS-Port-Type = Wireless-802.11
(8) Calling-Station-Id = "7e8623ae0401"
(8) Called-Station-Id = "a8bd27c5752c"
(8) Service-Type = Login-User
(8) Framed-MTU = 1100
(8) EAP-Message =
0x020900721901170303006700000000000000023435030f1fa96386e17e24bb3b1b1ff1d0946744d376682043871611dba4fbc6089870254bfb6ea52aec1fe93fb1dce6f75e8a82c4f52cf5256b51ea078e2a5a5cfd7df478092b59e51372aa0ac819f4d0981fc12f2fb6d498513b950120ac
(8) State =
0x414751416d41446d41494a79536b3043716d5033366c485564794b5854652f67533631616e513d3d
(8) Aruba-Essid-Name = "bidb-test"
(8) Aruba-Location-Id = "REKTORLUK_KAT1R_MEHMETRASIMODA"
(8) Aruba-AP-Group = "Rektörlük"
(8) Message-Authenticator = 0x0a8b666de49d1dd89e5156060efc053d
(8) Restoring &session-state
(8) &session-state:Calling-Station-Id := "7e8623ae0401"
(8) &session-state:Called-Station-Id := "a8bd27c5752c"
(8) &session-state:Called-Station-SSID := "bidb-test"
(8) &session-state:ETU-Radius-Service-Name :=
"etu_service_bidb_test_eduroam"
(8) &session-state:ETU-Outer-User-Name := "test08(a)artvin.edu.tr"
(8) # Executing section authorize from file
/etc/freeradius/sites-enabled/default.etu
(8) authorize {
(8) policy filter_username {
(8) if (&User-Name) {
(8) if (&User-Name) -> TRUE
(8) if (&User-Name) {
(8) if (&User-Name =~ / /) {
(8) if (&User-Name =~ / /) -> FALSE
(8) if (&User-Name =~ /@[^@]*@/ ) {
(8) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(8) if (&User-Name =~ /\.\./ ) {
(8) if (&User-Name =~ /\.\./ ) -> FALSE
(8) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(8) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) ->
FALSE
(8) if (&User-Name =~ /\.$/) {
(8) if (&User-Name =~ /\.$/) -> FALSE
(8) if (&User-Name =~ /(a)\./) {
(8) if (&User-Name =~ /(a)\./) -> FALSE
(8) } # if (&User-Name) = notfound
(8) } # policy filter_username = notfound
(8) [preprocess] = ok
(8) policy etu_extract_ssid {
(8) if (&Called-Station-Id && (&Called-Station-Id =~
/^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))$/i))
{
(8) if (&Called-Station-Id && (&Called-Station-Id =~
/^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))$/i))
-> FALSE
(8) elsif (&Aruba-Essid-Name) {
(8) elsif (&Aruba-Essid-Name) -> TRUE
(8) elsif (&Aruba-Essid-Name) {
(8) update request {
(8) EXPAND %{Aruba-Essid-Name}
(8) --> bidb-test
(8) &Called-Station-SSID := bidb-test
(8) } # update request = noop
(8) [updated] = updated
(8) } # elsif (&Aruba-Essid-Name) = updated
(8) ... skipping elsif: Preceding "if" was taken
(8) ... skipping else: Preceding "if" was taken
(8) } # policy etu_extract_ssid = updated
(8) policy etu_policy_service_selector {
(8) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name =~
/^.+(a)erzurum\.edu\.tr$/i) ) {
(8) EXPAND %{client:shortname}
(8) --> etu_wifi_rektorluk
(8) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name =~
/^.+(a)erzurum\.edu\.tr$/i) ) -> FALSE
(8) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) {
(8) EXPAND %{client:shortname}
(8) --> etu_wifi_rektorluk
(8) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) -> TRUE
(8) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) {
(8) update request {
(8) &ETU-Radius-Service-Name := "etu_service_bidb_test_eduroam"
(8) } # update request = noop
(8) if (&Virtual-Server == "inner-tunnel.etu") {
(8) EXPAND &Virtual-Server
(8) --> default.etu
(8) if (&Virtual-Server == "inner-tunnel.etu") -> FALSE
(8) [updated] = updated
(8) } # if ( ("%{client:shortname}" == "etu_wifi_rektorluk")
&& (&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) = updated
(8) ... skipping elsif: Preceding "if" was taken
(8) ... skipping elsif: Preceding "if" was taken
(8) ... skipping elsif: Preceding "if" was taken
(8) ... skipping elsif: Preceding "if" was taken
(8) ... skipping elsif: Preceding "if" was taken
(8) ... skipping elsif: Preceding "if" was taken
(8) ... skipping elsif: Preceding "if" was taken
(8) ... skipping elsif: Preceding "if" was taken
(8) ... skipping elsif: Preceding "if" was taken
(8) ... skipping elsif: Preceding "if" was taken
(8) ... skipping elsif: Preceding "if" was taken
(8) ... skipping elsif: Preceding "if" was taken
(8) ... skipping else: Preceding "if" was taken
(8) } # policy etu_policy_service_selector = updated
(8) policy etu_session_state_populate {
(8) if (&Virtual-Server != "inner-tunnel.etu") {
(8) EXPAND &Virtual-Server
(8) --> default.etu
(8) if (&Virtual-Server != "inner-tunnel.etu") -> TRUE
(8) if (&Virtual-Server != "inner-tunnel.etu") {
(8) if (!(&session-state:Calling-Station-Id)) {
(8) if (!(&session-state:Calling-Station-Id)) -> FALSE
(8) if (!(&session-state:Called-Station-Id)) {
(8) if (!(&session-state:Called-Station-Id)) -> FALSE
(8) if (!(&session-state:Called-Station-SSID)) {
(8) if (!(&session-state:Called-Station-SSID)) -> FALSE
(8) if (!(&session-state:ETU-Radius-Service-Name)) {
(8) if (!(&session-state:ETU-Radius-Service-Name)) -> FALSE
(8) if (!(&session-state:ETU-Outer-User-Name)) {
(8) if (!(&session-state:ETU-Outer-User-Name)) -> FALSE
(8) } # if (&Virtual-Server != "inner-tunnel.etu") = updated
(8) } # policy etu_session_state_populate = updated
(8) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test" ) {
(8) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test" ) -> FALSE
(8) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test_eduroam" ) {
(8) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test_eduroam" )
-> TRUE
(8) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test_eduroam" )
{
(8) group {
(8) policy etu_proxy_to_eduroam_trrad {
(8) update control {
(8) Home-Server-Pool = "eduroam_trrrad_pool"
(8) } # update control = noop
(8) [updated] = updated
(8) } # policy etu_proxy_to_eduroam_trrad = updated
(8) } # group = updated
(8) etu_auth_modules { ... } # empty sub-section is ignored
(8) return
(8) } # if ( &ETU-Radius-Service-Name ==
"etu_service_bidb_test_eduroam" ) = updated
(8) } # authorize = updated
(8) Proxying due to Home-Server-Pool = "eduroam_trrrad_pool"
(8) Starting proxy to home server 193.140.83.100 port 1812
(8) server default.etu {
(8) }
(8) Proxying request to home server 193.140.83.100 port 1812 timeout
20.000000
(8) Sent Access-Request Id 199 from 0.0.0.0:49432 to 193.140.83.100:1812
length 375
(8) User-Name = "test08(a)artvin.edu.tr"
(8) NAS-IP-Address = 10.10.243.69
(8) NAS-Port = 0
(8) NAS-Identifier = "10.10.243.69"
(8) NAS-Port-Type = Wireless-802.11
(8) Calling-Station-Id = "7e8623ae0401"
(8) Called-Station-Id = "a8bd27c5752c"
(8) Service-Type = Login-User
(8) Framed-MTU = 1100
(8) EAP-Message =
0x020900721901170303006700000000000000023435030f1fa96386e17e24bb3b1b1ff1d0946744d376682043871611dba4fbc6089870254bfb6ea52aec1fe93fb1dce6f75e8a82c4f52cf5256b51ea078e2a5a5cfd7df478092b59e51372aa0ac819f4d0981fc12f2fb6d498513b950120ac
(8) State =
0x414751416d41446d41494a79536b3043716d5033366c485564794b5854652f67533631616e513d3d
(8) Aruba-Essid-Name = "bidb-test"
(8) Aruba-Location-Id = "REKTORLUK_KAT1R_MEHMETRASIMODA"
(8) Aruba-AP-Group = "Rektörlük"
(8) Message-Authenticator = 0x0a8b666de49d1dd89e5156060efc053d
(8) Event-Timestamp = "Dec 24 2024 06:14:06 UTC"
(8) Proxy-State = 0x313231
Waking up in 0.3 seconds.
(8) Clearing existing &reply: attributes
(8) Received Access-Challenge Id 199 from 193.140.83.100:1812 to
10.88.0.10:49432 length 173
(8) Message-Authenticator = 0xc71cae897bd4e0269f450c7b08b52659
(8) EAP-Message =
0x010a00561901170303004b523415c4b57440dbbc93a53440d436b6d0cddb1fb1f33561ef180e39e56345f76fbe5b7206fa02d20c65bda2b1551e47372dc17b2338fd03d55efca255df3284d385e2f199c4ebca29cc89
(8) State =
0x41434d412b67416f41414e30536b30434352496a384137426a536e79716775626b4a66476a773d3d
(8) Proxy-State = 0x313231
(8) server default.etu {
(8) # Executing section post-proxy from file
/etc/freeradius/sites-enabled/default.etu
(8) post-proxy {
(8) if ("%{proxy-reply:Packet-Type}" == "Access-Reject" ){
(8) EXPAND %{proxy-reply:Packet-Type}
(8) --> Access-Challenge
(8) if ("%{proxy-reply:Packet-Type}" == "Access-Reject" ) -> FALSE
(8) } # post-proxy = noop
(8) }
(8) session-state: Saving cached attributes
(8) Calling-Station-Id := "7e8623ae0401"
(8) Called-Station-Id := "a8bd27c5752c"
(8) Called-Station-SSID := "bidb-test"
(8) ETU-Radius-Service-Name := "etu_service_bidb_test_eduroam"
(8) ETU-Outer-User-Name := "test08(a)artvin.edu.tr"
(8) Using Post-Auth-Type Challenge
(8) # Executing group from file /etc/freeradius/sites-enabled/default.etu
(8) Challenge { ... } # empty sub-section is ignored
(8) Sent Access-Challenge Id 121 from 10.88.0.10:1812 to 10.10.243.69:50507
length 168
(8) Message-Authenticator = 0xc71cae897bd4e0269f450c7b08b52659
(8) EAP-Message =
0x010a00561901170303004b523415c4b57440dbbc93a53440d436b6d0cddb1fb1f33561ef180e39e56345f76fbe5b7206fa02d20c65bda2b1551e47372dc17b2338fd03d55efca255df3284d385e2f199c4ebca29cc89
(8) State =
0x41434d412b67416f41414e30536b30434352496a384137426a536e79716775626b4a66476a773d3d
(8) Finished request
Waking up in 4.5 seconds.
(9) Received Access-Request Id 122 from 10.10.243.69:50507 to
10.88.0.10:1812 length 291
(9) User-Name = "test08(a)artvin.edu.tr"
(9) NAS-IP-Address = 10.10.243.69
(9) NAS-Port = 0
(9) NAS-Identifier = "10.10.243.69"
(9) NAS-Port-Type = Wireless-802.11
(9) Calling-Station-Id = "7e8623ae0401"
(9) Called-Station-Id = "a8bd27c5752c"
(9) Service-Type = Login-User
(9) Framed-MTU = 1100
(9) EAP-Message =
0x020a00291901170303001e00000000000000034d487aa5283e7ba8a9ee2c69db4fb9dda4b05aa9f7a6
(9) State =
0x41434d412b67416f41414e30536b30434352496a384137426a536e79716775626b4a66476a773d3d
(9) Aruba-Essid-Name = "bidb-test"
(9) Aruba-Location-Id = "REKTORLUK_KAT1R_MEHMETRASIMODA"
(9) Aruba-AP-Group = "Rektörlük"
(9) Message-Authenticator = 0xd20c5940437d0f8fed6d116710d0047e
(9) Restoring &session-state
(9) &session-state:Calling-Station-Id := "7e8623ae0401"
(9) &session-state:Called-Station-Id := "a8bd27c5752c"
(9) &session-state:Called-Station-SSID := "bidb-test"
(9) &session-state:ETU-Radius-Service-Name :=
"etu_service_bidb_test_eduroam"
(9) &session-state:ETU-Outer-User-Name := "test08(a)artvin.edu.tr"
(9) # Executing section authorize from file
/etc/freeradius/sites-enabled/default.etu
(9) authorize {
(9) policy filter_username {
(9) if (&User-Name) {
(9) if (&User-Name) -> TRUE
(9) if (&User-Name) {
(9) if (&User-Name =~ / /) {
(9) if (&User-Name =~ / /) -> FALSE
(9) if (&User-Name =~ /@[^@]*@/ ) {
(9) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(9) if (&User-Name =~ /\.\./ ) {
(9) if (&User-Name =~ /\.\./ ) -> FALSE
(9) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(9) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) ->
FALSE
(9) if (&User-Name =~ /\.$/) {
(9) if (&User-Name =~ /\.$/) -> FALSE
(9) if (&User-Name =~ /(a)\./) {
(9) if (&User-Name =~ /(a)\./) -> FALSE
(9) } # if (&User-Name) = notfound
(9) } # policy filter_username = notfound
(9) [preprocess] = ok
(9) policy etu_extract_ssid {
(9) if (&Called-Station-Id && (&Called-Station-Id =~
/^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))$/i))
{
(9) if (&Called-Station-Id && (&Called-Station-Id =~
/^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))$/i))
-> FALSE
(9) elsif (&Aruba-Essid-Name) {
(9) elsif (&Aruba-Essid-Name) -> TRUE
(9) elsif (&Aruba-Essid-Name) {
(9) update request {
(9) EXPAND %{Aruba-Essid-Name}
(9) --> bidb-test
(9) &Called-Station-SSID := bidb-test
(9) } # update request = noop
(9) [updated] = updated
(9) } # elsif (&Aruba-Essid-Name) = updated
(9) ... skipping elsif: Preceding "if" was taken
(9) ... skipping else: Preceding "if" was taken
(9) } # policy etu_extract_ssid = updated
(9) policy etu_policy_service_selector {
(9) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name =~
/^.+(a)erzurum\.edu\.tr$/i) ) {
(9) EXPAND %{client:shortname}
(9) --> etu_wifi_rektorluk
(9) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name =~
/^.+(a)erzurum\.edu\.tr$/i) ) -> FALSE
(9) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) {
(9) EXPAND %{client:shortname}
(9) --> etu_wifi_rektorluk
(9) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) -> TRUE
(9) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) {
(9) update request {
(9) &ETU-Radius-Service-Name := "etu_service_bidb_test_eduroam"
(9) } # update request = noop
(9) if (&Virtual-Server == "inner-tunnel.etu") {
(9) EXPAND &Virtual-Server
(9) --> default.etu
(9) if (&Virtual-Server == "inner-tunnel.etu") -> FALSE
(9) [updated] = updated
(9) } # if ( ("%{client:shortname}" == "etu_wifi_rektorluk")
&& (&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) = updated
(9) ... skipping elsif: Preceding "if" was taken
(9) ... skipping elsif: Preceding "if" was taken
(9) ... skipping elsif: Preceding "if" was taken
(9) ... skipping elsif: Preceding "if" was taken
(9) ... skipping elsif: Preceding "if" was taken
(9) ... skipping elsif: Preceding "if" was taken
(9) ... skipping elsif: Preceding "if" was taken
(9) ... skipping elsif: Preceding "if" was taken
(9) ... skipping elsif: Preceding "if" was taken
(9) ... skipping elsif: Preceding "if" was taken
(9) ... skipping elsif: Preceding "if" was taken
(9) ... skipping elsif: Preceding "if" was taken
(9) ... skipping else: Preceding "if" was taken
(9) } # policy etu_policy_service_selector = updated
(9) policy etu_session_state_populate {
(9) if (&Virtual-Server != "inner-tunnel.etu") {
(9) EXPAND &Virtual-Server
(9) --> default.etu
(9) if (&Virtual-Server != "inner-tunnel.etu") -> TRUE
(9) if (&Virtual-Server != "inner-tunnel.etu") {
(9) if (!(&session-state:Calling-Station-Id)) {
(9) if (!(&session-state:Calling-Station-Id)) -> FALSE
(9) if (!(&session-state:Called-Station-Id)) {
(9) if (!(&session-state:Called-Station-Id)) -> FALSE
(9) if (!(&session-state:Called-Station-SSID)) {
(9) if (!(&session-state:Called-Station-SSID)) -> FALSE
(9) if (!(&session-state:ETU-Radius-Service-Name)) {
(9) if (!(&session-state:ETU-Radius-Service-Name)) -> FALSE
(9) if (!(&session-state:ETU-Outer-User-Name)) {
(9) if (!(&session-state:ETU-Outer-User-Name)) -> FALSE
(9) } # if (&Virtual-Server != "inner-tunnel.etu") = updated
(9) } # policy etu_session_state_populate = updated
(9) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test" ) {
(9) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test" ) -> FALSE
(9) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test_eduroam" ) {
(9) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test_eduroam" )
-> TRUE
(9) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test_eduroam" )
{
(9) group {
(9) policy etu_proxy_to_eduroam_trrad {
(9) update control {
(9) Home-Server-Pool = "eduroam_trrrad_pool"
(9) } # update control = noop
(9) [updated] = updated
(9) } # policy etu_proxy_to_eduroam_trrad = updated
(9) } # group = updated
(9) etu_auth_modules { ... } # empty sub-section is ignored
(9) return
(9) } # if ( &ETU-Radius-Service-Name ==
"etu_service_bidb_test_eduroam" ) = updated
(9) } # authorize = updated
(9) Proxying due to Home-Server-Pool = "eduroam_trrrad_pool"
(9) Starting proxy to home server 193.140.83.100 port 1812
(9) server default.etu {
(9) }
(9) Proxying request to home server 193.140.83.100 port 1812 timeout
20.000000
(9) Sent Access-Request Id 249 from 0.0.0.0:49432 to 193.140.83.100:1812
length 302
(9) User-Name = "test08(a)artvin.edu.tr"
(9) NAS-IP-Address = 10.10.243.69
(9) NAS-Port = 0
(9) NAS-Identifier = "10.10.243.69"
(9) NAS-Port-Type = Wireless-802.11
(9) Calling-Station-Id = "7e8623ae0401"
(9) Called-Station-Id = "a8bd27c5752c"
(9) Service-Type = Login-User
(9) Framed-MTU = 1100
(9) EAP-Message =
0x020a00291901170303001e00000000000000034d487aa5283e7ba8a9ee2c69db4fb9dda4b05aa9f7a6
(9) State =
0x41434d412b67416f41414e30536b30434352496a384137426a536e79716775626b4a66476a773d3d
(9) Aruba-Essid-Name = "bidb-test"
(9) Aruba-Location-Id = "REKTORLUK_KAT1R_MEHMETRASIMODA"
(9) Aruba-AP-Group = "Rektörlük"
(9) Message-Authenticator = 0xd20c5940437d0f8fed6d116710d0047e
(9) Event-Timestamp = "Dec 24 2024 06:14:06 UTC"
(9) Proxy-State = 0x313232
Waking up in 0.3 seconds.
(9) Clearing existing &reply: attributes
(9) Received Access-Challenge Id 249 from 193.140.83.100:1812 to
10.88.0.10:49432 length 133
(9) Message-Authenticator = 0xcc65c8a2f24214535fab887dc067d896
(9) EAP-Message =
0x010b002e19011703030023523415c4b57440dc31661c5ce8d020ad2e80f4346f618aac2276f241e626562b40ad06
(9) State =
0x414e38414567433241497031536b304372686144594c314f394c34384274726b4e5a753273413d3d
(9) Proxy-State = 0x313232
(9) server default.etu {
(9) # Executing section post-proxy from file
/etc/freeradius/sites-enabled/default.etu
(9) post-proxy {
(9) if ("%{proxy-reply:Packet-Type}" == "Access-Reject" ){
(9) EXPAND %{proxy-reply:Packet-Type}
(9) --> Access-Challenge
(9) if ("%{proxy-reply:Packet-Type}" == "Access-Reject" ) -> FALSE
(9) } # post-proxy = noop
(9) }
(9) session-state: Saving cached attributes
(9) Calling-Station-Id := "7e8623ae0401"
(9) Called-Station-Id := "a8bd27c5752c"
(9) Called-Station-SSID := "bidb-test"
(9) ETU-Radius-Service-Name := "etu_service_bidb_test_eduroam"
(9) ETU-Outer-User-Name := "test08(a)artvin.edu.tr"
(9) Using Post-Auth-Type Challenge
(9) # Executing group from file /etc/freeradius/sites-enabled/default.etu
(9) Challenge { ... } # empty sub-section is ignored
(9) Sent Access-Challenge Id 122 from 10.88.0.10:1812 to 10.10.243.69:50507
length 128
(9) Message-Authenticator = 0xcc65c8a2f24214535fab887dc067d896
(9) EAP-Message =
0x010b002e19011703030023523415c4b57440dc31661c5ce8d020ad2e80f4346f618aac2276f241e626562b40ad06
(9) State =
0x414e38414567433241497031536b304372686144594c314f394c34384274726b4e5a753273413d3d
(9) Finished request
Waking up in 4.5 seconds.
(10) Received Access-Request Id 123 from 10.10.243.69:50507 to
10.88.0.10:1812 length 296
(10) User-Name = "test08(a)artvin.edu.tr"
(10) NAS-IP-Address = 10.10.243.69
(10) NAS-Port = 0
(10) NAS-Identifier = "10.10.243.69"
(10) NAS-Port-Type = Wireless-802.11
(10) Calling-Station-Id = "7e8623ae0401"
(10) Called-Station-Id = "a8bd27c5752c"
(10) Service-Type = Login-User
(10) Framed-MTU = 1100
(10) EAP-Message =
0x020b002e1901170303002300000000000000041a44bc16151694944560b2f44528e897698ca7d86b1c16789cbfa7
(10) State =
0x414e38414567433241497031536b304372686144594c314f394c34384274726b4e5a753273413d3d
(10) Aruba-Essid-Name = "bidb-test"
(10) Aruba-Location-Id = "REKTORLUK_KAT1R_MEHMETRASIMODA"
(10) Aruba-AP-Group = "Rektörlük"
(10) Message-Authenticator = 0x7e5959ad67099edbc30c8e02a8dffb43
(10) Restoring &session-state
(10) &session-state:Calling-Station-Id := "7e8623ae0401"
(10) &session-state:Called-Station-Id := "a8bd27c5752c"
(10) &session-state:Called-Station-SSID := "bidb-test"
(10) &session-state:ETU-Radius-Service-Name :=
"etu_service_bidb_test_eduroam"
(10) &session-state:ETU-Outer-User-Name := "test08(a)artvin.edu.tr"
(10) # Executing section authorize from file
/etc/freeradius/sites-enabled/default.etu
(10) authorize {
(10) policy filter_username {
(10) if (&User-Name) {
(10) if (&User-Name) -> TRUE
(10) if (&User-Name) {
(10) if (&User-Name =~ / /) {
(10) if (&User-Name =~ / /) -> FALSE
(10) if (&User-Name =~ /@[^@]*@/ ) {
(10) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(10) if (&User-Name =~ /\.\./ ) {
(10) if (&User-Name =~ /\.\./ ) -> FALSE
(10) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(10) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/))
-> FALSE
(10) if (&User-Name =~ /\.$/) {
(10) if (&User-Name =~ /\.$/) -> FALSE
(10) if (&User-Name =~ /(a)\./) {
(10) if (&User-Name =~ /(a)\./) -> FALSE
(10) } # if (&User-Name) = notfound
(10) } # policy filter_username = notfound
(10) [preprocess] = ok
(10) policy etu_extract_ssid {
(10) if (&Called-Station-Id && (&Called-Station-Id =~
/^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))$/i))
{
(10) if (&Called-Station-Id && (&Called-Station-Id =~
/^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))$/i))
-> FALSE
(10) elsif (&Aruba-Essid-Name) {
(10) elsif (&Aruba-Essid-Name) -> TRUE
(10) elsif (&Aruba-Essid-Name) {
(10) update request {
(10) EXPAND %{Aruba-Essid-Name}
(10) --> bidb-test
(10) &Called-Station-SSID := bidb-test
(10) } # update request = noop
(10) [updated] = updated
(10) } # elsif (&Aruba-Essid-Name) = updated
(10) ... skipping elsif: Preceding "if" was taken
(10) ... skipping else: Preceding "if" was taken
(10) } # policy etu_extract_ssid = updated
(10) policy etu_policy_service_selector {
(10) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name =~
/^.+(a)erzurum\.edu\.tr$/i) ) {
(10) EXPAND %{client:shortname}
(10) --> etu_wifi_rektorluk
(10) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name =~
/^.+(a)erzurum\.edu\.tr$/i) ) -> FALSE
(10) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) {
(10) EXPAND %{client:shortname}
(10) --> etu_wifi_rektorluk
(10) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) -> TRUE
(10) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) {
(10) update request {
(10) &ETU-Radius-Service-Name := "etu_service_bidb_test_eduroam"
(10) } # update request = noop
(10) if (&Virtual-Server == "inner-tunnel.etu") {
(10) EXPAND &Virtual-Server
(10) --> default.etu
(10) if (&Virtual-Server == "inner-tunnel.etu") -> FALSE
(10) [updated] = updated
(10) } # if ( ("%{client:shortname}" == "etu_wifi_rektorluk")
&& (&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) = updated
(10) ... skipping elsif: Preceding "if" was taken
(10) ... skipping elsif: Preceding "if" was taken
(10) ... skipping elsif: Preceding "if" was taken
(10) ... skipping elsif: Preceding "if" was taken
(10) ... skipping elsif: Preceding "if" was taken
(10) ... skipping elsif: Preceding "if" was taken
(10) ... skipping elsif: Preceding "if" was taken
(10) ... skipping elsif: Preceding "if" was taken
(10) ... skipping elsif: Preceding "if" was taken
(10) ... skipping elsif: Preceding "if" was taken
(10) ... skipping elsif: Preceding "if" was taken
(10) ... skipping elsif: Preceding "if" was taken
(10) ... skipping else: Preceding "if" was taken
(10) } # policy etu_policy_service_selector = updated
(10) policy etu_session_state_populate {
(10) if (&Virtual-Server != "inner-tunnel.etu") {
(10) EXPAND &Virtual-Server
(10) --> default.etu
(10) if (&Virtual-Server != "inner-tunnel.etu") -> TRUE
(10) if (&Virtual-Server != "inner-tunnel.etu") {
(10) if (!(&session-state:Calling-Station-Id)) {
(10) if (!(&session-state:Calling-Station-Id)) -> FALSE
(10) if (!(&session-state:Called-Station-Id)) {
(10) if (!(&session-state:Called-Station-Id)) -> FALSE
(10) if (!(&session-state:Called-Station-SSID)) {
(10) if (!(&session-state:Called-Station-SSID)) -> FALSE
(10) if (!(&session-state:ETU-Radius-Service-Name)) {
(10) if (!(&session-state:ETU-Radius-Service-Name)) -> FALSE
(10) if (!(&session-state:ETU-Outer-User-Name)) {
(10) if (!(&session-state:ETU-Outer-User-Name)) -> FALSE
(10) } # if (&Virtual-Server != "inner-tunnel.etu") = updated
(10) } # policy etu_session_state_populate = updated
(10) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test" ) {
(10) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test" ) ->
FALSE
(10) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test_eduroam" )
{
(10) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test_eduroam" )
-> TRUE
(10) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test_eduroam" )
{
(10) group {
(10) policy etu_proxy_to_eduroam_trrad {
(10) update control {
(10) Home-Server-Pool = "eduroam_trrrad_pool"
(10) } # update control = noop
(10) [updated] = updated
(10) } # policy etu_proxy_to_eduroam_trrad = updated
(10) } # group = updated
(10) etu_auth_modules { ... } # empty sub-section is ignored
(10) return
(10) } # if ( &ETU-Radius-Service-Name ==
"etu_service_bidb_test_eduroam" ) = updated
(10) } # authorize = updated
(10) Proxying due to Home-Server-Pool = "eduroam_trrrad_pool"
(10) Starting proxy to home server 193.140.83.100 port 1812
(10) server default.etu {
(10) }
(10) Proxying request to home server 193.140.83.100 port 1812 timeout
20.000000
(10) Sent Access-Request Id 162 from 0.0.0.0:49432 to 193.140.83.100:1812
length 307
(10) User-Name = "test08(a)artvin.edu.tr"
(10) NAS-IP-Address = 10.10.243.69
(10) NAS-Port = 0
(10) NAS-Identifier = "10.10.243.69"
(10) NAS-Port-Type = Wireless-802.11
(10) Calling-Station-Id = "7e8623ae0401"
(10) Called-Station-Id = "a8bd27c5752c"
(10) Service-Type = Login-User
(10) Framed-MTU = 1100
(10) EAP-Message =
0x020b002e1901170303002300000000000000041a44bc16151694944560b2f44528e897698ca7d86b1c16789cbfa7
(10) State =
0x414e38414567433241497031536b304372686144594c314f394c34384274726b4e5a753273413d3d
(10) Aruba-Essid-Name = "bidb-test"
(10) Aruba-Location-Id = "REKTORLUK_KAT1R_MEHMETRASIMODA"
(10) Aruba-AP-Group = "Rektörlük"
(10) Message-Authenticator = 0x7e5959ad67099edbc30c8e02a8dffb43
(10) Event-Timestamp = "Dec 24 2024 06:14:06 UTC"
(10) Proxy-State = 0x313233
Waking up in 0.3 seconds.
(10) Clearing existing &reply: attributes
(10) Received Access-Accept Id 162 from 193.140.83.100:1812 to
10.88.0.10:49432 length 245
(10) Message-Authenticator = 0x9385aded1da22d5f6f533dfadfba9c9c
(10) MS-MPPE-Recv-Key =
0xff88e7d4c208bc8463110bba631d038923b67c9c7491af2e8f4cbce3789f27bf
(10) MS-MPPE-Send-Key =
0x1343bd646b3147637a027e8771e73900570b0623e1a80563ab2ca13b0d2ddd57
(10) EAP-Message = 0x030b0004
(10) User-Name = "test08(a)artvin.edu.tr"
(10) Class =
0xe4481107c4884866a175696050857992ba0b0000000000005230303566356161622d30312d36373661353265380000000000000000000000
(10) Proxy-State = 0x313233
(10) server default.etu {
(10) # Executing section post-proxy from file
/etc/freeradius/sites-enabled/default.etu
(10) post-proxy {
(10) if ("%{proxy-reply:Packet-Type}" == "Access-Reject" ){
(10) EXPAND %{proxy-reply:Packet-Type}
(10) --> Access-Accept
(10) if ("%{proxy-reply:Packet-Type}" == "Access-Reject" ) -> FALSE
(10) } # post-proxy = noop
(10) }
(10) Found Auth-Type = Accept
(10) Auth-Type = Accept, accepting the user
(10) # Executing section post-auth from file
/etc/freeradius/sites-enabled/default.etu
(10) post-auth {
(10) if (session-state:User-Name && reply:User-Name &&
request:User-Name && (reply:User-Name == request:User-Name)) {
(10) if (session-state:User-Name && reply:User-Name &&
request:User-Name && (reply:User-Name == request:User-Name)) -> FALSE
(10) update {
(10) &reply::Calling-Station-Id +=
&session-state:Calling-Station-Id[*] -> '7e8623ae0401'
(10) &reply::Called-Station-Id += &session-state:Called-Station-Id[*]
-> 'a8bd27c5752c'
(10) &reply::Called-Station-SSID +=
&session-state:Called-Station-SSID[*] -> 'bidb-test'
(10) &reply::ETU-Radius-Service-Name +=
&session-state:ETU-Radius-Service-Name[*] -> 'etu_service_bidb_test_eduroam'
(10) &reply::ETU-Outer-User-Name +=
&session-state:ETU-Outer-User-Name[*] -> 'test08(a)artvin.edu.tr'
(10) } # update = noop
(10) policy insert_acct_class {
(10) update reply {
(10) EXPAND
ai:%{md5:%t,%{Packet-Src-Port},%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}},%{NAS-IP-Address},%{Calling-Station-ID},%{User-Name},%{session-state:User-Name}
}
(10) --> ai:d4600a42f67f9997a9d4ac60e6479048
(10) &Class =
0x61693a6434363030613432663637663939393761396434616336306536343739303438
(10) } # update reply = noop
(10) } # policy insert_acct_class = noop
(10) policy remove_reply_message_if_eap {
(10) if (&reply:EAP-Message && &reply:Reply-Message) {
(10) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE
(10) else {
(10) [noop] = noop
(10) } # else = noop
(10) } # policy remove_reply_message_if_eap = noop
(10) linelog.etu: EXPAND Access-Request.%{%{reply:Packet-Type}:-default}
(10) linelog.etu: --> Access-Request.Access-Accept
(10) linelog.etu: EXPAND Accepted User: [%{User-Name}] inner_username:
[%{session-state:ETU-Inner-User-Name}] event_timestamp: [%T]
calling_station_id: [%{Calling-Station-Id}] called_station_id:
[%{Called-Station-Id}] ssid: [%{Called-Station-SSID}] srcip:
[%{Packet-Src-IP-Address}] nas_name: [%{NAS-Identifier}] client_location:
[%{ETU-Client-Location}] etu_service: [%{ETU-Radius-Service-Name}]
auth_type: [%{control:Auth-Type}] eap_type: [%{EAP-Type}] tls_version:
[%{&session-state:TLS-Session-Version}]
(10) linelog.etu: --> Accepted User: [test08(a)artvin.edu.tr]
inner_username: [] event_timestamp: [2024-12-24-06.14.06.688852]
calling_station_id: [7e8623ae0401] called_station_id: [a8bd27c5752c] ssid:
[bidb-test] srcip: [10.10.243.69] nas_name: [10.10.243.69] client_location:
[] etu_service: [etu_service_bidb_test_eduroam] auth_type: [Accept]
eap_type: [] tls_version: []
(10) linelog.etu: EXPAND /dev/stdout
(10) linelog.etu: --> /dev/stdout
Accepted User: [test08(a)artvin.edu.tr] inner_username: [] event_timestamp:
[2024-12-24-06.14.06.688852] calling_station_id: [7e8623ae0401]
called_station_id: [a8bd27c5752c] ssid: [bidb-test] srcip: [10.10.243.69]
nas_name: [10.10.243.69] client_location: [] etu_service:
[etu_service_bidb_test_eduroam] auth_type: [Accept] eap_type: []
tls_version: []
(10) [linelog.etu] = ok
(10) if (EAP-Key-Name && &reply:EAP-Session-Id) {
(10) if (EAP-Key-Name && &reply:EAP-Session-Id) -> FALSE
(10) } # post-auth = ok
(10) Login OK: [test08(a)artvin.edu.tr] (from client etu_wifi_rektorluk port
0 cli 7e8623ae0401)
(10) Sent Access-Accept Id 123 from 10.88.0.10:1812 to 10.10.243.69:50507
length 268
(10) Message-Authenticator = 0x9385aded1da22d5f6f533dfadfba9c9c
(10) MS-MPPE-Recv-Key =
0xff88e7d4c208bc8463110bba631d038923b67c9c7491af2e8f4cbce3789f27bf
(10) MS-MPPE-Send-Key =
0x1343bd646b3147637a027e8771e73900570b0623e1a80563ab2ca13b0d2ddd57
(10) EAP-Message = 0x030b0004
(10) User-Name = "test08(a)artvin.edu.tr"
(10) Class =
0xe4481107c4884866a175696050857992ba0b0000000000005230303566356161622d30312d36373661353265380000000000000000000000
(10) Calling-Station-Id += "7e8623ae0401"
(10) Called-Station-Id += "a8bd27c5752c"
(10) Finished request
Waking up in 4.4 seconds.
(0) Cleaning up request packet ID 109 with timestamp +11 due to
cleanup_delay was reached
(1) Cleaning up request packet ID 100 with timestamp +11 due to
cleanup_delay was reached
(2) Cleaning up request packet ID 110 with timestamp +11 due to
cleanup_delay was reached
(3) Cleaning up request packet ID 112 with timestamp +11 due to
cleanup_delay was reached
(4) Cleaning up request packet ID 117 with timestamp +11 due to
cleanup_delay was reached
(5) Cleaning up request packet ID 118 with timestamp +11 due to
cleanup_delay was reached
(6) Cleaning up request packet ID 119 with timestamp +11 due to
cleanup_delay was reached
(7) Cleaning up request packet ID 120 with timestamp +11 due to
cleanup_delay was reached
(8) Cleaning up request packet ID 121 with timestamp +11 due to
cleanup_delay was reached
(9) Cleaning up request packet ID 122 with timestamp +11 due to
cleanup_delay was reached
(10) Cleaning up request packet ID 123 with timestamp +11 due to
cleanup_delay was reached
Ready to process requests
2
1
>
>
> Peace, how to configure freeradius to restrict some users from
> connecting to cisco devices say from 8am till 6pm
>
Hi Majed, this is my first post to this mailing list
(I hope I am doing this correctly.)
I suggest looking up the Login-Time attribute
https://www.networkradius.com/doc/current/raddb/mods-available/logintime.ht…
Best regards,
Marc
2
1
Peace, how to configure freeradius to restrict some users from
connecting to cisco devices say from 8am till 6pm
1
0
Hi Team,
We are using FreeRADIUS version 3.0.27. We are experiencing timeouts while clients connect to FreeRADIUS. We have verified that FreeRADIUS (and the pod it is running on) is not overloaded.
This FreeRADIUS server has proxying enabled, meaning it forwards requests to another server. I'm curious if there are any known bugs in version 3.0.27 related to socket/connection management.
Juniper Business Use Only
1
0