Task #8204
openfirewall: add tests for hot reload of firewall mode rules
Description
Rule reloading without restarts is not yet supported for firewall mode rules.
This implies that users need to restart Suricata whenever there is a need for to update firewall mode rules, and this can cause interruptions to packet processing, packet losses and cause flows to be re-categorized as midstream.
It would be useful to have some in built support to hot-reload firewall mode rules (similar to what exists for the existing IPS/IDS rules) without need for restarts.
OA Updated by Olu Adeleke 3 months ago
- Description updated (diff)
VJ Updated by Victor Julien 3 months ago
- Subject changed from Firewall mode: Support for hot reload of firewall mode rules to firewall: support for hot reload of firewall mode rules
It appears to be working for me. How are you concluding it is not supported?
VJ Updated by Victor Julien 3 months ago
Actually, it only works when not specifying the firewall rule file on the commandline. This is similar to using the -S option in regular rules. However it turns out the regular file loading didn't properly work, see #8206.
VJ Updated by Victor Julien 2 months ago
- Blocked by Bug #8206: firewall: loading rules only through yaml fails added
VJ Updated by Victor Julien 11 days ago
This test shows that the reloading works as expected https://github.com/OISF/suricata/pull/15079/changes/8c5a7010887e361cec22f7053477c46cfb557bae
VJ Updated by Victor Julien 7 days ago
- Tracker changed from Feature to Task
- Subject changed from firewall: support for hot reload of firewall mode rules to firewall: add tests for hot reload of firewall mode rules
- Status changed from New to In Review
- Assignee set to Victor Julien
- Target version changed from TBD to 9.0.0-beta1
This works as expected, so turning ticket into tracker for test addition.
OT Updated by OISF Ticketbot 7 days ago
- Subtask #8409 added
OT Updated by OISF Ticketbot 7 days ago
- Label deleted (
Needs backport to 8.0)
VJ Updated by Victor Julien 1 day ago
- Status changed from In Review to Resolved