Skip to content

Conversation

@victorjulien
Copy link
Member

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.

https://redmine.openinfosecfoundation.org/issues/8206
SV_BRANCH=OISF/suricata-verify#2846

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: OISF#8206.
@codecov
Copy link

codecov bot commented Jan 7, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.17%. Comparing base (1d7b0d9) to head (218e0ad).

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #14576   +/-   ##
=======================================
  Coverage   82.16%   82.17%           
=======================================
  Files        1013     1013           
  Lines      262387   262387           
=======================================
+ Hits       215598   215606    +8     
+ Misses      46789    46781    -8     
Flag Coverage Δ
fuzzcorpus 60.33% <100.00%> (+<0.01%) ⬆️
livemode 18.78% <100.00%> (-0.08%) ⬇️
pcap 44.67% <100.00%> (+0.02%) ⬆️
suricata-verify 65.05% <100.00%> (-0.01%) ⬇️
unittests 59.29% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Contributor

@jufajardini jufajardini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@victorjulien victorjulien added this to the 9.0 milestone Jan 7, 2026
@suricata-qa
Copy link

Information: QA ran without warnings.

Pipeline = 29016

@catenacyber
Copy link
Contributor

Oh, https://redmine.openinfosecfoundation.org/issues/7886#note-10 cc @inashivb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

5 participants