Project

General

Profile

Actions

Regression #13823

closed

RADIUS attribute pfSense-Max-Total-Octets is not parsed correctly

Added by Marcos M almost 2 years ago. Updated almost 2 years ago.

Status:
Rejected
Priority:
High
Category:
Authentication
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Default
Affected Version:
2.7.0
Affected Architecture:

Description

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 in the FreeRADIUS user's configuration for the options Amount of Download and Upload Traffic results in the following:

[maxbytes] => 1048576000

but a value of 10000 returns:

[maxbytes] => 1895825408


Related issues

Related to Regression #13418: Captive Portal does not keep track of client data usageResolvedReid Linnemann

Actions
Related to Feature #13843: Add ability to properly configure RADIUS captive portal user quotas of 4096MB or moreNewReid Linnemann

Actions
Actions

Also available in: Atom PDF