List; Wondering if anyone would be able to assist me with an issue I'm experiencing and help me to get my config to work as needed. Let me explain my setup, then my issue. Currently using freeradius 3.0.13, have it installed and configured (using mysql DB as the backend) and working fine. We are using MAC Based Authentication for authenticating/authorizing our end users equipment and till now working great. We went out the door using a MAC format of aabbccddeeff for username/password as our initial equipment passes it over this way, but we have some new equipment going into the network that sends the MAC as the username in the format aa-bb-cc-dd-ee-ff. So I'm trying to figure out how we can continue to use the username in the format aabbccddeeff (in the radcheck DB table) but accept the new format (with dashes) in the Access-Request and then modify the User-Name (or Stripped-User-Name) to use the non-dash format during the authentication/authorization process. I've seen in various posts that I should not modify the User-Name attribute, so I'm currently trying to use the Stripped-User-Name. I've defined a way to strip the dashes (-) from the User-Name and assign it to the Stripped-User-Name and can see this being used. But the issue I'm running into is during the authentication process I hit a part that shows EAP failing. I've been trying to understand why it's failing and how to work around it, but no luck and thus the reason for my question to the list. Any help or guidance would be greatly appreciated. See below the debug output (radiusd -X) for my radius setup. Thxs Jeremy FreeRADIUS Version 3.0.13 Copyright (C) 1999-2017 The FreeRADIUS server project and contributors There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE You may redistribute copies of FreeRADIUS under the terms of the GNU General Public License For more information about these matters, see the file named COPYRIGHT Starting - reading configuration files ... including dictionary file /usr/share/freeradius/dictionary including dictionary file /usr/share/freeradius/dictionary.dhcp including dictionary file /usr/share/freeradius/dictionary.vqp including dictionary file /etc/raddb/dictionary including configuration file /etc/raddb/radiusd.conf including configuration file /etc/raddb/proxy.conf including configuration file /etc/raddb/clients.conf including files in directory /etc/raddb/mods-enabled/ including configuration file /etc/raddb/mods-enabled/always including configuration file /etc/raddb/mods-enabled/attr_filter including configuration file /etc/raddb/mods-enabled/cache_eap including configuration file /etc/raddb/mods-enabled/chap including configuration file /etc/raddb/mods-enabled/date including configuration file /etc/raddb/mods-enabled/detail including configuration file /etc/raddb/mods-enabled/detail.log including configuration file /etc/raddb/mods-enabled/dhcp including configuration file /etc/raddb/mods-enabled/digest including configuration file /etc/raddb/mods-enabled/dynamic_clients including configuration file /etc/raddb/mods-enabled/eap including configuration file /etc/raddb/mods-enabled/echo including configuration file /etc/raddb/mods-enabled/exec including configuration file /etc/raddb/mods-enabled/expiration including configuration file /etc/raddb/mods-enabled/expr including configuration file /etc/raddb/mods-enabled/files including configuration file /etc/raddb/mods-enabled/linelog including configuration file /etc/raddb/mods-enabled/logintime including configuration file /etc/raddb/mods-enabled/mschap including configuration file /etc/raddb/mods-enabled/ntlm_auth including configuration file /etc/raddb/mods-enabled/pap including configuration file /etc/raddb/mods-enabled/passwd including configuration file /etc/raddb/mods-enabled/preprocess including configuration file /etc/raddb/mods-enabled/radutmp including configuration file /etc/raddb/mods-enabled/realm including configuration file /etc/raddb/mods-enabled/replicate including configuration file /etc/raddb/mods-enabled/soh including configuration file /etc/raddb/mods-enabled/sradutmp including configuration file /etc/raddb/mods-enabled/unix including configuration file /etc/raddb/mods-enabled/unpack including configuration file /etc/raddb/mods-enabled/utf8 including configuration file /etc/raddb/mods-enabled/sql including configuration file /etc/raddb/mods-config/sql/main/mysql/queries.conf including files in directory /etc/raddb/policy.d/ including configuration file /etc/raddb/policy.d/accounting including configuration file /etc/raddb/policy.d/control including configuration file /etc/raddb/policy.d/cui including configuration file /etc/raddb/policy.d/debug including configuration file /etc/raddb/policy.d/dhcp including configuration file /etc/raddb/policy.d/eap including configuration file /etc/raddb/policy.d/filter including configuration file /etc/raddb/policy.d/operator-name including configuration file /etc/raddb/policy.d/canonicalization including files in directory /etc/raddb/sites-enabled/ including configuration file /etc/raddb/sites-enabled/default including configuration file /etc/raddb/sites-enabled/inner-tunnel including configuration file /etc/raddb/sites-enabled/coa including configuration file /etc/raddb/sites-enabled/originate-coa main { security { allow_core_dumps = no } name = "radiusd" prefix = "/usr" localstatedir = "/var" logdir = "/var/log/radius" run_dir = "/var/run/radiusd" } main { name = "radiusd" prefix = "/usr" localstatedir = "/var" sbindir = "/usr/sbin" logdir = "/var/log/radius" run_dir = "/var/run/radiusd" libdir = "/usr/lib64/freeradius" radacctdir = "/var/log/radius/radacct" hostname_lookups = no max_request_time = 30 cleanup_delay = 5 max_requests = 16384 pidfile = "/var/run/radiusd/radiusd.pid" checkrad = "/usr/sbin/checkrad" debug_level = 0 proxy_requests = yes log { stripped_names = no auth = no 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 } } home_server example-coa { ipaddr = 127.0.0.0 port = 3799 type = "coa" 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 } } home_server c3560-test-he2-cab1110 { ipaddr = 172.30.0.7 port = 3799 type = "coa" secret = <<< secret >>> response_window = 20.000000 response_timeouts = 1 max_outstanding = 65536 zombie_period = 40 status_check = "none" 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 a5-test-he2-cab1110 { ipaddr = 172.30.0.8 port = 3799 type = "coa" secret = <<< secret >>> response_window = 20.000000 response_timeouts = 1 max_outstanding = 65536 zombie_period = 40 status_check = "none" 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 lps3k-test-he-cab1110 { ipaddr = 172.30.0.9 port = 3799 type = "coa" secret = <<< secret >>> response_window = 20.000000 response_timeouts = 1 max_outstanding = 65536 zombie_period = 40 status_check = "none" 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 n728tp-test-he2-cab1110 { ipaddr = 172.30.0.10 port = 3799 type = "coa" secret = <<< secret >>> response_window = 20.000000 response_timeouts = 1 max_outstanding = 65536 zombie_period = 40 status_check = "none" 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 c2960-test-he2-cab1110 { ipaddr = 172.30.0.11 port = 3799 type = "coa" secret = <<< secret >>> response_window = 20.000000 response_timeouts = 1 max_outstanding = 65536 zombie_period = 40 status_check = "none" 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 c3560-test-he1 { ipaddr = 172.31.16.7 port = 3799 type = "coa" secret = <<< secret >>> response_window = 20.000000 response_timeouts = 1 max_outstanding = 65536 zombie_period = 40 status_check = "none" 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 96n2ndst { ipaddr = 172.30.8.22 port = 3799 type = "coa" secret = <<< secret >>> response_window = 20.000000 response_timeouts = 1 max_outstanding = 65536 zombie_period = 40 status_check = "none" 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 28n1st { ipaddr = 172.30.8.27 port = 3799 type = "coa" secret = <<< secret >>> response_window = 20.000000 response_timeouts = 1 max_outstanding = 65536 zombie_period = 40 status_check = "none" 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 mdu51-bldgc-ne { ipaddr = 172.30.8.35 port = 3799 type = "coa" secret = <<< secret >>> response_window = 20.000000 response_timeouts = 1 max_outstanding = 65536 zombie_period = 40 status_check = "none" 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 mdu51-bldgc-se { ipaddr = 172.30.8.36 port = 3799 type = "coa" secret = <<< secret >>> response_window = 20.000000 response_timeouts = 1 max_outstanding = 65536 zombie_period = 40 status_check = "none" 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 mdu51-bldgc-nw { ipaddr = 172.30.8.37 port = 3799 type = "coa" secret = <<< secret >>> response_window = 20.000000 response_timeouts = 1 max_outstanding = 65536 zombie_period = 40 status_check = "none" 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 mdu51-bldgc-sw { ipaddr = 172.30.8.38 port = 3799 type = "coa" secret = <<< secret >>> response_window = 20.000000 response_timeouts = 1 max_outstanding = 65536 zombie_period = 40 status_check = "none" 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 mdu51-bldgb-n { ipaddr = 172.30.8.43 port = 3799 type = "coa" secret = <<< secret >>> response_window = 20.000000 response_timeouts = 1 max_outstanding = 65536 zombie_period = 40 status_check = "none" 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 mdu51-bldgb-s { ipaddr = 172.30.8.44 port = 3799 type = "coa" secret = <<< secret >>> response_window = 20.000000 response_timeouts = 1 max_outstanding = 65536 zombie_period = 40 status_check = "none" 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 mdu51-bldga-n { ipaddr = 172.30.8.48 port = 3799 type = "coa" secret = <<< secret >>> response_window = 20.000000 response_timeouts = 1 max_outstanding = 65536 zombie_period = 40 status_check = "none" 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 mdu51-bldga-s { ipaddr = 172.30.8.49 port = 3799 type = "coa" secret = <<< secret >>> response_window = 20.000000 response_timeouts = 1 max_outstanding = 65536 zombie_period = 40 status_check = "none" 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 mducp-1a { ipaddr = 172.30.8.60 port = 3799 type = "coa" secret = <<< secret >>> response_window = 20.000000 response_timeouts = 1 max_outstanding = 65536 zombie_period = 40 status_check = "none" 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 mducp-2a { ipaddr = 172.30.8.62 port = 3799 type = "coa" secret = <<< secret >>> response_window = 20.000000 response_timeouts = 1 max_outstanding = 65536 zombie_period = 40 status_check = "none" 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 mducp-3a { ipaddr = 172.30.8.64 port = 3799 type = "coa" secret = <<< secret >>> response_window = 20.000000 response_timeouts = 1 max_outstanding = 65536 zombie_period = 40 status_check = "none" 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 mducp-4a { ipaddr = 172.30.8.66 port = 3799 type = "coa" secret = <<< secret >>> response_window = 20.000000 response_timeouts = 1 max_outstanding = 65536 zombie_period = 40 status_check = "none" 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 mducp-5a { ipaddr = 172.30.8.68 port = 3799 type = "coa" secret = <<< secret >>> response_window = 20.000000 response_timeouts = 1 max_outstanding = 65536 zombie_period = 40 status_check = "none" 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 mducp-6a { ipaddr = 172.30.8.70 port = 3799 type = "coa" secret = <<< secret >>> response_window = 20.000000 response_timeouts = 1 max_outstanding = 65536 zombie_period = 40 status_check = "none" 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 mducp-7a { ipaddr = 172.30.8.72 port = 3799 type = "coa" secret = <<< secret >>> response_window = 20.000000 response_timeouts = 1 max_outstanding = 65536 zombie_period = 40 status_check = "none" 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 mducp-8a { ipaddr = 172.30.8.74 port = 3799 type = "coa" secret = <<< secret >>> response_window = 20.000000 response_timeouts = 1 max_outstanding = 65536 zombie_period = 40 status_check = "none" 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 mducp-9a { ipaddr = 172.30.8.76 port = 3799 type = "coa" secret = <<< secret >>> response_window = 20.000000 response_timeouts = 1 max_outstanding = 65536 zombie_period = 40 status_check = "none" 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 mdulfts { ipaddr = 172.30.8.82 port = 3799 type = "coa" secret = <<< secret >>> response_window = 20.000000 response_timeouts = 1 max_outstanding = 65536 zombie_period = 40 status_check = "none" 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 66escst { ipaddr = 172.30.8.90 port = 3799 type = "coa" secret = <<< secret >>> response_window = 20.000000 response_timeouts = 1 max_outstanding = 65536 zombie_period = 40 status_check = "none" 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 mdugb-bldg1 { ipaddr = 172.30.8.100 port = 3799 type = "coa" secret = <<< secret >>> response_window = 20.000000 response_timeouts = 1 max_outstanding = 65536 zombie_period = 40 status_check = "none" 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 mdugb-bldg2 { ipaddr = 172.30.8.101 port = 3799 type = "coa" secret = <<< secret >>> response_window = 20.000000 response_timeouts = 1 max_outstanding = 65536 zombie_period = 40 status_check = "none" 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 mducrr-n-4 { ipaddr = 172.30.8.112 port = 3799 type = "coa" secret = <<< secret >>> response_window = 20.000000 response_timeouts = 1 max_outstanding = 65536 zombie_period = 40 status_check = "none" 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 mducrr-n-3 { ipaddr = 172.30.8.113 port = 3799 type = "coa" secret = <<< secret >>> response_window = 20.000000 response_timeouts = 1 max_outstanding = 65536 zombie_period = 40 status_check = "none" 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 mducrr-n-2 { ipaddr = 172.30.8.114 port = 3799 type = "coa" secret = <<< secret >>> response_window = 20.000000 response_timeouts = 1 max_outstanding = 65536 zombie_period = 40 status_check = "none" 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 mducrr-n-1 { ipaddr = 172.30.8.115 port = 3799 type = "coa" secret = <<< secret >>> response_window = 20.000000 response_timeouts = 1 max_outstanding = 65536 zombie_period = 40 status_check = "none" 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 mducrr-s-4 { ipaddr = 172.30.8.124 port = 3799 type = "coa" secret = <<< secret >>> response_window = 20.000000 response_timeouts = 1 max_outstanding = 65536 zombie_period = 40 status_check = "none" 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 mducrr-s-5 { ipaddr = 172.30.8.125 port = 3799 type = "coa" secret = <<< secret >>> response_window = 20.000000 response_timeouts = 1 max_outstanding = 65536 zombie_period = 40 status_check = "none" 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 mducsq-mpoe { ipaddr = 172.30.8.131 port = 3799 type = "coa" secret = <<< secret >>> response_window = 20.000000 response_timeouts = 1 max_outstanding = 65536 zombie_period = 40 status_check = "none" 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 mducsq-telco1a { ipaddr = 172.30.8.132 port = 3799 type = "coa" secret = <<< secret >>> response_window = 20.000000 response_timeouts = 1 max_outstanding = 65536 zombie_period = 40 status_check = "none" 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 mducsq-telco2a { ipaddr = 172.30.8.133 port = 3799 type = "coa" secret = <<< secret >>> response_window = 20.000000 response_timeouts = 1 max_outstanding = 65536 zombie_period = 40 status_check = "none" 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 mducsq-telco3a { ipaddr = 172.30.8.134 port = 3799 type = "coa" secret = <<< secret >>> response_window = 20.000000 response_timeouts = 1 max_outstanding = 65536 zombie_period = 40 status_check = "none" 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 mducsq-telco4a { ipaddr = 172.30.8.135 port = 3799 type = "coa" secret = <<< secret >>> response_window = 20.000000 response_timeouts = 1 max_outstanding = 65536 zombie_period = 40 status_check = "none" 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 mducsq-telco1b { ipaddr = 172.30.8.136 port = 3799 type = "coa" secret = <<< secret >>> response_window = 20.000000 response_timeouts = 1 max_outstanding = 65536 zombie_period = 40 status_check = "none" 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 mducsq-telco2b { ipaddr = 172.30.8.137 port = 3799 type = "coa" secret = <<< secret >>> response_window = 20.000000 response_timeouts = 1 max_outstanding = 65536 zombie_period = 40 status_check = "none" 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 mducsq-telco3b { ipaddr = 172.30.8.138 port = 3799 type = "coa" secret = <<< secret >>> response_window = 20.000000 response_timeouts = 1 max_outstanding = 65536 zombie_period = 40 status_check = "none" 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 mducsq-telco4b { ipaddr = 172.30.8.139 port = 3799 type = "coa" secret = <<< secret >>> response_window = 20.000000 response_timeouts = 1 max_outstanding = 65536 zombie_period = 40 status_check = "none" 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 mducsq-trm2-flr1 { ipaddr = 172.30.8.140 port = 3799 type = "coa" secret = <<< secret >>> response_window = 20.000000 response_timeouts = 1 max_outstanding = 65536 zombie_period = 40 status_check = "none" 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 mducsq-trm2-flr2 { ipaddr = 172.30.8.141 port = 3799 type = "coa" secret = <<< secret >>> response_window = 20.000000 response_timeouts = 1 max_outstanding = 65536 zombie_period = 40 status_check = "none" 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 mducsq-trm2-flr3 { ipaddr = 172.30.8.142 port = 3799 type = "coa" secret = <<< secret >>> response_window = 20.000000 response_timeouts = 1 max_outstanding = 65536 zombie_period = 40 status_check = "none" 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 mducsq-trm2-flr4 { ipaddr = 172.30.8.143 port = 3799 type = "coa" secret = <<< secret >>> response_window = 20.000000 response_timeouts = 1 max_outstanding = 65536 zombie_period = 40 status_check = "none" 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 mducsq-trm3-flr1 { ipaddr = 172.30.8.144 port = 3799 type = "coa" secret = <<< secret >>> response_window = 20.000000 response_timeouts = 1 max_outstanding = 65536 zombie_period = 40 status_check = "none" 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 mducsq-trm3-flr2 { ipaddr = 172.30.8.145 port = 3799 type = "coa" secret = <<< secret >>> response_window = 20.000000 response_timeouts = 1 max_outstanding = 65536 zombie_period = 40 status_check = "none" 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 mducsq-trm3-flr3 { ipaddr = 172.30.8.146 port = 3799 type = "coa" secret = <<< secret >>> response_window = 20.000000 response_timeouts = 1 max_outstanding = 65536 zombie_period = 40 status_check = "none" 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 mducsq-trm3-flr4 { ipaddr = 172.30.8.147 port = 3799 type = "coa" secret = <<< secret >>> response_window = 20.000000 response_timeouts = 1 max_outstanding = 65536 zombie_period = 40 status_check = "none" ping_interval = 30 check_interval = 30 check_timeout = 4 num_answers_to_alive = 3 revive_interval = 120 limit { max_connections = 16 max_requests = 0 lifetime = 0 idle_timeout = 0 } coa { irt = 2 mrt = 16 mrc = 5 mrd = 30 } } home_server_pool my_auth_failover { type = fail-over home_server = localhost } realm example.com { auth_pool = my_auth_failover } realm LOCAL { } home_server_pool coa { type = fail-over virtual_server = originate-coa.example.com home_server = example-coa } home_server_pool c3560-test-he2-cab1110_pool { home_server = c3560-test-he2-cab1110 } home_server_pool a5-test-he2-cab1110_pool { virtual_server = originate-coa.a5-test-he2-cab1110 home_server = a5-test-he2-cab1110 } home_server_pool lps3k-test-he-cab1110_pool { home_server = lps3k-test-he-cab1110 } home_server_pool n728tp-test-he2-cab1110_pool { home_server = n728tp-test-he2-cab1110 } home_server_pool c2960-test-he2-cab1110_pool { home_server = c2960-test-he2-cab1110 } home_server_pool c3560-test-he1_pool { home_server = c3560-test-he1 } home_server_pool 96n2ndst_pool { home_server = 96n2ndst } home_server_pool 28n1st_pool { home_server = 28n1st } home_server_pool mdu51-bldgc-ne_pool { home_server = mdu51-bldgc-ne } home_server_pool mdu51-bldgc-se_pool { home_server = mdu51-bldgc-se } home_server_pool mdu51-bldgc-nw_pool { home_server = mdu51-bldgc-nw } home_server_pool mdu51-bldgc-sw_pool { home_server = mdu51-bldgc-sw } home_server_pool mdu51-bldgb-n_pool { home_server = mdu51-bldgb-n } home_server_pool mdu51-bldgb-s_pool { home_server = mdu51-bldgb-s } home_server_pool mdu51-bldga-n_pool { home_server = mdu51-bldga-n } home_server_pool mdu51-bldga-s_pool { home_server = mdu51-bldga-s } home_server_pool mducp-1a_pool { home_server = mducp-1a } home_server_pool mducp-2a_pool { home_server = mducp-2a } home_server_pool mducp-3a_pool { home_server = mducp-3a } home_server_pool mducp-4a_pool { home_server = mducp-4a } home_server_pool mducp-5a_pool { home_server = mducp-5a } home_server_pool mducp-6a_pool { home_server = mducp-6a } home_server_pool mducp-7a_pool { home_server = mducp-7a } home_server_pool mducp-8a_pool { home_server = mducp-8a } home_server_pool mducp-9a_pool { home_server = mducp-9a } home_server_pool mdulfts_pool { home_server = mdulfts } home_server_pool 66escst_pool { home_server = 66escst } home_server_pool mdugb-bldg1_pool { home_server = mdugb-bldg1 } home_server_pool mdugb-bldg2_pool { home_server = mdugb-bldg2 } home_server_pool mducrr-n-4_pool { home_server = mducrr-n-4 } home_server_pool mducrr-n-3_pool { home_server = mducrr-n-3 } home_server_pool mducrr-n-2_pool { home_server = mducrr-n-2 } home_server_pool mducrr-n-1_pool { home_server = mducrr-n-1 } home_server_pool mducrr-s-4_pool { home_server = mducrr-s-4 } home_server_pool mducrr-s-5_pool { home_server = mducrr-s-5 } home_server_pool mducsq-mpoe_pool { home_server = mducsq-mpoe } home_server_pool mducsq-telco1a_pool { home_server = mducsq-telco1a } home_server_pool mducsq-telco2a_pool { home_server = mducsq-telco2a } home_server_pool mducsq-telco3a_pool { home_server = mducsq-telco3a } home_server_pool mducsq-telco4a_pool { home_server = mducsq-telco4a } home_server_pool mducsq-telco1b_pool { home_server = mducsq-telco1b } home_server_pool mducsq-telco2b_pool { home_server = mducsq-telco2b } home_server_pool mducsq-telco3b_pool { home_server = mducsq-telco3b } home_server_pool mducsq-telco4b_pool { home_server = mducsq-telco4b } home_server_pool mducsq-trm2-flr1_pool { home_server = mducsq-trm2-flr1 } home_server_pool mducsq-trm2-flr2_pool { home_server = mducsq-trm2-flr2 } home_server_pool mducsq-trm2-flr3_pool { home_server = mducsq-trm2-flr3 } home_server_pool mducsq-trm2-flr4_pool { home_server = mducsq-trm2-flr4 } home_server_pool mducsq-trm3-flr1_pool { home_server = mducsq-trm3-flr1 } home_server_pool mducsq-trm3-flr2_pool { home_server = mducsq-trm3-flr2 } home_server_pool mducsq-trm3-flr3_pool { home_server = mducsq-trm3-flr3 } home_server_pool mducsq-trm3-flr4_pool { home_server = mducsq-trm3-flr4 } 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 } } [1mDebugger not attached [0m # 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 radiusd: #### Instantiating modules #### modules { # Loaded module rlm_always # Loading module "reject" from file /etc/raddb/mods-enabled/always always reject { rcode = "reject" simulcount = 0 mpp = no } # Loading module "fail" from file /etc/raddb/mods-enabled/always always fail { rcode = "fail" simulcount = 0 mpp = no } # Loading module "ok" from file /etc/raddb/mods-enabled/always always ok { rcode = "ok" simulcount = 0 mpp = no } # Loading module "handled" from file /etc/raddb/mods-enabled/always always handled { rcode = "handled" simulcount = 0 mpp = no } # Loading module "invalid" from file /etc/raddb/mods-enabled/always always invalid { rcode = "invalid" simulcount = 0 mpp = no } # Loading module "userlock" from file /etc/raddb/mods-enabled/always always userlock { rcode = "userlock" simulcount = 0 mpp = no } # Loading module "notfound" from file /etc/raddb/mods-enabled/always always notfound { rcode = "notfound" simulcount = 0 mpp = no } # Loading module "noop" from file /etc/raddb/mods-enabled/always always noop { rcode = "noop" simulcount = 0 mpp = no } # Loading module "updated" from file /etc/raddb/mods-enabled/always always updated { rcode = "updated" simulcount = 0 mpp = no } # Loaded module rlm_attr_filter # Loading module "attr_filter.post-proxy" from file /etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.post-proxy { filename = "/etc/raddb/mods-config/attr_filter/post-proxy" key = "%{Realm}" relaxed = no } # Loading module "attr_filter.pre-proxy" from file /etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.pre-proxy { filename = "/etc/raddb/mods-config/attr_filter/pre-proxy" key = "%{Realm}" relaxed = no } # Loading module "attr_filter.access_reject" from file /etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.access_reject { filename = "/etc/raddb/mods-config/attr_filter/access_reject" key = "%{User-Name}" relaxed = no } # Loading module "attr_filter.access_challenge" from file /etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.access_challenge { filename = "/etc/raddb/mods-config/attr_filter/access_challenge" key = "%{User-Name}" relaxed = no } # Loading module "attr_filter.accounting_response" from file /etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.accounting_response { filename = "/etc/raddb/mods-config/attr_filter/accounting_response" key = "%{User-Name}" relaxed = no } # Loaded module rlm_cache # Loading module "cache_eap" from file /etc/raddb/mods-enabled/cache_eap cache cache_eap { driver = "rlm_cache_rbtree" key = "%{%{control:State}:-%{%{reply:State}:-%{State}}}" ttl = 15 max_entries = 0 epoch = 0 add_stats = no } # Loaded module rlm_chap # Loading module "chap" from file /etc/raddb/mods-enabled/chap # Loaded module rlm_date # Loading module "date" from file /etc/raddb/mods-enabled/date date { format = "%b %e %Y %H:%M:%S %Z" } # Loaded module rlm_detail # Loading module "detail" from file /etc/raddb/mods-enabled/detail detail { filename = "/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d" header = "%t" permissions = 384 locking = no escape_filenames = no log_packet_header = no } # Loading module "auth_log" from file /etc/raddb/mods-enabled/detail.log detail auth_log { filename = "/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d" header = "%t" permissions = 384 locking = no escape_filenames = no log_packet_header = no } # Loading module "reply_log" from file /etc/raddb/mods-enabled/detail.log detail reply_log { filename = "/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/reply-detail-%Y%m%d" header = "%t" permissions = 384 locking = no escape_filenames = no log_packet_header = no } # Loading module "pre_proxy_log" from file /etc/raddb/mods-enabled/detail.log detail pre_proxy_log { filename = "/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/pre-proxy-detail-%Y%m%d" header = "%t" permissions = 384 locking = no escape_filenames = no log_packet_header = no } # Loading module "post_proxy_log" from file /etc/raddb/mods-enabled/detail.log detail post_proxy_log { filename = "/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/post-proxy-detail-%Y%m%d" header = "%t" permissions = 384 locking = no escape_filenames = no log_packet_header = no } # Loaded module rlm_dhcp # Loading module "dhcp" from file /etc/raddb/mods-enabled/dhcp # Loaded module rlm_digest # Loading module "digest" from file /etc/raddb/mods-enabled/digest # Loaded module rlm_dynamic_clients # Loading module "dynamic_clients" from file /etc/raddb/mods-enabled/dynamic_clients # Loaded module rlm_eap # Loading module "eap" from file /etc/raddb/mods-enabled/eap eap { default_eap_type = "md5" timer_expire = 60 ignore_unknown_eap_types = no cisco_accounting_username_bug = no max_sessions = 16384 } # Loaded module rlm_exec # Loading module "echo" from file /etc/raddb/mods-enabled/echo exec echo { wait = yes program = "/bin/echo %{User-Name}" input_pairs = "request" output_pairs = "reply" shell_escape = yes } # Loading module "exec" from file /etc/raddb/mods-enabled/exec exec { wait = no input_pairs = "request" shell_escape = yes timeout = 10 } # Loaded module rlm_expiration # Loading module "expiration" from file /etc/raddb/mods-enabled/expiration # Loaded module rlm_expr # Loading module "expr" from file /etc/raddb/mods-enabled/expr expr { safe_characters = "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /äéöüàâæçèéêëîïôœùûüaÿÄÉÖÜßÀÂÆÇÈÉÊËÎÏÔŒÙÛÜŸ" } # Loaded module rlm_files # Loading module "files" from file /etc/raddb/mods-enabled/files files { filename = "/etc/raddb/mods-config/files/authorize" acctusersfile = "/etc/raddb/mods-config/files/accounting" preproxy_usersfile = "/etc/raddb/mods-config/files/pre-proxy" } # Loaded module rlm_linelog # Loading module "linelog" from file /etc/raddb/mods-enabled/linelog linelog { filename = "/var/log/radius/linelog" escape_filenames = no syslog_severity = "info" permissions = 384 format = "This is a log message for %{User-Name}" reference = "messages.%{%{reply:Packet-Type}:-default}" } # Loading module "log_accounting" from file /etc/raddb/mods-enabled/linelog linelog log_accounting { filename = "/var/log/radius/linelog-accounting" escape_filenames = no syslog_severity = "info" permissions = 384 format = "" reference = "Accounting-Request.%{%{Acct-Status-Type}:-unknown}" } # Loaded module rlm_logintime # Loading module "logintime" from file /etc/raddb/mods-enabled/logintime logintime { minimum_timeout = 60 } # Loaded module rlm_mschap # Loading module "mschap" from file /etc/raddb/mods-enabled/mschap mschap { use_mppe = yes require_encryption = no require_strong = no with_ntdomain_hack = yes passchange { } allow_retry = yes winbind_retry_with_normalised_username = no } # Loading module "ntlm_auth" from file /etc/raddb/mods-enabled/ntlm_auth exec ntlm_auth { wait = yes program = "/path/to/ntlm_auth --request-nt-key --domain=MYDOMAIN --username=%{mschap:User-Name} --password=%{User-Password}" shell_escape = yes } # Loaded module rlm_pap # Loading module "pap" from file /etc/raddb/mods-enabled/pap pap { normalise = yes } # Loaded module rlm_passwd # Loading module "etc_passwd" from file /etc/raddb/mods-enabled/passwd passwd etc_passwd { filename = "/etc/passwd" format = "*User-Name:Crypt-Password:" delimiter = ":" ignore_nislike = no ignore_empty = yes allow_multiple_keys = no hash_size = 100 } # Loaded module rlm_preprocess # Loading module "preprocess" from file /etc/raddb/mods-enabled/preprocess preprocess { huntgroups = "/etc/raddb/mods-config/preprocess/huntgroups" hints = "/etc/raddb/mods-config/preprocess/hints" with_ascend_hack = no ascend_channels_per_line = 23 with_ntdomain_hack = no with_specialix_jetstream_hack = no with_cisco_vsa_hack = no with_alvarion_vsa_hack = no } # Loaded module rlm_radutmp # Loading module "radutmp" from file /etc/raddb/mods-enabled/radutmp radutmp { filename = "/var/log/radius/radutmp" username = "%{User-Name}" case_sensitive = yes check_with_nas = yes permissions = 384 caller_id = yes } # Loaded module rlm_realm # Loading module "IPASS" from file /etc/raddb/mods-enabled/realm realm IPASS { format = "prefix" delimiter = "/" ignore_default = no ignore_null = no } # Loading module "suffix" from file /etc/raddb/mods-enabled/realm realm suffix { format = "suffix" delimiter = "@" ignore_default = no ignore_null = no } # Loading module "realmpercent" from file /etc/raddb/mods-enabled/realm realm realmpercent { format = "suffix" delimiter = "%" ignore_default = no ignore_null = no } # Loading module "ntdomain" from file /etc/raddb/mods-enabled/realm realm ntdomain { format = "prefix" delimiter = "\\" ignore_default = no ignore_null = no } # Loaded module rlm_replicate # Loading module "replicate" from file /etc/raddb/mods-enabled/replicate # Loaded module rlm_soh # Loading module "soh" from file /etc/raddb/mods-enabled/soh soh { dhcp = yes } # Loading module "sradutmp" from file /etc/raddb/mods-enabled/sradutmp radutmp sradutmp { filename = "/var/log/radius/sradutmp" username = "%{User-Name}" case_sensitive = yes check_with_nas = yes permissions = 420 caller_id = no } # Loaded module rlm_unix # Loading module "unix" from file /etc/raddb/mods-enabled/unix unix { radwtmp = "/var/log/radius/radwtmp" } Creating attribute Unix-Group # Loaded module rlm_unpack # Loading module "unpack" from file /etc/raddb/mods-enabled/unpack # Loaded module rlm_utf8 # Loading module "utf8" from file /etc/raddb/mods-enabled/utf8 # Loaded module rlm_sql # Loading module "sql" from file /etc/raddb/mods-enabled/sql sql { driver = "rlm_sql_mysql" server = "db4.domainsx.co" port = 3306 login = "radiususer" password = <<< secret >>> radius_db = "radiusdb" read_groups = yes read_profiles = yes read_clients = yes delete_stale_sessions = yes sql_user_name = "%{%{Stripped-User-Name}:-%{%{User-Name}:-DEFAULT}}" 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-Group}' ORDER BY id" authorize_group_reply_query = "SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{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 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.-_: /" accounting { reference = "%{tolower:type.%{Acct-Status-Type}.query}" type { accounting-on { query = "UPDATE radacct SET acctstoptime = FROM_UNIXTIME(%{integer:Event-Timestamp}), acctsessiontime = '%{integer:Event-Timestamp}' - UNIX_TIMESTAMP(acctstarttime), acctterminatecause = '%{%{Acct-Terminate-Cause}:-NAS-Reboot}' WHERE acctstoptime IS NULL AND ( nasipaddress = '%{NAS-IP-Address}' or nasipaddress = '%{NAS-IPv6-Address}' ) AND acctstarttime <= FROM_UNIXTIME(%{integer:Event-Timestamp})" } accounting-off { query = "UPDATE radacct SET acctstoptime = FROM_UNIXTIME(%{integer:Event-Timestamp}), acctsessiontime = '%{integer:Event-Timestamp}' - UNIX_TIMESTAMP(acctstarttime), acctterminatecause = '%{%{Acct-Terminate-Cause}:-NAS-Reboot}' WHERE acctstoptime IS NULL AND ( nasipaddress = '%{NAS-IP-Address}' or nasipaddress = '%{NAS-IPv6-Address}' ) AND acctstarttime <= FROM_UNIXTIME(%{integer:Event-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) 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}), FROM_UNIXTIME(%{integer:Event-Timestamp}), NULL, '0', '%{Acct-Authentic}', '%{Connect-Info}', '', '0', '0', '%{Called-Station-Id}', '%{Calling-Station-Id}', '', '%{Service-Type}', '%{Framed-Protocol}', '%{Framed-IP-Address}')" } interim-update { query = "UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{integer:Event-Timestamp}), acctinterval = %{integer:Event-Timestamp} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', 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}), 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, misc, authdate) VALUES ( '%{SQL-User-Name}', '%{%{User-Password}:-%{Chap-Password}}', '%{reply:Packet-Type}', '%{%{Module-Failure-Message}:-%{reply:Reply-Message}}', '%S')" } } [1mrlm_sql (sql): Driver rlm_sql_mysql (module rlm_sql_mysql) loaded and linked [0m Creating attribute SQL-Group instantiate { } # Instantiating module "reject" from file /etc/raddb/mods-enabled/always # Instantiating module "fail" from file /etc/raddb/mods-enabled/always # Instantiating module "ok" from file /etc/raddb/mods-enabled/always # Instantiating module "handled" from file /etc/raddb/mods-enabled/always # Instantiating module "invalid" from file /etc/raddb/mods-enabled/always # Instantiating module "userlock" from file /etc/raddb/mods-enabled/always # Instantiating module "notfound" from file /etc/raddb/mods-enabled/always # Instantiating module "noop" from file /etc/raddb/mods-enabled/always # Instantiating module "updated" from file /etc/raddb/mods-enabled/always # Instantiating module "attr_filter.post-proxy" from file /etc/raddb/mods-enabled/attr_filter reading pairlist file /etc/raddb/mods-config/attr_filter/post-proxy # Instantiating module "attr_filter.pre-proxy" from file /etc/raddb/mods-enabled/attr_filter reading pairlist file /etc/raddb/mods-config/attr_filter/pre-proxy # Instantiating module "attr_filter.access_reject" from file /etc/raddb/mods-enabled/attr_filter reading pairlist file /etc/raddb/mods-config/attr_filter/access_reject [1m [33m[/etc/raddb/mods-config/attr_filter/access_reject]:11 Check item "FreeRADIUS-Response-Delay" found in filter list for realm "DEFAULT". [0m [1m [33m[/etc/raddb/mods-config/attr_filter/access_reject]:11 Check item "FreeRADIUS-Response-Delay-USec" found in filter list for realm "DEFAULT". [0m # Instantiating module "attr_filter.access_challenge" from file /etc/raddb/mods-enabled/attr_filter reading pairlist file /etc/raddb/mods-config/attr_filter/access_challenge # Instantiating module "attr_filter.accounting_response" from file /etc/raddb/mods-enabled/attr_filter reading pairlist file /etc/raddb/mods-config/attr_filter/accounting_response # Instantiating module "cache_eap" from file /etc/raddb/mods-enabled/cache_eap rlm_cache (cache_eap): Driver rlm_cache_rbtree (module rlm_cache_rbtree) loaded and linked # Instantiating module "detail" from file /etc/raddb/mods-enabled/detail # Instantiating module "auth_log" from file /etc/raddb/mods-enabled/detail.log rlm_detail (auth_log): 'User-Password' suppressed, will not appear in detail output # Instantiating module "reply_log" from file /etc/raddb/mods-enabled/detail.log # Instantiating module "pre_proxy_log" from file /etc/raddb/mods-enabled/detail.log # Instantiating module "post_proxy_log" from file /etc/raddb/mods-enabled/detail.log # Instantiating module "eap" from file /etc/raddb/mods-enabled/eap # Linked to sub-module rlm_eap_md5 # Linked to sub-module rlm_eap_leap # Linked to sub-module rlm_eap_gtc gtc { challenge = "Password: " auth_type = "PAP" } # Linked to sub-module rlm_eap_tls tls { tls = "tls-common" } tls-config tls-common { verify_depth = 0 ca_path = "/etc/raddb/certs" pem_file_type = yes private_key_file = "/etc/raddb/certs/server.pem" certificate_file = "/etc/raddb/certs/server.pem" ca_file = "/etc/raddb/certs/ca.pem" private_key_password = <<< secret >>> dh_file = "/etc/raddb/certs/dh" fragment_size = 1024 include_length = yes auto_chain = yes check_crl = no check_all_crl = no cipher_list = "DEFAULT" cipher_server_preference = no ecdh_curve = "prime256v1" cache { enable = no lifetime = 24 max_entries = 255 } verify { skip_if_ocsp_ok = no } ocsp { enable = no override_cert_url = yes url = "http://127.0.0.1/ocsp/" use_nonce = yes timeout = 0 softfail = no } } # Linked to sub-module rlm_eap_ttls ttls { tls = "tls-common" default_eap_type = "md5" copy_request_to_tunnel = yes use_tunneled_reply = yes virtual_server = "inner-tunnel" include_length = yes require_client_cert = no } tls: Using cached TLS configuration from previous invocation # Linked to sub-module rlm_eap_peap peap { tls = "tls-common" default_eap_type = "mschapv2" copy_request_to_tunnel = yes use_tunneled_reply = yes proxy_tunneled_request_as_eap = yes virtual_server = "inner-tunnel" soh = no require_client_cert = no } tls: Using cached TLS configuration from previous invocation # Linked to sub-module rlm_eap_mschapv2 mschapv2 { with_ntdomain_hack = no send_error = no } # Instantiating module "expiration" from file /etc/raddb/mods-enabled/expiration # Instantiating module "files" from file /etc/raddb/mods-enabled/files reading pairlist file /etc/raddb/mods-config/files/authorize reading pairlist file /etc/raddb/mods-config/files/accounting reading pairlist file /etc/raddb/mods-config/files/pre-proxy # Instantiating module "linelog" from file /etc/raddb/mods-enabled/linelog # Instantiating module "log_accounting" from file /etc/raddb/mods-enabled/linelog # Instantiating module "logintime" from file /etc/raddb/mods-enabled/logintime # Instantiating module "mschap" from file /etc/raddb/mods-enabled/mschap rlm_mschap (mschap): using internal authentication # Instantiating module "pap" from file /etc/raddb/mods-enabled/pap # Instantiating module "etc_passwd" from file /etc/raddb/mods-enabled/passwd rlm_passwd: nfields: 3 keyfield 0(User-Name) listable: no # Instantiating module "preprocess" from file /etc/raddb/mods-enabled/preprocess reading pairlist file /etc/raddb/mods-config/preprocess/huntgroups reading pairlist file /etc/raddb/mods-config/preprocess/hints # Instantiating module "IPASS" from file /etc/raddb/mods-enabled/realm # Instantiating module "suffix" from file /etc/raddb/mods-enabled/realm # Instantiating module "realmpercent" from file /etc/raddb/mods-enabled/realm # Instantiating module "ntdomain" from file /etc/raddb/mods-enabled/realm # Instantiating module "sql" from file /etc/raddb/mods-enabled/sql [1mrlm_sql_mysql: libmysql version: 10.1.30-MariaDB [0m mysql { tls { } warnings = "auto" } [1mrlm_sql (sql): Attempting to connect to database "radiusdb" [0m rlm_sql (sql): 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 } [1mrlm_sql (sql): Opening additional connection (0), 1 of 32 pending slots used [0m rlm_sql_mysql: Starting connect to MySQL server rlm_sql_mysql: Connected to database 'radiusdb' on db4.domainsx.co via TCP/IP, server version 5.5.56-MariaDB-wsrep, protocol version 10 [1mrlm_sql (sql): Opening additional connection (1), 1 of 31 pending slots used [0m rlm_sql_mysql: Starting connect to MySQL server rlm_sql_mysql: Connected to database 'radiusdb' on db4.domainsx.co via TCP/IP, server version 5.5.56-MariaDB-wsrep, protocol version 10 [1mrlm_sql (sql): Opening additional connection (2), 1 of 30 pending slots used [0m rlm_sql_mysql: Starting connect to MySQL server rlm_sql_mysql: Connected to database 'radiusdb' on db4.domainsx.co via TCP/IP, server version 5.5.56-MariaDB-wsrep, protocol version 10 [1mrlm_sql (sql): Opening additional connection (3), 1 of 29 pending slots used [0m rlm_sql_mysql: Starting connect to MySQL server rlm_sql_mysql: Connected to database 'radiusdb' on db4.domainsx.co via TCP/IP, server version 5.5.56-MariaDB-wsrep, protocol version 10 [1mrlm_sql (sql): Opening additional connection (4), 1 of 28 pending slots used [0m rlm_sql_mysql: Starting connect to MySQL server rlm_sql_mysql: Connected to database 'radiusdb' on db4.domainsx.co via TCP/IP, server version 5.5.56-MariaDB-wsrep, protocol version 10 rlm_sql (sql): Processing generate_sql_clients rlm_sql (sql) in generate_sql_clients: query is SELECT id, nasname, shortname, type, secret, server FROM nas rlm_sql (sql): Reserved connection (0) rlm_sql (sql): Executing select query: SELECT id, nasname, shortname, type, secret, server FROM nas rlm_sql (sql): Adding client 147.92.88.8 (saili_tower1-sw1) to global clients list rlm_sql (147.92.88.8): Client "saili_tower1-sw1" (sql) added rlm_sql (sql): Adding client tower3-sw1.domainsx.co (saili_tower3-sw1) to global clients list rlm_sql (184.105.233.100): Client "saili_tower3-sw1" (sql) added rlm_sql (sql): Adding client 147.92.88.11 (saili_tower2-sw1) to global clients list rlm_sql (147.92.88.11): Client "saili_tower2-sw1" (sql) added rlm_sql (sql): Adding client radius1.domainsx.co (saili_radius1) to global clients list rlm_sql (172.16.1.35): Client "saili_radius1" (sql) added rlm_sql (sql): Adding client 147.92.88.114 (saili_WIB) to global clients list rlm_sql (147.92.88.114): Client "saili_WIB" (sql) added rlm_sql (sql): Adding client 147.92.91.28 (saili_oakpark-office) to global clients list rlm_sql (147.92.91.28): Client "saili_oakpark-office" (sql) added rlm_sql (sql): Adding client 147.92.91.27 (saili_oakpark-closet) to global clients list rlm_sql (147.92.91.27): Client "saili_oakpark-closet" (sql) added rlm_sql (sql): Adding client 172.30.0.8 (saili_a5-test-he2) to global clients list rlm_sql (172.30.0.8): Client "saili_a5-test-he2" (sql) added rlm_sql (sql): Adding client 2604:21C0:3001:1::190:7 (saili_c3560-test-he2) to global clients list rlm_sql (2604:21c0:3001:1::190:7): Client "saili_c3560-test-he2" (sql) added rlm_sql (sql): Adding client 172.30.0.10 (saili_n728tp-test-he2) to global clients list rlm_sql (172.30.0.10): Client "saili_n728tp-test-he2" (sql) added rlm_sql (sql): Adding client 172.30.4.83 (saili_2090warmspringsct) to global clients list rlm_sql (172.30.4.83): Client "saili_2090warmspringsct" (sql) added rlm_sql (sql): Adding client 172.30.0.9 (saili_lps3k-test-he) to global clients list rlm_sql (172.30.0.9): Client "saili_lps3k-test-he" (sql) added rlm_sql (sql): Adding client 172.31.16.8 (saili_a5-test-he1) to global clients list rlm_sql (172.31.16.8): Client "saili_a5-test-he1" (sql) added rlm_sql (sql): Adding client 172.30.0.7 (saili_c3560-test-he2) to global clients list rlm_sql (172.30.0.7): Client "saili_c3560-test-he2" (sql) added rlm_sql (sql): Adding client 172.31.16.7 (saili_c3560-test-he1) to global clients list rlm_sql (172.31.16.7): Client "saili_c3560-test-he1" (sql) added rlm_sql (sql): Adding client 172.30.0.11 (saili_c2960-test-he2) to global clients list rlm_sql (172.30.0.11): Client "saili_c2960-test-he2" (sql) added rlm_sql (sql): Adding client 172.30.8.27 (saili_28n1st) to global clients list rlm_sql (172.30.8.27): Client "saili_28n1st" (sql) added rlm_sql (sql): Adding client 172.30.8.35 (saili_mdu51-bldgc-ne) to global clients list rlm_sql (172.30.8.35): Client "saili_mdu51-bldgc-ne" (sql) added rlm_sql (sql): Adding client 172.30.8.36 (saili_mdu51-bldgc-se) to global clients list rlm_sql (172.30.8.36): Client "saili_mdu51-bldgc-se" (sql) added rlm_sql (sql): Adding client 172.30.8.37 (saili_mdu51-bldgc-nw) to global clients list rlm_sql (172.30.8.37): Client "saili_mdu51-bldgc-nw" (sql) added rlm_sql (sql): Adding client 172.30.8.38 (saili_mdu51-bldgc-sw) to global clients list rlm_sql (172.30.8.38): Client "saili_mdu51-bldgc-sw" (sql) added rlm_sql (sql): Adding client 172.30.8.43 (saili_mdu51-bldgb-n) to global clients list rlm_sql (172.30.8.43): Client "saili_mdu51-bldgb-n" (sql) added rlm_sql (sql): Adding client 172.30.8.44 (saili_mdu51-bldgb-s) to global clients list rlm_sql (172.30.8.44): Client "saili_mdu51-bldgb-s" (sql) added rlm_sql (sql): Adding client 172.30.8.48 (saili_mdu51-bldga-n) to global clients list rlm_sql (172.30.8.48): Client "saili_mdu51-bldga-n" (sql) added rlm_sql (sql): Adding client 172.30.8.49 (saili_mdu51-bldga-s) to global clients list rlm_sql (172.30.8.49): Client "saili_mdu51-bldga-s" (sql) added rlm_sql (sql): Adding client 172.30.8.60 (saili_mducp-1a) to global clients list rlm_sql (172.30.8.60): Client "saili_mducp-1a" (sql) added rlm_sql (sql): Adding client 172.30.8.62 (saili_mducp-2a) to global clients list rlm_sql (172.30.8.62): Client "saili_mducp-2a" (sql) added rlm_sql (sql): Adding client 172.30.8.64 (saili_mducp-3a) to global clients list rlm_sql (172.30.8.64): Client "saili_mducp-3a" (sql) added rlm_sql (sql): Adding client 172.30.8.66 (saili_mducp-4a) to global clients list rlm_sql (172.30.8.66): Client "saili_mducp-4a" (sql) added rlm_sql (sql): Adding client 172.30.8.68 (saili_mducp-5a) to global clients list rlm_sql (172.30.8.68): Client "saili_mducp-5a" (sql) added rlm_sql (sql): Adding client 172.30.8.70 (saili_mducp-6a) to global clients list rlm_sql (172.30.8.70): Client "saili_mducp-6a" (sql) added rlm_sql (sql): Adding client 172.30.8.72 (saili_mducp-7a) to global clients list rlm_sql (172.30.8.72): Client "saili_mducp-7a" (sql) added rlm_sql (sql): Adding client 172.30.8.74 (saili_mducp-8a) to global clients list rlm_sql (172.30.8.74): Client "saili_mducp-8a" (sql) added rlm_sql (sql): Adding client 172.30.8.76 (saili_mducp-9a) to global clients list rlm_sql (172.30.8.76): Client "saili_mducp-9a" (sql) added rlm_sql (sql): Adding client 172.30.8.90 (saili_66escst) to global clients list rlm_sql (172.30.8.90): Client "saili_66escst" (sql) added rlm_sql (sql): Adding client 172.30.8.100 (saili_mdugb-bldg1) to global clients list rlm_sql (172.30.8.100): Client "saili_mdugb-bldg1" (sql) added rlm_sql (sql): Adding client 172.30.8.101 (saili_mdugb-bldg2) to global clients list rlm_sql (172.30.8.101): Client "saili_mdugb-bldg2" (sql) added rlm_sql (sql): Adding client 172.30.8.22 (saili_96n2dnst) to global clients list rlm_sql (172.30.8.22): Client "saili_96n2dnst" (sql) added rlm_sql (sql): Adding client 172.30.8.112 (saili_mducrr-n-4) to global clients list rlm_sql (172.30.8.112): Client "saili_mducrr-n-4" (sql) added rlm_sql (sql): Adding client 172.30.8.113 (saili_mducrr-n-3) to global clients list rlm_sql (172.30.8.113): Client "saili_mducrr-n-3" (sql) added rlm_sql (sql): Adding client 172.30.8.114 (saili_mducrr-n-2) to global clients list rlm_sql (172.30.8.114): Client "saili_mducrr-n-2" (sql) added rlm_sql (sql): Adding client 172.30.8.115 (saili_mducrr-n-1) to global clients list rlm_sql (172.30.8.115): Client "saili_mducrr-n-1" (sql) added rlm_sql (sql): Adding client 172.30.8.124 (saili_mducrr-s-4) to global clients list rlm_sql (172.30.8.124): Client "saili_mducrr-s-4" (sql) added rlm_sql (sql): Adding client 172.30.8.125 (saili_mducrr-s-5) to global clients list rlm_sql (172.30.8.125): Client "saili_mducrr-s-5" (sql) added rlm_sql (sql): Adding client 172.30.8.82 (saili_mdulfts) to global clients list rlm_sql (172.30.8.82): Client "saili_mdulfts" (sql) added rlm_sql (sql): Adding client 172.30.8.131 (saili_mducsq-mpoe) to global clients list rlm_sql (172.30.8.131): Client "saili_mducsq-mpoe" (sql) added rlm_sql (sql): Adding client 172.30.8.132 (saili_mducsq-telco1a) to global clients list rlm_sql (172.30.8.132): Client "saili_mducsq-telco1a" (sql) added rlm_sql (sql): Adding client 172.30.8.133 (saili_mducsq-telco2a) to global clients list rlm_sql (172.30.8.133): Client "saili_mducsq-telco2a" (sql) added rlm_sql (sql): Adding client 172.30.8.134 (saili_mducsq-telco3a) to global clients list rlm_sql (172.30.8.134): Client "saili_mducsq-telco3a" (sql) added rlm_sql (sql): Adding client 172.30.8.135 (saili_mducsq-telco4a) to global clients list rlm_sql (172.30.8.135): Client "saili_mducsq-telco4a" (sql) added rlm_sql (sql): Adding client 172.30.8.136 (saili_mducsq-telco1b) to global clients list rlm_sql (172.30.8.136): Client "saili_mducsq-telco1b" (sql) added rlm_sql (sql): Adding client 172.30.8.137 (saili_mducsq-telco2b) to global clients list rlm_sql (172.30.8.137): Client "saili_mducsq-telco2b" (sql) added rlm_sql (sql): Adding client 172.30.8.138 (saili_mducsq-telco3b) to global clients list rlm_sql (172.30.8.138): Client "saili_mducsq-telco3b" (sql) added rlm_sql (sql): Adding client 172.30.8.139 (saili_mducsq-telco4b) to global clients list rlm_sql (172.30.8.139): Client "saili_mducsq-telco4b" (sql) added rlm_sql (sql): Adding client 172.30.8.140 (saili_mducsq-trm2-flr1) to global clients list rlm_sql (172.30.8.140): Client "saili_mducsq-trm2-flr1" (sql) added rlm_sql (sql): Adding client 172.30.8.141 (saili_mducsq-trm2-flr2) to global clients list rlm_sql (172.30.8.141): Client "saili_mducsq-trm2-flr2" (sql) added rlm_sql (sql): Adding client 172.30.8.142 (saili_mducsq-trm2-flr3) to global clients list rlm_sql (172.30.8.142): Client "saili_mducsq-trm2-flr3" (sql) added rlm_sql (sql): Adding client 172.30.8.143 (saili_mducsq-trm2-flr4) to global clients list rlm_sql (172.30.8.143): Client "saili_mducsq-trm2-flr4" (sql) added rlm_sql (sql): Adding client 172.30.8.144 (saili_mducsq-trm3-flr1) to global clients list rlm_sql (172.30.8.144): Client "saili_mducsq-trm3-flr1" (sql) added rlm_sql (sql): Adding client 172.30.8.145 (saili_mducsq-trm3-flr2) to global clients list rlm_sql (172.30.8.145): Client "saili_mducsq-trm3-flr2" (sql) added rlm_sql (sql): Adding client 172.30.8.146 (saili_mducsq-trm3-flr3) to global clients list rlm_sql (172.30.8.146): Client "saili_mducsq-trm3-flr3" (sql) added rlm_sql (sql): Adding client 172.30.8.147 (saili_mducsq-trm3-flr4) to global clients list rlm_sql (172.30.8.147): Client "saili_mducsq-trm3-flr4" (sql) added rlm_sql (sql): Adding client 147.92.91.35 (saili_1770oldbayshorehwy) to global clients list rlm_sql (147.92.91.35): Client "saili_1770oldbayshorehwy" (sql) added rlm_sql (sql): Released connection (0) [1mNeed 5 more connections to reach 10 spares [0m [1mrlm_sql (sql): Opening additional connection (5), 1 of 27 pending slots used [0m rlm_sql_mysql: Starting connect to MySQL server rlm_sql_mysql: Connected to database 'radiusdb' on db4.domainsx.co via TCP/IP, server version 5.5.56-MariaDB-wsrep, protocol version 10 } # modules radiusd: #### Loading Virtual Servers #### server { # from file /etc/raddb/radiusd.conf } # server server default { # from file /etc/raddb/sites-enabled/default # Loading authenticate {...} # Loading authorize {...} # Loading preacct {...} # Loading accounting {...} # Loading post-proxy {...} # Loading post-auth {...} } # server default server inner-tunnel { # from file /etc/raddb/sites-enabled/inner-tunnel # Loading authenticate {...} # Loading authorize {...} [1m [33mIgnoring "ldap" (see raddb/mods-available/README.rst) [0m # Loading session {...} # Loading post-proxy {...} # Loading post-auth {...} } # server inner-tunnel server coa { # from file /etc/raddb/sites-enabled/coa # Loading recv-coa {...} # Loading send-coa {...} } # server coa server originate-coa.a5-test-he2-cab1110 { # from file /etc/raddb/sites-enabled/originate-coa # Loading pre-proxy {...} [1m [33m/etc/raddb/sites-enabled/originate-coa[964] Wildcard deletion MUST use '!* ANY' [0m } # server originate-coa.a5-test-he2-cab1110 server originate-coa.example.com { # from file /etc/raddb/sites-enabled/originate-coa # Loading pre-proxy {...} # Loading post-proxy {...} } # server originate-coa.example.com radiusd: #### Opening IP addresses and Ports #### listen { type = "coa" virtual_server = "coa" ipaddr = * port = 3799 } 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 coa address * port 3799 bound to server coa 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 52353 Listening on proxy address :: port 37438 [1mReady to process requests [0m (0) Received Access-Request Id 139 from 172.30.0.9:1025 to 172.16.1.57:1812 length 151 (0) Framed-MTU = 1344 (0) EAP-Message = 0x020100160131302d37622d34342d63312d38362d6530 (0) User-Name = "10-7b-44-c1-86-e0" (0) NAS-Port-Type = Ethernet (0) NAS-Port = 1 (0) NAS-Port-Id = "Port 1" (0) Calling-Station-Id = "10-7b-44-c1-86-e0" (0) Called-Station-Id = "9a-86-02-02-5e-01" (0) NAS-IP-Address = 172.30.0.9 (0) Message-Authenticator = 0x9625252632e7ca9d4250e517ef3ae72f (0) # Executing section authorize from file /etc/raddb/sites-enabled/default (0) authorize { (0) policy rewrite_stripped_username { (0) if (&User-Name && (&User-Name =~ /^([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})$/i)) { (0) if (&User-Name && (&User-Name =~ /^([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})$/i)) -> TRUE (0) if (&User-Name && (&User-Name =~ /^([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})$/i)) { (0) update request { (0) EXPAND %{tolower:%{1}%{2}%{3}%{4}%{5}%{6}} (0) --> 107b44c186e0 (0) &Stripped-User-Name := 107b44c186e0 (0) } # update request = noop (0) [updated] = updated (0) } # if (&User-Name && (&User-Name =~ /^([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})$/i)) = updated (0) ... skipping else: Preceding "if" was taken (0) } # policy rewrite_stripped_username = updated (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 !~ /@(.+)\.(.+)$/)) { (0) if ((&User-Name =~ /@/) && (&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) = updated (0) } # policy filter_username = updated (0) [preprocess] = ok (0) update request { (0) EXPAND %{%{Stripped-User-Name}:-%{%{User-Name}:-DEFAULT}} (0) --> 107b44c186e0 (0) SQL-User-Name set to '107b44c186e0' rlm_sql (sql): Reserved connection (1) (0) Executing select query: SELECT groupname FROM radhuntgroup WHERE nasipaddress='172.30.0.9' rlm_sql (sql): Released connection (1) [1mNeed 4 more connections to reach 10 spares [0m [1mrlm_sql (sql): Opening additional connection (6), 1 of 26 pending slots used [0m rlm_sql_mysql: Starting connect to MySQL server rlm_sql_mysql: Connected to database 'radiusdb' on db4.domainsx.co via TCP/IP, server version 5.5.56-MariaDB-wsrep, protocol version 10 (0) EXPAND %{sql:SELECT groupname FROM radhuntgroup WHERE nasipaddress='%{NAS-IP-Address}'} (0) --> mdu_tower1 (0) Huntgroup-Name := mdu_tower1 (0) } # update request = noop (0) [chap] = noop (0) [mschap] = noop (0) [digest] = noop (0) suffix: Checking for suffix after "@" (0) suffix: No '@' in User-Name = "107b44c186e0", looking up realm NULL (0) suffix: No such realm "NULL" (0) [suffix] = noop (0) eap: Peer sent EAP Response (code 2) ID 1 length 22 (0) eap: EAP-Identity reply, returning 'ok' so we can short-circuit the rest of authorize (0) [eap] = ok (0) } # authorize = ok (0) Found Auth-Type = eap (0) # Executing group from file /etc/raddb/sites-enabled/default (0) authenticate { (0) eap: Peer sent packet with method EAP Identity (1) (0) eap: Calling submodule eap_md5 to process data (0) eap_md5: Issuing MD5 Challenge (0) eap: Sending EAP Request (code 1) ID 2 length 22 (0) eap: EAP session adding &reply:State = 0x49fc108149fe1429 (0) [eap] = handled (0) } # authenticate = handled (0) Using Post-Auth-Type Challenge (0) # Executing group from file /etc/raddb/sites-enabled/default (0) Challenge { ... } # empty sub-section is ignored (0) Sent Access-Challenge Id 139 from 172.16.1.57:1812 to 172.30.0.9:1025 length 0 (0) EAP-Message = 0x0102001604104aa0ecdc7f3e04a14d9d86f680cb416d (0) Message-Authenticator = 0x00000000000000000000000000000000 (0) State = 0x49fc108149fe1429bbd0123417670afe (0) Finished request Waking up in 4.9 seconds. (1) Received Access-Request Id 140 from 172.30.0.9:1025 to 172.16.1.57:1812 length 186 (1) Framed-MTU = 1344 (1) EAP-Message = 0x020200270410d4ed48c41dc2fa958fa8e104d724f9c631302d37622d34342d63312d38362d6530 (1) State = 0x49fc108149fe1429bbd0123417670afe (1) User-Name = "10-7b-44-c1-86-e0" (1) NAS-Port-Type = Ethernet (1) NAS-Port = 1 (1) NAS-Port-Id = "Port 1" (1) Calling-Station-Id = "10-7b-44-c1-86-e0" (1) Called-Station-Id = "9a-86-02-02-5e-01" (1) NAS-IP-Address = 172.30.0.9 (1) Message-Authenticator = 0x9e222d9f543a69cdc19fed3c03ae5460 (1) session-state: No cached attributes (1) # Executing section authorize from file /etc/raddb/sites-enabled/default (1) authorize { (1) policy rewrite_stripped_username { (1) if (&User-Name && (&User-Name =~ /^([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})$/i)) { (1) if (&User-Name && (&User-Name =~ /^([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})$/i)) -> TRUE (1) if (&User-Name && (&User-Name =~ /^([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})$/i)) { (1) update request { (1) EXPAND %{tolower:%{1}%{2}%{3}%{4}%{5}%{6}} (1) --> 107b44c186e0 (1) &Stripped-User-Name := 107b44c186e0 (1) } # update request = noop (1) [updated] = updated (1) } # if (&User-Name && (&User-Name =~ /^([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})$/i)) = updated (1) ... skipping else: Preceding "if" was taken (1) } # policy rewrite_stripped_username = updated (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 !~ /@(.+)\.(.+)$/)) { (1) if ((&User-Name =~ /@/) && (&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) = updated (1) } # policy filter_username = updated (1) [preprocess] = ok (1) update request { (1) EXPAND %{%{Stripped-User-Name}:-%{%{User-Name}:-DEFAULT}} (1) --> 107b44c186e0 (1) SQL-User-Name set to '107b44c186e0' rlm_sql (sql): Reserved connection (2) (1) Executing select query: SELECT groupname FROM radhuntgroup WHERE nasipaddress='172.30.0.9' rlm_sql (sql): Released connection (2) (1) EXPAND %{sql:SELECT groupname FROM radhuntgroup WHERE nasipaddress='%{NAS-IP-Address}'} (1) --> mdu_tower1 (1) Huntgroup-Name := mdu_tower1 (1) } # update request = noop (1) [chap] = noop (1) [mschap] = noop (1) [digest] = noop (1) suffix: Checking for suffix after "@" (1) suffix: No '@' in User-Name = "107b44c186e0", looking up realm NULL (1) suffix: No such realm "NULL" (1) [suffix] = noop (1) eap: Peer sent EAP Response (code 2) ID 2 length 39 (1) eap: No EAP Start, assuming it's an on-going EAP conversation (1) [eap] = updated (1) sql: EXPAND %{%{Stripped-User-Name}:-%{%{User-Name}:-DEFAULT}} (1) sql: --> 107b44c186e0 (1) sql: SQL-User-Name set to '107b44c186e0' rlm_sql (sql): Reserved connection (3) (1) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id (1) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = '107b44c186e0' ORDER BY id (1) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = '107b44c186e0' ORDER BY id (1) sql: User found in radcheck table (1) sql: Conditional check items matched, merging assignment check items (1) sql: Cleartext-Password := "107b44c186e0" (1) sql: EXPAND SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id (1) sql: --> SELECT id, username, attribute, value, op FROM radreply WHERE username = '107b44c186e0' ORDER BY id (1) sql: Executing select query: SELECT id, username, attribute, value, op FROM radreply WHERE username = '107b44c186e0' ORDER BY id (1) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority (1) sql: --> SELECT groupname FROM radusergroup WHERE username = '107b44c186e0' ORDER BY priority (1) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = '107b44c186e0' ORDER BY priority (1) sql: User found in the group table (1) sql: EXPAND SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id (1) sql: --> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'saili_mdu_snjs_133_current' ORDER BY id (1) sql: Executing select query: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'saili_mdu_snjs_133_current' ORDER BY id (1) sql: EXPAND SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id (1) sql: --> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'saili_mdu_tower2_current' ORDER BY id (1) sql: Executing select query: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'saili_mdu_tower2_current' ORDER BY id (1) sql: EXPAND SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id (1) sql: --> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'saili_mdu_tower3_current' ORDER BY id (1) sql: Executing select query: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'saili_mdu_tower3_current' ORDER BY id (1) sql: EXPAND SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id (1) sql: --> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'saili_mdu_tower1_current' ORDER BY id (1) sql: Executing select query: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'saili_mdu_tower1_current' ORDER BY id (1) sql: Group "saili_mdu_tower1_current": Conditional check items matched (1) sql: Group "saili_mdu_tower1_current": Merging assignment check items (1) sql: EXPAND SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id (1) sql: --> SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'saili_mdu_tower1_current' ORDER BY id (1) sql: Executing select query: SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'saili_mdu_tower1_current' ORDER BY id (1) sql: Group "saili_mdu_tower1_current": Merging reply items (1) sql: Tunnel-Type := VLAN (1) sql: Tunnel-Medium-Type := IEEE-802 (1) sql: Tunnel-Private-Group-Id := "90" rlm_sql (sql): Released connection (3) (1) [sql] = ok (1) [expiration] = noop (1) [logintime] = noop [1m [33m(1) pap: WARNING: Auth-Type already set. Not setting to PAP [0m (1) [pap] = noop (1) } # authorize = updated (1) Found Auth-Type = eap (1) # Executing group from file /etc/raddb/sites-enabled/default (1) authenticate { (1) eap: Expiring EAP session with state 0x49fc108149fe1429 (1) eap: Finished EAP session with state 0x49fc108149fe1429 (1) eap: Previous EAP request found for state 0x49fc108149fe1429, released from the list (1) eap: Peer sent packet with method EAP MD5 (4) (1) eap: Calling submodule eap_md5 to process data (1) eap: Sending EAP Failure (code 4) ID 2 length 4 (1) eap: Freeing handler (1) [eap] = reject (1) } # authenticate = reject (1) Failed to authenticate the user (1) Using Post-Auth-Type Reject (1) # Executing group from file /etc/raddb/sites-enabled/default (1) Post-Auth-Type REJECT { (1) sql: EXPAND .query (1) sql: --> .query (1) sql: Using query template 'query' rlm_sql (sql): Reserved connection (4) (1) sql: EXPAND %{%{Stripped-User-Name}:-%{%{User-Name}:-DEFAULT}} (1) sql: --> 107b44c186e0 (1) sql: SQL-User-Name set to '107b44c186e0' (1) sql: EXPAND INSERT INTO radpostauth (username, pass, reply, misc, authdate) VALUES ( '%{SQL-User-Name}', '%{%{User-Password}:-%{Chap-Password}}', '%{reply:Packet-Type}', '%{%{Module-Failure-Message}:-%{reply:Reply-Message}}', '%S') (1) sql: --> INSERT INTO radpostauth (username, pass, reply, misc, authdate) VALUES ( '107b44c186e0', '', 'Access-Reject', '', '2018-05-10 21:12:41.107781') (1) sql: Executing query: INSERT INTO radpostauth (username, pass, reply, misc, authdate) VALUES ( '107b44c186e0', '', 'Access-Reject', '', '2018-05-10 21:12:41.107781') (1) sql: SQL query returned: success (1) sql: 1 record(s) updated rlm_sql (sql): Released connection (4) (1) [sql] = ok (1) attr_filter.access_reject: EXPAND %{User-Name} (1) attr_filter.access_reject: --> 10-7b-44-c1-86-e0 (1) attr_filter.access_reject: Matched entry DEFAULT at line 11 (1) [attr_filter.access_reject] = updated (1) [eap] = noop (1) policy remove_reply_message_if_eap { (1) if (&reply:EAP-Message && &reply:Reply-Message) { (1) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE (1) else { (1) [noop] = noop (1) } # else = noop (1) } # policy remove_reply_message_if_eap = noop (1) } # Post-Auth-Type REJECT = updated (1) Delaying response for 1.000000 seconds Waking up in 0.2 seconds. Waking up in 0.7 seconds. (1) Sending delayed response (1) Sent Access-Reject Id 140 from 172.16.1.57:1812 to 172.30.0.9:1025 length 44 (1) EAP-Message = 0x04020004 (1) Message-Authenticator = 0x00000000000000000000000000000000 Waking up in 3.8 seconds. ^C