RADIUS attributes missing in accounting Stop message
Felix Brack
fb
Tue Apr 10 04:48:15 PDT 2007
I use the madwifi driver. I am really not sure about the version. I think
I made a checkout some months ago. The file ath/version.h says:
'#define ATH_PCI_VERSION "0.9.4.5"'. Somehow this can't be true since
the current release is 0.9.3 according to www.madwifi.org.
I messed up the compiler on my system so compiling 0.9.3 of madwifi is
not possible at the moment. If it works again, do you think I should
give it a try?
By the way, hostapd is version 0.5.7.
Felix
Jouni Malinen wrote:
> On Wed, Apr 04, 2007 at 10:27:19AM +0200, Felix Brack wrote:
>> Authentication and 95% of accounting is fine; there is just one thing
>> that is not working: When a client disconnects from the NAS, the
>> RADIUS server receives an accounting message with attribute
>> 'Acct-Status-Type' set to 'Stop'. This is fine. What is missing in
>> this message are the attributes 'Acct-Input-Packets',
>> 'Acct-Output-Packets', 'Acct-Input-Octets' and 'Acct-Output-Octets'.
>> Without these attributes sent with 'Account-Status-Type = Stop' it is
>> not possible to get accounting on the RADIUS server to work correctly.
> Which driver (including version) are you using?
>> The attributes I mentioned above that are missing when the RADIUS
>> server receives 'Account-Status-Type = Stop' are present in interim
>> update packets ('Account-Status-Type = Interim-Update') however.
> This sounds like an earlier issue where madwifi driver was taking care
> of the disassociation and when hostapd was reading statistics for the
> user, the needed data was not available anymore. I thought that this was
> resolved quite some time ago or at least this worked the last time I
> tested accounting with madwifi driver.
More information about the Hostap
mailing list