IDS or IPS?Do you use Hyperscan?
Some of the tunables and settings do come with a resource price. Try reducing the interrupt rate. The queue size is a NIC dependent setting and depends of the buffer size in the NIC itself.
The config should be in loader.conf.local and some in the tunables.I tried it for the APU 2C4 but still max ~10/11 MB/s with Suricata inline, Snort with some PF magic (PFSense) gives the full bandwidth.It's not a true inline IPS but works pretty good for home usage.Perhaps one day when home hardware (like the APU2c4 which is quad core with 4 GB memory) works nicely with Suricata I will switch, untill then I use Snort since losing 60% of your bandwidth is just not worth it.
Quote from: xmichielx on August 02, 2018, 10:54:36 amThe config should be in loader.conf.local and some in the tunables.I tried it for the APU 2C4 but still max ~10/11 MB/s with Suricata inline, Snort with some PF magic (PFSense) gives the full bandwidth.It's not a true inline IPS but works pretty good for home usage.Perhaps one day when home hardware (like the APU2c4 which is quad core with 4 GB memory) works nicely with Suricata I will switch, untill then I use Snort since losing 60% of your bandwidth is just not worth it.How many rules do you run on Snort vs Suricata? Can you try changing the Scan engine?
Two point.OPNsense does not have Snort. OPNsense was built optimizing Suricata.Some Snort rules are not compatible with Suricata.
I use the IPS mainly for my LAN/Guest VLAN since I want to detect malware. But I can understand that people also use it on front of their servers etc.PS changing the networks from 3 private ranges to only 192.168.0.0/16 seems also to effect the bandwith (+/- 1 or 2 MB/s profit!)
Timestamp 2018-11-17T01:58:28.386557+0100Alert SURICATA SMTP data command rejectedAlert sid 2220008Protocol TCPSource IP 2.51.55.22Destination IP 150.109.50.77Source port 25Destination port 35064Interface wan