Project

General

Profile

Actions

Bug #2752

closed

Captive Portal Last Activity isn't update anymore --> idle timeout just after login

Added by Erik Ruedin over 11 years ago. Updated almost 11 years ago.

Status:
Resolved
Priority:
High
Assignee:
-
Category:
Captive Portal
Target version:
-
Start date:
01/11/2013
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.0.x
Affected Architecture:
amd64

Description

Since version 2.0.2 some of our captive portal users are logged out suddenly after login. In radius accounting i saw an idle timeout. We have activated idle timeout of 1800 sec.

I analyzed the code of captiveportal.inc. Within the function "captiveportal_prune_old" idle timeout is checked by comparing last activity ($lastact) with current time ($pruning_time). I entred two log lines showing last activity, current time, login time and ip-address of user.

I found out that last activity (entrystats in table 1) isn't updated respective not deleted during logout. A restart of pfsense deletes the table but few minutes later next idle timeout is recurring.

The attached pdf shows the captive portal status page and two log entries of such idle timeouts (own analyze within timeout code).

Version 2.0.1 was OK. It must be something new. I updated via automatic update function. As quick measurement I had to disable ide-timeout.

Regards,
Erik


Files

Issue Last Activity.pdf (145 KB) Issue Last Activity.pdf Erik Ruedin, 01/11/2013 05:11 AM
Actions

Also available in: Atom PDF