Project

General

Profile

Bug #16867 » radiusd.conf.txt

Hugo Sousa, 06/03/2026 10:41 PM

 
1
/usr/local/etc/raddb/radiusd.conf
2
prefix = /usr/local
3
exec_prefix = ${prefix}
4
sysconfdir = ${prefix}/etc
5
localstatedir = /var
6
sbindir = ${exec_prefix}/sbin
7
logdir = ${localstatedir}/log
8
raddbdir = ${sysconfdir}/raddb
9
radacctdir = ${logdir}/radacct
10
name = radiusd
11
confdir = ${raddbdir}
12
modconfdir = ${confdir}/mods-config
13
certdir = ${confdir}/certs
14
cadir = ${confdir}/certs
15
run_dir = ${localstatedir}/run
16
db_dir = ${raddbdir}
17
libdir = /usr/local/lib/freeradius-3.2.8
18
pidfile = ${run_dir}/${name}.pid
19
max_request_time = 30
20
cleanup_delay = 5
21
max_requests = 2048
22
hostname_lookups = no
23
regular_expressions = yes
24
extended_expressions = yes
25

    
26
log {
27
	destination = syslog
28
	colourise = yes
29
	file = ${logdir}/radius.log
30
	syslog_facility = daemon
31
	stripped_names = no
32
	auth = no
33
	auth_badpass = no
34
	auth_goodpass = no
35
	msg_goodpass = "%{User-Name}"
36
	msg_badpass = "%{User-Name}"
37
	msg_denied = "You are already logged in - access denied"
38
}
39

    
40
checkrad = ${sbindir}/checkrad
41
security {
42
	allow_core_dumps = no
43
	max_attributes = 200
44
	reject_delay = 1
45
	status_server = no
46
	# Disable this check since it may not be accurate due to how FreeBSD patches OpenSSL
47
	allow_vulnerable_openssl = yes
48
}
49

    
50
$INCLUDE  clients.conf
51
thread pool {
52
	start_servers = 10
53
	max_servers = 65
54
	min_spare_servers = 10
55
	max_spare_servers = 50
56
	max_queue_size = 65536
57
	max_requests_per_server = 0
58
	auto_limit_acct = no
59
}
60

    
61
modules {
62
	$INCLUDE ${confdir}/mods-enabled/
63
}
64

    
65
instantiate {
66
	exec
67
	expr
68
	expiration
69
	logintime
70
	### Dis-/Enable sql instatiate
71
	#sql
72
	daily
73
	weekly
74
	monthly
75
	forever
76
}
77
policy {
78
	$INCLUDE policy.d/
79
}
80
$INCLUDE sites-enabled/
(2-2/2)