Please include the following information with your help request:
- Suricata version: 6.0.5
- Operating system and/or Linux distribution: ubuntu 18.04
- How you installed Suricata (from source, packages, something else): sudo apt install suricata
HI, My second reload-tenant will crash, as shown
multi-detect.yaml
%YAML 1.1
---
multi-detect:
enabled: yes
#selector: direct # direct or vlan
selector: device
loaders: 3
tenants:
- id: 1
yaml: /etc/suricata/tenant-1.yaml
- id: 2
yaml: /etc/suricata/tenant-2.yaml
- id: 3
yaml: /etc/suricata/tenant-3.yaml
mappings:
- device: enp2s0
tenant-id: 1
- device: enp3s0
tenant-id: 2
- device: enp4s0
tenant-id: 3
tenant-2.yaml
%YAML 1.1
---
# Set the default rule path here to search for the files.
# if not set, it will look at the current working dir
default-rule-path: /etc/suricata/rules
rule-files:
- tenant-2.rules
tenant-2.rules
alert tcp any any -> any any (msg:"jankincai"; flow:to_server,established; content:"cd"; content:"ab"; within:2; sid:165535; rev:1;)