Freeradius-Users
Threads by month
- ----- 2026 -----
- July
- June
- May
- April
- March
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2005 -----
- December
- November
- October
- September
- August
- July
- June
- May
April 2019
- 85 participants
- 90 discussions
Network RADIUS was set up in 2008 by Alan DeKok, to fill the needs of those companies who wish to deploy FreeRADIUS, but lacked the internal expertise necessary to develop or support FreeRADIUS
based services.
Over the past few years, there's been a significant uptick in companies wishing to purchase commercial support for FreeRADIUS and looking to bring in outside expertise for professional services work.
It's now at the point where there's a need for additional engineering talent to help with the volume of new projects.
Some of the best hires have been from within the FreeRADIUS community - people who have used FreeRADIUS in their day jobs and developed an in-depth understanding of its philosophies and flexibility.
That's why the positions are being posted here first, to give priority to community members who are interested in working with FreeRADIUS commercially.
The majority of current team members work remotely, and that would likely be the arrangement for these positions. The exception would be if you happened to be located in Ottawa, ON, Canada, or Grenoble, France, in which case we have physical offices, emblazoned with octopus logos and filled with squishy beanbags.
If you're interested and would like to apply, please read through the information on the NetworkRADIUS careers page (https://networkradius.com/careers/) and send an email to careers(a)networkradius.com.
Good luck!
-Arran
PS: Don't worry - Alan is much more soft and cuddly IRL.
1
0
Dear All,
For a hotel scenario, I'm trying to enable/disable users based on
their arrival and departure date. So far, I've accomplished this, by
simply adding a 'exp' column to radcheck and radreply. which includes
the expiry date. And at 00:00 every day, I run a cron job, that checks
for any users that have departed and removes them.
This works, but seems very dirty to me. Is there no cleaner approach I
could use?
Thanks,
2
1
I configured Eduroam Freeradius server 3.0.15 and tried to connect to AP from local realm Windows client but authentication failed.Here is freeradius -X output:
FreeRADIUS Version 3.0.15Copyright (C) 1999-2017 The FreeRADIUS server project and contributorsThere is NO warranty; not even for MERCHANTABILITY or FITNESS FOR APARTICULAR PURPOSEYou may redistribute copies of FreeRADIUS under the terms of theGNU General Public LicenseFor more information about these matters, see the file named COPYRIGHTStarting - reading configuration files ...including dictionary file /usr/share/freeradius/dictionaryincluding dictionary file /usr/share/freeradius/dictionary.dhcpincluding dictionary file /usr/share/freeradius/dictionary.vqpincluding dictionary file /etc/freeradius/dictionaryincluding configuration file /etc/freeradius/radiusd.confincluding configuration file /etc/freeradius/proxy.confincluding configuration file /etc/freeradius/clients.confincluding files in directory /etc/freeradius/mods-enabled/including configuration file /etc/freeradius/mods-enabled/exprincluding configuration file /etc/freeradius/mods-enabled/realmincluding configuration file /etc/freeradius/mods-enabled/radutmpincluding configuration file /etc/freeradius/mods-enabled/unixincluding configuration file /etc/freeradius/mods-enabled/sqlincluding configuration file /etc/freeradius/mods-enabled/sradutmpincluding configuration file /etc/freeradius/mods-enabled/filesincluding configuration file /etc/freeradius/mods-enabled/alwaysincluding configuration file /etc/freeradius/mods-enabled/echoincluding configuration file /etc/freeradius/mods-enabled/dateincluding configuration file /etc/freeradius/mods-enabled/logintimeincluding configuration file /etc/freeradius/mods-enabled/cache_eapincluding configuration file /etc/freeradius/mods-enabled/detailincluding configuration file /etc/freeradius/mods-enabled/preprocessincluding configuration file /etc/freeradius/mods-enabled/mschapincluding configuration file /etc/freeradius/mods-enabled/digestincluding configuration file /etc/freeradius/mods-enabled/utf8including configuration file /etc/freeradius/mods-enabled/ntlm_authincluding configuration file /etc/freeradius/mods-enabled/replicateincluding configuration file /etc/freeradius/mods-enabled/chapincluding configuration file /etc/freeradius/mods-enabled/passwdincluding configuration file /etc/freeradius/mods-enabled/attr_filterincluding configuration file /etc/freeradius/mods-enabled/sohincluding configuration file /etc/freeradius/mods-enabled/detail.logincluding configuration file /etc/freeradius/mods-enabled/linelogincluding configuration file /etc/freeradius/mods-enabled/unpackincluding configuration file /etc/freeradius/mods-enabled/papincluding configuration file /etc/freeradius/mods-enabled/eapincluding configuration file /etc/freeradius/mods-enabled/execincluding configuration file /etc/freeradius/mods-enabled/expirationincluding configuration file /etc/freeradius/mods-enabled/dynamic_clientsincluding files in directory /etc/freeradius/policy.d/including configuration file /etc/freeradius/policy.d/abfab-trincluding configuration file /etc/freeradius/policy.d/operator-nameincluding configuration file /etc/freeradius/policy.d/filterincluding configuration file /etc/freeradius/policy.d/accountingincluding configuration file /etc/freeradius/policy.d/moonshot-targeted-idsincluding configuration file /etc/freeradius/policy.d/controlincluding configuration file /etc/freeradius/policy.d/cuiincluding configuration file /etc/freeradius/policy.d/dhcpincluding configuration file /etc/freeradius/policy.d/eapincluding configuration file /etc/freeradius/policy.d/debugincluding configuration file /etc/freeradius/policy.d/canonicalizationincluding files in directory /etc/freeradius/sites-enabled/including configuration file /etc/freeradius/sites-enabled/inner-tunnelincluding configuration file /etc/freeradius/sites-enabled/eduroammain { 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 kazakhstan { ipaddr = 89.250.80.13 port = 1812 type = "auth+acct" secret = <<< secret >>> response_window = 30.000000 response_timeouts = 1 max_outstanding = 65536 zombie_period = 40 status_check = "status-server" ping_interval = 30 check_timeout = 4 num_answers_to_alive = 3 revive_interval = 300 limit { max_connections = 16 max_requests = 0 lifetime = 0 idle_timeout = 0 } coa { irt = 2 mrt = 16 mrc = 5 mrd = 30 } } 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 EDUROAM { type = fail-over home_server = kazakhstan } realm ~.+$ { pool = EDUROAM nostrip } home_server_pool my_auth_failover { type = fail-over home_server = localhost } realm example.com { auth_pool = my_auth_failover } realm LOCAL { } realm kazrena.kz { nostrip }radiusd: #### Loading Clients #### client kazakhstan-flrs1 { ipaddr = 89.250.80.13 netmask = 32 require_message_authenticator = yes secret = <<< secret >>> shortname = "kaz-flrs1" virtual_server = "eduroam" limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } 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 kazrena-Access_Point1 { ipaddr = 89.250.80.136 netmask = 32 require_message_authenticator = yes secret = <<< secret >>> shortname = "D-Link_AP" virtual_server = "eduroam" limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } }Debugger not attached # Creating Auth-Type = eap # Creating Auth-Type = PAP # Creating Auth-Type = MS-CHAPradiusd: #### Instantiating modules #### modules { # Loaded module rlm_expr # Loading module "expr" from file /etc/freeradius/mods-enabled/expr expr { safe_characters = "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /äéöüàâæçèéêëîïôœùûüaÿÄÉÖÜßÀÂÆÇÈÉÊËÎÏÔŒÙÛÜŸ" } # Loaded module rlm_realm # Loading module "IPASS" from file /etc/freeradius/mods-enabled/realm realm IPASS { format = "prefix" delimiter = "/" ignore_default = no ignore_null = no } # Loading module "suffix" from file /etc/freeradius/mods-enabled/realm realm suffix { format = "suffix" delimiter = "@" ignore_default = no ignore_null = no } # Loading module "realmpercent" from file /etc/freeradius/mods-enabled/realm realm realmpercent { format = "suffix" delimiter = "%" ignore_default = no ignore_null = no } # Loading module "ntdomain" from file /etc/freeradius/mods-enabled/realm realm ntdomain { format = "prefix" delimiter = "\\" ignore_default = no ignore_null = no } # Loaded module rlm_radutmp # Loading module "radutmp" from file /etc/freeradius/mods-enabled/radutmp radutmp { filename = "/var/log/freeradius/radutmp" username = "%{User-Name}" case_sensitive = yes check_with_nas = yes permissions = 384 caller_id = yes } # Loaded module rlm_unix # Loading module "unix" from file /etc/freeradius/mods-enabled/unix unix { radwtmp = "/var/log/freeradius/radwtmp" }Creating attribute Unix-Group # Loaded module rlm_sql # Loading module "sql" from file /etc/freeradius/mods-enabled/sql sql { driver = "rlm_sql_mysql" server = "localhost" port = 0 login = "radius" password = <<< secret >>> radius_db = "radius" read_groups = yes read_profiles = yes read_clients = yes 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): Driver rlm_sql_mysql (module rlm_sql_mysql) loaded and linked # Loading module "sradutmp" from file /etc/freeradius/mods-enabled/sradutmp radutmp sradutmp { filename = "/var/log/freeradius/sradutmp" username = "%{User-Name}" case_sensitive = yes check_with_nas = yes permissions = 420 caller_id = no } # Loaded module rlm_files # Loading module "files" from file /etc/freeradius/mods-enabled/files files { filename = "/etc/freeradius/mods-config/files/authorize" acctusersfile = "/etc/freeradius/mods-config/files/accounting" preproxy_usersfile = "/etc/freeradius/mods-config/files/pre-proxy" } # Loaded module rlm_always # Loading module "reject" from file /etc/freeradius/mods-enabled/always always reject { rcode = "reject" simulcount = 0 mpp = no } # Loading module "fail" from file /etc/freeradius/mods-enabled/always always fail { rcode = "fail" simulcount = 0 mpp = no } # Loading module "ok" from file /etc/freeradius/mods-enabled/always always ok { rcode = "ok" simulcount = 0 mpp = no } # Loading module "handled" from file /etc/freeradius/mods-enabled/always always handled { rcode = "handled" simulcount = 0 mpp = no } # Loading module "invalid" from file /etc/freeradius/mods-enabled/always always invalid { rcode = "invalid" simulcount = 0 mpp = no } # Loading module "userlock" from file /etc/freeradius/mods-enabled/always always userlock { rcode = "userlock" simulcount = 0 mpp = no } # Loading module "notfound" from file /etc/freeradius/mods-enabled/always always notfound { rcode = "notfound" simulcount = 0 mpp = no } # Loading module "noop" from file /etc/freeradius/mods-enabled/always always noop { rcode = "noop" simulcount = 0 mpp = no } # Loading module "updated" from file /etc/freeradius/mods-enabled/always always updated { rcode = "updated" simulcount = 0 mpp = no } # Loaded module rlm_exec # Loading module "echo" from file /etc/freeradius/mods-enabled/echo exec echo { wait = yes program = "/bin/echo %{User-Name}" input_pairs = "request" output_pairs = "reply" shell_escape = yes } # Loaded module rlm_date # Loading module "date" from file /etc/freeradius/mods-enabled/date date { format = "%b %e %Y %H:%M:%S %Z" utc = no } # Loaded module rlm_logintime # Loading module "logintime" from file /etc/freeradius/mods-enabled/logintime logintime { minimum_timeout = 60 } # Loaded module rlm_cache # Loading module "cache_eap" from file /etc/freeradius/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_detail # Loading module "detail" from file /etc/freeradius/mods-enabled/detail detail { filename = "/var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d" header = "%t" permissions = 384 locking = no escape_filenames = no log_packet_header = no } # Loaded module rlm_preprocess # Loading module "preprocess" from file /etc/freeradius/mods-enabled/preprocess preprocess { huntgroups = "/etc/freeradius/mods-config/preprocess/huntgroups" hints = "/etc/freeradius/mods-config/preprocess/hints" with_ascend_hack = no ascend_channels_per_line = 23 with_ntdomain_hack = no with_specialix_jetstream_hack = no with_cisco_vsa_hack = no with_alvarion_vsa_hack = no } # Loaded module rlm_mschap # Loading module "mschap" from file /etc/freeradius/mods-enabled/mschap mschap { use_mppe = yes require_encryption = no require_strong = no with_ntdomain_hack = yes passchange { } allow_retry = yes winbind_retry_with_normalised_username = no } # Loaded module rlm_digest # Loading module "digest" from file /etc/freeradius/mods-enabled/digest # Loaded module rlm_utf8 # Loading module "utf8" from file /etc/freeradius/mods-enabled/utf8 # Loading module "ntlm_auth" from file /etc/freeradius/mods-enabled/ntlm_auth exec ntlm_auth { wait = yes program = "/path/to/ntlm_auth --request-nt-key --domain=MYDOMAIN --username=%{mschap:User-Name} --password=%{User-Password}" shell_escape = yes } # Loaded module rlm_replicate # Loading module "replicate" from file /etc/freeradius/mods-enabled/replicate # Loaded module rlm_chap # Loading module "chap" from file /etc/freeradius/mods-enabled/chap # Loaded module rlm_passwd # Loading module "etc_passwd" from file /etc/freeradius/mods-enabled/passwd passwd etc_passwd { filename = "/etc/passwd" format = "*User-Name:Crypt-Password:" delimiter = ":" ignore_nislike = no ignore_empty = yes allow_multiple_keys = no hash_size = 100 } # Loaded module rlm_attr_filter # Loading module "attr_filter.post-proxy" from file /etc/freeradius/mods-enabled/attr_filter attr_filter attr_filter.post-proxy { filename = "/etc/freeradius/mods-config/attr_filter/post-proxy" key = "%{Realm}" relaxed = no } # Loading module "attr_filter.pre-proxy" from file /etc/freeradius/mods-enabled/attr_filter attr_filter attr_filter.pre-proxy { filename = "/etc/freeradius/mods-config/attr_filter/pre-proxy" key = "%{Realm}" relaxed = no } # Loading module "attr_filter.access_reject" from file /etc/freeradius/mods-enabled/attr_filter attr_filter attr_filter.access_reject { filename = "/etc/freeradius/mods-config/attr_filter/access_reject" key = "%{User-Name}" relaxed = no } # Loading module "attr_filter.access_challenge" from file /etc/freeradius/mods-enabled/attr_filter attr_filter attr_filter.access_challenge { filename = "/etc/freeradius/mods-config/attr_filter/access_challenge" key = "%{User-Name}" relaxed = no } # Loading module "attr_filter.accounting_response" from file /etc/freeradius/mods-enabled/attr_filter attr_filter attr_filter.accounting_response { filename = "/etc/freeradius/mods-config/attr_filter/accounting_response" key = "%{User-Name}" relaxed = no } # Loaded module rlm_soh # Loading module "soh" from file /etc/freeradius/mods-enabled/soh soh { dhcp = yes } # Loading module "auth_log" from file /etc/freeradius/mods-enabled/detail.log detail auth_log { filename = "/var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d" header = "%t" permissions = 384 locking = no escape_filenames = no log_packet_header = no } # Loading module "reply_log" from file /etc/freeradius/mods-enabled/detail.log detail reply_log { filename = "/var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/reply-detail-%Y%m%d" header = "%t" permissions = 384 locking = no escape_filenames = no log_packet_header = no } # Loading module "pre_proxy_log" from file /etc/freeradius/mods-enabled/detail.log detail pre_proxy_log { filename = "/var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/pre-proxy-detail-%Y%m%d" header = "%t" permissions = 384 locking = no escape_filenames = no log_packet_header = no } # Loading module "post_proxy_log" from file /etc/freeradius/mods-enabled/detail.log detail post_proxy_log { filename = "/var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/post-proxy-detail-%Y%m%d" header = "%t" permissions = 384 locking = no escape_filenames = no log_packet_header = no } # Loaded module rlm_linelog # Loading module "linelog" from file /etc/freeradius/mods-enabled/linelog linelog { filename = "/var/log/freeradius/linelog" escape_filenames = no syslog_severity = "info" permissions = 384 format = "This is a log message for %{User-Name}" reference = "messages.%{%{reply:Packet-Type}:-default}" } # Loading module "log_accounting" from file /etc/freeradius/mods-enabled/linelog linelog log_accounting { filename = "/var/log/freeradius/linelog-accounting" escape_filenames = no syslog_severity = "info" permissions = 384 format = "" reference = "Accounting-Request.%{%{Acct-Status-Type}:-unknown}" } # Loaded module rlm_unpack # Loading module "unpack" from file /etc/freeradius/mods-enabled/unpack # Loaded module rlm_pap # Loading module "pap" from file /etc/freeradius/mods-enabled/pap pap { normalise = yes } # Loaded module rlm_eap # Loading module "eap" from file /etc/freeradius/mods-enabled/eap eap { default_eap_type = "md5" timer_expire = 60 ignore_unknown_eap_types = no cisco_accounting_username_bug = no max_sessions = 16384 } # Loading module "exec" from file /etc/freeradius/mods-enabled/exec exec { wait = no input_pairs = "request" shell_escape = yes timeout = 10 } # Loaded module rlm_expiration # Loading module "expiration" from file /etc/freeradius/mods-enabled/expiration # Loaded module rlm_dynamic_clients # Loading module "dynamic_clients" from file /etc/freeradius/mods-enabled/dynamic_clients instantiate { } # Instantiating module "IPASS" from file /etc/freeradius/mods-enabled/realm # Instantiating module "suffix" from file /etc/freeradius/mods-enabled/realm # Instantiating module "realmpercent" from file /etc/freeradius/mods-enabled/realm # Instantiating module "ntdomain" from file /etc/freeradius/mods-enabled/realm # Instantiating module "sql" from file /etc/freeradius/mods-enabled/sqlrlm_sql_mysql: libmysql version: 5.7.25 mysql { tls { } warnings = "auto" }rlm_sql (sql): Attempting to connect to database "radius"rlm_sql (sql): Initialising connection pool pool { start = 5 min = 5 max = 10 spare = 3 uses = 0 lifetime = 0 cleanup_interval = 30 idle_timeout = 60 retry_delay = 1 spread = no }rlm_sql (sql): Opening additional connection (0), 1 of 10 pending slots usedrlm_sql_mysql: Starting connect to MySQL serverrlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 5.7.25-0ubuntu0.16.04.2, protocol version 10rlm_sql (sql): Opening additional connection (1), 1 of 9 pending slots usedrlm_sql_mysql: Starting connect to MySQL serverrlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 5.7.25-0ubuntu0.16.04.2, protocol version 10rlm_sql (sql): Opening additional connection (2), 1 of 8 pending slots usedrlm_sql_mysql: Starting connect to MySQL serverrlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 5.7.25-0ubuntu0.16.04.2, protocol version 10rlm_sql (sql): Opening additional connection (3), 1 of 7 pending slots usedrlm_sql_mysql: Starting connect to MySQL serverrlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 5.7.25-0ubuntu0.16.04.2, protocol version 10rlm_sql (sql): Opening additional connection (4), 1 of 6 pending slots usedrlm_sql_mysql: Starting connect to MySQL serverrlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 5.7.25-0ubuntu0.16.04.2, protocol version 10rlm_sql (sql): Processing generate_sql_clientsrlm_sql (sql) in generate_sql_clients: query is SELECT id,nasname,shortname,type,secret FROM nasrlm_sql (sql): Reserved connection (0)rlm_sql (sql): Executing select query: SELECT id,nasname,shortname,type,secret FROM nasrlm_sql (sql): Released connection (0) # Instantiating module "files" from file /etc/freeradius/mods-enabled/filesreading pairlist file /etc/freeradius/mods-config/files/authorizereading pairlist file /etc/freeradius/mods-config/files/accountingreading pairlist file /etc/freeradius/mods-config/files/pre-proxy # Instantiating module "reject" from file /etc/freeradius/mods-enabled/always # Instantiating module "fail" from file /etc/freeradius/mods-enabled/always # Instantiating module "ok" from file /etc/freeradius/mods-enabled/always # Instantiating module "handled" from file /etc/freeradius/mods-enabled/always # Instantiating module "invalid" from file /etc/freeradius/mods-enabled/always # Instantiating module "userlock" from file /etc/freeradius/mods-enabled/always # Instantiating module "notfound" from file /etc/freeradius/mods-enabled/always # Instantiating module "noop" from file /etc/freeradius/mods-enabled/always # Instantiating module "updated" from file /etc/freeradius/mods-enabled/always # Instantiating module "logintime" from file /etc/freeradius/mods-enabled/logintime # Instantiating module "cache_eap" from file /etc/freeradius/mods-enabled/cache_eaprlm_cache (cache_eap): Driver rlm_cache_rbtree (module rlm_cache_rbtree) loaded and linked # Instantiating module "detail" from file /etc/freeradius/mods-enabled/detail # Instantiating module "preprocess" from file /etc/freeradius/mods-enabled/preprocessreading pairlist file /etc/freeradius/mods-config/preprocess/huntgroupsreading pairlist file /etc/freeradius/mods-config/preprocess/hints # Instantiating module "mschap" from file /etc/freeradius/mods-enabled/mschaprlm_mschap (mschap): using internal authentication # Instantiating module "etc_passwd" from file /etc/freeradius/mods-enabled/passwdrlm_passwd: nfields: 3 keyfield 0(User-Name) listable: no # Instantiating module "attr_filter.post-proxy" from file /etc/freeradius/mods-enabled/attr_filterreading pairlist file /etc/freeradius/mods-config/attr_filter/post-proxy # Instantiating module "attr_filter.pre-proxy" from file /etc/freeradius/mods-enabled/attr_filterreading pairlist file /etc/freeradius/mods-config/attr_filter/pre-proxy # Instantiating module "attr_filter.access_reject" from file /etc/freeradius/mods-enabled/attr_filterreading pairlist file /etc/freeradius/mods-config/attr_filter/access_reject[/etc/freeradius/mods-config/attr_filter/access_reject]:11 Check item "FreeRADIUS-Response-Delay" found in filter list for realm "DEFAULT". [/etc/freeradius/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/mods-enabled/attr_filterreading pairlist file /etc/freeradius/mods-config/attr_filter/access_challenge # Instantiating module "attr_filter.accounting_response" from file /etc/freeradius/mods-enabled/attr_filterreading pairlist file /etc/freeradius/mods-config/attr_filter/accounting_response # Instantiating module "auth_log" from file /etc/freeradius/mods-enabled/detail.logrlm_detail (auth_log): 'User-Password' suppressed, will not appear in detail output # Instantiating module "reply_log" from file /etc/freeradius/mods-enabled/detail.log # Instantiating module "pre_proxy_log" from file /etc/freeradius/mods-enabled/detail.log # Instantiating module "post_proxy_log" from file /etc/freeradius/mods-enabled/detail.log # Instantiating module "linelog" from file /etc/freeradius/mods-enabled/linelog # Instantiating module "log_accounting" from file /etc/freeradius/mods-enabled/linelog # Instantiating module "pap" from file /etc/freeradius/mods-enabled/pap # Instantiating module "eap" from file /etc/freeradius/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/certs" pem_file_type = yes private_key_file = "/etc/freeradius/certs/server.pem" certificate_file = "/etc/freeradius/certs/server.pem" ca_file = "/etc/freeradius/certs/ca.pem" private_key_password = <<< secret >>> dh_file = "/etc/freeradius/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" 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 = "mschapv2" copy_request_to_tunnel = yes use_tunneled_reply = yes virtual_server = "eduroam-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 = yes use_tunneled_reply = yes proxy_tunneled_request_as_eap = yes virtual_server = "eduroam-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 "expiration" from file /etc/freeradius/mods-enabled/expiration } # modulesradiusd: #### Loading Virtual Servers ####server { # from file /etc/freeradius/radiusd.conf} # serverserver eduroam-inner-tunnel { # from file /etc/freeradius/sites-enabled/inner-tunnel # Loading authenticate {...} # Loading authorize {...} # Loading post-auth {...}} # server eduroam-inner-tunnelserver eduroam { # from file /etc/freeradius/sites-enabled/eduroam # Loading authenticate {...} # Loading authorize {...} # Loading preacct {...} # Loading accounting {...} # Loading pre-proxy {...} # Loading post-proxy {...} # Loading post-auth {...}} # server eduroamradiusd: #### Opening IP addresses and Ports ####listen { type = "auth" ipaddr = 127.0.0.1 port = 18120}listen { type = "auth" ipaddr = * port = 1812}listen { type = "acct" ipaddr = * port = 1813}listen { type = "auth" ipv6addr = :: port = 1812}listen { type = "acct" ipv6addr = :: port = 1813}Listening on auth address 127.0.0.1 port 18120 bound to server eduroam-inner-tunnelListening on auth address * port 1812 bound to server eduroamListening on acct address * port 1813 bound to server eduroamListening on auth address :: port 1812 bound to server eduroamListening on acct address :: port 1813 bound to server eduroamListening on proxy address * port 39069Listening on proxy address :: port 51496Ready to process requests(0) Received Status-Server Id 0 from 89.250.80.13:37328 to 89.250.80.130:1812 length 38(0) Message-Authenticator = 0xa0869a0cfcc5c99b8c02b3003bf59fd5(0) Sent Access-Accept Id 0 from 89.250.80.130:1812 to 89.250.80.13:37328 length 0(0) Finished requestWaking up in 4.9 seconds.(0) Cleaning up request packet ID 0 with timestamp +24Ready to process requests(1) Received Access-Request Id 0 from 89.250.80.136:1117 to 89.250.80.130:1812 length 213(1) Message-Authenticator = 0x0083de2f19d2f059d3d800138a6f7374(1) Service-Type = Framed-User(1) User-Name = "sake(a)kazrena.kz"(1) Framed-MTU = 1488(1) Called-Station-Id = "00-22-B0-0C-84-71:eduroam"(1) Calling-Station-Id = "18-F4-6A-33-41-A5"(1) NAS-Identifier = "D-Link Access Point"(1) NAS-Port-Type = Wireless-802.11(1) Connect-Info = "CONNECT 54Mbps 802.11g"(1) EAP-Message = 0x020000140173616b65406b617a72656e612e6b7a(1) NAS-IP-Address = 89.250.80.136(1) NAS-Port = 1(1) NAS-Port-Id = "STA port # 1"(1) # Executing section authorize from file /etc/freeradius/sites-enabled/eduroam(1) authorize {(1) policy filter_username {(1) if (&User-Name) {(1) if (&User-Name) -> TRUE(1) if (&User-Name) {(1) if (&User-Name =~ / /) {(1) ERROR: regex failed: Found null in subject at offset 15. String unsafe for evaluation(1) ERROR: Failed retrieving values required to evaluate condition(1) if (&User-Name =~ /@[^@]*@/ ) {(1) ERROR: regex failed: Found null in subject at offset 15. String unsafe for evaluation(1) ERROR: Failed retrieving values required to evaluate condition(1) if (&User-Name =~ /\.\./ ) {(1) ERROR: regex failed: Found null in subject at offset 15. String unsafe for evaluation(1) ERROR: Failed retrieving values required to evaluate condition(1) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {(1) ERROR: regex failed: Found null in subject at offset 15. String unsafe for evaluation(1) ERROR: Failed retrieving values required to evaluate condition(1) if (&User-Name =~ /\.$/) {(1) ERROR: regex failed: Found null in subject at offset 15. String unsafe for evaluation(1) ERROR: Failed retrieving values required to evaluate condition(1) if (&User-Name =~ /(a)\./) {(1) ERROR: regex failed: Found null in subject at offset 15. String unsafe for evaluation(1) ERROR: Failed retrieving values required to evaluate condition(1) } # if (&User-Name) = notfound(1) } # policy filter_username = notfound(1) update request {(1) Operator-Name := "1kazrena.kz"(1) } # update request = noop(1) auth_log: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d(1) auth_log: --> /var/log/freeradius/radacct/89.250.80.136/auth-detail-20190417(1) auth_log: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d expands to /var/log/freeradius/radacct/89.250.80.136/auth-detail-20190417(1) auth_log: EXPAND %t(1) auth_log: --> Wed Apr 17 10:11:36 2019(1) [auth_log] = ok(1) suffix: Checking for suffix after "@"(1) suffix: Looking up realm "kazrena.kz" for User-Name = "sake(a)kazrena.kz"(1) suffix: Found realm "kazrena.kz"(1) suffix: Adding Realm = "kazrena.kz"(1) suffix: Authentication realm is LOCAL(1) [suffix] = okrlm_sql (sql): Reserved connection (1)rlm_sql (sql): Released connection (1)(1) [sql] = notfound(1) eap: Peer sent EAP Response (code 2) ID 0 length 20(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 /etc/freeradius/sites-enabled/eduroam(1) authenticate {(1) eap: Peer sent packet with method EAP Identity (1)(1) eap: Calling submodule eap_md5 to process data(1) eap_md5: Issuing MD5 Challenge(1) eap: Sending EAP Request (code 1) ID 1 length 22(1) eap: EAP session adding &reply:State = 0x3afb18fa3afa1cb6(1) [eap] = handled(1) } # authenticate = handled(1) Using Post-Auth-Type Challenge(1) Post-Auth-Type sub-section not found. Ignoring.(1) # Executing group from file /etc/freeradius/sites-enabled/eduroam(1) Sent Access-Challenge Id 0 from 89.250.80.130:1812 to 89.250.80.136:1117 length 0(1) EAP-Message = 0x010100160410cc91782bcf8cf2f0b4de0ed50943dc6e(1) Message-Authenticator = 0x00000000000000000000000000000000(1) State = 0x3afb18fa3afa1cb6e9d755993b5205d3(1) Finished requestWaking up in 4.9 seconds.(2) Received Access-Request Id 1 from 89.250.80.136:1117 to 89.250.80.130:1812 length 217(2) Message-Authenticator = 0x0a57010a512eb82b18c69d4f1c2c0a25(2) Service-Type = Framed-User(2) User-Name = "sake(a)kazrena.kz"(2) Framed-MTU = 1488(2) State = 0x3afb18fa3afa1cb6e9d755993b5205d3(2) Called-Station-Id = "00-22-B0-0C-84-71:eduroam"(2) Calling-Station-Id = "18-F4-6A-33-41-A5"(2) NAS-Identifier = "D-Link Access Point"(2) NAS-Port-Type = Wireless-802.11(2) Connect-Info = "CONNECT 54Mbps 802.11g"(2) EAP-Message = 0x020100060319(2) NAS-IP-Address = 89.250.80.136(2) NAS-Port = 1(2) NAS-Port-Id = "STA port # 1"(2) session-state: No cached attributes(2) # Executing section authorize from file /etc/freeradius/sites-enabled/eduroam(2) authorize {(2) policy filter_username {(2) if (&User-Name) {(2) if (&User-Name) -> TRUE(2) if (&User-Name) {(2) if (&User-Name =~ / /) {(2) ERROR: regex failed: Found null in subject at offset 15. String unsafe for evaluation(2) ERROR: Failed retrieving values required to evaluate condition(2) if (&User-Name =~ /@[^@]*@/ ) {(2) ERROR: regex failed: Found null in subject at offset 15. String unsafe for evaluation(2) ERROR: Failed retrieving values required to evaluate condition(2) if (&User-Name =~ /\.\./ ) {(2) ERROR: regex failed: Found null in subject at offset 15. String unsafe for evaluation(2) ERROR: Failed retrieving values required to evaluate condition(2) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {(2) ERROR: regex failed: Found null in subject at offset 15. String unsafe for evaluation(2) ERROR: Failed retrieving values required to evaluate condition(2) if (&User-Name =~ /\.$/) {(2) ERROR: regex failed: Found null in subject at offset 15. String unsafe for evaluation(2) ERROR: Failed retrieving values required to evaluate condition(2) if (&User-Name =~ /(a)\./) {(2) ERROR: regex failed: Found null in subject at offset 15. String unsafe for evaluation(2) ERROR: Failed retrieving values required to evaluate condition(2) } # if (&User-Name) = notfound(2) } # policy filter_username = notfound(2) update request {(2) Operator-Name := "1kazrena.kz"(2) } # update request = noop(2) auth_log: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d(2) auth_log: --> /var/log/freeradius/radacct/89.250.80.136/auth-detail-20190417(2) auth_log: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d expands to /var/log/freeradius/radacct/89.250.80.136/auth-detail-20190417(2) auth_log: EXPAND %t(2) auth_log: --> Wed Apr 17 10:11:36 2019(2) [auth_log] = ok(2) suffix: Checking for suffix after "@"(2) suffix: Looking up realm "kazrena.kz" for User-Name = "sake(a)kazrena.kz"(2) suffix: Found realm "kazrena.kz"(2) suffix: Adding Realm = "kazrena.kz"(2) suffix: Authentication realm is LOCAL(2) [suffix] = okrlm_sql (sql): Reserved connection (2)rlm_sql (sql): Released connection (2)(2) [sql] = notfound(2) eap: Peer sent EAP Response (code 2) ID 1 length 6(2) eap: No EAP Start, assuming it's an on-going EAP conversation(2) [eap] = updated(2) } # authorize = updated(2) Found Auth-Type = eap(2) # Executing group from file /etc/freeradius/sites-enabled/eduroam(2) authenticate {(2) eap: Expiring EAP session with state 0x3afb18fa3afa1cb6(2) eap: Finished EAP session with state 0x3afb18fa3afa1cb6(2) eap: Previous EAP request found for state 0x3afb18fa3afa1cb6, released from the list(2) eap: Peer sent packet with method EAP NAK (3)(2) eap: Found mutually acceptable type PEAP (25)(2) eap: Calling submodule eap_peap to process data(2) eap_peap: Initiating new EAP-TLS session(2) eap_peap: [eaptls start] = request(2) eap: Sending EAP Request (code 1) ID 2 length 6(2) eap: EAP session adding &reply:State = 0x3afb18fa3bf901b6(2) [eap] = handled(2) } # authenticate = handled(2) Using Post-Auth-Type Challenge(2) Post-Auth-Type sub-section not found. Ignoring.(2) # Executing group from file /etc/freeradius/sites-enabled/eduroam(2) Sent Access-Challenge Id 1 from 89.250.80.130:1812 to 89.250.80.136:1117 length 0(2) EAP-Message = 0x010200061920(2) Message-Authenticator = 0x00000000000000000000000000000000(2) State = 0x3afb18fa3bf901b6e9d755993b5205d3(2) Finished requestWaking up in 4.9 seconds.(3) Received Access-Request Id 2 from 89.250.80.136:1117 to 89.250.80.130:1812 length 324(3) Message-Authenticator = 0x8495cc0594550150eb963bb65b057942(3) Service-Type = Framed-User(3) User-Name = "sake(a)kazrena.kz"(3) Framed-MTU = 1488(3) State = 0x3afb18fa3bf901b6e9d755993b5205d3(3) Called-Station-Id = "00-22-B0-0C-84-71:eduroam"(3) Calling-Station-Id = "18-F4-6A-33-41-A5"(3) NAS-Identifier = "D-Link Access Point"(3) NAS-Port-Type = Wireless-802.11(3) Connect-Info = "CONNECT 54Mbps 802.11g"(3) EAP-Message = 0x0202007119800000006716030100620100005e03015cb6a77e7482ae1f4e5eeeb8675f1eb0a667e22320854510c1cd348f0fa8787300001cc014c013003900330035002fc00ac00900380032000a00130005000401000019000a0006000400170018000b0002010000170000ff01000100(3) NAS-IP-Address = 89.250.80.136(3) NAS-Port = 1(3) NAS-Port-Id = "STA port # 1"(3) session-state: No cached attributes(3) # Executing section authorize from file /etc/freeradius/sites-enabled/eduroam(3) authorize {(3) policy filter_username {(3) if (&User-Name) {(3) if (&User-Name) -> TRUE(3) if (&User-Name) {(3) if (&User-Name =~ / /) {(3) ERROR: regex failed: Found null in subject at offset 15. String unsafe for evaluation(3) ERROR: Failed retrieving values required to evaluate condition(3) if (&User-Name =~ /@[^@]*@/ ) {(3) ERROR: regex failed: Found null in subject at offset 15. String unsafe for evaluation(3) ERROR: Failed retrieving values required to evaluate condition(3) if (&User-Name =~ /\.\./ ) {(3) ERROR: regex failed: Found null in subject at offset 15. String unsafe for evaluation(3) ERROR: Failed retrieving values required to evaluate condition(3) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {(3) ERROR: regex failed: Found null in subject at offset 15. String unsafe for evaluation(3) ERROR: Failed retrieving values required to evaluate condition(3) if (&User-Name =~ /\.$/) {(3) ERROR: regex failed: Found null in subject at offset 15. String unsafe for evaluation(3) ERROR: Failed retrieving values required to evaluate condition(3) if (&User-Name =~ /(a)\./) {(3) ERROR: regex failed: Found null in subject at offset 15. String unsafe for evaluation(3) ERROR: Failed retrieving values required to evaluate condition(3) } # if (&User-Name) = notfound(3) } # policy filter_username = notfound(3) update request {(3) Operator-Name := "1kazrena.kz"(3) } # update request = noop(3) auth_log: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d(3) auth_log: --> /var/log/freeradius/radacct/89.250.80.136/auth-detail-20190417(3) auth_log: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d expands to /var/log/freeradius/radacct/89.250.80.136/auth-detail-20190417(3) auth_log: EXPAND %t(3) auth_log: --> Wed Apr 17 10:11:36 2019(3) [auth_log] = ok(3) suffix: Checking for suffix after "@"(3) suffix: Looking up realm "kazrena.kz" for User-Name = "sake(a)kazrena.kz"(3) suffix: Found realm "kazrena.kz"(3) suffix: Adding Realm = "kazrena.kz"(3) suffix: Authentication realm is LOCAL(3) [suffix] = okrlm_sql (sql): Reserved connection (3)rlm_sql (sql): Released connection (3)(3) [sql] = notfound(3) eap: Peer sent EAP Response (code 2) ID 2 length 113(3) eap: Continuing tunnel setup(3) [eap] = ok(3) } # authorize = ok(3) Found Auth-Type = eap(3) # Executing group from file /etc/freeradius/sites-enabled/eduroam(3) authenticate {(3) eap: Expiring EAP session with state 0x3afb18fa3bf901b6(3) eap: Finished EAP session with state 0x3afb18fa3bf901b6(3) eap: Previous EAP request found for state 0x3afb18fa3bf901b6, released from the list(3) eap: Peer sent packet with method EAP PEAP (25)(3) eap: Calling submodule eap_peap to process data(3) eap_peap: Continuing EAP-TLS(3) eap_peap: Peer indicated complete TLS record size will be 103 bytes(3) eap_peap: Got complete TLS record (103 bytes)(3) eap_peap: [eaptls verify] = length included(3) eap_peap: (other): before/accept initialization(3) eap_peap: TLS_accept: before/accept initialization(3) eap_peap: <<< recv TLS 1.0 Handshake [length 0062], ClientHello (3) eap_peap: TLS_accept: unknown state(3) eap_peap: >>> send TLS 1.0 Handshake [length 0039], ServerHello (3) eap_peap: TLS_accept: unknown state(3) eap_peap: >>> send TLS 1.0 Handshake [length 08d3], Certificate (3) eap_peap: TLS_accept: unknown state(3) eap_peap: >>> send TLS 1.0 Handshake [length 014b], ServerKeyExchange (3) eap_peap: TLS_accept: unknown state(3) eap_peap: >>> send TLS 1.0 Handshake [length 0004], ServerHelloDone (3) eap_peap: TLS_accept: unknown state(3) eap_peap: TLS_accept: unknown state(3) eap_peap: TLS_accept: unknown state(3) eap_peap: TLS_accept: Need to read more data: unknown state(3) eap_peap: TLS_accept: Need to read more data: unknown state(3) eap_peap: In SSL Handshake Phase(3) eap_peap: In SSL Accept mode(3) eap_peap: [eaptls process] = handled(3) eap: Sending EAP Request (code 1) ID 3 length 1004(3) eap: EAP session adding &reply:State = 0x3afb18fa38f801b6(3) [eap] = handled(3) } # authenticate = handled(3) Using Post-Auth-Type Challenge(3) Post-Auth-Type sub-section not found. Ignoring.(3) # Executing group from file /etc/freeradius/sites-enabled/eduroam(3) Sent Access-Challenge Id 2 from 89.250.80.130:1812 to 89.250.80.136:1117 length 0(3) EAP-Message = 0x010303ec19c000000a6f1603010039020000350301099c353de652a215f2e89fc4efd6f03f7c9fb53511e78626c9835c5ea36069ef00c01400000dff01000100000b00040300010216030108d30b0008cf0008cc0003de308203da308202c2a003020102020101300d06092a864886f70d01010b050030(3) Message-Authenticator = 0x00000000000000000000000000000000(3) State = 0x3afb18fa38f801b6e9d755993b5205d3(3) Finished requestWaking up in 4.9 seconds.(4) Received Access-Request Id 3 from 89.250.80.136:1117 to 89.250.80.130:1812 length 217(4) Message-Authenticator = 0x96801098f73309b7c2e1ad7ed2c4685f(4) Service-Type = Framed-User(4) User-Name = "sake(a)kazrena.kz"(4) Framed-MTU = 1488(4) State = 0x3afb18fa38f801b6e9d755993b5205d3(4) Called-Station-Id = "00-22-B0-0C-84-71:eduroam"(4) Calling-Station-Id = "18-F4-6A-33-41-A5"(4) NAS-Identifier = "D-Link Access Point"(4) NAS-Port-Type = Wireless-802.11(4) Connect-Info = "CONNECT 54Mbps 802.11g"(4) EAP-Message = 0x020300061900(4) NAS-IP-Address = 89.250.80.136(4) NAS-Port = 1(4) NAS-Port-Id = "STA port # 1"(4) session-state: No cached attributes(4) # Executing section authorize from file /etc/freeradius/sites-enabled/eduroam(4) authorize {(4) policy filter_username {(4) if (&User-Name) {(4) if (&User-Name) -> TRUE(4) if (&User-Name) {(4) if (&User-Name =~ / /) {(4) ERROR: regex failed: Found null in subject at offset 15. String unsafe for evaluation(4) ERROR: Failed retrieving values required to evaluate condition(4) if (&User-Name =~ /@[^@]*@/ ) {(4) ERROR: regex failed: Found null in subject at offset 15. String unsafe for evaluation(4) ERROR: Failed retrieving values required to evaluate condition(4) if (&User-Name =~ /\.\./ ) {(4) ERROR: regex failed: Found null in subject at offset 15. String unsafe for evaluation(4) ERROR: Failed retrieving values required to evaluate condition(4) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {(4) ERROR: regex failed: Found null in subject at offset 15. String unsafe for evaluation(4) ERROR: Failed retrieving values required to evaluate condition(4) if (&User-Name =~ /\.$/) {(4) ERROR: regex failed: Found null in subject at offset 15. String unsafe for evaluation(4) ERROR: Failed retrieving values required to evaluate condition(4) if (&User-Name =~ /(a)\./) {(4) ERROR: regex failed: Found null in subject at offset 15. String unsafe for evaluation(4) ERROR: Failed retrieving values required to evaluate condition(4) } # if (&User-Name) = notfound(4) } # policy filter_username = notfound(4) update request {(4) Operator-Name := "1kazrena.kz"(4) } # update request = noop(4) auth_log: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d(4) auth_log: --> /var/log/freeradius/radacct/89.250.80.136/auth-detail-20190417(4) auth_log: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d expands to /var/log/freeradius/radacct/89.250.80.136/auth-detail-20190417(4) auth_log: EXPAND %t(4) auth_log: --> Wed Apr 17 10:11:36 2019(4) [auth_log] = ok(4) suffix: Checking for suffix after "@"(4) suffix: Looking up realm "kazrena.kz" for User-Name = "sake(a)kazrena.kz"(4) suffix: Found realm "kazrena.kz"(4) suffix: Adding Realm = "kazrena.kz"(4) suffix: Authentication realm is LOCAL(4) [suffix] = okrlm_sql (sql): Reserved connection (4)rlm_sql (sql): Released connection (4)(4) [sql] = notfound(4) eap: Peer sent EAP Response (code 2) ID 3 length 6(4) eap: Continuing tunnel setup(4) [eap] = ok(4) } # authorize = ok(4) Found Auth-Type = eap(4) # Executing group from file /etc/freeradius/sites-enabled/eduroam(4) authenticate {(4) eap: Expiring EAP session with state 0x3afb18fa38f801b6(4) eap: Finished EAP session with state 0x3afb18fa38f801b6(4) eap: Previous EAP request found for state 0x3afb18fa38f801b6, released from the list(4) eap: Peer sent packet with method EAP PEAP (25)(4) eap: Calling submodule eap_peap to process data(4) eap_peap: Continuing EAP-TLS(4) eap_peap: Peer ACKed our handshake fragment(4) eap_peap: [eaptls verify] = request(4) eap_peap: [eaptls process] = handled(4) eap: Sending EAP Request (code 1) ID 4 length 1000(4) eap: EAP session adding &reply:State = 0x3afb18fa39ff01b6(4) [eap] = handled(4) } # authenticate = handled(4) Using Post-Auth-Type Challenge(4) Post-Auth-Type sub-section not found. Ignoring.(4) # Executing group from file /etc/freeradius/sites-enabled/eduroam(4) Sent Access-Challenge Id 3 from 89.250.80.130:1812 to 89.250.80.136:1117 length 0(4) EAP-Message = 0x010403e819407a219295f1db7270c48b8878860c93007761054be88bfa5880ec08f26cf7cf5b6900bd5a95a9bd545bc5deccedb3a73d0ab4c48d9353ba4c32f6907212d55bc9222e18d0ae1058ca800004e8308204e4308203cca003020102020900cf684e8f95f0a6e9300d06092a864886f70d01010b(4) Message-Authenticator = 0x00000000000000000000000000000000(4) State = 0x3afb18fa39ff01b6e9d755993b5205d3(4) Finished requestWaking up in 4.9 seconds.(5) Received Access-Request Id 4 from 89.250.80.136:1117 to 89.250.80.130:1812 length 217(5) Message-Authenticator = 0x3a6f5a124ae9d7b9579b0a7c2fdca9dc(5) Service-Type = Framed-User(5) User-Name = "sake(a)kazrena.kz"(5) Framed-MTU = 1488(5) State = 0x3afb18fa39ff01b6e9d755993b5205d3(5) Called-Station-Id = "00-22-B0-0C-84-71:eduroam"(5) Calling-Station-Id = "18-F4-6A-33-41-A5"(5) NAS-Identifier = "D-Link Access Point"(5) NAS-Port-Type = Wireless-802.11(5) Connect-Info = "CONNECT 54Mbps 802.11g"(5) EAP-Message = 0x020400061900(5) NAS-IP-Address = 89.250.80.136(5) NAS-Port = 1(5) NAS-Port-Id = "STA port # 1"(5) session-state: No cached attributes(5) # Executing section authorize from file /etc/freeradius/sites-enabled/eduroam(5) authorize {(5) policy filter_username {(5) if (&User-Name) {(5) if (&User-Name) -> TRUE(5) if (&User-Name) {(5) if (&User-Name =~ / /) {(5) ERROR: regex failed: Found null in subject at offset 15. String unsafe for evaluation(5) ERROR: Failed retrieving values required to evaluate condition(5) if (&User-Name =~ /@[^@]*@/ ) {(5) ERROR: regex failed: Found null in subject at offset 15. String unsafe for evaluation(5) ERROR: Failed retrieving values required to evaluate condition(5) if (&User-Name =~ /\.\./ ) {(5) ERROR: regex failed: Found null in subject at offset 15. String unsafe for evaluation(5) ERROR: Failed retrieving values required to evaluate condition(5) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {(5) ERROR: regex failed: Found null in subject at offset 15. String unsafe for evaluation(5) ERROR: Failed retrieving values required to evaluate condition(5) if (&User-Name =~ /\.$/) {(5) ERROR: regex failed: Found null in subject at offset 15. String unsafe for evaluation(5) ERROR: Failed retrieving values required to evaluate condition(5) if (&User-Name =~ /(a)\./) {(5) ERROR: regex failed: Found null in subject at offset 15. String unsafe for evaluation(5) ERROR: Failed retrieving values required to evaluate condition(5) } # if (&User-Name) = notfound(5) } # policy filter_username = notfound(5) update request {(5) Operator-Name := "1kazrena.kz"(5) } # update request = noop(5) auth_log: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d(5) auth_log: --> /var/log/freeradius/radacct/89.250.80.136/auth-detail-20190417(5) auth_log: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d expands to /var/log/freeradius/radacct/89.250.80.136/auth-detail-20190417(5) auth_log: EXPAND %t(5) auth_log: --> Wed Apr 17 10:11:36 2019(5) [auth_log] = ok(5) suffix: Checking for suffix after "@"(5) suffix: Looking up realm "kazrena.kz" for User-Name = "sake(a)kazrena.kz"(5) suffix: Found realm "kazrena.kz"(5) suffix: Adding Realm = "kazrena.kz"(5) suffix: Authentication realm is LOCAL(5) [suffix] = okrlm_sql (sql): Reserved connection (0)rlm_sql (sql): Released connection (0)(5) [sql] = notfound(5) eap: Peer sent EAP Response (code 2) ID 4 length 6(5) eap: Continuing tunnel setup(5) [eap] = ok(5) } # authorize = ok(5) Found Auth-Type = eap(5) # Executing group from file /etc/freeradius/sites-enabled/eduroam(5) authenticate {(5) eap: Expiring EAP session with state 0x3afb18fa39ff01b6(5) eap: Finished EAP session with state 0x3afb18fa39ff01b6(5) eap: Previous EAP request found for state 0x3afb18fa39ff01b6, released from the list(5) eap: Peer sent packet with method EAP PEAP (25)(5) eap: Calling submodule eap_peap to process data(5) eap_peap: Continuing EAP-TLS(5) eap_peap: Peer ACKed our handshake fragment(5) eap_peap: [eaptls verify] = request(5) eap_peap: [eaptls process] = handled(5) eap: Sending EAP Request (code 1) ID 5 length 689(5) eap: EAP session adding &reply:State = 0x3afb18fa3efe01b6(5) [eap] = handled(5) } # authenticate = handled(5) Using Post-Auth-Type Challenge(5) Post-Auth-Type sub-section not found. Ignoring.(5) # Executing group from file /etc/freeradius/sites-enabled/eduroam(5) Sent Access-Challenge Id 4 from 89.250.80.130:1812 to 89.250.80.136:1117 length 0(5) EAP-Message = 0x010502b119000530030101ff30360603551d1f042f302d302ba029a0278625687474703a2f2f7777772e6578616d706c652e6f72672f6578616d706c655f63612e63726c300d06092a864886f70d01010b050003820101001c3d9f68feabbf04c370f37300ee33f028922b230d2d17c1f680cb9f567eac(5) Message-Authenticator = 0x00000000000000000000000000000000(5) State = 0x3afb18fa3efe01b6e9d755993b5205d3(5) Finished requestWaking up in 4.9 seconds.(6) Received Access-Request Id 5 from 89.250.80.136:1117 to 89.250.80.130:1812 length 228(6) Message-Authenticator = 0x266507d04cf569b49a16bed43675f9d6(6) Service-Type = Framed-User(6) User-Name = "sake(a)kazrena.kz"(6) Framed-MTU = 1488(6) State = 0x3afb18fa3efe01b6e9d755993b5205d3(6) Called-Station-Id = "00-22-B0-0C-84-71:eduroam"(6) Calling-Station-Id = "18-F4-6A-33-41-A5"(6) NAS-Identifier = "D-Link Access Point"(6) NAS-Port-Type = Wireless-802.11(6) Connect-Info = "CONNECT 54Mbps 802.11g"(6) EAP-Message = 0x0205001119800000000715030100020230(6) NAS-IP-Address = 89.250.80.136(6) NAS-Port = 1(6) NAS-Port-Id = "STA port # 1"(6) session-state: No cached attributes(6) # Executing section authorize from file /etc/freeradius/sites-enabled/eduroam(6) authorize {(6) policy filter_username {(6) if (&User-Name) {(6) if (&User-Name) -> TRUE(6) if (&User-Name) {(6) if (&User-Name =~ / /) {(6) ERROR: regex failed: Found null in subject at offset 15. String unsafe for evaluation(6) ERROR: Failed retrieving values required to evaluate condition(6) if (&User-Name =~ /@[^@]*@/ ) {(6) ERROR: regex failed: Found null in subject at offset 15. String unsafe for evaluation(6) ERROR: Failed retrieving values required to evaluate condition(6) if (&User-Name =~ /\.\./ ) {(6) ERROR: regex failed: Found null in subject at offset 15. String unsafe for evaluation(6) ERROR: Failed retrieving values required to evaluate condition(6) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {(6) ERROR: regex failed: Found null in subject at offset 15. String unsafe for evaluation(6) ERROR: Failed retrieving values required to evaluate condition(6) if (&User-Name =~ /\.$/) {(6) ERROR: regex failed: Found null in subject at offset 15. String unsafe for evaluation(6) ERROR: Failed retrieving values required to evaluate condition(6) if (&User-Name =~ /(a)\./) {(6) ERROR: regex failed: Found null in subject at offset 15. String unsafe for evaluation(6) ERROR: Failed retrieving values required to evaluate condition(6) } # if (&User-Name) = notfound(6) } # policy filter_username = notfound(6) update request {(6) Operator-Name := "1kazrena.kz"(6) } # update request = noop(6) auth_log: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d(6) auth_log: --> /var/log/freeradius/radacct/89.250.80.136/auth-detail-20190417(6) auth_log: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d expands to /var/log/freeradius/radacct/89.250.80.136/auth-detail-20190417(6) auth_log: EXPAND %t(6) auth_log: --> Wed Apr 17 10:11:36 2019(6) [auth_log] = ok(6) suffix: Checking for suffix after "@"(6) suffix: Looking up realm "kazrena.kz" for User-Name = "sake(a)kazrena.kz"(6) suffix: Found realm "kazrena.kz"(6) suffix: Adding Realm = "kazrena.kz"(6) suffix: Authentication realm is LOCAL(6) [suffix] = okrlm_sql (sql): Reserved connection (1)rlm_sql (sql): Released connection (1)(6) [sql] = notfound(6) eap: Peer sent EAP Response (code 2) ID 5 length 17(6) eap: Continuing tunnel setup(6) [eap] = ok(6) } # authorize = ok(6) Found Auth-Type = eap(6) # Executing group from file /etc/freeradius/sites-enabled/eduroam(6) authenticate {(6) eap: Expiring EAP session with state 0x3afb18fa3efe01b6(6) eap: Finished EAP session with state 0x3afb18fa3efe01b6(6) eap: Previous EAP request found for state 0x3afb18fa3efe01b6, released from the list(6) eap: Peer sent packet with method EAP PEAP (25)(6) eap: Calling submodule eap_peap to process data(6) eap_peap: Continuing EAP-TLS(6) eap_peap: Peer indicated complete TLS record size will be 7 bytes(6) eap_peap: Got complete TLS record (7 bytes)(6) eap_peap: [eaptls verify] = length included(6) eap_peap: <<< recv TLS 1.0 Alert [length 0002], fatal unknown_ca (6) eap_peap: ERROR: TLS Alert read:fatal:unknown CA(6) eap_peap: ERROR: TLS_accept: Failed in error(6) eap_peap: ERROR: Failed in __FUNCTION__ (SSL_read)(6) eap_peap: ERROR: error:14094418:SSL routines:ssl3_read_bytes:tlsv1 alert unknown ca(6) eap_peap: ERROR: error:140940E5:SSL routines:ssl3_read_bytes:ssl handshake failure(6) eap_peap: ERROR: System call (I/O) error (-1)(6) eap_peap: ERROR: TLS receive handshake failed during operation(6) eap_peap: ERROR: [eaptls process] = fail(6) eap: ERROR: Failed continuing EAP PEAP (25) session. EAP sub-module failed(6) eap: Sending EAP Failure (code 4) ID 5 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/sites-enabled/eduroam(6) Post-Auth-Type REJECT {(6) reply_log: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/reply-detail-%Y%m%d(6) reply_log: --> /var/log/freeradius/radacct/89.250.80.136/reply-detail-20190417(6) reply_log: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/reply-detail-%Y%m%d expands to /var/log/freeradius/radacct/89.250.80.136/reply-detail-20190417(6) reply_log: EXPAND %t(6) reply_log: --> Wed Apr 17 10:11:36 2019(6) [reply_log] = ok(6) sql: EXPAND .query(6) sql: --> .query(6) sql: WARNING: No such configuration item .query(6) [sql] = noop(6) } # Post-Auth-Type REJECT = ok(6) Delaying response for 1.000000 secondsWaking up in 0.3 seconds.Waking up in 0.6 seconds.(6) Sending delayed response(6) Sent Access-Reject Id 5 from 89.250.80.130:1812 to 89.250.80.136:1117 length 44(6) EAP-Message = 0x04050004(6) Message-Authenticator = 0x00000000000000000000000000000000Waking up in 3.9 seconds.(1) Cleaning up request packet ID 0 with timestamp +40(2) Cleaning up request packet ID 1 with timestamp +40(3) Cleaning up request packet ID 2 with timestamp +40(4) Cleaning up request packet ID 3 with timestamp +40(5) Cleaning up request packet ID 4 with timestamp +40(6) Cleaning up request packet ID 5 with timestamp +40Ready to process requests
What went wrong?
2
1
Hi there,
I configured to use FreeRadius + MS Active Directory + Google Authenticator to authenticate the VPN users. My question is, is there a good way to let user to generate the QR code themselves? or admin had manually to generate the QR codes and code links, so they can be sent to users. Any suggestions? thanks.
yayali
4
10
Dear colleagues
I'm trying to setup Freeradius IdP server for Eduroam service.
I followed the "how-tos" on wiki.geant.org but during the test of my
setup I'd got the following error messages:
===============================================================================
Ready to process requests
(1) Received Access-Request Id 0 from 89.250.80.136:1117 to
89.250.80.130:1812 length 213
(1) Message-Authenticator = 0x0083de2f19d2f059d3d800138a6f7374
(1) Service-Type = Framed-User
(1) User-Name = "sake(a)kazrena.kz"
(1) Framed-MTU = 1488
(1) Called-Station-Id = "00-22-B0-0C-84-71:eduroam"
(1) Calling-Station-Id = "18-F4-6A-33-41-A5"
(1) NAS-Identifier = "D-Link Access Point"
(1) NAS-Port-Type = Wireless-802.11
(1) Connect-Info = "CONNECT 54Mbps 802.11g"
(1) EAP-Message = 0x020000140173616b65406b617a72656e612e6b7a
(1) NAS-IP-Address = 89.250.80.136
(1) NAS-Port = 1
(1) NAS-Port-Id = "STA port # 1"
(1) # Executing section authorize from file
/etc/freeradius/sites-enabled/eduroam
(1) authorize {
(1) policy filter_username {
(1) if (&User-Name) {
(1) if (&User-Name) -> TRUE
(1) if (&User-Name) {
(1) if (&User-Name =~ / /) {
(1) ERROR: regex failed: Found null in subject at offset 15.
String unsafe for evaluation
(1) ERROR: Failed retrieving values required to evaluate condition
(1) if (&User-Name =~ /@[^@]*@/ ) {
(1) ERROR: regex failed: Found null in subject at offset 15.
String unsafe for evaluation
(1) ERROR: Failed retrieving values required to evaluate condition
(1) if (&User-Name =~ /\.\./ ) {
(1) ERROR: regex failed: Found null in subject at offset 15.
String unsafe for evaluation
(1) ERROR: Failed retrieving values required to evaluate condition
(1) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(1) ERROR: regex failed: Found null in subject at offset 15.
String unsafe for evaluation
(1) ERROR: Failed retrieving values required to evaluate condition
(1) if (&User-Name =~ /\.$/) {
(1) ERROR: regex failed: Found null in subject at offset 15.
String unsafe for evaluation
(1) ERROR: Failed retrieving values required to evaluate condition
(1) if (&User-Name =~ /(a)\./) {
(1) ERROR: regex failed: Found null in subject at offset 15.
String unsafe for evaluation
(1) ERROR: Failed retrieving values required to evaluate condition
(1) } # if (&User-Name) = notfound
(1) } # policy filter_username = notfound
(1) update request {
(1) Operator-Name := "1kazrena.kz"
(1) } # update request = noop
(1) auth_log: EXPAND
/var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d
(1) auth_log: -->
/var/log/freeradius/radacct/89.250.80.136/auth-detail-20190417
(1) auth_log:
/var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d
expands to /var/log/freeradius/radacct/89.250.80.136/auth-detail-20190417
(1) auth_log: EXPAND %t
(1) auth_log: --> Wed Apr 17 10:11:36 2019
(1) [auth_log] = ok
(1) suffix: Checking for suffix after "@"
(1) suffix: Looking up realm "kazrena.kz" for User-Name = "sake(a)kazrena.kz"
(1) suffix: Found realm "kazrena.kz"
(1) suffix: Adding Realm = "kazrena.kz"
(1) suffix: Authentication realm is LOCAL
(1) [suffix] = ok
rlm_sql (sql): Reserved connection (1)
rlm_sql (sql): Released connection (1)
(1) [sql] = notfound
(1) eap: Peer sent EAP Response (code 2) ID 0 length 20
(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 /etc/freeradius/sites-enabled/eduroam
(1) authenticate {
(1) eap: Peer sent packet with method EAP Identity (1)
(1) eap: Calling submodule eap_md5 to process data
(1) eap_md5: Issuing MD5 Challenge
(1) eap: Sending EAP Request (code 1) ID 1 length 22
(1) eap: EAP session adding &reply:State = 0x3afb18fa3afa1cb6
(1) [eap] = handled
(1) } # authenticate = handled
(1) Using Post-Auth-Type Challenge
(1) Post-Auth-Type sub-section not found. Ignoring.
(1) # Executing group from file /etc/freeradius/sites-enabled/eduroam
(1) Sent Access-Challenge Id 0 from 89.250.80.130:1812 to
89.250.80.136:1117 length 0
(1) EAP-Message = 0x010100160410cc91782bcf8cf2f0b4de0ed50943dc6e
(1) Message-Authenticator = 0x00000000000000000000000000000000
(1) State = 0x3afb18fa3afa1cb6e9d755993b5205d3
(1) Finished request
=======================================================================================
I couldn't understand what's configured wrong. Could you advice me what
to do to fix the problem?
Regards, Talgat Nurlybayev
2
1
Hello Alan Dekok,
I have this error on freeradius 3.0.18
Mon Apr 15 13:56:23 2019 : Error: Received conflicting packet from client
GGSN1OSN port 61726 - ID: 187 due to unfinished request in module rediswho.
Giving up on old request.
Can anyone help please ?
Best Regards,
Talel
2
4
Hi all, thanks for your help in advance. I have spent the last week trying
to solve this issue, I have read and read all information I can find. I have
set up a raspberry pi 3, with freeradius 3.0 and openssl. For the freeradius
I have followed the guides by each detail in full, the only exception is
replacing etc/raddb with etc/freeradius/3.0. The freeradius server is set up
and running and I have completed testing with local host using radtest and
eapol. Test results:
PAP
Localhost = Ok, passes - used radtest bob hello localhost 0 testing123
EAP (using EAPOL)
PEAPv0_EAP-MSCHAPv2 = Ok, Passes
EAP-TTLS_EAP-MSCHAPv2 = Ok, Passes
Good so far, next I edit EAPOL test scripts to uncomment so as to use the
test certs for testing. The only thing I changed here was
/etc/raddb/certs/ca.der to /etc/freeradius/3.0/certs/ca.der so as to point
test utility to the correct directory.
EAP (using EAPOL with cert check uncommented)
PEAPv0_EAP-MSCHAPv2 = Fails, TLS Alert read:fatal:unknown CA
EAP-TTLS_EAP-MSCHAPv2 = Fails, TLS Alert read:fatal:unknown CA
I followed deployingradius, and used make to build certs, they are all
populated in the directory, but tests repeatedly fail. This same error comes
up repeatedly across peap and ttls using cert:
Sun Apr 14 16:56:49 2019 : ERROR: (9) eap_ttls: TLS Alert read:fatal:unknown
CA
Sun Apr 14 16:56:49 2019 : Debug: (9) eap_ttls: TLS_accept: Need to read
more data: SSLv3/TLS write server done
Sun Apr 14 16:56:49 2019 : ERROR: (9) eap_ttls: Failed in __FUNCTION__
(SSL_read): ../ssl/record/rec_layer_s3.c[1407]:error:14094418:SSL
routines:ssl3_read_bytes:tlsv1 alert unknown ca
Sun Apr 14 16:56:49 2019 : ERROR: (9) eap_ttls: System call (I/O) error (-1)
Sun Apr 14 16:56:49 2019 : ERROR: (9) eap_ttls: TLS receive handshake failed
during operation
Sun Apr 14 16:56:49 2019 : ERROR: (9) eap_ttls: [eaptls process] = fail
Sun Apr 14 16:56:49 2019 : ERROR: (9) eap: Failed continuing EAP TTLS (21)
session. EAP sub-module failed
I am very new to radius, and I am trying to setup the server to test with
some headless devices, and they need to be able to support PEAP, TLS, and
TTLS with certs. I went as far as setting a completely identical server on
another Pi and tried with production certificates, with same error. The only
thing I notice different is that when I access the network with my iphone,
the public cert it sends my iphone is completely different than any of the
certs in /etc/freeradius/3.0/certs/.
Verbose log:
Sun Apr 14 16:55:58 2019 : Info: Ready to process requests
Sun Apr 14 16:56:24 2019 : Debug: (0) Received Access-Request Id 0 from
127.0.0.1:44837 to 127.0.0.1:1812 length 132
Sun Apr 14 16:56:24 2019 : Debug: (0) User-Name = "anonymous"
Sun Apr 14 16:56:24 2019 : Debug: (0) NAS-IP-Address = 127.0.0.1
Sun Apr 14 16:56:24 2019 : Debug: (0) Calling-Station-Id =
"02-00-00-00-00-01"
Sun Apr 14 16:56:24 2019 : Debug: (0) Framed-MTU = 1400
Sun Apr 14 16:56:24 2019 : Debug: (0) NAS-Port-Type = Wireless-802.11
Sun Apr 14 16:56:24 2019 : Debug: (0) Service-Type = Framed-User
Sun Apr 14 16:56:24 2019 : Debug: (0) Connect-Info = "CONNECT 11Mbps
802.11b"
Sun Apr 14 16:56:24 2019 : Debug: (0) EAP-Message =
0x0200000e01616e6f6e796d6f7573
Sun Apr 14 16:56:24 2019 : Debug: (0) Message-Authenticator =
0xead9e659e3e79e40d782c2383711cff4
Sun Apr 14 16:56:24 2019 : Debug: (0) session-state: No State attribute
Sun Apr 14 16:56:24 2019 : Debug: (0) # Executing section authorize from
file /etc/freeradius/3.0/sites-enabled/default
Sun Apr 14 16:56:24 2019 : Debug: (0) authorize {
Sun Apr 14 16:56:24 2019 : Debug: (0) policy filter_username {
Sun Apr 14 16:56:24 2019 : Debug: (0) if (&User-Name) {
Sun Apr 14 16:56:24 2019 : Debug: (0) if (&User-Name) -> TRUE
Sun Apr 14 16:56:24 2019 : Debug: (0) if (&User-Name) {
Sun Apr 14 16:56:24 2019 : Debug: (0) if (&User-Name =~ / /) {
Sun Apr 14 16:56:24 2019 : Debug: No matches
Sun Apr 14 16:56:24 2019 : Debug: (0) if (&User-Name =~ / /) ->
FALSE
Sun Apr 14 16:56:24 2019 : Debug: (0) if (&User-Name =~ /@[^@]*@/ )
{
Sun Apr 14 16:56:24 2019 : Debug: No matches
Sun Apr 14 16:56:24 2019 : Debug: (0) if (&User-Name =~ /@[^@]*@/ )
-> FALSE
Sun Apr 14 16:56:24 2019 : Debug: (0) if (&User-Name =~ /\.\./ ) {
Sun Apr 14 16:56:24 2019 : Debug: No matches
Sun Apr 14 16:56:24 2019 : Debug: (0) if (&User-Name =~ /\.\./ ) ->
FALSE
Sun Apr 14 16:56:24 2019 : Debug: (0) if ((&User-Name =~ /@/) &&
(&User-Name !~ /(a)(.+)\.(.+)$/)) {
Sun Apr 14 16:56:24 2019 : Debug: No matches
Sun Apr 14 16:56:24 2019 : Debug: (0) if ((&User-Name =~ /@/) &&
(&User-Name !~ /(a)(.+)\.(.+)$/)) -> FALSE
Sun Apr 14 16:56:24 2019 : Debug: (0) if (&User-Name =~ /\.$/) {
Sun Apr 14 16:56:24 2019 : Debug: No matches
Sun Apr 14 16:56:24 2019 : Debug: (0) if (&User-Name =~ /\.$/) ->
FALSE
Sun Apr 14 16:56:24 2019 : Debug: (0) if (&User-Name =~ /(a)\./) {
Sun Apr 14 16:56:24 2019 : Debug: No matches
Sun Apr 14 16:56:24 2019 : Debug: (0) if (&User-Name =~ /(a)\./) ->
FALSE
Sun Apr 14 16:56:24 2019 : Debug: (0) } # if (&User-Name) = notfound
Sun Apr 14 16:56:24 2019 : Debug: (0) } # policy filter_username =
notfound
Sun Apr 14 16:56:24 2019 : Debug: (0) modsingle[authorize]: calling
preprocess (rlm_preprocess)
Sun Apr 14 16:56:24 2019 : Debug: (0) modsingle[authorize]: returned
from preprocess (rlm_preprocess)
Sun Apr 14 16:56:24 2019 : Debug: (0) [preprocess] = ok
Sun Apr 14 16:56:24 2019 : Debug: (0) modsingle[authorize]: calling chap
(rlm_chap)
Sun Apr 14 16:56:24 2019 : Debug: (0) modsingle[authorize]: returned
from chap (rlm_chap)
Sun Apr 14 16:56:24 2019 : Debug: (0) [chap] = noop
Sun Apr 14 16:56:24 2019 : Debug: (0) modsingle[authorize]: calling
mschap (rlm_mschap)
Sun Apr 14 16:56:24 2019 : Debug: (0) modsingle[authorize]: returned
from mschap (rlm_mschap)
Sun Apr 14 16:56:24 2019 : Debug: (0) [mschap] = noop
Sun Apr 14 16:56:24 2019 : Debug: (0) modsingle[authorize]: calling
digest (rlm_digest)
Sun Apr 14 16:56:24 2019 : Debug: (0) modsingle[authorize]: returned
from digest (rlm_digest)
Sun Apr 14 16:56:24 2019 : Debug: (0) [digest] = noop
Sun Apr 14 16:56:24 2019 : Debug: (0) modsingle[authorize]: calling
suffix (rlm_realm)
Sun Apr 14 16:56:24 2019 : Debug: (0) suffix: Checking for suffix after "@"
Sun Apr 14 16:56:24 2019 : Debug: (0) suffix: No '@' in User-Name =
"anonymous", looking up realm NULL
Sun Apr 14 16:56:24 2019 : Debug: (0) suffix: No such realm "NULL"
Sun Apr 14 16:56:24 2019 : Debug: (0) modsingle[authorize]: returned
from suffix (rlm_realm)
Sun Apr 14 16:56:24 2019 : Debug: (0) [suffix] = noop
Sun Apr 14 16:56:24 2019 : Debug: (0) modsingle[authorize]: calling eap
(rlm_eap)
Sun Apr 14 16:56:24 2019 : Debug: (0) eap: Peer sent EAP Response (code 2)
ID 0 length 14
Sun Apr 14 16:56:24 2019 : Debug: (0) eap: EAP-Identity reply, returning
'ok' so we can short-circuit the rest of authorize
Sun Apr 14 16:56:24 2019 : Debug: (0) modsingle[authorize]: returned
from eap (rlm_eap)
Sun Apr 14 16:56:24 2019 : Debug: (0) [eap] = ok
Sun Apr 14 16:56:24 2019 : Debug: (0) } # authorize = ok
Sun Apr 14 16:56:24 2019 : Debug: (0) Found Auth-Type = eap
Sun Apr 14 16:56:24 2019 : Debug: (0) # Executing group from file
/etc/freeradius/3.0/sites-enabled/default
Sun Apr 14 16:56:24 2019 : Debug: (0) authenticate {
Sun Apr 14 16:56:24 2019 : Debug: (0) modsingle[authenticate]: calling
eap (rlm_eap)
Sun Apr 14 16:56:24 2019 : Debug: (0) eap: Peer sent packet with method EAP
Identity (1)
Sun Apr 14 16:56:24 2019 : Debug: (0) eap: Calling submodule eap_peap to
process data
Sun Apr 14 16:56:24 2019 : Debug: (0) eap_peap: Initiating new EAP-TLS
session
Sun Apr 14 16:56:24 2019 : Debug: (0) eap_peap: [eaptls start] = request
Sun Apr 14 16:56:24 2019 : Debug: (0) eap: Sending EAP Request (code 1) ID 1
length 6
Sun Apr 14 16:56:24 2019 : Debug: (0) eap: EAP session adding &reply:State =
0x4c3c07a54c3d1ed6
Sun Apr 14 16:56:24 2019 : Debug: (0) modsingle[authenticate]: returned
from eap (rlm_eap)
Sun Apr 14 16:56:24 2019 : Debug: (0) [eap] = handled
Sun Apr 14 16:56:24 2019 : Debug: (0) } # authenticate = handled
Sun Apr 14 16:56:24 2019 : Debug: (0) Using Post-Auth-Type Challenge
Sun Apr 14 16:56:24 2019 : Debug: (0) Post-Auth-Type sub-section not found.
Ignoring.
Sun Apr 14 16:56:24 2019 : Debug: (0) # Executing group from file
/etc/freeradius/3.0/sites-enabled/default
Sun Apr 14 16:56:24 2019 : Debug: (0) session-state: Nothing to cache
Sun Apr 14 16:56:24 2019 : Debug: (0) Sent Access-Challenge Id 0 from
127.0.0.1:1812 to 127.0.0.1:44837 length 0
Sun Apr 14 16:56:24 2019 : Debug: (0) EAP-Message = 0x010100061920
Sun Apr 14 16:56:24 2019 : Debug: (0) Message-Authenticator =
0x00000000000000000000000000000000
Sun Apr 14 16:56:24 2019 : Debug: (0) State =
0x4c3c07a54c3d1ed6dc41103157c60ec3
Sun Apr 14 16:56:24 2019 : Debug: (0) Finished request
Sun Apr 14 16:56:24 2019 : Debug: Waking up in 4.9 seconds.
Sun Apr 14 16:56:24 2019 : Debug: (1) Received Access-Request Id 1 from
127.0.0.1:44837 to 127.0.0.1:1812 length 142
Sun Apr 14 16:56:24 2019 : Debug: (1) User-Name = "anonymous"
Sun Apr 14 16:56:24 2019 : Debug: (1) NAS-IP-Address = 127.0.0.1
Sun Apr 14 16:56:24 2019 : Debug: (1) Calling-Station-Id =
"02-00-00-00-00-01"
Sun Apr 14 16:56:24 2019 : Debug: (1) Framed-MTU = 1400
Sun Apr 14 16:56:24 2019 : Debug: (1) NAS-Port-Type = Wireless-802.11
Sun Apr 14 16:56:24 2019 : Debug: (1) Service-Type = Framed-User
Sun Apr 14 16:56:24 2019 : Debug: (1) Connect-Info = "CONNECT 11Mbps
802.11b"
Sun Apr 14 16:56:24 2019 : Debug: (1) EAP-Message = 0x020100060315
Sun Apr 14 16:56:24 2019 : Debug: (1) State =
0x4c3c07a54c3d1ed6dc41103157c60ec3
Sun Apr 14 16:56:24 2019 : Debug: (1) Message-Authenticator =
0x5386ab818c5886c5d02bdd9f60e6dfcc
Sun Apr 14 16:56:24 2019 : Debug: (1) session-state: No cached attributes
Sun Apr 14 16:56:24 2019 : Debug: (1) # Executing section authorize from
file /etc/freeradius/3.0/sites-enabled/default
Sun Apr 14 16:56:24 2019 : Debug: (1) authorize {
Sun Apr 14 16:56:24 2019 : Debug: (1) policy filter_username {
Sun Apr 14 16:56:24 2019 : Debug: (1) if (&User-Name) {
Sun Apr 14 16:56:24 2019 : Debug: (1) if (&User-Name) -> TRUE
Sun Apr 14 16:56:24 2019 : Debug: (1) if (&User-Name) {
Sun Apr 14 16:56:24 2019 : Debug: (1) if (&User-Name =~ / /) {
Sun Apr 14 16:56:24 2019 : Debug: No matches
Sun Apr 14 16:56:24 2019 : Debug: (1) if (&User-Name =~ / /) ->
FALSE
Sun Apr 14 16:56:24 2019 : Debug: (1) if (&User-Name =~ /@[^@]*@/ )
{
Sun Apr 14 16:56:24 2019 : Debug: No matches
Sun Apr 14 16:56:24 2019 : Debug: (1) if (&User-Name =~ /@[^@]*@/ )
-> FALSE
Sun Apr 14 16:56:24 2019 : Debug: (1) if (&User-Name =~ /\.\./ ) {
Sun Apr 14 16:56:24 2019 : Debug: No matches
Sun Apr 14 16:56:24 2019 : Debug: (1) if (&User-Name =~ /\.\./ ) ->
FALSE
Sun Apr 14 16:56:24 2019 : Debug: (1) if ((&User-Name =~ /@/) &&
(&User-Name !~ /(a)(.+)\.(.+)$/)) {
Sun Apr 14 16:56:24 2019 : Debug: No matches
Sun Apr 14 16:56:24 2019 : Debug: (1) if ((&User-Name =~ /@/) &&
(&User-Name !~ /(a)(.+)\.(.+)$/)) -> FALSE
Sun Apr 14 16:56:24 2019 : Debug: (1) if (&User-Name =~ /\.$/) {
Sun Apr 14 16:56:24 2019 : Debug: No matches
Sun Apr 14 16:56:24 2019 : Debug: (1) if (&User-Name =~ /\.$/) ->
FALSE
Sun Apr 14 16:56:24 2019 : Debug: (1) if (&User-Name =~ /(a)\./) {
Sun Apr 14 16:56:24 2019 : Debug: No matches
Sun Apr 14 16:56:24 2019 : Debug: (1) if (&User-Name =~ /(a)\./) ->
FALSE
Sun Apr 14 16:56:24 2019 : Debug: (1) } # if (&User-Name) = notfound
Sun Apr 14 16:56:24 2019 : Debug: (1) } # policy filter_username =
notfound
Sun Apr 14 16:56:24 2019 : Debug: (1) modsingle[authorize]: calling
preprocess (rlm_preprocess)
Sun Apr 14 16:56:24 2019 : Debug: (1) modsingle[authorize]: returned
from preprocess (rlm_preprocess)
Sun Apr 14 16:56:24 2019 : Debug: (1) [preprocess] = ok
Sun Apr 14 16:56:24 2019 : Debug: (1) modsingle[authorize]: calling chap
(rlm_chap)
Sun Apr 14 16:56:24 2019 : Debug: (1) modsingle[authorize]: returned
from chap (rlm_chap)
Sun Apr 14 16:56:24 2019 : Debug: (1) [chap] = noop
Sun Apr 14 16:56:24 2019 : Debug: (1) modsingle[authorize]: calling
mschap (rlm_mschap)
Sun Apr 14 16:56:24 2019 : Debug: (1) modsingle[authorize]: returned
from mschap (rlm_mschap)
Sun Apr 14 16:56:24 2019 : Debug: (1) [mschap] = noop
Sun Apr 14 16:56:24 2019 : Debug: (1) modsingle[authorize]: calling
digest (rlm_digest)
Sun Apr 14 16:56:24 2019 : Debug: (1) modsingle[authorize]: returned
from digest (rlm_digest)
Sun Apr 14 16:56:24 2019 : Debug: (1) [digest] = noop
Sun Apr 14 16:56:24 2019 : Debug: (1) modsingle[authorize]: calling
suffix (rlm_realm)
Sun Apr 14 16:56:24 2019 : Debug: (1) suffix: Checking for suffix after "@"
Sun Apr 14 16:56:24 2019 : Debug: (1) suffix: No '@' in User-Name =
"anonymous", looking up realm NULL
Sun Apr 14 16:56:24 2019 : Debug: (1) suffix: No such realm "NULL"
Sun Apr 14 16:56:24 2019 : Debug: (1) modsingle[authorize]: returned
from suffix (rlm_realm)
Sun Apr 14 16:56:24 2019 : Debug: (1) [suffix] = noop
Sun Apr 14 16:56:24 2019 : Debug: (1) modsingle[authorize]: calling eap
(rlm_eap)
Sun Apr 14 16:56:24 2019 : Debug: (1) eap: Peer sent EAP Response (code 2)
ID 1 length 6
Sun Apr 14 16:56:24 2019 : Debug: (1) eap: No EAP Start, assuming it's an
on-going EAP conversation
Sun Apr 14 16:56:24 2019 : Debug: (1) modsingle[authorize]: returned
from eap (rlm_eap)
Sun Apr 14 16:56:24 2019 : Debug: (1) [eap] = updated
Sun Apr 14 16:56:24 2019 : Debug: (1) modsingle[authorize]: calling
files (rlm_files)
Sun Apr 14 16:56:24 2019 : Debug: (1) modsingle[authorize]: returned
from files (rlm_files)
Sun Apr 14 16:56:24 2019 : Debug: (1) [files] = noop
Sun Apr 14 16:56:24 2019 : Debug: (1) modsingle[authorize]: calling
expiration (rlm_expiration)
Sun Apr 14 16:56:24 2019 : Debug: (1) modsingle[authorize]: returned
from expiration (rlm_expiration)
Sun Apr 14 16:56:24 2019 : Debug: (1) [expiration] = noop
Sun Apr 14 16:56:24 2019 : Debug: (1) modsingle[authorize]: calling
logintime (rlm_logintime)
Sun Apr 14 16:56:24 2019 : Debug: (1) modsingle[authorize]: returned
from logintime (rlm_logintime)
Sun Apr 14 16:56:24 2019 : Debug: (1) [logintime] = noop
Sun Apr 14 16:56:24 2019 : Debug: (1) modsingle[authorize]: calling pap
(rlm_pap)
Sun Apr 14 16:56:24 2019 : WARNING: (1) pap: No "known good" password found
for the user. Not setting Auth-Type
Sun Apr 14 16:56:24 2019 : WARNING: (1) pap: Authentication will fail unless
a "known good" password is available
Sun Apr 14 16:56:24 2019 : Debug: (1) modsingle[authorize]: returned
from pap (rlm_pap)
Sun Apr 14 16:56:24 2019 : Debug: (1) [pap] = noop
Sun Apr 14 16:56:24 2019 : Debug: (1) } # authorize = updated
Sun Apr 14 16:56:24 2019 : Debug: (1) Found Auth-Type = eap
Sun Apr 14 16:56:24 2019 : Debug: (1) # Executing group from file
/etc/freeradius/3.0/sites-enabled/default
Sun Apr 14 16:56:24 2019 : Debug: (1) authenticate {
Sun Apr 14 16:56:24 2019 : Debug: (1) modsingle[authenticate]: calling
eap (rlm_eap)
Sun Apr 14 16:56:24 2019 : Debug: (1) eap: Expiring EAP session with state
0x4c3c07a54c3d1ed6
Sun Apr 14 16:56:24 2019 : Debug: (1) eap: Finished EAP session with state
0x4c3c07a54c3d1ed6
Sun Apr 14 16:56:24 2019 : Debug: (1) eap: Previous EAP request found for
state 0x4c3c07a54c3d1ed6, released from the list
Sun Apr 14 16:56:24 2019 : Debug: (1) eap: Peer sent packet with method EAP
NAK (3)
Sun Apr 14 16:56:24 2019 : Debug: (1) eap: Found mutually acceptable type
TTLS (21)
Sun Apr 14 16:56:24 2019 : Debug: (1) eap: Calling submodule eap_ttls to
process data
Sun Apr 14 16:56:24 2019 : Debug: (1) eap_ttls: Initiating new EAP-TLS
session
Sun Apr 14 16:56:24 2019 : Debug: (1) eap_ttls: [eaptls start] = request
Sun Apr 14 16:56:24 2019 : Debug: (1) eap: Sending EAP Request (code 1) ID 2
length 6
Sun Apr 14 16:56:24 2019 : Debug: (1) eap: EAP session adding &reply:State =
0x4c3c07a54d3e12d6
Sun Apr 14 16:56:24 2019 : Debug: (1) modsingle[authenticate]: returned
from eap (rlm_eap)
Sun Apr 14 16:56:24 2019 : Debug: (1) [eap] = handled
Sun Apr 14 16:56:24 2019 : Debug: (1) } # authenticate = handled
Sun Apr 14 16:56:24 2019 : Debug: (1) Using Post-Auth-Type Challenge
Sun Apr 14 16:56:24 2019 : Debug: (1) Post-Auth-Type sub-section not found.
Ignoring.
Sun Apr 14 16:56:24 2019 : Debug: (1) # Executing group from file
/etc/freeradius/3.0/sites-enabled/default
Sun Apr 14 16:56:24 2019 : Debug: (1) session-state: Nothing to cache
Sun Apr 14 16:56:24 2019 : Debug: (1) Sent Access-Challenge Id 1 from
127.0.0.1:1812 to 127.0.0.1:44837 length 0
Sun Apr 14 16:56:24 2019 : Debug: (1) EAP-Message = 0x010200061520
Sun Apr 14 16:56:24 2019 : Debug: (1) Message-Authenticator =
0x00000000000000000000000000000000
Sun Apr 14 16:56:24 2019 : Debug: (1) State =
0x4c3c07a54d3e12d6dc41103157c60ec3
Sun Apr 14 16:56:24 2019 : Debug: (1) Finished request
Sun Apr 14 16:56:24 2019 : Debug: Waking up in 4.9 seconds.
Sun Apr 14 16:56:24 2019 : Debug: (2) Received Access-Request Id 2 from
127.0.0.1:44837 to 127.0.0.1:1812 length 314
Sun Apr 14 16:56:24 2019 : Debug: (2) User-Name = "anonymous"
Sun Apr 14 16:56:24 2019 : Debug: (2) NAS-IP-Address = 127.0.0.1
Sun Apr 14 16:56:24 2019 : Debug: (2) Calling-Station-Id =
"02-00-00-00-00-01"
Sun Apr 14 16:56:24 2019 : Debug: (2) Framed-MTU = 1400
Sun Apr 14 16:56:24 2019 : Debug: (2) NAS-Port-Type = Wireless-802.11
Sun Apr 14 16:56:24 2019 : Debug: (2) Service-Type = Framed-User
Sun Apr 14 16:56:24 2019 : Debug: (2) Connect-Info = "CONNECT 11Mbps
802.11b"
Sun Apr 14 16:56:24 2019 : Debug: (2) EAP-Message =
0x020200b2150016030100a7010000a303030fc026b5175fb0e4cda8fe23ff8fa6e73ba494c4
669c89a2e0635f57b23e5714000038c02cc030009fcca9cca8ccaac02bc02f009ec024c02800
6bc023c0270067c00ac0140039c009c0130033009d009c003d003c0035002f00ff0100004200
0b0004030001
Sun Apr 14 16:56:24 2019 : Debug: (2) State =
0x4c3c07a54d3e12d6dc41103157c60ec3
Sun Apr 14 16:56:24 2019 : Debug: (2) Message-Authenticator =
0x1c8acab50d8a7d872c7bceb067dd3ef6
Sun Apr 14 16:56:24 2019 : Debug: (2) session-state: No cached attributes
Sun Apr 14 16:56:24 2019 : Debug: (2) # Executing section authorize from
file /etc/freeradius/3.0/sites-enabled/default
Sun Apr 14 16:56:24 2019 : Debug: (2) authorize {
Sun Apr 14 16:56:24 2019 : Debug: (2) policy filter_username {
Sun Apr 14 16:56:24 2019 : Debug: (2) if (&User-Name) {
Sun Apr 14 16:56:24 2019 : Debug: (2) if (&User-Name) -> TRUE
Sun Apr 14 16:56:24 2019 : Debug: (2) if (&User-Name) {
Sun Apr 14 16:56:24 2019 : Debug: (2) if (&User-Name =~ / /) {
Sun Apr 14 16:56:24 2019 : Debug: No matches
Sun Apr 14 16:56:24 2019 : Debug: (2) if (&User-Name =~ / /) ->
FALSE
Sun Apr 14 16:56:24 2019 : Debug: (2) if (&User-Name =~ /@[^@]*@/ )
{
Sun Apr 14 16:56:24 2019 : Debug: No matches
Sun Apr 14 16:56:24 2019 : Debug: (2) if (&User-Name =~ /@[^@]*@/ )
-> FALSE
Sun Apr 14 16:56:24 2019 : Debug: (2) if (&User-Name =~ /\.\./ ) {
Sun Apr 14 16:56:24 2019 : Debug: No matches
Sun Apr 14 16:56:24 2019 : Debug: (2) if (&User-Name =~ /\.\./ ) ->
FALSE
Sun Apr 14 16:56:24 2019 : Debug: (2) if ((&User-Name =~ /@/) &&
(&User-Name !~ /(a)(.+)\.(.+)$/)) {
Sun Apr 14 16:56:24 2019 : Debug: No matches
Sun Apr 14 16:56:24 2019 : Debug: (2) if ((&User-Name =~ /@/) &&
(&User-Name !~ /(a)(.+)\.(.+)$/)) -> FALSE
Sun Apr 14 16:56:24 2019 : Debug: (2) if (&User-Name =~ /\.$/) {
Sun Apr 14 16:56:24 2019 : Debug: No matches
Sun Apr 14 16:56:24 2019 : Debug: (2) if (&User-Name =~ /\.$/) ->
FALSE
Sun Apr 14 16:56:24 2019 : Debug: (2) if (&User-Name =~ /(a)\./) {
Sun Apr 14 16:56:24 2019 : Debug: No matches
Sun Apr 14 16:56:24 2019 : Debug: (2) if (&User-Name =~ /(a)\./) ->
FALSE
Sun Apr 14 16:56:24 2019 : Debug: (2) } # if (&User-Name) = notfound
Sun Apr 14 16:56:24 2019 : Debug: (2) } # policy filter_username =
notfound
Sun Apr 14 16:56:24 2019 : Debug: (2) modsingle[authorize]: calling
preprocess (rlm_preprocess)
Sun Apr 14 16:56:24 2019 : Debug: (2) modsingle[authorize]: returned
from preprocess (rlm_preprocess)
Sun Apr 14 16:56:24 2019 : Debug: (2) [preprocess] = ok
Sun Apr 14 16:56:24 2019 : Debug: (2) modsingle[authorize]: calling chap
(rlm_chap)
Sun Apr 14 16:56:24 2019 : Debug: (2) modsingle[authorize]: returned
from chap (rlm_chap)
Sun Apr 14 16:56:24 2019 : Debug: (2) [chap] = noop
Sun Apr 14 16:56:24 2019 : Debug: (2) modsingle[authorize]: calling
mschap (rlm_mschap)
Sun Apr 14 16:56:24 2019 : Debug: (2) modsingle[authorize]: returned
from mschap (rlm_mschap)
Sun Apr 14 16:56:24 2019 : Debug: (2) [mschap] = noop
Sun Apr 14 16:56:24 2019 : Debug: (2) modsingle[authorize]: calling
digest (rlm_digest)
Sun Apr 14 16:56:24 2019 : Debug: (2) modsingle[authorize]: returned
from digest (rlm_digest)
Sun Apr 14 16:56:24 2019 : Debug: (2) [digest] = noop
Sun Apr 14 16:56:24 2019 : Debug: (2) modsingle[authorize]: calling
suffix (rlm_realm)
Sun Apr 14 16:56:24 2019 : Debug: (2) suffix: Checking for suffix after "@"
Sun Apr 14 16:56:24 2019 : Debug: (2) suffix: No '@' in User-Name =
"anonymous", looking up realm NULL
Sun Apr 14 16:56:24 2019 : Debug: (2) suffix: No such realm "NULL"
Sun Apr 14 16:56:24 2019 : Debug: (2) modsingle[authorize]: returned
from suffix (rlm_realm)
Sun Apr 14 16:56:24 2019 : Debug: (2) [suffix] = noop
Sun Apr 14 16:56:24 2019 : Debug: (2) modsingle[authorize]: calling eap
(rlm_eap)
Sun Apr 14 16:56:24 2019 : Debug: (2) eap: Peer sent EAP Response (code 2)
ID 2 length 178
Sun Apr 14 16:56:24 2019 : Debug: (2) eap: Continuing tunnel setup
Sun Apr 14 16:56:24 2019 : Debug: (2) modsingle[authorize]: returned
from eap (rlm_eap)
Sun Apr 14 16:56:24 2019 : Debug: (2) [eap] = ok
Sun Apr 14 16:56:24 2019 : Debug: (2) } # authorize = ok
Sun Apr 14 16:56:24 2019 : Debug: (2) Found Auth-Type = eap
Sun Apr 14 16:56:24 2019 : Debug: (2) # Executing group from file
/etc/freeradius/3.0/sites-enabled/default
Sun Apr 14 16:56:24 2019 : Debug: (2) authenticate {
Sun Apr 14 16:56:24 2019 : Debug: (2) modsingle[authenticate]: calling
eap (rlm_eap)
Sun Apr 14 16:56:24 2019 : Debug: (2) eap: Expiring EAP session with state
0x4c3c07a54d3e12d6
Sun Apr 14 16:56:24 2019 : Debug: (2) eap: Finished EAP session with state
0x4c3c07a54d3e12d6
Sun Apr 14 16:56:24 2019 : Debug: (2) eap: Previous EAP request found for
state 0x4c3c07a54d3e12d6, released from the list
Sun Apr 14 16:56:24 2019 : Debug: (2) eap: Peer sent packet with method EAP
TTLS (21)
Sun Apr 14 16:56:24 2019 : Debug: (2) eap: Calling submodule eap_ttls to
process data
Sun Apr 14 16:56:24 2019 : Debug: (2) eap_ttls: Authenticate
Sun Apr 14 16:56:24 2019 : Debug: (2) eap_ttls: Continuing EAP-TLS
Sun Apr 14 16:56:24 2019 : Debug: (2) eap_ttls: Peer sent flags ---
Sun Apr 14 16:56:24 2019 : Debug: (2) eap_ttls: [eaptls verify] = ok
Sun Apr 14 16:56:24 2019 : Debug: (2) eap_ttls: Done initial handshake
Sun Apr 14 16:56:24 2019 : Debug: (2) eap_ttls: (other): before SSL
initialization
Sun Apr 14 16:56:24 2019 : Debug: (2) eap_ttls: TLS_accept: before SSL
initialization
Sun Apr 14 16:56:24 2019 : Debug: Ignoring cbtls_msg call with pseudo
content type 256, version 0
Sun Apr 14 16:56:24 2019 : Debug: (2) eap_ttls: TLS_accept: before SSL
initialization
Sun Apr 14 16:56:24 2019 : Debug: (2) eap_ttls: <<< recv TLS 1.2 [length
00a7]
Sun Apr 14 16:56:24 2019 : Debug: (2) eap_ttls: TLS_accept: SSLv3/TLS read
client hello
Sun Apr 14 16:56:24 2019 : Debug: Ignoring cbtls_msg call with pseudo
content type 256, version 0
Sun Apr 14 16:56:24 2019 : Debug: (2) eap_ttls: >>> send TLS 1.2 [length
003d]
Sun Apr 14 16:56:24 2019 : Debug: (2) eap_ttls: TLS_accept: SSLv3/TLS write
server hello
Sun Apr 14 16:56:24 2019 : Debug: Ignoring cbtls_msg call with pseudo
content type 256, version 0
Sun Apr 14 16:56:24 2019 : Debug: (2) eap_ttls: >>> send TLS 1.2 [length
02d9]
Sun Apr 14 16:56:24 2019 : Debug: (2) eap_ttls: TLS_accept: SSLv3/TLS write
certificate
Sun Apr 14 16:56:24 2019 : Debug: Ignoring cbtls_msg call with pseudo
content type 256, version 0
Sun Apr 14 16:56:24 2019 : Debug: (2) eap_ttls: >>> send TLS 1.2 [length
014d]
Sun Apr 14 16:56:24 2019 : Debug: (2) eap_ttls: TLS_accept: SSLv3/TLS write
key exchange
Sun Apr 14 16:56:24 2019 : Debug: Ignoring cbtls_msg call with pseudo
content type 256, version 0
Sun Apr 14 16:56:24 2019 : Debug: (2) eap_ttls: >>> send TLS 1.2 [length
0004]
Sun Apr 14 16:56:24 2019 : Debug: (2) eap_ttls: TLS_accept: SSLv3/TLS write
server done
Sun Apr 14 16:56:24 2019 : Debug: (2) eap_ttls: TLS_accept: Need to read
more data: SSLv3/TLS write server done
Sun Apr 14 16:56:24 2019 : Debug: (2) eap_ttls: In SSL Handshake Phase
Sun Apr 14 16:56:24 2019 : Debug: (2) eap_ttls: In SSL Accept mode
Sun Apr 14 16:56:24 2019 : Debug: (2) eap_ttls: [eaptls process] = handled
Sun Apr 14 16:56:24 2019 : Debug: (2) eap: Sending EAP Request (code 1) ID 3
length 1004
Sun Apr 14 16:56:24 2019 : Debug: (2) eap: EAP session adding &reply:State =
0x4c3c07a54e3f12d6
Sun Apr 14 16:56:24 2019 : Debug: (2) modsingle[authenticate]: returned
from eap (rlm_eap)
Sun Apr 14 16:56:24 2019 : Debug: (2) [eap] = handled
Sun Apr 14 16:56:24 2019 : Debug: (2) } # authenticate = handled
Sun Apr 14 16:56:24 2019 : Debug: (2) Using Post-Auth-Type Challenge
Sun Apr 14 16:56:24 2019 : Debug: (2) Post-Auth-Type sub-section not found.
Ignoring.
Sun Apr 14 16:56:24 2019 : Debug: (2) # Executing group from file
/etc/freeradius/3.0/sites-enabled/default
Sun Apr 14 16:56:24 2019 : Debug: (2) session-state: Nothing to cache
Sun Apr 14 16:56:24 2019 : Debug: (2) Sent Access-Challenge Id 2 from
127.0.0.1:1812 to 127.0.0.1:44837 length 0
Sun Apr 14 16:56:24 2019 : Debug: (2) EAP-Message =
0x010303ec15c00000047b160303003d02000039030322f387796fa76cd3f629c70febc33563
5168e8e9a25f35594d2ef02cc43b108400c030000011ff01000100000b000403000102001700
0016030302d90b0002d50002d20002cf308202cb308201b3a003020102020900a1ccb3d7090c
ca2e300d0609
Sun Apr 14 16:56:24 2019 : Debug: (2) Message-Authenticator =
0x00000000000000000000000000000000
Sun Apr 14 16:56:24 2019 : Debug: (2) State =
0x4c3c07a54e3f12d6dc41103157c60ec3
Sun Apr 14 16:56:24 2019 : Debug: (2) Finished request
Sun Apr 14 16:56:24 2019 : Debug: Waking up in 4.7 seconds.
Sun Apr 14 16:56:24 2019 : Debug: (3) Received Access-Request Id 3 from
127.0.0.1:44837 to 127.0.0.1:1812 length 142
Sun Apr 14 16:56:24 2019 : Debug: (3) User-Name = "anonymous"
Sun Apr 14 16:56:24 2019 : Debug: (3) NAS-IP-Address = 127.0.0.1
Sun Apr 14 16:56:24 2019 : Debug: (3) Calling-Station-Id =
"02-00-00-00-00-01"
Sun Apr 14 16:56:24 2019 : Debug: (3) Framed-MTU = 1400
Sun Apr 14 16:56:24 2019 : Debug: (3) NAS-Port-Type = Wireless-802.11
Sun Apr 14 16:56:24 2019 : Debug: (3) Service-Type = Framed-User
Sun Apr 14 16:56:24 2019 : Debug: (3) Connect-Info = "CONNECT 11Mbps
802.11b"
Sun Apr 14 16:56:24 2019 : Debug: (3) EAP-Message = 0x020300061500
Sun Apr 14 16:56:24 2019 : Debug: (3) State =
0x4c3c07a54e3f12d6dc41103157c60ec3
Sun Apr 14 16:56:24 2019 : Debug: (3) Message-Authenticator =
0xb32d0f7bc337b37f48ca11e11069aea7
Sun Apr 14 16:56:24 2019 : Debug: (3) session-state: No cached attributes
Sun Apr 14 16:56:24 2019 : Debug: (3) # Executing section authorize from
file /etc/freeradius/3.0/sites-enabled/default
Sun Apr 14 16:56:24 2019 : Debug: (3) authorize {
Sun Apr 14 16:56:24 2019 : Debug: (3) policy filter_username {
Sun Apr 14 16:56:24 2019 : Debug: (3) if (&User-Name) {
Sun Apr 14 16:56:24 2019 : Debug: (3) if (&User-Name) -> TRUE
Sun Apr 14 16:56:24 2019 : Debug: (3) if (&User-Name) {
Sun Apr 14 16:56:24 2019 : Debug: (3) if (&User-Name =~ / /) {
Sun Apr 14 16:56:24 2019 : Debug: No matches
Sun Apr 14 16:56:24 2019 : Debug: (3) if (&User-Name =~ / /) ->
FALSE
Sun Apr 14 16:56:24 2019 : Debug: (3) if (&User-Name =~ /@[^@]*@/ )
{
Sun Apr 14 16:56:24 2019 : Debug: No matches
Sun Apr 14 16:56:24 2019 : Debug: (3) if (&User-Name =~ /@[^@]*@/ )
-> FALSE
Sun Apr 14 16:56:24 2019 : Debug: (3) if (&User-Name =~ /\.\./ ) {
Sun Apr 14 16:56:24 2019 : Debug: No matches
Sun Apr 14 16:56:24 2019 : Debug: (3) if (&User-Name =~ /\.\./ ) ->
FALSE
Sun Apr 14 16:56:24 2019 : Debug: (3) if ((&User-Name =~ /@/) &&
(&User-Name !~ /(a)(.+)\.(.+)$/)) {
Sun Apr 14 16:56:24 2019 : Debug: No matches
Sun Apr 14 16:56:24 2019 : Debug: (3) if ((&User-Name =~ /@/) &&
(&User-Name !~ /(a)(.+)\.(.+)$/)) -> FALSE
Sun Apr 14 16:56:24 2019 : Debug: (3) if (&User-Name =~ /\.$/) {
Sun Apr 14 16:56:24 2019 : Debug: No matches
Sun Apr 14 16:56:24 2019 : Debug: (3) if (&User-Name =~ /\.$/) ->
FALSE
Sun Apr 14 16:56:24 2019 : Debug: (3) if (&User-Name =~ /(a)\./) {
Sun Apr 14 16:56:24 2019 : Debug: No matches
Sun Apr 14 16:56:24 2019 : Debug: (3) if (&User-Name =~ /(a)\./) ->
FALSE
Sun Apr 14 16:56:24 2019 : Debug: (3) } # if (&User-Name) = notfound
Sun Apr 14 16:56:24 2019 : Debug: (3) } # policy filter_username =
notfound
Sun Apr 14 16:56:24 2019 : Debug: (3) modsingle[authorize]: calling
preprocess (rlm_preprocess)
Sun Apr 14 16:56:24 2019 : Debug: (3) modsingle[authorize]: returned
from preprocess (rlm_preprocess)
Sun Apr 14 16:56:24 2019 : Debug: (3) [preprocess] = ok
Sun Apr 14 16:56:24 2019 : Debug: (3) modsingle[authorize]: calling chap
(rlm_chap)
Sun Apr 14 16:56:24 2019 : Debug: (3) modsingle[authorize]: returned
from chap (rlm_chap)
Sun Apr 14 16:56:24 2019 : Debug: (3) [chap] = noop
Sun Apr 14 16:56:24 2019 : Debug: (3) modsingle[authorize]: calling
mschap (rlm_mschap)
Sun Apr 14 16:56:24 2019 : Debug: (3) modsingle[authorize]: returned
from mschap (rlm_mschap)
Sun Apr 14 16:56:24 2019 : Debug: (3) [mschap] = noop
Sun Apr 14 16:56:24 2019 : Debug: (3) modsingle[authorize]: calling
digest (rlm_digest)
Sun Apr 14 16:56:24 2019 : Debug: (3) modsingle[authorize]: returned
from digest (rlm_digest)
Sun Apr 14 16:56:24 2019 : Debug: (3) [digest] = noop
Sun Apr 14 16:56:24 2019 : Debug: (3) modsingle[authorize]: calling
suffix (rlm_realm)
Sun Apr 14 16:56:24 2019 : Debug: (3) suffix: Checking for suffix after "@"
Sun Apr 14 16:56:24 2019 : Debug: (3) suffix: No '@' in User-Name =
"anonymous", looking up realm NULL
Sun Apr 14 16:56:24 2019 : Debug: (3) suffix: No such realm "NULL"
Sun Apr 14 16:56:24 2019 : Debug: (3) modsingle[authorize]: returned
from suffix (rlm_realm)
Sun Apr 14 16:56:24 2019 : Debug: (3) [suffix] = noop
Sun Apr 14 16:56:24 2019 : Debug: (3) modsingle[authorize]: calling eap
(rlm_eap)
Sun Apr 14 16:56:24 2019 : Debug: (3) eap: Peer sent EAP Response (code 2)
ID 3 length 6
Sun Apr 14 16:56:24 2019 : Debug: (3) eap: Continuing tunnel setup
Sun Apr 14 16:56:24 2019 : Debug: (3) modsingle[authorize]: returned
from eap (rlm_eap)
Sun Apr 14 16:56:24 2019 : Debug: (3) [eap] = ok
Sun Apr 14 16:56:24 2019 : Debug: (3) } # authorize = ok
Sun Apr 14 16:56:24 2019 : Debug: (3) Found Auth-Type = eap
Sun Apr 14 16:56:24 2019 : Debug: (3) # Executing group from file
/etc/freeradius/3.0/sites-enabled/default
Sun Apr 14 16:56:24 2019 : Debug: (3) authenticate {
Sun Apr 14 16:56:24 2019 : Debug: (3) modsingle[authenticate]: calling
eap (rlm_eap)
Sun Apr 14 16:56:24 2019 : Debug: (3) eap: Expiring EAP session with state
0x4c3c07a54e3f12d6
Sun Apr 14 16:56:24 2019 : Debug: (3) eap: Finished EAP session with state
0x4c3c07a54e3f12d6
Sun Apr 14 16:56:24 2019 : Debug: (3) eap: Previous EAP request found for
state 0x4c3c07a54e3f12d6, released from the list
Sun Apr 14 16:56:24 2019 : Debug: (3) eap: Peer sent packet with method EAP
TTLS (21)
Sun Apr 14 16:56:24 2019 : Debug: (3) eap: Calling submodule eap_ttls to
process data
Sun Apr 14 16:56:24 2019 : Debug: (3) eap_ttls: Authenticate
Sun Apr 14 16:56:24 2019 : Debug: (3) eap_ttls: Continuing EAP-TLS
Sun Apr 14 16:56:24 2019 : Debug: (3) eap_ttls: Peer sent flags ---
Sun Apr 14 16:56:24 2019 : Debug: (3) eap_ttls: Peer ACKed our handshake
fragment
Sun Apr 14 16:56:24 2019 : Debug: (3) eap_ttls: [eaptls verify] = request
Sun Apr 14 16:56:24 2019 : Debug: (3) eap_ttls: [eaptls process] = handled
Sun Apr 14 16:56:24 2019 : Debug: (3) eap: Sending EAP Request (code 1) ID 4
length 163
Sun Apr 14 16:56:24 2019 : Debug: (3) eap: EAP session adding &reply:State =
0x4c3c07a54f3812d6
Sun Apr 14 16:56:24 2019 : Debug: (3) modsingle[authenticate]: returned
from eap (rlm_eap)
Sun Apr 14 16:56:24 2019 : Debug: (3) [eap] = handled
Sun Apr 14 16:56:24 2019 : Debug: (3) } # authenticate = handled
Sun Apr 14 16:56:24 2019 : Debug: (3) Using Post-Auth-Type Challenge
Sun Apr 14 16:56:24 2019 : Debug: (3) Post-Auth-Type sub-section not found.
Ignoring.
Sun Apr 14 16:56:24 2019 : Debug: (3) # Executing group from file
/etc/freeradius/3.0/sites-enabled/default
Sun Apr 14 16:56:24 2019 : Debug: (3) session-state: Nothing to cache
Sun Apr 14 16:56:24 2019 : Debug: (3) Sent Access-Challenge Id 3 from
127.0.0.1:1812 to 127.0.0.1:44837 length 0
Sun Apr 14 16:56:24 2019 : Debug: (3) EAP-Message =
0x010400a315800000047b5c7b1b4e3291b8cee42f5c9200c2c1f08bd77a1b57eb89bef4ed8e
55c8fe597999d72fa937bc0e5c17f7835535a00e5745b4dcc68e53e2ed5661f4b0119b65d92b
2c38a1977290607e2e0a90197d2c08bbe43355447570454ad4df15887f0e456fa7e8f2834c70
5841c434ca49
Sun Apr 14 16:56:24 2019 : Debug: (3) Message-Authenticator =
0x00000000000000000000000000000000
Sun Apr 14 16:56:24 2019 : Debug: (3) State =
0x4c3c07a54f3812d6dc41103157c60ec3
Sun Apr 14 16:56:24 2019 : Debug: (3) Finished request
Sun Apr 14 16:56:24 2019 : Debug: Waking up in 4.6 seconds.
Sun Apr 14 16:56:24 2019 : Debug: (4) Received Access-Request Id 4 from
127.0.0.1:44837 to 127.0.0.1:1812 length 149
Sun Apr 14 16:56:24 2019 : Debug: (4) User-Name = "anonymous"
Sun Apr 14 16:56:24 2019 : Debug: (4) NAS-IP-Address = 127.0.0.1
Sun Apr 14 16:56:24 2019 : Debug: (4) Calling-Station-Id =
"02-00-00-00-00-01"
Sun Apr 14 16:56:24 2019 : Debug: (4) Framed-MTU = 1400
Sun Apr 14 16:56:24 2019 : Debug: (4) NAS-Port-Type = Wireless-802.11
Sun Apr 14 16:56:24 2019 : Debug: (4) Service-Type = Framed-User
Sun Apr 14 16:56:24 2019 : Debug: (4) Connect-Info = "CONNECT 11Mbps
802.11b"
Sun Apr 14 16:56:24 2019 : Debug: (4) EAP-Message =
0x0204000d150015030300020230
Sun Apr 14 16:56:24 2019 : Debug: (4) State =
0x4c3c07a54f3812d6dc41103157c60ec3
Sun Apr 14 16:56:24 2019 : Debug: (4) Message-Authenticator =
0x041e1ee45dad308103990e414cac95b0
Sun Apr 14 16:56:24 2019 : Debug: (4) session-state: No cached attributes
Sun Apr 14 16:56:24 2019 : Debug: (4) # Executing section authorize from
file /etc/freeradius/3.0/sites-enabled/default
Sun Apr 14 16:56:24 2019 : Debug: (4) authorize {
Sun Apr 14 16:56:24 2019 : Debug: (4) policy filter_username {
Sun Apr 14 16:56:24 2019 : Debug: (4) if (&User-Name) {
Sun Apr 14 16:56:24 2019 : Debug: (4) if (&User-Name) -> TRUE
Sun Apr 14 16:56:24 2019 : Debug: (4) if (&User-Name) {
Sun Apr 14 16:56:24 2019 : Debug: (4) if (&User-Name =~ / /) {
Sun Apr 14 16:56:24 2019 : Debug: No matches
Sun Apr 14 16:56:24 2019 : Debug: (4) if (&User-Name =~ / /) ->
FALSE
Sun Apr 14 16:56:24 2019 : Debug: (4) if (&User-Name =~ /@[^@]*@/ )
{
Sun Apr 14 16:56:24 2019 : Debug: No matches
Sun Apr 14 16:56:24 2019 : Debug: (4) if (&User-Name =~ /@[^@]*@/ )
-> FALSE
Sun Apr 14 16:56:24 2019 : Debug: (4) if (&User-Name =~ /\.\./ ) {
Sun Apr 14 16:56:24 2019 : Debug: No matches
Sun Apr 14 16:56:24 2019 : Debug: (4) if (&User-Name =~ /\.\./ ) ->
FALSE
Sun Apr 14 16:56:24 2019 : Debug: (4) if ((&User-Name =~ /@/) &&
(&User-Name !~ /(a)(.+)\.(.+)$/)) {
Sun Apr 14 16:56:24 2019 : Debug: No matches
Sun Apr 14 16:56:24 2019 : Debug: (4) if ((&User-Name =~ /@/) &&
(&User-Name !~ /(a)(.+)\.(.+)$/)) -> FALSE
Sun Apr 14 16:56:24 2019 : Debug: (4) if (&User-Name =~ /\.$/) {
Sun Apr 14 16:56:24 2019 : Debug: No matches
Sun Apr 14 16:56:24 2019 : Debug: (4) if (&User-Name =~ /\.$/) ->
FALSE
Sun Apr 14 16:56:24 2019 : Debug: (4) if (&User-Name =~ /(a)\./) {
Sun Apr 14 16:56:24 2019 : Debug: No matches
Sun Apr 14 16:56:24 2019 : Debug: (4) if (&User-Name =~ /(a)\./) ->
FALSE
Sun Apr 14 16:56:24 2019 : Debug: (4) } # if (&User-Name) = notfound
Sun Apr 14 16:56:24 2019 : Debug: (4) } # policy filter_username =
notfound
Sun Apr 14 16:56:24 2019 : Debug: (4) modsingle[authorize]: calling
preprocess (rlm_preprocess)
Sun Apr 14 16:56:24 2019 : Debug: (4) modsingle[authorize]: returned
from preprocess (rlm_preprocess)
Sun Apr 14 16:56:24 2019 : Debug: (4) [preprocess] = ok
Sun Apr 14 16:56:24 2019 : Debug: (4) modsingle[authorize]: calling chap
(rlm_chap)
Sun Apr 14 16:56:24 2019 : Debug: (4) modsingle[authorize]: returned
from chap (rlm_chap)
Sun Apr 14 16:56:24 2019 : Debug: (4) [chap] = noop
Sun Apr 14 16:56:24 2019 : Debug: (4) modsingle[authorize]: calling
mschap (rlm_mschap)
Sun Apr 14 16:56:24 2019 : Debug: (4) modsingle[authorize]: returned
from mschap (rlm_mschap)
Sun Apr 14 16:56:24 2019 : Debug: (4) [mschap] = noop
Sun Apr 14 16:56:24 2019 : Debug: (4) modsingle[authorize]: calling
digest (rlm_digest)
Sun Apr 14 16:56:24 2019 : Debug: (4) modsingle[authorize]: returned
from digest (rlm_digest)
Sun Apr 14 16:56:24 2019 : Debug: (4) [digest] = noop
Sun Apr 14 16:56:24 2019 : Debug: (4) modsingle[authorize]: calling
suffix (rlm_realm)
Sun Apr 14 16:56:24 2019 : Debug: (4) suffix: Checking for suffix after "@"
Sun Apr 14 16:56:24 2019 : Debug: (4) suffix: No '@' in User-Name =
"anonymous", looking up realm NULL
Sun Apr 14 16:56:24 2019 : Debug: (4) suffix: No such realm "NULL"
Sun Apr 14 16:56:24 2019 : Debug: (4) modsingle[authorize]: returned
from suffix (rlm_realm)
Sun Apr 14 16:56:24 2019 : Debug: (4) [suffix] = noop
Sun Apr 14 16:56:24 2019 : Debug: (4) modsingle[authorize]: calling eap
(rlm_eap)
Sun Apr 14 16:56:24 2019 : Debug: (4) eap: Peer sent EAP Response (code 2)
ID 4 length 13
Sun Apr 14 16:56:24 2019 : Debug: (4) eap: Continuing tunnel setup
Sun Apr 14 16:56:24 2019 : Debug: (4) modsingle[authorize]: returned
from eap (rlm_eap)
Sun Apr 14 16:56:24 2019 : Debug: (4) [eap] = ok
Sun Apr 14 16:56:24 2019 : Debug: (4) } # authorize = ok
Sun Apr 14 16:56:24 2019 : Debug: (4) Found Auth-Type = eap
Sun Apr 14 16:56:24 2019 : Debug: (4) # Executing group from file
/etc/freeradius/3.0/sites-enabled/default
Sun Apr 14 16:56:24 2019 : Debug: (4) authenticate {
Sun Apr 14 16:56:24 2019 : Debug: (4) modsingle[authenticate]: calling
eap (rlm_eap)
Sun Apr 14 16:56:24 2019 : Debug: (4) eap: Expiring EAP session with state
0x4c3c07a54f3812d6
Sun Apr 14 16:56:24 2019 : Debug: (4) eap: Finished EAP session with state
0x4c3c07a54f3812d6
Sun Apr 14 16:56:24 2019 : Debug: (4) eap: Previous EAP request found for
state 0x4c3c07a54f3812d6, released from the list
Sun Apr 14 16:56:24 2019 : Debug: (4) eap: Peer sent packet with method EAP
TTLS (21)
Sun Apr 14 16:56:24 2019 : Debug: (4) eap: Calling submodule eap_ttls to
process data
Sun Apr 14 16:56:24 2019 : Debug: (4) eap_ttls: Authenticate
Sun Apr 14 16:56:24 2019 : Debug: (4) eap_ttls: Continuing EAP-TLS
Sun Apr 14 16:56:24 2019 : Debug: (4) eap_ttls: Peer sent flags ---
Sun Apr 14 16:56:24 2019 : Debug: (4) eap_ttls: [eaptls verify] = ok
Sun Apr 14 16:56:24 2019 : Debug: (4) eap_ttls: Done initial handshake
Sun Apr 14 16:56:24 2019 : Debug: Ignoring cbtls_msg call with pseudo
content type 256, version 0
Sun Apr 14 16:56:24 2019 : Debug: (4) eap_ttls: <<< recv TLS 1.2 [length
0002]
Sun Apr 14 16:56:24 2019 : ERROR: (4) eap_ttls: TLS Alert read:fatal:unknown
CA
Sun Apr 14 16:56:24 2019 : Debug: (4) eap_ttls: TLS_accept: Need to read
more data: SSLv3/TLS write server done
Sun Apr 14 16:56:24 2019 : ERROR: (4) eap_ttls: Failed in __FUNCTION__
(SSL_read): ../ssl/record/rec_layer_s3.c[1407]:error:14094418:SSL
routines:ssl3_read_bytes:tlsv1 alert unknown ca
Sun Apr 14 16:56:24 2019 : ERROR: (4) eap_ttls: System call (I/O) error (-1)
Sun Apr 14 16:56:24 2019 : ERROR: (4) eap_ttls: TLS receive handshake failed
during operation
Sun Apr 14 16:56:24 2019 : ERROR: (4) eap_ttls: [eaptls process] = fail
Sun Apr 14 16:56:24 2019 : ERROR: (4) eap: Failed continuing EAP TTLS (21)
session. EAP sub-module failed
Sun Apr 14 16:56:24 2019 : Debug: (4) eap: Sending EAP Failure (code 4) ID 4
length 4
Sun Apr 14 16:56:24 2019 : Debug: (4) eap: Failed in EAP select
Sun Apr 14 16:56:24 2019 : Debug: (4) modsingle[authenticate]: returned
from eap (rlm_eap)
Sun Apr 14 16:56:24 2019 : Debug: (4) [eap] = invalid
Sun Apr 14 16:56:24 2019 : Debug: (4) } # authenticate = invalid
Sun Apr 14 16:56:24 2019 : Debug: (4) Failed to authenticate the user
Sun Apr 14 16:56:24 2019 : Debug: (4) Using Post-Auth-Type Reject
Sun Apr 14 16:56:24 2019 : Debug: (4) # Executing group from file
/etc/freeradius/3.0/sites-enabled/default
Sun Apr 14 16:56:24 2019 : Debug: (4) Post-Auth-Type REJECT {
Sun Apr 14 16:56:24 2019 : Debug: (4) modsingle[post-auth]: calling
attr_filter.access_reject (rlm_attr_filter)
Sun Apr 14 16:56:24 2019 : Debug: %{User-Name}
Sun Apr 14 16:56:24 2019 : Debug: Parsed xlat tree:
Sun Apr 14 16:56:24 2019 : Debug: attribute --> User-Name
Sun Apr 14 16:56:24 2019 : Debug: (4) attr_filter.access_reject: EXPAND
%{User-Name}
Sun Apr 14 16:56:24 2019 : Debug: (4) attr_filter.access_reject: -->
anonymous
Sun Apr 14 16:56:24 2019 : Debug: (4) attr_filter.access_reject: Matched
entry DEFAULT at line 11
Sun Apr 14 16:56:24 2019 : Debug: (4) attr_filter.access_reject: EAP-Message
= 0x04040004 allowed by EAP-Message =* 0x
Sun Apr 14 16:56:24 2019 : Debug: (4) attr_filter.access_reject: Attribute
"EAP-Message" allowed by 1 rules, disallowed by 0 rules
Sun Apr 14 16:56:24 2019 : Debug: (4) attr_filter.access_reject:
Message-Authenticator = 0x00000000000000000000000000000000 allowed by
Message-Authenticator =* 0x
Sun Apr 14 16:56:24 2019 : Debug: (4) attr_filter.access_reject: Attribute
"Message-Authenticator" allowed by 1 rules, disallowed by 0 rules
Sun Apr 14 16:56:24 2019 : Debug: (4) modsingle[post-auth]: returned
from attr_filter.access_reject (rlm_attr_filter)
Sun Apr 14 16:56:24 2019 : Debug: (4) [attr_filter.access_reject] =
updated
Sun Apr 14 16:56:24 2019 : Debug: (4) modsingle[post-auth]: calling eap
(rlm_eap)
Sun Apr 14 16:56:24 2019 : Debug: (4) eap: Reply already contained an
EAP-Message, not inserting EAP-Failure
Sun Apr 14 16:56:24 2019 : Debug: (4) modsingle[post-auth]: returned
from eap (rlm_eap)
Sun Apr 14 16:56:24 2019 : Debug: (4) [eap] = noop
Sun Apr 14 16:56:24 2019 : Debug: (4) policy remove_reply_message_if_eap
{
Sun Apr 14 16:56:24 2019 : Debug: (4) if (&reply:EAP-Message &&
&reply:Reply-Message) {
Sun Apr 14 16:56:24 2019 : Debug: (4) if (&reply:EAP-Message &&
&reply:Reply-Message) -> FALSE
Sun Apr 14 16:56:24 2019 : Debug: (4) else {
Sun Apr 14 16:56:24 2019 : Debug: (4) modsingle[post-auth]: calling
noop (rlm_always)
Sun Apr 14 16:56:24 2019 : Debug: (4) modsingle[post-auth]: returned
from noop (rlm_always)
Sun Apr 14 16:56:24 2019 : Debug: (4) [noop] = noop
Sun Apr 14 16:56:24 2019 : Debug: (4) } # else = noop
Sun Apr 14 16:56:24 2019 : Debug: (4) } # policy
remove_reply_message_if_eap = noop
Sun Apr 14 16:56:24 2019 : Debug: (4) } # Post-Auth-Type REJECT = updated
Sun Apr 14 16:56:24 2019 : Debug: (4) Delaying response for 1.000000 seconds
Sun Apr 14 16:56:24 2019 : Debug: Waking up in 0.2 seconds.
Sun Apr 14 16:56:24 2019 : Debug: Waking up in 0.7 seconds.
Sun Apr 14 16:56:25 2019 : Debug: (4) Sending delayed response
Sun Apr 14 16:56:25 2019 : Debug: (4) Sent Access-Reject Id 4 from
127.0.0.1:1812 to 127.0.0.1:44837 length 44
Sun Apr 14 16:56:25 2019 : Debug: (4) EAP-Message = 0x04040004
Sun Apr 14 16:56:25 2019 : Debug: (4) Message-Authenticator =
0x00000000000000000000000000000000
Sun Apr 14 16:56:25 2019 : Debug: Waking up in 3.5 seconds.
Sun Apr 14 16:56:29 2019 : Debug: (0) Cleaning up request packet ID 0 with
timestamp +26
Sun Apr 14 16:56:29 2019 : Debug: (1) Cleaning up request packet ID 1 with
timestamp +26
Sun Apr 14 16:56:29 2019 : Debug: Waking up in 0.2 seconds.
Sun Apr 14 16:56:29 2019 : Debug: (2) Cleaning up request packet ID 2 with
timestamp +26
Sun Apr 14 16:56:29 2019 : Debug: (3) Cleaning up request packet ID 3 with
timestamp +26
Sun Apr 14 16:56:29 2019 : Debug: (4) Cleaning up request packet ID 4 with
timestamp +26
Sun Apr 14 16:56:29 2019 : Info: Ready to process requests
Sun Apr 14 16:56:49 2019 : Debug: (5) Received Access-Request Id 0 from
127.0.0.1:42044 to 127.0.0.1:1812 length 132
Sun Apr 14 16:56:49 2019 : Debug: (5) User-Name = "anonymous"
Sun Apr 14 16:56:49 2019 : Debug: (5) NAS-IP-Address = 127.0.0.1
Sun Apr 14 16:56:49 2019 : Debug: (5) Calling-Station-Id =
"02-00-00-00-00-01"
Sun Apr 14 16:56:49 2019 : Debug: (5) Framed-MTU = 1400
Sun Apr 14 16:56:49 2019 : Debug: (5) NAS-Port-Type = Wireless-802.11
Sun Apr 14 16:56:49 2019 : Debug: (5) Service-Type = Framed-User
Sun Apr 14 16:56:49 2019 : Debug: (5) Connect-Info = "CONNECT 11Mbps
802.11b"
Sun Apr 14 16:56:49 2019 : Debug: (5) EAP-Message =
0x0200000e01616e6f6e796d6f7573
Sun Apr 14 16:56:49 2019 : Debug: (5) Message-Authenticator =
0xcdb329fb62c058d3925ee90597ab4808
Sun Apr 14 16:56:49 2019 : Debug: (5) session-state: No State attribute
Sun Apr 14 16:56:49 2019 : Debug: (5) # Executing section authorize from
file /etc/freeradius/3.0/sites-enabled/default
Sun Apr 14 16:56:49 2019 : Debug: (5) authorize {
Sun Apr 14 16:56:49 2019 : Debug: (5) policy filter_username {
Sun Apr 14 16:56:49 2019 : Debug: (5) if (&User-Name) {
Sun Apr 14 16:56:49 2019 : Debug: (5) if (&User-Name) -> TRUE
Sun Apr 14 16:56:49 2019 : Debug: (5) if (&User-Name) {
Sun Apr 14 16:56:49 2019 : Debug: (5) if (&User-Name =~ / /) {
Sun Apr 14 16:56:49 2019 : Debug: No matches
Sun Apr 14 16:56:49 2019 : Debug: (5) if (&User-Name =~ / /) ->
FALSE
Sun Apr 14 16:56:49 2019 : Debug: (5) if (&User-Name =~ /@[^@]*@/ )
{
Sun Apr 14 16:56:49 2019 : Debug: No matches
Sun Apr 14 16:56:49 2019 : Debug: (5) if (&User-Name =~ /@[^@]*@/ )
-> FALSE
Sun Apr 14 16:56:49 2019 : Debug: (5) if (&User-Name =~ /\.\./ ) {
Sun Apr 14 16:56:49 2019 : Debug: No matches
Sun Apr 14 16:56:49 2019 : Debug: (5) if (&User-Name =~ /\.\./ ) ->
FALSE
Sun Apr 14 16:56:49 2019 : Debug: (5) if ((&User-Name =~ /@/) &&
(&User-Name !~ /(a)(.+)\.(.+)$/)) {
Sun Apr 14 16:56:49 2019 : Debug: No matches
Sun Apr 14 16:56:49 2019 : Debug: (5) if ((&User-Name =~ /@/) &&
(&User-Name !~ /(a)(.+)\.(.+)$/)) -> FALSE
Sun Apr 14 16:56:49 2019 : Debug: (5) if (&User-Name =~ /\.$/) {
Sun Apr 14 16:56:49 2019 : Debug: No matches
Sun Apr 14 16:56:49 2019 : Debug: (5) if (&User-Name =~ /\.$/) ->
FALSE
Sun Apr 14 16:56:49 2019 : Debug: (5) if (&User-Name =~ /(a)\./) {
Sun Apr 14 16:56:49 2019 : Debug: No matches
Sun Apr 14 16:56:49 2019 : Debug: (5) if (&User-Name =~ /(a)\./) ->
FALSE
Sun Apr 14 16:56:49 2019 : Debug: (5) } # if (&User-Name) = notfound
Sun Apr 14 16:56:49 2019 : Debug: (5) } # policy filter_username =
notfound
Sun Apr 14 16:56:49 2019 : Debug: (5) modsingle[authorize]: calling
preprocess (rlm_preprocess)
Sun Apr 14 16:56:49 2019 : Debug: (5) modsingle[authorize]: returned
from preprocess (rlm_preprocess)
Sun Apr 14 16:56:49 2019 : Debug: (5) [preprocess] = ok
Sun Apr 14 16:56:49 2019 : Debug: (5) modsingle[authorize]: calling chap
(rlm_chap)
Sun Apr 14 16:56:49 2019 : Debug: (5) modsingle[authorize]: returned
from chap (rlm_chap)
Sun Apr 14 16:56:49 2019 : Debug: (5) [chap] = noop
Sun Apr 14 16:56:49 2019 : Debug: (5) modsingle[authorize]: calling
mschap (rlm_mschap)
Sun Apr 14 16:56:49 2019 : Debug: (5) modsingle[authorize]: returned
from mschap (rlm_mschap)
Sun Apr 14 16:56:49 2019 : Debug: (5) [mschap] = noop
Sun Apr 14 16:56:49 2019 : Debug: (5) modsingle[authorize]: calling
digest (rlm_digest)
Sun Apr 14 16:56:49 2019 : Debug: (5) modsingle[authorize]: returned
from digest (rlm_digest)
Sun Apr 14 16:56:49 2019 : Debug: (5) [digest] = noop
Sun Apr 14 16:56:49 2019 : Debug: (5) modsingle[authorize]: calling
suffix (rlm_realm)
Sun Apr 14 16:56:49 2019 : Debug: (5) suffix: Checking for suffix after "@"
Sun Apr 14 16:56:49 2019 : Debug: (5) suffix: No '@' in User-Name =
"anonymous", looking up realm NULL
Sun Apr 14 16:56:49 2019 : Debug: (5) suffix: No such realm "NULL"
Sun Apr 14 16:56:49 2019 : Debug: (5) modsingle[authorize]: returned
from suffix (rlm_realm)
Sun Apr 14 16:56:49 2019 : Debug: (5) [suffix] = noop
Sun Apr 14 16:56:49 2019 : Debug: (5) modsingle[authorize]: calling eap
(rlm_eap)
Sun Apr 14 16:56:49 2019 : Debug: (5) eap: Peer sent EAP Response (code 2)
ID 0 length 14
Sun Apr 14 16:56:49 2019 : Debug: (5) eap: EAP-Identity reply, returning
'ok' so we can short-circuit the rest of authorize
Sun Apr 14 16:56:49 2019 : Debug: (5) modsingle[authorize]: returned
from eap (rlm_eap)
Sun Apr 14 16:56:49 2019 : Debug: (5) [eap] = ok
Sun Apr 14 16:56:49 2019 : Debug: (5) } # authorize = ok
Sun Apr 14 16:56:49 2019 : Debug: (5) Found Auth-Type = eap
Sun Apr 14 16:56:49 2019 : Debug: (5) # Executing group from file
/etc/freeradius/3.0/sites-enabled/default
Sun Apr 14 16:56:49 2019 : Debug: (5) authenticate {
Sun Apr 14 16:56:49 2019 : Debug: (5) modsingle[authenticate]: calling
eap (rlm_eap)
Sun Apr 14 16:56:49 2019 : Debug: (5) eap: Peer sent packet with method EAP
Identity (1)
Sun Apr 14 16:56:49 2019 : Debug: (5) eap: Calling submodule eap_peap to
process data
Sun Apr 14 16:56:49 2019 : Debug: (5) eap_peap: Initiating new EAP-TLS
session
Sun Apr 14 16:56:49 2019 : Debug: (5) eap_peap: [eaptls start] = request
Sun Apr 14 16:56:49 2019 : Debug: (5) eap: Sending EAP Request (code 1) ID 1
length 6
Sun Apr 14 16:56:49 2019 : Debug: (5) eap: EAP session adding &reply:State =
0xe81868d9e819712b
Sun Apr 14 16:56:49 2019 : Debug: (5) modsingle[authenticate]: returned
from eap (rlm_eap)
Sun Apr 14 16:56:49 2019 : Debug: (5) [eap] = handled
Sun Apr 14 16:56:49 2019 : Debug: (5) } # authenticate = handled
Sun Apr 14 16:56:49 2019 : Debug: (5) Using Post-Auth-Type Challenge
Sun Apr 14 16:56:49 2019 : Debug: (5) Post-Auth-Type sub-section not found.
Ignoring.
Sun Apr 14 16:56:49 2019 : Debug: (5) # Executing group from file
/etc/freeradius/3.0/sites-enabled/default
Sun Apr 14 16:56:49 2019 : Debug: (5) session-state: Nothing to cache
Sun Apr 14 16:56:49 2019 : Debug: (5) Sent Access-Challenge Id 0 from
127.0.0.1:1812 to 127.0.0.1:42044 length 0
Sun Apr 14 16:56:49 2019 : Debug: (5) EAP-Message = 0x010100061920
Sun Apr 14 16:56:49 2019 : Debug: (5) Message-Authenticator =
0x00000000000000000000000000000000
Sun Apr 14 16:56:49 2019 : Debug: (5) State =
0xe81868d9e819712b5e54bfdf71bdf4da
Sun Apr 14 16:56:49 2019 : Debug: (5) Finished request
Sun Apr 14 16:56:49 2019 : Debug: Waking up in 4.9 seconds.
Sun Apr 14 16:56:49 2019 : Debug: (6) Received Access-Request Id 1 from
127.0.0.1:42044 to 127.0.0.1:1812 length 142
Sun Apr 14 16:56:49 2019 : Debug: (6) User-Name = "anonymous"
Sun Apr 14 16:56:49 2019 : Debug: (6) NAS-IP-Address = 127.0.0.1
Sun Apr 14 16:56:49 2019 : Debug: (6) Calling-Station-Id =
"02-00-00-00-00-01"
Sun Apr 14 16:56:49 2019 : Debug: (6) Framed-MTU = 1400
Sun Apr 14 16:56:49 2019 : Debug: (6) NAS-Port-Type = Wireless-802.11
Sun Apr 14 16:56:49 2019 : Debug: (6) Service-Type = Framed-User
Sun Apr 14 16:56:49 2019 : Debug: (6) Connect-Info = "CONNECT 11Mbps
802.11b"
Sun Apr 14 16:56:49 2019 : Debug: (6) EAP-Message = 0x020100060315
Sun Apr 14 16:56:49 2019 : Debug: (6) State =
0xe81868d9e819712b5e54bfdf71bdf4da
Sun Apr 14 16:56:49 2019 : Debug: (6) Message-Authenticator =
0x808aa1a913dc01d6a2705cd81b8a753e
Sun Apr 14 16:56:49 2019 : Debug: (6) session-state: No cached attributes
Sun Apr 14 16:56:49 2019 : Debug: (6) # Executing section authorize from
file /etc/freeradius/3.0/sites-enabled/default
Sun Apr 14 16:56:49 2019 : Debug: (6) authorize {
Sun Apr 14 16:56:49 2019 : Debug: (6) policy filter_username {
Sun Apr 14 16:56:49 2019 : Debug: (6) if (&User-Name) {
Sun Apr 14 16:56:49 2019 : Debug: (6) if (&User-Name) -> TRUE
Sun Apr 14 16:56:49 2019 : Debug: (6) if (&User-Name) {
Sun Apr 14 16:56:49 2019 : Debug: (6) if (&User-Name =~ / /) {
Sun Apr 14 16:56:49 2019 : Debug: No matches
Sun Apr 14 16:56:49 2019 : Debug: (6) if (&User-Name =~ / /) ->
FALSE
Sun Apr 14 16:56:49 2019 : Debug: (6) if (&User-Name =~ /@[^@]*@/ )
{
Sun Apr 14 16:56:49 2019 : Debug: No matches
Sun Apr 14 16:56:49 2019 : Debug: (6) if (&User-Name =~ /@[^@]*@/ )
-> FALSE
Sun Apr 14 16:56:49 2019 : Debug: (6) if (&User-Name =~ /\.\./ ) {
Sun Apr 14 16:56:49 2019 : Debug: No matches
Sun Apr 14 16:56:49 2019 : Debug: (6) if (&User-Name =~ /\.\./ ) ->
FALSE
Sun Apr 14 16:56:49 2019 : Debug: (6) if ((&User-Name =~ /@/) &&
(&User-Name !~ /(a)(.+)\.(.+)$/)) {
Sun Apr 14 16:56:49 2019 : Debug: No matches
Sun Apr 14 16:56:49 2019 : Debug: (6) if ((&User-Name =~ /@/) &&
(&User-Name !~ /(a)(.+)\.(.+)$/)) -> FALSE
Sun Apr 14 16:56:49 2019 : Debug: (6) if (&User-Name =~ /\.$/) {
Sun Apr 14 16:56:49 2019 : Debug: No matches
Sun Apr 14 16:56:49 2019 : Debug: (6) if (&User-Name =~ /\.$/) ->
FALSE
Sun Apr 14 16:56:49 2019 : Debug: (6) if (&User-Name =~ /(a)\./) {
Sun Apr 14 16:56:49 2019 : Debug: No matches
Sun Apr 14 16:56:49 2019 : Debug: (6) if (&User-Name =~ /(a)\./) ->
FALSE
Sun Apr 14 16:56:49 2019 : Debug: (6) } # if (&User-Name) = notfound
Sun Apr 14 16:56:49 2019 : Debug: (6) } # policy filter_username =
notfound
Sun Apr 14 16:56:49 2019 : Debug: (6) modsingle[authorize]: calling
preprocess (rlm_preprocess)
Sun Apr 14 16:56:49 2019 : Debug: (6) modsingle[authorize]: returned
from preprocess (rlm_preprocess)
Sun Apr 14 16:56:49 2019 : Debug: (6) [preprocess] = ok
Sun Apr 14 16:56:49 2019 : Debug: (6) modsingle[authorize]: calling chap
(rlm_chap)
Sun Apr 14 16:56:49 2019 : Debug: (6) modsingle[authorize]: returned
from chap (rlm_chap)
Sun Apr 14 16:56:49 2019 : Debug: (6) [chap] = noop
Sun Apr 14 16:56:49 2019 : Debug: (6) modsingle[authorize]: calling
mschap (rlm_mschap)
Sun Apr 14 16:56:49 2019 : Debug: (6) modsingle[authorize]: returned
from mschap (rlm_mschap)
Sun Apr 14 16:56:49 2019 : Debug: (6) [mschap] = noop
Sun Apr 14 16:56:49 2019 : Debug: (6) modsingle[authorize]: calling
digest (rlm_digest)
Sun Apr 14 16:56:49 2019 : Debug: (6) modsingle[authorize]: returned
from digest (rlm_digest)
Sun Apr 14 16:56:49 2019 : Debug: (6) [digest] = noop
Sun Apr 14 16:56:49 2019 : Debug: (6) modsingle[authorize]: calling
suffix (rlm_realm)
Sun Apr 14 16:56:49 2019 : Debug: (6) suffix: Checking for suffix after "@"
Sun Apr 14 16:56:49 2019 : Debug: (6) suffix: No '@' in User-Name =
"anonymous", looking up realm NULL
Sun Apr 14 16:56:49 2019 : Debug: (6) suffix: No such realm "NULL"
Sun Apr 14 16:56:49 2019 : Debug: (6) modsingle[authorize]: returned
from suffix (rlm_realm)
Sun Apr 14 16:56:49 2019 : Debug: (6) [suffix] = noop
Sun Apr 14 16:56:49 2019 : Debug: (6) modsingle[authorize]: calling eap
(rlm_eap)
Sun Apr 14 16:56:49 2019 : Debug: (6) eap: Peer sent EAP Response (code 2)
ID 1 length 6
Sun Apr 14 16:56:49 2019 : Debug: (6) eap: No EAP Start, assuming it's an
on-going EAP conversation
Sun Apr 14 16:56:49 2019 : Debug: (6) modsingle[authorize]: returned
from eap (rlm_eap)
Sun Apr 14 16:56:49 2019 : Debug: (6) [eap] = updated
Sun Apr 14 16:56:49 2019 : Debug: (6) modsingle[authorize]: calling
files (rlm_files)
Sun Apr 14 16:56:49 2019 : Debug: (6) modsingle[authorize]: returned
from files (rlm_files)
Sun Apr 14 16:56:49 2019 : Debug: (6) [files] = noop
Sun Apr 14 16:56:49 2019 : Debug: (6) modsingle[authorize]: calling
expiration (rlm_expiration)
Sun Apr 14 16:56:49 2019 : Debug: (6) modsingle[authorize]: returned
from expiration (rlm_expiration)
Sun Apr 14 16:56:49 2019 : Debug: (6) [expiration] = noop
Sun Apr 14 16:56:49 2019 : Debug: (6) modsingle[authorize]: calling
logintime (rlm_logintime)
Sun Apr 14 16:56:49 2019 : Debug: (6) modsingle[authorize]: returned
from logintime (rlm_logintime)
Sun Apr 14 16:56:49 2019 : Debug: (6) [logintime] = noop
Sun Apr 14 16:56:49 2019 : Debug: (6) modsingle[authorize]: calling pap
(rlm_pap)
Sun Apr 14 16:56:49 2019 : WARNING: (6) pap: No "known good" password found
for the user. Not setting Auth-Type
Sun Apr 14 16:56:49 2019 : WARNING: (6) pap: Authentication will fail unless
a "known good" password is available
Sun Apr 14 16:56:49 2019 : Debug: (6) modsingle[authorize]: returned
from pap (rlm_pap)
Sun Apr 14 16:56:49 2019 : Debug: (6) [pap] = noop
Sun Apr 14 16:56:49 2019 : Debug: (6) } # authorize = updated
Sun Apr 14 16:56:49 2019 : Debug: (6) Found Auth-Type = eap
Sun Apr 14 16:56:49 2019 : Debug: (6) # Executing group from file
/etc/freeradius/3.0/sites-enabled/default
Sun Apr 14 16:56:49 2019 : Debug: (6) authenticate {
Sun Apr 14 16:56:49 2019 : Debug: (6) modsingle[authenticate]: calling
eap (rlm_eap)
Sun Apr 14 16:56:49 2019 : Debug: (6) eap: Expiring EAP session with state
0xe81868d9e819712b
Sun Apr 14 16:56:49 2019 : Debug: (6) eap: Finished EAP session with state
0xe81868d9e819712b
Sun Apr 14 16:56:49 2019 : Debug: (6) eap: Previous EAP request found for
state 0xe81868d9e819712b, released from the list
Sun Apr 14 16:56:49 2019 : Debug: (6) eap: Peer sent packet with method EAP
NAK (3)
Sun Apr 14 16:56:49 2019 : Debug: (6) eap: Found mutually acceptable type
TTLS (21)
Sun Apr 14 16:56:49 2019 : Debug: (6) eap: Calling submodule eap_ttls to
process data
Sun Apr 14 16:56:49 2019 : Debug: (6) eap_ttls: Initiating new EAP-TLS
session
Sun Apr 14 16:56:49 2019 : Debug: (6) eap_ttls: [eaptls start] = request
Sun Apr 14 16:56:49 2019 : Debug: (6) eap: Sending EAP Request (code 1) ID 2
length 6
Sun Apr 14 16:56:49 2019 : Debug: (6) eap: EAP session adding &reply:State =
0xe81868d9e91a7d2b
Sun Apr 14 16:56:49 2019 : Debug: (6) modsingle[authenticate]: returned
from eap (rlm_eap)
Sun Apr 14 16:56:49 2019 : Debug: (6) [eap] = handled
Sun Apr 14 16:56:49 2019 : Debug: (6) } # authenticate = handled
Sun Apr 14 16:56:49 2019 : Debug: (6) Using Post-Auth-Type Challenge
Sun Apr 14 16:56:49 2019 : Debug: (6) Post-Auth-Type sub-section not found.
Ignoring.
Sun Apr 14 16:56:49 2019 : Debug: (6) # Executing group from file
/etc/freeradius/3.0/sites-enabled/default
Sun Apr 14 16:56:49 2019 : Debug: (6) session-state: Nothing to cache
Sun Apr 14 16:56:49 2019 : Debug: (6) Sent Access-Challenge Id 1 from
127.0.0.1:1812 to 127.0.0.1:42044 length 0
Sun Apr 14 16:56:49 2019 : Debug: (6) EAP-Message = 0x010200061520
Sun Apr 14 16:56:49 2019 : Debug: (6) Message-Authenticator =
0x00000000000000000000000000000000
Sun Apr 14 16:56:49 2019 : Debug: (6) State =
0xe81868d9e91a7d2b5e54bfdf71bdf4da
Sun Apr 14 16:56:49 2019 : Debug: (6) Finished request
Sun Apr 14 16:56:49 2019 : Debug: Waking up in 4.9 seconds.
Sun Apr 14 16:56:49 2019 : Debug: (7) Received Access-Request Id 2 from
127.0.0.1:42044 to 127.0.0.1:1812 length 314
Sun Apr 14 16:56:49 2019 : Debug: (7) User-Name = "anonymous"
Sun Apr 14 16:56:49 2019 : Debug: (7) NAS-IP-Address = 127.0.0.1
Sun Apr 14 16:56:49 2019 : Debug: (7) Calling-Station-Id =
"02-00-00-00-00-01"
Sun Apr 14 16:56:49 2019 : Debug: (7) Framed-MTU = 1400
Sun Apr 14 16:56:49 2019 : Debug: (7) NAS-Port-Type = Wireless-802.11
Sun Apr 14 16:56:49 2019 : Debug: (7) Service-Type = Framed-User
Sun Apr 14 16:56:49 2019 : Debug: (7) Connect-Info = "CONNECT 11Mbps
802.11b"
Sun Apr 14 16:56:49 2019 : Debug: (7) EAP-Message =
0x020200b2150016030100a7010000a303031fa43708c095a0c74d0cd10ac0f0d390b044376c
3a992d1ebd02f015527f953f000038c02cc030009fcca9cca8ccaac02bc02f009ec024c02800
6bc023c0270067c00ac0140039c009c0130033009d009c003d003c0035002f00ff0100004200
0b0004030001
Sun Apr 14 16:56:49 2019 : Debug: (7) State =
0xe81868d9e91a7d2b5e54bfdf71bdf4da
Sun Apr 14 16:56:49 2019 : Debug: (7) Message-Authenticator =
0x46eaa1291c9699ddcd59030ed4de9c1c
Sun Apr 14 16:56:49 2019 : Debug: (7) session-state: No cached attributes
Sun Apr 14 16:56:49 2019 : Debug: (7) # Executing section authorize from
file /etc/freeradius/3.0/sites-enabled/default
Sun Apr 14 16:56:49 2019 : Debug: (7) authorize {
Sun Apr 14 16:56:49 2019 : Debug: (7) policy filter_username {
Sun Apr 14 16:56:49 2019 : Debug: (7) if (&User-Name) {
Sun Apr 14 16:56:49 2019 : Debug: (7) if (&User-Name) -> TRUE
Sun Apr 14 16:56:49 2019 : Debug: (7) if (&User-Name) {
Sun Apr 14 16:56:49 2019 : Debug: (7) if (&User-Name =~ / /) {
Sun Apr 14 16:56:49 2019 : Debug: No matches
Sun Apr 14 16:56:49 2019 : Debug: (7) if (&User-Name =~ / /) ->
FALSE
Sun Apr 14 16:56:49 2019 : Debug: (7) if (&User-Name =~ /@[^@]*@/ )
{
Sun Apr 14 16:56:49 2019 : Debug: No matches
Sun Apr 14 16:56:49 2019 : Debug: (7) if (&User-Name =~ /@[^@]*@/ )
-> FALSE
Sun Apr 14 16:56:49 2019 : Debug: (7) if (&User-Name =~ /\.\./ ) {
Sun Apr 14 16:56:49 2019 : Debug: No matches
Sun Apr 14 16:56:49 2019 : Debug: (7) if (&User-Name =~ /\.\./ ) ->
FALSE
Sun Apr 14 16:56:49 2019 : Debug: (7) if ((&User-Name =~ /@/) &&
(&User-Name !~ /(a)(.+)\.(.+)$/)) {
Sun Apr 14 16:56:49 2019 : Debug: No matches
Sun Apr 14 16:56:49 2019 : Debug: (7) if ((&User-Name =~ /@/) &&
(&User-Name !~ /(a)(.+)\.(.+)$/)) -> FALSE
Sun Apr 14 16:56:49 2019 : Debug: (7) if (&User-Name =~ /\.$/) {
Sun Apr 14 16:56:49 2019 : Debug: No matches
Sun Apr 14 16:56:49 2019 : Debug: (7) if (&User-Name =~ /\.$/) ->
FALSE
Sun Apr 14 16:56:49 2019 : Debug: (7) if (&User-Name =~ /(a)\./) {
Sun Apr 14 16:56:49 2019 : Debug: No matches
Sun Apr 14 16:56:49 2019 : Debug: (7) if (&User-Name =~ /(a)\./) ->
FALSE
Sun Apr 14 16:56:49 2019 : Debug: (7) } # if (&User-Name) = notfound
Sun Apr 14 16:56:49 2019 : Debug: (7) } # policy filter_username =
notfound
Sun Apr 14 16:56:49 2019 : Debug: (7) modsingle[authorize]: calling
preprocess (rlm_preprocess)
Sun Apr 14 16:56:49 2019 : Debug: (7) modsingle[authorize]: returned
from preprocess (rlm_preprocess)
Sun Apr 14 16:56:49 2019 : Debug: (7) [preprocess] = ok
Sun Apr 14 16:56:49 2019 : Debug: (7) modsingle[authorize]: calling chap
(rlm_chap)
Sun Apr 14 16:56:49 2019 : Debug: (7) modsingle[authorize]: returned
from chap (rlm_chap)
Sun Apr 14 16:56:49 2019 : Debug: (7) [chap] = noop
Sun Apr 14 16:56:49 2019 : Debug: (7) modsingle[authorize]: calling
mschap (rlm_mschap)
Sun Apr 14 16:56:49 2019 : Debug: (7) modsingle[authorize]: returned
from mschap (rlm_mschap)
Sun Apr 14 16:56:49 2019 : Debug: (7) [mschap] = noop
Sun Apr 14 16:56:49 2019 : Debug: (7) modsingle[authorize]: calling
digest (rlm_digest)
Sun Apr 14 16:56:49 2019 : Debug: (7) modsingle[authorize]: returned
from digest (rlm_digest)
Sun Apr 14 16:56:49 2019 : Debug: (7) [digest] = noop
Sun Apr 14 16:56:49 2019 : Debug: (7) modsingle[authorize]: calling
suffix (rlm_realm)
Sun Apr 14 16:56:49 2019 : Debug: (7) suffix: Checking for suffix after "@"
Sun Apr 14 16:56:49 2019 : Debug: (7) suffix: No '@' in User-Name =
"anonymous", looking up realm NULL
Sun Apr 14 16:56:49 2019 : Debug: (7) suffix: No such realm "NULL"
Sun Apr 14 16:56:49 2019 : Debug: (7) modsingle[authorize]: returned
from suffix (rlm_realm)
Sun Apr 14 16:56:49 2019 : Debug: (7) [suffix] = noop
Sun Apr 14 16:56:49 2019 : Debug: (7) modsingle[authorize]: calling eap
(rlm_eap)
Sun Apr 14 16:56:49 2019 : Debug: (7) eap: Peer sent EAP Response (code 2)
ID 2 length 178
Sun Apr 14 16:56:49 2019 : Debug: (7) eap: Continuing tunnel setup
Sun Apr 14 16:56:49 2019 : Debug: (7) modsingle[authorize]: returned
from eap (rlm_eap)
Sun Apr 14 16:56:49 2019 : Debug: (7) [eap] = ok
Sun Apr 14 16:56:49 2019 : Debug: (7) } # authorize = ok
Sun Apr 14 16:56:49 2019 : Debug: (7) Found Auth-Type = eap
Sun Apr 14 16:56:49 2019 : Debug: (7) # Executing group from file
/etc/freeradius/3.0/sites-enabled/default
Sun Apr 14 16:56:49 2019 : Debug: (7) authenticate {
Sun Apr 14 16:56:49 2019 : Debug: (7) modsingle[authenticate]: calling
eap (rlm_eap)
Sun Apr 14 16:56:49 2019 : Debug: (7) eap: Expiring EAP session with state
0xe81868d9e91a7d2b
Sun Apr 14 16:56:49 2019 : Debug: (7) eap: Finished EAP session with state
0xe81868d9e91a7d2b
Sun Apr 14 16:56:49 2019 : Debug: (7) eap: Previous EAP request found for
state 0xe81868d9e91a7d2b, released from the list
Sun Apr 14 16:56:49 2019 : Debug: (7) eap: Peer sent packet with method EAP
TTLS (21)
Sun Apr 14 16:56:49 2019 : Debug: (7) eap: Calling submodule eap_ttls to
process data
Sun Apr 14 16:56:49 2019 : Debug: (7) eap_ttls: Authenticate
Sun Apr 14 16:56:49 2019 : Debug: (7) eap_ttls: Continuing EAP-TLS
Sun Apr 14 16:56:49 2019 : Debug: (7) eap_ttls: Peer sent flags ---
Sun Apr 14 16:56:49 2019 : Debug: (7) eap_ttls: [eaptls verify] = ok
Sun Apr 14 16:56:49 2019 : Debug: (7) eap_ttls: Done initial handshake
Sun Apr 14 16:56:49 2019 : Debug: (7) eap_ttls: (other): before SSL
initialization
Sun Apr 14 16:56:49 2019 : Debug: (7) eap_ttls: TLS_accept: before SSL
initialization
Sun Apr 14 16:56:49 2019 : Debug: Ignoring cbtls_msg call with pseudo
content type 256, version 0
Sun Apr 14 16:56:49 2019 : Debug: (7) eap_ttls: TLS_accept: before SSL
initialization
Sun Apr 14 16:56:49 2019 : Debug: (7) eap_ttls: <<< recv TLS 1.2 [length
00a7]
Sun Apr 14 16:56:49 2019 : Debug: (7) eap_ttls: TLS_accept: SSLv3/TLS read
client hello
Sun Apr 14 16:56:49 2019 : Debug: Ignoring cbtls_msg call with pseudo
content type 256, version 0
Sun Apr 14 16:56:49 2019 : Debug: (7) eap_ttls: >>> send TLS 1.2 [length
003d]
Sun Apr 14 16:56:49 2019 : Debug: (7) eap_ttls: TLS_accept: SSLv3/TLS write
server hello
Sun Apr 14 16:56:49 2019 : Debug: Ignoring cbtls_msg call with pseudo
content type 256, version 0
Sun Apr 14 16:56:49 2019 : Debug: (7) eap_ttls: >>> send TLS 1.2 [length
02d9]
Sun Apr 14 16:56:49 2019 : Debug: (7) eap_ttls: TLS_accept: SSLv3/TLS write
certificate
Sun Apr 14 16:56:49 2019 : Debug: Ignoring cbtls_msg call with pseudo
content type 256, version 0
Sun Apr 14 16:56:49 2019 : Debug: (7) eap_ttls: >>> send TLS 1.2 [length
014d]
Sun Apr 14 16:56:49 2019 : Debug: (7) eap_ttls: TLS_accept: SSLv3/TLS write
key exchange
Sun Apr 14 16:56:49 2019 : Debug: Ignoring cbtls_msg call with pseudo
content type 256, version 0
Sun Apr 14 16:56:49 2019 : Debug: (7) eap_ttls: >>> send TLS 1.2 [length
0004]
Sun Apr 14 16:56:49 2019 : Debug: (7) eap_ttls: TLS_accept: SSLv3/TLS write
server done
Sun Apr 14 16:56:49 2019 : Debug: (7) eap_ttls: TLS_accept: Need to read
more data: SSLv3/TLS write server done
Sun Apr 14 16:56:49 2019 : Debug: (7) eap_ttls: In SSL Handshake Phase
Sun Apr 14 16:56:49 2019 : Debug: (7) eap_ttls: In SSL Accept mode
Sun Apr 14 16:56:49 2019 : Debug: (7) eap_ttls: [eaptls process] = handled
Sun Apr 14 16:56:49 2019 : Debug: (7) eap: Sending EAP Request (code 1) ID 3
length 1004
Sun Apr 14 16:56:49 2019 : Debug: (7) eap: EAP session adding &reply:State =
0xe81868d9ea1b7d2b
Sun Apr 14 16:56:49 2019 : Debug: (7) modsingle[authenticate]: returned
from eap (rlm_eap)
Sun Apr 14 16:56:49 2019 : Debug: (7) [eap] = handled
Sun Apr 14 16:56:49 2019 : Debug: (7) } # authenticate = handled
Sun Apr 14 16:56:49 2019 : Debug: (7) Using Post-Auth-Type Challenge
Sun Apr 14 16:56:49 2019 : Debug: (7) Post-Auth-Type sub-section not found.
Ignoring.
Sun Apr 14 16:56:49 2019 : Debug: (7) # Executing group from file
/etc/freeradius/3.0/sites-enabled/default
Sun Apr 14 16:56:49 2019 : Debug: (7) session-state: Nothing to cache
Sun Apr 14 16:56:49 2019 : Debug: (7) Sent Access-Challenge Id 2 from
127.0.0.1:1812 to 127.0.0.1:42044 length 0
Sun Apr 14 16:56:49 2019 : Debug: (7) EAP-Message =
0x010303ec15c00000047b160303003d020000390303e5b005f35c1056db800f2287607e956b
7b46fa104408e31d7209245316f4fa7600c030000011ff01000100000b000403000102001700
0016030302d90b0002d50002d20002cf308202cb308201b3a003020102020900a1ccb3d7090c
ca2e300d0609
Sun Apr 14 16:56:49 2019 : Debug: (7) Message-Authenticator =
0x00000000000000000000000000000000
Sun Apr 14 16:56:49 2019 : Debug: (7) State =
0xe81868d9ea1b7d2b5e54bfdf71bdf4da
Sun Apr 14 16:56:49 2019 : Debug: (7) Finished request
Sun Apr 14 16:56:49 2019 : Debug: Waking up in 4.7 seconds.
Sun Apr 14 16:56:49 2019 : Debug: (8) Received Access-Request Id 3 from
127.0.0.1:42044 to 127.0.0.1:1812 length 142
Sun Apr 14 16:56:49 2019 : Debug: (8) User-Name = "anonymous"
Sun Apr 14 16:56:49 2019 : Debug: (8) NAS-IP-Address = 127.0.0.1
Sun Apr 14 16:56:49 2019 : Debug: (8) Calling-Station-Id =
"02-00-00-00-00-01"
Sun Apr 14 16:56:49 2019 : Debug: (8) Framed-MTU = 1400
Sun Apr 14 16:56:49 2019 : Debug: (8) NAS-Port-Type = Wireless-802.11
Sun Apr 14 16:56:49 2019 : Debug: (8) Service-Type = Framed-User
Sun Apr 14 16:56:49 2019 : Debug: (8) Connect-Info = "CONNECT 11Mbps
802.11b"
Sun Apr 14 16:56:49 2019 : Debug: (8) EAP-Message = 0x020300061500
Sun Apr 14 16:56:49 2019 : Debug: (8) State =
0xe81868d9ea1b7d2b5e54bfdf71bdf4da
Sun Apr 14 16:56:49 2019 : Debug: (8) Message-Authenticator =
0xc4ca5aa177111ff87d36d8b714339d25
Sun Apr 14 16:56:49 2019 : Debug: (8) session-state: No cached attributes
Sun Apr 14 16:56:49 2019 : Debug: (8) # Executing section authorize from
file /etc/freeradius/3.0/sites-enabled/default
Sun Apr 14 16:56:49 2019 : Debug: (8) authorize {
Sun Apr 14 16:56:49 2019 : Debug: (8) policy filter_username {
Sun Apr 14 16:56:49 2019 : Debug: (8) if (&User-Name) {
Sun Apr 14 16:56:49 2019 : Debug: (8) if (&User-Name) -> TRUE
Sun Apr 14 16:56:49 2019 : Debug: (8) if (&User-Name) {
Sun Apr 14 16:56:49 2019 : Debug: (8) if (&User-Name =~ / /) {
Sun Apr 14 16:56:49 2019 : Debug: No matches
Sun Apr 14 16:56:49 2019 : Debug: (8) if (&User-Name =~ / /) ->
FALSE
Sun Apr 14 16:56:49 2019 : Debug: (8) if (&User-Name =~ /@[^@]*@/ )
{
Sun Apr 14 16:56:49 2019 : Debug: No matches
Sun Apr 14 16:56:49 2019 : Debug: (8) if (&User-Name =~ /@[^@]*@/ )
-> FALSE
Sun Apr 14 16:56:49 2019 : Debug: (8) if (&User-Name =~ /\.\./ ) {
Sun Apr 14 16:56:49 2019 : Debug: No matches
Sun Apr 14 16:56:49 2019 : Debug: (8) if (&User-Name =~ /\.\./ ) ->
FALSE
Sun Apr 14 16:56:49 2019 : Debug: (8) if ((&User-Name =~ /@/) &&
(&User-Name !~ /(a)(.+)\.(.+)$/)) {
Sun Apr 14 16:56:49 2019 : Debug: No matches
Sun Apr 14 16:56:49 2019 : Debug: (8) if ((&User-Name =~ /@/) &&
(&User-Name !~ /(a)(.+)\.(.+)$/)) -> FALSE
Sun Apr 14 16:56:49 2019 : Debug: (8) if (&User-Name =~ /\.$/) {
Sun Apr 14 16:56:49 2019 : Debug: No matches
Sun Apr 14 16:56:49 2019 : Debug: (8) if (&User-Name =~ /\.$/) ->
FALSE
Sun Apr 14 16:56:49 2019 : Debug: (8) if (&User-Name =~ /(a)\./) {
Sun Apr 14 16:56:49 2019 : Debug: No matches
Sun Apr 14 16:56:49 2019 : Debug: (8) if (&User-Name =~ /(a)\./) ->
FALSE
Sun Apr 14 16:56:49 2019 : Debug: (8) } # if (&User-Name) = notfound
Sun Apr 14 16:56:49 2019 : Debug: (8) } # policy filter_username =
notfound
Sun Apr 14 16:56:49 2019 : Debug: (8) modsingle[authorize]: calling
preprocess (rlm_preprocess)
Sun Apr 14 16:56:49 2019 : Debug: (8) modsingle[authorize]: returned
from preprocess (rlm_preprocess)
Sun Apr 14 16:56:49 2019 : Debug: (8) [preprocess] = ok
Sun Apr 14 16:56:49 2019 : Debug: (8) modsingle[authorize]: calling chap
(rlm_chap)
Sun Apr 14 16:56:49 2019 : Debug: (8) modsingle[authorize]: returned
from chap (rlm_chap)
Sun Apr 14 16:56:49 2019 : Debug: (8) [chap] = noop
Sun Apr 14 16:56:49 2019 : Debug: (8) modsingle[authorize]: calling
mschap (rlm_mschap)
Sun Apr 14 16:56:49 2019 : Debug: (8) modsingle[authorize]: returned
from mschap (rlm_mschap)
Sun Apr 14 16:56:49 2019 : Debug: (8) [mschap] = noop
Sun Apr 14 16:56:49 2019 : Debug: (8) modsingle[authorize]: calling
digest (rlm_digest)
Sun Apr 14 16:56:49 2019 : Debug: (8) modsingle[authorize]: returned
from digest (rlm_digest)
Sun Apr 14 16:56:49 2019 : Debug: (8) [digest] = noop
Sun Apr 14 16:56:49 2019 : Debug: (8) modsingle[authorize]: calling
suffix (rlm_realm)
Sun Apr 14 16:56:49 2019 : Debug: (8) suffix: Checking for suffix after "@"
Sun Apr 14 16:56:49 2019 : Debug: (8) suffix: No '@' in User-Name =
"anonymous", looking up realm NULL
Sun Apr 14 16:56:49 2019 : Debug: (8) suffix: No such realm "NULL"
Sun Apr 14 16:56:49 2019 : Debug: (8) modsingle[authorize]: returned
from suffix (rlm_realm)
Sun Apr 14 16:56:49 2019 : Debug: (8) [suffix] = noop
Sun Apr 14 16:56:49 2019 : Debug: (8) modsingle[authorize]: calling eap
(rlm_eap)
Sun Apr 14 16:56:49 2019 : Debug: (8) eap: Peer sent EAP Response (code 2)
ID 3 length 6
Sun Apr 14 16:56:49 2019 : Debug: (8) eap: Continuing tunnel setup
Sun Apr 14 16:56:49 2019 : Debug: (8) modsingle[authorize]: returned
from eap (rlm_eap)
Sun Apr 14 16:56:49 2019 : Debug: (8) [eap] = ok
Sun Apr 14 16:56:49 2019 : Debug: (8) } # authorize = ok
Sun Apr 14 16:56:49 2019 : Debug: (8) Found Auth-Type = eap
Sun Apr 14 16:56:49 2019 : Debug: (8) # Executing group from file
/etc/freeradius/3.0/sites-enabled/default
Sun Apr 14 16:56:49 2019 : Debug: (8) authenticate {
Sun Apr 14 16:56:49 2019 : Debug: (8) modsingle[authenticate]: calling
eap (rlm_eap)
Sun Apr 14 16:56:49 2019 : Debug: (8) eap: Expiring EAP session with state
0xe81868d9ea1b7d2b
Sun Apr 14 16:56:49 2019 : Debug: (8) eap: Finished EAP session with state
0xe81868d9ea1b7d2b
Sun Apr 14 16:56:49 2019 : Debug: (8) eap: Previous EAP request found for
state 0xe81868d9ea1b7d2b, released from the list
Sun Apr 14 16:56:49 2019 : Debug: (8) eap: Peer sent packet with method EAP
TTLS (21)
Sun Apr 14 16:56:49 2019 : Debug: (8) eap: Calling submodule eap_ttls to
process data
Sun Apr 14 16:56:49 2019 : Debug: (8) eap_ttls: Authenticate
Sun Apr 14 16:56:49 2019 : Debug: (8) eap_ttls: Continuing EAP-TLS
Sun Apr 14 16:56:49 2019 : Debug: (8) eap_ttls: Peer sent flags ---
Sun Apr 14 16:56:49 2019 : Debug: (8) eap_ttls: Peer ACKed our handshake
fragment
Sun Apr 14 16:56:49 2019 : Debug: (8) eap_ttls: [eaptls verify] = request
Sun Apr 14 16:56:49 2019 : Debug: (8) eap_ttls: [eaptls process] = handled
Sun Apr 14 16:56:49 2019 : Debug: (8) eap: Sending EAP Request (code 1) ID 4
length 163
Sun Apr 14 16:56:49 2019 : Debug: (8) eap: EAP session adding &reply:State =
0xe81868d9eb1c7d2b
Sun Apr 14 16:56:49 2019 : Debug: (8) modsingle[authenticate]: returned
from eap (rlm_eap)
Sun Apr 14 16:56:49 2019 : Debug: (8) [eap] = handled
Sun Apr 14 16:56:49 2019 : Debug: (8) } # authenticate = handled
Sun Apr 14 16:56:49 2019 : Debug: (8) Using Post-Auth-Type Challenge
Sun Apr 14 16:56:49 2019 : Debug: (8) Post-Auth-Type sub-section not found.
Ignoring.
Sun Apr 14 16:56:49 2019 : Debug: (8) # Executing group from file
/etc/freeradius/3.0/sites-enabled/default
Sun Apr 14 16:56:49 2019 : Debug: (8) session-state: Nothing to cache
Sun Apr 14 16:56:49 2019 : Debug: (8) Sent Access-Challenge Id 3 from
127.0.0.1:1812 to 127.0.0.1:42044 length 0
Sun Apr 14 16:56:49 2019 : Debug: (8) EAP-Message =
0x010400a315800000047ba809e330cce24ab88bfab17ed9c00e48dcebb6fcd2982c474cb7d0
454c051a57fed52cc06d3916f93931d3c14581ca07ba095ba3e07b033aeb3916c60c7d277c83
2839e4c2bda77fd00518ab3edb3662c6de6389cfed4f6bce93661d261beee419db6f2cffffd9
efa9f95dfb6d
Sun Apr 14 16:56:49 2019 : Debug: (8) Message-Authenticator =
0x00000000000000000000000000000000
Sun Apr 14 16:56:49 2019 : Debug: (8) State =
0xe81868d9eb1c7d2b5e54bfdf71bdf4da
Sun Apr 14 16:56:49 2019 : Debug: (8) Finished request
Sun Apr 14 16:56:49 2019 : Debug: Waking up in 4.6 seconds.
Sun Apr 14 16:56:49 2019 : Debug: (9) Received Access-Request Id 4 from
127.0.0.1:42044 to 127.0.0.1:1812 length 149
Sun Apr 14 16:56:49 2019 : Debug: (9) User-Name = "anonymous"
Sun Apr 14 16:56:49 2019 : Debug: (9) NAS-IP-Address = 127.0.0.1
Sun Apr 14 16:56:49 2019 : Debug: (9) Calling-Station-Id =
"02-00-00-00-00-01"
Sun Apr 14 16:56:49 2019 : Debug: (9) Framed-MTU = 1400
Sun Apr 14 16:56:49 2019 : Debug: (9) NAS-Port-Type = Wireless-802.11
Sun Apr 14 16:56:49 2019 : Debug: (9) Service-Type = Framed-User
Sun Apr 14 16:56:49 2019 : Debug: (9) Connect-Info = "CONNECT 11Mbps
802.11b"
Sun Apr 14 16:56:49 2019 : Debug: (9) EAP-Message =
0x0204000d150015030300020230
Sun Apr 14 16:56:49 2019 : Debug: (9) State =
0xe81868d9eb1c7d2b5e54bfdf71bdf4da
Sun Apr 14 16:56:49 2019 : Debug: (9) Message-Authenticator =
0xd4e643b2e8e294a3e165f6f39b912ff4
Sun Apr 14 16:56:49 2019 : Debug: (9) session-state: No cached attributes
Sun Apr 14 16:56:49 2019 : Debug: (9) # Executing section authorize from
file /etc/freeradius/3.0/sites-enabled/default
Sun Apr 14 16:56:49 2019 : Debug: (9) authorize {
Sun Apr 14 16:56:49 2019 : Debug: (9) policy filter_username {
Sun Apr 14 16:56:49 2019 : Debug: (9) if (&User-Name) {
Sun Apr 14 16:56:49 2019 : Debug: (9) if (&User-Name) -> TRUE
Sun Apr 14 16:56:49 2019 : Debug: (9) if (&User-Name) {
Sun Apr 14 16:56:49 2019 : Debug: (9) if (&User-Name =~ / /) {
Sun Apr 14 16:56:49 2019 : Debug: No matches
Sun Apr 14 16:56:49 2019 : Debug: (9) if (&User-Name =~ / /) ->
FALSE
Sun Apr 14 16:56:49 2019 : Debug: (9) if (&User-Name =~ /@[^@]*@/ )
{
Sun Apr 14 16:56:49 2019 : Debug: No matches
Sun Apr 14 16:56:49 2019 : Debug: (9) if (&User-Name =~ /@[^@]*@/ )
-> FALSE
Sun Apr 14 16:56:49 2019 : Debug: (9) if (&User-Name =~ /\.\./ ) {
Sun Apr 14 16:56:49 2019 : Debug: No matches
Sun Apr 14 16:56:49 2019 : Debug: (9) if (&User-Name =~ /\.\./ ) ->
FALSE
Sun Apr 14 16:56:49 2019 : Debug: (9) if ((&User-Name =~ /@/) &&
(&User-Name !~ /(a)(.+)\.(.+)$/)) {
Sun Apr 14 16:56:49 2019 : Debug: No matches
Sun Apr 14 16:56:49 2019 : Debug: (9) if ((&User-Name =~ /@/) &&
(&User-Name !~ /(a)(.+)\.(.+)$/)) -> FALSE
Sun Apr 14 16:56:49 2019 : Debug: (9) if (&User-Name =~ /\.$/) {
Sun Apr 14 16:56:49 2019 : Debug: No matches
Sun Apr 14 16:56:49 2019 : Debug: (9) if (&User-Name =~ /\.$/) ->
FALSE
Sun Apr 14 16:56:49 2019 : Debug: (9) if (&User-Name =~ /(a)\./) {
Sun Apr 14 16:56:49 2019 : Debug: No matches
Sun Apr 14 16:56:49 2019 : Debug: (9) if (&User-Name =~ /(a)\./) ->
FALSE
Sun Apr 14 16:56:49 2019 : Debug: (9) } # if (&User-Name) = notfound
Sun Apr 14 16:56:49 2019 : Debug: (9) } # policy filter_username =
notfound
Sun Apr 14 16:56:49 2019 : Debug: (9) modsingle[authorize]: calling
preprocess (rlm_preprocess)
Sun Apr 14 16:56:49 2019 : Debug: (9) modsingle[authorize]: returned
from preprocess (rlm_preprocess)
Sun Apr 14 16:56:49 2019 : Debug: (9) [preprocess] = ok
Sun Apr 14 16:56:49 2019 : Debug: (9) modsingle[authorize]: calling chap
(rlm_chap)
Sun Apr 14 16:56:49 2019 : Debug: (9) modsingle[authorize]: returned
from chap (rlm_chap)
Sun Apr 14 16:56:49 2019 : Debug: (9) [chap] = noop
Sun Apr 14 16:56:49 2019 : Debug: (9) modsingle[authorize]: calling
mschap (rlm_mschap)
Sun Apr 14 16:56:49 2019 : Debug: (9) modsingle[authorize]: returned
from mschap (rlm_mschap)
Sun Apr 14 16:56:49 2019 : Debug: (9) [mschap] = noop
Sun Apr 14 16:56:49 2019 : Debug: (9) modsingle[authorize]: calling
digest (rlm_digest)
Sun Apr 14 16:56:49 2019 : Debug: (9) modsingle[authorize]: returned
from digest (rlm_digest)
Sun Apr 14 16:56:49 2019 : Debug: (9) [digest] = noop
Sun Apr 14 16:56:49 2019 : Debug: (9) modsingle[authorize]: calling
suffix (rlm_realm)
Sun Apr 14 16:56:49 2019 : Debug: (9) suffix: Checking for suffix after "@"
Sun Apr 14 16:56:49 2019 : Debug: (9) suffix: No '@' in User-Name =
"anonymous", looking up realm NULL
Sun Apr 14 16:56:49 2019 : Debug: (9) suffix: No such realm "NULL"
Sun Apr 14 16:56:49 2019 : Debug: (9) modsingle[authorize]: returned
from suffix (rlm_realm)
Sun Apr 14 16:56:49 2019 : Debug: (9) [suffix] = noop
Sun Apr 14 16:56:49 2019 : Debug: (9) modsingle[authorize]: calling eap
(rlm_eap)
Sun Apr 14 16:56:49 2019 : Debug: (9) eap: Peer sent EAP Response (code 2)
ID 4 length 13
Sun Apr 14 16:56:49 2019 : Debug: (9) eap: Continuing tunnel setup
Sun Apr 14 16:56:49 2019 : Debug: (9) modsingle[authorize]: returned
from eap (rlm_eap)
Sun Apr 14 16:56:49 2019 : Debug: (9) [eap] = ok
Sun Apr 14 16:56:49 2019 : Debug: (9) } # authorize = ok
Sun Apr 14 16:56:49 2019 : Debug: (9) Found Auth-Type = eap
Sun Apr 14 16:56:49 2019 : Debug: (9) # Executing group from file
/etc/freeradius/3.0/sites-enabled/default
Sun Apr 14 16:56:49 2019 : Debug: (9) authenticate {
Sun Apr 14 16:56:49 2019 : Debug: (9) modsingle[authenticate]: calling
eap (rlm_eap)
Sun Apr 14 16:56:49 2019 : Debug: (9) eap: Expiring EAP session with state
0xe81868d9eb1c7d2b
Sun Apr 14 16:56:49 2019 : Debug: (9) eap: Finished EAP session with state
0xe81868d9eb1c7d2b
Sun Apr 14 16:56:49 2019 : Debug: (9) eap: Previous EAP request found for
state 0xe81868d9eb1c7d2b, released from the list
Sun Apr 14 16:56:49 2019 : Debug: (9) eap: Peer sent packet with method EAP
TTLS (21)
Sun Apr 14 16:56:49 2019 : Debug: (9) eap: Calling submodule eap_ttls to
process data
Sun Apr 14 16:56:49 2019 : Debug: (9) eap_ttls: Authenticate
Sun Apr 14 16:56:49 2019 : Debug: (9) eap_ttls: Continuing EAP-TLS
Sun Apr 14 16:56:49 2019 : Debug: (9) eap_ttls: Peer sent flags ---
Sun Apr 14 16:56:49 2019 : Debug: (9) eap_ttls: [eaptls verify] = ok
Sun Apr 14 16:56:49 2019 : Debug: (9) eap_ttls: Done initial handshake
Sun Apr 14 16:56:49 2019 : Debug: Ignoring cbtls_msg call with pseudo
content type 256, version 0
Sun Apr 14 16:56:49 2019 : Debug: (9) eap_ttls: <<< recv TLS 1.2 [length
0002]
Sun Apr 14 16:56:49 2019 : ERROR: (9) eap_ttls: TLS Alert read:fatal:unknown
CA
Sun Apr 14 16:56:49 2019 : Debug: (9) eap_ttls: TLS_accept: Need to read
more data: SSLv3/TLS write server done
Sun Apr 14 16:56:49 2019 : ERROR: (9) eap_ttls: Failed in __FUNCTION__
(SSL_read): ../ssl/record/rec_layer_s3.c[1407]:error:14094418:SSL
routines:ssl3_read_bytes:tlsv1 alert unknown ca
Sun Apr 14 16:56:49 2019 : ERROR: (9) eap_ttls: System call (I/O) error (-1)
Sun Apr 14 16:56:49 2019 : ERROR: (9) eap_ttls: TLS receive handshake failed
during operation
Sun Apr 14 16:56:49 2019 : ERROR: (9) eap_ttls: [eaptls process] = fail
Sun Apr 14 16:56:49 2019 : ERROR: (9) eap: Failed continuing EAP TTLS (21)
session. EAP sub-module failed
Sun Apr 14 16:56:49 2019 : Debug: (9) eap: Sending EAP Failure (code 4) ID 4
length 4
Sun Apr 14 16:56:49 2019 : Debug: (9) eap: Failed in EAP select
Sun Apr 14 16:56:49 2019 : Debug: (9) modsingle[authenticate]: returned
from eap (rlm_eap)
Sun Apr 14 16:56:49 2019 : Debug: (9) [eap] = invalid
Sun Apr 14 16:56:49 2019 : Debug: (9) } # authenticate = invalid
Sun Apr 14 16:56:49 2019 : Debug: (9) Failed to authenticate the user
Sun Apr 14 16:56:49 2019 : Debug: (9) Using Post-Auth-Type Reject
Sun Apr 14 16:56:49 2019 : Debug: (9) # Executing group from file
/etc/freeradius/3.0/sites-enabled/default
Sun Apr 14 16:56:49 2019 : Debug: (9) Post-Auth-Type REJECT {
Sun Apr 14 16:56:49 2019 : Debug: (9) modsingle[post-auth]: calling
attr_filter.access_reject (rlm_attr_filter)
Sun Apr 14 16:56:49 2019 : Debug: %{User-Name}
Sun Apr 14 16:56:49 2019 : Debug: Parsed xlat tree:
Sun Apr 14 16:56:49 2019 : Debug: attribute --> User-Name
Sun Apr 14 16:56:49 2019 : Debug: (9) attr_filter.access_reject: EXPAND
%{User-Name}
Sun Apr 14 16:56:49 2019 : Debug: (9) attr_filter.access_reject: -->
anonymous
Sun Apr 14 16:56:49 2019 : Debug: (9) attr_filter.access_reject: Matched
entry DEFAULT at line 11
Sun Apr 14 16:56:49 2019 : Debug: (9) attr_filter.access_reject: EAP-Message
= 0x04040004 allowed by EAP-Message =* 0x
Sun Apr 14 16:56:49 2019 : Debug: (9) attr_filter.access_reject: Attribute
"EAP-Message" allowed by 1 rules, disallowed by 0 rules
Sun Apr 14 16:56:49 2019 : Debug: (9) attr_filter.access_reject:
Message-Authenticator = 0x00000000000000000000000000000000 allowed by
Message-Authenticator =* 0x
Sun Apr 14 16:56:49 2019 : Debug: (9) attr_filter.access_reject: Attribute
"Message-Authenticator" allowed by 1 rules, disallowed by 0 rules
Sun Apr 14 16:56:49 2019 : Debug: (9) modsingle[post-auth]: returned
from attr_filter.access_reject (rlm_attr_filter)
Sun Apr 14 16:56:49 2019 : Debug: (9) [attr_filter.access_reject] =
updated
Sun Apr 14 16:56:49 2019 : Debug: (9) modsingle[post-auth]: calling eap
(rlm_eap)
Sun Apr 14 16:56:49 2019 : Debug: (9) eap: Reply already contained an
EAP-Message, not inserting EAP-Failure
Sun Apr 14 16:56:49 2019 : Debug: (9) modsingle[post-auth]: returned
from eap (rlm_eap)
Sun Apr 14 16:56:49 2019 : Debug: (9) [eap] = noop
Sun Apr 14 16:56:49 2019 : Debug: (9) policy remove_reply_message_if_eap
{
Sun Apr 14 16:56:49 2019 : Debug: (9) if (&reply:EAP-Message &&
&reply:Reply-Message) {
Sun Apr 14 16:56:49 2019 : Debug: (9) if (&reply:EAP-Message &&
&reply:Reply-Message) -> FALSE
Sun Apr 14 16:56:49 2019 : Debug: (9) else {
Sun Apr 14 16:56:49 2019 : Debug: (9) modsingle[post-auth]: calling
noop (rlm_always)
Sun Apr 14 16:56:49 2019 : Debug: (9) modsingle[post-auth]: returned
from noop (rlm_always)
Sun Apr 14 16:56:49 2019 : Debug: (9) [noop] = noop
Sun Apr 14 16:56:49 2019 : Debug: (9) } # else = noop
Sun Apr 14 16:56:49 2019 : Debug: (9) } # policy
remove_reply_message_if_eap = noop
Sun Apr 14 16:56:49 2019 : Debug: (9) } # Post-Auth-Type REJECT = updated
Sun Apr 14 16:56:49 2019 : Debug: (9) Delaying response for 1.000000 seconds
Sun Apr 14 16:56:49 2019 : Debug: Waking up in 0.2 seconds.
Sun Apr 14 16:56:50 2019 : Debug: Waking up in 0.7 seconds.
Sun Apr 14 16:56:50 2019 : Debug: (9) Sending delayed response
Sun Apr 14 16:56:50 2019 : Debug: (9) Sent Access-Reject Id 4 from
127.0.0.1:1812 to 127.0.0.1:42044 length 44
Sun Apr 14 16:56:50 2019 : Debug: (9) EAP-Message = 0x04040004
Sun Apr 14 16:56:50 2019 : Debug: (9) Message-Authenticator =
0x00000000000000000000000000000000
Sun Apr 14 16:56:50 2019 : Debug: Waking up in 3.5 seconds.
Sun Apr 14 16:56:54 2019 : Debug: (5) Cleaning up request packet ID 0 with
timestamp +51
Sun Apr 14 16:56:54 2019 : Debug: (6) Cleaning up request packet ID 1 with
timestamp +51
Sun Apr 14 16:56:54 2019 : Debug: Waking up in 0.2 seconds.
Sun Apr 14 16:56:54 2019 : Debug: (7) Cleaning up request packet ID 2 with
timestamp +51
Sun Apr 14 16:56:54 2019 : Debug: (8) Cleaning up request packet ID 3 with
timestamp +51
Sun Apr 14 16:56:54 2019 : Debug: (9) Cleaning up request packet ID 4 with
timestamp +51
Sun Apr 14 16:56:54 2019 : Info: Ready to process requests
3
4
15 Apr '19
Dear list,
it looks like after upgrade from 3.0.17 to 3.0.19 successfully
authenticated users are rejected in post-auth section with the error
"Unable to set parent list". This applies only to users from our realm
(self-proxied requests).
Should configuration files be updated with regard to this update ?
Almost the same config worked fine for 3.0.14, 3.0.15 and 3.0.17 (3.0.16
had issues with self-proxied requests though, but it had been fixed in
tree just after release date).
Please see attached diffs:
# diff -U 2 sesjaok
sesjafail
--- sesjaok 2019-04-14 22:13:01.784098000 +0200
+++ sesjafail 2019-04-14 22:10:32.664311000 +0200
(...)
@@ -4772,14 +4823,14 @@
(9) sql: --> .query
(9) sql: Using query template 'query'
-rlm_sql (sql): Reserved connection (6)
+rlm_sql (sql): Reserved connection (0)
(9) sql: EXPAND %{User-Name}
(9) sql: --> testuser(a)realm.tld
(9) sql: SQL-User-Name set to 'testuser(a)realm.tld'
(9) sql: EXPAND INSERT INTO radpostauth (username, pass, reply, apid,
authdate) VALUES ( '%{SQL-User-Name}', '%{Calling-Station-Id}',
'%{reply:Packet-Type}', '%{Aruba-Location-Id}', '%S')
-(9) sql: --> INSERT INTO radpostauth (username, pass, reply, apid,
authdate) VALUES ( 'testuser(a)realm.tld', '02-00-00-00-00-01',
'Access-Accept', '', '2019-04-14 22:13:01')
-(9) sql: Executing query: INSERT INTO radpostauth (username, pass,
reply, apid, authdate) VALUES ( 'testuser(a)realm.tld',
'02-00-00-00-00-01', 'Access-Accept', '', '2019-04-14 22:13:01')
+(9) sql: --> INSERT INTO radpostauth (username, pass, reply, apid,
authdate) VALUES ( 'testuser(a)realm.tld', '02-00-00-00-00-01',
'Access-Accept', '', '2019-04-14 22:10:31')
+(9) sql: Executing query: INSERT INTO radpostauth (username, pass,
reply, apid, authdate) VALUES ( 'testuser(a)realm.tld',
'02-00-00-00-00-01', 'Access-Accept', '', '2019-04-14 22:10:31')
(9) sql: SQL query returned: success
(9) sql: 1 record(s) updated
-rlm_sql (sql): Released connection (6)
+rlm_sql (sql): Released connection (0)
(9) [sql] = ok
(9) if (1) {
@@ -4797,21 +4848,48 @@
(9) } # update reply = noop
(9) update {
-(9) &outer.session-state::Chargeable-User-Identity +=
&reply:Chargeable-User-Identity[*] ->
0x63353435653635306130656261383366316437303930663232336264326334373266666533613930
-(9) } # update = noop
-(9) } # if (1) = noop
-(9) } # post-auth = ok
-(9) Login OK: [testuser(a)realm.tld] (from client TEST-NET port 0 cli
02-00-00-00-00-01 via TLS tunnel)
+(9) ERROR: Unable to set parent list
+(9) } # update = fail
+(9) } # if (1) = fail
+(9) } # post-auth = fail
+(9) Using Post-Auth-Type Reject
+(9) # Executing group from file
/usr/local/etc/raddb/sites-enabled/inner-tunnel
+(9) Post-Auth-Type REJECT {
+(9) sql: EXPAND .query
+(9) sql: --> .query
+(9) sql: Using query template 'query'
+rlm_sql (sql): Reserved connection (1)
+(9) sql: EXPAND %{User-Name}
+(9) sql: --> testuser(a)realm.tld
+(9) sql: SQL-User-Name set to 'testuser(a)realm.tld'
+(9) sql: EXPAND INSERT INTO radpostauth (username, pass, reply, apid,
authdate) VALUES ( '%{SQL-User-Name}', '%{Calling-Station-Id}',
'%{reply:Packet-Type}', '%{Aruba-Location-Id}', '%S')
+(9) sql: --> INSERT INTO radpostauth (username, pass, reply, apid,
authdate) VALUES ( 'testuser(a)realm.tld', '02-00-00-00-00-01',
'Access-Reject', '', '2019-04-14 22:10:31')
+(9) sql: Executing query: INSERT INTO radpostauth (username, pass,
reply, apid, authdate) VALUES ( 'testuser(a)realm.tld',
'02-00-00-00-00-01', 'Access-Reject', '', '2019-04-14 22:10:31')
+(9) sql: SQL query returned: success
+(9) sql: 1 record(s) updated
+rlm_sql (sql): Released connection (1)
+(9) [sql] = ok
+(9) inner_auth_log: EXPAND inner_auth_log.%{%{reply:Packet-Type}:-format}
+(9) inner_auth_log: --> inner_auth_log.Access-Reject
+(9) inner_auth_log: EXPAND
user-auth#VISINST=%{request:Operator-Name}#USER=%{User-Name}#CSI=%{%{Calling-Station-Id}:-Unknown
Caller Id}#NAS=%{%{Called-Station-Id}:-Unknown Access
Point}#CUI=%{%{%{reply:Chargeable-User-Identity}:-%{outer.reply:Chargeable-User-Identity}}:-Local
User}#RESULT=FAIL#
+(9) inner_auth_log: -->
user-auth#VISINST=1realm.tld#USER=testuser(a)realm.tld#CSI=02-00-00-00-00-01#NAS=Unknown
Access
Point#CUI=0x63353435653635306130656261383366316437303930663232336264326334373266666533613930#RESULT=FAIL#
+(9) [inner_auth_log] = ok
+(9) attr_filter.access_reject: EXPAND %{User-Name}
+(9) attr_filter.access_reject: --> testuser(a)realm.tld
+(9) attr_filter.access_reject: Matched entry DEFAULT at line 11
+(9) [attr_filter.access_reject] = updated
+(9) update outer.session-state {
+(9) ERROR: Unable to set parent list
+(9) } # update outer.session-state = fail
+(9) } # Post-Auth-Type REJECT = fail
+(9) Rejected in post-auth: [testuser(a)realm.tld] (from client TEST-NET
port 0 cli 02-00-00-00-00-01 via TLS tunnel)
+(9) Login incorrect (Unable to set parent list): [testuser(a)realm.tld]
(from client TEST-NET port 0 cli 02-00-00-00-00-01 via TLS tunnel)
(9) } # server inner-tunnel
(9) Virtual server sending reply
-(9) Chargeable-User-Identity :=
0x63353435653635306130656261383366316437303930663232336264326334373266666533613930
-(9) eap_peap: Got tunneled reply code 2
-(9) eap_peap: Chargeable-User-Identity :=
0x63353435653635306130656261383366316437303930663232336264326334373266666533613930
-(9) eap_peap: Got tunneled reply RADIUS code 2
-(9) eap_peap: Chargeable-User-Identity :=
0x63353435653635306130656261383366316437303930663232336264326334373266666533613930
-(9) eap_peap: Tunneled authentication was successful
-(9) eap_peap: SUCCESS
-(9) eap_peap: Saving tunneled attributes for later
+(9) eap_peap: Got tunneled reply code 3
+(9) eap_peap: Got tunneled reply RADIUS code 3
+(9) eap_peap: Tunneled authentication was rejected
+(9) eap_peap: FAILURE
(9) eap: Sending EAP Request (code 1) ID 10 length 43
-(9) eap: EAP session adding &reply:State = 0x21a3f50328a9ec83
+(9) eap: EAP session adding &reply:State = 0xabcbb745a2c1aea2
(9) [eap] = handled
(9) } # authenticate = handled
@@ -4819,6 +4897,4 @@
(9) # Executing group from file
/usr/local/etc/raddb/sites-enabled/radius.realm.tld
(9) Challenge { ... } # empty sub-section is ignored
-(9) session-state: Saving cached attributes
-(9) Chargeable-User-Identity +=
0x63353435653635306130656261383366316437303930663232336264326334373266666533613930
(9) Finished internally proxied request.
(9) Clearing existing &reply: attributes
@@ -4830,5 +4906,5 @@
(9) post_proxy_log:
/var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/post-proxy-detail-%Y%m%d
expands to /var/log/radacct/172.x.y.z/post-proxy-detail-20190414
(9) post_proxy_log: EXPAND %t
-(9) post_proxy_log: --> Sun Apr 14 22:13:01 2019
+(9) post_proxy_log: --> Sun Apr 14 22:10:31 2019
(9) [post_proxy_log] = ok
(9) attr_filter.post-proxy: EXPAND %{Realm}
--
Marek Zarychta
2
2
FreeRadius sends Access-Reject for MAC-AUTH, if shared secret on NAS and server differ
by Phani Siriki 15 Apr '19
by Phani Siriki 15 Apr '19
15 Apr '19
Phani Siriki has sent you an email via Gmail confidential mode:
Gmail logo [1]FreeRadius sends Access-Reject for MAC-AUTH, if shared
secret on NAS and server differ
This message was sent on Apr 14, 2019 at 1:01:48 PM PDT
You can open it by clicking the link below. This link will only work
for freeradius-users(a)lists.freeradius.org.
[2]View the email
Gmail confidential mode gives you more control over the messages you
send. Set an expiration time, disable printing or forwarding of a
message and more. [3]Learn more
Gmail: Email by Google
Use is subject to the [4]Google Privacy Policy
Google LLC, 1600 Amphitheatre Parkway, Mountain View, CA 94043, USA
You have received this message because someone sent you an email via
Gmail co! nfidential mode.
Google logo
References
1. https://confidential-mail.google.com/msg/ABTZP1zGEVczYo2ysdPSvuSn7Rhd1YYM2m…
2. https://confidential-mail.google.com/msg/ABTZP1zGEVczYo2ysdPSvuSn7Rhd1YYM2m…
3. https://support.google.com/mail/answer/7674059
4. https://myaccount.google.com/privacypolicy?hl=en
4
9
I'm trying authenticate users on to different networks but without their usernames and passwords.
Basically they input a specific psk on wireless and this then hits the radius and sends them onto a vlan.
So I have this working using DEFAULT auth-type = accept.
It's matching a Cisco avpair psk and vlan attribute, they get dropped on to a specific vlan. This works.
If I put the wrong psk in, I don't get on the network so this is good and expected. It's matching the Cisco avpair psk in radius.
Is there any way to have a 2nd DEFAULT and have it match a 2nd cisco avpair? So in essence it looks at the first and says no, moves to the 2nd set of attributes? Validates a different password and drops them on a different vlan.
I know I'm using default and it's matching anything, maybe there is another way? I don't want to match a sent username and password to confirm as this is sent as the devices Mac address which would be unknown to me.
Feel like this should work somehow but I'm missing something...
3
9