Problem with Retrieving some Attributes
Hi all I know that RADIUS server does AAA. Suppose that I have an active session (I made one with radclient). Now, I want to get an attribute of that session (for example, Calling-Station-Id); My problem is that I don't know what packet type should I send to RADIUS server to get attributes. My freeradius version: 2.0.4 in Debian Lenny. Thanks for any comment.
I know that RADIUS server does AAA. Suppose that I have an active session (I made one with radclient). Now, I want to get an attribute of that session (for example, Calling-Station-Id); My problem is that I don't know what packet type should I send to RADIUS server to get attributes.
You should really test NAS rather than radius for that. If you really want to use radius records look into the radius database (radacct table). Ivan Kalik Kalik Informatika ISP
If you really want to use radius records look into the radius database (radacct table).
Thank you. So you mean if an application wants to gather accounting statistics, get some attributes or something like that, it should read radius DB directly? or can query RADIUS server? All that I want is getting an attribute for a specific active session by a remote application. Should I query RADIUS server? if yes, how? or should query its backend database? Please tell me if I'm wrong in something.
mozafar roshany wrote:
So you mean if an application wants to gather accounting statistics, get some attributes or something like that, it should read radius DB directly?
Yes.
or can query RADIUS server?
No. RADIUS is not a database. It does not provide a generic query API.
All that I want is getting an attribute for a specific active session by a remote application. Should I query RADIUS server? if yes, how? or should query its backend database?
Query the database. Alan DeKok.
participants (3)
-
Alan DeKok -
Ivan Kalik -
mozafar roshany