Proxy accounting message
Hi all, I have 2 NAS devices which will deliver RADIUS accounting message to my billing server. Now my billing system will receive all accounting info for all users. I would like to do billing record only for some of my users so that I would like to filter the others. I built a freeradius 1.x to proxy accounting message from NAS devices to billing server. Is it possible to configure the freeradius filter/limit the proxy of accounting message based on user in database or files? Thanks, HM
I have 2 NAS devices which will deliver RADIUS accounting message to my billing server. Now my billing system will receive all accounting info for all users.
I would like to do billing record only for some of my users so that I would like to filter the others. I built a freeradius 1.x to proxy accounting message from NAS devices to billing server.
Why not 2.x? It is much more flexible for such situations.
Is it possible to configure the freeradius filter/limit the proxy of accounting message based on user in database or files?
Yes. Ivan Kalik Kalik Informatika ISP
Thanks Ivan, There is limitation of dependency with other software. BTW, I have tried a configuration to work with MySQL as following and it meets my requirement. Is it the best way? 1. In configuration file acct_users DEFAULT Acct-Status-Type == Start, SQL-Group = REMOTE, Proxy-To-Realm :=REMOTE 2. In configuration file proxy.conf realm REMOTE{ type = radius accthost = 192.168.1.1:1814 secret = 1234 } realm NULL { type = radius accthost = LOCAL } 3. In table "usergroup" of database, assign those users to "REMOTE" Group. In this case, account message from user in "REMOTE" group will be sent to another account server "192.168.1.1:1814" otherwise will drop. On Mon, Aug 3, 2009 at 4:42 PM, Ivan Kalik <tnt@kalik.net> wrote:
I have 2 NAS devices which will deliver RADIUS accounting message to my billing server. Now my billing system will receive all accounting info for all users.
I would like to do billing record only for some of my users so that I would like to filter the others. I built a freeradius 1.x to proxy accounting message from NAS devices to billing server.
Why not 2.x? It is much more flexible for such situations.
Is it possible to configure the freeradius filter/limit the proxy of accounting message based on user in database or files?
Yes.
Ivan Kalik Kalik Informatika ISP
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
participants (2)
-
HM Wong -
Ivan Kalik