Suricata dataset configuration #14349
Replies: 1 comment 5 replies
-
I haven't tried to use the Suricata dataset feature. You might be able to do something similar with Zeek Intel: |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to get the suricata dataset to work with security onion 2.4.120
I add the following to suricata\advanced settings in soc configuration
suricata:
config:
datasets:
defaults:
memcap: 100mb
hashsize: 2048
rules:
allow-absolute-filenames: true
allow-write: true
ipaddr-seen:
type: ipv4
state: ipaddr-seen.lst
I can see that the text is added to the suricata.yaml file.
When I look in the suricata log I get the following error.
E: datasets: fopen '/var/lib/suricata/data/ipaddr-seen.lst' failed: Permission denied
When I look at the filesystem the folders suricata/data do not exist.
I edited the config.sls file to add these folders.
suridata1dir:
file.directory:
- name: /var/lib/suricata/data
- user: 940
- group: 939
- mode: 770
- makedirs: True
The folders is created but I still get the error
E: datasets: fopen '/var/lib/suricata/data/ipaddr-seen.lst' failed: Permission denied
i: detect-dataset: Allowing absolute filename for dataset rule: /var/lib/suricata/data/ipaddr-seen.lst
E: datasets: fopen '/var/lib/suricata/data//var/lib/suricata/data/ipaddr-seen.lst' failed: Permission denied
E: detect-dataset: failed to set up dataset 'ipaddr-seen'.
Anyone else has the same issue?
Beta Was this translation helpful? Give feedback.
All reactions