Actions
Bug #3857
closedis_port() validate a wrong port range
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.
Updated by Renato Botelho about 10 years ago
- Status changed from New to Feedback
- % Done changed from 0 to 100
Applied in changeset 9060f420a9444c68fc8db926787d0bb37d77ed72.
Updated by Thiago Basilio about 10 years ago
Test OK for range 1025:1027:1029.
But if you supply a port range with the ending port containing a lower value than the initial port (say, "1025:1023"), it is allowed.
,,,,,,,,,,,,,,,,,,,,,,,,,
pfSense 2.2-BETA amd64
Firefox ESR 24.8.0 win32
`````````````````````````
Actions