Project

General

Profile

Actions

Bug #10168

closed

firewall_rules_edit.php: Firewall GUI allows selecting 'not' and 'any' for source/destination which is invalid

Added by Jim Pingle over 4 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Rules / NAT
Target version:
Start date:
01/07/2020
Due date:
% Done:

100%

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

Description

On firewall_rules_edit.php, the GUI allows selecting 'not' and 'any' together for source/destination which is invalid as it could never match anything. The backend code in filter.inc detects this and ignores the 'not' in this case. The GUI should reject it similarly with input validation to warn the user.

Actions

Also available in: Atom PDF