Actions
Regression #14870
closedAliases are incorrectly added to rules
Start date:
Due date:
% Done:
0%
Estimated time:
Plus Target Version:
23.09
Release Notes:
Force Exclusion
Affected Version:
Affected Architecture:
Description
Aliases are shown incorrectly in rules as 'single/0'. This then throws errors loading the ruleset:
Unresolvable source alias 'single/0' for rule 'Test rule' @ 2023-10-13 14:49:54
That is this alias:
<alias> <name>Test1</name> <type>host</type> <address>172.21.24.8</address> <descr><![CDATA[Test alias]]></descr> <detail><![CDATA[Entry added Fri, 13 Oct 2023 14:45:57 +0100]]></detail> </alias>
In this rule:
<rule> <id></id> <tracker>1697204983</tracker> <type>block</type> <interface>wan</interface> <ipprotocol>inet</ipprotocol> <tag></tag> <tagged></tagged> <max></max> <max-src-nodes></max-src-nodes> <max-src-conn></max-src-conn> <max-src-states></max-src-states> <statetimeout></statetimeout> <statetype><![CDATA[keep state]]></statetype> <os></os> <protocol>tcp</protocol> <srcmac></srcmac> <dstmac></dstmac> <source> <address>single/0</address> </source> <destination> <any></any> </destination> <descr><![CDATA[Test rule]]></descr> <bridgeto></bridgeto> <updated> <time>1697204983</time> <username><![CDATA[admin@172.21.16.8 (Local Database)]]></username> </updated> <created> <time>1697204983</time> <username><![CDATA[admin@172.21.16.8 (Local Database)]]></username> </created> </rule>
Generating this ruleset:
table <Test1> { 172.21.24.8 } Test1 = "<Test1>" ... # Unresolvable source alias 'single/0' for rule 'Test rule' label "USER_RULE: Test rule"
Files
Related issues
Actions