core icon indicating copy to clipboard operation
core copied to clipboard

[26.1] Suricata Divert (IPS)

Open Defiant5090 opened this issue 10 months ago • 2 comments

Important notices

Before you add a new report, we ask you kindly to acknowledge the following:

  • [x] I have read the contributing guide lines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
  • [x] I am convinced that my issue is new after having checked both open and closed issues at https://github.com/opnsense/core/issues?q=is%3Aissue

Describe the bug

When using the Divert (IPS) mode within Intrusion Detection (Suricata), and a matching pass rule in the new firewall rules with divert-to Intrusion Prevention selected... the Interface remains blank in the Intrusion Detection Alerts Tab.

To Reproduce

Steps to reproduce the behavior:

  1. Change Suricata capture mode to Divert (IPS)
  2. Create corresponding firewall rule in the new rules section
  3. Set the rule to divert-to Intrusion Protection
  4. Suricata works as expected, however, the Interface remains blank in the Intrusion Detection Alerts Tab.

Expected behavior

The Interface in the Intrusion Detection Alerts Tab, would show the correct interface for the matching firewall rule.

Environment

OPNsense 26.1 (amd64)

Defiant5090 avatar Jan 30 '26 16:01 Defiant5090

via a divert socket, it simply can't know the interface.

AdSchellevis avatar Jan 31 '26 08:01 AdSchellevis

Figured there might be a technical limitation, thanks.

Defiant5090 avatar Jan 31 '26 15:01 Defiant5090