Project

General

Profile

Actions

Bug #1659

closed

Missing input validation in rules gateway selection

Added by Chris Buechler almost 13 years ago. Updated about 12 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Rules / NAT
Target version:
Start date:
07/10/2011
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.1-IPv6
Affected Architecture:

Description

Currently you can pick an IPv4 gateway for an IPv6 firewall rule, and an IPv6 gateway for an IPv4 firewall rule. Need input validation on firewall_rules_edit.php to ensure if a gateway is specified, it's of the same protocol. Also if a gateway pool is specified, it must contain gateways of the appropriate protocol for the rule.

Actions #1

Updated by Seth Mos over 12 years ago

Committed code in git that should fix most of this, shows only the correct address family when editing a pool or firewall rule. Validation for IP addresses in firewall rules edit that verifies the address family is there too.

Address family checks for gateways on initial save do not exist yet.

Actions #2

Updated by Seth Mos over 12 years ago

  • Status changed from New to Feedback

Should be all set, there was a unset of the input errors halfway the input validation that must have broken a lot of validation.

Actions #3

Updated by Seth Mos about 12 years ago

  • Status changed from Feedback to Resolved

Considering resolved

Actions

Also available in: Atom PDF