Support #2517
closedReload rules for tenants in Multi Tenancy mode
Description
Hi,
I'm running Suricata 4.0.4 under the Ubuntu 16.04.4 with two tenants presented and different rules assigned to each of them.
I can't figure out how to reload rules for tenants, seems kill -USR2 $(pidof suricata) works only for rules placed in the main suricata.yaml file and not for tenants.
Also I've tried to use the suricatasc tool and suricatasc -c 'reload-tenant 2 /etc/suricata/group-2.yaml' command with no success - Suricata running in AF_PACKET mode just falls.
My multi-tenant related config is following:
/etc/suricata/suricata.yaml
multi-detect:
enabled: yes
selector: vlan
loaders: 3
tenants:
- id: 1
yaml: group-1.yaml
- id: 2
yaml: group-2.yaml
mappings:
- vlan-id: 1
tenant-id: 1
- vlan-id: 1923
tenant-id: 2
group-1.yaml and group-2.yaml are in the /etc/suricata/ with suricata.yaml
Can someone provide guidelines, how to reload sets of rules for specific tenants? Or this feature is broken?
Regards, Daniel.
Updated by Andreas Herz over 6 years ago
- Assignee set to Anonymous
- Target version changed from Documentation to Support
Updated by Daniel Snow over 6 years ago
This issue can be considered as closed in honor to this issue:
https://redmine.openinfosecfoundation.org/issues/2518
Updated by Andreas Herz over 6 years ago
- Related to Bug #2518: Tenant rules reload completely broken in 4.x.x added