Project

General

Profile

Actions

Bug #11353

closed

Changing of gateway order in gateway groups is not applied to firewall rules on "Apply"

Added by Alexey Ab about 3 years ago. Updated about 3 years ago.

Status:
Not a Bug
Priority:
Normal
Assignee:
-
Category:
Gateways
Target version:
-
Start date:
02/01/2021
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.4.5-p1
Affected Architecture:
amd64

Description

Suppose you have gateway group with two gateways: GW1 = Tier1, GW2 = Tier2.

Then you change order: GW1 = Tier2, GW2 = Tier1 and click "Apply".

But changes are not applied to /tmp/rules.debug. If I run /etc/rc.filter_configure manually afterward, then changes are applied.

As a temporary fix I've modified /usr/local/www/system_gateway_groups.php :

if ($_POST['apply']) {
....
$retval |= filter_configure(); //this line was added to fix problem
}

Actions #1

Updated by Jim Pingle about 3 years ago

  • Status changed from New to Not a Bug

I can't replicate this on 2.5.0. Might have been fixed since 2.4.5.

The apply process already performs a filter reload using the send_multiple_events() function on the line just below system_routing_configure(). Since that is performed using the event system, it can take a few moments for it to come into effect, it won't be immediate.

Actions

Also available in: Atom PDF