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
August 2019
- 72 participants
- 75 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
Hi all,
I have been experimenting with Microsoft SQL Server as a replacement for
our current mysql servers [1].
I installed Microsoft's own "ODBC Driver 17 for SQL Server" and have
tested against both SQL Server running on the same Linux machine as
Freeradius itself, and SQL Server running on a Windows machine.
In both cases I found the same (what appears to be a) bug, which
I will describe below for the benefit of the archives, even though it is
(probably) not a problem with freeradius. Because people hitting this
are very likely to be searching with terms including "freeradius".
Also there is a chance that it is somehow specific to the interaction
with freeradius. Because it is hard to imagine even Microsoft releasing
something with such a glaring fault.
I'll also give a work-around.
I think I will now try iodbc instead - anybody here used it?
Right, the bug. Here's my custom attribute:
ATTRIBUTE My-Int 3004 integer
Here's part of the post-auth section in the "outer" site:
update control {
My-Int := "%{sql:SELECT 9999 }"
My-Int := "%{sql:SELECT 10000 }"
My-Int := "%{sql:SELECT '10000' }"
Here's debug output:
EXPAND %{sql:SELECT 9999 }
--> 9999
My-Int := 9999
Executing select query: SELECT 10000
rlm_sql_unixodbc: 22003 [Microsoft][ODBC Driver 17 for SQL
Server]Numeric value out of range
ERROR: Error fetching row
ERROR: Unknown error
ERROR: SQL query failed: <INVALID>
EXPAND %{sql:SELECT 10000 }
-->
My-Int := 0
Executing select query: SELECT '10000'
EXPAND %{sql:SELECT '10000' }
--> 10000
My-Int := 10000
As you can see, if an integer is more than four digits long, the
driver throws an error. But if you return the number as a string,
it works fine. I'd love to see the source code for this...
[1] Everything else is SQL Server and our current integration between
the two databases is rather clunky; a homogeneous environment makes
sense, whatever I personally think of Microsoft <grin>.
7
26
Hi,
our radius proxy crashes regularily since we switched from version 2 to 3.
First we ran freeradius version 3.0.15 (package from Suse Linux Enterprise 12.4),
then version 3.0.17 and 3.0.18 (compiled with rpmbuild) with no difference.
Our present configuration is like this:
radius@radius-dev1:~> uname -a
Linux radius-dev1 4.12.14-95.6-default #1 SMP Thu Jan 17 06:04:39 UTC 2019 (6af4ef8) x86_64 x86_64 x86_64 GNU/Linux
radius@radius-dev1:~> /usr/sbin/radiusd -v
radiusd: FreeRADIUS Version 3.0.18, for host x86_64-suse-linux-gnu, built on Mar 4 2019 at 00:00
FreeRADIUS Version 3.0.18
I run the radius-daemon inside of gdb with dumps enabled:
Starting program: /usr/sbin/radiusd -f -d /etc/raddb
...
*** Error in `/usr/sbin/radiusd': double free or corruption (fasttop): 0x00007fffe8009b40 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x7411f)[0x7ffff60ba11f]
/lib64/libc.so.6(+0x79596)[0x7ffff60bf596]
/lib64/libc.so.6(+0x7a3db)[0x7ffff60c03db]
/usr/lib64/libtalloc.so.2(+0x300d)[0x7ffff6e7a00d]
/usr/lib64/libtalloc.so.2(+0x2d87)[0x7ffff6e79d87]
/usr/lib64/libtalloc.so.2(+0x2d87)[0x7ffff6e79d87]
/usr/sbin/radiusd(+0x37ae7)[0x55555558bae7]
/usr/sbin/radiusd(+0x3a14d)[0x55555558e14d]
/usr/lib64/freeradius/libfreeradius-radius.so(fr_event_run+0x74)[0x7ffff79928d4]
/usr/lib64/freeradius/libfreeradius-radius.so(fr_event_loop+0x2c9)[0x7ffff7992ec9]
/usr/sbin/radiusd(main+0x706)[0x555555569f06]
/lib64/libc.so.6(__libc_start_main+0xf5)[0x7ffff6066725]
/usr/sbin/radiusd(_start+0x29)[0x55555556a239]
Thread 1 "radiusd" received signal SIGABRT, Aborted.
0x00007ffff607af97 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55
55 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb)
(gdb) bt
#0 0x00007ffff607af97 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55
#1 0x00007ffff607c36a in __GI_abort () at abort.c:78
#2 0x00007ffff60ba124 in __libc_message (do_abort=do_abort@entry=2, fmt=fmt@entry=0x7ffff61b3f48 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/posix/libc_fatal.c:175
#3 0x00007ffff60bf596 in malloc_printerr (action=3, str=0x7ffff61b40a0 "double free or corruption (fasttop)", ptr=<optimized out>, ar_ptr=<optimized out>) at malloc.c:5018
#4 0x00007ffff60c03db in _int_free (av=0x7fffe8000020, p=<optimized out>, have_lock=0) at malloc.c:3872
#5 0x00007ffff6e7a00d in _tc_free_internal (tc=0x7fffe8009b40, location=0x5555555b02ea "src/main/process.c:604") at ../talloc.c:1148
#6 0x00007ffff6e79d87 in _tc_free_children_internal (location=0x5555555b02ea "src/main/process.c:604", ptr=0x7fffe801cb80, tc=0x7fffe801cb20) at ../talloc.c:1593
#7 _tc_free_internal (location=0x5555555b02ea "src/main/process.c:604", tc=0x7fffe801cb20) at ../talloc.c:1104
#8 _tc_free_children_internal (location=0x5555555b02ea "src/main/process.c:604", ptr=0x555555c80a60, tc=0x555555c80a00) at ../talloc.c:1593
#9 _tc_free_internal (tc=0x555555c80a00, location=0x5555555b02ea "src/main/process.c:604") at ../talloc.c:1104
#10 0x00007ffff6e79d87 in _tc_free_children_internal (location=0x5555555b02ea "src/main/process.c:604", ptr=0x555555c808b0, tc=0x555555c80850) at ../talloc.c:1593
#11 _tc_free_internal (location=0x5555555b02ea "src/main/process.c:604", tc=0x555555c80850) at ../talloc.c:1104
#12 _tc_free_children_internal (location=0x5555555b02ea "src/main/process.c:604", ptr=0x555555c80690, tc=0x555555c80630) at ../talloc.c:1593
#13 _tc_free_internal (tc=0x555555c80630, location=0x5555555b02ea "src/main/process.c:604") at ../talloc.c:1104
#14 0x000055555558bae7 in request_done (request=request@entry=0x555555c808b0, action=<optimized out>, action@entry=2) at src/main/process.c:899
#15 0x000055555558e14d in request_cleanup_delay (request=0x555555c808b0, action=<optimized out>) at src/main/process.c:1212
#16 0x00007ffff79928d4 in fr_event_run (el=el@entry=0x555555bd60b0, when=when@entry=0x7fffffffe350) at src/lib/event.c:309
#17 0x00007ffff7992ec9 in fr_event_loop (el=0x555555bd60b0) at src/lib/event.c:632
#18 0x0000555555569f06 in main (argc=<optimized out>, argv=<optimized out>) at src/main/radiusd.c:611
The crash occures always within a few hours,
sometimes soon after startup.
Version 2.x with a similar setup runs stable.
I didn't provide the output of -X because it
contains sensible data, but I could provide
cleaned logs and configs, if needed.
Thanks and greetings,
Daniel
4
15
Hello,
I have an issue with FreeRADIUS 4.0.x and Redis cluster. When I shut
down one of the nodes (all have freeradius and use redis cluster),
redis recovers and cluster state is OK but it seems freeradius doesn't
refresh cluster topology, and when I send a packet to one of the
working nodes it is trying to send command to node that is down and
then just hangs and doesn't return response. I cannot stop radiusd
after that (i.e. ctrl+c doesn't work) and it must be killed.
The last line in log is this, and nothing is printed after that:
Debug : (7) rediswho - [16] >>> Sending command(s) to
192.168.1.8:7004 (fr_redis_cluster_state_init)
Btw. I changed the message in cluster.c just to confirm which function
is called (there are two same Sending command(s) msg in that file), it
is this line https://github.com/FreeRADIUS/freeradius-server/blob/master/src/lib/redis/c…
.
So 192.168.1.8 is the node that I shut down to test high availability,
and I send packet after redis is recovered.
This doesn't happen when I shut down the other node, I can see in log
how radius refreshes cluster topology and everything just continues to
work. Before every test, I always make sure cluster state is ok and
master/slaves are in balance on all nodes.
Attached is a log file I get with `radiusd -X` on the node that fails
and hangs after it tries to contact node that is down.
Thanks,
Milan
2
9
Hi all,
I understand my issue is not unique. I have a Samba DC running samba
4.6.7 on Ubuntu 16.04. I'm now trying to set up FreeRADIUS 3 (3.0.16)
with SMB 4.7.6 on Ubuntu 18.04 to authenticate against the Samba DC.
Running "radtest aduser password localhost:18120 0 testing123" works.
Running "radtest -t mschap aduser password localhost:18120 0 testing123"
does not work. I have added this into the smb.conf on both servers:
ntlm auth = yes
I have been basically following these tutorials:
* https://blog.svedr.in/posts/freeradius-peapv0+mschapv2-howto/
* http://deployingradius.com/documents/configuration/active_directory.html
*
https://wiki.samba.org/index.php/Authenticating_Freeradius_against_Active_D…
I would also like to add a comment on the fact that I cannot restart
smbd on the DC if I put the following line (nothing in the Samba log nor
syslog):
ntlm auth = mschapv2-and-ntlmv2-only
I have also tried to set up a Microsoft Radius server (join it to the
same domain), but got the same results ("wrong password"), so I actually
suspect there might be something wrong with the Samba DC. Unfortunately,
I couldn't find so much information on how the DC should be.
Here's my full debug:
main {
security {
user = "freerad"
group = "freerad"
allow_core_dumps = no
}
name = "freeradius"
prefix = "/usr"
localstatedir = "/var"
logdir = "/var/log/freeradius"
run_dir = "/var/run/freeradius"
}
main {
name = "freeradius"
prefix = "/usr"
localstatedir = "/var"
sbindir = "/usr/sbin"
logdir = "/var/log/freeradius"
run_dir = "/var/run/freeradius"
libdir = "/usr/lib/freeradius"
radacctdir = "/var/log/freeradius/radacct"
hostname_lookups = no
max_request_time = 30
cleanup_delay = 5
max_requests = 16384
pidfile = "/var/run/freeradius/freeradius.pid"
checkrad = "/usr/sbin/checkrad"
debug_level = 0
proxy_requests = yes
log {
stripped_names = no
auth = no
auth_badpass = no
auth_goodpass = no
colourise = yes
msg_denied = "You are already logged in - access denied"
}
resources {
}
security {
max_attributes = 200
reject_delay = 1.000000
status_server = yes
}
}
radiusd: #### Loading Realms and Home Servers ####
proxy server {
retry_delay = 5
retry_count = 3
default_fallback = no
dead_time = 120
wake_all_if_all_dead = no
}
home_server localhost {
ipaddr = 127.0.0.1
port = 1812
type = "auth"
secret = <<< secret >>>
response_window = 20.000000
response_timeouts = 1
max_outstanding = 65536
zombie_period = 40
status_check = "status-server"
ping_interval = 30
check_interval = 30
check_timeout = 4
num_answers_to_alive = 3
revive_interval = 120
limit {
max_connections = 16
max_requests = 0
lifetime = 0
idle_timeout = 0
}
coa {
irt = 2
mrt = 16
mrc = 5
mrd = 30
}
}
home_server_pool my_auth_failover {
type = fail-over
home_server = localhost
}
realm example.com {
auth_pool = my_auth_failover
}
realm LOCAL {
}
radiusd: #### Loading Clients ####
client localhost {
ipaddr = 127.0.0.1
require_message_authenticator = no
secret = <<< secret >>>
nas_type = "other"
proto = "*"
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client localhost_ipv6 {
ipv6addr = ::1
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
Debugger not attached
# Creating Auth-Type = ntlm_auth
# Creating Auth-Type = eap
# Creating Auth-Type = PAP
# Creating Auth-Type = CHAP
# Creating Auth-Type = MS-CHAP
radiusd: #### Instantiating modules ####
modules {
# Loaded module rlm_linelog
# Loading module "linelog" from file
/etc/freeradius/3.0/mods-enabled/linelog
linelog {
filename = "/var/log/freeradius/linelog"
escape_filenames = no
syslog_severity = "info"
permissions = 384
format = "This is a log message for %{User-Name}"
reference = "messages.%{%{reply:Packet-Type}:-default}"
}
# Loading module "log_accounting" from file
/etc/freeradius/3.0/mods-enabled/linelog
linelog log_accounting {
filename = "/var/log/freeradius/linelog-accounting"
escape_filenames = no
syslog_severity = "info"
permissions = 384
format = ""
reference = "Accounting-Request.%{%{Acct-Status-Type}:-unknown}"
}
# Loaded module rlm_radutmp
# Loading module "sradutmp" from file
/etc/freeradius/3.0/mods-enabled/sradutmp
radutmp sradutmp {
filename = "/var/log/freeradius/sradutmp"
username = "%{User-Name}"
case_sensitive = yes
check_with_nas = yes
permissions = 420
caller_id = no
}
# Loaded module rlm_exec
# Loading module "echo" from file /etc/freeradius/3.0/mods-enabled/echo
exec echo {
wait = yes
program = "/bin/echo %{User-Name}"
input_pairs = "request"
output_pairs = "reply"
shell_escape = yes
}
# Loading module "radutmp" from file
/etc/freeradius/3.0/mods-enabled/radutmp
radutmp {
filename = "/var/log/freeradius/radutmp"
username = "%{User-Name}"
case_sensitive = yes
check_with_nas = yes
permissions = 384
caller_id = yes
}
# Loaded module rlm_always
# Loading module "reject" from file
/etc/freeradius/3.0/mods-enabled/always
always reject {
rcode = "reject"
simulcount = 0
mpp = no
}
# Loading module "fail" from file /etc/freeradius/3.0/mods-enabled/always
always fail {
rcode = "fail"
simulcount = 0
mpp = no
}
# Loading module "ok" from file /etc/freeradius/3.0/mods-enabled/always
always ok {
rcode = "ok"
simulcount = 0
mpp = no
}
# Loading module "handled" from file
/etc/freeradius/3.0/mods-enabled/always
always handled {
rcode = "handled"
simulcount = 0
mpp = no
}
# Loading module "invalid" from file
/etc/freeradius/3.0/mods-enabled/always
always invalid {
rcode = "invalid"
simulcount = 0
mpp = no
}
# Loading module "userlock" from file
/etc/freeradius/3.0/mods-enabled/always
always userlock {
rcode = "userlock"
simulcount = 0
mpp = no
}
# Loading module "notfound" from file
/etc/freeradius/3.0/mods-enabled/always
always notfound {
rcode = "notfound"
simulcount = 0
mpp = no
}
# Loading module "noop" from file /etc/freeradius/3.0/mods-enabled/always
always noop {
rcode = "noop"
simulcount = 0
mpp = no
}
# Loading module "updated" from file
/etc/freeradius/3.0/mods-enabled/always
always updated {
rcode = "updated"
simulcount = 0
mpp = no
}
# Loaded module rlm_dynamic_clients
# Loading module "dynamic_clients" from file
/etc/freeradius/3.0/mods-enabled/dynamic_clients
# Loaded module rlm_passwd
# Loading module "etc_passwd" from file
/etc/freeradius/3.0/mods-enabled/passwd
passwd etc_passwd {
filename = "/etc/passwd"
format = "*User-Name:Crypt-Password:"
delimiter = ":"
ignore_nislike = no
ignore_empty = yes
allow_multiple_keys = no
hash_size = 100
}
# Loaded module rlm_cache
# Loading module "cache_eap" from file
/etc/freeradius/3.0/mods-enabled/cache_eap
cache cache_eap {
driver = "rlm_cache_rbtree"
key = "%{%{control:State}:-%{%{reply:State}:-%{State}}}"
ttl = 15
max_entries = 0
epoch = 0
add_stats = no
}
# Loaded module rlm_attr_filter
# Loading module "attr_filter.post-proxy" from file
/etc/freeradius/3.0/mods-enabled/attr_filter
attr_filter attr_filter.post-proxy {
filename = "/etc/freeradius/3.0/mods-config/attr_filter/post-proxy"
key = "%{Realm}"
relaxed = no
}
# Loading module "attr_filter.pre-proxy" from file
/etc/freeradius/3.0/mods-enabled/attr_filter
attr_filter attr_filter.pre-proxy {
filename = "/etc/freeradius/3.0/mods-config/attr_filter/pre-proxy"
key = "%{Realm}"
relaxed = no
}
# Loading module "attr_filter.access_reject" from file
/etc/freeradius/3.0/mods-enabled/attr_filter
attr_filter attr_filter.access_reject {
filename =
"/etc/freeradius/3.0/mods-config/attr_filter/access_reject"
key = "%{User-Name}"
relaxed = no
}
# Loading module "attr_filter.access_challenge" from file
/etc/freeradius/3.0/mods-enabled/attr_filter
attr_filter attr_filter.access_challenge {
filename =
"/etc/freeradius/3.0/mods-config/attr_filter/access_challenge"
key = "%{User-Name}"
relaxed = no
}
# Loading module "attr_filter.accounting_response" from file
/etc/freeradius/3.0/mods-enabled/attr_filter
attr_filter attr_filter.accounting_response {
filename =
"/etc/freeradius/3.0/mods-config/attr_filter/accounting_response"
key = "%{User-Name}"
relaxed = no
}
# Loaded module rlm_files
# Loading module "files" from file /etc/freeradius/3.0/mods-enabled/files
files {
filename = "/etc/freeradius/3.0/mods-config/files/authorize"
acctusersfile = "/etc/freeradius/3.0/mods-config/files/accounting"
preproxy_usersfile =
"/etc/freeradius/3.0/mods-config/files/pre-proxy"
}
# Loaded module rlm_realm
# Loading module "IPASS" from file /etc/freeradius/3.0/mods-enabled/realm
realm IPASS {
format = "prefix"
delimiter = "/"
ignore_default = no
ignore_null = no
}
# Loading module "suffix" from file
/etc/freeradius/3.0/mods-enabled/realm
realm suffix {
format = "suffix"
delimiter = "@"
ignore_default = no
ignore_null = no
}
# Loading module "realmpercent" from file
/etc/freeradius/3.0/mods-enabled/realm
realm realmpercent {
format = "suffix"
delimiter = "%"
ignore_default = no
ignore_null = no
}
# Loading module "ntdomain" from file
/etc/freeradius/3.0/mods-enabled/realm
realm ntdomain {
format = "prefix"
delimiter = "\\"
ignore_default = no
ignore_null = no
}
# Loaded module rlm_pap
# Loading module "pap" from file /etc/freeradius/3.0/mods-enabled/pap
pap {
normalise = yes
}
# Loaded module rlm_eap
# Loading module "eap" from file /etc/freeradius/3.0/mods-enabled/eap
eap {
default_eap_type = "md5"
timer_expire = 60
ignore_unknown_eap_types = no
cisco_accounting_username_bug = no
max_sessions = 16384
}
# Loading module "ntlm_auth" from file
/etc/freeradius/3.0/mods-enabled/ntlm_auth
exec ntlm_auth {
wait = yes
program = "/usr/bin/ntlm_auth --request-nt-key
--domain=MY.DOMAIN.COM --username=%{mschap:User-Name}
--password=%{User-Password}"
shell_escape = yes
}
# Loaded module rlm_utf8
# Loading module "utf8" from file /etc/freeradius/3.0/mods-enabled/utf8
# Loaded module rlm_logintime
# Loading module "logintime" from file
/etc/freeradius/3.0/mods-enabled/logintime
logintime {
minimum_timeout = 60
}
# Loaded module rlm_expr
# Loading module "expr" from file /etc/freeradius/3.0/mods-enabled/expr
expr {
safe_characters =
"@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_:
/äéöüàâæçèéêëîïôœùûüaÿÄÉÖÜßÀÂÆÇÈÉÊËÎÏÔŒÙÛÜŸ"
}
# Loaded module rlm_chap
# Loading module "chap" from file /etc/freeradius/3.0/mods-enabled/chap
# Loaded module rlm_detail
# Loading module "auth_log" from file
/etc/freeradius/3.0/mods-enabled/detail.log
detail auth_log {
filename =
"/var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
escape_filenames = no
log_packet_header = no
}
# Loading module "reply_log" from file
/etc/freeradius/3.0/mods-enabled/detail.log
detail reply_log {
filename =
"/var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/reply-detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
escape_filenames = no
log_packet_header = no
}
# Loading module "pre_proxy_log" from file
/etc/freeradius/3.0/mods-enabled/detail.log
detail pre_proxy_log {
filename =
"/var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/pre-proxy-detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
escape_filenames = no
log_packet_header = no
}
# Loading module "post_proxy_log" from file
/etc/freeradius/3.0/mods-enabled/detail.log
detail post_proxy_log {
filename =
"/var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/post-proxy-detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
escape_filenames = no
log_packet_header = no
}
# Loaded module rlm_unpack
# Loading module "unpack" from file
/etc/freeradius/3.0/mods-enabled/unpack
# Loaded module rlm_mschap
# Loading module "mschap" from file
/etc/freeradius/3.0/mods-enabled/mschap
mschap {
use_mppe = yes
require_encryption = no
require_strong = no
with_ntdomain_hack = yes
ntlm_auth = "/usr/bin/ntlm_auth --allow-mschapv2
--request-nt-key --username=%{mschap:User-Name:-None}
--domain=%{%{mschap:NT-Domain}:-MY.DOMAIN.COM}
--challenge=%{mschap:Challenge:-00} --nt-response=%{mschap:NT-Response:-00}"
passchange {
}
allow_retry = yes
winbind_retry_with_normalised_username = no
}
# Loading module "detail" from file
/etc/freeradius/3.0/mods-enabled/detail
detail {
filename =
"/var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
escape_filenames = no
log_packet_header = no
}
# Loaded module rlm_expiration
# Loading module "expiration" from file
/etc/freeradius/3.0/mods-enabled/expiration
# Loaded module rlm_soh
# Loading module "soh" from file /etc/freeradius/3.0/mods-enabled/soh
soh {
dhcp = yes
}
# Loaded module rlm_replicate
# Loading module "replicate" from file
/etc/freeradius/3.0/mods-enabled/replicate
# Loaded module rlm_digest
# Loading module "digest" from file
/etc/freeradius/3.0/mods-enabled/digest
# Loading module "exec" from file /etc/freeradius/3.0/mods-enabled/exec
exec {
wait = no
input_pairs = "request"
shell_escape = yes
timeout = 10
}
# Loaded module rlm_unix
# Loading module "unix" from file /etc/freeradius/3.0/mods-enabled/unix
unix {
radwtmp = "/var/log/freeradius/radwtmp"
}
Creating attribute Unix-Group
# Loaded module rlm_preprocess
# Loading module "preprocess" from file
/etc/freeradius/3.0/mods-enabled/preprocess
preprocess {
huntgroups =
"/etc/freeradius/3.0/mods-config/preprocess/huntgroups"
hints = "/etc/freeradius/3.0/mods-config/preprocess/hints"
with_ascend_hack = no
ascend_channels_per_line = 23
with_ntdomain_hack = no
with_specialix_jetstream_hack = no
with_cisco_vsa_hack = no
with_alvarion_vsa_hack = no
}
instantiate {
}
# Instantiating module "linelog" from file
/etc/freeradius/3.0/mods-enabled/linelog
# Instantiating module "log_accounting" from file
/etc/freeradius/3.0/mods-enabled/linelog
# Instantiating module "reject" from file
/etc/freeradius/3.0/mods-enabled/always
# Instantiating module "fail" from file
/etc/freeradius/3.0/mods-enabled/always
# Instantiating module "ok" from file
/etc/freeradius/3.0/mods-enabled/always
# Instantiating module "handled" from file
/etc/freeradius/3.0/mods-enabled/always
# Instantiating module "invalid" from file
/etc/freeradius/3.0/mods-enabled/always
# Instantiating module "userlock" from file
/etc/freeradius/3.0/mods-enabled/always
# Instantiating module "notfound" from file
/etc/freeradius/3.0/mods-enabled/always
# Instantiating module "noop" from file
/etc/freeradius/3.0/mods-enabled/always
# Instantiating module "updated" from file
/etc/freeradius/3.0/mods-enabled/always
# Instantiating module "etc_passwd" from file
/etc/freeradius/3.0/mods-enabled/passwd
rlm_passwd: nfields: 3 keyfield 0(User-Name) listable: no
# Instantiating module "cache_eap" from file
/etc/freeradius/3.0/mods-enabled/cache_eap
rlm_cache (cache_eap): Driver rlm_cache_rbtree (module rlm_cache_rbtree)
loaded and linked
# Instantiating module "attr_filter.post-proxy" from file
/etc/freeradius/3.0/mods-enabled/attr_filter
reading pairlist file /etc/freeradius/3.0/mods-config/attr_filter/post-proxy
# Instantiating module "attr_filter.pre-proxy" from file
/etc/freeradius/3.0/mods-enabled/attr_filter
reading pairlist file /etc/freeradius/3.0/mods-config/attr_filter/pre-proxy
# Instantiating module "attr_filter.access_reject" from file
/etc/freeradius/3.0/mods-enabled/attr_filter
reading pairlist file
/etc/freeradius/3.0/mods-config/attr_filter/access_reject
[/etc/freeradius/3.0/mods-config/attr_filter/access_reject]:11 Check
item "FreeRADIUS-Response-Delay" found in filter list for realm "DEFAULT".
[/etc/freeradius/3.0/mods-config/attr_filter/access_reject]:11 Check
item "FreeRADIUS-Response-Delay-USec" found in filter list for
realm "DEFAULT".
# Instantiating module "attr_filter.access_challenge" from file
/etc/freeradius/3.0/mods-enabled/attr_filter
reading pairlist file
/etc/freeradius/3.0/mods-config/attr_filter/access_challenge
# Instantiating module "attr_filter.accounting_response" from file
/etc/freeradius/3.0/mods-enabled/attr_filter
reading pairlist file
/etc/freeradius/3.0/mods-config/attr_filter/accounting_response
# Instantiating module "files" from file
/etc/freeradius/3.0/mods-enabled/files
reading pairlist file /etc/freeradius/3.0/mods-config/files/authorize
reading pairlist file /etc/freeradius/3.0/mods-config/files/accounting
reading pairlist file /etc/freeradius/3.0/mods-config/files/pre-proxy
# Instantiating module "IPASS" from file
/etc/freeradius/3.0/mods-enabled/realm
# Instantiating module "suffix" from file
/etc/freeradius/3.0/mods-enabled/realm
# Instantiating module "realmpercent" from file
/etc/freeradius/3.0/mods-enabled/realm
# Instantiating module "ntdomain" from file
/etc/freeradius/3.0/mods-enabled/realm
# Instantiating module "pap" from file
/etc/freeradius/3.0/mods-enabled/pap
# Instantiating module "eap" from file
/etc/freeradius/3.0/mods-enabled/eap
# Linked to sub-module rlm_eap_md5
# Linked to sub-module rlm_eap_leap
# Linked to sub-module rlm_eap_gtc
gtc {
challenge = "Password: "
auth_type = "PAP"
}
# Linked to sub-module rlm_eap_tls
tls {
tls = "tls-common"
}
tls-config tls-common {
verify_depth = 0
ca_path = "/etc/freeradius/3.0/certs"
pem_file_type = yes
private_key_file = "/etc/ssl/private/ssl-cert-snakeoil.key"
certificate_file = "/etc/ssl/certs/ssl-cert-snakeoil.pem"
ca_file = "/etc/ssl/certs/ca-certificates.crt"
private_key_password = <<< secret >>>
dh_file = "/etc/freeradius/3.0/certs/dh"
fragment_size = 1024
include_length = yes
auto_chain = yes
check_crl = no
check_all_crl = no
cipher_list = "DEFAULT"
cipher_server_preference = no
ecdh_curve = "prime256v1"
tls_max_version = ""
tls_min_version = "1.0"
cache {
enable = no
lifetime = 24
max_entries = 255
}
verify {
skip_if_ocsp_ok = no
}
ocsp {
enable = no
override_cert_url = yes
url = "http://127.0.0.1/ocsp/"
use_nonce = yes
timeout = 0
softfail = no
}
}
# Linked to sub-module rlm_eap_ttls
ttls {
tls = "tls-common"
default_eap_type = "md5"
copy_request_to_tunnel = no
use_tunneled_reply = no
virtual_server = "inner-tunnel"
include_length = yes
require_client_cert = no
}
tls: Using cached TLS configuration from previous invocation
# Linked to sub-module rlm_eap_peap
peap {
tls = "tls-common"
default_eap_type = "mschapv2"
copy_request_to_tunnel = no
use_tunneled_reply = no
proxy_tunneled_request_as_eap = yes
virtual_server = "inner-tunnel"
soh = no
require_client_cert = no
}
tls: Using cached TLS configuration from previous invocation
# Linked to sub-module rlm_eap_mschapv2
mschapv2 {
with_ntdomain_hack = no
send_error = no
}
# Instantiating module "logintime" from file
/etc/freeradius/3.0/mods-enabled/logintime
# Instantiating module "auth_log" from file
/etc/freeradius/3.0/mods-enabled/detail.log
rlm_detail (auth_log): 'User-Password' suppressed, will not appear in
detail output
# Instantiating module "reply_log" from file
/etc/freeradius/3.0/mods-enabled/detail.log
# Instantiating module "pre_proxy_log" from file
/etc/freeradius/3.0/mods-enabled/detail.log
# Instantiating module "post_proxy_log" from file
/etc/freeradius/3.0/mods-enabled/detail.log
# Instantiating module "mschap" from file
/etc/freeradius/3.0/mods-enabled/mschap
rlm_mschap (mschap): authenticating by calling 'ntlm_auth'
# Instantiating module "detail" from file
/etc/freeradius/3.0/mods-enabled/detail
# Instantiating module "expiration" from file
/etc/freeradius/3.0/mods-enabled/expiration
# Instantiating module "preprocess" from file
/etc/freeradius/3.0/mods-enabled/preprocess
reading pairlist file /etc/freeradius/3.0/mods-config/preprocess/huntgroups
reading pairlist file /etc/freeradius/3.0/mods-config/preprocess/hints
} # modules
radiusd: #### Loading Virtual Servers ####
server { # from file /etc/freeradius/3.0/radiusd.conf
} # server
server inner-tunnel { # from file
/etc/freeradius/3.0/sites-enabled/inner-tunnel
# Loading authenticate {...}
# Loading authorize {...}
# Loading session {...}
# Loading post-proxy {...}
# Loading post-auth {...}
} # server inner-tunnel
radiusd: #### Opening IP addresses and Ports ####
listen {
type = "auth"
ipaddr = 127.0.0.1
port = 18120
}
Listening on auth address 127.0.0.1 port 18120 bound to server inner-tunnel
Listening on proxy address * port 57211
Ready to process requests
(0) Received Access-Request Id 49 from 127.0.0.1:46133 to
127.0.0.1:18120 length 77
(0) User-Name = "myusername"
(0) User-Password = "Mcm6jT2UJvjAjJ"
(0) NAS-IP-Address = 10.84.55.38
(0) NAS-Port = 0
(0) Message-Authenticator = 0x17ea111ceca2d0d953d674a38ba4005a
(0) # Executing section authorize from file
/etc/freeradius/3.0/sites-enabled/inner-tunnel
(0) authorize {
(0) [chap] = noop
(0) [mschap] = noop
(0) suffix: Checking for suffix after "@"
(0) suffix: No '@' in User-Name = "myusername", looking up realm NULL
(0) suffix: No such realm "NULL"
(0) [suffix] = noop
(0) update control {
(0) Proxy-To-Realm := LOCAL
(0) } # update control = noop
(0) eap: No EAP-Message, not doing EAP
(0) [eap] = noop
(0) files: users: Matched entry DEFAULT at line 1
(0) [files] = ok
(0) [expiration] = noop
(0) [logintime] = noop
(0) [pap] = noop
(0) } # authorize = ok
(0) Found Auth-Type = ntlm_auth
(0) # Executing group from file
/etc/freeradius/3.0/sites-enabled/inner-tunnel
(0) authenticate {
(0) ntlm_auth: Executing: /usr/bin/ntlm_auth --request-nt-key
--domain=MY.DOMAIN.COM --username=%{mschap:User-Name}
--password=%{User-Password}:
(0) ntlm_auth: EXPAND --username=%{mschap:User-Name}
(0) ntlm_auth: --> --username=myusername
(0) ntlm_auth: EXPAND --password=%{User-Password}
(0) ntlm_auth: --> --password=Mcm6jT2UJvjAjJ
(0) ntlm_auth: Program returned code (0) and output 'NT_STATUS_OK: The
operation completed successfully. (0x0)'
(0) ntlm_auth: Program executed successfully
(0) [ntlm_auth] = ok
(0) } # authenticate = ok
(0) # Executing section post-auth from file
/etc/freeradius/3.0/sites-enabled/inner-tunnel
(0) Sent Access-Accept Id 49 from 127.0.0.1:18120 to 127.0.0.1:46133
length 0
(0) Finished request
Waking up in 4.9 seconds.
(1) Received Access-Request Id 15 from 127.0.0.1:52276 to
127.0.0.1:18120 length 133
(1) User-Name = "myusername"
(1) NAS-IP-Address = 10.84.55.38
(1) NAS-Port = 0
(1) Message-Authenticator = 0x7cab8514fdd0be90fbade3e2c6dfe9fe
(1) MS-CHAP-Challenge = 0xf41573e4ef540d65
(1) MS-CHAP-Response =
0x0001000000000000000000000000000000000000000000000000f9f84187630f12e1a1b2fd622925f23d6af05b8dd8e5ebb5
(1) # Executing section authorize from file
/etc/freeradius/3.0/sites-enabled/inner-tunnel
(1) authorize {
(1) [chap] = noop
(1) mschap: Found MS-CHAP attributes. Setting 'Auth-Type = mschap'
(1) [mschap] = ok
(1) suffix: Checking for suffix after "@"
(1) suffix: No '@' in User-Name = "myusername", looking up realm NULL
(1) suffix: No such realm "NULL"
(1) [suffix] = noop
(1) update control {
(1) Proxy-To-Realm := LOCAL
(1) } # update control = noop
(1) eap: No EAP-Message, not doing EAP
(1) [eap] = noop
(1) files: users: Matched entry DEFAULT at line 1
(1) [files] = ok
(1) [expiration] = noop
(1) [logintime] = noop
(1) [pap] = noop
(1) } # authorize = ok
(1) Found Auth-Type = MS-CHAP
(1) # Executing group from file
/etc/freeradius/3.0/sites-enabled/inner-tunnel
(1) Auth-Type MS-CHAP {
(1) mschap: Client is using MS-CHAPv1 with NT-Password
(1) mschap: Executing: /usr/bin/ntlm_auth --allow-mschapv2
--request-nt-key --username=%{mschap:User-Name:-None}
--domain=%{%{mschap:NT-Domain}:-MY.DOMAIN.COM}
--challenge=%{mschap:Challenge:-00} --nt-response=%{mschap:NT-Response:-00}:
(1) mschap: EXPAND --username=%{mschap:User-Name:-None}
(1) mschap: --> --username=myusername
(1) mschap: ERROR: No NT-Domain was found in the User-Name
(1) mschap: EXPAND --domain=%{%{mschap:NT-Domain}:-MY.DOMAIN.COM}
(1) mschap: --> --domain=MY.DOMAIN.COM
(1) mschap: mschap1: f4
(1) mschap: EXPAND --challenge=%{mschap:Challenge:-00}
(1) mschap: --> --challenge=f41573e4ef540d65
(1) mschap: EXPAND --nt-response=%{mschap:NT-Response:-00}
(1) mschap: -->
--nt-response=f9f84187630f12e1a1b2fd622925f23d6af05b8dd8e5ebb5
(1) mschap: ERROR: Program returned code (1) and output 'The attempted
logon is invalid. This is either due to a bad username or authentication
information. (0xc000006d)'
(1) mschap: External script failed
(1) mschap: ERROR: External script says: The attempted logon is invalid.
This is either due to a bad username or authentication information.
(0xc000006d)
(1) mschap: ERROR: MS-CHAP2-Response is incorrect
(1) [mschap] = reject
(1) } # Auth-Type MS-CHAP = reject
(1) Failed to authenticate the user
(1) Using Post-Auth-Type Reject
(1) # Executing group from file
/etc/freeradius/3.0/sites-enabled/inner-tunnel
(1) Post-Auth-Type REJECT {
(1) attr_filter.access_reject: EXPAND %{User-Name}
(1) attr_filter.access_reject: --> myusername
(1) attr_filter.access_reject: Matched entry DEFAULT at line 11
(1) [attr_filter.access_reject] = updated
(1) } # Post-Auth-Type REJECT = updated
(1) Delaying response for 1.000000 seconds
Waking up in 0.3 seconds.
Waking up in 0.6 seconds.
(1) Sending delayed response
(1) Sent Access-Reject Id 15 from 127.0.0.1:18120 to 127.0.0.1:52276
length 61
(1) MS-CHAP-Error = "\000E=691 R=1 C=ec6840b4c19cf4a4 V=2"
Waking up in 1.4 seconds.
(0) Cleaning up request packet ID 49 with timestamp +6
Waking up in 2.5 seconds.
(1) Cleaning up request packet ID 15 with timestamp +9
Ready to process requests
Thanks a lot in advance.
Oleg
2
3
Hi,
I've tried to find a way of detail logging the packets sent by
freeradius to the client in the authentication phase but didn't found
a way of doing it. Maybe I've not looked correctly so I'm asking if
it's actually possible?
I was able to log detailed packets sent by the client (Response
packets) but not the ones sent by freeradius to the client (except
accounting and proxied ones).
Thanks for your time.
Jean-François Mousinho
4
6
Hello there good people of FreeRadius,
I got a bit of an issue setting up authentication between <whatever_service_will_use_radius> and the backend FreeIPA cluster.
Been trying different approaches for a while but it keeps failing when it tries to do a bind with the user to LDAP. I'm pretty sure there is something small but fundamental I'm missing here and have spent way too much time trying to figure it out on my own.
Below is the debug log which should give you all the details but please feel free to ask if anything there is unclear.
FreeRADIUS Version 3.0.13
Copyright (C) 1999-2017 The FreeRADIUS server project and contributors
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE
You may redistribute copies of FreeRADIUS under the terms of the
GNU General Public License
For more information about these matters, see the file named COPYRIGHT
Starting - reading configuration files ...
including dictionary file /usr/share/freeradius/dictionary
including dictionary file /usr/share/freeradius/dictionary.dhcp
including dictionary file /usr/share/freeradius/dictionary.vqp
including dictionary file /etc/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/dhcp
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 configuration file /etc/raddb/mods-enabled/krb5
including configuration file /etc/raddb/mods-enabled/ldap
including files in directory /etc/raddb/policy.d/
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/operator-name
including configuration file /etc/raddb/policy.d/vpn-access_authorization
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 = "radiusd"
group = "radiusd"
allow_core_dumps = no
}
name = "radiusd"
prefix = "/usr"
localstatedir = "/var"
logdir = "/var/log/radius"
run_dir = "/var/run/radiusd"
}
main {
name = "radiusd"
prefix = "/usr"
localstatedir = "/var"
sbindir = "/usr/sbin"
logdir = "/var/log/radius"
run_dir = "/var/run/radiusd"
libdir = "/usr/lib64/freeradius"
radacctdir = "/var/log/radius/radacct"
hostname_lookups = yes
max_request_time = 30
cleanup_delay = 5
max_requests = 16384
pidfile = "/var/run/radiusd/radiusd.pid"
checkrad = "/usr/sbin/checkrad"
debug_level = 0
proxy_requests = yes
log {
stripped_names = no
auth = yes
auth_badpass = yes
auth_goodpass = yes
msg_denied = "You are already logged in - access denied"
}
resources {
}
security {
max_attributes = 200
reject_delay = 2.000000
status_server = yes
}
}
radiusd: #### Loading Realms and Home Servers ####
proxy server {
retry_delay = 5
retry_count = 3
default_fallback = no
dead_time = 120
wake_all_if_all_dead = no
}
home_server localhost {
ipaddr = 127.0.0.1
port = 1812
type = "auth"
secret = <<< secret >>>
response_window = 20.000000
response_timeouts = 1
max_outstanding = 65536
zombie_period = 40
status_check = "status-server"
ping_interval = 30
check_interval = 30
check_timeout = 4
num_answers_to_alive = 3
revive_interval = 120
limit {
max_connections = 16
max_requests = 0
lifetime = 0
idle_timeout = 0
}
coa {
irt = 2
mrt = 16
mrc = 5
mrd = 30
}
}
home_server_pool my_auth_failover {
type = fail-over
home_server = localhost
}
realm example.com {
auth_pool = my_auth_failover
}
realm LOCAL {
}
radiusd: #### Loading Clients ####
client own-zone {
ipaddr = 10.22.0.0/16
require_message_authenticator = no
secret = <<< secret >>>
shortname = "softether-server"
nas_type = "other"
proto = "*"
limit {
max_connections = 128
lifetime = 86400
idle_timeout = 120
}
}
client localhost {
ipaddr = 127.0.0.1
require_message_authenticator = no
secret = <<< secret >>>
shortname = "localhost"
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
}
}
Debugger not attached
# Creating Auth-Type = PAP
# Creating Auth-Type = LDAP
# Creating Auth-Type = eap
# 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"
}
# 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_dhcp
# Loading module "dhcp" from file /etc/raddb/mods-enabled/dhcp
# 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 "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
# Loaded module rlm_krb5
# Loading module "krb5" from file /etc/raddb/mods-enabled/krb5
krb5 {
keytab = "/etc/raddb/radiusproxy.kt"
service_principal = "radius/radius1.domain@DOMAIN"
}
# Loaded module rlm_ldap
# Loading module "ldap" from file /etc/raddb/mods-enabled/ldap
ldap {
server = "ipa1.domain"
port = 389
identity = "uid=radiusproxy,cn=users,cn=accounts,dc=domain"
password = <<< secret >>>
sasl {
}
edir_autz = yes
user {
scope = "sub"
access_positive = yes
sasl {
}
}
group {
filter = "(objectClass=posixGroup)"
scope = "sub"
name_attribute = "cn"
membership_attribute = "memberOf"
cacheable_name = no
cacheable_dn = no
}
client {
scope = "sub"
base_dn = ""
}
profile {
}
options {
ldap_debug = 40
chase_referrals = yes
rebind = yes
net_timeout = 1
res_timeout = 5
srv_timelimit = 3
idle = 60
probes = 3
interval = 3
}
tls {
start_tls = no
}
}
Creating attribute LDAP-Group
# 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
[/etc/raddb/mods-config/attr_filter/access_reject]:11 Check item "FreeRADIUS-Response-Delay" found in filter list for realm "DEFAULT".
[/etc/raddb/mods-config/attr_filter/access_reject]:11 Check item "FreeRADIUS-Response-Delay-USec" found in filter list for realm "DEFAULT".
# Instantiating module "attr_filter.access_challenge" from file /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.pem"
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"
cache {
enable = no
lifetime = 24
max_entries = 255
}
verify {
skip_if_ocsp_ok = no
}
ocsp {
enable = no
override_cert_url = yes
url = "http://127.0.0.1/ocsp/"
use_nonce = yes
timeout = 0
softfail = no
}
}
# Linked to sub-module rlm_eap_ttls
ttls {
tls = "tls-common"
default_eap_type = "md5"
copy_request_to_tunnel = no
use_tunneled_reply = no
virtual_server = "inner-tunnel"
include_length = yes
require_client_cert = no
}
tls: Using cached TLS configuration from previous invocation
# Linked to sub-module rlm_eap_peap
peap {
tls = "tls-common"
default_eap_type = "mschapv2"
copy_request_to_tunnel = no
use_tunneled_reply = no
proxy_tunneled_request_as_eap = yes
virtual_server = "inner-tunnel"
soh = no
require_client_cert = no
}
tls: Using cached TLS configuration from previous invocation
# Linked to sub-module rlm_eap_mschapv2
mschapv2 {
with_ntdomain_hack = no
send_error = no
}
# Instantiating module "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 "realmpercent" from file /etc/raddb/mods-enabled/realm
# Instantiating module "ntdomain" from file /etc/raddb/mods-enabled/realm
# Instantiating module "krb5" from file /etc/raddb/mods-enabled/krb5
Using MIT Kerberos library
rlm_krb5 (krb5): Using service principal "radius/radius1.domain\@domain@"
rlm_krb5 (krb5): Using keytab "FILE:/etc/raddb/radiusproxy.kt"
rlm_krb5 (krb5): Initialising connection pool
pool {
start = 2
min = 2
max = 32
spare = 6
uses = 0
lifetime = 0
cleanup_interval = 30
idle_timeout = 0
retry_delay = 1
spread = no
}
rlm_krb5 (krb5): Opening additional connection (0), 1 of 32 pending slots used
rlm_krb5 (krb5): Opening additional connection (1), 1 of 31 pending slots used
# Instantiating module "ldap" from file /etc/raddb/mods-enabled/ldap
rlm_ldap: libldap vendor: OpenLDAP, version: 20444
accounting {
reference = "%{tolower:type.%{Acct-Status-Type}}"
}
post-auth {
reference = "."
}
rlm_ldap (ldap): Initialising connection pool
pool {
start = 2
min = 2
max = 32
spare = 6
uses = 0
lifetime = 0
cleanup_interval = 30
idle_timeout = 60
retry_delay = 30
spread = no
}
rlm_ldap (ldap): Opening additional connection (0), 1 of 32 pending slots used
rlm_ldap (ldap): Connecting to ldap://ipa1.domain:389
rlm_ldap (ldap): Waiting for bind result...
rlm_ldap (ldap): Bind successful
rlm_ldap (ldap): Opening additional connection (1), 1 of 31 pending slots used
rlm_ldap (ldap): Connecting to ldap://ipa1.domain:389
rlm_ldap (ldap): Waiting for bind result...
rlm_ldap (ldap): Bind successful
} # 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 {...}
# Loading preacct {...}
# Loading accounting {...}
Ignoring "sql" (see raddb/mods-available/README.rst)
# 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:47
} # server inner-tunnel
radiusd: #### Opening IP addresses and Ports ####
listen {
type = "auth"
ipv4addr = *
port = 0
limit {
max_connections = 0
lifetime = 0
idle_timeout = 30
}
}
listen {
type = "acct"
ipaddr = *
port = 0
limit {
max_pps = 0
max_connections = 0
lifetime = 0
idle_timeout = 0
}
}
listen {
type = "auth"
ipv6addr = ::
port = 0
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
listen {
type = "acct"
ipv6addr = ::
port = 0
limit {
max_pps = 0
max_connections = 0
lifetime = 0
idle_timeout = 0
}
}
listen {
type = "auth"
ipaddr = 127.0.0.1
port = 18120
}
Listening on auth interface ens5 address * port 1812 bound to server default
Listening on acct interface ens5 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 58143
Listening on proxy address :: port 48722
Ready to process requests
(0) Received Access-Request Id 188 from 10.22.11.127:47316 to 10.22.11.50:1812 length 81
(0) User-Name = "newldaptest"
(0) User-Password = "test123"
(0) NAS-IP-Address = 10.22.11.127
(0) NAS-Port = 0
(0) Message-Authenticator = 0x1b25a693c42e98c4ae514335e3d8a975
(0) # Executing section authorize from file /etc/raddb/sites-enabled/default
(0) authorize {
(0) pap: WARNING: No "known good" password found for the user. Not setting Auth-Type
(0) pap: WARNING: Authentication will fail unless a "known good" password is available
(0) [pap] = noop
(0) if (noop && User-Password) {
(0) if (noop && User-Password) -> TRUE
(0) if (noop && User-Password) {
(0) update control {
(0) Auth-Type := LDAP
(0) } # update control = noop
(0) } # if (noop && User-Password) = noop
(0) policy vpn-access_authorization {
(0) if (&LDAP-Group[*] == "cn=vpn-access,cn=groups,cn=accounts,dc=domain") {
(0) Searching for user in group "cn=vpn-access,cn=groups,cn=accounts,dc=domain"
rlm_ldap (ldap): Reserved connection (0)
(0) EXPAND (uid=%{%{Stripped-User-Name}:-%{User-Name}})
(0) --> (uid=newldaptest)
(0) Performing search in "cn=users,cn=accounts,dc=domain" with filter "(uid=newldaptest)", scope "sub"
(0) Waiting for search result...
(0) User object found at DN "uid=newldaptest,cn=users,cn=accounts,dc=domain"
(0) Checking user object's memberOf attributes
(0) Performing unfiltered search in "uid=newldaptest,cn=users,cn=accounts,dc=domain", scope "base"
(0) Waiting for search result...
(0) Processing memberOf value "cn=ipausers,cn=groups,cn=accounts,dc=domain" as a DN
(0) Processing memberOf value "ipaUniqueID=7a860d2c-00ab-11e6-b111-0050560115b9,cn=hbac,dc=domain" as a DN
(0) Processing memberOf value "cn=vpn-access,cn=groups,cn=accounts,dc=domain" as a DN
(0) User found in group DN "cn=vpn-access,cn=groups,cn=accounts,dc=domain". Comparison between membership: dn, check: dn
rlm_ldap (ldap): Released connection (0)
Need 4 more connections to reach 6 spares
rlm_ldap (ldap): Opening additional connection (2), 1 of 30 pending slots used
rlm_ldap (ldap): Connecting to ldap://ipa1.domain:389
TLSMC: MozNSS compatibility interception begins.
tlsmc_convert: INFO: cannot open the NSS DB, expecting PEM configuration is present.
tlsmc_intercept_initialization: INFO: successfully intercepted TLS initialization. Continuing with OpenSSL only.
TLSMC: MozNSS compatibility interception ends.
rlm_ldap (ldap): Waiting for bind result...
rlm_ldap (ldap): Bind successful
(0) if (&LDAP-Group[*] == "cn=vpn-access,cn=groups,cn=accounts,dc=domain") -> TRUE
(0) if (&LDAP-Group[*] == "cn=vpn-access,cn=groups,cn=accounts,dc=domain") {
(0) [ok] = ok
(0) } # if (&LDAP-Group[*] == "cn=vpn-access,cn=groups,cn=accounts,dc=domain") = ok
(0) ... skipping else: Preceding "if" was taken
(0) } # policy vpn-access_authorization = ok
(0) } # authorize = ok
(0) Found Auth-Type = LDAP
(0) # Executing group from file /etc/raddb/sites-enabled/default
(0) Auth-Type LDAP {
rlm_ldap (ldap): Reserved connection (1)
(0) ldap: Login attempt by "newldaptest"
(0) ldap: Using user DN from request "uid=newldaptest,cn=users,cn=accounts,dc=domain"
(0) ldap: Starting SASL mech(s): GSSAPI
SASL/GSSAPI authentication started
(0) ldap: ERROR: Bind with uid=newldaptest,cn=users,cn=accounts,dc=domain to ldap://ipa1.domain:389 failed: Local error
rlm_ldap (ldap): Released connection (1)
(0) [ldap] = fail
(0) } # Auth-Type LDAP = fail
(0) Failed to authenticate the user
(0) Login incorrect (ldap: Bind with uid=newldaptest,cn=users,cn=accounts,dc=domain to ldap://ipa1.domain:389 failed: Local error): [newldaptest/test123] (from client softether-server port 0)
(0) Using Post-Auth-Type Reject
(0) # Executing group from file /etc/raddb/sites-enabled/default
(0) Post-Auth-Type REJECT {
(0) attr_filter.access_reject: EXPAND %{User-Name}
(0) attr_filter.access_reject: --> newldaptest
(0) attr_filter.access_reject: Matched entry DEFAULT at line 11
(0) [attr_filter.access_reject] = updated
(0) [eap] = 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-Type REJECT = updated
(0) Delaying response for 2.000000 seconds
Waking up in 0.3 seconds.
Waking up in 1.6 seconds.
(0) Sending delayed response
(0) Sent Access-Reject Id 188 from 10.22.11.50:1812 to 10.22.11.127:47316 length 20
Waking up in 2.9 seconds.
(0) Cleaning up request packet ID 188 with timestamp +10
Ready to process requests
Best regards,
Daniel
3
4
Hello Guys,
I started seeing below errors related to TLS.
```
Fri Aug 23 09:57:32 2019 : Error: tls: Failed in proxy receive
Fri Aug 23 09:57:32 2019 : Error: tls: error:140F3042:SSL routines:ssl_undefined_const_function:called a function you should not call
Fri Aug 23 09:57:32 2019 : Error: tls: error:140E0197:SSL routines:SSL_shutdown:shutdown while in init
Fri Aug 23 09:57:32 2019 : Error: tls: error:140E0197:SSL routines:SSL_shutdown:shutdown while in init
Fri Aug 23 09:57:32 2019 : Error: tls: error:140F3042:SSL routines:ssl_undefined_const_function:called a function you should not call
Fri Aug 23 09:57:32 2019 : Error: tls: error:140E0197:SSL routines:SSL_shutdown:shutdown while in init
Fri Aug 23 09:57:32 2019 : Error: tls: error:140E0197:SSL routines:SSL_shutdown:shutdown while in init
Fri Aug 23 09:57:32 2019 : Error: tls: error:140F3042:SSL routines:ssl_undefined_const_function:called a function you should not call
Fri Aug 23 09:57:32 2019 : Error: tls: error:140E0197:SSL routines:SSL_shutdown:shutdown while in init
Fri Aug 23 09:57:32 2019 : Error: tls: error:140E0197:SSL routines:SSL_shutdown:shutdown while in init
Fri Aug 23 09:57:32 2019 : Error: tls: error:140F3042:SSL routines:ssl_undefined_const_function:called a function you should not call
Fri Aug 23 09:57:32 2019 : Error: tls: error:140E0197:SSL routines:SSL_shutdown:shutdown while in init
Fri Aug 23 09:57:32 2019 : Error: tls: error:140E0197:SSL routines:SSL_shutdown:shutdown while in init
```
Any suggestion on this will really help.
Thanks & Regards,
Nitin Sharma
5
7
I had a FreeRadius 2.2.0 server running under Mac OS X 10.8.5
connected to my old wireless setup. We just replaced the wireless with
Aruba gear and I'm trying to configure a new install of FreeRadius
3.0.19 to use OpenDirectory like the old install. I think I've got all
the configs set straight, but client connections are failing with
known good username/password combinations. And yes, I fixed the
homebrew settings so the dylib for OpenDirectory loads.
Is there a how-to guide on setting up FR3 with OpenDirectory? I
couldn't find one with a few different searches...
Or maybe something will jump out of the debug log below?
Thanks for any fixes/hints/tips.
-Dave Walsh
Network Administrator
Lincoln-Sudbury Regional HS
Sudbury, MA 01776
(978) 443-9961 x3336
debug log:
radiusd lsadmin:~ admin$ radiusd -X
FreeRADIUS Version 3.0.19
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/Cellar/freeradius-server/3.0.19/share/freeradius/dictionary
including dictionary file
/usr/local/Cellar/freeradius-server/3.0.19/share/freeradius/dictionary.dhcp
including dictionary file
/usr/local/Cellar/freeradius-server/3.0.19/share/freeradius/dictionary.vqp
including dictionary file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/dictionary
including configuration file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/radiusd.conf
including configuration file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/proxy.conf
including configuration file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/clients.conf
including files in directory
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/
including configuration file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/detail.log
including configuration file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/eap
including configuration file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/echo
including configuration file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/utf8
including configuration file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/always
including configuration file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/digest
including configuration file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/date
including configuration file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/preprocess
including configuration file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/pap
including configuration file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/expr
including configuration file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/radutmp
including configuration file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/linelog
including configuration file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/unix
including configuration file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/detail
including configuration file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/attr_filter
including configuration file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/ntlm_auth
including configuration file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/exec
including configuration file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/files
including configuration file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/replicate
including configuration file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/chap
including configuration file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/unpack
including configuration file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/logintime
including configuration file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/expiration
including configuration file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/cache_eap
including configuration file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/soh
including configuration file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/sradutmp
including configuration file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/mschap
including configuration file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/dynamic_clients
including configuration file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/passwd
including configuration file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/realm
including configuration file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/opendirectory
including files in directory
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/policy.d/
including configuration file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/policy.d/accounting
including configuration file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/policy.d/eap
including configuration file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/policy.d/rfc7542
including configuration file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/policy.d/canonicalization
including configuration file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/policy.d/abfab-tr
including configuration file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/policy.d/dhcp
including configuration file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/policy.d/cui
including configuration file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/policy.d/filter
including configuration file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/policy.d/moonshot-targeted-ids
including configuration file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/policy.d/operator-name
including configuration file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/policy.d/control
including configuration file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/policy.d/debug
including files in directory
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/sites-enabled/
including configuration file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/sites-enabled/default
including configuration file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/sites-enabled/inner-tunnel
main {
name = "radiusd"
prefix = "/usr/local/Cellar/freeradius-server/3.0.19"
localstatedir = "/usr/local/var"
sbindir = "/usr/local/Cellar/freeradius-server/3.0.19/bin"
logdir = "/usr/local/var/log/radius"
run_dir = "/usr/local/var/run/radiusd"
libdir = "/usr/local/Cellar/freeradius-server/3.0.19/lib"
radacctdir = "/usr/local/var/log/radius/radacct"
hostname_lookups = no
max_request_time = 30
cleanup_delay = 5
max_requests = 16384
pidfile = "/usr/local/var/run/radiusd/radiusd.pid"
checkrad = "/usr/local/Cellar/freeradius-server/3.0.19/bin/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 localhost {
ipaddr = 127.0.0.1
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/clients.conf[51]:
Ignoring duplicate configuration item 'ipv4addr'
ipv4addr = 10.100.0.102
require_message_authenticator = no
secret = <<< secret >>>
nas_type = "other"
proto = "*"
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client localhost_ipv6 {
ipv6addr = ::1
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client private-network-1 {
ipaddr = 10.100.0.0/24
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
# Creating Auth-Type = opendirectory
radiusd: #### Instantiating modules ####
modules {
# Loaded module rlm_detail
# Loading module "auth_log" from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/detail.log
detail auth_log {
filename = "/usr/local/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
escape_filenames = no
log_packet_header = no
}
# Loading module "reply_log" from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/detail.log
detail reply_log {
filename = "/usr/local/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/reply-detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
escape_filenames = no
log_packet_header = no
}
# Loading module "pre_proxy_log" from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/detail.log
detail pre_proxy_log {
filename = "/usr/local/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/pre-proxy-detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
escape_filenames = no
log_packet_header = no
}
# Loading module "post_proxy_log" from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/detail.log
detail post_proxy_log {
filename = "/usr/local/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/post-proxy-detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
escape_filenames = no
log_packet_header = no
}
# Loaded module rlm_eap
# Loading module "eap" from file
/usr/local/Cellar/freeradius-server/3.0.19/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
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/echo
exec echo {
wait = yes
program = "/bin/echo %{User-Name}"
input_pairs = "request"
output_pairs = "reply"
shell_escape = yes
}
# Loaded module rlm_utf8
# Loading module "utf8" from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/utf8
# Loaded module rlm_always
# Loading module "reject" from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/always
always reject {
rcode = "reject"
simulcount = 0
mpp = no
}
# Loading module "fail" from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/always
always fail {
rcode = "fail"
simulcount = 0
mpp = no
}
# Loading module "ok" from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/always
always ok {
rcode = "ok"
simulcount = 0
mpp = no
}
# Loading module "handled" from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/always
always handled {
rcode = "handled"
simulcount = 0
mpp = no
}
# Loading module "invalid" from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/always
always invalid {
rcode = "invalid"
simulcount = 0
mpp = no
}
# Loading module "userlock" from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/always
always userlock {
rcode = "userlock"
simulcount = 0
mpp = no
}
# Loading module "notfound" from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/always
always notfound {
rcode = "notfound"
simulcount = 0
mpp = no
}
# Loading module "noop" from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/always
always noop {
rcode = "noop"
simulcount = 0
mpp = no
}
# Loading module "updated" from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/always
always updated {
rcode = "updated"
simulcount = 0
mpp = no
}
# Loaded module rlm_digest
# Loading module "digest" from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/digest
# Loaded module rlm_date
# Loading module "date" from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/date
date {
format = "%b %e %Y %H:%M:%S %Z"
utc = no
}
# Loading module "wispr2date" from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/date
date wispr2date {
format = "%Y-%m-%dT%H:%M:%S"
utc = no
}
# Loaded module rlm_preprocess
# Loading module "preprocess" from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/preprocess
preprocess {
huntgroups = "/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-config/preprocess/huntgroups"
hints = "/usr/local/Cellar/freeradius-server/3.0.19/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_pap
# Loading module "pap" from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/pap
pap {
normalise = yes
}
# Loaded module rlm_expr
# Loading module "expr" from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/expr
expr {
safe_characters =
"@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_:
/äéöüàâæçèéêëîïôœùûüaÿÄÉÖÜßÀÂÆÇÈÉÊËÎÏÔŒÙÛÜŸ"
}
# Loaded module rlm_radutmp
# Loading module "radutmp" from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/radutmp
radutmp {
filename = "/usr/local/var/log/radius/radutmp"
username = "%{User-Name}"
case_sensitive = yes
check_with_nas = yes
permissions = 384
caller_id = yes
}
# Loaded module rlm_linelog
# Loading module "linelog" from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/linelog
linelog {
filename = "/usr/local/var/log/radius/linelog"
escape_filenames = no
syslog_severity = "info"
permissions = 384
format = "This is a log message for %{User-Name}"
reference = "messages.%{%{reply:Packet-Type}:-default}"
}
# Loading module "log_accounting" from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/linelog
linelog log_accounting {
filename = "/usr/local/var/log/radius/linelog-accounting"
escape_filenames = no
syslog_severity = "info"
permissions = 384
format = ""
reference = "Accounting-Request.%{%{Acct-Status-Type}:-unknown}"
}
# Loaded module rlm_unix
# Loading module "unix" from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/unix
unix {
radwtmp = "/usr/local/var/log/radius/radwtmp"
}
Creating attribute Unix-Group
# Loading module "detail" from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/detail
detail {
filename = "/usr/local/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
escape_filenames = no
log_packet_header = no
}
# Loaded module rlm_attr_filter
# Loading module "attr_filter.post-proxy" from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/attr_filter
attr_filter attr_filter.post-proxy {
filename = "/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-config/attr_filter/post-proxy"
key = "%{Realm}"
relaxed = no
}
# Loading module "attr_filter.pre-proxy" from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/attr_filter
attr_filter attr_filter.pre-proxy {
filename = "/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-config/attr_filter/pre-proxy"
key = "%{Realm}"
relaxed = no
}
# Loading module "attr_filter.access_reject" from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/attr_filter
attr_filter attr_filter.access_reject {
filename = "/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-config/attr_filter/access_reject"
key = "%{User-Name}"
relaxed = no
}
# Loading module "attr_filter.access_challenge" from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/attr_filter
attr_filter attr_filter.access_challenge {
filename = "/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-config/attr_filter/access_challenge"
key = "%{User-Name}"
relaxed = no
}
# Loading module "attr_filter.accounting_response" from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/attr_filter
attr_filter attr_filter.accounting_response {
filename = "/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-config/attr_filter/accounting_response"
key = "%{User-Name}"
relaxed = no
}
# Loading module "ntlm_auth" from file
/usr/local/Cellar/freeradius-server/3.0.19/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
}
# Loading module "exec" from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/exec
exec {
wait = no
input_pairs = "request"
shell_escape = yes
timeout = 10
}
# Loaded module rlm_files
# Loading module "files" from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/files
files {
filename = "/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-config/files/authorize"
acctusersfile =
"/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-config/files/accounting"
preproxy_usersfile =
"/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-config/files/pre-proxy"
}
# Loaded module rlm_replicate
# Loading module "replicate" from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/replicate
# Loaded module rlm_chap
# Loading module "chap" from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/chap
# Loaded module rlm_unpack
# Loading module "unpack" from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/unpack
# Loaded module rlm_logintime
# Loading module "logintime" from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/logintime
logintime {
minimum_timeout = 60
}
# Loaded module rlm_expiration
# Loading module "expiration" from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/expiration
# Loaded module rlm_cache
# Loading module "cache_eap" from file
/usr/local/Cellar/freeradius-server/3.0.19/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_soh
# Loading module "soh" from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/soh
soh {
dhcp = yes
}
# Loading module "sradutmp" from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/sradutmp
radutmp sradutmp {
filename = "/usr/local/var/log/radius/sradutmp"
username = "%{User-Name}"
case_sensitive = yes
check_with_nas = yes
permissions = 420
caller_id = no
}
# Loaded module rlm_mschap
# Loading module "mschap" from file
/usr/local/Cellar/freeradius-server/3.0.19/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
use_open_directory = yes
}
# Loaded module rlm_dynamic_clients
# Loading module "dynamic_clients" from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/dynamic_clients
# Loaded module rlm_passwd
# Loading module "etc_passwd" from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/passwd
passwd etc_passwd {
filename = "/etc/passwd"
format = "*User-Name:Crypt-Password:"
delimiter = ":"
ignore_nislike = no
ignore_empty = yes
allow_multiple_keys = no
hash_size = 100
}
# Loaded module rlm_realm
# Loading module "IPASS" from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/realm
realm IPASS {
format = "prefix"
delimiter = "/"
ignore_default = no
ignore_null = no
}
# Loading module "suffix" from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/realm
realm suffix {
format = "suffix"
delimiter = "@"
ignore_default = no
ignore_null = no
}
# Loading module "bangpath" from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/realm
realm bangpath {
format = "prefix"
delimiter = "!"
ignore_default = no
ignore_null = no
}
# Loading module "realmpercent" from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/realm
realm realmpercent {
format = "suffix"
delimiter = "%"
ignore_default = no
ignore_null = no
}
# Loading module "ntdomain" from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/realm
realm ntdomain {
format = "prefix"
delimiter = "\\"
ignore_default = no
ignore_null = no
}
# Loaded module rlm_opendirectory
# Loading module "opendirectory" from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/opendirectory
instantiate {
}
# Instantiating module "auth_log" from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/detail.log
rlm_detail (auth_log): 'User-Password' suppressed, will not appear in
detail output
# Instantiating module "reply_log" from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/detail.log
# Instantiating module "pre_proxy_log" from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/detail.log
# Instantiating module "post_proxy_log" from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/detail.log
# Instantiating module "eap" from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/eap
# Linked to sub-module rlm_eap_md5
# Linked to sub-module rlm_eap_leap
# Linked to sub-module rlm_eap_gtc
gtc {
challenge = "Password: "
auth_type = "PAP"
}
# Linked to sub-module rlm_eap_tls
tls {
tls = "tls-common"
}
tls-config tls-common {
verify_depth = 0
ca_path = "/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/certs"
pem_file_type = yes
private_key_file =
"/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/certs/server.pem"
certificate_file =
"/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/certs/server.pem"
ca_file = "/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/certs/ca.pem"
private_key_password = <<< secret >>>
dh_file = "/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/certs/dh"
fragment_size = 1024
include_length = yes
auto_chain = yes
check_crl = no
check_all_crl = no
cipher_list = "DEFAULT"
cipher_server_preference = no
ecdh_curve = "prime256v1"
tls_max_version = ""
tls_min_version = "1.0"
cache {
enable = no
lifetime = 24
max_entries = 255
}
verify {
skip_if_ocsp_ok = no
}
ocsp {
enable = no
override_cert_url = yes
url = "http://127.0.0.1/ocsp/"
use_nonce = yes
timeout = 0
softfail = no
}
}
# Linked to sub-module rlm_eap_ttls
ttls {
tls = "tls-common"
default_eap_type = "md5"
copy_request_to_tunnel = no
use_tunneled_reply = no
virtual_server = "inner-tunnel"
include_length = yes
require_client_cert = no
}
tls: Using cached TLS configuration from previous invocation
# Linked to sub-module rlm_eap_peap
peap {
tls = "tls-common"
default_eap_type = "mschapv2"
copy_request_to_tunnel = no
use_tunneled_reply = no
proxy_tunneled_request_as_eap = yes
virtual_server = "inner-tunnel"
soh = no
require_client_cert = no
}
tls: Using cached TLS configuration from previous invocation
# Linked to sub-module rlm_eap_mschapv2
mschapv2 {
with_ntdomain_hack = no
send_error = no
}
# Instantiating module "reject" from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/always
# Instantiating module "fail" from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/always
# Instantiating module "ok" from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/always
# Instantiating module "handled" from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/always
# Instantiating module "invalid" from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/always
# Instantiating module "userlock" from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/always
# Instantiating module "notfound" from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/always
# Instantiating module "noop" from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/always
# Instantiating module "updated" from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/always
# Instantiating module "preprocess" from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/preprocess
reading pairlist file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-config/preprocess/huntgroups
reading pairlist file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-config/preprocess/hints
# Instantiating module "pap" from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/pap
# Instantiating module "linelog" from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/linelog
# Instantiating module "log_accounting" from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/linelog
# Instantiating module "detail" from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/detail
# Instantiating module "attr_filter.post-proxy" from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/attr_filter
reading pairlist file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-config/attr_filter/post-proxy
# Instantiating module "attr_filter.pre-proxy" from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/attr_filter
reading pairlist file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-config/attr_filter/pre-proxy
# Instantiating module "attr_filter.access_reject" from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/attr_filter
reading pairlist file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-config/attr_filter/access_reject
# Instantiating module "attr_filter.access_challenge" from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/attr_filter
reading pairlist file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-config/attr_filter/access_challenge
# Instantiating module "attr_filter.accounting_response" from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/attr_filter
reading pairlist file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-config/attr_filter/accounting_response
# Instantiating module "files" from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/files
reading pairlist file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-config/files/authorize
reading pairlist file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-config/files/accounting
reading pairlist file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-config/files/pre-proxy
# Instantiating module "logintime" from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/logintime
# Instantiating module "expiration" from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/expiration
# Instantiating module "cache_eap" from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/cache_eap
rlm_cache (cache_eap): Driver rlm_cache_rbtree (module
rlm_cache_rbtree) loaded and linked
# Instantiating module "mschap" from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/mschap
rlm_mschap (mschap): using internal authentication
# Instantiating module "etc_passwd" from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/passwd
rlm_passwd: nfields: 3 keyfield 0(User-Name) listable: no
# Instantiating module "IPASS" from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/realm
# Instantiating module "suffix" from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/realm
# Instantiating module "bangpath" from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/realm
# Instantiating module "realmpercent" from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/realm
# Instantiating module "ntdomain" from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/mods-enabled/realm
} # modules
radiusd: #### Loading Virtual Servers ####
server { # from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/radiusd.conf
} # server
server default { # from file
/usr/local/Cellar/freeradius-server/3.0.19/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
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/sites-enabled/inner-tunnel
# Loading authenticate {...}
# Loading authorize {...}
# Loading session {...}
# Loading post-proxy {...}
# Loading post-auth {...}
# Skipping contents of 'if' as it is always 'false' --
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/sites-enabled/inner-tunnel:357
} # 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 57167
Listening on proxy address :: port 57168
Ready to process requests
(0) Received Access-Request Id 14 from 10.100.0.102:53924 to
10.0.0.3:1812 length 186
(0) User-Name = "average"
(0) NAS-IP-Address = 10.100.0.100
(0) NAS-Port = 0
(0) NAS-Identifier = "10.100.0.102"
(0) NAS-Port-Type = Wireless-802.11
(0) Calling-Station-Id = "8489AD6745C3"
(0) Called-Station-Id = "001A1E05A6B8"
(0) Service-Type = Framed-User
(0) Framed-MTU = 1100
(0) EAP-Message = 0x0201000c0161766572616765
(0) Aruba-Essid-Name = "LSwifi"
(0) Aruba-Location-Id = "B339"
(0) Aruba-AP-Group = "lsrhs-main-ap-group"
(0) Message-Authenticator = 0x59652efe566f776aba14e8a1a32023f4
(0) # Executing section authorize from file
/usr/local/Cellar/freeradius-server/3.0.19/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) policy filter_password {
(0) if (&User-Password && (&User-Password !=
"%{string:User-Password}")) {
(0) if (&User-Password && (&User-Password !=
"%{string:User-Password}")) -> FALSE
(0) } # policy filter_password = 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 = "average", looking up realm NULL
(0) suffix: No such realm "NULL"
(0) [suffix] = noop
(0) eap: Peer sent EAP Response (code 2) ID 1 length 12
(0) eap: EAP-Identity reply, returning 'ok' so we can short-circuit
the rest of authorize
(0) [eap] = ok
(0) } # authorize = ok
(0) Found Auth-Type = eap
(0) # Executing group from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/sites-enabled/default
(0) authenticate {
(0) eap: Peer sent packet with method EAP Identity (1)
(0) eap: Calling submodule eap_md5 to process data
(0) eap_md5: Issuing MD5 Challenge
(0) eap: Sending EAP Request (code 1) ID 2 length 22
(0) eap: EAP session adding &reply:State = 0x5456726054547634
(0) [eap] = handled
(0) } # authenticate = handled
(0) Using Post-Auth-Type Challenge
(0) # Executing group from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/sites-enabled/default
(0) Challenge { ... } # empty sub-section is ignored
(0) Sent Access-Challenge Id 14 from 10.0.0.3:1812 to
10.100.0.102:53924 length 0
(0) EAP-Message = 0x01020016041066c76cbec700c1fb0150cd5c81a267b1
(0) Message-Authenticator = 0x00000000000000000000000000000000
(0) State = 0x545672605454763402c4bd3843c9e021
(0) Finished request
Waking up in 4.9 seconds.
(1) Received Access-Request Id 15 from 10.100.0.102:53924 to
10.0.0.3:1812 length 200
(1) User-Name = "average"
(1) NAS-IP-Address = 10.100.0.100
(1) NAS-Port = 0
(1) NAS-Identifier = "10.100.0.102"
(1) NAS-Port-Type = Wireless-802.11
(1) Calling-Station-Id = "8489AD6745C3"
(1) Called-Station-Id = "001A1E05A6B8"
(1) Service-Type = Framed-User
(1) Framed-MTU = 1100
(1) EAP-Message = 0x020200080319152b
(1) State = 0x545672605454763402c4bd3843c9e021
(1) Aruba-Essid-Name = "LSwifi"
(1) Aruba-Location-Id = "B339"
(1) Aruba-AP-Group = "lsrhs-main-ap-group"
(1) Message-Authenticator = 0xd72c06082eda7c2faf5e7d6daba605e8
(1) session-state: No cached attributes
(1) # Executing section authorize from file
/usr/local/Cellar/freeradius-server/3.0.19/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) policy filter_password {
(1) if (&User-Password && (&User-Password !=
"%{string:User-Password}")) {
(1) if (&User-Password && (&User-Password !=
"%{string:User-Password}")) -> FALSE
(1) } # policy filter_password = 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 = "average", looking up realm NULL
(1) suffix: No such realm "NULL"
(1) [suffix] = noop
(1) eap: Peer sent EAP Response (code 2) ID 2 length 8
(1) eap: No EAP Start, assuming it's an on-going EAP conversation
(1) [eap] = updated
(1) [files] = noop
(1) opendirectory: The SACL group "com.apple.access_radius" does not
exist on this system.
(1) opendirectory: The host 10.100.0.102 does not have an access group.
(1) opendirectory: no access control groups, all users allowed
(1) [opendirectory] = ok
(1) [expiration] = noop
(1) [logintime] = noop
Not doing PAP as Auth-Type is already set.
(1) [pap] = noop
(1) if (noop && User-Password) {
(1) if (noop && User-Password) -> FALSE
(1) } # authorize = updated
(1) Found Auth-Type = eap
(1) # Executing group from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/sites-enabled/default
(1) authenticate {
(1) eap: Expiring EAP session with state 0x5456726054547634
(1) eap: Finished EAP session with state 0x5456726054547634
(1) eap: Previous EAP request found for state 0x5456726054547634,
released from the list
(1) eap: Peer sent packet with method EAP NAK (3)
(1) eap: Found mutually acceptable type PEAP (25)
(1) eap: Calling submodule eap_peap to process data
(1) eap_peap: Initiating new TLS session
(1) eap_peap: [eaptls start] = request
(1) eap: Sending EAP Request (code 1) ID 3 length 6
(1) eap: EAP session adding &reply:State = 0x5456726055556b34
(1) [eap] = handled
(1) } # authenticate = handled
(1) Using Post-Auth-Type Challenge
(1) # Executing group from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/sites-enabled/default
(1) Challenge { ... } # empty sub-section is ignored
(1) Sent Access-Challenge Id 15 from 10.0.0.3:1812 to
10.100.0.102:53924 length 0
(1) EAP-Message = 0x010300061920
(1) Message-Authenticator = 0x00000000000000000000000000000000
(1) State = 0x5456726055556b3402c4bd3843c9e021
(1) Finished request
Waking up in 4.9 seconds.
(2) Received Access-Request Id 16 from 10.100.0.102:53924 to
10.0.0.3:1812 length 353
(2) User-Name = "average"
(2) NAS-IP-Address = 10.100.0.100
(2) NAS-Port = 0
(2) NAS-Identifier = "10.100.0.102"
(2) NAS-Port-Type = Wireless-802.11
(2) Calling-Station-Id = "8489AD6745C3"
(2) Called-Station-Id = "001A1E05A6B8"
(2) Service-Type = Framed-User
(2) Framed-MTU = 1100
(2) EAP-Message =
0x020300a119800000009716030100920100008e03035d53fac5bd59b6d9b42eec9ec11acb1c8ed94fae81b30192ee691cf5815e444500002c00ffc02cc02bc024c023c00ac009c008c030c02fc028c027c014c013c012009d009c003d003c0035002f000a01000039000a00080006001700180019000b00020100000d00120010040102010501060104030203050306030005000501000000000012000000170000
(2) State = 0x5456726055556b3402c4bd3843c9e021
(2) Aruba-Essid-Name = "LSwifi"
(2) Aruba-Location-Id = "B339"
(2) Aruba-AP-Group = "lsrhs-main-ap-group"
(2) Message-Authenticator = 0x6a1f054258b15c3d9c85f983653fdd8f
(2) session-state: No cached attributes
(2) # Executing section authorize from file
/usr/local/Cellar/freeradius-server/3.0.19/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) policy filter_password {
(2) if (&User-Password && (&User-Password !=
"%{string:User-Password}")) {
(2) if (&User-Password && (&User-Password !=
"%{string:User-Password}")) -> FALSE
(2) } # policy filter_password = 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 = "average", looking up realm NULL
(2) suffix: No such realm "NULL"
(2) [suffix] = noop
(2) eap: Peer sent EAP Response (code 2) ID 3 length 161
(2) eap: Continuing tunnel setup
(2) [eap] = ok
(2) } # authorize = ok
(2) Found Auth-Type = eap
(2) # Executing group from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/sites-enabled/default
(2) authenticate {
(2) eap: Expiring EAP session with state 0x5456726055556b34
(2) eap: Finished EAP session with state 0x5456726055556b34
(2) eap: Previous EAP request found for state 0x5456726055556b34,
released from the list
(2) eap: Peer sent packet with method EAP PEAP (25)
(2) eap: Calling submodule eap_peap to process data
(2) eap_peap: Continuing EAP-TLS
(2) eap_peap: Peer indicated complete TLS record size will be 151 bytes
(2) eap_peap: Got complete TLS record (151 bytes)
(2) eap_peap: [eaptls verify] = length included
(2) eap_peap: (other): before/accept initialization
(2) eap_peap: TLS_accept: before/accept initialization
(2) eap_peap: <<< recv TLS 1.2 [length 0092]
(2) eap_peap: TLS_accept: unknown state
(2) eap_peap: >>> send TLS 1.2 [length 0039]
(2) eap_peap: TLS_accept: unknown state
(2) eap_peap: >>> send TLS 1.2 [length 14a7]
(2) eap_peap: TLS_accept: unknown state
(2) eap_peap: >>> send TLS 1.2 [length 014d]
(2) eap_peap: TLS_accept: unknown state
(2) eap_peap: >>> send TLS 1.2 [length 0004]
(2) eap_peap: TLS_accept: unknown state
(2) eap_peap: TLS_accept: unknown state
(2) eap_peap: TLS_accept: unknown state
(2) eap_peap: TLS_accept: Need to read more data: unknown state
(2) eap_peap: TLS_accept: Need to read more data: unknown state
(2) eap_peap: TLS - In Handshake Phase
(2) eap_peap: TLS - got 5701 bytes of data
(2) eap_peap: [eaptls process] = handled
(2) eap: Sending EAP Request (code 1) ID 4 length 1004
(2) eap: EAP session adding &reply:State = 0x5456726056526b34
(2) [eap] = handled
(2) } # authenticate = handled
(2) Using Post-Auth-Type Challenge
(2) # Executing group from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/sites-enabled/default
(2) Challenge { ... } # empty sub-section is ignored
(2) Sent Access-Challenge Id 16 from 10.0.0.3:1812 to
10.100.0.102:53924 length 0
(2) EAP-Message =
0x010403ec19c00000164516030300390200003503038c9017e78d1e2b8a6baee403290f9cffce77fc552296069db2c5b9698ca6cc7500c03000000dff01000100000b00040300010216030314a70b0014a30014a00006d9308206d5308205bda003020102020900c12d683df1391b72300d06092a864886f70d01010b05003081c6310b30090603550406130255533110300e060355040813074172697a6f6e61311330110603550407130a53636f74747364616c6531253023060355040a131c537461726669656c6420546563686e6f6c6f676965732c20496e632e31333031060355040b132a687474703a2f2f63657274732e737461726669656c64746563682e636f6d2f7265706f7369746f72792f313430320603550403132b537461726669656c642053656375726520436572746966696361746520417574686f72697479202d204732301e170d3138303932303132323432355a170d3230313131393139313833385a30393121301f060355040b1318446f6d
(2) Message-Authenticator = 0x00000000000000000000000000000000
(2) State = 0x5456726056526b3402c4bd3843c9e021
(2) Finished request
Waking up in 4.9 seconds.
(3) Received Access-Request Id 17 from 10.100.0.102:53924 to
10.0.0.3:1812 length 198
(3) User-Name = "average"
(3) NAS-IP-Address = 10.100.0.100
(3) NAS-Port = 0
(3) NAS-Identifier = "10.100.0.102"
(3) NAS-Port-Type = Wireless-802.11
(3) Calling-Station-Id = "8489AD6745C3"
(3) Called-Station-Id = "001A1E05A6B8"
(3) Service-Type = Framed-User
(3) Framed-MTU = 1100
(3) EAP-Message = 0x020400061900
(3) State = 0x5456726056526b3402c4bd3843c9e021
(3) Aruba-Essid-Name = "LSwifi"
(3) Aruba-Location-Id = "B339"
(3) Aruba-AP-Group = "lsrhs-main-ap-group"
(3) Message-Authenticator = 0x76592fb8b78a8d3188995da103f171a0
(3) session-state: No cached attributes
(3) # Executing section authorize from file
/usr/local/Cellar/freeradius-server/3.0.19/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) policy filter_password {
(3) if (&User-Password && (&User-Password !=
"%{string:User-Password}")) {
(3) if (&User-Password && (&User-Password !=
"%{string:User-Password}")) -> FALSE
(3) } # policy filter_password = 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 = "average", looking up realm NULL
(3) suffix: No such realm "NULL"
(3) [suffix] = noop
(3) eap: Peer sent EAP Response (code 2) ID 4 length 6
(3) eap: Continuing tunnel setup
(3) [eap] = ok
(3) } # authorize = ok
(3) Found Auth-Type = eap
(3) # Executing group from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/sites-enabled/default
(3) authenticate {
(3) eap: Expiring EAP session with state 0x5456726056526b34
(3) eap: Finished EAP session with state 0x5456726056526b34
(3) eap: Previous EAP request found for state 0x5456726056526b34,
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 ACKed our handshake fragment
(3) eap_peap: [eaptls verify] = request
(3) eap_peap: [eaptls process] = handled
(3) eap: Sending EAP Request (code 1) ID 5 length 1000
(3) eap: EAP session adding &reply:State = 0x5456726057536b34
(3) [eap] = handled
(3) } # authenticate = handled
(3) Using Post-Auth-Type Challenge
(3) # Executing group from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/sites-enabled/default
(3) Challenge { ... } # empty sub-section is ignored
(3) Sent Access-Challenge Id 17 from 10.0.0.3:1812 to
10.100.0.102:53924 length 0
(3) EAP-Message =
0x010503e819406d2f304606082b06010505073002863a687474703a2f2f6365727469666963617465732e737461726669656c64746563682e636f6d2f7265706f7369746f72792f73666967322e637274301f0603551d23041830168014254581685026383d3b2d2cbecd6ad9b63db3666330210603551d11041a3018820b2a2e6c737268732e6e657482096c737268732e6e6574301d0603551d0e041604141d7d311eae75cb33ddd9eeb936e7e587027894153082017f060a2b06010401d6790204020482016f0482016b0169007600a4b90990b418581487bb13a2cc67700a3c359804f91bdfb8e377cd0ec80ddc1000000165f6f0478100000403004730450220580af79bf47ef594890251fe24c2b6c6994233ea6cec1b388e97cc8e5fae0736022100b5eddb5bb0906db075472cda3ca153f9b882eccde948e4f405d925902752ae9a007700ee4bbdb775ce60bae142691fabe19e66a30f7e5fb072d88300c47b897aa8fdcb00000165f6f04be700000403004830
(3) Message-Authenticator = 0x00000000000000000000000000000000
(3) State = 0x5456726057536b3402c4bd3843c9e021
(3) Finished request
Waking up in 4.9 seconds.
(4) Received Access-Request Id 18 from 10.100.0.102:53924 to
10.0.0.3:1812 length 198
(4) User-Name = "average"
(4) NAS-IP-Address = 10.100.0.100
(4) NAS-Port = 0
(4) NAS-Identifier = "10.100.0.102"
(4) NAS-Port-Type = Wireless-802.11
(4) Calling-Station-Id = "8489AD6745C3"
(4) Called-Station-Id = "001A1E05A6B8"
(4) Service-Type = Framed-User
(4) Framed-MTU = 1100
(4) EAP-Message = 0x020500061900
(4) State = 0x5456726057536b3402c4bd3843c9e021
(4) Aruba-Essid-Name = "LSwifi"
(4) Aruba-Location-Id = "B339"
(4) Aruba-AP-Group = "lsrhs-main-ap-group"
(4) Message-Authenticator = 0xebbb5929ea7e1fda20fcf379a9fed2f1
(4) session-state: No cached attributes
(4) # Executing section authorize from file
/usr/local/Cellar/freeradius-server/3.0.19/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) policy filter_password {
(4) if (&User-Password && (&User-Password !=
"%{string:User-Password}")) {
(4) if (&User-Password && (&User-Password !=
"%{string:User-Password}")) -> FALSE
(4) } # policy filter_password = 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 = "average", looking up realm NULL
(4) suffix: No such realm "NULL"
(4) [suffix] = noop
(4) eap: Peer sent EAP Response (code 2) ID 5 length 6
(4) eap: Continuing tunnel setup
(4) [eap] = ok
(4) } # authorize = ok
(4) Found Auth-Type = eap
(4) # Executing group from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/sites-enabled/default
(4) authenticate {
(4) eap: Expiring EAP session with state 0x5456726057536b34
(4) eap: Finished EAP session with state 0x5456726057536b34
(4) eap: Previous EAP request found for state 0x5456726057536b34,
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 6 length 1000
(4) eap: EAP session adding &reply:State = 0x5456726050506b34
(4) [eap] = handled
(4) } # authenticate = handled
(4) Using Post-Auth-Type Challenge
(4) # Executing group from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/sites-enabled/default
(4) Challenge { ... } # empty sub-section is ignored
(4) Sent Access-Challenge Id 18 from 10.0.0.3:1812 to
10.100.0.102:53924 length 0
(4) EAP-Message =
0x010603e819406966696361746520417574686f72697479202d204732301e170d3131303530333037303030305a170d3331303530333037303030305a3081c6310b30090603550406130255533110300e060355040813074172697a6f6e61311330110603550407130a53636f74747364616c6531253023060355040a131c537461726669656c6420546563686e6f6c6f676965732c20496e632e31333031060355040b132a687474703a2f2f63657274732e737461726669656c64746563682e636f6d2f7265706f7369746f72792f313430320603550403132b537461726669656c642053656375726520436572746966696361746520417574686f72697479202d20473230820122300d06092a864886f70d01010105000382010f003082010a0282010100e590664becf94671a92083bee96cbf4ac9486981754e6d24f6cb1713f8b07159847a6b2b85a434b516e5cbcce941702ca42ed6fa327de1a8de9410ac31c1c0d86aff5927ab76d6fc0b746bb8a7ae3fc454
(4) Message-Authenticator = 0x00000000000000000000000000000000
(4) State = 0x5456726050506b3402c4bd3843c9e021
(4) Finished request
Waking up in 4.9 seconds.
(5) Received Access-Request Id 19 from 10.100.0.102:53924 to
10.0.0.3:1812 length 198
(5) User-Name = "average"
(5) NAS-IP-Address = 10.100.0.100
(5) NAS-Port = 0
(5) NAS-Identifier = "10.100.0.102"
(5) NAS-Port-Type = Wireless-802.11
(5) Calling-Station-Id = "8489AD6745C3"
(5) Called-Station-Id = "001A1E05A6B8"
(5) Service-Type = Framed-User
(5) Framed-MTU = 1100
(5) EAP-Message = 0x020600061900
(5) State = 0x5456726050506b3402c4bd3843c9e021
(5) Aruba-Essid-Name = "LSwifi"
(5) Aruba-Location-Id = "B339"
(5) Aruba-AP-Group = "lsrhs-main-ap-group"
(5) Message-Authenticator = 0x2ed86125369ed5eee969c5e690c63e3b
(5) session-state: No cached attributes
(5) # Executing section authorize from file
/usr/local/Cellar/freeradius-server/3.0.19/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) policy filter_password {
(5) if (&User-Password && (&User-Password !=
"%{string:User-Password}")) {
(5) if (&User-Password && (&User-Password !=
"%{string:User-Password}")) -> FALSE
(5) } # policy filter_password = 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 = "average", looking up realm NULL
(5) suffix: No such realm "NULL"
(5) [suffix] = noop
(5) eap: Peer sent EAP Response (code 2) ID 6 length 6
(5) eap: Continuing tunnel setup
(5) [eap] = ok
(5) } # authorize = ok
(5) Found Auth-Type = eap
(5) # Executing group from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/sites-enabled/default
(5) authenticate {
(5) eap: Expiring EAP session with state 0x5456726050506b34
(5) eap: Finished EAP session with state 0x5456726050506b34
(5) eap: Previous EAP request found for state 0x5456726050506b34,
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 7 length 1000
(5) eap: EAP session adding &reply:State = 0x5456726051516b34
(5) [eap] = handled
(5) } # authenticate = handled
(5) Using Post-Auth-Type Challenge
(5) # Executing group from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/sites-enabled/default
(5) Challenge { ... } # empty sub-section is ignored
(5) Sent Access-Challenge Id 19 from 10.0.0.3:1812 to
10.100.0.102:53924 length 0
(5) EAP-Message =
0x010703e819402418ce793da991bf541813899954110d55c5260b794f5a1c6ef963db1480a407abfab2a5b988dd91fe653ba4a379be894de1d0b0f4c8170c0a96147c09b76ce1c2d855d418a0aa41697024a3b9efe95adc3eeb944af0b7de5f0e76fafbfb6903454050ee720ca4128681cd13d14ec43cca4e0dd226f100b7b4a6a2e16e7a81fd30ac7a1fc7597b0004a4308204a030820388a0030201020203391484300d06092a864886f70d01010b05003068310b300906035504061302555331253023060355040a131c537461726669656c6420546563686e6f6c6f676965732c20496e632e31323030060355040b1329537461726669656c6420436c61737320322043657274696669636174696f6e20417574686f72697479301e170d3134303130313037303030305a170d3331303533303037303030305a30818f310b30090603550406130255533110300e060355040813074172697a6f6e61311330110603550407130a53636f74747364616c653125302306
(5) Message-Authenticator = 0x00000000000000000000000000000000
(5) State = 0x5456726051516b3402c4bd3843c9e021
(5) Finished request
Waking up in 4.9 seconds.
(6) Received Access-Request Id 20 from 10.100.0.102:53924 to
10.0.0.3:1812 length 198
(6) User-Name = "average"
(6) NAS-IP-Address = 10.100.0.100
(6) NAS-Port = 0
(6) NAS-Identifier = "10.100.0.102"
(6) NAS-Port-Type = Wireless-802.11
(6) Calling-Station-Id = "8489AD6745C3"
(6) Called-Station-Id = "001A1E05A6B8"
(6) Service-Type = Framed-User
(6) Framed-MTU = 1100
(6) EAP-Message = 0x020700061900
(6) State = 0x5456726051516b3402c4bd3843c9e021
(6) Aruba-Essid-Name = "LSwifi"
(6) Aruba-Location-Id = "B339"
(6) Aruba-AP-Group = "lsrhs-main-ap-group"
(6) Message-Authenticator = 0xe8ec0a8fb9baa0cc7028adbb0cde30c5
(6) session-state: No cached attributes
(6) # Executing section authorize from file
/usr/local/Cellar/freeradius-server/3.0.19/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) policy filter_password {
(6) if (&User-Password && (&User-Password !=
"%{string:User-Password}")) {
(6) if (&User-Password && (&User-Password !=
"%{string:User-Password}")) -> FALSE
(6) } # policy filter_password = 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 = "average", looking up realm NULL
(6) suffix: No such realm "NULL"
(6) [suffix] = noop
(6) eap: Peer sent EAP Response (code 2) ID 7 length 6
(6) eap: Continuing tunnel setup
(6) [eap] = ok
(6) } # authorize = ok
(6) Found Auth-Type = eap
(6) # Executing group from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/sites-enabled/default
(6) authenticate {
(6) eap: Expiring EAP session with state 0x5456726051516b34
(6) eap: Finished EAP session with state 0x5456726051516b34
(6) eap: Previous EAP request found for state 0x5456726051516b34,
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 8 length 1000
(6) eap: EAP session adding &reply:State = 0x54567260525e6b34
(6) [eap] = handled
(6) } # authenticate = handled
(6) Using Post-Auth-Type Challenge
(6) # Executing group from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/sites-enabled/default
(6) Challenge { ... } # empty sub-section is ignored
(6) Sent Access-Challenge Id 20 from 10.0.0.3:1812 to
10.100.0.102:53924 length 0
(6) EAP-Message =
0x010803e819403706082b06010505070201162b68747470733a2f2f63657274732e737461726669656c64746563682e636f6d2f7265706f7369746f72792f300d06092a864886f70d01010b050003820101008563c1d9ddb9ffa9bda619dcbf133a11382254b1ac0510fb7cb3963f318b66ff88f3e1bffbc71f00ff466a8b6132c9015176fb9ac6fa2051c846c498d779a3e304723f8b4d345367ec332c7be89401287c3a345b0277168d402533b0bc6c97d7057aff8c85ce6fa05300176e1e6cbd22d70a8837f67deb9941ef27cb8c606b4c017e65500b4fb8959a9a6e34fd733a33f191d5f34e2d74e8efd39035f1066864d4d013fd52d3c66dc13a8a31dd0526354a8c65b8526b81ecd29cb53410979c3ec62fed8e4242242ee9739a25f911f1f22369cbe59469a0d2dcb0fc4489ac17a8ccd5377716c580b90c8f57025599857b49f02e5ba0c257535da2e8a637c301fa0004133082040f308202f7a003020102020100300d06092a864886f70d0101050500306831
(6) Message-Authenticator = 0x00000000000000000000000000000000
(6) State = 0x54567260525e6b3402c4bd3843c9e021
(6) Finished request
Waking up in 4.9 seconds.
(7) Received Access-Request Id 21 from 10.100.0.102:53924 to
10.0.0.3:1812 length 198
(7) User-Name = "average"
(7) NAS-IP-Address = 10.100.0.100
(7) NAS-Port = 0
(7) NAS-Identifier = "10.100.0.102"
(7) NAS-Port-Type = Wireless-802.11
(7) Calling-Station-Id = "8489AD6745C3"
(7) Called-Station-Id = "001A1E05A6B8"
(7) Service-Type = Framed-User
(7) Framed-MTU = 1100
(7) EAP-Message = 0x020800061900
(7) State = 0x54567260525e6b3402c4bd3843c9e021
(7) Aruba-Essid-Name = "LSwifi"
(7) Aruba-Location-Id = "B339"
(7) Aruba-AP-Group = "lsrhs-main-ap-group"
(7) Message-Authenticator = 0x6f938516feec91e3f7dba371f608ebe4
(7) session-state: No cached attributes
(7) # Executing section authorize from file
/usr/local/Cellar/freeradius-server/3.0.19/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) policy filter_password {
(7) if (&User-Password && (&User-Password !=
"%{string:User-Password}")) {
(7) if (&User-Password && (&User-Password !=
"%{string:User-Password}")) -> FALSE
(7) } # policy filter_password = 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 = "average", looking up realm NULL
(7) suffix: No such realm "NULL"
(7) [suffix] = noop
(7) eap: Peer sent EAP Response (code 2) ID 8 length 6
(7) eap: Continuing tunnel setup
(7) [eap] = ok
(7) } # authorize = ok
(7) Found Auth-Type = eap
(7) # Executing group from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/sites-enabled/default
(7) authenticate {
(7) eap: Expiring EAP session with state 0x54567260525e6b34
(7) eap: Finished EAP session with state 0x54567260525e6b34
(7) eap: Previous EAP request found for state 0x54567260525e6b34,
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 ACKed our handshake fragment
(7) eap_peap: [eaptls verify] = request
(7) eap_peap: [eaptls process] = handled
(7) eap: Sending EAP Request (code 1) ID 9 length 737
(7) eap: EAP session adding &reply:State = 0x54567260535f6b34
(7) [eap] = handled
(7) } # authenticate = handled
(7) Using Post-Auth-Type Challenge
(7) # Executing group from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/sites-enabled/default
(7) Challenge { ... } # empty sub-section is ignored
(7) Sent Access-Challenge Id 21 from 10.0.0.3:1812 to
10.100.0.102:53924 length 0
(7) EAP-Message =
0x010902e1190031253023060355040a131c537461726669656c6420546563686e6f6c6f676965732c20496e632e31323030060355040b1329537461726669656c6420436c61737320322043657274696669636174696f6e20417574686f72697479820100300c0603551d13040530030101ff300d06092a864886f70d01010505000382010100059d3f889dd1c91a55a1ac69f3f359da9b01871a4f57a9a179092adbf72fb21eccc75e6ad88387a197ef49353e7706415862bf8e58b80a673fecb3dd21661fc954fa72cc3d4c40d881af779e837abba2c7f534178ed91140f4fc2c2a4d157fa7625d2e25d3000b201a1d68f917b8f4bd8bed2859dd4d168b1783c8b265c72d7aa5aabc53866ddd57a4caf820410b68f0f4fb74be565d7a79f5f91d85e32d95bef5719043cc8d1f9a000a8729e95522580023eae31243295b4708dd8c416a6506a8e521aa41b4952195b97dd134ab13d6adbcdce23d39cdbd3e7570a1185903c922b48f9cd55e2ad7a5b6d40a6df8b74011
(7) Message-Authenticator = 0x00000000000000000000000000000000
(7) State = 0x54567260535f6b3402c4bd3843c9e021
(7) Finished request
Waking up in 4.9 seconds.
(8) Received Access-Request Id 22 from 10.100.0.102:53924 to
10.0.0.3:1812 length 328
(8) User-Name = "average"
(8) NAS-IP-Address = 10.100.0.100
(8) NAS-Port = 0
(8) NAS-Identifier = "10.100.0.102"
(8) NAS-Port-Type = Wireless-802.11
(8) Calling-Station-Id = "8489AD6745C3"
(8) Called-Station-Id = "001A1E05A6B8"
(8) Service-Type = Framed-User
(8) Framed-MTU = 1100
(8) EAP-Message =
0x0209008819800000007e16030300461000004241042af163952be7da8b154a2c69487def1248f5a485d4444c8228737b5001812d4840f8bb2b672a265c20ea4bddd1027ce5abfd6dcd6e0b4171ce44e8a3e5e836cd1403030001011603030028fcd1cf9b8c26f1fcad3172e8bcad6f3d3d12185a4608a9f9c670ae97bfb63fd89b259f5e5fc54cd3
(8) State = 0x54567260535f6b3402c4bd3843c9e021
(8) Aruba-Essid-Name = "LSwifi"
(8) Aruba-Location-Id = "B339"
(8) Aruba-AP-Group = "lsrhs-main-ap-group"
(8) Message-Authenticator = 0x24534f2185f387623436d1b8a3a5884c
(8) session-state: No cached attributes
(8) # Executing section authorize from file
/usr/local/Cellar/freeradius-server/3.0.19/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) policy filter_password {
(8) if (&User-Password && (&User-Password !=
"%{string:User-Password}")) {
(8) if (&User-Password && (&User-Password !=
"%{string:User-Password}")) -> FALSE
(8) } # policy filter_password = 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 = "average", looking up realm NULL
(8) suffix: No such realm "NULL"
(8) [suffix] = noop
(8) eap: Peer sent EAP Response (code 2) ID 9 length 136
(8) eap: Continuing tunnel setup
(8) [eap] = ok
(8) } # authorize = ok
(8) Found Auth-Type = eap
(8) # Executing group from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/sites-enabled/default
(8) authenticate {
(8) eap: Expiring EAP session with state 0x54567260535f6b34
(8) eap: Finished EAP session with state 0x54567260535f6b34
(8) eap: Previous EAP request found for state 0x54567260535f6b34,
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 indicated complete TLS record size will be 126 bytes
(8) eap_peap: Got complete TLS record (126 bytes)
(8) eap_peap: [eaptls verify] = length included
(8) eap_peap: <<< recv TLS 1.2 [length 0046]
(8) eap_peap: TLS_accept: unknown state
(8) eap_peap: TLS_accept: unknown state
(8) eap_peap: <<< recv TLS 1.2 [length 0001]
(8) eap_peap: <<< recv TLS 1.2 [length 0010]
(8) eap_peap: TLS_accept: unknown state
(8) eap_peap: >>> send TLS 1.2 [length 0001]
(8) eap_peap: TLS_accept: unknown state
(8) eap_peap: >>> send TLS 1.2 [length 0010]
(8) eap_peap: TLS_accept: unknown state
(8) eap_peap: TLS_accept: unknown state
(8) eap_peap: (other): SSL negotiation finished successfully
(8) eap_peap: TLS - Connection Established
(8) eap_peap: TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(8) eap_peap: TLS-Session-Version = "TLS 1.2"
(8) eap_peap: TLS - got 51 bytes of data
(8) eap_peap: [eaptls process] = handled
(8) eap: Sending EAP Request (code 1) ID 10 length 57
(8) eap: EAP session adding &reply:State = 0x545672605c5c6b34
(8) [eap] = handled
(8) } # authenticate = handled
(8) Using Post-Auth-Type Challenge
(8) # Executing group from file
/usr/local/Cellar/freeradius-server/3.0.19/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 22 from 10.0.0.3:1812 to
10.100.0.102:53924 length 0
(8) EAP-Message =
0x010a0039190014030300010116030300288dffdbeb985e68c3e2dbdf2952fe500f6a886ad0031c7c028d7fee84af7c25901faf40a4f6eea8f1
(8) Message-Authenticator = 0x00000000000000000000000000000000
(8) State = 0x545672605c5c6b3402c4bd3843c9e021
(8) Finished request
Waking up in 1.7 seconds.
(9) Received Access-Request Id 23 from 10.100.0.102:53924 to
10.0.0.3:1812 length 198
(9) User-Name = "average"
(9) NAS-IP-Address = 10.100.0.100
(9) NAS-Port = 0
(9) NAS-Identifier = "10.100.0.102"
(9) NAS-Port-Type = Wireless-802.11
(9) Calling-Station-Id = "8489AD6745C3"
(9) Called-Station-Id = "001A1E05A6B8"
(9) Service-Type = Framed-User
(9) Framed-MTU = 1100
(9) EAP-Message = 0x020a00061900
(9) State = 0x545672605c5c6b3402c4bd3843c9e021
(9) Aruba-Essid-Name = "LSwifi"
(9) Aruba-Location-Id = "B339"
(9) Aruba-AP-Group = "lsrhs-main-ap-group"
(9) Message-Authenticator = 0xbcad9541d46bc96cbdd95701e6f25dea
(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
/usr/local/Cellar/freeradius-server/3.0.19/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) policy filter_password {
(9) if (&User-Password && (&User-Password !=
"%{string:User-Password}")) {
(9) if (&User-Password && (&User-Password !=
"%{string:User-Password}")) -> FALSE
(9) } # policy filter_password = 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 = "average", looking up realm NULL
(9) suffix: No such realm "NULL"
(9) [suffix] = noop
(9) eap: Peer sent EAP Response (code 2) ID 10 length 6
(9) eap: Continuing tunnel setup
(9) [eap] = ok
(9) } # authorize = ok
(9) Found Auth-Type = eap
(9) # Executing group from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/sites-enabled/default
(9) authenticate {
(9) eap: Expiring EAP session with state 0x545672605c5c6b34
(9) eap: Finished EAP session with state 0x545672605c5c6b34
(9) eap: Previous EAP request found for state 0x545672605c5c6b34,
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: Peer ACKed our handshake fragment. handshake is finished
(9) eap_peap: [eaptls verify] = success
(9) eap_peap: [eaptls process] = success
(9) eap_peap: Session established. Decoding tunneled attributes
(9) eap_peap: PEAP state TUNNEL ESTABLISHED
(9) eap: Sending EAP Request (code 1) ID 11 length 40
(9) eap: EAP session adding &reply:State = 0x545672605d5d6b34
(9) [eap] = handled
(9) } # authenticate = handled
(9) Using Post-Auth-Type Challenge
(9) # Executing group from file
/usr/local/Cellar/freeradius-server/3.0.19/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 23 from 10.0.0.3:1812 to
10.100.0.102:53924 length 0
(9) EAP-Message =
0x010b00281900170303001d8dffdbeb985e68c4c1607aeeb734e5a2316f3a81c5dc36a045fdf85114
(9) Message-Authenticator = 0x00000000000000000000000000000000
(9) State = 0x545672605d5d6b3402c4bd3843c9e021
(9) Finished request
Waking up in 1.7 seconds.
(10) Received Access-Request Id 24 from 10.100.0.102:53924 to
10.0.0.3:1812 length 235
(10) User-Name = "average"
(10) NAS-IP-Address = 10.100.0.100
(10) NAS-Port = 0
(10) NAS-Identifier = "10.100.0.102"
(10) NAS-Port-Type = Wireless-802.11
(10) Calling-Station-Id = "8489AD6745C3"
(10) Called-Station-Id = "001A1E05A6B8"
(10) Service-Type = Framed-User
(10) Framed-MTU = 1100
(10) EAP-Message =
0x020b002b19001703030020fcd1cf9b8c26f1fd945baa0316d6481f050756ad86fdd8315d914066555aad3d
(10) State = 0x545672605d5d6b3402c4bd3843c9e021
(10) Aruba-Essid-Name = "LSwifi"
(10) Aruba-Location-Id = "B339"
(10) Aruba-AP-Group = "lsrhs-main-ap-group"
(10) Message-Authenticator = 0x50b30ad849acde1dbaf2240651affcdd
(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
/usr/local/Cellar/freeradius-server/3.0.19/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) policy filter_password {
(10) if (&User-Password && (&User-Password !=
"%{string:User-Password}")) {
(10) if (&User-Password && (&User-Password !=
"%{string:User-Password}")) -> FALSE
(10) } # policy filter_password = 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 = "average", looking up realm NULL
(10) suffix: No such realm "NULL"
(10) [suffix] = noop
(10) eap: Peer sent EAP Response (code 2) ID 11 length 43
(10) eap: Continuing tunnel setup
(10) [eap] = ok
(10) } # authorize = ok
(10) Found Auth-Type = eap
(10) # Executing group from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/sites-enabled/default
(10) authenticate {
(10) eap: Expiring EAP session with state 0x545672605d5d6b34
(10) eap: Finished EAP session with state 0x545672605d5d6b34
(10) eap: Previous EAP request found for state 0x545672605d5d6b34,
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 WAITING FOR INNER IDENTITY
(10) eap_peap: Identity - average
(10) eap_peap: Got inner identity 'average'
(10) eap_peap: Setting default EAP type for tunneled EAP session
(10) eap_peap: Got tunneled request
(10) eap_peap: EAP-Message = 0x020b000c0161766572616765
(10) eap_peap: Setting User-Name to average
(10) eap_peap: Sending tunneled request to inner-tunnel
(10) eap_peap: EAP-Message = 0x020b000c0161766572616765
(10) eap_peap: FreeRADIUS-Proxied-To = 127.0.0.1
(10) eap_peap: User-Name = "average"
(10) Virtual server inner-tunnel received request
(10) EAP-Message = 0x020b000c0161766572616765
(10) FreeRADIUS-Proxied-To = 127.0.0.1
(10) User-Name = "average"
(10) WARNING: Outer and inner identities are the same. User privacy
is compromised.
(10) server inner-tunnel {
(10) # Executing section authorize from file
/usr/local/Cellar/freeradius-server/3.0.19/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 = "average", 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 11 length 12
(10) eap: EAP-Identity reply, returning 'ok' so we can short-circuit
the rest of authorize
(10) [eap] = ok
(10) } # authorize = ok
(10) Found Auth-Type = eap
(10) # Executing group from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/sites-enabled/inner-tunnel
(10) authenticate {
(10) eap: Peer sent packet with method EAP Identity (1)
(10) eap: Calling submodule eap_mschapv2 to process data
(10) eap_mschapv2: Issuing Challenge
(10) eap: Sending EAP Request (code 1) ID 12 length 43
(10) eap: EAP session adding &reply:State = 0x42072a37420b3078
(10) [eap] = handled
(10) } # authenticate = handled
(10) } # server inner-tunnel
(10) Virtual server sending reply
(10) EAP-Message =
0x010c002b1a010c002610745c7894a486ecfcf4f9683cfb994608667265657261646975732d332e302e3139
(10) Message-Authenticator = 0x00000000000000000000000000000000
(10) State = 0x42072a37420b30786166650813d23d53
(10) eap_peap: Got tunneled reply code 11
(10) eap_peap: EAP-Message =
0x010c002b1a010c002610745c7894a486ecfcf4f9683cfb994608667265657261646975732d332e302e3139
(10) eap_peap: Message-Authenticator = 0x00000000000000000000000000000000
(10) eap_peap: State = 0x42072a37420b30786166650813d23d53
(10) eap_peap: Got tunneled reply RADIUS code 11
(10) eap_peap: EAP-Message =
0x010c002b1a010c002610745c7894a486ecfcf4f9683cfb994608667265657261646975732d332e302e3139
(10) eap_peap: Message-Authenticator = 0x00000000000000000000000000000000
(10) eap_peap: State = 0x42072a37420b30786166650813d23d53
(10) eap_peap: Got tunneled Access-Challenge
(10) eap: Sending EAP Request (code 1) ID 12 length 74
(10) eap: EAP session adding &reply:State = 0x545672605e5a6b34
(10) [eap] = handled
(10) } # authenticate = handled
(10) Using Post-Auth-Type Challenge
(10) # Executing group from file
/usr/local/Cellar/freeradius-server/3.0.19/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 24 from 10.0.0.3:1812 to
10.100.0.102:53924 length 0
(10) EAP-Message =
0x010c004a1900170303003f8dffdbeb985e68c5e5d1f857bd3a006c4d6c5985309ee0c4b770649b3ad1651905b0f5c52ae50234542b1f8f9370dfb896b2a0f8e978e898d93be6d87a6a47
(10) Message-Authenticator = 0x00000000000000000000000000000000
(10) State = 0x545672605e5a6b3402c4bd3843c9e021
(10) Finished request
Waking up in 1.7 seconds.
(11) Received Access-Request Id 25 from 10.100.0.102:53924 to
10.0.0.3:1812 length 289
(11) User-Name = "average"
(11) NAS-IP-Address = 10.100.0.100
(11) NAS-Port = 0
(11) NAS-Identifier = "10.100.0.102"
(11) NAS-Port-Type = Wireless-802.11
(11) Calling-Station-Id = "8489AD6745C3"
(11) Called-Station-Id = "001A1E05A6B8"
(11) Service-Type = Framed-User
(11) Framed-MTU = 1100
(11) EAP-Message =
0x020c006119001703030056fcd1cf9b8c26f1fe4073f711a14fd826e249b83dfc9b7c99959452eaaf720cf2b3b73779d2a5d7fcd210429d3180dbc482390f76aadca0ee350c078acb0bb1867cfecb28754cf977724d8afc116c73816011a630b497
(11) State = 0x545672605e5a6b3402c4bd3843c9e021
(11) Aruba-Essid-Name = "LSwifi"
(11) Aruba-Location-Id = "B339"
(11) Aruba-AP-Group = "lsrhs-main-ap-group"
(11) Message-Authenticator = 0x6dfe59a2fd29d360d88b9b59739211a2
(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
/usr/local/Cellar/freeradius-server/3.0.19/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) policy filter_password {
(11) if (&User-Password && (&User-Password !=
"%{string:User-Password}")) {
(11) if (&User-Password && (&User-Password !=
"%{string:User-Password}")) -> FALSE
(11) } # policy filter_password = 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 = "average", looking up realm NULL
(11) suffix: No such realm "NULL"
(11) [suffix] = noop
(11) eap: Peer sent EAP Response (code 2) ID 12 length 97
(11) eap: Continuing tunnel setup
(11) [eap] = ok
(11) } # authorize = ok
(11) Found Auth-Type = eap
(11) # Executing group from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/sites-enabled/default
(11) authenticate {
(11) eap: Expiring EAP session with state 0x42072a37420b3078
(11) eap: Finished EAP session with state 0x545672605e5a6b34
(11) eap: Previous EAP request found for state 0x545672605e5a6b34,
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 =
0x020c00421a020c003d3197cbe3fdca4e339f53ada1b2ea7502360000000000000000cbfb303c4e912de85bdde107942837c08bc69bee796812430061766572616765
(11) eap_peap: Setting User-Name to average
(11) eap_peap: Sending tunneled request to inner-tunnel
(11) eap_peap: EAP-Message =
0x020c00421a020c003d3197cbe3fdca4e339f53ada1b2ea7502360000000000000000cbfb303c4e912de85bdde107942837c08bc69bee796812430061766572616765
(11) eap_peap: FreeRADIUS-Proxied-To = 127.0.0.1
(11) eap_peap: User-Name = "average"
(11) eap_peap: State = 0x42072a37420b30786166650813d23d53
(11) Virtual server inner-tunnel received request
(11) EAP-Message =
0x020c00421a020c003d3197cbe3fdca4e339f53ada1b2ea7502360000000000000000cbfb303c4e912de85bdde107942837c08bc69bee796812430061766572616765
(11) FreeRADIUS-Proxied-To = 127.0.0.1
(11) User-Name = "average"
(11) State = 0x42072a37420b30786166650813d23d53
(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
/usr/local/Cellar/freeradius-server/3.0.19/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 = "average", 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 12 length 66
(11) eap: No EAP Start, assuming it's an on-going EAP conversation
(11) [eap] = updated
(11) [files] = noop
(11) opendirectory: The SACL group "com.apple.access_radius" does not
exist on this system.
(11) opendirectory: The host 10.100.0.102 does not have an access group.
(11) opendirectory: no access control groups, all users allowed
(11) [opendirectory] = ok
(11) [expiration] = noop
(11) [logintime] = noop
(11) [pap] = noop
(11) if (noop && User-Password) {
(11) if (noop && User-Password) -> FALSE
(11) } # authorize = updated
(11) Found Auth-Type = eap
(11) # Executing group from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/sites-enabled/inner-tunnel
(11) authenticate {
(11) eap: Expiring EAP session with state 0x42072a37420b3078
(11) eap: Finished EAP session with state 0x42072a37420b3078
(11) eap: Previous EAP request found for state 0x42072a37420b3078,
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_mschapv2: # Executing group from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/sites-enabled/inner-tunnel
(11) eap_mschapv2: authenticate {
(11) mschap: WARNING: No Cleartext-Password configured. Cannot create
NT-Password
(11) mschap: WARNING: No Cleartext-Password configured. Cannot create
LM-Password
(11) mschap: No NT-Password configured. Trying OpenDirectory Authentication
(11) mschap: OD username_string = average, OD shortUserName=average?
(length = 8)
(11) mschap: ERROR: rlm_mschap: authentication failed - status = eUndefinedError
(11) eap_mschapv2: [mschap] = reject
(11) eap_mschapv2: } # authenticate = reject
(11) eap: Sending EAP Failure (code 4) ID 12 length 4
(11) eap: Freeing handler
(11) [eap] = reject
(11) } # authenticate = reject
(11) Failed to authenticate the user
(11) Using Post-Auth-Type Reject
(11) # Executing group from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/sites-enabled/inner-tunnel
(11) Post-Auth-Type REJECT {
(11) attr_filter.access_reject: EXPAND %{User-Name}
(11) attr_filter.access_reject: --> average
(11) attr_filter.access_reject: Matched entry DEFAULT at line 11
(11) [attr_filter.access_reject] = updated
(11) update outer.session-state {
(11) &Module-Failure-Message :=
&request:Module-Failure-Message -> 'mschap: rlm_mschap: authentication
failed - status = eUndefinedError'
(11) } # update outer.session-state = noop
(11) } # Post-Auth-Type REJECT = updated
(11) } # server inner-tunnel
(11) Virtual server sending reply
(11) EAP-Message = 0x040c0004
(11) Message-Authenticator = 0x00000000000000000000000000000000
(11) eap_peap: Got tunneled reply code 3
(11) eap_peap: EAP-Message = 0x040c0004
(11) eap_peap: Message-Authenticator = 0x00000000000000000000000000000000
(11) eap_peap: Got tunneled reply RADIUS code 3
(11) eap_peap: EAP-Message = 0x040c0004
(11) eap_peap: Message-Authenticator = 0x00000000000000000000000000000000
(11) eap_peap: Tunneled authentication was rejected
(11) eap_peap: FAILURE
(11) eap: Sending EAP Request (code 1) ID 13 length 46
(11) eap: EAP session adding &reply:State = 0x545672605f5b6b34
(11) [eap] = handled
(11) } # authenticate = handled
(11) Using Post-Auth-Type Challenge
(11) # Executing group from file
/usr/local/Cellar/freeradius-server/3.0.19/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) Module-Failure-Message := "mschap: rlm_mschap: authentication
failed - status = eUndefinedError"
(11) Sent Access-Challenge Id 25 from 10.0.0.3:1812 to
10.100.0.102:53924 length 0
(11) EAP-Message =
0x010d002e190017030300238dffdbeb985e68c67ce7e0ff1b57738c7654a6125e8aecaef97a03a6ad1419582c93f0
(11) Message-Authenticator = 0x00000000000000000000000000000000
(11) State = 0x545672605f5b6b3402c4bd3843c9e021
(11) Finished request
Waking up in 1.7 seconds.
(12) Received Access-Request Id 26 from 10.100.0.102:53924 to
10.0.0.3:1812 length 238
(12) User-Name = "average"
(12) NAS-IP-Address = 10.100.0.100
(12) NAS-Port = 0
(12) NAS-Identifier = "10.100.0.102"
(12) NAS-Port-Type = Wireless-802.11
(12) Calling-Station-Id = "8489AD6745C3"
(12) Called-Station-Id = "001A1E05A6B8"
(12) Service-Type = Framed-User
(12) Framed-MTU = 1100
(12) EAP-Message =
0x020d002e19001703030023fcd1cf9b8c26f1ffa0472f7f4d0c7b282710036d9fbd1285f7b20d51f0cf185e24be37
(12) State = 0x545672605f5b6b3402c4bd3843c9e021
(12) Aruba-Essid-Name = "LSwifi"
(12) Aruba-Location-Id = "B339"
(12) Aruba-AP-Group = "lsrhs-main-ap-group"
(12) Message-Authenticator = 0x32db44d57d93d5c0fdb2e3f3c8019c80
(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) &session-state:Module-Failure-Message := "mschap: rlm_mschap:
authentication failed - status = eUndefinedError"
(12) # Executing section authorize from file
/usr/local/Cellar/freeradius-server/3.0.19/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) policy filter_password {
(12) if (&User-Password && (&User-Password !=
"%{string:User-Password}")) {
(12) if (&User-Password && (&User-Password !=
"%{string:User-Password}")) -> FALSE
(12) } # policy filter_password = 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 = "average", looking up realm NULL
(12) suffix: No such realm "NULL"
(12) [suffix] = noop
(12) eap: Peer sent EAP Response (code 2) ID 13 length 46
(12) eap: Continuing tunnel setup
(12) [eap] = ok
(12) } # authorize = ok
(12) Found Auth-Type = eap
(12) # Executing group from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/sites-enabled/default
(12) authenticate {
(12) eap: Expiring EAP session with state 0x545672605f5b6b34
(12) eap: Finished EAP session with state 0x545672605f5b6b34
(12) eap: Previous EAP request found for state 0x545672605f5b6b34,
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 failure
(12) eap_peap: Received EAP-TLV response
(12) eap_peap: ERROR: The users session was previously rejected:
returning reject (again.)
(12) eap_peap: This means you need to read the PREVIOUS messages in
the debug output
(12) eap_peap: to find out the reason why the user was rejected
(12) eap_peap: Look for "reject" or "fail". Those earlier messages
will tell you
(12) eap_peap: what went wrong, and how to fix the problem
(12) eap: ERROR: Failed continuing EAP PEAP (25) session. EAP sub-module failed
(12) eap: Sending EAP Failure (code 4) ID 13 length 4
(12) eap: Failed in EAP select
(12) [eap] = invalid
(12) } # authenticate = invalid
(12) Failed to authenticate the user
(12) Using Post-Auth-Type Reject
(12) # Executing group from file
/usr/local/Cellar/freeradius-server/3.0.19/etc/raddb/sites-enabled/default
(12) Post-Auth-Type REJECT {
(12) attr_filter.access_reject: EXPAND %{User-Name}
(12) attr_filter.access_reject: --> average
(12) attr_filter.access_reject: Matched entry DEFAULT at line 11
(12) [attr_filter.access_reject] = updated
(12) [eap] = noop
(12) policy remove_reply_message_if_eap {
(12) if (&reply:EAP-Message && &reply:Reply-Message) {
(12) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE
(12) else {
(12) [noop] = noop
(12) } # else = noop
(12) } # policy remove_reply_message_if_eap = noop
(12) } # Post-Auth-Type REJECT = updated
(12) Delaying response for 1.000000 seconds
Waking up in 0.3 seconds.
Waking up in 0.6 seconds.
(12) Sending delayed response
(12) Sent Access-Reject Id 26 from 10.0.0.3:1812 to 10.100.0.102:53924 length 44
(12) EAP-Message = 0x040d0004
(12) Message-Authenticator = 0x00000000000000000000000000000000
Waking up in 0.6 seconds.
(0) Cleaning up request packet ID 14 with timestamp +29
(1) Cleaning up request packet ID 15 with timestamp +29
(2) Cleaning up request packet ID 16 with timestamp +29
(3) Cleaning up request packet ID 17 with timestamp +29
(4) Cleaning up request packet ID 18 with timestamp +29
(5) Cleaning up request packet ID 19 with timestamp +29
(6) Cleaning up request packet ID 20 with timestamp +29
(7) Cleaning up request packet ID 21 with timestamp +29
Waking up in 3.2 seconds.
(8) Cleaning up request packet ID 22 with timestamp +32
(9) Cleaning up request packet ID 23 with timestamp +32
(10) Cleaning up request packet ID 24 with timestamp +32
(11) Cleaning up request packet ID 25 with timestamp +32
(12) Cleaning up request packet ID 26 with timestamp +32
Ready to process requests
^CDebugger detected, raising SIGTRAP
Trace/BPT trap: 5
lsadmin:~ admin$
4
5
Hi,
I have set a few attributes in Groups and as far as I have seen, attribute defined there overrides (same) attribute if is defined in user’s profile.
Is there any way to make it working the other way around - user’s attribute would override group’s attribute?
Regards
Martin
2
2