Acct-Session-Time inside interim-updates, its ok?
Hello, im debugging a problem in a Freeradius/Mikrotik setup with 3 NAS and 1 Freeradius setup, ~ 3K users online....and getting Stale Sessions, after a lot of googling and digging i found something curious... Accounting requests Packets do include the Acct-Session-Time attribute, which the RFC says should only go only if Acct-Status-Type is a STOP one.... Am I missing something here? How does freeradius act on this case? Also, Timestamp is UTC, while mysql shows local time....is this ok? Example packet: Accounting-Request Id 209 10.0.0.11:34077 -> 10.0.0.1:1813 +1199.991 Service-Type = Framed-User Framed-Protocol = PPP NAS-Port = 671504 NAS-Port-Type = Ethernet User-Name = "1234566" Calling-Station-Id = "00:12:22:A0:bb:5C" Called-Station-Id = "Remota ffgdfg ffffff" NAS-Port-Id = "Vlan dfg rerererer" Acct-Session-Id = "8105f258" Framed-IP-Address = 123.111.222.333 Acct-Authentic = RADIUS Event-Timestamp = "Apr 14 2012 21:23:42 UTC" Acct-Session-Time = 1500 Acct-Input-Octets = 2852 Acct-Input-Gigawords = 0 Acct-Input-Packets = 74 Acct-Output-Octets = 5721 Acct-Output-Gigawords = 0 Acct-Output-Packets = 95 Acct-Status-Type = Interim-Update NAS-Identifier = "XXX_PPPoE_1" Acct-Delay-Time = 0 NAS-IP-Address = 10.0.0.11 Accounting-Response Id 209 10.0.0.1:1813 -> 10.0.0.11:34077 +1200.000 thanks!
Luis Diaz wrote:
Hello, im debugging a problem in a Freeradius/Mikrotik setup with 3 NAS and 1 Freeradius setup, ~ 3K users online....and getting Stale Sessions, after a lot of googling and digging i found something curious... Accounting requests Packets do include the Acct-Session-Time attribute, which the RFC says should only go only if Acct-Status-Type is a STOP one.... Am I missing something here?
No. It's fine.
How does freeradius act on this case?
It logs the session time.
Also, Timestamp is UTC, while mysql shows local time....is this ok?
Yes. Alan DeKok.
participants (2)
-
Alan DeKok -
Luis Diaz