Problems with my radrelay configuration?

tonimanel antoniofernandez at fabergames.com
Tue Oct 11 09:24:01 CEST 2011


Hi, 

After append inside modules section of radrelay.conf file this code:

detail {
detailfile = /var/log/freeradius/radacct/detail
detailperm = 0600
dirperm = 0755
locking = no
}

When I lunch freeradius -X -n radrelay appear this:

root at debian:/etc/freeradius# freeradius -X -n radrelay
FreeRADIUS Version 2.1.10, for host i486-pc-linux-gnu, built on Nov 14 2010
at 20:41:03
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 /etc/freeradius/radrelay.conf
including configuration file /etc/freeradius/modules/always
main {
        allow_core_dumps = no
}
including dictionary file /etc/freeradius/dictionary
main {
        prefix = "/usr"
        localstatedir = "/var"
        logdir = "/var/log/freeradius"
        libdir = "@libdir@"
        radacctdir = "/var/log/freeradius/radacct"
        hostname_lookups = no
        max_request_time = 30
        cleanup_delay = 5
        max_requests = 65536
        pidfile = "/var/run/radrelay/radrelay.pid"
        checkrad = "/usr/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 = 0
        status_server = no
 }
}
radrelay: #### Loading Realms and Home Servers ####
 home_server radrelay {
        ipaddr = 192.168.1.130
        port = 1812
        type = "acct"
        secret = "testing123"
        response_window = 30
        max_outstanding = 65536
        require_message_authenticator = yes
        zombie_period = 40
        status_check = "none"
        ping_interval = 30
        check_interval = 30
        num_answers_to_alive = 3
        num_pings_to_alive = 3
        revive_interval = 300
        status_check_timeout = 4
        irt = 2
        mrt = 16
        mrc = 5
        mrd = 30
 }
 home_server_pool radrelay {
        type = fail-over
        home_server = radrelay
 }
 realm radrelay {
        acct_pool = radrelay
 }
radrelay: #### Loading Clients ####
radrelay: #### Instantiating modules ####
 instantiate {
 }
radrelay: #### Loading Virtual Servers ####
server { # from file /etc/freeradius/radrelay.conf
 modules {
 Module: Checking preacct {...} for more modules to load
 Module: Checking accounting {...} for more modules to load
 Module: Linked to module rlm_detail
 Module: Instantiating module "detail" from file
/etc/freeradius/radrelay.conf
  detail {
        detailfile = "/var/log/freeradius/radacct/detail"
        header = "%t"
        detailperm = 384
        dirperm = 493
        locking = no
        log_packet_header = no
  }
 } # modules
} # server
radrelay: #### Opening IP addresses and Ports ####
listen {
        type = "detail"
 listen {
        filename = "/var/log/freeradius/radacct/detail"
        load_factor = 50
        poll_interval = 1
        retry_interval = 30
 }
}
Listening on /var/log/freeradius/radacct/detail
Detail listener /var/log/freeradius/radacct/detail state unopened signalled
0 waiting 1.000000 sec
Listening on proxy address * port 1187
Waking up in 0.9 seconds.
Polling for detail file /var/log/freeradius/radacct/detail
Detail listener /var/log/freeradius/radacct/detail state unopened signalled
0 waiting 1.085288 sec
Waking up in 1.0 seconds.
Polling for detail file /var/log/freeradius/radacct/detail
Detail listener /var/log/freeradius/radacct/detail state unopened signalled
0 waiting 0.914222 sec
Waking up in 0.9 seconds.
Polling for detail file /var/log/freeradius/radacct/detail
Detail listener /var/log/freeradius/radacct/detail state unopened signalled
0 waiting 1.185128 sec
Waking up in 1.1 seconds.
^C


I think that is the same result. Do you know what can be happening? Is
correct this change? I think that I'm very lost... But I will get! With your
help!

Regards and thank you for your help.

--
View this message in context: http://freeradius.1045715.n5.nabble.com/Problems-with-my-radrelay-configuration-tp4876089p4890956.html
Sent from the FreeRadius - User mailing list archive at Nabble.com.



More information about the Freeradius-Users mailing list