Project

General

Profile

Actions

Bug #3491

closed

Improper input validation on firewall rules when using a numerical alias name

Added by Jim Pingle about 10 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Normal
Category:
Rules / NAT
Target version:
Start date:
02/27/2014
Due date:
% Done:

0%

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

Description

If you have a host alias using a numerical name such as "2222", then using port "2222" (literal) in firewall rules is prevented by the GUI due to an input validation error:

The following input errors were detected:

    2222 is not a valid start destination port. It must be a port alias or integer between 1 and 65535.
    2222 is not a valid end destination port. It must be a port alias or integer between 1 and 65535.

Due to the fact that an alias exists called "2222", the field is interpreted as the alias name rather than the literal port number even though the second case is valid.

Actions

Also available in: Atom PDF