Hello,
I am new to suricata, and I wanted to set it as IDS up.
However, I am getting quite a lot of capture.kernel_drops and I don’t know what to do about it.
capture.kernel_packets | Total | 689554867
capture.kernel_drops | Total | 5910262
As for my system, I am running Suricata 5.0.3
on an CentOS 8.2
with 70Gi RAM
and 16 Cores
.
I changed following settings in the suricata.yml file:
threads: 10
cluster-type: cluster_qm
use-mmap: yes
ring-size: 300000
encryption-handling: bypass
host-mode: sniffer-only
max-pending-packets: 2048
runmode: autofp
default-packet-size: 3028
I also incresed the memcaps of the defrag
, flow
, stream(reassembly memcap 10gb)
and host
to 2gb.
I also tryed to adjust the cpu-affinity
setting looking at this:
threading:
set-cpu-affinity: yes
cpu-affinity:
- management-cpu-set:
cpu: [ "1","2","3" ] # include only these CPUs in affinity settings
- receive-cpu-set:
cpu: [ "0" ] # include only these CPUs in affinity settings
- worker-cpu-set:
cpu: [ "4","5","6","7","8","9","10","11","12","13" ]
mode: "exclusive"
prio:
low: [ 0 ]
medium: [ "1" ]
high: [ "4-13" ]
default: "high"
Can someone help me, I actually have no clue what else I could try to solve my problem.