All pastes #223367 Raw Edit

Untitled

public text v1 · immutable
#223367 ·published 2006-10-26 21:58 UTC
rendered paste body
prefix = /usr/local
exec_prefix = ${prefix}
sysconfdir = ${prefix}/etc
localstatedir = /var
sbindir = ${exec_prefix}/sbin
logdir = /var/log
raddbdir = ${sysconfdir}/raddb
radacctdir = ${logdir}/radacct

confdir = ${raddbdir}
run_dir = ${localstatedir}/run/radiusd

log_file = ${logdir}/radius.log

libdir = ${exec_prefix}/lib

pidfile = ${run_dir}/radiusd.pid

max_request_time = 30
delete_blocked_requests = no
cleanup_delay = 5
max_requests = 1024
bind_address = *

port = 0

hostname_lookups = no
allow_core_dumps = no

regular_expressions     = yes
extended_expressions    = yes

log_stripped_names = yes
log_auth = no
log_auth_badpass = no
log_auth_goodpass = no


radius# cat radius.conf
cat: radius.conf: No such file or directory
radius# cat radiusd.conf
prefix = /usr/local
exec_prefix = ${prefix}
sysconfdir = ${prefix}/etc
localstatedir = /var
sbindir = ${exec_prefix}/sbin
logdir = /var/log
raddbdir = ${sysconfdir}/raddb
radacctdir = ${logdir}/radacct

confdir = ${raddbdir}
run_dir = ${localstatedir}/run/radiusd

log_file = ${logdir}/radius.log

libdir = ${exec_prefix}/lib

pidfile = ${run_dir}/radiusd.pid

max_request_time = 30
delete_blocked_requests = no
cleanup_delay = 5
max_requests = 1024
bind_address = *

port = 0

hostname_lookups = no
allow_core_dumps = no

regular_expressions     = yes
extended_expressions    = yes

log_stripped_names = yes
log_auth = no
log_auth_badpass = no
log_auth_goodpass = no

usercollide = no

lower_user = before
lower_pass = before

nospace_user = before
nospace_pass = before

checkrad = ${sbindir}/checkrad


security {
       max_attributes = 200
       reject_delay = 1
       status_server = no
}


proxy_requests  = no

$INCLUDE  ${confdir}/clients.conf

snmp    = no


thread pool {
       start_servers = 5
       max_servers = 32
       min_spare_servers = 3
       max_spare_servers = 10
       max_requests_per_server = 0
}


modules {
       pap {
               encryption_scheme = crypt
       }
       chap {
               authtype = CHAP
       }
       mschap {
               authtype = MS-CHAP
               use_mppe = no
       }


acct_unique {
               key = "User-Name, Acct-Session-Id, NAS-IP-Address, Client-IP-Address, NAS-Port"
       }


$INCLUDE  ${confdir}/sql.conf


counter daily {
               filename = ${raddbdir}/db.daily
               key = User-Name
               count-attribute = Acct-Session-Time
               reset = daily
               counter-name = Daily-Session-Time
               check-name = Max-Daily-Session
               allowed-servicetype = Framed-User
               cache-size = 5000
       }

always fail {
               rcode = fail
       }
       always reject {
               rcode = reject
       }
       always ok {
               rcode = ok
               simulcount = 0
               mpp = no
       }
}


instantiate {
}
authorize {
       chap
       mschap
       sql
}
authenticate {
       Auth-Type PAP {
               pap
       }
       Auth-Type CHAP {
               chap
       }
       Auth-Type MS-CHAP {
               mschap
       }
}
preacct {
       acct_unique
}
accounting {
       sql
}
session {
       sql
}
post-auth {
       sql
}
ippool main_pool {
               range-start = 192.168.10.1
               range-stop = 192.168.10.254
               netmask = 255.255.255.0
               cache-size = 254
               session-db = ${raddbdir}/db.ipmainpool
               ip-index = ${raddbdir}/db.ipmainindex
               override = no
               maximum-timeout = 0
       }
       ippool secondary_pool {
               range-start = 192.168.11.1
               range-stop = 192.168.11.254
               netmask = 255.255.255.0
               cache-size = 254
               session-db = ${raddbdir}/db.ipsecondarypool
               ip-index = ${raddbdir}/db.ipsecondaryindex
               override = no
               maximum-timeout = 0
       }