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...<br>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....<br>
Am I missing something here? <br>How does freeradius act on this case?<br><br>Also, Timestamp is UTC, while mysql shows local time....is this ok?<br><br><br>Example packet:<br><br>Accounting-Request Id 209 <a href="http://10.0.0.11:34077">10.0.0.11:34077</a> -> <a href="http://10.0.0.1:1813">10.0.0.1:1813</a> +1199.991<br>
Service-Type = Framed-User<br> Framed-Protocol = PPP<br> NAS-Port = 671504<br> NAS-Port-Type = Ethernet<br> User-Name = "1234566"<br> Calling-Station-Id = "00:12:22:A0:bb:5C"<br> Called-Station-Id = "Remota ffgdfg ffffff"<br>
NAS-Port-Id = "Vlan dfg rerererer"<br> Acct-Session-Id = "8105f258"<br> Framed-IP-Address = 123.111.222.333<br> Acct-Authentic = RADIUS<br> Event-Timestamp = "Apr 14 2012 21:23:42 UTC"<br>
Acct-Session-Time = 1500<br> Acct-Input-Octets = 2852<br> Acct-Input-Gigawords = 0<br> Acct-Input-Packets = 74<br> Acct-Output-Octets = 5721<br> Acct-Output-Gigawords = 0<br> Acct-Output-Packets = 95<br>
Acct-Status-Type = Interim-Update<br> NAS-Identifier = "XXX_PPPoE_1"<br> Acct-Delay-Time = 0<br> NAS-IP-Address = 10.0.0.11<br><br>Accounting-Response Id 209 <a href="http://10.0.0.1:1813">10.0.0.1:1813</a> -> <a href="http://10.0.0.11:34077">10.0.0.11:34077</a> +1200.000<br>
<br><br><br>thanks!<br><br><br><br>