Project

General

Profile

Actions

Feature #16293

open

Add input validation when deleting a gatway used by policy routing rules

Added by Alhusein Zawi 3 days ago. Updated 1 day ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Gateways
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Default

Description

Deleting a gateway that is still being used for policy routing will generate an error.

/rc.filter_configure_sync: The gateway: test2GW is invalid or unknown, not using it.

It would be helpful to implement a restriction that prevents deleting a gateway if it's currently referenced in a policy routing rule (similar to the behavior for gateway groups).


Files

clipboard-202507021207-vdzsm.png (16.2 KB) clipboard-202507021207-vdzsm.png aleksei prokofiev, 07/02/2025 09:07 AM
Actions #1

Updated by aleksei prokofiev 1 day ago

Tested on 25.07-BETA (amd64)
built on Sat Jun 28 0:06:00 UTC 2025
FreeBSD 15.0-CURRENT

I can confirm this behaviour

Actions #2

Updated by Marcos M 1 day ago

  • Tracker changed from Bug to Feature
  • Subject changed from routing policy logs to Add input validation when deleting a gatway used by policy routing rules
Actions

Also available in: Atom PDF