PEAP with TLS authentication issues, Freeradius V 3.0.20

Thomas Wagner t.wagner at wenzel-elektronik.de
Mon Aug 17 16:23:35 CEST 2020


Hello

We're in the process of setting up a FreeRadius Server version 3.0.20 on 
Ubuntu 20.04. We have to support client authentication via both PEAP and 
TTLS as outer encryption and MSCHAPV2 and TLS for inner encryption (only 
supplicants with wired connections for now).

Now, in the current configuration TTLS works with MSCHAPV2 and TLS. PEAP 
works with MSCHAPV2 but not with TLS. The freeradius log (see below) 
states "Failed to authenticate the user" and "&Module-Failure-Message := 
&request:Module-Failure-Message -> 'eap: rlm_eap (EAP): No EAP session 
matching state 0x73ff912c72e19cba'". However, the certificates and 
user/password-settings are identical over all 4 combinations of 
PEAP/TTLS and MSCHAPV2/TLS for our current testing purposes. So the user 
authentication should (in theory) work, since PEAP works with MSCHAPV2 
and TLS works with TTLS and they currently share users, passwords and 
certificates.

Currently, we're out of ideas how to get PEAP with TLS working. So any 
help is appreciated!

Best regards,

Thomas

--- freeradius -X Log:

FreeRADIUS Version 3.0.20
Copyright (C) 1999-2019 The FreeRADIUS server project and contributors
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE
You may redistribute copies of FreeRADIUS under the terms of the
GNU General Public License
For more information about these matters, see the file named COPYRIGHT
Starting - reading configuration files ...
including dictionary file /usr/share/freeradius/dictionary
including dictionary file /usr/share/freeradius/dictionary.dhcp
including dictionary file /usr/share/freeradius/dictionary.vqp
including dictionary file /etc/freeradius/3.0/dictionary
including configuration file /etc/freeradius/3.0/radiusd.conf
including configuration file /etc/freeradius/3.0/proxy.conf
including configuration file /etc/freeradius/3.0/clients.conf
including files in directory /etc/freeradius/3.0/mods-enabled/
including configuration file /etc/freeradius/3.0/mods-enabled/eap
including configuration file /etc/freeradius/3.0/mods-enabled/pap
including configuration file /etc/freeradius/3.0/mods-enabled/realm
including configuration file /etc/freeradius/3.0/mods-enabled/always
including configuration file /etc/freeradius/3.0/mods-enabled/ntlm_auth
including configuration file /etc/freeradius/3.0/mods-enabled/expiration
including configuration file /etc/freeradius/3.0/mods-enabled/detail
including configuration file /etc/freeradius/3.0/mods-enabled/exec
including configuration file /etc/freeradius/3.0/mods-enabled/digest
including configuration file /etc/freeradius/3.0/mods-enabled/linelog
including configuration file /etc/freeradius/3.0/mods-enabled/attr_filter
including configuration file /etc/freeradius/3.0/mods-enabled/preprocess
including configuration file /etc/freeradius/3.0/mods-enabled/files
including configuration file /etc/freeradius/3.0/mods-enabled/cache_eap
including configuration file /etc/freeradius/3.0/mods-enabled/chap
including configuration file /etc/freeradius/3.0/mods-enabled/echo
including configuration file /etc/freeradius/3.0/mods-enabled/logintime
including configuration file /etc/freeradius/3.0/mods-enabled/detail.log
including configuration file /etc/freeradius/3.0/mods-enabled/sradutmp
including configuration file /etc/freeradius/3.0/mods-enabled/radutmp
including configuration file /etc/freeradius/3.0/mods-enabled/soh
including configuration file /etc/freeradius/3.0/mods-enabled/unpack
including configuration file 
/etc/freeradius/3.0/mods-enabled/dynamic_clients
including configuration file /etc/freeradius/3.0/mods-enabled/passwd
including configuration file /etc/freeradius/3.0/mods-enabled/unix
including configuration file /etc/freeradius/3.0/mods-enabled/expr
including configuration file /etc/freeradius/3.0/mods-enabled/replicate
including configuration file /etc/freeradius/3.0/mods-enabled/utf8
including configuration file /etc/freeradius/3.0/mods-enabled/mschap
including files in directory /etc/freeradius/3.0/policy.d/
including configuration file /etc/freeradius/3.0/policy.d/eap
including configuration file /etc/freeradius/3.0/policy.d/operator-name
including configuration file /etc/freeradius/3.0/policy.d/filter
including configuration file /etc/freeradius/3.0/policy.d/accounting
including configuration file /etc/freeradius/3.0/policy.d/cui
including configuration file /etc/freeradius/3.0/policy.d/abfab-tr
including configuration file 
/etc/freeradius/3.0/policy.d/moonshot-targeted-ids
including configuration file /etc/freeradius/3.0/policy.d/dhcp
including configuration file /etc/freeradius/3.0/policy.d/rfc7542
including configuration file /etc/freeradius/3.0/policy.d/debug
including configuration file /etc/freeradius/3.0/policy.d/canonicalization
including configuration file /etc/freeradius/3.0/policy.d/control
including files in directory /etc/freeradius/3.0/sites-enabled/
including configuration file /etc/freeradius/3.0/sites-enabled/default
including configuration file /etc/freeradius/3.0/sites-enabled/inner-tunnel
main {
  security {
      user = "freerad"
      group = "freerad"
      allow_core_dumps = no
  }
     name = "freeradius"
     prefix = "/usr"
     localstatedir = "/var"
     logdir = "/var/log/freeradius"
     run_dir = "/var/run/freeradius"
}
main {
     name = "freeradius"
     prefix = "/usr"
     localstatedir = "/var"
     sbindir = "/usr/sbin"
     logdir = "/var/log/freeradius"
     run_dir = "/var/run/freeradius"
     libdir = "/usr/lib/freeradius"
     radacctdir = "/var/log/freeradius/radacct"
     hostname_lookups = no
     max_request_time = 30
     cleanup_delay = 5
     max_requests = 16384
     pidfile = "/var/run/freeradius/freeradius.pid"
     checkrad = "/usr/sbin/checkrad"
     debug_level = 0
     proxy_requests = yes
  log {
      stripped_names = no
      auth = yes
      auth_badpass = yes
      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 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 my_auth_failover {
     type = fail-over
     home_server = localhost
  }
  realm example.com {
     auth_pool = my_auth_failover
  }
  realm 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 switch_netgear {
      ipaddr = 192.168.60.108
      require_message_authenticator = yes
      secret = <<< secret >>>
   limit {
       max_connections = 16
       lifetime = 0
       idle_timeout = 30
   }
  }
  client switch_netgear_2 {
      ipaddr = 192.168.60.109
      require_message_authenticator = yes
      secret = <<< secret >>>
   limit {
       max_connections = 16
       lifetime = 0
       idle_timeout = 30
   }
  }
  client switch_netgear_8er {
      ipaddr = 192.168.60.100
      require_message_authenticator = yes
      secret = <<< secret >>>
   limit {
       max_connections = 16
       lifetime = 0
       idle_timeout = 30
   }
  }
Debugger not attached
systemd watchdog is disabled
  # Creating Auth-Type = mschap
  # Creating Auth-Type = digest
  # Creating Auth-Type = eap
  # Creating Auth-Type = PAP
  # Creating Auth-Type = CHAP
  # Creating Auth-Type = MS-CHAP
radiusd: #### Instantiating modules ####
  modules {
   # Loaded module rlm_eap
   # Loading module "eap" from file /etc/freeradius/3.0/mods-enabled/eap
   eap {
       default_eap_type = "peap"
       timer_expire = 60
       ignore_unknown_eap_types = no
       cisco_accounting_username_bug = no
       max_sessions = 16384
   }
   # Loaded module rlm_pap
   # Loading module "pap" from file /etc/freeradius/3.0/mods-enabled/pap
   pap {
       normalise = yes
   }
   # Loaded module rlm_realm
   # Loading module "IPASS" from file /etc/freeradius/3.0/mods-enabled/realm
   realm IPASS {
       format = "prefix"
       delimiter = "/"
       ignore_default = no
       ignore_null = no
   }
   # Loading module "suffix" from file 
/etc/freeradius/3.0/mods-enabled/realm
   realm suffix {
       format = "suffix"
       delimiter = "@"
       ignore_default = no
       ignore_null = no
   }
   # Loading module "bangpath" from file 
/etc/freeradius/3.0/mods-enabled/realm
   realm bangpath {
       format = "prefix"
       delimiter = "!"
       ignore_default = no
       ignore_null = no
   }
   # Loading module "realmpercent" from file 
/etc/freeradius/3.0/mods-enabled/realm
   realm realmpercent {
       format = "suffix"
       delimiter = "%"
       ignore_default = no
       ignore_null = no
   }
   # Loading module "ntdomain" from file 
/etc/freeradius/3.0/mods-enabled/realm
   realm ntdomain {
       format = "prefix"
       delimiter = "\\"
       ignore_default = no
       ignore_null = no
   }
   # Loaded module rlm_always
   # Loading module "reject" from file 
/etc/freeradius/3.0/mods-enabled/always
   always reject {
       rcode = "reject"
       simulcount = 0
       mpp = no
   }
   # Loading module "fail" from file /etc/freeradius/3.0/mods-enabled/always
   always fail {
       rcode = "fail"
       simulcount = 0
       mpp = no
   }
   # Loading module "ok" from file /etc/freeradius/3.0/mods-enabled/always
   always ok {
       rcode = "ok"
       simulcount = 0
       mpp = no
   }
   # Loading module "handled" from file 
/etc/freeradius/3.0/mods-enabled/always
   always handled {
       rcode = "handled"
       simulcount = 0
       mpp = no
   }
   # Loading module "invalid" from file 
/etc/freeradius/3.0/mods-enabled/always
   always invalid {
       rcode = "invalid"
       simulcount = 0
       mpp = no
   }
   # Loading module "userlock" from file 
/etc/freeradius/3.0/mods-enabled/always
   always userlock {
       rcode = "userlock"
       simulcount = 0
       mpp = no
   }
   # Loading module "notfound" from file 
/etc/freeradius/3.0/mods-enabled/always
   always notfound {
       rcode = "notfound"
       simulcount = 0
       mpp = no
   }
   # Loading module "noop" from file /etc/freeradius/3.0/mods-enabled/always
   always noop {
       rcode = "noop"
       simulcount = 0
       mpp = no
   }
   # Loading module "updated" from file 
/etc/freeradius/3.0/mods-enabled/always
   always updated {
       rcode = "updated"
       simulcount = 0
       mpp = no
   }
   # Loaded module rlm_exec
   # Loading module "ntlm_auth" from file 
/etc/freeradius/3.0/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_expiration
   # Loading module "expiration" from file 
/etc/freeradius/3.0/mods-enabled/expiration
   # Loaded module rlm_detail
   # Loading module "detail" from file 
/etc/freeradius/3.0/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
   }
   # Loading module "exec" from file /etc/freeradius/3.0/mods-enabled/exec
   exec {
       wait = no
       input_pairs = "request"
       shell_escape = yes
       timeout = 10
   }
   # Loaded module rlm_digest
   # Loading module "digest" from file 
/etc/freeradius/3.0/mods-enabled/digest
   # Loaded module rlm_linelog
   # Loading module "linelog" from file 
/etc/freeradius/3.0/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/3.0/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_attr_filter
   # Loading module "attr_filter.post-proxy" from file 
/etc/freeradius/3.0/mods-enabled/attr_filter
   attr_filter attr_filter.post-proxy {
       filename = "/etc/freeradius/3.0/mods-config/attr_filter/post-proxy"
       key = "%{Realm}"
       relaxed = no
   }
   # Loading module "attr_filter.pre-proxy" from file 
/etc/freeradius/3.0/mods-enabled/attr_filter
   attr_filter attr_filter.pre-proxy {
       filename = "/etc/freeradius/3.0/mods-config/attr_filter/pre-proxy"
       key = "%{Realm}"
       relaxed = no
   }
   # Loading module "attr_filter.access_reject" from file 
/etc/freeradius/3.0/mods-enabled/attr_filter
   attr_filter attr_filter.access_reject {
       filename = 
"/etc/freeradius/3.0/mods-config/attr_filter/access_reject"
       key = "%{User-Name}"
       relaxed = no
   }
   # Loading module "attr_filter.access_challenge" from file 
/etc/freeradius/3.0/mods-enabled/attr_filter
   attr_filter attr_filter.access_challenge {
       filename = 
"/etc/freeradius/3.0/mods-config/attr_filter/access_challenge"
       key = "%{User-Name}"
       relaxed = no
   }
   # Loading module "attr_filter.accounting_response" from file 
/etc/freeradius/3.0/mods-enabled/attr_filter
   attr_filter attr_filter.accounting_response {
       filename = 
"/etc/freeradius/3.0/mods-config/attr_filter/accounting_response"
       key = "%{User-Name}"
       relaxed = no
   }
   # Loaded module rlm_preprocess
   # Loading module "preprocess" from file 
/etc/freeradius/3.0/mods-enabled/preprocess
   preprocess {
       huntgroups = "/etc/freeradius/3.0/mods-config/preprocess/huntgroups"
       hints = "/etc/freeradius/3.0/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_files
   # Loading module "files" from file /etc/freeradius/3.0/mods-enabled/files
   files {
       filename = "/etc/freeradius/3.0/mods-config/files/authorize"
       acctusersfile = "/etc/freeradius/3.0/mods-config/files/accounting"
       preproxy_usersfile = 
"/etc/freeradius/3.0/mods-config/files/pre-proxy"
   }
   # Loaded module rlm_cache
   # Loading module "cache_eap" from file 
/etc/freeradius/3.0/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/freeradius/3.0/mods-enabled/chap
   # Loading module "echo" from file /etc/freeradius/3.0/mods-enabled/echo
   exec echo {
       wait = yes
       program = "/bin/echo %{User-Name}"
       input_pairs = "request"
       output_pairs = "reply"
       shell_escape = yes
   }
   # Loaded module rlm_logintime
   # Loading module "logintime" from file 
/etc/freeradius/3.0/mods-enabled/logintime
   logintime {
       minimum_timeout = 60
   }
   # Loading module "auth_log" from file 
/etc/freeradius/3.0/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/3.0/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/3.0/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/3.0/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_radutmp
   # Loading module "sradutmp" from file 
/etc/freeradius/3.0/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
   }
   # Loading module "radutmp" from file 
/etc/freeradius/3.0/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_soh
   # Loading module "soh" from file /etc/freeradius/3.0/mods-enabled/soh
   soh {
       dhcp = yes
   }
   # Loaded module rlm_unpack
   # Loading module "unpack" from file 
/etc/freeradius/3.0/mods-enabled/unpack
   # Loaded module rlm_dynamic_clients
   # Loading module "dynamic_clients" from file 
/etc/freeradius/3.0/mods-enabled/dynamic_clients
   # Loaded module rlm_passwd
   # Loading module "etc_passwd" from file 
/etc/freeradius/3.0/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_unix
   # Loading module "unix" from file /etc/freeradius/3.0/mods-enabled/unix
   unix {
       radwtmp = "/var/log/freeradius/radwtmp"
   }
Creating attribute Unix-Group
   # Loaded module rlm_expr
   # Loading module "expr" from file /etc/freeradius/3.0/mods-enabled/expr
   expr {
       safe_characters = 
"@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: 
/äéöüàâæçèéêëîïôœùûüaÿÄÉÖÜßÀÂÆÇÈÉÊËÎÏÔŒÙÛÜŸ"
   }
   # Loaded module rlm_replicate
   # Loading module "replicate" from file 
/etc/freeradius/3.0/mods-enabled/replicate
   # Loaded module rlm_utf8
   # Loading module "utf8" from file /etc/freeradius/3.0/mods-enabled/utf8
   # Loaded module rlm_mschap
   # Loading module "mschap" from file 
/etc/freeradius/3.0/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
   }
   instantiate {
   }
   # Instantiating module "eap" from file 
/etc/freeradius/3.0/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/3.0/certs"
        pem_file_type = yes
        private_key_file = "/etc/freeradius/3.0/certs/server.key"
        certificate_file = "/etc/freeradius/3.0/certs/server.pem"
        ca_file = "/etc/freeradius/3.0/certs/ca.pem"
        private_key_password = <<< secret >>>
        dh_file = "/etc/freeradius/3.0/certs/dh"
        fragment_size = 1200
        include_length = yes
        auto_chain = yes
        check_crl = no
        check_all_crl = no
        cipher_list = "DEFAULT"
        cipher_server_preference = no
        ecdh_curve = "prime256v1"
        tls_max_version = "1.2"
        tls_min_version = "1.0"
     cache {
         enable = no
         lifetime = 24
         max_entries = 255
     }
     verify {
         skip_if_ocsp_ok = no
     }
     ocsp {
         enable = no
         override_cert_url = yes
         url = "http://127.0.0.1/ocsp/"
         use_nonce = yes
         timeout = 0
         softfail = no
     }
    }
