Problems with my radrelay configuration?

tonimanel antoniofernandez at fabergames.com
Tue Oct 11 09:44:42 CEST 2011


I have changed the line detailfil that was wrong. I have written this:
detailfile = ${radacctdir}/%{Client-IP-Address}/detail-%Y%m%d

And the output is: 

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/%{Client-IP-Address}/detail-%Y%m%d"
        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 1377
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 0.813745 sec
Waking up in 0.8 seconds.
Polling for detail file /var/log/freeradius/radacct/detail
Detail listener /var/log/freeradius/radacct/detail state unopened signalled
0 waiting 1.131002 sec
Waking up in 1.1 seconds.
^C


Thanks.

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



More information about the Freeradius-Users mailing list