summaryrefslogtreecommitdiff
path: root/package/freeradius-server/files/radiusd.conf
blob: c07f65680aa46495878ecbdcb6ae334d7eda67a0 (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
64
65
66
67
68
69
70
71
72
73
## radiusd.conf	-- FreeRADIUS server configuration file.
name = radiusd

prefix = /usr
exec_prefix = ${prefix}
sysconfdir = /etc
localstatedir = /var
sbindir = ${exec_prefix}/sbin
logdir = ${localstatedir}/log/radius
raddbdir = /etc/freeradius
radacctdir = ${logdir}/radacct
#  Location of config and logfiles.
confdir = ${raddbdir}
run_dir = ${localstatedir}/run
db_dir = ${raddbdir}
libdir = /usr/lib/freeradius
pidfile = ${run_dir}/${name}.pid

max_request_time = 30
cleanup_delay = 5
max_requests = 1024

listen {
	type = auth
	ipaddr = *
	port = 1812
}

listen {
	type = acct
	ipaddr = *
	port = 1813
}

hostname_lookups = no
regular_expressions = yes
extended_expressions = yes

log {
	destination = syslog
	syslog_facility = daemon
	stripped_names = no
	auth = no
	auth_badpass = no
	auth_goodpass = no
}

checkrad = ${sbindir}/checkrad

security {
	max_attributes = 200
	reject_delay = 1
	status_server = yes
	user = radius
	group = radius
	allow_core_dumps = no
#	chroot = /path/to/chroot/directory
}

$INCLUDE clients.conf

thread pool {
	start_servers = 4
	max_servers = 8
	min_spare_servers = 3
	max_spare_servers = 10
	max_requests_per_server = 0
}
modules {
}

instantiate {
}