Actions
Bug #7428
closedRule with empty port alias causes error loading rules
Start date:
03/26/2017
Due date:
% Done:
0%
Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
All
Affected Architecture:
Description
1) Create a port alias, but do not enter any ports in it (leave it empty)
2) Add a rule that uses that port alias
3) Apply
Message comes: "there were errors loading the rules"
Updated by Phillip Davis over 7 years ago
Updated by Jim Pingle over 7 years ago
The fix looks OK to me and the PR fixes the problem, I just want to get at least one more person here to look it over due to the changes involved.
Updated by Phillip Davis over 7 years ago
PRs merged:
https://github.com/pfsense/pfsense/pull/3670 - code needed for fix
https://github.com/pfsense/pfsense/pull/3677 - further refactoring to tidy up some names/structure
Updated by Phillip Davis over 7 years ago
Tested on latest 2.4-BETA and 2.3.4-DEVELOPMENT and this is fixed. Using an empty port alias in a rule causes the rule to be skipped and a notice sent.
Actions