blob: 8e0577d14aad6a8f9f0db670674f8697ae5d9c72 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
raddb = $ENV{RADDB}
modconfdir = ${raddb}/mods-config
testdir = $ENV{TEST_PATH}/proxy
pidfile = ${testdir}/radiusd.pid
panic_action = "gdb -batch -x ${raddb}/panic.gdb %e %p > ${testdir}/gdb-radiusd.log 2>&1; cat ${testdir}/gdb-radiusd.log"
certdir = ${raddb}/certs
cadir = ${raddb}/certs
libdir = $ENV{LIB_PATH}
max_requests = 1048576
thread pool {
start_servers = 5
max_servers = 32
min_spare_servers = 3
max_spare_servers = 10
max_requests_per_server = 0
cleanup_delay = 5
max_queue_size = 65536
auto_limit_acct = no
}
#
# Minimum configuration for Proxy Server -> SRADIUSD
#
$INCLUDE ${testdir}/proxy.conf
client local_test {
ipaddr = 127.0.0.1
secret = testing123
proto = *
}
listen {
type = auth
ipaddr = 127.0.0.1
port = $ENV{FR_LOCAL_PREFIX}1812
proto = udp
virtual_server = default
}
listen {
type = acct
ipaddr = 127.0.0.1
port = $ENV{FR_LOCAL_PREFIX}1813
proto = udp
virtual_server = default
}
server default {
authorize {
update control {
&Home-Server-Pool = "home"
}
}
preacct {
update control {
&Home-Server-Pool = "home_acct"
}
}
}
|