Adding upstream version 1.34.4.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
e393c3af3f
commit
4978089aab
4963 changed files with 677545 additions and 0 deletions
4
plugins/inputs/radius/testdata/invalidSourceIP/clients.conf
vendored
Normal file
4
plugins/inputs/radius/testdata/invalidSourceIP/clients.conf
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
client localtest {
|
||||
ipaddr = 10.123.123.0/24
|
||||
secret = testsecret
|
||||
}
|
1
plugins/inputs/radius/testdata/invalidSourceIP/mods-config/files/authorize
vendored
Normal file
1
plugins/inputs/radius/testdata/invalidSourceIP/mods-config/files/authorize
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
testusername Cleartext-Password := "testpassword"
|
118
plugins/inputs/radius/testdata/invalidSourceIP/radiusd.conf
vendored
Normal file
118
plugins/inputs/radius/testdata/invalidSourceIP/radiusd.conf
vendored
Normal file
|
@ -0,0 +1,118 @@
|
|||
prefix = /usr
|
||||
exec_prefix = /usr
|
||||
sysconfdir = /etc
|
||||
localstatedir = /var
|
||||
sbindir = ${exec_prefix}/sbin
|
||||
logdir = /var/log/freeradius
|
||||
raddbdir = /etc/freeradius
|
||||
radacctdir = ${logdir}/radacct
|
||||
|
||||
name = freeradius
|
||||
|
||||
confdir = ${raddbdir}
|
||||
modconfdir = ${confdir}/mods-config
|
||||
certdir = ${confdir}/certs
|
||||
cadir = ${confdir}/certs
|
||||
run_dir = ${localstatedir}/run/${name}
|
||||
|
||||
db_dir = ${raddbdir}
|
||||
|
||||
libdir = /usr/lib/freeradius
|
||||
|
||||
pidfile = ${run_dir}/${name}.pid
|
||||
|
||||
|
||||
max_request_time = 30
|
||||
|
||||
cleanup_delay = 5
|
||||
|
||||
max_requests = 16384
|
||||
|
||||
hostname_lookups = no
|
||||
|
||||
|
||||
log {
|
||||
destination = stdout
|
||||
|
||||
colourise = yes
|
||||
|
||||
file = ${logdir}/radius.log
|
||||
|
||||
syslog_facility = daemon
|
||||
|
||||
stripped_names = no
|
||||
|
||||
auth = yes
|
||||
|
||||
|
||||
|
||||
auth_badpass = yes
|
||||
auth_goodpass = yes
|
||||
|
||||
|
||||
msg_denied = "You are already logged in - access denied"
|
||||
|
||||
}
|
||||
|
||||
checkrad = ${sbindir}/checkrad
|
||||
|
||||
ENV {
|
||||
|
||||
|
||||
}
|
||||
|
||||
security {
|
||||
|
||||
user = freerad
|
||||
group = freerad
|
||||
|
||||
allow_core_dumps = no
|
||||
|
||||
max_attributes = 200
|
||||
|
||||
reject_delay = 1
|
||||
|
||||
status_server = yes
|
||||
|
||||
|
||||
}
|
||||
|
||||
proxy_requests = yes
|
||||
$INCLUDE proxy.conf
|
||||
|
||||
|
||||
|
||||
$INCLUDE clients.conf
|
||||
|
||||
|
||||
thread pool {
|
||||
start_servers = 5
|
||||
|
||||
max_servers = 32
|
||||
|
||||
min_spare_servers = 3
|
||||
max_spare_servers = 10
|
||||
|
||||
|
||||
max_requests_per_server = 0
|
||||
|
||||
|
||||
auto_limit_acct = no
|
||||
}
|
||||
|
||||
|
||||
modules {
|
||||
|
||||
|
||||
$INCLUDE mods-enabled/
|
||||
}
|
||||
|
||||
instantiate {
|
||||
|
||||
}
|
||||
|
||||
policy {
|
||||
$INCLUDE policy.d/
|
||||
}
|
||||
|
||||
$INCLUDE sites-enabled/
|
4
plugins/inputs/radius/testdata/raddb/clients.conf
vendored
Normal file
4
plugins/inputs/radius/testdata/raddb/clients.conf
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
client localtest {
|
||||
ipaddr = 0.0.0.0/0
|
||||
secret = testsecret
|
||||
}
|
1
plugins/inputs/radius/testdata/raddb/mods-config/files/authorize
vendored
Normal file
1
plugins/inputs/radius/testdata/raddb/mods-config/files/authorize
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
testusername Cleartext-Password := "testpassword"
|
118
plugins/inputs/radius/testdata/raddb/radiusd.conf
vendored
Normal file
118
plugins/inputs/radius/testdata/raddb/radiusd.conf
vendored
Normal file
|
@ -0,0 +1,118 @@
|
|||
prefix = /usr
|
||||
exec_prefix = /usr
|
||||
sysconfdir = /etc
|
||||
localstatedir = /var
|
||||
sbindir = ${exec_prefix}/sbin
|
||||
logdir = /var/log/freeradius
|
||||
raddbdir = /etc/freeradius
|
||||
radacctdir = ${logdir}/radacct
|
||||
|
||||
name = freeradius
|
||||
|
||||
confdir = ${raddbdir}
|
||||
modconfdir = ${confdir}/mods-config
|
||||
certdir = ${confdir}/certs
|
||||
cadir = ${confdir}/certs
|
||||
run_dir = ${localstatedir}/run/${name}
|
||||
|
||||
db_dir = ${raddbdir}
|
||||
|
||||
libdir = /usr/lib/freeradius
|
||||
|
||||
pidfile = ${run_dir}/${name}.pid
|
||||
|
||||
|
||||
max_request_time = 30
|
||||
|
||||
cleanup_delay = 5
|
||||
|
||||
max_requests = 16384
|
||||
|
||||
hostname_lookups = no
|
||||
|
||||
|
||||
log {
|
||||
destination = stdout
|
||||
|
||||
colourise = yes
|
||||
|
||||
file = ${logdir}/radius.log
|
||||
|
||||
syslog_facility = daemon
|
||||
|
||||
stripped_names = no
|
||||
|
||||
auth = yes
|
||||
|
||||
|
||||
|
||||
auth_badpass = yes
|
||||
auth_goodpass = yes
|
||||
|
||||
|
||||
msg_denied = "You are already logged in - access denied"
|
||||
|
||||
}
|
||||
|
||||
checkrad = ${sbindir}/checkrad
|
||||
|
||||
ENV {
|
||||
|
||||
|
||||
}
|
||||
|
||||
security {
|
||||
|
||||
user = freerad
|
||||
group = freerad
|
||||
|
||||
allow_core_dumps = no
|
||||
|
||||
max_attributes = 200
|
||||
|
||||
reject_delay = 1
|
||||
|
||||
status_server = yes
|
||||
|
||||
|
||||
}
|
||||
|
||||
proxy_requests = yes
|
||||
$INCLUDE proxy.conf
|
||||
|
||||
|
||||
|
||||
$INCLUDE clients.conf
|
||||
|
||||
|
||||
thread pool {
|
||||
start_servers = 5
|
||||
|
||||
max_servers = 32
|
||||
|
||||
min_spare_servers = 3
|
||||
max_spare_servers = 10
|
||||
|
||||
|
||||
max_requests_per_server = 0
|
||||
|
||||
|
||||
auto_limit_acct = no
|
||||
}
|
||||
|
||||
|
||||
modules {
|
||||
|
||||
|
||||
$INCLUDE mods-enabled/
|
||||
}
|
||||
|
||||
instantiate {
|
||||
|
||||
}
|
||||
|
||||
policy {
|
||||
$INCLUDE policy.d/
|
||||
}
|
||||
|
||||
$INCLUDE sites-enabled/
|
Loading…
Add table
Add a link
Reference in a new issue