Radius stop packets contain no stats
-
Hi all,
Just trying 2.2 beta for kicks, and noticed that although most things work ok, there seems to be an issue with zero sizes for input / output octets, and packets too in radius accounting stats.
I've had a bit of a poke around and it seems to use the getVolume function which in turn uses pfsense_ipfw_tablestats, but I've no idea what that is, can't find it as a function anywhere in the php.
Also, I'm not good enough with ipfw to find out the traffic stats manually. I got as far a looking at the tables with ipfw -x 2 table all list, but not sure about traffic.
Anyone help?
Thanks
Andy -
I also had this issue on 2.2 RC.
Tried setting up CP + FreeRADIUS 2 with a bandwith quota, but the measured bandwith usage for the user was always 0 MB:
"root: FreeRADIUS: Used amount of daily traffic by test is 0 MB of 20 MB! The user was accepted!!!"I then tried 2.1.5 and the exact same setup, and it worked like a charm.
Setup:
CP:
Disable concurrent logins
Enable per-user bandwidth restriction
Send RADIUS accounting packets
stop/start accounting
Reauthenticate connected users every minuteFreeRADIUS:
Disable Acct_Unique- Unox
-
Confirmed, ticket opened. https://redmine.pfsense.org/issues/4131