Failed client authentication on Eduroam FreeRadius server

Tal Nur nurtal at yahoo.com
Fri Apr 19 10:48:55 CEST 2019


I configured Eduroam Freeradius server 3.0.15 and tried to connect to AP from local  realm Windows client but authentication failed.Here is freeradius -X  output:
FreeRADIUS Version 3.0.15Copyright (C) 1999-2017 The FreeRADIUS server project and contributorsThere is NO warranty; not even for MERCHANTABILITY or FITNESS FOR APARTICULAR PURPOSEYou may redistribute copies of FreeRADIUS under the terms of theGNU General Public LicenseFor more information about these matters, see the file named COPYRIGHTStarting - reading configuration files ...including dictionary file /usr/share/freeradius/dictionaryincluding dictionary file /usr/share/freeradius/dictionary.dhcpincluding dictionary file /usr/share/freeradius/dictionary.vqpincluding dictionary file /etc/freeradius/dictionaryincluding configuration file /etc/freeradius/radiusd.confincluding configuration file /etc/freeradius/proxy.confincluding configuration file /etc/freeradius/clients.confincluding files in directory /etc/freeradius/mods-enabled/including configuration file /etc/freeradius/mods-enabled/exprincluding configuration file /etc/freeradius/mods-enabled/realmincluding configuration file /etc/freeradius/mods-enabled/radutmpincluding configuration file /etc/freeradius/mods-enabled/unixincluding configuration file /etc/freeradius/mods-enabled/sqlincluding configuration file /etc/freeradius/mods-enabled/sradutmpincluding configuration file /etc/freeradius/mods-enabled/filesincluding configuration file /etc/freeradius/mods-enabled/alwaysincluding configuration file /etc/freeradius/mods-enabled/echoincluding configuration file /etc/freeradius/mods-enabled/dateincluding configuration file /etc/freeradius/mods-enabled/logintimeincluding configuration file /etc/freeradius/mods-enabled/cache_eapincluding configuration file /etc/freeradius/mods-enabled/detailincluding configuration file /etc/freeradius/mods-enabled/preprocessincluding configuration file /etc/freeradius/mods-enabled/mschapincluding configuration file /etc/freeradius/mods-enabled/digestincluding configuration file /etc/freeradius/mods-enabled/utf8including configuration file /etc/freeradius/mods-enabled/ntlm_authincluding configuration file /etc/freeradius/mods-enabled/replicateincluding configuration file /etc/freeradius/mods-enabled/chapincluding configuration file /etc/freeradius/mods-enabled/passwdincluding configuration file /etc/freeradius/mods-enabled/attr_filterincluding configuration file /etc/freeradius/mods-enabled/sohincluding configuration file /etc/freeradius/mods-enabled/detail.logincluding configuration file /etc/freeradius/mods-enabled/linelogincluding configuration file /etc/freeradius/mods-enabled/unpackincluding configuration file /etc/freeradius/mods-enabled/papincluding configuration file /etc/freeradius/mods-enabled/eapincluding configuration file /etc/freeradius/mods-enabled/execincluding configuration file /etc/freeradius/mods-enabled/expirationincluding configuration file /etc/freeradius/mods-enabled/dynamic_clientsincluding files in directory /etc/freeradius/policy.d/including configuration file /etc/freeradius/policy.d/abfab-trincluding configuration file /etc/freeradius/policy.d/operator-nameincluding configuration file /etc/freeradius/policy.d/filterincluding configuration file /etc/freeradius/policy.d/accountingincluding configuration file /etc/freeradius/policy.d/moonshot-targeted-idsincluding configuration file /etc/freeradius/policy.d/controlincluding configuration file /etc/freeradius/policy.d/cuiincluding configuration file /etc/freeradius/policy.d/dhcpincluding configuration file /etc/freeradius/policy.d/eapincluding configuration file /etc/freeradius/policy.d/debugincluding configuration file /etc/freeradius/policy.d/canonicalizationincluding files in directory /etc/freeradius/sites-enabled/including configuration file /etc/freeradius/sites-enabled/inner-tunnelincluding configuration file /etc/freeradius/sites-enabled/eduroammain { security {  user = "freerad"  group = "freerad"  allow_core_dumps = no } name = "freeradius" prefix = "/usr" localstatedir = "/var" logdir = "/var/log/freeradius" run_dir = "/var/run/freeradius"}main { name = "freeradius" prefix = "/usr" localstatedir = "/var" sbindir = "/usr/sbin" logdir = "/var/log/freeradius" run_dir = "/var/run/freeradius" libdir = "/usr/lib/freeradius" radacctdir = "/var/log/freeradius/radacct" hostname_lookups = no max_request_time = 30 cleanup_delay = 5 max_requests = 16384 pidfile = "/var/run/freeradius/freeradius.pid" checkrad = "/usr/sbin/checkrad" debug_level = 0 proxy_requests = yes log {  stripped_names = no  auth = no  auth_badpass = no  auth_goodpass = no  colourise = yes  msg_denied = "You are already logged in - access denied" } resources { } security {  max_attributes = 200  reject_delay = 1.000000  status_server = yes }}radiusd: #### Loading Realms and Home Servers #### proxy server {  retry_delay = 5  retry_count = 3  default_fallback = no  dead_time = 120  wake_all_if_all_dead = no } home_server kazakhstan {  ipaddr = 89.250.80.13  port = 1812  type = "auth+acct"  secret = <<< secret >>>  response_window = 30.000000  response_timeouts = 1  max_outstanding = 65536  zombie_period = 40  status_check = "status-server"  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 localhost {  ipaddr = 127.0.0.1  port = 1812  type = "auth"  secret = <<< secret >>>  response_window = 20.000000  response_timeouts = 1  max_outstanding = 65536  zombie_period = 40  status_check = "status-server"  ping_interval = 30  check_interval = 30  check_timeout = 4  num_answers_to_alive = 3  revive_interval = 120  limit {   max_connections = 16   max_requests = 0   lifetime = 0   idle_timeout = 0  }  coa {   irt = 2   mrt = 16   mrc = 5   mrd = 30  } } home_server_pool EDUROAM { type = fail-over home_server = kazakhstan } realm ~.+$ { pool = EDUROAM nostrip } home_server_pool my_auth_failover { type = fail-over home_server = localhost } realm example.com { auth_pool = my_auth_failover } realm LOCAL { } realm kazrena.kz { nostrip }radiusd: #### Loading Clients #### client kazakhstan-flrs1 {  ipaddr = 89.250.80.13  netmask = 32  require_message_authenticator = yes  secret = <<< secret >>>  shortname = "kaz-flrs1"  virtual_server = "eduroam"  limit {   max_connections = 16   lifetime = 0   idle_timeout = 30  } } client localhost {  ipaddr = 127.0.0.1  require_message_authenticator = no  secret = <<< secret >>>  nas_type = "other"  proto = "*"  limit {   max_connections = 16   lifetime = 0   idle_timeout = 30  } } client localhost_ipv6 {  ipv6addr = ::1  require_message_authenticator = no  secret = <<< secret >>>  limit {   max_connections = 16   lifetime = 0   idle_timeout = 30  } } client kazrena-Access_Point1 {  ipaddr = 89.250.80.136  netmask = 32  require_message_authenticator = yes  secret = <<< secret >>>  shortname = "D-Link_AP"  virtual_server = "eduroam"  limit {   max_connections = 16   lifetime = 0   idle_timeout = 30  } }Debugger not attached # Creating Auth-Type = eap # Creating Auth-Type = PAP # Creating Auth-Type = MS-CHAPradiusd: #### Instantiating modules #### modules {  # Loaded module rlm_expr  # Loading module "expr" from file /etc/freeradius/mods-enabled/expr  expr {   safe_characters = "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /äéöüàâæçèéêëîïôœùûüaÿÄÉÖÜßÀÂÆÇÈÉÊËÎÏÔŒÙÛÜŸ"  }  # Loaded module rlm_realm  # Loading module "IPASS" from file /etc/freeradius/mods-enabled/realm  realm IPASS {   format = "prefix"   delimiter = "/"   ignore_default = no   ignore_null = no  }  # Loading module "suffix" from file /etc/freeradius/mods-enabled/realm  realm suffix {   format = "suffix"   delimiter = "@"   ignore_default = no   ignore_null = no  }  # Loading module "realmpercent" from file /etc/freeradius/mods-enabled/realm  realm realmpercent {   format = "suffix"   delimiter = "%"   ignore_default = no   ignore_null = no  }  # Loading module "ntdomain" from file /etc/freeradius/mods-enabled/realm  realm ntdomain {   format = "prefix"   delimiter = "\\"   ignore_default = no   ignore_null = no  }  # Loaded module rlm_radutmp  # Loading module "radutmp" from file /etc/freeradius/mods-enabled/radutmp  radutmp {   filename = "/var/log/freeradius/radutmp"   username = "%{User-Name}"   case_sensitive = yes   check_with_nas = yes   permissions = 384   caller_id = yes  }  # Loaded module rlm_unix  # Loading module "unix" from file /etc/freeradius/mods-enabled/unix  unix {   radwtmp = "/var/log/freeradius/radwtmp"  }Creating attribute Unix-Group  # Loaded module rlm_sql  # Loading module "sql" from file /etc/freeradius/mods-enabled/sql  sql {   driver = "rlm_sql_mysql"   server = "localhost"   port = 0   login = "radius"   password = <<< secret >>>   radius_db = "radius"   read_groups = yes   read_profiles = yes   read_clients = yes   delete_stale_sessions = yes   sql_user_name = ""   default_user_profile = ""   client_query = "SELECT id,nasname,shortname,type,secret FROM nas"   safe_characters = "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /"   accounting {    reference = ".query"    type {     accounting-on {     }     accounting-off {     }     start {     }     interim-update {     }     stop {     }    }   }   post-auth {    reference = ".query"   }  }rlm_sql (sql): Driver rlm_sql_mysql (module rlm_sql_mysql) loaded and linked  # Loading module "sradutmp" from file /etc/freeradius/mods-enabled/sradutmp  radutmp sradutmp {   filename = "/var/log/freeradius/sradutmp"   username = "%{User-Name}"   case_sensitive = yes   check_with_nas = yes   permissions = 420   caller_id = no  }  # Loaded module rlm_files  # Loading module "files" from file /etc/freeradius/mods-enabled/files  files {   filename = "/etc/freeradius/mods-config/files/authorize"   acctusersfile = "/etc/freeradius/mods-config/files/accounting"   preproxy_usersfile = "/etc/freeradius/mods-config/files/pre-proxy"  }  # Loaded module rlm_always  # Loading module "reject" from file /etc/freeradius/mods-enabled/always  always reject {   rcode = "reject"   simulcount = 0   mpp = no  }  # Loading module "fail" from file /etc/freeradius/mods-enabled/always  always fail {   rcode = "fail"   simulcount = 0   mpp = no  }  # Loading module "ok" from file /etc/freeradius/mods-enabled/always  always ok {   rcode = "ok"   simulcount = 0   mpp = no  }  # Loading module "handled" from file /etc/freeradius/mods-enabled/always  always handled {   rcode = "handled"   simulcount = 0   mpp = no  }  # Loading module "invalid" from file /etc/freeradius/mods-enabled/always  always invalid {   rcode = "invalid"   simulcount = 0   mpp = no  }  # Loading module "userlock" from file /etc/freeradius/mods-enabled/always  always userlock {   rcode = "userlock"   simulcount = 0   mpp = no  }  # Loading module "notfound" from file /etc/freeradius/mods-enabled/always  always notfound {   rcode = "notfound"   simulcount = 0   mpp = no  }  # Loading module "noop" from file /etc/freeradius/mods-enabled/always  always noop {   rcode = "noop"   simulcount = 0   mpp = no  }  # Loading module "updated" from file /etc/freeradius/mods-enabled/always  always updated {   rcode = "updated"   simulcount = 0   mpp = no  }  # Loaded module rlm_exec  # Loading module "echo" from file /etc/freeradius/mods-enabled/echo  exec echo {   wait = yes   program = "/bin/echo %{User-Name}"   input_pairs = "request"   output_pairs = "reply"   shell_escape = yes  }  # Loaded module rlm_date  # Loading module "date" from file /etc/freeradius/mods-enabled/date  date {   format = "%b %e %Y %H:%M:%S %Z"   utc = no  }  # Loaded module rlm_logintime  # Loading module "logintime" from file /etc/freeradius/mods-enabled/logintime  logintime {   minimum_timeout = 60  }  # Loaded module rlm_cache  # Loading module "cache_eap" from file /etc/freeradius/mods-enabled/cache_eap  cache cache_eap {   driver = "rlm_cache_rbtree"   key = "%{%{control:State}:-%{%{reply:State}:-%{State}}}"   ttl = 15   max_entries = 0   epoch = 0   add_stats = no  }  # Loaded module rlm_detail  # Loading module "detail" from file /etc/freeradius/mods-enabled/detail  detail {   filename = "/var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d"   header = "%t"   permissions = 384   locking = no   escape_filenames = no   log_packet_header = no  }  # Loaded module rlm_preprocess  # Loading module "preprocess" from file /etc/freeradius/mods-enabled/preprocess  preprocess {   huntgroups = "/etc/freeradius/mods-config/preprocess/huntgroups"   hints = "/etc/freeradius/mods-config/preprocess/hints"   with_ascend_hack = no   ascend_channels_per_line = 23   with_ntdomain_hack = no   with_specialix_jetstream_hack = no   with_cisco_vsa_hack = no   with_alvarion_vsa_hack = no  }  # Loaded module rlm_mschap  # Loading module "mschap" from file /etc/freeradius/mods-enabled/mschap  mschap {   use_mppe = yes   require_encryption = no   require_strong = no   with_ntdomain_hack = yes   passchange {   }   allow_retry = yes   winbind_retry_with_normalised_username = no  }  # Loaded module rlm_digest  # Loading module "digest" from file /etc/freeradius/mods-enabled/digest  # Loaded module rlm_utf8  # Loading module "utf8" from file /etc/freeradius/mods-enabled/utf8  # Loading module "ntlm_auth" from file /etc/freeradius/mods-enabled/ntlm_auth  exec ntlm_auth {   wait = yes   program = "/path/to/ntlm_auth --request-nt-key --domain=MYDOMAIN --username=%{mschap:User-Name} --password=%{User-Password}"   shell_escape = yes  }  # Loaded module rlm_replicate  # Loading module "replicate" from file /etc/freeradius/mods-enabled/replicate  # Loaded module rlm_chap  # Loading module "chap" from file /etc/freeradius/mods-enabled/chap  # Loaded module rlm_passwd  # Loading module "etc_passwd" from file /etc/freeradius/mods-enabled/passwd  passwd etc_passwd {   filename = "/etc/passwd"   format = "*User-Name:Crypt-Password:"   delimiter = ":"   ignore_nislike = no   ignore_empty = yes   allow_multiple_keys = no   hash_size = 100  }  # Loaded module rlm_attr_filter  # Loading module "attr_filter.post-proxy" from file /etc/freeradius/mods-enabled/attr_filter  attr_filter attr_filter.post-proxy {   filename = "/etc/freeradius/mods-config/attr_filter/post-proxy"   key = "%{Realm}"   relaxed = no  }  # Loading module "attr_filter.pre-proxy" from file /etc/freeradius/mods-enabled/attr_filter  attr_filter attr_filter.pre-proxy {   filename = "/etc/freeradius/mods-config/attr_filter/pre-proxy"   key = "%{Realm}"   relaxed = no  }  # Loading module "attr_filter.access_reject" from file /etc/freeradius/mods-enabled/attr_filter  attr_filter attr_filter.access_reject {   filename = "/etc/freeradius/mods-config/attr_filter/access_reject"   key = "%{User-Name}"   relaxed = no  }  # Loading module "attr_filter.access_challenge" from file /etc/freeradius/mods-enabled/attr_filter  attr_filter attr_filter.access_challenge {   filename = "/etc/freeradius/mods-config/attr_filter/access_challenge"   key = "%{User-Name}"   relaxed = no  }  # Loading module "attr_filter.accounting_response" from file /etc/freeradius/mods-enabled/attr_filter  attr_filter attr_filter.accounting_response {   filename = "/etc/freeradius/mods-config/attr_filter/accounting_response"   key = "%{User-Name}"   relaxed = no  }  # Loaded module rlm_soh  # Loading module "soh" from file /etc/freeradius/mods-enabled/soh  soh {   dhcp = yes  }  # Loading module "auth_log" from file /etc/freeradius/mods-enabled/detail.log  detail auth_log {   filename = "/var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d"   header = "%t"   permissions = 384   locking = no   escape_filenames = no   log_packet_header = no  }  # Loading module "reply_log" from file /etc/freeradius/mods-enabled/detail.log  detail reply_log {   filename = "/var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/reply-detail-%Y%m%d"   header = "%t"   permissions = 384   locking = no   escape_filenames = no   log_packet_header = no  }  # Loading module "pre_proxy_log" from file /etc/freeradius/mods-enabled/detail.log  detail pre_proxy_log {   filename = "/var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/pre-proxy-detail-%Y%m%d"   header = "%t"   permissions = 384   locking = no   escape_filenames = no   log_packet_header = no  }  # Loading module "post_proxy_log" from file /etc/freeradius/mods-enabled/detail.log  detail post_proxy_log {   filename = "/var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/post-proxy-detail-%Y%m%d"   header = "%t"   permissions = 384   locking = no   escape_filenames = no   log_packet_header = no  }  # Loaded module rlm_linelog  # Loading module "linelog" from file /etc/freeradius/mods-enabled/linelog  linelog {   filename = "/var/log/freeradius/linelog"   escape_filenames = no   syslog_severity = "info"   permissions = 384   format = "This is a log message for %{User-Name}"   reference = "messages.%{%{reply:Packet-Type}:-default}"  }  # Loading module "log_accounting" from file /etc/freeradius/mods-enabled/linelog  linelog log_accounting {   filename = "/var/log/freeradius/linelog-accounting"   escape_filenames = no   syslog_severity = "info"   permissions = 384   format = ""   reference = "Accounting-Request.%{%{Acct-Status-Type}:-unknown}"  }  # Loaded module rlm_unpack  # Loading module "unpack" from file /etc/freeradius/mods-enabled/unpack  # Loaded module rlm_pap  # Loading module "pap" from file /etc/freeradius/mods-enabled/pap  pap {   normalise = yes  }  # Loaded module rlm_eap  # Loading module "eap" from file /etc/freeradius/mods-enabled/eap  eap {   default_eap_type = "md5"   timer_expire = 60   ignore_unknown_eap_types = no   cisco_accounting_username_bug = no   max_sessions = 16384  }  # Loading module "exec" from file /etc/freeradius/mods-enabled/exec  exec {   wait = no   input_pairs = "request"   shell_escape = yes   timeout = 10  }  # Loaded module rlm_expiration  # Loading module "expiration" from file /etc/freeradius/mods-enabled/expiration  # Loaded module rlm_dynamic_clients  # Loading module "dynamic_clients" from file /etc/freeradius/mods-enabled/dynamic_clients  instantiate {  }  # Instantiating module "IPASS" from file /etc/freeradius/mods-enabled/realm  # Instantiating module "suffix" from file /etc/freeradius/mods-enabled/realm  # Instantiating module "realmpercent" from file /etc/freeradius/mods-enabled/realm  # Instantiating module "ntdomain" from file /etc/freeradius/mods-enabled/realm  # Instantiating module "sql" from file /etc/freeradius/mods-enabled/sqlrlm_sql_mysql: libmysql version: 5.7.25   mysql {    tls {    }    warnings = "auto"   }rlm_sql (sql): Attempting to connect to database "radius"rlm_sql (sql): 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 (sql): Opening additional connection (0), 1 of 10 pending slots usedrlm_sql_mysql: Starting connect to MySQL serverrlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 5.7.25-0ubuntu0.16.04.2, protocol version 10rlm_sql (sql): Opening additional connection (1), 1 of 9 pending slots usedrlm_sql_mysql: Starting connect to MySQL serverrlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 5.7.25-0ubuntu0.16.04.2, protocol version 10rlm_sql (sql): Opening additional connection (2), 1 of 8 pending slots usedrlm_sql_mysql: Starting connect to MySQL serverrlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 5.7.25-0ubuntu0.16.04.2, protocol version 10rlm_sql (sql): Opening additional connection (3), 1 of 7 pending slots usedrlm_sql_mysql: Starting connect to MySQL serverrlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 5.7.25-0ubuntu0.16.04.2, protocol version 10rlm_sql (sql): Opening additional connection (4), 1 of 6 pending slots usedrlm_sql_mysql: Starting connect to MySQL serverrlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 5.7.25-0ubuntu0.16.04.2, protocol version 10rlm_sql (sql): Processing generate_sql_clientsrlm_sql (sql) in generate_sql_clients: query is SELECT id,nasname,shortname,type,secret FROM nasrlm_sql (sql): Reserved connection (0)rlm_sql (sql): Executing select query: SELECT id,nasname,shortname,type,secret FROM nasrlm_sql (sql): Released connection (0)  # Instantiating module "files" from file /etc/freeradius/mods-enabled/filesreading pairlist file /etc/freeradius/mods-config/files/authorizereading pairlist file /etc/freeradius/mods-config/files/accountingreading pairlist file /etc/freeradius/mods-config/files/pre-proxy  # Instantiating module "reject" from file /etc/freeradius/mods-enabled/always  # Instantiating module "fail" from file /etc/freeradius/mods-enabled/always  # Instantiating module "ok" from file /etc/freeradius/mods-enabled/always  # Instantiating module "handled" from file /etc/freeradius/mods-enabled/always  # Instantiating module "invalid" from file /etc/freeradius/mods-enabled/always  # Instantiating module "userlock" from file /etc/freeradius/mods-enabled/always  # Instantiating module "notfound" from file /etc/freeradius/mods-enabled/always  # Instantiating module "noop" from file /etc/freeradius/mods-enabled/always  # Instantiating module "updated" from file /etc/freeradius/mods-enabled/always  # Instantiating module "logintime" from file /etc/freeradius/mods-enabled/logintime  # Instantiating module "cache_eap" from file /etc/freeradius/mods-enabled/cache_eaprlm_cache (cache_eap): Driver rlm_cache_rbtree (module rlm_cache_rbtree) loaded and linked  # Instantiating module "detail" from file /etc/freeradius/mods-enabled/detail  # Instantiating module "preprocess" from file /etc/freeradius/mods-enabled/preprocessreading pairlist file /etc/freeradius/mods-config/preprocess/huntgroupsreading pairlist file /etc/freeradius/mods-config/preprocess/hints  # Instantiating module "mschap" from file /etc/freeradius/mods-enabled/mschaprlm_mschap (mschap): using internal authentication  # Instantiating module "etc_passwd" from file /etc/freeradius/mods-enabled/passwdrlm_passwd: nfields: 3 keyfield 0(User-Name) listable: no  # Instantiating module "attr_filter.post-proxy" from file /etc/freeradius/mods-enabled/attr_filterreading pairlist file /etc/freeradius/mods-config/attr_filter/post-proxy  # Instantiating module "attr_filter.pre-proxy" from file /etc/freeradius/mods-enabled/attr_filterreading pairlist file /etc/freeradius/mods-config/attr_filter/pre-proxy  # Instantiating module "attr_filter.access_reject" from file /etc/freeradius/mods-enabled/attr_filterreading pairlist file /etc/freeradius/mods-config/attr_filter/access_reject[/etc/freeradius/mods-config/attr_filter/access_reject]:11 Check item "FreeRADIUS-Response-Delay"  found in filter list for realm "DEFAULT". [/etc/freeradius/mods-config/attr_filter/access_reject]:11 Check item "FreeRADIUS-Response-Delay-USec"  found in filter list for realm "DEFAULT".   # Instantiating module "attr_filter.access_challenge" from file /etc/freeradius/mods-enabled/attr_filterreading pairlist file /etc/freeradius/mods-config/attr_filter/access_challenge  # Instantiating module "attr_filter.accounting_response" from file /etc/freeradius/mods-enabled/attr_filterreading pairlist file /etc/freeradius/mods-config/attr_filter/accounting_response  # Instantiating module "auth_log" from file /etc/freeradius/mods-enabled/detail.logrlm_detail (auth_log): 'User-Password' suppressed, will not appear in detail output  # Instantiating module "reply_log" from file /etc/freeradius/mods-enabled/detail.log  # Instantiating module "pre_proxy_log" from file /etc/freeradius/mods-enabled/detail.log  # Instantiating module "post_proxy_log" from file /etc/freeradius/mods-enabled/detail.log  # Instantiating module "linelog" from file /etc/freeradius/mods-enabled/linelog  # Instantiating module "log_accounting" from file /etc/freeradius/mods-enabled/linelog  # Instantiating module "pap" from file /etc/freeradius/mods-enabled/pap  # Instantiating module "eap" from file /etc/freeradius/mods-enabled/eap   # Linked to sub-module rlm_eap_md5   # Linked to sub-module rlm_eap_leap   # Linked to sub-module rlm_eap_gtc   gtc {    challenge = "Password: "    auth_type = "PAP"   }   # Linked to sub-module rlm_eap_tls   tls {    tls = "tls-common"   }   tls-config tls-common {    verify_depth = 0    ca_path = "/etc/freeradius/certs"    pem_file_type = yes    private_key_file = "/etc/freeradius/certs/server.pem"    certificate_file = "/etc/freeradius/certs/server.pem"    ca_file = "/etc/freeradius/certs/ca.pem"    private_key_password = <<< secret >>>    dh_file = "/etc/freeradius/certs/dh"    fragment_size = 1024    include_length = yes    auto_chain = yes    check_crl = no    check_all_crl = no    cipher_list = "DEFAULT"    cipher_server_preference = no    ecdh_curve = "prime256v1"    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 = "mschapv2"    copy_request_to_tunnel = yes    use_tunneled_reply = yes    virtual_server = "eduroam-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 = "eduroam-inner-tunnel"    soh = no    require_client_cert = no   }tls: Using cached TLS configuration from previous invocation   # Linked to sub-module rlm_eap_mschapv2   mschapv2 {    with_ntdomain_hack = no    send_error = no   }  # Instantiating module "expiration" from file /etc/freeradius/mods-enabled/expiration } # modulesradiusd: #### Loading Virtual Servers ####server { # from file /etc/freeradius/radiusd.conf} # serverserver eduroam-inner-tunnel { # from file /etc/freeradius/sites-enabled/inner-tunnel # Loading authenticate {...} # Loading authorize {...} # Loading post-auth {...}} # server eduroam-inner-tunnelserver eduroam { # from file /etc/freeradius/sites-enabled/eduroam # Loading authenticate {...} # Loading authorize {...} # Loading preacct {...} # Loading accounting {...} # Loading pre-proxy {...} # Loading post-proxy {...} # Loading post-auth {...}} # server eduroamradiusd: #### Opening IP addresses and Ports ####listen {   type = "auth"   ipaddr = 127.0.0.1   port = 18120}listen {   type = "auth"   ipaddr = *   port = 1812}listen {   type = "acct"   ipaddr = *   port = 1813}listen {   type = "auth"   ipv6addr = ::   port = 1812}listen {   type = "acct"   ipv6addr = ::   port = 1813}Listening on auth address 127.0.0.1 port 18120 bound to server eduroam-inner-tunnelListening on auth address * port 1812 bound to server eduroamListening on acct address * port 1813 bound to server eduroamListening on auth address :: port 1812 bound to server eduroamListening on acct address :: port 1813 bound to server eduroamListening on proxy address * port 39069Listening on proxy address :: port 51496Ready to process requests(0) Received Status-Server Id 0 from 89.250.80.13:37328 to 89.250.80.130:1812 length 38(0)   Message-Authenticator = 0xa0869a0cfcc5c99b8c02b3003bf59fd5(0) Sent Access-Accept Id 0 from 89.250.80.130:1812 to 89.250.80.13:37328 length 0(0) Finished requestWaking up in 4.9 seconds.(0) Cleaning up request packet ID 0 with timestamp +24Ready to process requests(1) Received Access-Request Id 0 from 89.250.80.136:1117 to 89.250.80.130:1812 length 213(1)   Message-Authenticator = 0x0083de2f19d2f059d3d800138a6f7374(1)   Service-Type = Framed-User(1)   User-Name = "sake at kazrena.kz"(1)   Framed-MTU = 1488(1)   Called-Station-Id = "00-22-B0-0C-84-71:eduroam"(1)   Calling-Station-Id = "18-F4-6A-33-41-A5"(1)   NAS-Identifier = "D-Link Access Point"(1)   NAS-Port-Type = Wireless-802.11(1)   Connect-Info = "CONNECT 54Mbps 802.11g"(1)   EAP-Message = 0x020000140173616b65406b617a72656e612e6b7a(1)   NAS-IP-Address = 89.250.80.136(1)   NAS-Port = 1(1)   NAS-Port-Id = "STA port # 1"(1) # Executing section authorize from file /etc/freeradius/sites-enabled/eduroam(1)   authorize {(1)     policy filter_username {(1)       if (&User-Name) {(1)       if (&User-Name)  -> TRUE(1)       if (&User-Name)  {(1)         if (&User-Name =~ / /) {(1)         ERROR: regex failed: Found null in subject at offset 15.  String unsafe for evaluation(1)         ERROR: Failed retrieving values required to evaluate condition(1)         if (&User-Name =~ /@[^@]*@/ ) {(1)         ERROR: regex failed: Found null in subject at offset 15.  String unsafe for evaluation(1)         ERROR: Failed retrieving values required to evaluate condition(1)         if (&User-Name =~ /\.\./ ) {(1)         ERROR: regex failed: Found null in subject at offset 15.  String unsafe for evaluation(1)         ERROR: Failed retrieving values required to evaluate condition(1)         if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))  {(1)         ERROR: regex failed: Found null in subject at offset 15.  String unsafe for evaluation(1)         ERROR: Failed retrieving values required to evaluate condition(1)         if (&User-Name =~ /\.$/)  {(1)         ERROR: regex failed: Found null in subject at offset 15.  String unsafe for evaluation(1)         ERROR: Failed retrieving values required to evaluate condition(1)         if (&User-Name =~ /@\./)  {(1)         ERROR: regex failed: Found null in subject at offset 15.  String unsafe for evaluation(1)         ERROR: Failed retrieving values required to evaluate condition(1)       } # if (&User-Name)  = notfound(1)     } # policy filter_username = notfound(1)     update request {(1)       Operator-Name := "1kazrena.kz"(1)     } # update request = noop(1) auth_log: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d(1) auth_log:    --> /var/log/freeradius/radacct/89.250.80.136/auth-detail-20190417(1) auth_log: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d expands to /var/log/freeradius/radacct/89.250.80.136/auth-detail-20190417(1) auth_log: EXPAND %t(1) auth_log:    --> Wed Apr 17 10:11:36 2019(1)     [auth_log] = ok(1) suffix: Checking for suffix after "@"(1) suffix: Looking up realm "kazrena.kz" for User-Name = "sake at kazrena.kz"(1) suffix: Found realm "kazrena.kz"(1) suffix: Adding Realm = "kazrena.kz"(1) suffix: Authentication realm is LOCAL(1)     [suffix] = okrlm_sql (sql): Reserved connection (1)rlm_sql (sql): Released connection (1)(1)     [sql] = notfound(1) eap: Peer sent EAP Response (code 2) ID 0 length 20(1) eap: EAP-Identity reply, returning 'ok' so we can short-circuit the rest of authorize(1)     [eap] = ok(1)   } # authorize = ok(1) Found Auth-Type = eap(1) # Executing group from file /etc/freeradius/sites-enabled/eduroam(1)   authenticate {(1) eap: Peer sent packet with method EAP Identity (1)(1) eap: Calling submodule eap_md5 to process data(1) eap_md5: Issuing MD5 Challenge(1) eap: Sending EAP Request (code 1) ID 1 length 22(1) eap: EAP session adding &reply:State = 0x3afb18fa3afa1cb6(1)     [eap] = handled(1)   } # authenticate = handled(1) Using Post-Auth-Type Challenge(1) Post-Auth-Type sub-section not found.  Ignoring.(1) # Executing group from file /etc/freeradius/sites-enabled/eduroam(1) Sent Access-Challenge Id 0 from 89.250.80.130:1812 to 89.250.80.136:1117 length 0(1)   EAP-Message = 0x010100160410cc91782bcf8cf2f0b4de0ed50943dc6e(1)   Message-Authenticator = 0x00000000000000000000000000000000(1)   State = 0x3afb18fa3afa1cb6e9d755993b5205d3(1) Finished requestWaking up in 4.9 seconds.(2) Received Access-Request Id 1 from 89.250.80.136:1117 to 89.250.80.130:1812 length 217(2)   Message-Authenticator = 0x0a57010a512eb82b18c69d4f1c2c0a25(2)   Service-Type = Framed-User(2)   User-Name = "sake at kazrena.kz"(2)   Framed-MTU = 1488(2)   State = 0x3afb18fa3afa1cb6e9d755993b5205d3(2)   Called-Station-Id = "00-22-B0-0C-84-71:eduroam"(2)   Calling-Station-Id = "18-F4-6A-33-41-A5"(2)   NAS-Identifier = "D-Link Access Point"(2)   NAS-Port-Type = Wireless-802.11(2)   Connect-Info = "CONNECT 54Mbps 802.11g"(2)   EAP-Message = 0x020100060319(2)   NAS-IP-Address = 89.250.80.136(2)   NAS-Port = 1(2)   NAS-Port-Id = "STA port # 1"(2) session-state: No cached attributes(2) # Executing section authorize from file /etc/freeradius/sites-enabled/eduroam(2)   authorize {(2)     policy filter_username {(2)       if (&User-Name) {(2)       if (&User-Name)  -> TRUE(2)       if (&User-Name)  {(2)         if (&User-Name =~ / /) {(2)         ERROR: regex failed: Found null in subject at offset 15.  String unsafe for evaluation(2)         ERROR: Failed retrieving values required to evaluate condition(2)         if (&User-Name =~ /@[^@]*@/ ) {(2)         ERROR: regex failed: Found null in subject at offset 15.  String unsafe for evaluation(2)         ERROR: Failed retrieving values required to evaluate condition(2)         if (&User-Name =~ /\.\./ ) {(2)         ERROR: regex failed: Found null in subject at offset 15.  String unsafe for evaluation(2)         ERROR: Failed retrieving values required to evaluate condition(2)         if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))  {(2)         ERROR: regex failed: Found null in subject at offset 15.  String unsafe for evaluation(2)         ERROR: Failed retrieving values required to evaluate condition(2)         if (&User-Name =~ /\.$/)  {(2)         ERROR: regex failed: Found null in subject at offset 15.  String unsafe for evaluation(2)         ERROR: Failed retrieving values required to evaluate condition(2)         if (&User-Name =~ /@\./)  {(2)         ERROR: regex failed: Found null in subject at offset 15.  String unsafe for evaluation(2)         ERROR: Failed retrieving values required to evaluate condition(2)       } # if (&User-Name)  = notfound(2)     } # policy filter_username = notfound(2)     update request {(2)       Operator-Name := "1kazrena.kz"(2)     } # update request = noop(2) auth_log: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d(2) auth_log:    --> /var/log/freeradius/radacct/89.250.80.136/auth-detail-20190417(2) auth_log: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d expands to /var/log/freeradius/radacct/89.250.80.136/auth-detail-20190417(2) auth_log: EXPAND %t(2) auth_log:    --> Wed Apr 17 10:11:36 2019(2)     [auth_log] = ok(2) suffix: Checking for suffix after "@"(2) suffix: Looking up realm "kazrena.kz" for User-Name = "sake at kazrena.kz"(2) suffix: Found realm "kazrena.kz"(2) suffix: Adding Realm = "kazrena.kz"(2) suffix: Authentication realm is LOCAL(2)     [suffix] = okrlm_sql (sql): Reserved connection (2)rlm_sql (sql): Released connection (2)(2)     [sql] = notfound(2) eap: Peer sent EAP Response (code 2) ID 1 length 6(2) eap: No EAP Start, assuming it's an on-going EAP conversation(2)     [eap] = updated(2)   } # authorize = updated(2) Found Auth-Type = eap(2) # Executing group from file /etc/freeradius/sites-enabled/eduroam(2)   authenticate {(2) eap: Expiring EAP session with state 0x3afb18fa3afa1cb6(2) eap: Finished EAP session with state 0x3afb18fa3afa1cb6(2) eap: Previous EAP request found for state 0x3afb18fa3afa1cb6, released from the list(2) eap: Peer sent packet with method EAP NAK (3)(2) eap: Found mutually acceptable type PEAP (25)(2) eap: Calling submodule eap_peap to process data(2) eap_peap: Initiating new EAP-TLS session(2) eap_peap: [eaptls start] = request(2) eap: Sending EAP Request (code 1) ID 2 length 6(2) eap: EAP session adding &reply:State = 0x3afb18fa3bf901b6(2)     [eap] = handled(2)   } # authenticate = handled(2) Using Post-Auth-Type Challenge(2) Post-Auth-Type sub-section not found.  Ignoring.(2) # Executing group from file /etc/freeradius/sites-enabled/eduroam(2) Sent Access-Challenge Id 1 from 89.250.80.130:1812 to 89.250.80.136:1117 length 0(2)   EAP-Message = 0x010200061920(2)   Message-Authenticator = 0x00000000000000000000000000000000(2)   State = 0x3afb18fa3bf901b6e9d755993b5205d3(2) Finished requestWaking up in 4.9 seconds.(3) Received Access-Request Id 2 from 89.250.80.136:1117 to 89.250.80.130:1812 length 324(3)   Message-Authenticator = 0x8495cc0594550150eb963bb65b057942(3)   Service-Type = Framed-User(3)   User-Name = "sake at kazrena.kz"(3)   Framed-MTU = 1488(3)   State = 0x3afb18fa3bf901b6e9d755993b5205d3(3)   Called-Station-Id = "00-22-B0-0C-84-71:eduroam"(3)   Calling-Station-Id = "18-F4-6A-33-41-A5"(3)   NAS-Identifier = "D-Link Access Point"(3)   NAS-Port-Type = Wireless-802.11(3)   Connect-Info = "CONNECT 54Mbps 802.11g"(3)   EAP-Message = 0x0202007119800000006716030100620100005e03015cb6a77e7482ae1f4e5eeeb8675f1eb0a667e22320854510c1cd348f0fa8787300001cc014c013003900330035002fc00ac00900380032000a00130005000401000019000a0006000400170018000b0002010000170000ff01000100(3)   NAS-IP-Address = 89.250.80.136(3)   NAS-Port = 1(3)   NAS-Port-Id = "STA port # 1"(3) session-state: No cached attributes(3) # Executing section authorize from file /etc/freeradius/sites-enabled/eduroam(3)   authorize {(3)     policy filter_username {(3)       if (&User-Name) {(3)       if (&User-Name)  -> TRUE(3)       if (&User-Name)  {(3)         if (&User-Name =~ / /) {(3)         ERROR: regex failed: Found null in subject at offset 15.  String unsafe for evaluation(3)         ERROR: Failed retrieving values required to evaluate condition(3)         if (&User-Name =~ /@[^@]*@/ ) {(3)         ERROR: regex failed: Found null in subject at offset 15.  String unsafe for evaluation(3)         ERROR: Failed retrieving values required to evaluate condition(3)         if (&User-Name =~ /\.\./ ) {(3)         ERROR: regex failed: Found null in subject at offset 15.  String unsafe for evaluation(3)         ERROR: Failed retrieving values required to evaluate condition(3)         if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))  {(3)         ERROR: regex failed: Found null in subject at offset 15.  String unsafe for evaluation(3)         ERROR: Failed retrieving values required to evaluate condition(3)         if (&User-Name =~ /\.$/)  {(3)         ERROR: regex failed: Found null in subject at offset 15.  String unsafe for evaluation(3)         ERROR: Failed retrieving values required to evaluate condition(3)         if (&User-Name =~ /@\./)  {(3)         ERROR: regex failed: Found null in subject at offset 15.  String unsafe for evaluation(3)         ERROR: Failed retrieving values required to evaluate condition(3)       } # if (&User-Name)  = notfound(3)     } # policy filter_username = notfound(3)     update request {(3)       Operator-Name := "1kazrena.kz"(3)     } # update request = noop(3) auth_log: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d(3) auth_log:    --> /var/log/freeradius/radacct/89.250.80.136/auth-detail-20190417(3) auth_log: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d expands to /var/log/freeradius/radacct/89.250.80.136/auth-detail-20190417(3) auth_log: EXPAND %t(3) auth_log:    --> Wed Apr 17 10:11:36 2019(3)     [auth_log] = ok(3) suffix: Checking for suffix after "@"(3) suffix: Looking up realm "kazrena.kz" for User-Name = "sake at kazrena.kz"(3) suffix: Found realm "kazrena.kz"(3) suffix: Adding Realm = "kazrena.kz"(3) suffix: Authentication realm is LOCAL(3)     [suffix] = okrlm_sql (sql): Reserved connection (3)rlm_sql (sql): Released connection (3)(3)     [sql] = notfound(3) eap: Peer sent EAP Response (code 2) ID 2 length 113(3) eap: Continuing tunnel setup(3)     [eap] = ok(3)   } # authorize = ok(3) Found Auth-Type = eap(3) # Executing group from file /etc/freeradius/sites-enabled/eduroam(3)   authenticate {(3) eap: Expiring EAP session with state 0x3afb18fa3bf901b6(3) eap: Finished EAP session with state 0x3afb18fa3bf901b6(3) eap: Previous EAP request found for state 0x3afb18fa3bf901b6, released from the list(3) eap: Peer sent packet with method EAP PEAP (25)(3) eap: Calling submodule eap_peap to process data(3) eap_peap: Continuing EAP-TLS(3) eap_peap: Peer indicated complete TLS record size will be 103 bytes(3) eap_peap: Got complete TLS record (103 bytes)(3) eap_peap: [eaptls verify] = length included(3) eap_peap: (other): before/accept initialization(3) eap_peap: TLS_accept: before/accept initialization(3) eap_peap: <<< recv TLS 1.0 Handshake [length 0062], ClientHello (3) eap_peap: TLS_accept: unknown state(3) eap_peap: >>> send TLS 1.0 Handshake [length 0039], ServerHello (3) eap_peap: TLS_accept: unknown state(3) eap_peap: >>> send TLS 1.0 Handshake [length 08d3], Certificate (3) eap_peap: TLS_accept: unknown state(3) eap_peap: >>> send TLS 1.0 Handshake [length 014b], ServerKeyExchange (3) eap_peap: TLS_accept: unknown state(3) eap_peap: >>> send TLS 1.0 Handshake [length 0004], ServerHelloDone (3) eap_peap: TLS_accept: unknown state(3) eap_peap: TLS_accept: unknown state(3) eap_peap: TLS_accept: unknown state(3) eap_peap: TLS_accept: Need to read more data: unknown state(3) eap_peap: TLS_accept: Need to read more data: unknown state(3) eap_peap: In SSL Handshake Phase(3) eap_peap: In SSL Accept mode(3) eap_peap: [eaptls process] = handled(3) eap: Sending EAP Request (code 1) ID 3 length 1004(3) eap: EAP session adding &reply:State = 0x3afb18fa38f801b6(3)     [eap] = handled(3)   } # authenticate = handled(3) Using Post-Auth-Type Challenge(3) Post-Auth-Type sub-section not found.  Ignoring.(3) # Executing group from file /etc/freeradius/sites-enabled/eduroam(3) Sent Access-Challenge Id 2 from 89.250.80.130:1812 to 89.250.80.136:1117 length 0(3)   EAP-Message = 0x010303ec19c000000a6f1603010039020000350301099c353de652a215f2e89fc4efd6f03f7c9fb53511e78626c9835c5ea36069ef00c01400000dff01000100000b00040300010216030108d30b0008cf0008cc0003de308203da308202c2a003020102020101300d06092a864886f70d01010b050030(3)   Message-Authenticator = 0x00000000000000000000000000000000(3)   State = 0x3afb18fa38f801b6e9d755993b5205d3(3) Finished requestWaking up in 4.9 seconds.(4) Received Access-Request Id 3 from 89.250.80.136:1117 to 89.250.80.130:1812 length 217(4)   Message-Authenticator = 0x96801098f73309b7c2e1ad7ed2c4685f(4)   Service-Type = Framed-User(4)   User-Name = "sake at kazrena.kz"(4)   Framed-MTU = 1488(4)   State = 0x3afb18fa38f801b6e9d755993b5205d3(4)   Called-Station-Id = "00-22-B0-0C-84-71:eduroam"(4)   Calling-Station-Id = "18-F4-6A-33-41-A5"(4)   NAS-Identifier = "D-Link Access Point"(4)   NAS-Port-Type = Wireless-802.11(4)   Connect-Info = "CONNECT 54Mbps 802.11g"(4)   EAP-Message = 0x020300061900(4)   NAS-IP-Address = 89.250.80.136(4)   NAS-Port = 1(4)   NAS-Port-Id = "STA port # 1"(4) session-state: No cached attributes(4) # Executing section authorize from file /etc/freeradius/sites-enabled/eduroam(4)   authorize {(4)     policy filter_username {(4)       if (&User-Name) {(4)       if (&User-Name)  -> TRUE(4)       if (&User-Name)  {(4)         if (&User-Name =~ / /) {(4)         ERROR: regex failed: Found null in subject at offset 15.  String unsafe for evaluation(4)         ERROR: Failed retrieving values required to evaluate condition(4)         if (&User-Name =~ /@[^@]*@/ ) {(4)         ERROR: regex failed: Found null in subject at offset 15.  String unsafe for evaluation(4)         ERROR: Failed retrieving values required to evaluate condition(4)         if (&User-Name =~ /\.\./ ) {(4)         ERROR: regex failed: Found null in subject at offset 15.  String unsafe for evaluation(4)         ERROR: Failed retrieving values required to evaluate condition(4)         if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))  {(4)         ERROR: regex failed: Found null in subject at offset 15.  String unsafe for evaluation(4)         ERROR: Failed retrieving values required to evaluate condition(4)         if (&User-Name =~ /\.$/)  {(4)         ERROR: regex failed: Found null in subject at offset 15.  String unsafe for evaluation(4)         ERROR: Failed retrieving values required to evaluate condition(4)         if (&User-Name =~ /@\./)  {(4)         ERROR: regex failed: Found null in subject at offset 15.  String unsafe for evaluation(4)         ERROR: Failed retrieving values required to evaluate condition(4)       } # if (&User-Name)  = notfound(4)     } # policy filter_username = notfound(4)     update request {(4)       Operator-Name := "1kazrena.kz"(4)     } # update request = noop(4) auth_log: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d(4) auth_log:    --> /var/log/freeradius/radacct/89.250.80.136/auth-detail-20190417(4) auth_log: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d expands to /var/log/freeradius/radacct/89.250.80.136/auth-detail-20190417(4) auth_log: EXPAND %t(4) auth_log:    --> Wed Apr 17 10:11:36 2019(4)     [auth_log] = ok(4) suffix: Checking for suffix after "@"(4) suffix: Looking up realm "kazrena.kz" for User-Name = "sake at kazrena.kz"(4) suffix: Found realm "kazrena.kz"(4) suffix: Adding Realm = "kazrena.kz"(4) suffix: Authentication realm is LOCAL(4)     [suffix] = okrlm_sql (sql): Reserved connection (4)rlm_sql (sql): Released connection (4)(4)     [sql] = notfound(4) eap: Peer sent EAP Response (code 2) ID 3 length 6(4) eap: Continuing tunnel setup(4)     [eap] = ok(4)   } # authorize = ok(4) Found Auth-Type = eap(4) # Executing group from file /etc/freeradius/sites-enabled/eduroam(4)   authenticate {(4) eap: Expiring EAP session with state 0x3afb18fa38f801b6(4) eap: Finished EAP session with state 0x3afb18fa38f801b6(4) eap: Previous EAP request found for state 0x3afb18fa38f801b6, released from the list(4) eap: Peer sent packet with method EAP PEAP (25)(4) eap: Calling submodule eap_peap to process data(4) eap_peap: Continuing EAP-TLS(4) eap_peap: Peer ACKed our handshake fragment(4) eap_peap: [eaptls verify] = request(4) eap_peap: [eaptls process] = handled(4) eap: Sending EAP Request (code 1) ID 4 length 1000(4) eap: EAP session adding &reply:State = 0x3afb18fa39ff01b6(4)     [eap] = handled(4)   } # authenticate = handled(4) Using Post-Auth-Type Challenge(4) Post-Auth-Type sub-section not found.  Ignoring.(4) # Executing group from file /etc/freeradius/sites-enabled/eduroam(4) Sent Access-Challenge Id 3 from 89.250.80.130:1812 to 89.250.80.136:1117 length 0(4)   EAP-Message = 0x010403e819407a219295f1db7270c48b8878860c93007761054be88bfa5880ec08f26cf7cf5b6900bd5a95a9bd545bc5deccedb3a73d0ab4c48d9353ba4c32f6907212d55bc9222e18d0ae1058ca800004e8308204e4308203cca003020102020900cf684e8f95f0a6e9300d06092a864886f70d01010b(4)   Message-Authenticator = 0x00000000000000000000000000000000(4)   State = 0x3afb18fa39ff01b6e9d755993b5205d3(4) Finished requestWaking up in 4.9 seconds.(5) Received Access-Request Id 4 from 89.250.80.136:1117 to 89.250.80.130:1812 length 217(5)   Message-Authenticator = 0x3a6f5a124ae9d7b9579b0a7c2fdca9dc(5)   Service-Type = Framed-User(5)   User-Name = "sake at kazrena.kz"(5)   Framed-MTU = 1488(5)   State = 0x3afb18fa39ff01b6e9d755993b5205d3(5)   Called-Station-Id = "00-22-B0-0C-84-71:eduroam"(5)   Calling-Station-Id = "18-F4-6A-33-41-A5"(5)   NAS-Identifier = "D-Link Access Point"(5)   NAS-Port-Type = Wireless-802.11(5)   Connect-Info = "CONNECT 54Mbps 802.11g"(5)   EAP-Message = 0x020400061900(5)   NAS-IP-Address = 89.250.80.136(5)   NAS-Port = 1(5)   NAS-Port-Id = "STA port # 1"(5) session-state: No cached attributes(5) # Executing section authorize from file /etc/freeradius/sites-enabled/eduroam(5)   authorize {(5)     policy filter_username {(5)       if (&User-Name) {(5)       if (&User-Name)  -> TRUE(5)       if (&User-Name)  {(5)         if (&User-Name =~ / /) {(5)         ERROR: regex failed: Found null in subject at offset 15.  String unsafe for evaluation(5)         ERROR: Failed retrieving values required to evaluate condition(5)         if (&User-Name =~ /@[^@]*@/ ) {(5)         ERROR: regex failed: Found null in subject at offset 15.  String unsafe for evaluation(5)         ERROR: Failed retrieving values required to evaluate condition(5)         if (&User-Name =~ /\.\./ ) {(5)         ERROR: regex failed: Found null in subject at offset 15.  String unsafe for evaluation(5)         ERROR: Failed retrieving values required to evaluate condition(5)         if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))  {(5)         ERROR: regex failed: Found null in subject at offset 15.  String unsafe for evaluation(5)         ERROR: Failed retrieving values required to evaluate condition(5)         if (&User-Name =~ /\.$/)  {(5)         ERROR: regex failed: Found null in subject at offset 15.  String unsafe for evaluation(5)         ERROR: Failed retrieving values required to evaluate condition(5)         if (&User-Name =~ /@\./)  {(5)         ERROR: regex failed: Found null in subject at offset 15.  String unsafe for evaluation(5)         ERROR: Failed retrieving values required to evaluate condition(5)       } # if (&User-Name)  = notfound(5)     } # policy filter_username = notfound(5)     update request {(5)       Operator-Name := "1kazrena.kz"(5)     } # update request = noop(5) auth_log: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d(5) auth_log:    --> /var/log/freeradius/radacct/89.250.80.136/auth-detail-20190417(5) auth_log: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d expands to /var/log/freeradius/radacct/89.250.80.136/auth-detail-20190417(5) auth_log: EXPAND %t(5) auth_log:    --> Wed Apr 17 10:11:36 2019(5)     [auth_log] = ok(5) suffix: Checking for suffix after "@"(5) suffix: Looking up realm "kazrena.kz" for User-Name = "sake at kazrena.kz"(5) suffix: Found realm "kazrena.kz"(5) suffix: Adding Realm = "kazrena.kz"(5) suffix: Authentication realm is LOCAL(5)     [suffix] = okrlm_sql (sql): Reserved connection (0)rlm_sql (sql): Released connection (0)(5)     [sql] = notfound(5) eap: Peer sent EAP Response (code 2) ID 4 length 6(5) eap: Continuing tunnel setup(5)     [eap] = ok(5)   } # authorize = ok(5) Found Auth-Type = eap(5) # Executing group from file /etc/freeradius/sites-enabled/eduroam(5)   authenticate {(5) eap: Expiring EAP session with state 0x3afb18fa39ff01b6(5) eap: Finished EAP session with state 0x3afb18fa39ff01b6(5) eap: Previous EAP request found for state 0x3afb18fa39ff01b6, released from the list(5) eap: Peer sent packet with method EAP PEAP (25)(5) eap: Calling submodule eap_peap to process data(5) eap_peap: Continuing EAP-TLS(5) eap_peap: Peer ACKed our handshake fragment(5) eap_peap: [eaptls verify] = request(5) eap_peap: [eaptls process] = handled(5) eap: Sending EAP Request (code 1) ID 5 length 689(5) eap: EAP session adding &reply:State = 0x3afb18fa3efe01b6(5)     [eap] = handled(5)   } # authenticate = handled(5) Using Post-Auth-Type Challenge(5) Post-Auth-Type sub-section not found.  Ignoring.(5) # Executing group from file /etc/freeradius/sites-enabled/eduroam(5) Sent Access-Challenge Id 4 from 89.250.80.130:1812 to 89.250.80.136:1117 length 0(5)   EAP-Message = 0x010502b119000530030101ff30360603551d1f042f302d302ba029a0278625687474703a2f2f7777772e6578616d706c652e6f72672f6578616d706c655f63612e63726c300d06092a864886f70d01010b050003820101001c3d9f68feabbf04c370f37300ee33f028922b230d2d17c1f680cb9f567eac(5)   Message-Authenticator = 0x00000000000000000000000000000000(5)   State = 0x3afb18fa3efe01b6e9d755993b5205d3(5) Finished requestWaking up in 4.9 seconds.(6) Received Access-Request Id 5 from 89.250.80.136:1117 to 89.250.80.130:1812 length 228(6)   Message-Authenticator = 0x266507d04cf569b49a16bed43675f9d6(6)   Service-Type = Framed-User(6)   User-Name = "sake at kazrena.kz"(6)   Framed-MTU = 1488(6)   State = 0x3afb18fa3efe01b6e9d755993b5205d3(6)   Called-Station-Id = "00-22-B0-0C-84-71:eduroam"(6)   Calling-Station-Id = "18-F4-6A-33-41-A5"(6)   NAS-Identifier = "D-Link Access Point"(6)   NAS-Port-Type = Wireless-802.11(6)   Connect-Info = "CONNECT 54Mbps 802.11g"(6)   EAP-Message = 0x0205001119800000000715030100020230(6)   NAS-IP-Address = 89.250.80.136(6)   NAS-Port = 1(6)   NAS-Port-Id = "STA port # 1"(6) session-state: No cached attributes(6) # Executing section authorize from file /etc/freeradius/sites-enabled/eduroam(6)   authorize {(6)     policy filter_username {(6)       if (&User-Name) {(6)       if (&User-Name)  -> TRUE(6)       if (&User-Name)  {(6)         if (&User-Name =~ / /) {(6)         ERROR: regex failed: Found null in subject at offset 15.  String unsafe for evaluation(6)         ERROR: Failed retrieving values required to evaluate condition(6)         if (&User-Name =~ /@[^@]*@/ ) {(6)         ERROR: regex failed: Found null in subject at offset 15.  String unsafe for evaluation(6)         ERROR: Failed retrieving values required to evaluate condition(6)         if (&User-Name =~ /\.\./ ) {(6)         ERROR: regex failed: Found null in subject at offset 15.  String unsafe for evaluation(6)         ERROR: Failed retrieving values required to evaluate condition(6)         if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))  {(6)         ERROR: regex failed: Found null in subject at offset 15.  String unsafe for evaluation(6)         ERROR: Failed retrieving values required to evaluate condition(6)         if (&User-Name =~ /\.$/)  {(6)         ERROR: regex failed: Found null in subject at offset 15.  String unsafe for evaluation(6)         ERROR: Failed retrieving values required to evaluate condition(6)         if (&User-Name =~ /@\./)  {(6)         ERROR: regex failed: Found null in subject at offset 15.  String unsafe for evaluation(6)         ERROR: Failed retrieving values required to evaluate condition(6)       } # if (&User-Name)  = notfound(6)     } # policy filter_username = notfound(6)     update request {(6)       Operator-Name := "1kazrena.kz"(6)     } # update request = noop(6) auth_log: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d(6) auth_log:    --> /var/log/freeradius/radacct/89.250.80.136/auth-detail-20190417(6) auth_log: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d expands to /var/log/freeradius/radacct/89.250.80.136/auth-detail-20190417(6) auth_log: EXPAND %t(6) auth_log:    --> Wed Apr 17 10:11:36 2019(6)     [auth_log] = ok(6) suffix: Checking for suffix after "@"(6) suffix: Looking up realm "kazrena.kz" for User-Name = "sake at kazrena.kz"(6) suffix: Found realm "kazrena.kz"(6) suffix: Adding Realm = "kazrena.kz"(6) suffix: Authentication realm is LOCAL(6)     [suffix] = okrlm_sql (sql): Reserved connection (1)rlm_sql (sql): Released connection (1)(6)     [sql] = notfound(6) eap: Peer sent EAP Response (code 2) ID 5 length 17(6) eap: Continuing tunnel setup(6)     [eap] = ok(6)   } # authorize = ok(6) Found Auth-Type = eap(6) # Executing group from file /etc/freeradius/sites-enabled/eduroam(6)   authenticate {(6) eap: Expiring EAP session with state 0x3afb18fa3efe01b6(6) eap: Finished EAP session with state 0x3afb18fa3efe01b6(6) eap: Previous EAP request found for state 0x3afb18fa3efe01b6, released from the list(6) eap: Peer sent packet with method EAP PEAP (25)(6) eap: Calling submodule eap_peap to process data(6) eap_peap: Continuing EAP-TLS(6) eap_peap: Peer indicated complete TLS record size will be 7 bytes(6) eap_peap: Got complete TLS record (7 bytes)(6) eap_peap: [eaptls verify] = length included(6) eap_peap: <<< recv TLS 1.0 Alert [length 0002], fatal unknown_ca (6) eap_peap: ERROR: TLS Alert read:fatal:unknown CA(6) eap_peap: ERROR: TLS_accept: Failed in error(6) eap_peap: ERROR: Failed in __FUNCTION__ (SSL_read)(6) eap_peap: ERROR: error:14094418:SSL routines:ssl3_read_bytes:tlsv1 alert unknown ca(6) eap_peap: ERROR: error:140940E5:SSL routines:ssl3_read_bytes:ssl handshake failure(6) eap_peap: ERROR: System call (I/O) error (-1)(6) eap_peap: ERROR: TLS receive handshake failed during operation(6) eap_peap: ERROR: [eaptls process] = fail(6) eap: ERROR: Failed continuing EAP PEAP (25) session.  EAP sub-module failed(6) eap: Sending EAP Failure (code 4) ID 5 length 4(6) eap: Failed in EAP select(6)     [eap] = invalid(6)   } # authenticate = invalid(6) Failed to authenticate the user(6) Using Post-Auth-Type Reject(6) # Executing group from file /etc/freeradius/sites-enabled/eduroam(6)   Post-Auth-Type REJECT {(6) reply_log: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/reply-detail-%Y%m%d(6) reply_log:    --> /var/log/freeradius/radacct/89.250.80.136/reply-detail-20190417(6) reply_log: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/reply-detail-%Y%m%d expands to /var/log/freeradius/radacct/89.250.80.136/reply-detail-20190417(6) reply_log: EXPAND %t(6) reply_log:    --> Wed Apr 17 10:11:36 2019(6)     [reply_log] = ok(6) sql: EXPAND .query(6) sql:    --> .query(6) sql: WARNING: No such configuration item .query(6)     [sql] = noop(6)   } # Post-Auth-Type REJECT = ok(6) Delaying response for 1.000000 secondsWaking up in 0.3 seconds.Waking up in 0.6 seconds.(6) Sending delayed response(6) Sent Access-Reject Id 5 from 89.250.80.130:1812 to 89.250.80.136:1117 length 44(6)   EAP-Message = 0x04050004(6)   Message-Authenticator = 0x00000000000000000000000000000000Waking up in 3.9 seconds.(1) Cleaning up request packet ID 0 with timestamp +40(2) Cleaning up request packet ID 1 with timestamp +40(3) Cleaning up request packet ID 2 with timestamp +40(4) Cleaning up request packet ID 3 with timestamp +40(5) Cleaning up request packet ID 4 with timestamp +40(6) Cleaning up request packet ID 5 with timestamp +40Ready to process requests
What went wrong?



More information about the Freeradius-Users mailing list