Skip to content

Commit

Permalink
let's add a reject delay
Browse files Browse the repository at this point in the history
  • Loading branch information
alandekok committed Jan 3, 2025
1 parent 4667c49 commit f9d97fc
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/tests/tls/home/radiusd.conf
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ thread pool {
auto_limit_acct = no
}

security {
reject_delay = 1.0
}

#
# Referenced by some modules for default thread pool configuration
#
Expand All @@ -47,7 +51,7 @@ listen {

clients = radsec

# check_client_connections = yes
check_client_connections = yes

virtual_server = default

Expand Down Expand Up @@ -90,6 +94,10 @@ listen {

server default {
authorize {
if (&User-Name != &User-Password) {
reject
}

update control {
Auth-Type := accept
}
Expand Down

0 comments on commit f9d97fc

Please sign in to comment.