accounting to multiple servers

Nicolás Ciuffolotti nicolas.ciuffolotti at cotesma.com.ar
Thu Nov 19 19:44:42 CET 2020


Hi Alan
I appreciate for your help.
I have a problem.
When I put in debug mode:
Debug: detail
(/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d):
Polling for detail file
Debug: detail
(/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d):
Detail listener state unopened

My copy-acct-to-home-server file:
server copy-acct-to-home-server {
        listen {
                type = detail
                filename =
${radacctdir}/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d
               preacct {
               update control {
                         &Proxy-To-Realm := "elektra.ctsma02.com.ar"
                }
        }
        accounting {
                   ok
        }

and proxy.conf file:

home_server elektra.ctsma02.com.ar {
        type = acct
        ipaddr = 192.168.9.20
        port = 1813
        secret = ####
}

I have never used copy-acct-to-home-server and proxy, but I just need the
files details of both servers contain the same.

I will appreciate very much.

On Thu, Oct 29, 2020 at 3:09 PM Alan DeKok <aland at deployingradius.com>
wrote:

> On Oct 29, 2020, at 1:46 PM, Nicolás Ciuffolotti <
> nicolas.ciuffolotti at cotesma.com.ar> wrote:
> >
> > proxy.conf is necessary configurate the realms, home_server_pool, and
> > home_server for that work?
>
>   Yes.  Just add a "home_server" which points to the other server:
>
> home_server other {
>         ... ipaddr, secret, etc.
> }
>
> > I didn't found an example, and just need that content the files details
> is
> > in two servers.
>
>   You can edit sites-available/copy-acct-to-home-server.  In the "preacct"
> section remove the "suffix", "ntdomain", etc., and add:
>
>                 update control {
>                         Home-Server-Name := "other"
>                 }
>
>   It should then work.
>
>   Alan DeKok.
>
>
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html


More information about the Freeradius-Users mailing list