EAP-TEAP not doing 2nd inner Method
I have spent the last few days trying to get EAP-TEAP to work, but so far with only partial success. The goal of this configuration was to verify both the user certificate and the machine certificate and only allow the device access to the network if both certificates could be successfully verified. At a later stage, I would like to be able to distinguish whether only the machine certificate or both certificates were successfully verified, and accordingly grant the device different access to the network. For my tests, I created a CA which then issued the required client and server certificates. On a Windows client, I installed a client certificate for both the user and the machine, as well as the CA. On the RADIUS server, I installed a server certificate and the CA certificate. When I configure EAP-TEAP on the Windows client with only one inner EAP method (EAP-TLS), the FreeRADIUS server sends an Access-Accept back (as expected). However, as soon as I add a second inner EAP method in the EAP-TEAP configuration on the laptop (regardless of whether it is EAP-TLS or MSCHAPv2), an Access-Reject is always returned, without the second inner EAP method even being attempted. To my untrained eye, it looks like the client is sending an error back to the server, but unfortunately, there is no information about what the reason might be. I have tested this with Windows 11 and Windows 10 and tried both FreeRADIUS 3.2.4 and 3.2.6. All with the same result. Is my FreeRADIUS configuration faulty, or is the behavior of the Windows client the problem here? Attached below is the debug log of the RADIUS server when EAP-TEAP with two inner EAP methods (EAP-TLS + EAP-TLS) was configured on a Windows 11 client. I hope someone can help me with this problem. FreeRADIUS Version 3.2.6 Copyright (C) 1999-2023 The FreeRADIUS server project and contributors There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE You may redistribute copies of FreeRADIUS under the terms of the GNU General Public License For more information about these matters, see the file named COPYRIGHT Starting - reading configuration files ... including dictionary file /usr/share/freeradius/dictionary including dictionary file /usr/share/freeradius/dictionary.dhcp including dictionary file /usr/share/freeradius/dictionary.vqp including dictionary file /etc/raddb/dictionary including configuration file /etc/raddb/radiusd.conf including configuration file /etc/raddb/clients.conf including files in directory /etc/raddb/mods-enabled/ including configuration file /etc/raddb/mods-enabled/always including configuration file /etc/raddb/mods-enabled/attr_filter including configuration file /etc/raddb/mods-enabled/chap including configuration file /etc/raddb/mods-enabled/date including configuration file /etc/raddb/mods-enabled/detail including configuration file /etc/raddb/mods-enabled/detail.log including configuration file /etc/raddb/mods-enabled/digest including configuration file /etc/raddb/mods-enabled/dynamic_clients including configuration file /etc/raddb/mods-enabled/eap including configuration file /etc/raddb/mods-enabled/echo including configuration file /etc/raddb/mods-enabled/exec including configuration file /etc/raddb/mods-enabled/expiration including configuration file /etc/raddb/mods-enabled/expr including configuration file /etc/raddb/mods-enabled/files including configuration file /etc/raddb/mods-enabled/linelog including configuration file /etc/raddb/mods-enabled/logintime including configuration file /etc/raddb/mods-enabled/mschap including configuration file /etc/raddb/mods-enabled/ntlm_auth including configuration file /etc/raddb/mods-enabled/pap including configuration file /etc/raddb/mods-enabled/passwd including configuration file /etc/raddb/mods-enabled/preprocess including configuration file /etc/raddb/mods-enabled/radutmp including configuration file /etc/raddb/mods-enabled/realm including configuration file /etc/raddb/mods-enabled/replicate including configuration file /etc/raddb/mods-enabled/soh including configuration file /etc/raddb/mods-enabled/sradutmp including configuration file /etc/raddb/mods-enabled/totp including configuration file /etc/raddb/mods-enabled/unix including configuration file /etc/raddb/mods-enabled/unpack including configuration file /etc/raddb/mods-enabled/utf8 including configuration file /etc/raddb/mods-enabled/inner-eap including files in directory /etc/raddb/policy.d/ including configuration file /etc/raddb/policy.d/abfab-tr including configuration file /etc/raddb/policy.d/accounting including configuration file /etc/raddb/policy.d/canonicalization including configuration file /etc/raddb/policy.d/control including configuration file /etc/raddb/policy.d/cui including configuration file /etc/raddb/policy.d/debug including configuration file /etc/raddb/policy.d/dhcp including configuration file /etc/raddb/policy.d/eap including configuration file /etc/raddb/policy.d/filter including configuration file /etc/raddb/policy.d/moonshot-targeted-ids including configuration file /etc/raddb/policy.d/operator-name including configuration file /etc/raddb/policy.d/rfc7542 including files in directory /etc/raddb/sites-enabled/ including configuration file /etc/raddb/sites-enabled/default including configuration file /etc/raddb/sites-enabled/inner-tunnel main { security { allow_core_dumps = no } name = "radiusd" prefix = "/usr" localstatedir = "/var" logdir = "/var/log/radius" run_dir = "/var/run/radiusd" } main { name = "radiusd" prefix = "/usr" localstatedir = "/var" sbindir = "/usr/sbin" logdir = "/var/log/radius" run_dir = "/var/run/radiusd" libdir = "/usr/lib64/freeradius" radacctdir = "/var/log/radius/radacct" hostname_lookups = no max_request_time = 30 proxy_dedup_window = 1 cleanup_delay = 5 max_requests = 16384 max_fds = 512 postauth_client_lost = no pidfile = "/var/run/radiusd/radiusd.pid" checkrad = "/usr/sbin/checkrad" debug_level = 0 proxy_requests = yes log { stripped_names = no auth = no auth_badpass = no auth_goodpass = no colourise = yes msg_denied = "You are already logged in - access denied" } resources { } security { max_attributes = 200 reject_delay = 1.000000 status_server = yes require_message_authenticator = "auto" limit_proxy_state = "auto" allow_vulnerable_openssl = "no" } } radiusd: #### Loading Realms and Home Servers #### radiusd: #### Loading Clients #### client localhost { ipaddr = 127.0.0.1 secret = <<< secret >>> nas_type = "other" proto = "*" limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } Shared secret for client localhost is short, and likely can be broken by an attacker. client localhost_ipv6 { ipv6addr = ::1 secret = <<< secret >>> limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } Shared secret for client localhost_ipv6 is short, and likely can be broken by an attacker. client 0.0.0.0/0 { ipaddr = 0.0.0.0/0 secret = <<< secret >>> proto = "*" limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } Shared secret for client 0.0.0.0/0 is short, and likely can be broken by an attacker. Debugger not attached systemd watchdog is disabled # Creating Auth-Type = mschap # Creating Auth-Type = digest # Creating Auth-Type = PAP # Creating Auth-Type = CHAP # Creating Auth-Type = MS-CHAP # Creating Auth-Type = eap # Creating Autz-Type = New-TLS-Connection # Creating Auth-Type = inner-eap radiusd: #### Instantiating modules #### modules { # Loaded module rlm_always # Loading module "reject" from file /etc/raddb/mods-enabled/always always reject { rcode = "reject" simulcount = 0 mpp = no } # Loading module "fail" from file /etc/raddb/mods-enabled/always always fail { rcode = "fail" simulcount = 0 mpp = no } # Loading module "ok" from file /etc/raddb/mods-enabled/always always ok { rcode = "ok" simulcount = 0 mpp = no } # Loading module "handled" from file /etc/raddb/mods-enabled/always always handled { rcode = "handled" simulcount = 0 mpp = no } # Loading module "invalid" from file /etc/raddb/mods-enabled/always always invalid { rcode = "invalid" simulcount = 0 mpp = no } # Loading module "userlock" from file /etc/raddb/mods-enabled/always always userlock { rcode = "userlock" simulcount = 0 mpp = no } # Loading module "notfound" from file /etc/raddb/mods-enabled/always always notfound { rcode = "notfound" simulcount = 0 mpp = no } # Loading module "noop" from file /etc/raddb/mods-enabled/always always noop { rcode = "noop" simulcount = 0 mpp = no } # Loading module "updated" from file /etc/raddb/mods-enabled/always always updated { rcode = "updated" simulcount = 0 mpp = no } # Loaded module rlm_attr_filter # Loading module "attr_filter.post-proxy" from file /etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.post-proxy { filename = "/etc/raddb/mods-config/attr_filter/post-proxy" key = "%{Realm}" relaxed = no } # Loading module "attr_filter.pre-proxy" from file /etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.pre-proxy { filename = "/etc/raddb/mods-config/attr_filter/pre-proxy" key = "%{Realm}" relaxed = no } # Loading module "attr_filter.access_reject" from file /etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.access_reject { filename = "/etc/raddb/mods-config/attr_filter/access_reject" key = "%{User-Name}" relaxed = no } # Loading module "attr_filter.access_challenge" from file /etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.access_challenge { filename = "/etc/raddb/mods-config/attr_filter/access_challenge" key = "%{User-Name}" relaxed = no } # Loading module "attr_filter.accounting_response" from file /etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.accounting_response { filename = "/etc/raddb/mods-config/attr_filter/accounting_response" key = "%{User-Name}" relaxed = no } # Loading module "attr_filter.coa" from file /etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.coa { filename = "/etc/raddb/mods-config/attr_filter/coa" key = "%{User-Name}" relaxed = no } # Loaded module rlm_chap # Loading module "chap" from file /etc/raddb/mods-enabled/chap # Loaded module rlm_date # Loading module "date" from file /etc/raddb/mods-enabled/date date { format = "%b %e %Y %H:%M:%S %Z" utc = no } # Loading module "wispr2date" from file /etc/raddb/mods-enabled/date date wispr2date { format = "%Y-%m-%dT%H:%M:%S" utc = no } # Loaded module rlm_detail # Loading module "detail" from file /etc/raddb/mods-enabled/detail detail { filename = "/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d" header = "%t" permissions = 384 locking = no dates_as_integer = no escape_filenames = no log_packet_header = no } # Loading module "auth_log" from file /etc/raddb/mods-enabled/detail.log detail auth_log { filename = "/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d" header = "%t" permissions = 384 locking = no dates_as_integer = no escape_filenames = no log_packet_header = no } # Loading module "reply_log" from file /etc/raddb/mods-enabled/detail.log detail reply_log { filename = "/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/reply-detail-%Y%m%d" header = "%t" permissions = 384 locking = no dates_as_integer = no escape_filenames = no log_packet_header = no } # Loading module "pre_proxy_log" from file /etc/raddb/mods-enabled/detail.log detail pre_proxy_log { filename = "/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/pre-proxy-detail-%Y%m%d" header = "%t" permissions = 384 locking = no dates_as_integer = no escape_filenames = no log_packet_header = no } # Loading module "post_proxy_log" from file /etc/raddb/mods-enabled/detail.log detail post_proxy_log { filename = "/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/post-proxy-detail-%Y%m%d" header = "%t" permissions = 384 locking = no dates_as_integer = no escape_filenames = no log_packet_header = no } # Loaded module rlm_digest # Loading module "digest" from file /etc/raddb/mods-enabled/digest # Loaded module rlm_dynamic_clients # Loading module "dynamic_clients" from file /etc/raddb/mods-enabled/dynamic_clients # Loaded module rlm_eap # Loading module "eap" from file /etc/raddb/mods-enabled/eap eap { default_eap_type = "teap" timer_expire = 60 max_eap_type = 128 ignore_unknown_eap_types = no cisco_accounting_username_bug = no max_sessions = 16384 dedup_key = "" } # Loaded module rlm_exec # Loading module "echo" from file /etc/raddb/mods-enabled/echo exec echo { wait = yes program = "/bin/echo %{User-Name}" input_pairs = "request" output_pairs = "reply" shell_escape = yes } # Loading module "exec" from file /etc/raddb/mods-enabled/exec exec { wait = no input_pairs = "request" shell_escape = yes timeout = 10 } # Loaded module rlm_expiration # Loading module "expiration" from file /etc/raddb/mods-enabled/expiration # Loaded module rlm_expr # Loading module "expr" from file /etc/raddb/mods-enabled/expr expr { safe_characters = "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /äéöüàâæçèéêëîïôœùûüaÿÄÉÖÜßÀÂÆÇÈÉÊËÎÏÔŒÙÛÜŸ" } # Loaded module rlm_files # Loading module "files" from file /etc/raddb/mods-enabled/files files { filename = "/etc/raddb/mods-config/files/authorize" acctusersfile = "/etc/raddb/mods-config/files/accounting" preproxy_usersfile = "/etc/raddb/mods-config/files/pre-proxy" } # Loaded module rlm_linelog # Loading module "linelog" from file /etc/raddb/mods-enabled/linelog linelog { filename = "/var/log/radius/linelog" escape_filenames = no syslog_severity = "info" permissions = 384 format = "This is a log message for %{User-Name}" reference = "messages.%{%{reply:Packet-Type}:-default}" } # Loading module "log_accounting" from file /etc/raddb/mods-enabled/linelog linelog log_accounting { filename = "/var/log/radius/linelog-accounting" escape_filenames = no syslog_severity = "info" permissions = 384 format = "" reference = "Accounting-Request.%{%{Acct-Status-Type}:-unknown}" } # Loaded module rlm_logintime # Loading module "logintime" from file /etc/raddb/mods-enabled/logintime logintime { minimum_timeout = 60 } # Loaded module rlm_mschap # Loading module "mschap" from file /etc/raddb/mods-enabled/mschap mschap { use_mppe = yes require_encryption = no require_strong = no with_ntdomain_hack = yes passchange { } allow_retry = yes winbind_retry_with_normalised_username = no } # Loading module "ntlm_auth" from file /etc/raddb/mods-enabled/ntlm_auth exec ntlm_auth { wait = yes program = "/path/to/ntlm_auth --request-nt-key --domain=MYDOMAIN --username=%{mschap:User-Name} --password=%{User-Password}" shell_escape = yes } # Loaded module rlm_pap # Loading module "pap" from file /etc/raddb/mods-enabled/pap pap { normalise = yes } # Loaded module rlm_passwd # Loading module "etc_passwd" from file /etc/raddb/mods-enabled/passwd passwd etc_passwd { filename = "/etc/passwd" format = "*User-Name:Crypt-Password:" delimiter = ":" ignore_nislike = no ignore_empty = yes allow_multiple_keys = no hash_size = 100 } # Loaded module rlm_preprocess # Loading module "preprocess" from file /etc/raddb/mods-enabled/preprocess preprocess { huntgroups = "/etc/raddb/mods-config/preprocess/huntgroups" hints = "/etc/raddb/mods-config/preprocess/hints" with_ascend_hack = no ascend_channels_per_line = 23 with_ntdomain_hack = no with_specialix_jetstream_hack = no with_cisco_vsa_hack = no with_alvarion_vsa_hack = no } # Loaded module rlm_radutmp # Loading module "radutmp" from file /etc/raddb/mods-enabled/radutmp radutmp { filename = "/var/log/radius/radutmp" username = "%{User-Name}" case_sensitive = yes check_with_nas = yes permissions = 384 caller_id = yes } # Loaded module rlm_realm # Loading module "IPASS" from file /etc/raddb/mods-enabled/realm realm IPASS { format = "prefix" delimiter = "/" ignore_default = no ignore_null = no } # Loading module "suffix" from file /etc/raddb/mods-enabled/realm realm suffix { format = "suffix" delimiter = "@" ignore_default = no ignore_null = no } # Loading module "bangpath" from file /etc/raddb/mods-enabled/realm realm bangpath { format = "prefix" delimiter = "!" ignore_default = no ignore_null = no } # Loading module "realmpercent" from file /etc/raddb/mods-enabled/realm realm realmpercent { format = "suffix" delimiter = "%" ignore_default = no ignore_null = no } # Loading module "ntdomain" from file /etc/raddb/mods-enabled/realm realm ntdomain { format = "prefix" delimiter = "\" ignore_default = no ignore_null = no } # Loaded module rlm_replicate # Loading module "replicate" from file /etc/raddb/mods-enabled/replicate # Loaded module rlm_soh # Loading module "soh" from file /etc/raddb/mods-enabled/soh soh { dhcp = yes } # Loading module "sradutmp" from file /etc/raddb/mods-enabled/sradutmp radutmp sradutmp { filename = "/var/log/radius/sradutmp" username = "%{User-Name}" case_sensitive = yes check_with_nas = yes permissions = 420 caller_id = no } # Loaded module rlm_totp # Loading module "totp" from file /etc/raddb/mods-enabled/totp totp { time_step = 30 otp_length = 6 lookback_steps = 1 lookback_interval = 30 lookforward_steps = 0 } # Loaded module rlm_unix # Loading module "unix" from file /etc/raddb/mods-enabled/unix unix { radwtmp = "/var/log/radius/radwtmp" } Creating attribute Unix-Group # Loaded module rlm_unpack # Loading module "unpack" from file /etc/raddb/mods-enabled/unpack # Loaded module rlm_utf8 # Loading module "utf8" from file /etc/raddb/mods-enabled/utf8 # Loading module "inner-eap" from file /etc/raddb/mods-enabled/inner-eap eap inner-eap { default_eap_type = "tls" timer_expire = 60 max_eap_type = 56 ignore_unknown_eap_types = no cisco_accounting_username_bug = no max_sessions = 2048 dedup_key = "" } instantiate { } # Instantiating module "reject" from file /etc/raddb/mods-enabled/always # Instantiating module "fail" from file /etc/raddb/mods-enabled/always # Instantiating module "ok" from file /etc/raddb/mods-enabled/always # Instantiating module "handled" from file /etc/raddb/mods-enabled/always # Instantiating module "invalid" from file /etc/raddb/mods-enabled/always # Instantiating module "userlock" from file /etc/raddb/mods-enabled/always # Instantiating module "notfound" from file /etc/raddb/mods-enabled/always # Instantiating module "noop" from file /etc/raddb/mods-enabled/always # Instantiating module "updated" from file /etc/raddb/mods-enabled/always # Instantiating module "attr_filter.post-proxy" from file /etc/raddb/mods-enabled/attr_filter reading pairlist file /etc/raddb/mods-config/attr_filter/post-proxy # Instantiating module "attr_filter.pre-proxy" from file /etc/raddb/mods-enabled/attr_filter reading pairlist file /etc/raddb/mods-config/attr_filter/pre-proxy # Instantiating module "attr_filter.access_reject" from file /etc/raddb/mods-enabled/attr_filter reading pairlist file /etc/raddb/mods-config/attr_filter/access_reject # Instantiating module "attr_filter.access_challenge" from file /etc/raddb/mods-enabled/attr_filter reading pairlist file /etc/raddb/mods-config/attr_filter/access_challenge # Instantiating module "attr_filter.accounting_response" from file /etc/raddb/mods-enabled/attr_filter reading pairlist file /etc/raddb/mods-config/attr_filter/accounting_response # Instantiating module "attr_filter.coa" from file /etc/raddb/mods-enabled/attr_filter reading pairlist file /etc/raddb/mods-config/attr_filter/coa # Instantiating module "detail" from file /etc/raddb/mods-enabled/detail # Instantiating module "auth_log" from file /etc/raddb/mods-enabled/detail.log rlm_detail (auth_log): 'User-Password' suppressed, will not appear in detail output # Instantiating module "reply_log" from file /etc/raddb/mods-enabled/detail.log # Instantiating module "pre_proxy_log" from file /etc/raddb/mods-enabled/detail.log # Instantiating module "post_proxy_log" from file /etc/raddb/mods-enabled/detail.log # Instantiating module "eap" from file /etc/raddb/mods-enabled/eap # Linked to sub-module rlm_eap_md5 # Linked to sub-module rlm_eap_gtc gtc { challenge = "Password: " auth_type = "PAP" } # Linked to sub-module rlm_eap_tls tls { tls = "tls-common" } tls-config tls-common { verify_depth = 0 ca_path = "/etc/raddb/certs/teap" pem_file_type = yes private_key_file = "/etc/raddb/certs/teap/server.pem" certificate_file = "/etc/raddb/certs/teap/server.pem" ca_file = "/etc/raddb/certs/teap/ca.pem" private_key_password = <<< secret >>> fragment_size = 1024 include_length = yes auto_chain = yes check_crl = no check_all_crl = no ca_path_reload_interval = 0 cipher_list = "DEFAULT" cipher_server_preference = no reject_unknown_intermediate_ca = no ecdh_curve = "" tls_max_version = "1.2" tls_min_version = "1.2" cache { enable = no lifetime = 24 max_entries = 255 } verify { skip_if_ocsp_ok = no } ocsp { enable = no override_cert_url = no use_nonce = yes timeout = 0 softfail = no } } # Linked to sub-module rlm_eap_ttls ttls { tls = "tls-common" default_eap_type = "md5" copy_request_to_tunnel = no use_tunneled_reply = no virtual_server = "inner-tunnel" include_length = yes require_client_cert = no } tls: Using cached TLS configuration from previous invocation # Linked to sub-module rlm_eap_peap peap { tls = "tls-common" default_eap_type = "mschapv2" copy_request_to_tunnel = no use_tunneled_reply = no proxy_tunneled_request_as_eap = yes virtual_server = "inner-tunnel" soh = no require_client_cert = no } tls: Using cached TLS configuration from previous invocation # Linked to sub-module rlm_eap_mschapv2 mschapv2 { with_ntdomain_hack = no send_error = no } # Linked to sub-module rlm_eap_teap teap { tls = "tls-common" default_eap_type = "tls" copy_request_to_tunnel = no use_tunneled_reply = no require_client_cert = no pac_lifetime = 604800 authority_identity = "1234" pac_opaque_key = "0123456789abcdef0123456789ABCDEF" virtual_server = "inner-tunnel" } tls: Using cached TLS configuration from previous invocation # Instantiating module "expiration" from file /etc/raddb/mods-enabled/expiration # Instantiating module "files" from file /etc/raddb/mods-enabled/files reading pairlist file /etc/raddb/mods-config/files/authorize reading pairlist file /etc/raddb/mods-config/files/accounting reading pairlist file /etc/raddb/mods-config/files/pre-proxy # Instantiating module "linelog" from file /etc/raddb/mods-enabled/linelog # Instantiating module "log_accounting" from file /etc/raddb/mods-enabled/linelog # Instantiating module "logintime" from file /etc/raddb/mods-enabled/logintime # Instantiating module "mschap" from file /etc/raddb/mods-enabled/mschap rlm_mschap (mschap): using internal authentication # Instantiating module "pap" from file /etc/raddb/mods-enabled/pap # Instantiating module "etc_passwd" from file /etc/raddb/mods-enabled/passwd rlm_passwd: nfields: 3 keyfield 0(User-Name) listable: no # Instantiating module "preprocess" from file /etc/raddb/mods-enabled/preprocess reading pairlist file /etc/raddb/mods-config/preprocess/huntgroups reading pairlist file /etc/raddb/mods-config/preprocess/hints # Instantiating module "IPASS" from file /etc/raddb/mods-enabled/realm # Instantiating module "suffix" from file /etc/raddb/mods-enabled/realm # Instantiating module "bangpath" from file /etc/raddb/mods-enabled/realm # Instantiating module "realmpercent" from file /etc/raddb/mods-enabled/realm # Instantiating module "ntdomain" from file /etc/raddb/mods-enabled/realm # Instantiating module "totp" from file /etc/raddb/mods-enabled/totp # Instantiating module "inner-eap" from file /etc/raddb/mods-enabled/inner-eap # Linked to sub-module rlm_eap_mschapv2 mschapv2 { with_ntdomain_hack = no send_error = no } # Linked to sub-module rlm_eap_tls tls { } TLS section "tls" missing, trying to use legacy configuration tls { verify_depth = 0 pem_file_type = yes private_key_file = "/etc/raddb/certs/teap/inner-server.pem" certificate_file = "/etc/raddb/certs/teap/inner-server.pem" ca_file = "/etc/raddb/certs/teap/ca.pem" random_file = "/dev/urandom" fragment_size = 1024 include_length = yes auto_chain = yes check_crl = no check_all_crl = no ca_path_reload_interval = 0 cipher_list = "DEFAULT" reject_unknown_intermediate_ca = no ecdh_curve = "prime256v1" tls_min_version = "1.2" cache { enable = no lifetime = 24 max_entries = 255 } verify { skip_if_ocsp_ok = no } ocsp { enable = no override_cert_url = no use_nonce = yes timeout = 0 softfail = no } } } # modules radiusd: #### Loading Virtual Servers #### server { # from file /etc/raddb/radiusd.conf } # server server default { # from file /etc/raddb/sites-enabled/default # Loading authenticate {...} Compiling Auth-Type PAP for attr Auth-Type Compiling Auth-Type CHAP for attr Auth-Type Compiling Auth-Type MS-CHAP for attr Auth-Type Compiling Auth-Type eap for attr Auth-Type # Loading authorize {...} Ignoring "sql" (see raddb/mods-available/README.rst) Ignoring "ldap" (see raddb/mods-available/README.rst) Compiling Autz-Type New-TLS-Connection for attr Autz-Type # Loading preacct {...} # Loading accounting {...} # Loading post-proxy {...} # Loading post-auth {...} Compiling Post-Auth-Type REJECT for attr Post-Auth-Type Compiling Post-Auth-Type Challenge for attr Post-Auth-Type Compiling Post-Auth-Type Client-Lost for attr Post-Auth-Type } # server default server inner-tunnel { # from file /etc/raddb/sites-enabled/inner-tunnel # Loading authenticate {...} Compiling Auth-Type PAP for attr Auth-Type Compiling Auth-Type CHAP for attr Auth-Type Compiling Auth-Type MS-CHAP for attr Auth-Type Compiling Auth-Type inner-eap for attr Auth-Type # Loading authorize {...} # Loading session {...} # Loading post-proxy {...} # Loading post-auth {...} # Skipping contents of 'if' as it is always 'false' -- /etc/raddb/sites-enabled/inner-tunnel:368 Compiling Post-Auth-Type REJECT for attr Post-Auth-Type } # server inner-tunnel radiusd: #### Opening IP addresses and Ports #### listen { type = "auth" ipaddr = * port = 1645 limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } listen { type = "auth" ipaddr = 127.0.0.1 port = 18120 } Listening on auth address * port 1645 bound to server default Listening on auth address 127.0.0.1 port 18120 bound to server inner-tunnel Ready to process requests (0) Received Access-Request Id 250 from 10.78.1.215:1645 to 10.78.5.223:1645 length 244 (0) User-Name = "anon" (0) Service-Type = Framed-User (0) Cisco-AVPair = "service-type=Framed" (0) Framed-MTU = 1500 (0) Called-Station-Id = "00-3C-10-AB-A2-8A" (0) Calling-Station-Id = "C8-F7-50-08-DD-9F" (0) EAP-Message = 0x0201000901616e6f6e (0) Message-Authenticator = 0xca304eec2a1585d04db6e3fa971b6b40 (0) Cisco-AVPair = "audit-session-id=0A4E01D7000006B823D3132B" (0) Cisco-AVPair = "method=dot1x" (0) NAS-IP-Address = 10.78.1.215 (0) NAS-Port-Id = "GigabitEthernet1/0/10" (0) NAS-Port-Type = Ethernet (0) NAS-Port = 50110 (0) # Executing section authorize from file /etc/raddb/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 = "anon", looking up realm NULL (0) suffix: No such realm "NULL" (0) [suffix] = noop (0) eap: Peer sent EAP Response (code 2) ID 1 length 9 (0) eap: EAP-Identity reply, returning 'ok' so we can short-circuit the rest of authorize (0) [eap] = ok (0) } # authorize = ok (0) Found Auth-Type = eap (0) # Executing group from file /etc/raddb/sites-enabled/default (0) Auth-Type eap { (0) eap: Peer sent packet with method EAP Identity (1) (0) eap: Calling submodule eap_teap to process data (0) eap_teap: (TLS) TEAP -Initiating new session (0) eap: Sending EAP Request (code 1) ID 2 length 18 (0) eap: EAP session adding &reply:State = 0xc2f31397c2f12456 (0) [eap] = handled (0) if (handled && (Response-Packet-Type == Access-Challenge)) { (0) EXPAND Response-Packet-Type (0) --> Access-Challenge (0) if (handled && (Response-Packet-Type == Access-Challenge)) -> TRUE (0) if (handled && (Response-Packet-Type == Access-Challenge)) { (0) attr_filter.access_challenge: EXPAND %{User-Name} (0) attr_filter.access_challenge: --> anon (0) attr_filter.access_challenge: Matched entry DEFAULT at line 12 (0) [attr_filter.access_challenge.post-auth] = updated (0) [handled] = handled (0) } # if (handled && (Response-Packet-Type == Access-Challenge)) = handled (0) } # Auth-Type eap = handled (0) Using Post-Auth-Type Challenge (0) # Executing group from file /etc/raddb/sites-enabled/default (0) Challenge { ... } # empty sub-section is ignored (0) session-state: Saving cached attributes (0) Framed-MTU = 984 (0) Sent Access-Challenge Id 250 from 10.78.5.223:1645 to 10.78.1.215:1645 length 76 (0) EAP-Message = 0x010200123731000000080001000431323334 (0) Message-Authenticator = 0x00000000000000000000000000000000 (0) State = 0xc2f31397c2f12456155e1115101ee725 (0) Finished request Waking up in 4.9 seconds. (1) Received Access-Request Id 251 from 10.78.1.215:1645 to 10.78.5.223:1645 length 415 (1) User-Name = "anon" (1) Service-Type = Framed-User (1) Cisco-AVPair = "service-type=Framed" (1) Framed-MTU = 1500 (1) Called-Station-Id = "00-3C-10-AB-A2-8A" (1) Calling-Station-Id = "C8-F7-50-08-DD-9F" (1) EAP-Message = 0x020200a237011603030097010000930303674f1c7662d8fa64f27b9e2cc0d547ad68bb771ba71506870ff8676257b63608000024c02cc02bc030c02fc024c023c028c027c00ac009c014c013009d009c003d003c0035002f01000046000500050100000000000a00080006001d00170018000b00020100000d001a00180804080508060401050102010403050302030202060106030023000000170000ff01000100 (1) Message-Authenticator = 0xd701fed7d2c902f23b5c188c623218cb (1) Cisco-AVPair = "audit-session-id=0A4E01D7000006B823D3132B" (1) Cisco-AVPair = "method=dot1x" (1) NAS-IP-Address = 10.78.1.215 (1) NAS-Port-Id = "GigabitEthernet1/0/10" (1) NAS-Port-Type = Ethernet (1) NAS-Port = 50110 (1) State = 0xc2f31397c2f12456155e1115101ee725 (1) Restoring &session-state (1) &session-state:Framed-MTU = 984 (1) # Executing section authorize from file /etc/raddb/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 = "anon", looking up realm NULL (1) suffix: No such realm "NULL" (1) [suffix] = noop (1) eap: Peer sent EAP Response (code 2) ID 2 length 162 (1) eap: Continuing tunnel setup (1) [eap] = ok (1) } # authorize = ok (1) Found Auth-Type = eap (1) # Executing group from file /etc/raddb/sites-enabled/default (1) Auth-Type eap { (1) eap: Removing EAP session with state 0xc2f31397c2f12456 (1) eap: Previous EAP request found for state 0xc2f31397c2f12456, released from the list (1) eap: Peer sent packet with method EAP TEAP (55) (1) eap: Calling submodule eap_teap to process data (1) eap_teap: Authenticate (1) eap_teap: (TLS) EAP Got final fragment (156 bytes) (1) eap_teap: WARNING: (TLS) EAP Total received record fragments (156 bytes), does not equal expected expected data length (0 bytes) (1) eap_teap: (TLS) EAP Done initial handshake (1) eap_teap: (TLS) TEAP - Handshake state - before SSL initialization (1) eap_teap: (TLS) TEAP - Handshake state - Server before SSL initialization (1) eap_teap: (TLS) TEAP - Handshake state - Server before SSL initialization (1) eap_teap: (TLS) TEAP - recv TLS 1.3 Handshake, ClientHello (1) eap_teap: (TLS) TEAP - Handshake state - Server SSLv3/TLS read client hello (1) eap_teap: (TLS) TEAP - send TLS 1.2 Handshake, ServerHello (1) eap_teap: (TLS) TEAP - Handshake state - Server SSLv3/TLS write server hello (1) eap_teap: (TLS) TEAP - send TLS 1.2 Handshake, Certificate (1) eap_teap: (TLS) TEAP - Handshake state - Server SSLv3/TLS write certificate (1) eap_teap: (TLS) TEAP - send TLS 1.2 Handshake, ServerKeyExchange (1) eap_teap: (TLS) TEAP - Handshake state - Server SSLv3/TLS write key exchange (1) eap_teap: (TLS) TEAP - send TLS 1.2 Handshake, ServerHelloDone (1) eap_teap: (TLS) TEAP - Handshake state - Server SSLv3/TLS write server done (1) eap_teap: (TLS) TEAP - Server : Need to read more data: SSLv3/TLS write server done (1) eap_teap: (TLS) TEAP - In Handshake Phase (1) eap: Sending EAP Request (code 1) ID 3 length 994 (1) eap: EAP session adding &reply:State = 0xc2f31397c3f02456 (1) [eap] = handled (1) if (handled && (Response-Packet-Type == Access-Challenge)) { (1) EXPAND Response-Packet-Type (1) --> Access-Challenge (1) if (handled && (Response-Packet-Type == Access-Challenge)) -> TRUE (1) if (handled && (Response-Packet-Type == Access-Challenge)) { (1) attr_filter.access_challenge: EXPAND %{User-Name} (1) attr_filter.access_challenge: --> anon (1) attr_filter.access_challenge: Matched entry DEFAULT at line 12 (1) [attr_filter.access_challenge.post-auth] = updated (1) [handled] = handled (1) } # if (handled && (Response-Packet-Type == Access-Challenge)) = handled (1) } # Auth-Type eap = handled (1) Using Post-Auth-Type Challenge (1) # Executing group from file /etc/raddb/sites-enabled/default (1) Challenge { ... } # empty sub-section is ignored (1) session-state: Saving cached attributes (1) Framed-MTU = 984 (1) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3 Handshake, ClientHello" (1) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHello" (1) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Certificate" (1) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerKeyExchange" (1) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHelloDone" (1) Sent Access-Challenge Id 251 from 10.78.5.223:1645 to 10.78.1.215:1645 length 1058 (1) EAP-Message = 0x010303e237c100000975160303003d020000390303c15f0cdb8a67fe33512548b6e4c5f4dd5c12b4d5971f2316e1a53914f9e40beb00c030000011ff01000100000b0004030001020017000016030307f40b0007f00007ed0003ac308203a830820290a003020102020105300d06092a864886f70d01010b05003068310b3009060355040613024445310f300d06035504070c06426f6368756d312f302d060355040a0c2649534c20496e7465726e65742053696368657268656974736c6f6573756e67656e20476d62483117301506035504030c0e6d617274696e2d746573742d6361301e170d3234313230323135333931365a170d3334313133303135333931365a307c310b3009060355040613024445310f300d06035504070c06426f6368756d312f302d060355040a0c2649534c20496e7465726e65742053696368657268656974736c6f6573756e67656e20476d6248312b302906035504030c226d617274696e2d746573742d7261646975732d73657276 (1) Message-Authenticator = 0x00000000000000000000000000000000 (1) State = 0xc2f31397c3f02456155e1115101ee725 (1) Finished request Waking up in 4.9 seconds. (2) Received Access-Request Id 252 from 10.78.1.215:1645 to 10.78.5.223:1645 length 259 (2) User-Name = "anon" (2) Service-Type = Framed-User (2) Cisco-AVPair = "service-type=Framed" (2) Framed-MTU = 1500 (2) Called-Station-Id = "00-3C-10-AB-A2-8A" (2) Calling-Station-Id = "C8-F7-50-08-DD-9F" (2) EAP-Message = 0x020300063701 (2) Message-Authenticator = 0xc08d3f4b1960dd89171d8d34e5699343 (2) Cisco-AVPair = "audit-session-id=0A4E01D7000006B823D3132B" (2) Cisco-AVPair = "method=dot1x" (2) NAS-IP-Address = 10.78.1.215 (2) NAS-Port-Id = "GigabitEthernet1/0/10" (2) NAS-Port-Type = Ethernet (2) NAS-Port = 50110 (2) State = 0xc2f31397c3f02456155e1115101ee725 (2) Restoring &session-state (2) &session-state:Framed-MTU = 984 (2) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3 Handshake, ClientHello" (2) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHello" (2) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Certificate" (2) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerKeyExchange" (2) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHelloDone" (2) # Executing section authorize from file /etc/raddb/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 = "anon", 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/raddb/sites-enabled/default (2) Auth-Type eap { (2) eap: Removing EAP session with state 0xc2f31397c3f02456 (2) eap: Previous EAP request found for state 0xc2f31397c3f02456, released from the list (2) eap: Peer sent packet with method EAP TEAP (55) (2) eap: Calling submodule eap_teap to process data (2) eap_teap: Authenticate (2) eap_teap: (TLS) Peer ACKed our handshake fragment (2) eap: Sending EAP Request (code 1) ID 4 length 990 (2) eap: EAP session adding &reply:State = 0xc2f31397c0f72456 (2) [eap] = handled (2) if (handled && (Response-Packet-Type == Access-Challenge)) { (2) EXPAND Response-Packet-Type (2) --> Access-Challenge (2) if (handled && (Response-Packet-Type == Access-Challenge)) -> TRUE (2) if (handled && (Response-Packet-Type == Access-Challenge)) { (2) attr_filter.access_challenge: EXPAND %{User-Name} (2) attr_filter.access_challenge: --> anon (2) attr_filter.access_challenge: Matched entry DEFAULT at line 12 (2) [attr_filter.access_challenge.post-auth] = updated (2) [handled] = handled (2) } # if (handled && (Response-Packet-Type == Access-Challenge)) = handled (2) } # Auth-Type eap = handled (2) Using Post-Auth-Type Challenge (2) # Executing group from file /etc/raddb/sites-enabled/default (2) Challenge { ... } # empty sub-section is ignored (2) session-state: Saving cached attributes (2) Framed-MTU = 984 (2) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3 Handshake, ClientHello" (2) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHello" (2) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Certificate" (2) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerKeyExchange" (2) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHelloDone" (2) Sent Access-Challenge Id 252 from 10.78.5.223:1645 to 10.78.1.215:1645 length 1054 (2) EAP-Message = 0x010403de3741394b7024725e8f9514edfd4ea11b2bbd6fff95bcba6081b3679fa0b5d58c8d0351edf51bfd00043b308204373082031fa00302010202146837d2898be29a5a56edbd7008ad02b855b72ecc300d06092a864886f70d01010b05003068310b3009060355040613024445310f300d06035504070c06426f6368756d312f302d060355040a0c2649534c20496e7465726e65742053696368657268656974736c6f6573756e67656e20476d62483117301506035504030c0e6d617274696e2d746573742d6361301e170d3234313132313133303935315a170d3334313131393133303935315a3068310b3009060355040613024445310f300d06035504070c06426f6368756d312f302d060355040a0c2649534c20496e7465726e65742053696368657268656974736c6f6573756e67656e20476d62483117301506035504030c0e6d617274696e2d746573742d636130820122300d06092a864886f70d01010105000382010f003082010a0282010100d439 (2) Message-Authenticator = 0x00000000000000000000000000000000 (2) State = 0xc2f31397c0f72456155e1115101ee725 (2) Finished request Waking up in 4.9 seconds. (3) Received Access-Request Id 253 from 10.78.1.215:1645 to 10.78.5.223:1645 length 259 (3) User-Name = "anon" (3) Service-Type = Framed-User (3) Cisco-AVPair = "service-type=Framed" (3) Framed-MTU = 1500 (3) Called-Station-Id = "00-3C-10-AB-A2-8A" (3) Calling-Station-Id = "C8-F7-50-08-DD-9F" (3) EAP-Message = 0x020400063701 (3) Message-Authenticator = 0x2d4751c8d565a5c5f245b6c2d096b795 (3) Cisco-AVPair = "audit-session-id=0A4E01D7000006B823D3132B" (3) Cisco-AVPair = "method=dot1x" (3) NAS-IP-Address = 10.78.1.215 (3) NAS-Port-Id = "GigabitEthernet1/0/10" (3) NAS-Port-Type = Ethernet (3) NAS-Port = 50110 (3) State = 0xc2f31397c0f72456155e1115101ee725 (3) Restoring &session-state (3) &session-state:Framed-MTU = 984 (3) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3 Handshake, ClientHello" (3) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHello" (3) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Certificate" (3) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerKeyExchange" (3) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHelloDone" (3) # Executing section authorize from file /etc/raddb/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 = "anon", 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/raddb/sites-enabled/default (3) Auth-Type eap { (3) eap: Removing EAP session with state 0xc2f31397c0f72456 (3) eap: Previous EAP request found for state 0xc2f31397c0f72456, released from the list (3) eap: Peer sent packet with method EAP TEAP (55) (3) eap: Calling submodule eap_teap to process data (3) eap_teap: Authenticate (3) eap_teap: (TLS) Peer ACKed our handshake fragment (3) eap: Sending EAP Request (code 1) ID 5 length 459 (3) eap: EAP session adding &reply:State = 0xc2f31397c1f62456 (3) [eap] = handled (3) if (handled && (Response-Packet-Type == Access-Challenge)) { (3) EXPAND Response-Packet-Type (3) --> Access-Challenge (3) if (handled && (Response-Packet-Type == Access-Challenge)) -> TRUE (3) if (handled && (Response-Packet-Type == Access-Challenge)) { (3) attr_filter.access_challenge: EXPAND %{User-Name} (3) attr_filter.access_challenge: --> anon (3) attr_filter.access_challenge: Matched entry DEFAULT at line 12 (3) [attr_filter.access_challenge.post-auth] = updated (3) [handled] = handled (3) } # if (handled && (Response-Packet-Type == Access-Challenge)) = handled (3) } # Auth-Type eap = handled (3) Using Post-Auth-Type Challenge (3) # Executing group from file /etc/raddb/sites-enabled/default (3) Challenge { ... } # empty sub-section is ignored (3) session-state: Saving cached attributes (3) Framed-MTU = 984 (3) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3 Handshake, ClientHello" (3) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHello" (3) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Certificate" (3) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerKeyExchange" (3) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHelloDone" (3) Sent Access-Challenge Id 253 from 10.78.5.223:1645 to 10.78.1.215:1645 length 519 (3) EAP-Message = 0x010501cb37012355bf3fef88cc0908228a0b37560dd68abfba7b8e1b8bd76223b49cf84a80d90025c3ae17296c51dd9630a0f8af67b987416ee02f0ed7615ece56169a552aed5426af82497468570c9bc062edccfbac033364c1d6b55075552fe9c6f7fcb955415423fef9ba221ec3cda5939a6965aa3e49dcfda0c1a0b4712ba554c245396805304b4c14d252d9f84575160303012c0c00012803001d20c417821e3dc1ad966dbb25aa221a57e889411b4ec6cebfcadba5767825e48a1d08040100837456bbfb1f64d7669f1326ebbe02ef71f7fd3b1bb5e1e0b0e972e70b934e2d452cd5e54370c63672a238187de0d4be7c4796e40c25c348f94474cf6bbffb72d642997c03ea3c93c8ea3be4253234c44f94072f60c4bcab459ee6940c104e9940f40c1f75ab97437e8e27279bb0622c6739a3262b27eef9d1e66c75d0760e5a219226931cbe9cf105106d1f0a853e787e7dd9930193aa6dce29a9865a90d32d80670201e0e99c8e0474ea0a8a422ed7bcfa4ef24e (3) Message-Authenticator = 0x00000000000000000000000000000000 (3) State = 0xc2f31397c1f62456155e1115101ee725 (3) Finished request Waking up in 4.8 seconds. (4) Received Access-Request Id 254 from 10.78.1.215:1645 to 10.78.5.223:1645 length 352 (4) User-Name = "anon" (4) Service-Type = Framed-User (4) Cisco-AVPair = "service-type=Framed" (4) Framed-MTU = 1500 (4) Called-Station-Id = "00-3C-10-AB-A2-8A" (4) Calling-Station-Id = "C8-F7-50-08-DD-9F" (4) EAP-Message = 0x0205006337011603030025100000212053b0801a7f676c92e3eb655f69ed76b1874c1b9b701a10d914e6c3d072424b381403030001011603030028000000000000000076a5db27353eeb43cf72dfb4a1b3ac38d94362e5b06205a04eacb335cb8cb240 (4) Message-Authenticator = 0xf53413f9d6d7483b36ff152e6cbb77aa (4) Cisco-AVPair = "audit-session-id=0A4E01D7000006B823D3132B" (4) Cisco-AVPair = "method=dot1x" (4) NAS-IP-Address = 10.78.1.215 (4) NAS-Port-Id = "GigabitEthernet1/0/10" (4) NAS-Port-Type = Ethernet (4) NAS-Port = 50110 (4) State = 0xc2f31397c1f62456155e1115101ee725 (4) Restoring &session-state (4) &session-state:Framed-MTU = 984 (4) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3 Handshake, ClientHello" (4) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHello" (4) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Certificate" (4) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerKeyExchange" (4) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHelloDone" (4) # Executing section authorize from file /etc/raddb/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 = "anon", looking up realm NULL (4) suffix: No such realm "NULL" (4) [suffix] = noop (4) eap: Peer sent EAP Response (code 2) ID 5 length 99 (4) eap: Continuing tunnel setup (4) [eap] = ok (4) } # authorize = ok (4) Found Auth-Type = eap (4) # Executing group from file /etc/raddb/sites-enabled/default (4) Auth-Type eap { (4) eap: Removing EAP session with state 0xc2f31397c1f62456 (4) eap: Previous EAP request found for state 0xc2f31397c1f62456, released from the list (4) eap: Peer sent packet with method EAP TEAP (55) (4) eap: Calling submodule eap_teap to process data (4) eap_teap: Authenticate (4) eap_teap: (TLS) EAP Done initial handshake (4) eap_teap: (TLS) TEAP - Handshake state - Server SSLv3/TLS write server done (4) eap_teap: (TLS) TEAP - recv TLS 1.2 Handshake, ClientKeyExchange (4) eap_teap: (TLS) TEAP - Handshake state - Server SSLv3/TLS read client key exchange (4) eap_teap: (TLS) TEAP - Handshake state - Server SSLv3/TLS read change cipher spec (4) eap_teap: (TLS) TEAP - recv TLS 1.2 Handshake, Finished (4) eap_teap: (TLS) TEAP - Handshake state - Server SSLv3/TLS read finished (4) eap_teap: (TLS) TEAP - send TLS 1.2 ChangeCipherSpec (4) eap_teap: (TLS) TEAP - Handshake state - Server SSLv3/TLS write change cipher spec (4) eap_teap: (TLS) TEAP - send TLS 1.2 Handshake, Finished (4) eap_teap: (TLS) TEAP - Handshake state - Server SSLv3/TLS write finished (4) eap_teap: (TLS) TEAP - Handshake state - SSL negotiation finished successfully (4) eap_teap: (TLS) TEAP - Connection Established (4) eap_teap: TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384" (4) eap_teap: TLS-Session-Version = "TLS 1.2" (4) eap: Sending EAP Request (code 1) ID 6 length 57 (4) eap: EAP session adding &reply:State = 0xc2f31397c6f52456 (4) [eap] = handled (4) if (handled && (Response-Packet-Type == Access-Challenge)) { (4) EXPAND Response-Packet-Type (4) --> Access-Challenge (4) if (handled && (Response-Packet-Type == Access-Challenge)) -> TRUE (4) if (handled && (Response-Packet-Type == Access-Challenge)) { (4) attr_filter.access_challenge: EXPAND %{User-Name} (4) attr_filter.access_challenge: --> anon (4) attr_filter.access_challenge: Matched entry DEFAULT at line 12 (4) [attr_filter.access_challenge.post-auth] = updated (4) [handled] = handled (4) } # if (handled && (Response-Packet-Type == Access-Challenge)) = handled (4) } # Auth-Type eap = handled (4) Using Post-Auth-Type Challenge (4) # Executing group from file /etc/raddb/sites-enabled/default (4) Challenge { ... } # empty sub-section is ignored (4) session-state: Saving cached attributes (4) Framed-MTU = 984 (4) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3 Handshake, ClientHello" (4) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHello" (4) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Certificate" (4) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerKeyExchange" (4) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHelloDone" (4) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake, ClientKeyExchange" (4) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake, Finished" (4) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 ChangeCipherSpec" (4) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Finished" (4) TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384" (4) TLS-Session-Version = "TLS 1.2" (4) Sent Access-Challenge Id 254 from 10.78.5.223:1645 to 10.78.1.215:1645 length 115 (4) EAP-Message = 0x0106003937011403030001011603030028d58e097e35b6433e3eb729fb53a5947c1cf21fadf5526769e05b344ab33a4d126b8c7f21a13255bf (4) Message-Authenticator = 0x00000000000000000000000000000000 (4) State = 0xc2f31397c6f52456155e1115101ee725 (4) Finished request Waking up in 4.8 seconds. (5) Received Access-Request Id 255 from 10.78.1.215:1645 to 10.78.5.223:1645 length 259 (5) User-Name = "anon" (5) Service-Type = Framed-User (5) Cisco-AVPair = "service-type=Framed" (5) Framed-MTU = 1500 (5) Called-Station-Id = "00-3C-10-AB-A2-8A" (5) Calling-Station-Id = "C8-F7-50-08-DD-9F" (5) EAP-Message = 0x020600063701 (5) Message-Authenticator = 0xfa0b193d43d16e8dc2484de99e752bbe (5) Cisco-AVPair = "audit-session-id=0A4E01D7000006B823D3132B" (5) Cisco-AVPair = "method=dot1x" (5) NAS-IP-Address = 10.78.1.215 (5) NAS-Port-Id = "GigabitEthernet1/0/10" (5) NAS-Port-Type = Ethernet (5) NAS-Port = 50110 (5) State = 0xc2f31397c6f52456155e1115101ee725 (5) Restoring &session-state (5) &session-state:Framed-MTU = 984 (5) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3 Handshake, ClientHello" (5) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHello" (5) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Certificate" (5) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerKeyExchange" (5) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHelloDone" (5) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake, ClientKeyExchange" (5) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake, Finished" (5) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 ChangeCipherSpec" (5) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Finished" (5) &session-state:TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384" (5) &session-state:TLS-Session-Version = "TLS 1.2" (5) # Executing section authorize from file /etc/raddb/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 = "anon", looking up realm NULL (5) suffix: No such realm "NULL" (5) [suffix] = noop (5) eap: Peer sent EAP Response (code 2) ID 6 length 6 (5) eap: Continuing tunnel setup (5) [eap] = ok (5) } # authorize = ok (5) Found Auth-Type = eap (5) # Executing group from file /etc/raddb/sites-enabled/default (5) Auth-Type eap { (5) eap: Removing EAP session with state 0xc2f31397c6f52456 (5) eap: Previous EAP request found for state 0xc2f31397c6f52456, released from the list (5) eap: Peer sent packet with method EAP TEAP (55) (5) eap: Calling submodule eap_teap to process data (5) eap_teap: Authenticate (5) eap_teap: (TLS) Peer ACKed our handshake fragment. handshake is finished (5) eap_teap: Session established. Proceeding to decode tunneled attributes (5) eap_teap: Using authenticated provisioning (5) eap_teap: Using MAC SHA384 (673) (5) eap_teap: Deriving EAP-TEAP keys (5) eap_teap: S-IMCK[0] - hexdump(len=40): 0a fb ff 6d 28 ed 5f 83 f2 70 ef d7 c5 27 b4 d9 b0 2f 9f 88 36 bf c2 ef 04 96 d4 c1 fb bb a8 59 9c 28 e0 d0 5e 3a 3d f9 (5) eap_teap: Sending EAP-Identity (5) eap: Sending EAP Request (code 1) ID 7 length 44 (5) eap: EAP session adding &reply:State = 0xc2f31397c7f42456 (5) [eap] = handled (5) if (handled && (Response-Packet-Type == Access-Challenge)) { (5) EXPAND Response-Packet-Type (5) --> Access-Challenge (5) if (handled && (Response-Packet-Type == Access-Challenge)) -> TRUE (5) if (handled && (Response-Packet-Type == Access-Challenge)) { (5) attr_filter.access_challenge: EXPAND %{User-Name} (5) attr_filter.access_challenge: --> anon (5) attr_filter.access_challenge: Matched entry DEFAULT at line 12 (5) [attr_filter.access_challenge.post-auth] = updated (5) [handled] = handled (5) } # if (handled && (Response-Packet-Type == Access-Challenge)) = handled (5) } # Auth-Type eap = handled (5) Using Post-Auth-Type Challenge (5) # Executing group from file /etc/raddb/sites-enabled/default (5) Challenge { ... } # empty sub-section is ignored (5) session-state: Saving cached attributes (5) Framed-MTU = 984 (5) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3 Handshake, ClientHello" (5) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHello" (5) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Certificate" (5) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerKeyExchange" (5) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHelloDone" (5) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake, ClientKeyExchange" (5) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake, Finished" (5) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 ChangeCipherSpec" (5) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Finished" (5) TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384" (5) TLS-Session-Version = "TLS 1.2" (5) Sent Access-Challenge Id 255 from 10.78.5.223:1645 to 10.78.1.215:1645 length 102 (5) EAP-Message = 0x0107002c37011703030021d58e097e35b6433f20cc6502c27d43f27f0a30ff70fe8d564eef8f2e9e2b0ded87 (5) Message-Authenticator = 0x00000000000000000000000000000000 (5) State = 0xc2f31397c7f42456155e1115101ee725 (5) Finished request Waking up in 4.8 seconds. (6) Received Access-Request Id 0 from 10.78.1.215:1645 to 10.78.5.223:1645 length 320 (6) User-Name = "anon" (6) Service-Type = Framed-User (6) Cisco-AVPair = "service-type=Framed" (6) Framed-MTU = 1500 (6) Called-Station-Id = "00-3C-10-AB-A2-8A" (6) Calling-Station-Id = "C8-F7-50-08-DD-9F" (6) EAP-Message = 0x020700433701170303003800000000000000019462c48dc921395b9b63a389f600d40431b30bb47a156b065a7d6f1cc86d797008c62ac2f7cb0c725bfe2aab9f23e0f8 (6) Message-Authenticator = 0x6de6bf531e1be8f17d18d321c35b54ce (6) Cisco-AVPair = "audit-session-id=0A4E01D7000006B823D3132B" (6) Cisco-AVPair = "method=dot1x" (6) NAS-IP-Address = 10.78.1.215 (6) NAS-Port-Id = "GigabitEthernet1/0/10" (6) NAS-Port-Type = Ethernet (6) NAS-Port = 50110 (6) State = 0xc2f31397c7f42456155e1115101ee725 (6) Restoring &session-state (6) &session-state:Framed-MTU = 984 (6) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3 Handshake, ClientHello" (6) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHello" (6) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Certificate" (6) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerKeyExchange" (6) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHelloDone" (6) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake, ClientKeyExchange" (6) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake, Finished" (6) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 ChangeCipherSpec" (6) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Finished" (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/raddb/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 = "anon", looking up realm NULL (6) suffix: No such realm "NULL" (6) [suffix] = noop (6) eap: Peer sent EAP Response (code 2) ID 7 length 67 (6) eap: Continuing tunnel setup (6) [eap] = ok (6) } # authorize = ok (6) Found Auth-Type = eap (6) # Executing group from file /etc/raddb/sites-enabled/default (6) Auth-Type eap { (6) eap: Removing EAP session with state 0xc2f31397c7f42456 (6) eap: Previous EAP request found for state 0xc2f31397c7f42456, released from the list (6) eap: Peer sent packet with method EAP TEAP (55) (6) eap: Calling submodule eap_teap to process data (6) eap_teap: Authenticate (6) eap_teap: (TLS) EAP Done initial handshake (6) eap_teap: Session established. Proceeding to decode tunneled attributes (6) eap_teap: Got Tunneled TEAP TLVs (6) eap_teap: FreeRADIUS-EAP-TEAP-EAP-Payload = 0x0207001c016d617274696e2d746573742d636c69656e742d63657274 (6) eap_teap: Processing received EAP Payload (6) eap_teap: Got tunneled request (6) eap_teap: EAP-Message = 0x0207001c016d617274696e2d746573742d636c69656e742d63657274 (6) eap_teap: Got tunneled identity of martin-test-client-cert (6) eap_teap: AUTHENTICATION (6) Virtual server inner-tunnel received request (6) EAP-Message = 0x0207001c016d617274696e2d746573742d636c69656e742d63657274 (6) FreeRADIUS-Proxied-To = 127.0.0.1 (6) User-Name = "martin-test-client-cert" (6) WARNING: Outer User-Name is not anonymized. User privacy is compromised. (6) server inner-tunnel { (6) # Executing section authorize from file /etc/raddb/sites-enabled/inner-tunnel (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) [chap] = noop (6) [mschap] = noop (6) suffix: Checking for suffix after "@" (6) suffix: No '@' in User-Name = "martin-test-client-cert", looking up realm NULL (6) suffix: No such realm "NULL" (6) [suffix] = noop (6) update control { (6) &Proxy-To-Realm := LOCAL (6) } # update control = noop (6) inner-eap: Peer sent EAP Response (code 2) ID 7 length 28 (6) inner-eap: EAP-Identity reply, returning 'ok' so we can short-circuit the rest of authorize (6) [inner-eap] = ok (6) } # authorize = ok (6) WARNING: You set Proxy-To-Realm = LOCAL, but the realm does not exist! Cancelling invalid proxy request. (6) Found Auth-Type = inner-eap (6) # Executing group from file /etc/raddb/sites-enabled/inner-tunnel (6) Auth-Type inner-eap { (6) inner-eap: Peer sent packet with method EAP Identity (1) (6) inner-eap: Calling submodule eap_tls to process data (6) eap_tls: (TLS) TLS -Initiating new session (6) eap_tls: (TLS) TLS - Setting verify mode to require certificate from client (6) inner-eap: Sending EAP Request (code 1) ID 8 length 10 (6) inner-eap: EAP session adding &reply:State = 0x7d82a9617d8aa413 (6) [inner-eap] = handled (6) } # Auth-Type inner-eap = handled (6) Using Post-Auth-Type Challenge (6) Post-Auth-Type sub-section not found. Ignoring. (6) # Executing group from file /etc/raddb/sites-enabled/inner-tunnel (6) session-state: Saving cached attributes (6) Framed-MTU = 921 (6) } # server inner-tunnel (6) Virtual server sending reply (6) EAP-Message = 0x0108000a0da000000000 (6) Message-Authenticator = 0x00000000000000000000000000000000 (6) State = 0x7d82a9617d8aa413afebab08aa0725a8 (6) eap_teap: Got tunneled Access-Challenge (6) eap: Sending EAP Request (code 1) ID 8 length 49 (6) eap: EAP session adding &reply:State = 0xc2f31397c4fb2456 (6) [eap] = handled (6) if (handled && (Response-Packet-Type == Access-Challenge)) { (6) EXPAND Response-Packet-Type (6) --> Access-Challenge (6) if (handled && (Response-Packet-Type == Access-Challenge)) -> TRUE (6) if (handled && (Response-Packet-Type == Access-Challenge)) { (6) attr_filter.access_challenge: EXPAND %{User-Name} (6) attr_filter.access_challenge: --> anon (6) attr_filter.access_challenge: Matched entry DEFAULT at line 12 (6) [attr_filter.access_challenge.post-auth] = updated (6) [handled] = handled (6) } # if (handled && (Response-Packet-Type == Access-Challenge)) = handled (6) } # Auth-Type eap = handled (6) Using Post-Auth-Type Challenge (6) # Executing group from file /etc/raddb/sites-enabled/default (6) Challenge { ... } # empty sub-section is ignored (6) session-state: Saving cached attributes (6) Framed-MTU = 984 (6) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3 Handshake, ClientHello" (6) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHello" (6) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Certificate" (6) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerKeyExchange" (6) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHelloDone" (6) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake, ClientKeyExchange" (6) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake, Finished" (6) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 ChangeCipherSpec" (6) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Finished" (6) TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384" (6) TLS-Session-Version = "TLS 1.2" (6) Sent Access-Challenge Id 0 from 10.78.5.223:1645 to 10.78.1.215:1645 length 107 (6) EAP-Message = 0x0108003137011703030026d58e097e35b64340c63c7e2b1c1afb074cc6f80935636bb23216c639cb1be316fa0442220db1 (6) Message-Authenticator = 0x00000000000000000000000000000000 (6) State = 0xc2f31397c4fb2456155e1115101ee725 (6) Finished request Waking up in 3.6 seconds. (7) Received Access-Request Id 1 from 10.78.1.215:1645 to 10.78.5.223:1645 length 561 (7) User-Name = "anon" (7) Service-Type = Framed-User (7) Cisco-AVPair = "service-type=Framed" (7) Framed-MTU = 1500 (7) Called-Station-Id = "00-3C-10-AB-A2-8A" (7) Calling-Station-Id = "C8-F7-50-08-DD-9F" (7) EAP-Message = 0x0208013237011703030127000000000000000207544da8981f0ed24f876b17bd749ea0315a651d207421def6b9bd48818f8835d5438bb05952a9fe53cb9a22100ab6b6776887894903f9c98ac1fa988b119a475a1e460dc0de45ee4796a8337aad14f7a66d5d2604153807676baddb675e6f4382fd3d1a57db8575bac97ba611412c68ed5d2a53ea2f0c19edf45626fc8bbd4a2852cc737742da3fbd0735572b85079f75e130a6d517c026896db0b819e2841324df5fd62040854563a914a5bc6c433ca48344879be12c7a2ef4895cf69a019ad800db8c0bbf6f1c84f9385d11825858507decedd94f70be8698c4aac02c836b77110ae6576cfb91f51eb0d52c445bff2c9f839627a89bedd46120d611c2cc2bc716007d655125f0fe39ef7644a2f75592222c8294bd36dfc9d7efadcd3da9 (7) Message-Authenticator = 0xf42573b74775036a509442421edcfa15 (7) Cisco-AVPair = "audit-session-id=0A4E01D7000006B823D3132B" (7) Cisco-AVPair = "method=dot1x" (7) NAS-IP-Address = 10.78.1.215 (7) NAS-Port-Id = "GigabitEthernet1/0/10" (7) NAS-Port-Type = Ethernet (7) NAS-Port = 50110 (7) State = 0xc2f31397c4fb2456155e1115101ee725 (7) Restoring &session-state (7) &session-state:Framed-MTU = 984 (7) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3 Handshake, ClientHello" (7) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHello" (7) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Certificate" (7) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerKeyExchange" (7) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHelloDone" (7) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake, ClientKeyExchange" (7) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake, Finished" (7) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 ChangeCipherSpec" (7) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Finished" (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/raddb/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 = "anon", looking up realm NULL (7) suffix: No such realm "NULL" (7) [suffix] = noop (7) eap: Peer sent EAP Response (code 2) ID 8 length 306 (7) eap: Continuing tunnel setup (7) [eap] = ok (7) } # authorize = ok (7) Found Auth-Type = eap (7) # Executing group from file /etc/raddb/sites-enabled/default (7) Auth-Type eap { (7) eap: Removing EAP session with state 0xc2f31397c4fb2456 (7) eap: Previous EAP request found for state 0xc2f31397c4fb2456, released from the list (7) eap: Peer sent packet with method EAP TEAP (55) (7) eap: Calling submodule eap_teap to process data (7) eap_teap: Authenticate (7) eap_teap: (TLS) EAP Done initial handshake (7) eap_teap: Session established. Proceeding to decode tunneled attributes (7) eap_teap: Got Tunneled TEAP TLVs (7) eap_teap: FreeRADIUS-EAP-TEAP-EAP-Payload = 0x0208010b0d800000010116030100fc010000f80303894df71571b44caa45ce419e7802bc2f64696a756113459d3036ed36abbf8be820ffd8e8fd16d3ec99a12eb2565caaa1d5957d005fd5e4214d3bc872b7f3a422a6002813021301c02cc02bc030c02fc024c023c028c027c00ac009c014c013009d009c003d003c0035002f01000087000500050100000000002b0009080304030303020301000d001a001808040805080604010501020104030503020302020601060300230000000a00080006001d00170018000b00020100003300260024001d0020f47d02c057a0290501142c7da714697cfd243b353d7de5ed8e6a77694cb0ce360031000000170000ff01000100002d00020101 (7) eap_teap: Processing received EAP Payload (7) eap_teap: Got tunneled request (7) eap_teap: EAP-Message = 0x0208010b0d800000010116030100fc010000f80303894df71571b44caa45ce419e7802bc2f64696a756113459d3036ed36abbf8be820ffd8e8fd16d3ec99a12eb2565caaa1d5957d005fd5e4214d3bc872b7f3a422a6002813021301c02cc02bc030c02fc024c023c028c027c00ac009c014c013009d009c003d003c0035002f01000087000500050100000000002b0009080304030303020301000d001a001808040805080604010501020104030503020302020601060300230000000a00080006001d00170018000b00020100003300260024001d0020f47d02c057a0290501142c7da714697cfd243b353d7de5ed8e6a77694cb0ce360031000000170000ff01000100002d00020101 (7) eap_teap: AUTHENTICATION (7) Virtual server inner-tunnel received request (7) EAP-Message = 0x0208010b0d800000010116030100fc010000f80303894df71571b44caa45ce419e7802bc2f64696a756113459d3036ed36abbf8be820ffd8e8fd16d3ec99a12eb2565caaa1d5957d005fd5e4214d3bc872b7f3a422a6002813021301c02cc02bc030c02fc024c023c028c027c00ac009c014c013009d009c003d003c0035002f01000087000500050100000000002b0009080304030303020301000d001a001808040805080604010501020104030503020302020601060300230000000a00080006001d00170018000b00020100003300260024001d0020f47d02c057a0290501142c7da714697cfd243b353d7de5ed8e6a77694cb0ce360031000000170000ff01000100002d00020101 (7) FreeRADIUS-Proxied-To = 127.0.0.1 (7) User-Name = "martin-test-client-cert" (7) State = 0x7d82a9617d8aa413afebab08aa0725a8 (7) WARNING: Outer User-Name is not anonymized. User privacy is compromised. (7) server inner-tunnel { (7) Restoring &session-state (7) &session-state:Framed-MTU = 921 (7) # Executing section authorize from file /etc/raddb/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 = "martin-test-client-cert", 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) inner-eap: Peer sent EAP Response (code 2) ID 8 length 267 (7) inner-eap: No EAP Start, assuming it's an on-going EAP conversation (7) [inner-eap] = updated (7) [files] = noop (7) [expiration] = noop (7) [logintime] = noop (7) [pap] = noop (7) } # authorize = updated (7) WARNING: You set Proxy-To-Realm = LOCAL, but the realm does not exist! Cancelling invalid proxy request. (7) Found Auth-Type = inner-eap (7) # Executing group from file /etc/raddb/sites-enabled/inner-tunnel (7) Auth-Type inner-eap { (7) inner-eap: Removing EAP session with state 0x7d82a9617d8aa413 (7) inner-eap: Previous EAP request found for state 0x7d82a9617d8aa413, released from the list (7) inner-eap: Peer sent packet with method EAP TLS (13) (7) inner-eap: Calling submodule eap_tls to process data (7) eap_tls: (TLS) EAP Peer says that the final record size will be 257 bytes (7) eap_tls: (TLS) EAP Got all data (257 bytes) (7) eap_tls: (TLS) TLS - Handshake state - before SSL initialization (7) eap_tls: (TLS) TLS - Handshake state - Server before SSL initialization (7) eap_tls: (TLS) TLS - Handshake state - Server before SSL initialization (7) eap_tls: (TLS) TLS - recv TLS 1.3 Handshake, ClientHello (7) eap_tls: (TLS) TLS - Handshake state - Server SSLv3/TLS read client hello (7) eap_tls: (TLS) TLS - send TLS 1.2 Handshake, ServerHello (7) eap_tls: (TLS) TLS - Handshake state - Server SSLv3/TLS write server hello (7) eap_tls: (TLS) TLS - send TLS 1.2 Handshake, Certificate (7) eap_tls: (TLS) TLS - Handshake state - Server SSLv3/TLS write certificate (7) eap_tls: (TLS) TLS - send TLS 1.2 Handshake, ServerKeyExchange (7) eap_tls: (TLS) TLS - Handshake state - Server SSLv3/TLS write key exchange (7) eap_tls: (TLS) TLS - send TLS 1.2 Handshake, CertificateRequest (7) eap_tls: (TLS) TLS - Handshake state - Server SSLv3/TLS write certificate request (7) eap_tls: (TLS) TLS - send TLS 1.2 Handshake, ServerHelloDone (7) eap_tls: (TLS) TLS - Handshake state - Server SSLv3/TLS write server done (7) eap_tls: (TLS) TLS - Server : Need to read more data: SSLv3/TLS write server done (7) eap_tls: (TLS) TLS - In Handshake Phase (7) inner-eap: Sending EAP Request (code 1) ID 9 length 927 (7) inner-eap: EAP session adding &reply:State = 0x7d82a9617c8ba413 (7) [inner-eap] = handled (7) } # Auth-Type inner-eap = handled (7) Using Post-Auth-Type Challenge (7) Post-Auth-Type sub-section not found. Ignoring. (7) # Executing group from file /etc/raddb/sites-enabled/inner-tunnel (7) session-state: Saving cached attributes (7) Framed-MTU = 921 (7) TLS-Session-Information = "(TLS) TLS - recv TLS 1.3 Handshake, ClientHello" (7) TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, ServerHello" (7) TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, Certificate" (7) TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, ServerKeyExchange" (7) TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, CertificateRequest" (7) TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, ServerHelloDone" (7) } # server inner-tunnel (7) Virtual server sending reply (7) EAP-Message = 0x0109039f0dc000000a36160303003d0200003903035e6cb1c6fd2673e4e50a26b49d6a3157a086a7f38d6f0d55e7e3ff8b8e4a1e0300c030000011ff01000100000b0004030001020017000016030307f40b0007f00007ed0003ac308203a830820290a003020102020105300d06092a864886f70d01010b05003068310b3009060355040613024445310f300d06035504070c06426f6368756d312f302d060355040a0c2649534c20496e7465726e65742053696368657268656974736c6f6573756e67656e20476d62483117301506035504030c0e6d617274696e2d746573742d6361301e170d3234313230323135333931365a170d3334313133303135333931365a307c310b3009060355040613024445310f300d06035504070c06426f6368756d312f302d060355040a0c2649534c20496e7465726e65742053696368657268656974736c6f6573756e67656e20476d6248312b302906035504030c226d617274696e2d746573742d7261646975732d73657276 (7) Message-Authenticator = 0x00000000000000000000000000000000 (7) State = 0x7d82a9617c8ba413afebab08aa0725a8 (7) eap_teap: Got tunneled Access-Challenge (7) eap: Sending EAP Request (code 1) ID 9 length 966 (7) eap: EAP session adding &reply:State = 0xc2f31397c5fa2456 (7) [eap] = handled (7) if (handled && (Response-Packet-Type == Access-Challenge)) { (7) EXPAND Response-Packet-Type (7) --> Access-Challenge (7) if (handled && (Response-Packet-Type == Access-Challenge)) -> TRUE (7) if (handled && (Response-Packet-Type == Access-Challenge)) { (7) attr_filter.access_challenge: EXPAND %{User-Name} (7) attr_filter.access_challenge: --> anon (7) attr_filter.access_challenge: Matched entry DEFAULT at line 12 (7) [attr_filter.access_challenge.post-auth] = updated (7) [handled] = handled (7) } # if (handled && (Response-Packet-Type == Access-Challenge)) = handled (7) } # Auth-Type eap = handled (7) Using Post-Auth-Type Challenge (7) # Executing group from file /etc/raddb/sites-enabled/default (7) Challenge { ... } # empty sub-section is ignored (7) session-state: Saving cached attributes (7) Framed-MTU = 984 (7) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3 Handshake, ClientHello" (7) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHello" (7) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Certificate" (7) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerKeyExchange" (7) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHelloDone" (7) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake, ClientKeyExchange" (7) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake, Finished" (7) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 ChangeCipherSpec" (7) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Finished" (7) TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384" (7) TLS-Session-Version = "TLS 1.2" (7) Sent Access-Challenge Id 1 from 10.78.5.223:1645 to 10.78.1.215:1645 length 1030 (7) EAP-Message = 0x010903c6370117030303bbd58e097e35b643410cb18a26848891498a985a8c70345e88f19def5e1dd4d58778a0c0aff201867de918984ccbd651bd53de2657fbf3f506126cbc900c2230ebf0c6ac68ace0cc78edb39ecd2b5a931a5af9d6fd52213bd4bddc0eba2f151d782a1a4f723b0bd841c54c742ced24eaf86251045207c9cee3c7b8ab7b3116678476992521899f786af5f7046ff447dce3eb77828f7d3b21238f5a495829cafa2084e30a9793e9ef5cf7580fb617d037dfdc0c0d60dca443817ca1ade2ef6f643921c569692e9c1204076ab7a219c4de5ced278d1c6520dd61ca22fcb16868ff528cc96abaf980fdc58592dc48522fd045e6eb04e9dfddd66b937ca391774cfc17f83603b268d48a5ac174ec8f909cd7a1016bc7505ad468fb6b67ab550cd358b19415e1e99f1d7842d49866bef9f50ee0888386df8631157b9d51f3f74ef624dd7852c7a206d75b6da5ea5f4376213ba27683b430858e4023fd2ba8b2a25411aed63e30ca9f1e18167c9be1af (7) Message-Authenticator = 0x00000000000000000000000000000000 (7) State = 0xc2f31397c5fa2456155e1115101ee725 (7) Finished request Waking up in 2.0 seconds. (8) Received Access-Request Id 2 from 10.78.1.215:1645 to 10.78.5.223:1645 length 298 (8) User-Name = "anon" (8) Service-Type = Framed-User (8) Cisco-AVPair = "service-type=Framed" (8) Framed-MTU = 1500 (8) Called-Station-Id = "00-3C-10-AB-A2-8A" (8) Calling-Station-Id = "C8-F7-50-08-DD-9F" (8) EAP-Message = 0x0209002d370117030300220000000000000003bbf800dad4b2f62f8f8f855deb83a1b84a70060a87c3ae1b13cd (8) Message-Authenticator = 0xd86b117f69facf309edc643a90b77b6a (8) Cisco-AVPair = "audit-session-id=0A4E01D7000006B823D3132B" (8) Cisco-AVPair = "method=dot1x" (8) NAS-IP-Address = 10.78.1.215 (8) NAS-Port-Id = "GigabitEthernet1/0/10" (8) NAS-Port-Type = Ethernet (8) NAS-Port = 50110 (8) State = 0xc2f31397c5fa2456155e1115101ee725 (8) Restoring &session-state (8) &session-state:Framed-MTU = 984 (8) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3 Handshake, ClientHello" (8) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHello" (8) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Certificate" (8) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerKeyExchange" (8) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHelloDone" (8) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake, ClientKeyExchange" (8) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake, Finished" (8) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 ChangeCipherSpec" (8) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Finished" (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/raddb/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 = "anon", looking up realm NULL (8) suffix: No such realm "NULL" (8) [suffix] = noop (8) eap: Peer sent EAP Response (code 2) ID 9 length 45 (8) eap: Continuing tunnel setup (8) [eap] = ok (8) } # authorize = ok (8) Found Auth-Type = eap (8) # Executing group from file /etc/raddb/sites-enabled/default (8) Auth-Type eap { (8) eap: Removing EAP session with state 0xc2f31397c5fa2456 (8) eap: Previous EAP request found for state 0xc2f31397c5fa2456, released from the list (8) eap: Peer sent packet with method EAP TEAP (55) (8) eap: Calling submodule eap_teap to process data (8) eap_teap: Authenticate (8) eap_teap: (TLS) EAP Done initial handshake (8) eap_teap: Session established. Proceeding to decode tunneled attributes (8) eap_teap: Got Tunneled TEAP TLVs (8) eap_teap: FreeRADIUS-EAP-TEAP-EAP-Payload = 0x020900060d00 (8) eap_teap: Processing received EAP Payload (8) eap_teap: Got tunneled request (8) eap_teap: EAP-Message = 0x020900060d00 (8) eap_teap: AUTHENTICATION (8) Virtual server inner-tunnel received request (8) EAP-Message = 0x020900060d00 (8) FreeRADIUS-Proxied-To = 127.0.0.1 (8) User-Name = "martin-test-client-cert" (8) State = 0x7d82a9617c8ba413afebab08aa0725a8 (8) WARNING: Outer User-Name is not anonymized. User privacy is compromised. (8) server inner-tunnel { (8) Restoring &session-state (8) &session-state:Framed-MTU = 921 (8) &session-state:TLS-Session-Information = "(TLS) TLS - recv TLS 1.3 Handshake, ClientHello" (8) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, ServerHello" (8) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, Certificate" (8) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, ServerKeyExchange" (8) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, CertificateRequest" (8) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, ServerHelloDone" (8) # Executing section authorize from file /etc/raddb/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 = "martin-test-client-cert", 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) inner-eap: Peer sent EAP Response (code 2) ID 9 length 6 (8) inner-eap: No EAP Start, assuming it's an on-going EAP conversation (8) [inner-eap] = updated (8) [files] = noop (8) [expiration] = noop (8) [logintime] = noop (8) [pap] = noop (8) } # authorize = updated (8) WARNING: You set Proxy-To-Realm = LOCAL, but the realm does not exist! Cancelling invalid proxy request. (8) Found Auth-Type = inner-eap (8) # Executing group from file /etc/raddb/sites-enabled/inner-tunnel (8) Auth-Type inner-eap { (8) inner-eap: Removing EAP session with state 0x7d82a9617c8ba413 (8) inner-eap: Previous EAP request found for state 0x7d82a9617c8ba413, released from the list (8) inner-eap: Peer sent packet with method EAP TLS (13) (8) inner-eap: Calling submodule eap_tls to process data (8) eap_tls: (TLS) Peer ACKed our handshake fragment (8) inner-eap: Sending EAP Request (code 1) ID 10 length 927 (8) inner-eap: EAP session adding &reply:State = 0x7d82a9617f88a413 (8) [inner-eap] = handled (8) } # Auth-Type inner-eap = handled (8) Using Post-Auth-Type Challenge (8) Post-Auth-Type sub-section not found. Ignoring. (8) # Executing group from file /etc/raddb/sites-enabled/inner-tunnel (8) session-state: Saving cached attributes (8) Framed-MTU = 921 (8) TLS-Session-Information = "(TLS) TLS - recv TLS 1.3 Handshake, ClientHello" (8) TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, ServerHello" (8) TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, Certificate" (8) TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, ServerKeyExchange" (8) TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, CertificateRequest" (8) TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, ServerHelloDone" (8) } # server inner-tunnel (8) Virtual server sending reply (8) EAP-Message = 0x010a039f0dc000000a367d26fcfa591289fe0edfa8155639a543130ed8a6962f70647126878cf733836caa89c0268887485318012cca1d5ef88acfacb48eb6f3f345c4c8e5b927da63424e24c5394b7024725e8f9514edfd4ea11b2bbd6fff95bcba6081b3679fa0b5d58c8d0351edf51bfd00043b308204373082031fa00302010202146837d2898be29a5a56edbd7008ad02b855b72ecc300d06092a864886f70d01010b05003068310b3009060355040613024445310f300d06035504070c06426f6368756d312f302d060355040a0c2649534c20496e7465726e65742053696368657268656974736c6f6573756e67656e20476d62483117301506035504030c0e6d617274696e2d746573742d6361301e170d3234313132313133303935315a170d3334313131393133303935315a3068310b3009060355040613024445310f300d06035504070c06426f6368756d312f302d060355040a0c2649534c20496e7465726e65742053696368657268656974736c6f65 (8) Message-Authenticator = 0x00000000000000000000000000000000 (8) State = 0x7d82a9617f88a413afebab08aa0725a8 (8) eap_teap: Got tunneled Access-Challenge (8) eap: Sending EAP Request (code 1) ID 10 length 966 (8) eap: EAP session adding &reply:State = 0xc2f31397caf92456 (8) [eap] = handled (8) if (handled && (Response-Packet-Type == Access-Challenge)) { (8) EXPAND Response-Packet-Type (8) --> Access-Challenge (8) if (handled && (Response-Packet-Type == Access-Challenge)) -> TRUE (8) if (handled && (Response-Packet-Type == Access-Challenge)) { (8) attr_filter.access_challenge: EXPAND %{User-Name} (8) attr_filter.access_challenge: --> anon (8) attr_filter.access_challenge: Matched entry DEFAULT at line 12 (8) [attr_filter.access_challenge.post-auth] = updated (8) [handled] = handled (8) } # if (handled && (Response-Packet-Type == Access-Challenge)) = handled (8) } # Auth-Type eap = handled (8) Using Post-Auth-Type Challenge (8) # Executing group from file /etc/raddb/sites-enabled/default (8) Challenge { ... } # empty sub-section is ignored (8) session-state: Saving cached attributes (8) Framed-MTU = 984 (8) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3 Handshake, ClientHello" (8) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHello" (8) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Certificate" (8) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerKeyExchange" (8) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHelloDone" (8) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake, ClientKeyExchange" (8) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake, Finished" (8) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 ChangeCipherSpec" (8) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Finished" (8) TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384" (8) TLS-Session-Version = "TLS 1.2" (8) Sent Access-Challenge Id 2 from 10.78.5.223:1645 to 10.78.1.215:1645 length 1030 (8) EAP-Message = 0x010a03c6370117030303bbd58e097e35b64342e3ae71b1f9e64d0935462b277890d4dec0e8f578e384323a264736b96d93cdb285f0bd408a118aea11b586ec9f2cd39bb340f735cec43836d99bece944c077d834a741fcb08661235069dc4ea87c119fcf3c02d51008c7358907568c280b3d9d6f45cefd1af86b2b84b8310987168d940667aa023bd013c7dfb4cb4f517117c66e5629e1b4695a7f79a82f59f0c34ea15fbb656f120568f22f7877b54bafca83b98958d14b984fa33418343092ec3902926b3df242be104ad1726e6c1a77d92b4310855aec2387ed7a82f3e888385980a69f0800ab7625369fdbdafbcecaeedeed646b3aee27f80b0b6f98fc7f895898b0ca81e517f976216cc7a912dde0b9fe02522c1932ffd96d9cef6944b3f22a525a54c1f9d537e2bcf5400f471015648d1ffcab61ba5decdb3158bacfc1ade4f5b2e2619e963d9b89bdc6ad84772497bf6b9a168c053e95a44925e1e5a0f7625e87b9c95888827ca353f8a006f4a74fd93cdcd1e3 (8) Message-Authenticator = 0x00000000000000000000000000000000 (8) State = 0xc2f31397caf92456155e1115101ee725 (8) Finished request Waking up in 0.9 seconds. (0) Cleaning up request packet ID 250 with timestamp +67 due to cleanup_delay was reached (1) Cleaning up request packet ID 251 with timestamp +68 due to cleanup_delay was reached (2) Cleaning up request packet ID 252 with timestamp +68 due to cleanup_delay was reached (3) Cleaning up request packet ID 253 with timestamp +68 due to cleanup_delay was reached (4) Cleaning up request packet ID 254 with timestamp +68 due to cleanup_delay was reached (5) Cleaning up request packet ID 255 with timestamp +68 due to cleanup_delay was reached Waking up in 1.1 seconds. (9) Received Access-Request Id 3 from 10.78.1.215:1645 to 10.78.5.223:1645 length 298 (9) User-Name = "anon" (9) Service-Type = Framed-User (9) Cisco-AVPair = "service-type=Framed" (9) Framed-MTU = 1500 (9) Called-Station-Id = "00-3C-10-AB-A2-8A" (9) Calling-Station-Id = "C8-F7-50-08-DD-9F" (9) EAP-Message = 0x020a002d370117030300220000000000000004f4ccf99d214d0c2fdb9a467cff7fd644578d4142606b87033ab1 (9) Message-Authenticator = 0x2a4c406b109e7aa5f19a03b3c9aaeeff (9) Cisco-AVPair = "audit-session-id=0A4E01D7000006B823D3132B" (9) Cisco-AVPair = "method=dot1x" (9) NAS-IP-Address = 10.78.1.215 (9) NAS-Port-Id = "GigabitEthernet1/0/10" (9) NAS-Port-Type = Ethernet (9) NAS-Port = 50110 (9) State = 0xc2f31397caf92456155e1115101ee725 (9) Restoring &session-state (9) &session-state:Framed-MTU = 984 (9) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3 Handshake, ClientHello" (9) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHello" (9) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Certificate" (9) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerKeyExchange" (9) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHelloDone" (9) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake, ClientKeyExchange" (9) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake, Finished" (9) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 ChangeCipherSpec" (9) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Finished" (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/raddb/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 = "anon", looking up realm NULL (9) suffix: No such realm "NULL" (9) [suffix] = noop (9) eap: Peer sent EAP Response (code 2) ID 10 length 45 (9) eap: Continuing tunnel setup (9) [eap] = ok (9) } # authorize = ok (9) Found Auth-Type = eap (9) # Executing group from file /etc/raddb/sites-enabled/default (9) Auth-Type eap { (9) eap: Removing EAP session with state 0xc2f31397caf92456 (9) eap: Previous EAP request found for state 0xc2f31397caf92456, released from the list (9) eap: Peer sent packet with method EAP TEAP (55) (9) eap: Calling submodule eap_teap to process data (9) eap_teap: Authenticate (9) eap_teap: (TLS) EAP Done initial handshake (9) eap_teap: Session established. Proceeding to decode tunneled attributes (9) eap_teap: Got Tunneled TEAP TLVs (9) eap_teap: FreeRADIUS-EAP-TEAP-EAP-Payload = 0x020a00060d00 (9) eap_teap: Processing received EAP Payload (9) eap_teap: Got tunneled request (9) eap_teap: EAP-Message = 0x020a00060d00 (9) eap_teap: AUTHENTICATION (9) Virtual server inner-tunnel received request (9) EAP-Message = 0x020a00060d00 (9) FreeRADIUS-Proxied-To = 127.0.0.1 (9) User-Name = "martin-test-client-cert" (9) State = 0x7d82a9617f88a413afebab08aa0725a8 (9) WARNING: Outer User-Name is not anonymized. User privacy is compromised. (9) server inner-tunnel { (9) Restoring &session-state (9) &session-state:Framed-MTU = 921 (9) &session-state:TLS-Session-Information = "(TLS) TLS - recv TLS 1.3 Handshake, ClientHello" (9) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, ServerHello" (9) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, Certificate" (9) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, ServerKeyExchange" (9) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, CertificateRequest" (9) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, ServerHelloDone" (9) # Executing section authorize from file /etc/raddb/sites-enabled/inner-tunnel (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) [chap] = noop (9) [mschap] = noop (9) suffix: Checking for suffix after "@" (9) suffix: No '@' in User-Name = "martin-test-client-cert", looking up realm NULL (9) suffix: No such realm "NULL" (9) [suffix] = noop (9) update control { (9) &Proxy-To-Realm := LOCAL (9) } # update control = noop (9) inner-eap: Peer sent EAP Response (code 2) ID 10 length 6 (9) inner-eap: No EAP Start, assuming it's an on-going EAP conversation (9) [inner-eap] = updated (9) [files] = noop (9) [expiration] = noop (9) [logintime] = noop (9) [pap] = noop (9) } # authorize = updated (9) WARNING: You set Proxy-To-Realm = LOCAL, but the realm does not exist! Cancelling invalid proxy request. (9) Found Auth-Type = inner-eap (9) # Executing group from file /etc/raddb/sites-enabled/inner-tunnel (9) Auth-Type inner-eap { (9) inner-eap: Removing EAP session with state 0x7d82a9617f88a413 (9) inner-eap: Previous EAP request found for state 0x7d82a9617f88a413, released from the list (9) inner-eap: Peer sent packet with method EAP TLS (13) (9) inner-eap: Calling submodule eap_tls to process data (9) eap_tls: (TLS) Peer ACKed our handshake fragment (9) inner-eap: Sending EAP Request (code 1) ID 11 length 790 (9) inner-eap: EAP session adding &reply:State = 0x7d82a9617e89a413 (9) [inner-eap] = handled (9) } # Auth-Type inner-eap = handled (9) Using Post-Auth-Type Challenge (9) Post-Auth-Type sub-section not found. Ignoring. (9) # Executing group from file /etc/raddb/sites-enabled/inner-tunnel (9) session-state: Saving cached attributes (9) Framed-MTU = 921 (9) TLS-Session-Information = "(TLS) TLS - recv TLS 1.3 Handshake, ClientHello" (9) TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, ServerHello" (9) TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, Certificate" (9) TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, ServerKeyExchange" (9) TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, CertificateRequest" (9) TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, ServerHelloDone" (9) } # server inner-tunnel (9) Virtual server sending reply (9) EAP-Message = 0x010b03160d8000000a36092a864886f70d01010b05000382010100a43c58ca1352e1fc9445dd9ee39ba4a0370294fe7a392d7bde81a15eafa50faffeecfbd46a398281481534dac317909896a890db1c9bc2a92dd6643cb38884b99bf6bb9e29b89ec05a184fee40f636cffb530e6729aa18f65d4efbefc8c6f642f083d24fee5b1557e2fbbdd8db665c1ec5c7c0478e2355bf3fef88cc0908228a0b37560dd68abfba7b8e1b8bd76223b49cf84a80d90025c3ae17296c51dd9630a0f8af67b987416ee02f0ed7615ece56169a552aed5426af82497468570c9bc062edccfbac033364c1d6b55075552fe9c6f7fcb955415423fef9ba221ec3cda5939a6965aa3e49dcfda0c1a0b4712ba554c245396805304b4c14d252d9f84575160303014d0c000149030017410414ad6ba5da14562ce4205cc6b74047e0385accc56e794df1ef72eb68ee1f62af661dd2b9030086d65e34deb95e4eaa2eb667104fb00e886cd3c8d977ab104020080401001f93ff3171d72acf48e7 (9) Message-Authenticator = 0x00000000000000000000000000000000 (9) State = 0x7d82a9617e89a413afebab08aa0725a8 (9) eap_teap: Got tunneled Access-Challenge (9) eap: Sending EAP Request (code 1) ID 11 length 829 (9) eap: EAP session adding &reply:State = 0xc2f31397cbf82456 (9) [eap] = handled (9) if (handled && (Response-Packet-Type == Access-Challenge)) { (9) EXPAND Response-Packet-Type (9) --> Access-Challenge (9) if (handled && (Response-Packet-Type == Access-Challenge)) -> TRUE (9) if (handled && (Response-Packet-Type == Access-Challenge)) { (9) attr_filter.access_challenge: EXPAND %{User-Name} (9) attr_filter.access_challenge: --> anon (9) attr_filter.access_challenge: Matched entry DEFAULT at line 12 (9) [attr_filter.access_challenge.post-auth] = updated (9) [handled] = handled (9) } # if (handled && (Response-Packet-Type == Access-Challenge)) = handled (9) } # Auth-Type eap = handled (9) Using Post-Auth-Type Challenge (9) # Executing group from file /etc/raddb/sites-enabled/default (9) Challenge { ... } # empty sub-section is ignored (9) session-state: Saving cached attributes (9) Framed-MTU = 984 (9) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3 Handshake, ClientHello" (9) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHello" (9) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Certificate" (9) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerKeyExchange" (9) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHelloDone" (9) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake, ClientKeyExchange" (9) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake, Finished" (9) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 ChangeCipherSpec" (9) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Finished" (9) TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384" (9) TLS-Session-Version = "TLS 1.2" (9) Sent Access-Challenge Id 3 from 10.78.5.223:1645 to 10.78.1.215:1645 length 893 (9) EAP-Message = 0x010b033d37011703030332d58e097e35b64343573324521e39493b78c71137b294ad377ca37b8e7d58c101cd75bbd42e9de6132e1e36b6e5701d479011efe8bf24c12f13b9c861bedebf401a68b56115098f63d5e4cccc18f01133aa121ad2fbcb26dc59b7e30e0eae6602cf9e081b4374b9745a3b71495948002308814909b3bcafeda2ab8b8333b1a4405b4c47fd417a6e1b52c4135bb92b3814938f56b3e9eeb3f3f0b776853f381bff5ffe7cbaf695fcf0605b4f1ba088ac0fb6f389aa7e71bc0ffd321918427856257b3c4f058aa48bf19dff4196c4f4915dc9c95e831e4e7f14c728530f801a9fca2e42764355221b6191a6b58a3ce51eba1615f439725fac595c91a90b57a5a9c1cf9a5465249e12b9b25c71c596d1edad0f754a4f0d570bd7cdfbdc0c41a899f396c3843ba0d1e6399bd628ffbb734ed339b3c1ea6aa3555a24dd041100a18d9f02cda65f3e6932b9eb6c3904562d88dccb87ba6e07e9d4f14f69498631e615ac8a53733a7e8a5e7c525a4fb9 (9) Message-Authenticator = 0x00000000000000000000000000000000 (9) State = 0xc2f31397cbf82456155e1115101ee725 (9) Finished request Waking up in 0.7 seconds. (6) Cleaning up request packet ID 0 with timestamp +69 due to cleanup_delay was reached Waking up in 1.5 seconds. (10) Received Access-Request Id 4 from 10.78.1.215:1645 to 10.78.5.223:1645 length 1591 (10) User-Name = "anon" (10) Service-Type = Framed-User (10) Cisco-AVPair = "service-type=Framed" (10) Framed-MTU = 1500 (10) Called-Station-Id = "00-3C-10-AB-A2-8A" (10) Calling-Station-Id = "C8-F7-50-08-DD-9F" (10) EAP-Message = 0x020b053037011703030525000000000000000580e50b95130ccf873d96392a00cbc0ce091c5c8672b42fd04851ae9e2794cc9b4c6e31a6855a6d0bd80b6ec78ac19e8399c23d3ab7871367f745daf4383bf653b8a8d7728318098a82ff53f43b0ebf29901db10d18d9451b5dc1dfc36d89e8255411028920903bbd8615d52e2750270352e9d34be7549223db57c8540aa5eeb7d9430f82371def17495fe66deb7ab9ab396229590f0ab1eadf078344e03c47f73b406b14ca7b2518c7931cfdd086cb3367020b5b0c6511ebfef7fdef9294067dd83ee6caf88d3fff61e3f9ec9de63fd1b7eff887c46d67cfe8f7bc6848ef2e1921d64cc82d0d9c4b02ad9d21f692927f270a576789f02f717a796752829aa695881f575b6313748ce6d1ad918157b8cd45f3dab73dc96dfaa02682c73ff3834b9d9f2311b9507c7fe2dd3983de1a532ad0e998dcb65b1e083c7034f4cff82d7a552dd05a53e270fb1a2107a06b084f6cd405e5f388a2a59b405418fb2db79374aa9a0cff (10) Message-Authenticator = 0x5c5a3cb4dbdc83a2d2841ccff5dbf5a0 (10) Cisco-AVPair = "audit-session-id=0A4E01D7000006B823D3132B" (10) Cisco-AVPair = "method=dot1x" (10) NAS-IP-Address = 10.78.1.215 (10) NAS-Port-Id = "GigabitEthernet1/0/10" (10) NAS-Port-Type = Ethernet (10) NAS-Port = 50110 (10) State = 0xc2f31397cbf82456155e1115101ee725 (10) Restoring &session-state (10) &session-state:Framed-MTU = 984 (10) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3 Handshake, ClientHello" (10) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHello" (10) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Certificate" (10) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerKeyExchange" (10) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHelloDone" (10) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake, ClientKeyExchange" (10) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake, Finished" (10) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 ChangeCipherSpec" (10) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Finished" (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/raddb/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 = "anon", looking up realm NULL (10) suffix: No such realm "NULL" (10) [suffix] = noop (10) eap: Peer sent EAP Response (code 2) ID 11 length 1328 (10) eap: Continuing tunnel setup (10) [eap] = ok (10) } # authorize = ok (10) Found Auth-Type = eap (10) # Executing group from file /etc/raddb/sites-enabled/default (10) Auth-Type eap { (10) eap: Removing EAP session with state 0xc2f31397cbf82456 (10) eap: Previous EAP request found for state 0xc2f31397cbf82456, released from the list (10) eap: Peer sent packet with method EAP TEAP (55) (10) eap: Calling submodule eap_teap to process data (10) eap_teap: Authenticate (10) eap_teap: (TLS) EAP Done initial handshake (10) eap_teap: Session established. Proceeding to decode tunneled attributes (10) eap_teap: Got Tunneled TEAP TLVs (10) eap_teap: FreeRADIUS-EAP-TEAP-EAP-Payload = 0x020b05090d80000004ff16030304c70b00037500037200036f3082036b30820253a003020102020102300d06092a864886f70d01010b05003068310b3009060355040613024445310f300d06035504070c06426f6368756d312f302d060355040a0c2649534c20496e7465726e65742053696368657268656974736c6f6573756e67656e20476d62483117301506035504030c0e6d617274696e2d746573742d6361301e170d3234313132313133313035305a170d3334313131393133313035305a3071310b3009060355040613024445310f300d06035504070c06426f6368756d312f302d060355040a0c2649534c20496e7465726e65742053696368657268656974736c6f6573756e67656e20476d62483120301e06035504030c176d617274696e2d746573742d636c69656e742d6365727430820122300d06092a864886f70d01010105000382010f003082010a0282010100b915fb07553ec185e591403232f7f3b944e6435cf03dc7 (10) eap_teap: Processing received EAP Payload (10) eap_teap: Got tunneled request (10) eap_teap: EAP-Message = 0x020b05090d80000004ff16030304c70b00037500037200036f3082036b30820253a003020102020102300d06092a864886f70d01010b05003068310b3009060355040613024445310f300d06035504070c06426f6368756d312f302d060355040a0c2649534c20496e7465726e65742053696368657268656974736c6f6573756e67656e20476d62483117301506035504030c0e6d617274696e2d746573742d6361301e170d3234313132313133313035305a170d3334313131393133313035305a3071310b3009060355040613024445310f300d06035504070c06426f6368756d312f302d060355040a0c2649534c20496e7465726e65742053696368657268656974736c6f6573756e67656e20476d62483120301e06035504030c176d617274696e2d746573742d636c69656e742d6365727430820122300d06092a864886f70d01010105000382010f003082010a0282010100b915fb07553ec185e591403232f7f3b944e6435cf03dc709e1f2bc94d912244d6c (10) eap_teap: AUTHENTICATION (10) Virtual server inner-tunnel received request (10) EAP-Message = 0x020b05090d80000004ff16030304c70b00037500037200036f3082036b30820253a003020102020102300d06092a864886f70d01010b05003068310b3009060355040613024445310f300d06035504070c06426f6368756d312f302d060355040a0c2649534c20496e7465726e65742053696368657268656974736c6f6573756e67656e20476d62483117301506035504030c0e6d617274696e2d746573742d6361301e170d3234313132313133313035305a170d3334313131393133313035305a3071310b3009060355040613024445310f300d06035504070c06426f6368756d312f302d060355040a0c2649534c20496e7465726e65742053696368657268656974736c6f6573756e67656e20476d62483120301e06035504030c176d617274696e2d746573742d636c69656e742d6365727430820122300d06092a864886f70d01010105000382010f003082010a0282010100b915fb07553ec185e591403232f7f3b944e6435cf03dc709e1f2bc94d912244d6c (10) FreeRADIUS-Proxied-To = 127.0.0.1 (10) User-Name = "martin-test-client-cert" (10) State = 0x7d82a9617e89a413afebab08aa0725a8 (10) WARNING: Outer User-Name is not anonymized. User privacy is compromised. (10) server inner-tunnel { (10) Restoring &session-state (10) &session-state:Framed-MTU = 921 (10) &session-state:TLS-Session-Information = "(TLS) TLS - recv TLS 1.3 Handshake, ClientHello" (10) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, ServerHello" (10) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, Certificate" (10) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, ServerKeyExchange" (10) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, CertificateRequest" (10) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, ServerHelloDone" (10) # Executing section authorize from file /etc/raddb/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 = "martin-test-client-cert", 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) inner-eap: Peer sent EAP Response (code 2) ID 11 length 1289 (10) inner-eap: No EAP Start, assuming it's an on-going EAP conversation (10) [inner-eap] = updated (10) [files] = noop (10) [expiration] = noop (10) [logintime] = noop (10) [pap] = noop (10) } # authorize = updated (10) WARNING: You set Proxy-To-Realm = LOCAL, but the realm does not exist! Cancelling invalid proxy request. (10) Found Auth-Type = inner-eap (10) # Executing group from file /etc/raddb/sites-enabled/inner-tunnel (10) Auth-Type inner-eap { (10) inner-eap: Removing EAP session with state 0x7d82a9617e89a413 (10) inner-eap: Previous EAP request found for state 0x7d82a9617e89a413, released from the list (10) inner-eap: Peer sent packet with method EAP TLS (13) (10) inner-eap: Calling submodule eap_tls to process data (10) eap_tls: (TLS) EAP Peer says that the final record size will be 1279 bytes (10) eap_tls: (TLS) EAP Got all data (1279 bytes) (10) eap_tls: (TLS) TLS - Handshake state - Server SSLv3/TLS write server done (10) eap_tls: (TLS) TLS - recv TLS 1.2 Handshake, Certificate (10) eap_tls: (TLS) TLS - Creating attributes from 2 certificate in chain (10) eap_tls: TLS-Cert-Serial := "6837d2898be29a5a56edbd7008ad02b855b72ecc" (10) eap_tls: TLS-Cert-Expiration := "341119130951Z" (10) eap_tls: TLS-Cert-Valid-Since := "241121130951Z" (10) eap_tls: TLS-Cert-Subject := "/C=DE/L=Bochum/O=Test/CN=martin-test-ca" (10) eap_tls: TLS-Cert-Issuer := "/C=DE/L=Bochum/O=Test/CN=martin-test-ca" (10) eap_tls: TLS-Cert-Common-Name := "martin-test-ca" (10) eap_tls: (TLS) TLS - Creating attributes from 1 certificate in chain (10) eap_tls: TLS-Client-Cert-Serial := "02" (10) eap_tls: TLS-Client-Cert-Expiration := "341119131050Z" (10) eap_tls: TLS-Client-Cert-Valid-Since := "241121131050Z" (10) eap_tls: TLS-Client-Cert-Subject := "/C=DE/L=Bochum/O=Test/CN=martin-test-client-cert" (10) eap_tls: TLS-Client-Cert-Issuer := "/C=DE/L=Bochum/O=Test/CN=martin-test-ca" (10) eap_tls: TLS-Client-Cert-Common-Name := "martin-test-client-cert" (10) eap_tls: TLS-Client-Cert-X509v3-Extended-Key-Usage += "TLS Web Client Authentication" (10) eap_tls: TLS-Client-Cert-X509v3-Extended-Key-Usage-OID += "1.3.6.1.5.5.7.3.2" Certificate chain - 1 intermediate CA cert(s) untrusted To forbid these certificates see 'reject_unknown_intermediate_ca' (TLS) untrusted certificate with depth [0] subject name /C=DE/L=Bochum/O=Test/CN=martin-test-client-cert (10) eap_tls: (TLS) TLS - Handshake state - Server SSLv3/TLS read client certificate (10) eap_tls: (TLS) TLS - recv TLS 1.2 Handshake, ClientKeyExchange (10) eap_tls: (TLS) TLS - Handshake state - Server SSLv3/TLS read client key exchange (10) eap_tls: (TLS) TLS - recv TLS 1.2 Handshake, CertificateVerify (10) eap_tls: (TLS) TLS - Handshake state - Server SSLv3/TLS read certificate verify (10) eap_tls: (TLS) TLS - Handshake state - Server SSLv3/TLS read change cipher spec (10) eap_tls: (TLS) TLS - recv TLS 1.2 Handshake, Finished (10) eap_tls: (TLS) TLS - Handshake state - Server SSLv3/TLS read finished (10) eap_tls: (TLS) TLS - send TLS 1.2 ChangeCipherSpec (10) eap_tls: (TLS) TLS - Handshake state - Server SSLv3/TLS write change cipher spec (10) eap_tls: (TLS) TLS - send TLS 1.2 Handshake, Finished (10) eap_tls: (TLS) TLS - Handshake state - Server SSLv3/TLS write finished (10) eap_tls: (TLS) TLS - Handshake state - SSL negotiation finished successfully (10) eap_tls: (TLS) TLS - Connection Established (10) eap_tls: TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384" (10) eap_tls: TLS-Session-Version = "TLS 1.2" (10) inner-eap: Sending EAP Request (code 1) ID 12 length 61 (10) inner-eap: EAP session adding &reply:State = 0x7d82a961798ea413 (10) [inner-eap] = handled (10) } # Auth-Type inner-eap = handled (10) Using Post-Auth-Type Challenge (10) Post-Auth-Type sub-section not found. Ignoring. (10) # Executing group from file /etc/raddb/sites-enabled/inner-tunnel (10) session-state: Saving cached attributes (10) Framed-MTU = 921 (10) TLS-Session-Information = "(TLS) TLS - recv TLS 1.3 Handshake, ClientHello" (10) TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, ServerHello" (10) TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, Certificate" (10) TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, ServerKeyExchange" (10) TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, CertificateRequest" (10) TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, ServerHelloDone" (10) TLS-Session-Information = "(TLS) TLS - recv TLS 1.2 Handshake, Certificate" (10) TLS-Session-Information = "(TLS) TLS - recv TLS 1.2 Handshake, ClientKeyExchange" (10) TLS-Session-Information = "(TLS) TLS - recv TLS 1.2 Handshake, CertificateVerify" (10) TLS-Session-Information = "(TLS) TLS - recv TLS 1.2 Handshake, Finished" (10) TLS-Session-Information = "(TLS) TLS - send TLS 1.2 ChangeCipherSpec" (10) TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, Finished" (10) TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384" (10) TLS-Session-Version = "TLS 1.2" (10) } # server inner-tunnel (10) Virtual server sending reply (10) EAP-Message = 0x010c003d0d800000003314030300010116030300289fb24bab4d6017bbf77aeadc565aa84db1623c9874948e97b337dcd9d0c454265394a6b04c125a3e (10) Message-Authenticator = 0x00000000000000000000000000000000 (10) State = 0x7d82a961798ea413afebab08aa0725a8 (10) eap_teap: Got tunneled Access-Challenge (10) eap: Sending EAP Request (code 1) ID 12 length 100 (10) eap: EAP session adding &reply:State = 0xc2f31397c8ff2456 (10) [eap] = handled (10) if (handled && (Response-Packet-Type == Access-Challenge)) { (10) EXPAND Response-Packet-Type (10) --> Access-Challenge (10) if (handled && (Response-Packet-Type == Access-Challenge)) -> TRUE (10) if (handled && (Response-Packet-Type == Access-Challenge)) { (10) attr_filter.access_challenge: EXPAND %{User-Name} (10) attr_filter.access_challenge: --> anon (10) attr_filter.access_challenge: Matched entry DEFAULT at line 12 (10) [attr_filter.access_challenge.post-auth] = updated (10) [handled] = handled (10) } # if (handled && (Response-Packet-Type == Access-Challenge)) = handled (10) } # Auth-Type eap = handled (10) Using Post-Auth-Type Challenge (10) # Executing group from file /etc/raddb/sites-enabled/default (10) Challenge { ... } # empty sub-section is ignored (10) session-state: Saving cached attributes (10) Framed-MTU = 984 (10) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3 Handshake, ClientHello" (10) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHello" (10) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Certificate" (10) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerKeyExchange" (10) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHelloDone" (10) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake, ClientKeyExchange" (10) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake, Finished" (10) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 ChangeCipherSpec" (10) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Finished" (10) TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384" (10) TLS-Session-Version = "TLS 1.2" (10) Sent Access-Challenge Id 4 from 10.78.5.223:1645 to 10.78.1.215:1645 length 158 (10) EAP-Message = 0x010c006437011703030059d58e097e35b64344cb8a3cbb988707670cf89a4c4601cff4b73ee9d203d19d55513749592b0a2a0aeb23eac1913c5a73cdb1c86d436a96be7a4909560d8c2b3ce12b0eaa40fa1a57a28bed7fcccfbf0f9adbe176675cc5341a (10) Message-Authenticator = 0x00000000000000000000000000000000 (10) State = 0xc2f31397c8ff2456155e1115101ee725 (10) Finished request Waking up in 0.7 seconds. (11) Received Access-Request Id 5 from 10.78.1.215:1645 to 10.78.5.223:1645 length 298 (11) User-Name = "anon" (11) Service-Type = Framed-User (11) Cisco-AVPair = "service-type=Framed" (11) Framed-MTU = 1500 (11) Called-Station-Id = "00-3C-10-AB-A2-8A" (11) Calling-Station-Id = "C8-F7-50-08-DD-9F" (11) EAP-Message = 0x020c002d37011703030022000000000000000667eaf709b078f5f253cfe9fb4e5ed9a3e2c442516a14c3b8506b (11) Message-Authenticator = 0x161458dbe240cb9e668b603354de2a11 (11) Cisco-AVPair = "audit-session-id=0A4E01D7000006B823D3132B" (11) Cisco-AVPair = "method=dot1x" (11) NAS-IP-Address = 10.78.1.215 (11) NAS-Port-Id = "GigabitEthernet1/0/10" (11) NAS-Port-Type = Ethernet (11) NAS-Port = 50110 (11) State = 0xc2f31397c8ff2456155e1115101ee725 (11) Restoring &session-state (11) &session-state:Framed-MTU = 984 (11) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3 Handshake, ClientHello" (11) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHello" (11) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Certificate" (11) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerKeyExchange" (11) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHelloDone" (11) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake, ClientKeyExchange" (11) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake, Finished" (11) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 ChangeCipherSpec" (11) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Finished" (11) &session-state:TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384" (11) &session-state:TLS-Session-Version = "TLS 1.2" (11) # Executing section authorize from file /etc/raddb/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 = "anon", looking up realm NULL (11) suffix: No such realm "NULL" (11) [suffix] = noop (11) eap: Peer sent EAP Response (code 2) ID 12 length 45 (11) eap: Continuing tunnel setup (11) [eap] = ok (11) } # authorize = ok (11) Found Auth-Type = eap (11) # Executing group from file /etc/raddb/sites-enabled/default (11) Auth-Type eap { (11) eap: Removing EAP session with state 0xc2f31397c8ff2456 (11) eap: Previous EAP request found for state 0xc2f31397c8ff2456, released from the list (11) eap: Peer sent packet with method EAP TEAP (55) (11) eap: Calling submodule eap_teap to process data (11) eap_teap: Authenticate (11) eap_teap: (TLS) EAP Done initial handshake (11) eap_teap: Session established. Proceeding to decode tunneled attributes (11) eap_teap: Got Tunneled TEAP TLVs (11) eap_teap: FreeRADIUS-EAP-TEAP-EAP-Payload = 0x020c00060d00 (11) eap_teap: Processing received EAP Payload (11) eap_teap: Got tunneled request (11) eap_teap: EAP-Message = 0x020c00060d00 (11) eap_teap: AUTHENTICATION (11) Virtual server inner-tunnel received request (11) EAP-Message = 0x020c00060d00 (11) FreeRADIUS-Proxied-To = 127.0.0.1 (11) User-Name = "martin-test-client-cert" (11) State = 0x7d82a961798ea413afebab08aa0725a8 (11) WARNING: Outer User-Name is not anonymized. User privacy is compromised. (11) server inner-tunnel { (11) Restoring &session-state (11) &session-state:Framed-MTU = 921 (11) &session-state:TLS-Session-Information = "(TLS) TLS - recv TLS 1.3 Handshake, ClientHello" (11) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, ServerHello" (11) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, Certificate" (11) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, ServerKeyExchange" (11) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, CertificateRequest" (11) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, ServerHelloDone" (11) &session-state:TLS-Session-Information = "(TLS) TLS - recv TLS 1.2 Handshake, Certificate" (11) &session-state:TLS-Session-Information = "(TLS) TLS - recv TLS 1.2 Handshake, ClientKeyExchange" (11) &session-state:TLS-Session-Information = "(TLS) TLS - recv TLS 1.2 Handshake, CertificateVerify" (11) &session-state:TLS-Session-Information = "(TLS) TLS - recv TLS 1.2 Handshake, Finished" (11) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS 1.2 ChangeCipherSpec" (11) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, Finished" (11) &session-state:TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384" (11) &session-state:TLS-Session-Version = "TLS 1.2" (11) # Executing section authorize from file /etc/raddb/sites-enabled/inner-tunnel (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) [chap] = noop (11) [mschap] = noop (11) suffix: Checking for suffix after "@" (11) suffix: No '@' in User-Name = "martin-test-client-cert", looking up realm NULL (11) suffix: No such realm "NULL" (11) [suffix] = noop (11) update control { (11) &Proxy-To-Realm := LOCAL (11) } # update control = noop (11) inner-eap: Peer sent EAP Response (code 2) ID 12 length 6 (11) inner-eap: No EAP Start, assuming it's an on-going EAP conversation (11) [inner-eap] = updated (11) [files] = noop (11) [expiration] = noop (11) [logintime] = noop (11) [pap] = noop (11) } # authorize = updated (11) WARNING: You set Proxy-To-Realm = LOCAL, but the realm does not exist! Cancelling invalid proxy request. (11) Found Auth-Type = inner-eap (11) # Executing group from file /etc/raddb/sites-enabled/inner-tunnel (11) Auth-Type inner-eap { (11) inner-eap: Removing EAP session with state 0x7d82a961798ea413 (11) inner-eap: Previous EAP request found for state 0x7d82a961798ea413, released from the list (11) inner-eap: Peer sent packet with method EAP TLS (13) (11) inner-eap: Calling submodule eap_tls to process data (11) eap_tls: (TLS) Peer ACKed our handshake fragment. handshake is finished (11) inner-eap: Sending EAP Success (code 3) ID 12 length 4 (11) inner-eap: Freeing handler (11) [inner-eap] = ok (11) } # Auth-Type inner-eap = ok (11) # Executing section post-auth from file /etc/raddb/sites-enabled/inner-tunnel (11) post-auth { (11) if (0) { (11) if (0) -> FALSE (11) } # post-auth = noop (11) } # server inner-tunnel (11) Virtual server sending reply (11) MS-MPPE-Recv-Key = 0x68b33fa03c2a947717ab842050d1e6eb12eded7e0feb2dd0141e02b9ba42de62 (11) MS-MPPE-Send-Key = 0x2912104beaf44768c82898fee9792a14d76ecd2da4f8a9e8673462d4244bce4a (11) EAP-MSK = 0x68b33fa03c2a947717ab842050d1e6eb12eded7e0feb2dd0141e02b9ba42de622912104beaf44768c82898fee9792a14d76ecd2da4f8a9e8673462d4244bce4a (11) EAP-EMSK = 0x539ddd8a80123822102125690512d370f86ef93b1e4b8a258c02b92be19c3a04fd3dbd4c3bf034c244e02a117285a6576c837bf6304d59656052f9cbfb837c88 (11) EAP-Session-Id = 0x0d894df71571b44caa45ce419e7802bc2f64696a756113459d3036ed36abbf8be85e6cb1c6fd2673e4e50a26b49d6a3157a086a7f38d6f0d55e7e3ff8b8e4a1e03 (11) EAP-Message = 0x030c0004 (11) Message-Authenticator = 0x00000000000000000000000000000000 (11) User-Name = "martin-test-client-cert" (11) eap_teap: Got tunneled Access-Accept (11) eap_teap: MSCHAP_MPPE_RECV_KEY [high MSK] - hexdump(len=32): 68 b3 3f a0 3c 2a 94 77 17 ab 84 20 50 d1 e6 eb 12 ed ed 7e 0f eb 2d d0 14 1e 02 b9 ba 42 de 62 (11) eap_teap: MSCHAP_MPPE_SEND_KEY [low MSK] - hexdump(len=32): 29 12 10 4b ea f4 47 68 c8 28 98 fe e9 79 2a 14 d7 6e cd 2d a4 f8 a9 e8 67 34 62 d4 24 4b ce 4a (11) eap_teap: Sending Cryptobinding (11) eap_teap: Updating ICMK (j = 1) (11) eap_teap: IMSK from MSK - hexdump(len=32): 68 b3 3f a0 3c 2a 94 77 17 ab 84 20 50 d1 e6 eb 12 ed ed 7e 0f eb 2d d0 14 1e 02 b9 ba 42 de 62 (11) eap_teap: MSK S-IMCK[j] - hexdump(len=40): ea f8 3b 4e ef 4e f3 d1 5d 50 3d a6 dd a0 cf 5f dc 03 f9 12 8d aa 94 4a c8 ad 62 0f cf fe e9 5c fd a4 f6 25 af cf 19 de (11) eap_teap: MSK CMK[j] - hexdump(len=20): 53 e0 ad f2 72 70 ee b1 76 26 01 eb 4f f5 99 56 0f 76 bb 96 (11) eap_teap: IMSK from EMSK - hexdump(len=32): 41 34 3a 53 6a 1e a1 2f 67 44 f9 50 3f 24 aa 11 45 94 24 b3 e0 9f 97 ea cb 85 da 1b d4 c2 5b 3c (11) eap_teap: EMSK S-IMCK[j] - hexdump(len=40): e0 64 11 18 00 36 9b c0 25 10 e4 f3 00 14 ee fb 50 4e dd cf 3c ff af 52 71 bc 85 78 ad 05 c4 65 99 0e 42 87 28 68 2b a0 (11) eap_teap: EMSK CMK[j] - hexdump(len=20): cb d7 87 35 9c 35 ca f5 62 58 c4 5e 55 6c 84 10 70 d7 02 e9 (11) eap_teap: BUFFER for Compound MAC calculation - hexdump(len=89): 80 0c 00 4c 00 01 01 30 e9 5b c3 6f 1f 2d 0a 80 f8 34 3f 9c cf eb 67 e2 34 2f 95 ac bd d9 c3 ed 85 d7 61 b1 04 35 ca 16 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 37 00 01 00 04 31 32 33 34 (11) eap: Sending EAP Request (code 1) ID 13 length 127 (11) eap: EAP session adding &reply:State = 0xc2f31397c9fe2456 (11) [eap] = handled (11) if (handled && (Response-Packet-Type == Access-Challenge)) { (11) EXPAND Response-Packet-Type (11) --> Access-Challenge (11) if (handled && (Response-Packet-Type == Access-Challenge)) -> TRUE (11) if (handled && (Response-Packet-Type == Access-Challenge)) { (11) attr_filter.access_challenge: EXPAND %{User-Name} (11) attr_filter.access_challenge: --> anon (11) attr_filter.access_challenge: Matched entry DEFAULT at line 12 (11) [attr_filter.access_challenge.post-auth] = updated (11) [handled] = handled (11) } # if (handled && (Response-Packet-Type == Access-Challenge)) = handled (11) } # Auth-Type eap = handled (11) Using Post-Auth-Type Challenge (11) # Executing group from file /etc/raddb/sites-enabled/default (11) Challenge { ... } # empty sub-section is ignored (11) session-state: Saving cached attributes (11) Framed-MTU = 984 (11) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3 Handshake, ClientHello" (11) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHello" (11) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Certificate" (11) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerKeyExchange" (11) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHelloDone" (11) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake, ClientKeyExchange" (11) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake, Finished" (11) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 ChangeCipherSpec" (11) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Finished" (11) TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384" (11) TLS-Session-Version = "TLS 1.2" (11) Sent Access-Challenge Id 5 from 10.78.5.223:1645 to 10.78.1.215:1645 length 185 (11) EAP-Message = 0x010d007f37011703030074d58e097e35b643455b253d59113fda874fb020d4afe40bf47f2fd956366e3ba6e71eb6bc116180ad76ed7f9026c8acf7f8ecd0c20012b4ec9847194ee92cfde08f52ad7d26aa1d53a74cb2861183b8b63e93733eb1eaf20300fea4b99bd31ec45acaf579162bada39136723153754978f89fce9c (11) Message-Authenticator = 0x00000000000000000000000000000000 (11) State = 0xc2f31397c9fe2456155e1115101ee725 (11) Finished request Waking up in 0.5 seconds. (7) Cleaning up request packet ID 1 with timestamp +70 due to cleanup_delay was reached Waking up in 1.1 seconds. (12) Received Access-Request Id 6 from 10.78.1.215:1645 to 10.78.5.223:1645 length 388 (12) User-Name = "anon" (12) Service-Type = Framed-User (12) Cisco-AVPair = "service-type=Framed" (12) Framed-MTU = 1500 (12) Called-Station-Id = "00-3C-10-AB-A2-8A" (12) Calling-Station-Id = "C8-F7-50-08-DD-9F" (12) EAP-Message = 0x020d00873701170303007c0000000000000007a56e372d3a12917d7af3f2235b5393274dde9acb6899bb6e2b5199d025e9532406f66ab5419a9e257c275a21943f8fde814496ae136ada9525a4a90edfb639af9639bcf459f8a527a09760a991ce8a28bd0811f4cf5d397aa895d1b5ebdb8e3e95502f3da03d3707e8ba5dc462e3eca1e2809736 (12) Message-Authenticator = 0x3ec01ead68ef624464bc172d80e35e99 (12) Cisco-AVPair = "audit-session-id=0A4E01D7000006B823D3132B" (12) Cisco-AVPair = "method=dot1x" (12) NAS-IP-Address = 10.78.1.215 (12) NAS-Port-Id = "GigabitEthernet1/0/10" (12) NAS-Port-Type = Ethernet (12) NAS-Port = 50110 (12) State = 0xc2f31397c9fe2456155e1115101ee725 (12) Restoring &session-state (12) &session-state:Framed-MTU = 984 (12) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3 Handshake, ClientHello" (12) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHello" (12) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Certificate" (12) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerKeyExchange" (12) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHelloDone" (12) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake, ClientKeyExchange" (12) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake, Finished" (12) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 ChangeCipherSpec" (12) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Finished" (12) &session-state:TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384" (12) &session-state:TLS-Session-Version = "TLS 1.2" (12) # Executing section authorize from file /etc/raddb/sites-enabled/default (12) authorize { (12) policy filter_username { (12) if (&User-Name) { (12) if (&User-Name) -> TRUE (12) if (&User-Name) { (12) if (&User-Name =~ / /) { (12) if (&User-Name =~ / /) -> FALSE (12) if (&User-Name =~ /@[^@]*@/ ) { (12) if (&User-Name =~ /@[^@]*@/ ) -> FALSE (12) if (&User-Name =~ /\.\./ ) { (12) if (&User-Name =~ /\.\./ ) -> FALSE (12) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) { (12) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE (12) if (&User-Name =~ /\.$/) { (12) if (&User-Name =~ /\.$/) -> FALSE (12) if (&User-Name =~ /@\./) { (12) if (&User-Name =~ /@\./) -> FALSE (12) } # if (&User-Name) = notfound (12) } # policy filter_username = notfound (12) [preprocess] = ok (12) [chap] = noop (12) [mschap] = noop (12) [digest] = noop (12) suffix: Checking for suffix after "@" (12) suffix: No '@' in User-Name = "anon", looking up realm NULL (12) suffix: No such realm "NULL" (12) [suffix] = noop (12) eap: Peer sent EAP Response (code 2) ID 13 length 135 (12) eap: Continuing tunnel setup (12) [eap] = ok (12) } # authorize = ok (12) Found Auth-Type = eap (12) # Executing group from file /etc/raddb/sites-enabled/default (12) Auth-Type eap { (12) eap: Removing EAP session with state 0xc2f31397c9fe2456 (12) eap: Previous EAP request found for state 0xc2f31397c9fe2456, released from the list (12) eap: Peer sent packet with method EAP TEAP (55) (12) eap: Calling submodule eap_teap to process data (12) eap_teap: Authenticate (12) eap_teap: (TLS) EAP Done initial handshake (12) eap_teap: Session established. Proceeding to decode tunneled attributes (12) eap_teap: EAP-TEAP TLV Status indicates failure. Rejecting request. (12) eap: ERROR: Failed continuing EAP TEAP (55) session. EAP sub-module failed (12) eap: Sending EAP Failure (code 4) ID 13 length 4 (12) eap: Failed in EAP select (12) [eap] = invalid (12) } # Auth-Type eap = invalid (12) Failed to authenticate the user (12) Using Post-Auth-Type Reject (12) # Executing group from file /etc/raddb/sites-enabled/default (12) Post-Auth-Type REJECT { (12) attr_filter.access_reject: EXPAND %{User-Name} (12) attr_filter.access_reject: --> anon (12) attr_filter.access_reject: Matched entry DEFAULT at line 11 (12) [attr_filter.access_reject] = updated (12) [eap] = noop (12) policy remove_reply_message_if_eap { (12) if (&reply:EAP-Message && &reply:Reply-Message) { (12) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE (12) else { (12) [noop] = noop (12) } # else = noop (12) } # policy remove_reply_message_if_eap = noop (12) } # Post-Auth-Type REJECT = updated (12) Delaying response for 1.000000 seconds (8) Cleaning up request packet ID 2 with timestamp +72 due to cleanup_delay was reached Waking up in 0.2 seconds. Waking up in 0.6 seconds. (12) Sending delayed response (12) Sent Access-Reject Id 6 from 10.78.5.223:1645 to 10.78.1.215:1645 length 44 (12) EAP-Message = 0x040d0004 (12) Message-Authenticator = 0x00000000000000000000000000000000 Waking up in 0.5 seconds. (9) Cleaning up request packet ID 3 with timestamp +73 due to cleanup_delay was reached Waking up in 1.5 seconds. (10) Cleaning up request packet ID 4 with timestamp +75 due to cleanup_delay was reached Waking up in 0.2 seconds. (11) Cleaning up request packet ID 5 with timestamp +75 due to cleanup_delay was reached Waking up in 1.5 seconds. (12) Cleaning up request packet ID 6 with timestamp +77 due to cleanup_delay was reached Ready to process requests
From: Martin B. via Freeradius-Users <freeradius-users@lists.freeradius.org> Subject: EAP-TEAP not doing 2nd inner Method "(1) eap_teap: (TLS) EAP Got final fragment (156 bytes) (1) eap_teap: WARNING: (TLS) EAP Total received record fragments (156 bytes), does not equal expected expected data length (0 bytes) (1) eap_teap: (TLS) EAP Done initial handshake (1) eap_teap: (TLS) TEAP - Handshake state - before SSL initialization (1) eap_teap: (TLS) TEAP - Handshake state - Server before SSL initialization (1) eap_teap: (TLS) TEAP - Handshake state - Server before SSL initialization (1) eap_teap: (TLS) TEAP - recv TLS 1.3 Handshake, ClientHello" Client send TLS 1.3 handshake "(1) eap_teap: (TLS) TEAP - Handshake state - Server SSLv3/TLS read client hello (1) eap_teap: (TLS) TEAP - send TLS 1.2 Handshake, ServerHello" radius response with TLS 1.2 handshake (in radius config is set tls_max_ version = "1.2") I haven't seen the full debud dump, but it looks like windows supplicant is not responding to handshake with TLS version 1.2. A possible solution is to either set the Windows client to use only TLS 1.2 (registry settings [HKEY_ LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\ Protocols\TLS 1.3\Client]), or set ls_max_version = "1.3" in the radius configuration. But be careful here, as far as I know, Windows still does not support session resumption in TLS 1.3. Petr ""
On Dec 4, 2024, at 4:11 AM, Martin B. via Freeradius-Users <freeradius-users@lists.freeradius.org> wrote:
I have spent the last few days trying to get EAP-TEAP to work, but so far with only partial success.
That is unfortunately the reality of TEAP. It is horrifically complex, for reasons I don't really understand. I say this as the author of the updated RFC (soon to be published), which fixes and clarifies a lot of issues around TEAP.
The goal of this configuration was to verify both the user certificate and the machine certificate and only allow the device access to the network if both certificates could be successfully verified. At a later stage, I would like to be able to distinguish whether only the machine certificate or both certificates were successfully verified, and accordingly grant the device different access to the network.
That is what TEAP is supposed to do. The reality is somewhat more complex.
For my tests, I created a CA which then issued the required client and server certificates. On a Windows client, I installed a client certificate for both the user and the machine, as well as the CA. On the RADIUS server, I installed a server certificate and the CA certificate.
That's good.
When I configure EAP-TEAP on the Windows client with only one inner EAP method (EAP-TLS), the FreeRADIUS server sends an Access-Accept back (as expected). However, as soon as I add a second inner EAP method in the EAP-TEAP configuration on the laptop (regardless of whether it is EAP-TLS or MSCHAPv2), an Access-Reject is always returned, without the second inner EAP method even being attempted. To my untrained eye, it looks like the client is sending an error back to the server, but unfortunately, there is no information about what the reason might be.
Welcome to TEAP and Windows. Windows says "Stuff went wrong". OK... can you _tell_ me what went wrong? Windows then runs away and hides in a corner. <sigh>
I have tested this with Windows 11 and Windows 10 and tried both FreeRADIUS 3.2.4 and 3.2.6. All with the same result.
Is my FreeRADIUS configuration faulty, or is the behavior of the Windows client the problem here?
A bit of both.
... (11) Virtual server sending reply (11) MS-MPPE-Recv-Key = 0x68b33fa03c2a947717ab842050d1e6eb12eded7e0feb2dd0141e02b9ba42de62 (11) MS-MPPE-Send-Key = 0x2912104beaf44768c82898fee9792a14d76ecd2da4f8a9e8673462d4244bce4a (11) EAP-MSK = 0x68b33fa03c2a947717ab842050d1e6eb12eded7e0feb2dd0141e02b9ba42de622912104beaf44768c82898fee9792a14d76ecd2da4f8a9e8673462d4244bce4a (11) EAP-EMSK = 0x539ddd8a80123822102125690512d370f86ef93b1e4b8a258c02b92be19c3a04fd3dbd4c3bf034c244e02a117285a6576c837bf6304d59656052f9cbfb837c88 (11) EAP-Session-Id = 0x0d894df71571b44caa45ce419e7802bc2f64696a756113459d3036ed36abbf8be85e6cb1c6fd2673e4e50a26b49d6a3157a086a7f38d6f0d55e7e3ff8b8e4a1e03 (11) EAP-Message = 0x030c0004 (11) Message-Authenticator = 0x00000000000000000000000000000000 (11) User-Name = "martin-test-client-cert" (11) eap_teap: Got tunneled Access-Accept
That's good.
(12) eap_teap: Session established. Proceeding to decode tunneled attributes (12) eap_teap: EAP-TEAP TLV Status indicates failure. Rejecting request. (12) eap: ERROR: Failed continuing EAP TEAP (55) session. EAP sub-module failed
And the Windows session sends failure. I'll see if I can poke the error messages a little bit, but there isn't really any more information which can be added. So let's try some FreeRADIUS configuration magic. This is undocumented right now, because "TEAP", but here goes: * in the default virtual server, edit it to add some magic after the "eap" block in "authorize" ... eap { ok = return # updated = return } # # TEAP EAP sequence (chaining) - Machine (EAP-TLS) followed by User (EAP-MSCHAPv2) # # note this attribute is automatically deleted by FR's internals once auth is complete # if (&EAP-Type == TEAP && !(&session-state:FreeRADIUS-EAP-TEAP-Identity-Type)) { update session-state { &FreeRADIUS-EAP-TEAP-Identity-Type := Machine } } ... That tells FreeRADIUS to ask the other end for the Machine identity first. * in the inner-tunnel virtual server, update it to do more EAP sequence chaining in the "authorize" section: ... update control { &Proxy-To-Realm := LOCAL } # # TEAP EAP sequence (chaining) - Machine (EAP-TLS) followed by User (EAP-MSCHAPv2) # # you should comment out the standalone main 'eap' whilst uncommenting this one # if (&outer.request:EAP-Type == TEAP) { if (&outer.session-state:FreeRADIUS-EAP-TEAP-Identity-Type) { if (&FreeRADIUS-EAP-TEAP-Identity-Type && (&FreeRADIUS-EAP-TEAP-Identity-Type != &outer.session-state:FreeRADIUS-EAP-TEAP-Identity-Type)) { reject } } eap if (ok) { update config { &Auth-Type := TEAP } return } update config { &Auth-Type := TEAP } } else { eap { ok = return } } ... * and in the "authenticate" section of the inner-tunnel virtual server, add: ... # # TEAP EAP sequence (chaining) - Machine (EAP-TLS) followed by User (EAP-MSCHAPv2) # Auth-Type TEAP { if (&outer.session-state:FreeRADIUS-EAP-TEAP-Identity-Type == Machine) { update control { &EAP-Type := EAP-TLS } } elsif (&outer.session-state:FreeRADIUS-EAP-TEAP-Identity-Type == User) { update control { &EAP-Type := EAP-MSCHAPv2 } } # when chaining, the eap module will return 'ok' for each successfully completed eap type eap if (ok) { if (&outer.session-state:FreeRADIUS-EAP-TEAP-Identity-Type == Machine) { update outer.session-state { &FreeRADIUS-EAP-TEAP-Identity-Type := User } } elsif (&outer.session-state:FreeRADIUS-EAP-TEAP-Identity-Type == User) { # required so to inform the TEAP module we have finished update outer.session-state { &FreeRADIUS-EAP-TEAP-Identity-Type !* ANY } } } } ... This *should* work a bit better. TEAP does EAP sequence chaining through an overly complicated design. It's basically EAP-FAST with some tweaks. When TEAP was first being designed, I pushed to use TTLS as the basis instead. But TEAP had $$$$ behind it, and that was that. We're now left with something cobbled together which *might* work. Or might not. We don't know, and we don't know why. Oh, if FreeRADIUS asks for an identity type that Windows doesn't have, Windows doesn't send an error TLV back. It sends an empty EAP-Message in the inner tunnel. Because, why send helpful messages? The result is that the only way EAP method chaining works is if both supplicant and server are configured to do exactly the same thing. If the supplicant is configured to do Machine auth only, and the server wants to do method chaining, it won't work. And the errors you get will be completely useless for debugging. I really just suggest avoiding TEAP if at all possible. I don't see how the method chaining helps anything. Doing both Machine and User auth is pretty pointless when both credentials are cached on the same machine. It's not like the user is prompted for an OTP, or some other method which proves that the user was present. TEAP method change is just using *two* cached credentials instead of one. It offers no more security than using one cached credential. Alan DeKok.
On Dec 4, 2024, at 6:38 AM, Alan DeKok <aland@deployingradius.com> wrote:
So let's try some FreeRADIUS configuration magic. This is undocumented right now, because "TEAP", but here goes:
In the interest of *not* hating people who use TEAP, I've pushed some patches. They are "compile tested", but I haven't had time to do full TEAP tests. Please test and see if they work. The changes are to the TEAP configuration: https://github.com/FreeRADIUS/freeradius-server/blob/v3.2.x/raddb/mods-avail... Set identity_types = "machine,user" to do first machine, then user set # user_eap_type = mschapv2 # machine_eap_type = tls to set EAP types for each type of authentication. The server *should* automatically figure out what to do. As with most things, these settings can be over-ridden at run time by defining attributes. See the comments in the TEAP module for further documentation. Alan DeKok.
So let's try some FreeRADIUS configuration magic. This is undocumented right now, because "TEAP", but here goes:
I had to change this: * eap { ok = return # updated = return }* to this: * eap { # ok = return updated = return}* in the "authorize" section of my default server, because "eap" always returned "ok" which led to this: * if (&EAP-Type == TEAP && !(&session-state:FreeRADIUS-EAP-TEAP-Identity-Type)) { update session-state { &FreeRADIUS-EAP-TEAP-Identity-Type := Machine } }* never being executed. But after that, EAP-TEAP actually finally did work. Yay! In the interest of *not* hating people who use TEAP, I've pushed some
patches. They are "compile tested", but I haven't had time to do full TEAP tests.
Please test and see if they work.
- It looks like the server does not accept multiple values in "identity_types": /etc/freeradius-server-3.2.x/raddb/mods-enabled/eap[1145]: Invalid value in identity_types = 'machine,user' rlm_eap (EAP): Failed to initialise rlm_eap_teap /etc/freeradius-server-3.2.x/raddb/mods-enabled/eap[14]: Instantiation failed for module "eap" - even though the server will start when I only give "machine" or "user", it will ignore whatever is given there and do "machine,user" - when doing "machine,user", the server throws an error after the machine is authenticated (13) eap_teap: Crypto-Binding TLV version mis-match (possible downgrade attack!) (13) eap: ERROR: Failed continuing EAP TEAP (55) session. EAP sub-module failed This is the complete debug output FreeRADIUS Version 3.2.7 Copyright (C) 1999-2023 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/local/share/freeradius/dictionary including dictionary file /usr/local/share/freeradius/dictionary.dhcp including dictionary file /usr/local/share/freeradius/dictionary.vqp including dictionary file /etc/freeradius-server-3.2.x/raddb/dictionary including configuration file /etc/freeradius-server-3.2.x/raddb/radiusd.conf including configuration file /etc/freeradius-server-3.2.x/raddb/clients.conf including files in directory /etc/freeradius-server-3.2.x/raddb/mods-enabled/ including configuration file /etc/freeradius-server-3.2.x/raddb/mods-enabled/always including configuration file /etc/freeradius-server-3.2.x/raddb/mods-enabled/attr_filter including configuration file /etc/freeradius-server-3.2.x/raddb/mods-enabled/chap including configuration file /etc/freeradius-server-3.2.x/raddb/mods-enabled/date including configuration file /etc/freeradius-server-3.2.x/raddb/mods-enabled/detail including configuration file /etc/freeradius-server-3.2.x/raddb/mods-enabled/detail.log including configuration file /etc/freeradius-server-3.2.x/raddb/mods-enabled/digest including configuration file /etc/freeradius-server-3.2.x/raddb/mods-enabled/dynamic_clients including configuration file /etc/freeradius-server-3.2.x/raddb/mods-enabled/eap including configuration file /etc/freeradius-server-3.2.x/raddb/mods-enabled/echo including configuration file /etc/freeradius-server-3.2.x/raddb/mods-enabled/exec including configuration file /etc/freeradius-server-3.2.x/raddb/mods-enabled/expiration including configuration file /etc/freeradius-server-3.2.x/raddb/mods-enabled/expr including configuration file /etc/freeradius-server-3.2.x/raddb/mods-enabled/files including configuration file /etc/freeradius-server-3.2.x/raddb/mods-enabled/linelog including configuration file /etc/freeradius-server-3.2.x/raddb/mods-enabled/logintime including configuration file /etc/freeradius-server-3.2.x/raddb/mods-enabled/mschap including configuration file /etc/freeradius-server-3.2.x/raddb/mods-enabled/ntlm_auth including configuration file /etc/freeradius-server-3.2.x/raddb/mods-enabled/pap including configuration file /etc/freeradius-server-3.2.x/raddb/mods-enabled/passwd including configuration file /etc/freeradius-server-3.2.x/raddb/mods-enabled/preprocess including configuration file /etc/freeradius-server-3.2.x/raddb/mods-enabled/radutmp including configuration file /etc/freeradius-server-3.2.x/raddb/mods-enabled/realm including configuration file /etc/freeradius-server-3.2.x/raddb/mods-enabled/replicate including configuration file /etc/freeradius-server-3.2.x/raddb/mods-enabled/soh including configuration file /etc/freeradius-server-3.2.x/raddb/mods-enabled/sradutmp including configuration file /etc/freeradius-server-3.2.x/raddb/mods-enabled/totp including configuration file /etc/freeradius-server-3.2.x/raddb/mods-enabled/unix including configuration file /etc/freeradius-server-3.2.x/raddb/mods-enabled/unpack including configuration file /etc/freeradius-server-3.2.x/raddb/mods-enabled/utf8 including files in directory /etc/freeradius-server-3.2.x/raddb/policy.d/ including configuration file /etc/freeradius-server-3.2.x/raddb/policy.d/abfab-tr including configuration file /etc/freeradius-server-3.2.x/raddb/policy.d/accounting including configuration file /etc/freeradius-server-3.2.x/raddb/policy.d/canonicalization including configuration file /etc/freeradius-server-3.2.x/raddb/policy.d/control including configuration file /etc/freeradius-server-3.2.x/raddb/policy.d/cui including configuration file /etc/freeradius-server-3.2.x/raddb/policy.d/debug including configuration file /etc/freeradius-server-3.2.x/raddb/policy.d/dhcp including configuration file /etc/freeradius-server-3.2.x/raddb/policy.d/eap including configuration file /etc/freeradius-server-3.2.x/raddb/policy.d/filter including configuration file /etc/freeradius-server-3.2.x/raddb/policy.d/moonshot-targeted-ids including configuration file /etc/freeradius-server-3.2.x/raddb/policy.d/operator-name including configuration file /etc/freeradius-server-3.2.x/raddb/policy.d/rfc7542 including files in directory /etc/freeradius-server-3.2.x/raddb/sites-enabled/ including configuration file /etc/freeradius-server-3.2.x/raddb/sites-enabled/default including configuration file /etc/freeradius-server-3.2.x/raddb/sites-enabled/inner-tunnel main { security { allow_core_dumps = no } name = "radiusd" prefix = "/usr/local" localstatedir = "/usr/local/var" logdir = "/usr/local/var/log/radius" run_dir = "/usr/local/var/run/radiusd" } main { name = "radiusd" prefix = "/usr/local" localstatedir = "/usr/local/var" sbindir = "/usr/local/sbin" logdir = "/usr/local/var/log/radius" run_dir = "/usr/local/var/run/radiusd" libdir = "/usr/local/lib" radacctdir = "/usr/local/var/log/radius/radacct" hostname_lookups = no max_request_time = 30 proxy_dedup_window = 1 cleanup_delay = 5 max_requests = 16384 max_fds = 512 postauth_client_lost = no pidfile = "/usr/local/var/run/radiusd/radiusd.pid" checkrad = "/usr/local/sbin/checkrad" debug_level = 0 proxy_requests = yes log { stripped_names = no auth = no auth_badpass = no auth_goodpass = no colourise = yes msg_denied = "You are already logged in - access denied" } resources { } security { max_attributes = 200 reject_delay = 1.000000 status_server = yes require_message_authenticator = "auto" limit_proxy_state = "auto" allow_vulnerable_openssl = "no" } } radiusd: #### Loading Realms and Home Servers #### radiusd: #### Loading Clients #### client localhost { ipaddr = 127.0.0.1 secret = <<< secret >>> nas_type = "other" proto = "*" limit { max_connections = 16 lifetime = 0 idle_timeout = 900 } } Shared secret for client localhost is short, and likely can be broken by an attacker. client 0.0.0.0/0 { ipaddr = 0.0.0.0/0 secret = <<< secret >>> proto = "*" limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } Shared secret for client 0.0.0.0/0 is short, and likely can be broken by an attacker. Debugger not attached Configuration version: d680-7b25-19cb-e520 # 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 # Creating Autz-Type = New-TLS-Connection radiusd: #### Instantiating modules #### modules { # Loaded module rlm_always # Loading module "reject" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/always always reject { rcode = "reject" simulcount = 0 mpp = no } # Loading module "fail" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/always always fail { rcode = "fail" simulcount = 0 mpp = no } # Loading module "ok" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/always always ok { rcode = "ok" simulcount = 0 mpp = no } # Loading module "handled" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/always always handled { rcode = "handled" simulcount = 0 mpp = no } # Loading module "invalid" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/always always invalid { rcode = "invalid" simulcount = 0 mpp = no } # Loading module "userlock" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/always always userlock { rcode = "userlock" simulcount = 0 mpp = no } # Loading module "notfound" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/always always notfound { rcode = "notfound" simulcount = 0 mpp = no } # Loading module "noop" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/always always noop { rcode = "noop" simulcount = 0 mpp = no } # Loading module "updated" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/always always updated { rcode = "updated" simulcount = 0 mpp = no } # Loaded module rlm_attr_filter # Loading module "attr_filter.post-proxy" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/attr_filter attr_filter attr_filter.post-proxy { filename = "/etc/freeradius-server-3.2.x/raddb/mods-config/attr_filter/post-proxy" key = "%{Realm}" relaxed = no } # Loading module "attr_filter.pre-proxy" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/attr_filter attr_filter attr_filter.pre-proxy { filename = "/etc/freeradius-server-3.2.x/raddb/mods-config/attr_filter/pre-proxy" key = "%{Realm}" relaxed = no } # Loading module "attr_filter.access_reject" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/attr_filter attr_filter attr_filter.access_reject { filename = "/etc/freeradius-server-3.2.x/raddb/mods-config/attr_filter/access_reject" key = "%{User-Name}" relaxed = no } # Loading module "attr_filter.access_challenge" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/attr_filter attr_filter attr_filter.access_challenge { filename = "/etc/freeradius-server-3.2.x/raddb/mods-config/attr_filter/access_challenge" key = "%{User-Name}" relaxed = no } # Loading module "attr_filter.accounting_response" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/attr_filter attr_filter attr_filter.accounting_response { filename = "/etc/freeradius-server-3.2.x/raddb/mods-config/attr_filter/accounting_response" key = "%{User-Name}" relaxed = no } # Loading module "attr_filter.coa" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/attr_filter attr_filter attr_filter.coa { filename = "/etc/freeradius-server-3.2.x/raddb/mods-config/attr_filter/coa" key = "%{User-Name}" relaxed = no } # Loaded module rlm_chap # Loading module "chap" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/chap # Loaded module rlm_date # Loading module "date" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/date date { format = "%b %e %Y %H:%M:%S %Z" utc = no } # Loading module "wispr2date" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/date date wispr2date { format = "%Y-%m-%dT%H:%M:%S" utc = no } # Loaded module rlm_detail # Loading module "detail" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/detail detail { filename = "/usr/local/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d" header = "%t" permissions = 384 locking = no dates_as_integer = no escape_filenames = no log_packet_header = no } # Loading module "auth_log" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/detail.log detail auth_log { filename = "/usr/local/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d" header = "%t" permissions = 384 locking = no dates_as_integer = no escape_filenames = no log_packet_header = no } # Loading module "reply_log" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/detail.log detail reply_log { filename = "/usr/local/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/reply-detail-%Y%m%d" header = "%t" permissions = 384 locking = no dates_as_integer = no escape_filenames = no log_packet_header = no } # Loading module "pre_proxy_log" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/detail.log detail pre_proxy_log { filename = "/usr/local/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/pre-proxy-detail-%Y%m%d" header = "%t" permissions = 384 locking = no dates_as_integer = no escape_filenames = no log_packet_header = no } # Loading module "post_proxy_log" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/detail.log detail post_proxy_log { filename = "/usr/local/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/post-proxy-detail-%Y%m%d" header = "%t" permissions = 384 locking = no dates_as_integer = no escape_filenames = no log_packet_header = no } # Loaded module rlm_digest # Loading module "digest" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/digest # Loaded module rlm_dynamic_clients # Loading module "dynamic_clients" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/dynamic_clients # Loaded module rlm_eap # Loading module "eap" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/eap eap { default_eap_type = "teap" timer_expire = 60 max_eap_type = 52 ignore_unknown_eap_types = no cisco_accounting_username_bug = no max_sessions = 16384 dedup_key = "" } # Loaded module rlm_exec # Loading module "echo" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/echo exec echo { wait = yes program = "/bin/echo %{User-Name}" input_pairs = "request" output_pairs = "reply" shell_escape = yes } # Loading module "exec" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/exec exec { wait = no input_pairs = "request" shell_escape = yes timeout = 10 } # Loaded module rlm_expiration # Loading module "expiration" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/expiration # Loaded module rlm_expr # Loading module "expr" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/expr expr { safe_characters = "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /äéöüàâæçèéêëîïôœùûüaÿÄÉÖÜßÀÂÆÇÈÉÊËÎÏÔŒÙÛÜŸ" } # Loaded module rlm_files # Loading module "files" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/files files { filename = "/etc/freeradius-server-3.2.x/raddb/mods-config/files/authorize" acctusersfile = "/etc/freeradius-server-3.2.x/raddb/mods-config/files/accounting" preproxy_usersfile = "/etc/freeradius-server-3.2.x/raddb/mods-config/files/pre-proxy" } # Loaded module rlm_linelog # Loading module "linelog" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/linelog linelog { filename = "/usr/local/var/log/radius/linelog" escape_filenames = no syslog_severity = "info" permissions = 384 format = "This is a log message for %{User-Name}" reference = "messages.%{%{reply:Packet-Type}:-default}" } # Loading module "log_accounting" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/linelog linelog log_accounting { filename = "/usr/local/var/log/radius/linelog-accounting" escape_filenames = no syslog_severity = "info" permissions = 384 format = "" reference = "Accounting-Request.%{%{Acct-Status-Type}:-unknown}" } # Loaded module rlm_logintime # Loading module "logintime" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/logintime logintime { minimum_timeout = 60 } # Loaded module rlm_mschap # Loading module "mschap" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/mschap mschap { use_mppe = yes require_encryption = no require_strong = no with_ntdomain_hack = yes passchange { } allow_retry = yes winbind_retry_with_normalised_username = no } # Loading module "ntlm_auth" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/ntlm_auth exec ntlm_auth { wait = yes program = "/path/to/ntlm_auth --request-nt-key --domain=MYDOMAIN --username=%{mschap:User-Name} --password=%{User-Password}" shell_escape = yes } # Loaded module rlm_pap # Loading module "pap" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/pap pap { normalise = yes } # Loaded module rlm_passwd # Loading module "etc_passwd" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/passwd passwd etc_passwd { filename = "/etc/passwd" format = "*User-Name:Crypt-Password:" delimiter = ":" ignore_nislike = no ignore_empty = yes allow_multiple_keys = no hash_size = 100 } # Loaded module rlm_preprocess # Loading module "preprocess" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/preprocess preprocess { huntgroups = "/etc/freeradius-server-3.2.x/raddb/mods-config/preprocess/huntgroups" hints = "/etc/freeradius-server-3.2.x/raddb/mods-config/preprocess/hints" with_ascend_hack = no ascend_channels_per_line = 23 with_ntdomain_hack = no with_specialix_jetstream_hack = no with_cisco_vsa_hack = no with_alvarion_vsa_hack = no } # Loaded module rlm_radutmp # Loading module "radutmp" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/radutmp radutmp { filename = "/usr/local/var/log/radius/radutmp" username = "%{User-Name}" case_sensitive = yes check_with_nas = yes permissions = 384 caller_id = yes } # Loaded module rlm_realm # Loading module "IPASS" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/realm realm IPASS { format = "prefix" delimiter = "/" ignore_default = no ignore_null = no } # Loading module "suffix" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/realm realm suffix { format = "suffix" delimiter = "@" ignore_default = no ignore_null = no } # Loading module "bangpath" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/realm realm bangpath { format = "prefix" delimiter = "!" ignore_default = no ignore_null = no } # Loading module "realmpercent" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/realm realm realmpercent { format = "suffix" delimiter = "%" ignore_default = no ignore_null = no } # Loading module "ntdomain" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/realm realm ntdomain { format = "prefix" delimiter = "\" ignore_default = no ignore_null = no } # Loaded module rlm_replicate # Loading module "replicate" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/replicate # Loaded module rlm_soh # Loading module "soh" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/soh soh { dhcp = yes } # Loading module "sradutmp" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/sradutmp radutmp sradutmp { filename = "/usr/local/var/log/radius/sradutmp" username = "%{User-Name}" case_sensitive = yes check_with_nas = yes permissions = 420 caller_id = no } # Loaded module rlm_totp # Loading module "totp" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/totp totp { time_step = 30 otp_length = 6 lookback_steps = 1 lookback_interval = 30 lookforward_steps = 0 } # Loaded module rlm_unix # Loading module "unix" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/unix unix { radwtmp = "/usr/local/var/log/radius/radwtmp" } Creating attribute Unix-Group # Loaded module rlm_unpack # Loading module "unpack" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/unpack # Loaded module rlm_utf8 # Loading module "utf8" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/utf8 instantiate { } # Instantiating module "reject" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/always # Instantiating module "fail" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/always # Instantiating module "ok" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/always # Instantiating module "handled" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/always # Instantiating module "invalid" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/always # Instantiating module "userlock" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/always # Instantiating module "notfound" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/always # Instantiating module "noop" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/always # Instantiating module "updated" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/always # Instantiating module "attr_filter.post-proxy" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/attr_filter reading pairlist file /etc/freeradius-server-3.2.x/raddb/mods-config/attr_filter/post-proxy # Instantiating module "attr_filter.pre-proxy" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/attr_filter reading pairlist file /etc/freeradius-server-3.2.x/raddb/mods-config/attr_filter/pre-proxy # Instantiating module "attr_filter.access_reject" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/attr_filter reading pairlist file /etc/freeradius-server-3.2.x/raddb/mods-config/attr_filter/access_reject # Instantiating module "attr_filter.access_challenge" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/attr_filter reading pairlist file /etc/freeradius-server-3.2.x/raddb/mods-config/attr_filter/access_challenge # Instantiating module "attr_filter.accounting_response" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/attr_filter reading pairlist file /etc/freeradius-server-3.2.x/raddb/mods-config/attr_filter/accounting_response # Instantiating module "attr_filter.coa" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/attr_filter reading pairlist file /etc/freeradius-server-3.2.x/raddb/mods-config/attr_filter/coa # Instantiating module "detail" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/detail # Instantiating module "auth_log" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/detail.log rlm_detail (auth_log): 'User-Password' suppressed, will not appear in detail output # Instantiating module "reply_log" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/detail.log # Instantiating module "pre_proxy_log" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/detail.log # Instantiating module "post_proxy_log" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/detail.log # Instantiating module "eap" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/eap # Linked to sub-module rlm_eap_md5 # 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-server-3.2.x/raddb/certs/teap" pem_file_type = yes private_key_file = "/etc/freeradius-server-3.2.x/raddb/certs/teap/server.pem" certificate_file = "/etc/freeradius-server-3.2.x/raddb/certs/teap/server.pem" ca_file = "/etc/freeradius-server-3.2.x/raddb/certs/teap/ca.pem" private_key_password = <<< secret >>> fragment_size = 1024 include_length = yes auto_chain = yes check_crl = no check_all_crl = no ca_path_reload_interval = 0 cipher_list = "DEFAULT" cipher_server_preference = no reject_unknown_intermediate_ca = no ecdh_curve = "" tls_max_version = "1.2" tls_min_version = "1.2" cache { enable = no lifetime = 24 max_entries = 255 } verify { skip_if_ocsp_ok = no } ocsp { enable = no override_cert_url = yes url = "http://127.0.0.1/ocsp/" use_nonce = yes timeout = 0 softfail = no } } # Linked to sub-module rlm_eap_ttls ttls { tls = "tls-common" default_eap_type = "md5" copy_request_to_tunnel = no use_tunneled_reply = no virtual_server = "inner-tunnel" include_length = yes require_client_cert = no } tls: Using cached TLS configuration from previous invocation # Linked to sub-module rlm_eap_peap peap { tls = "tls-common" default_eap_type = "mschapv2" copy_request_to_tunnel = no use_tunneled_reply = no proxy_tunneled_request_as_eap = yes virtual_server = "inner-tunnel" soh = no require_client_cert = no } tls: Using cached TLS configuration from previous invocation # Linked to sub-module rlm_eap_mschapv2 mschapv2 { with_ntdomain_hack = no send_error = no } # Linked to sub-module rlm_eap_teap teap { tls = "tls-common" default_eap_type = "md5" copy_request_to_tunnel = no use_tunneled_reply = no require_client_cert = no authority_identity = "1234" virtual_server = "inner-tunnel" identity_types = "user" user_eap_type = "tls" machine_eap_type = "tls" } tls: Using cached TLS configuration from previous invocation # Instantiating module "expiration" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/expiration # Instantiating module "files" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/files reading pairlist file /etc/freeradius-server-3.2.x/raddb/mods-config/files/authorize reading pairlist file /etc/freeradius-server-3.2.x/raddb/mods-config/files/accounting reading pairlist file /etc/freeradius-server-3.2.x/raddb/mods-config/files/pre-proxy # Instantiating module "linelog" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/linelog # Instantiating module "log_accounting" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/linelog # Instantiating module "logintime" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/logintime # Instantiating module "mschap" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/mschap rlm_mschap (mschap): using internal authentication # Instantiating module "pap" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/pap # Instantiating module "etc_passwd" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/passwd rlm_passwd: nfields: 3 keyfield 0(User-Name) listable: no # Instantiating module "preprocess" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/preprocess reading pairlist file /etc/freeradius-server-3.2.x/raddb/mods-config/preprocess/huntgroups reading pairlist file /etc/freeradius-server-3.2.x/raddb/mods-config/preprocess/hints # Instantiating module "IPASS" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/realm # Instantiating module "suffix" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/realm # Instantiating module "bangpath" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/realm # Instantiating module "realmpercent" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/realm # Instantiating module "ntdomain" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/realm # Instantiating module "totp" from file /etc/freeradius-server-3.2.x/raddb/mods-enabled/totp } # modules radiusd: #### Loading Virtual Servers #### server { # from file /etc/freeradius-server-3.2.x/raddb/radiusd.conf } # server server default { # from file /etc/freeradius-server-3.2.x/raddb/sites-enabled/default # Loading authenticate {...} Compiling Auth-Type PAP for attr Auth-Type Compiling Auth-Type CHAP for attr Auth-Type Compiling Auth-Type MS-CHAP for attr Auth-Type # Loading authorize {...} Ignoring "sql" (see raddb/mods-available/README.rst) Ignoring "ldap" (see raddb/mods-available/README.rst) Compiling Autz-Type New-TLS-Connection for attr Autz-Type # Loading preacct {...} # Loading accounting {...} # Loading post-proxy {...} # Loading post-auth {...} Compiling Post-Auth-Type REJECT for attr Post-Auth-Type Compiling Post-Auth-Type Challenge for attr Post-Auth-Type Compiling Post-Auth-Type Client-Lost for attr Post-Auth-Type } # server default server inner-tunnel { # from file /etc/freeradius-server-3.2.x/raddb/sites-enabled/inner-tunnel # Loading authenticate {...} Compiling Auth-Type PAP for attr Auth-Type Compiling Auth-Type CHAP for attr Auth-Type Compiling Auth-Type MS-CHAP for attr Auth-Type # Loading authorize {...} # Loading session {...} # Loading post-proxy {...} # Loading post-auth {...} # Skipping contents of 'if' as it is always 'false' -- /etc/freeradius-server-3.2.x/raddb/sites-enabled/inner-tunnel:366 Compiling Post-Auth-Type REJECT for attr Post-Auth-Type } # server inner-tunnel radiusd: #### Opening IP addresses and Ports #### listen { type = "auth" ipaddr = * port = 1645 limit { max_connections = 16 lifetime = 0 idle_timeout = 900 } } listen { type = "auth" ipaddr = 127.0.0.1 port = 18120 } Listening on auth address * port 1645 bound to server default Listening on auth address 127.0.0.1 port 18120 bound to server inner-tunnel Ready to process requests (0) Received Access-Request Id 200 from 10.78.1.215:1645 to 10.78.5.223:1645 length 254 (0) User-Name = "anonymous" (0) Service-Type = Framed-User (0) Cisco-AVPair = "service-type=Framed" (0) Framed-MTU = 1500 (0) Called-Station-Id = "00-3C-10-AB-A2-8A" (0) Calling-Station-Id = "C8-F7-50-08-DD-9F" (0) EAP-Message = 0x0201000e01616e6f6e796d6f7573 (0) Message-Authenticator = 0x3d043f05663546bfb9c5d41139747226 (0) Cisco-AVPair = "audit-session-id=0A4E01D7000007122D1A1862" (0) Cisco-AVPair = "method=dot1x" (0) NAS-IP-Address = 10.78.1.215 (0) NAS-Port-Id = "GigabitEthernet1/0/10" (0) NAS-Port-Type = Ethernet (0) NAS-Port = 50110 (0) # Executing section authorize from file /etc/freeradius-server-3.2.x/raddb/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 = "anonymous", looking up realm NULL (0) suffix: No such realm "NULL" (0) [suffix] = noop (0) eap: Peer sent EAP Response (code 2) ID 1 length 14 (0) eap: EAP-Identity reply, returning 'ok' so we can short-circuit the rest of authorize (0) [eap] = ok (0) } # authorize = ok (0) Found Auth-Type = eap (0) # Executing group from file /etc/freeradius-server-3.2.x/raddb/sites-enabled/default (0) authenticate { (0) eap: Peer sent packet with method EAP Identity (1) (0) eap: Calling submodule eap_teap to process data (0) eap_teap: (TLS) TEAP -Initiating new session (0) eap_teap: Setting &session-state:FreeRADIUS-EAP-TEAP-Identity-Type = Machine (0) eap: Sending EAP Request (code 1) ID 2 length 18 (0) eap: EAP session adding &reply:State = 0xb96c70f8b96e47a8 (0) [eap] = handled (0) } # authenticate = handled (0) Using Post-Auth-Type Challenge (0) # Executing group from file /etc/freeradius-server-3.2.x/raddb/sites-enabled/default (0) Challenge { ... } # empty sub-section is ignored (0) session-state: Saving cached attributes (0) Framed-MTU = 984 (0) FreeRADIUS-EAP-TEAP-Identity-Type := Machine (0) Sent Access-Challenge Id 200 from 10.78.5.223:1645 to 10.78.1.215:1645 length 76 (0) EAP-Message = 0x010200123731000000080001000431323334 (0) Message-Authenticator = 0x00000000000000000000000000000000 (0) State = 0xb96c70f8b96e47a877ea72b373cfca2f (0) Finished request Waking up in 4.9 seconds. (1) Received Access-Request Id 201 from 10.78.1.215:1645 to 10.78.5.223:1645 length 420 (1) User-Name = "anonymous" (1) Service-Type = Framed-User (1) Cisco-AVPair = "service-type=Framed" (1) Framed-MTU = 1500 (1) Called-Station-Id = "00-3C-10-AB-A2-8A" (1) Calling-Station-Id = "C8-F7-50-08-DD-9F" (1) EAP-Message = 0x020200a23701160303009701000093030367517c7a14418682f30638db638db27d30e1d23d7340d1b30cf9dbdef2638544000024c02cc02bc030c02fc024c023c028c027c00ac009c014c013009d009c003d003c0035002f01000046000500050100000000000a00080006001d00170018000b00020100000d001a00180804080508060401050102010403050302030202060106030023000000170000ff01000100 (1) Message-Authenticator = 0x158f47c123f97e1bfc7ceb705faa27ae (1) Cisco-AVPair = "audit-session-id=0A4E01D7000007122D1A1862" (1) Cisco-AVPair = "method=dot1x" (1) NAS-IP-Address = 10.78.1.215 (1) NAS-Port-Id = "GigabitEthernet1/0/10" (1) NAS-Port-Type = Ethernet (1) NAS-Port = 50110 (1) State = 0xb96c70f8b96e47a877ea72b373cfca2f (1) Restoring &session-state (1) &session-state:Framed-MTU = 984 (1) &session-state:FreeRADIUS-EAP-TEAP-Identity-Type := Machine (1) # Executing section authorize from file /etc/freeradius-server-3.2.x/raddb/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 = "anonymous", looking up realm NULL (1) suffix: No such realm "NULL" (1) [suffix] = noop (1) eap: Peer sent EAP Response (code 2) ID 2 length 162 (1) eap: Continuing tunnel setup (1) [eap] = ok (1) } # authorize = ok (1) Found Auth-Type = eap (1) # Executing group from file /etc/freeradius-server-3.2.x/raddb/sites-enabled/default (1) authenticate { (1) eap: Removing EAP session with state 0xb96c70f8b96e47a8 (1) eap: Previous EAP request found for state 0xb96c70f8b96e47a8, released from the list (1) eap: Peer sent packet with method EAP TEAP (55) (1) eap: Calling submodule eap_teap to process data (1) eap_teap: Authenticate (1) eap_teap: (TLS) EAP Got final fragment (156 bytes) (1) eap_teap: WARNING: (TLS) EAP Total received record fragments (156 bytes), does not equal expected expected data length (0 bytes) (1) eap_teap: (TLS) EAP Done initial handshake (1) eap_teap: (TLS) TEAP - Handshake state - before SSL initialization (1) eap_teap: (TLS) TEAP - Handshake state - Server before SSL initialization (1) eap_teap: (TLS) TEAP - Handshake state - Server before SSL initialization (1) eap_teap: (TLS) TEAP - recv TLS 1.3 Handshake, ClientHello (1) eap_teap: (TLS) TEAP - Handshake state - Server SSLv3/TLS read client hello (1) eap_teap: (TLS) TEAP - send TLS 1.2 Handshake, ServerHello (1) eap_teap: (TLS) TEAP - Handshake state - Server SSLv3/TLS write server hello (1) eap_teap: (TLS) TEAP - send TLS 1.2 Handshake, Certificate (1) eap_teap: (TLS) TEAP - Handshake state - Server SSLv3/TLS write certificate (1) eap_teap: (TLS) TEAP - send TLS 1.2 Handshake, ServerKeyExchange (1) eap_teap: (TLS) TEAP - Handshake state - Server SSLv3/TLS write key exchange (1) eap_teap: (TLS) TEAP - send TLS 1.2 Handshake, ServerHelloDone (1) eap_teap: (TLS) TEAP - Handshake state - Server SSLv3/TLS write server done (1) eap_teap: (TLS) TEAP - Server : Need to read more data: SSLv3/TLS write server done (1) eap_teap: (TLS) TEAP - In Handshake Phase (1) eap: Sending EAP Request (code 1) ID 3 length 994 (1) eap: EAP session adding &reply:State = 0xb96c70f8b86f47a8 (1) [eap] = handled (1) } # authenticate = handled (1) Using Post-Auth-Type Challenge (1) # Executing group from file /etc/freeradius-server-3.2.x/raddb/sites-enabled/default (1) Challenge { ... } # empty sub-section is ignored (1) session-state: Saving cached attributes (1) Framed-MTU = 984 (1) FreeRADIUS-EAP-TEAP-Identity-Type := Machine (1) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3 Handshake, ClientHello" (1) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHello" (1) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Certificate" (1) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerKeyExchange" (1) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHelloDone" (1) Sent Access-Challenge Id 201 from 10.78.5.223:1645 to 10.78.1.215:1645 length 1058 (1) EAP-Message = 0x010303e237c100000975160303003d020000390303a42081065031acbcf752391a77205dde63c65dae2c89779b395e9742d297517900c030000011ff01000100000b0004030001020017000016030307f40b0007f00007ed0003ac308203a830820290a003020102020105300d06092a864886f70d01010b05003068310b3009060355040613024445310f300d06035504070c06426f6368756d312f302d060355040a0c2649534c20496e7465726e65742053696368657268656974736c6f6573756e67656e20476d62483117301506035504030c0e6d617274696e2d746573742d6361301e170d3234313230323135333931365a170d3334313133303135333931365a307c310b3009060355040613024445310f300d06035504070c06426f6368756d312f302d060355040a0c2649534c20496e7465726e65742053696368657268656974736c6f6573756e67656e20476d6248312b302906035504030c226d617274696e2d746573742d7261646975732d73657276 (1) Message-Authenticator = 0x00000000000000000000000000000000 (1) State = 0xb96c70f8b86f47a877ea72b373cfca2f (1) Finished request Waking up in 4.9 seconds. (2) Received Access-Request Id 202 from 10.78.1.215:1645 to 10.78.5.223:1645 length 264 (2) User-Name = "anonymous" (2) Service-Type = Framed-User (2) Cisco-AVPair = "service-type=Framed" (2) Framed-MTU = 1500 (2) Called-Station-Id = "00-3C-10-AB-A2-8A" (2) Calling-Station-Id = "C8-F7-50-08-DD-9F" (2) EAP-Message = 0x020300063701 (2) Message-Authenticator = 0x0c417da4d1098da92db07a6fd79032d9 (2) Cisco-AVPair = "audit-session-id=0A4E01D7000007122D1A1862" (2) Cisco-AVPair = "method=dot1x" (2) NAS-IP-Address = 10.78.1.215 (2) NAS-Port-Id = "GigabitEthernet1/0/10" (2) NAS-Port-Type = Ethernet (2) NAS-Port = 50110 (2) State = 0xb96c70f8b86f47a877ea72b373cfca2f (2) Restoring &session-state (2) &session-state:Framed-MTU = 984 (2) &session-state:FreeRADIUS-EAP-TEAP-Identity-Type := Machine (2) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3 Handshake, ClientHello" (2) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHello" (2) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Certificate" (2) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerKeyExchange" (2) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHelloDone" (2) # Executing section authorize from file /etc/freeradius-server-3.2.x/raddb/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 = "anonymous", 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-server-3.2.x/raddb/sites-enabled/default (2) authenticate { (2) eap: Removing EAP session with state 0xb96c70f8b86f47a8 (2) eap: Previous EAP request found for state 0xb96c70f8b86f47a8, released from the list (2) eap: Peer sent packet with method EAP TEAP (55) (2) eap: Calling submodule eap_teap to process data (2) eap_teap: Authenticate (2) eap_teap: (TLS) Peer ACKed our handshake fragment (2) eap: Sending EAP Request (code 1) ID 4 length 990 (2) eap: EAP session adding &reply:State = 0xb96c70f8bb6847a8 (2) [eap] = handled (2) } # authenticate = handled (2) Using Post-Auth-Type Challenge (2) # Executing group from file /etc/freeradius-server-3.2.x/raddb/sites-enabled/default (2) Challenge { ... } # empty sub-section is ignored (2) session-state: Saving cached attributes (2) Framed-MTU = 984 (2) FreeRADIUS-EAP-TEAP-Identity-Type := Machine (2) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3 Handshake, ClientHello" (2) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHello" (2) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Certificate" (2) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerKeyExchange" (2) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHelloDone" (2) Sent Access-Challenge Id 202 from 10.78.5.223:1645 to 10.78.1.215:1645 length 1054 (2) EAP-Message = 0x010403de3741394b7024725e8f9514edfd4ea11b2bbd6fff95bcba6081b3679fa0b5d58c8d0351edf51bfd00043b308204373082031fa00302010202146837d2898be29a5a56edbd7008ad02b855b72ecc300d06092a864886f70d01010b05003068310b3009060355040613024445310f300d06035504070c06426f6368756d312f302d060355040a0c2649534c20496e7465726e65742053696368657268656974736c6f6573756e67656e20476d62483117301506035504030c0e6d617274696e2d746573742d6361301e170d3234313132313133303935315a170d3334313131393133303935315a3068310b3009060355040613024445310f300d06035504070c06426f6368756d312f302d060355040a0c2649534c20496e7465726e65742053696368657268656974736c6f6573756e67656e20476d62483117301506035504030c0e6d617274696e2d746573742d636130820122300d06092a864886f70d01010105000382010f003082010a0282010100d439 (2) Message-Authenticator = 0x00000000000000000000000000000000 (2) State = 0xb96c70f8bb6847a877ea72b373cfca2f (2) Finished request Waking up in 4.9 seconds. (3) Received Access-Request Id 203 from 10.78.1.215:1645 to 10.78.5.223:1645 length 264 (3) User-Name = "anonymous" (3) Service-Type = Framed-User (3) Cisco-AVPair = "service-type=Framed" (3) Framed-MTU = 1500 (3) Called-Station-Id = "00-3C-10-AB-A2-8A" (3) Calling-Station-Id = "C8-F7-50-08-DD-9F" (3) EAP-Message = 0x020400063701 (3) Message-Authenticator = 0x6f7309fe68b3131dddbfe024c577a46c (3) Cisco-AVPair = "audit-session-id=0A4E01D7000007122D1A1862" (3) Cisco-AVPair = "method=dot1x" (3) NAS-IP-Address = 10.78.1.215 (3) NAS-Port-Id = "GigabitEthernet1/0/10" (3) NAS-Port-Type = Ethernet (3) NAS-Port = 50110 (3) State = 0xb96c70f8bb6847a877ea72b373cfca2f (3) Restoring &session-state (3) &session-state:Framed-MTU = 984 (3) &session-state:FreeRADIUS-EAP-TEAP-Identity-Type := Machine (3) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3 Handshake, ClientHello" (3) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHello" (3) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Certificate" (3) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerKeyExchange" (3) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHelloDone" (3) # Executing section authorize from file /etc/freeradius-server-3.2.x/raddb/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 = "anonymous", 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-server-3.2.x/raddb/sites-enabled/default (3) authenticate { (3) eap: Removing EAP session with state 0xb96c70f8bb6847a8 (3) eap: Previous EAP request found for state 0xb96c70f8bb6847a8, released from the list (3) eap: Peer sent packet with method EAP TEAP (55) (3) eap: Calling submodule eap_teap to process data (3) eap_teap: Authenticate (3) eap_teap: (TLS) Peer ACKed our handshake fragment (3) eap: Sending EAP Request (code 1) ID 5 length 459 (3) eap: EAP session adding &reply:State = 0xb96c70f8ba6947a8 (3) [eap] = handled (3) } # authenticate = handled (3) Using Post-Auth-Type Challenge (3) # Executing group from file /etc/freeradius-server-3.2.x/raddb/sites-enabled/default (3) Challenge { ... } # empty sub-section is ignored (3) session-state: Saving cached attributes (3) Framed-MTU = 984 (3) FreeRADIUS-EAP-TEAP-Identity-Type := Machine (3) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3 Handshake, ClientHello" (3) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHello" (3) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Certificate" (3) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerKeyExchange" (3) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHelloDone" (3) Sent Access-Challenge Id 203 from 10.78.5.223:1645 to 10.78.1.215:1645 length 519 (3) EAP-Message = 0x010501cb37012355bf3fef88cc0908228a0b37560dd68abfba7b8e1b8bd76223b49cf84a80d90025c3ae17296c51dd9630a0f8af67b987416ee02f0ed7615ece56169a552aed5426af82497468570c9bc062edccfbac033364c1d6b55075552fe9c6f7fcb955415423fef9ba221ec3cda5939a6965aa3e49dcfda0c1a0b4712ba554c245396805304b4c14d252d9f84575160303012c0c00012803001d208ca09078403fd45b9f490a92c696fde518e2eefc5f8e2a79e8064b2744b8814e080401001e4c32afdf473be1e36ba981183368021a7c90a9ea278503140bc46d99572eb9edb31a7554ac0e5f6946eec4d9caae5dc8c10e5d2aae5fca688806f5deeae6550c567aca49d564356b32872768b4c0992cc318ac9c7f95924ebb876ec0dd8c93b029c16534daf5a9173ee5588652a5d46c62d7d1816320076f4bd55224521197173acda911fa2ce666289ab1aaffd8eac20837182b952c39897f0ae66aeef7a7935b67fe20934f46cda31494aa9de82e3dfdc1162b (3) Message-Authenticator = 0x00000000000000000000000000000000 (3) State = 0xb96c70f8ba6947a877ea72b373cfca2f (3) Finished request Waking up in 3.4 seconds. (4) Received Access-Request Id 204 from 10.78.1.215:1645 to 10.78.5.223:1645 length 357 (4) User-Name = "anonymous" (4) Service-Type = Framed-User (4) Cisco-AVPair = "service-type=Framed" (4) Framed-MTU = 1500 (4) Called-Station-Id = "00-3C-10-AB-A2-8A" (4) Calling-Station-Id = "C8-F7-50-08-DD-9F" (4) EAP-Message = 0x02050063370116030300251000002120ff53fcbc9f2151f5689816dbc0de9347f407a04f8f7739a79c82c8643a5fac2914030300010116030300280000000000000000645ba6d907b7c5fae81924964fa57050b3695bc9a54a01ce82d0c6de5c42e315 (4) Message-Authenticator = 0x8a6945814b723e68f54e4dfa1226a3f9 (4) Cisco-AVPair = "audit-session-id=0A4E01D7000007122D1A1862" (4) Cisco-AVPair = "method=dot1x" (4) NAS-IP-Address = 10.78.1.215 (4) NAS-Port-Id = "GigabitEthernet1/0/10" (4) NAS-Port-Type = Ethernet (4) NAS-Port = 50110 (4) State = 0xb96c70f8ba6947a877ea72b373cfca2f (4) Restoring &session-state (4) &session-state:Framed-MTU = 984 (4) &session-state:FreeRADIUS-EAP-TEAP-Identity-Type := Machine (4) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3 Handshake, ClientHello" (4) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHello" (4) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Certificate" (4) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerKeyExchange" (4) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHelloDone" (4) # Executing section authorize from file /etc/freeradius-server-3.2.x/raddb/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 = "anonymous", looking up realm NULL (4) suffix: No such realm "NULL" (4) [suffix] = noop (4) eap: Peer sent EAP Response (code 2) ID 5 length 99 (4) eap: Continuing tunnel setup (4) [eap] = ok (4) } # authorize = ok (4) Found Auth-Type = eap (4) # Executing group from file /etc/freeradius-server-3.2.x/raddb/sites-enabled/default (4) authenticate { (4) eap: Removing EAP session with state 0xb96c70f8ba6947a8 (4) eap: Previous EAP request found for state 0xb96c70f8ba6947a8, released from the list (4) eap: Peer sent packet with method EAP TEAP (55) (4) eap: Calling submodule eap_teap to process data (4) eap_teap: Authenticate (4) eap_teap: (TLS) EAP Done initial handshake (4) eap_teap: (TLS) TEAP - Handshake state - Server SSLv3/TLS write server done (4) eap_teap: (TLS) TEAP - recv TLS 1.2 Handshake, ClientKeyExchange (4) eap_teap: (TLS) TEAP - Handshake state - Server SSLv3/TLS read client key exchange (4) eap_teap: (TLS) TEAP - Handshake state - Server SSLv3/TLS read change cipher spec (4) eap_teap: (TLS) TEAP - recv TLS 1.2 Handshake, Finished (4) eap_teap: (TLS) TEAP - Handshake state - Server SSLv3/TLS read finished (4) eap_teap: (TLS) TEAP - send TLS 1.2 ChangeCipherSpec (4) eap_teap: (TLS) TEAP - Handshake state - Server SSLv3/TLS write change cipher spec (4) eap_teap: (TLS) TEAP - send TLS 1.2 Handshake, Finished (4) eap_teap: (TLS) TEAP - Handshake state - Server SSLv3/TLS write finished (4) eap_teap: (TLS) TEAP - Handshake state - SSL negotiation finished successfully (4) eap_teap: (TLS) TEAP - Connection Established (4) eap_teap: TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384" (4) eap_teap: TLS-Session-Version = "TLS 1.2" (4) eap: Sending EAP Request (code 1) ID 6 length 57 (4) eap: EAP session adding &reply:State = 0xb96c70f8bd6a47a8 (4) [eap] = handled (4) } # authenticate = handled (4) Using Post-Auth-Type Challenge (4) # Executing group from file /etc/freeradius-server-3.2.x/raddb/sites-enabled/default (4) Challenge { ... } # empty sub-section is ignored (4) session-state: Saving cached attributes (4) Framed-MTU = 984 (4) FreeRADIUS-EAP-TEAP-Identity-Type := Machine (4) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3 Handshake, ClientHello" (4) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHello" (4) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Certificate" (4) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerKeyExchange" (4) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHelloDone" (4) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake, ClientKeyExchange" (4) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake, Finished" (4) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 ChangeCipherSpec" (4) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Finished" (4) TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384" (4) TLS-Session-Version = "TLS 1.2" (4) Sent Access-Challenge Id 204 from 10.78.5.223:1645 to 10.78.1.215:1645 length 115 (4) EAP-Message = 0x0106003937011403030001011603030028b50c72a1ebc221f50558c30c2e67ebab9b4da32cff0b11099db52a17b551f80013a15cb0a72b1349 (4) Message-Authenticator = 0x00000000000000000000000000000000 (4) State = 0xb96c70f8bd6a47a877ea72b373cfca2f (4) Finished request Waking up in 3.2 seconds. (5) Received Access-Request Id 205 from 10.78.1.215:1645 to 10.78.5.223:1645 length 264 (5) User-Name = "anonymous" (5) Service-Type = Framed-User (5) Cisco-AVPair = "service-type=Framed" (5) Framed-MTU = 1500 (5) Called-Station-Id = "00-3C-10-AB-A2-8A" (5) Calling-Station-Id = "C8-F7-50-08-DD-9F" (5) EAP-Message = 0x020600063701 (5) Message-Authenticator = 0x6dab72d67dd8e7183614b93eb58c39cb (5) Cisco-AVPair = "audit-session-id=0A4E01D7000007122D1A1862" (5) Cisco-AVPair = "method=dot1x" (5) NAS-IP-Address = 10.78.1.215 (5) NAS-Port-Id = "GigabitEthernet1/0/10" (5) NAS-Port-Type = Ethernet (5) NAS-Port = 50110 (5) State = 0xb96c70f8bd6a47a877ea72b373cfca2f (5) Restoring &session-state (5) &session-state:Framed-MTU = 984 (5) &session-state:FreeRADIUS-EAP-TEAP-Identity-Type := Machine (5) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3 Handshake, ClientHello" (5) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHello" (5) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Certificate" (5) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerKeyExchange" (5) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHelloDone" (5) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake, ClientKeyExchange" (5) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake, Finished" (5) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 ChangeCipherSpec" (5) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Finished" (5) &session-state:TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384" (5) &session-state:TLS-Session-Version = "TLS 1.2" (5) # Executing section authorize from file /etc/freeradius-server-3.2.x/raddb/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 = "anonymous", looking up realm NULL (5) suffix: No such realm "NULL" (5) [suffix] = noop (5) eap: Peer sent EAP Response (code 2) ID 6 length 6 (5) eap: Continuing tunnel setup (5) [eap] = ok (5) } # authorize = ok (5) Found Auth-Type = eap (5) # Executing group from file /etc/freeradius-server-3.2.x/raddb/sites-enabled/default (5) authenticate { (5) eap: Removing EAP session with state 0xb96c70f8bd6a47a8 (5) eap: Previous EAP request found for state 0xb96c70f8bd6a47a8, released from the list (5) eap: Peer sent packet with method EAP TEAP (55) (5) eap: Calling submodule eap_teap to process data (5) eap_teap: Authenticate (5) eap_teap: (TLS) Peer ACKed our handshake fragment. handshake is finished (5) eap_teap: Session established. Proceeding to decode tunneled attributes (5) eap_teap: Using authenticated provisioning (5) eap_teap: Using MAC SHA384 (673) (5) eap_teap: Deriving EAP-TEAP keys (5) eap_teap: S-IMCK[0] - hexdump(len=40): d7 b9 f3 40 1c 22 33 23 48 df 55 33 0e 4a 4c 92 1c ee 92 73 1f 07 dd 94 34 5b f8 32 bc fa c9 3f 87 36 dd 83 51 cc a6 7c (5) eap_teap: Sending EAP-Identity (5) eap: Sending EAP Request (code 1) ID 7 length 50 (5) eap: EAP session adding &reply:State = 0xb96c70f8bc6b47a8 (5) [eap] = handled (5) } # authenticate = handled (5) Using Post-Auth-Type Challenge (5) # Executing group from file /etc/freeradius-server-3.2.x/raddb/sites-enabled/default (5) Challenge { ... } # empty sub-section is ignored (5) session-state: Saving cached attributes (5) Framed-MTU = 984 (5) FreeRADIUS-EAP-TEAP-Identity-Type := Machine (5) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3 Handshake, ClientHello" (5) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHello" (5) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Certificate" (5) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerKeyExchange" (5) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHelloDone" (5) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake, ClientKeyExchange" (5) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake, Finished" (5) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 ChangeCipherSpec" (5) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Finished" (5) TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384" (5) TLS-Session-Version = "TLS 1.2" (5) Sent Access-Challenge Id 205 from 10.78.5.223:1645 to 10.78.1.215:1645 length 108 (5) EAP-Message = 0x0107003237011703030027b50c72a1ebc221f6d3de9503586cc20282b598cde6a7a9a11e81d30783c0ae50c16365290e9f6e (5) Message-Authenticator = 0x00000000000000000000000000000000 (5) State = 0xb96c70f8bc6b47a877ea72b373cfca2f (5) Finished request Waking up in 1.9 seconds. (6) Received Access-Request Id 206 from 10.78.1.215:1645 to 10.78.5.223:1645 length 338 (6) User-Name = "anonymous" (6) Service-Type = Framed-User (6) Cisco-AVPair = "service-type=Framed" (6) Framed-MTU = 1500 (6) Called-Station-Id = "00-3C-10-AB-A2-8A" (6) Calling-Station-Id = "C8-F7-50-08-DD-9F" (6) EAP-Message = 0x02070050370117030300450000000000000001a4970c381b552cc4b1a4800bcc202d4a839b477ca37f81a93a02f19c3f0eb9a6b7fda8fb715b36520309552a99d8b116c9bf94806c34dc0d5bce9f95a8 (6) Message-Authenticator = 0x985a5fe5990b5612d2453d1203d1115c (6) Cisco-AVPair = "audit-session-id=0A4E01D7000007122D1A1862" (6) Cisco-AVPair = "method=dot1x" (6) NAS-IP-Address = 10.78.1.215 (6) NAS-Port-Id = "GigabitEthernet1/0/10" (6) NAS-Port-Type = Ethernet (6) NAS-Port = 50110 (6) State = 0xb96c70f8bc6b47a877ea72b373cfca2f (6) Restoring &session-state (6) &session-state:Framed-MTU = 984 (6) &session-state:FreeRADIUS-EAP-TEAP-Identity-Type := Machine (6) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3 Handshake, ClientHello" (6) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHello" (6) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Certificate" (6) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerKeyExchange" (6) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHelloDone" (6) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake, ClientKeyExchange" (6) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake, Finished" (6) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 ChangeCipherSpec" (6) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Finished" (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-server-3.2.x/raddb/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 = "anonymous", looking up realm NULL (6) suffix: No such realm "NULL" (6) [suffix] = noop (6) eap: Peer sent EAP Response (code 2) ID 7 length 80 (6) eap: Continuing tunnel setup (6) [eap] = ok (6) } # authorize = ok (6) Found Auth-Type = eap (6) # Executing group from file /etc/freeradius-server-3.2.x/raddb/sites-enabled/default (6) authenticate { (6) eap: Removing EAP session with state 0xb96c70f8bc6b47a8 (6) eap: Previous EAP request found for state 0xb96c70f8bc6b47a8, released from the list (6) eap: Peer sent packet with method EAP TEAP (55) (6) eap: Calling submodule eap_teap to process data (6) eap_teap: Authenticate (6) eap_teap: (TLS) EAP Done initial handshake (6) eap_teap: Session established. Proceeding to decode tunneled attributes (6) eap_teap: Got Tunneled TEAP TLVs (6) eap_teap: FreeRADIUS-EAP-TEAP-Identity-Type = Machine (6) eap_teap: FreeRADIUS-EAP-TEAP-EAP-Payload = 0x0207002301686f73742f6d617274696e2d746573742d636f6d70757465722d63657274 (6) eap_teap: Processing received EAP Payload (6) eap_teap: Got tunneled request (6) eap_teap: EAP-Message = 0x0207002301686f73742f6d617274696e2d746573742d636f6d70757465722d63657274 (6) eap_teap: FreeRADIUS-EAP-TEAP-Identity-Type = Machine (6) eap_teap: Got tunneled identity of host/martin-test-computer-cert (6) eap_teap: AUTHENTICATION (6) Virtual server inner-tunnel received request (6) EAP-Message = 0x0207002301686f73742f6d617274696e2d746573742d636f6d70757465722d63657274 (6) FreeRADIUS-EAP-TEAP-Identity-Type = Machine (6) FreeRADIUS-Proxied-To = 127.0.0.1 (6) User-Name = "host/martin-test-computer-cert" (6) server inner-tunnel { (6) # Executing section authorize from file /etc/freeradius-server-3.2.x/raddb/sites-enabled/inner-tunnel (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) [chap] = noop (6) [mschap] = noop (6) suffix: Checking for suffix after "@" (6) suffix: No '@' in User-Name = "host/martin-test-computer-cert", looking up realm NULL (6) suffix: No such realm "NULL" (6) [suffix] = noop (6) eap: Peer sent EAP Response (code 2) ID 7 length 35 (6) eap: EAP-Identity reply, returning 'ok' so we can short-circuit the rest of authorize (6) [eap] = ok (6) } # authorize = ok (6) Found Auth-Type = eap (6) # Executing group from file /etc/freeradius-server-3.2.x/raddb/sites-enabled/inner-tunnel (6) authenticate { (6) eap: Peer sent packet with method EAP Identity (1) (6) eap: Calling submodule eap_teap to process data (6) eap_teap: (TLS) TEAP -Initiating new session (6) eap_teap: Setting &session-state:FreeRADIUS-EAP-TEAP-Identity-Type = Machine (6) eap: Sending EAP Request (code 1) ID 8 length 18 (6) eap: EAP session adding &reply:State = 0x7defb4fc7de7835d (6) [eap] = handled (6) } # authenticate = handled (6) Using Post-Auth-Type Challenge (6) Post-Auth-Type sub-section not found. Ignoring. (6) # Executing group from file /etc/freeradius-server-3.2.x/raddb/sites-enabled/inner-tunnel (6) session-state: Saving cached attributes (6) Framed-MTU = 921 (6) FreeRADIUS-EAP-TEAP-Identity-Type := Machine (6) } # server inner-tunnel (6) Virtual server sending reply (6) EAP-Message = 0x010800123731000000080001000431323334 (6) Message-Authenticator = 0x00000000000000000000000000000000 (6) State = 0x7defb4fc7de7835db3aeb6a1b768d4cd (6) eap_teap: Got tunneled Access-Challenge (6) eap: Sending EAP Request (code 1) ID 8 length 57 (6) eap: EAP session adding &reply:State = 0xb96c70f8bf6447a8 (6) [eap] = handled (6) } # authenticate = handled (6) Using Post-Auth-Type Challenge (6) # Executing group from file /etc/freeradius-server-3.2.x/raddb/sites-enabled/default (6) Challenge { ... } # empty sub-section is ignored (6) session-state: Saving cached attributes (6) Framed-MTU = 984 (6) FreeRADIUS-EAP-TEAP-Identity-Type := Machine (6) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3 Handshake, ClientHello" (6) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHello" (6) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Certificate" (6) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerKeyExchange" (6) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHelloDone" (6) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake, ClientKeyExchange" (6) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake, Finished" (6) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 ChangeCipherSpec" (6) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Finished" (6) TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384" (6) TLS-Session-Version = "TLS 1.2" (6) Sent Access-Challenge Id 206 from 10.78.5.223:1645 to 10.78.1.215:1645 length 115 (6) EAP-Message = 0x010800393701170303002eb50c72a1ebc221f7561e6ed34f1458aad6609202bf2ab763e3e5c829e26a45d8877ceb18b91825e99d2c530a6abf (6) Message-Authenticator = 0x00000000000000000000000000000000 (6) State = 0xb96c70f8bf6447a877ea72b373cfca2f (6) Finished request Waking up in 0.6 seconds. (7) Received Access-Request Id 207 from 10.78.1.215:1645 to 10.78.5.223:1645 length 303 (7) User-Name = "anonymous" (7) Service-Type = Framed-User (7) Cisco-AVPair = "service-type=Framed" (7) Framed-MTU = 1500 (7) Called-Station-Id = "00-3C-10-AB-A2-8A" (7) Calling-Station-Id = "C8-F7-50-08-DD-9F" (7) EAP-Message = 0x0208002d370117030300220000000000000002babbfa79ada0bd6752b7f8ff198c2460781aca737ee008be8ba8 (7) Message-Authenticator = 0x8215b3b79228679feb0686d84b0946b0 (7) Cisco-AVPair = "audit-session-id=0A4E01D7000007122D1A1862" (7) Cisco-AVPair = "method=dot1x" (7) NAS-IP-Address = 10.78.1.215 (7) NAS-Port-Id = "GigabitEthernet1/0/10" (7) NAS-Port-Type = Ethernet (7) NAS-Port = 50110 (7) State = 0xb96c70f8bf6447a877ea72b373cfca2f (7) Restoring &session-state (7) &session-state:Framed-MTU = 984 (7) &session-state:FreeRADIUS-EAP-TEAP-Identity-Type := Machine (7) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3 Handshake, ClientHello" (7) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHello" (7) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Certificate" (7) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerKeyExchange" (7) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHelloDone" (7) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake, ClientKeyExchange" (7) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake, Finished" (7) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 ChangeCipherSpec" (7) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Finished" (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-server-3.2.x/raddb/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 = "anonymous", looking up realm NULL (7) suffix: No such realm "NULL" (7) [suffix] = noop (7) eap: Peer sent EAP Response (code 2) ID 8 length 45 (7) eap: Continuing tunnel setup (7) [eap] = ok (7) } # authorize = ok (7) Found Auth-Type = eap (7) # Executing group from file /etc/freeradius-server-3.2.x/raddb/sites-enabled/default (7) authenticate { (7) eap: Removing EAP session with state 0xb96c70f8bf6447a8 (7) eap: Previous EAP request found for state 0xb96c70f8bf6447a8, released from the list (7) eap: Peer sent packet with method EAP TEAP (55) (7) eap: Calling submodule eap_teap to process data (7) eap_teap: Authenticate (7) eap_teap: (TLS) EAP Done initial handshake (7) eap_teap: Session established. Proceeding to decode tunneled attributes (7) eap_teap: Got Tunneled TEAP TLVs (7) eap_teap: FreeRADIUS-EAP-TEAP-EAP-Payload = 0x02080006030d (7) eap_teap: Processing received EAP Payload (7) eap_teap: Got tunneled request (7) eap_teap: EAP-Message = 0x02080006030d (7) eap_teap: AUTHENTICATION (7) Virtual server inner-tunnel received request (7) EAP-Message = 0x02080006030d (7) FreeRADIUS-Proxied-To = 127.0.0.1 (7) User-Name = "host/martin-test-computer-cert" (7) State = 0x7defb4fc7de7835db3aeb6a1b768d4cd (7) server inner-tunnel { (7) Restoring &session-state (7) &session-state:Framed-MTU = 921 (7) &session-state:FreeRADIUS-EAP-TEAP-Identity-Type := Machine (7) # Executing section authorize from file /etc/freeradius-server-3.2.x/raddb/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 = "host/martin-test-computer-cert", looking up realm NULL (7) suffix: No such realm "NULL" (7) [suffix] = noop (7) eap: Peer sent EAP Response (code 2) ID 8 length 6 (7) eap: No EAP Start, assuming it's an on-going EAP conversation (7) [eap] = updated (7) [files] = noop (7) [expiration] = noop (7) [logintime] = noop Not doing PAP as Auth-Type is already set. (7) [pap] = noop (7) } # authorize = updated (7) Found Auth-Type = eap (7) # Executing group from file /etc/freeradius-server-3.2.x/raddb/sites-enabled/inner-tunnel (7) authenticate { (7) eap: Removing EAP session with state 0x7defb4fc7de7835d (7) eap: Previous EAP request found for state 0x7defb4fc7de7835d, released from the list (7) eap: Peer sent packet with method EAP NAK (3) (7) eap: Found mutually acceptable type TLS (13) (7) eap: Calling submodule eap_tls to process data (7) eap_tls: (TLS) TLS -Initiating new session (7) eap_tls: (TLS) TLS - Setting verify mode to require certificate from client (7) eap: Sending EAP Request (code 1) ID 9 length 6 (7) eap: EAP session adding &reply:State = 0x7defb4fc7ce6b95d (7) [eap] = handled (7) } # authenticate = handled (7) Using Post-Auth-Type Challenge (7) Post-Auth-Type sub-section not found. Ignoring. (7) # Executing group from file /etc/freeradius-server-3.2.x/raddb/sites-enabled/inner-tunnel (7) session-state: Saving cached attributes (7) Framed-MTU = 921 (7) FreeRADIUS-EAP-TEAP-Identity-Type := Machine (7) } # server inner-tunnel (7) Virtual server sending reply (7) EAP-Message = 0x010900060d20 (7) Message-Authenticator = 0x00000000000000000000000000000000 (7) State = 0x7defb4fc7ce6b95db3aeb6a1b768d4cd (7) eap_teap: Got tunneled Access-Challenge (7) eap: Sending EAP Request (code 1) ID 9 length 45 (7) eap: EAP session adding &reply:State = 0xb96c70f8be6547a8 (7) [eap] = handled (7) } # authenticate = handled (7) Using Post-Auth-Type Challenge (7) # Executing group from file /etc/freeradius-server-3.2.x/raddb/sites-enabled/default (7) Challenge { ... } # empty sub-section is ignored (7) session-state: Saving cached attributes (7) Framed-MTU = 984 (7) FreeRADIUS-EAP-TEAP-Identity-Type := Machine (7) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3 Handshake, ClientHello" (7) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHello" (7) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Certificate" (7) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerKeyExchange" (7) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHelloDone" (7) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake, ClientKeyExchange" (7) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake, Finished" (7) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 ChangeCipherSpec" (7) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Finished" (7) TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384" (7) TLS-Session-Version = "TLS 1.2" (7) Sent Access-Challenge Id 207 from 10.78.5.223:1645 to 10.78.1.215:1645 length 103 (7) EAP-Message = 0x0109002d37011703030022b50c72a1ebc221f868f3f6be971058b2e881175d1ad8e72d6454294b68863d89c959 (7) Message-Authenticator = 0x00000000000000000000000000000000 (7) State = 0xb96c70f8be6547a877ea72b373cfca2f (7) Finished request Waking up in 0.4 seconds. (0) Cleaning up request packet ID 200 with timestamp +6 due to cleanup_delay was reached (1) Cleaning up request packet ID 201 with timestamp +6 due to cleanup_delay was reached (2) Cleaning up request packet ID 202 with timestamp +6 due to cleanup_delay was reached Waking up in 1.4 seconds. (8) Received Access-Request Id 208 from 10.78.1.215:1645 to 10.78.5.223:1645 length 566 (8) User-Name = "anonymous" (8) Service-Type = Framed-User (8) Cisco-AVPair = "service-type=Framed" (8) Framed-MTU = 1500 (8) Called-Station-Id = "00-3C-10-AB-A2-8A" (8) Calling-Station-Id = "C8-F7-50-08-DD-9F" (8) EAP-Message = 0x020901323701170303012700000000000000035eef14a6df357e3937024bdfd36d88243a4414c32b9632e994d1551c536b86964ead7961e949d7b497ccc92e82da460c939a0f246afc379314689aef40e8050bd7ac8adfa959b26c5d98ce998e8a8a8645955b98e690e6216695bb913f0eba1ccac1b549b898e09a1f55e29e2cc85e5d27ace823505ceed3bdf2c4c010477c41335b9531af492c278354a183efadd0ec770c067278e2b687cdc12c2b057cc2cc53a47223712e79fe9b0513a5dfa6de15b297a00ea4c699624f41c55975593d28c0b82d4352ebec66150697e5bc06d88e7055c2dfd50eb9f1b41f26963ae61da210810a24f97c62c6799f64354df5d75a623fbcc6175d8b5292848ed488cb84ae9687d860fcb53c3e2d6103cd210e0ccdac25d2758ac71808bb8927f8d89d50 (8) Message-Authenticator = 0xa653d91bce8a0d17ecf645d694adc314 (8) Cisco-AVPair = "audit-session-id=0A4E01D7000007122D1A1862" (8) Cisco-AVPair = "method=dot1x" (8) NAS-IP-Address = 10.78.1.215 (8) NAS-Port-Id = "GigabitEthernet1/0/10" (8) NAS-Port-Type = Ethernet (8) NAS-Port = 50110 (8) State = 0xb96c70f8be6547a877ea72b373cfca2f (8) Restoring &session-state (8) &session-state:Framed-MTU = 984 (8) &session-state:FreeRADIUS-EAP-TEAP-Identity-Type := Machine (8) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3 Handshake, ClientHello" (8) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHello" (8) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Certificate" (8) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerKeyExchange" (8) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHelloDone" (8) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake, ClientKeyExchange" (8) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake, Finished" (8) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 ChangeCipherSpec" (8) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Finished" (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-server-3.2.x/raddb/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 = "anonymous", looking up realm NULL (8) suffix: No such realm "NULL" (8) [suffix] = noop (8) eap: Peer sent EAP Response (code 2) ID 9 length 306 (8) eap: Continuing tunnel setup (8) [eap] = ok (8) } # authorize = ok (8) Found Auth-Type = eap (8) # Executing group from file /etc/freeradius-server-3.2.x/raddb/sites-enabled/default (8) authenticate { (8) eap: Removing EAP session with state 0xb96c70f8be6547a8 (8) eap: Previous EAP request found for state 0xb96c70f8be6547a8, released from the list (8) eap: Peer sent packet with method EAP TEAP (55) (8) eap: Calling submodule eap_teap to process data (8) eap_teap: Authenticate (8) eap_teap: (TLS) EAP Done initial handshake (8) eap_teap: Session established. Proceeding to decode tunneled attributes (8) eap_teap: Got Tunneled TEAP TLVs (8) eap_teap: FreeRADIUS-EAP-TEAP-EAP-Payload = 0x0209010b0d800000010116030100fc010000f803032bb742551508e9810af2a3066e858cc683baad68e8b64af77d3edfaf1acd3669200d6dd20c085b5e0c64ebc3b3d28e92e559a8a9fe8dff51de2b87df048515a7b7002813021301c02cc02bc030c02fc024c023c028c027c00ac009c014c013009d009c003d003c0035002f01000087000500050100000000002b0009080304030303020301000d001a001808040805080604010501020104030503020302020601060300230000000a00080006001d00170018000b00020100003300260024001d0020f11c36585ffec11d77e06f1d847ecbfea2062234ff99d19c86653312d074fe760031000000170000ff01000100002d00020101 (8) eap_teap: Processing received EAP Payload (8) eap_teap: Got tunneled request (8) eap_teap: EAP-Message = 0x0209010b0d800000010116030100fc010000f803032bb742551508e9810af2a3066e858cc683baad68e8b64af77d3edfaf1acd3669200d6dd20c085b5e0c64ebc3b3d28e92e559a8a9fe8dff51de2b87df048515a7b7002813021301c02cc02bc030c02fc024c023c028c027c00ac009c014c013009d009c003d003c0035002f01000087000500050100000000002b0009080304030303020301000d001a001808040805080604010501020104030503020302020601060300230000000a00080006001d00170018000b00020100003300260024001d0020f11c36585ffec11d77e06f1d847ecbfea2062234ff99d19c86653312d074fe760031000000170000ff01000100002d00020101 (8) eap_teap: AUTHENTICATION (8) Virtual server inner-tunnel received request (8) EAP-Message = 0x0209010b0d800000010116030100fc010000f803032bb742551508e9810af2a3066e858cc683baad68e8b64af77d3edfaf1acd3669200d6dd20c085b5e0c64ebc3b3d28e92e559a8a9fe8dff51de2b87df048515a7b7002813021301c02cc02bc030c02fc024c023c028c027c00ac009c014c013009d009c003d003c0035002f01000087000500050100000000002b0009080304030303020301000d001a001808040805080604010501020104030503020302020601060300230000000a00080006001d00170018000b00020100003300260024001d0020f11c36585ffec11d77e06f1d847ecbfea2062234ff99d19c86653312d074fe760031000000170000ff01000100002d00020101 (8) FreeRADIUS-Proxied-To = 127.0.0.1 (8) User-Name = "host/martin-test-computer-cert" (8) State = 0x7defb4fc7ce6b95db3aeb6a1b768d4cd (8) server inner-tunnel { (8) Restoring &session-state (8) &session-state:Framed-MTU = 921 (8) &session-state:FreeRADIUS-EAP-TEAP-Identity-Type := Machine (8) # Executing section authorize from file /etc/freeradius-server-3.2.x/raddb/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 = "host/martin-test-computer-cert", looking up realm NULL (8) suffix: No such realm "NULL" (8) [suffix] = noop (8) eap: Peer sent EAP Response (code 2) ID 9 length 267 (8) eap: No EAP Start, assuming it's an on-going EAP conversation (8) [eap] = updated (8) [files] = noop (8) [expiration] = noop (8) [logintime] = noop (8) [pap] = noop (8) } # authorize = updated (8) Found Auth-Type = eap (8) # Executing group from file /etc/freeradius-server-3.2.x/raddb/sites-enabled/inner-tunnel (8) authenticate { (8) eap: Removing EAP session with state 0x7defb4fc7ce6b95d (8) eap: Previous EAP request found for state 0x7defb4fc7ce6b95d, 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: (TLS) EAP Peer says that the final record size will be 257 bytes (8) eap_tls: (TLS) EAP Got all data (257 bytes) (8) eap_tls: (TLS) TLS - Handshake state - before SSL initialization (8) eap_tls: (TLS) TLS - Handshake state - Server before SSL initialization (8) eap_tls: (TLS) TLS - Handshake state - Server before SSL initialization (8) eap_tls: (TLS) TLS - recv TLS 1.3 Handshake, ClientHello (8) eap_tls: (TLS) TLS - Handshake state - Server SSLv3/TLS read client hello (8) eap_tls: (TLS) TLS - send TLS 1.2 Handshake, ServerHello (8) eap_tls: (TLS) TLS - Handshake state - Server SSLv3/TLS write server hello (8) eap_tls: (TLS) TLS - send TLS 1.2 Handshake, Certificate (8) eap_tls: (TLS) TLS - Handshake state - Server SSLv3/TLS write certificate (8) eap_tls: (TLS) TLS - send TLS 1.2 Handshake, ServerKeyExchange (8) eap_tls: (TLS) TLS - Handshake state - Server SSLv3/TLS write key exchange (8) eap_tls: (TLS) TLS - send TLS 1.2 Handshake, CertificateRequest (8) eap_tls: (TLS) TLS - Handshake state - Server SSLv3/TLS write certificate request (8) eap_tls: (TLS) TLS - send TLS 1.2 Handshake, ServerHelloDone (8) eap_tls: (TLS) TLS - Handshake state - Server SSLv3/TLS write server done (8) eap_tls: (TLS) TLS - Server : Need to read more data: SSLv3/TLS write server done (8) eap_tls: (TLS) TLS - In Handshake Phase (8) eap: Sending EAP Request (code 1) ID 10 length 927 (8) eap: EAP session adding &reply:State = 0x7defb4fc7fe5b95d (8) [eap] = handled (8) } # authenticate = handled (8) Using Post-Auth-Type Challenge (8) Post-Auth-Type sub-section not found. Ignoring. (8) # Executing group from file /etc/freeradius-server-3.2.x/raddb/sites-enabled/inner-tunnel (8) session-state: Saving cached attributes (8) Framed-MTU = 921 (8) FreeRADIUS-EAP-TEAP-Identity-Type := Machine (8) TLS-Session-Information = "(TLS) TLS - recv TLS 1.3 Handshake, ClientHello" (8) TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, ServerHello" (8) TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, Certificate" (8) TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, ServerKeyExchange" (8) TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, CertificateRequest" (8) TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, ServerHelloDone" (8) } # server inner-tunnel (8) Virtual server sending reply (8) EAP-Message = 0x010a039f0dc000000a15160303003d020000390303b906f27a94e08eda6e136b0b4fa3a6b0a4927c113289f056e0de5cad1f540bc800c030000011ff01000100000b0004030001020017000016030307f40b0007f00007ed0003ac308203a830820290a003020102020105300d06092a864886f70d01010b05003068310b3009060355040613024445310f300d06035504070c06426f6368756d312f302d060355040a0c2649534c20496e7465726e65742053696368657268656974736c6f6573756e67656e20476d62483117301506035504030c0e6d617274696e2d746573742d6361301e170d3234313230323135333931365a170d3334313133303135333931365a307c310b3009060355040613024445310f300d06035504070c06426f6368756d312f302d060355040a0c2649534c20496e7465726e65742053696368657268656974736c6f6573756e67656e20476d6248312b302906035504030c226d617274696e2d746573742d7261646975732d73657276 (8) Message-Authenticator = 0x00000000000000000000000000000000 (8) State = 0x7defb4fc7fe5b95db3aeb6a1b768d4cd (8) eap_teap: Got tunneled Access-Challenge (8) eap: Sending EAP Request (code 1) ID 10 length 966 (8) eap: EAP session adding &reply:State = 0xb96c70f8b16647a8 (8) [eap] = handled (8) } # authenticate = handled (8) Using Post-Auth-Type Challenge (8) # Executing group from file /etc/freeradius-server-3.2.x/raddb/sites-enabled/default (8) Challenge { ... } # empty sub-section is ignored (8) session-state: Saving cached attributes (8) Framed-MTU = 984 (8) FreeRADIUS-EAP-TEAP-Identity-Type := Machine (8) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3 Handshake, ClientHello" (8) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHello" (8) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Certificate" (8) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerKeyExchange" (8) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHelloDone" (8) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake, ClientKeyExchange" (8) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake, Finished" (8) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 ChangeCipherSpec" (8) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Finished" (8) TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384" (8) TLS-Session-Version = "TLS 1.2" (8) Sent Access-Challenge Id 208 from 10.78.5.223:1645 to 10.78.1.215:1645 length 1030 (8) EAP-Message = 0x010a03c6370117030303bbb50c72a1ebc221f9185ead96363f149446950ec0ded55f89b5e7daf1af5770a5644d2fa6070a86b65ea0337ab8080b3dfbb4b68483bd52eb6a78c9bf369ac3f4d1dfeb2d6faabaa50828675b158fed845b97eb0cfa65bad6bd7f4eaed8df15d853d766237df67af476f8edde1882c01912423edca43f26eaa3e04b0b4fde6a75afbdae0bc7edd5b27adf1b01abe28282de132e66971611b1fb9cf125d34f76d5bf6c9c7831b9dbd31b1f6fa660cb69a1e6d44db20146d93fd5b7ceedcecfc2afbbfded7eac3ee73b384d8a838de2c37bbf484cc1dce6d9b433f40aa7281ac19993610c6fd55a26edb5eb0959fb1b969d796b666537d0875749480e9f0e05e435cf47375653902930031a98b027e2f00ce776ea1d271b8523825bed9728f2f8dfbaf66de32377668df347cf40a8eb68206626d6536a60a0b01ccfa6bf1d553b584b8e21422a1a8d31da7b9aef7bce3abeeaf500a027ac28183725885b4ff3c73badcac1c1a7887d60c42c8ce6 (8) Message-Authenticator = 0x00000000000000000000000000000000 (8) State = 0xb96c70f8b16647a877ea72b373cfca2f (8) Finished request Waking up in 0.4 seconds. (3) Cleaning up request packet ID 203 with timestamp +8 due to cleanup_delay was reached Waking up in 0.2 seconds. (4) Cleaning up request packet ID 204 with timestamp +8 due to cleanup_delay was reached Waking up in 1.2 seconds. (9) Received Access-Request Id 209 from 10.78.1.215:1645 to 10.78.5.223:1645 length 303 (9) User-Name = "anonymous" (9) Service-Type = Framed-User (9) Cisco-AVPair = "service-type=Framed" (9) Framed-MTU = 1500 (9) Called-Station-Id = "00-3C-10-AB-A2-8A" (9) Calling-Station-Id = "C8-F7-50-08-DD-9F" (9) EAP-Message = 0x020a002d3701170303002200000000000000041def86fda90d8a3e41d2ff4096aa2a2e1290f7072fbd32122e5a (9) Message-Authenticator = 0x91c65f5a3c373a3d88f49d8a3ed40e67 (9) Cisco-AVPair = "audit-session-id=0A4E01D7000007122D1A1862" (9) Cisco-AVPair = "method=dot1x" (9) NAS-IP-Address = 10.78.1.215 (9) NAS-Port-Id = "GigabitEthernet1/0/10" (9) NAS-Port-Type = Ethernet (9) NAS-Port = 50110 (9) State = 0xb96c70f8b16647a877ea72b373cfca2f (9) Restoring &session-state (9) &session-state:Framed-MTU = 984 (9) &session-state:FreeRADIUS-EAP-TEAP-Identity-Type := Machine (9) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3 Handshake, ClientHello" (9) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHello" (9) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Certificate" (9) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerKeyExchange" (9) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHelloDone" (9) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake, ClientKeyExchange" (9) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake, Finished" (9) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 ChangeCipherSpec" (9) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Finished" (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-server-3.2.x/raddb/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 = "anonymous", looking up realm NULL (9) suffix: No such realm "NULL" (9) [suffix] = noop (9) eap: Peer sent EAP Response (code 2) ID 10 length 45 (9) eap: Continuing tunnel setup (9) [eap] = ok (9) } # authorize = ok (9) Found Auth-Type = eap (9) # Executing group from file /etc/freeradius-server-3.2.x/raddb/sites-enabled/default (9) authenticate { (9) eap: Removing EAP session with state 0xb96c70f8b16647a8 (9) eap: Previous EAP request found for state 0xb96c70f8b16647a8, released from the list (9) eap: Peer sent packet with method EAP TEAP (55) (9) eap: Calling submodule eap_teap to process data (9) eap_teap: Authenticate (9) eap_teap: (TLS) EAP Done initial handshake (9) eap_teap: Session established. Proceeding to decode tunneled attributes (9) eap_teap: Got Tunneled TEAP TLVs (9) eap_teap: FreeRADIUS-EAP-TEAP-EAP-Payload = 0x020a00060d00 (9) eap_teap: Processing received EAP Payload (9) eap_teap: Got tunneled request (9) eap_teap: EAP-Message = 0x020a00060d00 (9) eap_teap: AUTHENTICATION (9) Virtual server inner-tunnel received request (9) EAP-Message = 0x020a00060d00 (9) FreeRADIUS-Proxied-To = 127.0.0.1 (9) User-Name = "host/martin-test-computer-cert" (9) State = 0x7defb4fc7fe5b95db3aeb6a1b768d4cd (9) server inner-tunnel { (9) Restoring &session-state (9) &session-state:Framed-MTU = 921 (9) &session-state:FreeRADIUS-EAP-TEAP-Identity-Type := Machine (9) &session-state:TLS-Session-Information = "(TLS) TLS - recv TLS 1.3 Handshake, ClientHello" (9) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, ServerHello" (9) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, Certificate" (9) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, ServerKeyExchange" (9) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, CertificateRequest" (9) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, ServerHelloDone" (9) # Executing section authorize from file /etc/freeradius-server-3.2.x/raddb/sites-enabled/inner-tunnel (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) [chap] = noop (9) [mschap] = noop (9) suffix: Checking for suffix after "@" (9) suffix: No '@' in User-Name = "host/martin-test-computer-cert", 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: No EAP Start, assuming it's an on-going EAP conversation (9) [eap] = updated (9) [files] = noop (9) [expiration] = noop (9) [logintime] = noop (9) [pap] = noop (9) } # authorize = updated (9) Found Auth-Type = eap (9) # Executing group from file /etc/freeradius-server-3.2.x/raddb/sites-enabled/inner-tunnel (9) authenticate { (9) eap: Removing EAP session with state 0x7defb4fc7fe5b95d (9) eap: Previous EAP request found for state 0x7defb4fc7fe5b95d, released from the list (9) eap: Peer sent packet with method EAP TLS (13) (9) eap: Calling submodule eap_tls to process data (9) eap_tls: (TLS) Peer ACKed our handshake fragment (9) eap: Sending EAP Request (code 1) ID 11 length 927 (9) eap: EAP session adding &reply:State = 0x7defb4fc7ee4b95d (9) [eap] = handled (9) } # authenticate = handled (9) Using Post-Auth-Type Challenge (9) Post-Auth-Type sub-section not found. Ignoring. (9) # Executing group from file /etc/freeradius-server-3.2.x/raddb/sites-enabled/inner-tunnel (9) session-state: Saving cached attributes (9) Framed-MTU = 921 (9) FreeRADIUS-EAP-TEAP-Identity-Type := Machine (9) TLS-Session-Information = "(TLS) TLS - recv TLS 1.3 Handshake, ClientHello" (9) TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, ServerHello" (9) TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, Certificate" (9) TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, ServerKeyExchange" (9) TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, CertificateRequest" (9) TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, ServerHelloDone" (9) } # server inner-tunnel (9) Virtual server sending reply (9) EAP-Message = 0x010b039f0dc000000a157d26fcfa591289fe0edfa8155639a543130ed8a6962f70647126878cf733836caa89c0268887485318012cca1d5ef88acfacb48eb6f3f345c4c8e5b927da63424e24c5394b7024725e8f9514edfd4ea11b2bbd6fff95bcba6081b3679fa0b5d58c8d0351edf51bfd00043b308204373082031fa00302010202146837d2898be29a5a56edbd7008ad02b855b72ecc300d06092a864886f70d01010b05003068310b3009060355040613024445310f300d06035504070c06426f6368756d312f302d060355040a0c2649534c20496e7465726e65742053696368657268656974736c6f6573756e67656e20476d62483117301506035504030c0e6d617274696e2d746573742d6361301e170d3234313132313133303935315a170d3334313131393133303935315a3068310b3009060355040613024445310f300d06035504070c06426f6368756d312f302d060355040a0c2649534c20496e7465726e65742053696368657268656974736c6f65 (9) Message-Authenticator = 0x00000000000000000000000000000000 (9) State = 0x7defb4fc7ee4b95db3aeb6a1b768d4cd (9) eap_teap: Got tunneled Access-Challenge (9) eap: Sending EAP Request (code 1) ID 11 length 966 (9) eap: EAP session adding &reply:State = 0xb96c70f8b06747a8 (9) [eap] = handled (9) } # authenticate = handled (9) Using Post-Auth-Type Challenge (9) # Executing group from file /etc/freeradius-server-3.2.x/raddb/sites-enabled/default (9) Challenge { ... } # empty sub-section is ignored (9) session-state: Saving cached attributes (9) Framed-MTU = 984 (9) FreeRADIUS-EAP-TEAP-Identity-Type := Machine (9) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3 Handshake, ClientHello" (9) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHello" (9) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Certificate" (9) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerKeyExchange" (9) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHelloDone" (9) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake, ClientKeyExchange" (9) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake, Finished" (9) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 ChangeCipherSpec" (9) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Finished" (9) TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384" (9) TLS-Session-Version = "TLS 1.2" (9) Sent Access-Challenge Id 209 from 10.78.5.223:1645 to 10.78.1.215:1645 length 1030 (9) EAP-Message = 0x010b03c6370117030303bbb50c72a1ebc221faeb581d34d3ffa38ace930fa120a9bc6a5bc85c7cd4d41d45e5573fa8e73ea96b5e3e65cc05702f70fa3436d74a7c84d38706c8d6a505f5eddfd6c743a616766c04e15732d8dd6c85be9817bb9a751c70bf3de2eacdd95e213c2dea32d27ee61fa5dfeca9c8aa4bf5815d1c0ed2f16db819fe78a546cb5ca5db7a431c35e10209defe38af420d7c595365a9c5da637c8f457709702e494d9736dcd791c37a16fbbdef828006054d1b1c10cb78698a9125ae4c962f7b305b3a00731ac38efafc81d49e66cefb9c9df360f55c93c8563f7e0100e105b089072f376be3628fff6882ebacae37569e02a26f17f082454e9d0b0210814663704a2fc9056df6757d16d46b2ca77b94dd81eee7548804362ace57bf284b57d2bc128e1d9372908e19a88c794469c783de5a776856ccfd8272fca19dbc786d1a5943b793564c688e52d02684cd44779c01f70e05355ed8ac90274b5caf13b20ebb6316d134cef1f1d836d0340fb809 (9) Message-Authenticator = 0x00000000000000000000000000000000 (9) State = 0xb96c70f8b06747a877ea72b373cfca2f (9) Finished request Waking up in 0.3 seconds. (5) Cleaning up request packet ID 205 with timestamp +9 due to cleanup_delay was reached Waking up in 1.3 seconds. (10) Received Access-Request Id 210 from 10.78.1.215:1645 to 10.78.5.223:1645 length 303 (10) User-Name = "anonymous" (10) Service-Type = Framed-User (10) Cisco-AVPair = "service-type=Framed" (10) Framed-MTU = 1500 (10) Called-Station-Id = "00-3C-10-AB-A2-8A" (10) Calling-Station-Id = "C8-F7-50-08-DD-9F" (10) EAP-Message = 0x020b002d370117030300220000000000000005504e3f837c1a2937e2c33cf7ecd3343d9fac79bc6715a8bf447e (10) Message-Authenticator = 0x44bae8eb31b0ca015ea791fbbe9eba13 (10) Cisco-AVPair = "audit-session-id=0A4E01D7000007122D1A1862" (10) Cisco-AVPair = "method=dot1x" (10) NAS-IP-Address = 10.78.1.215 (10) NAS-Port-Id = "GigabitEthernet1/0/10" (10) NAS-Port-Type = Ethernet (10) NAS-Port = 50110 (10) State = 0xb96c70f8b06747a877ea72b373cfca2f (10) Restoring &session-state (10) &session-state:Framed-MTU = 984 (10) &session-state:FreeRADIUS-EAP-TEAP-Identity-Type := Machine (10) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3 Handshake, ClientHello" (10) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHello" (10) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Certificate" (10) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerKeyExchange" (10) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHelloDone" (10) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake, ClientKeyExchange" (10) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake, Finished" (10) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 ChangeCipherSpec" (10) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Finished" (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-server-3.2.x/raddb/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 = "anonymous", looking up realm NULL (10) suffix: No such realm "NULL" (10) [suffix] = noop (10) eap: Peer sent EAP Response (code 2) ID 11 length 45 (10) eap: Continuing tunnel setup (10) [eap] = ok (10) } # authorize = ok (10) Found Auth-Type = eap (10) # Executing group from file /etc/freeradius-server-3.2.x/raddb/sites-enabled/default (10) authenticate { (10) eap: Removing EAP session with state 0xb96c70f8b06747a8 (10) eap: Previous EAP request found for state 0xb96c70f8b06747a8, released from the list (10) eap: Peer sent packet with method EAP TEAP (55) (10) eap: Calling submodule eap_teap to process data (10) eap_teap: Authenticate (10) eap_teap: (TLS) EAP Done initial handshake (10) eap_teap: Session established. Proceeding to decode tunneled attributes (10) eap_teap: Got Tunneled TEAP TLVs (10) eap_teap: FreeRADIUS-EAP-TEAP-EAP-Payload = 0x020b00060d00 (10) eap_teap: Processing received EAP Payload (10) eap_teap: Got tunneled request (10) eap_teap: EAP-Message = 0x020b00060d00 (10) eap_teap: AUTHENTICATION (10) Virtual server inner-tunnel received request (10) EAP-Message = 0x020b00060d00 (10) FreeRADIUS-Proxied-To = 127.0.0.1 (10) User-Name = "host/martin-test-computer-cert" (10) State = 0x7defb4fc7ee4b95db3aeb6a1b768d4cd (10) server inner-tunnel { (10) Restoring &session-state (10) &session-state:Framed-MTU = 921 (10) &session-state:FreeRADIUS-EAP-TEAP-Identity-Type := Machine (10) &session-state:TLS-Session-Information = "(TLS) TLS - recv TLS 1.3 Handshake, ClientHello" (10) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, ServerHello" (10) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, Certificate" (10) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, ServerKeyExchange" (10) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, CertificateRequest" (10) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, ServerHelloDone" (10) # Executing section authorize from file /etc/freeradius-server-3.2.x/raddb/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 = "host/martin-test-computer-cert", looking up realm NULL (10) suffix: No such realm "NULL" (10) [suffix] = 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] = noop (10) [expiration] = noop (10) [logintime] = noop (10) [pap] = noop (10) } # authorize = updated (10) Found Auth-Type = eap (10) # Executing group from file /etc/freeradius-server-3.2.x/raddb/sites-enabled/inner-tunnel (10) authenticate { (10) eap: Removing EAP session with state 0x7defb4fc7ee4b95d (10) eap: Previous EAP request found for state 0x7defb4fc7ee4b95d, released from the list (10) eap: Peer sent packet with method EAP TLS (13) (10) eap: Calling submodule eap_tls to process data (10) eap_tls: (TLS) Peer ACKed our handshake fragment (10) eap: Sending EAP Request (code 1) ID 12 length 757 (10) eap: EAP session adding &reply:State = 0x7defb4fc79e3b95d (10) [eap] = handled (10) } # authenticate = handled (10) Using Post-Auth-Type Challenge (10) Post-Auth-Type sub-section not found. Ignoring. (10) # Executing group from file /etc/freeradius-server-3.2.x/raddb/sites-enabled/inner-tunnel (10) session-state: Saving cached attributes (10) Framed-MTU = 921 (10) FreeRADIUS-EAP-TEAP-Identity-Type := Machine (10) TLS-Session-Information = "(TLS) TLS - recv TLS 1.3 Handshake, ClientHello" (10) TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, ServerHello" (10) TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, Certificate" (10) TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, ServerKeyExchange" (10) TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, CertificateRequest" (10) TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, ServerHelloDone" (10) } # server inner-tunnel (10) Virtual server sending reply (10) EAP-Message = 0x010c02f50d8000000a15092a864886f70d01010b05000382010100a43c58ca1352e1fc9445dd9ee39ba4a0370294fe7a392d7bde81a15eafa50faffeecfbd46a398281481534dac317909896a890db1c9bc2a92dd6643cb38884b99bf6bb9e29b89ec05a184fee40f636cffb530e6729aa18f65d4efbefc8c6f642f083d24fee5b1557e2fbbdd8db665c1ec5c7c0478e2355bf3fef88cc0908228a0b37560dd68abfba7b8e1b8bd76223b49cf84a80d90025c3ae17296c51dd9630a0f8af67b987416ee02f0ed7615ece56169a552aed5426af82497468570c9bc062edccfbac033364c1d6b55075552fe9c6f7fcb955415423fef9ba221ec3cda5939a6965aa3e49dcfda0c1a0b4712ba554c245396805304b4c14d252d9f84575160303012c0c00012803001d2085da432b369d31e03e41ee3cf22a59eadde9cd07d5ed69544bd29935d6f48935080401003b022a53dded11c7ec9f9f15654635e862a3ab68cce93001d6a7cad57d344472f2bce83ff10a597e7e4ce5 (10) Message-Authenticator = 0x00000000000000000000000000000000 (10) State = 0x7defb4fc79e3b95db3aeb6a1b768d4cd (10) eap_teap: Got tunneled Access-Challenge (10) eap: Sending EAP Request (code 1) ID 12 length 796 (10) eap: EAP session adding &reply:State = 0xb96c70f8b36047a8 (10) [eap] = handled (10) } # authenticate = handled (10) Using Post-Auth-Type Challenge (10) # Executing group from file /etc/freeradius-server-3.2.x/raddb/sites-enabled/default (10) Challenge { ... } # empty sub-section is ignored (10) session-state: Saving cached attributes (10) Framed-MTU = 984 (10) FreeRADIUS-EAP-TEAP-Identity-Type := Machine (10) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3 Handshake, ClientHello" (10) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHello" (10) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Certificate" (10) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerKeyExchange" (10) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHelloDone" (10) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake, ClientKeyExchange" (10) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake, Finished" (10) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 ChangeCipherSpec" (10) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Finished" (10) TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384" (10) TLS-Session-Version = "TLS 1.2" (10) Sent Access-Challenge Id 210 from 10.78.5.223:1645 to 10.78.1.215:1645 length 860 (10) EAP-Message = 0x010c031c37011703030311b50c72a1ebc221fb48a8de4d79b70f483114730233ecb70848888046d556946ee067468f962ed4d1f30485a8db24d0d39ddd8d8b0373447b96fea49b91fb6bce24a54899db5e9cdabf0a7335a05be1d26ba1a254a54e30832cbc113d6d09ff836124addc11088c37b76d2a080daec9e51d5b610bdc792807187d4aeb2e6c1fa35fb628feb829ec0941fc494c63dbcce34d6f475db54f18508424951765d4d265441139aea0b408e87387a862774e40a1b669d959bbda172e295b35cfa41a288343679725a61ea1514a70de0f1f88b0bd2e3941e8de8d5ea949911d33c7542f38362657f71bf61cc687281d064893e01e6d5d53ccb7a6e27c634ae4130dfe847d33a20988644233d2c812322bd74fb19a489ebdd556da3a661fdaece6afab0d23878fe952422b112fcd0059c25b3f2ef64652cc27d0cdef4a7b6cfc7cf6b042cea14d3d0caf4eeaf6f7a8d47caf68886e4e488c768c4ca885bd1045447b6f1c0ed0f6699c4f884cfa3adcf8bd (10) Message-Authenticator = 0x00000000000000000000000000000000 (10) State = 0xb96c70f8b36047a877ea72b373cfca2f (10) Finished request Waking up in 0.2 seconds. (6) Cleaning up request packet ID 206 with timestamp +11 due to cleanup_delay was reached Waking up in 0.1 seconds. (7) Cleaning up request packet ID 207 with timestamp +11 due to cleanup_delay was reached Waking up in 1.5 seconds. (11) Received Access-Request Id 211 from 10.78.1.215:1645 to 10.78.5.223:1645 length 1565 (11) User-Name = "anonymous" (11) Service-Type = Framed-User (11) Cisco-AVPair = "service-type=Framed" (11) Framed-MTU = 1500 (11) Called-Station-Id = "00-3C-10-AB-A2-8A" (11) Calling-Station-Id = "C8-F7-50-08-DD-9F" (11) EAP-Message = 0x020c05113701170303050600000000000000066acc4254b50e5d48196f3d53f9ed84976b95a6ac2363e59637755d6709ef7879bdb8907378e05b16ca26221ba37c5c6371e51c33abae3d9220e15c9d6aa7abe4f8e6183c7162c9cbed557e3720ee5ea46a787f5974cf900007e2a26a25f11413a4eb1a7b9f4f0221f1fc67fd8cdc75ba0fb6f9cd69d312d74142358da386057b98fc2c8beecee35ca45a0375f1786cc16ec4a6f9f7cadba47978a9a67fc54a75ed4ede1e39da127534ec9d6effdff47966d0c673a2b37c11c4a7edf90d96036f5e45f447f2929bf8c787853b453e801648bbb8ee417b489da3f9923fd2564d85ee61264bb0b3016ca105e2d7fe5bd51cfc424d99fe70265cb8db0f114e52bec9b7efa4a5197e50851122a3fa822451abdcdebefcd57f790f7d97291b7fa7d8d0b5affbd102283e82333522d5c7c15b92211f671167b3f8266ba85acf56568e1f379ad4dbe551801f6703bb4ba85784e50b6dbf3a2d41be7f5db02899b198b23bb59c0972 (11) Message-Authenticator = 0xf42d9c5aac48f331fc9de8a9799f3325 (11) Cisco-AVPair = "audit-session-id=0A4E01D7000007122D1A1862" (11) Cisco-AVPair = "method=dot1x" (11) NAS-IP-Address = 10.78.1.215 (11) NAS-Port-Id = "GigabitEthernet1/0/10" (11) NAS-Port-Type = Ethernet (11) NAS-Port = 50110 (11) State = 0xb96c70f8b36047a877ea72b373cfca2f (11) Restoring &session-state (11) &session-state:Framed-MTU = 984 (11) &session-state:FreeRADIUS-EAP-TEAP-Identity-Type := Machine (11) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3 Handshake, ClientHello" (11) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHello" (11) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Certificate" (11) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerKeyExchange" (11) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHelloDone" (11) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake, ClientKeyExchange" (11) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake, Finished" (11) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 ChangeCipherSpec" (11) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Finished" (11) &session-state:TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384" (11) &session-state:TLS-Session-Version = "TLS 1.2" (11) # Executing section authorize from file /etc/freeradius-server-3.2.x/raddb/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 = "anonymous", looking up realm NULL (11) suffix: No such realm "NULL" (11) [suffix] = noop (11) eap: Peer sent EAP Response (code 2) ID 12 length 1297 (11) eap: Continuing tunnel setup (11) [eap] = ok (11) } # authorize = ok (11) Found Auth-Type = eap (11) # Executing group from file /etc/freeradius-server-3.2.x/raddb/sites-enabled/default (11) authenticate { (11) eap: Removing EAP session with state 0xb96c70f8b36047a8 (11) eap: Previous EAP request found for state 0xb96c70f8b36047a8, released from the list (11) eap: Peer sent packet with method EAP TEAP (55) (11) eap: Calling submodule eap_teap to process data (11) eap_teap: Authenticate (11) eap_teap: (TLS) EAP Done initial handshake (11) eap_teap: Session established. Proceeding to decode tunneled attributes (11) eap_teap: Got Tunneled TEAP TLVs (11) eap_teap: FreeRADIUS-EAP-TEAP-EAP-Payload = 0x020c04ea0d80000004e016030304a80b0003770003740003713082036d30820255a003020102020103300d06092a864886f70d01010b05003068310b3009060355040613024445310f300d06035504070c06426f6368756d312f302d060355040a0c2649534c20496e7465726e65742053696368657268656974736c6f6573756e67656e20476d62483117301506035504030c0e6d617274696e2d746573742d6361301e170d3234313132393038303335335a170d3334313132373038303335335a3073310b3009060355040613024445310f300d06035504070c06426f6368756d312f302d060355040a0c2649534c20496e7465726e65742053696368657268656974736c6f6573756e67656e20476d62483122302006035504030c196d617274696e2d746573742d636f6d70757465722d6365727430820122300d06092a864886f70d01010105000382010f003082010a0282010100d655edad1c3325d390026e37183e66270c52a3a3d7 (11) eap_teap: Processing received EAP Payload (11) eap_teap: Got tunneled request (11) eap_teap: EAP-Message = 0x020c04ea0d80000004e016030304a80b0003770003740003713082036d30820255a003020102020103300d06092a864886f70d01010b05003068310b3009060355040613024445310f300d06035504070c06426f6368756d312f302d060355040a0c2649534c20496e7465726e65742053696368657268656974736c6f6573756e67656e20476d62483117301506035504030c0e6d617274696e2d746573742d6361301e170d3234313132393038303335335a170d3334313132373038303335335a3073310b3009060355040613024445310f300d06035504070c06426f6368756d312f302d060355040a0c2649534c20496e7465726e65742053696368657268656974736c6f6573756e67656e20476d62483122302006035504030c196d617274696e2d746573742d636f6d70757465722d6365727430820122300d06092a864886f70d01010105000382010f003082010a0282010100d655edad1c3325d390026e37183e66270c52a3a3d70399110622d792fd6899 (11) eap_teap: AUTHENTICATION (11) Virtual server inner-tunnel received request (11) EAP-Message = 0x020c04ea0d80000004e016030304a80b0003770003740003713082036d30820255a003020102020103300d06092a864886f70d01010b05003068310b3009060355040613024445310f300d06035504070c06426f6368756d312f302d060355040a0c2649534c20496e7465726e65742053696368657268656974736c6f6573756e67656e20476d62483117301506035504030c0e6d617274696e2d746573742d6361301e170d3234313132393038303335335a170d3334313132373038303335335a3073310b3009060355040613024445310f300d06035504070c06426f6368756d312f302d060355040a0c2649534c20496e7465726e65742053696368657268656974736c6f6573756e67656e20476d62483122302006035504030c196d617274696e2d746573742d636f6d70757465722d6365727430820122300d06092a864886f70d01010105000382010f003082010a0282010100d655edad1c3325d390026e37183e66270c52a3a3d70399110622d792fd6899 (11) FreeRADIUS-Proxied-To = 127.0.0.1 (11) User-Name = "host/martin-test-computer-cert" (11) State = 0x7defb4fc79e3b95db3aeb6a1b768d4cd (11) server inner-tunnel { (11) Restoring &session-state (11) &session-state:Framed-MTU = 921 (11) &session-state:FreeRADIUS-EAP-TEAP-Identity-Type := Machine (11) &session-state:TLS-Session-Information = "(TLS) TLS - recv TLS 1.3 Handshake, ClientHello" (11) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, ServerHello" (11) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, Certificate" (11) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, ServerKeyExchange" (11) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, CertificateRequest" (11) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, ServerHelloDone" (11) # Executing section authorize from file /etc/freeradius-server-3.2.x/raddb/sites-enabled/inner-tunnel (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) [chap] = noop (11) [mschap] = noop (11) suffix: Checking for suffix after "@" (11) suffix: No '@' in User-Name = "host/martin-test-computer-cert", looking up realm NULL (11) suffix: No such realm "NULL" (11) [suffix] = noop (11) eap: Peer sent EAP Response (code 2) ID 12 length 1258 (11) eap: No EAP Start, assuming it's an on-going EAP conversation (11) [eap] = updated (11) [files] = noop (11) [expiration] = noop (11) [logintime] = noop (11) [pap] = noop (11) } # authorize = updated (11) Found Auth-Type = eap (11) # Executing group from file /etc/freeradius-server-3.2.x/raddb/sites-enabled/inner-tunnel (11) authenticate { (11) eap: Removing EAP session with state 0x7defb4fc79e3b95d (11) eap: Previous EAP request found for state 0x7defb4fc79e3b95d, released from the list (11) eap: Peer sent packet with method EAP TLS (13) (11) eap: Calling submodule eap_tls to process data (11) eap_tls: (TLS) EAP Peer says that the final record size will be 1248 bytes (11) eap_tls: (TLS) EAP Got all data (1248 bytes) (11) eap_tls: (TLS) TLS - Handshake state - Server SSLv3/TLS write server done (11) eap_tls: (TLS) TLS - recv TLS 1.2 Handshake, Certificate (11) eap_tls: (TLS) TLS - Creating attributes from 2 certificate in chain (11) eap_tls: TLS-Cert-Serial := "6837d2898be29a5a56edbd7008ad02b855b72ecc" (11) eap_tls: TLS-Cert-Expiration := "341119130951Z" (11) eap_tls: TLS-Cert-Valid-Since := "241121130951Z" (11) eap_tls: TLS-Cert-Subject := "/C=DE/L=Bochum/O=Test/CN=martin-test-ca" (11) eap_tls: TLS-Cert-Issuer := "/C=DE/L=Bochum/O=Test/CN=martin-test-ca" (11) eap_tls: TLS-Cert-Common-Name := "martin-test-ca" (11) eap_tls: (TLS) TLS - Creating attributes from 1 certificate in chain (11) eap_tls: TLS-Client-Cert-Serial := "03" (11) eap_tls: TLS-Client-Cert-Expiration := "341127080353Z" (11) eap_tls: TLS-Client-Cert-Valid-Since := "241129080353Z" (11) eap_tls: TLS-Client-Cert-Subject := "/C=DE/L=Bochum/O=Test/CN=martin-test-computer-cert" (11) eap_tls: TLS-Client-Cert-Issuer := "/C=DE/L=Bochum/O=Test/CN=martin-test-ca" (11) eap_tls: TLS-Client-Cert-Common-Name := "martin-test-computer-cert" (11) eap_tls: TLS-Client-Cert-X509v3-Extended-Key-Usage += "TLS Web Client Authentication" (11) eap_tls: TLS-Client-Cert-X509v3-Extended-Key-Usage-OID += "1.3.6.1.5.5.7.3.2" Certificate chain - 1 intermediate CA cert(s) untrusted To forbid these certificates see 'reject_unknown_intermediate_ca' (TLS) untrusted certificate with depth [0] subject name /C=DE/L=Bochum/O=Test/CN=martin-test-computer-cert (11) eap_tls: (TLS) TLS - Handshake state - Server SSLv3/TLS read client certificate (11) eap_tls: (TLS) TLS - recv TLS 1.2 Handshake, ClientKeyExchange (11) eap_tls: (TLS) TLS - Handshake state - Server SSLv3/TLS read client key exchange (11) eap_tls: (TLS) TLS - recv TLS 1.2 Handshake, CertificateVerify (11) eap_tls: (TLS) TLS - Handshake state - Server SSLv3/TLS read certificate verify (11) eap_tls: (TLS) TLS - Handshake state - Server SSLv3/TLS read change cipher spec (11) eap_tls: (TLS) TLS - recv TLS 1.2 Handshake, Finished (11) eap_tls: (TLS) TLS - Handshake state - Server SSLv3/TLS read finished (11) eap_tls: (TLS) TLS - send TLS 1.2 ChangeCipherSpec (11) eap_tls: (TLS) TLS - Handshake state - Server SSLv3/TLS write change cipher spec (11) eap_tls: (TLS) TLS - send TLS 1.2 Handshake, Finished (11) eap_tls: (TLS) TLS - Handshake state - Server SSLv3/TLS write finished (11) eap_tls: (TLS) TLS - Handshake state - SSL negotiation finished successfully (11) eap_tls: (TLS) TLS - Connection Established (11) eap_tls: TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384" (11) eap_tls: TLS-Session-Version = "TLS 1.2" (11) eap: Sending EAP Request (code 1) ID 13 length 61 (11) eap: EAP session adding &reply:State = 0x7defb4fc78e2b95d (11) [eap] = handled (11) } # authenticate = handled (11) Using Post-Auth-Type Challenge (11) Post-Auth-Type sub-section not found. Ignoring. (11) # Executing group from file /etc/freeradius-server-3.2.x/raddb/sites-enabled/inner-tunnel (11) session-state: Saving cached attributes (11) Framed-MTU = 921 (11) FreeRADIUS-EAP-TEAP-Identity-Type := Machine (11) TLS-Session-Information = "(TLS) TLS - recv TLS 1.3 Handshake, ClientHello" (11) TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, ServerHello" (11) TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, Certificate" (11) TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, ServerKeyExchange" (11) TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, CertificateRequest" (11) TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, ServerHelloDone" (11) TLS-Session-Information = "(TLS) TLS - recv TLS 1.2 Handshake, Certificate" (11) TLS-Session-Information = "(TLS) TLS - recv TLS 1.2 Handshake, ClientKeyExchange" (11) TLS-Session-Information = "(TLS) TLS - recv TLS 1.2 Handshake, CertificateVerify" (11) TLS-Session-Information = "(TLS) TLS - recv TLS 1.2 Handshake, Finished" (11) TLS-Session-Information = "(TLS) TLS - send TLS 1.2 ChangeCipherSpec" (11) TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, Finished" (11) TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384" (11) TLS-Session-Version = "TLS 1.2" (11) } # server inner-tunnel (11) Virtual server sending reply (11) EAP-Message = 0x010d003d0d800000003314030300010116030300284b0980d6c04907e41037ad5459c7884193c3d80ae2ec77e9686592d1177097310d38aa48faf6dc1e (11) Message-Authenticator = 0x00000000000000000000000000000000 (11) State = 0x7defb4fc78e2b95db3aeb6a1b768d4cd (11) eap_teap: Got tunneled Access-Challenge (11) eap: Sending EAP Request (code 1) ID 13 length 100 (11) eap: EAP session adding &reply:State = 0xb96c70f8b26147a8 (11) [eap] = handled (11) } # authenticate = handled (11) Using Post-Auth-Type Challenge (11) # Executing group from file /etc/freeradius-server-3.2.x/raddb/sites-enabled/default (11) Challenge { ... } # empty sub-section is ignored (11) session-state: Saving cached attributes (11) Framed-MTU = 984 (11) FreeRADIUS-EAP-TEAP-Identity-Type := Machine (11) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3 Handshake, ClientHello" (11) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHello" (11) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Certificate" (11) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerKeyExchange" (11) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHelloDone" (11) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake, ClientKeyExchange" (11) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake, Finished" (11) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 ChangeCipherSpec" (11) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Finished" (11) TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384" (11) TLS-Session-Version = "TLS 1.2" (11) Sent Access-Challenge Id 211 from 10.78.5.223:1645 to 10.78.1.215:1645 length 158 (11) EAP-Message = 0x010d006437011703030059b50c72a1ebc221fc8aae6c4e6e83aa0a7dc0488aa2db9d920deb0da38784df260e91010e9997ac6f1266827426dde5035fdb421141aedefa524373ab9b2460ae78d3cf471d2145ad36d3451f46d59557f4557d4de724faf841 (11) Message-Authenticator = 0x00000000000000000000000000000000 (11) State = 0xb96c70f8b26147a877ea72b373cfca2f (11) Finished request Waking up in 0.4 seconds. (8) Cleaning up request packet ID 208 with timestamp +12 due to cleanup_delay was reached Waking up in 1.6 seconds. (12) Received Access-Request Id 212 from 10.78.1.215:1645 to 10.78.5.223:1645 length 303 (12) User-Name = "anonymous" (12) Service-Type = Framed-User (12) Cisco-AVPair = "service-type=Framed" (12) Framed-MTU = 1500 (12) Called-Station-Id = "00-3C-10-AB-A2-8A" (12) Calling-Station-Id = "C8-F7-50-08-DD-9F" (12) EAP-Message = 0x020d002d3701170303002200000000000000079fd05d67fc0c2506960b63e8340feb76bf4fa44884f675ebc89b (12) Message-Authenticator = 0xe3990034841c5d886cabad5619ae39fa (12) Cisco-AVPair = "audit-session-id=0A4E01D7000007122D1A1862" (12) Cisco-AVPair = "method=dot1x" (12) NAS-IP-Address = 10.78.1.215 (12) NAS-Port-Id = "GigabitEthernet1/0/10" (12) NAS-Port-Type = Ethernet (12) NAS-Port = 50110 (12) State = 0xb96c70f8b26147a877ea72b373cfca2f (12) Restoring &session-state (12) &session-state:Framed-MTU = 984 (12) &session-state:FreeRADIUS-EAP-TEAP-Identity-Type := Machine (12) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3 Handshake, ClientHello" (12) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHello" (12) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Certificate" (12) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerKeyExchange" (12) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHelloDone" (12) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake, ClientKeyExchange" (12) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake, Finished" (12) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 ChangeCipherSpec" (12) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Finished" (12) &session-state:TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384" (12) &session-state:TLS-Session-Version = "TLS 1.2" (12) # Executing section authorize from file /etc/freeradius-server-3.2.x/raddb/sites-enabled/default (12) authorize { (12) policy filter_username { (12) if (&User-Name) { (12) if (&User-Name) -> TRUE (12) if (&User-Name) { (12) if (&User-Name =~ / /) { (12) if (&User-Name =~ / /) -> FALSE (12) if (&User-Name =~ /@[^@]*@/ ) { (12) if (&User-Name =~ /@[^@]*@/ ) -> FALSE (12) if (&User-Name =~ /\.\./ ) { (12) if (&User-Name =~ /\.\./ ) -> FALSE (12) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) { (12) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE (12) if (&User-Name =~ /\.$/) { (12) if (&User-Name =~ /\.$/) -> FALSE (12) if (&User-Name =~ /@\./) { (12) if (&User-Name =~ /@\./) -> FALSE (12) } # if (&User-Name) = notfound (12) } # policy filter_username = notfound (12) [preprocess] = ok (12) [chap] = noop (12) [mschap] = noop (12) [digest] = noop (12) suffix: Checking for suffix after "@" (12) suffix: No '@' in User-Name = "anonymous", looking up realm NULL (12) suffix: No such realm "NULL" (12) [suffix] = noop (12) eap: Peer sent EAP Response (code 2) ID 13 length 45 (12) eap: Continuing tunnel setup (12) [eap] = ok (12) } # authorize = ok (12) Found Auth-Type = eap (12) # Executing group from file /etc/freeradius-server-3.2.x/raddb/sites-enabled/default (12) authenticate { (12) eap: Removing EAP session with state 0xb96c70f8b26147a8 (12) eap: Previous EAP request found for state 0xb96c70f8b26147a8, released from the list (12) eap: Peer sent packet with method EAP TEAP (55) (12) eap: Calling submodule eap_teap to process data (12) eap_teap: Authenticate (12) eap_teap: (TLS) EAP Done initial handshake (12) eap_teap: Session established. Proceeding to decode tunneled attributes (12) eap_teap: Got Tunneled TEAP TLVs (12) eap_teap: FreeRADIUS-EAP-TEAP-EAP-Payload = 0x020d00060d00 (12) eap_teap: Processing received EAP Payload (12) eap_teap: Got tunneled request (12) eap_teap: EAP-Message = 0x020d00060d00 (12) eap_teap: AUTHENTICATION (12) Virtual server inner-tunnel received request (12) EAP-Message = 0x020d00060d00 (12) FreeRADIUS-Proxied-To = 127.0.0.1 (12) User-Name = "host/martin-test-computer-cert" (12) State = 0x7defb4fc78e2b95db3aeb6a1b768d4cd (12) server inner-tunnel { (12) Restoring &session-state (12) &session-state:Framed-MTU = 921 (12) &session-state:FreeRADIUS-EAP-TEAP-Identity-Type := Machine (12) &session-state:TLS-Session-Information = "(TLS) TLS - recv TLS 1.3 Handshake, ClientHello" (12) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, ServerHello" (12) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, Certificate" (12) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, ServerKeyExchange" (12) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, CertificateRequest" (12) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, ServerHelloDone" (12) &session-state:TLS-Session-Information = "(TLS) TLS - recv TLS 1.2 Handshake, Certificate" (12) &session-state:TLS-Session-Information = "(TLS) TLS - recv TLS 1.2 Handshake, ClientKeyExchange" (12) &session-state:TLS-Session-Information = "(TLS) TLS - recv TLS 1.2 Handshake, CertificateVerify" (12) &session-state:TLS-Session-Information = "(TLS) TLS - recv TLS 1.2 Handshake, Finished" (12) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS 1.2 ChangeCipherSpec" (12) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake, Finished" (12) &session-state:TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384" (12) &session-state:TLS-Session-Version = "TLS 1.2" (12) # Executing section authorize from file /etc/freeradius-server-3.2.x/raddb/sites-enabled/inner-tunnel (12) authorize { (12) policy filter_username { (12) if (&User-Name) { (12) if (&User-Name) -> TRUE (12) if (&User-Name) { (12) if (&User-Name =~ / /) { (12) if (&User-Name =~ / /) -> FALSE (12) if (&User-Name =~ /@[^@]*@/ ) { (12) if (&User-Name =~ /@[^@]*@/ ) -> FALSE (12) if (&User-Name =~ /\.\./ ) { (12) if (&User-Name =~ /\.\./ ) -> FALSE (12) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) { (12) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE (12) if (&User-Name =~ /\.$/) { (12) if (&User-Name =~ /\.$/) -> FALSE (12) if (&User-Name =~ /@\./) { (12) if (&User-Name =~ /@\./) -> FALSE (12) } # if (&User-Name) = notfound (12) } # policy filter_username = notfound (12) [chap] = noop (12) [mschap] = noop (12) suffix: Checking for suffix after "@" (12) suffix: No '@' in User-Name = "host/martin-test-computer-cert", looking up realm NULL (12) suffix: No such realm "NULL" (12) [suffix] = noop (12) eap: Peer sent EAP Response (code 2) ID 13 length 6 (12) eap: No EAP Start, assuming it's an on-going EAP conversation (12) [eap] = updated (12) [files] = noop (12) [expiration] = noop (12) [logintime] = noop (12) [pap] = noop (12) } # authorize = updated (12) Found Auth-Type = eap (12) # Executing group from file /etc/freeradius-server-3.2.x/raddb/sites-enabled/inner-tunnel (12) authenticate { (12) eap: Removing EAP session with state 0x7defb4fc78e2b95d (12) eap: Previous EAP request found for state 0x7defb4fc78e2b95d, released from the list (12) eap: Peer sent packet with method EAP TLS (13) (12) eap: Calling submodule eap_tls to process data (12) eap_tls: (TLS) Peer ACKed our handshake fragment. handshake is finished (12) eap: Sending EAP Success (code 3) ID 13 length 4 (12) eap: Freeing handler (12) [eap] = ok (12) } # authenticate = ok (12) # Executing section post-auth from file /etc/freeradius-server-3.2.x/raddb/sites-enabled/inner-tunnel (12) post-auth { (12) if (0) { (12) if (0) -> FALSE (12) } # post-auth = noop (12) } # server inner-tunnel (12) Virtual server sending reply (12) MS-MPPE-Recv-Key = 0x49c82b462cc178f55542ee720b657f67328d84794fadea709c3a63344e64c86d (12) MS-MPPE-Send-Key = 0xafb70bfd2a7885096e14eb5a435dee55246b9203641576bfa1423d9b2744c04e (12) EAP-MSK = 0x49c82b462cc178f55542ee720b657f67328d84794fadea709c3a63344e64c86dafb70bfd2a7885096e14eb5a435dee55246b9203641576bfa1423d9b2744c04e (12) EAP-EMSK = 0xf473639c2f507e2fc734c892b92ed54c4b07e181a19a7c86d0fd2e7787a86b7d7c345cbb2e06b66ef1cb9a78ec1e6eb8467da97d761153535a184e78f584e4f0 (12) EAP-Session-Id = 0x0d2bb742551508e9810af2a3066e858cc683baad68e8b64af77d3edfaf1acd3669b906f27a94e08eda6e136b0b4fa3a6b0a4927c113289f056e0de5cad1f540bc8 (12) EAP-Message = 0x030d0004 (12) Message-Authenticator = 0x00000000000000000000000000000000 (12) User-Name = "host/martin-test-computer-cert" (12) eap_teap: Got tunneled Access-Accept (12) eap_teap: MSCHAP_MPPE_RECV_KEY [high MSK] - hexdump(len=32): 49 c8 2b 46 2c c1 78 f5 55 42 ee 72 0b 65 7f 67 32 8d 84 79 4f ad ea 70 9c 3a 63 34 4e 64 c8 6d (12) eap_teap: MSCHAP_MPPE_SEND_KEY [low MSK] - hexdump(len=32): af b7 0b fd 2a 78 85 09 6e 14 eb 5a 43 5d ee 55 24 6b 92 03 64 15 76 bf a1 42 3d 9b 27 44 c0 4e (12) eap_teap: Sending Cryptobinding (12) eap_teap: Updating ICMK (j = 1) (12) eap_teap: IMSK from MSK - hexdump(len=32): 49 c8 2b 46 2c c1 78 f5 55 42 ee 72 0b 65 7f 67 32 8d 84 79 4f ad ea 70 9c 3a 63 34 4e 64 c8 6d (12) eap_teap: MSK S-IMCK[j] - hexdump(len=40): 05 3d 77 c1 00 f3 6a 9c 7a d7 86 5d 80 11 f3 c0 91 7d 69 b1 d8 12 ac 4e 1f ce 94 3d df 04 74 48 b6 49 15 19 4b ee 1a 6f (12) eap_teap: MSK CMK[j] - hexdump(len=20): ef 36 d1 cd a9 6b fa 02 03 3e 10 d5 2f 7e 4f 3d b2 ea c5 b1 (12) eap_teap: IMSK from EMSK - hexdump(len=32): dd e9 dd 31 e2 7d 21 e6 42 f6 38 57 7e fe 81 60 ca 22 02 15 83 bd 21 31 84 0f 13 4d 38 e9 30 c7 (12) eap_teap: EMSK S-IMCK[j] - hexdump(len=40): b3 57 7c 1d f9 86 7d f0 46 36 27 3c 44 bb f8 5d 1d ae c0 ca f9 83 29 de d4 32 e7 7f b0 12 18 a7 bc a8 cc 4e 2f 5f 3b a0 (12) eap_teap: EMSK CMK[j] - hexdump(len=20): 85 da d4 44 72 fa 8f 4b 7d 3e 2d 45 48 f6 53 16 32 17 29 8b (12) eap_teap: BUFFER for Compound MAC calculation - hexdump(len=89): 80 0c 00 4c 00 01 ff 30 20 d4 a1 7e a3 e4 26 b5 9e 5b a4 89 0e 39 fa 9b 1d 90 23 1c ee 55 1a fa b4 56 0f 20 71 3d 4d d2 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 37 00 01 00 04 31 32 33 34 (12) eap_teap: &session-state:FreeRADIUS-EAP-TEAP-TLV-Identity-Type set so continuing EAP sequence/chaining (12) eap_teap: Sending EAP-Identity (12) eap: Sending EAP Request (code 1) ID 14 length 136 (12) eap: EAP session adding &reply:State = 0xb96c70f8b56247a8 (12) [eap] = handled (12) } # authenticate = handled (12) Using Post-Auth-Type Challenge (12) # Executing group from file /etc/freeradius-server-3.2.x/raddb/sites-enabled/default (12) Challenge { ... } # empty sub-section is ignored (12) session-state: Saving cached attributes (12) Framed-MTU = 984 (12) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3 Handshake, ClientHello" (12) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHello" (12) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Certificate" (12) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerKeyExchange" (12) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHelloDone" (12) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake, ClientKeyExchange" (12) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake, Finished" (12) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 ChangeCipherSpec" (12) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Finished" (12) TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384" (12) TLS-Session-Version = "TLS 1.2" (12) Sent Access-Challenge Id 212 from 10.78.5.223:1645 to 10.78.1.215:1645 length 194 (12) EAP-Message = 0x010e00883701170303007db50c72a1ebc221fd55214c01b764d9553ee14d9f573993a4ab372ca5faf43144eccc03534bfde3eccae7cd0e7fa438f8e06f2a62e6cb347499f75a828b2898a4ec5da43986656a05841cb9f470f158044eace8a15e9d879aff28b865b7d081062fb030710003837bf7d7f0b8a0cb779a640a42d59540d16034aacf8768 (12) Message-Authenticator = 0x00000000000000000000000000000000 (12) State = 0xb96c70f8b56247a877ea72b373cfca2f (12) Finished request Waking up in 0.8 seconds. (9) Cleaning up request packet ID 209 with timestamp +14 due to cleanup_delay was reached Waking up in 1.4 seconds. (13) Received Access-Request Id 213 from 10.78.1.215:1645 to 10.78.5.223:1645 length 424 (13) User-Name = "anonymous" (13) Service-Type = Framed-User (13) Cisco-AVPair = "service-type=Framed" (13) Framed-MTU = 1500 (13) Called-Station-Id = "00-3C-10-AB-A2-8A" (13) Calling-Station-Id = "C8-F7-50-08-DD-9F" (13) EAP-Message = 0x020e00a63701170303009b0000000000000008d4fd60c5e860e1ce002235eb4cd747998027f11c8a7ac4e6228e0e3ab1935b043cebc9760c501258c6f35f414e2b8ea8f811eefea4569baf8ff638547e6cc61fd0c368049b25b72a7cd878dd805edb651fba526676d8cb7e7d9ff1644726132ac24f976d19bb75c5945573d2071342aa9693a96a190e6087f4fec00f177c793299136ef483d2fe58fdb309645b3b22e462d41a (13) Message-Authenticator = 0xf9df7f9a362be755a0d88d4a669cc2ed (13) Cisco-AVPair = "audit-session-id=0A4E01D7000007122D1A1862" (13) Cisco-AVPair = "method=dot1x" (13) NAS-IP-Address = 10.78.1.215 (13) NAS-Port-Id = "GigabitEthernet1/0/10" (13) NAS-Port-Type = Ethernet (13) NAS-Port = 50110 (13) State = 0xb96c70f8b56247a877ea72b373cfca2f (13) Restoring &session-state (13) &session-state:Framed-MTU = 984 (13) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3 Handshake, ClientHello" (13) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHello" (13) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Certificate" (13) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerKeyExchange" (13) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHelloDone" (13) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake, ClientKeyExchange" (13) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake, Finished" (13) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 ChangeCipherSpec" (13) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Finished" (13) &session-state:TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384" (13) &session-state:TLS-Session-Version = "TLS 1.2" (13) # Executing section authorize from file /etc/freeradius-server-3.2.x/raddb/sites-enabled/default (13) authorize { (13) policy filter_username { (13) if (&User-Name) { (13) if (&User-Name) -> TRUE (13) if (&User-Name) { (13) if (&User-Name =~ / /) { (13) if (&User-Name =~ / /) -> FALSE (13) if (&User-Name =~ /@[^@]*@/ ) { (13) if (&User-Name =~ /@[^@]*@/ ) -> FALSE (13) if (&User-Name =~ /\.\./ ) { (13) if (&User-Name =~ /\.\./ ) -> FALSE (13) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) { (13) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE (13) if (&User-Name =~ /\.$/) { (13) if (&User-Name =~ /\.$/) -> FALSE (13) if (&User-Name =~ /@\./) { (13) if (&User-Name =~ /@\./) -> FALSE (13) } # if (&User-Name) = notfound (13) } # policy filter_username = notfound (13) [preprocess] = ok (13) [chap] = noop (13) [mschap] = noop (13) [digest] = noop (13) suffix: Checking for suffix after "@" (13) suffix: No '@' in User-Name = "anonymous", looking up realm NULL (13) suffix: No such realm "NULL" (13) [suffix] = noop (13) eap: Peer sent EAP Response (code 2) ID 14 length 166 (13) eap: Continuing tunnel setup (13) [eap] = ok (13) } # authorize = ok (13) Found Auth-Type = eap (13) # Executing group from file /etc/freeradius-server-3.2.x/raddb/sites-enabled/default (13) authenticate { (13) eap: Removing EAP session with state 0xb96c70f8b56247a8 (13) eap: Previous EAP request found for state 0xb96c70f8b56247a8, released from the list (13) eap: Peer sent packet with method EAP TEAP (55) (13) eap: Calling submodule eap_teap to process data (13) eap_teap: Authenticate (13) eap_teap: (TLS) EAP Done initial handshake (13) eap_teap: Session established. Proceeding to decode tunneled attributes (13) eap_teap: Got Tunneled TEAP TLVs (13) eap_teap: FreeRADIUS-EAP-TEAP-Crypto-Binding = 0x0001012120d4a17ea3e426b59e5ba4890e39fa9b1d90231cee551afab4560f20713d4dd30000000000000000000000000000000000000000eded82e4898493cf26b6208f3d491c1c9aa998cb (13) eap_teap: FreeRADIUS-EAP-TEAP-Intermediate-Result = Success (13) eap_teap: FreeRADIUS-EAP-TEAP-Identity-Type = Machine (13) eap_teap: FreeRADIUS-EAP-TEAP-EAP-Payload = 0x020e002301686f73742f6d617274696e2d746573742d636f6d70757465722d63657274 (13) eap_teap: Crypto-Binding TLV version mis-match (possible downgrade attack!) (13) eap: ERROR: Failed continuing EAP TEAP (55) session. EAP sub-module failed (13) eap: Sending EAP Failure (code 4) ID 14 length 4 (13) eap: Failed in EAP select (13) [eap] = invalid (13) } # authenticate = invalid (13) Failed to authenticate the user (13) Using Post-Auth-Type Reject (13) # Executing group from file /etc/freeradius-server-3.2.x/raddb/sites-enabled/default (13) Post-Auth-Type REJECT { (13) attr_filter.access_reject: EXPAND %{User-Name} (13) attr_filter.access_reject: --> anonymous (13) attr_filter.access_reject: Matched entry DEFAULT at line 11 (13) [attr_filter.access_reject] = updated (13) [eap] = noop (13) policy remove_reply_message_if_eap { (13) if (&reply:EAP-Message && &reply:Reply-Message) { (13) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE (13) else { (13) [noop] = noop (13) } # else = noop (13) } # policy remove_reply_message_if_eap = noop (13) } # Post-Auth-Type REJECT = updated (13) Delaying response for 1.000000 seconds Waking up in 0.3 seconds. Waking up in 0.4 seconds. (10) Cleaning up request packet ID 210 with timestamp +15 due to cleanup_delay was reached Waking up in 0.2 seconds. (13) Sending delayed response (13) Sent Access-Reject Id 213 from 10.78.5.223:1645 to 10.78.1.215:1645 length 44 (13) EAP-Message = 0x040e0004 (13) Message-Authenticator = 0x00000000000000000000000000000000 Waking up in 1.2 seconds. (11) Cleaning up request packet ID 211 with timestamp +17 due to cleanup_delay was reached Waking up in 1.2 seconds. (12) Cleaning up request packet ID 212 with timestamp +18 due to cleanup_delay was reached Waking up in 1.5 seconds. (13) Cleaning up request packet ID 213 with timestamp +20 due to cleanup_delay was reached Ready to process requests Am Mi., 4. Dez. 2024 um 18:48 Uhr schrieb Alan DeKok < aland@deployingradius.com>:
On Dec 4, 2024, at 6:38 AM, Alan DeKok <aland@deployingradius.com> wrote:
So let's try some FreeRADIUS configuration magic. This is undocumented right now, because "TEAP", but here goes:
In the interest of *not* hating people who use TEAP, I've pushed some patches. They are "compile tested", but I haven't had time to do full TEAP tests.
Please test and see if they work.
The changes are to the TEAP configuration: https://github.com/FreeRADIUS/freeradius-server/blob/v3.2.x/raddb/mods-avail...
Set
identity_types = "machine,user"
to do first machine, then user
set
# user_eap_type = mschapv2 # machine_eap_type = tls
to set EAP types for each type of authentication.
The server *should* automatically figure out what to do.
As with most things, these settings can be over-ridden at run time by defining attributes. See the comments in the TEAP module for further documentation.
Alan DeKok.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
On Dec 5, 2024, at 5:16 AM, Martin B. via Freeradius-Users <freeradius-users@lists.freeradius.org> wrote:
I had to change this:
OK, that's fine.
- It looks like the server does not accept multiple values in "identity_types": /etc/freeradius-server-3.2.x/raddb/mods-enabled/eap[1145]: Invalid value in identity_types = 'machine,user' rlm_eap (EAP): Failed to initialise rlm_eap_teap /etc/freeradius-server-3.2.x/raddb/mods-enabled/eap[14]: Instantiation failed for module "eap"
I'll push a fix for that shortly.
- even though the server will start when I only give "machine" or "user", it will ignore whatever is given there and do "machine,user"
The debug log shows it doing only Machine.
- when doing "machine,user", the server throws an error after the machine is authenticated (13) eap_teap: Crypto-Binding TLV version mis-match (possible downgrade attack!) (13) eap: ERROR: Failed continuing EAP TEAP (55) session. EAP sub-module failed
I'll take a look. I'm not sure what's happening there, but I've pushed some more debug messages which may help clarify the issues. Alan DeKok.
The debug log shows it doing only Machine.
Ah yes, you are right. The server does not change the Identity-Type and is just requesting Machine again:
(12) eap_teap: &session-state:FreeRADIUS-EAP-TEAP-TLV-Identity-Type set so continuing EAP sequence/chaining
...
(13) eap_teap: Got Tunneled TEAP TLVs
(13) eap_teap: FreeRADIUS-EAP-TEAP-Crypto-Binding =
0x0001012120d4a17ea3e426b59e5ba4890e39fa9b1d90231cee551afab4 560f20713d4dd30000000000000000000000000000000000000000eded82 e4898493cf26b6208f3d491c1c9aa998cb
(13) eap_teap: FreeRADIUS-EAP-TEAP-Intermediate-Result = Success (13) eap_teap: FreeRADIUS-EAP-TEAP-Identity-Type = Machine (13) eap_teap: FreeRADIUS-EAP-TEAP-EAP-Payload =
0x020e002301686f73742f6d617274696e2d746573742d636f6d70757465722d63657274
I'll take a look. I'm not sure what's happening there, but I've pushed
some more debug messages which may help clarify the issues.
FreeRADIUS Version 3.2.7 Copyright (C) 1999-2023 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/local/share/freeradius/dictionary including dictionary file /usr/local/share/freeradius/dictionary.dhcp including dictionary file /usr/local/share/freeradius/dictionary.vqp including dictionary file /usr/local/etc/raddb/dictionary including configuration file /usr/local/etc/raddb/radiusd.conf including configuration file /usr/local/etc/raddb/clients.conf including files in directory /usr/local/etc/raddb/mods-enabled/ including configuration file /usr/local/etc/raddb/mods-enabled/always including configuration file /usr/local/etc/raddb/mods-enabled/attr_filter including configuration file /usr/local/etc/raddb/mods-enabled/chap including configuration file /usr/local/etc/raddb/mods-enabled/date including configuration file /usr/local/etc/raddb/mods-enabled/detail including configuration file /usr/local/etc/raddb/mods-enabled/detail.log including configuration file /usr/local/etc/raddb/mods-enabled/digest including configuration file /usr/local/etc/raddb/mods-enabled/dynamic_clients including configuration file /usr/local/etc/raddb/mods-enabled/eap including configuration file /usr/local/etc/raddb/mods-enabled/echo including configuration file /usr/local/etc/raddb/mods-enabled/exec including configuration file /usr/local/etc/raddb/mods-enabled/expiration including configuration file /usr/local/etc/raddb/mods-enabled/expr including configuration file /usr/local/etc/raddb/mods-enabled/files including configuration file /usr/local/etc/raddb/mods-enabled/linelog including configuration file /usr/local/etc/raddb/mods-enabled/logintime including configuration file /usr/local/etc/raddb/mods-enabled/mschap including configuration file /usr/local/etc/raddb/mods-enabled/ntlm_auth including configuration file /usr/local/etc/raddb/mods-enabled/pap including configuration file /usr/local/etc/raddb/mods-enabled/passwd including configuration file /usr/local/etc/raddb/mods-enabled/preprocess including configuration file /usr/local/etc/raddb/mods-enabled/radutmp including configuration file /usr/local/etc/raddb/mods-enabled/realm including configuration file /usr/local/etc/raddb/mods-enabled/replicate including configuration file /usr/local/etc/raddb/mods-enabled/soh including configuration file /usr/local/etc/raddb/mods-enabled/sradutmp including configuration file /usr/local/etc/raddb/mods-enabled/totp including configuration file /usr/local/etc/raddb/mods-enabled/unix including configuration file /usr/local/etc/raddb/mods-enabled/unpack including configuration file /usr/local/etc/raddb/mods-enabled/utf8 including files in directory /usr/local/etc/raddb/policy.d/ including configuration file /usr/local/etc/raddb/policy.d/abfab-tr including configuration file /usr/local/etc/raddb/policy.d/accounting including configuration file /usr/local/etc/raddb/policy.d/canonicalization including configuration file /usr/local/etc/raddb/policy.d/control including configuration file /usr/local/etc/raddb/policy.d/cui including configuration file /usr/local/etc/raddb/policy.d/debug including configuration file /usr/local/etc/raddb/policy.d/dhcp including configuration file /usr/local/etc/raddb/policy.d/eap including configuration file /usr/local/etc/raddb/policy.d/filter including configuration file /usr/local/etc/raddb/policy.d/moonshot-targeted-ids including configuration file /usr/local/etc/raddb/policy.d/operator-name including configuration file /usr/local/etc/raddb/policy.d/rfc7542 including files in directory /usr/local/etc/raddb/sites-enabled/ including configuration file /usr/local/etc/raddb/sites-enabled/default including configuration file /usr/local/etc/raddb/sites-enabled/inner-tunnel main { security { allow_core_dumps = no } name = "radiusd" prefix = "/usr/local" localstatedir = "/usr/local/var" logdir = "/usr/local/var/log/radius" run_dir = "/usr/local/var/run/radiusd" } main { name = "radiusd" prefix = "/usr/local" localstatedir = "/usr/local/var" sbindir = "/usr/local/sbin" logdir = "/usr/local/var/log/radius" run_dir = "/usr/local/var/run/radiusd" libdir = "/usr/local/lib" radacctdir = "/usr/local/var/log/radius/radacct" hostname_lookups = no max_request_time = 30 proxy_dedup_window = 1 cleanup_delay = 5 max_requests = 16384 max_fds = 512 postauth_client_lost = no pidfile = "/usr/local/var/run/radiusd/radiusd.pid" checkrad = "/usr/local/sbin/checkrad" debug_level = 0 proxy_requests = yes log { stripped_names = no auth = no auth_badpass = no auth_goodpass = no colourise = yes msg_denied = "You are already logged in - access denied" } resources { } security { max_attributes = 200 reject_delay = 1.000000 status_server = yes require_message_authenticator = "auto" limit_proxy_state = "auto" allow_vulnerable_openssl = "no" } } radiusd: #### Loading Realms and Home Servers #### radiusd: #### Loading Clients #### client 0.0.0.0/0 { ipaddr = 0.0.0.0/0 secret = <<< secret >>> proto = "*" limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } Shared secret for client 0.0.0.0/0 is short, and likely can be broken by an attacker. Debugger not attached Configuration version: 7ed5-6990-28d9-1125 # 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 # Creating Autz-Type = New-TLS-Connection radiusd: #### Instantiating modules #### modules { # Loaded module rlm_always # Loading module "reject" from file /usr/local/etc/raddb/mods-enabled/always always reject { rcode = "reject" simulcount = 0 mpp = no } # Loading module "fail" from file /usr/local/etc/raddb/mods-enabled/always always fail { rcode = "fail" simulcount = 0 mpp = no } # Loading module "ok" from file /usr/local/etc/raddb/mods-enabled/always always ok { rcode = "ok" simulcount = 0 mpp = no } # Loading module "handled" from file /usr/local/etc/raddb/mods-enabled/always always handled { rcode = "handled" simulcount = 0 mpp = no } # Loading module "invalid" from file /usr/local/etc/raddb/mods-enabled/always always invalid { rcode = "invalid" simulcount = 0 mpp = no } # Loading module "userlock" from file /usr/local/etc/raddb/mods-enabled/always always userlock { rcode = "userlock" simulcount = 0 mpp = no } # Loading module "notfound" from file /usr/local/etc/raddb/mods-enabled/always always notfound { rcode = "notfound" simulcount = 0 mpp = no } # Loading module "noop" from file /usr/local/etc/raddb/mods-enabled/always always noop { rcode = "noop" simulcount = 0 mpp = no } # Loading module "updated" from file /usr/local/etc/raddb/mods-enabled/always always updated { rcode = "updated" simulcount = 0 mpp = no } # Loaded module rlm_attr_filter # Loading module "attr_filter.post-proxy" from file /usr/local/etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.post-proxy { filename = "/usr/local/etc/raddb/mods-config/attr_filter/post-proxy" key = "%{Realm}" relaxed = no } # Loading module "attr_filter.pre-proxy" from file /usr/local/etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.pre-proxy { filename = "/usr/local/etc/raddb/mods-config/attr_filter/pre-proxy" key = "%{Realm}" relaxed = no } # Loading module "attr_filter.access_reject" from file /usr/local/etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.access_reject { filename = "/usr/local/etc/raddb/mods-config/attr_filter/access_reject" key = "%{User-Name}" relaxed = no } # Loading module "attr_filter.access_challenge" from file /usr/local/etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.access_challenge { filename = "/usr/local/etc/raddb/mods-config/attr_filter/access_challenge" key = "%{User-Name}" relaxed = no } # Loading module "attr_filter.accounting_response" from file /usr/local/etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.accounting_response { filename = "/usr/local/etc/raddb/mods-config/attr_filter/accounting_response" key = "%{User-Name}" relaxed = no } # Loading module "attr_filter.coa" from file /usr/local/etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.coa { filename = "/usr/local/etc/raddb/mods-config/attr_filter/coa" key = "%{User-Name}" relaxed = no } # Loaded module rlm_chap # Loading module "chap" from file /usr/local/etc/raddb/mods-enabled/chap # Loaded module rlm_date # Loading module "date" from file /usr/local/etc/raddb/mods-enabled/date date { format = "%b %e %Y %H:%M:%S %Z" utc = no } # Loading module "wispr2date" from file /usr/local/etc/raddb/mods-enabled/date date wispr2date { format = "%Y-%m-%dT%H:%M:%S" utc = no } # Loaded module rlm_detail # Loading module "detail" from file /usr/local/etc/raddb/mods-enabled/detail detail { filename = "/usr/local/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d" header = "%t" permissions = 384 locking = no dates_as_integer = no escape_filenames = no log_packet_header = no } # Loading module "auth_log" from file /usr/local/etc/raddb/mods-enabled/detail.log detail auth_log { filename = "/usr/local/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d" header = "%t" permissions = 384 locking = no dates_as_integer = no escape_filenames = no log_packet_header = no } # Loading module "reply_log" from file /usr/local/etc/raddb/mods-enabled/detail.log detail reply_log { filename = "/usr/local/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/reply-detail-%Y%m%d" header = "%t" permissions = 384 locking = no dates_as_integer = no escape_filenames = no log_packet_header = no } # Loading module "pre_proxy_log" from file /usr/local/etc/raddb/mods-enabled/detail.log detail pre_proxy_log { filename = "/usr/local/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/pre-proxy-detail-%Y%m%d" header = "%t" permissions = 384 locking = no dates_as_integer = no escape_filenames = no log_packet_header = no } # Loading module "post_proxy_log" from file /usr/local/etc/raddb/mods-enabled/detail.log detail post_proxy_log { filename = "/usr/local/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/post-proxy-detail-%Y%m%d" header = "%t" permissions = 384 locking = no dates_as_integer = no escape_filenames = no log_packet_header = no } # Loaded module rlm_digest # Loading module "digest" from file /usr/local/etc/raddb/mods-enabled/digest # Loaded module rlm_dynamic_clients # Loading module "dynamic_clients" from file /usr/local/etc/raddb/mods-enabled/dynamic_clients # Loaded module rlm_eap # Loading module "eap" from file /usr/local/etc/raddb/mods-enabled/eap eap { default_eap_type = "teap" timer_expire = 60 max_eap_type = 52 ignore_unknown_eap_types = no cisco_accounting_username_bug = no max_sessions = 16384 dedup_key = "" } # Loaded module rlm_exec # Loading module "echo" from file /usr/local/etc/raddb/mods-enabled/echo exec echo { wait = yes program = "/bin/echo %{User-Name}" input_pairs = "request" output_pairs = "reply" shell_escape = yes } # Loading module "exec" from file /usr/local/etc/raddb/mods-enabled/exec exec { wait = no input_pairs = "request" shell_escape = yes timeout = 10 } # Loaded module rlm_expiration # Loading module "expiration" from file /usr/local/etc/raddb/mods-enabled/expiration # Loaded module rlm_expr # Loading module "expr" from file /usr/local/etc/raddb/mods-enabled/expr expr { safe_characters = "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /äéöüàâæçèéêëîïôœùûüaÿÄÉÖÜßÀÂÆÇÈÉÊËÎÏÔŒÙÛÜŸ" } # Loaded module rlm_files # Loading module "files" from file /usr/local/etc/raddb/mods-enabled/files files { filename = "/usr/local/etc/raddb/mods-config/files/authorize" acctusersfile = "/usr/local/etc/raddb/mods-config/files/accounting" preproxy_usersfile = "/usr/local/etc/raddb/mods-config/files/pre-proxy" } # Loaded module rlm_linelog # Loading module "linelog" from file /usr/local/etc/raddb/mods-enabled/linelog linelog { filename = "/usr/local/var/log/radius/linelog" escape_filenames = no syslog_severity = "info" permissions = 384 format = "This is a log message for %{User-Name}" reference = "messages.%{%{reply:Packet-Type}:-default}" } # Loading module "log_accounting" from file /usr/local/etc/raddb/mods-enabled/linelog linelog log_accounting { filename = "/usr/local/var/log/radius/linelog-accounting" escape_filenames = no syslog_severity = "info" permissions = 384 format = "" reference = "Accounting-Request.%{%{Acct-Status-Type}:-unknown}" } # Loaded module rlm_logintime # Loading module "logintime" from file /usr/local/etc/raddb/mods-enabled/logintime logintime { minimum_timeout = 60 } # Loaded module rlm_mschap # Loading module "mschap" from file /usr/local/etc/raddb/mods-enabled/mschap mschap { use_mppe = yes require_encryption = no require_strong = no with_ntdomain_hack = yes passchange { } allow_retry = yes winbind_retry_with_normalised_username = no } # Loading module "ntlm_auth" from file /usr/local/etc/raddb/mods-enabled/ntlm_auth exec ntlm_auth { wait = yes program = "/path/to/ntlm_auth --request-nt-key --domain=MYDOMAIN --username=%{mschap:User-Name} --password=%{User-Password}" shell_escape = yes } # Loaded module rlm_pap # Loading module "pap" from file /usr/local/etc/raddb/mods-enabled/pap pap { normalise = yes } # Loaded module rlm_passwd # Loading module "etc_passwd" from file /usr/local/etc/raddb/mods-enabled/passwd passwd etc_passwd { filename = "/etc/passwd" format = "*User-Name:Crypt-Password:" delimiter = ":" ignore_nislike = no ignore_empty = yes allow_multiple_keys = no hash_size = 100 } # Loaded module rlm_preprocess # Loading module "preprocess" from file /usr/local/etc/raddb/mods-enabled/preprocess preprocess { huntgroups = "/usr/local/etc/raddb/mods-config/preprocess/huntgroups" hints = "/usr/local/etc/raddb/mods-config/preprocess/hints" with_ascend_hack = no ascend_channels_per_line = 23 with_ntdomain_hack = no with_specialix_jetstream_hack = no with_cisco_vsa_hack = no with_alvarion_vsa_hack = no } # Loaded module rlm_radutmp # Loading module "radutmp" from file /usr/local/etc/raddb/mods-enabled/radutmp radutmp { filename = "/usr/local/var/log/radius/radutmp" username = "%{User-Name}" case_sensitive = yes check_with_nas = yes permissions = 384 caller_id = yes } # Loaded module rlm_realm # Loading module "IPASS" from file /usr/local/etc/raddb/mods-enabled/realm realm IPASS { format = "prefix" delimiter = "/" ignore_default = no ignore_null = no } # Loading module "suffix" from file /usr/local/etc/raddb/mods-enabled/realm realm suffix { format = "suffix" delimiter = "@" ignore_default = no ignore_null = no } # Loading module "bangpath" from file /usr/local/etc/raddb/mods-enabled/realm realm bangpath { format = "prefix" delimiter = "!" ignore_default = no ignore_null = no } # Loading module "realmpercent" from file /usr/local/etc/raddb/mods-enabled/realm realm realmpercent { format = "suffix" delimiter = "%" ignore_default = no ignore_null = no } # Loading module "ntdomain" from file /usr/local/etc/raddb/mods-enabled/realm realm ntdomain { format = "prefix" delimiter = "\" ignore_default = no ignore_null = no } # Loaded module rlm_replicate # Loading module "replicate" from file /usr/local/etc/raddb/mods-enabled/replicate # Loaded module rlm_soh # Loading module "soh" from file /usr/local/etc/raddb/mods-enabled/soh soh { dhcp = yes } # Loading module "sradutmp" from file /usr/local/etc/raddb/mods-enabled/sradutmp radutmp sradutmp { filename = "/usr/local/var/log/radius/sradutmp" username = "%{User-Name}" case_sensitive = yes check_with_nas = yes permissions = 420 caller_id = no } # Loaded module rlm_totp # Loading module "totp" from file /usr/local/etc/raddb/mods-enabled/totp totp { time_step = 30 otp_length = 6 lookback_steps = 1 lookback_interval = 30 lookforward_steps = 0 } # Loaded module rlm_unix # Loading module "unix" from file /usr/local/etc/raddb/mods-enabled/unix unix { radwtmp = "/usr/local/var/log/radius/radwtmp" } Creating attribute Unix-Group # Loaded module rlm_unpack # Loading module "unpack" from file /usr/local/etc/raddb/mods-enabled/unpack # Loaded module rlm_utf8 # Loading module "utf8" from file /usr/local/etc/raddb/mods-enabled/utf8 instantiate { } # Instantiating module "reject" from file /usr/local/etc/raddb/mods-enabled/always # Instantiating module "fail" from file /usr/local/etc/raddb/mods-enabled/always # Instantiating module "ok" from file /usr/local/etc/raddb/mods-enabled/always # Instantiating module "handled" from file /usr/local/etc/raddb/mods-enabled/always # Instantiating module "invalid" from file /usr/local/etc/raddb/mods-enabled/always # Instantiating module "userlock" from file /usr/local/etc/raddb/mods-enabled/always # Instantiating module "notfound" from file /usr/local/etc/raddb/mods-enabled/always # Instantiating module "noop" from file /usr/local/etc/raddb/mods-enabled/always # Instantiating module "updated" from file /usr/local/etc/raddb/mods-enabled/always # Instantiating module "attr_filter.post-proxy" from file /usr/local/etc/raddb/mods-enabled/attr_filter reading pairlist file /usr/local/etc/raddb/mods-config/attr_filter/post-proxy # Instantiating module "attr_filter.pre-proxy" from file /usr/local/etc/raddb/mods-enabled/attr_filter reading pairlist file /usr/local/etc/raddb/mods-config/attr_filter/pre-proxy # Instantiating module "attr_filter.access_reject" from file /usr/local/etc/raddb/mods-enabled/attr_filter reading pairlist file /usr/local/etc/raddb/mods-config/attr_filter/access_reject # Instantiating module "attr_filter.access_challenge" from file /usr/local/etc/raddb/mods-enabled/attr_filter reading pairlist file /usr/local/etc/raddb/mods-config/attr_filter/access_challenge # Instantiating module "attr_filter.accounting_response" from file /usr/local/etc/raddb/mods-enabled/attr_filter reading pairlist file /usr/local/etc/raddb/mods-config/attr_filter/accounting_response # Instantiating module "attr_filter.coa" from file /usr/local/etc/raddb/mods-enabled/attr_filter reading pairlist file /usr/local/etc/raddb/mods-config/attr_filter/coa # Instantiating module "detail" from file /usr/local/etc/raddb/mods-enabled/detail # Instantiating module "auth_log" from file /usr/local/etc/raddb/mods-enabled/detail.log rlm_detail (auth_log): 'User-Password' suppressed, will not appear in detail output # Instantiating module "reply_log" from file /usr/local/etc/raddb/mods-enabled/detail.log # Instantiating module "pre_proxy_log" from file /usr/local/etc/raddb/mods-enabled/detail.log # Instantiating module "post_proxy_log" from file /usr/local/etc/raddb/mods-enabled/detail.log # Instantiating module "eap" from file /usr/local/etc/raddb/mods-enabled/eap # Linked to sub-module rlm_eap_md5 # 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 = "/usr/local/etc/raddb/certs/teap" pem_file_type = yes private_key_file = "/usr/local/etc/raddb/certs/teap/server.pem" certificate_file = "/usr/local/etc/raddb/certs/teap/server.pem" ca_file = "/usr/local/etc/raddb/certs/teap/ca.pem" private_key_password = <<< secret >>> fragment_size = 1024 include_length = yes auto_chain = yes check_crl = no check_all_crl = no ca_path_reload_interval = 0 cipher_list = "DEFAULT" cipher_server_preference = no reject_unknown_intermediate_ca = no ecdh_curve = "" tls_max_version = "1.2" tls_min_version = "1.2" cache { enable = no lifetime = 24 max_entries = 255 } verify { skip_if_ocsp_ok = no } ocsp { enable = no override_cert_url = yes url = "http://127.0.0.1/ocsp/" use_nonce = yes timeout = 0 softfail = no } } # Linked to sub-module rlm_eap_ttls ttls { tls = "tls-common" default_eap_type = "md5" copy_request_to_tunnel = no use_tunneled_reply = no virtual_server = "inner-tunnel" include_length = yes require_client_cert = no } tls: Using cached TLS configuration from previous invocation # Linked to sub-module rlm_eap_peap peap { tls = "tls-common" default_eap_type = "mschapv2" copy_request_to_tunnel = no use_tunneled_reply = no proxy_tunneled_request_as_eap = yes virtual_server = "inner-tunnel" soh = no require_client_cert = no } tls: Using cached TLS configuration from previous invocation # Linked to sub-module rlm_eap_mschapv2 mschapv2 { with_ntdomain_hack = no send_error = no } # Linked to sub-module rlm_eap_teap teap { tls = "tls-common" default_eap_type = "md5" copy_request_to_tunnel = no use_tunneled_reply = no require_client_cert = no authority_identity = "1234" virtual_server = "inner-tunnel" identity_types = "machine,user" user_eap_type = "tls" machine_eap_type = "tls" } tls: Using cached TLS configuration from previous invocation # Instantiating module "expiration" from file /usr/local/etc/raddb/mods-enabled/expiration # Instantiating module "files" from file /usr/local/etc/raddb/mods-enabled/files reading pairlist file /usr/local/etc/raddb/mods-config/files/authorize reading pairlist file /usr/local/etc/raddb/mods-config/files/accounting reading pairlist file /usr/local/etc/raddb/mods-config/files/pre-proxy # Instantiating module "linelog" from file /usr/local/etc/raddb/mods-enabled/linelog # Instantiating module "log_accounting" from file /usr/local/etc/raddb/mods-enabled/linelog # Instantiating module "logintime" from file /usr/local/etc/raddb/mods-enabled/logintime # Instantiating module "mschap" from file /usr/local/etc/raddb/mods-enabled/mschap rlm_mschap (mschap): using internal authentication # Instantiating module "pap" from file /usr/local/etc/raddb/mods-enabled/pap # Instantiating module "etc_passwd" from file /usr/local/etc/raddb/mods-enabled/passwd rlm_passwd: nfields: 3 keyfield 0(User-Name) listable: no # Instantiating module "preprocess" from file /usr/local/etc/raddb/mods-enabled/preprocess reading pairlist file /usr/local/etc/raddb/mods-config/preprocess/huntgroups reading pairlist file /usr/local/etc/raddb/mods-config/preprocess/hints # Instantiating module "IPASS" from file /usr/local/etc/raddb/mods-enabled/realm # Instantiating module "suffix" from file /usr/local/etc/raddb/mods-enabled/realm # Instantiating module "bangpath" from file /usr/local/etc/raddb/mods-enabled/realm # Instantiating module "realmpercent" from file /usr/local/etc/raddb/mods-enabled/realm # Instantiating module "ntdomain" from file /usr/local/etc/raddb/mods-enabled/realm # Instantiating module "totp" from file /usr/local/etc/raddb/mods-enabled/totp } # modules radiusd: #### Loading Virtual Servers #### server { # from file /usr/local/etc/raddb/radiusd.conf } # server server default { # from file /usr/local/etc/raddb/sites-enabled/default # Loading authenticate {...} Compiling Auth-Type PAP for attr Auth-Type Compiling Auth-Type CHAP for attr Auth-Type Compiling Auth-Type MS-CHAP for attr Auth-Type # Loading authorize {...} Ignoring "sql" (see raddb/mods-available/README.rst) Ignoring "ldap" (see raddb/mods-available/README.rst) Compiling Autz-Type New-TLS-Connection for attr Autz-Type # Loading preacct {...} # Loading accounting {...} # Loading post-proxy {...} # Loading post-auth {...} Compiling Post-Auth-Type REJECT for attr Post-Auth-Type Compiling Post-Auth-Type Challenge for attr Post-Auth-Type Compiling Post-Auth-Type Client-Lost for attr Post-Auth-Type } # server default server inner-tunnel { # from file /usr/local/etc/raddb/sites-enabled/inner-tunnel # Loading authenticate {...} Compiling Auth-Type PAP for attr Auth-Type Compiling Auth-Type CHAP for attr Auth-Type Compiling Auth-Type MS-CHAP for attr Auth-Type # Loading authorize {...} # Loading session {...} # Loading post-proxy {...} # Loading post-auth {...} # Skipping contents of 'if' as it is always 'false' -- /usr/local/etc/raddb/sites-enabled/inner-tunnel:366 Compiling Post-Auth-Type REJECT for attr Post-Auth-Type } # server inner-tunnel radiusd: #### Opening IP addresses and Ports #### listen { type = "auth" ipaddr = * port = 1645 limit { max_connections = 16 lifetime = 0 idle_timeout = 900 } } listen { type = "auth" ipaddr = 127.0.0.1 port = 18120 } Listening on auth address * port 1645 bound to server default Listening on auth address 127.0.0.1 port 18120 bound to server inner-tunnel Ready to process requests (0) Received Access-Request Id 44 from 10.78.1.215:1645 to 10.78.5.223:1645 length 260 (0) User-Name = "anonymous" (0) Service-Type = Framed-User (0) Cisco-AVPair = "service-type=Framed" (0) Framed-MTU = 1500 (0) Called-Station-Id = "00-3C-10-AB-A2-8A" (0) Calling-Station-Id = "C8-F7-50-08-DD-9F" (0) EAP-Message = 0x0201000e01616e6f6e796d6f7573 (0) Message-Authenticator = 0x6952f87e994dc9cd99c35142794587f4 (0) Cisco-AVPair = "audit-session-id=0A4E01D7000007352E347F3C" (0) Cisco-AVPair = "method=dot1x" (0) Framed-IP-Address = 10.78.5.3 (0) NAS-IP-Address = 10.78.1.215 (0) NAS-Port-Id = "GigabitEthernet1/0/10" (0) NAS-Port-Type = Ethernet (0) NAS-Port = 50110 (0) # Executing section authorize from file /usr/local/etc/raddb/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 = "anonymous", looking up realm NULL (0) suffix: No such realm "NULL" (0) [suffix] = noop (0) eap: Peer sent EAP Response (code 2) ID 1 length 14 (0) eap: EAP-Identity reply, returning 'ok' so we can short-circuit the rest of authorize (0) [eap] = ok (0) } # authorize = ok (0) Found Auth-Type = eap (0) # Executing group from file /usr/local/etc/raddb/sites-enabled/default (0) authenticate { (0) eap: Peer sent packet with method EAP Identity (1) (0) eap: Calling submodule eap_teap to process data (0) eap_teap: (TLS) TEAP -Initiating new session (0) eap_teap: Setting &session-state:FreeRADIUS-EAP-TEAP-Identity-Type = Machine (0) eap_teap: Followed by &session-state:FreeRADIUS-EAP-TEAP-Identity-Type += Machine (0) eap: Sending EAP Request (code 1) ID 2 length 18 (0) eap: EAP session adding &reply:State = 0x7a596d877a5b5a00 (0) [eap] = handled (0) } # authenticate = handled (0) Using Post-Auth-Type Challenge (0) # Executing group from file /usr/local/etc/raddb/sites-enabled/default (0) Challenge { ... } # empty sub-section is ignored (0) session-state: Saving cached attributes (0) Framed-MTU = 984 (0) FreeRADIUS-EAP-TEAP-Identity-Type := Machine (0) FreeRADIUS-EAP-TEAP-Identity-Type += Machine (0) Sent Access-Challenge Id 44 from 10.78.5.223:1645 to 10.78.1.215:1645 length 76 (0) EAP-Message = 0x010200123731000000080001000431323334 (0) Message-Authenticator = 0x00000000000000000000000000000000 (0) State = 0x7a596d877a5b5a006aa56f4f6e83cec8 (0) Finished request Waking up in 4.9 seconds. (1) Received Access-Request Id 45 from 10.78.1.215:1645 to 10.78.5.223:1645 length 426 (1) User-Name = "anonymous" (1) Service-Type = Framed-User (1) Cisco-AVPair = "service-type=Framed" (1) Framed-MTU = 1500 (1) Called-Station-Id = "00-3C-10-AB-A2-8A" (1) Calling-Station-Id = "C8-F7-50-08-DD-9F" (1) EAP-Message = 0x020200a2370116030300970100009303036751c4c6985ecbcc8fcb6e087c39a49b677dcc21b6b739ec711dd627ed012992000024c02cc02bc030c02fc024c023c028c027c00ac009c014c013009d009c003d003c0035002f01000046000500050100000000000a00080006001d00170018000b00020100000d001a00180804080508060401050102010403050302030202060106030023000000170000ff01000100 (1) Message-Authenticator = 0xb9258eba55b67ef5e40695b6e9d63750 (1) Cisco-AVPair = "audit-session-id=0A4E01D7000007352E347F3C" (1) Cisco-AVPair = "method=dot1x" (1) Framed-IP-Address = 10.78.5.3 (1) NAS-IP-Address = 10.78.1.215 (1) NAS-Port-Id = "GigabitEthernet1/0/10" (1) NAS-Port-Type = Ethernet (1) NAS-Port = 50110 (1) State = 0x7a596d877a5b5a006aa56f4f6e83cec8 (1) Restoring &session-state (1) &session-state:Framed-MTU = 984 (1) &session-state:FreeRADIUS-EAP-TEAP-Identity-Type := Machine (1) &session-state:FreeRADIUS-EAP-TEAP-Identity-Type += Machine (1) # Executing section authorize from file /usr/local/etc/raddb/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 = "anonymous", looking up realm NULL (1) suffix: No such realm "NULL" (1) [suffix] = noop (1) eap: Peer sent EAP Response (code 2) ID 2 length 162 (1) eap: Continuing tunnel setup (1) [eap] = ok (1) } # authorize = ok (1) Found Auth-Type = eap (1) # Executing group from file /usr/local/etc/raddb/sites-enabled/default (1) authenticate { (1) eap: Removing EAP session with state 0x7a596d877a5b5a00 (1) eap: Previous EAP request found for state 0x7a596d877a5b5a00, released from the list (1) eap: Peer sent packet with method EAP TEAP (55) (1) eap: Calling submodule eap_teap to process data (1) eap_teap: Authenticate (1) eap_teap: (TLS) EAP Got final fragment (156 bytes) (1) eap_teap: WARNING: (TLS) EAP Total received record fragments (156 bytes), does not equal expected expected data length (0 bytes) (1) eap_teap: (TLS) EAP Done initial handshake (1) eap_teap: (TLS) TEAP - Handshake state - before SSL initialization (1) eap_teap: (TLS) TEAP - Handshake state - Server before SSL initialization (1) eap_teap: (TLS) TEAP - Handshake state - Server before SSL initialization (1) eap_teap: (TLS) TEAP - recv TLS 1.3 Handshake, ClientHello (1) eap_teap: (TLS) TEAP - Handshake state - Server SSLv3/TLS read client hello (1) eap_teap: (TLS) TEAP - send TLS 1.2 Handshake, ServerHello (1) eap_teap: (TLS) TEAP - Handshake state - Server SSLv3/TLS write server hello (1) eap_teap: (TLS) TEAP - send TLS 1.2 Handshake, Certificate (1) eap_teap: (TLS) TEAP - Handshake state - Server SSLv3/TLS write certificate (1) eap_teap: (TLS) TEAP - send TLS 1.2 Handshake, ServerKeyExchange (1) eap_teap: (TLS) TEAP - Handshake state - Server SSLv3/TLS write key exchange (1) eap_teap: (TLS) TEAP - send TLS 1.2 Handshake, ServerHelloDone (1) eap_teap: (TLS) TEAP - Handshake state - Server SSLv3/TLS write server done (1) eap_teap: (TLS) TEAP - Server : Need to read more data: SSLv3/TLS write server done (1) eap_teap: (TLS) TEAP - In Handshake Phase (1) eap: Sending EAP Request (code 1) ID 3 length 994 (1) eap: EAP session adding &reply:State = 0x7a596d877b5a5a00 (1) [eap] = handled (1) } # authenticate = handled (1) Using Post-Auth-Type Challenge (1) # Executing group from file /usr/local/etc/raddb/sites-enabled/default (1) Challenge { ... } # empty sub-section is ignored (1) session-state: Saving cached attributes (1) Framed-MTU = 984 (1) FreeRADIUS-EAP-TEAP-Identity-Type := Machine (1) FreeRADIUS-EAP-TEAP-Identity-Type += Machine (1) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3 Handshake, ClientHello" (1) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHello" (1) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Certificate" (1) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerKeyExchange" (1) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHelloDone" (1) Sent Access-Challenge Id 45 from 10.78.5.223:1645 to 10.78.1.215:1645 length 1058 (1) EAP-Message = 0x010303e237c100000975160303003d0200003903031d4cac53bfecee4ad0f4c400a7c87d848c3b37a6ace5e3bdb68177030ca86ea400c030000011ff01000100000b0004030001020017000016030307f40b0007f00007ed0003ac308203a830820290a003020102020105300d06092a864886f70d01010b05003068310b3009060355040613024445310f300d06035504070c06426f6368756d312f302d060355040a0c2649534c20496e7465726e65742053696368657268656974736c6f6573756e67656e20476d62483117301506035504030c0e6d617274696e2d746573742d6361301e170d3234313230323135333931365a170d3334313133303135333931365a307c310b3009060355040613024445310f300d06035504070c06426f6368756d312f302d060355040a0c2649534c20496e7465726e65742053696368657268656974736c6f6573756e67656e20476d6248312b302906035504030c226d617274696e2d746573742d7261646975732d73657276 (1) Message-Authenticator = 0x00000000000000000000000000000000 (1) State = 0x7a596d877b5a5a006aa56f4f6e83cec8 (1) Finished request Waking up in 4.9 seconds. (2) Received Access-Request Id 46 from 10.78.1.215:1645 to 10.78.5.223:1645 length 270 (2) User-Name = "anonymous" (2) Service-Type = Framed-User (2) Cisco-AVPair = "service-type=Framed" (2) Framed-MTU = 1500 (2) Called-Station-Id = "00-3C-10-AB-A2-8A" (2) Calling-Station-Id = "C8-F7-50-08-DD-9F" (2) EAP-Message = 0x020300063701 (2) Message-Authenticator = 0xcc12be8025179f2f60cd640c6e82b94c (2) Cisco-AVPair = "audit-session-id=0A4E01D7000007352E347F3C" (2) Cisco-AVPair = "method=dot1x" (2) Framed-IP-Address = 10.78.5.3 (2) NAS-IP-Address = 10.78.1.215 (2) NAS-Port-Id = "GigabitEthernet1/0/10" (2) NAS-Port-Type = Ethernet (2) NAS-Port = 50110 (2) State = 0x7a596d877b5a5a006aa56f4f6e83cec8 (2) Restoring &session-state (2) &session-state:Framed-MTU = 984 (2) &session-state:FreeRADIUS-EAP-TEAP-Identity-Type := Machine (2) &session-state:FreeRADIUS-EAP-TEAP-Identity-Type += Machine (2) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3 Handshake, ClientHello" (2) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHello" (2) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Certificate" (2) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerKeyExchange" (2) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHelloDone" (2) # Executing section authorize from file /usr/local/etc/raddb/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 = "anonymous", 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 /usr/local/etc/raddb/sites-enabled/default (2) authenticate { (2) eap: Removing EAP session with state 0x7a596d877b5a5a00 (2) eap: Previous EAP request found for state 0x7a596d877b5a5a00, released from the list (2) eap: Peer sent packet with method EAP TEAP (55) (2) eap: Calling submodule eap_teap to process data (2) eap_teap: Authenticate (2) eap_teap: (TLS) Peer ACKed our handshake fragment (2) eap: Sending EAP Request (code 1) ID 4 length 990 (2) eap: EAP session adding &reply:State = 0x7a596d87785d5a00 (2) [eap] = handled (2) } # authenticate = handled (2) Using Post-Auth-Type Challenge (2) # Executing group from file /usr/local/etc/raddb/sites-enabled/default (2) Challenge { ... } # empty sub-section is ignored (2) session-state: Saving cached attributes (2) Framed-MTU = 984 (2) FreeRADIUS-EAP-TEAP-Identity-Type := Machine (2) FreeRADIUS-EAP-TEAP-Identity-Type += Machine (2) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3 Handshake, ClientHello" (2) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHello" (2) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Certificate" (2) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerKeyExchange" (2) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHelloDone" (2) Sent Access-Challenge Id 46 from 10.78.5.223:1645 to 10.78.1.215:1645 length 1054 (2) EAP-Message = 0x010403de3741394b7024725e8f9514edfd4ea11b2bbd6fff95bcba6081b3679fa0b5d58c8d0351edf51bfd00043b308204373082031fa00302010202146837d2898be29a5a56edbd7008ad02b855b72ecc300d06092a864886f70d01010b05003068310b3009060355040613024445310f300d06035504070c06426f6368756d312f302d060355040a0c2649534c20496e7465726e65742053696368657268656974736c6f6573756e67656e20476d62483117301506035504030c0e6d617274696e2d746573742d6361301e170d3234313132313133303935315a170d3334313131393133303935315a3068310b3009060355040613024445310f300d06035504070c06426f6368756d312f302d060355040a0c2649534c20496e7465726e65742053696368657268656974736c6f6573756e67656e20476d62483117301506035504030c0e6d617274696e2d746573742d636130820122300d06092a864886f70d01010105000382010f003082010a0282010100d439 (2) Message-Authenticator = 0x00000000000000000000000000000000 (2) State = 0x7a596d87785d5a006aa56f4f6e83cec8 (2) Finished request Waking up in 4.9 seconds. (3) Received Access-Request Id 47 from 10.78.1.215:1645 to 10.78.5.223:1645 length 270 (3) User-Name = "anonymous" (3) Service-Type = Framed-User (3) Cisco-AVPair = "service-type=Framed" (3) Framed-MTU = 1500 (3) Called-Station-Id = "00-3C-10-AB-A2-8A" (3) Calling-Station-Id = "C8-F7-50-08-DD-9F" (3) EAP-Message = 0x020400063701 (3) Message-Authenticator = 0xcccf55c556037e14c21a845197bee436 (3) Cisco-AVPair = "audit-session-id=0A4E01D7000007352E347F3C" (3) Cisco-AVPair = "method=dot1x" (3) Framed-IP-Address = 10.78.5.3 (3) NAS-IP-Address = 10.78.1.215 (3) NAS-Port-Id = "GigabitEthernet1/0/10" (3) NAS-Port-Type = Ethernet (3) NAS-Port = 50110 (3) State = 0x7a596d87785d5a006aa56f4f6e83cec8 (3) Restoring &session-state (3) &session-state:Framed-MTU = 984 (3) &session-state:FreeRADIUS-EAP-TEAP-Identity-Type := Machine (3) &session-state:FreeRADIUS-EAP-TEAP-Identity-Type += Machine (3) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3 Handshake, ClientHello" (3) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHello" (3) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Certificate" (3) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerKeyExchange" (3) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHelloDone" (3) # Executing section authorize from file /usr/local/etc/raddb/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 = "anonymous", 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 /usr/local/etc/raddb/sites-enabled/default (3) authenticate { (3) eap: Removing EAP session with state 0x7a596d87785d5a00 (3) eap: Previous EAP request found for state 0x7a596d87785d5a00, released from the list (3) eap: Peer sent packet with method EAP TEAP (55) (3) eap: Calling submodule eap_teap to process data (3) eap_teap: Authenticate (3) eap_teap: (TLS) Peer ACKed our handshake fragment (3) eap: Sending EAP Request (code 1) ID 5 length 459 (3) eap: EAP session adding &reply:State = 0x7a596d87795c5a00 (3) [eap] = handled (3) } # authenticate = handled (3) Using Post-Auth-Type Challenge (3) # Executing group from file /usr/local/etc/raddb/sites-enabled/default (3) Challenge { ... } # empty sub-section is ignored (3) session-state: Saving cached attributes (3) Framed-MTU = 984 (3) FreeRADIUS-EAP-TEAP-Identity-Type := Machine (3) FreeRADIUS-EAP-TEAP-Identity-Type += Machine (3) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3 Handshake, ClientHello" (3) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHello" (3) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Certificate" (3) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerKeyExchange" (3) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHelloDone" (3) Sent Access-Challenge Id 47 from 10.78.5.223:1645 to 10.78.1.215:1645 length 519 (3) EAP-Message = 0x010501cb37012355bf3fef88cc0908228a0b37560dd68abfba7b8e1b8bd76223b49cf84a80d90025c3ae17296c51dd9630a0f8af67b987416ee02f0ed7615ece56169a552aed5426af82497468570c9bc062edccfbac033364c1d6b55075552fe9c6f7fcb955415423fef9ba221ec3cda5939a6965aa3e49dcfda0c1a0b4712ba554c245396805304b4c14d252d9f84575160303012c0c00012803001d203b37086a5c78dc14cad2c8c7374b9b6dd507f675889236e2042b673f0607204908040100bba0003ef8c6fe9f6c5c6a6c9c16501f408f8bba1d7687f8939700e3eb1704d0d2ad9276c4b3bf44541d5cd5257ede26f820c38d28b826ca3dab01844ce41a009473534f7d822aa12a3123c4014f3a103cf0acecfda1b62e2ca0d313f1a1f6b02000ebb3fd56382b0ce7997a98d003b07950ab37f843fa2189ba0f3703535e314532d3ad432de3f31e32e31616ad351e1fd544ae3ddf21e77050e22567b71455f61e23ad2b09bf2016458ef26ebf283ec6f668eb9f (3) Message-Authenticator = 0x00000000000000000000000000000000 (3) State = 0x7a596d87795c5a006aa56f4f6e83cec8 (3) Finished request Waking up in 4.8 seconds. (4) Received Access-Request Id 48 from 10.78.1.215:1645 to 10.78.5.223:1645 length 363 (4) User-Name = "anonymous" (4) Service-Type = Framed-User (4) Cisco-AVPair = "service-type=Framed" (4) Framed-MTU = 1500 (4) Called-Station-Id = "00-3C-10-AB-A2-8A" (4) Calling-Station-Id = "C8-F7-50-08-DD-9F" (4) EAP-Message = 0x020500633701160303002510000021205cc2d801255fe0efb776b41691ed303e42d6e194e1236da7ae88938ee2af667214030300010116030300280000000000000000ae43149964e478ded2684a1860b114d581e26ed03f91168fb2c61798928dc5a2 (4) Message-Authenticator = 0xa46f7ee48cd3b2bd3f61838ca75b0ae1 (4) Cisco-AVPair = "audit-session-id=0A4E01D7000007352E347F3C" (4) Cisco-AVPair = "method=dot1x" (4) Framed-IP-Address = 10.78.5.3 (4) NAS-IP-Address = 10.78.1.215 (4) NAS-Port-Id = "GigabitEthernet1/0/10" (4) NAS-Port-Type = Ethernet (4) NAS-Port = 50110 (4) State = 0x7a596d87795c5a006aa56f4f6e83cec8 (4) Restoring &session-state (4) &session-state:Framed-MTU = 984 (4) &session-state:FreeRADIUS-EAP-TEAP-Identity-Type := Machine (4) &session-state:FreeRADIUS-EAP-TEAP-Identity-Type += Machine (4) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3 Handshake, ClientHello" (4) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHello" (4) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Certificate" (4) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerKeyExchange" (4) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHelloDone" (4) # Executing section authorize from file /usr/local/etc/raddb/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 = "anonymous", looking up realm NULL (4) suffix: No such realm "NULL" (4) [suffix] = noop (4) eap: Peer sent EAP Response (code 2) ID 5 length 99 (4) eap: Continuing tunnel setup (4) [eap] = ok (4) } # authorize = ok (4) Found Auth-Type = eap (4) # Executing group from file /usr/local/etc/raddb/sites-enabled/default (4) authenticate { (4) eap: Removing EAP session with state 0x7a596d87795c5a00 (4) eap: Previous EAP request found for state 0x7a596d87795c5a00, released from the list (4) eap: Peer sent packet with method EAP TEAP (55) (4) eap: Calling submodule eap_teap to process data (4) eap_teap: Authenticate (4) eap_teap: (TLS) EAP Done initial handshake (4) eap_teap: (TLS) TEAP - Handshake state - Server SSLv3/TLS write server done (4) eap_teap: (TLS) TEAP - recv TLS 1.2 Handshake, ClientKeyExchange (4) eap_teap: (TLS) TEAP - Handshake state - Server SSLv3/TLS read client key exchange (4) eap_teap: (TLS) TEAP - Handshake state - Server SSLv3/TLS read change cipher spec (4) eap_teap: (TLS) TEAP - recv TLS 1.2 Handshake, Finished (4) eap_teap: (TLS) TEAP - Handshake state - Server SSLv3/TLS read finished (4) eap_teap: (TLS) TEAP - send TLS 1.2 ChangeCipherSpec (4) eap_teap: (TLS) TEAP - Handshake state - Server SSLv3/TLS write change cipher spec (4) eap_teap: (TLS) TEAP - send TLS 1.2 Handshake, Finished (4) eap_teap: (TLS) TEAP - Handshake state - Server SSLv3/TLS write finished (4) eap_teap: (TLS) TEAP - Handshake state - SSL negotiation finished successfully (4) eap_teap: (TLS) TEAP - Connection Established (4) eap_teap: TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384" (4) eap_teap: TLS-Session-Version = "TLS 1.2" (4) eap: Sending EAP Request (code 1) ID 6 length 57 (4) eap: EAP session adding &reply:State = 0x7a596d877e5f5a00 (4) [eap] = handled (4) } # authenticate = handled (4) Using Post-Auth-Type Challenge (4) # Executing group from file /usr/local/etc/raddb/sites-enabled/default (4) Challenge { ... } # empty sub-section is ignored (4) session-state: Saving cached attributes (4) Framed-MTU = 984 (4) FreeRADIUS-EAP-TEAP-Identity-Type := Machine (4) FreeRADIUS-EAP-TEAP-Identity-Type += Machine (4) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3 Handshake, ClientHello" (4) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHello" (4) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Certificate" (4) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerKeyExchange" (4) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHelloDone" (4) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake, ClientKeyExchange" (4) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake, Finished" (4) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 ChangeCipherSpec" (4) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Finished" (4) TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384" (4) TLS-Session-Version = "TLS 1.2" (4) Sent Access-Challenge Id 48 from 10.78.5.223:1645 to 10.78.1.215:1645 length 115 (4) EAP-Message = 0x01060039370114030300010116030300281f7f5aed21ff16ada3a4a2e752074554ad6c4a48b96eeaa97b0072025abb6a3b3949238ef1ff5aa5 (4) Message-Authenticator = 0x00000000000000000000000000000000 (4) State = 0x7a596d877e5f5a006aa56f4f6e83cec8 (4) Finished request Waking up in 4.8 seconds. (5) Received Access-Request Id 49 from 10.78.1.215:1645 to 10.78.5.223:1645 length 270 (5) User-Name = "anonymous" (5) Service-Type = Framed-User (5) Cisco-AVPair = "service-type=Framed" (5) Framed-MTU = 1500 (5) Called-Station-Id = "00-3C-10-AB-A2-8A" (5) Calling-Station-Id = "C8-F7-50-08-DD-9F" (5) EAP-Message = 0x020600063701 (5) Message-Authenticator = 0x74ba42af7396d6b2c0406a936ad4ef33 (5) Cisco-AVPair = "audit-session-id=0A4E01D7000007352E347F3C" (5) Cisco-AVPair = "method=dot1x" (5) Framed-IP-Address = 10.78.5.3 (5) NAS-IP-Address = 10.78.1.215 (5) NAS-Port-Id = "GigabitEthernet1/0/10" (5) NAS-Port-Type = Ethernet (5) NAS-Port = 50110 (5) State = 0x7a596d877e5f5a006aa56f4f6e83cec8 (5) Restoring &session-state (5) &session-state:Framed-MTU = 984 (5) &session-state:FreeRADIUS-EAP-TEAP-Identity-Type := Machine (5) &session-state:FreeRADIUS-EAP-TEAP-Identity-Type += Machine (5) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3 Handshake, ClientHello" (5) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHello" (5) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Certificate" (5) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerKeyExchange" (5) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, ServerHelloDone" (5) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake, ClientKeyExchange" (5) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake, Finished" (5) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 ChangeCipherSpec" (5) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake, Finished" (5) &session-state:TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384" (5) &session-state:TLS-Session-Version = "TLS 1.2" (5) # Executing section authorize from file /usr/local/etc/raddb/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 = "anonymous", looking up realm NULL (5) suffix: No such realm "NULL" (5) [suffix] = noop (5) eap: Peer sent EAP Response (code 2) ID 6 length 6 (5) eap: Continuing tunnel setup (5) [eap] = ok (5) } # authorize = ok (5) Found Auth-Type = eap (5) # Executing group from file /usr/local/etc/raddb/sites-enabled/default (5) authenticate { (5) eap: Removing EAP session with state 0x7a596d877e5f5a00 (5) eap: Previous EAP request found for state 0x7a596d877e5f5a00, released from the list (5) eap: Peer sent packet with method EAP TEAP (55) (5) eap: Calling submodule eap_teap to process data (5) eap_teap: Authenticate (5) eap_teap: (TLS) Peer ACKed our handshake fragment. handshake is finished (5) eap_teap: Session established. Proceeding to decode tunneled attributes (5) eap_teap: Using authenticated provisioning (5) eap_teap: Using MAC SHA384 (673) (5) eap_teap: Deriving EAP-TEAP keys ASSERT FAILED src/modules/rlm_eap/types/rlm_eap_teap/eap_teap.c[77]: t->received_version > -1 CAUGHT SIGNAL: Aborted Backtrace of last 27 frames: /usr/local/lib/libfreeradius-radius.so(fr_fault+0x114)[0x7fe55bdbb98d] /usr/local/lib/libfreeradius-server.so(rad_assert_fail+0x46)[0x7fe55c01ec2b] /usr/local/lib/rlm_eap_teap.so(+0x3446)[0x7fe555f05446] /usr/local/lib/rlm_eap_teap.so(eap_teap_process+0x23a)[0x7fe555f09d0e] /usr/local/lib/rlm_eap_teap.so(+0x32a4)[0x7fe555f052a4] /usr/local/lib/rlm_eap.so(+0x46e4)[0x7fe55918c6e4] /usr/local/lib/rlm_eap.so(eap_method_select+0x455)[0x7fe55918d0eb] /usr/local/lib/rlm_eap.so(+0x313d)[0x7fe55918b13d] radiusd[0x42d652] radiusd[0x42dd2e] radiusd[0x42d828] radiusd[0x42e767] radiusd(modcall+0xa2)[0x42f4e3] radiusd(indexed_modcall+0x366)[0x42aa9f] radiusd(process_authenticate+0x22)[0x42cf34] radiusd[0x410788] radiusd(rad_authenticate+0x645)[0x4112d1] radiusd[0x443309] radiusd[0x441edb] radiusd(request_receive+0x9f4)[0x443f11] radiusd[0x41ab72] radiusd[0x44bf41] /usr/local/lib/libfreeradius-radius.so(fr_event_loop+0x574)[0x7fe55bde4729] radiusd(radius_event_process+0x26)[0x44df37] radiusd(main+0xd38)[0x435c5b] /lib64/libc.so.6(__libc_start_main+0xe5)[0x7fe55a4027e5] radiusd(_start+0x2e)[0x40fa7e] No panic action set Aborted (core dumped)
On Dec 5, 2024, at 10:35 AM, Martin B. <martinbiniek@googlemail.com> wrote:
The debug log shows it doing only Machine.
Ah yes, you are right. The server does not change the Identity-Type and is just requesting Machine again: (12) eap_teap: &session-state:FreeRADIUS-EAP-TEAP-TLV-Identity-Type set so continuing EAP sequence/chaining
OK, I'll take a look.
... (5) eap_teap: Deriving EAP-TEAP keys ASSERT FAILED src/modules/rlm_eap/types/rlm_eap_teap/eap_teap.c[77]: t->received_version > -1
Well, that's new. :( We'll have to do some more in-depth checks here. That may take a bit unfortunately. Alan DeKok.
participants (3)
-
Alan DeKok -
Martin B. -
petr.linke@seznam.cz