The configuration allows TLS 1.0 and/or TLS 1.1.  We STRONGLY recommned 
using only TLS 1.2 for security
Please set: min_tls_version = "1.2"
    # Linked to sub-module rlm_eap_ttls
    ttls {
        tls = "tls-common"
        default_eap_type = "tls"
        copy_request_to_tunnel = yes
        use_tunneled_reply = yes
        virtual_server = "inner-tunnel"
        include_length = yes
        require_client_cert = no
    }
tls: Using cached TLS configuration from previous invocation
    # Linked to sub-module rlm_eap_peap
    peap {
        tls = "tls-common"
        default_eap_type = "tls"
        copy_request_to_tunnel = yes
        use_tunneled_reply = yes
        proxy_tunneled_request_as_eap = yes
        virtual_server = "inner-tunnel"
        soh = no
        require_client_cert = no
    }
tls: Using cached TLS configuration from previous invocation
    # Linked to sub-module rlm_eap_mschapv2
    mschapv2 {
        with_ntdomain_hack = no
        send_error = no
    }
   # Instantiating module "pap" from file 
/etc/freeradius/3.0/mods-enabled/pap
   # Instantiating module "IPASS" from file 
/etc/freeradius/3.0/mods-enabled/realm
   # Instantiating module "suffix" from file 
/etc/freeradius/3.0/mods-enabled/realm
   # Instantiating module "bangpath" from file 
/etc/freeradius/3.0/mods-enabled/realm
   # Instantiating module "realmpercent" from file 
/etc/freeradius/3.0/mods-enabled/realm
   # Instantiating module "ntdomain" from file 
/etc/freeradius/3.0/mods-enabled/realm
   # Instantiating module "reject" from file 
/etc/freeradius/3.0/mods-enabled/always
   # Instantiating module "fail" from file 
/etc/freeradius/3.0/mods-enabled/always
   # Instantiating module "ok" from file 
/etc/freeradius/3.0/mods-enabled/always
   # Instantiating module "handled" from file 
/etc/freeradius/3.0/mods-enabled/always
   # Instantiating module "invalid" from file 
/etc/freeradius/3.0/mods-enabled/always
   # Instantiating module "userlock" from file 
/etc/freeradius/3.0/mods-enabled/always
   # Instantiating module "notfound" from file 
/etc/freeradius/3.0/mods-enabled/always
   # Instantiating module "noop" from file 
/etc/freeradius/3.0/mods-enabled/always
   # Instantiating module "updated" from file 
/etc/freeradius/3.0/mods-enabled/always
   # Instantiating module "expiration" from file 
/etc/freeradius/3.0/mods-enabled/expiration
   # Instantiating module "detail" from file 
/etc/freeradius/3.0/mods-enabled/detail
   # Instantiating module "linelog" from file 
/etc/freeradius/3.0/mods-enabled/linelog
   # Instantiating module "log_accounting" from file 
/etc/freeradius/3.0/mods-enabled/linelog
   # Instantiating module "attr_filter.post-proxy" from file 
/etc/freeradius/3.0/mods-enabled/attr_filter
reading pairlist file /etc/freeradius/3.0/mods-config/attr_filter/post-proxy
   # Instantiating module "attr_filter.pre-proxy" from file 
/etc/freeradius/3.0/mods-enabled/attr_filter
reading pairlist file /etc/freeradius/3.0/mods-config/attr_filter/pre-proxy
   # Instantiating module "attr_filter.access_reject" from file 
/etc/freeradius/3.0/mods-enabled/attr_filter
reading pairlist file 
/etc/freeradius/3.0/mods-config/attr_filter/access_reject
   # Instantiating module "attr_filter.access_challenge" from file 
/etc/freeradius/3.0/mods-enabled/attr_filter
reading pairlist file 
/etc/freeradius/3.0/mods-config/attr_filter/access_challenge
   # Instantiating module "attr_filter.accounting_response" from file 
/etc/freeradius/3.0/mods-enabled/attr_filter
reading pairlist file 
/etc/freeradius/3.0/mods-config/attr_filter/accounting_response
   # Instantiating module "preprocess" from file 
/etc/freeradius/3.0/mods-enabled/preprocess
reading pairlist file /etc/freeradius/3.0/mods-config/preprocess/huntgroups
reading pairlist file /etc/freeradius/3.0/mods-config/preprocess/hints
   # Instantiating module "files" from file 
/etc/freeradius/3.0/mods-enabled/files
reading pairlist file /etc/freeradius/3.0/mods-config/files/authorize
reading pairlist file /etc/freeradius/3.0/mods-config/files/accounting
reading pairlist file /etc/freeradius/3.0/mods-config/files/pre-proxy
   # Instantiating module "cache_eap" from file 
/etc/freeradius/3.0/mods-enabled/cache_eap
rlm_cache (cache_eap): Driver rlm_cache_rbtree (module rlm_cache_rbtree) 
loaded and linked
   # Instantiating module "logintime" from file 
/etc/freeradius/3.0/mods-enabled/logintime
   # Instantiating module "auth_log" from file 
/etc/freeradius/3.0/mods-enabled/detail.log
rlm_detail (auth_log): 'User-Password' suppressed, will not appear in 
detail output
   # Instantiating module "reply_log" from file 
/etc/freeradius/3.0/mods-enabled/detail.log
   # Instantiating module "pre_proxy_log" from file 
/etc/freeradius/3.0/mods-enabled/detail.log
   # Instantiating module "post_proxy_log" from file 
/etc/freeradius/3.0/mods-enabled/detail.log
   # Instantiating module "etc_passwd" from file 
/etc/freeradius/3.0/mods-enabled/passwd
rlm_passwd: nfields: 3 keyfield 0(User-Name) listable: no
   # Instantiating module "mschap" from file 
/etc/freeradius/3.0/mods-enabled/mschap
rlm_mschap (mschap): using internal authentication
  } # modules
