mirror of https://github.com/OISF/suricata
firewall: fix rules not loading w/o commandline opts
Firewall rules were supposed to also load when using a config like
##
## Suricata as a Firewall options (experimental)
##
firewall:
# toggle to enable firewall mode
enabled: yes
# Firewall rule file are in their own path and are not managed
# by Suricata-Update.
rule-path: /etc/suricata/firewall/
# List of files with firewall rules. Order matters, files are loaded
# in order and rules are applied in that order (per state, see docs)
rule-files:
- firewall.rules
But they were not because of a missing check.
Bug: #8206.
(cherry picked from commit 2a2b98650b)
pull/14647/head
parent
c6d9b573a0
commit
9c0162c468
Loading…
Reference in New Issue