Freeradius MySQL config testing

Tal Nur nurtal at yahoo.com
Tue Mar 12 03:20:40 CET 2019


Recently I've configured Freeraius 3.0.15 to authenticate users against MySQL DB.I run debug freeradius -X and output looked good (see below)
Then I tried to test my configuration by radtest utility but got strange error message:                   (0) Error parsing "stdin": Unknown name "User-Name" 
What could the problem with my configuration?
The output of freeradius -X:
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  } }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 50172Listening on proxy address :: port 38158Ready to process requests(0) Received Status-Server Id 0 from 89.250.80.13:40748 to 89.250.80.130:1812 length 38(0)   Message-Authenticator = 0x712078682adf7d3422a707cef684d4a4(0) Sent Access-Accept Id 0 from 89.250.80.130:1812 to 89.250.80.13:40748 length 0(0) Finished requestWaking up in 4.9 seconds.(0) Cleaning up request packet ID 0 with timestamp +18Ready to process requests(1) Received Status-Server Id 0 from 89.250.80.13:40748 to 89.250.80.130:1812 length 38(1)   Message-Authenticator = 0x89328c66f51018c28ab67900587cab99(1) Sent Access-Accept Id 0 from 89.250.80.130:1812 to 89.250.80.13:40748 length 0(1) Finished requestWaking up in 4.9 seconds.(1) Cleaning up request packet ID 0 with timestamp +46Ready to process requests(2) Received Status-Server Id 0 from 89.250.80.13:40748 to 89.250.80.130:1812 length 38(2)   Message-Authenticator = 0x7b03bd6e6b03d0b9e1c4d402b3ea18fd(2) Sent Access-Accept Id 0 from 89.250.80.130:1812 to 89.250.80.13:40748 length 0(2) Finished requestWaking up in 4.9 seconds.(2) Cleaning up request packet ID 0 with timestamp +75Ready to process requests(3) Received Status-Server Id 0 from 89.250.80.13:40748 to 89.250.80.130:1812 length 38(3)   Message-Authenticator = 0x292248e81208f7a6ee65e40cd3a76e6d(3) Sent Access-Accept Id 0 from 89.250.80.130:1812 to 89.250.80.13:40748 length 0(3) Finished requestWaking up in 4.9 seconds.(3) Cleaning up request packet ID 0 with timestamp +106Ready to process requests(4) Received Status-Server Id 0 from 89.250.80.13:40748 to 89.250.80.130:1812 length 38(4)   Message-Authenticator = 0x1cab26257e267d5e84a46bba44bb8bda(4) Sent Access-Accept Id 0 from 89.250.80.130:1812 to 89.250.80.13:40748 length 0(4) Finished requestWaking up in 4.9 seconds.(4) Cleaning up request packet ID 0 with timestamp +135Ready to process requests








More information about the Freeradius-Users mailing list