radiusd: #### Loading Virtual Servers ####
server { # from file /etc/freeradius/3.0/radiusd.conf
} # server
server default { # from file /etc/freeradius/3.0/sites-enabled/default
  # Loading authenticate {...}
  # Loading authorize {...}
Ignoring "sql" (see raddb/mods-available/README.rst)
Ignoring "ldap" (see raddb/mods-available/README.rst)
  # Loading preacct {...}
  # Loading accounting {...}
  # Loading post-proxy {...}
  # Loading post-auth {...}
} # server default
server inner-tunnel { # from file 
/etc/freeradius/3.0/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/freeradius/3.0/sites-enabled/inner-tunnel:340
} # 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
Listening on proxy address * port 36607
Listening on proxy address :: port 32824
Ready to process requests
(0) Received Access-Request Id 25 from 192.168.60.109:48127 to 
192.168.60.105:1812 length 142
(0)   User-Name = "clientName"
(0)   Called-Station-Id = "bc-a5-11-9f-37-71"
(0)   Calling-Station-Id = "00:04:5f:70:fb:3b"
(0)   NAS-Identifier = "bc-a5-11-9f-37-6f"
(0)   NAS-Port = 17
(0)   Framed-MTU = 1500
(0)   NAS-Port-Type = Ethernet
(0)   EAP-Message = 0x0201000f01636c69656e744e616d65
(0)   Message-Authenticator = 0xba20064780ab25a7c9433bcdab2ab12c
(0) # Executing section authorize from file 
/etc/freeradius/3.0/sites-enabled/default
(0)   authorize {
(0)     policy filter_username {
(0)       if (&User-Name) {
(0)       if (&User-Name)  -> TRUE
(0)       if (&User-Name)  {
(0)         if (&User-Name =~ / /) {
(0)         if (&User-Name =~ / /)  -> FALSE
(0)         if (&User-Name =~ /@[^@]*@/ ) {
(0)         if (&User-Name =~ /@[^@]*@/ )  -> FALSE
(0)         if (&User-Name =~ /\.\./ ) {
(0)         if (&User-Name =~ /\.\./ )  -> FALSE
(0)         if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))  {
(0)         if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))   
-> FALSE
(0)         if (&User-Name =~ /\.$/)  {
(0)         if (&User-Name =~ /\.$/)   -> FALSE
(0)         if (&User-Name =~ /@\./)  {
(0)         if (&User-Name =~ /@\./)   -> FALSE
(0)       } # if (&User-Name)  = notfound
(0)     } # policy filter_username = notfound
(0)     [preprocess] = ok
(0)     [chap] = noop
(0)     [mschap] = noop
(0)     [digest] = noop
(0) suffix: Checking for suffix after "@"
(0) suffix: No '@' in User-Name = "clientName", looking up realm NULL
(0) suffix: No such realm "NULL"
(0)     [suffix] = noop
(0) eap: Peer sent EAP Response (code 2) ID 1 length 15
(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/freeradius/3.0/sites-enabled/default
(0)   authenticate {
(0) eap: Peer sent packet with method EAP Identity (1)
(0) eap: Calling submodule eap_peap to process data
(0) eap_peap: Initiating new TLS session
(0) eap_peap: [eaptls start] = request
(0) eap: Sending EAP Request (code 1) ID 2 length 6
(0) eap: EAP session adding &reply:State = 0xcc71e94bcc73f0a7
(0)     [eap] = handled
(0)   } # authenticate = handled
(0) Using Post-Auth-Type Challenge
(0) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(0)   Challenge { ... } # empty sub-section is ignored
(0) Sent Access-Challenge Id 25 from 192.168.60.105:1812 to 
192.168.60.109:48127 length 0
(0)   EAP-Message = 0x010200061920
(0)   Message-Authenticator = 0x00000000000000000000000000000000
(0)   State = 0xcc71e94bcc73f0a70258287a4cac4284
(0) Finished request
Waking up in 4.9 seconds.
(1) Received Access-Request Id 26 from 192.168.60.109:48127 to 
192.168.60.105:1812 length 345
(1)   User-Name = "clientName"
(1)   Called-Station-Id = "bc-a5-11-9f-37-71"
(1)   Calling-Station-Id = "00:04:5f:70:fb:3b"
(1)   NAS-Identifier = "bc-a5-11-9f-37-6f"
(1)   NAS-Port = 17
(1)   Framed-MTU = 1500
(1)   NAS-Port-Type = Ethernet
(1)   State = 0xcc71e94bcc73f0a70258287a4cac4284
(1)   EAP-Message = 
0x020200c81980000000be16030100b9010000b50303854b12d82da7eb63b81bd9f8d46621cad51c7642daeb80e2d3bdb5a44c4181f2000038c02cc030009fcca9cca8ccaac02bc02f009ec024c028006bc023c0270067c00ac0140039c009c0130033009d009c003d003c0035002f00ff01000054000b000403000102000a000c000a001d0017001e001900180016000000170000000d0030002e040305030603080708080809080a080b080408050806040105010601030302030301020103020202040205020602
(1)   Message-Authenticator = 0x9ee93bb831ae738c794500652291f73d
(1) session-state: No cached attributes
(1) # Executing section authorize from file 
/etc/freeradius/3.0/sites-enabled/default
(1)   authorize {
(1)     policy filter_username {
(1)       if (&User-Name) {
(1)       if (&User-Name)  -> TRUE
(1)       if (&User-Name)  {
(1)         if (&User-Name =~ / /) {
(1)         if (&User-Name =~ / /)  -> FALSE
(1)         if (&User-Name =~ /@[^@]*@/ ) {
(1)         if (&User-Name =~ /@[^@]*@/ )  -> FALSE
(1)         if (&User-Name =~ /\.\./ ) {
(1)         if (&User-Name =~ /\.\./ )  -> FALSE
(1)         if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))  {
(1)         if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))   
-> FALSE
(1)         if (&User-Name =~ /\.$/)  {
(1)         if (&User-Name =~ /\.$/)   -> FALSE
(1)         if (&User-Name =~ /@\./)  {
(1)         if (&User-Name =~ /@\./)   -> FALSE
(1)       } # if (&User-Name)  = notfound
(1)     } # policy filter_username = notfound
(1)     [preprocess] = ok
(1)     [chap] = noop
(1)     [mschap] = noop
(1)     [digest] = noop
(1) suffix: Checking for suffix after "@"
(1) suffix: No '@' in User-Name = "clientName", looking up realm NULL
(1) suffix: No such realm "NULL"
(1)     [suffix] = noop
(1) eap: Peer sent EAP Response (code 2) ID 2 length 200
(1) eap: Continuing tunnel setup
(1)     [eap] = ok
(1)   } # authorize = ok
(1) Found Auth-Type = eap
(1) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(1)   authenticate {
(1) eap: Expiring EAP session with state 0xcc71e94bcc73f0a7
(1) eap: Finished EAP session with state 0xcc71e94bcc73f0a7
(1) eap: Previous EAP request found for state 0xcc71e94bcc73f0a7, 
released from the list
(1) eap: Peer sent packet with method EAP PEAP (25)
(1) eap: Calling submodule eap_peap to process data
(1) eap_peap: Continuing EAP-TLS
(1) eap_peap: Peer indicated complete TLS record size will be 190 bytes
(1) eap_peap: Got complete TLS record (190 bytes)
(1) eap_peap: [eaptls verify] = length included
(1) eap_peap: (other): before SSL initialization
(1) eap_peap: TLS_accept: before SSL initialization
(1) eap_peap: TLS_accept: before SSL initialization
(1) eap_peap: <<< recv TLS 1.3  [length 00b9]
(1) eap_peap: TLS_accept: SSLv3/TLS read client hello
(1) eap_peap: >>> send TLS 1.2  [length 003d]
(1) eap_peap: TLS_accept: SSLv3/TLS write server hello
(1) eap_peap: >>> send TLS 1.2  [length 0ef1]
(1) eap_peap: TLS_accept: SSLv3/TLS write certificate
(1) eap_peap: >>> send TLS 1.2  [length 024d]
(1) eap_peap: TLS_accept: SSLv3/TLS write key exchange
(1) eap_peap: >>> send TLS 1.2  [length 0004]
(1) eap_peap: TLS_accept: SSLv3/TLS write server done
(1) eap_peap: TLS_accept: Need to read more data: SSLv3/TLS write server 
done
(1) eap_peap: TLS - In Handshake Phase
(1) eap_peap: TLS - got 4499 bytes of data
(1) eap_peap: [eaptls process] = handled
(1) eap: Sending EAP Request (code 1) ID 3 length 1180
(1) eap: EAP session adding &reply:State = 0xcc71e94bcd72f0a7
(1)     [eap] = handled
(1)   } # authenticate = handled
(1) Using Post-Auth-Type Challenge
(1) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(1)   Challenge { ... } # empty sub-section is ignored
(1) Sent Access-Challenge Id 26 from 192.168.60.105:1812 to 
192.168.60.109:48127 length 0
(1)   EAP-Message = 
0x0103049c19c000001193160303003d0200003903032624afdda75c04f74b31ba563c2898ad0abd436cdc1fa25e12f2bab5aca6048d00c030000011ff01000100000b000403000102001700001603030ef10b000eed000eea0007713082076d30820555a003020102020102300d06092a864886f70d01010b05003081a9310b3009060355040613024445310b3009060355040813025348311230100603550407130950696e6e6562657267311f301d060355040a131657656e7a656c2d456c656b74726f6e696b20476d624831143012060355040b130b456e747769636b6c756e67311830160603550403140f43415f5457615f32303230303831323128302606092a864886f70d0109011619696e666f4077656e7a656c2d656c656b74726f6e696b2e6465301e170d3230303831323133353130335a170d3231303831323133353130335a3081aa310b3009060355040613024445310b3009060355040813025348311230100603550407130950696e6e6562657267
(1)   Message-Authenticator = 0x00000000000000000000000000000000
(1)   State = 0xcc71e94bcd72f0a70258287a4cac4284
(1) Finished request
Waking up in 4.9 seconds.
(2) Received Access-Request Id 27 from 192.168.60.109:48127 to 
192.168.60.105:1812 length 151
(2)   User-Name = "clientName"
(2)   Called-Station-Id = "bc-a5-11-9f-37-71"
(2)   Calling-Station-Id = "00:04:5f:70:fb:3b"
(2)   NAS-Identifier = "bc-a5-11-9f-37-6f"
(2)   NAS-Port = 17
(2)   Framed-MTU = 1500
(2)   NAS-Port-Type = Ethernet
(2)   State = 0xcc71e94bcd72f0a70258287a4cac4284
(2)   EAP-Message = 0x020300061900
(2)   Message-Authenticator = 0x9fc6bce19bfc5333cd3dff1551b35a98
(2) session-state: No cached attributes
(2) # Executing section authorize from file 
/etc/freeradius/3.0/sites-enabled/default
(2)   authorize {
(2)     policy filter_username {
(2)       if (&User-Name) {
(2)       if (&User-Name)  -> TRUE
(2)       if (&User-Name)  {
(2)         if (&User-Name =~ / /) {
(2)         if (&User-Name =~ / /)  -> FALSE
(2)         if (&User-Name =~ /@[^@]*@/ ) {
(2)         if (&User-Name =~ /@[^@]*@/ )  -> FALSE
(2)         if (&User-Name =~ /\.\./ ) {
(2)         if (&User-Name =~ /\.\./ )  -> FALSE
(2)         if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))  {
(2)         if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))   
-> FALSE
(2)         if (&User-Name =~ /\.$/)  {
(2)         if (&User-Name =~ /\.$/)   -> FALSE
(2)         if (&User-Name =~ /@\./)  {
(2)         if (&User-Name =~ /@\./)   -> FALSE
(2)       } # if (&User-Name)  = notfound
(2)     } # policy filter_username = notfound
(2)     [preprocess] = ok
(2)     [chap] = noop
(2)     [mschap] = noop
(2)     [digest] = noop
(2) suffix: Checking for suffix after "@"
(2) suffix: No '@' in User-Name = "clientName", looking up realm NULL
(2) suffix: No such realm "NULL"
(2)     [suffix] = noop
(2) eap: Peer sent EAP Response (code 2) ID 3 length 6
(2) eap: Continuing tunnel setup
(2)     [eap] = ok
(2)   } # authorize = ok
(2) Found Auth-Type = eap
(2) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(2)   authenticate {
(2) eap: Expiring EAP session with state 0xcc71e94bcd72f0a7
(2) eap: Finished EAP session with state 0xcc71e94bcd72f0a7
(2) eap: Previous EAP request found for state 0xcc71e94bcd72f0a7, 
released from the list
(2) eap: Peer sent packet with method EAP PEAP (25)
(2) eap: Calling submodule eap_peap to process data
(2) eap_peap: Continuing EAP-TLS
(2) eap_peap: Peer ACKed our handshake fragment
(2) eap_peap: [eaptls verify] = request
(2) eap_peap: [eaptls process] = handled
(2) eap: Sending EAP Request (code 1) ID 4 length 1176
(2) eap: EAP session adding &reply:State = 0xcc71e94bce75f0a7
(2)     [eap] = handled
(2)   } # authenticate = handled
(2) Using Post-Auth-Type Challenge
(2) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(2)   Challenge { ... } # empty sub-section is ignored
(2) Sent Access-Challenge Id 27 from 192.168.60.105:1812 to 
192.168.60.109:48127 length 0
(2)   EAP-Message = 
0x01040498194026cf40d2e9662a731ff01ed4f89a2355557547a181afa481ac3081a9310b3009060355040613024445310b3009060355040813025348311230100603550407130950696e6e6562657267311f301d060355040a131657656e7a656c2d456c656b74726f6e696b20476d624831143012060355040b130b456e747769636b6c756e67311830160603550403140f43415f5457615f32303230303831323128302606092a864886f70d0109011619696e666f4077656e7a656c2d656c656b74726f6e696b2e6465820900d0395115e19ec94430240603551d12041d301b8119696e666f4077656e7a656c2d656c656b74726f6e696b2e646530240603551d11041d301b8119696e666f4077656e7a656c2d656c656b74726f6e696b2e6465300d06092a864886f70d01010b05000382020100a5e49b738363a4942c9ae3a791e94a93dfdac03154a49bab478a734b4c560a58325b551ed72b0e9ce6aa9d75738432e36a709c4591a8d5869a08cd5aa7f5f759e0
(2)   Message-Authenticator = 0x00000000000000000000000000000000
(2)   State = 0xcc71e94bce75f0a70258287a4cac4284
(2) Finished request
Waking up in 4.8 seconds.
(3) Received Access-Request Id 28 from 192.168.60.109:48127 to 
192.168.60.105:1812 length 151
(3)   User-Name = "clientName"
(3)   Called-Station-Id = "bc-a5-11-9f-37-71"
(3)   Calling-Station-Id = "00:04:5f:70:fb:3b"
(3)   NAS-Identifier = "bc-a5-11-9f-37-6f"
(3)   NAS-Port = 17
(3)   Framed-MTU = 1500
(3)   NAS-Port-Type = Ethernet
(3)   State = 0xcc71e94bce75f0a70258287a4cac4284
(3)   EAP-Message = 0x020400061900
(3)   Message-Authenticator = 0x98a67adee088212cd87cb7e2993a1516
(3) session-state: No cached attributes
(3) # Executing section authorize from file 
/etc/freeradius/3.0/sites-enabled/default
(3)   authorize {
(3)     policy filter_username {
(3)       if (&User-Name) {
(3)       if (&User-Name)  -> TRUE
(3)       if (&User-Name)  {
(3)         if (&User-Name =~ / /) {
(3)         if (&User-Name =~ / /)  -> FALSE
(3)         if (&User-Name =~ /@[^@]*@/ ) {
(3)         if (&User-Name =~ /@[^@]*@/ )  -> FALSE
(3)         if (&User-Name =~ /\.\./ ) {
(3)         if (&User-Name =~ /\.\./ )  -> FALSE
(3)         if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))  {
(3)         if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))   
-> FALSE
(3)         if (&User-Name =~ /\.$/)  {
(3)         if (&User-Name =~ /\.$/)   -> FALSE
(3)         if (&User-Name =~ /@\./)  {
(3)         if (&User-Name =~ /@\./)   -> FALSE
(3)       } # if (&User-Name)  = notfound
(3)     } # policy filter_username = notfound
(3)     [preprocess] = ok
(3)     [chap] = noop
(3)     [mschap] = noop
(3)     [digest] = noop
(3) suffix: Checking for suffix after "@"
(3) suffix: No '@' in User-Name = "clientName", looking up realm NULL
(3) suffix: No such realm "NULL"
(3)     [suffix] = noop
(3) eap: Peer sent EAP Response (code 2) ID 4 length 6
(3) eap: Continuing tunnel setup
(3)     [eap] = ok
(3)   } # authorize = ok
(3) Found Auth-Type = eap
(3) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(3)   authenticate {
(3) eap: Expiring EAP session with state 0xcc71e94bce75f0a7
(3) eap: Finished EAP session with state 0xcc71e94bce75f0a7
(3) eap: Previous EAP request found for state 0xcc71e94bce75f0a7, 
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 ACKed our handshake fragment
(3) eap_peap: [eaptls verify] = request
(3) eap_peap: [eaptls process] = handled
(3) eap: Sending EAP Request (code 1) ID 5 length 1176
(3) eap: EAP session adding &reply:State = 0xcc71e94bcf74f0a7
(3)     [eap] = handled
(3)   } # authenticate = handled
(3) Using Post-Auth-Type Challenge
(3) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(3)   Challenge { ... } # empty sub-section is ignored
(3) Sent Access-Challenge Id 28 from 192.168.60.105:1812 to 
192.168.60.109:48127 length 0
(3)   EAP-Message = 
0x0105049819400603550403140f43415f5457615f32303230303831323128302606092a864886f70d0109011619696e666f4077656e7a656c2d656c656b74726f6e696b2e646530820222300d06092a864886f70d01010105000382020f003082020a0282020100db71596e21a5edb39efa05735bafca1c7995b76d49d5a002bc3de8090e92c10ba06beb85e3cf9b49c40cdaee2b7f6fc28ac52a6997dfe099e3e6afbf0e344a2b928571a90d9b814a13f67a2e7ceb8e3058ff012f51fcbd61d7f0d766aacbf82ca9ae3120a37ccc82567018fd5a4d9b486a0fdb8133cd7be757b2ccf9ee47e0bc672067294b002bb90b258f780b8807858d00ef99d027f3244d1e623911a67a0d342b9d73a035adea6b058d4e03f13815aee46e3956e1d3ad3992c69a2fd8962e2853766e832875181e1e3538afc8f7e25bc4ef20614dc88aca6c8f8ea982792c75aaf839eb6f1f69ac76c3e48410613cd25c2bb9444fc62bccdf18fd119f8779ef41b61d65978ea177d2adf33ea94d5b
(3)   Message-Authenticator = 0x00000000000000000000000000000000
(3)   State = 0xcc71e94bcf74f0a70258287a4cac4284
(3) Finished request
Waking up in 4.8 seconds.
(4) Received Access-Request Id 29 from 192.168.60.109:48127 to 
192.168.60.105:1812 length 151
(4)   User-Name = "clientName"
(4)   Called-Station-Id = "bc-a5-11-9f-37-71"
(4)   Calling-Station-Id = "00:04:5f:70:fb:3b"
(4)   NAS-Identifier = "bc-a5-11-9f-37-6f"
(4)   NAS-Port = 17
(4)   Framed-MTU = 1500
(4)   NAS-Port-Type = Ethernet
(4)   State = 0xcc71e94bcf74f0a70258287a4cac4284
(4)   EAP-Message = 0x020500061900
(4)   Message-Authenticator = 0xc4cb514b129ec5716b0ad32d009c9027
(4) session-state: No cached attributes
(4) # Executing section authorize from file 
/etc/freeradius/3.0/sites-enabled/default
(4)   authorize {
(4)     policy filter_username {
(4)       if (&User-Name) {
(4)       if (&User-Name)  -> TRUE
(4)       if (&User-Name)  {
(4)         if (&User-Name =~ / /) {
(4)         if (&User-Name =~ / /)  -> FALSE
(4)         if (&User-Name =~ /@[^@]*@/ ) {
(4)         if (&User-Name =~ /@[^@]*@/ )  -> FALSE
(4)         if (&User-Name =~ /\.\./ ) {
(4)         if (&User-Name =~ /\.\./ )  -> FALSE
(4)         if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))  {
(4)         if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))   
-> FALSE
(4)         if (&User-Name =~ /\.$/)  {
(4)         if (&User-Name =~ /\.$/)   -> FALSE
(4)         if (&User-Name =~ /@\./)  {
(4)         if (&User-Name =~ /@\./)   -> FALSE
(4)       } # if (&User-Name)  = notfound
(4)     } # policy filter_username = notfound
(4)     [preprocess] = ok
(4)     [chap] = noop
(4)     [mschap] = noop
(4)     [digest] = noop
(4) suffix: Checking for suffix after "@"
(4) suffix: No '@' in User-Name = "clientName", looking up realm NULL
(4) suffix: No such realm "NULL"
(4)     [suffix] = noop
(4) eap: Peer sent EAP Response (code 2) ID 5 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/3.0/sites-enabled/default
(4)   authenticate {
(4) eap: Expiring EAP session with state 0xcc71e94bcf74f0a7
(4) eap: Finished EAP session with state 0xcc71e94bcf74f0a7
(4) eap: Previous EAP request found for state 0xcc71e94bcf74f0a7, 
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 6 length 995
(4) eap: EAP session adding &reply:State = 0xcc71e94bc877f0a7
(4)     [eap] = handled
(4)   } # authenticate = handled
(4) Using Post-Auth-Type Challenge
(4) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(4)   Challenge { ... } # empty sub-section is ignored
(4) Sent Access-Challenge Id 29 from 192.168.60.105:1812 to 
192.168.60.109:48127 length 0
(4)   EAP-Message = 
0x010603e319009a2465a16b164e342cb7deee1d29a9692e0b82fbc0db1ba686f2694a0c311e7c68f3b4b1ff7a64b6a60c0e7639204f5b5fc90a8848dc63aaf1a0bce031fcabb2cf534d7afe8e91f698fbf8ad27c03c205f5e49cee1cce853990d479ee2ad424453c2f63d2251a0146cc4c317996c978455e7b471924bdc1eed0dfe440b30a6b40b625412c5d9e820d863c414b5f71cbc626e29b35460a2182e7a19f6535eca03fddbfcacecf96a0d23908f2ab42a089a8221c31b30d301eab761cf43f16b9293e48bda72d146f490936eb2cfe03c4076f7460c74e18a590ba739ded9c9578d5421295114020025c7c3bd7236ef3a79f8f4e4869b8008ba2eb4fe31fd6e0cd0d25663dd415b7a61269b52c3b7b91f465469d32a951bdf55fa20e24a1ff291af88a173d2d3fb3bcfb3569832bbac01861c703280449fcde52767bc50302c5b3d1297f3e4363d4c3738aec920c633144f22b197c57c5166cb8f9d7c348cf1137159e355292559fe7e65be45d2953d32502471
(4)   Message-Authenticator = 0x00000000000000000000000000000000
(4)   State = 0xcc71e94bc877f0a70258287a4cac4284
(4) Finished request
Waking up in 4.8 seconds.
(5) Received Access-Request Id 30 from 192.168.60.109:48127 to 
192.168.60.105:1812 length 281
(5)   User-Name = "clientName"
(5)   Called-Station-Id = "bc-a5-11-9f-37-71"
(5)   Calling-Station-Id = "00:04:5f:70:fb:3b"
(5)   NAS-Identifier = "bc-a5-11-9f-37-6f"
(5)   NAS-Port = 17
(5)   Framed-MTU = 1500
(5)   NAS-Port-Type = Ethernet
(5)   State = 0xcc71e94bc877f0a70258287a4cac4284
(5)   EAP-Message = 
0x0206008819800000007e1603030046100000424104e5d7016dcac39c17e8e692b972b09ef47302540891980a44c1a7b98ee349ccd3e684143556827b442f7b158eac2b44d18282e2b58ed0fe3f4889eacf085ccd681403030001011603030028dc1b2399440e0b48ba713d7c02748c2e9e3a5126b2bc9d9c65ed8905d45161ceeac2746ce465083a
(5)   Message-Authenticator = 0x81529a5db8cb0e70c5fc97db14e84b9b
(5) session-state: No cached attributes
(5) # Executing section authorize from file 
/etc/freeradius/3.0/sites-enabled/default
(5)   authorize {
(5)     policy filter_username {
(5)       if (&User-Name) {
(5)       if (&User-Name)  -> TRUE
(5)       if (&User-Name)  {
(5)         if (&User-Name =~ / /) {
(5)         if (&User-Name =~ / /)  -> FALSE
(5)         if (&User-Name =~ /@[^@]*@/ ) {
(5)         if (&User-Name =~ /@[^@]*@/ )  -> FALSE
(5)         if (&User-Name =~ /\.\./ ) {
(5)         if (&User-Name =~ /\.\./ )  -> FALSE
(5)         if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))  {
(5)         if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))   
-> FALSE
(5)         if (&User-Name =~ /\.$/)  {
(5)         if (&User-Name =~ /\.$/)   -> FALSE
(5)         if (&User-Name =~ /@\./)  {
(5)         if (&User-Name =~ /@\./)   -> FALSE
(5)       } # if (&User-Name)  = notfound
(5)     } # policy filter_username = notfound
(5)     [preprocess] = ok
(5)     [chap] = noop
(5)     [mschap] = noop
(5)     [digest] = noop
(5) suffix: Checking for suffix after "@"
(5) suffix: No '@' in User-Name = "clientName", looking up realm NULL
(5) suffix: No such realm "NULL"
(5)     [suffix] = noop
(5) eap: Peer sent EAP Response (code 2) ID 6 length 136
(5) eap: Continuing tunnel setup
(5)     [eap] = ok
(5)   } # authorize = ok
(5) Found Auth-Type = eap
(5) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(5)   authenticate {
(5) eap: Expiring EAP session with state 0xcc71e94bc877f0a7
(5) eap: Finished EAP session with state 0xcc71e94bc877f0a7
(5) eap: Previous EAP request found for state 0xcc71e94bc877f0a7, 
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 indicated complete TLS record size will be 126 bytes
(5) eap_peap: Got complete TLS record (126 bytes)
(5) eap_peap: [eaptls verify] = length included
(5) eap_peap: TLS_accept: SSLv3/TLS write server done
(5) eap_peap: <<< recv TLS 1.2  [length 0046]
(5) eap_peap: TLS_accept: SSLv3/TLS read client key exchange
(5) eap_peap: TLS_accept: SSLv3/TLS read change cipher spec
(5) eap_peap: <<< recv TLS 1.2  [length 0010]
(5) eap_peap: TLS_accept: SSLv3/TLS read finished
(5) eap_peap: >>> send TLS 1.2  [length 0001]
(5) eap_peap: TLS_accept: SSLv3/TLS write change cipher spec
(5) eap_peap: >>> send TLS 1.2  [length 0010]
(5) eap_peap: TLS_accept: SSLv3/TLS write finished
(5) eap_peap: (other): SSL negotiation finished successfully
(5) eap_peap: TLS - Connection Established
(5) eap_peap: TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(5) eap_peap: TLS-Session-Version = "TLS 1.2"
(5) eap_peap: TLS - got 51 bytes of data
(5) eap_peap: [eaptls process] = handled
(5) eap: Sending EAP Request (code 1) ID 7 length 57
(5) eap: EAP session adding &reply:State = 0xcc71e94bc976f0a7
(5)     [eap] = handled
(5)   } # authenticate = handled
(5) Using Post-Auth-Type Challenge
(5) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(5)   Challenge { ... } # empty sub-section is ignored
(5) session-state: Saving cached attributes
(5)   TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(5)   TLS-Session-Version = "TLS 1.2"
(5) Sent Access-Challenge Id 30 from 192.168.60.105:1812 to 
192.168.60.109:48127 length 0
(5)   EAP-Message = 
0x01070039190014030300010116030300281dc2bfc76d4ab1a76c5ef63dfc5e5d766b5e2901488e8a7f874f45151b0e354decf063cf37352ee8
(5)   Message-Authenticator = 0x00000000000000000000000000000000
(5)   State = 0xcc71e94bc976f0a70258287a4cac4284
(5) Finished request
Waking up in 4.8 seconds.
(6) Received Access-Request Id 31 from 192.168.60.109:48127 to 
192.168.60.105:1812 length 151
(6)   User-Name = "clientName"
(6)   Called-Station-Id = "bc-a5-11-9f-37-71"
(6)   Calling-Station-Id = "00:04:5f:70:fb:3b"
(6)   NAS-Identifier = "bc-a5-11-9f-37-6f"
(6)   NAS-Port = 17
(6)   Framed-MTU = 1500
(6)   NAS-Port-Type = Ethernet
(6)   State = 0xcc71e94bc976f0a70258287a4cac4284
(6)   EAP-Message = 0x020700061900
(6)   Message-Authenticator = 0x98bf9ecc33fbe02fa690d7ce3d0a3b48
(6) Restoring &session-state
(6)   &session-state:TLS-Session-Cipher-Suite = 
"ECDHE-RSA-AES256-GCM-SHA384"
(6)   &session-state:TLS-Session-Version = "TLS 1.2"
(6) # Executing section authorize from file 
/etc/freeradius/3.0/sites-enabled/default
(6)   authorize {
(6)     policy filter_username {
(6)       if (&User-Name) {
(6)       if (&User-Name)  -> TRUE
(6)       if (&User-Name)  {
(6)         if (&User-Name =~ / /) {
(6)         if (&User-Name =~ / /)  -> FALSE
(6)         if (&User-Name =~ /@[^@]*@/ ) {
(6)         if (&User-Name =~ /@[^@]*@/ )  -> FALSE
(6)         if (&User-Name =~ /\.\./ ) {
(6)         if (&User-Name =~ /\.\./ )  -> FALSE
(6)         if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))  {
(6)         if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))   
-> FALSE
(6)         if (&User-Name =~ /\.$/)  {
(6)         if (&User-Name =~ /\.$/)   -> FALSE
(6)         if (&User-Name =~ /@\./)  {
(6)         if (&User-Name =~ /@\./)   -> FALSE
(6)       } # if (&User-Name)  = notfound
(6)     } # policy filter_username = notfound
(6)     [preprocess] = ok
(6)     [chap] = noop
(6)     [mschap] = noop
(6)     [digest] = noop
(6) suffix: Checking for suffix after "@"
(6) suffix: No '@' in User-Name = "clientName", looking up realm NULL
(6) suffix: No such realm "NULL"
(6)     [suffix] = noop
(6) eap: Peer sent EAP Response (code 2) ID 7 length 6
(6) eap: Continuing tunnel setup
(6)     [eap] = ok
(6)   } # authorize = ok
(6) Found Auth-Type = eap
(6) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(6)   authenticate {
(6) eap: Expiring EAP session with state 0xcc71e94bc976f0a7
(6) eap: Finished EAP session with state 0xcc71e94bc976f0a7
(6) eap: Previous EAP request found for state 0xcc71e94bc976f0a7, 
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 ACKed our handshake fragment.  handshake is finished
(6) eap_peap: [eaptls verify] = success
(6) eap_peap: [eaptls process] = success
(6) eap_peap: Session established.  Decoding tunneled attributes
(6) eap_peap: PEAP state TUNNEL ESTABLISHED
(6) eap: Sending EAP Request (code 1) ID 8 length 40
(6) eap: EAP session adding &reply:State = 0xcc71e94bca79f0a7
(6)     [eap] = handled
(6)   } # authenticate = handled
(6) Using Post-Auth-Type Challenge
(6) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(6)   Challenge { ... } # empty sub-section is ignored
(6) session-state: Saving cached attributes
(6)   TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(6)   TLS-Session-Version = "TLS 1.2"
(6) Sent Access-Challenge Id 31 from 192.168.60.105:1812 to 
192.168.60.109:48127 length 0
(6)   EAP-Message = 
0x010800281900170303001d1dc2bfc76d4ab1a8997ec06e45bbd942a8ba096a5e2091eca5343d4ad6
(6)   Message-Authenticator = 0x00000000000000000000000000000000
(6)   State = 0xcc71e94bca79f0a70258287a4cac4284
(6) Finished request
Waking up in 4.8 seconds.
(7) Received Access-Request Id 32 from 192.168.60.109:48127 to 
192.168.60.105:1812 length 191
(7)   User-Name = "clientName"
(7)   Called-Station-Id = "bc-a5-11-9f-37-71"
(7)   Calling-Station-Id = "00:04:5f:70:fb:3b"
(7)   NAS-Identifier = "bc-a5-11-9f-37-6f"
(7)   NAS-Port = 17
(7)   Framed-MTU = 1500
(7)   NAS-Port-Type = Ethernet
(7)   State = 0xcc71e94bca79f0a70258287a4cac4284
(7)   EAP-Message = 
0x0208002e19001703030023dc1b2399440e0b49b64ce5cad027d3984d760bf4748103130835185a0c7d354a15805d
(7)   Message-Authenticator = 0x45477e11647baa67e65d9663d3f0d300
(7) Restoring &session-state
(7)   &session-state:TLS-Session-Cipher-Suite = 
"ECDHE-RSA-AES256-GCM-SHA384"
(7)   &session-state:TLS-Session-Version = "TLS 1.2"
(7) # Executing section authorize from file 
/etc/freeradius/3.0/sites-enabled/default
(7)   authorize {
(7)     policy filter_username {
(7)       if (&User-Name) {
(7)       if (&User-Name)  -> TRUE
(7)       if (&User-Name)  {
(7)         if (&User-Name =~ / /) {
(7)         if (&User-Name =~ / /)  -> FALSE
(7)         if (&User-Name =~ /@[^@]*@/ ) {
(7)         if (&User-Name =~ /@[^@]*@/ )  -> FALSE
(7)         if (&User-Name =~ /\.\./ ) {
(7)         if (&User-Name =~ /\.\./ )  -> FALSE
(7)         if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))  {
(7)         if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))   
-> FALSE
(7)         if (&User-Name =~ /\.$/)  {
(7)         if (&User-Name =~ /\.$/)   -> FALSE
(7)         if (&User-Name =~ /@\./)  {
(7)         if (&User-Name =~ /@\./)   -> FALSE
(7)       } # if (&User-Name)  = notfound
(7)     } # policy filter_username = notfound
(7)     [preprocess] = ok
(7)     [chap] = noop
(7)     [mschap] = noop
(7)     [digest] = noop
(7) suffix: Checking for suffix after "@"
(7) suffix: No '@' in User-Name = "clientName", looking up realm NULL
(7) suffix: No such realm "NULL"
(7)     [suffix] = noop
(7) eap: Peer sent EAP Response (code 2) ID 8 length 46
(7) eap: Continuing tunnel setup
(7)     [eap] = ok
(7)   } # authorize = ok
(7) Found Auth-Type = eap
(7) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(7)   authenticate {
(7) eap: Expiring EAP session with state 0xcc71e94bca79f0a7
(7) eap: Finished EAP session with state 0xcc71e94bca79f0a7
(7) eap: Previous EAP request found for state 0xcc71e94bca79f0a7, 
released from the list
(7) eap: Peer sent packet with method EAP PEAP (25)
(7) eap: Calling submodule eap_peap to process data
(7) eap_peap: Continuing EAP-TLS
(7) eap_peap: [eaptls verify] = ok
(7) eap_peap: Done initial handshake
(7) eap_peap: [eaptls process] = ok
(7) eap_peap: Session established.  Decoding tunneled attributes
(7) eap_peap: PEAP state WAITING FOR INNER IDENTITY
(7) eap_peap: Identity - clientName
(7) eap_peap: Got inner identity 'clientName'
(7) eap_peap: Setting default EAP type for tunneled EAP session
(7) eap_peap: Got tunneled request
(7) eap_peap:   EAP-Message = 0x0208000f01636c69656e744e616d65
(7) eap_peap: Setting User-Name to clientName
(7) eap_peap: Sending tunneled request to inner-tunnel
(7) eap_peap:   EAP-Message = 0x0208000f01636c69656e744e616d65
(7) eap_peap:   FreeRADIUS-Proxied-To = 127.0.0.1
(7) eap_peap:   User-Name = "clientName"
(7) eap_peap:   Called-Station-Id = "bc-a5-11-9f-37-71"
(7) eap_peap:   Calling-Station-Id = "00:04:5f:70:fb:3b"
(7) eap_peap:   NAS-Identifier = "bc-a5-11-9f-37-6f"
(7) eap_peap:   NAS-Port = 17
(7) eap_peap:   Framed-MTU = 1500
(7) eap_peap:   NAS-Port-Type = Ethernet
(7) eap_peap:   Event-Timestamp = "Aug 17 2020 16:14:32 CEST"
(7) eap_peap:   NAS-IP-Address = 192.168.60.109
(7) Virtual server inner-tunnel received request
(7)   EAP-Message = 0x0208000f01636c69656e744e616d65
(7)   FreeRADIUS-Proxied-To = 127.0.0.1
(7)   User-Name = "clientName"
(7)   Called-Station-Id = "bc-a5-11-9f-37-71"
(7)   Calling-Station-Id = "00:04:5f:70:fb:3b"
(7)   NAS-Identifier = "bc-a5-11-9f-37-6f"
(7)   NAS-Port = 17
(7)   Framed-MTU = 1500
(7)   NAS-Port-Type = Ethernet
(7)   Event-Timestamp = "Aug 17 2020 16:14:32 CEST"
(7)   NAS-IP-Address = 192.168.60.109
(7) WARNING: Outer and inner identities are the same.  User privacy is 
compromised.
(7) server inner-tunnel {
(7)   # Executing section authorize from file 
/etc/freeradius/3.0/sites-enabled/inner-tunnel
(7)     authorize {
(7)       policy filter_username {
(7)         if (&User-Name) {
(7)         if (&User-Name)  -> TRUE
(7)         if (&User-Name)  {
(7)           if (&User-Name =~ / /) {
(7)           if (&User-Name =~ / /)  -> FALSE
(7)           if (&User-Name =~ /@[^@]*@/ ) {
(7)           if (&User-Name =~ /@[^@]*@/ )  -> FALSE
(7)           if (&User-Name =~ /\.\./ ) {
(7)           if (&User-Name =~ /\.\./ )  -> FALSE
(7)           if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))  {
(7)           if ((&User-Name =~ /@/) && (&User-Name !~ 
/@(.+)\.(.+)$/))   -> FALSE
(7)           if (&User-Name =~ /\.$/)  {
(7)           if (&User-Name =~ /\.$/)   -> FALSE
(7)           if (&User-Name =~ /@\./)  {
(7)           if (&User-Name =~ /@\./)   -> FALSE
(7)         } # if (&User-Name)  = notfound
(7)       } # policy filter_username = notfound
(7)       [chap] = noop
(7)       [mschap] = noop
(7) suffix: Checking for suffix after "@"
(7) suffix: No '@' in User-Name = "clientName", looking up realm NULL
(7) suffix: No such realm "NULL"
(7)       [suffix] = noop
(7)       update control {
(7)         &Proxy-To-Realm := LOCAL
(7)       } # update control = noop
(7) eap: Peer sent EAP Response (code 2) ID 8 length 15
(7) eap: EAP-Identity reply, returning 'ok' so we can short-circuit the 
rest of authorize
(7)       [eap] = ok
(7)     } # authorize = ok
(7)   Found Auth-Type = eap
(7)   # Executing group from file 
/etc/freeradius/3.0/sites-enabled/inner-tunnel
(7)     authenticate {
(7) eap: Peer sent packet with method EAP Identity (1)
(7) eap: Calling submodule eap_tls to process data
(7) eap_tls: Initiating new TLS session
(7) eap_tls: Setting verify mode to require certificate from client
(7) eap_tls: [eaptls start] = request
(7) eap: Sending EAP Request (code 1) ID 9 length 6
(7) eap: EAP session adding &reply:State = 0x1059e5af1050e8ef
(7)       [eap] = handled
(7)     } # authenticate = handled
(7) } # server inner-tunnel
(7) Virtual server sending reply
(7)   EAP-Message = 0x010900060d20
(7)   Message-Authenticator = 0x00000000000000000000000000000000
(7)   State = 0x1059e5af1050e8ef02ecac11dd472c48
(7) eap_peap: Got tunneled reply code 11
(7) eap_peap:   EAP-Message = 0x010900060d20
(7) eap_peap:   Message-Authenticator = 0x00000000000000000000000000000000
(7) eap_peap:   State = 0x1059e5af1050e8ef02ecac11dd472c48
(7) eap_peap: Got tunneled reply RADIUS code 11
(7) eap_peap:   EAP-Message = 0x010900060d20
(7) eap_peap:   Message-Authenticator = 0x00000000000000000000000000000000
(7) eap_peap:   State = 0x1059e5af1050e8ef02ecac11dd472c48
(7) eap_peap: Got tunneled Access-Challenge
(7) eap: Sending EAP Request (code 1) ID 9 length 37
(7) eap: EAP session adding &reply:State = 0xcc71e94bcb78f0a7
(7)     [eap] = handled
(7)   } # authenticate = handled
(7) Using Post-Auth-Type Challenge
(7) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(7)   Challenge { ... } # empty sub-section is ignored
(7) session-state: Saving cached attributes
(7)   TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(7)   TLS-Session-Version = "TLS 1.2"
(7) Sent Access-Challenge Id 32 from 192.168.60.105:1812 to 
192.168.60.109:48127 length 0
(7)   EAP-Message = 
0x010900251900170303001a1dc2bfc76d4ab1a972f783f47abfad9839ef3baf99358042fe95
(7)   Message-Authenticator = 0x00000000000000000000000000000000
(7)   State = 0xcc71e94bcb78f0a70258287a4cac4284
(7) Finished request
Waking up in 4.8 seconds.
(8) Received Access-Request Id 33 from 192.168.60.109:48127 to 
192.168.60.105:1812 length 372
(8)   User-Name = "clientName"
(8)   Called-Station-Id = "bc-a5-11-9f-37-71"
(8)   Calling-Station-Id = "00:04:5f:70:fb:3b"
(8)   NAS-Identifier = "bc-a5-11-9f-37-6f"
(8)   NAS-Port = 17
(8)   Framed-MTU = 1500
(8)   NAS-Port-Type = Ethernet
(8)   State = 0xcc71e94bcb78f0a70258287a4cac4284
(8)   EAP-Message = 
0x020900e3190017030300d8dc1b2399440e0b4aa9595e77333738e452280c07b82c377e11aad80763fd06ac0456f4e5a0036c058ef1c18e5bd0384a88fff4973e867793f1bbf1e4e5253ae740ea8357a75f51b0c4d2648b853a6824c597f1f70317107055891680766a22772a49407c2c8c8701658aea732405883d3abb9623d56d98e7699dd7f2b418ce7fe70d3774ec6ed68947e0e7ef719af48167034f4838321298b430ec46c72eaa7f5095e7be03ec16e47d51cadd20b810bc7b88c2f820fb61e5e9dd5950d7b1ad075650e45356db443fc873a65ee2064fa763c0775abccef8ba
(8)   Message-Authenticator = 0x080895b90020840f9bfc3853c0d5b34a
(8) Restoring &session-state
(8)   &session-state:TLS-Session-Cipher-Suite = 
"ECDHE-RSA-AES256-GCM-SHA384"
(8)   &session-state:TLS-Session-Version = "TLS 1.2"
(8) # Executing section authorize from file 
/etc/freeradius/3.0/sites-enabled/default
(8)   authorize {
(8)     policy filter_username {
(8)       if (&User-Name) {
(8)       if (&User-Name)  -> TRUE
(8)       if (&User-Name)  {
(8)         if (&User-Name =~ / /) {
(8)         if (&User-Name =~ / /)  -> FALSE
(8)         if (&User-Name =~ /@[^@]*@/ ) {
(8)         if (&User-Name =~ /@[^@]*@/ )  -> FALSE
(8)         if (&User-Name =~ /\.\./ ) {
(8)         if (&User-Name =~ /\.\./ )  -> FALSE
(8)         if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))  {
(8)         if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))   
-> FALSE
(8)         if (&User-Name =~ /\.$/)  {
(8)         if (&User-Name =~ /\.$/)   -> FALSE
(8)         if (&User-Name =~ /@\./)  {
(8)         if (&User-Name =~ /@\./)   -> FALSE
(8)       } # if (&User-Name)  = notfound
(8)     } # policy filter_username = notfound
(8)     [preprocess] = ok
(8)     [chap] = noop
(8)     [mschap] = noop
(8)     [digest] = noop
(8) suffix: Checking for suffix after "@"
(8) suffix: No '@' in User-Name = "clientName", looking up realm NULL
(8) suffix: No such realm "NULL"
(8)     [suffix] = noop
(8) eap: Peer sent EAP Response (code 2) ID 9 length 227
(8) eap: Continuing tunnel setup
(8)     [eap] = ok
(8)   } # authorize = ok
(8) Found Auth-Type = eap
(8) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(8)   authenticate {
(8) eap: Expiring EAP session with state 0x1059e5af1050e8ef
(8) eap: Finished EAP session with state 0xcc71e94bcb78f0a7
(8) eap: Previous EAP request found for state 0xcc71e94bcb78f0a7, 
released from the list
(8) eap: Peer sent packet with method EAP PEAP (25)
(8) eap: Calling submodule eap_peap to process data
(8) eap_peap: Continuing EAP-TLS
(8) eap_peap: [eaptls verify] = ok
(8) eap_peap: Done initial handshake
(8) eap_peap: [eaptls process] = ok
(8) eap_peap: Session established.  Decoding tunneled attributes
(8) eap_peap: PEAP state phase2
(8) eap_peap: EAP method TLS (13)
(8) eap_peap: Got tunneled request
(8) eap_peap:   EAP-Message = 
0x020900c40d0016030100b9010000b5030371a04ab3deb4996e2b63d2a2a1bdc4590eef9215c7974ae53b54b997ade402ab000038c02cc030009fcca9cca8ccaac02bc02f009ec024c028006bc023c0270067c00ac0140039c009c0130033009d009c003d003c0035002f00ff01000054000b000403000102000a000c000a001d0017001e001900180016000000170000000d0030002e040305030603080708080809080a080b080408050806040105010601030302030301020103020202040205020602
(8) eap_peap: Setting User-Name to clientName
(8) eap_peap: Sending tunneled request to inner-tunnel
(8) eap_peap:   EAP-Message = 
0x020900c40d0016030100b9010000b5030371a04ab3deb4996e2b63d2a2a1bdc4590eef9215c7974ae53b54b997ade402ab000038c02cc030009fcca9cca8ccaac02bc02f009ec024c028006bc023c0270067c00ac0140039c009c0130033009d009c003d003c0035002f00ff01000054000b000403000102000a000c000a001d0017001e001900180016000000170000000d0030002e040305030603080708080809080a080b080408050806040105010601030302030301020103020202040205020602
(8) eap_peap:   FreeRADIUS-Proxied-To = 127.0.0.1
(8) eap_peap:   User-Name = "clientName"
(8) eap_peap:   State = 0x1059e5af1050e8ef02ecac11dd472c48
(8) eap_peap:   Called-Station-Id = "bc-a5-11-9f-37-71"
(8) eap_peap:   Calling-Station-Id = "00:04:5f:70:fb:3b"
(8) eap_peap:   NAS-Identifier = "bc-a5-11-9f-37-6f"
(8) eap_peap:   NAS-Port = 17
(8) eap_peap:   Framed-MTU = 1500
(8) eap_peap:   NAS-Port-Type = Ethernet
(8) eap_peap:   Event-Timestamp = "Aug 17 2020 16:14:32 CEST"
(8) eap_peap:   NAS-IP-Address = 192.168.60.109
(8) Virtual server inner-tunnel received request
(8)   EAP-Message = 
0x020900c40d0016030100b9010000b5030371a04ab3deb4996e2b63d2a2a1bdc4590eef9215c7974ae53b54b997ade402ab000038c02cc030009fcca9cca8ccaac02bc02f009ec024c028006bc023c0270067c00ac0140039c009c0130033009d009c003d003c0035002f00ff01000054000b000403000102000a000c000a001d0017001e001900180016000000170000000d0030002e040305030603080708080809080a080b080408050806040105010601030302030301020103020202040205020602
(8)   FreeRADIUS-Proxied-To = 127.0.0.1
(8)   User-Name = "clientName"
(8)   State = 0x1059e5af1050e8ef02ecac11dd472c48
(8)   Called-Station-Id = "bc-a5-11-9f-37-71"
(8)   Calling-Station-Id = "00:04:5f:70:fb:3b"
(8)   NAS-Identifier = "bc-a5-11-9f-37-6f"
(8)   NAS-Port = 17
(8)   Framed-MTU = 1500
(8)   NAS-Port-Type = Ethernet
(8)   Event-Timestamp = "Aug 17 2020 16:14:32 CEST"
(8)   NAS-IP-Address = 192.168.60.109
(8) WARNING: Outer and inner identities are the same.  User privacy is 
compromised.
(8) server inner-tunnel {
(8)   session-state: No cached attributes
(8)   # Executing section authorize from file 
/etc/freeradius/3.0/sites-enabled/inner-tunnel
(8)     authorize {
(8)       policy filter_username {
(8)         if (&User-Name) {
(8)         if (&User-Name)  -> TRUE
(8)         if (&User-Name)  {
(8)           if (&User-Name =~ / /) {
(8)           if (&User-Name =~ / /)  -> FALSE
(8)           if (&User-Name =~ /@[^@]*@/ ) {
(8)           if (&User-Name =~ /@[^@]*@/ )  -> FALSE
(8)           if (&User-Name =~ /\.\./ ) {
(8)           if (&User-Name =~ /\.\./ )  -> FALSE
(8)           if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))  {
(8)           if ((&User-Name =~ /@/) && (&User-Name !~ 
/@(.+)\.(.+)$/))   -> FALSE
(8)           if (&User-Name =~ /\.$/)  {
(8)           if (&User-Name =~ /\.$/)   -> FALSE
(8)           if (&User-Name =~ /@\./)  {
(8)           if (&User-Name =~ /@\./)   -> FALSE
(8)         } # if (&User-Name)  = notfound
(8)       } # policy filter_username = notfound
(8)       [chap] = noop
(8)       [mschap] = noop
(8) suffix: Checking for suffix after "@"
(8) suffix: No '@' in User-Name = "clientName", looking up realm NULL
(8) suffix: No such realm "NULL"
(8)       [suffix] = noop
(8)       update control {
(8)         &Proxy-To-Realm := LOCAL
(8)       } # update control = noop
(8) eap: Peer sent EAP Response (code 2) ID 9 length 196
(8) eap: No EAP Start, assuming it's an on-going EAP conversation
(8)       [eap] = updated
(8) files: Failed resolving UID: No error
(8) files: users: Matched entry clientName at line 15
(8)       [files] = ok
(8)       [expiration] = noop
(8)       [logintime] = noop
(8) pap: WARNING: Auth-Type already set.  Not setting to PAP
(8)       [pap] = noop
(8)     } # authorize = updated
(8)   Found Auth-Type = eap
(8)   # Executing group from file 
/etc/freeradius/3.0/sites-enabled/inner-tunnel
(8)     authenticate {
(8) eap: Expiring EAP session with state 0x1059e5af1050e8ef
(8) eap: Finished EAP session with state 0x1059e5af1050e8ef
(8) eap: Previous EAP request found for state 0x1059e5af1050e8ef, 
released from the list
(8) eap: Peer sent packet with method EAP TLS (13)
(8) eap: Calling submodule eap_tls to process data
(8) eap_tls: Continuing EAP-TLS
(8) eap_tls: Got final TLS record fragment (190 bytes)
(8) eap_tls: WARNING: Total received TLS record fragments (190 bytes), 
does not equal indicated TLS record length (0 bytes)
(8) eap_tls: [eaptls verify] = ok
(8) eap_tls: Done initial handshake
(8) eap_tls: (other): before SSL initialization
(8) eap_tls: TLS_accept: before SSL initialization
(8) eap_tls: TLS_accept: before SSL initialization
(8) eap_tls: <<< recv TLS 1.3  [length 00b9]
(8) eap_tls: TLS_accept: SSLv3/TLS read client hello
(8) eap_tls: >>> send TLS 1.2  [length 003d]
(8) eap_tls: TLS_accept: SSLv3/TLS write server hello
(8) eap_tls: >>> send TLS 1.2  [length 0ef1]
(8) eap_tls: TLS_accept: SSLv3/TLS write certificate
(8) eap_tls: >>> send TLS 1.2  [length 024d]
(8) eap_tls: TLS_accept: SSLv3/TLS write key exchange
(8) eap_tls: >>> send TLS 1.2  [length 0175]
(8) eap_tls: TLS_accept: SSLv3/TLS write certificate request
(8) eap_tls: >>> send TLS 1.2  [length 0004]
(8) eap_tls: TLS_accept: SSLv3/TLS write server done
(8) eap_tls: TLS_accept: Need to read more data: SSLv3/TLS write server done
(8) eap_tls: TLS - In Handshake Phase
(8) eap_tls: TLS - got 4877 bytes of data
(8) eap_tls: [eaptls process] = handled
(8) eap: Sending EAP Request (code 1) ID 10 length 1180
(8) eap: EAP session adding &reply:State = 0x1059e5af1153e8ef
(8)       [eap] = handled
(8)     } # authenticate = handled
(8) } # server inner-tunnel
(8) Virtual server sending reply
(8)   EAP-Message = 
0x010a049c0dc00000130d160303003d02000039030334211a45d13d2d513f01648d1f8e2d98e34ac2e011df323d3979793a83ec002500c030000011ff01000100000b000403000102001700001603030ef10b000eed000eea0007713082076d30820555a003020102020102300d06092a864886f70d01010b05003081a9310b3009060355040613024445310b3009060355040813025348311230100603550407130950696e6e6562657267311f301d060355040a131657656e7a656c2d456c656b74726f6e696b20476d624831143012060355040b130b456e747769636b6c756e67311830160603550403140f43415f5457615f32303230303831323128302606092a864886f70d0109011619696e666f4077656e7a656c2d656c656b74726f6e696b2e6465301e170d3230303831323133353130335a170d3231303831323133353130335a3081aa310b3009060355040613024445310b3009060355040813025348311230100603550407130950696e6e6562657267
(8)   Message-Authenticator = 0x00000000000000000000000000000000
(8)   State = 0x1059e5af1153e8ef02ecac11dd472c48
(8) eap_peap: Got tunneled reply code 11
(8) eap_peap:   EAP-Message = 
0x010a049c0dc00000130d160303003d02000039030334211a45d13d2d513f01648d1f8e2d98e34ac2e011df323d3979793a83ec002500c030000011ff01000100000b000403000102001700001603030ef10b000eed000eea0007713082076d30820555a003020102020102300d06092a864886f70d01010b05003081a9310b3009060355040613024445310b3009060355040813025348311230100603550407130950696e6e6562657267311f301d060355040a131657656e7a656c2d456c656b74726f6e696b20476d624831143012060355040b130b456e747769636b6c756e67311830160603550403140f43415f5457615f32303230303831323128302606092a864886f70d0109011619696e666f4077656e7a656c2d656c656b74726f6e696b2e6465301e170d3230303831323133353130335a170d3231303831323133353130335a3081aa310b3009060355040613024445310b3009060355040813025348311230100603550407130950696e6e6562657267
(8) eap_peap:   Message-Authenticator = 0x00000000000000000000000000000000
(8) eap_peap:   State = 0x1059e5af1153e8ef02ecac11dd472c48
(8) eap_peap: Got tunneled reply RADIUS code 11
(8) eap_peap:   EAP-Message = 
0x010a049c0dc00000130d160303003d02000039030334211a45d13d2d513f01648d1f8e2d98e34ac2e011df323d3979793a83ec002500c030000011ff01000100000b000403000102001700001603030ef10b000eed000eea0007713082076d30820555a003020102020102300d06092a864886f70d01010b05003081a9310b3009060355040613024445310b3009060355040813025348311230100603550407130950696e6e6562657267311f301d060355040a131657656e7a656c2d456c656b74726f6e696b20476d624831143012060355040b130b456e747769636b6c756e67311830160603550403140f43415f5457615f32303230303831323128302606092a864886f70d0109011619696e666f4077656e7a656c2d656c656b74726f6e696b2e6465301e170d3230303831323133353130335a170d3231303831323133353130335a3081aa310b3009060355040613024445310b3009060355040813025348311230100603550407130950696e6e6562657267
(8) eap_peap:   Message-Authenticator = 0x00000000000000000000000000000000
(8) eap_peap:   State = 0x1059e5af1153e8ef02ecac11dd472c48
(8) eap_peap: Got tunneled Access-Challenge
(8) eap: Sending EAP Request (code 1) ID 10 length 1180
(8) eap: EAP session adding &reply:State = 0xcc71e94bc47bf0a7
(8)     [eap] = handled
(8)   } # authenticate = handled
(8) Using Post-Auth-Type Challenge
(8) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(8)   Challenge { ... } # empty sub-section is ignored
(8) session-state: Saving cached attributes
(8)   TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(8)   TLS-Session-Version = "TLS 1.2"
(8) Sent Access-Challenge Id 33 from 192.168.60.105:1812 to 
192.168.60.109:48127 length 0
(8)   EAP-Message = 
0x010a049c19c0000004b517030304b01dc2bfc76d4ab1aab6c90d09b46fee5155dd7c97f6827ea8520bfe2b9ee7b62c29d1c318ea7d4581cfc6bd0b8b13fa956dd561c1bf5a3f33d1029522f889fa18810bafca9e989ad6fd1506f41cf5ed704bcd30ffb69f8f37c3e9688121e2b85e3cd7e7c0cfadf80e9e5263cc0eee094407ba8679d2fd2fb317cef2d6b013e19d636130d7ccfece6e0475389eb3cf9e1ca46507cbef89353879cae24c0c71b19fd6cc47ced8d6895075e8788a887f55fc2ea0df82b02b3ac62650db3d24fb803e3951f167d6b2bf6097ef14f9182c281ba8fb2bf805f9a62761b49d80b3bc98a6a4929a16c5e861a6ce0ffe18b6054f50f953cfcd98e619e64d50def7fde75abf84fcea48f6d221c17034f7f5bb8073be8f19fb4dc83997569a9e90e25c5eaa8a97001ea7ab9128573088c27ae659f8666fb7e0566ad758f78d11b2489b46d9113872407df86eea95955364c19d067d19a8d346f93d30da8860dd9292ccbba60141474d675542b4f0
(8)   Message-Authenticator = 0x00000000000000000000000000000000
(8)   State = 0xcc71e94bc47bf0a70258287a4cac4284
(8) Finished request
Waking up in 4.7 seconds.
(9) Received Access-Request Id 34 from 192.168.60.109:48127 to 
192.168.60.105:1812 length 151
(9)   User-Name = "clientName"
(9)   Called-Station-Id = "bc-a5-11-9f-37-71"
(9)   Calling-Station-Id = "00:04:5f:70:fb:3b"
(9)   NAS-Identifier = "bc-a5-11-9f-37-6f"
(9)   NAS-Port = 17
(9)   Framed-MTU = 1500
(9)   NAS-Port-Type = Ethernet
(9)   State = 0xcc71e94bc47bf0a70258287a4cac4284
(9)   EAP-Message = 0x020a00061900
(9)   Message-Authenticator = 0x5fcd3792a1a341394a810a26067b62c3
(9) Restoring &session-state
(9)   &session-state:TLS-Session-Cipher-Suite = 
"ECDHE-RSA-AES256-GCM-SHA384"
(9)   &session-state:TLS-Session-Version = "TLS 1.2"
(9) # Executing section authorize from file 
/etc/freeradius/3.0/sites-enabled/default
(9)   authorize {
(9)     policy filter_username {
(9)       if (&User-Name) {
(9)       if (&User-Name)  -> TRUE
(9)       if (&User-Name)  {
(9)         if (&User-Name =~ / /) {
(9)         if (&User-Name =~ / /)  -> FALSE
(9)         if (&User-Name =~ /@[^@]*@/ ) {
(9)         if (&User-Name =~ /@[^@]*@/ )  -> FALSE
(9)         if (&User-Name =~ /\.\./ ) {
(9)         if (&User-Name =~ /\.\./ )  -> FALSE
(9)         if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))  {
(9)         if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))   
-> FALSE
(9)         if (&User-Name =~ /\.$/)  {
(9)         if (&User-Name =~ /\.$/)   -> FALSE
(9)         if (&User-Name =~ /@\./)  {
(9)         if (&User-Name =~ /@\./)   -> FALSE
(9)       } # if (&User-Name)  = notfound
(9)     } # policy filter_username = notfound
(9)     [preprocess] = ok
(9)     [chap] = noop
(9)     [mschap] = noop
(9)     [digest] = noop
(9) suffix: Checking for suffix after "@"
(9) suffix: No '@' in User-Name = "clientName", looking up realm NULL
(9) suffix: No such realm "NULL"
(9)     [suffix] = noop
(9) eap: Peer sent EAP Response (code 2) ID 10 length 6
(9) eap: Continuing tunnel setup
(9)     [eap] = ok
(9)   } # authorize = ok
(9) Found Auth-Type = eap
(9) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(9)   authenticate {
(9) eap: Expiring EAP session with state 0x1059e5af1153e8ef
(9) eap: Finished EAP session with state 0xcc71e94bc47bf0a7
(9) eap: Previous EAP request found for state 0xcc71e94bc47bf0a7, 
released from the list
(9) eap: Peer sent packet with method EAP PEAP (25)
(9) eap: Calling submodule eap_peap to process data
(9) eap_peap: Continuing EAP-TLS
(9) eap_peap: Peer ACKed our application data fragment
(9) eap_peap: [eaptls verify] = request
(9) eap_peap: [eaptls process] = handled
(9) eap: Sending EAP Request (code 1) ID 11 length 41
(9) eap: EAP session adding &reply:State = 0xcc71e94bc57af0a7
(9)     [eap] = handled
(9)   } # authenticate = handled
(9) Using Post-Auth-Type Challenge
(9) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(9)   Challenge { ... } # empty sub-section is ignored
(9) session-state: Saving cached attributes
(9)   TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(9)   TLS-Session-Version = "TLS 1.2"
(9) Sent Access-Challenge Id 34 from 192.168.60.105:1812 to 
192.168.60.109:48127 length 0
(9)   EAP-Message = 
0x010b00291900183322948ef61046aeaed3dafdb91ad860e500a4be9a6304ed4b3bb1f4882833a14233
(9)   Message-Authenticator = 0x00000000000000000000000000000000
(9)   State = 0xcc71e94bc57af0a70258287a4cac4284
(9) Finished request
Waking up in 4.7 seconds.
(10) Received Access-Request Id 35 from 192.168.60.109:48127 to 
192.168.60.105:1812 length 182
(10)   User-Name = "clientName"
(10)   Called-Station-Id = "bc-a5-11-9f-37-71"
(10)   Calling-Station-Id = "00:04:5f:70:fb:3b"
(10)   NAS-Identifier = "bc-a5-11-9f-37-6f"
(10)   NAS-Port = 17
(10)   Framed-MTU = 1500
(10)   NAS-Port-Type = Ethernet
(10)   State = 0xcc71e94bc57af0a70258287a4cac4284
(10)   EAP-Message = 
0x020b00251900170303001adc1b2399440e0b4b5e6dddb48e66a0090c6ed7aef01e4b6a60ea
(10)   Message-Authenticator = 0x16f651e36da62430f4847759122b0c85
(10) Restoring &session-state
(10)   &session-state:TLS-Session-Cipher-Suite = 
"ECDHE-RSA-AES256-GCM-SHA384"
(10)   &session-state:TLS-Session-Version = "TLS 1.2"
(10) # Executing section authorize from file 
/etc/freeradius/3.0/sites-enabled/default
(10)   authorize {
(10)     policy filter_username {
(10)       if (&User-Name) {
(10)       if (&User-Name)  -> TRUE
(10)       if (&User-Name)  {
(10)         if (&User-Name =~ / /) {
(10)         if (&User-Name =~ / /)  -> FALSE
(10)         if (&User-Name =~ /@[^@]*@/ ) {
(10)         if (&User-Name =~ /@[^@]*@/ )  -> FALSE
(10)         if (&User-Name =~ /\.\./ ) {
(10)         if (&User-Name =~ /\.\./ )  -> FALSE
(10)         if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))  {
(10)         if ((&User-Name =~ /@/) && (&User-Name !~ 
/@(.+)\.(.+)$/))   -> FALSE
(10)         if (&User-Name =~ /\.$/)  {
(10)         if (&User-Name =~ /\.$/)   -> FALSE
(10)         if (&User-Name =~ /@\./)  {
(10)         if (&User-Name =~ /@\./)   -> FALSE
(10)       } # if (&User-Name)  = notfound
(10)     } # policy filter_username = notfound
(10)     [preprocess] = ok
(10)     [chap] = noop
(10)     [mschap] = noop
(10)     [digest] = noop
(10) suffix: Checking for suffix after "@"
(10) suffix: No '@' in User-Name = "clientName", looking up realm NULL
(10) suffix: No such realm "NULL"
(10)     [suffix] = noop
(10) eap: Peer sent EAP Response (code 2) ID 11 length 37
(10) eap: Continuing tunnel setup
(10)     [eap] = ok
(10)   } # authorize = ok
(10) Found Auth-Type = eap
(10) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(10)   authenticate {
(10) eap: Expiring EAP session with state 0x1059e5af1153e8ef
(10) eap: Finished EAP session with state 0xcc71e94bc57af0a7
(10) eap: Previous EAP request found for state 0xcc71e94bc57af0a7, 
released from the list
(10) eap: Peer sent packet with method EAP PEAP (25)
(10) eap: Calling submodule eap_peap to process data
(10) eap_peap: Continuing EAP-TLS
(10) eap_peap: [eaptls verify] = ok
(10) eap_peap: Done initial handshake
(10) eap_peap: [eaptls process] = ok
(10) eap_peap: Session established.  Decoding tunneled attributes
(10) eap_peap: PEAP state phase2
(10) eap_peap: EAP method TLS (13)
(10) eap_peap: Got tunneled request
(10) eap_peap:   EAP-Message = 0x020b00060d00
(10) eap_peap: Setting User-Name to clientName
(10) eap_peap: Sending tunneled request to inner-tunnel
(10) eap_peap:   EAP-Message = 0x020b00060d00
(10) eap_peap:   FreeRADIUS-Proxied-To = 127.0.0.1
(10) eap_peap:   User-Name = "clientName"
(10) eap_peap:   State = 0x1059e5af1153e8ef02ecac11dd472c48
(10) eap_peap:   Called-Station-Id = "bc-a5-11-9f-37-71"
(10) eap_peap:   Calling-Station-Id = "00:04:5f:70:fb:3b"
(10) eap_peap:   NAS-Identifier = "bc-a5-11-9f-37-6f"
(10) eap_peap:   NAS-Port = 17
(10) eap_peap:   Framed-MTU = 1500
(10) eap_peap:   NAS-Port-Type = Ethernet
(10) eap_peap:   Event-Timestamp = "Aug 17 2020 16:14:32 CEST"
(10) eap_peap:   NAS-IP-Address = 192.168.60.109
(10) Virtual server inner-tunnel received request
(10)   EAP-Message = 0x020b00060d00
(10)   FreeRADIUS-Proxied-To = 127.0.0.1
(10)   User-Name = "clientName"
(10)   State = 0x1059e5af1153e8ef02ecac11dd472c48
(10)   Called-Station-Id = "bc-a5-11-9f-37-71"
(10)   Calling-Station-Id = "00:04:5f:70:fb:3b"
(10)   NAS-Identifier = "bc-a5-11-9f-37-6f"
(10)   NAS-Port = 17
(10)   Framed-MTU = 1500
(10)   NAS-Port-Type = Ethernet
(10)   Event-Timestamp = "Aug 17 2020 16:14:32 CEST"
(10)   NAS-IP-Address = 192.168.60.109
(10) WARNING: Outer and inner identities are the same.  User privacy is 
compromised.
(10) server inner-tunnel {
(10)   session-state: No cached attributes
(10)   # Executing section authorize from file 
/etc/freeradius/3.0/sites-enabled/inner-tunnel
(10)     authorize {
(10)       policy filter_username {
(10)         if (&User-Name) {
(10)         if (&User-Name)  -> TRUE
(10)         if (&User-Name)  {
(10)           if (&User-Name =~ / /) {
(10)           if (&User-Name =~ / /)  -> FALSE
(10)           if (&User-Name =~ /@[^@]*@/ ) {
(10)           if (&User-Name =~ /@[^@]*@/ )  -> FALSE
(10)           if (&User-Name =~ /\.\./ ) {
(10)           if (&User-Name =~ /\.\./ )  -> FALSE
(10)           if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))  {
(10)           if ((&User-Name =~ /@/) && (&User-Name !~ 
/@(.+)\.(.+)$/))   -> FALSE
(10)           if (&User-Name =~ /\.$/)  {
(10)           if (&User-Name =~ /\.$/)   -> FALSE
(10)           if (&User-Name =~ /@\./)  {
(10)           if (&User-Name =~ /@\./)   -> FALSE
(10)         } # if (&User-Name)  = notfound
(10)       } # policy filter_username = notfound
(10)       [chap] = noop
(10)       [mschap] = noop
(10) suffix: Checking for suffix after "@"
(10) suffix: No '@' in User-Name = "clientName", looking up realm NULL
(10) suffix: No such realm "NULL"
(10)       [suffix] = noop
(10)       update control {
(10)         &Proxy-To-Realm := LOCAL
(10)       } # update control = noop
(10) eap: Peer sent EAP Response (code 2) ID 11 length 6
(10) eap: No EAP Start, assuming it's an on-going EAP conversation
(10)       [eap] = updated
(10) files: Failed resolving UID: No error
(10) files: users: Matched entry clientName at line 15
(10)       [files] = ok
(10)       [expiration] = noop
(10)       [logintime] = noop
(10) pap: WARNING: Auth-Type already set.  Not setting to PAP
(10)       [pap] = noop
(10)     } # authorize = updated
(10)   Found Auth-Type = eap
(10)   # Executing group from file 
/etc/freeradius/3.0/sites-enabled/inner-tunnel
(10)     authenticate {
(10) eap: Expiring EAP session with state 0x1059e5af1153e8ef
(10) eap: ERROR: rlm_eap (EAP): No EAP session matching state 
0x1059e5af1153e8ef
(10) eap: Either EAP-request timed out OR EAP-response to an unknown 
EAP-request
(10) eap: Failed in handler
(10)       [eap] = invalid
(10)     } # authenticate = invalid
(10)   Failed to authenticate the user
(10)   Using Post-Auth-Type Reject
(10)   # Executing group from file 
/etc/freeradius/3.0/sites-enabled/inner-tunnel
(10)     Post-Auth-Type REJECT {
(10) attr_filter.access_reject: EXPAND %{User-Name}
(10) attr_filter.access_reject:    --> clientName
(10) attr_filter.access_reject: Matched entry DEFAULT at line 11
(10)       [attr_filter.access_reject] = updated
(10)       update outer.session-state {
(10)         &Module-Failure-Message := &request:Module-Failure-Message 
-> 'eap: rlm_eap (EAP): No EAP session matching state 0x1059e5af1153e8ef'
(10)       } # update outer.session-state = noop
(10)     } # Post-Auth-Type REJECT = updated
(10)   Login incorrect (eap: rlm_eap (EAP): No EAP session matching 
state 0x1059e5af1153e8ef): [clientName/<via Auth-Type = eap>] (from 
client switch_netgear_2 port 17 cli 00:04:5f:70:fb:3b via TLS tunnel)
(10) } # server inner-tunnel
(10) Virtual server sending reply
(10) eap_peap: Got tunneled reply code 3
(10) eap_peap: Got tunneled reply RADIUS code 3
(10) eap_peap: Tunneled authentication was rejected
(10) eap_peap: FAILURE
(10) eap: Sending EAP Request (code 1) ID 12 length 46
(10) eap: EAP session adding &reply:State = 0xcc71e94bc67df0a7
(10)     [eap] = handled
(10)   } # authenticate = handled
(10) Using Post-Auth-Type Challenge
(10) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(10)   Challenge { ... } # empty sub-section is ignored
(10) session-state: Saving cached attributes
(10)   TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(10)   TLS-Session-Version = "TLS 1.2"
(10)   Module-Failure-Message := "eap: rlm_eap (EAP): No EAP session 
matching state 0x1059e5af1153e8ef"
(10) Sent Access-Challenge Id 35 from 192.168.60.105:1812 to 
192.168.60.109:48127 length 0
(10)   EAP-Message = 
0x010c002e190017030300231dc2bfc76d4ab1ab83aa2726f46711dbbbd6dc03b809729aa57efd32553c4e7dce8599
(10)   Message-Authenticator = 0x00000000000000000000000000000000
(10)   State = 0xcc71e94bc67df0a70258287a4cac4284
(10) Finished request
Waking up in 4.7 seconds.
(11) Received Access-Request Id 36 from 192.168.60.109:48127 to 
192.168.60.105:1812 length 191
(11)   User-Name = "clientName"
(11)   Called-Station-Id = "bc-a5-11-9f-37-71"
(11)   Calling-Station-Id = "00:04:5f:70:fb:3b"
(11)   NAS-Identifier = "bc-a5-11-9f-37-6f"
(11)   NAS-Port = 17
(11)   Framed-MTU = 1500
(11)   NAS-Port-Type = Ethernet
(11)   State = 0xcc71e94bc67df0a70258287a4cac4284
(11)   EAP-Message = 
0x020c002e19001703030023dc1b2399440e0b4cb3faf66db93476d00aa6479af66ec5321f04dee29531d950dd658d
(11)   Message-Authenticator = 0x1b4c11ad1958cb99d92f023fe6ad2dd7
(11) Restoring &session-state
(11)   &session-state:TLS-Session-Cipher-Suite = 
"ECDHE-RSA-AES256-GCM-SHA384"
(11)   &session-state:TLS-Session-Version = "TLS 1.2"
(11)   &session-state:Module-Failure-Message := "eap: rlm_eap (EAP): No 
EAP session matching state 0x1059e5af1153e8ef"
(11) # Executing section authorize from file 
/etc/freeradius/3.0/sites-enabled/default
(11)   authorize {
(11)     policy filter_username {
(11)       if (&User-Name) {
(11)       if (&User-Name)  -> TRUE
(11)       if (&User-Name)  {
(11)         if (&User-Name =~ / /) {
(11)         if (&User-Name =~ / /)  -> FALSE
(11)         if (&User-Name =~ /@[^@]*@/ ) {
(11)         if (&User-Name =~ /@[^@]*@/ )  -> FALSE
(11)         if (&User-Name =~ /\.\./ ) {
(11)         if (&User-Name =~ /\.\./ )  -> FALSE
(11)         if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))  {
(11)         if ((&User-Name =~ /@/) && (&User-Name !~ 
/@(.+)\.(.+)$/))   -> FALSE
(11)         if (&User-Name =~ /\.$/)  {
(11)         if (&User-Name =~ /\.$/)   -> FALSE
(11)         if (&User-Name =~ /@\./)  {
(11)         if (&User-Name =~ /@\./)   -> FALSE
(11)       } # if (&User-Name)  = notfound
(11)     } # policy filter_username = notfound
(11)     [preprocess] = ok
(11)     [chap] = noop
(11)     [mschap] = noop
(11)     [digest] = noop
(11) suffix: Checking for suffix after "@"
(11) suffix: No '@' in User-Name = "clientName", looking up realm NULL
(11) suffix: No such realm "NULL"
(11)     [suffix] = noop
(11) eap: Peer sent EAP Response (code 2) ID 12 length 46
(11) eap: Continuing tunnel setup
(11)     [eap] = ok
(11)   } # authorize = ok
(11) Found Auth-Type = eap
(11) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(11)   authenticate {
(11) eap: Expiring EAP session with state 0x1059e5af1153e8ef
(11) eap: Finished EAP session with state 0xcc71e94bc67df0a7
(11) eap: Previous EAP request found for state 0xcc71e94bc67df0a7, 
released from the list
(11) eap: Peer sent packet with method EAP PEAP (25)
(11) eap: Calling submodule eap_peap to process data
(11) eap_peap: Continuing EAP-TLS
(11) eap_peap: [eaptls verify] = ok
(11) eap_peap: Done initial handshake
(11) eap_peap: [eaptls process] = ok
(11) eap_peap: Session established.  Decoding tunneled attributes
(11) eap_peap: PEAP state send tlv failure
(11) eap_peap: Received EAP-TLV response
(11) eap_peap:   ERROR: The users session was previously rejected: 
returning reject (again.)
(11) eap_peap:   This means you need to read the PREVIOUS messages in 
the debug output
(11) eap_peap:   to find out the reason why the user was rejected
(11) eap_peap:   Look for "reject" or "fail".  Those earlier messages 
will tell you
(11) eap_peap:   what went wrong, and how to fix the problem
(11) eap: ERROR: Failed continuing EAP PEAP (25) session.  EAP 
sub-module failed
(11) eap: Sending EAP Failure (code 4) ID 12 length 4
(11) eap: Failed in EAP select
(11)     [eap] = invalid
(11)   } # authenticate = invalid
(11) Failed to authenticate the user
(11) Using Post-Auth-Type Reject
(11) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(11)   Post-Auth-Type REJECT {
(11) attr_filter.access_reject: EXPAND %{User-Name}
(11) attr_filter.access_reject:    --> clientName
(11) attr_filter.access_reject: Matched entry DEFAULT at line 11
(11)     [attr_filter.access_reject] = updated
(11)     [eap] = noop
(11)     policy remove_reply_message_if_eap {
(11)       if (&reply:EAP-Message && &reply:Reply-Message) {
(11)       if (&reply:EAP-Message && &reply:Reply-Message)  -> FALSE
(11)       else {
(11)         [noop] = noop
(11)       } # else = noop
(11)     } # policy remove_reply_message_if_eap = noop
(11)   } # Post-Auth-Type REJECT = updated
(11) Login incorrect (eap_peap: The users session was previously 
rejected: returning reject (again.)): [clientName/<via Auth-Type = eap>] 
(from client switch_netgear_2 port 17 cli 00:04:5f:70:fb:3b)
(11) Delaying response for 1.000000 seconds
Waking up in 0.3 seconds.
Waking up in 0.6 seconds.
(11) Sending delayed response
(11) Sent Access-Reject Id 36 from 192.168.60.105:1812 to 
192.168.60.109:48127 length 44
(11)   EAP-Message = 0x040c0004
(11)   Message-Authenticator = 0x00000000000000000000000000000000
Waking up in 3.7 seconds.
(0) Cleaning up request packet ID 25 with timestamp +17
(1) Cleaning up request packet ID 26 with timestamp +17
(2) Cleaning up request packet ID 27 with timestamp +17
(3) Cleaning up request packet ID 28 with timestamp +17
(4) Cleaning up request packet ID 29 with timestamp +17
(5) Cleaning up request packet ID 30 with timestamp +17
(6) Cleaning up request packet ID 31 with timestamp +17
(7) Cleaning up request packet ID 32 with timestamp +17
(8) Cleaning up request packet ID 33 with timestamp +17
(9) Cleaning up request packet ID 34 with timestamp +17
(10) Cleaning up request packet ID 35 with timestamp +17
(11) Cleaning up request packet ID 36 with timestamp +17
Ready to process requests




More information about the Freeradius-Users mailing list