Accounting copying to specific systems

Joe Maimon jmaimon at ttec.com
Wed Aug 19 19:00:38 CEST 2009


Certain systems need copies of accounting data, but I only want to send
a subset of accounting to the appropriate system. I dont want to change
  the way the server updates the sql accounting and local detail files.

I want something like this

acct.hints

DEFAULT	Client-IP-Address == "1.2.3.4", Hint := "FILTER-1"
DEFAULT	Client-IP-Address == "1.2.3.5", Hint := "FILTER-1"
DEFAULT	Client-IP-Address == "5.6.7.8", Hint := "FILTER-2"
DEFAULT	Client-IP-Address == "5.6.7.9", Hint := "FILTER-2"

acct.users

DEFAULT		Hint == "FILTER-1", Copy-To := "filter-1-system"
DEFAULT		Hint == "FILTER-2", Copy-To := "filter-2-system"

Where both filter-1-system and filter-2-system are defined in proxy.conf 
and obviously Copy-To is wishful thinking.

Am I headed in the right direction or is there a better way to do this?

Thanks,

Joe








More information about the Freeradius-Users mailing list