Actions
Regression #13147
closedCaptive Portal: Idle timeout does not see activity
Start date:
Due date:
% Done:
100%
Estimated time:
Plus Target Version:
22.05
Release Notes:
Force Exclusion
Affected Version:
2.7.x
Affected Architecture:
All
Description
The idle timeout value is applied regardless of activity from the connected user. Functions as a hard timeout.
Here set for 5mins:
May 10 22:11:00 logportalauth 387 Zone: test_zone - ACCEPT: unauthenticated, 3a:d2:8d:84:6e:56, 192.168.20.10 May 10 22:16:08 logportalauth 45924 Zone: test_zone - IDLE TIMEOUT: unauthenticated, 3a:d2:8d:84:6e:56, 192.168.20.10 May 10 22:17:19 logportalauth 387 Zone: test_zone - ACCEPT: unauthenticated, 3a:d2:8d:84:6e:56, 192.168.20.10 May 10 22:23:09 logportalauth 5291 Zone: test_zone - IDLE TIMEOUT: unauthenticated, 3a:d2:8d:84:6e:56, 192.168.20.10 May 10 22:23:28 logportalauth 387 Zone: test_zone - ACCEPT: unauthenticated, 3a:d2:8d:84:6e:56, 192.168.20.10 May 10 22:29:10 logportalauth 14389 Zone: test_zone - IDLE TIMEOUT: unauthenticated, 3a:d2:8d:84:6e:56, 192.168.20.10
Tested: 22.05.a.20220510.1205
Related issues
Updated by Viktor Gurov over 2 years ago
- Related to Todo #13100: Transition Captive Portal from IPFW to PF added
Updated by Viktor Gurov over 2 years ago
- Assignee set to Viktor Gurov
- Release Notes changed from Default to Force Exclusion
Updated by Viktor Gurov over 2 years ago
Updated by Viktor Gurov over 2 years ago
- Assignee changed from Viktor Gurov to Reid Linnemann
pfSense_pf_cp_get_eth_last_active("{$anchor}/{$ip}_32")
returns empty array
Updated by Reid Linnemann over 2 years ago
It returns an empty array because the function never actually called pf_ctl_get_eth_rules() to get the rules before iterating over them. Fix is inbound.
Updated by Reid Linnemann over 2 years ago
Additionally, the function captiveportal_get_last_activity() did not declare $config as a global, so the zone id was always an empty string. A fix for this is incoming as well.
Updated by Anonymous over 2 years ago
- Status changed from New to Feedback
- % Done changed from 0 to 100
Applied in changeset fa2e511df4765c6e15b390214dd0a7b5868960d9.
Updated by Reid Linnemann over 2 years ago
- Status changed from Feedback to Resolved
Actions