RADIUS attributes missing in accounting Stop message

Jouni Malinen j at w1.fi
Thu Apr 5 22:49:40 EDT 2007


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.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the HostAP mailing list