I want the server to authenticate users based on username/password and devices based on MAC addresses. When I turn on 802.1x on the Ethernet switch, username/password works on Linux but not on Windows 10/11. MAC-Auth configured on the corresponding ports of the Ethernet switch does not work at all. Here is the debug of the server: FreeRADIUS Version 3.0.17 Copyright (C) 1999-2017 The FreeRADIUS server project and contributors There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE You may redistribute copies of FreeRADIUS under the terms of the GNU General Public License For more information about these matters, see the file named COPYRIGHT Starting - reading configuration files ... including dictionary file /usr/share/freeradius/dictionary including dictionary file /usr/share/freeradius/dictionary.dhcp including dictionary file /usr/share/freeradius/dictionary.vqp including dictionary file /etc/freeradius/3.0/dictionary including configuration file /etc/freeradius/3.0/radiusd.conf including configuration file /etc/freeradius/3.0/proxy.conf including configuration file /etc/freeradius/3.0/clients.conf including files in directory /etc/freeradius/3.0/mods-enabled/ including configuration file /etc/freeradius/3.0/mods-enabled/echo including configuration file /etc/freeradius/3.0/mods-enabled/digest including configuration file /etc/freeradius/3.0/mods-enabled/exec including configuration file /etc/freeradius/3.0/mods-enabled/cache_eap including configuration file /etc/freeradius/3.0/mods-enabled/replicate including configuration file /etc/freeradius/3.0/mods-enabled/detail including configuration file /etc/freeradius/3.0/mods-enabled/chap including configuration file /etc/freeradius/3.0/mods-enabled/sradutmp including configuration file /etc/freeradius/3.0/mods-enabled/radutmp including configuration file /etc/freeradius/3.0/mods-enabled/linelog including configuration file /etc/freeradius/3.0/mods-enabled/dynamic_clients including configuration file /etc/freeradius/3.0/mods-enabled/attr_filter including configuration file /etc/freeradius/3.0/mods-enabled/unix including configuration file /etc/freeradius/3.0/mods-enabled/unpack including configuration file /etc/freeradius/3.0/mods-enabled/soh including configuration file /etc/freeradius/3.0/mods-enabled/expr including configuration file /etc/freeradius/3.0/mods-enabled/ntlm_auth including configuration file /etc/freeradius/3.0/mods-enabled/pap including configuration file /etc/freeradius/3.0/mods-enabled/detail.log including configuration file /etc/freeradius/3.0/mods-enabled/utf8 including configuration file /etc/freeradius/3.0/mods-enabled/always including configuration file /etc/freeradius/3.0/mods-enabled/preprocess including configuration file /etc/freeradius/3.0/mods-enabled/expiration including configuration file /etc/freeradius/3.0/mods-enabled/realm including configuration file /etc/freeradius/3.0/mods-enabled/passwd including configuration file /etc/freeradius/3.0/mods-enabled/logintime including configuration file /etc/freeradius/3.0/mods-enabled/eap including configuration file /etc/freeradius/3.0/mods-enabled/mschap including configuration file /etc/freeradius/3.0/mods-enabled/files including files in directory /etc/freeradius/3.0/policy.d/ including configuration file /etc/freeradius/3.0/policy.d/cui including configuration file /etc/freeradius/3.0/policy.d/canonicalization including configuration file /etc/freeradius/3.0/policy.d/abfab-tr including configuration file /etc/freeradius/3.0/policy.d/accounting including configuration file /etc/freeradius/3.0/policy.d/debug including configuration file /etc/freeradius/3.0/policy.d/dhcp including configuration file /etc/freeradius/3.0/policy.d/moonshot-targeted-ids including configuration file /etc/freeradius/3.0/policy.d/control including configuration file /etc/freeradius/3.0/policy.d/filter including configuration file /etc/freeradius/3.0/policy.d/eap including configuration file /etc/freeradius/3.0/policy.d/operator-name including files in directory /etc/freeradius/3.0/sites-enabled/ including configuration file /etc/freeradius/3.0/sites-enabled/inner-tunnel including configuration file /etc/freeradius/3.0/sites-enabled/default main { security { user = "freerad" group = "freerad" allow_core_dumps = no } name = "freeradius" prefix = "/usr" localstatedir = "/var" logdir = "/var/log/freeradius" run_dir = "/var/run/freeradius" } main { name = "freeradius" prefix = "/usr" localstatedir = "/var" sbindir = "/usr/sbin" logdir = "/var/log/freeradius" run_dir = "/var/run/freeradius" libdir = "/usr/lib/freeradius" radacctdir = "/var/log/freeradius/radacct" hostname_lookups = no max_request_time = 30 cleanup_delay = 5 max_requests = 16384 pidfile = "/var/run/freeradius/freeradius.pid" checkrad = "/usr/sbin/checkrad" debug_level = 0 proxy_requests = yes log { stripped_names = no auth = no auth_badpass = no auth_goodpass = no colourise = yes msg_denied = "You are already logged in - access denied" } resources { } security { max_attributes = 200 reject_delay = 1.000000 status_server = yes } } radiusd: #### Loading Realms and Home Servers #### proxy server { retry_delay = 5 retry_count = 3 default_fallback = no dead_time = 120 wake_all_if_all_dead = no } home_server localhost { ipaddr = 127.0.0.1 port = 1812 type = "auth" secret = <<< secret >>> response_window = 20.000000 response_timeouts = 1 max_outstanding = 65536 zombie_period = 40 status_check = "status-server" ping_interval = 30 check_interval = 30 check_timeout = 4 num_answers_to_alive = 3 revive_interval = 120 limit { max_connections = 16 max_requests = 0 lifetime = 0 idle_timeout = 0 } coa { irt = 2 mrt = 16 mrc = 5 mrd = 30 } } home_server_pool my_auth_failover { type = fail-over home_server = localhost } realm example.com { auth_pool = my_auth_failover } realm LOCAL { } radiusd: #### Loading Clients #### client localhost { ipaddr = 127.0.0.1 require_message_authenticator = no secret = <<< secret >>> nas_type = "other" proto = "*" limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } client localhost_ipv6 { ipv6addr = ::1 require_message_authenticator = no secret = <<< secret >>> limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } client Advantech { ipaddr = 172.16.5.60 require_message_authenticator = no secret = <<< secret >>> limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } client AMG570 { ipaddr = 172.16.5.90 require_message_authenticator = no secret = <<< secret >>> limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } Debugger not attached # Creating Auth-Type = mschap # Creating Auth-Type = eap # Creating Auth-Type = PAP # Creating Auth-Type = CHAP # Creating Auth-Type = MS-CHAP # Creating Auth-Type = digest radiusd: #### Instantiating modules #### modules { # Loaded module rlm_exec # Loading module "echo" from file /etc/freeradius/3.0/mods-enabled/echo exec echo { wait = yes program = "/bin/echo %{User-Name}" input_pairs = "request" output_pairs = "reply" shell_escape = yes } # Loaded module rlm_digest # Loading module "digest" from file /etc/freeradius/3.0/mods-enabled/digest # Loading module "exec" from file /etc/freeradius/3.0/mods-enabled/exec exec { wait = no input_pairs = "request" shell_escape = yes timeout = 10 } # Loaded module rlm_cache # Loading module "cache_eap" from file /etc/freeradius/3.0/mods-enabled/cache_eap cache cache_eap { driver = "rlm_cache_rbtree" key = "%{%{control:State}:-%{%{reply:State}:-%{State}}}" ttl = 15 max_entries = 0 epoch = 0 add_stats = no } # Loaded module rlm_replicate # Loading module "replicate" from file /etc/freeradius/3.0/mods-enabled/replicate # Loaded module rlm_detail # Loading module "detail" from file /etc/freeradius/3.0/mods-enabled/detail detail { filename = "/var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d" header = "%t" permissions = 384 locking = no escape_filenames = no log_packet_header = no } # Loaded module rlm_chap # Loading module "chap" from file /etc/freeradius/3.0/mods-enabled/chap # Loaded module rlm_radutmp # Loading module "sradutmp" from file /etc/freeradius/3.0/mods-enabled/sradutmp radutmp sradutmp { filename = "/var/log/freeradius/sradutmp" username = "%{User-Name}" case_sensitive = yes check_with_nas = yes permissions = 420 caller_id = no } # Loading module "radutmp" from file /etc/freeradius/3.0/mods-enabled/radutmp radutmp { filename = "/var/log/freeradius/radutmp" username = "%{User-Name}" case_sensitive = yes check_with_nas = yes permissions = 384 caller_id = yes } # Loaded module rlm_linelog # Loading module "linelog" from file /etc/freeradius/3.0/mods-enabled/linelog linelog { filename = "/var/log/freeradius/linelog" escape_filenames = no syslog_severity = "info" permissions = 384 format = "This is a log message for %{User-Name}" reference = "messages.%{%{reply:Packet-Type}:-default}" } # Loading module "log_accounting" from file /etc/freeradius/3.0/mods-enabled/linelog linelog log_accounting { filename = "/var/log/freeradius/linelog-accounting" escape_filenames = no syslog_severity = "info" permissions = 384 format = "" reference = "Accounting-Request.%{%{Acct-Status-Type}:-unknown}" } # Loaded module rlm_dynamic_clients # Loading module "dynamic_clients" from file /etc/freeradius/3.0/mods-enabled/dynamic_clients # Loaded module rlm_attr_filter # Loading module "attr_filter.post-proxy" from file /etc/freeradius/3.0/mods-enabled/attr_filter attr_filter attr_filter.post-proxy { filename = "/etc/freeradius/3.0/mods-config/attr_filter/post-proxy" key = "%{Realm}" relaxed = no } # Loading module "attr_filter.pre-proxy" from file /etc/freeradius/3.0/mods-enabled/attr_filter attr_filter attr_filter.pre-proxy { filename = "/etc/freeradius/3.0/mods-config/attr_filter/pre-proxy" key = "%{Realm}" relaxed = no } # Loading module "attr_filter.access_reject" from file /etc/freeradius/3.0/mods-enabled/attr_filter attr_filter attr_filter.access_reject { filename = "/etc/freeradius/3.0/mods-config/attr_filter/access_reject" key = "%{User-Name}" relaxed = no } # Loading module "attr_filter.access_challenge" from file /etc/freeradius/3.0/mods-enabled/attr_filter attr_filter attr_filter.access_challenge { filename = "/etc/freeradius/3.0/mods-config/attr_filter/access_challenge" key = "%{User-Name}" relaxed = no } # Loading module "attr_filter.accounting_response" from file /etc/freeradius/3.0/mods-enabled/attr_filter attr_filter attr_filter.accounting_response { filename = "/etc/freeradius/3.0/mods-config/attr_filter/accounting_response" key = "%{User-Name}" relaxed = no } # Loaded module rlm_unix # Loading module "unix" from file /etc/freeradius/3.0/mods-enabled/unix unix { radwtmp = "/var/log/freeradius/radwtmp" } Creating attribute Unix-Group # Loaded module rlm_unpack # Loading module "unpack" from file /etc/freeradius/3.0/mods-enabled/unpack # Loaded module rlm_soh # Loading module "soh" from file /etc/freeradius/3.0/mods-enabled/soh soh { dhcp = yes } # Loaded module rlm_expr # Loading module "expr" from file /etc/freeradius/3.0/mods-enabled/expr expr { safe_characters = "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /äéöüàâæçèéêëîïôœùûüaÿÄÉÖÜßÀÂÆÇÈÉÊËÎÏÔŒÙÛÜŸ" } # Loading module "ntlm_auth" from file /etc/freeradius/3.0/mods-enabled/ntlm_auth exec ntlm_auth { wait = yes program = "/path/to/ntlm_auth --request-nt-key --domain=MYDOMAIN --username=%{mschap:User-Name} --password=%{User-Password}" shell_escape = yes } # Loaded module rlm_pap # Loading module "pap" from file /etc/freeradius/3.0/mods-enabled/pap pap { normalise = yes } # Loading module "auth_log" from file /etc/freeradius/3.0/mods-enabled/detail.log detail auth_log { filename = "/var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d" header = "%t" permissions = 384 locking = no escape_filenames = no log_packet_header = no } # Loading module "reply_log" from file /etc/freeradius/3.0/mods-enabled/detail.log detail reply_log { filename = "/var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/reply-detail-%Y%m%d" header = "%t" permissions = 384 locking = no escape_filenames = no log_packet_header = no } # Loading module "pre_proxy_log" from file /etc/freeradius/3.0/mods-enabled/detail.log detail pre_proxy_log { filename = "/var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/pre-proxy-detail-%Y%m%d" header = "%t" permissions = 384 locking = no escape_filenames = no log_packet_header = no } # Loading module "post_proxy_log" from file /etc/freeradius/3.0/mods-enabled/detail.log detail post_proxy_log { filename = "/var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/post-proxy-detail-%Y%m%d" header = "%t" permissions = 384 locking = no escape_filenames = no log_packet_header = no } # Loaded module rlm_utf8 # Loading module "utf8" from file /etc/freeradius/3.0/mods-enabled/utf8 # Loaded module rlm_always # Loading module "reject" from file /etc/freeradius/3.0/mods-enabled/always always reject { rcode = "reject" simulcount = 0 mpp = no } # Loading module "fail" from file /etc/freeradius/3.0/mods-enabled/always always fail { rcode = "fail" simulcount = 0 mpp = no } # Loading module "ok" from file /etc/freeradius/3.0/mods-enabled/always always ok { rcode = "ok" simulcount = 0 mpp = no } # Loading module "handled" from file /etc/freeradius/3.0/mods-enabled/always always handled { rcode = "handled" simulcount = 0 mpp = no } # Loading module "invalid" from file /etc/freeradius/3.0/mods-enabled/always always invalid { rcode = "invalid" simulcount = 0 mpp = no } # Loading module "userlock" from file /etc/freeradius/3.0/mods-enabled/always always userlock { rcode = "userlock" simulcount = 0 mpp = no } # Loading module "notfound" from file /etc/freeradius/3.0/mods-enabled/always always notfound { rcode = "notfound" simulcount = 0 mpp = no } # Loading module "noop" from file /etc/freeradius/3.0/mods-enabled/always always noop { rcode = "noop" simulcount = 0 mpp = no } # Loading module "updated" from file /etc/freeradius/3.0/mods-enabled/always always updated { rcode = "updated" simulcount = 0 mpp = no } # Loaded module rlm_preprocess # Loading module "preprocess" from file /etc/freeradius/3.0/mods-enabled/preprocess preprocess { huntgroups = "/etc/freeradius/3.0/mods-config/preprocess/huntgroups" hints = "/etc/freeradius/3.0/mods-config/preprocess/hints" with_ascend_hack = no ascend_channels_per_line = 23 with_ntdomain_hack = no with_specialix_jetstream_hack = no with_cisco_vsa_hack = no with_alvarion_vsa_hack = no } # Loaded module rlm_expiration # Loading module "expiration" from file /etc/freeradius/3.0/mods-enabled/expiration # Loaded module rlm_realm # Loading module "IPASS" from file /etc/freeradius/3.0/mods-enabled/realm realm IPASS { format = "prefix" delimiter = "/" ignore_default = no ignore_null = no } # Loading module "suffix" from file /etc/freeradius/3.0/mods-enabled/realm realm suffix { format = "suffix" delimiter = "@" ignore_default = no ignore_null = no } # Loading module "realmpercent" from file /etc/freeradius/3.0/mods-enabled/realm realm realmpercent { format = "suffix" delimiter = "%" ignore_default = no ignore_null = no } # Loading module "ntdomain" from file /etc/freeradius/3.0/mods-enabled/realm realm ntdomain { format = "prefix" delimiter = "\\" ignore_default = no ignore_null = no } # Loaded module rlm_passwd # Loading module "etc_passwd" from file /etc/freeradius/3.0/mods-enabled/passwd passwd etc_passwd { filename = "/etc/passwd" format = "*User-Name:Crypt-Password:" delimiter = ":" ignore_nislike = no ignore_empty = yes allow_multiple_keys = no hash_size = 100 } # Loaded module rlm_logintime # Loading module "logintime" from file /etc/freeradius/3.0/mods-enabled/logintime logintime { minimum_timeout = 60 } # Loaded module rlm_eap # Loading module "eap" from file /etc/freeradius/3.0/mods-enabled/eap eap { default_eap_type = "md5" timer_expire = 60 ignore_unknown_eap_types = no cisco_accounting_username_bug = no max_sessions = 16384 } # Loaded module rlm_mschap # Loading module "mschap" from file /etc/freeradius/3.0/mods-enabled/mschap mschap { use_mppe = yes require_encryption = no require_strong = no with_ntdomain_hack = yes passchange { } allow_retry = yes winbind_retry_with_normalised_username = no } # Loaded module rlm_files # Loading module "files" from file /etc/freeradius/3.0/mods-enabled/files files { filename = "/etc/freeradius/3.0/mods-config/files/authorize" acctusersfile = "/etc/freeradius/3.0/mods-config/files/accounting" preproxy_usersfile = "/etc/freeradius/3.0/mods-config/files/pre-proxy" } # Loading module "authorized_macs" from file /etc/freeradius/3.0/mods-enabled/files files authorized_macs { usersfile = "/etc/freeradius/3.0/authorized_macs" key = "%{Calling-Station-ID}" } instantiate { } # Instantiating module "cache_eap" from file /etc/freeradius/3.0/mods-enabled/cache_eap rlm_cache (cache_eap): Driver rlm_cache_rbtree (module rlm_cache_rbtree) loaded and linked # Instantiating module "detail" from file /etc/freeradius/3.0/mods-enabled/detail # Instantiating module "linelog" from file /etc/freeradius/3.0/mods-enabled/linelog # Instantiating module "log_accounting" from file /etc/freeradius/3.0/mods-enabled/linelog # Instantiating module "attr_filter.post-proxy" from file /etc/freeradius/3.0/mods-enabled/attr_filter reading pairlist file /etc/freeradius/3.0/mods-config/attr_filter/post-proxy # Instantiating module "attr_filter.pre-proxy" from file /etc/freeradius/3.0/mods-enabled/attr_filter reading pairlist file /etc/freeradius/3.0/mods-config/attr_filter/pre-proxy # Instantiating module "attr_filter.access_reject" from file /etc/freeradius/3.0/mods-enabled/attr_filter reading pairlist file /etc/freeradius/3.0/mods-config/attr_filter/access_reject [/etc/freeradius/3.0/mods-config/attr_filter/access_reject]:11 Check item "FreeRADIUS-Response-Delay" found in filter list for realm "DEFAULT". [/etc/freeradius/3.0/mods-config/attr_filter/access_reject]:11 Check item "FreeRADIUS-Response-Delay-USec" found in filter list for realm "DEFAULT". # Instantiating module "attr_filter.access_challenge" from file /etc/freeradius/3.0/mods-enabled/attr_filter reading pairlist file /etc/freeradius/3.0/mods-config/attr_filter/access_challenge # Instantiating module "attr_filter.accounting_response" from file /etc/freeradius/3.0/mods-enabled/attr_filter reading pairlist file /etc/freeradius/3.0/mods-config/attr_filter/accounting_response # Instantiating module "pap" from file /etc/freeradius/3.0/mods-enabled/pap # Instantiating module "auth_log" from file /etc/freeradius/3.0/mods-enabled/detail.log rlm_detail (auth_log): 'User-Password' suppressed, will not appear in detail output # Instantiating module "reply_log" from file /etc/freeradius/3.0/mods-enabled/detail.log # Instantiating module "pre_proxy_log" from file /etc/freeradius/3.0/mods-enabled/detail.log # Instantiating module "post_proxy_log" from file /etc/freeradius/3.0/mods-enabled/detail.log # Instantiating module "reject" from file /etc/freeradius/3.0/mods-enabled/always # Instantiating module "fail" from file /etc/freeradius/3.0/mods-enabled/always # Instantiating module "ok" from file /etc/freeradius/3.0/mods-enabled/always # Instantiating module "handled" from file /etc/freeradius/3.0/mods-enabled/always # Instantiating module "invalid" from file /etc/freeradius/3.0/mods-enabled/always # Instantiating module "userlock" from file /etc/freeradius/3.0/mods-enabled/always # Instantiating module "notfound" from file /etc/freeradius/3.0/mods-enabled/always # Instantiating module "noop" from file /etc/freeradius/3.0/mods-enabled/always # Instantiating module "updated" from file /etc/freeradius/3.0/mods-enabled/always # Instantiating module "preprocess" from file /etc/freeradius/3.0/mods-enabled/preprocess reading pairlist file /etc/freeradius/3.0/mods-config/preprocess/huntgroups reading pairlist file /etc/freeradius/3.0/mods-config/preprocess/hints # Instantiating module "expiration" from file /etc/freeradius/3.0/mods-enabled/expiration # Instantiating module "IPASS" from file /etc/freeradius/3.0/mods-enabled/realm # Instantiating module "suffix" from file /etc/freeradius/3.0/mods-enabled/realm # Instantiating module "realmpercent" from file /etc/freeradius/3.0/mods-enabled/realm # Instantiating module "ntdomain" from file /etc/freeradius/3.0/mods-enabled/realm # Instantiating module "etc_passwd" from file /etc/freeradius/3.0/mods-enabled/passwd rlm_passwd: nfields: 3 keyfield 0(User-Name) listable: no # Instantiating module "logintime" from file /etc/freeradius/3.0/mods-enabled/logintime # Instantiating module "eap" from file /etc/freeradius/3.0/mods-enabled/eap # Linked to sub-module rlm_eap_md5 # Linked to sub-module rlm_eap_leap # Linked to sub-module rlm_eap_gtc gtc { challenge = "Password: " auth_type = "PAP" } # Linked to sub-module rlm_eap_tls tls { tls = "tls-common" } tls-config tls-common { verify_depth = 0 ca_path = "/etc/freeradius/3.0/certs" pem_file_type = yes private_key_file = "/etc/ssl/private/ssl-cert-snakeoil.key" certificate_file = "/etc/ssl/certs/ssl-cert-snakeoil.pem" ca_file = "/etc/ssl/certs/ca-certificates.crt" private_key_password = <<< secret >>> dh_file = "/etc/freeradius/3.0/certs/dh" fragment_size = 1024 include_length = yes auto_chain = yes check_crl = no check_all_crl = no cipher_list = "DEFAULT" cipher_server_preference = no ecdh_curve = "prime256v1" tls_max_version = "" tls_min_version = "1.0" cache { enable = no lifetime = 24 max_entries = 255 } verify { skip_if_ocsp_ok = no } ocsp { enable = no override_cert_url = yes url = "http://127.0.0.1/ocsp/" use_nonce = yes timeout = 0 softfail = no } } # 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 } # Instantiating module "mschap" from file /etc/freeradius/3.0/mods-enabled/mschap rlm_mschap (mschap): using internal authentication # Instantiating module "files" from file /etc/freeradius/3.0/mods-enabled/files reading pairlist file /etc/freeradius/3.0/mods-config/files/authorize reading pairlist file /etc/freeradius/3.0/mods-config/files/accounting reading pairlist file /etc/freeradius/3.0/mods-config/files/pre-proxy # Instantiating module "authorized_macs" from file /etc/freeradius/3.0/mods-enabled/files reading pairlist file /etc/freeradius/3.0/authorized_macs } # modules radiusd: #### Loading Virtual Servers #### server { # from file /etc/freeradius/3.0/radiusd.conf } # server server inner-tunnel { # from file /etc/freeradius/3.0/sites-enabled/inner-tunnel # Loading authenticate {...} # Loading authorize {...} Ignoring "sql" (see raddb/mods-available/README.rst) Ignoring "ldap" (see raddb/mods-available/README.rst) # Loading session {...} # Loading post-proxy {...} # Loading post-auth {...} # Skipping contents of 'if' as it is always 'false' -- /etc/freeradius/3.0/sites-enabled/inner-tunnel:331 } # server inner-tunnel server default { # from file /etc/freeradius/3.0/sites-enabled/default # Loading authenticate {...} # Loading authorize {...} # Loading preacct {...} # Loading accounting {...} # Loading post-proxy {...} # Loading post-auth {...} } # server default radiusd: #### Opening IP addresses and Ports #### listen { type = "auth" ipaddr = 127.0.0.1 port = 18120 } listen { type = "auth" ipaddr = * port = 0 limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } listen { type = "acct" ipaddr = * port = 0 limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } listen { type = "auth" ipv6addr = :: port = 0 limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } listen { type = "acct" ipv6addr = :: port = 0 limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } Listening on auth address 127.0.0.1 port 18120 bound to server inner-tunnel 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 proxy address * port 58851 Listening on proxy address :: port 38374 Ready to process requests (0) Received Accounting-Request Id 0 from 172.16.5.60:11528 to 172.16.5.70:1813 length 70 (0) Acct-Status-Type = Accounting-On (0) Acct-Authentic = RADIUS (0) NAS-IP-Address = 172.16.5.60 (0) Called-Station-Id = "00-25-05-2A-3F-5D:" (0) NAS-Port-Type = Wireless-802.11 (0) Acct-Terminate-Cause = NAS-Reboot (0) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (0) preacct { (0) [preprocess] = ok (0) policy acct_unique { (0) update request { (0) &Tmp-String-9 := "ai:" (0) } # update request = noop (0) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (0) EXPAND %{hex:&Class} (0) --> (0) EXPAND ^%{hex:&Tmp-String-9} (0) --> ^61693a (0) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (0) else { (0) update request { (0) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (0) --> ea5f7416550c544d5581c484c05691c3 (0) &Acct-Unique-Session-Id := ea5f7416550c544d5581c484c05691c3 (0) } # update request = noop (0) } # else = noop (0) } # policy acct_unique = noop (0) [suffix] = noop (0) [files] = noop (0) } # preacct = ok (0) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (0) accounting { (0) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (0) detail: --> /var/log/freeradius/radacct/172.16.5.60/detail-20240124 (0) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/172.16.5.60/detail-20240124 (0) detail: EXPAND %t (0) detail: --> Wed Jan 24 08:12:18 2024 (0) [detail] = ok (0) [unix] = noop (0) [exec] = noop (0) attr_filter.accounting_response: EXPAND %{User-Name} (0) attr_filter.accounting_response: --> (0) [attr_filter.accounting_response] = noop (0) } # accounting = ok (0) Sent Accounting-Response Id 0 from 172.16.5.70:1813 to 172.16.5.60:11528 length 0 (0) Finished request (0) Cleaning up request packet ID 0 with timestamp +344 Ready to process requests (1) Received Accounting-Request Id 1 from 172.16.5.60:11528 to 172.16.5.70:1813 length 70 (1) Acct-Status-Type = Accounting-Off (1) Acct-Authentic = RADIUS (1) NAS-IP-Address = 172.16.5.60 (1) Called-Station-Id = "00-25-05-2A-3F-5D:" (1) NAS-Port-Type = Wireless-802.11 (1) Acct-Terminate-Cause = NAS-Reboot (1) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (1) preacct { (1) [preprocess] = ok (1) policy acct_unique { (1) update request { (1) &Tmp-String-9 := "ai:" (1) } # update request = noop (1) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (1) EXPAND %{hex:&Class} (1) --> (1) EXPAND ^%{hex:&Tmp-String-9} (1) --> ^61693a (1) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (1) else { (1) update request { (1) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (1) --> ea5f7416550c544d5581c484c05691c3 (1) &Acct-Unique-Session-Id := ea5f7416550c544d5581c484c05691c3 (1) } # update request = noop (1) } # else = noop (1) } # policy acct_unique = noop (1) [suffix] = noop (1) [files] = noop (1) } # preacct = ok (1) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (1) accounting { (1) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (1) detail: --> /var/log/freeradius/radacct/172.16.5.60/detail-20240124 (1) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/172.16.5.60/detail-20240124 (1) detail: EXPAND %t (1) detail: --> Wed Jan 24 08:13:12 2024 (1) [detail] = ok (1) [unix] = noop (1) [exec] = noop (1) attr_filter.accounting_response: EXPAND %{User-Name} (1) attr_filter.accounting_response: --> (1) [attr_filter.accounting_response] = noop (1) } # accounting = ok (1) Sent Accounting-Response Id 1 from 172.16.5.70:1813 to 172.16.5.60:11528 length 0 (1) Finished request (1) Cleaning up request packet ID 1 with timestamp +398 Ready to process requests (2) Received Accounting-Request Id 0 from 172.16.5.60:50414 to 172.16.5.70:1813 length 70 (2) Acct-Status-Type = Accounting-On (2) Acct-Authentic = RADIUS (2) NAS-IP-Address = 172.16.5.60 (2) Called-Station-Id = "00-25-05-2A-3F-5D:" (2) NAS-Port-Type = Wireless-802.11 (2) Acct-Terminate-Cause = NAS-Reboot (2) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (2) preacct { (2) [preprocess] = ok (2) policy acct_unique { (2) update request { (2) &Tmp-String-9 := "ai:" (2) } # update request = noop (2) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (2) EXPAND %{hex:&Class} (2) --> (2) EXPAND ^%{hex:&Tmp-String-9} (2) --> ^61693a (2) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (2) else { (2) update request { (2) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (2) --> ea5f7416550c544d5581c484c05691c3 (2) &Acct-Unique-Session-Id := ea5f7416550c544d5581c484c05691c3 (2) } # update request = noop (2) } # else = noop (2) } # policy acct_unique = noop (2) [suffix] = noop (2) [files] = noop (2) } # preacct = ok (2) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (2) accounting { (2) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (2) detail: --> /var/log/freeradius/radacct/172.16.5.60/detail-20240124 (2) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/172.16.5.60/detail-20240124 (2) detail: EXPAND %t (2) detail: --> Wed Jan 24 08:13:12 2024 (2) [detail] = ok (2) [unix] = noop (2) [exec] = noop (2) attr_filter.accounting_response: EXPAND %{User-Name} (2) attr_filter.accounting_response: --> (2) [attr_filter.accounting_response] = noop (2) } # accounting = ok (2) Sent Accounting-Response Id 0 from 172.16.5.70:1813 to 172.16.5.60:50414 length 0 (2) Finished request (2) Cleaning up request packet ID 0 with timestamp +398 Ready to process requests (3) Received Access-Request Id 0 from 172.16.5.60:20834 to 172.16.5.70:1812 length 132 (3) User-Name = "9c2dcd92e0f6" (3) NAS-IP-Address = 127.0.0.1 (3) Calling-Station-Id = "02-00-00-00-00-01" (3) Framed-MTU = 1400 (3) NAS-Port-Type = Wireless-802.11 (3) Connect-Info = "CONNECT 11Mbps 802.11b" (3) EAP-Message = 0x0200001101396332646364393265306636 (3) Message-Authenticator = 0x4e40f2d38917971e0800c19f6e38ffad (3) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default (3) authorize { (3) [preprocess] = ok (3) policy rewrite_calling_station_id { (3) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) { (3) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) -> TRUE (3) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) { (3) update request { (3) EXPAND %{toupper:%{1}-%{2}-%{3}-%{4}-%{5}-%{6}} (3) --> 02-00-00-00-00-01 (3) &Calling-Station-Id := 02-00-00-00-00-01 (3) } # update request = noop (3) [updated] = updated (3) } # if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) = updated (3) ... skipping else: Preceding "if" was taken (3) } # policy rewrite_calling_station_id = updated (3) if (!EAP-Message) { (3) if (!EAP-Message) -> FALSE (3) else { (3) eap: Peer sent EAP Response (code 2) ID 0 length 17 (3) eap: EAP-Identity reply, returning 'ok' so we can short-circuit the rest of authorize (3) [eap] = ok (3) } # else = ok (3) } # authorize = updated (3) Found Auth-Type = eap (3) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (3) authenticate { (3) eap: Peer sent packet with method EAP Identity (1) (3) eap: Calling submodule eap_md5 to process data (3) eap_md5: Issuing MD5 Challenge (3) eap: Sending EAP Request (code 1) ID 1 length 22 (3) eap: EAP session adding &reply:State = 0xcafba2f0cafaa684 (3) [eap] = handled (3) } # authenticate = handled (3) Using Post-Auth-Type Challenge (3) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (3) Challenge { ... } # empty sub-section is ignored (3) Sent Access-Challenge Id 0 from 172.16.5.70:1812 to 172.16.5.60:20834 length 0 (3) EAP-Message = 0x010100160410d399091af35a6507d78cd6e2b3e78622 (3) Message-Authenticator = 0x00000000000000000000000000000000 (3) State = 0xcafba2f0cafaa68404168e59db6cadcd (3) Finished request Waking up in 4.9 seconds. (4) Received Access-Request Id 1 from 172.16.5.60:20834 to 172.16.5.70:1812 length 155 (4) User-Name = "9c2dcd92e0f6" (4) NAS-IP-Address = 127.0.0.1 (4) Calling-Station-Id = "02-00-00-00-00-01" (4) Framed-MTU = 1400 (4) NAS-Port-Type = Wireless-802.11 (4) Connect-Info = "CONNECT 11Mbps 802.11b" (4) EAP-Message = 0x0201001604104d25905a0848a47d1b3319144f4734ac (4) State = 0xcafba2f0cafaa68404168e59db6cadcd (4) Message-Authenticator = 0x74bb59660588a4568aae4e46da7fdfb0 (4) session-state: No cached attributes (4) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default (4) authorize { (4) [preprocess] = ok (4) policy rewrite_calling_station_id { (4) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) { (4) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) -> TRUE (4) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) { (4) update request { (4) EXPAND %{toupper:%{1}-%{2}-%{3}-%{4}-%{5}-%{6}} (4) --> 02-00-00-00-00-01 (4) &Calling-Station-Id := 02-00-00-00-00-01 (4) } # update request = noop (4) [updated] = updated (4) } # if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) = updated (4) ... skipping else: Preceding "if" was taken (4) } # policy rewrite_calling_station_id = updated (4) if (!EAP-Message) { (4) if (!EAP-Message) -> FALSE (4) else { (4) eap: Peer sent EAP Response (code 2) ID 1 length 22 (4) eap: No EAP Start, assuming it's an on-going EAP conversation (4) [eap] = updated (4) } # else = updated (4) } # authorize = updated (4) Found Auth-Type = eap (4) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (4) authenticate { (4) eap: Expiring EAP session with state 0xcafba2f0cafaa684 (4) eap: Finished EAP session with state 0xcafba2f0cafaa684 (4) eap: Previous EAP request found for state 0xcafba2f0cafaa684, released from the list (4) eap: Peer sent packet with method EAP MD5 (4) (4) eap: Calling submodule eap_md5 to process data (4) eap_md5: ERROR: Cleartext-Password is required for EAP-MD5 authentication (4) eap: ERROR: Failed continuing EAP MD5 (4) session. EAP sub-module failed (4) eap: Sending EAP Failure (code 4) ID 1 length 4 (4) eap: Failed in EAP select (4) [eap] = invalid (4) } # authenticate = invalid (4) Failed to authenticate the user (4) Using Post-Auth-Type Reject (4) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (4) Post-Auth-Type REJECT { (4) attr_filter.access_reject: EXPAND %{User-Name} (4) attr_filter.access_reject: --> 9c2dcd92e0f6 (4) attr_filter.access_reject: Matched entry DEFAULT at line 11 (4) [attr_filter.access_reject] = updated (4) [eap] = noop (4) policy remove_reply_message_if_eap { (4) if (&reply:EAP-Message && &reply:Reply-Message) { (4) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE (4) else { (4) [noop] = noop (4) } # else = noop (4) } # policy remove_reply_message_if_eap = noop (4) } # Post-Auth-Type REJECT = updated (4) Delaying response for 1.000000 seconds Waking up in 0.3 seconds. Waking up in 0.6 seconds. (4) Sending delayed response (4) Sent Access-Reject Id 1 from 172.16.5.70:1812 to 172.16.5.60:20834 length 44 (4) EAP-Message = 0x04010004 (4) Message-Authenticator = 0x00000000000000000000000000000000 Waking up in 3.9 seconds. (3) Cleaning up request packet ID 0 with timestamp +411 (4) Cleaning up request packet ID 1 with timestamp +411 Ready to process requests (5) Received Access-Request Id 0 from 172.16.5.60:13565 to 172.16.5.70:1812 length 132 (5) User-Name = "9c2dcd92e0f6" (5) NAS-IP-Address = 127.0.0.1 (5) Calling-Station-Id = "02-00-00-00-00-01" (5) Framed-MTU = 1400 (5) NAS-Port-Type = Wireless-802.11 (5) Connect-Info = "CONNECT 11Mbps 802.11b" (5) EAP-Message = 0x0200001101396332646364393265306636 (5) Message-Authenticator = 0xd78563851b843115523b4e346e2af28d (5) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default (5) authorize { (5) [preprocess] = ok (5) policy rewrite_calling_station_id { (5) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) { (5) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) -> TRUE (5) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) { (5) update request { (5) EXPAND %{toupper:%{1}-%{2}-%{3}-%{4}-%{5}-%{6}} (5) --> 02-00-00-00-00-01 (5) &Calling-Station-Id := 02-00-00-00-00-01 (5) } # update request = noop (5) [updated] = updated (5) } # if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) = updated (5) ... skipping else: Preceding "if" was taken (5) } # policy rewrite_calling_station_id = updated (5) if (!EAP-Message) { (5) if (!EAP-Message) -> FALSE (5) else { (5) eap: Peer sent EAP Response (code 2) ID 0 length 17 (5) eap: EAP-Identity reply, returning 'ok' so we can short-circuit the rest of authorize (5) [eap] = ok (5) } # else = ok (5) } # authorize = updated (5) Found Auth-Type = eap (5) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (5) authenticate { (5) eap: Peer sent packet with method EAP Identity (1) (5) eap: Calling submodule eap_md5 to process data (5) eap_md5: Issuing MD5 Challenge (5) eap: Sending EAP Request (code 1) ID 1 length 22 (5) eap: EAP session adding &reply:State = 0x39ae471339af433b (5) [eap] = handled (5) } # authenticate = handled (5) Using Post-Auth-Type Challenge (5) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (5) Challenge { ... } # empty sub-section is ignored (5) Sent Access-Challenge Id 0 from 172.16.5.70:1812 to 172.16.5.60:13565 length 0 (5) EAP-Message = 0x010100160410ae96a5014663eb77f0ad62b72b4662d1 (5) Message-Authenticator = 0x00000000000000000000000000000000 (5) State = 0x39ae471339af433bd58a2c886dd5ffa5 (5) Finished request Waking up in 4.9 seconds. (6) Received Access-Request Id 1 from 172.16.5.60:13565 to 172.16.5.70:1812 length 155 (6) User-Name = "9c2dcd92e0f6" (6) NAS-IP-Address = 127.0.0.1 (6) Calling-Station-Id = "02-00-00-00-00-01" (6) Framed-MTU = 1400 (6) NAS-Port-Type = Wireless-802.11 (6) Connect-Info = "CONNECT 11Mbps 802.11b" (6) EAP-Message = 0x02010016041096b9fa58e98012818df0f587485f5038 (6) State = 0x39ae471339af433bd58a2c886dd5ffa5 (6) Message-Authenticator = 0x9a30089b9ac35e2830fd3a3574cbd775 (6) session-state: No cached attributes (6) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default (6) authorize { (6) [preprocess] = ok (6) policy rewrite_calling_station_id { (6) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) { (6) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) -> TRUE (6) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) { (6) update request { (6) EXPAND %{toupper:%{1}-%{2}-%{3}-%{4}-%{5}-%{6}} (6) --> 02-00-00-00-00-01 (6) &Calling-Station-Id := 02-00-00-00-00-01 (6) } # update request = noop (6) [updated] = updated (6) } # if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) = updated (6) ... skipping else: Preceding "if" was taken (6) } # policy rewrite_calling_station_id = updated (6) if (!EAP-Message) { (6) if (!EAP-Message) -> FALSE (6) else { (6) eap: Peer sent EAP Response (code 2) ID 1 length 22 (6) eap: No EAP Start, assuming it's an on-going EAP conversation (6) [eap] = updated (6) } # else = updated (6) } # authorize = updated (6) Found Auth-Type = eap (6) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (6) authenticate { (6) eap: Expiring EAP session with state 0x39ae471339af433b (6) eap: Finished EAP session with state 0x39ae471339af433b (6) eap: Previous EAP request found for state 0x39ae471339af433b, released from the list (6) eap: Peer sent packet with method EAP MD5 (4) (6) eap: Calling submodule eap_md5 to process data (6) eap_md5: ERROR: Cleartext-Password is required for EAP-MD5 authentication (6) eap: ERROR: Failed continuing EAP MD5 (4) session. EAP sub-module failed (6) eap: Sending EAP Failure (code 4) ID 1 length 4 (6) eap: Failed in EAP select (6) [eap] = invalid (6) } # authenticate = invalid (6) Failed to authenticate the user (6) Using Post-Auth-Type Reject (6) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (6) Post-Auth-Type REJECT { (6) attr_filter.access_reject: EXPAND %{User-Name} (6) attr_filter.access_reject: --> 9c2dcd92e0f6 (6) attr_filter.access_reject: Matched entry DEFAULT at line 11 (6) [attr_filter.access_reject] = updated (6) [eap] = noop (6) policy remove_reply_message_if_eap { (6) if (&reply:EAP-Message && &reply:Reply-Message) { (6) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE (6) else { (6) [noop] = noop (6) } # else = noop (6) } # policy remove_reply_message_if_eap = noop (6) } # Post-Auth-Type REJECT = updated (6) Delaying response for 1.000000 seconds Waking up in 0.3 seconds. Waking up in 0.6 seconds. (6) Sending delayed response (6) Sent Access-Reject Id 1 from 172.16.5.70:1812 to 172.16.5.60:13565 length 44 (6) EAP-Message = 0x04010004 (6) Message-Authenticator = 0x00000000000000000000000000000000 Waking up in 3.9 seconds. (7) Received Access-Request Id 0 from 172.16.5.60:43606 to 172.16.5.70:1812 length 132 (7) User-Name = "9c2dcd92e0f6" (7) NAS-IP-Address = 127.0.0.1 (7) Calling-Station-Id = "02-00-00-00-00-01" (7) Framed-MTU = 1400 (7) NAS-Port-Type = Wireless-802.11 (7) Connect-Info = "CONNECT 11Mbps 802.11b" (7) EAP-Message = 0x0200001101396332646364393265306636 (7) Message-Authenticator = 0x57948b1fd15fdae913852560c2832a25 (7) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default (7) authorize { (7) [preprocess] = ok (7) policy rewrite_calling_station_id { (7) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) { (7) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) -> TRUE (7) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) { (7) update request { (7) EXPAND %{toupper:%{1}-%{2}-%{3}-%{4}-%{5}-%{6}} (7) --> 02-00-00-00-00-01 (7) &Calling-Station-Id := 02-00-00-00-00-01 (7) } # update request = noop (7) [updated] = updated (7) } # if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) = updated (7) ... skipping else: Preceding "if" was taken (7) } # policy rewrite_calling_station_id = updated (7) if (!EAP-Message) { (7) if (!EAP-Message) -> FALSE (7) else { (7) eap: Peer sent EAP Response (code 2) ID 0 length 17 (7) eap: EAP-Identity reply, returning 'ok' so we can short-circuit the rest of authorize (7) [eap] = ok (7) } # else = ok (7) } # authorize = updated (7) Found Auth-Type = eap (7) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (7) authenticate { (7) eap: Peer sent packet with method EAP Identity (1) (7) eap: Calling submodule eap_md5 to process data (7) eap_md5: Issuing MD5 Challenge (7) eap: Sending EAP Request (code 1) ID 1 length 22 (7) eap: EAP session adding &reply:State = 0x9da9e7ec9da8e394 (7) [eap] = handled (7) } # authenticate = handled (7) Using Post-Auth-Type Challenge (7) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (7) Challenge { ... } # empty sub-section is ignored (7) Sent Access-Challenge Id 0 from 172.16.5.70:1812 to 172.16.5.60:43606 length 0 (7) EAP-Message = 0x010100160410f36653682fd7f445277fee0ea4ab8d4d (7) Message-Authenticator = 0x00000000000000000000000000000000 (7) State = 0x9da9e7ec9da8e39475d98deb1fe136c0 (7) Finished request Waking up in 2.0 seconds. (8) Received Access-Request Id 1 from 172.16.5.60:43606 to 172.16.5.70:1812 length 155 (8) User-Name = "9c2dcd92e0f6" (8) NAS-IP-Address = 127.0.0.1 (8) Calling-Station-Id = "02-00-00-00-00-01" (8) Framed-MTU = 1400 (8) NAS-Port-Type = Wireless-802.11 (8) Connect-Info = "CONNECT 11Mbps 802.11b" (8) EAP-Message = 0x02010016041092def565eb8476fae3a481c0e08b7c64 (8) State = 0x9da9e7ec9da8e39475d98deb1fe136c0 (8) Message-Authenticator = 0x4d4a47b05c09ec2fdad040d57e25bcc6 (8) session-state: No cached attributes (8) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default (8) authorize { (8) [preprocess] = ok (8) policy rewrite_calling_station_id { (8) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) { (8) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) -> TRUE (8) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) { (8) update request { (8) EXPAND %{toupper:%{1}-%{2}-%{3}-%{4}-%{5}-%{6}} (8) --> 02-00-00-00-00-01 (8) &Calling-Station-Id := 02-00-00-00-00-01 (8) } # update request = noop (8) [updated] = updated (8) } # if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) = updated (8) ... skipping else: Preceding "if" was taken (8) } # policy rewrite_calling_station_id = updated (8) if (!EAP-Message) { (8) if (!EAP-Message) -> FALSE (8) else { (8) eap: Peer sent EAP Response (code 2) ID 1 length 22 (8) eap: No EAP Start, assuming it's an on-going EAP conversation (8) [eap] = updated (8) } # else = updated (8) } # authorize = updated (8) Found Auth-Type = eap (8) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (8) authenticate { (8) eap: Expiring EAP session with state 0x9da9e7ec9da8e394 (8) eap: Finished EAP session with state 0x9da9e7ec9da8e394 (8) eap: Previous EAP request found for state 0x9da9e7ec9da8e394, released from the list (8) eap: Peer sent packet with method EAP MD5 (4) (8) eap: Calling submodule eap_md5 to process data (8) eap_md5: ERROR: Cleartext-Password is required for EAP-MD5 authentication (8) eap: ERROR: Failed continuing EAP MD5 (4) session. EAP sub-module failed (8) eap: Sending EAP Failure (code 4) ID 1 length 4 (8) eap: Failed in EAP select (8) [eap] = invalid (8) } # authenticate = invalid (8) Failed to authenticate the user (8) Using Post-Auth-Type Reject (8) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (8) Post-Auth-Type REJECT { (8) attr_filter.access_reject: EXPAND %{User-Name} (8) attr_filter.access_reject: --> 9c2dcd92e0f6 (8) attr_filter.access_reject: Matched entry DEFAULT at line 11 (8) [attr_filter.access_reject] = updated (8) [eap] = noop (8) policy remove_reply_message_if_eap { (8) if (&reply:EAP-Message && &reply:Reply-Message) { (8) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE (8) else { (8) [noop] = noop (8) } # else = noop (8) } # policy remove_reply_message_if_eap = noop (8) } # Post-Auth-Type REJECT = updated (8) Delaying response for 1.000000 seconds Waking up in 0.3 seconds. Waking up in 0.6 seconds. (8) Sending delayed response (8) Sent Access-Reject Id 1 from 172.16.5.70:1812 to 172.16.5.60:43606 length 44 (8) EAP-Message = 0x04010004 (8) Message-Authenticator = 0x00000000000000000000000000000000 Waking up in 0.9 seconds. (5) Cleaning up request packet ID 0 with timestamp +422 (6) Cleaning up request packet ID 1 with timestamp +422 Waking up in 2.9 seconds. (7) Cleaning up request packet ID 0 with timestamp +425 (8) Cleaning up request packet ID 1 with timestamp +425 Ready to process requests (9) Received Access-Request Id 0 from 172.16.5.60:3703 to 172.16.5.70:1812 length 132 (9) User-Name = "000c295dbd97" (9) NAS-IP-Address = 127.0.0.1 (9) Calling-Station-Id = "02-00-00-00-00-01" (9) Framed-MTU = 1400 (9) NAS-Port-Type = Wireless-802.11 (9) Connect-Info = "CONNECT 11Mbps 802.11b" (9) EAP-Message = 0x0200001101303030633239356462643937 (9) Message-Authenticator = 0xc8119f13d87ebdec4869f491d900ba32 (9) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default (9) authorize { (9) [preprocess] = ok (9) policy rewrite_calling_station_id { (9) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) { (9) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) -> TRUE (9) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) { (9) update request { (9) EXPAND %{toupper:%{1}-%{2}-%{3}-%{4}-%{5}-%{6}} (9) --> 02-00-00-00-00-01 (9) &Calling-Station-Id := 02-00-00-00-00-01 (9) } # update request = noop (9) [updated] = updated (9) } # if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) = updated (9) ... skipping else: Preceding "if" was taken (9) } # policy rewrite_calling_station_id = updated (9) if (!EAP-Message) { (9) if (!EAP-Message) -> FALSE (9) else { (9) eap: Peer sent EAP Response (code 2) ID 0 length 17 (9) eap: EAP-Identity reply, returning 'ok' so we can short-circuit the rest of authorize (9) [eap] = ok (9) } # else = ok (9) } # authorize = updated (9) Found Auth-Type = eap (9) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (9) authenticate { (9) eap: Peer sent packet with method EAP Identity (1) (9) eap: Calling submodule eap_md5 to process data (9) eap_md5: Issuing MD5 Challenge (9) eap: Sending EAP Request (code 1) ID 1 length 22 (9) eap: EAP session adding &reply:State = 0x046b440f046a4049 (9) [eap] = handled (9) } # authenticate = handled (9) Using Post-Auth-Type Challenge (9) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (9) Challenge { ... } # empty sub-section is ignored (9) Sent Access-Challenge Id 0 from 172.16.5.70:1812 to 172.16.5.60:3703 length 0 (9) EAP-Message = 0x01010016041039d680c8edafdbc69eb82116f4567db3 (9) Message-Authenticator = 0x00000000000000000000000000000000 (9) State = 0x046b440f046a40497eac1e9e5898f4eb (9) Finished request Waking up in 4.9 seconds. (10) Received Access-Request Id 1 from 172.16.5.60:3703 to 172.16.5.70:1812 length 155 (10) User-Name = "000c295dbd97" (10) NAS-IP-Address = 127.0.0.1 (10) Calling-Station-Id = "02-00-00-00-00-01" (10) Framed-MTU = 1400 (10) NAS-Port-Type = Wireless-802.11 (10) Connect-Info = "CONNECT 11Mbps 802.11b" (10) EAP-Message = 0x020100160410760144c2ff5adf072c4ef98304913594 (10) State = 0x046b440f046a40497eac1e9e5898f4eb (10) Message-Authenticator = 0xa2b258daece43b4671d730b9e6143817 (10) session-state: No cached attributes (10) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default (10) authorize { (10) [preprocess] = ok (10) policy rewrite_calling_station_id { (10) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) { (10) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) -> TRUE (10) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) { (10) update request { (10) EXPAND %{toupper:%{1}-%{2}-%{3}-%{4}-%{5}-%{6}} (10) --> 02-00-00-00-00-01 (10) &Calling-Station-Id := 02-00-00-00-00-01 (10) } # update request = noop (10) [updated] = updated (10) } # if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) = updated (10) ... skipping else: Preceding "if" was taken (10) } # policy rewrite_calling_station_id = updated (10) if (!EAP-Message) { (10) if (!EAP-Message) -> FALSE (10) else { (10) eap: Peer sent EAP Response (code 2) ID 1 length 22 (10) eap: No EAP Start, assuming it's an on-going EAP conversation (10) [eap] = updated (10) } # else = updated (10) } # authorize = updated (10) Found Auth-Type = eap (10) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (10) authenticate { (10) eap: Expiring EAP session with state 0x046b440f046a4049 (10) eap: Finished EAP session with state 0x046b440f046a4049 (10) eap: Previous EAP request found for state 0x046b440f046a4049, released from the list (10) eap: Peer sent packet with method EAP MD5 (4) (10) eap: Calling submodule eap_md5 to process data (10) eap_md5: ERROR: Cleartext-Password is required for EAP-MD5 authentication (10) eap: ERROR: Failed continuing EAP MD5 (4) session. EAP sub-module failed (10) eap: Sending EAP Failure (code 4) ID 1 length 4 (10) eap: Failed in EAP select (10) [eap] = invalid (10) } # authenticate = invalid (10) Failed to authenticate the user (10) Using Post-Auth-Type Reject (10) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (10) Post-Auth-Type REJECT { (10) attr_filter.access_reject: EXPAND %{User-Name} (10) attr_filter.access_reject: --> 000c295dbd97 (10) attr_filter.access_reject: Matched entry DEFAULT at line 11 (10) [attr_filter.access_reject] = updated (10) [eap] = noop (10) policy remove_reply_message_if_eap { (10) if (&reply:EAP-Message && &reply:Reply-Message) { (10) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE (10) else { (10) [noop] = noop (10) } # else = noop (10) } # policy remove_reply_message_if_eap = noop (10) } # Post-Auth-Type REJECT = updated (10) Delaying response for 1.000000 seconds Waking up in 0.3 seconds. Waking up in 0.6 seconds. (10) Sending delayed response (10) Sent Access-Reject Id 1 from 172.16.5.70:1812 to 172.16.5.60:3703 length 44 (10) EAP-Message = 0x04010004 (10) Message-Authenticator = 0x00000000000000000000000000000000 Waking up in 3.9 seconds. (11) Received Access-Request Id 0 from 172.16.5.60:22095 to 172.16.5.70:1812 length 132 (11) User-Name = "000c295dbd97" (11) NAS-IP-Address = 127.0.0.1 (11) Calling-Station-Id = "02-00-00-00-00-01" (11) Framed-MTU = 1400 (11) NAS-Port-Type = Wireless-802.11 (11) Connect-Info = "CONNECT 11Mbps 802.11b" (11) EAP-Message = 0x0200001101303030633239356462643937 (11) Message-Authenticator = 0x29b413aa2d40b5933665ef352f97934e (11) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default (11) authorize { (11) [preprocess] = ok (11) policy rewrite_calling_station_id { (11) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) { (11) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) -> TRUE (11) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) { (11) update request { (11) EXPAND %{toupper:%{1}-%{2}-%{3}-%{4}-%{5}-%{6}} (11) --> 02-00-00-00-00-01 (11) &Calling-Station-Id := 02-00-00-00-00-01 (11) } # update request = noop (11) [updated] = updated (11) } # if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) = updated (11) ... skipping else: Preceding "if" was taken (11) } # policy rewrite_calling_station_id = updated (11) if (!EAP-Message) { (11) if (!EAP-Message) -> FALSE (11) else { (11) eap: Peer sent EAP Response (code 2) ID 0 length 17 (11) eap: EAP-Identity reply, returning 'ok' so we can short-circuit the rest of authorize (11) [eap] = ok (11) } # else = ok (11) } # authorize = updated (11) Found Auth-Type = eap (11) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (11) authenticate { (11) eap: Peer sent packet with method EAP Identity (1) (11) eap: Calling submodule eap_md5 to process data (11) eap_md5: Issuing MD5 Challenge (11) eap: Sending EAP Request (code 1) ID 1 length 22 (11) eap: EAP session adding &reply:State = 0xc2353130c23435b4 (11) [eap] = handled (11) } # authenticate = handled (11) Using Post-Auth-Type Challenge (11) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (11) Challenge { ... } # empty sub-section is ignored (11) Sent Access-Challenge Id 0 from 172.16.5.70:1812 to 172.16.5.60:22095 length 0 (11) EAP-Message = 0x010100160410fb6f154cf2cc348c2ec3aa1580a18f1a (11) Message-Authenticator = 0x00000000000000000000000000000000 (11) State = 0xc2353130c23435b40ac00ac78640995d (11) Finished request Waking up in 2.0 seconds. (12) Received Access-Request Id 1 from 172.16.5.60:22095 to 172.16.5.70:1812 length 155 (12) User-Name = "000c295dbd97" (12) NAS-IP-Address = 127.0.0.1 (12) Calling-Station-Id = "02-00-00-00-00-01" (12) Framed-MTU = 1400 (12) NAS-Port-Type = Wireless-802.11 (12) Connect-Info = "CONNECT 11Mbps 802.11b" (12) EAP-Message = 0x020100160410427bc7da3958ab58122b5a30d6660c05 (12) State = 0xc2353130c23435b40ac00ac78640995d (12) Message-Authenticator = 0xb940d52bdac9be415b3def45c0b42d49 (12) session-state: No cached attributes (12) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default (12) authorize { (12) [preprocess] = ok (12) policy rewrite_calling_station_id { (12) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) { (12) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) -> TRUE (12) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) { (12) update request { (12) EXPAND %{toupper:%{1}-%{2}-%{3}-%{4}-%{5}-%{6}} (12) --> 02-00-00-00-00-01 (12) &Calling-Station-Id := 02-00-00-00-00-01 (12) } # update request = noop (12) [updated] = updated (12) } # if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) = updated (12) ... skipping else: Preceding "if" was taken (12) } # policy rewrite_calling_station_id = updated (12) if (!EAP-Message) { (12) if (!EAP-Message) -> FALSE (12) else { (12) eap: Peer sent EAP Response (code 2) ID 1 length 22 (12) eap: No EAP Start, assuming it's an on-going EAP conversation (12) [eap] = updated (12) } # else = updated (12) } # authorize = updated (12) Found Auth-Type = eap (12) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (12) authenticate { (12) eap: Expiring EAP session with state 0xc2353130c23435b4 (12) eap: Finished EAP session with state 0xc2353130c23435b4 (12) eap: Previous EAP request found for state 0xc2353130c23435b4, released from the list (12) eap: Peer sent packet with method EAP MD5 (4) (12) eap: Calling submodule eap_md5 to process data (12) eap_md5: ERROR: Cleartext-Password is required for EAP-MD5 authentication (12) eap: ERROR: Failed continuing EAP MD5 (4) session. EAP sub-module failed (12) eap: Sending EAP Failure (code 4) ID 1 length 4 (12) eap: Failed in EAP select (12) [eap] = invalid (12) } # authenticate = invalid (12) Failed to authenticate the user (12) Using Post-Auth-Type Reject (12) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (12) Post-Auth-Type REJECT { (12) attr_filter.access_reject: EXPAND %{User-Name} (12) attr_filter.access_reject: --> 000c295dbd97 (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 Waking up in 0.3 seconds. Waking up in 0.6 seconds. (12) Sending delayed response (12) Sent Access-Reject Id 1 from 172.16.5.70:1812 to 172.16.5.60:22095 length 44 (12) EAP-Message = 0x04010004 (12) Message-Authenticator = 0x00000000000000000000000000000000 Waking up in 0.9 seconds. (9) Cleaning up request packet ID 0 with timestamp +500 (10) Cleaning up request packet ID 1 with timestamp +500 Waking up in 2.9 seconds. (13) Received Access-Request Id 0 from 172.16.5.60:12559 to 172.16.5.70:1812 length 132 (13) User-Name = "000c295dbd97" (13) NAS-IP-Address = 127.0.0.1 (13) Calling-Station-Id = "02-00-00-00-00-01" (13) Framed-MTU = 1400 (13) NAS-Port-Type = Wireless-802.11 (13) Connect-Info = "CONNECT 11Mbps 802.11b" (13) EAP-Message = 0x0200001101303030633239356462643937 (13) Message-Authenticator = 0x3e5f8090dd7785a8f69a5b163e8b6d1d (13) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default (13) authorize { (13) [preprocess] = ok (13) policy rewrite_calling_station_id { (13) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) { (13) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) -> TRUE (13) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) { (13) update request { (13) EXPAND %{toupper:%{1}-%{2}-%{3}-%{4}-%{5}-%{6}} (13) --> 02-00-00-00-00-01 (13) &Calling-Station-Id := 02-00-00-00-00-01 (13) } # update request = noop (13) [updated] = updated (13) } # if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) = updated (13) ... skipping else: Preceding "if" was taken (13) } # policy rewrite_calling_station_id = updated (13) if (!EAP-Message) { (13) if (!EAP-Message) -> FALSE (13) else { (13) eap: Peer sent EAP Response (code 2) ID 0 length 17 (13) eap: EAP-Identity reply, returning 'ok' so we can short-circuit the rest of authorize (13) [eap] = ok (13) } # else = ok (13) } # authorize = updated (13) Found Auth-Type = eap (13) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (13) authenticate { (13) eap: Peer sent packet with method EAP Identity (1) (13) eap: Calling submodule eap_md5 to process data (13) eap_md5: Issuing MD5 Challenge (13) eap: Sending EAP Request (code 1) ID 1 length 22 (13) eap: EAP session adding &reply:State = 0x7dc194a77dc090e8 (13) [eap] = handled (13) } # authenticate = handled (13) Using Post-Auth-Type Challenge (13) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (13) Challenge { ... } # empty sub-section is ignored (13) Sent Access-Challenge Id 0 from 172.16.5.70:1812 to 172.16.5.60:12559 length 0 (13) EAP-Message = 0x0101001604101fc090bbd5587454e9181a26dcdbe4d5 (13) Message-Authenticator = 0x00000000000000000000000000000000 (13) State = 0x7dc194a77dc090e86a37fb581440b5b9 (13) Finished request Waking up in 1.9 seconds. (14) Received Access-Request Id 1 from 172.16.5.60:12559 to 172.16.5.70:1812 length 155 (14) User-Name = "000c295dbd97" (14) NAS-IP-Address = 127.0.0.1 (14) Calling-Station-Id = "02-00-00-00-00-01" (14) Framed-MTU = 1400 (14) NAS-Port-Type = Wireless-802.11 (14) Connect-Info = "CONNECT 11Mbps 802.11b" (14) EAP-Message = 0x020100160410239e2f48f3c78d32316c671b72f8c299 (14) State = 0x7dc194a77dc090e86a37fb581440b5b9 (14) Message-Authenticator = 0x41084a9ab5ca6664f3e9288bd3862f82 (14) session-state: No cached attributes (14) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default (14) authorize { (14) [preprocess] = ok (14) policy rewrite_calling_station_id { (14) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) { (14) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) -> TRUE (14) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) { (14) update request { (14) EXPAND %{toupper:%{1}-%{2}-%{3}-%{4}-%{5}-%{6}} (14) --> 02-00-00-00-00-01 (14) &Calling-Station-Id := 02-00-00-00-00-01 (14) } # update request = noop (14) [updated] = updated (14) } # if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) = updated (14) ... skipping else: Preceding "if" was taken (14) } # policy rewrite_calling_station_id = updated (14) if (!EAP-Message) { (14) if (!EAP-Message) -> FALSE (14) else { (14) eap: Peer sent EAP Response (code 2) ID 1 length 22 (14) eap: No EAP Start, assuming it's an on-going EAP conversation (14) [eap] = updated (14) } # else = updated (14) } # authorize = updated (14) Found Auth-Type = eap (14) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (14) authenticate { (14) eap: Expiring EAP session with state 0x7dc194a77dc090e8 (14) eap: Finished EAP session with state 0x7dc194a77dc090e8 (14) eap: Previous EAP request found for state 0x7dc194a77dc090e8, released from the list (14) eap: Peer sent packet with method EAP MD5 (4) (14) eap: Calling submodule eap_md5 to process data (14) eap_md5: ERROR: Cleartext-Password is required for EAP-MD5 authentication (14) eap: ERROR: Failed continuing EAP MD5 (4) session. EAP sub-module failed (14) eap: Sending EAP Failure (code 4) ID 1 length 4 (14) eap: Failed in EAP select (14) [eap] = invalid (14) } # authenticate = invalid (14) Failed to authenticate the user (14) Using Post-Auth-Type Reject (14) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (14) Post-Auth-Type REJECT { (14) attr_filter.access_reject: EXPAND %{User-Name} (14) attr_filter.access_reject: --> 000c295dbd97 (14) attr_filter.access_reject: Matched entry DEFAULT at line 11 (14) [attr_filter.access_reject] = updated (14) [eap] = noop (14) policy remove_reply_message_if_eap { (14) if (&reply:EAP-Message && &reply:Reply-Message) { (14) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE (14) else { (14) [noop] = noop (14) } # else = noop (14) } # policy remove_reply_message_if_eap = noop (14) } # Post-Auth-Type REJECT = updated (14) Delaying response for 1.000000 seconds Waking up in 0.3 seconds. Waking up in 0.6 seconds. (14) Sending delayed response (14) Sent Access-Reject Id 1 from 172.16.5.70:1812 to 172.16.5.60:12559 length 44 (14) EAP-Message = 0x04010004 (14) Message-Authenticator = 0x00000000000000000000000000000000 Waking up in 0.9 seconds. (11) Cleaning up request packet ID 0 with timestamp +503 (12) Cleaning up request packet ID 1 with timestamp +503 Waking up in 3.0 seconds. (15) Received Access-Request Id 0 from 172.16.5.60:30513 to 172.16.5.70:1812 length 132 (15) User-Name = "000c295dbd97" (15) NAS-IP-Address = 127.0.0.1 (15) Calling-Station-Id = "02-00-00-00-00-01" (15) Framed-MTU = 1400 (15) NAS-Port-Type = Wireless-802.11 (15) Connect-Info = "CONNECT 11Mbps 802.11b" (15) EAP-Message = 0x0200001101303030633239356462643937 (15) Message-Authenticator = 0x336b2355718961b6d680d177d38c9437 (15) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default (15) authorize { (15) [preprocess] = ok (15) policy rewrite_calling_station_id { (15) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) { (15) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) -> TRUE (15) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) { (15) update request { (15) EXPAND %{toupper:%{1}-%{2}-%{3}-%{4}-%{5}-%{6}} (15) --> 02-00-00-00-00-01 (15) &Calling-Station-Id := 02-00-00-00-00-01 (15) } # update request = noop (15) [updated] = updated (15) } # if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) = updated (15) ... skipping else: Preceding "if" was taken (15) } # policy rewrite_calling_station_id = updated (15) if (!EAP-Message) { (15) if (!EAP-Message) -> FALSE (15) else { (15) eap: Peer sent EAP Response (code 2) ID 0 length 17 (15) eap: EAP-Identity reply, returning 'ok' so we can short-circuit the rest of authorize (15) [eap] = ok (15) } # else = ok (15) } # authorize = updated (15) Found Auth-Type = eap (15) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (15) authenticate { (15) eap: Peer sent packet with method EAP Identity (1) (15) eap: Calling submodule eap_md5 to process data (15) eap_md5: Issuing MD5 Challenge (15) eap: Sending EAP Request (code 1) ID 1 length 22 (15) eap: EAP session adding &reply:State = 0x73843d267385398d (15) [eap] = handled (15) } # authenticate = handled (15) Using Post-Auth-Type Challenge (15) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (15) Challenge { ... } # empty sub-section is ignored (15) Sent Access-Challenge Id 0 from 172.16.5.70:1812 to 172.16.5.60:30513 length 0 (15) EAP-Message = 0x01010016041049baed5488da01a6745bda00351713ef (15) Message-Authenticator = 0x00000000000000000000000000000000 (15) State = 0x73843d267385398d3875fa8a2ca59a4d (15) Finished request Waking up in 2.0 seconds. (16) Received Access-Request Id 1 from 172.16.5.60:30513 to 172.16.5.70:1812 length 155 (16) User-Name = "000c295dbd97" (16) NAS-IP-Address = 127.0.0.1 (16) Calling-Station-Id = "02-00-00-00-00-01" (16) Framed-MTU = 1400 (16) NAS-Port-Type = Wireless-802.11 (16) Connect-Info = "CONNECT 11Mbps 802.11b" (16) EAP-Message = 0x020100160410e988e1785bd950c021d760b2eace4ed5 (16) State = 0x73843d267385398d3875fa8a2ca59a4d (16) Message-Authenticator = 0xb36e39ce19c733a971bb3a57f1f2b712 (16) session-state: No cached attributes (16) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default (16) authorize { (16) [preprocess] = ok (16) policy rewrite_calling_station_id { (16) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) { (16) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) -> TRUE (16) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) { (16) update request { (16) EXPAND %{toupper:%{1}-%{2}-%{3}-%{4}-%{5}-%{6}} (16) --> 02-00-00-00-00-01 (16) &Calling-Station-Id := 02-00-00-00-00-01 (16) } # update request = noop (16) [updated] = updated (16) } # if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) = updated (16) ... skipping else: Preceding "if" was taken (16) } # policy rewrite_calling_station_id = updated (16) if (!EAP-Message) { (16) if (!EAP-Message) -> FALSE (16) else { (16) eap: Peer sent EAP Response (code 2) ID 1 length 22 (16) eap: No EAP Start, assuming it's an on-going EAP conversation (16) [eap] = updated (16) } # else = updated (16) } # authorize = updated (16) Found Auth-Type = eap (16) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (16) authenticate { (16) eap: Expiring EAP session with state 0x73843d267385398d (16) eap: Finished EAP session with state 0x73843d267385398d (16) eap: Previous EAP request found for state 0x73843d267385398d, released from the list (16) eap: Peer sent packet with method EAP MD5 (4) (16) eap: Calling submodule eap_md5 to process data (16) eap_md5: ERROR: Cleartext-Password is required for EAP-MD5 authentication (16) eap: ERROR: Failed continuing EAP MD5 (4) session. EAP sub-module failed (16) eap: Sending EAP Failure (code 4) ID 1 length 4 (16) eap: Failed in EAP select (16) [eap] = invalid (16) } # authenticate = invalid (16) Failed to authenticate the user (16) Using Post-Auth-Type Reject (16) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (16) Post-Auth-Type REJECT { (16) attr_filter.access_reject: EXPAND %{User-Name} (16) attr_filter.access_reject: --> 000c295dbd97 (16) attr_filter.access_reject: Matched entry DEFAULT at line 11 (16) [attr_filter.access_reject] = updated (16) [eap] = noop (16) policy remove_reply_message_if_eap { (16) if (&reply:EAP-Message && &reply:Reply-Message) { (16) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE (16) else { (16) [noop] = noop (16) } # else = noop (16) } # policy remove_reply_message_if_eap = noop (16) } # Post-Auth-Type REJECT = updated (16) Delaying response for 1.000000 seconds Waking up in 0.3 seconds. Waking up in 0.6 seconds. (16) Sending delayed response (16) Sent Access-Reject Id 1 from 172.16.5.70:1812 to 172.16.5.60:30513 length 44 (16) EAP-Message = 0x04010004 (16) Message-Authenticator = 0x00000000000000000000000000000000 Waking up in 1.0 seconds. (13) Cleaning up request packet ID 0 with timestamp +506 (14) Cleaning up request packet ID 1 with timestamp +506 Waking up in 2.9 seconds. (17) Received Access-Request Id 0 from 172.16.5.60:43187 to 172.16.5.70:1812 length 132 (17) User-Name = "000c295dbd97" (17) NAS-IP-Address = 127.0.0.1 (17) Calling-Station-Id = "02-00-00-00-00-01" (17) Framed-MTU = 1400 (17) NAS-Port-Type = Wireless-802.11 (17) Connect-Info = "CONNECT 11Mbps 802.11b" (17) EAP-Message = 0x0200001101303030633239356462643937 (17) Message-Authenticator = 0xe7914db7bf0839e60d2a59a7449e7517 (17) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default (17) authorize { (17) [preprocess] = ok (17) policy rewrite_calling_station_id { (17) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) { (17) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) -> TRUE (17) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) { (17) update request { (17) EXPAND %{toupper:%{1}-%{2}-%{3}-%{4}-%{5}-%{6}} (17) --> 02-00-00-00-00-01 (17) &Calling-Station-Id := 02-00-00-00-00-01 (17) } # update request = noop (17) [updated] = updated (17) } # if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) = updated (17) ... skipping else: Preceding "if" was taken (17) } # policy rewrite_calling_station_id = updated (17) if (!EAP-Message) { (17) if (!EAP-Message) -> FALSE (17) else { (17) eap: Peer sent EAP Response (code 2) ID 0 length 17 (17) eap: EAP-Identity reply, returning 'ok' so we can short-circuit the rest of authorize (17) [eap] = ok (17) } # else = ok (17) } # authorize = updated (17) Found Auth-Type = eap (17) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (17) authenticate { (17) eap: Peer sent packet with method EAP Identity (1) (17) eap: Calling submodule eap_md5 to process data (17) eap_md5: Issuing MD5 Challenge (17) eap: Sending EAP Request (code 1) ID 1 length 22 (17) eap: EAP session adding &reply:State = 0xcee4a6edcee5a25f (17) [eap] = handled (17) } # authenticate = handled (17) Using Post-Auth-Type Challenge (17) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (17) Challenge { ... } # empty sub-section is ignored (17) Sent Access-Challenge Id 0 from 172.16.5.70:1812 to 172.16.5.60:43187 length 0 (17) EAP-Message = 0x0101001604103fed542d1405c3b4bf35f9e357447060 (17) Message-Authenticator = 0x00000000000000000000000000000000 (17) State = 0xcee4a6edcee5a25fbe6e653da70cf0d1 (17) Finished request Waking up in 1.9 seconds. (18) Received Access-Request Id 1 from 172.16.5.60:43187 to 172.16.5.70:1812 length 155 (18) User-Name = "000c295dbd97" (18) NAS-IP-Address = 127.0.0.1 (18) Calling-Station-Id = "02-00-00-00-00-01" (18) Framed-MTU = 1400 (18) NAS-Port-Type = Wireless-802.11 (18) Connect-Info = "CONNECT 11Mbps 802.11b" (18) EAP-Message = 0x0201001604105d0c77d0dbdc97597f46b7bb6468d314 (18) State = 0xcee4a6edcee5a25fbe6e653da70cf0d1 (18) Message-Authenticator = 0x01754115aea74b6c54c622fc1be0bbda (18) session-state: No cached attributes (18) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default (18) authorize { (18) [preprocess] = ok (18) policy rewrite_calling_station_id { (18) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) { (18) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) -> TRUE (18) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) { (18) update request { (18) EXPAND %{toupper:%{1}-%{2}-%{3}-%{4}-%{5}-%{6}} (18) --> 02-00-00-00-00-01 (18) &Calling-Station-Id := 02-00-00-00-00-01 (18) } # update request = noop (18) [updated] = updated (18) } # if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) = updated (18) ... skipping else: Preceding "if" was taken (18) } # policy rewrite_calling_station_id = updated (18) if (!EAP-Message) { (18) if (!EAP-Message) -> FALSE (18) else { (18) eap: Peer sent EAP Response (code 2) ID 1 length 22 (18) eap: No EAP Start, assuming it's an on-going EAP conversation (18) [eap] = updated (18) } # else = updated (18) } # authorize = updated (18) Found Auth-Type = eap (18) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (18) authenticate { (18) eap: Expiring EAP session with state 0xcee4a6edcee5a25f (18) eap: Finished EAP session with state 0xcee4a6edcee5a25f (18) eap: Previous EAP request found for state 0xcee4a6edcee5a25f, released from the list (18) eap: Peer sent packet with method EAP MD5 (4) (18) eap: Calling submodule eap_md5 to process data (18) eap_md5: ERROR: Cleartext-Password is required for EAP-MD5 authentication (18) eap: ERROR: Failed continuing EAP MD5 (4) session. EAP sub-module failed (18) eap: Sending EAP Failure (code 4) ID 1 length 4 (18) eap: Failed in EAP select (18) [eap] = invalid (18) } # authenticate = invalid (18) Failed to authenticate the user (18) Using Post-Auth-Type Reject (18) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (18) Post-Auth-Type REJECT { (18) attr_filter.access_reject: EXPAND %{User-Name} (18) attr_filter.access_reject: --> 000c295dbd97 (18) attr_filter.access_reject: Matched entry DEFAULT at line 11 (18) [attr_filter.access_reject] = updated (18) [eap] = noop (18) policy remove_reply_message_if_eap { (18) if (&reply:EAP-Message && &reply:Reply-Message) { (18) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE (18) else { (18) [noop] = noop (18) } # else = noop (18) } # policy remove_reply_message_if_eap = noop (18) } # Post-Auth-Type REJECT = updated (18) Delaying response for 1.000000 seconds Waking up in 0.3 seconds. Waking up in 0.6 seconds. (18) Sending delayed response (18) Sent Access-Reject Id 1 from 172.16.5.70:1812 to 172.16.5.60:43187 length 44 (18) EAP-Message = 0x04010004 (18) Message-Authenticator = 0x00000000000000000000000000000000 Waking up in 0.9 seconds. (15) Cleaning up request packet ID 0 with timestamp +509 (16) Cleaning up request packet ID 1 with timestamp +509 Waking up in 3.0 seconds. (19) Received Access-Request Id 0 from 172.16.5.60:34453 to 172.16.5.70:1812 length 132 (19) User-Name = "000c295dbd97" (19) NAS-IP-Address = 127.0.0.1 (19) Calling-Station-Id = "02-00-00-00-00-01" (19) Framed-MTU = 1400 (19) NAS-Port-Type = Wireless-802.11 (19) Connect-Info = "CONNECT 11Mbps 802.11b" (19) EAP-Message = 0x0200001101303030633239356462643937 (19) Message-Authenticator = 0xc48777d955192e62f9d2fe24ed089cfe (19) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default (19) authorize { (19) [preprocess] = ok (19) policy rewrite_calling_station_id { (19) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) { (19) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) -> TRUE (19) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) { (19) update request { (19) EXPAND %{toupper:%{1}-%{2}-%{3}-%{4}-%{5}-%{6}} (19) --> 02-00-00-00-00-01 (19) &Calling-Station-Id := 02-00-00-00-00-01 (19) } # update request = noop (19) [updated] = updated (19) } # if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) = updated (19) ... skipping else: Preceding "if" was taken (19) } # policy rewrite_calling_station_id = updated (19) if (!EAP-Message) { (19) if (!EAP-Message) -> FALSE (19) else { (19) eap: Peer sent EAP Response (code 2) ID 0 length 17 (19) eap: EAP-Identity reply, returning 'ok' so we can short-circuit the rest of authorize (19) [eap] = ok (19) } # else = ok (19) } # authorize = updated (19) Found Auth-Type = eap (19) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (19) authenticate { (19) eap: Peer sent packet with method EAP Identity (1) (19) eap: Calling submodule eap_md5 to process data (19) eap_md5: Issuing MD5 Challenge (19) eap: Sending EAP Request (code 1) ID 1 length 22 (19) eap: EAP session adding &reply:State = 0x2f65b94e2f64bd94 (19) [eap] = handled (19) } # authenticate = handled (19) Using Post-Auth-Type Challenge (19) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (19) Challenge { ... } # empty sub-section is ignored (19) Sent Access-Challenge Id 0 from 172.16.5.70:1812 to 172.16.5.60:34453 length 0 (19) EAP-Message = 0x01010016041070fcdbe0a9d3bf92ec1454c85a27e9b6 (19) Message-Authenticator = 0x00000000000000000000000000000000 (19) State = 0x2f65b94e2f64bd943a0debb51a41c4bd (19) Finished request Waking up in 2.0 seconds. (20) Received Access-Request Id 1 from 172.16.5.60:34453 to 172.16.5.70:1812 length 155 (20) User-Name = "000c295dbd97" (20) NAS-IP-Address = 127.0.0.1 (20) Calling-Station-Id = "02-00-00-00-00-01" (20) Framed-MTU = 1400 (20) NAS-Port-Type = Wireless-802.11 (20) Connect-Info = "CONNECT 11Mbps 802.11b" (20) EAP-Message = 0x02010016041050867cf2dd0b9833ba5d29ae6e00a7ca (20) State = 0x2f65b94e2f64bd943a0debb51a41c4bd (20) Message-Authenticator = 0x3359ff099fc766260b9c0637f6165364 (20) session-state: No cached attributes (20) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default (20) authorize { (20) [preprocess] = ok (20) policy rewrite_calling_station_id { (20) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) { (20) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) -> TRUE (20) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) { (20) update request { (20) EXPAND %{toupper:%{1}-%{2}-%{3}-%{4}-%{5}-%{6}} (20) --> 02-00-00-00-00-01 (20) &Calling-Station-Id := 02-00-00-00-00-01 (20) } # update request = noop (20) [updated] = updated (20) } # if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) = updated (20) ... skipping else: Preceding "if" was taken (20) } # policy rewrite_calling_station_id = updated (20) if (!EAP-Message) { (20) if (!EAP-Message) -> FALSE (20) else { (20) eap: Peer sent EAP Response (code 2) ID 1 length 22 (20) eap: No EAP Start, assuming it's an on-going EAP conversation (20) [eap] = updated (20) } # else = updated (20) } # authorize = updated (20) Found Auth-Type = eap (20) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (20) authenticate { (20) eap: Expiring EAP session with state 0x2f65b94e2f64bd94 (20) eap: Finished EAP session with state 0x2f65b94e2f64bd94 (20) eap: Previous EAP request found for state 0x2f65b94e2f64bd94, released from the list (20) eap: Peer sent packet with method EAP MD5 (4) (20) eap: Calling submodule eap_md5 to process data (20) eap_md5: ERROR: Cleartext-Password is required for EAP-MD5 authentication (20) eap: ERROR: Failed continuing EAP MD5 (4) session. EAP sub-module failed (20) eap: Sending EAP Failure (code 4) ID 1 length 4 (20) eap: Failed in EAP select (20) [eap] = invalid (20) } # authenticate = invalid (20) Failed to authenticate the user (20) Using Post-Auth-Type Reject (20) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (20) Post-Auth-Type REJECT { (20) attr_filter.access_reject: EXPAND %{User-Name} (20) attr_filter.access_reject: --> 000c295dbd97 (20) attr_filter.access_reject: Matched entry DEFAULT at line 11 (20) [attr_filter.access_reject] = updated (20) [eap] = noop (20) policy remove_reply_message_if_eap { (20) if (&reply:EAP-Message && &reply:Reply-Message) { (20) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE (20) else { (20) [noop] = noop (20) } # else = noop (20) } # policy remove_reply_message_if_eap = noop (20) } # Post-Auth-Type REJECT = updated (20) Delaying response for 1.000000 seconds Waking up in 0.3 seconds. Waking up in 0.6 seconds. (20) Sending delayed response (20) Sent Access-Reject Id 1 from 172.16.5.70:1812 to 172.16.5.60:34453 length 44 (20) EAP-Message = 0x04010004 (20) Message-Authenticator = 0x00000000000000000000000000000000 Waking up in 1.0 seconds. (17) Cleaning up request packet ID 0 with timestamp +513 (18) Cleaning up request packet ID 1 with timestamp +513 Waking up in 2.9 seconds. (21) Received Access-Request Id 0 from 172.16.5.60:33943 to 172.16.5.70:1812 length 132 (21) User-Name = "000c295dbd97" (21) NAS-IP-Address = 127.0.0.1 (21) Calling-Station-Id = "02-00-00-00-00-01" (21) Framed-MTU = 1400 (21) NAS-Port-Type = Wireless-802.11 (21) Connect-Info = "CONNECT 11Mbps 802.11b" (21) EAP-Message = 0x0200001101303030633239356462643937 (21) Message-Authenticator = 0x3dc8705addc10fd9f129262b1d7a16d2 (21) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default (21) authorize { (21) [preprocess] = ok (21) policy rewrite_calling_station_id { (21) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) { (21) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) -> TRUE (21) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) { (21) update request { (21) EXPAND %{toupper:%{1}-%{2}-%{3}-%{4}-%{5}-%{6}} (21) --> 02-00-00-00-00-01 (21) &Calling-Station-Id := 02-00-00-00-00-01 (21) } # update request = noop (21) [updated] = updated (21) } # if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) = updated (21) ... skipping else: Preceding "if" was taken (21) } # policy rewrite_calling_station_id = updated (21) if (!EAP-Message) { (21) if (!EAP-Message) -> FALSE (21) else { (21) eap: Peer sent EAP Response (code 2) ID 0 length 17 (21) eap: EAP-Identity reply, returning 'ok' so we can short-circuit the rest of authorize (21) [eap] = ok (21) } # else = ok (21) } # authorize = updated (21) Found Auth-Type = eap (21) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (21) authenticate { (21) eap: Peer sent packet with method EAP Identity (1) (21) eap: Calling submodule eap_md5 to process data (21) eap_md5: Issuing MD5 Challenge (21) eap: Sending EAP Request (code 1) ID 1 length 22 (21) eap: EAP session adding &reply:State = 0x2ebe38a22ebf3c07 (21) [eap] = handled (21) } # authenticate = handled (21) Using Post-Auth-Type Challenge (21) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (21) Challenge { ... } # empty sub-section is ignored (21) Sent Access-Challenge Id 0 from 172.16.5.70:1812 to 172.16.5.60:33943 length 0 (21) EAP-Message = 0x010100160410eae28f387cc56496dae90f58d6c0bcee (21) Message-Authenticator = 0x00000000000000000000000000000000 (21) State = 0x2ebe38a22ebf3c07c369fe1f0148d8b3 (21) Finished request Waking up in 2.0 seconds. (22) Received Access-Request Id 1 from 172.16.5.60:33943 to 172.16.5.70:1812 length 155 (22) User-Name = "000c295dbd97" (22) NAS-IP-Address = 127.0.0.1 (22) Calling-Station-Id = "02-00-00-00-00-01" (22) Framed-MTU = 1400 (22) NAS-Port-Type = Wireless-802.11 (22) Connect-Info = "CONNECT 11Mbps 802.11b" (22) EAP-Message = 0x0201001604100b9da13b59ecd19bf6451cde2abc1b7d (22) State = 0x2ebe38a22ebf3c07c369fe1f0148d8b3 (22) Message-Authenticator = 0x5c87dded70c9a937f3f1be9458bfbed7 (22) session-state: No cached attributes (22) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default (22) authorize { (22) [preprocess] = ok (22) policy rewrite_calling_station_id { (22) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) { (22) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) -> TRUE (22) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) { (22) update request { (22) EXPAND %{toupper:%{1}-%{2}-%{3}-%{4}-%{5}-%{6}} (22) --> 02-00-00-00-00-01 (22) &Calling-Station-Id := 02-00-00-00-00-01 (22) } # update request = noop (22) [updated] = updated (22) } # if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) = updated (22) ... skipping else: Preceding "if" was taken (22) } # policy rewrite_calling_station_id = updated (22) if (!EAP-Message) { (22) if (!EAP-Message) -> FALSE (22) else { (22) eap: Peer sent EAP Response (code 2) ID 1 length 22 (22) eap: No EAP Start, assuming it's an on-going EAP conversation (22) [eap] = updated (22) } # else = updated (22) } # authorize = updated (22) Found Auth-Type = eap (22) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (22) authenticate { (22) eap: Expiring EAP session with state 0x2ebe38a22ebf3c07 (22) eap: Finished EAP session with state 0x2ebe38a22ebf3c07 (22) eap: Previous EAP request found for state 0x2ebe38a22ebf3c07, released from the list (22) eap: Peer sent packet with method EAP MD5 (4) (22) eap: Calling submodule eap_md5 to process data (22) eap_md5: ERROR: Cleartext-Password is required for EAP-MD5 authentication (22) eap: ERROR: Failed continuing EAP MD5 (4) session. EAP sub-module failed (22) eap: Sending EAP Failure (code 4) ID 1 length 4 (22) eap: Failed in EAP select (22) [eap] = invalid (22) } # authenticate = invalid (22) Failed to authenticate the user (22) Using Post-Auth-Type Reject (22) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (22) Post-Auth-Type REJECT { (22) attr_filter.access_reject: EXPAND %{User-Name} (22) attr_filter.access_reject: --> 000c295dbd97 (22) attr_filter.access_reject: Matched entry DEFAULT at line 11 (22) [attr_filter.access_reject] = updated (22) [eap] = noop (22) policy remove_reply_message_if_eap { (22) if (&reply:EAP-Message && &reply:Reply-Message) { (22) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE (22) else { (22) [noop] = noop (22) } # else = noop (22) } # policy remove_reply_message_if_eap = noop (22) } # Post-Auth-Type REJECT = updated (22) Delaying response for 1.000000 seconds Waking up in 0.3 seconds. Waking up in 0.6 seconds. (22) Sending delayed response (22) Sent Access-Reject Id 1 from 172.16.5.70:1812 to 172.16.5.60:33943 length 44 (22) EAP-Message = 0x04010004 (22) Message-Authenticator = 0x00000000000000000000000000000000 Waking up in 0.9 seconds. (19) Cleaning up request packet ID 0 with timestamp +515 (20) Cleaning up request packet ID 1 with timestamp +515 Waking up in 2.9 seconds. (23) Received Access-Request Id 0 from 172.16.5.60:30833 to 172.16.5.70:1812 length 132 (23) User-Name = "000c295dbd97" (23) NAS-IP-Address = 127.0.0.1 (23) Calling-Station-Id = "02-00-00-00-00-01" (23) Framed-MTU = 1400 (23) NAS-Port-Type = Wireless-802.11 (23) Connect-Info = "CONNECT 11Mbps 802.11b" (23) EAP-Message = 0x0200001101303030633239356462643937 (23) Message-Authenticator = 0x1497a1e6f6cef668fd2ea63636cfc65a (23) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default (23) authorize { (23) [preprocess] = ok (23) policy rewrite_calling_station_id { (23) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) { (23) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) -> TRUE (23) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) { (23) update request { (23) EXPAND %{toupper:%{1}-%{2}-%{3}-%{4}-%{5}-%{6}} (23) --> 02-00-00-00-00-01 (23) &Calling-Station-Id := 02-00-00-00-00-01 (23) } # update request = noop (23) [updated] = updated (23) } # if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) = updated (23) ... skipping else: Preceding "if" was taken (23) } # policy rewrite_calling_station_id = updated (23) if (!EAP-Message) { (23) if (!EAP-Message) -> FALSE (23) else { (23) eap: Peer sent EAP Response (code 2) ID 0 length 17 (23) eap: EAP-Identity reply, returning 'ok' so we can short-circuit the rest of authorize (23) [eap] = ok (23) } # else = ok (23) } # authorize = updated (23) Found Auth-Type = eap (23) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (23) authenticate { (23) eap: Peer sent packet with method EAP Identity (1) (23) eap: Calling submodule eap_md5 to process data (23) eap_md5: Issuing MD5 Challenge (23) eap: Sending EAP Request (code 1) ID 1 length 22 (23) eap: EAP session adding &reply:State = 0x18a8f59418a9f179 (23) [eap] = handled (23) } # authenticate = handled (23) Using Post-Auth-Type Challenge (23) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (23) Challenge { ... } # empty sub-section is ignored (23) Sent Access-Challenge Id 0 from 172.16.5.70:1812 to 172.16.5.60:30833 length 0 (23) EAP-Message = 0x010100160410e8f72dc9d239e273f0a60211306b08b4 (23) Message-Authenticator = 0x00000000000000000000000000000000 (23) State = 0x18a8f59418a9f179404c3725325256fc (23) Finished request Waking up in 1.9 seconds. (24) Received Access-Request Id 1 from 172.16.5.60:30833 to 172.16.5.70:1812 length 155 (24) User-Name = "000c295dbd97" (24) NAS-IP-Address = 127.0.0.1 (24) Calling-Station-Id = "02-00-00-00-00-01" (24) Framed-MTU = 1400 (24) NAS-Port-Type = Wireless-802.11 (24) Connect-Info = "CONNECT 11Mbps 802.11b" (24) EAP-Message = 0x020100160410f3debcc402f8d7cbb730b9193b9ea794 (24) State = 0x18a8f59418a9f179404c3725325256fc (24) Message-Authenticator = 0x4f5d5f160d291287efcf1d4376447cc3 (24) session-state: No cached attributes (24) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default (24) authorize { (24) [preprocess] = ok (24) policy rewrite_calling_station_id { (24) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) { (24) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) -> TRUE (24) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) { (24) update request { (24) EXPAND %{toupper:%{1}-%{2}-%{3}-%{4}-%{5}-%{6}} (24) --> 02-00-00-00-00-01 (24) &Calling-Station-Id := 02-00-00-00-00-01 (24) } # update request = noop (24) [updated] = updated (24) } # if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) = updated (24) ... skipping else: Preceding "if" was taken (24) } # policy rewrite_calling_station_id = updated (24) if (!EAP-Message) { (24) if (!EAP-Message) -> FALSE (24) else { (24) eap: Peer sent EAP Response (code 2) ID 1 length 22 (24) eap: No EAP Start, assuming it's an on-going EAP conversation (24) [eap] = updated (24) } # else = updated (24) } # authorize = updated (24) Found Auth-Type = eap (24) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (24) authenticate { (24) eap: Expiring EAP session with state 0x18a8f59418a9f179 (24) eap: Finished EAP session with state 0x18a8f59418a9f179 (24) eap: Previous EAP request found for state 0x18a8f59418a9f179, released from the list (24) eap: Peer sent packet with method EAP MD5 (4) (24) eap: Calling submodule eap_md5 to process data (24) eap_md5: ERROR: Cleartext-Password is required for EAP-MD5 authentication (24) eap: ERROR: Failed continuing EAP MD5 (4) session. EAP sub-module failed (24) eap: Sending EAP Failure (code 4) ID 1 length 4 (24) eap: Failed in EAP select (24) [eap] = invalid (24) } # authenticate = invalid (24) Failed to authenticate the user (24) Using Post-Auth-Type Reject (24) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (24) Post-Auth-Type REJECT { (24) attr_filter.access_reject: EXPAND %{User-Name} (24) attr_filter.access_reject: --> 000c295dbd97 (24) attr_filter.access_reject: Matched entry DEFAULT at line 11 (24) [attr_filter.access_reject] = updated (24) [eap] = noop (24) policy remove_reply_message_if_eap { (24) if (&reply:EAP-Message && &reply:Reply-Message) { (24) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE (24) else { (24) [noop] = noop (24) } # else = noop (24) } # policy remove_reply_message_if_eap = noop (24) } # Post-Auth-Type REJECT = updated (24) Delaying response for 1.000000 seconds Waking up in 0.3 seconds. Waking up in 0.6 seconds. (24) Sending delayed response (24) Sent Access-Reject Id 1 from 172.16.5.70:1812 to 172.16.5.60:30833 length 44 (24) EAP-Message = 0x04010004 (24) Message-Authenticator = 0x00000000000000000000000000000000 Waking up in 0.9 seconds. (21) Cleaning up request packet ID 0 with timestamp +518 (22) Cleaning up request packet ID 1 with timestamp +518 Waking up in 2.9 seconds. (25) Received Access-Request Id 0 from 172.16.5.60:53962 to 172.16.5.70:1812 length 132 (25) User-Name = "000c295dbd97" (25) NAS-IP-Address = 127.0.0.1 (25) Calling-Station-Id = "02-00-00-00-00-01" (25) Framed-MTU = 1400 (25) NAS-Port-Type = Wireless-802.11 (25) Connect-Info = "CONNECT 11Mbps 802.11b" (25) EAP-Message = 0x0200001101303030633239356462643937 (25) Message-Authenticator = 0x4c92ede4b82b7ba79690f388af6a5275 (25) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default (25) authorize { (25) [preprocess] = ok (25) policy rewrite_calling_station_id { (25) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) { (25) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) -> TRUE (25) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) { (25) update request { (25) EXPAND %{toupper:%{1}-%{2}-%{3}-%{4}-%{5}-%{6}} (25) --> 02-00-00-00-00-01 (25) &Calling-Station-Id := 02-00-00-00-00-01 (25) } # update request = noop (25) [updated] = updated (25) } # if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) = updated (25) ... skipping else: Preceding "if" was taken (25) } # policy rewrite_calling_station_id = updated (25) if (!EAP-Message) { (25) if (!EAP-Message) -> FALSE (25) else { (25) eap: Peer sent EAP Response (code 2) ID 0 length 17 (25) eap: EAP-Identity reply, returning 'ok' so we can short-circuit the rest of authorize (25) [eap] = ok (25) } # else = ok (25) } # authorize = updated (25) Found Auth-Type = eap (25) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (25) authenticate { (25) eap: Peer sent packet with method EAP Identity (1) (25) eap: Calling submodule eap_md5 to process data (25) eap_md5: Issuing MD5 Challenge (25) eap: Sending EAP Request (code 1) ID 1 length 22 (25) eap: EAP session adding &reply:State = 0x0884375408853384 (25) [eap] = handled (25) } # authenticate = handled (25) Using Post-Auth-Type Challenge (25) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (25) Challenge { ... } # empty sub-section is ignored (25) Sent Access-Challenge Id 0 from 172.16.5.70:1812 to 172.16.5.60:53962 length 0 (25) EAP-Message = 0x01010016041063148aab7b010897dfeee7009f2fdc58 (25) Message-Authenticator = 0x00000000000000000000000000000000 (25) State = 0x0884375408853384050d1a7d0ba29e6e (25) Finished request Waking up in 1.9 seconds. (26) Received Access-Request Id 1 from 172.16.5.60:53962 to 172.16.5.70:1812 length 155 (26) User-Name = "000c295dbd97" (26) NAS-IP-Address = 127.0.0.1 (26) Calling-Station-Id = "02-00-00-00-00-01" (26) Framed-MTU = 1400 (26) NAS-Port-Type = Wireless-802.11 (26) Connect-Info = "CONNECT 11Mbps 802.11b" (26) EAP-Message = 0x02010016041028bdf6e325e1a218dc737148a0d24e40 (26) State = 0x0884375408853384050d1a7d0ba29e6e (26) Message-Authenticator = 0x6954d7240ab1910e07e8ad2aa8467652 (26) session-state: No cached attributes (26) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default (26) authorize { (26) [preprocess] = ok (26) policy rewrite_calling_station_id { (26) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) { (26) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) -> TRUE (26) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) { (26) update request { (26) EXPAND %{toupper:%{1}-%{2}-%{3}-%{4}-%{5}-%{6}} (26) --> 02-00-00-00-00-01 (26) &Calling-Station-Id := 02-00-00-00-00-01 (26) } # update request = noop (26) [updated] = updated (26) } # if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) = updated (26) ... skipping else: Preceding "if" was taken (26) } # policy rewrite_calling_station_id = updated (26) if (!EAP-Message) { (26) if (!EAP-Message) -> FALSE (26) else { (26) eap: Peer sent EAP Response (code 2) ID 1 length 22 (26) eap: No EAP Start, assuming it's an on-going EAP conversation (26) [eap] = updated (26) } # else = updated (26) } # authorize = updated (26) Found Auth-Type = eap (26) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (26) authenticate { (26) eap: Expiring EAP session with state 0x0884375408853384 (26) eap: Finished EAP session with state 0x0884375408853384 (26) eap: Previous EAP request found for state 0x0884375408853384, released from the list (26) eap: Peer sent packet with method EAP MD5 (4) (26) eap: Calling submodule eap_md5 to process data (26) eap_md5: ERROR: Cleartext-Password is required for EAP-MD5 authentication (26) eap: ERROR: Failed continuing EAP MD5 (4) session. EAP sub-module failed (26) eap: Sending EAP Failure (code 4) ID 1 length 4 (26) eap: Failed in EAP select (26) [eap] = invalid (26) } # authenticate = invalid (26) Failed to authenticate the user (26) Using Post-Auth-Type Reject (26) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (26) Post-Auth-Type REJECT { (26) attr_filter.access_reject: EXPAND %{User-Name} (26) attr_filter.access_reject: --> 000c295dbd97 (26) attr_filter.access_reject: Matched entry DEFAULT at line 11 (26) [attr_filter.access_reject] = updated (26) [eap] = noop (26) policy remove_reply_message_if_eap { (26) if (&reply:EAP-Message && &reply:Reply-Message) { (26) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE (26) else { (26) [noop] = noop (26) } # else = noop (26) } # policy remove_reply_message_if_eap = noop (26) } # Post-Auth-Type REJECT = updated (26) Delaying response for 1.000000 seconds Waking up in 0.3 seconds. Waking up in 0.6 seconds. (26) Sending delayed response (26) Sent Access-Reject Id 1 from 172.16.5.70:1812 to 172.16.5.60:53962 length 44 (26) EAP-Message = 0x04010004 (26) Message-Authenticator = 0x00000000000000000000000000000000 Waking up in 0.9 seconds. (23) Cleaning up request packet ID 0 with timestamp +521 (24) Cleaning up request packet ID 1 with timestamp +521 Waking up in 2.9 seconds. (27) Received Access-Request Id 0 from 172.16.5.60:14300 to 172.16.5.70:1812 length 132 (27) User-Name = "000c295dbd97" (27) NAS-IP-Address = 127.0.0.1 (27) Calling-Station-Id = "02-00-00-00-00-01" (27) Framed-MTU = 1400 (27) NAS-Port-Type = Wireless-802.11 (27) Connect-Info = "CONNECT 11Mbps 802.11b" (27) EAP-Message = 0x0200001101303030633239356462643937 (27) Message-Authenticator = 0x89b1a201ea84086382f7d369f603f3ef (27) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default (27) authorize { (27) [preprocess] = ok (27) policy rewrite_calling_station_id { (27) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) { (27) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) -> TRUE (27) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) { (27) update request { (27) EXPAND %{toupper:%{1}-%{2}-%{3}-%{4}-%{5}-%{6}} (27) --> 02-00-00-00-00-01 (27) &Calling-Station-Id := 02-00-00-00-00-01 (27) } # update request = noop (27) [updated] = updated (27) } # if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) = updated (27) ... skipping else: Preceding "if" was taken (27) } # policy rewrite_calling_station_id = updated (27) if (!EAP-Message) { (27) if (!EAP-Message) -> FALSE (27) else { (27) eap: Peer sent EAP Response (code 2) ID 0 length 17 (27) eap: EAP-Identity reply, returning 'ok' so we can short-circuit the rest of authorize (27) [eap] = ok (27) } # else = ok (27) } # authorize = updated (27) Found Auth-Type = eap (27) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (27) authenticate { (27) eap: Peer sent packet with method EAP Identity (1) (27) eap: Calling submodule eap_md5 to process data (27) eap_md5: Issuing MD5 Challenge (27) eap: Sending EAP Request (code 1) ID 1 length 22 (27) eap: EAP session adding &reply:State = 0xbbc79996bbc69d79 (27) [eap] = handled (27) } # authenticate = handled (27) Using Post-Auth-Type Challenge (27) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (27) Challenge { ... } # empty sub-section is ignored (27) Sent Access-Challenge Id 0 from 172.16.5.70:1812 to 172.16.5.60:14300 length 0 (27) EAP-Message = 0x01010016041039f78218af063d9b82de0441803c201c (27) Message-Authenticator = 0x00000000000000000000000000000000 (27) State = 0xbbc79996bbc69d79d8e21ec0e5ae5e6f (27) Finished request Waking up in 2.0 seconds. (28) Received Access-Request Id 1 from 172.16.5.60:14300 to 172.16.5.70:1812 length 155 (28) User-Name = "000c295dbd97" (28) NAS-IP-Address = 127.0.0.1 (28) Calling-Station-Id = "02-00-00-00-00-01" (28) Framed-MTU = 1400 (28) NAS-Port-Type = Wireless-802.11 (28) Connect-Info = "CONNECT 11Mbps 802.11b" (28) EAP-Message = 0x020100160410f55fcd27af1ca6447b10ef43c9b2d69a (28) State = 0xbbc79996bbc69d79d8e21ec0e5ae5e6f (28) Message-Authenticator = 0x19599d58c80e0e6e88248d1a9ba3e15d (28) session-state: No cached attributes (28) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default (28) authorize { (28) [preprocess] = ok (28) policy rewrite_calling_station_id { (28) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) { (28) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) -> TRUE (28) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) { (28) update request { (28) EXPAND %{toupper:%{1}-%{2}-%{3}-%{4}-%{5}-%{6}} (28) --> 02-00-00-00-00-01 (28) &Calling-Station-Id := 02-00-00-00-00-01 (28) } # update request = noop (28) [updated] = updated (28) } # if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) = updated (28) ... skipping else: Preceding "if" was taken (28) } # policy rewrite_calling_station_id = updated (28) if (!EAP-Message) { (28) if (!EAP-Message) -> FALSE (28) else { (28) eap: Peer sent EAP Response (code 2) ID 1 length 22 (28) eap: No EAP Start, assuming it's an on-going EAP conversation (28) [eap] = updated (28) } # else = updated (28) } # authorize = updated (28) Found Auth-Type = eap (28) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (28) authenticate { (28) eap: Expiring EAP session with state 0xbbc79996bbc69d79 (28) eap: Finished EAP session with state 0xbbc79996bbc69d79 (28) eap: Previous EAP request found for state 0xbbc79996bbc69d79, released from the list (28) eap: Peer sent packet with method EAP MD5 (4) (28) eap: Calling submodule eap_md5 to process data (28) eap_md5: ERROR: Cleartext-Password is required for EAP-MD5 authentication (28) eap: ERROR: Failed continuing EAP MD5 (4) session. EAP sub-module failed (28) eap: Sending EAP Failure (code 4) ID 1 length 4 (28) eap: Failed in EAP select (28) [eap] = invalid (28) } # authenticate = invalid (28) Failed to authenticate the user (28) Using Post-Auth-Type Reject (28) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (28) Post-Auth-Type REJECT { (28) attr_filter.access_reject: EXPAND %{User-Name} (28) attr_filter.access_reject: --> 000c295dbd97 (28) attr_filter.access_reject: Matched entry DEFAULT at line 11 (28) [attr_filter.access_reject] = updated (28) [eap] = noop (28) policy remove_reply_message_if_eap { (28) if (&reply:EAP-Message && &reply:Reply-Message) { (28) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE (28) else { (28) [noop] = noop (28) } # else = noop (28) } # policy remove_reply_message_if_eap = noop (28) } # Post-Auth-Type REJECT = updated (28) Delaying response for 1.000000 seconds Waking up in 0.3 seconds. Waking up in 0.6 seconds. (28) Sending delayed response (28) Sent Access-Reject Id 1 from 172.16.5.70:1812 to 172.16.5.60:14300 length 44 (28) EAP-Message = 0x04010004 (28) Message-Authenticator = 0x00000000000000000000000000000000 Waking up in 0.9 seconds. (25) Cleaning up request packet ID 0 with timestamp +524 (26) Cleaning up request packet ID 1 with timestamp +524 Waking up in 2.9 seconds. (29) Received Access-Request Id 0 from 172.16.5.60:5839 to 172.16.5.70:1812 length 132 (29) User-Name = "000c295dbd97" (29) NAS-IP-Address = 127.0.0.1 (29) Calling-Station-Id = "02-00-00-00-00-01" (29) Framed-MTU = 1400 (29) NAS-Port-Type = Wireless-802.11 (29) Connect-Info = "CONNECT 11Mbps 802.11b" (29) EAP-Message = 0x0200001101303030633239356462643937 (29) Message-Authenticator = 0x45764009d4abd0725e137dca63c944c2 (29) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default (29) authorize { (29) [preprocess] = ok (29) policy rewrite_calling_station_id { (29) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) { (29) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) -> TRUE (29) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) { (29) update request { (29) EXPAND %{toupper:%{1}-%{2}-%{3}-%{4}-%{5}-%{6}} (29) --> 02-00-00-00-00-01 (29) &Calling-Station-Id := 02-00-00-00-00-01 (29) } # update request = noop (29) [updated] = updated (29) } # if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) = updated (29) ... skipping else: Preceding "if" was taken (29) } # policy rewrite_calling_station_id = updated (29) if (!EAP-Message) { (29) if (!EAP-Message) -> FALSE (29) else { (29) eap: Peer sent EAP Response (code 2) ID 0 length 17 (29) eap: EAP-Identity reply, returning 'ok' so we can short-circuit the rest of authorize (29) [eap] = ok (29) } # else = ok (29) } # authorize = updated (29) Found Auth-Type = eap (29) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (29) authenticate { (29) eap: Peer sent packet with method EAP Identity (1) (29) eap: Calling submodule eap_md5 to process data (29) eap_md5: Issuing MD5 Challenge (29) eap: Sending EAP Request (code 1) ID 1 length 22 (29) eap: EAP session adding &reply:State = 0xfd960a83fd970ef3 (29) [eap] = handled (29) } # authenticate = handled (29) Using Post-Auth-Type Challenge (29) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (29) Challenge { ... } # empty sub-section is ignored (29) Sent Access-Challenge Id 0 from 172.16.5.70:1812 to 172.16.5.60:5839 length 0 (29) EAP-Message = 0x0101001604107776e7094fad17086ae85776d7939fcd (29) Message-Authenticator = 0x00000000000000000000000000000000 (29) State = 0xfd960a83fd970ef371f01376c11dd14c (29) Finished request Waking up in 2.0 seconds. (30) Received Access-Request Id 1 from 172.16.5.60:5839 to 172.16.5.70:1812 length 155 (30) User-Name = "000c295dbd97" (30) NAS-IP-Address = 127.0.0.1 (30) Calling-Station-Id = "02-00-00-00-00-01" (30) Framed-MTU = 1400 (30) NAS-Port-Type = Wireless-802.11 (30) Connect-Info = "CONNECT 11Mbps 802.11b" (30) EAP-Message = 0x02010016041080d3b41b527a924d0f16aba6c7176a83 (30) State = 0xfd960a83fd970ef371f01376c11dd14c (30) Message-Authenticator = 0x343616fdc1ed00878b6cce510ac3fc53 (30) session-state: No cached attributes (30) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default (30) authorize { (30) [preprocess] = ok (30) policy rewrite_calling_station_id { (30) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) { (30) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) -> TRUE (30) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) { (30) update request { (30) EXPAND %{toupper:%{1}-%{2}-%{3}-%{4}-%{5}-%{6}} (30) --> 02-00-00-00-00-01 (30) &Calling-Station-Id := 02-00-00-00-00-01 (30) } # update request = noop (30) [updated] = updated (30) } # if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) = updated (30) ... skipping else: Preceding "if" was taken (30) } # policy rewrite_calling_station_id = updated (30) if (!EAP-Message) { (30) if (!EAP-Message) -> FALSE (30) else { (30) eap: Peer sent EAP Response (code 2) ID 1 length 22 (30) eap: No EAP Start, assuming it's an on-going EAP conversation (30) [eap] = updated (30) } # else = updated (30) } # authorize = updated (30) Found Auth-Type = eap (30) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (30) authenticate { (30) eap: Expiring EAP session with state 0xfd960a83fd970ef3 (30) eap: Finished EAP session with state 0xfd960a83fd970ef3 (30) eap: Previous EAP request found for state 0xfd960a83fd970ef3, released from the list (30) eap: Peer sent packet with method EAP MD5 (4) (30) eap: Calling submodule eap_md5 to process data (30) eap_md5: ERROR: Cleartext-Password is required for EAP-MD5 authentication (30) eap: ERROR: Failed continuing EAP MD5 (4) session. EAP sub-module failed (30) eap: Sending EAP Failure (code 4) ID 1 length 4 (30) eap: Failed in EAP select (30) [eap] = invalid (30) } # authenticate = invalid (30) Failed to authenticate the user (30) Using Post-Auth-Type Reject (30) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (30) Post-Auth-Type REJECT { (30) attr_filter.access_reject: EXPAND %{User-Name} (30) attr_filter.access_reject: --> 000c295dbd97 (30) attr_filter.access_reject: Matched entry DEFAULT at line 11 (30) [attr_filter.access_reject] = updated (30) [eap] = noop (30) policy remove_reply_message_if_eap { (30) if (&reply:EAP-Message && &reply:Reply-Message) { (30) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE (30) else { (30) [noop] = noop (30) } # else = noop (30) } # policy remove_reply_message_if_eap = noop (30) } # Post-Auth-Type REJECT = updated (30) Delaying response for 1.000000 seconds Waking up in 0.3 seconds. Waking up in 0.6 seconds. (30) Sending delayed response (30) Sent Access-Reject Id 1 from 172.16.5.70:1812 to 172.16.5.60:5839 length 44 (30) EAP-Message = 0x04010004 (30) Message-Authenticator = 0x00000000000000000000000000000000 Waking up in 0.9 seconds. (27) Cleaning up request packet ID 0 with timestamp +527 (28) Cleaning up request packet ID 1 with timestamp +527 Waking up in 2.9 seconds. (29) Cleaning up request packet ID 0 with timestamp +530 (30) Cleaning up request packet ID 1 with timestamp +530 Ready to process requests (31) Received Access-Request Id 0 from 172.16.5.60:37179 to 172.16.5.70:1812 length 132 (31) User-Name = "9c2dcd92e0f6" (31) NAS-IP-Address = 127.0.0.1 (31) Calling-Station-Id = "02-00-00-00-00-01" (31) Framed-MTU = 1400 (31) NAS-Port-Type = Wireless-802.11 (31) Connect-Info = "CONNECT 11Mbps 802.11b" (31) EAP-Message = 0x0200001101396332646364393265306636 (31) Message-Authenticator = 0xbd55b826da1fe225f9dce91ec081ce51 (31) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default (31) authorize { (31) [preprocess] = ok (31) policy rewrite_calling_station_id { (31) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) { (31) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) -> TRUE (31) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) { (31) update request { (31) EXPAND %{toupper:%{1}-%{2}-%{3}-%{4}-%{5}-%{6}} (31) --> 02-00-00-00-00-01 (31) &Calling-Station-Id := 02-00-00-00-00-01 (31) } # update request = noop (31) [updated] = updated (31) } # if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) = updated (31) ... skipping else: Preceding "if" was taken (31) } # policy rewrite_calling_station_id = updated (31) if (!EAP-Message) { (31) if (!EAP-Message) -> FALSE (31) else { (31) eap: Peer sent EAP Response (code 2) ID 0 length 17 (31) eap: EAP-Identity reply, returning 'ok' so we can short-circuit the rest of authorize (31) [eap] = ok (31) } # else = ok (31) } # authorize = updated (31) Found Auth-Type = eap (31) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (31) authenticate { (31) eap: Peer sent packet with method EAP Identity (1) (31) eap: Calling submodule eap_md5 to process data (31) eap_md5: Issuing MD5 Challenge (31) eap: Sending EAP Request (code 1) ID 1 length 22 (31) eap: EAP session adding &reply:State = 0xd3a83cddd3a9389c (31) [eap] = handled (31) } # authenticate = handled (31) Using Post-Auth-Type Challenge (31) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (31) Challenge { ... } # empty sub-section is ignored (31) Sent Access-Challenge Id 0 from 172.16.5.70:1812 to 172.16.5.60:37179 length 0 (31) EAP-Message = 0x010100160410628fd88a46052976c4382fde09d21c33 (31) Message-Authenticator = 0x00000000000000000000000000000000 (31) State = 0xd3a83cddd3a9389c75b99e94696ad0dc (31) Finished request Waking up in 4.9 seconds. (32) Received Access-Request Id 1 from 172.16.5.60:37179 to 172.16.5.70:1812 length 155 (32) User-Name = "9c2dcd92e0f6" (32) NAS-IP-Address = 127.0.0.1 (32) Calling-Station-Id = "02-00-00-00-00-01" (32) Framed-MTU = 1400 (32) NAS-Port-Type = Wireless-802.11 (32) Connect-Info = "CONNECT 11Mbps 802.11b" (32) EAP-Message = 0x020100160410f1215b73a7b3038e9448a6c5b454838b (32) State = 0xd3a83cddd3a9389c75b99e94696ad0dc (32) Message-Authenticator = 0xc66285003b2043e850c5f3a4ff4954f6 (32) session-state: No cached attributes (32) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default (32) authorize { (32) [preprocess] = ok (32) policy rewrite_calling_station_id { (32) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) { (32) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) -> TRUE (32) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) { (32) update request { (32) EXPAND %{toupper:%{1}-%{2}-%{3}-%{4}-%{5}-%{6}} (32) --> 02-00-00-00-00-01 (32) &Calling-Station-Id := 02-00-00-00-00-01 (32) } # update request = noop (32) [updated] = updated (32) } # if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) = updated (32) ... skipping else: Preceding "if" was taken (32) } # policy rewrite_calling_station_id = updated (32) if (!EAP-Message) { (32) if (!EAP-Message) -> FALSE (32) else { (32) eap: Peer sent EAP Response (code 2) ID 1 length 22 (32) eap: No EAP Start, assuming it's an on-going EAP conversation (32) [eap] = updated (32) } # else = updated (32) } # authorize = updated (32) Found Auth-Type = eap (32) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (32) authenticate { (32) eap: Expiring EAP session with state 0xd3a83cddd3a9389c (32) eap: Finished EAP session with state 0xd3a83cddd3a9389c (32) eap: Previous EAP request found for state 0xd3a83cddd3a9389c, released from the list (32) eap: Peer sent packet with method EAP MD5 (4) (32) eap: Calling submodule eap_md5 to process data (32) eap_md5: ERROR: Cleartext-Password is required for EAP-MD5 authentication (32) eap: ERROR: Failed continuing EAP MD5 (4) session. EAP sub-module failed (32) eap: Sending EAP Failure (code 4) ID 1 length 4 (32) eap: Failed in EAP select (32) [eap] = invalid (32) } # authenticate = invalid (32) Failed to authenticate the user (32) Using Post-Auth-Type Reject (32) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (32) Post-Auth-Type REJECT { (32) attr_filter.access_reject: EXPAND %{User-Name} (32) attr_filter.access_reject: --> 9c2dcd92e0f6 (32) attr_filter.access_reject: Matched entry DEFAULT at line 11 (32) [attr_filter.access_reject] = updated (32) [eap] = noop (32) policy remove_reply_message_if_eap { (32) if (&reply:EAP-Message && &reply:Reply-Message) { (32) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE (32) else { (32) [noop] = noop (32) } # else = noop (32) } # policy remove_reply_message_if_eap = noop (32) } # Post-Auth-Type REJECT = updated (32) Delaying response for 1.000000 seconds Waking up in 0.3 seconds. Waking up in 0.6 seconds. (32) Sending delayed response (32) Sent Access-Reject Id 1 from 172.16.5.70:1812 to 172.16.5.60:37179 length 44 (32) EAP-Message = 0x04010004 (32) Message-Authenticator = 0x00000000000000000000000000000000 Waking up in 3.9 seconds. (33) Received Access-Request Id 0 from 172.16.5.60:9465 to 172.16.5.70:1812 length 132 (33) User-Name = "9c2dcd92e0f6" (33) NAS-IP-Address = 127.0.0.1 (33) Calling-Station-Id = "02-00-00-00-00-01" (33) Framed-MTU = 1400 (33) NAS-Port-Type = Wireless-802.11 (33) Connect-Info = "CONNECT 11Mbps 802.11b" (33) EAP-Message = 0x0200001101396332646364393265306636 (33) Message-Authenticator = 0x83b8c23330ee1392cad2b57683048353 (33) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default (33) authorize { (33) [preprocess] = ok (33) policy rewrite_calling_station_id { (33) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) { (33) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) -> TRUE (33) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) { (33) update request { (33) EXPAND %{toupper:%{1}-%{2}-%{3}-%{4}-%{5}-%{6}} (33) --> 02-00-00-00-00-01 (33) &Calling-Station-Id := 02-00-00-00-00-01 (33) } # update request = noop (33) [updated] = updated (33) } # if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) = updated (33) ... skipping else: Preceding "if" was taken (33) } # policy rewrite_calling_station_id = updated (33) if (!EAP-Message) { (33) if (!EAP-Message) -> FALSE (33) else { (33) eap: Peer sent EAP Response (code 2) ID 0 length 17 (33) eap: EAP-Identity reply, returning 'ok' so we can short-circuit the rest of authorize (33) [eap] = ok (33) } # else = ok (33) } # authorize = updated (33) Found Auth-Type = eap (33) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (33) authenticate { (33) eap: Peer sent packet with method EAP Identity (1) (33) eap: Calling submodule eap_md5 to process data (33) eap_md5: Issuing MD5 Challenge (33) eap: Sending EAP Request (code 1) ID 1 length 22 (33) eap: EAP session adding &reply:State = 0x05875f5105865ba4 (33) [eap] = handled (33) } # authenticate = handled (33) Using Post-Auth-Type Challenge (33) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (33) Challenge { ... } # empty sub-section is ignored (33) Sent Access-Challenge Id 0 from 172.16.5.70:1812 to 172.16.5.60:9465 length 0 (33) EAP-Message = 0x010100160410fd84f76d5fd10ffaa1ffa80d8e2661b9 (33) Message-Authenticator = 0x00000000000000000000000000000000 (33) State = 0x05875f5105865ba4bb4224892b2a246d (33) Finished request Waking up in 2.0 seconds. (34) Received Access-Request Id 1 from 172.16.5.60:9465 to 172.16.5.70:1812 length 155 (34) User-Name = "9c2dcd92e0f6" (34) NAS-IP-Address = 127.0.0.1 (34) Calling-Station-Id = "02-00-00-00-00-01" (34) Framed-MTU = 1400 (34) NAS-Port-Type = Wireless-802.11 (34) Connect-Info = "CONNECT 11Mbps 802.11b" (34) EAP-Message = 0x0201001604108423ff6c10282d557fb036f94a556aa9 (34) State = 0x05875f5105865ba4bb4224892b2a246d (34) Message-Authenticator = 0x6064d3a4f60fcb122978e2cdf2dcf72b (34) session-state: No cached attributes (34) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default (34) authorize { (34) [preprocess] = ok (34) policy rewrite_calling_station_id { (34) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) { (34) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) -> TRUE (34) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) { (34) update request { (34) EXPAND %{toupper:%{1}-%{2}-%{3}-%{4}-%{5}-%{6}} (34) --> 02-00-00-00-00-01 (34) &Calling-Station-Id := 02-00-00-00-00-01 (34) } # update request = noop (34) [updated] = updated (34) } # if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) = updated (34) ... skipping else: Preceding "if" was taken (34) } # policy rewrite_calling_station_id = updated (34) if (!EAP-Message) { (34) if (!EAP-Message) -> FALSE (34) else { (34) eap: Peer sent EAP Response (code 2) ID 1 length 22 (34) eap: No EAP Start, assuming it's an on-going EAP conversation (34) [eap] = updated (34) } # else = updated (34) } # authorize = updated (34) Found Auth-Type = eap (34) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (34) authenticate { (34) eap: Expiring EAP session with state 0x05875f5105865ba4 (34) eap: Finished EAP session with state 0x05875f5105865ba4 (34) eap: Previous EAP request found for state 0x05875f5105865ba4, released from the list (34) eap: Peer sent packet with method EAP MD5 (4) (34) eap: Calling submodule eap_md5 to process data (34) eap_md5: ERROR: Cleartext-Password is required for EAP-MD5 authentication (34) eap: ERROR: Failed continuing EAP MD5 (4) session. EAP sub-module failed (34) eap: Sending EAP Failure (code 4) ID 1 length 4 (34) eap: Failed in EAP select (34) [eap] = invalid (34) } # authenticate = invalid (34) Failed to authenticate the user (34) Using Post-Auth-Type Reject (34) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (34) Post-Auth-Type REJECT { (34) attr_filter.access_reject: EXPAND %{User-Name} (34) attr_filter.access_reject: --> 9c2dcd92e0f6 (34) attr_filter.access_reject: Matched entry DEFAULT at line 11 (34) [attr_filter.access_reject] = updated (34) [eap] = noop (34) policy remove_reply_message_if_eap { (34) if (&reply:EAP-Message && &reply:Reply-Message) { (34) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE (34) else { (34) [noop] = noop (34) } # else = noop (34) } # policy remove_reply_message_if_eap = noop (34) } # Post-Auth-Type REJECT = updated (34) Delaying response for 1.000000 seconds Waking up in 0.3 seconds. Waking up in 0.6 seconds. (34) Sending delayed response (34) Sent Access-Reject Id 1 from 172.16.5.70:1812 to 172.16.5.60:9465 length 44 (34) EAP-Message = 0x04010004 (34) Message-Authenticator = 0x00000000000000000000000000000000 Waking up in 0.9 seconds. (31) Cleaning up request packet ID 0 with timestamp +542 (32) Cleaning up request packet ID 1 with timestamp +542 Waking up in 2.9 seconds. ^[[B^[[5~(33) Cleaning up request packet ID 0 with timestamp +545 (34) Cleaning up request packet ID 1 with timestamp +545 Ready to process requests (35) Received Access-Request Id 0 from 172.16.5.60:29188 to 172.16.5.70:1812 length 132 (35) User-Name = "9c2dcd92e0f6" (35) NAS-IP-Address = 127.0.0.1 (35) Calling-Station-Id = "02-00-00-00-00-01" (35) Framed-MTU = 1400 (35) NAS-Port-Type = Wireless-802.11 (35) Connect-Info = "CONNECT 11Mbps 802.11b" (35) EAP-Message = 0x0200001101396332646364393265306636 (35) Message-Authenticator = 0xf81730885cb7cc269abb12af5686cb88 (35) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default (35) authorize { (35) [preprocess] = ok (35) policy rewrite_calling_station_id { (35) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) { (35) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) -> TRUE (35) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) { (35) update request { (35) EXPAND %{toupper:%{1}-%{2}-%{3}-%{4}-%{5}-%{6}} (35) --> 02-00-00-00-00-01 (35) &Calling-Station-Id := 02-00-00-00-00-01 (35) } # update request = noop (35) [updated] = updated (35) } # if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) = updated (35) ... skipping else: Preceding "if" was taken (35) } # policy rewrite_calling_station_id = updated (35) if (!EAP-Message) { (35) if (!EAP-Message) -> FALSE (35) else { (35) eap: Peer sent EAP Response (code 2) ID 0 length 17 (35) eap: EAP-Identity reply, returning 'ok' so we can short-circuit the rest of authorize (35) [eap] = ok (35) } # else = ok (35) } # authorize = updated (35) Found Auth-Type = eap (35) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (35) authenticate { (35) eap: Peer sent packet with method EAP Identity (1) (35) eap: Calling submodule eap_md5 to process data (35) eap_md5: Issuing MD5 Challenge (35) eap: Sending EAP Request (code 1) ID 1 length 22 (35) eap: EAP session adding &reply:State = 0xddf892c0ddf996cd (35) [eap] = handled (35) } # authenticate = handled (35) Using Post-Auth-Type Challenge (35) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (35) Challenge { ... } # empty sub-section is ignored (35) Sent Access-Challenge Id 0 from 172.16.5.70:1812 to 172.16.5.60:29188 length 0 (35) EAP-Message = 0x0101001604106d40158bd96fcf317c462ca754d8e653 (35) Message-Authenticator = 0x00000000000000000000000000000000 (35) State = 0xddf892c0ddf996cdb4fdb4678d6943b7 (35) Finished request Waking up in 4.9 seconds. (36) Received Access-Request Id 1 from 172.16.5.60:29188 to 172.16.5.70:1812 length 155 (36) User-Name = "9c2dcd92e0f6" (36) NAS-IP-Address = 127.0.0.1 (36) Calling-Station-Id = "02-00-00-00-00-01" (36) Framed-MTU = 1400 (36) NAS-Port-Type = Wireless-802.11 (36) Connect-Info = "CONNECT 11Mbps 802.11b" (36) EAP-Message = 0x020100160410840a680f0e6cc895a4509711aa76d4ea (36) State = 0xddf892c0ddf996cdb4fdb4678d6943b7 (36) Message-Authenticator = 0x9340f91ddb3d49ae1982251747f13625 (36) session-state: No cached attributes (36) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default (36) authorize { (36) [preprocess] = ok (36) policy rewrite_calling_station_id { (36) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) { (36) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) -> TRUE (36) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) { (36) update request { (36) EXPAND %{toupper:%{1}-%{2}-%{3}-%{4}-%{5}-%{6}} (36) --> 02-00-00-00-00-01 (36) &Calling-Station-Id := 02-00-00-00-00-01 (36) } # update request = noop (36) [updated] = updated (36) } # if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) = updated (36) ... skipping else: Preceding "if" was taken (36) } # policy rewrite_calling_station_id = updated (36) if (!EAP-Message) { (36) if (!EAP-Message) -> FALSE (36) else { (36) eap: Peer sent EAP Response (code 2) ID 1 length 22 (36) eap: No EAP Start, assuming it's an on-going EAP conversation (36) [eap] = updated (36) } # else = updated (36) } # authorize = updated (36) Found Auth-Type = eap (36) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (36) authenticate { (36) eap: Expiring EAP session with state 0xddf892c0ddf996cd (36) eap: Finished EAP session with state 0xddf892c0ddf996cd (36) eap: Previous EAP request found for state 0xddf892c0ddf996cd, released from the list (36) eap: Peer sent packet with method EAP MD5 (4) (36) eap: Calling submodule eap_md5 to process data (36) eap_md5: ERROR: Cleartext-Password is required for EAP-MD5 authentication (36) eap: ERROR: Failed continuing EAP MD5 (4) session. EAP sub-module failed (36) eap: Sending EAP Failure (code 4) ID 1 length 4 (36) eap: Failed in EAP select (36) [eap] = invalid (36) } # authenticate = invalid (36) Failed to authenticate the user (36) Using Post-Auth-Type Reject (36) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (36) Post-Auth-Type REJECT { (36) attr_filter.access_reject: EXPAND %{User-Name} (36) attr_filter.access_reject: --> 9c2dcd92e0f6 (36) attr_filter.access_reject: Matched entry DEFAULT at line 11 (36) [attr_filter.access_reject] = updated (36) [eap] = noop (36) policy remove_reply_message_if_eap { (36) if (&reply:EAP-Message && &reply:Reply-Message) { (36) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE (36) else { (36) [noop] = noop (36) } # else = noop (36) } # policy remove_reply_message_if_eap = noop (36) } # Post-Auth-Type REJECT = updated (36) Delaying response for 1.000000 seconds Waking up in 0.3 seconds. Waking up in 0.6 seconds. (36) Sending delayed response (36) Sent Access-Reject Id 1 from 172.16.5.70:1812 to 172.16.5.60:29188 length 44 (36) EAP-Message = 0x04010004 (36) Message-Authenticator = 0x00000000000000000000000000000000 Waking up in 3.9 seconds. (35) Cleaning up request packet ID 0 with timestamp +575 (36) Cleaning up request packet ID 1 with timestamp +576 Ready to process requests -----Ursprüngliche Nachricht----- Von: Freeradius-Users <freeradius-users-bounces+aa=eks-engel.de@lists.freeradius.org> Im Auftrag von Alan DeKok Gesendet: Dienstag, 23. Januar 2024 15:23 An: FreeRadius users mailing list <freeradius-users@lists.freeradius.org> Betreff: Re: Mac-Auth or 802.1x On Jan 23, 2024, at 8:21 AM, Alpers, Andreas <AA@eks-engel.de> wrote:
My experience with Freeradius is still in the beginning. My requirements in the first step are not very high. I want to configure Freeradius so that users can be authenticated via 802.1x or via MAC-Auth.
I followed these instructions exactly: https://atpscan.global.hornetsecurity.com/index.php?atp_str=qJdOQ6VF3BJ9AX-C...
Unfortunately, it does not work.
Read http://atpscan.global.hornetsecurity.com/index.php?atp_str=ECgH7xsGtKbkAjy74...
I have created a username and password and also entered a Mac address in the file. But neither the user nor the Mac address work. I always get a reject, although it should work according to the instructions.
I get the following answer when I run radtest:
You're trying to debug the server, but you're looking at the output of the client. Why?
Here are the individual files. I am very grateful for any help.
Read http://atpscan.global.hornetsecurity.com/index.php?atp_str=0ZOK-D1dRZpEOrnJK... This is extensively documented. When you join the list, you get a message containing that link, and asking you to read it. We don't need to see the output of radclient. We don't need to see the configuration files. The only solution is to read the debug output. What is likely going wrong is that the entry in "authorized_macs" doesn't match what the server is receiving in the User-Name attribute. If you read the debug output, you will see this clearly. Alan DeKok. - List info/subscribe/unsubscribe? See http://atpscan.global.hornetsecurity.com/index.php?atp_str=n6ZKaXECFxdj2OQcW...