Hello! I am sorry that my English is so bad. Last time, after I was asked a question with EAP-TTLS + MS-CHAPv2, I tried my best to troubleshoot I couldn't solve it at all, so please help. We are replacing from freeradius v2 to freeradius v3, the settings will take over the previous contents, and the Wifi authentication method will not change from EAP-TTLS + MS-CHAPv2 It is a specification and customer request. In freeradius v2 environment, you can connect with EAP-TTLS + MS-CHAPv2. In Freeradius v3, you can connect with EAP-TTLS + PAP, but you cannot connect with MS-CHAPv2. There is no AD in this environment, everything is done with LDAP, and the password is stored in LDAP with NT Hash. Mapping has the following two mappings. (LDAP is OpenLDAP use ) control:NT-Password := 'sambaNtPassword' control:User-Password := 'sambaNtPassword' In the authentication section I am trying to reference LDAP with Auth-Type LDAP The following error occurs and there is no inquiry. (6) ldap_regularusers: WARNING: You have set "Auth-Type := LDAP" somewhere (6) ldap_regularusers: WARNING: ********************************************* (6) ldap_regularusers: WARNING: * THAT CONFIGURATION IS WRONG. DELETE IT. (6) ldap_regularusers: WARNING: * YOU ARE PREVENTING THE SERVER FROM WORKING (6) ldap_regularusers: WARNING: ********************************************* (6) ldap_regularusers: ERROR: Attribute "User-Password" is required for authentication Please help us solve this problem. Paste the debug log. Please indicate any other information you need. Please help us! ================================== 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/echo including configuration file /etc/raddb/mods-enabled/exec including configuration file /etc/raddb/mods-enabled/expiration including configuration file /etc/raddb/mods-enabled/expr including configuration file /etc/raddb/mods-enabled/files including configuration file /etc/raddb/mods-enabled/linelog including configuration file /etc/raddb/mods-enabled/logintime including configuration file /etc/raddb/mods-enabled/mschap including configuration file /etc/raddb/mods-enabled/ntlm_auth including configuration file /etc/raddb/mods-enabled/pap including configuration file /etc/raddb/mods-enabled/passwd including configuration file /etc/raddb/mods-enabled/preprocess including configuration file /etc/raddb/mods-enabled/radutmp including configuration file /etc/raddb/mods-enabled/realm including configuration file /etc/raddb/mods-enabled/replicate including configuration file /etc/raddb/mods-enabled/soh including configuration file /etc/raddb/mods-enabled/sradutmp including configuration file /etc/raddb/mods-enabled/unix including configuration file /etc/raddb/mods-enabled/unpack including configuration file /etc/raddb/mods-enabled/utf8 including configuration file /etc/raddb/mods-enabled/ldap including configuration file /etc/raddb/mods-available/ldap.attrmap including configuration file /etc/raddb/mods-available/ldap.attrmap including configuration file /etc/raddb/mods-available/ldap.attrmap including configuration file /etc/raddb/mods-enabled/sql including configuration file /etc/raddb/mods-config/sql/main/mysql/queries.conf including configuration file /etc/raddb/mods-config/sql/main/mysql/queries.conf including configuration file /etc/raddb/mods-enabled/eap including files in directory /etc/raddb/policy.d/ including configuration file /etc/raddb/policy.d/accounting including configuration file /etc/raddb/policy.d/canonicalization including configuration file /etc/raddb/policy.d/control including configuration file /etc/raddb/policy.d/cui including configuration file /etc/raddb/policy.d/debug including configuration file /etc/raddb/policy.d/dhcp including configuration file /etc/raddb/policy.d/eap including configuration file /etc/raddb/policy.d/filter including configuration file /etc/raddb/policy.d/operator-name including files in directory /etc/raddb/sites-enabled/ including configuration file /etc/raddb/sites-enabled/default including configuration file /etc/raddb/sites-enabled/inner-tunnel main { security { user = "radiusd" group = "radiusd" allow_core_dumps = no } name = "radiusd" prefix = "/usr" localstatedir = "/var" logdir = "/var/log/radius" run_dir = "/var/run/radiusd" } main { name = "radiusd" prefix = "/usr" localstatedir = "/var" sbindir = "/usr/sbin" logdir = "/var/log/radius" run_dir = "/var/run/radiusd" libdir = "/usr/lib64/freeradius" radacctdir = "/var/log/radius/radacct" hostname_lookups = no max_request_time = 30 cleanup_delay = 5 max_requests = 16384 pidfile = "/var/run/radiusd/radiusd.pid" checkrad = "/usr/sbin/checkrad" debug_level = 0 proxy_requests = yes log { stripped_names = no auth = yes auth_badpass = 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 = yes dead_time = 120 wake_all_if_all_dead = no } realm ~^(.+\.)?hoge\.ac\.jp$ { authhost = LOCAL accthost = LOCAL } realm NULL { authhost = LOCAL accthost = LOCAL } radiusd: #### Loading Clients #### client localhost { ipaddr = 127.0.0.1 require_message_authenticator = no secret = <<< secret >>> nas_type = "other" proto = "*" limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } client top_radius_nii_ver2 { ipaddr = 210.151.94.178 require_message_authenticator = no secret = <<< secret >>> limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } client top_radius_ver2 { ipaddr = 210.151.94.186 require_message_authenticator = no secret = <<< secret >>> limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } client 133.15.250.241 { require_message_authenticator = no secret = <<< secret >>> shortname = "netwlc01" limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } No 'ipaddr' or 'ipv4addr' or 'ipv6addr' field found in client 133.15.250.241. Please fix your configuration Support for old-style clients will be removed in a future release client 133.15.250.242 { require_message_authenticator = no secret = <<< secret >>> shortname = "netwlc02" limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } No 'ipaddr' or 'ipv4addr' or 'ipv6addr' field found in client 133.15.250.242. Please fix your configuration Support for old-style clients will be removed in a future release client 133.15.250.243 { require_message_authenticator = no secret = <<< secret >>> shortname = "netwlauth01" limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } No 'ipaddr' or 'ipv4addr' or 'ipv6addr' field found in client 133.15.250.243. Please fix your configuration Support for old-style clients will be removed in a future release client 133.15.250.244 { require_message_authenticator = no secret = <<< secret >>> shortname = "netwlauth02" limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } No 'ipaddr' or 'ipv4addr' or 'ipv6addr' field found in client 133.15.250.244. Please fix your configuration Support for old-style clients will be removed in a future release client 133.15.250.245 { require_message_authenticator = no secret = <<< secret >>> shortname = "netwlauth" limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } No 'ipaddr' or 'ipv4addr' or 'ipv6addr' field found in client 133.15.250.245. Please fix your configuration Support for old-style clients will be removed in a future release client 133.15.250.254 { require_message_authenticator = no secret = <<< secret >>> shortname = "netmgmtfw" limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } No 'ipaddr' or 'ipv4addr' or 'ipv6addr' field found in client 133.15.250.254. Please fix your configuration Support for old-style clients will be removed in a future release client 133.15.251.3 { require_message_authenticator = no secret = <<< secret >>> shortname = "netfw_gwvpn" limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } No 'ipaddr' or 'ipv4addr' or 'ipv6addr' field found in client 133.15.251.3. Please fix your configuration Support for old-style clients will be removed in a future release client 133.15.254.4 { require_message_authenticator = no secret = <<< secret >>> shortname = "netguestnat" limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } No 'ipaddr' or 'ipv4addr' or 'ipv6addr' field found in client 133.15.254.4. Please fix your configuration Support for old-style clients will be removed in a future release client 133.15.250.10 { require_message_authenticator = no secret = <<< secret >>> shortname = "netwifinat" limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } No 'ipaddr' or 'ipv4addr' or 'ipv6addr' field found in client 133.15.250.10. Please fix your configuration Support for old-style clients will be removed in a future release client 133.15.250.230 { require_message_authenticator = no secret = <<< secret >>> shortname = "netms" limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } No 'ipaddr' or 'ipv4addr' or 'ipv6addr' field found in client 133.15.250.230. Please fix your configuration Support for old-style clients will be removed in a future release client 133.15.103.32 { require_message_authenticator = no secret = <<< secret >>> shortname = "radius0" limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } No 'ipaddr' or 'ipv4addr' or 'ipv6addr' field found in client 133.15.103.32. Please fix your configuration Support for old-style clients will be removed in a future release client 133.15.103.33 { require_message_authenticator = no secret = <<< secret >>> shortname = "radius1" limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } No 'ipaddr' or 'ipv4addr' or 'ipv6addr' field found in client 133.15.103.33. Please fix your configuration Support for old-style clients will be removed in a future release client 133.15.64.48 { require_message_authenticator = no secret = <<< secret >>> shortname = "nakamura-test" limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } No 'ipaddr' or 'ipv4addr' or 'ipv6addr' field found in client 133.15.64.48. Please fix your configuration Support for old-style clients will be removed in a future release client 192.168.0.0/16 { require_message_authenticator = no secret = <<< secret >>> shortname = "n-test" nas_type = "other" limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } No 'ipaddr' or 'ipv4addr' or 'ipv6addr' field found in client 192.168.0.0/16. Please fix your configuration Support for old-style clients will be removed in a future release Debugger not attached # Creating Auth-Type = mschap # Creating Auth-Type = eap # Creating Auth-Type = MS-CHAP # Creating Auth-Type = LDAP radiusd: #### Instantiating modules #### modules { # Loaded module rlm_always # Loading module "reject" from file /etc/raddb/mods-enabled/always always reject { rcode = "reject" simulcount = 0 mpp = no } # Loading module "fail" from file /etc/raddb/mods-enabled/always always fail { rcode = "fail" simulcount = 0 mpp = no } # Loading module "ok" from file /etc/raddb/mods-enabled/always always ok { rcode = "ok" simulcount = 0 mpp = no } # Loading module "handled" from file /etc/raddb/mods-enabled/always always handled { rcode = "handled" simulcount = 0 mpp = no } # Loading module "invalid" from file /etc/raddb/mods-enabled/always always invalid { rcode = "invalid" simulcount = 0 mpp = no } # Loading module "userlock" from file /etc/raddb/mods-enabled/always always userlock { rcode = "userlock" simulcount = 0 mpp = no } # Loading module "notfound" from file /etc/raddb/mods-enabled/always always notfound { rcode = "notfound" simulcount = 0 mpp = no } # Loading module "noop" from file /etc/raddb/mods-enabled/always always noop { rcode = "noop" simulcount = 0 mpp = no } # Loading module "updated" from file /etc/raddb/mods-enabled/always always updated { rcode = "updated" simulcount = 0 mpp = no } # Loaded module rlm_attr_filter # Loading module "attr_filter.post-proxy" from file /etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.post-proxy { filename = "/etc/raddb/mods-config/attr_filter/post-proxy" key = "%{Realm}" relaxed = no } # Loading module "attr_filter.pre-proxy" from file /etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.pre-proxy { filename = "/etc/raddb/mods-config/attr_filter/pre-proxy" key = "%{Realm}" relaxed = no } # Loading module "attr_filter.access_reject" from file /etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.access_reject { filename = "/etc/raddb/mods-config/attr_filter/access_reject" key = "%{User-Name}" relaxed = no } # Loading module "attr_filter.access_challenge" from file /etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.access_challenge { filename = "/etc/raddb/mods-config/attr_filter/access_challenge" key = "%{User-Name}" relaxed = no } # Loading module "attr_filter.accounting_response" from file /etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.accounting_response { filename = "/etc/raddb/mods-config/attr_filter/accounting_response" key = "%{User-Name}" relaxed = no } # Loaded module rlm_cache # Loading module "cache_eap" from file /etc/raddb/mods-enabled/cache_eap cache cache_eap { driver = "rlm_cache_rbtree" key = "%{%{control:State}:-%{%{reply:State}:-%{State}}}" ttl = 15 max_entries = 0 epoch = 0 add_stats = no } # Loaded module rlm_chap # Loading module "chap" from file /etc/raddb/mods-enabled/chap # Loaded module rlm_date # Loading module "date" from file /etc/raddb/mods-enabled/date date { format = "%b %e %Y %H:%M:%S %Z" } # 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_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 = yes require_strong = yes 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_ldap # Loading module "ldap_allusers" from file /etc/raddb/mods-enabled/ldap ldap ldap_allusers { server = "ldap://tyg-ldap-01" port = 636 identity = "uid=radius,ou=systems,dc=edu,dc=hoge,dc=ac,dc=jp" password = <<< secret >>> sasl { } user { scope = "sub" access_positive = yes sasl { } } group { scope = "sub" name_attribute = "cn" cacheable_name = no cacheable_dn = no } client { scope = "sub" base_dn = "" } profile { } options { ldap_debug = 0 net_timeout = 1 res_timeout = 20 srv_timelimit = 20 idle = 60 probes = 3 interval = 3 } tls { ca_file = "/etc/raddb/certs/ldap-client.pem" start_tls = no } } Creating attribute ldap_allusers-LDAP-Group # Loading module "ldap_regularusers" from file /etc/raddb/mods-enabled/ldap ldap ldap_regularusers { server = "ldap://tyg-ldap-01" port = 636 identity = "uid=radius,ou=systems,dc=edu,dc=hoge,dc=ac,dc=jp" password = <<< secret >>> sasl { } user { scope = "sub" access_positive = yes sasl { } } group { scope = "sub" name_attribute = "cn" cacheable_name = no cacheable_dn = no } client { scope = "sub" base_dn = "" } profile { } options { ldap_debug = 0 net_timeout = 1 res_timeout = 20 srv_timelimit = 20 idle = 60 probes = 3 interval = 3 } tls { ca_file = "/etc/raddb/certs/ldap-client.pem" start_tls = no } } Creating attribute ldap_regularusers-LDAP-Group # Loading module "ldap_participant" from file /etc/raddb/mods-enabled/ldap ldap ldap_participant { server = "ldap://tyg-ldap-01" port = 636 identity = "uid=radius,ou=systems,dc=edu,dc=hoge,dc=ac,dc=jp" password = <<< secret >>> sasl { } user { scope = "sub" access_positive = yes sasl { } } group { scope = "sub" name_attribute = "cn" cacheable_name = no cacheable_dn = no } client { scope = "sub" base_dn = "" } profile { } options { ldap_debug = 0 net_timeout = 10 res_timeout = 20 srv_timelimit = 20 idle = 60 probes = 3 interval = 30 } tls { ca_file = "/etc/raddb/certs/ldap-client.pem" start_tls = no } } Creating attribute ldap_participant-LDAP-Group # Loaded module rlm_sql # Loading module "hpcportal_vpn" from file /etc/raddb/mods-enabled/sql sql hpcportal_vpn { driver = "rlm_sql_mysql" server = "192.168.10.10" port = 3306 login = "root" 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 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" 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}' 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}' 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, authdate) VALUES ( '%{SQL-User-Name}', '%{%{User-Password}:-%{Chap-Password}}', '%{reply:Packet-Type}', '%S')" } } rlm_sql (hpcportal_vpn): Driver rlm_sql_mysql (module rlm_sql_mysql) loaded and linked Creating attribute hpcportal_vpn-SQL-Group # Loading module "hpcportal_wifi" from file /etc/raddb/mods-enabled/sql sql hpcportal_wifi { driver = "rlm_sql_mysql" server = "192.168.10.10" port = 3306 login = "root" 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 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" 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}' 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}' 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, authdate) VALUES ( '%{SQL-User-Name}', '%{%{User-Password}:-%{Chap-Password}}', '%{reply:Packet-Type}', '%S')" } } rlm_sql (hpcportal_wifi): Driver rlm_sql_mysql (module rlm_sql_mysql) loaded and linked Creating attribute hpcportal_wifi-SQL-Group # Loaded module rlm_eap # Loading module "eap" from file /etc/raddb/mods-enabled/eap eap { default_eap_type = "ttls" timer_expire = 60 ignore_unknown_eap_types = no cisco_accounting_username_bug = no max_sessions = 16384 } 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 [/etc/raddb/mods-config/attr_filter/access_reject]:11 Check item "FreeRADIUS-Response-Delay" found in filter list for realm "DEFAULT". [/etc/raddb/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/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 "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 "ldap_allusers" from file /etc/raddb/mods-enabled/ldap rlm_ldap: libldap vendor: OpenLDAP, version: 20444 rlm_ldap (ldap_allusers): Couldn't find configuration for accounting, will return NOOP for calls from this section rlm_ldap (ldap_allusers): Couldn't find configuration for post-auth, will return NOOP for calls from this section rlm_ldap (ldap_allusers): Initialising connection pool pool { start = 5 min = 5 max = 10 spare = 3 uses = 0 lifetime = 0 cleanup_interval = 30 idle_timeout = 60 retry_delay = 1 spread = no } rlm_ldap (ldap_allusers): Opening additional connection (0), 1 of 10 pending slots used rlm_ldap (ldap_allusers): Connecting to ldap://tyg-ldap-01:636 rlm_ldap (ldap_allusers): Waiting for bind result... rlm_ldap (ldap_allusers): Bind successful rlm_ldap (ldap_allusers): Opening additional connection (1), 1 of 9 pending slots used rlm_ldap (ldap_allusers): Connecting to ldap://tyg-ldap-01:636 rlm_ldap (ldap_allusers): Waiting for bind result... rlm_ldap (ldap_allusers): Bind successful rlm_ldap (ldap_allusers): Opening additional connection (2), 1 of 8 pending slots used rlm_ldap (ldap_allusers): Connecting to ldap://tyg-ldap-01:636 rlm_ldap (ldap_allusers): Waiting for bind result... rlm_ldap (ldap_allusers): Bind successful rlm_ldap (ldap_allusers): Opening additional connection (3), 1 of 7 pending slots used rlm_ldap (ldap_allusers): Connecting to ldap://tyg-ldap-01:636 rlm_ldap (ldap_allusers): Waiting for bind result... rlm_ldap (ldap_allusers): Bind successful rlm_ldap (ldap_allusers): Opening additional connection (4), 1 of 6 pending slots used rlm_ldap (ldap_allusers): Connecting to ldap://tyg-ldap-01:636 rlm_ldap (ldap_allusers): Waiting for bind result... rlm_ldap (ldap_allusers): Bind successful # Instantiating module "ldap_regularusers" from file /etc/raddb/mods-enabled/ldap rlm_ldap (ldap_regularusers): Couldn't find configuration for accounting, will return NOOP for calls from this section rlm_ldap (ldap_regularusers): Couldn't find configuration for post-auth, will return NOOP for calls from this section rlm_ldap (ldap_regularusers): Initialising connection pool pool { start = 5 min = 5 max = 10 spare = 3 uses = 0 lifetime = 0 cleanup_interval = 30 idle_timeout = 60 retry_delay = 1 spread = no } rlm_ldap (ldap_regularusers): Opening additional connection (0), 1 of 10 pending slots used rlm_ldap (ldap_regularusers): Connecting to ldap://tyg-ldap-01:636 rlm_ldap (ldap_regularusers): Waiting for bind result... rlm_ldap (ldap_regularusers): Bind successful rlm_ldap (ldap_regularusers): Opening additional connection (1), 1 of 9 pending slots used rlm_ldap (ldap_regularusers): Connecting to ldap://tyg-ldap-01:636 rlm_ldap (ldap_regularusers): Waiting for bind result... rlm_ldap (ldap_regularusers): Bind successful rlm_ldap (ldap_regularusers): Opening additional connection (2), 1 of 8 pending slots used rlm_ldap (ldap_regularusers): Connecting to ldap://tyg-ldap-01:636 rlm_ldap (ldap_regularusers): Waiting for bind result... rlm_ldap (ldap_regularusers): Bind successful rlm_ldap (ldap_regularusers): Opening additional connection (3), 1 of 7 pending slots used rlm_ldap (ldap_regularusers): Connecting to ldap://tyg-ldap-01:636 rlm_ldap (ldap_regularusers): Waiting for bind result... rlm_ldap (ldap_regularusers): Bind successful rlm_ldap (ldap_regularusers): Opening additional connection (4), 1 of 6 pending slots used rlm_ldap (ldap_regularusers): Connecting to ldap://tyg-ldap-01:636 rlm_ldap (ldap_regularusers): Waiting for bind result... rlm_ldap (ldap_regularusers): Bind successful # Instantiating module "ldap_participant" from file /etc/raddb/mods-enabled/ldap rlm_ldap (ldap_participant): Couldn't find configuration for accounting, will return NOOP for calls from this section rlm_ldap (ldap_participant): Couldn't find configuration for post-auth, will return NOOP for calls from this section rlm_ldap (ldap_participant): Initialising connection pool pool { start = 5 min = 5 max = 10 spare = 3 uses = 0 lifetime = 0 cleanup_interval = 30 idle_timeout = 60 retry_delay = 1 spread = no } rlm_ldap (ldap_participant): Opening additional connection (0), 1 of 10 pending slots used rlm_ldap (ldap_participant): Connecting to ldap://tyg-ldap-01:636 rlm_ldap (ldap_participant): Waiting for bind result... rlm_ldap (ldap_participant): Bind successful rlm_ldap (ldap_participant): Opening additional connection (1), 1 of 9 pending slots used rlm_ldap (ldap_participant): Connecting to ldap://tyg-ldap-01:636 rlm_ldap (ldap_participant): Waiting for bind result... rlm_ldap (ldap_participant): Bind successful rlm_ldap (ldap_participant): Opening additional connection (2), 1 of 8 pending slots used rlm_ldap (ldap_participant): Connecting to ldap://tyg-ldap-01:636 rlm_ldap (ldap_participant): Waiting for bind result... rlm_ldap (ldap_participant): Bind successful rlm_ldap (ldap_participant): Opening additional connection (3), 1 of 7 pending slots used rlm_ldap (ldap_participant): Connecting to ldap://tyg-ldap-01:636 rlm_ldap (ldap_participant): Waiting for bind result... rlm_ldap (ldap_participant): Bind successful rlm_ldap (ldap_participant): Opening additional connection (4), 1 of 6 pending slots used rlm_ldap (ldap_participant): Connecting to ldap://tyg-ldap-01:636 rlm_ldap (ldap_participant): Waiting for bind result... rlm_ldap (ldap_participant): Bind successful # Instantiating module "hpcportal_vpn" from file /etc/raddb/mods-enabled/sql rlm_sql_mysql: libmysql version: 5.5.60-MariaDB mysql { tls { } warnings = "auto" } rlm_sql (hpcportal_vpn): Attempting to connect to database "radius" rlm_sql (hpcportal_vpn): Initialising connection pool pool { start = 5 min = 5 max = 10 spare = 3 uses = 0 lifetime = 0 cleanup_interval = 30 idle_timeout = 60 retry_delay = 1 spread = no } rlm_sql (hpcportal_vpn): Opening additional connection (0), 1 of 10 pending slots used rlm_sql_mysql: Starting connect to MySQL server rlm_sql_mysql: Connected to database 'radius' on 192.168.10.10 via TCP/IP, server version 5.5.60-MariaDB, protocol version 10 rlm_sql (hpcportal_vpn): Opening additional connection (1), 1 of 9 pending slots used rlm_sql_mysql: Starting connect to MySQL server rlm_sql_mysql: Connected to database 'radius' on 192.168.10.10 via TCP/IP, server version 5.5.60-MariaDB, protocol version 10 rlm_sql (hpcportal_vpn): Opening additional connection (2), 1 of 8 pending slots used rlm_sql_mysql: Starting connect to MySQL server rlm_sql_mysql: Connected to database 'radius' on 192.168.10.10 via TCP/IP, server version 5.5.60-MariaDB, protocol version 10 rlm_sql (hpcportal_vpn): Opening additional connection (3), 1 of 7 pending slots used rlm_sql_mysql: Starting connect to MySQL server rlm_sql_mysql: Connected to database 'radius' on 192.168.10.10 via TCP/IP, server version 5.5.60-MariaDB, protocol version 10 rlm_sql (hpcportal_vpn): Opening additional connection (4), 1 of 6 pending slots used rlm_sql_mysql: Starting connect to MySQL server rlm_sql_mysql: Connected to database 'radius' on 192.168.10.10 via TCP/IP, server version 5.5.60-MariaDB, protocol version 10 # Instantiating module "hpcportal_wifi" from file /etc/raddb/mods-enabled/sql mysql { tls { } warnings = "auto" } rlm_sql (hpcportal_wifi): Attempting to connect to database "radius" rlm_sql (hpcportal_wifi): Initialising connection pool pool { start = 5 min = 5 max = 10 spare = 3 uses = 0 lifetime = 0 cleanup_interval = 30 idle_timeout = 60 retry_delay = 1 spread = no } rlm_sql (hpcportal_wifi): Opening additional connection (0), 1 of 10 pending slots used rlm_sql_mysql: Starting connect to MySQL server rlm_sql_mysql: Connected to database 'radius' on 192.168.10.10 via TCP/IP, server version 5.5.60-MariaDB, protocol version 10 rlm_sql (hpcportal_wifi): Opening additional connection (1), 1 of 9 pending slots used rlm_sql_mysql: Starting connect to MySQL server rlm_sql_mysql: Connected to database 'radius' on 192.168.10.10 via TCP/IP, server version 5.5.60-MariaDB, protocol version 10 rlm_sql (hpcportal_wifi): Opening additional connection (2), 1 of 8 pending slots used rlm_sql_mysql: Starting connect to MySQL server rlm_sql_mysql: Connected to database 'radius' on 192.168.10.10 via TCP/IP, server version 5.5.60-MariaDB, protocol version 10 rlm_sql (hpcportal_wifi): Opening additional connection (3), 1 of 7 pending slots used rlm_sql_mysql: Starting connect to MySQL server rlm_sql_mysql: Connected to database 'radius' on 192.168.10.10 via TCP/IP, server version 5.5.60-MariaDB, protocol version 10 rlm_sql (hpcportal_wifi): Opening additional connection (4), 1 of 6 pending slots used rlm_sql_mysql: Starting connect to MySQL server rlm_sql_mysql: Connected to database 'radius' on 192.168.10.10 via TCP/IP, server version 5.5.60-MariaDB, protocol version 10 rlm_sql (hpcportal_wifi): Processing generate_sql_clients rlm_sql (hpcportal_wifi) in generate_sql_clients: query is SELECT id, nasname, shortname, type, secret, server FROM nas rlm_sql (hpcportal_wifi): Reserved connection (0) rlm_sql (hpcportal_wifi): Executing select query: SELECT id, nasname, shortname, type, secret, server FROM nas rlm_sql (hpcportal_wifi): Released connection (0) # Instantiating module "eap" from file /etc/raddb/mods-enabled/eap # Linked to sub-module rlm_eap_ttls ttls { tls = "tls-common" default_eap_type = "mschapv2" copy_request_to_tunnel = no use_tunneled_reply = yes virtual_server = "inner-tunnel" include_length = yes require_client_cert = no } tls-config tls-common { verify_depth = 0 ca_path = "/etc/raddb/dev_certs" pem_file_type = yes private_key_file = "/etc/raddb/dev_certs/tyg-radius01_key.pem" certificate_file = "/etc/raddb/dev_certs/tyg-radius01_crt.pem" ca_file = "/etc/raddb/dev_certs/chainCA_crt.pem" dh_file = "/etc/raddb/dev_certs/dh" random_file = "/dev/urandom" fragment_size = 1024 include_length = yes auto_chain = yes check_crl = yes check_all_crl = no 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 = no use_nonce = yes timeout = 0 softfail = no } } # 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 } } # 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 {...} Ignoring "ldap" (see raddb/mods-available/README.rst) # Loading preacct {...} # Loading accounting {...} # Loading session {...} # Loading post-proxy {...} # Loading post-auth {...} } # server default server inner-tunnel { # from file /etc/raddb/sites-enabled/inner-tunnel # Loading authenticate {...} # Loading authorize {...} # Loading session {...} # Loading post-proxy {...} # Loading post-auth {...} # Skipping contents of 'if' as it is always 'false' -- /etc/raddb/sites-enabled/inner-tunnel:480 } # server inner-tunnel radiusd: #### Opening IP addresses and Ports #### listen { type = "auth" ipaddr = * port = 0 limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } listen { type = "acct" ipaddr = * port = 0 limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } listen { type = "auth" ipv6addr = :: port = 0 limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } listen { type = "acct" ipv6addr = :: port = 0 limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } listen { type = "auth" ipaddr = 127.0.0.1 port = 18120 } Listening on auth address * port 1812 bound to server default Listening on acct address * port 1813 bound to server default Listening on auth address :: port 1812 bound to server default Listening on acct address :: port 1813 bound to server default Listening on auth address 127.0.0.1 port 18120 bound to server inner-tunnel Ready to process requests (0) Received Access-Request Id 169 from 192.168.200.240:32768 to 192.168.10.12:1812 length 208 (0) User-Name = "anonymous" (0) Calling-Station-Id = "a0-88-69-d3-38-a8" (0) Called-Station-Id = "00-1c-f9-04-f6-d0:BLUE" (0) NAS-Port = 1 (0) Cisco-AVPair = "audit-session-id=c0a8c8f0000000145d04406e" (0) NAS-IP-Address = 192.168.200.240 (0) NAS-Identifier = "WLC4400" (0) Airespace-Wlan-Id = 1 (0) Service-Type = Framed-User (0) Framed-MTU = 1300 (0) NAS-Port-Type = Wireless-802.11 (0) EAP-Message = 0x0202000e01616e6f6e796d6f7573 (0) Message-Authenticator = 0x4c8225dc1f43f05defd7c44742bad6a2 (0) # Executing section authorize from file /etc/raddb/sites-enabled/default (0) authorize { (0) policy rewrite_called_station_id { (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)) -> TRUE (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) update request { (0) EXPAND %{toupper:%{1}-%{2}-%{3}-%{4}-%{5}-%{6}} (0) --> 00-1C-F9-04-F6-D0 (0) &Called-Station-Id := 00-1C-F9-04-F6-D0 (0) } # update request = noop (0) if ("%{8}") { (0) EXPAND %{8} (0) --> BLUE (0) if ("%{8}") -> TRUE (0) if ("%{8}") { (0) update request { (0) EXPAND %{8} (0) --> BLUE (0) &Called-Station-SSID := BLUE (0) } # update request = noop (0) } # if ("%{8}") = noop (0) [updated] = updated (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)) = updated (0) ... skipping else: Preceding "if" was taken (0) } # policy rewrite_called_station_id = updated (0) if (&outer.request) { (0) if (&outer.request) -> FALSE (0) [preprocess] = ok (0) [mschap] = noop (0) [digest] = noop (0) eap: Peer sent EAP Response (code 2) ID 2 length 14 (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_ttls to process data (0) eap_ttls: Initiating new EAP-TLS session (0) eap_ttls: [eaptls start] = request (0) eap: Sending EAP Request (code 1) ID 3 length 6 (0) eap: EAP session adding &reply:State = 0x60d998ae60da8d50 (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 169 from 192.168.10.12:1812 to 192.168.200.240:32768 length 0 (0) EAP-Message = 0x010300061520 (0) Message-Authenticator = 0x00000000000000000000000000000000 (0) State = 0x60d998ae60da8d504c2d509fab15872f (0) Finished request Waking up in 4.9 seconds. (1) Received Access-Request Id 170 from 192.168.200.240:32768 to 192.168.10.12:1812 length 369 (1) User-Name = "anonymous" (1) Calling-Station-Id = "a0-88-69-d3-38-a8" (1) Called-Station-Id = "00-1c-f9-04-f6-d0:BLUE" (1) NAS-Port = 1 (1) Cisco-AVPair = "audit-session-id=c0a8c8f0000000145d04406e" (1) NAS-IP-Address = 192.168.200.240 (1) NAS-Identifier = "WLC4400" (1) Airespace-Wlan-Id = 1 (1) Service-Type = Framed-User (1) Framed-MTU = 1300 (1) NAS-Port-Type = Wireless-802.11 (1) EAP-Message = 0x0203009d158000000093160303008e0100008a03035d5208ecfc0a34f713a2d4bc2ae0b652fa3ebecfdd3d031d95b3fe673bbe1e8600002ac02cc02bc030c02f009f009ec024c023c028c027c00ac009c014c013009d009c003d003c0035002f000a01000037000a00080006001d00170018000b000201 (1) State = 0x60d998ae60da8d504c2d509fab15872f (1) Message-Authenticator = 0x7b96289ddf58b6c0a55c01446425ae2a (1) session-state: No cached attributes (1) # Executing section authorize from file /etc/raddb/sites-enabled/default (1) authorize { (1) policy rewrite_called_station_id { (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)) -> TRUE (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) update request { (1) EXPAND %{toupper:%{1}-%{2}-%{3}-%{4}-%{5}-%{6}} (1) --> 00-1C-F9-04-F6-D0 (1) &Called-Station-Id := 00-1C-F9-04-F6-D0 (1) } # update request = noop (1) if ("%{8}") { (1) EXPAND %{8} (1) --> BLUE (1) if ("%{8}") -> TRUE (1) if ("%{8}") { (1) update request { (1) EXPAND %{8} (1) --> BLUE (1) &Called-Station-SSID := BLUE (1) } # update request = noop (1) } # if ("%{8}") = noop (1) [updated] = updated (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)) = updated (1) ... skipping else: Preceding "if" was taken (1) } # policy rewrite_called_station_id = updated (1) if (&outer.request) { (1) if (&outer.request) -> FALSE (1) [preprocess] = ok (1) [mschap] = noop (1) [digest] = noop (1) eap: Peer sent EAP Response (code 2) ID 3 length 157 (1) eap: Continuing tunnel setup (1) [eap] = ok (1) } # authorize = ok (1) Found Auth-Type = eap (1) # Executing group from file /etc/raddb/sites-enabled/default (1) authenticate { (1) eap: Expiring EAP session with state 0x60d998ae60da8d50 (1) eap: Finished EAP session with state 0x60d998ae60da8d50 (1) eap: Previous EAP request found for state 0x60d998ae60da8d50, released from the list (1) eap: Peer sent packet with method EAP TTLS (21) (1) eap: Calling submodule eap_ttls to process data (1) eap_ttls: Authenticate (1) eap_ttls: Continuing EAP-TLS (1) eap_ttls: Peer indicated complete TLS record size will be 147 bytes (1) eap_ttls: Got complete TLS record (147 bytes) (1) eap_ttls: [eaptls verify] = length included (1) eap_ttls: (other): before/accept initialization (1) eap_ttls: TLS_accept: before/accept initialization (1) eap_ttls: <<< recv TLS 1.2 [length 008e] (1) eap_ttls: TLS_accept: SSLv3 read client hello A (1) eap_ttls: >>> send TLS 1.2 [length 0039] (1) eap_ttls: TLS_accept: SSLv3 write server hello A (1) eap_ttls: >>> send TLS 1.2 [length 06f7] (1) eap_ttls: TLS_accept: SSLv3 write certificate A (1) eap_ttls: >>> send TLS 1.2 [length 014d] (1) eap_ttls: TLS_accept: SSLv3 write key exchange A (1) eap_ttls: >>> send TLS 1.2 [length 0004] (1) eap_ttls: TLS_accept: SSLv3 write server done A (1) eap_ttls: TLS_accept: SSLv3 flush data (1) eap_ttls: TLS_accept: SSLv3 read client certificate A (1) eap_ttls: TLS_accept: Need to read more data: SSLv3 read client key exchange A (1) eap_ttls: TLS_accept: Need to read more data: SSLv3 read client key exchange A (1) eap_ttls: In SSL Handshake Phase (1) eap_ttls: In SSL Accept mode (1) eap_ttls: [eaptls process] = handled (1) eap: Sending EAP Request (code 1) ID 4 length 1014 (1) eap: EAP session adding &reply:State = 0x60d998ae61dd8d50 (1) [eap] = handled (1) } # authenticate = handled (1) Using Post-Auth-Type Challenge (1) # Executing group from file /etc/raddb/sites-enabled/default (1) Challenge { ... } # empty sub-section is ignored (1) Sent Access-Challenge Id 170 from 192.168.10.12:1812 to 192.168.200.240:32768 length 0 (1) EAP-Message = 0x010403f615c000000895160303003902000035030353689ebb66271af363ee4117713fac6e1dbf788079166eaee75ab49c9fba7e6800c03000000dff01000100000b00040300010216030306f70b0006f30006f00003823082037e30820266a003020102020103300d06092a864886f70d01010b050030 (1) Message-Authenticator = 0x00000000000000000000000000000000 (1) State = 0x60d998ae61dd8d504c2d509fab15872f (1) Finished request Waking up in 4.9 seconds. (2) Received Access-Request Id 171 from 192.168.200.240:32768 to 192.168.10.12:1812 length 218 (2) User-Name = "anonymous" (2) Calling-Station-Id = "a0-88-69-d3-38-a8" (2) Called-Station-Id = "00-1c-f9-04-f6-d0:BLUE" (2) NAS-Port = 1 (2) Cisco-AVPair = "audit-session-id=c0a8c8f0000000145d04406e" (2) NAS-IP-Address = 192.168.200.240 (2) NAS-Identifier = "WLC4400" (2) Airespace-Wlan-Id = 1 (2) Service-Type = Framed-User (2) Framed-MTU = 1300 (2) NAS-Port-Type = Wireless-802.11 (2) EAP-Message = 0x020400061500 (2) State = 0x60d998ae61dd8d504c2d509fab15872f (2) Message-Authenticator = 0x3acc438f6bb2a07bd8d7ffe5fdd0c38b (2) session-state: No cached attributes (2) # Executing section authorize from file /etc/raddb/sites-enabled/default (2) authorize { (2) policy rewrite_called_station_id { (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)) -> TRUE (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) update request { (2) EXPAND %{toupper:%{1}-%{2}-%{3}-%{4}-%{5}-%{6}} (2) --> 00-1C-F9-04-F6-D0 (2) &Called-Station-Id := 00-1C-F9-04-F6-D0 (2) } # update request = noop (2) if ("%{8}") { (2) EXPAND %{8} (2) --> BLUE (2) if ("%{8}") -> TRUE (2) if ("%{8}") { (2) update request { (2) EXPAND %{8} (2) --> BLUE (2) &Called-Station-SSID := BLUE (2) } # update request = noop (2) } # if ("%{8}") = noop (2) [updated] = updated (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)) = updated (2) ... skipping else: Preceding "if" was taken (2) } # policy rewrite_called_station_id = updated (2) if (&outer.request) { (2) if (&outer.request) -> FALSE (2) [preprocess] = ok (2) [mschap] = noop (2) [digest] = noop (2) eap: Peer sent EAP Response (code 2) ID 4 length 6 (2) eap: Continuing tunnel setup (2) [eap] = ok (2) } # authorize = ok (2) Found Auth-Type = eap (2) # Executing group from file /etc/raddb/sites-enabled/default (2) authenticate { (2) eap: Expiring EAP session with state 0x60d998ae61dd8d50 (2) eap: Finished EAP session with state 0x60d998ae61dd8d50 (2) eap: Previous EAP request found for state 0x60d998ae61dd8d50, released from the list (2) eap: Peer sent packet with method EAP TTLS (21) (2) eap: Calling submodule eap_ttls to process data (2) eap_ttls: Authenticate (2) eap_ttls: Continuing EAP-TLS (2) eap_ttls: Peer ACKed our handshake fragment (2) eap_ttls: [eaptls verify] = request (2) eap_ttls: [eaptls process] = handled (2) eap: Sending EAP Request (code 1) ID 5 length 1014 (2) eap: EAP session adding &reply:State = 0x60d998ae62dc8d50 (2) [eap] = handled (2) } # authenticate = handled (2) Using Post-Auth-Type Challenge (2) # Executing group from file /etc/raddb/sites-enabled/default (2) Challenge { ... } # empty sub-section is ignored (2) Sent Access-Challenge Id 171 from 192.168.10.12:1812 to 192.168.200.240:32768 length 0 (2) EAP-Message = 0x010503f615c00000089501010b05003046310b3009060355040613024a50310e300c06035504080c05546f6b796f310e300c060355040a0c054d594c41423117301506035504030c0e52414449555320526f6f74204341301e170d3139303730313035323131345a170d3230303633303035323131345a (2) Message-Authenticator = 0x00000000000000000000000000000000 (2) State = 0x60d998ae62dc8d504c2d509fab15872f (2) Finished request Waking up in 4.9 seconds. (3) Received Access-Request Id 172 from 192.168.200.240:32768 to 192.168.10.12:1812 length 218 (3) User-Name = "anonymous" (3) Calling-Station-Id = "a0-88-69-d3-38-a8" (3) Called-Station-Id = "00-1c-f9-04-f6-d0:BLUE" (3) NAS-Port = 1 (3) Cisco-AVPair = "audit-session-id=c0a8c8f0000000145d04406e" (3) NAS-IP-Address = 192.168.200.240 (3) NAS-Identifier = "WLC4400" (3) Airespace-Wlan-Id = 1 (3) Service-Type = Framed-User (3) Framed-MTU = 1300 (3) NAS-Port-Type = Wireless-802.11 (3) EAP-Message = 0x020500061500 (3) State = 0x60d998ae62dc8d504c2d509fab15872f (3) Message-Authenticator = 0x6011673bc47c0a40df27fe7bb656abf6 (3) session-state: No cached attributes (3) # Executing section authorize from file /etc/raddb/sites-enabled/default (3) authorize { (3) policy rewrite_called_station_id { (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)) -> TRUE (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) update request { (3) EXPAND %{toupper:%{1}-%{2}-%{3}-%{4}-%{5}-%{6}} (3) --> 00-1C-F9-04-F6-D0 (3) &Called-Station-Id := 00-1C-F9-04-F6-D0 (3) } # update request = noop (3) if ("%{8}") { (3) EXPAND %{8} (3) --> BLUE (3) if ("%{8}") -> TRUE (3) if ("%{8}") { (3) update request { (3) EXPAND %{8} (3) --> BLUE (3) &Called-Station-SSID := BLUE (3) } # update request = noop (3) } # if ("%{8}") = noop (3) [updated] = updated (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)) = updated (3) ... skipping else: Preceding "if" was taken (3) } # policy rewrite_called_station_id = updated (3) if (&outer.request) { (3) if (&outer.request) -> FALSE (3) [preprocess] = ok (3) [mschap] = noop (3) [digest] = noop (3) eap: Peer sent EAP Response (code 2) ID 5 length 6 (3) eap: Continuing tunnel setup (3) [eap] = ok (3) } # authorize = ok (3) Found Auth-Type = eap (3) # Executing group from file /etc/raddb/sites-enabled/default (3) authenticate { (3) eap: Expiring EAP session with state 0x60d998ae62dc8d50 (3) eap: Finished EAP session with state 0x60d998ae62dc8d50 (3) eap: Previous EAP request found for state 0x60d998ae62dc8d50, released from the list (3) eap: Peer sent packet with method EAP TTLS (21) (3) eap: Calling submodule eap_ttls to process data (3) eap_ttls: Authenticate (3) eap_ttls: Continuing EAP-TLS (3) eap_ttls: Peer ACKed our handshake fragment (3) eap_ttls: [eaptls verify] = request (3) eap_ttls: [eaptls process] = handled (3) eap: Sending EAP Request (code 1) ID 6 length 199 (3) eap: EAP session adding &reply:State = 0x60d998ae63df8d50 (3) [eap] = handled (3) } # authenticate = handled (3) Using Post-Auth-Type Challenge (3) # Executing group from file /etc/raddb/sites-enabled/default (3) Challenge { ... } # empty sub-section is ignored (3) Sent Access-Challenge Id 172 from 192.168.10.12:1812 to 192.168.200.240:32768 length 0 (3) EAP-Message = 0x010600c715800000089555d1f7b8598604be974aba6c877187f18f911042dc34686b707511c99cf1b76318b640002eebcfa0e72b494adb47e1a619e201cc229166687d090e924523311382fa0f6e855452088553f534a83c9e6a270ec389337f6b744c307910fb8f8a0befc085ca559577ae8e924ef29d (3) Message-Authenticator = 0x00000000000000000000000000000000 (3) State = 0x60d998ae63df8d504c2d509fab15872f (3) Finished request Waking up in 4.9 seconds. (4) Received Access-Request Id 173 from 192.168.200.240:32768 to 192.168.10.12:1812 length 348 (4) User-Name = "anonymous" (4) Calling-Station-Id = "a0-88-69-d3-38-a8" (4) Called-Station-Id = "00-1c-f9-04-f6-d0:BLUE" (4) NAS-Port = 1 (4) Cisco-AVPair = "audit-session-id=c0a8c8f0000000145d04406e" (4) NAS-IP-Address = 192.168.200.240 (4) NAS-Identifier = "WLC4400" (4) Airespace-Wlan-Id = 1 (4) Service-Type = Framed-User (4) Framed-MTU = 1300 (4) NAS-Port-Type = Wireless-802.11 (4) EAP-Message = 0x0206008815800000007e1603030046100000424104da456efcbdf65f4236983bc96140fd5b5230fd6f5b8a5b63e4a89417196c53101098927ff1db03edf3f035fb374fb8aa7e3f24d1c74e8b7a55966286dd3be89114030300010116030300280000000000000000bc3c36e0ed5587601267d44f4576b8 (4) State = 0x60d998ae63df8d504c2d509fab15872f (4) Message-Authenticator = 0x083d7480c6072e8a6787605aed118b10 (4) session-state: No cached attributes (4) # Executing section authorize from file /etc/raddb/sites-enabled/default (4) authorize { (4) policy rewrite_called_station_id { (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)) -> TRUE (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) update request { (4) EXPAND %{toupper:%{1}-%{2}-%{3}-%{4}-%{5}-%{6}} (4) --> 00-1C-F9-04-F6-D0 (4) &Called-Station-Id := 00-1C-F9-04-F6-D0 (4) } # update request = noop (4) if ("%{8}") { (4) EXPAND %{8} (4) --> BLUE (4) if ("%{8}") -> TRUE (4) if ("%{8}") { (4) update request { (4) EXPAND %{8} (4) --> BLUE (4) &Called-Station-SSID := BLUE (4) } # update request = noop (4) } # if ("%{8}") = noop (4) [updated] = updated (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)) = updated (4) ... skipping else: Preceding "if" was taken (4) } # policy rewrite_called_station_id = updated (4) if (&outer.request) { (4) if (&outer.request) -> FALSE (4) [preprocess] = ok (4) [mschap] = noop (4) [digest] = noop (4) eap: Peer sent EAP Response (code 2) ID 6 length 136 (4) eap: Continuing tunnel setup (4) [eap] = ok (4) } # authorize = ok (4) Found Auth-Type = eap (4) # Executing group from file /etc/raddb/sites-enabled/default (4) authenticate { (4) eap: Expiring EAP session with state 0x60d998ae63df8d50 (4) eap: Finished EAP session with state 0x60d998ae63df8d50 (4) eap: Previous EAP request found for state 0x60d998ae63df8d50, released from the list (4) eap: Peer sent packet with method EAP TTLS (21) (4) eap: Calling submodule eap_ttls to process data (4) eap_ttls: Authenticate (4) eap_ttls: Continuing EAP-TLS (4) eap_ttls: Peer indicated complete TLS record size will be 126 bytes (4) eap_ttls: Got complete TLS record (126 bytes) (4) eap_ttls: [eaptls verify] = length included (4) eap_ttls: <<< recv TLS 1.2 [length 0046] (4) eap_ttls: TLS_accept: SSLv3 read client key exchange A (4) eap_ttls: TLS_accept: SSLv3 read certificate verify A (4) eap_ttls: <<< recv TLS 1.2 [length 0001] (4) eap_ttls: <<< recv TLS 1.2 [length 0010] (4) eap_ttls: TLS_accept: SSLv3 read finished A (4) eap_ttls: >>> send TLS 1.2 [length 0001] (4) eap_ttls: TLS_accept: SSLv3 write change cipher spec A (4) eap_ttls: >>> send TLS 1.2 [length 0010] (4) eap_ttls: TLS_accept: SSLv3 write finished A (4) eap_ttls: TLS_accept: SSLv3 flush data (4) eap_ttls: (other): SSL negotiation finished successfully (4) eap_ttls: SSL Connection Established (4) eap_ttls: [eaptls process] = handled (4) eap: Sending EAP Request (code 1) ID 7 length 61 (4) eap: EAP session adding &reply:State = 0x60d998ae64de8d50 (4) [eap] = handled (4) } # authenticate = handled (4) Using Post-Auth-Type Challenge (4) # Executing group from file /etc/raddb/sites-enabled/default (4) Challenge { ... } # empty sub-section is ignored (4) Sent Access-Challenge Id 173 from 192.168.10.12:1812 to 192.168.200.240:32768 length 0 (4) EAP-Message = 0x0107003d158000000033140303000101160303002880bd2630b181d4207e40343e1ba49b806407e4e03cc875a9d4d150009d38e2efa2eebbd186025327 (4) Message-Authenticator = 0x00000000000000000000000000000000 (4) State = 0x60d998ae64de8d504c2d509fab15872f (4) Finished request Waking up in 4.9 seconds. (5) Received Access-Request Id 174 from 192.168.200.240:32768 to 192.168.10.12:1812 length 271 (5) User-Name = "anonymous" (5) Calling-Station-Id = "a0-88-69-d3-38-a8" (5) Called-Station-Id = "00-1c-f9-04-f6-d0:BLUE" (5) NAS-Port = 1 (5) Cisco-AVPair = "audit-session-id=c0a8c8f0000000145d04406e" (5) NAS-IP-Address = 192.168.200.240 (5) NAS-Identifier = "WLC4400" (5) Airespace-Wlan-Id = 1 (5) Service-Type = Framed-User (5) Framed-MTU = 1300 (5) NAS-Port-Type = Wireless-802.11 (5) EAP-Message = 0x0207003b158000000031170303002c00000000000000019394690141ac0110789d510f1e080247e7f837b859abf1b7dd4ac2be9f95b365a0e935a0 (5) State = 0x60d998ae64de8d504c2d509fab15872f (5) Message-Authenticator = 0x7cf8ae4fcafea86586726dd339976d6a (5) session-state: No cached attributes (5) # Executing section authorize from file /etc/raddb/sites-enabled/default (5) authorize { (5) policy rewrite_called_station_id { (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)) -> TRUE (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) update request { (5) EXPAND %{toupper:%{1}-%{2}-%{3}-%{4}-%{5}-%{6}} (5) --> 00-1C-F9-04-F6-D0 (5) &Called-Station-Id := 00-1C-F9-04-F6-D0 (5) } # update request = noop (5) if ("%{8}") { (5) EXPAND %{8} (5) --> BLUE (5) if ("%{8}") -> TRUE (5) if ("%{8}") { (5) update request { (5) EXPAND %{8} (5) --> BLUE (5) &Called-Station-SSID := BLUE (5) } # update request = noop (5) } # if ("%{8}") = noop (5) [updated] = updated (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)) = updated (5) ... skipping else: Preceding "if" was taken (5) } # policy rewrite_called_station_id = updated (5) if (&outer.request) { (5) if (&outer.request) -> FALSE (5) [preprocess] = ok (5) [mschap] = noop (5) [digest] = noop (5) eap: Peer sent EAP Response (code 2) ID 7 length 59 (5) eap: Continuing tunnel setup (5) [eap] = ok (5) } # authorize = ok (5) Found Auth-Type = eap (5) # Executing group from file /etc/raddb/sites-enabled/default (5) authenticate { (5) eap: Expiring EAP session with state 0x60d998ae64de8d50 (5) eap: Finished EAP session with state 0x60d998ae64de8d50 (5) eap: Previous EAP request found for state 0x60d998ae64de8d50, released from the list (5) eap: Peer sent packet with method EAP TTLS (21) (5) eap: Calling submodule eap_ttls to process data (5) eap_ttls: Authenticate (5) eap_ttls: Continuing EAP-TLS (5) eap_ttls: Peer indicated complete TLS record size will be 49 bytes (5) eap_ttls: Got complete TLS record (49 bytes) (5) eap_ttls: [eaptls verify] = length included (5) eap_ttls: [eaptls process] = ok (5) eap_ttls: Session established. Proceeding to decode tunneled attributes (5) eap_ttls: Got tunneled request (5) eap_ttls: EAP-Message = 0x0207000b0179616e616769 (5) eap_ttls: FreeRADIUS-Proxied-To = 127.0.0.1 (5) eap_ttls: Got tunneled identity of yanagi (5) eap_ttls: Setting default EAP type for tunneled EAP session (5) eap_ttls: Sending tunneled request (5) Virtual server inner-tunnel received request (5) EAP-Message = 0x0207000b0179616e616769 (5) FreeRADIUS-Proxied-To = 127.0.0.1 (5) User-Name = "yanagi" (5) server inner-tunnel { (5) # Executing section authorize from file /etc/raddb/sites-enabled/inner-tunnel (5) authorize { (5) policy rewrite_called_station_id { (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) else { (5) [noop] = noop (5) } # else = noop (5) } # policy rewrite_called_station_id = noop (5) [mschap] = noop (5) suffix: Checking for suffix after "@" (5) suffix: No '@' in User-Name = "yanagi", looking up realm NULL (5) suffix: Found realm "NULL" (5) suffix: Adding Stripped-User-Name = "yanagi" (5) suffix: Adding Realm = "NULL" (5) suffix: Authentication realm is LOCAL (5) [suffix] = ok (5) eap: Peer sent EAP Response (code 2) ID 7 length 11 (5) eap: EAP-Identity reply, returning 'ok' so we can short-circuit the rest of authorize (5) [eap] = ok (5) } # authorize = ok (5) Found Auth-Type = eap (5) # Executing group from file /etc/raddb/sites-enabled/inner-tunnel (5) authenticate { (5) eap: Peer sent packet with method EAP Identity (1) (5) eap: Calling submodule eap_mschapv2 to process data (5) eap_mschapv2: Issuing Challenge (5) eap: Sending EAP Request (code 1) ID 8 length 43 (5) eap: EAP session adding &reply:State = 0x6c5702ca6c5f18b4 (5) [eap] = handled (5) } # authenticate = handled (5) } # server inner-tunnel (5) Virtual server sending reply (5) EAP-Message = 0x0108002b1a0108002610f6b54d699c36b4a3d29884ab895e35a5667265657261646975732d332e302e3133 (5) Message-Authenticator = 0x00000000000000000000000000000000 (5) State = 0x6c5702ca6c5f18b48c8121cc284df1e5 (5) eap_ttls: Got tunneled Access-Challenge (5) eap: Sending EAP Request (code 1) ID 8 length 91 (5) eap: EAP session adding &reply:State = 0x60d998ae65d18d50 (5) [eap] = handled (5) } # authenticate = handled (5) Using Post-Auth-Type Challenge (5) # Executing group from file /etc/raddb/sites-enabled/default (5) Challenge { ... } # empty sub-section is ignored (5) Sent Access-Challenge Id 174 from 192.168.10.12:1812 to 192.168.200.240:32768 length 0 (5) EAP-Message = 0x0108005b158000000051170303004c80bd2630b181d421c415e5422b48f6af7e7e7164b009affc07bcdef70fdcd296bae1762032fdd4beb3d0f906f573c85d85445b411cdbecd4c116bb12c800ae4102cd57434a064848e8334b1a (5) Message-Authenticator = 0x00000000000000000000000000000000 (5) State = 0x60d998ae65d18d504c2d509fab15872f (5) Finished request Waking up in 1.0 seconds. (6) Received Access-Request Id 175 from 192.168.200.240:32768 to 192.168.10.12:1812 length 327 (6) User-Name = "anonymous" (6) Calling-Station-Id = "a0-88-69-d3-38-a8" (6) Called-Station-Id = "00-1c-f9-04-f6-d0:BLUE" (6) NAS-Port = 1 (6) Cisco-AVPair = "audit-session-id=c0a8c8f0000000145d04406e" (6) NAS-IP-Address = 192.168.200.240 (6) NAS-Identifier = "WLC4400" (6) Airespace-Wlan-Id = 1 (6) Service-Type = Framed-User (6) Framed-MTU = 1300 (6) NAS-Port-Type = Wireless-802.11 (6) EAP-Message = 0x0208007315800000006917030300640000000000000002af2e8a0337c58ffef8802035c1302bf28c20379ded33df720f986787759c6f53419c06152deb397db6b51b3ffb4fd760537c5fdfe9fb7ffd70d7806f417dda9177b4bf5c7e9554308fa6d1054da070e3755c43db709673859e3ff4e9 (6) State = 0x60d998ae65d18d504c2d509fab15872f (6) Message-Authenticator = 0x5d533c0445c6af72308c3cda9c4b634b (6) session-state: No cached attributes (6) # Executing section authorize from file /etc/raddb/sites-enabled/default (6) authorize { (6) policy rewrite_called_station_id { (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)) -> TRUE (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) update request { (6) EXPAND %{toupper:%{1}-%{2}-%{3}-%{4}-%{5}-%{6}} (6) --> 00-1C-F9-04-F6-D0 (6) &Called-Station-Id := 00-1C-F9-04-F6-D0 (6) } # update request = noop (6) if ("%{8}") { (6) EXPAND %{8} (6) --> BLUE (6) if ("%{8}") -> TRUE (6) if ("%{8}") { (6) update request { (6) EXPAND %{8} (6) --> BLUE (6) &Called-Station-SSID := BLUE (6) } # update request = noop (6) } # if ("%{8}") = noop (6) [updated] = updated (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)) = updated (6) ... skipping else: Preceding "if" was taken (6) } # policy rewrite_called_station_id = updated (6) if (&outer.request) { (6) if (&outer.request) -> FALSE (6) [preprocess] = ok (6) [mschap] = noop (6) [digest] = noop (6) eap: Peer sent EAP Response (code 2) ID 8 length 115 (6) eap: Continuing tunnel setup (6) [eap] = ok (6) } # authorize = ok (6) Found Auth-Type = eap (6) # Executing group from file /etc/raddb/sites-enabled/default (6) authenticate { (6) eap: Expiring EAP session with state 0x6c5702ca6c5f18b4 (6) eap: Finished EAP session with state 0x60d998ae65d18d50 (6) eap: Previous EAP request found for state 0x60d998ae65d18d50, released from the list (6) eap: Peer sent packet with method EAP TTLS (21) (6) eap: Calling submodule eap_ttls to process data (6) eap_ttls: Authenticate (6) eap_ttls: Continuing EAP-TLS (6) eap_ttls: Peer indicated complete TLS record size will be 105 bytes (6) eap_ttls: Got complete TLS record (105 bytes) (6) eap_ttls: [eaptls verify] = length included (6) eap_ttls: [eaptls process] = ok (6) eap_ttls: Session established. Proceeding to decode tunneled attributes (6) eap_ttls: Got tunneled request (6) eap_ttls: EAP-Message = 0x020800411a0208003c3199f20c09e1ee119459edb1b180a8925e0000000000000000158f49fe5fe42871f1e3e1554d355ef1594d39eeff73b6320079616e616769 (6) eap_ttls: FreeRADIUS-Proxied-To = 127.0.0.1 (6) eap_ttls: Sending tunneled request (6) Virtual server inner-tunnel received request (6) EAP-Message = 0x020800411a0208003c3199f20c09e1ee119459edb1b180a8925e0000000000000000158f49fe5fe42871f1e3e1554d355ef1594d39eeff73b6320079616e616769 (6) FreeRADIUS-Proxied-To = 127.0.0.1 (6) User-Name = "yanagi" (6) State = 0x6c5702ca6c5f18b48c8121cc284df1e5 (6) server inner-tunnel { (6) session-state: No cached attributes (6) # Executing section authorize from file /etc/raddb/sites-enabled/inner-tunnel (6) authorize { (6) policy rewrite_called_station_id { (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) else { (6) [noop] = noop (6) } # else = noop (6) } # policy rewrite_called_station_id = noop (6) [mschap] = noop (6) suffix: Checking for suffix after "@" (6) suffix: No '@' in User-Name = "yanagi", looking up realm NULL (6) suffix: Found realm "NULL" (6) suffix: Adding Stripped-User-Name = "yanagi" (6) suffix: Adding Realm = "NULL" (6) suffix: Authentication realm is LOCAL (6) [suffix] = ok (6) eap: Peer sent EAP Response (code 2) ID 8 length 65 (6) eap: No EAP Start, assuming it's an on-going EAP conversation (6) [eap] = updated (6) if (&outer.request:NAS-IP-Address =~ /^192\.168\.10\.1[2]{1}$/ || &outer.request:NAS-IP-Address == "192.168.200.240" || &outer.request:NAS-IP-Address == "localhost") { (6) if (&outer.request:NAS-IP-Address =~ /^192\.168\.10\.1[2]{1}$/ || &outer.request:NAS-IP-Address == "192.168.200.240" || &outer.request:NAS-IP-Address == "localhost") -> TRUE (6) if (&outer.request:NAS-IP-Address =~ /^192\.168\.10\.1[2]{1}$/ || &outer.request:NAS-IP-Address == "192.168.200.240" || &outer.request:NAS-IP-Address == "localhost") { (6) if (&outer.request:Called-Station-SSID == 'BLUE') { (6) if (&outer.request:Called-Station-SSID == 'BLUE') -> TRUE (6) if (&outer.request:Called-Station-SSID == 'BLUE') { rlm_ldap (ldap_regularusers): Closing connection (0): Hit idle_timeout, was idle for 294 seconds rlm_ldap (ldap_regularusers): You probably need to lower "min" rlm_ldap (ldap_regularusers): Closing connection (1): Hit idle_timeout, was idle for 294 seconds rlm_ldap (ldap_regularusers): You probably need to lower "min" rlm_ldap (ldap_regularusers): Closing connection (2): Hit idle_timeout, was idle for 294 seconds rlm_ldap (ldap_regularusers): You probably need to lower "min" rlm_ldap (ldap_regularusers): Closing connection (3): Hit idle_timeout, was idle for 293 seconds rlm_ldap (ldap_regularusers): You probably need to lower "min" rlm_ldap (ldap_regularusers): Closing connection (4): Hit idle_timeout, was idle for 293 seconds rlm_ldap (ldap_regularusers): You probably need to lower "min" rlm_ldap (ldap_regularusers): 0 of 0 connections in use. You may need to increase "spare" rlm_ldap (ldap_regularusers): Opening additional connection (5), 1 of 10 pending slots used rlm_ldap (ldap_regularusers): Connecting to ldap://tyg-ldap-01:636 rlm_ldap (ldap_regularusers): Waiting for bind result... rlm_ldap (ldap_regularusers): Bind successful rlm_ldap (ldap_regularusers): Reserved connection (5) (6) ldap_regularusers: EXPAND (&(!(employeeType=participant))(!(employeeType=trainee))(!(hogePersonAccountStatus=03))(!(hogePersonAccountStatus=04))(uid=%{%{Stripped-User-Name}:-%{User-Name}})) (6) ldap_regularusers: --> (&(!(employeeType=participant))(!(employeeType=trainee))(!(hogePersonAccountStatus=03))(!(hogePersonAccountStatus=04))(uid=yanagi)) (6) ldap_regularusers: Performing search in "ou=Users,dc=edu,dc=hoge,dc=ac,dc=jp" with filter "(&(!(employeeType=participant))(!(employeeType=trainee))(!(hogePersonAccountStatus=03))(!(hogePersonAccountStatus=04))(uid=yanagi))", scope "sub" (6) ldap_regularusers: Waiting for search result... (6) ldap_regularusers: User object found at DN "uid=yanagi,ou=Users,dc=edu,dc=hoge,dc=ac,dc=jp" (6) ldap_regularusers: Processing user attributes (6) ldap_regularusers: control:NT-Password := 0x4243353030433041363439353842434531393638383936303344464645343530 (6) ldap_regularusers: control:Password-With-Header := '{SSHA256}Q1iLz8Pc/mkXU/hniRsu3/rpWKOVdjAU/4t2iLynZqdIPFIYPW0elA==' rlm_ldap (ldap_regularusers): Released connection (5) Need 4 more connections to reach min connections (5) rlm_ldap (ldap_regularusers): Opening additional connection (6), 1 of 9 pending slots used rlm_ldap (ldap_regularusers): Connecting to ldap://tyg-ldap-01:636 rlm_ldap (ldap_regularusers): Waiting for bind result... rlm_ldap (ldap_regularusers): Bind successful (6) [ldap_regularusers] = updated (6) update control { (6) &Auth-Type := LDAP (6) } # update control = noop (6) } # if (&outer.request:Called-Station-SSID == 'BLUE') = updated (6) } # if (&outer.request:NAS-IP-Address =~ /^192\.168\.10\.1[2]{1}$/ || &outer.request:NAS-IP-Address == "192.168.200.240" || &outer.request:NAS-IP-Address == "localhost") = updated (6) [expiration] = noop (6) [logintime] = noop (6) } # authorize = updated (6) Found Auth-Type = LDAP (6) # Executing group from file /etc/raddb/sites-enabled/inner-tunnel (6) Auth-Type LDAP { (6) if (&outer.request:NAS-IP-Address =~ /^192\.168\.10\.1[2]{1}$/ || &outer.request:NAS-IP-Address == "192.168.200.240" || &outer.request:NAS-IP-Address == "localhost") { (6) if (&outer.request:NAS-IP-Address =~ /^192\.168\.10\.1[2]{1}$/ || &outer.request:NAS-IP-Address == "192.168.200.240" || &outer.request:NAS-IP-Address == "localhost") -> TRUE (6) if (&outer.request:NAS-IP-Address =~ /^192\.168\.10\.1[2]{1}$/ || &outer.request:NAS-IP-Address == "192.168.200.240" || &outer.request:NAS-IP-Address == "localhost") { (6) if (&outer.request:Called-Station-SSID == 'BLUE') { (6) if (&outer.request:Called-Station-SSID == 'BLUE') -> TRUE (6) if (&outer.request:Called-Station-SSID == 'BLUE') { (6) ldap_regularusers: WARNING: You have set "Auth-Type := LDAP" somewhere (6) ldap_regularusers: WARNING: ********************************************* (6) ldap_regularusers: WARNING: * THAT CONFIGURATION IS WRONG. DELETE IT. (6) ldap_regularusers: WARNING: * YOU ARE PREVENTING THE SERVER FROM WORKING (6) ldap_regularusers: WARNING: ********************************************* (6) ldap_regularusers: ERROR: Attribute "User-Password" is required for authentication (6) [ldap_regularusers] = invalid (6) } # if (&outer.request:Called-Station-SSID == 'BLUE') = invalid (6) } # if (&outer.request:NAS-IP-Address =~ /^192\.168\.10\.1[2]{1}$/ || &outer.request:NAS-IP-Address == "192.168.200.240" || &outer.request:NAS-IP-Address == "localhost") = invalid (6) } # Auth-Type LDAP = invalid (6) Failed to authenticate the user (6) Login incorrect (ldap_regularusers: Attribute "User-Password" is required for authentication): [yanagi/<via Auth-Type = LDAP>] (from client n-test port 0 via TLS tunnel) (6) Using Post-Auth-Type Reject (6) # Executing group from file /etc/raddb/sites-enabled/inner-tunnel (6) Post-Auth-Type REJECT { (6) attr_filter.access_reject: EXPAND %{User-Name} (6) attr_filter.access_reject: --> yanagi (6) attr_filter.access_reject: Matched entry DEFAULT at line 11 (6) [attr_filter.access_reject] = updated (6) update outer.session-state { (6) &Module-Failure-Message := &request:Module-Failure-Message -> 'ldap_regularusers: Attribute "User-Password" is required for authentication' (6) } # update outer.session-state = noop (6) } # Post-Auth-Type REJECT = updated (6) } # server inner-tunnel (6) Virtual server sending reply (6) eap_ttls: Got tunneled Access-Reject (6) eap: ERROR: Failed continuing EAP TTLS (21) session. EAP sub-module failed (6) eap: Sending EAP Failure (code 4) ID 8 length 4 (6) eap: Failed in EAP select (6) [eap] = invalid (6) } # authenticate = invalid (6) Failed to authenticate the user (6) Login incorrect (eap: Failed continuing EAP TTLS (21) session. EAP sub-module failed): [anonymous/<via Auth-Type = eap>] (from client n-test port 1 cli a0-88-69-d3-38-a8) (6) Using Post-Auth-Type Reject (6) # Executing group from file /etc/raddb/sites-enabled/default (6) Post-Auth-Type REJECT { (6) attr_filter.access_reject: EXPAND %{User-Name} (6) attr_filter.access_reject: --> anonymous (6) attr_filter.access_reject: Matched entry DEFAULT at line 11 (6) [attr_filter.access_reject] = updated (6) } # Post-Auth-Type REJECT = updated (6) Delaying response for 1.000000 seconds Waking up in 0.1 seconds. Waking up in 0.7 seconds. (0) Cleaning up request packet ID 169 with timestamp +289 (1) Cleaning up request packet ID 170 with timestamp +289 (2) Cleaning up request packet ID 171 with timestamp +289 (3) Cleaning up request packet ID 172 with timestamp +289 (4) Cleaning up request packet ID 173 with timestamp +289 Waking up in 0.1 seconds. (6) Sending delayed response (6) Sent Access-Reject Id 175 from 192.168.10.12:1812 to 192.168.200.240:32768 length 44 (6) EAP-Message = 0x04080004 (6) Message-Authenticator = 0x00000000000000000000000000000000 Waking up in 3.8 seconds. (5) Cleaning up request packet ID 174 with timestamp +293 Waking up in 0.1 seconds. (6) Cleaning up request packet ID 175 with timestamp +293 Ready to process requests