billing:howto:radiusd_conf

Конфиг radiusd.conf

Вернуться на уровень выше

prefix = /usr
exec_prefix = /usr
sysconfdir = /etc
localstatedir = /var
sbindir = /usr/sbin
logdir = ${localstatedir}/log/radius
raddbdir = ${sysconfdir}/raddb
radacctdir = ${logdir}/radacct
name = radiusd
confdir = ${raddbdir}
run_dir = ${localstatedir}/run/${name}
db_dir = ${raddbdir}
libdir = /usr/lib/freeradius
pidfile = ${run_dir}/${name}.pid

// время на обработку запроса
max_request_time = 9
// время очистки "кеша" ответа
cleanup_delay = 8
// максимальное кол-во запросов (кол-во абонов * 100 ?)
max_requests = 65535

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

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

hostname_lookups = no
allow_core_dumps = no
regular_expressions	= yes
extended_expressions	= yes

log {
	destination = files
	file = ${logdir}/radius.log
	requests = ${logdir}/radiusd-%{%{Virtual-Server}:-DEFAULT}-%Y%m%d.log
	syslog_facility = daemon
	stripped_names = no
	auth = no
	auth_badpass = no
	auth_goodpass = no
}

checkrad = ${sbindir}/checkrad

security {
	max_attributes = 3000
	reject_delay = 0
	status_server = yes
}

proxy_requests  = off

thread pool {
	start_servers = 3
        // cpu_count * 2
	max_servers = 16
	min_spare_servers = 3
        // cpu_count * 2
	max_spare_servers = 16
	max_requests_per_server = 3000
	
}

modules {
	$INCLUDE ${confdir}/modules/
	$INCLUDE sql.conf
}

instantiate {
	expr
}

$INCLUDE sites-enabled/
  • billing/howto/radiusd_conf.txt
  • Последнее изменение: 8 лет назад
  • vilko