What is the best way to deal with misbehaving nas's that send accounting
to both the primary and secondary server, even while receiving replies
to both queries.
This results in multiple accounting records in sql, with duplicate
acctsessionid and acctuniqueid values.
Assuming the NAS cannot be properly configured, either for technical or
other reasons, these are the potential options.
- configure only one of the primary or secondary on the NAS
- get the server to recognize the existing record and update it instead
of inserting a new one
Now there is account_start_query_alt, but that appears to only be called
if the account_start_query fails.
With the default mysql schema, I dont think there is anything to cause
that query to ever fail.
Tips and advice are greatly appreciated.
Thanks,
Joe
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html