Hi Alan,
What I might be missing?
given this:
WARNING: Cancelling proxy as no home pool exists
I would guess that you are missing the local pool definition in proxy.conf - which is there by default so you have butchered the config into a broken state :(
Am not. That would be an easy explanation. I'm pasting the full debug if it helps. 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/local/freeradius-3.0.17/share/freeradius/dictionary including dictionary file /usr/local/freeradius-3.0.17/share/freeradius/dictionary.dhcp including dictionary file /usr/local/freeradius-3.0.17/share/freeradius/dictionary.vqp including dictionary file /usr/local/freeradius-3.0.17/etc/raddb/dictionary including configuration file /usr/local/freeradius-3.0.17/etc/raddb/radiusd.conf including configuration file /usr/local/freeradius-3.0.17/etc/raddb/proxy.conf including configuration file /usr/local/freeradius-3.0.17/etc/raddb/clients.conf including files in directory /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/ including configuration file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/date including configuration file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/radutmp including configuration file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/files including configuration file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/sradutmp including configuration file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/expr including configuration file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/digest including configuration file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/pap including configuration file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/preprocess including configuration file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/logintime including configuration file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/unpack including configuration file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/expiration including configuration file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/always including configuration file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/linelog including configuration file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/passwd including configuration file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/realm including configuration file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/cache_eap including configuration file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/eap including configuration file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/chap including configuration file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/mschap including configuration file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/detail.log including configuration file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/sql_oracle_dscorp including configuration file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/utf8 including configuration file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/dynamic_clients including configuration file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/attr_filter including configuration file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/unix including configuration file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/echo including configuration file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/detail including configuration file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/exec including configuration file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/replicate including configuration file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/soh including files in directory /usr/local/freeradius-3.0.17/etc/raddb/policy.d/ including configuration file /usr/local/freeradius-3.0.17/etc/raddb/policy.d/moonshot-targeted-ids including configuration file /usr/local/freeradius-3.0.17/etc/raddb/policy.d/filter including configuration file /usr/local/freeradius-3.0.17/etc/raddb/policy.d/eap including configuration file /usr/local/freeradius-3.0.17/etc/raddb/policy.d/cui including configuration file /usr/local/freeradius-3.0.17/etc/raddb/policy.d/abfab-tr including configuration file /usr/local/freeradius-3.0.17/etc/raddb/policy.d/debug including configuration file /usr/local/freeradius-3.0.17/etc/raddb/policy.d/dhcp including configuration file /usr/local/freeradius-3.0.17/etc/raddb/policy.d/canonicalization including configuration file /usr/local/freeradius-3.0.17/etc/raddb/policy.d/control including configuration file /usr/local/freeradius-3.0.17/etc/raddb/policy.d/operator-name including configuration file /usr/local/freeradius-3.0.17/etc/raddb/policy.d/accounting including files in directory /usr/local/freeradius-3.0.17/etc/raddb/sites-enabled/ including configuration file /usr/local/freeradius-3.0.17/etc/raddb/sites-enabled/default including configuration file /usr/local/freeradius-3.0.17/etc/raddb/sites-enabled/inner-tunnel main { security { allow_core_dumps = no } name = "radiusd" prefix = "/usr/local/freeradius-3.0.17" localstatedir = "/usr/local/freeradius-3.0.17/var" logdir = "/usr/local/freeradius-3.0.17/var/log/radius" run_dir = "/usr/local/freeradius-3.0.17/var/run/radiusd" } main { name = "radiusd" prefix = "/usr/local/freeradius-3.0.17" localstatedir = "/usr/local/freeradius-3.0.17/var" sbindir = "/usr/local/freeradius-3.0.17/sbin" logdir = "/usr/local/freeradius-3.0.17/var/log/radius" run_dir = "/usr/local/freeradius-3.0.17/var/run/radiusd" libdir = "/usr/local/freeradius-3.0.17/lib" radacctdir = "/usr/local/freeradius-3.0.17/var/log/radius/radacct" hostname_lookups = no max_request_time = 30 cleanup_delay = 5 max_requests = 16384 pidfile = "/usr/local/freeradius-3.0.17/var/run/radiusd/radiusd.pid" checkrad = "/usr/local/freeradius-3.0.17/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 allow_vulnerable_openssl = "CVE-2016-6304" } } *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 = 8812 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 <http://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 OAW_Bilbao { ipaddr = 192.168.250.240/28 require_message_authenticator = no secret = <<< secret >>> limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } client AP_prueba_udguest_bilbao { ipaddr = 10.70.8.200 require_message_authenticator = no secret = <<< secret >>> limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } Debugger not attached # Creating Auth-Type = eap # Creating Auth-Type = PAP # Creating Auth-Type = CHAP # Creating Auth-Type = MS-CHAP radiusd: #### Instantiating modules #### modules { # Loaded module rlm_date # Loading module "date" from file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/date date { format = "%b %e %Y %H:%M:%S %Z" utc = no } # Loaded module rlm_radutmp # Loading module "radutmp" from file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/radutmp radutmp { filename = "/usr/local/freeradius-3.0.17/var/log/radius/radutmp" username = "%{User-Name}" case_sensitive = yes check_with_nas = yes permissions = 384 caller_id = yes } # Loaded module rlm_files # Loading module "files" from file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/files files { filename = "/usr/local/freeradius-3.0.17/etc/raddb/mods-config/files/authorize" acctusersfile = "/usr/local/freeradius-3.0.17/etc/raddb/mods-config/files/accounting" preproxy_usersfile = "/usr/local/freeradius-3.0.17/etc/raddb/mods-config/files/pre-proxy" } # Loading module "sradutmp" from file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/sradutmp radutmp sradutmp { filename = "/usr/local/freeradius-3.0.17/var/log/radius/sradutmp" username = "%{User-Name}" case_sensitive = yes check_with_nas = yes permissions = 420 caller_id = no } # Loaded module rlm_expr # Loading module "expr" from file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/expr expr { safe_characters = "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /äéöüàâæçèéêëîïôœùûüaÿÄÉÖÜßÀÂÆÇÈÉÊËÎÏÔŒÙÛÜŸ" } # Loaded module rlm_digest # Loading module "digest" from file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/digest # Loaded module rlm_pap # Loading module "pap" from file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/pap pap { normalise = yes } # Loaded module rlm_preprocess # Loading module "preprocess" from file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/preprocess preprocess { huntgroups = "/usr/local/freeradius-3.0.17/etc/raddb/mods-config/preprocess/huntgroups" hints = "/usr/local/freeradius-3.0.17/etc/raddb/mods-config/preprocess/hints" with_ascend_hack = no ascend_channels_per_line = 23 with_ntdomain_hack = no with_specialix_jetstream_hack = no with_cisco_vsa_hack = no with_alvarion_vsa_hack = no } # Loaded module rlm_logintime # Loading module "logintime" from file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/logintime logintime { minimum_timeout = 60 } # Loaded module rlm_unpack # Loading module "unpack" from file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/unpack # Loaded module rlm_expiration # Loading module "expiration" from file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/expiration # Loaded module rlm_always # Loading module "reject" from file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/always always reject { rcode = "reject" simulcount = 0 mpp = no } # Loading module "fail" from file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/always always fail { rcode = "fail" simulcount = 0 mpp = no } # Loading module "ok" from file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/always always ok { rcode = "ok" simulcount = 0 mpp = no } # Loading module "handled" from file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/always always handled { rcode = "handled" simulcount = 0 mpp = no } # Loading module "invalid" from file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/always always invalid { rcode = "invalid" simulcount = 0 mpp = no } # Loading module "userlock" from file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/always always userlock { rcode = "userlock" simulcount = 0 mpp = no } # Loading module "notfound" from file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/always always notfound { rcode = "notfound" simulcount = 0 mpp = no } # Loading module "noop" from file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/always always noop { rcode = "noop" simulcount = 0 mpp = no } # Loading module "updated" from file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/always always updated { rcode = "updated" simulcount = 0 mpp = no } # Loaded module rlm_linelog # Loading module "linelog" from file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/linelog linelog { filename = "/usr/local/freeradius-3.0.17/var/log/radius/linelog" escape_filenames = no syslog_severity = "info" permissions = 384 format = "This is a log message for %{User-Name}" reference = "messages.%{%{reply:Packet-Type}:-default}" } # Loading module "log_accounting" from file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/linelog linelog log_accounting { filename = "/usr/local/freeradius-3.0.17/var/log/radius/linelog-accounting" escape_filenames = no syslog_severity = "info" permissions = 384 format = "" reference = "Accounting-Request.%{%{Acct-Status-Type}:-unknown}" } # Loaded module rlm_passwd # Loading module "etc_passwd" from file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/passwd passwd etc_passwd { filename = "/etc/passwd" format = "*User-Name:Crypt-Password:" delimiter = ":" ignore_nislike = no ignore_empty = yes allow_multiple_keys = no hash_size = 100 } # Loaded module rlm_realm # Loading module "IPASS" from file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/realm realm IPASS { format = "prefix" delimiter = "/" ignore_default = no ignore_null = no } # Loading module "suffix" from file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/realm realm suffix { format = "suffix" delimiter = "@" ignore_default = no ignore_null = no } # Loading module "realmpercent" from file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/realm realm realmpercent { format = "suffix" delimiter = "%" ignore_default = no ignore_null = no } # Loading module "ntdomain" from file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/realm realm ntdomain { format = "prefix" delimiter = "\\" ignore_default = no ignore_null = no } # Loaded module rlm_cache # Loading module "cache_eap" from file /usr/local/freeradius-3.0.17/etc/raddb/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_eap # Loading module "eap" from file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/eap eap { default_eap_type = "ttls" timer_expire = 60 ignore_unknown_eap_types = no cisco_accounting_username_bug = no max_sessions = 16384 } # Loaded module rlm_chap # Loading module "chap" from file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/chap # Loaded module rlm_mschap # Loading module "mschap" from file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/mschap mschap { use_mppe = yes require_encryption = no require_strong = no with_ntdomain_hack = yes passchange { } allow_retry = yes winbind_retry_with_normalised_username = no } # Loaded module rlm_detail # Loading module "auth_log" from file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/detail.log detail auth_log { filename = "/usr/local/freeradius-3.0.17/var/log/radius/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 /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/detail.log detail reply_log { filename = "/usr/local/freeradius-3.0.17/var/log/radius/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 /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/detail.log detail pre_proxy_log { filename = "/usr/local/freeradius-3.0.17/var/log/radius/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 /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/detail.log detail post_proxy_log { filename = "/usr/local/freeradius-3.0.17/var/log/radius/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_sql # Loading module "sql_oracle_dscorp" from file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/sql_oracle_dscorp sql sql_oracle_dscorp { driver = "rlm_sql_oracle" server = "" port = 0 login = "SWI_EX" password = <<< secret >>> radius_db = "(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=dscorp.deusto.es )(PORT=1525))(CONNECT_DATA=(SID=dscorp)))" read_groups = yes read_profiles = yes read_clients = no delete_stale_sessions = yes sql_user_name = "" default_user_profile = "" client_query = "SELECT id,nasname,shortname,type,secret FROM nas" safe_characters = "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /" accounting { reference = ".query" type { accounting-on { } accounting-off { } start { } interim-update { } stop { } } } post-auth { reference = ".query" } } rlm_sql (sql_oracle_dscorp): Driver rlm_sql_oracle (module rlm_sql_oracle) loaded and linked # Loaded module rlm_utf8 # Loading module "utf8" from file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/utf8 # Loaded module rlm_dynamic_clients # Loading module "dynamic_clients" from file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/dynamic_clients # Loaded module rlm_attr_filter # Loading module "attr_filter.post-proxy" from file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.post-proxy { filename = "/usr/local/freeradius-3.0.17/etc/raddb/mods-config/attr_filter/post-proxy" key = "%{Realm}" relaxed = no } # Loading module "attr_filter.pre-proxy" from file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.pre-proxy { filename = "/usr/local/freeradius-3.0.17/etc/raddb/mods-config/attr_filter/pre-proxy" key = "%{Realm}" relaxed = no } # Loading module "attr_filter.access_reject" from file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.access_reject { filename = "/usr/local/freeradius-3.0.17/etc/raddb/mods-config/attr_filter/access_reject" key = "%{User-Name}" relaxed = no } # Loading module "attr_filter.access_challenge" from file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.access_challenge { filename = "/usr/local/freeradius-3.0.17/etc/raddb/mods-config/attr_filter/access_challenge" key = "%{User-Name}" relaxed = no } # Loading module "attr_filter.accounting_response" from file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.accounting_response { filename = "/usr/local/freeradius-3.0.17/etc/raddb/mods-config/attr_filter/accounting_response" key = "%{User-Name}" relaxed = no } # Loaded module rlm_unix # Loading module "unix" from file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/unix unix { radwtmp = "/usr/local/freeradius-3.0.17/var/log/radius/radwtmp" } Creating attribute Unix-Group # Loaded module rlm_exec # Loading module "echo" from file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/echo exec echo { wait = yes program = "/bin/echo %{User-Name}" input_pairs = "request" output_pairs = "reply" shell_escape = yes } # Loading module "detail" from file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/detail detail { filename = "/usr/local/freeradius-3.0.17/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d" header = "%t" permissions = 384 locking = no escape_filenames = no log_packet_header = no } # Loading module "exec" from file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/exec exec { wait = no input_pairs = "request" shell_escape = yes timeout = 10 } # Loaded module rlm_replicate # Loading module "replicate" from file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/replicate # Loaded module rlm_soh # Loading module "soh" from file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/soh soh { dhcp = yes } instantiate { } # Instantiating module "files" from file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/files reading pairlist file /usr/local/freeradius-3.0.17/etc/raddb/mods-config/files/authorize reading pairlist file /usr/local/freeradius-3.0.17/etc/raddb/mods-config/files/accounting reading pairlist file /usr/local/freeradius-3.0.17/etc/raddb/mods-config/files/pre-proxy # Instantiating module "pap" from file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/pap # Instantiating module "preprocess" from file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/preprocess reading pairlist file /usr/local/freeradius-3.0.17/etc/raddb/mods-config/preprocess/huntgroups reading pairlist file /usr/local/freeradius-3.0.17/etc/raddb/mods-config/preprocess/hints # Instantiating module "logintime" from file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/logintime # Instantiating module "expiration" from file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/expiration # Instantiating module "reject" from file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/always # Instantiating module "fail" from file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/always # Instantiating module "ok" from file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/always # Instantiating module "handled" from file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/always # Instantiating module "invalid" from file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/always # Instantiating module "userlock" from file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/always # Instantiating module "notfound" from file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/always # Instantiating module "noop" from file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/always # Instantiating module "updated" from file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/always # Instantiating module "linelog" from file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/linelog # Instantiating module "log_accounting" from file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/linelog # Instantiating module "etc_passwd" from file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/passwd rlm_passwd: nfields: 3 keyfield 0(User-Name) listable: no # Instantiating module "IPASS" from file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/realm # Instantiating module "suffix" from file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/realm # Instantiating module "realmpercent" from file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/realm # Instantiating module "ntdomain" from file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/realm # Instantiating module "cache_eap" from file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/cache_eap rlm_cache (cache_eap): Driver rlm_cache_rbtree (module rlm_cache_rbtree) loaded and linked # Instantiating module "eap" from file /usr/local/freeradius-3.0.17/etc/raddb/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 = "/usr/local/freeradius-3.0.17/etc/raddb/certs" pem_file_type = yes private_key_file = "/usr/local/freeradius-3.0.17/etc/raddb/certs/deusto.key" certificate_file = "/usr/local/freeradius-3.0.17/etc/raddb/certs/deusto.pem" dh_file = "/usr/local/freeradius-3.0.17/etc/raddb/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 = "pap" 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 = "gtc" 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 /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/mschap rlm_mschap (mschap): using internal authentication # Instantiating module "auth_log" from file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/detail.log rlm_detail (auth_log): 'User-Password' suppressed, will not appear in detail output # Instantiating module "reply_log" from file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/detail.log # Instantiating module "pre_proxy_log" from file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/detail.log # Instantiating module "post_proxy_log" from file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/detail.log # Instantiating module "sql_oracle_dscorp" from file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/sql_oracle_dscorp rlm_sql (sql_oracle_dscorp): Attempting to connect to database "(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=dscorp.deusto.es )(PORT=1525))(CONNECT_DATA=(SID=dscorp)))" rlm_sql (sql_oracle_dscorp): Initialising connection pool pool { start = 5 min = 3 max = 32 spare = 10 uses = 0 lifetime = 0 cleanup_interval = 30 idle_timeout = 60 retry_delay = 30 spread = no } rlm_sql (sql_oracle_dscorp): Opening additional connection (0), 1 of 32 pending slots used rlm_sql (sql_oracle_dscorp): Opening additional connection (1), 1 of 31 pending slots used rlm_sql (sql_oracle_dscorp): Opening additional connection (2), 1 of 30 pending slots used rlm_sql (sql_oracle_dscorp): Opening additional connection (3), 1 of 29 pending slots used rlm_sql (sql_oracle_dscorp): Opening additional connection (4), 1 of 28 pending slots used # Instantiating module "attr_filter.post-proxy" from file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/attr_filter reading pairlist file /usr/local/freeradius-3.0.17/etc/raddb/mods-config/attr_filter/post-proxy # Instantiating module "attr_filter.pre-proxy" from file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/attr_filter reading pairlist file /usr/local/freeradius-3.0.17/etc/raddb/mods-config/attr_filter/pre-proxy # Instantiating module "attr_filter.access_reject" from file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/attr_filter reading pairlist file /usr/local/freeradius-3.0.17/etc/raddb/mods-config/attr_filter/access_reject [/usr/local/freeradius-3.0.17/etc/raddb/mods-config/attr_filter/access_reject]:11 Check item "FreeRADIUS-Response-Delay" found in filter list for realm "DEFAULT". [/usr/local/freeradius-3.0.17/etc/raddb/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 /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/attr_filter reading pairlist file /usr/local/freeradius-3.0.17/etc/raddb/mods-config/attr_filter/access_challenge # Instantiating module "attr_filter.accounting_response" from file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/attr_filter reading pairlist file /usr/local/freeradius-3.0.17/etc/raddb/mods-config/attr_filter/accounting_response # Instantiating module "detail" from file /usr/local/freeradius-3.0.17/etc/raddb/mods-enabled/detail } # modules radiusd: #### Loading Virtual Servers #### server { # from file /usr/local/freeradius-3.0.17/etc/raddb/radiusd.conf } # server server default { # from file /usr/local/freeradius-3.0.17/etc/raddb/sites-enabled/default # Loading authenticate {...} # Loading authorize {...} # Loading preacct {...} # Loading accounting {...} # Loading post-proxy {...} # Loading post-auth {...} } # server default server inner-tunnel { # from file /usr/local/freeradius-3.0.17/etc/raddb/sites-enabled/inner-tunnel # Loading authenticate {...} # Loading authorize {...} # Loading session {...} # Loading post-proxy {...} # Loading post-auth {...} # Skipping contents of 'if' as it is always 'false' -- /usr/local/freeradius-3.0.17/etc/raddb/sites-enabled/inner-tunnel:324 } # server inner-tunnel radiusd: #### Opening IP addresses and Ports #### listen { type = "auth" ipaddr = * port = 8812 limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } listen { type = "acct" ipaddr = * port = 8813 limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } listen { type = "auth" ipaddr = 127.0.0.1 port = 18120 } Listening on auth address * port 8812 bound to server default Listening on acct address * port 8813 bound to server default Listening on auth address 127.0.0.1 port 18120 bound to server inner-tunnel Listening on proxy address * port 58313 Ready to process requests (0) Received Access-Request Id 142 from 192.168.250.242:48808 to 172.16.250.2:8812 length 248 (0) NAS-IP-Address = 192.168.250.250 (0) NAS-Port = 0 (0) NAS-Port-Type = Wireless-802.11 (0) User-Name = "94-39-E5-74-D3-8B" (0) User-Password = "94-39-E5-74-D3-8B" (0) Service-Type = Call-Check (0) Calling-Station-Id = "9439E574D38B" (0) Called-Station-Id = "001A1E019AB0" (0) Aruba-Essid-Name = "prueba_udguest_802.1x_bi" (0) Aruba-Location-Id = "LIT.0E.SERVICIO.INFORMATICO" (0) Aruba-AP-Group = "LIT_P0" (0) NAS-Identifier = "OAW-6000-DEUSTO-MASTER" (0) Message-Authenticator = 0xf882a59ddd133d77dca1af01beba709d (0) # Executing section authorize from file /usr/local/freeradius-3.0.17/etc/raddb/sites-enabled/default (0) authorize { (0) policy rewrite_calling_station_id { (0) 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)) { (0) 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 (0) 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)) { (0) update request { (0) EXPAND %{toupper:%{1}-%{2}-%{3}-%{4}-%{5}-%{6}} (0) --> 94-39-E5-74-D3-8B (0) &Calling-Station-Id := 94-39-E5-74-D3-8B (0) } # update request = noop (0) [updated] = updated (0) } # 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 (0) ... skipping else: Preceding "if" was taken (0) } # policy rewrite_calling_station_id = updated (0) policy filter_username { (0) if (&User-Name) { (0) if (&User-Name) -> TRUE (0) if (&User-Name) { (0) if (&User-Name =~ / /) { (0) if (&User-Name =~ / /) -> FALSE (0) if (&User-Name =~ /@[^@]*@/ ) { (0) if (&User-Name =~ /@[^@]*@/ ) -> FALSE (0) if (&User-Name =~ /\.\./ ) { (0) if (&User-Name =~ /\.\./ ) -> FALSE (0) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) { (0) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE (0) if (&User-Name =~ /\.$/) { (0) if (&User-Name =~ /\.$/) -> FALSE (0) if (&User-Name =~ /@\./) { (0) if (&User-Name =~ /@\./) -> FALSE (0) } # if (&User-Name) = updated (0) } # policy filter_username = updated (0) [preprocess] = ok (0) auth_log: EXPAND /usr/local/freeradius-3.0.17/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d (0) auth_log: --> /usr/local/freeradius-3.0.17/var/log/radius/radacct/ 192.168.250.242/auth-detail-20190718 (0) auth_log: /usr/local/freeradius-3.0.17/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d expands to /usr/local/freeradius-3.0.17/var/log/radius/radacct/ 192.168.250.242/auth-detail-20190718 (0) auth_log: EXPAND %t (0) auth_log: --> Thu Jul 18 11:41:50 2019 (0) [auth_log] = ok (0) [chap] = noop (0) eap: No EAP-Message, not doing EAP (0) [eap] = noop (0) update control { rlm_sql (sql_oracle_dscorp): Reserved connection (0) (0) Executing select query: SELECT 1 FROM swi_wi.wifi_user_device WHERE mac = '94-39-E5-74-D3-8B' AND id_wifi_user_activation IN (SELECT id_wifi_user_activation FROM swi_wi.wifi_user_activation WHERE SYSDATE < end AND id_wifi_status = 2 AND agreed_to_terms = 1) (0) SQL query returned no results rlm_sql (sql_oracle_dscorp): Released connection (0) Need 5 more connections to reach 10 spares rlm_sql (sql_oracle_dscorp): Opening additional connection (5), 1 of 27 pending slots used (0) EXPAND %{sql_oracle_dscorp:SELECT 1 FROM swi_wi.wifi_user_device WHERE mac = '%{Calling-Station-Id}' AND id_wifi_user_activation IN (SELECT id_wifi_user_activation FROM swi_wi.wifi_user_activation WHERE SYSDATE < end AND id_wifi_status = 2 AND agreed_to_terms = 1)} (0) --> (0) Tmp-Integer-0 := 0 (0) } # update control = noop (0) if (&control:Tmp-Integer-0 == 1) { (0) if (&control:Tmp-Integer-0 == 1) -> FALSE (0) else { (0) policy accept { (0) update control { (0) &Response-Packet-Type = Access-Accept (0) } # update control = noop (0) [handled] = handled (0) } # policy accept = handled (0) } # else = handled (0) } # authorize = handled (0) # Executing section post-auth from file /usr/local/freeradius-3.0.17/etc/raddb/sites-enabled/default (0) post-auth { (0) update { (0) No attributes updated (0) } # update = noop (0) [exec] = noop (0) policy remove_reply_message_if_eap { (0) if (&reply:EAP-Message && &reply:Reply-Message) { (0) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE (0) else { (0) [noop] = noop (0) } # else = noop (0) } # policy remove_reply_message_if_eap = noop (0) } # post-auth = noop (0) Sent Access-Accept Id 142 from 172.16.250.2:8812 to 192.168.250.242:48808 length 0 (0) Finished request Waking up in 4.9 seconds. (0) Cleaning up request packet ID 142 with timestamp +22 Ready to process requests (1) Received Access-Request Id 143 from 192.168.250.242:48808 to 172.16.250.2:8812 length 228 (1) User-Name = "anonymous" (1) NAS-IP-Address = 192.168.250.250 (1) NAS-Port = 0 (1) NAS-Identifier = "OAW-6000-DEUSTO-MASTER" (1) NAS-Port-Type = Wireless-802.11 (1) Calling-Station-Id = "9439E574D38B" (1) Called-Station-Id = "001A1E019AB0" (1) Service-Type = Framed-User (1) Framed-MTU = 1100 (1) EAP-Message = 0x0201000e01616e6f6e796d6f7573 (1) Aruba-Essid-Name = "prueba_udguest_802.1x_bi" (1) Aruba-Location-Id = "LIT.0E.SERVICIO.INFORMATICO" (1) Aruba-AP-Group = "LIT_P0" (1) Message-Authenticator = 0x1d3a176f2eabfd02b0139312a465f8bd (1) # Executing section authorize from file /usr/local/freeradius-3.0.17/etc/raddb/sites-enabled/default (1) authorize { (1) policy rewrite_calling_station_id { (1) 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)) { (1) 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 (1) 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)) { (1) update request { (1) EXPAND %{toupper:%{1}-%{2}-%{3}-%{4}-%{5}-%{6}} (1) --> 94-39-E5-74-D3-8B (1) &Calling-Station-Id := 94-39-E5-74-D3-8B (1) } # update request = noop (1) [updated] = updated (1) } # 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 (1) ... skipping else: Preceding "if" was taken (1) } # policy rewrite_calling_station_id = updated (1) policy filter_username { (1) if (&User-Name) { (1) if (&User-Name) -> TRUE (1) if (&User-Name) { (1) if (&User-Name =~ / /) { (1) if (&User-Name =~ / /) -> FALSE (1) if (&User-Name =~ /@[^@]*@/ ) { (1) if (&User-Name =~ /@[^@]*@/ ) -> FALSE (1) if (&User-Name =~ /\.\./ ) { (1) if (&User-Name =~ /\.\./ ) -> FALSE (1) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) { (1) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE (1) if (&User-Name =~ /\.$/) { (1) if (&User-Name =~ /\.$/) -> FALSE (1) if (&User-Name =~ /@\./) { (1) if (&User-Name =~ /@\./) -> FALSE (1) } # if (&User-Name) = updated (1) } # policy filter_username = updated (1) [preprocess] = ok (1) auth_log: EXPAND /usr/local/freeradius-3.0.17/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d (1) auth_log: --> /usr/local/freeradius-3.0.17/var/log/radius/radacct/ 192.168.250.242/auth-detail-20190718 (1) auth_log: /usr/local/freeradius-3.0.17/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d expands to /usr/local/freeradius-3.0.17/var/log/radius/radacct/ 192.168.250.242/auth-detail-20190718 (1) auth_log: EXPAND %t (1) auth_log: --> Thu Jul 18 11:42:02 2019 (1) [auth_log] = ok (1) [chap] = noop (1) eap: Peer sent EAP Response (code 2) ID 1 length 14 (1) eap: EAP-Identity reply, returning 'ok' so we can short-circuit the rest of authorize (1) [eap] = ok (1) } # authorize = ok (1) Found Auth-Type = eap (1) # Executing group from file /usr/local/freeradius-3.0.17/etc/raddb/sites-enabled/default (1) authenticate { (1) eap: Peer sent packet with method EAP Identity (1) (1) eap: Calling submodule eap_ttls to process data (1) eap_ttls: Initiating new EAP-TLS session (1) eap_ttls: [eaptls start] = request (1) eap: Sending EAP Request (code 1) ID 2 length 6 (1) eap: EAP session adding &reply:State = 0xf823a211f821b7d6 (1) [eap] = handled (1) } # authenticate = handled (1) Using Post-Auth-Type Challenge (1) # Executing group from file /usr/local/freeradius-3.0.17/etc/raddb/sites-enabled/default (1) Challenge { ... } # empty sub-section is ignored (1) Sent Access-Challenge Id 143 from 172.16.250.2:8812 to 192.168.250.242:48808 length 0 (1) EAP-Message = 0x010200061520 (1) Message-Authenticator = 0x00000000000000000000000000000000 (1) State = 0xf823a211f821b7d6b715aa37f0c39c64 (1) Finished request Waking up in 4.9 seconds. (2) Received Access-Request Id 144 from 192.168.250.242:48808 to 172.16.250.2:8812 length 389 (2) User-Name = "anonymous" (2) NAS-IP-Address = 192.168.250.250 (2) NAS-Port = 0 (2) NAS-Identifier = "OAW-6000-DEUSTO-MASTER" (2) NAS-Port-Type = Wireless-802.11 (2) Calling-Station-Id = "9439E574D38B" (2) Called-Station-Id = "001A1E019AB0" (2) Service-Type = Framed-User (2) Framed-MTU = 1100 (2) EAP-Message = 0x0202009d158000000093160303008e0100008a03035d303ee92b55b91cc302193071b86a5cce904ab90b5ce5a380d57f217bf4926900002ac02cc02bc030c02f009f009ec024c023c028c027c00ac009c014c013009d009c003d003c0035002f000a01000037000a00080006001d00170018000b000201 (2) State = 0xf823a211f821b7d6b715aa37f0c39c64 (2) Aruba-Essid-Name = "prueba_udguest_802.1x_bi" (2) Aruba-Location-Id = "LIT.0E.SERVICIO.INFORMATICO" (2) Aruba-AP-Group = "LIT_P0" (2) Message-Authenticator = 0x27aeeb020f616081e0e32930f4ec89cb (2) session-state: No cached attributes (2) # Executing section authorize from file /usr/local/freeradius-3.0.17/etc/raddb/sites-enabled/default (2) authorize { (2) policy rewrite_calling_station_id { (2) 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)) { (2) 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 (2) 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)) { (2) update request { (2) EXPAND %{toupper:%{1}-%{2}-%{3}-%{4}-%{5}-%{6}} (2) --> 94-39-E5-74-D3-8B (2) &Calling-Station-Id := 94-39-E5-74-D3-8B (2) } # update request = noop (2) [updated] = updated (2) } # 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 (2) ... skipping else: Preceding "if" was taken (2) } # policy rewrite_calling_station_id = updated (2) policy filter_username { (2) if (&User-Name) { (2) if (&User-Name) -> TRUE (2) if (&User-Name) { (2) if (&User-Name =~ / /) { (2) if (&User-Name =~ / /) -> FALSE (2) if (&User-Name =~ /@[^@]*@/ ) { (2) if (&User-Name =~ /@[^@]*@/ ) -> FALSE (2) if (&User-Name =~ /\.\./ ) { (2) if (&User-Name =~ /\.\./ ) -> FALSE (2) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) { (2) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE (2) if (&User-Name =~ /\.$/) { (2) if (&User-Name =~ /\.$/) -> FALSE (2) if (&User-Name =~ /@\./) { (2) if (&User-Name =~ /@\./) -> FALSE (2) } # if (&User-Name) = updated (2) } # policy filter_username = updated (2) [preprocess] = ok (2) auth_log: EXPAND /usr/local/freeradius-3.0.17/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d (2) auth_log: --> /usr/local/freeradius-3.0.17/var/log/radius/radacct/ 192.168.250.242/auth-detail-20190718 (2) auth_log: /usr/local/freeradius-3.0.17/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d expands to /usr/local/freeradius-3.0.17/var/log/radius/radacct/ 192.168.250.242/auth-detail-20190718 (2) auth_log: EXPAND %t (2) auth_log: --> Thu Jul 18 11:42:03 2019 (2) [auth_log] = ok (2) [chap] = noop (2) eap: Peer sent EAP Response (code 2) ID 2 length 157 (2) eap: Continuing tunnel setup (2) [eap] = ok (2) } # authorize = ok (2) Found Auth-Type = eap (2) # Executing group from file /usr/local/freeradius-3.0.17/etc/raddb/sites-enabled/default (2) authenticate { (2) eap: Expiring EAP session with state 0xf823a211f821b7d6 (2) eap: Finished EAP session with state 0xf823a211f821b7d6 (2) eap: Previous EAP request found for state 0xf823a211f821b7d6, released from the list (2) eap: Peer sent packet with method EAP TTLS (21) (2) eap: Calling submodule eap_ttls to process data (2) eap_ttls: Authenticate (2) eap_ttls: Continuing EAP-TLS (2) eap_ttls: Peer indicated complete TLS record size will be 147 bytes (2) eap_ttls: Got complete TLS record (147 bytes) (2) eap_ttls: [eaptls verify] = length included (2) eap_ttls: (other): before/accept initialization (2) eap_ttls: TLS_accept: before/accept initialization (2) eap_ttls: <<< recv TLS 1.2 [length 008e] (2) eap_ttls: TLS_accept: unknown state (2) eap_ttls: >>> send TLS 1.2 [length 0039] (2) eap_ttls: TLS_accept: unknown state (2) eap_ttls: >>> send TLS 1.2 [length 06d0] (2) eap_ttls: TLS_accept: unknown state (2) eap_ttls: >>> send TLS 1.2 [length 014d] (2) eap_ttls: TLS_accept: unknown state (2) eap_ttls: >>> send TLS 1.2 [length 0004] (2) eap_ttls: TLS_accept: unknown state (2) eap_ttls: TLS_accept: unknown state (2) eap_ttls: TLS_accept: unknown state (2) eap_ttls: TLS_accept: Need to read more data: unknown state (2) eap_ttls: TLS_accept: Need to read more data: unknown state (2) eap_ttls: In SSL Handshake Phase (2) eap_ttls: In SSL Accept mode (2) eap_ttls: [eaptls process] = handled (2) eap: Sending EAP Request (code 1) ID 3 length 1004 (2) eap: EAP session adding &reply:State = 0xf823a211f920b7d6 (2) [eap] = handled (2) } # authenticate = handled (2) Using Post-Auth-Type Challenge (2) # Executing group from file /usr/local/freeradius-3.0.17/etc/raddb/sites-enabled/default (2) Challenge { ... } # empty sub-section is ignored (2) Sent Access-Challenge Id 144 from 172.16.250.2:8812 to 192.168.250.242:48808 length 0 (2) EAP-Message = 0x010303ec15c00000086e1603030039020000350303b17955c9da1227276cba97bb21e6a5996c5b74dba82e109098ae06682b35b41800c03000000dff01000100000b00040300010216030306d00b0006cc0006c90006c6308206c2308205aaa00302010202100b93dccf08dedc2d387fc05fb07599e530 (2) Message-Authenticator = 0x00000000000000000000000000000000 (2) State = 0xf823a211f920b7d6b715aa37f0c39c64 (2) Finished request Waking up in 4.9 seconds. (3) Received Access-Request Id 145 from 192.168.250.242:48808 to 172.16.250.2:8812 length 238 (3) User-Name = "anonymous" (3) NAS-IP-Address = 192.168.250.250 (3) NAS-Port = 0 (3) NAS-Identifier = "OAW-6000-DEUSTO-MASTER" (3) NAS-Port-Type = Wireless-802.11 (3) Calling-Station-Id = "9439E574D38B" (3) Called-Station-Id = "001A1E019AB0" (3) Service-Type = Framed-User (3) Framed-MTU = 1100 (3) EAP-Message = 0x020300061500 (3) State = 0xf823a211f920b7d6b715aa37f0c39c64 (3) Aruba-Essid-Name = "prueba_udguest_802.1x_bi" (3) Aruba-Location-Id = "LIT.0E.SERVICIO.INFORMATICO" (3) Aruba-AP-Group = "LIT_P0" (3) Message-Authenticator = 0x23015bf87ab611ef44ecd204a4b1900d (3) session-state: No cached attributes (3) # Executing section authorize from file /usr/local/freeradius-3.0.17/etc/raddb/sites-enabled/default (3) authorize { (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) --> 94-39-E5-74-D3-8B (3) &Calling-Station-Id := 94-39-E5-74-D3-8B (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) policy filter_username { (3) if (&User-Name) { (3) if (&User-Name) -> TRUE (3) if (&User-Name) { (3) if (&User-Name =~ / /) { (3) if (&User-Name =~ / /) -> FALSE (3) if (&User-Name =~ /@[^@]*@/ ) { (3) if (&User-Name =~ /@[^@]*@/ ) -> FALSE (3) if (&User-Name =~ /\.\./ ) { (3) if (&User-Name =~ /\.\./ ) -> FALSE (3) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) { (3) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE (3) if (&User-Name =~ /\.$/) { (3) if (&User-Name =~ /\.$/) -> FALSE (3) if (&User-Name =~ /@\./) { (3) if (&User-Name =~ /@\./) -> FALSE (3) } # if (&User-Name) = updated (3) } # policy filter_username = updated (3) [preprocess] = ok (3) auth_log: EXPAND /usr/local/freeradius-3.0.17/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d (3) auth_log: --> /usr/local/freeradius-3.0.17/var/log/radius/radacct/ 192.168.250.242/auth-detail-20190718 (3) auth_log: /usr/local/freeradius-3.0.17/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d expands to /usr/local/freeradius-3.0.17/var/log/radius/radacct/ 192.168.250.242/auth-detail-20190718 (3) auth_log: EXPAND %t (3) auth_log: --> Thu Jul 18 11:42:03 2019 (3) [auth_log] = ok (3) [chap] = noop (3) eap: Peer sent EAP Response (code 2) ID 3 length 6 (3) eap: Continuing tunnel setup (3) [eap] = ok (3) } # authorize = ok (3) Found Auth-Type = eap (3) # Executing group from file /usr/local/freeradius-3.0.17/etc/raddb/sites-enabled/default (3) authenticate { (3) eap: Expiring EAP session with state 0xf823a211f920b7d6 (3) eap: Finished EAP session with state 0xf823a211f920b7d6 (3) eap: Previous EAP request found for state 0xf823a211f920b7d6, released from the list (3) eap: Peer sent packet with method EAP TTLS (21) (3) eap: Calling submodule eap_ttls to process data (3) eap_ttls: Authenticate (3) eap_ttls: Continuing EAP-TLS (3) eap_ttls: Peer ACKed our handshake fragment (3) eap_ttls: [eaptls verify] = request (3) eap_ttls: [eaptls process] = handled (3) eap: Sending EAP Request (code 1) ID 4 length 1004 (3) eap: EAP session adding &reply:State = 0xf823a211fa27b7d6 (3) [eap] = handled (3) } # authenticate = handled (3) Using Post-Auth-Type Challenge (3) # Executing group from file /usr/local/freeradius-3.0.17/etc/raddb/sites-enabled/default (3) Challenge { ... } # empty sub-section is ignored (3) Sent Access-Challenge Id 145 from 172.16.250.2:8812 to 192.168.250.242:48808 length 0 (3) EAP-Message = 0x010403ec15c00000086e7777772e64696769636572742e636f6d2f4350533008060667810c010202306e06082b0601050507010104623060302406082b060105050730018618687474703a2f2f6f6373702e64696769636572742e636f6d303806082b06010505073002862c687474703a2f2f63616365 (3) Message-Authenticator = 0x00000000000000000000000000000000 (3) State = 0xf823a211fa27b7d6b715aa37f0c39c64 (3) Finished request Waking up in 4.9 seconds. (4) Received Access-Request Id 146 from 192.168.250.242:48808 to 172.16.250.2:8812 length 238 (4) User-Name = "anonymous" (4) NAS-IP-Address = 192.168.250.250 (4) NAS-Port = 0 (4) NAS-Identifier = "OAW-6000-DEUSTO-MASTER" (4) NAS-Port-Type = Wireless-802.11 (4) Calling-Station-Id = "9439E574D38B" (4) Called-Station-Id = "001A1E019AB0" (4) Service-Type = Framed-User (4) Framed-MTU = 1100 (4) EAP-Message = 0x020400061500 (4) State = 0xf823a211fa27b7d6b715aa37f0c39c64 (4) Aruba-Essid-Name = "prueba_udguest_802.1x_bi" (4) Aruba-Location-Id = "LIT.0E.SERVICIO.INFORMATICO" (4) Aruba-AP-Group = "LIT_P0" (4) Message-Authenticator = 0xb1627ec282ac83e0d6b1b109d465c0fc (4) session-state: No cached attributes (4) # Executing section authorize from file /usr/local/freeradius-3.0.17/etc/raddb/sites-enabled/default (4) authorize { (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) --> 94-39-E5-74-D3-8B (4) &Calling-Station-Id := 94-39-E5-74-D3-8B (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) policy filter_username { (4) if (&User-Name) { (4) if (&User-Name) -> TRUE (4) if (&User-Name) { (4) if (&User-Name =~ / /) { (4) if (&User-Name =~ / /) -> FALSE (4) if (&User-Name =~ /@[^@]*@/ ) { (4) if (&User-Name =~ /@[^@]*@/ ) -> FALSE (4) if (&User-Name =~ /\.\./ ) { (4) if (&User-Name =~ /\.\./ ) -> FALSE (4) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) { (4) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE (4) if (&User-Name =~ /\.$/) { (4) if (&User-Name =~ /\.$/) -> FALSE (4) if (&User-Name =~ /@\./) { (4) if (&User-Name =~ /@\./) -> FALSE (4) } # if (&User-Name) = updated (4) } # policy filter_username = updated (4) [preprocess] = ok (4) auth_log: EXPAND /usr/local/freeradius-3.0.17/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d (4) auth_log: --> /usr/local/freeradius-3.0.17/var/log/radius/radacct/ 192.168.250.242/auth-detail-20190718 (4) auth_log: /usr/local/freeradius-3.0.17/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d expands to /usr/local/freeradius-3.0.17/var/log/radius/radacct/ 192.168.250.242/auth-detail-20190718 (4) auth_log: EXPAND %t (4) auth_log: --> Thu Jul 18 11:42:03 2019 (4) [auth_log] = ok (4) [chap] = noop (4) eap: Peer sent EAP Response (code 2) ID 4 length 6 (4) eap: Continuing tunnel setup (4) [eap] = ok (4) } # authorize = ok (4) Found Auth-Type = eap (4) # Executing group from file /usr/local/freeradius-3.0.17/etc/raddb/sites-enabled/default (4) authenticate { (4) eap: Expiring EAP session with state 0xf823a211fa27b7d6 (4) eap: Finished EAP session with state 0xf823a211fa27b7d6 (4) eap: Previous EAP request found for state 0xf823a211fa27b7d6, released from the list (4) eap: Peer sent packet with method EAP TTLS (21) (4) eap: Calling submodule eap_ttls to process data (4) eap_ttls: Authenticate (4) eap_ttls: Continuing EAP-TLS (4) eap_ttls: Peer ACKed our handshake fragment (4) eap_ttls: [eaptls verify] = request (4) eap_ttls: [eaptls process] = handled (4) eap: Sending EAP Request (code 1) ID 5 length 180 (4) eap: EAP session adding &reply:State = 0xf823a211fb26b7d6 (4) [eap] = handled (4) } # authenticate = handled (4) Using Post-Auth-Type Challenge (4) # Executing group from file /usr/local/freeradius-3.0.17/etc/raddb/sites-enabled/default (4) Challenge { ... } # empty sub-section is ignored (4) Sent Access-Challenge Id 146 from 172.16.250.2:8812 to 192.168.250.242:48808 length 0 (4) EAP-Message = 0x010500b415800000086e94a0d2ae6106197109a33a7e8fc81ac0772e5228c8f68ea04cfc7542193c22d222555a283032126f531035a43f28264380937a5597fe55639df23bc57cc2e075c870dba02dfb6b66748a38745af22cc6f67e8aa54f95c1ad4090dcc54ef17c8b88e4abb4af309e7d226f4089d4 (4) Message-Authenticator = 0x00000000000000000000000000000000 (4) State = 0xf823a211fb26b7d6b715aa37f0c39c64 (4) Finished request Waking up in 4.8 seconds. (5) Received Access-Request Id 147 from 192.168.250.242:48808 to 172.16.250.2:8812 length 368 (5) User-Name = "anonymous" (5) NAS-IP-Address = 192.168.250.250 (5) NAS-Port = 0 (5) NAS-Identifier = "OAW-6000-DEUSTO-MASTER" (5) NAS-Port-Type = Wireless-802.11 (5) Calling-Station-Id = "9439E574D38B" (5) Called-Station-Id = "001A1E019AB0" (5) Service-Type = Framed-User (5) Framed-MTU = 1100 (5) EAP-Message = 0x0205008815800000007e160303004610000042410412bb2642d93cb32e62e4207bc5fc3675cb5cbf6887134c9c3a5401f8b3651e840284d5ad41795d9316875d95b9896ac3c3e55cb29b83d9e124b6b9a08b9ac804140303000101160303002800000000000000008c4ed252d9ec285abc750d2dfc4d36 (5) State = 0xf823a211fb26b7d6b715aa37f0c39c64 (5) Aruba-Essid-Name = "prueba_udguest_802.1x_bi" (5) Aruba-Location-Id = "LIT.0E.SERVICIO.INFORMATICO" (5) Aruba-AP-Group = "LIT_P0" (5) Message-Authenticator = 0x99079f6199e2997a8bd5f23183ba3f91 (5) session-state: No cached attributes (5) # Executing section authorize from file /usr/local/freeradius-3.0.17/etc/raddb/sites-enabled/default (5) authorize { (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) --> 94-39-E5-74-D3-8B (5) &Calling-Station-Id := 94-39-E5-74-D3-8B (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) policy filter_username { (5) if (&User-Name) { (5) if (&User-Name) -> TRUE (5) if (&User-Name) { (5) if (&User-Name =~ / /) { (5) if (&User-Name =~ / /) -> FALSE (5) if (&User-Name =~ /@[^@]*@/ ) { (5) if (&User-Name =~ /@[^@]*@/ ) -> FALSE (5) if (&User-Name =~ /\.\./ ) { (5) if (&User-Name =~ /\.\./ ) -> FALSE (5) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) { (5) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE (5) if (&User-Name =~ /\.$/) { (5) if (&User-Name =~ /\.$/) -> FALSE (5) if (&User-Name =~ /@\./) { (5) if (&User-Name =~ /@\./) -> FALSE (5) } # if (&User-Name) = updated (5) } # policy filter_username = updated (5) [preprocess] = ok (5) auth_log: EXPAND /usr/local/freeradius-3.0.17/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d (5) auth_log: --> /usr/local/freeradius-3.0.17/var/log/radius/radacct/ 192.168.250.242/auth-detail-20190718 (5) auth_log: /usr/local/freeradius-3.0.17/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d expands to /usr/local/freeradius-3.0.17/var/log/radius/radacct/ 192.168.250.242/auth-detail-20190718 (5) auth_log: EXPAND %t (5) auth_log: --> Thu Jul 18 11:42:03 2019 (5) [auth_log] = ok (5) [chap] = noop (5) eap: Peer sent EAP Response (code 2) ID 5 length 136 (5) eap: Continuing tunnel setup (5) [eap] = ok (5) } # authorize = ok (5) Found Auth-Type = eap (5) # Executing group from file /usr/local/freeradius-3.0.17/etc/raddb/sites-enabled/default (5) authenticate { (5) eap: Expiring EAP session with state 0xf823a211fb26b7d6 (5) eap: Finished EAP session with state 0xf823a211fb26b7d6 (5) eap: Previous EAP request found for state 0xf823a211fb26b7d6, released from the list (5) eap: Peer sent packet with method EAP TTLS (21) (5) eap: Calling submodule eap_ttls to process data (5) eap_ttls: Authenticate (5) eap_ttls: Continuing EAP-TLS (5) eap_ttls: Peer indicated complete TLS record size will be 126 bytes (5) eap_ttls: Got complete TLS record (126 bytes) (5) eap_ttls: [eaptls verify] = length included (5) eap_ttls: <<< recv TLS 1.2 [length 0046] (5) eap_ttls: TLS_accept: unknown state (5) eap_ttls: TLS_accept: unknown state (5) eap_ttls: <<< recv TLS 1.2 [length 0001] (5) eap_ttls: <<< recv TLS 1.2 [length 0010] (5) eap_ttls: TLS_accept: unknown state (5) eap_ttls: >>> send TLS 1.2 [length 0001] (5) eap_ttls: TLS_accept: unknown state (5) eap_ttls: >>> send TLS 1.2 [length 0010] (5) eap_ttls: TLS_accept: unknown state (5) eap_ttls: TLS_accept: unknown state (5) eap_ttls: (other): SSL negotiation finished successfully (5) eap_ttls: SSL Connection Established (5) eap_ttls: [eaptls process] = handled (5) eap: Sending EAP Request (code 1) ID 6 length 61 (5) eap: EAP session adding &reply:State = 0xf823a211fc25b7d6 (5) [eap] = handled (5) } # authenticate = handled (5) Using Post-Auth-Type Challenge (5) # Executing group from file /usr/local/freeradius-3.0.17/etc/raddb/sites-enabled/default (5) Challenge { ... } # empty sub-section is ignored (5) Sent Access-Challenge Id 147 from 172.16.250.2:8812 to 192.168.250.242:48808 length 0 (5) EAP-Message = 0x0106003d1580000000331403030001011603030028d33e324756a54fa25d718cf8b446e4405b0c73cd4a4b07beb111da1bd9257ac923291aa91e10f007 (5) Message-Authenticator = 0x00000000000000000000000000000000 (5) State = 0xf823a211fc25b7d6b715aa37f0c39c64 (5) Finished request Waking up in 4.8 seconds. (6) Received Access-Request Id 148 from 192.168.250.242:48808 to 172.16.250.2:8812 length 307 (6) User-Name = "anonymous" (6) NAS-IP-Address = 192.168.250.250 (6) NAS-Port = 0 (6) NAS-Identifier = "OAW-6000-DEUSTO-MASTER" (6) NAS-Port-Type = Wireless-802.11 (6) Calling-Station-Id = "9439E574D38B" (6) Called-Station-Id = "001A1E019AB0" (6) Service-Type = Framed-User (6) Framed-MTU = 1100 (6) EAP-Message = 0x0206004b158000000041170303003c0000000000000001ac77d11b8310b31ce1d2178bab43481f3521526b150dd6e06e698266696c5404aff5c53adb7f3ea84101aad4f508a6c5d3df914e (6) State = 0xf823a211fc25b7d6b715aa37f0c39c64 (6) Aruba-Essid-Name = "prueba_udguest_802.1x_bi" (6) Aruba-Location-Id = "LIT.0E.SERVICIO.INFORMATICO" (6) Aruba-AP-Group = "LIT_P0" (6) Message-Authenticator = 0x80ff44b237a55f6a704f6aa437fd2131 (6) session-state: No cached attributes (6) # Executing section authorize from file /usr/local/freeradius-3.0.17/etc/raddb/sites-enabled/default (6) authorize { (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) --> 94-39-E5-74-D3-8B (6) &Calling-Station-Id := 94-39-E5-74-D3-8B (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) policy filter_username { (6) if (&User-Name) { (6) if (&User-Name) -> TRUE (6) if (&User-Name) { (6) if (&User-Name =~ / /) { (6) if (&User-Name =~ / /) -> FALSE (6) if (&User-Name =~ /@[^@]*@/ ) { (6) if (&User-Name =~ /@[^@]*@/ ) -> FALSE (6) if (&User-Name =~ /\.\./ ) { (6) if (&User-Name =~ /\.\./ ) -> FALSE (6) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) { (6) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE (6) if (&User-Name =~ /\.$/) { (6) if (&User-Name =~ /\.$/) -> FALSE (6) if (&User-Name =~ /@\./) { (6) if (&User-Name =~ /@\./) -> FALSE (6) } # if (&User-Name) = updated (6) } # policy filter_username = updated (6) [preprocess] = ok (6) auth_log: EXPAND /usr/local/freeradius-3.0.17/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d (6) auth_log: --> /usr/local/freeradius-3.0.17/var/log/radius/radacct/ 192.168.250.242/auth-detail-20190718 (6) auth_log: /usr/local/freeradius-3.0.17/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d expands to /usr/local/freeradius-3.0.17/var/log/radius/radacct/ 192.168.250.242/auth-detail-20190718 (6) auth_log: EXPAND %t (6) auth_log: --> Thu Jul 18 11:42:07 2019 (6) [auth_log] = ok (6) [chap] = noop (6) eap: Peer sent EAP Response (code 2) ID 6 length 75 (6) eap: Continuing tunnel setup (6) [eap] = ok (6) } # authorize = ok (6) Found Auth-Type = eap (6) # Executing group from file /usr/local/freeradius-3.0.17/etc/raddb/sites-enabled/default (6) authenticate { (6) eap: Expiring EAP session with state 0xf823a211fc25b7d6 (6) eap: Finished EAP session with state 0xf823a211fc25b7d6 (6) eap: Previous EAP request found for state 0xf823a211fc25b7d6, released from the list (6) eap: Peer sent packet with method EAP TTLS (21) (6) eap: Calling submodule eap_ttls to process data (6) eap_ttls: Authenticate (6) eap_ttls: Continuing EAP-TLS (6) eap_ttls: Peer indicated complete TLS record size will be 65 bytes (6) eap_ttls: Got complete TLS record (65 bytes) (6) eap_ttls: [eaptls verify] = length included (6) eap_ttls: [eaptls process] = ok (6) eap_ttls: Session established. Proceeding to decode tunneled attributes (6) eap_ttls: Got tunneled request (6) eap_ttls: User-Name = "username" (6) eap_ttls: User-Password = "passwd" (6) eap_ttls: FreeRADIUS-Proxied-To = 127.0.0.1 (6) eap_ttls: Sending tunneled request (6) Virtual server inner-tunnel received request (6) User-Name = "username" (6) User-Password = "passwd" (6) FreeRADIUS-Proxied-To = 127.0.0.1 (6) server inner-tunnel { (6) # Executing section authorize from file /usr/local/freeradius-3.0.17/etc/raddb/sites-enabled/inner-tunnel (6) authorize { (6) policy filter_username { (6) if (&User-Name) { (6) if (&User-Name) -> TRUE (6) if (&User-Name) { (6) if (&User-Name =~ / /) { (6) if (&User-Name =~ / /) -> FALSE (6) if (&User-Name =~ /@[^@]*@/ ) { (6) if (&User-Name =~ /@[^@]*@/ ) -> FALSE (6) if (&User-Name =~ /\.\./ ) { (6) if (&User-Name =~ /\.\./ ) -> FALSE (6) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) { (6) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE (6) if (&User-Name =~ /\.$/) { (6) if (&User-Name =~ /\.$/) -> FALSE (6) if (&User-Name =~ /@\./) { (6) if (&User-Name =~ /@\./) -> FALSE (6) } # if (&User-Name) = notfound (6) } # policy filter_username = notfound (6) suffix: Checking for suffix after "@" (6) suffix: No '@' in User-Name = "username", looking up realm NULL (6) suffix: No such realm "NULL" (6) [suffix] = noop (6) update control { (6) &Proxy-To-Realm := LOCAL (6) } # update control = noop (6) eap: No EAP-Message, not doing EAP (6) [eap] = noop (6) if (&User-Name && &User-Password) { (6) if (&User-Name && &User-Password) -> TRUE (6) if (&User-Name && &User-Password) { (6) update control { rlm_sql (sql_oracle_dscorp): Reserved connection (1) (6) Executing select query: SELECT swi_wi.pkg_wifi.f_get_username_code('username') FROM DUAL rlm_sql (sql_oracle_dscorp): Released connection (1) Need 4 more connections to reach 10 spares rlm_sql (sql_oracle_dscorp): Opening additional connection (6), 1 of 26 pending slots used (6) EXPAND %{sql_oracle_dscorp:SELECT swi_wi.pkg_wifi.f_get_username_code('%{User-Name}') FROM DUAL} (6) --> (6) Tmp-String-0 := (6) } # update control = noop (6) if (&control:Tmp-String-0 != '') { (6) if (&control:Tmp-String-0 != '') -> FALSE (6) else { (6) update reply { (6) Filter-Id := 'rol-invitado-logon' (6) } # update reply = noop (6) policy accept { (6) update control { (6) &Response-Packet-Type = Access-Accept (6) } # update control = noop (6) [handled] = handled (6) } # policy accept = handled (6) } # else = handled (6) } # if (&User-Name && &User-Password) = handled (6) } # authorize = handled (6) } # server inner-tunnel (6) Virtual server sending reply (6) Filter-Id := "rol-invitado-logon" (6) eap_ttls: Tunneled authentication will be proxied to LOCAL (6) eap: WARNING: Tunneled session will be proxied. Not doing EAP (6) [eap] = handled (6) } # authenticate = handled (6) WARNING: Cancelling proxy as no home pool exists (6) There was no response configured: rejecting request (6) Using Post-Auth-Type Reject (6) # Executing group from file /usr/local/freeradius-3.0.17/etc/raddb/sites-enabled/default (6) Post-Auth-Type REJECT { (6) attr_filter.access_reject: EXPAND %{User-Name} (6) attr_filter.access_reject: --> anonymous (6) attr_filter.access_reject: Matched entry DEFAULT at line 11 (6) [attr_filter.access_reject] = updated (6) eap: ERROR: rlm_eap (EAP): No EAP session matching state 0xf823a211fc25b7d6 (6) eap: Either EAP-request timed out OR EAP-response to an unknown EAP-request (6) eap: Failed to get handler, probably already removed, not inserting EAP-Failure (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) Sent Access-Reject Id 148 from 172.16.250.2:8812 to 192.168.250.242:48808 length 0 (6) Finished request Waking up in 0.7 seconds. (1) Cleaning up request packet ID 143 with timestamp +34 (2) Cleaning up request packet ID 144 with timestamp +35 (3) Cleaning up request packet ID 145 with timestamp +35 (4) Cleaning up request packet ID 146 with timestamp +35 (5) Cleaning up request packet ID 147 with timestamp +35 Waking up in 4.0 seconds. (6) Cleaning up request packet ID 148 with timestamp +39 Ready to process requests