I created a simple rule just for testing purposes.
alert icmp $HOME_NET any → 143.164.101.69 any (msg:“VOILA TESTE”; sid:5000000;)
Let´s assume that i restart Suricata. If i ping that address, Suricata gives the alert just fine. But, after some minutes, if i ping the address again and again i get no alerts on Suricata.
stream:
memcap: 12gb
checksum-validation: yes # reject incorrect csums
inline: no # auto will use inline mode in IPS mode, yes or no set it statically
prealloc_sessions: 32768
midstream: false
async_oneside: false
drop-invalid: yes
bypass: no
reassembly:
memcap: 6gb
depth: 12mb # reassemble 1mb into a stream
toserver-chunk-size: 2560
toclient-chunk-size: 2560
randomize-chunk-size: yes
#randomize-chunk-range: 10
raw: no
segment-prealloc: 2048
check-overlap-different-data: true
Another thing that i noticed is that the alert is logged almost instantly but the other events (e.g. netflow, tls, http logs) are only shown after ~6min after the alert is logged.