Suppress alerts around known false positive!

I’m using Suricata on an OPNSense machine at home and after reviewing the alerts realized that Synology NAS is hardcoded to make calls to domain for user convenience.

On my intrusion detection rules the .to TLD is blocked and hence the alert was generated. It was quiet insightful to even know that what my NAS is doing!

But these alerts are still clogging the UI in OPNSense, is there a way to enforce a policy that will either not log these alerts or just drop them from the UI?

You could suppress the rule for a specific IP, or threshold it so that you get fewer alerts for it


suppress gen_id 1, sig_id 2802104, track by_src, ip

threshold gen_id 1, sig_id 2013504, type both, track by_src, count 1, seconds 600

The first (suppress) will not generate an alert for the rule 2802104 for IP at all.

The second (threshold) will only generate an alert for rule 2013504 at most once per ten minutes per IP.

You would place these lines in your threshold.config. Not sure if OPNsense GUI has a straightforward way to do that or that you need to dive into the CLI.

More info on thresholding in general:


Hi Victor,

Thanks for your response and seems like this is exactly what I need :grinning:

Let me dig deeper into OPNSense documentation to see if CLI offers more control than the UI.

This is my second week running Suricata and I’ve already learnt more about my home LAN in these two weeks than last four years put together :sunglasses:


Hi Victor,

I did find the threshold.conf file on OPNsense at /usr/local/etc/suricata.
This is working for me and I see lot less of entries causing noise in the alerts!