password not present in ttls inner-tunnel
Hi list, I'm having difficulty understanding why &User-Password is not being found by my inner-tunnel virtual server. Desired outcome is EAP-TTLS/PAP for google's LDAP. New install of freeRADIUS 3.2.7. In my debug output, I see that the conditional check that would specify ldap as the Auth-Type is not passing. [eap setup success] [ttls setup success] ... (5) if (&User-Password && !control:Auth-Type) { (5) if (&User-Password && !control:Auth-Type) -> FALSE (5) } # authorize = updated (5) ERROR: No Auth-Type found: rejecting the user via Post-Auth-Type = Reject (5) Failed to authenticate the user [post-auth-reject] I believe this check is the one in my customized module config "ldap-google" if (&User-Password && !control:Auth-Type) { update { &control:Auth-Type := ldap } Ok, so &User-password isn't found. Why not? The eap config looks like: eap{ default_eap_type = ttls ... ttls { copy_request_to_tunnel = yes virtual_server = "google-ldap" Does copy_request_to_tunnel not put the password into the tunnel as &User-Password ? Thanks, Evan
On May 7, 2025, at 12:29 PM, Evan Sharp via Freeradius-Users <freeradius-users@lists.freeradius.org> wrote:
I'm having difficulty understanding why &User-Password is not being found by my inner-tunnel virtual server. Desired outcome is EAP-TTLS/PAP for google's LDAP.
Read the debug output.
In my debug output, I see that the conditional check that would specify ldap as the Auth-Type is not passing.
[eap setup success] [ttls setup success] ... (5) if (&User-Password && !control:Auth-Type) { (5) if (&User-Password && !control:Auth-Type) -> FALSE (5) } # authorize = updated (5) ERROR: No Auth-Type found: rejecting the user via Post-Auth-Type = Reject (5) Failed to authenticate the user [post-auth-reject]
If you're not sure how to read the debug output, then post it to the list. ALL OF IT. Don't edit it. When you edit the debug output, you're deleting things which are needed to answer your question. Go read http://wiki.freeradius.org/list-help We write documentation because we want people to read it. Alan DeKok.
Thanks for the direction Alan. Full debug: 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/share/freeradius/dictionary including dictionary file /usr/share/freeradius/dictionary.dhcp including dictionary file /usr/share/freeradius/dictionary.vqp including dictionary file /etc/freeradius/dictionary including configuration file /etc/freeradius/radiusd.conf including configuration file /etc/freeradius/proxy.conf including configuration file /etc/freeradius/clients.conf including files in directory /etc/freeradius/mods-enabled/ including configuration file /etc/freeradius/mods-enabled/expiration including configuration file /etc/freeradius/mods-enabled/mschap including configuration file /etc/freeradius/mods-enabled/pap including configuration file /etc/freeradius/mods-enabled/expr including configuration file /etc/freeradius/mods-enabled/sradutmp including configuration file /etc/freeradius/mods-enabled/echo including configuration file /etc/freeradius/mods-enabled/unix including configuration file /etc/freeradius/mods-enabled/logintime including configuration file /etc/freeradius/mods-enabled/realm including configuration file /etc/freeradius/mods-enabled/date including configuration file /etc/freeradius/mods-enabled/detail including configuration file /etc/freeradius/mods-enabled/eap including configuration file /etc/freeradius/mods-enabled/dynamic_clients including configuration file /etc/freeradius/mods-enabled/files including configuration file /etc/freeradius/mods-enabled/ldap_google including configuration file /etc/freeradius/mods-enabled/utf8 including configuration file /etc/freeradius/mods-enabled/ntlm_auth including configuration file /etc/freeradius/mods-enabled/totp including configuration file /etc/freeradius/mods-enabled/always including configuration file /etc/freeradius/mods-enabled/preprocess including configuration file /etc/freeradius/mods-enabled/replicate including configuration file /etc/freeradius/mods-enabled/radutmp including configuration file /etc/freeradius/mods-enabled/digest including configuration file /etc/freeradius/mods-enabled/attr_filter including configuration file /etc/freeradius/mods-enabled/unpack including configuration file /etc/freeradius/mods-enabled/passwd including configuration file /etc/freeradius/mods-enabled/cache_auth including configuration file /etc/freeradius/mods-enabled/detail.log including configuration file /etc/freeradius/mods-enabled/exec including configuration file /etc/freeradius/mods-enabled/chap including configuration file /etc/freeradius/mods-enabled/proxy_rate_limit including configuration file /etc/freeradius/mods-enabled/linelog including configuration file /etc/freeradius/mods-enabled/soh including files in directory /etc/freeradius/policy.d/ including configuration file /etc/freeradius/policy.d/canonicalization including configuration file /etc/freeradius/policy.d/abfab-tr including configuration file /etc/freeradius/policy.d/eap including configuration file /etc/freeradius/policy.d/filter including configuration file /etc/freeradius/policy.d/moonshot-targeted-ids including configuration file /etc/freeradius/policy.d/control including configuration file /etc/freeradius/policy.d/debug including configuration file /etc/freeradius/policy.d/rfc7542 including configuration file /etc/freeradius/policy.d/accounting including configuration file /etc/freeradius/policy.d/cui including configuration file /etc/freeradius/policy.d/operator-name including configuration file /etc/freeradius/policy.d/dhcp including files in directory /etc/freeradius/sites-enabled/ including configuration file /etc/freeradius/sites-enabled/default including configuration file /etc/freeradius/sites-enabled/google-ldap main { security { user = "freerad" group = "freerad" allow_core_dumps = no } name = "freeradius" prefix = "/usr" localstatedir = "/var" logdir = "/var/log/freeradius" run_dir = "/var/run/freeradius" } main { name = "freeradius" prefix = "/usr" localstatedir = "/var" sbindir = "/usr/sbin" logdir = "/var/log/freeradius" run_dir = "/var/run/freeradius" libdir = "/usr/lib/freeradius" radacctdir = "/var/log/freeradius/radacct" hostname_lookups = no max_request_time = 30 proxy_dedup_window = 1 cleanup_delay = 5 max_requests = 16384 max_fds = 512 postauth_client_lost = no pidfile = "/var/run/freeradius/freeradius.pid" checkrad = "/usr/sbin/checkrad" debug_level = 0 proxy_requests = yes log { stripped_names = no auth = no auth_badpass = no auth_goodpass = no colourise = yes msg_denied = "You are already logged in - access denied" } resources { } security { max_attributes = 200 reject_delay = 1.000000 status_server = yes require_message_authenticator = "auto" limit_proxy_state = "auto" } unlang { group_stop_return = no policy_stop_return = no } } radiusd: #### Loading Realms and Home Servers #### proxy server { retry_delay = 5 retry_count = 3 default_fallback = no dead_time = 120 wake_all_if_all_dead = no } home_server localhost { nonblock = no ipaddr = 127.0.0.1 port = 1812 type = "auth" secret = <<< secret >>> response_window = 20.000000 response_timeouts = 1 max_outstanding = 65536 zombie_period = 40 status_check = "status-server" ping_interval = 30 check_interval = 30 check_timeout = 4 num_answers_to_alive = 3 revive_interval = 120 limit { max_connections = 16 max_requests = 0 lifetime = 0 idle_timeout = 0 } coa { irt = 2 mrt = 16 mrc = 5 mrd = 30 } } home_server_pool my_auth_failover { type = fail-over home_server = localhost } realm example.com { auth_pool = my_auth_failover } realm LOCAL { } radiusd: #### Loading Clients #### client localhost { ipaddr = 127.0.0.1 require_message_authenticator = "yes" 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 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 unifi-ap { ipaddr = 10.1.1.0/24 secret = <<< secret >>> limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } Debugger not attached Configuration version: bb31-b463-ccc0-316d systemd watchdog is disabled # Creating Auth-Type = mschap # Creating Auth-Type = digest # Creating Auth-Type = eap # Creating Auth-Type = PAP # Creating Auth-Type = CHAP # Creating Auth-Type = MS-CHAP # Creating Auth-Type = LDAP # Creating Autz-Type = New-TLS-Connection radiusd: #### Instantiating modules #### modules { # Loaded module rlm_expiration # Loading module "expiration" from file /etc/freeradius/mods-enabled/expiration # Loaded module rlm_mschap # Loading module "mschap" from file /etc/freeradius/mods-enabled/mschap mschap { use_mppe = yes require_encryption = no require_strong = no with_ntdomain_hack = yes passchange { } allow_retry = yes winbind_retry_with_normalised_username = no } # Loaded module rlm_pap # Loading module "pap" from file /etc/freeradius/mods-enabled/pap pap { normalise = yes } # Loaded module rlm_expr # Loading module "expr" from file /etc/freeradius/mods-enabled/expr expr { safe_characters = "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /äéöüàâæçèéêëîïôœùûüaÿÄÉÖÜßÀÂÆÇÈÉÊËÎÏÔŒÙÛÜŸ" } # Loaded module rlm_radutmp # Loading module "sradutmp" from file /etc/freeradius/mods-enabled/sradutmp radutmp sradutmp { filename = "/var/log/freeradius/sradutmp" username = "%{User-Name}" case_sensitive = yes check_with_nas = yes permissions = 420 caller_id = no } # Loaded module rlm_exec # Loading module "echo" from file /etc/freeradius/mods-enabled/echo exec echo { wait = yes program = "/bin/echo %{User-Name}" input_pairs = "request" output_pairs = "reply" shell_escape = yes } # Loaded module rlm_unix # Loading module "unix" from file /etc/freeradius/mods-enabled/unix unix { radwtmp = "/var/log/freeradius/radwtmp" } Creating attribute Unix-Group # Loaded module rlm_logintime # Loading module "logintime" from file /etc/freeradius/mods-enabled/logintime logintime { minimum_timeout = 60 } # Loaded module rlm_realm # Loading module "IPASS" from file /etc/freeradius/mods-enabled/realm realm IPASS { format = "prefix" delimiter = "/" ignore_default = no ignore_null = no } # Loading module "suffix" from file /etc/freeradius/mods-enabled/realm realm suffix { format = "suffix" delimiter = "@" ignore_default = no ignore_null = no } # Loading module "bangpath" from file /etc/freeradius/mods-enabled/realm realm bangpath { format = "prefix" delimiter = "!" ignore_default = no ignore_null = no } # Loading module "realmpercent" from file /etc/freeradius/mods-enabled/realm realm realmpercent { format = "suffix" delimiter = "%" ignore_default = no ignore_null = no } # Loading module "ntdomain" from file /etc/freeradius/mods-enabled/realm realm ntdomain { format = "prefix" delimiter = "\" ignore_default = no ignore_null = no } # Loaded module rlm_date # Loading module "date" from file /etc/freeradius/mods-enabled/date date { format = "%b %e %Y %H:%M:%S %Z" utc = no } # Loading module "wispr2date" from file /etc/freeradius/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/mods-enabled/detail detail { filename = "/var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d" header = "%t" permissions = 384 locking = no dates_as_integer = no escape_filenames = no log_packet_header = no } # Loaded module rlm_eap # Loading module "eap" from file /etc/freeradius/mods-enabled/eap eap { default_eap_type = "ttls" 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_dynamic_clients # Loading module "dynamic_clients" from file /etc/freeradius/mods-enabled/dynamic_clients # Loaded module rlm_files # Loading module "files" from file /etc/freeradius/mods-enabled/files files { filename = "/etc/freeradius/mods-config/files/authorize" acctusersfile = "/etc/freeradius/mods-config/files/accounting" preproxy_usersfile = "/etc/freeradius/mods-config/files/pre-proxy" } # Loaded module rlm_ldap # Loading module "ldap_google" from file /etc/freeradius/mods-enabled/ldap_google ldap ldap_google { server = "ldaps://ldap.google.com:636/" identity = "JealousPro" password = <<< secret >>> sasl { } user_dn = "LDAP-UserDn" user { scope = "sub" access_positive = yes sasl { } } group { filter = "(objectClass=posixGroup)" scope = "sub" name_attribute = "cn" membership_attribute = "memberOf" cacheable_name = no cacheable_dn = no allow_dangling_group_ref = no } client { scope = "sub" base_dn = "" } profile { } options { ldap_debug = 0 chase_referrals = no net_timeout = 3 res_timeout = 10 srv_timelimit = 3 idle = 60 probes = 3 interval = 3 } tls { certificate_file = "/etc/freeradius/certs/Google_2028_05_04_20107.crt" private_key_file = "/etc/freeradius/certs/Google_2028_05_04_20107.key" random_file = "/dev/urandom" tls_min_version = "1.2" check_crl = no start_tls = no require_cert = "allow" } } Creating attribute ldap_google-LDAP-Group # Loaded module rlm_utf8 # Loading module "utf8" from file /etc/freeradius/mods-enabled/utf8 # Loading module "ntlm_auth" from file /etc/freeradius/mods-enabled/ntlm_auth exec ntlm_auth { wait = yes program = "/path/to/ntlm_auth --request-nt-key --domain=MYDOMAIN --username=%{mschap:User-Name} --password=%{User-Password}" shell_escape = yes } # Loaded module rlm_totp # Loading module "totp" from file /etc/freeradius/mods-enabled/totp totp { time_step = 30 otp_length = 6 lookback_steps = 1 lookback_interval = 30 lookforward_steps = 0 } # Loaded module rlm_always # Loading module "reject" from file /etc/freeradius/mods-enabled/always always reject { rcode = "reject" simulcount = 0 mpp = no } # Loading module "fail" from file /etc/freeradius/mods-enabled/always always fail { rcode = "fail" simulcount = 0 mpp = no } # Loading module "ok" from file /etc/freeradius/mods-enabled/always always ok { rcode = "ok" simulcount = 0 mpp = no } # Loading module "handled" from file /etc/freeradius/mods-enabled/always always handled { rcode = "handled" simulcount = 0 mpp = no } # Loading module "invalid" from file /etc/freeradius/mods-enabled/always always invalid { rcode = "invalid" simulcount = 0 mpp = no } # Loading module "userlock" from file /etc/freeradius/mods-enabled/always always userlock { rcode = "userlock" simulcount = 0 mpp = no } # Loading module "notfound" from file /etc/freeradius/mods-enabled/always always notfound { rcode = "notfound" simulcount = 0 mpp = no } # Loading module "noop" from file /etc/freeradius/mods-enabled/always always noop { rcode = "noop" simulcount = 0 mpp = no } # Loading module "updated" from file /etc/freeradius/mods-enabled/always always updated { rcode = "updated" simulcount = 0 mpp = no } # Loaded module rlm_preprocess # Loading module "preprocess" from file /etc/freeradius/mods-enabled/preprocess preprocess { huntgroups = "/etc/freeradius/mods-config/preprocess/huntgroups" hints = "/etc/freeradius/mods-config/preprocess/hints" with_ascend_hack = no ascend_channels_per_line = 23 with_ntdomain_hack = no with_specialix_jetstream_hack = no with_cisco_vsa_hack = no with_alvarion_vsa_hack = no } # Loaded module rlm_replicate # Loading module "replicate" from file /etc/freeradius/mods-enabled/replicate # Loading module "radutmp" from file /etc/freeradius/mods-enabled/radutmp radutmp { filename = "/var/log/freeradius/radutmp" username = "%{User-Name}" case_sensitive = yes check_with_nas = yes permissions = 384 caller_id = yes } # Loaded module rlm_digest # Loading module "digest" from file /etc/freeradius/mods-enabled/digest # Loaded module rlm_attr_filter # Loading module "attr_filter.post-proxy" from file /etc/freeradius/mods-enabled/attr_filter attr_filter attr_filter.post-proxy { filename = "/etc/freeradius/mods-config/attr_filter/post-proxy" key = "%{Realm}" relaxed = no } # Loading module "attr_filter.pre-proxy" from file /etc/freeradius/mods-enabled/attr_filter attr_filter attr_filter.pre-proxy { filename = "/etc/freeradius/mods-config/attr_filter/pre-proxy" key = "%{Realm}" relaxed = no } # Loading module "attr_filter.access_reject" from file /etc/freeradius/mods-enabled/attr_filter attr_filter attr_filter.access_reject { filename = "/etc/freeradius/mods-config/attr_filter/access_reject" key = "%{User-Name}" relaxed = no } # Loading module "attr_filter.access_challenge" from file /etc/freeradius/mods-enabled/attr_filter attr_filter attr_filter.access_challenge { filename = "/etc/freeradius/mods-config/attr_filter/access_challenge" key = "%{User-Name}" relaxed = no } # Loading module "attr_filter.accounting_response" from file /etc/freeradius/mods-enabled/attr_filter attr_filter attr_filter.accounting_response { filename = "/etc/freeradius/mods-config/attr_filter/accounting_response" key = "%{User-Name}" relaxed = no } # Loading module "attr_filter.coa" from file /etc/freeradius/mods-enabled/attr_filter attr_filter attr_filter.coa { filename = "/etc/freeradius/mods-config/attr_filter/coa" key = "%{User-Name}" relaxed = no } # Loaded module rlm_unpack # Loading module "unpack" from file /etc/freeradius/mods-enabled/unpack # Loaded module rlm_passwd # Loading module "etc_passwd" from file /etc/freeradius/mods-enabled/passwd passwd etc_passwd { filename = "/etc/passwd" format = "*User-Name:Crypt-Password:" delimiter = ":" ignore_nislike = no ignore_empty = yes allow_multiple_keys = no hash_size = 100 } # Loaded module rlm_cache # Loading module "cache_auth_accept" from file /etc/freeradius/mods-enabled/cache_auth cache cache_auth_accept { driver = "rlm_cache_rbtree" key = "%{md5:%{%{Stripped-User-Name}:-%{User-Name}}%{User-Password}}" ttl = 7200 max_entries = 0 epoch = 0 add_stats = no } # Loading module "cache_auth_reject" from file /etc/freeradius/mods-enabled/cache_auth cache cache_auth_reject { driver = "rlm_cache_rbtree" key = "%{md5:%{Calling-Station-Id}%{Stripped-User-Name}%{User-Password}}" ttl = 3600 max_entries = 0 epoch = 0 add_stats = no } # Loading module "cache_ldap_user_dn" from file /etc/freeradius/mods-enabled/cache_auth cache cache_ldap_user_dn { driver = "rlm_cache_rbtree" key = "%{Stripped-User-Name}" ttl = 86400 max_entries = 0 epoch = 0 add_stats = no } # Loading module "auth_log" from file /etc/freeradius/mods-enabled/detail.log detail auth_log { filename = "/var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d" header = "%t" permissions = 384 locking = no dates_as_integer = no escape_filenames = no log_packet_header = no } # Loading module "reply_log" from file /etc/freeradius/mods-enabled/detail.log detail reply_log { filename = "/var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/reply-detail-%Y%m%d" header = "%t" permissions = 384 locking = no dates_as_integer = no escape_filenames = no log_packet_header = no } # Loading module "pre_proxy_log" from file /etc/freeradius/mods-enabled/detail.log detail pre_proxy_log { filename = "/var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/pre-proxy-detail-%Y%m%d" header = "%t" permissions = 384 locking = no dates_as_integer = no escape_filenames = no log_packet_header = no } # Loading module "post_proxy_log" from file /etc/freeradius/mods-enabled/detail.log detail post_proxy_log { filename = "/var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/post-proxy-detail-%Y%m%d" header = "%t" permissions = 384 locking = no dates_as_integer = no escape_filenames = no log_packet_header = no } # Loading module "exec" from file /etc/freeradius/mods-enabled/exec exec { wait = no input_pairs = "request" shell_escape = yes timeout = 10 } # Loaded module rlm_chap # Loading module "chap" from file /etc/freeradius/mods-enabled/chap # Loaded module rlm_proxy_rate_limit # Loading module "proxy_rate_limit" from file /etc/freeradius/mods-enabled/proxy_rate_limit proxy_rate_limit { max_entries = 2048 idle_timeout = 10 num_subtables = 256 window = 1 } # Loaded module rlm_linelog # Loading module "linelog" from file /etc/freeradius/mods-enabled/linelog linelog { filename = "/var/log/freeradius/linelog" escape_filenames = no syslog_severity = "info" permissions = 384 format = "This is a log message for %{User-Name}" reference = "messages.%{%{reply:Packet-Type}:-default}" } # Loading module "log_accounting" from file /etc/freeradius/mods-enabled/linelog linelog log_accounting { filename = "/var/log/freeradius/linelog-accounting" escape_filenames = no syslog_severity = "info" permissions = 384 format = "" reference = "Accounting-Request.%{%{Acct-Status-Type}:-unknown}" } # Loaded module rlm_soh # Loading module "soh" from file /etc/freeradius/mods-enabled/soh soh { dhcp = yes } instantiate { } # Instantiating module "expiration" from file /etc/freeradius/mods-enabled/expiration # Instantiating module "mschap" from file /etc/freeradius/mods-enabled/mschap rlm_mschap (mschap): using internal authentication # Instantiating module "pap" from file /etc/freeradius/mods-enabled/pap # Instantiating module "logintime" from file /etc/freeradius/mods-enabled/logintime # Instantiating module "IPASS" from file /etc/freeradius/mods-enabled/realm # Instantiating module "suffix" from file /etc/freeradius/mods-enabled/realm # Instantiating module "bangpath" from file /etc/freeradius/mods-enabled/realm # Instantiating module "realmpercent" from file /etc/freeradius/mods-enabled/realm # Instantiating module "ntdomain" from file /etc/freeradius/mods-enabled/realm # Instantiating module "detail" from file /etc/freeradius/mods-enabled/detail # Instantiating module "eap" from file /etc/freeradius/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/certs" pem_file_type = yes private_key_file = "/etc/letsencrypt/live/ radius.coastmountainacademy.ca/privkey.pem" certificate_file = "/etc/letsencrypt/live/ radius.coastmountainacademy.ca/fullchain.pem" ca_file = "/etc/freeradius/certs/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 = yes 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 = yes use_tunneled_reply = no virtual_server = "google-ldap" 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 } # Instantiating module "files" from file /etc/freeradius/mods-enabled/files reading pairlist file /etc/freeradius/mods-config/files/authorize reading pairlist file /etc/freeradius/mods-config/files/accounting reading pairlist file /etc/freeradius/mods-config/files/pre-proxy # Instantiating module "ldap_google" from file /etc/freeradius/mods-enabled/ldap_google rlm_ldap: libldap vendor: OpenLDAP, version: 20607 rlm_ldap (ldap_google): Couldn't find configuration for accounting, will return NOOP for calls from this section rlm_ldap (ldap_google): Couldn't find configuration for post-auth, will return NOOP for calls from this section !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! libldap is using GnuTLS, while FreeRADIUS is using OpenSSL !! There may be random issues with TLS connections due to this conflict. !! The server may also crash. !! See https://wiki.freeradius.org/modules/Rlm_ldap for more information. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! rlm_ldap (ldap_google): Initialising connection pool pool { start = 5 min = 3 max = 32 spare = 10 uses = 0 lifetime = 0 cleanup_interval = 30 idle_timeout = 60 retry_delay = 30 max_retries = 5 spread = no } rlm_ldap (ldap_google): Opening additional connection (0), 1 of 32 pending slots used rlm_ldap (ldap_google): Connecting to ldaps://ldap.google.com:636 rlm_ldap (ldap_google): Waiting for bind result... rlm_ldap (ldap_google): Bind successful rlm_ldap (ldap_google): Opening additional connection (1), 1 of 31 pending slots used rlm_ldap (ldap_google): Connecting to ldaps://ldap.google.com:636 rlm_ldap (ldap_google): Waiting for bind result... rlm_ldap (ldap_google): Bind successful rlm_ldap (ldap_google): Opening additional connection (2), 1 of 30 pending slots used rlm_ldap (ldap_google): Connecting to ldaps://ldap.google.com:636 rlm_ldap (ldap_google): Waiting for bind result... rlm_ldap (ldap_google): Bind successful rlm_ldap (ldap_google): Opening additional connection (3), 1 of 29 pending slots used rlm_ldap (ldap_google): Connecting to ldaps://ldap.google.com:636 rlm_ldap (ldap_google): Waiting for bind result... rlm_ldap (ldap_google): Bind successful rlm_ldap (ldap_google): Opening additional connection (4), 1 of 28 pending slots used rlm_ldap (ldap_google): Connecting to ldaps://ldap.google.com:636 rlm_ldap (ldap_google): Waiting for bind result... rlm_ldap (ldap_google): Bind successful # Instantiating module "totp" from file /etc/freeradius/mods-enabled/totp # Instantiating module "reject" from file /etc/freeradius/mods-enabled/always # Instantiating module "fail" from file /etc/freeradius/mods-enabled/always # Instantiating module "ok" from file /etc/freeradius/mods-enabled/always # Instantiating module "handled" from file /etc/freeradius/mods-enabled/always # Instantiating module "invalid" from file /etc/freeradius/mods-enabled/always # Instantiating module "userlock" from file /etc/freeradius/mods-enabled/always # Instantiating module "notfound" from file /etc/freeradius/mods-enabled/always # Instantiating module "noop" from file /etc/freeradius/mods-enabled/always # Instantiating module "updated" from file /etc/freeradius/mods-enabled/always # Instantiating module "preprocess" from file /etc/freeradius/mods-enabled/preprocess reading pairlist file /etc/freeradius/mods-config/preprocess/huntgroups reading pairlist file /etc/freeradius/mods-config/preprocess/hints # Instantiating module "attr_filter.post-proxy" from file /etc/freeradius/mods-enabled/attr_filter reading pairlist file /etc/freeradius/mods-config/attr_filter/post-proxy # Instantiating module "attr_filter.pre-proxy" from file /etc/freeradius/mods-enabled/attr_filter reading pairlist file /etc/freeradius/mods-config/attr_filter/pre-proxy # Instantiating module "attr_filter.access_reject" from file /etc/freeradius/mods-enabled/attr_filter reading pairlist file /etc/freeradius/mods-config/attr_filter/access_reject # Instantiating module "attr_filter.access_challenge" from file /etc/freeradius/mods-enabled/attr_filter reading pairlist file /etc/freeradius/mods-config/attr_filter/access_challenge # Instantiating module "attr_filter.accounting_response" from file /etc/freeradius/mods-enabled/attr_filter reading pairlist file /etc/freeradius/mods-config/attr_filter/accounting_response # Instantiating module "attr_filter.coa" from file /etc/freeradius/mods-enabled/attr_filter reading pairlist file /etc/freeradius/mods-config/attr_filter/coa # Instantiating module "etc_passwd" from file /etc/freeradius/mods-enabled/passwd rlm_passwd: nfields: 3 keyfield 0(User-Name) listable: no # Instantiating module "cache_auth_accept" from file /etc/freeradius/mods-enabled/cache_auth rlm_cache (cache_auth_accept): Driver rlm_cache_rbtree (module rlm_cache_rbtree) loaded and linked # Instantiating module "cache_auth_reject" from file /etc/freeradius/mods-enabled/cache_auth rlm_cache (cache_auth_reject): Driver rlm_cache_rbtree (module rlm_cache_rbtree) loaded and linked # Instantiating module "cache_ldap_user_dn" from file /etc/freeradius/mods-enabled/cache_auth rlm_cache (cache_ldap_user_dn): Driver rlm_cache_rbtree (module rlm_cache_rbtree) loaded and linked # Instantiating module "auth_log" from file /etc/freeradius/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/mods-enabled/detail.log # Instantiating module "pre_proxy_log" from file /etc/freeradius/mods-enabled/detail.log # Instantiating module "post_proxy_log" from file /etc/freeradius/mods-enabled/detail.log # Instantiating module "proxy_rate_limit" from file /etc/freeradius/mods-enabled/proxy_rate_limit # Instantiating module "linelog" from file /etc/freeradius/mods-enabled/linelog # Instantiating module "log_accounting" from file /etc/freeradius/mods-enabled/linelog } # modules radiusd: #### Loading Virtual Servers #### server { # from file /etc/freeradius/radiusd.conf } # server server default { # from file /etc/freeradius/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 LDAP for attr Auth-Type # Loading authorize {...} Ignoring "sql" (see raddb/mods-available/README.rst) Compiling Autz-Type New-TLS-Connection for attr Autz-Type # Loading preacct {...} # Loading accounting {...} # 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 google-ldap { # from file /etc/freeradius/sites-enabled/google-ldap # Loading authenticate {...} Compiling Auth-Type LDAP for attr Auth-Type # Loading authorize {...} # Loading post-auth {...} Compiling Post-Auth-Type REJECT for attr Post-Auth-Type } # server google-ldap radiusd: #### Opening IP addresses and Ports #### listen { type = "auth" ipaddr = * port = 1812 limit { max_connections = 16 lifetime = 0 idle_timeout = 900 } } listen { type = "acct" ipaddr = * port = 0 limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } listen { type = "auth" ipv6addr = :: port = 0 limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } listen { type = "acct" ipv6addr = :: port = 0 limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } listen { type = "auth" ipaddr = 127.0.0.1 port = 18123 } Listening on auth address * port 1812 bound to server default Listening on acct address * port 1813 bound to server default Listening on auth address :: port 1812 bound to server default Listening on acct address :: port 1813 bound to server default Listening on auth address 127.0.0.1 port 18123 bound to server google-ldap Listening on proxy address * port 40261 Listening on proxy address :: port 60383 Ready to process requests (0) Received Access-Request Id 147 from 10.1.1.168:48856 to 10.1.1.8:1812 length 268 (0) User-Name = "tracy.keeling" (0) NAS-IP-Address = 10.1.1.168 (0) NAS-Identifier = "2a704ecd46c0" (0) Called-Station-Id = "2A-70-4E-CD-46-C0:cma-secure" (0) NAS-Port-Type = Wireless-802.11 (0) Service-Type = Framed-User (0) NAS-Port = 1 (0) Calling-Station-Id = "3A-2B-35-7F-47-2C" (0) Connect-Info = "CONNECT 54Mbps 802.11a" (0) Acct-Session-Id = "5179492BC45C32E0" (0) Acct-Multi-Session-Id = "D0033553B33F098F" (0) Mobility-Domain-Id = 45011 (0) WLAN-Pairwise-Cipher = 1027076 (0) WLAN-Group-Cipher = 1027076 (0) WLAN-AKM-Suite = 1027075 (0) WLAN-Group-Mgmt-Cipher = 1027078 (0) Filter-Id = "wpa-eap" (0) Framed-MTU = 1002 (0) EAP-Message = 0x02f000120174726163792e6b65656c696e67 (0) Chargeable-User-Identity = 0x00 (0) Message-Authenticator = 0x85b9c73fd64607c5a0e95c1aad773751 (0) # Executing section authorize from file /etc/freeradius/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) suffix: Checking for suffix after "@" (0) suffix: No '@' in User-Name = "tracy.keeling", looking up realm NULL (0) suffix: No such realm "NULL" (0) [suffix] = noop (0) eap: Peer sent EAP Response (code 2) ID 240 length 18 (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/sites-enabled/default (0) authenticate { (0) eap: Peer sent packet with method EAP Identity (1) (0) eap: Using default_eap_type = TTLS (0) eap: Calling submodule eap_ttls to process data (0) eap_ttls: (TLS) TTLS -Initiating new session (0) eap: Sending EAP Request (code 1) ID 241 length 6 (0) eap: EAP session adding &reply:State = 0xcddc7909cd2d6c01 (0) [eap] = handled (0) } # authenticate = handled (0) Using Post-Auth-Type Challenge (0) # Executing group from file /etc/freeradius/sites-enabled/default (0) Challenge { ... } # empty sub-section is ignored (0) session-state: Saving cached attributes (0) Framed-MTU = 994 (0) Sent Access-Challenge Id 147 from 10.1.1.8:1812 to 10.1.1.168:48856 length 64 (0) EAP-Message = 0x01f100061520 (0) Message-Authenticator = 0x00000000000000000000000000000000 (0) State = 0xcddc7909cd2d6c017e997b437a3f7ce8 (0) Finished request Waking up in 4.9 seconds. (1) Received Access-Request Id 148 from 10.1.1.168:48856 to 10.1.1.8:1812 length 429 (1) User-Name = "tracy.keeling" (1) NAS-IP-Address = 10.1.1.168 (1) NAS-Identifier = "2a704ecd46c0" (1) Called-Station-Id = "2A-70-4E-CD-46-C0:cma-secure" (1) NAS-Port-Type = Wireless-802.11 (1) Service-Type = Framed-User (1) NAS-Port = 1 (1) Calling-Station-Id = "3A-2B-35-7F-47-2C" (1) Connect-Info = "CONNECT 54Mbps 802.11a" (1) Acct-Session-Id = "5179492BC45C32E0" (1) Acct-Multi-Session-Id = "D0033553B33F098F" (1) Mobility-Domain-Id = 45011 (1) WLAN-Pairwise-Cipher = 1027076 (1) WLAN-Group-Cipher = 1027076 (1) WLAN-AKM-Suite = 1027075 (1) WLAN-Group-Mgmt-Cipher = 1027078 (1) Filter-Id = "wpa-eap" (1) Framed-MTU = 1002 (1) EAP-Message = 0x02f100a115800000009716030100920100008e0303681ba1a34d943a459c695876a9ff43ad1765c8150f7fd9b2a0164653b194958b00002c00ffc02cc02bc024c023c00ac009c008c030c02fc028c027c014c013c012009d009c003d003c0035002f000a01000039000a00080006001700180019000b00020100000d00120010040102010501060104030203050306030005000501000000000012000000170000 (1) State = 0xcddc7909cd2d6c017e997b437a3f7ce8 (1) Chargeable-User-Identity = 0x00 (1) Message-Authenticator = 0x1e260b8cc2e04c3f964cdda006db5955 (1) Restoring &session-state (1) &session-state:Framed-MTU = 994 (1) # Executing section authorize from file /etc/freeradius/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) suffix: Checking for suffix after "@" (1) suffix: No '@' in User-Name = "tracy.keeling", looking up realm NULL (1) suffix: No such realm "NULL" (1) [suffix] = noop (1) eap: Peer sent EAP Response (code 2) ID 241 length 161 (1) eap: Continuing tunnel setup (1) [eap] = ok (1) } # authorize = ok (1) Found Auth-Type = eap (1) # Executing group from file /etc/freeradius/sites-enabled/default (1) authenticate { (1) eap: Removing EAP session with state 0xcddc7909cd2d6c01 (1) eap: Previous EAP request found for state 0xcddc7909cd2d6c01, released from the list (1) eap: Peer sent packet with method EAP TTLS (21) (1) eap: Calling submodule eap_ttls to process data (1) eap_ttls: Authenticate (1) eap_ttls: (TLS) EAP Peer says that the final record size will be 151 bytes (1) eap_ttls: (TLS) EAP Got all data (151 bytes) (1) eap_ttls: (TLS) TTLS - Handshake state - before SSL initialization (1) eap_ttls: (TLS) TTLS - Handshake state - Server before SSL initialization (1) eap_ttls: (TLS) TTLS - Handshake state - Server before SSL initialization (1) eap_ttls: (TLS) TTLS - recv TLS 1.3 Handshake, ClientHello (1) eap_ttls: (TLS) TTLS - Handshake state - Server SSLv3/TLS read client hello (1) eap_ttls: (TLS) TTLS - send TLS 1.2 Handshake, ServerHello (1) eap_ttls: (TLS) TTLS - Handshake state - Server SSLv3/TLS write server hello (1) eap_ttls: (TLS) TTLS - send TLS 1.2 Handshake, Certificate (1) eap_ttls: (TLS) TTLS - Handshake state - Server SSLv3/TLS write certificate (1) eap_ttls: (TLS) TTLS - send TLS 1.2 Handshake, ServerKeyExchange (1) eap_ttls: (TLS) TTLS - Handshake state - Server SSLv3/TLS write key exchange (1) eap_ttls: (TLS) TTLS - send TLS 1.2 Handshake, ServerHelloDone (1) eap_ttls: (TLS) TTLS - Handshake state - Server SSLv3/TLS write server done (1) eap_ttls: (TLS) TTLS - Server : Need to read more data: SSLv3/TLS write server done (1) eap_ttls: (TLS) TTLS - In Handshake Phase (1) eap: Sending EAP Request (code 1) ID 242 length 1000 (1) eap: EAP session adding &reply:State = 0xcddc7909cc2e6c01 (1) [eap] = handled (1) } # authenticate = handled (1) Using Post-Auth-Type Challenge (1) # Executing group from file /etc/freeradius/sites-enabled/default (1) Challenge { ... } # empty sub-section is ignored (1) session-state: Saving cached attributes (1) Framed-MTU = 994 (1) TLS-Session-Information = "(TLS) TTLS - recv TLS 1.3 Handshake, ClientHello" (1) TLS-Session-Information = "(TLS) TTLS - send TLS 1.2 Handshake, ServerHello" (1) TLS-Session-Information = "(TLS) TTLS - send TLS 1.2 Handshake, Certificate" (1) TLS-Session-Information = "(TLS) TTLS - send TLS 1.2 Handshake, ServerKeyExchange" (1) TLS-Session-Information = "(TLS) TTLS - send TLS 1.2 Handshake, ServerHelloDone" (1) Sent Access-Challenge Id 148 from 10.1.1.8:1812 to 10.1.1.168:48856 length 1064 (1) EAP-Message = 0x01f203e815c00000093d160303005d020000590303556cbe254bb86676bafb70e7aa28de02d0468e267892a3b963ae4fcd6d93659120e4fabf1d593d7846b9ee4b428823e30874e6fc478a7a765384c94c6eabfd470ec02c000011ff01000100000b0004030001020017000016030308350b00083100082e0003cd308203c93082034fa003020102021206afd7dbfa1cf42faad081d7baa236ab1d82300a06082a8648ce3d0403033032310b300906035504061302555331163014060355040a130d4c6574277320456e6372797074310b3009060355040313024535301e170d3235303530353034323134315a170d3235303830333034323134305a3029312730250603550403131e7261646975732e636f6173746d6f756e7461696e61636164656d792e63613059301306072a8648ce3d020106082a8648ce3d0301070342000449fc1c4df329880d1380de1d3051dc195f9ce7c03c79ca8b5ac057e3116a790371366fb64436442c60d73555668ef2713f2d507e31 (1) Message-Authenticator = 0x00000000000000000000000000000000 (1) State = 0xcddc7909cc2e6c017e997b437a3f7ce8 (1) Finished request Waking up in 4.8 seconds. (2) Received Access-Request Id 149 from 10.1.1.168:48856 to 10.1.1.8:1812 length 274 (2) User-Name = "tracy.keeling" (2) NAS-IP-Address = 10.1.1.168 (2) NAS-Identifier = "2a704ecd46c0" (2) Called-Station-Id = "2A-70-4E-CD-46-C0:cma-secure" (2) NAS-Port-Type = Wireless-802.11 (2) Service-Type = Framed-User (2) NAS-Port = 1 (2) Calling-Station-Id = "3A-2B-35-7F-47-2C" (2) Connect-Info = "CONNECT 54Mbps 802.11a" (2) Acct-Session-Id = "5179492BC45C32E0" (2) Acct-Multi-Session-Id = "D0033553B33F098F" (2) Mobility-Domain-Id = 45011 (2) WLAN-Pairwise-Cipher = 1027076 (2) WLAN-Group-Cipher = 1027076 (2) WLAN-AKM-Suite = 1027075 (2) WLAN-Group-Mgmt-Cipher = 1027078 (2) Filter-Id = "wpa-eap" (2) Framed-MTU = 1002 (2) EAP-Message = 0x02f200061500 (2) State = 0xcddc7909cc2e6c017e997b437a3f7ce8 (2) Chargeable-User-Identity = 0x00 (2) Message-Authenticator = 0x12314745584fa3b3a5cf8ff1cf90f8c3 (2) Restoring &session-state (2) &session-state:Framed-MTU = 994 (2) &session-state:TLS-Session-Information = "(TLS) TTLS - recv TLS 1.3 Handshake, ClientHello" (2) &session-state:TLS-Session-Information = "(TLS) TTLS - send TLS 1.2 Handshake, ServerHello" (2) &session-state:TLS-Session-Information = "(TLS) TTLS - send TLS 1.2 Handshake, Certificate" (2) &session-state:TLS-Session-Information = "(TLS) TTLS - send TLS 1.2 Handshake, ServerKeyExchange" (2) &session-state:TLS-Session-Information = "(TLS) TTLS - send TLS 1.2 Handshake, ServerHelloDone" (2) # Executing section authorize from file /etc/freeradius/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) suffix: Checking for suffix after "@" (2) suffix: No '@' in User-Name = "tracy.keeling", looking up realm NULL (2) suffix: No such realm "NULL" (2) [suffix] = noop (2) eap: Peer sent EAP Response (code 2) ID 242 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/sites-enabled/default (2) authenticate { (2) eap: Removing EAP session with state 0xcddc7909cc2e6c01 (2) eap: Previous EAP request found for state 0xcddc7909cc2e6c01, released from the list (2) eap: Peer sent packet with method EAP TTLS (21) (2) eap: Calling submodule eap_ttls to process data (2) eap_ttls: Authenticate (2) eap_ttls: (TLS) Peer ACKed our handshake fragment (2) eap: Sending EAP Request (code 1) ID 243 length 1000 (2) eap: EAP session adding &reply:State = 0xcddc7909cf2f6c01 (2) [eap] = handled (2) } # authenticate = handled (2) Using Post-Auth-Type Challenge (2) # Executing group from file /etc/freeradius/sites-enabled/default (2) Challenge { ... } # empty sub-section is ignored (2) session-state: Saving cached attributes (2) Framed-MTU = 994 (2) TLS-Session-Information = "(TLS) TTLS - recv TLS 1.3 Handshake, ClientHello" (2) TLS-Session-Information = "(TLS) TTLS - send TLS 1.2 Handshake, ServerHello" (2) TLS-Session-Information = "(TLS) TTLS - send TLS 1.2 Handshake, Certificate" (2) TLS-Session-Information = "(TLS) TTLS - send TLS 1.2 Handshake, ServerKeyExchange" (2) TLS-Session-Information = "(TLS) TTLS - send TLS 1.2 Handshake, ServerHelloDone" (2) Sent Access-Challenge Id 149 from 10.1.1.8:1812 to 10.1.1.168:48856 length 1064 (2) EAP-Message = 0x01f303e815c00000093d1c9b39cdd943b6d33f65577f3744e3a6127d2d76ecefd5f83e5ccadcea90afacf183601c7c29e8b8154f412c360f0230118ba016ff57015b4ee7f579f91dab7bc36debc4f4482a1b1f48c75c30386fd23f4d2682c2c4d22510e4c5d2d9a6079c00045b308204573082023fa003020102021100838f6c63ceb1398c6206628315c9fdde300d06092a864886f70d01010b0500304f310b300906035504061302555331293027060355040a1320496e7465726e65742053656375726974792052657365617263682047726f7570311530130603550403130c4953524720526f6f74205831301e170d3234303331333030303030305a170d3237303331323233353935395a3032310b300906035504061302555331163014060355040a130d4c6574277320456e6372797074310b30090603550403130245353076301006072a8648ce3d020106052b81040022036200040d0b3a8a6b618eb6efdc5f58e7c6424554ab63f66661480a2e5975b48102 (2) Message-Authenticator = 0x00000000000000000000000000000000 (2) State = 0xcddc7909cf2f6c017e997b437a3f7ce8 (2) Finished request Waking up in 4.8 seconds. (3) Received Access-Request Id 150 from 10.1.1.168:48856 to 10.1.1.8:1812 length 274 (3) User-Name = "tracy.keeling" (3) NAS-IP-Address = 10.1.1.168 (3) NAS-Identifier = "2a704ecd46c0" (3) Called-Station-Id = "2A-70-4E-CD-46-C0:cma-secure" (3) NAS-Port-Type = Wireless-802.11 (3) Service-Type = Framed-User (3) NAS-Port = 1 (3) Calling-Station-Id = "3A-2B-35-7F-47-2C" (3) Connect-Info = "CONNECT 54Mbps 802.11a" (3) Acct-Session-Id = "5179492BC45C32E0" (3) Acct-Multi-Session-Id = "D0033553B33F098F" (3) Mobility-Domain-Id = 45011 (3) WLAN-Pairwise-Cipher = 1027076 (3) WLAN-Group-Cipher = 1027076 (3) WLAN-AKM-Suite = 1027075 (3) WLAN-Group-Mgmt-Cipher = 1027078 (3) Filter-Id = "wpa-eap" (3) Framed-MTU = 1002 (3) EAP-Message = 0x02f300061500 (3) State = 0xcddc7909cf2f6c017e997b437a3f7ce8 (3) Chargeable-User-Identity = 0x00 (3) Message-Authenticator = 0x8b41309d88e1da41e5a034058111636a (3) Restoring &session-state (3) &session-state:Framed-MTU = 994 (3) &session-state:TLS-Session-Information = "(TLS) TTLS - recv TLS 1.3 Handshake, ClientHello" (3) &session-state:TLS-Session-Information = "(TLS) TTLS - send TLS 1.2 Handshake, ServerHello" (3) &session-state:TLS-Session-Information = "(TLS) TTLS - send TLS 1.2 Handshake, Certificate" (3) &session-state:TLS-Session-Information = "(TLS) TTLS - send TLS 1.2 Handshake, ServerKeyExchange" (3) &session-state:TLS-Session-Information = "(TLS) TTLS - send TLS 1.2 Handshake, ServerHelloDone" (3) # Executing section authorize from file /etc/freeradius/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) suffix: Checking for suffix after "@" (3) suffix: No '@' in User-Name = "tracy.keeling", looking up realm NULL (3) suffix: No such realm "NULL" (3) [suffix] = noop (3) eap: Peer sent EAP Response (code 2) ID 243 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/sites-enabled/default (3) authenticate { (3) eap: Removing EAP session with state 0xcddc7909cf2f6c01 (3) eap: Previous EAP request found for state 0xcddc7909cf2f6c01, released from the list (3) eap: Peer sent packet with method EAP TTLS (21) (3) eap: Calling submodule eap_ttls to process data (3) eap_ttls: Authenticate (3) eap_ttls: (TLS) Peer ACKed our handshake fragment (3) eap: Sending EAP Request (code 1) ID 244 length 395 (3) eap: EAP session adding &reply:State = 0xcddc7909ce286c01 (3) [eap] = handled (3) } # authenticate = handled (3) Using Post-Auth-Type Challenge (3) # Executing group from file /etc/freeradius/sites-enabled/default (3) Challenge { ... } # empty sub-section is ignored (3) session-state: Saving cached attributes (3) Framed-MTU = 994 (3) TLS-Session-Information = "(TLS) TTLS - recv TLS 1.3 Handshake, ClientHello" (3) TLS-Session-Information = "(TLS) TTLS - send TLS 1.2 Handshake, ServerHello" (3) TLS-Session-Information = "(TLS) TTLS - send TLS 1.2 Handshake, Certificate" (3) TLS-Session-Information = "(TLS) TTLS - send TLS 1.2 Handshake, ServerKeyExchange" (3) TLS-Session-Information = "(TLS) TTLS - send TLS 1.2 Handshake, ServerHelloDone" (3) Sent Access-Challenge Id 150 from 10.1.1.8:1812 to 10.1.1.168:48856 length 455 (3) EAP-Message = 0x01f4018b15800000093d167bfcb23caa53cca981968d27d69571648808b388135fd0bffee82ac9d909627ddbac14e91a86d4e60f18e8b5cee00184bc3ad5cb8f5434f6f27412fdeeb3f797095ead1e2b505c689e9f259b266e34600f9a779af11fe6f75033b30212f534b476ecc762399871c9a000476fc2950605a9fe571719689669e3b207b44ff8e7c3b6f8b63ac6a9c57895eef355b3b7cc96b4636358e829aaa69b272706f02ad780046edc8bb157ce4bae81f1aa647855f6358e173c4615e194827bc5473eb76b111936c082c6dd3fc41a648890261550c4a78e625d5500fd17a35affece65c2716030300930c00008f03001741049cb4477fdbc61f66c9df76352e216a02e37e8021b97043d745d50efb70d1be14327efa46046b9066a82f777f23824ee18b8049a1ca34a16397c4437cf0f6d52b04030046304402205b512c632231b6f4603c3dd2ce63d14257eb5bd9fc58709bbcc0498401d88157022007fd82875d51429b24dd2f18e29f953af95ef3e341 (3) Message-Authenticator = 0x00000000000000000000000000000000 (3) State = 0xcddc7909ce286c017e997b437a3f7ce8 (3) Finished request Waking up in 4.8 seconds. (0) Cleaning up request packet ID 147 with timestamp +305 due to cleanup_delay was reached Waking up in 0.1 seconds. (1) Cleaning up request packet ID 148 with timestamp +306 due to cleanup_delay was reached (2) Cleaning up request packet ID 149 with timestamp +306 due to cleanup_delay was reached (3) Cleaning up request packet ID 150 with timestamp +306 due to cleanup_delay was reached Ready to process requests (4) Received Access-Request Id 151 from 10.1.1.168:48856 to 10.1.1.8:1812 length 404 (4) User-Name = "tracy.keeling" (4) NAS-IP-Address = 10.1.1.168 (4) NAS-Identifier = "2a704ecd46c0" (4) Called-Station-Id = "2A-70-4E-CD-46-C0:cma-secure" (4) NAS-Port-Type = Wireless-802.11 (4) Service-Type = Framed-User (4) NAS-Port = 1 (4) Calling-Station-Id = "3A-2B-35-7F-47-2C" (4) Connect-Info = "CONNECT 54Mbps 802.11a" (4) Acct-Session-Id = "5179492BC45C32E0" (4) Acct-Multi-Session-Id = "D0033553B33F098F" (4) Mobility-Domain-Id = 45011 (4) WLAN-Pairwise-Cipher = 1027076 (4) WLAN-Group-Cipher = 1027076 (4) WLAN-AKM-Suite = 1027075 (4) WLAN-Group-Mgmt-Cipher = 1027078 (4) Filter-Id = "wpa-eap" (4) Framed-MTU = 1002 (4) EAP-Message = 0x02f4008815800000007e1603030046100000424104d1542287014d2cdceafb3e0a4ed3f6b18ddf389dc6c5039228528df457508c8e76b59c28ddc79dda5f4d466f501252d7fb202c7fe792a2cd2f9ab00dfaa238a1140303000101160303002881500fbb0896f6f3c91b05718844ed63509700a8c2d0a2f302636057f1eb4c52806ac99cc4fa793a (4) State = 0xcddc7909ce286c017e997b437a3f7ce8 (4) Chargeable-User-Identity = 0x00 (4) Message-Authenticator = 0xd08e002e81dc3b47875f09c9ca8ff0d7 (4) Restoring &session-state (4) &session-state:Framed-MTU = 994 (4) &session-state:TLS-Session-Information = "(TLS) TTLS - recv TLS 1.3 Handshake, ClientHello" (4) &session-state:TLS-Session-Information = "(TLS) TTLS - send TLS 1.2 Handshake, ServerHello" (4) &session-state:TLS-Session-Information = "(TLS) TTLS - send TLS 1.2 Handshake, Certificate" (4) &session-state:TLS-Session-Information = "(TLS) TTLS - send TLS 1.2 Handshake, ServerKeyExchange" (4) &session-state:TLS-Session-Information = "(TLS) TTLS - send TLS 1.2 Handshake, ServerHelloDone" (4) # Executing section authorize from file /etc/freeradius/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) suffix: Checking for suffix after "@" (4) suffix: No '@' in User-Name = "tracy.keeling", looking up realm NULL (4) suffix: No such realm "NULL" (4) [suffix] = noop (4) eap: Peer sent EAP Response (code 2) ID 244 length 136 (4) eap: Continuing tunnel setup (4) [eap] = ok (4) } # authorize = ok (4) Found Auth-Type = eap (4) # Executing group from file /etc/freeradius/sites-enabled/default (4) authenticate { (4) eap: Removing EAP session with state 0xcddc7909ce286c01 (4) eap: Previous EAP request found for state 0xcddc7909ce286c01, released from the list (4) eap: Peer sent packet with method EAP TTLS (21) (4) eap: Calling submodule eap_ttls to process data (4) eap_ttls: Authenticate (4) eap_ttls: (TLS) EAP Peer says that the final record size will be 126 bytes (4) eap_ttls: (TLS) EAP Got all data (126 bytes) (4) eap_ttls: (TLS) TTLS - Handshake state - Server SSLv3/TLS write server done (4) eap_ttls: (TLS) TTLS - recv TLS 1.2 Handshake, ClientKeyExchange (4) eap_ttls: (TLS) TTLS - Handshake state - Server SSLv3/TLS read client key exchange (4) eap_ttls: (TLS) TTLS - Handshake state - Server SSLv3/TLS read change cipher spec (4) eap_ttls: (TLS) TTLS - recv TLS 1.2 Handshake, Finished (4) eap_ttls: (TLS) TTLS - Handshake state - Server SSLv3/TLS read finished (4) eap_ttls: (TLS) TTLS - send TLS 1.2 ChangeCipherSpec (4) eap_ttls: (TLS) TTLS - Handshake state - Server SSLv3/TLS write change cipher spec (4) eap_ttls: (TLS) TTLS - send TLS 1.2 Handshake, Finished (4) eap_ttls: (TLS) TTLS - Handshake state - Server SSLv3/TLS write finished (4) eap_ttls: (TLS) TTLS - Handshake state - SSL negotiation finished successfully (4) eap_ttls: (TLS) TTLS - Connection Established (4) eap_ttls: TLS-Session-Cipher-Suite = "ECDHE-ECDSA-AES256-GCM-SHA384" (4) eap_ttls: TLS-Session-Version = "TLS 1.2" (4) eap: Sending EAP Request (code 1) ID 245 length 61 (4) eap: EAP session adding &reply:State = 0xcddc7909c9296c01 (4) [eap] = handled (4) } # authenticate = handled (4) Using Post-Auth-Type Challenge (4) # Executing group from file /etc/freeradius/sites-enabled/default (4) Challenge { ... } # empty sub-section is ignored (4) session-state: Saving cached attributes (4) Framed-MTU = 994 (4) TLS-Session-Information = "(TLS) TTLS - recv TLS 1.3 Handshake, ClientHello" (4) TLS-Session-Information = "(TLS) TTLS - send TLS 1.2 Handshake, ServerHello" (4) TLS-Session-Information = "(TLS) TTLS - send TLS 1.2 Handshake, Certificate" (4) TLS-Session-Information = "(TLS) TTLS - send TLS 1.2 Handshake, ServerKeyExchange" (4) TLS-Session-Information = "(TLS) TTLS - send TLS 1.2 Handshake, ServerHelloDone" (4) TLS-Session-Information = "(TLS) TTLS - recv TLS 1.2 Handshake, ClientKeyExchange" (4) TLS-Session-Information = "(TLS) TTLS - recv TLS 1.2 Handshake, Finished" (4) TLS-Session-Information = "(TLS) TTLS - send TLS 1.2 ChangeCipherSpec" (4) TLS-Session-Information = "(TLS) TTLS - send TLS 1.2 Handshake, Finished" (4) TLS-Session-Cipher-Suite = "ECDHE-ECDSA-AES256-GCM-SHA384" (4) TLS-Session-Version = "TLS 1.2" (4) Sent Access-Challenge Id 151 from 10.1.1.8:1812 to 10.1.1.168:48856 length 119 (4) EAP-Message = 0x01f5003d1580000000331403030001011603030028615a355c04691af243bc5ead2e97bde9378c5f24985fa27b5e9690d3355e2e6c0a843ae75239beac (4) Message-Authenticator = 0x00000000000000000000000000000000 (4) State = 0xcddc7909c9296c017e997b437a3f7ce8 (4) Finished request Waking up in 4.9 seconds. (5) Received Access-Request Id 152 from 10.1.1.168:48856 to 10.1.1.8:1812 length 335 (5) User-Name = "tracy.keeling" (5) NAS-IP-Address = 10.1.1.168 (5) NAS-Identifier = "2a704ecd46c0" (5) Called-Station-Id = "2A-70-4E-CD-46-C0:cma-secure" (5) NAS-Port-Type = Wireless-802.11 (5) Service-Type = Framed-User (5) NAS-Port = 1 (5) Calling-Station-Id = "3A-2B-35-7F-47-2C" (5) Connect-Info = "CONNECT 54Mbps 802.11a" (5) Acct-Session-Id = "5179492BC45C32E0" (5) Acct-Multi-Session-Id = "D0033553B33F098F" (5) Mobility-Domain-Id = 45011 (5) WLAN-Pairwise-Cipher = 1027076 (5) WLAN-Group-Cipher = 1027076 (5) WLAN-AKM-Suite = 1027075 (5) WLAN-Group-Mgmt-Cipher = 1027078 (5) Filter-Id = "wpa-eap" (5) Framed-MTU = 1002 (5) EAP-Message = 0x02f50043158000000039170303003481500fbb0896f6f4e8e09b37fb025836c6cc94bb8e02463dd4293c738e4537a91bba3b9e2aac4d503f5879e5072a009e78032394 (5) State = 0xcddc7909c9296c017e997b437a3f7ce8 (5) Chargeable-User-Identity = 0x00 (5) Message-Authenticator = 0xaa2240d22c8c74f941a8148d38a90697 (5) Restoring &session-state (5) &session-state:Framed-MTU = 994 (5) &session-state:TLS-Session-Information = "(TLS) TTLS - recv TLS 1.3 Handshake, ClientHello" (5) &session-state:TLS-Session-Information = "(TLS) TTLS - send TLS 1.2 Handshake, ServerHello" (5) &session-state:TLS-Session-Information = "(TLS) TTLS - send TLS 1.2 Handshake, Certificate" (5) &session-state:TLS-Session-Information = "(TLS) TTLS - send TLS 1.2 Handshake, ServerKeyExchange" (5) &session-state:TLS-Session-Information = "(TLS) TTLS - send TLS 1.2 Handshake, ServerHelloDone" (5) &session-state:TLS-Session-Information = "(TLS) TTLS - recv TLS 1.2 Handshake, ClientKeyExchange" (5) &session-state:TLS-Session-Information = "(TLS) TTLS - recv TLS 1.2 Handshake, Finished" (5) &session-state:TLS-Session-Information = "(TLS) TTLS - send TLS 1.2 ChangeCipherSpec" (5) &session-state:TLS-Session-Information = "(TLS) TTLS - send TLS 1.2 Handshake, Finished" (5) &session-state:TLS-Session-Cipher-Suite = "ECDHE-ECDSA-AES256-GCM-SHA384" (5) &session-state:TLS-Session-Version = "TLS 1.2" (5) # Executing section authorize from file /etc/freeradius/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) suffix: Checking for suffix after "@" (5) suffix: No '@' in User-Name = "tracy.keeling", looking up realm NULL (5) suffix: No such realm "NULL" (5) [suffix] = noop (5) eap: Peer sent EAP Response (code 2) ID 245 length 67 (5) eap: Continuing tunnel setup (5) [eap] = ok (5) } # authorize = ok (5) Found Auth-Type = eap (5) # Executing group from file /etc/freeradius/sites-enabled/default (5) authenticate { (5) eap: Removing EAP session with state 0xcddc7909c9296c01 (5) eap: Previous EAP request found for state 0xcddc7909c9296c01, released from the list (5) eap: Peer sent packet with method EAP TTLS (21) (5) eap: Calling submodule eap_ttls to process data (5) eap_ttls: Authenticate (5) eap_ttls: (TLS) EAP Peer says that the final record size will be 57 bytes (5) eap_ttls: (TLS) EAP Got all data (57 bytes) (5) eap_ttls: Session established. Proceeding to decode tunneled attributes (5) eap_ttls: Got tunneled request (5) eap_ttls: EAP-Message = 0x020000120174726163792e6b65656c696e67 (5) eap_ttls: FreeRADIUS-Proxied-To = 127.0.0.1 (5) eap_ttls: Got tunneled identity of tracy.keeling (5) eap_ttls: Setting default EAP type for tunneled EAP session (5) eap_ttls: Sending tunneled request (5) Virtual server google-ldap received request (5) EAP-Message = 0x020000120174726163792e6b65656c696e67 (5) FreeRADIUS-Proxied-To = 127.0.0.1 (5) User-Name = "tracy.keeling" (5) NAS-IP-Address = 10.1.1.168 (5) NAS-Identifier = "2a704ecd46c0" (5) Called-Station-Id = "2A-70-4E-CD-46-C0:cma-secure" (5) NAS-Port-Type = Wireless-802.11 (5) Service-Type = Framed-User (5) NAS-Port = 1 (5) Calling-Station-Id = "3A-2B-35-7F-47-2C" (5) Connect-Info = "CONNECT 54Mbps 802.11a" (5) Acct-Session-Id = "5179492BC45C32E0" (5) Acct-Multi-Session-Id = "D0033553B33F098F" (5) Mobility-Domain-Id = 45011 (5) WLAN-Pairwise-Cipher = 1027076 (5) WLAN-Group-Cipher = 1027076 (5) WLAN-AKM-Suite = 1027075 (5) WLAN-Group-Mgmt-Cipher = 1027078 (5) Filter-Id = "wpa-eap" (5) Framed-MTU = 1002 (5) Chargeable-User-Identity = 0x00 (5) Event-Timestamp = "May 7 2025 18:08:55 UTC" (5) WARNING: Outer and inner identities are the same. User privacy is compromised. (5) server google-ldap { (5) # Executing section authorize from file /etc/freeradius/sites-enabled/google-ldap (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) policy filter_inner_identity { (5) if (!&outer.request:User-Name || !&User-Name) { (5) if (!&outer.request:User-Name || !&User-Name) -> FALSE (5) if (&outer.request:User-Name != &User-Name) { (5) if (&outer.request:User-Name != &User-Name) -> FALSE (5) } # policy filter_inner_identity = notfound (5) policy split_username_nai { (5) if (&User-Name && (&User-Name =~ /^([^@]*)(@([-[:alnum:]]+\.[-[:alnum:].]+))?$/)) { (5) if (&User-Name && (&User-Name =~ /^([^@]*)(@([-[:alnum:]]+\.[-[:alnum:].]+))?$/)) -> TRUE (5) if (&User-Name && (&User-Name =~ /^([^@]*)(@([-[:alnum:]]+\.[-[:alnum:].]+))?$/)) { (5) update request { (5) EXPAND %{1} (5) --> tracy.keeling (5) &Stripped-User-Name := tracy.keeling (5) } # update request = noop (5) if ("%{3}" != '') { (5) EXPAND %{3} (5) --> (5) if ("%{3}" != '') -> FALSE (5) [updated] = updated (5) } # if (&User-Name && (&User-Name =~ /^([^@]*)(@([-[:alnum:]]+\.[-[:alnum:].]+))?$/)) = updated (5) ... skipping else: Preceding "if" was taken (5) } # policy split_username_nai = updated (5) update control { (5) &Cache-Status-Only := yes (5) } # update control = noop (5) cache_auth_accept: EXPAND %{md5:%{%{Stripped-User-Name}:-%{User-Name}}%{User-Password}} (5) cache_auth_accept: --> d2f136068a09f600838d76b6167f4f2d (5) cache_auth_accept: No cache entry found for "d2f136068a09f600838d76b6167f4f2d" (5) [cache_auth_accept] = notfound (5) if (ok) { (5) if (ok) -> FALSE (5) update control { (5) &Cache-Status-Only := yes (5) } # update control = noop (5) cache_auth_reject: EXPAND %{md5:%{Calling-Station-Id}%{Stripped-User-Name}%{User-Password}} (5) cache_auth_reject: --> b4ee57be8f179e2c8fa31b05765163ca (5) cache_auth_reject: No cache entry found for "b4ee57be8f179e2c8fa31b05765163ca" (5) [cache_auth_reject] = notfound (5) if (ok) { (5) if (ok) -> FALSE (5) if (&User-Password && !control:Auth-Type) { (5) if (&User-Password && !control:Auth-Type) -> FALSE (5) } # authorize = updated (5) ERROR: No Auth-Type found: rejecting the user via Post-Auth-Type = Reject (5) Failed to authenticate the user (5) Using Post-Auth-Type Reject (5) # Executing group from file /etc/freeradius/sites-enabled/google-ldap (5) Post-Auth-Type REJECT { (5) attr_filter.access_reject: EXPAND %{User-Name} (5) attr_filter.access_reject: --> tracy.keeling (5) attr_filter.access_reject: Matched entry DEFAULT at line 11 (5) [attr_filter.access_reject] = updated (5) if (&control:Auth-Type == ldap) { (5) ERROR: Failed retrieving values required to evaluate condition (5) update control { (5) &Cache-TTL := 0 (5) } # update control = noop (5) cache_ldap_user_dn: EXPAND %{Stripped-User-Name} (5) cache_ldap_user_dn: --> tracy.keeling (5) cache_ldap_user_dn: No cache entry found for "tracy.keeling" (5) cache_ldap_user_dn: Creating new cache entry (5) cache_ldap_user_dn: Merging cache entry into request (5) cache_ldap_user_dn: Committed entry, TTL 86400 seconds (5) [cache_ldap_user_dn] = updated (5) } # Post-Auth-Type REJECT = updated (5) } # server google-ldap (5) Virtual server sending reply (5) eap_ttls: Got tunneled Access-Reject (5) eap: ERROR: Failed continuing EAP TTLS (21) session. EAP sub-module failed (5) eap: Sending EAP Failure (code 4) ID 245 length 4 (5) eap: Failed in EAP select (5) [eap] = invalid (5) } # authenticate = invalid (5) Failed to authenticate the user (5) Using Post-Auth-Type Reject (5) # Executing group from file /etc/freeradius/sites-enabled/default (5) Post-Auth-Type REJECT { (5) attr_filter.access_reject: EXPAND %{User-Name} (5) attr_filter.access_reject: --> tracy.keeling (5) attr_filter.access_reject: Matched entry DEFAULT at line 11 (5) [attr_filter.access_reject] = updated (5) [eap] = noop (5) policy remove_reply_message_if_eap { (5) if (&reply:EAP-Message && &reply:Reply-Message) { (5) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE (5) else { (5) [noop] = noop (5) } # else = noop (5) } # policy remove_reply_message_if_eap = noop (5) } # Post-Auth-Type REJECT = updated (5) Delaying response for 1.000000 seconds Waking up in 0.3 seconds. Waking up in 0.6 seconds. (5) Sending delayed response (5) Sent Access-Reject Id 152 from 10.1.1.8:1812 to 10.1.1.168:48856 length 44 (5) EAP-Message = 0x04f50004 (5) Message-Authenticator = 0x00000000000000000000000000000000 Waking up in 3.9 seconds. (4) Cleaning up request packet ID 151 with timestamp +326 due to cleanup_delay was reached (5) Cleaning up request packet ID 152 with timestamp +326 due to cleanup_delay was reached Ready to process requests Can you see why inner-tunnel "google-ldap" is not evaluating (&User-Password && !control:Auth-Type) TRUE in order to set Auth-Type to 'ldap'? Thanks, Evan On Wed, May 7, 2025 at 9:55 AM Alan DeKok <aland@deployingradius.com> wrote:
On May 7, 2025, at 12:29 PM, Evan Sharp via Freeradius-Users < freeradius-users@lists.freeradius.org> wrote:
I'm having difficulty understanding why &User-Password is not being found by my inner-tunnel virtual server. Desired outcome is EAP-TTLS/PAP for google's LDAP.
Read the debug output.
In my debug output, I see that the conditional check that would specify ldap as the Auth-Type is not passing.
[eap setup success] [ttls setup success] ... (5) if (&User-Password && !control:Auth-Type) { (5) if (&User-Password && !control:Auth-Type) -> FALSE (5) } # authorize = updated (5) ERROR: No Auth-Type found: rejecting the user via Post-Auth-Type = Reject (5) Failed to authenticate the user [post-auth-reject]
If you're not sure how to read the debug output, then post it to the list.
ALL OF IT.
Don't edit it. When you edit the debug output, you're deleting things which are needed to answer your question.
Go read http://wiki.freeradius.org/list-help
We write documentation because we want people to read it.
Alan DeKok.
On May 7, 2025, at 2:16 PM, Evan Sharp <evan.sharp@coastmountainacademy.ca> wrote:
Thanks for the direction Alan. Full debug:
So reading it is instructive.
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
The server starts, and there's a ton of debug messages about doing TLS things. Then it starts running the google-ldap virtual server. i.e. if you're trying to debug what's going on with that virtual server, save the debug log to a file, then open it in a text editor, and look for "google-ldap". After a bit of searching, you will get this:
/// (5) eap_ttls: Session established. Proceeding to decode tunneled attributes (5) eap_ttls: Got tunneled request (5) eap_ttls: EAP-Message = 0x020000120174726163792e6b65656c696e67 (5) eap_ttls: FreeRADIUS-Proxied-To = 127.0.0.1 (5) eap_ttls: Got tunneled identity of tracy.keeling (5) eap_ttls: Setting default EAP type for tunneled EAP session (5) eap_ttls: Sending tunneled request (5) Virtual server google-ldap received request
So there's the issue. The supplicant (end user device) is configured to send EAP inside of the inner tunnel, and not PAP. Why isn't there a User-Password? Because the supplicant isn't sending it. How can you make FreeRADIUS get the User-Password? You can't. The supplicant is choosing to send EAP, instead of User-Password. No amount of poking FreeRADIUS will change the configuration on the supplicant. Update the supplicant so that it's configured to do PAP authentication inside of TTLS. Nothing else will fix the problem. Alan DeKok.
participants (2)
-
Alan DeKok -
Evan Sharp