Regression #13823
Updated by Marcos M almost 2 years ago
The RADIUS attribute @pfSense-Max-Total-Octets@ is used in FreeRADIUS with the option @Amount of Download and Upload Traffic@. Currently, it is not parsed correctly, leading to sessions being logged out prematurely. It seems to be an issue somewhere in the Auth_RADIUS wrapper given that calling @getAttributes()@ returns the incorrect @maxbytes@ attribute. For example, entering @1000@ @100@ in the FreeRADIUS user's configuration for the options @Amount of Download and Upload Traffic@ Traffic@, @Maximum Bandwidth Down@, and @Maximum Bandwidth Up@ results in the following: <pre> [maxbytes] [bw_up] => 1048576000 </pre> but a value of @10000@ returns: <pre> 100000 [bw_down] => 100000 [maxbytes] => 1895825408 104857600 </pre>