Scenario
You are operating an OPNsense edge with Suricata in IPS mode. The following symptoms appear:
- A specific application or service stops working after Suricata IPS is enabled
- alerts.log shows the same signature firing repeatedly against an internal host
- Disabling Suricata immediately restores the affected traffic
Available evidence:
- Suricata alerts: ET POLICY or ET TROJAN signature SID 2024897 firing on a legitimate endpoint
- Affected connection is to/from an internal service the rule was never designed to police
- Ruleset source includes emergingthreats or ETPRO with overly broad keywords
Your task
Determine the cause, recover, document, and validate.
Investigation
The investigation follows the discipline taught in Part XXXI:
- Form hypothesis, find evidence, test, validate.
- Use the available evidence above to bound the search.
- Reach one of the likely root causes.
Recovery procedure
(Do not reveal until you have reasoned through the problem.)
- Identify the failing component.
- Apply the remediation pathway.
- Validate with the verification step.
- Document the incident.
Remediation
- Identify the SID from the alert and look it up (e.g. on docs.emergingthreats.net or via the rule’s metadata reference). 2. Decide: suppress with a SID management rule for that signature on that network, or tune the rule’s threshold. 3. Apply the suppression in Services → Intrusion Detection → Administration → SID Management. 4. Reload Suricata and verify.
Verification
Alerts for that SID stop firing on the suppressed scope; the previously blocked application works with Suricata enabled; legitimate traffic is not dropped.
Rollback
Re-enable the SID in alert-only mode; revisit the suppression scope.
Prevention
Treat IDS ruleset changes as production changes: enable in alert-only mode first, monitor for false positives over a window, then promote to IPS for vetted signatures only. Use SID management to document every suppression, and review suppressions quarterly.