Hi all,
I’m both a linux and suricata newbie, so bear with me - my entire computer career has been dos, windows and some mac - I’m not a coder or anything but have a pretty well-built out homelab (so I’m trying to learn) but the vast majority of my stuff lives on windows in various forms, minus my HAOS server and Linux Mint laptop.
I’m trying to install and configure a functioning version of Suricata 8 on Linux Mint with a dedicated mini pc (minisforum nab9s/16gb/1tb + 2 2.5g intel 226-v) and a usb dongle for a 1gb connection for management.
I’ve got Mint installed and operating and can see all 3 interfaces, but have no idea how to build this from here, and have found so many conflicting or outdated directions online that I decided to come here.
As a non-coder / non-linux native, I have to say the online manual is well done, but there’s no clear “do this, then do this, then do this”. There’s just “install - here’s a mess of possible configs, good luck!”.
From what I’ve read, I’m supposed to bridge the two 2.5g nics, remove or kill some offloading stuff in the OS, assign two of the P-cores to the OS, the rest of the P-cores to suricata, and block the e-cores from suricata completely so the OS can use them for other tasks, then use AF_Packet to define the two nics (but there’s only one entry and one default entry in the yaml and I have 3 nics) but there’s conflicting information about how to do that, where it goes in the af_packet section, and what else to change farther down the yaml.
I’m not afraid to learn this, but I’d love a “here’s how to set up the hardware in the OS before moving to the yaml file changes, and here’s whats ok in the yaml and what’s not” kind of guidance. There’s some basic functionality core to the OS that doesn’t seem to be addressed in the Suricata guide - which is fine - but I’m striking out on directions on how to do it in a Mint-compatible way.
My desired setup is this - Modem → firewall/router → Suricata Device → Core switch. The goal is 2.5g port 1 to firewall, port 2 to switch with suricata doing what it’s supposed to in the middle and securing the network. I have a 2gb symmetrical internet service, so I’m trying to get suricata IPS at line speed, hence the 13900hk, 16gb ram and dual 2.5gb ports on the pc. I added the 1gbps usb dongle after reading you really want a third dedicated connection to make the bridge easier to set up.
I’m installing on Linux Mint because I’m somewhat familiar with it, but I’m far from a power user. In windows as a gamer, I spent my time learning how to edit the registry, debloat and kill telemetry and speed up the systems I built - the more I’ve messed with trying to get this interface built, the more I realize I’m a clueless nub and the two OS’s couldn’t be more different.
I chose not to do this on OPNSense or PFSense because I don’t need the functions of either, I’m just looking to add suricata in IPS with some decent rulesets without losing too much speed on my connection.
Any help/advice or guides would be appreciated - I’ve read the guide for 8.0.6 and am more confused with steps than when I started.
System - Intel 13900hk / 16gb ram / 1tb nvme / dual 2.5g intel i-226v nics / one 1g usb ethernet adapter
OS - Linux Mint Cinnamon, latest release
Suricata 8.0.6 with NFQueue enabled