hostapd + FreeRADIUS Acct-Packets and Acct-Octets
Sun Feb 15 13:04:39 PST 2009
I have setup hostapd + FreeRADIUS for accounting, all seems fine
except reporting the attributes Acct-Input-Packets, Acct-Output-
Packets, Acct-Input-Octets and Acct-Output-Octets, they don't seem
right, does hostapd calculate these attributes, or it just read them
from the driver?
I'm using hostapd v0.6.8 with nl80211 + b43 driver.
Below is what I get when the account stops when running freeradius -X:
rad_recv: Accounting-Request packet from host 127.0.0.1 port 51593,
Acct-Session-Id = "4998660A-00000001"
Acct-Status-Type = Stop
Acct-Authentic = Local
User-Name = "002129e4fad1"
NAS-IP-Address = 10.10.10.3
NAS-Identifier = "some_name"
NAS-Port = 1
Called-Station-Id = "00-14-C1-1E-83-5E:Free Internet"
Calling-Station-Id = "00-21-29-E4-FA-D1"
NAS-Port-Type = Wireless-802.11
Connect-Info = "CONNECT 54Mbps 802.11g"
Acct-Session-Time = 301
Acct-Input-Packets = 3221356558
Acct-Output-Packets = 786432
Acct-Input-Octets = 199
Acct-Output-Octets = 3220394018
Event-Timestamp = "Feb 15 2009 14:05:52 EST"
Acct-Terminate-Cause = Idle-Timeout
More information about the Hostap