Hi, I just made the setup of a second RADIUS server, and trying to relay the accounting, preferably with decouple-accounting, because I think it is a more robust configuration. I have already read the freeradius.org pages, a lot of posts, and the virtual server itself; put the decouple-accounting in sites-enabled; managed to intercept the accounting setting up the write_detail.xxxx server, and indeed all the correct accounting goes to /var/log/freeradius/radacct/detail.xxx I also setup on the master side, this secondary server as client in the clients.conf file. However, I am a bit at a loss how to reach the read_detail.xxx server to process the files left by write_detail. Any clues? Regards, Rui Ribeiro
There is an example called robust-proxy-accounting in the sites-available directory From: freeradius-users-bounces+adrian.p.smith=bt.com@lists.freeradius.org [mailto:freeradius-users-bounces+adrian.p.smith=bt.com@lists.freeradius.org] On Behalf Of Rui Ribeiro Sent: 03 December 2013 15:56 To: freeradius-users@lists.freeradius.org Subject: decoupled accounting Hi, I just made the setup of a second RADIUS server, and trying to relay the accounting, preferably with decouple-accounting, because I think it is a more robust configuration. I have already read the freeradius.org<http://freeradius.org> pages, a lot of posts, and the virtual server itself; put the decouple-accounting in sites-enabled; managed to intercept the accounting setting up the write_detail.xxxx server, and indeed all the correct accounting goes to /var/log/freeradius/radacct/detail.xxx I also setup on the master side, this secondary server as client in the clients.conf file. However, I am a bit at a loss how to reach the read_detail.xxx server to process the files left by write_detail. Any clues? Regards, Rui Ribeiro
Rui Ribeiro wrote:
However, I am a bit at a loss how to reach the read_detail.xxx server to process the files left by write_detail. Any clues?
Read the "decoupled-accounting" virtual server. ... # Define a virtual server to process the accounting packets. server read-detail.example.com { # Read accounting packets from the detail file(s) for # the home server. listen { type = detail filename = "${radacctdir}/detail.example.com/detail-*:*" load_factor = 10 } It's all documented. Alan DeKok.
participants (3)
-
adrian.p.smith@bt.com -
Alan DeKok -
Rui Ribeiro