-
Hello, I'm creating custom rules with Suricata to generate alerts. Here are the steps I take to apply a custom Suricata rule: 1. Create the custom rule in the GUI (detection tab --> create a suricata rule) After creating the rule, I constantly have a “Rules mismatch” displayed in the Detection tab for Suricata. Am I missing a step in the creation of a rule? Is there another option for synchronizing a rule directly with forward nodes? Or is it normal for a rule to take more than 10-15 minutes to activate? Thanks in advance for your answers |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
If you need to force a new rule into production as quickly as possible:
|
Beta Was this translation helpful? Give feedback.
-
Hello, thank you for your reply After several tests, here's the procedure I use to check that a custom rule is active on forward nodes:
Thanks for your answers! |
Beta Was this translation helpful? Give feedback.
Hello,
thank you for your reply
After several tests, here's the procedure I use to check that a custom rule is active on forward nodes:
so-rule-update
and check that the rule is up to date in "/opt/so/rules/nids/suri/local.rules" (it may take ~5-8 minutes for the rule to be updated on the manager).sudo so-suricata-restart
command on the forward nodes and check that the rules are up to date in “opt/so/conf/suricata/rules/local.rules” (the rule update is almost instantaneous after the “so-suricata-restart” command).Thanks for your answers!