]> git.ipfire.org Git - ipfire-2.x.git/commit
firewall: Avoid creating a rule that permits all traffic on invalid source
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 17 Jan 2023 13:41:44 +0000 (13:41 +0000)
committerPeter Müller <peter.mueller@ipfire.org>
Wed, 18 Jan 2023 23:27:19 +0000 (23:27 +0000)
commit9c02f36e21ed477a824a1d6f73206e6ef40636b1
treefc8322e8f6b4d57ee1fe477e953e562faf2d7e69
parentdebf583b4265507a209b76b9a144ddbcbbdb887d
firewall: Avoid creating a rule that permits all traffic on invalid source

The firewall engine generated rules that did not have any traffic
selectors due to an improperly initialized variable in the source.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Acked-by: Peter Müller <peter.mueller@ipfire.org>
config/firewall/rules.pl