Replicated Acctounting blocks replys
Dalton Porter
daltonporter at yahoo.com
Sat May 3 00:13:13 CEST 2014
Hi,
I need a configuration that works as follows regarding accounting data:
NAS sends Accounting Request ->radius svr1
radius svr1 writes to acct db and sends Accounting Request -> radius svr2
radius svr1 sends Accounting Response back to NAS
Using my current configuration, I have defined a home server for the NULL realm
and in the accounting section of sites-enabled/default, I have added "replicate"
This sort of works, but when the response comes from radius svr2, it is rejected by
radius svr1, I believe because "replicate" is fire and forget.
In any case, an Accounting Response is never sent back to the NAS so the NAS
tries to start the process over.
I don't require an ACK response from svr2 to svr1, but I do need a response from svr1 to the NAS.
Is replicate the right way to go?
Freeradius version=radiusd: FreeRADIUS Version 2.1.12, for host x86_64-redhat-linux-gnu
sites-enabled/default (acct sections)
-----
preacct {
preprocess
update control {
Replicate-To-Realm := 'NULL'
}
acct_unique
suffix
files
}
accounting {
sql
replicate
}
proxy.conf
--------------
home_server sv {
type = acct
ipaddr = 10.101.248.112
port = 1813
secret = testing123
require_message_authenticator = yes
response_window = 20
zombie_period = 40
revive_interval = 120
status_check = status-server
check_interval = 30
num_answers_to_alive = 3
max_outstanding = 65536
coa {
irt = 2
mrt = 16
mrc = 5
mrd = 30
}
}
home_server_pool sv_pool {
type = fail-over
home_server = sv
}
realm LOCAL {
}
realm NULL {
acct_pool = sandvine_pool
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20140502/0e548c81/attachment.html>
More information about the Freeradius-Users
mailing list