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
November 2020
- 44 participants
- 44 discussions
All,
I've got authentication working nicely with MSCHAP, but now I'd like to
only allow users that are members of a certain AD group.
I would prefer to have this happen only when requests come from a
specific client (wireless access point). In this case the idea is to
have users only be able to get wireless access when they're in a
specific AD group.
How can I do this in freeradius?
Thanks,
Brian
7
18
Packages for CentOS 8 at https://networkradius.com/freeradius-packages/ appear
to be compiled without winbind support. Is there a reason for that? CentOS
7 package have it - not sure about other distros.
... snip...
# Instantiating module "expiration" from file
/etc/raddb/mods-enabled/expiration
# Instantiating module "files" from file /etc/raddb/mods-enabled/files
reading pairlist file /etc/raddb/mods-config/files/authorize
reading pairlist file /etc/raddb/mods-config/files/accounting
reading pairlist file /etc/raddb/mods-config/files/pre-proxy
# Instantiating module "linelog" from file /etc/raddb/mods-enabled/linelog
# Instantiating module "log_accounting" from file
/etc/raddb/mods-enabled/linelog
# Instantiating module "log_accounting_syslog" from file
/etc/raddb/mods-enabled/linelog
# Instantiating module "vlanlog" from file /etc/raddb/mods-enabled/linelog
# Instantiating module "logintime" from file
/etc/raddb/mods-enabled/logintime
# Instantiating module "mschap_winbind" from file
/etc/raddb/mods-enabled/mschap
/etc/raddb/mods-enabled/mschap[1]: 'winbind' auth not enabled at compiled
time
/etc/raddb/mods-enabled/mschap[1]: Instantiation failed for module
"mschap_winbind"
P.
6
12
Fwd: Question regarding the direction of eap_tls: <<< recv and eap_tls: >>> send
by Eric Nguyen 17 Mar '21
by Eric Nguyen 17 Mar '21
17 Mar '21
Hi,
I'd like to ask a question regarding the direction of the exchanges in the
radius log (radiusd -X).
I used eapol_test as a client/authenticator against FreeRADIUS 3.0.21.
- If I set the following parameters in the FreeRADIUS eap file, espol_test
will results in a failure.
In this case, "eap_tls: <<< recv TLS 1.3" looks like an exchange from
FreeRADIUS to eapol_test (SERVER -> CLIENT):
tls_min_version = "1.3"
tls_max_version = "1.3"
The FREERADIUS log shows:
(2) eap_tls: <<< recv TLS 1.3 [length 00b9]
(2) eap_tls: >>> send TLS 1.2 [length 0002]
(2) eap_tls: ERROR: TLS Alert write:fatal:protocol version
- If I set the following parameters in the FreeRADIUS eap file, espol_test
will results in a success.
In this case, "eap_tls: <<< recv TLS 1.2" looks like an exchange from
eapol_test to FreeRADIUS (CLIENT TO SERVER):
tls_min_version = "1.2"
tls_max_version = "1.3"
(6) eap_tls: <<< recv TLS 1.2 [length 08de]
(6) eap_tls: TLS - Creating attributes from certificate OIDs
Could you please clarify the meaning of these "eap_tls: <<< recv" log
messages?
Thanks,
Eric
-------------------------------------------------------------------------------------------------------------------------------------------
FULL LOG
tls_min_version = "1.3"
tls_max_version = "1.3"
(2) eap: Calling submodule eap_tls to process data
(2) eap_tls: Continuing EAP-TLS
(2) eap_tls: [eaptls verify] = ok
(2) eap_tls: Done initial handshake
(2) eap_tls: (other): before SSL initialization
(2) eap_tls: TLS_accept: before SSL initialization
(2) eap_tls: TLS_accept: before SSL initialization
(2) eap_tls: <<< recv TLS 1.3 [length 00b9]
(2) eap_tls: >>> send TLS 1.2 [length 0002]
(2) eap_tls: ERROR: TLS Alert write:fatal:protocol version
tls: TLS_accept: Error in error
(2) eap_tls: ERROR: Failed in __FUNCTION__ (SSL_read): error:14209102:SSL
routines:tls_early_post_process_client_hello:unsupported protocol
(2) eap_tls: ERROR: System call (I/O) error (-1)
(2) eap_tls: ERROR: TLS receive handshake failed during operation
(2) eap_tls: ERROR: [eaptls process] = fail
(2) eap: ERROR: Failed continuing EAP TLS (13) session. EAP sub-module
failed
(2) eap: Sending EAP Failure (code 4) ID 54 length 4
(2) eap: Failed in EAP select
(2) [eap] = invalid
(2) } # authenticate = invalid
-------------------------------------------------------------------------------------------------------------------------------------------
tls_min_version = "1.2"
tls_max_version = "1.3"
(6) eap: Calling submodule eap_tls to process data
(6) eap_tls: Continuing EAP-TLS
(6) eap_tls: Got final TLS record fragment (1272 bytes)
(6) eap_tls: [eaptls verify] = ok
(6) eap_tls: Done initial handshake
(6) eap_tls: TLS_accept: SSLv3/TLS write server done
(6) eap_tls: <<< recv TLS 1.2 [length 08de]
(6) eap_tls: TLS - Creating attributes from certificate OIDs
(6) eap_tls: TLS-Cert-Serial :=
"315fa3c827cb5c44e13222c88ff80369d1a176f1"
(6) eap_tls: TLS-Cert-Expiration := "210113170058Z"
(6) eap_tls: TLS-Cert-Valid-Since := "201114170058Z"
(6) eap_tls: TLS-Cert-Subject := "/C=FR/ST=Radius/L=Somewhere/O=Example
Inc./emailAddress=admin(a)example.org/CN=Example Certificate Authority"
(6) eap_tls: TLS-Cert-Issuer := "/C=FR/ST=Radius/L=Somewhere/O=Example
Inc./emailAddress=admin(a)example.org/CN=Example Certificate Authority"
(6) eap_tls: TLS-Cert-Common-Name := "Example Certificate Authority"
(6) eap_tls: TLS - Creating attributes from certificate OIDs
(6) eap_tls: TLS-Client-Cert-Serial := "02"
(6) eap_tls: TLS-Client-Cert-Expiration := "210113170058Z"
(6) eap_tls: TLS-Client-Cert-Valid-Since := "201114170058Z"
(6) eap_tls: TLS-Client-Cert-Subject := "/C=FR/ST=Radius/O=Example
Inc./CN=user@example.org/emailAddress=user@example.org"
(6) eap_tls: TLS-Client-Cert-Issuer :=
"/C=FR/ST=Radius/L=Somewhere/O=Example Inc./emailAddress=
admin(a)example.org/CN=Example Certificate Authority"
(6) eap_tls: TLS-Client-Cert-Common-Name := "user(a)example.org"
(6) eap_tls: TLS-Client-Cert-X509v3-Extended-Key-Usage += "TLS Web Client
Authentication"
(6) eap_tls: TLS-Client-Cert-X509v3-Extended-Key-Usage-OID +=
"1.3.6.1.5.5.7.3.2"
(6) eap_tls: TLS_accept: SSLv3/TLS read client certificate
(6) eap_tls: <<< recv TLS 1.2 [length 0046]
(6) eap_tls: TLS_accept: SSLv3/TLS read client key exchange
(6) eap_tls: <<< recv TLS 1.2 [length 0108]
(6) eap_tls: TLS_accept: SSLv3/TLS read certificate verify
(6) eap_tls: TLS_accept: SSLv3/TLS read change cipher spec
(6) eap_tls: <<< recv TLS 1.2 [length 0010]
(6) eap_tls: TLS_accept: SSLv3/TLS read finished
(6) eap_tls: >>> send TLS 1.2 [length 0001]
(6) eap_tls: TLS_accept: SSLv3/TLS write change cipher spec
(6) eap_tls: >>> send TLS 1.2 [length 0010]
(6) eap_tls: TLS_accept: SSLv3/TLS write finished
(6) eap_tls: (other): SSL negotiation finished successfully
(6) eap_tls: TLS - Connection Established
(6) eap_tls: TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(6) eap_tls: TLS-Session-Version = "TLS 1.2"
(6) eap_tls: TLS - got 51 bytes of data
(6) eap_tls: [eaptls process] = handled
3
3
Hi all,
I’m new to FreeRadius and working on a WLAN application with MikroTik NAS and dynamic VLANs.
My supplicants are Apple devices (recent OS version on iMac and iPhone, 10.13 on a MacBook).
When such a supplicant switches the WLAN to my test-WLAN and authenticates 1st time the authentication process loops and takes very long and fails sometimes totally.
When I add a MAC-based entry of the device being tested to the username/password entry like so
"D6:B5:E4:2A:3A:1C" Cleartext-Password := "D6:B5:E4:2A:3A:1C"
it succeeds immediately (example appended).
This requirement makes it impossible for me to have a guest account, where the mac addresses are unknown.
I could provide a trace of such an unsuccessful authentication attempt, but I would prefer to provide it as attachment, because it will be very long.
Any help greatly appreciated,
Axel
ps: the trace follows:
- - -
FreeRADIUS Version 3.0.21
Copyright (C) 1999-2019 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 /etc/raddb/dictionary
including configuration file /etc/raddb/radiusd.conf
including configuration file /etc/raddb/proxy.conf
including configuration file /etc/raddb/clients.conf
including files in directory /etc/raddb/mods-enabled/
including configuration file /etc/raddb/mods-enabled/always
including configuration file /etc/raddb/mods-enabled/attr_filter
including configuration file /etc/raddb/mods-enabled/cache_eap
including configuration file /etc/raddb/mods-enabled/chap
including configuration file /etc/raddb/mods-enabled/date
including configuration file /etc/raddb/mods-enabled/detail
including configuration file /etc/raddb/mods-enabled/detail.log
including configuration file /etc/raddb/mods-enabled/digest
including configuration file /etc/raddb/mods-enabled/dynamic_clients
including configuration file /etc/raddb/mods-enabled/eap
including configuration file /etc/raddb/mods-enabled/echo
including configuration file /etc/raddb/mods-enabled/exec
including configuration file /etc/raddb/mods-enabled/expiration
including configuration file /etc/raddb/mods-enabled/expr
including configuration file /etc/raddb/mods-enabled/files
including configuration file /etc/raddb/mods-enabled/linelog
including configuration file /etc/raddb/mods-enabled/logintime
including configuration file /etc/raddb/mods-enabled/mschap
including configuration file /etc/raddb/mods-enabled/ntlm_auth
including configuration file /etc/raddb/mods-enabled/pap
including configuration file /etc/raddb/mods-enabled/passwd
including configuration file /etc/raddb/mods-enabled/preprocess
including configuration file /etc/raddb/mods-enabled/radutmp
including configuration file /etc/raddb/mods-enabled/realm
including configuration file /etc/raddb/mods-enabled/replicate
including configuration file /etc/raddb/mods-enabled/soh
including configuration file /etc/raddb/mods-enabled/sradutmp
including configuration file /etc/raddb/mods-enabled/unix
including configuration file /etc/raddb/mods-enabled/unpack
including configuration file /etc/raddb/mods-enabled/utf8
including files in directory /etc/raddb/policy.d/
including configuration file /etc/raddb/policy.d/abfab-tr
including configuration file /etc/raddb/policy.d/accounting
including configuration file /etc/raddb/policy.d/canonicalization
including configuration file /etc/raddb/policy.d/control
including configuration file /etc/raddb/policy.d/cui
including configuration file /etc/raddb/policy.d/debug
including configuration file /etc/raddb/policy.d/dhcp
including configuration file /etc/raddb/policy.d/eap
including configuration file /etc/raddb/policy.d/filter
including configuration file /etc/raddb/policy.d/moonshot-targeted-ids
including configuration file /etc/raddb/policy.d/operator-name
including configuration file /etc/raddb/policy.d/rfc7542
including files in directory /etc/raddb/sites-enabled/
including configuration file /etc/raddb/sites-enabled/default
including configuration file /etc/raddb/sites-enabled/inner-tunnel
main {
security {
user = "_freeradius"
group = "_freeradius"
allow_core_dumps = no
}
name = "radiusd"
prefix = "/usr/local"
localstatedir = "/var"
logdir = "/var/log/radius"
run_dir = "/var/run/radiusd"
}
main {
name = "radiusd"
prefix = "/usr/local"
localstatedir = "/var"
sbindir = "/usr/local/sbin"
logdir = "/var/log/radius"
run_dir = "/var/run/radiusd"
libdir = "/usr/local/lib/freeradius/freeradius"
radacctdir = "/var/log/radius/radacct"
hostname_lookups = no
max_request_time = 30
cleanup_delay = 5
max_requests = 16384
pidfile = "/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
allow_vulnerable_openssl = "no"
}
}
radiusd: #### Loading Realms and Home Servers ####
proxy server {
retry_delay = 5
retry_count = 3
default_fallback = no
dead_time = 120
wake_all_if_all_dead = no
}
home_server localhost {
ipaddr = 127.0.0.1
port = 1812
type = "auth"
secret = <<< secret >>>
response_window = 20.000000
response_timeouts = 1
max_outstanding = 65536
zombie_period = 40
status_check = "status-server"
ping_interval = 30
check_interval = 30
check_timeout = 4
num_answers_to_alive = 3
revive_interval = 120
limit {
max_connections = 16
max_requests = 0
lifetime = 0
idle_timeout = 0
}
coa {
irt = 2
mrt = 16
mrc = 5
mrd = 30
}
}
home_server_pool my_auth_failover {
type = fail-over
home_server = localhost
}
realm example.com {
auth_pool = my_auth_failover
}
realm LOCAL {
}
radiusd: #### Loading Clients ####
client wlan.chaos1.de {
ipaddr = cap01.wlan.chaos1.de IPv4 address [172.16.63.11]
require_message_authenticator = no
secret = <<< secret >>>
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
}
}
Found debugger attached
# 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
radiusd: #### Instantiating modules ####
modules {
# Loaded module rlm_always
# Loading module "reject" from file /etc/raddb/mods-enabled/always
always reject {
rcode = "reject"
simulcount = 0
mpp = no
}
# Loading module "fail" from file /etc/raddb/mods-enabled/always
always fail {
rcode = "fail"
simulcount = 0
mpp = no
}
# Loading module "ok" from file /etc/raddb/mods-enabled/always
always ok {
rcode = "ok"
simulcount = 0
mpp = no
}
# Loading module "handled" from file /etc/raddb/mods-enabled/always
always handled {
rcode = "handled"
simulcount = 0
mpp = no
}
# Loading module "invalid" from file /etc/raddb/mods-enabled/always
always invalid {
rcode = "invalid"
simulcount = 0
mpp = no
}
# Loading module "userlock" from file /etc/raddb/mods-enabled/always
always userlock {
rcode = "userlock"
simulcount = 0
mpp = no
}
# Loading module "notfound" from file /etc/raddb/mods-enabled/always
always notfound {
rcode = "notfound"
simulcount = 0
mpp = no
}
# Loading module "noop" from file /etc/raddb/mods-enabled/always
always noop {
rcode = "noop"
simulcount = 0
mpp = no
}
# Loading module "updated" from file /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 /etc/raddb/mods-enabled/attr_filter
attr_filter attr_filter.post-proxy {
filename = "/etc/raddb/mods-config/attr_filter/post-proxy"
key = "%{Realm}"
relaxed = no
}
# Loading module "attr_filter.pre-proxy" from file /etc/raddb/mods-enabled/attr_filter
attr_filter attr_filter.pre-proxy {
filename = "/etc/raddb/mods-config/attr_filter/pre-proxy"
key = "%{Realm}"
relaxed = no
}
# Loading module "attr_filter.access_reject" from file /etc/raddb/mods-enabled/attr_filter
attr_filter attr_filter.access_reject {
filename = "/etc/raddb/mods-config/attr_filter/access_reject"
key = "%{User-Name}"
relaxed = no
}
# Loading module "attr_filter.access_challenge" from file /etc/raddb/mods-enabled/attr_filter
attr_filter attr_filter.access_challenge {
filename = "/etc/raddb/mods-config/attr_filter/access_challenge"
key = "%{User-Name}"
relaxed = no
}
# Loading module "attr_filter.accounting_response" from file /etc/raddb/mods-enabled/attr_filter
attr_filter attr_filter.accounting_response {
filename = "/etc/raddb/mods-config/attr_filter/accounting_response"
key = "%{User-Name}"
relaxed = no
}
# Loaded module rlm_cache
# Loading module "cache_eap" from file /etc/raddb/mods-enabled/cache_eap
cache cache_eap {
driver = "rlm_cache_rbtree"
key = "%{%{control:State}:-%{%{reply:State}:-%{State}}}"
ttl = 15
max_entries = 0
epoch = 0
add_stats = no
}
# Loaded module rlm_chap
# Loading module "chap" from file /etc/raddb/mods-enabled/chap
# Loaded module rlm_date
# Loading module "date" from file /etc/raddb/mods-enabled/date
date {
format = "%b %e %Y %H:%M:%S %Z"
utc = no
}
# Loading module "wispr2date" from file /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 /etc/raddb/mods-enabled/detail
detail {
filename = "/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
escape_filenames = no
log_packet_header = no
}
# Loading module "auth_log" from file /etc/raddb/mods-enabled/detail.log
detail auth_log {
filename = "/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
escape_filenames = no
log_packet_header = no
}
# Loading module "reply_log" from file /etc/raddb/mods-enabled/detail.log
detail reply_log {
filename = "/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/reply-detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
escape_filenames = no
log_packet_header = no
}
# Loading module "pre_proxy_log" from file /etc/raddb/mods-enabled/detail.log
detail pre_proxy_log {
filename = "/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/pre-proxy-detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
escape_filenames = no
log_packet_header = no
}
# Loading module "post_proxy_log" from file /etc/raddb/mods-enabled/detail.log
detail post_proxy_log {
filename = "/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/post-proxy-detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
escape_filenames = no
log_packet_header = no
}
# Loaded module rlm_digest
# Loading module "digest" from file /etc/raddb/mods-enabled/digest
# Loaded module rlm_dynamic_clients
# Loading module "dynamic_clients" from file /etc/raddb/mods-enabled/dynamic_clients
# Loaded module rlm_eap
# Loading module "eap" from file /etc/raddb/mods-enabled/eap
eap {
default_eap_type = "md5"
timer_expire = 60
ignore_unknown_eap_types = no
cisco_accounting_username_bug = no
max_sessions = 16384
}
# Loaded module rlm_exec
# Loading module "echo" from file /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 /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 /etc/raddb/mods-enabled/expiration
# Loaded module rlm_expr
# Loading module "expr" from file /etc/raddb/mods-enabled/expr
expr {
safe_characters = "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /äéöüàâæçèéêëîïôœùûüaÿÄÉÖÜßÀÂÆÇÈÉÊËÎÏÔŒÙÛÜŸ"
}
# Loaded module rlm_files
# Loading module "files" from file /etc/raddb/mods-enabled/files
files {
filename = "/etc/raddb/mods-config/files/authorize"
acctusersfile = "/etc/raddb/mods-config/files/accounting"
preproxy_usersfile = "/etc/raddb/mods-config/files/pre-proxy"
}
# Loaded module rlm_linelog
# Loading module "linelog" from file /etc/raddb/mods-enabled/linelog
linelog {
filename = "/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 /etc/raddb/mods-enabled/linelog
linelog log_accounting {
filename = "/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 /etc/raddb/mods-enabled/logintime
logintime {
minimum_timeout = 60
}
# Loaded module rlm_mschap
# Loading module "mschap" from file /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 /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 /etc/raddb/mods-enabled/pap
pap {
normalise = yes
}
# Loaded module rlm_passwd
# Loading module "etc_passwd" from file /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 /etc/raddb/mods-enabled/preprocess
preprocess {
huntgroups = "/etc/raddb/mods-config/preprocess/huntgroups"
hints = "/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 /etc/raddb/mods-enabled/radutmp
radutmp {
filename = "/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 /etc/raddb/mods-enabled/realm
realm IPASS {
format = "prefix"
delimiter = "/"
ignore_default = no
ignore_null = no
}
# Loading module "suffix" from file /etc/raddb/mods-enabled/realm
realm suffix {
format = "suffix"
delimiter = "@"
ignore_default = no
ignore_null = no
}
# Loading module "bangpath" from file /etc/raddb/mods-enabled/realm
realm bangpath {
format = "prefix"
delimiter = "!"
ignore_default = no
ignore_null = no
}
# Loading module "realmpercent" from file /etc/raddb/mods-enabled/realm
realm realmpercent {
format = "suffix"
delimiter = "%"
ignore_default = no
ignore_null = no
}
# Loading module "ntdomain" from file /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 /etc/raddb/mods-enabled/replicate
# Loaded module rlm_soh
# Loading module "soh" from file /etc/raddb/mods-enabled/soh
soh {
dhcp = yes
}
# Loading module "sradutmp" from file /etc/raddb/mods-enabled/sradutmp
radutmp sradutmp {
filename = "/var/log/radius/sradutmp"
username = "%{User-Name}"
case_sensitive = yes
check_with_nas = yes
permissions = 420
caller_id = no
}
# Loaded module rlm_unix
# Loading module "unix" from file /etc/raddb/mods-enabled/unix
unix {
radwtmp = "/var/log/radius/radwtmp"
}
Creating attribute Unix-Group
# Loaded module rlm_unpack
# Loading module "unpack" from file /etc/raddb/mods-enabled/unpack
# Loaded module rlm_utf8
# Loading module "utf8" from file /etc/raddb/mods-enabled/utf8
instantiate {
}
# Instantiating module "reject" from file /etc/raddb/mods-enabled/always
# Instantiating module "fail" from file /etc/raddb/mods-enabled/always
# Instantiating module "ok" from file /etc/raddb/mods-enabled/always
# Instantiating module "handled" from file /etc/raddb/mods-enabled/always
# Instantiating module "invalid" from file /etc/raddb/mods-enabled/always
# Instantiating module "userlock" from file /etc/raddb/mods-enabled/always
# Instantiating module "notfound" from file /etc/raddb/mods-enabled/always
# Instantiating module "noop" from file /etc/raddb/mods-enabled/always
# Instantiating module "updated" from file /etc/raddb/mods-enabled/always
# Instantiating module "attr_filter.post-proxy" from file /etc/raddb/mods-enabled/attr_filter
reading pairlist file /etc/raddb/mods-config/attr_filter/post-proxy
# Instantiating module "attr_filter.pre-proxy" from file /etc/raddb/mods-enabled/attr_filter
reading pairlist file /etc/raddb/mods-config/attr_filter/pre-proxy
# Instantiating module "attr_filter.access_reject" from file /etc/raddb/mods-enabled/attr_filter
reading pairlist file /etc/raddb/mods-config/attr_filter/access_reject
# Instantiating module "attr_filter.access_challenge" from file /etc/raddb/mods-enabled/attr_filter
reading pairlist file /etc/raddb/mods-config/attr_filter/access_challenge
# Instantiating module "attr_filter.accounting_response" from file /etc/raddb/mods-enabled/attr_filter
reading pairlist file /etc/raddb/mods-config/attr_filter/accounting_response
# Instantiating module "cache_eap" from file /etc/raddb/mods-enabled/cache_eap
rlm_cache (cache_eap): Driver rlm_cache_rbtree (module rlm_cache_rbtree) loaded and linked
# Instantiating module "detail" from file /etc/raddb/mods-enabled/detail
# Instantiating module "auth_log" from file /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 /etc/raddb/mods-enabled/detail.log
# Instantiating module "pre_proxy_log" from file /etc/raddb/mods-enabled/detail.log
# Instantiating module "post_proxy_log" from file /etc/raddb/mods-enabled/detail.log
# Instantiating module "eap" from file /etc/raddb/mods-enabled/eap
# Linked to sub-module rlm_eap_md5
# Linked to sub-module rlm_eap_leap
# Linked to sub-module rlm_eap_gtc
gtc {
challenge = "Password: "
auth_type = "PAP"
}
# Linked to sub-module rlm_eap_tls
tls {
tls = "tls-common"
}
tls-config tls-common {
verify_depth = 0
ca_path = "/etc/raddb/certs"
pem_file_type = yes
private_key_file = "/etc/raddb/certs/server.key"
certificate_file = "/etc/raddb/certs/server.pem"
ca_file = "/etc/raddb/certs/ca.pem"
private_key_password = <<< secret >>>
dh_file = "/etc/raddb/certs/dh"
fragment_size = 1024
include_length = yes
auto_chain = yes
check_crl = no
check_all_crl = no
cipher_list = "DEFAULT"
cipher_server_preference = no
ecdh_curve = "prime256v1"
tls_max_version = "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 = yes
proxy_tunneled_request_as_eap = yes
virtual_server = "inner-tunnel"
soh = no
require_client_cert = no
}
tls: Using cached TLS configuration from previous invocation
# Linked to sub-module rlm_eap_mschapv2
mschapv2 {
with_ntdomain_hack = no
send_error = no
}
# Instantiating module "expiration" from file /etc/raddb/mods-enabled/expiration
# Instantiating module "files" from file /etc/raddb/mods-enabled/files
reading pairlist file /etc/raddb/mods-config/files/authorize
reading pairlist file /etc/raddb/mods-config/files/accounting
reading pairlist file /etc/raddb/mods-config/files/pre-proxy
# Instantiating module "linelog" from file /etc/raddb/mods-enabled/linelog
# Instantiating module "log_accounting" from file /etc/raddb/mods-enabled/linelog
# Instantiating module "logintime" from file /etc/raddb/mods-enabled/logintime
# Instantiating module "mschap" from file /etc/raddb/mods-enabled/mschap
rlm_mschap (mschap): using internal authentication
# Instantiating module "pap" from file /etc/raddb/mods-enabled/pap
# Instantiating module "etc_passwd" from file /etc/raddb/mods-enabled/passwd
rlm_passwd: nfields: 3 keyfield 0(User-Name) listable: no
# Instantiating module "preprocess" from file /etc/raddb/mods-enabled/preprocess
reading pairlist file /etc/raddb/mods-config/preprocess/huntgroups
reading pairlist file /etc/raddb/mods-config/preprocess/hints
# Instantiating module "IPASS" from file /etc/raddb/mods-enabled/realm
# Instantiating module "suffix" from file /etc/raddb/mods-enabled/realm
# Instantiating module "bangpath" from file /etc/raddb/mods-enabled/realm
# Instantiating module "realmpercent" from file /etc/raddb/mods-enabled/realm
# Instantiating module "ntdomain" from file /etc/raddb/mods-enabled/realm
} # modules
radiusd: #### Loading Virtual Servers ####
server { # from file /etc/raddb/radiusd.conf
} # server
server default { # from file /etc/raddb/sites-enabled/default
# Loading authenticate {...}
# Loading authorize {...}
Ignoring "sql" (see raddb/mods-available/README.rst)
Ignoring "ldap" (see raddb/mods-available/README.rst)
# Loading preacct {...}
# Loading accounting {...}
# Loading post-proxy {...}
# Loading post-auth {...}
} # server default
server inner-tunnel { # from file /etc/raddb/sites-enabled/inner-tunnel
# Loading authenticate {...}
# Loading authorize {...}
# Loading session {...}
# Loading post-proxy {...}
# Loading post-auth {...}
# Skipping contents of 'if' as it is always 'false' -- /etc/raddb/sites-enabled/inner-tunnel:336
} # server inner-tunnel
radiusd: #### Opening IP addresses and Ports ####
listen {
type = "auth"
ipaddr = *
port = 0
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
listen {
type = "acct"
ipaddr = *
port = 0
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
listen {
type = "auth"
ipv6addr = ::
port = 0
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
listen {
type = "acct"
ipv6addr = ::
port = 0
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
listen {
type = "auth"
ipaddr = 127.0.0.1
port = 18120
}
Listening on auth address * port 1812 bound to server default
Listening on acct address * port 1813 bound to server default
Listening on auth address :: port 1812 bound to server default
Listening on acct address :: port 1813 bound to server default
Listening on auth address 127.0.0.1 port 18120 bound to server inner-tunnel
Listening on proxy address * port 7024
Listening on proxy address :: port 15596
Ready to process requests
(0) Received Access-Request Id 162 from 172.16.63.11:59852 to 172.16.63.9:1812 length 170
(0) Service-Type = Framed-User
(0) NAS-Port-Id = "cap02_2"
(0) NAS-Port-Type = Wireless-802.11
(0) User-Name = "F8:1E:DF:E8:F6:A5"
(0) User-Password = "F8:1E:DF:E8:F6:A5"
(0) Acct-Session-Id = "8240030b"
(0) Calling-Station-Id = "F8-1E-DF-E8-F6-A5"
(0) Called-Station-Id = "C4-AD-34-F5-4D-1E"
(0) NAS-Identifier = "cap01.wlan.chaos1.de"
(0) NAS-IP-Address = 172.16.63.11
(0) # Executing section authorize from file /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 !~ /(a)(.+)\.(.+)$/)) {
(0) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) -> FALSE
(0) if (&User-Name =~ /\.$/) {
(0) if (&User-Name =~ /\.$/) -> FALSE
(0) if (&User-Name =~ /(a)\./) {
(0) if (&User-Name =~ /(a)\./) -> 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 = "F8:1E:DF:E8:F6:A5", looking up realm NULL
(0) suffix: No such realm "NULL"
(0) [suffix] = noop
(0) eap: No EAP-Message, not doing EAP
(0) [eap] = noop
(0) files: users: Matched entry DEFAULT at line 101
(0) [files] = ok
(0) [expiration] = noop
(0) [logintime] = noop
(0) pap: WARNING: Auth-Type already set. Not setting to PAP
(0) [pap] = noop
(0) } # authorize = ok
(0) Found Auth-Type = Accept
(0) Auth-Type = Accept, accepting the user
(0) # Executing section post-auth from file /etc/raddb/sites-enabled/default
(0) post-auth {
(0) if (session-state:User-Name && reply:User-Name && request:User-Name && (reply:User-Name == request:User-Name)) {
(0) if (session-state:User-Name && reply:User-Name && request:User-Name && (reply:User-Name == request:User-Name)) -> FALSE
(0) update {
(0) No attributes updated for RHS &session-state:
(0) } # update = noop
(0) [exec] = noop
(0) policy remove_reply_message_if_eap {
(0) if (&reply:EAP-Message && &reply:Reply-Message) {
(0) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE
(0) else {
(0) [noop] = noop
(0) } # else = noop
(0) } # policy remove_reply_message_if_eap = noop
(0) } # post-auth = noop
(0) Sent Access-Accept Id 162 from 172.16.63.9:1812 to 172.16.63.11:59852 length 0
(0) Finished request
Waking up in 4.9 seconds.
(1) Received Access-Request Id 163 from 172.16.63.11:50616 to 172.16.63.9:1812 length 178
(1) Service-Type = Framed-User
(1) Framed-MTU = 1400
(1) User-Name = "ajr_at_macbook"
(1) NAS-Port-Id = "cap02_2"
(1) NAS-Port-Type = Wireless-802.11
(1) Acct-Session-Id = "8240030c"
(1) Calling-Station-Id = "F8-1E-DF-E8-F6-A5"
(1) Called-Station-Id = "C4-AD-34-F5-4D-1E"
(1) EAP-Message = 0x0200001301616a725f61745f6d6163626f6f6b
(1) Message-Authenticator = 0xed75742633a9ad4e33517281b61ea04a
(1) NAS-Identifier = "cap01.wlan.chaos1.de"
(1) NAS-IP-Address = 172.16.63.11
(1) # Executing section authorize from file /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 !~ /(a)(.+)\.(.+)$/)) {
(1) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) -> FALSE
(1) if (&User-Name =~ /\.$/) {
(1) if (&User-Name =~ /\.$/) -> FALSE
(1) if (&User-Name =~ /(a)\./) {
(1) if (&User-Name =~ /(a)\./) -> 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 = "ajr_at_macbook", looking up realm NULL
(1) suffix: No such realm "NULL"
(1) [suffix] = noop
(1) eap: Peer sent EAP Response (code 2) ID 0 length 19
(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/raddb/sites-enabled/default
(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 = 0x5ccd2a915ccc2e5e
(1) [eap] = handled
(1) } # authenticate = handled
(1) Using Post-Auth-Type Challenge
(1) # Executing group from file /etc/raddb/sites-enabled/default
(1) Challenge { ... } # empty sub-section is ignored
(1) Sent Access-Challenge Id 163 from 172.16.63.9:1812 to 172.16.63.11:50616 length 0
(1) EAP-Message = 0x0101001604109b5a60831a39204ae1b6665c05386350
(1) Message-Authenticator = 0x00000000000000000000000000000000
(1) State = 0x5ccd2a915ccc2e5e8c2e845aad07e421
(1) Finished request
Waking up in 4.9 seconds.
(2) Received Access-Request Id 164 from 172.16.63.11:36308 to 172.16.63.9:1812 length 185
(2) Service-Type = Framed-User
(2) Framed-MTU = 1400
(2) User-Name = "ajr_at_macbook"
(2) State = 0x5ccd2a915ccc2e5e8c2e845aad07e421
(2) NAS-Port-Id = "cap02_2"
(2) NAS-Port-Type = Wireless-802.11
(2) Acct-Session-Id = "8240030c"
(2) Calling-Station-Id = "F8-1E-DF-E8-F6-A5"
(2) Called-Station-Id = "C4-AD-34-F5-4D-1E"
(2) EAP-Message = 0x020100080319152b
(2) Message-Authenticator = 0xeb0369e55b64ffb2773ebae477160aa8
(2) NAS-Identifier = "cap01.wlan.chaos1.de"
(2) NAS-IP-Address = 172.16.63.11
(2) session-state: No cached attributes
(2) # Executing section authorize from file /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 !~ /(a)(.+)\.(.+)$/)) {
(2) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) -> FALSE
(2) if (&User-Name =~ /\.$/) {
(2) if (&User-Name =~ /\.$/) -> FALSE
(2) if (&User-Name =~ /(a)\./) {
(2) if (&User-Name =~ /(a)\./) -> 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 = "ajr_at_macbook", looking up realm NULL
(2) suffix: No such realm "NULL"
(2) [suffix] = noop
(2) eap: Peer sent EAP Response (code 2) ID 1 length 8
(2) eap: No EAP Start, assuming it's an on-going EAP conversation
(2) [eap] = updated
(2) files: users: Matched entry ajr_at_macbook at line 30
(2) [files] = ok
(2) [expiration] = noop
(2) [logintime] = noop
(2) pap: WARNING: Auth-Type already set. Not setting to PAP
(2) [pap] = noop
(2) } # authorize = updated
(2) Found Auth-Type = eap
(2) # Executing group from file /etc/raddb/sites-enabled/default
(2) authenticate {
(2) eap: Expiring EAP session with state 0x5ccd2a915ccc2e5e
(2) eap: Finished EAP session with state 0x5ccd2a915ccc2e5e
(2) eap: Previous EAP request found for state 0x5ccd2a915ccc2e5e, 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 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 = 0x5ccd2a915dcf335e
(2) [eap] = handled
(2) } # authenticate = handled
(2) Using Post-Auth-Type Challenge
(2) # Executing group from file /etc/raddb/sites-enabled/default
(2) Challenge { ... } # empty sub-section is ignored
(2) Sent Access-Challenge Id 164 from 172.16.63.9:1812 to 172.16.63.11:36308 length 0
(2) Tunnel-Type = VLAN
(2) Tunnel-Medium-Type = IEEE-802
(2) Mikrotik-Wireless-VLANID = 13
(2) Mikrotik-Wireless-VLANID-Type = 0
(2) Mikrotik-Wireless-Comment = "Axel Rau @ MacBook"
(2) EAP-Message = 0x010200061920
(2) Message-Authenticator = 0x00000000000000000000000000000000
(2) State = 0x5ccd2a915dcf335e8c2e845aad07e421
(2) Finished request
Waking up in 4.8 seconds.
(3) Received Access-Request Id 165 from 172.16.63.11:56987 to 172.16.63.9:1812 length 338
(3) Service-Type = Framed-User
(3) Framed-MTU = 1400
(3) User-Name = "ajr_at_macbook"
(3) State = 0x5ccd2a915dcf335e8c2e845aad07e421
(3) NAS-Port-Id = "cap02_2"
(3) NAS-Port-Type = Wireless-802.11
(3) Acct-Session-Id = "8240030c"
(3) Calling-Station-Id = "F8-1E-DF-E8-F6-A5"
(3) Called-Station-Id = "C4-AD-34-F5-4D-1E"
(3) EAP-Message = 0x020200a119800000009716030100920100008e03035fc3ecb70b98ace80fd25b9733d4d44c45167b8638bdf4e4b67b5f721a899abe00002c00ffc02cc02bc024c023c00ac009c008c030c02fc028c027c014c013c012009d009c003d003c0035002f000a01000039000a00080006001700180019000b00020100000d00120010040102010501060104030203050306030005000501000000000012000000170000
(3) Message-Authenticator = 0x030b890dacbe370cef8d1516e2648805
(3) NAS-Identifier = "cap01.wlan.chaos1.de"
(3) NAS-IP-Address = 172.16.63.11
(3) session-state: No cached attributes
(3) # Executing section authorize from file /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 !~ /(a)(.+)\.(.+)$/)) {
(3) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) -> FALSE
(3) if (&User-Name =~ /\.$/) {
(3) if (&User-Name =~ /\.$/) -> FALSE
(3) if (&User-Name =~ /(a)\./) {
(3) if (&User-Name =~ /(a)\./) -> 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 = "ajr_at_macbook", looking up realm NULL
(3) suffix: No such realm "NULL"
(3) [suffix] = noop
(3) eap: Peer sent EAP Response (code 2) ID 2 length 161
(3) eap: Continuing tunnel setup
(3) [eap] = ok
(3) } # authorize = ok
(3) Found Auth-Type = eap
(3) # Executing group from file /etc/raddb/sites-enabled/default
(3) authenticate {
(3) eap: Expiring EAP session with state 0x5ccd2a915dcf335e
(3) eap: Finished EAP session with state 0x5ccd2a915dcf335e
(3) eap: Previous EAP request found for state 0x5ccd2a915dcf335e, 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 151 bytes
(3) eap_peap: Got complete TLS record (151 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.2 [length 0092]
(3) eap_peap: TLS_accept: SSLv3 read client hello A
(3) eap_peap: >>> send TLS 1.2 [length 0037]
(3) eap_peap: TLS_accept: SSLv3 write server hello A
(3) eap_peap: >>> send TLS 1.2 [length 0c2d]
(3) eap_peap: TLS_accept: SSLv3 write certificate A
(3) eap_peap: >>> send TLS 1.2 [length 014d]
(3) eap_peap: TLS_accept: SSLv3 write key exchange A
(3) eap_peap: >>> send TLS 1.2 [length 0004]
(3) eap_peap: TLS_accept: SSLv3 write server done A
(3) eap_peap: TLS_accept: SSLv3 flush data
(3) eap_peap: TLS_accept: SSLv3 read client certificate A
(3) eap_peap: TLS_accept: Need to read more data: SSLv3 read client key exchange A
(3) eap_peap: TLS - In Handshake Phase
(3) eap_peap: TLS - got 3529 bytes of data
(3) eap_peap: [eaptls process] = handled
(3) eap: Sending EAP Request (code 1) ID 3 length 1004
(3) eap: EAP session adding &reply:State = 0x5ccd2a915ece335e
(3) [eap] = handled
(3) } # authenticate = handled
(3) Using Post-Auth-Type Challenge
(3) # Executing group from file /etc/raddb/sites-enabled/default
(3) Challenge { ... } # empty sub-section is ignored
(3) Sent Access-Challenge Id 165 from 172.16.63.9:1812 to 172.16.63.11:56987 length 0
(3) EAP-Message = 0x010303ec19c000000dc91603030037020000330303c60a90a11f21e7b21b3f362afeebedafc6f3046ff6a6f7c317c9c427e2b88d1700c03000000bff01000100000b000201001603030c2d0b000c29000c260005103082050c308202f4a003020102020101300d06092a864886f70d01010b050030819f310b3009060355040613024445310f300d06035504080c0648657373656e311a301806035504070c114672616e6b6675727420616d204d61696e31143012060355040a0c0b4c4543484e45522d5241553128302606092a864886f70d010901161973656375726974792d6d616e61676572406c7261752e6e65743123302106035504030c1a4c4543484e45522d52415520776c616e20726164697573204341301e170d3230303932373134353833335a170d3330303932353134353833335a308187310b3009060355040613024445310f300d06035504080c0648657373656e31143012060355040a0c0b4c4543484e45522d5241553127302506035504030c
(3) Message-Authenticator = 0x00000000000000000000000000000000
(3) State = 0x5ccd2a915ece335e8c2e845aad07e421
(3) Finished request
Waking up in 4.8 seconds.
(4) Received Access-Request Id 166 from 172.16.63.11:48403 to 172.16.63.9:1812 length 183
(4) Service-Type = Framed-User
(4) Framed-MTU = 1400
(4) User-Name = "ajr_at_macbook"
(4) State = 0x5ccd2a915ece335e8c2e845aad07e421
(4) NAS-Port-Id = "cap02_2"
(4) NAS-Port-Type = Wireless-802.11
(4) Acct-Session-Id = "8240030c"
(4) Calling-Station-Id = "F8-1E-DF-E8-F6-A5"
(4) Called-Station-Id = "C4-AD-34-F5-4D-1E"
(4) EAP-Message = 0x020300061900
(4) Message-Authenticator = 0x20d68b7ad116e5f01c7b7861b323f3e0
(4) NAS-Identifier = "cap01.wlan.chaos1.de"
(4) NAS-IP-Address = 172.16.63.11
(4) session-state: No cached attributes
(4) # Executing section authorize from file /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 !~ /(a)(.+)\.(.+)$/)) {
(4) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) -> FALSE
(4) if (&User-Name =~ /\.$/) {
(4) if (&User-Name =~ /\.$/) -> FALSE
(4) if (&User-Name =~ /(a)\./) {
(4) if (&User-Name =~ /(a)\./) -> 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 = "ajr_at_macbook", looking up realm NULL
(4) suffix: No such realm "NULL"
(4) [suffix] = noop
(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/raddb/sites-enabled/default
(4) authenticate {
(4) eap: Expiring EAP session with state 0x5ccd2a915ece335e
(4) eap: Finished EAP session with state 0x5ccd2a915ece335e
(4) eap: Previous EAP request found for state 0x5ccd2a915ece335e, 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 = 0x5ccd2a915fc9335e
(4) [eap] = handled
(4) } # authenticate = handled
(4) Using Post-Auth-Type Challenge
(4) # Executing group from file /etc/raddb/sites-enabled/default
(4) Challenge { ... } # empty sub-section is ignored
(4) Sent Access-Challenge Id 166 from 172.16.63.9:1812 to 172.16.63.11:48403 length 0
(4) EAP-Message = 0x010403e819406d530cb2c3200bbfcefccda7797a74f379e4a350d8def4af86964e89b956306cbbeee5dff78207b4650e7a957bcf643d7e5a3e9979f319cfc974a9ffe4e0db4cdaa61263c6111aa570317492c13ade3b1db3c3d6155e2a5ea8ab643655f63f8db57ae3cfd1a446241323bbb74a07192e95ddd1a6d38fb37a3102e69fabe19c677183729fb4caba84a7454d2e1d55f61b4620d80a17d599a227f7204fa9c613e062dd5a8c9d7f4e6359142cd74b750bdf073ff10e5714e6afc6ffff26e81699a1085bd00484d69116f24794a63216654b63a2a7cabe1112e55803b7a876b96920b50c0ddc34c388e9654cba7df0c18b072dc33e0bd049a8e4722522e7d8abd0a9cb6d26f141fdc9b3ace794473a2d7901244bd8ca9c99ce0a6bfededf0bcca7c77dac4ba162995ca384444627677b635042a8e20494db22dadfc057281a78cef14b7c961cf5065e135434879bc299a70a49d8f5dd8ff6ae56aeb0ec158c0f4c668c589822ddd804ebbb0ca5aa2097ce8047
(4) Message-Authenticator = 0x00000000000000000000000000000000
(4) State = 0x5ccd2a915fc9335e8c2e845aad07e421
(4) Finished request
Waking up in 4.8 seconds.
(5) Received Access-Request Id 167 from 172.16.63.11:43018 to 172.16.63.9:1812 length 183
(5) Service-Type = Framed-User
(5) Framed-MTU = 1400
(5) User-Name = "ajr_at_macbook"
(5) State = 0x5ccd2a915fc9335e8c2e845aad07e421
(5) NAS-Port-Id = "cap02_2"
(5) NAS-Port-Type = Wireless-802.11
(5) Acct-Session-Id = "8240030c"
(5) Calling-Station-Id = "F8-1E-DF-E8-F6-A5"
(5) Called-Station-Id = "C4-AD-34-F5-4D-1E"
(5) EAP-Message = 0x020400061900
(5) Message-Authenticator = 0xa670404d1c9dea94c4621380d1e0629d
(5) NAS-Identifier = "cap01.wlan.chaos1.de"
(5) NAS-IP-Address = 172.16.63.11
(5) session-state: No cached attributes
(5) # Executing section authorize from file /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 !~ /(a)(.+)\.(.+)$/)) {
(5) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) -> FALSE
(5) if (&User-Name =~ /\.$/) {
(5) if (&User-Name =~ /\.$/) -> FALSE
(5) if (&User-Name =~ /(a)\./) {
(5) if (&User-Name =~ /(a)\./) -> 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 = "ajr_at_macbook", looking up realm NULL
(5) suffix: No such realm "NULL"
(5) [suffix] = noop
(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/raddb/sites-enabled/default
(5) authenticate {
(5) eap: Expiring EAP session with state 0x5ccd2a915fc9335e
(5) eap: Finished EAP session with state 0x5ccd2a915fc9335e
(5) eap: Previous EAP request found for state 0x5ccd2a915fc9335e, 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 1000
(5) eap: EAP session adding &reply:State = 0x5ccd2a9158c8335e
(5) [eap] = handled
(5) } # authenticate = handled
(5) Using Post-Auth-Type Challenge
(5) # Executing group from file /etc/raddb/sites-enabled/default
(5) Challenge { ... } # empty sub-section is ignored
(5) Sent Access-Challenge Id 167 from 172.16.63.9:1812 to 172.16.63.11:43018 length 0
(5) EAP-Message = 0x010503e819406ccf772992770116a95adb0cf425a75200cf50a0b07f265c48d949df534820e057c1389129a65fda01e75fc9222d94a0d007af36a2baa9644b66adc80dee32a62bb9eaf9097281e828a5954c8b82e667db5df9e2ebac2e600e35b6edce13a505ab1fc2cdeb465795b59a0ce384ee72afd84f0bb1164dd776ea285aa6059c3c1ae8bc22bcd1a062ae3a77858685194fdec1f2a0c8cf6cdd98fe1b8687029eac5e95e1eb8a35eedf25bb889a8145ae8dbc2c0b67908b5833c25b0293a97a12fbb47c775e670da7e45f1fa506dd44f2748929fa560137d28c458f0bbd5cb618d554023c3289173047941eea82a3f02ab5a781258682f07134d4ad943306187d5dce7723cfaf06895dc8f163b4f5a50217eed82bd9370bbb774ce0d58e7047a1f6dfa4ee1d0773718c9e41ee252393cecc8c7cdb880bbf5a46e573221e7871e21d7f26fc00c96d150203010001a382014730820143301d0603551d0e0416041451d5ce7b81ff7c173da22a06e7019ecf1581af
(5) Message-Authenticator = 0x00000000000000000000000000000000
(5) State = 0x5ccd2a9158c8335e8c2e845aad07e421
(5) Finished request
Waking up in 4.7 seconds.
(6) Received Access-Request Id 168 from 172.16.63.11:54129 to 172.16.63.9:1812 length 183
(6) Service-Type = Framed-User
(6) Framed-MTU = 1400
(6) User-Name = "ajr_at_macbook"
(6) State = 0x5ccd2a9158c8335e8c2e845aad07e421
(6) NAS-Port-Id = "cap02_2"
(6) NAS-Port-Type = Wireless-802.11
(6) Acct-Session-Id = "8240030c"
(6) Calling-Station-Id = "F8-1E-DF-E8-F6-A5"
(6) Called-Station-Id = "C4-AD-34-F5-4D-1E"
(6) EAP-Message = 0x020500061900
(6) Message-Authenticator = 0xe8d5d68f356567e50a524ca086ad69e8
(6) NAS-Identifier = "cap01.wlan.chaos1.de"
(6) NAS-IP-Address = 172.16.63.11
(6) session-state: No cached attributes
(6) # Executing section authorize from file /etc/raddb/sites-enabled/default
(6) authorize {
(6) policy filter_username {
(6) if (&User-Name) {
(6) if (&User-Name) -> TRUE
(6) if (&User-Name) {
(6) if (&User-Name =~ / /) {
(6) if (&User-Name =~ / /) -> FALSE
(6) if (&User-Name =~ /@[^@]*@/ ) {
(6) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(6) if (&User-Name =~ /\.\./ ) {
(6) if (&User-Name =~ /\.\./ ) -> FALSE
(6) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(6) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) -> FALSE
(6) if (&User-Name =~ /\.$/) {
(6) if (&User-Name =~ /\.$/) -> FALSE
(6) if (&User-Name =~ /(a)\./) {
(6) if (&User-Name =~ /(a)\./) -> FALSE
(6) } # if (&User-Name) = notfound
(6) } # policy filter_username = notfound
(6) [preprocess] = ok
(6) [chap] = noop
(6) [mschap] = noop
(6) [digest] = noop
(6) suffix: Checking for suffix after "@"
(6) suffix: No '@' in User-Name = "ajr_at_macbook", looking up realm NULL
(6) suffix: No such realm "NULL"
(6) [suffix] = noop
(6) eap: Peer sent EAP Response (code 2) ID 5 length 6
(6) eap: Continuing tunnel setup
(6) [eap] = ok
(6) } # authorize = ok
(6) Found Auth-Type = eap
(6) # Executing group from file /etc/raddb/sites-enabled/default
(6) authenticate {
(6) eap: Expiring EAP session with state 0x5ccd2a9158c8335e
(6) eap: Finished EAP session with state 0x5ccd2a9158c8335e
(6) eap: Previous EAP request found for state 0x5ccd2a9158c8335e, 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 ACKed our handshake fragment
(6) eap_peap: [eaptls verify] = request
(6) eap_peap: [eaptls process] = handled
(6) eap: Sending EAP Request (code 1) ID 6 length 553
(6) eap: EAP session adding &reply:State = 0x5ccd2a9159cb335e
(6) [eap] = handled
(6) } # authenticate = handled
(6) Using Post-Auth-Type Challenge
(6) # Executing group from file /etc/raddb/sites-enabled/default
(6) Challenge { ... } # empty sub-section is ignored
(6) Sent Access-Challenge Id 168 from 172.16.63.9:1812 to 172.16.63.11:54129 length 0
(6) EAP-Message = 0x0106022919002e04d51f9f8820e15cc76d2cf077e7272790f0e705bd98bb7e24965a916d1df2520658e985708346631c7a22db43efed1219d4234d8b2ac7df50cace9904e61b33180a436833391eda8b1b49f2337cb96af530f984d7293003e6e7a48167b9e04b887bdc7911611bfd1fb3b14368b881e3bd0c4dd05452a0a0d9235026c1e5bfcfb4d588b4eebc94d81ee03b7c10e1d9c28a27bfa2574e30ab5e0136c43e4ed4ae21b91357879cf80f00e6d8cc3d0dc81e97cb1eebd5c0e867a16a342235a793195b09499544e545160303014d0c0001490300174104ee4e3fc02fd8a815b0eed005feb27f3723019400cfc0013f6f4853d4e8815a42f5edc324c04ce2da1c7193b2e0f810cf7168cf8165823aace2441a7270de03970401010050604e61fb66f662b5d554841f253d9a836bc6d6727d4b61e2203104769f27bf1bb73f97a933e7622edeb76a9f8b66a24a4da88fefe590b05f2e9b5ee82940dcf00bba69a4f5c3e8e10a18661f28d7e614c58f542c92fb
(6) Message-Authenticator = 0x00000000000000000000000000000000
(6) State = 0x5ccd2a9159cb335e8c2e845aad07e421
(6) Finished request
Waking up in 4.7 seconds.
(7) Received Access-Request Id 169 from 172.16.63.11:36770 to 172.16.63.9:1812 length 313
(7) Service-Type = Framed-User
(7) Framed-MTU = 1400
(7) User-Name = "ajr_at_macbook"
(7) State = 0x5ccd2a9159cb335e8c2e845aad07e421
(7) NAS-Port-Id = "cap02_2"
(7) NAS-Port-Type = Wireless-802.11
(7) Acct-Session-Id = "8240030c"
(7) Calling-Station-Id = "F8-1E-DF-E8-F6-A5"
(7) Called-Station-Id = "C4-AD-34-F5-4D-1E"
(7) EAP-Message = 0x0206008819800000007e1603030046100000424104464cde0f6e8d923b7fd33de5af04291dce99283951644f277a9b5896ff89746f839388f580c4fa81c3519a72441b09787db73001ed17d42fe011bd887e12b6f31403030001011603030028ebaeed68d0719763393e9526f01d3aa2409a97526aa593376f9c4bbb20695f013a791614e52c426f
(7) Message-Authenticator = 0x057a686cdacb1db961483095bc7cd077
(7) NAS-Identifier = "cap01.wlan.chaos1.de"
(7) NAS-IP-Address = 172.16.63.11
(7) session-state: No cached attributes
(7) # Executing section authorize from file /etc/raddb/sites-enabled/default
(7) authorize {
(7) policy filter_username {
(7) if (&User-Name) {
(7) if (&User-Name) -> TRUE
(7) if (&User-Name) {
(7) if (&User-Name =~ / /) {
(7) if (&User-Name =~ / /) -> FALSE
(7) if (&User-Name =~ /@[^@]*@/ ) {
(7) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(7) if (&User-Name =~ /\.\./ ) {
(7) if (&User-Name =~ /\.\./ ) -> FALSE
(7) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(7) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) -> FALSE
(7) if (&User-Name =~ /\.$/) {
(7) if (&User-Name =~ /\.$/) -> FALSE
(7) if (&User-Name =~ /(a)\./) {
(7) if (&User-Name =~ /(a)\./) -> FALSE
(7) } # if (&User-Name) = notfound
(7) } # policy filter_username = notfound
(7) [preprocess] = ok
(7) [chap] = noop
(7) [mschap] = noop
(7) [digest] = noop
(7) suffix: Checking for suffix after "@"
(7) suffix: No '@' in User-Name = "ajr_at_macbook", looking up realm NULL
(7) suffix: No such realm "NULL"
(7) [suffix] = noop
(7) eap: Peer sent EAP Response (code 2) ID 6 length 136
(7) eap: Continuing tunnel setup
(7) [eap] = ok
(7) } # authorize = ok
(7) Found Auth-Type = eap
(7) # Executing group from file /etc/raddb/sites-enabled/default
(7) authenticate {
(7) eap: Expiring EAP session with state 0x5ccd2a9159cb335e
(7) eap: Finished EAP session with state 0x5ccd2a9159cb335e
(7) eap: Previous EAP request found for state 0x5ccd2a9159cb335e, released from the list
(7) eap: Peer sent packet with method EAP PEAP (25)
(7) eap: Calling submodule eap_peap to process data
(7) eap_peap: Continuing EAP-TLS
(7) eap_peap: Peer indicated complete TLS record size will be 126 bytes
(7) eap_peap: Got complete TLS record (126 bytes)
(7) eap_peap: [eaptls verify] = length included
(7) eap_peap: <<< recv TLS 1.2 [length 0046]
(7) eap_peap: TLS_accept: SSLv3 read client key exchange A
(7) eap_peap: <<< recv TLS 1.2 [length 0001]
(7) eap_peap: <<< recv TLS 1.2 [length 0010]
(7) eap_peap: TLS_accept: SSLv3 read finished A
(7) eap_peap: >>> send TLS 1.2 [length 0001]
(7) eap_peap: TLS_accept: SSLv3 write change cipher spec A
(7) eap_peap: >>> send TLS 1.2 [length 0010]
(7) eap_peap: TLS_accept: SSLv3 write finished A
(7) eap_peap: TLS_accept: SSLv3 flush data
(7) eap_peap: (other): SSL negotiation finished successfully
(7) eap_peap: TLS - Connection Established
(7) eap_peap: TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(7) eap_peap: TLS-Session-Version = "TLS 1.2"
(7) eap_peap: TLS - got 51 bytes of data
(7) eap_peap: [eaptls process] = handled
(7) eap: Sending EAP Request (code 1) ID 7 length 57
(7) eap: EAP session adding &reply:State = 0x5ccd2a915aca335e
(7) [eap] = handled
(7) } # authenticate = handled
(7) Using Post-Auth-Type Challenge
(7) # Executing group from file /etc/raddb/sites-enabled/default
(7) Challenge { ... } # empty sub-section is ignored
(7) session-state: Saving cached attributes
(7) TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(7) TLS-Session-Version = "TLS 1.2"
(7) Sent Access-Challenge Id 169 from 172.16.63.9:1812 to 172.16.63.11:36770 length 0
(7) EAP-Message = 0x010700391900140303000101160303002800000000000000007f92a6ba369d6a0f6468886cded89ba3bc43763615f67ee2e0927b5a1ebd5156
(7) Message-Authenticator = 0x00000000000000000000000000000000
(7) State = 0x5ccd2a915aca335e8c2e845aad07e421
(7) Finished request
Waking up in 4.7 seconds.
(8) Received Access-Request Id 170 from 172.16.63.11:40417 to 172.16.63.9:1812 length 183
(8) Service-Type = Framed-User
(8) Framed-MTU = 1400
(8) User-Name = "ajr_at_macbook"
(8) State = 0x5ccd2a915aca335e8c2e845aad07e421
(8) NAS-Port-Id = "cap02_2"
(8) NAS-Port-Type = Wireless-802.11
(8) Acct-Session-Id = "8240030c"
(8) Calling-Station-Id = "F8-1E-DF-E8-F6-A5"
(8) Called-Station-Id = "C4-AD-34-F5-4D-1E"
(8) EAP-Message = 0x020700061900
(8) Message-Authenticator = 0x68de1012ff5a634cf1b8a626bc1855e9
(8) NAS-Identifier = "cap01.wlan.chaos1.de"
(8) NAS-IP-Address = 172.16.63.11
(8) Restoring &session-state
(8) &session-state:TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(8) &session-state:TLS-Session-Version = "TLS 1.2"
(8) # Executing section authorize from file /etc/raddb/sites-enabled/default
(8) authorize {
(8) policy filter_username {
(8) if (&User-Name) {
(8) if (&User-Name) -> TRUE
(8) if (&User-Name) {
(8) if (&User-Name =~ / /) {
(8) if (&User-Name =~ / /) -> FALSE
(8) if (&User-Name =~ /@[^@]*@/ ) {
(8) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(8) if (&User-Name =~ /\.\./ ) {
(8) if (&User-Name =~ /\.\./ ) -> FALSE
(8) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(8) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) -> FALSE
(8) if (&User-Name =~ /\.$/) {
(8) if (&User-Name =~ /\.$/) -> FALSE
(8) if (&User-Name =~ /(a)\./) {
(8) if (&User-Name =~ /(a)\./) -> FALSE
(8) } # if (&User-Name) = notfound
(8) } # policy filter_username = notfound
(8) [preprocess] = ok
(8) [chap] = noop
(8) [mschap] = noop
(8) [digest] = noop
(8) suffix: Checking for suffix after "@"
(8) suffix: No '@' in User-Name = "ajr_at_macbook", looking up realm NULL
(8) suffix: No such realm "NULL"
(8) [suffix] = noop
(8) eap: Peer sent EAP Response (code 2) ID 7 length 6
(8) eap: Continuing tunnel setup
(8) [eap] = ok
(8) } # authorize = ok
(8) Found Auth-Type = eap
(8) # Executing group from file /etc/raddb/sites-enabled/default
(8) authenticate {
(8) eap: Expiring EAP session with state 0x5ccd2a915aca335e
(8) eap: Finished EAP session with state 0x5ccd2a915aca335e
(8) eap: Previous EAP request found for state 0x5ccd2a915aca335e, released from the list
(8) eap: Peer sent packet with method EAP PEAP (25)
(8) eap: Calling submodule eap_peap to process data
(8) eap_peap: Continuing EAP-TLS
(8) eap_peap: Peer ACKed our handshake fragment. handshake is finished
(8) eap_peap: [eaptls verify] = success
(8) eap_peap: [eaptls process] = success
(8) eap_peap: Session established. Decoding tunneled attributes
(8) eap_peap: PEAP state TUNNEL ESTABLISHED
(8) eap: Sending EAP Request (code 1) ID 8 length 40
(8) eap: EAP session adding &reply:State = 0x5ccd2a915bc5335e
(8) [eap] = handled
(8) } # authenticate = handled
(8) Using Post-Auth-Type Challenge
(8) # Executing group from file /etc/raddb/sites-enabled/default
(8) Challenge { ... } # empty sub-section is ignored
(8) session-state: Saving cached attributes
(8) TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(8) TLS-Session-Version = "TLS 1.2"
(8) Sent Access-Challenge Id 170 from 172.16.63.9:1812 to 172.16.63.11:40417 length 0
(8) EAP-Message = 0x010800281900170303001d0000000000000001a9bd52657f27db99c12d7d708b814c50355ee3ff4f
(8) Message-Authenticator = 0x00000000000000000000000000000000
(8) State = 0x5ccd2a915bc5335e8c2e845aad07e421
(8) Finished request
Waking up in 4.7 seconds.
(9) Received Access-Request Id 171 from 172.16.63.11:54871 to 172.16.63.9:1812 length 227
(9) Service-Type = Framed-User
(9) Framed-MTU = 1400
(9) User-Name = "ajr_at_macbook"
(9) State = 0x5ccd2a915bc5335e8c2e845aad07e421
(9) NAS-Port-Id = "cap02_2"
(9) NAS-Port-Type = Wireless-802.11
(9) Acct-Session-Id = "8240030c"
(9) Calling-Station-Id = "F8-1E-DF-E8-F6-A5"
(9) Called-Station-Id = "C4-AD-34-F5-4D-1E"
(9) EAP-Message = 0x0208003219001703030027ebaeed68d0719764292c296493f59a4689254d0b59d4e9723993e03afcfd8350440f4d6ec5104c
(9) Message-Authenticator = 0x4d7ae6f016f661657fd6b19ec86e9c12
(9) NAS-Identifier = "cap01.wlan.chaos1.de"
(9) NAS-IP-Address = 172.16.63.11
(9) Restoring &session-state
(9) &session-state:TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(9) &session-state:TLS-Session-Version = "TLS 1.2"
(9) # Executing section authorize from file /etc/raddb/sites-enabled/default
(9) authorize {
(9) policy filter_username {
(9) if (&User-Name) {
(9) if (&User-Name) -> TRUE
(9) if (&User-Name) {
(9) if (&User-Name =~ / /) {
(9) if (&User-Name =~ / /) -> FALSE
(9) if (&User-Name =~ /@[^@]*@/ ) {
(9) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(9) if (&User-Name =~ /\.\./ ) {
(9) if (&User-Name =~ /\.\./ ) -> FALSE
(9) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(9) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) -> FALSE
(9) if (&User-Name =~ /\.$/) {
(9) if (&User-Name =~ /\.$/) -> FALSE
(9) if (&User-Name =~ /(a)\./) {
(9) if (&User-Name =~ /(a)\./) -> FALSE
(9) } # if (&User-Name) = notfound
(9) } # policy filter_username = notfound
(9) [preprocess] = ok
(9) [chap] = noop
(9) [mschap] = noop
(9) [digest] = noop
(9) suffix: Checking for suffix after "@"
(9) suffix: No '@' in User-Name = "ajr_at_macbook", looking up realm NULL
(9) suffix: No such realm "NULL"
(9) [suffix] = noop
(9) eap: Peer sent EAP Response (code 2) ID 8 length 50
(9) eap: Continuing tunnel setup
(9) [eap] = ok
(9) } # authorize = ok
(9) Found Auth-Type = eap
(9) # Executing group from file /etc/raddb/sites-enabled/default
(9) authenticate {
(9) eap: Expiring EAP session with state 0x5ccd2a915bc5335e
(9) eap: Finished EAP session with state 0x5ccd2a915bc5335e
(9) eap: Previous EAP request found for state 0x5ccd2a915bc5335e, released from the list
(9) eap: Peer sent packet with method EAP PEAP (25)
(9) eap: Calling submodule eap_peap to process data
(9) eap_peap: Continuing EAP-TLS
(9) eap_peap: [eaptls verify] = ok
(9) eap_peap: Done initial handshake
(9) eap_peap: [eaptls process] = ok
(9) eap_peap: Session established. Decoding tunneled attributes
(9) eap_peap: PEAP state WAITING FOR INNER IDENTITY
(9) eap_peap: Identity - ajr_at_macbook
(9) eap_peap: Got inner identity 'ajr_at_macbook'
(9) eap_peap: Setting default EAP type for tunneled EAP session
(9) eap_peap: Got tunneled request
(9) eap_peap: EAP-Message = 0x0208001301616a725f61745f6d6163626f6f6b
(9) eap_peap: Setting User-Name to ajr_at_macbook
(9) eap_peap: Sending tunneled request to inner-tunnel
(9) eap_peap: EAP-Message = 0x0208001301616a725f61745f6d6163626f6f6b
(9) eap_peap: FreeRADIUS-Proxied-To = 127.0.0.1
(9) eap_peap: User-Name = "ajr_at_macbook"
(9) Virtual server inner-tunnel received request
(9) EAP-Message = 0x0208001301616a725f61745f6d6163626f6f6b
(9) FreeRADIUS-Proxied-To = 127.0.0.1
(9) User-Name = "ajr_at_macbook"
(9) WARNING: Outer and inner identities are the same. User privacy is compromised.
(9) server inner-tunnel {
(9) # Executing section authorize from file /etc/raddb/sites-enabled/inner-tunnel
(9) authorize {
(9) policy filter_username {
(9) if (&User-Name) {
(9) if (&User-Name) -> TRUE
(9) if (&User-Name) {
(9) if (&User-Name =~ / /) {
(9) if (&User-Name =~ / /) -> FALSE
(9) if (&User-Name =~ /@[^@]*@/ ) {
(9) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(9) if (&User-Name =~ /\.\./ ) {
(9) if (&User-Name =~ /\.\./ ) -> FALSE
(9) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(9) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) -> FALSE
(9) if (&User-Name =~ /\.$/) {
(9) if (&User-Name =~ /\.$/) -> FALSE
(9) if (&User-Name =~ /(a)\./) {
(9) if (&User-Name =~ /(a)\./) -> FALSE
(9) } # if (&User-Name) = notfound
(9) } # policy filter_username = notfound
(9) [chap] = noop
(9) [mschap] = noop
(9) suffix: Checking for suffix after "@"
(9) suffix: No '@' in User-Name = "ajr_at_macbook", looking up realm NULL
(9) suffix: No such realm "NULL"
(9) [suffix] = noop
(9) update control {
(9) &Proxy-To-Realm := LOCAL
(9) } # update control = noop
(9) eap: Peer sent EAP Response (code 2) ID 8 length 19
(9) eap: EAP-Identity reply, returning 'ok' so we can short-circuit the rest of authorize
(9) [eap] = ok
(9) } # authorize = ok
(9) Found Auth-Type = eap
(9) # Executing group from file /etc/raddb/sites-enabled/inner-tunnel
(9) authenticate {
(9) eap: Peer sent packet with method EAP Identity (1)
(9) eap: Calling submodule eap_mschapv2 to process data
(9) eap_mschapv2: Issuing Challenge
(9) eap: Sending EAP Request (code 1) ID 9 length 43
(9) eap: EAP session adding &reply:State = 0x287be8ee2872f246
(9) [eap] = handled
(9) } # authenticate = handled
(9) } # server inner-tunnel
(9) Virtual server sending reply
(9) EAP-Message = 0x0109002b1a01090026104f1c4fbc5f3fcae7e030a11e6b5eaea8667265657261646975732d332e302e3231
(9) Message-Authenticator = 0x00000000000000000000000000000000
(9) State = 0x287be8ee2872f24656459491fa7b8c64
(9) eap_peap: Got tunneled reply code 11
(9) eap_peap: EAP-Message = 0x0109002b1a01090026104f1c4fbc5f3fcae7e030a11e6b5eaea8667265657261646975732d332e302e3231
(9) eap_peap: Message-Authenticator = 0x00000000000000000000000000000000
(9) eap_peap: State = 0x287be8ee2872f24656459491fa7b8c64
(9) eap_peap: Got tunneled reply RADIUS code 11
(9) eap_peap: EAP-Message = 0x0109002b1a01090026104f1c4fbc5f3fcae7e030a11e6b5eaea8667265657261646975732d332e302e3231
(9) eap_peap: Message-Authenticator = 0x00000000000000000000000000000000
(9) eap_peap: State = 0x287be8ee2872f24656459491fa7b8c64
(9) eap_peap: Got tunneled Access-Challenge
(9) eap: Sending EAP Request (code 1) ID 9 length 74
(9) eap: EAP session adding &reply:State = 0x5ccd2a9154c4335e
(9) [eap] = handled
(9) } # authenticate = handled
(9) Using Post-Auth-Type Challenge
(9) # Executing group from file /etc/raddb/sites-enabled/default
(9) Challenge { ... } # empty sub-section is ignored
(9) session-state: Saving cached attributes
(9) TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(9) TLS-Session-Version = "TLS 1.2"
(9) Sent Access-Challenge Id 171 from 172.16.63.9:1812 to 172.16.63.11:54871 length 0
(9) EAP-Message = 0x0109004a1900170303003f000000000000000293e69b2290e905927832c32c18e0342ab07fd1793ed19854d46535ebc3d7c97865c1aea3b04767e26863a2d63d2327da92077a0dde3e54
(9) Message-Authenticator = 0x00000000000000000000000000000000
(9) State = 0x5ccd2a9154c4335e8c2e845aad07e421
(9) Finished request
Waking up in 4.7 seconds.
(10) Received Access-Request Id 172 from 172.16.63.11:38409 to 172.16.63.9:1812 length 281
(10) Service-Type = Framed-User
(10) Framed-MTU = 1400
(10) User-Name = "ajr_at_macbook"
(10) State = 0x5ccd2a9154c4335e8c2e845aad07e421
(10) NAS-Port-Id = "cap02_2"
(10) NAS-Port-Type = Wireless-802.11
(10) Acct-Session-Id = "8240030c"
(10) Calling-Station-Id = "F8-1E-DF-E8-F6-A5"
(10) Called-Station-Id = "C4-AD-34-F5-4D-1E"
(10) EAP-Message = 0x020900681900170303005debaeed68d071976582446411710009b74077847b8932663bee78453334226e6b595114148c774bd35b5ec8cc9af6ecbccb3117c5062f1e318be465b2e493ed2b4e1d45f58893c913f71344560ef48c5504d211b150dd5ede4ae9cfde31
(10) Message-Authenticator = 0xc11da8127cd74925532b01f790876e63
(10) NAS-Identifier = "cap01.wlan.chaos1.de"
(10) NAS-IP-Address = 172.16.63.11
(10) Restoring &session-state
(10) &session-state:TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(10) &session-state:TLS-Session-Version = "TLS 1.2"
(10) # Executing section authorize from file /etc/raddb/sites-enabled/default
(10) authorize {
(10) policy filter_username {
(10) if (&User-Name) {
(10) if (&User-Name) -> TRUE
(10) if (&User-Name) {
(10) if (&User-Name =~ / /) {
(10) if (&User-Name =~ / /) -> FALSE
(10) if (&User-Name =~ /@[^@]*@/ ) {
(10) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(10) if (&User-Name =~ /\.\./ ) {
(10) if (&User-Name =~ /\.\./ ) -> FALSE
(10) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(10) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) -> FALSE
(10) if (&User-Name =~ /\.$/) {
(10) if (&User-Name =~ /\.$/) -> FALSE
(10) if (&User-Name =~ /(a)\./) {
(10) if (&User-Name =~ /(a)\./) -> FALSE
(10) } # if (&User-Name) = notfound
(10) } # policy filter_username = notfound
(10) [preprocess] = ok
(10) [chap] = noop
(10) [mschap] = noop
(10) [digest] = noop
(10) suffix: Checking for suffix after "@"
(10) suffix: No '@' in User-Name = "ajr_at_macbook", looking up realm NULL
(10) suffix: No such realm "NULL"
(10) [suffix] = noop
(10) eap: Peer sent EAP Response (code 2) ID 9 length 104
(10) eap: Continuing tunnel setup
(10) [eap] = ok
(10) } # authorize = ok
(10) Found Auth-Type = eap
(10) # Executing group from file /etc/raddb/sites-enabled/default
(10) authenticate {
(10) eap: Expiring EAP session with state 0x287be8ee2872f246
(10) eap: Finished EAP session with state 0x5ccd2a9154c4335e
(10) eap: Previous EAP request found for state 0x5ccd2a9154c4335e, released from the list
(10) eap: Peer sent packet with method EAP PEAP (25)
(10) eap: Calling submodule eap_peap to process data
(10) eap_peap: Continuing EAP-TLS
(10) eap_peap: [eaptls verify] = ok
(10) eap_peap: Done initial handshake
(10) eap_peap: [eaptls process] = ok
(10) eap_peap: Session established. Decoding tunneled attributes
(10) eap_peap: PEAP state phase2
(10) eap_peap: EAP method MSCHAPv2 (26)
(10) eap_peap: Got tunneled request
(10) eap_peap: EAP-Message = 0x020900491a02090044310718db4dc9454966aebc7874449472950000000000000000b3858f6a34c7d630f8912a1c043120a9bede5319ce142add00616a725f61745f6d6163626f6f6b
(10) eap_peap: Setting User-Name to ajr_at_macbook
(10) eap_peap: Sending tunneled request to inner-tunnel
(10) eap_peap: EAP-Message = 0x020900491a02090044310718db4dc9454966aebc7874449472950000000000000000b3858f6a34c7d630f8912a1c043120a9bede5319ce142add00616a725f61745f6d6163626f6f6b
(10) eap_peap: FreeRADIUS-Proxied-To = 127.0.0.1
(10) eap_peap: User-Name = "ajr_at_macbook"
(10) eap_peap: State = 0x287be8ee2872f24656459491fa7b8c64
(10) Virtual server inner-tunnel received request
(10) EAP-Message = 0x020900491a02090044310718db4dc9454966aebc7874449472950000000000000000b3858f6a34c7d630f8912a1c043120a9bede5319ce142add00616a725f61745f6d6163626f6f6b
(10) FreeRADIUS-Proxied-To = 127.0.0.1
(10) User-Name = "ajr_at_macbook"
(10) State = 0x287be8ee2872f24656459491fa7b8c64
(10) WARNING: Outer and inner identities are the same. User privacy is compromised.
(10) server inner-tunnel {
(10) session-state: No cached attributes
(10) # Executing section authorize from file /etc/raddb/sites-enabled/inner-tunnel
(10) authorize {
(10) policy filter_username {
(10) if (&User-Name) {
(10) if (&User-Name) -> TRUE
(10) if (&User-Name) {
(10) if (&User-Name =~ / /) {
(10) if (&User-Name =~ / /) -> FALSE
(10) if (&User-Name =~ /@[^@]*@/ ) {
(10) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(10) if (&User-Name =~ /\.\./ ) {
(10) if (&User-Name =~ /\.\./ ) -> FALSE
(10) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(10) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) -> FALSE
(10) if (&User-Name =~ /\.$/) {
(10) if (&User-Name =~ /\.$/) -> FALSE
(10) if (&User-Name =~ /(a)\./) {
(10) if (&User-Name =~ /(a)\./) -> FALSE
(10) } # if (&User-Name) = notfound
(10) } # policy filter_username = notfound
(10) [chap] = noop
(10) [mschap] = noop
(10) suffix: Checking for suffix after "@"
(10) suffix: No '@' in User-Name = "ajr_at_macbook", looking up realm NULL
(10) suffix: No such realm "NULL"
(10) [suffix] = noop
(10) update control {
(10) &Proxy-To-Realm := LOCAL
(10) } # update control = noop
(10) eap: Peer sent EAP Response (code 2) ID 9 length 73
(10) eap: No EAP Start, assuming it's an on-going EAP conversation
(10) [eap] = updated
(10) files: users: Matched entry ajr_at_macbook at line 30
(10) [files] = ok
(10) [expiration] = noop
(10) [logintime] = noop
(10) pap: WARNING: Auth-Type already set. Not setting to PAP
(10) [pap] = noop
(10) } # authorize = updated
(10) Found Auth-Type = eap
(10) # Executing group from file /etc/raddb/sites-enabled/inner-tunnel
(10) authenticate {
(10) eap: Expiring EAP session with state 0x287be8ee2872f246
(10) eap: Finished EAP session with state 0x287be8ee2872f246
(10) eap: Previous EAP request found for state 0x287be8ee2872f246, released from the list
(10) eap: Peer sent packet with method EAP MSCHAPv2 (26)
(10) eap: Calling submodule eap_mschapv2 to process data
(10) eap_mschapv2: # Executing group from file /etc/raddb/sites-enabled/inner-tunnel
(10) eap_mschapv2: authenticate {
(10) mschap: Found Cleartext-Password, hashing to create NT-Password
(10) mschap: Creating challenge hash with username: ajr_at_macbook
(10) mschap: Client is using MS-CHAPv2
(10) mschap: Adding MS-CHAPv2 MPPE keys
(10) eap_mschapv2: [mschap] = ok
(10) eap_mschapv2: } # authenticate = ok
(10) eap_mschapv2: MSCHAP Success
(10) eap: Sending EAP Request (code 1) ID 10 length 51
(10) eap: EAP session adding &reply:State = 0x287be8ee2971f246
(10) [eap] = handled
(10) } # authenticate = handled
(10) } # server inner-tunnel
(10) Virtual server sending reply
(10) Tunnel-Type = VLAN
(10) Tunnel-Medium-Type = IEEE-802
(10) Mikrotik-Wireless-VLANID = 13
(10) Mikrotik-Wireless-VLANID-Type = 0
(10) Mikrotik-Wireless-Comment = "Axel Rau @ MacBook"
(10) EAP-Message = 0x010a00331a0309002e533d45384432423830324536424446353639443042353937384237453330314534364342373137353530
(10) Message-Authenticator = 0x00000000000000000000000000000000
(10) State = 0x287be8ee2971f24656459491fa7b8c64
(10) eap_peap: Got tunneled reply code 11
(10) eap_peap: Tunnel-Type = VLAN
(10) eap_peap: Tunnel-Medium-Type = IEEE-802
(10) eap_peap: Mikrotik-Wireless-VLANID = 13
(10) eap_peap: Mikrotik-Wireless-VLANID-Type = 0
(10) eap_peap: Mikrotik-Wireless-Comment = "Axel Rau @ MacBook"
(10) eap_peap: EAP-Message = 0x010a00331a0309002e533d45384432423830324536424446353639443042353937384237453330314534364342373137353530
(10) eap_peap: Message-Authenticator = 0x00000000000000000000000000000000
(10) eap_peap: State = 0x287be8ee2971f24656459491fa7b8c64
(10) eap_peap: Got tunneled reply RADIUS code 11
(10) eap_peap: Tunnel-Type = VLAN
(10) eap_peap: Tunnel-Medium-Type = IEEE-802
(10) eap_peap: Mikrotik-Wireless-VLANID = 13
(10) eap_peap: Mikrotik-Wireless-VLANID-Type = 0
(10) eap_peap: Mikrotik-Wireless-Comment = "Axel Rau @ MacBook"
(10) eap_peap: EAP-Message = 0x010a00331a0309002e533d45384432423830324536424446353639443042353937384237453330314534364342373137353530
(10) eap_peap: Message-Authenticator = 0x00000000000000000000000000000000
(10) eap_peap: State = 0x287be8ee2971f24656459491fa7b8c64
(10) eap_peap: Got tunneled Access-Challenge
(10) eap: Sending EAP Request (code 1) ID 10 length 82
(10) eap: EAP session adding &reply:State = 0x5ccd2a9155c7335e
(10) [eap] = handled
(10) } # authenticate = handled
(10) Using Post-Auth-Type Challenge
(10) # Executing group from file /etc/raddb/sites-enabled/default
(10) Challenge { ... } # empty sub-section is ignored
(10) session-state: Saving cached attributes
(10) TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(10) TLS-Session-Version = "TLS 1.2"
(10) Sent Access-Challenge Id 172 from 172.16.63.9:1812 to 172.16.63.11:38409 length 0
(10) EAP-Message = 0x010a0052190017030300470000000000000003dfc5ddef832faa31d785298471f5a5228c260ad5a33e5214aa890f65a52078ebca88b7a54eea55e5ed48b92d8b3d8a44864bd353a1b308e24ffeb41f04c5b4
(10) Message-Authenticator = 0x00000000000000000000000000000000
(10) State = 0x5ccd2a9155c7335e8c2e845aad07e421
(10) Finished request
Waking up in 4.7 seconds.
(11) Received Access-Request Id 173 from 172.16.63.11:57477 to 172.16.63.9:1812 length 214
(11) Service-Type = Framed-User
(11) Framed-MTU = 1400
(11) User-Name = "ajr_at_macbook"
(11) State = 0x5ccd2a9155c7335e8c2e845aad07e421
(11) NAS-Port-Id = "cap02_2"
(11) NAS-Port-Type = Wireless-802.11
(11) Acct-Session-Id = "8240030c"
(11) Calling-Station-Id = "F8-1E-DF-E8-F6-A5"
(11) Called-Station-Id = "C4-AD-34-F5-4D-1E"
(11) EAP-Message = 0x020a00251900170303001aebaeed68d07197660c82dc1897c5e8f16731b8ff544f93ed98bf
(11) Message-Authenticator = 0x74ebfdc15d084aef6b02b71a638d657d
(11) NAS-Identifier = "cap01.wlan.chaos1.de"
(11) NAS-IP-Address = 172.16.63.11
(11) Restoring &session-state
(11) &session-state:TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(11) &session-state:TLS-Session-Version = "TLS 1.2"
(11) # Executing section authorize from file /etc/raddb/sites-enabled/default
(11) authorize {
(11) policy filter_username {
(11) if (&User-Name) {
(11) if (&User-Name) -> TRUE
(11) if (&User-Name) {
(11) if (&User-Name =~ / /) {
(11) if (&User-Name =~ / /) -> FALSE
(11) if (&User-Name =~ /@[^@]*@/ ) {
(11) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(11) if (&User-Name =~ /\.\./ ) {
(11) if (&User-Name =~ /\.\./ ) -> FALSE
(11) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(11) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) -> FALSE
(11) if (&User-Name =~ /\.$/) {
(11) if (&User-Name =~ /\.$/) -> FALSE
(11) if (&User-Name =~ /(a)\./) {
(11) if (&User-Name =~ /(a)\./) -> FALSE
(11) } # if (&User-Name) = notfound
(11) } # policy filter_username = notfound
(11) [preprocess] = ok
(11) [chap] = noop
(11) [mschap] = noop
(11) [digest] = noop
(11) suffix: Checking for suffix after "@"
(11) suffix: No '@' in User-Name = "ajr_at_macbook", looking up realm NULL
(11) suffix: No such realm "NULL"
(11) [suffix] = noop
(11) eap: Peer sent EAP Response (code 2) ID 10 length 37
(11) eap: Continuing tunnel setup
(11) [eap] = ok
(11) } # authorize = ok
(11) Found Auth-Type = eap
(11) # Executing group from file /etc/raddb/sites-enabled/default
(11) authenticate {
(11) eap: Expiring EAP session with state 0x287be8ee2971f246
(11) eap: Finished EAP session with state 0x5ccd2a9155c7335e
(11) eap: Previous EAP request found for state 0x5ccd2a9155c7335e, released from the list
(11) eap: Peer sent packet with method EAP PEAP (25)
(11) eap: Calling submodule eap_peap to process data
(11) eap_peap: Continuing EAP-TLS
(11) eap_peap: [eaptls verify] = ok
(11) eap_peap: Done initial handshake
(11) eap_peap: [eaptls process] = ok
(11) eap_peap: Session established. Decoding tunneled attributes
(11) eap_peap: PEAP state phase2
(11) eap_peap: EAP method MSCHAPv2 (26)
(11) eap_peap: Got tunneled request
(11) eap_peap: EAP-Message = 0x020a00061a03
(11) eap_peap: Setting User-Name to ajr_at_macbook
(11) eap_peap: Sending tunneled request to inner-tunnel
(11) eap_peap: EAP-Message = 0x020a00061a03
(11) eap_peap: FreeRADIUS-Proxied-To = 127.0.0.1
(11) eap_peap: User-Name = "ajr_at_macbook"
(11) eap_peap: State = 0x287be8ee2971f24656459491fa7b8c64
(11) Virtual server inner-tunnel received request
(11) EAP-Message = 0x020a00061a03
(11) FreeRADIUS-Proxied-To = 127.0.0.1
(11) User-Name = "ajr_at_macbook"
(11) State = 0x287be8ee2971f24656459491fa7b8c64
(11) WARNING: Outer and inner identities are the same. User privacy is compromised.
(11) server inner-tunnel {
(11) session-state: No cached attributes
(11) # Executing section authorize from file /etc/raddb/sites-enabled/inner-tunnel
(11) authorize {
(11) policy filter_username {
(11) if (&User-Name) {
(11) if (&User-Name) -> TRUE
(11) if (&User-Name) {
(11) if (&User-Name =~ / /) {
(11) if (&User-Name =~ / /) -> FALSE
(11) if (&User-Name =~ /@[^@]*@/ ) {
(11) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(11) if (&User-Name =~ /\.\./ ) {
(11) if (&User-Name =~ /\.\./ ) -> FALSE
(11) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(11) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) -> FALSE
(11) if (&User-Name =~ /\.$/) {
(11) if (&User-Name =~ /\.$/) -> FALSE
(11) if (&User-Name =~ /(a)\./) {
(11) if (&User-Name =~ /(a)\./) -> FALSE
(11) } # if (&User-Name) = notfound
(11) } # policy filter_username = notfound
(11) [chap] = noop
(11) [mschap] = noop
(11) suffix: Checking for suffix after "@"
(11) suffix: No '@' in User-Name = "ajr_at_macbook", looking up realm NULL
(11) suffix: No such realm "NULL"
(11) [suffix] = noop
(11) update control {
(11) &Proxy-To-Realm := LOCAL
(11) } # update control = noop
(11) eap: Peer sent EAP Response (code 2) ID 10 length 6
(11) eap: No EAP Start, assuming it's an on-going EAP conversation
(11) [eap] = updated
(11) files: users: Matched entry ajr_at_macbook at line 30
(11) [files] = ok
(11) [expiration] = noop
(11) [logintime] = noop
(11) pap: WARNING: Auth-Type already set. Not setting to PAP
(11) [pap] = noop
(11) } # authorize = updated
(11) Found Auth-Type = eap
(11) # Executing group from file /etc/raddb/sites-enabled/inner-tunnel
(11) authenticate {
(11) eap: Expiring EAP session with state 0x287be8ee2971f246
(11) eap: Finished EAP session with state 0x287be8ee2971f246
(11) eap: Previous EAP request found for state 0x287be8ee2971f246, released from the list
(11) eap: Peer sent packet with method EAP MSCHAPv2 (26)
(11) eap: Calling submodule eap_mschapv2 to process data
(11) eap: Sending EAP Success (code 3) ID 10 length 4
(11) eap: Freeing handler
(11) [eap] = ok
(11) } # authenticate = ok
(11) # Executing section post-auth from file /etc/raddb/sites-enabled/inner-tunnel
(11) post-auth {
(11) if (0) {
(11) if (0) -> FALSE
(11) } # post-auth = noop
(11) } # server inner-tunnel
(11) Virtual server sending reply
(11) Tunnel-Type = VLAN
(11) Tunnel-Medium-Type = IEEE-802
(11) Mikrotik-Wireless-VLANID = 13
(11) Mikrotik-Wireless-VLANID-Type = 0
(11) Mikrotik-Wireless-Comment = "Axel Rau @ MacBook"
(11) MS-MPPE-Encryption-Policy = Encryption-Allowed
(11) MS-MPPE-Encryption-Types = RC4-40or128-bit-Allowed
(11) MS-MPPE-Send-Key = 0x82c6f586efcad91f1d506585e0b7d412
(11) MS-MPPE-Recv-Key = 0x0f1dd32e5087e73c1979b7f28c046075
(11) EAP-Message = 0x030a0004
(11) Message-Authenticator = 0x00000000000000000000000000000000
(11) User-Name = "ajr_at_macbook"
(11) eap_peap: Got tunneled reply code 2
(11) eap_peap: Tunnel-Type = VLAN
(11) eap_peap: Tunnel-Medium-Type = IEEE-802
(11) eap_peap: Mikrotik-Wireless-VLANID = 13
(11) eap_peap: Mikrotik-Wireless-VLANID-Type = 0
(11) eap_peap: Mikrotik-Wireless-Comment = "Axel Rau @ MacBook"
(11) eap_peap: MS-MPPE-Encryption-Policy = Encryption-Allowed
(11) eap_peap: MS-MPPE-Encryption-Types = RC4-40or128-bit-Allowed
(11) eap_peap: MS-MPPE-Send-Key = 0x82c6f586efcad91f1d506585e0b7d412
(11) eap_peap: MS-MPPE-Recv-Key = 0x0f1dd32e5087e73c1979b7f28c046075
(11) eap_peap: EAP-Message = 0x030a0004
(11) eap_peap: Message-Authenticator = 0x00000000000000000000000000000000
(11) eap_peap: User-Name = "ajr_at_macbook"
(11) eap_peap: Got tunneled reply RADIUS code 2
(11) eap_peap: Tunnel-Type = VLAN
(11) eap_peap: Tunnel-Medium-Type = IEEE-802
(11) eap_peap: Mikrotik-Wireless-VLANID = 13
(11) eap_peap: Mikrotik-Wireless-VLANID-Type = 0
(11) eap_peap: Mikrotik-Wireless-Comment = "Axel Rau @ MacBook"
(11) eap_peap: MS-MPPE-Encryption-Policy = Encryption-Allowed
(11) eap_peap: MS-MPPE-Encryption-Types = RC4-40or128-bit-Allowed
(11) eap_peap: MS-MPPE-Send-Key = 0x82c6f586efcad91f1d506585e0b7d412
(11) eap_peap: MS-MPPE-Recv-Key = 0x0f1dd32e5087e73c1979b7f28c046075
(11) eap_peap: EAP-Message = 0x030a0004
(11) eap_peap: Message-Authenticator = 0x00000000000000000000000000000000
(11) eap_peap: User-Name = "ajr_at_macbook"
(11) eap_peap: Tunneled authentication was successful
(11) eap_peap: SUCCESS
(11) eap_peap: Saving tunneled attributes for later
(11) eap: Sending EAP Request (code 1) ID 11 length 46
(11) eap: EAP session adding &reply:State = 0x5ccd2a9156c6335e
(11) [eap] = handled
(11) } # authenticate = handled
(11) Using Post-Auth-Type Challenge
(11) # Executing group from file /etc/raddb/sites-enabled/default
(11) Challenge { ... } # empty sub-section is ignored
(11) session-state: Saving cached attributes
(11) TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(11) TLS-Session-Version = "TLS 1.2"
(11) Sent Access-Challenge Id 173 from 172.16.63.9:1812 to 172.16.63.11:57477 length 0
(11) EAP-Message = 0x010b002e190017030300230000000000000004d9a7c123f3a2f6478f84b6f61cf982158d58b583a603eff1d88610
(11) Message-Authenticator = 0x00000000000000000000000000000000
(11) State = 0x5ccd2a9156c6335e8c2e845aad07e421
(11) Finished request
Waking up in 4.6 seconds.
(12) Received Access-Request Id 174 from 172.16.63.11:43616 to 172.16.63.9:1812 length 223
(12) Service-Type = Framed-User
(12) Framed-MTU = 1400
(12) User-Name = "ajr_at_macbook"
(12) State = 0x5ccd2a9156c6335e8c2e845aad07e421
(12) NAS-Port-Id = "cap02_2"
(12) NAS-Port-Type = Wireless-802.11
(12) Acct-Session-Id = "8240030c"
(12) Calling-Station-Id = "F8-1E-DF-E8-F6-A5"
(12) Called-Station-Id = "C4-AD-34-F5-4D-1E"
(12) EAP-Message = 0x020b002e19001703030023ebaeed68d0719767b2dcfa8289533dd316b36f354a3638797939d0c8fbc695a6b20bf6
(12) Message-Authenticator = 0xf698daeecdbfd9523a00fb6d705813b8
(12) NAS-Identifier = "cap01.wlan.chaos1.de"
(12) NAS-IP-Address = 172.16.63.11
(12) Restoring &session-state
(12) &session-state:TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(12) &session-state:TLS-Session-Version = "TLS 1.2"
(12) # Executing section authorize from file /etc/raddb/sites-enabled/default
(12) authorize {
(12) policy filter_username {
(12) if (&User-Name) {
(12) if (&User-Name) -> TRUE
(12) if (&User-Name) {
(12) if (&User-Name =~ / /) {
(12) if (&User-Name =~ / /) -> FALSE
(12) if (&User-Name =~ /@[^@]*@/ ) {
(12) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(12) if (&User-Name =~ /\.\./ ) {
(12) if (&User-Name =~ /\.\./ ) -> FALSE
(12) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(12) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) -> FALSE
(12) if (&User-Name =~ /\.$/) {
(12) if (&User-Name =~ /\.$/) -> FALSE
(12) if (&User-Name =~ /(a)\./) {
(12) if (&User-Name =~ /(a)\./) -> FALSE
(12) } # if (&User-Name) = notfound
(12) } # policy filter_username = notfound
(12) [preprocess] = ok
(12) [chap] = noop
(12) [mschap] = noop
(12) [digest] = noop
(12) suffix: Checking for suffix after "@"
(12) suffix: No '@' in User-Name = "ajr_at_macbook", looking up realm NULL
(12) suffix: No such realm "NULL"
(12) [suffix] = noop
(12) eap: Peer sent EAP Response (code 2) ID 11 length 46
(12) eap: Continuing tunnel setup
(12) [eap] = ok
(12) } # authorize = ok
(12) Found Auth-Type = eap
(12) # Executing group from file /etc/raddb/sites-enabled/default
(12) authenticate {
(12) eap: Expiring EAP session with state 0x5ccd2a9156c6335e
(12) eap: Finished EAP session with state 0x5ccd2a9156c6335e
(12) eap: Previous EAP request found for state 0x5ccd2a9156c6335e, released from the list
(12) eap: Peer sent packet with method EAP PEAP (25)
(12) eap: Calling submodule eap_peap to process data
(12) eap_peap: Continuing EAP-TLS
(12) eap_peap: [eaptls verify] = ok
(12) eap_peap: Done initial handshake
(12) eap_peap: [eaptls process] = ok
(12) eap_peap: Session established. Decoding tunneled attributes
(12) eap_peap: PEAP state send tlv success
(12) eap_peap: Received EAP-TLV response
(12) eap_peap: Success
(12) eap_peap: Using saved attributes from the original Access-Accept
(12) eap_peap: Tunnel-Type = VLAN
(12) eap_peap: Tunnel-Medium-Type = IEEE-802
(12) eap_peap: Mikrotik-Wireless-VLANID = 13
(12) eap_peap: Mikrotik-Wireless-VLANID-Type = 0
(12) eap_peap: Mikrotik-Wireless-Comment = "Axel Rau @ MacBook"
(12) eap_peap: User-Name = "ajr_at_macbook"
(12) eap: Sending EAP Success (code 3) ID 11 length 4
(12) eap: Freeing handler
(12) [eap] = ok
(12) } # authenticate = ok
(12) # Executing section post-auth from file /etc/raddb/sites-enabled/default
(12) post-auth {
(12) if (session-state:User-Name && reply:User-Name && request:User-Name && (reply:User-Name == request:User-Name)) {
(12) if (session-state:User-Name && reply:User-Name && request:User-Name && (reply:User-Name == request:User-Name)) -> FALSE
(12) update {
(12) &reply::TLS-Session-Cipher-Suite += &session-state:TLS-Session-Cipher-Suite[*] -> 'ECDHE-RSA-AES256-GCM-SHA384'
(12) &reply::TLS-Session-Version += &session-state:TLS-Session-Version[*] -> 'TLS 1.2'
(12) } # update = noop
(12) [exec] = noop
(12) policy remove_reply_message_if_eap {
(12) if (&reply:EAP-Message && &reply:Reply-Message) {
(12) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE
(12) else {
(12) [noop] = noop
(12) } # else = noop
(12) } # policy remove_reply_message_if_eap = noop
(12) } # post-auth = noop
(12) Sent Access-Accept Id 174 from 172.16.63.9:1812 to 172.16.63.11:43616 length 0
(12) Tunnel-Type = VLAN
(12) Tunnel-Medium-Type = IEEE-802
(12) Mikrotik-Wireless-VLANID = 13
(12) Mikrotik-Wireless-VLANID-Type = 0
(12) Mikrotik-Wireless-Comment = "Axel Rau @ MacBook"
(12) User-Name = "ajr_at_macbook"
(12) MS-MPPE-Recv-Key = 0xf6831ed3156b2faeac7d3335b228b44f75487a7a0698e8cce62be1540919de55
(12) MS-MPPE-Send-Key = 0x444f74272814bacbdffe942a8300b1ab673db545865680a45b08560c74704edf
(12) EAP-Message = 0x030b0004
(12) Message-Authenticator = 0x00000000000000000000000000000000
(12) Finished request
Waking up in 4.6 seconds.
(0) Cleaning up request packet ID 162 with timestamp +80
(1) Cleaning up request packet ID 163 with timestamp +80
(2) Cleaning up request packet ID 164 with timestamp +80
(3) Cleaning up request packet ID 165 with timestamp +80
(4) Cleaning up request packet ID 166 with timestamp +80
(5) Cleaning up request packet ID 167 with timestamp +80
(6) Cleaning up request packet ID 168 with timestamp +80
(7) Cleaning up request packet ID 169 with timestamp +80
(8) Cleaning up request packet ID 170 with timestamp +80
(9) Cleaning up request packet ID 171 with timestamp +80
(10) Cleaning up request packet ID 172 with timestamp +80
(11) Cleaning up request packet ID 173 with timestamp +80
(12) Cleaning up request packet ID 174 with timestamp +80
Ready to process requests
---
PGP-Key: CDE74120 ☀ computing @ chaos claudius
2
3
Hi,
I have checked a user in debugging of user via raddebug, if the user is
not being found in radcheck table, the freeradius is still executing
groupcheck and groupreply tables. It look like its causing extra load on
mysql database. Is there a way to minimize them ? or is there a way that
if the user is not found in radcheck, then freeradius should not execute
other queries.
Below is the debug result.
(257372773) Mon Nov 30 15:11:24 2020 : Debug: Received Access-Request
packet from host 192.168.247.70 port 53214, id=108, length=26
(257372773) Mon Nov 30 15:11:24 2020 : Debug: User-Name = 'test'
(257372773) Mon Nov 30 15:11:24 2020 : Debug: # Executing section
authorize from file /etc/raddb/sites-enabled/default
(257372773) Mon Nov 30 15:11:24 2020 : Debug: authorize {
(257372773) Mon Nov 30 15:11:24 2020 : Debug: filter_username
filter_username {
(257372773) Mon Nov 30 15:11:24 2020 : Debug: if (!&User-Name)
(257372773) Mon Nov 30 15:11:24 2020 : Debug: if (!&User-Name) -> FALSE
(257372773) Mon Nov 30 15:11:24 2020 : Debug: if (&User-Name =~ / /)
(257372773) Mon Nov 30 15:11:24 2020 : Debug: if (&User-Name =~ /
/) -> FALSE
(257372773) Mon Nov 30 15:11:24 2020 : Debug: if (&User-Name =~
/@.*@/ )
(257372773) Mon Nov 30 15:11:24 2020 : Debug: if (&User-Name =~
/@.*@/ ) -> FALSE
(257372773) Mon Nov 30 15:11:24 2020 : Debug: if (&User-Name =~
/\\.\\./ )
(257372773) Mon Nov 30 15:11:24 2020 : Debug: if (&User-Name =~
/\\.\\./ ) -> FALSE
(257372773) Mon Nov 30 15:11:24 2020 : Debug: if (&User-Name =~ /\\.$/)
(257372773) Mon Nov 30 15:11:24 2020 : Debug: if (&User-Name =~
/\\.$/) -> FALSE
(257372773) Mon Nov 30 15:11:24 2020 : Debug: if (&User-Name =~ /(a)\\./)
(257372773) Mon Nov 30 15:11:24 2020 : Debug: if (&User-Name =~
/(a)\\./) -> FALSE
(257372773) Mon Nov 30 15:11:24 2020 : Debug: } # filter_username
filter_username = notfound
(257372773) Mon Nov 30 15:11:24 2020 : Debug: [preprocess] = ok
(257372773) Mon Nov 30 EXPAND
/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail
(257372773) Mon Nov 30 -->
/var/log/radius/radacct/192.168.247.70/auth-detail
(257372773) Mon Nov 30
/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail
expands to /var/log/radius/radacct/192.168.247.70/auth-detail
(257372773) Mon Nov 30 EXPAND %t
(257372773) Mon Nov 30 --> Mon Nov 30 15:11:24 2020
(257372773) Mon Nov 30 15:11:24 2020 : Debug: [auth_log] = ok
(257372773) Mon Nov 3Checking for suffix after "@"
(257372773) Mon Nov 3No '@' in User-Name = "test", looking up realm NULL
(257372773) Mon Nov 3No such realm "NULL"
(257372773) Mon Nov 30 15:11:24 2020 : Debug: [suffix] = noop
(257372773) Mon NoEXPAND %{User-Name}
(257372773) Mon No --> test
(257372773) Mon NoSQL-User-Name set to 'test'
(257372773) Mon NoEXPAND SELECT id, username, attribute, value, op FROM
radcheck WHERE username = BINARY '%{SQL-User-Name}' ORDER BY id
(257372773) Mon No --> SELECT id, username, attribute, value, op FROM
radcheck WHERE username = BINARY 'test' ORDER BY id
(257372773) Mon NoUser found in radcheck table
(257372773) Mon NoEXPAND SELECT groupname FROM radusergroup WHERE
username = BINARY '%{SQL-User-Name}' ORDER BY priority
(257372773) Mon No --> SELECT groupname FROM radusergroup WHERE
username = BINARY 'test' ORDER BY priority
(257372773) Mon NoUser found in the group table
(257372773) Mon NoEXPAND SELECT id, groupname, attribute, Value, op FROM
radgroupcheck WHERE groupname = '%{Sql-Group}' ORDER BY id
(257372773) Mon No --> SELECT id, groupname, attribute, Value, op FROM
radgroupcheck WHERE groupname = 'Alpine-9-KHI' ORDER BY id
(257372773) Mon NoGroup "Alpine-9-KHI" check items matched
(257372773) Mon NoEXPAND SELECT id, groupname, attribute, value, op FROM
radgroupreply WHERE groupname = '%{Sql-Group}' and nas_ip_addr =
'%{NAS-IP-Address}' ORDER BY id
(257372773) Mon No --> SELECT id, groupname, attribute, value, op FROM
radgroupreply WHERE groupname = 'Alpine-9-KHI' and nas_ip_addr =
'192.168.247.70' ORDER BY id
(257372773) Mon NoGroup "Alpine-9-KHI" reply items processed
(257372773) Mon Nov 30 15:11:24 2020 : Debug: [sql] = ok
(257372773) Mon Nov 30 15:11:24 2020 : Debug: [expiration] = noop
(257372773) Mon Nov 30 15:11:24 2020 : Debug: [logintime] = noop
(257372773) WARNING: Mon NoNo "known good" password found for the user.
Not setting Auth-Type
(257372773) WARNING: Mon NoAuthentication will fail unless a "known
good" password is available
(257372773) Mon Nov 30 15:11:24 2020 : Debug: [pap] = noop
(257372773) Mon Nov 30 15:11:24 2020 : Debug: } # authorize = ok
(257372773) ERROR: Mon Nov 30 15:11:24 2020 : ERROR: No Auth-Type found:
rejecting the user via Post-Auth-Type = Reject
(257372773) Mon Nov 30 15:11:24 2020 : Debug: Failed to authenticate the
user
(257372773) Mon Nov 30 15:11:24 2020 : Debug: EXPAND Error: Invalid
Username/Password...!
(257372773) Mon Nov 30 15:11:24 2020 : Debug: --> Error: Invalid
Username/Password...!
(257372773) Mon Nov 30 15:11:24 2020 : Debug: Using Post-Auth-Type Reject
(257372773) Mon Nov 30 15:11:24 2020 : Debug: # Executing group from
file /etc/raddb/sites-enabled/default
(257372773) Mon Nov 30 15:11:24 2020 : Debug: Post-Auth-Type REJECT {
(257372773) Mon NoEXPAND .query
(257372773) Mon No --> .query
(257372773) Mon NoUsing query template 'query'
(257372773) Mon NoEXPAND %{User-Name}
(257372773) Mon No --> test
(257372773) Mon NoSQL-User-Name set to 'test'
(257372773) Mon NoEXPAND INSERT INTO radpostauth (username, pass, reply,
authdate, CallingStationId, NASPortId, nasipaddress) VALUES (
'%{SQL-User-Name}', '%{%{User-Password}:-%{Chap-Password}}',
'%{reply:Packet-Type}', '%S', '%{Calling-Station-Id}', '%{NAS-Port-Id}',
'%{NAS-IP-Address}')
(257372773) Mon No --> INSERT INTO radpostauth (username, pass, reply,
authdate, CallingStationId, NASPortId, nasipaddress) VALUES ( 'test',
'', 'Access-Reject', '2020-11-30 15:11:24', '', '', '192.168.247.70')
(257372773) Mon Nov 30 15:11:24 2020 : Debug: [sql] = ok
(257372773) Mon Nov 30 15:11:24 2020 : DEXPAND %{User-Name}
(257372773) Mon Nov 30 15:11:24 2020 : D --> test
(257372773) Mon Nov 30 15:11:24 2020 : DMatched entry DEFAULT at line 11
(257372773) Mon Nov 30 15:11:24 2020 : Debug:
[attr_filter.access_reject] = updated
(257372773) Mon Nov 30 15:11:24 2020 : Debug:
remove_reply_message_if_eap remove_reply_message_if_eap {
(257372773) Mon Nov 30 15:11:24 2020 : Debug: if (&reply:EAP-Message
&& &reply:Reply-Message)
(257372773) Mon Nov 30 15:11:24 2020 : Debug: if (&reply:EAP-Message
&& &reply:Reply-Message) -> FALSE
(257372773) Mon Nov 30 15:11:24 2020 : Debug: else else {
(257372773) Mon Nov 30 15:11:24 2020 : Debug: [noop] = noop
(257372773) Mon Nov 30 15:11:24 2020 : Debug: } # else else = noop
(257372773) Mon Nov 30 15:11:24 2020 : Debug: } #
remove_reply_message_if_eap remove_reply_message_if_eap = noop
(257372773) Mon Nov 30 15:11:24 2020 : Debug: } # Post-Auth-Type REJECT
= updated
(257372773) Mon Nov 30 15:11:24 2020 : Debug: Delaying response for 1
seconds
(257372773) Mon Nov 30 15:11:25 2020 : Debug: Sending delayed response
(257372773) Mon Nov 30 15:11:25 2020 : Debug: Sending Access-Reject
packet to host 192.168.247.70 port 53214, id=108, length=0
(257372773) Mon Nov 30 15:11:34 2020 : Debug: Cleaning up request packet
ID 108 with timestamp +3880200
--
2
1
Dear All,
This is my first email to the group so please excuse if I have not followed
any rules.
Auth and IP Set up:
Student devices > Freeradius server > Firewall > ---à
eduroam Homeserver
Ø Windows DHCP server
Ø Unifi WAP portal
Network :
Student devices connect to Unifi WAP > 2 tagged VLAN Aruba/HP switches >
Windows DHCP server has 2 separate subnets
Issue:
We have set up 2 Vlans to segment the buildings and assign static vlans on
the switch ports that connects to the Unifi AP. Depending on the VLAN X or
VLAN Y, the DHCP server should provide ipaddress from one of the subnet.
Since the windows server upgrade on April 2020, the end devices are picking
only X subnet ipaddress. Y subnet is not issued. I have tested with a test
vm, can confirm that the Y subnet is issued. I have also used the old
windows DHCP server ip address but no changes.
Does Free Radius setup has any role in this problem?
Regards,
Jerome
2
3
Hi,
On freeradius version 2.1.12 I could do the following
dhcp DHCP-Request {
............
dhcpstatic
..........
}
where dhcpstatic is the sql module
sql dhcpstaticnd {
database = "mysql"
driver = "rlm_sql _ $ {database}"
...............................
authorize_check_query = ..........
authorize_reply_query = "SELECT id, 'dhcp' as UserName, attribute,
value, op
FROM $ {authreply_table} dh
WHERE RemoteID = BINARY '% {DHCP-Relay-Remote-Id}'
and upper (CircuitID) = upper ('% {DHCP-Relay-Circuit-Id}')
and MacAddr = BINARY '% {DHCP-Client-Hardware-Address}'
ORDER BY LeaseDate desc "
...........................................
}
Several dhcp attributes were fetched from the authreply_table, not just
DHCP-Your-IP-Address
This configuration does not work on freeradius version 3.0.21
How can I select several dhcp attributes from the sql table and send
them to DHCP-ACK?
--
Sergey Kodentsev
--
С уважением,
Сергей Коденцев,
Воронеж,
Информсвязь-Черноземье
1
0
Hi,
I am rejecting PEAP requests from specific AVPs in my inner-tunnel 'authorize' section. That's pretty much it, but those rejects still hit 'post-auth', where I have to specifically exclude them from a lockout counter. Is there a way to, for lack of better words, gracefully 'exit' inner-tunnel from my PEAP-reject module? Meaning, no execution of sections further down the food chain (ie., authenticate, post-auth).
I am looking at 'fail' and 'handled' return codes, but I am unsure whether this would be the correct way to go about this.
Any pointers greatly appreciated!
Mike
2
1
Hi,
I've just noticed that there is a little difference in functionality
between FR 2.x and 3.21. The config I have, worked fine in v2 but now in
v3 it is not doing what I intend.
I'm using an Openldap backend which consists of users and groups and I
would like to restrict access based on the user-group association in ldap.
eg. any user belonging to the Guest group should only be given
authenticated access to guest areas (currently restricted to Wifi) while
'normal' users should get standard Wifi access but not access to NAS
config shells etc; admin group gets all access with no restrictions
My current FR config takes the Huntgroup name and looks at the 'l'
values in ldap for a match. This is the tail end of my Authorize file:
*I've used <> to indicate comments and it is not part of the config file*
DEFAULT Huntgroup-Name == Huntgroup1, Ldap-Group == "<PPP Dialin group>"
Service-Type = "Framed-User"
DEFAULT Huntgroup-Name == Huntgroup2 <this is the Guest group>,
Ldap-Group == "<Guest ldap group>"
NAS-Port-Type = "Wireless-802.11",
Airespace-QOS-Level = 3
DEFAULT Huntgroup-Name == Huntgroup3, Ldap-Group == "<Regular Wifi group>"
NAS-Port-Type = "Wireless-802.11"
DEFAULT Huntgroup-Name == Huntgroup4, Ldap-Group == "<Full Admin group>"
Service-Type = "NAS-Prompt-User",
Idle-Timeout = 600,
Cisco-AVPair = "shell:priv-lvl=15"
DEFAULT Huntgroup-Name == Huntgroup4, Ldap-Group == "<Net Admin group>"
Service-Type = "NAS-Prompt-User",
Idle-Timeout = 600,
Cisco-AVPair = "shell:priv-lvl=15"
DEFAULT Huntgroup-Name == Huntgroup5, Ldap-Group == "<Net Admin group>"
Service-Type = "NAS-Prompt-User",
Idle-Timeout = 600,
STI-Access-Level = 1,
APC-Service-Type = 1
DEFAULT Huntgroup-Name == Huntgroup6, Ldap-Group == "<Net Admin group>"
Service-Type = "Administrative-User",
Idle-Timeout = 600,
Cisco-AVPair = "shell:priv-lvl=15"
DEFAULT Auth-Type := Reject
The Outer-tunnel (default) file contains the following under the
Authorize section:
authorize {
update request {
Huntgroup-Name ="%{ldap:ldap:///<ldap path
1>?l?sub?cn=%{Packet-Src-IP-Address}}"
Huntgroup-Name +="%{ldap:ldap:///<ldap path
2>?l?sub?cn=%{Packet-Src-IP-Address}}"
Huntgroup-Name +="%{ldap:ldap:///<ldap path
3>l?sub?cn=%{Packet-Src-IP-Address}}"
Huntgroup-Name +="%{ldap:ldap:///<ldap path
4>?l?sub?cn=%{Packet-Src-IP-Address}}"
Huntgroup-Name +="%{ldap:ldap:///<ldap path
5>?l?sub?cn=%{Packet-Src-IP-Address}}"
Huntgroup-Name +="%{ldap:ldap:///<ldap path
6>?l?sub?cn=%{Packet-Src-IP-Address}}"
}
#
# Take a User-Name, and perform some checks on it, for spaces
and other
# invalid characters. If the User-Name appears invalid,
reject the
# request.
#
# See policy.d/filter for the definition of the
filter_username policy.
#
filter_username
...
The Inner-tunnel file contains this, it's slightly different from the
'Outer' tunnel due to various matching issues I found when there are
multiple 'l' values attached to the NAS lookup in ldap -
To clarify what I mean is that example:- a Wireless Controller has
Huntgroup2, Huntgroup3 and Huntgroup4 set in the 'l' value under
different ldap paths, so if it matches <ldap path 3> then look the user
up and authenticate
- if the huntgroup does not match then try a different path using
attributes based on the unlang operators:
authorize {
update request {
Huntgroup-Name ="%{ldap:ldap:///<ldap path
1>?l?sub?cn=%{Packet-Src-IP-Address}}"
Huntgroup-Name ="%{ldap:ldap:///<ldap path
2>?l?sub?cn=%{Packet-Src-IP-Address}}"
Huntgroup-Name ="%{ldap:ldap:///<ldap path
3>?l?sub?cn=%{Packet-Src-IP-Address}}"
Huntgroup-Name :="%{ldap:ldap:///<ldap path
4>?l?sub?cn=%{Packet-Src-IP-Address}}"
Huntgroup-Name ="%{ldap:ldap:///<ldap path
5>?l?sub?cn=%{Packet-Src-IP-Address}}"
Huntgroup-Name :="%{ldap:ldap:///<ldap path
6>?l?sub?cn=%{Packet-Src-IP-Address}}"
}
#
# Take a User-Name, and perform some checks on it, for spaces
and other
# invalid characters. If the User-Name appears invalid,
reject the
# request.
#
# See policy.d/filter for the definition of the
filter_username policy.
#
filter_username
...
This is a partial output from radiusd -X - the user is not found in any
of the administrative ldap paths and then hits line 314 which is the
line "DEFAULT Auth-Type := Reject" in the authorize file, but then it
proceeds to the ldap module and is granted access:
(946) auth_log: EXPAND %t
(946) auth_log: --> Wed Nov 25 02:26:21 2020
(946) [auth_log] = ok
(946) [chap] = noop
(946) [mschap] = noop
(946) [digest] = noop
(946) suffix: Checking for suffix after "@"
(946) suffix: No '@' in User-Name = "<guest user>", looking up realm NULL
(946) suffix: No such realm "NULL"
(946) [suffix] = noop
(946) eap: No EAP-Message, not doing EAP
(946) [eap] = noop
(946) files: Searching for user in group "<Full Admin group>"
rlm_ldap (ldap): Reserved connection (204)
(946) files: EXPAND (uid=%{%{Stripped-User-Name}:-%{User-Name}})
(946) files: --> (uid=<guest user>)
(946) files: Performing search in "<Base DN>" with filter "(uid=<guest
user>)", scope "sub"
(946) files: Waiting for search result...
(946) files: User object found at DN "uid=<guest user>,<Guest user path>"
(946) files: Checking user object's memberOf attributes
(946) files: Performing unfiltered search in "uid=<guest user>,<Guest
user path>", scope "base"
(946) files: Waiting for search result...
(946) files: Processing memberOf value "<Guest ldap group>" as a DN
rlm_ldap (ldap): Released connection (204)
(946) files: User is not a member of "<Full Admin group>"
(946) files: Searching for user in group "<Net Admin group>"
rlm_ldap (ldap): Reserved connection (202)
(946) files: Using user DN from request "uid=<guest user>,<Guest user path>"
(946) files: Checking user object's memberOf attributes
(946) files: Performing unfiltered search in "uid=<guest user>,<Guest
user path>", scope "base"
(946) files: Waiting for search result...
(946) files: Processing memberOf value "<Guest ldap group>" as a DN
rlm_ldap (ldap): Released connection (202)
(946) files: User is not a member of "<Net Admin group>"
(946) files: users: Matched entry DEFAULT at line 314
(946) [files] = ok
rlm_ldap (ldap): Reserved connection (203)
(946) ldap: EXPAND (uid=%{%{Stripped-User-Name}:-%{User-Name}})
(946) ldap: --> (uid=<guest user>)
(946) ldap: Performing search in "<Base DN>" with filter "(uid=<guest
user>)", scope "sub"
(946) ldap: Waiting for search result...
(946) ldap: User object found at DN "uid=<guest user>,<Guest user path>"
(946) ldap: Processing user attributes
(946) ldap: control:Password-With-Header += 'Wifi<guest user>'
rlm_ldap (ldap): Released connection (203)
(946) [ldap] = updated
(946) [expiration] = noop
(946) [logintime] = noop
(946) pap: No {...} in Password-With-Header, re-writing to
Cleartext-Password
(946) pap: Removing &control:Password-With-Header
(946) pap: WARNING: Auth-Type already set. Not setting to PAP
(946) [pap] = noop
(946) if (User-Password) {
(946) if (User-Password) -> TRUE
(946) if (User-Password) {
(946) update control {
(946) Auth-Type := ldap
(946) } # update control = noop
(946) } # if (User-Password) = noop
(946) } # authorize = updated
(946) Found Auth-Type = ldap
(946) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(946) authenticate {
rlm_ldap (ldap): Reserved connection (204)
(946) ldap: Login attempt by "<guest user>"
(946) ldap: Using user DN from request "uid=<guest user>,<Guest user path>"
(946) ldap: Waiting for bind result...
(946) ldap: Bind successful
What needs to be done in order for FR to make a decision based on the
evaluation of the authorize file and 'accept' or 'reject' accordingly?
Currently I'm going through the 'unlang' and 'SQL-Huntgroup-Howto' in
the FR Wiki but I'm unable to work this one out. Perhaps a 'Post-auth'
statement is necessary? - currently this is in the 'inner-tunnel' file:
#
# Access-Reject packets are sent through the REJECT
sub-section of the
# post-auth section.
#
# Add the ldap module name (or instance) if you have set
# 'edir_account_policy_check = yes' in the ldap module
configuration
#
Post-Auth-Type REJECT {
# log failed authentications in SQL, too.
-sql
attr_filter.access_reject
#
# Let the outer session know which module failed, and why.
#
update outer.session-state {
&Module-Failure-Message :=
&request:Module-Failure-Message
}
}
}
and this is in the 'default' file:
Post-Auth-Type REJECT {
# log failed authentications in SQL, too.
-sql
attr_filter.access_reject
# Insert EAP-Failure message if the request was
# rejected by policy instead of because of an
# authentication failure
eap
# Remove reply message if the response contains an
EAP-Message
remove_reply_message_if_eap
}
Would anyone be able to give me some advice? Many Thanks!
Kaya
2
5
Hi Alan,
Thanks for the reply.
> Where did you get the *server* certificate from?
I got it from GlobalSign site. https://support.globalsign.com/ca-certificates/root-certificates/trusted-ro…
And used for both Android clients and freeradius.
>But... that debug output doesn't show anything useful. Why post *part* of the debug output, when you can post *all* of it?
>If you don't know how to read the debug output, there's documentation for that: http://wiki.freeradius.org/radius-X
I am debuging with "freeradius -X" command. Am i doing wrong ? Also when i tried with IOS device that was the only output. it occured 3 times and i shared one of them.
What i notices IOS trying Access Challange to wrong ip. this ip is not the one which i configured for proxy-inner-tunnel
>(2) Sent Access-Challenge Id 228 from 10.0.0.4:1812 to 213.74.143.148:49579 length 0
Still dont understand. I am using same controller(Cisco WLC), same SSID and same radius server(freeradius) but android clients cant complete EAP and says unknown CA, IOS devices can complete EAP part but cant start access challange part.
Please help me, i am confused and lost in forums.
Regards.
[http://www.nevotek.com/nevotekmail/logo.png] Mesut Ozturk
R&D Senior Developer
P: +902122867576 E: mesut(a)nevotek.com
F: +902122867476 W: www.nevotek.com
[http://www.nevotek.com/nevotekmail/maps-icon.png] Santa Clara-CA, USA<https://www.google.com/maps/place/5201+Great+America+Pkwy+%23320,+Santa+Cla…> [http://www.nevotek.com/nevotekmail/maps-icon.png] Istanbul, TURKEY<https://www.google.com/maps/search/teknokent,+Istanbul,+Turkey/@41.106333,2…> [http://www.nevotek.com/nevotekmail/maps-icon.png] Dubai, UAE<https://www.google.com/maps/place/Internet+City,+Building+%2314+-+Dubai+-+U…>
[www.nevotek.com]<www.nevotek.com>
2
1