Suricata rules disappear after so-rule-update #1873
-
2.3.2 Standalone environment. I just disabled a single rule ID number using the same method I had done several times in the past couple of weeks:
Except this time, all of the rules except the ones I had previously added to local.rules were removed.
I get the limit on not downloading the ET ruleset, but why is so-rule-update not reading from my cache? Currently, my /opt/so/rules/nids/all.rules only lists the three rules I had previously tuned in /opt/so/saltstack/local/salt/idstools/local.rules, nothing else. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I imagine the temp file it uses for the downloaded rules is null at that point, so there is nothing to merge with the other rules. If you wait 15 mins then try (and successfully download rules), does it behave as desired? |
Beta Was this translation helpful? Give feedback.
-
I re-ran so-rule-update some time after that 15 minute window and it worked as expected. Can I assume the emptiness of the temp rule file is not expected though? This does create a 15+ minute gap of coverage which for large deployments would be a problem. |
Beta Was this translation helpful? Give feedback.
I imagine the temp file it uses for the downloaded rules is null at that point, so there is nothing to merge with the other rules. If you wait 15 mins then try (and successfully download rules), does it behave as desired?