Order of loading modules
Francesco Maisano
maisanof at gmail.com
Tue Jan 7 01:13:16 CET 2014
Sorry Alan,
i see my configuration in instantiate section and I do not understand where
it is shown the load order of the modules, please explain me.
Below my radiusd.conf (same file for each servers) and startup of
freeradius in debug mode on server A and on server B and you see the
difference in loading modules order.
Debug log info:
radius_debug_server_A.log --> be careful to line number 46 (load perl
module) and 62 (load perl_Originale module)
radius_debug_server_B.log --> be careful to line number 45 (load
perl_Originale module) and 58 (load perl module)
radiusd.conf instantiate section:
# Instantiation
#
# This section orders the loading of the modules. Modules
# listed here will get loaded BEFORE the later sections like
# authorize, authenticate, etc. get examined.
#
# This section is not strictly needed. When a section like
# authorize refers to a module, it's automatically loaded and
# initialized. However, some modules may not be listed in any
# of the following sections, so they can be listed here.
#
# Also, listing modules here ensures that you have control over
# the order in which they are initalized. If one module needs
# something defined by another module, you can list them in order
# here, and ensure that the configuration will be OK.
#
instantiate {
#
# Allows the execution of external scripts.
# The entire command line (and output) must fit into 253 bytes.
#
# e.g. Framed-Pool = `%{exec:/bin/echo foo}`
exec
#
# The expression module doesn't do authorization,
# authentication, or accounting. It only does dynamic
# translation, of the form:
#
# Session-Timeout = `%{expr:2 + 3}`
#
# So the module needs to be instantiated, but CANNOT be
# listed in any other section. See 'doc/rlm_expr' for
# more information.
#
expr
#
# We add the counter module here so that it registers
# the check-name attribute before any module which sets
# it
# daily
expiration
logintime
# subsections here can be thought of as "virtual" modules.
#
# e.g. If you have two redundant SQL servers, and you want to
# use them in the authorize and accounting sections, you could
# place a "redundant" block in each section, containing the
# exact same text. Or, you could uncomment the following
# lines, and list "redundant_sql" in the authorize and
# accounting sections.
#
#redundant redundant_sql {
# sql1
# sql2
#}
}
################## radius_debug_server_A.log
###################################
FreeRADIUS Version 2.1.12, for host sparc-sun-solaris2.10, built on Mar 27
2012 at 12:17:53
Copyright (C) 1999-2009 The FreeRADIUS server project and contributors.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
You may redistribute copies of FreeRADIUS under the terms of the
GNU General Public License v2.
Starting - reading configuration files ...
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//radiusd.conf
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//proxy.conf
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//clients.conf
including files in directory
/product/freeradius-server-2.1.12_0/etc/raddb//modules/
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/acct_unique
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/always
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/attr_filter
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/attr_rewrite
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/chap
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/checkval
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/counter
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/cui
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/detail
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/detail.example.com
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/detail.log
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/digest
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/dynamic_clients
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/echo
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/etc_group
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/exec
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/expiration
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/expr
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/files
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/inner-eap
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/ippool
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/krb5
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/ldap
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/linelog
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/logintime
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/otp
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/mac2ip
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/mschap
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/mac2vlan
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/ntlm_auth
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/opendirectory
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/pam
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/pap
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/passwd
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/perl
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/policy
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/preprocess
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/radutmp
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/realm
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/redis
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/rediswho
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/replicate
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/smbpasswd
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/smsotp
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/soh
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/sql_log
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/sqlcounter_expire_on_login
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/sradutmp
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/unix
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/wimax
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/perl_Originale
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//policy.conf
including files in directory
/product/freeradius-server-2.1.12_0/etc/raddb//sites-enabled/
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//sites-enabled/default
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//sites-enabled/status
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//sites-enabled/control-socket
including dictionary file
/product/freeradius-server-2.1.12_0/etc/raddb//dictionary
main {
name = "radiusd"
prefix = "/product/freeradius-server-2.1.12_0"
localstatedir = "/product/freeradius-server-2.1.12_0/var"
sbindir = "/product/freeradius-server-2.1.12_0/sbin"
logdir = "/product/freeradius-server-2.1.12_0/var/log/radius"
run_dir = "/product/freeradius-server-2.1.12_0/var/run/radiusd"
libdir = "/product/freeradius-server-2.1.12_0/lib"
radacctdir =
"/product/freeradius-server-2.1.12_0/var/log/radius/radacct"
hostname_lookups = no
max_request_time = 30
cleanup_delay = 5
max_requests = 1024
pidfile =
"/product/freeradius-server-2.1.12_0/var/run/radiusd/radiusd.pid"
checkrad = "/product/freeradius-server-2.1.12_0/sbin/checkrad"
debug_level = 0
proxy_requests = yes
log {
stripped_names = no
auth = no
auth_badpass = no
auth_goodpass = no
}
security {
max_attributes = 200
reject_delay = 1
status_server = yes
}
}
radiusd: #### Loading Realms and Home Servers ####
proxy server {
retry_delay = 5
retry_count = 3
default_fallback = no
dead_time = 120
wake_all_if_all_dead = no
}
home_server localhost {
ipaddr = 127.0.0.1
port = 1812
type = "auth"
secret = "testing123"
response_window = 20
max_outstanding = 65536
require_message_authenticator = yes
zombie_period = 40
status_check = "status-server"
ping_interval = 30
check_interval = 30
num_answers_to_alive = 3
num_pings_to_alive = 3
revive_interval = 120
status_check_timeout = 4
coa {
irt = 2
mrt = 16
mrc = 5
mrd = 30
}
}
home_server_pool my_auth_failover {
type = fail-over
home_server = localhost
}
realm example.com {
auth_pool = my_auth_failover
}
realm LOCAL {
}
radiusd: #### Loading Clients ####
client localhost {
ipaddr = 127.0.0.1
require_message_authenticator = no
secret = "wonderland_lte"
nastype = "other"
}
client 172.16.1.64 {
require_message_authenticator = no
secret = "wonderland_lte"
shortname = "OneAAA_64"
}
client 172.16.1.88 {
require_message_authenticator = no
secret = "wonderland_lte"
shortname = "OneAAA_88"
}
client 163.162.128.136 {
require_message_authenticator = no
secret = "wonderland_lte"
shortname = "OneAAA_136"
}
client 163.162.128.137 {
require_message_authenticator = no
secret = "wonderland_lte"
shortname = "OneAAA_137"
}
client 172.16.23.254 {
require_message_authenticator = no
secret = "wonderland_lte"
shortname = "OneAAA_MC"
}
client 163.162.193.138 {
require_message_authenticator = no
secret = "tim"
shortname = "OneAAA_nsn"
}
client balancer {
ipaddr = 172.16.1.3
require_message_authenticator = no
secret = "monitoringf5"
shortname = "bigip"
}
client 172.16.2.75 {
ipaddr = 172.16.2.75
require_message_authenticator = no
secret = "wonderland_lte"
shortname = "proxy_server_1"
}
client 172.16.2.76 {
ipaddr = 172.16.2.76
require_message_authenticator = no
secret = "wonderland_lte"
shortname = "proxy_server_2"
}
client balancer_new {
ipaddr = 172.16.1.167
require_message_authenticator = no
secret = "monitoringf5"
shortname = "bigip"
}
client balancer_new_mgmt {
ipaddr = 172.16.5.166
require_message_authenticator = no
secret = "monitoringf5"
shortname = "bigip_1"
}
client 172.16.2.169 {
require_message_authenticator = no
secret = "monitoringf5"
shortname = "bigip_2"
}
client 0.0.0.0/0 {
require_message_authenticator = no
secret = "wonderland_lte"
shortname = "name"
}
radiusd: #### Instantiating modules ####
instantiate {
Module: Linked to module rlm_exec
Module: Instantiating module "exec" from file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/exec
exec {
wait = no
input_pairs = "request"
shell_escape = yes
}
Module: Linked to module rlm_expr
Module: Instantiating module "expr" from file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/expr
Module: Linked to module rlm_expiration
Module: Instantiating module "expiration" from file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/expiration
expiration {
reply-message = "Password Has Expired "
}
Module: Linked to module rlm_logintime
Module: Instantiating module "logintime" from file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/logintime
logintime {
reply-message = "You are calling outside your allowed timespan "
minimum-timeout = 60
}
}
radiusd: #### Loading Virtual Servers ####
server { # from file
/product/freeradius-server-2.1.12_0/etc/raddb//radiusd.conf
modules {
Module: Creating Auth-Type = digest
Module: Creating Post-Auth-Type = REJECT
Module: Checking authenticate {...} for more modules to load
Module: Linked to module rlm_pap
Module: Instantiating module "pap" from file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/pap
pap {
encryption_scheme = "auto"
auto_header = no
}
Module: Linked to module rlm_chap
Module: Instantiating module "chap" from file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/chap
Module: Linked to module rlm_mschap
Module: Instantiating module "mschap" from file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/mschap
mschap {
use_mppe = yes
require_encryption = no
require_strong = no
with_ntdomain_hack = no
allow_retry = yes
}
Module: Linked to module rlm_digest
Module: Instantiating module "digest" from file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/digest
Module: Linked to module rlm_unix
Module: Instantiating module "unix" from file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/unix
unix {
radwtmp =
"/product/freeradius-server-2.1.12_0/var/log/radius/radwtmp"
}
Module: Checking authorize {...} for more modules to load
Module: Linked to module rlm_preprocess
Module: Instantiating module "preprocess" from file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/preprocess
preprocess {
huntgroups =
"/product/freeradius-server-2.1.12_0/etc/raddb//huntgroups"
hints = "/product/freeradius-server-2.1.12_0/etc/raddb//hints"
with_ascend_hack = no
ascend_channels_per_line = 23
with_ntdomain_hack = no
with_specialix_jetstream_hack = no
with_cisco_vsa_hack = no
with_alvarion_vsa_hack = no
}
Module: Linked to module rlm_realm
Module: Instantiating module "suffix" from file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/realm
realm suffix {
format = "suffix"
delimiter = "@"
ignore_default = no
ignore_null = no
}
Module: Linked to module rlm_files
Module: Instantiating module "files" from file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/files
files {
usersfile = "/product/freeradius-server-2.1.12_0/etc/raddb//users"
acctusersfile =
"/product/freeradius-server-2.1.12_0/etc/raddb//acct_users"
preproxy_usersfile =
"/product/freeradius-server-2.1.12_0/etc/raddb//preproxy_users"
compat = "no"
}
Module: Checking preacct {...} for more modules to load
Module: Linked to module rlm_acct_unique
Module: Instantiating module "acct_unique" from file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/acct_unique
acct_unique {
key = "User-Name, Acct-Session-Id, NAS-IP-Address,
Client-IP-Address, NAS-Port"
}
Module: Checking accounting {...} for more modules to load
Module: Linked to module rlm_perl
Module: Instantiating module "perl" from file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/perl
perl {
module = "/product/freeradius-server-2.1.12_0/etc/raddb//
http_acct.pl"
func_authorize = "authorize"
func_authenticate = "authenticate"
func_accounting = "accounting"
func_preacct = "preacct"
func_checksimul = "checksimul"
func_detach = "detach"
func_xlat = "xlat"
func_pre_proxy = "pre_proxy"
func_post_proxy = "post_proxy"
func_post_auth = "post_auth"
func_recv_coa = "recv_coa"
func_send_coa = "send_coa"
}
Module: Checking session {...} for more modules to load
Module: Linked to module rlm_radutmp
Module: Instantiating module "radutmp" from file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/radutmp
radutmp {
filename =
"/product/freeradius-server-2.1.12_0/var/log/radius/radutmp"
username = "%{User-Name}"
case_sensitive = yes
check_with_nas = yes
perm = 384
callerid = yes
}
Module: Checking post-auth {...} for more modules to load
Module: Linked to module rlm_attr_filter
Module: Instantiating module "attr_filter.access_reject" from file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/attr_filter
attr_filter attr_filter.access_reject {
attrsfile =
"/product/freeradius-server-2.1.12_0/etc/raddb//attrs.access_reject"
key = "%{User-Name}"
relaxed = no
}
} # modules
} # server
server status { # from file
/product/freeradius-server-2.1.12_0/etc/raddb//sites-enabled/status
modules {
Module: Creating Autz-Type = Status-Server
Module: Checking authorize {...} for more modules to load
Module: Linked to module rlm_always
Module: Instantiating module "ok" from file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/always
always ok {
rcode = "ok"
simulcount = 0
mpp = no
}
} # modules
} # server
############################################################################
################## radius_debug_server_B.log
###################################
FreeRADIUS Version 2.1.12, for host sparc-sun-solaris2.10, built on May 30
2012 at 10:32:20
Copyright (C) 1999-2009 The FreeRADIUS server project and contributors.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
You may redistribute copies of FreeRADIUS under the terms of the
GNU General Public License v2.
Starting - reading configuration files ...
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//radiusd.conf
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//proxy.conf
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//clients.conf
including files in directory
/product/freeradius-server-2.1.12_0/etc/raddb//modules/
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/opendirectory
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/ntlm_auth
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/ippool
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/sql_log
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/checkval
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/mac2ip
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/ldap
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/attr_filter
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/smbpasswd
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/expr
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/inner-eap
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/chap
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/radutmp
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/linelog
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/passwd
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/rediswho
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/krb5
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/detail.example.com
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/exec
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/unix
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/sradutmp
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/wimax
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/sqlcounter_expire_on_login
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/perl_Originale
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/otp
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/soh
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/always
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/mac2vlan
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/digest
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/cui
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/redis
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/pam
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/replicate
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/acct_unique
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/preprocess
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/attr_rewrite
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/mschap
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/echo
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/detail
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/etc_group
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/expiration
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/detail.log
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/dynamic_clients
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/pap
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/realm
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/policy
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/perl
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/counter
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/files
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/smsotp
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/logintime
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//policy.conf
including files in directory
/product/freeradius-server-2.1.12_0/etc/raddb//sites-enabled/
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//sites-enabled/default
including configuration file
/product/freeradius-server-2.1.12_0/etc/raddb//sites-enabled/status
including dictionary file
/product/freeradius-server-2.1.12_0/etc/raddb//dictionary
main {
name = "radiusd"
prefix = "/product/freeradius-server-2.1.12_0"
localstatedir = "/product/freeradius-server-2.1.12_0/var"
sbindir = "/product/freeradius-server-2.1.12_0/sbin"
logdir = "/product/bealogs/freeradius"
run_dir = "/product/freeradius-server-2.1.12_0/var/run/radiusd"
libdir = "/product/freeradius-server-2.1.12_0/lib"
radacctdir = "/product/bealogs/freeradius/radacct"
hostname_lookups = no
max_request_time = 30
cleanup_delay = 5
max_requests = 1024
pidfile = "/product/freeradius-server-2.1.12_0/var/run/radiusd/radiusd.pid"
checkrad = "/product/freeradius-server-2.1.12_0/sbin/checkrad"
debug_level = 0
proxy_requests = yes
log {
stripped_names = no
auth = no
auth_badpass = no
auth_goodpass = no
}
security {
max_attributes = 200
reject_delay = 1
status_server = yes
}
}
radiusd: #### Loading Realms and Home Servers ####
proxy server {
retry_delay = 5
retry_count = 3
default_fallback = no
dead_time = 120
wake_all_if_all_dead = no
}
home_server localhost {
ipaddr = 127.0.0.1
port = 1812
type = "auth"
secret = "testing123"
response_window = 20
max_outstanding = 65536
require_message_authenticator = yes
zombie_period = 40
status_check = "status-server"
ping_interval = 30
check_interval = 30
num_answers_to_alive = 3
num_pings_to_alive = 3
revive_interval = 120
status_check_timeout = 4
coa {
irt = 2
mrt = 16
mrc = 5
mrd = 30
}
}
home_server_pool my_auth_failover {
type = fail-over
home_server = localhost
}
realm example.com {
auth_pool = my_auth_failover
}
realm LOCAL {
}
radiusd: #### Loading Clients ####
client localhost {
ipaddr = 127.0.0.1
require_message_authenticator = no
secret = "wonderland_lte"
nastype = "other"
}
client 172.16.1.64 {
require_message_authenticator = no
secret = "wonderland_lte"
shortname = "OneAAA_64"
}
client 172.16.1.88 {
require_message_authenticator = no
secret = "wonderland_lte"
shortname = "OneAAA_88"
}
client 163.162.128.136 {
require_message_authenticator = no
secret = "wonderland_lte"
shortname = "OneAAA_136"
}
client 163.162.128.137 {
require_message_authenticator = no
secret = "wonderland_lte"
shortname = "OneAAA_137"
}
client 172.16.23.254 {
require_message_authenticator = no
secret = "wonderland_lte"
shortname = "OneAAA_MC"
}
client 163.162.193.138 {
require_message_authenticator = no
secret = "tim"
shortname = "OneAAA_nsn"
}
client balancer {
ipaddr = 172.16.1.3
require_message_authenticator = no
secret = "monitoringf5"
shortname = "bigip"
}
client 172.16.2.75 {
ipaddr = 172.16.2.75
require_message_authenticator = no
secret = "wonderland_lte"
shortname = "proxy_server_1"
}
client 172.16.2.76 {
ipaddr = 172.16.2.76
require_message_authenticator = no
secret = "wonderland_lte"
shortname = "proxy_server_2"
}
client balancer_new {
ipaddr = 172.16.1.167
require_message_authenticator = no
secret = "monitoringf5"
shortname = "bigip"
}
client balancer_new_mgmt {
ipaddr = 172.16.5.166
require_message_authenticator = no
secret = "monitoringf5"
shortname = "bigip_1"
}
client 172.16.2.169 {
require_message_authenticator = no
secret = "monitoringf5"
shortname = "bigip_2"
}
client 0.0.0.0/0 {
require_message_authenticator = no
secret = "wonderland_lte"
shortname = "name"
}
radiusd: #### Instantiating modules ####
instantiate {
Module: Linked to module rlm_exec
Module: Instantiating module "exec" from file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/exec
exec {
wait = no
input_pairs = "request"
shell_escape = yes
}
Module: Linked to module rlm_expr
Module: Instantiating module "expr" from file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/expr
Module: Linked to module rlm_expiration
Module: Instantiating module "expiration" from file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/expiration
expiration {
reply-message = "Password Has Expired "
}
Module: Linked to module rlm_logintime
Module: Instantiating module "logintime" from file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/logintime
logintime {
reply-message = "You are calling outside your allowed timespan "
minimum-timeout = 60
}
}
radiusd: #### Loading Virtual Servers ####
server { # from file
/product/freeradius-server-2.1.12_0/etc/raddb//radiusd.conf
modules {
Module: Creating Auth-Type = digest
Module: Creating Post-Auth-Type = REJECT
Module: Checking authenticate {...} for more modules to load
Module: Linked to module rlm_pap
Module: Instantiating module "pap" from file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/pap
pap {
encryption_scheme = "auto"
auto_header = no
}
Module: Linked to module rlm_chap
Module: Instantiating module "chap" from file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/chap
Module: Linked to module rlm_mschap
Module: Instantiating module "mschap" from file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/mschap
mschap {
use_mppe = yes
require_encryption = no
require_strong = no
with_ntdomain_hack = no
allow_retry = yes
}
Module: Linked to module rlm_digest
Module: Instantiating module "digest" from file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/digest
Module: Linked to module rlm_unix
Module: Instantiating module "unix" from file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/unix
unix {
radwtmp = "/product/bealogs/freeradius/radwtmp"
}
Module: Checking authorize {...} for more modules to load
Module: Linked to module rlm_preprocess
Module: Instantiating module "preprocess" from file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/preprocess
preprocess {
huntgroups = "/product/freeradius-server-2.1.12_0/etc/raddb//huntgroups"
hints = "/product/freeradius-server-2.1.12_0/etc/raddb//hints"
with_ascend_hack = no
ascend_channels_per_line = 23
with_ntdomain_hack = no
with_specialix_jetstream_hack = no
with_cisco_vsa_hack = no
with_alvarion_vsa_hack = no
}
Module: Linked to module rlm_realm
Module: Instantiating module "suffix" from file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/realm
realm suffix {
format = "suffix"
delimiter = "@"
ignore_default = no
ignore_null = no
}
Module: Linked to module rlm_files
Module: Instantiating module "files" from file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/files
files {
usersfile = "/product/freeradius-server-2.1.12_0/etc/raddb//users"
acctusersfile = "/product/freeradius-server-2.1.12_0/etc/raddb//acct_users"
preproxy_usersfile =
"/product/freeradius-server-2.1.12_0/etc/raddb//preproxy_users"
compat = "no"
}
Module: Checking preacct {...} for more modules to load
Module: Linked to module rlm_acct_unique
Module: Instantiating module "acct_unique" from file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/acct_unique
acct_unique {
key = "User-Name, Acct-Session-Id, NAS-IP-Address, Client-IP-Address,
NAS-Port"
}
Module: Checking accounting {...} for more modules to load
Module: Linked to module rlm_perl
Module: Instantiating module "perl" from file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/perl_Originale
perl {
module = "/product/freeradius-server-2.1.12_0/etc/raddb//example.pl"
func_authorize = "authorize"
func_authenticate = "authenticate"
func_accounting = "accounting"
func_preacct = "preacct"
func_checksimul = "checksimul"
func_detach = "detach"
func_xlat = "xlat"
func_pre_proxy = "pre_proxy"
func_post_proxy = "post_proxy"
func_post_auth = "post_auth"
func_recv_coa = "recv_coa"
func_send_coa = "send_coa"
}
Module: Linked to module rlm_attr_filter
Module: Instantiating module "attr_filter.accounting_response" from file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/attr_filter
attr_filter attr_filter.accounting_response {
attrsfile =
"/product/freeradius-server-2.1.12_0/etc/raddb//attrs.accounting_response"
key = "%{User-Name}"
relaxed = no
}
Module: Checking session {...} for more modules to load
Module: Linked to module rlm_radutmp
Module: Instantiating module "radutmp" from file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/radutmp
radutmp {
filename = "/product/bealogs/freeradius/radutmp"
username = "%{User-Name}"
case_sensitive = yes
check_with_nas = yes
perm = 384
callerid = yes
}
Module: Checking post-auth {...} for more modules to load
Module: Instantiating module "attr_filter.access_reject" from file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/attr_filter
attr_filter attr_filter.access_reject {
attrsfile =
"/product/freeradius-server-2.1.12_0/etc/raddb//attrs.access_reject"
key = "%{User-Name}"
relaxed = no
}
} # modules
} # server
server status { # from file
/product/freeradius-server-2.1.12_0/etc/raddb//sites-enabled/status
modules {
Module: Creating Autz-Type = Status-Server
Module: Checking authorize {...} for more modules to load
Module: Linked to module rlm_always
Module: Instantiating module "ok" from file
/product/freeradius-server-2.1.12_0/etc/raddb//modules/always
always ok {
rcode = "ok"
simulcount = 0
mpp = no
}
} # modules
} # server
############################################################################
Thanks and regards
maframan
2014/1/6 Alan DeKok <aland at deployingradius.com>
> Francesco Maisano wrote:
> > thanks for your reply.
>
> Apparently not. You didn't read it.
>
> > In radiusd.conf in the section modules is specified the directory of
> > modules only ($INCLUDE ${confdir}/modules/). In this file i don't found
> > the order of loading the directory contents.
> > Please help me to understand the exact load order of the modules
> > contained within the modules directory.
>
> I said:
>
> Read radiusd.conf. Look for the "instantiate" section.
>
> I meant it. The answer is there.
>
> If you're going to ignore my answers, you shouldn't be asking questions.
>
> Alan DeKok.
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20140107/4f222b98/attachment-0001.html>
More information about the Freeradius-Users
mailing list