Project

General

Profile

Actions

Bug #2698

closed

freeradius2 counter not working

Added by Peter Moreno over 11 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
FreeRADIUS
Target version:
-
Start date:
11/28/2012
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Affected Version:
2.0.1
Affected Plus Version:
Affected Architecture:
i386

Description

Hi.

I have try to setup my pfsense box and handle my users from freeradius2, I want to use the "Amount of Time stuff", had follow the manual but cannot make it work.
The issue are different:

1) If I add a user with a X amount to time, the next users doesn't matter how much time I put them, they system use the setting from the first user.
2) The counter is not doing well the job, I can add a user with 30 minutes and the system disconnect the user before the time I setup.

I was thinking that maybe fr2 on pfsense was the issue, I setup other machine with centos 5.x+freeradius and the same issue.
The session key that suppose that have the amount of time from the user don't show me the right counter.
I have run fr2 in debug mode.
Have try to see what is causing this almost a month.
If u need more info let me know.
Reference: http://forum.pfsense.org/index.php/topic,52324.15.html

Files

radiusd.log (51.2 KB) radiusd.log Peter Moreno, 11/28/2012 09:55 AM
Actions #1

Updated by Peter Moreno over 11 years ago

Example:

"alice" Cleartext-Password := "test", Max-Daily-Session := 420

7 minutes = 420

Please I had save the log from running radiusd -X, see attach file please.

Is like that the counter is ruuning faster that the system clock, but the logs I still don't understand them, maybe someone else can.

The system reject the user before time.
More info let me know please!!!
Actions #2

Updated by Peter Moreno over 11 years ago

Last thing, the CP have the option that say it has to auth users every minute, but in debug mode is send packets in less than a minute.

Actions #3

Updated by Alexander Wilke about 11 years ago

http://redmine.pfsense.org/issues/2164

Can you check this ticket, read the last post of that ticket and the coresponding forum links and try again if that will fix your problem?

Actions #4

Updated by Jim Pingle about 11 years ago

  • Status changed from New to Feedback
Actions #5

Updated by Peter Moreno about 11 years ago

Guys, sorry, yes the patch fix the issue, thanks!!!

http://forum.pfsense.org/index.php/topic,57303.0/all.html

Actions #6

Updated by Chris Buechler over 9 years ago

  • Category set to FreeRADIUS
  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF