Project

General

Profile

Actions

Bug #3857

closed

is_port() validate a wrong port range

Added by Renato Botelho over 10 years ago. Updated about 10 years ago.

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

100%

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

Description

is_port() function should validate only a single port since there is is_portrange() available, but it actually validate a range of ports, but it does it wrong and consider '1025:1027:1029' as a valid range. It can break pf rules if you add a port alias with value like this.

Actions

Also available in: Atom PDF