-
Notifications
You must be signed in to change notification settings - Fork 287
Initial Setup Suricata IPS
Peter Manev edited this page Dec 12, 2017
·
16 revisions
An example for a Suricata IPS set up with SELKS.
In /etc/suricata/selks4-addin.yaml
:
af-packet: - interface: enp1s0f0 threads:auto defrag: yes cluster-type: cluster_flow cluster-id: 98 copy-mode: ips copy-iface: enp1s0f1 buffer-size: 64535 use-mmap: yes - interface: enp1s0f1 threads: auto cluster-id: 97 defrag: yes cluster-type: cluster_flow copy-mode: ips copy-iface: enp1s0f0 buffer-size: 64535 use-mmap: yes
also make sure in /etc/network/interfaces
:
auto lo iface lo inetloopback allow-hotplug eno1 iface eno1 inet static # Management interface address 192.168.0.100 netmask 255.255.252.0 gateway 192.168.0.1 dns-nameservers 192.168.0.11 192.168.0.6 iface enp1s0f0 inet manual pre-up ifconfig $IFACE up post-down ifconfig $IFACE down post-up /etc/network/if-up.d/idps-interface-tuneup_stamus iface enp1s0f1 inet manual pre-up ifconfig $IFACE up post-down ifconfig $IFACE down post-up /etc/network/if-up.d/idps-interface-tuneup_stamus
From Scirius transform the rules you would like from alert
to drop
:
- Select a rule that you would like to transform into
drop
action - Under
Actions
in the left hand side panel selectTransform rule
- Select type
Drop
and a ruleset to be used. - Click on
Valid
- From the
Suricata
main tab in Scirius - selectRuleset actions
on the left hand side panel - Select
Update
,Build
,Push
andApply