Project

General

Profile

Actions

Bug #12355

closed

Captive Portal database and ``ipfw`` rules are out of sync after unclean shutdown

Added by Jim Pingle 8 months ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Captive Portal
Target version:
Start date:
Due date:
% Done:

100%

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

Description

If a Captive Portal zone does not have the "Preserve connected users across reboot" option set and the firewall encounters an unclean shutdown, users are listed in the captive portal database and status as being online but their entries are not present in the correct IPFW tables. This can happen, for example, due to sudden power loss, crash/panic, or CLI reboot not using the expected scripts.

Currently at startup the Captive Portal code only checks if the preserve option is set and restores the IPFW entries if so. That check should have an else clause which resets the database if the user chose not to preserve the data.

Actions #2

Updated by Jim Pingle 7 months ago

  • Status changed from New to Pull Request Review
  • Assignee set to Viktor Gurov
  • Target version changed from CE-Next to 2.6.0
Actions #3

Updated by Jim Pingle 7 months ago

  • Subject changed from Captive Portal DB & IPFW rules are out of sync after unclean shutdown to Captive Portal database and ``ipfw`` rules are out of sync after unclean shutdown
Actions #4

Updated by Viktor Gurov 7 months ago

  • Status changed from Pull Request Review to Feedback
  • % Done changed from 0 to 100
Actions #5

Updated by Jim Pingle 3 months ago

  • Status changed from Feedback to Closed
Actions

Also available in: Atom PDF