EAP-TEAP not doing 2nd inner Method
Martin B.
martinbiniek at googlemail.com
Thu Dec 5 15:35:58 UTC 2024
>
> The debug log shows it doing only Machine.
Ah yes, you are right. The server does not change the Identity-Type and is
just requesting Machine again:
> (12) eap_teap: &session-state:FreeRADIUS-EAP-TEAP-TLV-Identity-Type set
> so continuing EAP sequence/chaining
...
> (13) eap_teap: Got Tunneled TEAP TLVs
(13) eap_teap: FreeRADIUS-EAP-TEAP-Crypto-Binding =
> 0x0001012120d4a17ea3e426b59e5ba4890e39fa9b1d90231cee551afab4
> 560f20713d4dd30000000000000000000000000000000000000000eded82
> e4898493cf26b6208f3d491c1c9aa998cb
(13) eap_teap: FreeRADIUS-EAP-TEAP-Intermediate-Result = Success
(13) eap_teap: FreeRADIUS-EAP-TEAP-Identity-Type = Machine
(13) eap_teap: FreeRADIUS-EAP-TEAP-EAP-Payload =
> 0x020e002301686f73742f6d617274696e2d746573742d636f6d70757465722d63657274
I'll take a look. I'm not sure what's happening there, but I've pushed
> some more debug messages which may help clarify the issues.
FreeRADIUS Version 3.2.7
Copyright (C) 1999-2023 The FreeRADIUS server project and contributors
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE
You may redistribute copies of FreeRADIUS under the terms of the
GNU General Public License
For more information about these matters, see the file named COPYRIGHT
Starting - reading configuration files ...
including dictionary file /usr/local/share/freeradius/dictionary
including dictionary file /usr/local/share/freeradius/dictionary.dhcp
including dictionary file /usr/local/share/freeradius/dictionary.vqp
including dictionary file /usr/local/etc/raddb/dictionary
including configuration file /usr/local/etc/raddb/radiusd.conf
including configuration file /usr/local/etc/raddb/clients.conf
including files in directory /usr/local/etc/raddb/mods-enabled/
including configuration file /usr/local/etc/raddb/mods-enabled/always
including configuration file /usr/local/etc/raddb/mods-enabled/attr_filter
including configuration file /usr/local/etc/raddb/mods-enabled/chap
including configuration file /usr/local/etc/raddb/mods-enabled/date
including configuration file /usr/local/etc/raddb/mods-enabled/detail
including configuration file /usr/local/etc/raddb/mods-enabled/detail.log
including configuration file /usr/local/etc/raddb/mods-enabled/digest
including configuration file
/usr/local/etc/raddb/mods-enabled/dynamic_clients
including configuration file /usr/local/etc/raddb/mods-enabled/eap
including configuration file /usr/local/etc/raddb/mods-enabled/echo
including configuration file /usr/local/etc/raddb/mods-enabled/exec
including configuration file /usr/local/etc/raddb/mods-enabled/expiration
including configuration file /usr/local/etc/raddb/mods-enabled/expr
including configuration file /usr/local/etc/raddb/mods-enabled/files
including configuration file /usr/local/etc/raddb/mods-enabled/linelog
including configuration file /usr/local/etc/raddb/mods-enabled/logintime
including configuration file /usr/local/etc/raddb/mods-enabled/mschap
including configuration file /usr/local/etc/raddb/mods-enabled/ntlm_auth
including configuration file /usr/local/etc/raddb/mods-enabled/pap
including configuration file /usr/local/etc/raddb/mods-enabled/passwd
including configuration file /usr/local/etc/raddb/mods-enabled/preprocess
including configuration file /usr/local/etc/raddb/mods-enabled/radutmp
including configuration file /usr/local/etc/raddb/mods-enabled/realm
including configuration file /usr/local/etc/raddb/mods-enabled/replicate
including configuration file /usr/local/etc/raddb/mods-enabled/soh
including configuration file /usr/local/etc/raddb/mods-enabled/sradutmp
including configuration file /usr/local/etc/raddb/mods-enabled/totp
including configuration file /usr/local/etc/raddb/mods-enabled/unix
including configuration file /usr/local/etc/raddb/mods-enabled/unpack
including configuration file /usr/local/etc/raddb/mods-enabled/utf8
including files in directory /usr/local/etc/raddb/policy.d/
including configuration file /usr/local/etc/raddb/policy.d/abfab-tr
including configuration file /usr/local/etc/raddb/policy.d/accounting
including configuration file /usr/local/etc/raddb/policy.d/canonicalization
including configuration file /usr/local/etc/raddb/policy.d/control
including configuration file /usr/local/etc/raddb/policy.d/cui
including configuration file /usr/local/etc/raddb/policy.d/debug
including configuration file /usr/local/etc/raddb/policy.d/dhcp
including configuration file /usr/local/etc/raddb/policy.d/eap
including configuration file /usr/local/etc/raddb/policy.d/filter
including configuration file
/usr/local/etc/raddb/policy.d/moonshot-targeted-ids
including configuration file /usr/local/etc/raddb/policy.d/operator-name
including configuration file /usr/local/etc/raddb/policy.d/rfc7542
including files in directory /usr/local/etc/raddb/sites-enabled/
including configuration file /usr/local/etc/raddb/sites-enabled/default
including configuration file /usr/local/etc/raddb/sites-enabled/inner-tunnel
main {
security {
allow_core_dumps = no
}
name = "radiusd"
prefix = "/usr/local"
localstatedir = "/usr/local/var"
logdir = "/usr/local/var/log/radius"
run_dir = "/usr/local/var/run/radiusd"
}
main {
name = "radiusd"
prefix = "/usr/local"
localstatedir = "/usr/local/var"
sbindir = "/usr/local/sbin"
logdir = "/usr/local/var/log/radius"
run_dir = "/usr/local/var/run/radiusd"
libdir = "/usr/local/lib"
radacctdir = "/usr/local/var/log/radius/radacct"
hostname_lookups = no
max_request_time = 30
proxy_dedup_window = 1
cleanup_delay = 5
max_requests = 16384
max_fds = 512
postauth_client_lost = no
pidfile = "/usr/local/var/run/radiusd/radiusd.pid"
checkrad = "/usr/local/sbin/checkrad"
debug_level = 0
proxy_requests = yes
log {
stripped_names = no
auth = no
auth_badpass = no
auth_goodpass = no
colourise = yes
msg_denied = "You are already logged in - access denied"
}
resources {
}
security {
max_attributes = 200
reject_delay = 1.000000
status_server = yes
require_message_authenticator = "auto"
limit_proxy_state = "auto"
allow_vulnerable_openssl = "no"
}
}
radiusd: #### Loading Realms and Home Servers ####
radiusd: #### Loading Clients ####
client 0.0.0.0/0 {
ipaddr = 0.0.0.0/0
secret = <<< secret >>>
proto = "*"
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
Shared secret for client 0.0.0.0/0 is short, and likely can be broken by an
attacker.
Debugger not attached
Configuration version: 7ed5-6990-28d9-1125
# Creating Auth-Type = mschap
# Creating Auth-Type = digest
# Creating Auth-Type = eap
# Creating Auth-Type = PAP
# Creating Auth-Type = CHAP
# Creating Auth-Type = MS-CHAP
# Creating Autz-Type = New-TLS-Connection
radiusd: #### Instantiating modules ####
modules {
# Loaded module rlm_always
# Loading module "reject" from file
/usr/local/etc/raddb/mods-enabled/always
always reject {
rcode = "reject"
simulcount = 0
mpp = no
}
# Loading module "fail" from file /usr/local/etc/raddb/mods-enabled/always
always fail {
rcode = "fail"
simulcount = 0
mpp = no
}
# Loading module "ok" from file /usr/local/etc/raddb/mods-enabled/always
always ok {
rcode = "ok"
simulcount = 0
mpp = no
}
# Loading module "handled" from file
/usr/local/etc/raddb/mods-enabled/always
always handled {
rcode = "handled"
simulcount = 0
mpp = no
}
# Loading module "invalid" from file
/usr/local/etc/raddb/mods-enabled/always
always invalid {
rcode = "invalid"
simulcount = 0
mpp = no
}
# Loading module "userlock" from file
/usr/local/etc/raddb/mods-enabled/always
always userlock {
rcode = "userlock"
simulcount = 0
mpp = no
}
# Loading module "notfound" from file
/usr/local/etc/raddb/mods-enabled/always
always notfound {
rcode = "notfound"
simulcount = 0
mpp = no
}
# Loading module "noop" from file /usr/local/etc/raddb/mods-enabled/always
always noop {
rcode = "noop"
simulcount = 0
mpp = no
}
# Loading module "updated" from file
/usr/local/etc/raddb/mods-enabled/always
always updated {
rcode = "updated"
simulcount = 0
mpp = no
}
# Loaded module rlm_attr_filter
# Loading module "attr_filter.post-proxy" from file
/usr/local/etc/raddb/mods-enabled/attr_filter
attr_filter attr_filter.post-proxy {
filename = "/usr/local/etc/raddb/mods-config/attr_filter/post-proxy"
key = "%{Realm}"
relaxed = no
}
# Loading module "attr_filter.pre-proxy" from file
/usr/local/etc/raddb/mods-enabled/attr_filter
attr_filter attr_filter.pre-proxy {
filename = "/usr/local/etc/raddb/mods-config/attr_filter/pre-proxy"
key = "%{Realm}"
relaxed = no
}
# Loading module "attr_filter.access_reject" from file
/usr/local/etc/raddb/mods-enabled/attr_filter
attr_filter attr_filter.access_reject {
filename =
"/usr/local/etc/raddb/mods-config/attr_filter/access_reject"
key = "%{User-Name}"
relaxed = no
}
# Loading module "attr_filter.access_challenge" from file
/usr/local/etc/raddb/mods-enabled/attr_filter
attr_filter attr_filter.access_challenge {
filename =
"/usr/local/etc/raddb/mods-config/attr_filter/access_challenge"
key = "%{User-Name}"
relaxed = no
}
# Loading module "attr_filter.accounting_response" from file
/usr/local/etc/raddb/mods-enabled/attr_filter
attr_filter attr_filter.accounting_response {
filename =
"/usr/local/etc/raddb/mods-config/attr_filter/accounting_response"
key = "%{User-Name}"
relaxed = no
}
# Loading module "attr_filter.coa" from file
/usr/local/etc/raddb/mods-enabled/attr_filter
attr_filter attr_filter.coa {
filename = "/usr/local/etc/raddb/mods-config/attr_filter/coa"
key = "%{User-Name}"
relaxed = no
}
# Loaded module rlm_chap
# Loading module "chap" from file /usr/local/etc/raddb/mods-enabled/chap
# Loaded module rlm_date
# Loading module "date" from file /usr/local/etc/raddb/mods-enabled/date
date {
format = "%b %e %Y %H:%M:%S %Z"
utc = no
}
# Loading module "wispr2date" from file
/usr/local/etc/raddb/mods-enabled/date
date wispr2date {
format = "%Y-%m-%dT%H:%M:%S"
utc = no
}
# Loaded module rlm_detail
# Loading module "detail" from file
/usr/local/etc/raddb/mods-enabled/detail
detail {
filename =
"/usr/local/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
dates_as_integer = no
escape_filenames = no
log_packet_header = no
}
# Loading module "auth_log" from file
/usr/local/etc/raddb/mods-enabled/detail.log
detail auth_log {
filename =
"/usr/local/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
dates_as_integer = no
escape_filenames = no
log_packet_header = no
}
# Loading module "reply_log" from file
/usr/local/etc/raddb/mods-enabled/detail.log
detail reply_log {
filename =
"/usr/local/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/reply-detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
dates_as_integer = no
escape_filenames = no
log_packet_header = no
}
# Loading module "pre_proxy_log" from file
/usr/local/etc/raddb/mods-enabled/detail.log
detail pre_proxy_log {
filename =
"/usr/local/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/pre-proxy-detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
dates_as_integer = no
escape_filenames = no
log_packet_header = no
}
# Loading module "post_proxy_log" from file
/usr/local/etc/raddb/mods-enabled/detail.log
detail post_proxy_log {
filename =
"/usr/local/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/post-proxy-detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
dates_as_integer = no
escape_filenames = no
log_packet_header = no
}
# Loaded module rlm_digest
# Loading module "digest" from file
/usr/local/etc/raddb/mods-enabled/digest
# Loaded module rlm_dynamic_clients
# Loading module "dynamic_clients" from file
/usr/local/etc/raddb/mods-enabled/dynamic_clients
# Loaded module rlm_eap
# Loading module "eap" from file /usr/local/etc/raddb/mods-enabled/eap
eap {
default_eap_type = "teap"
timer_expire = 60
max_eap_type = 52
ignore_unknown_eap_types = no
cisco_accounting_username_bug = no
max_sessions = 16384
dedup_key = ""
}
# Loaded module rlm_exec
# Loading module "echo" from file /usr/local/etc/raddb/mods-enabled/echo
exec echo {
wait = yes
program = "/bin/echo %{User-Name}"
input_pairs = "request"
output_pairs = "reply"
shell_escape = yes
}
# Loading module "exec" from file /usr/local/etc/raddb/mods-enabled/exec
exec {
wait = no
input_pairs = "request"
shell_escape = yes
timeout = 10
}
# Loaded module rlm_expiration
# Loading module "expiration" from file
/usr/local/etc/raddb/mods-enabled/expiration
# Loaded module rlm_expr
# Loading module "expr" from file /usr/local/etc/raddb/mods-enabled/expr
expr {
safe_characters =
"@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_:
/äéöüàâæçèéêëîïôœùûüaÿÄÉÖÜßÀÂÆÇÈÉÊËÎÏÔŒÙÛÜŸ"
}
# Loaded module rlm_files
# Loading module "files" from file /usr/local/etc/raddb/mods-enabled/files
files {
filename = "/usr/local/etc/raddb/mods-config/files/authorize"
acctusersfile = "/usr/local/etc/raddb/mods-config/files/accounting"
preproxy_usersfile =
"/usr/local/etc/raddb/mods-config/files/pre-proxy"
}
# Loaded module rlm_linelog
# Loading module "linelog" from file
/usr/local/etc/raddb/mods-enabled/linelog
linelog {
filename = "/usr/local/var/log/radius/linelog"
escape_filenames = no
syslog_severity = "info"
permissions = 384
format = "This is a log message for %{User-Name}"
reference = "messages.%{%{reply:Packet-Type}:-default}"
}
# Loading module "log_accounting" from file
/usr/local/etc/raddb/mods-enabled/linelog
linelog log_accounting {
filename = "/usr/local/var/log/radius/linelog-accounting"
escape_filenames = no
syslog_severity = "info"
permissions = 384
format = ""
reference = "Accounting-Request.%{%{Acct-Status-Type}:-unknown}"
}
# Loaded module rlm_logintime
# Loading module "logintime" from file
/usr/local/etc/raddb/mods-enabled/logintime
logintime {
minimum_timeout = 60
}
# Loaded module rlm_mschap
# Loading module "mschap" from file
/usr/local/etc/raddb/mods-enabled/mschap
mschap {
use_mppe = yes
require_encryption = no
require_strong = no
with_ntdomain_hack = yes
passchange {
}
allow_retry = yes
winbind_retry_with_normalised_username = no
}
# Loading module "ntlm_auth" from file
/usr/local/etc/raddb/mods-enabled/ntlm_auth
exec ntlm_auth {
wait = yes
program = "/path/to/ntlm_auth --request-nt-key --domain=MYDOMAIN
--username=%{mschap:User-Name} --password=%{User-Password}"
shell_escape = yes
}
# Loaded module rlm_pap
# Loading module "pap" from file /usr/local/etc/raddb/mods-enabled/pap
pap {
normalise = yes
}
# Loaded module rlm_passwd
# Loading module "etc_passwd" from file
/usr/local/etc/raddb/mods-enabled/passwd
passwd etc_passwd {
filename = "/etc/passwd"
format = "*User-Name:Crypt-Password:"
delimiter = ":"
ignore_nislike = no
ignore_empty = yes
allow_multiple_keys = no
hash_size = 100
}
# Loaded module rlm_preprocess
# Loading module "preprocess" from file
/usr/local/etc/raddb/mods-enabled/preprocess
preprocess {
huntgroups =
"/usr/local/etc/raddb/mods-config/preprocess/huntgroups"
hints = "/usr/local/etc/raddb/mods-config/preprocess/hints"
with_ascend_hack = no
ascend_channels_per_line = 23
with_ntdomain_hack = no
with_specialix_jetstream_hack = no
with_cisco_vsa_hack = no
with_alvarion_vsa_hack = no
}
# Loaded module rlm_radutmp
# Loading module "radutmp" from file
/usr/local/etc/raddb/mods-enabled/radutmp
radutmp {
filename = "/usr/local/var/log/radius/radutmp"
username = "%{User-Name}"
case_sensitive = yes
check_with_nas = yes
permissions = 384
caller_id = yes
}
# Loaded module rlm_realm
# Loading module "IPASS" from file /usr/local/etc/raddb/mods-enabled/realm
realm IPASS {
format = "prefix"
delimiter = "/"
ignore_default = no
ignore_null = no
}
# Loading module "suffix" from file
/usr/local/etc/raddb/mods-enabled/realm
realm suffix {
format = "suffix"
delimiter = "@"
ignore_default = no
ignore_null = no
}
# Loading module "bangpath" from file
/usr/local/etc/raddb/mods-enabled/realm
realm bangpath {
format = "prefix"
delimiter = "!"
ignore_default = no
ignore_null = no
}
# Loading module "realmpercent" from file
/usr/local/etc/raddb/mods-enabled/realm
realm realmpercent {
format = "suffix"
delimiter = "%"
ignore_default = no
ignore_null = no
}
# Loading module "ntdomain" from file
/usr/local/etc/raddb/mods-enabled/realm
realm ntdomain {
format = "prefix"
delimiter = "\"
ignore_default = no
ignore_null = no
}
# Loaded module rlm_replicate
# Loading module "replicate" from file
/usr/local/etc/raddb/mods-enabled/replicate
# Loaded module rlm_soh
# Loading module "soh" from file /usr/local/etc/raddb/mods-enabled/soh
soh {
dhcp = yes
}
# Loading module "sradutmp" from file
/usr/local/etc/raddb/mods-enabled/sradutmp
radutmp sradutmp {
filename = "/usr/local/var/log/radius/sradutmp"
username = "%{User-Name}"
case_sensitive = yes
check_with_nas = yes
permissions = 420
caller_id = no
}
# Loaded module rlm_totp
# Loading module "totp" from file /usr/local/etc/raddb/mods-enabled/totp
totp {
time_step = 30
otp_length = 6
lookback_steps = 1
lookback_interval = 30
lookforward_steps = 0
}
# Loaded module rlm_unix
# Loading module "unix" from file /usr/local/etc/raddb/mods-enabled/unix
unix {
radwtmp = "/usr/local/var/log/radius/radwtmp"
}
Creating attribute Unix-Group
# Loaded module rlm_unpack
# Loading module "unpack" from file
/usr/local/etc/raddb/mods-enabled/unpack
# Loaded module rlm_utf8
# Loading module "utf8" from file /usr/local/etc/raddb/mods-enabled/utf8
instantiate {
}
# Instantiating module "reject" from file
/usr/local/etc/raddb/mods-enabled/always
# Instantiating module "fail" from file
/usr/local/etc/raddb/mods-enabled/always
# Instantiating module "ok" from file
/usr/local/etc/raddb/mods-enabled/always
# Instantiating module "handled" from file
/usr/local/etc/raddb/mods-enabled/always
# Instantiating module "invalid" from file
/usr/local/etc/raddb/mods-enabled/always
# Instantiating module "userlock" from file
/usr/local/etc/raddb/mods-enabled/always
# Instantiating module "notfound" from file
/usr/local/etc/raddb/mods-enabled/always
# Instantiating module "noop" from file
/usr/local/etc/raddb/mods-enabled/always
# Instantiating module "updated" from file
/usr/local/etc/raddb/mods-enabled/always
# Instantiating module "attr_filter.post-proxy" from file
/usr/local/etc/raddb/mods-enabled/attr_filter
reading pairlist file
/usr/local/etc/raddb/mods-config/attr_filter/post-proxy
# Instantiating module "attr_filter.pre-proxy" from file
/usr/local/etc/raddb/mods-enabled/attr_filter
reading pairlist file /usr/local/etc/raddb/mods-config/attr_filter/pre-proxy
# Instantiating module "attr_filter.access_reject" from file
/usr/local/etc/raddb/mods-enabled/attr_filter
reading pairlist file
/usr/local/etc/raddb/mods-config/attr_filter/access_reject
# Instantiating module "attr_filter.access_challenge" from file
/usr/local/etc/raddb/mods-enabled/attr_filter
reading pairlist file
/usr/local/etc/raddb/mods-config/attr_filter/access_challenge
# Instantiating module "attr_filter.accounting_response" from file
/usr/local/etc/raddb/mods-enabled/attr_filter
reading pairlist file
/usr/local/etc/raddb/mods-config/attr_filter/accounting_response
# Instantiating module "attr_filter.coa" from file
/usr/local/etc/raddb/mods-enabled/attr_filter
reading pairlist file /usr/local/etc/raddb/mods-config/attr_filter/coa
# Instantiating module "detail" from file
/usr/local/etc/raddb/mods-enabled/detail
# Instantiating module "auth_log" from file
/usr/local/etc/raddb/mods-enabled/detail.log
rlm_detail (auth_log): 'User-Password' suppressed, will not appear in
detail output
# Instantiating module "reply_log" from file
/usr/local/etc/raddb/mods-enabled/detail.log
# Instantiating module "pre_proxy_log" from file
/usr/local/etc/raddb/mods-enabled/detail.log
# Instantiating module "post_proxy_log" from file
/usr/local/etc/raddb/mods-enabled/detail.log
# Instantiating module "eap" from file
/usr/local/etc/raddb/mods-enabled/eap
# Linked to sub-module rlm_eap_md5
# Linked to sub-module rlm_eap_gtc
gtc {
challenge = "Password: "
auth_type = "PAP"
}
# Linked to sub-module rlm_eap_tls
tls {
tls = "tls-common"
}
tls-config tls-common {
verify_depth = 0
ca_path = "/usr/local/etc/raddb/certs/teap"
pem_file_type = yes
private_key_file = "/usr/local/etc/raddb/certs/teap/server.pem"
certificate_file = "/usr/local/etc/raddb/certs/teap/server.pem"
ca_file = "/usr/local/etc/raddb/certs/teap/ca.pem"
private_key_password = <<< secret >>>
fragment_size = 1024
include_length = yes
auto_chain = yes
check_crl = no
check_all_crl = no
ca_path_reload_interval = 0
cipher_list = "DEFAULT"
cipher_server_preference = no
reject_unknown_intermediate_ca = no
ecdh_curve = ""
tls_max_version = "1.2"
tls_min_version = "1.2"
cache {
enable = no
lifetime = 24
max_entries = 255
}
verify {
skip_if_ocsp_ok = no
}
ocsp {
enable = no
override_cert_url = yes
url = "http://127.0.0.1/ocsp/"
use_nonce = yes
timeout = 0
softfail = no
}
}
# Linked to sub-module rlm_eap_ttls
ttls {
tls = "tls-common"
default_eap_type = "md5"
copy_request_to_tunnel = no
use_tunneled_reply = no
virtual_server = "inner-tunnel"
include_length = yes
require_client_cert = no
}
tls: Using cached TLS configuration from previous invocation
# Linked to sub-module rlm_eap_peap
peap {
tls = "tls-common"
default_eap_type = "mschapv2"
copy_request_to_tunnel = no
use_tunneled_reply = no
proxy_tunneled_request_as_eap = yes
virtual_server = "inner-tunnel"
soh = no
require_client_cert = no
}
tls: Using cached TLS configuration from previous invocation
# Linked to sub-module rlm_eap_mschapv2
mschapv2 {
with_ntdomain_hack = no
send_error = no
}
# Linked to sub-module rlm_eap_teap
teap {
tls = "tls-common"
default_eap_type = "md5"
copy_request_to_tunnel = no
use_tunneled_reply = no
require_client_cert = no
authority_identity = "1234"
virtual_server = "inner-tunnel"
identity_types = "machine,user"
user_eap_type = "tls"
machine_eap_type = "tls"
}
tls: Using cached TLS configuration from previous invocation
# Instantiating module "expiration" from file
/usr/local/etc/raddb/mods-enabled/expiration
# Instantiating module "files" from file
/usr/local/etc/raddb/mods-enabled/files
reading pairlist file /usr/local/etc/raddb/mods-config/files/authorize
reading pairlist file /usr/local/etc/raddb/mods-config/files/accounting
reading pairlist file /usr/local/etc/raddb/mods-config/files/pre-proxy
# Instantiating module "linelog" from file
/usr/local/etc/raddb/mods-enabled/linelog
# Instantiating module "log_accounting" from file
/usr/local/etc/raddb/mods-enabled/linelog
# Instantiating module "logintime" from file
/usr/local/etc/raddb/mods-enabled/logintime
# Instantiating module "mschap" from file
/usr/local/etc/raddb/mods-enabled/mschap
rlm_mschap (mschap): using internal authentication
# Instantiating module "pap" from file
/usr/local/etc/raddb/mods-enabled/pap
# Instantiating module "etc_passwd" from file
/usr/local/etc/raddb/mods-enabled/passwd
rlm_passwd: nfields: 3 keyfield 0(User-Name) listable: no
# Instantiating module "preprocess" from file
/usr/local/etc/raddb/mods-enabled/preprocess
reading pairlist file /usr/local/etc/raddb/mods-config/preprocess/huntgroups
reading pairlist file /usr/local/etc/raddb/mods-config/preprocess/hints
# Instantiating module "IPASS" from file
/usr/local/etc/raddb/mods-enabled/realm
# Instantiating module "suffix" from file
/usr/local/etc/raddb/mods-enabled/realm
# Instantiating module "bangpath" from file
/usr/local/etc/raddb/mods-enabled/realm
# Instantiating module "realmpercent" from file
/usr/local/etc/raddb/mods-enabled/realm
# Instantiating module "ntdomain" from file
/usr/local/etc/raddb/mods-enabled/realm
# Instantiating module "totp" from file
/usr/local/etc/raddb/mods-enabled/totp
} # modules
radiusd: #### Loading Virtual Servers ####
server { # from file /usr/local/etc/raddb/radiusd.conf
} # server
server default { # from file /usr/local/etc/raddb/sites-enabled/default
# Loading authenticate {...}
Compiling Auth-Type PAP for attr Auth-Type
Compiling Auth-Type CHAP for attr Auth-Type
Compiling Auth-Type MS-CHAP for attr Auth-Type
# Loading authorize {...}
Ignoring "sql" (see raddb/mods-available/README.rst)
Ignoring "ldap" (see raddb/mods-available/README.rst)
Compiling Autz-Type New-TLS-Connection for attr Autz-Type
# Loading preacct {...}
# Loading accounting {...}
# Loading post-proxy {...}
# Loading post-auth {...}
Compiling Post-Auth-Type REJECT for attr Post-Auth-Type
Compiling Post-Auth-Type Challenge for attr Post-Auth-Type
Compiling Post-Auth-Type Client-Lost for attr Post-Auth-Type
} # server default
server inner-tunnel { # from file
/usr/local/etc/raddb/sites-enabled/inner-tunnel
# Loading authenticate {...}
Compiling Auth-Type PAP for attr Auth-Type
Compiling Auth-Type CHAP for attr Auth-Type
Compiling Auth-Type MS-CHAP for attr Auth-Type
# Loading authorize {...}
# Loading session {...}
# Loading post-proxy {...}
# Loading post-auth {...}
# Skipping contents of 'if' as it is always 'false' --
/usr/local/etc/raddb/sites-enabled/inner-tunnel:366
Compiling Post-Auth-Type REJECT for attr Post-Auth-Type
} # server inner-tunnel
radiusd: #### Opening IP addresses and Ports ####
listen {
type = "auth"
ipaddr = *
port = 1645
limit {
max_connections = 16
lifetime = 0
idle_timeout = 900
}
}
listen {
type = "auth"
ipaddr = 127.0.0.1
port = 18120
}
Listening on auth address * port 1645 bound to server default
Listening on auth address 127.0.0.1 port 18120 bound to server inner-tunnel
Ready to process requests
(0) Received Access-Request Id 44 from 10.78.1.215:1645 to 10.78.5.223:1645
length 260
(0) User-Name = "anonymous"
(0) Service-Type = Framed-User
(0) Cisco-AVPair = "service-type=Framed"
(0) Framed-MTU = 1500
(0) Called-Station-Id = "00-3C-10-AB-A2-8A"
(0) Calling-Station-Id = "C8-F7-50-08-DD-9F"
(0) EAP-Message = 0x0201000e01616e6f6e796d6f7573
(0) Message-Authenticator = 0x6952f87e994dc9cd99c35142794587f4
(0) Cisco-AVPair = "audit-session-id=0A4E01D7000007352E347F3C"
(0) Cisco-AVPair = "method=dot1x"
(0) Framed-IP-Address = 10.78.5.3
(0) NAS-IP-Address = 10.78.1.215
(0) NAS-Port-Id = "GigabitEthernet1/0/10"
(0) NAS-Port-Type = Ethernet
(0) NAS-Port = 50110
(0) # Executing section authorize from file
/usr/local/etc/raddb/sites-enabled/default
(0) authorize {
(0) policy filter_username {
(0) if (&User-Name) {
(0) if (&User-Name) -> TRUE
(0) if (&User-Name) {
(0) if (&User-Name =~ / /) {
(0) if (&User-Name =~ / /) -> FALSE
(0) if (&User-Name =~ /@[^@]*@/ ) {
(0) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(0) if (&User-Name =~ /\.\./ ) {
(0) if (&User-Name =~ /\.\./ ) -> FALSE
(0) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) {
(0) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) ->
FALSE
(0) if (&User-Name =~ /\.$/) {
(0) if (&User-Name =~ /\.$/) -> FALSE
(0) if (&User-Name =~ /@\./) {
(0) if (&User-Name =~ /@\./) -> FALSE
(0) } # if (&User-Name) = notfound
(0) } # policy filter_username = notfound
(0) [preprocess] = ok
(0) [chap] = noop
(0) [mschap] = noop
(0) [digest] = noop
(0) suffix: Checking for suffix after "@"
(0) suffix: No '@' in User-Name = "anonymous", looking up realm NULL
(0) suffix: No such realm "NULL"
(0) [suffix] = noop
(0) eap: Peer sent EAP Response (code 2) ID 1 length 14
(0) eap: EAP-Identity reply, returning 'ok' so we can short-circuit the
rest of authorize
(0) [eap] = ok
(0) } # authorize = ok
(0) Found Auth-Type = eap
(0) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(0) authenticate {
(0) eap: Peer sent packet with method EAP Identity (1)
(0) eap: Calling submodule eap_teap to process data
(0) eap_teap: (TLS) TEAP -Initiating new session
(0) eap_teap: Setting &session-state:FreeRADIUS-EAP-TEAP-Identity-Type =
Machine
(0) eap_teap: Followed by &session-state:FreeRADIUS-EAP-TEAP-Identity-Type
+= Machine
(0) eap: Sending EAP Request (code 1) ID 2 length 18
(0) eap: EAP session adding &reply:State = 0x7a596d877a5b5a00
(0) [eap] = handled
(0) } # authenticate = handled
(0) Using Post-Auth-Type Challenge
(0) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(0) Challenge { ... } # empty sub-section is ignored
(0) session-state: Saving cached attributes
(0) Framed-MTU = 984
(0) FreeRADIUS-EAP-TEAP-Identity-Type := Machine
(0) FreeRADIUS-EAP-TEAP-Identity-Type += Machine
(0) Sent Access-Challenge Id 44 from 10.78.5.223:1645 to 10.78.1.215:1645
length 76
(0) EAP-Message = 0x010200123731000000080001000431323334
(0) Message-Authenticator = 0x00000000000000000000000000000000
(0) State = 0x7a596d877a5b5a006aa56f4f6e83cec8
(0) Finished request
Waking up in 4.9 seconds.
(1) Received Access-Request Id 45 from 10.78.1.215:1645 to 10.78.5.223:1645
length 426
(1) User-Name = "anonymous"
(1) Service-Type = Framed-User
(1) Cisco-AVPair = "service-type=Framed"
(1) Framed-MTU = 1500
(1) Called-Station-Id = "00-3C-10-AB-A2-8A"
(1) Calling-Station-Id = "C8-F7-50-08-DD-9F"
(1) EAP-Message =
0x020200a2370116030300970100009303036751c4c6985ecbcc8fcb6e087c39a49b677dcc21b6b739ec711dd627ed012992000024c02cc02bc030c02fc024c023c028c027c00ac009c014c013009d009c003d003c0035002f01000046000500050100000000000a00080006001d00170018000b00020100000d001a00180804080508060401050102010403050302030202060106030023000000170000ff01000100
(1) Message-Authenticator = 0xb9258eba55b67ef5e40695b6e9d63750
(1) Cisco-AVPair = "audit-session-id=0A4E01D7000007352E347F3C"
(1) Cisco-AVPair = "method=dot1x"
(1) Framed-IP-Address = 10.78.5.3
(1) NAS-IP-Address = 10.78.1.215
(1) NAS-Port-Id = "GigabitEthernet1/0/10"
(1) NAS-Port-Type = Ethernet
(1) NAS-Port = 50110
(1) State = 0x7a596d877a5b5a006aa56f4f6e83cec8
(1) Restoring &session-state
(1) &session-state:Framed-MTU = 984
(1) &session-state:FreeRADIUS-EAP-TEAP-Identity-Type := Machine
(1) &session-state:FreeRADIUS-EAP-TEAP-Identity-Type += Machine
(1) # Executing section authorize from file
/usr/local/etc/raddb/sites-enabled/default
(1) authorize {
(1) policy filter_username {
(1) if (&User-Name) {
(1) if (&User-Name) -> TRUE
(1) if (&User-Name) {
(1) if (&User-Name =~ / /) {
(1) if (&User-Name =~ / /) -> FALSE
(1) if (&User-Name =~ /@[^@]*@/ ) {
(1) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(1) if (&User-Name =~ /\.\./ ) {
(1) if (&User-Name =~ /\.\./ ) -> FALSE
(1) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) {
(1) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) ->
FALSE
(1) if (&User-Name =~ /\.$/) {
(1) if (&User-Name =~ /\.$/) -> FALSE
(1) if (&User-Name =~ /@\./) {
(1) if (&User-Name =~ /@\./) -> FALSE
(1) } # if (&User-Name) = notfound
(1) } # policy filter_username = notfound
(1) [preprocess] = ok
(1) [chap] = noop
(1) [mschap] = noop
(1) [digest] = noop
(1) suffix: Checking for suffix after "@"
(1) suffix: No '@' in User-Name = "anonymous", looking up realm NULL
(1) suffix: No such realm "NULL"
(1) [suffix] = noop
(1) eap: Peer sent EAP Response (code 2) ID 2 length 162
(1) eap: Continuing tunnel setup
(1) [eap] = ok
(1) } # authorize = ok
(1) Found Auth-Type = eap
(1) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(1) authenticate {
(1) eap: Removing EAP session with state 0x7a596d877a5b5a00
(1) eap: Previous EAP request found for state 0x7a596d877a5b5a00, released
from the list
(1) eap: Peer sent packet with method EAP TEAP (55)
(1) eap: Calling submodule eap_teap to process data
(1) eap_teap: Authenticate
(1) eap_teap: (TLS) EAP Got final fragment (156 bytes)
(1) eap_teap: WARNING: (TLS) EAP Total received record fragments (156
bytes), does not equal expected expected data length (0 bytes)
(1) eap_teap: (TLS) EAP Done initial handshake
(1) eap_teap: (TLS) TEAP - Handshake state - before SSL initialization
(1) eap_teap: (TLS) TEAP - Handshake state - Server before SSL
initialization
(1) eap_teap: (TLS) TEAP - Handshake state - Server before SSL
initialization
(1) eap_teap: (TLS) TEAP - recv TLS 1.3 Handshake, ClientHello
(1) eap_teap: (TLS) TEAP - Handshake state - Server SSLv3/TLS read client
hello
(1) eap_teap: (TLS) TEAP - send TLS 1.2 Handshake, ServerHello
(1) eap_teap: (TLS) TEAP - Handshake state - Server SSLv3/TLS write server
hello
(1) eap_teap: (TLS) TEAP - send TLS 1.2 Handshake, Certificate
(1) eap_teap: (TLS) TEAP - Handshake state - Server SSLv3/TLS write
certificate
(1) eap_teap: (TLS) TEAP - send TLS 1.2 Handshake, ServerKeyExchange
(1) eap_teap: (TLS) TEAP - Handshake state - Server SSLv3/TLS write key
exchange
(1) eap_teap: (TLS) TEAP - send TLS 1.2 Handshake, ServerHelloDone
(1) eap_teap: (TLS) TEAP - Handshake state - Server SSLv3/TLS write server
done
(1) eap_teap: (TLS) TEAP - Server : Need to read more data: SSLv3/TLS write
server done
(1) eap_teap: (TLS) TEAP - In Handshake Phase
(1) eap: Sending EAP Request (code 1) ID 3 length 994
(1) eap: EAP session adding &reply:State = 0x7a596d877b5a5a00
(1) [eap] = handled
(1) } # authenticate = handled
(1) Using Post-Auth-Type Challenge
(1) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(1) Challenge { ... } # empty sub-section is ignored
(1) session-state: Saving cached attributes
(1) Framed-MTU = 984
(1) FreeRADIUS-EAP-TEAP-Identity-Type := Machine
(1) FreeRADIUS-EAP-TEAP-Identity-Type += Machine
(1) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3 Handshake,
ClientHello"
(1) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake,
ServerHello"
(1) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake,
Certificate"
(1) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake,
ServerKeyExchange"
(1) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake,
ServerHelloDone"
(1) Sent Access-Challenge Id 45 from 10.78.5.223:1645 to 10.78.1.215:1645
length 1058
(1) EAP-Message =
0x010303e237c100000975160303003d0200003903031d4cac53bfecee4ad0f4c400a7c87d848c3b37a6ace5e3bdb68177030ca86ea400c030000011ff01000100000b0004030001020017000016030307f40b0007f00007ed0003ac308203a830820290a003020102020105300d06092a864886f70d01010b05003068310b3009060355040613024445310f300d06035504070c06426f6368756d312f302d060355040a0c2649534c20496e7465726e65742053696368657268656974736c6f6573756e67656e20476d62483117301506035504030c0e6d617274696e2d746573742d6361301e170d3234313230323135333931365a170d3334313133303135333931365a307c310b3009060355040613024445310f300d06035504070c06426f6368756d312f302d060355040a0c2649534c20496e7465726e65742053696368657268656974736c6f6573756e67656e20476d6248312b302906035504030c226d617274696e2d746573742d7261646975732d73657276
(1) Message-Authenticator = 0x00000000000000000000000000000000
(1) State = 0x7a596d877b5a5a006aa56f4f6e83cec8
(1) Finished request
Waking up in 4.9 seconds.
(2) Received Access-Request Id 46 from 10.78.1.215:1645 to 10.78.5.223:1645
length 270
(2) User-Name = "anonymous"
(2) Service-Type = Framed-User
(2) Cisco-AVPair = "service-type=Framed"
(2) Framed-MTU = 1500
(2) Called-Station-Id = "00-3C-10-AB-A2-8A"
(2) Calling-Station-Id = "C8-F7-50-08-DD-9F"
(2) EAP-Message = 0x020300063701
(2) Message-Authenticator = 0xcc12be8025179f2f60cd640c6e82b94c
(2) Cisco-AVPair = "audit-session-id=0A4E01D7000007352E347F3C"
(2) Cisco-AVPair = "method=dot1x"
(2) Framed-IP-Address = 10.78.5.3
(2) NAS-IP-Address = 10.78.1.215
(2) NAS-Port-Id = "GigabitEthernet1/0/10"
(2) NAS-Port-Type = Ethernet
(2) NAS-Port = 50110
(2) State = 0x7a596d877b5a5a006aa56f4f6e83cec8
(2) Restoring &session-state
(2) &session-state:Framed-MTU = 984
(2) &session-state:FreeRADIUS-EAP-TEAP-Identity-Type := Machine
(2) &session-state:FreeRADIUS-EAP-TEAP-Identity-Type += Machine
(2) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3
Handshake, ClientHello"
(2) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2
Handshake, ServerHello"
(2) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2
Handshake, Certificate"
(2) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2
Handshake, ServerKeyExchange"
(2) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2
Handshake, ServerHelloDone"
(2) # Executing section authorize from file
/usr/local/etc/raddb/sites-enabled/default
(2) authorize {
(2) policy filter_username {
(2) if (&User-Name) {
(2) if (&User-Name) -> TRUE
(2) if (&User-Name) {
(2) if (&User-Name =~ / /) {
(2) if (&User-Name =~ / /) -> FALSE
(2) if (&User-Name =~ /@[^@]*@/ ) {
(2) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(2) if (&User-Name =~ /\.\./ ) {
(2) if (&User-Name =~ /\.\./ ) -> FALSE
(2) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) {
(2) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) ->
FALSE
(2) if (&User-Name =~ /\.$/) {
(2) if (&User-Name =~ /\.$/) -> FALSE
(2) if (&User-Name =~ /@\./) {
(2) if (&User-Name =~ /@\./) -> FALSE
(2) } # if (&User-Name) = notfound
(2) } # policy filter_username = notfound
(2) [preprocess] = ok
(2) [chap] = noop
(2) [mschap] = noop
(2) [digest] = noop
(2) suffix: Checking for suffix after "@"
(2) suffix: No '@' in User-Name = "anonymous", looking up realm NULL
(2) suffix: No such realm "NULL"
(2) [suffix] = noop
(2) eap: Peer sent EAP Response (code 2) ID 3 length 6
(2) eap: Continuing tunnel setup
(2) [eap] = ok
(2) } # authorize = ok
(2) Found Auth-Type = eap
(2) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(2) authenticate {
(2) eap: Removing EAP session with state 0x7a596d877b5a5a00
(2) eap: Previous EAP request found for state 0x7a596d877b5a5a00, released
from the list
(2) eap: Peer sent packet with method EAP TEAP (55)
(2) eap: Calling submodule eap_teap to process data
(2) eap_teap: Authenticate
(2) eap_teap: (TLS) Peer ACKed our handshake fragment
(2) eap: Sending EAP Request (code 1) ID 4 length 990
(2) eap: EAP session adding &reply:State = 0x7a596d87785d5a00
(2) [eap] = handled
(2) } # authenticate = handled
(2) Using Post-Auth-Type Challenge
(2) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(2) Challenge { ... } # empty sub-section is ignored
(2) session-state: Saving cached attributes
(2) Framed-MTU = 984
(2) FreeRADIUS-EAP-TEAP-Identity-Type := Machine
(2) FreeRADIUS-EAP-TEAP-Identity-Type += Machine
(2) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3 Handshake,
ClientHello"
(2) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake,
ServerHello"
(2) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake,
Certificate"
(2) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake,
ServerKeyExchange"
(2) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake,
ServerHelloDone"
(2) Sent Access-Challenge Id 46 from 10.78.5.223:1645 to 10.78.1.215:1645
length 1054
(2) EAP-Message =
0x010403de3741394b7024725e8f9514edfd4ea11b2bbd6fff95bcba6081b3679fa0b5d58c8d0351edf51bfd00043b308204373082031fa00302010202146837d2898be29a5a56edbd7008ad02b855b72ecc300d06092a864886f70d01010b05003068310b3009060355040613024445310f300d06035504070c06426f6368756d312f302d060355040a0c2649534c20496e7465726e65742053696368657268656974736c6f6573756e67656e20476d62483117301506035504030c0e6d617274696e2d746573742d6361301e170d3234313132313133303935315a170d3334313131393133303935315a3068310b3009060355040613024445310f300d06035504070c06426f6368756d312f302d060355040a0c2649534c20496e7465726e65742053696368657268656974736c6f6573756e67656e20476d62483117301506035504030c0e6d617274696e2d746573742d636130820122300d06092a864886f70d01010105000382010f003082010a0282010100d439
(2) Message-Authenticator = 0x00000000000000000000000000000000
(2) State = 0x7a596d87785d5a006aa56f4f6e83cec8
(2) Finished request
Waking up in 4.9 seconds.
(3) Received Access-Request Id 47 from 10.78.1.215:1645 to 10.78.5.223:1645
length 270
(3) User-Name = "anonymous"
(3) Service-Type = Framed-User
(3) Cisco-AVPair = "service-type=Framed"
(3) Framed-MTU = 1500
(3) Called-Station-Id = "00-3C-10-AB-A2-8A"
(3) Calling-Station-Id = "C8-F7-50-08-DD-9F"
(3) EAP-Message = 0x020400063701
(3) Message-Authenticator = 0xcccf55c556037e14c21a845197bee436
(3) Cisco-AVPair = "audit-session-id=0A4E01D7000007352E347F3C"
(3) Cisco-AVPair = "method=dot1x"
(3) Framed-IP-Address = 10.78.5.3
(3) NAS-IP-Address = 10.78.1.215
(3) NAS-Port-Id = "GigabitEthernet1/0/10"
(3) NAS-Port-Type = Ethernet
(3) NAS-Port = 50110
(3) State = 0x7a596d87785d5a006aa56f4f6e83cec8
(3) Restoring &session-state
(3) &session-state:Framed-MTU = 984
(3) &session-state:FreeRADIUS-EAP-TEAP-Identity-Type := Machine
(3) &session-state:FreeRADIUS-EAP-TEAP-Identity-Type += Machine
(3) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3
Handshake, ClientHello"
(3) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2
Handshake, ServerHello"
(3) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2
Handshake, Certificate"
(3) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2
Handshake, ServerKeyExchange"
(3) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2
Handshake, ServerHelloDone"
(3) # Executing section authorize from file
/usr/local/etc/raddb/sites-enabled/default
(3) authorize {
(3) policy filter_username {
(3) if (&User-Name) {
(3) if (&User-Name) -> TRUE
(3) if (&User-Name) {
(3) if (&User-Name =~ / /) {
(3) if (&User-Name =~ / /) -> FALSE
(3) if (&User-Name =~ /@[^@]*@/ ) {
(3) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(3) if (&User-Name =~ /\.\./ ) {
(3) if (&User-Name =~ /\.\./ ) -> FALSE
(3) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) {
(3) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) ->
FALSE
(3) if (&User-Name =~ /\.$/) {
(3) if (&User-Name =~ /\.$/) -> FALSE
(3) if (&User-Name =~ /@\./) {
(3) if (&User-Name =~ /@\./) -> FALSE
(3) } # if (&User-Name) = notfound
(3) } # policy filter_username = notfound
(3) [preprocess] = ok
(3) [chap] = noop
(3) [mschap] = noop
(3) [digest] = noop
(3) suffix: Checking for suffix after "@"
(3) suffix: No '@' in User-Name = "anonymous", looking up realm NULL
(3) suffix: No such realm "NULL"
(3) [suffix] = noop
(3) eap: Peer sent EAP Response (code 2) ID 4 length 6
(3) eap: Continuing tunnel setup
(3) [eap] = ok
(3) } # authorize = ok
(3) Found Auth-Type = eap
(3) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(3) authenticate {
(3) eap: Removing EAP session with state 0x7a596d87785d5a00
(3) eap: Previous EAP request found for state 0x7a596d87785d5a00, released
from the list
(3) eap: Peer sent packet with method EAP TEAP (55)
(3) eap: Calling submodule eap_teap to process data
(3) eap_teap: Authenticate
(3) eap_teap: (TLS) Peer ACKed our handshake fragment
(3) eap: Sending EAP Request (code 1) ID 5 length 459
(3) eap: EAP session adding &reply:State = 0x7a596d87795c5a00
(3) [eap] = handled
(3) } # authenticate = handled
(3) Using Post-Auth-Type Challenge
(3) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(3) Challenge { ... } # empty sub-section is ignored
(3) session-state: Saving cached attributes
(3) Framed-MTU = 984
(3) FreeRADIUS-EAP-TEAP-Identity-Type := Machine
(3) FreeRADIUS-EAP-TEAP-Identity-Type += Machine
(3) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3 Handshake,
ClientHello"
(3) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake,
ServerHello"
(3) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake,
Certificate"
(3) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake,
ServerKeyExchange"
(3) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake,
ServerHelloDone"
(3) Sent Access-Challenge Id 47 from 10.78.5.223:1645 to 10.78.1.215:1645
length 519
(3) EAP-Message =
0x010501cb37012355bf3fef88cc0908228a0b37560dd68abfba7b8e1b8bd76223b49cf84a80d90025c3ae17296c51dd9630a0f8af67b987416ee02f0ed7615ece56169a552aed5426af82497468570c9bc062edccfbac033364c1d6b55075552fe9c6f7fcb955415423fef9ba221ec3cda5939a6965aa3e49dcfda0c1a0b4712ba554c245396805304b4c14d252d9f84575160303012c0c00012803001d203b37086a5c78dc14cad2c8c7374b9b6dd507f675889236e2042b673f0607204908040100bba0003ef8c6fe9f6c5c6a6c9c16501f408f8bba1d7687f8939700e3eb1704d0d2ad9276c4b3bf44541d5cd5257ede26f820c38d28b826ca3dab01844ce41a009473534f7d822aa12a3123c4014f3a103cf0acecfda1b62e2ca0d313f1a1f6b02000ebb3fd56382b0ce7997a98d003b07950ab37f843fa2189ba0f3703535e314532d3ad432de3f31e32e31616ad351e1fd544ae3ddf21e77050e22567b71455f61e23ad2b09bf2016458ef26ebf283ec6f668eb9f
(3) Message-Authenticator = 0x00000000000000000000000000000000
(3) State = 0x7a596d87795c5a006aa56f4f6e83cec8
(3) Finished request
Waking up in 4.8 seconds.
(4) Received Access-Request Id 48 from 10.78.1.215:1645 to 10.78.5.223:1645
length 363
(4) User-Name = "anonymous"
(4) Service-Type = Framed-User
(4) Cisco-AVPair = "service-type=Framed"
(4) Framed-MTU = 1500
(4) Called-Station-Id = "00-3C-10-AB-A2-8A"
(4) Calling-Station-Id = "C8-F7-50-08-DD-9F"
(4) EAP-Message =
0x020500633701160303002510000021205cc2d801255fe0efb776b41691ed303e42d6e194e1236da7ae88938ee2af667214030300010116030300280000000000000000ae43149964e478ded2684a1860b114d581e26ed03f91168fb2c61798928dc5a2
(4) Message-Authenticator = 0xa46f7ee48cd3b2bd3f61838ca75b0ae1
(4) Cisco-AVPair = "audit-session-id=0A4E01D7000007352E347F3C"
(4) Cisco-AVPair = "method=dot1x"
(4) Framed-IP-Address = 10.78.5.3
(4) NAS-IP-Address = 10.78.1.215
(4) NAS-Port-Id = "GigabitEthernet1/0/10"
(4) NAS-Port-Type = Ethernet
(4) NAS-Port = 50110
(4) State = 0x7a596d87795c5a006aa56f4f6e83cec8
(4) Restoring &session-state
(4) &session-state:Framed-MTU = 984
(4) &session-state:FreeRADIUS-EAP-TEAP-Identity-Type := Machine
(4) &session-state:FreeRADIUS-EAP-TEAP-Identity-Type += Machine
(4) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3
Handshake, ClientHello"
(4) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2
Handshake, ServerHello"
(4) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2
Handshake, Certificate"
(4) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2
Handshake, ServerKeyExchange"
(4) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2
Handshake, ServerHelloDone"
(4) # Executing section authorize from file
/usr/local/etc/raddb/sites-enabled/default
(4) authorize {
(4) policy filter_username {
(4) if (&User-Name) {
(4) if (&User-Name) -> TRUE
(4) if (&User-Name) {
(4) if (&User-Name =~ / /) {
(4) if (&User-Name =~ / /) -> FALSE
(4) if (&User-Name =~ /@[^@]*@/ ) {
(4) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(4) if (&User-Name =~ /\.\./ ) {
(4) if (&User-Name =~ /\.\./ ) -> FALSE
(4) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) {
(4) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) ->
FALSE
(4) if (&User-Name =~ /\.$/) {
(4) if (&User-Name =~ /\.$/) -> FALSE
(4) if (&User-Name =~ /@\./) {
(4) if (&User-Name =~ /@\./) -> FALSE
(4) } # if (&User-Name) = notfound
(4) } # policy filter_username = notfound
(4) [preprocess] = ok
(4) [chap] = noop
(4) [mschap] = noop
(4) [digest] = noop
(4) suffix: Checking for suffix after "@"
(4) suffix: No '@' in User-Name = "anonymous", looking up realm NULL
(4) suffix: No such realm "NULL"
(4) [suffix] = noop
(4) eap: Peer sent EAP Response (code 2) ID 5 length 99
(4) eap: Continuing tunnel setup
(4) [eap] = ok
(4) } # authorize = ok
(4) Found Auth-Type = eap
(4) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(4) authenticate {
(4) eap: Removing EAP session with state 0x7a596d87795c5a00
(4) eap: Previous EAP request found for state 0x7a596d87795c5a00, released
from the list
(4) eap: Peer sent packet with method EAP TEAP (55)
(4) eap: Calling submodule eap_teap to process data
(4) eap_teap: Authenticate
(4) eap_teap: (TLS) EAP Done initial handshake
(4) eap_teap: (TLS) TEAP - Handshake state - Server SSLv3/TLS write server
done
(4) eap_teap: (TLS) TEAP - recv TLS 1.2 Handshake, ClientKeyExchange
(4) eap_teap: (TLS) TEAP - Handshake state - Server SSLv3/TLS read client
key exchange
(4) eap_teap: (TLS) TEAP - Handshake state - Server SSLv3/TLS read change
cipher spec
(4) eap_teap: (TLS) TEAP - recv TLS 1.2 Handshake, Finished
(4) eap_teap: (TLS) TEAP - Handshake state - Server SSLv3/TLS read finished
(4) eap_teap: (TLS) TEAP - send TLS 1.2 ChangeCipherSpec
(4) eap_teap: (TLS) TEAP - Handshake state - Server SSLv3/TLS write change
cipher spec
(4) eap_teap: (TLS) TEAP - send TLS 1.2 Handshake, Finished
(4) eap_teap: (TLS) TEAP - Handshake state - Server SSLv3/TLS write finished
(4) eap_teap: (TLS) TEAP - Handshake state - SSL negotiation finished
successfully
(4) eap_teap: (TLS) TEAP - Connection Established
(4) eap_teap: TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(4) eap_teap: TLS-Session-Version = "TLS 1.2"
(4) eap: Sending EAP Request (code 1) ID 6 length 57
(4) eap: EAP session adding &reply:State = 0x7a596d877e5f5a00
(4) [eap] = handled
(4) } # authenticate = handled
(4) Using Post-Auth-Type Challenge
(4) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(4) Challenge { ... } # empty sub-section is ignored
(4) session-state: Saving cached attributes
(4) Framed-MTU = 984
(4) FreeRADIUS-EAP-TEAP-Identity-Type := Machine
(4) FreeRADIUS-EAP-TEAP-Identity-Type += Machine
(4) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3 Handshake,
ClientHello"
(4) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake,
ServerHello"
(4) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake,
Certificate"
(4) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake,
ServerKeyExchange"
(4) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake,
ServerHelloDone"
(4) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake,
ClientKeyExchange"
(4) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake,
Finished"
(4) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 ChangeCipherSpec"
(4) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake,
Finished"
(4) TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(4) TLS-Session-Version = "TLS 1.2"
(4) Sent Access-Challenge Id 48 from 10.78.5.223:1645 to 10.78.1.215:1645
length 115
(4) EAP-Message =
0x01060039370114030300010116030300281f7f5aed21ff16ada3a4a2e752074554ad6c4a48b96eeaa97b0072025abb6a3b3949238ef1ff5aa5
(4) Message-Authenticator = 0x00000000000000000000000000000000
(4) State = 0x7a596d877e5f5a006aa56f4f6e83cec8
(4) Finished request
Waking up in 4.8 seconds.
(5) Received Access-Request Id 49 from 10.78.1.215:1645 to 10.78.5.223:1645
length 270
(5) User-Name = "anonymous"
(5) Service-Type = Framed-User
(5) Cisco-AVPair = "service-type=Framed"
(5) Framed-MTU = 1500
(5) Called-Station-Id = "00-3C-10-AB-A2-8A"
(5) Calling-Station-Id = "C8-F7-50-08-DD-9F"
(5) EAP-Message = 0x020600063701
(5) Message-Authenticator = 0x74ba42af7396d6b2c0406a936ad4ef33
(5) Cisco-AVPair = "audit-session-id=0A4E01D7000007352E347F3C"
(5) Cisco-AVPair = "method=dot1x"
(5) Framed-IP-Address = 10.78.5.3
(5) NAS-IP-Address = 10.78.1.215
(5) NAS-Port-Id = "GigabitEthernet1/0/10"
(5) NAS-Port-Type = Ethernet
(5) NAS-Port = 50110
(5) State = 0x7a596d877e5f5a006aa56f4f6e83cec8
(5) Restoring &session-state
(5) &session-state:Framed-MTU = 984
(5) &session-state:FreeRADIUS-EAP-TEAP-Identity-Type := Machine
(5) &session-state:FreeRADIUS-EAP-TEAP-Identity-Type += Machine
(5) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3
Handshake, ClientHello"
(5) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2
Handshake, ServerHello"
(5) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2
Handshake, Certificate"
(5) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2
Handshake, ServerKeyExchange"
(5) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2
Handshake, ServerHelloDone"
(5) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2
Handshake, ClientKeyExchange"
(5) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2
Handshake, Finished"
(5) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2
ChangeCipherSpec"
(5) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2
Handshake, Finished"
(5) &session-state:TLS-Session-Cipher-Suite =
"ECDHE-RSA-AES256-GCM-SHA384"
(5) &session-state:TLS-Session-Version = "TLS 1.2"
(5) # Executing section authorize from file
/usr/local/etc/raddb/sites-enabled/default
(5) authorize {
(5) policy filter_username {
(5) if (&User-Name) {
(5) if (&User-Name) -> TRUE
(5) if (&User-Name) {
(5) if (&User-Name =~ / /) {
(5) if (&User-Name =~ / /) -> FALSE
(5) if (&User-Name =~ /@[^@]*@/ ) {
(5) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(5) if (&User-Name =~ /\.\./ ) {
(5) if (&User-Name =~ /\.\./ ) -> FALSE
(5) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) {
(5) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) ->
FALSE
(5) if (&User-Name =~ /\.$/) {
(5) if (&User-Name =~ /\.$/) -> FALSE
(5) if (&User-Name =~ /@\./) {
(5) if (&User-Name =~ /@\./) -> FALSE
(5) } # if (&User-Name) = notfound
(5) } # policy filter_username = notfound
(5) [preprocess] = ok
(5) [chap] = noop
(5) [mschap] = noop
(5) [digest] = noop
(5) suffix: Checking for suffix after "@"
(5) suffix: No '@' in User-Name = "anonymous", looking up realm NULL
(5) suffix: No such realm "NULL"
(5) [suffix] = noop
(5) eap: Peer sent EAP Response (code 2) ID 6 length 6
(5) eap: Continuing tunnel setup
(5) [eap] = ok
(5) } # authorize = ok
(5) Found Auth-Type = eap
(5) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(5) authenticate {
(5) eap: Removing EAP session with state 0x7a596d877e5f5a00
(5) eap: Previous EAP request found for state 0x7a596d877e5f5a00, released
from the list
(5) eap: Peer sent packet with method EAP TEAP (55)
(5) eap: Calling submodule eap_teap to process data
(5) eap_teap: Authenticate
(5) eap_teap: (TLS) Peer ACKed our handshake fragment. handshake is
finished
(5) eap_teap: Session established. Proceeding to decode tunneled attributes
(5) eap_teap: Using authenticated provisioning
(5) eap_teap: Using MAC SHA384 (673)
(5) eap_teap: Deriving EAP-TEAP keys
ASSERT FAILED src/modules/rlm_eap/types/rlm_eap_teap/eap_teap.c[77]:
t->received_version > -1
CAUGHT SIGNAL: Aborted
Backtrace of last 27 frames:
/usr/local/lib/libfreeradius-radius.so(fr_fault+0x114)[0x7fe55bdbb98d]
/usr/local/lib/libfreeradius-server.so(rad_assert_fail+0x46)[0x7fe55c01ec2b]
/usr/local/lib/rlm_eap_teap.so(+0x3446)[0x7fe555f05446]
/usr/local/lib/rlm_eap_teap.so(eap_teap_process+0x23a)[0x7fe555f09d0e]
/usr/local/lib/rlm_eap_teap.so(+0x32a4)[0x7fe555f052a4]
/usr/local/lib/rlm_eap.so(+0x46e4)[0x7fe55918c6e4]
/usr/local/lib/rlm_eap.so(eap_method_select+0x455)[0x7fe55918d0eb]
/usr/local/lib/rlm_eap.so(+0x313d)[0x7fe55918b13d]
radiusd[0x42d652]
radiusd[0x42dd2e]
radiusd[0x42d828]
radiusd[0x42e767]
radiusd(modcall+0xa2)[0x42f4e3]
radiusd(indexed_modcall+0x366)[0x42aa9f]
radiusd(process_authenticate+0x22)[0x42cf34]
radiusd[0x410788]
radiusd(rad_authenticate+0x645)[0x4112d1]
radiusd[0x443309]
radiusd[0x441edb]
radiusd(request_receive+0x9f4)[0x443f11]
radiusd[0x41ab72]
radiusd[0x44bf41]
/usr/local/lib/libfreeradius-radius.so(fr_event_loop+0x574)[0x7fe55bde4729]
radiusd(radius_event_process+0x26)[0x44df37]
radiusd(main+0xd38)[0x435c5b]
/lib64/libc.so.6(__libc_start_main+0xe5)[0x7fe55a4027e5]
radiusd(_start+0x2e)[0x40fa7e]
No panic action set
Aborted (core dumped)
More information about the Freeradius-Users
mailing list