52 lines
725 B
Plaintext
52 lines
725 B
Plaintext
server default {
|
|
listen {
|
|
type = auth
|
|
ipaddr = 0.0.0.0
|
|
port = 0
|
|
limit {
|
|
max_connections = 16
|
|
lifetime = 0
|
|
idle_timeout = 30
|
|
}
|
|
}
|
|
listen {
|
|
ipaddr = 0.0.0.0
|
|
port = 0
|
|
type = acct
|
|
limit {
|
|
}
|
|
}
|
|
authorize {
|
|
perl
|
|
if (ok || updated) {
|
|
update control {
|
|
Auth-Type := Perl
|
|
}
|
|
}
|
|
}
|
|
authenticate {
|
|
Auth-Type Perl {
|
|
perl
|
|
}
|
|
}
|
|
preacct {
|
|
}
|
|
accounting {
|
|
detail
|
|
perl
|
|
if (ok || updated) {
|
|
update control {
|
|
Auth-Type := Perl
|
|
}
|
|
}
|
|
}
|
|
session {
|
|
}
|
|
post-auth {
|
|
}
|
|
pre-proxy {
|
|
}
|
|
post-proxy {
|
|
}
|
|
}
|