Project

General

Profile

Actions

Bug #13144

open

Firewall rule entries can get out of sync when entries are deleted while other administrators are editing entries simultaneously

Added by Silvan Ehemann over 2 years ago. Updated over 2 years ago.

Status:
New
Priority:
Very Low
Assignee:
-
Category:
Rules / NAT
Target version:
-
Start date:
Due date:
% Done:

0%

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

Description

tested versions:
2.4.5
2.6.0

Prereqs
Admin A logs in to Firewall
Admin B logs in to same Firewall

Intention
Admin A would like to create a firewall rule
Admin B would like to create a separator

Issue
If the two admins execute the changes at the same time, under certain conditions existing firewall rules will be deleted!

Steps to reproduce
- Admin A creates one additional firewall rule. (Admin A does NOT yet click on apply.) The rule is now visible at the top of the list.
- Admin B creates one separator. The separator is now visible at the bottom of the list.
- Admin B clicks "save" on his separator.
- Result: The firewall rule in the bottom position is deleted and is replaced by the new firewall rule.

Notice:
I have already created a forum post on https://forum.netgate.com/topic/171774/rule-disappears-when-multiple-admins-edit-rules-and-separators. We think it is worth mentioning and improving

with regards

Emasi


Files

presses_save.jpg (35 KB) presses_save.jpg Silvan Ehemann, 05/10/2022 01:25 AM
new_separator.jpg (31.1 KB) new_separator.jpg Silvan Ehemann, 05/10/2022 01:25 AM
New_rule.jpg (37.2 KB) New_rule.jpg Silvan Ehemann, 05/10/2022 01:25 AM
Initial.jpg (27.7 KB) Initial.jpg Silvan Ehemann, 05/10/2022 01:25 AM
Actions #1

Updated by Jim Pingle over 2 years ago

  • Priority changed from Normal to Very Low

This is a known issue throughout the GUI, it isn't unique to rules. Any items in any area accessed by array index 'id' instead of a unique value specific to each entry have the same problem. For example IPsec tunnels and certificates are OK, but rules, OpenVPN instances, and others are not.

Actions #2

Updated by Jim Pingle over 2 years ago

  • Subject changed from Rule disappears when multiple admins edit rules and separators to Firewall rule entries can get out of sync when entries are deleted while other administrators are editing entries simultaneously
Actions

Also available in: Atom PDF