packages
packages copied to clipboard
suricata: Make stateless
Summary
This makes the suricata package fully stateless.
Note that suricata does not work out-of-the-box; the old version of the package didn't, and I doubt it does on any distro. It requires user configuration.
Test Plan
- Copy the default configs to
/etc/suricata - Run
sudo chown -R suricata:suricata /etc/suricata - Edit
/etc/suricata/suricata.yamlto point to the other config files in/etc/suricata - Create
/etc/sysconfig/suricataand put the following in it:# The following parameters are the most commonly needed to configure # suricata. A full list can be seen by running /sbin/suricata --help # -i <network interface device> # --user <acct name> # --group <group name> # Add options to be passed to the daemon OPTIONS="-c /etc/suricata/suricata/yaml -i enp42s0 --user suricata " - Run
systemctl start suricata.service - Run
systemctl status suricata.serviceand see that it is running
Checklist
- [x] Package was built and tested against unstable
- [x] This change could gainfully be listed in the weekly sync notes once merged
Thinking about it more, I'm wondering if I got things backwards, and if it would be easier to use if the sysconfdir remained /etc.